This commit was manufactured by cvs2svn to create tag 'SQL_LEDGER_2_4_4'. SQL_LEDGER_2_4_4
authorcvs2git <cvs2git>
Thu, 5 Jan 2006 09:34:30 +0000 (09:34 +0000)
committercvs2git <cvs2git>
Thu, 5 Jan 2006 09:34:30 +0000 (09:34 +0000)
1514 files changed:
ANNOUNCE.1.5 [deleted file]
CREDITS [deleted file]
Changelog [deleted file]
Changes.1.5.7 [deleted file]
Changes.1.5.8 [deleted file]
FS/Changes [deleted file]
FS/FS.pm [deleted file]
FS/FS/CGI.pm [deleted file]
FS/FS/ClientAPI.pm [deleted file]
FS/FS/ClientAPI/Agent.pm [deleted file]
FS/FS/ClientAPI/MyAccount.pm [deleted file]
FS/FS/ClientAPI/Signup.pm [deleted file]
FS/FS/ClientAPI/passwd.pm [deleted file]
FS/FS/ClientAPI_SessionCache.pm [deleted file]
FS/FS/Conf.pm [deleted file]
FS/FS/ConfItem.pm [deleted file]
FS/FS/Daemon.pm [deleted file]
FS/FS/InitHandler.pm [deleted file]
FS/FS/Misc.pm [deleted file]
FS/FS/Msgcat.pm [deleted file]
FS/FS/Record.pm [deleted file]
FS/FS/Report.pm [deleted file]
FS/FS/Report/Table.pm [deleted file]
FS/FS/Report/Table/Monthly.pm [deleted file]
FS/FS/Schema.pm [deleted file]
FS/FS/SearchCache.pm [deleted file]
FS/FS/TicketSystem.pm [deleted file]
FS/FS/TicketSystem/RT_External.pm [deleted file]
FS/FS/TicketSystem/RT_Internal.pm [deleted file]
FS/FS/TicketSystem/RT_Libs.pm [deleted file]
FS/FS/UI/Web.pm [deleted file]
FS/FS/UID.pm [deleted file]
FS/FS/XMLRPC.pm [deleted file]
FS/FS/acct_snarf.pm [deleted file]
FS/FS/addr_block.pm [deleted file]
FS/FS/agent.pm [deleted file]
FS/FS/agent_payment_gateway.pm [deleted file]
FS/FS/agent_type.pm [deleted file]
FS/FS/banned_pay.pm [deleted file]
FS/FS/cancel_reason.pm [deleted file]
FS/FS/clientapi_session.pm [deleted file]
FS/FS/clientapi_session_field.pm [deleted file]
FS/FS/cust_bill.pm [deleted file]
FS/FS/cust_bill_event.pm [deleted file]
FS/FS/cust_bill_pay.pm [deleted file]
FS/FS/cust_bill_pkg.pm [deleted file]
FS/FS/cust_bill_pkg_detail.pm [deleted file]
FS/FS/cust_credit.pm [deleted file]
FS/FS/cust_credit_bill.pm [deleted file]
FS/FS/cust_credit_refund.pm [deleted file]
FS/FS/cust_main.pm [deleted file]
FS/FS/cust_main_Mixin.pm [deleted file]
FS/FS/cust_main_county.pm [deleted file]
FS/FS/cust_main_invoice.pm [deleted file]
FS/FS/cust_pay.pm [deleted file]
FS/FS/cust_pay_batch.pm [deleted file]
FS/FS/cust_pay_refund.pm [deleted file]
FS/FS/cust_pay_void.pm [deleted file]
FS/FS/cust_pkg.pm [deleted file]
FS/FS/cust_refund.pm [deleted file]
FS/FS/cust_svc.pm [deleted file]
FS/FS/cust_tax_exempt.pm [deleted file]
FS/FS/domain_record.pm [deleted file]
FS/FS/export_svc.pm [deleted file]
FS/FS/h_Common.pm [deleted file]
FS/FS/h_cust_svc.pm [deleted file]
FS/FS/h_domain_record.pm [deleted file]
FS/FS/h_svc_acct.pm [deleted file]
FS/FS/h_svc_broadband.pm [deleted file]
FS/FS/h_svc_domain.pm [deleted file]
FS/FS/h_svc_external.pm [deleted file]
FS/FS/h_svc_forward.pm [deleted file]
FS/FS/h_svc_www.pm [deleted file]
FS/FS/msgcat.pm [deleted file]
FS/FS/nas.pm [deleted file]
FS/FS/option_Common.pm [deleted file]
FS/FS/part_bill_event.pm [deleted file]
FS/FS/part_export.pm [deleted file]
FS/FS/part_export/acct_sql.pm [deleted file]
FS/FS/part_export/apache.pm [deleted file]
FS/FS/part_export/artera_turbo.pm [deleted file]
FS/FS/part_export/bind.pm [deleted file]
FS/FS/part_export/bind_slave.pm [deleted file]
FS/FS/part_export/bsdshell.pm [deleted file]
FS/FS/part_export/communigate_pro.pm [deleted file]
FS/FS/part_export/communigate_pro_singledomain.pm [deleted file]
FS/FS/part_export/cp.pm [deleted file]
FS/FS/part_export/cpanel.pm [deleted file]
FS/FS/part_export/cyrus.pm [deleted file]
FS/FS/part_export/domain_shellcommands.pm [deleted file]
FS/FS/part_export/everyone_net.pm [deleted file]
FS/FS/part_export/forward_shellcommands.pm [deleted file]
FS/FS/part_export/http.pm [deleted file]
FS/FS/part_export/infostreet.pm [deleted file]
FS/FS/part_export/ldap.pm [deleted file]
FS/FS/part_export/null.pm [deleted file]
FS/FS/part_export/passwdfile.pm [deleted file]
FS/FS/part_export/postfix.pm [deleted file]
FS/FS/part_export/radiator.pm [deleted file]
FS/FS/part_export/router.pm [deleted file]
FS/FS/part_export/shellcommands.pm [deleted file]
FS/FS/part_export/shellcommands_withdomain.pm [deleted file]
FS/FS/part_export/sqlmail.pm [deleted file]
FS/FS/part_export/sqlradius.pm [deleted file]
FS/FS/part_export/sqlradius_withdomain.pm [deleted file]
FS/FS/part_export/sysvshell.pm [deleted file]
FS/FS/part_export/textradius.pm [deleted file]
FS/FS/part_export/vpopmail.pm [deleted file]
FS/FS/part_export/www_shellcommands.pm [deleted file]
FS/FS/part_export_option.pm [deleted file]
FS/FS/part_pkg.pm [deleted file]
FS/FS/part_pkg/flat.pm [deleted file]
FS/FS/part_pkg/flat_comission.pm [deleted file]
FS/FS/part_pkg/flat_comission_cust.pm [deleted file]
FS/FS/part_pkg/flat_comission_pkg.pm [deleted file]
FS/FS/part_pkg/flat_delayed.pm [deleted file]
FS/FS/part_pkg/prepaid.pm [deleted file]
FS/FS/part_pkg/prorate.pm [deleted file]
FS/FS/part_pkg/sesmon_hour.pm [deleted file]
FS/FS/part_pkg/sesmon_minute.pm [deleted file]
FS/FS/part_pkg/sql_external.pm [deleted file]
FS/FS/part_pkg/sql_generic.pm [deleted file]
FS/FS/part_pkg/sqlradacct_hour.pm [deleted file]
FS/FS/part_pkg/subscription.pm [deleted file]
FS/FS/part_pkg/voip_sqlradacct.pm [deleted file]
FS/FS/part_pkg_option.pm [deleted file]
FS/FS/part_pop_local.pm [deleted file]
FS/FS/part_referral.pm [deleted file]
FS/FS/part_svc.pm [deleted file]
FS/FS/part_svc_column.pm [deleted file]
FS/FS/part_svc_router.pm [deleted file]
FS/FS/part_virtual_field.pm [deleted file]
FS/FS/payment_gateway.pm [deleted file]
FS/FS/payment_gateway_option.pm [deleted file]
FS/FS/pkg_svc.pm [deleted file]
FS/FS/port.pm [deleted file]
FS/FS/prepay_credit.pm [deleted file]
FS/FS/queue.pm [deleted file]
FS/FS/queue_arg.pm [deleted file]
FS/FS/queue_depend.pm [deleted file]
FS/FS/raddb.pm [deleted file]
FS/FS/radius_usergroup.pm [deleted file]
FS/FS/rate.pm [deleted file]
FS/FS/rate_detail.pm [deleted file]
FS/FS/rate_prefix.pm [deleted file]
FS/FS/rate_region.pm [deleted file]
FS/FS/reg_code.pm [deleted file]
FS/FS/reg_code_pkg.pm [deleted file]
FS/FS/router.pm [deleted file]
FS/FS/session.pm [deleted file]
FS/FS/svc_Common.pm [deleted file]
FS/FS/svc_acct.pm [deleted file]
FS/FS/svc_acct_pop.pm [deleted file]
FS/FS/svc_broadband.pm [deleted file]
FS/FS/svc_domain.pm [deleted file]
FS/FS/svc_external.pm [deleted file]
FS/FS/svc_forward.pm [deleted file]
FS/FS/svc_www.pm [deleted file]
FS/FS/type_pkgs.pm [deleted file]
FS/MANIFEST [deleted file]
FS/MANIFEST.SKIP [deleted file]
FS/Makefile.PL [deleted file]
FS/README [deleted file]
FS/bin/freeside-addoutsource [deleted file]
FS/bin/freeside-addoutsourceuser [deleted file]
FS/bin/freeside-adduser [deleted file]
FS/bin/freeside-apply-credits [deleted file]
FS/bin/freeside-bill [deleted file]
FS/bin/freeside-count-active-customers [deleted file]
FS/bin/freeside-daily [deleted file]
FS/bin/freeside-deloutsource [deleted file]
FS/bin/freeside-deloutsourceuser [deleted file]
FS/bin/freeside-deluser [deleted file]
FS/bin/freeside-email [deleted file]
FS/bin/freeside-expiration-alerter [deleted file]
FS/bin/freeside-prepaidd [deleted file]
FS/bin/freeside-queued [deleted file]
FS/bin/freeside-radgroup [deleted file]
FS/bin/freeside-reexport [deleted file]
FS/bin/freeside-selfservice-server [deleted file]
FS/bin/freeside-setinvoice [deleted file]
FS/bin/freeside-setup [deleted file]
FS/bin/freeside-sqlradius-radacctd [deleted file]
FS/bin/freeside-sqlradius-reset [deleted file]
FS/bin/freeside-sqlradius-seconds [deleted file]
FS/bin/freeside-upgrade [deleted file]
FS/t/CGI.t [deleted file]
FS/t/ClientAPI.t [deleted file]
FS/t/ClientAPI_SessionCache.t [deleted file]
FS/t/Conf.t [deleted file]
FS/t/ConfItem.t [deleted file]
FS/t/Daemon.t [deleted file]
FS/t/InitHandler.t [deleted file]
FS/t/Misc.t [deleted file]
FS/t/Msgcat.t [deleted file]
FS/t/Record.t [deleted file]
FS/t/Report-Table-Monthly.t [deleted file]
FS/t/Report-Table.t [deleted file]
FS/t/Report.t [deleted file]
FS/t/SearchCache.t [deleted file]
FS/t/UID.t [deleted file]
FS/t/acct_snarf.t [deleted file]
FS/t/agent.t [deleted file]
FS/t/agent_payment_gateway.t [deleted file]
FS/t/agent_type.t [deleted file]
FS/t/banned_pay.t [deleted file]
FS/t/cancel_reason.t [deleted file]
FS/t/clientapi_session.t [deleted file]
FS/t/clientapi_session_field.t [deleted file]
FS/t/cust_bill.t [deleted file]
FS/t/cust_bill_event.t [deleted file]
FS/t/cust_bill_pay.t [deleted file]
FS/t/cust_bill_pkg.t [deleted file]
FS/t/cust_bill_pkg_detail.t [deleted file]
FS/t/cust_credit.t [deleted file]
FS/t/cust_credit_bill.t [deleted file]
FS/t/cust_credit_refund.t [deleted file]
FS/t/cust_main.t [deleted file]
FS/t/cust_main_Mixin.t [deleted file]
FS/t/cust_main_county.t [deleted file]
FS/t/cust_main_invoice.t [deleted file]
FS/t/cust_pay.t [deleted file]
FS/t/cust_pay_batch.t [deleted file]
FS/t/cust_pay_refund.t [deleted file]
FS/t/cust_pay_void.t [deleted file]
FS/t/cust_pkg.t [deleted file]
FS/t/cust_refund.t [deleted file]
FS/t/cust_svc.t [deleted file]
FS/t/cust_tax_exempt.pm [deleted file]
FS/t/cust_tax_exempt.t [deleted file]
FS/t/domain_record.t [deleted file]
FS/t/export_svc.t [deleted file]
FS/t/h_Common.t [deleted file]
FS/t/h_cust_svc.t [deleted file]
FS/t/h_domain_record.t [deleted file]
FS/t/h_svc_acct.t [deleted file]
FS/t/h_svc_broadband.t [deleted file]
FS/t/h_svc_domain.t [deleted file]
FS/t/h_svc_external.t [deleted file]
FS/t/h_svc_forward.t [deleted file]
FS/t/h_svc_www.t [deleted file]
FS/t/msgcat.t [deleted file]
FS/t/nas.t [deleted file]
FS/t/option_Common.t [deleted file]
FS/t/part_bill_event.t [deleted file]
FS/t/part_export-acct_sql.t [deleted file]
FS/t/part_export-apache.t [deleted file]
FS/t/part_export-bind.t [deleted file]
FS/t/part_export-bind_slave.t [deleted file]
FS/t/part_export-bsdshell.t [deleted file]
FS/t/part_export-communigate_pro.t [deleted file]
FS/t/part_export-communigate_pro_singledomain.t [deleted file]
FS/t/part_export-cp.t [deleted file]
FS/t/part_export-cyrus.t [deleted file]
FS/t/part_export-domain_shellcommands.t [deleted file]
FS/t/part_export-forward_shellcommands.t [deleted file]
FS/t/part_export-http.t [deleted file]
FS/t/part_export-infostreet.t [deleted file]
FS/t/part_export-ldap.t [deleted file]
FS/t/part_export-null.t [deleted file]
FS/t/part_export-passwdfile.t [deleted file]
FS/t/part_export-postfix.t [deleted file]
FS/t/part_export-radiator.t [deleted file]
FS/t/part_export-router.t [deleted file]
FS/t/part_export-shellcommands.t [deleted file]
FS/t/part_export-shellcommands_withdomain.t [deleted file]
FS/t/part_export-sqlmail.t [deleted file]
FS/t/part_export-sqlradius.t [deleted file]
FS/t/part_export-sqlradius_withdomain.t [deleted file]
FS/t/part_export-sysvshell.t [deleted file]
FS/t/part_export-textradius.t [deleted file]
FS/t/part_export-vpopmail.t [deleted file]
FS/t/part_export-www_shellcommands.t [deleted file]
FS/t/part_export.t [deleted file]
FS/t/part_export_option.t [deleted file]
FS/t/part_pkg-flat.t [deleted file]
FS/t/part_pkg-flat_comission.t [deleted file]
FS/t/part_pkg-flat_comission_cust.t [deleted file]
FS/t/part_pkg-flat_comission_pkg.t [deleted file]
FS/t/part_pkg-flat_delayed.t [deleted file]
FS/t/part_pkg-prorate.t [deleted file]
FS/t/part_pkg-sesmon_hour.t [deleted file]
FS/t/part_pkg-sesmon_minute.t [deleted file]
FS/t/part_pkg-sql_external.t [deleted file]
FS/t/part_pkg-sql_generic.t [deleted file]
FS/t/part_pkg-sqlradacct_hour.t [deleted file]
FS/t/part_pkg-subscription.t [deleted file]
FS/t/part_pkg-voip_sqlradacct.t [deleted file]
FS/t/part_pkg.t [deleted file]
FS/t/part_pkg_option.t [deleted file]
FS/t/part_pop_local.t [deleted file]
FS/t/part_referral.t [deleted file]
FS/t/part_svc.t [deleted file]
FS/t/part_svc_column.t [deleted file]
FS/t/payment_gateway.t [deleted file]
FS/t/payment_gateway_option.t [deleted file]
FS/t/pkg_svc.t [deleted file]
FS/t/port.t [deleted file]
FS/t/prepay_credit.t [deleted file]
FS/t/queue.t [deleted file]
FS/t/queue_arg.t [deleted file]
FS/t/queue_depend.t [deleted file]
FS/t/raddb.t [deleted file]
FS/t/radius_usergroup.t [deleted file]
FS/t/rate.t [deleted file]
FS/t/rate_detail.t [deleted file]
FS/t/rate_prefix.t [deleted file]
FS/t/rate_region.t [deleted file]
FS/t/reg_code.t [deleted file]
FS/t/reg_code_pkg.t [deleted file]
FS/t/session.t [deleted file]
FS/t/svc_Common.t [deleted file]
FS/t/svc_acct.t [deleted file]
FS/t/svc_acct_pop.t [deleted file]
FS/t/svc_broadband.t [deleted file]
FS/t/svc_domain.t [deleted file]
FS/t/svc_external.t [deleted file]
FS/t/svc_forward.t [deleted file]
FS/t/svc_www.t [deleted file]
FS/t/type_pkgs.t [deleted file]
GPL [deleted file]
INSTALL [deleted file]
Makefile [deleted file]
README [deleted file]
README.1.5.0pre6 [deleted file]
README.1.5.7 [deleted file]
README.1.5.7.lastbit [deleted file]
README.1.5.8 [deleted file]
SCHEMA_CHANGE [deleted file]
TODO [deleted file]
bin/add-history-records.pl [deleted file]
bin/apache.export [deleted file]
bin/artera.import [deleted file]
bin/backup-dvd [deleted file]
bin/billco-upload [deleted file]
bin/bind.export [deleted file]
bin/bind.import [deleted file]
bin/bsdshell.export [deleted file]
bin/create-fetchmailrc [deleted file]
bin/create-history-tables [deleted file]
bin/dbdef-create [deleted file]
bin/fix-sequences [deleted file]
bin/freeside-init [deleted file]
bin/freeside-session-kill [deleted file]
bin/freeside.import [deleted file]
bin/fs-migrate-part_svc [deleted file]
bin/fs-migrate-payref [deleted file]
bin/fs-migrate-svc_acct_sm [deleted file]
bin/fs-radius-add-check [deleted file]
bin/fs-radius-add-reply [deleted file]
bin/generate-prepay [deleted file]
bin/generate-raddb [deleted file]
bin/generate-table-module [deleted file]
bin/generate-tests [deleted file]
bin/ispman.ldap.import [deleted file]
bin/masonize [deleted file]
bin/passwd.import [deleted file]
bin/pg-readonly [deleted file]
bin/pod2x [deleted file]
bin/populate-msgcat [deleted file]
bin/postfix.export [deleted file]
bin/postfix_courierimap.import [deleted file]
bin/print-schema [deleted file]
bin/rate-us.import [deleted file]
bin/rate.import [deleted file]
bin/rollback [deleted file]
bin/rt-drop-tables [deleted file]
bin/sendmail.import [deleted file]
bin/sequences.reset [deleted file]
bin/shadow.reimport [deleted file]
bin/slony-setup [deleted file]
bin/sqlradius-norealm.reimport [deleted file]
bin/sqlradius.import [deleted file]
bin/sqlradius.reimport [deleted file]
bin/svc_acct.export [deleted file]
bin/svc_acct.import [deleted file]
bin/svc_broadband.renumber [deleted file]
bin/svc_domain.erase [deleted file]
bin/sysvshell.export [deleted file]
conf/agent_defaultpkg [deleted file]
conf/alerter_template [deleted file]
conf/cust_pkg-change_svcpart [deleted file]
conf/declinetemplate [deleted file]
conf/home [deleted file]
conf/invoice_from [deleted file]
conf/invoice_html [deleted file]
conf/invoice_latex [deleted file]
conf/invoice_latex.diff [deleted file]
conf/invoice_latexfooter [deleted file]
conf/invoice_latexnotes [deleted file]
conf/invoice_latexreturnaddress [deleted file]
conf/invoice_latexsmallfooter [deleted file]
conf/invoice_template [deleted file]
conf/locale [deleted file]
conf/logo.eps [deleted file]
conf/logo.png [deleted file]
conf/lpr [deleted file]
conf/maxsearchrecordsperpage [deleted file]
conf/payment_receipt_email [deleted file]
conf/report_template [deleted file]
conf/shells [deleted file]
conf/show-msgcat-codes [deleted file]
conf/smtpmachine [deleted file]
conf/soadefaultttl [deleted file]
conf/soaexpire [deleted file]
conf/soarefresh [deleted file]
conf/soaretry [deleted file]
debian/README.Debian [deleted file]
debian/changelog [deleted file]
debian/conffiles.ex [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/cron.d.ex [deleted file]
debian/dirs [deleted file]
debian/docs [deleted file]
debian/ex.doc-base.package [deleted file]
debian/freeside-doc.docs [deleted file]
debian/freeside-doc.files [deleted file]
debian/init.d.ex [deleted file]
debian/manpage.1.ex [deleted file]
debian/manpage.sgml.ex [deleted file]
debian/menu.ex [deleted file]
debian/postinst.ex [deleted file]
debian/postrm.ex [deleted file]
debian/preinst.ex [deleted file]
debian/prerm.ex [deleted file]
debian/rules [deleted file]
debian/watch.ex [deleted file]
eg/TEMPLATE_cust_main.import [deleted file]
eg/export_template.pm [deleted file]
eg/table_template-svc.pm [deleted file]
eg/table_template.pm [deleted file]
eg/xmlrpc-example.pl [deleted file]
etc/abbr_state.txt [deleted file]
etc/countries.txt [deleted file]
etc/domain-template.txt [deleted file]
etc/megapop.pl [deleted file]
etc/sql-reserved-words.txt [deleted file]
fs_passwd/fs_passwd [deleted file]
fs_radlog/fs_radlogd [deleted file]
fs_selfadmin/FS-MailAdminServer/MailAdminClient.pm [deleted file]
fs_selfadmin/FS-MailAdminServer/cgi/mailadmin.cgi [deleted file]
fs_selfadmin/FS-MailAdminServer/fs_mailadmind [deleted file]
fs_selfadmin/README [deleted file]
fs_selfadmin/fs_mailadmin_server [deleted file]
fs_selfservice/DEPLOY [deleted file]
fs_selfservice/FS-SelfService/Changes [deleted file]
fs_selfservice/FS-SelfService/MANIFEST [deleted file]
fs_selfservice/FS-SelfService/Makefile.PL [deleted file]
fs_selfservice/FS-SelfService/SelfService.pm [deleted file]
fs_selfservice/FS-SelfService/cgi/agent.cgi [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_customer_menu.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_delete_svc.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_login.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_logout.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_main.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_menu.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_order_pkg.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_provision.html [deleted file]
fs_selfservice/FS-SelfService/cgi/agent_provision_svc_acct.html [deleted file]
fs_selfservice/FS-SelfService/cgi/cvv2.html [deleted file]
fs_selfservice/FS-SelfService/cgi/cvv2.png [deleted file]
fs_selfservice/FS-SelfService/cgi/cvv2_amex.png [deleted file]
fs_selfservice/FS-SelfService/cgi/decline.html [deleted file]
fs_selfservice/FS-SelfService/cgi/delete_svc.html [deleted file]
fs_selfservice/FS-SelfService/cgi/list_customers.html [deleted file]
fs_selfservice/FS-SelfService/cgi/login.html [deleted file]
fs_selfservice/FS-SelfService/cgi/logout.html [deleted file]
fs_selfservice/FS-SelfService/cgi/make_payment.html [deleted file]
fs_selfservice/FS-SelfService/cgi/map.gif [deleted file]
fs_selfservice/FS-SelfService/cgi/myaccount.html [deleted file]
fs_selfservice/FS-SelfService/cgi/myaccount_menu.html [deleted file]
fs_selfservice/FS-SelfService/cgi/order_pkg.html [deleted file]
fs_selfservice/FS-SelfService/cgi/passwd.cgi [deleted file]
fs_selfservice/FS-SelfService/cgi/passwd.html [deleted file]
fs_selfservice/FS-SelfService/cgi/payment_results.html [deleted file]
fs_selfservice/FS-SelfService/cgi/process_svc_acct.html [deleted file]
fs_selfservice/FS-SelfService/cgi/process_svc_external.html [deleted file]
fs_selfservice/FS-SelfService/cgi/promocode.html [deleted file]
fs_selfservice/FS-SelfService/cgi/provision.html [deleted file]
fs_selfservice/FS-SelfService/cgi/provision_list.html [deleted file]
fs_selfservice/FS-SelfService/cgi/provision_svc_acct.html [deleted file]
fs_selfservice/FS-SelfService/cgi/recharge_prepay.html [deleted file]
fs_selfservice/FS-SelfService/cgi/recharge_results.html [deleted file]
fs_selfservice/FS-SelfService/cgi/regcode.html [deleted file]
fs_selfservice/FS-SelfService/cgi/selfservice.cgi [deleted file]
fs_selfservice/FS-SelfService/cgi/signup-agentselect.html [deleted file]
fs_selfservice/FS-SelfService/cgi/signup-alternate.html [deleted file]
fs_selfservice/FS-SelfService/cgi/signup-billaddress.html [deleted file]
fs_selfservice/FS-SelfService/cgi/signup-freeoption.html [deleted file]
fs_selfservice/FS-SelfService/cgi/signup-snarf.html [deleted file]
fs_selfservice/FS-SelfService/cgi/signup.cgi [deleted file]
fs_selfservice/FS-SelfService/cgi/signup.html [deleted file]
fs_selfservice/FS-SelfService/cgi/stateselect.html [deleted file]
fs_selfservice/FS-SelfService/cgi/success.html [deleted file]
fs_selfservice/FS-SelfService/cgi/svc_acct.html [deleted file]
fs_selfservice/FS-SelfService/cgi/view_customer.html [deleted file]
fs_selfservice/FS-SelfService/cgi/view_invoice.html [deleted file]
fs_selfservice/FS-SelfService/freeside-selfservice-clientd [deleted file]
fs_selfservice/FS-SelfService/ieak.template [deleted file]
fs_selfservice/FS-SelfService/test.pl [deleted file]
fs_selfservice/fs_passwd_test [deleted file]
fs_sesmon/FS-SessionClient/Changes [deleted file]
fs_sesmon/FS-SessionClient/MANIFEST [deleted file]
fs_sesmon/FS-SessionClient/MANIFEST.SKIP [deleted file]
fs_sesmon/FS-SessionClient/Makefile.PL [deleted file]
fs_sesmon/FS-SessionClient/SessionClient.pm [deleted file]
fs_sesmon/FS-SessionClient/bin/freeside-login [deleted file]
fs_sesmon/FS-SessionClient/bin/freeside-logout [deleted file]
fs_sesmon/FS-SessionClient/cgi/login.cgi [deleted file]
fs_sesmon/FS-SessionClient/cgi/logout.cgi [deleted file]
fs_sesmon/FS-SessionClient/fs_sessiond [deleted file]
fs_sesmon/FS-SessionClient/test.pl [deleted file]
fs_sesmon/fs_session_server [deleted file]
fs_webdemo/register.cgi [deleted file]
fs_webdemo/register.html [deleted file]
fs_webdemo/registerd [deleted file]
fs_webdemo/registerd.Pg [deleted file]
htetc/freeside-base.conf [deleted file]
htetc/freeside-rt.conf [deleted file]
htetc/global.asa [deleted file]
htetc/handler.pl [deleted file]
httemplate/.htaccess [deleted file]
httemplate/autohandler [deleted file]
httemplate/browse/addr_block.cgi [deleted file]
httemplate/browse/agent.cgi [deleted file]
httemplate/browse/agent_type.cgi [deleted file]
httemplate/browse/cust_main_county.cgi [deleted file]
httemplate/browse/cust_pay_batch.cgi [deleted file]
httemplate/browse/generic.cgi [deleted file]
httemplate/browse/msgcat.cgi [deleted file]
httemplate/browse/nas.cgi [deleted file]
httemplate/browse/part_bill_event.cgi [deleted file]
httemplate/browse/part_export.cgi [deleted file]
httemplate/browse/part_pkg.cgi [deleted file]
httemplate/browse/part_referral.cgi [deleted file]
httemplate/browse/part_svc.cgi [deleted file]
httemplate/browse/part_virtual_field.cgi [deleted file]
httemplate/browse/payment_gateway.html [deleted file]
httemplate/browse/queue.cgi [deleted file]
httemplate/browse/rate.cgi [deleted file]
httemplate/browse/router.cgi [deleted file]
httemplate/browse/svc_acct_pop.cgi [deleted file]
httemplate/config/config-process.cgi [deleted file]
httemplate/config/config-view.cgi [deleted file]
httemplate/config/config.cgi [deleted file]
httemplate/docs/ach.html [deleted file]
httemplate/docs/admin.html [deleted file]
httemplate/docs/billing.html [deleted file]
httemplate/docs/config.html [deleted file]
httemplate/docs/cvv2.html [deleted file]
httemplate/docs/export.html [deleted file]
httemplate/docs/ieak.html [deleted file]
httemplate/docs/index.html [deleted file]
httemplate/docs/install-rt.html [deleted file]
httemplate/docs/install.html [deleted file]
httemplate/docs/legacy.html [deleted file]
httemplate/docs/man/FS/part_export/.cvs_is_on_crack [deleted file]
httemplate/docs/overview-new.dia [deleted file]
httemplate/docs/overview-new.png [deleted file]
httemplate/docs/overview.dia [deleted file]
httemplate/docs/overview.png [deleted file]
httemplate/docs/passwd.html [deleted file]
httemplate/docs/schema.dia [deleted file]
httemplate/docs/schema.html [deleted file]
httemplate/docs/schema.png [deleted file]
httemplate/docs/selfservice.html [deleted file]
httemplate/docs/session.html [deleted file]
httemplate/docs/signup.html [deleted file]
httemplate/docs/ssh.html [deleted file]
httemplate/docs/trouble.html [deleted file]
httemplate/docs/upgrade-1.4.2.html [deleted file]
httemplate/docs/upgrade10.html [deleted file]
httemplate/docs/upgrade7.html [deleted file]
httemplate/docs/upgrade8.html [deleted file]
httemplate/docs/upgrade9.html [deleted file]
httemplate/edit/REAL_cust_pkg.cgi [deleted file]
httemplate/edit/agent.cgi [deleted file]
httemplate/edit/agent_payment_gateway.html [deleted file]
httemplate/edit/agent_type.cgi [deleted file]
httemplate/edit/bulk-cust_svc.html [deleted file]
httemplate/edit/cust_bill_pay.cgi [deleted file]
httemplate/edit/cust_credit.cgi [deleted file]
httemplate/edit/cust_credit_bill.cgi [deleted file]
httemplate/edit/cust_main.cgi [deleted file]
httemplate/edit/cust_main/billing.html [deleted file]
httemplate/edit/cust_main/contact.html [deleted file]
httemplate/edit/cust_main/select-country.html [deleted file]
httemplate/edit/cust_main/select-county.html [deleted file]
httemplate/edit/cust_main/select-state.html [deleted file]
httemplate/edit/cust_main_county-expand.cgi [deleted file]
httemplate/edit/cust_main_county.cgi [deleted file]
httemplate/edit/cust_pay.cgi [deleted file]
httemplate/edit/cust_pkg.cgi [deleted file]
httemplate/edit/cust_refund.cgi [deleted file]
httemplate/edit/msgcat.cgi [deleted file]
httemplate/edit/part_bill_event.cgi [deleted file]
httemplate/edit/part_export.cgi [deleted file]
httemplate/edit/part_pkg.cgi [deleted file]
httemplate/edit/part_referral.cgi [deleted file]
httemplate/edit/part_svc.cgi [deleted file]
httemplate/edit/part_virtual_field.cgi [deleted file]
httemplate/edit/payment_gateway.html [deleted file]
httemplate/edit/prepay_credit.cgi [deleted file]
httemplate/edit/process/REAL_cust_pkg.cgi [deleted file]
httemplate/edit/process/addr_block/add.cgi [deleted file]
httemplate/edit/process/addr_block/allocate.cgi [deleted file]
httemplate/edit/process/addr_block/deallocate.cgi [deleted file]
httemplate/edit/process/addr_block/split.cgi [deleted file]
httemplate/edit/process/agent.cgi [deleted file]
httemplate/edit/process/agent_payment_gateway.html [deleted file]
httemplate/edit/process/agent_type.cgi [deleted file]
httemplate/edit/process/bulk-cust_svc.cgi [deleted file]
httemplate/edit/process/cust_bill_pay.cgi [deleted file]
httemplate/edit/process/cust_credit.cgi [deleted file]
httemplate/edit/process/cust_credit_bill.cgi [deleted file]
httemplate/edit/process/cust_main.cgi [deleted file]
httemplate/edit/process/cust_main_county-collapse.cgi [deleted file]
httemplate/edit/process/cust_main_county-expand.cgi [deleted file]
httemplate/edit/process/cust_main_county.cgi [deleted file]
httemplate/edit/process/cust_pay.cgi [deleted file]
httemplate/edit/process/cust_pkg.cgi [deleted file]
httemplate/edit/process/cust_refund.cgi [deleted file]
httemplate/edit/process/cust_svc.cgi [deleted file]
httemplate/edit/process/domain_record.cgi [deleted file]
httemplate/edit/process/generic.cgi [deleted file]
httemplate/edit/process/msgcat.cgi [deleted file]
httemplate/edit/process/part_bill_event.cgi [deleted file]
httemplate/edit/process/part_export.cgi [deleted file]
httemplate/edit/process/part_pkg.cgi [deleted file]
httemplate/edit/process/part_referral.cgi [deleted file]
httemplate/edit/process/part_svc.cgi [deleted file]
httemplate/edit/process/payment_gateway.html [deleted file]
httemplate/edit/process/prepay_credit.cgi [deleted file]
httemplate/edit/process/quick-charge.cgi [deleted file]
httemplate/edit/process/quick-cust_pkg.cgi [deleted file]
httemplate/edit/process/rate.cgi [deleted file]
httemplate/edit/process/rate_region.cgi [deleted file]
httemplate/edit/process/reg_code.cgi [deleted file]
httemplate/edit/process/router.cgi [deleted file]
httemplate/edit/process/svc_acct.cgi [deleted file]
httemplate/edit/process/svc_acct_pop.cgi [deleted file]
httemplate/edit/process/svc_broadband.cgi [deleted file]
httemplate/edit/process/svc_domain.cgi [deleted file]
httemplate/edit/process/svc_external.cgi [deleted file]
httemplate/edit/process/svc_forward.cgi [deleted file]
httemplate/edit/process/svc_www.cgi [deleted file]
httemplate/edit/rate.cgi [deleted file]
httemplate/edit/rate_region.cgi [deleted file]
httemplate/edit/reg_code.cgi [deleted file]
httemplate/edit/router.cgi [deleted file]
httemplate/edit/svc_acct.cgi [deleted file]
httemplate/edit/svc_acct_pop.cgi [deleted file]
httemplate/edit/svc_broadband.cgi [deleted file]
httemplate/edit/svc_domain.cgi [deleted file]
httemplate/edit/svc_external.cgi [deleted file]
httemplate/edit/svc_forward.cgi [deleted file]
httemplate/edit/svc_www.cgi [deleted file]
httemplate/elements/calendar-en.js [deleted file]
httemplate/elements/calendar-setup.js [deleted file]
httemplate/elements/calendar-win2k-2.css [deleted file]
httemplate/elements/calendar.js [deleted file]
httemplate/elements/calendar_stripped.js [deleted file]
httemplate/elements/header.html [deleted file]
httemplate/elements/jsrsClient.js [deleted file]
httemplate/elements/jsrsServer.html [deleted file]
httemplate/elements/menubar.html [deleted file]
httemplate/elements/overlibmws.js [deleted file]
httemplate/elements/overlibmws_draggable.js [deleted file]
httemplate/elements/overlibmws_iframe.js [deleted file]
httemplate/elements/pager.html [deleted file]
httemplate/elements/progress-init.html [deleted file]
httemplate/elements/progress-popup.html [deleted file]
httemplate/elements/qlib/box.js [deleted file]
httemplate/elements/qlib/boxctrl.js [deleted file]
httemplate/elements/qlib/boxres.js [deleted file]
httemplate/elements/qlib/button.js [deleted file]
httemplate/elements/qlib/buttonres.js [deleted file]
httemplate/elements/qlib/control.js [deleted file]
httemplate/elements/qlib/counter.js [deleted file]
httemplate/elements/qlib/imagelist.js [deleted file]
httemplate/elements/qlib/label.js [deleted file]
httemplate/elements/qlib/messagebox.js [deleted file]
httemplate/elements/qlib/progress.js [deleted file]
httemplate/elements/qlib/sound.js [deleted file]
httemplate/elements/qlib/sprite.js [deleted file]
httemplate/elements/qlib/window.js [deleted file]
httemplate/elements/qlib/wndctrl.js [deleted file]
httemplate/elements/select-agent.html [deleted file]
httemplate/elements/select-month_year.html [deleted file]
httemplate/elements/select-taxclass.html [deleted file]
httemplate/elements/small_custview.html [deleted file]
httemplate/elements/table-grid.html [deleted file]
httemplate/elements/table.html [deleted file]
httemplate/elements/tr-input-beginning_ending.html [deleted file]
httemplate/elements/tr-select-agent.html [deleted file]
httemplate/elements/xmlhttp.html [deleted file]
httemplate/graph/money_time-graph.cgi [deleted file]
httemplate/graph/money_time.cgi [deleted file]
httemplate/images/ach.png [deleted file]
httemplate/images/calendar.png [deleted file]
httemplate/images/cvv2.png [deleted file]
httemplate/images/cvv2_amex.png [deleted file]
httemplate/images/progressbar-empty.png [deleted file]
httemplate/images/progressbar-full.png [deleted file]
httemplate/images/small-logo.png [deleted file]
httemplate/index.html [deleted file]
httemplate/misc/batch-cust_pay.html [deleted file]
httemplate/misc/bill.cgi [deleted file]
httemplate/misc/cancel-unaudited.cgi [deleted file]
httemplate/misc/cancel_pkg.cgi [deleted file]
httemplate/misc/catchall.cgi [deleted file]
httemplate/misc/change_pkg.cgi [deleted file]
httemplate/misc/counties.cgi [deleted file]
httemplate/misc/cust_main-cancel.cgi [deleted file]
httemplate/misc/cust_main-import.cgi [deleted file]
httemplate/misc/cust_main-import_charges.cgi [deleted file]
httemplate/misc/delete-cust_credit.cgi [deleted file]
httemplate/misc/delete-cust_pay.cgi [deleted file]
httemplate/misc/delete-customer.cgi [deleted file]
httemplate/misc/delete-domain_record.cgi [deleted file]
httemplate/misc/delete-part_export.cgi [deleted file]
httemplate/misc/download-batch.cgi [deleted file]
httemplate/misc/dump.cgi [deleted file]
httemplate/misc/email-invoice.cgi [deleted file]
httemplate/misc/email_invoice_events.cgi [deleted file]
httemplate/misc/email_invoices.cgi [deleted file]
httemplate/misc/expire_pkg.cgi [deleted file]
httemplate/misc/fax-invoice.cgi [deleted file]
httemplate/misc/fax_invoice_events.cgi [deleted file]
httemplate/misc/fax_invoices.cgi [deleted file]
httemplate/misc/link.cgi [deleted file]
httemplate/misc/meta-import.cgi [deleted file]
httemplate/misc/payment.cgi [deleted file]
httemplate/misc/print-invoice.cgi [deleted file]
httemplate/misc/print_invoice_events.cgi [deleted file]
httemplate/misc/print_invoices.cgi [deleted file]
httemplate/misc/process/batch-cust_pay.cgi [deleted file]
httemplate/misc/process/catchall.cgi [deleted file]
httemplate/misc/process/cust_main-import.cgi [deleted file]
httemplate/misc/process/cust_main-import_charges.cgi [deleted file]
httemplate/misc/process/delete-customer.cgi [deleted file]
httemplate/misc/process/expire_pkg.cgi [deleted file]
httemplate/misc/process/link.cgi [deleted file]
httemplate/misc/process/meta-import.cgi [deleted file]
httemplate/misc/process/payment.cgi [deleted file]
httemplate/misc/queue.cgi [deleted file]
httemplate/misc/states.cgi [deleted file]
httemplate/misc/susp_pkg.cgi [deleted file]
httemplate/misc/unapply-cust_credit.cgi [deleted file]
httemplate/misc/unapply-cust_pay.cgi [deleted file]
httemplate/misc/unprovision.cgi [deleted file]
httemplate/misc/unsusp_pkg.cgi [deleted file]
httemplate/misc/unvoid-cust_pay_void.cgi [deleted file]
httemplate/misc/upload-batch.cgi [deleted file]
httemplate/misc/void-cust_pay.cgi [deleted file]
httemplate/misc/whois.cgi [deleted file]
httemplate/misc/xmlhttp-cust_main-search.cgi [deleted file]
httemplate/misc/xmlrpc.cgi [deleted file]
httemplate/search/cust_bill.cgi [deleted file]
httemplate/search/cust_bill.html [deleted file]
httemplate/search/cust_bill_event.cgi [deleted file]
httemplate/search/cust_bill_event.html [deleted file]
httemplate/search/cust_bill_pkg.cgi [deleted file]
httemplate/search/cust_credit.html [deleted file]
httemplate/search/cust_main-otaker.cgi [deleted file]
httemplate/search/cust_main-payinfo.html [deleted file]
httemplate/search/cust_main-quickpay.html [deleted file]
httemplate/search/cust_main.cgi [deleted file]
httemplate/search/cust_main.html [deleted file]
httemplate/search/cust_pay.cgi [deleted file]
httemplate/search/cust_pay.html [deleted file]
httemplate/search/cust_pkg.cgi [deleted file]
httemplate/search/cust_pkg_report.cgi [deleted file]
httemplate/search/elements/search.html [deleted file]
httemplate/search/prepay_credit.html [deleted file]
httemplate/search/reg_code.html [deleted file]
httemplate/search/report_cust_bill.html [deleted file]
httemplate/search/report_cust_credit.html [deleted file]
httemplate/search/report_cust_pay.html [deleted file]
httemplate/search/report_prepaid_income.cgi [deleted file]
httemplate/search/report_prepaid_income.html [deleted file]
httemplate/search/report_receivables.cgi [deleted file]
httemplate/search/report_tax.cgi [deleted file]
httemplate/search/report_tax.html [deleted file]
httemplate/search/sql.html [deleted file]
httemplate/search/sqlradius.cgi [deleted file]
httemplate/search/sqlradius.html [deleted file]
httemplate/search/svc_acct.cgi [deleted file]
httemplate/search/svc_acct.html [deleted file]
httemplate/search/svc_broadband.cgi [deleted file]
httemplate/search/svc_domain.cgi [deleted file]
httemplate/search/svc_domain.html [deleted file]
httemplate/search/svc_external.cgi [deleted file]
httemplate/search/svc_forward.cgi [deleted file]
httemplate/search/svc_www.cgi [deleted file]
httemplate/view/cust_bill-logo.cgi [deleted file]
httemplate/view/cust_bill-pdf.cgi [deleted file]
httemplate/view/cust_bill-ps.cgi [deleted file]
httemplate/view/cust_bill.cgi [deleted file]
httemplate/view/cust_main.cgi [deleted file]
httemplate/view/cust_main/billing.html [deleted file]
httemplate/view/cust_main/contacts.html [deleted file]
httemplate/view/cust_main/misc.html [deleted file]
httemplate/view/cust_main/order_pkg.html [deleted file]
httemplate/view/cust_main/packages.html [deleted file]
httemplate/view/cust_main/payment_history.html [deleted file]
httemplate/view/cust_main/quick-charge.html [deleted file]
httemplate/view/cust_main/tickets.html [deleted file]
httemplate/view/cust_pkg.cgi [deleted file]
httemplate/view/svc_acct.cgi [deleted file]
httemplate/view/svc_broadband.cgi [deleted file]
httemplate/view/svc_domain.cgi [deleted file]
httemplate/view/svc_external.cgi [deleted file]
httemplate/view/svc_forward.cgi [deleted file]
httemplate/view/svc_www.cgi [deleted file]
init.d/freeside-init [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/Changes [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/MANIFEST [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/Makefile.PL [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/Pg.h [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/Pg.pm [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/Pg.xs [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/README [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/README.win32 [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/dbd-pg.pod [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/dbdimp.c [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/dbdimp.h [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/eg/ApacheDBI.pl [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/eg/lotest.pl [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/eg/notify_test.patch [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/00basic.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/01connect.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/01constants.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/01setup.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/02prepare.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/03bind.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/04execute.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/05fetch.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/06disconnect.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/07reuse.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/08txn.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/09autocommit.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/11quoting.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/12placeholders.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/13pgtype.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/15funct.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/99cleanup.t [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info.pm [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Handler.pm [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Handler/Prompt.pm [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/RDBMS.pm [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/RDBMS/PostgreSQL.pm [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Request.pm [deleted file]
install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Util.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/Changes [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup/Index.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup/Unique.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/Column.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/Pg.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/Sybase.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/mysql.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/Table.pm [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/MANIFEST [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/MANIFEST.SKIP [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/Makefile.PL [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/README [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/TODO [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load-mysql.t [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load-pg.t [deleted file]
install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load.t [deleted file]
install/centos/3/INSTALL [deleted file]
install/centos/3/httpd-init [deleted file]
install/debian/3.0/INSTALL [deleted file]
install/debian/3.1/INSTALL [deleted file]
install/fedora/fc1/INSTALL [deleted file]
install/fedora/fc1/sources.list [deleted file]
install/fedora/fc2/INSTALL [deleted file]
install/fedora/fc2/sources.list [deleted file]
install/fedora/fc3/INSTALL [deleted file]
install/fedora/fc3/sources.list [deleted file]
install/freebsd/INSTALL [deleted file]
install/freebsd/ports [deleted file]
install/openbsd/INSTALL [deleted file]
install/openbsd/cpan [deleted file]
install/openbsd/ports [deleted file]
install/redhat/7.3/INSTALL [deleted file]
install/redhat/7.3/sources.list [deleted file]
install/redhat/8/INSTALL [deleted file]
install/redhat/8/README.insecure [deleted file]
install/redhat/8/sources.list [deleted file]
install/redhat/9/INSTALL [deleted file]
install/redhat/9/sources.list [deleted file]
install/redhat/es3/INSTALL [deleted file]
install/redhat/es3/httpd-init [deleted file]
install/suse/9.0/INSTALL [deleted file]
rt/COPYING [deleted file]
rt/Changelog [deleted file]
rt/FREESIDE_MODIFIED [deleted file]
rt/Makefile [deleted file]
rt/Makefile.in [deleted file]
rt/README [deleted file]
rt/README.Oracle [deleted file]
rt/UPGRADING [deleted file]
rt/aclocal.m4 [deleted file]
rt/autom4te.cache/output.0 [deleted file]
rt/autom4te.cache/requests [deleted file]
rt/autom4te.cache/traces.0 [deleted file]
rt/bin/mason_handler.fcgi [deleted file]
rt/bin/mason_handler.fcgi.in [deleted file]
rt/bin/mason_handler.scgi [deleted file]
rt/bin/mason_handler.scgi.in [deleted file]
rt/bin/mason_handler.svc [deleted file]
rt/bin/mason_handler.svc.in [deleted file]
rt/bin/rt-commit-handler [deleted file]
rt/bin/rt-crontool [deleted file]
rt/bin/rt-crontool.in [deleted file]
rt/bin/rt-mailgate [deleted file]
rt/bin/rt-mailgate.in [deleted file]
rt/bin/rt.in [deleted file]
rt/bin/standalone_httpd.in [deleted file]
rt/bin/webmux.pl [deleted file]
rt/bin/webmux.pl.in [deleted file]
rt/config.layout.in [deleted file]
rt/config.log [deleted file]
rt/config.status [deleted file]
rt/configure [deleted file]
rt/configure.ac [deleted file]
rt/docs/README.docs [deleted file]
rt/docs/Security [deleted file]
rt/docs/design_docs/3.3-schema-redesign.txt [deleted file]
rt/docs/design_docs/CARS [deleted file]
rt/docs/design_docs/TransactionTypes.txt [deleted file]
rt/docs/design_docs/acls [deleted file]
rt/docs/design_docs/approval_notices [deleted file]
rt/docs/design_docs/approval_template [deleted file]
rt/docs/design_docs/cf_search [deleted file]
rt/docs/design_docs/cli_spec [deleted file]
rt/docs/design_docs/cvs_integration [deleted file]
rt/docs/design_docs/delegation [deleted file]
rt/docs/design_docs/evil_plans [deleted file]
rt/docs/design_docs/groups_notes [deleted file]
rt/docs/design_docs/link-definitions.txt [deleted file]
rt/docs/design_docs/realflow.txt [deleted file]
rt/docs/design_docs/recursive_group_membership_algorithm [deleted file]
rt/docs/design_docs/rql_parser_machine.graphviz [deleted file]
rt/docs/design_docs/rt-mvc [deleted file]
rt/docs/design_docs/string-extraction-guide.txt [deleted file]
rt/docs/design_docs/subscription-definitions.txt [deleted file]
rt/docs/design_docs/ticket_templates [deleted file]
rt/docs/design_docs/users [deleted file]
rt/docs/rt3-schema-relationships.dot [deleted file]
rt/etc/RT_Config.pm [deleted file]
rt/etc/RT_Config.pm.in [deleted file]
rt/etc/RT_SiteConfig.pm [deleted file]
rt/etc/acl.Informix [deleted file]
rt/etc/acl.Oracle [deleted file]
rt/etc/acl.Pg [deleted file]
rt/etc/acl.Sybase [deleted file]
rt/etc/acl.mysql [deleted file]
rt/etc/constraints.mysql [deleted file]
rt/etc/drop.Informix [deleted file]
rt/etc/drop.Oracle [deleted file]
rt/etc/initialdata [deleted file]
rt/etc/rt.spec [deleted file]
rt/etc/schema.Informix [deleted file]
rt/etc/schema.Pg [deleted file]
rt/etc/schema.SQLite [deleted file]
rt/etc/schema.Sybase [deleted file]
rt/etc/schema.mysql [deleted file]
rt/etc/upgrade/3.1.0/acl.Informix [deleted file]
rt/etc/upgrade/3.1.0/acl.Oracle [deleted file]
rt/etc/upgrade/3.1.0/acl.Pg [deleted file]
rt/etc/upgrade/3.1.0/acl.SQLite [deleted file]
rt/etc/upgrade/3.1.0/acl.mysql [deleted file]
rt/etc/upgrade/3.1.0/content [deleted file]
rt/etc/upgrade/3.1.0/schema.Informix [deleted file]
rt/etc/upgrade/3.1.0/schema.Oracle [deleted file]
rt/etc/upgrade/3.1.0/schema.Pg [deleted file]
rt/etc/upgrade/3.1.0/schema.SQLite [deleted file]
rt/etc/upgrade/3.1.0/schema.mysql [deleted file]
rt/etc/upgrade/3.1.15/content [deleted file]
rt/etc/upgrade/3.1.17/content [deleted file]
rt/etc/upgrade/3.3.0/acl.Informix [deleted file]
rt/etc/upgrade/3.3.0/acl.Oracle [deleted file]
rt/etc/upgrade/3.3.0/acl.Pg [deleted file]
rt/etc/upgrade/3.3.0/acl.SQLite [deleted file]
rt/etc/upgrade/3.3.0/acl.mysql [deleted file]
rt/etc/upgrade/3.3.0/content [deleted file]
rt/etc/upgrade/3.3.0/schema.Oracle [deleted file]
rt/etc/upgrade/3.3.0/schema.Pg [deleted file]
rt/etc/upgrade/3.3.0/schema.mysql [deleted file]
rt/etc/upgrade/3.3.11/acl.Oracle [deleted file]
rt/etc/upgrade/3.3.11/acl.Pg [deleted file]
rt/etc/upgrade/3.3.11/acl.SQLite [deleted file]
rt/etc/upgrade/3.3.11/acl.mysql [deleted file]
rt/etc/upgrade/3.3.11/content [deleted file]
rt/etc/upgrade/3.3.11/schema.Oracle [deleted file]
rt/etc/upgrade/3.3.11/schema.Pg [deleted file]
rt/etc/upgrade/3.3.11/schema.SQLite [deleted file]
rt/etc/upgrade/3.3.11/schema.mysql [deleted file]
rt/html/Admin/CustomFields/GroupRights.html [deleted file]
rt/html/Admin/CustomFields/Modify.html [deleted file]
rt/html/Admin/CustomFields/Objects.html [deleted file]
rt/html/Admin/CustomFields/UserRights.html [deleted file]
rt/html/Admin/CustomFields/index.html [deleted file]
rt/html/Admin/Elements/AddCustomFieldValue [deleted file]
rt/html/Admin/Elements/CreateUserCalled [deleted file]
rt/html/Admin/Elements/CustomFieldTabs [deleted file]
rt/html/Admin/Elements/EditCustomField [deleted file]
rt/html/Admin/Elements/EditCustomFieldValues [deleted file]
rt/html/Admin/Elements/EditCustomFields [deleted file]
rt/html/Admin/Elements/EditQueueWatchers [deleted file]
rt/html/Admin/Elements/EditScrip [deleted file]
rt/html/Admin/Elements/EditScrips [deleted file]
rt/html/Admin/Elements/EditTemplates [deleted file]
rt/html/Admin/Elements/EditUserComments [deleted file]
rt/html/Admin/Elements/GlobalCustomFieldTabs [deleted file]
rt/html/Admin/Elements/GroupTabs [deleted file]
rt/html/Admin/Elements/Header [deleted file]
rt/html/Admin/Elements/ListGlobalCustomFields [deleted file]
rt/html/Admin/Elements/ListGlobalScrips [deleted file]
rt/html/Admin/Elements/ModifyTemplate [deleted file]
rt/html/Admin/Elements/ObjectCustomFields [deleted file]
rt/html/Admin/Elements/PickCustomFields [deleted file]
rt/html/Admin/Elements/PickObjects [deleted file]
rt/html/Admin/Elements/QueueRightsForUser [deleted file]
rt/html/Admin/Elements/QueueTabs [deleted file]
rt/html/Admin/Elements/SelectCustomFieldLookupType [deleted file]
rt/html/Admin/Elements/SelectCustomFieldType [deleted file]
rt/html/Admin/Elements/SelectGroups [deleted file]
rt/html/Admin/Elements/SelectModifyGroup [deleted file]
rt/html/Admin/Elements/SelectModifyQueue [deleted file]
rt/html/Admin/Elements/SelectModifyUser [deleted file]
rt/html/Admin/Elements/SelectNewGroupMembers [deleted file]
rt/html/Admin/Elements/SelectRights [deleted file]
rt/html/Admin/Elements/SelectScrip [deleted file]
rt/html/Admin/Elements/SelectScripAction [deleted file]
rt/html/Admin/Elements/SelectScripCondition [deleted file]
rt/html/Admin/Elements/SelectSingleOrMultiple [deleted file]
rt/html/Admin/Elements/SelectStage [deleted file]
rt/html/Admin/Elements/SelectTemplate [deleted file]
rt/html/Admin/Elements/SelectUsers [deleted file]
rt/html/Admin/Elements/SystemTabs [deleted file]
rt/html/Admin/Elements/Tabs [deleted file]
rt/html/Admin/Elements/ToolTabs [deleted file]
rt/html/Admin/Elements/UserTabs [deleted file]
rt/html/Admin/Global/CustomFields/Groups.html [deleted file]
rt/html/Admin/Global/CustomFields/Queue-Tickets.html [deleted file]
rt/html/Admin/Global/CustomFields/Queue-Transactions.html [deleted file]
rt/html/Admin/Global/CustomFields/Users.html [deleted file]
rt/html/Admin/Global/CustomFields/index.html [deleted file]
rt/html/Admin/Global/GroupRights.html [deleted file]
rt/html/Admin/Global/Scrip.html [deleted file]
rt/html/Admin/Global/Scrips.html [deleted file]
rt/html/Admin/Global/Template.html [deleted file]
rt/html/Admin/Global/Templates.html [deleted file]
rt/html/Admin/Global/UserRights.html [deleted file]
rt/html/Admin/Global/index.html [deleted file]
rt/html/Admin/Groups/CustomFields.html [deleted file]
rt/html/Admin/Groups/GroupRights.html [deleted file]
rt/html/Admin/Groups/History.html [deleted file]
rt/html/Admin/Groups/Members.html [deleted file]
rt/html/Admin/Groups/Modify.html [deleted file]
rt/html/Admin/Groups/UserRights.html [deleted file]
rt/html/Admin/Groups/index.html [deleted file]
rt/html/Admin/Queues/CustomField.html [deleted file]
rt/html/Admin/Queues/CustomFields.html [deleted file]
rt/html/Admin/Queues/GroupRights.html [deleted file]
rt/html/Admin/Queues/Modify.html [deleted file]
rt/html/Admin/Queues/People.html [deleted file]
rt/html/Admin/Queues/Scrip.html [deleted file]
rt/html/Admin/Queues/Scrips.html [deleted file]
rt/html/Admin/Queues/Template.html [deleted file]
rt/html/Admin/Queues/Templates.html [deleted file]
rt/html/Admin/Queues/UserRights.html [deleted file]
rt/html/Admin/Queues/index.html [deleted file]
rt/html/Admin/Tools/Configuration.html [deleted file]
rt/html/Admin/Tools/index.html [deleted file]
rt/html/Admin/Users/CustomFields.html [deleted file]
rt/html/Admin/Users/History.html [deleted file]
rt/html/Admin/Users/Memberships.html [deleted file]
rt/html/Admin/Users/Modify.html [deleted file]
rt/html/Admin/Users/index.html [deleted file]
rt/html/Admin/autohandler [deleted file]
rt/html/Admin/index.html [deleted file]
rt/html/Approvals/Display.html [deleted file]
rt/html/Approvals/Elements/Approve [deleted file]
rt/html/Approvals/Elements/PendingMyApproval [deleted file]
rt/html/Approvals/Elements/ShowDependency [deleted file]
rt/html/Approvals/Elements/Tabs [deleted file]
rt/html/Approvals/index.html [deleted file]
rt/html/Download/CustomFieldValue/dhandler [deleted file]
rt/html/Download/Tabular/dhandler [deleted file]
rt/html/Elements/BevelBoxRaisedEnd [deleted file]
rt/html/Elements/BevelBoxRaisedStart [deleted file]
rt/html/Elements/Callback [deleted file]
rt/html/Elements/Checkbox [deleted file]
rt/html/Elements/CollectionAsTable/Header [deleted file]
rt/html/Elements/CollectionAsTable/ParseFormat [deleted file]
rt/html/Elements/CollectionAsTable/Row [deleted file]
rt/html/Elements/CreateTicket [deleted file]
rt/html/Elements/EditCustomField [deleted file]
rt/html/Elements/EditCustomFieldBinary [deleted file]
rt/html/Elements/EditCustomFieldFreeform [deleted file]
rt/html/Elements/EditCustomFieldImage [deleted file]
rt/html/Elements/EditCustomFieldSelect [deleted file]
rt/html/Elements/EditCustomFieldText [deleted file]
rt/html/Elements/EditCustomFieldWikitext [deleted file]
rt/html/Elements/EditLinks [deleted file]
rt/html/Elements/Error [deleted file]
rt/html/Elements/Footer [deleted file]
rt/html/Elements/GotoTicket [deleted file]
rt/html/Elements/Header [deleted file]
rt/html/Elements/ListActions [deleted file]
rt/html/Elements/Login [deleted file]
rt/html/Elements/Menu [deleted file]
rt/html/Elements/MessageBox [deleted file]
rt/html/Elements/MyRequests [deleted file]
rt/html/Elements/MyTickets [deleted file]
rt/html/Elements/PageLayout [deleted file]
rt/html/Elements/QueryString [deleted file]
rt/html/Elements/QuickCreate [deleted file]
rt/html/Elements/Quicksearch [deleted file]
rt/html/Elements/RT__Ticket/ColumnMap [deleted file]
rt/html/Elements/Refresh [deleted file]
rt/html/Elements/ScrubHTML [deleted file]
rt/html/Elements/Section [deleted file]
rt/html/Elements/SelectAttachmentField [deleted file]
rt/html/Elements/SelectBoolean [deleted file]
rt/html/Elements/SelectCustomFieldOperator [deleted file]
rt/html/Elements/SelectCustomFieldValue [deleted file]
rt/html/Elements/SelectDate [deleted file]
rt/html/Elements/SelectDateRelation [deleted file]
rt/html/Elements/SelectDateType [deleted file]
rt/html/Elements/SelectEqualityOperator [deleted file]
rt/html/Elements/SelectGroups [deleted file]
rt/html/Elements/SelectLang [deleted file]
rt/html/Elements/SelectLinkType [deleted file]
rt/html/Elements/SelectMatch [deleted file]
rt/html/Elements/SelectNewTicketQueue [deleted file]
rt/html/Elements/SelectOwner [deleted file]
rt/html/Elements/SelectQueue [deleted file]
rt/html/Elements/SelectResultsPerPage [deleted file]
rt/html/Elements/SelectSortOrder [deleted file]
rt/html/Elements/SelectStatus [deleted file]
rt/html/Elements/SelectTicketSortBy [deleted file]
rt/html/Elements/SelectTicketTypes [deleted file]
rt/html/Elements/SelectUsers [deleted file]
rt/html/Elements/SelectWatcherType [deleted file]
rt/html/Elements/SetupSessionCookie [deleted file]
rt/html/Elements/ShowCustomFieldBinary [deleted file]
rt/html/Elements/ShowCustomFieldImage [deleted file]
rt/html/Elements/ShowCustomFieldWikitext [deleted file]
rt/html/Elements/ShowCustomFields [deleted file]
rt/html/Elements/ShowLink [deleted file]
rt/html/Elements/ShowLinks [deleted file]
rt/html/Elements/ShowMemberships [deleted file]
rt/html/Elements/SimpleSearch [deleted file]
rt/html/Elements/Submit [deleted file]
rt/html/Elements/Tabs [deleted file]
rt/html/Elements/TicketList [deleted file]
rt/html/Elements/TitleBox [deleted file]
rt/html/Elements/TitleBoxEnd [deleted file]
rt/html/Elements/TitleBoxStart [deleted file]
rt/html/NoAuth/Logout.html [deleted file]
rt/html/NoAuth/Reminder.html [deleted file]
rt/html/NoAuth/images/autohandler [deleted file]
rt/html/NoAuth/images/bplogo.gif [deleted file]
rt/html/NoAuth/images/favicon.png [deleted file]
rt/html/NoAuth/images/small-logo.png [deleted file]
rt/html/NoAuth/images/space.gif [deleted file]
rt/html/NoAuth/webrt.css [deleted file]
rt/html/REST/1.0/Forms/queue/default [deleted file]
rt/html/REST/1.0/Forms/queue/ns [deleted file]
rt/html/REST/1.0/Forms/ticket/attachments [deleted file]
rt/html/REST/1.0/Forms/ticket/default [deleted file]
rt/html/REST/1.0/Forms/ticket/history [deleted file]
rt/html/REST/1.0/Forms/ticket/links [deleted file]
rt/html/REST/1.0/Forms/user/default [deleted file]
rt/html/REST/1.0/Forms/user/ns [deleted file]
rt/html/REST/1.0/NoAuth/mail-gateway [deleted file]
rt/html/REST/1.0/autohandler [deleted file]
rt/html/REST/1.0/dhandler [deleted file]
rt/html/REST/1.0/logout [deleted file]
rt/html/REST/1.0/search/dhandler [deleted file]
rt/html/REST/1.0/search/ticket [deleted file]
rt/html/REST/1.0/ticket/comment [deleted file]
rt/html/REST/1.0/ticket/link [deleted file]
rt/html/REST/1.0/ticket/merge [deleted file]
rt/html/Search/Build.html [deleted file]
rt/html/Search/Bulk.html [deleted file]
rt/html/Search/Edit.html [deleted file]
rt/html/Search/Elements/BuildFormatString [deleted file]
rt/html/Search/Elements/DisplayOptions [deleted file]
rt/html/Search/Elements/EditFormat [deleted file]
rt/html/Search/Elements/EditQuery [deleted file]
rt/html/Search/Elements/EditSearches [deleted file]
rt/html/Search/Elements/NewListActions [deleted file]
rt/html/Search/Elements/PickBasics [deleted file]
rt/html/Search/Elements/PickCFs [deleted file]
rt/html/Search/Elements/PickCriteria [deleted file]
rt/html/Search/Elements/SearchPrivacy [deleted file]
rt/html/Search/Elements/SelectAndOr [deleted file]
rt/html/Search/Elements/SelectGroup [deleted file]
rt/html/Search/Elements/SelectLinks [deleted file]
rt/html/Search/Elements/SelectPersonType [deleted file]
rt/html/Search/Elements/SelectSearchObject [deleted file]
rt/html/Search/Elements/SelectSearchesForObjects [deleted file]
rt/html/Search/Results.html [deleted file]
rt/html/Search/Results.rdf [deleted file]
rt/html/Search/Results.tsv [deleted file]
rt/html/SelfService/Attachment/dhandler [deleted file]
rt/html/SelfService/Closed.html [deleted file]
rt/html/SelfService/Create.html [deleted file]
rt/html/SelfService/CreateTicketInQueue.html [deleted file]
rt/html/SelfService/Display.html [deleted file]
rt/html/SelfService/Elements/GotoTicket [deleted file]
rt/html/SelfService/Elements/Header [deleted file]
rt/html/SelfService/Elements/MyRequests [deleted file]
rt/html/SelfService/Elements/Tabs [deleted file]
rt/html/SelfService/Error.html [deleted file]
rt/html/SelfService/Prefs.html [deleted file]
rt/html/SelfService/Update.html [deleted file]
rt/html/SelfService/index.html [deleted file]
rt/html/Ticket/Attachment/dhandler [deleted file]
rt/html/Ticket/Create.html [deleted file]
rt/html/Ticket/Display.html [deleted file]
rt/html/Ticket/Elements/AddCustomers [deleted file]
rt/html/Ticket/Elements/AddWatchers [deleted file]
rt/html/Ticket/Elements/BulkLinks [deleted file]
rt/html/Ticket/Elements/EditBasics [deleted file]
rt/html/Ticket/Elements/EditCustomField [deleted file]
rt/html/Ticket/Elements/EditCustomFields [deleted file]
rt/html/Ticket/Elements/EditCustomers [deleted file]
rt/html/Ticket/Elements/EditDates [deleted file]
rt/html/Ticket/Elements/EditPeople [deleted file]
rt/html/Ticket/Elements/EditWatchers [deleted file]
rt/html/Ticket/Elements/FindAttachments [deleted file]
rt/html/Ticket/Elements/LoadTextAttachments [deleted file]
rt/html/Ticket/Elements/PreviewScrips [deleted file]
rt/html/Ticket/Elements/ShowAttachments [deleted file]
rt/html/Ticket/Elements/ShowBasics [deleted file]
rt/html/Ticket/Elements/ShowCustomFields [deleted file]
rt/html/Ticket/Elements/ShowCustomers [deleted file]
rt/html/Ticket/Elements/ShowDates [deleted file]
rt/html/Ticket/Elements/ShowDependencies [deleted file]
rt/html/Ticket/Elements/ShowGroupMembers [deleted file]
rt/html/Ticket/Elements/ShowHistory [deleted file]
rt/html/Ticket/Elements/ShowMemberOf [deleted file]
rt/html/Ticket/Elements/ShowMembers [deleted file]
rt/html/Ticket/Elements/ShowMessageHeaders [deleted file]
rt/html/Ticket/Elements/ShowMessageStanza [deleted file]
rt/html/Ticket/Elements/ShowPeople [deleted file]
rt/html/Ticket/Elements/ShowReferences [deleted file]
rt/html/Ticket/Elements/ShowRequestor [deleted file]
rt/html/Ticket/Elements/ShowSummary [deleted file]
rt/html/Ticket/Elements/ShowTransaction [deleted file]
rt/html/Ticket/Elements/ShowTransactionAttachments [deleted file]
rt/html/Ticket/Elements/ShowUserEntry [deleted file]
rt/html/Ticket/Elements/Tabs [deleted file]
rt/html/Ticket/History.html [deleted file]
rt/html/Ticket/Modify.html [deleted file]
rt/html/Ticket/ModifyAll.html [deleted file]
rt/html/Ticket/ModifyCustomers.html [deleted file]
rt/html/Ticket/ModifyDates.html [deleted file]
rt/html/Ticket/ModifyLinks.html [deleted file]
rt/html/Ticket/ModifyPeople.html [deleted file]
rt/html/Ticket/ShowEmailRecord.html [deleted file]
rt/html/Ticket/Update.html [deleted file]
rt/html/Tools/Elements/Tabs [deleted file]
rt/html/Tools/MyDay.html [deleted file]
rt/html/Tools/Offline.html [deleted file]
rt/html/User/Delegation.html [deleted file]
rt/html/User/Elements/DelegateRights [deleted file]
rt/html/User/Elements/GroupTabs [deleted file]
rt/html/User/Elements/Tabs [deleted file]
rt/html/User/Groups/Members.html [deleted file]
rt/html/User/Groups/Modify.html [deleted file]
rt/html/User/Groups/index.html [deleted file]
rt/html/User/Prefs.html [deleted file]
rt/html/autohandler [deleted file]
rt/html/index.html [deleted file]
rt/html/l [deleted file]
rt/install-sh [deleted file]
rt/lib/RT.pm [deleted file]
rt/lib/RT.pm.in [deleted file]
rt/lib/RT/ACE.pm [deleted file]
rt/lib/RT/ACE_Overlay.pm [deleted file]
rt/lib/RT/ACL.pm [deleted file]
rt/lib/RT/ACL_Overlay.pm [deleted file]
rt/lib/RT/Action/AutoOpen.pm [deleted file]
rt/lib/RT/Action/Autoreply.pm [deleted file]
rt/lib/RT/Action/CreateTickets.pm [deleted file]
rt/lib/RT/Action/EscalatePriority.pm [deleted file]
rt/lib/RT/Action/Generic.pm [deleted file]
rt/lib/RT/Action/Notify.pm [deleted file]
rt/lib/RT/Action/NotifyAsComment.pm [deleted file]
rt/lib/RT/Action/RecordComment.pm [deleted file]
rt/lib/RT/Action/RecordCorrespondence.pm [deleted file]
rt/lib/RT/Action/ResolveMembers.pm [deleted file]
rt/lib/RT/Action/SendEmail.pm [deleted file]
rt/lib/RT/Action/SetPriority.pm [deleted file]
rt/lib/RT/Action/UserDefined.pm [deleted file]
rt/lib/RT/Attachment.pm [deleted file]
rt/lib/RT/Attachment_Overlay.pm [deleted file]
rt/lib/RT/Attachments.pm [deleted file]
rt/lib/RT/Attachments_Overlay.pm [deleted file]
rt/lib/RT/Attribute.pm [deleted file]
rt/lib/RT/Attribute_Overlay.pm [deleted file]
rt/lib/RT/Attributes.pm [deleted file]
rt/lib/RT/Attributes_Overlay.pm [deleted file]
rt/lib/RT/Base.pm [deleted file]
rt/lib/RT/CachedGroupMember.pm [deleted file]
rt/lib/RT/CachedGroupMember_Overlay.pm [deleted file]
rt/lib/RT/CachedGroupMembers.pm [deleted file]
rt/lib/RT/CachedGroupMembers_Overlay.pm [deleted file]
rt/lib/RT/Condition/AnyTransaction.pm [deleted file]
rt/lib/RT/Condition/BeforeDue.pm [deleted file]
rt/lib/RT/Condition/Generic.pm [deleted file]
rt/lib/RT/Condition/Overdue.pm [deleted file]
rt/lib/RT/Condition/OwnerChange.pm [deleted file]
rt/lib/RT/Condition/PriorityChange.pm [deleted file]
rt/lib/RT/Condition/PriorityExceeds.pm [deleted file]
rt/lib/RT/Condition/QueueChange.pm [deleted file]
rt/lib/RT/Condition/StatusChange.pm [deleted file]
rt/lib/RT/Condition/UserDefined.pm [deleted file]
rt/lib/RT/CurrentUser.pm [deleted file]
rt/lib/RT/CustomField.pm [deleted file]
rt/lib/RT/CustomFieldValue.pm [deleted file]
rt/lib/RT/CustomFieldValue_Overlay.pm [deleted file]
rt/lib/RT/CustomFieldValues.pm [deleted file]
rt/lib/RT/CustomFieldValues_Overlay.pm [deleted file]
rt/lib/RT/CustomField_Overlay.pm [deleted file]
rt/lib/RT/CustomFields.pm [deleted file]
rt/lib/RT/CustomFields_Overlay.pm [deleted file]
rt/lib/RT/Date.pm [deleted file]
rt/lib/RT/EmailParser.pm [deleted file]
rt/lib/RT/Group.pm [deleted file]
rt/lib/RT/GroupMember.pm [deleted file]
rt/lib/RT/GroupMember_Overlay.pm [deleted file]
rt/lib/RT/GroupMembers.pm [deleted file]
rt/lib/RT/GroupMembers_Overlay.pm [deleted file]
rt/lib/RT/Group_Overlay.pm [deleted file]
rt/lib/RT/Groups.pm [deleted file]
rt/lib/RT/Groups_Overlay.pm [deleted file]
rt/lib/RT/Handle.pm [deleted file]
rt/lib/RT/I18N.pm [deleted file]
rt/lib/RT/I18N/cs.pm [deleted file]
rt/lib/RT/I18N/cs.po [deleted file]
rt/lib/RT/I18N/da.po [deleted file]
rt/lib/RT/I18N/de.po [deleted file]
rt/lib/RT/I18N/en.po [deleted file]
rt/lib/RT/I18N/es.po [deleted file]
rt/lib/RT/I18N/fi.po [deleted file]
rt/lib/RT/I18N/fr.po [deleted file]
rt/lib/RT/I18N/he.po [deleted file]
rt/lib/RT/I18N/hu.po [deleted file]
rt/lib/RT/I18N/i_default.pm [deleted file]
rt/lib/RT/I18N/id.po [deleted file]
rt/lib/RT/I18N/it.po [deleted file]
rt/lib/RT/I18N/ja.po [deleted file]
rt/lib/RT/I18N/nl.po [deleted file]
rt/lib/RT/I18N/no.po [deleted file]
rt/lib/RT/I18N/pl.po [deleted file]
rt/lib/RT/I18N/pt_br.po [deleted file]
rt/lib/RT/I18N/ru.po [deleted file]
rt/lib/RT/I18N/zh_cn.po [deleted file]
rt/lib/RT/I18N/zh_tw.po [deleted file]
rt/lib/RT/Interface/CLI.pm [deleted file]
rt/lib/RT/Interface/Email.pm [deleted file]
rt/lib/RT/Interface/Email/Auth/GnuPG.pm [deleted file]
rt/lib/RT/Interface/Email/Auth/MailFrom.pm [deleted file]
rt/lib/RT/Interface/Email/Filter/SpamAssassin.pm [deleted file]
rt/lib/RT/Interface/REST.pm [deleted file]
rt/lib/RT/Interface/Web.pm [deleted file]
rt/lib/RT/Interface/Web/Handler.pm [deleted file]
rt/lib/RT/Interface/Web/QueryBuilder.pm [deleted file]
rt/lib/RT/Interface/Web/QueryBuilder/Tree.pm [deleted file]
rt/lib/RT/Interface/Web/Standalone.pm [deleted file]
rt/lib/RT/Interface/Web_Vendor.pm [deleted file]
rt/lib/RT/Link.pm [deleted file]
rt/lib/RT/Link_Overlay.pm [deleted file]
rt/lib/RT/Links.pm [deleted file]
rt/lib/RT/Links_Overlay.pm [deleted file]
rt/lib/RT/ObjectCustomField.pm [deleted file]
rt/lib/RT/ObjectCustomFieldValue.pm [deleted file]
rt/lib/RT/ObjectCustomFieldValue_Overlay.pm [deleted file]
rt/lib/RT/ObjectCustomFieldValues.pm [deleted file]
rt/lib/RT/ObjectCustomFieldValues_Overlay.pm [deleted file]
rt/lib/RT/ObjectCustomField_Overlay.pm [deleted file]
rt/lib/RT/ObjectCustomFields.pm [deleted file]
rt/lib/RT/ObjectCustomFields_Overlay.pm [deleted file]
rt/lib/RT/Principal.pm [deleted file]
rt/lib/RT/Principal_Overlay.pm [deleted file]
rt/lib/RT/Principals.pm [deleted file]
rt/lib/RT/Principals_Overlay.pm [deleted file]
rt/lib/RT/Queue.pm [deleted file]
rt/lib/RT/Queue_Overlay.pm [deleted file]
rt/lib/RT/Queues.pm [deleted file]
rt/lib/RT/Queues_Overlay.pm [deleted file]
rt/lib/RT/Record.pm [deleted file]
rt/lib/RT/SavedSearch.pm [deleted file]
rt/lib/RT/SavedSearches.pm [deleted file]
rt/lib/RT/Scrip.pm [deleted file]
rt/lib/RT/ScripAction.pm [deleted file]
rt/lib/RT/ScripAction_Overlay.pm [deleted file]
rt/lib/RT/ScripActions.pm [deleted file]
rt/lib/RT/ScripActions_Overlay.pm [deleted file]
rt/lib/RT/ScripCondition.pm [deleted file]
rt/lib/RT/ScripCondition_Overlay.pm [deleted file]
rt/lib/RT/ScripConditions.pm [deleted file]
rt/lib/RT/ScripConditions_Overlay.pm [deleted file]
rt/lib/RT/Scrip_Overlay.pm [deleted file]
rt/lib/RT/Scrips.pm [deleted file]
rt/lib/RT/Scrips_Overlay.pm [deleted file]
rt/lib/RT/Search/ActiveTicketsInQueue.pm [deleted file]
rt/lib/RT/Search/FromSQL.pm [deleted file]
rt/lib/RT/Search/Generic.pm [deleted file]
rt/lib/RT/SearchBuilder.pm [deleted file]
rt/lib/RT/StyleGuide.pod [deleted file]
rt/lib/RT/System.pm [deleted file]
rt/lib/RT/Template.pm [deleted file]
rt/lib/RT/Template_Overlay.pm [deleted file]
rt/lib/RT/Templates.pm [deleted file]
rt/lib/RT/Templates_Overlay.pm [deleted file]
rt/lib/RT/Ticket.pm [deleted file]
rt/lib/RT/Ticket_Overlay.pm [deleted file]
rt/lib/RT/Tickets.pm [deleted file]
rt/lib/RT/Tickets_Overlay.pm [deleted file]
rt/lib/RT/Tickets_Overlay_SQL.pm [deleted file]
rt/lib/RT/Transaction.pm [deleted file]
rt/lib/RT/Transaction_Overlay.pm [deleted file]
rt/lib/RT/Transactions.pm [deleted file]
rt/lib/RT/Transactions_Overlay.pm [deleted file]
rt/lib/RT/URI.pm [deleted file]
rt/lib/RT/URI/base.pm [deleted file]
rt/lib/RT/URI/freeside.pm [deleted file]
rt/lib/RT/URI/freeside/Internal.pm [deleted file]
rt/lib/RT/URI/freeside/XMLRPC.pm [deleted file]
rt/lib/RT/URI/fsck_com_rt.pm [deleted file]
rt/lib/RT/URI/t.pm [deleted file]
rt/lib/RT/User.pm [deleted file]
rt/lib/RT/User_Overlay.pm [deleted file]
rt/lib/RT/Users.pm [deleted file]
rt/lib/RT/Users_Overlay.pm [deleted file]
rt/lib/t/00smoke.t [deleted file]
rt/lib/t/01harness.t [deleted file]
rt/lib/t/02regression.t [deleted file]
rt/lib/t/03web.pl [deleted file]
rt/lib/t/04_send_email.pl [deleted file]
rt/lib/t/create_data.pl [deleted file]
rt/lib/t/data/8859-15-message-series/dir [deleted file]
rt/lib/t/data/8859-15-message-series/msg1 [deleted file]
rt/lib/t/data/8859-15-message-series/msg2 [deleted file]
rt/lib/t/data/8859-15-message-series/msg3 [deleted file]
rt/lib/t/data/8859-15-message-series/msg4 [deleted file]
rt/lib/t/data/8859-15-message-series/msg5 [deleted file]
rt/lib/t/data/8859-15-message-series/msg6 [deleted file]
rt/lib/t/data/8859-15-message-series/msg7 [deleted file]
rt/lib/t/data/crashes-file-based-parser [deleted file]
rt/lib/t/data/multipart-alternative-with-umlaut [deleted file]
rt/lib/t/data/multipart-report [deleted file]
rt/lib/t/data/nested-mime-sample [deleted file]
rt/lib/t/data/nested-rfc-822 [deleted file]
rt/lib/t/data/new-ticket-from-iso-8859-1 [deleted file]
rt/lib/t/data/new-ticket-from-iso-8859-1-full [deleted file]
rt/lib/t/data/notes-uuencoded [deleted file]
rt/lib/t/data/rt-send-cc [deleted file]
rt/lib/t/data/russian-subject-no-content-type [deleted file]
rt/lib/t/data/text-html-in-russian [deleted file]
rt/lib/t/data/text-html-with-umlaut [deleted file]
rt/lib/t/regression/01ticket_link_searching.t [deleted file]
rt/lib/t/regression/02basic_web.t [deleted file]
rt/lib/t/regression/03web_compiliation_errors.t [deleted file]
rt/lib/t/regression/04send_email.t [deleted file]
rt/lib/t/regression/05cronsupport.t [deleted file]
rt/lib/t/regression/06mailgateway.t [deleted file]
rt/lib/t/regression/07acl.t [deleted file]
rt/lib/t/regression/07rights.t [deleted file]
rt/lib/t/regression/08web_cf_access.t [deleted file]
rt/lib/t/regression/09record_cf_api.t [deleted file]
rt/lib/t/regression/10merge.t [deleted file]
rt/lib/t/regression/11-template-insert.t [deleted file]
rt/lib/t/regression/12-search.t [deleted file]
rt/lib/t/regression/13-attribute-tests.t [deleted file]
rt/lib/t/regression/14merge.t [deleted file]
rt/lib/t/regression/15cf_single_values_are_single.t [deleted file]
rt/lib/t/regression/16-transaction_cf_tests.t [deleted file]
rt/lib/t/regression/17multiple_deleg_revocation.t [deleted file]
rt/lib/t/regression/18stale_delegations_cleanup.t [deleted file]
rt/lib/t/regression/19-rtname.t [deleted file]
rt/lib/t/regression/20savedsearch.t [deleted file]
rt/lib/t/regression/21query-builder.t [deleted file]
rt/lib/t/regression/22search_tix_by_txn.t [deleted file]
rt/lib/t/regression/mime_tests [deleted file]
rt/lib/t/setup_regression.t [deleted file]
rt/m4/rt_enable_layout.m4 [deleted file]
rt/m4/rt_expand_var.m4 [deleted file]
rt/m4/rt_layout.m4 [deleted file]
rt/m4/rt_subst_expanded_arg.m4 [deleted file]
rt/sbin/extract-message-catalog [deleted file]
rt/sbin/extract_pod_tests [deleted file]
rt/sbin/factory [deleted file]
rt/sbin/license_tag [deleted file]
rt/sbin/regression_harness [deleted file]
rt/sbin/rt-dump-database.in [deleted file]
rt/sbin/rt-setup-database.in [deleted file]
rt/sbin/rt-test-dependencies.in [deleted file]
test/cgi-test [deleted file]
test/dup-test [deleted file]

diff --git a/ANNOUNCE.1.5 b/ANNOUNCE.1.5
deleted file mode 100644 (file)
index 36c78e1..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-- broadband (dsl/wireless) tracking, etc etc
-- Extended description on invoice for time/data charges
-- Multiple, named taxes
-- */*FIX
-- extended reported and graphing
-- integrated RT ticketing system
-- one-time payments (in signup server too).  DCRD and DCHK on-demand payment types
-- credit report
-- reseller interface
-
-1.5.0pre6:
-- RADIUS session viewing
-- Major updates for reseller interface
-- Credit card and ACH refunds (w/supported processor module)
-- Proper email payment receipts (not invoice copies)
-- modular price plans, rewrote package add/edit page
-- fixed up tax report - should be correct for edge cases with named taxes,
-  tax classes, etc.
-- Documentation updates
-
-1.5.7:
-- version numbering change, now even/odd like Perl or Linux
-- fix bug that could cause mis-billing on upgrades! (new installs ok)
-- updated install documentation
-- historical late notice viewing in web interface
-- VoIP billing for CDRs from RADIUS
-- promotional codes for signup
-- lots of RT integration, integrated RT upgraded to 3.2.2, preliminary RT 
-  add-on docs
-- one-time referral credits
-- invoices now use history records (don't lose details)
-- option to credit for remaining service upon package cancel/change
-  (peter bowen)
-- one-time registration codes
-- "selfservice_server-session_module" config value can be set to
-  "Cache::FileCache" on FreeBSD or elsewhere IPC::ShareLite has trouble.
-- package changes don't re-charge setup fee
-- per-agent payment and credit reports
-- CSV and Excel export of most reports, others to be migrated to new report template
-- prepaid card support updated: now includes a web generator, agent-specific
-  prepaid cards, and creates *payments*, not credits
-- preliminary setup for Slony-1 PostgreSQL replication
-- reformatted latex invoice templates w/Text::Template (khoff) and removed
-  some useless fields (quantity/unit price)
-- simplified upgrade instructions
-- add export to vpopmail SQL
-- html invoices
-- big self-service updates (recharge w/prepaid card, change info, more)
-- significant freeside-daily speedup
-
-notyet (1.5.8?):
-- account merging UI in exports (for example, to consolidate passwd files from
-  multiple servers)
-
diff --git a/CREDITS b/CREDITS
deleted file mode 100644 (file)
index 930b4f3..0000000
--- a/CREDITS
+++ /dev/null
@@ -1,161 +0,0 @@
-Thanks to Matt Simerson <matt@michweb.net> of MichWeb Inc. for documentation
-and pre-release testing.  Without his help the documentation in 1.0.0
-release would have consisted of a single screenfull of text.
-(To clear up some misunderstanding, Matt did not write the current
-documentation.)
-
-Steve Cleff <cleff@yahoo.com> did the default background image in 1.0.x and
-is also the creator of Freeside's elusive mascot, Snakeman, who we hope will
-make an appearance in an upcoming version.
-
-Jerry St. Pierre <jstpi@city.timmins.on.ca> did the "SISD" graphic used in
-1.0.x and most of 1.1.x.
-
-Mark Norris of Urban Design, Inc. <http://www.urban.com/> did the red "S"
-logo for later 1.1.x versions until 1.4.1
-
-Brian McCane? <bmccane@maxbaud.net> contributed PostgreSQL support, HTML
-style enhancements and many, many bugfixes.
-
-Cerkit <cerkit@alfheim.net> contributed rsync support and desynced hosts.
-His changes will hopefully be included in an upcoming version.
-
-CompleteHOST, Inc. (http://www.completehost.com) funded the development of the
-following features:
-  - Multiple, separate databases and configurations on one box.
-  - Per-customer pricing (custom packages)
-  - Internationalization wrt addresses (cust_main, cust_main_county)
-Thanks!
-
-Mark Williamson <mark.williamson@ebbs.com.au> and Roger Mangraviti
-<rem@atu.com.au> contributed state/provence listings for Australia.
-
-Peter Wemm <peter@netplex.com.au> sent in a bunch of bugfixes for the 1.2
-release.
-
-Greg Kuhnert <gregk@no1.com.au> sent some documentation updates.
-
-Joel Griffiths <griff@aver-computer.com> contribued many bugfixes as well as
-the print-batch script.
-
-NetLoud <http://www.netloud.com/> funded the development of the following
-features:
-  - IEAK support for the signup server
-  - Pre-payment support
-
-NetAcces.Net (not netaccess.net) funded the development of the following
-features:
-  - DNS tracking and export to BIND configuration files
-  - Web site virtual host tracking and export to Apache configuration files
-
-Kristian Hoffmann <khoff@pc-intouch.com> contributed Netscape CCK
-autoconfiguration support for the signup server, lots of great mailing
-lists posts which I shamelessly made into documentation, fixes to get rid of
-the embarassing and non-database-normal "owed" field, and many other things
-I'm forgetting.  Most recently Kristian and Mark (last name?) contributed
-the IP address tracking and svc_broadband in 1.5.
-
-Jeff Finucane <jeff@cmh.net> send in a bunch of bugfixes (for the sendmail
-export, cancel-unaudited.cgi), patches to support billing date modification,
-and probably other things too (sorry if I forgot them).  And yet even more
-bug squashing, thanks!  *and* he single-handedly implemented all the necessary
-work to get rid of svc_acct_sm and the "default domain"  thanks!!  and rewrote
-the financials!  wow, thanks jeff!  and contributed financial reports!
-
-Kenny Elliott <kenny@neoserve.com> contributed ICRADIUS radreply table support,
-allowing attributes with ICRADIUS, helped fix many bugs, and some
-other stuff I can't recall (sorry).
-
-Stephen Amadei <amadei@dandy.net> contribued portability cleanups for the
-low-level DBI stuff.
-
-Jason Spence <thalakan@frys.com> contributed admin.html and other
-documentation, autocapnames javascript, bugfixes & other neat stuff I can't
-remember.
-
-Brad Dameron <bdameron@tscnet.com> contributed code to do configurable state
-and referral defaults.
-
-Surf and Sip, Inc., <http://www.surfandsip.com> sponsored a long-requested
-feature - the session monitor and time-based prepaid cards.
-Matt Peterson <matt@peterson.org> and Mack ? <mackn@mackn.net> tested
-the new features and contributed many bugfixes.
-
-Landel Telecom <http://www.landel.com/> sponsored shipping addresses and
-customer notes, as well as an update of the CP provisioning.
-
-nikotel, Inc. <http://www.nikojet.com> sponsored the inclusion of
-customer-to-customer referrals in the web interface and signup server.
-
-Three Bubba's Innanet <http://www.inna.net> sponsored expedited check entry,
-the "similar names warning" feature, and a number of other enhancements.
-
-Dave Burgess <burgess@neonramp.com> sent in a bunch of fixes and small changes
-and will doubtless send more once he's got his tree under control.
-
-Luke Pfeifer <freeside@globalli.com> contributed the "subscription" price plan.
-
-Noment Networks, LLC <http://www.noment.com/> sponsored ICRADIUS/FreeRADIUS
-groups, message catalogs, and signup server enhancements.
-
-Donald Greer <dgreer@austintx.com> provided the SQL to work around MySQL's lack
-of subqueries, and Dale Hege <fhege@lumenexus.net> provided the patches.
-Thanks!
-
-<baloo@gimpgirl.com> sent in several documentation patches.
-
-"Stephen Bechard" <steve@destek.net> sent in patches for svc_www services and
-other fixes.
-
-Charles A Beasley <cbeasley@noment.net> contributed quota editing for the
-Infostreet export.
-
-Richard Siddall <richard.siddall@elirion.net> sent in Mason fixes, fixed lots
-of typos, mod_perl 2.0 work, RPM packaging and other things I'm probably
-forgetting.
-
-Contains "JS Calendar" <http://dynarch.com/mishoo/calendar.epl>
-by Mihai Bazon <mishoo@infoiasi.ro> licensed under the terms of the GNU LGPL.
-
-Latex invoice template based on a template from eBills
-<http://ebills.sourceforge.net/> by Mark Asplen-Taylor <mark@asplen.co.uk>,
-licensed under the terms fo the GNU GPL.
-
-Contains "Request Tracker" <http://www.bestpractical.com/rt/> by Jesse
-Vincent <jesse@bestpractical.com> licensed under the terms of the GNU GPL.
-
-#not yet used...
-# Contains "SQL Ledger" <http://www.sql-ledger.com/> by DWS Systems Inc. and
-# contributors licensed under the terms of the GNU GPL.
-
-Peter Bowen <pbowen@aboutws.com> started the difficult modular price plans
-changes, added credit card encryption features, and other things I've
-probably overlooked.
-
-Rebecca Cardennis <http://www.shinza.org/> created the great new logo first
-released with 1.4.2beta1 and 1.5.0pre6.
-
-Troy Hammonds <troyh@netsignia.net> sent in RADIUS session history viewing,
-many bugfixes and other things I'm probably forgetting.
-
-Contains the QLIB JavaScript library <http://qlib.quazzle.com/> by 
-Quazzle.com, Serge Dolgov, licensed under the terms of the GNU GPL.
-
-Contains the overlibmws DHTML Popup Library <http://www.macridesweb.com/oltest/>
-by Foteos Macrides (derived from overLIB <http://www.bosrup.com/web/overlib/>
-by Erik Bosrup), licensed under the terms of the Artistic license
-<http://www.macridesweb.com/oltest/license.html>.
-
-Ricardo SIGNES <rjbs+freeside-devel@icgroup.com> has contributed a bunch of
-patches to clean up and refactor various stuff in the module layer.  Thanks!
-
-XMLHttpRequest implementation based on the SAJAX toolkit, licensed under the
-terms of the BSD license.
-(c) copyright 2005 modernmethod, inc
-Perl backend version (c) copyright 2005 Nathan Schmidt
-
-Scott Edwards <supadupa@gmail.com> contributed magic for XMLHTTP error
-handling, and other patches.
-
-Everything else is my (Ivan Kohler <ivan@420.am>) fault.
-
diff --git a/Changelog b/Changelog
deleted file mode 100644 (file)
index 36c78e1..0000000
--- a/Changelog
+++ /dev/null
@@ -1,54 +0,0 @@
-- broadband (dsl/wireless) tracking, etc etc
-- Extended description on invoice for time/data charges
-- Multiple, named taxes
-- */*FIX
-- extended reported and graphing
-- integrated RT ticketing system
-- one-time payments (in signup server too).  DCRD and DCHK on-demand payment types
-- credit report
-- reseller interface
-
-1.5.0pre6:
-- RADIUS session viewing
-- Major updates for reseller interface
-- Credit card and ACH refunds (w/supported processor module)
-- Proper email payment receipts (not invoice copies)
-- modular price plans, rewrote package add/edit page
-- fixed up tax report - should be correct for edge cases with named taxes,
-  tax classes, etc.
-- Documentation updates
-
-1.5.7:
-- version numbering change, now even/odd like Perl or Linux
-- fix bug that could cause mis-billing on upgrades! (new installs ok)
-- updated install documentation
-- historical late notice viewing in web interface
-- VoIP billing for CDRs from RADIUS
-- promotional codes for signup
-- lots of RT integration, integrated RT upgraded to 3.2.2, preliminary RT 
-  add-on docs
-- one-time referral credits
-- invoices now use history records (don't lose details)
-- option to credit for remaining service upon package cancel/change
-  (peter bowen)
-- one-time registration codes
-- "selfservice_server-session_module" config value can be set to
-  "Cache::FileCache" on FreeBSD or elsewhere IPC::ShareLite has trouble.
-- package changes don't re-charge setup fee
-- per-agent payment and credit reports
-- CSV and Excel export of most reports, others to be migrated to new report template
-- prepaid card support updated: now includes a web generator, agent-specific
-  prepaid cards, and creates *payments*, not credits
-- preliminary setup for Slony-1 PostgreSQL replication
-- reformatted latex invoice templates w/Text::Template (khoff) and removed
-  some useless fields (quantity/unit price)
-- simplified upgrade instructions
-- add export to vpopmail SQL
-- html invoices
-- big self-service updates (recharge w/prepaid card, change info, more)
-- significant freeside-daily speedup
-
-notyet (1.5.8?):
-- account merging UI in exports (for example, to consolidate passwd files from
-  multiple servers)
-
diff --git a/Changes.1.5.7 b/Changes.1.5.7
deleted file mode 100644 (file)
index 1407af6..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-Major new features and updates:
-- Version numbering has been simplified.  1.5.7 is the version after
-  1.5.0pre6.  It is still a development version - releases with odd numbered 
-  middle parts (NN in x.NN.x) are development versions, like Perl or Linux.
-- VoIP rating and billing for CDRs from RADIUS
-- Lots of additions to the RT integration, integrated RT upgraded to 3.2.2,
-  preliminary RT installation docs
-- Self-service updates (recharge w/prepaid card, change info, UI updates)
-
-Signup additions:
-- Prepaid card support updated: now includes a web generator and agent-specific
-  prepaid cards
-- Promotional codes and one-time registration codes for signup, with
-  agent-specific option
-
-Invoicing:
-- HTML formatting option for email invoices
-- Retypeset and reformatted latex invoice templates w/Text::Template
-  (thanks to Kristian Hoffman)
-- Option to credit a package for the prorated remaining service upon cancel
-  or change (thanks to Peter Bowen)
-- Web interface now includes ability to view all late notices as the customer
-  sees them
-
-Reporting:
-- Per-agent payment and credit reports
-- New report template used for most reports includs CSV and Excel export.
-  Remaining reports will shortly be migrated to the new template.
-
-Documentation updates:
-- Updated the install documentation
-- Simplified upgrade instructions
-
-Miscellaneous:
-- Added direct export to vpopmail SQL databases
-- Preliminary setup for Slony-1 PostgreSQL replication
-- "selfservice_server-session_module" config value can be set to
-  "Cache::FileCache" on FreeBSD or elsewhere IPC::ShareLite has trouble.
-
-Bugfixes and optimizations:
-- Significant freeside-daily speedup
-- Fix bug that could cause mis-billing on upgrades! (new installs ok)
-- Invoices now use history records to retain account details
-- Package changes don't re-charge setup fee
-
diff --git a/Changes.1.5.8 b/Changes.1.5.8
deleted file mode 100644 (file)
index ab35721..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-- move account search (httemplate/search/svc_acct.cgi) to new template
-- cust-fields configuration value to control which customer fields are shown on reports
-- add unlinked mail forward (svc_forward) report
-- move cust_pkg search (httemplate/search/cust_pkg.cgi) to new template
-- add active/suspended/cancelled customer packages to agent browse
-- add export to everyone.net outsource mail service
-- add native Radiator export
-- added agent/taxclass/card type-specific gateway overrides for people with
-  multiple payment gateways for different resellers, taxclasses and/or card
-  types
-- re-did billing section of customer edit and added maestro/switch/solo support
-- add cpanel export
-- added prepaid packages that set the RADIUS "Expiration" attribute and
-  auto-suspend on their next bill date
-- added banned card table and option to send customer cards there on cancel
-- moved to XMLHttpRequest instead of hidden iframe transport for progress bar,
-  should be more efficient and improve compatibility with Konq and maybe other
-  browsers?
-- also use XMLHttpRequest for retreiving states rather than send a huge page
-  for customer add/edit, much faster
-- redo account view and edit pages, add ability to edit uid/gid if conf options
-  for it are turned on
-- redo quick payment entry page with ajax magic
-- explicit payment types for cash and (optionally) western union
-- bulk svcpart change
-- tax report updated, per-agent option and most items now clickable
-- direct radiator export
-- added maximum "cap" options to RADIUS usage charges
diff --git a/FS/Changes b/FS/Changes
deleted file mode 100644 (file)
index c94ef10..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-Revision history for Perl extension FS.
-
-0.01  Wed Aug  4 00:13:45 1999
-       - original version; created by h2xs 1.19
-
diff --git a/FS/FS.pm b/FS/FS.pm
deleted file mode 100644 (file)
index f41245e..0000000
--- a/FS/FS.pm
+++ /dev/null
@@ -1,267 +0,0 @@
-package FS;
-
-use strict;
-use vars qw($VERSION);
-
-$VERSION = '%%%VERSION%%%';
-
-#find missing entries in this file with:
-# for a in `ls *pm | cut -d. -f1`; do grep 'L<FS::'$a'>' ../FS.pm >/dev/null || echo "missing $a" ; done
-
-1;
-__END__
-
-=head1 NAME
-
-FS - Freeside Perl modules
-
-=head1 SYNOPSIS
-
-Freeside perl modules and CLI utilities.
-
-=head2 Utility classes
-
-L<FS::Conf> - Freeside configuration values
-
-L<FS::ConfItem> - Freeside configuration option meta-data.
-
-L<FS::UID> - User class (not yet OO)
-
-L<FS::CGI> - Non OO-subroutines for the web interface.
-
-L<FS::Msgcat> - Message catalog
-
-L<FS::SearchCache> - Search cache
-
-L<FS::raddb> - RADIUS dictionary
-
-=head2 Database record classes
-
-L<FS::Record> - Database record base class
-
-L<FS::svc_acct_pop> - POP (Point of Presence, not Post
-Office Protocol) class
-
-L<FS::part_pop_local> - Local calling area class
-
-L<FS::part_referral> - Referral class
-
-L<FS::cust_main_county> - Locale (tax rate) class
-
-L<FS::cust_tax_exempt> - Tax exemption record class
-
-L<FS::svc_Common> - Service base class
-
-L<FS::svc_acct> - Account (shell, RADIUS, POP3) class
-
-L<FS::acct_snarf> - External mail account class
-
-L<FS::radius_usergroup> - RADIUS groups
-
-L<FS::svc_domain> - Domain class
-
-L<FS::domain_record> - DNS zone entries
-
-L<FS::svc_forward> - Mail forwarding class
-
-L<FS::svc_www> - Web virtual host class.
-
-L<FS::svc_broadband> - DSL, wireless and other broadband class.
-
-L<FS::svc_external> - Externally tracked service class.
-
-L<FS::part_svc> - Service definition class
-
-L<FS::part_svc_column> - Column constraint class
-
-L<FS::export_svc> - Class linking service definitions (see L<FS::part_svc>)
-with exports (see L<FS::part_export>)
-
-L<FS::part_export> - External provisioning export class
-
-L<FS::part_export_option> - Export option class
-
-L<FS::part_pkg> - Package definition class
-
-L<FS::part_pkg_option> - Package definition option class
-
-L<FS::pkg_svc> - Class linking package definitions (see L<FS::part_pkg>) with
-service definitions (see L<FS::part_svc>)
-
-L<FS::reg_code> - One-time registration codes
-
-L<FS::reg_code_pkg> - Class linking registration codes (see L<FS::reg_code>) with package definitions (see L<FS::part_pkg>)
-
-L<FS::rate> - Rate plans for call billing
-
-L<FS::rate_region> - Rate regions for call billing
-
-L<FS::rate_prefix> - Rate region prefixes for call billing
-
-L<FS::rate_detail> - Rate plan detail for call billing
-
-L<FS::agent> - Agent (reseller) class
-
-L<FS::agent_type> - Agent type class
-
-L<FS::type_pkgs> - Class linking agent types (see L<FS::agent_type>) with
-package definitions (see L<FS::part_pkg>)
-
-L<FS::cust_svc> - Service class
-
-L<FS::cust_pkg> - Customer package class
-
-L<FS::cust_main> - Customer class
-
-L<FS::cust_main_invoice> - Invoice destination
-class
-
-L<FS::cust_bill> - Invoice class
-
-L<FS::cust_bill_pkg> - Invoice line item class
-
-L<FS::cust_bill_pkg_detail> - Invoice line item detail class
-
-L<FS::part_bill_event> - Invoice event definition class
-
-L<FS::cust_bill_event> - Completed invoice event class
-
-L<FS::cust_pay> - Payment class
-
-L<FS::cust_pay_void> - Voided payment class
-
-L<FS::cust_bill_pay> - Payment application class
-
-L<FS::cust_credit> - Credit class
-
-L<FS::cust_refund> - Refund class
-
-L<FS::cust_credit_refund> - Refund application to credit class
-
-L<FS::cust_credit_bill> - Credit application to invoice class
-
-L<FS::cust_pay_refund> - Refund application to payment class
-
-L<FS::cust_pay_batch> - Credit card transaction queue class
-
-L<FS::prepay_credit> - Prepaid "calling card" credit class.
-
-L<FS::nas> - Network Access Server class
-
-L<FS::port> - NAS port class
-
-L<FS::session> - User login session class
-
-L<FS::queue> - Job queue
-
-L<FS::queue_arg> - Job arguments
-
-L<FS::queue_depend> - Job dependencies
-
-L<FS::msgcat> - Message catalogs
-
-L<FS::clientapi_session>
-
-L<FS::clientapi_session_field>
-
-=head1 Client API
-
-L<FS::ClientAPI>
-
-L<FS::ClientAPI_SessionCache>
-
-L<FS::ClientAPI::Signup>
-
-L<FS::ClientAPI::passwd>
-
-L<FS::ClientAPI::MyAccount>
-
-L<FS::ClientAPI::Agent>
-
-=head1 Remote API modules
-
-L<FS::SelfService>
-
-L<FS::SignupClient>
-
-L<FS::SessionClient>
-
-L<FS::MailAdminServer> (deprecated in favor of the self-service server)
-
-=head2 Command-line utilities
-
-L<freeside-adduser>
-
-L<freeside-queued>
-
-L<freeside-daily>
-
-L<freeside-expiration-alerter>
-
-L<freeside-email>
-
-L<freeside-cc-receipts-report>
-
-L<freeside-credit-report>
-
-L<freeside-receivables-report>
-
-L<freeside-tax-report>
-
-L<freeside-bill>
-
-L<freeside-overdue>
-
-=head2 User Interface classes
-
-L<FS::UI::Web> - Web user-interface class
-
-=head2 Notes
-
-To quote perl(1), "If you're intending to read these straight through for the
-first time, the suggested order will tend to reduce the number of forward
-references."
-
-If you've never used OO modules before,
-http://www.perl.com/doc/FMTEYEWTK/easy_objects.html might help you out.
-
-=head1 DESCRIPTION
-
-Freeside is a billing and administration package for Internet Service
-Providers.
-
-The Freeside home page is at <http://www.sisd.com/freeside>.
-
-The main documentation is in httemplate/docs.
-
-=head1 SUPPORT
-
-A mailing list for users is available.  Send a blank message to
-<freeside-users-subscribe@sisd.com> to subscribe.
-
-A mailing list for developers is available.  It is intended to be lower volume
-and higher SNR than the users list.  Send a blank message to
-<freeside-devel-subscribe@sisd.com> to subscribe.
-
-Commercial support is available; see
-<http://www.sisd.com/freeside/commercial.html>.
-
-=head1 AUTHOR
-
-Primarily Ivan Kohler <ivan@sisd.com>, with help from many kind folks.
-
-See the CREDITS file in the Freeside distribution for a (hopefully) complete
-list and the individal files for details.
-
-=head1 SEE ALSO
-
-perl(1), main Freeside documentation in htdocs/docs/
-
-=head1 BUGS
-
-Those modules which would be useful separately should be pulled out, 
-renamed appropriately and uploaded to CPAN.  So far: DBIx::DBSchema, Net::SSH
-and Net::SCP...
-
-=cut
-
diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm
deleted file mode 100644 (file)
index 9dc635a..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-package FS::CGI;
-
-use strict;
-use vars qw(@EXPORT_OK @ISA);
-use Exporter;
-use CGI;
-use URI::URL;
-#use CGI::Carp qw(fatalsToBrowser);
-use FS::UID;
-
-@ISA = qw(Exporter);
-@EXPORT_OK = qw(header menubar idiot eidiot popurl table itable ntable
-                small_custview myexit http_header);
-
-=head1 NAME
-
-FS::CGI - Subroutines for the web interface
-
-=head1 SYNOPSIS
-
-  use FS::CGI qw(header menubar idiot eidiot popurl);
-
-  print header( 'Title', '' );
-  print header( 'Title', menubar('item', 'URL', ... ) );
-
-  idiot "error message"; 
-  eidiot "error message";
-
-  $url = popurl; #returns current url
-  $url = popurl(3); #three levels up
-
-=head1 DESCRIPTION
-
-Provides a few common subroutines for the web interface.
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item header TITLE, MENUBAR
-
-Returns an HTML header.
-
-=cut
-
-sub header {
-  use Carp;
-  carp 'FS::CGI::header deprecated; include /elements/header.html instead';
-
-  my($title,$menubar,$etc)=@_; #$etc is for things like onLoad= etc.
-  $etc = '' unless defined $etc;
-
-  my $x =  <<END;
-    <HTML>
-      <HEAD>
-        <TITLE>
-          $title
-        </TITLE>
-        <META HTTP-Equiv="Cache-Control" Content="no-cache">
-        <META HTTP-Equiv="Pragma" Content="no-cache">
-        <META HTTP-Equiv="Expires" Content="0"> 
-      </HEAD>
-      <BODY BGCOLOR="#e8e8e8"$etc>
-          <FONT SIZE=6>
-            $title
-          </FONT>
-          <BR><BR>
-END
-  $x .=  $menubar. "<BR><BR>" if $menubar;
-  $x;
-}
-
-=item http_header
-
-Sets an http header.
-
-=cut
-
-sub http_header {
-  my ( $header, $value ) = @_;
-  if (exists $ENV{MOD_PERL}) {
-    if ( defined $main::Response
-         && $main::Response->isa('Apache::ASP::Response') ) {  #Apache::ASP
-      if ( $header =~ /^Content-Type$/ ) {
-        $main::Response->{ContentType} = $value;
-      } else {
-        $main::Response->AddHeader( $header => $value );
-      }
-    } elsif ( defined $HTML::Mason::Commands::r  ) { #Mason
-      ## is this the correct pacakge for $r ???  for 1.0x and 1.1x ?
-      if ( $header =~ /^Content-Type$/ ) {
-        $HTML::Mason::Commands::r->content_type($value);
-      } else {
-        $HTML::Mason::Commands::r->header_out( $header => $value );
-      }
-    } else {
-      die "http_header called in unknown environment";
-    }
-  } else {
-    die "http_header called not running under mod_perl";
-  }
-
-}
-
-=item menubar ITEM, URL, ...
-
-Returns an HTML menubar.
-
-=cut
-
-sub menubar { #$menubar=menubar('Main Menu', '../', 'Item', 'url', ... );
-  use Carp;
-  carp 'FS::CGI::menubar deprecated; include /elements/menubar.html instead';
-
-  my($item,$url,@html);
-  while (@_) {
-    ($item,$url)=splice(@_,0,2);
-    push @html, qq!<A HREF="$url">$item</A>!;
-  }
-  join(' | ',@html);
-}
-
-=item idiot ERROR
-
-This is depriciated.  Don't use it.
-
-Sends an HTML error message.
-
-=cut
-
-sub idiot {
-  #warn "idiot depriciated";
-  my($error)=@_;
-#  my $cgi = &FS::UID::cgi();
-#  if ( $cgi->isa('CGI::Base') ) {
-#    no strict 'subs';
-#    &CGI::Base::SendHeaders;
-#  } else {
-#    print $cgi->header( @FS::CGI::header );
-#  }
-  print <<END;
-<HTML>
-  <HEAD>
-    <TITLE>Error processing your request</TITLE>
-    <META HTTP-Equiv="Cache-Control" Content="no-cache">
-    <META HTTP-Equiv="Pragma" Content="no-cache">
-    <META HTTP-Equiv="Expires" Content="0"> 
-  </HEAD>
-  <BODY>
-    <CENTER>
-    <H4>Error processing your request</H4>
-    </CENTER>
-    Your request could not be processed because of the following error:
-    <P><B>$error</B>
-  </BODY>
-</HTML>
-END
-
-}
-
-=item eidiot ERROR
-
-This is depriciated.  Don't use it.
-
-Sends an HTML error message, then exits.
-
-=cut
-
-sub eidiot {
-  warn "eidiot depriciated";
-  $HTML::Mason::Commands::r->send_http_header
-    if defined $HTML::Mason::Commands::r;
-  idiot(@_);
-  &myexit();
-}
-
-=item myexit
-
-You probably shouldn't use this; but if you must:
-
-If running under mod_perl, calles Apache::exit, otherwise, calls exit.
-
-=cut
-
-sub myexit {
-  if (exists $ENV{MOD_PERL}) {
-
-    if ( defined $main::Response
-         && $main::Response->isa('Apache::ASP::Response') ) {  #Apache::ASP
-      $main::Response->End();
-      require Apache;
-      Apache::exit();
-    } elsif ( defined $HTML::Mason::Commands::m  ) { #Mason
-      #$HTML::Mason::Commands::m->flush_buffer();
-      $HTML::Mason::Commands::m->abort();
-      die "shouldn't fall through to here (mason \$m->abort didn't)";
-    } else {
-      #??? well, it is $ENV{MOD_PERL}
-      warn "running under unknown mod_perl environment; trying Apache::exit()";
-      require Apache;
-      Apache::exit();
-    }
-  } else {
-    exit;
-  }
-}
-
-=item popurl LEVEL
-
-Returns current URL with LEVEL levels of path removed from the end (default 0).
-
-=cut
-
-sub popurl {
-  my($up)=@_;
-  my $cgi = &FS::UID::cgi;
-  my $url_string = $cgi->isa('Apache') ? $cgi->uri : $cgi->url;
-  $url_string =~ s/\?.*//;
-  my $url = new URI::URL ( $url_string );
-  my(@path)=$url->path_components;
-  splice @path, 0-$up;
-  $url->path_components(@path);
-  my $x = $url->as_string;
-  $x .= '/' unless $x =~ /\/$/;
-  $x;
-}
-
-=item table
-
-Returns HTML tag for beginning a table.
-
-=cut
-
-sub table {
-  use Carp;
-  carp 'FS::CGI::table deprecated; include /elements/table.html instead';
-
-  my $col = shift;
-  if ( $col ) {
-    qq!<TABLE BGCOLOR="$col" BORDER=1 WIDTH="100%" CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">!;
-  } else { 
-    '<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">';
-  }
-}
-
-=item itable
-
-Returns HTML tag for beginning an (invisible) table.
-
-=cut
-
-sub itable {
-  my $col = shift;
-  my $cellspacing = shift || 0;
-  my $width = ( scalar(@_) && shift ) ? '' : 'WIDTH="100%"';  #bah
-  if ( $col ) {
-    qq!<TABLE BGCOLOR="$col" BORDER=0 CELLSPACING=$cellspacing $width>!;
-  } else {
-    qq!<TABLE BORDER=0 CELLSPACING=$cellspacing $width>!;
-  }
-}
-
-=item ntable
-
-This is getting silly.
-
-=cut
-
-sub ntable {
-  my $col = shift;
-  my $cellspacing = shift || 0;
-  if ( $col ) {
-    qq!<TABLE BGCOLOR="$col" BORDER=0 CELLSPACING=$cellspacing>!;
-  } else {
-    '<TABLE BORDER CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">';
-  }
-
-}
-
-=item small_custview CUSTNUM || CUST_MAIN_OBJECT, COUNTRYDEFAULT, NOBALANCE_FLAG
-
-Sheesh. I should just switch to Mason.
-
-=cut
-
-sub small_custview {
-  use FS::Record qw(qsearchs);
-  use FS::cust_main;
-
-  my $arg = shift;
-  my $countrydefault = shift || 'US';
-  my $nobalance = shift;
-
-  my $cust_main = ref($arg) ? $arg
-                  : qsearchs('cust_main', { 'custnum' => $arg } )
-    or die "unknown custnum $arg";
-
-  my $html = 'Customer #<B>'. $cust_main->custnum. '</B></A>'.
-    ' - <B><FONT COLOR="'. $cust_main->statuscolor. '">'.
-    ucfirst($cust_main->status). '</FONT></B>'.
-    ntable('#e8e8e8'). '<TR><TD VALIGN="top">'. ntable("#cccccc",2).
-    '<TR><TD ALIGN="right" VALIGN="top">Billing<BR>Address</TD><TD BGCOLOR="#ffffff">'.
-    $cust_main->getfield('last'). ', '. $cust_main->first. '<BR>';
-
-  $html .= $cust_main->company. '<BR>' if $cust_main->company;
-  $html .= $cust_main->address1. '<BR>';
-  $html .= $cust_main->address2. '<BR>' if $cust_main->address2;
-  $html .= $cust_main->city. ', '. $cust_main->state. '  '. $cust_main->zip. '<BR>';
-  $html .= $cust_main->country. '<BR>'
-    if $cust_main->country && $cust_main->country ne $countrydefault;
-
-  $html .= '</TD></TR><TR><TD></TD><TD BGCOLOR="#ffffff">';
-  if ( $cust_main->daytime && $cust_main->night ) {
-    use FS::Msgcat;
-    $html .= ( FS::Msgcat::_gettext('daytime') || 'Day' ).
-             ' '. $cust_main->daytime.
-             '<BR>'. ( FS::Msgcat::_gettext('night') || 'Night' ).
-             ' '. $cust_main->night;
-  } elsif ( $cust_main->daytime || $cust_main->night ) {
-    $html .= $cust_main->daytime || $cust_main->night;
-  }
-  if ( $cust_main->fax ) {
-    $html .= '<BR>Fax '. $cust_main->fax;
-  }
-
-  $html .= '</TD></TR></TABLE></TD>';
-
-  if ( defined $cust_main->dbdef_table->column('ship_last') ) {
-
-    my $pre = $cust_main->ship_last ? 'ship_' : '';
-
-    $html .= '<TD VALIGN="top">'. ntable("#cccccc",2).
-      '<TR><TD ALIGN="right" VALIGN="top">Service<BR>Address</TD><TD BGCOLOR="#ffffff">'.
-      $cust_main->get("${pre}last"). ', '.
-      $cust_main->get("${pre}first"). '<BR>';
-    $html .= $cust_main->get("${pre}company"). '<BR>'
-      if $cust_main->get("${pre}company");
-    $html .= $cust_main->get("${pre}address1"). '<BR>';
-    $html .= $cust_main->get("${pre}address2"). '<BR>'
-      if $cust_main->get("${pre}address2");
-    $html .= $cust_main->get("${pre}city"). ', '.
-             $cust_main->get("${pre}state"). '  '.
-             $cust_main->get("${pre}ship_zip"). '<BR>';
-    $html .= $cust_main->get("${pre}country"). '<BR>'
-      if $cust_main->get("${pre}country")
-         && $cust_main->get("${pre}country") ne $countrydefault;
-
-    $html .= '</TD></TR><TR><TD></TD><TD BGCOLOR="#ffffff">';
-
-    if ( $cust_main->get("${pre}daytime") && $cust_main->get("${pre}night") ) {
-      use FS::Msgcat;
-      $html .= ( FS::Msgcat::_gettext('daytime') || 'Day' ).
-               ' '. $cust_main->get("${pre}daytime").
-               '<BR>'. ( FS::Msgcat::_gettext('night') || 'Night' ).
-               ' '. $cust_main->get("${pre}night");
-    } elsif ( $cust_main->get("${pre}daytime")
-              || $cust_main->get("${pre}night") ) {
-      $html .= $cust_main->get("${pre}daytime")
-               || $cust_main->get("${pre}night");
-    }
-    if ( $cust_main->get("${pre}fax") ) {
-      $html .= '<BR>Fax '. $cust_main->get("${pre}fax");
-    }
-
-    $html .= '</TD></TR></TABLE></TD>';
-  }
-
-  $html .= '</TR></TABLE>';
-
-  $html .= '<BR>Balance: <B>$'. $cust_main->balance. '</B><BR>'
-    unless $nobalance;
-
-  # last payment might be good here too?
-
-  $html;
-}
-
-=back
-
-=head1 BUGS
-
-Not OO.
-
-Not complete.
-
-small_custview sooooo doesn't belong here.  i should just switch to Mason.
-
-=head1 SEE ALSO
-
-L<CGI>, L<CGI::Base>
-
-=cut
-
-1;
-
-
diff --git a/FS/FS/ClientAPI.pm b/FS/FS/ClientAPI.pm
deleted file mode 100644 (file)
index 902f58b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package FS::ClientAPI;
-
-use strict;
-use vars qw(%handler $domain $DEBUG);
-
-$DEBUG = 0;
-
-%handler = ();
-
-#find modules
-foreach my $INC ( @INC ) {
-  my $glob = "$INC/FS/ClientAPI/*.pm";
-  warn "FS::ClientAPI: searching $glob" if $DEBUG;
-  foreach my $file ( glob($glob) ) {
-    $file =~ /\/(\w+)\.pm$/ or do {
-      warn "unrecognized ClientAPI file: $file";
-      next
-    };
-    my $mod = $1;
-    warn "using FS::ClientAPI::$mod" if $DEBUG;
-    eval "use FS::ClientAPI::$mod;";
-    die "error using FS::ClientAPI::$mod: $@" if $@;
-  }
-}
-
-#---
-
-sub dispatch {
-  my ( $self, $name ) = ( shift, shift );
-  $name =~ s(/)(::)g;
-  my $sub = "FS::ClientAPI::$name";
-  no strict 'refs';
-  &{$sub}(@_);
-}
-
-1;
-
diff --git a/FS/FS/ClientAPI/Agent.pm b/FS/FS/ClientAPI/Agent.pm
deleted file mode 100644 (file)
index daede59..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-package FS::ClientAPI::Agent;
-
-#some false laziness w/MyAccount
-
-use strict;
-use vars qw($cache);
-use subs qw(_cache);
-use Digest::MD5 qw(md5_hex);
-use FS::Record qw(qsearchs); # qsearch dbdef dbh);
-use FS::ClientAPI_SessionCache;
-use FS::agent;
-use FS::cust_main qw(smart_search);
-
-sub _cache {
-  $cache ||= new FS::ClientAPI_SessionCache( {
-               'namespace' => 'FS::ClientAPI::Agent',
-             } );
-}
-
-sub agent_login {
-  my $p = shift;
-
-  #don't allow a blank login to first unconfigured agent with no user/pass
-  return { error => 'Must specify your reseller username and password.' }
-    unless length($p->{'username'}) && length($p->{'password'});
-
-  my $agent = qsearchs( 'agent', {
-    'username'  => $p->{'username'},
-    '_password' => $p->{'password'},
-  } );
-
-  unless ( $agent ) { return { error => 'Incorrect password.' } }
-
-  my $session = { 
-    'agentnum' => $agent->agentnum,
-    'agent'    => $agent->agent,
-  };
-
-  my $session_id;
-  do {
-    $session_id = md5_hex(md5_hex(time(). {}. rand(). $$))
-  } until ( ! defined _cache->get($session_id) ); #just in case
-
-  _cache->set( $session_id, $session, '1 hour' );
-
-  { 'error'      => '',
-    'session_id' => $session_id,
-  };
-}
-
-sub agent_logout {
-  my $p = shift;
-  if ( $p->{'session_id'} ) {
-    _cache->remove($p->{'session_id'});
-    return { 'error' => '' };
-  } else {
-    return { 'error' => "Can't resume session" }; #better error message
-  }
-}
-
-sub agent_info {
-  my $p = shift;
-
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  #my %return;
-
-  my $agentnum = $session->{'agentnum'};
-
-  my $agent = qsearchs( 'agent', { 'agentnum' => $agentnum } )
-    or return { 'error' => "unknown agentnum $agentnum" };
-
-  { 'error'        => '',
-    'agentnum'     => $agentnum,
-    'agent'        => $agent->agent,
-    'num_prospect' => $agent->num_prospect_cust_main,
-    'num_active'   => $agent->num_active_cust_main,
-    'num_susp'     => $agent->num_susp_cust_main,
-    'num_cancel'   => $agent->num_cancel_cust_main,
-    #%return,
-  };
-
-}
-
-sub agent_list_customers {
-  my $p = shift;
-
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  #my %return;
-
-  my $agentnum = $session->{'agentnum'};
-
-  my $agent = qsearchs( 'agent', { 'agentnum' => $agentnum } )
-    or return { 'error' => "unknown agentnum $agentnum" };
-
-  my @cust_main = smart_search( 'search'   => $p->{'search'},
-                                'agentnum' => $agentnum,
-                              );
-
-  #aggregate searches
-  push @cust_main,
-    map $agent->$_(), map $_.'_cust_main',
-      grep $p->{$_}, qw( prospect active susp cancel );
-
-  #eliminate dups?
-  my %saw = ();
-  @cust_main = grep { !$saw{$_->custnum}++ } @cust_main;
-
-  { customers => [ map {
-                         my $cust_main = $_;
-                         my $hashref = $cust_main->hashref;
-                         $hashref->{$_} = $cust_main->$_()
-                           foreach qw(name status statuscolor);
-                         delete $hashref->{$_} foreach qw( payinfo paycvv );
-                         $hashref;
-                   } @cust_main
-                 ],
-  }
-
-}
-
-1;
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
deleted file mode 100644 (file)
index 4b67f53..0000000
+++ /dev/null
@@ -1,807 +0,0 @@
-package FS::ClientAPI::MyAccount;
-
-use strict;
-use vars qw($cache);
-use subs qw(_cache);
-use Digest::MD5 qw(md5_hex);
-use Date::Format;
-use Business::CreditCard;
-use Time::Duration;
-use FS::CGI qw(small_custview); #doh
-use FS::Conf;
-use FS::Record qw(qsearch qsearchs);
-use FS::Msgcat qw(gettext);
-use FS::ClientAPI_SessionCache;
-use FS::svc_acct;
-use FS::svc_domain;
-use FS::svc_external;
-use FS::part_svc;
-use FS::cust_main;
-use FS::cust_bill;
-use FS::cust_main_county;
-use FS::cust_pkg;
-
-use vars qw( @cust_main_editable_fields );
-@cust_main_editable_fields = qw(
-  first last company address1 address2 city
-    county state zip country daytime night fax
-  ship_first ship_last ship_company ship_address1 ship_address2 ship_city
-    ship_state ship_zip ship_country ship_daytime ship_night ship_fax
-  payby payinfo payname paystart_month paystart_year payissue payip
-);
-
-use subs qw(_provision);
-
-sub _cache {
-  $cache ||= new FS::ClientAPI_SessionCache( {
-               'namespace' => 'FS::ClientAPI::MyAccount',
-             } );
-}
-
-#false laziness w/FS::ClientAPI::passwd::passwd
-sub login {
-  my $p = shift;
-
-  my $svc_domain = qsearchs('svc_domain', { 'domain' => $p->{'domain'} } )
-    or return { error => 'Domain '. $p->{'domain'}. ' not found' };
-
-  my $svc_acct = qsearchs( 'svc_acct', { 'username'  => $p->{'username'},
-                                         'domsvc'    => $svc_domain->svcnum, }
-                         );
-  return { error => 'User not found.' } unless $svc_acct;
-
-  my $conf = new FS::Conf;
-  my $pkg_svc = $svc_acct->cust_svc->pkg_svc;
-  return { error => 'Only primary user may log in.' } 
-    if $conf->exists('selfservice_server-primary_only')
-       && ( ! $pkg_svc || $pkg_svc->primary_svc ne 'Y' );
-
-  return { error => 'Incorrect password.' }
-    unless $svc_acct->check_password($p->{'password'});
-
-  my $session = {
-    'svcnum' => $svc_acct->svcnum,
-  };
-
-  my $cust_pkg = $svc_acct->cust_svc->cust_pkg;
-  if ( $cust_pkg ) {
-    my $cust_main = $cust_pkg->cust_main;
-    $session->{'custnum'} = $cust_main->custnum;
-  }
-
-  my $session_id;
-  do {
-    $session_id = md5_hex(md5_hex(time(). {}. rand(). $$))
-  } until ( ! defined _cache->get($session_id) ); #just in case
-
-  _cache->set( $session_id, $session, '1 hour' );
-
-  return { 'error'      => '',
-           'session_id' => $session_id,
-         };
-}
-
-sub logout {
-  my $p = shift;
-  if ( $p->{'session_id'} ) {
-    _cache->remove($p->{'session_id'});
-    return { 'error' => '' };
-  } else {
-    return { 'error' => "Can't resume session" }; #better error message
-  }
-}
-
-sub customer_info {
-  my $p = shift;
-
-  my($context, $session, $custnum) = _custoragent_session_custnum($p);
-  return { 'error' => $session } if $context eq 'error';
-
-  my %return;
-  if ( $custnum ) { #customer record
-
-    my $search = { 'custnum' => $custnum };
-    $search->{'agentnum'} = $session->{'agentnum'} if $context eq 'agent';
-    my $cust_main = qsearchs('cust_main', $search )
-      or return { 'error' => "unknown custnum $custnum" };
-
-    $return{balance} = $cust_main->balance;
-
-    my @open = map {
-                     {
-                       invnum => $_->invnum,
-                       date   => time2str("%b %o, %Y", $_->_date),
-                       owed   => $_->owed,
-                     };
-                   } $cust_main->open_cust_bill;
-    $return{open_invoices} = \@open;
-
-    my $conf = new FS::Conf;
-    $return{small_custview} =
-      small_custview( $cust_main, $conf->config('countrydefault') );
-
-    $return{name} = $cust_main->first. ' '. $cust_main->get('last');
-
-    for (@cust_main_editable_fields) {
-      $return{$_} = $cust_main->get($_);
-    }
-
-    if ( $cust_main->payby =~ /^(CARD|DCRD)$/ ) {
-      $return{payinfo} = $cust_main->payinfo_masked;
-      @return{'month', 'year'} = $cust_main->paydate_monthyear;
-    }
-
-    $return{'invoicing_list'} =
-      join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list );
-    $return{'postal_invoicing'} =
-      0 < ( grep { $_ eq 'POST' } $cust_main->invoicing_list );
-
-  } elsif ( $session->{'svcnum'} ) { #no customer record
-
-    my $svc_acct = qsearchs('svc_acct', { 'svcnum' => $session->{'svcnum'} } )
-      or die "unknown svcnum";
-    $return{name} = $svc_acct->email;
-
-  } else {
-
-    return { 'error' => 'Expired session' }; #XXX redirect to login w/this err!
-
-  }
-
-  return { 'error'          => '',
-           'custnum'        => $custnum,
-           %return,
-         };
-
-}
-
-sub edit_info {
-  my $p = shift;
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  my $custnum = $session->{'custnum'}
-    or return { 'error' => "no customer record" };
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my $new = new FS::cust_main { $cust_main->hash };
-  $new->set( $_ => $p->{$_} )
-    foreach grep { exists $p->{$_} } @cust_main_editable_fields;
-
-  if ( $p->{'payby'} =~ /^(CARD|DCRD)$/ ) {
-    $new->paydate($p->{'year'}. '-'. $p->{'month'}. '-01');
-    if ( $new->payinfo eq $cust_main->payinfo_masked ) {
-      $new->payinfo($cust_main->payinfo);
-    } else {
-      $new->paycvv($p->{'paycvv'});
-    }
-  }
-
-  my @invoicing_list;
-  if ( exists $p->{'invoicing_list'} || exists $p->{'postal_invoicing'} ) {
-    #false laziness with httemplate/edit/process/cust_main.cgi
-    @invoicing_list = split( /\s*\,\s*/, $p->{'invoicing_list'} );
-    push @invoicing_list, 'POST' if $p->{'postal_invoicing'};
-  } else {
-    @invoicing_list = $cust_main->invoicing_list;
-  }
-
-  my $error = $new->replace($cust_main, \@invoicing_list);
-  return { 'error' => $error } if $error;
-  #$cust_main = $new;
-  
-  return { 'error' => '' };
-}
-
-sub payment_info {
-  my $p = shift;
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  ##
-  #generic
-  ##
-
-  my $conf = new FS::Conf;
-  my %states = map { $_->state => 1 }
-                 qsearch('cust_main_county', {
-                   'country' => $conf->config('countrydefault') || 'US'
-                 } );
-
-  use vars qw($payment_info); #cache for performance
-  $payment_info ||= {
-
-    #list all counties/states/countries
-    'cust_main_county' => 
-      [ map { $_->hashref } qsearch('cust_main_county', {}) ],
-
-    #shortcut for one-country folks
-    'states' =>
-      [ sort { $a cmp $b } keys %states ],
-
-    'card_types' => {
-      'VISA' => 'VISA card',
-      'MasterCard' => 'MasterCard',
-      'Discover' => 'Discover card',
-      'American Express' => 'American Express card',
-      'Switch' => 'Switch',
-      'Solo' => 'Solo',
-    },
-
-  };
-
-  ##
-  #customer-specific
-  ##
-
-  my %return = %$payment_info;
-
-  my $custnum = $session->{'custnum'};
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  $return{balance} = $cust_main->balance;
-
-  $return{payname} = $cust_main->payname
-                     || ( $cust_main->first. ' '. $cust_main->get('last') );
-
-  $return{$_} = $cust_main->get($_) for qw(address1 address2 city state zip);
-
-  $return{payby} = $cust_main->payby;
-
-  if ( $cust_main->payby =~ /^(CARD|DCRD)$/ ) {
-    #warn $return{card_type} = cardtype($cust_main->payinfo);
-    $return{payinfo} = $cust_main->payinfo;
-
-    @return{'month', 'year'} = $cust_main->paydate_monthyear;
-
-  }
-
-  #doubleclick protection
-  my $_date = time;
-  $return{paybatch} = "webui-MyAccount-$_date-$$-". rand() * 2**32;
-
-  return { 'error' => '',
-           %return,
-         };
-
-};
-
-#some false laziness with httemplate/process/payment.cgi - look there for
-#ACH and CVV support stuff
-sub process_payment {
-
-  my $p = shift;
-
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  my %return;
-
-  my $custnum = $session->{'custnum'};
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  $p->{'payname'} =~ /^([\w \,\.\-\']+)$/
-    or return { 'error' => gettext('illegal_name'). " payname: ". $p->{'payname'} };
-  my $payname = $1;
-
-  $p->{'paybatch'} =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]*)$/
-    or return { 'error' => gettext('illegal_text'). " paybatch: ". $p->{'paybatch'} };
-  my $paybatch = $1;
-
-  my $payinfo;
-  my $paycvv = '';
-  #if ( $payby eq 'CHEK' ) {
-  #
-  #  $p->{'payinfo1'} =~ /^(\d+)$/
-  #    or return { 'error' => "illegal account number ". $p->{'payinfo1'} };
-  #  my $payinfo1 = $1;
-  #   $p->{'payinfo2'} =~ /^(\d+)$/
-  #    or return { 'error' => "illegal ABA/routing number ". $p->{'payinfo2'} };
-  #  my $payinfo2 = $1;
-  #  $payinfo = $payinfo1. '@'. $payinfo2;
-  # 
-  #} elsif ( $payby eq 'CARD' ) {
-   
-    $payinfo = $p->{'payinfo'};
-    $payinfo =~ s/\D//g;
-    $payinfo =~ /^(\d{13,16})$/
-      or return { 'error' => gettext('invalid_card') }; # . ": ". $self->payinfo
-    $payinfo = $1;
-    validate($payinfo)
-      or return { 'error' => gettext('invalid_card') }; # . ": ". $self->payinfo
-    return { 'error' => gettext('unknown_card_type') }
-      if cardtype($payinfo) eq "Unknown";
-
-    if ( defined $cust_main->dbdef_table->column('paycvv') ) {
-      if ( length($p->{'paycvv'} ) ) {
-        if ( cardtype($payinfo) eq 'American Express card' ) {
-          $p->{'paycvv'} =~ /^(\d{4})$/
-            or return { 'error' => "CVV2 (CID) for American Express cards is four digits." };
-          $paycvv = $1;
-        } else {
-          $p->{'paycvv'} =~ /^(\d{3})$/
-            or return { 'error' => "CVV2 (CVC2/CID) is three digits." };
-          $paycvv = $1;
-        }
-      }
-    }
-  
-  #} else {
-  #  die "unknown payby $payby";
-  #}
-
-  my $error = $cust_main->realtime_bop( 'CC', $p->{'amount'},
-    'quiet'    => 1,
-    'payinfo'  => $payinfo,
-    'paydate'  => $p->{'year'}. '-'. $p->{'month'}. '-01',
-    'payname'  => $payname,
-    'paybatch' => $paybatch,
-    'paycvv'   => $paycvv,
-    map { $_ => $p->{$_} } qw( paystart_month paystart_year payissue payip
-                               address1 address2 city state zip )
-  );
-  return { 'error' => $error } if $error;
-
-  $cust_main->apply_payments;
-
-  if ( $p->{'save'} ) {
-    my $new = new FS::cust_main { $cust_main->hash };
-    $new->set( $_ => $p->{$_} )
-      foreach qw( payname paystart_month paystart_year payissue payip
-                  address1 address2 city state zip payinfo );
-    $new->set( 'paydate' => $p->{'year'}. '-'. $p->{'month'}. '-01' );
-    $new->set( 'payby' => $p->{'auto'} ? 'CARD' : 'DCRD' );
-    my $error = $new->replace($cust_main);
-    return { 'error' => $error } if $error;
-    $cust_main = $new;
-  }
-
-  return { 'error' => '' };
-
-}
-
-sub process_prepay {
-
-  my $p = shift;
-
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  my %return;
-
-  my $custnum = $session->{'custnum'};
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my( $amount, $seconds ) = ( 0, 0 );
-  my $error = $cust_main->recharge_prepay( $p->{'prepaid_cardnum'},
-                                           \$amount,
-                                           \$seconds
-                                         );
-
-  return { 'error' => $error } if $error;
-
-  return { 'error'    => '',
-           'amount'   => $amount,
-           'seconds'  => $seconds,
-           'duration' => duration_exact($seconds),
-         };
-
-}
-
-sub invoice {
-  my $p = shift;
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  my $custnum = $session->{'custnum'};
-
-  my $invnum = $p->{'invnum'};
-
-  my $cust_bill = qsearchs('cust_bill', { 'invnum'  => $invnum,
-                                          'custnum' => $custnum } )
-    or return { 'error' => "Can't find invnum" };
-
-  #my %return;
-
-  return { 'error'        => '',
-           'invnum'       => $invnum,
-           'invoice_text' => join('', $cust_bill->print_text ),
-         };
-
-}
-
-sub list_invoices {
-  my $p = shift;
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  my $custnum = $session->{'custnum'};
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my @cust_bill = $cust_main->cust_bill;
-
-  return  { 'error'       => '',
-            'invoices'    =>  [ map { { 'invnum' => $_->invnum,
-                                        '_date'  => $_->_date,
-                                      }
-                                    } @cust_bill
-                              ]
-          };
-}
-
-sub cancel {
-  my $p = shift;
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  my $custnum = $session->{'custnum'};
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my @errors = $cust_main->cancel( 'quiet'=>1 );
-
-  my $error = scalar(@errors) ? join(' / ', @errors) : '';
-
-  return { 'error' => $error };
-
-}
-
-sub list_pkgs {
-  my $p = shift;
-
-  my($context, $session, $custnum) = _custoragent_session_custnum($p);
-  return { 'error' => $session } if $context eq 'error';
-
-  my $search = { 'custnum' => $custnum };
-  $search->{'agentnum'} = $session->{'agentnum'} if $context eq 'agent';
-  my $cust_main = qsearchs('cust_main', $search )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  #return { 'cust_pkg' => [ map { $_->hashref } $cust_main->ncancelled_pkgs ] };
-
-  my $conf = new FS::Conf;
-
-  { 'svcnum'   => $session->{'svcnum'},
-    'custnum'  => $custnum,
-    'cust_pkg' => [ map {
-                          { $_->hash,
-                            $_->part_pkg->hash,
-                            part_svc =>
-                              [ map $_->hashref, $_->available_part_svc ],
-                            cust_svc => 
-                              [ map { my $ref = { $_->hash,
-                                                  label => [ $_->label ],
-                                                };
-                                      $ref->{_password} = $_->svc_x->_password
-                                        if $context eq 'agent'
-                                        && $conf->exists('agent-showpasswords')
-                                        && $_->part_svc->svcdb eq 'svc_acct';
-                                      $ref;
-                                    } $_->cust_svc
-                              ],
-                          };
-                        } $cust_main->ncancelled_pkgs
-                  ],
-    'small_custview' =>
-      small_custview( $cust_main, $conf->config('countrydefault') ),
-  };
-
-}
-
-sub order_pkg {
-  my $p = shift;
-
-  my($context, $session, $custnum) = _custoragent_session_custnum($p);
-  return { 'error' => $session } if $context eq 'error';
-
-  my $search = { 'custnum' => $custnum };
-  $search->{'agentnum'} = $session->{'agentnum'} if $context eq 'agent';
-  my $cust_main = qsearchs('cust_main', $search )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  #false laziness w/ClientAPI/Signup.pm
-
-  my $cust_pkg = new FS::cust_pkg ( {
-    'custnum' => $custnum,
-    'pkgpart' => $p->{'pkgpart'},
-  } );
-  my $error = $cust_pkg->check;
-  return { 'error' => $error } if $error;
-
-  my @svc = ();
-  unless ( $p->{'svcpart'} eq 'none' ) {
-
-    my $svcdb;
-    my $svcpart = '';
-    if ( $p->{'svcpart'} =~ /^(\d+)$/ ) {
-      $svcpart = $1;
-      my $part_svc = qsearchs('part_svc', { 'svcpart' => $svcpart } );
-      return { 'error' => "Unknown svcpart $svcpart" } unless $part_svc;
-      $svcdb = $part_svc->svcdb;
-    } else {
-      $svcdb = 'svc_acct';
-    }
-    $svcpart ||= $cust_pkg->part_pkg->svcpart($svcdb);
-
-    my %fields = (
-      'svc_acct'     => [ qw( username _password sec_phrase popnum ) ],
-      'svc_domain'   => [ qw( domain ) ],
-      'svc_external' => [ qw( id title ) ],
-    );
-  
-    my $svc_x = "FS::$svcdb"->new( {
-      'svcpart'   => $svcpart,
-      map { $_ => $p->{$_} } @{$fields{$svcdb}}
-    } );
-    
-    if ( $svcdb eq 'svc_acct' ) {
-      my @acct_snarf;
-      my $snarfnum = 1;
-      while ( length($p->{"snarf_machine$snarfnum"}) ) {
-        my $acct_snarf = new FS::acct_snarf ( {
-          'machine'   => $p->{"snarf_machine$snarfnum"},
-          'protocol'  => $p->{"snarf_protocol$snarfnum"},
-          'username'  => $p->{"snarf_username$snarfnum"},
-          '_password' => $p->{"snarf_password$snarfnum"},
-        } );
-        $snarfnum++;
-        push @acct_snarf, $acct_snarf;
-      }
-      $svc_x->child_objects( \@acct_snarf );
-    }
-    
-    my $y = $svc_x->setdefault; # arguably should be in new method
-    return { 'error' => $y } if $y && !ref($y);
-  
-    $error = $svc_x->check;
-    return { 'error' => $error } if $error;
-
-    push @svc, $svc_x;
-
-  }
-
-  use Tie::RefHash;
-  tie my %hash, 'Tie::RefHash';
-  %hash = ( $cust_pkg => \@svc );
-  #msgcat
-  $error = $cust_main->order_pkgs( \%hash, '', 'noexport' => 1 );
-  return { 'error' => $error } if $error;
-
-  my $conf = new FS::Conf;
-  if ( $conf->exists('signup_server-realtime') ) {
-
-    my $old_balance = $cust_main->balance;
-
-    my $bill_error = $cust_main->bill;
-    $cust_main->apply_payments;
-    $cust_main->apply_credits;
-    $bill_error = $cust_main->collect;
-
-    if (    $cust_main->balance > $old_balance
-         && $cust_main->balance > 0
-         && $cust_main->payby !~ /^(BILL|DCRD|DCHK)$/ ) {
-      #this makes sense.  credit is "un-doing" the invoice
-      $cust_main->credit( sprintf("%.2f", $cust_main->balance - $old_balance ),
-                          'self-service decline' );
-      $cust_main->apply_credits( 'order' => 'newest' );
-
-      $cust_pkg->cancel('quiet'=>1);
-      return { 'error' => '_decline', 'bill_error' => $bill_error };
-    } else {
-      $cust_pkg->reexport;
-    }
-
-  } else {
-    $cust_pkg->reexport;
-  }
-
-  return { error => '', pkgnum => $cust_pkg->pkgnum };
-
-}
-
-sub cancel_pkg {
-  my $p = shift;
-  my $session = _cache->get($p->{'session_id'})
-    or return { 'error' => "Can't resume session" }; #better error message
-
-  my $custnum = $session->{'custnum'};
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my $pkgnum = $p->{'pkgnum'};
-
-  my $cust_pkg = qsearchs('cust_pkg', { 'custnum' => $custnum,
-                                        'pkgnum'  => $pkgnum,   } )
-    or return { 'error' => "unknown pkgnum $pkgnum" };
-
-  my $error = $cust_pkg->cancel( 'quiet'=>1 );
-  return { 'error' => $error };
-
-}
-
-sub provision_acct {
-  my $p = shift;
-
-  return { 'error' => gettext('passwords_dont_match') }
-    if $p->{'_password'} ne $p->{'_password2'};
-  return { 'error' => gettext('empty_password') }
-    unless length($p->{'_password'});
-
-  _provision( 'FS::svc_acct',
-              [qw(username _password)],
-              [qw(username _password)],
-              $p,
-              @_
-            );
-}
-
-sub provision_external {
-  my $p = shift;
-  #_provision( 'FS::svc_external', [qw(id title)], [qw(id title)], $p, @_ );
-  _provision( 'FS::svc_external',
-              [],
-              [qw(id title)],
-              $p,
-              @_
-            );
-}
-
-sub _provision {
-  my( $class, $fields, $return_fields, $p ) = splice(@_, 0, 4);
-
-  my($context, $session, $custnum) = _custoragent_session_custnum($p);
-  return { 'error' => $session } if $context eq 'error';
-
-  my $search = { 'custnum' => $custnum };
-  $search->{'agentnum'} = $session->{'agentnum'} if $context eq 'agent';
-  my $cust_main = qsearchs('cust_main', $search )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my $pkgnum = $p->{'pkgnum'};
-
-  my $cust_pkg = qsearchs('cust_pkg', { 'custnum' => $custnum,
-                                        'pkgnum'  => $pkgnum,
-                                                               } )
-    or return { 'error' => "unknown pkgnum $pkgnum" };
-
-  my $part_svc = qsearchs('part_svc', { 'svcpart' => $p->{'svcpart'} } )
-    or return { 'error' => "unknown svcpart $p->{'svcpart'}" };
-
-  my $svc_x = $class->new( {
-    'pkgnum'  => $p->{'pkgnum'},
-    'svcpart' => $p->{'svcpart'},
-    map { $_ => $p->{$_} } @$fields
-  } );
-  my $error = $svc_x->insert;
-  $svc_x = qsearchs($svc_x->table, { 'svcnum' => $svc_x->svcnum })
-    unless $error;
-
-  return { 'svc'   => $part_svc->svc,
-           'error' => $error,
-           map { $_ => $svc_x->get($_) } @$return_fields
-         };
-
-}
-
-sub part_svc_info {
-  my $p = shift;
-
-  my($context, $session, $custnum) = _custoragent_session_custnum($p);
-  return { 'error' => $session } if $context eq 'error';
-
-  my $search = { 'custnum' => $custnum };
-  $search->{'agentnum'} = $session->{'agentnum'} if $context eq 'agent';
-  my $cust_main = qsearchs('cust_main', $search )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my $pkgnum = $p->{'pkgnum'};
-
-  my $cust_pkg = qsearchs('cust_pkg', { 'custnum' => $custnum,
-                                        'pkgnum'  => $pkgnum,
-                                                               } )
-    or return { 'error' => "unknown pkgnum $pkgnum" };
-
-  my $svcpart = $p->{'svcpart'};
-
-  my $pkg_svc = qsearchs('pkg_svc', { 'pkgpart' => $cust_pkg->pkgpart,
-                                      'svcpart' => $svcpart,           } )
-    or return { 'error' => "unknown svcpart $svcpart for pkgnum $pkgnum" };
-  my $part_svc = $pkg_svc->part_svc;
-
-  my $conf = new FS::Conf;
-
-  return {
-    'svc'     => $part_svc->svc,
-    'svcdb'   => $part_svc->svcdb,
-    'pkgnum'  => $pkgnum,
-    'svcpart' => $svcpart,
-    'custnum' => $custnum,
-
-    'security_phrase' => 0, #XXX !
-    'svc_acct_pop'    => [], #XXX !
-    'popnum'          => '',
-    'init_popstate'   => '',
-    'popac'           => '',
-    'acstate'         => '',
-
-    'small_custview' =>
-      small_custview( $cust_main, $conf->config('countrydefault') ),
-
-  };
-
-}
-
-sub unprovision_svc {
-  my $p = shift;
-
-  my($context, $session, $custnum) = _custoragent_session_custnum($p);
-  return { 'error' => $session } if $context eq 'error';
-
-  my $search = { 'custnum' => $custnum };
-  $search->{'agentnum'} = $session->{'agentnum'} if $context eq 'agent';
-  my $cust_main = qsearchs('cust_main', $search )
-    or return { 'error' => "unknown custnum $custnum" };
-
-  my $svcnum = $p->{'svcnum'};
-
-  my $cust_svc = qsearchs('cust_svc', { 'svcnum'  => $svcnum, } )
-    or return { 'error' => "unknown svcnum $svcnum" };
-
-  return { 'error' => "Service $svcnum does not belong to customer $custnum" }
-    unless $cust_svc->cust_pkg->custnum == $custnum;
-
-  my $conf = new FS::Conf;
-
-  return { 'svc'   => $cust_svc->part_svc->svc,
-           'error' => $cust_svc->cancel,
-           'small_custview' =>
-             small_custview( $cust_main, $conf->config('countrydefault') ),
-         };
-
-}
-
-#--
-
-sub _custoragent_session_custnum {
-  my $p = shift;
-
-  my($context, $session, $custnum);
-  if ( $p->{'session_id'} ) {
-
-    $context = 'customer';
-    $session = _cache->get($p->{'session_id'})
-      or return ( 'error' => "Can't resume session" ); #better error message
-    $custnum = $session->{'custnum'};
-
-  } elsif ( $p->{'agent_session_id'} ) {
-
-    $context = 'agent';
-    my $agent_cache = new FS::ClientAPI_SessionCache( {
-      'namespace' => 'FS::ClientAPI::Agent',
-    } );
-    $session = $agent_cache->get($p->{'agent_session_id'})
-      or return ( 'error' => "Can't resume session" ); #better error message
-    $custnum = $p->{'custnum'};
-
-  } else {
-    return ( 'error' => "Can't resume session" ); #better error message
-  }
-
-  ($context, $session, $custnum);
-
-}
-
-1;
-
diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm
deleted file mode 100644 (file)
index ed71651..0000000
+++ /dev/null
@@ -1,344 +0,0 @@
-package FS::ClientAPI::Signup;
-
-use strict;
-use Tie::RefHash;
-use FS::Conf;
-use FS::Record qw(qsearch qsearchs dbdef);
-use FS::Msgcat qw(gettext);
-use FS::ClientAPI_SessionCache;
-use FS::agent;
-use FS::cust_main_county;
-use FS::part_pkg;
-use FS::svc_acct_pop;
-use FS::cust_main;
-use FS::cust_pkg;
-use FS::svc_acct;
-use FS::acct_snarf;
-use FS::queue;
-use FS::reg_code;
-
-sub signup_info {
-  my $packet = shift;
-
-  my $conf = new FS::Conf;
-
-  use vars qw($signup_info); #cache for performance;
-  $signup_info ||= {
-
-    'cust_main_county' =>
-      [ map { $_->hashref } qsearch('cust_main_county', {}) ],
-
-    'agent' =>
-      [
-        map { $_->hashref }
-          qsearch('agent', dbdef->table('agent')->column('disabled')
-                             ? { 'disabled' => '' }
-                             : {}
-                 )
-      ],
-
-    'part_referral' =>
-      [
-        map { $_->hashref }
-          qsearch('part_referral',
-                    dbdef->table('part_referral')->column('disabled')
-                      ? { 'disabled' => '' }
-                      : {}
-                 )
-      ],
-
-    'agentnum2part_pkg' =>
-      {
-        map {
-          my $href = $_->pkgpart_hashref;
-          $_->agentnum =>
-            [
-              map { { 'payby' => [ $_->payby ], %{$_->hashref} } }
-                grep { $_->svcpart('svc_acct') && $href->{ $_->pkgpart } }
-                  qsearch( 'part_pkg', { 'disabled' => '' } )
-            ];
-        } qsearch('agent', dbdef->table('agent')->column('disabled')
-                             ? { 'disabled' => '' }
-                             : {}
-                 )
-      },
-
-    'svc_acct_pop' => [ map { $_->hashref } qsearch('svc_acct_pop',{} ) ],
-
-    'security_phrase' => $conf->exists('security_phrase'),
-
-    'payby' => [ $conf->config('signup_server-payby') ],
-
-    'cvv_enabled' => defined dbdef->table('cust_main')->column('paycvv'),
-
-    'ship_enabled' => defined dbdef->table('cust_main')->column('ship_last'),
-
-    'msgcat' => { map { $_=>gettext($_) } qw(
-      passwords_dont_match invalid_card unknown_card_type not_a empty_password
-    ) },
-
-    'statedefault' => $conf->config('statedefault') || 'CA',
-
-    'countrydefault' => $conf->config('countrydefault') || 'US',
-
-    'refnum' => $conf->config('signup_server-default_refnum'),
-
-  };
-
-  my $agentnum = $conf->config('signup_server-default_agentnum');
-
-  my $session = '';
-  if ( exists $packet->{'session_id'} ) {
-    my $cache = new FS::ClientAPI_SessionCache( {
-      'namespace' => 'FS::ClientAPI::Agent',
-    } );
-    $session = $cache->get($packet->{'session_id'});
-    if ( $session ) {
-      $agentnum = $session->{'agentnum'};
-    } else {
-      return { 'error' => "Can't resume session" }; #better error message
-    }
-  }
-
-  $signup_info->{'part_pkg'} = [];
-
-  if ( $packet->{'reg_code'} ) {
-    $signup_info->{'part_pkg'} = 
-      [ map { { 'payby'   => [ $_->payby ], %{$_->hashref} } }
-          grep { $_->svcpart('svc_acct') }
-          map { $_->part_pkg }
-            qsearchs( 'reg_code', { 'code'     => $packet->{'reg_code'},
-                                    'agentnum' => $agentnum,              } )
-
-      ];
-
-    $signup_info->{'error'} = 'Unknown registration code'
-      unless @{ $signup_info->{'part_pkg'} };
-
-  } elsif ( $packet->{'promo_code'} ) {
-
-    $signup_info->{'part_pkg'} =
-      [ map { { 'payby'   => [ $_->payby ], %{$_->hashref} } }
-          grep { $_->svcpart('svc_acct') }
-            qsearch( 'part_pkg', { 'promo_code' => {
-                                     op=>'ILIKE',
-                                     value=>$packet->{'promo_code'}
-                                   },
-                                   'disabled'   => '',                  } )
-      ];
-
-    $signup_info->{'error'} = 'Unknown promotional code'
-      unless @{ $signup_info->{'part_pkg'} };
-  }
-
-  if ( $agentnum && ! @{ $signup_info->{'part_pkg'} } ) {
-    $signup_info->{'part_pkg'} = $signup_info->{'agentnum2part_pkg'}{$agentnum};
-  }
-  # else {
-  # delete $signup_info->{'part_pkg'};
-  #}
-
-  if ( $session ) {
-    my $agent_signup_info = { %$signup_info };
-    delete $agent_signup_info->{agentnum2part_pkg};
-    $agent_signup_info->{'agent'} = $session->{'agent'};
-    $agent_signup_info;
-  } else {
-    $signup_info;
-  }
-
-}
-
-sub new_customer {
-  my $packet = shift;
-
-  my $conf = new FS::Conf;
-  
-  #things that aren't necessary in base class, but are for signup server
-    #return "Passwords don't match"
-    #  if $hashref->{'_password'} ne $hashref->{'_password2'}
-  return { 'error' => gettext('empty_password') }
-    unless length($packet->{'_password'});
-  # a bit inefficient for large numbers of pops
-  return { 'error' => gettext('no_access_number_selected') }
-    unless $packet->{'popnum'} || !scalar(qsearch('svc_acct_pop',{} ));
-
-  my $agentnum;
-  if ( exists $packet->{'session_id'} ) {
-    my $cache = new FS::ClientAPI_SessionCache( {
-      'namespace' => 'FS::ClientAPI::Agent',
-    } );
-    my $session = $cache->get($packet->{'session_id'});
-    if ( $session ) {
-      $agentnum = $session->{'agentnum'};
-    } else {
-      return { 'error' => "Can't resume session" }; #better error message
-    }
-  } else {
-    $agentnum = $packet->{agentnum}
-                || $conf->config('signup_server-default_agentnum');
-  }
-
-  #shares some stuff with htdocs/edit/process/cust_main.cgi... take any
-  # common that are still here and library them.
-  my $cust_main = new FS::cust_main ( {
-    #'custnum'          => '',
-    'agentnum'      => $agentnum,
-    'refnum'        => $packet->{refnum}
-                       || $conf->config('signup_server-default_refnum'),
-
-    map { $_ => $packet->{$_} } qw(
-
-      last first ss company address1 address2
-      city county state zip country
-      daytime night fax
-
-      ship_last ship_first ship_ss ship_company ship_address1 ship_address2
-      ship_city ship_county ship_state ship_zip ship_country
-      ship_daytime ship_night ship_fax
-
-      payby
-      payinfo paycvv paydate payname
-      paystart_month paystart_year payissue
-      payip
-
-      referral_custnum comments
-    )
-
-  } );
-
-  return { 'error' => "Illegal payment type" }
-    unless grep { $_ eq $packet->{'payby'} }
-                $conf->config('signup_server-payby');
-
-  $cust_main->payinfo($cust_main->daytime)
-    if $cust_main->payby eq 'LECB' && ! $cust_main->payinfo;
-
-  my @invoicing_list = split( /\s*\,\s*/, $packet->{'invoicing_list'} );
-
-  $packet->{'pkgpart'} =~ /^(\d+)$/ or '' =~ /^()$/;
-  my $pkgpart = $1;
-  return { 'error' => 'Please select a package' } unless $pkgpart; #msgcat
-
-  my $part_pkg =
-    qsearchs( 'part_pkg', { 'pkgpart' => $pkgpart } )
-      or return { 'error' => "WARNING: unknown pkgpart: $pkgpart" };
-  my $svcpart = $part_pkg->svcpart('svc_acct');
-
-  my $reg_code = '';
-  if ( $packet->{'reg_code'} ) {
-    $reg_code = qsearchs( 'reg_code', { 'code'     => $packet->{'reg_code'},
-                                        'agentnum' => $agentnum,             } )
-      or return { 'error' => 'Unknown registration code' };
-  }
-
-  my $cust_pkg = new FS::cust_pkg ( {
-    #later#'custnum' => $custnum,
-    'pkgpart'    => $packet->{'pkgpart'},
-    'promo_code' => $packet->{'promo_code'},
-    'reg_code'   => $packet->{'reg_code'},
-  } );
-  #my $error = $cust_pkg->check;
-  #return { 'error' => $error } if $error;
-
-  my $svc_acct = new FS::svc_acct ( {
-    'svcpart'   => $svcpart,
-    map { $_ => $packet->{$_} }
-      qw( username _password sec_phrase popnum ),
-  } );
-
-  my @acct_snarf;
-  my $snarfnum = 1;
-  while (    exists($packet->{"snarf_machine$snarfnum"})
-          && length($packet->{"snarf_machine$snarfnum"}) ) {
-    my $acct_snarf = new FS::acct_snarf ( {
-      'machine'   => $packet->{"snarf_machine$snarfnum"},
-      'protocol'  => $packet->{"snarf_protocol$snarfnum"},
-      'username'  => $packet->{"snarf_username$snarfnum"},
-      '_password' => $packet->{"snarf_password$snarfnum"},
-    } );
-    $snarfnum++;
-    push @acct_snarf, $acct_snarf;
-  }
-  $svc_acct->child_objects( \@acct_snarf );
-
-  my $y = $svc_acct->setdefault; # arguably should be in new method
-  return { 'error' => $y } if $y && !ref($y);
-
-  #$error = $svc_acct->check;
-  #return { 'error' => $error } if $error;
-
-  #setup a job dependancy to delay provisioning
-  my $placeholder = new FS::queue ( {
-    'job'    => 'FS::ClientAPI::Signup::__placeholder',
-    'status' => 'locked',
-  } );
-  my $error = $placeholder->insert;
-  return { 'error' => $error } if $error;
-
-  use Tie::RefHash;
-  tie my %hash, 'Tie::RefHash';
-  %hash = ( $cust_pkg => [ $svc_acct ] );
-  #msgcat
-  $error = $cust_main->insert(
-    \%hash,
-    \@invoicing_list,
-    'depend_jobnum' => $placeholder->jobnum,
-  );
-  if ( $error ) {
-    my $perror = $placeholder->delete;
-    $error .= " (Additionally, error removing placeholder: $perror)" if $perror;
-    return { 'error' => $error };
-  }
-
-  if ( $conf->exists('signup_server-realtime') ) {
-
-    #warn "[fs_signup_server] Billing customer...\n" if $Debug;
-
-    my $bill_error = $cust_main->bill;
-    #warn "[fs_signup_server] error billing new customer: $bill_error"
-    #  if $bill_error;
-
-    $cust_main->apply_payments;
-    $cust_main->apply_credits;
-
-    $bill_error = $cust_main->collect;
-    #warn "[fs_signup_server] error collecting from new customer: $bill_error"
-    #  if $bill_error;
-
-    if ( $cust_main->balance > 0 ) {
-
-      #this makes sense.  credit is "un-doing" the invoice
-      $cust_main->credit( $cust_main->balance, 'signup server decline' );
-      $cust_main->apply_credits;
-
-      #should check list for errors...
-      #$cust_main->suspend;
-      local $FS::svc_Common::noexport_hack = 1;
-      $cust_main->cancel('quiet'=>1);
-
-      my $perror = $placeholder->depended_delete;
-      warn "error removing provisioning jobs after decline: $perror" if $perror;
-      unless ( $perror ) {
-        $perror = $placeholder->delete;
-        warn "error removing placeholder after decline: $perror" if $perror;
-      }
-
-      return { 'error' => '_decline' };
-    }
-
-  }
-
-  if ( $reg_code ) {
-    $error = $reg_code->delete;
-    return { 'error' => $error } if $error;
-  }
-
-  $error = $placeholder->delete;
-  return { 'error' => $error } if $error;
-
-  return { error => '' };
-
-}
-
-1;
diff --git a/FS/FS/ClientAPI/passwd.pm b/FS/FS/ClientAPI/passwd.pm
deleted file mode 100644 (file)
index b22d761..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-package FS::ClientAPI::passwd;
-
-use strict;
-use FS::Record qw(qsearchs);
-use FS::svc_acct;
-use FS::svc_domain;
-
-sub passwd {
-  my $packet = shift;
-
-  my $domain = $FS::ClientAPI::domain || $packet->{'domain'};
-  my $svc_domain = qsearchs('svc_domain', { 'domain' => $domain } )
-    or return { error => "Domain $domain not found" };
-
-  my $old_password = $packet->{'old_password'};
-  my $new_password = $packet->{'new_password'};
-  my $new_gecos = $packet->{'new_gecos'};
-  my $new_shell = $packet->{'new_shell'};
-
-  #false laziness w/FS::ClientAPI::MyAccount::login
-
-  my $svc_acct = qsearchs( 'svc_acct', { 'username'  => $packet->{'username'},
-                                         'domsvc'    => $svc_domain->svcnum, }
-                         );
-  return { error => 'User not found.' } unless $svc_acct;
-  return { error => 'Incorrect password.' }
-    unless $svc_acct->check_password($old_password);
-
-  my %hash = $svc_acct->hash;
-  my $new_svc_acct = new FS::svc_acct ( \%hash );
-  $new_svc_acct->setfield('_password', $new_password ) 
-    if $new_password && $new_password ne $old_password;
-  $new_svc_acct->setfield('finger',$new_gecos) if $new_gecos;
-  $new_svc_acct->setfield('shell',$new_shell) if $new_shell;
-  my $error = $new_svc_acct->replace($svc_acct);
-
-  return { error => $error };
-
-}
-
-sub chfn {}
-
-sub chsh {}
-
-1;
-
diff --git a/FS/FS/ClientAPI_SessionCache.pm b/FS/FS/ClientAPI_SessionCache.pm
deleted file mode 100644 (file)
index b722484..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-package FS::ClientAPI_SessionCache;
-
-use strict;
-use vars qw($module);
-use FS::UID qw(datasrc);
-
-#ask FS::UID to run this stuff for us later
-install_callback FS::UID sub { 
-  my $conf = new FS::Conf;
-  $module = $conf->config('selfservice_server-cache_module')
-            || 'Cache::SharedMemoryCache';
-};
-
-=head1 NAME
-
-FS::ClientAPI_SessionCache;
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-Minimal Cache::Cache-alike interface for storing session cache information.
-Backends to Cache::SharedMemoryCache, Cache::FileCache, or an internal
-implementation which stores information in the clientapi_session and
-clientapi_session_field database tables.
-
-=head1 METHODS
-
-=over 4
-
-=item new
-
-=cut
-
-sub new {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  unless ( $module =~ /^_Database$/ ) {
-    eval "use $module;";
-    die $@ if $@;
-    my $self = $module->new(@_);
-    $self->set_cache_root('/usr/local/etc/freeside/clientapi_session.'.datasrc)
-      if $module =~ /^Cache::FileCache$/;
-    $self;
-  } else {
-    my $self = shift;
-    bless ($self, $class);
-  }
-}
-
-sub get {
-  my($self, $session_id) = @_;
-  die '_Database self-service session cache not yet implemented';
-}
-
-sub set {
-  my($self, $session_id, $session, $expiration) = @_;
-  die '_Database self-service session cache not yet implemented';
-}
-
-sub remove {
-  my($self, $session_id) = @_;
-  die '_Database self-service session cache not yet implemented';
-}
-
-=back
-
-=head1 BUGS
-
-Minimal documentation.
-
-=head1 SEE ALSO
-
-L<Cache::Cache>, L<FS::clientapi_session>, L<FS::clientapi_session_field>
-
-=cut
-
-1;
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
deleted file mode 100644 (file)
index 88dbdf0..0000000
+++ /dev/null
@@ -1,1667 +0,0 @@
-package FS::Conf;
-
-use vars qw($default_dir @config_items $DEBUG );
-use IO::File;
-use File::Basename;
-use FS::ConfItem;
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::Conf - Freeside configuration values
-
-=head1 SYNOPSIS
-
-  use FS::Conf;
-
-  $conf = new FS::Conf "/config/directory";
-
-  $FS::Conf::default_dir = "/config/directory";
-  $conf = new FS::Conf;
-
-  $dir = $conf->dir;
-
-  $value = $conf->config('key');
-  @list  = $conf->config('key');
-  $bool  = $conf->exists('key');
-
-  $conf->touch('key');
-  $conf->set('key' => 'value');
-  $conf->delete('key');
-
-  @config_items = $conf->config_items;
-
-=head1 DESCRIPTION
-
-Read and write Freeside configuration values.  Keys currently map to filenames,
-but this may change in the future.
-
-=head1 METHODS
-
-=over 4
-
-=item new [ DIRECTORY ]
-
-Create a new configuration object.  A directory arguement is required if
-$FS::Conf::default_dir has not been set.
-
-=cut
-
-sub new {
-  my($proto,$dir) = @_;
-  my($class) = ref($proto) || $proto;
-  my($self) = { 'dir' => $dir || $default_dir } ;
-  bless ($self, $class);
-}
-
-=item dir
-
-Returns the directory.
-
-=cut
-
-sub dir {
-  my($self) = @_;
-  my $dir = $self->{dir};
-  -e $dir or die "FATAL: $dir doesn't exist!";
-  -d $dir or die "FATAL: $dir isn't a directory!";
-  -r $dir or die "FATAL: Can't read $dir!";
-  -x $dir or die "FATAL: $dir not searchable (executable)!";
-  $dir =~ /^(.*)$/;
-  $1;
-}
-
-=item config KEY
-
-Returns the configuration value or values (depending on context) for key.
-
-=cut
-
-sub config {
-  my($self,$file)=@_;
-  my($dir)=$self->dir;
-  my $fh = new IO::File "<$dir/$file" or return;
-  if ( wantarray ) {
-    map {
-      /^(.*)$/
-        or die "Illegal line (array context) in $dir/$file:\n$_\n";
-      $1;
-    } <$fh>;
-  } else {
-    <$fh> =~ /^(.*)$/
-      or die "Illegal line (scalar context) in $dir/$file:\n$_\n";
-    $1;
-  }
-}
-
-=item config_binary KEY
-
-Returns the exact scalar value for key.
-
-=cut
-
-sub config_binary {
-  my($self,$file)=@_;
-  my($dir)=$self->dir;
-  my $fh = new IO::File "<$dir/$file" or return;
-  local $/;
-  my $content = <$fh>;
-  $content;
-}
-
-=item exists KEY
-
-Returns true if the specified key exists, even if the corresponding value
-is undefined.
-
-=cut
-
-sub exists {
-  my($self,$file)=@_;
-  my($dir) = $self->dir;
-  -e "$dir/$file";
-}
-
-=item config_orbase KEY SUFFIX
-
-Returns the configuration value or values (depending on context) for 
-KEY_SUFFIX, if it exists, otherwise for KEY
-
-=cut
-
-sub config_orbase {
-  my( $self, $file, $suffix ) = @_;
-  if ( $self->exists("${file}_$suffix") ) {
-    $self->config("${file}_$suffix");
-  } else {
-    $self->config($file);
-  }
-}
-
-=item touch KEY
-
-Creates the specified configuration key if it does not exist.
-
-=cut
-
-sub touch {
-  my($self, $file) = @_;
-  my $dir = $self->dir;
-  unless ( $self->exists($file) ) {
-    warn "[FS::Conf] TOUCH $file\n" if $DEBUG;
-    system('touch', "$dir/$file");
-  }
-}
-
-=item set KEY VALUE
-
-Sets the specified configuration key to the given value.
-
-=cut
-
-sub set {
-  my($self, $file, $value) = @_;
-  my $dir = $self->dir;
-  $value =~ /^(.*)$/s;
-  $value = $1;
-  unless ( join("\n", @{[ $self->config($file) ]}) eq $value ) {
-    warn "[FS::Conf] SET $file\n" if $DEBUG;
-#    warn "$dir" if is_tainted($dir);
-#    warn "$dir" if is_tainted($file);
-    chmod 0644, "$dir/$file";
-    my $fh = new IO::File ">$dir/$file" or return;
-    chmod 0644, "$dir/$file";
-    print $fh "$value\n";
-  }
-}
-#sub is_tainted {
-#             return ! eval { join('',@_), kill 0; 1; };
-#         }
-
-=item delete KEY
-
-Deletes the specified configuration key.
-
-=cut
-
-sub delete {
-  my($self, $file) = @_;
-  my $dir = $self->dir;
-  if ( $self->exists($file) ) {
-    warn "[FS::Conf] DELETE $file\n";
-    unlink "$dir/$file";
-  }
-}
-
-=item config_items
-
-Returns all of the possible configuration items as FS::ConfItem objects.  See
-L<FS::ConfItem>.
-
-=cut
-
-sub config_items {
-  my $self = shift; 
-  #quelle kludge
-  @config_items,
-  ( map { 
-        my $basename = basename($_);
-        $basename =~ /^(.*)$/;
-        $basename = $1;
-        new FS::ConfItem {
-                           'key'         => $basename,
-                           'section'     => 'billing',
-                           'description' => 'Alternate template file for invoices.  See the <a href="../docs/billing.html">billing documentation</a> for details.',
-                           'type'        => 'textarea',
-                         }
-      } glob($self->dir. '/invoice_template_*')
-  ),
-  ( map { 
-        my $basename = basename($_);
-        $basename =~ /^(.*)$/;
-        $basename = $1;
-        new FS::ConfItem {
-                           'key'         => $basename,
-                           'section'     => 'billing',
-                           'description' => 'Alternate HTML template for invoices.  See the <a href="../docs/billing.html">billing documentation</a> for details.',
-                           'type'        => 'textarea',
-                         }
-      } glob($self->dir. '/invoice_html_*')
-  ),
-  ( map { 
-        my $basename = basename($_);
-        $basename =~ /^(.*)$/;
-        $basename = $1;
-        ($latexname = $basename ) =~ s/latex/html/;
-        new FS::ConfItem {
-                           'key'         => $basename,
-                           'section'     => 'billing',
-                           'description' => "Alternate Notes section for HTML invoices.  Defaults to the same data in $latexname if not specified.",
-                           'type'        => 'textarea',
-                         }
-      } glob($self->dir. '/invoice_htmlnotes_*')
-  ),
-  ( map { 
-        my $basename = basename($_);
-        $basename =~ /^(.*)$/;
-        $basename = $1;
-        new FS::ConfItem {
-                           'key'         => $basename,
-                           'section'     => 'billing',
-                           'description' => 'Alternate LaTeX template for invoices.  See the <a href="../docs/billing.html">billing documentation</a> for details.',
-                           'type'        => 'textarea',
-                         }
-      } glob($self->dir. '/invoice_latex_*')
-  ),
-  ( map { 
-        my $basename = basename($_);
-        $basename =~ /^(.*)$/;
-        $basename = $1;
-        new FS::ConfItem {
-                           'key'         => $basename,
-                           'section'     => 'billing',
-                           'description' => 'Alternate Notes section for LaTeX typeset PostScript invoices.  See the <a href="../docs/billing.html">billing documentation</a> for details.',
-                           'type'        => 'textarea',
-                         }
-      } glob($self->dir. '/invoice_latexnotes_*')
-  );
-}
-
-=back
-
-=head1 BUGS
-
-If this was more than just crud that will never be useful outside Freeside I'd
-worry that config_items is freeside-specific and icky.
-
-=head1 SEE ALSO
-
-"Configuration" in the web interface (config/config.cgi).
-
-httemplate/docs/config.html
-
-=cut
-
-@config_items = map { new FS::ConfItem $_ } (
-
-  {
-    'key'         => 'address',
-    'section'     => 'deprecated',
-    'description' => 'This configuration option is no longer used.  See <a href="#invoice_template">invoice_template</a> instead.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'alerter_template',
-    'section'     => 'billing',
-    'description' => 'Template file for billing method expiration alerts.  See the <a href="../docs/billing.html#invoice_template">billing documentation</a> for details.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'apacheroot',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>www_shellcommands</i> <a href="../browse/part_export.cgi">export</a> instead.  The directory containing Apache virtual hosts',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'apacheip',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add an <i>apache</i> <a href="../browse/part_export.cgi">export</a> instead.  Used to be the current IP address to assign to new virtual hosts',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'apachemachine',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>www_shellcommands</i> <a href="../browse/part_export.cgi">export</a> instead.  A machine with the apacheroot directory and user home directories.  The existance of this file enables setup of virtual host directories, and, in conjunction with the `home\' configuration file, symlinks into user home directories.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'apachemachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add an <i>apache</i> <a href="../browse/part_export.cgi">export</a> instead.  Used to be Apache machines, one per line.  This enables export of `/etc/apache/vhosts.conf\', which can be included in your Apache configuration via the <a href="http://www.apache.org/docs/mod/core.html#include">Include</a> directive.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'bindprimary',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>bind</i> <a href="../browse/part_export.cgi">export</a> instead.  Your BIND primary nameserver.  This enables export of /var/named/named.conf and zone files into /var/named',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'bindsecondaries',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>bind_slave</i> <a href="../browse/part_export.cgi">export</a> instead.  Your BIND secondary nameservers, one per line.  This enables export of /var/named/named.conf',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'encryption',
-    'section'     => 'billing',
-    'description' => 'Enable encryption of credit cards.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'encryptionmodule',
-    'section'     => 'billing',
-    'description' => 'Use which module for encryption?',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'encryptionpublickey',
-    'section'     => 'billing',
-    'description' => 'Your RSA Public Key - Required if Encryption is turned on.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'encryptionprivatekey',
-    'section'     => 'billing',
-    'description' => 'Your RSA Private Key - Including this will enable the "Bill Now" feature.  However if the system is compromised, a hacker can use this key to decode the stored credit card information.  This is generally not a good idea.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'business-onlinepayment',
-    'section'     => 'billing',
-    'description' => '<a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> support, at least three lines: processor, login, and password.  An optional fourth line specifies the action or actions (multiple actions are separated with `,\': for example: `Authorization Only, Post Authorization\').    Optional additional lines are passed to Business::OnlinePayment as %processor_options.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'business-onlinepayment-ach',
-    'section'     => 'billing',
-    'description' => 'Alternate <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> support for ACH transactions (defaults to regular <b>business-onlinepayment</b>).  At least three lines: processor, login, and password.  An optional fourth line specifies the action or actions (multiple actions are separated with `,\': for example: `Authorization Only, Post Authorization\').    Optional additional lines are passed to Business::OnlinePayment as %processor_options.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'business-onlinepayment-description',
-    'section'     => 'billing',
-    'description' => 'String passed as the description field to <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a>.  Evaluated as a double-quoted perl string, with the following variables available: <code>$agent</code> (the agent name), and <code>$pkgs</code> (a comma-separated list of packages for which these charges apply)',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'business-onlinepayment-email-override',
-    'section'     => 'billing',
-    'description' => 'Email address used instead of customer email address when submitting a BOP transaction.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'bsdshellmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>bsdshell</i> <a href="../browse/part_export.cgi">export</a> instead.  Your BSD flavored shell (and mail) machines, one per line.  This enables export of `/etc/passwd\' and `/etc/master.passwd\'.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'countrydefault',
-    'section'     => 'UI',
-    'description' => 'Default two-letter country code (if not supplied, the default is `US\')',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'cyrus',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>cyrus</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to integrate with <a href="http://asg.web.cmu.edu/cyrus/imapd/">Cyrus IMAP Server</a>, three lines: IMAP server, admin username, and admin password.  Cyrus::IMAP::Admin should be installed locally and the connection to the server secured.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'cp_app',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>cp</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to integrate with <a href="http://www.cp.net/">Critial Path Account Provisioning Protocol</a>, four lines: "host:port", username, password, and workgroup (for new users).',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'deletecustomers',
-    'section'     => 'UI',
-    'description' => 'Enable customer deletions.  Be very careful!  Deleting a customer will remove all traces that this customer ever existed!  It should probably only be used when auditing a legacy database.  Normally, you cancel all of a customers\' packages if they cancel service.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'deletepayments',
-    'section'     => 'UI',
-    'description' => 'Enable deletion of unclosed payments.  Be very careful!  Only delete payments that were data-entry errors, not adjustments.  Optionally specify one or more comma-separated email addresses to be notified when a payment is deleted.',
-    'type'        => [qw( checkbox text )],
-  },
-
-  {
-    'key'         => 'deletecredits',
-    'section'     => 'UI',
-    'description' => 'Enable deletion of unclosed credits.  Be very careful!  Only delete credits that were data-entry errors, not adjustments.  Optionally specify one or more comma-separated email addresses to be notified when a credit is deleted.',
-    'type'        => [qw( checkbox text )],
-  },
-
-  {
-    'key'         => 'unapplypayments',
-    'section'     => 'UI',
-    'description' => 'Enable "unapplication" of unclosed payments.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'unapplycredits',
-    'section'     => 'UI',
-    'description' => 'Enable "unapplication" of unclosed credits.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'dirhash',
-    'section'     => 'shell',
-    'description' => 'Optional numeric value to control directory hashing.  If positive, hashes directories for the specified number of levels from the front of the username.  If negative, hashes directories for the specified number of levels from the end of the username.  Some examples: <ul><li>1: user -> <a href="#home">/home</a>/u/user<li>2: user -> <a href="#home">/home</a>/u/s/user<li>-1: user -> <a href="#home">/home</a>/r/user<li>-2: user -> <a href="#home">home</a>/r/e/user</ul>',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'disable_customer_referrals',
-    'section'     => 'UI',
-    'description' => 'Disable new customer-to-customer referrals in the web interface',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'editreferrals',
-    'section'     => 'UI',
-    'description' => 'Enable advertising source modification for existing customers',
-    'type'       => 'checkbox',
-  },
-
-  {
-    'key'         => 'emailinvoiceonly',
-    'section'     => 'billing',
-    'description' => 'Disables postal mail invoices',
-    'type'       => 'checkbox',
-  },
-
-  {
-    'key'         => 'disablepostalinvoicedefault',
-    'section'     => 'billing',
-    'description' => 'Disables postal mail invoices as the default option in the UI.  Be careful not to setup customers which are not sent invoices.  See <a href ="#emailinvoiceauto">emailinvoiceauto</a>.',
-    'type'       => 'checkbox',
-  },
-
-  {
-    'key'         => 'emailinvoiceauto',
-    'section'     => 'billing',
-    'description' => 'Automatically adds new accounts to the email invoice list',
-    'type'       => 'checkbox',
-  },
-
-  {
-    'key'         => 'exclude_ip_addr',
-    'section'     => '',
-    'description' => 'Exclude these from the list of available broadband service IP addresses. (One per line)',
-    'type'        => 'textarea',
-  },
-  
-  {
-    'key'         => 'erpcdmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, ERPCD is no longer supported.  Used to be ERPCD authentication machines, one per line.  This enables export of `/usr/annex/acp_passwd\' and `/usr/annex/acp_dialup\'',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'hidecancelledpackages',
-    'section'     => 'UI',
-    'description' => 'Prevent cancelled packages from showing up in listings (though they will still be in the database)',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'hidecancelledcustomers',
-    'section'     => 'UI',
-    'description' => 'Prevent customers with only cancelled packages from showing up in listings (though they will still be in the database)',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'home',
-    'section'     => 'required',
-    'description' => 'For new users, prefixed to username to create a directory name.  Should have a leading but not a trailing slash.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'icradiusmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add an <i>sqlradius</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to enable radcheck and radreply table population - by default in the Freeside database, or in the database specified by the <a href="http://rootwood.haze.st/aspside/config/config-view.cgi#icradius_secrets">icradius_secrets</a> config option (the radcheck and radreply tables needs to be created manually).  You do not need to use MySQL for your Freeside database to export to an ICRADIUS/FreeRADIUS MySQL database with this option.  <blockquote><b>ADDITIONAL DEPRECATED FUNCTIONALITY</b> (instead use <a href="http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Replication">MySQL replication</a> or point icradius_secrets to the external database) - your <a href="ftp://ftp.cheapnet.net/pub/icradius">ICRADIUS</a> machines or <a href="http://www.freeradius.org/">FreeRADIUS</a> (with MySQL authentication) machines, one per line.  Machines listed in this file will have the radcheck table exported to them.  Each line should contain four items, separted by whitespace: machine name, MySQL database name, MySQL username, and MySQL password.  For example: <CODE>"radius.isp.tld&nbsp;radius_db&nbsp;radius_user&nbsp;passw0rd"</CODE></blockquote>',
-    'type'        => [qw( checkbox textarea )],
-  },
-
-  {
-    'key'         => 'icradius_mysqldest',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add an <i>sqlradius</i> <a href="../browse/part_export.cgi">export</a> instead.  Used to be the destination directory for the MySQL databases, on the ICRADIUS/FreeRADIUS machines.  Defaults to "/usr/local/var/".',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'icradius_mysqlsource',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add an <i>sqlradius</i> <a href="../browse/part_export.cgi">export</a> instead.  Used to be the source directory for for the MySQL radcheck table files, on the Freeside machine.  Defaults to "/usr/local/var/freeside".',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'icradius_secrets',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add an <i>sqlradius</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to specify a database for ICRADIUS/FreeRADIUS export.  Three lines: DBI data source, username and password.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_from',
-    'section'     => 'required',
-    'description' => 'Return address on email invoices',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'invoice_template',
-    'section'     => 'required',
-    'description' => 'Required template file for invoices.  See the <a href="../docs/billing.html">billing documentation</a> for details.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_html',
-    'section'     => 'billing',
-    'description' => 'Optional HTML template for invoices.  See the <a href="../docs/billing.html">billing documentation</a> for details.',
-
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_htmlnotes',
-    'section'     => 'billing',
-    'description' => 'Notes section for HTML invoices.  Defaults to the same data in invoice_latexnotes if not specified.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_htmlfooter',
-    'section'     => 'billing',
-    'description' => 'Footer for HTML invoices.  Defaults to the same data in invoice_latexfooter if not specified.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_htmlreturnaddress',
-    'section'     => 'billing',
-    'description' => 'Return address for HTML invoices.  Defaults to the same data in invoice_latexreturnaddress if not specified.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_latex',
-    'section'     => 'billing',
-    'description' => 'Optional LaTeX template for typeset PostScript invoices.  See the <a href="../docs/billing.html">billing documentation</a> for details.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_latexnotes',
-    'section'     => 'billing',
-    'description' => 'Notes section for LaTeX typeset PostScript invoices.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_latexfooter',
-    'section'     => 'billing',
-    'description' => 'Footer for LaTeX typeset PostScript invoices.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_latexreturnaddress',
-    'section'     => 'billing',
-    'description' => 'Return address for LaTeX typeset PostScript invoices.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_latexsmallfooter',
-    'section'     => 'billing',
-    'description' => 'Optional small footer for multi-page LaTeX typeset PostScript invoices.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'invoice_email_pdf',
-    'section'     => 'billing',
-    'description' => 'Send PDF invoice as an attachment to emailed invoices.  By default, includes the plain text invoice as the email body, unless invoice_email_pdf_note is set.',
-    'type'        => 'checkbox'
-  },
-
-  {
-    'key'         => 'invoice_email_pdf_note',
-    'section'     => 'billing',
-    'description' => 'If defined, this text will replace the default plain text invoice as the body of emailed PDF invoices.',
-    'type'        => 'textarea'
-  },
-
-
-  { 
-    'key'         => 'invoice_default_terms',
-    'section'     => 'billing',
-    'description' => 'Optional default invoice term, used to calculate a due date printed on invoices.',
-    'type'        => 'select',
-    'select_enum' => [ '', 'Payable upon receipt', 'Net 0', 'Net 10', 'Net 15', 'Net 30', 'Net 45', 'Net 60' ],
-  },
-
-  {
-    'key'         => 'invoice_send_receipts',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, this used to send an invoice copy on payments and credits.  See the payment_receipt_email and XXXX instead.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'payment_receipt_email',
-    'section'     => 'billing',
-    'description' => 'Template file for payment receipts.  Payment receipts are sent to the customer email invoice destination(s) when a payment is received.  See the <a href="http://search.cpan.org/~mjd/Text-Template/lib/Text/Template.pm">Text::Template</a> documentation for details on the template substitution language.  The following variables are available: <ul><li><code>$date</code> <li><code>$name</code> <li><code>$paynum</code> - Freeside payment number <li><code>$paid</code> - Amount of payment <li><code>$payby</code> - Payment type (Card, Check, Electronic check, etc.) <li><code>$payinfo</code> - Masked credit card number or check number <li><code>$balance</code> - New balance</ul>',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'lpr',
-    'section'     => 'required',
-    'description' => 'Print command for paper invoices, for example `lpr -h\'',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'maildisablecatchall',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, now the default.  Turning this option on used to disable the requirement that each virtual domain have a catch-all mailbox.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'money_char',
-    'section'     => '',
-    'description' => 'Currency symbol - defaults to `$\'',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'mxmachines',
-    'section'     => 'deprecated',
-    'description' => 'MX entries for new domains, weight and machine, one per line, with trailing `.\'',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'nsmachines',
-    'section'     => 'deprecated',
-    'description' => 'NS nameservers for new domains, one per line, with trailing `.\'',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'defaultrecords',
-    'section'     => 'BIND',
-    'description' => 'DNS entries to add automatically when creating a domain',
-    'type'        => 'editlist',
-    'editlist_parts' => [ { type=>'text' },
-                          { type=>'immutable', value=>'IN' },
-                          { type=>'select',
-                            select_enum=>{ map { $_=>$_ } qw(A CNAME MX NS TXT)} },
-                          { type=> 'text' }, ],
-  },
-
-  {
-    'key'         => 'arecords',
-    'section'     => 'deprecated',
-    'description' => 'A list of tab seperated CNAME records to add automatically when creating a domain',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'cnamerecords',
-    'section'     => 'deprecated',
-    'description' => 'A list of tab seperated CNAME records to add automatically when creating a domain',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'nismachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>.  Your NIS master (not slave master) machines, one per line.  This enables export of `/etc/global/passwd\' and `/etc/global/shadow\'.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'passwordmin',
-    'section'     => 'password',
-    'description' => 'Minimum password length (default 6)',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'passwordmax',
-    'section'     => 'password',
-    'description' => 'Maximum password length (default 8) (don\'t set this over 12 if you need to import or export crypt() passwords)',
-    'type'        => 'text',
-  },
-
-  {
-    'key' => 'password-noampersand',
-    'section' => 'password',
-    'description' => 'Disallow ampersands in passwords',
-    'type' => 'checkbox',
-  },
-
-  {
-    'key' => 'password-noexclamation',
-    'section' => 'password',
-    'description' => 'Disallow exclamations in passwords (Not setting this could break old text Livingston or Cistron Radius servers)',
-    'type' => 'checkbox',
-  },
-
-  {
-    'key'         => 'qmailmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add <i>qmail</i> and <i>shellcommands</i> <a href="../browse/part_export.cgi">exports</a> instead.  This option used to export `/var/qmail/control/virtualdomains\', `/var/qmail/control/recipientmap\', and `/var/qmail/control/rcpthosts\'.  Setting this option (even if empty) also turns on user `.qmail-extension\' file maintenance in conjunction with the <b>shellmachine</b> option.',
-    'type'        => [qw( checkbox textarea )],
-  },
-
-  {
-    'key'         => 'radiusmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add an <i>sqlradius</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to export to be: your RADIUS authentication machines, one per line.  This enables export of `/etc/raddb/users\'.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'referraldefault',
-    'section'     => 'UI',
-    'description' => 'Default referral, specified by refnum',
-    'type'        => 'text',
-  },
-
-#  {
-#    'key'         => 'registries',
-#    'section'     => 'required',
-#    'description' => 'Directory which contains domain registry information.  Each registry is a directory.',
-#  },
-
-  {
-    'key'         => 'report_template',
-    'section'     => 'deprecated',
-    'description' => 'Deprecated template file for reports.',
-    'type'        => 'textarea',
-  },
-
-
-  {
-    'key'         => 'maxsearchrecordsperpage',
-    'section'     => 'UI',
-    'description' => 'If set, number of search records to return per page.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'sendmailconfigpath',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>sendmail</i> <a href="../browse/part_export.cgi">export</a> instead.  Used to be sendmail configuration file path.  Defaults to `/etc\'.  Many newer distributions use `/etc/mail\'.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'sendmailmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>sendmail</i> <a href="../browse/part_export.cgi">export</a> instead.  Used to be sendmail machines, one per line.  This enables export of `/etc/virtusertable\' and `/etc/sendmail.cw\'.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'sendmailrestart',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>sendmail</i> <a href="../browse/part_export.cgi">export</a> instead.  Used to define the command which is run on sendmail machines after files are copied.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'session-start',
-    'section'     => 'session',
-    'description' => 'If defined, the command which is executed on the Freeside machine when a session begins.  The contents of the file are treated as a double-quoted perl string, with the following variables available: <code>$ip</code>, <code>$nasip</code> and <code>$nasfqdn</code>, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'session-stop',
-    'section'     => 'session',
-    'description' => 'If defined, the command which is executed on the Freeside machine when a session ends.  The contents of the file are treated as a double-quoted perl string, with the following variables available: <code>$ip</code>, <code>$nasip</code> and <code>$nasfqdn</code>, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'shellmachine',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>shellcommands</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to contain a single machine with user home directories mounted.  This enables home directory creation, renaming and archiving/deletion.  In conjunction with `qmailmachines\', it also enables `.qmail-extension\' file maintenance.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'shellmachine-useradd',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>shellcommands</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to contain command(s) to run on shellmachine when an account is created.  If the <b>shellmachine</b> option is set but this option is not, <code>useradd -d $dir -m -s $shell -u $uid $username</code> is the default.  If this option is set but empty, <code>cp -pr /etc/skel $dir; chown -R $uid.$gid $dir</code> is the default instead.  Otherwise the value is evaluated as a double-quoted perl string, with the following variables available: <code>$username</code>, <code>$uid</code>, <code>$gid</code>, <code>$dir</code>, and <code>$shell</code>.',
-    'type'        => [qw( checkbox text )],
-  },
-
-  {
-    'key'         => 'shellmachine-userdel',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>shellcommands</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to contain command(s) to run on shellmachine when an account is deleted.  If the <b>shellmachine</b> option is set but this option is not, <code>userdel $username</code> is the default.  If this option is set but empty, <code>rm -rf $dir</code> is the default instead.  Otherwise the value is evaluated as a double-quoted perl string, with the following variables available: <code>$username</code> and <code>$dir</code>.',
-    'type'        => [qw( checkbox text )],
-  },
-
-  {
-    'key'         => 'shellmachine-usermod',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>shellcommands</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to contain command(s) to run on shellmachine when an account is modified.  If the <b>shellmachine</b> option is set but this option is empty, <code>[ -d $old_dir ] &amp;&amp; mv $old_dir $new_dir || ( chmod u+t $old_dir; mkdir $new_dir; cd $old_dir; find . -depth -print | cpio -pdm $new_dir; chmod u-t $new_dir; chown -R $uid.$gid $new_dir; rm -rf $old_dir )</code> is the default.  Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: <code>$old_dir</code>, <code>$new_dir</code>, <code>$uid</code> and <code>$gid</code>.',
-    #'type'        => [qw( checkbox text )],
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'shellmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>sysvshell</i> <a href="../browse/part_export.cgi">export</a> instead.  Your Linux and System V flavored shell (and mail) machines, one per line.  This enables export of `/etc/passwd\' and `/etc/shadow\' files.',
-     'type'        => 'textarea',
- },
-
-  {
-    'key'         => 'shells',
-    'section'     => 'required',
-    'description' => 'Legal shells (think /etc/shells).  You probably want to `cut -d: -f7 /etc/passwd | sort | uniq\' initially so that importing doesn\'t fail with `Illegal shell\' errors, then remove any special entries afterwords.  A blank line specifies that an empty shell is permitted.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'showpasswords',
-    'section'     => 'UI',
-    'description' => 'Display unencrypted user passwords in the backend (employee) web interface',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'signupurl',
-    'section'     => 'UI',
-    'description' => 'if you are using customer-to-customer referrals, and you enter the URL of your <a href="../docs/signup.html">signup server CGI</a>, the customer view screen will display a customized link to the signup server with the appropriate customer as referral',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'smtpmachine',
-    'section'     => 'required',
-    'description' => 'SMTP relay for Freeside\'s outgoing mail',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'soadefaultttl',
-    'section'     => 'BIND',
-    'description' => 'SOA default TTL for new domains.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'soaemail',
-    'section'     => 'BIND',
-    'description' => 'SOA email for new domains, in BIND form (`.\' instead of `@\'), with trailing `.\'',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'soaexpire',
-    'section'     => 'BIND',
-    'description' => 'SOA expire for new domains',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'soamachine',
-    'section'     => 'BIND',
-    'description' => 'SOA machine for new domains, with trailing `.\'',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'soarefresh',
-    'section'     => 'BIND',
-    'description' => 'SOA refresh for new domains',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'soaretry',
-    'section'     => 'BIND',
-    'description' => 'SOA retry for new domains',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'statedefault',
-    'section'     => 'UI',
-    'description' => 'Default state or province (if not supplied, the default is `CA\')',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'radiusprepend',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, real-time text radius now edits an existing file in place - just (turn off freeside-queued and) edit your RADIUS users file directly.  The contents used to be be prepended to the top of the RADIUS users file (text exports only).',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'textradiusprepend',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, use RADIUS check attributes instead.  The contents used to be prepended to the first line of a user\'s RADIUS entry in text exports.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'unsuspendauto',
-    'section'     => 'billing',
-    'description' => 'Enables the automatic unsuspension of suspended packages when a customer\'s balance due changes from positive to zero or negative as the result of a payment or credit',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'usernamemin',
-    'section'     => 'username',
-    'description' => 'Minimum username length (default 2)',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'usernamemax',
-    'section'     => 'username',
-    'description' => 'Maximum username length',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'username-ampersand',
-    'section'     => 'username',
-    'description' => 'Allow the ampersand character (&amp;) in usernames.  Be careful when using this option in conjunction with <a href="../browse/part_export.cgi">exports</a> which execute shell commands, as the ampersand will be interpreted by the shell if not quoted.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'username-letter',
-    'section'     => 'username',
-    'description' => 'Usernames must contain at least one letter',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'username-letterfirst',
-    'section'     => 'username',
-    'description' => 'Usernames must start with a letter',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'username-noperiod',
-    'section'     => 'username',
-    'description' => 'Disallow periods in usernames',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'username-nounderscore',
-    'section'     => 'username',
-    'description' => 'Disallow underscores in usernames',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'username-nodash',
-    'section'     => 'username',
-    'description' => 'Disallow dashes in usernames',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'username-uppercase',
-    'section'     => 'username',
-    'description' => 'Allow uppercase characters in usernames',
-    'type'        => 'checkbox',
-  },
-
-  { 
-    'key'         => 'username-percent',
-    'section'     => 'username',
-    'description' => 'Allow the percent character (%) in usernames.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'username_policy',
-    'section'     => 'deprecated',
-    'description' => 'This file controls the mechanism for preventing duplicate usernames in passwd/radius files exported from svc_accts.  This should be one of \'prepend domsvc\' \'append domsvc\' \'append domain\' or \'append @domain\'',
-    'type'        => 'select',
-    'select_enum' => [ 'prepend domsvc', 'append domsvc', 'append domain', 'append @domain' ],
-    #'type'        => 'text',
-  },
-
-  {
-    'key'         => 'vpopmailmachines',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>vpopmail</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to contain your vpopmail pop toasters, one per line.  Each line is of the form "machinename vpopdir vpopuid vpopgid".  For example: <code>poptoaster.domain.tld /home/vpopmail 508 508</code>  Note: vpopuid and vpopgid are values taken from the vpopmail machine\'s /etc/passwd',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'vpopmailrestart',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, add a <i>vpopmail</i> <a href="../browse/part_export.cgi">export</a> instead.  This option used to define the shell commands to run on vpopmail machines after files are copied.  An example can be found in eg/vpopmailrestart of the source distribution.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'safe-part_pkg',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, obsolete.  Used to validate package definition setup and recur expressions against a preset list.  Useful for webdemos, annoying to powerusers.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'safe-part_bill_event',
-    'section'     => 'UI',
-    'description' => 'Validates invoice event expressions against a preset list.  Useful for webdemos, annoying to powerusers.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'show_ss',
-    'section'     => 'UI',
-    'description' => 'Turns on display/collection of SS# in the web interface.',
-    'type'        => 'checkbox',
-  },
-
-  { 
-    'key'         => 'agent_defaultpkg',
-    'section'     => 'UI',
-    'description' => 'Setting this option will cause new packages to be available to all agent types by default.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'legacy_link',
-    'section'     => 'UI',
-    'description' => 'Display options in the web interface to link legacy pre-Freeside services.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'legacy_link-steal',
-    'section'     => 'UI',
-    'description' => 'Allow "stealing" an already-audited service from one customer (or package) to another using the link function.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'queue_dangerous_controls',
-    'section'     => 'UI',
-    'description' => 'Enable queue modification controls on account pages and for new jobs.  Unless you are a developer working on new export code, you should probably leave this off to avoid causing provisioning problems.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'security_phrase',
-    'section'     => 'password',
-    'description' => 'Enable the tracking of a "security phrase" with each account.  Not recommended, as it is vulnerable to social engineering.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'locale',
-    'section'     => 'UI',
-    'description' => 'Message locale',
-    'type'        => 'select',
-    'select_enum' => [ qw(en_US) ],
-  },
-
-  {
-    'key'         => 'selfservice_server-quiet',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, the self-service server no longer sends superfluous decline and cancel emails.  Used to disable decline and cancel emails generated by transactions initiated by the selfservice server.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'signup_server-quiet',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, the signup server is now part of the self-service server and no longer sends superfluous decline and cancel emails.  Used to disable decline and cancel emails generated by transactions initiated by the signup server.  Does not disable welcome emails.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'signup_server-payby',
-    'section'     => '',
-    'description' => 'Acceptable payment types for the signup server',
-    'type'        => 'selectmultiple',
-    'select_enum' => [ qw(CARD DCRD CHEK DCHK LECB PREPAY BILL COMP) ],
-  },
-
-  {
-    'key'         => 'signup_server-email',
-    'section'     => 'deprecated',
-    'description' => '<b>DEPRECATED</b>, this feature is no longer available.  See the ***fill me in*** report instead.  Used to contain a comma-separated list of email addresses to receive notification of signups via the signup server.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'signup_server-default_agentnum',
-    'section'     => '',
-    'description' => 'Default agentnum for the signup server',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'signup_server-default_refnum',
-    'section'     => '',
-    'description' => 'Default advertising source number for the signup server',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'show-msgcat-codes',
-    'section'     => 'UI',
-    'description' => 'Show msgcat codes in error messages.  Turn this option on before reporting errors to the mailing list.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'signup_server-realtime',
-    'section'     => '',
-    'description' => 'Run billing for signup server signups immediately, and do not provision accounts which subsequently have a balance.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'backend-realtime',
-    'section'     => '',
-    'description' => 'Run billing for backend signups immediately.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'declinetemplate',
-    'section'     => 'billing',
-    'description' => 'Template file for credit card decline emails.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'emaildecline',
-    'section'     => 'billing',
-    'description' => 'Enable emailing of credit card decline notices.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'emaildecline-exclude',
-    'section'     => 'billing',
-    'description' => 'List of error messages that should not trigger email decline notices, one per line.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'cancelmessage',
-    'section'     => 'billing',
-    'description' => 'Template file for cancellation emails.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'cancelsubject',
-    'section'     => 'billing',
-    'description' => 'Subject line for cancellation emails.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'emailcancel',
-    'section'     => 'billing',
-    'description' => 'Enable emailing of cancellation notices.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'require_cardname',
-    'section'     => 'billing',
-    'description' => 'Require an "Exact name on card" to be entered explicitly; don\'t default to using the first and last name.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'enable_taxclasses',
-    'section'     => 'billing',
-    'description' => 'Enable per-package tax classes',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'require_taxclasses',
-    'section'     => 'billing',
-    'description' => 'Require a taxclass to be entered for every package',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'welcome_email',
-    'section'     => '',
-    'description' => 'Template file for welcome email.  Welcome emails are sent to the customer email invoice destination(s) each time a svc_acct record is created.  See the <a href="http://search.cpan.org/~mjd/Text-Template/lib/Text/Template.pm">Text::Template</a> documentation for details on the template substitution language.  The following variables are available<ul><li><code>$username</code> <li><code>$password</code> <li><code>$first</code> <li><code>$last</code> <li><code>$pkg</code></ul>',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'welcome_email-from',
-    'section'     => '',
-    'description' => 'From: address header for welcome email',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'welcome_email-subject',
-    'section'     => '',
-    'description' => 'Subject: header for welcome email',
-    'type'        => 'text',
-  },
-  
-  {
-    'key'         => 'welcome_email-mimetype',
-    'section'     => '',
-    'description' => 'MIME type for welcome email',
-    'type'        => 'select',
-    'select_enum' => [ 'text/plain', 'text/html' ],
-  },
-
-  {
-    'key'         => 'payby',
-    'section'     => 'billing',
-    'description' => 'Available payment types.',
-    'type'        => 'selectmultiple',
-    'select_enum' => [ qw(CARD DCRD CHEK DCHK LECB BILL CASH WEST MCRD COMP) ],
-  },
-
-  {
-    'key'         => 'payby-default',
-    'section'     => 'UI',
-    'description' => 'Default payment type.  HIDE disables display of billing information and sets customers to BILL.',
-    'type'        => 'select',
-    'select_enum' => [ '', qw(CARD DCRD CHEK DCHK LECB BILL CASH WEST MCRD COMP HIDE) ],
-  },
-
-  {
-    'key'         => 'svc_acct-notes',
-    'section'     => 'UI',
-    'description' => 'Extra HTML to be displayed on the Account View screen.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'radius-password',
-    'section'     => '',
-    'description' => 'RADIUS attribute for plain-text passwords.',
-    'type'        => 'select',
-    'select_enum' => [ 'Password', 'User-Password' ],
-  },
-
-  {
-    'key'         => 'radius-ip',
-    'section'     => '',
-    'description' => 'RADIUS attribute for IP addresses.',
-    'type'        => 'select',
-    'select_enum' => [ 'Framed-IP-Address', 'Framed-Address' ],
-  },
-
-  {
-    'key'         => 'svc_acct-alldomains',
-    'section'     => '',
-    'description' => 'Allow accounts to select any domain in the database.  Normally accounts can only select from the domain set in the service definition and those purchased by the customer.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'dump-scpdest',
-    'section'     => '',
-    'description' => 'destination for scp database dumps: user@host:/path',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'dump-pgpid',
-    'section'     => '',
-    'description' => "Optional PGP public key user or key id for database dumps.  The public key should exist on the freeside user's public keyring, and the gpg binary and GnuPG perl module should be installed.",
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'users-allow_comp',
-    'section'     => '',
-    'description' => 'Usernames (Freeside users, created with <a href="../docs/man/bin/freeside-adduser.html">freeside-adduser</a>) which can create complimentary customers, one per line.  If no usernames are entered, all users can create complimentary accounts.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'cvv-save',
-    'section'     => 'billing',
-    'description' => 'Save CVV2 information after the initial transaction for the selected credit card types.  Enabling this option may be in violation of your merchant agreement(s), so please check them carefully before enabling this option for any credit card types.',
-    'type'        => 'selectmultiple',
-    'select_enum' => [ "VISA card",
-                       "MasterCard",
-                       "Discover card",
-                       "American Express card",
-                       "Diner's Club/Carte Blanche",
-                       "enRoute",
-                       "JCB",
-                       "BankCard",
-                     ],
-  },
-
-  {
-    'key'         => 'allow_negative_charges',
-    'section'     => 'billing',
-    'description' => 'Allow negative charges.  Normally not used unless importing data from a legacy system that requires this.',
-    'type'        => 'checkbox',
-  },
-  {
-      'key'         => 'auto_unset_catchall',
-      'section'     => '',
-      'description' => 'When canceling a svc_acct that is the email catchall for one or more svc_domains, automatically set their catchall fields to null.  If this option is not set, the attempt will simply fail.',
-      'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'system_usernames',
-    'section'     => 'username',
-    'description' => 'A list of system usernames that cannot be edited or removed, one per line.  Use a bare username to prohibit modification/deletion of the username in any domain, or username@domain to prohibit modification/deletetion of a specific username and domain.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'cust_pkg-change_svcpart',
-    'section'     => '',
-    'description' => "When changing packages, move services even if svcparts don't match between old and new pacakge definitions.",
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'disable_autoreverse',
-    'section'     => 'BIND',
-    'description' => 'Disable automatic synchronization of reverse-ARPA entries.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'svc_www-enable_subdomains',
-    'section'     => '',
-    'description' => 'Enable selection of specific subdomains for virtual host creation.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'svc_www-usersvc_svcpart',
-    'section'     => '',
-    'description' => 'Allowable service definition svcparts for virtual hosts, one per line.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'selfservice_server-primary_only',
-    'section'     => '',
-    'description' => 'Only allow primary accounts to access self-service functionality.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'card_refund-days',
-    'section'     => 'billing',
-    'description' => 'After a payment, the number of days a refund link will be available for that payment.  Defaults to 120.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'agent-showpasswords',
-    'section'     => '',
-    'description' => 'Display unencrypted user passwords in the agent (reseller) interface',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'global_unique-username',
-    'section'     => 'username',
-    'description' => 'Global username uniqueness control: none (usual setting - check uniqueness per exports), username (all usernames are globally unique, regardless of domain or exports), or username@domain (all username@domain pairs are globally unique, regardless of exports)',
-    'type'        => 'select',
-    'select_enum' => [ 'none', 'username', 'username@domain' ],
-  },
-
-  {
-    'key'         => 'svc_external-skip_manual',
-    'section'     => 'UI',
-    'description' => 'When provisioning svc_external services, skip manual entry of id and title fields in the UI.  Usually used in conjunction with an export that populates these fields (i.e. artera_turbo).',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'svc_external-display_type',
-    'section'     => 'UI',
-    'description' => 'Select a specific svc_external type to enable some UI changes specific to that type (i.e. artera_turbo).',
-    'type'        => 'select',
-    'select_enum' => [ 'generic', 'artera_turbo', ],
-  },
-
-  {
-    'key'         => 'ticket_system',
-    'section'     => '',
-    'description' => 'Ticketing system integration.  <b>RT_Internal</b> uses the built-in RT ticketing system (see the <a href="../docs/install-rt">integrated ticketing installation instructions</a>).   <b>RT_External</b> accesses an external RT installation in a separate database (local or remote).',
-    'type'        => 'select',
-    #'select_enum' => [ '', qw(RT_Internal RT_Libs RT_External) ],
-    'select_enum' => [ '', qw(RT_Internal RT_External) ],
-  },
-
-  {
-    'key'         => 'ticket_system-default_queueid',
-    'section'     => '',
-    'description' => 'Default queue used when creating new customer tickets.',
-    'type'        => 'select-sub',
-    'options_sub' => sub {
-                           my $conf = new FS::Conf;
-                           if ( $conf->config('ticket_system') ) {
-                             eval "use FS::TicketSystem;";
-                             die $@ if $@;
-                             FS::TicketSystem->queues();
-                           } else {
-                             ();
-                           }
-                         },
-    'option_sub'  => sub { 
-                           my $conf = new FS::Conf;
-                           if ( $conf->config('ticket_system') ) {
-                             eval "use FS::TicketSystem;";
-                             die $@ if $@;
-                             FS::TicketSystem->queue(shift);
-                           } else {
-                             '';
-                           }
-                         },
-  },
-
-  {
-    'key'         => 'ticket_system-custom_priority_field',
-    'section'     => '',
-    'description' => 'Custom field from the ticketing system to use as a custom priority classification.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'ticket_system-custom_priority_field-values',
-    'section'     => '',
-    'description' => 'Values for the custom field from the ticketing system to break down and sort customer ticket lists.',
-    'type'        => 'textarea',
-  },
-
-  {
-    'key'         => 'ticket_system-custom_priority_field_queue',
-    'section'     => '',
-    'description' => 'Ticketing system queue in which the custom field specified in ticket_system-custom_priority_field is located.',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'ticket_system-rt_external_datasrc',
-    'section'     => '',
-    'description' => 'With external RT integration, the DBI data source for the external RT installation, for example, <code>DBI:Pg:user=rt_user;password=rt_word;host=rt.example.com;dbname=rt</code>',
-    'type'        => 'text',
-
-  },
-
-  {
-    'key'         => 'ticket_system-rt_external_url',
-    'section'     => '',
-    'description' => 'With external RT integration, the URL for the external RT installation, for example, <code>https://rt.example.com/rt</code>',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'company_name',
-    'section'     => 'required',
-    'description' => 'Your company name',
-    'type'        => 'text',
-  },
-
-  {
-    'key'         => 'echeck-void',
-    'section'     => 'billing',
-    'description' => 'Enable local-only voiding of echeck payments in addition to refunds against the payment gateway',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'cc-void',
-    'section'     => 'billing',
-    'description' => 'Enable local-only voiding of credit card payments in addition to refunds against the payment gateway',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'unvoid',
-    'section'     => 'billing',
-    'description' => 'Enable unvoiding of voided payments',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'address2-search',
-    'section'     => 'UI',
-    'description' => 'Enable a "Unit" search box which searches the second address field',
-    'type'        => 'checkbox',
-  },
-
-  { 'key'         => 'referral_credit',
-    'section'     => 'billing',
-    'description' => "Enables one-time referral credits in the amount of one month <i>referred</i> customer's recurring fee (irregardless of frequency).",
-    'type'        => 'checkbox',
-  },
-
-  { 'key'         => 'selfservice_server-cache_module',
-    'section'     => '',
-    'description' => 'Module used to store self-service session information.  All modules handle any number of self-service servers.  Cache::SharedMemoryCache is appropriate for a single database / single Freeside server.  Cache::FileCache is useful for multiple databases on a single server, or when IPC::ShareLite is not available (i.e. FreeBSD).', #  _Database stores session information in the database and is appropriate for multiple Freeside servers, but may be slower.',
-    'type'        => 'select',
-    'select_enum' => [ 'Cache::SharedMemoryCache', 'Cache::FileCache', ], # '_Database' ],
-  },
-
-  {
-    'key'         => 'hylafax',
-    'section'     => '',
-    'description' => 'Options for a HylaFAX server to enable the FAX invoice destination.  They should be in the form of a space separated list of arguments to the Fax::Hylafax::Client::sendfax subroutine.  You probably shouldn\'t override things like \'docfile\'.  *Note* Only supported when using typeset invoices (see the invoice_latex configuration option).',
-    'type'        => [qw( checkbox textarea )],
-  },
-
-  {
-    'key'         => 'svc_acct-usage_suspend',
-    'section'     => 'billing',
-    'description' => 'Suspends the package an account belongs to when svc_acct.seconds is decremented to 0 or below (accounts with an empty seconds value are ignored).  Typically used in conjunction with prepaid packages and freeside-sqlradius-radacctd.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'svc_acct-usage_unsuspend',
-    'section'     => 'billing',
-    'description' => 'Unuspends the package an account belongs to when svc_acct.seconds is incremented from 0 or below to a positive value (accounts with an empty seconds value are ignored).  Typically used in conjunction with prepaid packages and freeside-sqlradius-radacctd.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'cust-fields',
-    'section'     => 'UI',
-    'description' => 'Which customer fields to display on reports',
-    'type'        => 'select',
-    'select_enum' => [
-      'Customer: Last, First</b> or</i> Company (Last, First)</b>',
-      'Cust# | Customer: custnum | Last, First or Company (Last, First)',
-      'Name | Company: Last, First | Company',
-      'Cust# | Name | Company: custnum | Last, First | Company',
-      '(bill) Customer | (service) Customer: Last, First or Company (Last, First) | (same for service address if present)',
-      'Cust# | (bill) Customer | (service) Customer:  custnum | Last, First or Company (Last, First) | (same for service address if present)',
-      '(bill) Name | (bill) Company | (service) Name | (service) Company: Last, First | Company | (same for service address if present)',
-      'Cust# | (bill) Name | (bill) Company | (service) Name | (service) Company: custnum | Last, First | Company | (same for service address if present)',
-    ],
-  },
-
-  {
-    'key'         => 'cust_pkg-display_times',
-    'section'     => 'UI',
-    'description' => 'Display full timestamps (not just dates) for customer packages.  Useful if you are doing real-time things like hourly prepaid.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'svc_acct-edit_uid',
-    'section'     => 'shell',
-    'description' => 'Allow UID editing.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'svc_acct-edit_gid',
-    'section'     => 'shell',
-    'description' => 'Allow GID editing.',
-    'type'        => 'checkbox',
-  },
-
-  {
-    'key'         => 'zone-underscore',
-    'section'     => 'BIND',
-    'description' => 'Allow underscores in zone names.  As underscores are illegal characters in zone names, this option is not recommended.',
-    'type'        => 'checkbox',
-  },
-
-);
-
-1;
-
diff --git a/FS/FS/ConfItem.pm b/FS/FS/ConfItem.pm
deleted file mode 100644 (file)
index a0e997a..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-package FS::ConfItem;
-
-=head1 NAME
-
-FS::ConfItem - Configuration option meta-data.
-
-=head1 SYNOPSIS
-
-  use FS::Conf;
-  @config_items = $conf->config_items;
-
-  foreach $item ( @config_items ) {
-    $key = $item->key;
-    $section = $item->section;
-    $description = $item->description;
-  }
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=over 4
-
-=item new
-
-=cut
-
-sub new {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self = @_ ? shift : {};
-  bless ($self, $class);
-}
-
-=item key
-
-=item section
-
-=item description
-
-=cut
-
-sub AUTOLOAD {
-  my $self = shift;
-  my $field = $AUTOLOAD;
-  $field =~ s/.*://;
-  $self->{$field};
-}
-
-=back
-
-=head1 BUGS
-
-Terse docs.
-
-=head1 SEE ALSO
-
-L<FS::Conf>
-
-=cut
-
-1;
-
diff --git a/FS/FS/Daemon.pm b/FS/FS/Daemon.pm
deleted file mode 100644 (file)
index 3e64f79..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-package FS::Daemon;
-
-use vars qw( @ISA @EXPORT_OK );
-use vars qw( $pid_dir $me $pid_file $sigint $sigterm $logfile );
-use Exporter;
-use Fcntl qw(:flock);
-use POSIX qw(setsid);
-use Date::Format;
-
-#this is a simple refactoring of the stuff from freeside-queued, just to
-#avoid duplicate code.  eventually this should use something from CPAN.
-
-@ISA = qw(Exporter);
-@EXPORT_OK = qw( daemonize1 drop_root daemonize2 sigint sigterm logfile );
-
-$pid_dir = '/var/run';
-
-sub daemonize1 {
-  $me = shift;
-
-  $pid_file = "$pid_dir/$me";
-  $pid_file .= '.'.shift if scalar(@_);
-  $pid_file .= '.pid';
-
-  chdir "/" or die "Can't chdir to /: $!";
-  open STDIN, '/dev/null' or die "Can't read /dev/null: $!";
-  defined(my $pid = fork) or die "Can't fork: $!";
-  if ( $pid ) {
-    print "$me started with pid $pid\n"; #logging to $log_file\n";
-    exit unless $pid_file;
-    my $pidfh = new IO::File ">$pid_file" or exit;
-    print $pidfh "$pid\n";
-    exit;
-  }
-
-  #sub REAPER { my $pid = wait; $SIG{CHLD} = \&REAPER; $kids--; }
-  #$SIG{CHLD} =  \&REAPER;
-  $sigterm = 0;
-  $sigint = 0;
-  $SIG{INT}  = sub { warn "SIGINT received; shutting down\n"; $sigint++;  };
-  $SIG{TERM} = sub { warn "SIGTERM received; shutting down\n"; $sigterm++; };
-}
-
-sub drop_root {
-  my $freeside_gid = scalar(getgrnam('freeside'))
-    or die "can't find freeside group\n";
-  $) = $freeside_gid;
-  $( = $freeside_gid;
-  #if freebsd can't setuid(), presumably it can't setgid() either.  grr fleabsd
-  ($(,$)) = ($),$();
-  $) = $freeside_gid;
-  
-  $> = $FS::UID::freeside_uid;
-  $< = $FS::UID::freeside_uid;
-  #freebsd is sofa king broken, won't setuid()
-  ($<,$>) = ($>,$<);
-  $> = $FS::UID::freeside_uid;
-}
-
-sub daemonize2 {
-  open STDOUT, '>/dev/null' or die "Can't write to /dev/null: $!";
-  setsid                    or die "Can't start a new session: $!";
-  open STDERR, '>&STDOUT'   or die "Can't dup stdout: $!";
-
-  $SIG{__DIE__} = \&_die;
-  $SIG{__WARN__} = \&_logmsg;
-
-  warn "$me starting\n";
-}
-
-sub sigint  { $sigint; }
-sub sigterm { $sigterm; }
-
-sub logfile { $logfile = shift; } #_logmsg('test'); }
-
-sub _die {
-  my $msg = shift;
-  unlink $pid_file if -e $pid_file;
-  _logmsg($msg);
-}
-
-sub _logmsg {
-  chomp( my $msg = shift );
-  my $log = new IO::File ">>$logfile";
-  flock($log, LOCK_EX);
-  seek($log, 0, 2);
-  print $log "[". time2str("%a %b %e %T %Y",time). "] [$$] $msg\n";
-  flock($log, LOCK_UN);
-  close $log;
-}
-
diff --git a/FS/FS/InitHandler.pm b/FS/FS/InitHandler.pm
deleted file mode 100644 (file)
index 5038cf3..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-package FS::InitHandler;
-
-# this leaks memory under graceful restarts and i wouldn't use it on any
-# modern server.  useful for very slow machines with memory to spare, just
-# always do a full restart
-
-use strict;
-use vars qw($DEBUG);
-use FS::UID qw(adminsuidsetup);
-use FS::Record;
-
-$DEBUG = 1;
-
-sub handler {
-
-  use Date::Format;
-  use Date::Parse;
-  use Tie::IxHash;
-  use HTML::Entities;
-  use IO::Handle;
-  use IO::File;
-  use String::Approx;
-  use HTML::Widgets::SelectLayers 0.02;
-  #use FS::UID;
-  #use FS::Record;
-  use FS::Conf;
-  use FS::CGI;
-  use FS::Msgcat;
-  
-  use FS::agent;
-  use FS::agent_type;
-  use FS::domain_record;
-  use FS::cust_bill;
-  use FS::cust_bill_pay;
-  use FS::cust_credit;
-  use FS::cust_credit_bill;
-  use FS::cust_main;
-  use FS::cust_main_county;
-  use FS::cust_pay;
-  use FS::cust_pkg;
-  use FS::cust_refund;
-  use FS::cust_svc;
-  use FS::nas;
-  use FS::part_bill_event;
-  use FS::part_pkg;
-  use FS::part_referral;
-  use FS::part_svc;
-  use FS::pkg_svc;
-  use FS::port;
-  use FS::queue;
-  use FS::raddb;
-  use FS::session;
-  use FS::svc_acct;
-  use FS::svc_acct_pop;
-  use FS::svc_domain;
-  use FS::svc_forward;
-  use FS::svc_www;
-  use FS::type_pkgs;
-  use FS::part_export;
-  use FS::part_export_option;
-  use FS::export_svc;
-  use FS::msgcat;
-
-  warn "[FS::InitHandler] handler called\n" if $DEBUG;
-
-  #this is sure to be broken on freebsd
-  $> = $FS::UID::freeside_uid;
-
-  open(MAPSECRETS,"<$FS::UID::conf_dir/mapsecrets")
-    or die "can't read $FS::UID::conf_dir/mapsecrets: $!";
-
-  my %seen;
-  while (<MAPSECRETS>) {
-    next if /^\s*(#|$)/;
-    /^([\w\-\.]+)\s(.*)$/
-      or do { warn "strange line in mapsecrets: $_"; next; };
-    my($user, $datasrc) = ($1, $2);
-    next if $seen{$datasrc}++;
-    warn "[FS::InitHandler] preloading $datasrc for $user\n" if $DEBUG;
-    adminsuidsetup($user);
-  }
-
-  close MAPSECRETS;
-
-  #lalala probably broken on freebsd
-  ($<, $>) = ($>, $<);
-  $< = 0;
-
-}
-
-1;
diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm
deleted file mode 100644 (file)
index 2e383d5..0000000
+++ /dev/null
@@ -1,357 +0,0 @@
-package FS::Misc;
-
-use strict;
-use vars qw ( @ISA @EXPORT_OK $DEBUG );
-use Exporter;
-use Carp;
-use Data::Dumper;
-
-@ISA = qw( Exporter );
-@EXPORT_OK = qw( send_email send_fax );
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::Misc - Miscellaneous subroutines
-
-=head1 SYNOPSIS
-
-  use FS::Misc qw(send_email);
-
-  send_email();
-
-=head1 DESCRIPTION
-
-Miscellaneous subroutines.  This module contains miscellaneous subroutines
-called from multiple other modules.  These are not OO or necessarily related,
-but are collected here to elimiate code duplication.
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item send_email OPTION => VALUE ...
-
-Options:
-
-I<from> - (required)
-
-I<to> - (required) comma-separated scalar or arrayref of recipients
-
-I<subject> - (required)
-
-I<content-type> - (optional) MIME type for the body
-
-I<body> - (required unless I<nobody> is true) arrayref of body text lines
-
-I<mimeparts> - (optional, but required if I<nobody> is true) arrayref of MIME::Entity->build PARAMHASH refs or MIME::Entity objects.  These will be passed as arguments to MIME::Entity->attach().
-
-I<nobody> - (optional) when set true, send_email will ignore the I<body> option and simply construct a message with the given I<mimeparts>.  In this case,
-I<content-type>, if specified, overrides the default "multipart/mixed" for the outermost MIME container.
-
-I<content-encoding> - (optional) when using nobody, optional top-level MIME
-encoding which, if specified, overrides the default "7bit".
-
-I<type> - (optional) type parameter for multipart/related messages
-
-=cut
-
-use vars qw( $conf );
-use Date::Format;
-use Mail::Header;
-use Mail::Internet 1.44;
-use MIME::Entity;
-use FS::UID;
-
-FS::UID->install_callback( sub {
-  $conf = new FS::Conf;
-} );
-
-sub send_email {
-  my(%options) = @_;
-  if ( $DEBUG ) {
-    my %doptions = %options;
-    $doptions{'body'} = '(full body not shown in debug)';
-    warn "FS::Misc::send_email called with options:\n  ". Dumper(\%doptions);
-#         join("\n", map { "  $_: ". $options{$_} } keys %options ). "\n"
-  }
-
-  $ENV{MAILADDRESS} = $options{'from'};
-  my $to = ref($options{to}) ? join(', ', @{ $options{to} } ) : $options{to};
-
-  my @mimeargs = ();
-  my @mimeparts = ();
-  if ( $options{'nobody'} ) {
-
-    croak "'mimeparts' option required when 'nobody' option given\n"
-      unless $options{'mimeparts'};
-
-    @mimeparts = @{$options{'mimeparts'}};
-
-    @mimeargs = (
-      'Type'         => ( $options{'content-type'} || 'multipart/mixed' ),
-      'Encoding'     => ( $options{'content-encoding'} || '7bit' ),
-    );
-
-  } else {
-
-    @mimeparts = @{$options{'mimeparts'}}
-      if ref($options{'mimeparts'}) eq 'ARRAY';
-
-    if (scalar(@mimeparts)) {
-
-      @mimeargs = (
-        'Type'     => 'multipart/mixed',
-        'Encoding' => '7bit',
-      );
-  
-      unshift @mimeparts, { 
-        'Type'        => ( $options{'content-type'} || 'text/plain' ),
-        'Data'        => $options{'body'},
-        'Encoding'    => ( $options{'content-type'} ? '-SUGGEST' : '7bit' ),
-        'Disposition' => 'inline',
-      };
-
-    } else {
-    
-      @mimeargs = (
-        'Type'     => ( $options{'content-type'} || 'text/plain' ),
-        'Data'     => $options{'body'},
-        'Encoding' => ( $options{'content-type'} ? '-SUGGEST' : '7bit' ),
-      );
-
-    }
-
-  }
-
-  my $domain;
-  if ( $options{'from'} =~ /\@([\w\.\-]+)/ ) {
-    $domain = $1;
-  } else {
-    warn 'no domain found in invoice from address '. $options{'from'}.
-         '; constructing Message-ID @example.com'; 
-    $domain = 'example.com';
-  }
-  my $message_id = join('.', rand()*(2**32), $$, time). "\@$domain";
-
-  my $message = MIME::Entity->build(
-    'From'       => $options{'from'},
-    'To'         => $to,
-    'Sender'     => $options{'from'},
-    'Reply-To'   => $options{'from'},
-    'Date'       => time2str("%a, %d %b %Y %X %z", time),
-    'Subject'    => $options{'subject'},
-    'Message-ID' => "<$message_id>",
-    @mimeargs,
-  );
-
-  if ( $options{'type'} ) {
-    #false laziness w/cust_bill::generate_email
-    $message->head->replace('Content-type',
-      $message->mime_type.
-      '; boundary="'. $message->head->multipart_boundary. '"'.
-      '; type='. $options{'type'}
-    );
-  }
-
-  foreach my $part (@mimeparts) {
-
-    if ( UNIVERSAL::isa($part, 'MIME::Entity') ) {
-
-      warn "attaching MIME part from MIME::Entity object\n"
-        if $DEBUG;
-      $message->add_part($part);
-
-    } elsif ( ref($part) eq 'HASH' ) {
-
-      warn "attaching MIME part from hashref:\n".
-           join("\n", map "  $_: ".$part->{$_}, keys %$part ). "\n"
-        if $DEBUG;
-      $message->attach(%$part);
-
-    } else {
-      croak "mimepart $part isn't a hashref or MIME::Entity object!";
-    }
-
-  }
-
-  my $smtpmachine = $conf->config('smtpmachine');
-  $!=0;
-
-  $message->mysmtpsend( 'Host'     => $smtpmachine,
-                        'MailFrom' => $options{'from'},
-                      );
-
-}
-
-=item send_fax OPTION => VALUE ...
-
-Options:
-
-I<dialstring> - (required) 10-digit phone number w/ area code
-
-I<docdata> - (required) Array ref containing PostScript or TIFF Class F document
-
--or-
-
-I<docfile> - (required) Filename of PostScript TIFF Class F document
-
-...any other options will be passed to L<Fax::Hylafax::Client::sendfax>
-
-
-=cut
-
-sub send_fax {
-
-  my %options = @_;
-
-  die 'HylaFAX support has not been configured.'
-    unless $conf->exists('hylafax');
-
-  eval {
-    require Fax::Hylafax::Client;
-  };
-
-  if ($@) {
-    if ($@ =~ /^Can't locate Fax.*/) {
-      die "You must have Fax::Hylafax::Client installed to use invoice faxing."
-    } else {
-      die $@;
-    }
-  }
-
-  my %hylafax_opts = map { split /\s+/ } $conf->config('hylafax');
-
-  die 'Called send_fax without a \'dialstring\'.'
-    unless exists($options{'dialstring'});
-
-  if (exists($options{'docdata'}) and ref($options{'docdata'}) eq 'ARRAY') {
-      my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-      my $fh = new File::Temp(
-        TEMPLATE => 'faxdoc.'. $options{'dialstring'} . '.XXXXXXXX',
-        DIR      => $dir,
-        UNLINK   => 0,
-      ) or die "can't open temp file: $!\n";
-
-      $options{docfile} = $fh->filename;
-
-      print $fh @{$options{'docdata'}};
-      close $fh;
-
-      delete $options{'docdata'};
-  }
-
-  die 'Called send_fax without a \'docfile\' or \'docdata\'.'
-    unless exists($options{'docfile'});
-
-  #FIXME: Need to send canonical dialstring to HylaFAX, but this only
-  #       works in the US.
-
-  $options{'dialstring'} =~ s/[^\d\+]//g;
-  if ($options{'dialstring'} =~ /^\d{10}$/) {
-    $options{dialstring} = '+1' . $options{'dialstring'};
-  } else {
-    return 'Invalid dialstring ' . $options{'dialstring'} . '.';
-  }
-
-  my $faxjob = &Fax::Hylafax::Client::sendfax(%options, %hylafax_opts);
-
-  if ($faxjob->success) {
-    warn "Successfully queued fax to '$options{dialstring}' with jobid " .
-           $faxjob->jobid
-      if $DEBUG;
-    return '';
-  } else {
-    return 'Error while sending FAX: ' . $faxjob->trace;
-  }
-
-}
-
-package Mail::Internet;
-
-use Mail::Address;
-use Net::SMTP;
-
-sub Mail::Internet::mysmtpsend {
-    my $src  = shift;
-    my %opt = @_;
-    my $host = $opt{Host};
-    my $envelope = $opt{MailFrom};
-    my $noquit = 0;
-    my $smtp;
-    my @hello = defined $opt{Hello} ? (Hello => $opt{Hello}) : ();
-
-    push(@hello, 'Port', $opt{'Port'})
-       if exists $opt{'Port'};
-
-    push(@hello, 'Debug', $opt{'Debug'})
-       if exists $opt{'Debug'};
-
-    if(ref($host) && UNIVERSAL::isa($host,'Net::SMTP')) {
-       $smtp = $host;
-       $noquit = 1;
-    }
-    else {
-       #local $SIG{__DIE__};
-       #$smtp = eval { Net::SMTP->new($host, @hello) };
-       $smtp = new Net::SMTP $host, @hello;
-    }
-
-    unless ( defined($smtp) ) {
-      my $err = $!;
-      $err =~ s/Invalid argument/Unknown host/;
-      return "can't connect to $host: $err"
-    }
-
-    my $hdr = $src->head->dup;
-
-    _prephdr($hdr);
-
-    # Who is it to
-
-    my @rcpt = map { ref($_) ? @$_ : $_ } grep { defined } @opt{'To','Cc','Bcc'};
-    @rcpt = map { $hdr->get($_) } qw(To Cc Bcc)
-       unless @rcpt;
-    my @addr = map($_->address, Mail::Address->parse(@rcpt));
-
-    return 'No valid destination addresses found!'
-       unless(@addr);
-
-    $hdr->delete('Bcc'); # Remove blind Cc's
-
-    # Send it
-
-    #warn "Headers: \n" . join('',@{$hdr->header});
-    #warn "Body: \n" . join('',@{$src->body});
-
-    my $ok = $smtp->mail( $envelope ) &&
-               $smtp->to(@addr) &&
-               $smtp->data(join("", @{$hdr->header},"\n",@{$src->body}));
-
-    if ( $ok ) {
-      $smtp->quit
-          unless $noquit;
-      return '';
-    } else {
-      return $smtp->code. ' '. $smtp->message;
-    }
-
-}
-package FS::Misc;
-
-=back
-
-=head1 BUGS
-
-This package exists.
-
-=head1 SEE ALSO
-
-L<FS::UID>, L<FS::CGI>, L<FS::Record>, the base documentation.
-
-L<Fax::Hylafax::Client>
-
-=cut
-
-1;
diff --git a/FS/FS/Msgcat.pm b/FS/FS/Msgcat.pm
deleted file mode 100644 (file)
index 625743d..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-package FS::Msgcat;
-
-use strict;
-use vars qw( @ISA @EXPORT_OK $conf $locale $debug );
-use Exporter;
-use FS::UID;
-#use FS::Record qw( qsearchs ); # wtf?  won't import...
-use FS::Record;
-use FS::Conf;
-use FS::msgcat;
-
-@ISA = qw(Exporter);
-@EXPORT_OK = qw( gettext geterror );
-
-$FS::UID::callback{'Msgcat'} = sub {
-  $conf = new FS::Conf;
-  $locale = $conf->config('locale') || 'en_US';
-  $debug = $conf->exists('show-msgcat-codes')
-};
-
-=head1 NAME
-
-FS::Msgcat - Message catalog functions
-
-=head1 SYNOPSIS
-
-  use FS::Msgcat qw(gettext geterror);
-
-  #simple interface for retreiving messages...
-  $message = gettext('msgcode');
-  #or errors (includes the error code)
-  $message = geterror('msgcode');
-
-=head1 DESCRIPTION
-
-FS::Msgcat provides functions to use the message catalog.  If you want to
-maintain the message catalog database, see L<FS::msgcat> instead.
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item gettext MSGCODE
-
-Returns the full message for the supplied message code.
-
-=cut
-
-sub gettext {
-  $debug ? geterror(@_) : _gettext(@_);
-}
-
-sub _gettext {
-  my $msgcode = shift;
-  my $msgcat = FS::Record::qsearchs('msgcat', {
-    'msgcode' => $msgcode,
-    'locale' => $locale
-  } );
-  if ( $msgcat ) {
-    $msgcat->msg;
-  } else {
-    warn "WARNING: message for msgcode $msgcode in locale $locale not found";
-    $msgcode;
-  }
-
-}
-
-=item geterror MSGCODE
-
-Returns the full message for the supplied message code, including the message
-code.
-
-=cut
-
-sub geterror {
-  my $msgcode = shift;
-  my $msg = _gettext($msgcode);
-  if ( $msg eq $msgcode ) {
-    "Error code $msgcode (message for locale $locale not found)";
-  } else {
-    "$msg (error code $msgcode)";
-  }
-}
-
-=back
-
-=head1 BUGS
-
-i18n/l10n, eek
-
-=head1 SEE ALSO
-
-L<FS::msgcat>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
deleted file mode 100644 (file)
index 887c8dc..0000000
+++ /dev/null
@@ -1,1909 +0,0 @@
-package FS::Record;
-
-use strict;
-use vars qw( $AUTOLOAD @ISA @EXPORT_OK $DEBUG
-             $me %virtual_fields_cache $nowarn_identical );
-use Exporter;
-use Carp qw(carp cluck croak confess);
-use File::CounterFile;
-use Locale::Country;
-use DBI qw(:sql_types);
-use DBIx::DBSchema 0.25;
-use FS::UID qw(dbh getotaker datasrc driver_name);
-use FS::Schema qw(dbdef);
-use FS::SearchCache;
-use FS::Msgcat qw(gettext);
-use FS::Conf;
-
-use FS::part_virtual_field;
-
-use Tie::IxHash;
-
-@ISA = qw(Exporter);
-
-#export dbdef for now... everything else expects to find it here
-@EXPORT_OK = qw(dbh fields hfields qsearch qsearchs dbdef jsearch);
-
-$DEBUG = 0;
-$me = '[FS::Record]';
-
-$nowarn_identical = 0;
-
-my $conf;
-my $rsa_module;
-my $rsa_loaded;
-my $rsa_encrypt;
-my $rsa_decrypt;
-
-FS::UID->install_callback( sub {
-  $conf = new FS::Conf; 
-  $File::CounterFile::DEFAULT_DIR = "/usr/local/etc/freeside/counters.". datasrc;
-} );
-
-=head1 NAME
-
-FS::Record - Database record objects
-
-=head1 SYNOPSIS
-
-    use FS::Record;
-    use FS::Record qw(dbh fields qsearch qsearchs);
-
-    $record = new FS::Record 'table', \%hash;
-    $record = new FS::Record 'table', { 'column' => 'value', ... };
-
-    $record  = qsearchs FS::Record 'table', \%hash;
-    $record  = qsearchs FS::Record 'table', { 'column' => 'value', ... };
-    @records = qsearch  FS::Record 'table', \%hash; 
-    @records = qsearch  FS::Record 'table', { 'column' => 'value', ... };
-
-    $table = $record->table;
-    $dbdef_table = $record->dbdef_table;
-
-    $value = $record->get('column');
-    $value = $record->getfield('column');
-    $value = $record->column;
-
-    $record->set( 'column' => 'value' );
-    $record->setfield( 'column' => 'value' );
-    $record->column('value');
-
-    %hash = $record->hash;
-
-    $hashref = $record->hashref;
-
-    $error = $record->insert;
-
-    $error = $record->delete;
-
-    $error = $new_record->replace($old_record);
-
-    # external use deprecated - handled by the database (at least for Pg, mysql)
-    $value = $record->unique('column');
-
-    $error = $record->ut_float('column');
-    $error = $record->ut_number('column');
-    $error = $record->ut_numbern('column');
-    $error = $record->ut_money('column');
-    $error = $record->ut_text('column');
-    $error = $record->ut_textn('column');
-    $error = $record->ut_alpha('column');
-    $error = $record->ut_alphan('column');
-    $error = $record->ut_phonen('column');
-    $error = $record->ut_anything('column');
-    $error = $record->ut_name('column');
-
-    $quoted_value = _quote($value,'table','field');
-
-    #deprecated
-    $fields = hfields('table');
-    if ( $fields->{Field} ) { # etc.
-
-    @fields = fields 'table'; #as a subroutine
-    @fields = $record->fields; #as a method call
-
-
-=head1 DESCRIPTION
-
-(Mostly) object-oriented interface to database records.  Records are currently
-implemented on top of DBI.  FS::Record is intended as a base class for
-table-specific classes to inherit from, i.e. FS::cust_main.
-
-=head1 CONSTRUCTORS
-
-=over 4
-
-=item new [ TABLE, ] HASHREF
-
-Creates a new record.  It doesn't store it in the database, though.  See
-L<"insert"> for that.
-
-Note that the object stores this hash reference, not a distinct copy of the
-hash it points to.  You can ask the object for a copy with the I<hash> 
-method.
-
-TABLE can only be omitted when a dervived class overrides the table method.
-
-=cut
-
-sub new { 
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self = {};
-  bless ($self, $class);
-
-  unless ( defined ( $self->table ) ) {
-    $self->{'Table'} = shift;
-    carp "warning: FS::Record::new called with table name ". $self->{'Table'};
-  }
-  
-  $self->{'Hash'} = shift;
-
-  foreach my $field ( grep !defined($self->{'Hash'}{$_}), $self->fields ) { 
-    $self->{'Hash'}{$field}='';
-  }
-
-  $self->_rebless if $self->can('_rebless');
-
-  $self->{'modified'} = 0;
-
-  $self->_cache($self->{'Hash'}, shift) if $self->can('_cache') && @_;
-
-  $self;
-}
-
-sub new_or_cached {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self = {};
-  bless ($self, $class);
-
-  $self->{'Table'} = shift unless defined ( $self->table );
-
-  my $hashref = $self->{'Hash'} = shift;
-  my $cache = shift;
-  if ( defined( $cache->cache->{$hashref->{$cache->key}} ) ) {
-    my $obj = $cache->cache->{$hashref->{$cache->key}};
-    $obj->_cache($hashref, $cache) if $obj->can('_cache');
-    $obj;
-  } else {
-    $cache->cache->{$hashref->{$cache->key}} = $self->new($hashref, $cache);
-  }
-
-}
-
-sub create {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self = {};
-  bless ($self, $class);
-  if ( defined $self->table ) {
-    cluck "create constructor is deprecated, use new!";
-    $self->new(@_);
-  } else {
-    croak "FS::Record::create called (not from a subclass)!";
-  }
-}
-
-=item qsearch PARAMS_HASHREF | TABLE, HASHREF, SELECT, EXTRA_SQL, CACHE_OBJ, ADDL_FROM
-
-Searches the database for all records matching (at least) the key/value pairs
-in HASHREF.  Returns all the records found as `FS::TABLE' objects if that
-module is loaded (i.e. via `use FS::cust_main;'), otherwise returns FS::Record
-objects.
-
-The preferred usage is to pass a hash reference of named parameters:
-
-  my @records = qsearch( {
-                           'table'     => 'table_name',
-                           'hashref'   => { 'field' => 'value'
-                                            'field' => { 'op'    => '<',
-                                                         'value' => '420',
-                                                       },
-                                          },
-
-                           #these are optional...
-                           'select'    => '*',
-                           'extra_sql' => 'AND field ',
-                           #'cache_obj' => '', #optional
-                           'addl_from' => 'LEFT JOIN othtable USING ( field )',
-                         }
-                       );
-
-Much code still uses old-style positional parameters, this is also probably
-fine in the common case where there are only two parameters:
-
-  my @records = qsearch( 'table', { 'field' => 'value' } );
-
-###oops, argh, FS::Record::new only lets us create database fields.
-#Normal behaviour if SELECT is not specified is `*', as in
-#C<SELECT * FROM table WHERE ...>.  However, there is an experimental new
-#feature where you can specify SELECT - remember, the objects returned,
-#although blessed into the appropriate `FS::TABLE' package, will only have the
-#fields you specify.  This might have unwanted results if you then go calling
-#regular FS::TABLE methods
-#on it.
-
-=cut
-
-sub qsearch {
-  my($stable, $record, $select, $extra_sql, $cache, $addl_from );
-  if ( ref($_[0]) ) { #hashref for now, eventually maybe accept a list too
-    my $opt = shift;
-    $stable    = $opt->{'table'}     or die "table name is required";
-    $record    = $opt->{'hashref'}   || {};
-    $select    = $opt->{'select'}    || '*';
-    $extra_sql = $opt->{'extra_sql'} || '';
-    $cache     = $opt->{'cache_obj'} || '';
-    $addl_from = $opt->{'addl_from'} || '';
-  } else {
-    ($stable, $record, $select, $extra_sql, $cache, $addl_from ) = @_;
-    $select ||= '*';
-  }
-
-  #$stable =~ /^([\w\_]+)$/ or die "Illegal table: $table";
-  #for jsearch
-  $stable =~ /^([\w\s\(\)\.\,\=]+)$/ or die "Illegal table: $stable";
-  $stable = $1;
-  my $dbh = dbh;
-
-  my $table = $cache ? $cache->table : $stable;
-  my $dbdef_table = dbdef->table($table)
-    or die "No schema for table $table found - ".
-           "do you need to create it or run dbdef-create?";
-  my $pkey = $dbdef_table->primary_key;
-
-  my @real_fields = grep exists($record->{$_}), real_fields($table);
-  my @virtual_fields;
-  if ( eval 'scalar(@FS::'. $table. '::ISA);' ) {
-    @virtual_fields = grep exists($record->{$_}), "FS::$table"->virtual_fields;
-  } else {
-    cluck "warning: FS::$table not loaded; virtual fields not searchable";
-    @virtual_fields = ();
-  }
-
-  my $statement = "SELECT $select FROM $stable";
-  $statement .= " $addl_from" if $addl_from;
-  if ( @real_fields or @virtual_fields ) {
-    $statement .= ' WHERE '. join(' AND ',
-      ( map {
-
-      my $op = '=';
-      my $column = $_;
-      if ( ref($record->{$_}) ) {
-        $op = $record->{$_}{'op'} if $record->{$_}{'op'};
-        #$op = 'LIKE' if $op =~ /^ILIKE$/i && driver_name ne 'Pg';
-        if ( uc($op) eq 'ILIKE' ) {
-          $op = 'LIKE';
-          $record->{$_}{'value'} = lc($record->{$_}{'value'});
-          $column = "LOWER($_)";
-        }
-        $record->{$_} = $record->{$_}{'value'}
-      }
-
-      if ( ! defined( $record->{$_} ) || $record->{$_} eq '' ) {
-        if ( $op eq '=' ) {
-          if ( driver_name eq 'Pg' ) {
-            my $type = dbdef->table($table)->column($column)->type;
-            if ( $type =~ /(int|serial)/i ) {
-              qq-( $column IS NULL )-;
-            } else {
-              qq-( $column IS NULL OR $column = '' )-;
-            }
-          } else {
-            qq-( $column IS NULL OR $column = "" )-;
-          }
-        } elsif ( $op eq '!=' ) {
-          if ( driver_name eq 'Pg' ) {
-            my $type = dbdef->table($table)->column($column)->type;
-            if ( $type =~ /(int|serial)/i ) {
-              qq-( $column IS NOT NULL )-;
-            } else {
-              qq-( $column IS NOT NULL AND $column != '' )-;
-            }
-          } else {
-            qq-( $column IS NOT NULL AND $column != "" )-;
-          }
-        } else {
-          if ( driver_name eq 'Pg' ) {
-            qq-( $column $op '' )-;
-          } else {
-            qq-( $column $op "" )-;
-          }
-        }
-      } else {
-        "$column $op ?";
-      }
-    } @real_fields ), 
-    ( map {
-      my $op = '=';
-      my $column = $_;
-      if ( ref($record->{$_}) ) {
-        $op = $record->{$_}{'op'} if $record->{$_}{'op'};
-       if ( uc($op) eq 'ILIKE' ) {
-         $op = 'LIKE';
-         $record->{$_}{'value'} = lc($record->{$_}{'value'});
-         $column = "LOWER($_)";
-       }
-       $record->{$_} = $record->{$_}{'value'};
-      }
-
-      # ... EXISTS ( SELECT name, value FROM part_virtual_field
-      #              JOIN virtual_field
-      #              ON part_virtual_field.vfieldpart = virtual_field.vfieldpart
-      #              WHERE recnum = svc_acct.svcnum
-      #              AND (name, value) = ('egad', 'brain') )
-
-      my $value = $record->{$_};
-
-      my $subq;
-
-      $subq = ($value ? 'EXISTS ' : 'NOT EXISTS ') .
-      "( SELECT part_virtual_field.name, virtual_field.value ".
-      "FROM part_virtual_field JOIN virtual_field ".
-      "ON part_virtual_field.vfieldpart = virtual_field.vfieldpart ".
-      "WHERE virtual_field.recnum = ${table}.${pkey} ".
-      "AND part_virtual_field.name = '${column}'".
-      ($value ? 
-        " AND virtual_field.value ${op} '${value}'"
-      : "") . ")";
-      $subq;
-
-    } @virtual_fields ) );
-
-  }
-
-  $statement .= " $extra_sql" if defined($extra_sql);
-
-  warn "[debug]$me $statement\n" if $DEBUG > 1;
-  my $sth = $dbh->prepare($statement)
-    or croak "$dbh->errstr doing $statement";
-
-  my $bind = 1;
-
-  foreach my $field (
-    grep defined( $record->{$_} ) && $record->{$_} ne '', @real_fields
-  ) {
-    if ( $record->{$field} =~ /^\d+(\.\d+)?$/
-         && dbdef->table($table)->column($field)->type =~ /(int|serial)/i
-    ) {
-      $sth->bind_param($bind++, $record->{$field}, { TYPE => SQL_INTEGER } );
-    } else {
-      $sth->bind_param($bind++, $record->{$field}, { TYPE => SQL_VARCHAR } );
-    }
-  }
-
-#  $sth->execute( map $record->{$_},
-#    grep defined( $record->{$_} ) && $record->{$_} ne '', @fields
-#  ) or croak "Error executing \"$statement\": ". $sth->errstr;
-
-  $sth->execute or croak "Error executing \"$statement\": ". $sth->errstr;
-
-  if ( eval 'scalar(@FS::'. $table. '::ISA);' ) {
-    @virtual_fields = "FS::$table"->virtual_fields;
-  } else {
-    cluck "warning: FS::$table not loaded; virtual fields not returned either";
-    @virtual_fields = ();
-  }
-
-  my %result;
-  tie %result, "Tie::IxHash";
-  my @stuff = @{ $sth->fetchall_arrayref( {} ) };
-  if($pkey) {
-    %result = map { $_->{$pkey}, $_ } @stuff;
-  } else {
-    @result{@stuff} = @stuff;
-  }
-
-  $sth->finish;
-
-  if ( keys(%result) and @virtual_fields ) {
-    $statement =
-      "SELECT virtual_field.recnum, part_virtual_field.name, ".
-             "virtual_field.value ".
-      "FROM part_virtual_field JOIN virtual_field USING (vfieldpart) ".
-      "WHERE part_virtual_field.dbtable = '$table' AND ".
-      "virtual_field.recnum IN (".
-      join(',', keys(%result)). ") AND part_virtual_field.name IN ('".
-      join(q!', '!, @virtual_fields) . "')";
-    warn "[debug]$me $statement\n" if $DEBUG > 1;
-    $sth = $dbh->prepare($statement) or croak "$dbh->errstr doing $statement";
-    $sth->execute or croak "Error executing \"$statement\": ". $sth->errstr;
-
-    foreach (@{ $sth->fetchall_arrayref({}) }) {
-      my $recnum = $_->{recnum};
-      my $name = $_->{name};
-      my $value = $_->{value};
-      if (exists($result{$recnum})) {
-        $result{$recnum}->{$name} = $value;
-      }
-    }
-  }
-  my @return;
-  if ( eval 'scalar(@FS::'. $table. '::ISA);' ) {
-    if ( eval 'FS::'. $table. '->can(\'new\')' eq \&new ) {
-      #derivied class didn't override new method, so this optimization is safe
-      if ( $cache ) {
-        @return = map {
-          new_or_cached( "FS::$table", { %{$_} }, $cache )
-        } values(%result);
-      } else {
-        @return = map {
-          new( "FS::$table", { %{$_} } )
-        } values(%result);
-      }
-    } else {
-      #okay, its been tested
-      # warn "untested code (class FS::$table uses custom new method)";
-      @return = map {
-        eval 'FS::'. $table. '->new( { %{$_} } )';
-      } values(%result);
-    }
-
-    # Check for encrypted fields and decrypt them.
-    if ($conf->exists('encryption') && eval 'defined(@FS::'. $table . '::encrypted_fields)') {
-      foreach my $record (@return) {
-        foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
-          # Set it directly... This may cause a problem in the future...
-          $record->setfield($field, $record->decrypt($record->getfield($field)));
-        }
-      }
-    }
-  } else {
-    cluck "warning: FS::$table not loaded; returning FS::Record objects";
-    @return = map {
-      FS::Record->new( $table, { %{$_} } );
-    } values(%result);
-  }
-  return @return;
-}
-
-=item by_key PRIMARY_KEY_VALUE
-
-This is a class method that returns the record with the given primary key
-value.  This method is only useful in FS::Record subclasses.  For example:
-
-  my $cust_main = FS::cust_main->by_key(1); # retrieve customer with custnum 1
-
-is equivalent to:
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => 1 } );
-
-=cut
-
-sub by_key {
-  my ($class, $pkey_value) = @_;
-
-  my $table = $class->table
-    or croak "No table for $class found";
-
-  my $dbdef_table = dbdef->table($table)
-    or die "No schema for table $table found - ".
-           "do you need to create it or run dbdef-create?";
-  my $pkey = $dbdef_table->primary_key
-    or die "No primary key for table $table";
-
-  return qsearchs($table, { $pkey => $pkey_value });
-}
-
-=item jsearch TABLE, HASHREF, SELECT, EXTRA_SQL, PRIMARY_TABLE, PRIMARY_KEY
-
-Experimental JOINed search method.  Using this method, you can execute a
-single SELECT spanning multiple tables, and cache the results for subsequent
-method calls.  Interface will almost definately change in an incompatible
-fashion.
-
-Arguments: 
-
-=cut
-
-sub jsearch {
-  my($table, $record, $select, $extra_sql, $ptable, $pkey ) = @_;
-  my $cache = FS::SearchCache->new( $ptable, $pkey );
-  my %saw;
-  ( $cache,
-    grep { !$saw{$_->getfield($pkey)}++ }
-      qsearch($table, $record, $select, $extra_sql, $cache )
-  );
-}
-
-=item qsearchs PARAMS_HASHREF | TABLE, HASHREF, SELECT, EXTRA_SQL, CACHE_OBJ, ADDL_FROM
-
-Same as qsearch, except that if more than one record matches, it B<carp>s but
-returns the first.  If this happens, you either made a logic error in asking
-for a single item, or your data is corrupted.
-
-=cut
-
-sub qsearchs { # $result_record = &FS::Record:qsearchs('table',\%hash);
-  my $table = $_[0];
-  my(@result) = qsearch(@_);
-  cluck "warning: Multiple records in scalar search ($table)"
-    if scalar(@result) > 1;
-  #should warn more vehemently if the search was on a primary key?
-  scalar(@result) ? ($result[0]) : ();
-}
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item table
-
-Returns the table name.
-
-=cut
-
-sub table {
-#  cluck "warning: FS::Record::table deprecated; supply one in subclass!";
-  my $self = shift;
-  $self -> {'Table'};
-}
-
-=item dbdef_table
-
-Returns the DBIx::DBSchema::Table object for the table.
-
-=cut
-
-sub dbdef_table {
-  my($self)=@_;
-  my($table)=$self->table;
-  dbdef->table($table);
-}
-
-=item get, getfield COLUMN
-
-Returns the value of the column/field/key COLUMN.
-
-=cut
-
-sub get {
-  my($self,$field) = @_;
-  # to avoid "Use of unitialized value" errors
-  if ( defined ( $self->{Hash}->{$field} ) ) {
-    $self->{Hash}->{$field};
-  } else { 
-    '';
-  }
-}
-sub getfield {
-  my $self = shift;
-  $self->get(@_);
-}
-
-=item set, setfield COLUMN, VALUE
-
-Sets the value of the column/field/key COLUMN to VALUE.  Returns VALUE.
-
-=cut
-
-sub set { 
-  my($self,$field,$value) = @_;
-  $self->{'modified'} = 1;
-  $self->{'Hash'}->{$field} = $value;
-}
-sub setfield {
-  my $self = shift;
-  $self->set(@_);
-}
-
-=item AUTLOADED METHODS
-
-$record->column is a synonym for $record->get('column');
-
-$record->column('value') is a synonym for $record->set('column','value');
-
-=cut
-
-# readable/safe
-sub AUTOLOAD {
-  my($self,$value)=@_;
-  my($field)=$AUTOLOAD;
-  $field =~ s/.*://;
-  if ( defined($value) ) {
-    confess "errant AUTOLOAD $field for $self (arg $value)"
-      unless ref($self) && $self->can('setfield');
-    $self->setfield($field,$value);
-  } else {
-    confess "errant AUTOLOAD $field for $self (no args)"
-      unless ref($self) && $self->can('getfield');
-    $self->getfield($field);
-  }    
-}
-
-# efficient
-#sub AUTOLOAD {
-#  my $field = $AUTOLOAD;
-#  $field =~ s/.*://;
-#  if ( defined($_[1]) ) {
-#    $_[0]->setfield($field, $_[1]);
-#  } else {
-#    $_[0]->getfield($field);
-#  }    
-#}
-
-=item hash
-
-Returns a list of the column/value pairs, usually for assigning to a new hash.
-
-To make a distinct duplicate of an FS::Record object, you can do:
-
-    $new = new FS::Record ( $old->table, { $old->hash } );
-
-=cut
-
-sub hash {
-  my($self) = @_;
-  confess $self. ' -> hash: Hash attribute is undefined'
-    unless defined($self->{'Hash'});
-  %{ $self->{'Hash'} }; 
-}
-
-=item hashref
-
-Returns a reference to the column/value hash.  This may be deprecated in the
-future; if there's a reason you can't just use the autoloaded or get/set
-methods, speak up.
-
-=cut
-
-sub hashref {
-  my($self) = @_;
-  $self->{'Hash'};
-}
-
-=item modified
-
-Returns true if any of this object's values have been modified with set (or via
-an autoloaded method).  Doesn't yet recognize when you retreive a hashref and
-modify that.
-
-=cut
-
-sub modified {
-  my $self = shift;
-  $self->{'modified'};
-}
-
-=item insert
-
-Inserts this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my $saved = {};
-
-  my $error = $self->check;
-  return $error if $error;
-
-  #single-field unique keys are given a value if false
-  #(like MySQL's AUTO_INCREMENT or Pg SERIAL)
-  foreach ( $self->dbdef_table->unique->singles ) {
-    $self->unique($_) unless $self->getfield($_);
-  }
-
-  #and also the primary key, if the database isn't going to
-  my $primary_key = $self->dbdef_table->primary_key;
-  my $db_seq = 0;
-  if ( $primary_key ) {
-    my $col = $self->dbdef_table->column($primary_key);
-    
-    $db_seq =
-      uc($col->type) eq 'SERIAL'
-      || ( driver_name eq 'Pg'
-             && defined($col->default)
-             && $col->default =~ /^nextval\(/i
-         )
-      || ( driver_name eq 'mysql'
-             && defined($col->local)
-             && $col->local =~ /AUTO_INCREMENT/i
-         );
-    $self->unique($primary_key) unless $self->getfield($primary_key) || $db_seq;
-  }
-
-  my $table = $self->table;
-
-  
-  # Encrypt before the database
-  if ($conf->exists('encryption') && defined(eval '@FS::'. $table . 'encrypted_fields')) {
-    foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
-      $self->{'saved'} = $self->getfield($field);
-      $self->setfield($field, $self->enrypt($self->getfield($field)));
-    }
-  }
-
-
-  #false laziness w/delete
-  my @real_fields =
-    grep defined($self->getfield($_)) && $self->getfield($_) ne "",
-    real_fields($table)
-  ;
-  my @values = map { _quote( $self->getfield($_), $table, $_) } @real_fields;
-  #eslaf
-
-  my $statement = "INSERT INTO $table ( ".
-      join( ', ', @real_fields ).
-    ") VALUES (".
-      join( ', ', @values ).
-    ")"
-  ;
-  warn "[debug]$me $statement\n" if $DEBUG > 1;
-  my $sth = dbh->prepare($statement) or return dbh->errstr;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE'; 
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  $sth->execute or return $sth->errstr;
-
-  # get inserted id from the database, if applicable & needed
-  if ( $db_seq && ! $self->getfield($primary_key) ) {
-    warn "[debug]$me retreiving sequence from database\n" if $DEBUG;
-  
-    my $insertid = '';
-
-    if ( driver_name eq 'Pg' ) {
-
-      #my $oid = $sth->{'pg_oid_status'};
-      #my $i_sql = "SELECT $primary_key FROM $table WHERE oid = ?";
-
-      my $default = $self->dbdef_table->column($primary_key)->default;
-      unless ( $default =~ /^nextval\('"?([\w\.]+)"?'/i ) {
-        dbh->rollback if $FS::UID::AutoCommit;
-        return "can't parse $table.$primary_key default value".
-               " for sequence name: $default";
-      }
-      my $sequence = $1;
-
-      my $i_sql = "SELECT currval('$sequence')";
-      my $i_sth = dbh->prepare($i_sql) or do {
-        dbh->rollback if $FS::UID::AutoCommit;
-        return dbh->errstr;
-      };
-      #$i_sth->execute($oid) or do {
-      $i_sth->execute() or do {
-        dbh->rollback if $FS::UID::AutoCommit;
-        return $i_sth->errstr;
-      };
-      $insertid = $i_sth->fetchrow_arrayref->[0];
-
-    } elsif ( driver_name eq 'mysql' ) {
-
-      $insertid = dbh->{'mysql_insertid'};
-      # work around mysql_insertid being null some of the time, ala RT :/
-      unless ( $insertid ) {
-        warn "WARNING: DBD::mysql didn't return mysql_insertid; ".
-             "using SELECT LAST_INSERT_ID();";
-        my $i_sql = "SELECT LAST_INSERT_ID()";
-        my $i_sth = dbh->prepare($i_sql) or do {
-          dbh->rollback if $FS::UID::AutoCommit;
-          return dbh->errstr;
-        };
-        $i_sth->execute or do {
-          dbh->rollback if $FS::UID::AutoCommit;
-          return $i_sth->errstr;
-        };
-        $insertid = $i_sth->fetchrow_arrayref->[0];
-      }
-
-    } else {
-
-      dbh->rollback if $FS::UID::AutoCommit;
-      return "don't know how to retreive inserted ids from ". driver_name. 
-             ", try using counterfiles (maybe run dbdef-create?)";
-
-    }
-
-    $self->setfield($primary_key, $insertid);
-
-  }
-
-  my @virtual_fields = 
-      grep defined($self->getfield($_)) && $self->getfield($_) ne "",
-          $self->virtual_fields;
-  if (@virtual_fields) {
-    my %v_values = map { $_, $self->getfield($_) } @virtual_fields;
-
-    my $vfieldpart = $self->vfieldpart_hashref;
-
-    my $v_statement = "INSERT INTO virtual_field(recnum, vfieldpart, value) ".
-                    "VALUES (?, ?, ?)";
-
-    my $v_sth = dbh->prepare($v_statement) or do {
-      dbh->rollback if $FS::UID::AutoCommit;
-      return dbh->errstr;
-    };
-
-    foreach (keys(%v_values)) {
-      $v_sth->execute($self->getfield($primary_key),
-                      $vfieldpart->{$_},
-                      $v_values{$_})
-      or do {
-        dbh->rollback if $FS::UID::AutoCommit;
-        return $v_sth->errstr;
-      };
-    }
-  }
-
-
-  my $h_sth;
-  if ( defined dbdef->table('h_'. $table) ) {
-    my $h_statement = $self->_h_statement('insert');
-    warn "[debug]$me $h_statement\n" if $DEBUG > 2;
-    $h_sth = dbh->prepare($h_statement) or do {
-      dbh->rollback if $FS::UID::AutoCommit;
-      return dbh->errstr;
-    };
-  } else {
-    $h_sth = '';
-  }
-  $h_sth->execute or return $h_sth->errstr if $h_sth;
-
-  dbh->commit or croak dbh->errstr if $FS::UID::AutoCommit;
-
-  # Now that it has been saved, reset the encrypted fields so that $new 
-  # can still be used.
-  foreach my $field (keys %{$saved}) {
-    $self->setfield($field, $saved->{$field});
-  }
-
-  '';
-}
-
-=item add
-
-Depriciated (use insert instead).
-
-=cut
-
-sub add {
-  cluck "warning: FS::Record::add deprecated!";
-  insert @_; #call method in this scope
-}
-
-=item delete
-
-Delete this record from the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  my $statement = "DELETE FROM ". $self->table. " WHERE ". join(' AND ',
-    map {
-      $self->getfield($_) eq ''
-        #? "( $_ IS NULL OR $_ = \"\" )"
-        ? ( driver_name eq 'Pg'
-              ? "$_ IS NULL"
-              : "( $_ IS NULL OR $_ = \"\" )"
-          )
-        : "$_ = ". _quote($self->getfield($_),$self->table,$_)
-    } ( $self->dbdef_table->primary_key )
-          ? ( $self->dbdef_table->primary_key)
-          : real_fields($self->table)
-  );
-  warn "[debug]$me $statement\n" if $DEBUG > 1;
-  my $sth = dbh->prepare($statement) or return dbh->errstr;
-
-  my $h_sth;
-  if ( defined dbdef->table('h_'. $self->table) ) {
-    my $h_statement = $self->_h_statement('delete');
-    warn "[debug]$me $h_statement\n" if $DEBUG > 2;
-    $h_sth = dbh->prepare($h_statement) or return dbh->errstr;
-  } else {
-    $h_sth = '';
-  }
-
-  my $primary_key = $self->dbdef_table->primary_key;
-  my $v_sth;
-  my @del_vfields;
-  my $vfp = $self->vfieldpart_hashref;
-  foreach($self->virtual_fields) {
-    next if $self->getfield($_) eq '';
-    unless(@del_vfields) {
-      my $st = "DELETE FROM virtual_field WHERE recnum = ? AND vfieldpart = ?";
-      $v_sth = dbh->prepare($st) or return dbh->errstr;
-    }
-    push @del_vfields, $_;
-  }
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE'; 
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $rc = $sth->execute or return $sth->errstr;
-  #not portable #return "Record not found, statement:\n$statement" if $rc eq "0E0";
-  $h_sth->execute or return $h_sth->errstr if $h_sth;
-  $v_sth->execute($self->getfield($primary_key), $vfp->{$_}) 
-    or return $v_sth->errstr 
-        foreach (@del_vfields);
-  
-  dbh->commit or croak dbh->errstr if $FS::UID::AutoCommit;
-
-  #no need to needlessly destoy the data either (causes problems actually)
-  #undef $self; #no need to keep object!
-
-  '';
-}
-
-=item del
-
-Depriciated (use delete instead).
-
-=cut
-
-sub del {
-  cluck "warning: FS::Record::del deprecated!";
-  &delete(@_); #call method in this scope
-}
-
-=item replace OLD_RECORD
-
-Replace the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my $new = shift;
-  my $old = shift;  
-
-  if (!defined($old)) { 
-    warn "[debug]$me replace called with no arguments; autoloading old record\n"
-     if $DEBUG;
-    my $primary_key = $new->dbdef_table->primary_key;
-    if ( $primary_key ) {
-      $old = qsearchs($new->table, { $primary_key => $new->$primary_key() } )
-        or croak "can't find ". $new->table. ".$primary_key ".
-                 $new->$primary_key();
-    } else {
-      croak $new->table. " has no primary key; pass old record as argument";
-    }
-  }
-
-  warn "[debug]$me $new ->replace $old\n" if $DEBUG;
-
-  return "Records not in same table!" unless $new->table eq $old->table;
-
-  my $primary_key = $old->dbdef_table->primary_key;
-  return "Can't change primary key $primary_key ".
-         'from '. $old->getfield($primary_key).
-         ' to ' . $new->getfield($primary_key)
-    if $primary_key
-       && ( $old->getfield($primary_key) ne $new->getfield($primary_key) );
-
-  my $error = $new->check;
-  return $error if $error;
-  
-  # Encrypt for replace
-  my $saved = {};
-  if ($conf->exists('encryption') && defined(eval '@FS::'. $new->table . 'encrypted_fields')) {
-    foreach my $field (eval '@FS::'. $new->table . '::encrypted_fields') {
-      $saved->{$field} = $new->getfield($field);
-      $new->setfield($field, $new->encrypt($new->getfield($field)));
-    }
-  }
-
-  #my @diff = grep $new->getfield($_) ne $old->getfield($_), $old->fields;
-  my %diff = map { ($new->getfield($_) ne $old->getfield($_))
-                   ? ($_, $new->getfield($_)) : () } $old->fields;
-                   
-  unless ( keys(%diff) ) {
-    carp "[warning]$me $new -> replace $old: records identical"
-      unless $nowarn_identical;
-    return '';
-  }
-
-  my $statement = "UPDATE ". $old->table. " SET ". join(', ',
-    map {
-      "$_ = ". _quote($new->getfield($_),$old->table,$_) 
-    } real_fields($old->table)
-  ). ' WHERE '.
-    join(' AND ',
-      map {
-
-        if ( $old->getfield($_) eq '' ) {
-
-         #false laziness w/qsearch
-         if ( driver_name eq 'Pg' ) {
-            my $type = $old->dbdef_table->column($_)->type;
-            if ( $type =~ /(int|serial)/i ) {
-              qq-( $_ IS NULL )-;
-            } else {
-              qq-( $_ IS NULL OR $_ = '' )-;
-            }
-          } else {
-            qq-( $_ IS NULL OR $_ = "" )-;
-          }
-
-        } else {
-          "$_ = ". _quote($old->getfield($_),$old->table,$_);
-        }
-
-      } ( $primary_key ? ( $primary_key ) : real_fields($old->table) )
-    )
-  ;
-  warn "[debug]$me $statement\n" if $DEBUG > 1;
-  my $sth = dbh->prepare($statement) or return dbh->errstr;
-
-  my $h_old_sth;
-  if ( defined dbdef->table('h_'. $old->table) ) {
-    my $h_old_statement = $old->_h_statement('replace_old');
-    warn "[debug]$me $h_old_statement\n" if $DEBUG > 2;
-    $h_old_sth = dbh->prepare($h_old_statement) or return dbh->errstr;
-  } else {
-    $h_old_sth = '';
-  }
-
-  my $h_new_sth;
-  if ( defined dbdef->table('h_'. $new->table) ) {
-    my $h_new_statement = $new->_h_statement('replace_new');
-    warn "[debug]$me $h_new_statement\n" if $DEBUG > 2;
-    $h_new_sth = dbh->prepare($h_new_statement) or return dbh->errstr;
-  } else {
-    $h_new_sth = '';
-  }
-
-  # For virtual fields we have three cases with different SQL 
-  # statements: add, replace, delete
-  my $v_add_sth;
-  my $v_rep_sth;
-  my $v_del_sth;
-  my (@add_vfields, @rep_vfields, @del_vfields);
-  my $vfp = $old->vfieldpart_hashref;
-  foreach(grep { exists($diff{$_}) } $new->virtual_fields) {
-    if($diff{$_} eq '') {
-      # Delete
-      unless(@del_vfields) {
-        my $st = "DELETE FROM virtual_field WHERE recnum = ? ".
-                 "AND vfieldpart = ?";
-        warn "[debug]$me $st\n" if $DEBUG > 2;
-        $v_del_sth = dbh->prepare($st) or return dbh->errstr;
-      }
-      push @del_vfields, $_;
-    } elsif($old->getfield($_) eq '') {
-      # Add
-      unless(@add_vfields) {
-        my $st = "INSERT INTO virtual_field (value, recnum, vfieldpart) ".
-                "VALUES (?, ?, ?)";
-        warn "[debug]$me $st\n" if $DEBUG > 2;
-        $v_add_sth = dbh->prepare($st) or return dbh->errstr;
-      }
-      push @add_vfields, $_;
-    } else {
-      # Replace
-      unless(@rep_vfields) {
-        my $st = "UPDATE virtual_field SET value = ? ".
-                 "WHERE recnum = ? AND vfieldpart = ?";
-        warn "[debug]$me $st\n" if $DEBUG > 2;
-        $v_rep_sth = dbh->prepare($st) or return dbh->errstr;
-      }
-      push @rep_vfields, $_;
-    }
-  }
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE'; 
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $rc = $sth->execute or return $sth->errstr;
-  #not portable #return "Record not found (or records identical)." if $rc eq "0E0";
-  $h_old_sth->execute or return $h_old_sth->errstr if $h_old_sth;
-  $h_new_sth->execute or return $h_new_sth->errstr if $h_new_sth;
-
-  $v_del_sth->execute($old->getfield($primary_key),
-                      $vfp->{$_})
-        or return $v_del_sth->errstr
-      foreach(@del_vfields);
-
-  $v_add_sth->execute($new->getfield($_),
-                      $old->getfield($primary_key),
-                      $vfp->{$_})
-        or return $v_add_sth->errstr
-      foreach(@add_vfields);
-
-  $v_rep_sth->execute($new->getfield($_),
-                      $old->getfield($primary_key),
-                      $vfp->{$_})
-        or return $v_rep_sth->errstr
-      foreach(@rep_vfields);
-
-  dbh->commit or croak dbh->errstr if $FS::UID::AutoCommit;
-
-  # Now that it has been saved, reset the encrypted fields so that $new 
-  # can still be used.
-  foreach my $field (keys %{$saved}) {
-    $new->setfield($field, $saved->{$field});
-  }
-
-  '';
-
-}
-
-=item rep
-
-Depriciated (use replace instead).
-
-=cut
-
-sub rep {
-  cluck "warning: FS::Record::rep deprecated!";
-  replace @_; #call method in this scope
-}
-
-=item check
-
-Checks virtual fields (using check_blocks).  Subclasses should still provide 
-a check method to validate real fields, foreign keys, etc., and call this 
-method via $self->SUPER::check.
-
-(FIXME: Should this method try to make sure that it I<is> being called from 
-a subclass's check method, to keep the current semantics as far as possible?)
-
-=cut
-
-sub check {
-  #confess "FS::Record::check not implemented; supply one in subclass!";
-  my $self = shift;
-
-  foreach my $field ($self->virtual_fields) {
-    for ($self->getfield($field)) {
-      # See notes on check_block in FS::part_virtual_field.
-      eval $self->pvf($field)->check_block;
-      if ( $@ ) {
-        #this is bad, probably want to follow the stack backtrace up and see
-        #wtf happened
-        my $err = "Fatal error checking $field for $self";
-        cluck "$err: $@";
-        return "$err (see log for backtrace): $@";
-
-      }
-      $self->setfield($field, $_);
-    }
-  }
-  '';
-}
-
-sub _h_statement {
-  my( $self, $action, $time ) = @_;
-
-  $time ||= time;
-
-  my @fields =
-    grep defined($self->getfield($_)) && $self->getfield($_) ne "",
-    real_fields($self->table);
-  ;
-  my @values = map { _quote( $self->getfield($_), $self->table, $_) } @fields;
-
-  "INSERT INTO h_". $self->table. " ( ".
-      join(', ', qw(history_date history_user history_action), @fields ).
-    ") VALUES (".
-      join(', ', $time, dbh->quote(getotaker()), dbh->quote($action), @values).
-    ")"
-  ;
-}
-
-=item unique COLUMN
-
-B<Warning>: External use is B<deprecated>.  
-
-Replaces COLUMN in record with a unique number, using counters in the
-filesystem.  Used by the B<insert> method on single-field unique columns
-(see L<DBIx::DBSchema::Table>) and also as a fallback for primary keys
-that aren't SERIAL (Pg) or AUTO_INCREMENT (mysql).
-
-Returns the new value.
-
-=cut
-
-sub unique {
-  my($self,$field) = @_;
-  my($table)=$self->table;
-
-  croak "Unique called on field $field, but it is ",
-        $self->getfield($field),
-        ", not null!"
-    if $self->getfield($field);
-
-  #warn "table $table is tainted" if is_tainted($table);
-  #warn "field $field is tainted" if is_tainted($field);
-
-  my($counter) = new File::CounterFile "$table.$field",0;
-# hack for web demo
-#  getotaker() =~ /^([\w\-]{1,16})$/ or die "Illegal CGI REMOTE_USER!";
-#  my($user)=$1;
-#  my($counter) = new File::CounterFile "$user/$table.$field",0;
-# endhack
-
-  my $index = $counter->inc;
-  $index = $counter->inc while qsearchs($table, { $field=>$index } );
-
-  $index =~ /^(\d*)$/;
-  $index=$1;
-
-  $self->setfield($field,$index);
-
-}
-
-=item ut_float COLUMN
-
-Check/untaint floating point numeric data: 1.1, 1, 1.1e10, 1e10.  May not be
-null.  If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_float {
-  my($self,$field)=@_ ;
-  ($self->getfield($field) =~ /^(\d+\.\d+)$/ ||
-   $self->getfield($field) =~ /^(\d+)$/ ||
-   $self->getfield($field) =~ /^(\d+\.\d+e\d+)$/ ||
-   $self->getfield($field) =~ /^(\d+e\d+)$/)
-    or return "Illegal or empty (float) $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_snumber COLUMN
-
-Check/untaint signed numeric data (whole numbers).  May not be null.  If there
-is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_snumber {
-  my($self, $field) = @_;
-  $self->getfield($field) =~ /^(-?)\s*(\d+)$/
-    or return "Illegal or empty (numeric) $field: ". $self->getfield($field);
-  $self->setfield($field, "$1$2");
-  '';
-}
-
-=item ut_number COLUMN
-
-Check/untaint simple numeric data (whole numbers).  May not be null.  If there
-is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_number {
-  my($self,$field)=@_;
-  $self->getfield($field) =~ /^(\d+)$/
-    or return "Illegal or empty (numeric) $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_numbern COLUMN
-
-Check/untaint simple numeric data (whole numbers).  May be null.  If there is
-an error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_numbern {
-  my($self,$field)=@_;
-  $self->getfield($field) =~ /^(\d*)$/
-    or return "Illegal (numeric) $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_money COLUMN
-
-Check/untaint monetary numbers.  May be negative.  Set to 0 if null.  If there
-is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_money {
-  my($self,$field)=@_;
-  $self->setfield($field, 0) if $self->getfield($field) eq '';
-  $self->getfield($field) =~ /^(\-)? ?(\d*)(\.\d{2})?$/
-    or return "Illegal (money) $field: ". $self->getfield($field);
-  #$self->setfield($field, "$1$2$3" || 0);
-  $self->setfield($field, ( ($1||''). ($2||''). ($3||'') ) || 0);
-  '';
-}
-
-=item ut_text COLUMN
-
-Check/untaint text.  Alphanumerics, spaces, and the following punctuation
-symbols are currently permitted: ! @ # $ % & ( ) - + ; : ' " , . ? / =
-May not be null.  If there is an error, returns the error, otherwise returns
-false.
-
-=cut
-
-sub ut_text {
-  my($self,$field)=@_;
-  #warn "msgcat ". \&msgcat. "\n";
-  #warn "notexist ". \&notexist. "\n";
-  #warn "AUTOLOAD ". \&AUTOLOAD. "\n";
-  $self->getfield($field) =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]+)$/
-    or return gettext('illegal_or_empty_text'). " $field: ".
-               $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_textn COLUMN
-
-Check/untaint text.  Alphanumerics, spaces, and the following punctuation
-symbols are currently permitted: ! @ # $ % & ( ) - + ; : ' " , . ? /
-May be null.  If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_textn {
-  my($self,$field)=@_;
-  $self->getfield($field) =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]*)$/
-    or return gettext('illegal_text'). " $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_alpha COLUMN
-
-Check/untaint alphanumeric strings (no spaces).  May not be null.  If there is
-an error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_alpha {
-  my($self,$field)=@_;
-  $self->getfield($field) =~ /^(\w+)$/
-    or return "Illegal or empty (alphanumeric) $field: ".
-              $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_alpha COLUMN
-
-Check/untaint alphanumeric strings (no spaces).  May be null.  If there is an
-error, returns the error, otherwise returns false.
-
-=cut
-
-sub ut_alphan {
-  my($self,$field)=@_;
-  $self->getfield($field) =~ /^(\w*)$/ 
-    or return "Illegal (alphanumeric) $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_phonen COLUMN [ COUNTRY ]
-
-Check/untaint phone numbers.  May be null.  If there is an error, returns
-the error, otherwise returns false.
-
-Takes an optional two-letter ISO country code; without it or with unsupported
-countries, ut_phonen simply calls ut_alphan.
-
-=cut
-
-sub ut_phonen {
-  my( $self, $field, $country ) = @_;
-  return $self->ut_alphan($field) unless defined $country;
-  my $phonen = $self->getfield($field);
-  if ( $phonen eq '' ) {
-    $self->setfield($field,'');
-  } elsif ( $country eq 'US' || $country eq 'CA' ) {
-    $phonen =~ s/\D//g;
-    $phonen =~ /^(\d{3})(\d{3})(\d{4})(\d*)$/
-      or return gettext('illegal_phone'). " $field: ". $self->getfield($field);
-    $phonen = "$1-$2-$3";
-    $phonen .= " x$4" if $4;
-    $self->setfield($field,$phonen);
-  } else {
-    warn "warning: don't know how to check phone numbers for country $country";
-    return $self->ut_textn($field);
-  }
-  '';
-}
-
-=item ut_ip COLUMN
-
-Check/untaint ip addresses.  IPv4 only for now.
-
-=cut
-
-sub ut_ip {
-  my( $self, $field ) = @_;
-  $self->getfield($field) =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/
-    or return "Illegal (IP address) $field: ". $self->getfield($field);
-  for ( $1, $2, $3, $4 ) { return "Illegal (IP address) $field" if $_ > 255; }
-  $self->setfield($field, "$1.$2.$3.$4");
-  '';
-}
-
-=item ut_ipn COLUMN
-
-Check/untaint ip addresses.  IPv4 only for now.  May be null.
-
-=cut
-
-sub ut_ipn {
-  my( $self, $field ) = @_;
-  if ( $self->getfield($field) =~ /^()$/ ) {
-    $self->setfield($field,'');
-    '';
-  } else {
-    $self->ut_ip($field);
-  }
-}
-
-=item ut_domain COLUMN
-
-Check/untaint host and domain names.
-
-=cut
-
-sub ut_domain {
-  my( $self, $field ) = @_;
-  #$self->getfield($field) =~/^(\w+\.)*\w+$/
-  $self->getfield($field) =~/^(([\w\-]+\.)*\w+)$/
-    or return "Illegal (domain) $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_name COLUMN
-
-Check/untaint proper names; allows alphanumerics, spaces and the following
-punctuation: , . - '
-
-May not be null.
-
-=cut
-
-sub ut_name {
-  my( $self, $field ) = @_;
-  $self->getfield($field) =~ /^([\w \,\.\-\']+)$/
-    or return gettext('illegal_name'). " $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_zip COLUMN
-
-Check/untaint zip codes.
-
-=cut
-
-my @zip_reqd_countries = qw( CA ); #US implicit...
-
-sub ut_zip {
-  my( $self, $field, $country ) = @_;
-  if ( $country eq 'US' ) {
-    $self->getfield($field) =~ /\s*(\d{5}(\-\d{4})?)\s*$/
-      or return gettext('illegal_zip'). " $field for country $country: ".
-                $self->getfield($field);
-    $self->setfield($field,$1);
-  } else {
-    if ( $self->getfield($field) =~ /^\s*$/
-         && ( !$country || ! grep { $_ eq $country } @zip_reqd_countries )
-       )
-    {
-      $self->setfield($field,'');
-    } else {
-      $self->getfield($field) =~ /^\s*(\w[\w\-\s]{2,8}\w)\s*$/
-        or return gettext('illegal_zip'). " $field: ". $self->getfield($field);
-      $self->setfield($field,$1);
-    }
-  }
-  '';
-}
-
-=item ut_country COLUMN
-
-Check/untaint country codes.  Country names are changed to codes, if possible -
-see L<Locale::Country>.
-
-=cut
-
-sub ut_country {
-  my( $self, $field ) = @_;
-  unless ( $self->getfield($field) =~ /^(\w\w)$/ ) {
-    if ( $self->getfield($field) =~ /^([\w \,\.\(\)\']+)$/ 
-         && country2code($1) ) {
-      $self->setfield($field,uc(country2code($1)));
-    }
-  }
-  $self->getfield($field) =~ /^(\w\w)$/
-    or return "Illegal (country) $field: ". $self->getfield($field);
-  $self->setfield($field,uc($1));
-  '';
-}
-
-=item ut_anything COLUMN
-
-Untaints arbitrary data.  Be careful.
-
-=cut
-
-sub ut_anything {
-  my( $self, $field ) = @_;
-  $self->getfield($field) =~ /^(.*)$/s
-    or return "Illegal $field: ". $self->getfield($field);
-  $self->setfield($field,$1);
-  '';
-}
-
-=item ut_enum COLUMN CHOICES_ARRAYREF
-
-Check/untaint a column, supplying all possible choices, like the "enum" type.
-
-=cut
-
-sub ut_enum {
-  my( $self, $field, $choices ) = @_;
-  foreach my $choice ( @$choices ) {
-    if ( $self->getfield($field) eq $choice ) {
-      $self->setfield($choice);
-      return '';
-    }
-  }
-  return "Illegal (enum) field $field: ". $self->getfield($field);
-}
-
-=item ut_foreign_key COLUMN FOREIGN_TABLE FOREIGN_COLUMN
-
-Check/untaint a foreign column key.  Call a regular ut_ method (like ut_number)
-on the column first.
-
-=cut
-
-sub ut_foreign_key {
-  my( $self, $field, $table, $foreign ) = @_;
-  qsearchs($table, { $foreign => $self->getfield($field) })
-    or return "Can't find ". $self->table. ".$field ". $self->getfield($field).
-              " in $table.$foreign";
-  '';
-}
-
-=item ut_foreign_keyn COLUMN FOREIGN_TABLE FOREIGN_COLUMN
-
-Like ut_foreign_key, except the null value is also allowed.
-
-=cut
-
-sub ut_foreign_keyn {
-  my( $self, $field, $table, $foreign ) = @_;
-  $self->getfield($field)
-    ? $self->ut_foreign_key($field, $table, $foreign)
-    : '';
-}
-
-
-=item virtual_fields [ TABLE ]
-
-Returns a list of virtual fields defined for the table.  This should not 
-be exported, and should only be called as an instance or class method.
-
-=cut
-
-sub virtual_fields {
-  my $self = shift;
-  my $table;
-  $table = $self->table or confess "virtual_fields called on non-table";
-
-  confess "Unknown table $table" unless dbdef->table($table);
-
-  return () unless dbdef->table('part_virtual_field');
-
-  unless ( $virtual_fields_cache{$table} ) {
-    my $query = 'SELECT name from part_virtual_field ' .
-                "WHERE dbtable = '$table'";
-    my $dbh = dbh;
-    my $result = $dbh->selectcol_arrayref($query);
-    confess $dbh->errstr if $dbh->err;
-    $virtual_fields_cache{$table} = $result;
-  }
-
-  @{$virtual_fields_cache{$table}};
-
-}
-
-
-=item fields [ TABLE ]
-
-This is a wrapper for real_fields and virtual_fields.  Code that called
-fields before should probably continue to call fields.
-
-=cut
-
-sub fields {
-  my $something = shift;
-  my $table;
-  if($something->isa('FS::Record')) {
-    $table = $something->table;
-  } else {
-    $table = $something;
-    $something = "FS::$table";
-  }
-  return (real_fields($table), $something->virtual_fields());
-}
-
-=back
-
-=item pvf FIELD_NAME
-
-Returns the FS::part_virtual_field object corresponding to a field in the 
-record (specified by FIELD_NAME).
-
-=cut
-
-sub pvf {
-  my ($self, $name) = (shift, shift);
-
-  if(grep /^$name$/, $self->virtual_fields) {
-    return qsearchs('part_virtual_field', { dbtable => $self->table,
-                                            name    => $name } );
-  }
-  ''
-}
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item real_fields [ TABLE ]
-
-Returns a list of the real columns in the specified table.  Called only by 
-fields() and other subroutines elsewhere in FS::Record.
-
-=cut
-
-sub real_fields {
-  my $table = shift;
-
-  my($table_obj) = dbdef->table($table);
-  confess "Unknown table $table" unless $table_obj;
-  $table_obj->columns;
-}
-
-=item _quote VALUE, TABLE, COLUMN
-
-This is an internal function used to construct SQL statements.  It returns
-VALUE DBI-quoted (see L<DBI/"quote">) unless VALUE is a number and the column
-type (see L<DBIx::DBSchema::Column>) does not end in `char' or `binary'.
-
-=cut
-
-sub _quote {
-  my($value, $table, $column) = @_;
-  my $column_obj = dbdef->table($table)->column($column);
-  my $column_type = $column_obj->type;
-  my $nullable = $column_obj->null;
-
-  warn "  $table.$column: $value ($column_type".
-       ( $nullable ? ' NULL' : ' NOT NULL' ).
-       ")\n" if $DEBUG > 2;
-
-  if ( $value eq '' && $column_type =~ /^int/ ) {
-    if ( $nullable ) {
-      'NULL';
-    } else {
-      cluck "WARNING: Attempting to set non-null integer $table.$column null; ".
-            "using 0 instead";
-      0;
-    }
-  } elsif ( $value =~ /^\d+(\.\d+)?$/ && 
-            ! $column_type =~ /(char|binary|text)$/i ) {
-    $value;
-  } else {
-    dbh->quote($value);
-  }
-}
-
-=item vfieldpart_hashref TABLE
-
-Returns a hashref of virtual field names and vfieldparts applicable to the given
-TABLE.
-
-=cut
-
-sub vfieldpart_hashref {
-  my $self = shift;
-  my $table = $self->table;
-
-  return {} unless dbdef->table('part_virtual_field');
-
-  my $dbh = dbh;
-  my $statement = "SELECT vfieldpart, name FROM part_virtual_field WHERE ".
-                  "dbtable = '$table'";
-  my $sth = $dbh->prepare($statement);
-  $sth->execute or croak "Execution of '$statement' failed: ".$dbh->errstr;
-  return { map { $_->{name}, $_->{vfieldpart} } 
-    @{$sth->fetchall_arrayref({})} };
-
-}
-
-
-=item hfields TABLE
-
-This is deprecated.  Don't use it.
-
-It returns a hash-type list with the fields of this record's table set true.
-
-=cut
-
-sub hfields {
-  carp "warning: hfields is deprecated";
-  my($table)=@_;
-  my(%hash);
-  foreach (fields($table)) {
-    $hash{$_}=1;
-  }
-  \%hash;
-}
-
-sub _dump {
-  my($self)=@_;
-  join("\n", map {
-    "$_: ". $self->getfield($_). "|"
-  } (fields($self->table)) );
-}
-
-sub encrypt {
-  my ($self, $value) = @_;
-  my $encrypted;
-
-  if ($conf->exists('encryption')) {
-    if ($self->is_encrypted($value)) {
-      # Return the original value if it isn't plaintext.
-      $encrypted = $value;
-    } else {
-      $self->loadRSA;
-      if (ref($rsa_encrypt) =~ /::RSA/) { # We Can Encrypt
-        # RSA doesn't like the empty string so let's pack it up
-        # The database doesn't like the RSA data so uuencode it
-        my $length = length($value)+1;
-        $encrypted = pack("u*",$rsa_encrypt->encrypt(pack("Z$length",$value)));
-      } else {
-        die ("You can't encrypt w/o a valid RSA engine - Check your installation or disable encryption");
-      }
-    }
-  }
-  return $encrypted;
-}
-
-sub is_encrypted {
-  my ($self, $value) = @_;
-  # Possible Bug - Some work may be required here....
-
-  if (length($value) > 80) {
-    return 1;
-  } else {
-    return 0;
-  }
-}
-
-sub decrypt {
-  my ($self,$value) = @_;
-  my $decrypted = $value; # Will return the original value if it isn't encrypted or can't be decrypted.
-  if ($conf->exists('encryption') && $self->is_encrypted($value)) {
-    $self->loadRSA;
-    if (ref($rsa_decrypt) =~ /::RSA/) {
-      my $encrypted = unpack ("u*", $value);
-      $decrypted =  unpack("Z*", $rsa_decrypt->decrypt($encrypted));
-    }
-  }
-  return $decrypted;
-}
-
-sub loadRSA {
-    my $self = shift;
-    #Initialize the Module
-    $rsa_module = 'Crypt::OpenSSL::RSA'; # The Default
-
-    if ($conf->exists('encryptionmodule') && $conf->config('encryptionmodule') ne '') {
-      $rsa_module = $conf->config('encryptionmodule');
-    }
-
-    if (!$rsa_loaded) {
-       eval ("require $rsa_module"); # No need to import the namespace
-       $rsa_loaded++;
-    }
-    # Initialize Encryption
-    if ($conf->exists('encryptionpublickey') && $conf->config('encryptionpublickey') ne '') {
-      my $public_key = join("\n",$conf->config('encryptionpublickey'));
-      $rsa_encrypt = $rsa_module->new_public_key($public_key);
-    }
-    
-    # Intitalize Decryption
-    if ($conf->exists('encryptionprivatekey') && $conf->config('encryptionprivatekey') ne '') {
-      my $private_key = join("\n",$conf->config('encryptionprivatekey'));
-      $rsa_decrypt = $rsa_module->new_private_key($private_key);
-    }
-}
-
-sub DESTROY { return; }
-
-#sub DESTROY {
-#  my $self = shift;
-#  #use Carp qw(cluck);
-#  #cluck "DESTROYING $self";
-#  warn "DESTROYING $self";
-#}
-
-#sub is_tainted {
-#             return ! eval { join('',@_), kill 0; 1; };
-#         }
-
-=back
-
-=head1 BUGS
-
-This module should probably be renamed, since much of the functionality is
-of general use.  It is not completely unlike Adapter::DBI (see below).
-
-Exported qsearch and qsearchs should be deprecated in favor of method calls
-(against an FS::Record object like the old search and searchs that qsearch
-and qsearchs were on top of.)
-
-The whole fields / hfields mess should be removed.
-
-The various WHERE clauses should be subroutined.
-
-table string should be deprecated in favor of DBIx::DBSchema::Table.
-
-No doubt we could benefit from a Tied hash.  Documenting how exists / defined
-true maps to the database (and WHERE clauses) would also help.
-
-The ut_ methods should ask the dbdef for a default length.
-
-ut_sqltype (like ut_varchar) should all be defined
-
-A fallback check method should be provided which uses the dbdef.
-
-The ut_money method assumes money has two decimal digits.
-
-The Pg money kludge in the new method only strips `$'.
-
-The ut_phonen method only checks US-style phone numbers.
-
-The _quote function should probably use ut_float instead of a regex.
-
-All the subroutines probably should be methods, here or elsewhere.
-
-Probably should borrow/use some dbdef methods where appropriate (like sub
-fields)
-
-As of 1.14, DBI fetchall_hashref( {} ) doesn't set fetchrow_hashref NAME_lc,
-or allow it to be set.  Working around it is ugly any way around - DBI should
-be fixed.  (only affects RDBMS which return uppercase column names)
-
-ut_zip should take an optional country like ut_phone.
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema>, L<FS::UID>, L<DBI>
-
-Adapter::DBI from Ch. 11 of Advanced Perl Programming by Sriram Srinivasan.
-
-http://poop.sf.net/
-
-=cut
-
-1;
-
diff --git a/FS/FS/Report.pm b/FS/FS/Report.pm
deleted file mode 100644 (file)
index 181fea2..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-package FS::Report;
-
-use strict;
-
-=head1 NAME
-
-FS::Report - Report data objects
-
-=head1 SYNOPSIS
-
-  #see the more speicific report objects, currently only FS::Report::Table
-
-=head1 DESCRIPTION
-
-See the more specific report objects, currently only FS::Report::Table
-
-=head1 METHODS
-
-=over 4
-
-=item new [ OPTION => VALUE ... ]
-
-Constructor.  Takes a list of options and their values.
-
-=cut
-
-sub new {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self = @_ ? ( ref($_[0]) ? shift : { @_ } ) : {};
-  bless( $self, $class );
-}
-
-=back
-
-=head1 BUGS
-
-Documentation.
-
-=head1 SEE ALSO
-
-L<FS::Report::Table>, reports in the web interface.
-
-=cut
-
-1;
diff --git a/FS/FS/Report/Table.pm b/FS/FS/Report/Table.pm
deleted file mode 100644 (file)
index 9f636fa..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package FS::Report::Table;
-
-use strict;
-use vars qw( @ISA );
-use FS::Report;
-
-@ISA = qw( FS::Report );
-
-=head1 NAME
-
-FS::Report::Table - Tables of report data
-
-=head1 SYNOPSIS
-
-See the more specific report objects, currently only FS::Report::Table::Monthly
-
-=head1 BUGS
-
-Documentation.
-
-=head1 SEE ALSO
-
-L<FS::Report::Table::Monthly>, reports in the web interface.
-
-=cut
-
-1;
diff --git a/FS/FS/Report/Table/Monthly.pm b/FS/FS/Report/Table/Monthly.pm
deleted file mode 100644 (file)
index 89d44f9..0000000
+++ /dev/null
@@ -1,210 +0,0 @@
-package FS::Report::Table::Monthly;
-
-use strict;
-use vars qw( @ISA $expenses_kludge );
-use Time::Local;
-use FS::UID qw( dbh );
-use FS::Report::Table;
-
-@ISA = qw( FS::Report::Table );
-
-$expenses_kludge = 0;
-
-=head1 NAME
-
-FS::Report::Table::Monthly - Tables of report data, indexed monthly
-
-=head1 SYNOPSIS
-
-  use FS::Report::Table::Monthly;
-
-  my $report = new FS::Report::Table::Monthly (
-    'items' => [ 'invoiced', 'netsales', 'credits', 'receipts', ],
-    'start_month' => 4,
-    'start_year'  => 2000,
-    'end_month'   => 4,
-    'end_year'    => 2020,
-  );
-
-  my $data = $report->data;
-
-=head1 METHODS
-
-=over 4
-
-=item data
-
-Returns a hashref of data (!! describe)
-
-=cut
-
-sub data {
-  my $self = shift;
-
-  my $smonth = $self->{'start_month'};
-  my $syear = $self->{'start_year'};
-  my $emonth = $self->{'end_month'};
-  my $eyear = $self->{'end_year'};
-
-  my %data;
-
-  while ( $syear < $eyear || ( $syear == $eyear && $smonth < $emonth+1 ) ) {
-
-    push @{$data{label}}, "$smonth/$syear";
-
-    my $speriod = timelocal(0,0,0,1,$smonth-1,$syear);
-    push @{$data{speriod}}, $speriod;
-    if ( ++$smonth == 13 ) { $syear++; $smonth=1; }
-    my $eperiod = timelocal(0,0,0,1,$smonth-1,$syear);
-    push @{$data{eperiod}}, $eperiod;
-  
-    foreach my $item ( @{$self->{'items'}} ) {
-      push @{$data{$item}}, $self->$item($speriod, $eperiod);
-    }
-
-  }
-
-  \%data;
-
-}
-
-sub invoiced { #invoiced
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-  $self->scalar_sql("
-    SELECT SUM(charged) FROM cust_bill
-    WHERE ". $self->in_time_period($speriod, $eperiod)
-  );
-}
-
-sub netsales { #net sales
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-
-  my $credited = $self->scalar_sql("
-    SELECT SUM(cust_credit_bill.amount)
-    FROM cust_credit_bill, cust_bill
-    WHERE cust_bill.invnum = cust_credit_bill.invnum
-      AND ".  $self->in_time_period($speriod, $eperiod, 'cust_bill')
-  );
-
-  #horrible local kludge
-  my $expenses = !$expenses_kludge ? 0 : $self->scalar_sql("
-    SELECT SUM(cust_bill_pkg.setup)
-    FROM cust_bill_pkg, cust_bill, cust_pkg, part_pkg
-    WHERE cust_bill.invnum = cust_bill_pkg.invnum
-    AND ". $self->in_time_period($speriod, $eperiod, 'cust_bill'). "
-    AND cust_pkg.pkgnum = cust_bill_pkg.pkgnum
-    AND cust_pkg.pkgpart = part_pkg.pkgpart
-    AND LOWER(part_pkg.pkg) LIKE 'expense _%'
-  ");
-
-  $self->invoiced($speriod,$eperiod) - $credited - $expenses;
-}
-
-#deferred revenue
-
-sub receipts { #cashflow
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-
-  my $refunded = $self->scalar_sql("
-    SELECT SUM(refund) FROM cust_refund
-    WHERE ". $self->in_time_period($speriod, $eperiod)
-  );
-
-  #horrible local kludge that doesn't even really work right
-  my $expenses = !$expenses_kludge ? 0 : $self->scalar_sql("
-    SELECT SUM(cust_bill_pay.amount)
-    FROM cust_bill_pay, cust_bill
-    WHERE cust_bill_pay.invnum = cust_bill.invnum
-    AND ". $self->in_time_period($speriod, $eperiod, 'cust_bill_pay'). "
-    AND 0 < ( SELECT COUNT(*) from cust_bill_pkg, cust_pkg, part_pkg
-              WHERE cust_bill.invnum = cust_bill_pkg.invnum
-              AND cust_pkg.pkgnum = cust_bill_pkg.pkgnum
-              AND cust_pkg.pkgpart = part_pkg.pkgpart
-              AND LOWER(part_pkg.pkg) LIKE 'expense _%'
-            )
-  ");
-  #    my $expenses_sql2 = "SELECT SUM(cust_bill_pay.amount) FROM cust_bill_pay, cust_bill_pkg, cust_bill, cust_pkg, part_pkg WHERE cust_bill_pay.invnum = cust_bill.invnum AND cust_bill.invnum = cust_bill_pkg.invnum AND cust_bill_pay._date >= $speriod AND cust_bill_pay._date < $eperiod AND cust_pkg.pkgnum = cust_bill_pkg.pkgnum AND cust_pkg.pkgpart = part_pkg.pkgpart AND LOWER(part_pkg.pkg) LIKE 'expense _%'";
-  
-  $self->payments($speriod, $eperiod) - $refunded - $expenses;
-}
-
-sub payments {
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-  $self->scalar_sql("
-    SELECT SUM(paid) FROM cust_pay
-    WHERE ". $self->in_time_period($speriod, $eperiod)
-  );
-}
-
-sub credits {
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-  $self->scalar_sql("
-    SELECT SUM(amount) FROM cust_credit
-    WHERE ". $self->in_time_period($speriod, $eperiod)
-  );
-}
-
-sub canceled { #active
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-  $self->scalar_sql("
-    SELECT COUNT(*) FROM cust_pkg
-    WHERE cust_pkg.custnum = cust_main.custnum
-    AND 0 = ( SELECT COUNT(*) FROM cust_pkg
-              WHERE cust_pkg.custnum = cust_main.custnum
-              AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 )
-            )
-    AND cust_pkg.cancel > $speriod AND cust_pkg.cancel < $eperiod
-  ");
-}
-sub newaccount { #newaccount
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-  $self->scalar_sql("
-     SELECT COUNT(*) FROM cust_pkg
-     WHERE cust_pkg.custnum = cust_main.custnum
-     AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 )
-     AND ( cust_pkg.susp IS NULL OR cust_pkg.susp = 0 )
-     AND cust_pkg.setup > $speriod AND cust_pkg.setup < $eperiod
-  ");
-}
-sub suspended { #suspended
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-  $self->scalar_sql("
-     SELECT COUNT(*) FROM cust_pkg
-     WHERE cust_pkg.custnum = cust_main.custnum
-     AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 )
-     AND 0 = ( SELECT COUNT(*) FROM cust_pkg
-               WHERE cust_pkg.custnum = cust_main.custnum
-               AND ( cust_pkg.susp IS NULL OR cust_pkg.susp = 0 )
-             )
-     AND cust_pkg.susp > $speriod AND cust_pkg.susp < $eperiod
-  ");
-}
-
-sub in_time_period {
-  my( $self, $speriod, $eperiod ) = ( shift, shift, shift );
-  my $table = @_ ? shift().'.' : '';
-  "${table}_date >= $speriod AND ${table}_date < $eperiod";
-}
-
-sub scalar_sql {
-  my( $self, $sql ) = ( shift, shift );
-  my $sth = dbh->prepare($sql) or die dbh->errstr;
-  $sth->execute
-    or die "Unexpected error executing statement $sql: ". $sth->errstr;
-  $sth->fetchrow_arrayref->[0] || 0;
-}
-
-=back
-
-=head1 BUGS
-
-Documentation.
-
-=head1 SEE ALSO
-
-=cut
-
-1;
-
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
deleted file mode 100644 (file)
index 451ef2d..0000000
+++ /dev/null
@@ -1,1277 +0,0 @@
-package FS::Schema;
-
-use vars qw(@ISA @EXPORT_OK $DEBUG $setup_hack %dbdef_cache);
-use subs qw(reload_dbdef);
-use Exporter;
-use DBIx::DBSchema 0.25;
-use DBIx::DBSchema::Table;
-use DBIx::DBSchema::Column;
-use DBIx::DBSchema::ColGroup::Unique;
-use DBIx::DBSchema::ColGroup::Index;
-use FS::UID qw(datasrc);
-
-@ISA = qw(Exporter);
-@EXPORT_OK = qw( dbdef dbdef_dist reload_dbdef );
-
-$DEBUG = 0;
-$me = '[FS::Schema]';
-
-#ask FS::UID to run this stuff for us later
-FS::UID->install_callback( sub {
-  #$conf = new FS::Conf; 
-  &reload_dbdef("/usr/local/etc/freeside/dbdef.". datasrc)
-    unless $setup_hack; #$setup_hack needed now?
-} );
-
-=head1 NAME
-
-FS::Schema - Freeside database schema
-
-=head1 SYNOPSYS
-
-    use FS::Schema qw(dbdef dbdef_dist reload_dbdef);
-
-    $dbdef = reload_dbdef;
-    $dbdef = reload_dbdef "/non/standard/filename";
-    $dbdef = dbdef;
-    $dbdef_dist = dbdef_dist;
-
-=head1 DESCRIPTION
-
-This class represents the database schema.
-
-=head1 METHODS
-
-=over 4
-
-=item reload_dbdef([FILENAME])
-
-Load a database definition (see L<DBIx::DBSchema>), optionally from a
-non-default filename.  This command is executed at startup unless
-I<$FS::Schema::setup_hack> is true.  Returns a DBIx::DBSchema object.
-
-=cut
-
-sub reload_dbdef {
-  my $file = shift;
-
-  unless ( exists $dbdef_cache{$file} ) {
-    warn "[debug]$me loading dbdef for $file\n" if $DEBUG;
-    $dbdef_cache{$file} = DBIx::DBSchema->load( $file )
-                            or die "can't load database schema from $file";
-  } else {
-    warn "[debug]$me re-using cached dbdef for $file\n" if $DEBUG;
-  }
-  $dbdef = $dbdef_cache{$file};
-}
-
-=item dbdef
-
-Returns the current database definition (represents the current database,
-assuming it is up-to-date).  See L<DBIx::DBSchema>.
-
-=cut
-
-sub dbdef { $dbdef; }
-
-=item dbdef_dist [ OPTION => VALUE ... ]
-
-Returns the current canoical database definition as defined in this file.
-
-=cut
-
-sub dbdef_dist {
-
-  ###
-  # create a dbdef object from the old data structure
-  ###
-
-  my $tables_hashref = tables_hashref();
-
-  #turn it into objects
-  my $dbdef = new DBIx::DBSchema map {  
-    my @columns;
-    while (@{$tables_hashref->{$_}{'columns'}}) {
-      my($name, $type, $null, $length) =
-        splice @{$tables_hashref->{$_}{'columns'}}, 0, 4;
-      push @columns, new DBIx::DBSchema::Column ( $name,$type,$null,$length );
-    }
-    DBIx::DBSchema::Table->new(
-      $_,
-      $tables_hashref->{$_}{'primary_key'},
-      DBIx::DBSchema::ColGroup::Unique->new($tables_hashref->{$_}{'unique'}),
-      DBIx::DBSchema::ColGroup::Index->new($tables_hashref->{$_}{'index'}),
-      @columns,
-    );
-  } keys %$tables_hashref;
-
-  if ( $DEBUG ) {
-    warn "[debug]$me initial dbdef_dist created ($dbdef) with tables:\n";
-    warn "[debug]$me   $_\n" foreach $dbdef->tables;
-  }
-  
-  my $cust_main = $dbdef->table('cust_main');
-  #unless ($ship) { #remove ship_ from cust_main
-  #  $cust_main->delcolumn($_) foreach ( grep /^ship_/, $cust_main->columns );
-  #} else { #add indices
-    push @{$cust_main->index->lol_ref},
-      map { [ "ship_$_" ] } qw( last company daytime night fax );
-  #}
-  
-  #add radius attributes to svc_acct
-  #
-  #my($svc_acct)=$dbdef->table('svc_acct');
-  # 
-  #my($attribute);
-  #foreach $attribute (@attributes) {
-  #  $svc_acct->addcolumn ( new DBIx::DBSchema::Column (
-  #    'radius_'. $attribute,
-  #    'varchar',
-  #    'NULL',
-  #    $char_d,
-  #  ));
-  #}
-  # 
-  #foreach $attribute (@check_attributes) {
-  #  $svc_acct->addcolumn( new DBIx::DBSchema::Column (
-  #    'rc_'. $attribute,
-  #    'varchar',
-  #    'NULL',
-  #    $char_d,
-  #  ));
-  #}
-
-  #create history tables (false laziness w/create-history-tables)
-  foreach my $table (
-    grep { ! /^clientapi_session/ }
-    grep { ! /^h_/ }
-    $dbdef->tables
-  ) {
-    my $tableobj = $dbdef->table($table)
-      or die "unknown table $table";
-  
-    die "unique->lol_ref undefined for $table"
-      unless defined $tableobj->unique->lol_ref;
-    die "index->lol_ref undefined for $table"
-      unless defined $tableobj->index->lol_ref;
-  
-    my $h_tableobj = DBIx::DBSchema::Table->new( {
-      name        => "h_$table",
-      primary_key => 'historynum',
-      unique      => DBIx::DBSchema::ColGroup::Unique->new( [] ),
-      'index'     => DBIx::DBSchema::ColGroup::Index->new( [
-                       @{$tableobj->unique->lol_ref},
-                       @{$tableobj->index->lol_ref}
-                     ] ),
-      columns     => [
-                       DBIx::DBSchema::Column->new( {
-                         'name'    => 'historynum',
-                         'type'    => 'serial',
-                         'null'    => 'NOT NULL',
-                         'length'  => '',
-                         'default' => '',
-                         'local'   => '',
-                       } ),
-                       DBIx::DBSchema::Column->new( {
-                         'name'    => 'history_date',
-                         'type'    => 'int',
-                         'null'    => 'NULL',
-                         'length'  => '',
-                         'default' => '',
-                         'local'   => '',
-                       } ),
-                       DBIx::DBSchema::Column->new( {
-                         'name'    => 'history_user',
-                         'type'    => 'varchar',
-                         'null'    => 'NOT NULL',
-                         'length'  => '80',
-                         'default' => '',
-                         'local'   => '',
-                       } ),
-                       DBIx::DBSchema::Column->new( {
-                         'name'    => 'history_action',
-                         'type'    => 'varchar',
-                         'null'    => 'NOT NULL',
-                         'length'  => '80',
-                         'default' => '',
-                         'local'   => '',
-                       } ),
-                       map {
-                         my $column = $tableobj->column($_);
-  
-                         #clone so as to not disturb the original
-                         $column = DBIx::DBSchema::Column->new( {
-                           map { $_ => $column->$_() }
-                             qw( name type null length default local )
-                         } );
-  
-                         if ( $column->type eq 'serial' ) {
-                           $column->type('int');
-                           $column->null('NULL');
-                         }
-                         #$column->default('')
-                         #  if $column->default =~ /^nextval\(/i;
-                         #( my $local = $column->local ) =~ s/AUTO_INCREMENT//i;
-                         #$column->local($local);
-                         $column;
-                       } $tableobj->columns
-                     ],
-    } );
-    $dbdef->addtable($h_tableobj);
-  }
-
-  $dbdef;
-
-}
-
-sub tables_hashref {
-
-  my $char_d = 80; #default maxlength for text fields
-
-  #my(@date_type)  = ( 'timestamp', '', ''     );
-  my @date_type  = ( 'int', 'NULL', ''     );
-  my @perl_type = ( 'text', 'NULL', ''  ); 
-  my @money_type = ( 'decimal',   '', '10,2' );
-
-  my $username_len = 32; #usernamemax config file
-
-  return {
-
-    'agent' => {
-      'columns' => [
-        'agentnum', 'serial',            '',     '',
-        'agent',    'varchar',           '',     $char_d,
-        'typenum',  'int',            '',     '',
-        'freq',     'int',       'NULL', '',
-        'prog',     @perl_type,
-        'disabled',     'char', 'NULL', 1,
-        'username', 'varchar',       'NULL',     $char_d,
-        '_password','varchar',       'NULL',     $char_d,
-        'ticketing_queueid', 'int', 'NULL', '',
-      ],
-      'primary_key' => 'agentnum',
-      'unique' => [],
-      'index' => [ ['typenum'], ['disabled'] ],
-    },
-
-    'agent_type' => {
-      'columns' => [
-        'typenum',   'serial',  '', '',
-        'atype',     'varchar', '', $char_d,
-      ],
-      'primary_key' => 'typenum',
-      'unique' => [],
-      'index' => [],
-    },
-
-    'type_pkgs' => {
-      'columns' => [
-        'typepkgnum', 'serial', '', '',
-        'typenum',   'int',  '', '',
-        'pkgpart',   'int',  '', '',
-      ],
-      'primary_key' => 'typepkgnum',
-      'unique' => [ ['typenum', 'pkgpart'] ],
-      'index' => [ ['typenum'] ],
-    },
-
-    'cust_bill' => {
-      'columns' => [
-        'invnum',    'serial',  '', '',
-        'custnum',   'int',  '', '',
-        '_date',     @date_type,
-        'charged',   @money_type,
-        'printed',   'int',  '', '',
-        'closed',    'char', 'NULL', 1,
-      ],
-      'primary_key' => 'invnum',
-      'unique' => [],
-      'index' => [ ['custnum'], ['_date'] ],
-    },
-
-    'cust_bill_event' => {
-      'columns' => [
-        'eventnum',    'serial',  '', '',
-        'invnum',   'int',  '', '',
-        'eventpart',   'int',  '', '',
-        '_date',     @date_type,
-        'status', 'varchar', '', $char_d,
-        'statustext', 'text', 'NULL', '',
-      ],
-      'primary_key' => 'eventnum',
-      #no... there are retries now #'unique' => [ [ 'eventpart', 'invnum' ] ],
-      'unique' => [],
-      'index' => [ ['invnum'], ['status'] ],
-    },
-
-    'part_bill_event' => {
-      'columns' => [
-        'eventpart',    'serial',  '', '',
-        'payby',       'char',  '', 4,
-        'event',       'varchar',           '',     $char_d,
-        'eventcode',    @perl_type,
-        'seconds',     'int', 'NULL', '',
-        'weight',      'int', '', '',
-        'plan',       'varchar', 'NULL', $char_d,
-        'plandata',   'text', 'NULL', '',
-        'disabled',     'char', 'NULL', 1,
-      ],
-      'primary_key' => 'eventpart',
-      'unique' => [],
-      'index' => [ ['payby'], ['disabled'], ],
-    },
-
-    'cust_bill_pkg' => {
-      'columns' => [
-        'billpkgnum', 'serial', '', '',
-        'pkgnum',  'int', '', '',
-        'invnum',  'int', '', '',
-        'setup',   @money_type,
-        'recur',   @money_type,
-        'sdate',   @date_type,
-        'edate',   @date_type,
-        'itemdesc', 'varchar', 'NULL', $char_d,
-      ],
-      'primary_key' => 'billpkgnum',
-      'unique' => [],
-      'index' => [ ['invnum'], [ 'pkgnum' ] ],
-    },
-
-    'cust_bill_pkg_detail' => {
-      'columns' => [
-        'detailnum', 'serial', '', '',
-        'pkgnum',  'int', '', '',
-        'invnum',  'int', '', '',
-        'detail',  'varchar', '', $char_d,
-      ],
-      'primary_key' => 'detailnum',
-      'unique' => [],
-      'index' => [ [ 'pkgnum', 'invnum' ] ],
-    },
-
-    'cust_credit' => {
-      'columns' => [
-        'crednum',  'serial', '', '',
-        'custnum',  'int', '', '',
-        '_date',    @date_type,
-        'amount',   @money_type,
-        'otaker',   'varchar', '', 32,
-        'reason',   'text', 'NULL', '',
-        'closed',    'char', 'NULL', 1,
-      ],
-      'primary_key' => 'crednum',
-      'unique' => [],
-      'index' => [ ['custnum'] ],
-    },
-
-    'cust_credit_bill' => {
-      'columns' => [
-        'creditbillnum', 'serial', '', '',
-        'crednum',  'int', '', '',
-        'invnum',  'int', '', '',
-        '_date',    @date_type,
-        'amount',   @money_type,
-      ],
-      'primary_key' => 'creditbillnum',
-      'unique' => [],
-      'index' => [ ['crednum'], ['invnum'] ],
-    },
-
-    'cust_main' => {
-      'columns' => [
-        'custnum',  'serial',  '',     '',
-        'agentnum', 'int',  '',     '',
-#        'titlenum', 'int',  'NULL',   '',
-        'last',     'varchar', '',     $char_d,
-#        'middle',   'varchar', 'NULL', $char_d,
-        'first',    'varchar', '',     $char_d,
-        'ss',       'varchar', 'NULL', 11,
-        'company',  'varchar', 'NULL', $char_d,
-        'address1', 'varchar', '',     $char_d,
-        'address2', 'varchar', 'NULL', $char_d,
-        'city',     'varchar', '',     $char_d,
-        'county',   'varchar', 'NULL', $char_d,
-        'state',    'varchar', 'NULL', $char_d,
-        'zip',      'varchar', 'NULL', 10,
-        'country',  'char', '',     2,
-        'daytime',  'varchar', 'NULL', 20,
-        'night',    'varchar', 'NULL', 20,
-        'fax',      'varchar', 'NULL', 12,
-        'ship_last',     'varchar', 'NULL', $char_d,
-#        'ship_middle',   'varchar', 'NULL', $char_d,
-        'ship_first',    'varchar', 'NULL', $char_d,
-        'ship_company',  'varchar', 'NULL', $char_d,
-        'ship_address1', 'varchar', 'NULL', $char_d,
-        'ship_address2', 'varchar', 'NULL', $char_d,
-        'ship_city',     'varchar', 'NULL', $char_d,
-        'ship_county',   'varchar', 'NULL', $char_d,
-        'ship_state',    'varchar', 'NULL', $char_d,
-        'ship_zip',      'varchar', 'NULL', 10,
-        'ship_country',  'char', 'NULL', 2,
-        'ship_daytime',  'varchar', 'NULL', 20,
-        'ship_night',    'varchar', 'NULL', 20,
-        'ship_fax',      'varchar', 'NULL', 12,
-        'payby',    'char', '',     4,
-        'payinfo',  'varchar', 'NULL', 512,
-        'paycvv',   'varchar', 'NULL', 512,
-       'paymask', 'varchar', 'NULL', $char_d,
-        #'paydate',  @date_type,
-        'paydate',  'varchar', 'NULL', 10,
-        'paystart_month', 'int', 'NULL', '',
-        'paystart_year',  'int', 'NULL', '',
-        'payissue', 'varchar', 'NULL', 2,
-        'payname',  'varchar', 'NULL', $char_d,
-        'payip',    'varchar', 'NULL', 15,
-        'tax',      'char', 'NULL', 1,
-        'otaker',   'varchar', '',    32,
-        'refnum',   'int',  '',     '',
-        'referral_custnum', 'int',  'NULL', '',
-        'comments', 'text', 'NULL', '',
-      ],
-      'primary_key' => 'custnum',
-      'unique' => [],
-      #'index' => [ ['last'], ['company'] ],
-      'index' => [ ['last'], [ 'company' ], [ 'referral_custnum' ],
-                   [ 'daytime' ], [ 'night' ], [ 'fax' ], [ 'refnum' ],
-                   [ 'county' ], [ 'state' ], [ 'country' ]
-                 ],
-    },
-
-    'cust_main_invoice' => {
-      'columns' => [
-        'destnum',  'serial',  '',     '',
-        'custnum',  'int',  '',     '',
-        'dest',     'varchar', '',  $char_d,
-      ],
-      'primary_key' => 'destnum',
-      'unique' => [],
-      'index' => [ ['custnum'], ],
-    },
-
-    'cust_main_county' => { #county+state+country are checked off the
-                            #cust_main_county for validation and to provide
-                            # a tax rate.
-      'columns' => [
-        'taxnum',   'serial',   '',    '',
-        'state',    'varchar',  'NULL',    $char_d,
-        'county',   'varchar',  'NULL',    $char_d,
-        'country',  'char',  '', 2, 
-        'taxclass',   'varchar', 'NULL', $char_d,
-        'exempt_amount', @money_type,
-        'tax',      'real',  '',    '', #tax %
-        'taxname',  'varchar',  'NULL',    $char_d,
-        'setuptax',  'char', 'NULL', 1, # Y = setup tax exempt
-        'recurtax',  'char', 'NULL', 1, # Y = recur tax exempt
-      ],
-      'primary_key' => 'taxnum',
-      'unique' => [],
-  #    'unique' => [ ['taxnum'], ['state', 'county'] ],
-      'index' => [ [ 'county' ], [ 'state' ], [ 'country' ] ],
-    },
-
-    'cust_pay' => {
-      'columns' => [
-        'paynum',   'serial',    '',   '',
-        #now cust_bill_pay #'invnum',   'int',    '',   '',
-        'custnum',  'int',    '',   '',
-        'paid',     @money_type,
-        '_date',    @date_type,
-        'payby',    'char',   '',     4, # CARD/BILL/COMP, should be index into
-                                         # payment type table.
-        'payinfo',  'varchar',   'NULL', $char_d,  #see cust_main above
-        'paybatch', 'varchar',   'NULL', $char_d, #for auditing purposes.
-        'closed',    'char', 'NULL', 1,
-      ],
-      'primary_key' => 'paynum',
-      'unique' => [],
-      'index' => [ [ 'custnum' ], [ 'paybatch' ], [ 'payby' ], [ '_date' ] ],
-    },
-
-    'cust_pay_void' => {
-      'columns' => [
-        'paynum',    'int',    '',   '',
-        'custnum',   'int',    '',   '',
-        'paid',      @money_type,
-        '_date',     @date_type,
-        'payby',     'char',   '',     4, # CARD/BILL/COMP, should be index into
-                                          # payment type table.
-        'payinfo',   'varchar',   'NULL', $char_d,  #see cust_main above
-        'paybatch',  'varchar',   'NULL', $char_d, #for auditing purposes.
-        'closed',    'char', 'NULL', 1,
-        'void_date', @date_type,
-        'reason',    'varchar',   'NULL', $char_d,
-        'otaker',   'varchar', '', 32,
-      ],
-      'primary_key' => 'paynum',
-      'unique' => [],
-      'index' => [ [ 'custnum' ] ],
-    },
-
-    'cust_bill_pay' => {
-      'columns' => [
-        'billpaynum', 'serial',     '',   '',
-        'invnum',  'int',     '',   '',
-        'paynum',  'int',     '',   '',
-        'amount',  @money_type,
-        '_date',   @date_type
-      ],
-      'primary_key' => 'billpaynum',
-      'unique' => [],
-      'index' => [ [ 'paynum' ], [ 'invnum' ] ],
-    },
-
-    'cust_pay_batch' => { #what's this used for again?  list of customers
-                          #in current CARD batch? (necessarily CARD?)
-      'columns' => [
-        'paybatchnum',   'serial',    '',   '',
-        'invnum',   'int',    '',   '',
-        'custnum',   'int',    '',   '',
-        'last',     'varchar', '',     $char_d,
-        'first',    'varchar', '',     $char_d,
-        'address1', 'varchar', '',     $char_d,
-        'address2', 'varchar', 'NULL', $char_d,
-        'city',     'varchar', '',     $char_d,
-        'state',    'varchar', 'NULL', $char_d,
-        'zip',      'varchar', 'NULL', 10,
-        'country',  'char', '',     2,
-#        'trancode', 'int', '', '',
-        'cardnum',  'varchar', '',     16,
-        #'exp',      @date_type,
-        'exp',      'varchar', '',     11,
-        'payname',  'varchar', 'NULL', $char_d,
-        'amount',   @money_type,
-      ],
-      'primary_key' => 'paybatchnum',
-      'unique' => [],
-      'index' => [ ['invnum'], ['custnum'] ],
-    },
-
-    'cust_pkg' => {
-      'columns' => [
-        'pkgnum',    'serial',    '',   '',
-        'custnum',   'int',    '',   '',
-        'pkgpart',   'int',    '',   '',
-        'otaker',    'varchar', '', 32,
-        'setup',     @date_type,
-        'bill',      @date_type,
-        'last_bill', @date_type,
-        'susp',      @date_type,
-        'cancel',    @date_type,
-        'expire',    @date_type,
-        'manual_flag', 'char', 'NULL', 1,
-      ],
-      'primary_key' => 'pkgnum',
-      'unique' => [],
-      'index' => [ ['custnum'], ['pkgpart'] ],
-    },
-
-    'cust_refund' => {
-      'columns' => [
-        'refundnum',    'serial',    '',   '',
-        #now cust_credit_refund #'crednum',      'int',    '',   '',
-        'custnum',  'int',    '',   '',
-        '_date',        @date_type,
-        'refund',       @money_type,
-        'otaker',       'varchar',   '',   32,
-        'reason',       'varchar',   '',   $char_d,
-        'payby',        'char',   '',     4, # CARD/BILL/COMP, should be index
-                                             # into payment type table.
-        'payinfo',      'varchar',   'NULL', $char_d,  #see cust_main above
-        'paybatch',     'varchar',   'NULL', $char_d,
-        'closed',    'char', 'NULL', 1,
-      ],
-      'primary_key' => 'refundnum',
-      'unique' => [],
-      'index' => [],
-    },
-
-    'cust_credit_refund' => {
-      'columns' => [
-        'creditrefundnum', 'serial',     '',   '',
-        'crednum',  'int',     '',   '',
-        'refundnum',  'int',     '',   '',
-        'amount',  @money_type,
-        '_date',   @date_type
-      ],
-      'primary_key' => 'creditrefundnum',
-      'unique' => [],
-      'index' => [ [ 'crednum', 'refundnum' ] ],
-    },
-
-
-    'cust_svc' => {
-      'columns' => [
-        'svcnum',    'serial',    '',   '',
-        'pkgnum',    'int',    'NULL',   '',
-        'svcpart',   'int',    '',   '',
-      ],
-      'primary_key' => 'svcnum',
-      'unique' => [],
-      'index' => [ ['svcnum'], ['pkgnum'], ['svcpart'] ],
-    },
-
-    'part_pkg' => {
-      'columns' => [
-        'pkgpart',    'serial',    '',   '',
-        'pkg',        'varchar',   '',   $char_d,
-        'comment',    'varchar',   '',   $char_d,
-        'promo_code', 'varchar', 'NULL', $char_d,
-        'setup',      @perl_type,
-        'freq',       'varchar',   '',   $char_d,  #billing frequency
-        'recur',      @perl_type,
-        'setuptax',  'char', 'NULL', 1,
-        'recurtax',  'char', 'NULL', 1,
-        'plan',       'varchar', 'NULL', $char_d,
-        'plandata',   'text', 'NULL', '',
-        'disabled',   'char', 'NULL', 1,
-        'taxclass',   'varchar', 'NULL', $char_d,
-      ],
-      'primary_key' => 'pkgpart',
-      'unique' => [],
-      'index' => [ [ 'promo_code' ], [ 'disabled' ] ],
-    },
-
-#    'part_title' => {
-#      'columns' => [
-#        'titlenum',   'int',    '',   '',
-#        'title',      'varchar',   '',   $char_d,
-#      ],
-#      'primary_key' => 'titlenum',
-#      'unique' => [ [] ],
-#      'index' => [ [] ],
-#    },
-
-    'pkg_svc' => {
-      'columns' => [
-        'pkgsvcnum',  'serial', '',  '',
-        'pkgpart',    'int',    '',   '',
-        'svcpart',    'int',    '',   '',
-        'quantity',   'int',    '',   '',
-        'primary_svc','char', 'NULL',  1,
-      ],
-      'primary_key' => 'pkgsvcnum',
-      'unique' => [ ['pkgpart', 'svcpart'] ],
-      'index' => [ ['pkgpart'] ],
-    },
-
-    'part_referral' => {
-      'columns' => [
-        'refnum',   'serial',    '',   '',
-        'referral', 'varchar',   '',   $char_d,
-        'disabled',     'char', 'NULL', 1,
-      ],
-      'primary_key' => 'refnum',
-      'unique' => [],
-      'index' => [ ['disabled'] ],
-    },
-
-    'part_svc' => {
-      'columns' => [
-        'svcpart',    'serial',    '',   '',
-        'svc',        'varchar',   '',   $char_d,
-        'svcdb',      'varchar',   '',   $char_d,
-        'disabled',   'char',  'NULL',   1,
-      ],
-      'primary_key' => 'svcpart',
-      'unique' => [],
-      'index' => [ [ 'disabled' ] ],
-    },
-
-    'part_svc_column' => {
-      'columns' => [
-        'columnnum',   'serial',         '', '',
-        'svcpart',     'int',         '', '',
-        'columnname',  'varchar',     '', 64,
-        'columnvalue', 'varchar', 'NULL', $char_d,
-        'columnflag',  'char',    'NULL', 1, 
-      ],
-      'primary_key' => 'columnnum',
-      'unique' => [ [ 'svcpart', 'columnname' ] ],
-      'index' => [ [ 'svcpart' ] ],
-    },
-
-    #(this should be renamed to part_pop)
-    'svc_acct_pop' => {
-      'columns' => [
-        'popnum',    'serial',    '',   '',
-        'city',      'varchar',   '',   $char_d,
-        'state',     'varchar',   '',   $char_d,
-        'ac',        'char',   '',   3,
-        'exch',      'char',   '',   3,
-        'loc',       'char',   'NULL',   4, #NULL for legacy purposes
-      ],
-      'primary_key' => 'popnum',
-      'unique' => [],
-      'index' => [ [ 'state' ] ],
-    },
-
-    'part_pop_local' => {
-      'columns' => [
-        'localnum',  'serial',     '',     '',
-        'popnum',    'int',     '',     '',
-        'city',      'varchar', 'NULL', $char_d,
-        'state',     'char',    'NULL', 2,
-        'npa',       'char',    '',     3,
-        'nxx',       'char',    '',     3,
-      ],
-      'primary_key' => 'localnum',
-      'unique' => [],
-      'index' => [ [ 'npa', 'nxx' ], [ 'popnum' ] ],
-    },
-
-    'svc_acct' => {
-      'columns' => [
-        'svcnum',    'int',    '',   '',
-        'username',  'varchar',   '',   $username_len, #unique (& remove dup code)
-        '_password', 'varchar',   '',   72, #13 for encryped pw's plus ' *SUSPENDED* (md5 passwords can be 34, blowfish 60)
-        'sec_phrase', 'varchar',  'NULL',   $char_d,
-        'popnum',    'int',    'NULL',   '',
-        'uid',       'int', 'NULL',   '',
-        'gid',       'int', 'NULL',   '',
-        'finger',    'varchar',   'NULL',   $char_d,
-        'dir',       'varchar',   'NULL',   $char_d,
-        'shell',     'varchar',   'NULL',   $char_d,
-        'quota',     'varchar',   'NULL',   $char_d,
-        'slipip',    'varchar',   'NULL',   15, #four TINYINTs, bah.
-        'seconds',   'int', 'NULL',   '', #uhhhh
-        'domsvc',    'int', '',   '',
-      ],
-      'primary_key' => 'svcnum',
-      #'unique' => [ [ 'username', 'domsvc' ] ],
-      'unique' => [],
-      'index' => [ ['username'], ['domsvc'] ],
-    },
-
-    #'svc_charge' => {
-    #  'columns' => [
-    #    'svcnum',    'int',    '',   '',
-    #    'amount',    @money_type,
-    #  ],
-    #  'primary_key' => 'svcnum',
-    #  'unique' => [ [] ],
-    #  'index' => [ [] ],
-    #},
-
-    'svc_domain' => {
-      'columns' => [
-        'svcnum',    'int',    '',   '',
-        'domain',    'varchar',    '',   $char_d,
-        'catchall',  'int', 'NULL',    '',
-      ],
-      'primary_key' => 'svcnum',
-      'unique' => [ ['domain'] ],
-      'index' => [],
-    },
-
-    'domain_record' => {
-      'columns' => [
-        'recnum',    'serial',     '',  '',
-        'svcnum',    'int',     '',  '',
-        #'reczone',   'varchar', '',  $char_d,
-        'reczone',   'varchar', '',  255,
-        'recaf',     'char',    '',  2,
-        'rectype',   'varchar',    '',  5,
-        #'recdata',   'varchar', '',  $char_d,
-        'recdata',   'varchar', '',  255,
-      ],
-      'primary_key' => 'recnum',
-      'unique'      => [],
-      'index'       => [ ['svcnum'] ],
-    },
-
-    'svc_forward' => {
-      'columns' => [
-        'svcnum',   'int',            '',   '',
-        'srcsvc',   'int',        'NULL',   '',
-        'src',      'varchar',    'NULL',  255,
-        'dstsvc',   'int',        'NULL',   '',
-        'dst',      'varchar',    'NULL',  255,
-      ],
-      'primary_key' => 'svcnum',
-      'unique'      => [],
-      'index'       => [ ['srcsvc'], ['dstsvc'] ],
-    },
-
-    'svc_www' => {
-      'columns' => [
-        'svcnum',   'int',    '',  '',
-        'recnum',   'int',    '',  '',
-        'usersvc',  'int',    '',  '',
-      ],
-      'primary_key' => 'svcnum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    #'svc_wo' => {
-    #  'columns' => [
-    #    'svcnum',    'int',    '',   '',
-    #    'svcnum',    'int',    '',   '',
-    #    'svcnum',    'int',    '',   '',
-    #    'worker',    'varchar',   '',   $char_d,
-    #    '_date',     @date_type,
-    #  ],
-    #  'primary_key' => 'svcnum',
-    #  'unique' => [ [] ],
-    #  'index' => [ [] ],
-    #},
-
-    'prepay_credit' => {
-      'columns' => [
-        'prepaynum',   'serial',     '',   '',
-        'identifier',  'varchar', '', $char_d,
-        'amount',      @money_type,
-        'seconds',     'int',     'NULL', '',
-        'agentnum',    'int',     'NULL', '',
-      ],
-      'primary_key' => 'prepaynum',
-      'unique'      => [ ['identifier'] ],
-      'index'       => [],
-    },
-
-    'port' => {
-      'columns' => [
-        'portnum',  'serial',     '',   '',
-        'ip',       'varchar', 'NULL', 15,
-        'nasport',  'int',     'NULL', '',
-        'nasnum',   'int',     '',   '',
-      ],
-      'primary_key' => 'portnum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    'nas' => {
-      'columns' => [
-        'nasnum',   'serial',     '',    '',
-        'nas',      'varchar', '',    $char_d,
-        'nasip',    'varchar', '',    15,
-        'nasfqdn',  'varchar', '',    $char_d,
-        'last',     'int',     '',    '',
-      ],
-      'primary_key' => 'nasnum',
-      'unique'      => [ [ 'nas' ], [ 'nasip' ] ],
-      'index'       => [ [ 'last' ] ],
-    },
-
-    'session' => {
-      'columns' => [
-        'sessionnum', 'serial',       '',   '',
-        'portnum',    'int',       '',   '',
-        'svcnum',     'int',       '',   '',
-        'login',      @date_type,
-        'logout',     @date_type,
-      ],
-      'primary_key' => 'sessionnum',
-      'unique'      => [],
-      'index'       => [ [ 'portnum' ] ],
-    },
-
-    'queue' => {
-      'columns' => [
-        'jobnum', 'serial', '', '',
-        'job', 'text', '', '',
-        '_date', 'int', '', '',
-        'status', 'varchar', '', $char_d,
-        'statustext', 'text', 'NULL', '',
-        'svcnum', 'int', 'NULL', '',
-      ],
-      'primary_key' => 'jobnum',
-      'unique'      => [],
-      'index'       => [ [ 'svcnum' ], [ 'status' ] ],
-    },
-
-    'queue_arg' => {
-      'columns' => [
-        'argnum', 'serial', '', '',
-        'jobnum', 'int', '', '',
-        'arg', 'text', 'NULL', '',
-      ],
-      'primary_key' => 'argnum',
-      'unique'      => [],
-      'index'       => [ [ 'jobnum' ] ],
-    },
-
-    'queue_depend' => {
-      'columns' => [
-        'dependnum', 'serial', '', '',
-        'jobnum', 'int', '', '',
-        'depend_jobnum', 'int', '', '',
-      ],
-      'primary_key' => 'dependnum',
-      'unique'      => [],
-      'index'       => [ [ 'jobnum' ], [ 'depend_jobnum' ] ],
-    },
-
-    'export_svc' => {
-      'columns' => [
-        'exportsvcnum' => 'serial', '', '',
-        'exportnum'    => 'int', '', '',
-        'svcpart'      => 'int', '', '',
-      ],
-      'primary_key' => 'exportsvcnum',
-      'unique'      => [ [ 'exportnum', 'svcpart' ] ],
-      'index'       => [ [ 'exportnum' ], [ 'svcpart' ] ],
-    },
-
-    'part_export' => {
-      'columns' => [
-        'exportnum', 'serial', '', '',
-        #'svcpart',   'int', '', '',
-        'machine', 'varchar', '', $char_d,
-        'exporttype', 'varchar', '', $char_d,
-        'nodomain',     'char', 'NULL', 1,
-      ],
-      'primary_key' => 'exportnum',
-      'unique'      => [],
-      'index'       => [ [ 'machine' ], [ 'exporttype' ] ],
-    },
-
-    'part_export_option' => {
-      'columns' => [
-        'optionnum', 'serial', '', '',
-        'exportnum', 'int', '', '',
-        'optionname', 'varchar', '', $char_d,
-        'optionvalue', 'text', 'NULL', '',
-      ],
-      'primary_key' => 'optionnum',
-      'unique'      => [],
-      'index'       => [ [ 'exportnum' ], [ 'optionname' ] ],
-    },
-
-    'radius_usergroup' => {
-      'columns' => [
-        'usergroupnum', 'serial', '', '',
-        'svcnum',       'int', '', '',
-        'groupname',    'varchar', '', $char_d,
-      ],
-      'primary_key' => 'usergroupnum',
-      'unique'      => [],
-      'index'       => [ [ 'svcnum' ], [ 'groupname' ] ],
-    },
-
-    'msgcat' => {
-      'columns' => [
-        'msgnum', 'serial', '', '',
-        'msgcode', 'varchar', '', $char_d,
-        'locale', 'varchar', '', 16,
-        'msg', 'text', '', '',
-      ],
-      'primary_key' => 'msgnum',
-      'unique'      => [ [ 'msgcode', 'locale' ] ],
-      'index'       => [],
-    },
-
-    'cust_tax_exempt' => {
-      'columns' => [
-        'exemptnum', 'serial', '', '',
-        'custnum',   'int', '', '',
-        'taxnum',    'int', '', '',
-        'year',      'int', '', '',
-        'month',     'int', '', '',
-        'amount',   @money_type,
-      ],
-      'primary_key' => 'exemptnum',
-      'unique'      => [ [ 'custnum', 'taxnum', 'year', 'month' ] ],
-      'index'       => [],
-    },
-
-    'router' => {
-      'columns' => [
-        'routernum', 'serial', '', '',
-        'routername', 'varchar', '', $char_d,
-        'svcnum', 'int', 'NULL', '',
-      ],
-      'primary_key' => 'routernum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    'part_svc_router' => {
-      'columns' => [
-        'svcrouternum', 'serial', '', '',
-        'svcpart', 'int', '', '',
-       'routernum', 'int', '', '',
-      ],
-      'primary_key' => 'svcrouternum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    'addr_block' => {
-      'columns' => [
-        'blocknum', 'serial', '', '',
-       'routernum', 'int', '', '',
-        'ip_gateway', 'varchar', '', 15,
-        'ip_netmask', 'int', '', '',
-      ],
-      'primary_key' => 'blocknum',
-      'unique'      => [ [ 'blocknum', 'routernum' ] ],
-      'index'       => [],
-    },
-
-    'svc_broadband' => {
-      'columns' => [
-        'svcnum', 'int', '', '',
-        'blocknum', 'int', '', '',
-        'speed_up', 'int', '', '',
-        'speed_down', 'int', '', '',
-        'ip_addr', 'varchar', '', 15,
-      ],
-      'primary_key' => 'svcnum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    'part_virtual_field' => {
-      'columns' => [
-        'vfieldpart', 'int', '', '',
-        'dbtable', 'varchar', '', 32,
-        'name', 'varchar', '', 32,
-        'check_block', 'text', 'NULL', '',
-        'length', 'int', 'NULL', '',
-        'list_source', 'text', 'NULL', '',
-        'label', 'varchar', 'NULL', 80,
-      ],
-      'primary_key' => 'vfieldpart',
-      'unique' => [],
-      'index' => [],
-    },
-
-    'virtual_field' => {
-      'columns' => [
-        'vfieldnum', 'serial', '', '',
-        'recnum', 'int', '', '',
-        'vfieldpart', 'int', '', '',
-        'value', 'varchar', '', 128,
-      ],
-      'primary_key' => 'vfieldnum',
-      'unique' => [ [ 'vfieldpart', 'recnum' ] ],
-      'index' => [],
-    },
-
-    'acct_snarf' => {
-      'columns' => [
-        'snarfnum',  'int', '', '',
-        'svcnum',    'int', '', '',
-        'machine',   'varchar', '', 255,
-        'protocol',  'varchar', '', $char_d,
-        'username',  'varchar', '', $char_d,
-        '_password', 'varchar', '', $char_d,
-      ],
-      'primary_key' => 'snarfnum',
-      'unique' => [],
-      'index'  => [ [ 'svcnum' ] ],
-    },
-
-    'svc_external' => {
-      'columns' => [
-        'svcnum', 'int', '', '',
-        'id',     'int', 'NULL', '',
-        'title',  'varchar', 'NULL', $char_d,
-      ],
-      'primary_key' => 'svcnum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    'cust_pay_refund' => {
-      'columns' => [
-        'payrefundnum', 'serial', '', '',
-        'paynum',  'int', '', '',
-        'refundnum',  'int', '', '',
-        '_date',    @date_type,
-        'amount',   @money_type,
-      ],
-      'primary_key' => 'payrefundnum',
-      'unique' => [],
-      'index' => [ ['paynum'], ['refundnum'] ],
-    },
-
-    'part_pkg_option' => {
-      'columns' => [
-        'optionnum', 'serial', '', '',
-        'pkgpart', 'int', '', '',
-        'optionname', 'varchar', '', $char_d,
-        'optionvalue', 'text', 'NULL', '',
-      ],
-      'primary_key' => 'optionnum',
-      'unique'      => [],
-      'index'       => [ [ 'pkgpart' ], [ 'optionname' ] ],
-    },
-
-    'rate' => {
-      'columns' => [
-        'ratenum',  'serial', '', '',
-        'ratename', 'varchar', '', $char_d,
-      ],
-      'primary_key' => 'ratenum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    'rate_detail' => {
-      'columns' => [
-        'ratedetailnum',   'serial', '', '',
-        'ratenum',         'int',     '', '',
-        'orig_regionnum',  'int', 'NULL', '',
-        'dest_regionnum',  'int',     '', '',
-        'min_included',    'int',     '', '',
-        'min_charge',      @money_type,
-        'sec_granularity', 'int',     '', '',
-        #time period (link to table of periods)?
-      ],
-      'primary_key' => 'ratedetailnum',
-      'unique'      => [ [ 'ratenum', 'orig_regionnum', 'dest_regionnum' ] ],
-      'index'       => [ [ 'ratenum', 'dest_regionnum' ] ],
-    },
-
-    'rate_region' => {
-      'columns' => [
-        'regionnum',   'serial',      '', '',
-        'regionname',  'varchar',     '', $char_d,
-      ],
-      'primary_key' => 'regionnum',
-      'unique'      => [],
-      'index'       => [],
-    },
-
-    'rate_prefix' => {
-      'columns' => [
-        'prefixnum',   'serial',    '', '',
-        'regionnum',   'int',       '', '',,
-        'countrycode', 'varchar',     '', 3,
-        'npa',         'varchar', 'NULL', 6,
-        'nxx',         'varchar', 'NULL', 3,
-      ],
-      'primary_key' => 'prefixnum',
-      'unique'      => [],
-      'index'       => [ [ 'countrycode' ], [ 'regionnum' ] ],
-    },
-
-    'reg_code' => {
-      'columns' => [
-        'codenum',   'serial',    '', '',
-        'code',      'varchar',   '', $char_d,
-        'agentnum',  'int',       '', '',
-      ],
-      'primary_key' => 'codenum',
-      'unique'      => [ [ 'agentnum', 'code' ] ],
-      'index'       => [ [ 'agentnum' ] ],
-    },
-
-    'reg_code_pkg' => {
-      'columns' => [
-        'codepkgnum', 'serial', '', '',
-        'codenum',   'int',    '', '',
-        'pkgpart',   'int',    '', '',
-      ],
-      'primary_key' => 'codepkgnum',
-      'unique'      => [ [ 'codenum', 'pkgpart' ] ],
-      'index'       => [ [ 'codenum' ] ],
-    },
-
-    'clientapi_session' => {
-      'columns' => [
-        'sessionnum',  'serial',  '', '',
-        'sessionid',  'varchar',  '', $char_d,
-        'namespace',  'varchar',  '', $char_d,
-      ],
-      'primary_key' => 'sessionnum',
-      'unique'      => [ [ 'sessionid', 'namespace' ] ],
-      'index'       => [],
-    },
-
-    'clientapi_session_field' => {
-      'columns' => [
-        'fieldnum',    'serial',     '', '',
-        'sessionnum',     'int',     '', '',
-        'fieldname',  'varchar',     '', $char_d,
-        'fieldvalue',    'text', 'NULL', '',
-      ],
-      'primary_key' => 'fieldnum',
-      'unique'      => [ [ 'sessionnum', 'fieldname' ] ],
-      'index'       => [],
-    },
-
-    'payment_gateway' => {
-      'columns' => [
-        'gatewaynum',       'serial',   '',     '',
-        'gateway_module',   'varchar',  '',     $char_d,
-        'gateway_username', 'varchar',  'NULL', $char_d,
-        'gateway_password', 'varchar',  'NULL', $char_d,
-        'gateway_action',   'varchar',  'NULL', $char_d,
-        'disabled',   'char',  'NULL',   1,
-      ],
-      'primary_key' => 'gatewaynum',
-      'unique' => [],
-      'index'  => [ [ 'disabled' ] ],
-    },
-
-    'payment_gateway_option' => {
-      'columns' => [
-        'optionnum',   'serial',  '',     '',
-        'gatewaynum',  'int',     '',     '',
-        'optionname',  'varchar', '',     $char_d,
-        'optionvalue', 'text',    'NULL', '',
-      ],
-      'primary_key' => 'optionnum',
-      'unique'      => [],
-      'index'       => [ [ 'gatewaynum' ], [ 'optionname' ] ],
-    },
-
-    'agent_payment_gateway' => {
-      'columns' => [
-        'agentgatewaynum', 'serial', '', '',
-        'agentnum',        'int', '', '',
-        'gatewaynum',      'int', '', '',
-        'cardtype',        'varchar', 'NULL', $char_d,
-        'taxclass',        'varchar', 'NULL', $char_d,
-      ],
-      'primary_key' => 'agentgatewaynum',
-      'unique'      => [],
-      'index'       => [ [ 'agentnum', 'cardtype' ], ],
-    },
-
-    'banned_pay' => {
-      'columns' => [
-        'bannum',  'serial',   '',     '',
-        'payby',   'char',     '',       4,
-        'payinfo', 'varchar',  '',     128, #say, a 512-big digest _hex encoded
-       #'paymask', 'varchar',  'NULL', $char_d,
-        '_date',   @date_type,
-        'otaker',  'varchar',  '',     32,
-        'reason',  'varchar',  'NULL', $char_d,
-      ],
-      'primary_key' => 'bannum',
-      'unique'      => [ [ 'payby', 'payinfo' ] ],
-      'index'       => [],
-    },
-
-    'cancel_reason' => {
-      'columns' => [
-        'reasonnum', 'serial',  '',     '',
-        'reason',    'varchar', '',     $char_d,
-        'disabled',  'char',    'NULL', 1,
-      ],
-      'primary_key' => 'reasonnum',
-      'unique' => [],
-      'index'  => [ [ 'disabled' ] ],
-    },
-
-  };
-
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema>
-
-=cut
-
-1;
-
diff --git a/FS/FS/SearchCache.pm b/FS/FS/SearchCache.pm
deleted file mode 100644 (file)
index 4218acf..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-package FS::SearchCache;
-
-use strict;
-use vars qw($DEBUG);
-#use Carp qw(carp cluck croak confess);
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::SearchCache - cache
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=over 4
-
-=item new
-
-=cut
-
-sub new { 
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my( $table, $key ) = @_;
-  warn "table $table\n" if $DEBUG > 1;
-  warn "key $key\n" if $DEBUG > 1;
-  my $self = { 'table' => $table,
-               'key'   => $key,
-               'cache' => {},
-               'subcache' => {},
-             };
-  bless ($self, $class);
-
-  $self;
-}
-
-=item table
-
-=cut
-
-sub table { my $self = shift; $self->{table}; }
-
-=item key
-
-=cut
-
-sub key { my $self = shift; $self->{key}; }
-
-=item cache
-
-=cut
-
-sub cache { my $self = shift; $self->{cache}; }
-
-=item subcache
-
-=cut
-
-sub subcache {
-  my $self = shift;
-  my $col = shift;
-  my $table = shift;
-  my $keyval = shift;
-  if ( exists $self->{subcache}->{$col}->{$keyval} ) {
-    warn "returning existing subcache for $keyval ($col)".
-         "$self->{subcache}->{$col}->{$keyval}\n" if $DEBUG;
-    return $self->{subcache}->{$col}->{$keyval};
-  } else {
-    #my $tablekey = @_ ? shift : $col;
-    my $tablekey = $col;
-    my $subcache = ref($self)->new( $table, $tablekey );
-    $self->{subcache}->{$col}->{$keyval} = $subcache;
-    warn "creating new subcache $table $tablekey: $subcache\n" if $DEBUG;
-    $subcache;
-  }
-}
-
-=back
-
-=head1 BUGS
-
-Dismal documentation.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_main>
-
-=cut
-
-1;
-
-
diff --git a/FS/FS/TicketSystem.pm b/FS/FS/TicketSystem.pm
deleted file mode 100644 (file)
index a80a827..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package FS::TicketSystem;
-
-use strict;
-use vars qw( $conf $system $AUTOLOAD );
-use FS::Conf;
-use FS::UID;
-
-FS::UID->install_callback( sub { 
-  $conf = new FS::Conf;
-  $system = $conf->config('ticket_system');
-} );
-
-sub AUTOLOAD {
-  my $self = shift;
-
-  my($sub)=$AUTOLOAD;
-  $sub =~ s/.*://;
-
-  my $conf = new FS::Conf;
-  die "FS::TicketSystem::$AUTOLOAD called, but no ticket system configured\n"
-    unless $system;
-
-  eval "use FS::TicketSystem::$system;";
-  die $@ if $@;
-
-  $self .= "::$system";
-  $self->$sub(@_);
-}
-
-1;
diff --git a/FS/FS/TicketSystem/RT_External.pm b/FS/FS/TicketSystem/RT_External.pm
deleted file mode 100644 (file)
index d951cc0..0000000
+++ /dev/null
@@ -1,247 +0,0 @@
-package FS::TicketSystem::RT_External;
-
-use strict;
-use vars qw( $conf $default_queueid
-             $priority_field $priority_field_queue $field
-            $dbh $external_url );
-use URI::Escape;
-use FS::UID qw(dbh);
-use FS::Record qw(qsearchs);
-use FS::cust_main;
-
-FS::UID->install_callback( sub { 
-  my $conf = new FS::Conf;
-  $default_queueid = $conf->config('ticket_system-default_queueid');
-  $priority_field =
-    $conf->config('ticket_system-custom_priority_field');
-  if ( $priority_field ) {
-    $priority_field_queue =
-      $conf->config('ticket_system-custom_priority_field_queue');
-    $field = $priority_field_queue
-                  ? $priority_field_queue. '.%7B'. $priority_field. '%7D'
-                  : $priority_field;
-  } else {
-    $priority_field_queue = '';
-    $field = '';
-  }
-
-  $external_url = '';
-  $dbh = dbh;
-  if ($conf->config('ticket_system') eq 'RT_External') {
-    my ($datasrc, $user, $pass) = $conf->config('ticket_system-rt_external_datasrc');
-    $dbh = DBI->connect($datasrc, $user, $pass, { 'ChopBlanks' => 1 })
-      or die "RT_External DBI->connect error: $DBI::errstr\n";
-
-    $external_url = $conf->config('ticket_system-rt_external_url');
-  }
-
-} );
-
-sub num_customer_tickets {
-  my( $self, $custnum, $priority ) = @_;
-
-  my( $from_sql, @param) = $self->_from_customer( $custnum, $priority );
-
-  my $sql = "SELECT COUNT(*) $from_sql";
-  my $sth = $dbh->prepare($sql) or die $dbh->errstr. " preparing $sql";
-  $sth->execute(@param)         or die $sth->errstr. " executing $sql";
-
-  $sth->fetchrow_arrayref->[0];
-
-}
-
-sub customer_tickets {
-  my( $self, $custnum, $limit, $priority ) = @_;
-  $limit ||= 0;
-
-  my( $from_sql, @param) = $self->_from_customer( $custnum, $priority );
-  my $sql = "SELECT tickets.*, queues.name".
-            ( length($priority) ? ", objectcustomfieldvalues.content" : '' ).
-            " $from_sql ORDER BY priority DESC LIMIT $limit";
-  my $sth = $dbh->prepare($sql) or die $dbh->errstr. "preparing $sql";
-  $sth->execute(@param)         or die $sth->errstr. "executing $sql";
-
-  #munge column names???  #httemplate/view/cust_main/tickets.html has column
-  #names that might not make sense now...
-  $sth->fetchall_arrayref({});
-
-}
-
-sub _from_customer {
-  my( $self, $custnum, $priority ) = @_;
-
-  my @param = ();
-  my $join = '';
-  my $where = '';
-  if ( defined($priority) ) {
-
-    my $queue_sql = " ObjectCustomFields.ObjectId = ( SELECT id FROM queues
-                                                       WHERE queues.name = ? )
-                      OR ( ? = '' AND ObjectCustomFields.ObjectId = 0 )";
-
-    my $customfield_sql =
-      "customfield = ( 
-        SELECT CustomFields.Id FROM CustomFields
-                  JOIN ObjectCustomFields
-                    ON ( CustomFields.id = ObjectCustomFields.CustomField )
-         WHERE LookupType = 'RT::Queue-RT::Ticket'
-           AND name = ?
-           AND ( $queue_sql )
-       )";
-
-    push @param, $priority_field,
-                 $priority_field_queue,
-                 $priority_field_queue;
-
-    if ( length($priority) ) {
-      #$where = "    
-      #  and ? = ( select content from TicketCustomFieldValues
-      #             where ticket = tickets.id
-      #               and customfield = ( select id from customfields
-      #                                    where name = ?
-      #                                      and ( $queue_sql )
-      #                                 )
-      #          )
-      #";
-      unshift @param, $priority;
-
-      $join = "JOIN ObjectCustomFieldValues
-                 ON ( tickets.id = ObjectCustomFieldValues.ObjectId )";
-      
-      $where = " AND content = ?
-                 AND ObjectType = 'RT::Ticket'
-                 AND $customfield_sql";
-
-    } else {
-
-      $where =
-               "AND 0 = ( SELECT count(*) FROM ObjectCustomFieldValues
-                           WHERE ObjectId    = tickets.id
-                             AND ObjectType  = 'RT::Ticket'
-                             AND $customfield_sql
-                        )
-               ";
-    }
-
-  }
-
-  my $sql = "
-                    FROM tickets
-                    JOIN queues ON ( tickets.queue = queues.id )
-                    JOIN links ON ( tickets.id = links.localbase )
-                    $join 
-       WHERE ( status = 'new' OR status = 'open' OR status = 'stalled' )
-         AND target = 'freeside://freeside/cust_main/$custnum'
-         $where
-  ";
-
-  ( $sql, @param );
-
-}
-
-sub href_customer_tickets {
-  my( $self, $custnum, $priority ) = @_;
-
-  my $href = $self->baseurl;
-
-  #i snarfed this from an RT bookmarked search, it could be unescaped in the
-  #source for readability and run through uri_escape
-  $href .= 
-    'Search/Results.html?Order=ASC&Query=%20MemberOf%20%3D%20%27freeside%3A%2F%2Ffreeside%2Fcust_main%2F'.
-    $custnum.
-    '%27%20%20AND%20%28%20Status%20%3D%20%27open%27%20%20OR%20Status%20%3D%20%27new%27%20%20OR%20Status%20%3D%20%27stalled%27%20%29%20'
-  ;
-
-  if ( defined($priority) && $field && $priority_field_queue ) {
-    $href .= 'AND%20Queue%20%3D%20%27'. $priority_field_queue. '%27%20';
-  }
-  if ( defined($priority) && $field ) {
-    $href .= '%20AND%20%27CF.'. $field. '%27%20';
-    if ( $priority ) {
-      $href .= '%3D%20%27'. $priority. '%27%20';
-    } else {
-      $href .= 'IS%20%27NULL%27%20';
-    }
-  }
-
-  $href .= '&Rows=100'.
-           '&OrderBy=id&Page=1'.
-           '&Format=%27%20%20%20%3Cb%3E%3Ca%20href%3D%22'.
-          $self->baseurl.
-          'Ticket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3A%23%27%2C%20%0A%27%3Cb%3E%3Ca%20href%3D%22'.
-          $self->baseurl.
-          'Ticket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3ASubject%27%2C%20%0A%27__Status__%27%2C%20';
-
-  if ( defined($priority) && $field ) {
-    $href .= '%0A%27__CustomField.'. $field. '__%2FTITLE%3ASeverity%27%2C%20';
-  }
-
-  $href .= '%0A%27__QueueName__%27%2C%20%0A%27__OwnerName__%27%2C%20%0A%27__Priority__%27%2C%20%0A%27__NEWLINE__%27%2C%20%0A%27%27%2C%20%0A%27%3Csmall%3E__Requestors__%3C%2Fsmall%3E%27%2C%20%0A%27%3Csmall%3E__CreatedRelative__%3C%2Fsmall%3E%27%2C';
-
-  if ( defined($priority) && $field ) {
-    $href .=   '%20%0A%27__-__%27%2C';
-  }
-
-  $href .= '%20%0A%27%3Csmall%3E__ToldRelative__%3C%2Fsmall%3E%27%2C%20%0A%27%3Csmall%3E__LastUpdatedRelative__%3C%2Fsmall%3E%27%2C%20%0A%27%3Csmall%3E__TimeLeft__%3C%2Fsmall%3E%27';
-
-  $href;
-
-}
-
-sub href_new_ticket {
-  my( $self, $custnum_or_cust_main, $requestors ) = @_;
-
-  my( $custnum, $cust_main );
-  if ( ref($custnum_or_cust_main) ) {
-    $cust_main = $custnum_or_cust_main;
-    $custnum = $cust_main->custnum;
-  } else {
-    $custnum = $custnum_or_cust_main;
-    $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } );
-  }
-  my $queueid = $cust_main->agent->ticketing_queueid || $default_queueid;
-
-  $self->baseurl.
-  'Ticket/Create.html?'.
-    "Queue=$queueid".
-    "&new-MemberOf=freeside://freeside/cust_main/$custnum".
-    ( $requestors ? '&Requestors='. uri_escape($requestors) : '' )
-    ;
-}
-
-sub href_ticket {
-  my($self, $ticketnum) = @_;
-  $self->baseurl. 'Ticket/Display.html?id='.$ticketnum;
-}
-
-sub queues {
-  my($self) = @_;
-
-  my $sql = "SELECT id, name FROM queues WHERE disabled = 0";
-  my $sth = $dbh->prepare($sql) or die $dbh->errstr. " preparing $sql";
-  $sth->execute()               or die $sth->errstr. " executing $sql";
-
-  map { $_->[0] => $_->[1] } @{ $sth->fetchall_arrayref([]) };
-
-}
-
-sub queue {
-  my($self, $queueid) = @_;
-
-  return '' unless $queueid;
-
-  my $sql = "SELECT name FROM queues WHERE id = ?";
-  my $sth = $dbh->prepare($sql) or die $dbh->errstr. " preparing $sql";
-  $sth->execute($queueid)       or die $sth->errstr. " executing $sql";
-
-  $sth->fetchrow_arrayref->[0];
-
-}
-
-sub baseurl {
-  #my $self = shift;
-  $external_url;
-}
-
-1;
-
diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm
deleted file mode 100644 (file)
index 8fce918..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package FS::TicketSystem::RT_Internal;
-
-use strict;
-use vars qw( @ISA );
-use FS::UID qw(dbh);
-use FS::CGI qw(popurl);
-use FS::TicketSystem::RT_Libs;
-
-@ISA = qw( FS::TicketSystem::RT_Libs );
-
-sub sql_num_customer_tickets {
-  "( select count(*) from tickets
-                     join links on ( tickets.id = links.localbase )
-     where ( status = 'new' or status = 'open' or status = 'stalled' )
-       and target = 'freeside://freeside/cust_main/' || custnum
-   )";
-}
-
-sub baseurl {
-  #my $self = shift;
-  if ( $RT::URI::freeside::URL ) {
-    $RT::URI::freeside::URL. 'rt/';
-  } else {
-    'http://you_need_to_set_RT_URI_freeside_URL_in_SiteConfig.pm/';
-  }
-}
-
-1;
-
diff --git a/FS/FS/TicketSystem/RT_Libs.pm b/FS/FS/TicketSystem/RT_Libs.pm
deleted file mode 100644 (file)
index aebe8c5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package FS::TicketSystem::RT_Libs;
-
-use strict;
-use vars qw( @ISA );
-use FS::TicketSystem::RT_External;
-
-@ISA = qw( FS::TicketSystem::RT_External );
-
-1;
-
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
deleted file mode 100644 (file)
index 49e3fbf..0000000
+++ /dev/null
@@ -1,267 +0,0 @@
-package FS::UI::Web;
-
-use vars qw($DEBUG);
-use FS::Conf;
-use FS::Record qw(dbdef);
-
-#use vars qw(@ISA);
-#use FS::UI
-#@ISA = qw( FS::UI );
-
-use Date::Parse;
-sub parse_beginning_ending {
-  my($cgi) = @_;
-
-  my $beginning = 0;
-  if ( $cgi->param('begin') =~ /^(\d+)$/ ) {
-    $beginning = $1;
-  } elsif ( $cgi->param('beginning') =~ /^([ 0-9\-\/]{1,64})$/ ) {
-    $beginning = str2time($1) || 0;
-  }
-
-  my $ending = 4294967295; #2^32-1
-  if ( $cgi->param('end') =~ /^(\d+)$/ ) {
-    $ending = $1 - 1;
-  } elsif ( $cgi->param('ending') =~ /^([ 0-9\-\/]{1,64})$/ ) {
-    #probably need an option to turn off the + 86399
-    $ending = str2time($1) + 86399;
-  }
-
-  ( $beginning, $ending );
-}
-
-###
-# cust_main report methods
-###
-
-=item cust_header
-
-Returns an array of customer information headers according to the
-B<cust-fields> configuration setting.
-
-=cut
-
-use vars qw( @cust_fields );
-
-sub cust_sql_fields {
-  my @fields = qw( last first company );
-  push @fields, map "ship_$_", @fields
-    if dbdef->table('cust_main')->column('ship_last');
-  map "cust_main.$_", @fields;
-}
-
-sub cust_header {
-
-  warn "FS::svc_Common::cust_header called"
-    if $DEBUG;
-
-  my $conf = new FS::Conf;
-
-  my %header2method = (
-    'Customer'           => 'name',
-    'Cust#'              => 'custnum',
-    'Name'               => 'contact',
-    'Company'            => 'company',
-    '(bill) Customer'    => 'name',
-    '(service) Customer' => 'ship_name',
-    '(bill) Name'        => 'contact',
-    '(service) Name'     => 'ship_contact',
-    '(bill) Company'     => 'company',
-    '(service) Company'  => 'ship_company',
-  );
-
-  my @cust_header;
-  if (    $conf->exists('cust-fields')
-       && $conf->config('cust-fields') =~ /^([\w \|\#\(\)]+):/
-     )
-  {
-    warn "  found cust-fields configuration value"
-      if $DEBUG;
-
-    my $cust_fields = $1;
-     @cust_header = split(/ \| /, $cust_fields);
-     @cust_fields = map { $header2method{$_} } @cust_header;
-  } else { 
-    warn "  no cust-fields configuration value found; using default 'Customer'"
-      if $DEBUG;
-    @cust_header = ( 'Customer' );
-    @cust_fields = ( 'name' );
-  }
-
-  #my $svc_x = shift;
-  @cust_header;
-}
-
-=item cust_fields
-
-Given a svc_ object that contains fields from cust_main (say, from a
-JOINed search.  See httemplate/search/svc_* for examples), returns an array
-of customer information according to the <B>cust-fields</B> configuration
-setting, or "(unlinked)" if this service is not linked to a customer.
-
-=cut
-
-sub cust_fields {
-  my $svc_x = shift;
-  warn "FS::svc_Common::cust_fields called for $svc_x ".
-       "(cust_fields: @cust_fields)"
-    if $DEBUG > 1;
-
-  cust_header() unless @cust_fields;
-
-  my $seen_unlinked = 0;
-  map { 
-    if ( $svc_x->custnum ) {
-      warn "  $svc_x -> $_"
-        if $DEBUG > 1;
-      $svc_x->$_(@_);
-    } else {
-      warn "  ($svc_x unlinked)"
-        if $DEBUG > 1;
-      $seen_unlinked++ ? '' : '(unlinked)';
-    }
-  } @cust_fields;
-}
-
-###
-# begin JSRPC code...
-###
-
-package FS::UI::Web::JSRPC;
-
-use strict;
-use vars qw($DEBUG);
-use Storable qw(nfreeze);
-use MIME::Base64;
-use JSON;
-use FS::UID;
-use FS::Record qw(qsearchs);
-use FS::queue;
-
-$DEBUG = 0;
-
-sub new {
-        my $class = shift;
-        my $self  = {
-                env => {},
-                job => shift,
-                cgi => shift,
-        };
-
-        bless $self, $class;
-
-        die "CGI object required as second argument" unless $self->{'cgi'};
-
-        return $self;
-}
-
-sub process {
-
-  my $self = shift;
-
-  my $cgi = $self->{'cgi'};
-
-  # XXX this should parse JSON foo and build a proper data structure
-  my @args = $cgi->param('arg');
-
-  #work around konqueror bug!
-  @args = map { s/\x00$//; $_; } @args;
-
-  my $sub = $cgi->param('sub'); #????
-
-  warn "FS::UI::Web::JSRPC::process:\n".
-       "  cgi=$cgi\n".
-       "  sub=$sub\n".
-       "  args=".join(', ',@args)."\n"
-    if $DEBUG;
-
-  if ( $sub eq 'start_job' ) {
-
-    $self->start_job(@args);
-
-  } elsif ( $sub eq 'job_status' ) {
-
-    $self->job_status(@args);
-
-  }
-
-}
-
-sub start_job {
-  my $self = shift;
-
-  warn "FS::UI::Web::start_job: ". join(', ', @_) if $DEBUG;
-#  my %param = @_;
-  my %param = ();
-  while ( @_ ) {
-    my( $field, $value ) = splice(@_, 0, 2);
-    unless ( exists( $param{$field} ) ) {
-      $param{$field} = $value;
-    } elsif ( ! ref($param{$field}) ) {
-      $param{$field} = [ $param{$field}, $value ];
-    } else {
-      push @{$param{$field}}, $value;
-    }
-  }
-  warn "FS::UI::Web::start_job\n".
-       join('', map {
-                      if ( ref($param{$_}) ) {
-                        "  $_ => [ ". join(', ', @{$param{$_}}). " ]\n";
-                      } else {
-                        "  $_ => $param{$_}\n";
-                      }
-                    } keys %param )
-    if $DEBUG;
-
-  #first get the CGI params shipped off to a job ASAP so an id can be returned
-  #to the caller
-  
-  my $job = new FS::queue { 'job' => $self->{'job'} };
-  
-  #too slow to insert all the cgi params as individual args..,?
-  #my $error = $queue->insert('_JOB', $cgi->Vars);
-  
-  #warn 'froze string of size '. length(nfreeze(\%param)). " for job args\n"
-  #  if $DEBUG;
-
-  my $error = $job->insert( '_JOB', encode_base64(nfreeze(\%param)) );
-
-  if ( $error ) {
-    $error;  #this doesn't seem to be handled well,
-             # will trigger "illegal jobnum" below?
-             # (should never be an error inserting the job, though, only thing
-             #  would be Pg f%*kage)
-  } else {
-    $job->jobnum;
-  }
-  
-}
-
-sub job_status {
-  my( $self, $jobnum ) = @_; #$url ???
-
-  sleep 1; # XXX could use something better...
-
-  my $job;
-  if ( $jobnum =~ /^(\d+)$/ ) {
-    $job = qsearchs('queue', { 'jobnum' => $jobnum } );
-  } else {
-    die "FS::UI::Web::job_status: illegal jobnum $jobnum\n";
-  }
-
-  my @return;
-  if ( $job && $job->status ne 'failed' ) {
-    @return = ( 'progress', $job->statustext );
-  } elsif ( !$job ) { #handle job gone case : job sucessful
-                      # so close popup, redirect parent window...
-    @return = ( 'complete' );
-  } else {
-    @return = ( 'error', $job ? $job->statustext : $jobnum );
-  }
-
-  objToJson(\@return);
-
-}
-
-1;
-
diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm
deleted file mode 100644 (file)
index c0c9f7a..0000000
+++ /dev/null
@@ -1,318 +0,0 @@
-package FS::UID;
-
-use strict;
-use vars qw(
-  @ISA @EXPORT_OK $cgi $dbh $freeside_uid $user 
-  $conf_dir $secrets $datasrc $db_user $db_pass %callback @callback
-  $driver_name $AutoCommit
-);
-use subs qw(
-  getsecrets cgisetotaker
-);
-use Exporter;
-use Carp qw(carp croak cluck);
-use DBI;
-use FS::Conf;
-
-@ISA = qw(Exporter);
-@EXPORT_OK = qw(checkeuid checkruid cgisuidsetup adminsuidsetup forksuidsetup
-                getotaker dbh datasrc getsecrets driver_name myconnect );
-
-$freeside_uid = scalar(getpwnam('freeside'));
-
-$conf_dir = "/usr/local/etc/freeside/";
-
-$AutoCommit = 1; #ours, not DBI
-
-=head1 NAME
-
-FS::UID - Subroutines for database login and assorted other stuff
-
-=head1 SYNOPSIS
-
-  use FS::UID qw(adminsuidsetup cgisuidsetup dbh datasrc getotaker
-  checkeuid checkruid);
-
-  adminsuidsetup $user;
-
-  $cgi = new CGI;
-  $dbh = cgisuidsetup($cgi);
-
-  $dbh = dbh;
-
-  $datasrc = datasrc;
-
-  $driver_name = driver_name;
-
-=head1 DESCRIPTION
-
-Provides a hodgepodge of subroutines. 
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item adminsuidsetup USER
-
-Sets the user to USER (see config.html from the base documentation).
-Cleans the environment.
-Make sure the script is running as freeside, or setuid freeside.
-Opens a connection to the database.
-Swaps real and effective UIDs.
-Runs any defined callbacks (see below).
-Returns the DBI database handle (usually you don't need this).
-
-=cut
-
-sub adminsuidsetup {
-  $dbh->disconnect if $dbh;
-  &forksuidsetup(@_);
-}
-
-sub forksuidsetup {
-  $user = shift;
-  croak "fatal: adminsuidsetup called without arguements" unless $user;
-
-  $user =~ /^([\w\-\.]+)$/ or croak "fatal: illegal user $user";
-  $user = $1;
-
-  $ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-  $ENV{'SHELL'} = '/bin/sh';
-  $ENV{'IFS'} = " \t\n";
-  $ENV{'CDPATH'} = '';
-  $ENV{'ENV'} = '';
-  $ENV{'BASH_ENV'} = '';
-
-  croak "Not running uid freeside!" unless checkeuid();
-
-  $dbh = &myconnect;
-
-  foreach ( keys %callback ) {
-    &{$callback{$_}};
-    # breaks multi-database installs # delete $callback{$_}; #run once
-  }
-
-  &{$_} foreach @callback;
-
-  $dbh;
-}
-
-sub myconnect {
-  DBI->connect( getsecrets, {'AutoCommit' => 0, 'ChopBlanks' => 1, } )
-    or die "DBI->connect error: $DBI::errstr\n";
-}
-
-=item install_callback
-
-A package can install a callback to be run in adminsuidsetup by passing
-a coderef to the FS::UID->install_callback class method.  If adminsuidsetup has
-run already, the callback will also be run immediately.
-
-    $coderef = sub { warn "Hi, I'm returning your call!" };
-    FS::UID->install_callback($coderef);
-
-    install_callback FS::UID sub { 
-      warn "Hi, I'm returning your call!"
-    };
-
-=cut
-
-sub install_callback {
-  my $class = shift;
-  my $callback = shift;
-  push @callback, $callback;
-  &{$callback} if $dbh;
-}
-
-=item cgisuidsetup CGI_object
-
-Takes a single argument, which is a CGI (see L<CGI>) or Apache (see L<Apache>)
-object (CGI::Base is depriciated).  Runs cgisetotaker and then adminsuidsetup.
-
-=cut
-
-sub cgisuidsetup {
-  $cgi=shift;
-  if ( $cgi->isa('CGI::Base') ) {
-    carp "Use of CGI::Base is depriciated";
-  } elsif ( $cgi->isa('Apache') ) {
-
-  } elsif ( ! $cgi->isa('CGI') ) {
-    croak "fatal: unrecognized object $cgi";
-  }
-  cgisetotaker; 
-  adminsuidsetup($user);
-}
-
-=item cgi
-
-Returns the CGI (see L<CGI>) object.
-
-=cut
-
-sub cgi {
-  carp "warning: \$FS::UID::cgi isa Apache" if $cgi->isa('Apache');
-  $cgi;
-}
-
-=item dbh
-
-Returns the DBI database handle.
-
-=cut
-
-sub dbh {
-  $dbh;
-}
-
-=item datasrc
-
-Returns the DBI data source.
-
-=cut
-
-sub datasrc {
-  $datasrc;
-}
-
-=item driver_name
-
-Returns just the driver name portion of the DBI data source.
-
-=cut
-
-sub driver_name {
-  return $driver_name if defined $driver_name;
-  $driver_name = ( split(':', $datasrc) )[1];
-}
-
-sub suidsetup {
-  croak "suidsetup depriciated";
-}
-
-=item getotaker
-
-Returns the current Freeside user.
-
-=cut
-
-sub getotaker {
-  $user;
-}
-
-=item cgisetotaker
-
-Sets and returns the CGI REMOTE_USER.  $cgi should be defined as a CGI.pm
-object (see L<CGI>) or an Apache object (see L<Apache>).  Support for CGI::Base
-and derived classes is depriciated.
-
-=cut
-
-sub cgisetotaker {
-  if ( $cgi && $cgi->isa('CGI::Base') && defined $cgi->var('REMOTE_USER')) {
-    carp "Use of CGI::Base is depriciated";
-    $user = lc ( $cgi->var('REMOTE_USER') );
-  } elsif ( $cgi && $cgi->isa('CGI') && defined $cgi->remote_user ) {
-    $user = lc ( $cgi->remote_user );
-  } elsif ( $cgi && $cgi->isa('Apache') ) {
-    $user = lc ( $cgi->connection->user );
-  } else {
-    die "fatal: Can't get REMOTE_USER! for cgi $cgi - you need to setup ".
-        "Apache user authentication as documented in httemplate/docs/install.html";
-  }
-  $user;
-}
-
-=item checkeuid
-
-Returns true if effective UID is that of the freeside user.
-
-=cut
-
-sub checkeuid {
-  ( $> == $freeside_uid );
-}
-
-=item checkruid
-
-Returns true if the real UID is that of the freeside user.
-
-=cut
-
-sub checkruid {
-  ( $< == $freeside_uid );
-}
-
-=item getsecrets [ USER ]
-
-Sets the user to USER, if supplied.
-Sets and returns the DBI datasource, username and password for this user from
-the `/usr/local/etc/freeside/mapsecrets' file.
-
-=cut
-
-sub getsecrets {
-  my($setuser) = shift;
-  $user = $setuser if $setuser;
-  die "No user!" unless $user;
-  my($conf) = new FS::Conf $conf_dir;
-  my($line) = grep /^\s*$user\s/, $conf->config('mapsecrets');
-  die "User $user not found in mapsecrets!" unless $line;
-  $line =~ /^\s*$user\s+(.*)$/;
-  $secrets = $1;
-  die "Illegal mapsecrets line for user?!" unless $secrets;
-  ($datasrc, $db_user, $db_pass) = $conf->config($secrets)
-    or die "Can't get secrets: $!";
-  $FS::Conf::default_dir = $conf_dir. "/conf.$datasrc";
-  undef $driver_name;
-  ($datasrc, $db_user, $db_pass);
-}
-
-=back
-
-=head1 CALLBACKS
-
-Warning: this interface is (still) likely to change in future releases.
-
-New (experimental) callback interface:
-
-A package can install a callback to be run in adminsuidsetup by passing
-a coderef to the FS::UID->install_callback class method.  If adminsuidsetup has
-run already, the callback will also be run immediately.
-
-    $coderef = sub { warn "Hi, I'm returning your call!" };
-    FS::UID->install_callback($coderef);
-
-    install_callback FS::UID sub { 
-      warn "Hi, I'm returning your call!"
-    };
-
-Old (deprecated) callback interface:
-
-A package can install a callback to be run in adminsuidsetup by putting a
-coderef into the hash %FS::UID::callback :
-
-    $coderef = sub { warn "Hi, I'm returning your call!" };
-    $FS::UID::callback{'Package::Name'} = $coderef;
-
-=head1 BUGS
-
-Too many package-global variables.
-
-Not OO.
-
-No capabilities yet.  When mod_perl and Authen::DBI are implemented, 
-cgisuidsetup will go away as well.
-
-Goes through contortions to support non-OO syntax with multiple datasrc's.
-
-Callbacks are (still) inelegant.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<CGI>, L<DBI>, config.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/XMLRPC.pm b/FS/FS/XMLRPC.pm
deleted file mode 100644 (file)
index 84f3e41..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-package FS::XMLRPC;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use Frontier::RPC2;
-
-# Instead of 'use'ing freeside modules on the fly below, just preload them now.
-use FS;
-use FS::CGI;
-use FS::Conf;
-use FS::Record;
-use FS::cust_main;
-
-@ISA = qw( );
-
-$DEBUG = 1;
-
-=head1 NAME
-
-FS::XMLRPC - Object methods for handling XMLRPC requests
-
-=head1 SYNOPSIS
-
-  use FS::XMLRPC;
-
-  $xmlrpc = new FS::XMLRPC;
-
-  ($error, $response_xml) = $xmlrpc->serve($request_xml);
-
-=head1 DESCRIPTION
-
-The FS::XMLRPC object is a mechanisim to access read-only data from freeside's subroutines.  It does not, at least not at this point, give you the ability to access methods of freeside objects remotely.  It can, however, be used to call subroutines such as FS::cust_main::smart_search and FS::Record::qsearch.
-
-See the serve method below for calling syntax.
-
-=head1 METHODS
-
-=over 4
-
-=item new
-
-Provides a FS::XMLRPC object used to handle incoming XMLRPC requests.
-
-=cut
-
-sub new {
-
-  my $class = shift;
-  my $self = {};
-  bless($self, $class);
-
-  $self->{_coder} = new Frontier::RPC2;
-
-  return $self;
-
-}
-
-=item serve REQUEST_XML_SCALAR
-
-The serve method takes a scalar containg an XMLRPC request for one of freeside's subroutines (not object methods).  Parameters passed in the 'methodCall' will be passed as a list to the subroutine untouched.  The return value of the called subroutine _must_ be a freeside object reference (eg. qsearchs) or a list of freeside object references (eg. qsearch, smart_search), _and_, the object(s) returned must support the hashref method.  This will be checked first by calling UNIVERSAL::can('FS::class::subroutine', 'hashref').
-
-Return value is an XMLRPC methodResponse containing the results of the call.  The result of the subroutine call itself will be coded in the methodResponse as an array of structs, regardless of whether there was many or a single object returned.  In other words, after you decode the response, you'll always have an array.
-
-=cut
-
-sub serve {
-
-  my ($self, $request_xml) = (shift, shift);
-  my $response_xml;
-
-  my $coder = $self->{_coder};
-  my $call = $coder->decode($request_xml);
-  
-  warn "Got methodCall with method_name='" . $call->{method_name} . "'"
-    if $DEBUG;
-
-  $response_xml = $coder->encode_response(&_serve($call->{method_name}, $call->{value}));
-
-  return ('', $response_xml);
-
-}
-
-sub _serve { #Subroutine, not method
-
-  my ($method_name, $params) = (shift, shift);
-
-  use Data::Dumper;
-
-  #die 'Called _serve without parameters' unless ref($params) eq 'ARRAY';
-  $params = [] unless (ref($params) eq 'ARRAY');
-
-  if ($method_name =~ /^(\w+)\.(\w+)/) {
-
-    #my ($class, $sub) = split(/\./, $method_name);
-    my ($class, $sub) = ($1, $2);
-    my $fssub = "FS::${class}::${sub}";
-    warn "fssub: ${fssub}" if $DEBUG;
-    warn "params: " . Dumper($params) if $DEBUG;
-
-    my @result;
-
-    if ($class eq 'Conf') { #Special case for FS::Conf because we need an obj.
-
-      if ($sub eq 'config') {
-        my $conf = new FS::Conf;
-        @result = ($conf->config(@$params));
-      } else {
-       warn "FS::XMLRPC: Can't call undefined subroutine '${fssub}'";
-      }
-
-    } else {
-
-      unless (UNIVERSAL::can("FS::${class}", $sub)) {
-        warn "FS::XMLRPC: Can't call undefined subroutine '${fssub}'";
-        # Should we encode an error in the response,
-        # or just break silently to the remote caller and complain locally?
-        return [];
-      }
-
-      eval { 
-        no strict 'refs';
-        my $fssub = "FS::${class}::${sub}";
-        @result = (&$fssub(@$params));
-      };
-
-      if ($@) {
-        warn "FS::XMLRPC: Error while calling '${fssub}': $@";
-        return [];
-      }
-
-    }
-
-    warn Dumper(@result);
-
-    if (grep { UNIVERSAL::can($_, 'hashref') ? 0 : 1 } @result) {
-      #warn "FS::XMLRPC: One or more objects returned from '${fssub}' doesn't " .
-      #     "support the 'hashref' method.";
-      
-      # If they're not FS::Record decendants, just return the results unmap'd?
-      # This is more flexible, but possibly more error-prone.
-      return [ @result ];
-    } else {
-      return [ map { $_->hashref } @result ];
-    }
-  } elsif ($method_name eq 'version') {
-    return [ $FS::VERSION ];
-  } # else...
-
-  warn "Unhandle XMLRPC request '${method_name}'";
-  return [];
-
-}
-
-=head1 BUGS
-
-Probably lots.
-
-=head1 SEE ALSO
-
-L<Frontier::RPC2>.
-
-=cut
-
-1;
-
diff --git a/FS/FS/acct_snarf.pm b/FS/FS/acct_snarf.pm
deleted file mode 100644 (file)
index b4e88bf..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-package FS::acct_snarf;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::acct_snarf - Object methods for acct_snarf records
-
-=head1 SYNOPSIS
-
-  use FS::acct_snarf;
-
-  $record = new FS::acct_snarf \%hash;
-  $record = new FS::acct_snarf { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::svc_acct object represents an external mail account, typically for
-download of mail.  FS::acct_snarf inherits from FS::Record.  The following
-fields are currently supported:
-
-=over 4
-
-=item snarfnum - primary key
-
-=item svcnum - Account (see L<FS::svc_acct>)
-
-=item machine - external machine to download mail from
-
-=item protocol - protocol (pop3, imap, etc.)
-
-=item username - external login username
-
-=item _password - external login password
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'acct_snarf'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid external mail account.  If
-there is an error, returns the error, otherwise returns false.  Called by the
-insert and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-  my $error =
-       $self->ut_numbern('snarfnum')
-    || $self->ut_number('svcnum')
-    || $self->ut_foreign_key('svcnum', 'svc_acct', 'svcnum')
-    || $self->ut_domain('machine')
-    || $self->ut_alphan('protocol')
-    || $self->ut_textn('username')
-  ;
-  return $error if $error;
-
-  $self->_password =~ /^[^\t\n]*$/ or return "illegal password";
-  $self->_password($1);
-
-  ''; #no error
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/addr_block.pm b/FS/FS/addr_block.pm
deleted file mode 100755 (executable)
index 1fb6060..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-package FS::addr_block;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearchs qsearch dbh );
-use FS::router;
-use FS::svc_broadband;
-use FS::Conf;
-use NetAddr::IP;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::addr_block - Object methods for addr_block records
-
-=head1 SYNOPSIS
-
-  use FS::addr_block;
-
-  $record = new FS::addr_block \%hash;
-  $record = new FS::addr_block { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::addr_block record describes an address block assigned for broadband 
-access.  FS::addr_block inherits from FS::Record.  The following fields are 
-currently supported:
-
-=over 4
-
-=item blocknum - primary key, used in FS::svc_broadband to associate 
-services to the block.
-
-=item routernum - the router (see FS::router) to which this 
-block is assigned.
-
-=item ip_gateway - the gateway address used by customers within this block.  
-
-=item ip_netmask - the netmask of the block, expressed as an integer.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Create a new record.  To add the record to the database, see "insert".
-
-=cut
-
-sub table { 'addr_block'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this record from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-sub delete {
-  my $self = shift;
-  return 'Block must be deallocated before deletion'
-    if $self->router;
-
-  $self->SUPER::delete;
-}
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_number('routernum')
-    || $self->ut_ip('ip_gateway')
-    || $self->ut_number('ip_netmask')
-  ;
-  return $error if $error;
-
-
-  # A routernum of 0 indicates an unassigned block and is allowed
-  return "Unknown routernum"
-    if ($self->routernum and not $self->router);
-
-  my $self_addr = $self->NetAddr;
-  return "Cannot parse address: ". $self->ip_gateway . '/' . $self->ip_netmask
-    unless $self_addr;
-
-  if (not $self->blocknum) {
-    my @block = grep {
-      my $block_addr = $_->NetAddr;
-      if($block_addr->contains($self_addr) 
-      or $self_addr->contains($block_addr)) { $_; };
-    } qsearch( 'addr_block', {});
-    foreach(@block) {
-      return "Block intersects existing block ".$_->ip_gateway."/".$_->ip_netmask;
-    }
-  }
-
-  $self->SUPER::check;
-}
-
-
-=item router
-
-Returns the FS::router object corresponding to this object.  If the 
-block is unassigned, returns undef.
-
-=cut
-
-sub router {
-  my $self = shift;
-  return qsearchs('router', { routernum => $self->routernum });
-}
-
-=item svc_broadband
-
-Returns a list of FS::svc_broadband objects associated
-with this object.
-
-=cut
-
-sub svc_broadband {
-  my $self = shift;
-  return qsearch('svc_broadband', { blocknum => $self->blocknum });
-}
-
-=item NetAddr
-
-Returns a NetAddr::IP object for this block's address and netmask.
-
-=cut
-
-sub NetAddr {
-  my $self = shift;
-
-  return new NetAddr::IP ($self->ip_gateway, $self->ip_netmask);
-}
-
-=item next_free_addr
-
-Returns a NetAddr::IP object corresponding to the first unassigned address 
-in the block (other than the network, broadcast, or gateway address).  If 
-there are no free addresses, returns false.
-
-=cut
-
-sub next_free_addr {
-  my $self = shift;
-
-  my $conf = new FS::Conf;
-  my @excludeaddr = $conf->config('exclude_ip_addr');
-  
-my @used =
-( (map { $_->NetAddr->addr }
-    ($self,
-     qsearch('svc_broadband', { blocknum => $self->blocknum }))
-  ), @excludeaddr
-);
-
-  my @free = $self->NetAddr->hostenum;
-  while (my $ip = shift @free) {
-    if (not grep {$_ eq $ip->addr;} @used) { return $ip; };
-  }
-
-  '';
-
-}
-
-=item allocate
-
-Allocates this address block to a router.  Takes an FS::router object 
-as an argument.
-
-At present it's not possible to reallocate a block to a different router 
-except by deallocating it first, which requires that none of its addresses 
-be assigned.  This is probably as it should be.
-
-=cut
-
-sub allocate {
-  my ($self, $router) = @_;
-
-  return 'Block is already allocated'
-    if($self->router);
-
-  return 'Block must be allocated to a router'
-    unless(ref $router eq 'FS::router');
-
-  my @svc = $self->svc_broadband;
-  if (@svc) {
-    return 'Block has assigned addresses: '. join ', ', map {$_->ip_addr} @svc;
-  }
-
-  my $new = new FS::addr_block {$self->hash};
-  $new->routernum($router->routernum);
-  return $new->replace($self);
-
-}
-
-=item deallocate
-
-Deallocates the block (i.e. sets the routernum to 0).  If any addresses in the 
-block are assigned to services, it fails.
-
-=cut
-
-sub deallocate {
-  my $self = shift;
-
-  my @svc = $self->svc_broadband;
-  if (@svc) {
-    return 'Block has assigned addresses: '. join ', ', map {$_->ip_addr} @svc;
-  }
-
-  my $new = new FS::addr_block {$self->hash};
-  $new->routernum(0);
-  return $new->replace($self);
-}
-
-=item split_block
-
-Splits this address block into two equal blocks, occupying the same space as
-the original block.  The first of the two will also have the same blocknum.
-The gateway address of each block will be set to the first usable address, i.e.
-(network address)+1.  Since this method is designed for use on unallocated
-blocks, this is probably the correct behavior.
-
-(At present, splitting allocated blocks is disallowed.  Anyone who wants to
-implement this is reminded that each split costs three addresses, and any
-customers who were using these addresses will have to be moved; depending on
-how full the block was before being split, they might have to be moved to a
-different block.  Anyone who I<still> wants to implement it is asked to tie it
-to a configuration switch so that site admins can disallow it.)
-
-=cut
-
-sub split_block {
-
-  # We should consider using Attribute::Handlers/Aspect/Hook::LexWrap/
-  # something to atomicize functions, so that we can say 
-  #
-  # sub split_block : atomic {
-  # 
-  # instead of repeating all this AutoCommit verbage in every 
-  # sub that does more than one database operation.
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $self = shift;
-  my $error;
-
-  if ($self->router) {
-    return 'Block is already allocated';
-  }
-
-  #TODO: Smallest allowed block should be a config option.
-  if ($self->NetAddr->masklen() ge 30) {
-    return 'Cannot split blocks with a mask length >= 30';
-  }
-
-  my (@new, @ip);
-  $ip[0] = $self->NetAddr;
-  @ip = map {$_->first()} $ip[0]->split($self->ip_netmask + 1);
-
-  foreach (0,1) {
-    $new[$_] = new FS::addr_block {$self->hash};
-    $new[$_]->ip_gateway($ip[$_]->addr);
-    $new[$_]->ip_netmask($ip[$_]->masklen);
-  }
-
-  $new[1]->blocknum('');
-
-  $error = $new[0]->replace($self);
-  if ($error) {
-    $dbh->rollback;
-    return $error;
-  }
-
-  $error = $new[1]->insert;
-  if ($error) {
-    $dbh->rollback;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  return '';
-}
-
-=item merge
-
-To be implemented.
-
-=back
-
-=head1 BUGS
-
-Minimum block size should be a config option.  It's hardcoded at /30 right
-now because that's the smallest block that makes any sense at all.
-
-=cut
-
-1;
-
diff --git a/FS/FS/agent.pm b/FS/FS/agent.pm
deleted file mode 100644 (file)
index 83f0ce5..0000000
+++ /dev/null
@@ -1,410 +0,0 @@
-package FS::agent;
-
-use strict;
-use vars qw( @ISA );
-#use Crypt::YAPassGen;
-use FS::Record qw( dbh qsearch qsearchs );
-use FS::cust_main;
-use FS::cust_pkg;
-use FS::agent_type;
-use FS::reg_code;
-use FS::TicketSystem;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::agent - Object methods for agent records
-
-=head1 SYNOPSIS
-
-  use FS::agent;
-
-  $record = new FS::agent \%hash;
-  $record = new FS::agent { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $agent_type = $record->agent_type;
-
-  $hashref = $record->pkgpart_hashref;
-  #may purchase $pkgpart if $hashref->{$pkgpart};
-
-=head1 DESCRIPTION
-
-An FS::agent object represents an agent.  Every customer has an agent.  Agents
-can be used to track things like resellers or salespeople.  FS::agent inherits
-from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item agentnum - primary key (assigned automatically for new agents)
-
-=item agent - Text name of this agent
-
-=item typenum - Agent type.  See L<FS::agent_type>
-
-=item prog - For future use.
-
-=item freq - For future use.
-
-=item disabled - Disabled flag, empty or 'Y'
-
-=item username - Username for the Agent interface
-
-=item _password - Password for the Agent interface
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new agent.  To add the agent to the database, see L<"insert">.
-
-=cut
-
-sub table { 'agent'; }
-
-=item insert
-
-Adds this agent to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this agent from the database.  Only agents with no customers can be
-deleted.  If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  return "Can't delete an agent with customers!"
-    if qsearch( 'cust_main', { 'agentnum' => $self->agentnum } );
-
-  $self->SUPER::delete;
-}
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid agent.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('agentnum')
-      || $self->ut_text('agent')
-      || $self->ut_number('typenum')
-      || $self->ut_numbern('freq')
-      || $self->ut_textn('prog')
-  ;
-  return $error if $error;
-
-  if ( $self->dbdef_table->column('disabled') ) {
-    $error = $self->ut_enum('disabled', [ '', 'Y' ] );
-    return $error if $error;
-  }
-
-  if ( $self->dbdef_table->column('username') ) {
-    $error = $self->ut_alphan('username');
-    return $error if $error;
-    if ( length($self->username) ) {
-      my $conflict = qsearchs('agent', { 'username' => $self->username } );
-      return 'duplicate agent username (with '. $conflict->agent. ')'
-        if $conflict && $conflict->agentnum != $self->agentnum;
-      $error = $self->ut_text('password'); # ut_text... arbitrary choice
-    } else {
-      $self->_password('');
-    }
-  }
-
-  return "Unknown typenum!"
-    unless $self->agent_type;
-
-  $self->SUPER::check;
-}
-
-=item agent_type
-
-Returns the FS::agent_type object (see L<FS::agent_type>) for this agent.
-
-=cut
-
-sub agent_type {
-  my $self = shift;
-  qsearchs( 'agent_type', { 'typenum' => $self->typenum } );
-}
-
-=item pkgpart_hashref
-
-Returns a hash reference.  The keys of the hash are pkgparts.  The value is
-true if this agent may purchase the specified package definition.  See
-L<FS::part_pkg>.
-
-=cut
-
-sub pkgpart_hashref {
-  my $self = shift;
-  $self->agent_type->pkgpart_hashref;
-}
-
-=item ticketing_queue
-
-Returns the queue name corresponding with the id from the I<ticketing_queueid>
-field, or the empty string.
-
-=cut
-
-sub ticketing_queue {
-  my $self = shift;
-  FS::TicketSystem->queue($self->ticketing_queueid);
-};
-
-=item num_prospect_cust_main
-
-Returns the number of prospects (customers with no packages ever ordered) for
-this agent.
-
-=cut
-
-sub num_prospect_cust_main {
-  shift->num_sql(FS::cust_main->prospect_sql);
-}
-
-sub num_sql {
-  my( $self, $sql ) = @_;
-  my $statement = "SELECT COUNT(*) FROM cust_main WHERE agentnum = ? AND $sql";
-  my $sth = dbh->prepare($statement) or die dbh->errstr." preparing $statement";
-  $sth->execute($self->agentnum) or die $sth->errstr. "executing $statement";
-  $sth->fetchrow_arrayref->[0];
-}
-
-=item prospect_cust_main
-
-Returns the prospects (customers with no packages ever ordered) for this agent,
-as cust_main objects.
-
-=cut
-
-sub prospect_cust_main {
-  shift->cust_main_sql(FS::cust_main->prospect_sql);
-}
-
-sub cust_main_sql {
-  my( $self, $sql ) = @_;
-  qsearch( 'cust_main',
-           { 'agentnum' => $self->agentnum },
-           '',
-           " AND $sql"
-  );
-}
-
-=item num_active_cust_main
-
-Returns the number of active customers for this agent.
-
-=cut
-
-sub num_active_cust_main {
-  shift->num_sql(FS::cust_main->active_sql);
-}
-
-=item active_cust_main
-
-Returns the active customers for this agent, as cust_main objects.
-
-=cut
-
-sub active_cust_main {
-  shift->cust_main_sql(FS::cust_main->active_sql);
-}
-
-=item num_susp_cust_main
-
-Returns the number of suspended customers for this agent.
-
-=cut
-
-sub num_susp_cust_main {
-  shift->num_sql(FS::cust_main->susp_sql);
-}
-
-=item susp_cust_main
-
-Returns the suspended customers for this agent, as cust_main objects.
-
-=cut
-
-sub susp_cust_main {
-  shift->cust_main_sql(FS::cust_main->susp_sql);
-}
-
-=item num_cancel_cust_main
-
-Returns the number of cancelled customer for this agent.
-
-=cut
-
-sub num_cancel_cust_main {
-  shift->num_sql(FS::cust_main->cancel_sql);
-}
-
-=item cancel_cust_main
-
-Returns the cancelled customers for this agent, as cust_main objects.
-
-=cut
-
-sub cancel_cust_main {
-  shift->cust_main_sql(FS::cust_main->cancel_sql);
-}
-
-=item num_active_cust_pkg
-
-Returns the number of active customer packages for this agent.
-
-=cut
-
-sub num_active_cust_pkg {
-  shift->num_pkg_sql(FS::cust_pkg->active_sql);
-}
-
-sub num_pkg_sql {
-  my( $self, $sql ) = @_;
-  my $statement = 
-    "SELECT COUNT(*) FROM cust_pkg LEFT JOIN cust_main USING ( custnum )".
-    " WHERE agentnum = ? AND $sql";
-  my $sth = dbh->prepare($statement) or die dbh->errstr." preparing $statement";
-  $sth->execute($self->agentnum) or die $sth->errstr. "executing $statement";
-  $sth->fetchrow_arrayref->[0];
-}
-
-=item num_susp_cust_pkg
-
-Returns the number of suspended customer packages for this agent.
-
-=cut
-
-sub num_susp_cust_pkg {
-  shift->num_pkg_sql(FS::cust_pkg->susp_sql);
-}
-
-=item num_cancel_cust_pkg
-
-Returns the number of cancelled customer packages for this agent.
-
-=cut
-
-sub num_cancel_cust_pkg {
-  shift->num_pkg_sql(FS::cust_pkg->cancel_sql);
-}
-
-=item generate_reg_codes NUM PKGPART_ARRAYREF
-
-Generates the specified number of registration codes, allowing purchase of the
-specified package definitions.  Returns an array reference of the newly
-generated codes, or a scalar error message.
-
-=cut
-
-#false laziness w/prepay_credit::generate
-sub generate_reg_codes {
-  my( $self, $num, $pkgparts ) = @_;
-
-  my @codeset = ( 'A'..'Z' );
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my @codes = ();
-  for ( 1 ... $num ) {
-    my $reg_code = new FS::reg_code {
-      'agentnum' => $self->agentnum,
-      'code'     => join('', map($codeset[int(rand $#codeset)], (0..7) ) ),
-    };
-    my $error = $reg_code->insert($pkgparts);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-    push @codes, $reg_code->code;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  \@codes;
-
-}
-
-=item num_reg_code
-
-Returns the number of unused registration codes for this agent.
-
-=cut
-
-sub num_reg_code {
-  my $self = shift;
-  my $sth = dbh->prepare(
-    "SELECT COUNT(*) FROM reg_code WHERE agentnum = ?"
-  ) or die dbh->errstr;
-  $sth->execute($self->agentnum) or die $sth->errstr;
-  $sth->fetchrow_arrayref->[0];
-}
-
-=item num_prepay_credit
-
-Returns the number of unused prepaid cards for this agent.
-
-=cut
-
-sub num_prepay_credit {
-  my $self = shift;
-  my $sth = dbh->prepare(
-    "SELECT COUNT(*) FROM prepay_credit WHERE agentnum = ?"
-  ) or die dbh->errstr;
-  $sth->execute($self->agentnum) or die $sth->errstr;
-  $sth->fetchrow_arrayref->[0];
-}
-
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::agent_type>, L<FS::cust_main>, L<FS::part_pkg>, 
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/agent_payment_gateway.pm b/FS/FS/agent_payment_gateway.pm
deleted file mode 100644 (file)
index bd99d0c..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-package FS::agent_payment_gateway;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::payment_gateway;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::agent_payment_gateway - Object methods for agent_payment_gateway records
-
-=head1 SYNOPSIS
-
-  use FS::agent_payment_gateway;
-
-  $record = new FS::agent_payment_gateway \%hash;
-  $record = new FS::agent_payment_gateway { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::agent_payment_gateway object represents a payment gateway override for
-a specific agent.  FS::agent_payment_gateway inherits from FS::Record.  The
-following fields are currently supported:
-
-=over 4
-
-=item agentgatewaynum - primary key
-
-=item agentnum - 
-
-=item gatewaynum - 
-
-=item cardtype - 
-
-=item taxclass - 
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new override.  To add the override to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'agent_payment_gateway'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid override.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('agentgatewaynum')
-    || $self->ut_foreign_key('agentnum', 'agent', 'agentnum')
-    || $self->ut_foreign_key('gatewaynum', 'payment_gateway', 'gatewaynum' )
-    || $self->ut_textn('cardtype')
-    || $self->ut_textn('taxclass')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=item payment_gateway
-
-=cut
-
-sub payment_gateway {
-  my $self = shift;
-  qsearchs('payment_gateway', { 'gatewaynum' => $self->gatewaynum } );
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::payment_gateway>, L<FS::agent>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/agent_type.pm b/FS/FS/agent_type.pm
deleted file mode 100644 (file)
index 968b3b7..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-package FS::agent_type;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch );
-use FS::agent;
-use FS::type_pkgs;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::agent_type - Object methods for agent_type records
-
-=head1 SYNOPSIS
-
-  use FS::agent_type;
-
-  $record = new FS::agent_type \%hash;
-  $record = new FS::agent_type { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $hashref = $record->pkgpart_hashref;
-  #may purchase $pkgpart if $hashref->{$pkgpart};
-
-  @type_pkgs = $record->type_pkgs;
-
-  @pkgparts = $record->pkgpart;
-
-=head1 DESCRIPTION
-
-An FS::agent_type object represents an agent type.  Every agent (see
-L<FS::agent>) has an agent type.  Agent types define which packages (see
-L<FS::part_pkg>) may be purchased by customers (see L<FS::cust_main>), via 
-FS::type_pkgs records (see L<FS::type_pkgs>).  FS::agent_type inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item typenum - primary key (assigned automatically for new agent types)
-
-=item atype - Text name of this agent type
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new agent type.  To add the agent type to the database, see
-L<"insert">.
-
-=cut
-
-sub table { 'agent_type'; }
-
-=item insert
-
-Adds this agent type to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this agent type from the database.  Only agent types with no agents
-can be deleted.  If there is an error, returns the error, otherwise returns
-false.
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  return "Can't delete an agent_type with agents!"
-    if qsearch( 'agent', { 'typenum' => $self->typenum } );
-
-  $self->SUPER::delete;
-}
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid agent type.  If there is an
-error, returns the error, otherwise returns false.  Called by the insert and
-replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  $self->ut_numbern('typenum')
-  or $self->ut_text('atype')
-  or $self->SUPER::check;
-
-}
-
-=item pkgpart_hashref
-
-Returns a hash reference.  The keys of the hash are pkgparts.  The value is
-true iff this agent may purchase the specified package definition.  See
-L<FS::part_pkg>.
-
-=cut
-
-sub pkgpart_hashref {
-  my $self = shift;
-  my %pkgpart;
-  #$pkgpart{$_}++ foreach $self->pkgpart;
-  # not compatible w/5.004_04 (fixed in 5.004_05)
-  foreach ( $self->pkgpart ) { $pkgpart{$_}++; }
-  \%pkgpart;
-}
-
-=item type_pkgs
-
-Returns all FS::type_pkgs objects (see L<FS::type_pkgs>) for this agent type.
-
-=cut
-
-sub type_pkgs {
-  my $self = shift;
-  qsearch('type_pkgs', { 'typenum' => $self->typenum } );
-}
-
-=item pkgpart
-
-Returns the pkgpart of all package definitions (see L<FS::part_pkg>) for this
-agent type.
-
-=cut
-
-sub pkgpart {
-  my $self = shift;
-  map $_->pkgpart, $self->type_pkgs;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::agent>, L<FS::type_pkgs>, L<FS::cust_main>,
-L<FS::part_pkg>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/banned_pay.pm b/FS/FS/banned_pay.pm
deleted file mode 100644 (file)
index 1ad87f5..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-package FS::banned_pay;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::UID qw( getotaker );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::banned_pay - Object methods for banned_pay records
-
-=head1 SYNOPSIS
-
-  use FS::banned_pay;
-
-  $record = new FS::banned_pay \%hash;
-  $record = new FS::banned_pay { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::banned_pay object represents an banned credit card or ACH account.
-FS::banned_pay inherits from FS::Record.  The following fields are currently
-supported:
-
-=over 4
-
-=item bannum - primary key
-
-=item payby - I<CARD> or I<CHEK>
-
-=item payinfo - fingerprint of banned card (base64-encoded MD5 digest)
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=item otaker - order taker (assigned automatically, see L<FS::UID>)
-
-=item reason - reason (text)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new ban.  To add the ban to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'banned_pay'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid ban.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('bannum')
-    || $self->ut_enum('payby', [ 'CARD', 'CHEK' ] )
-    || $self->ut_text('payinfo')
-    || $self->ut_numbern('_date')
-    || $self->ut_textn('reason')
-  ;
-  return $error if $error;
-
-  $self->_date(time) unless $self->_date;
-
-  $self->otaker(getotaker);
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cancel_reason.pm b/FS/FS/cancel_reason.pm
deleted file mode 100644 (file)
index 19cc721..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-package FS::cancel_reason;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::cancel_reason - Object methods for cancel_reason records
-
-=head1 SYNOPSIS
-
-  use FS::cancel_reason;
-
-  $record = new FS::cancel_reason \%hash;
-  $record = new FS::cancel_reason { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cancel_reason object represents an cancellation reason.
-FS::cancel_reason inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item reasonnum - primary key
-
-=item reason - 
-
-=item disabled - empty or "Y"
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new cancellation reason.  To add the reason to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'cancel_reason'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid reason.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('reasonnum')
-    || $self->ut_text('reason')
-    || $self->ut_enum('disabled', [ '', 'Y' ] )
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/clientapi_session.pm b/FS/FS/clientapi_session.pm
deleted file mode 100644 (file)
index f71a126..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-package FS::clientapi_session;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::clientapi_session - Object methods for clientapi_session records
-
-=head1 SYNOPSIS
-
-  use FS::clientapi_session;
-
-  $record = new FS::clientapi_session \%hash;
-  $record = new FS::clientapi_session { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::clientapi_session object represents an FS::ClientAPI session.
-FS::clientapi_session inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item sessionnum - primary key
-
-=item sessionid - session ID
-
-=item namespace - session namespace
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'clientapi_session'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('primary_key')
-    || $self->ut_number('validate_other_fields')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::ClientAPI>, <FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/clientapi_session_field.pm b/FS/FS/clientapi_session_field.pm
deleted file mode 100644 (file)
index bfa487d..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-package FS::clientapi_session_field;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::clientapi_session_field - Object methods for clientapi_session_field records
-
-=head1 SYNOPSIS
-
-  use FS::clientapi_session_field;
-
-  $record = new FS::clientapi_session_field \%hash;
-  $record = new FS::clientapi_session_field { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::clientapi_session_field object represents a FS::ClientAPI session data
-field.  FS::clientapi_session_field inherits from FS::Record.  The following
-fields are currently supported:
-
-=over 4
-
-=item fieldnum - primary key
-
-=item sessionnum - Base ClientAPI sesison (see L<FS::clientapi_session>)
-
-=item fieldname
-
-=item fieldvalie
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'clientapi_session_field'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('primary_key')
-    || $self->ut_number('validate_other_fields')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-The author forgot to customize this manpage.
-
-=head1 SEE ALSO
-
-L<FS::clientapi_session>, L<FS::ClientAPI>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
deleted file mode 100644 (file)
index 6e3b2b2..0000000
+++ /dev/null
@@ -1,2546 +0,0 @@
-package FS::cust_bill;
-
-use strict;
-use vars qw( @ISA $DEBUG $conf $money_char );
-use vars qw( $invoice_lines @buf ); #yuck
-use Fcntl qw(:flock); #for spool_csv
-use IPC::Run3;
-use Date::Format;
-use Text::Template 1.20;
-use File::Temp 0.14;
-use String::ShellQuote;
-use HTML::Entities;
-use Locale::Country;
-use FS::UID qw( datasrc );
-use FS::Misc qw( send_email send_fax );
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main_Mixin;
-use FS::cust_main;
-use FS::cust_bill_pkg;
-use FS::cust_credit;
-use FS::cust_pay;
-use FS::cust_pkg;
-use FS::cust_credit_bill;
-use FS::cust_pay_batch;
-use FS::cust_bill_event;
-use FS::part_pkg;
-use FS::cust_bill_pay;
-use FS::part_bill_event;
-
-@ISA = qw( FS::cust_main_Mixin FS::Record );
-
-$DEBUG = 0;
-
-#ask FS::UID to run this stuff for us later
-FS::UID->install_callback( sub { 
-  $conf = new FS::Conf;
-  $money_char = $conf->config('money_char') || '$';  
-} );
-
-=head1 NAME
-
-FS::cust_bill - Object methods for cust_bill records
-
-=head1 SYNOPSIS
-
-  use FS::cust_bill;
-
-  $record = new FS::cust_bill \%hash;
-  $record = new FS::cust_bill { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  ( $total_previous_balance, @previous_cust_bill ) = $record->previous;
-
-  @cust_bill_pkg_objects = $cust_bill->cust_bill_pkg;
-
-  ( $total_previous_credits, @previous_cust_credit ) = $record->cust_credit;
-
-  @cust_pay_objects = $cust_bill->cust_pay;
-
-  $tax_amount = $record->tax;
-
-  @lines = $cust_bill->print_text;
-  @lines = $cust_bill->print_text $time;
-
-=head1 DESCRIPTION
-
-An FS::cust_bill object represents an invoice; a declaration that a customer
-owes you money.  The specific charges are itemized as B<cust_bill_pkg> records
-(see L<FS::cust_bill_pkg>).  FS::cust_bill inherits from FS::Record.  The
-following fields are currently supported:
-
-=over 4
-
-=item invnum - primary key (assigned automatically for new invoices)
-
-=item custnum - customer (see L<FS::cust_main>)
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=item charged - amount of this invoice
-
-=item printed - deprecated
-
-=item closed - books closed flag, empty or `Y'
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new invoice.  To add the invoice to the database, see L<"insert">.
-Invoices are normally created by calling the bill method of a customer object
-(see L<FS::cust_main>).
-
-=cut
-
-sub table { 'cust_bill'; }
-
-sub cust_linked { $_[0]->cust_main_custnum; } 
-sub cust_unlinked_msg {
-  my $self = shift;
-  "WARNING: can't find cust_main.custnum ". $self->custnum.
-  ' (cust_bill.invnum '. $self->invnum. ')';
-}
-
-=item insert
-
-Adds this invoice to the database ("Posts" the invoice).  If there is an error,
-returns the error, otherwise returns false.
-
-=item delete
-
-Currently unimplemented.  I don't remove invoices because there would then be
-no record you ever posted this invoice (which is bad, no?)
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't delete closed invoice" if $self->closed =~ /^Y/i;
-  $self->SUPER::delete(@_);
-}
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-Only printed may be changed.  printed is normally updated by calling the
-collect method of a customer object (see L<FS::cust_main>).
-
-=cut
-
-sub replace {
-  my( $new, $old ) = ( shift, shift );
-  return "Can't change custnum!" unless $old->custnum == $new->custnum;
-  #return "Can't change _date!" unless $old->_date eq $new->_date;
-  return "Can't change _date!" unless $old->_date == $new->_date;
-  return "Can't change charged!" unless $old->charged == $new->charged;
-
-  $new->SUPER::replace($old);
-}
-
-=item check
-
-Checks all fields to make sure this is a valid invoice.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('invnum')
-    || $self->ut_number('custnum')
-    || $self->ut_numbern('_date')
-    || $self->ut_money('charged')
-    || $self->ut_numbern('printed')
-    || $self->ut_enum('closed', [ '', 'Y' ])
-  ;
-  return $error if $error;
-
-  return "Unknown customer"
-    unless qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-
-  $self->_date(time) unless $self->_date;
-
-  $self->printed(0) if $self->printed eq '';
-
-  $self->SUPER::check;
-}
-
-=item previous
-
-Returns a list consisting of the total previous balance for this customer, 
-followed by the previous outstanding invoices (as FS::cust_bill objects also).
-
-=cut
-
-sub previous {
-  my $self = shift;
-  my $total = 0;
-  my @cust_bill = sort { $a->_date <=> $b->_date }
-    grep { $_->owed != 0 && $_->_date < $self->_date }
-      qsearch( 'cust_bill', { 'custnum' => $self->custnum } ) 
-  ;
-  foreach ( @cust_bill ) { $total += $_->owed; }
-  $total, @cust_bill;
-}
-
-=item cust_bill_pkg
-
-Returns the line items (see L<FS::cust_bill_pkg>) for this invoice.
-
-=cut
-
-sub cust_bill_pkg {
-  my $self = shift;
-  qsearch( 'cust_bill_pkg', { 'invnum' => $self->invnum } );
-}
-
-=item cust_bill_event
-
-Returns the completed invoice events (see L<FS::cust_bill_event>) for this
-invoice.
-
-=cut
-
-sub cust_bill_event {
-  my $self = shift;
-  qsearch( 'cust_bill_event', { 'invnum' => $self->invnum } );
-}
-
-
-=item cust_main
-
-Returns the customer (see L<FS::cust_main>) for this invoice.
-
-=cut
-
-sub cust_main {
-  my $self = shift;
-  qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-}
-
-=item cust_suspend_if_balance_over AMOUNT
-
-Suspends the customer associated with this invoice if the total amount owed on
-this invoice and all older invoices is greater than the specified amount.
-
-Returns a list: an empty list on success or a list of errors.
-
-=cut
-
-sub cust_suspend_if_balance_over {
-  my( $self, $amount ) = ( shift, shift );
-  my $cust_main = $self->cust_main;
-  if ( $cust_main->total_owed_date($self->_date) < $amount ) {
-    return ();
-  } else {
-    $cust_main->suspend;
-  }
-}
-
-=item cust_credit
-
-Depreciated.  See the cust_credited method.
-
- #Returns a list consisting of the total previous credited (see
- #L<FS::cust_credit>) and unapplied for this customer, followed by the previous
- #outstanding credits (FS::cust_credit objects).
-
-=cut
-
-sub cust_credit {
-  use Carp;
-  croak "FS::cust_bill->cust_credit depreciated; see ".
-        "FS::cust_bill->cust_credit_bill";
-  #my $self = shift;
-  #my $total = 0;
-  #my @cust_credit = sort { $a->_date <=> $b->_date }
-  #  grep { $_->credited != 0 && $_->_date < $self->_date }
-  #    qsearch('cust_credit', { 'custnum' => $self->custnum } )
-  #;
-  #foreach (@cust_credit) { $total += $_->credited; }
-  #$total, @cust_credit;
-}
-
-=item cust_pay
-
-Depreciated.  See the cust_bill_pay method.
-
-#Returns all payments (see L<FS::cust_pay>) for this invoice.
-
-=cut
-
-sub cust_pay {
-  use Carp;
-  croak "FS::cust_bill->cust_pay depreciated; see FS::cust_bill->cust_bill_pay";
-  #my $self = shift;
-  #sort { $a->_date <=> $b->_date }
-  #  qsearch( 'cust_pay', { 'invnum' => $self->invnum } )
-  #;
-}
-
-=item cust_bill_pay
-
-Returns all payment applications (see L<FS::cust_bill_pay>) for this invoice.
-
-=cut
-
-sub cust_bill_pay {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_bill_pay', { 'invnum' => $self->invnum } );
-}
-
-=item cust_credited
-
-Returns all applied credits (see L<FS::cust_credit_bill>) for this invoice.
-
-=cut
-
-sub cust_credited {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_credit_bill', { 'invnum' => $self->invnum } )
-  ;
-}
-
-=item tax
-
-Returns the tax amount (see L<FS::cust_bill_pkg>) for this invoice.
-
-=cut
-
-sub tax {
-  my $self = shift;
-  my $total = 0;
-  my @taxlines = qsearch( 'cust_bill_pkg', { 'invnum' => $self->invnum ,
-                                             'pkgnum' => 0 } );
-  foreach (@taxlines) { $total += $_->setup; }
-  $total;
-}
-
-=item owed
-
-Returns the amount owed (still outstanding) on this invoice, which is charged
-minus all payment applications (see L<FS::cust_bill_pay>) and credit
-applications (see L<FS::cust_credit_bill>).
-
-=cut
-
-sub owed {
-  my $self = shift;
-  my $balance = $self->charged;
-  $balance -= $_->amount foreach ( $self->cust_bill_pay );
-  $balance -= $_->amount foreach ( $self->cust_credited );
-  $balance = sprintf( "%.2f", $balance);
-  $balance =~ s/^\-0\.00$/0.00/; #yay ieee fp
-  $balance;
-}
-
-
-=item generate_email PARAMHASH
-
-PARAMHASH can contain the following:
-
-=over 4
-
-=item from       => sender address, required
-
-=item tempate    => alternate template name, optional
-
-=item print_text => text attachment arrayref, optional
-
-=item subject    => email subject, optional
-
-=back
-
-Returns an argument list to be passed to L<FS::Misc::send_email>.
-
-=cut
-
-use MIME::Entity;
-
-sub generate_email {
-
-  my $self = shift;
-  my %args = @_;
-
-  my $me = '[FS::cust_bill::generate_email]';
-
-  my %return = (
-    'from'      => $args{'from'},
-    'subject'   => (($args{'subject'}) ? $args{'subject'} : 'Invoice'),
-  );
-
-  if (ref($args{'to'} eq 'ARRAY')) {
-    $return{'to'} = $args{'to'};
-  } else {
-    $return{'to'} = [ grep { $_ !~ /^(POST|FAX)$/ }
-                           $self->cust_main->invoicing_list
-                    ];
-  }
-
-  if ( $conf->exists('invoice_html') ) {
-
-    warn "$me creating HTML/text multipart message"
-      if $DEBUG;
-
-    $return{'nobody'} = 1;
-
-    my $alternative = build MIME::Entity
-      'Type'        => 'multipart/alternative',
-      'Encoding'    => '7bit',
-      'Disposition' => 'inline'
-    ;
-
-    my $data;
-    if ( $conf->exists('invoice_email_pdf')
-         and scalar($conf->config('invoice_email_pdf_note')) ) {
-
-      warn "$me using 'invoice_email_pdf_note' in multipart message"
-        if $DEBUG;
-      $data = [ map { $_ . "\n" }
-                    $conf->config('invoice_email_pdf_note')
-              ];
-
-    } else {
-
-      warn "$me not using 'invoice_email_pdf_note' in multipart message"
-        if $DEBUG;
-      if ( ref($args{'print_text'}) eq 'ARRAY' ) {
-        $data = $args{'print_text'};
-      } else {
-        $data = [ $self->print_text('', $args{'template'}) ];
-      }
-
-    }
-
-    $alternative->attach(
-      'Type'        => 'text/plain',
-      #'Encoding'    => 'quoted-printable',
-      'Encoding'    => '7bit',
-      'Data'        => $data,
-      'Disposition' => 'inline',
-    );
-
-    $args{'from'} =~ /\@([\w\.\-]+)/ or $1 = 'example.com';
-    my $content_id = join('.', rand()*(2**32), $$, time). "\@$1";
-
-    my $path = "$FS::UID::conf_dir/conf.$FS::UID::datasrc";
-    my $file;
-    if ( defined($args{'_template'}) && length($args{'_template'})
-         && -e "$path/logo_". $args{'_template'}. ".png"
-       )
-    {
-      $file = "$path/logo_". $args{'_template'}. ".png";
-    } else {
-      $file = "$path/logo.png";
-    }
-
-    my $image = build MIME::Entity
-      'Type'       => 'image/png',
-      'Encoding'   => 'base64',
-      'Path'       => $file,
-      'Filename'   => 'logo.png',
-      'Content-ID' => "<$content_id>",
-    ;
-
-    $alternative->attach(
-      'Type'        => 'text/html',
-      'Encoding'    => 'quoted-printable',
-      'Data'        => [ '<html>',
-                         '  <head>',
-                         '    <title>',
-                         '      '. encode_entities($return{'subject'}), 
-                         '    </title>',
-                         '  </head>',
-                         '  <body bgcolor="#e8e8e8">',
-                         $self->print_html('', $args{'template'}, $content_id),
-                         '  </body>',
-                         '</html>',
-                       ],
-      'Disposition' => 'inline',
-      #'Filename'    => 'invoice.pdf',
-    );
-
-    if ( $conf->exists('invoice_email_pdf') ) {
-
-      #attaching pdf too:
-      # multipart/mixed
-      #   multipart/related
-      #     multipart/alternative
-      #       text/plain
-      #       text/html
-      #     image/png
-      #   application/pdf
-
-      my $related = build MIME::Entity 'Type'     => 'multipart/related',
-                                       'Encoding' => '7bit';
-
-      #false laziness w/Misc::send_email
-      $related->head->replace('Content-type',
-        $related->mime_type.
-        '; boundary="'. $related->head->multipart_boundary. '"'.
-        '; type=multipart/alternative'
-      );
-
-      $related->add_part($alternative);
-
-      $related->add_part($image);
-
-      my $pdf = build MIME::Entity $self->mimebuild_pdf('', $args{'template'});
-
-      $return{'mimeparts'} = [ $related, $pdf ];
-
-    } else {
-
-      #no other attachment:
-      # multipart/related
-      #   multipart/alternative
-      #     text/plain
-      #     text/html
-      #   image/png
-
-      $return{'content-type'} = 'multipart/related';
-      $return{'mimeparts'} = [ $alternative, $image ];
-      $return{'type'} = 'multipart/alternative'; #Content-Type of first part...
-      #$return{'disposition'} = 'inline';
-
-    }
-  
-  } else {
-
-    if ( $conf->exists('invoice_email_pdf') ) {
-      warn "$me creating PDF attachment"
-        if $DEBUG;
-
-      #mime parts arguments a la MIME::Entity->build().
-      $return{'mimeparts'} = [
-        { $self->mimebuild_pdf('', $args{'template'}) }
-      ];
-    }
-  
-    if ( $conf->exists('invoice_email_pdf')
-         and scalar($conf->config('invoice_email_pdf_note')) ) {
-
-      warn "$me using 'invoice_email_pdf_note'"
-        if $DEBUG;
-      $return{'body'} = [ map { $_ . "\n" }
-                              $conf->config('invoice_email_pdf_note')
-                        ];
-
-    } else {
-
-      warn "$me not using 'invoice_email_pdf_note'"
-        if $DEBUG;
-      if ( ref($args{'print_text'}) eq 'ARRAY' ) {
-        $return{'body'} = $args{'print_text'};
-      } else {
-        $return{'body'} = [ $self->print_text('', $args{'template'}) ];
-      }
-
-    }
-
-  }
-
-  %return;
-
-}
-
-=item mimebuild_pdf
-
-Returns a list suitable for passing to MIME::Entity->build(), representing
-this invoice as PDF attachment.
-
-=cut
-
-sub mimebuild_pdf {
-  my $self = shift;
-  (
-    'Type'        => 'application/pdf',
-    'Encoding'    => 'base64',
-    'Data'        => [ $self->print_pdf(@_) ],
-    'Disposition' => 'attachment',
-    'Filename'    => 'invoice.pdf',
-  );
-}
-
-=item send [ TEMPLATENAME [ , AGENTNUM [ , INVOICE_FROM ] ] ]
-
-Sends this invoice to the destinations configured for this customer: sends
-email, prints and/or faxes.  See L<FS::cust_main_invoice>.
-
-TEMPLATENAME, if specified, is the name of a suffix for alternate invoices.
-
-AGENTNUM, if specified, means that this invoice will only be sent for customers
-of the specified agent or agent(s).  AGENTNUM can be a scalar agentnum (for a
-single agent) or an arrayref of agentnums.
-
-INVOICE_FROM, if specified, overrides the default email invoice From: address.
-
-=cut
-
-sub send {
-  my $self = shift;
-  my $template = scalar(@_) ? shift : '';
-  if ( scalar(@_) && $_[0]  ) {
-    my $agentnums = ref($_[0]) ? shift : [ shift ];
-    return 'N/A' unless grep { $_ == $self->cust_main->agentnum } @$agentnums;
-  }
-
-  my $invoice_from =
-    scalar(@_)
-      ? shift
-      : ( $self->_agent_invoice_from || $conf->config('invoice_from') );
-
-  my @invoicing_list = $self->cust_main->invoicing_list;
-
-  $self->email($template, $invoice_from)
-    if grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list or !@invoicing_list;
-
-  $self->print($template)
-    if grep { $_ eq 'POST' } @invoicing_list; #postal
-
-  $self->fax($template)
-    if grep { $_ eq 'FAX' } @invoicing_list; #fax
-
-  '';
-
-}
-
-=item email [ TEMPLATENAME  [ , INVOICE_FROM ] ] 
-
-Emails this invoice.
-
-TEMPLATENAME, if specified, is the name of a suffix for alternate invoices.
-
-INVOICE_FROM, if specified, overrides the default email invoice From: address.
-
-=cut
-
-sub email {
-  my $self = shift;
-  my $template = scalar(@_) ? shift : '';
-  my $invoice_from =
-    scalar(@_)
-      ? shift
-      : ( $self->_agent_invoice_from || $conf->config('invoice_from') );
-
-  my @invoicing_list = grep { $_ !~ /^(POST|FAX)$/ } 
-                            $self->cust_main->invoicing_list;
-
-  #better to notify this person than silence
-  @invoicing_list = ($invoice_from) unless @invoicing_list;
-
-  my $error = send_email(
-    $self->generate_email(
-      'from'       => $invoice_from,
-      'to'         => [ grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ],
-      'template'   => $template,
-    )
-  );
-  die "can't email invoice: $error\n" if $error;
-  #die "$error\n" if $error;
-
-}
-
-=item lpr_data [ TEMPLATENAME ]
-
-Returns the postscript or plaintext for this invoice as an arrayref.
-
-TEMPLATENAME, if specified, is the name of a suffix for alternate invoices.
-
-=cut
-
-sub lpr_data {
-  my( $self, $template) = @_;
-  $conf->exists('invoice_latex')
-    ? [ $self->print_ps('', $template) ]
-    : [ $self->print_text('', $template) ];
-}
-
-=item print [ TEMPLATENAME ]
-
-Prints this invoice.
-
-TEMPLATENAME, if specified, is the name of a suffix for alternate invoices.
-
-=cut
-
-sub print {
-  my $self = shift;
-  my $template = scalar(@_) ? shift : '';
-
-  my $lpr = $conf->config('lpr');
-
-  my $outerr = '';
-  run3 $lpr, $self->lpr_data($template), \$outerr, \$outerr;
-  if ( $? ) {
-    $outerr = ": $outerr" if length($outerr);
-    die "Error from $lpr (exit status ". ($?>>8). ")$outerr\n";
-  }
-
-}
-
-=item fax [ TEMPLATENAME ] 
-
-Faxes this invoice.
-
-TEMPLATENAME, if specified, is the name of a suffix for alternate invoices.
-
-=cut
-
-sub fax {
-  my $self = shift;
-  my $template = scalar(@_) ? shift : '';
-
-  die 'FAX invoice destination not (yet?) supported with plain text invoices.'
-    unless $conf->exists('invoice_latex');
-
-  my $dialstring = $self->cust_main->getfield('fax');
-  #Check $dialstring?
-
-  my $error = send_fax( 'docdata'    => $self->lpr_data($template),
-                        'dialstring' => $dialstring,
-                      );
-  die $error if $error;
-
-}
-
-=item send_if_newest [ TEMPLATENAME [ , AGENTNUM [ , INVOICE_FROM ] ] ]
-
-Like B<send>, but only sends the invoice if it is the newest open invoice for
-this customer.
-
-=cut
-
-sub send_if_newest {
-  my $self = shift;
-
-  return ''
-    if scalar(
-               grep { $_->owed > 0 } 
-                    qsearch('cust_bill', {
-                      'custnum' => $self->custnum,
-                      #'_date'   => { op=>'>', value=>$self->_date },
-                      'invnum'  => { op=>'>', value=>$self->invnum },
-                    } )
-             );
-    
-  $self->send(@_);
-}
-
-=item send_csv OPTION => VALUE, ...
-
-Sends invoice as a CSV data-file to a remote host with the specified protocol.
-
-Options are:
-
-protocol - currently only "ftp"
-server
-username
-password
-dir
-
-The file will be named "N-YYYYMMDDHHMMSS.csv" where N is the invoice number
-and YYMMDDHHMMSS is a timestamp.
-
-See L</print_csv> for a description of the output format.
-
-=cut
-
-sub send_csv {
-  my($self, %opt) = @_;
-
-  #create file(s)
-
-  my $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/cust_bill";
-  mkdir $spooldir, 0700 unless -d $spooldir;
-
-  my $tracctnum = $self->invnum. time2str('-%Y%m%d%H%M%S', time);
-  my $file = "$spooldir/$tracctnum.csv";
-  
-  my ( $header, $detail ) = $self->print_csv(%opt, 'tracctnum' => $tracctnum );
-
-  open(CSV, ">$file") or die "can't open $file: $!";
-  print CSV $header;
-
-  print CSV $detail;
-
-  close CSV;
-
-  my $net;
-  if ( $opt{protocol} eq 'ftp' ) {
-    eval "use Net::FTP;";
-    die $@ if $@;
-    $net = Net::FTP->new($opt{server}) or die @$;
-  } else {
-    die "unknown protocol: $opt{protocol}";
-  }
-
-  $net->login( $opt{username}, $opt{password} )
-    or die "can't FTP to $opt{username}\@$opt{server}: login error: $@";
-
-  $net->binary or die "can't set binary mode";
-
-  $net->cwd($opt{dir}) or die "can't cwd to $opt{dir}";
-
-  $net->put($file) or die "can't put $file: $!";
-
-  $net->quit;
-
-  unlink $file;
-
-}
-
-=item spool_csv
-
-Spools CSV invoice data.
-
-Options are:
-
-=over 4
-
-=item format - 'default' or 'billco'
-
-=item dest - if set (to POST, EMAIL or FAX), only sends spools invoices if the customer has the corresponding invoice destinations set (see L<FS::cust_main_invoice>).
-
-=item agent_spools - if set to a true value, will spool to per-agent files rather than a single global file
-
-=back
-
-=cut
-
-sub spool_csv {
-  my($self, %opt) = @_;
-
-  my $cust_main = $self->cust_main;
-
-  if ( $opt{'dest'} ) {
-    my %invoicing_list = map { /^(POST|FAX)$/ or 'EMAIL' =~ /^(.*)$/; $1 => 1 }
-                             $cust_main->invoicing_list;
-    return 'N/A' unless $invoicing_list{$opt{'dest'}}
-                     || ! keys %invoicing_list;
-  }
-
-  my $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/cust_bill";
-  mkdir $spooldir, 0700 unless -d $spooldir;
-
-  my $tracctnum = $self->invnum. time2str('-%Y%m%d%H%M%S', time);
-
-  my $file =
-    "$spooldir/".
-    ( $opt{'agent_spools'} ? 'agentnum'.$cust_main->agentnum : 'spool' ).
-    ( lc($opt{'format'}) eq 'billco' ? '-header' : '' ) .
-    '.csv';
-  
-  my ( $header, $detail ) = $self->print_csv(%opt, 'tracctnum' => $tracctnum );
-
-  open(CSV, ">>$file") or die "can't open $file: $!";
-  flock(CSV, LOCK_EX);
-  seek(CSV, 0, 2);
-
-  print CSV $header;
-
-  if ( lc($opt{'format'}) eq 'billco' ) {
-
-    flock(CSV, LOCK_UN);
-    close CSV;
-
-    $file =
-      "$spooldir/".
-      ( $opt{'agent_spools'} ? 'agentnum'.$cust_main->agentnum : 'spool' ).
-      '-detail.csv';
-
-    open(CSV,">>$file") or die "can't open $file: $!";
-    flock(CSV, LOCK_EX);
-    seek(CSV, 0, 2);
-  }
-
-  print CSV $detail;
-
-  flock(CSV, LOCK_UN);
-  close CSV;
-
-  return '';
-
-}
-
-=item print_csv OPTION => VALUE, ...
-
-Returns CSV data for this invoice.
-
-Options are:
-
-format - 'default' or 'billco'
-
-Returns a list consisting of two scalars.  The first is a single line of CSV
-header information for this invoice.  The second is one or more lines of CSV
-detail information for this invoice.
-
-If I<format> is not specified or "default", the fields of the CSV file are as
-follows:
-
-record_type, invnum, custnum, _date, charged, first, last, company, address1, address2, city, state, zip, country, pkg, setup, recur, sdate, edate
-
-=over 4
-
-=item record type - B<record_type> is either C<cust_bill> or C<cust_bill_pkg>
-
-B<record_type> is C<cust_bill> for the initial header line only.  The
-last five fields (B<pkg> through B<edate>) are irrelevant, and all other
-fields are filled in.
-
-B<record_type> is C<cust_bill_pkg> for detail lines.  Only the first two fields
-(B<record_type> and B<invnum>) and the last five fields (B<pkg> through B<edate>)
-are filled in.
-
-=item invnum - invoice number
-
-=item custnum - customer number
-
-=item _date - invoice date
-
-=item charged - total invoice amount
-
-=item first - customer first name
-
-=item last - customer first name
-
-=item company - company name
-
-=item address1 - address line 1
-
-=item address2 - address line 1
-
-=item city
-
-=item state
-
-=item zip
-
-=item country
-
-=item pkg - line item description
-
-=item setup - line item setup fee (one or both of B<setup> and B<recur> will be defined)
-
-=item recur - line item recurring fee (one or both of B<setup> and B<recur> will be defined)
-
-=item sdate - start date for recurring fee
-
-=item edate - end date for recurring fee
-
-=back
-
-If I<format> is "billco", the fields of the header CSV file are as follows:
-
-  +-------------------------------------------------------------------+
-  |                        FORMAT HEADER FILE                         |
-  |-------------------------------------------------------------------|
-  | Field | Description                   | Name       | Type | Width |
-  | 1     | N/A-Leave Empty               | RC         | CHAR |     2 |
-  | 2     | N/A-Leave Empty               | CUSTID     | CHAR |    15 |
-  | 3     | Transaction Account No        | TRACCTNUM  | CHAR |    15 |
-  | 4     | Transaction Invoice No        | TRINVOICE  | CHAR |    15 |
-  | 5     | Transaction Zip Code          | TRZIP      | CHAR |     5 |
-  | 6     | Transaction Company Bill To   | TRCOMPANY  | CHAR |    30 |
-  | 7     | Transaction Contact Bill To   | TRNAME     | CHAR |    30 |
-  | 8     | Additional Address Unit Info  | TRADDR1    | CHAR |    30 |
-  | 9     | Bill To Street Address        | TRADDR2    | CHAR |    30 |
-  | 10    | Ancillary Billing Information | TRADDR3    | CHAR |    30 |
-  | 11    | Transaction City Bill To      | TRCITY     | CHAR |    20 |
-  | 12    | Transaction State Bill To     | TRSTATE    | CHAR |     2 |
-  | 13    | Bill Cycle Close Date         | CLOSEDATE  | CHAR |    10 |
-  | 14    | Bill Due Date                 | DUEDATE    | CHAR |    10 |
-  | 15    | Previous Balance              | BALFWD     | NUM* |     9 |
-  | 16    | Pmt/CR Applied                | CREDAPPLY  | NUM* |     9 |
-  | 17    | Total Current Charges         | CURRENTCHG | NUM* |     9 |
-  | 18    | Total Amt Due                 | TOTALDUE   | NUM* |     9 |
-  | 19    | Total Amt Due                 | AMTDUE     | NUM* |     9 |
-  | 20    | 30 Day Aging                  | AMT30      | NUM* |     9 |
-  | 21    | 60 Day Aging                  | AMT60      | NUM* |     9 |
-  | 22    | 90 Day Aging                  | AMT90      | NUM* |     9 |
-  | 23    | Y/N                           | AGESWITCH  | CHAR |     1 |
-  | 24    | Remittance automation         | SCANLINE   | CHAR |   100 |
-  | 25    | Total Taxes & Fees            | TAXTOT     | NUM* |     9 |
-  | 26    | Customer Reference Number     | CUSTREF    | CHAR |    15 |
-  | 27    | Federal Tax***                | FEDTAX     | NUM* |     9 |
-  | 28    | State Tax***                  | STATETAX   | NUM* |     9 |
-  | 29    | Other Taxes & Fees***         | OTHERTAX   | NUM* |     9 |
-  +-------+-------------------------------+------------+------+-------+
-
-If I<format> is "billco", the fields of the detail CSV file are as follows:
-
-                                  FORMAT FOR DETAIL FILE
-        |                            |           |      |
-  Field | Description                | Name      | Type | Width
-  1     | N/A-Leave Empty            | RC        | CHAR |     2
-  2     | N/A-Leave Empty            | CUSTID    | CHAR |    15
-  3     | Account Number             | TRACCTNUM | CHAR |    15
-  4     | Invoice Number             | TRINVOICE | CHAR |    15
-  5     | Line Sequence (sort order) | LINESEQ   | NUM  |     6
-  6     | Transaction Detail         | DETAILS   | CHAR |   100
-  7     | Amount                     | AMT       | NUM* |     9
-  8     | Line Format Control**      | LNCTRL    | CHAR |     2
-  9     | Grouping Code              | GROUP     | CHAR |     2
-  10    | User Defined               | ACCT CODE | CHAR |    15
-
-=cut
-
-sub print_csv {
-  my($self, %opt) = @_;
-  
-  eval "use Text::CSV_XS";
-  die $@ if $@;
-
-  my $cust_main = $self->cust_main;
-
-  my $csv = Text::CSV_XS->new({'always_quote'=>1});
-
-  if ( lc($opt{'format'}) eq 'billco' ) {
-
-    my $taxtotal = 0;
-    $taxtotal += $_->{'amount'} foreach $self->_items_tax;
-
-    my $duedate = '';
-    if (    $conf->exists('invoice_default_terms') 
-         && $conf->config('invoice_default_terms')=~ /^\s*Net\s*(\d+)\s*$/ ) {
-      $duedate = time2str("%m/%d/%Y", $self->_date + ($1*86400) );
-    }
-
-    my( $previous_balance, @unused ) = $self->previous; #previous balance
-
-    my $pmt_cr_applied = 0;
-    $pmt_cr_applied += $_->{'amount'}
-      foreach ( $self->_items_payments, $self->_items_credits ) ;
-
-    my $totaldue = sprintf('%.2f', $self->owed + $previous_balance);
-
-    $csv->combine(
-      '',                         #  1 | N/A-Leave Empty               CHAR   2
-      '',                         #  2 | N/A-Leave Empty               CHAR  15
-      $opt{'tracctnum'},          #  3 | Transaction Account No        CHAR  15
-      $self->invnum,              #  4 | Transaction Invoice No        CHAR  15
-      $cust_main->zip,            #  5 | Transaction Zip Code          CHAR   5
-      $cust_main->company,        #  6 | Transaction Company Bill To   CHAR  30
-      #$cust_main->payname,        #  7 | Transaction Contact Bill To   CHAR  30
-      $cust_main->contact,        #  7 | Transaction Contact Bill To   CHAR  30
-      $cust_main->address2,       #  8 | Additional Address Unit Info  CHAR  30
-      $cust_main->address1,       #  9 | Bill To Street Address        CHAR  30
-      '',                         # 10 | Ancillary Billing Information CHAR  30
-      $cust_main->city,           # 11 | Transaction City Bill To      CHAR  20
-      $cust_main->state,          # 12 | Transaction State Bill To     CHAR   2
-
-      # XXX ?
-      time2str("%m/%d/%Y", $self->_date), # 13 | Bill Cycle Close Date CHAR  10
-
-      # XXX ?
-      $duedate,                   # 14 | Bill Due Date                 CHAR  10
-
-      $previous_balance,          # 15 | Previous Balance              NUM*   9
-      $pmt_cr_applied,            # 16 | Pmt/CR Applied                NUM*   9
-      sprintf("%.2f", $self->charged), # 17 | Total Current Charges    NUM*   9
-      $totaldue,                  # 18 | Total Amt Due                 NUM*   9
-      $totaldue,                  # 19 | Total Amt Due                 NUM*   9
-      '',                         # 20 | 30 Day Aging                  NUM*   9
-      '',                         # 21 | 60 Day Aging                  NUM*   9
-      '',                         # 22 | 90 Day Aging                  NUM*   9
-      'N',                        # 23 | Y/N                           CHAR   1
-      '',                         # 24 | Remittance automation         CHAR 100
-      $taxtotal,                  # 25 | Total Taxes & Fees            NUM*   9
-      $self->custnum,             # 26 | Customer Reference Number     CHAR  15
-      '0',                        # 27 | Federal Tax***                NUM*   9
-      sprintf("%.2f", $taxtotal), # 28 | State Tax***                  NUM*   9
-      '0',                        # 29 | Other Taxes & Fees***         NUM*   9
-    );
-
-  } else {
-  
-    $csv->combine(
-      'cust_bill',
-      $self->invnum,
-      $self->custnum,
-      time2str("%x", $self->_date),
-      sprintf("%.2f", $self->charged),
-      ( map { $cust_main->getfield($_) }
-          qw( first last company address1 address2 city state zip country ) ),
-      map { '' } (1..5),
-    ) or die "can't create csv";
-  }
-
-  my $header = $csv->string. "\n";
-
-  my $detail = '';
-  if ( lc($opt{'format'}) eq 'billco' ) {
-
-    my $lineseq = 0;
-    foreach my $item ( $self->_items_pkg ) {
-
-      $csv->combine(
-        '',                     #  1 | N/A-Leave Empty            CHAR   2
-        '',                     #  2 | N/A-Leave Empty            CHAR  15
-        $opt{'tracctnum'},      #  3 | Account Number             CHAR  15
-        $self->invnum,          #  4 | Invoice Number             CHAR  15
-        $lineseq++,             #  5 | Line Sequence (sort order) NUM    6
-        $item->{'description'}, #  6 | Transaction Detail         CHAR 100
-        $item->{'amount'},      #  7 | Amount                     NUM*   9
-        '',                     #  8 | Line Format Control**      CHAR   2
-        '',                     #  9 | Grouping Code              CHAR   2
-        '',                     # 10 | User Defined               CHAR  15
-      );
-
-      $detail .= $csv->string. "\n";
-
-    }
-
-  } else {
-
-    foreach my $cust_bill_pkg ( $self->cust_bill_pkg ) {
-
-      my($pkg, $setup, $recur, $sdate, $edate);
-      if ( $cust_bill_pkg->pkgnum ) {
-      
-        ($pkg, $setup, $recur, $sdate, $edate) = (
-          $cust_bill_pkg->cust_pkg->part_pkg->pkg,
-          ( $cust_bill_pkg->setup != 0
-            ? sprintf("%.2f", $cust_bill_pkg->setup )
-            : '' ),
-          ( $cust_bill_pkg->recur != 0
-            ? sprintf("%.2f", $cust_bill_pkg->recur )
-            : '' ),
-          ( $cust_bill_pkg->sdate 
-            ? time2str("%x", $cust_bill_pkg->sdate)
-            : '' ),
-          ($cust_bill_pkg->edate 
-            ?time2str("%x", $cust_bill_pkg->edate)
-            : '' ),
-        );
-  
-      } else { #pkgnum tax
-        next unless $cust_bill_pkg->setup != 0;
-        my $itemdesc = defined $cust_bill_pkg->dbdef_table->column('itemdesc')
-                         ? ( $cust_bill_pkg->itemdesc || 'Tax' )
-                         : 'Tax';
-        ($pkg, $setup, $recur, $sdate, $edate) =
-          ( $itemdesc, sprintf("%10.2f",$cust_bill_pkg->setup), '', '', '' );
-      }
-  
-      $csv->combine(
-        'cust_bill_pkg',
-        $self->invnum,
-        ( map { '' } (1..11) ),
-        ($pkg, $setup, $recur, $sdate, $edate)
-      ) or die "can't create csv";
-
-      $detail .= $csv->string. "\n";
-
-    }
-
-  }
-
-  ( $header, $detail );
-
-}
-
-=item comp
-
-Pays this invoice with a compliemntary payment.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub comp {
-  my $self = shift;
-  my $cust_pay = new FS::cust_pay ( {
-    'invnum'   => $self->invnum,
-    'paid'     => $self->owed,
-    '_date'    => '',
-    'payby'    => 'COMP',
-    'payinfo'  => $self->cust_main->payinfo,
-    'paybatch' => '',
-  } );
-  $cust_pay->insert;
-}
-
-=item realtime_card
-
-Attempts to pay this invoice with a credit card payment via a
-Business::OnlinePayment realtime gateway.  See
-http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment
-for supported processors.
-
-=cut
-
-sub realtime_card {
-  my $self = shift;
-  $self->realtime_bop( 'CC', @_ );
-}
-
-=item realtime_ach
-
-Attempts to pay this invoice with an electronic check (ACH) payment via a
-Business::OnlinePayment realtime gateway.  See
-http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment
-for supported processors.
-
-=cut
-
-sub realtime_ach {
-  my $self = shift;
-  $self->realtime_bop( 'ECHECK', @_ );
-}
-
-=item realtime_lec
-
-Attempts to pay this invoice with phone bill (LEC) payment via a
-Business::OnlinePayment realtime gateway.  See
-http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment
-for supported processors.
-
-=cut
-
-sub realtime_lec {
-  my $self = shift;
-  $self->realtime_bop( 'LEC', @_ );
-}
-
-sub realtime_bop {
-  my( $self, $method ) = @_;
-
-  my $cust_main = $self->cust_main;
-  my $balance = $cust_main->balance;
-  my $amount = ( $balance < $self->owed ) ? $balance : $self->owed;
-  $amount = sprintf("%.2f", $amount);
-  return "not run (balance $balance)" unless $amount > 0;
-
-  my $description = 'Internet Services';
-  if ( $conf->exists('business-onlinepayment-description') ) {
-    my $dtempl = $conf->config('business-onlinepayment-description');
-
-    my $agent_obj = $cust_main->agent
-      or die "can't retreive agent for $cust_main (agentnum ".
-             $cust_main->agentnum. ")";
-    my $agent = $agent_obj->agent;
-    my $pkgs = join(', ',
-      map { $_->cust_pkg->part_pkg->pkg }
-        grep { $_->pkgnum } $self->cust_bill_pkg
-    );
-    $description = eval qq("$dtempl");
-  }
-
-  $cust_main->realtime_bop($method, $amount,
-    'description' => $description,
-    'invnum'      => $self->invnum,
-  );
-
-}
-
-=item batch_card
-
-Adds a payment for this invoice to the pending credit card batch (see
-L<FS::cust_pay_batch>).
-
-=cut
-
-sub batch_card {
-  my $self = shift;
-  my $cust_main = $self->cust_main;
-
-  my $cust_pay_batch = new FS::cust_pay_batch ( {
-    'invnum'   => $self->getfield('invnum'),
-    'custnum'  => $cust_main->getfield('custnum'),
-    'last'     => $cust_main->getfield('last'),
-    'first'    => $cust_main->getfield('first'),
-    'address1' => $cust_main->getfield('address1'),
-    'address2' => $cust_main->getfield('address2'),
-    'city'     => $cust_main->getfield('city'),
-    'state'    => $cust_main->getfield('state'),
-    'zip'      => $cust_main->getfield('zip'),
-    'country'  => $cust_main->getfield('country'),
-    'cardnum'  => $cust_main->payinfo,
-    'exp'      => $cust_main->getfield('paydate'),
-    'payname'  => $cust_main->getfield('payname'),
-    'amount'   => $self->owed,
-  } );
-  my $error = $cust_pay_batch->insert;
-  die $error if $error;
-
-  '';
-}
-
-sub _agent_template {
-  my $self = shift;
-  $self->_agent_plandata('agent_templatename');
-}
-
-sub _agent_invoice_from {
-  my $self = shift;
-  $self->_agent_plandata('agent_invoice_from');
-}
-
-sub _agent_plandata {
-  my( $self, $option ) = @_;
-
-  my $part_bill_event = qsearchs( 'part_bill_event',
-    {
-      'payby'     => $self->cust_main->payby,
-      'plan'      => 'send_agent',
-      'plandata'  => { 'op'    => '~',
-                       'value' => "(^|\n)agentnum ".
-                                   '([0-9]*, )*'.
-                                  $self->cust_main->agentnum.
-                                   '(, [0-9]*)*'.
-                                  "(\n|\$)",
-                     },
-    },
-    '',
-    'ORDER BY seconds LIMIT 1'
-  );
-
-  return '' unless $part_bill_event;
-
-  if ( $part_bill_event->plandata =~ /^$option (.*)$/m ) {
-    return $1;
-  } else {
-    warn "can't parse part_bill_event eventpart#". $part_bill_event->eventpart.
-         " plandata for $option";
-    return '';
-  }
-
-}
-
-=item print_text [ TIME [ , TEMPLATE ] ]
-
-Returns an text invoice, as a list of lines.
-
-TIME an optional value used to control the printing of overdue messages.  The
-default is now.  It isn't the date of the invoice; that's the `_date' field.
-It is specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=cut
-
-#still some false laziness w/_items stuff (and send_csv)
-sub print_text {
-
-  my( $self, $today, $template ) = @_;
-  $today ||= time;
-
-#  my $invnum = $self->invnum;
-  my $cust_main = $self->cust_main;
-  $cust_main->payname( $cust_main->first. ' '. $cust_main->getfield('last') )
-    unless $cust_main->payname && $cust_main->payby !~ /^(CHEK|DCHK)$/;
-
-  my( $pr_total, @pr_cust_bill ) = $self->previous; #previous balance
-#  my( $cr_total, @cr_cust_credit ) = $self->cust_credit; #credits
-  #my $balance_due = $self->owed + $pr_total - $cr_total;
-  my $balance_due = $self->owed + $pr_total;
-
-  #my @collect = ();
-  #my($description,$amount);
-  @buf = ();
-
-  #previous balance
-  foreach ( @pr_cust_bill ) {
-    push @buf, [
-      "Previous Balance, Invoice #". $_->invnum. 
-                 " (". time2str("%x",$_->_date). ")",
-      $money_char. sprintf("%10.2f",$_->owed)
-    ];
-  }
-  if (@pr_cust_bill) {
-    push @buf,['','-----------'];
-    push @buf,[ 'Total Previous Balance',
-                $money_char. sprintf("%10.2f",$pr_total ) ];
-    push @buf,['',''];
-  }
-
-  #new charges
-  foreach my $cust_bill_pkg (
-    ( grep {   $_->pkgnum } $self->cust_bill_pkg ),  #packages first
-    ( grep { ! $_->pkgnum } $self->cust_bill_pkg ),  #then taxes
-  ) {
-
-    my $desc = $cust_bill_pkg->desc;
-
-    if ( $cust_bill_pkg->pkgnum > 0 ) {
-
-      if ( $cust_bill_pkg->setup != 0 ) {
-        my $description = $desc;
-        $description .= ' Setup' if $cust_bill_pkg->recur != 0;
-        push @buf, [ $description,
-                     $money_char. sprintf("%10.2f", $cust_bill_pkg->setup) ];
-        push @buf,
-          map { [ "  ". $_->[0]. ": ". $_->[1], '' ] }
-              $cust_bill_pkg->cust_pkg->h_labels($self->_date);
-      }
-
-      if ( $cust_bill_pkg->recur != 0 ) {
-        push @buf, [
-          "$desc (" . time2str("%x", $cust_bill_pkg->sdate) . " - " .
-                      time2str("%x", $cust_bill_pkg->edate) . ")",
-          $money_char. sprintf("%10.2f", $cust_bill_pkg->recur)
-        ];
-        push @buf,
-          map { [ "  ". $_->[0]. ": ". $_->[1], '' ] }
-              $cust_bill_pkg->cust_pkg->h_labels( $cust_bill_pkg->edate,
-                                                  $cust_bill_pkg->sdate );
-      }
-
-      push @buf, map { [ "  $_", '' ] } $cust_bill_pkg->details;
-
-    } else { #pkgnum tax or one-shot line item
-
-      if ( $cust_bill_pkg->setup != 0 ) {
-        push @buf, [ $desc,
-                     $money_char. sprintf("%10.2f", $cust_bill_pkg->setup) ];
-      }
-      if ( $cust_bill_pkg->recur != 0 ) {
-        push @buf, [ "$desc (". time2str("%x", $cust_bill_pkg->sdate). " - "
-                              . time2str("%x", $cust_bill_pkg->edate). ")",
-                     $money_char. sprintf("%10.2f", $cust_bill_pkg->recur)
-                   ];
-      }
-
-    }
-
-  }
-
-  push @buf,['','-----------'];
-  push @buf,['Total New Charges',
-             $money_char. sprintf("%10.2f",$self->charged) ];
-  push @buf,['',''];
-
-  push @buf,['','-----------'];
-  push @buf,['Total Charges',
-             $money_char. sprintf("%10.2f",$self->charged + $pr_total) ];
-  push @buf,['',''];
-
-  #credits
-  foreach ( $self->cust_credited ) {
-
-    #something more elaborate if $_->amount ne $_->cust_credit->credited ?
-
-    my $reason = substr($_->cust_credit->reason,0,32);
-    $reason .= '...' if length($reason) < length($_->cust_credit->reason);
-    $reason = " ($reason) " if $reason;
-    push @buf,[
-      "Credit #". $_->crednum. " (". time2str("%x",$_->cust_credit->_date) .")".
-        $reason,
-      $money_char. sprintf("%10.2f",$_->amount)
-    ];
-  }
-  #foreach ( @cr_cust_credit ) {
-  #  push @buf,[
-  #    "Credit #". $_->crednum. " (" . time2str("%x",$_->_date) .")",
-  #    $money_char. sprintf("%10.2f",$_->credited)
-  #  ];
-  #}
-
-  #get & print payments
-  foreach ( $self->cust_bill_pay ) {
-
-    #something more elaborate if $_->amount ne ->cust_pay->paid ?
-
-    push @buf,[
-      "Payment received ". time2str("%x",$_->cust_pay->_date ),
-      $money_char. sprintf("%10.2f",$_->amount )
-    ];
-  }
-
-  #balance due
-  my $balance_due_msg = $self->balance_due_msg;
-
-  push @buf,['','-----------'];
-  push @buf,[$balance_due_msg, $money_char. 
-    sprintf("%10.2f", $balance_due ) ];
-
-  #create the template
-  $template ||= $self->_agent_template;
-  my $templatefile = 'invoice_template';
-  $templatefile .= "_$template" if length($template);
-  my @invoice_template = $conf->config($templatefile)
-    or die "cannot load config file $templatefile";
-  $invoice_lines = 0;
-  my $wasfunc = 0;
-  foreach ( grep /invoice_lines\(\d*\)/, @invoice_template ) { #kludgy
-    /invoice_lines\((\d*)\)/;
-    $invoice_lines += $1 || scalar(@buf);
-    $wasfunc=1;
-  }
-  die "no invoice_lines() functions in template?" unless $wasfunc;
-  my $invoice_template = new Text::Template (
-    TYPE   => 'ARRAY',
-    SOURCE => [ map "$_\n", @invoice_template ],
-  ) or die "can't create new Text::Template object: $Text::Template::ERROR";
-  $invoice_template->compile()
-    or die "can't compile template: $Text::Template::ERROR";
-
-  #setup template variables
-  package FS::cust_bill::_template; #!
-  use vars qw( $invnum $date $page $total_pages @address $overdue @buf $agent );
-
-  $invnum = $self->invnum;
-  $date = $self->_date;
-  $page = 1;
-  $agent = $self->cust_main->agent->agent;
-
-  if ( $FS::cust_bill::invoice_lines ) {
-    $total_pages =
-      int( scalar(@FS::cust_bill::buf) / $FS::cust_bill::invoice_lines );
-    $total_pages++
-      if scalar(@FS::cust_bill::buf) % $FS::cust_bill::invoice_lines;
-  } else {
-    $total_pages = 1;
-  }
-
-  #format address (variable for the template)
-  my $l = 0;
-  @address = ( '', '', '', '', '', '' );
-  package FS::cust_bill; #!
-  $FS::cust_bill::_template::address[$l++] =
-    $cust_main->payname.
-      ( ( $cust_main->payby eq 'BILL' ) && $cust_main->payinfo
-        ? " (P.O. #". $cust_main->payinfo. ")"
-        : ''
-      )
-  ;
-  $FS::cust_bill::_template::address[$l++] = $cust_main->company
-    if $cust_main->company;
-  $FS::cust_bill::_template::address[$l++] = $cust_main->address1;
-  $FS::cust_bill::_template::address[$l++] = $cust_main->address2
-    if $cust_main->address2;
-  $FS::cust_bill::_template::address[$l++] =
-    $cust_main->city. ", ". $cust_main->state. "  ".  $cust_main->zip;
-
-  my $countrydefault = $conf->config('countrydefault') || 'US';
-  $FS::cust_bill::_template::address[$l++] = code2country($cust_main->country)
-    unless $cust_main->country eq $countrydefault;
-
-       #  #overdue? (variable for the template)
-       #  $FS::cust_bill::_template::overdue = ( 
-       #    $balance_due > 0
-       #    && $today > $self->_date 
-       ##    && $self->printed > 1
-       #    && $self->printed > 0
-       #  );
-
-  #and subroutine for the template
-  sub FS::cust_bill::_template::invoice_lines {
-    my $lines = shift || scalar(@buf);
-    map { 
-      scalar(@buf) ? shift @buf : [ '', '' ];
-    }
-    ( 1 .. $lines );
-  }
-
-  #and fill it in
-  $FS::cust_bill::_template::page = 1;
-  my $lines;
-  my @collect;
-  while (@buf) {
-    push @collect, split("\n",
-      $invoice_template->fill_in( PACKAGE => 'FS::cust_bill::_template' )
-    );
-    $FS::cust_bill::_template::page++;
-  }
-
-  map "$_\n", @collect;
-
-}
-
-=item print_latex [ TIME [ , TEMPLATE ] ]
-
-Internal method - returns a filename of a filled-in LaTeX template for this
-invoice (Note: add ".tex" to get the actual filename).
-
-See print_ps and print_pdf for methods that return PostScript and PDF output.
-
-TIME an optional value used to control the printing of overdue messages.  The
-default is now.  It isn't the date of the invoice; that's the `_date' field.
-It is specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=cut
-
-#still some false laziness w/print_text and print_html (and send_csv) (mostly print_text should use _items stuff though)
-sub print_latex {
-
-  my( $self, $today, $template ) = @_;
-  $today ||= time;
-  warn "FS::cust_bill::print_latex called on $self with suffix $template\n"
-    if $DEBUG;
-
-  my $cust_main = $self->cust_main;
-  $cust_main->payname( $cust_main->first. ' '. $cust_main->getfield('last') )
-    unless $cust_main->payname && $cust_main->payby !~ /^(CHEK|DCHK)$/;
-
-  my( $pr_total, @pr_cust_bill ) = $self->previous; #previous balance
-#  my( $cr_total, @cr_cust_credit ) = $self->cust_credit; #credits
-  #my $balance_due = $self->owed + $pr_total - $cr_total;
-  my $balance_due = $self->owed + $pr_total;
-
-  #create the template
-  $template ||= $self->_agent_template;
-  my $templatefile = 'invoice_latex';
-  my $suffix = length($template) ? "_$template" : '';
-  $templatefile .= $suffix;
-  my @invoice_template = map "$_\n", $conf->config($templatefile)
-    or die "cannot load config file $templatefile";
-
-  my($format, $text_template);
-  if ( grep { /^%%Detail/ } @invoice_template ) {
-    #change this to a die when the old code is removed
-    warn "old-style invoice template $templatefile; ".
-         "patch with conf/invoice_latex.diff or use new conf/invoice_latex*\n";
-    $format = 'old';
-  } else {
-    $format = 'Text::Template';
-    $text_template = new Text::Template(
-      TYPE => 'ARRAY',
-      SOURCE => \@invoice_template,
-      DELIMITERS => [ '[@--', '--@]' ],
-    );
-
-    $text_template->compile()
-      or die 'While compiling ' . $templatefile . ': ' . $Text::Template::ERROR;
-  }
-
-  my $returnaddress;
-  if ( length($conf->config_orbase('invoice_latexreturnaddress', $template)) ) {
-    $returnaddress = join("\n",
-      $conf->config_orbase('invoice_latexreturnaddress', $template)
-    );
-  } else {
-    $returnaddress = '~';
-  }
-
-  my %invoice_data = (
-    'invnum'       => $self->invnum,
-    'date'         => time2str('%b %o, %Y', $self->_date),
-    'today'        => time2str('%b %o, %Y', $today),
-    'agent'        => _latex_escape($cust_main->agent->agent),
-    'payname'      => _latex_escape($cust_main->payname),
-    'company'      => _latex_escape($cust_main->company),
-    'address1'     => _latex_escape($cust_main->address1),
-    'address2'     => _latex_escape($cust_main->address2),
-    'city'         => _latex_escape($cust_main->city),
-    'state'        => _latex_escape($cust_main->state),
-    'zip'          => _latex_escape($cust_main->zip),
-    'footer'       => join("\n", $conf->config_orbase('invoice_latexfooter', $template) ),
-    'smallfooter'  => join("\n", $conf->config_orbase('invoice_latexsmallfooter', $template) ),
-    'returnaddress' => $returnaddress,
-    'quantity'     => 1,
-    'terms'        => $conf->config('invoice_default_terms') || 'Payable upon receipt',
-    #'notes'        => join("\n", $conf->config('invoice_latexnotes') ),
-    'conf_dir'     => "$FS::UID::conf_dir/conf.$FS::UID::datasrc",
-  );
-
-  my $countrydefault = $conf->config('countrydefault') || 'US';
-  if ( $cust_main->country eq $countrydefault ) {
-    $invoice_data{'country'} = '';
-  } else {
-    $invoice_data{'country'} = _latex_escape(code2country($cust_main->country));
-  }
-
-  $invoice_data{'notes'} =
-    join("\n",
-#  #do variable substitutions in notes
-#      map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-        $conf->config_orbase('invoice_latexnotes', $template)
-    );
-  warn "invoice notes: ". $invoice_data{'notes'}. "\n"
-    if $DEBUG;
-
-  $invoice_data{'footer'} =~ s/\n+$//;
-  $invoice_data{'smallfooter'} =~ s/\n+$//;
-  $invoice_data{'notes'} =~ s/\n+$//;
-
-  $invoice_data{'po_line'} =
-    (  $cust_main->payby eq 'BILL' && $cust_main->payinfo )
-      ? _latex_escape("Purchase Order #". $cust_main->payinfo)
-      : '~';
-
-  my @filled_in = ();
-  if ( $format eq 'old' ) {
-  
-    my @line_item = ();
-    my @total_item = ();
-    while ( @invoice_template ) {
-      my $line = shift @invoice_template;
-  
-      if ( $line =~ /^%%Detail\s*$/ ) {
-  
-        while ( ( my $line_item_line = shift @invoice_template )
-                !~ /^%%EndDetail\s*$/                            ) {
-          push @line_item, $line_item_line;
-        }
-        foreach my $line_item ( $self->_items ) {
-        #foreach my $line_item ( $self->_items_pkg ) {
-          $invoice_data{'ref'} = $line_item->{'pkgnum'};
-          $invoice_data{'description'} =
-            _latex_escape($line_item->{'description'});
-          if ( exists $line_item->{'ext_description'} ) {
-            $invoice_data{'description'} .=
-              "\\tabularnewline\n~~".
-              join( "\\tabularnewline\n~~",
-                    map _latex_escape($_), @{$line_item->{'ext_description'}}
-                  );
-          }
-          $invoice_data{'amount'} = $line_item->{'amount'};
-          $invoice_data{'product_code'} = $line_item->{'pkgpart'} || 'N/A';
-          push @filled_in,
-            map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b } @line_item;
-        }
-  
-      } elsif ( $line =~ /^%%TotalDetails\s*$/ ) {
-  
-        while ( ( my $total_item_line = shift @invoice_template )
-                !~ /^%%EndTotalDetails\s*$/                      ) {
-          push @total_item, $total_item_line;
-        }
-  
-        my @total_fill = ();
-  
-        my $taxtotal = 0;
-        foreach my $tax ( $self->_items_tax ) {
-          $invoice_data{'total_item'} = _latex_escape($tax->{'description'});
-          $taxtotal += $tax->{'amount'};
-          $invoice_data{'total_amount'} = '\dollar '. $tax->{'amount'};
-          push @total_fill,
-            map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-                @total_item;
-        }
-
-        if ( $taxtotal ) {
-          $invoice_data{'total_item'} = 'Sub-total';
-          $invoice_data{'total_amount'} =
-            '\dollar '. sprintf('%.2f', $self->charged - $taxtotal );
-          unshift @total_fill,
-            map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-                @total_item;
-        }
-  
-        $invoice_data{'total_item'} = '\textbf{Total}';
-        $invoice_data{'total_amount'} =
-          '\textbf{\dollar '. sprintf('%.2f', $self->charged + $pr_total ). '}';
-        push @total_fill,
-          map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-              @total_item;
-  
-        #foreach my $thing ( sort { $a->_date <=> $b->_date } $self->_items_credits, $self->_items_payments
-  
-        # credits
-        foreach my $credit ( $self->_items_credits ) {
-          $invoice_data{'total_item'} = _latex_escape($credit->{'description'});
-          #$credittotal
-          $invoice_data{'total_amount'} = '-\dollar '. $credit->{'amount'};
-          push @total_fill, 
-            map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-                @total_item;
-        }
-  
-        # payments
-        foreach my $payment ( $self->_items_payments ) {
-          $invoice_data{'total_item'} = _latex_escape($payment->{'description'});
-          #$paymenttotal
-          $invoice_data{'total_amount'} = '-\dollar '. $payment->{'amount'};
-          push @total_fill, 
-            map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-                @total_item;
-        }
-  
-        $invoice_data{'total_item'} = '\textbf{'. $self->balance_due_msg. '}';
-        $invoice_data{'total_amount'} =
-          '\textbf{\dollar '. sprintf('%.2f', $self->owed + $pr_total ). '}';
-        push @total_fill,
-          map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-              @total_item;
-  
-        push @filled_in, @total_fill;
-  
-      } else {
-        #$line =~ s/\$(\w+)/$invoice_data{$1}/eg;
-        $line =~ s/\$(\w+)/exists($invoice_data{$1}) ? $invoice_data{$1} : nounder($1)/eg;
-        push @filled_in, $line;
-      }
-  
-    }
-
-    sub nounder {
-      my $var = $1;
-      $var =~ s/_/\-/g;
-      $var;
-    }
-
-  } elsif ( $format eq 'Text::Template' ) {
-
-    my @detail_items = ();
-    my @total_items = ();
-
-    $invoice_data{'detail_items'} = \@detail_items;
-    $invoice_data{'total_items'} = \@total_items;
-  
-    foreach my $line_item ( $self->_items ) {
-      my $detail = {
-        ext_description => [],
-      };
-      $detail->{'ref'} = $line_item->{'pkgnum'};
-      $detail->{'quantity'} = 1;
-      $detail->{'description'} = _latex_escape($line_item->{'description'});
-      if ( exists $line_item->{'ext_description'} ) {
-        @{$detail->{'ext_description'}} = map {
-          _latex_escape($_);
-        } @{$line_item->{'ext_description'}};
-      }
-      $detail->{'amount'} = $line_item->{'amount'};
-      $detail->{'product_code'} = $line_item->{'pkgpart'} || 'N/A';
-  
-      push @detail_items, $detail;
-    }
-  
-  
-    my $taxtotal = 0;
-    foreach my $tax ( $self->_items_tax ) {
-      my $total = {};
-      $total->{'total_item'} = _latex_escape($tax->{'description'});
-      $taxtotal += $tax->{'amount'};
-      $total->{'total_amount'} = '\dollar '. $tax->{'amount'};
-      push @total_items, $total;
-    }
-  
-    if ( $taxtotal ) {
-      my $total = {};
-      $total->{'total_item'} = 'Sub-total';
-      $total->{'total_amount'} =
-        '\dollar '. sprintf('%.2f', $self->charged - $taxtotal );
-      unshift @total_items, $total;
-    }
-  
-    {
-      my $total = {};
-      $total->{'total_item'} = '\textbf{Total}';
-      $total->{'total_amount'} =
-        '\textbf{\dollar '. sprintf('%.2f', $self->charged + $pr_total ). '}';
-      push @total_items, $total;
-    }
-  
-    #foreach my $thing ( sort { $a->_date <=> $b->_date } $self->_items_credits, $self->_items_payments
-  
-    # credits
-    foreach my $credit ( $self->_items_credits ) {
-      my $total;
-      $total->{'total_item'} = _latex_escape($credit->{'description'});
-      #$credittotal
-      $total->{'total_amount'} = '-\dollar '. $credit->{'amount'};
-      push @total_items, $total;
-    }
-  
-    # payments
-    foreach my $payment ( $self->_items_payments ) {
-      my $total = {};
-      $total->{'total_item'} = _latex_escape($payment->{'description'});
-      #$paymenttotal
-      $total->{'total_amount'} = '-\dollar '. $payment->{'amount'};
-      push @total_items, $total;
-    }
-  
-    { 
-      my $total;
-      $total->{'total_item'} = '\textbf{'. $self->balance_due_msg. '}';
-      $total->{'total_amount'} =
-        '\textbf{\dollar '. sprintf('%.2f', $self->owed + $pr_total ). '}';
-      push @total_items, $total;
-    }
-
-  } else {
-    die "guru meditation #54";
-  }
-
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  my $fh = new File::Temp( TEMPLATE => 'invoice.'. $self->invnum. '.XXXXXXXX',
-                           DIR      => $dir,
-                           SUFFIX   => '.tex',
-                           UNLINK   => 0,
-                         ) or die "can't open temp file: $!\n";
-  if ( $format eq 'old' ) {
-    print $fh join('', @filled_in );
-  } elsif ( $format eq 'Text::Template' ) {
-    $text_template->fill_in(OUTPUT => $fh, HASH => \%invoice_data);
-  } else {
-    die "guru meditation #32";
-  }
-  close $fh;
-
-  $fh->filename =~ /^(.*).tex$/ or die "unparsable filename: ". $fh->filename;
-  return $1;
-
-}
-
-=item print_ps [ TIME [ , TEMPLATE ] ]
-
-Returns an postscript invoice, as a scalar.
-
-TIME an optional value used to control the printing of overdue messages.  The
-default is now.  It isn't the date of the invoice; that's the `_date' field.
-It is specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=cut
-
-sub print_ps {
-  my $self = shift;
-
-  my $file = $self->print_latex(@_);
-
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  chdir($dir);
-
-  my $sfile = shell_quote $file;
-
-  system("pslatex $sfile.tex >/dev/null 2>&1") == 0
-    or die "pslatex $file.tex failed; see $file.log for details?\n";
-  system("pslatex $sfile.tex >/dev/null 2>&1") == 0
-    or die "pslatex $file.tex failed; see $file.log for details?\n";
-
-  system('dvips', '-q', '-t', 'letter', "$file.dvi", '-o', "$file.ps" ) == 0
-    or die "dvips failed";
-
-  open(POSTSCRIPT, "<$file.ps")
-    or die "can't open $file.ps: $! (error in LaTeX template?)\n";
-
-  unlink("$file.dvi", "$file.log", "$file.aux", "$file.ps", "$file.tex");
-
-  my $ps = '';
-  while (<POSTSCRIPT>) {
-    $ps .= $_;
-  }
-
-  close POSTSCRIPT;
-
-  return $ps;
-
-}
-
-=item print_pdf [ TIME [ , TEMPLATE ] ]
-
-Returns an PDF invoice, as a scalar.
-
-TIME an optional value used to control the printing of overdue messages.  The
-default is now.  It isn't the date of the invoice; that's the `_date' field.
-It is specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=cut
-
-sub print_pdf {
-  my $self = shift;
-
-  my $file = $self->print_latex(@_);
-
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  chdir($dir);
-
-  #system('pdflatex', "$file.tex");
-  #system('pdflatex', "$file.tex");
-  #! LaTeX Error: Unknown graphics extension: .eps.
-
-  my $sfile = shell_quote $file;
-
-  system("pslatex $sfile.tex >/dev/null 2>&1") == 0
-    or die "pslatex $file.tex failed; see $file.log for details?\n";
-  system("pslatex $sfile.tex >/dev/null 2>&1") == 0
-    or die "pslatex $file.tex failed; see $file.log for details?\n";
-
-  #system('dvipdf', "$file.dvi", "$file.pdf" );
-  system(
-    "dvips -q -t letter -f $sfile.dvi ".
-    "| gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$sfile.pdf ".
-    "     -c save pop -"
-  ) == 0
-    or die "dvips | gs failed: $!";
-
-  open(PDF, "<$file.pdf")
-    or die "can't open $file.pdf: $! (error in LaTeX template?)\n";
-
-  unlink("$file.dvi", "$file.log", "$file.aux", "$file.pdf", "$file.tex");
-
-  my $pdf = '';
-  while (<PDF>) {
-    $pdf .= $_;
-  }
-
-  close PDF;
-
-  return $pdf;
-
-}
-
-=item print_html [ TIME [ , TEMPLATE [ , CID ] ] ]
-
-Returns an HTML invoice, as a scalar.
-
-TIME an optional value used to control the printing of overdue messages.  The
-default is now.  It isn't the date of the invoice; that's the `_date' field.
-It is specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-CID is a MIME Content-ID used to create a "cid:" URL for the logo image, used
-when emailing the invoice as part of a multipart/related MIME email.
-
-=cut
-
-#some falze laziness w/print_text and print_latex (and send_csv)
-sub print_html {
-  my( $self, $today, $template, $cid ) = @_;
-  $today ||= time;
-
-  my $cust_main = $self->cust_main;
-  $cust_main->payname( $cust_main->first. ' '. $cust_main->getfield('last') )
-    unless $cust_main->payname && $cust_main->payby !~ /^(CHEK|DCHK)$/;
-
-  $template ||= $self->_agent_template;
-  my $templatefile = 'invoice_html';
-  my $suffix = length($template) ? "_$template" : '';
-  $templatefile .= $suffix;
-  my @html_template = map "$_\n", $conf->config($templatefile)
-    or die "cannot load config file $templatefile";
-
-  my $html_template = new Text::Template(
-    TYPE   => 'ARRAY',
-    SOURCE => \@html_template,
-    DELIMITERS => [ '<%=', '%>' ],
-  );
-
-  $html_template->compile()
-    or die 'While compiling ' . $templatefile . ': ' . $Text::Template::ERROR;
-
-  my %invoice_data = (
-    'invnum'       => $self->invnum,
-    'date'         => time2str('%b&nbsp;%o,&nbsp;%Y', $self->_date),
-    'today'        => time2str('%b %o, %Y', $today),
-    'agent'        => encode_entities($cust_main->agent->agent),
-    'payname'      => encode_entities($cust_main->payname),
-    'company'      => encode_entities($cust_main->company),
-    'address1'     => encode_entities($cust_main->address1),
-    'address2'     => encode_entities($cust_main->address2),
-    'city'         => encode_entities($cust_main->city),
-    'state'        => encode_entities($cust_main->state),
-    'zip'          => encode_entities($cust_main->zip),
-    'terms'        => $conf->config('invoice_default_terms')
-                      || 'Payable upon receipt',
-    'cid'          => $cid,
-    'template'     => $template,
-#    'conf_dir'     => "$FS::UID::conf_dir/conf.$FS::UID::datasrc",
-  );
-
-  if (
-         defined( $conf->config_orbase('invoice_htmlreturnaddress', $template) )
-      && length(  $conf->config_orbase('invoice_htmlreturnaddress', $template) )
-  ) {
-    $invoice_data{'returnaddress'} =
-      join("\n", $conf->config('invoice_htmlreturnaddress', $template) );
-  } else {
-    $invoice_data{'returnaddress'} =
-      join("\n", map { 
-                       s/~/&nbsp;/g;
-                       s/\\\\\*?\s*$/<BR>/;
-                       s/\\hyphenation\{[\w\s\-]+\}//;
-                       $_;
-                     }
-                     $conf->config_orbase( 'invoice_latexreturnaddress',
-                                           $template
-                                         )
-          );
-  }
-
-  my $countrydefault = $conf->config('countrydefault') || 'US';
-  if ( $cust_main->country eq $countrydefault ) {
-    $invoice_data{'country'} = '';
-  } else {
-    $invoice_data{'country'} =
-      encode_entities(code2country($cust_main->country));
-  }
-
-  if (
-         defined( $conf->config_orbase('invoice_htmlnotes', $template) )
-      && length(  $conf->config_orbase('invoice_htmlnotes', $template) )
-  ) {
-    $invoice_data{'notes'} =
-      join("\n", $conf->config_orbase('invoice_htmlnotes', $template) );
-  } else {
-    $invoice_data{'notes'} = 
-      join("\n", map { 
-                       s/%%(.*)$/<!-- $1 -->/;
-                       s/\\section\*\{\\textsc\{(.)(.*)\}\}/<p><b><font size="+1">$1<\/font>\U$2<\/b>/;
-                       s/\\begin\{enumerate\}/<ol>/;
-                       s/\\item /  <li>/;
-                       s/\\end\{enumerate\}/<\/ol>/;
-                       s/\\textbf\{(.*)\}/<b>$1<\/b>/;
-                       $_;
-                     } 
-                     $conf->config_orbase('invoice_latexnotes', $template)
-          );
-  }
-
-#  #do variable substitutions in notes
-#  $invoice_data{'notes'} =
-#    join("\n",
-#      map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b }
-#        $conf->config_orbase('invoice_latexnotes', $suffix)
-#    );
-
-  if (
-         defined( $conf->config_orbase('invoice_htmlfooter', $template) )
-      && length(  $conf->config_orbase('invoice_htmlfooter', $template) )
-  ) {
-   $invoice_data{'footer'} =
-     join("\n", $conf->config_orbase('invoice_htmlfooter', $template) );
-  } else {
-   $invoice_data{'footer'} =
-       join("\n", map { s/~/&nbsp;/g; s/\\\\\*?\s*$/<BR>/; $_; }
-                      $conf->config_orbase('invoice_latexfooter', $template)
-           );
-  }
-
-  $invoice_data{'po_line'} =
-    (  $cust_main->payby eq 'BILL' && $cust_main->payinfo )
-      ? encode_entities("Purchase Order #". $cust_main->payinfo)
-      : '';
-
-  my $money_char = $conf->config('money_char') || '$';
-
-  foreach my $line_item ( $self->_items ) {
-    my $detail = {
-      ext_description => [],
-    };
-    $detail->{'ref'} = $line_item->{'pkgnum'};
-    $detail->{'description'} = encode_entities($line_item->{'description'});
-    if ( exists $line_item->{'ext_description'} ) {
-      @{$detail->{'ext_description'}} = map {
-        encode_entities($_);
-      } @{$line_item->{'ext_description'}};
-    }
-    $detail->{'amount'} = $money_char. $line_item->{'amount'};
-    $detail->{'product_code'} = $line_item->{'pkgpart'} || 'N/A';
-
-    push @{$invoice_data{'detail_items'}}, $detail;
-  }
-
-
-  my $taxtotal = 0;
-  foreach my $tax ( $self->_items_tax ) {
-    my $total = {};
-    $total->{'total_item'} = encode_entities($tax->{'description'});
-    $taxtotal += $tax->{'amount'};
-    $total->{'total_amount'} = $money_char. $tax->{'amount'};
-    push @{$invoice_data{'total_items'}}, $total;
-  }
-
-  if ( $taxtotal ) {
-    my $total = {};
-    $total->{'total_item'} = 'Sub-total';
-    $total->{'total_amount'} =
-      $money_char. sprintf('%.2f', $self->charged - $taxtotal );
-    unshift @{$invoice_data{'total_items'}}, $total;
-  }
-
-  my( $pr_total, @pr_cust_bill ) = $self->previous; #previous balance
-  {
-    my $total = {};
-    $total->{'total_item'} = '<b>Total</b>';
-    $total->{'total_amount'} =
-      "<b>$money_char".  sprintf('%.2f', $self->charged + $pr_total ). '</b>';
-    push @{$invoice_data{'total_items'}}, $total;
-  }
-
-  #foreach my $thing ( sort { $a->_date <=> $b->_date } $self->_items_credits, $self->_items_payments
-
-  # credits
-  foreach my $credit ( $self->_items_credits ) {
-    my $total;
-    $total->{'total_item'} = encode_entities($credit->{'description'});
-    #$credittotal
-    $total->{'total_amount'} = "-$money_char". $credit->{'amount'};
-    push @{$invoice_data{'total_items'}}, $total;
-  }
-
-  # payments
-  foreach my $payment ( $self->_items_payments ) {
-    my $total = {};
-    $total->{'total_item'} = encode_entities($payment->{'description'});
-    #$paymenttotal
-    $total->{'total_amount'} = "-$money_char". $payment->{'amount'};
-    push @{$invoice_data{'total_items'}}, $total;
-  }
-
-  { 
-    my $total;
-    $total->{'total_item'} = '<b>'. $self->balance_due_msg. '</b>';
-    $total->{'total_amount'} =
-      "<b>$money_char".  sprintf('%.2f', $self->owed + $pr_total ). '</b>';
-    push @{$invoice_data{'total_items'}}, $total;
-  }
-
-  $html_template->fill_in( HASH => \%invoice_data);
-}
-
-# quick subroutine for print_latex
-#
-# There are ten characters that LaTeX treats as special characters, which
-# means that they do not simply typeset themselves: 
-#      # $ % & ~ _ ^ \ { }
-#
-# TeX ignores blanks following an escaped character; if you want a blank (as
-# in "10% of ..."), you have to "escape" the blank as well ("10\%\ of ..."). 
-
-sub _latex_escape {
-  my $value = shift;
-  $value =~ s/([#\$%&~_\^{}])( )?/"\\$1". ( ( defined($2) && length($2) ) ? "\\$2" : '' )/ge;
-  $value =~ s/([<>])/\$$1\$/g;
-  $value;
-}
-
-#utility methods for print_*
-
-sub balance_due_msg {
-  my $self = shift;
-  my $msg = 'Balance Due';
-  return $msg unless $conf->exists('invoice_default_terms');
-  if ( $conf->config('invoice_default_terms') =~ /^\s*Net\s*(\d+)\s*$/ ) {
-    $msg .= ' - Please pay by '. time2str("%x", $self->_date + ($1*86400) );
-  } elsif ( $conf->config('invoice_default_terms') ) {
-    $msg .= ' - '. $conf->config('invoice_default_terms');
-  }
-  $msg;
-}
-
-sub _items {
-  my $self = shift;
-  my @display = scalar(@_)
-                ? @_
-                : qw( _items_previous _items_pkg );
-                #: qw( _items_pkg );
-                #: qw( _items_previous _items_pkg _items_tax _items_credits _items_payments );
-  my @b = ();
-  foreach my $display ( @display ) {
-    push @b, $self->$display(@_);
-  }
-  @b;
-}
-
-sub _items_previous {
-  my $self = shift;
-  my $cust_main = $self->cust_main;
-  my( $pr_total, @pr_cust_bill ) = $self->previous; #previous balance
-  my @b = ();
-  foreach ( @pr_cust_bill ) {
-    push @b, {
-      'description' => 'Previous Balance, Invoice #'. $_->invnum. 
-                       ' ('. time2str('%x',$_->_date). ')',
-      #'pkgpart'     => 'N/A',
-      'pkgnum'      => 'N/A',
-      'amount'      => sprintf("%.2f", $_->owed),
-    };
-  }
-  @b;
-
-  #{
-  #    'description'     => 'Previous Balance',
-  #    #'pkgpart'         => 'N/A',
-  #    'pkgnum'          => 'N/A',
-  #    'amount'          => sprintf("%10.2f", $pr_total ),
-  #    'ext_description' => [ map {
-  #                                 "Invoice ". $_->invnum.
-  #                                 " (". time2str("%x",$_->_date). ") ".
-  #                                 sprintf("%10.2f", $_->owed)
-  #                         } @pr_cust_bill ],
-
-  #};
-}
-
-sub _items_pkg {
-  my $self = shift;
-  my @cust_bill_pkg = grep { $_->pkgnum } $self->cust_bill_pkg;
-  $self->_items_cust_bill_pkg(\@cust_bill_pkg, @_);
-}
-
-sub _items_tax {
-  my $self = shift;
-  my @cust_bill_pkg = grep { ! $_->pkgnum } $self->cust_bill_pkg;
-  $self->_items_cust_bill_pkg(\@cust_bill_pkg, @_);
-}
-
-sub _items_cust_bill_pkg {
-  my $self = shift;
-  my $cust_bill_pkg = shift;
-
-  my @b = ();
-  foreach my $cust_bill_pkg ( @$cust_bill_pkg ) {
-
-    my $desc = $cust_bill_pkg->desc;
-
-    if ( $cust_bill_pkg->pkgnum > 0 ) {
-
-      if ( $cust_bill_pkg->setup != 0 ) {
-        my $description = $desc;
-        $description .= ' Setup' if $cust_bill_pkg->recur != 0;
-        my @d = $cust_bill_pkg->cust_pkg->h_labels_short($self->_date);
-        push @d, $cust_bill_pkg->details if $cust_bill_pkg->recur == 0;
-        push @b, {
-          description     => $description,
-          #pkgpart         => $part_pkg->pkgpart,
-          pkgnum          => $cust_bill_pkg->pkgnum,
-          amount          => sprintf("%.2f", $cust_bill_pkg->setup),
-          ext_description => \@d,
-        };
-      }
-
-      if ( $cust_bill_pkg->recur != 0 ) {
-        push @b, {
-          description     => "$desc (" .
-                               time2str('%x', $cust_bill_pkg->sdate). ' - '.
-                               time2str('%x', $cust_bill_pkg->edate). ')',
-          #pkgpart         => $part_pkg->pkgpart,
-          pkgnum          => $cust_bill_pkg->pkgnum,
-          amount          => sprintf("%.2f", $cust_bill_pkg->recur),
-          ext_description =>
-            [ $cust_bill_pkg->cust_pkg->h_labels_short( $cust_bill_pkg->edate,
-                                                        $cust_bill_pkg->sdate),
-              $cust_bill_pkg->details,
-            ],
-        };
-      }
-
-    } else { #pkgnum tax or one-shot line item (??)
-
-      if ( $cust_bill_pkg->setup != 0 ) {
-        push @b, {
-          'description' => $desc,
-          'amount'      => sprintf("%.2f", $cust_bill_pkg->setup),
-        };
-      }
-      if ( $cust_bill_pkg->recur != 0 ) {
-        push @b, {
-          'description' => "$desc (".
-                           time2str("%x", $cust_bill_pkg->sdate). ' - '.
-                           time2str("%x", $cust_bill_pkg->edate). ')',
-          'amount'      => sprintf("%.2f", $cust_bill_pkg->recur),
-        };
-      }
-
-    }
-
-  }
-
-  @b;
-
-}
-
-sub _items_credits {
-  my $self = shift;
-
-  my @b;
-  #credits
-  foreach ( $self->cust_credited ) {
-
-    #something more elaborate if $_->amount ne $_->cust_credit->credited ?
-
-    my $reason = $_->cust_credit->reason;
-    #my $reason = substr($_->cust_credit->reason,0,32);
-    #$reason .= '...' if length($reason) < length($_->cust_credit->reason);
-    $reason = " ($reason) " if $reason;
-    push @b, {
-      #'description' => 'Credit ref\#'. $_->crednum.
-      #                 " (". time2str("%x",$_->cust_credit->_date) .")".
-      #                 $reason,
-      'description' => 'Credit applied '.
-                       time2str("%x",$_->cust_credit->_date). $reason,
-      'amount'      => sprintf("%.2f",$_->amount),
-    };
-  }
-  #foreach ( @cr_cust_credit ) {
-  #  push @buf,[
-  #    "Credit #". $_->crednum. " (" . time2str("%x",$_->_date) .")",
-  #    $money_char. sprintf("%10.2f",$_->credited)
-  #  ];
-  #}
-
-  @b;
-
-}
-
-sub _items_payments {
-  my $self = shift;
-
-  my @b;
-  #get & print payments
-  foreach ( $self->cust_bill_pay ) {
-
-    #something more elaborate if $_->amount ne ->cust_pay->paid ?
-
-    push @b, {
-      'description' => "Payment received ".
-                       time2str("%x",$_->cust_pay->_date ),
-      'amount'      => sprintf("%.2f", $_->amount )
-    };
-  }
-
-  @b;
-
-}
-
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item reprint
-
-=cut
-
-sub process_reprint {
-  process_re_X('print', @_);
-}
-
-=item reemail
-
-=cut
-
-sub process_reemail {
-  process_re_X('email', @_);
-}
-
-=item refax
-
-=cut
-
-sub process_refax {
-  process_re_X('fax', @_);
-}
-
-use Storable qw(thaw);
-use Data::Dumper;
-use MIME::Base64;
-sub process_re_X {
-  my( $method, $job ) = ( shift, shift );
-
-  my $param = thaw(decode_base64(shift));
-  warn Dumper($param) if $DEBUG;
-
-  re_X(
-    $method,
-    $job,
-    %$param,
-  );
-
-}
-
-sub re_X {
-  my($method, $job, %param ) = @_;
-#              [ 'begin', 'end', 'agentnum', 'open', 'days', 'newest_percust' ],
-
-  #some false laziness w/search/cust_bill.html
-  my $distinct = '';
-  my $orderby = 'ORDER BY cust_bill._date';
-
-  my @where;
-
-  if ( $param{'begin'} =~ /^(\d+)$/ ) {
-    push @where, "cust_bill._date >= $1";
-  }
-  if ( $param{'end'} =~ /^(\d+)$/ ) {
-    push @where, "cust_bill._date < $1";
-  }
-  if ( $param{'agentnum'} =~ /^(\d+)$/ ) {
-    push @where, "cust_main.agentnum = $1";
-  }
-
-  my $owed =
-    "charged - ( SELECT COALESCE(SUM(amount),0) FROM cust_bill_pay
-                 WHERE cust_bill_pay.invnum = cust_bill.invnum )
-             - ( SELECT COALESCE(SUM(amount),0) FROM cust_credit_bill
-                 WHERE cust_credit_bill.invnum = cust_bill.invnum )";
-
-  push @where, "0 != $owed"
-    if $param{'open'};
-
-  push @where, "cust_bill._date < ". (time-86400*$param{'days'})
-    if $param{'days'};
-
-  my $extra_sql = scalar(@where) ? 'WHERE '. join(' AND ', @where) : '';
-
-  my $addl_from = 'left join cust_main using ( custnum )';
-
-  if ( $param{'newest_percust'} ) {
-    $distinct = 'DISTINCT ON ( cust_bill.custnum )';
-    $orderby = 'ORDER BY cust_bill.custnum ASC, cust_bill._date DESC';
-    #$count_query = "SELECT COUNT(DISTINCT cust_bill.custnum), 'N/A', 'N/A'";
-  }
-     
-  my @cust_bill = qsearch( 'cust_bill',
-                           {},
-                           "$distinct cust_bill.*",
-                           $extra_sql,
-                           '',
-                           $addl_from
-                         );
-
-  my( $num, $last, $min_sec ) = (0, time, 5); #progresbar foo
-  foreach my $cust_bill ( @cust_bill ) {
-    $cust_bill->$method();
-
-    if ( $job ) { #progressbar foo
-      $num++;
-      if ( time - $min_sec > $last ) {
-        my $error = $job->update_statustext(
-          int( 100 * $num / scalar(@cust_bill) )
-        );
-        die $error if $error;
-        $last = time;
-      }
-    }
-
-  }
-
-}
-
-=back
-
-=head1 BUGS
-
-The delete method.
-
-print_text formatting (and some logic :/) is in source, but needs to be
-slurped in from a file.  Also number of lines ($=).
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_main>, L<FS::cust_bill_pay>, L<FS::cust_pay>,
-L<FS::cust_bill_pkg>, L<FS::cust_bill_credit>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_bill_event.pm b/FS/FS/cust_bill_event.pm
deleted file mode 100644 (file)
index 128e5a5..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-package FS::cust_bill_event;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main_Mixin;
-use FS::cust_bill;
-use FS::part_bill_event;
-
-@ISA = qw(FS::cust_main_Mixin FS::Record);
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::cust_bill_event - Object methods for cust_bill_event records
-
-=head1 SYNOPSIS
-
-  use FS::cust_bill_event;
-
-  $record = new FS::cust_bill_event \%hash;
-  $record = new FS::cust_bill_event { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_bill_event object represents an complete invoice event.
-FS::cust_bill_event inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item eventnum - primary key
-
-=item invnum - invoice (see L<FS::cust_bill>)
-
-=item eventpart - event definition (see L<FS::part_bill_event>)
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=item status - event status: B<done> or B<failed>
-
-=item statustext - additional status detail (i.e. error message)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new completed invoice event.  To add the compelted invoice event to
-the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'cust_bill_event'; }
-
-sub cust_linked { $_[0]->cust_main_custnum; } 
-sub cust_unlinked_msg {
-  my $self = shift;
-  "WARNING: can't find cust_main.custnum ". $self->custnum.
-  ' (cust_bill.invnum '. $self->invnum. ')';
-}
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid completed invoice event.  If
-there is an error, returns the error, otherwise returns false.  Called by the
-insert and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = $self->ut_numbern('eventnum')
-    || $self->ut_number('invnum')
-    || $self->ut_number('eventpart')
-    || $self->ut_number('_date')
-    || $self->ut_enum('status', [qw( done failed )])
-    || $self->ut_textn('statustext')
-  ;
-
-  return "Unknown invnum ". $self->invnum
-    unless qsearchs( 'cust_bill' ,{ 'invnum' => $self->invnum } );
-
-  return "Unknown eventpart ". $self->eventpart
-    unless qsearchs( 'part_bill_event' ,{ 'eventpart' => $self->eventpart } );
-
-  $self->SUPER::check;
-}
-
-=item part_bill_event
-
-Returns the invoice event definition (see L<FS::part_bill_event>) for this
-completed invoice event.
-
-=cut
-
-sub part_bill_event {
-  my $self = shift;
-  qsearchs( 'part_bill_event', { 'eventpart' => $self->eventpart } );
-}
-
-=item cust_bill
-
-Returns the invoice (see L<FS::cust_bill>) for this completed invoice event.
-
-=cut
-
-sub cust_bill {
-  my $self = shift;
-  qsearchs( 'cust_bill', { 'invnum' => $self->invnum } );
-}
-
-=item retry
-
-Changes the status of this event from B<done> to B<failed>, allowing it to be
-retried.
-
-=cut
-
-sub retry {
-  my $self = shift;
-  return '' unless $self->status eq 'done';
-  my $old = ref($self)->new( { $self->hash } );
-  $self->status('failed');
-  $self->replace($old);
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item reprint
-
-=cut
-
-sub process_reprint {
-  process_re_X('print', @_);
-}
-
-=item reemail
-
-=cut
-
-sub process_reemail {
-  process_re_X('email', @_);
-}
-
-=item refax
-
-=cut
-
-sub process_refax {
-  process_re_X('fax', @_);
-}
-
-use Storable qw(thaw);
-use Data::Dumper;
-use MIME::Base64;
-sub process_re_X {
-  my( $method, $job ) = ( shift, shift );
-
-  my $param = thaw(decode_base64(shift));
-  warn Dumper($param) if $DEBUG;
-
-  re_X(
-    $method,
-    $param->{'beginning'},
-    $param->{'ending'},
-    $param->{'failed'},
-    $job,
-  );
-
-}
-
-sub re_X {
-  my($method, $beginning, $ending, $failed, $job) = @_;
-
-  my $where = " WHERE plan LIKE 'send%'".
-              "   AND cust_bill_event._date >= $beginning".
-              "   AND cust_bill_event._date <= $ending";
-  $where .= " AND statustext != '' AND statustext IS NOT NULL"
-    if $failed;
-
-  my $from = 'LEFT JOIN part_bill_event USING ( eventpart )';
-
-  my @cust_bill_event = qsearch( 'cust_bill_event', {}, '', $where, '', $from );
-
-  my( $num, $last, $min_sec ) = (0, time, 5); #progresbar foo
-  foreach my $cust_bill_event ( @cust_bill_event ) {
-
-    $cust_bill_event->cust_bill->$method(
-      $cust_bill_event->part_bill_event->templatename
-    );
-
-    if ( $job ) { #progressbar foo
-      $num++;
-      if ( time - $min_sec > $last ) {
-        my $error = $job->update_statustext(
-          int( 100 * $num / scalar(@cust_bill_event) )
-        );
-        die $error if $error;
-        $last = time;
-      }
-    }
-
-  }
-
-  #this doesn't work, but it would be nice
-  #if ( $job ) { #progressbar foo
-  #  my $error = $job->update_statustext(
-  #    scalar(@cust_bill_event). " invoices re-${method}ed"
-  #  );
-  #  die $error if $error;
-  #}
-
-}
-
-=back
-
-=head1 BUGS
-
-Far too early in the morning.
-
-=head1 SEE ALSO
-
-L<FS::part_bill_event>, L<FS::cust_bill>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_bill_pay.pm b/FS/FS/cust_bill_pay.pm
deleted file mode 100644 (file)
index 7abbe9a..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-package FS::cust_bill_pay;
-
-use strict;
-use vars qw( @ISA $conf );
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::cust_bill;
-use FS::cust_pay;
-
-@ISA = qw( FS::Record );
-
-#ask FS::UID to run this stuff for us later
-FS::UID->install_callback( sub { 
-  $conf = new FS::Conf;
-} );
-
-=head1 NAME
-
-FS::cust_bill_pay - Object methods for cust_bill_pay records
-
-=head1 SYNOPSIS 
-
-  use FS::cust_bill_pay;
-
-  $record = new FS::cust_bill_pay \%hash;
-  $record = new FS::cust_bill_pay { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_bill_pay object represents the application of a payment to a
-specific invoice.  FS::cust_bill_pay inherits from FS::Record.  The following
-fields are currently supported:
-
-=over 4
-
-=item billpaynum - primary key (assigned automatically)
-
-=item invnum - Invoice (see L<FS::cust_bill>)
-
-=item paynum - Payment (see L<FS::cust_pay>)
-
-=item amount - Amount of the payment to apply to the specific invoice.
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=back
-
-=head1 METHODS
-
-=over 4 
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-=cut
-
-sub table { 'cust_bill_pay'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this payment application, unless the closed flag for the parent payment
-(see L<FS::cust_pay>) is set.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't delete application for closed payment"
-    if $self->cust_pay->closed =~ /^Y/i;
-  $self->SUPER::delete(@_);
-}
-
-=item replace OLD_RECORD
-
-Currently unimplemented (accounting reasons).
-
-=cut
-
-sub replace {
-   return "Can't (yet?) modify cust_bill_pay records!";
-}
-
-=item check
-
-Checks all fields to make sure this is a valid payment.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert method.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('billpaynum')
-    || $self->ut_number('invnum')
-    || $self->ut_number('paynum')
-    || $self->ut_money('amount')
-    || $self->ut_numbern('_date')
-  ;
-  return $error if $error;
-
-  return "amount must be > 0" if $self->amount <= 0;
-  
-  return "Unknown invoice"
-    unless my $cust_bill =
-      qsearchs( 'cust_bill', { 'invnum' => $self->invnum } );
-
-  return "Unknown payment"
-    unless my $cust_pay = 
-      qsearchs( 'cust_pay', { 'paynum' => $self->paynum } );
-
-  $self->_date(time) unless $self->_date;
-
-  return "Cannot apply more than remaining value of invoice"
-    unless $self->amount <= $cust_bill->owed;
-
-  return "Cannot apply more than remaining value of payment"
-    unless $self->amount <= $cust_pay->unapplied;
-
-  $self->SUPER::check;
-}
-
-=item cust_pay 
-
-Returns the payment (see L<FS::cust_pay>)
-
-=cut
-
-sub cust_pay {
-  my $self = shift;
-  qsearchs( 'cust_pay', { 'paynum' => $self->paynum } );
-}
-
-=item cust_bill 
-
-Returns the invoice (see L<FS::cust_bill>)
-
-=cut
-
-sub cust_bill {
-  my $self = shift;
-  qsearchs( 'cust_bill', { 'invnum' => $self->invnum } );
-}
-
-=back
-
-=head1 BUGS
-
-Delete and replace methods.
-
-the checks for over-applied payments could be better done like the ones in
-cust_bill_credit
-
-=head1 SEE ALSO
-
-L<FS::cust_pay>, L<FS::cust_bill>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
deleted file mode 100644 (file)
index d718b05..0000000
+++ /dev/null
@@ -1,247 +0,0 @@
-package FS::cust_bill_pkg;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs dbdef dbh );
-use FS::cust_main_Mixin;
-use FS::cust_pkg;
-use FS::cust_bill;
-use FS::cust_bill_pkg_detail;
-
-@ISA = qw( FS::cust_main_Mixin FS::Record );
-
-=head1 NAME
-
-FS::cust_bill_pkg - Object methods for cust_bill_pkg records
-
-=head1 SYNOPSIS
-
-  use FS::cust_bill_pkg;
-
-  $record = new FS::cust_bill_pkg \%hash;
-  $record = new FS::cust_bill_pkg { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_bill_pkg object represents an invoice line item.
-FS::cust_bill_pkg inherits from FS::Record.  The following fields are currently
-supported:
-
-=over 4
-
-=item billpkgnum - primary key
-
-=item invnum - invoice (see L<FS::cust_bill>)
-
-=item pkgnum - package (see L<FS::cust_pkg>) or 0 for the special virtual sales tax package, or -1 for the virtual line item (itemdesc is used for the line)
-
-=item setup - setup fee
-
-=item recur - recurring fee
-
-=item sdate - starting date of recurring fee
-
-=item edate - ending date of recurring fee
-
-=item itemdesc - Line item description (currentlty used only when pkgnum is 0 or -1)
-
-=back
-
-sdate and edate are specified as UNIX timestamps; see L<perlfunc/"time">.  Also
-see L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new line item.  To add the line item to the database, see
-L<"insert">.  Line items are normally created by calling the bill method of a
-customer object (see L<FS::cust_main>).
-
-=cut
-
-sub table { 'cust_bill_pkg'; }
-
-=item insert
-
-Adds this line item to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub insert {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  unless ( defined dbdef->table('cust_bill_pkg_detail') && $self->get('details') ) {
-    $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-    return '';
-  }
-
-  foreach my $detail ( @{$self->get('details')} ) {
-    my $cust_bill_pkg_detail = new FS::cust_bill_pkg_detail {
-      'pkgnum' => $self->pkgnum,
-      'invnum' => $self->invnum,
-      'detail' => $detail,
-    };
-    $error = $cust_bill_pkg_detail->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item delete
-
-Currently unimplemented.  I don't remove line items because there would then be
-no record the items ever existed (which is bad, no?)
-
-=cut
-
-sub delete {
-  return "Can't delete cust_bill_pkg records!";
-}
-
-=item replace OLD_RECORD
-
-Currently unimplemented.  This would be even more of an accounting nightmare
-than deleteing the items.  Just don't do it.
-
-=cut
-
-sub replace {
-  return "Can't modify cust_bill_pkg records!";
-}
-
-=item check
-
-Checks all fields to make sure this is a valid line item.  If there is an
-error, returns the error, otherwise returns false.  Called by the insert
-method.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-         $self->ut_numbern('billpkgnum')
-      || $self->ut_snumber('pkgnum')
-      || $self->ut_number('invnum')
-      || $self->ut_money('setup')
-      || $self->ut_money('recur')
-      || $self->ut_numbern('sdate')
-      || $self->ut_numbern('edate')
-      || $self->ut_textn('itemdesc')
-  ;
-  return $error if $error;
-
-  #if ( $self->pkgnum != 0 ) { #allow unchecked pkgnum 0 for tax! (add to part_pkg?)
-  if ( $self->pkgnum > 0 ) { #allow -1 for non-pkg line items and 0 for tax (add to part_pkg?)
-    return "Unknown pkgnum ". $self->pkgnum
-      unless qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } );
-  }
-
-  return "Unknown invnum"
-    unless qsearchs( 'cust_bill' ,{ 'invnum' => $self->invnum } );
-
-  $self->SUPER::check;
-}
-
-=item cust_pkg
-
-Returns the package (see L<FS::cust_pkg>) for this invoice line item.
-
-=cut
-
-sub cust_pkg {
-  my $self = shift;
-  qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } );
-}
-
-=item details
-
-Returns an array of detail information for the invoice line item.
-
-=cut
-
-sub details {
-  my $self = shift;
-  return () unless defined dbdef->table('cust_bill_pkg_detail');
-  map { $_->detail }
-    qsearch ( 'cust_bill_pkg_detail', { 'pkgnum' => $self->pkgnum,
-                                        'invnum' => $self->invnum, } );
-    #qsearch ( 'cust_bill_pkg_detail', { 'lineitemnum' => $self->lineitemnum });
-}
-
-=item desc
-
-Returns a description for this line item.  For typical line items, this is the
-I<pkg> field of the corresponding B<FS::part_pkg> object (see L<FS::part_pkg>).
-For one-shot line items and named taxes, it is the I<itemdesc> field of this
-line item, and for generic taxes, simply returns "Tax".
-
-=cut
-
-sub desc {
-  my $self = shift;
-
-  if ( $self->pkgnum > 0 ) {
-    $self->cust_pkg->part_pkg->pkg;
-  } else {
-    $self->itemdesc || 'Tax';
-  }
-}
-
-=back
-
-=head1 CLASS METHODS
-
-=over 4
-
-=item  
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_bill>, L<FS::cust_pkg>, L<FS::cust_main>, schema.html
-from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_bill_pkg_detail.pm b/FS/FS/cust_bill_pkg_detail.pm
deleted file mode 100644 (file)
index 4156816..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-package FS::cust_bill_pkg_detail;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::cust_bill_pkg_detail - Object methods for cust_bill_pkg_detail records
-
-=head1 SYNOPSIS
-
-  use FS::cust_bill_pkg_detail;
-
-  $record = new FS::cust_bill_pkg_detail \%hash;
-  $record = new FS::cust_bill_pkg_detail { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_bill_pkg_detail object represents additional detail information for
-an invoice line item (see L<FS::cust_bill_pkg>).  FS::cust_bill_pkg_detail
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item detailnum - primary key
-
-=item pkgnum -
-
-=item invnum -
-
-=item detail - detail description
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new line item detail.  To add the line item detail to the database,
-see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'cust_bill_pkg_detail'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid line item detail.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  $self->ut_numbern('detailnum')
-    || $self->ut_foreign_key('pkgnum', 'cust_pkg', 'pkgnum')
-    || $self->ut_foreign_key('invnum', 'cust_bill', 'invnum')
-    || $self->ut_text('detail')
-    || $self->SUPER::check
-    ;
-
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::cust_bill_pkg>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm
deleted file mode 100644 (file)
index 9cc92d2..0000000
+++ /dev/null
@@ -1,339 +0,0 @@
-package FS::cust_credit;
-
-use strict;
-use vars qw( @ISA $conf $unsuspendauto );
-use Date::Format;
-use FS::UID qw( dbh getotaker );
-use FS::Misc qw(send_email);
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main_Mixin;
-use FS::cust_main;
-use FS::cust_refund;
-use FS::cust_credit_bill;
-
-@ISA = qw( FS::cust_main_Mixin FS::Record );
-
-#ask FS::UID to run this stuff for us later
-$FS::UID::callback{'FS::cust_credit'} = sub { 
-
-  $conf = new FS::Conf;
-  $unsuspendauto = $conf->exists('unsuspendauto');
-
-};
-
-=head1 NAME
-
-FS::cust_credit - Object methods for cust_credit records
-
-=head1 SYNOPSIS
-
-  use FS::cust_credit;
-
-  $record = new FS::cust_credit \%hash;
-  $record = new FS::cust_credit { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_credit object represents a credit; the equivalent of a negative
-B<cust_bill> record (see L<FS::cust_bill>).  FS::cust_credit inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item crednum - primary key (assigned automatically for new credits)
-
-=item custnum - customer (see L<FS::cust_main>)
-
-=item amount - amount of the credit
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=item otaker - order taker (assigned automatically, see L<FS::UID>)
-
-=item reason - text
-
-=item closed - books closed flag, empty or `Y'
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new credit.  To add the credit to the database, see L<"insert">.
-
-=cut
-
-sub table { 'cust_credit'; }
-sub cust_linked { $_[0]->cust_main_custnum; } 
-sub cust_unlinked_msg {
-  my $self = shift;
-  "WARNING: can't find cust_main.custnum ". $self->custnum.
-  ' (cust_credit.crednum '. $self->crednum. ')';
-}
-
-=item insert
-
-Adds this credit to the database ("Posts" the credit).  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub insert {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $cust_main = qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-  my $old_balance = $cust_main->balance;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "error inserting $self: $error";
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  #false laziness w/ cust_credit::insert
-  if ( $unsuspendauto && $old_balance && $cust_main->balance <= 0 ) {
-    my @errors = $cust_main->unsuspend;
-    #return 
-    # side-fx with nested transactions?  upstack rolls back?
-    warn "WARNING:Errors unsuspending customer ". $cust_main->custnum. ": ".
-         join(' / ', @errors)
-      if @errors;
-  }
-  #eslaf
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item delete
-
-Currently unimplemented.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't delete closed credit" if $self->closed =~ /^Y/i;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $cust_credit_bill ( $self->cust_credit_bill ) {
-    my $error = $cust_credit_bill->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $error = $self->SUPER::delete(@_);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $conf->config('deletecredits') ne '' ) {
-
-    my $cust_main = qsearchs('cust_main',{ 'custnum' => $self->custnum });
-
-    my $error = send_email(
-      'from'    => $conf->config('invoice_from'), #??? well as good as any
-      'to'      => $conf->config('deletecredits'),
-      'subject' => 'FREESIDE NOTIFICATION: Credit deleted',
-      'body'    => [
-        "This is an automatic message from your Freeside installation\n",
-        "informing you that the following credit has been deleted:\n",
-        "\n",
-        'crednum: '. $self->crednum. "\n",
-        'custnum: '. $self->custnum.
-          " (". $cust_main->last. ", ". $cust_main->first. ")\n",
-        'amount: $'. sprintf("%.2f", $self->amount). "\n",
-        'date: '. time2str("%a %b %e %T %Y", $self->_date). "\n",
-        'reason: '. $self->reason. "\n",
-      ],
-    );
-
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't send credit deletion notification: $error";
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item replace OLD_RECORD
-
-Credits may not be modified; there would then be no record the credit was ever
-posted.
-
-=cut
-
-sub replace {
-  #return "Can't modify credit!"
-  my $self = shift;
-  return "Can't modify closed credit" if $self->closed =~ /^Y/i;
-  $self->SUPER::replace(@_);
-}
-
-=item check
-
-Checks all fields to make sure this is a valid credit.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('crednum')
-    || $self->ut_number('custnum')
-    || $self->ut_numbern('_date')
-    || $self->ut_money('amount')
-    || $self->ut_textn('reason')
-    || $self->ut_enum('closed', [ '', 'Y' ])
-  ;
-  return $error if $error;
-
-  return "amount must be > 0 " if $self->amount <= 0;
-
-  return "Unknown customer"
-    unless qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-
-  $self->_date(time) unless $self->_date;
-
-  $self->otaker(getotaker);
-
-  $self->SUPER::check;
-}
-
-=item cust_refund
-
-Depreciated.  See the cust_credit_refund method.
-
-#Returns all refunds (see L<FS::cust_refund>) for this credit.
-
-=cut
-
-sub cust_refund {
-  use Carp;
-  croak "FS::cust_credit->cust_pay depreciated; see ".
-        "FS::cust_credit->cust_credit_refund";
-  #my $self = shift;
-  #sort { $a->_date <=> $b->_date }
-  #  qsearch( 'cust_refund', { 'crednum' => $self->crednum } )
-  #;
-}
-
-=item cust_credit_refund
-
-Returns all refund applications (see L<FS::cust_credit_refund>) for this credit.
-
-=cut
-
-sub cust_credit_refund {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_credit_refund', { 'crednum' => $self->crednum } )
-  ;
-}
-
-=item cust_credit_bill
-
-Returns all application to invoices (see L<FS::cust_credit_bill>) for this
-credit.
-
-=cut
-
-sub cust_credit_bill {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_credit_bill', { 'crednum' => $self->crednum } )
-  ;
-}
-
-=item credited
-
-Returns the amount of this credit that is still outstanding; which is
-amount minus all refund applications (see L<FS::cust_credit_refund>) and
-applications to invoices (see L<FS::cust_credit_bill>).
-
-=cut
-
-sub credited {
-  my $self = shift;
-  my $amount = $self->amount;
-  $amount -= $_->amount foreach ( $self->cust_credit_refund );
-  $amount -= $_->amount foreach ( $self->cust_credit_bill );
-  sprintf( "%.2f", $amount );
-}
-
-=item cust_main
-
-Returns the customer (see L<FS::cust_main>) for this credit.
-
-=cut
-
-sub cust_main {
-  my $self = shift;
-  qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-}
-
-
-=back
-
-=head1 BUGS
-
-The delete method.  The replace method.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_credit_refund>, L<FS::cust_refund>,
-L<FS::cust_credit_bill> L<FS::cust_bill>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_credit_bill.pm b/FS/FS/cust_credit_bill.pm
deleted file mode 100644 (file)
index 695df6e..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-package FS::cust_credit_bill;
-
-use strict;
-use vars qw( @ISA $conf );
-use FS::UID qw( getotaker );
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main;
-#use FS::cust_refund;
-use FS::cust_credit;
-use FS::cust_bill;
-
-@ISA = qw( FS::Record );
-
-#ask FS::UID to run this stuff for us later
-FS::UID->install_callback( sub { 
-  $conf = new FS::Conf;
-} );
-
-=head1 NAME
-
-FS::cust_credit_bill - Object methods for cust_credit_bill records
-
-=head1 SYNOPSIS
-
-  use FS::cust_credit_bill;
-
-  $record = new FS::cust_credit_bill \%hash;
-  $record = new FS::cust_credit_bill { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_credit_bill object represents application of a credit (see
-L<FS::cust_credit>) to an invoice (see L<FS::cust_bill>).  FS::cust_credit_bill
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item creditbillnum - primary key
-
-=item crednum - credit being applied 
-
-=item invnum - invoice to which credit is applied (see L<FS::cust_bill>)
-
-=item amount - amount of the credit applied
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new cust_credit_bill.  To add the cust_credit_bill to the database,
-see L<"insert">.
-
-=cut
-
-sub table { 'cust_credit_bill'; }
-
-=item insert
-
-Adds this cust_credit_bill to the database ("Posts" all or part of a credit).
-If there is an error, returns the error, otherwise returns false.
-
-=item delete
-
-Currently unimplemented.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't delete application for closed credit"
-    if $self->cust_credit->closed =~ /^Y/i;
-  $self->SUPER::delete(@_);
-}
-
-=item replace OLD_RECORD
-
-Application of credits may not be modified.
-
-=cut
-
-sub replace {
-  return "Can't modify application of credit!"
-}
-
-=item check
-
-Checks all fields to make sure this is a valid credit application.  If there
-is an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('creditbillnum')
-    || $self->ut_number('crednum')
-    || $self->ut_number('invnum')
-    || $self->ut_numbern('_date')
-    || $self->ut_money('amount')
-  ;
-  return $error if $error;
-
-  return "amount must be > 0" if $self->amount <= 0;
-
-  return "Unknown credit"
-    unless my $cust_credit = 
-      qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
-
-  return "Unknown invoice"
-    unless my $cust_bill =
-      qsearchs( 'cust_bill', { 'invnum' => $self->invnum } );
-
-  $self->_date(time) unless $self->_date;
-
-  return "Cannot apply more than remaining value of credit"
-    unless $self->amount <= $cust_credit->credited;
-
-  return "Cannot apply more than remaining value of invoice"
-    unless $self->amount <= $cust_bill->owed;
-
-  $self->SUPER::check;
-}
-
-=item sub cust_credit
-
-Returns the credit (see L<FS::cust_credit>)
-
-=cut
-
-sub cust_credit {
-  my $self = shift;
-  qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
-}
-
-=item cust_bill 
-
-Returns the invoice (see L<FS::cust_bill>)
-
-=cut
-
-sub cust_bill {
-  my $self = shift;
-  qsearchs( 'cust_bill', { 'invnum' => $self->invnum } );
-}
-
-=back
-
-=head1 BUGS
-
-The delete method.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_refund>, L<FS::cust_bill>, L<FS::cust_credit>,
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_credit_refund.pm b/FS/FS/cust_credit_refund.pm
deleted file mode 100644 (file)
index 36c77aa..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-package FS::cust_credit_refund;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs dbh );
-#use FS::UID qw(getotaker);
-use FS::cust_credit;
-use FS::cust_refund;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::cust_credit_refund - Object methods for cust_bill_pay records
-
-=head1 SYNOPSIS 
-
-  use FS::cust_credit_refund;
-
-  $record = new FS::cust_credit_refund \%hash;
-  $record = new FS::cust_credit_refund { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_credit_refund represents the application of a refund to a specific
-credit.  FS::cust_credit_refund inherits from FS::Record.  The following fields
-are currently supported:
-
-=over 4
-
-=item creditrefundnum - primary key (assigned automatically)
-
-=item crednum - Credit (see L<FS::cust_credit>)
-
-=item refundnum - Refund (see L<FS::cust_refund>)
-
-=item amount - Amount of the refund to apply to the specific credit.
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=back
-
-=head1 METHODS
-
-=over 4 
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-=cut
-
-sub table { 'cust_credit_refund'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my $error = $self->SUPER::insert;
-  return $error if $error;
-
-  '';
-}
-
-=item delete
-
-Currently unimplemented (accounting reasons).
-
-=cut
-
-sub delete {
-  return "Can't (yet?) delete cust_credit_refund records!";
-}
-
-=item replace OLD_RECORD
-
-Currently unimplemented (accounting reasons).
-
-=cut
-
-sub replace {
-   return "Can't (yet?) modify cust_credit_refund records!";
-}
-
-=item check
-
-Checks all fields to make sure this is a valid refund application.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-method.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('creditrefundnum')
-    || $self->ut_number('crednum')
-    || $self->ut_number('refundnum')
-    || $self->ut_money('amount')
-    || $self->ut_numbern('_date')
-  ;
-  return $error if $error;
-
-  return "amount must be > 0" if $self->amount <= 0;
-
-  return "unknown cust_credit.crednum: ". $self->crednum
-    unless my $cust_credit =
-      qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
-
-  return "Unknown refund"
-    unless my $cust_refund =
-      qsearchs( 'cust_refund', { 'refundnum' => $self->refundnum } );
-
-  $self->_date(time) unless $self->_date;
-
-  return "Cannot apply more than remaining value of credit"
-    unless $self->amount <= $cust_credit->credited;
-
-  return "Cannot apply more than remaining value of refund"
-    unless $self->amount <= $cust_refund->unapplied;
-
-  $self->SUPER::check;
-}
-
-=item cust_refund
-
-Returns the refund (see L<FS::cust_refund>)
-
-=cut
-
-sub cust_refund {
-  my $self = shift;
-  qsearchs( 'cust_refund', { 'refundnum' => $self->refundnum } );
-}
-
-=item cust_credit
-
-Returns the credit (see L<FS::cust_credit>)
-
-=cut
-
-sub cust_credit {
-  my $self = shift;
-  qsearchs( 'cust_credit', { 'crednum' => $self->crednum } );
-}
-
-=back
-
-=head1 BUGS
-
-Delete and replace methods.
-
-the checks for over-applied refunds could be better done like the ones in
-cust_bill_credit
-
-=head1 SEE ALSO
-
-L<FS::cust_credit>, L<FS::cust_refund>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
deleted file mode 100644 (file)
index a265e41..0000000
+++ /dev/null
@@ -1,4150 +0,0 @@
-package FS::cust_main;
-
-use strict;
-use vars qw( @ISA @EXPORT_OK $DEBUG $me $conf @encrypted_fields
-             $import $skip_fuzzyfiles $ignore_expired_card );
-use vars qw( $realtime_bop_decline_quiet ); #ugh
-use Safe;
-use Carp;
-use Exporter;
-BEGIN {
-  eval "use Time::Local;";
-  die "Time::Local minimum version 1.05 required with Perl versions before 5.6"
-    if $] < 5.006 && !defined($Time::Local::VERSION);
-  #eval "use Time::Local qw(timelocal timelocal_nocheck);";
-  eval "use Time::Local qw(timelocal_nocheck);";
-}
-use Digest::MD5 qw(md5_base64);
-use Date::Format;
-#use Date::Manip;
-use String::Approx qw(amatch);
-use Business::CreditCard 0.28;
-use FS::UID qw( getotaker dbh );
-use FS::Record qw( qsearchs qsearch dbdef );
-use FS::Misc qw( send_email );
-use FS::Msgcat qw(gettext);
-use FS::cust_pkg;
-use FS::cust_svc;
-use FS::cust_bill;
-use FS::cust_bill_pkg;
-use FS::cust_pay;
-use FS::cust_pay_void;
-use FS::cust_credit;
-use FS::cust_refund;
-use FS::part_referral;
-use FS::cust_main_county;
-use FS::agent;
-use FS::cust_main_invoice;
-use FS::cust_credit_bill;
-use FS::cust_bill_pay;
-use FS::prepay_credit;
-use FS::queue;
-use FS::part_pkg;
-use FS::part_bill_event;
-use FS::cust_bill_event;
-use FS::cust_tax_exempt;
-use FS::type_pkgs;
-use FS::payment_gateway;
-use FS::agent_payment_gateway;
-use FS::banned_pay;
-
-@ISA = qw( FS::Record );
-
-@EXPORT_OK = qw( smart_search );
-
-$realtime_bop_decline_quiet = 0;
-
-# 1 is mostly method/subroutine entry and options
-# 2 traces progress of some operations
-# 3 is even more information including possibly sensitive data
-$DEBUG = 0;
-$me = '[FS::cust_main]';
-
-$import = 0;
-$skip_fuzzyfiles = 0;
-$ignore_expired_card = 0;
-
-@encrypted_fields = ('payinfo', 'paycvv');
-
-#ask FS::UID to run this stuff for us later
-#$FS::UID::callback{'FS::cust_main'} = sub { 
-install_callback FS::UID sub { 
-  $conf = new FS::Conf;
-  #yes, need it for stuff below (prolly should be cached)
-};
-
-sub _cache {
-  my $self = shift;
-  my ( $hashref, $cache ) = @_;
-  if ( exists $hashref->{'pkgnum'} ) {
-#    #@{ $self->{'_pkgnum'} } = ();
-    my $subcache = $cache->subcache( 'pkgnum', 'cust_pkg', $hashref->{custnum});
-    $self->{'_pkgnum'} = $subcache;
-    #push @{ $self->{'_pkgnum'} },
-    FS::cust_pkg->new_or_cached($hashref, $subcache) if $hashref->{pkgnum};
-  }
-}
-
-=head1 NAME
-
-FS::cust_main - Object methods for cust_main records
-
-=head1 SYNOPSIS
-
-  use FS::cust_main;
-
-  $record = new FS::cust_main \%hash;
-  $record = new FS::cust_main { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  @cust_pkg = $record->all_pkgs;
-
-  @cust_pkg = $record->ncancelled_pkgs;
-
-  @cust_pkg = $record->suspended_pkgs;
-
-  $error = $record->bill;
-  $error = $record->bill %options;
-  $error = $record->bill 'time' => $time;
-
-  $error = $record->collect;
-  $error = $record->collect %options;
-  $error = $record->collect 'invoice_time'   => $time,
-                            'batch_card'     => 'yes',
-                            'report_badcard' => 'yes',
-                          ;
-
-=head1 DESCRIPTION
-
-An FS::cust_main object represents a customer.  FS::cust_main inherits from 
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item custnum - primary key (assigned automatically for new customers)
-
-=item agentnum - agent (see L<FS::agent>)
-
-=item refnum - Advertising source (see L<FS::part_referral>)
-
-=item first - name
-
-=item last - name
-
-=item ss - social security number (optional)
-
-=item company - (optional)
-
-=item address1
-
-=item address2 - (optional)
-
-=item city
-
-=item county - (optional, see L<FS::cust_main_county>)
-
-=item state - (see L<FS::cust_main_county>)
-
-=item zip
-
-=item country - (see L<FS::cust_main_county>)
-
-=item daytime - phone (optional)
-
-=item night - phone (optional)
-
-=item fax - phone (optional)
-
-=item ship_first - name
-
-=item ship_last - name
-
-=item ship_company - (optional)
-
-=item ship_address1
-
-=item ship_address2 - (optional)
-
-=item ship_city
-
-=item ship_county - (optional, see L<FS::cust_main_county>)
-
-=item ship_state - (see L<FS::cust_main_county>)
-
-=item ship_zip
-
-=item ship_country - (see L<FS::cust_main_county>)
-
-=item ship_daytime - phone (optional)
-
-=item ship_night - phone (optional)
-
-=item ship_fax - phone (optional)
-
-=item payby 
-
-I<CARD> (credit card - automatic), I<DCRD> (credit card - on-demand), I<CHEK> (electronic check - automatic), I<DCHK> (electronic check - on-demand), I<LECB> (Phone bill billing), I<BILL> (billing), I<COMP> (free), or I<PREPAY> (special billing type: applies a credit - see L<FS::prepay_credit> and sets billing type to I<BILL>)
-
-=item payinfo 
-
-Card Number, P.O., comp issuer (4-8 lowercase alphanumerics; think username) or prepayment identifier (see L<FS::prepay_credit>)
-
-=cut 
-
-sub payinfo {
-  my($self,$payinfo) = @_;
-  if ( defined($payinfo) ) {
-    $self->paymask($payinfo);
-    $self->setfield('payinfo', $payinfo); # This is okay since we are the 'setter'
-  } else {
-    $payinfo = $self->getfield('payinfo'); # This is okay since we are the 'getter'
-    return $payinfo;
-  }
-}
-
-
-=item paycvv
-Card Verification Value, "CVV2" (also known as CVC2 or CID), the 3 or 4 digit number on the back (or front, for American Express) of the credit card
-
-=cut
-
-=item paymask - Masked payment type
-
-=over 4 
-
-=item Credit Cards
-
-Mask all but the last four characters.
-
-=item Checks
-
-Mask all but last 2 of account number and bank routing number.
-
-=item Others
-
-Do nothing, return the unmasked string.
-
-=back
-
-=cut 
-
-sub paymask {
-  my($self,$value)=@_;
-
-  # If it doesn't exist then generate it
-  my $paymask=$self->getfield('paymask');
-  if (!defined($value) && (!defined($paymask) || $paymask eq '')) {
-    $value = $self->payinfo;
-  }
-
-  if ( defined($value) && !$self->is_encrypted($value)) {
-    my $payinfo = $value;
-    my $payby = $self->payby;
-    if ($payby eq 'CARD' || $payby eq 'DCRD') { # Credit Cards (Show last four)
-      $paymask = 'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
-    } elsif ($payby eq 'CHEK' ||
-             $payby eq 'DCHK' ) { # Checks (Show last 2 @ bank)
-      my( $account, $aba ) = split('@', $payinfo );
-      $paymask = 'x'x(length($account)-2). substr($account,(length($account)-2))."@".$aba;
-    } else { # Tie up loose ends
-      $paymask = $payinfo;
-    }
-    $self->setfield('paymask', $paymask); # This is okay since we are the 'setter'
-  } elsif (defined($value) && $self->is_encrypted($value)) {
-    $paymask = 'N/A';
-  }
-  return $paymask;
-}
-
-=item paydate - expiration date, mm/yyyy, m/yyyy, mm/yy or m/yy
-
-=item paystart_month - start date month (maestro/solo cards only)
-
-=item paystart_year - start date year (maestro/solo cards only)
-
-=item payissue - issue number (maestro/solo cards only)
-
-=item payname - name on card or billing name
-
-=item payip - IP address from which payment information was received
-
-=item tax - tax exempt, empty or `Y'
-
-=item otaker - order taker (assigned automatically, see L<FS::UID>)
-
-=item comments - comments (optional)
-
-=item referral_custnum - referring customer number
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new customer.  To add the customer to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'cust_main'; }
-
-=item insert [ CUST_PKG_HASHREF [ , INVOICING_LIST_ARYREF ] [ , OPTION => VALUE ... ] ]
-
-Adds this customer to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-CUST_PKG_HASHREF: If you pass a Tie::RefHash data structure to the insert
-method containing FS::cust_pkg and FS::svc_I<tablename> objects, all records
-are inserted atomicly, or the transaction is rolled back.  Passing an empty
-hash reference is equivalent to not supplying this parameter.  There should be
-a better explanation of this, but until then, here's an example:
-
-  use Tie::RefHash;
-  tie %hash, 'Tie::RefHash'; #this part is important
-  %hash = (
-    $cust_pkg => [ $svc_acct ],
-    ...
-  );
-  $cust_main->insert( \%hash );
-
-INVOICING_LIST_ARYREF: If you pass an arrarref to the insert method, it will
-be set as the invoicing list (see L<"invoicing_list">).  Errors return as
-expected and rollback the entire transaction; it is not necessary to call 
-check_invoicing_list first.  The invoicing_list is set after the records in the
-CUST_PKG_HASHREF above are inserted, so it is now possible to set an
-invoicing_list destination to the newly-created svc_acct.  Here's an example:
-
-  $cust_main->insert( {}, [ $email, 'POST' ] );
-
-Currently available options are: I<depend_jobnum> and I<noexport>.
-
-If I<depend_jobnum> is set, all provisioning jobs will have a dependancy
-on the supplied jobnum (they will not run until the specific job completes).
-This can be used to defer provisioning until some action completes (such
-as running the customer's credit card sucessfully).
-
-The I<noexport> option is deprecated.  If I<noexport> is set true, no
-provisioning jobs (exports) are scheduled.  (You can schedule them later with
-the B<reexport> method.)
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my $cust_pkgs = @_ ? shift : {};
-  my $invoicing_list = @_ ? shift : '';
-  my %options = @_;
-  warn "$me insert called with options ".
-       join(', ', map { "$_: $options{$_}" } keys %options ). "\n"
-    if $DEBUG;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $prepay_identifier = '';
-  my( $amount, $seconds ) = ( 0, 0 );
-  my $payby = '';
-  if ( $self->payby eq 'PREPAY' ) {
-
-    $self->payby('BILL');
-    $prepay_identifier = $self->payinfo;
-    $self->payinfo('');
-
-    warn "  looking up prepaid card $prepay_identifier\n"
-      if $DEBUG > 1;
-
-    my $error = $self->get_prepay($prepay_identifier, \$amount, \$seconds);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      #return "error applying prepaid card (transaction rolled back): $error";
-      return $error;
-    }
-
-    $payby = 'PREP' if $amount;
-
-  } elsif ( $self->payby =~ /^(CASH|WEST|MCRD)$/ ) {
-
-    $payby = $1;
-    $self->payby('BILL');
-    $amount = $self->paid;
-
-  }
-
-  warn "  inserting $self\n"
-    if $DEBUG > 1;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    #return "inserting cust_main record (transaction rolled back): $error";
-    return $error;
-  }
-
-  warn "  setting invoicing list\n"
-    if $DEBUG > 1;
-
-  if ( $invoicing_list ) {
-    $error = $self->check_invoicing_list( $invoicing_list );
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "checking invoicing_list (transaction rolled back): $error";
-    }
-    $self->invoicing_list( $invoicing_list );
-  }
-
-  warn "  ordering packages\n"
-    if $DEBUG > 1;
-
-  $error = $self->order_pkgs($cust_pkgs, \$seconds, %options);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $seconds ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "No svc_acct record to apply pre-paid time";
-  }
-
-  if ( $amount ) {
-    warn "  inserting initial $payby payment of $amount\n"
-      if $DEBUG > 1;
-    $error = $self->insert_cust_pay($payby, $amount, $prepay_identifier);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "inserting payment (transaction rolled back): $error";
-    }
-  }
-
-  unless ( $import || $skip_fuzzyfiles ) {
-    warn "  queueing fuzzyfiles update\n"
-      if $DEBUG > 1;
-    $error = $self->queue_fuzzyfiles_update;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "updating fuzzy search cache: $error";
-    }
-  }
-
-  warn "  insert complete; committing transaction\n"
-    if $DEBUG > 1;
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item order_pkgs HASHREF, [ SECONDSREF, [ , OPTION => VALUE ... ] ]
-
-Like the insert method on an existing record, this method orders a package
-and included services atomicaly.  Pass a Tie::RefHash data structure to this
-method containing FS::cust_pkg and FS::svc_I<tablename> objects.  There should
-be a better explanation of this, but until then, here's an example:
-
-  use Tie::RefHash;
-  tie %hash, 'Tie::RefHash'; #this part is important
-  %hash = (
-    $cust_pkg => [ $svc_acct ],
-    ...
-  );
-  $cust_main->order_pkgs( \%hash, \'0', 'noexport'=>1 );
-
-Services can be new, in which case they are inserted, or existing unaudited
-services, in which case they are linked to the newly-created package.
-
-Currently available options are: I<depend_jobnum> and I<noexport>.
-
-If I<depend_jobnum> is set, all provisioning jobs will have a dependancy
-on the supplied jobnum (they will not run until the specific job completes).
-This can be used to defer provisioning until some action completes (such
-as running the customer's credit card sucessfully).
-
-The I<noexport> option is deprecated.  If I<noexport> is set true, no
-provisioning jobs (exports) are scheduled.  (You can schedule them later with
-the B<reexport> method for each cust_pkg object.  Using the B<reexport> method
-on the cust_main object is not recommended, as existing services will also be
-reexported.)
-
-=cut
-
-sub order_pkgs {
-  my $self = shift;
-  my $cust_pkgs = shift;
-  my $seconds = shift;
-  my %options = @_;
-  my %svc_options = ();
-  $svc_options{'depend_jobnum'} = $options{'depend_jobnum'}
-    if exists $options{'depend_jobnum'};
-  warn "$me order_pkgs called with options ".
-       join(', ', map { "$_: $options{$_}" } keys %options ). "\n"
-    if $DEBUG;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  local $FS::svc_Common::noexport_hack = 1 if $options{'noexport'};
-
-  foreach my $cust_pkg ( keys %$cust_pkgs ) {
-    $cust_pkg->custnum( $self->custnum );
-    my $error = $cust_pkg->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "inserting cust_pkg (transaction rolled back): $error";
-    }
-    foreach my $svc_something ( @{$cust_pkgs->{$cust_pkg}} ) {
-      if ( $svc_something->svcnum ) {
-        my $old_cust_svc = $svc_something->cust_svc;
-        my $new_cust_svc = new FS::cust_svc { $old_cust_svc->hash };
-        $new_cust_svc->pkgnum( $cust_pkg->pkgnum);
-        $error = $new_cust_svc->replace($old_cust_svc);
-      } else {
-        $svc_something->pkgnum( $cust_pkg->pkgnum );
-        if ( $seconds && $$seconds && $svc_something->isa('FS::svc_acct') ) {
-          $svc_something->seconds( $svc_something->seconds + $$seconds );
-          $$seconds = 0;
-        }
-        $error = $svc_something->insert(%svc_options);
-      }
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        #return "inserting svc_ (transaction rolled back): $error";
-        return $error;
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  ''; #no error
-}
-
-=item recharge_prepay IDENTIFIER | PREPAY_CREDIT_OBJ [ , AMOUNTREF, SECONDSREF ]
-
-Recharges this (existing) customer with the specified prepaid card (see
-L<FS::prepay_credit>), specified either by I<identifier> or as an
-FS::prepay_credit object.  If there is an error, returns the error, otherwise
-returns false.
-
-Optionally, two scalar references can be passed as well.  They will have their
-values filled in with the amount and number of seconds applied by this prepaid
-card.
-
-=cut
-
-sub recharge_prepay { 
-  my( $self, $prepay_credit, $amountref, $secondsref ) = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my( $amount, $seconds ) = ( 0, 0 );
-
-  my $error = $self->get_prepay($prepay_credit, \$amount, \$seconds)
-           || $self->increment_seconds($seconds)
-           || $self->insert_cust_pay_prepay( $amount,
-                                             ref($prepay_credit)
-                                               ? $prepay_credit->identifier
-                                               : $prepay_credit
-                                           );
-
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( defined($amountref)  ) { $$amountref  = $amount;  }
-  if ( defined($secondsref) ) { $$secondsref = $seconds; }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item get_prepay IDENTIFIER | PREPAY_CREDIT_OBJ , AMOUNTREF, SECONDSREF
-
-Looks up and deletes a prepaid card (see L<FS::prepay_credit>),
-specified either by I<identifier> or as an FS::prepay_credit object.
-
-References to I<amount> and I<seconds> scalars should be passed as arguments
-and will be incremented by the values of the prepaid card.
-
-If the prepaid card specifies an I<agentnum> (see L<FS::agent>), it is used to
-check or set this customer's I<agentnum>.
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-
-sub get_prepay {
-  my( $self, $prepay_credit, $amountref, $secondsref ) = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  unless ( ref($prepay_credit) ) {
-
-    my $identifier = $prepay_credit;
-
-    $prepay_credit = qsearchs(
-      'prepay_credit',
-      { 'identifier' => $prepay_credit },
-      '',
-      'FOR UPDATE'
-    );
-
-    unless ( $prepay_credit ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Invalid prepaid card: ". $identifier;
-    }
-
-  }
-
-  if ( $prepay_credit->agentnum ) {
-    if ( $self->agentnum && $self->agentnum != $prepay_credit->agentnum ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "prepaid card not valid for agent ". $self->agentnum;
-    }
-    $self->agentnum($prepay_credit->agentnum);
-  }
-
-  my $error = $prepay_credit->delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "removing prepay_credit (transaction rolled back): $error";
-  }
-
-  $$amountref  += $prepay_credit->amount;
-  $$secondsref += $prepay_credit->seconds;
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item increment_seconds SECONDS
-
-Updates this customer's single or primary account (see L<FS::svc_acct>) by
-the specified number of seconds.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub increment_seconds {
-  my( $self, $seconds ) = @_;
-  warn "$me increment_seconds called: $seconds seconds\n"
-    if $DEBUG;
-
-  my @cust_pkg = grep { $_->part_pkg->svcpart('svc_acct') }
-                      $self->ncancelled_pkgs;
-
-  if ( ! @cust_pkg ) {
-    return 'No packages with primary or single services found'.
-           ' to apply pre-paid time';
-  } elsif ( scalar(@cust_pkg) > 1 ) {
-    #maybe have a way to specify the package/account?
-    return 'Multiple packages found to apply pre-paid time';
-  }
-
-  my $cust_pkg = $cust_pkg[0];
-  warn "  found package pkgnum ". $cust_pkg->pkgnum. "\n"
-    if $DEBUG > 1;
-
-  my @cust_svc =
-    $cust_pkg->cust_svc( $cust_pkg->part_pkg->svcpart('svc_acct') );
-
-  if ( ! @cust_svc ) {
-    return 'No account found to apply pre-paid time';
-  } elsif ( scalar(@cust_svc) > 1 ) {
-    return 'Multiple accounts found to apply pre-paid time';
-  }
-  
-  my $svc_acct = $cust_svc[0]->svc_x;
-  warn "  found service svcnum ". $svc_acct->pkgnum.
-       ' ('. $svc_acct->email. ")\n"
-    if $DEBUG > 1;
-
-  $svc_acct->increment_seconds($seconds);
-
-}
-
-=item insert_cust_pay_prepay AMOUNT [ PAYINFO ]
-
-Inserts a prepayment in the specified amount for this customer.  An optional
-second argument can specify the prepayment identifier for tracking purposes.
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub insert_cust_pay_prepay {
-  shift->insert_cust_pay('PREP', @_);
-}
-
-=item insert_cust_pay_cash AMOUNT [ PAYINFO ]
-
-Inserts a cash payment in the specified amount for this customer.  An optional
-second argument can specify the payment identifier for tracking purposes.
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub insert_cust_pay_cash {
-  shift->insert_cust_pay('CASH', @_);
-}
-
-=item insert_cust_pay_west AMOUNT [ PAYINFO ]
-
-Inserts a Western Union payment in the specified amount for this customer.  An
-optional second argument can specify the prepayment identifier for tracking
-purposes.  If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub insert_cust_pay_west {
-  shift->insert_cust_pay('WEST', @_);
-}
-
-sub insert_cust_pay {
-  my( $self, $payby, $amount ) = splice(@_, 0, 3);
-  my $payinfo = scalar(@_) ? shift : '';
-
-  my $cust_pay = new FS::cust_pay {
-    'custnum' => $self->custnum,
-    'paid'    => sprintf('%.2f', $amount),
-    #'_date'   => #date the prepaid card was purchased???
-    'payby'   => $payby,
-    'payinfo' => $payinfo,
-  };
-  $cust_pay->insert;
-
-}
-
-=item reexport
-
-This method is deprecated.  See the I<depend_jobnum> option to the insert and
-order_pkgs methods for a better way to defer provisioning.
-
-Re-schedules all exports by calling the B<reexport> method of all associated
-packages (see L<FS::cust_pkg>).  If there is an error, returns the error;
-otherwise returns false.
-
-=cut
-
-sub reexport {
-  my $self = shift;
-
-  carp "WARNING: FS::cust_main::reexport is deprectated; ".
-       "use the depend_jobnum option to insert or order_pkgs to delay export";
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $cust_pkg ( $self->ncancelled_pkgs ) {
-    my $error = $cust_pkg->reexport;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item delete NEW_CUSTNUM
-
-This deletes the customer.  If there is an error, returns the error, otherwise
-returns false.
-
-This will completely remove all traces of the customer record.  This is not
-what you want when a customer cancels service; for that, cancel all of the
-customer's packages (see L</cancel>).
-
-If the customer has any uncancelled packages, you need to pass a new (valid)
-customer number for those packages to be transferred to.  Cancelled packages
-will be deleted.  Did I mention that this is NOT what you want when a customer
-cancels service and that you really should be looking see L<FS::cust_pkg/cancel>?
-
-You can't delete a customer with invoices (see L<FS::cust_bill>),
-or credits (see L<FS::cust_credit>), payments (see L<FS::cust_pay>) or
-refunds (see L<FS::cust_refund>).
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  if ( $self->cust_bill ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "Can't delete a customer with invoices";
-  }
-  if ( $self->cust_credit ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "Can't delete a customer with credits";
-  }
-  if ( $self->cust_pay ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "Can't delete a customer with payments";
-  }
-  if ( $self->cust_refund ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "Can't delete a customer with refunds";
-  }
-
-  my @cust_pkg = $self->ncancelled_pkgs;
-  if ( @cust_pkg ) {
-    my $new_custnum = shift;
-    unless ( qsearchs( 'cust_main', { 'custnum' => $new_custnum } ) ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Invalid new customer number: $new_custnum";
-    }
-    foreach my $cust_pkg ( @cust_pkg ) {
-      my %hash = $cust_pkg->hash;
-      $hash{'custnum'} = $new_custnum;
-      my $new_cust_pkg = new FS::cust_pkg ( \%hash );
-      my $error = $new_cust_pkg->replace($cust_pkg);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-  my @cancelled_cust_pkg = $self->all_pkgs;
-  foreach my $cust_pkg ( @cancelled_cust_pkg ) {
-    my $error = $cust_pkg->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  foreach my $cust_main_invoice ( #(email invoice destinations, not invoices)
-    qsearch( 'cust_main_invoice', { 'custnum' => $self->custnum } )
-  ) {
-    my $error = $cust_main_invoice->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item replace OLD_RECORD [ INVOICING_LIST_ARYREF ]
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-INVOICING_LIST_ARYREF: If you pass an arrarref to the insert method, it will
-be set as the invoicing list (see L<"invoicing_list">).  Errors return as
-expected and rollback the entire transaction; it is not necessary to call 
-check_invoicing_list first.  Here's an example:
-
-  $new_cust_main->replace( $old_cust_main, [ $email, 'POST' ] );
-
-=cut
-
-sub replace {
-  my $self = shift;
-  my $old = shift;
-  my @param = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  # If the mask is blank then try to set it - if we can...
-  if (!defined($self->getfield('paymask')) || $self->getfield('paymask') eq '') {
-    $self->paymask($self->payinfo);
-  }
-
-  # We absolutely have to have an old vs. new record to make this work.
-  if (!defined($old)) {
-    $old = qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-  }
-
-  if ( $self->payby eq 'COMP' && $self->payby ne $old->payby
-       && $conf->config('users-allow_comp')                  ) {
-    return "You are not permitted to create complimentary accounts."
-      unless grep { $_ eq getotaker } $conf->config('users-allow_comp');
-  }
-
-  local($ignore_expired_card) = 1
-    if $old->payby  =~ /^(CARD|DCRD)$/
-    && $self->payby =~ /^(CARD|DCRD)$/
-    && $old->payinfo eq $self->payinfo;
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::replace($old);
-
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( @param ) { # INVOICING_LIST_ARYREF
-    my $invoicing_list = shift @param;
-    $error = $self->check_invoicing_list( $invoicing_list );
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-    $self->invoicing_list( $invoicing_list );
-  }
-
-  if ( $self->payby =~ /^(CARD|CHEK|LECB)$/ &&
-       grep { $self->get($_) ne $old->get($_) } qw(payinfo paydate payname) ) {
-    # card/check/lec info has changed, want to retry realtime_ invoice events
-    my $error = $self->retry_realtime;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  unless ( $import || $skip_fuzzyfiles ) {
-    $error = $self->queue_fuzzyfiles_update;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "updating fuzzy search cache: $error";
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item queue_fuzzyfiles_update
-
-Used by insert & replace to update the fuzzy search cache
-
-=cut
-
-sub queue_fuzzyfiles_update {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $queue = new FS::queue { 'job' => 'FS::cust_main::append_fuzzyfiles' };
-  my $error = $queue->insert($self->getfield('last'), $self->company);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "queueing job (transaction rolled back): $error";
-  }
-
-  if ( defined $self->dbdef_table->column('ship_last') && $self->ship_last ) {
-    $queue = new FS::queue { 'job' => 'FS::cust_main::append_fuzzyfiles' };
-    $error = $queue->insert($self->getfield('ship_last'), $self->ship_company);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "queueing job (transaction rolled back): $error";
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item check
-
-Checks all fields to make sure this is a valid customer record.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  warn "$me check BEFORE: \n". $self->_dump
-    if $DEBUG > 2;
-
-  my $error =
-    $self->ut_numbern('custnum')
-    || $self->ut_number('agentnum')
-    || $self->ut_number('refnum')
-    || $self->ut_name('last')
-    || $self->ut_name('first')
-    || $self->ut_textn('company')
-    || $self->ut_text('address1')
-    || $self->ut_textn('address2')
-    || $self->ut_text('city')
-    || $self->ut_textn('county')
-    || $self->ut_textn('state')
-    || $self->ut_country('country')
-    || $self->ut_anything('comments')
-    || $self->ut_numbern('referral_custnum')
-  ;
-  #barf.  need message catalogs.  i18n.  etc.
-  $error .= "Please select an advertising source."
-    if $error =~ /^Illegal or empty \(numeric\) refnum: /;
-  return $error if $error;
-
-  return "Unknown agent"
-    unless qsearchs( 'agent', { 'agentnum' => $self->agentnum } );
-
-  return "Unknown refnum"
-    unless qsearchs( 'part_referral', { 'refnum' => $self->refnum } );
-
-  return "Unknown referring custnum: ". $self->referral_custnum
-    unless ! $self->referral_custnum 
-           || qsearchs( 'cust_main', { 'custnum' => $self->referral_custnum } );
-
-  if ( $self->ss eq '' ) {
-    $self->ss('');
-  } else {
-    my $ss = $self->ss;
-    $ss =~ s/\D//g;
-    $ss =~ /^(\d{3})(\d{2})(\d{4})$/
-      or return "Illegal social security number: ". $self->ss;
-    $self->ss("$1-$2-$3");
-  }
-
-
-# bad idea to disable, causes billing to fail because of no tax rates later
-#  unless ( $import ) {
-    unless ( qsearch('cust_main_county', {
-      'country' => $self->country,
-      'state'   => '',
-     } ) ) {
-      return "Unknown state/county/country: ".
-        $self->state. "/". $self->county. "/". $self->country
-        unless qsearch('cust_main_county',{
-          'state'   => $self->state,
-          'county'  => $self->county,
-          'country' => $self->country,
-        } );
-    }
-#  }
-
-  $error =
-    $self->ut_phonen('daytime', $self->country)
-    || $self->ut_phonen('night', $self->country)
-    || $self->ut_phonen('fax', $self->country)
-    || $self->ut_zip('zip', $self->country)
-  ;
-  return $error if $error;
-
-  my @addfields = qw(
-    last first company address1 address2 city county state zip
-    country daytime night fax
-  );
-
-  if ( defined $self->dbdef_table->column('ship_last') ) {
-    if ( scalar ( grep { $self->getfield($_) ne $self->getfield("ship_$_") }
-                       @addfields )
-         && scalar ( grep { $self->getfield("ship_$_") ne '' } @addfields )
-       )
-    {
-      my $error =
-        $self->ut_name('ship_last')
-        || $self->ut_name('ship_first')
-        || $self->ut_textn('ship_company')
-        || $self->ut_text('ship_address1')
-        || $self->ut_textn('ship_address2')
-        || $self->ut_text('ship_city')
-        || $self->ut_textn('ship_county')
-        || $self->ut_textn('ship_state')
-        || $self->ut_country('ship_country')
-      ;
-      return $error if $error;
-
-      #false laziness with above
-      unless ( qsearchs('cust_main_county', {
-        'country' => $self->ship_country,
-        'state'   => '',
-       } ) ) {
-        return "Unknown ship_state/ship_county/ship_country: ".
-          $self->ship_state. "/". $self->ship_county. "/". $self->ship_country
-          unless qsearch('cust_main_county',{
-            'state'   => $self->ship_state,
-            'county'  => $self->ship_county,
-            'country' => $self->ship_country,
-          } );
-      }
-      #eofalse
-
-      $error =
-        $self->ut_phonen('ship_daytime', $self->ship_country)
-        || $self->ut_phonen('ship_night', $self->ship_country)
-        || $self->ut_phonen('ship_fax', $self->ship_country)
-        || $self->ut_zip('ship_zip', $self->ship_country)
-      ;
-      return $error if $error;
-
-    } else { # ship_ info eq billing info, so don't store dup info in database
-      $self->setfield("ship_$_", '')
-        foreach qw( last first company address1 address2 city county state zip
-                    country daytime night fax );
-    }
-  }
-
-  $self->payby =~ /^(CARD|DCRD|CHEK|DCHK|LECB|BILL|COMP|PREPAY|CASH|WEST|MCRD)$/
-    or return "Illegal payby: ". $self->payby;
-
-  $error =    $self->ut_numbern('paystart_month')
-           || $self->ut_numbern('paystart_year')
-           || $self->ut_numbern('payissue')
-  ;
-  return $error if $error;
-
-  if ( $self->payip eq '' ) {
-    $self->payip('');
-  } else {
-    $error = $self->ut_ip('payip');
-    return $error if $error;
-  }
-
-  # If it is encrypted and the private key is not availaible then we can't
-  # check the credit card.
-
-  my $check_payinfo = 1;
-
-  if ($self->is_encrypted($self->payinfo)) {
-    $check_payinfo = 0;
-  }
-
-  $self->payby($1);
-
-  if ( $check_payinfo && $self->payby =~ /^(CARD|DCRD)$/ ) {
-
-    my $payinfo = $self->payinfo;
-    $payinfo =~ s/\D//g;
-    $payinfo =~ /^(\d{13,16})$/
-      or return gettext('invalid_card'); # . ": ". $self->payinfo;
-    $payinfo = $1;
-    $self->payinfo($payinfo);
-    validate($payinfo)
-      or return gettext('invalid_card'); # . ": ". $self->payinfo;
-
-    return gettext('unknown_card_type')
-      if cardtype($self->payinfo) eq "Unknown";
-
-    my $ban = qsearchs('banned_pay', $self->_banned_pay_hashref);
-    return "Banned credit card" if $ban;
-
-    if ( defined $self->dbdef_table->column('paycvv') ) {
-      if (length($self->paycvv) && !$self->is_encrypted($self->paycvv)) {
-        if ( cardtype($self->payinfo) eq 'American Express card' ) {
-          $self->paycvv =~ /^(\d{4})$/
-            or return "CVV2 (CID) for American Express cards is four digits.";
-          $self->paycvv($1);
-        } else {
-          $self->paycvv =~ /^(\d{3})$/
-            or return "CVV2 (CVC2/CID) is three digits.";
-          $self->paycvv($1);
-        }
-      } else {
-        $self->paycvv('');
-      }
-    }
-
-    my $cardtype = cardtype($payinfo);
-    if ( $cardtype =~ /^(Switch|Solo)$/i ) {
-
-      return "Start date or issue number is required for $cardtype cards"
-        unless $self->paystart_month && $self->paystart_year or $self->payissue;
-
-      return "Start month must be between 1 and 12"
-        if $self->paystart_month
-           and $self->paystart_month < 1 || $self->paystart_month > 12;
-
-      return "Start year must be 1990 or later"
-        if $self->paystart_year
-           and $self->paystart_year < 1990;
-
-      return "Issue number must be beween 1 and 99"
-        if $self->payissue
-          and $self->payissue < 1 || $self->payissue > 99;
-
-    } else {
-      $self->paystart_month('');
-      $self->paystart_year('');
-      $self->payissue('');
-    }
-
-  } elsif ( $check_payinfo && $self->payby =~ /^(CHEK|DCHK)$/ ) {
-
-    my $payinfo = $self->payinfo;
-    $payinfo =~ s/[^\d\@]//g;
-    $payinfo =~ /^(\d+)\@(\d{9})$/ or return 'invalid echeck account@aba';
-    $payinfo = "$1\@$2";
-    $self->payinfo($payinfo);
-    $self->paycvv('') if $self->dbdef_table->column('paycvv');
-
-    my $ban = qsearchs('banned_pay', $self->_banned_pay_hashref);
-    return "Banned ACH account" if $ban;
-
-  } elsif ( $self->payby eq 'LECB' ) {
-
-    my $payinfo = $self->payinfo;
-    $payinfo =~ s/\D//g;
-    $payinfo =~ /^1?(\d{10})$/ or return 'invalid btn billing telephone number';
-    $payinfo = $1;
-    $self->payinfo($payinfo);
-    $self->paycvv('') if $self->dbdef_table->column('paycvv');
-
-  } elsif ( $self->payby eq 'BILL' ) {
-
-    $error = $self->ut_textn('payinfo');
-    return "Illegal P.O. number: ". $self->payinfo if $error;
-    $self->paycvv('') if $self->dbdef_table->column('paycvv');
-
-  } elsif ( $self->payby eq 'COMP' ) {
-
-    if ( !$self->custnum && $conf->config('users-allow_comp') ) {
-      return "You are not permitted to create complimentary accounts."
-        unless grep { $_ eq getotaker } $conf->config('users-allow_comp');
-    }
-
-    $error = $self->ut_textn('payinfo');
-    return "Illegal comp account issuer: ". $self->payinfo if $error;
-    $self->paycvv('') if $self->dbdef_table->column('paycvv');
-
-  } elsif ( $self->payby eq 'PREPAY' ) {
-
-    my $payinfo = $self->payinfo;
-    $payinfo =~ s/\W//g; #anything else would just confuse things
-    $self->payinfo($payinfo);
-    $error = $self->ut_alpha('payinfo');
-    return "Illegal prepayment identifier: ". $self->payinfo if $error;
-    return "Unknown prepayment identifier"
-      unless qsearchs('prepay_credit', { 'identifier' => $self->payinfo } );
-    $self->paycvv('') if $self->dbdef_table->column('paycvv');
-
-  }
-
-  if ( $self->paydate eq '' || $self->paydate eq '-' ) {
-    return "Expriation date required"
-      unless $self->payby =~ /^(BILL|PREPAY|CHEK|DCHK|LECB|CASH|WEST|MCRD)$/;
-    $self->paydate('');
-  } else {
-    my( $m, $y );
-    if ( $self->paydate =~ /^(\d{1,2})[\/\-](\d{2}(\d{2})?)$/ ) {
-      ( $m, $y ) = ( $1, length($2) == 4 ? $2 : "20$2" );
-    } elsif ( $self->paydate =~ /^(20)?(\d{2})[\/\-](\d{1,2})[\/\-]\d+$/ ) {
-      ( $m, $y ) = ( $3, "20$2" );
-    } else {
-      return "Illegal expiration date: ". $self->paydate;
-    }
-    $self->paydate("$y-$m-01");
-    my($nowm,$nowy)=(localtime(time))[4,5]; $nowm++; $nowy+=1900;
-    return gettext('expired_card')
-      if !$import
-      && !$ignore_expired_card 
-      && ( $y<$nowy || ( $y==$nowy && $1<$nowm ) );
-  }
-
-  if ( $self->payname eq '' && $self->payby !~ /^(CHEK|DCHK)$/ &&
-       ( ! $conf->exists('require_cardname')
-         || $self->payby !~ /^(CARD|DCRD)$/  ) 
-  ) {
-    $self->payname( $self->first. " ". $self->getfield('last') );
-  } else {
-    $self->payname =~ /^([\w \,\.\-\'\&]+)$/
-      or return gettext('illegal_name'). " payname: ". $self->payname;
-    $self->payname($1);
-  }
-
-  $self->tax =~ /^(Y?)$/ or return "Illegal tax: ". $self->tax;
-  $self->tax($1);
-
-  $self->otaker(getotaker) unless $self->otaker;
-
-  warn "$me check AFTER: \n". $self->_dump
-    if $DEBUG > 2;
-
-  $self->SUPER::check;
-}
-
-=item all_pkgs
-
-Returns all packages (see L<FS::cust_pkg>) for this customer.
-
-=cut
-
-sub all_pkgs {
-  my $self = shift;
-  if ( $self->{'_pkgnum'} ) {
-    values %{ $self->{'_pkgnum'}->cache };
-  } else {
-    qsearch( 'cust_pkg', { 'custnum' => $self->custnum });
-  }
-}
-
-=item ncancelled_pkgs
-
-Returns all non-cancelled packages (see L<FS::cust_pkg>) for this customer.
-
-=cut
-
-sub ncancelled_pkgs {
-  my $self = shift;
-  if ( $self->{'_pkgnum'} ) {
-    grep { ! $_->getfield('cancel') } values %{ $self->{'_pkgnum'}->cache };
-  } else {
-    @{ [ # force list context
-      qsearch( 'cust_pkg', {
-        'custnum' => $self->custnum,
-        'cancel'  => '',
-      }),
-      qsearch( 'cust_pkg', {
-        'custnum' => $self->custnum,
-        'cancel'  => 0,
-      }),
-    ] };
-  }
-}
-
-=item suspended_pkgs
-
-Returns all suspended packages (see L<FS::cust_pkg>) for this customer.
-
-=cut
-
-sub suspended_pkgs {
-  my $self = shift;
-  grep { $_->susp } $self->ncancelled_pkgs;
-}
-
-=item unflagged_suspended_pkgs
-
-Returns all unflagged suspended packages (see L<FS::cust_pkg>) for this
-customer (thouse packages without the `manual_flag' set).
-
-=cut
-
-sub unflagged_suspended_pkgs {
-  my $self = shift;
-  return $self->suspended_pkgs
-    unless dbdef->table('cust_pkg')->column('manual_flag');
-  grep { ! $_->manual_flag } $self->suspended_pkgs;
-}
-
-=item unsuspended_pkgs
-
-Returns all unsuspended (and uncancelled) packages (see L<FS::cust_pkg>) for
-this customer.
-
-=cut
-
-sub unsuspended_pkgs {
-  my $self = shift;
-  grep { ! $_->susp } $self->ncancelled_pkgs;
-}
-
-=item num_cancelled_pkgs
-
-Returns the number of cancelled packages (see L<FS::cust_pkg>) for this
-customer.
-
-=cut
-
-sub num_cancelled_pkgs {
-  my $self = shift;
-  $self->num_pkgs("cancel IS NOT NULL AND cust_pkg.cancel != 0");
-}
-
-sub num_pkgs {
-  my( $self, $sql ) = @_;
-  my $sth = dbh->prepare(
-    "SELECT COUNT(*) FROM cust_pkg WHERE custnum = ? AND $sql"
-  ) or die dbh->errstr;
-  $sth->execute($self->custnum) or die $sth->errstr;
-  $sth->fetchrow_arrayref->[0];
-}
-
-=item unsuspend
-
-Unsuspends all unflagged suspended packages (see L</unflagged_suspended_pkgs>
-and L<FS::cust_pkg>) for this customer.  Always returns a list: an empty list
-on success or a list of errors.
-
-=cut
-
-sub unsuspend {
-  my $self = shift;
-  grep { $_->unsuspend } $self->suspended_pkgs;
-}
-
-=item suspend
-
-Suspends all unsuspended packages (see L<FS::cust_pkg>) for this customer.
-
-Returns a list: an empty list on success or a list of errors.
-
-=cut
-
-sub suspend {
-  my $self = shift;
-  grep { $_->suspend } $self->unsuspended_pkgs;
-}
-
-=item suspend_if_pkgpart PKGPART [ , PKGPART ... ]
-
-Suspends all unsuspended packages (see L<FS::cust_pkg>) matching the listed
-PKGPARTs (see L<FS::part_pkg>).
-
-Returns a list: an empty list on success or a list of errors.
-
-=cut
-
-sub suspend_if_pkgpart {
-  my $self = shift;
-  my @pkgparts = @_;
-  grep { $_->suspend }
-    grep { my $pkgpart = $_->pkgpart; grep { $pkgpart eq $_ } @pkgparts }
-      $self->unsuspended_pkgs;
-}
-
-=item suspend_unless_pkgpart PKGPART [ , PKGPART ... ]
-
-Suspends all unsuspended packages (see L<FS::cust_pkg>) unless they match the
-listed PKGPARTs (see L<FS::part_pkg>).
-
-Returns a list: an empty list on success or a list of errors.
-
-=cut
-
-sub suspend_unless_pkgpart {
-  my $self = shift;
-  my @pkgparts = @_;
-  grep { $_->suspend }
-    grep { my $pkgpart = $_->pkgpart; ! grep { $pkgpart eq $_ } @pkgparts }
-      $self->unsuspended_pkgs;
-}
-
-=item cancel [ OPTION => VALUE ... ]
-
-Cancels all uncancelled packages (see L<FS::cust_pkg>) for this customer.
-
-Available options are: I<quiet>, I<reasonnum>, and I<ban>
-
-I<quiet> can be set true to supress email cancellation notices.
-
-# I<reasonnum> can be set to a cancellation reason (see L<FS::cancel_reason>)
-
-I<ban> can be set true to ban this customer's credit card or ACH information,
-if present.
-
-Always returns a list: an empty list on success or a list of errors.
-
-=cut
-
-sub cancel {
-  my $self = shift;
-  my %opt = @_;
-
-  if ( $opt{'ban'} && $self->payby =~ /^(CARD|DCRD|CHEK|DCHK)$/ ) {
-
-    #should try decryption (we might have the private key)
-    # and if not maybe queue a job for the server that does?
-    return ( "Can't (yet) ban encrypted credit cards" )
-      if $self->is_encrypted($self->payinfo);
-
-    my $ban = new FS::banned_pay $self->_banned_pay_hashref;
-    my $error = $ban->insert;
-    return ( $error ) if $error;
-
-  }
-
-  grep { $_ } map { $_->cancel(@_) } $self->ncancelled_pkgs;
-}
-
-sub _banned_pay_hashref {
-  my $self = shift;
-
-  my %payby2ban = (
-    'CARD' => 'CARD',
-    'DCRD' => 'CARD',
-    'CHEK' => 'CHEK',
-    'DCHK' => 'CHEK'
-  );
-
-  {
-    'payby'   => $payby2ban{$self->payby},
-    'payinfo' => md5_base64($self->payinfo),
-    #'reason'  =>
-  };
-}
-
-=item agent
-
-Returns the agent (see L<FS::agent>) for this customer.
-
-=cut
-
-sub agent {
-  my $self = shift;
-  qsearchs( 'agent', { 'agentnum' => $self->agentnum } );
-}
-
-=item bill OPTIONS
-
-Generates invoices (see L<FS::cust_bill>) for this customer.  Usually used in
-conjunction with the collect method.
-
-Options are passed as name-value pairs.
-
-Currently available options are:
-
-resetup - if set true, re-charges setup fees.
-
-time - bills the customer as if it were that time.  Specified as a UNIX
-timestamp; see L<perlfunc/"time">).  Also see L<Time::Local> and
-L<Date::Parse> for conversion functions.  For example:
-
- use Date::Parse;
- ...
- $cust_main->bill( 'time' => str2time('April 20th, 2001') );
-
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub bill {
-  my( $self, %options ) = @_;
-  return '' if $self->payby eq 'COMP';
-  warn "$me bill customer ". $self->custnum. "\n"
-    if $DEBUG;
-
-  my $time = $options{'time'} || time;
-
-  my $error;
-
-  #put below somehow?
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $self->select_for_update; #mutex
-
-  # find the packages which are due for billing, find out how much they are
-  # & generate invoice database.
-  my( $total_setup, $total_recur ) = ( 0, 0 );
-  #my( $taxable_setup, $taxable_recur ) = ( 0, 0 );
-  my @cust_bill_pkg = ();
-  #my $tax = 0;##
-  #my $taxable_charged = 0;##
-  #my $charged = 0;##
-
-  my %tax;
-
-  foreach my $cust_pkg (
-    qsearch('cust_pkg', { 'custnum' => $self->custnum } )
-  ) {
-
-    #NO!! next if $cust_pkg->cancel;  
-    next if $cust_pkg->getfield('cancel');  
-
-    warn "  bill package ". $cust_pkg->pkgnum. "\n" if $DEBUG > 1;
-
-    #? to avoid use of uninitialized value errors... ?
-    $cust_pkg->setfield('bill', '')
-      unless defined($cust_pkg->bill);
-    my $part_pkg = $cust_pkg->part_pkg;
-
-    my %hash = $cust_pkg->hash;
-    my $old_cust_pkg = new FS::cust_pkg \%hash;
-
-    my @details = ();
-
-    # bill setup
-    my $setup = 0;
-    if ( !$cust_pkg->setup || $options{'resetup'} ) {
-    
-      warn "    bill setup\n" if $DEBUG > 1;
-
-      $setup = eval { $cust_pkg->calc_setup( $time ) };
-      if ( $@ ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $@;
-      }
-
-      $cust_pkg->setfield('setup', $time) unless $cust_pkg->setup;
-    }
-
-    #bill recurring fee
-    my $recur = 0;
-    my $sdate;
-    if ( $part_pkg->getfield('freq') ne '0' &&
-         ! $cust_pkg->getfield('susp') &&
-         ( $cust_pkg->getfield('bill') || 0 ) <= $time
-    ) {
-
-      warn "    bill recur\n" if $DEBUG > 1;
-
-      # XXX shared with $recur_prog
-      $sdate = $cust_pkg->bill || $cust_pkg->setup || $time;
-
-      $recur = eval { $cust_pkg->calc_recur( \$sdate, \@details ) };
-      if ( $@ ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $@;
-      }
-
-      #change this bit to use Date::Manip? CAREFUL with timezones (see
-      # mailing list archive)
-      my ($sec,$min,$hour,$mday,$mon,$year) =
-        (localtime($sdate) )[0,1,2,3,4,5];
-
-      #pro-rating magic - if $recur_prog fiddles $sdate, want to use that
-      # only for figuring next bill date, nothing else, so, reset $sdate again
-      # here
-      $sdate = $cust_pkg->bill || $cust_pkg->setup || $time;
-      $cust_pkg->last_bill($sdate)
-        if $cust_pkg->dbdef_table->column('last_bill');
-
-      if ( $part_pkg->freq =~ /^\d+$/ ) {
-        $mon += $part_pkg->freq;
-        until ( $mon < 12 ) { $mon -= 12; $year++; }
-      } elsif ( $part_pkg->freq =~ /^(\d+)w$/ ) {
-        my $weeks = $1;
-        $mday += $weeks * 7;
-      } elsif ( $part_pkg->freq =~ /^(\d+)d$/ ) {
-        my $days = $1;
-        $mday += $days;
-      } elsif ( $part_pkg->freq =~ /^(\d+)h$/ ) {
-        my $hours = $1;
-        $hour += $hours;
-      } else {
-        $dbh->rollback if $oldAutoCommit;
-        return "unparsable frequency: ". $part_pkg->freq;
-      }
-      $cust_pkg->setfield('bill',
-        timelocal_nocheck($sec,$min,$hour,$mday,$mon,$year));
-    }
-
-    warn "\$setup is undefined" unless defined($setup);
-    warn "\$recur is undefined" unless defined($recur);
-    warn "\$cust_pkg->bill is undefined" unless defined($cust_pkg->bill);
-
-    if ( $cust_pkg->modified ) {
-
-      warn "  package ". $cust_pkg->pkgnum. " modified; updating\n"
-        if $DEBUG >1;
-
-      $error=$cust_pkg->replace($old_cust_pkg);
-      if ( $error ) { #just in case
-        $dbh->rollback if $oldAutoCommit;
-        return "Error modifying pkgnum ". $cust_pkg->pkgnum. ": $error";
-      }
-
-      $setup = sprintf( "%.2f", $setup );
-      $recur = sprintf( "%.2f", $recur );
-      if ( $setup < 0 && ! $conf->exists('allow_negative_charges') ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "negative setup $setup for pkgnum ". $cust_pkg->pkgnum;
-      }
-      if ( $recur < 0 && ! $conf->exists('allow_negative_charges') ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "negative recur $recur for pkgnum ". $cust_pkg->pkgnum;
-      }
-      if ( $setup != 0 || $recur != 0 ) {
-        warn "    charges (setup=$setup, recur=$recur); queueing line items\n"
-          if $DEBUG > 1;
-        my $cust_bill_pkg = new FS::cust_bill_pkg ({
-          'pkgnum'  => $cust_pkg->pkgnum,
-          'setup'   => $setup,
-          'recur'   => $recur,
-          'sdate'   => $sdate,
-          'edate'   => $cust_pkg->bill,
-          'details' => \@details,
-        });
-        push @cust_bill_pkg, $cust_bill_pkg;
-        $total_setup += $setup;
-        $total_recur += $recur;
-
-        unless ( $self->tax =~ /Y/i || $self->payby eq 'COMP' ) {
-
-          my @taxes = qsearch( 'cust_main_county', {
-                                 'state'    => $self->state,
-                                 'county'   => $self->county,
-                                 'country'  => $self->country,
-                                 'taxclass' => $part_pkg->taxclass,
-                                                                      } );
-          unless ( @taxes ) {
-            @taxes =  qsearch( 'cust_main_county', {
-                                  'state'    => $self->state,
-                                  'county'   => $self->county,
-                                  'country'  => $self->country,
-                                  'taxclass' => '',
-                                                                      } );
-          }
-
-          #one more try at a whole-country tax rate
-          unless ( @taxes ) {
-            @taxes =  qsearch( 'cust_main_county', {
-                                  'state'    => '',
-                                  'county'   => '',
-                                  'country'  => $self->country,
-                                  'taxclass' => '',
-                                                                      } );
-          }
-
-          # maybe eliminate this entirely, along with all the 0% records
-          unless ( @taxes ) {
-            $dbh->rollback if $oldAutoCommit;
-            return
-              "fatal: can't find tax rate for state/county/country/taxclass ".
-              join('/', ( map $self->$_(), qw(state county country) ),
-                        $part_pkg->taxclass ).  "\n";
-          }
-  
-          foreach my $tax ( @taxes ) {
-
-            my $taxable_charged = 0;
-            $taxable_charged += $setup
-              unless $part_pkg->setuptax =~ /^Y$/i
-                  || $tax->setuptax =~ /^Y$/i;
-            $taxable_charged += $recur
-              unless $part_pkg->recurtax =~ /^Y$/i
-                  || $tax->recurtax =~ /^Y$/i;
-            next unless $taxable_charged;
-
-            if ( $tax->exempt_amount && $tax->exempt_amount > 0 ) {
-              my ($mon,$year) = (localtime($sdate) )[4,5];
-              $mon++;
-              my $freq = $part_pkg->freq || 1;
-              if ( $freq !~ /(\d+)$/ ) {
-                $dbh->rollback if $oldAutoCommit;
-                return "daily/weekly package definitions not (yet?)".
-                       " compatible with monthly tax exemptions";
-              }
-              my $taxable_per_month = sprintf("%.2f", $taxable_charged / $freq );
-              foreach my $which_month ( 1 .. $freq ) {
-                my %hash = (
-                  'custnum' => $self->custnum,
-                  'taxnum'  => $tax->taxnum,
-                  'year'    => 1900+$year,
-                  'month'   => $mon++,
-                );
-                #until ( $mon < 12 ) { $mon -= 12; $year++; }
-                until ( $mon < 13 ) { $mon -= 12; $year++; }
-                my $cust_tax_exempt =
-                  qsearchs('cust_tax_exempt', \%hash)
-                  || new FS::cust_tax_exempt( { %hash, 'amount' => 0 } );
-                my $remaining_exemption = sprintf("%.2f",
-                  $tax->exempt_amount - $cust_tax_exempt->amount );
-                if ( $remaining_exemption > 0 ) {
-                  my $addl = $remaining_exemption > $taxable_per_month
-                    ? $taxable_per_month
-                    : $remaining_exemption;
-                  $taxable_charged -= $addl;
-                  my $new_cust_tax_exempt = new FS::cust_tax_exempt ( {
-                    $cust_tax_exempt->hash,
-                    'amount' =>
-                      sprintf("%.2f", $cust_tax_exempt->amount + $addl),
-                  } );
-                  $error = $new_cust_tax_exempt->exemptnum
-                    ? $new_cust_tax_exempt->replace($cust_tax_exempt)
-                    : $new_cust_tax_exempt->insert;
-                  if ( $error ) {
-                    $dbh->rollback if $oldAutoCommit;
-                    return "fatal: can't update cust_tax_exempt: $error";
-                  }
-  
-                } # if $remaining_exemption > 0
-  
-              } #foreach $which_month
-  
-            } #if $tax->exempt_amount
-
-            $taxable_charged = sprintf( "%.2f", $taxable_charged);
-
-            #$tax += $taxable_charged * $cust_main_county->tax / 100
-            $tax{ $tax->taxname || 'Tax' } +=
-              $taxable_charged * $tax->tax / 100
-
-          } #foreach my $tax ( @taxes )
-
-        } #unless $self->tax =~ /Y/i || $self->payby eq 'COMP'
-
-      } #if $setup != 0 || $recur != 0
-      
-    } #if $cust_pkg->modified
-
-  } #foreach my $cust_pkg
-
-  my $charged = sprintf( "%.2f", $total_setup + $total_recur );
-#  my $taxable_charged = sprintf( "%.2f", $taxable_setup + $taxable_recur );
-
-  unless ( @cust_bill_pkg ) { #don't create invoices with no line items
-    $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-    return '';
-  } 
-
-#  unless ( $self->tax =~ /Y/i
-#           || $self->payby eq 'COMP'
-#           || $taxable_charged == 0 ) {
-#    my $cust_main_county = qsearchs('cust_main_county',{
-#        'state'   => $self->state,
-#        'county'  => $self->county,
-#        'country' => $self->country,
-#    } ) or die "fatal: can't find tax rate for state/county/country ".
-#               $self->state. "/". $self->county. "/". $self->country. "\n";
-#    my $tax = sprintf( "%.2f",
-#      $taxable_charged * ( $cust_main_county->getfield('tax') / 100 )
-#    );
-
-  if ( dbdef->table('cust_bill_pkg')->column('itemdesc') ) { #1.5 schema
-
-    foreach my $taxname ( grep { $tax{$_} > 0 } keys %tax ) {
-      my $tax = sprintf("%.2f", $tax{$taxname} );
-      $charged = sprintf( "%.2f", $charged+$tax );
-  
-      my $cust_bill_pkg = new FS::cust_bill_pkg ({
-        'pkgnum'   => 0,
-        'setup'    => $tax,
-        'recur'    => 0,
-        'sdate'    => '',
-        'edate'    => '',
-        'itemdesc' => $taxname,
-      });
-      push @cust_bill_pkg, $cust_bill_pkg;
-    }
-  
-  } else { #1.4 schema
-
-    my $tax = 0;
-    foreach ( values %tax ) { $tax += $_ };
-    $tax = sprintf("%.2f", $tax);
-    if ( $tax > 0 ) {
-      $charged = sprintf( "%.2f", $charged+$tax );
-
-      my $cust_bill_pkg = new FS::cust_bill_pkg ({
-        'pkgnum' => 0,
-        'setup'  => $tax,
-        'recur'  => 0,
-        'sdate'  => '',
-        'edate'  => '',
-      });
-      push @cust_bill_pkg, $cust_bill_pkg;
-    }
-
-  }
-
-  my $cust_bill = new FS::cust_bill ( {
-    'custnum' => $self->custnum,
-    '_date'   => $time,
-    'charged' => $charged,
-  } );
-  $error = $cust_bill->insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "can't create invoice for customer #". $self->custnum. ": $error";
-  }
-
-  my $invnum = $cust_bill->invnum;
-  my $cust_bill_pkg;
-  foreach $cust_bill_pkg ( @cust_bill_pkg ) {
-    #warn $invnum;
-    $cust_bill_pkg->invnum($invnum);
-    $error = $cust_bill_pkg->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't create invoice line item for customer #". $self->custnum.
-             ": $error";
-    }
-  }
-  
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  ''; #no error
-}
-
-=item collect OPTIONS
-
-(Attempt to) collect money for this customer's outstanding invoices (see
-L<FS::cust_bill>).  Usually used after the bill method.
-
-Depending on the value of `payby', this may print or email an invoice (I<BILL>,
-I<DCRD>, or I<DCHK>), charge a credit card (I<CARD>), charge via electronic
-check/ACH (I<CHEK>), or just add any necessary (pseudo-)payment (I<COMP>).
-
-Most actions are now triggered by invoice events; see L<FS::part_bill_event>
-and the invoice events web interface.
-
-If there is an error, returns the error, otherwise returns false.
-
-Options are passed as name-value pairs.
-
-Currently available options are:
-
-invoice_time - Use this time when deciding when to print invoices and
-late notices on those invoices.  The default is now.  It is specified as a UNIX timestamp; see L<perlfunc/"time">).  Also see L<Time::Local> and L<Date::Parse>
-for conversion functions.
-
-retry - Retry card/echeck/LEC transactions even when not scheduled by invoice
-events.
-
-retry_card - Deprecated alias for 'retry'
-
-batch_card - This option is deprecated.  See the invoice events web interface
-to control whether cards are batched or run against a realtime gateway.
-
-report_badcard - This option is deprecated.
-
-force_print - This option is deprecated; see the invoice events web interface.
-
-quiet - set true to surpress email card/ACH decline notices.
-
-=cut
-
-sub collect {
-  my( $self, %options ) = @_;
-  my $invoice_time = $options{'invoice_time'} || time;
-
-  #put below somehow?
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $self->select_for_update; #mutex
-
-  my $balance = $self->balance;
-  warn "$me collect customer ". $self->custnum. ": balance $balance\n"
-    if $DEBUG;
-  unless ( $balance > 0 ) { #redundant?????
-    $dbh->rollback if $oldAutoCommit; #hmm
-    return '';
-  }
-
-  if ( exists($options{'retry_card'}) ) {
-    carp 'retry_card option passed to collect is deprecated; use retry';
-    $options{'retry'} ||= $options{'retry_card'};
-  }
-  if ( exists($options{'retry'}) && $options{'retry'} ) {
-    my $error = $self->retry_realtime;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  foreach my $cust_bill ( $self->open_cust_bill ) {
-
-    # don't try to charge for the same invoice if it's already in a batch
-    #next if qsearchs( 'cust_pay_batch', { 'invnum' => $cust_bill->invnum } );
-
-    last if $self->balance <= 0;
-
-    warn "  invnum ". $cust_bill->invnum. " (owed ". $cust_bill->owed. ")\n"
-      if $DEBUG > 1;
-
-    foreach my $part_bill_event (
-      sort {    $a->seconds   <=> $b->seconds
-             || $a->weight    <=> $b->weight
-             || $a->eventpart <=> $b->eventpart }
-        grep { $_->seconds <= ( $invoice_time - $cust_bill->_date )
-               && ! qsearch( 'cust_bill_event', {
-                                'invnum'    => $cust_bill->invnum,
-                                'eventpart' => $_->eventpart,
-                                'status'    => 'done',
-                                                                   } )
-             }
-          qsearch('part_bill_event', { 'payby'    => $self->payby,
-                                       'disabled' => '',           } )
-    ) {
-
-      last if $cust_bill->owed <= 0  # don't run subsequent events if owed<=0
-           || $self->balance   <= 0; # or if balance<=0
-
-      warn "  calling invoice event (". $part_bill_event->eventcode. ")\n"
-        if $DEBUG > 1;
-      my $cust_main = $self; #for callback
-
-      my $error;
-      {
-        local $realtime_bop_decline_quiet = 1 if $options{'quiet'};
-        local $SIG{__DIE__}; # don't want Mason __DIE__ handler active
-        $error = eval $part_bill_event->eventcode;
-      }
-
-      my $status = '';
-      my $statustext = '';
-      if ( $@ ) {
-        $status = 'failed';
-        $statustext = $@;
-      } elsif ( $error ) {
-        $status = 'done';
-        $statustext = $error;
-      } else {
-        $status = 'done'
-      }
-
-      #add cust_bill_event
-      my $cust_bill_event = new FS::cust_bill_event {
-        'invnum'     => $cust_bill->invnum,
-        'eventpart'  => $part_bill_event->eventpart,
-        #'_date'      => $invoice_time,
-        '_date'      => time,
-        'status'     => $status,
-        'statustext' => $statustext,
-      };
-      $error = $cust_bill_event->insert;
-      if ( $error ) {
-        #$dbh->rollback if $oldAutoCommit;
-        #return "error: $error";
-
-        # gah, even with transactions.
-        $dbh->commit if $oldAutoCommit; #well.
-        my $e = 'WARNING: Event run but database not updated - '.
-                'error inserting cust_bill_event, invnum #'. $cust_bill->invnum.
-                ', eventpart '. $part_bill_event->eventpart.
-                ": $error";
-        warn $e;
-        return $e;
-      }
-
-
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item retry_realtime
-
-Schedules realtime credit card / electronic check / LEC billing events for
-for retry.  Useful if card information has changed or manual retry is desired.
-The 'collect' method must be called to actually retry the transaction.
-
-Implementation details: For each of this customer's open invoices, changes
-the status of the first "done" (with statustext error) realtime processing
-event to "failed".
-
-=cut
-
-sub retry_realtime {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $cust_bill (
-    grep { $_->cust_bill_event }
-      $self->open_cust_bill
-  ) {
-    my @cust_bill_event =
-      sort { $a->part_bill_event->seconds <=> $b->part_bill_event->seconds }
-        grep {
-               #$_->part_bill_event->plan eq 'realtime-card'
-               $_->part_bill_event->eventcode =~
-                   /\$cust_bill\->realtime_(card|ach|lec)/
-                 && $_->status eq 'done'
-                 && $_->statustext
-             }
-          $cust_bill->cust_bill_event;
-    next unless @cust_bill_event;
-    my $error = $cust_bill_event[0]->retry;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "error scheduling invoice event for retry: $error";
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item realtime_bop METHOD AMOUNT [ OPTION => VALUE ... ]
-
-Runs a realtime credit card, ACH (electronic check) or phone bill transaction
-via a Business::OnlinePayment realtime gateway.  See
-L<http://420.am/business-onlinepayment> for supported gateways.
-
-Available methods are: I<CC>, I<ECHECK> and I<LEC>
-
-Available options are: I<description>, I<invnum>, I<quiet>
-
-The additional options I<payname>, I<address1>, I<address2>, I<city>, I<state>,
-I<zip>, I<payinfo> and I<paydate> are also available.  Any of these options,
-if set, will override the value from the customer record.
-
-I<description> is a free-text field passed to the gateway.  It defaults to
-"Internet services".
-
-If an I<invnum> is specified, this payment (if sucessful) is applied to the
-specified invoice.  If you don't specify an I<invnum> you might want to
-call the B<apply_payments> method.
-
-I<quiet> can be set true to surpress email decline notices.
-
-(moved from cust_bill) (probably should get realtime_{card,ach,lec} here too)
-
-=cut
-
-sub realtime_bop {
-  my( $self, $method, $amount, %options ) = @_;
-  if ( $DEBUG ) {
-    warn "$me realtime_bop: $method $amount\n";
-    warn "  $_ => $options{$_}\n" foreach keys %options;
-  }
-
-  $options{'description'} ||= 'Internet services';
-
-  eval "use Business::OnlinePayment";  
-  die $@ if $@;
-
-  my $payinfo = exists($options{'payinfo'})
-                  ? $options{'payinfo'}
-                  : $self->payinfo;
-
-  ###
-  # select a gateway
-  ###
-
-  my $taxclass = '';
-  if ( $options{'invnum'} ) {
-    my $cust_bill = qsearchs('cust_bill', { 'invnum' => $options{'invnum'} } );
-    die "invnum ". $options{'invnum'}. " not found" unless $cust_bill;
-    my @taxclasses =
-      map  { $_->part_pkg->taxclass }
-      grep { $_ }
-      map  { $_->cust_pkg }
-      $cust_bill->cust_bill_pkg;
-    unless ( grep { $taxclasses[0] ne $_ } @taxclasses ) { #unless there are
-                                                           #different taxclasses
-      $taxclass = $taxclasses[0];
-    }
-  }
-
-  #look for an agent gateway override first
-  my $cardtype;
-  if ( $method eq 'CC' ) {
-    $cardtype = cardtype($payinfo);
-  } elsif ( $method eq 'ECHECK' ) {
-    $cardtype = 'ACH';
-  } else {
-    $cardtype = $method;
-  }
-
-  my $override =
-       qsearchs('agent_payment_gateway', { agentnum => $self->agentnum,
-                                           cardtype => $cardtype,
-                                           taxclass => $taxclass,       } )
-    || qsearchs('agent_payment_gateway', { agentnum => $self->agentnum,
-                                           cardtype => '',
-                                           taxclass => $taxclass,       } )
-    || qsearchs('agent_payment_gateway', { agentnum => $self->agentnum,
-                                           cardtype => $cardtype,
-                                           taxclass => '',              } )
-    || qsearchs('agent_payment_gateway', { agentnum => $self->agentnum,
-                                           cardtype => '',
-                                           taxclass => '',              } );
-
-  my $payment_gateway = '';
-  my( $processor, $login, $password, $action, @bop_options );
-  if ( $override ) { #use a payment gateway override
-
-    $payment_gateway = $override->payment_gateway;
-
-    $processor   = $payment_gateway->gateway_module;
-    $login       = $payment_gateway->gateway_username;
-    $password    = $payment_gateway->gateway_password;
-    $action      = $payment_gateway->gateway_action;
-    @bop_options = $payment_gateway->options;
-
-  } else { #use the standard settings from the config
-
-    ( $processor, $login, $password, $action, @bop_options ) =
-      $self->default_payment_gateway($method);
-
-  }
-
-  ###
-  # massage data
-  ###
-
-  my $address = exists($options{'address1'})
-                    ? $options{'address1'}
-                    : $self->address1;
-  my $address2 = exists($options{'address2'})
-                    ? $options{'address2'}
-                    : $self->address2;
-  $address .= ", ". $address2 if length($address2);
-
-  my $o_payname = exists($options{'payname'})
-                    ? $options{'payname'}
-                    : $self->payname;
-  my($payname, $payfirst, $paylast);
-  if ( $o_payname && $method ne 'ECHECK' ) {
-    ($payname = $o_payname) =~ /^\s*([\w \,\.\-\']*)?\s+([\w\,\.\-\']+)\s*$/
-      or return "Illegal payname $payname";
-    ($payfirst, $paylast) = ($1, $2);
-  } else {
-    $payfirst = $self->getfield('first');
-    $paylast = $self->getfield('last');
-    $payname =  "$payfirst $paylast";
-  }
-
-  my @invoicing_list = grep { $_ ne 'POST' } $self->invoicing_list;
-  if ( $conf->exists('emailinvoiceauto')
-       || ( $conf->exists('emailinvoiceonly') && ! @invoicing_list ) ) {
-    push @invoicing_list, $self->all_emails;
-  }
-
-  my $email = ($conf->exists('business-onlinepayment-email-override'))
-              ? $conf->config('business-onlinepayment-email-override')
-              : $invoicing_list[0];
-
-  my %content = ();
-
-  my $payip = exists($options{'payip'})
-                ? $options{'payip'}
-                : $self->payip;
-  $content{customer_ip} = $payip
-    if length($payip);
-
-  if ( $method eq 'CC' ) { 
-
-    $content{card_number} = $payinfo;
-    my $paydate = exists($options{'paydate'})
-                    ? $options{'paydate'}
-                    : $self->paydate;
-    $paydate =~ /^\d{2}(\d{2})[\/\-](\d+)[\/\-]\d+$/;
-    $content{expiration} = "$2/$1";
-
-    my $paycvv = exists($options{'paycvv'})
-                   ? $options{'paycvv'}
-                   : $self->paycvv;
-    $content{cvv2} = $self->paycvv
-      if length($paycvv);
-
-    my $paystart_month = exists($options{'paystart_month'})
-                           ? $options{'paystart_month'}
-                           : $self->paystart_month;
-
-    my $paystart_year  = exists($options{'paystart_year'})
-                           ? $options{'paystart_year'}
-                           : $self->paystart_year;
-
-    $content{card_start} = "$paystart_month/$paystart_year"
-      if $paystart_month && $paystart_year;
-
-    my $payissue       = exists($options{'payissue'})
-                           ? $options{'payissue'}
-                           : $self->payissue;
-    $content{issue_number} = $payissue if $payissue;
-
-    $content{recurring_billing} = 'YES'
-      if qsearch('cust_pay', { 'custnum' => $self->custnum,
-                               'payby'   => 'CARD',
-                               'payinfo' => $payinfo,
-                             } );
-
-  } elsif ( $method eq 'ECHECK' ) {
-    ( $content{account_number}, $content{routing_code} ) =
-      split('@', $payinfo);
-    $content{bank_name} = $o_payname;
-    $content{account_type} = 'CHECKING';
-    $content{account_name} = $payname;
-    $content{customer_org} = $self->company ? 'B' : 'I';
-    $content{customer_ssn} = exists($options{'ss'})
-                               ? $options{'ss'}
-                               : $self->ss;
-  } elsif ( $method eq 'LEC' ) {
-    $content{phone} = $payinfo;
-  }
-
-  ###
-  # run transaction(s)
-  ###
-
-  my( $action1, $action2 ) = split(/\s*\,\s*/, $action );
-
-  my $transaction = new Business::OnlinePayment( $processor, @bop_options );
-  $transaction->content(
-    'type'           => $method,
-    'login'          => $login,
-    'password'       => $password,
-    'action'         => $action1,
-    'description'    => $options{'description'},
-    'amount'         => $amount,
-    'invoice_number' => $options{'invnum'},
-    'customer_id'    => $self->custnum,
-    'last_name'      => $paylast,
-    'first_name'     => $payfirst,
-    'name'           => $payname,
-    'address'        => $address,
-    'city'           => ( exists($options{'city'})
-                            ? $options{'city'}
-                            : $self->city          ),
-    'state'          => ( exists($options{'state'})
-                            ? $options{'state'}
-                            : $self->state          ),
-    'zip'            => ( exists($options{'zip'})
-                            ? $options{'zip'}
-                            : $self->zip          ),
-    'country'        => ( exists($options{'country'})
-                            ? $options{'country'}
-                            : $self->country          ),
-    'referer'        => 'http://cleanwhisker.420.am/',
-    'email'          => $email,
-    'phone'          => $self->daytime || $self->night,
-    %content, #after
-  );
-  $transaction->submit();
-
-  if ( $transaction->is_success() && $action2 ) {
-    my $auth = $transaction->authorization;
-    my $ordernum = $transaction->can('order_number')
-                   ? $transaction->order_number
-                   : '';
-
-    my $capture =
-      new Business::OnlinePayment( $processor, @bop_options );
-
-    my %capture = (
-      %content,
-      type           => $method,
-      action         => $action2,
-      login          => $login,
-      password       => $password,
-      order_number   => $ordernum,
-      amount         => $amount,
-      authorization  => $auth,
-      description    => $options{'description'},
-    );
-
-    foreach my $field (qw( authorization_source_code returned_ACI                                          transaction_identifier validation_code           
-                           transaction_sequence_num local_transaction_date    
-                           local_transaction_time AVS_result_code          )) {
-      $capture{$field} = $transaction->$field() if $transaction->can($field);
-    }
-
-    $capture->content( %capture );
-
-    $capture->submit();
-
-    unless ( $capture->is_success ) {
-      my $e = "Authorization sucessful but capture failed, custnum #".
-              $self->custnum. ': '.  $capture->result_code.
-              ": ". $capture->error_message;
-      warn $e;
-      return $e;
-    }
-
-  }
-
-  ###
-  # remove paycvv after initial transaction
-  ###
-
-  #false laziness w/misc/process/payment.cgi - check both to make sure working
-  # correctly
-  if ( defined $self->dbdef_table->column('paycvv')
-       && length($self->paycvv)
-       && ! grep { $_ eq cardtype($payinfo) } $conf->config('cvv-save')
-  ) {
-    my $error = $self->remove_cvv;
-    if ( $error ) {
-      warn "WARNING: error removing cvv: $error\n";
-    }
-  }
-
-  ###
-  # result handling
-  ###
-
-  if ( $transaction->is_success() ) {
-
-    my %method2payby = (
-      'CC'     => 'CARD',
-      'ECHECK' => 'CHEK',
-      'LEC'    => 'LECB',
-    );
-
-    my $paybatch = '';
-    if ( $payment_gateway ) { # agent override
-      $paybatch = $payment_gateway->gatewaynum. '-';
-    }
-
-    $paybatch .= "$processor:". $transaction->authorization;
-
-    $paybatch .= ':'. $transaction->order_number
-      if $transaction->can('order_number')
-      && length($transaction->order_number);
-
-    my $cust_pay = new FS::cust_pay ( {
-       'custnum'  => $self->custnum,
-       'invnum'   => $options{'invnum'},
-       'paid'     => $amount,
-       '_date'     => '',
-       'payby'    => $method2payby{$method},
-       'payinfo'  => $payinfo,
-       'paybatch' => $paybatch,
-    } );
-    my $error = $cust_pay->insert;
-    if ( $error ) {
-      $cust_pay->invnum(''); #try again with no specific invnum
-      my $error2 = $cust_pay->insert;
-      if ( $error2 ) {
-        # gah, even with transactions.
-        my $e = 'WARNING: Card/ACH debited but database not updated - '.
-                "error inserting payment ($processor): $error2".
-                " (previously tried insert with invnum #$options{'invnum'}" .
-                ": $error )";
-        warn $e;
-        return $e;
-      }
-    }
-    return ''; #no error
-
-  } else {
-
-    my $perror = "$processor error: ". $transaction->error_message;
-
-    if ( !$options{'quiet'} && !$realtime_bop_decline_quiet
-         && $conf->exists('emaildecline')
-         && grep { $_ ne 'POST' } $self->invoicing_list
-         && ! grep { $transaction->error_message =~ /$_/ }
-                   $conf->config('emaildecline-exclude')
-    ) {
-      my @templ = $conf->config('declinetemplate');
-      my $template = new Text::Template (
-        TYPE   => 'ARRAY',
-        SOURCE => [ map "$_\n", @templ ],
-      ) or return "($perror) can't create template: $Text::Template::ERROR";
-      $template->compile()
-        or return "($perror) can't compile template: $Text::Template::ERROR";
-
-      my $templ_hash = { error => $transaction->error_message };
-
-      my $error = send_email(
-        'from'    => $conf->config('invoice_from'),
-        'to'      => [ grep { $_ ne 'POST' } $self->invoicing_list ],
-        'subject' => 'Your payment could not be processed',
-        'body'    => [ $template->fill_in(HASH => $templ_hash) ],
-      );
-
-      $perror .= " (also received error sending decline notification: $error)"
-        if $error;
-
-    }
-  
-    return $perror;
-  }
-
-}
-
-=item default_payment_gateway
-
-=cut
-
-sub default_payment_gateway {
-  my( $self, $method ) = @_;
-
-  die "Real-time processing not enabled\n"
-    unless $conf->exists('business-onlinepayment');
-
-  #load up config
-  my $bop_config = 'business-onlinepayment';
-  $bop_config .= '-ach'
-    if $method eq 'ECHECK' && $conf->exists($bop_config. '-ach');
-  my ( $processor, $login, $password, $action, @bop_options ) =
-    $conf->config($bop_config);
-  $action ||= 'normal authorization';
-  pop @bop_options if scalar(@bop_options) % 2 && $bop_options[-1] =~ /^\s*$/;
-  die "No real-time processor is enabled - ".
-      "did you set the business-onlinepayment configuration value?\n"
-    unless $processor;
-
-  ( $processor, $login, $password, $action, @bop_options )
-}
-
-=item remove_cvv
-
-Removes the I<paycvv> field from the database directly.
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub remove_cvv {
-  my $self = shift;
-  my $sth = dbh->prepare("UPDATE cust_main SET paycvv = '' WHERE custnum = ?")
-    or return dbh->errstr;
-  $sth->execute($self->custnum)
-    or return $sth->errstr;
-  $self->paycvv('');
-  '';
-}
-
-=item realtime_refund_bop METHOD [ OPTION => VALUE ... ]
-
-Refunds a realtime credit card, ACH (electronic check) or phone bill transaction
-via a Business::OnlinePayment realtime gateway.  See
-L<http://420.am/business-onlinepayment> for supported gateways.
-
-Available methods are: I<CC>, I<ECHECK> and I<LEC>
-
-Available options are: I<amount>, I<reason>, I<paynum>
-
-Most gateways require a reference to an original payment transaction to refund,
-so you probably need to specify a I<paynum>.
-
-I<amount> defaults to the original amount of the payment if not specified.
-
-I<reason> specifies a reason for the refund.
-
-Implementation note: If I<amount> is unspecified or equal to the amount of the
-orignal payment, first an attempt is made to "void" the transaction via
-the gateway (to cancel a not-yet settled transaction) and then if that fails,
-the normal attempt is made to "refund" ("credit") the transaction via the
-gateway is attempted.
-
-#The additional options I<payname>, I<address1>, I<address2>, I<city>, I<state>,
-#I<zip>, I<payinfo> and I<paydate> are also available.  Any of these options,
-#if set, will override the value from the customer record.
-
-#If an I<invnum> is specified, this payment (if sucessful) is applied to the
-#specified invoice.  If you don't specify an I<invnum> you might want to
-#call the B<apply_payments> method.
-
-=cut
-
-#some false laziness w/realtime_bop, not enough to make it worth merging
-#but some useful small subs should be pulled out
-sub realtime_refund_bop {
-  my( $self, $method, %options ) = @_;
-  if ( $DEBUG ) {
-    warn "$me realtime_refund_bop: $method refund\n";
-    warn "  $_ => $options{$_}\n" foreach keys %options;
-  }
-
-  eval "use Business::OnlinePayment";  
-  die $@ if $@;
-
-  ###
-  # look up the original payment and optionally a gateway for that payment
-  ###
-
-  my $cust_pay = '';
-  my $amount = $options{'amount'};
-
-  my( $processor, $login, $password, @bop_options ) ;
-  my( $auth, $order_number ) = ( '', '', '' );
-
-  if ( $options{'paynum'} ) {
-
-    warn "  paynum: $options{paynum}\n" if $DEBUG > 1;
-    $cust_pay = qsearchs('cust_pay', { paynum=>$options{'paynum'} } )
-      or return "Unknown paynum $options{'paynum'}";
-    $amount ||= $cust_pay->paid;
-
-    $cust_pay->paybatch =~ /^((\d+)\-)?(\w+):\s*([\w\-]*)(:([\w\-]+))?$/
-      or return "Can't parse paybatch for paynum $options{'paynum'}: ".
-                $cust_pay->paybatch;
-    my $gatewaynum = '';
-    ( $gatewaynum, $processor, $auth, $order_number ) = ( $2, $3, $4, $6 );
-
-    if ( $gatewaynum ) { #gateway for the payment to be refunded
-
-      my $payment_gateway =
-        qsearchs('payment_gateway', { 'gatewaynum' => $gatewaynum } );
-      die "payment gateway $gatewaynum not found"
-        unless $payment_gateway;
-
-      $processor   = $payment_gateway->gateway_module;
-      $login       = $payment_gateway->gateway_username;
-      $password    = $payment_gateway->gateway_password;
-      @bop_options = $payment_gateway->options;
-
-    } else { #try the default gateway
-
-      my( $conf_processor, $unused_action );
-      ( $conf_processor, $login, $password, $unused_action, @bop_options ) =
-        $self->default_payment_gateway($method);
-
-      return "processor of payment $options{'paynum'} $processor does not".
-             " match default processor $conf_processor"
-        unless $processor eq $conf_processor;
-
-    }
-
-
-  } else { # didn't specify a paynum, so look for agent gateway overrides
-           # like a normal transaction 
-
-    my $cardtype;
-    if ( $method eq 'CC' ) {
-      $cardtype = cardtype($self->payinfo);
-    } elsif ( $method eq 'ECHECK' ) {
-      $cardtype = 'ACH';
-    } else {
-      $cardtype = $method;
-    }
-    my $override =
-           qsearchs('agent_payment_gateway', { agentnum => $self->agentnum,
-                                               cardtype => $cardtype,
-                                               taxclass => '',              } )
-        || qsearchs('agent_payment_gateway', { agentnum => $self->agentnum,
-                                               cardtype => '',
-                                               taxclass => '',              } );
-
-    if ( $override ) { #use a payment gateway override
-      my $payment_gateway = $override->payment_gateway;
-
-      $processor   = $payment_gateway->gateway_module;
-      $login       = $payment_gateway->gateway_username;
-      $password    = $payment_gateway->gateway_password;
-      #$action      = $payment_gateway->gateway_action;
-      @bop_options = $payment_gateway->options;
-
-    } else { #use the standard settings from the config
-
-      my $unused_action;
-      ( $processor, $login, $password, $unused_action, @bop_options ) =
-        $self->default_payment_gateway($method);
-
-    }
-
-  }
-  return "neither amount nor paynum specified" unless $amount;
-
-  my %content = (
-    'type'           => $method,
-    'login'          => $login,
-    'password'       => $password,
-    'order_number'   => $order_number,
-    'amount'         => $amount,
-    'referer'        => 'http://cleanwhisker.420.am/',
-  );
-  $content{authorization} = $auth
-    if length($auth); #echeck/ACH transactions have an order # but no auth
-                      #(at least with authorize.net)
-
-  #first try void if applicable
-  if ( $cust_pay && $cust_pay->paid == $amount ) { #and check dates?
-    warn "  attempting void\n" if $DEBUG > 1;
-    my $void = new Business::OnlinePayment( $processor, @bop_options );
-    $void->content( 'action' => 'void', %content );
-    $void->submit();
-    if ( $void->is_success ) {
-      my $error = $cust_pay->void($options{'reason'});
-      if ( $error ) {
-        # gah, even with transactions.
-        my $e = 'WARNING: Card/ACH voided but database not updated - '.
-                "error voiding payment: $error";
-        warn $e;
-        return $e;
-      }
-      warn "  void successful\n" if $DEBUG > 1;
-      return '';
-    }
-  }
-
-  warn "  void unsuccessful, trying refund\n"
-    if $DEBUG > 1;
-
-  #massage data
-  my $address = $self->address1;
-  $address .= ", ". $self->address2 if $self->address2;
-
-  my($payname, $payfirst, $paylast);
-  if ( $self->payname && $method ne 'ECHECK' ) {
-    $payname = $self->payname;
-    $payname =~ /^\s*([\w \,\.\-\']*)?\s+([\w\,\.\-\']+)\s*$/
-      or return "Illegal payname $payname";
-    ($payfirst, $paylast) = ($1, $2);
-  } else {
-    $payfirst = $self->getfield('first');
-    $paylast = $self->getfield('last');
-    $payname =  "$payfirst $paylast";
-  }
-
-  my $payinfo = '';
-  if ( $method eq 'CC' ) {
-
-    if ( $cust_pay ) {
-      $content{card_number} = $payinfo = $cust_pay->payinfo;
-      #$self->paydate =~ /^\d{2}(\d{2})[\/\-](\d+)[\/\-]\d+$/;
-      #$content{expiration} = "$2/$1";
-    } else {
-      $content{card_number} = $payinfo = $self->payinfo;
-      $self->paydate =~ /^\d{2}(\d{2})[\/\-](\d+)[\/\-]\d+$/;
-      $content{expiration} = "$2/$1";
-    }
-
-  } elsif ( $method eq 'ECHECK' ) {
-    ( $content{account_number}, $content{routing_code} ) =
-      split('@', $payinfo = $self->payinfo);
-    $content{bank_name} = $self->payname;
-    $content{account_type} = 'CHECKING';
-    $content{account_name} = $payname;
-    $content{customer_org} = $self->company ? 'B' : 'I';
-    $content{customer_ssn} = $self->ss;
-  } elsif ( $method eq 'LEC' ) {
-    $content{phone} = $payinfo = $self->payinfo;
-  }
-
-  #then try refund
-  my $refund = new Business::OnlinePayment( $processor, @bop_options );
-  my %sub_content = $refund->content(
-    'action'         => 'credit',
-    'customer_id'    => $self->custnum,
-    'last_name'      => $paylast,
-    'first_name'     => $payfirst,
-    'name'           => $payname,
-    'address'        => $address,
-    'city'           => $self->city,
-    'state'          => $self->state,
-    'zip'            => $self->zip,
-    'country'        => $self->country,
-    %content, #after
-  );
-  warn join('', map { "  $_ => $sub_content{$_}\n" } keys %sub_content )
-    if $DEBUG > 1;
-  $refund->submit();
-
-  return "$processor error: ". $refund->error_message
-    unless $refund->is_success();
-
-  my %method2payby = (
-    'CC'     => 'CARD',
-    'ECHECK' => 'CHEK',
-    'LEC'    => 'LECB',
-  );
-
-  my $paybatch = "$processor:". $refund->authorization;
-  $paybatch .= ':'. $refund->order_number
-    if $refund->can('order_number') && $refund->order_number;
-
-  while ( $cust_pay && $cust_pay->unappled < $amount ) {
-    my @cust_bill_pay = $cust_pay->cust_bill_pay;
-    last unless @cust_bill_pay;
-    my $cust_bill_pay = pop @cust_bill_pay;
-    my $error = $cust_bill_pay->delete;
-    last if $error;
-  }
-
-  my $cust_refund = new FS::cust_refund ( {
-    'custnum'  => $self->custnum,
-    'paynum'   => $options{'paynum'},
-    'refund'   => $amount,
-    '_date'    => '',
-    'payby'    => $method2payby{$method},
-    'payinfo'  => $payinfo,
-    'paybatch' => $paybatch,
-    'reason'   => $options{'reason'} || 'card or ACH refund',
-  } );
-  my $error = $cust_refund->insert;
-  if ( $error ) {
-    $cust_refund->paynum(''); #try again with no specific paynum
-    my $error2 = $cust_refund->insert;
-    if ( $error2 ) {
-      # gah, even with transactions.
-      my $e = 'WARNING: Card/ACH refunded but database not updated - '.
-              "error inserting refund ($processor): $error2".
-              " (previously tried insert with paynum #$options{'paynum'}" .
-              ": $error )";
-      warn $e;
-      return $e;
-    }
-  }
-
-  ''; #no error
-
-}
-
-=item total_owed
-
-Returns the total owed for this customer on all invoices
-(see L<FS::cust_bill/owed>).
-
-=cut
-
-sub total_owed {
-  my $self = shift;
-  $self->total_owed_date(2145859200); #12/31/2037
-}
-
-=item total_owed_date TIME
-
-Returns the total owed for this customer on all invoices with date earlier than
-TIME.  TIME is specified as a UNIX timestamp; see L<perlfunc/"time">).  Also
-see L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=cut
-
-sub total_owed_date {
-  my $self = shift;
-  my $time = shift;
-  my $total_bill = 0;
-  foreach my $cust_bill (
-    grep { $_->_date <= $time }
-      qsearch('cust_bill', { 'custnum' => $self->custnum, } )
-  ) {
-    $total_bill += $cust_bill->owed;
-  }
-  sprintf( "%.2f", $total_bill );
-}
-
-=item apply_credits OPTION => VALUE ...
-
-Applies (see L<FS::cust_credit_bill>) unapplied credits (see L<FS::cust_credit>)
-to outstanding invoice balances in chronological order (or reverse
-chronological order if the I<order> option is set to B<newest>) and returns the
-value of any remaining unapplied credits available for refund (see
-L<FS::cust_refund>).
-
-=cut
-
-sub apply_credits {
-  my $self = shift;
-  my %opt = @_;
-
-  return 0 unless $self->total_credited;
-
-  my @credits = sort { $b->_date <=> $a->_date} (grep { $_->credited > 0 }
-      qsearch('cust_credit', { 'custnum' => $self->custnum } ) );
-
-  my @invoices = $self->open_cust_bill;
-  @invoices = sort { $b->_date <=> $a->_date } @invoices
-    if defined($opt{'order'}) && $opt{'order'} eq 'newest';
-
-  my $credit;
-  foreach my $cust_bill ( @invoices ) {
-    my $amount;
-
-    if ( !defined($credit) || $credit->credited == 0) {
-      $credit = pop @credits or last;
-    }
-
-    if ($cust_bill->owed >= $credit->credited) {
-      $amount=$credit->credited;
-    }else{
-      $amount=$cust_bill->owed;
-    }
-    
-    my $cust_credit_bill = new FS::cust_credit_bill ( {
-      'crednum' => $credit->crednum,
-      'invnum'  => $cust_bill->invnum,
-      'amount'  => $amount,
-    } );
-    my $error = $cust_credit_bill->insert;
-    die $error if $error;
-    
-    redo if ($cust_bill->owed > 0);
-
-  }
-
-  return $self->total_credited;
-}
-
-=item apply_payments
-
-Applies (see L<FS::cust_bill_pay>) unapplied payments (see L<FS::cust_pay>)
-to outstanding invoice balances in chronological order.
-
- #and returns the value of any remaining unapplied payments.
-
-=cut
-
-sub apply_payments {
-  my $self = shift;
-
-  #return 0 unless
-
-  my @payments = sort { $b->_date <=> $a->_date } ( grep { $_->unapplied > 0 }
-      qsearch('cust_pay', { 'custnum' => $self->custnum } ) );
-
-  my @invoices = sort { $a->_date <=> $b->_date} (grep { $_->owed > 0 }
-      qsearch('cust_bill', { 'custnum' => $self->custnum } ) );
-
-  my $payment;
-
-  foreach my $cust_bill ( @invoices ) {
-    my $amount;
-
-    if ( !defined($payment) || $payment->unapplied == 0 ) {
-      $payment = pop @payments or last;
-    }
-
-    if ( $cust_bill->owed >= $payment->unapplied ) {
-      $amount = $payment->unapplied;
-    } else {
-      $amount = $cust_bill->owed;
-    }
-
-    my $cust_bill_pay = new FS::cust_bill_pay ( {
-      'paynum' => $payment->paynum,
-      'invnum' => $cust_bill->invnum,
-      'amount' => $amount,
-    } );
-    my $error = $cust_bill_pay->insert;
-    die $error if $error;
-
-    redo if ( $cust_bill->owed > 0);
-
-  }
-
-  return $self->total_unapplied_payments;
-}
-
-=item total_credited
-
-Returns the total outstanding credit (see L<FS::cust_credit>) for this
-customer.  See L<FS::cust_credit/credited>.
-
-=cut
-
-sub total_credited {
-  my $self = shift;
-  my $total_credit = 0;
-  foreach my $cust_credit ( qsearch('cust_credit', {
-    'custnum' => $self->custnum,
-  } ) ) {
-    $total_credit += $cust_credit->credited;
-  }
-  sprintf( "%.2f", $total_credit );
-}
-
-=item total_unapplied_payments
-
-Returns the total unapplied payments (see L<FS::cust_pay>) for this customer.
-See L<FS::cust_pay/unapplied>.
-
-=cut
-
-sub total_unapplied_payments {
-  my $self = shift;
-  my $total_unapplied = 0;
-  foreach my $cust_pay ( qsearch('cust_pay', {
-    'custnum' => $self->custnum,
-  } ) ) {
-    $total_unapplied += $cust_pay->unapplied;
-  }
-  sprintf( "%.2f", $total_unapplied );
-}
-
-=item balance
-
-Returns the balance for this customer (total_owed minus total_credited
-minus total_unapplied_payments).
-
-=cut
-
-sub balance {
-  my $self = shift;
-  sprintf( "%.2f",
-    $self->total_owed - $self->total_credited - $self->total_unapplied_payments
-  );
-}
-
-=item balance_date TIME
-
-Returns the balance for this customer, only considering invoices with date
-earlier than TIME (total_owed_date minus total_credited minus
-total_unapplied_payments).  TIME is specified as a UNIX timestamp; see
-L<perlfunc/"time">).  Also see L<Time::Local> and L<Date::Parse> for conversion
-functions.
-
-=cut
-
-sub balance_date {
-  my $self = shift;
-  my $time = shift;
-  sprintf( "%.2f",
-    $self->total_owed_date($time)
-      - $self->total_credited
-      - $self->total_unapplied_payments
-  );
-}
-
-=item paydate_monthyear
-
-Returns a two-element list consisting of the month and year of this customer's
-paydate (credit card expiration date for CARD customers)
-
-=cut
-
-sub paydate_monthyear {
-  my $self = shift;
-  if ( $self->paydate  =~ /^(\d{4})-(\d{1,2})-\d{1,2}$/ ) { #Pg date format
-    ( $2, $1 );
-  } elsif ( $self->paydate =~ /^(\d{1,2})-(\d{1,2}-)?(\d{4}$)/ ) {
-    ( $1, $3 );
-  } else {
-    ('', '');
-  }
-}
-
-=item payinfo_masked
-
-Returns a "masked" payinfo field appropriate to the payment type.  Masked characters are replaced by 'x'es.  Use this to display publicly accessable account Information.
-
-Credit Cards - Mask all but the last four characters.
-Checks - Mask all but last 2 of account number and bank routing number.
-Others - Do nothing, return the unmasked string.
-
-=cut
-
-sub payinfo_masked {
-  my $self = shift;
-  return $self->paymask;
-}
-
-=item invoicing_list [ ARRAYREF ]
-
-If an arguement is given, sets these email addresses as invoice recipients
-(see L<FS::cust_main_invoice>).  Errors are not fatal and are not reported
-(except as warnings), so use check_invoicing_list first.
-
-Returns a list of email addresses (with svcnum entries expanded).
-
-Note: You can clear the invoicing list by passing an empty ARRAYREF.  You can
-check it without disturbing anything by passing nothing.
-
-This interface may change in the future.
-
-=cut
-
-sub invoicing_list {
-  my( $self, $arrayref ) = @_;
-  if ( $arrayref ) {
-    my @cust_main_invoice;
-    if ( $self->custnum ) {
-      @cust_main_invoice = 
-        qsearch( 'cust_main_invoice', { 'custnum' => $self->custnum } );
-    } else {
-      @cust_main_invoice = ();
-    }
-    foreach my $cust_main_invoice ( @cust_main_invoice ) {
-      #warn $cust_main_invoice->destnum;
-      unless ( grep { $cust_main_invoice->address eq $_ } @{$arrayref} ) {
-        #warn $cust_main_invoice->destnum;
-        my $error = $cust_main_invoice->delete;
-        warn $error if $error;
-      }
-    }
-    if ( $self->custnum ) {
-      @cust_main_invoice = 
-        qsearch( 'cust_main_invoice', { 'custnum' => $self->custnum } );
-    } else {
-      @cust_main_invoice = ();
-    }
-    my %seen = map { $_->address => 1 } @cust_main_invoice;
-    foreach my $address ( @{$arrayref} ) {
-      next if exists $seen{$address} && $seen{$address};
-      $seen{$address} = 1;
-      my $cust_main_invoice = new FS::cust_main_invoice ( {
-        'custnum' => $self->custnum,
-        'dest'    => $address,
-      } );
-      my $error = $cust_main_invoice->insert;
-      warn $error if $error;
-    }
-  }
-  if ( $self->custnum ) {
-    map { $_->address }
-      qsearch( 'cust_main_invoice', { 'custnum' => $self->custnum } );
-  } else {
-    ();
-  }
-}
-
-=item check_invoicing_list ARRAYREF
-
-Checks these arguements as valid input for the invoicing_list method.  If there
-is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub check_invoicing_list {
-  my( $self, $arrayref ) = @_;
-  foreach my $address ( @{$arrayref} ) {
-
-    if ($address eq 'FAX' and $self->getfield('fax') eq '') {
-      return 'Can\'t add FAX invoice destination with a blank FAX number.';
-    }
-
-    my $cust_main_invoice = new FS::cust_main_invoice ( {
-      'custnum' => $self->custnum,
-      'dest'    => $address,
-    } );
-    my $error = $self->custnum
-                ? $cust_main_invoice->check
-                : $cust_main_invoice->checkdest
-    ;
-    return $error if $error;
-  }
-  '';
-}
-
-=item set_default_invoicing_list
-
-Sets the invoicing list to all accounts associated with this customer,
-overwriting any previous invoicing list.
-
-=cut
-
-sub set_default_invoicing_list {
-  my $self = shift;
-  $self->invoicing_list($self->all_emails);
-}
-
-=item all_emails
-
-Returns the email addresses of all accounts provisioned for this customer.
-
-=cut
-
-sub all_emails {
-  my $self = shift;
-  my %list;
-  foreach my $cust_pkg ( $self->all_pkgs ) {
-    my @cust_svc = qsearch('cust_svc', { 'pkgnum' => $cust_pkg->pkgnum } );
-    my @svc_acct =
-      map { qsearchs('svc_acct', { 'svcnum' => $_->svcnum } ) }
-        grep { qsearchs('svc_acct', { 'svcnum' => $_->svcnum } ) }
-          @cust_svc;
-    $list{$_}=1 foreach map { $_->email } @svc_acct;
-  }
-  keys %list;
-}
-
-=item invoicing_list_addpost
-
-Adds postal invoicing to this customer.  If this customer is already configured
-to receive postal invoices, does nothing.
-
-=cut
-
-sub invoicing_list_addpost {
-  my $self = shift;
-  return if grep { $_ eq 'POST' } $self->invoicing_list;
-  my @invoicing_list = $self->invoicing_list;
-  push @invoicing_list, 'POST';
-  $self->invoicing_list(\@invoicing_list);
-}
-
-=item referral_cust_main [ DEPTH [ EXCLUDE_HASHREF ] ]
-
-Returns an array of customers referred by this customer (referral_custnum set
-to this custnum).  If DEPTH is given, recurses up to the given depth, returning
-customers referred by customers referred by this customer and so on, inclusive.
-The default behavior is DEPTH 1 (no recursion).
-
-=cut
-
-sub referral_cust_main {
-  my $self = shift;
-  my $depth = @_ ? shift : 1;
-  my $exclude = @_ ? shift : {};
-
-  my @cust_main =
-    map { $exclude->{$_->custnum}++; $_; }
-      grep { ! $exclude->{ $_->custnum } }
-        qsearch( 'cust_main', { 'referral_custnum' => $self->custnum } );
-
-  if ( $depth > 1 ) {
-    push @cust_main,
-      map { $_->referral_cust_main($depth-1, $exclude) }
-        @cust_main;
-  }
-
-  @cust_main;
-}
-
-=item referral_cust_main_ncancelled
-
-Same as referral_cust_main, except only returns customers with uncancelled
-packages.
-
-=cut
-
-sub referral_cust_main_ncancelled {
-  my $self = shift;
-  grep { scalar($_->ncancelled_pkgs) } $self->referral_cust_main;
-}
-
-=item referral_cust_pkg [ DEPTH ]
-
-Like referral_cust_main, except returns a flat list of all unsuspended (and
-uncancelled) packages for each customer.  The number of items in this list may
-be useful for comission calculations (perhaps after a C<grep { my $pkgpart = $_->pkgpart; grep { $_ == $pkgpart } @commission_worthy_pkgparts> } $cust_main-> ).
-
-=cut
-
-sub referral_cust_pkg {
-  my $self = shift;
-  my $depth = @_ ? shift : 1;
-
-  map { $_->unsuspended_pkgs }
-    grep { $_->unsuspended_pkgs }
-      $self->referral_cust_main($depth);
-}
-
-=item referring_cust_main
-
-Returns the single cust_main record for the customer who referred this customer
-(referral_custnum), or false.
-
-=cut
-
-sub referring_cust_main {
-  my $self = shift;
-  return '' unless $self->referral_custnum;
-  qsearchs('cust_main', { 'custnum' => $self->referral_custnum } );
-}
-
-=item credit AMOUNT, REASON
-
-Applies a credit to this customer.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub credit {
-  my( $self, $amount, $reason ) = @_;
-  my $cust_credit = new FS::cust_credit {
-    'custnum' => $self->custnum,
-    'amount'  => $amount,
-    'reason'  => $reason,
-  };
-  $cust_credit->insert;
-}
-
-=item charge AMOUNT [ PKG [ COMMENT [ TAXCLASS ] ] ]
-
-Creates a one-time charge for this customer.  If there is an error, returns
-the error, otherwise returns false.
-
-=cut
-
-sub charge {
-  my ( $self, $amount ) = ( shift, shift );
-  my $pkg      = @_ ? shift : 'One-time charge';
-  my $comment  = @_ ? shift : '$'. sprintf("%.2f",$amount);
-  my $taxclass = @_ ? shift : '';
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $part_pkg = new FS::part_pkg ( {
-    'pkg'      => $pkg,
-    'comment'  => $comment,
-    #'setup'    => $amount,
-    #'recur'    => '0',
-    'plan'     => 'flat',
-    'plandata' => "setup_fee=$amount",
-    'freq'     => 0,
-    'disabled' => 'Y',
-    'taxclass' => $taxclass,
-  } );
-
-  my $error = $part_pkg->insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  my $pkgpart = $part_pkg->pkgpart;
-  my %type_pkgs = ( 'typenum' => $self->agent->typenum, 'pkgpart' => $pkgpart );
-  unless ( qsearchs('type_pkgs', \%type_pkgs ) ) {
-    my $type_pkgs = new FS::type_pkgs \%type_pkgs;
-    $error = $type_pkgs->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $cust_pkg = new FS::cust_pkg ( {
-    'custnum' => $self->custnum,
-    'pkgpart' => $pkgpart,
-  } );
-
-  $error = $cust_pkg->insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item cust_bill
-
-Returns all the invoices (see L<FS::cust_bill>) for this customer.
-
-=cut
-
-sub cust_bill {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch('cust_bill', { 'custnum' => $self->custnum, } )
-}
-
-=item open_cust_bill
-
-Returns all the open (owed > 0) invoices (see L<FS::cust_bill>) for this
-customer.
-
-=cut
-
-sub open_cust_bill {
-  my $self = shift;
-  grep { $_->owed > 0 } $self->cust_bill;
-}
-
-=item cust_credit
-
-Returns all the credits (see L<FS::cust_credit>) for this customer.
-
-=cut
-
-sub cust_credit {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_credit', { 'custnum' => $self->custnum } )
-}
-
-=item cust_pay
-
-Returns all the payments (see L<FS::cust_pay>) for this customer.
-
-=cut
-
-sub cust_pay {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_pay', { 'custnum' => $self->custnum } )
-}
-
-=item cust_pay_void
-
-Returns all voided payments (see L<FS::cust_pay_void>) for this customer.
-
-=cut
-
-sub cust_pay_void {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_pay_void', { 'custnum' => $self->custnum } )
-}
-
-
-=item cust_refund
-
-Returns all the refunds (see L<FS::cust_refund>) for this customer.
-
-=cut
-
-sub cust_refund {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_refund', { 'custnum' => $self->custnum } )
-}
-
-=item select_for_update
-
-Selects this record with the SQL "FOR UPDATE" command.  This can be useful as
-a mutex.
-
-=cut
-
-sub select_for_update {
-  my $self = shift;
-  qsearch('cust_main', { 'custnum' => $self->custnum }, '*', 'FOR UPDATE' );
-}
-
-=item name
-
-Returns a name string for this customer, either "Company (Last, First)" or
-"Last, First".
-
-=cut
-
-sub name {
-  my $self = shift;
-  my $name = $self->contact;
-  $name = $self->company. " ($name)" if $self->company;
-  $name;
-}
-
-=item ship_name
-
-Returns a name string for this (service/shipping) contact, either
-"Company (Last, First)" or "Last, First".
-
-=cut
-
-sub ship_name {
-  my $self = shift;
-  if ( $self->get('ship_last') ) { 
-    my $name = $self->ship_contact;
-    $name = $self->ship_company. " ($name)" if $self->ship_company;
-    $name;
-  } else {
-    $self->name;
-  }
-}
-
-=item contact
-
-Returns this customer's full (billing) contact name only, "Last, First"
-
-=cut
-
-sub contact {
-  my $self = shift;
-  $self->get('last'). ', '. $self->first;
-}
-
-=item ship_contact
-
-Returns this customer's full (shipping) contact name only, "Last, First"
-
-=cut
-
-sub ship_contact {
-  my $self = shift;
-  $self->get('ship_last')
-    ? $self->get('ship_last'). ', '. $self->ship_first
-    : $self->contact;
-}
-
-=item status
-
-Returns a status string for this customer, currently:
-
-=over 4
-
-=item prospect - No packages have ever been ordered
-
-=item active - One or more recurring packages is active
-
-=item suspended - All non-cancelled recurring packages are suspended
-
-=item cancelled - All recurring packages are cancelled
-
-=back
-
-=cut
-
-sub status {
-  my $self = shift;
-  for my $status (qw( prospect active suspended cancelled )) {
-    my $method = $status.'_sql';
-    my $numnum = ( my $sql = $self->$method() ) =~ s/cust_main\.custnum/?/g;
-    my $sth = dbh->prepare("SELECT $sql") or die dbh->errstr;
-    $sth->execute( ($self->custnum) x $numnum ) or die $sth->errstr;
-    return $status if $sth->fetchrow_arrayref->[0];
-  }
-}
-
-=item statuscolor
-
-Returns a hex triplet color string for this customer's status.
-
-=cut
-
-my %statuscolor = (
-  'prospect'  => '000000',
-  'active'    => '00CC00',
-  'suspended' => 'FF9900',
-  'cancelled' => 'FF0000',
-);
-sub statuscolor {
-  my $self = shift;
-  $statuscolor{$self->status};
-}
-
-=back
-
-=head1 CLASS METHODS
-
-=over 4
-
-=item prospect_sql
-
-Returns an SQL expression identifying prospective cust_main records (customers
-with no packages ever ordered)
-
-=cut
-
-sub prospect_sql { "
-  0 = ( SELECT COUNT(*) FROM cust_pkg
-          WHERE cust_pkg.custnum = cust_main.custnum
-      )
-"; }
-
-=item active_sql
-
-Returns an SQL expression identifying active cust_main records.
-
-=cut
-
-sub active_sql { "
-  0 < ( SELECT COUNT(*) FROM cust_pkg
-          WHERE cust_pkg.custnum = cust_main.custnum
-            AND ". FS::cust_pkg->active_sql. "
-      )
-"; }
-
-=item susp_sql
-=item suspended_sql
-
-Returns an SQL expression identifying suspended cust_main records.
-
-=cut
-
-#my $recurring_sql = FS::cust_pkg->recurring_sql;
-my $recurring_sql = "
-  '0' != ( select freq from part_pkg
-             where cust_pkg.pkgpart = part_pkg.pkgpart )
-";
-
-sub suspended_sql { susp_sql(@_); }
-sub susp_sql { "
-    0 < ( SELECT COUNT(*) FROM cust_pkg
-            WHERE cust_pkg.custnum = cust_main.custnum
-              AND $recurring_sql
-              AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 )
-        )
-    AND 0 = ( SELECT COUNT(*) FROM cust_pkg
-                WHERE cust_pkg.custnum = cust_main.custnum
-                  AND ". FS::cust_pkg->active_sql. "
-            )
-"; }
-
-=item cancel_sql
-=item cancelled_sql
-
-Returns an SQL expression identifying cancelled cust_main records.
-
-=cut
-
-sub cancelled_sql { cancel_sql(@_); }
-sub cancel_sql { "
-  0 < ( SELECT COUNT(*) FROM cust_pkg
-          WHERE cust_pkg.custnum = cust_main.custnum
-      )
-  AND 0 = ( SELECT COUNT(*) FROM cust_pkg
-              WHERE cust_pkg.custnum = cust_main.custnum
-                AND $recurring_sql
-                AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 )
-          )
-"; }
-
-=item fuzzy_search FUZZY_HASHREF [ HASHREF, SELECT, EXTRA_SQL, CACHE_OBJ ]
-
-Performs a fuzzy (approximate) search and returns the matching FS::cust_main
-records.  Currently, only I<last> or I<company> may be specified (the
-appropriate ship_ field is also searched if applicable).
-
-Additional options are the same as FS::Record::qsearch
-
-=cut
-
-sub fuzzy_search {
-  my( $self, $fuzzy, $hash, @opt) = @_;
-  #$self
-  $hash ||= {};
-  my @cust_main = ();
-
-  check_and_rebuild_fuzzyfiles();
-  foreach my $field ( keys %$fuzzy ) {
-    my $sub = \&{"all_$field"};
-    my %match = ();
-    $match{$_}=1 foreach ( amatch($fuzzy->{$field}, ['i'], @{ &$sub() } ) );
-
-    foreach ( keys %match ) {
-      push @cust_main, qsearch('cust_main', { %$hash, $field=>$_}, @opt);
-      push @cust_main, qsearch('cust_main', { %$hash, "ship_$field"=>$_}, @opt)
-        if defined dbdef->table('cust_main')->column('ship_last');
-    }
-  }
-
-  my %saw = ();
-  @cust_main = grep { !$saw{$_->custnum}++ } @cust_main;
-
-  @cust_main;
-
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item smart_search OPTION => VALUE ...
-
-Accepts the following options: I<search>, the string to search for.  The string
-will be searched for as a customer number, last name or company name, first
-searching for an exact match then fuzzy and substring matches.
-
-Any additional options treated as an additional qualifier on the search
-(i.e. I<agentnum>).
-
-Returns a (possibly empty) array of FS::cust_main objects.
-
-=cut
-
-sub smart_search {
-  my %options = @_;
-  my $search = delete $options{'search'};
-  my @cust_main = ();
-
-  if ( $search =~ /^\s*(\d+)\s*$/ ) { # customer # search
-
-    push @cust_main, qsearch('cust_main', { 'custnum' => $1, %options } );
-
-  } elsif ( $search =~ /^\s*(\S.*\S)\s*$/ ) { #value search
-
-    my $value = lc($1);
-    my $q_value = dbh->quote($value);
-
-    #exact
-    my $sql = scalar(keys %options) ? ' AND ' : ' WHERE ';
-    $sql .= " ( LOWER(last) = $q_value OR LOWER(company) = $q_value";
-    $sql .= " OR LOWER(ship_last) = $q_value OR LOWER(ship_company) = $q_value"
-      if defined dbdef->table('cust_main')->column('ship_last');
-    $sql .= ' )';
-
-    push @cust_main, qsearch( 'cust_main', \%options, '', $sql );
-
-    unless ( @cust_main ) {  #no exact match, trying substring/fuzzy
-
-      #still some false laziness w/ search/cust_main.cgi
-
-      #substring
-      push @cust_main, qsearch( 'cust_main',
-                                { 'last'     => { 'op'    => 'ILIKE',
-                                                  'value' => "%$q_value%" },
-                                  %options,
-                                }
-                              );
-      push @cust_main, qsearch( 'cust_main',
-                                { 'ship_last' => { 'op'    => 'ILIKE',
-                                                   'value' => "%$q_value%" },
-                                  %options,
-
-                                }
-                              )
-        if defined dbdef->table('cust_main')->column('ship_last');
-
-      push @cust_main, qsearch( 'cust_main',
-                                { 'company'  => { 'op'    => 'ILIKE',
-                                                  'value' => "%$q_value%" },
-                                  %options,
-                                }
-                              );
-      push @cust_main, qsearch( 'cust_main',
-                                { 'ship_company' => { 'op' => 'ILIKE',
-                                                   'value' => "%$q_value%" },
-                                  %options,
-                                }
-                              )
-        if defined dbdef->table('cust_main')->column('ship_last');
-
-      #fuzzy
-      push @cust_main, FS::cust_main->fuzzy_search(
-        { 'last'     => $value },
-        \%options,
-      );
-      push @cust_main, FS::cust_main->fuzzy_search(
-        { 'company'  => $value },
-        \%options,
-      );
-
-    }
-
-  }
-
-  @cust_main;
-
-}
-
-=item check_and_rebuild_fuzzyfiles
-
-=cut
-
-sub check_and_rebuild_fuzzyfiles {
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  -e "$dir/cust_main.last" && -e "$dir/cust_main.company"
-    or &rebuild_fuzzyfiles;
-}
-
-=item rebuild_fuzzyfiles
-
-=cut
-
-sub rebuild_fuzzyfiles {
-
-  use Fcntl qw(:flock);
-
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-
-  #last
-
-  open(LASTLOCK,">>$dir/cust_main.last")
-    or die "can't open $dir/cust_main.last: $!";
-  flock(LASTLOCK,LOCK_EX)
-    or die "can't lock $dir/cust_main.last: $!";
-
-  my @all_last = map $_->getfield('last'), qsearch('cust_main', {});
-  push @all_last,
-                 grep $_, map $_->getfield('ship_last'), qsearch('cust_main',{})
-    if defined dbdef->table('cust_main')->column('ship_last');
-
-  open (LASTCACHE,">$dir/cust_main.last.tmp")
-    or die "can't open $dir/cust_main.last.tmp: $!";
-  print LASTCACHE join("\n", @all_last), "\n";
-  close LASTCACHE or die "can't close $dir/cust_main.last.tmp: $!";
-
-  rename "$dir/cust_main.last.tmp", "$dir/cust_main.last";
-  close LASTLOCK;
-
-  #company
-
-  open(COMPANYLOCK,">>$dir/cust_main.company")
-    or die "can't open $dir/cust_main.company: $!";
-  flock(COMPANYLOCK,LOCK_EX)
-    or die "can't lock $dir/cust_main.company: $!";
-
-  my @all_company = grep $_ ne '', map $_->company, qsearch('cust_main',{});
-  push @all_company,
-       grep $_ ne '', map $_->ship_company, qsearch('cust_main', {})
-    if defined dbdef->table('cust_main')->column('ship_last');
-
-  open (COMPANYCACHE,">$dir/cust_main.company.tmp")
-    or die "can't open $dir/cust_main.company.tmp: $!";
-  print COMPANYCACHE join("\n", @all_company), "\n";
-  close COMPANYCACHE or die "can't close $dir/cust_main.company.tmp: $!";
-
-  rename "$dir/cust_main.company.tmp", "$dir/cust_main.company";
-  close COMPANYLOCK;
-
-}
-
-=item all_last
-
-=cut
-
-sub all_last {
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  open(LASTCACHE,"<$dir/cust_main.last")
-    or die "can't open $dir/cust_main.last: $!";
-  my @array = map { chomp; $_; } <LASTCACHE>;
-  close LASTCACHE;
-  \@array;
-}
-
-=item all_company
-
-=cut
-
-sub all_company {
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  open(COMPANYCACHE,"<$dir/cust_main.company")
-    or die "can't open $dir/cust_main.last: $!";
-  my @array = map { chomp; $_; } <COMPANYCACHE>;
-  close COMPANYCACHE;
-  \@array;
-}
-
-=item append_fuzzyfiles LASTNAME COMPANY
-
-=cut
-
-sub append_fuzzyfiles {
-  my( $last, $company ) = @_;
-
-  &check_and_rebuild_fuzzyfiles;
-
-  use Fcntl qw(:flock);
-
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-
-  if ( $last ) {
-
-    open(LAST,">>$dir/cust_main.last")
-      or die "can't open $dir/cust_main.last: $!";
-    flock(LAST,LOCK_EX)
-      or die "can't lock $dir/cust_main.last: $!";
-
-    print LAST "$last\n";
-
-    flock(LAST,LOCK_UN)
-      or die "can't unlock $dir/cust_main.last: $!";
-    close LAST;
-  }
-
-  if ( $company ) {
-
-    open(COMPANY,">>$dir/cust_main.company")
-      or die "can't open $dir/cust_main.company: $!";
-    flock(COMPANY,LOCK_EX)
-      or die "can't lock $dir/cust_main.company: $!";
-
-    print COMPANY "$company\n";
-
-    flock(COMPANY,LOCK_UN)
-      or die "can't unlock $dir/cust_main.company: $!";
-
-    close COMPANY;
-  }
-
-  1;
-}
-
-=item batch_import
-
-=cut
-
-sub batch_import {
-  my $param = shift;
-  #warn join('-',keys %$param);
-  my $fh = $param->{filehandle};
-  my $agentnum = $param->{agentnum};
-  my $refnum = $param->{refnum};
-  my $pkgpart = $param->{pkgpart};
-  my @fields = @{$param->{fields}};
-
-  eval "use Date::Parse;";
-  die $@ if $@;
-  eval "use Text::CSV_XS;";
-  die $@ if $@;
-
-  my $csv = new Text::CSV_XS;
-  #warn $csv;
-  #warn $fh;
-
-  my $imported = 0;
-  #my $columns;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-  
-  #while ( $columns = $csv->getline($fh) ) {
-  my $line;
-  while ( defined($line=<$fh>) ) {
-
-    $csv->parse($line) or do {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't parse: ". $csv->error_input();
-    };
-
-    my @columns = $csv->fields();
-    #warn join('-',@columns);
-
-    my %cust_main = (
-      agentnum => $agentnum,
-      refnum   => $refnum,
-      country  => $conf->config('countrydefault') || 'US',
-      payby    => 'BILL', #default
-      paydate  => '12/2037', #default
-    );
-    my $billtime = time;
-    my %cust_pkg = ( pkgpart => $pkgpart );
-    foreach my $field ( @fields ) {
-      if ( $field =~ /^cust_pkg\.(setup|bill|susp|expire|cancel)$/ ) {
-        #$cust_pkg{$1} = str2time( shift @$columns );
-        if ( $1 eq 'setup' ) {
-          $billtime = str2time(shift @columns);
-        } else {
-          $cust_pkg{$1} = str2time( shift @columns );
-        }
-      } else {
-        #$cust_main{$field} = shift @$columns; 
-        $cust_main{$field} = shift @columns; 
-      }
-    }
-
-    my $cust_pkg = new FS::cust_pkg ( \%cust_pkg ) if $pkgpart;
-    my $cust_main = new FS::cust_main ( \%cust_main );
-    use Tie::RefHash;
-    tie my %hash, 'Tie::RefHash'; #this part is important
-    $hash{$cust_pkg} = [] if $pkgpart;
-    my $error = $cust_main->insert( \%hash );
-
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't insert customer for $line: $error";
-    }
-
-    #false laziness w/bill.cgi
-    $error = $cust_main->bill( 'time' => $billtime );
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't bill customer for $line: $error";
-    }
-
-    $cust_main->apply_payments;
-    $cust_main->apply_credits;
-
-    $error = $cust_main->collect();
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't collect customer for $line: $error";
-    }
-
-    $imported++;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  return "Empty file!" unless $imported;
-
-  ''; #no error
-
-}
-
-=item batch_charge
-
-=cut
-
-sub batch_charge {
-  my $param = shift;
-  #warn join('-',keys %$param);
-  my $fh = $param->{filehandle};
-  my @fields = @{$param->{fields}};
-
-  eval "use Date::Parse;";
-  die $@ if $@;
-  eval "use Text::CSV_XS;";
-  die $@ if $@;
-
-  my $csv = new Text::CSV_XS;
-  #warn $csv;
-  #warn $fh;
-
-  my $imported = 0;
-  #my $columns;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-  
-  #while ( $columns = $csv->getline($fh) ) {
-  my $line;
-  while ( defined($line=<$fh>) ) {
-
-    $csv->parse($line) or do {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't parse: ". $csv->error_input();
-    };
-
-    my @columns = $csv->fields();
-    #warn join('-',@columns);
-
-    my %row = ();
-    foreach my $field ( @fields ) {
-      $row{$field} = shift @columns;
-    }
-
-    my $cust_main = qsearchs('cust_main', { 'custnum' => $row{'custnum'} } );
-    unless ( $cust_main ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "unknown custnum $row{'custnum'}";
-    }
-
-    if ( $row{'amount'} > 0 ) {
-      my $error = $cust_main->charge($row{'amount'}, $row{'pkg'});
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-      $imported++;
-    } elsif ( $row{'amount'} < 0 ) {
-      my $error = $cust_main->credit( sprintf( "%.2f", 0-$row{'amount'} ),
-                                      $row{'pkg'}                         );
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-      $imported++;
-    } else {
-      #hmm?
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  return "Empty file!" unless $imported;
-
-  ''; #no error
-
-}
-
-=back
-
-=head1 BUGS
-
-The delete method.
-
-The delete method should possibly take an FS::cust_main object reference
-instead of a scalar customer number.
-
-Bill and collect options should probably be passed as references instead of a
-list.
-
-There should probably be a configuration file with a list of allowed credit
-card types.
-
-No multiple currency support (probably a larger project than just this module).
-
-payinfo_masked false laziness with cust_pay.pm and cust_refund.pm
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_pkg>, L<FS::cust_bill>, L<FS::cust_credit>
-L<FS::agent>, L<FS::part_referral>, L<FS::cust_main_county>,
-L<FS::cust_main_invoice>, L<FS::UID>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm
deleted file mode 100644 (file)
index a114c5a..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-package FS::cust_main_Mixin;
-
-use strict;
-use FS::cust_main;
-
-=head1 NAME
-
-FS::cust_main_Mixin - Mixin class for records that contain fields from cust_main
-
-=head1 SYNOPSIS
-
-package FS::some_table;
-use vars qw(@ISA);
-@ISA = qw( FS::cust_main_Mixin FS::Record );
-
-=head1 DESCRIPTION
-
-This is a mixin class for records that contain fields from the cust_main table,
-for example, from a JOINed search.  See httemplate/search/ for examples.
-
-=head1 METHODS
-
-=over 4
-
-=item name
-
-Given an object that contains fields from cust_main (say, from a JOINed
-search; see httemplate/search/ for examples), returns the equivalent of the
-FS::cust_main I<name> method, or "(unlinked)" if this object is not linked to
-a customer.
-
-=cut
-
-sub cust_unlinked_msg { '(unlinked)'; }
-sub cust_linked { $_[0]->custnum; }
-
-sub name {
-  my $self = shift;
-  $self->cust_linked
-    ? FS::cust_main::name($self)
-    : $self->cust_unlinked_msg;
-}
-
-=item ship_name
-
-Given an object that contains fields from cust_main (say, from a JOINed
-search; see httemplate/search/ for examples), returns the equivalent of the
-FS::cust_main I<ship_name> method, or "(unlinked)" if this object is not
-linked to a customer.
-
-=cut
-
-sub ship_name {
-  my $self = shift;
-  $self->cust_linked
-    ? FS::cust_main::ship_name($self)
-    : $self->cust_unlinked_msg;
-}
-
-=item contact
-
-Given an object that contains fields from cust_main (say, from a JOINed
-search; see httemplate/search/ for examples), returns the equivalent of the
-FS::cust_main I<contact> method, or "(unlinked)" if this object is not linked
-to a customer.
-
-=cut
-
-sub contact {
-  my $self = shift;
-  $self->cust_linked
-    ? FS::cust_main::contact($self)
-    : $self->cust_unlinked_msg;
-}
-
-=item ship_contact
-
-Given an object that contains fields from cust_main (say, from a JOINed
-search; see httemplate/search/ for examples), returns the equivalent of the
-FS::cust_main I<ship_contact> method, or "(unlinked)" if this object is not
-linked to a customer.
-
-=cut
-
-sub ship_contact {
-  my $self = shift;
-  $self->cust_linked
-    ? FS::cust_main::ship_contact($self)
-    : $self->cust_unlinked_msg;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::cust_main>, L<FS::Record>
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_main_county.pm b/FS/FS/cust_main_county.pm
deleted file mode 100644 (file)
index 17f3460..0000000
+++ /dev/null
@@ -1,291 +0,0 @@
-package FS::cust_main_county;
-
-use strict;
-use vars qw( @ISA @EXPORT_OK $conf
-             @cust_main_county %cust_main_county $countyflag );
-use Exporter;
-use FS::Record qw( qsearch );
-
-@ISA = qw( FS::Record );
-@EXPORT_OK = qw( regionselector );
-
-@cust_main_county = ();
-$countyflag = '';
-
-#ask FS::UID to run this stuff for us later
-$FS::UID::callback{'FS::cust_main_county'} = sub { 
-  $conf = new FS::Conf;
-};
-
-=head1 NAME
-
-FS::cust_main_county - Object methods for cust_main_county objects
-
-=head1 SYNOPSIS
-
-  use FS::cust_main_county;
-
-  $record = new FS::cust_main_county \%hash;
-  $record = new FS::cust_main_county { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  ($county_html, $state_html, $country_html) =
-    FS::cust_main_county::regionselector( $county, $state, $country );
-
-=head1 DESCRIPTION
-
-An FS::cust_main_county object represents a tax rate, defined by locale.
-FS::cust_main_county inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item taxnum - primary key (assigned automatically for new tax rates)
-
-=item state
-
-=item county
-
-=item country
-
-=item tax - percentage
-
-=item taxclass
-
-=item exempt_amount
-
-=item taxname - if defined, printed on invoices instead of "Tax"
-
-=item setuptax - if 'Y', this tax does not apply to setup fees
-
-=item recurtax - if 'Y', this tax does not apply to recurring fees
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new tax rate.  To add the tax rate to the database, see L<"insert">.
-
-=cut
-
-sub table { 'cust_main_county'; }
-
-=item insert
-
-Adds this tax rate to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this tax rate from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid tax rate.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  $self->exempt_amount(0) unless $self->exempt_amount;
-
-  $self->ut_numbern('taxnum')
-    || $self->ut_anything('state')
-    || $self->ut_textn('county')
-    || $self->ut_text('country')
-    || $self->ut_float('tax')
-    || $self->ut_textn('taxclass') # ...
-    || $self->ut_money('exempt_amount')
-    || $self->ut_textn('taxname')
-    || $self->ut_enum('setuptax', [ '', 'Y' ] )
-    || $self->ut_enum('recurtax', [ '', 'Y' ] )
-    || $self->SUPER::check
-    ;
-
-}
-
-sub taxname {
-  my $self = shift;
-  if ( $self->dbdef_table->column('taxname') ) {
-    return $self->setfield('taxname', $_[0]) if @_;
-    return $self->getfield('taxname');
-  }  
-  return '';
-}
-
-sub setuptax {
-  my $self = shift;
-  if ( $self->dbdef_table->column('setuptax') ) {
-    return $self->setfield('setuptax', $_[0]) if @_;
-    return $self->getfield('setuptax');
-  }  
-  return '';
-}
-
-sub recurtax {
-  my $self = shift;
-  if ( $self->dbdef_table->column('recurtax') ) {
-    return $self->setfield('recurtax', $_[0]) if @_;
-    return $self->getfield('recurtax');
-  }  
-  return '';
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item regionselector [ COUNTY STATE COUNTRY [ PREFIX [ ONCHANGE [ DISABLED ] ] ] ]
-
-=cut
-
-sub regionselector {
-  my ( $selected_county, $selected_state, $selected_country,
-       $prefix, $onchange, $disabled ) = @_;
-
-  $prefix = '' unless defined $prefix;
-
-  $countyflag = 0;
-
-#  unless ( @cust_main_county ) { #cache 
-    @cust_main_county = qsearch('cust_main_county', {} );
-    foreach my $c ( @cust_main_county ) {
-      $countyflag=1 if $c->county;
-      #push @{$cust_main_county{$c->country}{$c->state}}, $c->county;
-      $cust_main_county{$c->country}{$c->state}{$c->county} = 1;
-    }
-#  }
-  $countyflag=1 if $selected_county;
-
-  my $script_html = <<END;
-    <SCRIPT>
-    function opt(what,value,text) {
-      var optionName = new Option(text, value, false, false);
-      var length = what.length;
-      what.options[length] = optionName;
-    }
-    function ${prefix}country_changed(what) {
-      country = what.options[what.selectedIndex].text;
-      for ( var i = what.form.${prefix}state.length; i >= 0; i-- )
-          what.form.${prefix}state.options[i] = null;
-END
-      #what.form.${prefix}state.options[0] = new Option('', '', false, true);
-
-  foreach my $country ( sort keys %cust_main_county ) {
-    $script_html .= "\nif ( country == \"$country\" ) {\n";
-    foreach my $state ( sort keys %{$cust_main_county{$country}} ) {
-      ( my $dstate = $state ) =~ s/[\n\r]//g;
-      my $text = $dstate || '(n/a)';
-      $script_html .= qq!opt(what.form.${prefix}state, "$dstate", "$text");\n!;
-    }
-    $script_html .= "}\n";
-  }
-
-  $script_html .= <<END;
-    }
-    function ${prefix}state_changed(what) {
-END
-
-  if ( $countyflag ) {
-    $script_html .= <<END;
-      state = what.options[what.selectedIndex].text;
-      country = what.form.${prefix}country.options[what.form.${prefix}country.selectedIndex].text;
-      for ( var i = what.form.${prefix}county.length; i >= 0; i-- )
-          what.form.${prefix}county.options[i] = null;
-END
-
-    foreach my $country ( sort keys %cust_main_county ) {
-      $script_html .= "\nif ( country == \"$country\" ) {\n";
-      foreach my $state ( sort keys %{$cust_main_county{$country}} ) {
-        $script_html .= "\nif ( state == \"$state\" ) {\n";
-          #foreach my $county ( sort @{$cust_main_county{$country}{$state}} ) {
-          foreach my $county ( sort keys %{$cust_main_county{$country}{$state}} ) {
-            my $text = $county || '(n/a)';
-            $script_html .=
-              qq!opt(what.form.${prefix}county, "$county", "$text");\n!;
-          }
-        $script_html .= "}\n";
-      }
-      $script_html .= "}\n";
-    }
-  }
-
-  $script_html .= <<END;
-    }
-    </SCRIPT>
-END
-
-  my $county_html = $script_html;
-  if ( $countyflag ) {
-    $county_html .= qq!<SELECT NAME="${prefix}county" onChange="$onchange" $disabled>!;
-    $county_html .= '</SELECT>';
-  } else {
-    $county_html .=
-      qq!<INPUT TYPE="hidden" NAME="${prefix}county" VALUE="$selected_county">!;
-  }
-
-  my $state_html = qq!<SELECT NAME="${prefix}state" !.
-                   qq!onChange="${prefix}state_changed(this); $onchange" $disabled>!;
-  foreach my $state ( sort keys %{ $cust_main_county{$selected_country} } ) {
-    my $text = $state || '(n/a)';
-    my $selected = $state eq $selected_state ? 'SELECTED' : '';
-    $state_html .= qq(\n<OPTION $selected VALUE="$state">$text</OPTION>);
-  }
-  $state_html .= '</SELECT>';
-
-  $state_html .= '</SELECT>';
-
-  my $country_html = qq!<SELECT NAME="${prefix}country" !.
-                     qq!onChange="${prefix}country_changed(this); $onchange" $disabled>!;
-  my $countrydefault = $conf->config('countrydefault') || 'US';
-  foreach my $country (
-    sort { ($b eq $countrydefault) <=> ($a eq $countrydefault) or $a cmp $b }
-      keys %cust_main_county
-  ) {
-    my $selected = $country eq $selected_country ? ' SELECTED' : '';
-    $country_html .= qq(\n<OPTION$selected VALUE="$country">$country</OPTION>");
-  }
-  $country_html .= '</SELECT>';
-
-  ($county_html, $state_html, $country_html);
-
-}
-
-=back
-
-=head1 BUGS
-
-regionselector?  putting web ui components in here?  they should probably live
-somewhere else...
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_main>, L<FS::cust_bill>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_main_invoice.pm b/FS/FS/cust_main_invoice.pm
deleted file mode 100644 (file)
index 48f47e0..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-package FS::cust_main_invoice;
-
-use strict;
-use vars qw(@ISA $conf);
-use Exporter;
-use FS::Record qw( qsearchs );
-use FS::Conf;
-use FS::cust_main;
-use FS::svc_acct;
-use FS::Msgcat qw(gettext);
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::cust_main_invoice - Object methods for cust_main_invoice records
-
-=head1 SYNOPSIS
-
-  use FS::cust_main_invoice;
-
-  $record = new FS::cust_main_invoice \%hash;
-  $record = new FS::cust_main_invoice { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $email_address = $record->address;
-
-=head1 DESCRIPTION
-
-An FS::cust_main_invoice object represents an invoice destination.  FS::cust_main_invoice inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item destnum - primary key
-
-=item custnum - customer (see L<FS::cust_main>)
-
-=item dest - Invoice destination: If numeric, a svcnum (see L<FS::svc_acct>), if string, a literal email address, `POST' to enable mailing (the default if no cust_main_invoice records exist), or `FAX' to enable faxing via a HylaFAX server.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new invoice destination.  To add the invoice destination to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'cust_main_invoice'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Delete this record from the database.
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-
-  return "Can't change custnum!" unless $old->custnum == $new->custnum;
-
-  $new->SUPER::replace($old);
-}
-
-
-=item check
-
-Checks all fields to make sure this is a valid invoice destination.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and repalce methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = $self->ut_numbern('destnum')
-           || $self->ut_number('custnum')
-           || $self->checkdest;
-  ;
-  return $error if $error;
-
-  return "Unknown customer"
-    unless qsearchs('cust_main',{ 'custnum' => $self->custnum });
-
-  $self->SUPER::check;
-}
-
-=item checkdest
-
-Checks the dest field only.
-
-#If it finds that the account ends in the
-#same domain configured as the B<domain> configuration file, it will change the
-#invoice destination from an email address to a service number (see
-#L<FS::svc_acct>).
-
-=cut
-
-sub checkdest { 
-  my $self = shift;
-
-  my $error = $self->ut_text('dest');
-  return $error if $error;
-
-  if ( $self->dest =~ /^(POST|FAX)$/ ) {
-    #contemplate our navel
-  } elsif ( $self->dest =~ /^(\d+)$/ ) {
-    return "Unknown local account (specified by svcnum: ". $self->dest. ")"
-      unless qsearchs( 'svc_acct', { 'svcnum' => $self->dest } );
-  } elsif ( $self->dest =~ /^([\w\.\-\&\+]+)\@(([\w\.\-]+\.)+\w+)$/ ) {
-    my($user, $domain) = ($1, $2);
-    $self->dest("$1\@$2");
-  } else {
-    return gettext("illegal_email_invoice_address"). ': '. $self->dest;
-  }
-
-  ''; #no error
-}
-
-=item address
-
-Returns the literal email address for this record (or `POST' or `FAX').
-
-=cut
-
-sub address {
-  my $self = shift;
-  if ( $self->dest =~ /^(\d+)$/ ) {
-    my $svc_acct = qsearchs( 'svc_acct', { 'svcnum' => $1 } )
-      or return undef;
-    $svc_acct->email;
-  } else {
-    $self->dest;
-  }
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_main>
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm
deleted file mode 100644 (file)
index f057d2f..0000000
+++ /dev/null
@@ -1,568 +0,0 @@
-package FS::cust_pay;
-
-use strict;
-use vars qw( @ISA $conf $unsuspendauto $ignore_noapply );
-use Date::Format;
-use Business::CreditCard;
-use Text::Template;
-use FS::Misc qw(send_email);
-use FS::Record qw( dbh qsearch qsearchs );
-use FS::cust_main_Mixin;
-use FS::cust_bill;
-use FS::cust_bill_pay;
-use FS::cust_pay_refund;
-use FS::cust_main;
-use FS::cust_pay_void;
-
-@ISA = qw( FS::cust_main_Mixin FS::Record );
-
-$ignore_noapply = 0;
-
-#ask FS::UID to run this stuff for us later
-FS::UID->install_callback( sub { 
-  $conf = new FS::Conf;
-  $unsuspendauto = $conf->exists('unsuspendauto');
-} );
-
-=head1 NAME
-
-FS::cust_pay - Object methods for cust_pay objects
-
-=head1 SYNOPSIS
-
-  use FS::cust_pay;
-
-  $record = new FS::cust_pay \%hash;
-  $record = new FS::cust_pay { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_pay object represents a payment; the transfer of money from a
-customer.  FS::cust_pay inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item paynum - primary key (assigned automatically for new payments)
-
-=item custnum - customer (see L<FS::cust_main>)
-
-=item paid - Amount of this payment
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=item payby - `CARD' (credit cards), `CHEK' (electronic check/ACH),
-`LECB' (phone bill billing), `BILL' (billing), `PREP` (prepaid card),
-`CASH' (cash), `WEST' (Western Union), `MCRD' (Manual credit card), or
-`COMP' (free)
-
-=item payinfo - card number, check #, or comp issuer (4-8 lowercase alphanumerics; think username), respectively
-
-=item paybatch - text field for tracking card processing
-
-=item closed - books closed flag, empty or `Y'
-
-=back
-
-=head1 METHODS
-
-=over 4 
-
-=item new HASHREF
-
-Creates a new payment.  To add the payment to the databse, see L<"insert">.
-
-=cut
-
-sub table { 'cust_pay'; }
-sub cust_linked { $_[0]->cust_main_custnum; } 
-sub cust_unlinked_msg {
-  my $self = shift;
-  "WARNING: can't find cust_main.custnum ". $self->custnum.
-  ' (cust_pay.paynum '. $self->paynum. ')';
-}
-
-=item insert
-
-Adds this payment to the database.
-
-For backwards-compatibility and convenience, if the additional field invnum
-is defined, an FS::cust_bill_pay record for the full amount of the payment
-will be created.  In this case, custnum is optional.
-
-=cut
-
-sub insert {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  if ( $self->invnum ) {
-    my $cust_bill = qsearchs('cust_bill', { 'invnum' => $self->invnum } )
-      or do {
-        $dbh->rollback if $oldAutoCommit;
-        return "Unknown cust_bill.invnum: ". $self->invnum;
-      };
-    $self->custnum($cust_bill->custnum );
-  }
-
-
-  my $error = $self->check;
-  return $error if $error;
-
-  my $cust_main = $self->cust_main;
-  my $old_balance = $cust_main->balance;
-
-  $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "error inserting $self: $error";
-  }
-
-  if ( $self->invnum ) {
-    my $cust_bill_pay = new FS::cust_bill_pay {
-      'invnum' => $self->invnum,
-      'paynum' => $self->paynum,
-      'amount' => $self->paid,
-      '_date'  => $self->_date,
-    };
-    $error = $cust_bill_pay->insert;
-    if ( $error ) {
-      if ( $ignore_noapply ) {
-        warn "warning: error inserting $cust_bill_pay: $error ".
-             "(ignore_noapply flag set; inserting cust_pay record anyway)\n";
-      } else {
-        $dbh->rollback if $oldAutoCommit;
-        return "error inserting $cust_bill_pay: $error";
-      }
-    }
-  }
-
-  if ( $self->paybatch =~ /^webui-/ ) {
-    my @cust_pay = qsearch('cust_pay', {
-      'custnum' => $self->custnum,
-      'paybatch' => $self->paybatch,
-    } );
-    if ( scalar(@cust_pay) > 1 ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "a payment with webui token ". $self->paybatch. " already exists";
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  #false laziness w/ cust_credit::insert
-  if ( $unsuspendauto && $old_balance && $cust_main->balance <= 0 ) {
-    my @errors = $cust_main->unsuspend;
-    #return 
-    # side-fx with nested transactions?  upstack rolls back?
-    warn "WARNING:Errors unsuspending customer ". $cust_main->custnum. ": ".
-         join(' / ', @errors)
-      if @errors;
-  }
-  #eslaf
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  #my $cust_main = $self->cust_main;
-  if ( $conf->exists('payment_receipt_email')
-       && grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list
-  ) {
-
-    my $receipt_template = new Text::Template (
-      TYPE   => 'ARRAY',
-      SOURCE => [ map "$_\n", $conf->config('payment_receipt_email') ],
-    ) or do {
-      warn "can't create payment receipt template: $Text::Template::ERROR";
-      return '';
-    };
-
-    my @invoicing_list = grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list;
-
-    my $payby = $self->payby;
-    my $payinfo = $self->payinfo;
-    $payby =~ s/^BILL$/Check/ if $payinfo;
-    $payinfo = $self->payinfo_masked if $payby eq 'CARD' || $payby eq 'CHEK';
-    $payby =~ s/^CHEK$/Electronic check/;
-
-    my $error = send_email(
-      'from'    => $conf->config('invoice_from'), #??? well as good as any
-      'to'      => \@invoicing_list,
-      'subject' => 'Payment receipt',
-      'body'    => [ $receipt_template->fill_in( HASH => {
-                       'date'    => time2str("%a %B %o, %Y", $self->_date),
-                       'name'    => $cust_main->name,
-                       'paynum'  => $self->paynum,
-                       'paid'    => sprintf("%.2f", $self->paid),
-                       'payby'   => ucfirst(lc($payby)),
-                       'payinfo' => $payinfo,
-                       'balance' => $cust_main->balance,
-                   } ) ],
-    );
-    if ( $error ) {
-      warn "can't send payment receipt: $error";
-    }
-
-  }
-
-  '';
-
-}
-
-=item void [ REASON ]
-
-Voids this payment: deletes the payment and all associated applications and
-adds a record of the voided payment to the FS::cust_pay_void table.
-
-=cut
-
-sub void {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $cust_pay_void = new FS::cust_pay_void ( {
-    map { $_ => $self->get($_) } $self->fields
-  } );
-  $cust_pay_void->reason(shift) if scalar(@_);
-  my $error = $cust_pay_void->insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $error = $self->delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item delete
-
-Deletes this payment and all associated applications (see L<FS::cust_bill_pay>),
-unless the closed flag is set.  In most cases, you want to use the void
-method instead to leave a record of the deleted payment.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't delete closed payment" if $self->closed =~ /^Y/i;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $app ( $self->cust_bill_pay, $self->cust_pay_refund ) {
-    my $error = $app->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $error = $self->SUPER::delete(@_);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $conf->config('deletepayments') ne '' ) {
-
-    my $cust_main = $self->cust_main;
-
-    my $error = send_email(
-      'from'    => $conf->config('invoice_from'), #??? well as good as any
-      'to'      => $conf->config('deletepayments'),
-      'subject' => 'FREESIDE NOTIFICATION: Payment deleted',
-      'body'    => [
-        "This is an automatic message from your Freeside installation\n",
-        "informing you that the following payment has been deleted:\n",
-        "\n",
-        'paynum: '. $self->paynum. "\n",
-        'custnum: '. $self->custnum.
-          " (". $cust_main->last. ", ". $cust_main->first. ")\n",
-        'paid: $'. sprintf("%.2f", $self->paid). "\n",
-        'date: '. time2str("%a %b %e %T %Y", $self->_date). "\n",
-        'payby: '. $self->payby. "\n",
-        'payinfo: '. $self->payinfo. "\n",
-        'paybatch: '. $self->paybatch. "\n",
-      ],
-    );
-
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't send payment deletion notification: $error";
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item replace OLD_RECORD
-
-You probably shouldn't modify payments...
-
-=item check
-
-Checks all fields to make sure this is a valid payment.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert method.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('paynum')
-    || $self->ut_numbern('custnum')
-    || $self->ut_money('paid')
-    || $self->ut_numbern('_date')
-    || $self->ut_textn('paybatch')
-    || $self->ut_enum('closed', [ '', 'Y' ])
-  ;
-  return $error if $error;
-
-  return "paid must be > 0 " if $self->paid <= 0;
-
-  return "unknown cust_main.custnum: ". $self->custnum
-    unless $self->invnum
-           || qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-
-  $self->_date(time) unless $self->_date;
-
-  $self->payby =~ /^(CARD|CHEK|LECB|BILL|COMP|PREP|CASH|WEST|MCRD)$/
-    or return "Illegal payby";
-  $self->payby($1);
-
-  #false laziness with cust_refund::check
-  if ( $self->payby eq 'CARD' ) {
-    my $payinfo = $self->payinfo;
-    $payinfo =~ s/\D//g;
-    $self->payinfo($payinfo);
-    if ( $self->payinfo ) {
-      $self->payinfo =~ /^(\d{13,16})$/
-        or return "Illegal (mistyped?) credit card number (payinfo)";
-      $self->payinfo($1);
-      validate($self->payinfo) or return "Illegal credit card number";
-      return "Unknown card type" if cardtype($self->payinfo) eq "Unknown";
-    } else {
-      $self->payinfo('N/A');
-    }
-
-  } else {
-    $error = $self->ut_textn('payinfo');
-    return $error if $error;
-  }
-
-  $self->SUPER::check;
-}
-
-=item batch_insert CUST_PAY_OBJECT, ...
-
-Class method which inserts multiple payments.  Takes a list of FS::cust_pay
-objects.  Returns a list, each element representing the status of inserting the
-corresponding payment - empty.  If there is an error inserting any payment, the
-entire transaction is rolled back, i.e. all payments are inserted or none are.
-
-For example:
-
-  my @errors = FS::cust_pay->batch_insert(@cust_pay);
-  my $num_errors = scalar(grep $_, @errors);
-  if ( $num_errors == 0 ) {
-    #success; all payments were inserted
-  } else {
-    #failure; no payments were inserted.
-  }
-
-=cut
-
-sub batch_insert {
-  my $self = shift; #class method
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $errors = 0;
-  
-  my @errors = map {
-    my $error = $_->insert;
-    if ( $error ) { 
-      $errors++;
-    } else {
-      $_->cust_main->apply_payments;
-    }
-    $error;
-  } @_;
-
-  if ( $errors ) {
-    $dbh->rollback if $oldAutoCommit;
-  } else {
-    $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  }
-
-  @errors;
-
-}
-
-=item cust_bill_pay
-
-Returns all applications to invoices (see L<FS::cust_bill_pay>) for this
-payment.
-
-=cut
-
-sub cust_bill_pay {
-  my $self = shift;
-  sort {    $a->_date  <=> $b->_date
-         || $a->invnum <=> $b->invnum }
-    qsearch( 'cust_bill_pay', { 'paynum' => $self->paynum } )
-  ;
-}
-
-=item cust_pay_refund
-
-Returns all applications of refunds (see L<FS::cust_pay_refund>) to this
-payment.
-
-=cut
-
-sub cust_pay_refund {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_pay_refund', { 'paynum' => $self->paynum } )
-  ;
-}
-
-
-=item unapplied
-
-Returns the amount of this payment that is still unapplied; which is
-paid minus all payment applications (see L<FS::cust_bill_pay>) and refund
-applications (see L<FS::cust_pay_refund>).
-
-=cut
-
-sub unapplied {
-  my $self = shift;
-  my $amount = $self->paid;
-  $amount -= $_->amount foreach ( $self->cust_bill_pay );
-  $amount -= $_->amount foreach ( $self->cust_pay_refund );
-  sprintf("%.2f", $amount );
-}
-
-=item unrefunded
-
-Returns the amount of this payment that has not been refuned; which is
-paid minus all  refund applications (see L<FS::cust_pay_refund>).
-
-=cut
-
-sub unrefunded {
-  my $self = shift;
-  my $amount = $self->paid;
-  $amount -= $_->amount foreach ( $self->cust_pay_refund );
-  sprintf("%.2f", $amount );
-}
-
-
-=item cust_main
-
-Returns the parent customer object (see L<FS::cust_main>).
-
-=cut
-
-sub cust_main {
-  my $self = shift;
-  qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-}
-
-=item payinfo_masked
-
-Returns a "masked" payinfo field with all but the last four characters replaced
-by 'x'es.  Useful for displaying credit cards.
-
-=cut
-
-sub payinfo_masked {
-  my $self = shift;
-  #some false laziness w/cust_main::paymask
-  if ( $self->payby eq 'CARD' ) {
-    my $payinfo = $self->payinfo;
-    'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
-  } elsif ( $self->payby eq 'CHEK' ) {
-    my( $account, $aba ) = split('@', $self->payinfo );
-    'x'x(length($account)-2). substr($account,(length($account)-2)). "@". $aba;
-  } else {
-    $self->payinfo;
-  }
-}
-
-=back
-
-=head1 BUGS
-
-Delete and replace methods.  payinfo_masked false laziness with cust_main.pm
-and cust_refund.pm
-
-=head1 SEE ALSO
-
-L<FS::cust_bill_pay>, L<FS::cust_bill>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_pay_batch.pm b/FS/FS/cust_pay_batch.pm
deleted file mode 100644 (file)
index 8059f1c..0000000
+++ /dev/null
@@ -1,397 +0,0 @@
-package FS::cust_pay_batch;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw(dbh qsearchs);
-use Business::CreditCard;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::cust_pay_batch - Object methods for batch cards
-
-=head1 SYNOPSIS
-
-  use FS::cust_pay_batch;
-
-  $record = new FS::cust_pay_batch \%hash;
-  $record = new FS::cust_pay_batch { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_pay_batch object represents a credit card transaction ready to be
-batched (sent to a processor).  FS::cust_pay_batch inherits from FS::Record.  
-Typically called by the collect method of an FS::cust_main object.  The
-following fields are currently supported:
-
-=over 4
-
-=item paybatchnum - primary key (automatically assigned)
-
-=item cardnum
-
-=item exp - card expiration 
-
-=item amount 
-
-=item invnum - invoice
-
-=item custnum - customer 
-
-=item payname - name on card 
-
-=item first - name 
-
-=item last - name 
-
-=item address1 
-
-=item address2 
-
-=item city 
-
-=item state 
-
-=item zip 
-
-=item country 
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'cust_pay_batch'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Delete this record from the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item replace OLD_RECORD
-
-#inactive
-#
-#Replaces the OLD_RECORD with this one in the database.  If there is an error,
-#returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  return "Can't (yet?) replace batched transactions!";
-}
-
-=item check
-
-Checks all fields to make sure this is a valid transaction.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and repalce methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-      $self->ut_numbern('paybatchnum')
-    || $self->ut_numbern('trancode') #depriciated
-    || $self->ut_number('cardnum') 
-    || $self->ut_money('amount')
-    || $self->ut_number('invnum')
-    || $self->ut_number('custnum')
-    || $self->ut_text('address1')
-    || $self->ut_textn('address2')
-    || $self->ut_text('city')
-    || $self->ut_textn('state')
-  ;
-
-  return $error if $error;
-
-  $self->getfield('last') =~ /^([\w \,\.\-\']+)$/ or return "Illegal last name";
-  $self->setfield('last',$1);
-
-  $self->first =~ /^([\w \,\.\-\']+)$/ or return "Illegal first name";
-  $self->first($1);
-
-  my $cardnum = $self->cardnum;
-  $cardnum =~ s/\D//g;
-  $cardnum =~ /^(\d{13,16})$/
-    or return "Illegal credit card number";
-  $cardnum = $1;
-  $self->cardnum($cardnum);
-  validate($cardnum) or return "Illegal credit card number";
-  return "Unknown card type" if cardtype($cardnum) eq "Unknown";
-
-  if ( $self->exp eq '' ) {
-    return "Expriation date required"; #unless 
-    $self->exp('');
-  } else {
-    if ( $self->exp =~ /^(\d{4})[\/\-](\d{1,2})[\/\-](\d{1,2})$/ ) {
-      $self->exp("$1-$2-$3");
-    } elsif ( $self->exp =~ /^(\d{1,2})[\/\-](\d{2}(\d{2})?)$/ ) {
-      if ( length($2) == 4 ) {
-        $self->exp("$2-$1-01");
-      } elsif ( $2 > 98 ) { #should pry change to check for "this year"
-        $self->exp("19$2-$1-01");
-      } else {
-        $self->exp("20$2-$1-01");
-      }
-    } else {
-      return "Illegal expiration date";
-    }
-  }
-
-  if ( $self->payname eq '' ) {
-    $self->payname( $self->first. " ". $self->getfield('last') );
-  } else {
-    $self->payname =~ /^([\w \,\.\-\']+)$/
-      or return "Illegal billing name";
-    $self->payname($1);
-  }
-
-  #$self->zip =~ /^\s*(\w[\w\-\s]{3,8}\w)\s*$/
-  #  or return "Illegal zip: ". $self->zip;
-  #$self->zip($1);
-
-  $self->country =~ /^(\w\w)$/ or return "Illegal country: ". $self->country;
-  $self->country($1);
-
-  $error = $self->ut_zip('zip', $self->country);
-  return $error if $error;
-
-  #check invnum, custnum, ?
-
-  $self->SUPER::check;
-}
-
-=item cust_main
-
-Returns the customer (see L<FS::cust_main>) for this batched credit card
-payment.
-
-=cut
-
-sub cust_main {
-  my $self = shift;
-  qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item import_results
-
-=cut
-
-sub import_results {
-  use Time::Local;
-  use FS::cust_pay;
-  eval "use Text::CSV_XS;";
-  die $@ if $@;
-#
-  my $param = shift;
-  my $fh = $param->{'filehandle'};
-  my $format = $param->{'format'};
-  my $paybatch = $param->{'paybatch'};
-
-  my @fields;
-  my $end_condition;
-  my $end_hook;
-  my $hook;
-  my $approved_condition;
-  my $declined_condition;
-
-  if ( $format eq 'csv-td_canada_trust-merchant_pc_batch' ) {
-
-    @fields = (
-      'paybatchnum', # Reference#:  Invoice number of the transaction
-      'paid',        # Amount:  Amount of the transaction.  Dollars and cents
-                     #          with no decimal entered.
-      '',            # Card Type:  0 - MCrd, 1 - Visa, 2 - AMEX, 3 - Discover,
-                     #             4 - Insignia, 5 - Diners/EnRoute, 6 - JCB
-      '_date',       # Transaction Date:  Date the Transaction was processed
-      'time',        # Transaction Time:  Time the transaction was processed
-      'payinfo',     # Card Number:  Card number for the transaction
-      '',            # Expiry Date:  Expiry date of the card
-      '',            # Auth#:  Authorization number entered for force post
-                     #         transaction
-      'type',        # Transaction Type:  0 - purchase, 40 - refund,
-                     #                    20 - force post
-      'result',      # Processing Result: 3 - Approval,
-                     #                    4 - Declined/Amount over limit,
-                     #                    5 - Invalid/Expired/stolen card,
-                     #                    6 - Comm Error
-      '',            # Terminal ID: Terminal ID used to process the transaction
-    );
-
-    $end_condition = sub {
-      my $hash = shift;
-      $hash->{'type'} eq '0BC';
-    };
-
-    $end_hook = sub {
-      my( $hash, $total) = @_;
-      $total = sprintf("%.2f", $total);
-      my $batch_total = sprintf("%.2f", $hash->{'paybatchnum'} / 100 );
-      return "Our total $total does not match bank total $batch_total!"
-        if $total != $batch_total;
-      '';
-    };
-
-    $hook = sub {
-      my $hash = shift;
-      $hash->{'paid'} = sprintf("%.2f", $hash->{'paid'} / 100 );
-      $hash->{'_date'} = timelocal( substr($hash->{'time'},  4, 2),
-                                    substr($hash->{'time'},  2, 2),
-                                    substr($hash->{'time'},  0, 2),
-                                    substr($hash->{'_date'}, 6, 2),
-                                    substr($hash->{'_date'}, 4, 2)-1,
-                                    substr($hash->{'_date'}, 0, 4)-1900, );
-    };
-
-    $approved_condition = sub {
-      my $hash = shift;
-      $hash->{'type'} eq '0' && $hash->{'result'} == 3;
-    };
-
-    $declined_condition = sub {
-      my $hash = shift;
-      $hash->{'type'} eq '0' && (    $hash->{'result'} == 4
-                                  || $hash->{'result'} == 5 );
-    };
-
-
-  } else {
-    return "Unknown format $format";
-  }
-
-  my $csv = new Text::CSV_XS;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $total = 0;
-  my $line;
-  while ( defined($line=<$fh>) ) {
-
-    next if $line =~ /^\s*$/; #skip blank lines
-
-    $csv->parse($line) or do {
-      $dbh->rollback if $oldAutoCommit;
-      return "can't parse: ". $csv->error_input();
-    };
-
-    my @values = $csv->fields();
-    my %hash;
-    foreach my $field ( @fields ) {
-      my $value = shift @values;
-      next unless $field;
-      $hash{$field} = $value;
-    }
-
-    if ( &{$end_condition}(\%hash) ) {
-      my $error = &{$end_hook}(\%hash, $total);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-      last;
-    }
-
-    my $cust_pay_batch =
-      qsearchs('cust_pay_batch', { 'paybatchnum' => $hash{'paybatchnum'} } );
-    unless ( $cust_pay_batch ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "unknown paybatchnum $hash{'paybatchnum'}\n";
-    }
-    my $custnum = $cust_pay_batch->custnum,
-
-    my $error = $cust_pay_batch->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "error removing paybatchnum $hash{'paybatchnum'}: $error\n";
-    }
-
-    &{$hook}(\%hash);
-
-    if ( &{$approved_condition}(\%hash) ) {
-
-      my $cust_pay = new FS::cust_pay ( {
-        'custnum'  => $custnum,
-        'payby'    => 'CARD',
-        'paybatch' => $paybatch,
-        map { $_ => $hash{$_} } (qw( paid _date payinfo )),
-      } );
-      $error = $cust_pay->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error adding payment paybatchnum $hash{'paybatchnum'}: $error\n";
-      }
-      $total += $hash{'paid'};
-  
-      $cust_pay->cust_main->apply_payments;
-
-    } elsif ( &{$declined_condition}(\%hash) ) {
-
-      #this should be configurable... if anybody else ever uses batches
-      $cust_pay_batch->cust_main->suspend;
-
-    }
-
-  }
-  
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=back
-
-=head1 BUGS
-
-There should probably be a configuration file with a list of allowed credit
-card types.
-
-=head1 SEE ALSO
-
-L<FS::cust_main>, L<FS::Record>
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_pay_refund.pm b/FS/FS/cust_pay_refund.pm
deleted file mode 100644 (file)
index 15e0e53..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-package FS::cust_pay_refund;
-
-use strict;
-use vars qw( @ISA ); #$conf );
-use FS::UID qw( getotaker );
-use FS::Record qw( qsearchs ); # qsearch );
-use FS::cust_main;
-use FS::cust_pay;
-use FS::cust_refund;
-
-@ISA = qw( FS::Record );
-
-#ask FS::UID to run this stuff for us later
-#FS::UID->install_callback( sub { 
-#  $conf = new FS::Conf;
-#} );
-
-=head1 NAME
-
-FS::cust_pay_refund - Object methods for cust_pay_refund records
-
-=head1 SYNOPSIS
-
-  use FS::cust_pay_refund;
-
-  $record = new FS::cust_pay_refund \%hash;
-  $record = new FS::cust_pay_refund { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_pay_refund object represents application of a refund (see
-L<FS::cust_refund>) to an payment (see L<FS::cust_pay>).  FS::cust_pay_refund
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item payrefundnum - primary key
-
-=item paynum - credit being applied 
-
-=item refundnum - invoice to which credit is applied (see L<FS::cust_bill>)
-
-=item amount - amount of the credit applied
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new cust_pay_refund.  To add the cust_pay_refund to the database,
-see L<"insert">.
-
-=cut
-
-sub table { 'cust_pay_refund'; }
-
-=item insert
-
-Adds this cust_pay_refund to the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item delete
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't apply refund to closed payment"
-    if $self->cust_pay->closed =~ /^Y/i;
-  return "Can't apply closed refund"
-    if $self->cust_refund->closed =~ /^Y/i;
-  $self->SUPER::delete(@_);
-}
-
-=item replace OLD_RECORD
-
-Application of refunds to payments may not be modified.
-
-=cut
-
-sub replace {
-  return "Can't modify application of a refund to payment!"
-}
-
-=item check
-
-Checks all fields to make sure this is a valid refund application to a payment.
-If there is an error, returns the error, otherwise returns false.  Called by
-the insert and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('payrefundnum')
-    || $self->ut_number('paynum')
-    || $self->ut_number('refundnum')
-    || $self->ut_numbern('_date')
-    || $self->ut_money('amount')
-  ;
-  return $error if $error;
-
-  return "amount must be > 0" if $self->amount <= 0;
-
-  return "Unknown payment"
-    unless my $cust_pay = 
-      qsearchs( 'cust_pay', { 'paynum' => $self->paynum } );
-
-  return "Unknown refund"
-    unless my $cust_refund =
-      qsearchs( 'cust_refund', { 'refundnum' => $self->refundnum } );
-
-  $self->_date(time) unless $self->_date;
-
-  return 'Cannot apply ($'. $self->amount. ') more than'.
-         ' remaining value of refund ($'. $cust_refund->unapplied. ')'
-    unless $self->amount <= $cust_refund->unapplied;
-
-  return "Cannot apply more than remaining value of payment"
-    unless $self->amount <= $cust_pay->unapplied;
-
-  $self->SUPER::check;
-}
-
-=item sub cust_pay
-
-Returns the payment (see L<FS::cust_pay>)
-
-=cut
-
-sub cust_pay {
-  my $self = shift;
-  qsearchs( 'cust_pay', { 'paynum' => $self->paynum } );
-}
-
-=item cust_refund
-
-Returns the refund (see L<FS::cust_refund>)
-
-=cut
-
-sub cust_refund {
-  my $self = shift;
-  qsearchs( 'cust_refund', { 'refundnum' => $self->refundnum } );
-}
-
-=back
-
-=head1 BUGS
-
-The delete method.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_refund>, L<FS::cust_bill>, L<FS::cust_credit>,
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_pay_void.pm b/FS/FS/cust_pay_void.pm
deleted file mode 100644 (file)
index 946d69f..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-package FS::cust_pay_void; 
-use strict;
-use vars qw( @ISA );
-use Business::CreditCard;
-use FS::UID qw(getotaker);
-use FS::Record qw(qsearchs dbh fields); # qsearch );
-use FS::cust_pay;
-#use FS::cust_bill;
-#use FS::cust_bill_pay;
-#use FS::cust_pay_refund;
-#use FS::cust_main;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::cust_pay_void - Object methods for cust_pay_void objects
-
-=head1 SYNOPSIS
-
-  use FS::cust_pay_void;
-
-  $record = new FS::cust_pay_void \%hash;
-  $record = new FS::cust_pay_void { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_pay_void object represents a voided payment.  The following fields
-are currently supported:
-
-=over 4
-
-=item paynum - primary key (assigned automatically for new payments)
-
-=item custnum - customer (see L<FS::cust_main>)
-
-=item paid - Amount of this payment
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=item payby - `CARD' (credit cards), `CHEK' (electronic check/ACH),
-`LECB' (phone bill billing), `BILL' (billing), `CASH' (cash),
-`WEST' (Western Union), `MCRD' (Manual credit card), or `COMP' (free)
-
-=item payinfo - card number, check #, or comp issuer (4-8 lowercase alphanumerics; think username), respectively
-
-=item paybatch - text field for tracking card processing
-
-=item closed - books closed flag, empty or `Y'
-
-=item void_date
-
-=item reason
-
-=back
-
-=head1 METHODS
-
-=over 4 
-
-=item new HASHREF
-
-Creates a new payment.  To add the payment to the databse, see L<"insert">.
-
-=cut
-
-sub table { 'cust_pay_void'; }
-
-=item insert
-
-Adds this voided payment to the database.
-
-=item unvoid 
-
-"Un-void"s this payment: Deletes the voided payment from the database and adds
-back a normal payment.
-
-=cut
-
-sub unvoid {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $cust_pay = new FS::cust_pay ( {
-    map { $_ => $self->get($_) } fields('cust_pay')
-  } );
-  my $error = $cust_pay->insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $error = $self->delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item delete
-
-Deletes this voided payment.  You probably don't want to use this directly; see
-the B<unvoid> method to add the original payment back.
-
-=item replace OLD_RECORD
-
-Currently unimplemented.
-
-=cut
-
-sub replace {
-   return "Can't modify voided payments!";
-}
-
-=item check
-
-Checks all fields to make sure this is a valid voided payment.  If there is an
-error, returns the error, otherwise returns false.  Called by the insert
-method.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('paynum')
-    || $self->ut_numbern('custnum')
-    || $self->ut_money('paid')
-    || $self->ut_number('_date')
-    || $self->ut_textn('paybatch')
-    || $self->ut_enum('closed', [ '', 'Y' ])
-    || $self->ut_numbern('void_date')
-    || $self->ut_textn('reason')
-  ;
-  return $error if $error;
-
-  return "paid must be > 0 " if $self->paid <= 0;
-
-  return "unknown cust_main.custnum: ". $self->custnum
-    unless $self->invnum
-           || qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-
-  $self->void_date(time) unless $self->void_date;
-
-  $self->payby =~ /^(CARD|CHEK|LECB|BILL|COMP|PREP|CASH|WEST|MCRD)$/
-    or return "Illegal payby";
-  $self->payby($1);
-
-  #false laziness with cust_refund::check
-  if ( $self->payby eq 'CARD' ) {
-    my $payinfo = $self->payinfo;
-    $payinfo =~ s/\D//g;
-    $self->payinfo($payinfo);
-    if ( $self->payinfo ) {
-      $self->payinfo =~ /^(\d{13,16})$/
-        or return "Illegal (mistyped?) credit card number (payinfo)";
-      $self->payinfo($1);
-      validate($self->payinfo) or return "Illegal credit card number";
-      return "Unknown card type" if cardtype($self->payinfo) eq "Unknown";
-    } else {
-      $self->payinfo('N/A');
-    }
-
-  } else {
-    $error = $self->ut_textn('payinfo');
-    return $error if $error;
-  }
-
-  $self->otaker(getotaker);
-
-  $self->SUPER::check;
-}
-
-=item cust_main
-
-Returns the parent customer object (see L<FS::cust_main>).
-
-=cut
-
-sub cust_main {
-  my $self = shift;
-  qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-}
-
-=item payinfo_masked
-
-Returns a "masked" payinfo field with all but the last four characters replaced
-by 'x'es.  Useful for displaying credit cards.
-
-=cut
-
-sub payinfo_masked {
-  my $self = shift;
-  my $payinfo = $self->payinfo;
-  'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
-}
-
-=back
-
-=head1 BUGS
-
-Delete and replace methods.
-
-=head1 SEE ALSO
-
-L<FS::cust_pay>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
deleted file mode 100644 (file)
index 783cc73..0000000
+++ /dev/null
@@ -1,1361 +0,0 @@
-package FS::cust_pkg;
-
-use strict;
-use vars qw(@ISA $disable_agentcheck @SVCDB_CANCEL_SEQ $DEBUG);
-use FS::UID qw( getotaker dbh );
-use FS::Misc qw( send_email );
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main_Mixin;
-use FS::cust_svc;
-use FS::part_pkg;
-use FS::cust_main;
-use FS::type_pkgs;
-use FS::pkg_svc;
-use FS::cust_bill_pkg;
-use FS::h_cust_svc;
-use FS::reg_code;
-
-# need to 'use' these instead of 'require' in sub { cancel, suspend, unsuspend,
-# setup }
-# because they load configuration by setting FS::UID::callback (see TODO)
-use FS::svc_acct;
-use FS::svc_domain;
-use FS::svc_www;
-use FS::svc_forward;
-
-# for sending cancel emails in sub cancel
-use FS::Conf;
-
-@ISA = qw( FS::cust_main_Mixin FS::Record );
-
-$DEBUG = 0;
-
-$disable_agentcheck = 0;
-
-# The order in which to unprovision services.
-@SVCDB_CANCEL_SEQ = qw( svc_external
-                       svc_www
-                       svc_forward 
-                       svc_acct 
-                       svc_domain 
-                       svc_broadband );
-
-sub _cache {
-  my $self = shift;
-  my ( $hashref, $cache ) = @_;
-  #if ( $hashref->{'pkgpart'} ) {
-  if ( $hashref->{'pkg'} ) {
-    # #@{ $self->{'_pkgnum'} } = ();
-    # my $subcache = $cache->subcache('pkgpart', 'part_pkg');
-    # $self->{'_pkgpart'} = $subcache;
-    # #push @{ $self->{'_pkgnum'} },
-    #   FS::part_pkg->new_or_cached($hashref, $subcache);
-    $self->{'_pkgpart'} = FS::part_pkg->new($hashref);
-  }
-  if ( exists $hashref->{'svcnum'} ) {
-    #@{ $self->{'_pkgnum'} } = ();
-    my $subcache = $cache->subcache('svcnum', 'cust_svc', $hashref->{pkgnum});
-    $self->{'_svcnum'} = $subcache;
-    #push @{ $self->{'_pkgnum'} },
-    FS::cust_svc->new_or_cached($hashref, $subcache) if $hashref->{svcnum};
-  }
-}
-
-=head1 NAME
-
-FS::cust_pkg - Object methods for cust_pkg objects
-
-=head1 SYNOPSIS
-
-  use FS::cust_pkg;
-
-  $record = new FS::cust_pkg \%hash;
-  $record = new FS::cust_pkg { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->cancel;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $part_pkg = $record->part_pkg;
-
-  @labels = $record->labels;
-
-  $seconds = $record->seconds_since($timestamp);
-
-  $error = FS::cust_pkg::order( $custnum, \@pkgparts );
-  $error = FS::cust_pkg::order( $custnum, \@pkgparts, \@remove_pkgnums ] );
-
-=head1 DESCRIPTION
-
-An FS::cust_pkg object represents a customer billing item.  FS::cust_pkg
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item pkgnum - primary key (assigned automatically for new billing items)
-
-=item custnum - Customer (see L<FS::cust_main>)
-
-=item pkgpart - Billing item definition (see L<FS::part_pkg>)
-
-=item setup - date
-
-=item bill - date (next bill date)
-
-=item last_bill - last bill date
-
-=item susp - date
-
-=item expire - date
-
-=item cancel - date
-
-=item otaker - order taker (assigned automatically if null, see L<FS::UID>)
-
-=item manual_flag - If this field is set to 1, disables the automatic
-unsuspension of this package when using the B<unsuspendauto> config file.
-
-=back
-
-Note: setup, bill, susp, expire and cancel are specified as UNIX timestamps;
-see L<perlfunc/"time">.  Also see L<Time::Local> and L<Date::Parse> for
-conversion functions.
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Create a new billing item.  To add the item to the database, see L<"insert">.
-
-=cut
-
-sub table { 'cust_pkg'; }
-sub cust_linked { $_[0]->cust_main_custnum; } 
-sub cust_unlinked_msg {
-  my $self = shift;
-  "WARNING: can't find cust_main.custnum ". $self->custnum.
-  ' (cust_pkg.pkgnum '. $self->pkgnum. ')';
-}
-
-=item insert [ OPTION => VALUE ... ]
-
-Adds this billing item to the database ("Orders" the item).  If there is an
-error, returns the error, otherwise returns false.
-
-If the additional field I<promo_code> is defined instead of I<pkgpart>, it
-will be used to look up the package definition and agent restrictions will be
-ignored.
-
-The following options are available: I<change>
-
-I<change>, if set true, supresses any referral credit to a referring customer.
-
-=cut
-
-sub insert {
-  my( $self, %options ) = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  #if ( $self->reg_code ) {
-  #  my $reg_code = qsearchs('reg_code', { 'code' => $self->reg_code } );
-  #  $error = $reg_code->delete;
-  #  if ( $error ) {
-  #    $dbh->rollback if $oldAutoCommit;
-  #    return $error;
-  #  }
-  #}
-
-  my $conf = new FS::Conf;
-  my $cust_main = $self->cust_main;
-  my $part_pkg = $self->part_pkg;
-  if ( $conf->exists('referral_credit')
-       && $cust_main->referral_custnum
-       && ! $options{'change'}
-       && $part_pkg->freq !~ /^0\D?$/
-     )
-  {
-    my $referring_cust_main = $cust_main->referring_cust_main;
-    if ( $referring_cust_main->status ne 'cancelled' ) {
-      my $error;
-      if ( $part_pkg->freq !~ /^\d+$/ ) {
-        warn 'WARNING: Not crediting customer '. $cust_main->referral_custnum.
-             ' for package '. $self->pkgnum.
-             ' ( customer '. $self->custnum. ')'.
-             ' - One-time referral credits not (yet) available for '.
-             ' packages with '. $part_pkg->freq_pretty. ' frequency';
-      } else {
-
-        my $amount = sprintf( "%.2f", $part_pkg->base_recur / $part_pkg->freq );
-        my $error =
-          $referring_cust_main->credit( $amount,
-                                        'Referral credit for '. $cust_main->name
-                                      );
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return "Error crediting customer ". $cust_main->referral_custnum.
-               " for referral: $error";
-        }
-
-      }
-
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item delete
-
-This method now works but you probably shouldn't use it.
-
-You don't want to delete billing items, because there would then be no record
-the customer ever purchased the item.  Instead, see the cancel method.
-
-=cut
-
-#sub delete {
-#  return "Can't delete cust_pkg records!";
-#}
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-Currently, custnum, setup, bill, susp, expire, and cancel may be changed.
-
-Changing pkgpart may have disasterous effects.  See the order subroutine.
-
-setup and bill are normally updated by calling the bill method of a customer
-object (see L<FS::cust_main>).
-
-suspend is normally updated by the suspend and unsuspend methods.
-
-cancel is normally updated by the cancel method (and also the order subroutine
-in some cases).
-
-Calls 
-
-=cut
-
-sub replace {
-  my( $new, $old ) = ( shift, shift );
-
-  #return "Can't (yet?) change pkgpart!" if $old->pkgpart != $new->pkgpart;
-  return "Can't change otaker!" if $old->otaker ne $new->otaker;
-
-  #allow this *sigh*
-  #return "Can't change setup once it exists!"
-  #  if $old->getfield('setup') &&
-  #     $old->getfield('setup') != $new->getfield('setup');
-
-  #some logic for bill, susp, cancel?
-
-  local($disable_agentcheck) = 1 if $old->pkgpart == $new->pkgpart;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  #save off and freeze RADIUS attributes for any associated svc_acct records
-  my @svc_acct = ();
-  if ( $old->part_pkg->is_prepaid || $new->part_pkg->is_prepaid ) {
-
-                #also check for specific exports?
-                # to avoid spurious modify export events
-    @svc_acct = map  { $_->svc_x }
-                grep { $_->part_svc->svcdb eq 'svc_acct' }
-                     $old->cust_svc;
-
-    $_->snapshot foreach @svc_acct;
-
-  }
-
-  my $error = $new->SUPER::replace($old);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  #for prepaid packages,
-  #trigger export of new RADIUS Expiration attribute when cust_pkg.bill changes
-  foreach my $old_svc_acct ( @svc_acct ) {
-    my $new_svc_acct = new FS::svc_acct { $old_svc_acct->hash };
-    my $s_error = $new_svc_acct->replace($old_svc_acct);
-    if ( $s_error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $s_error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item check
-
-Checks all fields to make sure this is a valid billing item.  If there is an
-error, returns the error, otherwise returns false.  Called by the insert and
-replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('pkgnum')
-    || $self->ut_foreign_key('custnum', 'cust_main', 'custnum')
-    || $self->ut_numbern('pkgpart')
-    || $self->ut_numbern('setup')
-    || $self->ut_numbern('bill')
-    || $self->ut_numbern('susp')
-    || $self->ut_numbern('cancel')
-  ;
-  return $error if $error;
-
-  if ( $self->reg_code ) {
-
-    unless ( grep { $self->pkgpart == $_->pkgpart }
-             map  { $_->reg_code_pkg }
-             qsearchs( 'reg_code', { 'code'     => $self->reg_code,
-                                     'agentnum' => $self->cust_main->agentnum })
-           ) {
-      return "Unknown registration code";
-    }
-
-  } elsif ( $self->promo_code ) {
-
-    my $promo_part_pkg =
-      qsearchs('part_pkg', {
-        'pkgpart'    => $self->pkgpart,
-        'promo_code' => { op=>'ILIKE', value=>$self->promo_code },
-      } );
-    return 'Unknown promotional code' unless $promo_part_pkg;
-
-  } else { 
-
-    unless ( $disable_agentcheck ) {
-      my $agent =
-        qsearchs( 'agent', { 'agentnum' => $self->cust_main->agentnum } );
-      my $pkgpart_href = $agent->pkgpart_hashref;
-      return "agent ". $agent->agentnum.
-             " can't purchase pkgpart ". $self->pkgpart
-        unless $pkgpart_href->{ $self->pkgpart };
-    }
-
-    $error = $self->ut_foreign_key('pkgpart', 'part_pkg', 'pkgpart' );
-    return $error if $error;
-
-  }
-
-  $self->otaker(getotaker) unless $self->otaker;
-  $self->otaker =~ /^([\w\.\-]{0,16})$/ or return "Illegal otaker";
-  $self->otaker($1);
-
-  if ( $self->dbdef_table->column('manual_flag') ) {
-    $self->manual_flag('') if $self->manual_flag eq ' ';
-    $self->manual_flag =~ /^([01]?)$/
-      or return "Illegal manual_flag ". $self->manual_flag;
-    $self->manual_flag($1);
-  }
-
-  $self->SUPER::check;
-}
-
-=item cancel [ OPTION => VALUE ... ]
-
-Cancels and removes all services (see L<FS::cust_svc> and L<FS::part_svc>)
-in this package, then cancels the package itself (sets the cancel field to
-now).
-
-Available options are: I<quiet>
-
-I<quiet> can be set true to supress email cancellation notices.
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub cancel {
-  my( $self, %options ) = @_;
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE'; 
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my %svc;
-  foreach my $cust_svc (
-      qsearch( 'cust_svc', { 'pkgnum' => $self->pkgnum } )
-  ) {
-    push @{ $svc{$cust_svc->part_svc->svcdb} }, $cust_svc;
-  }
-
-  foreach my $svcdb (@SVCDB_CANCEL_SEQ) {
-    foreach my $cust_svc (@{ $svc{$svcdb} }) {
-      my $error = $cust_svc->cancel;
-
-      if ( $error ) {
-       $dbh->rollback if $oldAutoCommit;
-       return "Error cancelling cust_svc: $error";
-      }
-    }
-  }
-
-  # Add a credit for remaining service
-  my $remaining_value = $self->calc_remain();
-  if ( $remaining_value > 0 ) {
-    my $error = $self->cust_main->credit(
-      $remaining_value,
-      'Credit for unused time on '. $self->part_pkg->pkg,
-    );
-    if ($error) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Error crediting customer \$$remaining_value for unused time on".
-             $self->part_pkg->pkg. ": $error";
-    }                                                                          
-  }                                                                            
-
-  unless ( $self->getfield('cancel') ) {
-    my %hash = $self->hash;
-    $hash{'cancel'} = time;
-    my $new = new FS::cust_pkg ( \%hash );
-    $error = $new->replace($self);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  my $conf = new FS::Conf;
-  my @invoicing_list = grep { $_ !~ /^(POST|FAX)$/ } $self->cust_main->invoicing_list;
-  if ( !$options{'quiet'} && $conf->exists('emailcancel') && @invoicing_list ) {
-    my $conf = new FS::Conf;
-    my $error = send_email(
-      'from'    => $conf->config('invoice_from'),
-      'to'      => \@invoicing_list,
-      'subject' => $conf->config('cancelsubject'),
-      'body'    => [ map "$_\n", $conf->config('cancelmessage') ],
-    );
-    #should this do something on errors?
-  }
-
-  ''; #no errors
-
-}
-
-=item suspend
-
-Suspends all services (see L<FS::cust_svc> and L<FS::part_svc>) in this
-package, then suspends the package itself (sets the susp field to now).
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub suspend {
-  my $self = shift;
-  my $error ;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE'; 
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $cust_svc (
-    qsearch( 'cust_svc', { 'pkgnum' => $self->pkgnum } )
-  ) {
-    my $part_svc = qsearchs( 'part_svc', { 'svcpart' => $cust_svc->svcpart } );
-
-    $part_svc->svcdb =~ /^([\w\-]+)$/ or do {
-      $dbh->rollback if $oldAutoCommit;
-      return "Illegal svcdb value in part_svc!";
-    };
-    my $svcdb = $1;
-    require "FS/$svcdb.pm";
-
-    my $svc = qsearchs( $svcdb, { 'svcnum' => $cust_svc->svcnum } );
-    if ($svc) {
-      $error = $svc->suspend;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-
-  }
-
-  unless ( $self->getfield('susp') ) {
-    my %hash = $self->hash;
-    $hash{'susp'} = time;
-    my $new = new FS::cust_pkg ( \%hash );
-    $error = $new->replace($self);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  ''; #no errors
-}
-
-=item unsuspend
-
-Unsuspends all services (see L<FS::cust_svc> and L<FS::part_svc>) in this
-package, then unsuspends the package itself (clears the susp field).
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub unsuspend {
-  my $self = shift;
-  my($error);
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE'; 
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $cust_svc (
-    qsearch('cust_svc',{'pkgnum'=> $self->pkgnum } )
-  ) {
-    my $part_svc = qsearchs( 'part_svc', { 'svcpart' => $cust_svc->svcpart } );
-
-    $part_svc->svcdb =~ /^([\w\-]+)$/ or do {
-      $dbh->rollback if $oldAutoCommit;
-      return "Illegal svcdb value in part_svc!";
-    };
-    my $svcdb = $1;
-    require "FS/$svcdb.pm";
-
-    my $svc = qsearchs( $svcdb, { 'svcnum' => $cust_svc->svcnum } );
-    if ($svc) {
-      $error = $svc->unsuspend;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-
-  }
-
-  unless ( ! $self->getfield('susp') ) {
-    my %hash = $self->hash;
-    my $inactive = time - $hash{'susp'};
-    $hash{'susp'} = '';
-    $hash{'bill'} = ( $hash{'bill'} || $hash{'setup'} ) + $inactive
-      if $inactive > 0 && ( $hash{'bill'} || $hash{'setup'} );
-    my $new = new FS::cust_pkg ( \%hash );
-    $error = $new->replace($self);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  ''; #no errors
-}
-
-=item last_bill
-
-Returns the last bill date, or if there is no last bill date, the setup date.
-Useful for billing metered services.
-
-=cut
-
-sub last_bill {
-  my $self = shift;
-  if ( $self->dbdef_table->column('last_bill') ) {
-    return $self->setfield('last_bill', $_[0]) if @_;
-    return $self->getfield('last_bill') if $self->getfield('last_bill');
-  }    
-  my $cust_bill_pkg = qsearchs('cust_bill_pkg', { 'pkgnum' => $self->pkgnum,
-                                                  'edate'  => $self->bill,  } );
-  $cust_bill_pkg ? $cust_bill_pkg->sdate : $self->setup || 0;
-}
-
-=item part_pkg
-
-Returns the definition for this billing item, as an FS::part_pkg object (see
-L<FS::part_pkg>).
-
-=cut
-
-sub part_pkg {
-  my $self = shift;
-  #exists( $self->{'_pkgpart'} )
-  $self->{'_pkgpart'}
-    ? $self->{'_pkgpart'}
-    : qsearchs( 'part_pkg', { 'pkgpart' => $self->pkgpart } );
-}
-
-=item calc_setup
-
-Calls the I<calc_setup> of the FS::part_pkg object associated with this billing
-item.
-
-=cut
-
-sub calc_setup {
-  my $self = shift;
-  $self->part_pkg->calc_setup($self, @_);
-}
-
-=item calc_recur
-
-Calls the I<calc_recur> of the FS::part_pkg object associated with this billing
-item.
-
-=cut
-
-sub calc_recur {
-  my $self = shift;
-  $self->part_pkg->calc_recur($self, @_);
-}
-
-=item calc_remain
-
-Calls the I<calc_remain> of the FS::part_pkg object associated with this
-billing item.
-
-=cut
-
-sub calc_remain {
-  my $self = shift;
-  $self->part_pkg->calc_remain($self, @_);
-}
-
-=item calc_cancel
-
-Calls the I<calc_cancel> of the FS::part_pkg object associated with this
-billing item.
-
-=cut
-
-sub calc_cancel {
-  my $self = shift;
-  $self->part_pkg->calc_cancel($self, @_);
-}
-
-=item cust_svc [ SVCPART ]
-
-Returns the services for this package, as FS::cust_svc objects (see
-L<FS::cust_svc>).  If a svcpart is specified, return only the matching
-services.
-
-=cut
-
-sub cust_svc {
-  my $self = shift;
-
-  if ( @_ ) {
-    return qsearch( 'cust_svc', { 'pkgnum'  => $self->pkgnum,
-                                  'svcpart' => shift,          } );
-  }
-
-  #if ( $self->{'_svcnum'} ) {
-  #  values %{ $self->{'_svcnum'}->cache };
-  #} else {
-    $self->_sort_cust_svc(
-      [ qsearch( 'cust_svc', { 'pkgnum' => $self->pkgnum } ) ]
-    );
-  #}
-
-}
-
-=item h_cust_svc END_TIMESTAMP [ START_TIMESTAMP ] 
-
-Returns historical services for this package created before END TIMESTAMP and
-(optionally) not cancelled before START_TIMESTAMP, as FS::h_cust_svc objects
-(see L<FS::h_cust_svc>).
-
-=cut
-
-sub h_cust_svc {
-  my $self = shift;
-
-  $self->_sort_cust_svc(
-    [ qsearch( 'h_cust_svc',
-               { 'pkgnum' => $self->pkgnum, },
-               FS::h_cust_svc->sql_h_search(@_),
-             )
-    ]
-  );
-}
-
-sub _sort_cust_svc {
-  my( $self, $arrayref ) = @_;
-
-  map  { $_->[0] }
-  sort { $b->[1] cmp $a->[1]  or  $a->[2] <=> $b->[2] } 
-  map {
-        my $pkg_svc = qsearchs( 'pkg_svc', { 'pkgpart' => $self->pkgpart,
-                                             'svcpart' => $_->svcpart     } );
-        [ $_,
-          $pkg_svc ? $pkg_svc->primary_svc : '',
-          $pkg_svc ? $pkg_svc->quantity : 0,
-        ];
-      }
-  @$arrayref;
-
-}
-
-=item num_cust_svc [ SVCPART ]
-
-Returns the number of provisioned services for this package.  If a svcpart is
-specified, counts only the matching services.
-
-=cut
-
-sub num_cust_svc {
-  my $self = shift;
-  my $sql = 'SELECT COUNT(*) FROM cust_svc WHERE pkgnum = ?';
-  $sql .= ' AND svcpart = ?' if @_;
-  my $sth = dbh->prepare($sql) or die dbh->errstr;
-  $sth->execute($self->pkgnum, @_) or die $sth->errstr;
-  $sth->fetchrow_arrayref->[0];
-}
-
-=item available_part_svc 
-
-Returns a list FS::part_svc objects representing services included in this
-package but not yet provisioned.  Each FS::part_svc object also has an extra
-field, I<num_avail>, which specifies the number of available services.
-
-=cut
-
-sub available_part_svc {
-  my $self = shift;
-  grep { $_->num_avail > 0 }
-    map {
-          my $part_svc = $_->part_svc;
-          $part_svc->{'Hash'}{'num_avail'} = #evil encapsulation-breaking
-            $_->quantity - $self->num_cust_svc($_->svcpart);
-          $part_svc;
-        }
-      $self->part_pkg->pkg_svc;
-}
-
-=item status
-
-Returns a short status string for this package, currently:
-
-=over 4
-
-=item not yet billed
-
-=item one-time charge
-
-=item active
-
-=item suspended
-
-=item cancelled
-
-=back
-
-=cut
-
-sub status {
-  my $self = shift;
-
-  return 'cancelled' if $self->get('cancel');
-  return 'suspended' if $self->susp;
-  return 'not yet billed' unless $self->setup;
-  return 'one-time charge' if $self->part_pkg->freq =~ /^(0|$)/;
-  return 'active';
-}
-
-=item statuscolor
-
-Returns a hex triplet color string for this package's status.
-
-=cut
-
-my %statuscolor = (
-  'not yet billed'  => '000000',
-  'one-time charge' => '000000',
-  'active'          => '00CC00',
-  'suspended'       => 'FF9900',
-  'cancelled'       => 'FF0000',
-);
-sub statuscolor {
-  my $self = shift;
-  $statuscolor{$self->status};
-}
-
-=item labels
-
-Returns a list of lists, calling the label method for all services
-(see L<FS::cust_svc>) of this billing item.
-
-=cut
-
-sub labels {
-  my $self = shift;
-  map { [ $_->label ] } $self->cust_svc;
-}
-
-=item h_labels END_TIMESTAMP [ START_TIMESTAMP ] 
-
-Like the labels method, but returns historical information on services that
-were active as of END_TIMESTAMP and (optionally) not cancelled before
-START_TIMESTAMP.
-
-Returns a list of lists, calling the label method for all (historical) services
-(see L<FS::h_cust_svc>) of this billing item.
-
-=cut
-
-sub h_labels {
-  my $self = shift;
-  map { [ $_->label(@_) ] } $self->h_cust_svc(@_);
-}
-
-=item h_labels_short END_TIMESTAMP [ START_TIMESTAMP ]
-
-Like h_labels, except returns a simple flat list, and shortens long 
-(currently >5) lists of identical services to one line that lists the service
-label and the number of individual services rather than individual items.
-
-=cut
-
-sub h_labels_short {
-  my $self = shift;
-
-  my %labels;
-  #tie %labels, 'Tie::IxHash';
-  push @{ $labels{$_->[0]} }, $_->[1]
-    foreach $self->h_labels(@_);
-  my @labels;
-  foreach my $label ( keys %labels ) {
-    my @values = @{ $labels{$label} };
-    my $num = scalar(@values);
-    if ( $num > 5 ) {
-      push @labels, "$label ($num)";
-    } else {
-      push @labels, map { "$label: $_" } @values;
-    }
-  }
-
- @labels;
-
-}
-
-=item cust_main
-
-Returns the parent customer object (see L<FS::cust_main>).
-
-=cut
-
-sub cust_main {
-  my $self = shift;
-  qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-}
-
-=item seconds_since TIMESTAMP
-
-Returns the number of seconds all accounts (see L<FS::svc_acct>) in this
-package have been online since TIMESTAMP, according to the session monitor.
-
-TIMESTAMP is specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=cut
-
-sub seconds_since {
-  my($self, $since) = @_;
-  my $seconds = 0;
-
-  foreach my $cust_svc (
-    grep { $_->part_svc->svcdb eq 'svc_acct' } $self->cust_svc
-  ) {
-    $seconds += $cust_svc->seconds_since($since);
-  }
-
-  $seconds;
-
-}
-
-=item seconds_since_sqlradacct TIMESTAMP_START TIMESTAMP_END
-
-Returns the numbers of seconds all accounts (see L<FS::svc_acct>) in this
-package have been online between TIMESTAMP_START (inclusive) and TIMESTAMP_END
-(exclusive).
-
-TIMESTAMP_START and TIMESTAMP_END are specified as UNIX timestamps; see
-L<perlfunc/"time">.  Also see L<Time::Local> and L<Date::Parse> for conversion
-functions.
-
-
-=cut
-
-sub seconds_since_sqlradacct {
-  my($self, $start, $end) = @_;
-
-  my $seconds = 0;
-
-  foreach my $cust_svc (
-    grep {
-      my $part_svc = $_->part_svc;
-      $part_svc->svcdb eq 'svc_acct'
-        && scalar($part_svc->part_export('sqlradius'));
-    } $self->cust_svc
-  ) {
-    $seconds += $cust_svc->seconds_since_sqlradacct($start, $end);
-  }
-
-  $seconds;
-
-}
-
-=item attribute_since_sqlradacct TIMESTAMP_START TIMESTAMP_END ATTRIBUTE
-
-Returns the sum of the given attribute for all accounts (see L<FS::svc_acct>)
-in this package for sessions ending between TIMESTAMP_START (inclusive) and
-TIMESTAMP_END
-(exclusive).
-
-TIMESTAMP_START and TIMESTAMP_END are specified as UNIX timestamps; see
-L<perlfunc/"time">.  Also see L<Time::Local> and L<Date::Parse> for conversion
-functions.
-
-=cut
-
-sub attribute_since_sqlradacct {
-  my($self, $start, $end, $attrib) = @_;
-
-  my $sum = 0;
-
-  foreach my $cust_svc (
-    grep {
-      my $part_svc = $_->part_svc;
-      $part_svc->svcdb eq 'svc_acct'
-        && scalar($part_svc->part_export('sqlradius'));
-    } $self->cust_svc
-  ) {
-    $sum += $cust_svc->attribute_since_sqlradacct($start, $end, $attrib);
-  }
-
-  $sum;
-
-}
-
-=item transfer DEST_PKGNUM | DEST_CUST_PKG, [ OPTION => VALUE ... ]
-
-Transfers as many services as possible from this package to another package.
-
-The destination package can be specified by pkgnum by passing an FS::cust_pkg
-object.  The destination package must already exist.
-
-Services are moved only if the destination allows services with the correct
-I<svcpart> (not svcdb), unless the B<change_svcpart> option is set true.  Use
-this option with caution!  No provision is made for export differences
-between the old and new service definitions.  Probably only should be used
-when your exports for all service definitions of a given svcdb are identical.
-(attempt a transfer without it first, to move all possible svcpart-matching
-services)
-
-Any services that can't be moved remain in the original package.
-
-Returns an error, if there is one; otherwise, returns the number of services 
-that couldn't be moved.
-
-=cut
-
-sub transfer {
-  my ($self, $dest_pkgnum, %opt) = @_;
-
-  my $remaining = 0;
-  my $dest;
-  my %target;
-
-  if (ref ($dest_pkgnum) eq 'FS::cust_pkg') {
-    $dest = $dest_pkgnum;
-    $dest_pkgnum = $dest->pkgnum;
-  } else {
-    $dest = qsearchs('cust_pkg', { pkgnum => $dest_pkgnum });
-  }
-
-  return ('Package does not exist: '.$dest_pkgnum) unless $dest;
-
-  foreach my $pkg_svc ( $dest->part_pkg->pkg_svc ) {
-    $target{$pkg_svc->svcpart} = $pkg_svc->quantity;
-  }
-
-  foreach my $cust_svc ($dest->cust_svc) {
-    $target{$cust_svc->svcpart}--;
-  }
-
-  my %svcpart2svcparts = ();
-  if ( exists $opt{'change_svcpart'} && $opt{'change_svcpart'} ) {
-    warn "change_svcpart option received, creating alternates list\n" if $DEBUG;
-    foreach my $svcpart ( map { $_->svcpart } $self->cust_svc ) {
-      next if exists $svcpart2svcparts{$svcpart};
-      my $part_svc = qsearchs('part_svc', { 'svcpart' => $svcpart } );
-      $svcpart2svcparts{$svcpart} = [
-        map  { $_->[0] }
-        sort { $b->[1] cmp $a->[1]  or  $a->[2] <=> $b->[2] } 
-        map {
-              my $pkg_svc = qsearchs( 'pkg_svc', { 'pkgpart' => $dest->pkgpart,
-                                                   'svcpart' => $_          } );
-              [ $_,
-                $pkg_svc ? $pkg_svc->primary_svc : '',
-                $pkg_svc ? $pkg_svc->quantity : 0,
-              ];
-            }
-
-        grep { $_ != $svcpart }
-        map  { $_->svcpart }
-        qsearch('part_svc', { 'svcdb' => $part_svc->svcdb } )
-      ];
-      warn "alternates for svcpart $svcpart: ".
-           join(', ', @{$svcpart2svcparts{$svcpart}}). "\n"
-        if $DEBUG;
-    }
-  }
-
-  foreach my $cust_svc ($self->cust_svc) {
-    if($target{$cust_svc->svcpart} > 0) {
-      $target{$cust_svc->svcpart}--;
-      my $new = new FS::cust_svc {
-        svcnum  => $cust_svc->svcnum,
-        svcpart => $cust_svc->svcpart,
-        pkgnum  => $dest_pkgnum,
-      };
-      my $error = $new->replace($cust_svc);
-      return $error if $error;
-    } elsif ( exists $opt{'change_svcpart'} && $opt{'change_svcpart'} ) {
-      if ( $DEBUG ) {
-        warn "looking for alternates for svcpart ". $cust_svc->svcpart. "\n";
-        warn "alternates to consider: ".
-             join(', ', @{$svcpart2svcparts{$cust_svc->svcpart}}). "\n";
-      }
-      my @alternate = grep {
-                             warn "considering alternate svcpart $_: ".
-                                  "$target{$_} available in new package\n"
-                               if $DEBUG;
-                             $target{$_} > 0;
-                           } @{$svcpart2svcparts{$cust_svc->svcpart}};
-      if ( @alternate ) {
-        warn "alternate(s) found\n" if $DEBUG;
-        my $change_svcpart = $alternate[0];
-        $target{$change_svcpart}--;
-        my $new = new FS::cust_svc {
-          svcnum  => $cust_svc->svcnum,
-          svcpart => $change_svcpart,
-          pkgnum  => $dest_pkgnum,
-        };
-        my $error = $new->replace($cust_svc);
-        return $error if $error;
-      } else {
-        $remaining++;
-      }
-    } else {
-      $remaining++
-    }
-  }
-  return $remaining;
-}
-
-=item reexport
-
-This method is deprecated.  See the I<depend_jobnum> option to the insert and
-order_pkgs methods in FS::cust_main for a better way to defer provisioning.
-
-=cut
-
-sub reexport {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $cust_svc ( $self->cust_svc ) {
-    #false laziness w/svc_Common::insert
-    my $svc_x = $cust_svc->svc_x;
-    foreach my $part_export ( $cust_svc->part_svc->part_export ) {
-      my $error = $part_export->export_insert($svc_x);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=back
-
-=head1 CLASS METHOD
-
-=over 4
-
-=item recurring_sql
-
-Returns an SQL expression identifying recurring packages.
-
-=cut
-
-sub recurring_sql { "
-  '0' != ( select freq from part_pkg
-             where cust_pkg.pkgpart = part_pkg.pkgpart )
-"; }
-
-=item active_sql
-
-Returns an SQL expression identifying active packages.
-
-=cut
-
-sub active_sql { "
-  ". $_[0]->recurring_sql(). "
-  AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 )
-  AND ( cust_pkg.susp   IS NULL OR cust_pkg.susp   = 0 )
-"; }
-
-=item susp_sql
-=item suspended_sql
-
-Returns an SQL expression identifying suspended packages.
-
-=cut
-
-sub suspended_sql { susp_sql(@_); }
-sub susp_sql { "
-  ". $_[0]->recurring_sql(). "
-  AND ( cust_pkg.cancel IS NULL OR cust_pkg.cancel = 0 )
-  AND cust_pkg.susp IS NOT NULL AND cust_pkg.susp != 0
-"; }
-
-=item cancel_sql
-=item cancelled_sql
-
-Returns an SQL exprression identifying cancelled packages.
-
-=cut
-
-sub cancelled_sql { cancel_sql(@_); }
-sub cancel_sql { "
-  ". $_[0]->recurring_sql(). "
-  AND cust_pkg.cancel IS NOT NULL AND cust_pkg.cancel != 0
-"; }
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item order CUSTNUM, PKGPARTS_ARYREF, [ REMOVE_PKGNUMS_ARYREF [ RETURN_CUST_PKG_ARRAYREF ] ]
-
-CUSTNUM is a customer (see L<FS::cust_main>)
-
-PKGPARTS is a list of pkgparts specifying the the billing item definitions (see
-L<FS::part_pkg>) to order for this customer.  Duplicates are of course
-permitted.
-
-REMOVE_PKGNUMS is an optional list of pkgnums specifying the billing items to
-remove for this customer.  The services (see L<FS::cust_svc>) are moved to the
-new billing items.  An error is returned if this is not possible (see
-L<FS::pkg_svc>).  An empty arrayref is equivalent to not specifying this
-parameter.
-
-RETURN_CUST_PKG_ARRAYREF, if specified, will be filled in with the
-newly-created cust_pkg objects.
-
-=cut
-
-sub order {
-  my ($custnum, $pkgparts, $remove_pkgnum, $return_cust_pkg) = @_;
-
-  my $conf = new FS::Conf;
-
-  # Transactionize this whole mess
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE'; 
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE'; 
-  local $SIG{PIPE} = 'IGNORE'; 
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error;
-  my $cust_main = qsearchs('cust_main', { custnum => $custnum });
-  return "Customer not found: $custnum" unless $cust_main;
-
-  my @old_cust_pkg = map { qsearchs('cust_pkg', { pkgnum => $_ }) }
-                         @$remove_pkgnum;
-
-  my $change = scalar(@old_cust_pkg) != 0;
-
-  my %hash = (); 
-  if ( scalar(@old_cust_pkg) == 1 ) {
-    #$hash{$_} = $old_cust_pkg[0]->$_() foreach qw( last_bill bill );
-    $hash{'setup'} = time;
-  }
-
-  # Create the new packages.
-  foreach my $pkgpart (@$pkgparts) {
-    my $cust_pkg = new FS::cust_pkg { custnum => $custnum,
-                                      pkgpart => $pkgpart,
-                                      %hash,
-                                    };
-    $error = $cust_pkg->insert( 'change' => $change );
-    if ($error) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-    push @$return_cust_pkg, $cust_pkg;
-  }
-  # $return_cust_pkg now contains refs to all of the newly 
-  # created packages.
-
-  # Transfer services and cancel old packages.
-  foreach my $old_pkg (@old_cust_pkg) {
-
-    foreach my $new_pkg (@$return_cust_pkg) {
-      $error = $old_pkg->transfer($new_pkg);
-      if ($error and $error == 0) {
-        # $old_pkg->transfer failed.
-       $dbh->rollback if $oldAutoCommit;
-       return $error;
-      }
-    }
-
-    if ( $error > 0 && $conf->exists('cust_pkg-change_svcpart') ) {
-      warn "trying transfer again with change_svcpart option\n" if $DEBUG;
-      foreach my $new_pkg (@$return_cust_pkg) {
-        $error = $old_pkg->transfer($new_pkg, 'change_svcpart'=>1 );
-        if ($error and $error == 0) {
-          # $old_pkg->transfer failed.
-       $dbh->rollback if $oldAutoCommit;
-       return $error;
-        }
-      }
-    }
-
-    if ($error > 0) {
-      # Transfers were successful, but we went through all of the 
-      # new packages and still had services left on the old package.
-      # We can't cancel the package under the circumstances, so abort.
-      $dbh->rollback if $oldAutoCommit;
-      return "Unable to transfer all services from package ".$old_pkg->pkgnum;
-    }
-    $error = $old_pkg->cancel;
-    if ($error) {
-      $dbh->rollback;
-      return $error;
-    }
-  }
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-}
-
-=back
-
-=head1 BUGS
-
-sub order is not OO.  Perhaps it should be moved to FS::cust_main and made so?
-
-In sub order, the @pkgparts array (passed by reference) is clobbered.
-
-Also in sub order, no money is adjusted.  Once FS::part_pkg defines a standard
-method to pass dates to the recur_prog expression, it should do so.
-
-FS::svc_acct, FS::svc_domain, FS::svc_www, FS::svc_ip and FS::svc_forward are
-loaded via 'use' at compile time, rather than via 'require' in sub { setup,
-suspend, unsuspend, cancel } because they use %FS::UID::callback to load
-configuration values.  Probably need a subroutine which decides what to do
-based on whether or not we've fetched the user yet, rather than a hash.  See
-FS::UID and the TODO.
-
-Now that things are transactional should the check in the insert method be
-moved to check ?
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_main>, L<FS::part_pkg>, L<FS::cust_svc>,
-L<FS::pkg_svc>, schema.html from the base documentation
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_refund.pm b/FS/FS/cust_refund.pm
deleted file mode 100644 (file)
index 8c672b8..0000000
+++ /dev/null
@@ -1,319 +0,0 @@
-package FS::cust_refund;
-
-use strict;
-use vars qw( @ISA );
-use Business::CreditCard;
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::UID qw(getotaker);
-use FS::cust_credit;
-use FS::cust_credit_refund;
-use FS::cust_pay_refund;
-use FS::cust_main;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::cust_refund - Object method for cust_refund objects
-
-=head1 SYNOPSIS
-
-  use FS::cust_refund;
-
-  $record = new FS::cust_refund \%hash;
-  $record = new FS::cust_refund { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_refund represents a refund: the transfer of money to a customer;
-equivalent to a negative payment (see L<FS::cust_pay>).  FS::cust_refund
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item refundnum - primary key (assigned automatically for new refunds)
-
-=item custnum - customer (see L<FS::cust_main>)
-
-=item refund - Amount of the refund
-
-=item reason - Reason for the refund
-
-=item _date - specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=item payby - `CARD' (credit cards), `CHEK' (electronic check/ACH),
-`LECB' (Phone bill billing), `BILL' (billing), `CASH' (cash),
-`WEST' (Western Union), `MCRD' (Manual credit card), or `COMP' (free)
-
-=item payinfo - card number, P.O.#, or comp issuer (4-8 lowercase alphanumerics; think username)
-
-=item paybatch - text field for tracking card processing
-
-=item otaker - order taker (assigned automatically, see L<FS::UID>)
-
-=item closed - books closed flag, empty or `Y'
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new refund.  To add the refund to the database, see L<"insert">.
-
-=cut
-
-sub table { 'cust_refund'; }
-
-=item insert
-
-Adds this refund to the database.
-
-For backwards-compatibility and convenience, if the additional field crednum is
-defined, an FS::cust_credit_refund record for the full amount of the refund
-will be created.  Or (this time for convenience and consistancy), if the
-additional field paynum is defined, an FS::cust_pay_refund record for the full
-amount of the refund will be created.  In both cases, custnum is optional.
-
-=cut
-
-sub insert {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  if ( $self->crednum ) {
-    my $cust_credit = qsearchs('cust_credit', { 'crednum' => $self->crednum } )
-      or do {
-        $dbh->rollback if $oldAutoCommit;
-        return "Unknown cust_credit.crednum: ". $self->crednum;
-      };
-    $self->custnum($cust_credit->custnum);
-  } elsif ( $self->paynum ) {
-    my $cust_pay = qsearchs('cust_pay', { 'paynum' => $self->paynum } )
-      or do {
-        $dbh->rollback if $oldAutoCommit;
-        return "Unknown cust_pay.paynum: ". $self->paynum;
-      };
-    $self->custnum($cust_pay->custnum);
-  }
-
-  my $error = $self->check;
-  return $error if $error;
-
-  $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $self->crednum ) {
-    my $cust_credit_refund = new FS::cust_credit_refund {
-      'crednum'   => $self->crednum,
-      'refundnum' => $self->refundnum,
-      'amount'    => $self->refund,
-      '_date'     => $self->_date,
-    };
-    $error = $cust_credit_refund->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-    #$self->custnum($cust_credit_refund->cust_credit->custnum);
-  } elsif ( $self->paynum ) {
-    my $cust_pay_refund = new FS::cust_pay_refund {
-      'paynum'    => $self->paynum,
-      'refundnum' => $self->refundnum,
-      'amount'    => $self->refund,
-      '_date'     => $self->_date,
-    };
-    $error = $cust_pay_refund->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item delete
-
-Currently unimplemented (accounting reasons).
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't delete closed refund" if $self->closed =~ /^Y/i;
-  $self->SUPER::delete(@_);
-}
-
-=item replace OLD_RECORD
-
-Currently unimplemented (accounting reasons).
-
-=cut
-
-sub replace {
-   return "Can't (yet?) modify cust_refund records!";
-}
-
-=item check
-
-Checks all fields to make sure this is a valid refund.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert method.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('refundnum')
-    || $self->ut_numbern('custnum')
-    || $self->ut_money('refund')
-    || $self->ut_text('reason')
-    || $self->ut_numbern('_date')
-    || $self->ut_textn('paybatch')
-    || $self->ut_enum('closed', [ '', 'Y' ])
-  ;
-  return $error if $error;
-
-  return "refund must be > 0 " if $self->refund <= 0;
-
-  $self->_date(time) unless $self->_date;
-
-  return "unknown cust_main.custnum: ". $self->custnum
-    unless $self->crednum 
-           || qsearchs( 'cust_main', { 'custnum' => $self->custnum } );
-
-  $self->payby =~ /^(CARD|CHEK|LECB|BILL|COMP|CASH|WEST|MCRD)$/
-    or return "Illegal payby";
-  $self->payby($1);
-
-  #false laziness with cust_pay::check
-  if ( $self->payby eq 'CARD' ) {
-    my $payinfo = $self->payinfo;
-    $payinfo =~ s/\D//g;
-    $self->payinfo($payinfo);
-    if ( $self->payinfo ) {
-      $self->payinfo =~ /^(\d{13,16})$/
-        or return "Illegal (mistyped?) credit card number (payinfo)";
-      $self->payinfo($1);
-      validate($self->payinfo) or return "Illegal credit card number";
-      return "Unknown card type" if cardtype($self->payinfo) eq "Unknown";
-    } else {
-      $self->payinfo('N/A');
-    }
-
-  } else {
-    $error = $self->ut_textn('payinfo');
-    return $error if $error;
-  }
-
-  $self->otaker(getotaker);
-
-  $self->SUPER::check;
-}
-
-=item cust_credit_refund
-
-Returns all applications to credits (see L<FS::cust_credit_refund>) for this
-refund.
-
-=cut
-
-sub cust_credit_refund {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_credit_refund', { 'refundnum' => $self->refundnum } )
-  ;
-}
-
-=item cust_pay_refund
-
-Returns all applications to payments (see L<FS::cust_pay_refund>) for this
-refund.
-
-=cut
-
-sub cust_pay_refund {
-  my $self = shift;
-  sort { $a->_date <=> $b->_date }
-    qsearch( 'cust_pay_refund', { 'refundnum' => $self->refundnum } )
-  ;
-}
-
-=item unapplied
-
-Returns the amount of this refund that is still unapplied; which is
-amount minus all credit applications (see L<FS::cust_credit_refund>) and
-payment applications (see L<FS::cust_pay_refund>).
-
-=cut
-
-sub unapplied {
-  my $self = shift;
-  my $amount = $self->refund;
-  $amount -= $_->amount foreach ( $self->cust_credit_refund );
-  $amount -= $_->amount foreach ( $self->cust_pay_refund );
-  sprintf("%.2f", $amount );
-}
-
-
-
-=item payinfo_masked
-
-Returns a "masked" payinfo field with all but the last four characters replaced
-by 'x'es.  Useful for displaying credit cards.
-
-=cut
-
-
-sub payinfo_masked {
-  my $self = shift;
-  my $payinfo = $self->payinfo;
-  'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
-}
-
-
-=back
-
-=head1 BUGS
-
-Delete and replace methods.  payinfo_masked false laziness with cust_main.pm
-and cust_pay.pm
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_credit>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_svc.pm b/FS/FS/cust_svc.pm
deleted file mode 100644 (file)
index ad87cab..0000000
+++ /dev/null
@@ -1,613 +0,0 @@
-package FS::cust_svc;
-
-use strict;
-use vars qw( @ISA $DEBUG $ignore_quantity );
-use Carp qw( carp cluck );
-use FS::Conf;
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::cust_pkg;
-use FS::part_pkg;
-use FS::part_svc;
-use FS::pkg_svc;
-use FS::svc_acct;
-use FS::svc_domain;
-use FS::svc_forward;
-use FS::svc_broadband;
-use FS::svc_external;
-use FS::domain_record;
-use FS::part_export;
-
-@ISA = qw( FS::Record );
-
-$DEBUG = 0;
-
-$ignore_quantity = 0;
-
-sub _cache {
-  my $self = shift;
-  my ( $hashref, $cache ) = @_;
-  if ( $hashref->{'username'} ) {
-    $self->{'_svc_acct'} = FS::svc_acct->new($hashref, '');
-  }
-  if ( $hashref->{'svc'} ) {
-    $self->{'_svcpart'} = FS::part_svc->new($hashref);
-  }
-}
-
-=head1 NAME
-
-FS::cust_svc - Object method for cust_svc objects
-
-=head1 SYNOPSIS
-
-  use FS::cust_svc;
-
-  $record = new FS::cust_svc \%hash
-  $record = new FS::cust_svc { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  ($label, $value) = $record->label;
-
-=head1 DESCRIPTION
-
-An FS::cust_svc represents a service.  FS::cust_svc inherits from FS::Record.
-The following fields are currently supported:
-
-=over 4
-
-=item svcnum - primary key (assigned automatically for new services)
-
-=item pkgnum - Package (see L<FS::cust_pkg>)
-
-=item svcpart - Service definition (see L<FS::part_svc>)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new service.  To add the refund to the database, see L<"insert">.
-Services are normally created by creating FS::svc_ objects (see
-L<FS::svc_acct>, L<FS::svc_domain>, and L<FS::svc_forward>, among others).
-
-=cut
-
-sub table { 'cust_svc'; }
-
-=item insert
-
-Adds this service to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this service from the database.  If there is an error, returns the
-error, otherwise returns false.  Note that this only removes the cust_svc
-record - you should probably use the B<cancel> method instead.
-
-=item cancel
-
-Cancels the relevant service by calling the B<cancel> method of the associated
-FS::svc_XXX object (i.e. an FS::svc_acct object or FS::svc_domain object),
-deleting the FS::svc_XXX record and then deleting this record.
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub cancel {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE'; 
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $part_svc = $self->part_svc;
-
-  $part_svc->svcdb =~ /^([\w\-]+)$/ or do {
-    $dbh->rollback if $oldAutoCommit;
-    return "Illegal svcdb value in part_svc!";
-  };
-  my $svcdb = $1;
-  require "FS/$svcdb.pm";
-
-  my $svc = $self->svc_x;
-  if ($svc) {
-    my $error = $svc->cancel;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Error canceling service: $error";
-    }
-    $error = $svc->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Error deleting service: $error";
-    }
-  }
-
-  my $error = $self->delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "Error deleting cust_svc: $error";
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  ''; #no errors
-
-}
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  if ( $new->svcpart != $old->svcpart ) {
-    my $svc_x = $new->svc_x;
-    my $new_svc_x = ref($svc_x)->new({$svc_x->hash, svcpart=>$new->svcpart });
-    local($FS::Record::nowarn_identical) = 1;
-    my $error = $new_svc_x->replace($svc_x);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error if $error;
-    }
-  }
-
-  my $error = $new->SUPER::replace($old);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error if $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  ''; #no error
-
-}
-
-=item check
-
-Checks all fields to make sure this is a valid service.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and
-replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('svcnum')
-    || $self->ut_numbern('pkgnum')
-    || $self->ut_number('svcpart')
-  ;
-  return $error if $error;
-
-  my $part_svc = qsearchs( 'part_svc', { 'svcpart' => $self->svcpart } );
-  return "Unknown svcpart" unless $part_svc;
-
-  if ( $self->pkgnum ) {
-    my $cust_pkg = qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } );
-    return "Unknown pkgnum" unless $cust_pkg;
-    my $pkg_svc = qsearchs( 'pkg_svc', {
-      'pkgpart' => $cust_pkg->pkgpart,
-      'svcpart' => $self->svcpart,
-    });
-    # or new FS::pkg_svc ( { 'pkgpart'  => $cust_pkg->pkgpart,
-    #                        'svcpart'  => $self->svcpart,
-    #                        'quantity' => 0                   } );
-    my $quantity = $pkg_svc ? $pkg_svc->quantity : 0;
-
-    my @cust_svc = qsearch('cust_svc', {
-      'pkgnum'  => $self->pkgnum,
-      'svcpart' => $self->svcpart,
-    });
-    return "Already ". scalar(@cust_svc). " ". $part_svc->svc.
-           " services for pkgnum ". $self->pkgnum
-      if scalar(@cust_svc) >= $quantity && !$ignore_quantity;
-  }
-
-  $self->SUPER::check;
-}
-
-=item part_svc
-
-Returns the definition for this service, as a FS::part_svc object (see
-L<FS::part_svc>).
-
-=cut
-
-sub part_svc {
-  my $self = shift;
-  $self->{'_svcpart'}
-    ? $self->{'_svcpart'}
-    : qsearchs( 'part_svc', { 'svcpart' => $self->svcpart } );
-}
-
-=item cust_pkg
-
-Returns the package this service belongs to, as a FS::cust_pkg object (see
-L<FS::cust_pkg>).
-
-=cut
-
-sub cust_pkg {
-  my $self = shift;
-  qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } );
-}
-
-=item label
-
-Returns a list consisting of:
-- The name of this service (from part_svc)
-- A meaningful identifier (username, domain, or mail alias)
-- The table name (i.e. svc_domain) for this service
-- svcnum
-
-=cut
-
-sub label {
-  my $self = shift;
-  carp "FS::cust_svc::label called on $self" if $DEBUG;
-  my $svc_x = $self->svc_x
-    or die "can't find ". $self->part_svc->svcdb. '.svcnum '. $self->svcnum;
-  $self->_svc_label($svc_x);
-}
-
-sub _svc_label {
-  my( $self, $svc_x ) = ( shift, shift );
-  my $svcdb = $self->part_svc->svcdb;
-
-  my $tag;
-  if ( $svcdb eq 'svc_acct' ) {
-    $tag = $svc_x->email(@_);
-  } elsif ( $svcdb eq 'svc_forward' ) {
-    if ( $svc_x->srcsvc ) {
-      my $svc_acct = $svc_x->srcsvc_acct(@_);
-      $tag = $svc_acct->email(@_);
-    } else {
-      $tag = $svc_x->src;
-    }
-    $tag .= '->';
-    if ( $svc_x->dstsvc ) {
-      my $svc_acct = $svc_x->dstsvc_acct(@_);
-      $tag .= $svc_acct->email(@_);
-    } else {
-      $tag .= $svc_x->dst;
-    }
-  } elsif ( $svcdb eq 'svc_domain' ) {
-    $tag = $svc_x->getfield('domain');
-  } elsif ( $svcdb eq 'svc_www' ) {
-    my $domain_record = $svc_x->domain_record(@_);
-    $tag = $domain_record->zone;
-  } elsif ( $svcdb eq 'svc_broadband' ) {
-    $tag = $svc_x->ip_addr;
-  } elsif ( $svcdb eq 'svc_external' ) {
-    my $conf = new FS::Conf;
-    if ( $conf->config('svc_external-display_type') eq 'artera_turbo' ) {
-      $tag = sprintf('%010d', $svc_x->id). '-'.
-             substr('0000000000'.uc($svc_x->title), -10);
-    } else {
-      $tag = $svc_x->id. ': '. $svc_x->title;
-    }
-  } else {
-    cluck "warning: asked for label of unsupported svcdb; using svcnum";
-    $tag = $svc_x->getfield('svcnum');
-  }
-
-  $self->part_svc->svc, $tag, $svcdb, $self->svcnum;
-
-}
-
-=item svc_x
-
-Returns the FS::svc_XXX object for this service (i.e. an FS::svc_acct object or
-FS::svc_domain object, etc.)
-
-=cut
-
-sub svc_x {
-  my $self = shift;
-  my $svcdb = $self->part_svc->svcdb;
-  if ( $svcdb eq 'svc_acct' && $self->{'_svc_acct'} ) {
-    $self->{'_svc_acct'};
-  } else {
-    #require "FS/$svcdb.pm";
-    qsearchs( $svcdb, { 'svcnum' => $self->svcnum } );
-  }
-}
-
-=item seconds_since TIMESTAMP
-
-See L<FS::svc_acct/seconds_since>.  Equivalent to
-$cust_svc->svc_x->seconds_since, but more efficient.  Meaningless for records
-where B<svcdb> is not "svc_acct".
-
-=cut
-
-#note: implementation here, POD in FS::svc_acct
-sub seconds_since {
-  my($self, $since) = @_;
-  my $dbh = dbh;
-  my $sth = $dbh->prepare(' SELECT SUM(logout-login) FROM session
-                              WHERE svcnum = ?
-                                AND login >= ?
-                                AND logout IS NOT NULL'
-  ) or die $dbh->errstr;
-  $sth->execute($self->svcnum, $since) or die $sth->errstr;
-  $sth->fetchrow_arrayref->[0];
-}
-
-=item seconds_since_sqlradacct TIMESTAMP_START TIMESTAMP_END
-
-See L<FS::svc_acct/seconds_since_sqlradacct>.  Equivalent to
-$cust_svc->svc_x->seconds_since_sqlradacct, but more efficient.  Meaningless
-for records where B<svcdb> is not "svc_acct".
-
-=cut
-
-#note: implementation here, POD in FS::svc_acct
-sub seconds_since_sqlradacct {
-  my($self, $start, $end) = @_;
-
-  my $svc_x = $self->svc_x;
-
-  my @part_export = $self->part_svc->part_export_usage;
-  die "no accounting-capable exports are enabled for ". $self->part_svc->svc.
-      " service definition"
-    unless @part_export;
-    #or return undef;
-
-  my $seconds = 0;
-  foreach my $part_export ( @part_export ) {
-
-    next if $part_export->option('ignore_accounting');
-
-    my $dbh = DBI->connect( map { $part_export->option($_) }
-                            qw(datasrc username password)    )
-      or die "can't connect to sqlradius database: ". $DBI::errstr;
-
-    #select a unix time conversion function based on database type
-    my $str2time;
-    if ( $dbh->{Driver}->{Name} =~ /^mysql(PP)?$/ ) {
-      $str2time = 'UNIX_TIMESTAMP(';
-    } elsif ( $dbh->{Driver}->{Name} eq 'Pg' ) {
-      $str2time = 'EXTRACT( EPOCH FROM ';
-    } else {
-      warn "warning: unknown database type ". $dbh->{Driver}->{Name}.
-           "; guessing how to convert to UNIX timestamps";
-      $str2time = 'extract(epoch from ';
-    }
-
-    my $username = $part_export->export_username($svc_x);
-
-    my $query;
-  
-    #find closed sessions completely within the given range
-    my $sth = $dbh->prepare("SELECT SUM(acctsessiontime)
-                               FROM radacct
-                               WHERE UserName = ?
-                                 AND $str2time AcctStartTime) >= ?
-                                 AND $str2time AcctStopTime ) <  ?
-                                 AND $str2time AcctStopTime ) > 0
-                                 AND AcctStopTime IS NOT NULL"
-    ) or die $dbh->errstr;
-    $sth->execute($username, $start, $end) or die $sth->errstr;
-    my $regular = $sth->fetchrow_arrayref->[0];
-  
-    #find open sessions which start in the range, count session start->range end
-    $query = "SELECT SUM( ? - $str2time AcctStartTime ) )
-                FROM radacct
-                WHERE UserName = ?
-                  AND $str2time AcctStartTime ) >= ?
-                  AND $str2time AcctStartTime ) <  ?
-                  AND ( ? - $str2time AcctStartTime ) ) < 86400
-                  AND (    $str2time AcctStopTime ) = 0
-                                    OR AcctStopTime IS NULL )";
-    $sth = $dbh->prepare($query) or die $dbh->errstr;
-    $sth->execute($end, $username, $start, $end, $end)
-      or die $sth->errstr. " executing query $query";
-    my $start_during = $sth->fetchrow_arrayref->[0];
-  
-    #find closed sessions which start before the range but stop during,
-    #count range start->session end
-    $sth = $dbh->prepare("SELECT SUM( $str2time AcctStopTime ) - ? ) 
-                            FROM radacct
-                            WHERE UserName = ?
-                              AND $str2time AcctStartTime ) < ?
-                              AND $str2time AcctStopTime  ) >= ?
-                              AND $str2time AcctStopTime  ) <  ?
-                              AND $str2time AcctStopTime ) > 0
-                              AND AcctStopTime IS NOT NULL"
-    ) or die $dbh->errstr;
-    $sth->execute($start, $username, $start, $start, $end ) or die $sth->errstr;
-    my $end_during = $sth->fetchrow_arrayref->[0];
-  
-    #find closed (not anymore - or open) sessions which start before the range
-    # but stop after, or are still open, count range start->range end
-    # don't count open sessions (probably missing stop record)
-    $sth = $dbh->prepare("SELECT COUNT(*)
-                            FROM radacct
-                            WHERE UserName = ?
-                              AND $str2time AcctStartTime ) < ?
-                              AND ( $str2time AcctStopTime ) >= ?
-                                                                  )"
-                              #      OR AcctStopTime =  0
-                              #      OR AcctStopTime IS NULL       )"
-    ) or die $dbh->errstr;
-    $sth->execute($username, $start, $end ) or die $sth->errstr;
-    my $entire_range = ($end-$start) * $sth->fetchrow_arrayref->[0];
-
-    $seconds += $regular + $end_during + $start_during + $entire_range;
-
-  }
-
-  $seconds;
-
-}
-
-=item attribute_since_sqlradacct TIMESTAMP_START TIMESTAMP_END ATTRIBUTE
-
-See L<FS::svc_acct/attribute_since_sqlradacct>.  Equivalent to
-$cust_svc->svc_x->attribute_since_sqlradacct, but more efficient.  Meaningless
-for records where B<svcdb> is not "svc_acct".
-
-=cut
-
-#note: implementation here, POD in FS::svc_acct
-#(false laziness w/seconds_since_sqlradacct above)
-sub attribute_since_sqlradacct {
-  my($self, $start, $end, $attrib) = @_;
-
-  my $svc_x = $self->svc_x;
-
-  my @part_export = $self->part_svc->part_export_usage;
-  die "no accounting-capable exports are enabled for ". $self->part_svc->svc.
-      " service definition"
-    unless @part_export;
-    #or return undef;
-
-  my $sum = 0;
-
-  foreach my $part_export ( @part_export ) {
-
-    next if $part_export->option('ignore_accounting');
-
-    my $dbh = DBI->connect( map { $part_export->option($_) }
-                            qw(datasrc username password)    )
-      or die "can't connect to sqlradius database: ". $DBI::errstr;
-
-    #select a unix time conversion function based on database type
-    my $str2time;
-    if ( $dbh->{Driver}->{Name} =~ /^mysql(PP)?$/ ) {
-      $str2time = 'UNIX_TIMESTAMP(';
-    } elsif ( $dbh->{Driver}->{Name} eq 'Pg' ) {
-      $str2time = 'EXTRACT( EPOCH FROM ';
-    } else {
-      warn "warning: unknown database type ". $dbh->{Driver}->{Name}.
-           "; guessing how to convert to UNIX timestamps";
-      $str2time = 'extract(epoch from ';
-    }
-
-    my $username = $part_export->export_username($svc_x);
-
-    my $sth = $dbh->prepare("SELECT SUM($attrib)
-                               FROM radacct
-                               WHERE UserName = ?
-                                 AND $str2time AcctStopTime ) >= ?
-                                 AND $str2time AcctStopTime ) <  ?
-                                 AND AcctStopTime IS NOT NULL"
-    ) or die $dbh->errstr;
-    $sth->execute($username, $start, $end) or die $sth->errstr;
-
-    $sum += $sth->fetchrow_arrayref->[0];
-
-  }
-
-  $sum;
-
-}
-
-=item get_session_history TIMESTAMP_START TIMESTAMP_END
-
-See L<FS::svc_acct/get_session_history>.  Equivalent to
-$cust_svc->svc_x->get_session_history, but more efficient.  Meaningless for
-records where B<svcdb> is not "svc_acct".
-
-=cut
-
-sub get_session_history {
-  my($self, $start, $end, $attrib) = @_;
-
-  #$attrib ???
-
-  my @part_export = $self->part_svc->part_export_usage;
-  die "no accounting-capable exports are enabled for ". $self->part_svc->svc.
-      " service definition"
-    unless @part_export;
-    #or return undef;
-                     
-  my @sessions = ();
-
-  foreach my $part_export ( @part_export ) {
-    push @sessions,
-      @{ $part_export->usage_sessions( $start, $end, $self->svc_x ) };
-  }
-
-  @sessions;
-
-}
-
-=item pkg_svc
-
-Returns the pkg_svc record for for this service, if applicable.
-
-=cut
-
-sub pkg_svc {
-  my $self = shift;
-  my $cust_pkg = $self->cust_pkg;
-  return undef unless $cust_pkg;
-
-  qsearchs( 'pkg_svc', { 'svcpart' => $self->svcpart,
-                         'pkgpart' => $cust_pkg->pkgpart,
-                       }
-          );
-}
-
-=back
-
-=head1 BUGS
-
-Behaviour of changing the svcpart of cust_svc records is undefined and should
-possibly be prohibited, and pkg_svc records are not checked.
-
-pkg_svc records are not checked in general (here).
-
-Deleting this record doesn't check or delete the svc_* record associated
-with this record.
-
-In seconds_since_sqlradacct, specifying a DATASRC/USERNAME/PASSWORD instead of
-a DBI database handle is not yet implemented.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_pkg>, L<FS::part_svc>, L<FS::pkg_svc>, 
-schema.html from the base documentation
-
-=cut
-
-1;
-
diff --git a/FS/FS/cust_tax_exempt.pm b/FS/FS/cust_tax_exempt.pm
deleted file mode 100644 (file)
index da0de00..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-package FS::cust_tax_exempt;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::cust_tax_exempt - Object methods for cust_tax_exempt records
-
-=head1 SYNOPSIS
-
-  use FS::cust_tax_exempt;
-
-  $record = new FS::cust_tax_exempt \%hash;
-  $record = new FS::cust_tax_exempt { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::cust_tax_exempt object represents a historical record of a customer tax
-exemption.  Currently this is only used for "texas tax".  FS::cust_tax_exempt
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item exemptnum - primary key
-
-=item custnum - customer (see L<FS::cust_main>)
-
-=item taxnum - tax rate (see L<FS::cust_main_county>)
-
-=item year
-
-=item month
-
-=item amount
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new exemption record.  To add the example to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'cust_tax_exempt'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  $self->ut_numbern('exemptnum')
-    || $self->ut_foreign_key('custnum', 'cust_main', 'custnum')
-    || $self->ut_foreign_key('taxnum', 'cust_main_county', 'taxnum')
-    || $self->ut_number('year') #check better
-    || $self->ut_number('month') #check better
-    || $self->ut_money('amount')
-    || $self->SUPER::check
-  ;
-}
-
-=back
-
-=head1 BUGS
-
-Texas tax is a royal pain in the ass.
-
-=head1 SEE ALSO
-
-L<FS::cust_main_county>, L<FS::cust_main>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/domain_record.pm b/FS/FS/domain_record.pm
deleted file mode 100644 (file)
index 3c65a1a..0000000
+++ /dev/null
@@ -1,438 +0,0 @@
-package FS::domain_record;
-
-use strict;
-use vars qw( @ISA $noserial_hack $DEBUG );
-use FS::Conf;
-#use FS::Record qw( qsearch qsearchs );
-use FS::Record qw( qsearchs dbh );
-use FS::svc_domain;
-use FS::svc_www;
-
-@ISA = qw(FS::Record);
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::domain_record - Object methods for domain_record records
-
-=head1 SYNOPSIS
-
-  use FS::domain_record;
-
-  $record = new FS::domain_record \%hash;
-  $record = new FS::domain_record { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::domain_record object represents an entry in a DNS zone.
-FS::domain_record inherits from FS::Record.  The following fields are currently
-supported:
-
-=over 4
-
-=item recnum - primary key
-
-=item svcnum - Domain (see L<FS::svc_domain>) of this entry
-
-=item reczone - partial (or full) zone for this entry
-
-=item recaf - address family for this entry, currently only `IN' is recognized.
-
-=item rectype - record type for this entry (A, MX, etc.)
-
-=item recdata - data for this entry
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new entry.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'domain_record'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub insert {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  if ( $self->rectype eq '_mstr' ) { #delete all other records
-    foreach my $domain_record ( reverse $self->svc_domain->domain_record ) {
-      my $error = $domain_record->delete;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  unless ( $self->rectype =~ /^(SOA|_mstr)$/ ) {
-    my $error = $self->increment_serial;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $conf = new FS::Conf;
-  if ( $self->rectype =~ /^A$/ && ! $conf->exists('disable_autoreverse') ) {
-    my $reverse = $self->reverse_record;
-    if ( $reverse && ! $reverse->recnum ) {
-      my $error = $reverse->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error adding corresponding reverse-ARPA record: $error";
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  return "Can't delete a domain record which has a website!"
-    if qsearchs( 'svc_www', { 'recnum' => $self->recnum } );
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  unless ( $self->rectype =~ /^(SOA|_mstr)$/ ) {
-    my $error = $self->increment_serial;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $conf = new FS::Conf;
-  if ( $self->rectype =~ /^A$/ && ! $conf->exists('disable_autoreverse') ) {
-    my $reverse = $self->reverse_record;
-    if ( $reverse && $reverse->recnum && $reverse->recdata eq $self->zone.'.' ){
-      my $error = $reverse->delete;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error removing corresponding reverse-ARPA record: $error";
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::replace(@_);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  unless ( $self->rectype eq 'SOA' ) {
-    my $error = $self->increment_serial;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('recnum')
-    || $self->ut_number('svcnum')
-  ;
-  return $error if $error;
-
-  return "Unknown svcnum (in svc_domain)"
-    unless qsearchs('svc_domain', { 'svcnum' => $self->svcnum } );
-
-  my $conf = new FS::Conf;
-
-  if ( $conf->exists('zone-underscore') ) {
-    $self->reczone =~ /^(@|[a-z0-9_\.\-\*]+)$/i
-      or return "Illegal reczone: ". $self->reczone;
-    $self->reczone($1);
-  } else {
-    $self->reczone =~ /^(@|[a-z0-9\.\-\*]+)$/i
-      or return "Illegal reczone: ". $self->reczone;
-    $self->reczone($1);
-  }
-
-  $self->recaf =~ /^(IN)$/ or return "Illegal recaf: ". $self->recaf;
-  $self->recaf($1);
-
-  $self->rectype =~ /^(SOA|NS|MX|A|PTR|CNAME|TXT|_mstr)$/
-    or return "Illegal rectype (only SOA NS MX A PTR CNAME TXT recognized): ".
-              $self->rectype;
-  $self->rectype($1);
-
-  return "Illegal reczone for ". $self->rectype. ": ". $self->reczone
-    if $self->rectype !~ /^MX$/i && $self->reczone =~ /\*/;
-
-  if ( $self->rectype eq 'SOA' ) {
-    my $recdata = $self->recdata;
-    $recdata =~ s/\s+/ /g;
-    $recdata =~ /^([a-z0-9\.\-]+ [\w\-\+]+\.[a-z0-9\.\-]+ \( ((\d+|((\d+[WDHMS])+)) ){5}\))$/i
-      or return "Illegal data for SOA record: $recdata";
-    $self->recdata($1);
-  } elsif ( $self->rectype eq 'NS' ) {
-    $self->recdata =~ /^([a-z0-9\.\-]+)$/i
-      or return "Illegal data for NS record: ". $self->recdata;
-    $self->recdata($1);
-  } elsif ( $self->rectype eq 'MX' ) {
-    $self->recdata =~ /^(\d+)\s+([a-z0-9\.\-]+)$/i
-      or return "Illegal data for MX record: ". $self->recdata;
-    $self->recdata("$1 $2");
-  } elsif ( $self->rectype eq 'A' ) {
-    $self->recdata =~ /^((\d{1,3}\.){3}\d{1,3})$/
-      or return "Illegal data for A record: ". $self->recdata;
-    $self->recdata($1);
-  } elsif ( $self->rectype eq 'PTR' ) {
-    if ( $conf->exists('zone-underscore') ) {
-      $self->recdata =~ /^([a-z0-9_\.\-]+)$/i
-        or return "Illegal data for PTR record: ". $self->recdata;
-      $self->recdata($1);
-    } else {
-      $self->recdata =~ /^([a-z0-9\.\-]+)$/i
-        or return "Illegal data for PTR record: ". $self->recdata;
-      $self->recdata($1);
-    }
-  } elsif ( $self->rectype eq 'CNAME' ) {
-    $self->recdata =~ /^([a-z0-9\.\-]+|\@)$/i
-      or return "Illegal data for CNAME record: ". $self->recdata;
-    $self->recdata($1);
-  } elsif ( $self->rectype eq 'TXT' ) {
-    if ( $self->recdata =~ /^((?:\S+)|(?:".+"))$/ ) {
-      $self->recdata($1);
-    } else {
-      $self->recdata('"'. $self->recdata. '"'); #?
-    }
-    #  or return "Illegal data for TXT record: ". $self->recdata;
-  } elsif ( $self->rectype eq '_mstr' ) {
-    $self->recdata =~ /^((\d{1,3}\.){3}\d{1,3})$/
-      or return "Illegal data for _master pseudo-record: ". $self->recdata;
-  } else {
-    die "ack!";
-  }
-
-  $self->SUPER::check;
-}
-
-=item increment_serial
-
-=cut
-
-sub increment_serial {
-  return '' if $noserial_hack;
-  my $self = shift;
-
-  my $soa = qsearchs('domain_record', {
-    svcnum  => $self->svcnum,
-    reczone => '@',
-    recaf   => 'IN',
-    rectype => 'SOA', } )
-  || qsearchs('domain_record', {
-    svcnum  => $self->svcnum,
-    reczone => $self->svc_domain->domain.'.',
-    recaf   => 'IN',
-    rectype => 'SOA', 
-  } )
-  or return "soa record not found; can't increment serial";
-
-  my $data = $soa->recdata;
-  $data =~ s/(\(\D*)(\d+)/$1.($2+1)/e; #well, it works.
-
-  my %hash = $soa->hash;
-  $hash{recdata} = $data;
-  my $new = new FS::domain_record \%hash;
-  $new->replace($soa);
-}
-
-=item svc_domain
-
-Returns the domain (see L<FS::svc_domain>) for this record.
-
-=cut
-
-sub svc_domain {
-  my $self = shift;
-  qsearchs('svc_domain', { svcnum => $self->svcnum } );
-}
-
-=item zone
-
-Returns the canonical zone name.
-
-=cut
-
-sub zone {
-  my $self = shift;
-  my $zone = $self->reczone; # or die ?
-  if ( $zone =~ /\.$/ ) {
-    $zone =~ s/\.$//;
-  } else {
-    my $svc_domain = $self->svc_domain; # or die ?
-    $zone .= '.'. $svc_domain->domain;
-    $zone =~ s/^\@\.//;
-  }
-  $zone;
-}
-
-=item reverse_record 
-
-Returns the corresponding reverse-ARPA record as another FS::domain_record
-object.  If the specific record does not exist in the database but the 
-reverse-ARPA zone itself does, an appropriate new record is created.  If no
-reverse-ARPA zone is available at all, returns false.
-
-(You can test whether or not record itself exists in the database or is a new
-object that might need to be inserted by checking the recnum field)
-
-Mostly used by the insert and delete methods - probably should see them for
-examples.
-
-=cut
-
-sub reverse_record {
-  my $self = shift;
-  warn "reverse_record called\n" if $DEBUG;
-  #should support classless reverse-ARPA ala rfc2317 too
-  $self->recdata =~ /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/
-    or return '';
-  my $domain = "$3.$2.$1.in-addr.arpa"; 
-  my $ptr_reczone = $4;
-  warn "reverse_record: searching for domain: $domain\n" if $DEBUG;
-  my $svc_domain = qsearchs('svc_domain', { 'domain' => $domain } )
-    or return '';
-  warn "reverse_record: found domain: $domain\n" if $DEBUG;
-  my %hash = (
-    'svcnum'  => $svc_domain->svcnum,
-    'reczone' => $ptr_reczone,
-    'recaf'   => 'IN',
-    'rectype' => 'PTR',
-  );
-  qsearchs('domain_record', \%hash )
-    or new FS::domain_record { %hash, 'recdata' => $self->zone.'.' };
-}
-
-=back
-
-=head1 BUGS
-
-The data validation doesn't check everything it could.  In particular,
-there is no protection against bad data that passes the regex, duplicate
-SOA records, forgetting the trailing `.', impossible IP addersses, etc.  Of
-course, it's still better than editing the zone files directly.  :)
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/export_svc.pm b/FS/FS/export_svc.pm
deleted file mode 100644 (file)
index 0370f5f..0000000
+++ /dev/null
@@ -1,322 +0,0 @@
-package FS::export_svc;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::part_export;
-use FS::part_svc;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::export_svc - Object methods for export_svc records
-
-=head1 SYNOPSIS
-
-  use FS::export_svc;
-
-  $record = new FS::export_svc \%hash;
-  $record = new FS::export_svc { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::export_svc object links a service definition (see L<FS::part_svc>) to
-an export (see L<FS::part_export>).  FS::export_svc inherits from FS::Record.
-The following fields are currently supported:
-
-=over 4
-
-=item exportsvcnum - primary key
-
-=item exportnum - export (see L<FS::part_export>)
-
-=item svcpart - service definition (see L<FS::part_svc>)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'export_svc'; }
-
-=item insert [ JOB, OFFSET, MULTIPLIER ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-TODOC: JOB, OFFSET, MULTIPLIER
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my( $job, $offset, $mult ) = ( '', 0, 100);
-  $job = shift if @_;
-  $offset = shift if @_;
-  $mult = shift if @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->check;
-  return $error if $error;
-
-  #check for duplicates!
-  my @checks = ();
-  my $svcdb = $self->part_svc->svcdb;
-  if ( $svcdb eq 'svc_acct' ) {
-
-    if ( $self->part_export->nodomain =~ /^Y/i ) {
-      push @checks, {
-        label  => 'usernames',
-        method => 'username',
-        sortby => sub { $a cmp $b },
-      };
-    } else {
-      push @checks, {
-        label  => 'username@domain',
-        method => 'email',
-        sortby => sub {
-                        my($auser, $adomain) = split('@', $a);
-                        my($buser, $bdomain) = split('@', $b);
-                        $adomain cmp $bdomain || $auser cmp $buser;
-                      },
-      };
-    }
-
-    unless ( $self->part_svc->part_svc_column('uid')->columnflag eq 'F' ) {
-      push @checks, {
-        label  => 'uids',
-        method => 'uid',
-        sortby => sub { $a <=> $b },
-      };
-    }
-
-  } elsif ( $svcdb eq 'svc_domain' ) {
-    push @checks, {
-      label  => 'domains',
-      method => 'domain',
-      sortby => sub { $a cmp $b },
-    };
-  } else {
-    warn "WARNING: No duplicate checking done on merge of $svcdb exports";
-  }
-
-  if ( @checks ) {
-  
-    my $done = 0;
-    my $percheck = $mult / scalar(@checks);
-
-    foreach my $check ( @checks ) {
-  
-      if ( $job ) {
-        $error = $job->update_statustext(int( $offset + ($done+.33) *$percheck ));
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-      }
-  
-      my @current_svc = $self->part_export->svc_x;
-      #warn "current: ". scalar(@current_svc). " $current_svc[0]\n";
-  
-      if ( $job ) {
-        $error = $job->update_statustext(int( $offset + ($done+.67) *$percheck ));
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-      }
-  
-      my @new_svc = $self->part_svc->svc_x;
-      #warn "new: ". scalar(@new_svc). " $new_svc[0]\n";
-  
-      if ( $job ) {
-        $error = $job->update_statustext(int( $offset + ($done+1) *$percheck ));
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-      }
-  
-      my $method = $check->{'method'};
-      my %cur_svc = map { $_->$method() => $_ } @current_svc;
-      my @dup_svc = grep { $cur_svc{$_->$method()} } @new_svc;
-      #my @diff_customer = grep { 
-      #                           $_->cust_pkg->custnum != $cur_svc{$_->$method()}->cust_pkg->custnum
-      #                         } @dup_svc;
-  
-  
-  
-      if ( @dup_svc ) { #aye, that's the rub
-        #error out for now, eventually accept different options of adjustments
-        # to make to allow us to continue forward
-        $dbh->rollback if $oldAutoCommit;
-  
-        my @diff_customer_svc = grep {
-          my $cust_pkg = $_->cust_svc->cust_pkg;
-          my $custnum = $cust_pkg ? $cust_pkg->custnum : 0;
-          my $other_cust_pkg = $cur_svc{$_->$method()}->cust_svc->cust_pkg;
-          my $other_custnum = $other_cust_pkg ? $other_cust_pkg->custnum : 0;
-          $custnum != $other_custnum;
-        } @dup_svc;
-  
-        my $label = $check->{'label'};
-        my $sortby = $check->{'sortby'};
-        return "Can't export ".
-               $self->part_svc->svcpart.':'.$self->part_svc->svc. " service to ".
-               $self->part_export->exportnum.':'.$self->part_export->exporttype.
-                 ' on '. $self->part_export->machine.
-               ' : '. scalar(@dup_svc). " duplicate $label".
-               ' ('. scalar(@diff_customer_svc). " from different customers)".
-               ": ". join(', ', sort $sortby map { $_->$method() } @dup_svc )
-               #": ". join(', ', sort $sortby map { $_->$method() } @diff_customer_svc )
-               ;
-      }
-  
-      $done++;
-    }
-
-  } #end of duplicate check, whew
-
-  $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-#  if ( $self->part_svc->svcdb eq 'svc_acct' ) {
-#
-#    if ( $self->part_export->nodomain =~ /^Y/i ) {
-#
-#      select username from svc_acct where svcpart = $svcpart
-#        group by username having count(*) > 1;
-#
-#    } else {
-#
-#      select username, domain
-#        from   svc_acct
-#          join svc_domain on ( svc_acct.domsvc = svc_domain.svcnum )
-#        group by username, domain having count(*) > 1;
-#
-#    }
-#
-#  } elsif ( $self->part_svc->svcdb eq 'svc_domain' ) {
-#
-#    #similar but easier domain checking one
-#
-#  } #etc.?
-#
-#  my @services =
-#    map  { $_->part_svc }
-#    grep { $_->svcpart != $self->svcpart }
-#         $self->part_export->export_svc;
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  ''; #no error
-}
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  $self->ut_numbern('exportsvcnum')
-    || $self->ut_number('exportnum')
-    || $self->ut_foreign_key('exportnum', 'part_export', 'exportnum')
-    || $self->ut_number('svcpart')
-    || $self->ut_foreign_key('svcpart', 'part_svc', 'svcpart')
-    || $self->SUPER::check
-  ;
-}
-
-=item part_export
-
-Returns the FS::part_export object (see L<FS::part_export>).
-
-=cut
-
-sub part_export {
-  my $self = shift;
-  qsearchs( 'part_export', { 'exportnum' => $self->exportnum } );
-}
-
-=item part_svc
-
-Returns the FS::part_svc object (see L<FS::part_svc>).
-
-=cut
-
-sub part_svc {
-  my $self = shift;
-  qsearchs( 'part_svc', { 'svcpart' => $self->svcpart } );
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::part_export>, L<FS::part_svc>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_Common.pm b/FS/FS/h_Common.pm
deleted file mode 100644 (file)
index d55da8c..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-package FS::h_Common;
-
-use strict;
-use FS::Record qw(dbdef);
-use Carp qw(confess);
-
-=head1 NAME
-
-FS::h_Common - History table "mixin" common base class
-
-=head1 SYNOPSIS
-
-package FS::h_tablename;
-@ISA = qw( FS::h_Common FS::tablename ); 
-
-sub table { 'h_table_name'; }
-
-sub insert { return "can't insert history records manually"; }
-sub delete { return "can't delete history records"; }
-sub replace { return "can't modify history records"; }
-
-=head1 DESCRIPTION
-
-FS::h_Common is intended as a "mixin" base class for history table classes to
-inherit from.
-
-=head1 METHODS
-
-=over 4
-
-=item sql_h_search END_TIMESTAMP [ START_TIMESTAMP ] 
-
-Returns an a list consisting of the "SELECT" and "EXTRA_SQL" SQL fragments to
-search for the appropriate history records created before END_TIMESTAMP
-and (optionally) not cancelled before START_TIMESTAMP.
-
-=cut
-
-sub sql_h_search {
-  my( $self, $end ) = ( shift, shift );
-
-  my $table = $self->table;
-  my $real_table = ($table =~ /^h_(.*)$/) ? $1 : $table;
-  my $pkey = dbdef->table($real_table)->primary_key
-    or die "can't (yet) search history table $real_table without a primary key";
-
-  unless ($end) {
-    confess 'Called sql_h_search without END_TIMESTAMP';
-  }
-
-  my $notcancelled = '';
-  if ( scalar(@_) && $_[0] ) {
-    $notcancelled = "AND 0 = ( SELECT COUNT(*) FROM $table as notdel
-                                WHERE notdel.$pkey = maintable.$pkey
-                                AND notdel.history_action = 'delete'
-                                AND notdel.history_date > maintable.history_date
-                                AND notdel.history_date <= $_[0]
-                             )";
-  }
-
-  (
-    "DISTINCT ON ( $pkey ) *",
-
-    "AND history_date <= $end
-     AND (    history_action = 'insert'
-           OR history_action = 'replace_new'
-         )
-     $notcancelled
-     ORDER BY $pkey ASC, history_date DESC",
-
-     '',
-
-     'AS maintable',
-  );
-
-}
-
-=item sql_h_searchs END_TIMESTAMP [ START_TIMESTAMP ] 
-
-Like sql_h_search, but limited to the single most recent record (before
-END_TIMESTAMP)
-
-=cut
-
-sub sql_h_searchs {
-  my $self = shift;
-  my($select, $where, $cacheobj, $as) = $self->sql_h_search(@_);
-  $where .= ' LIMIT 1';
-  ($select, $where, $cacheobj, $as);
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_cust_svc.pm b/FS/FS/h_cust_svc.pm
deleted file mode 100644 (file)
index af0bf60..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-package FS::h_cust_svc;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use Carp;
-use FS::Record qw(qsearchs);
-use FS::h_Common;
-use FS::cust_svc;
-
-@ISA = qw( FS::h_Common FS::cust_svc );
-
-$DEBUG = 0;
-
-sub table { 'h_cust_svc'; }
-
-=head1 NAME
-
-FS::h_cust_svc - Object method for h_cust_svc objects
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-An FS::h_cust_svc object  represents a historical service.  FS::h_cust_svc
-inherits from FS::h_Common and FS::cust_svc.
-
-=head1 METHODS
-
-=over 4
-
-=item label END_TIMESTAMP [ START_TIMESTAMP ] 
-
-Returns a list consisting of:
-- The name of this historical service (from part_svc)
-- A meaningful identifier (username, domain, or mail alias)
-- The table name (i.e. svc_domain) for this historical service
-
-=cut
-
-sub label {
-  my $self = shift;
-  carp "FS::h_cust_svc::label called on $self" if $DEBUG;
-  my $svc_x = $self->h_svc_x(@_);
-  my $part_svc = $self->part_svc;
-
-  unless ($svc_x) {
-    carp "can't find h_". $self->part_svc->svcdb. '.svcnum '. $self->svcnum if $DEBUG;
-    return $part_svc->svc, 'n/a', $part_svc->svcdb;
-  }
-
-  my @label;
-  eval { @label = $self->_svc_label($svc_x, @_); };
-
-  if ($@) {
-    carp 'while resolving history record for svcdb/svcnum ' . 
-         $part_svc->svcdb . '/' . $self->svcnum . ': ' . $@ if $DEBUG;
-    return $part_svc->svc, 'n/a', $part_svc->svcdb;
-  } else {
-    return @label;
-  }
-
-}
-
-=item h_svc_x END_TIMESTAMP [ START_TIMESTAMP ] 
-
-Returns the FS::h_svc_XXX object for this service as of END_TIMESTAMP (i.e. an
-FS::h_svc_acct object or FS::h_svc_domain object, etc.) and (optionally) not
-cancelled before START_TIMESTAMP.
-
-=cut
-
-#false laziness w/cust_pkg::h_cust_svc
-sub h_svc_x {
-  my $self = shift;
-  my $svcdb = $self->part_svc->svcdb;
-
-  warn "requiring FS/h_$svcdb.pm" if $DEBUG;
-  require "FS/h_$svcdb.pm";
-  my $svc_x = qsearchs(
-    "h_$svcdb",
-    { 'svcnum' => $self->svcnum, },
-    "FS::h_$svcdb"->sql_h_searchs(@_),
-  ) || $self->SUPER::svc_x;
-
-  if ($svc_x) {
-    carp "Using $svcdb in place of missing h_${svcdb} record."
-      if ($svc_x->isa('FS::' . $svcdb) and $DEBUG);
-    return $svc_x;
-  } else {
-    return '';
-  }
-
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::cust_svc>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_domain_record.pm b/FS/FS/h_domain_record.pm
deleted file mode 100644 (file)
index 0ab974f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package FS::h_domain_record;
-
-use strict;
-use vars qw( @ISA );
-use FS::h_Common;
-use FS::domain_record;
-
-@ISA = qw( FS::h_Common FS::domain_record );
-
-sub table { 'h_domain_record' };
-
-=head1 NAME
-
-FS::h_domain_record - Historical DNS entry objects
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-An FS::h_domain_record object represents a historical entry in a DNS zone.
-FS::h_domain_record inherits from FS::h_Common and FS::domain_record.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::svc_external>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_svc_acct.pm b/FS/FS/h_svc_acct.pm
deleted file mode 100644 (file)
index 247d20c..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-package FS::h_svc_acct;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use Carp qw(carp);
-use FS::Record qw(qsearchs);
-use FS::h_Common;
-use FS::svc_acct;
-use FS::svc_domain;
-use FS::h_svc_domain;
-
-@ISA = qw( FS::h_Common FS::svc_acct );
-
-$DEBUG = 0;
-
-sub table { 'h_svc_acct' };
-
-=head1 NAME
-
-FS::h_svc_acct - Historical account objects
-
-=head1 SYNOPSIS
-
-=head1 METHODS
-
-=over 4
-
-=item svc_domain
-
-=cut
-
-sub svc_domain {
-  my $self = shift;
-  qsearchs( 'h_svc_domain',
-            { 'svcnum' => $self->domsvc },
-            FS::h_svc_domain->sql_h_searchs(@_),
-          );
-}
-
-=item domain
-
-Returns the domain associated with this account.
-
-=cut
-
-sub domain {
-  my $self = shift;
-  die "svc_acct.domsvc is null for svcnum ". $self->svcnum unless $self->domsvc;
-
-  my $svc_domain = $self->svc_domain(@_) || $self->SUPER::svc_domain()
-    or die 'no history svc_domain.svcnum for svc_acct.domsvc ' . $self->domsvc;
-
-  carp 'Using FS::svc_acct record in place of missing FS::h_svc_acct record.'
-    if ($svc_domain->isa('FS::svc_acct') and $DEBUG);
-
-  $svc_domain->domain;
-
-}
-
-
-=back
-
-=head1 DESCRIPTION
-
-An FS::h_svc_acct object represents a historical account.  FS::h_svc_acct
-inherits from FS::h_Common and FS::svc_acct.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::svc_acct>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_svc_broadband.pm b/FS/FS/h_svc_broadband.pm
deleted file mode 100644 (file)
index d6038fb..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package FS::h_svc_broadband;
-
-use strict;
-use vars qw( @ISA );
-use FS::h_Common;
-use FS::svc_broadband;
-
-@ISA = qw( FS::h_Common FS::svc_broadband );
-
-sub table { 'h_svc_broadband' };
-
-=head1 NAME
-
-FS::h_svc_broadband - Historical broadband connection objects
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-An FS::h_svc_broadband object represents a historical broadband connection.
-FS::h_svc_broadband inherits from FS::h_Common and FS::svc_broadband.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::svc_broadband>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_svc_domain.pm b/FS/FS/h_svc_domain.pm
deleted file mode 100644 (file)
index 60d54f7..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package FS::h_svc_domain;
-
-use strict;
-use vars qw( @ISA );
-use FS::h_Common;
-use FS::svc_domain;
-
-@ISA = qw( FS::h_Common FS::svc_domain );
-
-sub table { 'h_svc_domain' };
-
-=head1 NAME
-
-FS::h_svc_domain - Historical domain objects
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-An FS::h_svc_domain object represents a historical domain.  FS::h_svc_domain
-inherits from FS::h_Common and FS::svc_domain.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::svc_domain>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_svc_external.pm b/FS/FS/h_svc_external.pm
deleted file mode 100644 (file)
index 5eb7064..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package FS::h_svc_external;
-
-use strict;
-use vars qw( @ISA );
-use FS::h_Common;
-use FS::svc_external;
-
-@ISA = qw( FS::h_Common FS::svc_external );
-
-sub table { 'h_svc_external' };
-
-=head1 NAME
-
-FS::h_svc_external - Historical externally tracked service objects
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-An FS::h_svc_external object represents a historical externally tracked service.
-FS::h_svc_external inherits from FS::h_Common and FS::svc_external.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::svc_external>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_svc_forward.pm b/FS/FS/h_svc_forward.pm
deleted file mode 100644 (file)
index 25b2039..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-package FS::h_svc_forward;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use FS::Record qw(qsearchs);
-use FS::h_Common;
-use FS::svc_forward;
-use FS::svc_acct;
-use FS::h_svc_acct;
-
-use Carp qw(carp);
-
-$DEBUG = 0;
-
-@ISA = qw( FS::h_Common FS::svc_forward );
-
-sub table { 'h_svc_forward' };
-
-=head1 NAME
-
-FS::h_svc_forward - Historical mail forwarding alias objects
-
-=head1 SYNOPSIS
-
-=head1 METHODS
-
-=over 4
-
-=item srcsvc_acct 
-
-=cut
-
-sub srcsvc_acct {
-  my $self = shift;
-  my $h_svc_acct = qsearchs(
-    'h_svc_acct',
-    { 'svcnum' => $self->srcsvc },
-    FS::h_svc_acct->sql_h_searchs(@_),
-  ) || $self->SUPER::srcsvc_acct
-    or die "no history svc_acct.svcnum for svc_forward.srcsvc ". $self->srcsvc;
-
-  carp 'Using svc_acct in place of missing h_svc_acct record.'
-    if ($h_svc_acct->isa('FS::domain_record') and $DEBUG);
-
-  return $h_svc_acct;
-
-}
-
-=item dstsvc_acct
-
-=cut
-
-sub dstsvc_acct {
-  my $self = shift;
-  my $h_svc_acct = qsearchs(
-    'h_svc_acct',
-    { 'svcnum' => $self->dstsvc },
-    FS::h_svc_acct->sql_h_searchs(@_),
-  ) || $self->SUPER::dstsvc_acct
-    or die "no history svc_acct.svcnum for svc_forward.dstsvc ". $self->dstsvc;
-
-  carp 'Using svc_acct in place of missing h_svc_acct record.'
-    if ($h_svc_acct->isa('FS::domain_record') and $DEBUG);
-
-  return $h_svc_acct;
-}
-
-=back
-
-=head1 DESCRIPTION
-
-An FS::h_svc_forward object represents a historical mail forwarding alias.
-FS::h_svc_forward inherits from FS::h_Common and FS::svc_forward.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::svc_forward>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/h_svc_www.pm b/FS/FS/h_svc_www.pm
deleted file mode 100644 (file)
index 2a3b6dc..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-package FS::h_svc_www;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use Carp qw(carp);
-use FS::Record qw(qsearchs);
-use FS::h_Common;
-use FS::svc_www;
-use FS::h_domain_record;
-
-@ISA = qw( FS::h_Common FS::svc_www );
-
-$DEBUG = 0;
-
-sub table { 'h_svc_www' };
-
-=head1 NAME
-
-FS::h_svc_www - Historical web virtual host objects
-
-=head1 SYNOPSIS
-
-=head1 METHODS
-
-=over 4
-
-=item domain_record
-
-=cut
-
-sub domain_record {
-  my $self = shift;
-
-  carp 'Called FS::h_svc_www->domain_record on svcnum ' . $self->svcnum if $DEBUG;
-
-  my $domain_record = qsearchs(
-    'h_domain_record',
-    { 'recnum' => $self->recnum },
-    FS::h_domain_record->sql_h_searchs(@_),
-  ) || $self->SUPER::domain_record
-    or die "no history domain_record.recnum for svc_www.recnum ". $self->domsvc;
-
-  carp 'Using domain_record in place of missing h_domain_record record.'
-    if ($domain_record->isa('FS::domain_record') and $DEBUG);
-
-  return $domain_record;
-  
-}
-
-=back
-
-=head1 DESCRIPTION
-
-An FS::h_svc_www object represents a historical web virtual host.
-FS::h_svc_www inherits from FS::h_Common and FS::svc_www.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::h_Common>, L<FS::svc_www>, L<FS::Record>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/msgcat.pm b/FS/FS/msgcat.pm
deleted file mode 100644 (file)
index 855b8b2..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-package FS::msgcat;
-
-use strict;
-use vars qw( @ISA );
-use Exporter;
-use FS::UID;
-use FS::Record qw( qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::msgcat - Object methods for message catalog entries
-
-=head1 SYNOPSIS
-
-  use FS::msgcat;
-
-  $record = new FS::msgcat \%hash;
-  $record = new FS::msgcat { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::msgcat object represents an message catalog entry.  FS::msgcat inherits 
-from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item msgnum - primary key
-
-=item msgcode - Error code
-
-=item locale - Locale
-
-=item msg - Message
-
-=back
-
-If you just want to B<use> message catalogs, see L<FS::Msgcat>.
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new example.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'msgcat'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('msgnum')
-    || $self->ut_text('msgcode')
-    || $self->ut_text('msg')
-  ;
-  return $error if $error;
-
-  $self->locale =~ /^([\w\@]+)$/ or return "illegal locale: ". $self->locale;
-  $self->locale($1);
-
-  $self->SUPER::check
-}
-
-=back
-
-=head1 BUGS
-
-i18n/l10n, eek
-
-=head1 SEE ALSO
-
-L<FS::Msgcat>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/nas.pm b/FS/FS/nas.pm
deleted file mode 100644 (file)
index 3495339..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-package FS::nas;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw(qsearchs); #qsearch);
-use FS::UID qw( dbh );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::nas - Object methods for nas records
-
-=head1 SYNOPSIS
-
-  use FS::nas;
-
-  $record = new FS::nas \%hash;
-  $record = new FS::nas {
-    'nasnum'  => 1,
-    'nasip'   => '10.4.20.23',
-    'nasfqdn' => 'box1.brc.nv.us.example.net',
-  };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->heartbeat($timestamp);
-
-=head1 DESCRIPTION
-
-An FS::nas object represents an Network Access Server on your network, such as
-a terminal server or equivalent.  FS::nas inherits from FS::Record.  The
-following fields are currently supported:
-
-=over 4
-
-=item nasnum - primary key
-
-=item nas - NAS name
-
-=item nasip - NAS ip address
-
-=item nasfqdn - NAS fully-qualified domain name
-
-=item last - timestamp indicating the last instant the NAS was in a known
-             state (used by the session monitoring).
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new NAS.  To add the NAS to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'nas'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  $self->ut_numbern('nasnum')
-    || $self->ut_text('nas')
-    || $self->ut_ip('nasip')
-    || $self->ut_domain('nasfqdn')
-    || $self->ut_numbern('last')
-    || $self->SUPER::check
-    ;
-}
-
-=item heartbeat TIMESTAMP
-
-Updates the timestamp for this nas
-
-=cut
-
-sub heartbeat {
-  my($self, $timestamp) = @_;
-  my $dbh = dbh;
-  my $sth =
-    $dbh->prepare("UPDATE nas SET last = ? WHERE nasnum = ? AND last < ?");
-  $sth->execute($timestamp, $self->nasnum, $timestamp) or die $sth->errstr;
-  $self->last($timestamp);
-}
-
-=back
-
-=head1 BUGS
-
-heartbeat method uses SQL directly and doesn't update history tables.
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/option_Common.pm b/FS/FS/option_Common.pm
deleted file mode 100644 (file)
index f258fa1..0000000
+++ /dev/null
@@ -1,295 +0,0 @@
-package FS::option_Common;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use FS::Record qw( qsearch qsearchs dbh );
-
-@ISA = qw( FS::Record );
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::option_Common - Base class for option sub-classes
-
-=head1 SYNOPSIS
-
-use FS::option_Common;
-
-@ISA = qw( FS::option_Common );
-
-=head1 DESCRIPTION
-
-FS::option_Common is intended as a base class for classes which have a
-simple one-to-many class associated with them, used to store a hash-like data
-structure of keys and values.
-
-=head1 METHODS
-
-=over 4
-
-=item insert [ HASHREF | OPTION => VALUE ... ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-If a list or hash reference of options is supplied, option records are also
-created.
-
-=cut
-
-#false laziness w/queue.pm
-sub insert {
-  my $self = shift;
-  my $options = 
-    ( ref($_[0]) eq 'HASH' )
-      ? shift
-      : { @_ };
-  warn "FS::option_Common::insert called on $self with options ".
-       join(', ', map "$_ => ".$options->{$_}, keys %$options)
-    if $DEBUG;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  my $pkey = $self->pkey;
-  my $option_table = $self->option_table;
-
-  foreach my $optionname ( keys %{$options} ) {
-    my $href = {
-      $pkey         => $self->get($pkey),
-      'optionname'  => $optionname,
-      'optionvalue' => $options->{$optionname},
-    };
-
-    #my $option_record = eval "new FS::$option_table \$href";
-    #if ( $@ ) {
-    #  $dbh->rollback if $oldAutoCommit;
-    #  return $@;
-    #}
-    my $option_record = "FS::$option_table"->new($href);
-
-    $error = $option_record->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item delete
-
-Delete this record from the database.  Any associated option records are also
-deleted.
-
-=cut
-
-#foreign keys would make this much less tedious... grr dumb mysql
-sub delete {
-  my $self = shift;
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-  
-  my $pkey = $self->pkey;
-  #my $option_table = $self->option_table;
-
-  foreach my $obj ( $self->option_objects ) {
-    my $error = $obj->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item replace [ HASHREF | OPTION => VALUE ... ]
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-If a list hash reference of options is supplied, part_export_option records are
-created or modified (see L<FS::part_export_option>).
-
-=cut
-
-sub replace {
-  my $self = shift;
-  my $old = shift;
-  my $options = 
-    ( ref($_[0]) eq 'HASH' )
-      ? shift
-      : { @_ };
-  warn "FS::option_Common::insert called on $self with options ".
-       join(', ', map "$_ => ". $options->{$_}, keys %$options)
-    if $DEBUG;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::replace($old);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  my $pkey = $self->pkey;
-  my $option_table = $self->option_table;
-
-  foreach my $optionname ( keys %{$options} ) {
-    my $old = qsearchs( $option_table, {
-        $pkey         => $self->get($pkey),
-        'optionname'  => $optionname,
-    } );
-
-    my $href = {
-        $pkey         => $self->get($pkey),
-        'optionname'  => $optionname,
-        'optionvalue' => $options->{$optionname},
-    };
-
-    #my $new = eval "new FS::$option_table \$href";
-    #if ( $@ ) {
-    #  $dbh->rollback if $oldAutoCommit;
-    #  return $@;
-    #}
-    my $new = "FS::$option_table"->new($href);
-
-    $new->optionnum($old->optionnum) if $old;
-    my $error = $old ? $new->replace($old) : $new->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  #remove extraneous old options
-  foreach my $opt (
-    grep { !exists $options->{$_->optionname} } $old->option_objects
-  ) {
-    my $error = $opt->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item option_objects
-
-Returns all options as FS::I<tablename>_option objects.
-
-=cut
-
-sub option_objects {
-  my $self = shift;
-  my $pkey = $self->pkey;
-  my $option_table = $self->option_table;
-  qsearch($option_table, { $pkey => $self->get($pkey) } );
-}
-
-=item options 
-
-Returns a list of option names and values suitable for assigning to a hash.
-
-=cut
-
-sub options {
-  my $self = shift;
-  map { $_->optionname => $_->optionvalue } $self->option_objects;
-}
-
-=item option OPTIONNAME
-
-Returns the option value for the given name, or the empty string.
-
-=cut
-
-sub option {
-  my $self = shift;
-  my $pkey = $self->pkey;
-  my $option_table = $self->option_table;
-  my $obj =
-    qsearchs($option_table, {
-      $pkey      => $self->get($pkey),
-      optionname => shift,
-  } );
-  $obj ? $obj->optionvalue : '';
-}
-
-
-sub pkey {
-  my $self = shift;
-  my $pkey = $self->dbdef_table->primary_key;
-}
-
-sub option_table {
-  my $self = shift;
-  my $option_table = $self->table . '_option';
-  eval "use FS::$option_table";
-  die $@ if $@;
-  $option_table;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_bill_event.pm b/FS/FS/part_bill_event.pm
deleted file mode 100644 (file)
index 8143e34..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-package FS::part_bill_event;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::Conf;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::part_bill_event - Object methods for part_bill_event records
-
-=head1 SYNOPSIS
-
-  use FS::part_bill_event;
-
-  $record = new FS::part_bill_event \%hash;
-  $record = new FS::part_bill_event { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_bill_event object represents an invoice event definition -
-a callback which is triggered when an invoice is a certain amount of time
-overdue.  FS::part_bill_event inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item eventpart - primary key
-
-=item payby - CARD, DCRD, CHEK, DCHK, LECB, BILL, or COMP
-
-=item event - event name
-
-=item eventcode - event action
-
-=item seconds - how long after the invoice date events of this type are triggered
-
-=item weight - ordering for events with identical seconds
-
-=item plan - eventcode plan
-
-=item plandata - additional plan data
-
-=item disabled - Disabled flag, empty or `Y'
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new invoice event definition.  To add the example to the database,
-see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'part_bill_event'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid invoice event definition.  If
-there is an error, returns the error, otherwise returns false.  Called by the
-insert and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  $self->weight(0) unless $self->weight;
-
-  my $conf = new FS::Conf;
-  if ( $conf->exists('safe-part_bill_event') ) {
-    my $error = $self->ut_anything('eventcode');
-    return $error if $error;
-
-    my $c = $self->eventcode;
-
-    $c =~ /^\s*\$cust_main\->(suspend|cancel|invoicing_list_addpost|bill|collect)\(\);\s*("";)?\s*$/
-
-      or $c =~ /^\s*\$cust_bill\->(comp|realtime_(card|ach|lec)|batch_card|send)\(\);\s*$/
-
-      or $c =~ /^\s*\$cust_bill\->send(_if_newest)?\(\'[\w\-\s]+\'\s*(,\s*(\d+|\[\s*\d+(,\s*\d+)*\s*\])\s*,\s*'[\w\@\.\-\+]*'\s*)?\);\s*$/
-
-      or $c =~ /^\s*\$cust_main\->apply_payments; \$cust_main->apply_credits; "";\s*$/
-
-      or $c =~ /^\s*\$cust_main\->charge\( \s*\d*\.?\d*\s*,\s*\'[\w \!\@\#\$\%\&\(\)\-\+\;\:\"\,\.\?\/]*\'\s*\);\s*$/
-
-      or $c =~ /^\s*\$cust_main\->suspend_(if|unless)_pkgpart\([\d\,\s]*\);\s*$/
-
-      or $c =~ /^\s*\$cust_bill\->cust_suspend_if_balance_over\([\d\.\s]*\);\s*$/
-
-      or do {
-        #log
-        return "illegal eventcode: $c";
-      };
-
-  }
-
-  my $error = $self->ut_numbern('eventpart')
-    || $self->ut_enum('payby', [qw( CARD DCRD CHEK DCHK LECB BILL COMP )] )
-    || $self->ut_text('event')
-    || $self->ut_anything('eventcode')
-    || $self->ut_number('seconds')
-    || $self->ut_enum('disabled', [ '', 'Y' ] )
-    || $self->ut_number('weight')
-    || $self->ut_textn('plan')
-    || $self->ut_anything('plandata')
-  ;
-    #|| $self->ut_snumber('seconds')
-  return $error if $error;
-
-  #quelle kludge
-  if ( $self->plandata =~ /^(agent_)?templatename\s+(.*)$/m ) {
-    my $name= $2;
-
-    foreach my $file (qw( template
-                          latex latexnotes latexreturnaddress latexfooter
-                            latexsmallfooter
-                          html htmlnotes htmlreturnaddress htmlfooter
-                     ))
-    {
-      unless ( $conf->exists("invoice_${file}_$name") ) {
-        $conf->set(
-          "invoice_${file}_$name" =>
-            join("\n", $conf->config("invoice_$file") )
-        );
-      }
-    }
-  }
-
-  $self->SUPER::check;
-}
-
-=item templatename
-
-Returns the alternate invoice template name, if any, or false if there is
-no alternate template for this invoice event.
-
-=cut
-
-sub templatename {
-  my $self = shift;
-  if (    $self->plan     =~ /^send_(alternate|agent)$/
-       && $self->plandata =~ /^(agent_)?templatename (.*)$/m
-     )
-  {
-    $2;
-  } else {
-    '';
-  }
-}
-
-
-=back
-
-=head1 BUGS
-
-The whole "eventcode" idea is bunk.  This should be refactored with subclasses
-like part_pkg/ and part_export/
-
-=head1 SEE ALSO
-
-L<FS::cust_bill>, L<FS::cust_bill_event>, L<FS::Record>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
deleted file mode 100644 (file)
index dce2d2a..0000000
+++ /dev/null
@@ -1,458 +0,0 @@
-package FS::part_export;
-
-use strict;
-use vars qw( @ISA @EXPORT_OK $DEBUG %exports );
-use Exporter;
-use Tie::IxHash;
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::option_Common;
-use FS::part_svc;
-use FS::part_export_option;
-use FS::export_svc;
-
-@ISA = qw( FS::option_Common );
-@EXPORT_OK = qw(export_info);
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::part_export - Object methods for part_export records
-
-=head1 SYNOPSIS
-
-  use FS::part_export;
-
-  $record = new FS::part_export \%hash;
-  $record = new FS::part_export { 'column' => 'value' };
-
-  #($new_record, $options) = $template_recored->clone( $svcpart );
-
-  $error = $record->insert( { 'option' => 'value' } );
-  $error = $record->insert( \%options );
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_export object represents an export of Freeside data to an external
-provisioning system.  FS::part_export inherits from FS::Record.  The following
-fields are currently supported:
-
-=over 4
-
-=item exportnum - primary key
-
-=item machine - Machine name 
-
-=item exporttype - Export type
-
-=item nodomain - blank or "Y" : usernames are exported to this service with no domain
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new export.  To add the export to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'part_export'; }
-
-=cut
-
-#=item clone SVCPART
-#
-#An alternate constructor.  Creates a new export by duplicating an existing
-#export.  The given svcpart is assigned to the new export.
-#
-#Returns a list consisting of the new export object and a hashref of options.
-#
-#=cut
-#
-#sub clone {
-#  my $self = shift;
-#  my $class = ref($self);
-#  my %hash = $self->hash;
-#  $hash{'exportnum'} = '';
-#  $hash{'svcpart'} = shift;
-#  ( $class->new( \%hash ),
-#    { map { $_->optionname => $_->optionvalue }
-#        qsearch('part_export_option', { 'exportnum' => $self->exportnum } )
-#    }
-#  );
-#}
-
-=item insert HASHREF
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-If a hash reference of options is supplied, part_export_option records are
-created (see L<FS::part_export_option>).
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-#foreign keys would make this much less tedious... grr dumb mysql
-sub delete {
-  my $self = shift;
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  foreach my $export_svc ( $self->export_svc ) {
-    my $error = $export_svc->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item check
-
-Checks all fields to make sure this is a valid export.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-  my $error = 
-    $self->ut_numbern('exportnum')
-    || $self->ut_domain('machine')
-    || $self->ut_alpha('exporttype')
-  ;
-  return $error if $error;
-
-  $self->nodomain =~ /^(Y?)$/ or return "Illegal nodomain: ". $self->nodomain;
-  $self->nodomain($1);
-
-  $self->deprecated(1); #BLAH
-
-  #check exporttype?
-
-  $self->SUPER::check;
-}
-
-#=item part_svc
-#
-#Returns the service definition (see L<FS::part_svc>) for this export.
-#
-#=cut
-#
-#sub part_svc {
-#  my $self = shift;
-#  qsearchs('part_svc', { svcpart => $self->svcpart } );
-#}
-
-sub part_svc {
-  use Carp;
-  croak "FS::part_export::part_svc deprecated";
-  #confess "FS::part_export::part_svc deprecated";
-}
-
-=item svc_x
-
-Returns a list of associated FS::svc_* records.
-
-=cut
-
-sub svc_x {
-  my $self = shift;
-  map { $_->svc_x } $self->cust_svc;
-}
-
-=item cust_svc
-
-Returns a list of associated FS::cust_svc records.
-
-=cut
-
-sub cust_svc {
-  my $self = shift;
-  map { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
-    grep { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
-      $self->export_svc;
-}
-
-=item export_svc
-
-Returns a list of associated FS::export_svc records.
-
-=cut
-
-sub export_svc {
-  my $self = shift;
-  qsearch('export_svc', { 'exportnum' => $self->exportnum } );
-}
-
-=item part_export_option
-
-Returns all options as FS::part_export_option objects (see
-L<FS::part_export_option>).
-
-=cut
-
-sub part_export_option {
-  my $self = shift;
-  $self->option_objects;
-}
-
-=item options 
-
-Returns a list of option names and values suitable for assigning to a hash.
-
-=item option OPTIONNAME
-
-Returns the option value for the given name, or the empty string.
-
-=item _rebless
-
-Reblesses the object into the FS::part_export::EXPORTTYPE class, where
-EXPORTTYPE is the object's I<exporttype> field.  There should be better docs
-on how to create new exports, but until then, see L</NEW EXPORT CLASSES>.
-
-=cut
-
-sub _rebless {
-  my $self = shift;
-  my $exporttype = $self->exporttype;
-  my $class = ref($self). "::$exporttype";
-  eval "use $class;";
-  #die $@ if $@;
-  bless($self, $class) unless $@;
-  $self;
-}
-
-#these should probably all go away, just let the subclasses define em
-
-=item export_insert SVC_OBJECT
-
-=cut
-
-sub export_insert {
-  my $self = shift;
-  #$self->rebless;
-  $self->_export_insert(@_);
-}
-
-#sub AUTOLOAD {
-#  my $self = shift;
-#  $self->rebless;
-#  my $method = $AUTOLOAD;
-#  #$method =~ s/::(\w+)$/::_$1/; #infinite loop prevention
-#  $method =~ s/::(\w+)$/_$1/; #infinite loop prevention
-#  $self->$method(@_);
-#}
-
-=item export_replace NEW OLD
-
-=cut
-
-sub export_replace {
-  my $self = shift;
-  #$self->rebless;
-  $self->_export_replace(@_);
-}
-
-=item export_delete
-
-=cut
-
-sub export_delete {
-  my $self = shift;
-  #$self->rebless;
-  $self->_export_delete(@_);
-}
-
-=item export_suspend
-
-=cut
-
-sub export_suspend {
-  my $self = shift;
-  #$self->rebless;
-  $self->_export_suspend(@_);
-}
-
-=item export_unsuspend
-
-=cut
-
-sub export_unsuspend {
-  my $self = shift;
-  #$self->rebless;
-  $self->_export_unsuspend(@_);
-}
-
-#fallbacks providing useful error messages intead of infinite loops
-sub _export_insert {
-  my $self = shift;
-  return "_export_insert: unknown export type ". $self->exporttype;
-}
-
-sub _export_replace {
-  my $self = shift;
-  return "_export_replace: unknown export type ". $self->exporttype;
-}
-
-sub _export_delete {
-  my $self = shift;
-  return "_export_delete: unknown export type ". $self->exporttype;
-}
-
-#call svcdb-specific fallbacks
-
-sub _export_suspend {
-  my $self = shift;
-  #warn "warning: _export_suspened unimplemented for". ref($self);
-  my $svc_x = shift;
-  my $new = $svc_x->clone_suspended;
-  $self->_export_replace( $new, $svc_x );
-}
-
-sub _export_unsuspend {
-  my $self = shift;
-  #warn "warning: _export_unsuspend unimplemented for ". ref($self);
-  my $svc_x = shift;
-  my $old = $svc_x->clone_kludge_unsuspend;
-  $self->_export_replace( $svc_x, $old );
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item export_info [ SVCDB ]
-
-Returns a hash reference of the exports for the given I<svcdb>, or if no
-I<svcdb> is specified, for all exports.  The keys of the hash are
-I<exporttype>s and the values are again hash references containing information
-on the export:
-
-  'desc'     => 'Description',
-  'options'  => {
-                  'option'  => { label=>'Option Label' },
-                  'option2' => { label=>'Another label' },
-                },
-  'nodomain' => 'Y', #or ''
-  'notes'    => 'Additional notes',
-
-=cut
-
-sub export_info {
-  #warn $_[0];
-  return $exports{$_[0]} || {} if @_;
-  #{ map { %{$exports{$_}} } keys %exports };
-  my $r = { map { %{$exports{$_}} } keys %exports };
-}
-
-#=item exporttype2svcdb EXPORTTYPE
-#
-#Returns the applicable I<svcdb> for an I<exporttype>.
-#
-#=cut
-#
-#sub exporttype2svcdb {
-#  my $exporttype = $_[0];
-#  foreach my $svcdb ( keys %exports ) {
-#    return $svcdb if grep { $exporttype eq $_ } keys %{$exports{$svcdb}};
-#  }
-#  '';
-#}
-
-foreach my $INC ( @INC ) {
-  foreach my $file ( glob("$INC/FS/part_export/*.pm") ) {
-    warn "attempting to load export info from $file\n" if $DEBUG;
-    $file =~ /\/(\w+)\.pm$/ or do {
-      warn "unrecognized file in $INC/FS/part_export/: $file\n";
-      next;
-    };
-    my $mod = $1;
-    my $info = eval "use FS::part_export::$mod; ".
-                    "\\%FS::part_export::$mod\::info;";
-    if ( $@ ) {
-      die "error using FS::part_export::$mod (skipping): $@\n" if $@;
-      next;
-    }
-    unless ( keys %$info ) {
-      warn "no %info hash found in FS::part_export::$mod, skipping\n"
-        unless $mod =~ /^(passwdfile|null)$/; #hack but what the heck
-      next;
-    }
-    warn "got export info from FS::part_export::$mod: $info\n" if $DEBUG;
-    no strict 'refs';
-    foreach my $svc (
-      ref($info->{'svc'}) ? @{$info->{'svc'}} : $info->{'svc'}
-    ) {
-      unless ( $svc ) {
-        warn "blank svc for FS::part_export::$mod (skipping)\n";
-        next;
-      }
-      $exports{$svc}->{$mod} = $info;
-    }
-  }
-}
-
-=back
-
-=head1 NEW EXPORT CLASSES
-
-A module should be added in FS/FS/part_export/ (an example may be found in
-eg/export_template.pm)
-
-=head1 BUGS
-
-Hmm... cust_export class (not necessarily a database table...) ... ?
-
-deprecated column...
-
-=head1 SEE ALSO
-
-L<FS::part_export_option>, L<FS::export_svc>, L<FS::svc_acct>,
-L<FS::svc_domain>,
-L<FS::svc_forward>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_export/acct_sql.pm b/FS/FS/part_export/acct_sql.pm
deleted file mode 100644 (file)
index 4b92e80..0000000
+++ /dev/null
@@ -1,271 +0,0 @@
-package FS::part_export::acct_sql;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-#use Digest::MD5 qw(md5_hex);
-use FS::Record; #qw(qsearchs);
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'datasrc'            => { label => 'DBI data source' },
-  'username'           => { label => 'Database username' },
-  'password'           => { label => 'Database password' },
-  'table'              => { label => 'Database table' },
-  'schema'             => { label =>
-                              'Database schema mapping to Freeside methods.',
-                            type  => 'textarea',
-                          },
-  'primary_key'        => { label => 'Database primary key' },
-  'crypt'              => { label => 'Password encryption',
-                            type=>'select', options=>[qw(crypt md5)],
-                            default=>'crypt',
-                          },
-;
-
-tie my %vpopmail_map, 'Tie::IxHash',
-  'pw_name'   => 'username',
-  'pw_domain' => 'domain',
-  'pw_passwd' => 'crypt_password',
-  'pw_uid'    => 'uid',
-  'pw_gid'    => 'gid',
-  'pw_gecos'  => 'finger',
-  'pw_dir'    => 'dir',
-  #'pw_shell'  => 'shell',
-  'pw_shell'  => 'quota',
-;
-my $vpopmail_map = join('\n', map "$_ $vpopmail_map{$_}", keys %vpopmail_map );
-
-tie my %postfix_courierimap_mailbox_map, 'Tie::IxHash',
-  'username' => 'email',
-  'password' => '_password',
-  'crypt'    => 'crypt_password',
-  'name'     => 'finger',
-  'maildir'  => 'virtual_maildir',
-  'domain'   => 'domain',
-  'svcnum'   => 'svcnum',
-;
-my $postfix_courierimap_mailbox_map =
-  join('\n', map "$_ $postfix_courierimap_mailbox_map{$_}",
-                 keys %postfix_courierimap_mailbox_map      );
-
-tie my %postfix_courierimap_alias_map, 'Tie::IxHash',
-  'address' => 'email',
-  'goto'    => 'email',
-  'domain'  => 'domain',
-  'svcnum'  => 'svcnum',
-;
-my $postfix_courierimap_alias_map =
-  join('\n', map "$_ $postfix_courierimap_alias_map{$_}",
-                 keys %postfix_courierimap_alias_map      );
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     => 'Real-time export of accounts to SQL databases '.
-                '(vpopmail, Postfix+Courier IMAP, others?)',
-  'options'  => \%options,
-  'nodomain' => '',
-  'notes'    => <<END
-Export accounts (svc_acct records) to SQL databases.  Currently has default
-configurations for vpopmail and Postfix+Courier IMAP but intended to be
-configurable for other schemas as well.
-
-<BR><BR>In contrast to sqlmail, this is intended to export just svc_acct
-records only, rather than a single export for svc_acct, svc_forward and
-svc_domain records, to export in "default" database schemas rather than
-configure the MTA or POP/IMAP server for a Freeside-specific schema, and
-to be configured for different mail server setups.
-
-<BR><BR>Use these buttons for some useful presets:
-<UL>
-  <li><INPUT TYPE="button" VALUE="vpopmail" onClick='
-    this.form.table.value = "vpopmail";
-    this.form.schema.value = "$vpopmail_map";
-    this.form.primary_key.value = "pw_name, pw_domain";
-  '>
-  <LI><INPUT TYPE="button" VALUE="postfix_courierimap_mailbox" onClick='
-    this.form.table.value = "mailbox";
-    this.form.schema.value = "$postfix_courierimap_mailbox_map";
-    this.form.primary_key.value = "username";
-  '>
-  <LI><INPUT TYPE="button" VALUE="postfix_courierimap_alias" onClick='
-    this.form.table.value = "alias";
-    this.form.schema.value = "$postfix_courierimap_alias_map";
-    this.form.primary_key.value = "address";
-  '>
-</UL>
-END
-);
-
-sub _map {
-  my $self = shift;
-  map { /^\s*(\S+)\s*(\S+)\s*$/ } split("\n", $self->option('schema') );
-}
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self, $svc_acct) = (shift, shift);
-
-  my %map = $self->_map;
-
-  my %record = map { my $value = $map{$_};
-                     my @arg = ();
-                     push @arg, $self->option('crypt')
-                       if $value eq 'crypt_password' && $self->option('crypt');
-                     $_ => $svc_acct->$value(@arg);
-                   } keys %map;
-
-  my $err_or_queue =
-    $self->acct_sql_queue(
-      $svc_acct->svcnum,
-      'insert',
-      $self->option('table'),
-      %record
-    );
-  return $err_or_queue unless ref($err_or_queue);
-
-  '';
-
-}
-
-sub _export_replace {
-  my($self, $new, $old) = (shift, shift, shift);
-
-  my %map = $self->_map;
-
-  my @primary_key = ();
-  if ( $self->option('primary_key') =~ /,/ ) {
-    foreach my $key ( split(/\s*,\s*/, $self->option('primary_key') ) ) {
-      my $keymap = $map{$key};
-      push @primary_key, $old->$keymap();
-    }
-  } else {
-    my $keymap = $map{$self->option('primary_key')};
-    push @primary_key, $old->$keymap();
-  }
-
-  my %record = map { my $value = $map{$_};
-                     my @arg = ();
-                     push @arg, $self->option('crypt')
-                       if $value eq 'crypt_password' && $self->option('crypt');
-                     $_ => $new->$value(@arg);
-                   } keys %map;
-
-  my $err_or_queue = $self->acct_sql_queue(
-    $new->svcnum,
-    'replace',
-    $self->option('table'),
-    $self->option('primary_key'), @primary_key, 
-    %record,
-  );
-  return $err_or_queue unless ref($err_or_queue);
-  '';
-}
-
-sub _export_delete {
-  my ( $self, $svc_acct ) = (shift, shift);
-
-  my %map = $self->_map;
-
-  my %primary_key = ();
-  if ( $self->option('primary_key') =~ /,/ ) {
-    foreach my $key ( split(/\s*,\s*/, $self->option('primary_key') ) ) {
-      my $keymap = $map{$key};
-      $primary_key{ $key } = $svc_acct->$keymap();
-    }
-  } else {
-    my $keymap = $map{$self->option('primary_key')};
-    $primary_key{ $self->option('primary_key') } = $svc_acct->$keymap(),
-  }
-
-  my $err_or_queue = $self->acct_sql_queue(
-    $svc_acct->svcnum,
-    'delete',
-    $self->option('table'),
-    %primary_key,
-    #$self->option('primary_key') => $svc_acct->$keymap(),
-  );
-  return $err_or_queue unless ref($err_or_queue);
-  '';
-}
-
-sub acct_sql_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::acct_sql::acct_sql_$method",
-  };
-  $queue->insert(
-    $self->option('datasrc'),
-    $self->option('username'),
-    $self->option('password'),
-    @_,
-  ) or $queue;
-}
-
-sub acct_sql_insert { #subroutine, not method
-  my $dbh = acct_sql_connect(shift, shift, shift);
-  my( $table, %record ) = @_;
-
-  my $sth = $dbh->prepare(
-    "INSERT INTO $table ( ". join(", ", keys %record).
-    " ) VALUES ( ". join(", ", map '?', keys %record ). " )"
-  ) or die $dbh->errstr;
-
-  $sth->execute( values(%record) )
-    or die "can't insert into $table table: ". $sth->errstr;
-
-  $dbh->disconnect;
-}
-
-sub acct_sql_delete { #subroutine, not method
-  my $dbh = acct_sql_connect(shift, shift, shift);
-  my( $table, %record ) = @_;
-
-  my $sth = $dbh->prepare(
-    "DELETE FROM $table WHERE ". join(' AND ', map "$_ = ? ", keys %record )
-  ) or die $dbh->errstr;
-
-  $sth->execute( map $record{$_}, keys %record )
-    or die "can't delete from $table table: ". $sth->errstr;
-
-  $dbh->disconnect;
-}
-
-sub acct_sql_replace { #subroutine, not method
-  my $dbh = acct_sql_connect(shift, shift, shift);
-
-  my( $table, $pkey ) = ( shift, shift );
-
-  my %primary_key = ();
-  if ( $pkey =~ /,/ ) {
-    foreach my $key ( split(/\s*,\s*/, $pkey ) ) {
-      $primary_key{$key} = shift;
-    }
-  } else {
-    $primary_key{$pkey} = shift;
-  }
-
-  my %record = @_;
-
-  my $sth = $dbh->prepare(
-    "UPDATE $table".
-    ' SET '.   join(', ',    map "$_ = ?", keys %record      ).
-    ' WHERE '. join(' AND ', map "$_ = ?", keys %primary_key )
-  ) or die $dbh->errstr;
-
-  $sth->execute( values(%record), values(%primary_key) );
-
-  $dbh->disconnect;
-}
-
-sub acct_sql_connect {
-  #my($datasrc, $username, $password) = @_;
-  #DBI->connect($datasrc, $username, $password) or die $DBI::errstr;
-  DBI->connect(@_) or die $DBI::errstr;
-}
-
-1;
-
diff --git a/FS/FS/part_export/apache.pm b/FS/FS/part_export/apache.pm
deleted file mode 100644 (file)
index 35b00cc..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-package FS::part_export::apache;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::null;
-
-@ISA = qw(FS::part_export::null);
-
-tie my %options, 'Tie::IxHash',
-  'user'       => { label=>'Remote username', default=>'root' },
-  'httpd_conf' => { label=>'httpd.conf snippet location',
-                    default=>'/etc/apache/httpd-freeside.conf', },
-  'restart'    => { label=>'Apache restart command',
-                    default=>'apachectl graceful',
-                  },
-  'template'   => {
-    label   => 'Template',
-    type    => 'textarea',
-    default => <<'END',
-<VirtualHost $domain> #generic
-#<VirtualHost ip.addr> #preferred, http://httpd.apache.org/docs/dns-caveats.html
-DocumentRoot /var/www/$zone
-ServerName $zone
-ServerAlias *.$zone
-#BandWidthModule On
-#LargeFileLimit 4096 12288
-#FrontpageEnable on
-</VirtualHost>
-
-END
-  },
-;
-
-%info = (
-  'svc'     => 'svc_www',
-  'desc'    => 'Export an Apache httpd.conf file snippet.',
-  'options' => \%options,
-  'notes'   => <<'END'
-Batch export of an httpd.conf snippet from a template.  Typically used with
-something like <code>Include /etc/apache/httpd-freeside.conf</code> in
-httpd.conf.  <a href="http://search.cpan.org/dist/File-Rsync">File::Rsync</a>
-must be installed.  Run bin/apache.export to export the files.
-END
-);
-
-1;
-
diff --git a/FS/FS/part_export/artera_turbo.pm b/FS/FS/part_export/artera_turbo.pm
deleted file mode 100644 (file)
index c006db9..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-package FS::part_export::artera_turbo;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::Record qw(qsearch);
-use FS::part_export;
-use FS::cust_svc;
-use FS::svc_external;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'rid'        => { 'label' => 'Reseller ID (RID)' },
-  'username'   => { 'label' => 'Reseller username', },
-  'password'   => { 'label' => 'Reseller password', },
-  'pid'        => { 'label' => 'Artera Product ID', },
-  'priceid'    => { 'label' => 'Artera Price ID', },
-  'agent_aid'  => { 'label' => 'Export agentnum values to Artera AID',
-                    'type'  => 'checkbox',
-                  },
-  'aid'        => { 'label' => 'Artera Agent ID to use if not using agentnum values', },
-  'production' => { 'label' => 'Production mode (leave unchecked for staging)',
-                    'type'  => 'checkbox',
-                  },
-  'debug'      => { 'label' => 'Enable debug logging',
-                    'type'  => 'checkbox',
-                  },
-  'enable_edit' => { 'label' => 'Enable local editing of Artera serial numbers and key codes (note that the changes will NOT be exported to Artera)',
-                     'type'  => 'checkbox',
-                   },
-;
-
-%info = (
-  'svc'      => 'svc_external',
-  #'svc'      => [qw( svc_acct svc_forward )],
-  'desc'     =>
-    'Real-time export to Artera Turbo Reseller API',
-  'options'  => \%options,
-  #'nodomain' => 'Y',
-  'notes'    => <<'END'
-Real-time export to <a href="http://www.arteraturbo.com/">Artera Turbo</a>
-Reseller API.  Requires installation of
-<a href="http://search.cpan.org/dist/Net-Artera">Net::Artera</a>
-from CPAN.  You probably also want to:
-<UL>
-  <LI>In the configuration UI section: set the <B>svc_external-skip_manual</B> and <B>svc_external-display_type</B> configuration values.
-  <LI>In the message catalog: set <B>svc_external-id</B> to <I>Artera Serial Number</I> and set <B>svc_external-title</B> to <I>Artera Key Code</I>.
-</UL>
-END
-);
-
-sub rebless { shift; }
-
-sub _new_Artera {
-  my $self = shift;
-
-  my $artera = new Net::Artera (
-    map { $_ => $self->option($_) }
-        qw( rid username password production )
-  );
-}
-
-
-sub _export_insert {
-  my($self, $svc_external) = (shift, shift);
-
-  # want the ASN (serial) and AKC (key code) right away
-
-  eval "use Net::Artera;";
-  return $@ if $@;
-  $Net::Artera::DEBUG = 1 if $self->option('debug');
-  my $artera = $self->_new_Artera;
-
-  my $cust_pkg = $svc_external->cust_svc->cust_pkg;
-  my $part_pkg = $cust_pkg->part_pkg;
-  my @svc_acct = grep { $_->table eq 'svc_acct' }
-                 map { $_->svc_x }
-                 sort { my $svcpart = $part_pkg->svcpart('svc_acct');
-                        ($b->svcpart==$svcpart) cmp ($a->svcpart==$svcpart); }
-                 qsearch('cust_svc', { 'pkgnum' => $cust_pkg->pkgnum } );
-  my $email = scalar(@svc_acct) ? $svc_acct[0]->email : '';
-  
-  my $cust_main = $cust_pkg->cust_main;
-
-  my $result = $artera->newOrder(
-    'pid'     => $self->option('pid'),
-    'priceid' => $self->option('priceid'),
-    'email'   => $email,
-    'cname'   => $cust_main->name,
-    'ref'     => $svc_external->svcnum,
-    'aid'     => ( $self->option('agent_aid')
-                     ? $cust_main->agentnum
-                     : $self->option('aid')   ),
-    'add1'    => $cust_main->address1,
-    'add2'    => $cust_main->address2,
-    'add3'    => $cust_main->city,
-    'add4'    => $cust_main->state,
-    'zip'     => $cust_main->zip,
-    'cid'     => $cust_main->country,
-    'phone'   => $cust_main->daytime || $cust_main->night,
-    'fax'     => $cust_main->fax,
-  );
-
-  if ( $result->{'id'} == 1 ) {
-    my $new = new FS::svc_external { $svc_external->hash };
-    $new->id(sprintf('%010d', $result->{'ASN'}));
-    $new->title( substr('0000000000'.uc($result->{'AKC'}), -10) );
-    $new->replace($svc_external);
-  } else {
-    $result->{'message'} || 'No response from Artera';
-  }
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  return '' if $self->option('enable_edit');
-  return "can't change serial number with Artera"
-    if $old->id != $new->id && $old->id;
-  return "can't change key code with Artera"
-    if $old->title ne $new->title && $old->title;
-  '';
-}
-
-sub _export_delete {
-  my( $self, $svc_external ) = (shift, shift);
-  $self->queue_statusChange(17, $svc_external);
-}
-
-sub _export_suspend {
-  my( $self, $svc_external ) = (shift, shift);
-  $self->queue_statusChange(16, $svc_external);
-}
-
-sub _export_unsuspend {
-  my( $self, $svc_external ) = (shift, shift);
-  $self->queue_statusChange(15, $svc_external);
-}
-
-sub queue_statusChange {
-  my( $self, $status, $svc_external ) = @_;
-
-  my $queue = new FS::queue {
-    'svcnum' => $svc_external->svcnum,
-    'job'    => 'FS::part_export::artera_turbo::statusChange',
-  };
-  $queue->insert(
-    ( map { $self->option($_) }
-          qw( rid username password production ) ),
-    $status,
-    $svc_external->id,
-    $svc_external->title,
-    $self->option('debug'),
-  );
-}
-
-sub statusChange {
-  my( $rid, $username, $password, $prod, $status, $id, $title, $debug ) = @_;
-
-  eval "use Net::Artera;";
-  return $@ if $@;
-  $Net::Artera::DEBUG = 1 if $debug;
-
-  my $artera = new Net::Artera (
-    'rid'        => $rid,
-    'username'   => $username,
-    'password'   => $password,
-    'production' => $prod,
-  );
-
-  my $result = $artera->statusChange(
-    'asn'      => sprintf('%010d', $id),
-    'akc'      => substr("0000000000$title", -10),
-    'statusid' => $status,
-  );
-
-  die $result->{'message'} unless $result->{'id'} == 1;
-
-}
-
-1;
-
diff --git a/FS/FS/part_export/bind.pm b/FS/FS/part_export/bind.pm
deleted file mode 100644 (file)
index 1ef7b65..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-package FS::part_export::bind;
-
-use vars qw(@ISA %info %options);
-use Tie::IxHash;
-use FS::part_export::null;
-
-@ISA = qw(FS::part_export::null);
-
-tie %options, 'Tie::IxHash',
-  'named_conf'   => { label  => 'named.conf location',
-                      default=> '/etc/bind/named.conf' },
-  'zonepath'     => { label => 'path to zone files',
-                      default=> '/etc/bind/', },
-  'bind_release' => { label => 'ISC BIND Release',
-                      type  => 'select',
-                      options => [qw(BIND8 BIND9)],
-                      default => 'BIND8' },
-  'bind9_minttl' => { label => 'The minttl required by bind9 and RFC1035.',
-                      default => '1D' },
-  'reload'       => { label => 'Optional reload command.  If not specified, defaults to "ndc" under BIND8 and "rndc" under BIND9.', },
-;                    
-
-%info = (
-  'svc'     => 'svc_domain',
-  'desc'    => 'Batch export to BIND named',
-  'options' => \%options,
-  'notes'   => <<'END'
-Batch export of BIND zone and configuration files to a primary nameserver.
-<a href="http://search.cpan.org/search?dist=File-Rsync">File::Rsync</a>
-must be installed.  Run bin/bind.export to export the files.
-END
-);
-
-1;
-
diff --git a/FS/FS/part_export/bind_slave.pm b/FS/FS/part_export/bind_slave.pm
deleted file mode 100644 (file)
index c89325f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package FS::part_export::bind_slave;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::null;
-
-@ISA = qw(FS::part_export::null);
-
-tie my %options, 'Tie::IxHash', 
-  'master'       => { label=> 'Master IP address(s) (semicolon-separated)' },
-  %FS::part_export::bind::options,
-;
-delete $options{'zonepath'};
-
-%info = (
-  'svc'     => 'svc_domain',
-  'desc'    =>'Batch export to slave BIND named',
-  'options' => \%options,
-  'notes'   => <<'END'
-Batch export of BIND configuration file to a secondary nameserver.  Zones are
-slaved from the listed masters.
-<a href="http://search.cpan.org/dist/File-Rsync">File::Rsync</a>
-must be installed.  Run bin/bind.export to export the files.
-END
-);
-
-1;
-
diff --git a/FS/FS/part_export/bsdshell.pm b/FS/FS/part_export/bsdshell.pm
deleted file mode 100644 (file)
index 7b5feb2..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package FS::part_export::bsdshell;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::passwdfile;
-
-@ISA = qw(FS::part_export::passwdfile);
-
-tie my %options, 'Tie::IxHash', %FS::part_export::passwdfile::options;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     =>
-    'Batch export of /etc/passwd and /etc/master.passwd files (BSD)',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => <<'END'
-MD5 crypt requires installation of
-<a href="http://search.cpan.org/dist/Crypt-PasswdMD5">Crypt::PasswdMD5</a>
-from CPAN.  Run bin/bsdshell.export to export the files.
-END
-);
-
-1;
-
diff --git a/FS/FS/part_export/communigate_pro.pm b/FS/FS/part_export/communigate_pro.pm
deleted file mode 100644 (file)
index 6da2017..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-package FS::part_export::communigate_pro;
-
-use vars qw(@ISA %info %options);
-use Tie::IxHash;
-use FS::part_export;
-use FS::queue;
-
-@ISA = qw(FS::part_export);
-
-tie %options, 'Tie::IxHash',
-  'port'     => { label=>'Port number', default=>'106', },
-  'login'    => { label=>'The administrator account name.  The name can contain a domain part.', },
-  'password' => { label=>'The administrator account password.', },
-  'accountType' => { label=>'Type for newly-created accounts',
-                     type=>'select',
-                     options=>[qw( MultiMailbox TextMailbox MailDirMailbox )],
-                     default=>'MultiMailbox',
-                   },
-  'externalFlag' => { label=> 'Create accounts with an external (visible for legacy mailers) INBOX.',
-                      type=>'checkbox',
-                    },
-  'AccessModes' => { label=>'Access modes',
-                     default=>'Mail POP IMAP PWD WebMail WebSite',
-                   },
-;
-
-%info = (
-  'svc'     => 'svc_acct',
-  'desc'    => 'Real-time export to a CommuniGate Pro mail server',
-  'options' => \%options,
-  'notes'   => <<'END'
-Real time export to a
-<a href="http://www.stalker.com/CommuniGatePro/">CommuniGate Pro</a>
-mail server.  The
-<a href="http://www.stalker.com/CGPerl/">CommuniGate Pro Perl Interface</a>
-must be installed as CGP::CLI.
-END
-);
-
-sub rebless { shift; }
-
-sub export_username {
-  my($self, $svc_acct) = (shift, shift);
-  $svc_acct->email;
-}
-
-sub _export_insert {
-  my( $self, $svc_acct ) = (shift, shift);
-  my @options = ( $svc_acct->svcnum, 'CreateAccount',
-    'accountName'    => $self->export_username($svc_acct),
-    'accountType'    => $self->option('accountType'),
-    'AccessModes'    => $self->option('AccessModes'),
-    'RealName'       => $svc_acct->finger,
-    'Password'       => $svc_acct->_password,
-  );
-  push @options, 'MaxAccountSize' => $svc_acct->quota if $svc_acct->quota;
-  push @options, 'externalFlag'   => $self->option('externalFlag')
-    if $self->option('externalFlag');
-
-  $self->communigate_pro_queue( @options );
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  return "can't (yet) change username with CommuniGate Pro"
-    if $old->username ne $new->username;
-  return "can't (yet) change domain with CommuniGate Pro"
-    if $self->export_username($old) ne $self->export_username($new);
-  return "can't (yet) change GECOS with CommuniGate Pro"
-    if $old->finger ne $new->finger;
-  return "can't (yet) change quota with CommuniGate Pro"
-    if $old->quota ne $new->quota;
-  return '' unless $old->username ne $new->username
-                || $old->_password ne $new->_password
-                || $old->finger ne $new->finger
-                || $old->quota ne $new->quota;
-
-  return '' if '*SUSPENDED* '. $old->_password eq $new->_password;
-
-  #my $err_or_queue = $self->communigate_pro_queue( $new->svcnum,'RenameAccount',
-  #  $old->email, $new->email );
-  #return $err_or_queue unless ref($err_or_queue);
-  #my $jobnum = $err_or_queue->jobnum;
-
-  $self->communigate_pro_queue( $new->svcnum, 'SetAccountPassword',
-                                $self->export_username($new), $new->_password        )
-    if $new->_password ne $old->_password;
-
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->communigate_pro_queue( $svc_acct->svcnum, 'DeleteAccount',
-    $self->export_username($svc_acct),
-  );
-}
-
-sub _export_suspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->communigate_pro_queue( $svc_acct->svcnum, 'UpdateAccountSettings',
-    'accountName' => $self->export_username($svc_acct),
-    'AccessModes' => 'Mail',
-  );
-}
-
-sub _export_unsuspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->communigate_pro_queue( $svc_acct->svcnum, 'UpdateAccountSettings',
-    'accountName' => $self->export_username($svc_acct),
-    'AccessModes' => $self->option('AccessModes'),
-  );
-}
-
-sub communigate_pro_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my @kludge_methods = qw(CreateAccount UpdateAccountSettings);
-  my $sub = 'communigate_pro_command';
-  $sub = $method if grep { $method eq $_ } @kludge_methods;
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::communigate_pro::$sub",
-  };
-  $queue->insert(
-    $self->machine,
-    $self->option('port'),
-    $self->option('login'),
-    $self->option('password'),
-    $method,
-    @_,
-  );
-
-}
-
-sub CreateAccount {
-  my( $machine, $port, $login, $password, $method, %args ) = @_;
-  my $accountName  = delete $args{'accountName'};
-  my $accountType  = delete $args{'accountType'};
-  my $externalFlag = delete $args{'externalFlag'};
-  $args{'AccessModes'} = [ split(' ', $args{'AccessModes'}) ];
-  my @args = ( accountName => $accountName,
-               accountType  => $accountType,
-               settings     => \%args,
-             );
-               #externalFlag => $externalFlag,
-  push @args, externalFlag => $externalFlag if $externalFlag;
-
-  communigate_pro_command( $machine, $port, $login, $password, $method, @args );
-
-}
-
-sub UpdateAccountSettings {
-  my( $machine, $port, $login, $password, $method, %args ) = @_;
-  my $accountName  = delete $args{'accountName'};
-  $args{'AccessModes'} = [ split(' ', $args{'AccessModes'}) ];
-  @args = ( $accountName, \%args );
-  communigate_pro_command( $machine, $port, $login, $password, $method, @args );
-}
-
-sub communigate_pro_command { #subroutine, not method
-  my( $machine, $port, $login, $password, $method, @args ) = @_;
-
-  eval "use CGP::CLI";
-
-  my $cli = new CGP::CLI( {
-    'PeerAddr' => $machine,
-    'PeerPort' => $port,
-    'login'    => $login,
-    'password' => $password,
-  } ) or die "Can't login to CGPro: $CGP::ERR_STRING\n";
-
-  $cli->$method(@args) or die "CGPro error: ". $cli->getErrMessage;
-
-  $cli->Logout or die "Can't logout of CGPro: $CGP::ERR_STRING\n";
-
-}
-
-1;
-
diff --git a/FS/FS/part_export/communigate_pro_singledomain.pm b/FS/FS/part_export/communigate_pro_singledomain.pm
deleted file mode 100644 (file)
index 6a1bf60..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package FS::part_export::communigate_pro_singledomain;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::communigate_pro;
-
-@ISA = qw(FS::part_export::communigate_pro);
-
-tie my %options, 'Tie::IxHash', %FS::part_export::communigate_pro::options,
-  'domain'   => { label=>'Domain', },
-;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     =>
-    'Real-time export to a CommuniGate Pro mail server, one domain only',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => <<'END'
-Real time export to a
-<a href="http://www.stalker.com/CommuniGatePro/">CommuniGate Pro</a>
-mail server.  This is an unusual export to CommuniGate Pro that forces all
-accounts into a single domain.  As CommuniGate Pro supports multipledomains,
-unless you have a specific reason for using this export, you probably want to
-use the communigate_pro export instead.  The
-<a href="http://www.stalker.com/CGPerl/">CommuniGate Pro Perl Interface</a>
-must be installed as CGP::CLI.
-END
-);
-
-sub export_username {
-  my($self, $svc_acct) = (shift, shift);
-  $svc_acct->username. '@'. $self->option('domain');
-}
-
-1;
-
diff --git a/FS/FS/part_export/cp.pm b/FS/FS/part_export/cp.pm
deleted file mode 100644 (file)
index 96fa437..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-package FS::part_export::cp;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'port'      => { label=>'Port number' },
-  'username'  => { label=>'Username' },
-  'password'  => { label=>'Password' },
-  'domain'    => { label=>'Domain' },
-  'workgroup' => { label=>'Default Workgroup' },
-;
-
-%info = (
-  'svc'    => 'svc_acct',
-  'desc'   => 'Real-time export to Critical Path Account Provisioning Protocol',
-  'options'=> \%options,
-  'notes'  => <<'END'
-Real-time export to
-<a href="http://www.cp.net/">Critial Path Account Provisioning Protocol</a>.
-Requires installation of
-<a href="http://search.cpan.org/dist/Net-APP">Net::APP</a>
-from CPAN.
-END
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->cp_queue( $svc_acct->svcnum, 'create_mailbox',
-    'Mailbox'   => $svc_acct->username,
-    'Password'  => $svc_acct->_password,
-    'Workgroup' => $self->option('workgroup'),
-    'Domain'    => $svc_acct->domain,
-  );
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  return "can't change domain with Critical Path"
-    if $old->domain ne $new->domain;
-  return "can't change username with Critical Path" #CP no longer supports this
-    if $old->username ne $new->username;
-  return '' unless $old->_password ne $new->_password;
-  $self->cp_queue( $new->svcnum, 'replace', $new->domain,
-    $old->username, $new->username, $old->_password, $new->_password );
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->cp_queue( $svc_acct->svcnum, 'delete_mailbox',
-    'Mailbox'   => $svc_acct->username,
-    'Domain'    => $svc_acct->domain,
-  );
-}
-
-sub _export_suspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->cp_queue( $svc_acct->svcnum, 'set_mailbox_status',
-    'Mailbox'       => $svc_acct->username,
-    'Domain'        => $svc_acct->domain,
-    'OTHER'         => 'T',
-    'OTHER_SUSPEND' => 'T',
-  );
-}
-
-sub _export_unsuspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->cp_queue( $svc_acct->svcnum, 'set_mailbox_status',
-    'Mailbox'       => $svc_acct->username,
-    'Domain'        => $svc_acct->domain,
-    'PAYMENT'       => 'F',
-    'OTHER'         => 'F',
-    'OTHER_SUSPEND' => 'F',
-    'OTHER_BOUNCE'  => 'F',
-  );
-}
-
-sub cp_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => 'FS::part_export::cp::cp_command',
-  };
-  $queue->insert(
-    $self->machine,
-    $self->option('port'),
-    $self->option('username'),
-    $self->option('password'),
-    $self->option('domain'),
-    $method,
-    @_,
-  );
-}
-
-sub cp_command { #subroutine, not method
-  my($host, $port, $username, $password, $login_domain, $method, @args) = @_;
-
-  #quelle hack
-  if ( $method eq 'replace' ) {
-  
-    my( $domain, $old_username, $new_username, $old_password, $new_password)
-      = @args;
-
-    if ( $old_username ne $new_username ) {
-      cp_command($host, $port, $username, $password, 'rename_mailbox',
-        Domain        => $domain,
-        Old_Mailbox   => $old_username,
-        New_Mailbox   => $new_username,
-      );
-    }
-
-    #my $other = 'F';
-    if ( $new_password =~ /^\*SUSPENDED\* (.*)$/ ) {
-      $new_password = $1;
-    #  $other = 'T';
-    }
-    #cp_command($host, $port, $username, $password, $login_domain,
-    #  'set_mailbox_status',
-    #  Domain       => $domain,
-    #  Mailbox      => $new_username,
-    #  Other        => $other,
-    #  Other_Bounce => $other,
-    #);
-
-    if ( $old_password ne $new_password ) {
-      cp_command($host, $port, $username, $password, $login_domain,
-        'change_mailbox',
-        Domain    => $domain,
-        Mailbox   => $new_username,
-        Password  => $new_password,
-      );
-    }
-
-    return;
-  }
-  #eof quelle hack
-
-  eval "use Net::APP;";
-
-  my $app = new Net::APP (
-    "$host:$port",
-    User     => $username,
-    Password => $password,
-    Domain   => $login_domain,
-    Timeout  => 60,
-    #Debug    => 1,
-  ) or die "$@\n";
-
-  $app->$method( @args );
-
-  die $app->message."\n" unless $app->ok;
-
-}
-
-1;
-
diff --git a/FS/FS/part_export/cpanel.pm b/FS/FS/part_export/cpanel.pm
deleted file mode 100644 (file)
index 0ad00df..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-package FS::part_export::cpanel;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'user'       => { label=>'Remote access username' },
-  'accesshash' => { label=>'Remote access key', type=>'textarea' },
-  'debug'      => { label=>'Enable debugging', type=>'checkbox' },
-;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     => 'Real-time export to Cpanel control panel.',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => 'Real time export to a the <a href="http://www.cpanel.net/">Cpanel</a> control panel software.  Service definition names are exported as Cpanel packages.  Requires installation of the Cpanel::Accounting perl module distributed with Cpanel.',
-);
-
-sub rebless { shift; }
-
-sub _export_insert { 
-  my($self, $svc_acct) = (shift, shift);
-  $err_or_queue = $self->cpanel_queue( $svc_acct->svcnum, 'insert',
-    $svc_acct->domain,
-    $svc_acct->username,
-    $svc_acct->_password,
-    $svc_acct->cust_svc->part_svc->svc,
-  );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  return "can't change username with cpanel"
-    if $old->username ne $new->username;
-  return "can't change password with cpanel"
-    if $old->_passsword ne $new->_password;
-  return "can't change domain with cpanel"
-    if $old->domain ne $new->domain;
-
-  '';
-
-  ##return '' unless $old->_password ne $new->_password;
-  #$err_or_queue = $self->cpanel_queue( $new->svcnum,
-  #  'replace', $new->username, $new->_password );
-  #ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  $err_or_queue = $self->cpanel_queue( $svc_acct->svcnum,
-    'delete', $svc_acct->username
-  );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_suspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $err_or_queue = $self->cpanel_queue( $svc_acct->svcnum,
-    'suspend', $svc_acct->username );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_unsuspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $err_or_queue = $self->cpanel_queue( $svc_acct->svcnum,
-    'unsuspend', $svc_acct->username );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-
-sub cpanel_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::cpanel::cpanel_$method",
-  };
-  $queue->insert(
-    $self->machine,
-    $self->option('user'),
-    $self->option('accesshash'),
-    $self->option('debug'),
-    @_ 
-  ) or $queue;
-}
-
-
-sub cpanel_insert { #subroutine, not method
-  my( $machine, $user, $accesshash, $debug ) = splice(@_,0,4);
-
-#  my $whm = cpanel_connect($machine, $user, $accesshash, $debug);
-#  warn "  cpanel->createacct ". join(', ', @_). "\n"
-#    if $debug;
-#  my $response = $whm->createacct(@_);
-#  die $whm->{'error'} if $whm->{'error'};
-#  warn "  cpanel response: $response\n"
-#    if $debug;
-
-  warn "cpanel_insert: attempting web interface to add POP"
-    if $debug;
-
-  my($domain, $username, $password, $svc) = @_;
-
-  use LWP::UserAgent;
-  use HTTP::Request::Common qw(POST);
-
-  my $url =
-    "http://$user:$accesshash\@$domain:2082/frontend/x/mail/addpop2.html";
-
-  my $ua = LWP::UserAgent->new();
-
-  #$req->authorization_basic($user, $accesshash);
-
-  my $res = $ua->request(
-    POST( $url,
-          [ 
-            'email'    => $username,
-            'domain'   => $domain,
-            'password' => $password,
-            'quota'    => 10, #?
-          ] 
-        )
-  );
-
-  die "Error submitting data to $url: ". $res->status_line
-    unless $res->is_success;
-
-  die "Username in use"
-    if $res->content =~ /exists/;
-
-  die "Account not created: ". $res->content
-    if $res->content =~ /failure/;
-
-}
-
-#sub cpanel_replace { #subroutine, not method
-#}
-
-sub cpanel_delete { #subroutine, not method
-  my( $machine, $user, $accesshash, $debug ) = splice(@_,0,4);
-  my $whm = cpanel_connect($machine, $user, $accesshash, $debug);
-  warn "  cpanel->killacct ". join(', ', @_). "\n"
-    if $debug;
-  my $response = $whm->killacct(shift);
-  die $whm->{'error'} if $whm->{'error'};
-  warn "  cpanel response: $response\n"
-    if $debug;
-}
-
-sub cpanel_suspend { #subroutine, not method
-  my( $machine, $user, $accesshash, $debug ) = splice(@_,0,4);
-  my $whm = cpanel_connect($machine, $user, $accesshash, $debug);
-  warn "  cpanel->suspend ". join(', ', @_). "\n"
-    if $debug;
-  my $response = $whm->suspend(shift);
-  die $whm->{'error'} if $whm->{'error'};
-  warn "  cpanel response: $response\n"
-    if $debug;
-}
-
-sub cpanel_unsuspend { #subroutine, not method
-  my( $machine, $user, $accesshash, $debug ) = splice(@_,0,4);
-  my $whm = cpanel_connect($machine, $user, $accesshash, $debug);
-  warn "  cpanel->unsuspend ". join(', ', @_). "\n"
-    if $debug;
-  my $response = $whm->unsuspend(shift);
-  die $whm->{'error'} if $whm->{'error'};
-  warn "  cpanel response: $response\n"
-    if $debug;
-}
-
-sub cpanel_connect {
-  my( $host, $user, $accesshash, $debug ) = @_;
-
-  eval "use Cpanel::Accounting;";
-  die $@ if $@;
-
-  warn "creating new Cpanel::Accounting connection to $user@$host\n"
-    if $debug;
-
-  my $whm = new Cpanel::Accounting;
-  $whm->{'host'}       = $host;
-  $whm->{'user'}       = $user;
-  $whm->{'accesshash'} = $accesshash;
-  $whm->{'usessl'}     = 1;
-
-  $whm;
-}
diff --git a/FS/FS/part_export/cyrus.pm b/FS/FS/part_export/cyrus.pm
deleted file mode 100644 (file)
index 84c9e5a..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-package FS::part_export::cyrus;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'server'   => { label=>'IMAP server' },
-  'username' => { label=>'Admin username' },
-  'password' => { label=>'Admin password' },
-;
-
-%info = ( 
-  'svc'      => 'svc_acct',
-  'desc'     => 'Real-time export to Cyrus IMAP server',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => <<'END'
-Integration with
-<a href="http://asg.web.cmu.edu/cyrus/imapd/">Cyrus IMAP Server</a>.
-Cyrus::IMAP::Admin should be installed locally and the connection to the
-server secured.  <B>svc_acct.quota</B>, if available, is used to set the
-Cyrus quota.
-END
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self, $svc_acct) = (shift, shift);
-  $self->cyrus_queue( $svc_acct->svcnum, 'insert',
-    $svc_acct->username, $svc_acct->quota );
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  return "can't change username using Cyrus"
-    if $old->username ne $new->username;
-  return '';
-#  #return '' unless $old->_password ne $new->_password;
-#  $self->cyrus_queue( $new->svcnum,
-#    'replace', $new->username, $new->_password );
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->cyrus_queue( $svc_acct->svcnum, 'delete',
-    $svc_acct->username );
-}
-
-#a good idea to queue anything that could fail or take any time
-sub cyrus_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::cyrus::cyrus_$method",
-  };
-  $queue->insert(
-    $self->option('server'),
-    $self->option('username'),
-    $self->option('password'),
-    @_
-  );
-}
-
-sub cyrus_insert { #subroutine, not method
-  my $client = cyrus_connect(shift, shift, shift);
-  my( $username, $quota ) = @_;
-  my $rc = $client->create("user.$username");
-  my $error = $client->error;
-  die "creating user.$username: $error" if $error;
-
-  $rc = $client->setacl("user.$username", $username => 'all' );
-  $error = $client->error;
-  die "setacl user.$username: $error" if $error;
-
-  if ( $quota ) {
-    $rc = $client->setquota("user.$username", 'STORAGE' => $quota );
-    $error = $client->error;
-    die "setquota user.$username: $error" if $error;
-  }
-
-}
-
-sub cyrus_delete { #subroutine, not method
-  my ( $server, $admin_username, $password_username, $username ) = @_;
-  my $client = cyrus_connect($server, $admin_username, $password_username);
-
-  my $rc = $client->setacl("user.$username", $admin_username => 'all' );
-  my $error = $client->error;
-  die $error if $error;
-
-  $rc = $client->delete("user.$username");
-  $error = $client->error;
-  die $error if $error;
-}
-
-sub cyrus_connect {
-
-  my( $server, $admin_username, $admin_password ) = @_;
-
-  eval "use Cyrus::IMAP::Admin;";
-
-  my $client = Cyrus::IMAP::Admin->new($server);
-  $client->authenticate(
-    -user      => $admin_username,
-    -mechanism => "login",       
-    -password  => $admin_password,
-  );
-  $client;
-
-}
-
-#sub cyrus_replace { #subroutine, not method
-#}
-
-1;
-
diff --git a/FS/FS/part_export/domain_shellcommands.pm b/FS/FS/part_export/domain_shellcommands.pm
deleted file mode 100644 (file)
index d15f41a..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-package FS::part_export::domain_shellcommands;
-
-use strict;
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'user' => { label=>'Remote username', default=>'root' },
-  'useradd' => { label=>'Insert command',
-                 default=>'',
-               },
-  'userdel'  => { label=>'Delete command',
-                  default=>'',
-                },
-  'usermod'  => { label=>'Modify command',
-                  default=>'',
-                },
-;
-
-%info = (
-  'svc'     => 'svc_domain',
-  'desc'    => 'Run remote commands via SSH, for domains (qmail, ISPMan).',
-  'options' => \%options,
-  'notes'   => <<'END'
-Run remote commands via SSH, for domains.  You will need to
-<a href="../docs/ssh.html">setup SSH for unattended operation</a>.
-<BR><BR>Use these buttons for some useful presets:
-<UL>
-  <LI>
-    <INPUT TYPE="button" VALUE="qmail catchall .qmail-domain-default maintenance" onClick='
-      this.form.useradd.value = "[ \"$uid\" -a \"$gid\" -a \"$dir\" -a \"$qdomain\" ] && [ -e $dir/.qmail-$qdomain-default ] || { touch $dir/.qmail-$qdomain-default; chown $uid:$gid $dir/.qmail-$qdomain-default; }";
-      this.form.userdel.value = "";
-      this.form.usermod.value = "";
-    '>
-  <LI>
-    <INPUT TYPE="button" VALUE="ISPMan CLI" onClick='
-      this.form.useradd.value = "/usr/local/ispman/bin/ispman.addDomain -d $domain changeme";
-      this.form.userdel.value = "/usr/local/ispman/bin/ispman.deleteDomain -d $domain";
-      this.form.usermod.value = "";
-    '>
-</UL>
-The following variables are available for interpolation (prefixed with <code>new_</code> or <code>old_</code> for replace operations):
-<UL>
-  <LI><code>$domain</code>
-  <LI><code>$qdomain</code> - domain with periods replaced by colons
-  <LI><code>$uid</code> - of catchall account
-  <LI><code>$gid</code> - of catchall account
-  <LI><code>$dir</code> - home directory of catchall account
-  <LI>All other fields in
-    <a href="../docs/schema.html#svc_domain">svc_domain</a> are also available.
-</UL>
-END
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self) = shift;
-  $self->_export_command('useradd', @_);
-}
-
-sub _export_delete {
-  my($self) = shift;
-  $self->_export_command('userdel', @_);
-}
-
-sub _export_command {
-  my ( $self, $action, $svc_domain) = (shift, shift, shift);
-  my $command = $self->option($action);
-  return '' if $command =~ /^\s*$/;
-
-  #set variable for the command
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${$_} = $svc_domain->getfield($_) foreach $svc_domain->fields;
-  }
-  ( $qdomain = $domain ) =~ s/\./:/g; #see dot-qmail(5): EXTENSION ADDRESSES
-
-  if ( $svc_domain->catchall ) {
-    no strict 'refs';
-    my $svc_acct = $svc_domain->catchall_svc_acct;
-    ${$_} = $svc_acct->getfield($_) foreach qw(uid gid dir);
-  } else {
-    no strict 'refs';
-    ${$_} = '' foreach qw(uid gid dir);
-  }
-
-  #done setting variables for the command
-
-  $self->shellcommands_queue( $svc_domain->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-  );
-}
-
-sub _export_replace {
-  my($self, $new, $old ) = (shift, shift, shift);
-  my $command = $self->option('usermod');
-  
-  #set variable for the command
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${"old_$_"} = $old->getfield($_) foreach $old->fields;
-    ${"new_$_"} = $new->getfield($_) foreach $new->fields;
-  }
-  ( $old_qdomain = $old_domain ) =~ s/\./:/g; #see dot-qmail(5): EXTENSION ADDRESSES
-  ( $new_qdomain = $new_domain ) =~ s/\./:/g; #see dot-qmail(5): EXTENSION ADDRESSES
-
-  if ( $old->catchall ) {
-    no strict 'refs';
-    my $svc_acct = $old->catchall_svc_acct;
-    ${"old_$_"} = $svc_acct->getfield($_) foreach qw(uid gid dir);
-  } else {
-    ${"old_$_"} = '' foreach qw(uid gid dir);
-  }
-  if ( $new->catchall ) {
-    no strict 'refs';
-    my $svc_acct = $new->catchall_svc_acct;
-    ${"new_$_"} = $svc_acct->getfield($_) foreach qw(uid gid dir);
-  } else {
-    ${"new_$_"} = '' foreach qw(uid gid dir);
-  }
-
-  #done setting variables for the command
-
-  $self->shellcommands_queue( $new->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-  );
-}
-
-#a good idea to queue anything that could fail or take any time
-sub shellcommands_queue {
-  my( $self, $svcnum ) = (shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::domain_shellcommands::ssh_cmd",
-  };
-  $queue->insert( @_ );
-}
-
-sub ssh_cmd { #subroutine, not method
-  use Net::SSH '0.08';
-  &Net::SSH::ssh_cmd( { @_ } );
-}
-
-#sub shellcommands_insert { #subroutine, not method
-#}
-#sub shellcommands_replace { #subroutine, not method
-#}
-#sub shellcommands_delete { #subroutine, not method
-#}
-
-1;
-
diff --git a/FS/FS/part_export/everyone_net.pm b/FS/FS/part_export/everyone_net.pm
deleted file mode 100644 (file)
index e04318e..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-package FS::part_export::everyone_net;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'clientID'  => { label=>'clientID' },
-  'password'  => { label=>'Password' },
-  #'workgroup' => { label=>'Default Workgroup' },
-  'debug'     => { label=>'Enable debugging',
-                    type=>'checkbox'          },
-;
-
-%info = (
-  'svc'    => 'svc_acct',
-  'desc'   => 'Real-time export to Everyone.net outsourced mail service',
-  'options'=> \%options,
-  'notes'  => <<'END'
-Real-time export to
-<a href="http://www.cp.net/">Everyone.net</a> via the XRC Remote API.
-Requires installation of
-<a href="http://search.cpan.org/dist/Net-XRC">Net::XRC</a>
-from CPAN.
-END
-);
-
-sub rebless { shift; }
-
-# experiement: want the status of these right away (don't want account to
-# create or whatever and then get error in the queue from dup username or
-# something), so no queueing
-
-sub _export_insert {
-  my( $self, $svc_acct ) = (shift, shift);
-
-  eval "use Net::XRC qw(:types);";
-  return $@ if $@;
-
-  $self->_xrc_command( 'createUser',
-                       $svc_acct->domain,
-                       [],
-                       string($svc_acct->username),
-                       string($svc_acct->_password),
-                     );
-}
-
-sub _xrc_command {
-  my( $self, $method, $domain, @args ) = @_;
-  
-  eval "use Net::XRC qw(:types);";
-  return $@ if $@;
-
-  local($Net::XRC::DEBUG) = 1
-    if $self->option('debug');
-
-  my $xrc = new Net::XRC (
-    'clientID' => $self->option('clientID'),
-    'password' => $self->option('password'),
-  );
-
-  my $dresponse = $xrc->lookupMXReadyClientIDByEmailDomain( string($domain) );
-  return $dresponse->error unless $dresponse->is_success;
-  my $clientID = $dresponse->content;
-  return "clientID for domain $domain not found"
-    if $clientID == -1;
-
-  my $response = $xrc->$method($clientID, @args);
-  return $response->error unless $response->is_success;
-  '';
-
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-
-  eval "use Net::XRC qw(:types);";
-  return $@ if $@;
-
-  return "can't change domain with Everyone.net"
-    if $old->domain ne $new->domain;
-  return "can't change username with Everyone.net"
-    if $old->username ne $new->username;
-  return '' unless $old->_password ne $new->_password;
-
-  $self->_xrc_command( 'setUserPassword',
-                       $new->domain,
-                       string($new->username),
-                       string($new->_password),
-                     );
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-
-  eval "use Net::XRC qw(:types);";
-  return $@ if $@;
-
-  $self->_xrc_command( 'deleteUser',
-                       $svc_acct->domain,
-                       string($svc_acct->username),
-                     );
-}
-
-sub _export_suspend {
-  my( $self, $svc_acct ) = (shift, shift);
-
-  eval "use Net::XRC qw(:types);";
-  return $@ if $@;
-
-  $self->_xrc_command( 'suspendUser',
-                       $svc_acct->domain,
-                       string($svc_acct->username),
-                     );
-}
-
-sub _export_unsuspend {
-  my( $self, $svc_acct ) = (shift, shift);
-
-  eval "use Net::XRC qw(:types);";
-  return $@ if $@;
-
-  $self->_xrc_command( 'unsuspendUser',
-                       $svc_acct->domain,
-                       string($svc_acct->username),
-                     );
-}
-
-1;
-
diff --git a/FS/FS/part_export/forward_shellcommands.pm b/FS/FS/part_export/forward_shellcommands.pm
deleted file mode 100644 (file)
index cee24e4..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-package FS::part_export::forward_shellcommands;
-
-use strict;
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'user' => { label=>'Remote username', default=>'root' },
-  'useradd' => { label=>'Insert command',
-                 default=>'',
-               },
-  'userdel'  => { label=>'Delete command',
-                  default=>'',
-                },
-  'usermod'  => { label=>'Modify command',
-                  default=>'',
-                },
-;
-
-%info = (
-  'svc'     => 'svc_forward',
-  'desc'    => 'Run remote commands via SSH, for forwards',
-  'options' => \%options,
-  'notes'   => <<'END'
-Run remote commands via SSH, for forwards.  You will need to
-<a href="../docs/ssh.html">setup SSH for unattended operation</a>.
-<BR><BR>Use these buttons for some useful presets:
-<UL>
-  <LI>
-    <INPUT TYPE="button" VALUE="text vpopmail maintenance" onClick='
-      this.form.useradd.value = "[ -d /home/vpopmail/domains/$domain/$username ] && { echo \"$destination\" > /home/vpopmail/domains/$domain/$username/.qmail; chown vpopmail:vchkpw /home/vpopmail/domains/$domain/$username/.qmail; }";
-      this.form.userdel.value = "rm /home/vpopmail/domains/$domain/$username/.qmail";
-      this.form.usermod.value = "mv /home/vpopmail/domains/$old_domain/$old_username/.qmail /home/vpopmail/domains/$new_domain/$new_username; [ \"$old_destination\" != \"$new_destination\" ] && { echo \"$new_destination\" > /home/vpopmail/domains/$new_domain/$new_username/.qmail; chown vpopmail:vchkpw /home/vpopmail/domains/$new_domain/$new_username/.qmail; }";
-    '>
-  <LI>
-    <INPUT TYPE="button" VALUE="ISPMan CLI" onClick='
-      this.form.useradd.value = "";
-      this.form.userdel.value = "";
-      this.form.usermod.value = "";
-    '>
-</UL>
-The following variables are available for interpolation (prefixed with
-<code>new_</code> or <code>old_</code> for replace operations):
-<UL>
-  <LI><code>$username</code> - username of forward source
-  <LI><code>$domain</code> - domain of forward source
-  <LI><code>$source</code> - forward source ($username@$domain)
-  <LI><code>$destination</code> - forward destination
-  <LI>All other fields in <a href="../docs/schema.html#svc_forward">svc_forward</a> are also available.
-</UL>
-END
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self) = shift;
-  $self->_export_command('useradd', @_);
-}
-
-sub _export_delete {
-  my($self) = shift;
-  $self->_export_command('userdel', @_);
-}
-
-sub _export_command {
-  my ( $self, $action, $svc_forward ) = (shift, shift, shift);
-  my $command = $self->option($action);
-  return '' if $command =~ /^\s*$/;
-
-  #set variable for the command
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${$_} = $svc_forward->getfield($_) foreach $svc_forward->fields;
-  }
-
-  if ( $svc_forward->srcsvc ) {
-    my $srcsvc_acct = $svc_forward->srcsvc_acct;
-    $username = $srcsvc_acct->username;
-    $domain   = $srcsvc_acct->domain;
-    $source   = $srcsvc_acct->email;
-  } else {
-    $source = $svc_forward->src;
-    ( $username, $domain ) = split(/\@/, $source);
-  }
-
-  if ($svc_forward->dstsvc) {
-    $destination = $svc_forward->dstsvc_acct->email;
-  } else {
-    $destination = $svc_forward->dst;
-  }
-
-  #done setting variables for the command
-
-  $self->shellcommands_queue( $svc_forward->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-  );
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  my $command = $self->option('usermod');
-  
-  #set variable for the command
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${"old_$_"} = $old->getfield($_) foreach $old->fields;
-    ${"new_$_"} = $new->getfield($_) foreach $new->fields;
-  }
-
-  if ( $old->srcsvc ) {
-    my $srcsvc_acct = $old->srcsvc_acct;
-    $old_username = $srcsvc_acct->username;
-    $old_domain   = $srcsvc_acct->domain;
-    $old_source   = $srcsvc_acct->email;
-  } else {
-    $old_source = $old->src;
-    ( $old_username, $old_domain ) = split(/\@/, $old_source);
-  }
-
-  if ( $old->dstsvc ) {
-    $old_destination = $old->dstsvc_acct->email;
-  } else {
-    $old_destination = $old->dst;
-  }
-
-  if ( $new->srcsvc ) {
-    my $srcsvc_acct = $new->srcsvc_acct;
-    $new_username = $srcsvc_acct->username;
-    $new_domain   = $srcsvc_acct->domain;
-    $new_source   = $srcsvc_acct->email;
-  } else {
-    $new_source = $new->src;
-    ( $new_username, $new_domain ) = split(/\@/, $new_source);
-  }
-
-  if ( $new->dstsvc ) {
-    $new_destination = $new->dstsvc_acct->email;
-  } else {
-    $new_destination = $new->dst;
-  }
-
-  #done setting variables for the command
-
-  $self->shellcommands_queue( $new->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-  );
-}
-
-#a good idea to queue anything that could fail or take any time
-sub shellcommands_queue {
-  my( $self, $svcnum ) = (shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::forward_shellcommands::ssh_cmd",
-  };
-  $queue->insert( @_ );
-}
-
-sub ssh_cmd { #subroutine, not method
-  use Net::SSH '0.08';
-  &Net::SSH::ssh_cmd( { @_ } );
-}
-
-#sub shellcommands_insert { #subroutine, not method
-#}
-#sub shellcommands_replace { #subroutine, not method
-#}
-#sub shellcommands_delete { #subroutine, not method
-#}
-
-1;
-
diff --git a/FS/FS/part_export/http.pm b/FS/FS/part_export/http.pm
deleted file mode 100644 (file)
index 55d8329..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-package FS::part_export::http;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'method' => { label   =>'Method',
-                type    =>'select',
-                #options =>[qw(POST GET)],
-                options =>[qw(POST)],
-                default =>'POST' },
-  'url'    => { label   => 'URL', default => 'http://', },
-  'insert_data' => {
-    label   => 'Insert data',
-    type    => 'textarea',
-    default => join("\n",
-      'DomainName $svc_x->domain',
-      'Email ( grep { $_ !~ /^(POST|FAX)$/ } $svc_x->cust_svc->cust_pkg->cust_main->invoicing_list)[0]',
-      'test 1',
-      'reseller $svc_x->cust_svc->cust_pkg->part_pkg->pkg =~ /reseller/i',
-    ),
-  },
-  'delete_data' => {
-    label   => 'Delete data',
-    type    => 'textarea',
-    default => join("\n",
-    ),
-  },
-  'replace_data' => {
-    label   => 'Replace data',
-    type    => 'textarea',
-    default => join("\n",
-    ),
-  },
-;
-
-%info = (
-  'svc'     => 'svc_domain',
-  'desc'    => 'Send an HTTP or HTTPS GET or POST request',
-  'options' => \%options,
-  'notes'   => <<'END'
-Send an HTTP or HTTPS GET or POST to the specified URL.  For HTTPS support,
-<a href="http://search.cpan.org/dist/Crypt-SSLeay">Crypt::SSLeay</a>
-or <a href="http://search.cpan.org/dist/IO-Socket-SSL">IO::Socket::SSL</a>
-is required.
-END
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my $self = shift;
-  $self->_export_command('insert', @_);
-}
-
-sub _export_delete {
-  my $self = shift;
-  $self->_export_command('delete', @_);
-}
-
-sub _export_command {
-  my( $self, $action, $svc_x ) = ( shift, shift, shift );
-
-  return unless $self->option("${action}_data");
-
-  $self->http_queue( $svc_x->svcnum,
-    $self->option('method'),
-    $self->option('url'),
-    map {
-      /^\s*(\S+)\s+(.*)$/ or /()()/;
-      my( $field, $value_expression ) = ( $1, $2 );
-      my $value = eval $value_expression;
-      die $@ if $@;
-      ( $field, $value );
-    } split(/\n/, $self->option("${action}_data") )
-  );
-
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = ( shift, shift, shift );
-
-  return unless $self->option('replace_data');
-
-  $self->http_queue( $svc_x->svcnum,
-    $self->option('method'),
-    $self->option('url'),
-    map {
-      /^\s*(\S+)\s+(.*)$/ or /()()/;
-      my( $field, $value_expression ) = ( $1, $2 );
-      die $@ if $@;
-      ( $field, $value );
-    } split(/\n/, $self->option('replace_data') )
-  );
-
-}
-
-sub http_queue {
-  my($self, $svcnum) = (shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::http::http",
-  };
-  $queue->insert( @_ );
-}
-
-sub http {
-  my($method, $url, @data) = @_;
-
-  $method = lc($method);
-
-  eval "use LWP::UserAgent;";
-  die "using LWP::UserAgent: $@" if $@;
-  eval "use HTTP::Request::Common;";
-  die "using HTTP::Request::Common: $@" if $@;
-
-  my $ua = LWP::UserAgent->new;
-
-  #my $response = $ua->$method(
-  #  $url, \%data,
-  #  'Content-Type'=>'application/x-www-form-urlencoded'
-  #);
-  my $req = HTTP::Request::Common::POST( $url, \@data );
-  my $response = $ua->request($req);
-
-  die $response->error_as_HTML if $response->is_error;
-
-}
-
-1;
-
diff --git a/FS/FS/part_export/infostreet.pm b/FS/FS/part_export/infostreet.pm
deleted file mode 100644 (file)
index ef16c7c..0000000
+++ /dev/null
@@ -1,277 +0,0 @@
-package FS::part_export::infostreet;
-
-use vars qw(@ISA %info %infostreet2cust_main $DEBUG);
-use Tie::IxHash;
-use FS::UID qw(dbh);
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'url'      => { label=>'XML-RPC Access URL', },
-  'login'    => { label=>'InfoStreet login', },
-  'password' => { label=>'InfoStreet password', },
-  'groupID'  => { label=>'InfoStreet groupID', },
-;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     => 'Real-time export to InfoStreet streetSmartAPI',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => <<'END'
-Real-time export to
-<a href="http://www.infostreet.com/">InfoStreet</a> streetSmartAPI.
-Requires installation of
-<a href="http://search.cpan.org/dist/Frontier-Client">Frontier::Client</a> from CPAN.
-END
-);
-
-$DEBUG = 0;
-
-%infostreet2cust_main = (
-  'firstName'   => 'first',
-  'lastName'    => 'last',
-  'address1'    => 'address1',
-  'address2'    => 'address2',
-  'city'        => 'city',
-  'state'       => 'state',
-  'zipCode'     => 'zip',
-  'country'     => 'country',
-  'phoneNumber' => 'daytime',
-  'faxNumber'   => 'night', #noment-request...
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my( $self, $svc_acct ) = (shift, shift);
-  my $cust_main = $svc_acct->cust_svc->cust_pkg->cust_main;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $err_or_queue = $self->infostreet_err_or_queue( $svc_acct->svcnum,
-    'createUser', $svc_acct->username, $svc_acct->_password );
-  return $err_or_queue unless ref($err_or_queue);
-  my $jobnum = $err_or_queue->jobnum;
-
-  my %contact_info = ( map {
-    $_ => $cust_main->getfield( $infostreet2cust_main{$_} );
-  } keys %infostreet2cust_main );
-
-  my @emails = grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list;
-  $contact_info{'email'} = $emails[0] if @emails;
-
-  #this one is kinda noment-specific
-  $contact_info{'organization'} = $cust_main->agent->agent;
-
-  $err_or_queue = $self->infostreet_queueContact( $svc_acct->svcnum,
-    $svc_acct->username, %contact_info );
-  return $err_or_queue unless ref($err_or_queue);
-
-  # If a quota has been specified set the quota because it is not the default
-  $err_or_queue = $self->infostreet_queueSetQuota( $svc_acct->svcnum, 
-    $svc_acct->username, $svc_acct->quota ) if $svc_acct->quota;
-  return $err_or_queue unless ref($err_or_queue);
-
-  my $error = $err_or_queue->depend_insert( $jobnum );
-  return $error if $error;
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  return "can't change username with InfoStreet"
-    if $old->username ne $new->username;
-
-  # If the quota has changed then do the export to setQuota
-  my $err_or_queue = $self->infostreet_queueSetQuota( $new->svcnum, $new->username, $new->quota ) 
-        if ( $old->quota != $new->quota );  
-  return $err_or_queue unless ref($err_or_queue);
-
-
-  return '' unless $old->_password ne $new->_password;
-  $self->infostreet_queue( $new->svcnum,
-    'passwd', $new->username, $new->_password );
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->infostreet_queue( $svc_acct->svcnum,
-    'purgeAccount,releaseUsername', $svc_acct->username );
-}
-
-sub _export_suspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->infostreet_queue( $svc_acct->svcnum,
-    'setStatus', $svc_acct->username, 'DISABLED' );
-}
-
-sub _export_unsuspend {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->infostreet_queue( $svc_acct->svcnum,
-    'setStatus', $svc_acct->username, 'ACTIVE' );
-}
-
-sub infostreet_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => 'FS::part_export::infostreet::infostreet_command',
-  };
-  $queue->insert(
-    $self->option('url'),
-    $self->option('login'),
-    $self->option('password'),
-    $self->option('groupID'),
-    $method,
-    @_,
-  );
-}
-
-#ick false laziness
-sub infostreet_err_or_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => 'FS::part_export::infostreet::infostreet_command',
-  };
-  $queue->insert(
-    $self->option('url'),
-    $self->option('login'),
-    $self->option('password'),
-    $self->option('groupID'),
-    $method,
-    @_,
-  ) or $queue;
-}
-
-sub infostreet_queueContact {
-  my( $self, $svcnum ) = (shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => 'FS::part_export::infostreet::infostreet_setContact',
-  };
-  $queue->insert(
-    $self->option('url'),
-    $self->option('login'),
-    $self->option('password'),
-    $self->option('groupID'),
-    @_,
-  ) or $queue;
-}
-
-sub infostreet_setContact {
-  my($url, $is_username, $is_password, $groupID, $username, %contact_info) = @_;
-  my $accountID = infostreet_command($url, $is_username, $is_password, $groupID,
-    'getAccountID', $username);
-  foreach my $field ( keys %contact_info ) {
-    infostreet_command($url, $is_username, $is_password, $groupID,
-      'setContactField', [ 'int'=>$accountID ], $field, $contact_info{$field} );
-  }
-
-}
-
-sub infostreet_queueSetQuota {
-
- my( $self, $svcnum) = (shift, shift);
- my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => 'FS::part_export::infostreet::infostreet_setQuota',
- };
-
- $queue->insert(
-    $self->option('url'),
-    $self->option('login'),
-    $self->option('password'),
-    $self->option('groupID'),
-    @_,
- ) or $queue;
-
-}
-
-sub infostreet_setQuota {
-  my($url, $is_username, $is_password, $groupID, $username, $quota) = @_;
-  infostreet_command($url, $is_username, $is_password, $groupID, 'setQuota', $username, [ 'int'=> $quota ]  );
-}
-
-
-sub infostreet_command { #subroutine, not method
-  my($url, $username, $password, $groupID, $method, @args) = @_;
-
-  warn "[FS::part_export::infostreet] $method ".join(' ', @args)."\n" if $DEBUG;
-
-  #quelle hack
-  if ( $method =~ /,/ ) {
-    foreach my $part ( split(/,\s*/, $method) ) {
-      infostreet_command($url, $username, $password, $groupID, $part, @args);
-    }
-    return;
-  }
-
-  eval "use Frontier::Client;";
-  die $@ if $@;
-
-  eval 'sub Frontier::RPC2::String::repr {
-    my $self = shift;
-    my $value = $$self;
-    $value =~ s/([&<>\"])/$Frontier::RPC2::char_entities{$1}/ge;
-    $value;
-  }';
-  die $@ if $@;
-
-  my $conn = Frontier::Client->new( url => $url );
-  my $key_result = $conn->call( 'authenticate', $username, $password, $groupID);
-  my %key_result = _infostreet_parse($key_result);
-  die $key_result{error} unless $key_result{success};
-  my $key = $key_result{data};
-
-  #my $result = $conn->call($method, $key, @args);
-  my $result = $conn->call( $method, $key,
-                            map {
-                                  if ( ref($_) ) {
-                                    my( $type, $value) = @{$_};
-                                    $conn->$type($value);
-                                  } else {
-                                    $conn->string($_);
-                                  }
-                                } @args );
-  my %result = _infostreet_parse($result);
-  die $result{error} unless $result{success};
-
-  $result->{data};
-
-}
-
-#sub infostreet_command_byid { #subroutine, not method;
-#  my($url, $username, $password, $groupID, $method, @args ) = @_;
-#
-#  infostreet_command
-#
-#}
-
-sub _infostreet_parse { #subroutine, not method
-  my $arg = shift;
-  map {
-    my $value = $arg->{$_};
-    #warn ref($value);
-    $value = $value->value()
-      if ref($value) && $value->isa('Frontier::RPC2::DataType');
-    $_=>$value;
-  } keys %$arg;
-}
-
-1;
-
diff --git a/FS/FS/part_export/ldap.pm b/FS/FS/part_export/ldap.pm
deleted file mode 100644 (file)
index 823d99d..0000000
+++ /dev/null
@@ -1,294 +0,0 @@
-package FS::part_export::ldap;
-
-use vars qw(@ISA %info @saltset);
-use Tie::IxHash;
-use FS::Record qw( dbh );
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'dn'         => { label=>'Root DN' },
-  'password'   => { label=>'Root DN password' },
-  'userdn'     => { label=>'User DN' },
-  'attributes' => { label=>'Attributes',
-                    type=>'textarea',
-                    default=>join("\n",
-                      'uid $username',
-                      'mail $username\@$domain',
-                      'uidno $uid',
-                      'gidno $gid',
-                      'cn $first',
-                      'sn $last',
-                      'mailquota $quota',
-                      'vmail',
-                      'location',
-                      'mailtag',
-                      'mailhost',
-                      'mailmessagestore $dir',
-                      'userpassword $crypt_password',
-                      'hint',
-                      'answer $sec_phrase',
-                      'objectclass top,person,inetOrgPerson',
-                    ),
-                  },
-  'radius'     => { label=>'Export RADIUS attributes', type=>'checkbox', },
-;
-
-%info = (
-  'svc'     => 'svc_acct',
-  'desc'    => 'Real-time export to LDAP',
-  'options' => \%options,
-  'notes'   => <<'END'
-Real-time export to arbitrary LDAP attributes.  Requires installation of
-<a href="http://search.cpan.org/dist/Net-LDAP">Net::LDAP</a> from CPAN.
-END
-);
-
-@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self, $svc_acct) = (shift, shift);
-
-  #false laziness w/shellcommands.pm
-  {
-    no strict 'refs';
-    ${$_} = $svc_acct->getfield($_) foreach $svc_acct->fields;
-    ${$_} = $svc_acct->$_() foreach qw( domain );
-    my $cust_pkg = $svc_acct->cust_svc->cust_pkg;
-    if ( $cust_pkg ) {
-      my $cust_main = $cust_pkg->cust_main;
-      ${$_} = $cust_main->getfield($_) foreach qw(first last);
-    }
-  }
-  $crypt_password = ''; #surpress "used only once" warnings
-  $crypt_password = '{crypt}'. crypt( $svc_acct->_password,
-                             $saltset[int(rand(64))].$saltset[int(rand(64))] );
-
-  my $username_attrib;
-  my %attrib = map    { /^\s*(\w+)\s+(.*\S)\s*$/;
-                        $username_attrib = $1 if $2 eq '$username';
-                        ( $1 => eval(qq("$2")) );                   }
-                 grep { /^\s*(\w+)\s+(.*\S)\s*$/ }
-                   split("\n", $self->option('attributes'));
-
-  if ( $self->option('radius') ) {
-    foreach my $table (qw(reply check)) {
-      my $method = "radius_$table";
-      my %radius = $svc_acct->$method();
-      foreach my $radius ( keys %radius ) {
-        ( my $ldap = $radius ) =~ s/\-//g;
-        $attrib{$ldap} = $radius{$radius};
-      }
-    }
-  }
-
-  my $err_or_queue = $self->ldap_queue( $svc_acct->svcnum, 'insert',
-    #$svc_acct->username,
-    $username_attrib,
-    %attrib );
-  return $err_or_queue unless ref($err_or_queue);
-
-  #groups with LDAP?
-  #my @groups = $svc_acct->radius_groups;
-  #if ( @groups ) {
-  #  my $err_or_queue = $self->ldap_queue(
-  #    $svc_acct->svcnum, 'usergroup_insert',
-  #    $svc_acct->username, @groups );
-  #  return $err_or_queue unless ref($err_or_queue);
-  #}
-
-  '';
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  return "can't (yet?) change username with ldap"
-    if $old->username ne $new->username;
-
-  return "ldap replace unimplemented";
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $jobnum = '';
-  #if ( $old->username ne $new->username ) {
-  #  my $err_or_queue = $self->ldap_queue( $new->svcnum, 'rename',
-  #    $new->username, $old->username );
-  #  unless ( ref($err_or_queue) ) {
-  #    $dbh->rollback if $oldAutoCommit;
-  #    return $err_or_queue;
-  #  }
-  #  $jobnum = $err_or_queue->jobnum;
-  #}
-
-  foreach my $table (qw(reply check)) {
-    my $method = "radius_$table";
-    my %new = $new->$method();
-    my %old = $old->$method();
-    if ( grep { !exists $old{$_} #new attributes
-                || $new{$_} ne $old{$_} #changed
-              } keys %new
-    ) {
-      my $err_or_queue = $self->ldap_queue( $new->svcnum, 'insert',
-        $table, $new->username, %new );
-      unless ( ref($err_or_queue) ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $err_or_queue;
-      }
-      if ( $jobnum ) {
-        my $error = $err_or_queue->depend_insert( $jobnum );
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-      }
-    }
-
-    my @del = grep { !exists $new{$_} } keys %old;
-    if ( @del ) {
-      my $err_or_queue = $self->ldap_queue( $new->svcnum, 'attrib_delete',
-        $table, $new->username, @del );
-      unless ( ref($err_or_queue) ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $err_or_queue;
-      }
-      if ( $jobnum ) {
-        my $error = $err_or_queue->depend_insert( $jobnum );
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-      }
-    }
-  }
-
-  # (sorta) false laziness with FS::svc_acct::replace
-  my @oldgroups = @{$old->usergroup}; #uuuh
-  my @newgroups = $new->radius_groups;
-  my @delgroups = ();
-  foreach my $oldgroup ( @oldgroups ) {
-    if ( grep { $oldgroup eq $_ } @newgroups ) {
-      @newgroups = grep { $oldgroup ne $_ } @newgroups;
-      next;
-    }
-    push @delgroups, $oldgroup;
-  }
-
-  if ( @delgroups ) {
-    my $err_or_queue = $self->ldap_queue( $new->svcnum, 'usergroup_delete',
-      $new->username, @delgroups );
-    unless ( ref($err_or_queue) ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $err_or_queue;
-    }
-    if ( $jobnum ) {
-      my $error = $err_or_queue->depend_insert( $jobnum );
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  if ( @newgroups ) {
-    my $err_or_queue = $self->ldap_queue( $new->svcnum, 'usergroup_insert',
-      $new->username, @newgroups );
-    unless ( ref($err_or_queue) ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $err_or_queue;
-    }
-    if ( $jobnum ) {
-      my $error = $err_or_queue->depend_insert( $jobnum );
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  return "ldap delete unimplemented";
-  my $err_or_queue = $self->ldap_queue( $svc_acct->svcnum, 'delete',
-    $svc_acct->username );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub ldap_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::ldap::ldap_$method",
-  };
-  $queue->insert(
-    $self->machine,
-    $self->option('dn'),
-    $self->option('password'),
-    $self->option('userdn'),
-    @_,
-  ) or $queue;
-}
-
-sub ldap_insert { #subroutine, not method
-  my $ldap = ldap_connect(shift, shift, shift);
-  my( $userdn, $username_attrib, %attrib ) = @_;
-
-  $userdn = "$username_attrib=$attrib{$username_attrib}, $userdn"
-    if $username_attrib;
-  #icky hack, but should be unsurprising to the LDAPers
-  foreach my $key ( grep { $attrib{$_} =~ /,/ } keys %attrib ) {
-    $attrib{$key} = [ split(/,/, $attrib{$key}) ]; 
-  }
-
-  my $status = $ldap->add( $userdn, attrs => [ %attrib ] );
-  die 'LDAP error: '. $status->error. "\n" if $status->is_error;
-
-  $ldap->unbind;
-}
-
-#sub ldap_delete { #subroutine, not method
-#  my $dbh = ldap_connect(shift, shift, shift);
-#  my $username = shift;
-#
-#  foreach my $table (qw( radcheck radreply usergroup )) {
-#    my $sth = $dbh->prepare( "DELETE FROM $table WHERE UserName = ?" );
-#    $sth->execute($username)
-#      or die "can't delete from $table table: ". $sth->errstr;
-#  }
-#  $dbh->disconnect;
-#}
-
-sub ldap_connect {
-  my( $machine, $dn, $password ) = @_;
-  my %bind_options;
-  $bind_options{password} = $password if length($password);
-
-  eval "use Net::LDAP";
-  die $@ if $@;
-
-  my $ldap = Net::LDAP->new($machine) or die $@;
-  my $status = $ldap->bind( $dn, %bind_options );
-  die 'LDAP error: '. $status->error. "\n" if $status->is_error;
-
-  $ldap;
-}
-
-1;
-
diff --git a/FS/FS/part_export/null.pm b/FS/FS/part_export/null.pm
deleted file mode 100644 (file)
index 0145af3..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package FS::part_export::null;
-
-use vars qw(@ISA);
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-sub rebless { shift; }
-
-sub _export_insert {}
-sub _export_replace {}
-sub _export_delete {}
-
diff --git a/FS/FS/part_export/passwdfile.pm b/FS/FS/part_export/passwdfile.pm
deleted file mode 100644 (file)
index 2978d25..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-package FS::part_export::passwdfile;
-
-use strict;
-use vars qw(@ISA %options);
-use Tie::IxHash;
-use FS::part_export::null;
-
-@ISA = qw(FS::part_export::null);
-
-tie %options, 'Tie::IxHash',
-  'crypt' => { label=>'Password encryption',
-               type=>'select', options=>[qw(crypt md5)],
-               default=>'crypt',
-             },
-;
-
-1;
-
diff --git a/FS/FS/part_export/postfix.pm b/FS/FS/part_export/postfix.pm
deleted file mode 100644 (file)
index 4fd19ee..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-package FS::part_export::postfix;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::null;
-
-@ISA = qw(FS::part_export::null);
-
-tie my %options, 'Tie::IxHash',
-  'user'    => { label=>'Remote username',       default=>'root' },
-  'aliases' => { label=>'aliases file location', default=>'/etc/aliases' },
-  'virtual' => { label=>'virtual file location', default=>'/etc/postfix/virtual' },
-  'mydomain' => { label=>'local domain', default=>'' },
-  'newaliases' => { label=>'newaliases command', default=>'newaliases' },
-  'postmap'    => { label=>'postmap command',
-                    default=>'postmap hash:/etc/postfix/virtual', },
-  'reload'     => { label=>'reload command',
-                    default=>'postfix reload' },
-;
-
-%info = (
-  'svc'     => 'svc_forward',
-  'desc'    => 'Postfix text files',
-  'options' => \%options,
-  'notes'   => <<'END'
-Batch export of Postfix aliases and virtual files.
-<a href="http://search.cpan.org/dist/File-Rsync">File::Rsync</a>
-must be installed.  Run bin/postfix.export to export the files.
-END
-);
-
-1;
diff --git a/FS/FS/part_export/radiator.pm b/FS/FS/part_export/radiator.pm
deleted file mode 100644 (file)
index 2ac3edb..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-package FS::part_export::radiator;
-
-use vars qw(@ISA %info $radusers);
-use Tie::IxHash;
-use FS::part_export::sqlradius;
-
-tie my %options, 'Tie::IxHash', %FS::part_export::sqlradius::options;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     => 'Real-time export to RADIATOR',
-  'options'  => \%options,
-  'nodomain' => '',
-  'notes' => <<'END',
-Real-time export of the <b>radusers</b> table to any SQL database in
-<a href="http://www.open.com.au/radiator/">Radiator</a>-native format.
-To setup accounting, see the RADIATOR documentation for hooks to update
-a standard <b>radacct</b> table.
-END
-);
-
-@ISA = qw(FS::part_export::sqlradius); #for regular sqlradius accounting
-
-$radusers = 'RADUSERS'; #MySQL is case sensitive about table names!  huh
-
-#sub export_username {
-#  my($self, $svc_acct) = (shift, shift);
-#  $svc_acct->email;
-#}
-
-sub _export_insert {
-  my( $self, $svc_acct ) = (shift, shift);
-
-  $self->radiator_queue(
-    $svc_acct->svcnum,
-    'insert',
-    $self->_radiator_hash($svc_acct),
-  );
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-
-#  return "can't (yet) change domain with radiator export"
-#    if $old->domain ne $new->domain;
-#  return "can't (yet) change username with radiator export"
-#    if $old->username ne $new->username;
-
-  $self->radiator_queue(
-    $new->svcnum,
-    'replace',
-    $self->export_username($old),
-    $self->_radiator_hash($new),
-  );
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-
-  $self->radiator_queue(
-    $svc_acct->svcnum,
-    'delete',
-    $self->export_username($svc_acct),
-  );
-}
-
-sub _radiator_hash {
-  my( $self, $svc_acct ) = @_;
-  my %hash = (
-    'username'  => $self->export_username($svc_acct),
-    'pass_word' => $svc_acct->crypt_password,
-    'fullname'  => $svc_acct->finger,
-    map { my $method = "radius_$_"; $_ => $svc_acct->$method(); }
-        qw( framed_filter_id framed_mtu framed_netmask framed_protocol
-            framed_routing login_host login_service login_tcp_port )
-  );
-  $hash{'timeleft'} = $svc_acct->seconds
-    if $svc_acct->seconds =~ /^\d+$/;
-  $hash{'staticaddress'} = $svc_acct->slipip
-    if $svc_acct->slipip =~ /^[\d\.]+$/; # and $self->slipip ne '0.0.0.0';
-
-  $hash{'servicename'} = ( $svc_acct->radius_groups )[0];
-
-  my $cust_pkg = $svc_acct->cust_svc->cust_pkg;
-  $hash{'validto'} = $cust_pkg->bill
-    if $cust_pkg && $cust_pkg->part_pkg->is_prepaid && $cust_pkg->bill;
-
-  #some other random stuff, should probably be attributes or virtual fields
-  #$hash{'state'} = 0; #only inserts
-  #$hash{'badlogins'} = 0; #only inserts
-  $hash{'maxlogins'} = 1;
-  $hash{'addeddate'} = $cust_pkg->setup
-    if $cust_pkg && $cust_pkg->setup;
-  $hash{'validfrom'} = $cust_pkg->last_bill || $cust_pkg->setup
-    if $cust_pkg &&  ( $cust_pkg->last_bill || $cust_pkg->setup );
-  $hash{'state'} = $cust_pkg->susp ? 1 : 0
-    if $cust_pkg;
-
-  %hash;
-}
-
-sub radiator_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::radiator::radiator_$method",
-  };
-  $queue->insert(
-    $self->option('datasrc'),
-    $self->option('username'),
-    $self->option('password'),
-    @_,
-  ); # or $queue;
-}
-
-sub radiator_insert { #subroutine, not method
-  my $dbh = radiator_connect(shift, shift, shift);
-  my %hash = @_;
-  $hash{'state'} = 0; #see "random stuff" above
-  $hash{'badlogins'} = 0; #see "random stuff" above
-
-  my $sth = $dbh->prepare(
-    "INSERT INTO $radusers ( ". join(', ', keys %hash ). ' ) '.
-      'VALUES ( '. join(', ', map '?', keys %hash ). ' ) '
-  ) or die $dbh->errstr;
-  $sth->execute( values %hash )
-    or die $sth->errstr;
-
-  $dbh->disconnect;
-
-}
-
-sub radiator_replace { #subroutine, not method
-  my $dbh = radiator_connect(shift, shift, shift);
-  my ( $old_username, %hash ) = @_;
-
-  my $sth = $dbh->prepare(
-    "UPDATE $radusers SET ". join(', ', map " $_ = ?", keys %hash ).
-      ' WHERE username = ?'
-  ) or die $dbh->errstr;
-  $sth->execute( values(%hash), $old_username )
-    or die $sth->errstr;
-
-  $dbh->disconnect;
-}
-
-sub radiator_delete { #subroutine, not method
-  my $dbh = radiator_connect(shift, shift, shift);
-  my ( $username ) = @_;
-
-  my $sth = $dbh->prepare(
-    "DELETE FROM $radusers WHERE username = ?"
-  ) or die $dbh->errstr;
-  $sth->execute( $username )
-    or die $sth->errstr;
-
-  $dbh->disconnect;
-}
-
-
-sub radiator_connect {
-  #my($datasrc, $username, $password) = @_;
-  #DBI->connect($datasrc, $username, $password) or die $DBI::errstr;
-  DBI->connect(@_) or die $DBI::errstr;
-}
-
-1;
diff --git a/FS/FS/part_export/router.pm b/FS/FS/part_export/router.pm
deleted file mode 100644 (file)
index 648a437..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-package FS::part_export::router;
-
-=head1 FS::part_export::router
-
-This export connects to a router and transmits commands via telnet or SSH.
-It requires the following custom router fields:
-
-=over 4
-
-=item admin_address - IP address (or hostname) to connect
-
-=item admin_user - username for admin access
-
-=item admin_password - password for admin access
-
-=back
-
-The export itself needs the following options:
-
-=over 4
-
-=item insert, replace, delete - command strings (to be interpolated)
-
-=item Prompt - prompt string to expect from router after successful login
-
-=item Timeout - time to wait for prompt string
-
-=back
-
-(Prompt and Timeout are required only for telnet connections.)
-
-=cut
-
-use vars qw(@ISA %info @saltset);
-use Tie::IxHash;
-use String::ShellQuote;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'protocol' => {
-         label=>'Protocol',
-         type =>'select',
-         options => [qw(telnet ssh)],
-         default => 'telnet'},
-  'insert' => {label=>'Insert command', default=>'' },
-  'delete' => {label=>'Delete command', default=>'' },
-  'replace' => {label=>'Replace command', default=>'' },
-  'Timeout' => {label=>'Time to wait for prompt', default=>'20' },
-  'Prompt' => {label=>'Prompt string', default=>'#' }
-;
-
-%info = (
-  'svc'     => 'svc_broadband',
-  'desc'    => 'Send a command to a router.',
-  'options' => \%options,
-  'notes'   => 'Installation of Net::Telnet from CPAN is required for telnet connections.  ( more detailed description from Kristian / fire2wire? )',
-);
-
-@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self) = shift;
-  $self->_export_command('insert', @_);
-}
-
-sub _export_delete {
-  my($self) = shift;
-  $self->_export_command('delete', @_);
-}
-
-sub _export_suspend {
-  my($self) = shift;
-  $self->_export_command('suspend', @_);
-}
-
-sub _export_unsuspend {
-  my($self) = shift;
-  $self->_export_command('unsuspend', @_);
-}
-
-sub _export_command {
-  my ( $self, $action, $svc_broadband) = (shift, shift, shift);
-  my $command = $self->option($action);
-  return '' if $command =~ /^\s*$/;
-
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${$_} = $svc_broadband->getfield($_) foreach $svc_broadband->fields;
-  }
-  # fetch router info
-  my $router = $svc_broadband->addr_block->router;
-  my %r;
-  $r{$_} = $router->getfield($_) foreach $router->virtual_fields;
-  #warn qq("$command");
-  #warn eval(qq("$command"));
-
-  warn "admin_address: '$r{admin_address}'";
-
-  if ($r{admin_address} ne '') {
-    $self->router_queue( $svc_broadband->svcnum, $self->option('protocol'),
-      user         => $r{admin_user},
-      password     => $r{admin_password},
-      host         => $r{admin_address},
-      Timeout      => $self->option('Timeout'),
-      Prompt       => $self->option('Prompt'),
-      command      => eval(qq("$command")),
-    );
-  } else {
-    return '';
-  }
-}
-
-sub _export_replace {
-
-  # We don't handle the case of a svc_broadband moving between routers.
-  # If you want to do that, reprovision the service.
-
-  my($self, $new, $old ) = (shift, shift, shift);
-  my $command = $self->option('replace');
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${"old_$_"} = $old->getfield($_) foreach $old->fields;
-    ${"new_$_"} = $new->getfield($_) foreach $new->fields;
-  }
-
-  my $router = $new->addr_block->router;
-  my %r;
-  $r{$_} = $router->getfield($_) foreach $router->virtual_fields;
-
-  if ($r{admin_address} ne '') {
-    $self->router_queue( $new->svcnum, $self->option('protocol'),
-      user         => $r{admin_user},
-      password     => $r{admin_password},
-      host         => $r{admin_address},
-      Timeout      => $self->option('Timeout'),
-      Prompt       => $self->option('Prompt'),
-      command      => eval(qq("$command")),
-    );
-  } else {
-    return '';
-  }
-}
-
-#a good idea to queue anything that could fail or take any time
-sub router_queue {
-  #warn join ':', @_;
-  my( $self, $svcnum, $protocol ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-  };
-  $queue->job ("FS::part_export::router::".$protocol."_cmd");
-  $queue->insert( @_ );
-}
-
-sub ssh_cmd { #subroutine, not method
-  use Net::SSH '0.08';
-  &Net::SSH::ssh_cmd( { @_ } );
-}
-
-sub telnet_cmd {
-  eval 'use Net::Telnet;';
-  die $@ if $@;
-
-  warn join(', ', @_);
-
-  my %arg = @_;
-
-  my $t = new Net::Telnet (Timeout => $arg{Timeout},
-                           Prompt  => $arg{Prompt});
-  $t->open($arg{host});
-  $t->login($arg{user}, $arg{password});
-  my @error = $t->cmd($arg{command});
-  die @error if (grep /^ERROR/, @error);
-}
-
-#sub router_insert { #subroutine, not method
-#}
-#sub router_replace { #subroutine, not method
-#}
-#sub router_delete { #subroutine, not method
-#}
-
-1;
-
diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm
deleted file mode 100644 (file)
index 646c5ff..0000000
+++ /dev/null
@@ -1,334 +0,0 @@
-package FS::part_export::shellcommands;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use String::ShellQuote;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'user' => { label=>'Remote username', default=>'root' },
-  'useradd' => { label=>'Insert command',
-                 default=>'useradd -c $finger -d $dir -m -s $shell -u $uid -p $crypt_password $username'
-                #default=>'cp -pr /etc/skel $dir; chown -R $uid.$gid $dir'
-               },
-  'useradd_stdin' => { label=>'Insert command STDIN',
-                       type =>'textarea',
-                       default=>'',
-                     },
-  'userdel' => { label=>'Delete command',
-                 default=>'userdel -r $username',
-                 #default=>'rm -rf $dir',
-               },
-  'userdel_stdin' => { label=>'Delete command STDIN',
-                       type =>'textarea',
-                       default=>'',
-                     },
-  'usermod' => { label=>'Modify command',
-                 default=>'usermod -c $new_finger -d $new_dir -m -l $new_username -s $new_shell -u $new_uid -g $new_gid -p $new_crypt_password $old_username',
-                #default=>'[ -d $old_dir ] && mv $old_dir $new_dir || ( '.
-                 #  'chmod u+t $old_dir; mkdir $new_dir; cd $old_dir; '.
-                 #  'find . -depth -print | cpio -pdm $new_dir; '.
-                 #  'chmod u-t $new_dir; chown -R $uid.$gid $new_dir; '.
-                 #  'rm -rf $old_dir'.
-                 #')'
-               },
-  'usermod_stdin' => { label=>'Modify command STDIN',
-                       type =>'textarea',
-                       default=>'',
-                     },
-  'usermod_pwonly' => { label=>'Disallow username, domain, uid, gid, and dir changes', #and RADIUS group changes',
-                        type =>'checkbox',
-                      },
-  'usermod_nousername' => { label=>'Disallow just username changes',
-                            type =>'checkbox',
-                          },
-  'suspend' => { label=>'Suspension command',
-                 default=>'usermod -L $username',
-               },
-  'suspend_stdin' => { label=>'Suspension command STDIN',
-                       default=>'',
-                     },
-  'unsuspend' => { label=>'Unsuspension command',
-                   default=>'usermod -U $username',
-                 },
-  'unsuspend_stdin' => { label=>'Unsuspension command STDIN',
-                         default=>'',
-                       },
-  'crypt' => { label   => 'Default password encryption',
-               type=>'select', options=>[qw(crypt md5)],
-               default => 'crypt',
-             },
-;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     =>
-    'Real-time export via remote SSH (i.e. useradd, userdel, etc.)',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes' => <<'END'
-Run remote commands via SSH.  Usernames are considered unique (also see
-shellcommands_withdomain).  You probably want this if the commands you are
-running will not accept a domain as a parameter.  You will need to
-<a href="../docs/ssh.html">setup SSH for unattended operation</a>.
-
-<BR><BR>Use these buttons for some useful presets:
-<UL>
-  <LI>
-    <INPUT TYPE="button" VALUE="Linux" onClick='
-      this.form.useradd.value = "useradd -c $finger -d $dir -m -s $shell -u $uid -p $crypt_password $username";
-      this.form.useradd_stdin.value = "";
-      this.form.userdel.value = "userdel -r $username";
-      this.form.userdel_stdin.value="";
-      this.form.usermod.value = "usermod -c $new_finger -d $new_dir -m -l $new_username -s $new_shell -u $new_uid -g $new_gid -p $new_crypt_password $old_username";
-      this.form.usermod_stdin.value = "";
-      this.form.suspend.value = "usermod -L $username";
-      this.form.suspend_stdin.value="";
-      this.form.unsuspend.value = "usermod -U $username";
-      this.form.unsuspend_stdin.value="";
-    '>
-  <LI>
-    <INPUT TYPE="button" VALUE="FreeBSD before 4.10 / 5.3" onClick='
-      this.form.useradd.value = "lockf /etc/passwd.lock pw useradd $username -d $dir -m -s $shell -u $uid -c $finger -h 0";
-      this.form.useradd_stdin.value = "$_password\n";
-      this.form.userdel.value = "lockf /etc/passwd.lock pw userdel $username -r"; this.form.userdel_stdin.value="";
-      this.form.usermod.value = "lockf /etc/passwd.lock pw usermod $old_username -d $new_dir -m -l $new_username -s $new_shell -u $new_uid -g $new_gid -c $new_finger -h 0";
-      this.form.usermod_stdin.value = "$new__password\n"; this.form.suspend.value = "lockf /etc/passwd.lock pw lock $username";
-      this.form.suspend_stdin.value="";
-      this.form.unsuspend.value = "lockf /etc/passwd.lock pw unlock $username"; this.form.unsuspend_stdin.value="";
-    '>
-    Note: On FreeBSD versions before 5.3 and 4.10 (4.10 is after 4.9, not
-    4.1!), due to deficient locking in pw(1), you must disable the chpass(1),
-    chsh(1), chfn(1), passwd(1), and vipw(1) commands, or replace them with
-    wrappers that prepend "lockf /etc/passwd.lock".  Alternatively, apply the
-    patch in
-    <A HREF="http://www.freebsd.org/cgi/query-pr.cgi?pr=23501">FreeBSD PR#23501</A>
-    and use the "FreeBSD 4.10 / 5.3 or later" button below.
-  <LI>
-    <INPUT TYPE="button" VALUE="FreeBSD 4.10 / 5.3 or later" onClick='
-      this.form.useradd.value = "pw useradd $username -d $dir -m -s $shell -u $uid -g $gid -c $finger -h 0";
-      this.form.useradd_stdin.value = "$_password\n";
-      this.form.userdel.value = "pw userdel $username -r";
-      this.form.userdel_stdin.value="";
-      this.form.usermod.value = "pw usermod $old_username -d $new_dir -m -l $new_username -s $new_shell -u $new_uid -g $new_gid -c $new_finger -h 0";
-      this.form.usermod_stdin.value = "$new__password\n";
-      this.form.suspend.value = "pw lock $username";
-      this.form.suspend_stdin.value="";
-      this.form.unsuspend.value = "pw unlock $username";
-      this.form.unsuspend_stdin.value="";
-    '>
-  <LI>
-    <INPUT TYPE="button" VALUE="NetBSD/OpenBSD" onClick='
-      this.form.useradd.value = "useradd -c $finger -d $dir -m -s $shell -u $uid -p $crypt_password $username";
-      this.form.useradd_stdin.value = "";
-      this.form.userdel.value = "userdel -r $username";
-      this.form.userdel_stdin.value="";
-      this.form.usermod.value = "usermod -c $new_finger -d $new_dir -m -l $new_username -s $new_shell -u $new_uid -g $new_gid -p $new_crypt_password $old_username";
-      this.form.usermod_stdin.value = "";
-      this.form.suspend.value = "";
-      this.form.suspend_stdin.value="";
-      this.form.unsuspend.value = "";
-      this.form.unsuspend_stdin.value="";
-    '>
-  <LI>
-    <INPUT TYPE="button" VALUE="Just maintain directories (use with sysvshell or bsdshell)" onClick='
-      this.form.useradd.value = "cp -pr /etc/skel $dir; chown -R $uid.$gid $dir"; this.form.useradd_stdin.value = "";
-      this.form.usermod.value = "[ -d $old_dir ] && mv $old_dir $new_dir || ( chmod u+t $old_dir; mkdir $new_dir; cd $old_dir; find . -depth -print | cpio -pdm $new_dir; chmod u-t $new_dir; chown -R $new_uid.$new_gid $new_dir; rm -rf $old_dir )";
-      this.form.usermod_stdin.value = "";
-      this.form.userdel.value = "rm -rf $dir";
-      this.form.userdel_stdin.value="";
-      this.form.suspend.value = "";
-      this.form.suspend_stdin.value="";
-      this.form.unsuspend.value = "";
-      this.form.unsuspend_stdin.value="";
-    '>
-</UL>
-
-The following variables are available for interpolation (prefixed with new_ or
-old_ for replace operations):
-<UL>
-  <LI><code>$username</code>
-  <LI><code>$_password</code>
-  <LI><code>$quoted_password</code> - unencrypted password, already quoted for the shell (do not add additional quotes)
-  <LI><code>$crypt_password</code> - encrypted password, already quoted for the shell (do not add additional quotes)
-  <LI><code>$uid</code>
-  <LI><code>$gid</code>
-  <LI><code>$finger</code> - GECOS, already quoted for the shell (do not add additional quotes)
-  <LI><code>$first</code> - First name of GECOS, already quoted for the shell (do not add additional quotes)
-  <LI><code>$last</code> - Last name of GECOS, already quoted for the shell (do not add additional quotes)
-  <LI><code>$dir</code> - home directory
-  <LI><code>$shell</code>
-  <LI><code>$quota</code>
-  <LI><code>@radius_groups</code>
-  <LI>All other fields in <a href="../docs/schema.html#svc_acct">svc_acct</a> are also available.
-</UL>
-END
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self) = shift;
-  $self->_export_command('useradd', @_);
-}
-
-sub _export_delete {
-  my($self) = shift;
-  $self->_export_command('userdel', @_);
-}
-
-sub _export_suspend {
-  my($self) = shift;
-  $self->_export_command_or_super('suspend', @_);
-}
-
-sub _export_unsuspend {
-  my($self) = shift;
-  $self->_export_command_or_super('unsuspend', @_);
-}
-
-sub _export_command_or_super {
-  my($self, $action) = (shift, shift);
-  if ( $self->option($action) =~ /^\s*$/ ) {
-    my $method = "SUPER::_export_$action";
-    $self->$method(@_);
-  } else {
-    $self->_export_command($action, @_);
-  }
-};
-
-
-sub _export_command {
-  my ( $self, $action, $svc_acct) = (shift, shift, shift);
-  my $command = $self->option($action);
-  return '' if $command =~ /^\s*$/;
-  my $stdin = $self->option($action."_stdin");
-
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${$_} = $svc_acct->getfield($_) foreach $svc_acct->fields;
-
-    my $count = 1;
-    foreach my $acct_snarf ( $svc_acct->acct_snarf ) {
-      ${"snarf_$_$count"} = shell_quote( $acct_snarf->get($_) )
-        foreach qw( machine username _password );
-      $count++;
-    }
-  }
-
-  my $cust_pkg = $svc_acct->cust_svc->cust_pkg;
-  if ( $cust_pkg ) {
-    $email = ( grep { $_ !~ /^(POST|FAX)$/ } $cust_pkg->cust_main->invoicing_list )[0];
-  } else {
-    $email = '';
-  }
-
-  $finger =~ /^(.*)\s+(\S+)$/ or $finger =~ /^((.*))$/;
-  ($first, $last ) = ( $1, $2 );
-  $first = shell_quote $first;
-  $last = shell_quote $last;
-  $finger = shell_quote $finger;
-  $quoted_password = shell_quote $_password;
-  $domain = $svc_acct->domain;
-
-  $crypt_password =
-    shell_quote( $svc_acct->crypt_password( $self->option('crypt') ) );
-
-  @radius_groups = $svc_acct->radius_groups;
-
-  $self->shellcommands_queue( $svc_acct->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-    stdin_string => eval(qq("$stdin")),
-  );
-}
-
-sub _export_replace {
-  my($self, $new, $old ) = (shift, shift, shift);
-  my $command = $self->option('usermod');
-  my $stdin = $self->option('usermod_stdin');
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${"old_$_"} = $old->getfield($_) foreach $old->fields;
-    ${"new_$_"} = $new->getfield($_) foreach $new->fields;
-  }
-  $new_finger =~ /^(.*)\s+(\S+)$/ or $finger =~ /^((.*))$/;
-  ($new_first, $new_last ) = ( $1, $2 );
-  $new_first = shell_quote $new_first;
-  $new_last = shell_quote $new_last;
-  $new_finger = shell_quote $new_finger;
-  $quoted_new__password = shell_quote $new__password; #old, wrong?
-  $new_quoted_password = shell_quote $new__password; #new, better?
-  $old_domain = $old->domain;
-  $new_domain = $new->domain;
-
-  $new_crypt_password =
-    shell_quote( $new->crypt_password( $self->option('crypt') ) );
-
-  @old_radius_groups = $old->radius_groups;
-  @new_radius_groups = $new->radius_groups;
-
-  my $error = '';
-  if ( $self->option('usermod_pwonly') || $self->option('usermod_nousername') ){
-    if ( $old_username ne $new_username ) {
-      $error ||= "can't change username";
-    }
-  }
-  if ( $self->option('usermod_pwonly') ) {
-    if ( $old_domain ne $new_domain ) {
-      $error ||= "can't change domain";
-    }
-    if ( $old_uid != $new_uid ) {
-      $error ||= "can't change uid";
-    }
-    if ( $old_gid != $new_gid ) {
-      $error ||= "can't change gid";
-    }
-    if ( $old_dir ne $new_dir ) {
-      $error ||= "can't change dir";
-    }
-    #if ( join("\n", sort @old_radius_groups) ne
-    #     join("\n", sort @new_radius_groups)    ) {
-    #  $error ||= "can't change RADIUS groups";
-    #}
-  }
-  return $error. ' ('. $self->exporttype. ' to '. $self->machine. ')'
-    if $error;
-
-  $self->shellcommands_queue( $new->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-    stdin_string => eval(qq("$stdin")),
-  );
-}
-
-#a good idea to queue anything that could fail or take any time
-sub shellcommands_queue {
-  my( $self, $svcnum ) = (shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::shellcommands::ssh_cmd",
-  };
-  $queue->insert( @_ );
-}
-
-sub ssh_cmd { #subroutine, not method
-  use Net::SSH '0.08';
-  &Net::SSH::ssh_cmd( { @_ } );
-}
-
-#sub shellcommands_insert { #subroutine, not method
-#}
-#sub shellcommands_replace { #subroutine, not method
-#}
-#sub shellcommands_delete { #subroutine, not method
-#}
-
-1;
-
diff --git a/FS/FS/part_export/shellcommands_withdomain.pm b/FS/FS/part_export/shellcommands_withdomain.pm
deleted file mode 100644 (file)
index 7c5d904..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-package FS::part_export::shellcommands_withdomain;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::shellcommands;
-
-@ISA = qw(FS::part_export::shellcommands);
-
-tie my %options, 'Tie::IxHash',
-  'user' => { label=>'Remote username', default=>'root' },
-  'useradd' => { label=>'Insert command',
-                 #default=>''
-               },
-  'useradd_stdin' => { label=>'Insert command STDIN',
-                       type =>'textarea',
-                       #default=>"$_password\n$_password\n",
-                     },
-  'userdel' => { label=>'Delete command',
-                 #default=>'',
-               },
-  'userdel_stdin' => { label=>'Delete command STDIN',
-                       type =>'textarea',
-                       #default=>'',
-                     },
-  'usermod' => { label=>'Modify command',
-                 default=>'',
-               },
-  'usermod_stdin' => { label=>'Modify command STDIN',
-                       type =>'textarea',
-                       #default=>"$_password\n$_password\n",
-                     },
-  'usermod_pwonly' => { label=>'Disallow username, domain, uid, dir and RADIUS group changes',
-                        type =>'checkbox',
-                      },
-  'usermod_nousername' => { label=>'Disallow just username changes',
-                            type =>'checkbox',
-                          },
-  'suspend' => { label=>'Suspension command',
-                 default=>'',
-               },
-  'suspend_stdin' => { label=>'Suspension command STDIN',
-                       default=>'',
-                     },
-  'unsuspend' => { label=>'Unsuspension command',
-                   default=>'',
-                 },
-  'unsuspend_stdin' => { label=>'Unsuspension command STDIN',
-                         default=>'',
-                       },
-  'crypt' => { label   => 'Default password encryption',
-               type=>'select', options=>[qw(crypt md5)],
-               default => 'crypt',
-             },
-;
-
-%info = (
-  'svc'     => 'svc_acct',
-  'desc'    => 'Real-time export via remote SSH (vpopmail, ISPMan)',
-  'options' => \%options,
-  'notes'   => <<'END'
-Run remote commands via SSH.  username@domain (rather than just usernames) are
-considered unique (also see shellcommands).  You probably want this if the
-commands you are running will accept a domain as a parameter, and will allow
-the same username with different domains.  You will need to
-<a href="../docs/ssh.html">setup SSH for unattended operation</a>.
-
-<BR><BR>Use these buttons for some useful presets:
-<UL>
-  <LI><INPUT TYPE="button" VALUE="vpopmail" onClick='
-    this.form.useradd.value = "/home/vpopmail/bin/vadduser $username\\\@$domain $quoted_password";
-    this.form.useradd_stdin.value = "";
-    this.form.userdel.value = "/home/vpopmail/bin/vdeluser $username\\\@$domain";
-    this.form.userdel_stdin.value="";
-    this.form.usermod.value = "/home/vpopmail/bin/vpasswd $new_username\\\@$new_domain $new_quoted_password";
-    this.form.usermod_stdin.value = "";
-    this.form.usermod_pwonly.checked = true;
-  '>
-  <LI><INPUT TYPE="button" VALUE="ISPMan CLI" onClick='
-    this.form.useradd.value = "/usr/local/ispman/bin/ispman.addUser -d $domain -f $first -l $last -q $quota -p $quoted_password $username";
-    this.form.useradd_stdin.value = "";
-    this.form.userdel.value = "/usr/local/ispman/bin/ispman.delUser -d $domain $username";
-    this.form.userdel_stdin.value="";
-    this.form.usermod.value = "/usr/local/ispman/bin/ispman.passwd.user $new_username\\\@$new_domain $new_quoted_password";
-    this.form.usermod_stdin.value = "";
-    this.form.usermod_pwonly.checked = true;
-  '>
-</UL>
-
-The following variables are available for interpolation (prefixed with
-<code>new_</code> or <code>old_</code> for replace operations):
-<UL>
-  <LI><code>$username</code>
-  <LI><code>$domain</code>
-  <LI><code>$_password</code>
-  <LI><code>$quoted_password</code> - unencrypted password, already quoted for the shell (do not add additional quotes)
-  <LI><code>$crypt_password</code> - encrypted password, already quoted for the shell (do not add additional quotes)
-  <LI><code>$uid</code>
-  <LI><code>$gid</code>
-  <LI><code>$finger</code> - GECOS, already quoted for the shell (do not add additional quotes)
-  <LI><code>$first</code> - First name of GECOS, already quoted for the shell (do not add additional quotes)
-  <LI><code>$last</code> - Last name of GECOS, already quoted for the shell (do not add additional quotes)
-  <LI><code>$dir</code> - home directory
-  <LI><code>$shell</code>
-  <LI><code>$quota</code>
-  <LI><code>@radius_groups</code>
-  <LI>All other fields in <a href="../docs/schema.html#svc_acct">svc_acct</a> are also available.
-</UL>
-END
-);
-
-1;
-
diff --git a/FS/FS/part_export/sqlmail.pm b/FS/FS/part_export/sqlmail.pm
deleted file mode 100644 (file)
index 6d61e0e..0000000
+++ /dev/null
@@ -1,220 +0,0 @@
-package FS::part_export::sqlmail;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use Digest::MD5 qw(md5_hex);
-use FS::Record qw(qsearchs);
-use FS::part_export;
-use FS::svc_domain;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'datasrc'            => { label => 'DBI data source' },
-  'username'           => { label => 'Database username' },
-  'password'           => { label => 'Database password' },
-  'server_type'        => {
-    label   => 'Server type',
-    type    => 'select',
-    options => [qw(dovecot_plain dovecot_crypt dovecot_digest_md5 courier_plain
-                   courier_crypt)],
-    default => ['dovecot_plain'], },
-  'svc_acct_table'     => { label => 'User Table', default => 'user_acct' },
-  'svc_forward_table'  => { label => 'Forward Table', default => 'forward' },
-  'svc_domain_table'   => { label => 'Domain Table', default => 'domain' },
-  'svc_acct_fields'    => { label => 'svc_acct Export Fields',
-                            default => 'username _password domsvc svcnum' },
-  'svc_forward_fields' => { label => 'svc_forward Export Fields',
-                            default => 'domain svcnum catchall' },
-  'svc_domain_fields'  => { label => 'svc_domain Export Fields',
-                            default => 'srcsvc dstsvc dst' },
-  'resolve_dstsvc'     => { label => q{Resolve svc_forward.dstsvc to an email address and store it in dst. (Doesn't require that you also export dstsvc.)},
-                            type => 'checkbox' },
-;
-
-%info = (
-  'svc'      => [qw( svc_acct svc_domain svc_forward )],
-  'desc'     => 'Real-time export to SQL-backed mail server',
-  'options'  => \%options,
-  'nodomain' => '',
-  'notes'    => <<'END'
-Database schema can be made to work with Courier IMAP, Exim and Dovecot.
-Others could work but are untested.  (more detailed description from
-Kristian / fire2wire? )
-END
-);
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self, $svc) = (shift, shift);
-  # this is a svc_something.
-
-  my $svcdb = $svc->cust_svc->part_svc->svcdb;
-  my $export_table = $self->option($svcdb . '_table')
-    or die('Export table not defined for svcdb: ' . $svcdb);
-  my @export_fields = split(/\s+/, $self->option($svcdb . '_fields'));
-  my $svchash = update_values($self, $svc, $svcdb);
-
-  foreach my $key (keys(%$svchash)) {
-    unless (grep { $key eq $_ } @export_fields) {
-      delete $svchash->{$key};
-    }
-  }
-
-  my $error = $self->sqlmail_queue( $svc->svcnum, 'insert',
-    $self->option('server_type'), $export_table,
-    (map { ($_, $svchash->{$_}); } keys(%$svchash)));
-  return $error if $error;
-  '';
-
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-
-  my $svcdb = $new->cust_svc->part_svc->svcdb;
-  my $export_table = $self->option($svcdb . '_table')
-    or die('Export table not defined for svcdb: ' . $svcdb);
-  my @export_fields = split(/\s+/, $self->option($svcdb . '_fields'));
-  my $svchash = update_values($self, $new, $svcdb);
-
-  foreach my $key (keys(%$svchash)) {
-    unless (grep { $key eq $_ } @export_fields) {
-      delete $svchash->{$key};
-    }
-  }
-
-  my $error = $self->sqlmail_queue( $new->svcnum, 'replace',
-    $old->svcnum, $self->option('server_type'), $export_table,
-    (map { ($_, $svchash->{$_}); } keys(%$svchash)));
-  return $error if $error;
-  '';
-
-}
-
-sub _export_delete {
-  my( $self, $svc ) = (shift, shift);
-
-  my $svcdb = $svc->cust_svc->part_svc->svcdb;
-  my $table = $self->option($svcdb . '_table')
-    or die('Export table not defined for svcdb: ' . $svcdb);
-
-  $self->sqlmail_queue( $svc->svcnum, 'delete', $table,
-    $svc->svcnum );
-}
-
-sub sqlmail_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::sqlmail::sqlmail_$method",
-  };
-  $queue->insert(
-    $self->option('datasrc'),
-    $self->option('username'),
-    $self->option('password'),
-    @_,
-  );
-}
-
-sub sqlmail_insert { #subroutine, not method
-  my $dbh = sqlmail_connect(shift, shift, shift);
-  my( $server_type, $table ) = (shift, shift);
-
-  my %attrs = @_;
-
-  map { $attrs{$_} = $attrs{$_} ? qq!'$attrs{$_}'! : 'NULL'; } keys(%attrs);
-  my $query = sprintf("INSERT INTO %s (%s) values (%s)",
-                      $table, join(",", keys(%attrs)),
-                      join(',', values(%attrs)));
-
-  $dbh->do($query) or die $dbh->errstr;
-  $dbh->disconnect;
-
-  '';
-}
-
-sub sqlmail_delete { #subroutine, not method
-  my $dbh = sqlmail_connect(shift, shift, shift);
-  my( $table, $svcnum ) = @_;
-
-  $dbh->do("DELETE FROM $table WHERE svcnum = $svcnum") or die $dbh->errstr;
-  $dbh->disconnect;
-
-  '';
-}
-
-sub sqlmail_replace {
-  my $dbh = sqlmail_connect(shift, shift, shift);
-  my($oldsvcnum, $server_type, $table) = (shift, shift, shift);
-
-  my %attrs = @_;
-  map { $attrs{$_} = $attrs{$_} ? qq!'$attrs{$_}'! : 'NULL'; } keys(%attrs);
-
-  my $query = "SELECT COUNT(*) FROM $table WHERE svcnum = $oldsvcnum";
-  my $result = $dbh->selectrow_arrayref($query) or die $dbh->errstr;
-  
-  if (@$result[0] == 0) {
-    $query = sprintf("INSERT INTO %s (%s) values (%s)",
-                     $table, join(",", keys(%attrs)),
-                     join(',', values(%attrs)));
-    $dbh->do($query) or die $dbh->errstr;
-  } else {
-    $query = sprintf('UPDATE %s SET %s WHERE svcnum = %s',
-                     $table, join(', ', map {"$_ = $attrs{$_}"} keys(%attrs)),
-                     $oldsvcnum);
-    $dbh->do($query) or die $dbh->errstr;
-  }
-
-  $dbh->disconnect;
-
-  '';
-}
-
-sub sqlmail_connect {
-  DBI->connect(@_) or die $DBI::errstr;
-}
-
-sub update_values {
-
-  # Update records to conform to a particular server_type.
-
-  my ($self, $svc, $svcdb) = (shift,shift,shift);
-  my $svchash = { %{$svc->hashref} } or return ''; # We need a copy.
-
-  if ($svcdb eq 'svc_acct') {
-    if ($self->option('server_type') eq 'courier_crypt') {
-      my $salt = join '', ('.', '/', 0..9,'A'..'Z', 'a'..'z')[rand 64, rand 64];
-      $svchash->{_password} = crypt($svchash->{_password}, $salt);
-
-    } elsif ($self->option('server_type') eq 'dovecot_plain') {
-      $svchash->{_password} = '{PLAIN}' . $svchash->{_password};
-      
-    } elsif ($self->option('server_type') eq 'dovecot_crypt') {
-      my $salt = join '', ('.', '/', 0..9,'A'..'Z', 'a'..'z')[rand 64, rand 64];
-      $svchash->{_password} = '{CRYPT}' . crypt($svchash->{_password}, $salt);
-
-    } elsif ($self->option('server_type') eq 'dovecot_digest_md5') {
-      my $svc_domain = qsearchs('svc_domain', { svcnum => $svc->domsvc });
-      die('Unable to lookup svc_domain with domsvc: ' . $svc->domsvc)
-        unless ($svc_domain);
-
-      my $domain = $svc_domain->domain;
-      my $md5hash = '{DIGEST-MD5}' . md5_hex(join(':', $svchash->{username},
-                                             $domain, $svchash->{_password}));
-      $svchash->{_password} = $md5hash;
-    }
-  } elsif ($svcdb eq 'svc_forward') {
-    if ($self->option('resolve_dstsvc') && $svc->dstsvc_acct) {
-      $svchash->{dst} = $svc->dstsvc_acct->username . '@' .
-                        $svc->dstsvc_acct->svc_domain->domain;
-    }
-  }
-
-  return($svchash);
-
-}
-
-1;
-
diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm
deleted file mode 100644 (file)
index 10bccb0..0000000
+++ /dev/null
@@ -1,552 +0,0 @@
-package FS::part_export::sqlradius;
-
-use vars qw(@ISA $DEBUG %info %options $notes1 $notes2);
-use Tie::IxHash;
-use FS::Record qw( dbh qsearch );
-use FS::part_export;
-use FS::svc_acct;
-use FS::export_svc;
-
-@ISA = qw(FS::part_export);
-
-$DEBUG = 0;
-
-tie %options, 'Tie::IxHash',
-  'datasrc'  => { label=>'DBI data source ' },
-  'username' => { label=>'Database username' },
-  'password' => { label=>'Database password' },
-  'ignore_accounting' => {
-    type  => 'checkbox',
-    label => 'Ignore accounting records from this database'
-  },
-  'hide_ip' => {
-    type  => 'checkbox',
-    label => 'Hide IP address information on session reports',
-  },
-  'hide_data' => {
-    type  => 'checkbox',
-    label => 'Hide download/upload information on session reports',
-  },
-  'show_called_station' => {
-    type  => 'checkbox',
-    label => 'Show the Called-Station-ID on session reports',
-  },
-;
-
-$notes1 = <<'END';
-Real-time export of <b>radcheck</b>, <b>radreply</b> and <b>usergroup</b>
-tables to any SQL database for
-<a href="http://www.freeradius.org/">FreeRADIUS</a>
-or <a href="http://radius.innercite.com/">ICRADIUS</a>.
-END
-
-$notes2 = <<'END';
-An existing RADIUS database will be updated in realtime, but you can use
-<a href="../docs/man/bin/freeside-sqlradius-reset">freeside-sqlradius-reset</a>
-to delete the entire RADIUS database and repopulate the tables from the
-Freeside database.  See the
-<a href="http://search.cpan.org/dist/DBI/DBI.pm#connect">DBI documentation</a>
-and the
-<a href="http://search.cpan.org/search?mode=module&query=DBD%3A%3A">documentation for your DBD</a>
-for the exact syntax of a DBI data source.
-<ul>
-  <li>Using FreeRADIUS 0.9.0 with the PostgreSQL backend, the db_postgresql.sql schema and postgresql.conf queries contain incompatible changes.  This is fixed in 0.9.1.  Only new installs with 0.9.0 and PostgreSQL are affected - upgrades and other database backends and versions are unaffected.
-  <li>Using ICRADIUS, add a dummy "op" column to your database:
-    <blockquote><code>
-      ALTER&nbsp;TABLE&nbsp;radcheck&nbsp;ADD&nbsp;COLUMN&nbsp;op&nbsp;VARCHAR(2)&nbsp;NOT&nbsp;NULL&nbsp;DEFAULT&nbsp;'=='<br>
-      ALTER&nbsp;TABLE&nbsp;radreply&nbsp;ADD&nbsp;COLUMN&nbsp;op&nbsp;VARCHAR(2)&nbsp;NOT&nbsp;NULL&nbsp;DEFAULT&nbsp;'=='<br>
-      ALTER&nbsp;TABLE&nbsp;radgroupcheck&nbsp;ADD&nbsp;COLUMN&nbsp;op&nbsp;VARCHAR(2)&nbsp;NOT&nbsp;NULL&nbsp;DEFAULT&nbsp;'=='<br>
-      ALTER&nbsp;TABLE&nbsp;radgroupreply&nbsp;ADD&nbsp;COLUMN&nbsp;op&nbsp;VARCHAR(2)&nbsp;NOT&nbsp;NULL&nbsp;DEFAULT&nbsp;'=='
-    </code></blockquote>
-  <li>Using Radiator, see the
-    <a href="http://www.open.com.au/radiator/faq.html#38">Radiator FAQ</a>
-    for configuration information.
-</ul>
-END
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     => 'Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => $notes1.
-                'This export does not export RADIUS realms (see also '.
-                'sqlradius_withdomain).  '.
-                $notes2
-);
-
-sub rebless { shift; }
-
-sub export_username {
-  my($self, $svc_acct) = (shift, shift);
-  warn "export_username called on $self with arg $svc_acct" if $DEBUG;
-  $svc_acct->username;
-}
-
-sub _export_insert {
-  my($self, $svc_acct) = (shift, shift);
-
-  foreach my $table (qw(reply check)) {
-    my $method = "radius_$table";
-    my %attrib = $svc_acct->$method();
-    next unless keys %attrib;
-    my $err_or_queue = $self->sqlradius_queue( $svc_acct->svcnum, 'insert',
-      $table, $self->export_username($svc_acct), %attrib );
-    return $err_or_queue unless ref($err_or_queue);
-  }
-  my @groups = $svc_acct->radius_groups;
-  if ( @groups ) {
-    my $err_or_queue = $self->sqlradius_queue(
-      $svc_acct->svcnum, 'usergroup_insert',
-      $self->export_username($svc_acct), @groups );
-    return $err_or_queue unless ref($err_or_queue);
-  }
-  '';
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $jobnum = '';
-  if ( $self->export_username($old) ne $self->export_username($new) ) {
-    my $err_or_queue = $self->sqlradius_queue( $new->svcnum, 'rename',
-      $self->export_username($new), $self->export_username($old) );
-    unless ( ref($err_or_queue) ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $err_or_queue;
-    }
-    $jobnum = $err_or_queue->jobnum;
-  }
-
-  foreach my $table (qw(reply check)) {
-    my $method = "radius_$table";
-    my %new = $new->$method();
-    my %old = $old->$method();
-    if ( grep { !exists $old{$_} #new attributes
-                || $new{$_} ne $old{$_} #changed
-              } keys %new
-    ) {
-      my $err_or_queue = $self->sqlradius_queue( $new->svcnum, 'insert',
-        $table, $self->export_username($new), %new );
-      unless ( ref($err_or_queue) ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $err_or_queue;
-      }
-      if ( $jobnum ) {
-        my $error = $err_or_queue->depend_insert( $jobnum );
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-      }
-    }
-
-    my @del = grep { !exists $new{$_} } keys %old;
-    if ( @del ) {
-      my $err_or_queue = $self->sqlradius_queue( $new->svcnum, 'attrib_delete',
-        $table, $self->export_username($new), @del );
-      unless ( ref($err_or_queue) ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $err_or_queue;
-      }
-      if ( $jobnum ) {
-        my $error = $err_or_queue->depend_insert( $jobnum );
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-      }
-    }
-  }
-
-  # (sorta) false laziness with FS::svc_acct::replace
-  my @oldgroups = @{$old->usergroup}; #uuuh
-  my @newgroups = $new->radius_groups;
-  my @delgroups = ();
-  foreach my $oldgroup ( @oldgroups ) {
-    if ( grep { $oldgroup eq $_ } @newgroups ) {
-      @newgroups = grep { $oldgroup ne $_ } @newgroups;
-      next;
-    }
-    push @delgroups, $oldgroup;
-  }
-
-  if ( @delgroups ) {
-    my $err_or_queue = $self->sqlradius_queue( $new->svcnum, 'usergroup_delete',
-      $self->export_username($new), @delgroups );
-    unless ( ref($err_or_queue) ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $err_or_queue;
-    }
-    if ( $jobnum ) {
-      my $error = $err_or_queue->depend_insert( $jobnum );
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  if ( @newgroups ) {
-    my $err_or_queue = $self->sqlradius_queue( $new->svcnum, 'usergroup_insert',
-      $self->export_username($new), @newgroups );
-    unless ( ref($err_or_queue) ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $err_or_queue;
-    }
-    if ( $jobnum ) {
-      my $error = $err_or_queue->depend_insert( $jobnum );
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  my $err_or_queue = $self->sqlradius_queue( $svc_acct->svcnum, 'delete',
-    $self->export_username($svc_acct) );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub sqlradius_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::sqlradius::sqlradius_$method",
-  };
-  $queue->insert(
-    $self->option('datasrc'),
-    $self->option('username'),
-    $self->option('password'),
-    @_,
-  ) or $queue;
-}
-
-sub sqlradius_insert { #subroutine, not method
-  my $dbh = sqlradius_connect(shift, shift, shift);
-  my( $table, $username, %attributes ) = @_;
-
-  foreach my $attribute ( keys %attributes ) {
-  
-    my $s_sth = $dbh->prepare(
-      "SELECT COUNT(*) FROM rad$table WHERE UserName = ? AND Attribute = ?"
-    ) or die $dbh->errstr;
-    $s_sth->execute( $username, $attribute ) or die $s_sth->errstr;
-
-    if ( $s_sth->fetchrow_arrayref->[0] ) {
-
-      my $u_sth = $dbh->prepare(
-        "UPDATE rad$table SET Value = ? WHERE UserName = ? AND Attribute = ?"
-      ) or die $dbh->errstr;
-      $u_sth->execute($attributes{$attribute}, $username, $attribute)
-        or die $u_sth->errstr;
-
-    } else {
-
-      my $i_sth = $dbh->prepare(
-        "INSERT INTO rad$table ( UserName, Attribute, op, Value ) ".
-          "VALUES ( ?, ?, ?, ? )"
-      ) or die $dbh->errstr;
-      $i_sth->execute(
-        $username,
-        $attribute,
-        ( $attribute =~ /Password/i ? '==' : ':=' ),
-        $attributes{$attribute},
-      ) or die $i_sth->errstr;
-
-    }
-
-  }
-  $dbh->disconnect;
-}
-
-sub sqlradius_usergroup_insert { #subroutine, not method
-  my $dbh = sqlradius_connect(shift, shift, shift);
-  my( $username, @groups ) = @_;
-
-  my $sth = $dbh->prepare( 
-    "INSERT INTO usergroup ( UserName, GroupName ) VALUES ( ?, ? )"
-  ) or die $dbh->errstr;
-  foreach my $group ( @groups ) {
-    $sth->execute( $username, $group )
-      or die "can't insert into groupname table: ". $sth->errstr;
-  }
-  $dbh->disconnect;
-}
-
-sub sqlradius_usergroup_delete { #subroutine, not method
-  my $dbh = sqlradius_connect(shift, shift, shift);
-  my( $username, @groups ) = @_;
-
-  my $sth = $dbh->prepare( 
-    "DELETE FROM usergroup WHERE UserName = ? AND GroupName = ?"
-  ) or die $dbh->errstr;
-  foreach my $group ( @groups ) {
-    $sth->execute( $username, $group )
-      or die "can't delete from groupname table: ". $sth->errstr;
-  }
-  $dbh->disconnect;
-}
-
-sub sqlradius_rename { #subroutine, not method
-  my $dbh = sqlradius_connect(shift, shift, shift);
-  my($new_username, $old_username) = @_;
-  foreach my $table (qw(radreply radcheck usergroup )) {
-    my $sth = $dbh->prepare("UPDATE $table SET Username = ? WHERE UserName = ?")
-      or die $dbh->errstr;
-    $sth->execute($new_username, $old_username)
-      or die "can't update $table: ". $sth->errstr;
-  }
-  $dbh->disconnect;
-}
-
-sub sqlradius_attrib_delete { #subroutine, not method
-  my $dbh = sqlradius_connect(shift, shift, shift);
-  my( $table, $username, @attrib ) = @_;
-
-  foreach my $attribute ( @attrib ) {
-    my $sth = $dbh->prepare(
-        "DELETE FROM rad$table WHERE UserName = ? AND Attribute = ?" )
-      or die $dbh->errstr;
-    $sth->execute($username,$attribute)
-      or die "can't delete from rad$table table: ". $sth->errstr;
-  }
-  $dbh->disconnect;
-}
-
-sub sqlradius_delete { #subroutine, not method
-  my $dbh = sqlradius_connect(shift, shift, shift);
-  my $username = shift;
-
-  foreach my $table (qw( radcheck radreply usergroup )) {
-    my $sth = $dbh->prepare( "DELETE FROM $table WHERE UserName = ?" );
-    $sth->execute($username)
-      or die "can't delete from $table table: ". $sth->errstr;
-  }
-  $dbh->disconnect;
-}
-
-sub sqlradius_connect {
-  #my($datasrc, $username, $password) = @_;
-  #DBI->connect($datasrc, $username, $password) or die $DBI::errstr;
-  DBI->connect(@_) or die $DBI::errstr;
-}
-
-#--
-
-=item usage_sessions TIMESTAMP_START TIMESTAMP_END [ SVC_ACCT [ IP [ PREFIX [ SQL_SELECT ] ] ] ]
-
-TIMESTAMP_START and TIMESTAMP_END are specified as UNIX timestamps; see
-L<perlfunc/"time">.  Also see L<Time::Local> and L<Date::Parse> for conversion
-functions.
-
-SVC_ACCT, if specified, limits the results to the specified account.
-
-IP, if specified, limits the results to the specified IP address.
-
-PREFIX, if specified, limits the results to records with a matching
-Called-Station-ID.
-
-#SQL_SELECT defaults to * if unspecified.  It can be useful to set it to 
-#SUM(acctsessiontime) or SUM(AcctInputOctets), etc.
-
-Returns an arrayref of hashrefs with the following fields:
-
-=over 4
-
-=item username
-
-=item framedipaddress
-
-=item acctstarttime
-
-=item acctstoptime
-
-=item acctsessiontime
-
-=item acctinputoctets
-
-=item acctoutputoctets
-
-=item calledstationid
-
-=back
-
-=cut
-
-#some false laziness w/cust_svc::seconds_since_sqlradacct
-
-sub usage_sessions {
-  my( $self, $start, $end ) = splice(@_, 0, 3);
-  my $svc_acct = @_ ? shift : '';
-  my $ip = @_ ? shift : '';
-  my $prefix = @_ ? shift : '';
-  #my $select = @_ ? shift : '*';
-
-  $end ||= 2147483647;
-
-  return [] if $self->option('ignore_accounting');
-
-  my $dbh = sqlradius_connect( map $self->option($_),
-                                   qw( datasrc username password ) );
-
-  #select a unix time conversion function based on database type
-  my $str2time;
-  if ( $dbh->{Driver}->{Name} =~ /^mysql(PP)?$/ ) {
-    $str2time = 'UNIX_TIMESTAMP(';
-  } elsif ( $dbh->{Driver}->{Name} eq 'Pg' ) {
-    $str2time = 'EXTRACT( EPOCH FROM ';
-  } else {
-    warn "warning: unknown database type ". $dbh->{Driver}->{Name}.
-         "; guessing how to convert to UNIX timestamps";
-    $str2time = 'extract(epoch from ';
-  }
-
-  my @fields = (
-                 qw( username realm framedipaddress
-                     acctsessiontime acctinputoctets acctoutputoctets
-                     calledstationid
-                   ),
-                 "$str2time acctstarttime ) as acctstarttime",
-                 "$str2time acctstoptime ) as acctstoptime",
-               );
-
-  my @param = ();
-  my $where = '';
-
-  if ( $svc_acct ) {
-    my $username = $self->export_username($svc_acct);
-    if ( $svc_acct =~ /^([^@]+)\@([^@]+)$/ ) {
-      $where = '( UserName = ? OR ( UserName = ? AND Realm = ? ) ) AND';
-      push @param, $username, $1, $2;
-    } else {
-      $where = 'UserName = ? AND';
-      push @param, $username;
-    }
-  }
-
-  if ( length($ip) ) {
-    $where .= ' FramedIPAddress = ? AND';
-    push @param, $ip;
-  }
-
-  if ( length($prefix) ) {
-    #assume sip: for now, else things get ugly trying to match /^\w+:$prefix/
-    $where .= " CalledStationID LIKE 'sip:$prefix\%' AND";
-  }
-
-  push @param, $start, $end;
-
-  my $sth = $dbh->prepare('SELECT '. join(', ', @fields).
-                          "  FROM radacct
-                             WHERE $where
-                                   $str2time AcctStopTime ) >= ?
-                               AND $str2time AcctStopTime ) <=  ?
-                               ORDER BY AcctStartTime DESC
-  ") or die $dbh->errstr;                                 
-  $sth->execute(@param) or die $sth->errstr;
-
-  [ map { { %$_ } } @{ $sth->fetchall_arrayref({}) } ];
-
-}
-
-=item update_svc_acct
-
-=cut
-
-sub update_svc_acct {
-  my $self = shift;
-
-  my $dbh = sqlradius_connect( map $self->option($_),
-                                   qw( datasrc username password ) );
-
-  my @fields = qw( radacctid username realm acctsessiontime );
-
-  my @param = ();
-  my $where = '';
-
-  my $sth = $dbh->prepare("
-    SELECT RadAcctId, UserName, Realm, AcctSessionTime
-      FROM radacct
-      WHERE FreesideStatus IS NULL
-        AND AcctStopTime != 0
-  ") or die $dbh->errstr;
-  $sth->execute() or die $sth->errstr;
-
-  while ( my $row = $sth->fetchrow_arrayref ) {
-    my($RadAcctId, $UserName, $Realm, $AcctSessionTime) = @$row;
-    warn "processing record: ".
-         "$RadAcctId ($UserName\@$Realm for ${AcctSessionTime}s"
-      if $DEBUG;
-
-    my %search = ( 'username' => $UserName );
-    my $extra_sql = '';
-    if ( ref($self) =~ /withdomain/ ) { #well...
-      $extra_sql = " AND '$Realm' = ( SELECT domain FROM svc_domain
-                          WHERE svc_domain.svcnum = svc_acct.domsvc ) ";
-      my $svc_domain = qsearch
-    }
-
-    my @svc_acct =
-      grep { qsearch( 'export_svc', { 'exportnum' => $self->exportnum,
-                                      'svcpart'   => $_->cust_svc->svcpart, } )
-           }
-      qsearch( 'svc_acct',
-                 { 'username' => $UserName },
-                 '',
-                 $extra_sql
-               );
-
-    my $errinfo = "for RADIUS detail RadAcctID $RadAcctId ".
-                  "(UserName $UserName, Realm $Realm)";
-    my $status = 'skipped';
-    if ( !@svc_acct ) {
-      warn "WARNING: no svc_acct record found $errinfo - skipping\n";
-    } elsif ( scalar(@svc_acct) > 1 ) {
-      warn "WARNING: multiple svc_acct records found $errinfo - skipping\n";
-    } else {
-      my $svc_acct = $svc_acct[0];
-      warn "found svc_acct ". $svc_acct->svcnum. " $errinfo\n" if $DEBUG;
-      if ( $svc_acct->seconds !~ /^$/ ) {
-        warn "  svc_acct.seconds found (". $svc_acct->seconds.
-             ") - decrementing\n"
-          if $DEBUG;
-        my $error = $svc_acct->decrement_seconds($AcctSessionTime);
-        die $error if $error;
-        $status = 'done';
-      } else {
-        warn "  no existing seconds value for svc_acct - skiping\n" if $DEBUG;
-      }
-    }
-
-    warn "setting FreesideStatus to $status $errinfo\n" if $DEBUG; 
-    my $psth = $dbh->prepare("UPDATE radacct
-                                SET FreesideStatus = ?
-                                WHERE RadAcctId = ?"
-    ) or die $dbh->errstr;
-    $psth->execute($status, $RadAcctId) or die $psth->errstr;
-
-  }
-
-}
-
-1;
-
diff --git a/FS/FS/part_export/sqlradius_withdomain.pm b/FS/FS/part_export/sqlradius_withdomain.pm
deleted file mode 100644 (file)
index e5a7151..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package FS::part_export::sqlradius_withdomain;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::sqlradius;
-
-tie my %options, 'Tie::IxHash', %FS::part_export::sqlradius::options;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     => 'Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms',
-  'options'  => \%options,
-  'nodomain' => '',
-  'notes' => $FS::part_export::sqlradius::notes1.
-             'This export exports domains to RADIUS realms (see also '.
-             'sqlradius).  '.
-             $FS::part_export::sqlradius::notes2
-);
-
-@ISA = qw(FS::part_export::sqlradius);
-
-sub export_username {
-  my($self, $svc_acct) = (shift, shift);
-  $svc_acct->email;
-}
-
-1;
-
diff --git a/FS/FS/part_export/sysvshell.pm b/FS/FS/part_export/sysvshell.pm
deleted file mode 100644 (file)
index 244c3bf..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package FS::part_export::sysvshell;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export::passwdfile;
-
-@ISA = qw(FS::part_export::passwdfile);
-
-tie my %options, 'Tie::IxHash', %FS::part_export::passwdfile::options;
-
-%info = (
-  'svc'      => 'svc_acct',
-  'desc'     =>
-    'Batch export of /etc/passwd and /etc/shadow files (Linux, Solaris)',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => <<'END'
-MD5 crypt requires installation of
-<a href="http://search.cpan.org/dist/Crypt-PasswdMD5">Crypt::PasswdMD5</a>
-from CPAN.    Run bin/sysvshell.export to export the files.
-END
-);
-
-1;
-
diff --git a/FS/FS/part_export/textradius.pm b/FS/FS/part_export/textradius.pm
deleted file mode 100644 (file)
index 65936ea..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-package FS::part_export::textradius;
-
-use vars qw(@ISA %info $prefix);
-use Fcntl qw(:flock);
-use Tie::IxHash;
-use FS::UID qw(datasrc);
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'user' => { label=>'Remote username', default=>'root' },
-  'users' => { label=>'users file location', default=>'/etc/raddb/users' },
-;
-
-%info = (
-  'svc'     => 'svc_acct',
-  'desc'    =>
-    'Real-time export to a text /etc/raddb/users file (Livingston, Cistron)',
-  'options' => \%options,
-  'notes'   => <<'END'
-This will edit a text RADIUS users file in place on a remote server.
-Requires installation of
-<a href="http://search.cpan.org/dist/RADIUS-UserFile">RADIUS::UserFile</a>
-from CPAN.  If using RADIUS::UserFile 1.01, make sure to apply
-<a href="http://rt.cpan.org/NoAuth/Bug.html?id=1210">this patch</a>.  Also
-make sure <a href="http://rsync.samba.org/">rsync</a> is installed on the
-remote machine, and <a href="../docs/ssh.html">SSH is setup for unattended
-operation</a>.
-END
-);
-
-$prefix = "/usr/local/etc/freeside/export.";
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self, $svc_acct) = (shift, shift);
-  $err_or_queue = $self->textradius_queue( $svc_acct->svcnum, 'insert',
-    $svc_acct->username, $svc_acct->radius_check, '-', $svc_acct->radius_reply);
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  return "can't (yet?) change username with textradius"
-    if $old->username ne $new->username;
-  #return '' unless $old->_password ne $new->_password;
-  $err_or_queue = $self->textradius_queue( $new->svcnum, 'insert',
-    $new->username, $new->radius_check, '-', $new->radius_reply);
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  $err_or_queue = $self->textradius_queue( $svc_acct->svcnum, 'delete',
-    $svc_acct->username );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-#a good idea to queue anything that could fail or take any time
-sub textradius_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::textradius::textradius_$method",
-  };
-  $queue->insert(
-    $self->option('user')||'root',
-    $self->machine,
-    $self->option('users'),
-    @_,
-  ) or $queue;
-}
-
-sub textradius_insert { #subroutine, not method
-  my( $user, $host, $users, $username, @attributes ) = @_;
-
-  #silly arg processing
-  my($att, @check);
-  push @check, $att while @attributes && ($att=shift @attributes) ne '-';
-  my %check = @check;
-  my %reply = @attributes;
-
-  my $file = textradius_download($user, $host, $users);
-
-  eval "use RADIUS::UserFile;";
-  die $@ if $@;
-
-  my $userfile = new RADIUS::UserFile(
-    File        => $file,
-    Who         => [ $username ],
-    Check_Items => [ keys %check ],
-  ) or die "error parsing $file";
-
-  $userfile->remove($username);
-  $userfile->add(
-    Who        => $username,
-    Attributes => { %check, %reply },
-    Comment    => 'user added by Freeside',
-  ) or die "error adding to $file";
-
-  $userfile->update( Who => [ $username ] )
-    or die "error updating $file";
-
-  textradius_upload($user, $host, $users);
-
-}
-
-sub textradius_delete { #subroutine, not method
-  my( $user, $host, $users, $username ) = @_;
-
-  my $file = textradius_download($user, $host, $users);
-
-  eval "use RADIUS::UserFile;";
-  die $@ if $@;
-
-  my $userfile = new RADIUS::UserFile(
-    File        => $file,
-    Who         => [ $username ],
-  ) or die "error parsing $file";
-
-  $userfile->remove($username);
-
-  $userfile->update( Who => [ $username ] )
-    or die "error updating $file";
-
-  textradius_upload($user, $host, $users);
-}
-
-sub textradius_download {
-  my( $user, $host, $users ) = @_;
-
-  my $dir = $prefix. datasrc;
-  mkdir $dir, 0700 or die $! unless -d $dir;
-  $dir .= "/$host";
-  mkdir $dir, 0700 or die $! unless -d $dir;
-
-  my $dest = "$dir/users";
-
-  eval "use File::Rsync;";
-  die $@ if $@;
-  my $rsync = File::Rsync->new({ rsh => 'ssh' });
-
-  open(LOCK, "+>>$dest.lock")
-    and flock(LOCK,LOCK_EX)
-      or die "can't open $dest.lock: $!";
-
-  $rsync->exec( {
-    src  => "$user\@$host:$users",
-    dest => $dest,
-  } ); # true/false return value from exec is not working, alas
-  if ( $rsync->err ) {
-    die "error downloading $user\@$host:$users : ".
-        'exit status: '. $rsync->status. ', '.
-        'STDERR: '. join(" / ", $rsync->err). ', '.
-        'STDOUT: '. join(" / ", $rsync->out);
-  }
-
-  $dest;
-}
-
-sub textradius_upload {
-  my( $user, $host, $users ) = @_;
-
-  my $dir = $prefix. datasrc. "/$host";
-
-  eval "use File::Rsync;";
-  die $@ if $@;
-  my $rsync = File::Rsync->new({
-    rsh => 'ssh',
-    #dry_run => 1,
-  });
-  $rsync->exec( {
-    src  => "$dir/users",
-    dest => "$user\@$host:$users",
-  } ); # true/false return value from exec is not working, alas
-  if ( $rsync->err ) {
-    die "error uploading to $user\@$host:$users : ".
-        'exit status: '. $rsync->status. ', '.
-        'STDERR: '. join(" / ", $rsync->err). ', '.
-        'STDOUT: '. join(" / ", $rsync->out);
-  }
-
-  flock(LOCK,LOCK_UN);
-  close LOCK;
-
-}
-
-1;
-
diff --git a/FS/FS/part_export/vpopmail.pm b/FS/FS/part_export/vpopmail.pm
deleted file mode 100644 (file)
index 0fc8266..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-package FS::part_export::vpopmail;
-
-use vars qw(@ISA %info @saltset $exportdir);
-use Fcntl qw(:flock);
-use Tie::IxHash;
-use File::Path;
-use FS::UID qw( datasrc );
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  #'machine' => { label=>'vpopmail machine', },
-  'dir'     => { label=>'directory', }, # ?more info? default?
-  'uid'     => { label=>'vpopmail uid' },
-  'gid'     => { label=>'vpopmail gid' },
-  'restart' => { label=> 'vpopmail restart command',
-                 default=> 'cd /home/vpopmail/domains; for domain in *; do /home/vpopmail/bin/vmkpasswd $domain; done; /var/qmail/bin/qmail-newu; killall -HUP qmail-send',
-               },
-;
-
-%info = (
-  'svc'     => 'svc_acct',
-  'desc'    => 'Real-time export to vpopmail text files',
-  'options' => \%options,
-  'notes'   => <<'END'
-This export is currently unmaintained.  See shellcommands_withdomain for an
-export that uses vpopmail CLI commands instead.<BR>
-<BR>
-Real time export to <a href="http://inter7.com/vpopmail/">vpopmail</a> text
-files.  <a href="http://search.cpan.org/dist/File-Rsync">File::Rsync</a>
-must be installed, and you will need to
-<a href="../docs/ssh.html">setup SSH for unattended operation</a>
-to <b>vpopmail</b>@<i>export.host</i>. 
-END
-);
-
-@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self, $svc_acct) = (shift, shift);
-  $self->vpopmail_queue( $svc_acct->svcnum, 'insert',
-    $svc_acct->username,
-    crypt($svc_acct->_password,$saltset[int(rand(64))].$saltset[int(rand(64))]),
-    $svc_acct->domain,
-    $svc_acct->quota,
-    $svc_acct->finger,
-  );
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-
-  my $cpassword = crypt(
-    $new->_password, $saltset[int(rand(64))].$saltset[int(rand(64))]
-  );
-
-  return "can't change username with vpopmail"
-    if $old->username ne $new->username;
-
-  #no.... if mail can't be preserved, better to disallow username changes
-  #if ($old->username ne $new->username || $old->domain ne $new->domain ) {
-  #  vpopmail_queue( $svc_acct->svcnum, 'delete', 
-  #    $old->username, $old->domain
-  #  );
-  #  vpopmail_queue( $svc_acct->svcnum, 'insert', 
-  #    $new->username,
-  #    $cpassword,
-  #    $new->domain,
-  #  );
-
-  return '' unless $old->_password ne $new->_password;
-
-  $self->vpopmail_queue( $new->svcnum, 'replace',
-    $new->username, $cpassword, $new->domain, $new->quota, $new->finger );
-}
-
-sub _export_delete {
-  my( $self, $svc_acct ) = (shift, shift);
-  $self->vpopmail_queue( $svc_acct->svcnum, 'delete',
-    $svc_acct->username, $svc_acct->domain );
-}
-
-#a good idea to queue anything that could fail or take any time
-sub vpopmail_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-
-  my $exportdir = "/usr/local/etc/freeside/export." . datasrc;
-  mkdir $exportdir, 0700 or die $! unless -d $exportdir;
-  $exportdir .= "/vpopmail";
-  mkdir $exportdir, 0700 or die $! unless -d $exportdir;
-  $exportdir .= '/'. $self->machine;
-  mkdir $exportdir, 0700 or die $! unless -d $exportdir;
-  mkdir "$exportdir/domains", 0700 or die $! unless -d "$exportdir/domains";
-
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::vpopmail::vpopmail_$method",
-  };
-  $queue->insert(
-    $exportdir,
-    $self->machine,
-    $self->option('dir'),
-    $self->option('uid'),
-    $self->option('gid'),
-    $self->option('restart'),
-    @_
-  );
-}
-
-sub vpopmail_insert { #subroutine, not method
-  my( $exportdir, $machine, $dir, $uid, $gid, $restart ) = splice @_,0,6;
-  my( $username, $password, $domain, $quota, $finger ) = @_;
-
-  mkdir "$exportdir/domains/$domain", 0700 or die $!
-    unless -d "$exportdir/domains/$domain";
-
-  (open(VPASSWD, ">>$exportdir/domains/$domain/vpasswd")
-    and flock(VPASSWD,LOCK_EX)
-  ) or die "can't open vpasswd file for $username\@$domain: ".
-           "$exportdir/domains/$domain/vpasswd: $!";
-  print VPASSWD join(":",
-    $username,
-    $password,
-    '1',
-    '0',
-    $finger,
-    "$dir/domains/$domain/$username",
-    $quota ? $quota.'S' : 'NOQUOTA',
-  ), "\n";
-
-  flock(VPASSWD,LOCK_UN);
-  close(VPASSWD);
-
-  for my $mkdir (
-    grep { ! -d $_ } map { "$exportdir/domains/$domain/$username$_" }
-        ( '', qw( /Maildir /Maildir/cur /Maildir/new /Maildir/tmp ) )
-  ) {
-    mkdir $mkdir, 0700 or die "can't mkdir $mkdir: $!";
-  }
-
-  vpopmail_sync( $exportdir, $machine, $dir, $uid, $gid, $restart );
-
-}
-
-sub vpopmail_replace { #subroutine, not method
-  my( $exportdir, $machine, $dir, $uid, $gid, $restart ) = splice @_,0,6;
-  my( $username, $password, $domain, $quota, $finger ) = @_;
-  
-  (open(VPASSWD, "$exportdir/domains/$domain/vpasswd")
-    and flock(VPASSWD,LOCK_EX)
-  ) or die "can't open $exportdir/domains/$domain/vpasswd: $!";
-
-  open(VPASSWDTMP, ">$exportdir/domains/$domain/vpasswd.tmp")
-    or die "Can't open $exportdir/domains/$domain/vpasswd.tmp: $!";
-
-  while (<VPASSWD>) {
-    my ($mailbox, $pw, $vuid, $vgid, $vfinger, $vdir, $vquota, @rest) =
-      split(':', $_);
-    if ( $username ne $mailbox ) {
-      print VPASSWDTMP $_;
-      next
-    }
-    print VPASSWDTMP join (':',
-      $mailbox,
-      $password,
-      '1',
-      '0',
-      $finger,
-      "$dir/domains/$domain/$username", #$vdir
-      $quota ? $quota.'S' : 'NOQUOTA',
-    ), "\n";
-  }
-
-  close(VPASSWDTMP);
-
-  rename "$exportdir/domains/$domain/vpasswd.tmp", "$exportdir/domains/$domain/vpasswd"
-    or die "Can't rename $exportdir/domains/$domain/vpasswd.tmp: $!";
-
-  flock(VPASSWD,LOCK_UN);
-  close(VPASSWD);
-
-  vpopmail_sync( $exportdir, $machine, $dir, $uid, $gid, $restart );
-
-}
-
-sub vpopmail_delete { #subroutine, not method
-  my( $exportdir, $machine, $dir, $uid, $gid, $restart ) = splice @_,0,6;
-  my( $username, $domain ) = @_;
-  
-  (open(VPASSWD, "$exportdir/domains/$domain/vpasswd")
-    and flock(VPASSWD,LOCK_EX)
-  ) or die "can't open $exportdir/domains/$domain/vpasswd: $!";
-
-  open(VPASSWDTMP, ">$exportdir/domains/$domain/vpasswd.tmp")
-    or die "Can't open $exportdir/domains/$domain/vpasswd.tmp: $!";
-
-  while (<VPASSWD>) {
-    my ($mailbox, $rest) = split(':', $_);
-    print VPASSWDTMP $_ unless $username eq $mailbox;
-  }
-
-  close(VPASSWDTMP);
-
-  rename "$exportdir/domains/$domain/vpasswd.tmp",
-         "$exportdir/domains/$domain/vpasswd"
-    or die "Can't rename $exportdir/domains/$domain/vpasswd.tmp: $!";
-
-  flock(VPASSWD,LOCK_UN);
-  close(VPASSWD);
-
-  rmtree "$exportdir/domains/$domain/$username"
-    or die "can't rmtree $exportdir/domains/$domain/$username: $!";
-
-  vpopmail_sync( $exportdir, $machine, $dir, $uid, $gid, $restart );
-}
-
-sub vpopmail_sync {
-  my( $exportdir, $machine, $dir, $uid, $gid, $restart ) = splice @_,0,6;
-  
-  chdir $exportdir;
-#  my @args = ( $rsync, "-rlpt", "-e", $ssh, "domains/",
-#               "vpopmail\@$machine:$dir/domains/"  );
-#  system {$args[0]} @args;
-
-  eval "use File::Rsync;";
-  die $@ if $@;
-
-  my $rsync = File::Rsync->new({ rsh => 'ssh' });
-
-  $rsync->exec( {
-    recursive => 1,
-    perms     => 1,
-    times     => 1,
-    src       => "$exportdir/domains/",
-    dest      => "vpopmail\@$machine:$dir/domains/",
-  } ); # true/false return value from exec is not working, alas
-  if ( $rsync->err ) {
-    die "error uploading to vpopmail\@$machine:$dir/domains/ : ".
-        'exit status: '. $rsync->status. ', '.
-        'STDERR: '. join(" / ", $rsync->err). ', '.
-        'STDOUT: '. join(" / ", $rsync->out);
-  }
-
-  eval "use Net::SSH qw(ssh);";
-  die $@ if $@;
-
-  ssh("vpopmail\@$machine", $restart) if $restart;
-}
-
-1;
-
diff --git a/FS/FS/part_export/www_shellcommands.pm b/FS/FS/part_export/www_shellcommands.pm
deleted file mode 100644 (file)
index 9d3564e..0000000
+++ /dev/null
@@ -1,167 +0,0 @@
-package FS::part_export::www_shellcommands;
-
-use strict;
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'user' => { label=>'Remote username', default=>'root' },
-  'useradd' => { label=>'Insert command',
-                 default=>'mkdir $homedir/$zone; chown $username $homedir/$zone; ln -s $homedir/$zone /var/www/$zone',
-               },
-  'userdel'  => { label=>'Delete command',
-                  default=>'[ -n "$zone" ] && rm -rf /var/www/$zone; rm -rf $homedir/$zone',
-                },
-  'usermod'  => { label=>'Modify command',
-                  default=>'[ -n "$old_zone" ] && rm /var/www/$old_zone; [ "$old_zone" != "$new_zone" -a -n "$new_zone" ] && ( mv $old_homedir/$old_zone $new_homedir/$new_zone; ln -sf $new_homedir/$new_zone /var/www/$new_zone ); [ "$old_username" != "$new_username" ] && chown -R $new_username $new_homedir/$new_zone; ln -sf $new_homedir/$new_zone /var/www/$new_zone',
-                },
-;
-
-%info = (
-  'svc'     => 'svc_www',
-  'desc'    => 'Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)',
-  'options' => \%options,
-  'notes'   => <<'END'
-Run remote commands via SSH, for virtual web sites.  You will need to
-<a href="../docs/ssh.html">setup SSH for unattended operation</a>.
-<BR><BR>Use these buttons for some useful presets:
-<UL>
-  <LI>
-    <INPUT TYPE="button" VALUE="Maintain directories" onClick='
-      this.form.user.value = "root";
-      this.form.useradd.value = "mkdir $homedir/$zone; chown $username $homedir/$zone; ln -s $homedir/$zone /var/www/$zone";
-      this.form.userdel.value = "[ -n \"$zone\" ] && rm -rf /var/www/$zone; rm -rf $homedir/$zone";
-      this.form.usermod.value = "[ -n \"$old_zone\" ] && rm /var/www/$old_zone; [ \"$old_zone\" != \"$new_zone\" -a -n \"$new_zone\" ] && ( mv $old_homedir/$old_zone $new_homedir/$new_zone; ln -sf $new_homedir/$new_zone /var/www/$new_zone ); [ \"$old_username\" != \"$new_username\" ] && chown -R $new_username $new_homedir/$new_zone; ln -sf $new_homedir/$new_zone /var/www/$new_zone";
-    '>
-  <LI>
-    <INPUT TYPE="button" VALUE="FrontPage extensions" onClick='
-      this.form.user.value = "root";
-      this.form.useradd.value = "/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -p 80 -m $zone -xu $username -xg www-data -s /etc/apache/httpd.conf -u $username -pw $_password";
-      this.form.userdel.value = "/usr/local/frontpage/version5.0/bin/owsadm.exe -o uninstall -p 80 -m $zone -s /etc/apache/httpd.conf";
-      this.form.usermod.value = "";
-    '>
-  <LI>
-    <INPUT TYPE="button" VALUE="ISPMan CLI" onClick='
-      this.form.user.value = "root";
-      this.form.useradd.value = "/usr/local/ispman/bin/ispman.addvhost -d $domain $bare_zone";
-      this.form.userdel.value = "/usr/local/ispman/bin/ispman.deletevhost -d $domain $bare_zone";
-      this.form.usermod.value = "";
-    '></UL>
-The following variables are available for interpolation (prefixed with
-<code>new_</code> or <code>old_</code> for replace operations):
-<UL>
-  <LI><code>$zone</code> - fully-qualified zone of this virtual host
-  <LI><code>$bare_zone</code> - just the zone of this virtual host, without the domain portion
-  <LI><code>$domain</code> - base domain
-  <LI><code>$username</code>
-  <LI><code>$homedir</code>
-  <LI>All other fields in <a href="../docs/schema.html#svc_www">svc_www</a>
-    are also available.
-</UL>
-END
-);
-
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self) = shift;
-  $self->_export_command('useradd', @_);
-}
-
-sub _export_delete {
-  my($self) = shift;
-  $self->_export_command('userdel', @_);
-}
-
-sub _export_command {
-  my ( $self, $action, $svc_www) = (shift, shift, shift);
-  my $command = $self->option($action);
-  return '' if $command =~ /^\s*$/;
-
-  #set variable for the command
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${$_} = $svc_www->getfield($_) foreach $svc_www->fields;
-  }
-  my $domain_record = $svc_www->domain_record; # or die ?
-  my $zone = $domain_record->zone; # or die ?
-  my $domain = $domain_record->svc_domain->domain;
-  ( my $bare_zone = $zone ) =~ s/\.$domain$//;
-  my $svc_acct = $svc_www->svc_acct; # or die ?
-  my $username = $svc_acct->username;
-  my $_password = $svc_acct->_password;
-  my $homedir = $svc_acct->dir; # or die ?
-
-  #done setting variables for the command
-
-  $self->shellcommands_queue( $svc_www->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-  );
-}
-
-sub _export_replace {
-  my($self, $new, $old ) = (shift, shift, shift);
-  my $command = $self->option('usermod');
-  
-  #set variable for the command
-  no strict 'vars';
-  {
-    no strict 'refs';
-    ${"old_$_"} = $old->getfield($_) foreach $old->fields;
-    ${"new_$_"} = $new->getfield($_) foreach $new->fields;
-  }
-  my $old_domain_record = $old->domain_record; # or die ?
-  my $old_zone = $old_domain_record->zone; # or die ?
-  my $old_domain = $old_domain_record->svc_domain->domain;
-  ( my $old_bare_zone = $old_zone ) =~ s/\.$old_domain$//;
-  my $old_svc_acct = $old->svc_acct; # or die ?
-  my $old_username = $old_svc_acct->username;
-  my $old_homedir = $old_svc_acct->dir; # or die ?
-
-  my $new_domain_record = $new->domain_record; # or die ?
-  my $new_zone = $new_domain_record->zone; # or die ?
-  my $new_domain = $new_domain_record->svc_domain->domain;
-  ( my $new_bare_zone = $new_zone ) =~ s/\.$new_domain$//;
-  my $new_svc_acct = $new->svc_acct; # or die ?
-  my $new_username = $new_svc_acct->username;
-  #my $new__password = $new_svc_acct->_password;
-  my $new_homedir = $new_svc_acct->dir; # or die ?
-
-  #done setting variables for the command
-
-  $self->shellcommands_queue( $new->svcnum,
-    user         => $self->option('user')||'root',
-    host         => $self->machine,
-    command      => eval(qq("$command")),
-  );
-}
-
-#a good idea to queue anything that could fail or take any time
-sub shellcommands_queue {
-  my( $self, $svcnum ) = (shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::www_shellcommands::ssh_cmd",
-  };
-  $queue->insert( @_ );
-}
-
-sub ssh_cmd { #subroutine, not method
-  use Net::SSH '0.08';
-  &Net::SSH::ssh_cmd( { @_ } );
-}
-
-#sub shellcommands_insert { #subroutine, not method
-#}
-#sub shellcommands_replace { #subroutine, not method
-#}
-#sub shellcommands_delete { #subroutine, not method
-#}
-
diff --git a/FS/FS/part_export_option.pm b/FS/FS/part_export_option.pm
deleted file mode 100644 (file)
index e759404..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-package FS::part_export_option;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::part_export;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::part_export_option - Object methods for part_export_option records
-
-=head1 SYNOPSIS
-
-  use FS::part_export_option;
-
-  $record = new FS::part_export_option \%hash;
-  $record = new FS::part_export_option { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_export_option object represents an export option.
-FS::part_export_option inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item optionnum - primary key
-
-=item exportnum - export (see L<FS::part_export>)
-
-=item optionname - option name
-
-=item optionvalue - option value
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new export option.  To add the export option to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'part_export_option'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid export option.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('optionnum')
-    || $self->ut_foreign_key('exportnum', 'part_export', 'exportnum')
-    || $self->ut_alpha('optionname')
-    || $self->ut_anything('optionvalue')
-  ;
-  return $error if $error;
-
-  return "Unknown exportnum: ". $self->exportnum
-    unless qsearchs('part_export', { 'exportnum' => $self->exportnum } );
-
-  #check options & values?
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-Possibly.
-
-=head1 SEE ALSO
-
-L<FS::part_export>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_pkg.pm b/FS/FS/part_pkg.pm
deleted file mode 100644 (file)
index 73f3bae..0000000
+++ /dev/null
@@ -1,775 +0,0 @@
-package FS::part_pkg;
-
-use strict;
-use vars qw( @ISA %freq %plans $DEBUG );
-use Carp qw(carp cluck confess);
-use Tie::IxHash;
-use FS::Conf;
-use FS::Record qw( qsearch qsearchs dbh dbdef );
-use FS::pkg_svc;
-use FS::part_svc;
-use FS::cust_pkg;
-use FS::agent_type;
-use FS::type_pkgs;
-use FS::part_pkg_option;
-
-@ISA = qw( FS::Record ); # FS::option_Common ); # this can use option_Common
-                                                # when all the plandata bs is
-                                                # gone
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::part_pkg - Object methods for part_pkg objects
-
-=head1 SYNOPSIS
-
-  use FS::part_pkg;
-
-  $record = new FS::part_pkg \%hash
-  $record = new FS::part_pkg { 'column' => 'value' };
-
-  $custom_record = $template_record->clone;
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  @pkg_svc = $record->pkg_svc;
-
-  $svcnum = $record->svcpart;
-  $svcnum = $record->svcpart( 'svc_acct' );
-
-=head1 DESCRIPTION
-
-An FS::part_pkg object represents a package definition.  FS::part_pkg
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item pkgpart - primary key (assigned automatically for new package definitions)
-
-=item pkg - Text name of this package definition (customer-viewable)
-
-=item comment - Text name of this package definition (non-customer-viewable)
-
-=item promo_code - Promotional code
-
-=item setup - Setup fee expression (deprecated)
-
-=item freq - Frequency of recurring fee
-
-=item recur - Recurring fee expression (deprecated)
-
-=item setuptax - Setup fee tax exempt flag, empty or `Y'
-
-=item recurtax - Recurring fee tax exempt flag, empty or `Y'
-
-=item taxclass - Tax class 
-
-=item plan - Price plan
-
-=item plandata - Price plan data (deprecated - see L<FS::part_pkg_option> instead)
-
-=item disabled - Disabled flag, empty or `Y'
-
-=back
-
-=head1 METHODS
-
-=over 4 
-
-=item new HASHREF
-
-Creates a new package definition.  To add the package definition to
-the database, see L<"insert">.
-
-=cut
-
-sub table { 'part_pkg'; }
-
-=item clone
-
-An alternate constructor.  Creates a new package definition by duplicating
-an existing definition.  A new pkgpart is assigned and `(CUSTOM) ' is prepended
-to the comment field.  To add the package definition to the database, see
-L<"insert">.
-
-=cut
-
-sub clone {
-  my $self = shift;
-  my $class = ref($self);
-  my %hash = $self->hash;
-  $hash{'pkgpart'} = '';
-  $hash{'comment'} = "(CUSTOM) ". $hash{'comment'}
-    unless $hash{'comment'} =~ /^\(CUSTOM\) /;
-  #new FS::part_pkg ( \%hash ); # ?
-  new $class ( \%hash ); # ?
-}
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this package definition to the database.  If there is an error,
-returns the error, otherwise returns false.
-
-Currently available options are: I<pkg_svc>, I<primary_svc>, I<cust_pkg>, 
-I<custnum_ref> and I<options>.
-
-If I<pkg_svc> is set to a hashref with svcparts as keys and quantities as
-values, appropriate FS::pkg_svc records will be inserted.
-
-If I<primary_svc> is set to the svcpart of the primary service, the appropriate
-FS::pkg_svc record will be updated.
-
-If I<cust_pkg> is set to a pkgnum of a FS::cust_pkg record (or the FS::cust_pkg
-record itself), the object will be updated to point to this package definition.
-
-In conjunction with I<cust_pkg>, if I<custnum_ref> is set to a scalar reference,
-the scalar will be updated with the custnum value from the cust_pkg record.
-
-If I<options> is set to a hashref of options, appropriate FS::part_pkg_option
-records will be inserted.
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my %options = @_;
-  warn "FS::part_pkg::insert called on $self with options ".
-       join(', ', map "$_=>$options{$_}", keys %options)
-    if $DEBUG;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  warn "  saving legacy plandata" if $DEBUG;
-  my $plandata = $self->get('plandata');
-  $self->set('plandata', '');
-
-  warn "  inserting part_pkg record" if $DEBUG;
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $plandata ) {
-
-    warn "  inserting part_pkg_option records for plandata" if $DEBUG;
-    foreach my $part_pkg_option ( 
-      map { /^(\w+)=(.*)$/ or do { $dbh->rollback if $oldAutoCommit;
-                                   return "illegal plandata: $plandata";
-                                 };
-            new FS::part_pkg_option {
-              'pkgpart'     => $self->pkgpart,
-              'optionname'  => $1,
-              'optionvalue' => $2,
-            };
-          }
-      split("\n", $plandata)
-    ) {
-      my $error = $part_pkg_option->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-
-  } elsif ( $options{'options'} ) {
-
-    warn "  inserting part_pkg_option records for options hashref" if $DEBUG;
-    foreach my $optionname ( keys %{$options{'options'}} ) {
-
-      my $part_pkg_option =
-        new FS::part_pkg_option {
-          'pkgpart'     => $self->pkgpart,
-          'optionname'  => $optionname,
-          'optionvalue' => $options{'options'}->{$optionname},
-        };
-
-      my $error = $part_pkg_option->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-
-    }
-
-  }
-
-  my $conf = new FS::Conf;
-  if ( $conf->exists('agent_defaultpkg') ) {
-    warn "  agent_defaultpkg set; allowing all agents to purchase package"
-      if $DEBUG;
-    foreach my $agent_type ( qsearch('agent_type', {} ) ) {
-      my $type_pkgs = new FS::type_pkgs({
-        'typenum' => $agent_type->typenum,
-        'pkgpart' => $self->pkgpart,
-      });
-      my $error = $type_pkgs->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  warn "  inserting pkg_svc records" if $DEBUG;
-  my $pkg_svc = $options{'pkg_svc'} || {};
-  foreach my $part_svc ( qsearch('part_svc', {} ) ) {
-    my $quantity = $pkg_svc->{$part_svc->svcpart} || 0;
-    my $primary_svc =
-      ( $options{'primary_svc'} && $options{'primary_svc'}==$part_svc->svcpart )
-        ? 'Y'
-        : '';
-
-    my $pkg_svc = new FS::pkg_svc( {
-      'pkgpart'     => $self->pkgpart,
-      'svcpart'     => $part_svc->svcpart,
-      'quantity'    => $quantity, 
-      'primary_svc' => $primary_svc,
-    } );
-    my $error = $pkg_svc->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  if ( $options{'cust_pkg'} ) {
-    warn "  updating cust_pkg record " if $DEBUG;
-    my $old_cust_pkg =
-      ref($options{'cust_pkg'})
-        ? $options{'cust_pkg'}
-        : qsearchs('cust_pkg', { pkgnum => $options{'cust_pkg'} } );
-    ${ $options{'custnum_ref'} } = $old_cust_pkg->custnum
-      if $options{'custnum_ref'};
-    my %hash = $old_cust_pkg->hash;
-    $hash{'pkgpart'} = $self->pkgpart,
-    my $new_cust_pkg = new FS::cust_pkg \%hash;
-    local($FS::cust_pkg::disable_agentcheck) = 1;
-    my $error = $new_cust_pkg->replace($old_cust_pkg);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Error modifying cust_pkg record: $error";
-    }
-  }
-
-  warn "  commiting transaction" if $DEBUG;
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-=item delete
-
-Currently unimplemented.
-
-=cut
-
-sub delete {
-  return "Can't (yet?) delete package definitions.";
-# check & make sure the pkgpart isn't in cust_pkg or type_pkgs?
-}
-
-=item replace OLD_RECORD [ , OPTION => VALUE ... ]
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-Currently available options are: I<pkg_svc> and I<primary_svc>
-
-If I<pkg_svc> is set to a hashref with svcparts as keys and quantities as
-values, the appropriate FS::pkg_svc records will be replace.
-
-If I<primary_svc> is set to the svcpart of the primary service, the appropriate
-FS::pkg_svc record will be updated.
-
-=cut
-
-sub replace {
-  my( $new, $old ) = ( shift, shift );
-  my %options = @_;
-  warn "FS::part_pkg::replace called on $new to replace $old ".
-       "with options %options"
-    if $DEBUG;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  warn "  saving legacy plandata" if $DEBUG;
-  my $plandata = $new->get('plandata');
-  $new->set('plandata', '');
-
-  warn "  deleting old part_pkg_option records" if $DEBUG;
-  foreach my $part_pkg_option ( $old->part_pkg_option ) {
-    my $error = $part_pkg_option->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  warn "  replacing part_pkg record" if $DEBUG;
-  my $error = $new->SUPER::replace($old);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  warn "  inserting part_pkg_option records for plandata" if $DEBUG;
-  foreach my $part_pkg_option ( 
-    map { /^(\w+)=(.*)$/ or do { $dbh->rollback if $oldAutoCommit;
-                                 return "illegal plandata: $plandata";
-                               };
-          new FS::part_pkg_option {
-            'pkgpart'     => $new->pkgpart,
-            'optionname'  => $1,
-            'optionvalue' => $2,
-          };
-        }
-    split("\n", $plandata)
-  ) {
-    my $error = $part_pkg_option->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  warn "  replacing pkg_svc records" if $DEBUG;
-  my $pkg_svc = $options{'pkg_svc'} || {};
-  foreach my $part_svc ( qsearch('part_svc', {} ) ) {
-    my $quantity = $pkg_svc->{$part_svc->svcpart} || 0;
-    my $primary_svc = $options{'primary_svc'} == $part_svc->svcpart ? 'Y' : '';
-
-    my $old_pkg_svc = qsearchs('pkg_svc', {
-      'pkgpart' => $old->pkgpart,
-      'svcpart' => $part_svc->svcpart,
-    } );
-    my $old_quantity = $old_pkg_svc ? $old_pkg_svc->quantity : 0;
-    my $old_primary_svc =
-      ( $old_pkg_svc && $old_pkg_svc->dbdef_table->column('primary_svc') )
-        ? $old_pkg_svc->primary_svc
-        : '';
-    next unless $old_quantity != $quantity || $old_primary_svc ne $primary_svc;
-  
-    my $new_pkg_svc = new FS::pkg_svc( {
-      'pkgsvcnum'   => ( $old_pkg_svc ? $old_pkg_svc->pkgsvcnum : '' ),
-      'pkgpart'     => $new->pkgpart,
-      'svcpart'     => $part_svc->svcpart,
-      'quantity'    => $quantity, 
-      'primary_svc' => $primary_svc,
-    } );
-    my $error = $old_pkg_svc
-                  ? $new_pkg_svc->replace($old_pkg_svc)
-                  : $new_pkg_svc->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  warn "  commiting transaction" if $DEBUG;
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-}
-
-=item check
-
-Checks all fields to make sure this is a valid package definition.  If
-there is an error, returns the error, otherwise returns false.  Called by the
-insert and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-  warn "FS::part_pkg::check called on $self" if $DEBUG;
-
-  for (qw(setup recur plandata)) {
-    #$self->set($_=>0) if $self->get($_) =~ /^\s*$/; }
-    return "Use of $_ field is deprecated; set a plan and options"
-      if length($self->get($_));
-    $self->set($_, '');
-  }
-
-  if ( $self->dbdef_table->column('freq')->type =~ /(int)/i ) {
-    my $error = $self->ut_number('freq');
-    return $error if $error;
-  } else {
-    $self->freq =~ /^(\d+[hdw]?)$/
-      or return "Illegal or empty freq: ". $self->freq;
-    $self->freq($1);
-  }
-
-  my $error = $self->ut_numbern('pkgpart')
-    || $self->ut_text('pkg')
-    || $self->ut_text('comment')
-    || $self->ut_textn('promo_code')
-    || $self->ut_alphan('plan')
-    || $self->ut_enum('setuptax', [ '', 'Y' ] )
-    || $self->ut_enum('recurtax', [ '', 'Y' ] )
-    || $self->ut_textn('taxclass')
-    || $self->ut_enum('disabled', [ '', 'Y' ] )
-    || $self->SUPER::check
-  ;
-  return $error if $error;
-
-  return 'Unknown plan '. $self->plan
-    unless exists($plans{$self->plan});
-
-  my $conf = new FS::Conf;
-  return 'Taxclass is required'
-    if ! $self->taxclass && $conf->exists('require_taxclasses');
-
-  '';
-}
-
-=item pkg_svc
-
-Returns all FS::pkg_svc objects (see L<FS::pkg_svc>) for this package
-definition (with non-zero quantity).
-
-=cut
-
-sub pkg_svc {
-  my $self = shift;
-  #sort { $b->primary cmp $a->primary } 
-    grep { $_->quantity }
-      qsearch( 'pkg_svc', { 'pkgpart' => $self->pkgpart } );
-}
-
-=item svcpart [ SVCDB ]
-
-Returns the svcpart of the primary service definition (see L<FS::part_svc>)
-associated with this package definition (see L<FS::pkg_svc>).  Returns
-false if there not a primary service definition or exactly one service
-definition with quantity 1, or if SVCDB is specified and does not match the
-svcdb of the service definition, 
-
-=cut
-
-sub svcpart {
-  my $self = shift;
-  my $svcdb = scalar(@_) ? shift : '';
-  my @svcdb_pkg_svc =
-    grep { ( $svcdb eq $_->part_svc->svcdb || !$svcdb ) } $self->pkg_svc;
-  my @pkg_svc = ();
-  @pkg_svc = grep { $_->primary_svc =~ /^Y/i } @svcdb_pkg_svc
-    if dbdef->table('pkg_svc')->column('primary_svc');
-  @pkg_svc = grep {$_->quantity == 1 } @svcdb_pkg_svc
-    unless @pkg_svc;
-  return '' if scalar(@pkg_svc) != 1;
-  $pkg_svc[0]->svcpart;
-}
-
-=item payby
-
-Returns a list of the acceptable payment types for this package.  Eventually
-this should come out of a database table and be editable, but currently has the
-following logic instead:
-
-If the package is free, the single item B<BILL> is
-returned, otherwise, the single item B<CARD> is returned.
-
-(CHEK?  LEC?  Probably shouldn't accept those by default, prone to abuse)
-
-=cut
-
-sub payby {
-  my $self = shift;
-  if ( $self->is_free ) {
-    ( 'BILL' );
-  } else {
-    ( 'CARD' );
-  }
-}
-
-=item is_free
-
-Returns true if this package is free.  
-
-=cut
-
-sub is_free {
-  my $self = shift;
-  unless ( $self->plan ) {
-    $self->setup =~ /^\s*0+(\.0*)?\s*$/
-      && $self->recur =~ /^\s*0+(\.0*)?\s*$/;
-  } elsif ( $self->can('is_free_options') ) {
-    not grep { $_ !~ /^\s*0*(\.0*)?\s*$/ }
-         map { $self->option($_) } 
-             $self->is_free_options;
-  } else {
-    warn "FS::part_pkg::is_free: FS::part_pkg::". $self->plan. " subclass ".
-         "provides neither is_free_options nor is_free method; returning false";
-    0;
-  }
-}
-
-=item freq_pretty
-
-Returns an english representation of the I<freq> field, such as "monthly",
-"weekly", "semi-annually", etc.
-
-=cut
-
-tie %freq, 'Tie::IxHash', 
-  '0'  => '(no recurring fee)',
-  '1h' => 'hourly',
-  '1d' => 'daily',
-  '1w' => 'weekly',
-  '2w' => 'biweekly (every 2 weeks)',
-  '1'  => 'monthly',
-  '2'  => 'bimonthly (every 2 months)',
-  '3'  => 'quarterly (every 3 months)',
-  '6'  => 'semiannually (every 6 months)',
-  '12' => 'annually',
-  '24' => 'biannually (every 2 years)',
-  '36' => 'triannually (every 3 years)',
-  '48' => '(every 4 years)',
-  '60' => '(every 5 years)',
-  '120' => '(every 10 years)',
-;
-
-sub freq_pretty {
-  my $self = shift;
-  my $freq = $self->freq;
-  if ( exists($freq{$freq}) ) {
-    $freq{$freq};
-  } else {
-    my $interval = 'month';
-    if ( $freq =~ /^(\d+)([hdw])$/ ) {
-      my %interval = ( 'h' => 'hour', 'd'=>'day', 'w'=>'week' );
-      $interval = $interval{$2};
-    }
-    if ( $1 == 1 ) {
-      "every $interval";
-    } else {
-      "every $freq ${interval}s";
-    }
-  }
-}
-
-=item plandata
-
-For backwards compatibility, returns the plandata field as well as all options
-from FS::part_pkg_option.
-
-=cut
-
-sub plandata {
-  my $self = shift;
-  carp "plandata is deprecated";
-  if ( @_ ) {
-    $self->SUPER::plandata(@_);
-  } else {
-    my $plandata = $self->get('plandata');
-    my %options = $self->options;
-    $plandata .= join('', map { "$_=$options{$_}\n" } keys %options );
-    $plandata;
-  }
-}
-
-=item part_pkg_option
-
-Returns all options as FS::part_pkg_option objects (see
-L<FS::part_pkg_option>).
-
-=cut
-
-sub part_pkg_option {
-  my $self = shift;
-  qsearch('part_pkg_option', { 'pkgpart' => $self->pkgpart } );
-}
-
-=item options 
-
-Returns a list of option names and values suitable for assigning to a hash.
-
-=cut
-
-sub options {
-  my $self = shift;
-  map { $_->optionname => $_->optionvalue } $self->part_pkg_option;
-}
-
-=item option OPTIONNAME
-
-Returns the option value for the given name, or the empty string.
-
-=cut
-
-sub option {
-  my( $self, $opt, $ornull ) = @_;
-  my $part_pkg_option =
-    qsearchs('part_pkg_option', {
-      pkgpart    => $self->pkgpart,
-      optionname => $opt,
-  } );
-  return $part_pkg_option->optionvalue if $part_pkg_option;
-  my %plandata = map { /^(\w+)=(.*)$/; ( $1 => $2 ); }
-                     split("\n", $self->get('plandata') );
-  return $plandata{$opt} if exists $plandata{$opt};
-  cluck "Package definition option $opt not found in options or plandata!\n"
-    unless $ornull;
-  '';
-}
-
-=item _rebless
-
-Reblesses the object into the FS::part_pkg::PLAN class (if available), where
-PLAN is the object's I<plan> field.  There should be better docs
-on how to create new price plans, but until then, see L</NEW PLAN CLASSES>.
-
-=cut
-
-sub _rebless {
-  my $self = shift;
-  my $plan = $self->plan;
-  unless ( $plan ) {
-    confess "no price plan found for pkgpart ". $self->pkgpart. "\n"
-      if $DEBUG;
-    return $self;
-  }
-  return $self if ref($self) =~ /::$plan$/; #already blessed into plan subclass
-  my $class = ref($self). "::$plan";
-  warn "reblessing $self into $class" if $DEBUG;
-  eval "use $class;";
-  die $@ if $@;
-  bless($self, $class) unless $@;
-  $self;
-}
-
-#fallbacks that eval the setup and recur fields, for backwards compat
-
-sub calc_setup {
-  my $self = shift;
-  warn 'no price plan class for '. $self->plan. ", eval-ing setup\n";
-  $self->_calc_eval('setup', @_);
-}
-
-sub calc_recur {
-  my $self = shift;
-  warn 'no price plan class for '. $self->plan. ", eval-ing recur\n";
-  $self->_calc_eval('recur', @_);
-}
-
-use vars qw( $sdate @details );
-sub _calc_eval {
-  #my( $self, $field, $cust_pkg ) = @_;
-  my( $self, $field, $cust_pkg, $sdateref, $detailsref ) = @_;
-  *sdate = $sdateref;
-  *details = $detailsref;
-  $self->$field() =~ /^(.*)$/
-    or die "Illegal $field (pkgpart ". $self->pkgpart. '): '.
-            $self->$field(). "\n";
-  my $prog = $1;
-  return 0 if $prog =~ /^\s*$/;
-  my $value = eval $prog;
-  die $@ if $@;
-  $value;
-}
-
-#fallback that return 0 for old legacy packages with no plan
-
-sub calc_remain { 0; }
-sub calc_cancel { 0; }
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item plan_info
-
-=cut
-
-my %info;
-foreach my $INC ( @INC ) {
-  warn "globbing $INC/FS/part_pkg/*.pm\n" if $DEBUG;
-  foreach my $file ( glob("$INC/FS/part_pkg/*.pm") ) {
-    warn "attempting to load plan info from $file\n" if $DEBUG;
-    $file =~ /\/(\w+)\.pm$/ or do {
-      warn "unrecognized file in $INC/FS/part_pkg/: $file\n";
-      next;
-    };
-    my $mod = $1;
-    my $info = eval "use FS::part_pkg::$mod; ".
-                    "\\%FS::part_pkg::$mod\::info;";
-    if ( $@ ) {
-      die "error using FS::part_pkg::$mod (skipping): $@\n" if $@;
-      next;
-    }
-    unless ( keys %$info ) {
-      warn "no %info hash found in FS::part_pkg::$mod, skipping\n"
-        unless $mod =~ /^(passwdfile|null)$/; #hack but what the heck
-      next;
-    }
-    warn "got plan info from FS::part_pkg::$mod: $info\n" if $DEBUG;
-    if ( exists($info->{'disabled'}) && $info->{'disabled'} ) {
-      warn "skipping disabled plan FS::part_pkg::$mod" if $DEBUG;
-      next;
-    }
-    $info{$mod} = $info;
-  }
-}
-
-tie %plans, 'Tie::IxHash',
-  map { $_ => $info{$_} }
-  sort { $info{$a}->{'weight'} <=> $info{$b}->{'weight'} }
-  keys %info;
-
-sub plan_info {
-  \%plans;
-}
-
-=back
-
-=head1 NEW PLAN CLASSES
-
-A module should be added in FS/FS/part_pkg/ (an example may be found in
-eg/plan_template.pm)
-
-=head1 BUGS
-
-The delete method is unimplemented.
-
-setup and recur semantics are not yet defined (and are implemented in
-FS::cust_bill.  hmm.).
-
-plandata should go
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_pkg>, L<FS::type_pkgs>, L<FS::pkg_svc>, L<Safe>.
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_pkg/flat.pm b/FS/FS/part_pkg/flat.pm
deleted file mode 100644 (file)
index 59b6257..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-package FS::part_pkg::flat;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch);
-use FS::part_pkg;
-
-@ISA = qw(FS::part_pkg);
-
-%info = (
-  'name' => 'Flat rate (anniversary billing)',
-  'fields' => {
-    'setup_fee'     => { 'name' => 'Setup fee for this package',
-                         'default' => 0,
-                       },
-    'recur_fee'     => { 'name' => 'Recurring fee for this package',
-                         'default' => 0,
-                       },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_fee', 'unused_credit' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => 'what.recur_fee.value',
-  'weight' => 10,
-);
-
-sub calc_setup {
-  my($self, $cust_pkg ) = @_;
-  $self->option('setup_fee');
-}
-
-sub calc_recur {
-  my $self = shift;
-  $self->base_recur(@_);
-}
-
-sub base_recur {
-  my($self, $cust_pkg) = @_;
-  $self->option('recur_fee');
-}
-
-sub calc_remain {
-  my ($self, $cust_pkg) = @_;
-  my $time = time;  #should be able to pass this in for credit calculation
-  my $next_bill = $cust_pkg->getfield('bill') || 0;
-  my $last_bill = $cust_pkg->last_bill || 0;
-  return 0 if    ! $self->base_recur
-              || ! $self->option('unused_credit', 1)
-              || ! $last_bill
-              || ! $next_bill
-              || $next_bill < $time;
-
-  my %sec = (
-    'h' =>    3600, # 60 * 60
-    'd' =>   86400, # 60 * 60 * 24
-    'w' =>  604800, # 60 * 60 * 24 * 7
-    'm' => 2629744, # 60 * 60 * 24 * 365.2422 / 12 
-  );
-
-  $self->freq =~ /^(\d+)([hdwm]?)$/
-    or die 'unparsable frequency: '. $self->freq;
-  my $freq_sec = $1 * $sec{$2||'m'};
-  return 0 unless $freq_sec;
-
-  sprintf("%.2f", $self->base_recur * ( $next_bill - $time ) / $freq_sec );
-
-}
-
-sub is_free_options {
-  qw( setup_fee recur_fee );
-}
-
-sub is_prepaid {
-  0; #no, we're postpaid
-}
-
-1;
diff --git a/FS/FS/part_pkg/flat_comission.pm b/FS/FS/part_pkg/flat_comission.pm
deleted file mode 100644 (file)
index 442415e..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-package FS::part_pkg::flat_comission;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Flat rate with recurring commission per (any) active package',
-  'fields' => {
-    'setup_fee'     => { 'name' => 'Setup fee for this package',
-                         'default' => 0,
-                       },
-    'recur_fee'     => { 'name' => 'Recurring fee for this package',
-                         'default' => 0,
-                       },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'comission_amount' => { 'name' => 'Commission amount per month (per active package)',
-                            'default' => 0,
-                          },
-    'comission_depth'  => { 'name' => 'Number of layers',
-                            'default' => 1,
-                          },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_fee', 'unused_credit', 'comission_depth', 'comission_amount' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '\'my $error = $cust_pkg->cust_main->credit( \' + what.comission_amount.value + \' * scalar($cust_pkg->cust_main->referral_cust_pkg(\' + what.comission_depth.value+ \')), "commission" ); die $error if $error; \' + what.recur_fee.value + \';\'',
-  'weight' => 62,
-);
-
-sub calc_recur {
-  my($self, $cust_pkg ) = @_;
-
-  my $amount = $self->option('comission_amount');
-  my $num_active = scalar(
-    $cust_pkg->cust_main->referral_cust_pkg( $self->option('comission_depth') )
-  );
-
-  my $error = $cust_pkg->cust_main->credit( $amount*$num_active, "commission" );
-  die $error if $error;
-
-  $self->option('recur_fee');
-}
-
-1;
diff --git a/FS/FS/part_pkg/flat_comission_cust.pm b/FS/FS/part_pkg/flat_comission_cust.pm
deleted file mode 100644 (file)
index 4abe66a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-package FS::part_pkg::flat_comission_cust;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Flat rate with recurring commission per active customer',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_fee' => { 'name' => 'Recurring fee for this package',
-                     'default' => 0,
-                   },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'comission_amount' => { 'name' => 'Commission amount per month (per active customer)',
-                            'default' => 0,
-                          },
-    'comission_depth'  => { 'name' => 'Number of layers',
-                            'default' => 1,
-                          },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_fee', 'unused_credit', 'comission_depth', 'comission_amount' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '\'my $error = $cust_pkg->cust_main->credit( \' + what.comission_amount.value + \' * scalar($cust_pkg->cust_main->referral_cust_main_ncancelled(\' + what.comission_depth.value+ \')), "commission" ); die $error if $error; \' + what.recur_fee.value + \';\'',
-  'weight' => '60',
-);
-
-sub calc_recur {
-  my($self, $cust_pkg ) = @_;
-
-  my $amount = $self->option('comission_amount');
-  my $num_active = scalar(
-    $cust_pkg->cust_main->referral_cust_main_ncancelled(
-      $self->option('comission_depth')
-    )
-  );
-
-  if ( $amount && $num_active ) {
-    my $error =
-      $cust_pkg->cust_main->credit( $amount*$num_active, "commission" );
-    die $error if $error;
-  }
-
-  $self->option('recur_fee');
-}
-
-1;
diff --git a/FS/FS/part_pkg/flat_comission_pkg.pm b/FS/FS/part_pkg/flat_comission_pkg.pm
deleted file mode 100644 (file)
index 0f4d02a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-package FS::part_pkg::flat_comission_pkg;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Flat rate with recurring commission per (selected) active package',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_fee' => { 'name' => 'Recurring fee for this package',
-                     'default' => 0,
-                   },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'comission_amount' => { 'name' => 'Commission amount per month (per uncancelled package)',
-                            'default' => 0,
-                          },
-    'comission_depth'  => { 'name' => 'Number of layers',
-                            'default' => 1,
-                          },
-    'comission_pkgpart' => { 'name' => 'Applicable packages<BR><FONT SIZE="-1">(hold <b>ctrl</b> to select multiple packages)</FONT>',
-                             'type' => 'select_multiple',
-                             'select_table' => 'part_pkg',
-                             'select_hash'  => { 'disabled' => '' } ,
-                             'select_key'   => 'pkgpart',
-                             'select_label' => 'pkg',
-                           },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_fee', 'unused_credit', 'comission_depth', 'comission_amount', 'comission_pkgpart' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '""; var pkgparts = ""; for ( var c=0; c < document.flat_comission_pkg.comission_pkgpart.options.length; c++ ) { if (document.flat_comission_pkg.comission_pkgpart.options[c].selected) { pkgparts = pkgparts + document.flat_comission_pkg.comission_pkgpart.options[c].value + \', \'; } } what.recur.value = \'my $error = $cust_pkg->cust_main->credit( \' + what.comission_amount.value + \' * scalar( grep { my $pkgpart = $_->pkgpart; grep { $_ == $pkgpart } ( \' + pkgparts + \'  ) } $cust_pkg->cust_main->referral_cust_pkg(\' + what.comission_depth.value+ \')), "commission" ); die $error if $error; \' + what.recur_fee.value + \';\'',
-  #'disabled' => 1,
-  'weight' => '64',
-);
-
-# XXX this needs to be fixed!!!
-sub calc_recur {
-  my($self, $cust_pkg ) = @_;
-  $self->option('recur_fee');
-}
-
-1;
diff --git a/FS/FS/part_pkg/flat_delayed.pm b/FS/FS/part_pkg/flat_delayed.pm
deleted file mode 100644 (file)
index ec11699..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-package FS::part_pkg::flat_delayed;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Free (or setup fee) for X days, then flat rate'.
-            ' (anniversary billing)',
-  'fields' =>  {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'free_days' => { 'name' => 'Initial free days',
-                     'default' => 0,
-                   },
-    'recur_fee' => { 'name' => 'Recurring fee for this package',
-                     'default' => 0,
-                    },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-  },
-  'fieldorder' => [ 'free_days', 'setup_fee', 'recur_fee', 'unused_credit' ],
-  #'setup' => '\'my $d = $cust_pkg->bill || $time; $d += 86400 * \' + what.free_days.value + \'; $cust_pkg->bill($d); $cust_pkg_mod_flag=1; \' + what.setup_fee.value',
-  #'recur' => 'what.recur_fee.value',
-  'weight' => 50,
-);
-
-sub calc_setup {
-  my($self, $cust_pkg, $time ) = @_;
-
-  my $d = $cust_pkg->bill || $time;
-  $d += 86400 * $self->option('free_days');
-  $cust_pkg->bill($d);
-  
-  $self->option('setup_fee');
-}
-
-1;
diff --git a/FS/FS/part_pkg/prepaid.pm b/FS/FS/part_pkg/prepaid.pm
deleted file mode 100644 (file)
index 5e7d2ba..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package FS::part_pkg::prepaid;
-
-use strict;
-use vars qw(@ISA %info);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Prepaid, flat rate',
-  'fields' => {
-    'setup_fee' => { 'name' => 'One-time setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_fee' => { 'name' => 'Initial and recharge fee for this package',
-                     'default' => 0,
-                   }
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_fee', ],
-  'weight' => 25,
-);
-
-sub is_prepaid {
-  1;
-}
-
-1;
-
diff --git a/FS/FS/part_pkg/prorate.pm b/FS/FS/part_pkg/prorate.pm
deleted file mode 100644 (file)
index 86c64d5..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-package FS::part_pkg::prorate;
-
-use strict;
-use vars qw(@ISA %info);
-use Time::Local qw(timelocal);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'First partial month pro-rated, then flat-rate (1st of month billing)',
-  'fields' =>  {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_fee' => { 'name' => 'Recurring fee for this package',
-                     'default' => 0,
-                    },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_fee', 'unused_credit' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '\'my $mnow = $sdate; my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($sdate) )[0,1,2,3,4,5]; my $mstart = timelocal(0,0,0,1,$mon,$year); my $mend = timelocal(0,0,0,1, $mon == 11 ? 0 : $mon+1, $year+($mon==11)); $sdate = $mstart; ( $part_pkg->freq - 1 ) * \' + what.recur_fee.value + \' / $part_pkg->freq + \' + what.recur_fee.value + \' / $part_pkg->freq * ($mend-$mnow) / ($mend-$mstart) ; \'',
-  'freq' => 'm',
-  'weight' => 20,
-);
-
-sub calc_recur {
-  my($self, $cust_pkg, $sdate ) = @_;
-  my $mnow = $$sdate;
-  my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($mnow) )[0,1,2,3,4,5];
-  my $mstart = timelocal(0,0,0,1,$mon,$year);
-  my $mend = timelocal(0,0,0,1, $mon == 11 ? 0 : $mon+1, $year+($mon==11));
-  $$sdate = $mstart;
-
-  my $permonth = $self->option('recur_fee') / $self->freq;
-
-  $permonth * ( ( $self->freq - 1 ) + ($mend-$mnow) / ($mend-$mstart) );
-}
-
-1;
diff --git a/FS/FS/part_pkg/sesmon_hour.pm b/FS/FS/part_pkg/sesmon_hour.pm
deleted file mode 100644 (file)
index 9843edb..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-package FS::part_pkg::sesmon_hour;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Base charge plus charge per-hour from the session monitor',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_flat' => { 'name' => 'Base recurring fee for this package',
-                      'default' => 0,
-                    },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'recur_included_hours' => { 'name' => 'Hours included',
-                                'default' => 0,
-                              },
-    'recur_hourly_charge' => { 'name' => 'Additional charge per hour',
-                               'default' => 0,
-                             },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_flat', 'unused_credit', 'recur_included_hours', 'recur_hourly_charge' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '\'my $hours = $cust_pkg->seconds_since($cust_pkg->bill || 0) / 3600 - \' + what.recur_included_hours.value + \'; $hours = 0 if $hours < 0; \' + what.recur_flat.value + \' + \' + what.recur_hourly_charge.value + \' * $hours;\'',
-  'weight' => 80,
-);
-
-sub calc_recur {
-  my($self, $cust_pkg ) = @_;
-
-  my $hours = $cust_pkg->seconds_since($cust_pkg->bill || 0) / 3600;
-  $hours -= $self->option('recur_included_hours');
-  $hours = 0 if $hours < 0;
-
-  $self->option('recur_flat') + $hours * $self->option('recur_hourly_charge');
-
-}
-
-sub is_free_options {
-  qw( setup_fee recur_fee recur_hourly_charge );
-}
-
-sub base_recur {
-  my($self, $cust_pkg) = @_;
-  $self->option('recur_flat');
-}
-
-1;
diff --git a/FS/FS/part_pkg/sesmon_minute.pm b/FS/FS/part_pkg/sesmon_minute.pm
deleted file mode 100644 (file)
index 39516f8..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-package FS::part_pkg::sesmon_minute;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Base charge plus charge per-minute from the session monitor',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_flat' => { 'name' => 'Base recurring fee for this package',
-                      'default' => 0,
-                    },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'recur_included_min' => { 'name' => 'Minutes included',
-                              'default' => 0,
-                              },
-    'recur_minly_charge' => { 'name' => 'Additional charge per minute',
-                              'default' => 0,
-                            },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_flat', 'unused_credit', 'recur_included_min', 'recur_minly_charge' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '\'my $min = $cust_pkg->seconds_since($cust_pkg->bill || 0) / 60 - \' + what.recur_included_min.value + \'; $min = 0 if $min < 0; \' + what.recur_flat.value + \' + \' + what.recur_minly_charge.value + \' * $min;\'',
-  'weight' => 80,
-);
-
-
-sub calc_recur {
-  my( $self, $cust_pkg ) = @);
-  my $min = $cust_pkg->seconds_since($cust_pkg->bill || 0) / 60;
-  $min -= $self->option('recur_included_min');
-  $min = 0 if $min < 0;
-
-  $self->option('recur_flat') + $min * $self->option('recur_minly_charge');
-}
-
-sub is_free_options {
-  qw( setup_fee recur_fee recur_minly_charge );
-}
-
-sub base_recur {
-  my($self, $cust_pkg) = @_;
-  $self->option('recur_flat');
-}
-
-1;
diff --git a/FS/FS/part_pkg/sql_external.pm b/FS/FS/part_pkg/sql_external.pm
deleted file mode 100644 (file)
index ca58c4e..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-package FS::part_pkg::sql_external;
-
-use strict;
-use vars qw(@ISA %info);
-use DBI;
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Base charge plus additional fees for external services from a configurable SQL query',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_flat' => { 'name' => 'Base recurring fee for this package',
-                      'default' => 0,
-                    },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'datasrc' => { 'name' => 'DBI data source',
-                   'default' => '',
-                 },
-    'db_username' => { 'name' => 'Database username',
-                       'default' => '',
-                     },
-    'db_password' => { 'name' => 'Database password',
-                       'default' => '',
-                     },
-    'query' => { 'name' => 'SQL query',
-                 'default' => '',
-               },
-  },
-  'fieldorder' => [qw( setup_fee recur_flat unused_credit datasrc db_username db_password query )],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => q!'my $dbh = DBI->connect("' + what.datasrc.value + '", "' + what.db_username.value + '", "' + what.db_password.value + '" ) or die $DBI::errstr; my $sth = $dbh->prepare("' + what.query.value + '") or die $dbh->errstr; my $price = ' + what.recur_flat.value + '; foreach my $cust_svc ( grep { $_->part_svc->svcdb eq "svc_external" } $cust_pkg->cust_svc ){ my $id = $cust_svc->svc_x->id; $sth->execute($id) or die $sth->errstr; $price += $sth->fetchrow_arrayref->[0]; } $price;'!,
-  'weight' => '72',
-);
-
-sub calc_recur {
-  my($self, $cust_pkg ) = @_;
-
-  my $dbh = DBI->connect( map { $self->option($_) }
-                              qw( datasrc db_username db_password )
-                        )
-    or die $DBI::errstr;
-
-  my $sth = $dbh->prepare( $self->option('query') )
-    or die $dbh->errstr;
-
-  my $price = $self->option('recur_flat');
-
-  foreach my $cust_svc (
-    grep { $_->part_svc->svcdb eq "svc_external" } $cust_pkg->cust_svc
-  ) {
-    my $id = $cust_svc->svc_x->id;
-    $sth->execute($id) or die $sth->errstr;
-    $price += $sth->fetchrow_arrayref->[0];
-  }
-
-  $price;
-}
-
-sub is_free {
-  0;
-}
-
-sub base_recur {
-  my($self, $cust_pkg) = @_;
-  $self->option('recur_flat');
-}
-
-1;
diff --git a/FS/FS/part_pkg/sql_generic.pm b/FS/FS/part_pkg/sql_generic.pm
deleted file mode 100644 (file)
index 0e6ab7c..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-package FS::part_pkg::sql_generic;
-
-use strict;
-use vars qw(@ISA %info);
-use DBI;
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Base charge plus a per-domain metered rate from a configurable SQL query',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_flat' => { 'name' => 'Base recurring fee for this package',
-                      'default' => 0,
-                    },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'recur_included' => { 'name' => 'Units included',
-                          'default' => 0,
-                        },
-    'recur_unit_charge' => { 'name' => 'Additional charge per unit',
-                             'default' => 0,
-                           },
-    'datasrc' => { 'name' => 'DBI data source',
-                   'default' => '',
-                 },
-    'db_username' => { 'name' => 'Database username',
-                       'default' => '',
-                     },
-    'db_password' => { 'name' => 'Database username',
-                       'default' => '',
-                     },
-    'query' => { 'name' => 'SQL query',
-                 'default' => '',
-               },
-  },
-  'fieldorder' => [qw( setup_fee recur_flat unused_credit recur_included recur_unit_charge datasrc db_username db_password query )],
- # 'setup' => 'what.setup_fee.value',
- # 'recur' => '\'my $dbh = DBI->connect(\"\' + what.datasrc.value + \'\", \"\' + what.db_username.value + \'\") or die $DBI::errstr; \'',
- #'recur' => '\'my $dbh = DBI->connect(\"\' + what.datasrc.value + \'\", \"\' + what.db_username.value + \'\", \"\' + what.db_password.value + \'\" ) or die $DBI::errstr; my $sth = $dbh->prepare(\"\' + what.query.value + \'\") or die $dbh->errstr; my $units = 0; foreach my $cust_svc ( grep { $_->part_svc->svcdb eq \"svc_domain\" } $cust_pkg->cust_svc ) { my $domain = $cust_svc->svc_x->domain; $sth->execute($domain) or die $sth->errstr; $units += $sth->fetchrow_arrayref->[0]; } $units -= \' + what.recur_included.value + \'; $units = 0 if $units < 0; \' + what.recur_flat.value + \' + $units * \' + what.recur_unit_charge.value + \';\'',
-  #'recur' => '\'my $dbh = DBI->connect("\' + what.datasrc.value + \'", "\' + what.db_username.value + \'", "\' what.db_password.value + \'" ) or die $DBI::errstr; my $sth = $dbh->prepare("\' + what.query.value + \'") or die $dbh->errstr; my $units = 0; foreach my $cust_svc ( grep { $_->part_svc->svcdb eq "svc_domain" } $cust_pkg->cust_svc ) { my $domain = $cust_svc->svc_x->domain; $sth->execute($domain) or die $sth->errstr; $units += $sth->fetchrow_arrayref->[0]; } $units -= \' + what.recur_included.value + \'; $units = 0 if $units < 0; \' + what.recur_flat.value + \' + $units * \' + what.recur_unit_charge + \';\'',
-  'weight' => '70',
-);
-
-sub calc_recur {
-  my($self, $cust_pkg ) = @_;
-
-  my $dbh = DBI->connect( map { $self->option($_) }
-                              qw( datasrc db_username db_password )
-                        )
-    or die $DBI::errstr;
-
-  my $sth = $dbh->prepare( $self->option('query') )
-    or die $dbh->errstr;
-
-  my $units = 0;
-  foreach my $cust_svc (
-    grep { $_->part_svc->svcdb eq "svc_domain" } $cust_pkg->cust_svc
-  ) {
-    my $domain = $cust_svc->svc_x->domain;
-    $sth->execute($domain) or die $sth->errstr;
-
-    $units += $sth->fetchrow_arrayref->[0];
-  }
-
-  $units -= $self->option('recur_included');
-  $units = 0 if $units < 0;
-
-  $self->option('recur_flat') + $units * $self->option('recur_unit_charge');
-}
-
-sub is_free_options {
-  qw( setup_fee recur_flat recur_unit_charge );
-}
-
-sub base_recur {
-  my($self, $cust_pkg) = @_;
-  $self->option('recur_flat');
-}
-
-1;
diff --git a/FS/FS/part_pkg/sqlradacct_hour.pm b/FS/FS/part_pkg/sqlradacct_hour.pm
deleted file mode 100644 (file)
index e54a8a5..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-package FS::part_pkg::sqlradacct_hour;
-
-use strict;
-use vars qw(@ISA %info);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'Base charge plus per-hour (and for data) from an SQL RADIUS radacct table',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_flat' => { 'name' => 'Base recurring fee for this package',
-                      'default' => 0,
-                    },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-
-    'recur_included_hours' => { 'name' => 'Hours included',
-                                'default' => 0,
-                              },
-    'recur_hourly_charge' => { 'name' => 'Additional charge per hour',
-                               'default' => 0,
-                             },
-    'recur_hourly_cap'    => { 'name' => 'Maximum overage charge for hours'.
-                                         ' (0 means no cap)',
-
-                               'default' => 0,
-                             },
-
-    'recur_included_input' => { 'name' => 'Upload megabytes included',
-                                'default' => 0,
-                              },
-    'recur_input_charge' => { 'name' =>
-                                      'Additional charge per megabyte upload',
-                              'default' => 0,
-                            },
-    'recur_input_cap'    => { 'name' => 'Maximum overage charge for upload'.
-                                         ' (0 means no cap)',
-                               'default' => 0,
-                             },
-
-    'recur_included_output' => { 'name' => 'Download megabytes included',
-                                 'default' => 0,
-                              },
-    'recur_output_charge' => { 'name' =>
-                                     'Additional charge per megabyte download',
-                              'default' => 0,
-                            },
-    'recur_output_cap'    => { 'name' => 'Maximum overage charge for download'.
-                                         ' (0 means no cap)',
-                               'default' => 0,
-                             },
-
-    'recur_included_total' => { 'name' =>
-                                     'Total megabytes included',
-                                'default' => 0,
-                              },
-    'recur_total_charge' => { 'name' =>
-                               'Additional charge per megabyte total',
-                              'default' => 0,
-                            },
-    'recur_total_cap'    => { 'name' => 'Maximum overage charge for total'.
-                                        ' megabytes (0 means no cap)',
-                               'default' => 0,
-                             },
-
-    'global_cap'         => { 'name' => 'Global cap on all overage charges'.
-                                        ' (0 means no cap)',
-                              'default' => 0,
-                            },
-
-  },
-  'fieldorder' => [qw( setup_fee recur_flat unused_credit recur_included_hours recur_hourly_charge recur_hourly_cap recur_included_input recur_input_charge recur_input_cap recur_included_output recur_output_charge recur_output_cap recur_included_total recur_total_charge recur_total_cap global_cap )],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '\'my $last_bill = $cust_pkg->last_bill; my $hours = $cust_pkg->seconds_since_sqlradacct($last_bill, $sdate ) / 3600 - \' + what.recur_included_hours.value + \'; $hours = 0 if $hours < 0; my $input = $cust_pkg->attribute_since_sqlradacct($last_bill, $sdate, \"AcctInputOctets\" ) / 1048576; my $output = $cust_pkg->attribute_since_sqlradacct($last_bill, $sdate, \"AcctOutputOctets\" ) / 1048576; my $total = $input + $output - \' + what.recur_included_total.value + \'; $total = 0 if $total < 0; my $input = $input - \' + what.recur_included_input.value + \'; $input = 0 if $input < 0; my $output = $output - \' + what.recur_included_output.value + \'; $output = 0 if $output < 0; my $totalcharge = sprintf(\"%.2f\", \' + what.recur_total_charge.value + \' * $total); my $inputcharge = sprintf(\"%.2f\", \' + what.recur_input_charge.value + \' * $input); my $outputcharge = sprintf(\"%.2f\", \' + what.recur_output_charge.value + \' * $output); my $hourscharge = sprintf(\"%.2f\", \' + what.recur_hourly_charge.value + \' * $hours); if ( \' + what.recur_total_charge.value + \' > 0 ) { push @details, \"Last month\\\'s data \". sprintf(\"%.1f\", $total). \" megs: \\\$$totalcharge\" } if ( \' + what.recur_input_charge.value + \' > 0 ) { push @details, \"Last month\\\'s download \". sprintf(\"%.1f\", $input). \" megs: \\\$$inputcharge\" } if ( \' + what.recur_output_charge.value + \' > 0 ) { push @details, \"Last month\\\'s upload \". sprintf(\"%.1f\", $output). \" megs: \\\$$outputcharge\" } if ( \' + what.recur_hourly_charge.value + \' > 0 ) { push @details, \"Last month\\\'s time \". sprintf(\"%.1f\", $hours). \" hours: \\\$$hourscharge\"; } \' + what.recur_flat.value + \' + $hourscharge + $inputcharge + $outputcharge + $totalcharge ;\'',
-  'weight' => 40,
-);
-
-sub calc_recur {
-  my($self, $cust_pkg, $sdate, $details ) = @_;
-
-  my $last_bill = $cust_pkg->last_bill;
-  my $hours = $cust_pkg->seconds_since_sqlradacct($last_bill, $$sdate ) / 3600;
-  $hours -= $self->option('recur_included_hours');
-  $hours = 0 if $hours < 0;
-
-  my $input = $cust_pkg->attribute_since_sqlradacct(  $last_bill,
-                                                      $$sdate,
-                                                      'AcctInputOctets' )
-              / 1048576;
-
-  my $output = $cust_pkg->attribute_since_sqlradacct( $last_bill,
-                                                      $$sdate,
-                                                      'AcctOutputOctets' )
-               / 1048576;
-
-  my $total = $input + $output - $self->option('recur_included_total');
-  $total = 0 if $total < 0;
-  $input = $input - $self->option('recur_included_input');
-  $input = 0 if $input < 0;
-  $output = $output - $self->option('recur_included_output');
-  $output = 0 if $output < 0;
-
-  my $totalcharge =
-    $total  * sprintf('%.2f', $self->option('recur_total_charge'));
-  $totalcharge = $self->option('recur_total_cap')
-    if $self->option('recur_total_cap')
-    && $totalcharge > $self->option('recur_total_cap');
-
-  my $inputcharge =
-    $input  * sprintf('%.2f', $self->option('recur_input_charge'));
-  $inputcharge = $self->option('recur_input_cap')
-    if $self->option('recur_input_cap')
-    && $inputcharge > $self->option('recur_input_cap');
-
-  my $outputcharge = 
-    $output * sprintf('%.2f', $self->option('recur_output_charge'));
-  $outputcharge = $self->option('recur_output_cap')
-    if $self->option('recur_output_cap')
-    && $outputcharge > $self->option('recur_output_cap');
-
-  my $hourscharge =
-    $hours * sprintf('%.2f', $self->option('recur_hourly_charge'));
-  $hourscharge = $self->option('recur_hours_cap')
-    if $self->option('recur_hours_cap')
-    && $hourscharge > $self->option('recur_hours_cap');
-
-  if ( $self->option('recur_total_charge') > 0 ) {
-    push @$details, "Last month's data ".
-                    sprintf('%.1f', $total). " megs: $totalcharge";
-  }
-  if ( $self->option('recur_input_charge') > 0 ) {
-    push @$details, "Last month's download ".
-                   sprintf('%.1f', $input). " megs: $inputcharge";
-  }
-  if ( $self->option('recur_output_charge') > 0 ) {
-    push @$details, "Last month's upload ".
-                   sprintf('%.1f', $output). " megs: $outputcharge";
-  }
-  if ( $self->option('recur_hourly_charge')  > 0 ) {
-    push @$details, "Last month\'s time ".
-                   sprintf('%.1f', $hours). " hours: $hourscharge";
-  }
-
-  my $charges = $hourscharge + $inputcharge + $outputcharge + $totalcharge;
-  if ( $self->option('global_cap') && $charges > $self->option('global_cap') ) {
-    $charges = $self->option('global_cap');
-    push @$details, "Usage charges capped at: $charges";
-  }
-
-  $self->option('recur_flat') + $charges;
-}
-
-sub is_free_options {
-  qw( setup_fee recur_flat recur_hourly_charge
-      recur_input_charge recur_output_charge recur_total_charge );
-}
-
-sub base_recur {
-  my($self, $cust_pkg) = @_;
-  $self->option('recur_flat');
-}
-
-1;
diff --git a/FS/FS/part_pkg/subscription.pm b/FS/FS/part_pkg/subscription.pm
deleted file mode 100644 (file)
index 36b5a96..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package FS::part_pkg::subscription;
-
-use strict;
-use vars qw(@ISA %info);
-use Time::Local qw(timelocal);
-#use FS::Record qw(qsearch qsearchs);
-use FS::part_pkg::flat;
-
-@ISA = qw(FS::part_pkg::flat);
-
-%info = (
-  'name' => 'First partial month full charge, then flat-rate (1st of month billing)',
-  'fields' => {
-    'setup_fee' => { 'name' => 'Setup fee for this package',
-                     'default' => 0,
-                   },
-    'recur_fee' => { 'name' => 'Recurring fee for this package',
-                     'default' => 0,
-                   },
-  },
-  'fieldorder' => [ 'setup_fee', 'recur_fee' ],
-  #'setup' => 'what.setup_fee.value',
-  #'recur' => '\'my $mnow = $sdate; my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($sdate) )[0,1,2,3,4,5]; $sdate = timelocal(0,0,0,1,$mon,$year); \' + what.recur_fee.value',
-  'freq' => 'm',
-  'weight' => 30,
-);
-
-sub calc_recur {
-  my($self, $cust_pkg, $sdate ) = @_;
-
-  my $mnow = $$sdate;
-  my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($mnow) )[0,1,2,3,4,5];
-  $$sdate = timelocal(0,0,0,1,$mon,$year);
-
-  $self->option('recur_fee');
-}
-
-1;
diff --git a/FS/FS/part_pkg/voip_sqlradacct.pm b/FS/FS/part_pkg/voip_sqlradacct.pm
deleted file mode 100644 (file)
index fd9c1dd..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-package FS::part_pkg::voip_sqlradacct;
-
-use strict;
-use vars qw(@ISA $DEBUG %info);
-use Date::Format;
-use FS::Record qw(qsearchs qsearch);
-use FS::part_pkg::flat;
-#use FS::rate;
-use FS::rate_prefix;
-
-@ISA = qw(FS::part_pkg::flat);
-
-$DEBUG = 1;
-
-%info = (
-  'name' => 'VoIP rating by plan of CDR records in an SQL RADIUS radacct table',
-  'fields' => {
-    'setup_fee'     => { 'name' => 'Setup fee for this package',
-                         'default' => 0,
-                       },
-    'recur_flat'     => { 'name' => 'Base recurring fee for this package',
-                          'default' => 0,
-                        },
-    'unused_credit' => { 'name' => 'Credit the customer for the unused portion'.
-                                   ' of service at cancellation',
-                         'type' => 'checkbox',
-                       },
-    'ratenum'   => { 'name' => 'Rate plan',
-                     'type' => 'select',
-                     'select_table' => 'rate',
-                     'select_key'   => 'ratenum',
-                     'select_label' => 'ratename',
-                   },
-  },
-  'fieldorder' => [qw( setup_fee recur_flat unused_credit ratenum ignore_unrateable )],
-  'weight' => 40,
-);
-
-sub calc_setup {
-  my($self, $cust_pkg ) = @_;
-  $self->option('setup_fee');
-}
-
-sub calc_recur {
-  my($self, $cust_pkg, $sdate, $details ) = @_;
-
-  my $last_bill = $cust_pkg->last_bill;
-
-  my $ratenum = $cust_pkg->part_pkg->option('ratenum');
-
-  my %included_min = ();
-
-  my $charges = 0;
-
-  foreach my $cust_svc (
-    grep { $_->part_svc->svcdb eq 'svc_acct' } $cust_pkg->cust_svc
-  ) {
-
-    foreach my $session (
-      $cust_svc->get_session_history( $last_bill, $$sdate )
-    ) {
-      if ( $DEBUG > 1 ) {
-        warn "rating session $session\n".
-             join('', map { "  $_ => ". $session->{$_}. "\n" } keys %$session );
-      }
-
-      ###
-      # look up rate details based on called station id
-      ###
-
-      my $dest = $session->{'calledstationid'};
-
-      #remove non-phone# stuff and whitespace
-      $dest =~ s/\s//g;
-      my $proto = '';
-      $dest =~ s/^(\w+):// and $proto = $1; #sip:
-      my $siphost = '';
-      $dest =~ s/\@(.*)$// and $siphost = $1; # @10.54.32.1, @sip.example.com
-
-      #determine the country code
-      my $countrycode;
-      if ( $dest =~ /^011(((\d)(\d))(\d))(\d+)$/ ) {
-
-        my( $three, $two, $one, $u1, $u2, $rest ) = ( $1, $2, $3, $4, $5, $6 );
-        #first look for 1 digit country code
-        if ( qsearch('rate_prefix', { 'countrycode' => $one } ) ) {
-          $countrycode = $one;
-          $dest = $u1.$u2.$rest;
-        } elsif ( qsearch('rate_prefix', { 'countrycode' => $two } ) ) { #or 2
-          $countrycode = $two;
-          $dest = $u2.$rest;
-        } else { #3 digit country code
-          $countrycode = $three;
-          $dest = $rest;
-        }
-
-      } else {
-        $countrycode = '1';
-        $dest =~ s/^1//;# if length($dest) > 10;
-      }
-
-      warn "rating call to +$countrycode $dest\n" if $DEBUG;
-
-      #find a rate prefix, first look at most specific (4 digits) then 3, etc.,
-      # finally trying the country code only
-      my $rate_prefix = '';
-      for my $len ( reverse(1..6) ) {
-        $rate_prefix = qsearchs('rate_prefix', {
-          'countrycode' => $countrycode,
-          #'npa'         => { op=> 'LIKE', value=> substr($dest, 0, $len) }
-          'npa'         => substr($dest, 0, $len),
-        } ) and last;
-      }
-      $rate_prefix ||= qsearchs('rate_prefix', {
-        'countrycode' => $countrycode,
-        'npa'         => '',
-      });
-
-      die "Can't find rate for call to +$countrycode $dest\n"
-        unless $rate_prefix;
-
-      my $regionnum = $rate_prefix->regionnum;
-      my $rate_detail = qsearchs('rate_detail', {
-        'ratenum'        => $ratenum,
-        'dest_regionnum' => $regionnum,
-      } );
-
-      warn "  found rate for regionnum $regionnum ".
-           "and rate detail $rate_detail\n"
-        if $DEBUG;
-
-      ###
-      # find the price and add detail to the invoice
-      ###
-
-      $included_min{$regionnum} = $rate_detail->min_included
-        unless exists $included_min{$regionnum};
-
-      my $granularity = $rate_detail->sec_granularity;
-      my $seconds = $session->{'acctsessiontime'};
-      $seconds += $granularity - ( $seconds % $granularity );
-      my $minutes = sprintf("%.1f", $seconds / 60);
-      $minutes =~ s/\.0$// if $granularity == 60;
-
-      $included_min{$regionnum} -= $minutes;
-
-      my $charge = 0;
-      if ( $included_min{$regionnum} < 0 ) {
-        my $charge_min = 0 - $included_min{$regionnum};
-        $included_min{$regionnum} = 0;
-        $charge = sprintf('%.2f', $rate_detail->min_charge * $charge_min );
-        $charges += $charge;
-      }
-
-      my $rate_region = $rate_prefix->rate_region;
-      warn "  (rate region $rate_region)\n" if $DEBUG;
-
-      my @call_details = (
-        #time2str("%Y %b %d - %r", $session->{'acctstarttime'}),
-        time2str("%c", $session->{'acctstarttime'}),
-        $minutes.'m',
-        '$'.$charge,
-        "+$countrycode $dest",
-        $rate_region->regionname,
-      );
-
-      warn "  adding details on charge to invoice: ".
-           join(' - ', @call_details )
-        if $DEBUG;
-
-      push @$details, join(' - ', @call_details); #\@call_details,
-
-    } # $session
-
-  } # $cust_svc
-
-  $self->option('recur_flat') + $charges;
-
-}
-
-sub is_free {
-  0;
-}
-
-sub base_recur {
-  my($self, $cust_pkg) = @_;
-  $self->option('recur_flat');
-}
-
-1;
-
diff --git a/FS/FS/part_pkg_option.pm b/FS/FS/part_pkg_option.pm
deleted file mode 100644 (file)
index c2f609e..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-package FS::part_pkg_option;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::part_pkg;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::part_pkg_option - Object methods for part_pkg_option records
-
-=head1 SYNOPSIS
-
-  use FS::part_pkg_option;
-
-  $record = new FS::part_pkg_option \%hash;
-  $record = new FS::part_pkg_option { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_pkg_option object represents an package definition option.
-FS::part_pkg_option inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item optionnum - primary key
-
-=item pkgpart - package definition (see L<FS::part_pkg>)
-
-=item optionname - option name
-
-=item optionvalue - option value
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new package definition option.  To add the package definition option
-to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'part_pkg_option'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid package definition option.  If
-there is an error, returns the error, otherwise returns false.  Called by the
-insert and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('optionnum')
-    || $self->ut_foreign_key('pkgpart', 'part_pkg', 'pkgpart')
-    || $self->ut_alpha('optionname')
-    || $self->ut_anything('optionvalue')
-  ;
-  return $error if $error;
-
-  #check options & values?
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-Possibly.
-
-=head1 SEE ALSO
-
-L<FS::part_pkg>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_pop_local.pm b/FS/FS/part_pop_local.pm
deleted file mode 100644 (file)
index 01c59df..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-package FS::part_pop_local;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record; # qw( qsearchs );
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::part_pop_local - Object methods for part_pop_local records
-
-=head1 SYNOPSIS
-
-  use FS::part_pop_local;
-
-  $record = new FS::part_pop_local \%hash;
-  $record = new FS::part_pop_local { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_pop_local object represents a local call area.  Each
-FS::part_pop_local record maps a NPA/NXX (area code and exchange) to the POP
-(see L<FS::svc_acct_pop>) which is a local call.  FS::part_pop_local inherits
-from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item localnum - primary key (assigned automatically for new accounts)
-
-=item popnum - see L<FS::svc_acct_pop>
-
-=item city
-
-=item state
-
-=item npa - area code
-
-=item nxx - exchange
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new point of presence (if only it were that easy!).  To add the 
-point of presence to the database, see L<"insert">.
-
-=cut
-
-sub table { 'part_pop_local'; }
-
-=item insert
-
-Adds this point of presence to the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item delete
-
-Removes this point of presence from the database.
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid point of presence.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-    $self->ut_numbern('localnum')
-      or $self->ut_numbern('popnum')
-      or $self->ut_text('city')
-      or $self->ut_text('state')
-      or $self->ut_number('npa')
-      or $self->ut_number('nxx')
-      or $self->SUPER::check
-  ;
-
-}
-
-=back
-
-=head1 BUGS
-
-US/CA-centric.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::svc_acct_pop>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_referral.pm b/FS/FS/part_referral.pm
deleted file mode 100644 (file)
index c0858c0..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-package FS::part_referral;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::part_referral - Object methods for part_referral objects
-
-=head1 SYNOPSIS
-
-  use FS::part_referral;
-
-  $record = new FS::part_referral \%hash
-  $record = new FS::part_referral { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_referral represents a advertising source - where a customer heard
-of your services.  This can be used to track the effectiveness of a particular
-piece of advertising, for example.  FS::part_referral inherits from FS::Record.
-The following fields are currently supported:
-
-=over 4
-
-=item refnum - primary key (assigned automatically for new referrals)
-
-=item referral - Text name of this advertising source
-
-=item disabled - Disabled flag, empty or 'Y'
-
-=back
-
-=head1 NOTE
-
-These were called B<referrals> before version 1.4.0 - the name was changed
-so as not to be confused with the new customer-to-customer referrals.
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new advertising source.  To add the referral to the database, see
-L<"insert">.
-
-=cut
-
-sub table { 'part_referral'; }
-
-=item insert
-
-Adds this advertising source to the database.  If there is an error, returns
-the error, otherwise returns false.
-
-=item delete
-
-Currently unimplemented.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  return "Can't (yet?) delete part_referral records";
-  #need to make sure no customers have this referral!
-}
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid advertising source.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert and
-replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = $self->ut_numbern('refnum')
-    || $self->ut_text('referral')
-  ;
-  return $error if $error;
-
-  if ( $self->dbdef_table->column('disabled') ) {
-    $error = $self->ut_enum('disabled', [ '', 'Y' ] );
-    return $error if $error;
-  }
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-The delete method is unimplemented.
-
-`Advertising source'.  Yes, it's a sucky name.  The only other ones I could
-come up with were "Marketing channel" and "Heard Abouts" and those are
-definately both worse.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_main>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm
deleted file mode 100644 (file)
index 1a478a9..0000000
+++ /dev/null
@@ -1,649 +0,0 @@
-package FS::part_svc;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use FS::Record qw( qsearch qsearchs fields dbh );
-use FS::Schema qw( dbdef );
-use FS::part_svc_column;
-use FS::part_export;
-use FS::export_svc;
-use FS::cust_svc;
-
-@ISA = qw(FS::Record);
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::part_svc - Object methods for part_svc objects
-
-=head1 SYNOPSIS
-
-  use FS::part_svc;
-
-  $record = new FS::part_svc \%hash
-  $record = new FS::part_svc { 'column' => 'value' };
-
-  $error = $record->insert;
-  $error = $record->insert( [ 'pseudofield' ] );
-  $error = $record->insert( [ 'pseudofield' ], \%exportnums );
-
-  $error = $new_record->replace($old_record);
-  $error = $new_record->replace($old_record, '1.3-COMPAT', [ 'pseudofield' ] );
-  $error = $new_record->replace($old_record, '1.3-COMPAT', [ 'pseudofield' ], \%exportnums );
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_svc represents a service definition.  FS::part_svc inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item svcpart - primary key (assigned automatically for new service definitions)
-
-=item svc - text name of this service definition
-
-=item svcdb - table used for this service.  See L<FS::svc_acct>,
-L<FS::svc_domain>, and L<FS::svc_forward>, among others.
-
-=item disabled - Disabled flag, empty or `Y'
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new service definition.  To add the service definition to the
-database, see L<"insert">.
-
-=cut
-
-sub table { 'part_svc'; }
-
-=item insert [ EXTRA_FIELDS_ARRAYREF [ , EXPORTNUMS_HASHREF [ , JOB ] ] ] 
-
-Adds this service definition to the database.  If there is an error, returns
-the error, otherwise returns false.
-
-The following pseudo-fields may be defined, and will be maintained in
-the part_svc_column table appropriately (see L<FS::part_svc_column>).
-
-=over 4
-
-=item I<svcdb>__I<field> - Default or fixed value for I<field> in I<svcdb>.
-
-=item I<svcdb>__I<field>_flag - defines I<svcdb>__I<field> action: null, `D' for default, or `F' for fixed.  For virtual fields, can also be 'X' for excluded.
-
-=back
-
-If you want to add part_svc_column records for fields that do not exist as
-(real or virtual) fields in the I<svcdb> table, make sure to list then in 
-EXTRA_FIELDS_ARRAYREF also.
-
-If EXPORTNUMS_HASHREF is specified (keys are exportnums and values are
-boolean), the appopriate export_svc records will be inserted.
-
-TODOC: JOB
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my @fields = ();
-  my @exportnums = ();
-  @fields = @{shift(@_)} if @_;
-  if ( @_ ) {
-    my $exportnums = shift;
-    @exportnums = grep $exportnums->{$_}, keys %$exportnums;
-  }
-  my $job = '';
-  $job = shift if @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  # add part_svc_column records
-
-  my $svcdb = $self->svcdb;
-#  my @rows = map { /^${svcdb}__(.*)$/; $1 }
-#    grep ! /_flag$/,
-#      grep /^${svcdb}__/,
-#        fields('part_svc');
-  foreach my $field (
-    grep { $_ ne 'svcnum'
-           && defined( $self->getfield($svcdb.'__'.$_.'_flag') )
-         } (fields($svcdb), @fields)
-  ) {
-    my $part_svc_column = $self->part_svc_column($field);
-    my $previous = qsearchs('part_svc_column', {
-      'svcpart'    => $self->svcpart,
-      'columnname' => $field,
-    } );
-
-    my $flag = $self->getfield($svcdb.'__'.$field.'_flag');
-    if ( uc($flag) =~ /^([DFX])$/ ) {
-      $part_svc_column->setfield('columnflag', $1);
-      $part_svc_column->setfield('columnvalue',
-        $self->getfield($svcdb.'__'.$field)
-      );
-      if ( $previous ) {
-        $error = $part_svc_column->replace($previous);
-      } else {
-        $error = $part_svc_column->insert;
-      }
-    } else {
-      $error = $previous ? $previous->delete : '';
-    }
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-
-  }
-
-  # add export_svc records
-  my $slice = 100/scalar(@exportnums) if @exportnums;
-  my $done = 0;
-  foreach my $exportnum ( @exportnums ) {
-    my $export_svc = new FS::export_svc ( {
-      'exportnum' => $exportnum,
-      'svcpart'   => $self->svcpart,
-    } );
-    $error = $export_svc->insert($job, $slice*$done++, $slice);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-=item delete
-
-Currently unimplemented.  Set the "disabled" field instead.
-
-=cut
-
-sub delete {
-  return "Can't (yet?) delete service definitions.";
-# check & make sure the svcpart isn't in cust_svc or pkg_svc (in any packages)?
-}
-
-=item replace OLD_RECORD [ '1.3-COMPAT' [ , EXTRA_FIELDS_ARRAYREF [ , EXPORTNUMS_HASHREF [ , JOB ] ] ] ]
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-TODOC: 1.3-COMPAT
-
-TODOC: EXTRA_FIELDS_ARRAYREF (same as insert method)
-
-TODOC: JOB
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-  my $compat = '';
-  my @fields = ();
-  my $exportnums;
-  my $job = '';
-  if ( @_ && $_[0] eq '1.3-COMPAT' ) {
-    shift;
-    $compat = '1.3';
-    @fields = @{shift(@_)} if @_;
-    $exportnums = @_ ? shift : '';
-    $job = shift if @_;
-  } else {
-    return 'non-1.3-COMPAT interface not yet written';
-    #not yet implemented
-  }
-
-  return "Can't change svcdb for an existing service definition!"
-    unless $old->svcdb eq $new->svcdb;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $new->SUPER::replace( $old );
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $compat eq '1.3' ) {
-
-   # maintain part_svc_column records
-
-    my $svcdb = $new->svcdb;
-    foreach my $field (
-      grep { $_ ne 'svcnum'
-             && defined( $new->getfield($svcdb.'__'.$_.'_flag') )
-           } (fields($svcdb),@fields)
-    ) {
-      my $part_svc_column = $new->part_svc_column($field);
-      my $previous = qsearchs('part_svc_column', {
-        'svcpart'    => $new->svcpart,
-        'columnname' => $field,
-      } );
-
-      my $flag = $new->getfield($svcdb.'__'.$field.'_flag');
-      if ( uc($flag) =~ /^([DFX])$/ ) {
-        $part_svc_column->setfield('columnflag', $1);
-        $part_svc_column->setfield('columnvalue',
-          $new->getfield($svcdb.'__'.$field)
-        );
-        if ( $previous ) {
-          $error = $part_svc_column->replace($previous);
-        } else {
-          $error = $part_svc_column->insert;
-        }
-      } else {
-        $error = $previous ? $previous->delete : '';
-      }
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-
-    # maintain export_svc records
-
-    if ( $exportnums ) {
-
-      #false laziness w/ edit/process/agent_type.cgi
-      my @new_export_svc = ();
-      foreach my $part_export ( qsearch('part_export', {}) ) {
-        my $exportnum = $part_export->exportnum;
-        my $hashref = {
-          'exportnum' => $exportnum,
-          'svcpart'   => $new->svcpart,
-        };
-        my $export_svc = qsearchs('export_svc', $hashref);
-
-        if ( $export_svc && ! $exportnums->{$exportnum} ) {
-          $error = $export_svc->delete;
-          if ( $error ) {
-            $dbh->rollback if $oldAutoCommit;
-            return $error;
-          }
-        } elsif ( ! $export_svc && $exportnums->{$exportnum} ) {
-          push @new_export_svc, new FS::export_svc ( $hashref );
-        }
-
-      }
-
-      my $slice = 100/scalar(@new_export_svc) if @new_export_svc;
-      my $done = 0;
-      foreach my $export_svc (@new_export_svc) {
-        $error = $export_svc->insert($job, $slice*$done++, $slice);
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return $error;
-        }
-        if ( $job ) {
-          $error = $job->update_statustext( int( $slice * $done ) );
-          if ( $error ) {
-            $dbh->rollback if $oldAutoCommit;
-            return $error;
-          }
-        }
-      }
-
-    }
-
-  } else {
-    $dbh->rollback if $oldAutoCommit;
-    return 'non-1.3-COMPAT interface not yet written';
-    #not yet implemented
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-=item check
-
-Checks all fields to make sure this is a valid service definition.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-  my $recref = $self->hashref;
-
-  my $error;
-  $error=
-    $self->ut_numbern('svcpart')
-    || $self->ut_text('svc')
-    || $self->ut_alpha('svcdb')
-    || $self->ut_enum('disabled', [ '', 'Y' ] )
-  ;
-  return $error if $error;
-
-  my @fields = eval { fields( $recref->{svcdb} ) }; #might die
-  return "Unknown svcdb!" unless @fields;
-
-  $self->SUPER::check;
-}
-
-=item part_svc_column COLUMNNAME
-
-Returns the part_svc_column object (see L<FS::part_svc_column>) for the given
-COLUMNNAME, or a new part_svc_column object if none exists.
-
-=cut
-
-sub part_svc_column {
-  my( $self, $columnname) = @_;
-  $self->svcpart &&
-    qsearchs('part_svc_column',  {
-                                   'svcpart'    => $self->svcpart,
-                                   'columnname' => $columnname,
-                                 }
-  ) or new FS::part_svc_column {
-                                 'svcpart'    => $self->svcpart,
-                                 'columnname' => $columnname,
-                               };
-}
-
-=item all_part_svc_column
-
-=cut
-
-sub all_part_svc_column {
-  my $self = shift;
-  qsearch('part_svc_column', { 'svcpart' => $self->svcpart } );
-}
-
-=item part_export [ EXPORTTYPE ]
-
-Returns a list of all exports (see L<FS::part_export>) for this service, or,
-if an export type is specified, only returns exports of the given type.
-
-=cut
-
-sub part_export {
-  my $self = shift;
-  my %search;
-  $search{'exporttype'} = shift if @_;
-  map { qsearchs('part_export', { 'exportnum' => $_->exportnum, %search } ) }
-    qsearch('export_svc', { 'svcpart' => $self->svcpart } );
-}
-
-=item part_export_usage
-
-Returns a list of any exports (see L<FS::part_export>) for this service that
-are capable of reporting usage information.
-
-=cut
-
-sub part_export_usage {
-  my $self = shift;
-  grep $_->can('usage_sessions'), $self->part_export;
-}
-
-=item cust_svc [ PKGPART ] 
-
-Returns a list of associated customer services (FS::cust_svc records).
-
-If a PKGPART is specified, returns the customer services which are contained
-within packages of that type (see L<FS::part_pkg>).  If PKGPARTis specified as
-B<0>, returns unlinked customer services.
-
-=cut
-
-sub cust_svc {
-  my $self = shift;
-
-  my $hashref = { 'svcpart' => $self->svcpart };
-
-  my( $addl_from, $extra_sql ) = ( '', '' );
-  if ( @_ ) {
-    my $pkgpart = shift;
-    if ( $pkgpart =~ /^(\d+)$/ ) {
-      $addl_from = 'LEFT JOIN cust_pkg USING ( pkgnum )';
-      $extra_sql = "AND pkgpart = $1";
-    } elsif ( $pkgpart eq '0' ) {
-      $hashref->{'pkgnum'} = '';
-    }
-  }
-
-  qsearch({
-    'table'     => 'cust_svc',
-    'addl_from' => $addl_from,
-    'hashref'   => $hashref,
-    'extra_sql' => $extra_sql,
-  });
-}
-
-=item num_cust_svc [ PKGPART ] 
-
-Returns the number of associated customer services (FS::cust_svc records).
-
-If a PKGPART is specified, returns the number of customer services which are
-contained within packages of that type (see L<FS::part_pkg>).  If PKGPART
-is specified as B<0>, returns the number of unlinked customer services.
-
-=cut
-
-sub num_cust_svc {
-  my $self = shift;
-
-  my @param = ( $self->svcpart );
-
-  my( $join, $and ) = ( '', '' );
-  if ( @_ ) {
-    my $pkgpart = shift;
-    if ( $pkgpart ) {
-      $join = 'LEFT JOIN cust_pkg USING ( pkgnum )';
-      $and = 'AND pkgpart = ?';
-      push @param, $pkgpart;
-    } elsif ( $pkgpart eq '0' ) {
-      $and = 'AND pkgnum IS NULL';
-    }
-  }
-
-  my $sth = dbh->prepare(
-    "SELECT COUNT(*) FROM cust_svc $join WHERE svcpart = ? $and"
-  ) or die dbh->errstr;
-  $sth->execute(@param)
-    or die $sth->errstr;
-  $sth->fetchrow_arrayref->[0];
-}
-
-=item svc_x
-
-Returns a list of associated FS::svc_* records.
-
-=cut
-
-sub svc_x {
-  my $self = shift;
-  map { $_->svc_x } $self->cust_svc;
-}
-
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item process
-
-Job-queue processor for web interface adds/edits
-
-=cut
-
-use Storable qw(thaw);
-use Data::Dumper;
-use MIME::Base64;
-sub process {
-  my $job = shift;
-
-  my $param = thaw(decode_base64(shift));
-  warn Dumper($param) if $DEBUG;
-
-  my $old = qsearchs('part_svc', { 'svcpart' => $param->{'svcpart'} }) 
-    if $param->{'svcpart'};
-
-  $param->{'svc_acct__usergroup'} =
-    ref($param->{'svc_acct__usergroup'})
-      ? join(',', @{$param->{'svc_acct__usergroup'}} )
-      : $param->{'svc_acct__usergroup'};
-  
-  my $new = new FS::part_svc ( {
-    map {
-      $_ => $param->{$_};
-  #  } qw(svcpart svc svcdb)
-    } ( fields('part_svc'),
-        map { my $svcdb = $_;
-              my @fields = fields($svcdb);
-              push @fields, 'usergroup' if $svcdb eq 'svc_acct'; #kludge
-              map { ( $svcdb.'__'.$_, $svcdb.'__'.$_.'_flag' )  } @fields;
-            } grep defined( dbdef->table($_) ),
-                   qw( svc_acct svc_domain svc_forward svc_www svc_broadband )
-      )
-  } );
-  
-  my %exportnums =
-    map { $_->exportnum => ( $param->{'exportnum'.$_->exportnum} || '') }
-        qsearch('part_export', {} );
-
-  my $error;
-  if ( $param->{'svcpart'} ) {
-    $error = $new->replace( $old,
-                            '1.3-COMPAT',
-                            [ 'usergroup' ],
-                            \%exportnums,
-                            $job
-                          );
-  } else {
-    $error = $new->insert( [ 'usergroup' ],
-                           \%exportnums,
-                           $job,
-                         );
-    $param->{'svcpart'} = $new->getfield('svcpart');
-  }
-
-  die "$error\n" if $error;
-}
-
-=item process_bulk_cust_svc
-
-Job-queue processor for web interface bulk customer service changes
-
-=cut
-
-use Storable qw(thaw);
-use Data::Dumper;
-use MIME::Base64;
-sub process_bulk_cust_svc {
-  my $job = shift;
-
-  my $param = thaw(decode_base64(shift));
-  warn Dumper($param) if $DEBUG;
-
-  my $old_part_svc =
-    qsearchs('part_svc', { 'svcpart' => $param->{'old_svcpart'} } );
-
-  die "Must select a new service definition\n" unless $param->{'new_svcpart'};
-
-  #the rest should be abstracted out to to its own subroutine?
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  local( $FS::cust_svc::ignore_quantity ) = 1;
-
-  my $total = $old_part_svc->num_cust_svc( $param->{'pkgpart'} );
-
-  my $n = 0;
-  foreach my $old_cust_svc ( $old_part_svc->cust_svc( $param->{'pkgpart'} ) ) {
-
-    my $new_cust_svc = new FS::cust_svc { $old_cust_svc->hash };
-
-    $new_cust_svc->svcpart( $param->{'new_svcpart'} );
-    my $error = $new_cust_svc->replace($old_cust_svc);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      die "$error\n" if $error;
-    }
-
-    $error = $job->update_statustext( int( 100 * ++$n / $total ) );
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      die $error if $error;
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=head1 BUGS
-
-Delete is unimplemented.
-
-The list of svc_* tables is hardcoded.  When svc_acct_pop is renamed, this
-should be fixed.
-
-all_part_svc_column methods should be documented
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::part_svc_column>, L<FS::part_pkg>, L<FS::pkg_svc>,
-L<FS::cust_svc>, L<FS::svc_acct>, L<FS::svc_forward>, L<FS::svc_domain>,
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_svc_column.pm b/FS/FS/part_svc_column.pm
deleted file mode 100644 (file)
index 0450b35..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-package FS::part_svc_column;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( fields );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::part_svc_column - Object methods for part_svc_column objects
-
-=head1 SYNOPSIS
-
-  use FS::part_svc_column;
-
-  $record = new FS::part_svc_column \%hash
-  $record = new FS::part_svc_column { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_svc_column record represents a service definition column
-constraint.  FS::part_svc_column inherits from FS::Record.  The following
-fields are currently supported:
-
-=over 4
-
-=item columnnum - primary key (assigned automatcially for new records)
-
-=item svcpart - service definition (see L<FS::part_svc>)
-
-=item columnname - column name in part_svc.svcdb table
-
-=item columnvalue - default or fixed value for the column
-
-=item columnflag - null, D, F, X (virtual fields)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new column constraint.  To add the column constraint to the database, see L<"insert">.
-
-=cut
-
-sub table { 'part_svc_column'; }
-
-=item insert
-
-Adds this service definition to the database.  If there is an error, returns
-the error, otherwise returns false.
-
-=item delete
-
-Deletes this record from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('columnnum')
-    || $self->ut_number('svcpart')
-    || $self->ut_alpha('columnname')
-    || $self->ut_anything('columnvalue')
-  ;
-  return $error if $error;
-
-  $self->columnflag =~ /^([DFX])$/
-    or return "illegal columnflag ". $self->columnflag;
-  $self->columnflag(uc($1));
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::part_svc>, L<FS::part_pkg>, L<FS::pkg_svc>,
-L<FS::cust_svc>, L<FS::svc_acct>, L<FS::svc_forward>, L<FS::svc_domain>,
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/part_svc_router.pm b/FS/FS/part_svc_router.pm
deleted file mode 100755 (executable)
index df04cc9..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package FS::part_svc_router;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw(qsearchs);
-use FS::router;
-use FS::part_svc;
-
-@ISA = qw(FS::Record);
-
-sub table { 'part_svc_router'; }
-
-sub check {
-  my $self = shift;
-  my $error =
-       $self->ut_numbern('svcrouternum')
-    || $self->ut_foreign_key('svcpart', 'part_svc', 'svcpart')
-    || $self->ut_foreign_key('routernum', 'router', 'routernum');
-  return $error if $error;
-  ''; #no error
-}
-
-sub router {
-  my $self = shift;
-  return qsearchs('router', { routernum => $self->routernum });
-}
-
-sub part_svc {
-  my $self = shift;
-  return qsearchs('part_svc', { svcpart => $self->svcpart });
-}
-
-1;
diff --git a/FS/FS/part_virtual_field.pm b/FS/FS/part_virtual_field.pm
deleted file mode 100755 (executable)
index 992d449..0000000
+++ /dev/null
@@ -1,300 +0,0 @@
-package FS::part_virtual_field;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearchs qsearch );
-use FS::Schema qw( dbdef );
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::part_virtual_field - Object methods for part_virtual_field records
-
-=head1 SYNOPSIS
-
-  use FS::part_virtual_field;
-
-  $record = new FS::part_virtual_field \%hash;
-  $record = new FS::part_virtual_field { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::part_virtual_field object represents the definition of a virtual field 
-(see the BACKGROUND section).  FS::part_virtual_field contains the name and 
-base table of the field, as well as validation rules and UI hints about the 
-display of the field.  The actual data is stored in FS::virtual_field; see 
-its manpage for details.
-
-FS::part_virtual_field inherits from FS::Record.  The following fields are 
-currently supported:
-
-=over 2
-
-=item vfieldpart - primary key (assigned automatically)
-
-=item name - name of the field
-
-=item dbtable - table for which this virtual field is defined
-
-=item check_block - Perl code to validate/normalize data
-
-=item list_source - Perl code to generate a list of values (UI hint)
-
-=item length - expected length of the value (UI hint)
-
-=item label - descriptive label for the field (UI hint)
-
-=item sequence - sort key (UI hint; unimplemented)
-
-=back
-
-=head1 BACKGROUND
-
-"Form is none other than emptiness,
- and emptiness is none other than form."
--- Heart Sutra
-
-The virtual field mechanism allows site admins to make trivial changes to 
-the Freeside database schema without modifying the code.  Specifically, the 
-user can add custom-defined 'fields' to the set of data tracked by Freeside 
-about objects such as customers and services.  These fields are not associated 
-with any logic in the core Freeside system, but may be referenced in peripheral 
-code such as exports, price calculations, or alternate interfaces, or may just 
-be stored in the database for future reference.
-
-This system was originally devised for svc_broadband, which (by necessity) 
-comprises such a wide range of access technologies that no static set of fields 
-could contain all the information needed by the exports.  In an appalling 
-display of False Laziness, a parallel mechanism was implemented for the 
-router table, to store properties such as passwords to configure routers.
-
-The original system treated svc_broadband custom fields (sb_fields) as records 
-in a completely separate table.  Any code that accessed or manipulated these 
-fields had to be aware that they were I<not> fields in svc_broadband, but 
-records in sb_field.  For example, code that inserted a svc_broadband with 
-several custom fields had to create an FS::svc_broadband object, call its 
-insert() method, and then create several FS::sb_field objects and call I<their>
-insert() methods.
-
-This created a problem for exports.  The insert method on any FS::svc_Common 
-object (including svc_broadband) automatically triggers exports after the 
-record has been inserted.  However, at this point, the sb_fields had not yet 
-been inserted, so the export could not rely on their presence, which was the 
-original purpose of sb_fields.
-
-Hence the new system.  Virtual fields are appended to the field list of every 
-record at the FS::Record level, whether the object is created ex nihilo with 
-new() or fetched with qsearch().  The fields() method now returns a list of 
-both real and virtual fields.  The insert(), replace(), and delete() methods 
-now update both the base table and the virtual fields, in a single transaction.
-
-A new method is provided, virtual_fields(), which gives only the virtual 
-fields.  UI code that dynamically generates form widgets to edit virtual field
-data should use this to figure out what fields are defined.  (See below.)
-
-Subclasses may override virtual_fields() to restrict the set of virtual 
-fields available.  Some discipline and sanity on the part of the programmer 
-are required; in particular, this function should probably not depend on any 
-fields in the record other than the primary key, since the others may change 
-after the object is instantiated.  (Making it depend on I<virtual> fields is 
-just asking for pain.)  One use of this is seen in FS::svc_Common; another 
-possibility is field-level access control based on FS::UID::getotaker().
-
-As a trivial case, a subclass may opt out of supporting virtual fields with 
-the following code:
-
-sub virtual_fields { () }
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Create a new record.  To add the record to the database, see "insert".
-
-=cut
-
-sub table { 'part_virtual_field'; }
-sub virtual_fields { () }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this record from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-If there is an error, returns the error, otherwise returns false.
-Called by the insert and replace methods.
-
-=back
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = $self->ut_text('name') ||
-              $self->ut_text('dbtable') ||
-              $self->ut_number('length')
-              ;
-  return $error if $error;
-
-  # Make sure it's a real table with a numeric primary key
-  my ($table, $pkey);
-  if($table = dbdef->table($self->dbtable)) {
-    if($pkey = $table->primary_key) {
-      if($table->column($pkey)->type =~ /int/i) {
-        # this is what it should be
-      } else {
-        $error = "$table.$pkey is not an integer";
-      }
-    } else {
-      $error = "$table does not have a single-field primary key";
-    }
-  } else {
-    $error = "$table does not exist in the schema";
-  }
-  return $error if $error;
-
-  # Possibly some sanity checks for check_block and list_source?
-
-  $self->SUPER::check;  
-}
-
-=item list
-
-Evaluates list_source.
-
-=cut
-
-sub list {
-  my $self = shift;
-  return () unless $self->list_source;
-
-  my @opts = eval($self->list_source);
-  if($@) {
-    warn $@;
-    return ();
-  } else {
-    return @opts;
-  }
-}
-
-=item widget UI_TYPE MODE [ VALUE ]
-
-Generates UI code for a widget suitable for editing/viewing the field, based on 
-list_source and length.  
-
-The only UI_TYPE currently supported is 'HTML', and the only MODE is 'view'.
-Others will be added later.
-
-In HTML, all widgets are assumed to be table rows.  View widgets look like
-<TR><TD ALIGN="right">Label</TD><TD BGCOLOR="#ffffff">Value</TD></TR>
-
-(Most of the display style stuff, such as the colors, should probably go into 
-a separate module specific to the UI.  That can wait, though.  The API for 
-this function won't change.)
-
-VALUE (optional) is the current value of the field.
-
-=cut
-
-sub widget {
-  my $self = shift;
-  my ($ui_type, $mode, $value) = @_;
-  my $text;
-  my $label = $self->label || $self->name;
-
-  if ($ui_type eq 'HTML') {
-    if ($mode eq 'view') {
-      $text = q!<TR><TD ALIGN="right">! . $label . 
-              q!</TD><TD BGCOLOR="#ffffff">! . $value .
-              q!</TD></TR>! . "\n";
-    } elsif ($mode eq 'edit') {
-      $text = q!<TR><TD ALIGN="right">! . $label .
-              q!</TD><TD>!;
-      if ($self->list_source) {
-        $text .= q!<SELECT NAME="! . $self->name . 
-                q!" SIZE=1>! . "\n";
-        foreach ($self->list) {
-          $text .= q!<OPTION VALUE="! . $_ . q!"!;
-          $text .= ' SELECTED' if ($_ eq $value);
-          $text .= '>' . $_ . '</OPTION>' . "\n";
-        }
-      } else {
-        $text .= q!<INPUT NAME="! . $self->name .
-                q!" VALUE="! . $value . q!"!;
-        if ($self->length) {
-          $text .= q! SIZE="! . $self->length . q!"!;
-        }
-        $text .= '>';
-      }
-      $text .= q!</TD></TR>! . "\n";
-    } else {
-      return '';
-    }
-  } else {
-    return '';
-  }
-  return $text;
-}
-
-=head1 NOTES
-
-=head2 Semantics of check_block:
-
-This has been changed from the sb_field implementation to make check_blocks 
-simpler and more natural to Perl programmers who work on things other than 
-Freeside.
-
-The check_block is eval'd with the (proposed) new value of the field in $_, 
-and the object to be updated in $self.  Its return value is ignored.  The 
-check_block may change the value of $_ to override the proposed value, or 
-call die() (with an appropriate error message) to reject the update entirely;
-the error string will be returned as the output of the check() method.
-
-This makes check_blocks like
-
-C<s/foo/bar/>
-
-do what you expect.
-
-The check_block is expected NOT to do anything freaky to $self, like modifying 
-other fields or calling $self->check().  You have been warned.
-
-(FIXME: Rewrite some of the warnings from part_sb_field and insert here.)
-
-=head1 BUGS
-
-None.  It's absolutely falwless.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::virtual_field>
-
-=cut
-
-1;
-
-
diff --git a/FS/FS/payment_gateway.pm b/FS/FS/payment_gateway.pm
deleted file mode 100644 (file)
index a5cdd9d..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-package FS::payment_gateway;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::option_Common;
-
-@ISA = qw( FS::option_Common );
-
-=head1 NAME
-
-FS::payment_gateway - Object methods for payment_gateway records
-
-=head1 SYNOPSIS
-
-  use FS::payment_gateway;
-
-  $record = new FS::payment_gateway \%hash;
-  $record = new FS::payment_gateway { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::payment_gateway object represents an payment gateway.
-FS::payment_gateway inherits from FS::Record.  The following fields are
-currently supported:
-
-=over 4
-
-=item gatewaynum - primary key
-
-=item gateway_module - Business::OnlinePayment:: module name
-
-=item gateway_username - payment gateway username
-
-=item gateway_password - payment gateway password
-
-=item gateway_action - optional action or actions (multiple actions are separated with `,': for example: `Authorization Only, Post Authorization').  Defaults to `Normal Authorization'.
-
-=item disabled - Disabled flag, empty or 'Y'
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new payment gateway.  To add the payment gateway to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'payment_gateway'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid payment gateway.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('gatewaynum')
-    || $self->ut_alpha('gateway_module')
-    || $self->ut_textn('gateway_username')
-    || $self->ut_anything('gateway_password')
-    || $self->ut_enum('disabled', [ '', 'Y' ] )
-    #|| $self->ut_textn('gateway_action')
-  ;
-  return $error if $error;
-
-  if ( $self->gateway_action ) {
-    my @actions = split(/,\s*/, $self->gateway_action);
-    $self->gateway_action(
-      join( ',', map { /^(Normal Authorization|Authorization Only|Credit|Post Authorization)$/
-                         or return "Unknown action $_";
-                       $1
-                     }
-                     @actions
-          )
-   );
-  } else {
-    $self->gateway_action('Normal Authorization');
-  }
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/payment_gateway_option.pm b/FS/FS/payment_gateway_option.pm
deleted file mode 100644 (file)
index 0576022..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-package FS::payment_gateway_option;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::payment_gateway_option - Object methods for payment_gateway_option records
-
-=head1 SYNOPSIS
-
-  use FS::payment_gateway_option;
-
-  $record = new FS::payment_gateway_option \%hash;
-  $record = new FS::payment_gateway_option { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::payment_gateway_option object represents an option key and value for
-a payment gateway.  FS::payment_gateway_option inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item optionnum - primary key
-
-=item gatewaynum - 
-
-=item optionname - 
-
-=item optionvalue - 
-
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new option.  To add the option to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'payment_gateway_option'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid option.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('optionnum')
-    || $self->ut_foreign_key('gatewaynum', 'payment_gateway', 'gatewaynum')
-    || $self->ut_text('optionname')
-    || $self->ut_textn('optionvalue')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/pkg_svc.pm b/FS/FS/pkg_svc.pm
deleted file mode 100644 (file)
index 065ddbe..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-package FS::pkg_svc;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearchs );
-use FS::part_pkg;
-use FS::part_svc;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::pkg_svc - Object methods for pkg_svc records
-
-=head1 SYNOPSIS
-
-  use FS::pkg_svc;
-
-  $record = new FS::pkg_svc \%hash;
-  $record = new FS::pkg_svc { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $part_pkg = $record->part_pkg;
-
-  $part_svc = $record->part_svc;
-
-=head1 DESCRIPTION
-
-An FS::pkg_svc record links a billing item definition (see L<FS::part_pkg>) to
-a service definition (see L<FS::part_svc>).  FS::pkg_svc inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item pkgsvcnum - primary key
-
-=item pkgpart - Billing item definition (see L<FS::part_pkg>)
-
-=item svcpart - Service definition (see L<FS::part_svc>)
-
-=item quantity - Quantity of this service definition that this billing item
-definition includes
-
-=item primary_svc - primary flag, empty or 'Y'
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Create a new record.  To add the record to the database, see L<"insert">.
-
-=cut
-
-sub table { 'pkg_svc'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this record from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-
-  return "Can't change pkgpart!" if $old->pkgpart != $new->pkgpart;
-  return "Can't change svcpart!" if $old->svcpart != $new->svcpart;
-
-  $new->SUPER::replace($old);
-}
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error;
-  $error =
-       $self->ut_numbern('pkgsvcnum')
-    || $self->ut_number('pkgpart')
-    || $self->ut_number('svcpart')
-    || $self->ut_number('quantity')
-  ;
-  return $error if $error;
-
-  return "Unknown pkgpart!" unless $self->part_pkg;
-  return "Unknown svcpart!" unless $self->part_svc;
-
-  if ( $self->dbdef_table->column('primary_svc') ) {
-    $error = $self->ut_enum('primary_svc', [ '', 'Y' ] );
-    return $error if $error;
-  }
-
-  $self->SUPER::check;
-}
-
-=item part_pkg
-
-Returns the FS::part_pkg object (see L<FS::part_pkg>).
-
-=cut
-
-sub part_pkg {
-  my $self = shift;
-  qsearchs( 'part_pkg', { 'pkgpart' => $self->pkgpart } );
-}
-
-=item part_svc
-
-Returns the FS::part_svc object (see L<FS::part_svc>).
-
-=cut
-
-sub part_svc {
-  my $self = shift;
-  qsearchs( 'part_svc', { 'svcpart' => $self->svcpart } );
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::part_pkg>, L<FS::part_svc>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/port.pm b/FS/FS/port.pm
deleted file mode 100644 (file)
index 253727b..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-package FS::port;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearchs );
-use FS::nas;
-use FS::session;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::port - Object methods for port records
-
-=head1 SYNOPSIS
-
-  use FS::port;
-
-  $record = new FS::port \%hash;
-  $record = new FS::port { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $session = $port->session;
-
-=head1 DESCRIPTION
-
-An FS::port object represents an individual port on a NAS.  FS::port inherits
-from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item portnum - primary key
-
-=item ip - IP address of this port
-
-=item nasport - port number on the NAS
-
-=item nasnum - NAS this port is on - see L<FS::nas>
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new port.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'port'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-  my $error =
-    $self->ut_numbern('portnum')
-    || $self->ut_ipn('ip')
-    || $self->ut_numbern('nasport')
-    || $self->ut_number('nasnum');
-  ;
-  return $error if $error;
-  return "Either ip or nasport must be specified"
-    unless $self->ip || $self->nasport;
-  return "Unknown nasnum"
-    unless qsearchs('nas', { 'nasnum' => $self->nasnum } );
-  $self->SUPER::check;
-}
-
-=item session
-
-Returns the currently open session on this port, or if no session is currently
-open, the most recent session.  See L<FS::session>.
-
-=cut
-
-sub session {
-  my $self = shift;
-  qsearchs('session', { 'portnum' => $self->portnum }, '*',
-                     'ORDER BY login DESC LIMIT 1' );
-}
-
-=back
-
-=head1 BUGS
-
-The session method won't deal well if you have multiple open sessions on a
-port, for example if your RADIUS server drops B<stop> records.  Suggestions for
-how to deal with this sort of lossage welcome; should we close the session
-when we get a new session on that port?  Tag it as invalid somehow?  Close it
-one second after it was opened?  *sigh*  Maybe FS::session shouldn't let you
-create overlapping sessions, at least folks will find out their logging is
-dropping records.
-
-If you think the above refers multiple user logins you need to read the
-manpages again.
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/prepay_credit.pm b/FS/FS/prepay_credit.pm
deleted file mode 100644 (file)
index 92f2a30..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-package FS::prepay_credit;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw(qsearchs dbh);
-use FS::agent;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::prepay_credit - Object methods for prepay_credit records
-
-=head1 SYNOPSIS
-
-  use FS::prepay_credit;
-
-  $record = new FS::prepay_credit \%hash;
-  $record = new FS::prepay_credit {
-    'identifier' => '4198123455512121'
-    'amount'     => '19.95',
-  };
-
-  $record = new FS::prepay_credit {
-    'identifier' => '4198123455512121'
-    'seconds'    => '7200',
-  };
-
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::prepay_credit object represents a pre-paid card.  FS::prepay_credit
-inherits from FS::Record.  The following
-fields are currently supported:
-
-=over 4
-
-=item field - description
-
-=item identifier - identifier entered by the user to receive the credit
-
-=item amount - amount of the credit
-
-=item seconds - time amount of credit (see L<FS::svc_acct/seconds>)
-
-=item agentnum - optional agent (see L<FS::agent>) for this prepaid card
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new pre-paid credit.  To add the example to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'prepay_credit'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-=item check
-
-Checks all fields to make sure this is a valid pre-paid credit.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $identifier = $self->identifier;
-  $identifier =~ s/\W//g; #anything else would just confuse things
-  $self->identifier($identifier);
-
-  $self->ut_numbern('prepaynum')
-  || $self->ut_alpha('identifier')
-  || $self->ut_money('amount')
-  || $self->ut_numbern('seconds')
-  || $self->ut_foreign_keyn('agentnum', 'agent', 'agentnum')
-  || $self->SUPER::check
-  ;
-
-}
-
-=item agent
-
-Returns the agent (see L<FS::agent>) for this prepaid card, if any.
-
-=cut
-
-sub agent {
-  my $self = shift;
-  qsearchs('agent', { 'agentnum' => $self->agentnum } );
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item generate NUM TYPE HASHREF
-
-Generates the specified number of prepaid cards.  Returns an array reference of
-the newly generated card identifiers, or a scalar error message.
-
-=cut
-
-#false laziness w/agent::generate_reg_codes
-sub generate {
-  my( $num, $type, $hashref ) = @_;
-
-  my @codeset = ();
-  push @codeset, ( 'A'..'Z' ) if $type =~ /alpha/;
-  push @codeset, ( '1'..'9' ) if $type =~ /numeric/;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my @cards = ();
-  for ( 1 ... $num ) {
-    my $prepay_credit = new FS::prepay_credit {
-      'identifier' => join('', map($codeset[int(rand $#codeset)], (0..7) ) ),
-      %$hashref,
-    };
-    my $error = $prepay_credit->check || $prepay_credit->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "(inserting prepay_credit) $error";
-    }
-    push @cards, $prepay_credit->identifier;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  \@cards;
-
-}
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::svc_acct>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/queue.pm b/FS/FS/queue.pm
deleted file mode 100644 (file)
index f42d998..0000000
+++ /dev/null
@@ -1,465 +0,0 @@
-package FS::queue;
-
-use strict;
-use vars qw( @ISA @EXPORT_OK $DEBUG $conf $jobnums);
-use Exporter;
-use FS::UID qw(myconnect);
-use FS::Conf;
-use FS::Record qw( qsearch qsearchs dbh );
-#use FS::queue;
-use FS::queue_arg;
-use FS::queue_depend;
-use FS::cust_svc;
-
-@ISA = qw(FS::Record);
-@EXPORT_OK = qw( joblisting );
-
-$DEBUG = 0;
-
-$FS::UID::callback{'FS::queue'} = sub {
-  $conf = new FS::Conf;
-};
-
-$jobnums = '';
-
-=head1 NAME
-
-FS::queue - Object methods for queue records
-
-=head1 SYNOPSIS
-
-  use FS::queue;
-
-  $record = new FS::queue \%hash;
-  $record = new FS::queue { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::queue object represents an queued job.  FS::queue inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item jobnum - primary key
-
-=item job - fully-qualified subroutine name
-
-=item status - job status
-
-=item statustext - freeform text status message
-
-=item _date - UNIX timestamp
-
-=item svcnum - optional link to service (see L<FS::cust_svc>)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new job.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'queue'; }
-
-=item insert [ ARGUMENT, ARGUMENT... ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-If any arguments are supplied, a queue_arg record for each argument is also
-created (see L<FS::queue_arg>).
-
-=cut
-
-#false laziness w/part_export.pm
-sub insert {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  foreach my $arg ( @_ ) {
-    my $queue_arg = new FS::queue_arg ( {
-      'jobnum' => $self->jobnum,
-      'arg'    => $arg,
-    } );
-    $error = $queue_arg->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  if ( $jobnums ) {
-    warn "jobnums global is active: $jobnums\n" if $DEBUG;
-    push @$jobnums, $self->jobnum;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item delete
-
-Delete this record from the database.  Any corresponding queue_arg records are
-deleted as well
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my @del = qsearch( 'queue_arg', { 'jobnum' => $self->jobnum } );
-  push @del, qsearch( 'queue_depend', { 'depend_jobnum' => $self->jobnum } );
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  foreach my $del ( @del ) {
-    $error = $del->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-
-}
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid job.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-  my $error =
-    $self->ut_numbern('jobnum')
-    || $self->ut_anything('job')
-    || $self->ut_numbern('_date')
-    || $self->ut_enum('status',['', qw( new locked failed )])
-    || $self->ut_anything('statustext')
-    || $self->ut_numbern('svcnum')
-  ;
-  return $error if $error;
-
-  $error = $self->ut_foreign_keyn('svcnum', 'cust_svc', 'svcnum');
-  $self->svcnum('') if $error;
-
-  $self->status('new') unless $self->status;
-  $self->_date(time) unless $self->_date;
-
-  $self->SUPER::check;
-}
-
-=item args
-
-Returns a list of the arguments associated with this job.
-
-=cut
-
-sub args {
-  my $self = shift;
-  map $_->arg, qsearch( 'queue_arg',
-                        { 'jobnum' => $self->jobnum },
-                        '',
-                        'ORDER BY argnum'
-                      );
-}
-
-=item cust_svc
-
-Returns the FS::cust_svc object associated with this job, if any.
-
-=cut
-
-sub cust_svc {
-  my $self = shift;
-  qsearchs('cust_svc', { 'svcnum' => $self->svcnum } );
-}
-
-=item queue_depend
-
-Returns the FS::queue_depend objects associated with this job, if any.
-(Dependancies that must complete before this job can be run).
-
-=cut
-
-sub queue_depend {
-  my $self = shift;
-  qsearch('queue_depend', { 'jobnum' => $self->jobnum } );
-}
-
-=item depend_insert OTHER_JOBNUM
-
-Inserts a dependancy for this job - it will not be run until the other job
-specified completes.  If there is an error, returns the error, otherwise
-returns false.
-
-When using job dependancies, you should wrap the insertion of all relevant jobs
-in a database transaction.  
-
-=cut
-
-sub depend_insert {
-  my($self, $other_jobnum) = @_;
-  my $queue_depend = new FS::queue_depend ( {
-    'jobnum'        => $self->jobnum,
-    'depend_jobnum' => $other_jobnum,
-  } );
-  $queue_depend->insert;
-}
-
-=item queue_depended
-
-Returns the FS::queue_depend objects that associate other jobs with this job,
-if any.  (The jobs that are waiting for this job to complete before they can
-run).
-
-=cut
-
-sub queue_depended {
-  my $self = shift;
-  qsearch('queue_depend', { 'depend_jobnum' => $self->jobnum } );
-}
-
-=item depended_delete
-
-Deletes the other queued jobs (FS::queue objects) that are waiting for this
-job, if any.  If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub depended_delete {
-  my $self = shift;
-  my $error;
-  foreach my $job (
-    map { qsearchs('queue', { 'jobnum' => $_->jobnum } ) } $self->queue_depended
-  ) {
-    $error = $job->depended_delete;
-    return $error if $error;
-    $error = $job->delete;
-    return $error if $error
-  }
-}
-
-=item update_statustext VALUE
-
-Updates the statustext value of this job to supplied value, in the database.
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-use vars qw($_update_statustext_dbh);
-sub update_statustext {
-  my( $self, $statustext ) = @_;
-  return '' if $statustext eq $self->statustext;
-  warn "updating statustext for $self to $statustext" if $DEBUG;
-
-  $_update_statustext_dbh ||= myconnect;
-
-  my $sth = $_update_statustext_dbh->prepare(
-    'UPDATE queue set statustext = ? WHERE jobnum = ?'
-  ) or return $_update_statustext_dbh->errstr;
-
-  $sth->execute($statustext, $self->jobnum) or return $sth->errstr;
-  $_update_statustext_dbh->commit or die $_update_statustext_dbh->errstr;
-  $self->statustext($statustext);
-  '';
-
-  #my $new = new FS::queue { $self->hash };
-  #$new->statustext($statustext);
-  #my $error = $new->replace($self);
-  #return $error if $error;
-  #$self->statustext($statustext);
-  #'';
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item joblisting HASHREF NOACTIONS
-
-=cut
-
-sub joblisting {
-  my($hashref, $noactions) = @_;
-
-  use Date::Format;
-  use HTML::Entities;
-  use FS::CGI;
-
-  my @queue = qsearch( 'queue', $hashref );
-  return '' unless scalar(@queue);
-
-  my $p = FS::CGI::popurl(2);
-
-  my $html = qq!<FORM ACTION="$p/misc/queue.cgi" METHOD="POST">!.
-             FS::CGI::table(). <<END;
-      <TR>
-        <TH COLSPAN=2>Job</TH>
-        <TH>Args</TH>
-        <TH>Date</TH>
-        <TH>Status</TH>
-END
-  $html .= '<TH>Account</TH>' unless $hashref->{svcnum};
-  $html .= '</TR>';
-
-  my $dangerous = $conf->exists('queue_dangerous_controls');
-
-  my $areboxes = 0;
-
-  foreach my $queue ( sort { 
-    $a->getfield('jobnum') <=> $b->getfield('jobnum')
-  } @queue ) {
-    my $queue_hashref = $queue->hashref;
-    my $jobnum = $queue->jobnum;
-
-    my $args;
-    if ( $dangerous || $queue->job !~ /^FS::part_export::/ || !$noactions ) {
-      $args = encode_entities( join(' ', $queue->args) );
-    } else {
-      $args = '';
-    }
-
-    my $date = time2str( "%a %b %e %T %Y", $queue->_date );
-    my $status = $queue->status;
-    $status .= ': '. $queue->statustext if $queue->statustext;
-    my @queue_depend = $queue->queue_depend;
-    $status .= ' (waiting for '.
-               join(', ', map { $_->depend_jobnum } @queue_depend ). 
-               ')'
-      if @queue_depend;
-    my $changable = $dangerous
-         || ( ! $noactions && $status =~ /^failed/ || $status =~ /^locked/ );
-    if ( $changable ) {
-      $status .=
-        qq! (&nbsp;<A HREF="$p/misc/queue.cgi?jobnum=$jobnum&action=new">retry</A>&nbsp;|!.
-        qq!&nbsp;<A HREF="$p/misc/queue.cgi?jobnum=$jobnum&action=del">remove</A>&nbsp;)!;
-    }
-    my $cust_svc = $queue->cust_svc;
-
-    $html .= <<END;
-      <TR>
-        <TD>$jobnum</TD>
-        <TD>$queue_hashref->{job}</TD>
-        <TD>$args</TD>
-        <TD>$date</TD>
-        <TD>$status</TD>
-END
-
-    unless ( $hashref->{svcnum} ) {
-      my $account;
-      if ( $cust_svc ) {
-        my $table = $cust_svc->part_svc->svcdb;
-        my $label = ( $cust_svc->label )[1];
-        $account = qq!<A HREF="../view/$table.cgi?!. $queue->svcnum.
-                   qq!">$label</A>!;
-      } else {
-        $account = '';
-      }
-      $html .= "<TD>$account</TD>";
-    }
-
-    if ( $changable ) {
-      $areboxes=1;
-      $html .=
-        qq!<TD><INPUT NAME="jobnum$jobnum" TYPE="checkbox" VALUE="1"></TD>!;
-
-    }
-
-    $html .= '</TR>';
-
-}
-
-  $html .= '</TABLE>';
-
-  if ( $areboxes ) {
-    $html .= '<BR><INPUT TYPE="submit" NAME="action" VALUE="retry selected">'.
-             '<INPUT TYPE="submit" NAME="action" VALUE="remove selected"><BR>';
-  }
-
-  $html;
-
-}
-
-=back
-
-=head1 BUGS
-
-$jobnums global
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/queue_arg.pm b/FS/FS/queue_arg.pm
deleted file mode 100644 (file)
index 39c7119..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-package FS::queue_arg;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::queue_arg - Object methods for queue_arg records
-
-=head1 SYNOPSIS
-
-  use FS::queue_arg;
-
-  $record = new FS::queue_arg \%hash;
-  $record = new FS::queue_arg { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::queue_arg object represents job argument.  FS::queue_arg inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item argnum - primary key
-
-=item jobnum - see L<FS::queue>
-
-=item arg - argument
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new argument.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'queue_arg'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid argument.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-  my $error =
-    $self->ut_numbern('argnum')
-    || $self->ut_numbern('jobnum')
-    || $self->ut_anything('arg')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::queue>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/queue_depend.pm b/FS/FS/queue_depend.pm
deleted file mode 100644 (file)
index bc910d8..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-package FS::queue_depend;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::queue;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::queue_depend - Object methods for queue_depend records
-
-=head1 SYNOPSIS
-
-  use FS::queue_depend;
-
-  $record = new FS::queue_depend \%hash;
-  $record = new FS::queue_depend { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::queue_depend object represents an job dependancy.  FS::queue_depend
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item dependnum - primary key
-
-=item jobnum - source jobnum (see L<FS::queue>).
-
-=item depend_jobnum - dependancy jobnum (see L<FS::queue>)
-
-=back
-
-The job specified by B<jobnum> depends on the job specified B<depend_jobnum> -
-the B<jobnum> job will not be run until the B<depend_jobnum> job has completed
-sucessfully (or manually removed).
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new dependancy.  To add the dependancy to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'queue_depend'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid dependancy.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  $self->ut_numbern('dependnum')
-    || $self->ut_foreign_key('jobnum',        'queue', 'jobnum')
-    || $self->ut_foreign_key('depend_jobnum', 'queue', 'jobnum')
-    || $self->SUPER::check
-  ;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::queue>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/raddb.pm b/FS/FS/raddb.pm
deleted file mode 100644 (file)
index 506b325..0000000
+++ /dev/null
@@ -1,1912 +0,0 @@
-package FS::raddb;
-use vars qw(%attrib);
-
-%attrib = (
-  '3com_user_access_level'   => '3Com-User-Access-Level',
-  '3gpp2_accounting_contain' => '3GPP2-Accounting-Container',
-  '3gpp2_acct_stop_trigger'  => '3GPP2-Acct-Stop-Trigger',
-  '3gpp2_active_time'        => '3GPP2-Active-Time',
-  '3gpp2_airlink_priority'   => '3GPP2-Airlink-Priority',
-  '3gpp2_airlink_record_typ' => '3GPP2-Airlink-Record-Type',
-  '3gpp2_airlink_sequence_n' => '3GPP2-Airlink-Sequence-Number',
-  '3gpp2_allowed_diffserv_m' => '3GPP2-Allowed-Diffserv-Marking',
-  '3gpp2_allowed_persistent' => '3GPP2-Allowed-Persistent-TFTs',
-  '3gpp2_bad_ppp_frame_coun' => '3GPP2-Bad-PPP-Frame-Count',
-  '3gpp2_begin_session'      => '3GPP2-Begin-Session',
-  '3gpp2_bsid'               => '3GPP2-BSID',
-  '3gpp2_compulsory_tunnel_' => '3GPP2-Compulsory-Tunnel-Indicator',
-  '3gpp2_correlation_id'     => '3GPP2-Correlation-Id',
-  '3gpp2_dcch_frame_size'    => '3GPP2-DCCH-Frame-Size',
-  '3gpp2_diffserv_class_opt' => '3GPP2-Diffserv-Class-Option',
-  '3gpp2_disconnect_reason'  => '3GPP2-Disconnect-Reason',
-  '3gpp2_dns_update_capabil' => '3GPP2-DNS-Update-Capability',
-  '3gpp2_dns_update_require' => '3GPP2-DNS-Update-Required',
-  '3gpp2_esn'                => '3GPP2-ESN',
-  '3gpp2_fch_frame_size'     => '3GPP2-FCH-Frame-Size',
-  '3gpp2_foreign_agent_addr' => '3GPP2-Foreign-Agent-Address',
-  '3gpp2_forward_dcch_mux_o' => '3GPP2-Forward-DCCH-Mux-Option',
-  '3gpp2_forward_dcch_rc'    => '3GPP2-Forward-DCCH-RC',
-  '3gpp2_forward_fch_mux_op' => '3GPP2-Forward-FCH-Mux-Option',
-  '3gpp2_forward_fch_rc'     => '3GPP2-Forward-FCH-RC',
-  '3gpp2_forward_pdch_rc'    => '3GPP2-Forward-PDCH-RC',
-  '3gpp2_forward_traffic_ty' => '3GPP2-Forward-Traffic-Type',
-  '3gpp2_home_agent_ip_addr' => '3GPP2-Home-Agent-IP-Address',
-  '3gpp2_ike_preshared_secr' => '3GPP2-Ike-Preshared-Secret-Request',
-  '3gpp2_inbound_mobile_ip_' => '3GPP2-Inbound-Mobile-IP-Sig-Octets',
-  '3gpp2_ip_qos'             => '3GPP2-IP-QoS',
-  '3gpp2_ip_technology'      => '3GPP2-IP-Technology',
-  '3gpp2_keyid'              => '3GPP2-KeyID',
-  '3gpp2_last_user_activity' => '3GPP2-Last-User-Activity-Time',
-  '3gpp2_mip_lifetime'       => '3GPP2-MIP-Lifetime',
-  '3gpp2_mn_aaa_removal_ind' => '3GPP2-MN-AAA-Removal-Indication',
-  '3gpp2_mn_ha_shared_key'   => '3GPP2-MN-HA-Shared-Key',
-  '3gpp2_mn_ha_spi'          => '3GPP2-MN-HA-SPI',
-  '3gpp2_module_orig_term_i' => '3GPP2-Module-Orig-Term-Indicator',
-  '3gpp2_number_active_tran' => '3GPP2-Number-Active-Transitions',
-  '3gpp2_originating_number' => '3GPP2-Originating-Number-SDBs',
-  '3gpp2_originating_sdb_oc' => '3GPP2-Originating-SDB-OCtet-Count',
-  '3gpp2_outbound_mobile_ip' => '3GPP2-Outbound-Mobile-IP-Sig-Octets',
-  '3gpp2_pcf_ip_address'     => '3GPP2-PCF-IP-Address',
-  '3gpp2_pre_shared_secret'  => '3GPP2-Pre-Shared-Secret',
-  '3gpp2_prepaid_acct_capab' => '3GPP2-Prepaid-acct-Capability',
-  '3gpp2_prepaid_acct_quota' => '3GPP2-Prepaid-Acct-Quota',
-  '3gpp2_prepaid_tariff_swi' => '3GPP2-PrePaid-Tariff-Switching',
-  '3gpp2_received_hdlc_octe' => '3GPP2-Received-HDLC-Octets',
-  '3gpp2_release_indicator'  => '3GPP2-Release-Indicator',
-  '3gpp2_remote_address_tab' => '3GPP2-Remote-Address-Table-Index',
-  '3gpp2_remote_ip_address'  => '3GPP2-Remote-IP-Address',
-  '3gpp2_remote_ipv4_addr_o' => '3GPP2-Remote-IPv4-Addr-Octet-Count',
-  '3gpp2_remote_ipv6_addres' => '3GPP2-Remote-IPv6-Address',
-  '3gpp2_remote_ipv6_octet_' => '3GPP2-Remote-IPv6-Octet-Count',
-  '3gpp2_reverse_dcch_mux_o' => '3GPP2-Reverse-DCCH-Mux-Option',
-  '3gpp2_reverse_dhhc_rc'    => '3GPP2-Reverse-DHHC-RC',
-  '3gpp2_reverse_fch_mux_op' => '3GPP2-Reverse-FCH-Mux-Option',
-  '3gpp2_reverse_fch_rc'     => '3GPP2-Reverse-FCH-RC',
-  '3gpp2_reverse_traffic_ty' => '3GPP2-Reverse-Traffic-Type',
-  '3gpp2_reverse_tunnel_spe' => '3GPP2-Reverse-Tunnel-Spec',
-  '3gpp2_rn_packet_data_ina' => '3GPP2-RN-Packet-Data-Inactivity-Timer',
-  '3gpp2_s_key'              => '3GPP2-S-Key',
-  '3gpp2_s_lifetime'         => '3GPP2-S-Lifetime',
-  '3gpp2_s_request'          => '3GPP2-S-Request',
-  '3gpp2_security_level'     => '3GPP2-Security-Level',
-  '3gpp2_service_option'     => '3GPP2-Service-Option',
-  '3gpp2_service_option_pro' => '3GPP2-Service-Option-Profile',
-  '3gpp2_service_reference_' => '3GPP2-Service-Reference-Id',
-  '3gpp2_session_continue'   => '3GPP2-Session-Continue',
-  '3gpp2_session_terminatio' => '3GPP2-Session-Termination-Capability',
-  '3gpp2_terminating_number' => '3GPP2-Terminating-Number-SDBs',
-  '3gpp2_terminating_sdb_oc' => '3GPP2-Terminating-SDB-Octet-Count',
-  '3gpp2_user_id'            => '3GPP2-User-Id',
-  '3gpp_charging_characteri' => '3GPP-Charging-Characteristics',
-  '3gpp_charging_gateway_ad' => '3GPP-Charging-Gateway-Address',
-  '3gpp_charging_gateway_ip' => '3GPP-Charging-Gateway-IPv6-Address',
-  '3gpp_charging_id'         => '3GPP-Charging-ID',
-  '3gpp_ggsn_address'        => '3GPP-GGSN-Address',
-  '3gpp_ggsn_ipv6_address'   => '3GPP-GGSN-IPv6-Address',
-  '3gpp_ggsn_mcc_mnc'        => '3GPP-GGSN-MCC-MNC',
-  '3gpp_gprs_negotiated_qos' => '3GPP-GPRS-Negotiated-QoS-profile',
-  '3gpp_imsi'                => '3GPP-IMSI',
-  '3gpp_imsi_mcc_mnc'        => '3GPP-IMSI-MCC-MNC',
-  '3gpp_ipv6_dns_servers'    => '3GPP-IPv6-DNS-Servers',
-  '3gpp_nsapi'               => '3GPP-NSAPI',
-  '3gpp_pdp_type'            => '3GPP-PDP-Type',
-  '3gpp_selection_mode'      => '3GPP-Selection-Mode',
-  '3gpp_session_stop_indica' => '3GPP-Session-Stop-Indicator',
-  '3gpp_sgsn_address'        => '3GPP-SGSN-Address',
-  '3gpp_sgsn_ipv6_address'   => '3GPP-SGSN-IPv6-Address',
-  'aat_assign_ip_pool'       => 'AAT-Assign-IP-Pool',
-  'aat_atm_direct'           => 'AAT-ATM-Direct',
-  'aat_atm_traffic_profile'  => 'AAT-ATM-Traffic-Profile',
-  'aat_atm_vci'              => 'AAT-ATM-VCI',
-  'aat_atm_vpi'              => 'AAT-ATM-VPI',
-  'aat_client_primary_dns'   => 'AAT-Client-Primary-DNS',
-  'aat_client_primary_wins_' => 'AAT-Client-Primary-WINS-NBNS',
-  'aat_client_secondary_win' => 'AAT-Client-Secondary-WINS-NBNS',
-  'aat_data_filter'          => 'AAT-Data-Filter',
-  'aat_input_octets_diff'    => 'AAT-Input-Octets-Diff',
-  'aat_ip_pool_definition'   => 'AAT-IP-Pool-Definition',
-  'aat_ip_tos'               => 'AAT-IP-TOS',
-  'aat_ip_tos_apply_to'      => 'AAT-IP-TOS-Apply-To',
-  'aat_ip_tos_precedence'    => 'AAT-IP-TOS-Precedence',
-  'aat_mcast_client'         => 'AAT-MCast-Client',
-  'aat_output_octets_diff'   => 'AAT-Output-Octets-Diff',
-  'aat_ppp_address'          => 'AAT-PPP-Address',
-  'aat_require_auth'         => 'AAT-Require-Auth',
-  'aat_source_ip_check'      => 'AAT-Source-IP-Check',
-  'aat_user_mac_address'     => 'AAT-User-MAC-Address',
-  'aat_vrouter_name'         => 'AAT-Vrouter-Name',
-  'acc_access_community'     => 'Acc-Access-Community',
-  'acc_access_partition'     => 'Acc-Access-Partition',
-  'acc_acct_on_off_reason'   => 'Acc-Acct-On-Off-Reason',
-  'acc_ace_token'            => 'Acc-Ace-Token',
-  'acc_ace_token_ttl'        => 'Acc-Ace-Token-Ttl',
-  'acc_apsm_oversubscribed'  => 'Acc-Apsm-Oversubscribed',
-  'acc_bridging_support'     => 'Acc-Bridging-Support',
-  'acc_callback_cbcp_type'   => 'Acc-Callback-CBCP-Type',
-  'acc_callback_delay'       => 'Acc-Callback-Delay',
-  'acc_callback_mode'        => 'Acc-Callback-Mode',
-  'acc_callback_num_valid'   => 'Acc-Callback-Num-Valid',
-  'acc_ccp_option'           => 'Acc-Ccp-Option',
-  'acc_clearing_cause'       => 'Acc-Clearing-Cause',
-  'acc_clearing_location'    => 'Acc-Clearing-Location',
-  'acc_connect_rx_speed'     => 'Acc-Connect-Rx-Speed',
-  'acc_connect_tx_speed'     => 'Acc-Connect-Tx-Speed',
-  'acc_customer_id'          => 'Acc-Customer-Id',
-  'acc_dial_port_index'      => 'Acc-Dial-Port-Index',
-  'acc_dialout_auth_mode'    => 'Acc-Dialout-Auth-Mode',
-  'acc_dialout_auth_passwor' => 'Acc-Dialout-Auth-Password',
-  'acc_dialout_auth_usernam' => 'Acc-Dialout-Auth-Username',
-  'acc_dns_server_pri'       => 'Acc-Dns-Server-Pri',
-  'acc_dns_server_sec'       => 'Acc-Dns-Server-Sec',
-  'acc_igmp_admin_state'     => 'Acc-Igmp-Admin-State',
-  'acc_igmp_version'         => 'Acc-Igmp-Version',
-  'acc_input_errors'         => 'Acc-Input-Errors',
-  'acc_ip_compression'       => 'Acc-Ip-Compression',
-  'acc_ip_gateway_pri'       => 'Acc-Ip-Gateway-Pri',
-  'acc_ip_gateway_sec'       => 'Acc-Ip-Gateway-Sec',
-  'acc_ip_pool_name'         => 'Acc-Ip-Pool-Name',
-  'acc_ipx_compression'      => 'Acc-Ipx-Compression',
-  'acc_ml_call_threshold'    => 'Acc-ML-Call-Threshold',
-  'acc_ml_clear_threshold'   => 'Acc-ML-Clear-Threshold',
-  'acc_ml_damping_factor'    => 'Acc-ML-Damping-Factor',
-  'acc_ml_mlx_admin_state'   => 'Acc-ML-MLX-Admin-State',
-  'acc_modem_error_protocol' => 'Acc-Modem-Error-Protocol',
-  'acc_modem_modulation_typ' => 'Acc-Modem-Modulation-Type',
-  'acc_nbns_server_pri'      => 'Acc-Nbns-Server-Pri',
-  'acc_nbns_server_sec'      => 'Acc-Nbns-Server-Sec',
-  'acc_output_errors'        => 'Acc-Output-Errors',
-  'acc_reason_code'          => 'Acc-Reason-Code',
-  'acc_request_type'         => 'Acc-Request-Type',
-  'acc_route_policy'         => 'Acc-Route-Policy',
-  'acc_service_profile'      => 'Acc-Service-Profile',
-  'acc_tunnel_port'          => 'Acc-Tunnel-Port',
-  'acc_tunnel_secret'        => 'Acc-Tunnel-Secret',
-  'acc_vpsm_reject_cause'    => 'Acc-Vpsm-Reject-Cause',
-  'acct_authentic'           => 'Acct-Authentic',
-  'acct_delay_time'          => 'Acct-Delay-Time',
-  'acct_dyn_ac_ent'          => 'Acct_Dyn_Ac_Ent',
-  'acct_dyn_ac_enu'          => 'Acct-Dyn-Ac-Ent',
-  'acct_input_gigawords'     => 'Acct-Input-Gigawords',
-  'acct_input_octets'        => 'Acct-Input-Octets',
-  'acct_input_octets_64'     => 'Acct_Input_Octets_64',
-  'acct_input_octets_65'     => 'Acct-Input-Octets-64',
-  'acct_input_packets'       => 'Acct-Input-Packets',
-  'acct_input_packets_64'    => 'Acct_Input_Packets_64',
-  'acct_input_packets_65'    => 'Acct-Input-Packets-64',
-  'acct_interim_interval'    => 'Acct-Interim-Interval',
-  'acct_link_count'          => 'Acct-Link-Count',
-  'acct_mcast_in_octets'     => 'Acct_Mcast_In_Octets',
-  'acct_mcast_in_octett'     => 'Acct-Mcast-In-Octets',
-  'acct_mcast_in_packets'    => 'Acct_Mcast_In_Packets',
-  'acct_mcast_in_packett'    => 'Acct-Mcast-In-Packets',
-  'acct_mcast_out_octets'    => 'Acct_Mcast_Out_Octets',
-  'acct_mcast_out_octett'    => 'Acct-Mcast-Out-Octets',
-  'acct_mcast_out_packets'   => 'Acct_Mcast_Out_Packets',
-  'acct_mcast_out_packett'   => 'Acct-Mcast-Out-Packets',
-  'acct_multi_session_id'    => 'Acct-Multi-Session-Id',
-  'acct_output_gigawords'    => 'Acct-Output-Gigawords',
-  'acct_output_octets'       => 'Acct-Output-Octets',
-  'acct_output_octets_64'    => 'Acct_Output_Octets_64',
-  'acct_output_octets_65'    => 'Acct-Output-Octets-64',
-  'acct_output_packets'      => 'Acct-Output-Packets',
-  'acct_output_packets_64'   => 'Acct_Output_Packets_64',
-  'acct_output_packets_65'   => 'Acct-Output-Packets-64',
-  'acct_session_gigawords'   => 'Acct-Session-Gigawords',
-  'acct_session_id'          => 'Acct-Session-Id',
-  'acct_session_input_gigaw' => 'Acct-Session-Input-Gigawords',
-  'acct_session_input_octet' => 'Acct-Session-Input-Octets',
-  'acct_session_octets'      => 'Acct-Session-Octets',
-  'acct_session_output_giga' => 'Acct-Session-Output-Gigawords',
-  'acct_session_output_octe' => 'Acct-Session-Output-Octets',
-  'acct_session_start_time'  => 'Acct-Session-Start-Time',
-  'acct_session_time'        => 'Acct-Session-Time',
-  'acct_status_type'         => 'Acct-Status-Type',
-  'acct_terminate_cause'     => 'Acct-Terminate-Cause',
-  'acct_tunnel_connection'   => 'Acct-Tunnel-Connection',
-  'acct_tunnel_packets_lost' => 'Acct-Tunnel-Packets-Lost',
-  'acct_type'                => 'Acct-Type',
-  'acct_unique_session_id'   => 'Acct-Unique-Session-Id',
-  'add_prefix'               => 'Add-Prefix',
-  'add_suffix'               => 'Add-Suffix',
-  'alteon_service_type'      => 'Alteon-Service-Type',
-  'altiga_access_hours_g_u'  => 'Altiga-Access-Hours-G/U',
-  'altiga_allow_alpha_only_' => 'Altiga-Allow-Alpha-Only-Passwords-G',
-  'altiga_ipsec_allow_passw' => 'Altiga-IPSec-Allow-Passwd-Store-G/U',
-  'altiga_ipsec_authenticat' => 'Altiga-IPSec-Authentication-G',
-  'altiga_ipsec_banner_g'    => 'Altiga-IPSec-Banner-G',
-  'altiga_ipsec_default_dom' => 'Altiga-IPSec-Default-Domain-G',
-  'altiga_ipsec_l2l_keepali' => 'Altiga-IPSec-L2L-Keepalives-G',
-  'altiga_ipsec_mode_config' => 'Altiga-IPSec-Mode-Config-G',
-  'altiga_ipsec_over_nat_g'  => 'Altiga-IPSec-Over-NAT-G',
-  'altiga_ipsec_over_nat_po' => 'Altiga-IPSec-Over-NAT-Port-Num-G',
-  'altiga_ipsec_sec_associa' => 'Altiga-IPSec-Sec-Association-G/U',
-  'altiga_ipsec_secondary_d' => 'Altiga-IPSec-Secondary-Domains-G',
-  'altiga_ipsec_split_tunne' => 'Altiga-IPSec-Split-Tunnel-List-G',
-  'altiga_ipsec_tunnel_type' => 'Altiga-IPSec-Tunnel-Type-G',
-  'altiga_ipsec_user_group_' => 'Altiga-IPSec-User-Group-Lock-G',
-  'altiga_l2tp_encryption_g' => 'Altiga-L2TP-Encryption-G',
-  'altiga_l2tp_min_authenti' => 'Altiga-L2TP-Min-Authentication-G/U',
-  'altiga_min_password_leng' => 'Altiga-Min-Password-Length-G',
-  'altiga_pptp_encryption_g' => 'Altiga-PPTP-Encryption-G',
-  'altiga_pptp_min_authenti' => 'Altiga-PPTP-Min-Authentication-G/U',
-  'altiga_primary_dns_g'     => 'Altiga-Primary-DNS-G',
-  'altiga_primary_wins_g'    => 'Altiga-Primary-WINS-G',
-  'altiga_priority_on_sep_g' => 'Altiga-Priority-on-SEP-G/U',
-  'altiga_secondary_dns_g'   => 'Altiga-Secondary-DNS-G',
-  'altiga_secondary_wins_g'  => 'Altiga-Secondary-WINS-G',
-  'altiga_sep_card_assignme' => 'Altiga-SEP-Card-Assignment-G/U',
-  'altiga_simultaneous_logi' => 'Altiga-Simultaneous-Logins-G/U',
-  'altiga_tunneling_protoco' => 'Altiga-Tunneling-Protocols-G/U',
-  'altiga_use_client_addres' => 'Altiga-Use-Client-Address-G/U',
-  'annex_acct_servers'       => 'Annex-Acct-Servers',
-  'annex_addr_resolution_pr' => 'Annex-Addr-Resolution-Protocol',
-  'annex_addr_resolution_se' => 'Annex-Addr-Resolution-Servers',
-  'annex_audit_level'        => 'Annex-Audit-Level',
-  'annex_authen_servers'     => 'Annex-Authen-Servers',
-  'annex_begin_modulation'   => 'Annex-Begin-Modulation',
-  'annex_begin_receive_line' => 'Annex-Begin-Receive-Line-Level',
-  'annex_callback_portlist'  => 'Annex-Callback-Portlist',
-  'annex_cli_command'        => 'Annex-CLI-Command',
-  'annex_cli_filter'         => 'Annex-CLI-Filter',
-  'annex_compression_protoc' => 'Annex-Compression-Protocol',
-  'annex_connect_progress'   => 'Annex-Connect-Progress',
-  'annex_disconnect_reason'  => 'Annex-Disconnect-Reason',
-  'annex_domain_name'        => 'Annex-Domain-Name',
-  'annex_edo'                => 'Annex-EDO',
-  'annex_end_modulation'     => 'Annex-End-Modulation',
-  'annex_end_receive_line_l' => 'Annex-End-Receive-Line-Level',
-  'annex_error_correction_p' => 'Annex-Error-Correction-Prot',
-  'annex_filter'             => 'Annex-Filter',
-  'annex_host_allow'         => 'Annex-Host-Allow',
-  'annex_host_restrict'      => 'Annex-Host-Restrict',
-  'annex_input_filter'       => 'Annex-Input-Filter',
-  'annex_keypress_timeout'   => 'Annex-Keypress-Timeout',
-  'annex_local_ip_address'   => 'Annex-Local-IP-Address',
-  'annex_local_username'     => 'Annex-Local-Username',
-  'annex_logical_channel_nu' => 'Annex-Logical-Channel-Number',
-  'annex_maximum_call_durat' => 'Annex-Maximum-Call-Duration',
-  'annex_modem_disc_reason'  => 'Annex-Modem-Disc-Reason',
-  'annex_mrru'               => 'Annex-MRRU',
-  'annex_multicast_rate_lim' => 'Annex-Multicast-Rate-Limit',
-  'annex_multilink_id'       => 'Annex-Multilink-Id',
-  'annex_num_in_multilink'   => 'Annex-Num-In-Multilink',
-  'annex_output_filter'      => 'Annex-Output-Filter',
-  'annex_pool_id'            => 'Annex-Pool-Id',
-  'annex_port'               => 'Annex-Port',
-  'annex_ppp_trace_level'    => 'Annex-PPP-Trace-Level',
-  'annex_pre_input_octets'   => 'Annex-Pre-Input-Octets',
-  'annex_pre_input_packets'  => 'Annex-Pre-Input-Packets',
-  'annex_pre_output_octets'  => 'Annex-Pre-Output-Octets',
-  'annex_pre_output_packets' => 'Annex-Pre-Output-Packets',
-  'annex_primary_dns_server' => 'Annex-Primary-DNS-Server',
-  'annex_primary_nbns_serve' => 'Annex-Primary-NBNS-Server',
-  'annex_product_name'       => 'Annex-Product-Name',
-  'annex_rate_reneg_req_rcv' => 'Annex-Rate-Reneg-Req-Rcvd',
-  'annex_rate_reneg_req_sen' => 'Annex-Rate-Reneg-Req-Sent',
-  'annex_re_chap_timeout'    => 'Annex-Re-CHAP-Timeout',
-  'annex_receive_speed'      => 'Annex-Receive-Speed',
-  'annex_retrain_requests_r' => 'Annex-Retrain-Requests-Rcvd',
-  'annex_retrain_requests_s' => 'Annex-Retrain-Requests-Sent',
-  'annex_retransmitted_pack' => 'Annex-Retransmitted-Packets',
-  'annex_sec_profile_index'  => 'Annex-Sec-Profile-Index',
-  'annex_secondary_dns_serv' => 'Annex-Secondary-DNS-Server',
-  'annex_secondary_nbns_ser' => 'Annex-Secondary-NBNS-Server',
-  'annex_signal_to_noise_ra' => 'Annex-Signal-to-Noise-Ratio',
-  'annex_sw_version'         => 'Annex-SW-Version',
-  'annex_syslog_tap'         => 'Annex-Syslog-Tap',
-  'annex_system_disc_reason' => 'Annex-System-Disc-Reason',
-  'annex_transmit_speed'     => 'Annex-Transmit-Speed',
-  'annex_transmitted_packet' => 'Annex-Transmitted-Packets',
-  'annex_tunnel_authen_mode' => 'Annex-Tunnel-Authen-Mode',
-  'annex_tunnel_authen_type' => 'Annex-Tunnel-Authen-Type',
-  'annex_unauthenticated_ti' => 'Annex-Unauthenticated-Time',
-  'annex_user_level'         => 'Annex-User-Level',
-  'annex_user_server_locati' => 'Annex-User-Server-Location',
-  'annex_wan_number'         => 'Annex-Wan-Number',
-  'arap_challenge_response'  => 'ARAP-Challenge-Response',
-  'arap_features'            => 'ARAP-Features',
-  'arap_password'            => 'ARAP-Password',
-  'arap_security'            => 'ARAP-Security',
-  'arap_security_data'       => 'ARAP-Security-Data',
-  'arap_zone_access'         => 'ARAP-Zone-Access',
-  'ascend_access_intercept_' => 'Ascend-Access-Intercept-LEA',
-  'ascend_access_intercepta' => 'Ascend-Access-Intercept-Log',
-  'ascend_add_seconds'       => 'Ascend-Add-Seconds',
-  'ascend_appletalk_peer_mo' => 'Ascend-Appletalk-Peer-Mode',
-  'ascend_appletalk_route'   => 'Ascend-Appletalk-Route',
-  'ascend_ara_pw'            => 'Ascend-Ara-PW',
-  'ascend_assign_ip_client'  => 'Ascend-Assign-IP-Client',
-  'ascend_assign_ip_global_' => 'Ascend-Assign-IP-Global-Pool',
-  'ascend_assign_ip_pool'    => 'Ascend-Assign-IP-Pool',
-  'ascend_assign_ip_server'  => 'Ascend-Assign-IP-Server',
-  'ascend_atm_connect_group' => 'Ascend-ATM-Connect-Group',
-  'ascend_atm_connect_vci'   => 'Ascend-ATM-Connect-Vci',
-  'ascend_atm_connect_vpi'   => 'Ascend-ATM-Connect-Vpi',
-  'ascend_atm_direct'        => 'Ascend-ATM-Direct',
-  'ascend_atm_direct_profil' => 'Ascend-ATM-Direct-Profile',
-  'ascend_atm_fault_managem' => 'Ascend-ATM-Fault-Management',
-  'ascend_atm_group'         => 'Ascend-ATM-Group',
-  'ascend_atm_loopback_cell' => 'Ascend-ATM-Loopback-Cell-Loss',
-  'ascend_atm_vci'           => 'Ascend-ATM-Vci',
-  'ascend_atm_vpi'           => 'Ascend-ATM-Vpi',
-  'ascend_auth_delay'        => 'Ascend-Auth-Delay',
-  'ascend_auth_type'         => 'Ascend-Auth-Type',
-  'ascend_authen_alias'      => 'Ascend-Authen-Alias',
-  'ascend_backup'            => 'Ascend-Backup',
-  'ascend_bacp_enable'       => 'Ascend-BACP-Enable',
-  'ascend_base_channel_coun' => 'Ascend-Base-Channel-Count',
-  'ascend_bi_directional_au' => 'Ascend-Bi-Directional-Auth',
-  'ascend_billing_number'    => 'Ascend-Billing-Number',
-  'ascend_bir_bridge_group'  => 'Ascend-BIR-Bridge-Group',
-  'ascend_bir_enable'        => 'Ascend-BIR-Enable',
-  'ascend_bir_proxy'         => 'Ascend-BIR-Proxy',
-  'ascend_bridge'            => 'Ascend-Bridge',
-  'ascend_bridge_address'    => 'Ascend-Bridge-Address',
-  'ascend_bridge_non_pppoe'  => 'Ascend-Bridge-Non-PPPoE',
-  'ascend_cache_refresh'     => 'Ascend-Cache-Refresh',
-  'ascend_cache_time'        => 'Ascend-Cache-Time',
-  'ascend_call_attempt_limi' => 'Ascend-Call-Attempt-Limit',
-  'ascend_call_block_durati' => 'Ascend-Call-Block-Duration',
-  'ascend_call_by_call'      => 'Ascend-Call-By-Call',
-  'ascend_call_direction'    => 'Ascend-Call-Direction',
-  'ascend_call_filter'       => 'Ascend-Call-Filter',
-  'ascend_call_type'         => 'Ascend-Call-Type',
-  'ascend_callback'          => 'Ascend-Callback',
-  'ascend_callback_delay'    => 'Ascend-Callback-Delay',
-  'ascend_calling_id_number' => 'Ascend-Calling-Id-Number-Plan',
-  'ascend_calling_id_presen' => 'Ascend-Calling-Id-Presentatn',
-  'ascend_calling_id_screen' => 'Ascend-Calling-Id-Screening',
-  'ascend_calling_id_type_o' => 'Ascend-Calling-Id-Type-Of-Num',
-  'ascend_calling_subaddres' => 'Ascend-Calling-Subaddress',
-  'ascend_cbcp_delay'        => 'Ascend-CBCP-Delay',
-  'ascend_cbcp_enable'       => 'Ascend-CBCP-Enable',
-  'ascend_cbcp_mode'         => 'Ascend-CBCP-Mode',
-  'ascend_cbcp_trunk_group'  => 'Ascend-CBCP-Trunk-Group',
-  'ascend_cir_timer'         => 'Ascend-CIR-Timer',
-  'ascend_ckt_type'          => 'Ascend-Ckt-Type',
-  'ascend_client_assign_dns' => 'Ascend-Client-Assign-DNS',
-  'ascend_client_assign_win' => 'Ascend-Client-Assign-WINS',
-  'ascend_client_gateway'    => 'Ascend-Client-Gateway',
-  'ascend_client_primary_dn' => 'Ascend-Client-Primary-DNS',
-  'ascend_client_primary_wi' => 'Ascend-Client-Primary-WINS',
-  'ascend_client_secondary_' => 'Ascend-Client-Secondary-WINS',
-  'ascend_client_secondarya' => 'Ascend-Client-Secondary-DNS',
-  'ascend_connect_progress'  => 'Ascend-Connect-Progress',
-  'ascend_data_filter'       => 'Ascend-Data-Filter',
-  'ascend_data_rate'         => 'Ascend-Data-Rate',
-  'ascend_data_svc'          => 'Ascend-Data-Svc',
-  'ascend_dba_monitor'       => 'Ascend-DBA-Monitor',
-  'ascend_dec_channel_count' => 'Ascend-Dec-Channel-Count',
-  'ascend_destination_nas_p' => 'Ascend-Destination-Nas-Port',
-  'ascend_dhcp_maximum_leas' => 'Ascend-DHCP-Maximum-Leases',
-  'ascend_dhcp_pool_number'  => 'Ascend-DHCP-Pool-Number',
-  'ascend_dhcp_reply'        => 'Ascend-DHCP-Reply',
-  'ascend_dial_number'       => 'Ascend-Dial-Number',
-  'ascend_dialed_number'     => 'Ascend-Dialed-Number',
-  'ascend_dialout_allowed'   => 'Ascend-Dialout-Allowed',
-  'ascend_disconnect_cause'  => 'Ascend-Disconnect-Cause',
-  'ascend_dropped_octets'    => 'Ascend-Dropped-Octets',
-  'ascend_dropped_packets'   => 'Ascend-Dropped-Packets',
-  'ascend_dsl_cir_recv_limi' => 'Ascend-Dsl-CIR-Recv-Limit',
-  'ascend_dsl_cir_xmit_limi' => 'Ascend-Dsl-CIR-Xmit-Limit',
-  'ascend_dsl_downstream_li' => 'Ascend-Dsl-Downstream-Limit',
-  'ascend_dsl_rate_mode'     => 'Ascend-Dsl-Rate-Mode',
-  'ascend_dsl_rate_type'     => 'Ascend-Dsl-Rate-Type',
-  'ascend_dsl_upstream_limi' => 'Ascend-Dsl-Upstream-Limit',
-  'ascend_egress_enabled'    => 'Ascend-Egress-Enabled',
-  'ascend_endpoint_disc'     => 'Ascend-Endpoint-Disc',
-  'ascend_event_type'        => 'Ascend-Event-Type',
-  'ascend_expect_callback'   => 'Ascend-Expect-Callback',
-  'ascend_fcp_parameter'     => 'Ascend-FCP-Parameter',
-  'ascend_filter'            => 'Ascend-Filter',
-  'ascend_filter_required'   => 'Ascend-Filter-Required',
-  'ascend_first_dest'        => 'Ascend-First-Dest',
-  'ascend_force_56'          => 'Ascend-Force-56',
-  'ascend_fr_08_mode'        => 'Ascend-FR-08-Mode',
-  'ascend_fr_circuit_name'   => 'Ascend-FR-Circuit-Name',
-  'ascend_fr_dce_n392'       => 'Ascend-FR-DCE-N392',
-  'ascend_fr_dce_n393'       => 'Ascend-FR-DCE-N393',
-  'ascend_fr_direct'         => 'Ascend-FR-Direct',
-  'ascend_fr_direct_dlci'    => 'Ascend-FR-Direct-DLCI',
-  'ascend_fr_direct_profile' => 'Ascend-FR-Direct-Profile',
-  'ascend_fr_dlci'           => 'Ascend-FR-DLCI',
-  'ascend_fr_dte_n392'       => 'Ascend-FR-DTE-N392',
-  'ascend_fr_dte_n393'       => 'Ascend-FR-DTE-N393',
-  'ascend_fr_link_mgt'       => 'Ascend-FR-Link-Mgt',
-  'ascend_fr_link_status_dl' => 'Ascend-FR-Link-Status-DLCI',
-  'ascend_fr_linkup'         => 'Ascend-FR-LinkUp',
-  'ascend_fr_n391'           => 'Ascend-FR-N391',
-  'ascend_fr_nailed_grp'     => 'Ascend-FR-Nailed-Grp',
-  'ascend_fr_profile_name'   => 'Ascend-FR-Profile-Name',
-  'ascend_fr_svc_addr'       => 'Ascend-FR-SVC-Addr',
-  'ascend_fr_t391'           => 'Ascend-FR-T391',
-  'ascend_fr_t392'           => 'Ascend-FR-T392',
-  'ascend_fr_type'           => 'Ascend-FR-Type',
-  'ascend_ft1_caller'        => 'Ascend-FT1-Caller',
-  'ascend_global_call_id'    => 'Ascend-Global-Call-Id',
-  'ascend_group'             => 'Ascend-Group',
-  'ascend_h323_conference_i' => 'Ascend-H323-Conference-Id',
-  'ascend_h323_dialed_time'  => 'Ascend-H323-Dialed-Time',
-  'ascend_h323_fegw_address' => 'Ascend-H323-Fegw-Address',
-  'ascend_h323_gatekeeper'   => 'Ascend-H323-Gatekeeper',
-  'ascend_handle_ipx'        => 'Ascend-Handle-IPX',
-  'ascend_history_weigh_typ' => 'Ascend-History-Weigh-Type',
-  'ascend_home_agent_ip_add' => 'Ascend-Home-Agent-IP-Addr',
-  'ascend_home_agent_passwo' => 'Ascend-Home-Agent-Password',
-  'ascend_home_agent_udp_po' => 'Ascend-Home-Agent-UDP-Port',
-  'ascend_home_network_name' => 'Ascend-Home-Network-Name',
-  'ascend_host_info'         => 'Ascend-Host-Info',
-  'ascend_idle_limit'        => 'Ascend-Idle-Limit',
-  'ascend_if_netmask'        => 'Ascend-IF-Netmask',
-  'ascend_inc_channel_count' => 'Ascend-Inc-Channel-Count',
-  'ascend_inter_arrival_jit' => 'Ascend-Inter-Arrival-Jitter',
-  'ascend_ip_direct'         => 'Ascend-IP-Direct',
-  'ascend_ip_pool_chaining'  => 'Ascend-IP-Pool-Chaining',
-  'ascend_ip_pool_definitio' => 'Ascend-IP-Pool-Definition',
-  'ascend_ip_tos'            => 'Ascend-IP-TOS',
-  'ascend_ip_tos_apply_to'   => 'Ascend-IP-TOS-Apply-To',
-  'ascend_ip_tos_precedence' => 'Ascend-IP-TOS-Precedence',
-  'ascend_ipsec_profile'     => 'Ascend-IPSEC-Profile',
-  'ascend_ipx_alias'         => 'Ascend-IPX-Alias',
-  'ascend_ipx_header_compre' => 'Ascend-IPX-Header-Compression',
-  'ascend_ipx_node_addr'     => 'Ascend-IPX-Node-Addr',
-  'ascend_ipx_peer_mode'     => 'Ascend-IPX-Peer-Mode',
-  'ascend_ipx_route'         => 'Ascend-IPX-Route',
-  'ascend_link_compression'  => 'Ascend-Link-Compression',
-  'ascend_max_shared_users'  => 'Ascend-Max-Shared-Users',
-  'ascend_maximum_call_dura' => 'Ascend-Maximum-Call-Duration',
-  'ascend_maximum_channels'  => 'Ascend-Maximum-Channels',
-  'ascend_maximum_time'      => 'Ascend-Maximum-Time',
-  'ascend_menu_item'         => 'Ascend-Menu-Item',
-  'ascend_menu_selector'     => 'Ascend-Menu-Selector',
-  'ascend_metric'            => 'Ascend-Metric',
-  'ascend_minimum_channels'  => 'Ascend-Minimum-Channels',
-  'ascend_modem_portno'      => 'Ascend-Modem-PortNo',
-  'ascend_modem_shelfno'     => 'Ascend-Modem-ShelfNo',
-  'ascend_modem_slotno'      => 'Ascend-Modem-SlotNo',
-  'ascend_mpp_idle_percent'  => 'Ascend-MPP-Idle-Percent',
-  'ascend_mtu'               => 'Ascend-MTU',
-  'ascend_multicast_client'  => 'Ascend-Multicast-Client',
-  'ascend_multicast_gleave_' => 'Ascend-Multicast-GLeave-Delay',
-  'ascend_multicast_rate_li' => 'Ascend-Multicast-Rate-Limit',
-  'ascend_multilink_id'      => 'Ascend-Multilink-ID',
-  'ascend_nas_port_format'   => 'Ascend-NAS-Port-Format',
-  'ascend_netware_timeout'   => 'Ascend-Netware-timeout',
-  'ascend_num_in_multilink'  => 'Ascend-Num-In-Multilink',
-  'ascend_number_sessions'   => 'Ascend-Number-Sessions',
-  'ascend_numbering_plan_id' => 'Ascend-Numbering-Plan-ID',
-  'ascend_owner_ip_addr'     => 'Ascend-Owner-IP-Addr',
-  'ascend_port_redir_portnu' => 'Ascend-Port-Redir-Portnum',
-  'ascend_port_redir_protoc' => 'Ascend-Port-Redir-Protocol',
-  'ascend_port_redir_server' => 'Ascend-Port-Redir-Server',
-  'ascend_ppp_address'       => 'Ascend-PPP-Address',
-  'ascend_ppp_async_map'     => 'Ascend-PPP-Async-Map',
-  'ascend_ppp_vj_1172'       => 'Ascend-PPP-VJ-1172',
-  'ascend_ppp_vj_slot_comp'  => 'Ascend-PPP-VJ-Slot-Comp',
-  'ascend_pppoe_enable'      => 'Ascend-PPPoE-Enable',
-  'ascend_pre_input_octets'  => 'Ascend-Pre-Input-Octets',
-  'ascend_pre_input_packets' => 'Ascend-Pre-Input-Packets',
-  'ascend_pre_output_octets' => 'Ascend-Pre-Output-Octets',
-  'ascend_pre_output_packet' => 'Ascend-Pre-Output-Packets',
-  'ascend_preempt_limit'     => 'Ascend-Preempt-Limit',
-  'ascend_presession_time'   => 'Ascend-PreSession-Time',
-  'ascend_pri_number_type'   => 'Ascend-PRI-Number-Type',
-  'ascend_primary_home_agen' => 'Ascend-Primary-Home-Agent',
-  'ascend_private_route'     => 'Ascend-Private-Route',
-  'ascend_private_route_req' => 'Ascend-Private-Route-Required',
-  'ascend_private_route_tab' => 'Ascend-Private-Route-Table-ID',
-  'ascend_pw_lifetime'       => 'Ascend-PW-Lifetime',
-  'ascend_pw_warntime'       => 'Ascend-PW-Warntime',
-  'ascend_qos_downstream'    => 'Ascend-QOS-Downstream',
-  'ascend_qos_upstream'      => 'Ascend-QOS-Upstream',
-  'ascend_receive_secret'    => 'Ascend-Receive-Secret',
-  'ascend_recv_name'         => 'Ascend-Recv-Name',
-  'ascend_redirect_number'   => 'Ascend-Redirect-Number',
-  'ascend_remote_addr'       => 'Ascend-Remote-Addr',
-  'ascend_remote_fw'         => 'Ascend-Remote-FW',
-  'ascend_remove_seconds'    => 'Ascend-Remove-Seconds',
-  'ascend_require_auth'      => 'Ascend-Require-Auth',
-  'ascend_route_appletalk'   => 'Ascend-Route-Appletalk',
-  'ascend_route_ip'          => 'Ascend-Route-IP',
-  'ascend_route_ipx'         => 'Ascend-Route-IPX',
-  'ascend_secondary_home_ag' => 'Ascend-Secondary-Home-Agent',
-  'ascend_seconds_of_histor' => 'Ascend-Seconds-Of-History',
-  'ascend_send_auth'         => 'Ascend-Send-Auth',
-  'ascend_send_passwd'       => 'Ascend-Send-Passwd',
-  'ascend_send_secret'       => 'Ascend-Send-Secret',
-  'ascend_service_type'      => 'Ascend-Service-Type',
-  'ascend_session_svr_key'   => 'Ascend-Session-Svr-Key',
-  'ascend_session_type'      => 'Ascend-Session-Type',
-  'ascend_shared_profile_en' => 'Ascend-Shared-Profile-Enable',
-  'ascend_source_auth'       => 'Ascend-Source-Auth',
-  'ascend_source_ip_check'   => 'Ascend-Source-IP-Check',
-  'ascend_svc_enabled'       => 'Ascend-SVC-Enabled',
-  'ascend_target_util'       => 'Ascend-Target-Util',
-  'ascend_telnet_profile'    => 'Ascend-Telnet-Profile',
-  'ascend_temporary_rtes'    => 'Ascend-Temporary-Rtes',
-  'ascend_third_prompt'      => 'Ascend-Third-Prompt',
-  'ascend_token_expiry'      => 'Ascend-Token-Expiry',
-  'ascend_token_idle'        => 'Ascend-Token-Idle',
-  'ascend_token_immediate'   => 'Ascend-Token-Immediate',
-  'ascend_traffic_shaper'    => 'Ascend-Traffic-Shaper',
-  'ascend_transit_number'    => 'Ascend-Transit-Number',
-  'ascend_ts_idle_limit'     => 'Ascend-TS-Idle-Limit',
-  'ascend_ts_idle_mode'      => 'Ascend-TS-Idle-Mode',
-  'ascend_tunnel_vrouter_na' => 'Ascend-Tunnel-VRouter-Name',
-  'ascend_tunneling_protoco' => 'Ascend-Tunneling-Protocol',
-  'ascend_user_acct_base'    => 'Ascend-User-Acct-Base',
-  'ascend_user_acct_host'    => 'Ascend-User-Acct-Host',
-  'ascend_user_acct_key'     => 'Ascend-User-Acct-Key',
-  'ascend_user_acct_port'    => 'Ascend-User-Acct-Port',
-  'ascend_user_acct_time'    => 'Ascend-User-Acct-Time',
-  'ascend_user_acct_type'    => 'Ascend-User-Acct-Type',
-  'ascend_uu_info'           => 'Ascend-UU-Info',
-  'ascend_vrouter_name'      => 'Ascend-VRouter-Name',
-  'ascend_x25_cug'           => 'Ascend-X25-Cug',
-  'ascend_x25_nui'           => 'Ascend-X25-Nui',
-  'ascend_x25_nui_password_' => 'Ascend-X25-Nui-Password-Prompt',
-  'ascend_x25_nui_prompt'    => 'Ascend-X25-Nui-Prompt',
-  'ascend_x25_pad_alias_1'   => 'Ascend-X25-Pad-Alias-1',
-  'ascend_x25_pad_alias_2'   => 'Ascend-X25-Pad-Alias-2',
-  'ascend_x25_pad_alias_3'   => 'Ascend-X25-Pad-Alias-3',
-  'ascend_x25_pad_banner'    => 'Ascend-X25-Pad-Banner',
-  'ascend_x25_pad_prompt'    => 'Ascend-X25-Pad-Prompt',
-  'ascend_x25_pad_x3_parame' => 'Ascend-X25-Pad-X3-Parameters',
-  'ascend_x25_pad_x3_profil' => 'Ascend-X25-Pad-X3-Profile',
-  'ascend_x25_profile_name'  => 'Ascend-X25-Profile-Name',
-  'ascend_x25_reverse_charg' => 'Ascend-X25-Reverse-Charging',
-  'ascend_x25_rpoa'          => 'Ascend-X25-Rpoa',
-  'ascend_x25_x121_address'  => 'Ascend-X25-X121-Address',
-  'ascend_xmit_rate'         => 'Ascend-Xmit-Rate',
-  'assigned_ip_address'      => 'Assigned_IP_Address',
-  'assigned_ip_addrest'      => 'Assigned-IP-Address',
-  'auth_type'                => 'Auth-Type',
-  'autz_type'                => 'Autz-Type',
-  'bg_aging_time'            => 'BG_Aging_Time',
-  'bg_aging_timf'            => 'BG-Aging-Time',
-  'bg_path_cost'             => 'BG_Path_Cost',
-  'bg_path_cosu'             => 'BG-Path-Cost',
-  'bg_span_dis'              => 'BG_Span_Dis',
-  'bg_span_dit'              => 'BG-Span-Dis',
-  'bg_trans_bpdu'            => 'BG_Trans_BPDU',
-  'bg_trans_bpdv'            => 'BG-Trans-BPDU',
-  'bind_auth_context'        => 'Bind_Auth_Context',
-  'bind_auth_contexu'        => 'Bind-Auth-Context',
-  'bind_auth_max_sessions'   => 'Bind_Auth_Max_Sessions',
-  'bind_auth_max_sessiont'   => 'Bind-Auth-Max-Sessions',
-  'bind_auth_protocol'       => 'Bind_Auth_Protocol',
-  'bind_auth_protocom'       => 'Bind-Auth-Protocol',
-  'bind_auth_service_grp'    => 'Bind_Auth_Service_Grp',
-  'bind_auth_service_grq'    => 'Bind-Auth-Service-Grp',
-  'bind_bypass_bypass'       => 'Bind_Bypass_Bypass',
-  'bind_bypass_bypast'       => 'Bind-Bypass-Bypass',
-  'bind_bypass_context'      => 'Bind_Bypass_Context',
-  'bind_bypass_contexu'      => 'Bind-Bypass-Context',
-  'bind_dot1q_port'          => 'Bind_Dot1q_Port',
-  'bind_dot1q_poru'          => 'Bind-Dot1q-Port',
-  'bind_dot1q_slot'          => 'Bind_Dot1q_Slot',
-  'bind_dot1q_slou'          => 'Bind-Dot1q-Slot',
-  'bind_dot1q_vlan_tag_id'   => 'Bind_Dot1q_Vlan_Tag_Id',
-  'bind_dot1q_vlan_tag_ie'   => 'Bind-Dot1q-Vlan-Tag-Id',
-  'bind_int_context'         => 'Bind_Int_Context',
-  'bind_int_contexu'         => 'Bind-Int-Context',
-  'bind_int_interface_name'  => 'Bind_Int_Interface_Name',
-  'bind_int_interface_namf'  => 'Bind-Int-Interface-Name',
-  'bind_l2tp_flow_control'   => 'Bind_L2TP_Flow_Control',
-  'bind_l2tp_flow_controm'   => 'Bind-L2TP-Flow-Control',
-  'bind_l2tp_tunnel_name'    => 'Bind_L2TP_Tunnel_Name',
-  'bind_l2tp_tunnel_namf'    => 'Bind-L2TP-Tunnel-Name',
-  'bind_ses_context'         => 'Bind_Ses_Context',
-  'bind_ses_contexu'         => 'Bind-Ses-Context',
-  'bind_sub_password'        => 'Bind_Sub_Password',
-  'bind_sub_passwore'        => 'Bind-Sub-Password',
-  'bind_sub_user_at_context' => 'Bind_Sub_User_At_Context',
-  'bind_sub_user_at_contexu' => 'Bind-Sub-User-At-Context',
-  'bind_tun_context'         => 'Bind_Tun_Context',
-  'bind_tun_contexu'         => 'Bind-Tun-Context',
-  'bind_type'                => 'Bind_Type',
-  'bind_typf'                => 'Bind-Type',
-  'bintec_bibodialtable'     => 'BinTec-biboDialTable',
-  'bintec_biboppptable'      => 'BinTec-biboPPPTable',
-  'bintec_ipextiftable'      => 'BinTec-ipExtIfTable',
-  'bintec_ipextrttable'      => 'BinTec-ipExtRtTable',
-  'bintec_ipfiltertable'     => 'BinTec-ipFilterTable',
-  'bintec_ipnatpresettable'  => 'BinTec-ipNatPresetTable',
-  'bintec_ipqostable'        => 'BinTec-ipQoSTable',
-  'bintec_iproutetable'      => 'BinTec-ipRouteTable',
-  'bintec_ipxcirctable'      => 'BinTec-ipxCircTable',
-  'bintec_ipxstaticroutetab' => 'BinTec-ipxStaticRouteTable',
-  'bintec_ipxstaticservtabl' => 'BinTec-ipxStaticServTable',
-  'bintec_ospfiftable'       => 'BinTec-ospfIfTable',
-  'bintec_pppextiftable'     => 'BinTec-pppExtIfTable',
-  'bintec_qosiftable'        => 'BinTec-qosIfTable',
-  'bintec_qospolicytable'    => 'BinTec-qosPolicyTable',
-  'bintec_ripcirctable'      => 'BinTec-ripCircTable',
-  'bintec_sapcirctable'      => 'BinTec-sapCircTable',
-  'bridge_group'             => 'Bridge_Group',
-  'bridge_grouq'             => 'Bridge-Group',
-  'cabletron_protocol_calla' => 'Cabletron-Protocol-Callable',
-  'cabletron_protocol_enabl' => 'Cabletron-Protocol-Enable',
-  'call_id'                  => 'call-id',
-  'callback_id'              => 'Callback-Id',
-  'callback_number'          => 'Callback-Number',
-  'called_station_id'        => 'Called-Station-Id',
-  'caller_id'                => 'Caller-ID',
-  'calling_station_id'       => 'Calling-Station-Id',
-  'cbbsm_bandwidth'          => 'CBBSM-Bandwidth',
-  'challenge_state'          => 'Challenge-State',
-  'chap_challenge'           => 'CHAP-Challenge',
-  'chap_password'            => 'CHAP-Password',
-  'char_noecho'              => 'Char-Noecho',
-  'cisco_abort_cause'        => 'Cisco-Abort-Cause',
-  'cisco_account_info'       => 'Cisco-Account-Info',
-  'cisco_assign_ip_pool'     => 'Cisco-Assign-IP-Pool',
-  'cisco_avpair'             => 'Cisco-AVPair',
-  'cisco_call_filter'        => 'Cisco-Call-Filter',
-  'cisco_call_type'          => 'Cisco-Call-Type',
-  'cisco_command_code'       => 'Cisco-Command-Code',
-  'cisco_control_info'       => 'Cisco-Control-Info',
-  'cisco_data_filter'        => 'Cisco-Data-Filter',
-  'cisco_data_rate'          => 'Cisco-Data-Rate',
-  'cisco_disconnect_cause'   => 'Cisco-Disconnect-Cause',
-  'cisco_email_server_ack_f' => 'Cisco-Email-Server-Ack-Flag',
-  'cisco_email_server_addre' => 'Cisco-Email-Server-Address',
-  'cisco_fax_account_id_ori' => 'Cisco-Fax-Account-Id-Origin',
-  'cisco_fax_auth_status'    => 'Cisco-Fax-Auth-Status',
-  'cisco_fax_connect_speed'  => 'Cisco-Fax-Connect-Speed',
-  'cisco_fax_coverpage_flag' => 'Cisco-Fax-Coverpage-Flag',
-  'cisco_fax_dsn_address'    => 'Cisco-Fax-Dsn-Address',
-  'cisco_fax_dsn_flag'       => 'Cisco-Fax-Dsn-Flag',
-  'cisco_fax_mdn_address'    => 'Cisco-Fax-Mdn-Address',
-  'cisco_fax_mdn_flag'       => 'Cisco-Fax-Mdn-Flag',
-  'cisco_fax_modem_time'     => 'Cisco-Fax-Modem-Time',
-  'cisco_fax_msg_id'         => 'Cisco-Fax-Msg-Id',
-  'cisco_fax_pages'          => 'Cisco-Fax-Pages',
-  'cisco_fax_process_abort_' => 'Cisco-Fax-Process-Abort-Flag',
-  'cisco_fax_recipient_coun' => 'Cisco-Fax-Recipient-Count',
-  'cisco_gateway_id'         => 'Cisco-Gateway-Id',
-  'cisco_idle_limit'         => 'Cisco-Idle-Limit',
-  'cisco_ip_direct'          => 'Cisco-IP-Direct',
-  'cisco_ip_pool_definition' => 'Cisco-IP-Pool-Definition',
-  'cisco_link_compression'   => 'Cisco-Link-Compression',
-  'cisco_maximum_channels'   => 'Cisco-Maximum-Channels',
-  'cisco_maximum_time'       => 'Cisco-Maximum-Time',
-  'cisco_multilink_id'       => 'Cisco-Multilink-ID',
-  'cisco_nas_port'           => 'Cisco-NAS-Port',
-  'cisco_num_in_multilink'   => 'Cisco-Num-In-Multilink',
-  'cisco_port_used'          => 'Cisco-Port-Used',
-  'cisco_ppp_async_map'      => 'Cisco-PPP-Async-Map',
-  'cisco_ppp_vj_slot_comp'   => 'Cisco-PPP-VJ-Slot-Comp',
-  'cisco_pre_input_octets'   => 'Cisco-Pre-Input-Octets',
-  'cisco_pre_input_packets'  => 'Cisco-Pre-Input-Packets',
-  'cisco_pre_output_octets'  => 'Cisco-Pre-Output-Octets',
-  'cisco_pre_output_packets' => 'Cisco-Pre-Output-Packets',
-  'cisco_presession_time'    => 'Cisco-PreSession-Time',
-  'cisco_pw_lifetime'        => 'Cisco-PW-Lifetime',
-  'cisco_route_ip'           => 'Cisco-Route-IP',
-  'cisco_service_info'       => 'Cisco-Service-Info',
-  'cisco_target_util'        => 'Cisco-Target-Util',
-  'cisco_xmit_rate'          => 'Cisco-Xmit-Rate',
-  'class'                    => 'Class',
-  'client_dns_pri'           => 'Client_DNS_Pri',
-  'client_dns_prj'           => 'Client-DNS-Pri',
-  'client_dns_sec'           => 'Client_DNS_Sec',
-  'client_dns_sed'           => 'Client-DNS-Sec',
-  'client_id'                => 'Client-Id',
-  'client_ip_address'        => 'Client-IP-Address',
-  'client_port_dnis'         => 'Client-Port-DNIS',
-  'client_port_id'           => 'Client-Port-Id',
-  'colubris_avpair'          => 'Colubris-AVPair',
-  'configuration_token'      => 'Configuration-Token',
-  'connect_info'             => 'Connect-Info',
-  'connect_rate'             => 'Connect-Rate',
-  'context_name'             => 'Context_Name',
-  'context_namf'             => 'Context-Name',
-  'crypt_password'           => 'Crypt-Password',
-  'current_time'             => 'Current-Time',
-  'cvpn3000_access_hours'    => 'CVPN3000-Access-Hours',
-  'cvpn3000_allow_network_e' => 'CVPN3000-Allow-Network-Extension-Mode',
-  'cvpn3000_auth_server_pas' => 'CVPN3000-Auth-Server-Password',
-  'cvpn3000_auth_server_pri' => 'CVPN3000-Auth-Server-Priority',
-  'cvpn3000_auth_server_typ' => 'CVPN3000-Auth-Server-Type',
-  'cvpn3000_authd_user_idle' => 'CVPN3000-Authd-User-Idle-Timeout',
-  'cvpn3000_cisco_ip_phone_' => 'CVPN3000-Cisco-IP-Phone-Bypass',
-  'cvpn3000_dhcp_network_sc' => 'CVPN3000-DHCP-Network-Scope',
-  'cvpn3000_ike_keep_alives' => 'CVPN3000-IKE-Keep-Alives',
-  'cvpn3000_ipsec_allow_pas' => 'CVPN3000-IPSec-Allow-Passwd-Store',
-  'cvpn3000_ipsec_auth_on_r' => 'CVPN3000-IPSec-Auth-On-Rekey',
-  'cvpn3000_ipsec_authentic' => 'CVPN3000-IPSec-Authentication',
-  'cvpn3000_ipsec_authoriza' => 'CVPN3000-IPSec-Authorization-Type',
-  'cvpn3000_ipsec_authorizb' => 'CVPN3000-IPSec-Authorization-Required',
-  'cvpn3000_ipsec_backup_se' => 'CVPN3000-IPSec-Backup-Servers',
-  'cvpn3000_ipsec_backup_sf' => 'CVPN3000-IPSec-Backup-Server-List',
-  'cvpn3000_ipsec_banner1'   => 'CVPN3000-IPSec-Banner1',
-  'cvpn3000_ipsec_banner2'   => 'CVPN3000-IPSec-Banner2',
-  'cvpn3000_ipsec_client_fw' => 'CVPN3000-IPSec-Client-Fw-Filter-Name',
-  'cvpn3000_ipsec_client_fx' => 'CVPN3000-IPSec-Client-Fw-Filter-Opt',
-  'cvpn3000_ipsec_confidenc' => 'CVPN3000-IPSec-Confidence-Level',
-  'cvpn3000_ipsec_default_d' => 'CVPN3000-IPSec-Default-Domain',
-  'cvpn3000_ipsec_dn_field'  => 'CVPN3000-IPSec-DN-Field',
-  'cvpn3000_ipsec_group_nam' => 'CVPN3000-IPSec-Group-Name',
-  'cvpn3000_ipsec_ike_peer_' => 'CVPN3000-IPSec-IKE-Peer-ID-Check',
-  'cvpn3000_ipsec_ip_compre' => 'CVPN3000-IPSec-IP-Compression',
-  'cvpn3000_ipsec_ltl_keepa' => 'CVPN3000-IPSec-LTL-Keepalives',
-  'cvpn3000_ipsec_mode_conf' => 'CVPN3000-IPSec-Mode-Config',
-  'cvpn3000_ipsec_over_udp'  => 'CVPN3000-IPSec-Over-UDP',
-  'cvpn3000_ipsec_over_udp_' => 'CVPN3000-IPSec-Over-UDP-Port',
-  'cvpn3000_ipsec_reqrd_cli' => 'CVPN3000-IPSec-Reqrd-Client-Fw-Cap',
-  'cvpn3000_ipsec_sec_assoc' => 'CVPN3000-IPSec-Sec-Association',
-  'cvpn3000_ipsec_split_dns' => 'CVPN3000-IPSec-Split-DNS-Names',
-  'cvpn3000_ipsec_split_tun' => 'CVPN3000-IPSec-Split-Tunnel-List',
-  'cvpn3000_ipsec_split_tuo' => 'CVPN3000-IPSec-Split-Tunneling-Policy',
-  'cvpn3000_ipsec_tunnel_ty' => 'CVPN3000-IPSec-Tunnel-Type',
-  'cvpn3000_ipsec_user_grou' => 'CVPN3000-IPSec-User-Group-Lock',
-  'cvpn3000_l2tp_encryption' => 'CVPN3000-L2TP-Encryption',
-  'cvpn3000_l2tp_min_auth_p' => 'CVPN3000-L2TP-Min-Auth-Protocol',
-  'cvpn3000_l2tp_mppc_compr' => 'CVPN3000-L2TP-MPPC-Compression',
-  'cvpn3000_leap_bypass'     => 'CVPN3000-LEAP-Bypass',
-  'cvpn3000_ms_client_icpt_' => 'CVPN3000-MS-Client-Icpt-DHCP-Conf-Msg',
-  'cvpn3000_ms_client_subne' => 'CVPN3000-MS-Client-Subnet-Mask',
-  'cvpn3000_partition_max_s' => 'CVPN3000-Partition-Max-Sessions',
-  'cvpn3000_partition_mobil' => 'CVPN3000-Partition-Mobile-IP-Key',
-  'cvpn3000_partition_mobim' => 'CVPN3000-Partition-Mobile-IP-Address',
-  'cvpn3000_partition_mobin' => 'CVPN3000-Partition-Mobile-IP-SPI',
-  'cvpn3000_partition_premi' => 'CVPN3000-Partition-Premise-Router',
-  'cvpn3000_partition_prima' => 'CVPN3000-Partition-Primary-DHCP',
-  'cvpn3000_partition_secon' => 'CVPN3000-Partition-Secondary-DHCP',
-  'cvpn3000_pptp_encryption' => 'CVPN3000-PPTP-Encryption',
-  'cvpn3000_pptp_min_auth_p' => 'CVPN3000-PPTP-Min-Auth-Protocol',
-  'cvpn3000_pptp_mppc_compr' => 'CVPN3000-PPTP-MPPC-Compression',
-  'cvpn3000_primary_dns'     => 'CVPN3000-Primary-DNS',
-  'cvpn3000_primary_wins'    => 'CVPN3000-Primary-WINS',
-  'cvpn3000_priority_on_sep' => 'CVPN3000-Priority-On-SEP',
-  'cvpn3000_reqrd_client_fw' => 'CVPN3000-Reqrd-Client-Fw-Vendor-Code',
-  'cvpn3000_reqrd_client_fx' => 'CVPN3000-Reqrd-Client-Fw-Product-Code',
-  'cvpn3000_reqrd_client_fy' => 'CVPN3000-Reqrd-Client-Fw-Description',
-  'cvpn3000_request_auth_ve' => 'CVPN3000-Request-Auth-Vector',
-  'cvpn3000_require_hw_clie' => 'CVPN3000-Require-HW-Client-Auth',
-  'cvpn3000_require_individ' => 'CVPN3000-Require-Individual-User-Auth',
-  'cvpn3000_secondary_dns'   => 'CVPN3000-Secondary-DNS',
-  'cvpn3000_secondary_wins'  => 'CVPN3000-Secondary-WINS',
-  'cvpn3000_sep_card_assign' => 'CVPN3000-SEP-Card-Assignment',
-  'cvpn3000_simultaneous_lo' => 'CVPN3000-Simultaneous-Logins',
-  'cvpn3000_strip_realm'     => 'CVPN3000-Strip-Realm',
-  'cvpn3000_tunneling_proto' => 'CVPN3000-Tunneling-Protocols',
-  'cvpn3000_use_client_addr' => 'CVPN3000-Use-Client-Address',
-  'cvpn3000_user_auth_serve' => 'CVPN3000-User-Auth-Server-Name',
-  'cvpn3000_user_auth_servf' => 'CVPN3000-User-Auth-Server-Port',
-  'cvpn3000_user_auth_servg' => 'CVPN3000-User-Auth-Server-Secret',
-  'cvpn5000_client_assigned' => 'CVPN5000-Client-Assigned-IP',
-  'cvpn5000_client_assignee' => 'CVPN5000-Client-Assigned-IPX',
-  'cvpn5000_client_real_ip'  => 'CVPN5000-Client-Real-IP',
-  'cvpn5000_echo'            => 'CVPN5000-Echo',
-  'cvpn5000_tunnel_throughp' => 'CVPN5000-Tunnel-Throughput',
-  'cvpn5000_vpn_groupinfo'   => 'CVPN5000-VPN-GroupInfo',
-  'cvpn5000_vpn_password'    => 'CVPN5000-VPN-Password',
-  'cvx_assign_ip_pool'       => 'CVX-Assign-IP-Pool',
-  'cvx_client_assign_dns'    => 'CVX-Client-Assign-DNS',
-  'cvx_data_filter'          => 'CVX-Data-Filter',
-  'cvx_data_rate'            => 'CVX-Data-Rate',
-  'cvx_disconnect_cause'     => 'CVX-Disconnect-Cause',
-  'cvx_identification'       => 'CVX-Identification',
-  'cvx_idle_limit'           => 'CVX-Idle-Limit',
-  'cvx_ipsvc_aznlvl'         => 'CVX-IPSVC-AZNLVL',
-  'cvx_ipsvc_mask'           => 'CVX-IPSVC-Mask',
-  'cvx_maximum_channels'     => 'CVX-Maximum-Channels',
-  'cvx_modem_begin_modulati' => 'CVX-Modem-Begin-Modulation',
-  'cvx_modem_begin_recv_lin' => 'CVX-Modem-Begin-Recv-Line-Lvl',
-  'cvx_modem_data_compressi' => 'CVX-Modem-Data-Compression',
-  'cvx_modem_end_modulation' => 'CVX-Modem-End-Modulation',
-  'cvx_modem_end_recv_line_' => 'CVX-Modem-End-Recv-Line-Lvl',
-  'cvx_modem_error_correcti' => 'CVX-Modem-Error-Correction',
-  'cvx_modem_local_rate_neg' => 'CVX-Modem-Local-Rate-Negs',
-  'cvx_modem_local_retrains' => 'CVX-Modem-Local-Retrains',
-  'cvx_modem_remote_rate_ne' => 'CVX-Modem-Remote-Rate-Negs',
-  'cvx_modem_remote_retrain' => 'CVX-Modem-Remote-Retrains',
-  'cvx_modem_retx_packets'   => 'CVX-Modem-ReTx-Packets',
-  'cvx_modem_snr'            => 'CVX-Modem-SNR',
-  'cvx_modem_tx_packets'     => 'CVX-Modem-Tx-Packets',
-  'cvx_multicast_client'     => 'CVX-Multicast-Client',
-  'cvx_multicast_rate_limit' => 'CVX-Multicast-Rate-Limit',
-  'cvx_multilink_group_numb' => 'CVX-Multilink-Group-Number',
-  'cvx_multilink_match_info' => 'CVX-Multilink-Match-Info',
-  'cvx_ppp_address'          => 'CVX-PPP-Address',
-  'cvx_ppp_log_mask'         => 'CVX-PPP-Log-Mask',
-  'cvx_presession_time'      => 'CVX-PreSession-Time',
-  'cvx_primary_dns'          => 'CVX-Primary-DNS',
-  'cvx_radius_redirect'      => 'CVX-Radius-Redirect',
-  'cvx_secondary_dns'        => 'CVX-Secondary-DNS',
-  'cvx_ss7_session_id_type'  => 'CVX-SS7-Session-ID-Type',
-  'cvx_vpop_id'              => 'CVX-VPOP-ID',
-  'cvx_xmit_rate'            => 'CVX-Xmit-Rate',
-  'dhcp_max_leases'          => 'DHCP_Max_Leases',
-  'dhcp_max_leaset'          => 'DHCP-Max-Leases',
-  'dialback_name'            => 'Dialback-Name',
-  'dialback_no'              => 'Dialback-No',
-  'digest_algorithm'         => 'Digest-Algorithm',
-  'digest_attributes'        => 'Digest-Attributes',
-  'digest_body_digest'       => 'Digest-Body-Digest',
-  'digest_cnonce'            => 'Digest-CNonce',
-  'digest_method'            => 'Digest-Method',
-  'digest_nonce'             => 'Digest-Nonce',
-  'digest_nonce_count'       => 'Digest-Nonce-Count',
-  'digest_qop'               => 'Digest-QOP',
-  'digest_realm'             => 'Digest-Realm',
-  'digest_response'          => 'Digest-Response',
-  'digest_uri'               => 'Digest-URI',
-  'digest_user_name'         => 'Digest-User-Name',
-  'eap_code'                 => 'EAP-Code',
-  'eap_id'                   => 'EAP-Id',
-  'eap_md5_password'         => 'EAP-MD5-Password',
-  'eap_message'              => 'EAP-Message',
-  'eap_sim_any_id_req'       => 'EAP-Sim-ANY_ID_REQ',
-  'eap_sim_checkcode'        => 'EAP-Sim-CHECKCODE',
-  'eap_sim_counter'          => 'EAP-Sim-COUNTER',
-  'eap_sim_counter_too_smal' => 'EAP-Sim-COUNTER_TOO_SMALL',
-  'eap_sim_encr_data'        => 'EAP-Sim-ENCR_DATA',
-  'eap_sim_extra'            => 'EAP-Sim-EXTRA',
-  'eap_sim_fullauth_id_req'  => 'EAP-Sim-FULLAUTH_ID_REQ',
-  'eap_sim_hmac'             => 'EAP-Sim-HMAC',
-  'eap_sim_identity'         => 'EAP-Sim-IDENTITY',
-  'eap_sim_imsi'             => 'EAP-Sim-IMSI',
-  'eap_sim_iv'               => 'EAP-Sim-IV',
-  'eap_sim_kc1'              => 'EAP-Sim-KC1',
-  'eap_sim_kc2'              => 'EAP-Sim-KC2',
-  'eap_sim_kc3'              => 'EAP-Sim-KC3',
-  'eap_sim_key'              => 'EAP-Sim-KEY',
-  'eap_sim_mac'              => 'EAP-Sim-MAC',
-  'eap_sim_next_pseudonum'   => 'EAP-Sim-NEXT_PSEUDONUM',
-  'eap_sim_next_reauth_id'   => 'EAP-Sim-NEXT_REAUTH_ID',
-  'eap_sim_nonce_mt'         => 'EAP-Sim-NONCE_MT',
-  'eap_sim_nonce_s'          => 'EAP-Sim-NONCE_S',
-  'eap_sim_notification'     => 'EAP-Sim-NOTIFICATION',
-  'eap_sim_padding'          => 'EAP-Sim-PADDING',
-  'eap_sim_permanent_id_req' => 'EAP-Sim-PERMANENT_ID_REQ',
-  'eap_sim_rand'             => 'EAP-Sim-RAND',
-  'eap_sim_rand1'            => 'EAP-Sim-Rand1',
-  'eap_sim_rand2'            => 'EAP-Sim-Rand2',
-  'eap_sim_rand3'            => 'EAP-Sim-Rand3',
-  'eap_sim_selected_version' => 'EAP-Sim-SELECTED_VERSION',
-  'eap_sim_sres1'            => 'EAP-Sim-SRES1',
-  'eap_sim_sres2'            => 'EAP-Sim-SRES2',
-  'eap_sim_sres3'            => 'EAP-Sim-SRES3',
-  'eap_sim_state'            => 'EAP-Sim-State',
-  'eap_sim_subtype'          => 'EAP-Sim-Subtype',
-  'eap_sim_version_list'     => 'EAP-Sim-VERSION_LIST',
-  'eap_tls_require_client_c' => 'EAP-TLS-Require-Client-Cert',
-  'eap_type'                 => 'EAP-Type',
-  'eap_type_gtc'             => 'EAP-Type-GTC',
-  'eap_type_identity'        => 'EAP-Type-Identity',
-  'eap_type_leap'            => 'EAP-Type-LEAP',
-  'eap_type_md5'             => 'EAP-Type-MD5',
-  'eap_type_nak'             => 'EAP-Type-NAK',
-  'eap_type_notification'    => 'EAP-Type-Notification',
-  'eap_type_otp'             => 'EAP-Type-OTP',
-  'eap_type_peap'            => 'EAP-Type-PEAP',
-  'eap_type_sim'             => 'EAP-Type-SIM',
-  'eap_type_sim2'            => 'EAP-Type-SIM2',
-  'eap_type_tls'             => 'EAP-Type-TLS',
-  'eap_type_ttls'            => 'EAP-Type-TTLS',
-  'error_cause'              => 'Error-Cause',
-  'erx_address_pool_name'    => 'ERX-Address-Pool-Name',
-  'erx_alternate_cli_access' => 'ERX-Alternate-Cli-Access-Level',
-  'erx_alternate_cli_vroute' => 'ERX-Alternate-Cli-Vrouter-Name',
-  'erx_atm_mbs'              => 'ERX-Atm-MBS',
-  'erx_atm_pcr'              => 'ERX-Atm-PCR',
-  'erx_atm_scr'              => 'ERX-Atm-SCR',
-  'erx_atm_service_category' => 'ERX-Atm-Service-Category',
-  'erx_bearer_type'          => 'ERX-Bearer-Type',
-  'erx_cli_allow_all_vr_acc' => 'ERX-Cli-Allow-All-VR-Access',
-  'erx_cli_initial_access_l' => 'ERX-Cli-Initial-Access-Level',
-  'erx_dial_out_number'      => 'ERX-Dial-Out-Number',
-  'erx_egress_policy_name'   => 'ERX-Egress-Policy-Name',
-  'erx_egress_statistics'    => 'ERX-Egress-Statistics',
-  'erx_framed_ip_route_tag'  => 'ERX-Framed-Ip-Route-Tag',
-  'erx_igmp_enable'          => 'ERX-Igmp-Enable',
-  'erx_ingress_policy_name'  => 'ERX-Ingress-Policy-Name',
-  'erx_ingress_statistics'   => 'ERX-Ingress-Statistics',
-  'erx_input_gigapkts'       => 'ERX-Input-Gigapkts',
-  'erx_ipv6_local_interface' => 'ERX-IpV6-Local-Interface',
-  'erx_ipv6_primary_dns'     => 'ERX-Ipv6-Primary-Dns',
-  'erx_ipv6_secondary_dns'   => 'ERX-Ipv6-Secondary-Dns',
-  'erx_ipv6_virtual_router'  => 'ERX-IpV6-Virtual-Router',
-  'erx_local_loopback_inter' => 'ERX-Local-Loopback-Interface',
-  'erx_maximum_bps'          => 'ERX-Maximum-BPS',
-  'erx_minimum_bps'          => 'ERX-Minimum-BPS',
-  'erx_output_gigapkts'      => 'ERX-Output-Gigapkts',
-  'erx_ppp_auth_protocol'    => 'ERX-PPP-Auth-Protocol',
-  'erx_ppp_password'         => 'ERX-PPP-Password',
-  'erx_ppp_username'         => 'ERX-PPP-Username',
-  'erx_pppoe_description'    => 'ERX-Pppoe-Description',
-  'erx_pppoe_max_sessions'   => 'ERX-Pppoe-Max-Sessions',
-  'erx_pppoe_url'            => 'ERX-Pppoe-Url',
-  'erx_primary_dns'          => 'ERX-Primary-Dns',
-  'erx_primary_wins'         => 'ERX-Primary-Wins',
-  'erx_qos_profile_interfac' => 'ERX-Qos-Profile-Interface-Type',
-  'erx_qos_profile_name'     => 'ERX-Qos-Profile-Name',
-  'erx_redirect_vr_name'     => 'ERX-Redirect-VR-Name',
-  'erx_sa_validate'          => 'ERX-Sa-Validate',
-  'erx_secondary_dns'        => 'ERX-Secondary-Dns',
-  'erx_secondary_wins'       => 'ERX-Secondary-Wins',
-  'erx_service_bundle'       => 'ERX-Service-Bundle',
-  'erx_tunnel_interface_id'  => 'ERX-Tunnel-Interface-Id',
-  'erx_tunnel_maximum_sessi' => 'ERX-Tunnel-Maximum-Sessions',
-  'erx_tunnel_nas_port_meth' => 'ERX-Tunnel-Nas-Port-Method',
-  'erx_tunnel_password'      => 'ERX-Tunnel-Password',
-  'erx_tunnel_tos'           => 'ERX-Tunnel-Tos',
-  'erx_tunnel_virtual_route' => 'ERX-Tunnel-Virtual-Router',
-  'erx_virtual_router_name'  => 'ERX-Virtual-Router-Name',
-  'event_timestamp'          => 'Event-Timestamp',
-  'exec_program'             => 'Exec-Program',
-  'exec_program_wait'        => 'Exec-Program-Wait',
-  'expiration'               => 'Expiration',
-  'extreme_netlogin_only'    => 'Extreme-Netlogin-Only',
-  'extreme_netlogin_url'     => 'Extreme-Netlogin-Url',
-  'extreme_netlogin_url_des' => 'Extreme-Netlogin-Url-Desc',
-  'extreme_netlogin_vlan'    => 'Extreme-Netlogin-Vlan',
-  'fall_through'             => 'Fall-Through',
-  'filter_id'                => 'Filter-Id',
-  'foundry_command_exceptio' => 'Foundry-Command-Exception-Flag',
-  'foundry_command_string'   => 'Foundry-Command-String',
-  'foundry_inm_privilege'    => 'Foundry-INM-Privilege',
-  'foundry_privilege_level'  => 'Foundry-Privilege-Level',
-  'framed_address'           => 'Framed-Address',
-  'framed_appletalk_link'    => 'Framed-AppleTalk-Link',
-  'framed_appletalk_network' => 'Framed-AppleTalk-Network',
-  'framed_appletalk_zone'    => 'Framed-AppleTalk-Zone',
-  'framed_callback_id'       => 'Framed-Callback-Id',
-  'framed_compression'       => 'Framed-Compression',
-  'framed_filter_id'         => 'Framed-Filter-Id',
-  'framed_interface_id'      => 'Framed-Interface-Id',
-  'framed_ip_address'        => 'Framed-IP-Address',
-  'framed_ip_netmask'        => 'Framed-IP-Netmask',
-  'framed_ipv6_pool'         => 'Framed-IPv6-Pool',
-  'framed_ipv6_prefix'       => 'Framed-IPv6-Prefix',
-  'framed_ipv6_route'        => 'Framed-IPv6-Route',
-  'framed_ipx_network'       => 'Framed-IPX-Network',
-  'framed_mtu'               => 'Framed-MTU',
-  'framed_netmask'           => 'Framed-Netmask',
-  'framed_pool'              => 'Framed-Pool',
-  'framed_protocol'          => 'Framed-Protocol',
-  'framed_route'             => 'Framed-Route',
-  'framed_routing'           => 'Framed-Routing',
-  'freeradius_proxied_to'    => 'FreeRADIUS-Proxied-To',
-  'gandalf_around_the_corne' => 'Gandalf-Around-The-Corner',
-  'gandalf_authentication_s' => 'Gandalf-Authentication-String',
-  'gandalf_calling_line_id_' => 'Gandalf-Calling-Line-ID-1',
-  'gandalf_calling_line_ida' => 'Gandalf-Calling-Line-ID-2',
-  'gandalf_channel_group_na' => 'Gandalf-Channel-Group-Name-1',
-  'gandalf_channel_group_nb' => 'Gandalf-Channel-Group-Name-2',
-  'gandalf_compression_stat' => 'Gandalf-Compression-Status',
-  'gandalf_dial_prefix_name' => 'Gandalf-Dial-Prefix-Name-1',
-  'gandalf_dial_prefix_namf' => 'Gandalf-Dial-Prefix-Name-2',
-  'gandalf_fwd_broadcast_in' => 'Gandalf-Fwd-Broadcast-In',
-  'gandalf_fwd_broadcast_ou' => 'Gandalf-Fwd-Broadcast-Out',
-  'gandalf_fwd_multicast_in' => 'Gandalf-Fwd-Multicast-In',
-  'gandalf_fwd_multicast_ou' => 'Gandalf-Fwd-Multicast-Out',
-  'gandalf_fwd_unicast_in'   => 'Gandalf-Fwd-Unicast-In',
-  'gandalf_fwd_unicast_out'  => 'Gandalf-Fwd-Unicast-Out',
-  'gandalf_hunt_group'       => 'Gandalf-Hunt-Group',
-  'gandalf_ipx_spoofing_sta' => 'Gandalf-IPX-Spoofing-State',
-  'gandalf_ipx_watchdog_spo' => 'Gandalf-IPX-Watchdog-Spoof',
-  'gandalf_min_outgoing_bea' => 'Gandalf-Min-Outgoing-Bearer',
-  'gandalf_modem_mode'       => 'Gandalf-Modem-Mode',
-  'gandalf_modem_required_1' => 'Gandalf-Modem-Required-1',
-  'gandalf_modem_required_2' => 'Gandalf-Modem-Required-2',
-  'gandalf_operational_mode' => 'Gandalf-Operational-Modes',
-  'gandalf_phone_number_1'   => 'Gandalf-Phone-Number-1',
-  'gandalf_phone_number_2'   => 'Gandalf-Phone-Number-2',
-  'gandalf_ppp_authenticati' => 'Gandalf-PPP-Authentication',
-  'gandalf_ppp_ncp_type'     => 'Gandalf-PPP-NCP-Type',
-  'gandalf_remote_lan_name'  => 'Gandalf-Remote-LAN-Name',
-  'gandalf_sap_group_name_1' => 'Gandalf-SAP-Group-Name-1',
-  'gandalf_sap_group_name_2' => 'Gandalf-SAP-Group-Name-2',
-  'gandalf_sap_group_name_3' => 'Gandalf-SAP-Group-Name-3',
-  'gandalf_sap_group_name_4' => 'Gandalf-SAP-Group-Name-4',
-  'gandalf_sap_group_name_5' => 'Gandalf-SAP-Group-Name-5',
-  'garderos_location_name'   => 'Garderos-Location-Name',
-  'garderos_service_name'    => 'Garderos-Service-Name',
-  'group'                    => 'Group',
-  'group_name'               => 'Group-Name',
-  'gw_final_xlated_cdn'      => 'gw-final-xlated-cdn',
-  'gw_rxd_cdn'               => 'gw-rxd-cdn',
-  'h323_billing_model'       => 'h323-billing-model',
-  'h323_call_origin'         => 'h323-call-origin',
-  'h323_call_type'           => 'h323-call-type',
-  'h323_conf_id'             => 'h323-conf-id',
-  'h323_connect_time'        => 'h323-connect-time',
-  'h323_credit_amount'       => 'h323-credit-amount',
-  'h323_credit_time'         => 'h323-credit-time',
-  'h323_currency'            => 'h323-currency',
-  'h323_disconnect_cause'    => 'h323-disconnect-cause',
-  'h323_disconnect_time'     => 'h323-disconnect-time',
-  'h323_gw_id'               => 'h323-gw-id',
-  'h323_incoming_conf_id'    => 'h323-incoming-conf-id',
-  'h323_preferred_lang'      => 'h323-preferred-lang',
-  'h323_prompt_id'           => 'h323-prompt-id',
-  'h323_redirect_ip_address' => 'h323-redirect-ip-address',
-  'h323_redirect_number'     => 'h323-redirect-number',
-  'h323_remote_address'      => 'h323-remote-address',
-  'h323_return_code'         => 'h323-return-code',
-  'h323_setup_time'          => 'h323-setup-time',
-  'h323_time_and_day'        => 'h323-time-and-day',
-  'h323_voice_quality'       => 'h323-voice-quality',
-  'hint'                     => 'Hint',
-  'huntgroup_name'           => 'Huntgroup-Name',
-  'idle_timeout'             => 'Idle-Timeout',
-  'incoming_req_uri'         => 'incoming-req-uri',
-  'initial_modulation_type'  => 'Initial-Modulation-Type',
-  'ip3_ip_option'            => 'IP3-IP-Option',
-  'ip3_rdata_rate'           => 'IP3-RData-Rate',
-  'ip3_xdata_rate'           => 'IP3-XData-Rate',
-  'ip_address_pool_name'     => 'Ip_Address_Pool_Name',
-  'ip_address_pool_namf'     => 'Ip-Address-Pool-Name',
-  'ip_host_addr'             => 'Ip_Host_Addr',
-  'ip_host_adds'             => 'Ip-Host-Addr',
-  'ip_tos_field'             => 'IP_TOS_Field',
-  'ip_tos_fiele'             => 'IP-TOS-Field',
-  'itk_acct_serv_ip'         => 'ITK-Acct-Serv-IP',
-  'itk_acct_serv_prot'       => 'ITK-Acct-Serv-Prot',
-  'itk_auth_req_type'        => 'ITK-Auth-Req-Type',
-  'itk_auth_serv_ip'         => 'ITK-Auth-Serv-IP',
-  'itk_auth_serv_prot'       => 'ITK-Auth-Serv-Prot',
-  'itk_banner'               => 'ITK-Banner',
-  'itk_channel_binding'      => 'ITK-Channel-Binding',
-  'itk_ddi'                  => 'ITK-DDI',
-  'itk_dest_no'              => 'ITK-Dest-No',
-  'itk_dialout_type'         => 'ITK-Dialout-Type',
-  'itk_filter_rule'          => 'ITK-Filter-Rule',
-  'itk_ftp_auth_ip'          => 'ITK-Ftp-Auth-IP',
-  'itk_ip_pool'              => 'ITK-IP-Pool',
-  'itk_isdn_prot'            => 'ITK-ISDN-Prot',
-  'itk_modem_init_string'    => 'ITK-Modem-Init-String',
-  'itk_modem_pool_id'        => 'ITK-Modem-Pool-Id',
-  'itk_nas_name'             => 'ITK-NAS-Name',
-  'itk_password_prompt'      => 'ITK-Password-Prompt',
-  'itk_ppp_auth_type'        => 'ITK-PPP-Auth-Type',
-  'itk_ppp_client_server_mo' => 'ITK-PPP-Client-Server-Mode',
-  'itk_ppp_compression_prot' => 'ITK-PPP-Compression-Prot',
-  'itk_prompt'               => 'ITK-Prompt',
-  'itk_provider_id'          => 'ITK-Provider-Id',
-  'itk_start_delay'          => 'ITK-Start-Delay',
-  'itk_tunnel_ip'            => 'ITK-Tunnel-IP',
-  'itk_tunnel_prot'          => 'ITK-Tunnel-Prot',
-  'itk_usergroup'            => 'ITK-Usergroup',
-  'itk_username'             => 'ITK-Username',
-  'itk_username_prompt'      => 'ITK-Username-Prompt',
-  'itk_users_default_entry'  => 'ITK-Users-Default-Entry',
-  'itk_users_default_pw'     => 'ITK-Users-Default-Pw',
-  'itk_welcome_message'      => 'ITK-Welcome-Message',
-  'juniper_allow_commands'   => 'Juniper-Allow-Commands',
-  'juniper_allow_configurat' => 'Juniper-Allow-Configuration',
-  'juniper_deny_commands'    => 'Juniper-Deny-Commands',
-  'juniper_deny_configurati' => 'Juniper-Deny-Configuration',
-  'juniper_local_user_name'  => 'Juniper-Local-User-Name',
-  'karlnet_turbocell_name'   => 'KarlNet-TurboCell-Name',
-  'karlnet_turbocell_opmode' => 'KarlNet-TurboCell-OpMode',
-  'karlnet_turbocell_opstat' => 'KarlNet-TurboCell-OpState',
-  'karlnet_turbocell_txrate' => 'KarlNet-TurboCell-TxRate',
-  'lac_port'                 => 'LAC_Port',
-  'lac_port_type'            => 'LAC_Port_Type',
-  'lac_port_typf'            => 'LAC-Port-Type',
-  'lac_poru'                 => 'LAC-Port',
-  'lac_real_port'            => 'LAC_Real_Port',
-  'lac_real_port_type'       => 'LAC_Real_Port_Type',
-  'lac_real_port_typf'       => 'LAC-Real-Port-Type',
-  'lac_real_poru'            => 'LAC-Real-Port',
-  'ldap_group'               => 'Ldap-Group',
-  'ldap_userdn'              => 'Ldap-UserDn',
-  'le_admin_group'           => 'LE-Admin-Group',
-  'le_advice_of_charge'      => 'LE-Advice-of-Charge',
-  'le_connect_detail'        => 'LE-Connect-Detail',
-  'le_ip_gateway'            => 'LE-IP-Gateway',
-  'le_ip_pool'               => 'LE-IP-Pool',
-  'le_ipsec_active_profile'  => 'LE-IPSec-Active-Profile',
-  'le_ipsec_deny_action'     => 'LE-IPSec-Deny-Action',
-  'le_ipsec_log_options'     => 'LE-IPSec-Log-Options',
-  'le_ipsec_outsource_profi' => 'LE-IPSec-Outsource-Profile',
-  'le_ipsec_passive_profile' => 'LE-IPSec-Passive-Profile',
-  'le_modem_info'            => 'LE-Modem-Info',
-  'le_multicast_client'      => 'LE-Multicast-Client',
-  'le_nat_inmap'             => 'LE-NAT-Inmap',
-  'le_nat_log_options'       => 'LE-NAT-Log-Options',
-  'le_nat_other_session_tim' => 'LE-NAT-Other-Session-Timeout',
-  'le_nat_outmap'            => 'LE-NAT-Outmap',
-  'le_nat_outsource_inmap'   => 'LE-NAT-Outsource-Inmap',
-  'le_nat_outsource_outmap'  => 'LE-NAT-Outsource-Outmap',
-  'le_nat_sess_dir_fail_act' => 'LE-NAT-Sess-Dir-Fail-Action',
-  'le_nat_tcp_session_timeo' => 'LE-NAT-TCP-Session-Timeout',
-  'le_terminate_detail'      => 'LE-Terminate-Detail',
-  'lm_password'              => 'LM-Password',
-  'local_web_acct_duration'  => 'Local-Web-Acct-Duration',
-  'local_web_acct_interim_r' => 'Local-Web-Acct-Interim-Rx-Bytes',
-  'local_web_acct_interim_s' => 'Local-Web-Acct-Interim-Rx-Gigawords',
-  'local_web_acct_interim_t' => 'Local-Web-Acct-Interim-Tx-Bytes',
-  'local_web_acct_interim_u' => 'Local-Web-Acct-Interim-Tx-Gigawords',
-  'local_web_acct_interim_v' => 'Local-Web-Acct-Interim-Tx-Mgmt',
-  'local_web_acct_interim_w' => 'Local-Web-Acct-Interim-Rx-Mgmt',
-  'local_web_acct_rx_mgmt'   => 'Local-Web-Acct-Rx-Mgmt',
-  'local_web_acct_time'      => 'Local-Web-Acct-Time',
-  'local_web_acct_tx_mgmt'   => 'Local-Web-Acct-Tx-Mgmt',
-  'local_web_border_router'  => 'Local-Web-Border-Router',
-  'local_web_client_ip'      => 'Local-Web-Client-Ip',
-  'local_web_reauth_counter' => 'Local-Web-Reauth-Counter',
-  'local_web_rx_limit'       => 'Local-Web-Rx-Limit',
-  'local_web_tx_limit'       => 'Local-Web-Tx-Limit',
-  'login_callback_number'    => 'Login-Callback-Number',
-  'login_host'               => 'Login-Host',
-  'login_ip_host'            => 'Login-IP-Host',
-  'login_ipv6_host'          => 'Login-IPv6-Host',
-  'login_lat_group'          => 'Login-LAT-Group',
-  'login_lat_node'           => 'Login-LAT-Node',
-  'login_lat_port'           => 'Login-LAT-Port',
-  'login_lat_service'        => 'Login-LAT-Service',
-  'login_port'               => 'Login-Port',
-  'login_service'            => 'Login-Service',
-  'login_tcp_port'           => 'Login-TCP-Port',
-  'login_time'               => 'Login-Time',
-  'mcast_maxgroups'          => 'Mcast_MaxGroups',
-  'mcast_maxgroupt'          => 'Mcast-MaxGroups',
-  'mcast_receive'            => 'Mcast_Receive',
-  'mcast_receivf'            => 'Mcast-Receive',
-  'mcast_send'               => 'Mcast_Send',
-  'mcast_sene'               => 'Mcast-Send',
-  'medium_type'              => 'Medium_Type',
-  'medium_typf'              => 'Medium-Type',
-  'menu'                     => 'Menu',
-  'merit_proxy_action'       => 'Merit-Proxy-Action',
-  'merit_user_id'            => 'Merit-User-Id',
-  'merit_user_realm'         => 'Merit-User-Realm',
-  'message_authenticator'    => 'Message-Authenticator',
-  'method'                   => 'method',
-  'mikrotik_group'           => 'Mikrotik-Group',
-  'mikrotik_recv_limit'      => 'Mikrotik-Recv-Limit',
-  'mikrotik_xmit_limit'      => 'Mikrotik-Xmit-Limit',
-  'module_failure_message'   => 'Module-Failure-Message',
-  'module_success_message'   => 'Module-Success-Message',
-  'motorola_canopy_cirenabl' => 'Motorola-Canopy-CIRENABLE',
-  'motorola_canopy_dlba'     => 'Motorola-Canopy-DLBA',
-  'motorola_canopy_enable'   => 'Motorola-Canopy-Enable',
-  'motorola_canopy_higherbw' => 'Motorola-Canopy-HIGHERBW',
-  'motorola_canopy_hpcenabl' => 'Motorola-Canopy-HPCENABLE',
-  'motorola_canopy_hpsdldr'  => 'Motorola-Canopy-HPSDLDR',
-  'motorola_canopy_hpsuldr'  => 'Motorola-Canopy-HPSULDR',
-  'motorola_canopy_lpsdldr'  => 'Motorola-Canopy-LPSDLDR',
-  'motorola_canopy_lpsuldr'  => 'Motorola-Canopy-LPSULDR',
-  'motorola_canopy_sdldr'    => 'Motorola-Canopy-SDLDR',
-  'motorola_canopy_shared_s' => 'Motorola-Canopy-Shared-Secret',
-  'motorola_canopy_suldr'    => 'Motorola-Canopy-SULDR',
-  'motorola_canopy_ulba'     => 'Motorola-Canopy-ULBA',
-  'ms_acct_auth_type'        => 'MS-Acct-Auth-Type',
-  'ms_acct_eap_type'         => 'MS-Acct-EAP-Type',
-  'ms_arap_pw_change_reason' => 'MS-ARAP-PW-Change-Reason',
-  'ms_bap_usage'             => 'MS-BAP-Usage',
-  'ms_chap2_cpw'             => 'MS-CHAP2-CPW',
-  'ms_chap2_response'        => 'MS-CHAP2-Response',
-  'ms_chap2_success'         => 'MS-CHAP2-Success',
-  'ms_chap_challenge'        => 'MS-CHAP-Challenge',
-  'ms_chap_cpw_1'            => 'MS-CHAP-CPW-1',
-  'ms_chap_cpw_2'            => 'MS-CHAP-CPW-2',
-  'ms_chap_domain'           => 'MS-CHAP-Domain',
-  'ms_chap_error'            => 'MS-CHAP-Error',
-  'ms_chap_lm_enc_pw'        => 'MS-CHAP-LM-Enc-PW',
-  'ms_chap_mppe_keys'        => 'MS-CHAP-MPPE-Keys',
-  'ms_chap_nt_enc_pw'        => 'MS-CHAP-NT-Enc-PW',
-  'ms_chap_response'         => 'MS-CHAP-Response',
-  'ms_chap_use_ntlm_auth'    => 'MS-CHAP-Use-NTLM-Auth',
-  'ms_filter'                => 'MS-Filter',
-  'ms_link_drop_time_limit'  => 'MS-Link-Drop-Time-Limit',
-  'ms_link_utilization_thre' => 'MS-Link-Utilization-Threshold',
-  'ms_mppe_encryption_polic' => 'MS-MPPE-Encryption-Policy',
-  'ms_mppe_encryption_type'  => 'MS-MPPE-Encryption-Type',
-  'ms_mppe_encryption_types' => 'MS-MPPE-Encryption-Types',
-  'ms_mppe_recv_key'         => 'MS-MPPE-Recv-Key',
-  'ms_mppe_send_key'         => 'MS-MPPE-Send-Key',
-  'ms_new_arap_password'     => 'MS-New-ARAP-Password',
-  'ms_old_arap_password'     => 'MS-Old-ARAP-Password',
-  'ms_primary_dns_server'    => 'MS-Primary-DNS-Server',
-  'ms_primary_nbns_server'   => 'MS-Primary-NBNS-Server',
-  'ms_ras_vendor'            => 'MS-RAS-Vendor',
-  'ms_ras_version'           => 'MS-RAS-Version',
-  'ms_secondary_dns_server'  => 'MS-Secondary-DNS-Server',
-  'ms_secondary_nbns_server' => 'MS-Secondary-NBNS-Server',
-  'multi_link_flag'          => 'Multi-Link-Flag',
-  'nas_identifier'           => 'NAS-Identifier',
-  'nas_ip_address'           => 'NAS-IP-Address',
-  'nas_ipv6_address'         => 'NAS-IPv6-Address',
-  'nas_port'                 => 'NAS-Port',
-  'nas_port_id'              => 'NAS-Port-Id',
-  'nas_port_type'            => 'NAS-Port-Type',
-  'nas_real_port'            => 'NAS_Real_Port',
-  'nas_real_poru'            => 'NAS-Real-Port',
-  'navini_avpair'            => 'Navini-AVPair',
-  'next_hop_dn'              => 'next-hop-dn',
-  'next_hop_ip'              => 'next-hop-ip',
-  'nn_data_rate'             => 'NN-Data-Rate',
-  'nn_data_rate_ceiling'     => 'NN-Data-Rate-Ceiling',
-  'nn_homenode'              => 'NN-Homenode',
-  'nn_homeservice'           => 'NN-Homeservice',
-  'nn_homeservice_name'      => 'NN-Homeservice-Name',
-  'no_such_attribute'        => 'No-Such-Attribute',
-  'nokia_charging_id'        => 'Nokia-Charging-Id',
-  'nokia_ggsn_ip_address'    => 'Nokia-GGSN-IP-Address',
-  'nokia_imsi'               => 'Nokia-IMSI',
-  'nokia_prepaid_ind'        => 'Nokia-Prepaid-Ind',
-  'nokia_sgsn_ip_address'    => 'Nokia-SGSN-IP-Address',
-  'nomadix_bw_down'          => 'Nomadix-Bw-Down',
-  'nomadix_bw_up'            => 'Nomadix-Bw-Up',
-  'nomadix_config_url'       => 'Nomadix-Config-URL',
-  'nomadix_endofsession'     => 'Nomadix-EndofSession',
-  'nomadix_expiration'       => 'Nomadix-Expiration',
-  'nomadix_goodbye_url'      => 'Nomadix-Goodbye-URL',
-  'nomadix_ip_upsell'        => 'Nomadix-IP-Upsell',
-  'nomadix_logoff_url'       => 'Nomadix-Logoff-URL',
-  'nomadix_maxbytesdown'     => 'Nomadix-MaxBytesDown',
-  'nomadix_maxbytesup'       => 'Nomadix-MaxBytesUp',
-  'nomadix_net_vlan'         => 'Nomadix-Net-VLAN',
-  'nomadix_subnet'           => 'Nomadix-Subnet',
-  'nomadix_url_redirection'  => 'Nomadix-URL-Redirection',
-  'ns_admin_privilege'       => 'NS-Admin-Privilege',
-  'ns_mta_md5_password'      => 'NS-MTA-MD5-Password',
-  'ns_primary_dns'           => 'NS-Primary-DNS',
-  'ns_primary_wins'          => 'NS-Primary-WINS',
-  'ns_secondary_dns'         => 'NS-Secondary-DNS',
-  'ns_secondary_wins'        => 'NS-Secondary-WINS',
-  'ns_user_group'            => 'NS-User-Group',
-  'ns_vsys_name'             => 'NS-VSYS-Name',
-  'nt_password'              => 'NT-Password',
-  'ntlm_user_name'           => 'NTLM-User-Name',
-  'old_password'             => 'Old-Password',
-  'outgoing_req_uri'         => 'outgoing-req-uri',
-  'packet_dst_port'          => 'Packet-Dst-Port',
-  'packet_type'              => 'Packet-Type',
-  'pam_auth'                 => 'Pam-Auth',
-  'password'                 => 'Password',
-  'password_retry'           => 'Password-Retry',
-  'police_burst'             => 'Police_Burst',
-  'police_bursu'             => 'Police-Burst',
-  'police_rate'              => 'Police_Rate',
-  'police_ratf'              => 'Police-Rate',
-  'pool_name'                => 'Pool-Name',
-  'port_limit'               => 'Port-Limit',
-  'port_message'             => 'Port-Message',
-  'post_auth_type'           => 'Post-Auth-Type',
-  'post_proxy_type'          => 'Post-Proxy-Type',
-  'postauth_type'            => 'PostAuth-Type',
-  'pppoe_motm'               => 'PPPOE_MOTM',
-  'pppoe_motn'               => 'PPPOE-MOTM',
-  'pppoe_url'                => 'PPPOE_URL',
-  'pppoe_urm'                => 'PPPOE-URL',
-  'pre_acct_type'            => 'Pre-Acct-Type',
-  'pre_proxy_type'           => 'Pre-Proxy-Type',
-  'prefix'                   => 'Prefix',
-  'prev_hop_ip'              => 'prev-hop-ip',
-  'prev_hop_via'             => 'prev-hop-via',
-  'prompt'                   => 'Prompt',
-  'propel_accelerate'        => 'Propel-Accelerate',
-  'propel_client_ip_address' => 'Propel-Client-IP-Address',
-  'propel_client_nas_ip_add' => 'Propel-Client-NAS-IP-Address',
-  'propel_client_source_id'  => 'Propel-Client-Source-ID',
-  'propel_dialed_digits'     => 'Propel-Dialed-Digits',
-  'proxy_state'              => 'Proxy-State',
-  'proxy_to_realm'           => 'Proxy-To-Realm',
-  'pvc_circuit_padding'      => 'PVC_Circuit_Padding',
-  'pvc_circuit_paddinh'      => 'PVC-Circuit-Padding',
-  'pvc_encapsulation_type'   => 'PVC_Encapsulation_Type',
-  'pvc_encapsulation_typf'   => 'PVC-Encapsulation-Type',
-  'pvc_profile_name'         => 'PVC_Profile_Name',
-  'pvc_profile_namf'         => 'PVC-Profile-Name',
-  'quintum_avpair'           => 'Quintum-AVPair',
-  'quintum_h323_billing_mod' => 'Quintum-h323-billing-model',
-  'quintum_h323_call_origin' => 'Quintum-h323-call-origin',
-  'quintum_h323_call_type'   => 'Quintum-h323-call-type',
-  'quintum_h323_conf_id'     => 'Quintum-h323-conf-id',
-  'quintum_h323_connect_tim' => 'Quintum-h323-connect-time',
-  'quintum_h323_credit_amou' => 'Quintum-h323-credit-amount',
-  'quintum_h323_credit_time' => 'Quintum-h323-credit-time',
-  'quintum_h323_currency_ty' => 'Quintum-h323-currency-type',
-  'quintum_h323_disconnect_' => 'Quintum-h323-disconnect-time',
-  'quintum_h323_disconnecta' => 'Quintum-h323-disconnect-cause',
-  'quintum_h323_gw_id'       => 'Quintum-h323-gw-id',
-  'quintum_h323_incoming_co' => 'Quintum-h323-incoming-conf-id',
-  'quintum_h323_preferred_l' => 'Quintum-h323-preferred-lang',
-  'quintum_h323_prompt_id'   => 'Quintum-h323-prompt-id',
-  'quintum_h323_redirect_ip' => 'Quintum-h323-redirect-ip-address',
-  'quintum_h323_redirect_nu' => 'Quintum-h323-redirect-number',
-  'quintum_h323_remote_addr' => 'Quintum-h323-remote-address',
-  'quintum_h323_return_code' => 'Quintum-h323-return-code',
-  'quintum_h323_setup_time'  => 'Quintum-h323-setup-time',
-  'quintum_h323_time_and_da' => 'Quintum-h323-time-and-day',
-  'quintum_h323_voice_quali' => 'Quintum-h323-voice-quality',
-  'quintum_nas_port'         => 'Quintum-NAS-Port',
-  'rate_limit_burst'         => 'Rate_Limit_Burst',
-  'rate_limit_bursu'         => 'Rate-Limit-Burst',
-  'rate_limit_rate'          => 'Rate_Limit_Rate',
-  'rate_limit_ratf'          => 'Rate-Limit-Rate',
-  'realm'                    => 'Realm',
-  'redcreek_tunneled_dns_se' => 'RedCreek-Tunneled-DNS-Server',
-  'redcreek_tunneled_domain' => 'RedCreek-Tunneled-DomainName',
-  'redcreek_tunneled_gatewa' => 'RedCreek-Tunneled-Gateway',
-  'redcreek_tunneled_hostna' => 'RedCreek-Tunneled-HostName',
-  'redcreek_tunneled_ip_add' => 'RedCreek-Tunneled-IP-Addr',
-  'redcreek_tunneled_ip_net' => 'RedCreek-Tunneled-IP-Netmask',
-  'redcreek_tunneled_search' => 'RedCreek-Tunneled-Search-List',
-  'redcreek_tunneled_wins_s' => 'RedCreek-Tunneled-WINS-Server1',
-  'redcreek_tunneled_wins_t' => 'RedCreek-Tunneled-WINS-Server2',
-  'replicate_to_realm'       => 'Replicate-To-Realm',
-  'reply_message'            => 'Reply-Message',
-  'response_packet_type'     => 'Response-Packet-Type',
-  'rewrite_rule'             => 'Rewrite-Rule',
-  'sdx_service_name'         => 'Sdx-Service-Name',
-  'sdx_session_volume_quota' => 'Sdx-Session-Volume-Quota',
-  'sdx_tunnel_disconnect_ca' => 'Sdx-Tunnel-Disconnect-Cause-Info',
-  'service_type'             => 'Service-Type',
-  'session'                  => 'Session',
-  'session_error_code'       => 'Session_Error_Code',
-  'session_error_codf'       => 'Session-Error-Code',
-  'session_error_msg'        => 'Session_Error_Msg',
-  'session_error_msh'        => 'Session-Error-Msg',
-  'session_protocol'         => 'session-protocol',
-  'session_timeout'          => 'Session-Timeout',
-  'session_type'             => 'Session-Type',
-  'shasta_service_profile'   => 'Shasta-Service-Profile',
-  'shasta_user_privilege'    => 'Shasta-User-Privilege',
-  'shasta_vpn_name'          => 'Shasta-VPN-Name',
-  'shiva_acct_serv_switch'   => 'Shiva-Acct-Serv-Switch',
-  'shiva_called_number'      => 'Shiva-Called-Number',
-  'shiva_calling_number'     => 'Shiva-Calling-Number',
-  'shiva_compression_type'   => 'Shiva-Compression-Type',
-  'shiva_connect_reason'     => 'Shiva-Connect-Reason',
-  'shiva_customer_id'        => 'Shiva-Customer-Id',
-  'shiva_disconnect_reason'  => 'Shiva-Disconnect-Reason',
-  'shiva_event_flags'        => 'Shiva-Event-Flags',
-  'shiva_function'           => 'Shiva-Function',
-  'shiva_link_protocol'      => 'Shiva-Link-Protocol',
-  'shiva_link_speed'         => 'Shiva-Link-Speed',
-  'shiva_links_in_bundle'    => 'Shiva-Links-In-Bundle',
-  'shiva_network_protocols'  => 'Shiva-Network-Protocols',
-  'shiva_session_id'         => 'Shiva-Session-Id',
-  'shiva_type_of_service'    => 'Shiva-Type-Of-Service',
-  'shiva_user_attributes'    => 'Shiva-User-Attributes',
-  'simultaneous_use'         => 'Simultaneous-Use',
-  'sip_from'                 => 'Sip-From',
-  'sip_hdr'                  => 'sip-hdr',
-  'sip_method'               => 'Sip-Method',
-  'sip_to'                   => 'Sip-To',
-  'sip_translated_request_u' => 'Sip-Translated-Request-URI',
-  'smb_account_ctrl'         => 'SMB-Account-CTRL',
-  'smb_account_ctrl_text'    => 'SMB-Account-CTRL-TEXT',
-  'sonicwall_user_group'     => 'SonicWall-User-Group',
-  'sonicwall_user_privilege' => 'SonicWall-User-Privilege',
-  'source_validation'        => 'Source_Validation',
-  'source_validatioo'        => 'Source-Validation',
-  'sql_group'                => 'Sql-Group',
-  'sql_user_name'            => 'SQL-User-Name',
-  'ss3_firewall_user_privil' => 'SS3-Firewall-User-Privilege',
-  'st_acct_vc_connection_id' => 'ST-Acct-VC-Connection-Id',
-  'st_policy_name'           => 'ST-Policy-Name',
-  'st_primary_dns_server'    => 'ST-Primary-DNS-Server',
-  'st_primary_nbns_server'   => 'ST-Primary-NBNS-Server',
-  'st_secondary_dns_server'  => 'ST-Secondary-DNS-Server',
-  'st_secondary_nbns_server' => 'ST-Secondary-NBNS-Server',
-  'st_service_domain'        => 'ST-Service-Domain',
-  'st_service_name'          => 'ST-Service-Name',
-  'state'                    => 'State',
-  'strip_user_name'          => 'Strip-User-Name',
-  'stripped_user_name'       => 'Stripped-User-Name',
-  'subscriber'               => 'subscriber',
-  'suffix'                   => 'Suffix',
-  'telebit_accounting_info'  => 'Telebit-Accounting-Info',
-  'telebit_activate_command' => 'Telebit-Activate-Command',
-  'telebit_login_command'    => 'Telebit-Login-Command',
-  'telebit_port_name'        => 'Telebit-Port-Name',
-  'termination_action'       => 'Termination-Action',
-  'termination_menu'         => 'Termination-Menu',
-  'trapeze_encryption_type'  => 'Trapeze-Encryption-Type',
-  'trapeze_end_date'         => 'Trapeze-End-Date',
-  'trapeze_mobility_profile' => 'Trapeze-Mobility-Profile',
-  'trapeze_ssid'             => 'Trapeze-SSID',
-  'trapeze_start_date'       => 'Trapeze-Start-Date',
-  'trapeze_time_of_day'      => 'Trapeze-Time-Of-Day',
-  'trapeze_url'              => 'Trapeze-URL',
-  'trapeze_vlan_name'        => 'Trapeze-VLAN-Name',
-  'tty_level_max'            => 'TTY_Level_Max',
-  'tty_level_may'            => 'TTY-Level-Max',
-  'tty_level_start'          => 'TTY_Level_Start',
-  'tty_level_staru'          => 'TTY-Level-Start',
-  'tunnel_algorithm'         => 'Tunnel_Algorithm',
-  'tunnel_algorithn'         => 'Tunnel-Algorithm',
-  'tunnel_assignment_id'     => 'Tunnel-Assignment-Id',
-  'tunnel_client_auth_id'    => 'Tunnel-Client-Auth-Id',
-  'tunnel_client_endpoint'   => 'Tunnel-Client-Endpoint',
-  'tunnel_cmd_timeout'       => 'Tunnel_Cmd_Timeout',
-  'tunnel_cmd_timeouu'       => 'Tunnel-Cmd-Timeout',
-  'tunnel_connection_id'     => 'Tunnel-Connection-Id',
-  'tunnel_context'           => 'Tunnel_Context',
-  'tunnel_contexu'           => 'Tunnel-Context',
-  'tunnel_deadtime'          => 'Tunnel_Deadtime',
-  'tunnel_deadtimf'          => 'Tunnel-Deadtime',
-  'tunnel_dnis'              => 'Tunnel_DNIS',
-  'tunnel_dnit'              => 'Tunnel-DNIS',
-  'tunnel_domain'            => 'Tunnel_Domain',
-  'tunnel_domaio'            => 'Tunnel-Domain',
-  'tunnel_function'          => 'Tunnel_Function',
-  'tunnel_functioo'          => 'Tunnel-Function',
-  'tunnel_group'             => 'Tunnel_Group',
-  'tunnel_grouq'             => 'Tunnel-Group',
-  'tunnel_l2f_second_passwo' => 'Tunnel_L2F_Second_Password',
-  'tunnel_l2f_second_passwp' => 'Tunnel-L2F-Second-Password',
-  'tunnel_local_name'        => 'Tunnel_Local_Name',
-  'tunnel_local_namf'        => 'Tunnel-Local-Name',
-  'tunnel_max_sessions'      => 'Tunnel_Max_Sessions',
-  'tunnel_max_sessiont'      => 'Tunnel-Max-Sessions',
-  'tunnel_max_tunnels'       => 'Tunnel_Max_Tunnels',
-  'tunnel_max_tunnelt'       => 'Tunnel-Max-Tunnels',
-  'tunnel_medium_type'       => 'Tunnel-Medium-Type',
-  'tunnel_password'          => 'Tunnel-Password',
-  'tunnel_police_burst'      => 'Tunnel_Police_Burst',
-  'tunnel_police_bursu'      => 'Tunnel-Police-Burst',
-  'tunnel_police_rate'       => 'Tunnel_Police_Rate',
-  'tunnel_police_ratf'       => 'Tunnel-Police-Rate',
-  'tunnel_preference'        => 'Tunnel-Preference',
-  'tunnel_private_group_id'  => 'Tunnel-Private-Group-Id',
-  'tunnel_rate_limit_burst'  => 'Tunnel_Rate_Limit_Burst',
-  'tunnel_rate_limit_bursu'  => 'Tunnel-Rate-Limit-Burst',
-  'tunnel_rate_limit_rate'   => 'Tunnel_Rate_Limit_Rate',
-  'tunnel_rate_limit_ratf'   => 'Tunnel-Rate-Limit-Rate',
-  'tunnel_remote_name'       => 'Tunnel_Remote_Name',
-  'tunnel_remote_namf'       => 'Tunnel-Remote-Name',
-  'tunnel_retransmit'        => 'Tunnel_Retransmit',
-  'tunnel_retransmiu'        => 'Tunnel-Retransmit',
-  'tunnel_server_auth_id'    => 'Tunnel-Server-Auth-Id',
-  'tunnel_server_endpoint'   => 'Tunnel-Server-Endpoint',
-  'tunnel_session_auth'      => 'Tunnel_Session_Auth',
-  'tunnel_session_auth_ctx'  => 'Tunnel_Session_Auth_Ctx',
-  'tunnel_session_auth_cty'  => 'Tunnel-Session-Auth-Ctx',
-  'tunnel_session_auth_serv' => 'Tunnel_Session_Auth_Service_Grp',
-  'tunnel_session_auth_serw' => 'Tunnel-Session-Auth-Service-Grp',
-  'tunnel_session_auti'      => 'Tunnel-Session-Auth',
-  'tunnel_type'              => 'Tunnel-Type',
-  'tunnel_window'            => 'Tunnel_Window',
-  'tunnel_windox'            => 'Tunnel-Window',
-  'unix_ftp_gid'             => 'Unix-FTP-GID',
-  'unix_ftp_group_ids'       => 'Unix-FTP-Group-Ids',
-  'unix_ftp_group_names'     => 'Unix-FTP-Group-Names',
-  'unix_ftp_home'            => 'Unix-FTP-Home',
-  'unix_ftp_shell'           => 'Unix-FTP-Shell',
-  'unix_ftp_uid'             => 'Unix-FTP-UID',
-  'user_category'            => 'User-Category',
-  'user_name'                => 'User-Name',
-  'user_name_is_star'        => 'User-Name-Is-Star',
-  'user_password'            => 'User-Password',
-  'user_profile'             => 'User-Profile',
-  'user_service_type'        => 'User-Service-Type',
-  'usr_accm_type'            => 'USR-ACCM-Type',
-  'usr_acct_reason_code'     => 'USR-Acct-Reason-Code',
-  'usr_actual_voltage'       => 'USR-Actual-Voltage',
-  'usr_appletalk'            => 'USR-Appletalk',
-  'usr_appletalk_network_ra' => 'USR-Appletalk-Network-Range',
-  'usr_at_call_input_filter' => 'USR-AT-Call-Input-Filter',
-  'usr_at_call_output_filte' => 'USR-AT-Call-Output-Filter',
-  'usr_at_input_filter'      => 'USR-AT-Input-Filter',
-  'usr_at_output_filter'     => 'USR-AT-Output-Filter',
-  'usr_at_rtmp_input_filter' => 'USR-AT-RTMP-Input-Filter',
-  'usr_at_rtmp_output_filte' => 'USR-AT-RTMP-Output-Filter',
-  'usr_at_zip_input_filter'  => 'USR-AT-Zip-Input-Filter',
-  'usr_at_zip_output_filter' => 'USR-AT-Zip-Output-Filter',
-  'usr_auth_mode'            => 'USR-Auth-Mode',
-  'usr_back_channel_data_ra' => 'USR-Back-Channel-Data-Rate',
-  'usr_bearer_capabilities'  => 'USR-Bearer-Capabilities',
-  'usr_block_error_count_li' => 'USR-Block-Error-Count-Limit',
-  'usr_blocks_received'      => 'USR-Blocks-Received',
-  'usr_blocks_resent'        => 'USR-Blocks-Resent',
-  'usr_blocks_sent'          => 'USR-Blocks-Sent',
-  'usr_bridging'             => 'USR-Bridging',
-  'usr_call_arrival_in_gmt'  => 'USR-Call-Arrival-in-GMT',
-  'usr_call_arrival_time'    => 'USR-Call-Arrival-Time',
-  'usr_call_connect_in_gmt'  => 'USR-Call-Connect-in-GMT',
-  'usr_call_connecting_time' => 'USR-Call-Connecting-Time',
-  'usr_call_end_date_time'   => 'USR-Call-End-Date-Time',
-  'usr_call_end_time'        => 'USR-Call-End-Time',
-  'usr_call_error_code'      => 'USR-Call-Error-Code',
-  'usr_call_event_code'      => 'USR-Call-Event-Code',
-  'usr_call_reference_numbe' => 'USR-Call-Reference-Number',
-  'usr_call_start_date_time' => 'USR-Call-Start-Date-Time',
-  'usr_call_terminate_in_gm' => 'USR-Call-Terminate-in-GMT',
-  'usr_call_type'            => 'USR-Call-Type',
-  'usr_callback_type'        => 'USR-Callback-Type',
-  'usr_called_party_number'  => 'USR-Called-Party-Number',
-  'usr_calling_party_number' => 'USR-Calling-Party-Number',
-  'usr_card_type'            => 'USR-Card-Type',
-  'usr_ccp_algorithm'        => 'USR-CCP-Algorithm',
-  'usr_cdma_call_reference_' => 'USR-CDMA-Call-Reference-Number',
-  'usr_channel'              => 'USR-Channel',
-  'usr_channel_connected_to' => 'USR-Channel-Connected-To',
-  'usr_channel_decrement'    => 'USR-Channel-Decrement',
-  'usr_channel_expansion'    => 'USR-Channel-Expansion',
-  'usr_characters_received'  => 'USR-Characters-Received',
-  'usr_characters_sent'      => 'USR-Characters-Sent',
-  'usr_chassis_call_channel' => 'USR-Chassis-Call-Channel',
-  'usr_chassis_call_slot'    => 'USR-Chassis-Call-Slot',
-  'usr_chassis_call_span'    => 'USR-Chassis-Call-Span',
-  'usr_chassis_slot'         => 'USR-Chassis-Slot',
-  'usr_chassis_temp_thresho' => 'USR-Chassis-Temp-Threshold',
-  'usr_chassis_temperature'  => 'USR-Chassis-Temperature',
-  'usr_chat_script_name'     => 'USR-Chat-Script-Name',
-  'usr_compression_algorith' => 'USR-Compression-Algorithm',
-  'usr_compression_reset_mo' => 'USR-Compression-Reset-Mode',
-  'usr_compression_type'     => 'USR-Compression-Type',
-  'usr_connect_speed'        => 'USR-Connect-Speed',
-  'usr_connect_term_reason'  => 'USR-Connect-Term-Reason',
-  'usr_connect_time'         => 'USR-Connect-Time',
-  'usr_connect_time_limit'   => 'USR-Connect-Time-Limit',
-  'usr_cusr_hat_script_rule' => 'USR-CUSR-hat-Script-Rules',
-  'usr_default_dte_data_rat' => 'USR-Default-DTE-Data-Rate',
-  'usr_device_connected_to'  => 'USR-Device-Connected-To',
-  'usr_disconnect_cause_ind' => 'USR-Disconnect-Cause-Indicator',
-  'usr_dnis_reauthenticatio' => 'USR-DNIS-ReAuthentication',
-  'usr_ds0'                  => 'USR-DS0',
-  'usr_ds0s'                 => 'USR-DS0s',
-  'usr_dte_data_idle_timout' => 'USR-DTE-Data-Idle-Timout',
-  'usr_dte_ring_no_answer_l' => 'USR-DTE-Ring-No-Answer-Limit',
-  'usr_dtr_false_timeout'    => 'USR-DTR-False-Timeout',
-  'usr_dtr_true_timeout'     => 'USR-DTR-True-Timeout',
-  'usr_end_time'             => 'USR-End-Time',
-  'usr_equalization_type'    => 'USR-Equalization-Type',
-  'usr_esn'                  => 'USR-ESN',
-  'usr_et_bridge_call_outpu' => 'USR-ET-Bridge-Call-Output-Filte',
-  'usr_et_bridge_input_filt' => 'USR-ET-Bridge-Input-Filter',
-  'usr_et_bridge_output_fil' => 'USR-ET-Bridge-Output-Filter',
-  'usr_event_date_time'      => 'USR-Event-Date-Time',
-  'usr_event_id'             => 'USR-Event-Id',
-  'usr_expansion_algorithm'  => 'USR-Expansion-Algorithm',
-  'usr_expected_voltage'     => 'USR-Expected-Voltage',
-  'usr_failure_to_connect_r' => 'USR-Failure-to-Connect-Reason',
-  'usr_fallback_enabled'     => 'USR-Fallback-Enabled',
-  'usr_fallback_limit'       => 'USR-Fallback-Limit',
-  'usr_filter_zones'         => 'USR-Filter-Zones',
-  'usr_final_rx_link_data_r' => 'USR-Final-Rx-Link-Data-Rate',
-  'usr_final_tx_link_data_r' => 'USR-Final-Tx-Link-Data-Rate',
-  'usr_framed_ip_address_po' => 'USR-Framed_IP_Address_Pool_Name',
-  'usr_framed_ipx_route'     => 'USR-Framed-IPX-Route',
-  'usr_gateway_ip_address'   => 'USR-Gateway-IP-Address',
-  'usr_harc_disconnect_code' => 'USR-HARC-Disconnect-Code',
-  'usr_host_type'            => 'USR-Host-Type',
-  'usr_ids0_call_type'       => 'USR-IDS0-Call-Type',
-  'usr_igmp_maximum_respons' => 'USR-IGMP-Maximum-Response-Time',
-  'usr_igmp_query_interval'  => 'USR-IGMP-Query-Interval',
-  'usr_igmp_robustness'      => 'USR-IGMP-Robustness',
-  'usr_igmp_routing'         => 'USR-IGMP-Routing',
-  'usr_igmp_version'         => 'USR-IGMP-Version',
-  'usr_imsi'                 => 'USR-IMSI',
-  'usr_initial_rx_link_data' => 'USR-Initial-Rx-Link-Data-Rate',
-  'usr_initial_tx_link_data' => 'USR-Initial-Tx-Link-Data-Rate',
-  'usr_interface_index'      => 'USR-Interface-Index',
-  'usr_ip'                   => 'USR-IP',
-  'usr_ip_call_input_filter' => 'USR-IP-Call-Input-Filter',
-  'usr_ip_call_output_filte' => 'USR-IP-Call-Output-Filter',
-  'usr_ip_default_route_opt' => 'USR-IP-Default-Route-Option',
-  'usr_ip_rip_input_filter'  => 'USR-IP-RIP-Input-Filter',
-  'usr_ip_rip_output_filter' => 'USR-IP-RIP-Output-Filter',
-  'usr_ip_rip_policies'      => 'USR-IP-RIP-Policies',
-  'usr_ip_rip_simple_auth_p' => 'USR-IP-RIP-Simple-Auth-Password',
-  'usr_ip_saa_filter'        => 'USR-IP-SAA-Filter',
-  'usr_ipx'                  => 'USR-IPX',
-  'usr_ipx_call_input_filte' => 'USR-IPX-Call-Input-Filter',
-  'usr_ipx_call_output_filt' => 'USR-IPX-Call-Output-Filter',
-  'usr_ipx_rip_input_filter' => 'USR-IPX-RIP-Input-Filter',
-  'usr_ipx_rip_output_filte' => 'USR-IPX-RIP-Output-Filter',
-  'usr_ipx_routing'          => 'USR-IPX-Routing',
-  'usr_ipx_wan'              => 'USR-IPX-WAN',
-  'usr_iwf_call_identifier'  => 'USR-IWF-Call-Identifier',
-  'usr_iwf_ip_address'       => 'USR-IWF-IP-Address',
-  'usr_keypress_timeout'     => 'USR-Keypress-Timeout',
-  'usr_last_callers_number_' => 'USR-Last-Callers-Number-ANI',
-  'usr_last_number_dialed_i' => 'USR-Last-Number-Dialed-In-DNIS',
-  'usr_last_number_dialed_o' => 'USR-Last-Number-Dialed-Out',
-  'usr_line_reversals'       => 'USR-Line-Reversals',
-  'usr_local_framed_ip_addr' => 'USR-Local-Framed-IP-Addr',
-  'usr_local_ip_address'     => 'USR-Local-IP-Address',
-  'usr_log_filter_packets'   => 'USR-Log-Filter-Packets',
-  'usr_max_channels'         => 'USR-Max-Channels',
-  'usr_mbi_ct_bchannel_used' => 'USR-Mbi_Ct_BChannel_Used',
-  'usr_mbi_ct_pri_card_slot' => 'USR-Mbi_Ct_PRI_Card_Slot',
-  'usr_mbi_ct_pri_card_span' => 'USR-Mbi_Ct_PRI_Card_Span_Line',
-  'usr_mbi_ct_tdm_time_slot' => 'USR-Mbi_Ct_TDM_Time_Slot',
-  'usr_mic'                  => 'USR-MIC',
-  'usr_min_compression_size' => 'USR-Min-Compression-Size',
-  'usr_mobile_ip_address'    => 'USR-Mobile-IP-Address',
-  'usr_mobile_numbytes_rxed' => 'USR-Mobile-NumBytes-Rxed',
-  'usr_mobile_numbytes_txed' => 'USR-Mobile-NumBytes-Txed',
-  'usr_mobileip_home_agent_' => 'USR-MobileIP-Home-Agent-Address',
-  'usr_modem_group'          => 'USR-Modem-Group',
-  'usr_modem_setup_time'     => 'USR-Modem-Setup-Time',
-  'usr_modem_training_time'  => 'USR-Modem-Training-Time',
-  'usr_modulation_type'      => 'USR-Modulation-Type',
-  'usr_mp_edo'               => 'USR-MP-EDO',
-  'usr_mp_edo_hiper'         => 'USR-MP-EDO-HIPER',
-  'usr_mp_mrru'              => 'USR-MP-MRRU',
-  'usr_mpip_tunnel_originat' => 'USR-MPIP-Tunnel-Originator',
-  'usr_multicast_forwarding' => 'USR-Multicast-Forwarding',
-  'usr_multicast_proxy'      => 'USR-Multicast-Proxy',
-  'usr_multicast_receive'    => 'USR-Multicast-Receive',
-  'usr_nas_type'             => 'USR-NAS-Type',
-  'usr_nfas_id'              => 'USR-NFAS-ID',
-  'usr_num_fax_pages_proces' => 'USR-Num-Fax-Pages-Processed',
-  'usr_number_of_blers'      => 'USR-Number-of-Blers',
-  'usr_number_of_characters' => 'USR-Number-Of-Characters-Lost',
-  'usr_number_of_fallbacks'  => 'USR-Number-of-Fallbacks',
-  'usr_number_of_link_naks'  => 'USR-Number-of-Link-NAKs',
-  'usr_number_of_link_timeo' => 'USR-Number-of-Link-Timeouts',
-  'usr_number_of_rings_limi' => 'USR-Number-of-Rings-Limit',
-  'usr_number_of_upshifts'   => 'USR-Number-of-Upshifts',
-  'usr_orig_nas_type'        => 'USR-Orig-NAS-Type',
-  'usr_originate_answer_mod' => 'USR-Originate-Answer-Mode',
-  'usr_ospf_addressless_ind' => 'USR-OSPF-Addressless-Index',
-  'usr_packet_bus_session'   => 'USR-Packet-Bus-Session',
-  'usr_physical_state'       => 'USR-Physical-State',
-  'usr_port_tap'             => 'USR-Port-Tap',
-  'usr_port_tap_address'     => 'USR-Port-Tap-Address',
-  'usr_port_tap_facility'    => 'USR-Port-Tap-Facility',
-  'usr_port_tap_format'      => 'USR-Port-Tap-Format',
-  'usr_port_tap_output'      => 'USR-Port-Tap-Output',
-  'usr_port_tap_priority'    => 'USR-Port-Tap-Priority',
-  'usr_power_supply_number'  => 'USR-Power-Supply-Number',
-  'usr_primary_dns_server'   => 'USR-Primary_DNS_Server',
-  'usr_primary_nbns_server'  => 'USR-Primary_NBNS_Server',
-  'usr_pw_cutoff'            => 'USR-PW_Cutoff',
-  'usr_pw_framed_routing_v2' => 'USR-PW_Framed_Routing_V2',
-  'usr_pw_index'             => 'USR-PW_Index',
-  'usr_pw_packet'            => 'USR-PW_Packet',
-  'usr_pw_tunnel_authentica' => 'USR-PW_Tunnel_Authentication',
-  'usr_pw_usr_ifilter_ip'    => 'USR-PW_USR_IFilter_IP',
-  'usr_pw_usr_ifilter_ipx'   => 'USR-PW_USR_IFilter_IPX',
-  'usr_pw_usr_ofilter_ip'    => 'USR-PW_USR_OFilter_IP',
-  'usr_pw_usr_ofilter_ipx'   => 'USR-PW_USR_OFilter_IPX',
-  'usr_pw_usr_ofilter_sap'   => 'USR-PW_USR_OFilter_SAP',
-  'usr_pw_vpn_gateway'       => 'USR-PW_VPN_Gateway',
-  'usr_pw_vpn_id'            => 'USR-PW_VPN_ID',
-  'usr_pw_vpn_name'          => 'USR-PW_VPN_Name',
-  'usr_pw_vpn_neighbor'      => 'USR-PW_VPN_Neighbor',
-  'usr_q931_call_reference_' => 'USR-Q931-Call-Reference-Value',
-  'usr_rad_dvmrp_metric'     => 'USR-Rad-Dvmrp-Metric',
-  'usr_rad_location_type'    => 'USR-Rad-Location-Type',
-  'usr_rad_multicast_routin' => 'USR-Rad-Multicast-Routing-Ttl',
-  'usr_rad_multicast_routio' => 'USR-Rad-Multicast-Routing-RtLim',
-  'usr_rad_multicast_routip' => 'USR-Rad-Multicast-Routing-Proto',
-  'usr_rad_multicast_routiq' => 'USR-Rad-Multicast-Routing-Bound',
-  'usr_re_chap_timeout'      => 'USR-Re-Chap-Timeout',
-  'usr_receive_acc_map'      => 'USR-Receive-Acc-Map',
-  'usr_reply_script1'        => 'USR-Reply-Script1',
-  'usr_reply_script2'        => 'USR-Reply-Script2',
-  'usr_reply_script3'        => 'USR-Reply-Script3',
-  'usr_reply_script4'        => 'USR-Reply-Script4',
-  'usr_reply_script5'        => 'USR-Reply-Script5',
-  'usr_reply_script6'        => 'USR-Reply-Script6',
-  'usr_request_type'         => 'USR-Request-Type',
-  'usr_retrains_granted'     => 'USR-Retrains-Granted',
-  'usr_retrains_requested'   => 'USR-Retrains-Requested',
-  'usr_rmmie_firmware_build' => 'USR-RMMIE-Firmware-Build-Date',
-  'usr_rmmie_firmware_versi' => 'USR-RMMIE-Firmware-Version',
-  'usr_rmmie_last_update_ev' => 'USR-RMMIE-Last-Update-Event',
-  'usr_rmmie_last_update_ti' => 'USR-RMMIE-Last-Update-Time',
-  'usr_rmmie_manufacturer_i' => 'USR-RMMIE-Manufacturer-ID',
-  'usr_rmmie_num_of_updates' => 'USR-RMMIE-Num-Of-Updates',
-  'usr_rmmie_planned_discon' => 'USR-RMMIE-Planned-Disconnect',
-  'usr_rmmie_product_code'   => 'USR-RMMIE-Product-Code',
-  'usr_rmmie_pwrlvl_farecho' => 'USR-RMMIE-PwrLvl-FarEcho-Canc',
-  'usr_rmmie_pwrlvl_nearech' => 'USR-RMMIE-PwrLvl-NearEcho-Canc',
-  'usr_rmmie_pwrlvl_noise_l' => 'USR-RMMIE-PwrLvl-Noise-Lvl',
-  'usr_rmmie_pwrlvl_xmit_lv' => 'USR-RMMIE-PwrLvl-Xmit-Lvl',
-  'usr_rmmie_rcv_pwrlvl_330' => 'USR-RMMIE-Rcv-PwrLvl-3300Hz',
-  'usr_rmmie_rcv_pwrlvl_375' => 'USR-RMMIE-Rcv-PwrLvl-3750Hz',
-  'usr_rmmie_rcv_tot_pwrlvl' => 'USR-RMMIE-Rcv-Tot-PwrLvl',
-  'usr_rmmie_serial_number'  => 'USR-RMMIE-Serial-Number',
-  'usr_rmmie_status'         => 'USR-RMMIE-Status',
-  'usr_rmmie_x2_status'      => 'USR-RMMIE-x2-Status',
-  'usr_routing_protocol'     => 'USR-Routing-Protocol',
-  'usr_sap_filter_in'        => 'USR-SAP-Filter-In',
-  'usr_secondary_dns_server' => 'USR-Secondary_DNS_Server',
-  'usr_secondary_nbns_serve' => 'USR-Secondary_NBNS_Server',
-  'usr_security_login_limit' => 'USR-Security-Login-Limit',
-  'usr_security_resp_limit'  => 'USR-Security-Resp-Limit',
-  'usr_send_name'            => 'USR-Send-Name',
-  'usr_send_password'        => 'USR-Send-Password',
-  'usr_send_script1'         => 'USR-Send-Script1',
-  'usr_send_script2'         => 'USR-Send-Script2',
-  'usr_send_script3'         => 'USR-Send-Script3',
-  'usr_send_script4'         => 'USR-Send-Script4',
-  'usr_send_script5'         => 'USR-Send-Script5',
-  'usr_send_script6'         => 'USR-Send-Script6',
-  'usr_server_time'          => 'USR-Server-Time',
-  'usr_service_option'       => 'USR-Service-Option',
-  'usr_simplified_mnp_level' => 'USR-Simplified-MNP-Levels',
-  'usr_simplified_v42bis_us' => 'USR-Simplified-V42bis-Usage',
-  'usr_slot_connected_to'    => 'USR-Slot-Connected-To',
-  'usr_speed_of_connection'  => 'USR-Speed-Of-Connection',
-  'usr_spoofing'             => 'USR-Spoofing',
-  'usr_start_time'           => 'USR-Start-Time',
-  'usr_supports_tags'        => 'USR-Supports-Tags',
-  'usr_sync_async_mode'      => 'USR-Sync-Async-Mode',
-  'usr_syslog_tap'           => 'USR-Syslog-Tap',
-  'usr_terminal_type'        => 'USR-Terminal-Type',
-  'usr_transmit_acc_map'     => 'USR-Transmit-Acc-Map',
-  'usr_tunnel_auth_hostname' => 'USR-Tunnel-Auth-Hostname',
-  'usr_tunnel_security'      => 'USR-Tunnel-Security',
-  'usr_tunnel_switch_endpoi' => 'USR-Tunnel-Switch-Endpoint',
-  'usr_tunneled_mlpp'        => 'USR-Tunneled-MLPP',
-  'usr_unauthenticated_time' => 'USR-Unauthenticated-Time',
-  'usr_vpn_encrypter'        => 'USR-VPN-Encrypter',
-  'usr_vpn_gw_location_id'   => 'USR-VPN-GW-Location-Id',
-  'usr_vts_session_key'      => 'USR-VTS-Session-Key',
-  'vendor_specific'          => 'Vendor-Specific',
-  'versanet_termination_cau' => 'Versanet-Termination-Cause',
-  'vnc_pppoe_cbq_rx'         => 'VNC-PPPoE-CBQ-RX',
-  'vnc_pppoe_cbq_rx_fallbac' => 'VNC-PPPoE-CBQ-RX-Fallback',
-  'vnc_pppoe_cbq_tx'         => 'VNC-PPPoE-CBQ-TX',
-  'vnc_pppoe_cbq_tx_fallbac' => 'VNC-PPPoE-CBQ-TX-Fallback',
-  'vnc_splash'               => 'VNC-Splash',
-  'wispr_bandwidth_max_down' => 'WISPr-Bandwidth-Max-Down',
-  'wispr_bandwidth_max_up'   => 'WISPr-Bandwidth-Max-Up',
-  'wispr_bandwidth_min_down' => 'WISPr-Bandwidth-Min-Down',
-  'wispr_bandwidth_min_up'   => 'WISPr-Bandwidth-Min-Up',
-  'wispr_billing_class_of_s' => 'WISPr-Billing-Class-Of-Service',
-  'wispr_location_id'        => 'WISPr-Location-ID',
-  'wispr_location_name'      => 'WISPr-Location-Name',
-  'wispr_logoff_url'         => 'WISPr-Logoff-URL',
-  'wispr_redirection_url'    => 'WISPr-Redirection-URL',
-  'wispr_session_terminate_' => 'WISPr-Session-Terminate-Time',
-  'wispr_session_terminatea' => 'WISPr-Session-Terminate-End-Of-Day',
-  'x_ascend_add_seconds'     => 'X-Ascend-Add-Seconds',
-  'x_ascend_ara_pw'          => 'X-Ascend-Ara-PW',
-  'x_ascend_assign_ip_clien' => 'X-Ascend-Assign-IP-Client',
-  'x_ascend_assign_ip_globa' => 'X-Ascend-Assign-IP-Global-Pool',
-  'x_ascend_assign_ip_pool'  => 'X-Ascend-Assign-IP-Pool',
-  'x_ascend_assign_ip_serve' => 'X-Ascend-Assign-IP-Server',
-  'x_ascend_authen_alias'    => 'X-Ascend-Authen-Alias',
-  'x_ascend_backup'          => 'X-Ascend-Backup',
-  'x_ascend_bacp_enable'     => 'X-Ascend-BACP-Enable',
-  'x_ascend_base_channel_co' => 'X-Ascend-Base-Channel-Count',
-  'x_ascend_billing_number'  => 'X-Ascend-Billing-Number',
-  'x_ascend_bridge'          => 'X-Ascend-Bridge',
-  'x_ascend_bridge_address'  => 'X-Ascend-Bridge-Address',
-  'x_ascend_call_attempt_li' => 'X-Ascend-Call-Attempt-Limit',
-  'x_ascend_call_block_dura' => 'X-Ascend-Call-Block-Duration',
-  'x_ascend_call_by_call'    => 'X-Ascend-Call-By-Call',
-  'x_ascend_call_filter'     => 'X-Ascend-Call-Filter',
-  'x_ascend_call_type'       => 'X-Ascend-Call-Type',
-  'x_ascend_callback'        => 'X-Ascend-Callback',
-  'x_ascend_client_assign_d' => 'X-Ascend-Client-Assign-DNS',
-  'x_ascend_client_gateway'  => 'X-Ascend-Client-Gateway',
-  'x_ascend_client_primary_' => 'X-Ascend-Client-Primary-DNS',
-  'x_ascend_client_secondar' => 'X-Ascend-Client-Secondary-DNS',
-  'x_ascend_connect_progres' => 'X-Ascend-Connect-Progress',
-  'x_ascend_data_filter'     => 'X-Ascend-Data-Filter',
-  'x_ascend_data_rate'       => 'X-Ascend-Data-Rate',
-  'x_ascend_data_svc'        => 'X-Ascend-Data-Svc',
-  'x_ascend_dba_monitor'     => 'X-Ascend-DBA-Monitor',
-  'x_ascend_dec_channel_cou' => 'X-Ascend-Dec-Channel-Count',
-  'x_ascend_dhcp_maximum_le' => 'X-Ascend-DHCP-Maximum-Leases',
-  'x_ascend_dhcp_pool_numbe' => 'X-Ascend-DHCP-Pool-Number',
-  'x_ascend_dhcp_reply'      => 'X-Ascend-DHCP-Reply',
-  'x_ascend_dial_number'     => 'X-Ascend-Dial-Number',
-  'x_ascend_dialout_allowed' => 'X-Ascend-Dialout-Allowed',
-  'x_ascend_disconnect_caus' => 'X-Ascend-Disconnect-Cause',
-  'x_ascend_event_type'      => 'X-Ascend-Event-Type',
-  'x_ascend_expect_callback' => 'X-Ascend-Expect-Callback',
-  'x_ascend_fcp_parameter'   => 'X-Ascend-FCP-Parameter',
-  'x_ascend_first_dest'      => 'X-Ascend-First-Dest',
-  'x_ascend_force_56'        => 'X-Ascend-Force-56',
-  'x_ascend_fr_circuit_name' => 'X-Ascend-FR-Circuit-Name',
-  'x_ascend_fr_dce_n392'     => 'X-Ascend-FR-DCE-N392',
-  'x_ascend_fr_dce_n393'     => 'X-Ascend-FR-DCE-N393',
-  'x_ascend_fr_direct'       => 'X-Ascend-FR-Direct',
-  'x_ascend_fr_direct_dlci'  => 'X-Ascend-FR-Direct-DLCI',
-  'x_ascend_fr_direct_profi' => 'X-Ascend-FR-Direct-Profile',
-  'x_ascend_fr_dlci'         => 'X-Ascend-FR-DLCI',
-  'x_ascend_fr_dte_n392'     => 'X-Ascend-FR-DTE-N392',
-  'x_ascend_fr_dte_n393'     => 'X-Ascend-FR-DTE-N393',
-  'x_ascend_fr_link_mgt'     => 'X-Ascend-FR-Link-Mgt',
-  'x_ascend_fr_linkup'       => 'X-Ascend-FR-LinkUp',
-  'x_ascend_fr_n391'         => 'X-Ascend-FR-N391',
-  'x_ascend_fr_nailed_grp'   => 'X-Ascend-FR-Nailed-Grp',
-  'x_ascend_fr_profile_name' => 'X-Ascend-FR-Profile-Name',
-  'x_ascend_fr_t391'         => 'X-Ascend-FR-T391',
-  'x_ascend_fr_t392'         => 'X-Ascend-FR-T392',
-  'x_ascend_fr_type'         => 'X-Ascend-FR-Type',
-  'x_ascend_ft1_caller'      => 'X-Ascend-FT1-Caller',
-  'x_ascend_group'           => 'X-Ascend-Group',
-  'x_ascend_handle_ipx'      => 'X-Ascend-Handle-IPX',
-  'x_ascend_history_weigh_t' => 'X-Ascend-History-Weigh-Type',
-  'x_ascend_home_agent_ip_a' => 'X-Ascend-Home-Agent-IP-Addr',
-  'x_ascend_home_agent_pass' => 'X-Ascend-Home-Agent-Password',
-  'x_ascend_home_agent_udp_' => 'X-Ascend-Home-Agent-UDP-Port',
-  'x_ascend_home_network_na' => 'X-Ascend-Home-Network-Name',
-  'x_ascend_host_info'       => 'X-Ascend-Host-Info',
-  'x_ascend_idle_limit'      => 'X-Ascend-Idle-Limit',
-  'x_ascend_if_netmask'      => 'X-Ascend-IF-Netmask',
-  'x_ascend_inc_channel_cou' => 'X-Ascend-Inc-Channel-Count',
-  'x_ascend_ip_direct'       => 'X-Ascend-IP-Direct',
-  'x_ascend_ip_pool_definit' => 'X-Ascend-IP-Pool-Definition',
-  'x_ascend_ipx_alias'       => 'X-Ascend-IPX-Alias',
-  'x_ascend_ipx_node_addr'   => 'X-Ascend-IPX-Node-Addr',
-  'x_ascend_ipx_peer_mode'   => 'X-Ascend-IPX-Peer-Mode',
-  'x_ascend_ipx_route'       => 'X-Ascend-IPX-Route',
-  'x_ascend_link_compressio' => 'X-Ascend-Link-Compression',
-  'x_ascend_maximum_call_du' => 'X-Ascend-Maximum-Call-Duration',
-  'x_ascend_maximum_channel' => 'X-Ascend-Maximum-Channels',
-  'x_ascend_maximum_time'    => 'X-Ascend-Maximum-Time',
-  'x_ascend_menu_item'       => 'X-Ascend-Menu-Item',
-  'x_ascend_menu_selector'   => 'X-Ascend-Menu-Selector',
-  'x_ascend_metric'          => 'X-Ascend-Metric',
-  'x_ascend_minimum_channel' => 'X-Ascend-Minimum-Channels',
-  'x_ascend_modem_portno'    => 'X-Ascend-Modem-PortNo',
-  'x_ascend_modem_shelfno'   => 'X-Ascend-Modem-ShelfNo',
-  'x_ascend_modem_slotno'    => 'X-Ascend-Modem-SlotNo',
-  'x_ascend_mpp_idle_percen' => 'X-Ascend-MPP-Idle-Percent',
-  'x_ascend_multicast_clien' => 'X-Ascend-Multicast-Client',
-  'x_ascend_multicast_rate_' => 'X-Ascend-Multicast-Rate-Limit',
-  'x_ascend_multilink_id'    => 'X-Ascend-Multilink-ID',
-  'x_ascend_netware_timeout' => 'X-Ascend-Netware-timeout',
-  'x_ascend_num_in_multilin' => 'X-Ascend-Num-In-Multilink',
-  'x_ascend_number_sessions' => 'X-Ascend-Number-Sessions',
-  'x_ascend_ppp_address'     => 'X-Ascend-PPP-Address',
-  'x_ascend_ppp_async_map'   => 'X-Ascend-PPP-Async-Map',
-  'x_ascend_ppp_vj_1172'     => 'X-Ascend-PPP-VJ-1172',
-  'x_ascend_ppp_vj_slot_com' => 'X-Ascend-PPP-VJ-Slot-Comp',
-  'x_ascend_pre_input_octet' => 'X-Ascend-Pre-Input-Octets',
-  'x_ascend_pre_input_packe' => 'X-Ascend-Pre-Input-Packets',
-  'x_ascend_pre_output_octe' => 'X-Ascend-Pre-Output-Octets',
-  'x_ascend_pre_output_pack' => 'X-Ascend-Pre-Output-Packets',
-  'x_ascend_preempt_limit'   => 'X-Ascend-Preempt-Limit',
-  'x_ascend_presession_time' => 'X-Ascend-PreSession-Time',
-  'x_ascend_pri_number_type' => 'X-Ascend-PRI-Number-Type',
-  'x_ascend_primary_home_ag' => 'X-Ascend-Primary-Home-Agent',
-  'x_ascend_pw_lifetime'     => 'X-Ascend-PW-Lifetime',
-  'x_ascend_pw_warntime'     => 'X-Ascend-PW-Warntime',
-  'x_ascend_receive_secret'  => 'X-Ascend-Receive-Secret',
-  'x_ascend_remote_addr'     => 'X-Ascend-Remote-Addr',
-  'x_ascend_remove_seconds'  => 'X-Ascend-Remove-Seconds',
-  'x_ascend_require_auth'    => 'X-Ascend-Require-Auth',
-  'x_ascend_route_ip'        => 'X-Ascend-Route-IP',
-  'x_ascend_route_ipx'       => 'X-Ascend-Route-IPX',
-  'x_ascend_secondary_home_' => 'X-Ascend-Secondary-Home-Agent',
-  'x_ascend_seconds_of_hist' => 'X-Ascend-Seconds-Of-History',
-  'x_ascend_send_auth'       => 'X-Ascend-Send-Auth',
-  'x_ascend_send_passwd'     => 'X-Ascend-Send-Passwd',
-  'x_ascend_send_secret'     => 'X-Ascend-Send-Secret',
-  'x_ascend_session_svr_key' => 'X-Ascend-Session-Svr-Key',
-  'x_ascend_shared_profile_' => 'X-Ascend-Shared-Profile-Enable',
-  'x_ascend_target_util'     => 'X-Ascend-Target-Util',
-  'x_ascend_temporary_rtes'  => 'X-Ascend-Temporary-Rtes',
-  'x_ascend_third_prompt'    => 'X-Ascend-Third-Prompt',
-  'x_ascend_token_expiry'    => 'X-Ascend-Token-Expiry',
-  'x_ascend_token_idle'      => 'X-Ascend-Token-Idle',
-  'x_ascend_token_immediate' => 'X-Ascend-Token-Immediate',
-  'x_ascend_transit_number'  => 'X-Ascend-Transit-Number',
-  'x_ascend_ts_idle_limit'   => 'X-Ascend-TS-Idle-Limit',
-  'x_ascend_ts_idle_mode'    => 'X-Ascend-TS-Idle-Mode',
-  'x_ascend_tunneling_proto' => 'X-Ascend-Tunneling-Protocol',
-  'x_ascend_user_acct_base'  => 'X-Ascend-User-Acct-Base',
-  'x_ascend_user_acct_host'  => 'X-Ascend-User-Acct-Host',
-  'x_ascend_user_acct_key'   => 'X-Ascend-User-Acct-Key',
-  'x_ascend_user_acct_port'  => 'X-Ascend-User-Acct-Port',
-  'x_ascend_user_acct_time'  => 'X-Ascend-User-Acct-Time',
-  'x_ascend_user_acct_type'  => 'X-Ascend-User-Acct-Type',
-  'x_ascend_xmit_rate'       => 'X-Ascend-Xmit-Rate',
-  'xedia_address_pool'       => 'Xedia-Address-Pool',
-  'xedia_client_access_netw' => 'Xedia-Client-Access-Network',
-  'xedia_dns_server'         => 'Xedia-DNS-Server',
-  'xedia_netbios_server'     => 'Xedia-NetBios-Server',
-  'xedia_ppp_echo_interval'  => 'Xedia-PPP-Echo-Interval',
-  'xedia_ssh_privileges'     => 'Xedia-SSH-Privileges',
-
-  #NETC.NET.AU (RADIATOR?)
-  'authentication_type'      => 'Authentication-Type',
-
-  #wtxs (dunno)
-  #'radius_operator'          => 'Radius-Operator',
-
-);
-
-1;
diff --git a/FS/FS/radius_usergroup.pm b/FS/FS/radius_usergroup.pm
deleted file mode 100644 (file)
index 9bba057..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-package FS::radius_usergroup;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::svc_acct;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::radius_usergroup - Object methods for radius_usergroup records
-
-=head1 SYNOPSIS
-
-  use FS::radius_usergroup;
-
-  $record = new FS::radius_usergroup \%hash;
-  $record = new FS::radius_usergroup { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::radius_usergroup object links an account (see L<FS::svc_acct>) with a
-RADIUS group.  FS::radius_usergroup inherits from FS::Record.  The following
-fields are currently supported:
-
-=over 4
-
-=item usergroupnum - primary key
-
-=item svcnum - Account (see L<FS::svc_acct>).
-
-=item groupname - group name
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new record.  To add the record to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'radius_usergroup'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-#inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-#inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-#inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  $self->ut_numbern('usergroupnum')
-    || $self->ut_number('svcnum')
-    || $self->ut_foreign_key('svcnum','svc_acct','svcnum')
-    || $self->ut_text('groupname')
-    || $self->SUPER::check
-  ;
-}
-
-=item svc_acct
-
-Returns the account associated with this record (see L<FS::svc_acct>).
-
-=cut
-
-sub svc_acct {
-  my $self = shift;
-  qsearchs('svc_acct', { svcnum => $self->svcnum } );
-}
-
-=back
-
-=head1 BUGS
-
-Don't let 'em get you down.
-
-=head1 SEE ALSO
-
-L<svc_acct>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/rate.pm b/FS/FS/rate.pm
deleted file mode 100644 (file)
index a471e2e..0000000
+++ /dev/null
@@ -1,379 +0,0 @@
-package FS::rate;
-
-use strict;
-use vars qw( @ISA $DEBUG );
-use FS::Record qw( qsearch qsearchs dbh fields );
-use FS::rate_detail;
-
-@ISA = qw(FS::Record);
-
-$DEBUG = 1;
-
-=head1 NAME
-
-FS::rate - Object methods for rate records
-
-=head1 SYNOPSIS
-
-  use FS::rate;
-
-  $record = new FS::rate \%hash;
-  $record = new FS::rate { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::rate object represents an rate plan.  FS::rate inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item ratenum - primary key
-
-=item ratename
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new rate plan.  To add the rate plan to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'rate'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-Currently available options are: I<rate_detail>
-
-If I<rate_detail> is set to an array reference of FS::rate_detail objects, the
-objects will have their ratenum field set and will be inserted after this
-record.
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my %options = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->check;
-  return $error if $error;
-
-  $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $options{'rate_detail'} ) {
-
-    my( $num, $last, $min_sec ) = (0, time, 5); #progressbar foo
-
-    foreach my $rate_detail ( @{$options{'rate_detail'}} ) {
-
-      $rate_detail->ratenum($self->ratenum);
-      $error = $rate_detail->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-
-      if ( $options{'job'} ) {
-        $num++;
-        if ( time - $min_sec > $last ) {
-          my $error = $options{'job'}->update_statustext(
-            int( 100 * $num / scalar( @{$options{'rate_detail'}} ) )
-          );
-          if ( $error ) {
-            $dbh->rollback if $oldAutoCommit;
-            return $error;
-          }
-          $last = time;
-        }
-      }
-
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD [ , OPTION => VALUE ... ]
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-Currently available options are: I<rate_detail>
-
-If I<rate_detail> is set to an array reference of FS::rate_detail objects, the
-objects will have their ratenum field set and will be inserted after this
-record.  Any existing rate_detail records associated with this record will be
-deleted.
-
-=cut
-
-sub replace {
-  my ($new, $old) = (shift, shift);
-  my %options = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-#  my @old_rate_detail = ();
-#  @old_rate_detail = $old->rate_detail if $options{'rate_detail'};
-
-  my $error = $new->SUPER::replace($old);
-  if ($error) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-#  foreach my $old_rate_detail ( @old_rate_detail ) {
-#
-#    my $error = $old_rate_detail->delete;
-#    if ($error) {
-#      $dbh->rollback if $oldAutoCommit;
-#      return $error;
-#    }
-#
-#    if ( $options{'job'} ) {
-#      $num++;
-#      if ( time - $min_sec > $last ) {
-#        my $error = $options{'job'}->update_statustext(
-#          int( 50 * $num / scalar( @old_rate_detail ) )
-#        );
-#        if ( $error ) {
-#          $dbh->rollback if $oldAutoCommit;
-#          return $error;
-#        }
-#        $last = time;
-#      }
-#    }
-#
-#  }
-  if ( $options{'rate_detail'} ) {
-    my $sth = $dbh->prepare('DELETE FROM rate_detail WHERE ratenum = ?') or do {
-      $dbh->rollback if $oldAutoCommit;
-      return $dbh->errstr;
-    };
-  
-    $sth->execute($old->ratenum) or do {
-      $dbh->rollback if $oldAutoCommit;
-      return $sth->errstr;
-    };
-
-    my( $num, $last, $min_sec ) = (0, time, 5); #progresbar foo
-#  $num = 0;
-    foreach my $rate_detail ( @{$options{'rate_detail'}} ) {
-  
-      $rate_detail->ratenum($new->ratenum);
-      $error = $rate_detail->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-  
-      if ( $options{'job'} ) {
-        $num++;
-        if ( time - $min_sec > $last ) {
-          my $error = $options{'job'}->update_statustext(
-            int( 100 * $num / scalar( @{$options{'rate_detail'}} ) )
-          );
-          if ( $error ) {
-            $dbh->rollback if $oldAutoCommit;
-            return $error;
-          }
-          $last = time;
-        }
-      }
-  
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item check
-
-Checks all fields to make sure this is a valid rate plan.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error =
-       $self->ut_numbern('ratenum')
-    || $self->ut_text('ratename')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=item dest_detail REGIONNUM | RATE_REGION_OBJECTD
-
-Returns the rate detail (see L<FS::rate_detail>) for this rate to the
-specificed destination.
-
-=cut
-
-sub dest_detail {
-  my $self = shift;
-  my $regionnum = ref($_[0]) ? shift->regionnum : shift;
-  qsearchs( 'rate_detail', { 'ratenum'        => $self->ratenum,
-                             'dest_regionnum' => $regionnum,     } );
-}
-
-=item rate_detail
-
-Returns all region-specific details  (see L<FS::rate_detail>) for this rate.
-
-=cut
-
-sub rate_detail {
-  my $self = shift;
-  qsearch( 'rate_detail', { 'ratenum' => $self->ratenum } );
-}
-
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item process
-
-Experimental job-queue processor for web interface adds/edits
-
-=cut
-
-use Storable qw(thaw);
-use Data::Dumper;
-use MIME::Base64;
-sub process {
-  my $job = shift;
-
-  my $param = thaw(decode_base64(shift));
-  warn Dumper($param) if $DEBUG;
-
-  my $old = qsearchs('rate', { 'ratenum' => $param->{'ratenum'} } )
-    if $param->{'ratenum'};
-
-  my @rate_detail = map {
-
-    my $regionnum = $_->regionnum;
-    if ( $param->{"sec_granularity$regionnum"} ) {
-
-      new FS::rate_detail {
-        'dest_regionnum'  => $regionnum,
-        map { $_ => $param->{"$_$regionnum"} }
-            qw( min_included min_charge sec_granularity )
-      };
-
-    } else {
-
-      new FS::rate_detail {
-        'dest_regionnum'  => $regionnum,
-        'min_included'    => 0,
-        'min_charge'      => 0,
-        'sec_granularity' => '60'
-      };
-
-    }
-    
-  } qsearch('rate_region', {} );
-  
-  my $rate = new FS::rate {
-    map { $_ => $param->{$_} }
-        fields('rate')
-  };
-
-  my $error = '';
-  if ( $param->{'ratenum'} ) {
-    warn "$rate replacing $old (". $param->{'ratenum'}. ")\n" if $DEBUG;
-    $error = $rate->replace( $old,
-                             'rate_detail' => \@rate_detail,
-                             'job'         => $job,
-                           );
-  } else {
-    warn "inserting $rate\n" if $DEBUG;
-    $error = $rate->insert( 'rate_detail' => \@rate_detail,
-                            'job'         => $job,
-                          );
-    #$ratenum = $rate->getfield('ratenum');
-  }
-
-  die "$error\n" if $error;
-
-}
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/rate_detail.pm b/FS/FS/rate_detail.pm
deleted file mode 100644 (file)
index 7d54355..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-package FS::rate_detail;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::rate;
-use FS::rate_region;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::rate_detail - Object methods for rate_detail records
-
-=head1 SYNOPSIS
-
-  use FS::rate_detail;
-
-  $record = new FS::rate_detail \%hash;
-  $record = new FS::rate_detail { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::rate_detail object represents an call plan rate.  FS::rate_detail
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item ratedetailnum - primary key
-
-=item ratenum - rate plan (see L<FS::rate>)
-
-=item orig_regionnum - call origination region
-
-=item dest_regionnum - call destination region
-
-=item min_included - included minutes
-
-=item min_charge - charge per minute
-
-=item sec_granularity - granularity in seconds, i.e. 6 or 60
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new example.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'rate_detail'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-       $self->ut_numbern('ratedetailnum')
-    || $self->ut_foreign_key('ratenum', 'rate', 'ratenum')
-    || $self->ut_foreign_keyn('orig_regionnum', 'rate_region', 'regionnum' )
-    || $self->ut_foreign_key('dest_regionnum', 'rate_region', 'regionnum' )
-    || $self->ut_number('min_included')
-    || $self->ut_money('min_charge')
-    || $self->ut_number('sec_granularity')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::rate>, L<FS::rate_region>, L<FS::Record>,
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/rate_prefix.pm b/FS/FS/rate_prefix.pm
deleted file mode 100644 (file)
index 42b004f..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-package FS::rate_prefix;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::rate_region;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::rate_prefix - Object methods for rate_prefix records
-
-=head1 SYNOPSIS
-
-  use FS::rate_prefix;
-
-  $record = new FS::rate_prefix \%hash;
-  $record = new FS::rate_prefix { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::rate_prefix object represents an call rating prefix.  FS::rate_prefix
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item prefixnum - primary key
-
-=item regionnum - call ration region (see L<FS::rate_region>)
-
-=item countrycode
-
-=item npa
-
-=item nxx
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new prefix.  To add the prefix to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'rate_prefix'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid prefix.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error =
-       $self->ut_numbern('prefixnum')
-    || $self->ut_foreign_key('regionnum', 'rate_region', 'regionnum' )
-    || $self->ut_number('countrycode')
-    || $self->ut_numbern('npa')
-    || $self->ut_numbern('nxx')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=item rate_region
-
-Returns the rate region (see L<FS::rate_region>) for this prefix.
-
-=cut
-
-sub rate_region {
-  my $self = shift;
-  qsearchs('rate_region', { 'regionnum' => $self->regionnum } );
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::rate_region>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/rate_region.pm b/FS/FS/rate_region.pm
deleted file mode 100644 (file)
index 65dfd2a..0000000
+++ /dev/null
@@ -1,313 +0,0 @@
-package FS::rate_region;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs dbh );
-use FS::rate_prefix;
-use FS::rate_detail;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::rate_region - Object methods for rate_region records
-
-=head1 SYNOPSIS
-
-  use FS::rate_region;
-
-  $record = new FS::rate_region \%hash;
-  $record = new FS::rate_region { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::rate_region object represents an call rating region.  FS::rate_region
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item regionnum - primary key
-
-=item regionname
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new region.  To add the region to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'rate_region'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-Currently available options are: I<rate_prefix> and I<dest_detail>
-
-If I<rate_prefix> is set to an array reference of FS::rate_prefix objects, the
-objects will have their regionnum field set and will be inserted after this
-record.
-
-If I<dest_detail> is set to an array reference of FS::rate_detail objects, the
-objects will have their dest_regionnum field set and will be inserted after
-this record.
-
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my %options = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->check;
-  return $error if $error;
-
-  $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $options{'rate_prefix'} ) {
-    foreach my $rate_prefix ( @{$options{'rate_prefix'}} ) {
-      $rate_prefix->regionnum($self->regionnum);
-      $error = $rate_prefix->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  if ( $options{'dest_detail'} ) {
-    foreach my $rate_detail ( @{$options{'dest_detail'}} ) {
-      $rate_detail->dest_regionnum($self->regionnum);
-      $error = $rate_detail->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD [ , OPTION => VALUE ... ]
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-Currently available options are: I<rate_prefix> and I<dest_detail>
-
-If I<rate_prefix> is set to an array reference of FS::rate_prefix objects, the
-objects will have their regionnum field set and will be inserted after this
-record.  Any existing rate_prefix records associated with this record will be
-deleted.
-
-If I<dest_detail> is set to an array reference of FS::rate_detail objects, the
-objects will have their dest_regionnum field set and will be inserted after
-this record.  Any existing rate_detail records associated with this record will
-be deleted.
-
-=cut
-
-sub replace {
-  my ($new, $old) = (shift, shift);
-  my %options = @_;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my @old_rate_prefix = ();
-  @old_rate_prefix = $old->rate_prefix if $options{'rate_prefix'};
-  my @old_dest_detail = ();
-  @old_dest_detail = $old->dest_detail if $options{'dest_detail'};
-
-  my $error = $new->SUPER::replace($old);
-  if ($error) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  foreach my $old_rate_prefix ( @old_rate_prefix ) {
-    my $error = $old_rate_prefix->delete;
-    if ($error) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-  foreach my $old_dest_detail ( @old_dest_detail ) {
-    my $error = $old_dest_detail->delete;
-    if ($error) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  foreach my $rate_prefix ( @{$options{'rate_prefix'}} ) {
-    $rate_prefix->regionnum($new->regionnum);
-    $error = $rate_prefix->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-  foreach my $rate_detail ( @{$options{'dest_detail'}} ) {
-    $rate_detail->dest_regionnum($new->regionnum);
-    $error = $rate_detail->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item check
-
-Checks all fields to make sure this is a valid region.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error =
-       $self->ut_numbern('regionnum')
-    || $self->ut_text('regionname')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=item rate_prefix
-
-Returns all prefixes (see L<FS::rate_prefix>) for this region.
-
-=cut
-
-sub rate_prefix {
-  my $self = shift;
-
-  sort {    $a->countrycode cmp $b->countrycode
-         or $a->npa         cmp $b->npa
-         or $a->nxx         cmp $b->nxx
-       }
-       qsearch( 'rate_prefix', { 'regionnum' => $self->regionnum } );
-}
-
-=item dest_detail
-
-Returns all rate details (see L<FS::rate_detail>) for this region as a
-destionation.
-
-=cut
-
-sub dest_detail {
-  my $self = shift;
-  qsearch( 'rate_detail', { 'dest_regionnum' => $self->regionnum, } );
-}
-
-=item prefixes_short
-
-Returns a string representing all the prefixes for this region.
-
-=cut
-
-sub prefixes_short {
-  my $self = shift;
-
-  my $countrycode = '';
-  my $out = '';
-
-  foreach my $rate_prefix ( $self->rate_prefix ) {
-    if ( $countrycode ne $rate_prefix->countrycode ) {
-      $out =~ s/, $//;
-      $countrycode = $rate_prefix->countrycode;
-      $out.= " +$countrycode ";
-    }
-    my $npa = $rate_prefix->npa;
-    if ( $countrycode eq '1' ) {
-      $out .= '('. substr( $npa, 0, 3 ). ')';
-      $out .= ' '. substr( $npa, 3 ) if length($npa) > 3;
-    } else {
-      $out .= $rate_prefix->npa;
-    }
-    $out .= ', ';
-  }
-  $out =~ s/, $//;
-
-  $out;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/reg_code.pm b/FS/FS/reg_code.pm
deleted file mode 100644 (file)
index f48ccf0..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-package FS::reg_code;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw(qsearch dbh);
-use FS::agent;
-use FS::reg_code_pkg;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::reg_code - One-time registration codes
-
-=head1 SYNOPSIS
-
-  use FS::reg_code;
-
-  $record = new FS::reg_code \%hash;
-  $record = new FS::reg_code { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::reg_code object is a one-time registration code.  FS::reg_code inherits
-from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item codenum - primary key
-
-=item code - registration code string
-
-=item agentnum - Agent (see L<FS::agent>)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new registration code.  To add the code to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'reg_code'; }
-
-=item insert [ PKGPART_ARRAYREF ] 
-
-Adds this record to the database.  If an arrayref of pkgparts
-(see L<FS::part_pkg>) is specified, the appropriate reg_code_pkg records
-(see L<FS::reg_code_pkg>) will be inserted.
-
-If there is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub insert {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( @_ ) {
-    my $pkgparts = shift;
-    foreach my $pkgpart ( @$pkgparts ) {
-      my $reg_code_pkg = new FS::reg_code_pkg ( {
-        'codenum' => $self->codenum,
-        'pkgpart' => $pkgpart,
-      } );
-      $error = $reg_code_pkg->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item delete
-
-Delete this record (and all associated reg_code_pkg records) from the database.
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $reg_code_pkg ( $self->reg_code_pkg ) {
-    my $error = $reg_code_pkg->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid registration code.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('codenum')
-    || $self->ut_alpha('code')
-    || $self->ut_foreign_key('agentnum', 'agent', 'agentnum')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=item part_pkg
-
-Returns all package definitions (see L<FS::part_pkg> for this registration
-code.
-
-=cut
-
-sub part_pkg {
-  my $self = shift;
-  map { $_->part_pkg } $self->reg_code_pkg;
-}
-
-=item reg_code_pkg
-
-Returns all FS::reg_code_pkg records for this registration code.
-
-=cut
-
-sub reg_code_pkg {
-  my $self = shift;
-  qsearch('reg_code_pkg', { 'codenum' => $self->codenum } );
-}
-
-
-=back
-
-=head1 BUGS
-
-Feeping creaturitis.
-
-=head1 SEE ALSO
-
-L<FS::reg_code_pkg>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
-
diff --git a/FS/FS/reg_code_pkg.pm b/FS/FS/reg_code_pkg.pm
deleted file mode 100644 (file)
index 9b9a877..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-package FS::reg_code_pkg;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw(qsearchs);
-use FS::reg_code;
-use FS::part_pkg;
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::reg_code_pkg - Class linking registration codes (see L<FS::reg_code>) with package definitions (see L<FS::part_pkg>)
-
-=head1 SYNOPSIS
-
-  use FS::reg_code_pkg;
-
-  $record = new FS::reg_code_pkg \%hash;
-  $record = new FS::reg_code_pkg { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::reg_code_pkg object links a registration code to a package definition.
-FS::table_name inherits from FS::Record.  The following fields are currently
-supported:
-
-=over 4
-
-=item codepkgnum - primary key
-
-=item codenum - registration code (see L<FS::reg_code>)
-
-=item pkgpart - package definition (see L<FS::part_pkg>)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new example.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'reg_code_pkg'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-       $self->ut_numbern('codepkgnum')
-    || $self->ut_foreign_key('codenum', 'reg_code', 'codenum')
-    || $self->ut_foreign_key('pkgpart', 'part_pkg', 'pkgpart')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=item part_pkg
-
-Returns the package definition (see L<FS::part_pkg>)
-
-=cut
-
-sub part_pkg {
-  my $self = shift;
-  qsearchs('part_pkg', { 'pkgpart' => $self->pkgpart } );
-}
-
-=back
-
-=head1 BUGS
-
-Feeping creaturitis.
-
-=head1 SEE ALSO
-
-L<FS::reg_code_pkg>, L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
-
diff --git a/FS/FS/router.pm b/FS/FS/router.pm
deleted file mode 100755 (executable)
index 88ba990..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-package FS::router;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearchs qsearch );
-use FS::addr_block;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::router - Object methods for router records
-
-=head1 SYNOPSIS
-
-  use FS::router;
-
-  $record = new FS::router \%hash;
-  $record = new FS::router { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::router record describes a broadband router, such as a DSLAM or a wireless
- access point.  FS::router inherits from FS::Record.  The following 
-fields are currently supported:
-
-=over 4
-
-=item routernum - primary key
-
-=item routername - descriptive name for the router
-
-=item svcnum - svcnum of the owning FS::svc_broadband, if appropriate
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Create a new record.  To add the record to the database, see "insert".
-
-=cut
-
-sub table { 'router'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this record from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error =
-    $self->ut_numbern('routernum')
-    || $self->ut_text('routername');
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=item addr_block
-
-Returns a list of FS::addr_block objects (address blocks) associated
-with this object.
-
-=cut
-
-sub addr_block {
-  my $self = shift;
-  return qsearch('addr_block', { routernum => $self->routernum });
-}
-
-=item part_svc_router
-
-Returns a list of FS::part_svc_router objects associated with this 
-object.  This is unlikely to be useful for any purpose other than retrieving 
-the associated FS::part_svc objects.  See below.
-
-=cut
-
-sub part_svc_router {
-  my $self = shift;
-  return qsearch('part_svc_router', { routernum => $self->routernum });
-}
-
-=item part_svc
-
-Returns a list of FS::part_svc objects associated with this object.
-
-=cut
-
-sub part_svc {
-  my $self = shift;
-  return map { qsearchs('part_svc', { svcpart => $_->svcpart }) }
-      $self->part_svc_router;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-FS::svc_broadband, FS::router, FS::addr_block, FS::part_svc,
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/session.pm b/FS/FS/session.pm
deleted file mode 100644 (file)
index 615c8ae..0000000
+++ /dev/null
@@ -1,265 +0,0 @@
-package FS::session;
-
-use strict;
-use vars qw( @ISA $conf $start $stop );
-use FS::UID qw( dbh );
-use FS::Record qw( qsearchs );
-use FS::svc_acct;
-use FS::port;
-use FS::nas;
-
-@ISA = qw(FS::Record);
-
-$FS::UID::callback{'FS::session'} = sub {
-  $conf = new FS::Conf;
-  $start = $conf->exists('session-start') ? $conf->config('session-start') : '';
-  $stop = $conf->exists('session-stop') ? $conf->config('session-stop') : '';
-};
-
-=head1 NAME
-
-FS::session - Object methods for session records
-
-=head1 SYNOPSIS
-
-  use FS::session;
-
-  $record = new FS::session \%hash;
-  $record = new FS::session {
-    'portnum' => 1,
-    'svcnum'  => 2,
-    'login'   => $timestamp,
-    'logout'  => $timestamp,
-  };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->nas_heartbeat($timestamp);
-
-=head1 DESCRIPTION
-
-An FS::session object represents an user login session.  FS::session inherits
-from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item sessionnum - primary key
-
-=item portnum - NAS port for this session - see L<FS::port>
-
-=item svcnum - User for this session - see L<FS::svc_acct>
-
-=item login - timestamp indicating the beginning of this user session.
-
-=item logout - timestamp indicating the end of this user session.  May be null,
-               which indicates a currently open session.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new session.  To add the session to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'session'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.  If the `login' field is empty, it is replaced with
-the current time.
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  $error = $self->check;
-  return $error if $error;
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  if ( qsearchs('session', { 'portnum' => $self->portnum, 'logout' => '' } ) ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "a session on that port is already open!";
-  }
-
-  $self->setfield('login', time()) unless $self->getfield('login');
-
-  $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $self->nas_heartbeat($self->getfield('login'));
-
-  #session-starting callback
-    #redundant with heartbeat, yuck
-  my $port = qsearchs('port',{'portnum'=>$self->portnum});
-  my $nas = qsearchs('nas',{'nasnum'=>$port->nasnum});
-    #kcuy
-  my( $ip, $nasip, $nasfqdn ) = ( $port->ip, $nas->nasip, $nas->nasfqdn );
-  system( eval qq("$start") ) if $start;
-  
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.  If the `logout' field is empty,
-it is replaced with the current time.
-
-=cut
-
-sub replace {
-  my($self, $old) = @_;
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $error = $self->check;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $self->setfield('logout', time()) unless $self->getfield('logout');
-
-  $error = $self->SUPER::replace($old);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $self->nas_heartbeat($self->getfield('logout'));
-
-  #session-ending callback
-  #redundant with heartbeat, yuck
-  my $port = qsearchs('port',{'portnum'=>$self->portnum});
-  my $nas = qsearchs('nas',{'nasnum'=>$port->nasnum});
-    #kcuy
-  my( $ip, $nasip, $nasfqdn ) = ( $port->ip, $nas->nasip, $nas->nasfqdn );
-  system( eval qq("$stop") ) if $stop;
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-=item check
-
-Checks all fields to make sure this is a valid session.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-  my $error =
-    $self->ut_numbern('sessionnum')
-    || $self->ut_number('portnum')
-    || $self->ut_number('svcnum')
-    || $self->ut_numbern('login')
-    || $self->ut_numbern('logout')
-  ;
-  return $error if $error;
-  return "Unknown svcnum"
-    unless qsearchs('svc_acct', { 'svcnum' => $self->svcnum } );
-  $self->SUPER::check;
-}
-
-=item nas_heartbeat
-
-Heartbeats the nas associated with this session (see L<FS::nas>).
-
-=cut
-
-sub nas_heartbeat {
-  my $self = shift;
-  my $port = qsearchs('port',{'portnum'=>$self->portnum});
-  my $nas = qsearchs('nas',{'nasnum'=>$port->nasnum});
-  $nas->heartbeat(shift);
-}
-
-=item svc_acct
-
-Returns the svc_acct record associated with this session (see L<FS::svc_acct>).
-
-=cut
-
-sub svc_acct {
-  my $self = shift;
-  qsearchs('svc_acct', { 'svcnum' => $self->svcnum } );
-}
-
-=back
-
-=head1 BUGS
-
-Maybe you shouldn't be able to insert a session if there's currently an open
-session on that port.  Or maybe the open session on that port should be flagged
-as problematic?  autoclosed?  *sigh*
-
-Hmm, sessions refer to current svc_acct records... probably need to constrain
-deletions to svc_acct records such that no svc_acct records are deleted which
-have a session (even if long-closed).
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm
deleted file mode 100644 (file)
index 962e36a..0000000
+++ /dev/null
@@ -1,597 +0,0 @@
-package FS::svc_Common;
-
-use strict;
-use vars qw( @ISA $noexport_hack $DEBUG );
-use Carp;
-use FS::Record qw( qsearch qsearchs fields dbh );
-use FS::cust_main_Mixin;
-use FS::cust_svc;
-use FS::part_svc;
-use FS::queue;
-use FS::cust_main;
-
-@ISA = qw( FS::cust_main_Mixin FS::Record );
-
-$DEBUG = 0;
-
-=head1 NAME
-
-FS::svc_Common - Object method for all svc_ records
-
-=head1 SYNOPSIS
-
-use FS::svc_Common;
-
-@ISA = qw( FS::svc_Common );
-
-=head1 DESCRIPTION
-
-FS::svc_Common is intended as a base class for table-specific classes to
-inherit from, i.e. FS::svc_acct.  FS::svc_Common inherits from FS::Record.
-
-=head1 METHODS
-
-=over 4
-
-=cut
-
-sub new {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self = {};
-  bless ($self, $class);
-
-  unless ( defined ( $self->table ) ) {
-    $self->{'Table'} = shift;
-    carp "warning: FS::Record::new called with table name ". $self->{'Table'};
-  }
-  
-  #$self->{'Hash'} = shift;
-  my $newhash = shift;
-  $self->{'Hash'} = { map { $_ => $newhash->{$_} } qw(svcnum svcpart) };
-  $self->setdefault;
-  $self->{'Hash'}{$_} = $newhash->{$_}
-    foreach grep { defined($newhash->{$_}) && length($newhash->{$_}) }
-                 keys %$newhash;
-
-  foreach my $field ( grep !defined($self->{'Hash'}{$_}), $self->fields ) { 
-    $self->{'Hash'}{$field}='';
-  }
-
-  $self->_rebless if $self->can('_rebless');
-
-  $self->{'modified'} = 0;
-
-  $self->_cache($self->{'Hash'}, shift) if $self->can('_cache') && @_;
-
-  $self;
-}
-
-sub virtual_fields {
-
-  # This restricts the fields based on part_svc_column and the svcpart of 
-  # the service.  There are four possible cases:
-  # 1.  svcpart passed as part of the svc_x hash.
-  # 2.  svcpart fetched via cust_svc based on svcnum.
-  # 3.  No svcnum or svcpart.  In this case, return ALL the fields with 
-  #     dbtable eq $self->table.
-  # 4.  Called via "fields('svc_acct')" or something similar.  In this case
-  #     there is no $self object.
-
-  my $self = shift;
-  my $svcpart;
-  my @vfields = $self->SUPER::virtual_fields;
-
-  return @vfields unless (ref $self); # Case 4
-
-  if ($self->svcpart) { # Case 1
-    $svcpart = $self->svcpart;
-  } elsif ( $self->svcnum
-            && qsearchs('cust_svc',{'svcnum'=>$self->svcnum} )
-          ) { #Case 2
-    $svcpart = $self->cust_svc->svcpart;
-  } else { # Case 3
-    $svcpart = '';
-  }
-
-  if ($svcpart) { #Cases 1 and 2
-    my %flags = map { $_->columnname, $_->columnflag } (
-        qsearch ('part_svc_column', { svcpart => $svcpart } )
-      );
-    return grep { not ($flags{$_} eq 'X') } @vfields;
-  } else { # Case 3
-    return @vfields;
-  } 
-  return ();
-}
-
-=item check
-
-Checks the validity of fields in this record.
-
-At present, this does nothing but call FS::Record::check (which, in turn, 
-does nothing but run virtual field checks).
-
-=cut
-
-sub check {
-  my $self = shift;
-  $self->SUPER::check;
-}
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-The additional fields pkgnum and svcpart (see L<FS::cust_svc>) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-Currently available options are: I<jobnums>, I<child_objects> and
-I<depend_jobnum>.
-
-If I<jobnum> is set to an array reference, the jobnums of any export jobs will
-be added to the referenced array.
-
-If I<child_objects> is set to an array reference of FS::tablename objects (for
-example, FS::acct_snarf objects), they will have their svcnum field set and
-will be inserted after this record, but before any exports are run.  Each
-element of the array can also optionally be a two-element array reference
-containing the child object and the name of an alternate field to be filled in
-with the newly-inserted svcnum, for example C<[ $svc_forward, 'srcsvc' ]>
-
-If I<depend_jobnum> is set (to a scalar jobnum or an array reference of
-jobnums), all provisioning jobs will have a dependancy on the supplied
-jobnum(s) (they will not run until the specific job(s) complete(s)).
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my %options = @_;
-  warn "FS::svc_Common::insert called with options ".
-     join(', ', map { "$_: $options{$_}" } keys %options ). "\n"
-  if $DEBUG;
-
-  my @jobnums = ();
-  local $FS::queue::jobnums = \@jobnums;
-  warn "FS::svc_Common::insert: set \$FS::queue::jobnums to $FS::queue::jobnums"
-    if $DEBUG;
-  my $objects = $options{'child_objects'} || [];
-  my $depend_jobnums = $options{'depend_jobnum'} || [];
-  $depend_jobnums = [ $depend_jobnums ] unless ref($depend_jobnums);
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $error = $self->check;
-  return $error if $error;
-
-  my $svcnum = $self->svcnum;
-  my $cust_svc = $svcnum ? qsearchs('cust_svc',{'svcnum'=>$self->svcnum}) : '';
-  #unless ( $svcnum ) {
-  if ( !$svcnum or !$cust_svc ) {
-    $cust_svc = new FS::cust_svc ( {
-      #hua?# 'svcnum'  => $svcnum,
-      'svcnum'  => $self->svcnum,
-      'pkgnum'  => $self->pkgnum,
-      'svcpart' => $self->svcpart,
-    } );
-    $error = $cust_svc->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-    $svcnum = $self->svcnum($cust_svc->svcnum);
-  } else {
-    #$cust_svc = qsearchs('cust_svc',{'svcnum'=>$self->svcnum});
-    unless ( $cust_svc ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "no cust_svc record found for svcnum ". $self->svcnum;
-    }
-    $self->pkgnum($cust_svc->pkgnum);
-    $self->svcpart($cust_svc->svcpart);
-  }
-
-  $error = $self->SUPER::insert;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  foreach my $object ( @$objects ) {
-    my($field, $obj);
-    if ( ref($object) eq 'ARRAY' ) {
-      ($obj, $field) = @$object;
-    } else {
-      $obj = $object;
-      $field = 'svcnum';
-    }
-    $obj->$field($self->svcnum);
-    $error = $obj->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  #new-style exports!
-  unless ( $noexport_hack ) {
-
-    warn "FS::svc_Common::insert: \$FS::queue::jobnums is $FS::queue::jobnums"
-      if $DEBUG;
-
-    foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
-      my $error = $part_export->export_insert($self);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "exporting to ". $part_export->exporttype.
-               " (transaction rolled back): $error";
-      }
-    }
-
-    foreach my $depend_jobnum ( @$depend_jobnums ) {
-      warn "inserting dependancies on supplied job $depend_jobnum\n"
-        if $DEBUG;
-      foreach my $jobnum ( @jobnums ) {
-        my $queue = qsearchs('queue', { 'jobnum' => $jobnum } );
-        warn "inserting dependancy for job $jobnum on $depend_jobnum\n"
-          if $DEBUG;
-        my $error = $queue->depend_insert($depend_jobnum);
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return "error queuing job dependancy: $error";
-        }
-      }
-    }
-
-  }
-
-  if ( exists $options{'jobnums'} ) {
-    push @{ $options{'jobnums'} }, @jobnums;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-=item delete
-
-Deletes this account from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-The corresponding FS::cust_svc record will be deleted as well.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $svcnum = $self->svcnum;
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $error = $self->SUPER::delete;
-  return $error if $error;
-
-  #new-style exports!
-  unless ( $noexport_hack ) {
-    foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
-      my $error = $part_export->export_delete($self);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "exporting to ". $part_export->exporttype.
-               " (transaction rolled back): $error";
-      }
-    }
-  }
-
-  return $error if $error;
-
-  my $cust_svc = $self->cust_svc;
-  $error = $cust_svc->delete;
-  return $error if $error;
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  '';
-}
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-sub replace {
-  my ($new, $old) = (shift, shift);
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $new->SUPER::replace($old);
-  if ($error) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  #new-style exports!
-  unless ( $noexport_hack ) {
-
-    #not quite false laziness, but same pattern as FS::svc_acct::replace and
-    #FS::part_export::sqlradius::_export_replace.  List::Compare or something
-    #would be useful but too much of a pain in the ass to deploy
-
-    my @old_part_export = $old->cust_svc->part_svc->part_export;
-    my %old_exportnum = map { $_->exportnum => 1 } @old_part_export;
-    my @new_part_export = 
-      $new->svcpart
-        ? qsearchs('part_svc', { svcpart=>$new->svcpart } )->part_export
-        : $new->cust_svc->part_svc->part_export;
-    my %new_exportnum = map { $_->exportnum => 1 } @new_part_export;
-
-    foreach my $delete_part_export (
-      grep { ! $new_exportnum{$_->exportnum} } @old_part_export
-    ) {
-      my $error = $delete_part_export->export_delete($old);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error deleting, export to ". $delete_part_export->exporttype.
-               " (transaction rolled back): $error";
-      }
-    }
-
-    foreach my $replace_part_export (
-      grep { $old_exportnum{$_->exportnum} } @new_part_export
-    ) {
-      my $error = $replace_part_export->export_replace($new,$old);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error exporting to ". $replace_part_export->exporttype.
-               " (transaction rolled back): $error";
-      }
-    }
-
-    foreach my $insert_part_export (
-      grep { ! $old_exportnum{$_->exportnum} } @new_part_export
-    ) {
-      my $error = $insert_part_export->export_insert($new);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error inserting export to ". $insert_part_export->exporttype.
-               " (transaction rolled back): $error";
-      }
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-}
-
-
-=item setfixed
-
-Sets any fixed fields for this service (see L<FS::part_svc>).  If there is an
-error, returns the error, otherwise returns the FS::part_svc object (use ref()
-to test the return).  Usually called by the check method.
-
-=cut
-
-sub setfixed {
-  my $self = shift;
-  $self->setx('F');
-}
-
-=item setdefault
-
-Sets all fields to their defaults (see L<FS::part_svc>), overriding their
-current values.  If there is an error, returns the error, otherwise returns
-the FS::part_svc object (use ref() to test the return).
-
-=cut
-
-sub setdefault {
-  my $self = shift;
-  $self->setx('D');
-}
-
-sub setx {
-  my $self = shift;
-  my $x = shift;
-
-  my $error;
-
-  $error =
-    $self->ut_numbern('svcnum')
-  ;
-  return $error if $error;
-
-  #get part_svc
-  my $svcpart;
-  if ( $self->get('svcpart') ) {
-    $svcpart = $self->get('svcpart');
-  } elsif ( $self->svcnum && qsearchs('cust_svc', {'svcnum'=>$self->svcnum}) ) {
-    my $cust_svc = $self->cust_svc;
-    return "Unknown svcnum" unless $cust_svc; 
-    $svcpart = $cust_svc->svcpart;
-  }
-  my $part_svc = qsearchs( 'part_svc', { 'svcpart' => $svcpart } );
-  return "Unkonwn svcpart" unless $part_svc;
-
-  #set default/fixed/whatever fields from part_svc
-  my $table = $self->table;
-  foreach my $field ( grep { $_ ne 'svcnum' } $self->fields ) {
-    my $part_svc_column = $part_svc->part_svc_column($field);
-    if ( $part_svc_column->columnflag eq $x ) {
-      $self->setfield( $field, $part_svc_column->columnvalue );
-    }
-  }
-
- $part_svc;
-
-}
-
-=item cust_svc
-
-Returns the cust_svc record associated with this svc_ record, as a FS::cust_svc
-object (see L<FS::cust_svc>).
-
-=cut
-
-sub cust_svc {
-  my $self = shift;
-  qsearchs('cust_svc', { 'svcnum' => $self->svcnum } );
-}
-
-=item suspend
-
-Runs export_suspend callbacks.
-
-=cut
-
-sub suspend {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  #new-style exports!
-  unless ( $noexport_hack ) {
-    foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
-      my $error = $part_export->export_suspend($self);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error exporting to ". $part_export->exporttype.
-               " (transaction rolled back): $error";
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item unsuspend
-
-Runs export_unsuspend callbacks.
-
-=cut
-
-sub unsuspend {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  #new-style exports!
-  unless ( $noexport_hack ) {
-    foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
-      my $error = $part_export->export_unsuspend($self);
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error exporting to ". $part_export->exporttype.
-               " (transaction rolled back): $error";
-      }
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-=item cancel
-
-Stub - returns false (no error) so derived classes don't need to define these
-methods.  Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=cut
-
-sub cancel { ''; }
-
-=item clone_suspended
-
-Constructor used by FS::part_export::_export_suspend fallback.  Stub returning
-same object for svc_ classes which don't implement a suspension fallback
-(everything except svc_acct at the moment).  Document better.
-
-=cut
-
-sub clone_suspended {
-  shift;
-}
-
-=item clone_kludge_unsuspend 
-
-Constructor used by FS::part_export::_export_unsuspend fallback.  Stub returning
-same object for svc_ classes which don't implement a suspension fallback
-(everything except svc_acct at the moment).  Document better.
-
-=cut
-
-sub clone_kludge_unsuspend {
-  shift;
-}
-
-=back
-
-=head1 BUGS
-
-The setfixed method return value.
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::cust_svc>, L<FS::part_svc>, L<FS::cust_pkg>, schema.html
-from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
deleted file mode 100644 (file)
index c1851d3..0000000
+++ /dev/null
@@ -1,1667 +0,0 @@
-package FS::svc_acct;
-
-use strict;
-use vars qw( @ISA $DEBUG $me $conf $skip_fuzzyfiles
-             $dir_prefix @shells $usernamemin
-             $usernamemax $passwordmin $passwordmax
-             $username_ampersand $username_letter $username_letterfirst
-             $username_noperiod $username_nounderscore $username_nodash
-             $username_uppercase $username_percent
-             $password_noampersand $password_noexclamation
-             $welcome_template $welcome_from $welcome_subject $welcome_mimetype
-             $smtpmachine
-             $radius_password $radius_ip
-             $dirhash
-             @saltset @pw_set );
-use Carp;
-use Fcntl qw(:flock);
-use Date::Format;
-use Crypt::PasswdMD5 1.2;
-use FS::UID qw( datasrc );
-use FS::Conf;
-use FS::Record qw( qsearch qsearchs fields dbh dbdef );
-use FS::svc_Common;
-use FS::cust_svc;
-use FS::part_svc;
-use FS::svc_acct_pop;
-use FS::cust_main_invoice;
-use FS::svc_domain;
-use FS::raddb;
-use FS::queue;
-use FS::radius_usergroup;
-use FS::export_svc;
-use FS::part_export;
-use FS::Msgcat qw(gettext);
-use FS::svc_forward;
-use FS::svc_www;
-
-@ISA = qw( FS::svc_Common );
-
-$DEBUG = 0;
-$me = '[FS::svc_acct]';
-
-#ask FS::UID to run this stuff for us later
-$FS::UID::callback{'FS::svc_acct'} = sub { 
-  $conf = new FS::Conf;
-  $dir_prefix = $conf->config('home');
-  @shells = $conf->config('shells');
-  $usernamemin = $conf->config('usernamemin') || 2;
-  $usernamemax = $conf->config('usernamemax');
-  $passwordmin = $conf->config('passwordmin') || 6;
-  $passwordmax = $conf->config('passwordmax') || 8;
-  $username_letter = $conf->exists('username-letter');
-  $username_letterfirst = $conf->exists('username-letterfirst');
-  $username_noperiod = $conf->exists('username-noperiod');
-  $username_nounderscore = $conf->exists('username-nounderscore');
-  $username_nodash = $conf->exists('username-nodash');
-  $username_uppercase = $conf->exists('username-uppercase');
-  $username_ampersand = $conf->exists('username-ampersand');
-  $username_percent = $conf->exists('username-percent');
-  $password_noampersand = $conf->exists('password-noexclamation');
-  $password_noexclamation = $conf->exists('password-noexclamation');
-  $dirhash = $conf->config('dirhash') || 0;
-  if ( $conf->exists('welcome_email') ) {
-    $welcome_template = new Text::Template (
-      TYPE   => 'ARRAY',
-      SOURCE => [ map "$_\n", $conf->config('welcome_email') ]
-    ) or warn "can't create welcome email template: $Text::Template::ERROR";
-    $welcome_from = $conf->config('welcome_email-from'); # || 'your-isp-is-dum'
-    $welcome_subject = $conf->config('welcome_email-subject') || 'Welcome';
-    $welcome_mimetype = $conf->config('welcome_email-mimetype') || 'text/plain';
-  } else {
-    $welcome_template = '';
-    $welcome_from = '';
-    $welcome_subject = '';
-    $welcome_mimetype = '';
-  }
-  $smtpmachine = $conf->config('smtpmachine');
-  $radius_password = $conf->config('radius-password') || 'Password';
-  $radius_ip = $conf->config('radius-ip') || 'Framed-IP-Address';
-};
-
-@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-@pw_set = ( 'a'..'z', 'A'..'Z', '0'..'9', '(', ')', '#', '!', '.', ',' );
-
-sub _cache {
-  my $self = shift;
-  my ( $hashref, $cache ) = @_;
-  if ( $hashref->{'svc_acct_svcnum'} ) {
-    $self->{'_domsvc'} = FS::svc_domain->new( {
-      'svcnum'   => $hashref->{'domsvc'},
-      'domain'   => $hashref->{'svc_acct_domain'},
-      'catchall' => $hashref->{'svc_acct_catchall'},
-    } );
-  }
-}
-
-=head1 NAME
-
-FS::svc_acct - Object methods for svc_acct records
-
-=head1 SYNOPSIS
-
-  use FS::svc_acct;
-
-  $record = new FS::svc_acct \%hash;
-  $record = new FS::svc_acct { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $error = $record->cancel;
-
-  %hash = $record->radius;
-
-  %hash = $record->radius_reply;
-
-  %hash = $record->radius_check;
-
-  $domain = $record->domain;
-
-  $svc_domain = $record->svc_domain;
-
-  $email = $record->email;
-
-  $seconds_since = $record->seconds_since($timestamp);
-
-=head1 DESCRIPTION
-
-An FS::svc_acct object represents an account.  FS::svc_acct inherits from
-FS::svc_Common.  The following fields are currently supported:
-
-=over 4
-
-=item svcnum - primary key (assigned automatcially for new accounts)
-
-=item username
-
-=item _password - generated if blank
-
-=item sec_phrase - security phrase
-
-=item popnum - Point of presence (see L<FS::svc_acct_pop>)
-
-=item uid
-
-=item gid
-
-=item finger - GECOS
-
-=item dir - set automatically if blank (and uid is not)
-
-=item shell
-
-=item quota - (unimplementd)
-
-=item slipip - IP address
-
-=item seconds - 
-
-=item domsvc - svcnum from svc_domain
-
-=item radius_I<Radius_Attribute> - I<Radius-Attribute> (reply)
-
-=item rc_I<Radius_Attribute> - I<Radius-Attribute> (check)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new account.  To add the account to the database, see L<"insert">.
-
-=cut
-
-sub table { 'svc_acct'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this account to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-The additional fields pkgnum and svcpart (see L<FS::cust_svc>) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-The additional field I<usergroup> can optionally be defined; if so it should
-contain an arrayref of group names.  See L<FS::radius_usergroup>.
-
-The additional field I<child_objects> can optionally be defined; if so it
-should contain an arrayref of FS::tablename objects.  They will have their
-svcnum fields set and will be inserted after this record, but before any
-exports are run.  Each element of the array can also optionally be a
-two-element array reference containing the child object and the name of an
-alternate field to be filled in with the newly-inserted svcnum, for example
-C<[ $svc_forward, 'srcsvc' ]>
-
-Currently available options are: I<depend_jobnum>
-
-If I<depend_jobnum> is set (to a scalar jobnum or an array reference of
-jobnums), all provisioning jobs will have a dependancy on the supplied
-jobnum(s) (they will not run until the specific job(s) complete(s)).
-
-(TODOC: L<FS::queue> and L<freeside-queued>)
-
-(TODOC: new exports!)
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my %options = @_;
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $error = $self->check;
-  return $error if $error;
-
-  if ( $self->svcnum && qsearchs('cust_svc',{'svcnum'=>$self->svcnum}) ) {
-    my $cust_svc = qsearchs('cust_svc',{'svcnum'=>$self->svcnum});
-    unless ( $cust_svc ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "no cust_svc record found for svcnum ". $self->svcnum;
-    }
-    $self->pkgnum($cust_svc->pkgnum);
-    $self->svcpart($cust_svc->svcpart);
-  }
-
-  $error = $self->_check_duplicate;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  my @jobnums;
-  $error = $self->SUPER::insert(
-    'jobnums'       => \@jobnums,
-    'child_objects' => $self->child_objects,
-    %options,
-  );
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  if ( $self->usergroup ) {
-    foreach my $groupname ( @{$self->usergroup} ) {
-      my $radius_usergroup = new FS::radius_usergroup ( {
-        svcnum    => $self->svcnum,
-        groupname => $groupname,
-      } );
-      my $error = $radius_usergroup->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return $error;
-      }
-    }
-  }
-
-  unless ( $skip_fuzzyfiles ) {
-    $error = $self->queue_fuzzyfiles_update;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "updating fuzzy search cache: $error";
-    }
-  }
-
-  my $cust_pkg = $self->cust_svc->cust_pkg;
-
-  if ( $cust_pkg ) {
-    my $cust_main = $cust_pkg->cust_main;
-
-    if ( $conf->exists('emailinvoiceauto') ) {
-      my @invoicing_list = $cust_main->invoicing_list;
-      push @invoicing_list, $self->email;
-      $cust_main->invoicing_list(\@invoicing_list);
-    }
-
-    #welcome email
-    my $to = '';
-    if ( $welcome_template && $cust_pkg ) {
-      my $to = join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list );
-      if ( $to ) {
-        my $wqueue = new FS::queue {
-          'svcnum' => $self->svcnum,
-          'job'    => 'FS::svc_acct::send_email'
-        };
-        my $error = $wqueue->insert(
-          'to'       => $to,
-          'from'     => $welcome_from,
-          'subject'  => $welcome_subject,
-          'mimetype' => $welcome_mimetype,
-          'body'     => $welcome_template->fill_in( HASH => {
-                          'custnum'  => $self->custnum,
-                          'username' => $self->username,
-                          'password' => $self->_password,
-                          'first'    => $cust_main->first,
-                          'last'     => $cust_main->getfield('last'),
-                          'pkg'      => $cust_pkg->part_pkg->pkg,
-                        } ),
-        );
-        if ( $error ) {
-          $dbh->rollback if $oldAutoCommit;
-          return "error queuing welcome email: $error";
-        }
-
-        if ( $options{'depend_jobnum'} ) {
-          warn "$me depend_jobnum found; adding to welcome email dependancies"
-            if $DEBUG;
-          if ( ref($options{'depend_jobnum'}) ) {
-            warn "$me adding jobs ". join(', ', @{$options{'depend_jobnum'}} ).
-                 "to welcome email dependancies"
-              if $DEBUG;
-            push @jobnums, @{ $options{'depend_jobnum'} };
-          } else {
-            warn "$me adding job $options{'depend_jobnum'} ".
-                 "to welcome email dependancies"
-              if $DEBUG;
-            push @jobnums, $options{'depend_jobnum'};
-          }
-        }
-
-        foreach my $jobnum ( @jobnums ) {
-          my $error = $wqueue->depend_insert($jobnum);
-          if ( $error ) {
-            $dbh->rollback if $oldAutoCommit;
-            return "error queuing welcome email job dependancy: $error";
-          }
-        }
-
-      }
-
-    }
-
-  } # if ( $cust_pkg )
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  ''; #no error
-}
-
-=item delete
-
-Deletes this account from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-The corresponding FS::cust_svc record will be deleted as well.
-
-(TODOC: new exports!)
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  return "can't delete system account" if $self->_check_system;
-
-  return "Can't delete an account which is a (svc_forward) source!"
-    if qsearch( 'svc_forward', { 'srcsvc' => $self->svcnum } );
-
-  return "Can't delete an account which is a (svc_forward) destination!"
-    if qsearch( 'svc_forward', { 'dstsvc' => $self->svcnum } );
-
-  return "Can't delete an account with (svc_www) web service!"
-    if qsearch( 'svc_www', { 'usersvc' => $self->svcnum } );
-
-  # what about records in session ? (they should refer to history table)
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $cust_main_invoice (
-    qsearch( 'cust_main_invoice', { 'dest' => $self->svcnum } )
-  ) {
-    unless ( defined($cust_main_invoice) ) {
-      warn "WARNING: something's wrong with qsearch";
-      next;
-    }
-    my %hash = $cust_main_invoice->hash;
-    $hash{'dest'} = $self->email;
-    my $new = new FS::cust_main_invoice \%hash;
-    my $error = $new->replace($cust_main_invoice);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  foreach my $svc_domain (
-    qsearch( 'svc_domain', { 'catchall' => $self->svcnum } )
-  ) {
-    my %hash = new FS::svc_domain->hash;
-    $hash{'catchall'} = '';
-    my $new = new FS::svc_domain \%hash;
-    my $error = $new->replace($svc_domain);
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  foreach my $radius_usergroup (
-    qsearch('radius_usergroup', { 'svcnum' => $self->svcnum } )
-  ) {
-    my $error = $radius_usergroup->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-}
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-The additional field I<usergroup> can optionally be defined; if so it should
-contain an arrayref of group names.  See L<FS::radius_usergroup>.
-
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-  my $error;
-  warn "$me replacing $old with $new\n" if $DEBUG;
-
-  return "can't modify system account" if $old->_check_system;
-
-  {
-    #no warnings 'numeric';  #alas, a 5.006-ism
-    local($^W) = 0;
-
-    foreach my $xid (qw( uid gid )) {
-
-      return "Can't change $xid!"
-        if ! $conf->exists("svc_acct-edit_$xid")
-           && $old->$xid() != $new->$xid()
-           && $new->cust_svc->part_svc->part_svc_column($xid)->columnflag ne 'F'
-    }
-
-  }
-
-  #change homdir when we change username
-  $new->setfield('dir', '') if $old->username ne $new->username;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  # redundant, but so $new->usergroup gets set
-  $error = $new->check;
-  return $error if $error;
-
-  $old->usergroup( [ $old->radius_groups ] );
-  if ( $DEBUG ) {
-    warn $old->email. " old groups: ". join(' ',@{$old->usergroup}). "\n";
-    warn $new->email. "new groups: ". join(' ',@{$new->usergroup}). "\n";
-  }
-  if ( $new->usergroup ) {
-    #(sorta) false laziness with FS::part_export::sqlradius::_export_replace
-    my @newgroups = @{$new->usergroup};
-    foreach my $oldgroup ( @{$old->usergroup} ) {
-      if ( grep { $oldgroup eq $_ } @newgroups ) {
-        @newgroups = grep { $oldgroup ne $_ } @newgroups;
-        next;
-      }
-      my $radius_usergroup = qsearchs('radius_usergroup', {
-        svcnum    => $old->svcnum,
-        groupname => $oldgroup,
-      } );
-      my $error = $radius_usergroup->delete;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error deleting radius_usergroup $oldgroup: $error";
-      }
-    }
-
-    foreach my $newgroup ( @newgroups ) {
-      my $radius_usergroup = new FS::radius_usergroup ( {
-        svcnum    => $new->svcnum,
-        groupname => $newgroup,
-      } );
-      my $error = $radius_usergroup->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "error adding radius_usergroup $newgroup: $error";
-      }
-    }
-
-  }
-
-  if ( $old->username ne $new->username || $old->domsvc != $new->domsvc ) {
-    $new->svcpart( $new->cust_svc->svcpart ) unless $new->svcpart;
-    $error = $new->_check_duplicate;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  $error = $new->SUPER::replace($old);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error if $error;
-  }
-
-  if ( $new->username ne $old->username && ! $skip_fuzzyfiles ) {
-    $error = $new->queue_fuzzyfiles_update;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "updating fuzzy search cache: $error";
-    }
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  ''; #no error
-}
-
-=item queue_fuzzyfiles_update
-
-Used by insert & replace to update the fuzzy search cache
-
-=cut
-
-sub queue_fuzzyfiles_update {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $queue = new FS::queue {
-    'svcnum' => $self->svcnum,
-    'job'    => 'FS::svc_acct::append_fuzzyfiles'
-  };
-  my $error = $queue->insert($self->username);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "queueing job (transaction rolled back): $error";
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-
-=item suspend
-
-Suspends this account by calling export-specific suspend hooks.  If there is
-an error, returns the error, otherwise returns false.
-
-Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=cut
-
-sub suspend {
-  my $self = shift;
-  return "can't suspend system account" if $self->_check_system;
-  $self->SUPER::suspend;
-}
-
-=item unsuspend
-
-Unsuspends this account by by calling export-specific suspend hooks.  If there
-is an error, returns the error, otherwise returns false.
-
-Called by the unsuspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=cut
-
-sub unsuspend {
-  my $self = shift;
-  my %hash = $self->hash;
-  if ( $hash{_password} =~ /^\*SUSPENDED\* (.*)$/ ) {
-    $hash{_password} = $1;
-    my $new = new FS::svc_acct ( \%hash );
-    my $error = $new->replace($self);
-    return $error if $error;
-  }
-
-  $self->SUPER::unsuspend;
-}
-
-=item cancel
-
-Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-If the B<auto_unset_catchall> configuration option is set, this method will
-automatically remove any references to the canceled service in the catchall
-field of svc_domain.  This allows packages that contain both a svc_domain and
-its catchall svc_acct to be canceled in one step.
-
-=cut
-
-sub cancel {
-  # Only one thing to do at this level
-  my $self = shift;
-  foreach my $svc_domain (
-      qsearch( 'svc_domain', { catchall => $self->svcnum } ) ) {
-    if($conf->exists('auto_unset_catchall')) {
-      my %hash = $svc_domain->hash;
-      $hash{catchall} = '';
-      my $new = new FS::svc_domain ( \%hash );
-      my $error = $new->replace($svc_domain);
-      return $error if $error;
-    } else {
-      return "cannot unprovision svc_acct #".$self->svcnum.
-         " while assigned as catchall for svc_domain #".$svc_domain->svcnum;
-    }
-  }
-
-  $self->SUPER::cancel;
-}
-
-
-=item check
-
-Checks all fields to make sure this is a valid service.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-Sets any fixed values; see L<FS::part_svc>.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my($recref) = $self->hashref;
-
-  my $x = $self->setfixed;
-  return $x unless ref($x);
-  my $part_svc = $x;
-
-  if ( $part_svc->part_svc_column('usergroup')->columnflag eq "F" ) {
-    $self->usergroup(
-      [ split(',', $part_svc->part_svc_column('usergroup')->columnvalue) ] );
-  }
-
-  my $error = $self->ut_numbern('svcnum')
-              #|| $self->ut_number('domsvc')
-              || $self->ut_foreign_key('domsvc', 'svc_domain', 'svcnum' )
-              || $self->ut_textn('sec_phrase')
-  ;
-  return $error if $error;
-
-  my $ulen = $usernamemax || $self->dbdef_table->column('username')->length;
-  if ( $username_uppercase ) {
-    $recref->{username} =~ /^([a-z0-9_\-\.\&\%]{$usernamemin,$ulen})$/i
-      or return gettext('illegal_username'). " ($usernamemin-$ulen): ". $recref->{username};
-    $recref->{username} = $1;
-  } else {
-    $recref->{username} =~ /^([a-z0-9_\-\.\&\%]{$usernamemin,$ulen})$/
-      or return gettext('illegal_username'). " ($usernamemin-$ulen): ". $recref->{username};
-    $recref->{username} = $1;
-  }
-
-  if ( $username_letterfirst ) {
-    $recref->{username} =~ /^[a-z]/ or return gettext('illegal_username');
-  } elsif ( $username_letter ) {
-    $recref->{username} =~ /[a-z]/ or return gettext('illegal_username');
-  }
-  if ( $username_noperiod ) {
-    $recref->{username} =~ /\./ and return gettext('illegal_username');
-  }
-  if ( $username_nounderscore ) {
-    $recref->{username} =~ /_/ and return gettext('illegal_username');
-  }
-  if ( $username_nodash ) {
-    $recref->{username} =~ /\-/ and return gettext('illegal_username');
-  }
-  unless ( $username_ampersand ) {
-    $recref->{username} =~ /\&/ and return gettext('illegal_username');
-  }
-  if ( $password_noampersand ) {
-    $recref->{_password} =~ /\&/ and return gettext('illegal_password');
-  }
-  if ( $password_noexclamation ) {
-    $recref->{_password} =~ /\!/ and return gettext('illegal_password');
-  }
-  unless ( $username_percent ) {
-    $recref->{username} =~ /\%/ and return gettext('illegal_username');
-  }
-
-  $recref->{popnum} =~ /^(\d*)$/ or return "Illegal popnum: ".$recref->{popnum};
-  $recref->{popnum} = $1;
-  return "Unknown popnum" unless
-    ! $recref->{popnum} ||
-    qsearchs('svc_acct_pop',{'popnum'=> $recref->{popnum} } );
-
-  unless ( $part_svc->part_svc_column('uid')->columnflag eq 'F' ) {
-
-    $recref->{uid} =~ /^(\d*)$/ or return "Illegal uid";
-    $recref->{uid} = $1 eq '' ? $self->unique('uid') : $1;
-
-    $recref->{gid} =~ /^(\d*)$/ or return "Illegal gid";
-    $recref->{gid} = $1 eq '' ? $recref->{uid} : $1;
-    #not all systems use gid=uid
-    #you can set a fixed gid in part_svc
-
-    return "Only root can have uid 0"
-      if $recref->{uid} == 0
-         && $recref->{username} !~ /^(root|toor|smtp)$/;
-
-    unless ( $recref->{username} eq 'sync' ) {
-      if ( grep $_ eq $recref->{shell}, @shells ) {
-        $recref->{shell} = (grep $_ eq $recref->{shell}, @shells)[0];
-      } else {
-        return "Illegal shell \`". $self->shell. "\'; ".
-               $conf->dir. "/shells contains: @shells";
-      }
-    } else {
-      $recref->{shell} = '/bin/sync';
-    }
-
-  } else {
-    $recref->{gid} ne '' ? 
-      return "Can't have gid without uid" : ( $recref->{gid}='' );
-    #$recref->{dir} ne '' ? 
-    #  return "Can't have directory without uid" : ( $recref->{dir}='' );
-    $recref->{shell} ne '' ? 
-      return "Can't have shell without uid" : ( $recref->{shell}='' );
-  }
-
-  unless ( $part_svc->part_svc_column('dir')->columnflag eq 'F' ) {
-
-    $recref->{dir} =~ /^([\/\w\-\.\&]*)$/
-      or return "Illegal directory: ". $recref->{dir};
-    $recref->{dir} = $1;
-    return "Illegal directory"
-      if $recref->{dir} =~ /(^|\/)\.+(\/|$)/; #no .. component
-    return "Illegal directory"
-      if $recref->{dir} =~ /\&/ && ! $username_ampersand;
-    unless ( $recref->{dir} ) {
-      $recref->{dir} = $dir_prefix . '/';
-      if ( $dirhash > 0 ) {
-        for my $h ( 1 .. $dirhash ) {
-          $recref->{dir} .= substr($recref->{username}, $h-1, 1). '/';
-        }
-      } elsif ( $dirhash < 0 ) {
-        for my $h ( reverse $dirhash .. -1 ) {
-          $recref->{dir} .= substr($recref->{username}, $h, 1). '/';
-        }
-      }
-      $recref->{dir} .= $recref->{username};
-    ;
-    }
-
-  }
-
-  #  $error = $self->ut_textn('finger');
-  #  return $error if $error;
-  if ( $self->getfield('finger') eq '' ) {
-    my $cust_pkg = $self->svcnum
-      ? $self->cust_svc->cust_pkg
-      : qsearchs('cust_pkg', { 'pkgnum' => $self->getfield('pkgnum') } );
-    if ( $cust_pkg ) {
-      my $cust_main = $cust_pkg->cust_main;
-      $self->setfield('finger', $cust_main->first.' '.$cust_main->get('last') );
-    }
-  }
-  $self->getfield('finger') =~
-    /^([\w \t\!\@\#\$\%\&\(\)\-\+\;\'\"\,\.\?\/\*\<\>]*)$/
-      or return "Illegal finger: ". $self->getfield('finger');
-  $self->setfield('finger', $1);
-
-  $recref->{quota} =~ /^(\w*)$/ or return "Illegal quota";
-  $recref->{quota} = $1;
-
-  unless ( $part_svc->part_svc_column('slipip')->columnflag eq 'F' ) {
-    if ( $recref->{slipip} eq '' ) {
-      $recref->{slipip} = '';
-    } elsif ( $recref->{slipip} eq '0e0' ) {
-      $recref->{slipip} = '0e0';
-    } else {
-      $recref->{slipip} =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/
-        or return "Illegal slipip: ". $self->slipip;
-      $recref->{slipip} = $1;
-    }
-
-  }
-
-  #arbitrary RADIUS stuff; allow ut_textn for now
-  foreach ( grep /^radius_/, fields('svc_acct') ) {
-    $self->ut_textn($_);
-  }
-
-  #generate a password if it is blank
-  $recref->{_password} = join('',map($pw_set[ int(rand $#pw_set) ], (0..7) ) )
-    unless ( $recref->{_password} );
-
-  #if ( $recref->{_password} =~ /^((\*SUSPENDED\* )?)([^\t\n]{4,16})$/ ) {
-  if ( $recref->{_password} =~ /^((\*SUSPENDED\* )?)([^\t\n]{$passwordmin,$passwordmax})$/ ) {
-    $recref->{_password} = $1.$3;
-    #uncomment this to encrypt password immediately upon entry, or run
-    #bin/crypt_pw in cron to give new users a window during which their
-    #password is available to techs, for faxing, etc.  (also be aware of 
-    #radius issues!)
-    #$recref->{password} = $1.
-    #  crypt($3,$saltset[int(rand(64))].$saltset[int(rand(64))]
-    #;
-  } elsif ( $recref->{_password} =~ /^((\*SUSPENDED\* )?)([\w\.\/\$\;\+]{13,60})$/ ) {
-    $recref->{_password} = $1.$3;
-  } elsif ( $recref->{_password} eq '*' ) {
-    $recref->{_password} = '*';
-  } elsif ( $recref->{_password} eq '!' ) {
-    $recref->{_password} = '!';
-  } elsif ( $recref->{_password} eq '!!' ) {
-    $recref->{_password} = '!!';
-  } else {
-    #return "Illegal password";
-    return gettext('illegal_password'). " $passwordmin-$passwordmax ".
-           FS::Msgcat::_gettext('illegal_password_characters').
-           ": ". $recref->{_password};
-  }
-
-  $self->SUPER::check;
-}
-
-=item _check_system
-
-Internal function to check the username against the list of system usernames
-from the I<system_usernames> configuration value.  Returns true if the username
-is listed on the system username list.
-
-=cut
-
-sub _check_system {
-  my $self = shift;
-  scalar( grep { $self->username eq $_ || $self->email eq $_ }
-               $conf->config('system_usernames')
-        );
-}
-
-=item _check_duplicate
-
-Internal function to check for duplicates usernames, username@domain pairs and
-uids.
-
-If the I<global_unique-username> configuration value is set to B<username> or
-B<username@domain>, enforces global username or username@domain uniqueness.
-
-In all cases, check for duplicate uids and usernames or username@domain pairs
-per export and with identical I<svcpart> values.
-
-=cut
-
-sub _check_duplicate {
-  my $self = shift;
-
-  #this is Pg-specific.  what to do for mysql etc?
-  # ( mysql LOCK TABLES certainly isn't equivalent or useful here :/ )
-  warn "$me locking svc_acct table for duplicate search" if $DEBUG;
-  dbh->do("LOCK TABLE svc_acct IN SHARE ROW EXCLUSIVE MODE")
-    or die dbh->errstr;
-  warn "$me acquired svc_acct table lock for duplicate search" if $DEBUG;
-
-  my $part_svc = qsearchs('part_svc', { 'svcpart' => $self->svcpart } );
-  unless ( $part_svc ) {
-    return 'unknown svcpart '. $self->svcpart;
-  }
-
-  my $global_unique = $conf->config('global_unique-username') || 'none';
-
-  my @dup_user = grep { !$self->svcnum || $_->svcnum != $self->svcnum }
-                 qsearch( 'svc_acct', { 'username' => $self->username } );
-  return gettext('username_in_use')
-    if $global_unique eq 'username' && @dup_user;
-
-  my @dup_userdomain = grep { !$self->svcnum || $_->svcnum != $self->svcnum }
-                       qsearch( 'svc_acct', { 'username' => $self->username,
-                                              'domsvc'   => $self->domsvc } );
-  return gettext('username_in_use')
-    if $global_unique eq 'username@domain' && @dup_userdomain;
-
-  my @dup_uid;
-  if ( $part_svc->part_svc_column('uid')->columnflag ne 'F'
-       && $self->username !~ /^(toor|(hyla)?fax)$/          ) {
-    @dup_uid = grep { !$self->svcnum || $_->svcnum != $self->svcnum }
-               qsearch( 'svc_acct', { 'uid' => $self->uid } );
-  } else {
-    @dup_uid = ();
-  }
-
-  if ( @dup_user || @dup_userdomain || @dup_uid ) {
-    my $exports = FS::part_export::export_info('svc_acct');
-    my %conflict_user_svcpart;
-    my %conflict_userdomain_svcpart = ( $self->svcpart => 'SELF', );
-
-    foreach my $part_export ( $part_svc->part_export ) {
-
-      #this will catch to the same exact export
-      my @svcparts = map { $_->svcpart } $part_export->export_svc;
-
-      #this will catch to exports w/same exporthost+type ???
-      #my @other_part_export = qsearch('part_export', {
-      #  'machine'    => $part_export->machine,
-      #  'exporttype' => $part_export->exporttype,
-      #} );
-      #foreach my $other_part_export ( @other_part_export ) {
-      #  push @svcparts, map { $_->svcpart }
-      #    qsearch('export_svc', { 'exportnum' => $part_export->exportnum });
-      #}
-
-      #my $nodomain = $exports->{$part_export->exporttype}{'nodomain'};
-      #silly kludge to avoid uninitialized value errors
-      my $nodomain = exists( $exports->{$part_export->exporttype}{'nodomain'} )
-                     ? $exports->{$part_export->exporttype}{'nodomain'}
-                     : '';
-      if ( $nodomain =~ /^Y/i ) {
-        $conflict_user_svcpart{$_} = $part_export->exportnum
-          foreach @svcparts;
-      } else {
-        $conflict_userdomain_svcpart{$_} = $part_export->exportnum
-          foreach @svcparts;
-      }
-    }
-
-    foreach my $dup_user ( @dup_user ) {
-      my $dup_svcpart = $dup_user->cust_svc->svcpart;
-      if ( exists($conflict_user_svcpart{$dup_svcpart}) ) {
-        return "duplicate username: conflicts with svcnum ". $dup_user->svcnum.
-               " via exportnum ". $conflict_user_svcpart{$dup_svcpart};
-      }
-    }
-
-    foreach my $dup_userdomain ( @dup_userdomain ) {
-      my $dup_svcpart = $dup_userdomain->cust_svc->svcpart;
-      if ( exists($conflict_userdomain_svcpart{$dup_svcpart}) ) {
-        return "duplicate username\@domain: conflicts with svcnum ".
-               $dup_userdomain->svcnum. " via exportnum ".
-               $conflict_userdomain_svcpart{$dup_svcpart};
-      }
-    }
-
-    foreach my $dup_uid ( @dup_uid ) {
-      my $dup_svcpart = $dup_uid->cust_svc->svcpart;
-      if ( exists($conflict_user_svcpart{$dup_svcpart})
-           || exists($conflict_userdomain_svcpart{$dup_svcpart}) ) {
-        return "duplicate uid: conflicts with svcnum ". $dup_uid->svcnum.
-               " via exportnum ". $conflict_user_svcpart{$dup_svcpart}
-                                 || $conflict_userdomain_svcpart{$dup_svcpart};
-      }
-    }
-
-  }
-
-  return '';
-
-}
-
-=item radius
-
-Depriciated, use radius_reply instead.
-
-=cut
-
-sub radius {
-  carp "FS::svc_acct::radius depriciated, use radius_reply";
-  $_[0]->radius_reply;
-}
-
-=item radius_reply
-
-Returns key/value pairs, suitable for assigning to a hash, for any RADIUS
-reply attributes of this record.
-
-Note that this is now the preferred method for reading RADIUS attributes - 
-accessing the columns directly is discouraged, as the column names are
-expected to change in the future.
-
-=cut
-
-sub radius_reply { 
-  my $self = shift;
-
-  return %{ $self->{'radius_reply'} }
-    if exists $self->{'radius_reply'};
-
-  my %reply =
-    map {
-      /^(radius_(.*))$/;
-      my($column, $attrib) = ($1, $2);
-      #$attrib =~ s/_/\-/g;
-      ( $FS::raddb::attrib{lc($attrib)}, $self->getfield($column) );
-    } grep { /^radius_/ && $self->getfield($_) } fields( $self->table );
-
-  if ( $self->slipip && $self->slipip ne '0e0' ) {
-    $reply{$radius_ip} = $self->slipip;
-  }
-
-  if ( $self->seconds !~ /^$/ ) {
-    $reply{'Session-Timeout'} = $self->seconds;
-  }
-
-  %reply;
-}
-
-=item radius_check
-
-Returns key/value pairs, suitable for assigning to a hash, for any RADIUS
-check attributes of this record.
-
-Note that this is now the preferred method for reading RADIUS attributes - 
-accessing the columns directly is discouraged, as the column names are
-expected to change in the future.
-
-=cut
-
-sub radius_check {
-  my $self = shift;
-
-  return %{ $self->{'radius_check'} }
-    if exists $self->{'radius_check'};
-
-  my %check = 
-    map {
-      /^(rc_(.*))$/;
-      my($column, $attrib) = ($1, $2);
-      #$attrib =~ s/_/\-/g;
-      ( $FS::raddb::attrib{lc($attrib)}, $self->getfield($column) );
-    } grep { /^rc_/ && $self->getfield($_) } fields( $self->table );
-
-  my $password = $self->_password;
-  my $pw_attrib = length($password) <= 12 ? $radius_password : 'Crypt-Password';  $check{$pw_attrib} = $password;
-
-  my $cust_pkg = $self->cust_svc->cust_pkg;
-  if ( $cust_pkg && $cust_pkg->part_pkg->is_prepaid && $cust_pkg->bill ) {
-    $check{'Expiration'} = time2str('%B %e %Y %T', $cust_pkg->bill ); #http://lists.cistron.nl/pipermail/freeradius-users/2005-January/040184.html
-  }
-
-  %check;
-
-}
-
-=item snapshot
-
-This method instructs the object to "snapshot" or freeze RADIUS check and
-reply attributes to the current values.
-
-=cut
-
-#bah, my english is too broken this morning
-#Of note is the "Expiration" attribute, which, for accounts in prepaid packages, is typically defined on-the-fly as the associated packages cust_pkg.bill.  (This is used by
-#the FS::cust_pkg's replace method to trigger the correct export updates when
-#package dates change)
-
-sub snapshot {
-  my $self = shift;
-
-  $self->{$_} = { $self->$_() }
-    foreach qw( radius_reply radius_check );
-
-}
-
-=item forget_snapshot
-
-This methos instructs the object to forget any previously snapshotted
-RADIUS check and reply attributes.
-
-=cut
-
-sub forget_snapshot {
-  my $self = shift;
-
-  delete $self->{$_}
-    foreach qw( radius_reply radius_check );
-
-}
-
-=item domain
-
-Returns the domain associated with this account.
-
-=cut
-
-sub domain {
-  my $self = shift;
-  die "svc_acct.domsvc is null for svcnum ". $self->svcnum unless $self->domsvc;
-  my $svc_domain = $self->svc_domain(@_)
-    or die "no svc_domain.svcnum for svc_acct.domsvc ". $self->domsvc;
-  $svc_domain->domain;
-}
-
-=item svc_domain
-
-Returns the FS::svc_domain record for this account's domain (see
-L<FS::svc_domain>).
-
-=cut
-
-sub svc_domain {
-  my $self = shift;
-  $self->{'_domsvc'}
-    ? $self->{'_domsvc'}
-    : qsearchs( 'svc_domain', { 'svcnum' => $self->domsvc } );
-}
-
-=item cust_svc
-
-Returns the FS::cust_svc record for this account (see L<FS::cust_svc>).
-
-=cut
-
-#inherited from svc_Common
-
-=item email
-
-Returns an email address associated with the account.
-
-=cut
-
-sub email {
-  my $self = shift;
-  $self->username. '@'. $self->domain(@_);
-}
-
-=item acct_snarf
-
-Returns an array of FS::acct_snarf records associated with the account.
-If the acct_snarf table does not exist or there are no associated records,
-an empty list is returned
-
-=cut
-
-sub acct_snarf {
-  my $self = shift;
-  return () unless dbdef->table('acct_snarf');
-  eval "use FS::acct_snarf;";
-  die $@ if $@;
-  qsearch('acct_snarf', { 'svcnum' => $self->svcnum } );
-}
-
-=item decrement_seconds SECONDS
-
-Decrements the I<seconds> field of this record by the given amount.  If there
-is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub decrement_seconds {
-  shift->_op_seconds('-', @_);
-}
-
-=item increment_seconds SECONDS
-
-Increments the I<seconds> field of this record by the given amount.  If there
-is an error, returns the error, otherwise returns false.
-
-=cut
-
-sub increment_seconds {
-  shift->_op_seconds('+', @_);
-}
-
-
-my %op2action = (
-  '-' => 'suspend',
-  '+' => 'unsuspend',
-);
-my %op2condition = (
-  '-' => sub { my($self, $seconds) = @_;
-               $self->seconds - $seconds <= 0;
-             },
-  '+' => sub { my($self, $seconds) = @_;
-               $self->seconds + $seconds > 0;
-             },
-);
-
-sub _op_seconds {
-  my( $self, $op, $seconds ) = @_;
-  warn "$me _op_seconds called for svcnum ". $self->svcnum.
-       ' ('. $self->email. "): $op $seconds\n"
-    if $DEBUG;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $sql = "UPDATE svc_acct SET seconds = ".
-            " CASE WHEN seconds IS NULL THEN 0 ELSE seconds END ". #$seconds||0
-            " $op ? WHERE svcnum = ?";
-  warn "$me $sql\n"
-    if $DEBUG;
-
-  my $sth = $dbh->prepare( $sql )
-    or die "Error preparing $sql: ". $dbh->errstr;
-  my $rv = $sth->execute($seconds, $self->svcnum);
-  die "Error executing $sql: ". $sth->errstr
-    unless defined($rv);
-  die "Can't update seconds for svcnum". $self->svcnum
-    if $rv == 0;
-
-  my $action = $op2action{$op};
-
-  if ( $conf->exists("svc_acct-usage_$action")
-       && &{$op2condition{$op}}($self, $seconds)    ) {
-    #my $error = $self->$action();
-    my $error = $self->cust_svc->cust_pkg->$action();
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Error ${action}ing: $error";
-    }
-  }
-
-  warn "$me update sucessful; committing\n"
-    if $DEBUG;
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-
-}
-
-
-=item seconds_since TIMESTAMP
-
-Returns the number of seconds this account has been online since TIMESTAMP,
-according to the session monitor (see L<FS::Session>).
-
-TIMESTAMP is specified as a UNIX timestamp; see L<perlfunc/"time">.  Also see
-L<Time::Local> and L<Date::Parse> for conversion functions.
-
-=cut
-
-#note: POD here, implementation in FS::cust_svc
-sub seconds_since {
-  my $self = shift;
-  $self->cust_svc->seconds_since(@_);
-}
-
-=item seconds_since_sqlradacct TIMESTAMP_START TIMESTAMP_END
-
-Returns the numbers of seconds this account has been online between
-TIMESTAMP_START (inclusive) and TIMESTAMP_END (exclusive), according to an
-external SQL radacct table, specified via sqlradius export.  Sessions which
-started in the specified range but are still open are counted from session
-start to the end of the range (unless they are over 1 day old, in which case
-they are presumed missing their stop record and not counted).  Also, sessions
-which end in the range but started earlier are counted from the start of the
-range to session end.  Finally, sessions which start before the range but end
-after are counted for the entire range.
-
-TIMESTAMP_START and TIMESTAMP_END are specified as UNIX timestamps; see
-L<perlfunc/"time">.  Also see L<Time::Local> and L<Date::Parse> for conversion
-functions.
-
-=cut
-
-#note: POD here, implementation in FS::cust_svc
-sub seconds_since_sqlradacct {
-  my $self = shift;
-  $self->cust_svc->seconds_since_sqlradacct(@_);
-}
-
-=item attribute_since_sqlradacct TIMESTAMP_START TIMESTAMP_END ATTRIBUTE
-
-Returns the sum of the given attribute for all accounts (see L<FS::svc_acct>)
-in this package for sessions ending between TIMESTAMP_START (inclusive) and
-TIMESTAMP_END (exclusive).
-
-TIMESTAMP_START and TIMESTAMP_END are specified as UNIX timestamps; see
-L<perlfunc/"time">.  Also see L<Time::Local> and L<Date::Parse> for conversion
-functions.
-
-=cut
-
-#note: POD here, implementation in FS::cust_svc
-sub attribute_since_sqlradacct {
-  my $self = shift;
-  $self->cust_svc->attribute_since_sqlradacct(@_);
-}
-
-=item get_session_history TIMESTAMP_START TIMESTAMP_END
-
-Returns an array of hash references of this customers login history for the
-given time range.  (document this better)
-
-=cut
-
-sub get_session_history {
-  my $self = shift;
-  $self->cust_svc->get_session_history(@_);
-}
-
-=item radius_groups
-
-Returns all RADIUS groups for this account (see L<FS::radius_usergroup>).
-
-=cut
-
-sub radius_groups {
-  my $self = shift;
-  if ( $self->usergroup ) {
-    #when provisioning records, export callback runs in svc_Common.pm before
-    #radius_usergroup records can be inserted...
-    @{$self->usergroup};
-  } else {
-    map { $_->groupname }
-      qsearch('radius_usergroup', { 'svcnum' => $self->svcnum } );
-  }
-}
-
-=item clone_suspended
-
-Constructor used by FS::part_export::_export_suspend fallback.  Document
-better.
-
-=cut
-
-sub clone_suspended {
-  my $self = shift;
-  my %hash = $self->hash;
-  $hash{_password} = join('',map($pw_set[ int(rand $#pw_set) ], (0..7) ) );
-  new FS::svc_acct \%hash;
-}
-
-=item clone_kludge_unsuspend 
-
-Constructor used by FS::part_export::_export_unsuspend fallback.  Document
-better.
-
-=cut
-
-sub clone_kludge_unsuspend {
-  my $self = shift;
-  my %hash = $self->hash;
-  $hash{_password} = '';
-  new FS::svc_acct \%hash;
-}
-
-=item check_password 
-
-Checks the supplied password against the (possibly encrypted) password in the
-database.  Returns true for a sucessful authentication, false for no match.
-
-Currently supported encryptions are: classic DES crypt() and MD5
-
-=cut
-
-sub check_password {
-  my($self, $check_password) = @_;
-
-  #remove old-style SUSPENDED kludge, they should be allowed to login to
-  #self-service and pay up
-  ( my $password = $self->_password ) =~ s/^\*SUSPENDED\* //;
-
-  #eventually should check a "password-encoding" field
-  if ( $password =~ /^(\*|!!?)$/ ) { #no self-service login
-    return 0;
-  } elsif ( length($password) < 13 ) { #plaintext
-    $check_password eq $password;
-  } elsif ( length($password) == 13 ) { #traditional DES crypt
-    crypt($check_password, $password) eq $password;
-  } elsif ( $password =~ /^\$1\$/ ) { #MD5 crypt
-    unix_md5_crypt($check_password, $password) eq $password;
-  } elsif ( $password =~ /^\$2a?\$/ ) { #Blowfish
-    warn "Can't check password: Blowfish encryption not yet supported, svcnum".
-         $self->svcnum. "\n";
-    0;
-  } else {
-    warn "Can't check password: Unrecognized encryption for svcnum ".
-         $self->svcnum. "\n";
-    0;
-  }
-
-}
-
-=item crypt_password [ DEFAULT_ENCRYPTION_TYPE ]
-
-Returns an encrypted password, either by passing through an encrypted password
-in the database or by encrypting a plaintext password from the database.
-
-The optional DEFAULT_ENCRYPTION_TYPE parameter can be set to I<crypt> (classic
-UNIX DES crypt), I<md5> (md5 crypt supported by most modern Linux and BSD
-distrubtions), or (eventually) I<blowfish> (blowfish hashing supported by
-OpenBSD, SuSE, other Linux distibutions with pam_unix2, etc.).  The default
-encryption type is only used if the password is not already encrypted in the
-database.
-
-=cut
-
-sub crypt_password {
-  my $self = shift;
-  #eventually should check a "password-encoding" field
-  if ( length($self->_password) == 13
-       || $self->_password =~ /^\$(1|2a?)\$/
-       || $self->_password =~ /^(\*|NP|\*LK\*|!!?)$/
-     )
-  {
-    $self->_password;
-  } else {
-    my $encryption = ( scalar(@_) && $_[0] ) ? shift : 'crypt';
-    if ( $encryption eq 'crypt' ) {
-      crypt(
-        $self->_password,
-        $saltset[int(rand(64))].$saltset[int(rand(64))]
-      );
-    } elsif ( $encryption eq 'md5' ) {
-      unix_md5_crypt( $self->_password );
-    } elsif ( $encryption eq 'blowfish' ) {
-      die "unknown encryption method $encryption";
-    } else {
-      die "unknown encryption method $encryption";
-    }
-  }
-}
-
-=item virtual_maildir
-
-Returns $domain/maildirs/$username/
-
-=cut
-
-sub virtual_maildir {
-  my $self = shift;
-  $self->domain. '/maildirs/'. $self->username. '/';
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item send_email
-
-This is the FS::svc_acct job-queue-able version.  It still uses
-FS::Misc::send_email under-the-hood.
-
-=cut
-
-sub send_email {
-  my %opt = @_;
-
-  eval "use FS::Misc qw(send_email)";
-  die $@ if $@;
-
-  $opt{mimetype} ||= 'text/plain';
-  $opt{mimetype} .= '; charset="iso-8859-1"' unless $opt{mimetype} =~ /charset/;
-
-  my $error = send_email(
-    'from'         => $opt{from},
-    'to'           => $opt{to},
-    'subject'      => $opt{subject},
-    'content-type' => $opt{mimetype},
-    'body'         => [ map "$_\n", split("\n", $opt{body}) ],
-  );
-  die $error if $error;
-}
-
-=item check_and_rebuild_fuzzyfiles
-
-=cut
-
-sub check_and_rebuild_fuzzyfiles {
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  -e "$dir/svc_acct.username"
-    or &rebuild_fuzzyfiles;
-}
-
-=item rebuild_fuzzyfiles
-
-=cut
-
-sub rebuild_fuzzyfiles {
-
-  use Fcntl qw(:flock);
-
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-
-  #username
-
-  open(USERNAMELOCK,">>$dir/svc_acct.username")
-    or die "can't open $dir/svc_acct.username: $!";
-  flock(USERNAMELOCK,LOCK_EX)
-    or die "can't lock $dir/svc_acct.username: $!";
-
-  my @all_username = map $_->getfield('username'), qsearch('svc_acct', {});
-
-  open (USERNAMECACHE,">$dir/svc_acct.username.tmp")
-    or die "can't open $dir/svc_acct.username.tmp: $!";
-  print USERNAMECACHE join("\n", @all_username), "\n";
-  close USERNAMECACHE or die "can't close $dir/svc_acct.username.tmp: $!";
-
-  rename "$dir/svc_acct.username.tmp", "$dir/svc_acct.username";
-  close USERNAMELOCK;
-
-}
-
-=item all_username
-
-=cut
-
-sub all_username {
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-  open(USERNAMECACHE,"<$dir/svc_acct.username")
-    or die "can't open $dir/svc_acct.username: $!";
-  my @array = map { chomp; $_; } <USERNAMECACHE>;
-  close USERNAMECACHE;
-  \@array;
-}
-
-=item append_fuzzyfiles USERNAME
-
-=cut
-
-sub append_fuzzyfiles {
-  my $username = shift;
-
-  &check_and_rebuild_fuzzyfiles;
-
-  use Fcntl qw(:flock);
-
-  my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
-
-  open(USERNAME,">>$dir/svc_acct.username")
-    or die "can't open $dir/svc_acct.username: $!";
-  flock(USERNAME,LOCK_EX)
-    or die "can't lock $dir/svc_acct.username: $!";
-
-  print USERNAME "$username\n";
-
-  flock(USERNAME,LOCK_UN)
-    or die "can't unlock $dir/svc_acct.username: $!";
-  close USERNAME;
-
-  1;
-}
-
-
-
-=item radius_usergroup_selector GROUPS_ARRAYREF [ SELECTNAME ]
-
-=cut
-
-sub radius_usergroup_selector {
-  my $sel_groups = shift;
-  my %sel_groups = map { $_=>1 } @$sel_groups;
-
-  my $selectname = shift || 'radius_usergroup';
-
-  my $dbh = dbh;
-  my $sth = $dbh->prepare(
-    'SELECT DISTINCT(groupname) FROM radius_usergroup ORDER BY groupname'
-  ) or die $dbh->errstr;
-  $sth->execute() or die $sth->errstr;
-  my @all_groups = map { $_->[0] } @{$sth->fetchall_arrayref};
-
-  my $html = <<END;
-    <SCRIPT>
-    function ${selectname}_doadd(object) {
-      var myvalue = object.${selectname}_add.value;
-      var optionName = new Option(myvalue,myvalue,false,true);
-      var length = object.$selectname.length;
-      object.$selectname.options[length] = optionName;
-      object.${selectname}_add.value = "";
-    }
-    </SCRIPT>
-    <SELECT MULTIPLE NAME="$selectname">
-END
-
-  foreach my $group ( @all_groups ) {
-    $html .= qq(<OPTION VALUE="$group");
-    if ( $sel_groups{$group} ) {
-      $html .= ' SELECTED';
-      $sel_groups{$group} = 0;
-    }
-    $html .= ">$group</OPTION>\n";
-  }
-  foreach my $group ( grep { $sel_groups{$_} } keys %sel_groups ) {
-    $html .= qq(<OPTION VALUE="$group" SELECTED>$group</OPTION>\n);
-  };
-  $html .= '</SELECT>';
-
-  $html .= qq!<BR><INPUT TYPE="text" NAME="${selectname}_add">!.
-           qq!<INPUT TYPE="button" VALUE="Add new group" onClick="${selectname}_doadd(this.form)">!;
-
-  $html;
-}
-
-=back
-
-=head1 BUGS
-
-The $recref stuff in sub check should be cleaned up.
-
-The suspend, unsuspend and cancel methods update the database, but not the
-current object.  This is probably a bug as it's unexpected and
-counterintuitive.
-
-radius_usergroup_selector?  putting web ui components in here?  they should
-probably live somewhere else...
-
-insertion of RADIUS group stuff in insert could be done with child_objects now
-(would probably clean up export of them too)
-
-=head1 SEE ALSO
-
-L<FS::svc_Common>, edit/part_svc.cgi from an installed web interface,
-export.html from the base documentation, L<FS::Record>, L<FS::Conf>,
-L<FS::cust_svc>, L<FS::part_svc>, L<FS::cust_pkg>, L<FS::queue>,
-L<freeside-queued>), L<FS::svc_acct_pop>,
-schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/svc_acct_pop.pm b/FS/FS/svc_acct_pop.pm
deleted file mode 100644 (file)
index de41f5b..0000000
+++ /dev/null
@@ -1,206 +0,0 @@
-package FS::svc_acct_pop;
-
-use strict;
-use vars qw( @ISA @EXPORT_OK @svc_acct_pop %svc_acct_pop );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw( FS::Record Exporter );
-@EXPORT_OK = qw( popselector );
-
-=head1 NAME
-
-FS::svc_acct_pop - Object methods for svc_acct_pop records
-
-=head1 SYNOPSIS
-
-  use FS::svc_acct_pop;
-
-  $record = new FS::svc_acct_pop \%hash;
-  $record = new FS::svc_acct_pop { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $html = FS::svc_acct_pop::popselector( $popnum, $state );
-
-=head1 DESCRIPTION
-
-An FS::svc_acct object represents an point of presence.  FS::svc_acct_pop
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item popnum - primary key (assigned automatically for new accounts)
-
-=item city
-
-=item state
-
-=item ac - area code
-
-=item exch - exchange
-
-=item loc - rest of number
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new point of presence (if only it were that easy!).  To add the 
-point of presence to the database, see L<"insert">.
-
-=cut
-
-sub table { 'svc_acct_pop'; }
-
-=item insert
-
-Adds this point of presence to the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item delete
-
-Removes this point of presence from the database.
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid point of presence.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-    $self->ut_numbern('popnum')
-      or $self->ut_text('city')
-      or $self->ut_text('state')
-      or $self->ut_number('ac')
-      or $self->ut_number('exch')
-      or $self->ut_numbern('loc')
-      or $self->SUPER::check
-  ;
-
-}
-
-=item text
-
-Returns:
-
-"$city, $state ($ac)/$exch"
-
-=cut
-
-sub text {
-  my $self = shift;
-  $self->city. ', '. $self->state.
-    ' ('. $self->ac. ')/'. $self->exch. '-'. $self->loc;
-}
-
-=back
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item popselector [ POPNUM [ STATE ] ]
-
-=cut
-
-#horrible false laziness with signup.cgi (pull special-case for 0 & 1
-# pop code out from signup.cgi??)
-sub popselector {
-  my( $popnum, $state ) = @_;
-
-  unless ( @svc_acct_pop ) { #cache pop list
-    @svc_acct_pop = qsearch('svc_acct_pop', {} );
-    %svc_acct_pop = ();
-    push @{$svc_acct_pop{$_->state}}, $_ foreach @svc_acct_pop;
-  }
-
-  my $text = <<END;
-    <SCRIPT>
-    function opt(what,href,text) {
-      var optionName = new Option(text, href, false, false)
-      var length = what.length;
-      what.options[length] = optionName;
-    }
-    
-    function popstate_changed(what) {
-      state = what.options[what.selectedIndex].text;
-      what.form.popnum.options.length = 0
-      what.form.popnum.options[0] = new Option("", "", false, true);
-END
-
-  foreach my $popstate ( sort { $a cmp $b } keys %svc_acct_pop ) {
-    $text .= "\nif ( state == \"$popstate\" ) {\n";
-
-    foreach my $pop ( @{$svc_acct_pop{$popstate}}) {
-      my $o_popnum = $pop->popnum;
-      my $poptext = $pop->text;
-      $text .= "opt(what.form.popnum, \"$o_popnum\", \"$poptext\");\n"
-    }
-    $text .= "}\n";
-  }
-
-  $text .= "}\n</SCRIPT>\n";
-
-  $text .=
-    qq!<SELECT NAME="popstate" SIZE=1 onChange="popstate_changed(this)">!.
-    qq!<OPTION> !;
-  $text .= "<OPTION>$_" foreach sort { $a cmp $b } keys %svc_acct_pop;
-  $text .= '</SELECT>'; #callback? return 3 html pieces?  #'</TD><TD>';
-
-  $text .= qq!<SELECT NAME="popnum" SIZE=1><OPTION> !;
-  my @initial_select;
-  if ( scalar(@svc_acct_pop) > 100 ) {
-    @initial_select = qsearchs( 'svc_acct_pop', { 'popnum' => $popnum } );
-  } else {
-    @initial_select = @svc_acct_pop;
-  }
-  foreach my $pop ( @initial_select ) {
-    $text .= qq!<OPTION VALUE="!. $pop->popnum. '"'.
-             ( ( $popnum && $pop->popnum == $popnum ) ? ' SELECTED' : '' ). ">".
-             $pop->text;
-  }
-  $text .= '</SELECT>';
-
-  $text;
-
-}
-
-=back
-
-=head1 BUGS
-
-It should be renamed to part_pop.
-
-popselector?  putting web ui components in here?  they should probably live
-somewhere else...  
-
-popselector: pull special-case for 0 & 1 pop code out from signup.cgi
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::svc_acct>, L<FS::part_pop_local>, schema.html from the
-base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm
deleted file mode 100755 (executable)
index aaac891..0000000
+++ /dev/null
@@ -1,243 +0,0 @@
-package FS::svc_broadband;
-
-use strict;
-use vars qw(@ISA $conf);
-use FS::Record qw( qsearchs qsearch dbh );
-use FS::svc_Common;
-use FS::cust_svc;
-use FS::addr_block;
-use NetAddr::IP;
-
-@ISA = qw( FS::svc_Common );
-
-$FS::UID::callback{'FS::svc_broadband'} = sub { 
-  $conf = new FS::Conf;
-};
-
-=head1 NAME
-
-FS::svc_broadband - Object methods for svc_broadband records
-
-=head1 SYNOPSIS
-
-  use FS::svc_broadband;
-
-  $record = new FS::svc_broadband \%hash;
-  $record = new FS::svc_broadband { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $error = $record->cancel;
-
-=head1 DESCRIPTION
-
-An FS::svc_broadband object represents a 'broadband' Internet connection, such
-as a DSL, cable modem, or fixed wireless link.  These services are assumed to
-have the following properties:
-
-FS::svc_broadband inherits from FS::svc_Common.  The following fields are
-currently supported:
-
-=over 4
-
-=item svcnum - primary key
-
-=item blocknum - see FS::addr_block
-
-=item
-speed_up - maximum upload speed, in bits per second.  If set to zero, upload
-speed will be unlimited.  Exports that do traffic shaping should handle this
-correctly, and not blindly set the upload speed to zero and kill the customer's
-connection.
-
-=item
-speed_down - maximum download speed, as above
-
-=item ip_addr - the customer's IP address.  If the customer needs more than one
-IP address, set this to the address of the customer's router.  As a result, the
-customer's router will have the same address for both its internal and external
-interfaces thus saving address space.  This has been found to work on most NAT
-routers available.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new svc_broadband.  To add the record to the database, see
-"insert".
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'svc_broadband'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-The additional fields pkgnum and svcpart (see FS::cust_svc) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-Currently available options are: I<depend_jobnum>
-
-If I<depend_jobnum> is set (to a scalar jobnum or an array reference of
-jobnums), all provisioning jobs will have a dependancy on the supplied
-jobnum(s) (they will not run until the specific job(s) complete(s)).
-
-=cut
-
-# Standard FS::svc_Common::insert
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# Standard FS::svc_Common::delete
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# Standard FS::svc_Common::replace
-
-=item suspend
-
-Called by the suspend method of FS::cust_pkg (see FS::cust_pkg).
-
-=item unsuspend
-
-Called by the unsuspend method of FS::cust_pkg (see FS::cust_pkg).
-
-=item cancel
-
-Called by the cancel method of FS::cust_pkg (see FS::cust_pkg).
-
-=item check
-
-Checks all fields to make sure this is a valid broadband service.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-  my $x = $self->setfixed;
-
-  return $x unless ref($x);
-
-  my $error =
-    $self->ut_numbern('svcnum')
-    || $self->ut_foreign_key('blocknum', 'addr_block', 'blocknum')
-    || $self->ut_number('speed_up')
-    || $self->ut_number('speed_down')
-    || $self->ut_ipn('ip_addr')
-  ;
-  return $error if $error;
-
-  if($self->speed_up < 0) { return 'speed_up must be positive'; }
-  if($self->speed_down < 0) { return 'speed_down must be positive'; }
-
-  if (not($self->ip_addr) or $self->ip_addr eq '0.0.0.0') {
-    my $next_addr = $self->addr_block->next_free_addr;
-    if ($next_addr) {
-      $self->ip_addr($next_addr->addr);
-    } else {
-      return "No free addresses in addr_block (blocknum: ".$self->blocknum.")";
-    }
-  }
-
-  # This should catch errors in the ip_addr.  If it doesn't,
-  # they'll almost certainly not map into the block anyway.
-  my $self_addr = $self->NetAddr; #netmask is /32
-  return ('Cannot parse address: ' . $self->ip_addr) unless $self_addr;
-
-  my $block_addr = $self->addr_block->NetAddr;
-  unless ($block_addr->contains($self_addr)) {
-    return 'blocknum '.$self->blocknum.' does not contain address '.$self->ip_addr;
-  }
-
-  my $router = $self->addr_block->router 
-    or return 'Cannot assign address from unallocated block:'.$self->addr_block->blocknum;
-  if(grep { $_->routernum == $router->routernum} $self->allowed_routers) {
-  } # do nothing
-  else {
-    return 'Router '.$router->routernum.' cannot provide svcpart '.$self->svcpart;
-  }
-
-  $self->SUPER::check;
-}
-
-=item NetAddr
-
-Returns a NetAddr::IP object containing the IP address of this service.  The netmask 
-is /32.
-
-=cut
-
-sub NetAddr {
-  my $self = shift;
-  return new NetAddr::IP ($self->ip_addr);
-}
-
-=item addr_block
-
-Returns the FS::addr_block record (i.e. the address block) for this broadband service.
-
-=cut
-
-sub addr_block {
-  my $self = shift;
-
-  return qsearchs('addr_block', { blocknum => $self->blocknum });
-}
-
-=back
-
-=item allowed_routers
-
-Returns a list of allowed FS::router objects.
-
-=cut
-
-sub allowed_routers {
-  my $self = shift;
-
-  return map { $_->router } qsearch('part_svc_router', { svcpart => $self->svcpart });
-}
-
-=head1 BUGS
-
-The business with sb_field has been 'fixed', in a manner of speaking.
-
-=head1 SEE ALSO
-
-FS::svc_Common, FS::Record, FS::addr_block,
-FS::part_svc, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm
deleted file mode 100644 (file)
index 6d54357..0000000
+++ /dev/null
@@ -1,446 +0,0 @@
-package FS::svc_domain;
-
-use strict;
-use vars qw( @ISA $whois_hack $conf
-  @defaultrecords $soadefaultttl $soaemail $soaexpire $soamachine
-  $soarefresh $soaretry
-);
-use Carp;
-use Date::Format;
-#use Net::Whois::Raw;
-use FS::Record qw(fields qsearch qsearchs dbh);
-use FS::Conf;
-use FS::svc_Common;
-use FS::cust_svc;
-use FS::svc_acct;
-use FS::cust_pkg;
-use FS::cust_main;
-use FS::domain_record;
-use FS::queue;
-
-@ISA = qw( FS::svc_Common );
-
-#ask FS::UID to run this stuff for us later
-$FS::UID::callback{'FS::domain'} = sub { 
-  $conf = new FS::Conf;
-
-  @defaultrecords = $conf->config('defaultrecords');
-  $soadefaultttl = $conf->config('soadefaultttl');
-  $soaemail      = $conf->config('soaemail');
-  $soaexpire     = $conf->config('soaexpire');
-  $soamachine    = $conf->config('soamachine');
-  $soarefresh    = $conf->config('soarefresh');
-  $soaretry      = $conf->config('soaretry');
-
-};
-
-=head1 NAME
-
-FS::svc_domain - Object methods for svc_domain records
-
-=head1 SYNOPSIS
-
-  use FS::svc_domain;
-
-  $record = new FS::svc_domain \%hash;
-  $record = new FS::svc_domain { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $error = $record->cancel;
-
-=head1 DESCRIPTION
-
-An FS::svc_domain object represents a domain.  FS::svc_domain inherits from
-FS::svc_Common.  The following fields are currently supported:
-
-=over 4
-
-=item svcnum - primary key (assigned automatically for new accounts)
-
-=item domain
-
-=item catchall - optional svcnum of an svc_acct record, designating an email catchall account.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new domain.  To add the domain to the database, see L<"insert">.
-
-=cut
-
-sub table { 'svc_domain'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this domain to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-The additional fields I<pkgnum> and I<svcpart> (see L<FS::cust_svc>) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-The additional field I<action> should be set to I<N> for new domains or I<M>
-for transfers.
-
-A registration or transfer email will be submitted unless
-$FS::svc_domain::whois_hack is true.
-
-The additional field I<email> can be used to manually set the admin contact
-email address on this email.  Otherwise, the svc_acct records for this package 
-(see L<FS::cust_pkg>) are searched.  If there is exactly one svc_acct record
-in the same package, it is automatically used.  Otherwise an error is returned.
-
-If any I<soamachine> configuration file exists, an SOA record is added to
-the domain_record table (see <FS::domain_record>).
-
-If any records are defined in the I<defaultrecords> configuration file,
-appropriate records are added to the domain_record table (see
-L<FS::domain_record>).
-
-Currently available options are: I<depend_jobnum>
-
-If I<depend_jobnum> is set (to a scalar jobnum or an array reference of
-jobnums), all provisioning jobs will have a dependancy on the supplied
-jobnum(s) (they will not run until the specific job(s) complete(s)).
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $error = $self->check;
-  return $error if $error;
-
-  return "Domain in use (here)"
-    if qsearchs( 'svc_domain', { 'domain' => $self->domain } );
-
-  my $whois = $self->whois;
-  if ( $self->action eq "N" && ! $whois_hack && $whois ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "Domain in use (see whois)";
-  }
-  if ( $self->action eq "M" && ! $whois ) {
-    $dbh->rollback if $oldAutoCommit;
-    return "Domain not found (see whois)";
-  }
-
-  $error = $self->SUPER::insert(@_);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $self->submit_internic unless $whois_hack;
-
-  if ( $soamachine ) {
-    my $soa = new FS::domain_record {
-      'svcnum'  => $self->svcnum,
-      'reczone' => '@',
-      'recaf'   => 'IN',
-      'rectype' => 'SOA',
-      'recdata' => "$soamachine $soaemail ( ". time2str("%Y%m%d", time). "00 ".
-                   "$soarefresh $soaretry $soaexpire $soadefaultttl )"
-    };
-    $error = $soa->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "couldn't insert SOA record for new domain: $error";
-    }
-
-    foreach my $record ( @defaultrecords ) {
-      my($zone,$af,$type,$data) = split(/\s+/,$record,4);
-      my $domain_record = new FS::domain_record {
-        'svcnum'  => $self->svcnum,
-        'reczone' => $zone,
-        'recaf'   => $af,
-        'rectype' => $type,
-        'recdata' => $data,
-      };
-      my $error = $domain_record->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        return "couldn't insert record for new domain: $error";
-      }
-    }
-
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-
-  ''; #no error
-}
-
-=item delete
-
-Deletes this domain from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-The corresponding FS::cust_svc record will be deleted as well.
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  return "Can't delete a domain which has accounts!"
-    if qsearch( 'svc_acct', { 'domsvc' => $self->svcnum } );
-
-  #return "Can't delete a domain with (domain_record) zone entries!"
-  #  if qsearch('domain_record', { 'svcnum' => $self->svcnum } );
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  foreach my $domain_record ( reverse $self->domain_record ) {
-    my $error = $domain_record->delete;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-  }
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-}
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-
-  return "Can't change domain - reorder."
-    if $old->getfield('domain') ne $new->getfield('domain'); 
-
-  # Better to do it here than to force the caller to remember that svc_domain is weird.
-  $new->setfield(action => 'M');
-  my $error = $new->SUPER::replace($old);
-  return $error if $error;
-}
-
-=item suspend
-
-Just returns false (no error) for now.
-
-Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item unsuspend
-
-Just returns false (no error) for now.
-
-Called by the unsuspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item cancel
-
-Just returns false (no error) for now.
-
-Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item check
-
-Checks all fields to make sure this is a valid domain.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-Sets any fixed values; see L<FS::part_svc>.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $x = $self->setfixed;
-  return $x unless ref($x);
-  #my $part_svc = $x;
-
-  my $error = $self->ut_numbern('svcnum')
-              || $self->ut_numbern('catchall')
-  ;
-  return $error if $error;
-
-  #hmm
-  my $pkgnum;
-  if ( $self->svcnum ) {
-    my $cust_svc = qsearchs( 'cust_svc', { 'svcnum' => $self->svcnum } );
-    $pkgnum = $cust_svc->pkgnum;
-  } else {
-    $pkgnum = $self->pkgnum;
-  }
-
-  my($recref) = $self->hashref;
-
-  unless ( $whois_hack ) {
-    unless ( $self->email ) { #find out an email address
-      my @svc_acct;
-      foreach ( qsearch( 'cust_svc', { 'pkgnum' => $pkgnum } ) ) {
-        my $svc_acct = qsearchs( 'svc_acct', { 'svcnum' => $_->svcnum } );
-        push @svc_acct, $svc_acct if $svc_acct;
-      }
-
-      if ( scalar(@svc_acct) == 0 ) {
-        return "Must order an account in package ". $pkgnum. " first";
-      } elsif ( scalar(@svc_acct) > 1 ) {
-        return "More than one account in package ". $pkgnum. ": specify admin contact email";
-      } else {
-        $self->email($svc_acct[0]->email );
-      }
-    }
-  }
-
-  #if ( $recref->{domain} =~ /^([\w\-\.]{1,22})\.(com|net|org|edu)$/ ) {
-  if ( $recref->{domain} =~ /^([\w\-]{1,63})\.(com|net|org|edu)$/ ) {
-    $recref->{domain} = "$1.$2";
-  # hmmmmmmmm.
-  } elsif ( $whois_hack && $recref->{domain} =~ /^([\w\-\.]+)$/ ) {
-    $recref->{domain} = $1;
-  } else {
-    return "Illegal domain ". $recref->{domain}.
-           " (or unknown registry - try \$whois_hack)";
-  }
-
-  $recref->{action} =~ /^(M|N)$/
-    or return "Illegal action: ". $recref->{action};
-  $recref->{action} = $1;
-
-  if ( $recref->{catchall} ne '' ) {
-    my $svc_acct = qsearchs( 'svc_acct', { 'svcnum' => $recref->{catchall} } );
-    return "Unknown catchall" unless $svc_acct;
-  }
-
-  $self->ut_textn('purpose')
-    or $self->SUPER::check;
-
-}
-
-=item domain_record
-
-=cut
-
-sub domain_record {
-  my $self = shift;
-
-  my %order = (
-    SOA => 1,
-    NS => 2,
-    MX => 3,
-    CNAME => 4,
-    A => 5,
-    TXT => 6,
-  );
-
-  sort { $order{$a->rectype} <=> $order{$b->rectype} }
-    qsearch('domain_record', { svcnum => $self->svcnum } );
-
-}
-
-sub catchall_svc_acct {
-  my $self = shift;
-  if ( $self->catchall ) {
-    qsearchs( 'svc_acct', { 'svcnum' => $self->catchall } );
-  } else {
-    '';
-  }
-}
-
-=item whois
-
-# Returns the Net::Whois::Domain object (see L<Net::Whois>) for this domain, or
-# undef if the domain is not found in whois.
-
-(If $FS::svc_domain::whois_hack is true, returns that in all cases instead.)
-
-=cut
-
-sub whois {
-  #$whois_hack or new Net::Whois::Domain $_[0]->domain;
-  $whois_hack or die "whois_hack not set...\n";
-}
-
-=item _whois
-
-Depriciated.
-
-=cut
-
-sub _whois {
-  die "_whois depriciated";
-}
-
-=item submit_internic
-
-Submits a registration email for this domain.
-
-=cut
-
-sub submit_internic {
-  #my $self = shift;
-  carp "submit_internic depreciated";
-}
-
-=back
-
-=head1 BUGS
-
-Delete doesn't send a registration template.
-
-All registries should be supported.
-
-Should change action to a real field.
-
-The $recref stuff in sub check should be cleaned up.
-
-=head1 SEE ALSO
-
-L<FS::svc_Common>, L<FS::Record>, L<FS::Conf>, L<FS::cust_svc>,
-L<FS::part_svc>, L<FS::cust_pkg>, L<Net::Whois>, schema.html from the base
-documentation, config.html from the base documentation.
-
-=cut
-
-1;
-
-
diff --git a/FS/FS/svc_external.pm b/FS/FS/svc_external.pm
deleted file mode 100644 (file)
index 79eec97..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-package FS::svc_external;
-
-use strict;
-use vars qw(@ISA); # $conf
-use FS::UID;
-#use FS::Record qw( qsearch qsearchs dbh);
-use FS::svc_Common;
-
-@ISA = qw( FS::svc_Common );
-
-#FS::UID::install_callback( sub {
-#  $conf = new FS::Conf;
-#};
-
-=head1 NAME
-
-FS::svc_external - Object methods for svc_external records
-
-=head1 SYNOPSIS
-
-  use FS::svc_external;
-
-  $record = new FS::svc_external \%hash;
-  $record = new FS::svc_external { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $error = $record->cancel;
-
-=head1 DESCRIPTION
-
-An FS::svc_external object represents a externally tracked service.
-FS::svc_external inherits from FS::svc_Common.  The following fields are
-currently supported:
-
-=over 4
-
-=item svcnum - primary key
-
-=item id - unique number of external record
-
-=item title - for invoice line items
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new external service.  To add the external service to the database,
-see L<"insert">.  
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'svc_external'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this external service to the database.  If there is an error, returns the
-error, otherwise returns false.
-
-The additional fields pkgnum and svcpart (see L<FS::cust_svc>) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-Currently available options are: I<depend_jobnum>
-
-If I<depend_jobnum> is set (to a scalar jobnum or an array reference of
-jobnums), all provisioning jobs will have a dependancy on the supplied
-jobnum(s) (they will not run until the specific job(s) complete(s)).
-
-=cut
-
-#sub insert {
-#  my $self = shift;
-#  my $error;
-#
-#  $error = $self->SUPER::insert(@_);
-#  return $error if $error;
-#
-#  '';
-#}
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-#sub delete {
-#  my $self = shift;
-#  my $error;
-#
-#  $error = $self->SUPER::delete;
-#  return $error if $error;
-#
-#  '';
-#}
-
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-#sub replace {
-#  my ( $new, $old ) = ( shift, shift );
-#  my $error;
-#
-#  $error = $new->SUPER::replace($old);
-#  return $error if $error;
-#
-#  '';
-#}
-
-=item suspend
-
-Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item unsuspend
-
-Called by the unsuspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item cancel
-
-Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item check
-
-Checks all fields to make sure this is a valid external service.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and repalce methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $x = $self->setfixed;
-  return $x unless ref($x);
-  my $part_svc = $x;
-
-  my $error = 
-    $self->ut_numbern('svcnum')
-    || $self->ut_numbern('id')
-    || $self->ut_textn('title')
-  ;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::svc_Common>, L<FS::Record>, L<FS::cust_svc>, L<FS::part_svc>,
-L<FS::cust_pkg>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/svc_forward.pm b/FS/FS/svc_forward.pm
deleted file mode 100644 (file)
index 12b556f..0000000
+++ /dev/null
@@ -1,306 +0,0 @@
-package FS::svc_forward;
-
-use strict;
-use vars qw( @ISA );
-use FS::Conf;
-use FS::Record qw( fields qsearch qsearchs dbh );
-use FS::svc_Common;
-use FS::cust_svc;
-use FS::svc_acct;
-use FS::svc_domain;
-
-@ISA = qw( FS::svc_Common );
-
-=head1 NAME
-
-FS::svc_forward - Object methods for svc_forward records
-
-=head1 SYNOPSIS
-
-  use FS::svc_forward;
-
-  $record = new FS::svc_forward \%hash;
-  $record = new FS::svc_forward { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $error = $record->cancel;
-
-=head1 DESCRIPTION
-
-An FS::svc_forward object represents a mail forwarding alias.  FS::svc_forward
-inherits from FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item svcnum - primary key (assigned automatcially for new accounts)
-
-=item srcsvc - svcnum of the source of the forward (see L<FS::svc_acct>)
-
-=item src - literal source (username or full email address)
-
-=item dstsvc - svcnum of the destination of the forward (see L<FS::svc_acct>)
-
-=item dst - literal destination (username or full email address)
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new mail forwarding alias.  To add the mail forwarding alias to the
-database, see L<"insert">.
-
-=cut
-
-sub table { 'svc_forward'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this mail forwarding alias to the database.  If there is an error, returns
-the error, otherwise returns false.
-
-The additional fields pkgnum and svcpart (see L<FS::cust_svc>) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-Currently available options are: I<depend_jobnum>
-
-If I<depend_jobnum> is set (to a scalar jobnum or an array reference of
-jobnums), all provisioning jobs will have a dependancy on the supplied
-jobnum(s) (they will not run until the specific job(s) complete(s)).
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  $error = $self->check;
-  return $error if $error;
-
-  $error = $self->SUPER::insert(@_);
-  if ($error) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  ''; #no error
-
-}
-
-=item delete
-
-Deletes this mail forwarding alias from the database.  If there is an error,
-returns the error, otherwise returns false.
-
-The corresponding FS::cust_svc record will be deleted as well.
-
-=cut
-
-sub delete {
-  my $self = shift;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::Autocommit = 0;
-  my $dbh = dbh;
-
-  my $error = $self->SUPER::delete;
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-}
-
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-
-  if ( $new->srcsvc != $old->srcsvc
-       && ( $new->dstsvc != $old->dstsvc
-            || ! $new->dstsvc && $new->dst ne $old->dst 
-          )
-      ) {
-    return "Can't change both source and destination of a mail forward!"
-  }
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  my $error = $new->SUPER::replace($old);
-  if ($error) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-}
-
-=item suspend
-
-Just returns false (no error) for now.
-
-Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item unsuspend
-
-Just returns false (no error) for now.
-
-Called by the unsuspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item cancel
-
-Just returns false (no error) for now.
-
-Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item check
-
-Checks all fields to make sure this is a valid mail forwarding alias.  If there
-is an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-Sets any fixed values; see L<FS::part_svc>.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $x = $self->setfixed;
-  return $x unless ref($x);
-  #my $part_svc = $x;
-
-  my $error = $self->ut_numbern('svcnum')
-              || $self->ut_numbern('srcsvc')
-              || $self->ut_numbern('dstsvc')
-  ;
-  return $error if $error;
-
-  return "Both srcsvc and src were defined; only one can be specified"
-    if $self->srcsvc && $self->src;
-
-  return "one of srcsvc or src is required"
-    unless $self->srcsvc || $self->src;
-
-  return "Unknown srcsvc: ". $self->srcsvc
-    unless ! $self->srcsvc || $self->srcsvc_acct;
-
-  return "Both dstsvc and dst were defined; only one can be specified"
-    if $self->dstsvc && $self->dst;
-
-  return "one of dstsvc or dst is required"
-    unless $self->dstsvc || $self->dst;
-
-  return "Unknown dstsvc: ". $self->dstsvc
-    unless ! $self->dstsvc || $self->dstsvc_acct;
-  #return "Unknown dstsvc"
-  #  unless qsearchs('svc_acct', { 'svcnum' => $self->dstsvc } )
-  #         || ! $self->dstsvc;
-
-  if ( $self->src ) {
-    $self->src =~ /^([\w\.\-\&]*)(\@([\w\-]+\.)+\w+)$/
-       or return "Illegal src: ". $self->src;
-    $self->src("$1$2");
-  } else {
-    $self->src('');
-  }
-
-  if ( $self->dst ) {
-    $self->dst =~ /^([\w\.\-\&]*)(\@([\w\-]+\.)+\w+)$/
-       or return "Illegal dst: ". $self->dst;
-    $self->dst("$1$2");
-  } else {
-    $self->dst('');
-  }
-
-  $self->SUPER::check;
-}
-
-=item srcsvc_acct
-
-Returns the FS::svc_acct object referenced by the srcsvc column, or false for
-literally specified forwards.
-
-=cut
-
-sub srcsvc_acct {
-  my $self = shift;
-  qsearchs('svc_acct', { 'svcnum' => $self->srcsvc } );
-}
-
-=item dstsvc_acct
-
-Returns the FS::svc_acct object referenced by the srcsvc column, or false for
-literally specified forwards.
-
-=cut
-
-sub dstsvc_acct {
-  my $self = shift;
-  qsearchs('svc_acct', { 'svcnum' => $self->dstsvc } );
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::Conf>, L<FS::cust_svc>, L<FS::part_svc>, L<FS::cust_pkg>,
-L<FS::svc_acct>, L<FS::svc_domain>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/svc_www.pm b/FS/FS/svc_www.pm
deleted file mode 100644 (file)
index 12d7e92..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-package FS::svc_www;
-
-use strict;
-use vars qw(@ISA $conf $apacheip);
-#use FS::Record qw( qsearch qsearchs );
-use FS::Record qw( qsearchs dbh );
-use FS::svc_Common;
-use FS::cust_svc;
-use FS::domain_record;
-use FS::svc_acct;
-use FS::svc_domain;
-
-@ISA = qw( FS::svc_Common );
-
-#ask FS::UID to run this stuff for us later
-$FS::UID::callback{'FS::svc_www'} = sub { 
-  $conf = new FS::Conf;
-  $apacheip = $conf->config('apacheip');
-};
-
-=head1 NAME
-
-FS::svc_www - Object methods for svc_www records
-
-=head1 SYNOPSIS
-
-  use FS::svc_www;
-
-  $record = new FS::svc_www \%hash;
-  $record = new FS::svc_www { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $error = $record->cancel;
-
-=head1 DESCRIPTION
-
-An FS::svc_www object represents an web virtual host.  FS::svc_www inherits
-from FS::svc_Common.  The following fields are currently supported:
-
-=over 4
-
-=item svcnum - primary key
-
-=item recnum - DNS `A' record corresponding to this web virtual host. (see L<FS::domain_record>)
-
-=item usersvc - account (see L<FS::svc_acct>) corresponding to this web virtual host.
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new web virtual host.  To add the record to the database, see
-L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'svc_www'; }
-
-=item insert [ , OPTION => VALUE ... ]
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-The additional fields pkgnum and svcpart (see L<FS::cust_svc>) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-Currently available options are: I<depend_jobnum>
-
-If I<depend_jobnum> is set (to a scalar jobnum or an array reference of
-jobnums), all provisioning jobs will have a dependancy on the supplied
-jobnum(s) (they will not run until the specific job(s) complete(s)).
-
-
-=cut
-
-sub insert {
-  my $self = shift;
-
-  my $error = $self->check;
-  return $error if $error;
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-  my $oldAutoCommit = $FS::UID::AutoCommit;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-
-  #if ( $self->recnum =~ /^([\w\-]+|\@)\.(([\w\.\-]+\.)+\w+)$/ ) {
-  if ( $self->recnum =~ /^([\w\-]+|\@)\.(\d+)$/ ) {
-    my( $reczone, $domain_svcnum ) = ( $1, $2 );
-    unless ( $apacheip ) {
-      $dbh->rollback if $oldAutoCommit;
-      return "Configuration option apacheip not set; can't autocreate A record";
-             #"for $reczone". $svc_domain->domain;
-    }
-    my $domain_record = new FS::domain_record {
-      'svcnum'  => $domain_svcnum,
-      'reczone' => $reczone,
-      'recaf'   => 'IN',
-      'rectype' => 'A',
-      'recdata' => $apacheip,
-    };
-    $error = $domain_record->insert;
-    if ( $error ) {
-      $dbh->rollback if $oldAutoCommit;
-      return $error;
-    }
-    $self->recnum($domain_record->recnum);
-  }
-
-  $error = $self->SUPER::insert(@_);
-  if ( $error ) {
-    $dbh->rollback if $oldAutoCommit;
-    return $error;
-  }
-
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
-  '';
-}
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  my $error;
-
-  $error = $self->SUPER::delete;
-  return $error if $error;
-
-  '';
-}
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-  my $error;
-
-  $error = $new->SUPER::replace($old);
-  return $error if $error;
-
-  '';
-}
-
-=item suspend
-
-Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item unsuspend
-
-Called by the unsuspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item cancel
-
-Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item check
-
-Checks all fields to make sure this is a valid web virtual host.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and repalce methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $x = $self->setfixed;
-  return $x unless ref($x);
-  #my $part_svc = $x;
-
-  my $error =
-    $self->ut_numbern('svcnum')
-#    || $self->ut_number('recnum')
-    || $self->ut_numbern('usersvc')
-  ;
-  return $error if $error;
-
-  if ( $self->recnum =~ /^(\d+)$/ ) {
-  
-    $self->recnum($1);
-    return "Unknown recnum: ". $self->recnum
-      unless qsearchs('domain_record', { 'recnum' => $self->recnum } );
-
-  } elsif ( $self->recnum =~ /^([\w\-]+|\@)\.(([\w\.\-]+\.)+\w+)$/ ) {
-
-    my( $reczone, $domain ) = ( $1, $2 );
-
-    my $svc_domain = qsearchs( 'svc_domain', { 'domain' => $domain } )
-      or return "unknown domain $domain (recnum $1.$2)";
-
-    my $domain_record = qsearchs( 'domain_record', {
-      'reczone' => $reczone,
-      'svcnum' => $svc_domain->svcnum,
-    });
-
-    if ( $domain_record ) {
-      $self->recnum($domain_record->recnum);
-    } else {
-      #insert will create it
-      #$self->recnum("$reczone.$domain");
-      $self->recnum("$reczone.". $svc_domain->svcnum);
-    }
-
-  } else {
-    return "Illegal recnum: ". $self->recnum;
-  }
-
-  if ( $self->usersvc ) {
-    return "Unknown usersvc0 (svc_acct.svcnum): ". $self->usersvc
-      unless qsearchs('svc_acct', { 'svcnum' => $self->usersvc } );
-  }
-
-  $self->SUPER::check;
-
-}
-
-=item domain_record
-
-Returns the FS::domain_record record for this web virtual host's zone (see
-L<FS::domain_record>).
-
-=cut
-
-sub domain_record {
-  my $self = shift;
-  qsearchs('domain_record', { 'recnum' => $self->recnum } );
-}
-
-=item svc_acct
-
-Returns the FS::svc_acct record for this web virtual host's owner (see
-L<FS::svc_acct>).
-
-=cut
-
-sub svc_acct {
-  my $self = shift;
-  qsearchs('svc_acct', { 'svcnum' => $self->usersvc } );
-}
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::svc_Common>, L<FS::Record>, L<FS::domain_record>, L<FS::cust_svc>,
-L<FS::part_svc>, L<FS::cust_pkg>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/FS/FS/type_pkgs.pm b/FS/FS/type_pkgs.pm
deleted file mode 100644 (file)
index bf34e7c..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-package FS::type_pkgs;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearchs );
-use FS::agent_type;
-use FS::part_pkg;
-
-@ISA = qw( FS::Record );
-
-=head1 NAME
-
-FS::type_pkgs - Object methods for type_pkgs records
-
-=head1 SYNOPSIS
-
-  use FS::type_pkgs;
-
-  $record = new FS::type_pkgs \%hash;
-  $record = new FS::type_pkgs { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::type_pkgs record links an agent type (see L<FS::agent_type>) to a
-billing item definition (see L<FS::part_pkg>).  FS::type_pkgs inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item typepkgnum - primary key
-
-=item typenum - Agent type, see L<FS::agent_type>
-
-=item pkgpart - Billing item definition, see L<FS::part_pkg>
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Create a new record.  To add the record to the database, see L<"insert">.
-
-=cut
-
-sub table { 'type_pkgs'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=item delete
-
-Deletes this record from the database.  If there is an error, returns the
-error, otherwise returns false.
-
-=item replace OLD_RECORD
-
-Replaces OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=item check
-
-Checks all fields to make sure this is a valid record.  If there is an error,
-returns the error, otherwise returns false.  Called by the insert and replace
-methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-       $self->ut_numbern('typepkgnum')
-    || $self->ut_number('typenum')
-    || $self->ut_number('pkgpart')
-  ;
-  return $error if $error;
-
-  return "Unknown typenum"
-    unless qsearchs( 'agent_type', { 'typenum' => $self->typenum } );
-
-  return "Unknown pkgpart"
-    unless qsearchs( 'part_pkg', { 'pkgpart' => $self->pkgpart } );
-
-  $self->SUPER::check;
-}
-
-=item part_pkg
-
-Returns the FS::part_pkg object associated with this record.
-
-=cut
-
-sub part_pkg {
-  my $self = shift;
-  qsearchs( 'part_pkg', { 'pkgpart' => $self->pkgpart } );
-}
-
-=cut
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::Record>, L<FS::agent_type>, L<FS::part_pkgs>, schema.html from the base
-documentation.
-
-=cut
-
-1;
-
diff --git a/FS/MANIFEST b/FS/MANIFEST
deleted file mode 100644 (file)
index e7d9dea..0000000
+++ /dev/null
@@ -1,294 +0,0 @@
-Changes
-MANIFEST
-MANIFEST.SKIP
-Makefile.PL
-README
-bin/freeside-addoutsource
-bin/freeside-addoutsourceuser
-bin/freeside-adduser
-bin/freeside-apply-credits
-bin/freeside-bill
-bin/freeside-count-active-customers
-bin/freeside-daily
-bin/freeside-deloutsource
-bin/freeside-deloutsourceuser
-bin/freeside-deluser
-bin/freeside-email
-bin/freeside-expiration-alerter
-bin/freeside-queued
-bin/freeside-radgroup
-bin/freeside-reexport
-bin/freeside-selfservice-server
-bin/freeside-setinvoice
-bin/freeside-setup
-bin/freeside-sqlradius-radacctd
-bin/freeside-sqlradius-reset
-bin/freeside-sqlradius-seconds
-FS.pm
-FS/CGI.pm
-FS/InitHandler.pm
-FS/ClientAPI.pm
-FS/ClientAPI_SessionCache.pm
-FS/ClientAPI/passwd.pm
-FS/ClientAPI/MyAccount.pm
-FS/Conf.pm
-FS/ConfItem.pm
-FS/Daemon.pm
-FS/Misc.pm
-FS/Record.pm
-FS/Report.pm
-FS/Report/Table.pm
-FS/Report/Table/Monthly.pm
-FS/SearchCache.pm
-FS/UI/Web.pm
-FS/UID.pm
-FS/Msgcat.pm
-FS/acct_snarf.pm
-FS/agent.pm
-FS/agent_type.pm
-FS/cust_bill.pm
-FS/cust_bill_pkg.pm
-FS/cust_bill_pkg_detail.pm
-FS/cust_credit.pm
-FS/cust_credit_bill.pm
-FS/cust_main.pm
-FS/cust_main_Mixin.pm
-FS/cust_main_county.pm
-FS/cust_main_invoice.pm
-FS/cust_pay.pm
-FS/cust_bill_event.pm
-FS/cust_bill_pay.pm
-FS/cust_pay_batch.pm
-FS/cust_pay_refund.pm
-FS/cust_pkg.pm
-FS/cust_refund.pm
-FS/cust_credit_refund.pm
-FS/cust_svc.pm
-FS/h_Common.pm
-FS/h_cust_svc.pm
-FS/h_domain_record.pm
-FS/h_svc_acct.pm
-FS/h_svc_broadband.pm
-FS/h_svc_domain.pm
-FS/h_svc_external.pm
-FS/h_svc_forward.pm
-FS/h_svc_www.pm
-FS/part_bill_event.pm
-FS/export_svc.pm
-FS/part_export.pm
-FS/part_export_option.pm
-FS/part_export/acct_sql.pm
-FS/part_export/apache.pm
-FS/part_export/bind.pm
-FS/part_export/bind_slave.pm
-FS/part_export/bsdshell.pm
-FS/part_export/communigate_pro.pm
-FS/part_export/communigate_pro_singledomain.pm
-FS/part_export/cp.pm
-FS/part_export/cyrus.pm
-FS/part_export/domain_shellcommands.pm
-FS/part_export/forward_shellcommands.pm
-FS/part_export/http.pm
-FS/part_export/infostreet.pm
-FS/part_export/ldap.pm
-FS/part_export/null.pm
-FS/part_export/radiator.pm
-FS/part_export/router.pm
-FS/part_export/shellcommands.pm
-FS/part_export/shellcommands_withdomain.pm
-FS/part_export/sqlmail.pm
-FS/part_export/sqlradius.pm
-FS/part_export/sysvshell.pm
-FS/part_export/textradius.pm
-FS/part_export/vpopmail.pm
-FS/part_export/www_shellcommands.pm
-FS/part_pkg.pm
-FS/part_pkg_option.pm
-FS/part_pkg/flat.pm
-FS/part_pkg/flat_comission.pm
-FS/part_pkg/flat_comission_cust.pm
-FS/part_pkg/flat_comission_pkg.pm
-FS/part_pkg/flat_delayed.pm
-FS/part_pkg/prorate.pm
-FS/part_pkg/sesmon_hour.pm
-FS/part_pkg/sesmon_minute.pm
-FS/part_pkg/sql_external.pm
-FS/part_pkg/sql_generic.pm
-FS/part_pkg/sqlradacct_hour.pm
-FS/part_pkg/subscription.pm
-FS/part_pkg/voip_sqlradacct.pm
-FS/part_pop_local.pm
-FS/part_referral.pm
-FS/part_svc.pm
-FS/part_svc_column.pm
-FS/part_svc_router.pm
-FS/part_virtual_field.pm
-FS/pkg_svc.pm
-FS/rate.pm
-FS/rate_detail.pm
-FS/rate_region.pm
-FS/rate_prefix.pm
-FS/reg_code.pm
-FS/reg_code_pkg.pm
-FS/svc_Common.pm
-FS/svc_acct.pm
-FS/svc_acct_pop.pm
-FS/svc_broadband.pm
-FS/svc_domain.pm
-FS/svc_external.pm
-FS/router.pm
-FS/type_pkgs.pm
-FS/nas.pm
-FS/port.pm
-FS/session.pm
-FS/domain_record.pm
-FS/prepay_credit.pm
-FS/svc_www.pm
-FS/svc_forward.pm
-FS/raddb.pm
-FS/radius_usergroup.pm
-FS/queue.pm
-FS/queue_arg.pm
-FS/queue_depend.pm
-FS/msgcat.pm
-FS/cust_tax_exempt.pm
-FS/clientapi_session.pm
-FS/clientapi_session_field.pm
-t/agent.t
-t/agent_type.t
-t/CGI.t
-t/InitHandler.t
-t/ClientAPI.t
-t/ClientAPI_SessionCache.t
-t/Conf.t
-t/ConfItem.t
-t/Daemon.t
-t/Misc.t
-t/Record.t
-t/Report.t
-t/Report-Table.t
-t/Report-Table-Monthly.t
-t/UID.t
-t/Msgcat.t
-t/SearchCache.t
-t/cust_bill.t
-t/cust_bill_event.t
-t/cust_bill_pay.t
-t/cust_bill_pkg.t
-t/cust_bill_pkg_detail.t
-t/cust_credit.t
-t/cust_credit_bill.t
-t/cust_credit_refund.t
-t/cust_main.t
-t/cust_main_Mixin.t
-t/cust_main_county.t
-t/cust_main_invoice.t
-t/cust_pay.t
-t/cust_pay_batch.t
-t/cust_pay_refund.t
-t/cust_pkg.t
-t/cust_refund.t
-t/cust_svc.t
-t/h_cust_svc.t
-t/h_Common.t
-t/h_cust_svc.t
-t/h_domain_record.t
-t/h_svc_acct.t
-t/h_svc_broadband.t
-t/h_svc_domain.t
-t/h_svc_external.t
-t/h_svc_forward.t
-t/h_svc_www.t
-t/cust_tax_exempt.t
-t/domain_record.t
-t/nas.t
-t/part_bill_event.t
-t/export_svc.t
-t/part_export.t
-t/part_export_option.t
-t/part_export-acct_sql.t
-t/part_export-apache.t
-t/part_export-bind.t
-t/part_export-bind_slave.t
-t/part_export-bsdshell.t
-t/part_export-communigate_pro.t
-t/part_export-communigate_pro_singledomain.t
-t/part_export-cp.t
-t/part_export-cyrus.t
-t/part_export-domain_shellcommands.t
-t/part_export-forward_shellcommands.t
-t/part_export-http.t
-t/part_export-infostreet.t
-t/part_export-ldap.t
-t/part_export-null.t
-t/part_export-passwdfile.t
-t/part_export-postfix.t
-t/part_export-radiator.t
-t/part_export-router.t
-t/part_export-shellcommands.t
-t/part_export-shellcommands_withdomain.t
-t/part_export-sqlmail.t
-t/part_export-sqlradius.t
-t/part_export-sysvshell.t
-t/part_export-textradius.t
-t/part_export-vpopmail.t
-t/part_export-www_shellcommands.t
-t/part_pkg.t
-t/part_pkg_option.t
-t/part_pkg-flat.t
-t/part_pkg-flat_comission.t
-t/part_pkg-flat_comission_cust.t
-t/part_pkg-flat_comission_pkg.t
-t/part_pkg-flat_delayed.t
-t/part_pkg-prorate.t
-t/part_pkg-sesmon_hour.t
-t/part_pkg-sesmon_minute.t
-t/part_pkg-sql_external.t
-t/part_pkg-sql_generic.t
-t/part_pkg-sqlradacct_hour.t
-t/part_pkg-subscription.t
-t/part_pkg-voip_sqlradacct.t
-t/part_pop_local.t
-t/part_referral.t
-t/part_svc.t
-t/part_svc_column.t
-t/pkg_svc.t
-t/port.t
-t/prepay_credit.t
-t/rate.t
-t/rate_detail.t
-t/rate_region.t
-t/rate_prefix.t
-t/radius_usergroup.t
-t/reg_code.t
-t/reg_code_pkg.t
-t/session.t
-t/svc_acct.t
-t/svc_acct_pop.t
-t/svc_broadband.t
-t/svc_Common.t
-t/svc_domain.t
-t/svc_external.t
-t/svc_forward.t
-t/svc_www.t
-t/type_pkgs.t
-t/queue.t
-t/queue_arg.t
-t/queue_depend.t
-t/msgcat.t
-t/raddb.t
-t/clientapi_session.t
-t/clientapi_session_field.t
-FS/payment_gateway.pm
-t/payment_gateway.t
-FS/payment_gateway_option.pm
-t/payment_gateway_option.t
-FS/option_Common.pm
-t/option_Common.t
-FS/agent_payment_gateway.pm
-t/agent_payment_gateway.t
-FS/banned_pay.pm
-t/banned_pay.t
-FS/cancel_reason.pm
-t/cancel_reason.t
-bin/freeside-prepaidd
diff --git a/FS/MANIFEST.SKIP b/FS/MANIFEST.SKIP
deleted file mode 100644 (file)
index ae335e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-CVS/
diff --git a/FS/Makefile.PL b/FS/Makefile.PL
deleted file mode 100644 (file)
index 1647f8e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-WriteMakefile(
-    'NAME'        => 'FS',
-    'VERSION_FROM' => 'FS.pm', # finds $VERSION
-    'EXE_FILES'    => [ glob 'bin/*' ],
-    'INSTALLSCRIPT'  => '/usr/local/bin',
-    'INSTALLSITEBIN' => '/usr/local/bin',
-);
diff --git a/FS/README b/FS/README
deleted file mode 100644 (file)
index d4c35ac..0000000
--- a/FS/README
+++ /dev/null
@@ -1,6 +0,0 @@
-This is the Perl module section of Freeside.
-
-perl Makefile.PL
-make
-make test
-make install
diff --git a/FS/bin/freeside-addoutsource b/FS/bin/freeside-addoutsource
deleted file mode 100644 (file)
index db4e7a3..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-domain=$1
-
-createdb $domain && \
-\
-mkdir /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
-\
-chown freeside /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
-\
-cp /home/ivan/freeside/conf/[a-z]* /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
-\
-touch /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
-\
-chown freeside /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
-\
-chmod 600 /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
-\
-echo -e "DBI:Pg:dbname=$domain\nfreeside\n" >/usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
-\
-mkdir /usr/local/etc/freeside/counters.DBI:Pg:dbname=$domain && \
-mkdir /usr/local/etc/freeside/cache.DBI:Pg:dbname=$domain && \
-mkdir /usr/local/etc/freeside/export.DBI:Pg:dbname=$domain
-
diff --git a/FS/bin/freeside-addoutsourceuser b/FS/bin/freeside-addoutsourceuser
deleted file mode 100644 (file)
index cad07f1..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-username=$1
-domain=$2
-password=$3
-
-freeside-adduser -h /usr/local/etc/freeside/htpasswd \
-                 -s conf.DBI:Pg:dbname=$domain/secrets \
-                 -b \
-                 $username $password 2>/dev/null
-
-[ -e /usr/local/etc/freeside/dbdef.DBI:Pg:dbname=$domain ] \
- || ( freeside-setup -s $username 2>/dev/null; \
-      /home/ivan/freeside/bin/populate-msgcat $username 2>/dev/null )
-
diff --git a/FS/bin/freeside-adduser b/FS/bin/freeside-adduser
deleted file mode 100644 (file)
index c3ee05b..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/perl -w
-#
-# $Id: freeside-adduser,v 1.8 2002-09-27 05:36:29 ivan Exp $
-
-use strict;
-use vars qw($opt_h $opt_b $opt_c $opt_s);
-use Fcntl qw(:flock);
-use Getopt::Std;
-
-my $FREESIDE_CONF = "/usr/local/etc/freeside";
-
-getopts("bch:s:");
-die &usage if $opt_c && ! $opt_h;
-my $user = shift or die &usage;
-
-if ( $opt_h ) {
-  my @args = ( 'htpasswd' );
-  push @args, '-b' if $opt_b;
-  push @args, '-c' if $opt_c;
-  push @args, $opt_h, $user;
-  push @args, shift if $opt_b;
-  system(@args) == 0 or die "htpasswd failed: $?";
-}
-
-my $secretfile = $opt_s || 'secrets';
-
-open(MAPSECRETS,">>$FREESIDE_CONF/mapsecrets")
-  and flock(MAPSECRETS,LOCK_EX)
-    or die "can't open $FREESIDE_CONF/mapsecrets: $!";
-print MAPSECRETS "$user $secretfile\n";
-close MAPSECRETS or die "can't close $FREESIDE_CONF/mapsecrets: $!";
-
-sub usage {
-  die "Usage:\n\n  freeside-adduser [ -h htpasswd_file [ -c ] [ -b ] ] [ -s secretfile ] username"
-}
-
-=head1 NAME
-
-freeside-adduser - Command line interface to add (freeside) users.
-
-=head1 SYNOPSIS
-
-  freeside-adduser [ -h htpasswd_file [ -c ] ] [ -s secretfile ] username
-
-=head1 DESCRIPTION
-
-Adds a user to the Freeside billing system.  This is for adding users (internal
-sales/tech folks) to the web interface, not for adding customer accounts.
-
-  -h: Also call htpasswd for this user with the given filename
-
-  -c: Passed to htpasswd(1)
-
-  -s: Specify an alternate secret file
-
-  -b: same as htpasswd(1), probably insecure, not recommended
-
-=head1 SEE ALSO
-
-L<htpasswd>(1), base Freeside documentation
-
-=cut
-
diff --git a/FS/bin/freeside-apply-credits b/FS/bin/freeside-apply-credits
deleted file mode 100755 (executable)
index ea6a7bd..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use vars qw( $user $cust_main @customers );
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch);
-use FS::cust_main;
-
-$user = shift or die &usage;
-&adminsuidsetup( $user );
-
-my @customers = qsearch('cust_main', {} );
-die "No customers" unless (scalar(@customers) > 0);
-
-foreach $cust_main (@customers) {
-  print "Applying credits for customer #". $cust_main->custnum;
-  $cust_main->apply_credits;
-}
-
-
-
diff --git a/FS/bin/freeside-bill b/FS/bin/freeside-bill
deleted file mode 100755 (executable)
index 49ad4a7..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/usr/bin/perl -w
-# don't take any world-facing input
-#!/usr/bin/perl -Tw
-
-use strict;
-use Fcntl qw(:flock);
-use Date::Parse;
-use Getopt::Std;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch qsearchs);
-use FS::cust_main;
-
-&untaint_argv; #what it sounds like  (eww)
-use vars qw($opt_a $opt_c $opt_d $opt_p);
-getopts("acd:p");
-my $user = shift or die &usage;
-
-adminsuidsetup $user;
-
-my %bill_only = map { $_ => 1 } (
-  @ARGV ? @ARGV : ( map $_->custnum, qsearch('cust_main', {} ) )
-);
-
-#we're at now now (and later).
-my($time)= $opt_d ? str2time($opt_d) : $^T;
-
-# find packages w/ bill < time && cancel != '', and create corresponding
-# customer objects
-
-my($cust_main,%saw);
-foreach $cust_main (
-  map {
-    unless ( exists $saw{ $_->custnum } && defined $saw{ $_->custnum} ) {
-      $saw{ $_->custnum } = 0; # to avoid 'use of uninitialized value' errors
-    }
-    if (
-      ( $opt_a || ( ( $_->getfield('bill') || 0 ) <= $time ) )
-      && $bill_only{ $_->custnum }
-      && !$saw{ $_->custnum }++
-    ) {
-      qsearchs('cust_main',{'custnum'=> $_->custnum } );
-    } else {
-      ();
-    }
-  } ( qsearch('cust_pkg', { 'cancel' => '' }),
-      qsearch('cust_pkg', { 'cancel' => 0  }),
-    )
-) {
-
-  # and bill them
-
-  print "Billing customer #" . $cust_main->getfield('custnum') . "\n";
-
-  my($error);
-
-  $error=$cust_main->bill('time'=>$time);
-  warn "Error billing,  customer #" . $cust_main->getfield('custnum') . 
-    ":" . $error if $error;
-
-  if ($opt_p) {
-    $cust_main->apply_payments;
-    $cust_main->apply_credits;
-  }
-
-  if ($opt_c) {
-    $error=$cust_main->collect( 'invoice_time' => $time);
-    warn "Error collecting from customer #" . $cust_main->custnum.  ":$error"
-      if $error;
-
-    #sleep 1;
-  }
-
-}
-
-# subroutines
-
-sub untaint_argv {
-  foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
-    #$ARGV[$_] =~ /^([\w\-\/]*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    # Date::Parse
-    $ARGV[$_] =~ /^(.*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    $ARGV[$_]=$1;
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-bill [ -c [ -p ] ] [ -d 'date' ] user [ custnum custnum ... ]\n";
-}
-
-=head1 NAME
-
-freeside-bill - Command line (crontab, script) interface to customer billing.
-
-=head1 SYNOPSIS
-
-  freeside-bill [ -c [ -p ] [ -a ] ] [ -d 'date' ] user [ custnum custnum ... ]
-
-=head1 DESCRIPTION
-
-This script is deprecated in 1.4.0.  You should use freeside-daily instead.
-
-Bills customers.  Searches for customers who are due for billing and calls
-the bill and collect methods of a cust_main object.  See L<FS::cust_main>.
-
-  -c: Turn on collecting (you probably want this).
-
-  -p: Apply unapplied payments and credits before collecting (you probably want
-      this too)
-
-  -a: Call collect even if there isn't a new invoice (probably a bad idea for
-      daily use)
-
-  -d: Pretend it's 'date'.  Date is in any format Date::Parse is happy with,
-      but be careful.
-
-user: From the mapsecrets file - see config.html from the base documentation
-
-custnum: if one or more customer numbers are specified, only bills those
-customers.  Otherwise, bills all customers.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<freeside-daily>, L<FS::cust_main>, config.html from the base documentation
-
-=cut
-
diff --git a/FS/bin/freeside-count-active-customers b/FS/bin/freeside-count-active-customers
deleted file mode 100755 (executable)
index 759085a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-domain=$1
-
-echo "\t
-select count(*) from cust_main where 
-          0 < ( SELECT COUNT(*) FROM cust_pkg
-                       WHERE cust_pkg.custnum = cust_main.custnum
-                         AND ( cust_pkg.cancel IS NULL
-                               OR cust_pkg.cancel = 0
-                             )
-                   )
-            OR 0 = ( SELECT COUNT(*) FROM cust_pkg
-                       WHERE cust_pkg.custnum = cust_main.custnum
-                   );
-" | psql -U freeside -q $domain | head -1
-
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily
deleted file mode 100755 (executable)
index 603da12..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use Fcntl qw(:flock);
-use Date::Parse;
-use Getopt::Std;
-use FS::UID qw(adminsuidsetup driver_name dbh datasrc);
-use FS::Record qw(qsearch qsearchs dbdef);
-use FS::Conf;
-use FS::cust_main;
-
-&untaint_argv; #what it sounds like  (eww)
-use vars qw($opt_d $opt_v $opt_p $opt_a $opt_s $opt_y);
-getopts("p:a:d:vsy:");
-my $user = shift or die &usage;
-
-adminsuidsetup $user;
-
-$FS::cust_main::DEBUG = 1 if $opt_v;
-
-my %search = ();
-$search{'payby'}    = $opt_p if $opt_p;
-$search{'agentnum'} = $opt_a if $opt_a;
-
-#we're at now now (and later).
-my($time)= $opt_d ? str2time($opt_d) : $^T;
-$time += $opt_y * 86400 if $opt_y;
-
-# select * from cust_main where
-my $where_pkg = <<"END";
-  0 < ( select count(*) from cust_pkg
-          where cust_main.custnum = cust_pkg.custnum
-            and ( cancel is null or cancel = 0 )
-            and (    setup is null or setup =  0
-                  or bill  is null or bill  <= $time 
-                  or ( expire is not null and expire <= $^T )
-                )
-      )
-END
-
-# or
-my $where_bill_event = <<"END";
-  0 < ( select count(*) from cust_bill
-          where cust_main.custnum = cust_bill.custnum
-            and 0 < charged
-                    - coalesce(
-                                ( select sum(amount) from cust_bill_pay
-                                    where cust_bill.invnum = cust_bill_pay.invnum )
-                                ,0
-                              )
-                    - coalesce(
-                                ( select sum(amount) from cust_credit_bill
-                                    where cust_bill.invnum = cust_credit_bill.invnum )
-                                ,0
-                              )
-            and 0 < ( select count(*) from part_bill_event
-                        where payby = cust_main.payby
-                          and ( disabled is null or disabled = '' )
-                          and seconds <= $time - cust_bill._date
-                          and 0 = ( select count(*) from cust_bill_event
-                                     where cust_bill.invnum = cust_bill_event.invnum
-                                       and part_bill_event.eventpart = cust_bill_event.eventpart
-                                       and status = 'done'
-                                  )
-
-                    )
-      )
-END
-
-my $extra_sql = ( scalar(%search) ? ' AND ' : ' WHERE ' ). "( $where_pkg OR $where_bill_event )";
-
-my @cust_main;
-if ( @ARGV ) {
-  @cust_main = map { qsearchs('cust_main', { custnum => $_, %search } ) } @ARGV
-} else {
-  @cust_main = qsearch('cust_main', \%search, '', $extra_sql );
-}
-;
-
-my($cust_main,%saw);
-foreach $cust_main ( @cust_main ) {
-
-  # $^T not $time because -d is for pre-printing invoices
-  foreach my $cust_pkg (
-    grep { $_->expire && $_->expire <= $^T } $cust_main->ncancelled_pkgs
-  ) {
-    my $error = $cust_pkg->cancel;
-    warn "Error cancelling expired pkg ". $cust_pkg->pkgnum. " for custnum ".
-         $cust_main->custnum. ": $error"
-      if $error;
-  }
-  # $^T not $time because -d is for pre-printing invoices
-  foreach my $cust_pkg (
-    grep { $_->part_pkg->is_prepaid
-           && $_->bill && $_->bill < $^T && ! $_->susp
-         }
-         $cust_main->ncancelled_pkgs
-  ) {
-    my $error = $cust_pkg->suspend;
-    warn "Error suspending package ". $cust_pkg->pkgnum.
-         " for custnum ". $cust_main->custnum.
-         ": $error"
-      if $error;
-  }
-
-  my $error = $cust_main->bill( 'time'    => $time,
-                                'resetup' => $opt_s, );
-  warn "Error billing, custnum ". $cust_main->custnum. ": $error" if $error;
-
-  $cust_main->apply_payments;
-  $cust_main->apply_credits;
-
-  $error = $cust_main->collect( 'invoice_time' => $time );
-  warn "Error collecting, custnum". $cust_main->custnum. ": $error" if $error;
-
-}
-
-if ( driver_name eq 'Pg' ) {
-  dbh->{AutoCommit} = 1; #so we can vacuum
-  foreach my $table ( dbdef->tables ) {
-    my $sth = dbh->prepare("VACUUM ANALYZE $table") or die dbh->errstr;
-    $sth->execute or die $sth->errstr;
-  }
-}
-
-my $conf = new FS::Conf;
-my $dest = $conf->config('dump-scpdest');
-if ( $dest ) {
-  datasrc =~ /dbname=([\w\.]+)$/ or die "unparsable datasrc ". datasrc;
-  my $database = $1;
-  eval "use Net::SCP qw(scp);";
-  if ( driver_name eq 'Pg' ) {
-    system("pg_dump $database >/var/tmp/$database.sql")
-  } else {
-    die "database dumps not yet supported for ". driver_name;
-  }
-  if ( $conf->config('dump-pgpid') ) {
-    eval 'use GnuPG';
-    my $gpg = new GnuPG;
-    $gpg->encrypt( plaintext => "/var/tmp/$database.sql",
-                   output    => "/var/tmp/$database.gpg",
-                   recipient => $conf->config('dump-pgpid'),
-                 );
-    chmod 0600, '/var/tmp/$database.gpg';
-    scp("/var/tmp/$database.gpg", $dest);
-    unlink "/var/tmp/$database.gpg" or die $!;
-  } else {
-    chmod 0600, '/var/tmp/$database.sql';
-    scp("/var/tmp/$database.sql", $dest);
-  }
-  unlink "/var/tmp/$database.sql" or die $!;
-}
-
-# subroutines
-
-sub untaint_argv {
-  foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
-    #$ARGV[$_] =~ /^([\w\-\/]*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    # Date::Parse
-    $ARGV[$_] =~ /^(.*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    $ARGV[$_]=$1;
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-daily [ -d 'date' ] user [ custnum custnum ... ]\n";
-}
-
-=head1 NAME
-
-freeside-daily - Run daily billing and invoice collection events.
-
-=head1 SYNOPSIS
-
-  freeside-daily [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] user [ custnum custnum ... ]
-
-=head1 DESCRIPTION
-
-Bills customers and runs invoice collection events.  Should be run from
-crontab daily.
-
-This script replaces freeside-bill from 1.3.1.
-
-Bills customers.  Searches for customers who are due for billing and calls
-the bill and collect methods of a cust_main object.  See L<FS::cust_main>.
-
-  -d: Pretend it's 'date'.  Date is in any format Date::Parse is happy with,
-      but be careful.
-
-  -y: In addition to -d, which specifies an absolute date, the -y switch
-      specifies an offset, in days.  For example, "-y 15" would increment the
-      "pretend date" 15 days from whatever was specified by the -d switch
-      (or now, if no -d switch was given).
-
-  -p: Only process customers with the specified payby (I<CARD>, I<DCRD>, I<CHEK>, I<DCHK>, I<BILL>, I<COMP>, I<LECB>)
-
-  -a: Only process customers with the specified agentnum
-
-  -s: re-charge setup fees
-
-  -v: enable debugging
-
-user: From the mapsecrets file - see config.html from the base documentation
-
-custnum: if one or more customer numbers are specified, only bills those
-customers.  Otherwise, bills all customers.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<FS::cust_main>, config.html from the base documentation
-
-=cut
-
diff --git a/FS/bin/freeside-deloutsource b/FS/bin/freeside-deloutsource
deleted file mode 100644 (file)
index 5618535..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-domain=$1
-
-dropdb $domain && \
-rm -rf /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \
-rm -rf /usr/local/etc/freeside/counters.DBI:Pg:host=localhost\;dbname=$domain && \
-rm -rf /usr/local/etc/freeside/cache.DBI:Pg:host=localhost\;dbname=$domain && \
-rm -rf /usr/local/etc/freeside/export.DBI:Pg:host=localhost\;dbname=$domain && \
-rm /usr/local/etc/freeside/dbdef.DBI:Pg:host=localhost\;dbname=$domain
-
diff --git a/FS/bin/freeside-deloutsourceuser b/FS/bin/freeside-deloutsourceuser
deleted file mode 100644 (file)
index 96871e5..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-username=$1
-
-freeside-deluser -h /usr/local/etc/freeside/htpasswd $username 2>/dev/null
-
diff --git a/FS/bin/freeside-deluser b/FS/bin/freeside-deluser
deleted file mode 100644 (file)
index 57d6ce1..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw($opt_h);
-use Fcntl qw(:flock);
-use Getopt::Std;
-
-my $FREESIDE_CONF = "/usr/local/etc/freeside";
-
-getopts("h:");
-my $user = shift or die &usage;
-
-if ( $opt_h ) {
-  open(HTPASSWD,"<$opt_h")
-    and flock(HTPASSWD,LOCK_EX)
-      or die "can't open $opt_h: $!";
-  open(HTPASSWD_TMP,">$opt_h.tmp") or die "can't open $opt_h.tmp: $!";
-  while (<HTPASSWD>) {
-    print HTPASSWD_TMP $_ unless /^$user:/;
-  }
-  close HTPASSWD_TMP;
-  rename "$opt_h.tmp", "$opt_h" or die $!;
-  flock(HTPASSWD,LOCK_UN);
-  close HTPASSWD;
-}
-
-open(MAPSECRETS,"<$FREESIDE_CONF/mapsecrets")
-  and flock(MAPSECRETS,LOCK_EX)
-    or die "can't open $FREESIDE_CONF/mapsecrets: $!";
-open(MAPSECRETS_TMP,">>$FREESIDE_CONF/mapsecrets.tmp")
-  or die "can't open $FREESIDE_CONF/mapsecrets.tmp: $!";
-while (<MAPSECRETS>) {
-  print MAPSECRETS_TMP $_ unless /^$user\s/;
-}
-close MAPSECRETS_TMP;
-rename "$FREESIDE_CONF/mapsecrets.tmp", "$FREESIDE_CONF/mapsecrets" or die $!;
-flock(MAPSECRETS,LOCK_UN);
-close MAPSECRETS;
-
-sub usage {
-  die "Usage:\n\n  freeside-deluser [ -h htpasswd_file ] username"
-}
-
-=head1 NAME
-
-freeside-deluser - Command line interface to add (freeside) users.
-
-=head1 SYNOPSIS
-
-  freeside-deluser [ -h htpasswd_file ] username
-
-=head1 DESCRIPTION
-
-Adds a user to the Freeside billing system.  This is for adding users (internal
-sales/tech folks) to the web interface, not for adding customer accounts.
-
-  -h: Also delete from the given htpasswd filename
-
-=head1 SEE ALSO
-
-L<freeside-adduser>, L<htpasswd>(1), base Freeside documentation
-
-=cut
-
diff --git a/FS/bin/freeside-email b/FS/bin/freeside-email
deleted file mode 100755 (executable)
index 400dc2a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Conf;
-use FS::Record qw(qsearch);
-use FS::svc_acct;
-
-&untaint_argv; #what it sounds like  (eww)
-my $user = shift or die &usage;
-
-adminsuidsetup $user;
-
-my $conf = new FS::Conf;
-
-my @svc_acct = qsearch('svc_acct', {});
-my @emails = map $_->email, @svc_acct;
-
-print join("\n", @emails), "\n";
-
-# subroutines
-
-sub untaint_argv {
-  foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
-    #$ARGV[$_] =~ /^([\w\-\/]*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    # Date::Parse
-    $ARGV[$_] =~ /^(.*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    $ARGV[$_]=$1;
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-email user\n";
-}
-
-=head1 NAME
-
-freeside-email - Prints email addresses of all users on STDOUT
-
-=head1 SYNOPSIS
-
-  freeside-email user
-
-=head1 DESCRIPTION
-
-Prints the email addresses of all customers on STDOUT, separated by newlines.
-
-user: From the mapsecrets file - see config.html from the base documentation
-
-=head1 VERSION
-
-$Id: freeside-email,v 1.2 2002-09-18 22:50:44 ivan Exp $
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-=cut
-
diff --git a/FS/bin/freeside-expiration-alerter b/FS/bin/freeside-expiration-alerter
deleted file mode 100755 (executable)
index 691fd3a..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use Date::Format;
-use Time::Local;
-use Text::Template;
-use Getopt::Std;
-use Net::SMTP;
-use Mail::Header;
-use Mail::Internet;
-use FS::Conf;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch);
-use FS::cust_main;
-
-use vars qw($smtpmachine @body);
-
-#hush, perl!
-$FS::alerter::_template::first = "";
-$FS::alerter::_template::last = "";
-$FS::alerter::_template::company = "";
-$FS::alerter::_template::payby = "";
-$FS::alerter::_template::expdate = "";
-
-# Set the mail program  and other variables
-my $mail_sender = "billing\@mydomain.tld";  # or invoice_from if available
-my $failure_recipient = "postmaster";       # or invoice_from if available
-my $warning_time = 30 * 24 * 60 * 60;
-my $urgent_time = 15 * 24 * 60 * 60;
-my $panic_time = 5 * 24 * 60 * 60;
-my $window_time = 24 * 60 * 60;
-
-&untaint_argv; #what it sounds like  (eww)
-
-#we're at now now (and later).
-my($_date)= $^T;
-
-# Get the current month
-my ($sec,$min,$hour,$mday,$mon,$year) =
-       (localtime($_date) )[0,1,2,3,4,5]; 
-$mon++;
-
-# Login to the database
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-# Get the needed configuration files
-my $conf = new FS::Conf;
-$smtpmachine = $conf->config('smtpmachine');
-$mail_sender = $conf->config('invoice_from')
-  if $conf->exists('invoice_from');
-$failure_recipient = $conf->config('invoice_from')
-  if $conf->exists('invoice_from');
-
-
-my(@customers)=qsearch('cust_main',{});
-if (scalar(@customers) == 0)
-{
-  exit 1;
-}
-
-# Prepare for sending email
-
-$ENV{MAILADDRESS} = $mail_sender;
-my $header = new Mail::Header ( [
-  "From: Account Processor",
-  "To: $failure_recipient",
-  "Sender: $mail_sender",
-  "Reply-To: $mail_sender",
-  "Subject: Unnotified Billing Arrangement Expirations",
-] );
-
-my @alerter_template = $conf->config('alerter_template')
-  or die "cannot load config file alerter_template";
-
-my $alerter = new Text::Template (TYPE => 'ARRAY', SOURCE => [ map "$_\n", @alerter_template ])
-  or die "can't create new Text::Template object:  Text::Template::ERROR";
-$alerter->compile() or die "can't compile template:  Text::Template::ERROR";
-
-# Now I can start looping
-foreach my $customer (@customers)
-{
-  my $paydate = $customer->getfield('paydate');
-  next if $paydate =~ /^\s*$/; #skip empty expiration dates
-
-  my $custnum = $customer->getfield('custnum');
-  my $first = $customer->getfield('first');
-  my $last = $customer->getfield('last');
-  my $company = $customer->getfield('company');
-  my $payby = $customer->getfield('payby');
-  my $payinfo = $customer->getfield('payinfo');
-  my $daytime = $customer->getfield('daytime');
-  my $night = $customer->getfield('night');
-
-  my ($payyear,$paymonth,$payday) = split (/-/,$paydate);
-
-  my $expire_time = timelocal(0,0,0,$payday,--$paymonth,$payyear);
-
-  #credit cards expire at the end of the month/year of their exp date
-  if ($payby eq 'CARD' || $payby eq 'DCRD') {
-    ($paymonth < 11) ? $paymonth++ : ($paymonth=0, $payyear++);
-    $expire_time = timelocal(0,0,0,$payday,$paymonth,$payyear);
-    $expire_time--;
-  }
-
-  if (($expire_time < $_date + $warning_time &&
-    $expire_time > $_date + $warning_time - $window_time) ||
-      ($expire_time < $_date + $urgent_time &&
-       $expire_time > $_date + $urgent_time - $window_time) ||
-      ($expire_time < $_date + $panic_time &&
-       $expire_time > $_date + $panic_time - $window_time)) {
-
-
-
-    my @packages = $customer->ncancelled_pkgs;
-    if (scalar(@packages) != 0) {
-      my @invoicing_list = $customer->invoicing_list;
-      if ( grep { $_ ne 'POST' } @invoicing_list ) { 
-        my $header = new Mail::Header ( [
-          "From: $mail_sender",
-          "To: ". join(', ', grep { $_ ne 'POST' } @invoicing_list ),
-          "Sender: $mail_sender",
-          "Reply-To: $mail_sender",
-          "Date: ". time2str("%a, %d %b %Y %X %z", time),
-          "Subject: Billing Arrangement Expiration",
-        ] );
-        $FS::alerter::_template::first = $first;
-        $FS::alerter::_template::last = $last;
-        $FS::alerter::_template::company = $company;
-        if ($payby eq 'CARD' || $payby eq 'DCRD') {
-          $FS::alerter::_template::payby = "credit card (" .
-            substr($payinfo, 0, 2) . "xxxxxxxxxx" .
-            substr($payinfo, -4) . ")";
-        }elsif ($payby eq 'COMP') {
-          $FS::alerter::_template::payby = "complimentary account";
-        }else{
-          $FS::alerter::_template::payby = "current method";
-        }
-        $FS::alerter::_template::expdate = $expire_time;
-
-        my $message = new Mail::Internet (
-          'Header' => $header,
-          'Body' => [ $alerter->fill_in( PACKAGE => 'FS::alerter::_template' ) ],
-        );
-        $!=0;
-        $message->smtpsend( Host => $smtpmachine )
-          or $message->smtpsend( Host => $smtpmachine, Debug => 1 )
-            or die "Can't send expiration email: $!";
-
-      } elsif ( ! @invoicing_list || grep { $_ eq 'POST' } @invoicing_list ) { 
-        push @body, sprintf(qq{%5d %-32.32s %4s %10s %12s %12s},
-          $custnum,
-          $first . " " . $last . "   " . $company,
-          $payby,
-          $paydate,
-          $daytime,
-          $night);
-      }
-    }
-  }
-}
-
-# Now I need to send EMAIL
-if (scalar(@body)) {
-  my $message = new Mail::Internet (
-    'Header' => $header,
-    'Body' => [ (@body) ],
-  );
-  $!=0;
-  $message->smtpsend( Host => $smtpmachine )
-    or $message->smtpsend( Host => $smtpmachine, Debug => 1 )
-      or die "can't send alerter failure email to $failure_recipient".
-             " via server $smtpmachine with SMTP: $!";
-}
-
-# subroutines
-sub untaint_argv {
-  foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
-    $ARGV[$_] =~ /^([\w\-\/]*)$/ || die "Illegal argument \"$ARGV[$_]\"";
-    $ARGV[$_]=$1;
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-expiration-alerter user\n";
-}
-
-=head1 NAME
-
-freeside-expiration-alerter - Emails notifications of credit card expirations.
-
-=head1 SYNOPSIS
-
-  freeside-expiration-alerter user
-
-=head1 DESCRIPTION
-
-Emails customers notice that their credit card or other billing arrangement
-is about to expire.  Usually run as a cron job.
-
-user: From the mapsecrets file - see config.html from the base documentation
-
-=head1 VERSION
-
-$Id: freeside-expiration-alerter,v 1.5 2003-04-21 20:53:57 ivan Exp $
-
-=head1 BUGS
-
-Yes..... Use at your own risk. No guarantees or warrantees of any
-kind apply to this program. Parts of this program are hacked from
-other GNU licensed software created mainly by Ivan Kohler.
-
-This is released under the GNU Public License. See www.gnu.org
-for more information regarding this license.
-
-=head1 SEE ALSO
-
-L<FS::cust_main>, config.html from the base documentation
-
-=head1 AUTHOR
-
-Jeff Finucane <jeff@cmh.net>
-
-=cut
-
-
diff --git a/FS/bin/freeside-prepaidd b/FS/bin/freeside-prepaidd
deleted file mode 100644 (file)
index e51a563..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use FS::Daemon qw(daemonize1 drop_root logfile daemonize2 sigint sigterm);
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch); # qsearchs);
-use FS::cust_pkg;
-
-my $user = shift or die &usage;
-
-#daemonize1('freeside-sprepaidd', $user); #keep unique pid files w/multi installs
-daemonize1('freeside-prepaidd');
-
-drop_root();
-
-adminsuidsetup($user);
-
-logfile( "/usr/local/etc/freeside/prepaidd-log.". $FS::UID::datasrc );
-
-daemonize2();
-
-#--
-
-while (1) {
-
-  foreach my $cust_pkg ( 
-    qsearch( {
-      'select'    => 'cust_pkg.*, part_pkg.plan',
-      'table'     => 'cust_pkg',
-      'addl_from' => 'LEFT JOIN part_pkg USING ( pkgpart )',
-      #'hashref'   => { 'plan' => 'prepaid' },#should check part_pkg::is_prepaid
-      #'extra_sql' => "AND bill < ". time.
-      'hashref'   => {},
-      'extra_sql' => "WHERE plan = 'prepaid' AND bill < ". time.
-                     " AND bill IS NOT NULL".
-                     " AND ( susp   IS NULL OR susp   = 0)".
-                     " AND ( cancel IS NULL OR cancel = 0)"
-    } )
-  ) {
-    my $error = $cust_pkg->suspend;
-    warn "Error suspended package ". $cust_pkg->pkgnum.
-         " for custnum ". $cust_pkg->custnum.
-         ": $error\n"
-      if $error;
-  }
-
-  die "exiting" if sigterm() || sigint();
-  sleep 5;
-
-}
-
-#--
-
-sub usage { 
-  die "Usage:\n\n  freeside-prepaidd user\n";
-}
-
-=head1 NAME
-
-freeside-prepaidd - Real-time daemon for prepaid packages
-
-=head1 SYNOPSIS
-
-  freeside-prepaidd
-
-=head1 DESCRIPTION
-
-Runs continuously and suspendes any prepaid customer packages which have
-passed their renewal date (next bill date).
-
-=head1 SEE ALSO
-
-=cut
-
-1;
diff --git a/FS/bin/freeside-queued b/FS/bin/freeside-queued
deleted file mode 100644 (file)
index 3a0a9b4..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw( $DEBUG $kids $max_kids %kids );
-use POSIX qw(:sys_wait_h);
-use IO::File;
-use FS::UID qw(adminsuidsetup forksuidsetup driver_name dbh myconnect);
-use FS::Daemon qw(daemonize1 drop_root logfile daemonize2 sigint sigterm);
-use FS::Record qw(qsearch qsearchs);
-use FS::queue;
-use FS::queue_depend;
-
-# no autoloading just yet
-use FS::cust_main;
-use FS::svc_acct;
-use Net::SSH 0.07;
-use FS::part_export;
-
-$DEBUG = 0;
-
-$max_kids = '10'; #guess it should be a config file...
-$kids = 0;
-
-my $user = shift or die &usage;
-
-warn "starting daemonization (forking)\n" if $DEBUG;
-#daemonize1('freeside-queued',$user); #to keep pid files unique w/multi installs
-daemonize1('freeside-queued');
-
-warn "dropping privledges\n" if $DEBUG;
-drop_root();
-
-
-$ENV{HOME} = (getpwuid($>))[7]; #for ssh
-
-warn "connecting to database\n" if $DEBUG;
-$@ = 'not connected';
-while ( $@ ) {
-  eval { adminsuidsetup $user; };
-  if ( $@ ) {
-    warn $@;
-    warn "sleeping for reconnect...\n";
-    sleep 5;
-  }
-}
-
-logfile( "/usr/local/etc/freeside/queuelog.". $FS::UID::datasrc );
-
-warn "completing daemonization (detaching))\n" if $DEBUG;
-daemonize2();
-
-#--
-
-my $warnkids=0;
-while (1) {
-
-  &reap_kids;
-  #prevent runaway forking
-  if ( $kids >= $max_kids ) {
-    warn "WARNING: maximum $kids children reached\n" unless $warnkids++;
-    &reap_kids;
-    sleep 1; #waiting for signals is cheap
-    next;
-  }
-  $warnkids=0;
-
-  unless ( dbh && dbh->ping ) {
-    warn "WARNING: connection to database lost, reconnecting...\n";
-
-    eval { $FS::UID::dbh = myconnect; };
-
-    unless ( !$@ && dbh && dbh->ping ) {
-      warn "WARNING: still no connection to database, sleeping for retry...\n";
-      sleep 10;
-      next;
-    } else {
-      warn "WARNING: reconnected to database\n";
-    }
-  }
-
-  #my($job, $ljob);
-  #{
-  #  my $oldAutoCommit = $FS::UID::AutoCommit;
-  #  local $FS::UID::AutoCommit = 0;
-  $FS::UID::AutoCommit = 0;
-
-  #assuming mysql 4.1 w/subqueries now
-  #my $nodepend = driver_name eq 'mysql'
-  # ? ''
-  # : 'AND 0 = ( SELECT COUNT(*) FROM queue_depend'.
-  #   ' WHERE queue_depend.jobnum = queue.jobnum ) ';
-  my $nodepend = 'AND 0 = ( SELECT COUNT(*) FROM queue_depend'.
-                 '           WHERE queue_depend.jobnum = queue.jobnum ) ';
-
-  my $job = qsearchs(
-    'queue',
-    { 'status' => 'new' },
-    '',
-    driver_name eq 'mysql'
-      ? "$nodepend ORDER BY jobnum LIMIT 1 FOR UPDATE"
-      : "$nodepend ORDER BY jobnum FOR UPDATE LIMIT 1"
-  ) or do {
-    # if $oldAutoCommit {
-    dbh->commit or do {
-      warn "WARNING: database error, closing connection: ". dbh->errstr;
-      undef $FS::UID::dbh;
-      next;
-    };
-    # }
-    sleep 5; #connecting to db is expensive
-    next;
-  };
-
-  #assuming mysql 4.1 w/subqueries now
-  #if ( driver_name eq 'mysql'
-  #     && qsearch('queue_depend', { 'jobnum' => $job->jobnum } ) ) {
-  #  dbh->commit or die dbh->errstr; #if $oldAutoCommit;
-  #  sleep 5; #would be better if mysql could do everything in query above
-  #  next;
-  #}
-
-  my %hash = $job->hash;
-  $hash{'status'} = 'locked';
-  my $ljob = new FS::queue ( \%hash );
-  my $error = $ljob->replace($job);
-  if ( $error ) {
-    warn "WARNING: database error locking job, closing connection: ".
-         dbh->errstr;
-    undef $FS::UID::dbh;
-    next;
-  }
-
-  # if $oldAutoCommit {
-  dbh->commit or do {
-    warn "WARNING: database error, closing connection: ". dbh->errstr;
-    undef $FS::UID::dbh;
-    next;
-  };
-  # }
-
-  $FS::UID::AutoCommit = 1;
-  #} 
-
-  my @args = $ljob->args;
-  splice @args, 0, 1, $ljob if $args[0] eq '_JOB';
-
-  defined( my $pid = fork ) or do {
-    warn "WARNING: can't fork: $!\n";
-    my %hash = $job->hash;
-    $hash{'status'} = 'failed';
-    $hash{'statustext'} = "[freeside-queued] can't fork: $!";
-    my $ljob = new FS::queue ( \%hash );
-    my $error = $ljob->replace($job);
-    die $error if $error;
-    next; #don't increment the kid counter
-  };
-
-  if ( $pid ) {
-    $kids++;
-    $kids{$pid} = 1;
-  } else { #kid time
-
-    #get new db handle
-    $FS::UID::dbh->{InactiveDestroy} = 1;
-
-    forksuidsetup($user);
-
-    #auto-use classes...
-    #if ( $ljob->job =~ /(FS::part_export::\w+)::/ ) {
-    if (    $ljob->job =~ /(FS::part_export::\w+)::/
-         || $ljob->job =~ /(FS::\w+)::/
-       )
-    {
-      my $class = $1;
-      eval "use $class;";
-      if ( $@ ) {
-        warn "job use $class failed";
-        my %hash = $ljob->hash;
-        $hash{'status'} = 'failed';
-        $hash{'statustext'} = $@;
-        my $fjob = new FS::queue( \%hash );
-        my $error = $fjob->replace($ljob);
-        die $error if $error;
-        exit; #end-of-kid
-      };
-    }
-
-    my $eval = "&". $ljob->job. '(@args);';
-    warn 'running "&'. $ljob->job. '('. join(', ', @args). ")\n" if $DEBUG;
-    eval $eval; #throw away return value?  suppose so
-    if ( $@ ) {
-      warn "job $eval failed";
-      my %hash = $ljob->hash;
-      $hash{'status'} = 'failed';
-      $hash{'statustext'} = $@;
-      my $fjob = new FS::queue( \%hash );
-      my $error = $fjob->replace($ljob);
-      die $error if $error;
-    } else {
-      $ljob->delete;
-    }
-
-    exit;
-    #end-of-kid
-  }
-
-} continue {
-  if ( sigterm() ) {
-    warn "received TERM signal; exiting\n";
-    exit;
-  }
-  if ( sigint() ) {
-    warn "received INT signal; exiting\n";
-    exit;
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-queued user\n";
-}
-
-sub reap_kids {
-  foreach my $pid ( keys %kids ) {
-    my $kid = waitpid($pid, WNOHANG);
-    if ( $kid > 0 ) {
-      $kids--;
-      delete $kids{$kid};
-    }
-  }
-}
-
-=head1 NAME
-
-freeside-queued - Job queue daemon
-
-=head1 SYNOPSIS
-
-  freeside-queued user
-
-=head1 DESCRIPTION
-
-Job queue daemon.  Should be running at all times.
-
-user: from the mapsecrets file - see config.html from the base documentation
-
-=head1 VERSION
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-=cut
-
diff --git a/FS/bin/freeside-radgroup b/FS/bin/freeside-radgroup
deleted file mode 100644 (file)
index ed85626..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch);
-use FS::cust_svc;
-use FS::svc_acct;
-
-&untaint_argv;  #what it sounds like  (eww)
-
-my($user, $action, $groupname, $svcpart) = @ARGV;
-
-adminsuidsetup $user;
-
-my @svc_acct = map { $_->svc_x } qsearch('cust_svc', { svcpart => $svcpart } );
-
-if ( lc($action) eq 'add' ) {
-  foreach my $svc_acct ( @svc_acct ) {
-    my @groups = $svc_acct->radius_groups;
-    next if grep { $_ eq $groupname } @groups;
-    push @groups, $groupname;
-    my %hash = $svc_acct->hash;
-    $hash{usergroup} = \@groups;
-    my $new = new FS::svc_acct \%hash;
-    my $error = $new->replace($svc_acct);
-    die $error if $error;
-  }
-} else {
-  die &usage;
-}
-
-# subroutines
-
-sub untaint_argv {
-  foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
-    $ARGV[$_] =~ /^(.*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    $ARGV[$_]=$1;
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-radgroup user action groupname svcpart\n";
-}
-
-=head1 NAME
-
-freeside-radgroup - Command line utility to manipulate radius groups
-
-=head1 SYNOPSIS
-
-  freeside-addgroup user action groupname svcpart 
-
-=head1 DESCRIPTION
-
-  B<user> is a freeside user as added with freeside-adduser.
-
-  B<command> is the action to take.  Available actions are: I<add>
-
-  B<groupname> is the group to add (or remove, etc.)
-
-  B<svcpart> specifies which accounts will be updated.
-
-=head1 EXAMPLES
-
-freeside-radgroup freesideuser add groupname 3
-
-Adds I<groupname> to all accounts with service definition 3.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<freeside-adduser>, L<FS::svc_acct>, L<FS::part_svc>
-
-=cut
-
diff --git a/FS/bin/freeside-reexport b/FS/bin/freeside-reexport
deleted file mode 100644 (file)
index 54af9dd..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw($opt_s $opt_u $opt_p);
-use Getopt::Std;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch qsearchs);
-use FS::part_export;
-use FS::svc_acct;
-use FS::cust_svc;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-my $export_x = shift or die &usage;
-my @part_export;
-if ( $export_x =~ /^(\d+)$/ ) {
-  @part_export = qsearchs('part_export', { exportnum=>$1 } )
-    or die "exportnum $export_x not found\n";
-} else {
-  @part_export = qsearch('part_export', { exporttype=>$export_x } )
-    or die "no exports of type $export_x found\n";
-}
-
-getopts('s:u:p:');
-
-my @svc_x = ();
-if ( $opt_s ) {
-  my $cust_svc = qsearchs('cust_svc', { svcnum=>$opt_s } )
-    or die "svcnum $opt_s not found\n";
-  push @svc_x, $cust_svc->svc_x;
-} elsif ( $opt_u ) {
-  my $svc_x = qsearchs('svc_acct', { username=>$opt_u } )
-    or die "username $opt_u not found\n";
-  push @svc_x, $svc_x;
-} elsif ( $opt_p ) {
-  push @svc_x, map { $_->svc_x } qsearch('cust_svc', { svcpart=>$opt_p } );
-  die "no services with svcpart $opt_p found\n" unless @svc_x;
-}
-
-foreach my $part_export ( @part_export ) {
-  foreach my $svc_x ( @svc_x ) {
-    my $error = $part_export->export_insert($svc_x);
-    die $error if $error;
-  }
-}
-
-
-sub usage {
-  die "Usage:\n\n  freeside-reexport user exportnum|exporttype [ -s svcnum | -u username | -p svcpart ]\n";
-}
-
-=head1 NAME
-
-freeside-reexport - Command line tool to re-trigger export jobs for existing services
-
-=head1 SYNOPSIS
-
-  freeside-reexport user exportnum|exporttype [ -s svcnum | -u username | -p svcpart ]
-
-=head1 DESCRIPTION
-
-  Re-queues the export job for the specified exportnum or exporttype(s) and
-  specified service (selected by svcnum or username).
-
-=head1 SEE ALSO
-
-L<freeside-sqlradius-reset>, L<FS::part_export>
-
-=cut
-
diff --git a/FS/bin/freeside-selfservice-server b/FS/bin/freeside-selfservice-server
deleted file mode 100644 (file)
index c73349a..0000000
+++ /dev/null
@@ -1,222 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw( $Debug %kids $kids $max_kids $ssh_pid $keepalives );
-use subs qw( lock_write unlock_write myshutdown usage );
-use Fcntl qw(:flock);
-use POSIX qw(:sys_wait_h);
-use IO::Handle;
-use IO::Select;
-use IO::File;
-use Storable 2.09 qw(nstore_fd fd_retrieve);
-use Net::SSH qw(sshopen2);
-use FS::Daemon qw(daemonize1 drop_root logfile daemonize2 sigint sigterm);
-use FS::UID qw(adminsuidsetup forksuidsetup);
-use FS::ClientAPI;
-
-use FS::Conf;
-use FS::cust_bill;
-use FS::cust_pkg;
-
-$Debug = 1; # 2 will turn on more logging
-            # 3 will log packet contents, including passwords
-
-$max_kids = '10'; #?
-$keepalives = 0; #let clientd turn it on, so we don't barf on old ones
-$kids = 0;
-
-my $user = shift or die &usage;
-my $machine = shift or die &usage;
-my $tag = scalar(@ARGV) ? shift : '';
-
-my $lock_file = "/usr/local/etc/freeside/selfservice.$machine.writelock";
-
-
-# to keep pid files unique w/multi machines (and installs!)
-# $FS::UID::datasrc not posible
-daemonize1("freeside-selfservice-server","$user.$machine");
-
-#false laziness w/Daemon::drop_root
-my $freeside_gid = scalar(getgrnam('freeside'))
-  or die "can't find freeside group\n";
-
-open(LOCKFILE,">$lock_file") or die "can't open $lock_file: $!";
-chown $FS::UID::freeside_uid, $freeside_gid, $lock_file;
-
-drop_root();
-
-$ENV{HOME} = (getpwuid($>))[7]; #for ssh
-
-adminsuidsetup $user;
-
-#logfile("/usr/local/etc/freeside/selfservice.". $FS::UID::datasrc); #MACHINE
-logfile("/usr/local/etc/freeside/selfservice.$machine.log");
-
-daemonize2();
-
-
-my $conf = new FS::Conf;
-
-my $clientd = "/usr/local/sbin/freeside-selfservice-clientd"; #better name?
-
-my $warnkids=0;
-while (1) {
-  my($writer,$reader,$error) = (new IO::Handle, new IO::Handle, new IO::Handle);
-  warn "connecting to $machine\n" if $Debug;
-
-  $ssh_pid = sshopen2($machine,$reader,$writer,$clientd,$tag);
-
-#  nstore_fd(\*writer, {'hi'=>'there'});
-
-  warn "entering main loop\n" if $Debug;
-  my $undisp = 0;
-  my $keepalive_count = 0;
-  my $s = IO::Select->new( $reader );
-  while (1) {
-
-    &reap_kids;
-
-    warn "waiting for packet from client\n" if $Debug && !$undisp;
-    $undisp = 1;
-    my @handles = $s->can_read(5);
-    unless ( @handles ) {
-      myshutdown() if sigint() || sigterm();
-      if ( $keepalives && $keepalive_count++ > 10 ) {
-        $keepalive_count = 0;
-        lock_write;
-        nstore_fd( { _token => '_keepalive' }, $writer );
-        unlock_write;
-      }
-      next;
-    }
-
-    $undisp = 0;
-
-    warn "receiving packet from client\n" if $Debug;
-
-    my $packet = eval { fd_retrieve($reader); };
-    if ( $@ ) {
-      warn "Storable error receiving packet from client".
-           " (assuming lost connection): $@\n"
-        if $Debug;
-      if ( $ssh_pid ) {
-        warn "sending TERM signal to ssh process $ssh_pid\n" if $Debug;
-        kill 'TERM', $ssh_pid;
-        $ssh_pid = 0;
-      }
-      last;
-    }
-    warn "packet received\n".
-         join('', map { " $_=>$packet->{$_}\n" } keys %$packet )
-      if $Debug > 2;
-
-    if ( $packet->{_packet} eq '_enable_keepalive' ) {
-      warn "enabling keep alives\n" if $Debug;
-      $keepalives=1;
-      next;
-    }
-
-    #prevent runaway forking
-    my $warnkids = 0;
-    while ( $kids >= $max_kids ) {
-      warn "WARNING: maximum $kids children reached\n" unless $warnkids++;
-      &reap_kids;
-      sleep 1;
-    }
-
-    warn "forking child\n" if $Debug;
-    defined( my $pid = fork ) or die "can't fork: $!";
-    if ( $pid ) {
-      $kids++;
-      $kids{$pid} = 1;
-      warn "child $pid spawned\n" if $Debug;
-    } else { #kid time
-
-      ##get new db handle
-      #$FS::UID::dbh->{InactiveDestroy} = 1;
-      #forksuidsetup($user);
-
-      #get db handle
-      adminsuidsetup($user);
-
-      my $type = $packet->{_packet};
-      warn "calling $type handler\n" if $Debug; 
-      my $rv = eval { FS::ClientAPI->dispatch($type, $packet); };
-      if ( $@ ) {
-        warn my $error = "WARNING: error dispatching $type: $@";
-        $rv = { _error => $error };
-      }
-      $rv->{_token} = $packet->{_token}; #identifier
-
-      open(LOCKFILE,">$lock_file") or die "can't open $lock_file: $!";
-      lock_write;
-      warn "sending response\n" if $Debug;
-      nstore_fd($rv, $writer) or die "FATAL: can't send response: $!";
-      $writer->flush or die "FATAL: can't flush: $!";
-      unlock_write;
-
-      warn "child exiting\n" if $Debug;
-      exit; #end-of-kid
-    }
-
-  }
-
-  myshutdown if sigint() || sigterm();
-  warn "connection lost, reconnecting\n" if $Debug;
-  sleep 3;
-
-}
-
-###
-# utility subroutines
-###
-
-sub reap_kids {
-  #warn "reaping kids\n";
-  foreach my $pid ( keys %kids ) {
-    my $kid = waitpid($pid, WNOHANG);
-    if ( $kid > 0 ) {
-      $kids--;
-      delete $kids{$kid};
-    }
-  }
-  #warn "done reaping\n";
-}
-
-sub myshutdown {
-  &reap_kids;
-  my $wait = 12; #wait up to 1 minute
-  while ( $kids > 0 && $wait-- ) {
-    warn "waiting for $kids children to terminate";
-    sleep 5;
-    &reap_kids;
-  }
-  warn "abandoning $kids children" if $kids;
-  kill 'TERM', $ssh_pid if $ssh_pid;
-  die "exiting";
-}
-
-sub lock_write {
-  warn "locking $lock_file mutex for write to write stream\n" if $Debug > 1;
-
-  #broken on freebsd?
-  #flock($writer, LOCK_EX) or die "FATAL: can't lock write stream: $!";
-
-  flock(LOCKFILE, LOCK_EX) or die "FATAL: can't lock $lock_file: $!";
-
-}
-
-sub unlock_write {
-  warn "unlocking $lock_file mutex\n" if $Debug > 1;
-
-  #broken on freebsd?
-  #flock($writer, LOCK_UN) or die "WARNING: can't release write lock: $!";
-
-  flock(LOCKFILE, LOCK_UN) or die "FATAL: can't unlock $lock_file: $!";
-
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-selfservice-server user machine\n";
-}
-
diff --git a/FS/bin/freeside-setinvoice b/FS/bin/freeside-setinvoice
deleted file mode 100644 (file)
index 708e2fa..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Conf;
-use FS::Record qw(qsearch qsearchs);
-use FS::cust_main;
-use FS::svc_acct;
-
-&untaint_argv;  #what it sounds like  (eww)
-my $user = shift or die &usage;
-
-adminsuidsetup $user;
-
-foreach my $cust_main (
-   grep { ! scalar($_->invoicing_list) }
-     qsearch( 'cust_main', {} )
-) {
-  my @dest;
-  my @cust_pkg = $cust_main->ncancelled_pkgs;
-  foreach my $cust_pkg ( @cust_pkg ) {
-    foreach my $cust_svc ( $cust_pkg->cust_svc ) {
-      my $svc_acct = qsearchs( 'svc_acct', { 'svcnum' => $cust_svc->svcnum } );
-      push @dest, $svc_acct->svcnum if $svc_acct;
-    }
-  }
-  push @dest, 'POST' unless @dest;
-  $cust_main->invoicing_list(\@dest);
-}
-
-sub untaint_argv {
-  foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
-    $ARGV[$_] =~ /^(.*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
-    $ARGV[$_]=$1;
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-setinvoice user\n";
-}
-
-
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup
deleted file mode 100755 (executable)
index a16e517..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-#!/usr/bin/perl -Tw
-
-#to delay loading dbdef until we're ready
-BEGIN { $FS::Schema::setup_hack = 1; }
-
-use strict;
-use vars qw($opt_s);
-use Getopt::Std;
-use Locale::Country;
-use Locale::SubCountry;
-use FS::UID qw(adminsuidsetup datasrc checkeuid getsecrets);
-use FS::Schema qw( dbdef_dist reload_dbdef );
-use FS::Record;
-use FS::cust_main_county;
-#use FS::raddb;
-use FS::part_bill_event;
-
-die "Not running uid freeside!" unless checkeuid();
-
-#my %attrib2db =
-#  map { lc($FS::raddb::attrib{$_}) => $_ } keys %FS::raddb::attrib;
-
-getopts("s");
-my $user = shift or die &usage;
-getsecrets($user);
-
-#needs to match FS::Record
-my($dbdef_file) = "/usr/local/etc/freeside/dbdef.". datasrc;
-
-###
-
-#print "\nEnter the maximum username length: ";
-#my($username_len)=&getvalue;
-my $username_len = 32; #usernamemax config file
-
-#print "\n\n", <<END, ":";
-#Freeside tracks the RADIUS User-Name, check attribute Password and
-#reply attribute Framed-IP-Address for each user.  You can specify additional
-#check and reply attributes (or you can add them later with the
-#fs-radius-add-check and fs-radius-add-reply programs).
-#
-#First enter any additional RADIUS check attributes you need to track for each 
-#user, separated by whitespace.
-#END
-#my @check_attributes = map { $attrib2db{lc($_)} or die "unknown attribute $_"; }
-#                         split(" ",&getvalue);
-#
-#print "\n\n", <<END, ":";
-#Now enter any additional reply attributes you need to track for each user,
-#separated by whitespace.
-#END
-#my @attributes = map { $attrib2db{lc($_)} or die "unknown attribute $_"; }
-#                   split(" ",&getvalue);
-#
-#print "\n\n", <<END, ":";
-#Do you wish to enable the tracking of a second, separate shipping/service
-#address?
-#END
-#my $ship = &_yesno;
-#
-#sub getvalue {
-#  my($x)=scalar(<STDIN>);
-#  chop $x;
-#  $x;
-#}
-#
-#sub _yesno {
-#  print " [y/N]:";
-#  my $x = scalar(<STDIN>);
-#  $x =~ /^y/i;
-#}
-
-#my @check_attributes = (); #add later
-#my @attributes = (); #add later
-#my $ship = $opt_s;
-
-###
-# create a dbdef object from the old data structure
-###
-
-my $dbdef = dbdef_dist;
-
-#important
-$dbdef->save($dbdef_file);
-&FS::Schema::reload_dbdef($dbdef_file);
-
-###
-# create 'em
-###
-
-my $dbh = adminsuidsetup $user;
-
-#create tables
-$|=1;
-
-foreach my $statement ( $dbdef->sql($dbh) ) {
-  $dbh->do( $statement )
-    or die "CREATE error: ". $dbh->errstr. "\ndoing statement: $statement";
-}
-
-#now go back and reverse engineer the db
-#so we pick up the correct column DEFAULTs for #oidless inserts
-dbdef_create($dbh, $dbdef_file);
-delete $FS::Schema::dbdef_cache{$dbdef_file}; #force an actual reload
-reload_dbdef($dbdef_file);
-
-#cust_main_county
-foreach my $country ( sort map uc($_), all_country_codes ) {
-
-  my $subcountry = eval { new Locale::SubCountry($country) };
-  my @states = $subcountry ? $subcountry->all_codes : undef;
-
-  if ( !scalar(@states) || ( scalar(@states) == 1 && !defined($states[0]) ) ) {
-
-    my $cust_main_county = new FS::cust_main_county({
-      'tax'   => 0,
-      'country' => $country,
-    });  
-    my $error = $cust_main_county->insert;
-    die $error if $error;
-
-  } else {
-
-    if ( $states[0] =~ /^(\d+|\w)$/ ) {
-      @states = map $subcountry->full_name($_), @states
-    }
-
-    foreach my $state ( @states ) {
-
-      my $cust_main_county = new FS::cust_main_county({
-        'state' => $state,
-        'tax'   => 0,
-        'country' => $country,
-      });  
-      my $error = $cust_main_county->insert;
-      die $error if $error;
-
-    }
-  
-  }
-}
-
-#billing events
-foreach my $aref ( 
-  #[ 'COMP', 'Comp invoice', '$cust_bill->comp();', 30, 'comp' ],
-  [ 'CARD', 'Batch card', '$cust_bill->batch_card();', 40, 'batch-card' ],
-  [ 'BILL', 'Send invoice', '$cust_bill->send();', 50, 'send' ],
-  [ 'DCRD', 'Send invoice', '$cust_bill->send();', 50, 'send' ],
-  [ 'DCHK', 'Send invoice', '$cust_bill->send();', 50, 'send' ],
-) {
-
-  my $part_bill_event = new FS::part_bill_event({
-    'payby' => $aref->[0],
-    'event' => $aref->[1],
-    'eventcode' => $aref->[2],
-    'seconds' => 0,
-    'weight' => $aref->[3],
-    'plan' => $aref->[4],
-  });
-  my($error);
-  $error=$part_bill_event->insert;
-  die $error if $error;
-
-}
-
-$dbh->commit or die $dbh->errstr;
-$dbh->disconnect or die $dbh->errstr;
-
-#print "Freeside database initialized sucessfully\n";
-
-sub dbdef_create { # reverse engineer the schema from the DB and save to file
-  my( $dbh, $file ) = @_;
-  my $dbdef = new_native DBIx::DBSchema $dbh;
-  $dbdef->save($file);
-}
-
-sub usage {
-  die "Usage:\n  freeside-setup user\n"; 
-}
-
-1;
-
diff --git a/FS/bin/freeside-sqlradius-radacctd b/FS/bin/freeside-sqlradius-radacctd
deleted file mode 100644 (file)
index e98eaa0..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw( @part_export );
-use subs qw(myshutdown);
-use POSIX qw(:sys_wait_h);
-#use IO::File;
-use FS::Daemon qw(daemonize1 drop_root logfile daemonize2 sigint sigterm);
-use FS::UID qw(adminsuidsetup); #forksuidsetup driver_name dbh myconnect);
-use FS::Record qw(qsearch); # qsearchs);
-use FS::part_export;
-#use FS::svc_acct;
-#use FS::cust_svc;
-
-my $user = shift or die &usage;
-
-#daemonize1('freeside-sqlradius-radacctd', $user); #keep unique pid files w/multi installs
-daemonize1('freeside-sqlradius-radacctd');
-
-drop_root();
-
-#$ENV{HOME} = (getpwuid($>))[7]; #for ssh
-
-adminsuidsetup $user;
-
-logfile( "/usr/local/etc/freeside/sqlradius-radacctd-log.". $FS::UID::datasrc );
-
-daemonize2();
-
-#--
-
-#don't just look for ->can('usage_sessions'), we're sqlradius-specific
-# (radiator is supposed to be setup with a radacct table)
-
-@part_export =
-  qsearch('part_export', { 'exporttype' => 'sqlradius' } );
-push @part_export,
-  qsearch('part_export', { 'exporttype' => 'sqlradius_withdomain' } );
-push @part_export,
-  qsearch('part_export', { 'exporttype' => 'radiator' } );
-
-@part_export = grep { ! $_->option('ignore_accounting') } @part_export;
-
-die "no sqlradius, sqlradius_withdomain or radiator exports without".
-    " ignore_accounting"
-  unless @part_export;
-
-while (1) {
-
-  #fork off one kid per export (machine)
-  # _>{'_radacct_kid'} is an evil kludge
-  foreach my $part_export ( grep ! $_->{'_radacct_kid'}, @part_export ) {
-    defined( my $pid = fork ) or do {
-      warn "WARNING: can't fork to spawn child for ". $part_export->machine;
-      next;
-    };
-
-    if ( $pid ) {
-      $part_export->{'_radacct_kid'} = $pid;
-      warn "child $pid spawned for ". $part_export->machine;
-    } else { #kid time
-
-      adminsuidsetup($user); #get our own db handle
-
-      until ( sigint || sigterm ) {
-        $part_export->update_svc_acct();
-        sleep 1;
-      }
-
-      warn "child for ". $part_export->machine. " done";
-      exit;
-
-    } #eo kid
-
-  }
-
-  #reap up any kids that died...
-  &reap_kids;
-
-  myshutdown() if sigterm() || sigint();
-
-  sleep 5;
-}
-
-#-- 
-
-sub myshutdown {
-  &reap_kids;
-
-  #kill all the kids
-  kill 'TERM', $_ foreach grep $_, map $_->{'_radacct_kid'}, @part_export;
-
-  my $wait = 12; #wait up to 1 minute
-  while ( ( grep $_->{'_radacct_kid'}, @part_export ) && $wait-- ) {
-    warn "waiting for children to terminate";
-    sleep 5;
-    &reap_kids;
-  }
-  warn "abandoning children" if grep $_->{'_radacct_kid'}, @part_export;
-  die "exiting";
-}
-
-sub reap_kids {
-  #warn "reaping kids\n";
-  foreach my $part_export ( grep $_->{'_radacct_kid'}, @part_export ) {
-    my $pid = $part_export->{'_radacct_kid'};
-    my $kid = waitpid($pid, WNOHANG);
-    if ( $kid > 0 ) {
-      $part_export->{'_radacct_kid'} = '';
-    }
-  }
-  #warn "done reaping\n";
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-sqlradius-radacctd user\n";
-}
-
-=head1 NAME
-
-freeside-sqlradius-radacctd - Real-time radacct import daemon
-
-=head1 SYNOPSIS
-
-  freeside-sqlradius-radacctd username
-
-=head1 DESCRIPTION
-
-Imports records from an the SQL radacct tables of all sqlradius, 
-sqlradius_withdomain and radiator exports (except those with the
-ignore_accounting flag) and updates the svc_acct.seconds for each account.
-Runs as a daemon and updates the database in real-time.
-
-B<username> is a username added by freeside-adduser.
-
-=head1 RADIUS DATABASE CHANGES
-
-ALTER TABLE radacct ADD COLUMN FreesideStatus varchar(32) NULL;
-
-If you want to ignore the existing accountg records, also do:
-
-UPDATE radacct SET FreesideStatus = 'done' WHERE FreesideStatus IS NULL;
-
-=head1 SEE ALSO
-
-=cut
-
-1;
-
diff --git a/FS/bin/freeside-sqlradius-reset b/FS/bin/freeside-sqlradius-reset
deleted file mode 100755 (executable)
index 2ac5012..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch qsearchs);
-use FS::part_export;
-use FS::svc_acct;
-use FS::cust_svc;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-#my $machine = shift or die &usage;
-
-my @exports = ();
-if ( @ARGV ) {
-  foreach my $exportnum ( @ARGV ) {
-    foreach my $exporttype (qw( sqlradius sqlradius_withdomain )) {
-    push @exports, qsearch('part_export', { exportnum  => $exportnum,
-                                            exporttype => $exporttype, } );
-    }
-  }
- } else {
-  @exports = qsearch('part_export', { exporttype=>'sqlradius' } );
-  push @exports, qsearch('part_export', { exporttype=>'sqlradius_withdomain' } );
-}
-
-foreach my $export ( @exports ) {
-  my $icradius_dbh = DBI->connect(
-    map { $export->option($_) } qw( datasrc username password )
-  ) or die $DBI::errstr;
-  for my $table (qw( radcheck radreply usergroup )) {
-    my $sth = $icradius_dbh->prepare("DELETE FROM $table");
-    $sth->execute or die "Can't reset $table table: ". $sth->errstr;
-  }
-  $icradius_dbh->disconnect;
-}
-
-foreach my $export ( @exports ) {
-
-  #my @svcparts = map { $_->svcpart } $export->export_svc;
-
-  my @svc_acct =
-    map { qsearchs('svc_acct', { 'svcnum' => $_->svcnum } ) }
-      map { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
-        grep { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
-          $export->export_svc;
-
-  foreach my $svc_acct ( @svc_acct ) {
-
-    $svc_acct->check; #set any fixed usergroup so it'll export even if all
-                      #svc_acct records don't have the group yet
-
-    #false laziness with FS::svc_acct::insert (like it matters)
-    my $error = $export->export_insert($svc_acct);
-    die $error if $error;
-
-  }
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-sqlradius-reset user [ exportnum, ... ]\n";
-}
-
-=head1 NAME
-
-freeside-sqlradius-reset - Command line interface to reset and recreate RADIUS SQL tables
-
-=head1 SYNOPSIS
-
-  freeside-sqlradius-reset username [ EXPORTNUM, ... ]
-
-=head1 DESCRIPTION
-
-Deletes the radcheck, radreply and usergroup tables and repopulates them from
-the Freeside database, for the specified exports, or, if no exports are
-specified, for all sqlradius and sqlradius_withdomain exports.
-
-B<username> is a username added by freeside-adduser.
-
-=head1 SEE ALSO
-
-L<freeside-reexport>, L<FS::part_export>, L<FS::part_export::sqlradius>
-
-=cut
-
-
-
diff --git a/FS/bin/freeside-sqlradius-seconds b/FS/bin/freeside-sqlradius-seconds
deleted file mode 100644 (file)
index 1c978fa..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use Date::Parse;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearchs);
-use FS::svc_acct;
-
-my $fs_user = shift or die &usage;
-adminsuidsetup( $fs_user );
-
-my $target_user = shift or die &usage;
-my $start = shift or die &usage;
-$start = str2time($start);
-my $stop =  scalar(@ARGV) ? str2time(shift) : time;
-
-my $svc_acct = qsearchs( 'svc_acct', { 'username' => $target_user } );
-die "username $target_user not found\n" unless $svc_acct;
-
-print $svc_acct->seconds_since_sqlradacct( $start, $stop ). "\n";
-
-sub usage {
-  die "Usage:\n\n  freeside-sqlradius-seconds freeside_username target_username start_date stop_date\n";
-}
-
-
-=head1 NAME
-
-freeside-sqlradius-seconds - Real-time radacct import daemon
-
-=head1 SYNOPSIS
-
-  freeside-sqlradius-seconds freeside_username target_username start_date [ stop_date ]
-
-=head1 DESCRIPTION
-
-Returns the number of seconds the specified username has been online between
-start_date (inclusive) and stop_date (exclusive).
-See L<FS::svc_acct/seconds_since_sqlradacct>
-
-B<freeside_username> is a username added by freeside-adduser.
-B<target_username> is the username of the user account to query.
-B<start_date> and B<stop_date> are in any format Date::Parse is happy with.
-B<stop_date> defaults to now if not specified.
-
-=head1 BUGS
-
-Selection of the account in question is rather simplistic in that
-B<target_username> doesn't necessarily identify a unique account (and wouldn't
-even if a domain was specified), and no sqlradius export is checked for.
-
-=head1 SEE ALSO
-
-L<FS::svc_acct/seconds_since_sqlradacct>
-
-=cut
-
-1;
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
deleted file mode 100755 (executable)
index 419384c..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw($DEBUG $DRY_RUN);
-use Term::ReadKey;
-use DBIx::DBSchema 0.27;
-use FS::UID qw(adminsuidsetup checkeuid datasrc );  #getsecrets);
-use FS::Schema qw( dbdef dbdef_dist reload_dbdef );
-
-
-$DEBUG = 1;
-$DRY_RUN = 0;
-
-
-die "Not running uid freeside!" unless checkeuid();
-
-my $user = shift or die &usage;
-my $dbh = adminsuidsetup($user);
-
-#needs to match FS::Schema...
-my $dbdef_file = "/usr/local/etc/freeside/dbdef.". datasrc;
-
-dbdef_create($dbh, $dbdef_file);
-
-delete $FS::Schema::dbdef_cache{$dbdef_file}; #force an actual reload
-reload_dbdef($dbdef_file);
-
-
-foreach my $table ( dbdef_dist->tables ) {
-
-  if ( dbdef->table($table) ) {
-
-    warn "$table exists\n" if $DEBUG > 1;
-
-    foreach my $column ( dbdef_dist->table($table)->columns ) {
-      if ( dbdef->table($table)->column($column) )  {
-        warn "  $table.$column exists\n" if $DEBUG > 2;
-      } else {
-
-        if ( $DEBUG ) {
-          print STDERR "column $table.$column does not exist.  create?";
-          next unless yesno();
-        }
-
-        foreach my $statement (
-          dbdef_dist->table($table)->column($column)->sql_add_column( $dbh )
-        ) {
-          warn "$statement\n" if $DEBUG || $DRY_RUN;
-          unless ( $DRY_RUN ) {
-            $dbh->do( $statement)
-              or die "CREATE error: ". $dbh->errstr. "\nexecuting: $statement";
-          }
-        }
-
-      }
-
-    }
-
-    #should eventually check & create missing indices
-
-    #should eventually drop columns not in dbdef_dist...
-
-  } else {
-
-    if ( $DEBUG ) {
-      print STDERR "table $table does not exist.  create?";
-      next unless yesno();
-    }
-
-    foreach my $statement (
-      dbdef_dist->table($table)->sql_create_table( $dbh )
-    ) {
-      warn "$statement\n" if $DEBUG || $DRY_RUN;
-      unless ( $DRY_RUN ) {
-        $dbh->do( $statement)
-          or die "CREATE error: ". $dbh->errstr. "\nexecuting: $statement";
-      }
-    }
-
-  }
-
-}
-
-# should eventually drop tables not in dbdef_dist too i guess...
-
-$dbh->commit or die $dbh->errstr;
-
-dbdef_create($dbh, $dbdef_file);
-
-$dbh->disconnect or die $dbh->errstr;
-
-###
-
-my $all = 0;
-sub yesno {
-  print STDERR ' [yes/no/all] ';
-  if ( $all ) {
-    warn "yes\n";
-    return 1;
-  } else {
-    while ( 1 ) {
-      ReadMode 4;
-      my $x = lc(ReadKey);
-      ReadMode 0;
-      if ( $x eq 'n' ) {
-        warn "no\n"; 
-        return 0;
-      } elsif ( $x eq 'y' ) {
-        warn "yes\n"; 
-        return 1;
-      } elsif ( $x eq 'a' ) {
-        warn "yes\n"; 
-        $all = 1;
-        return 1;
-      }
-    }
-  }
-}
-
-sub dbdef_create { # reverse engineer the schema from the DB and save to file
-  my( $dbh, $file ) = @_;
-  my $dbdef = new_native DBIx::DBSchema $dbh;
-  $dbdef->save($file);
-}
-
-sub usage {
-  die "Usage:\n  freeside-upgrade user\n"; 
-}
-
-1;
-
diff --git a/FS/t/CGI.t b/FS/t/CGI.t
deleted file mode 100644 (file)
index 1b4e238..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::CGI;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/ClientAPI.t b/FS/t/ClientAPI.t
deleted file mode 100644 (file)
index 973d8da..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::ClientAPI;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/ClientAPI_SessionCache.t b/FS/t/ClientAPI_SessionCache.t
deleted file mode 100644 (file)
index 605803e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::ClientAPI_SessionCache;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Conf.t b/FS/t/Conf.t
deleted file mode 100644 (file)
index a9f7653..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Conf;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/ConfItem.t b/FS/t/ConfItem.t
deleted file mode 100644 (file)
index c7932d7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::ConfItem;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Daemon.t b/FS/t/Daemon.t
deleted file mode 100644 (file)
index 24893fd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Daemon;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/InitHandler.t b/FS/t/InitHandler.t
deleted file mode 100644 (file)
index 0ce60c8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::InitHandler;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Misc.t b/FS/t/Misc.t
deleted file mode 100644 (file)
index cc7751a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Misc;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Msgcat.t b/FS/t/Msgcat.t
deleted file mode 100644 (file)
index 29e71b3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Msgcat;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Record.t b/FS/t/Record.t
deleted file mode 100644 (file)
index 00de1ed..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Record;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Report-Table-Monthly.t b/FS/t/Report-Table-Monthly.t
deleted file mode 100644 (file)
index 6ff365d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Report::Table::Monthly;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Report-Table.t b/FS/t/Report-Table.t
deleted file mode 100644 (file)
index 866d498..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Report::Table;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/Report.t b/FS/t/Report.t
deleted file mode 100644 (file)
index 76d6ea4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::Report;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/SearchCache.t b/FS/t/SearchCache.t
deleted file mode 100644 (file)
index 3c26f35..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::SearchCache;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/UID.t b/FS/t/UID.t
deleted file mode 100644 (file)
index 9f7da4e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::UID;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/acct_snarf.t b/FS/t/acct_snarf.t
deleted file mode 100644 (file)
index 642760f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::acct_snarf;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/agent.t b/FS/t/agent.t
deleted file mode 100644 (file)
index 769cce2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::agent;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/agent_payment_gateway.t b/FS/t/agent_payment_gateway.t
deleted file mode 100644 (file)
index af78a9a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::agent_payment_gateway;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/agent_type.t b/FS/t/agent_type.t
deleted file mode 100644 (file)
index 99c66a1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::agent_type;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/banned_pay.t b/FS/t/banned_pay.t
deleted file mode 100644 (file)
index bef1ff2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::banned_pay;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cancel_reason.t b/FS/t/cancel_reason.t
deleted file mode 100644 (file)
index a5948f6..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cancel_reason;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/clientapi_session.t b/FS/t/clientapi_session.t
deleted file mode 100644 (file)
index a6414c3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::clientapi_session;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/clientapi_session_field.t b/FS/t/clientapi_session_field.t
deleted file mode 100644 (file)
index a9d4fa9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::clientapi_session_field;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_bill.t b/FS/t/cust_bill.t
deleted file mode 100644 (file)
index b43f08e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_bill;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_bill_event.t b/FS/t/cust_bill_event.t
deleted file mode 100644 (file)
index 0e2ca3e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_bill_event;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_bill_pay.t b/FS/t/cust_bill_pay.t
deleted file mode 100644 (file)
index 001eed0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_bill_pay;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_bill_pkg.t b/FS/t/cust_bill_pkg.t
deleted file mode 100644 (file)
index 0e45bdb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_bill_pkg;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_bill_pkg_detail.t b/FS/t/cust_bill_pkg_detail.t
deleted file mode 100644 (file)
index ea6e3d1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_bill_pkg_detail;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_credit.t b/FS/t/cust_credit.t
deleted file mode 100644 (file)
index cddf75c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_credit;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_credit_bill.t b/FS/t/cust_credit_bill.t
deleted file mode 100644 (file)
index 0ef54c3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_credit_bill;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_credit_refund.t b/FS/t/cust_credit_refund.t
deleted file mode 100644 (file)
index 6b2b599..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_credit_refund;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_main.t b/FS/t/cust_main.t
deleted file mode 100644 (file)
index b0ffbdb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_main;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_main_Mixin.t b/FS/t/cust_main_Mixin.t
deleted file mode 100644 (file)
index c8b9291..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_main_Mixin;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_main_county.t b/FS/t/cust_main_county.t
deleted file mode 100644 (file)
index dd61199..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_main_county;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_main_invoice.t b/FS/t/cust_main_invoice.t
deleted file mode 100644 (file)
index 9661620..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_main_invoice;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_pay.t b/FS/t/cust_pay.t
deleted file mode 100644 (file)
index f6d0b75..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_pay;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_pay_batch.t b/FS/t/cust_pay_batch.t
deleted file mode 100644 (file)
index 02b572c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_pay_batch;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_pay_refund.t b/FS/t/cust_pay_refund.t
deleted file mode 100644 (file)
index 85d6c23..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_pay_refund;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_pay_void.t b/FS/t/cust_pay_void.t
deleted file mode 100644 (file)
index dca9bec..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_pay_void;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_pkg.t b/FS/t/cust_pkg.t
deleted file mode 100644 (file)
index c6a6860..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_pkg;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_refund.t b/FS/t/cust_refund.t
deleted file mode 100644 (file)
index 91583da..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_refund;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_svc.t b/FS/t/cust_svc.t
deleted file mode 100644 (file)
index 267d731..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_svc;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_tax_exempt.pm b/FS/t/cust_tax_exempt.pm
deleted file mode 100644 (file)
index 8af13e3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_tax_exempt;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/cust_tax_exempt.t b/FS/t/cust_tax_exempt.t
deleted file mode 100644 (file)
index 8af13e3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::cust_tax_exempt;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/domain_record.t b/FS/t/domain_record.t
deleted file mode 100644 (file)
index 794518c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::domain_record;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/export_svc.t b/FS/t/export_svc.t
deleted file mode 100644 (file)
index 773c5de..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::export_svc;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_Common.t b/FS/t/h_Common.t
deleted file mode 100644 (file)
index 174bb99..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_Common;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_cust_svc.t b/FS/t/h_cust_svc.t
deleted file mode 100644 (file)
index a7dabbe..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_cust_svc;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_domain_record.t b/FS/t/h_domain_record.t
deleted file mode 100644 (file)
index f48e72e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_domain_record;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_svc_acct.t b/FS/t/h_svc_acct.t
deleted file mode 100644 (file)
index 9c94d08..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_svc_acct;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_svc_broadband.t b/FS/t/h_svc_broadband.t
deleted file mode 100644 (file)
index b8e5c7c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_svc_broadband;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_svc_domain.t b/FS/t/h_svc_domain.t
deleted file mode 100644 (file)
index 87d2a09..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_svc_domain;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_svc_external.t b/FS/t/h_svc_external.t
deleted file mode 100644 (file)
index 5248f87..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_svc_external;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_svc_forward.t b/FS/t/h_svc_forward.t
deleted file mode 100644 (file)
index 64731d5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_svc_forward;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/h_svc_www.t b/FS/t/h_svc_www.t
deleted file mode 100644 (file)
index 07558ce..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::h_svc_www;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/msgcat.t b/FS/t/msgcat.t
deleted file mode 100644 (file)
index c38c639..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::msgcat;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/nas.t b/FS/t/nas.t
deleted file mode 100644 (file)
index 6f8ae36..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::nas;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/option_Common.t b/FS/t/option_Common.t
deleted file mode 100644 (file)
index ad26141..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::option_Common;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_bill_event.t b/FS/t/part_bill_event.t
deleted file mode 100644 (file)
index 5626a9f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_bill_event;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-acct_sql.t b/FS/t/part_export-acct_sql.t
deleted file mode 100644 (file)
index 9eed472..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::acct_sql;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-apache.t b/FS/t/part_export-apache.t
deleted file mode 100644 (file)
index b999508..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::apache;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-bind.t b/FS/t/part_export-bind.t
deleted file mode 100644 (file)
index d0c96be..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::bind;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-bind_slave.t b/FS/t/part_export-bind_slave.t
deleted file mode 100644 (file)
index c6a0386..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::bind_slave;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-bsdshell.t b/FS/t/part_export-bsdshell.t
deleted file mode 100644 (file)
index eaf417a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::bsdshell;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-communigate_pro.t b/FS/t/part_export-communigate_pro.t
deleted file mode 100644 (file)
index 88b8b64..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::communigate_pro;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-communigate_pro_singledomain.t b/FS/t/part_export-communigate_pro_singledomain.t
deleted file mode 100644 (file)
index 6f8a64e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::communigate_pro_singledomain;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-cp.t b/FS/t/part_export-cp.t
deleted file mode 100644 (file)
index bbefa6c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::cp;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-cyrus.t b/FS/t/part_export-cyrus.t
deleted file mode 100644 (file)
index e0b3f35..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::cyrus;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-domain_shellcommands.t b/FS/t/part_export-domain_shellcommands.t
deleted file mode 100644 (file)
index a2a44fb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::domain_shellcommands;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-forward_shellcommands.t b/FS/t/part_export-forward_shellcommands.t
deleted file mode 100644 (file)
index 78ca68d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::forward_shellcommands;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-http.t b/FS/t/part_export-http.t
deleted file mode 100644 (file)
index ea41b93..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::http;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-infostreet.t b/FS/t/part_export-infostreet.t
deleted file mode 100644 (file)
index 1b33418..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::infostreet;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-ldap.t b/FS/t/part_export-ldap.t
deleted file mode 100644 (file)
index 826c341..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::ldap;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-null.t b/FS/t/part_export-null.t
deleted file mode 100644 (file)
index 055cdce..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::null;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-passwdfile.t b/FS/t/part_export-passwdfile.t
deleted file mode 100644 (file)
index 0f18f30..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::passwdfile;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-postfix.t b/FS/t/part_export-postfix.t
deleted file mode 100644 (file)
index 9518caa..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::postfix;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-radiator.t b/FS/t/part_export-radiator.t
deleted file mode 100644 (file)
index 546e9de..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::radiator;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-router.t b/FS/t/part_export-router.t
deleted file mode 100644 (file)
index 54e4b63..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::router;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-shellcommands.t b/FS/t/part_export-shellcommands.t
deleted file mode 100644 (file)
index 7bb47d3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::shellcommands;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-shellcommands_withdomain.t b/FS/t/part_export-shellcommands_withdomain.t
deleted file mode 100644 (file)
index c0bd1bb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::shellcommands_withdomain;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-sqlmail.t b/FS/t/part_export-sqlmail.t
deleted file mode 100644 (file)
index b048a75..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::sqlmail;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-sqlradius.t b/FS/t/part_export-sqlradius.t
deleted file mode 100644 (file)
index 5fb23a5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::sqlradius;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-sqlradius_withdomain.t b/FS/t/part_export-sqlradius_withdomain.t
deleted file mode 100644 (file)
index 504bf67..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::sqlradius_withdomain;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-sysvshell.t b/FS/t/part_export-sysvshell.t
deleted file mode 100644 (file)
index 7fc24ac..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::sysvshell;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-textradius.t b/FS/t/part_export-textradius.t
deleted file mode 100644 (file)
index d8a48a0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::textradius;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-vpopmail.t b/FS/t/part_export-vpopmail.t
deleted file mode 100644 (file)
index 2e37114..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::vpopmail;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export-www_shellcommands.t b/FS/t/part_export-www_shellcommands.t
deleted file mode 100644 (file)
index 2ea79cf..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export::www_shellcommands;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export.t b/FS/t/part_export.t
deleted file mode 100644 (file)
index 26b3987..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_export_option.t b/FS/t/part_export_option.t
deleted file mode 100644 (file)
index 13200c2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_export_option;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-flat.t b/FS/t/part_pkg-flat.t
deleted file mode 100644 (file)
index 3eee7a7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::flat;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-flat_comission.t b/FS/t/part_pkg-flat_comission.t
deleted file mode 100644 (file)
index fefa57e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::flat_comission;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-flat_comission_cust.t b/FS/t/part_pkg-flat_comission_cust.t
deleted file mode 100644 (file)
index 05d3ac4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::flat_comission_cust;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-flat_comission_pkg.t b/FS/t/part_pkg-flat_comission_pkg.t
deleted file mode 100644 (file)
index 851b58d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::flat_comission_pkg;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-flat_delayed.t b/FS/t/part_pkg-flat_delayed.t
deleted file mode 100644 (file)
index ed63846..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::flat_delayed;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-prorate.t b/FS/t/part_pkg-prorate.t
deleted file mode 100644 (file)
index d32b1c0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::prorate;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-sesmon_hour.t b/FS/t/part_pkg-sesmon_hour.t
deleted file mode 100644 (file)
index 4f02cfc..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::sesmon_hour;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-sesmon_minute.t b/FS/t/part_pkg-sesmon_minute.t
deleted file mode 100644 (file)
index 6ceaa3c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::sesmon_minute;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-sql_external.t b/FS/t/part_pkg-sql_external.t
deleted file mode 100644 (file)
index 366ed01..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::sql_external;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-sql_generic.t b/FS/t/part_pkg-sql_generic.t
deleted file mode 100644 (file)
index 299a7c6..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::sql_generic;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-sqlradacct_hour.t b/FS/t/part_pkg-sqlradacct_hour.t
deleted file mode 100644 (file)
index 2a4ed79..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::sqlradacct_hour;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-subscription.t b/FS/t/part_pkg-subscription.t
deleted file mode 100644 (file)
index 10b4479..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::subscription;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg-voip_sqlradacct.t b/FS/t/part_pkg-voip_sqlradacct.t
deleted file mode 100644 (file)
index 8d54204..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg::voip_sqlradacct;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg.t b/FS/t/part_pkg.t
deleted file mode 100644 (file)
index fd96073..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pkg_option.t b/FS/t/part_pkg_option.t
deleted file mode 100644 (file)
index 6239b2d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pkg_option;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_pop_local.t b/FS/t/part_pop_local.t
deleted file mode 100644 (file)
index 4e4ad17..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_pop_local;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_referral.t b/FS/t/part_referral.t
deleted file mode 100644 (file)
index d20b979..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_referral;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_svc.t b/FS/t/part_svc.t
deleted file mode 100644 (file)
index bdb2a7a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_svc;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/part_svc_column.t b/FS/t/part_svc_column.t
deleted file mode 100644 (file)
index 467025c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::part_svc_column;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/payment_gateway.t b/FS/t/payment_gateway.t
deleted file mode 100644 (file)
index 4bcc781..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::payment_gateway;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/payment_gateway_option.t b/FS/t/payment_gateway_option.t
deleted file mode 100644 (file)
index 19e6451..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::payment_gateway_option;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/pkg_svc.t b/FS/t/pkg_svc.t
deleted file mode 100644 (file)
index 77d3429..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::pkg_svc;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/port.t b/FS/t/port.t
deleted file mode 100644 (file)
index 46377aa..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::port;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/prepay_credit.t b/FS/t/prepay_credit.t
deleted file mode 100644 (file)
index e7626bd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::prepay_credit;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/queue.t b/FS/t/queue.t
deleted file mode 100644 (file)
index 43e3373..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::queue;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/queue_arg.t b/FS/t/queue_arg.t
deleted file mode 100644 (file)
index cf3f91d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::queue_arg;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/queue_depend.t b/FS/t/queue_depend.t
deleted file mode 100644 (file)
index 8eaa2cd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::queue_depend;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/raddb.t b/FS/t/raddb.t
deleted file mode 100644 (file)
index ac28d07..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::raddb;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/radius_usergroup.t b/FS/t/radius_usergroup.t
deleted file mode 100644 (file)
index 325742c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::radius_usergroup;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/rate.t b/FS/t/rate.t
deleted file mode 100644 (file)
index ae9c8bb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::rate;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/rate_detail.t b/FS/t/rate_detail.t
deleted file mode 100644 (file)
index 163972e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::rate_detail;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/rate_prefix.t b/FS/t/rate_prefix.t
deleted file mode 100644 (file)
index d4bd513..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::rate_prefix;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/rate_region.t b/FS/t/rate_region.t
deleted file mode 100644 (file)
index 6e0db8f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::rate_region;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/reg_code.t b/FS/t/reg_code.t
deleted file mode 100644 (file)
index 4b95990..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::reg_code;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/reg_code_pkg.t b/FS/t/reg_code_pkg.t
deleted file mode 100644 (file)
index 7f89ffa..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::reg_code_pkg;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/session.t b/FS/t/session.t
deleted file mode 100644 (file)
index c4b714e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::session;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_Common.t b/FS/t/svc_Common.t
deleted file mode 100644 (file)
index ed49e1e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_Common;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_acct.t b/FS/t/svc_acct.t
deleted file mode 100644 (file)
index 9ca78c9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_acct;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_acct_pop.t b/FS/t/svc_acct_pop.t
deleted file mode 100644 (file)
index e612c40..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_acct_pop;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_broadband.t b/FS/t/svc_broadband.t
deleted file mode 100644 (file)
index 02dc112..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_broadband;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_domain.t b/FS/t/svc_domain.t
deleted file mode 100644 (file)
index 4d91898..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_domain;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_external.t b/FS/t/svc_external.t
deleted file mode 100644 (file)
index 20a6767..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_external;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_forward.t b/FS/t/svc_forward.t
deleted file mode 100644 (file)
index d653d34..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_forward;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/svc_www.t b/FS/t/svc_www.t
deleted file mode 100644 (file)
index eb4e83f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::svc_www;
-$loaded=1;
-print "ok 1\n";
diff --git a/FS/t/type_pkgs.t b/FS/t/type_pkgs.t
deleted file mode 100644 (file)
index 9840180..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n" }
-END {print "not ok 1\n" unless $loaded;}
-use FS::type_pkgs;
-$loaded=1;
-print "ok 1\n";
diff --git a/GPL b/GPL
deleted file mode 100644 (file)
index e77696a..0000000
--- a/GPL
+++ /dev/null
@@ -1,339 +0,0 @@
-                   GNU GENERAL PUBLIC LICENSE
-                      Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                          675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                           Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-\f
-                   GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-\f
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-\f
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-\f
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-                           NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-                    END OF TERMS AND CONDITIONS
-\f
-           How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) 19yy  <name of author>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-    Gnomovision version 69, Copyright (C) 19yy name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  <signature of Ty Coon>, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Library General
-Public License instead of this License.
diff --git a/INSTALL b/INSTALL
deleted file mode 100644 (file)
index 4b9b085..0000000
--- a/INSTALL
+++ /dev/null
@@ -1 +0,0 @@
-See httemplate/docs/index.html
diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 2c5abf9..0000000
--- a/Makefile
+++ /dev/null
@@ -1,363 +0,0 @@
-#!/usr/bin/make
-
-#solaris and perhaps other very weirdass /bin/sh
-#SHELL="/bin/ksh"
-
-DATASOURCE = DBI:Pg:dbname=freeside
-#DATASOURCE=DBI:mysql:freeside
-
-DB_USER = freeside
-DB_PASSWORD=
-
-#TEMPLATE = asp
-TEMPLATE = mason
-
-ASP_GLOBAL = /usr/local/etc/freeside/asp-global
-MASON_HANDLER = /usr/local/etc/freeside/handler.pl
-MASONDATA = /usr/local/etc/freeside/masondata
-
-#deb
-FREESIDE_DOCUMENT_ROOT = /var/www/freeside
-#redhat, fedora, mandrake
-#FREESIDE_DOCUMENT_ROOT = /var/www/html/freeside
-#freebsd
-#FREESIDE_DOCUMENT_ROOT = /usr/local/www/data/freeside
-#openbsd
-#FREESIDE_DOCUMENT_ROOT = /var/www/htdocs/freeside
-#suse
-#FREESIDE_DOCUMENT_ROOT = /srv/www/htdocs/freeside
-#apache
-#FREESIDE_DOCUMENT_ROOT = /usr/local/apache/htdocs/freeside
-
-#deb, redhat, fedora, mandrake, suse, others?
-INIT_FILE = /etc/init.d/freeside
-#freebsd
-#INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh
-
-#deb
-INIT_INSTALL = /usr/sbin/update-rc.d freeside defaults 21 20
-#redhat, fedora
-#INIT_INSTALL = /sbin/chkconfig freeside on
-#not necessary (freebsd)
-#INIT_INSTALL = /usr/bin/true
-
-#deb
-HTTPD_RESTART = /etc/init.d/apache reload
-#suse
-#HTTPD_RESTART = /etc/init.d/apache restart
-#redhat, fedora, mandrake
-#HTTPD_RESTART = /etc/init.d/httpd restart
-#freebsd
-#HTTPD_RESTART = /usr/local/etc/rc.d/apache.sh stop || true; sleep 10; /usr/local/etc/rc.d/apache.sh start
-#openbsd
-#HTTPD_RESTART = kill -TERM `cat /var/www/logs/httpd.pid`; sleep 10; /usr/sbin/httpd -u -DSSL
-#apache
-#HTTPD_RESTART = /usr/local/apache/bin/apachectl stop; sleep 10; /usr/local/apache/bin/apachectl startssl
-
-#(an include directory, not a file - "Include /etc/apache/conf.d" in httpd.conf)
-#deb (3.1+), 
-APACHE_CONF = /etc/apache/conf.d
-
-FREESIDE_RESTART = ${INIT_FILE} restart
-
-#deb, redhat, fedora, mandrake, suse, others?
-INSTALLGROUP = root
-#freebsd, openbsd
-#INSTALLGROUP = wheel
-
-#edit the stuff below to have the daemons start
-
-QUEUED_USER=fs_queue
-
-SELFSERVICE_USER = fs_selfservice
-#never run on the same machine in production!!!
-SELFSERVICE_MACHINES = localhost
-# SELFSERVICE_MACHINES = www.example.com
-# SELFSERVICE_MACHINES = web1.example.com web2.example.com
-
-#user with sudo access on SELFSERVICE_MACHINES for automated self-service
-#installation.
-SELFSERVICE_INSTALL_USER = ivan
-SELFSERVICE_INSTALL_USERADD = /usr/sbin/useradd
-#SELFSERVICE_INSTALL_USERADD = "/usr/sbin/pw useradd"
-
-#RT_ENABLED = 0
-RT_ENABLED = 1
-RT_DOMAIN = example.com
-RT_TIMEZONE = US/Pacific
-#RT_TIMEZONE = US/Eastern
-FREESIDE_URL = "http://localhost/freeside/"
-
-#for now, same db as specified in DATASOURCE... eventually, otherwise?
-RT_DB_DATABASE = freeside
-
-#---
-
-#not changable yet
-FREESIDE_CONF = /usr/local/etc/freeside
-#rt/config.layout.in
-RT_PATH = /opt/rt3
-
-#only used for dev kludge now, not a big deal
-FREESIDE_PATH = `pwd`
-PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.8.7/
-
-VERSION=1.5.8cvs
-TAG=freeside_1_5_8
-
-help:
-       @echo "supported targets:"
-       @echo "                   create-database create-config"
-       @echo "                   install deploy"
-       @echo "                   configure-rt create-rt"
-       @echo "                   clean help"
-       @echo
-       @echo "                   install-docs install-perl-modules"
-       @echo "                   install-init install-apache"
-       @echo "                   install-rt"
-       @echo "                   install-selfservice update-selfservice"
-       @echo
-       @echo "                   dev dev-docs dev-perl-modules"
-       @echo
-       @echo "                   aspdocs masondocs alldocs docs"
-       @echo "                   htmlman forcehtmlman"
-       @echo "                   perl-modules"
-       #@echo
-       #@echo "                   upload-docs release update-webdemo"
-
-aspdocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/*
-       rm -rf aspdocs
-       cp -pr httemplate aspdocs
-       touch aspdocs
-
-
-masondocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/*
-       rm -rf masondocs
-       cp -pr httemplate masondocs
-       ( cd masondocs; \
-         ../bin/masonize; \
-       )
-       touch masondocs
-
-alldocs: aspdocs masondocs
-
-docs:
-       make ${TEMPLATE}docs
-
-htmlman:
-       [ -e ./httemplate/docs/man ] || mkdir httemplate/docs/man
-       [ -e ./httemplate/docs/man/bin ] || mkdir httemplate/docs/man/bin
-       [ -e ./httemplate/docs/man/FS ] || mkdir httemplate/docs/man/FS
-       [ -e ./httemplate/docs/man/FS/UI ] || mkdir httemplate/docs/man/FS/UI
-       [ -e ./httemplate/docs/man/FS/part_export ] || mkdir httemplate/docs/man/FS/part_export
-       chmod a+rx bin/pod2x
-       [ -e DONT_REBUILD_DOCS ] || bin/pod2x
-
-forcehtmlman:
-       [ -e ./httemplate/docs/man ] || mkdir httemplate/docs/man
-       [ -e ./httemplate/docs/man/bin ] || mkdir httemplate/docs/man/bin
-       [ -e ./httemplate/docs/man/FS ] || mkdir httemplate/docs/man/FS
-       [ -e ./httemplate/docs/man/FS/UI ] || mkdir httemplate/docs/man/FS/UI
-       [ -e ./httemplate/docs/man/FS/part_export ] || mkdir httemplate/docs/man/FS/part_export
-       bin/pod2x
-
-install-docs: docs
-       [ -e ${FREESIDE_DOCUMENT_ROOT} ] && mv ${FREESIDE_DOCUMENT_ROOT} ${FREESIDE_DOCUMENT_ROOT}.`date +%Y%m%d%H%M%S` || true
-       cp -r ${TEMPLATE}docs ${FREESIDE_DOCUMENT_ROOT}
-       [ "${TEMPLATE}" = "asp" -a ! -e ${ASP_GLOBAL} ] && mkdir ${ASP_GLOBAL} || true
-       [ "${TEMPLATE}" = "asp" ] && chown -R freeside ${ASP_GLOBAL} || true
-       [ "${TEMPLATE}" = "asp" ] && cp htetc/global.asa ${ASP_GLOBAL} || true
-       [ "${TEMPLATE}" = "asp" ] && \
-         perl -p -i -e "\
-           s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \
-         " ${ASP_GLOBAL}/global.asa || true
-       [ "${TEMPLATE}" = "mason" ] && cp htetc/handler.pl ${MASON_HANDLER} || true
-       [ "${TEMPLATE}" = "mason" ] && \
-         perl -p -i -e "\
-           s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \
-           s'%%%RT_ENABLED%%%'${RT_ENABLED}'g; \
-         " ${MASON_HANDLER} || true
-       [ "${TEMPLATE}" = "mason" -a ! -e ${MASONDATA} ] && mkdir ${MASONDATA} || true
-       [ "${TEMPLATE}" = "mason" ] && chown -R freeside ${MASONDATA} || true
-
-dev-docs: docs
-       [ -e ${FREESIDE_DOCUMENT_ROOT} ] && mv ${FREESIDE_DOCUMENT_ROOT} ${FREESIDE_DOCUMENT_ROOT}.`date +%Y%m%d%H%M%S` || true
-       ln -s ${FREESIDE_PATH}/masondocs ${FREESIDE_DOCUMENT_ROOT}
-       cp htetc/handler.pl ${MASON_HANDLER}
-       perl -p -i -e "\
-         s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \
-         s'%%%RT_ENABLED%%%'${RT_ENABLED}'g; \
-         s'###use Module::Refresh;###'use Module::Refresh;'; \
-         s'###Module::Refresh->refresh;###'Module::Refresh->refresh;'; \
-       " ${MASON_HANDLER} || true
-
-
-perl-modules:
-       cd FS; \
-       [ -e Makefile ] || perl Makefile.PL; \
-       make; \
-       perl -p -i -e "\
-         s/%%%VERSION%%%/${VERSION}/g;\
-       " blib/lib/FS.pm
-
-install-perl-modules: perl-modules
-       [ -L ${PERL_INC_DEV_KLUDGE}/FS ] \
-         && rm ${PERL_INC_DEV_KLUDGE}/FS \
-         && mv ${PERL_INC_DEV_KLUDGE}/FS.old ${PERL_INC_DEV_KLUDGE}/FS \
-         || true
-       cd FS; \
-       make install UNINST=1
-
-dev-perl-modules:
-       [ -d ${PERL_INC_DEV_KLUDGE}/FS -a ! -L ${PERL_INC_DEV_KLUDGE}/FS ] \
-         && mv ${PERL_INC_DEV_KLUDGE}/FS ${PERL_INC_DEV_KLUDGE}/FS.old \
-         || true
-
-       rm -rf ${PERL_INC_DEV_KLUDGE}/FS
-       ln -sf ${FREESIDE_PATH}/FS/FS ${PERL_INC_DEV_KLUDGE}/FS
-
-install-init:
-       #[ -e ${INIT_FILE} ] || install -o root -g ${INSTALLGROUP} -m 711 init.d/freeside-init ${INIT_FILE}
-       install -o root -g ${INSTALLGROUP} -m 711 init.d/freeside-init ${INIT_FILE}
-       perl -p -i -e "\
-         s/%%%QUEUED_USER%%%/${QUEUED_USER}/g;\
-         s/%%%SELFSERVICE_USER%%%/${SELFSERVICE_USER}/g;\
-         s/%%%SELFSERVICE_MACHINES%%%/${SELFSERVICE_MACHINES}/g;\
-       " ${INIT_FILE}
-       ${INIT_INSTALL}
-
-install-apache:
-       [ -d ${APACHE_CONF} ] && \
-         ( install -o root -m 755 htetc/freeside-base.conf ${APACHE_CONF} && \
-           ( [ ${RT_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-rt.conf ${APACHE_CONF} || true ) && \
-           perl -p -i -e "\
-             s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \
-           " ${APACHE_CONF}/freeside-*.conf \
-         ) || true
-
-install-selfservice:
-       [ -e ~freeside/.ssh/id_dsa.pub ] || su - freeside -c 'ssh-keygen -t dsa'
-       for MACHINE in ${SELFSERVICE_MACHINES}; do \
-         scp -r fs_selfservice/FS-SelfService ${SELFSERVICE_INSTALL_USER}@$$MACHINE:. ;\
-         ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\
-         ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\
-         scp ~freeside/.ssh/id_dsa.pub ${SELFSERVICE_INSTALL_USER}@$$MACHINE:. ;\
-         ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo ${SELFSERVICE_INSTALL_USERADD} freeside; sudo install -d -o freeside -m 600 ~freeside/.ssh/" ;\
-         ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo ${SELFSERVICE_INSTALL_USERADD} freeside; sudo install -o freeside -m 600 ./id_dsa.pub ~freeside/.ssh/authorized_keys" ;\
-          ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo install -o freeside -d /usr/local/freeside" ;\
-       done
-
-update-selfservice:
-       for MACHINE in ${SELFSERVICE_MACHINES}; do \
-         RSYNC_RSH=ssh rsync -rlptz fs_selfservice/FS-SelfService/ ${SELFSERVICE_INSTALL_USER}@$$MACHINE:FS-SelfService ;\
-         ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\
-         ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\
-       done
-
-install: install-perl-modules install-docs install-init install-apache install-rt
-
-deploy: install
-       ${HTTPD_RESTART}
-       ${FREESIDE_RESTART}
-
-dev: dev-perl-modules dev-docs
-
-create-database:
-       perl -e 'use DBIx::DataSource qw( create_database ); create_database( "${DATASOURCE}", "${DB_USER}", "${DB_PASSWORD}" ) or die $$DBIx::DataSource::errstr;'
-
-create-config: install-perl-modules
-       [ -e ${FREESIDE_CONF} ] && mv ${FREESIDE_CONF} ${FREESIDE_CONF}.`date +%Y%m%d%H%M%S` || true
-       install -d -o freeside ${FREESIDE_CONF}
-
-       touch ${FREESIDE_CONF}/secrets
-       chown freeside ${FREESIDE_CONF}/secrets
-       chmod 600 ${FREESIDE_CONF}/secrets
-
-       echo -e "${DATASOURCE}\n${DB_USER}\n${DB_PASSWORD}" >${FREESIDE_CONF}/secrets
-       chmod 600 ${FREESIDE_CONF}/secrets
-       chown freeside ${FREESIDE_CONF}/secrets
-
-       mkdir "${FREESIDE_CONF}/conf.${DATASOURCE}"
-       rm -rf conf/registries #old dirs just won't go away
-       #cp conf/[a-z]* "${FREESIDE_CONF}/conf.${DATASOURCE}"
-       cp `ls -d conf/[a-z]* | grep -v CVS` "${FREESIDE_CONF}/conf.${DATASOURCE}"
-       chown -R freeside "${FREESIDE_CONF}/conf.${DATASOURCE}"
-
-       mkdir "${FREESIDE_CONF}/counters.${DATASOURCE}"
-       chown freeside "${FREESIDE_CONF}/counters.${DATASOURCE}"
-
-       mkdir "${FREESIDE_CONF}/cache.${DATASOURCE}"
-       chown freeside "${FREESIDE_CONF}/cache.${DATASOURCE}"
-
-       mkdir "${FREESIDE_CONF}/export.${DATASOURCE}"
-       chown freeside "${FREESIDE_CONF}/export.${DATASOURCE}"
-
-configure-rt:
-       cd rt; \
-       cp config.layout.in config.layout; \
-       perl -p -i -e "\
-         s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g;\
-         s'%%%MASONDATA%%%'${MASONDATA}'g;\
-       " config.layout; \
-       ./configure --enable-layout=Freeside\
-                   --with-db-type=Pg \
-                   --with-db-dba=${DB_USER} \
-                   --with-db-database=${RT_DB_DATABASE} \
-                   --with-db-rt-user=${DB_USER} \
-                   --with-db-rt-pass=${DB_PASSWORD} \
-                   --with-web-user=freeside \
-                   --with-web-group=freeside \
-                   --with-rt-group=freeside
-
-create-rt: configure-rt
-       [ -d /opt           ] || mkdir /opt           #doh
-       [ -d /opt/rt3       ] || mkdir /opt/rt3       #
-       [ -d /opt/rt3/share ] || mkdir /opt/rt3/share #
-       cd rt; make install
-       echo -e "${DB_PASSWORD}\n\\d sessions"\
-        | psql -U ${DB_USER} -W ${RT_DB_DATABASE} 2>&1\
-        | grep '^Did not find'\
-        && rt/sbin/rt-setup-database --dba '${DB_USER}' \
-                                    --dba-password '${DB_PASSWORD}' \
-                                    --action schema \
-        || true
-       rt/sbin/rt-setup-database --action insert_initial \
-       && rt/sbin/rt-setup-database --action insert --datafile ${RT_PATH}/etc/initialdata \
-       || true
-       perl -p -i -e "\
-         s'%%%RT_DOMAIN%%%'${RT_DOMAIN}'g;\
-         s'%%%RT_TIMEZONE%%%'${RT_TIMEZONE}'g;\
-         s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\
-       " ${RT_PATH}/etc/RT_SiteConfig.pm
-
-install-rt:
-       [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true
-
-clean:
-       rm -rf aspdocs masondocs
-       cd FS; \
-       make clean
-
-#these are probably only useful if you're me...
-
-upload-docs: forcehtmlman
-       ssh 420.am rm -rf /var/www/www.sisd.com/freeside/docs
-       scp -pr httemplate/docs 420.am:/var/www/www.sisd.com/freeside/docs
-
-release: upload-docs
-       cd /home/ivan/freeside
-       #cvs tag ${TAG}
-       cvs tag -F ${TAG}
-
-       #cd /home/ivan
-       cvs export -r ${TAG} -d freeside-${VERSION} freeside
-       tar czvf freeside-${VERSION}.tar.gz freeside-${VERSION}
-
-       scp freeside-${VERSION}.tar.gz ivan@420.am:/var/www/www.sisd.com/freeside/
-       mv freeside-${VERSION} freeside-${VERSION}.tar.gz ..
-
-update-webdemo:
-       ssh ivan@420.am '( cd freeside; cvs update -d -P )'
-       #ssh root@420.am '( cd /home/ivan/freeside; make clean; make deploy )'
-       ssh root@420.am '( cd /home/ivan/freeside; make deploy )'
-
diff --git a/README b/README
deleted file mode 100644 (file)
index 25689e9..0000000
--- a/README
+++ /dev/null
@@ -1,45 +0,0 @@
-Freeside
-
-Copyright (C) 2005 Freeside Internet Services, Inc.
-Copyright (C) 2000-2005 Ivan Kohler
-Copyright (C) 1999 Silicon Interactive Software Design
-All rights reserved
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of:
-
-        a) the GNU General Public License as published by the Free
-        Software Foundation; either version 2, or (at your option) any
-        later version
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-  
-    You should have received a copy of the GNU General Public
-    License along with this program, in the file `GPL'; if not,
-    write to the Free Software Foundation, Inc., 59 Temple Place - Suite
-    330, Boston, MA 02111-1307, USA.
-
-Freeside is a billing and administration package for Internet Service 
-Providers.
-
-The Freeside home page is at `http://www.sisd.com/freeside'.
-
-The documentation is in `httemplate/docs'.
-
-A mailing list for users is available.  Send a blank message to
-<freeside-users-subscribe@sisd.com> to subscribe.
-
-A mailing list for developers is available.  It is intended to be lower volume
-and higher SNR than the users list.  Send a blank message to
-<freeside-devel-subscribe@sisd.com> to subscribe.
-
-Commercial installation, customization and support services as well as
-preconfigured appliances are available from Ivan Kohler <ivan@sisd.com>.
-Requests for free support sent to me directly will be ignored.  Please
-subscribe to the the user mailing list to request free support!
-
-Ivan Kohler <ivan-freeside_readme@420.am>
-
diff --git a/README.1.5.0pre6 b/README.1.5.0pre6
deleted file mode 100644 (file)
index f2ee7e2..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-CREATE TABLE cust_pay_refund (
-    payrefundnum serial NOT NULL,
-    paynum int NOT NULL,
-    refundnum int NOT NULL,
-    _date int NOT NULL,
-    amount decimal(10,2) NOT NULL,
-    PRIMARY KEY (payrefundnum)
-);
-CREATE INDEX cust_pay_refund1 ON cust_pay_refund(paynum);
-CREATE INDEX cust_pay_refund2 ON cust_pay_refund(refundnum);
-
-CREATE TABLE cust_pay_void (
-  paynum int NOT NULL,
-  custnum int NOT NULL,
-  paid decimal(10,2) NOT NULL,
-  _date int,
-  payby char(4) NOT NULL,
-  payinfo varchar(80),
-  paybatch varchar(80),
-  closed char(1),
-  void_date int,
-  reason varchar(80),
-  otaker varchar(32) NOT NULL,
-  PRIMARY KEY (paynum)
-);
-CREATE INDEX cust_pay_void1 ON cust_pay_void(custnum);
-
-alter table svc_external alter column id drop not null;
-alter table h_svc_external alter column id drop not null;
-
-INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 20, 'svc_external-id', 'en_US', 'External ID' );
-INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 21, 'svc_external-title', 'en_US', 'Title' );
-
-CREATE TABLE part_pkg_option (
-  optionnum int primary key,
-  pkgpart int not null,
-  optionname varchar(80) not null,
-  optionvalue text NULL
-);
-CREATE INDEX part_pkg_option1 ON part_pkg_option ( pkgpart );
-CREATE INDEX part_pkg_option2 ON part_pkg_option ( optionname );
-
-dbdef-create username
-create-history-tables username cust_pay_refund cust_pay_void part_pkg_option
-dbdef-create username
-
diff --git a/README.1.5.7 b/README.1.5.7
deleted file mode 100644 (file)
index e890f01..0000000
+++ /dev/null
@@ -1,199 +0,0 @@
-NOTE: Version numbering has been simplified.  1.5.7 is the version after
-1.5.0pre6.  It is still a development version - releases with odd numbered 
-middle parts (NN in x.NN.x) are development versions, like Perl or Linux.
-
-install DBIx::DBSchema 0.26
-
-CREATE TABLE rate (
-    ratenum serial NOT NULL,
-    ratename varchar(80) NOT NULL,
-    PRIMARY KEY (ratenum)
-);
-
-CREATE TABLE rate_detail (
-    ratedetailnum serial NOT NULL,
-    ratenum int NOT NULL,
-    orig_regionnum int NULL,
-    dest_regionnum int NOT NULL,
-    min_included int NOT NULL,
-    min_charge decimal(10,2) NOT NULL,
-    sec_granularity int NOT NULL
-);
-CREATE UNIQUE INDEX rate_detail1 ON rate_detail ( ratenum, orig_regionnum, dest_regionnum );
-
-CREATE TABLE rate_region (
-    regionnum serial NOT NULL,
-    regionname varchar(80) NOT NULL,
-    PRIMARY KEY (regionnum)
-);
-
-CREATE TABLE rate_prefix (
-    prefixnum serial NOT NULL,
-    regionnum int NOT NULL, 
-    countrycode varchar(3) NOT NULL,
-    npa varchar(6) NULL,
-    nxx varchar(3) NULL,
-    PRIMARY KEY (prefixnum)
-);
-CREATE INDEX rate_prefix1 ON rate_prefix ( countrycode );
-CREATE INDEX rate_prefix2 ON rate_prefix ( regionnum );
-
-CREATE TABLE reg_code (
-    codenum serial NOT NULL,
-    code varchar(80) NOT NULL,
-    agentnum int NOT NULL,
-    PRIMARY KEY (codenum)
-);
-CREATE UNIQUE INDEX reg_code1 ON reg_code ( agentnum, code );
-CREATE INDEX reg_code2 ON reg_code ( agentnum );
-
-CREATE TABLE reg_code_pkg (
-    codepkgnum serial,
-    codenum int NOT NULL,
-    pkgpart int NOT NULL,
-    PRIMARY KEY (codepkgnum)
-);
-CREATE UNIQUE INDEX reg_code_pkg1 ON reg_code_pkg ( codenum, pkgpart );
-CREATE INDEX reg_code_pkg2 ON reg_code_pkg ( codenum );
-
-CREATE TABLE clientapi_session (
-    sessionnum serial NOT NULL,
-    sessionid varchar(80) NOT NULL,
-    namespace varchar(80) NOT NULL,
-    PRIMARY KEY (sessionnum)
-);
-CREATE UNIQUE INDEX clientapi_session1 ON clientapi_session ( sessionid, namespace );
-
-CREATE TABLE clientapi_session_field (
-    fieldnum serial NOT NULL,
-    sessionnum int NOT NULL,
-    fieldname varchar(80) NOT NULL,
-    fieldvalue text NULL,
-    PRIMARY KEY (fieldnum)
-);
-CREATE UNIQUE INDEX clientapi_session_field1 ON clientapi_session_field ( sessionnum, fieldname );
-
-ALTER TABLE part_pkg ADD promo_code varchar(80) NULL;
-ALTER TABLE h_part_pkg ADD promo_code varchar(80) NULL;
-CREATE INDEX part_pkg2 ON part_pkg ( promo_code );
-CREATE INDEX h_part_pkg2 ON h_part_pkg ( promo_code );
-
-ALTER TABLE cust_main ALTER COLUMN zip DROP NOT NULL;
-ALTER TABLE h_cust_main ALTER COLUMN zip DROP NOT NULL;
-
-ALTER TABLE prepay_credit ADD agentnum integer NULL;
-ALTER TABLE h_prepay_credit ADD agentnum integer NULL;
-
-On current (7.3? definitely 7.4+) Pg:
-
-  ALTER TABLE type_pkgs ADD typepkgnum int;
-  ALTER TABLE type_pkgs ALTER COLUMN typepkgnum SET DEFAULT nextval('public.type_pkgs_typepkgnum_seq'::text);
-  CREATE SEQUENCE type_pkgs_typepkgnum_seq;
-  UPDATE type_pkgs SET typepkgnum = nextval('public.type_pkgs_typepkgnum_seq'::text) WHERE typepkgnum IS NULL;
-  ALTER TABLE type_pkgs ALTER typepkgnum SET NOT NULL;
-  ALTER TABLE type_pkgs ADD PRIMARY KEY (typepkgnum);
-  ALTER TABLE h_type_pkgs ADD typepkgnum int;
-
-  ALTER TABLE cust_bill_pkg ADD billpkgnum int;
-  ALTER TABLE cust_bill_pkg ALTER COLUMN billpkgnum SET DEFAULT nextval('public.cust_bill_pkg_billpkgnum_seq'::text);
-  CREATE SEQUENCE cust_bill_pkg_billpkgnum_seq;
-  UPDATE cust_bill_pkg SET billpkgnum = nextval('public.cust_bill_pkg_billpkgnum_seq'::text) WHERE billpkgnum IS NULL;
-  ALTER TABLE cust_bill_pkg ALTER billpkgnum SET NOT NULL;
-  ALTER TABLE cust_bill_pkg ADD PRIMARY KEY (billpkgnum);
-  ALTER TABLE h_cust_bill_pkg ADD billpkgnum int;
-  
-  ALTER TABLE pkg_svc ADD pkgsvcnum int;
-  ALTER TABLE pkg_svc ALTER COLUMN pkgsvcnum SET DEFAULT nextval('public.pkg_svc_pkgsvcnum_seq'::text);
-  CREATE SEQUENCE pkg_svc_pkgsvcnum_seq;
-  UPDATE pkg_svc SET pkgsvcnum = nextval('public.pkg_svc_pkgsvcnum_seq'::text) WHERE pkgsvcnum IS NULL;
-  ALTER TABLE pkg_svc ALTER pkgsvcnum SET NOT NULL;
-  ALTER TABLE pkg_svc ADD PRIMARY KEY (pkgsvcnum);
-  ALTER TABLE h_pkg_svc ADD pkgsvcnum int;
-  
-  ALTER TABLE part_svc_router ADD svcrouternum int;
-  ALTER TABLE part_svc_router ALTER COLUMN svcrouternum SET DEFAULT nextval('public.part_svc_router_svcrouternum_seq'::text);
-  CREATE SEQUENCE part_svc_router_svcrouternum_seq;
-  UPDATE part_svc_router SET svcrouternum = nextval('public.part_svc_router_svcrouternum_seq'::text) WHERE svcrouternum IS NULL;
-  ALTER TABLE part_svc_router ALTER svcrouternum SET NOT NULL;
-  ALTER TABLE part_svc_router ADD PRIMARY KEY (svcrouternum);
-  ALTER TABLE h_part_svc_router ADD svcrouternum int;
-
-Or on very old Pg (7.2 and earlier (eek), 7.3?):
-
-  ALTER TABLE type_pkgs ADD typepkgnum int;
-  ALTER TABLE type_pkgs ALTER COLUMN typepkgnum SET DEFAULT nextval('type_pkgs_typepkgnum_seq'::text);
-  CREATE SEQUENCE type_pkgs_typepkgnum_seq;
-  UPDATE type_pkgs SET typepkgnum = nextval('type_pkgs_typepkgnum_seq'::text) WHERE typepkgnum IS NULL;
-  UPDATE pg_attribute SET attnotnull = TRUE WHERE attname = 'typepkgnum' AND attrelid = ( SELECT oid FROM pg_class WHERE relname = 'type_pkgs');
-  ALTER TABLE type_pkgs ADD PRIMARY KEY (typepkgnum);
-  ALTER TABLE h_type_pkgs ADD typepkgnum int;
-
-  ALTER TABLE cust_bill_pkg ADD billpkgnum int;
-  ALTER TABLE cust_bill_pkg ALTER COLUMN billpkgnum SET DEFAULT nextval('cust_bill_pkg_billpkgnum_seq'::text);
-  CREATE SEQUENCE cust_bill_pkg_billpkgnum_seq;
-  UPDATE cust_bill_pkg SET billpkgnum = nextval('cust_bill_pkg_billpkgnum_seq'::text) WHERE billpkgnum IS NULL;
-  UPDATE pg_attribute SET attnotnull = TRUE WHERE attname = 'billpkgnum' AND attrelid = ( SELECT oid FROM pg_class WHERE relname = 'cust_bill_pkg');
-  ALTER TABLE cust_bill_pkg ADD PRIMARY KEY (billpkgnum);
-  ALTER TABLE h_cust_bill_pkg ADD billpkgnum int;
-  
-  ALTER TABLE pkg_svc ADD pkgsvcnum int;
-  ALTER TABLE pkg_svc ALTER COLUMN pkgsvcnum SET DEFAULT nextval('pkg_svc_pkgsvcnum_seq'::text);
-  CREATE SEQUENCE pkg_svc_pkgsvcnum_seq;
-  UPDATE pkg_svc SET pkgsvcnum = nextval('pkg_svc_pkgsvcnum_seq'::text) WHERE pkgsvcnum IS NULL;
-  UPDATE pg_attribute SET attnotnull = TRUE WHERE attname = 'pkgsvcnum' AND attrelid = ( SELECT oid FROM pg_class WHERE relname = 'pkg_svc');
-  ALTER TABLE pkg_svc ADD PRIMARY KEY (pkgsvcnum);
-  ALTER TABLE h_pkg_svc ADD pkgsvcnum int;
-  
-  ALTER TABLE part_svc_router ADD svcrouternum int;
-  ALTER TABLE part_svc_router ALTER COLUMN svcrouternum SET DEFAULT nextval('part_svc_router_svcrouternum_seq'::text);
-  CREATE SEQUENCE part_svc_router_svcrouternum_seq;
-  UPDATE part_svc_router SET svcrouternum = nextval('part_svc_router_svcrouternum_seq'::text) WHERE svcrouternum IS NULL;
-  UPDATE pg_attribute SET attnotnull = TRUE WHERE attname = 'svcrouternum' AND attrelid = ( SELECT oid FROM pg_class WHERE relname = 'part_svc_router');
-  ALTER TABLE part_svc_router ADD PRIMARY KEY (svcrouternum);
-  ALTER TABLE h_part_svc_router ADD svcrouternum int;
-
-Installs w/integrated RT:
-  CREATE SEQUENCE attributes_id_seq;
-
-  CREATE TABLE Attributes (
-    id INTEGER DEFAULT nextval('attributes_id_seq'),
-    Name varchar(255) NOT NULL  ,
-    Description varchar(255) NULL  ,
-    Content text,
-    ContentType varchar(16),
-    ObjectType varchar(64),
-    ObjectId integer, -- foreign key to anything
-    Creator integer NOT NULL DEFAULT 0  ,
-    Created TIMESTAMP NULL  ,
-    LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-    LastUpdated TIMESTAMP NULL  ,
-    PRIMARY KEY (id)
-  
-  );
-  
-  CREATE INDEX Attributes1 on Attributes(Name);
-  CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
-  Add these lines to /opt/rt3/etc/RT_SiteConfig.pm (before the "1;"):
-    $RT::URI::freeside::IntegrationType = 'Internal';
-    $RT::URI::freeside::URL = 'http://path/to/your/freeside/';
-    Set($DatabaseHost   , '');
-
-(End of Installs w/integrated RT)
-
-
-(make sure you have upgraded DBIx::DBSchema to 0.26)
-dbdef-create username 
-create-history-tables username rate rate_detail rate_region rate_prefix reg_code reg_code_pkg
-dbdef-create username
-
-install Text::CSV_XS, Spreadsheet::WriteExcel, IO-stringy (IO::Scalar),
-Frontier::RPC (Frontier::RPC2), MIME::Entity (MIME-tools) and IPC::Run3
-
-afterwords (for installs w/integrated RT):
-install HTML::Scrubber, Text::Quoted and Tree::Simple
-make configure-rt
-make deploy
-/opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/3.1.15
-/opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/3.1.17
-
diff --git a/README.1.5.7.lastbit b/README.1.5.7.lastbit
deleted file mode 100644 (file)
index ad29e4c..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-this is ONLY for people upgrading from CVS snapshots after march 12th who
-have most of the changes in README.1.5.7 already.
-
-if you're upgrading from 1.5.0pre6, see README.1.5.7 instead.
-
-if you're upgrading from 1.4.x, see httemplate/docs/upgrade10.html instead.
-
-
-ALTER TABLE rate_detail ADD COLUMN ratedetailnum int;
-ALTER TABLE rate_detail ALTER COLUMN ratedetailnum SET DEFAULT nextval('public.rate_detail_ratedetailnum_seq'::text);
-CREATE SEQUENCE rate_detail_ratedetailnum_seq;
-UPDATE rate_detail SET ratedetailnum = nextval('public.rate_detail_ratedetailnum_seq'::text) WHERE ratedetailnum IS NULL;
-ALTER TABLE rate_detail ALTER ratedetailnum SET NOT NULL;
-ALTER TABLE rate_detail ADD PRIMARY KEY (ratedetailnum);
-ALTER TABLE h_rate_detail ADD COLUMN ratedetailnum int;
-
-ALTER TABLE type_pkgs ADD typepkgnum int;
-ALTER TABLE type_pkgs ALTER COLUMN typepkgnum SET DEFAULT nextval('public.type_pkgs_typepkgnum_seq'::text);
-CREATE SEQUENCE type_pkgs_typepkgnum_seq;
-UPDATE type_pkgs SET typepkgnum = nextval('public.type_pkgs_typepkgnum_seq'::text) WHERE typepkgnum IS NULL;
-ALTER TABLE type_pkgs ALTER typepkgnum SET NOT NULL;
-ALTER TABLE type_pkgs ADD PRIMARY KEY (typepkgnum);
-ALTER TABLE h_type_pkgs ADD typepkgnum int;
-
-ALTER TABLE cust_bill_pkg ADD billpkgnum int;
-ALTER TABLE cust_bill_pkg ALTER COLUMN billpkgnum SET DEFAULT nextval('public.cust_bill_pkg_billpkgnum_seq'::text);
-CREATE SEQUENCE cust_bill_pkg_billpkgnum_seq;
-UPDATE cust_bill_pkg SET billpkgnum = nextval('public.cust_bill_pkg_billpkgnum_seq'::text) WHERE billpkgnum IS NULL;
-ALTER TABLE cust_bill_pkg ALTER billpkgnum SET NOT NULL;
-ALTER TABLE cust_bill_pkg ADD PRIMARY KEY (billpkgnum);
-ALTER TABLE h_cust_bill_pkg ADD billpkgnum int;
-
-ALTER TABLE pkg_svc ADD pkgsvcnum int;
-ALTER TABLE pkg_svc ALTER COLUMN pkgsvcnum SET DEFAULT nextval('public.pkg_svc_pkgsvcnum_seq'::text);
-CREATE SEQUENCE pkg_svc_pkgsvcnum_seq;
-UPDATE pkg_svc SET pkgsvcnum = nextval('public.pkg_svc_pkgsvcnum_seq'::text) WHERE pkgsvcnum IS NULL;
-ALTER TABLE pkg_svc ALTER pkgsvcnum SET NOT NULL;
-ALTER TABLE pkg_svc ADD PRIMARY KEY (pkgsvcnum);
-ALTER TABLE h_pkg_svc ADD pkgsvcnum int;
-
-ALTER TABLE part_svc_router ADD svcrouternum int;
-ALTER TABLE part_svc_router ALTER COLUMN svcrouternum SET DEFAULT nextval('public.part_svc_router_svcrouternum_seq'::text);
-CREATE SEQUENCE part_svc_router_svcrouternum_seq;
-UPDATE part_svc_router SET svcrouternum = nextval('public.part_svc_router_svcrouternum_seq'::text) WHERE svcrouternum IS NULL;
-ALTER TABLE part_svc_router ALTER svcrouternum SET NOT NULL;
-ALTER TABLE part_svc_router ADD PRIMARY KEY (svcrouternum);
-ALTER TABLE h_part_svc_router ADD svcrouternum int;
-
-ALTER TABLE reg_code_pkg ADD codepkgnum int;
-ALTER TABLE reg_code_pkg ALTER COLUMN codepkgnum SET DEFAULT nextval('public.reg_code_pkg_codepkgnum_seq'::text);
-CREATE SEQUENCE reg_code_pkg_codepkgnum_seq;
-UPDATE reg_code_pkg SET codepkgnum = nextval('public.reg_code_pkg_codepkgnum_seq'::text) WHERE codepkgnum IS NULL;
-ALTER TABLE reg_code_pkg ALTER codepkgnum SET NOT NULL;
-ALTER TABLE reg_code_pkg ADD PRIMARY KEY (codepkgnum);
-ALTER TABLE h_reg_code_pkg ADD codepkgnum int;
-
-ALTER TABLE virtual_field ADD vfieldnum int;
-ALTER TABLE virtual_field ALTER COLUMN vfieldnum SET DEFAULT nextval('public.virtual_field_vfieldnum_seq'::text);
-CREATE SEQUENCE virtual_field_vfieldnum_seq;
-UPDATE virtual_field SET vfieldnum = nextval('public.virtual_field_vfieldnum_seq'::text) WHERE vfieldnum IS NULL;
-ALTER TABLE virtual_field ALTER vfieldnum SET NOT NULL;
-ALTER TABLE virtual_field ADD PRIMARY KEY (vfieldnum);
--- ALTER TABLE h_virtual_field ADD vfieldnum int;
-
diff --git a/README.1.5.8 b/README.1.5.8
deleted file mode 100644 (file)
index cf41454..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-
-install JSON
-install Term::ReadKey
-
-install DBIx::DBSchema 0.27 (or later)
-  (if you are running Pg version 7.2.x or earlier, install at least
-   DBIx::DBSchema 0.29)
-install HTML::Widgets:SelectLayers 0.05 (or later)
-install Business::CreditCard 0.28 (or later)
-
-make install-perl-modules
-run "freeside-upgrade username" to uprade your database schema
-
-(if freeside-upgrade hangs, try stopping Apache, all Freeside processes, and
- anything else connected to your database, especially on older Pg versions)
-
-Optional:
-CREATE INDEX cust_pkg2 ON cust_pkg ( pkgpart );
-
-CREATE INDEX cust_bill_pkg2 ON cust_bill_pkg ( pkgnum );
-CREATE INDEX cust_main9 ON cust_main ( county );
-CREATE INDEX cust_main10 ON cust_main ( state );
-CREATE INDEX cust_main11 ON cust_main ( country );
-CREATE INDEX cust_main_county1 ON cust_main_county ( county );
-CREATE INDEX cust_main_county2 ON cust_main_county ( state );
-CREATE INDEX cust_main_county3 ON cust_main_county ( country );
-
-Optional for better VoIP performance:
-CREATE INDEX rate_detail2 ON rate_detail ( ratenum, dest_regionnum );
-
------
-
-Installs w/integrated RT:
-  Install Module::Versions::Report
-
-  chmod a+r /opt/rt3/etc/RT*Config.pm
-  cd rt
-  su freeside
-
-  /opt/rt3/sbin/rt-setup-database --action schema --datadir etc/upgrade/3.3.0
-  /opt/rt3/sbin/rt-setup-database --action acl --datadir etc/upgrade/3.3.0
-  /opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/3.3.0
-
-  /opt/rt3/sbin/rt-setup-database --action schema --datadir etc/upgrade/3.3.11
-  /opt/rt3/sbin/rt-setup-database --action acl --datadir etc/upgrade/3.3.11
-  /opt/rt3/sbin/rt-setup-database --action insert --datadir etc/upgrade/3.3.11
-
-  run "dbdef-create username"
-
-  make configure-rt
-
-------
-
-make install-docs
- (or "make deploy" if you've got everything setup in the Makefile)
-
diff --git a/SCHEMA_CHANGE b/SCHEMA_CHANGE
deleted file mode 100644 (file)
index 26ebeea..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-primarily:
-- edit FS/FS/Schema.pm
-
-if the changes are something other than table and/or column additions:
-- httemplate/docs/upgrade10.html
-- README.1.5.X
-
-for new tables:
-- run bin/generate-table-module tablename
-- edit the resulting FS/FS/table.pm
-
-docs:
-- sorta neglected: FS/FS.pm
-- somehwat neglected: httemplate/docs/schema.html
-- really neglected: httemplate/docs/schema.dia
-
diff --git a/TODO b/TODO
deleted file mode 100644 (file)
index 4c582c9..0000000
--- a/TODO
+++ /dev/null
@@ -1,9 +0,0 @@
-$Id: TODO,v 1.68 2002-02-16 18:14:23 ivan Exp $
-
-The TODO list / bug-tracking is now kept in a database.  See
-http://pouncequick.420.am/rt/
-
-If you are interested in helping with any of these, please join the
-*development* mailing list (send a blank message to
-ivan-freeside-devel-subscribe@sisd.com) to avoid duplication of effort.
-
diff --git a/bin/add-history-records.pl b/bin/add-history-records.pl
deleted file mode 100755 (executable)
index fbf9d09..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-#!/usr/bin/perl
-
-die "This is broken.  Don't use it!\n";
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearchs qsearch);
-
-use Data::Dumper;
-
-my @tables = qw(svc_acct svc_broadband svc_domain svc_external svc_forward svc_www cust_svc domain_record);
-#my @tables = qw(svc_www);
-
-my $user = shift or die &usage;
-my $dbh = adminsuidsetup($user);
-
-my $dbdef = FS::Record::dbdef;
-
-foreach my $table (@tables) {
-
-  my $h_table = 'h_' . $table;
-  my $cnt = 0;
-  my $t_cnt = 0;
-
-  eval "use FS::${table}";
-  die $@ if $@;
-  eval "use FS::${h_table}";
-  die $@ if $@;
-
-  print "Adding history records for ${table}...\n";
-
-  my $dbdef_table = $dbdef->table($table);
-  my $pkey = $dbdef_table->primary_key;
-
-  foreach my $rec (qsearch($table, {})) {
-
-    #my $h_rec = qsearchs(
-    #  $h_table,
-    #  { $pkey => $rec->getfield($pkey) },
-    #  eval "FS::${h_table}->sql_h_searchs(time)",
-    #);
-
-    my $h_rec = qsearchs(
-      $h_table,
-      { $pkey => $rec->getfield($pkey) },
-      "DISTINCT ON ( $pkey ) *",
-      "AND history_action = 'insert' ORDER BY $pkey ASC, history_date DESC",
-      '',
-      'AS maintable',
-    );
-
-    unless ($h_rec) {
-      my $h_insert_rec = $rec->_h_statement('insert', 1);
-      #print $h_insert_rec . "\n";
-      $dbh->do($h_insert_rec);
-      die $dbh->errstr if $dbh->err;
-      $dbh->commit or die $dbh->errstr;
-      $cnt++;
-    }
-
-
-  $t_cnt++;
-
-  }
-
-  print "History records inserted into $h_table: $cnt\n";
-  print "               Total records in $table: $t_cnt\n";
-
-  print "\n";
-
-}
-
-foreach my $table (@tables) {
-
-  my $h_table = 'h_' . $table;
-  my $cnt = 0;
-
-  eval "use FS::${table}";
-  die $@ if $@;
-  eval "use FS::${h_table}";
-  die $@ if $@;
-
-  print "Adding insert records for unmatched delete records on ${table}...\n";
-
-  my $dbdef_table = $dbdef->table($table);
-  my $pkey = $dbdef_table->primary_key;
-
-  #SELECT * FROM h_svc_www
-  #DISTINCT ON ( $pkey ) ?
-  my $where = "
-  WHERE ${pkey} in (
-    SELECT ${h_table}1.${pkey}
-      FROM ${h_table} as ${h_table}1
-      WHERE (
-        SELECT count(${h_table}2.${pkey})
-         FROM ${h_table} as ${h_table}2
-         WHERE ${h_table}2.${pkey} = ${h_table}1.${pkey}
-           AND ${h_table}2.history_action = 'delete'
-      ) > 0
-      AND (
-        SELECT count(${h_table}3.${pkey})
-         FROM ${h_table} as ${h_table}3
-         WHERE ${h_table}3.${pkey} = ${h_table}1.${pkey}
-           AND ( ${h_table}3.history_action = 'insert'
-           OR ${h_table}3.history_action = 'replace_new' )
-      ) = 0
-      GROUP BY ${h_table}1.${pkey})";
-
-
-  my @h_recs = qsearch(
-    $h_table, { },
-    "DISTINCT ON ( $pkey ) *",
-    $where,
-    '',
-    ''
-  );
-
-  foreach my $h_rec (@h_recs) {
-    #print "Adding insert record for deleted record with pkey='" . $h_rec->getfield($pkey) . "'...\n";
-    my $class = 'FS::' . $table;
-    my $rec = $class->new({ $h_rec->hash });
-    my $h_insert_rec = $rec->_h_statement('insert', 1);
-    #print $h_insert_rec . "\n";
-    $dbh->do($h_insert_rec);
-    die $dbh->errstr if $dbh->err;
-    $dbh->commit or die $dbh->errstr;
-    $cnt++;
-  }
-
-  print "History records inserted into $h_table: $cnt\n";
-
-}
-
-
-
-sub usage {
-  die "Usage:\n  add-history-records.pl user\n";
-}
-
diff --git a/bin/apache.export b/bin/apache.export
deleted file mode 100755 (executable)
index 47863a9..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-#use File::Path;
-use File::Rsync;
-use Net::SSH qw(ssh);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch qsearchs);
-use FS::part_export;
-use FS::cust_svc;
-use FS::svc_www;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-#needs the export number in there somewhere too...?
-my $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/apache";
-mkdir $spooldir, 0700 unless -d $spooldir;
-
-my @exports = qsearch('part_export', { 'exporttype' => 'apache' } );
-
-my $rsync = File::Rsync->new({
-  rsh     => 'ssh',
-#  dry_run => 1,
-});
-
-foreach my $export ( @exports ) {
-
-  my $machine = $export->machine;
-  my $file = "$spooldir/$machine.conf";
-
-  open(HTTPD_CONF,">$file") or die "can't open $file: $!";
-
-  my $template = $export->option('template');
-
-  my @svc_www = $export->svc_x;
-
-  foreach my $svc_www ( @svc_www ) {
-    use vars qw($zone $username);
-    $zone = $svc_www->domain_record->zone;
-    $username = $svc_www->svc_acct->username;
-    print HTTPD_CONF eval(qq("$template")). "\n\n";
-  }
-
-  my $user = $export->option('user');
-  my $httpd_conf = $export->option('httpd_conf');
-
-  $rsync->exec( {
-    src       => $file,
-    dest      => "$user\@$machine:$httpd_conf",
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
- # warn $rsync->out;
-
-  my $restart = $export->option('restart') || 'apachectl graceful';
-
-  ssh("root\@$machine", $restart);
-
-}
-
-close HTTPD_CONF;
-
-# -----
-
-sub usage {
-  die "Usage:\n  apache.export user\n"; 
-}
-
diff --git a/bin/artera.import b/bin/artera.import
deleted file mode 100644 (file)
index 716ddda..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-
-use Text::CSV_XS;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearchs);
-use FS::svc_external;
-use FS::svc_domain;
-use FS::svc_acct;
-
-$FS::svc_Common::noexport_hack = 1;
-
-my $svcpart = 30;
-
-my $user = shift
-  or die 'Usage:\n\n  artera.import user <artera_active_orders.csv';
-adminsuidsetup $user;
-
-##
-
-my $csv = new Text::CSV_XS;
-
-my $header = scalar(<>);
-
-my( $num, $linked ) = ( 0, 0 );
-
-while (<>) {
-  my $status = $csv->parse($_)
-    or die $csv->error_input;
-  my($serial, $keycode, $name, $ordernum, $email) = $csv->fields();
-  #warn join(" - ", $serial, $keycode, $name, $ordernum, $email ). "\n";
-
-  $email =~ /^([^@]+)\@([^@]+)$/
-    or die $email;
-  my($username, $domain) = ( $1, $2 );
-  my $svc_domain = qsearchs('svc_domain', { 'domain'  => $domain } );
-  my $cust_svc = '';
-  if ( $svc_domain ) {
-    my $svc_acct = qsearchs('svc_acct', {
-      'username' => $username,
-      'domsvc'   => $svc_domain->svcnum,
-    } );
-    $cust_svc = $svc_acct->cust_svc
-      if $svc_acct;
-  #} else {
-  #  warn "can't find domain $domain\n";
-  }
-
-  my $exist = qsearchs('svc_external', { 'id' => $serial } );
-  next if $exist;
-
-  my $svc_external = new FS::svc_external { 
-    'svcpart' => $svcpart,
-    'pkgnum'  => ( $cust_svc ? $cust_svc->pkgnum : '' ),
-    'id'      => $serial,
-    'title'   => $keycode,
-  };
-  #my $error = $svc_external->check;
-  my $error = $svc_external->insert;
-  if ( $cust_svc && $error =~ /^Already/ ) {
-    warn $error;
-    $svc_external->pkgnum('');
-    $error = $svc_external->insert;
-  }
-  warn $error if $error;
-
-  $num++;
-  $linked++ if $cust_svc;
-  #print "$num imported, $linked linked\n";
-
-}
-
-print "$num imported, $linked linked\n";
-
diff --git a/bin/backup-dvd b/bin/backup-dvd
deleted file mode 100644 (file)
index d0314b4..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/bash
-
-database="freeside"
-DEVICE="/dev/hda"
-
-su freeside -c "pg_dump $database" >/var/backups/$database.sql
-
-DATE=$(date +%Y-%m-%d)
-
-#NOTE: These two paths must end in a / in
-#order to correctly build up the other paths
-#BACKUP_DIR="/backup/directory/"
-BACKUP_DIR="/backup/"
-       #TEMP_BACKUP_FILES_DIR="/backup/temp/"
-
-BACKUP_FILE=$BACKUP_DIR"backup-"$DATE".tar.bz2"
-       #DATABASE_FILE=$TEMP_BACKUP_FILES_DIR"foo-"$DATE".sql"
-
-       #These directories shouldn't end in a / although
-       #I don't think it will cause any problems if
-       #they do. There should be a space at the end though
-       #to ensure the database file gets concatenated correctly.
-       #SOURCE="/a/location /other/locations " $DATABASE_FILE
-
-#echo Removing old backup directories
-rm -rf $BACKUP_DIR
-       #rm -rf $TEMP_BACKUP_FILES_DIR
-
-#echo Creating new backup directories
-mkdir $BACKUP_DIR
-       #mkdir $TEMP_BACKUP_FILES_DIR
-
-       #echo Creating database backup
-       #pg_dump -U username -f $DATABASE_FILE databaseName
-
-#echo Backing up $SOURCE to file $BACKUP_FILE
-#tar -cvpl -f $BACKUP_FILE --anchored --exclude /backup /
-tar -cjpl -f $BACKUP_FILE --anchored --exclude /backup /
-
-       ##This is not necessary and possibly harmful for DVD+RW media
-       #echo Quick blanking media
-       #dvd+rw-format -blank /dev/hdc
-
-#echo Burning backup
-growisofs -dvd-compat -Z $DEVICE -quiet -r -J $BACKUP_FILE
diff --git a/bin/billco-upload b/bin/billco-upload
deleted file mode 100644 (file)
index ce4a43d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-AGENTNUMS="1 2 3"
-
-date=`date +"%Y%m%d"`
-dir="/usr/local/etc/freeside/export.DBI:Pg:dbname=freeside/cust_bill"
-cd "$dir"
-
-for AGENTNUM in $AGENTNUMS; do
-
-  for a in header detail; do
-    mv agentnum$AGENTNUM-$a.csv agentnum$AGENTNUM-$date-$a.csv
-  done
-
-  zip agentnum$AGENTNUM-$date.zip agentnum$AGENTNUM-$date-header.csv agentnum$AGENTNUM-$date-detail.csv
-
-  echo $dir/agentnum$AGENTNUM-$date.zip
-
-done
-
diff --git a/bin/bind.export b/bin/bind.export
deleted file mode 100755 (executable)
index 286e43a..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use File::Path;
-use File::Rsync;
-use Net::SSH qw(ssh);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch qsearchs);
-use FS::part_export;
-use FS::cust_pkg;
-use FS::cust_svc;
-use FS::svc_domain;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-my $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/bind";
-mkdir $spooldir, 0700 unless -d $spooldir;
-
-my @exports = qsearch('part_export', { 'exporttype' => 'bind' } );
-my @sexports = qsearch('part_export', { 'exporttype' => 'bind_slave' } );
-
-my $rsync = File::Rsync->new({
-  rsh     => 'ssh',
-#  dry_run => 1,
-});
-
-foreach my $export ( @exports ) {
-
-  my $machine = $export->machine;
-  my $prefix = "$spooldir/$machine";
-
-  my $bind_rel = $export->option('bind_release');
-  my $ndc_cmd = $export->option('reload')
-                || ( ($bind_rel eq 'BIND9') ? 'rndc' : 'ndc' );
-  my $minttl = $export->option('bind9_minttl');
-
-  #prevent old domain files from piling up
-  #rmtree "$prefix" or die "can't rmtree $prefix.db: $!";
-
-  mkdir $prefix, 0700 unless -d $prefix;
-
-  open(NAMED_CONF,">$prefix/named.conf")
-    or die "can't open $prefix/named.conf: $!";
-
-  if ( -e "$prefix/named.conf.HEADER" ) {
-    open(CONF_HEADER,"<$prefix/named.conf.HEADER")
-      or die "can't open $prefix/named.conf.HEADER: $!";
-    while (<CONF_HEADER>) { print NAMED_CONF $_; }
-    close CONF_HEADER;
-  }
-
-  my $zonepath = $export->option('zonepath');
-  $zonepath =~ s/\/$//;
-
-  my @svc_domain = $export->svc_x;
-
-  foreach my $svc_domain ( @svc_domain ) {
-    my $domain = $svc_domain->domain;
-    my @masters = qsearch('domain_record', {
-      'svcnum' => $svc_domain->svcnum,
-      'rectype' => '_mstr',
-    } );
-    if ( @masters ) {
-      my $masters = join('; ', map { $_->recdata } @masters );
-
-      print NAMED_CONF <<END;
-zone "$domain" {
-       type slave;
-       file "db.$domain";
-       masters { $masters; };
-};
-
-END
-
-    } else {
-
-      print NAMED_CONF <<END;
-zone "$domain" {
-       type master;
-       file "$zonepath/db.$domain";
-};
-
-END
-
-      open (DB_MASTER,">$prefix/db.$domain")
-        or die "can't open $prefix/db.$domain: $!";
-
-      if ($bind_rel eq 'BIND9') {
-        print DB_MASTER "\$TTL $minttl\n\$ORIGIN $domain.\n";
-      }
-
-      my @domain_records =
-        qsearch('domain_record', { 'svcnum' => $svc_domain->svcnum } );
-      foreach my $domain_record (
-        sort { $b->rectype cmp $a->rectype } @domain_records
-      ) {
-        #if ( $domain_record->rectype eq 'SOA' ) {
-        #  print DB_MASTER join("\t", $domain_record-> reczone
-        #} else {
-          print DB_MASTER join("\t",
-            map { $domain_record->getfield($_) }
-              qw( reczone recaf rectype recdata )
-          ), "\n";
-        #}
-      }
-
-      close DB_MASTER;
-
-    }
-
-  }
-
-  $rsync->exec( {
-    src       => "$prefix/",
-    recursive => 1,
-    dest      => "root\@$machine:$zonepath/",
-    exclude   => [qw( *.import named.conf.HEADER named.conf )],
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
- # warn $rsync->out;
-
-  $rsync->exec( {
-    src     => "$prefix/named.conf",
-    dest    => "root\@$machine:". $export->option('named_conf'),
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-#  warn $rsync->out;
-
-  ssh("root\@$machine", "$ndc_cmd reload");
-
-}
-
-close NAMED_CONF;
-
-foreach my $sexport ( @sexports ) { #false laziness with above
-
-  my $machine = $sexport->machine;
-  my $prefix = "$spooldir/$machine";
-
-  my $bind_rel = $sexport->option('bind_release');
-  my $ndc_cmd = ($bind_rel eq 'BIND9') ? 'rndc' : 'ndc';
-
-  #prevent old domain files from piling up
-  #rmtree "$prefix" or die "can't rmtree $prefix.db: $!";
-
-  mkdir $prefix, 0700 unless -d $prefix;
-
-  open(NAMED_CONF,">$prefix/named.conf")
-    or die "can't open $prefix/named.conf: $!";
-
-  if ( -e "$prefix/named.conf.HEADER" ) {
-    open(CONF_HEADER,"<$prefix/named.conf.HEADER")
-      or die "can't open $prefix/named.conf.HEADER: $!";
-    while (<CONF_HEADER>) { print NAMED_CONF $_; }
-    close CONF_HEADER;
-  }
-
-  my $masters = $sexport->option('master');
-
-  #false laziness with  freeside-sqlradius-reset 
-  my @svc_domain =
-    map { qsearchs('svc_domain', { 'svcnum' => $_->svcnum } ) }
-      map { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
-        grep { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
-          $sexport->export_svc;
-
-  foreach my $svc_domain ( @svc_domain ) {
-    my $domain = $svc_domain->domain;
-    print NAMED_CONF <<END;
-zone "$domain" {
-       type slave;
-       file "db.$domain";
-       masters { $masters; };
-};
-
-END
-
-  }
-
-  $rsync->exec( {
-    src     => "$prefix/named.conf",
-    dest    => "root\@$machine:". $sexport->option('named_conf'),
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-#  warn $rsync->out;
-
-  ssh("root\@$machine", "$ndc_cmd reload");
-
-}
-close NAMED_CONF;
-
-# -----
-
-sub usage {
-  die "Usage:\n  bind.export user\n"; 
-}
-
diff --git a/bin/bind.import b/bin/bind.import
deleted file mode 100755 (executable)
index 1cdf567..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-#!/usr/bin/perl -w
-#
-# REQUIRED:
-# -p: part number for domains
-#
-# -n: named.conf file (or an include file with zones you want to import),
-#     for example root@ns.isp.com:/var/named/named.conf
-#
-# OPTIONAL:
-# -d: dry-run, debug: don't insert any records, just dump debugging output
-# -s: import slave zones as master.  useful if you need to recreate your
-#     primary nameserver from a secondary
-# -c dir: override patch for downloading zone files (for example, when
-#         downloading zone files from chrooted bind)
-#
-# need to manually put header in
-#  /usr/local/etc/freeside/export.<datasrc./bind/<machine>/named.conf.HEADER
-# (or, nowadays, better just to include the file freeside exports)
-
-use strict;
-
-use vars qw($domain_svcpart);
-
-use Getopt::Std;
-use Data::Dumper;
-#use BIND::Conf_Parser;
-#use DNS::ZoneParse 0.81;
-
-use Net::SCP qw(scp iscp);
-
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch); #qsearchs);
-#use FS::svc_acct_sm;
-use FS::svc_domain;
-use FS::domain_record;
-#use FS::svc_acct;
-#use FS::part_svc;
-
-use vars qw($opt_p $opt_n $opt_s $opt_c $opt_d);
-getopts("p:n:sc:d");
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-$FS::svc_Common::noexport_hack = 1;
-$FS::domain_record::noserial_hack = 1;
-
-use vars qw($spooldir);
-$spooldir = "/usr/local/etc/freeside/export.". datasrc. "/bind";
-mkdir $spooldir unless -d $spooldir;
-
-$domain_svcpart = $opt_p;
-
-my $named_conf = $opt_n;
-
-use vars qw($named_machine $prefix);
-$named_machine = (split(/:/, $named_conf))[0];
-my $pnamed_machine = $named_machine;
-$pnamed_machine =~ s/^[\w\-]+\@//;
-$prefix = "$spooldir/$pnamed_machine";
-mkdir $prefix unless -d $prefix;
-
-#iscp("$named_conf","$prefix/named.conf.import");
-scp("$named_conf","$prefix/named.conf.import");
-
-##
-
-$FS::svc_domain::whois_hack=1;
-
-my $p = Parser->new;
-$p->parse_file("$prefix/named.conf.import");
-
-print "\nBIND import completed.\n";
-
-##
-
-sub usage {
-  die "Usage:\n\n  bind.import -p partnum -n \"user\@machine:/path/to/named.conf\" [ -s ] [ -c chroot_dir ] [ -f ] user\n";
-}
-
-########
-BEGIN {
-  
-  package Parser;
-  use BIND::Conf_Parser;
-  use vars qw(@ISA $named_dir);
-  @ISA = qw(BIND::Conf_Parser);
-
-  $named_dir = 'COULD_NOT_FIND_NAMED_DIRECTORY_TRY_SETTING_-C_OPTION';
-  sub handle_option {
-    my($self, $option, $argument) = @_;
-    return unless $option eq "directory";
-    $named_dir = $argument;
-    #warn "found named dir: $named_dir\n";
-  }
-  
-  sub handle_zone {
-    my($self, $name, $class, $type, $options) = @_;
-    return unless $class eq 'in';
-    return if grep { $name eq $_ } (qw(
-      . localhost 127.in-addr.arpa 0.in-addr.arpa 255.in-addr.arpa
-      0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
-      0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int
-    ));
-
-    use FS::Record qw(qsearchs);
-    use FS::svc_domain;
-
-    my $domain =
-      qsearchs('svc_domain', { 'domain' => $name } )
-      || new FS::svc_domain( {
-                               svcpart => $main::domain_svcpart,
-                               domain  => $name,
-                               action  => 'N',
-                           } );
-    unless ( $domain->svcnum ) {
-      my $error = $domain->insert;
-      die $error if $error;
-    }
-
-    if ( $type eq 'slave' && !$main::opt_s ) {
-
-      if ( $main::opt_d ) {
-
-        use Data::Dumper;
-        print "$name: ". Dumper($options);
-
-      } else {
-
-        foreach my $master ( @{ $options->{masters} } ) {
-          my $domain_record = new FS::domain_record( {
-            'svcnum'  => $domain->svcnum,
-            'reczone' => '@',
-            'recaf'   => 'IN',
-            'rectype' => '_mstr',
-            'recdata' => $master,
-          } );
-          my $error = $domain_record->insert;
-          die $error if $error;
-        }
-
-      }
-
-    } elsif ( $type eq 'master' || ( $type eq 'slave' && $main::opt_s ) ) {
-
-      my $file = $options->{file};
-  
-      use File::Basename;
-      my $basefile = basename($file);
-      my $sourcefile = $file;
-      if ( $main::opt_c ) {
-        $sourcefile = "$main::opt_c/$sourcefile" if $main::opt_c;
-      } else {
-        $sourcefile = "$named_dir/$sourcefile" unless $file =~ /^\//;
-      }
-
-      use Net::SCP qw(iscp scp);
-      #iscp("$main::named_machine:$sourcefile",
-      #     "$main::prefix/$basefile.import");
-      scp("$main::named_machine:$sourcefile",
-          "$main::prefix/$basefile.import");
-    
-      use DNS::ZoneParse 0.84;
-      my $zone = DNS::ZoneParse->new("$main::prefix/$basefile.import");
-    
-      my $dump = $zone->dump;
-
-      if ( $main::opt_d ) {
-
-        use Data::Dumper;
-        print "$name: ". Dumper($dump);
-
-      } else {
-    
-        foreach my $rectype ( keys %$dump ) {
-          if ( $rectype =~ /^SOA$/i ) {
-            my $rec = $dump->{$rectype};
-            $rec->{email} =~ s/\@/\./;
-            my $domain_record = new FS::domain_record( {
-              'svcnum'  => $domain->svcnum,
-              'reczone' => $rec->{origin},
-              'recaf'   => 'IN',
-              'rectype' => $rectype,
-              'recdata' =>
-                $rec->{primary}. ' '. $rec->{email}. ' ( '.
-               join(' ', map $rec->{$_},
-                             qw( serial refresh retry expire minimumTTL ) ).
-               ' )',
-            } );
-            my $error = $domain_record->insert;
-            die $error if $error;
-         } else {
-            #die $dump->{$rectype};
-
-            my $datasub;
-            if ( $rectype =~ /^MX$/i ) {
-              $datasub = sub { $_[0]->{priority}. ' '. $_[0]->{host}; };
-            } elsif ( $rectype =~ /^TXT$/i ) {
-              $datasub = sub { $_[0]->{text}; };
-            } else {
-              $datasub = sub { $_[0]->{host}; };
-            }
-
-            foreach my $rec ( @{ $dump->{$rectype} } ) {
-              my $domain_record = new FS::domain_record( {
-                'svcnum'  => $domain->svcnum,
-                'reczone' => $rec->{name},
-                'recaf'   => $rec->{class} || 'IN',
-                'rectype' => $rectype,
-                'recdata' => &{$datasub}($rec),
-              } );
-              my $error = $domain_record->insert;
-              if ( $error ) {
-                warn "$error inserting ".
-                     $rec->{name}. ' . '. $domain->domain. "\n";
-                warn Dumper($rec);
-                #system('cat',"$main::prefix/$basefile.import");
-                die;
-              }
-            }
-          }
-        }
-
-      }
-
-    #} else {
-    #  die "unrecognized type $type\n";
-    }
-    
-  }
-
-}
-#########
-
diff --git a/bin/bsdshell.export b/bin/bsdshell.export
deleted file mode 100755 (executable)
index 6e0d103..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/usr/bin/perl -w
-
-# bsdshell export
-
-use strict;
-use File::Rsync;
-use Net::SSH qw(ssh);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch qsearchs);
-use FS::part_export;
-use FS::cust_svc;
-use FS::svc_acct;
-
-my @saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-my $spooldir = "/usr/local/etc/freeside/export.". datasrc;
-#my $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/shell";
-
-my @bsd_exports = qsearch('part_export', { 'exporttype' => 'bsdshell' } );
-
-my $rsync = File::Rsync->new({
-  rsh     => 'ssh',
-#  dry_run => 1,
-});
-
-foreach my $export ( @bsd_exports ) {
-  my $machine = $export->machine;
-  my $prefix = "$spooldir/$machine";
-  mkdir $prefix, 0700 unless -d $prefix;
-
-  #LOCKING!!!
-
-  ( open(MASTER,">$prefix/master.passwd")
-    #!!!  and flock(MASTER,LOCK_EX|LOCK_NB)
-  ) or die "Can't open $prefix/master.passwd: $!";
-  ( open(PASSWD,">$prefix/passwd")
-    #!!!  and flock(PASSWD,LOCK_EX|LOCK_NB)
-  ) or die "Can't open $prefix/passwd: $!";
-
-  chmod 0644, "$prefix/passwd";
-  chmod 0600, "$prefix/master.passwd";
-
-  my @svc_acct = $export->svc_x;
-
-  next unless @svc_acct;
-
-  foreach my $svc_acct ( sort { $a->uid <=> $b->uid } @svc_acct ) {
-
-    my $password = $svc_acct->_password;
-    my $cpassword;
-    #if ( ( length($password) <= 8 )
-    if ( ( length($password) <= 12 )
-         && ( $password ne '*' )
-         && ( $password ne '!!' )
-         && ( $password ne '' )
-    ) {
-      $cpassword=crypt($password,
-                       $saltset[int(rand(64))].$saltset[int(rand(64))]
-      );
-      # MD5 !!!!
-    } else {
-      $cpassword=$password;
-    }
-
-    ###
-    # FORMAT OF THE PASSWD FILE HERE
-    print PASSWD join(":",
-      $svc_acct->username,
-      'x', # "##". $username,
-      $svc_acct->uid,
-      $svc_acct->gid,
-      $svc_acct->finger,
-      $svc_acct->dir,
-      $svc_acct->shell,
-    ), "\n";
-
-    ###
-    # FORMAT OF FreeBSD MASTER PASSWD FILE HERE
-    print MASTER join(":",
-      $svc_acct->username,              # User name
-      $cpassword,                       # Encrypted password
-      $svc_acct->uid,                   # User ID
-      $svc_acct->gid,                   # Group ID
-      "",                               # Login Class
-      "0",                              # Password Change Time
-      "0",                              # Password Expiration Time
-      $svc_acct->finger,                # Users name
-      $svc_acct->dir,                   # Users home directory
-      $svc_acct->shell,                 # shell
-    ), "\n" ;
-  
-  }
-
-  #!!! flock(MASTER,LOCK_UN);
-  #!!! flock(PASSWD,LOCK_UN);
-  close MASTER;
-  close PASSWD;
-
-  $rsync->exec( {
-    src  => "$prefix/passwd",
-    dest => "root\@$machine:/etc/passwd"
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-
-  $rsync->exec( {
-    src  => "$prefix/master.passwd",
-    dest => "root\@$machine:/etc/master.passwd.new"
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-  ssh("root\@$machine", "pwd_mkdb /etc/master.passwd.new");
-
-  # UNLOCK!!
-}
diff --git a/bin/create-fetchmailrc b/bin/create-fetchmailrc
deleted file mode 100644 (file)
index 11bde0c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/perl -w
-# this quick hack helps you generate/maintain .fetchmailrc files from
-# FS::acct_snarf data.  it is run from a shellcommands export as:
-# create-fetchmailrc $username $dir $snarf_machine1 $snarf_username1 $snarf__password1 $snarf_machine2 $snarf_username2 $snarf__password2 ...
-
-use strict;
-use POSIX qw( setuid setgid );
-
-my $header = <<END;
-# Configuration created by create-fetchmailrc
-set postmaster "postmaster"
-set bouncemail
-set no spambounce
-set properties ""
-set daemon 240
-END
-
-my $username = shift @ARGV or die "no username specified\n";
-my $homedir  = shift @ARGV or die "no homedir specified\n";
-my $filename = "$homedir/.fetchmailrc";
-
-my $gid = scalar(getgrnam($username)) or die "can't find $username's gid\n";
-my $uid = scalar(getpwnam($username)) or die "can't find $username's uid\n";
-
-exit unless $ARGV[0];
-
-open(FETCHMAILRC, ">$filename") or die "can't open $filename: $!\n";
-chown $uid, $gid, $filename     or die "can't chown $uid.$gid $filename: $!\n";
-chmod 0600, $filename           or die "can't chmod 600 $filename: $!\n";
-print FETCHMAILRC $header;
-
-while ($ARGV[0]) {
-  my( $s_machine, $s_username, $s_password ) = splice( @ARGV, 0, 3 );
-  print FETCHMAILRC <<END;
-poll $s_machine
-       user '$s_username' there with password '$s_password' is '$username' here
-END
-}
-
-close FETCHMAILRC;
-
-setgid($gid) or die "can't setgid $gid\n";
-setuid($uid) or die "can't setuid $uid\n";
-$ENV{HOME} = $homedir;
-
-system(qq(fetchmail -a -K --antispam "550,451" -d 180 -f $filename));
-
diff --git a/bin/create-history-tables b/bin/create-history-tables
deleted file mode 100755 (executable)
index 39248bf..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use DBI;
-use DBIx::DBSchema 0.21;
-use DBIx::DBSchema::Table;
-use DBIx::DBSchema::Column;
-use DBIx::DBSchema::ColGroup::Unique;
-use DBIx::DBSchema::ColGroup::Index;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(dbdef);
-
-my $user = shift or die &usage;
-my $dbh = adminsuidsetup $user;
-
-my $schema = dbdef();
-
-#false laziness w/fs-setup
-my @tables = scalar(@ARGV)
-               ? @ARGV
-               : grep { ! /^(h|pg)_/ } $schema->tables;
-foreach my $table ( @tables ) {
-  next if grep { /^h_$table/ } $schema->tables;
-  warn "creating history table for $table\n";
-  my $tableobj = $schema->table($table)
-    or die "unknown table $table (did you run dbdef-create?)\n";
-  my $h_tableobj = DBIx::DBSchema::Table->new( {
-    name        => "h_$table",
-    primary_key => 'historynum',
-    unique      => DBIx::DBSchema::ColGroup::Unique->new( [] ),
-    'index'     => DBIx::DBSchema::ColGroup::Index->new( [
-                     @{$tableobj->unique->lol_ref},
-                     @{$tableobj->index->lol_ref}
-                   ] ),
-    columns     => [
-                     DBIx::DBSchema::Column->new( {
-                       'name'    => 'historynum',
-                       'type'    => 'serial',
-                       'null'    => 'NOT NULL',
-                       'length'  => '',
-                       'default' => '',
-                       'local'   => '',
-                     } ),
-                     DBIx::DBSchema::Column->new( {
-                       'name'    => 'history_date',
-                       'type'    => 'int',
-                       'null'    => 'NULL',
-                       'length'  => '',
-                       'default' => '',
-                       'local'   => '',
-                     } ),
-                     DBIx::DBSchema::Column->new( {
-                       'name'    => 'history_user',
-                       'type'    => 'varchar',
-                       'null'    => 'NOT NULL',
-                       'length'  => '80',
-                       'default' => '',
-                       'local'   => '',
-                     } ),
-                     DBIx::DBSchema::Column->new( {
-                       'name'    => 'history_action',
-                       'type'    => 'varchar',
-                       'null'    => 'NOT NULL',
-                       'length'  => '80',
-                       'default' => '',
-                       'local'   => '',
-                     } ),
-                     map {
-                       my $column = $tableobj->column($_);
-                       $column->type('int')
-                         if $column->type eq 'serial';
-                       $column->default('')
-                         if $column->default =~ /^nextval\(/i;
-                       ( my $local = $column->local ) =~ s/AUTO_INCREMENT//i;
-                       $column->local($local);
-                       $column;
-                     } $tableobj->columns
-                   ],
-  } );
-  foreach my $statement ( $h_tableobj->sql_create_table($dbh) ) {
-    $dbh->do( $statement )
-      or die "CREATE error: ". $dbh->errstr. "\ndoing statement: $statement";
-  }
-
-}
-
-$dbh->commit or die $dbh->errstr;
-$dbh->disconnect or die $dbh->errstr;
-
-sub usage {
-  die "Usage:\n  create-history-tables user [ table table ... ] \n";
-}
-
diff --git a/bin/dbdef-create b/bin/dbdef-create
deleted file mode 100755 (executable)
index fea02c8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use DBI;
-use DBIx::DBSchema 0.26;
-use FS::UID qw(adminsuidsetup datasrc driver_name);
-
-my $user = shift or die &usage;
-
-my($dbh)=adminsuidsetup $user;
-
-#needs to match FS::Record
-my($dbdef_file) = "/usr/local/etc/freeside/dbdef.". datasrc;
-
-my $dbdef = new_native DBIx::DBSchema $dbh;
-
-#print $dbdef->pretty_print;
-
-#important
-$dbdef->save($dbdef_file);
-
-sub usage {
-  die "Usage:\n  dbdef-create user\n";
-}
diff --git a/bin/fix-sequences b/bin/fix-sequences
deleted file mode 100755 (executable)
index dc4abd7..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/perl -Tw
-
-# run dbdef-create first!
-
-use strict;
-use DBI;
-use DBIx::DBSchema 0.26;
-use DBIx::DBSchema::Table;
-use DBIx::DBSchema::Column;
-use DBIx::DBSchema::ColGroup::Unique;
-use DBIx::DBSchema::ColGroup::Index;
-use FS::UID qw(adminsuidsetup driver_name);
-use FS::Record qw(dbdef);
-
-my $user = shift or die &usage;
-my $dbh = adminsuidsetup $user;
-
-my $schema = dbdef();
-
-#false laziness w/fs-setup
-my @tables = scalar(@ARGV)
-               ? @ARGV
-               : grep { ! /^h_/ } $schema->tables;
-foreach my $table ( @tables ) {
-  my $tableobj = $schema->table($table)
-    or die "unknown table $table (did you run dbdef-create?)\n";
-
-  my $primary_key = $tableobj->primary_key;
-  next unless $primary_key;
-
-  my $col = $tableobj->column($primary_key);
-
-
-  next unless uc($col->type) eq 'SERIAL'
-              || ( driver_name eq 'Pg'
-                     && defined($col->default)
-                     && $col->default =~ /^nextval\(/i
-                 )
-              || ( driver_name eq 'mysql'
-                     && defined($col->local)
-                     && $col->local =~ /AUTO_INCREMENT/i
-                 );
-
-  my $seq = "${table}_${primary_key}_seq";
-  if ( driver_name eq 'Pg'
-       && defined($col->default) 
-       && $col->default =~ /^nextval\('"(public\.)?(\w+_seq)"'::text\)$/
-     ) {
-    $seq = $2;
-  }
-
-  warn "fixing sequence for $table\n";
-
-
-  my $sql = "SELECT setval( '$seq',
-                            ( SELECT max($primary_key) FROM $table ) );";
-
-  #warn $col->default. " $seq\n$sql\n";
-  $dbh->do( $sql ) or die $dbh->errstr;
-
-}
-
-$dbh->commit or die $dbh->errstr;
-$dbh->disconnect or die $dbh->errstr;
-
-sub usage {
-  die "Usage:\n  fix-sequences user [ table table ... ] \n";
-}
-
diff --git a/bin/freeside-init b/bin/freeside-init
deleted file mode 100755 (executable)
index fe12931..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#! /bin/sh
-#
-# start the freeside job queue daemon
-
-#PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/local/bin/freeside-queued
-NAME=freeside-queued
-DESC="freeside job queue daemon"
-USER="ivan"
-
-test -f $DAEMON || exit 0
-
-set -e
-
-case "$1" in
-  start)
-       echo -n "Starting $DESC: "
-#      start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid -b -m\
-#              --exec $DAEMON
-       $DAEMON $USER &
-       echo "$NAME."
-       ;;
-  stop)
-       echo -n "Stopping $DESC: "
-       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
-       echo "$NAME."
-        rm /var/run/$NAME.pid
-       ;;
-  #reload)
-       #
-       #       If the daemon can reload its config files on the fly
-       #       for example by sending it SIGHUP, do it here.
-       #
-       #       If the daemon responds to changes in its config file
-       #       directly anyway, make this a do-nothing entry.
-       #
-       # echo "Reloading $DESC configuration files."
-       # start-stop-daemon --stop --signal 1 --quiet --pidfile \
-       #       /var/run/$NAME.pid --exec $DAEMON
-  #;;
-  restart|force-reload)
-       #
-       #       If the "reload" option is implemented, move the "force-reload"
-       #       option to the "reload" entry above. If not, "force-reload" is
-       #       just the same as "restart".
-       #
-        $0 stop
-       sleep 1
-        $0 start
-       ;;
-  *)
-       N=/etc/init.d/$NAME
-       # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-       echo "Usage: $N {start|stop|restart|force-reload}" >&2
-       exit 1
-       ;;
-esac
-
-exit 0
diff --git a/bin/freeside-session-kill b/bin/freeside-session-kill
deleted file mode 100755 (executable)
index d5fd703..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use vars qw($conf);
-use Fcntl qw(:flock);
-use FS::UID qw(adminsuidsetup datasrc dbh);
-use FS::Record qw(dbdef qsearch fields);
-use FS::session;
-use FS::svc_acct;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-my $sessionlock = "/usr/local/etc/freeside/session-kill.lock.". datasrc;
-
-open(LOCK,"+>>$sessionlock") or die "Can't open $sessionlock: $!";
-select(LOCK); $|=1; select(STDOUT);
-unless ( flock(LOCK,LOCK_EX|LOCK_NB) ) {
-  seek(LOCK,0,0);
-  my($pid)=<LOCK>;
-  chop($pid);
-  #no reason to start loct of blocking processes
-  die "Is another session kill process running under pid $pid?\n";
-}
-seek(LOCK,0,0);
-print LOCK $$,"\n";
-
-$FS::UID::AutoCommit = 0;
-
-my $now = time;
-
-#uhhhhh
-
-use DBIx::DBSchema;
-use DBIx::DBSchema::Table; #down this path lies madness
-use DBIx::DBSchema::Column;
-
-my $dbdef = dbdef or die;
-#warn $dbdef;
-#warn $dbdef->{'tables'};
-#warn keys %{$dbdef->{'tables'}};
-my $session_table = $dbdef->table('session') or die;
-my $svc_acct_table = $dbdef->table('svc_acct') or die;
-
-my $session_svc_acct = new DBIx::DBSchema::Table ( 'session,svc_acct', '', '', '',
-  map( DBIx::DBSchema::Column->new( "session.$_",
-                              $session_table->column($_)->type,
-                              $session_table->column($_)->null,
-                              $session_table->column($_)->length,
-  ), $session_table->columns() ),
-  map( DBIx::DBSchema::Column->new( "svc_acct.$_",
-                              $svc_acct_table->column($_)->type,
-                              $svc_acct_table->column($_)->null,
-                              $svc_acct_table->column($_)->length,
-  ), $svc_acct_table->columns ),
-#  map("svc_acct.$_", $svc_acct_table->columns),
-);
-
-$dbdef->addtable($session_svc_acct); #madness, i tell you
-
-$FS::Record::DEBUG = 1;
-my @session = qsearch('session,svc_acct', {}, '', ' WHERE '. join(' AND ',
-  'svc_acct.svcnum = session.svcnum',
-  '( session.logout IS NULL OR session.logout = 0 )',
-  "( $now - session.login ) >= svc_acct.seconds"
-). " FOR UPDATE" );
-
-my $dbh = dbh;
-
-foreach my $join ( @session ) {
-
-  my $session = new FS::session ( {
-    map { $_ => $join->{'Hash'}{"session.$_"} } fields('session')
-  } ); #see no evil
-
-  my $svc_acct = new FS::svc_acct ( {
-    map { $_ => $join->{'Hash'}{"svc_acct.$_"} } fields('svc_acct')
-  } );
-
-  #false laziness w/ fs_session_server
-  my $nsession = new FS::session ( { $session->hash } );
-  my $error = $nsession->replace($session);
-  if ( $error ) {
-    $dbh->rollback;
-    die $error;
-  }
-  my $time = $nsession->logout - $nsession->login;
-  my $new_svc_acct = new FS::svc_acct ( { $svc_acct->hash } );
-  my $seconds = $new_svc_acct->seconds;
-  $seconds -= $time;
-  $seconds = 0 if $seconds < 0;
-  $new_svc_acct->seconds( $seconds );
-  $error = $new_svc_acct->replace( $svc_acct );
-  warn "can't debit time from ". $svc_acct->username. ": $error\n"; #don't want to rollback, though
-  #ssenizal eslaf
-
-}
-
-$dbh->commit or die $dbh->errstr;
-
-sub usage {
-  die "Usage:\n\n  freeside-session-kill user\n";
-}
diff --git a/bin/freeside.import b/bin/freeside.import
deleted file mode 100644 (file)
index fdfcc08..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use DBI;
-
-my $s_datasrc = 'DBI:mysql:host=ns1.enetonline.net;port=3307;user=ivan;dbname=freeside';
-my $s_dbuser = 'ivan';
-my $s_dbpass = '';
-
-my $d_datasrc = 'DBI:Pg:dbname=freeside';
-my $d_dbuser = 'freeside';
-my $d_dbpass = '';
-
-#my @tables = qw(
-#addr_block
-#agent
-#agent_type
-#cust_bill
-#cust_bill_event
-#cust_bill_pay
-#cust_bill_pkg
-#cust_bill_pkg_detail
-#cust_credit
-#cust_credit_bill
-#cust_credit_refund
-#cust_main
-#cust_main_county
-#cust_main_invoice
-#cust_pay
-#cust_pay_batch
-#cust_pkg
-#cust_refund
-#cust_svc
-#cust_tax_exempt
-#domain_record
-#export_svc
-#h_addr_block
-#h_agent
-#h_agent_type
-#h_cust_bill
-#h_cust_bill_event
-#h_cust_bill_pay
-#h_cust_bill_pkg
-#h_cust_bill_pkg_detail
-#h_cust_credit
-#h_cust_credit_bill
-#h_cust_credit_refund
-#h_cust_main
-#h_cust_main_county
-#h_cust_main_invoice
-#h_cust_pay
-#h_cust_pay_batch
-#h_cust_pkg
-#h_cust_refund
-#h_cust_svc
-#h_cust_tax_exempt
-#h_domain_record
-#h_export_svc
-#h_msgcat
-#h_nas
-#h_part_bill_event
-#h_part_export
-#h_part_export_option
-#h_part_pkg
-#h_part_pop_local
-#h_part_referral
-#h_part_svc
-#h_part_svc_column
-#h_part_svc_router
-#h_pkg_svc
-#h_port
-#h_prepay_credit
-#h_queue
-#h_queue_arg
-#h_queue_depend
-#h_radius_usergroup
-#h_router
-#h_router_field
-#h_sb_field
-#h_session
-#h_svc_acct
-#h_svc_acct_pop
-#h_svc_broadband
-#h_svc_domain
-#h_svc_forward
-#h_svc_www
-#h_type_pkgs
-#msgcat
-#nas
-#part_bill_event
-#part_export
-#part_export_option
-#part_pkg
-
-my @tables = qw(
-part_pop_local
-part_referral
-part_router_field
-part_sb_field
-part_svc
-part_svc_column
-part_svc_router
-pkg_svc
-port
-prepay_credit
-queue
-queue_arg
-queue_depend
-radius_usergroup
-router
-router_field
-sb_field
-session
-svc_acct
-svc_acct_pop
-svc_broadband
-svc_domain
-svc_forward
-svc_www
-type_pkgs
-);
-
-my $s_dbh = DBI->connect($s_datasrc, $s_dbuser, $s_dbpass) or die $DBI::errstr;
-my $d_dbh = DBI->connect($d_datasrc, $d_dbuser, $d_dbpass) or die $DBI::errstr;
-
-foreach my $table ( @tables ) {
-  $d_dbh->do("delete from $table");
-
-  my $s_sth = $s_dbh->prepare("select * from $table");
-  $s_sth->execute or die $s_sth->errstr;
-
-  my $row;
-  while ( $row = $s_sth->fetchrow_arrayref ) {
-    my $d_sth = $d_dbh->prepare(
-      "insert into $table ( ".
-        join(', ', @{$s_sth->{NAME}} ).
-        ' ) VALUES ( '.
-        join(', ', map { '?' } @{$s_sth->{NAME}} ). 
-        ' )'
-    ) or die $d_dbh->errstr;
-
-    $d_sth->execute(@$row) or die $d_sth->errstr;
-
-  }
-}
-
diff --git a/bin/fs-migrate-part_svc b/bin/fs-migrate-part_svc
deleted file mode 100755 (executable)
index b0f3ac5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch fields);
-use FS::part_svc;
-
-my $user = shift or die &usage;
-my $dbh = adminsuidsetup $user;
-
-my $oldAutoCommit = $FS::UID::AutoCommit;
-local $FS::UID::AutoCommit = 0;
-
-foreach my $part_svc ( qsearch('part_svc', {} ) ) {
-  foreach my $field (
-    grep { defined($part_svc->getfield($part_svc->svcdb.'__'.$_.'_flag') ) }
-      fields($part_svc->svcdb)
-  ) {
-    my $flag = $part_svc->getfield($part_svc->svcdb.'__'.$field.'_flag');
-    if ( uc($flag) =~ /^([DF])$/ ) {
-      my $part_svc_column = new FS::part_svc_column {
-        'svcpart' => $part_svc->svcpart,
-        'columnname' => $field,
-        'columnflag' => $1,
-        'columnvalue' => $part_svc->getfield($part_svc->svcdb.'__'.$field),
-      };
-      my $error = $part_svc_column->insert;
-      if ( $error ) {
-        $dbh->rollback if $oldAutoCommit;
-        die $error;
-      }
-    }
-  }
-}
-
-$dbh->commit or die $dbh->errstr;
-
-sub usage {
-  die "Usage:\n  fs-migrate-part_svc user\n"; 
-}
-
diff --git a/bin/fs-migrate-payref b/bin/fs-migrate-payref
deleted file mode 100755 (executable)
index 1584197..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch);
-use FS::cust_pay;
-use FS::cust_refund;
-
-my $user = shift or die &usage;
-my $dbh = adminsuidsetup $user;
-
-# apply payments to invoices
-
-foreach my $cust_pay ( qsearch('cust_pay', {} ) ) {
-  my $error = $cust_pay->upgrade_replace;
-  warn $error if $error;
-}
-
-# apply refunds to credits
-
-foreach my $cust_refund ( qsearch('cust_refund') ) {
-  my $error = $cust_refund->upgrade_replace;
-  warn $error if $error;
-}
-
-# ? apply credits to invoices
-
-sub usage {
-  die "Usage:\n  fs-migrate-payref user\n"; 
-}
-
diff --git a/bin/fs-migrate-svc_acct_sm b/bin/fs-migrate-svc_acct_sm
deleted file mode 100755 (executable)
index e34b235..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# $Id: fs-migrate-svc_acct_sm,v 1.4 2002-06-21 09:13:16 ivan Exp $
-#
-# jeff@cmh.net 01-Jul-20
-
-#to delay loading dbdef until we're ready
-#BEGIN { $FS::Record::setup_hack = 1; }
-
-use strict;
-use Term::Query qw(query);
-#use DBI;
-#use DBIx::DBSchema;
-#use DBIx::DBSchema::Table;
-#use DBIx::DBSchema::Column;
-#use DBIx::DBSchema::ColGroup::Unique;
-#use DBIx::DBSchema::ColGroup::Index;
-use FS::Conf;
-use FS::UID qw(adminsuidsetup datasrc checkeuid getsecrets);
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_domain;
-use FS::svc_forward;
-use vars qw( $conf $old_default_domain %part_domain_svc %part_acct_svc %part_forward_svc $svc_acct $svc_acct_sm $error);
-
-die "Not running uid freeside!" unless checkeuid();
-
-my $user = shift or die &usage;
-getsecrets($user);
-
-$conf = new FS::Conf;
-$old_default_domain = $conf->config('domain');
-
-#needs to match FS::Record
-#my($dbdef_file) = "/usr/local/etc/freeside/dbdef.". datasrc;
-
-###
-# This section would be the appropriate place to manipulate
-# the schema & tables.
-###
-
-##  we need to add the domsvc to svc_acct
-##  we must add a svc_forward record....
-##  I am thinking that the fields  svcnum (int), destsvc (int), and
-##  dest (varchar (80))  are appropriate, with destsvc/dest an either/or
-##  much in the spirit of cust_main_invoice
-
-###
-# massage the data
-###
-
-my($dbh)=adminsuidsetup $user;
-
-$|=1;
-
-$FS::svc_Common::noexport_hack = 1;
-$FS::svc_domain::whois_hack = 1;
-
-%part_domain_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_domain'});
-%part_acct_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-%part_forward_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_forward'});
-
-die "No services with svcdb svc_domain!\n" unless %part_domain_svc;
-die "No services with svcdb svc_acct!\n" unless %part_acct_svc;
-die "No services with svcdb svc_forward!\n" unless %part_forward_svc;
-
-my($svc_domain) = qsearchs('svc_domain', { 'domain' => $old_default_domain });
-if (! $svc_domain || $svc_domain->domain != $old_default_domain) {
-   print <<EOF;
-
-Your database currently does not contain a svc_domain record for the
-domain $old_default_domain.  Would you like me to add one for you?
-EOF
-
-   my($response)=scalar(<STDIN>);
-   chop $response;
-   if ($response =~ /^[yY]/) {
-      print "\n\n", &menu_domain_svc, "\n", <<END;
-I need to create new domain accounts.  Which service shall I use for that?
-END
-      my($domain_svcpart)=&getdomainpart;
-
-      $svc_domain = new FS::svc_domain {
-        'domain' => $old_default_domain,
-        'svcpart' => $domain_svcpart,
-        'action' => 'M',
-       };
-#      $error=$svc_domain->insert && die "Error adding domain $old_default_domain: $error";
-      $error=$svc_domain->insert;
-      die "Error adding domain $old_default_domain: $error" if $error;
-   }else{
-      print <<EOF;
-
-  This program cannot function properly until a svc_domain record matching
-your conf_dir/domain file exists.
-EOF
-
-      exit 1;
-   }
-}
-
-print "\n\n", &menu_acct_svc, "\n", <<END;
-I may need to create some new pop accounts and set up forwarding to them
-for some users.  Which service shall I use for that?
-END
-my($pop_svcpart)=&getacctpart;
-
-print "\n\n", &menu_forward_svc, "\n", <<END;
-I may need to create some new forwarding for some users.  Which service
-shall I use for that?
-END
-my($forward_svcpart)=&getforwardpart;
-
-sub menu_domain_svc {
-  ( join "\n", map "$_: ".$part_domain_svc{$_}->svc, sort keys %part_domain_svc ). "\n";
-}
-sub menu_acct_svc {
-  ( join "\n", map "$_: ".$part_acct_svc{$_}->svc, sort keys %part_acct_svc ). "\n";
-}
-sub menu_forward_svc {
-  ( join "\n", map "$_: ".$part_forward_svc{$_}->svc, sort keys %part_forward_svc ). "\n";
-}
-sub getdomainpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_domain_svc ];
-  $^W=1;
-  $return;
-}
-sub getacctpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_acct_svc ];
-  $^W=1;
-  $return;
-}
-sub getforwardpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_forward_svc ];
-  $^W=1;
-  $return;
-}
-
-
-#migrate data
-
-my(@svc_accts) = qsearch('svc_acct', {});
-foreach $svc_acct (@svc_accts) {
-  my(@svc_acct_sms) = qsearch('svc_acct_sm', {
-      domuid => $svc_acct->getfield('uid'),
-      }
-    );
-
-  #  Ok.. we've got the svc_acct record, and an array of svc_acct_sm's
-  #  What do we do from here?
-
-  #  The intuitive:
-  #    plop the svc_acct into the 'default domain'
-  #    and then represent the svc_acct_sm's with svc_forwards
-  #    they can be gussied up manually, later
-  #
-  #  Perhaps better:
-  #    when no svc_acct_sm exists, place svc_acct in 'default domain'
-  #    when one svc_acct_sm exists, place svc_acct in corresponding
-  #      domain & possibly create a svc_forward in 'default domain'
-  #    when multiple svc_acct_sm's exists (in different domains) we'd
-  #    better use the 'intuitive' approach.
-  #
-  #  Specific way:
-  #    as 'perhaps better,' but we may be able to guess which domain
-  #    is correct by comparing the svcnum of domains to the username
-  #    of the svc_acct
-  #
-
-  # The intuitive way:
-
-  my $def_acct = new FS::svc_acct ( { $svc_acct->hash } );
-  $def_acct->setfield('domsvc' => $svc_domain->getfield('svcnum'));
-  $error = $def_acct->replace($svc_acct);
-  die "Error replacing svc_acct for " . $def_acct->username . " : $error" if $error;
-
-  foreach $svc_acct_sm (@svc_acct_sms) {
-
-    my($domrec)=qsearchs('svc_domain', {
-      svcnum => $svc_acct_sm->getfield('domsvc'),
-    }) || die  "svc_acct_sm references invalid domsvc $svc_acct_sm->getfield('domsvc')\n";
-
-    if ($svc_acct_sm->getfield('domuser') =~ /^\*$/) {
-      
-      my($newdom) = new FS::svc_domain ( { $domrec->hash } );
-      $newdom->setfield('catchall', $svc_acct->svcnum);
-      $newdom->setfield('action', "M");
-      $error = $newdom->replace($domrec);
-      die "Error replacing svc_domain for (anything)@" . $domrec->domain . " : $error" if $error;
-
-    } else {
-
-      my($newacct) = new FS::svc_acct {
-        'svcpart'  => $pop_svcpart,
-        'username' => $svc_acct_sm->getfield('domuser'),
-        'domsvc'   => $svc_acct_sm->getfield('domsvc'),
-        'dir'      => '/dev/null',
-      };
-      $error = $newacct->insert;
-      die "Error adding svc_acct for " . $newacct->username . " : $error" if $error;
-     
-      my($newforward) = new FS::svc_forward {
-        'svcpart'  => $forward_svcpart, 
-        'srcsvc'   => $newacct->getfield('svcnum'),
-        'dstsvc'   => $def_acct->getfield('svcnum'),
-      };
-      $error = $newforward->insert;
-      die "Error adding svc_forward for " . $newacct->username ." : $error" if $error;
-    }
-     
-    $error = $svc_acct_sm->delete;
-    die "Error deleting svc_acct_sm for " . $svc_acct_sm->domuser ." : $error" if $error;
-
-  };
-
-};
-
-
-$dbh->commit or die $dbh->errstr;
-$dbh->disconnect or die $dbh->errstr;
-
-print "svc_acct_sm records sucessfully migrated\n";
-
-sub usage {
-  die "Usage:\n  fs-migrate-svc_acct_sm user\n"; 
-}
-
diff --git a/bin/fs-radius-add-check b/bin/fs-radius-add-check
deleted file mode 100755 (executable)
index 4e4769e..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/perl -Tw
-
-# quick'n'dirty hack of fs-setup to add radius attributes
-
-use strict;
-use DBI;
-use FS::UID qw(adminsuidsetup checkeuid getsecrets);
-use FS::raddb;
-
-die "Not running uid freeside!" unless checkeuid();
-
-my %attrib2db =
-  map { lc($FS::raddb::attrib{$_}) => $_ } keys %FS::raddb::attrib;
-
-my $user = shift or die &usage;
-getsecrets($user);
-
-my $dbh = adminsuidsetup $user;
-
-###
-
-print "\n\n", <<END, ":";
-Enter the additional RADIUS check attributes you need to track for
-each user, separated by whitespace.
-END
-my @attributes = map { $attrib2db{lc($_)} or die "unknown attribute $_"; }
-                   split(" ",&getvalue);
-
-sub getvalue {
-  my($x)=scalar(<STDIN>);
-  chop $x;
-  $x;
-}
-
-###
-
-my($char_d) = 80; #default maxlength for text fields
-
-###
-
-foreach my $attribute ( @attributes ) {
-
-  my $statement =
-    "ALTER TABLE svc_acct ADD COLUMN rc_$attribute varchar($char_d) NULL";
-  my $sth = $dbh->prepare( $statement )
-   or warn "Error preparing $statement: ". $dbh->errstr;
-  my $rc = $sth->execute
-    or warn "Error executing $statement: ". $sth->errstr;
-
-  $statement =
-    "ALTER TABLE h_svc_acct ADD COLUMN rc_$attribute varchar($char_d) NULL";
-  $sth = $dbh->prepare( $statement )
-   or warn "Error preparing $statement: ". $dbh->errstr;
-  $rc = $sth->execute
-    or warn "Error executing $statement: ". $sth->errstr;
-
-}
-
-$dbh->commit or die $dbh->errstr;
-
-$dbh->disconnect or die $dbh->errstr;
-
-print "\n\n", "Now you must run dbdef-create.\n\n";
-
-sub usage {
-  die "Usage:\n  fs-radius-add-check user\n"; 
-}
-
diff --git a/bin/fs-radius-add-reply b/bin/fs-radius-add-reply
deleted file mode 100755 (executable)
index 3de0137..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/perl -Tw
-
-# quick'n'dirty hack of fs-setup to add radius attributes
-
-use strict;
-use DBI;
-use FS::UID qw(adminsuidsetup checkeuid getsecrets);
-use FS::raddb;
-
-die "Not running uid freeside!" unless checkeuid();
-
-my %attrib2db =
-  map { lc($FS::raddb::attrib{$_}) => $_ } keys %FS::raddb::attrib;
-
-my $user = shift or die &usage;
-getsecrets($user);
-
-my $dbh = adminsuidsetup $user;
-
-###
-
-print "\n\n", <<END, ":";
-Enter the additional RADIUS reply attributes you need to track for
-each user, separated by whitespace.
-END
-my @attributes = map { $attrib2db{lc($_)} or die "unknown attribute $_"; }
-                   split(" ",&getvalue);
-
-sub getvalue {
-  my($x)=scalar(<STDIN>);
-  chop $x;
-  $x;
-}
-
-###
-
-my($char_d) = 80; #default maxlength for text fields
-
-###
-
-foreach my $attribute ( @attributes ) {
-
-  my $statement =
-    "ALTER TABLE svc_acct ADD COLUMN radius_$attribute varchar($char_d) NULL";
-  my $sth = $dbh->prepare( $statement )
-    or warn "Error preparing $statement: ". $dbh->errstr;
-  my $rc = $sth->execute
-    or warn "Error executing $statement: ". $sth->errstr;
-
-  $statement =
-    "ALTER TABLE h_svc_acct ADD COLUMN radius_$attribute varchar($char_d) NULL";
-  $sth = $dbh->prepare( $statement )
-    or warn "Error preparing $statement: ". $dbh->errstr;
-  $rc = $sth->execute
-    or warn "Error executing $statement: ". $sth->errstr;
-
-}
-
-$dbh->commit or die $dbh->errstr;
-
-$dbh->disconnect or die $dbh->errstr;
-
-print "\n\n", "Now you must run dbdef-create.\n\n";
-
-sub usage {
-  die "Usage:\n  fs-radius-add-reply user\n"; 
-}
-
-
diff --git a/bin/generate-prepay b/bin/generate-prepay
deleted file mode 100755 (executable)
index cb4ba7f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::prepay_credit;
-
-require 5.004; #srand(time|$$);
-
-my $user = shift or die &usage;
-&adminsuidsetup( $user );
-
-my $amount = shift or die &usage;
-
-my $seconds = shift or die &usage;
-
-my $num_digits = shift or die &usage;
-
-my $num_entries = shift or die &usage;
-
-for ( 1 .. $num_entries ) {
-  my $identifier = join( '', map int(rand(10)), ( 1 .. $num_digits ) );
-  my $prepay_credit = new FS::prepay_credit {
-    'identifier' => $identifier,
-    'amount'     => $amount,
-    'seconds'    => $seconds,
-  };
-  my $error = $prepay_credit->insert;
-  die $error if $error;
-  print "$identifier\n";
-}
-
-sub usage {
-  die "Usage:\n\n  generate-prepay user amount seconds num_digits num_entries";
-}
-
diff --git a/bin/generate-raddb b/bin/generate-raddb
deleted file mode 100755 (executable)
index af21c05..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/perl
-
-# usage: generate-raddb radius-server/raddb/dictionary* >raddb.pm
-#  i.e.: generate-raddb ~/freeradius/freeradius-1.0.5/share/dictionary* ~/wirelessoceans/dictionary.ip3networks ~/wtxs/dictionary.mot.canopy >raddb.pm.new
-print <<END;
-package FS::raddb;
-use vars qw(%attrib);
-
-%attrib = (
-END
-
-while (<>) {
-  next if /^(#|\s*$|\$INCLUDE\s+)/;
-  next if /^(VALUE|VENDOR|BEGIN\-VENDOR|END\-VENDOR)\s+/;
-  /^(ATTRIBUTE|ATTRIB_NMC)\s+([\w\-\/]+)\s+/ or die $_;
-  $attrib = $2;
-  $dbname = lc($2);
-  $dbname =~ s/[\-\/]/_/g;
-  $dbname = substr($dbname,0,24);
-  while ( exists $hash{$dbname} ) {
-    #warn $dbname;
-    $dbname =~ s/(.)$//;
-    my $w = $1;
-    $w =~ tr/_a-z0-9/a-z0-9_/;
-    $dbname = "$dbname$w";
-  }
-  $hash{$dbname} = $attrib;
-  #print "$2\n";
-}
-
-foreach ( sort keys %hash ) {
-#  print "$_\n" if length($_)>24;
-#  print substr($_,0,24),"\n" if length($_)>24; 
-#  $max = length($_) if length($_)>$max;
-# have to fudge things since everything >24 is *not* unique
-
-  #print "  '". substr($_,0,24). "' => '$hash{$_}',\n";
-  print "  '$_' ". ( " " x (24-length($_) ) ). "=> '$hash{$_}',\n";
-}
-
-print <<END;
-
-  #NETC.NET.AU (RADIATOR?)
-  'authentication_type'      => 'Authentication-Type',
-
-  #wtxs (dunno)
-  #'radius_operator'          => 'Radius-Operator',
-
-);
-
-1;
-END
-
diff --git a/bin/generate-table-module b/bin/generate-table-module
deleted file mode 100755 (executable)
index fcc3f1d..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/usr/bin/perl
-
-use FS::Schema qw( dbdef_dist );
-
-my $table = shift;
-
-###
-# add a new FS/FS/table.pm
-###
-
-my %ut = ( #just guesses
-  'int'     => 'number',
-  'number'  => 'float',
-  'varchar' => 'text',
-  'text'    => 'text',
-);
-
-my $dbdef_table = dbdef_dist->table($table)
-  or die "define table in Schema.pm first";
-my $primary_key = $dbdef_table->primary_key;
-
-open(SRC,"<eg/table_template.pm") or die $!;
--e "FS/FS/$table.pm" and die "FS/FS/$table.pm already exists!";
-open(DEST,">FS/FS/$table.pm") or die $!;
-
-while (my $line = <SRC>) {
-
-  $line =~ s/table_name/$table/g;
-
-  if ( $line =~ /^=item\s+field\s+-\s+description\s*$/ ) {
-
-    foreach my $column ( $dbdef_table->columns ) {
-      print DEST "=item $column - ";
-      print DEST "primary key"
-        if $column eq $primary_key;
-      print DEST "\n\n";
-    }
-    next;
-
-  } elsif ( $line=~ /^(\s*)\$self->ut_numbern\('primary_key'\)\s*/ ) {
-
-    print DEST "$1\$self->ut_numbern('$primary_key')\n"
-      if $primary_key;
-    next;
-
-  } elsif (
-    $line =~ /^(\s*)\|\|\s+\$self->ut_number\('validate_other_fields'\)\s*/
-  ) {
-
-    foreach my $column ( grep { $_ ne $primary_key } $dbdef_table->columns ) {
-      my $ut = $ut{$dbdef_table->column($column)->type};
-      $ut .= 'n' if $dbdef_table->column($column)->null;
-      print DEST "$1|| \$self->ut_$ut('$column')\n";
-    }
-    next;
-
-  }
-
-  print DEST $line;
-}
-
-close SRC;
-close DEST;
-
-###
-# add FS/t/table.t
-###
-
-open(TEST,">FS/t/$table.t") or die $!;
-print TEST <<ENDTEST;
-BEGIN { \$| = 1; print "1..1\\n" }
-END {print "not ok 1\\n" unless \$loaded;}
-use FS::$table;
-\$loaded=1;
-print "ok 1\\n";
-ENDTEST
-close TEST;
-
-###
-# add them to MANIFEST
-###
-
-system('cvs edit FS/MANIFEST');
-
-open(MANIFEST,">>FS/MANIFEST") or die $!;
-print MANIFEST "FS/$table.pm\n",
-               "t/$table.t\n";
-close MANIFEST;
-
diff --git a/bin/generate-tests b/bin/generate-tests
deleted file mode 100755 (executable)
index 73fd29e..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/perl
-@files = glob('FS/*.pm');
-foreach (@files) {
-#  warn $_;
-  chomp;
-  s/^FS\///;
-  $f=$_;
-  $f=~s/pm$/t/;
-  $m=$_;
-  $m=~s/\.pm$//;
-  open(TEST,">t/$f");
-  print "t/$f\n";
-  print TEST
-             'BEGIN { $| = 1; print "1..1\n" }'. "\n".
-             'END {print "not ok 1\n" unless $loaded;}'. "\n".
-             "use FS::$m;\n".
-             '$loaded=1;'. "\n".
-             'print "ok 1\n";'. "\n"
-             ;
-  close TEST;
-}
diff --git a/bin/ispman.ldap.import b/bin/ispman.ldap.import
deleted file mode 100755 (executable)
index 7495f47..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use Net::LDAP::LDIF;
-
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearchs);
-use FS::svc_domain;
-use FS::svc_acct;
-
-my $user = shift or die;
-adminsuidsetup($user);
-
-$FS::svc_Common::noexport_hack = 1;
-$FS::svc_domain::whois_hack = 1;
-
-my $domain_svcpart = 1;
-my $account_svcpart = 2;
-my $mailbox_svcpart = 3;
-my $fedweeknet_svcpart = 4;
-
-#my $ldif =
-#  Net::LDAP::LDIF->new( "ispman-06-23-04.ldif", "r", onerror => 'undef' );
-my $ldif =
-  Net::LDAP::LDIF->new( "ispman-06-23-04.ldif", "r", onerror => 'warn' );
-
-#my %objectclass;
-
-my $acct = 0;
-my $imported = 0;
-
-my $entry;
-while ( $entry = $ldif->read_entry ) {
-  #warn "$entry\n";
-  my %attributes = map { $_ => [ $entry->get_value( $_ ) ]  } $entry->attributes;
-
-  my $objectclass = join('/', @{$attributes{'objectclass'}} );
-
-  next unless $objectclass eq 'posixAccount/ispmanDomainUser/radiusprofile';
-
-  foreach my $attr ( keys %attributes ) {
-    print join( " => ", substr($attr.' 'x30,0,30), @{$attributes{ $attr }} ), "\n";
-    #if ( $attr eq 'objectclass' ) {
-    #  $objectclass{ join('/', @{$attributes{$attr}} ) }++;
-    #}
-  }
-  print "\n";
-
-  $acct++;
-
-  my $email = $attributes{'maillocaladdress'}->[0];
-  $email =~ /^(\w+)\@([\w\.\-]+)$/ or die $email;
-  die "$1 ne ". $attributes{'ispmanuserid'}->[0]. "\n"
-    unless lc($1) eq $attributes{'ispmanuserid'}->[0];
-  my $username = lc($1);
-  my $domain = lc($2);
-
-  my $svc_domain = qsearchs('svc_domain', { 'domain' => $domain } )
-                 || new FS::svc_domain { 'svcpart' => $domain_svcpart,
-                                         'domain'  => $domain,
-                                         'action'  => 'N',
-                                       };
-
-  unless ( $svc_domain->svcnum ) {
-    my $error = $svc_domain->insert;
-    if ( $error ) {
-      die "inserting domain: $error\n";
-    }
-  }
-
-  ( my $password = $attributes{'userpassword'}->[0] ) =~ s/^\{crypt\}//;
-
-  # pick svcpart
-  my $svcpart = $account_svcpart;
-  if ( $domain eq 'fedweeknet.com' ) {
-    $svcpart = $fedweeknet_svcpart;
-  } elsif ( $attributes{'dialupaccess'}->[0] =~ /(false|no)/i ) {
-    $svcpart = $mailbox_svcpart;
-  }
-
-  my $dir = $attributes{'homedirectory'}->[0];
-  $dir =~ s/\s+//g;
-  $dir =~ s/\@/_/;
-
-  my $svc_acct = new FS::svc_acct {
-    'svcpart'   => $svcpart,
-    'username'  => $username,
-    '_password' => $password,
-    'finger'    => $attributes{'cn'}->[0],
-    'domsvc'    => $svc_domain->svcnum,
-    'shell'     => $attributes{'loginshell'}->[0],
-    'uid'       => $attributes{'uidnumber'}->[0],
-    'gid'       => $attributes{'gidnumber'}->[0],
-    'dir'       => $dir,
-    'quota'     => $attributes{'mailquota'}->[0],
-  };
-  my $error = $svc_acct->insert;
-  #my $error = $svc_acct->check;
-
-  if ( $error ) { 
-    warn "$error\n";
-  } else {
-    $imported++;
-  }
-
-}
-
-print "$imported of $acct imported\n";
-
-#print "\n\n";
-
-#foreach ( sort { $objectclass{$b} <=> $objectclass{$a} } keys %objectclass ) {
-#  print "$objectclass{$_}: $_\n";
-#}
diff --git a/bin/masonize b/bin/masonize
deleted file mode 100755 (executable)
index 509ef3e..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/usr/bin/perl
-
-foreach $file ( split(/\n/, `find . -depth -print`) ) {
-  next unless $file =~ /(cgi|html)$/;
-  open(F,$file) or die "can't open $file for reading: $!";
-  @file = <F>;
-  #print "$file ". scalar(@file). "\n";
-  close $file;
-  $newline = ''; #avoid prepending extraneous newlines
-  $all = join('',@file);
-
-  $w = '';
-
-  $mode = 'html';
-  while ( length($all) ) {
-
-    if ( $mode eq 'html' ) {
-
-      if ( $all =~ /^(.+?)(<%=?.*)$/s && $1 !~ /<%/s ) {
-        $w .= $1;
-        $all = $2;
-        next;
-      } elsif ( $all =~ /^<%=(.*)$/s ) {
-        $w .= '<%';
-        $all = $1;
-        $mode = 'perlv';
-        #die;
-        next;
-      } elsif ( $all =~ /^<%(.*)$/s ) {
-        $w .= $newline; $newline = "\n";
-        $all = $1;
-        $mode = 'perlc';
-
-        #avoid newline prepend fix from borking indented first <%
-        $w =~ s/\n\s+\z/\n/;
-        $w .= "\n" if $w =~ /.+\z/;
-
-        next;
-      } elsif ( $all !~ /<%/s ) {
-        $w .= $all;
-        last;
-      } else {
-        warn length($all); die;
-      }
-      die;
-
-    } elsif ( $mode eq 'perlv' ) {
-
-      if ( $all =~ /^(.*?%>)(.*)$/s ) {
-        $w .= $1;
-        $all=$2;
-        $mode = 'html';
-        next;
-      }
-      die "unterminated <%= ??? (in  $file):";
-
-    } elsif ( $mode eq 'perlc' ) {
-
-      if ( $all =~ /^([^\n]*?)%>(.*)$/s ) {
-        $w .= "%$1\n";
-        $all=$2;
-        $mode='html';
-        next;
-      }
-      if ( $all =~ /^([^\n]*)\n(.*)$/s ) {
-        $w .= "%$1\n";
-        $all=$2;
-        next;
-      }
-
-    } else { die };
-
-  }
-
-  system("chmod u+w $file");
-  select W; $| = 1; select STDOUT;
-  open(W,">$file") or die "can't open $file for writing: $!";
-  print W $w;
-  close W;
-}
diff --git a/bin/passwd.import b/bin/passwd.import
deleted file mode 100755 (executable)
index 8ab9e2a..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use vars qw(%part_svc);
-use Date::Parse;
-use Term::Query qw(query);
-use Net::SCP qw(iscp);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_acct;
-use FS::part_svc;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-push @FS::svc_acct::shells, qw(/bin/sync /sbin/shutdown /bin/halt /sbin/halt); #others?
-
-my($spooldir)="/usr/local/etc/freeside/export.". datasrc;
-
-#$FS::svc_acct::nossh_hack = 1;
-$FS::svc_Common::noexport_hack = 1;
-
-###
-
-%part_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-
-die "No services with svcdb svc_acct!\n" unless %part_svc;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Enter part number to import.
-END
-my($shell_svcpart)=&getpart;
-
-print "\n\n", <<END;
-Enter the location and name of your _user_ passwd file, for example
-"mail.isp.com:/etc/passwd" or "nis.isp.com:/etc/global/passwd"
-END
-my($loc_passwd)=&getvalue(":");
-iscp("root\@$loc_passwd", "$spooldir/passwd.import");
-
-print "\n\n", <<END;
-Enter the location and name of your _user_ shadow file, for example
-"mail.isp.com:/etc/shadow" or "bsd.isp.com:/etc/master.passwd"
-END
-my($loc_shadow)=&getvalue(":");
-iscp("root\@$loc_shadow", "$spooldir/shadow.import");
-
-sub menu_svc {
-  ( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";
-}
-sub getpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_svc ];
-  $^W=1;
-  $return;
-}
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-###
-
-open(PASSWD,"<$spooldir/passwd.import");
-open(SHADOW,"<$spooldir/shadow.import");
-
-my(%password);
-while (<SHADOW>) {
-  chop;
-  my($username,$password)=split(/:/);
-  #$password =~ s/^\!$/\*/;
-  #$password =~ s/\!+/\*SUSPENDED\* /;
-  $password =~ s/^NP$/\*/;
-  $password =~ s/^\*LK\*$/\*/;
-  $password{$username}=$password;
-}
-
-while (<PASSWD>) {
-  chop;
-  my($username,$x,$uid,$gid,$finger,$dir,$shell) = split(/:/);
-  my $password = $password{$username};
-
-  my $svcpart = $shell_svcpart;
-
-  #if ( qsearchs('svc_acct', { 'username' => $username } ) ) {
-  #  warn "warning: $username already exists; skipping\n";
-  #  next;
-  #}
-
-  my($svc_acct) = new FS::svc_acct ({
-    'svcpart'   => $svcpart,
-    'username'  => $username,
-    '_password' => $password,
-    'uid'       => $uid,
-    'gid'       => $gid,
-    'finger'    => $finger,
-    'dir'       => $dir,
-    'shell'     => $shell,
-    #%{$allparam{$username}},
-  });
-  my($error);
-  $error=$svc_acct->insert;
-  if ( $error ) {
-    if ( $error =~ /duplicate/i ) {
-      warn "$username: $error";
-    } else {
-      die "$username: $error";
-    }
-  }
-
-}
-
-sub usage {
-  die "Usage:\n\n  passwd.import user\n";
-}
-
diff --git a/bin/pg-readonly b/bin/pg-readonly
deleted file mode 100644 (file)
index ad69fbd..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/perl
-#
-# hack to update/add read-only permissions for a user on the db
-#
-# usage: pg-readonly freesideuser readonlyuser
-
-use strict;
-use DBI;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(dbdef);
-
-my $user = shift or die &usage;
-my $rouser = shift or die &usage;
-
-my $dbh = adminsuidsetup $user;
-
-foreach my $table ( dbdef->tables ) {
-  $dbh->do("GRANT SELECT ON $table TO $rouser");
-  $dbh->commit();
-  if ( my $pkey = dbdef->table($table)->primary_key ) {
-    $dbh->do("GRANT SELECT ON ${table}_${pkey}_seq TO $rouser");
-    $dbh->commit();
-  }
-}
diff --git a/bin/pod2x b/bin/pod2x
deleted file mode 100755 (executable)
index 46ccc77..0000000
--- a/bin/pod2x
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/perl
-
-#use Pod::Text;
-#$Pod::Text::termcap=1;
-
-my $site_perl = "./FS";
-#my $catman = "./catman";
-#my $catman = "./htdocs/docs/man";
-#my $html = "./htdocs/docs/man";
-my $html = "./httemplate/docs/man";
-
-$|=1;
-
-die "Can't find $site_perl" unless -d $site_perl;
-#die "Can't find $catman" unless -d $catman;
-die "Can't find $html" unless -d $html;
-
-#make some useless links
-foreach my $file (
-  glob("$site_perl/bin/freeside-*"),
-) {
-  next if $file =~ /\.pod$/;
-  #symlink $file, "$file.pod"; # or die "link $file to $file.pod: $!";
-  system("cp $file $file.pod");
-}
-
-foreach my $file (
-  glob("$site_perl/*.pm"),
-  glob("$site_perl/*/*.pm"),
-  glob("$site_perl/*/*/*.pm"),
-  glob("$site_perl/bin/*.pod"),
-  glob("./fs_sesmon/FS-SessionClient/*.pm"),
-  glob("./fs_signup/FS-SignupClient/*.pm"),
-  glob("./fs_selfadmin/FS-MailAdminServer/*.pm"),
-) {
-  next if $file =~ /(^|\/)blib\//;
-  #$file =~ /\/([\w\-]+)\.pm$/ or die "oops file $file";
-  my $name;
-  if ( $file =~ /fs_\w+\/FS\-\w+\/(.*)\.pm$/ ) {
-    $name = "FS/$1";
-  } elsif ( $file =~ /$site_perl\/(.*)\.(pm|pod)$/ ) {
-    $name = $1;
-  } else {
-    die "oops file $file";
-  }
-  print "$name\n";
-  my $htmlroot = join('/', map '..',1..(scalar($file =~ tr/\///)-2)) || '.';
-#  system "pod2text $file >$catman/$name.txt"; 
-  system "pod2html --podroot=$site_perl --podpath=./FS:./FS/UI:.:./bin --norecurse --htmlroot=$htmlroot $file >$html/$name.html";
-  #system "pod2html --podroot=$site_perl --htmlroot=$htmlroot $file >$html/$name.html";
-#  system "pod2html $file >$html/$name.html";
-}
-
-#remove the useless links
-unlink glob("$site_perl/bin/*.pod");
-
diff --git a/bin/populate-msgcat b/bin/populate-msgcat
deleted file mode 100755 (executable)
index adac92d..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch);
-use FS::msgcat;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-foreach my $del_msgcat ( qsearch('msgcat', {}) ) {
-  my $error = $del_msgcat->delete;
-  die $error if $error;
-}
-
-my %messages = messages();
-
-foreach my $msgcode ( keys %messages ) {
-  foreach my $locale ( keys %{$messages{$msgcode}} ) {
-    my $msgcat = new FS::msgcat( {
-      'msgcode' => $msgcode,
-      'locale'  => $locale,
-      'msg'     => $messages{$msgcode}{$locale},
-    });
-    my $error = $msgcat->insert;
-    die $error if $error;
-  }
-}
-
-#print "Message catalog initialized sucessfully\n";
-
-sub messages {
-
-  #  'msgcode' => {
-  #    'en_US' => 'Message',
-  #  },
-
-  (
-
-    'passwords_dont_match' => {
-      'en_US' => "Passwords don't match",
-    },
-
-    'invalid_card' => {
-      'en_US' => 'Invalid credit card number',
-    },
-
-    'unknown_card_type' => {
-      'en_US' => 'Unknown card type',
-    },
-
-    'not_a' => {
-      'en_US' => 'Not a ',
-    },
-
-    'empty_password' => {
-      'en_US' => 'Empty password',
-    },
-
-    'no_access_number_selected' => {
-      'en_US' => 'No access number selected',
-    },
-
-    'illegal_text' => {
-      'en_US' => 'Illegal (text)',
-      #'en_US' => 'Only letters, numbers, spaces, and the following punctuation symbols are permitted: ! @ # $ % & ( ) - + ; : \' " , . ? / in field',
-    },
-
-    'illegal_or_empty_text' => {
-      'en_US' => 'Illegal or empty (text)',
-      #'en_US' => 'Only letters, numbers, spaces, and the following punctuation symbols are permitted: ! @ # $ % & ( ) - + ; : \' " , . ? / in required field',
-    },
-
-    'illegal_username' => {
-      'en_US' => 'Illegal username',
-    },
-
-    'illegal_password' => {
-      'en_US' => 'Illegal password (',
-    },
-
-    'illegal_password_characters' => {
-      'en_US' => ' characters)',
-    },
-
-    'username_in_use' => {
-      'en_US' => 'Username in use',
-    },
-
-    'illegal_email_invoice_address' => {
-      'en_US' => 'Illegal email invoice address',
-    },
-
-    'illegal_name' => {
-      'en_US' => 'Illegal (name)',
-      #'en_US' => 'Only letters, numbers, spaces and the following punctuation symbols are permitted: , . - \' in field',
-    },
-
-    'illegal_phone' => {
-      'en_US' => 'Illegal (phone)',
-      #'en_US' => '',
-    },
-
-    'illegal_zip' => {
-      'en_US' => 'Illegal (zip)',
-      #'en_US' => '',
-    },
-
-    'expired_card' => {
-      'en_US' => 'Expired card',
-    },
-
-    'daytime' => {
-      'en_US' => 'Day Phone',
-    },
-
-    'night' => {
-      'en_US' => 'Night Phone',
-    },
-
-    'svc_external-id' => {
-      'en_US' => 'External ID',
-    },
-
-    'svc_external-title' => {
-      'en_US' => 'Title',
-    },
-
-  );
-}
-
-sub usage {
-  die "Usage:\n\n  populate-msgcat user\n";
-}
-
diff --git a/bin/postfix.export b/bin/postfix.export
deleted file mode 100755 (executable)
index 61380da..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-#use File::Path;
-use File::Rsync;
-use Net::SSH qw(ssh);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch); # qsearchs);
-use FS::part_export;
-#use FS::cust_pkg;
-use FS::cust_svc;
-#use FS::svc_domain;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-my $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/postfix";
-mkdir $spooldir, 0700 unless -d $spooldir;
-
-my @exports = qsearch('part_export', { 'exporttype' => 'postfix' } );
-
-my $rsync = File::Rsync->new({
-  rsh     => 'ssh',
-#  dry_run => 1,
-});
-
-foreach my $export ( @exports ) {
-
-  my $machine = $export->machine;
-  my $prefix = "$spooldir/$machine";
-  mkdir $prefix, 0700 unless -d $prefix;
-
-  #construct %domain hash
-
-  my $mydomain = $export->option('mydomain');
-  my %domain;
-  foreach my $svc_forward ( $export->svc_x ) {
-
-    my( $username, $domain );
-    my $srcsvc_acct = $svc_forward->srcsvc_acct;
-    if ( $srcsvc_acct ) {
-      ( $username, $domain ) = ( $srcsvc_acct->username, $srcsvc_acct->domain );
-    } elsif ( $svc_forward->src =~ /^([^@]*)\@([^@]+)$/ ) {
-      ( $username, $domain ) = ( $1, $2 );
-    } else {
-      die "bad svc_forward record?  svcnum ". $svc_forward->svcnum. "\n";
-    }
-
-    my( $dusername, $ddomain );
-    my $dstsvc_acct = $svc_forward->dstsvc_acct;
-    if ( $dstsvc_acct ) {
-      $dusername = $dstsvc_acct->username;
-      $ddomain = $dstsvc_acct->domain;
-    } elsif ( $svc_forward->dst =~ /([^@]+)\@([^@]+)$/ ) {
-      ( $dusername, $ddomain ) = ( $1, $2 );
-    } else {
-      die "bad svc_forward record?  svcnum ". $svc_forward->svcnum. "\n";
-    }
-    my $dest;
-    if ( $ddomain eq $mydomain ) {
-      $dest = $dusername;
-    } else {
-      $dest = "$dusername\@$ddomain";
-    }
-
-    push @{$domain{$domain}{$username}}, $dest;
-
-  }
-
-  #write aliases
-
-  my $aliases = delete $domain{$mydomain};
-  open(ALIASES, ">$prefix/aliases") or die "can't open $prefix/aliases: $!";
-  foreach my $alias ( keys %$aliases ) {
-    print ALIASES "$alias: ". join(',', @{ $aliases->{$alias} } ). "\n";
-  }
-  close ALIASES;
-
-  #write virtual
-
-  open(VIRTUAL, ">$prefix/virtual") or die "can't open $prefix/virtual: $!";
-  foreach my $domain ( keys %domain ) {
-    print VIRTUAL "$domain DOMAIN\n";
-    #foreach my $virtual ( sort { $a ne '' <=> $b ne '' } keys %{$domain{$domain}} ) {
-    foreach my $virtual ( sort { ( ($b ne '') <=> ($a ne '') ) || $a cmp $b } keys %{$domain{$domain}} ) {
-      print VIRTUAL "$virtual\@$domain ".
-                    join(',', @{ $domain{$domain}{$virtual} } ). "\n";
-    }
-    print VIRTUAL "\n";
-  }
-  close VIRTUAL;
-
-  #rsync
-
-  my $user = $export->option('user');
-  $rsync->exec( {
-    src     => "$prefix/aliases",
-    dest    => "$user\@$machine:". $export->option('aliases'),
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-#  warn $rsync->out;
-
-  ssh("$user\@$machine", $export->option('newaliases') || 'newaliases');
-#  ssh("$user\@$machine", "postfix reload");
-
-  $rsync->exec( {
-    src     => "$prefix/virtual",
-    dest    => "$user\@$machine:". $export->option('virtual'),
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-#  warn $rsync->out;
-  ssh("$user\@$machine", $export->option('postmap')
-                         || 'postmap hash:/etc/postfix/virtual');
-  ssh("$user\@$machine", $export->option('reload') || 'postfix reload');
-
-}
-
-# -----
-
-sub usage {
-  die "Usage:\n  postfix.export user\n"; 
-}
-
-
diff --git a/bin/postfix_courierimap.import b/bin/postfix_courierimap.import
deleted file mode 100755 (executable)
index 12c138b..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use vars qw(%part_svc %domain_part_svc);
-#use Date::Parse;
-use DBI;
-use Term::Query qw(query);
-use FS::UID qw(adminsuidsetup); #datasrc
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_acct;
-use FS::part_svc;
-use FS::svc_domain;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-#push @FS::svc_acct::shells, qw(/bin/sync /sbin/shutdown /bin/halt /sbin/halt); #others?
-
-$FS::svc_Common::noexport_hack = 1;
-$FS::svc_domain::whois_hack = 1;
-
-###
-
-%part_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-
-die "No services with svcdb svc_acct!\n" unless %part_svc;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Enter part number to import.
-END
-my $mailbox_svcpart = &getpart;
-
-%domain_part_svc = map { $_->svcpart, $_ }
-                       qsearch('part_svc', { 'svcdb' => 'svc_domain'} );
-
-die "No services with svcdb svc_domain!\n" unless %domain_part_svc;
-
-print "\n\n", &menu_domain_svc, "\n", <<END;
-Enter part number for domains.
-END
-my $domain_svcpart = &getdomainpart;
-
-my $datasrc = &getvalue("\n\nEnter the DBI datasource:");
-my $db_user = &getvalue("\n\nEnter the database user:");
-my $db_pass = &getvalue("\n\nEnter the database password:");
-
-sub menu_svc {
-  ( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";
-}
-sub menu_domain_svc {
-  ( join "\n", map "$_: ".$domain_part_svc{$_}->svc, sort keys %domain_part_svc ). "\n";
-}
-sub getpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_svc ];
-  $^W=1;
-  $return;
-}
-sub getdomainpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %domain_part_svc ];
-  $^W=1;
-  $return;
-}
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-###
-
-my $dbh = DBI->connect( $datasrc, $db_user, $db_pass )
-  or die $DBI::errstr;
-
-my $sth = $dbh->prepare('SELECT username, password, crypt, name, domain FROM mailbox')
-  or die $dbh->errstr;
-$sth->execute or die $sth->errstr;
-
-my $row;
-while ( defined ( $row = $sth->fetchrow_arrayref ) ) {
-  my( $r_username, $password, $crypt, $finger, $r_domain ) = @$row;
-
-  my( $username, $domain );
-  if ( $r_username =~ /^([^@]+)\@([^@]+)$/ ) {
-    $username = $1;
-    $domain = $2;
-  } else {
-    $username = $r_username;
-    $domain = $r_domain;
-  }
-  my $svc_domain = qsearchs('svc_domain', { 'domain'  => $domain } )
-                   || new FS::svc_domain {
-                                           'domain'  => $domain,
-                                           'svcpart' => $domain_svcpart,
-                                           'action'  => 'N',
-                                         };
-  unless ( $svc_domain->svcnum ) {
-    my $error = $svc_domain->insert;
-    if ( $error ) {
-      die "can't insert domain $domain: $error\n";
-    }
-  }
-
-  $password = $crypt if $password eq '*CRYPTED*';
-
-  $finger =~ s/Outdoor Power.*$/Outdoor Power/;
-
-  my $svc_acct = new FS::svc_acct {
-    'svcpart'   => $mailbox_svcpart,
-    'username'  => $username,
-    'domsvc'    => $svc_domain->svcnum,
-    '_password' => $password,
-    'finger'    => $finger,
-  };
-
-  my $error = $svc_acct->insert;
-  #my $error = $svc_acct->check;
-  if ( $error ) {
-    if ( $error =~ /duplicate/i ) {
-      warn "$r_username / $r_domain: $error";
-    } else {
-      die "$r_username / $r_domain: $error";
-    }
-  }
-
-}
-
-sub usage {
-  die "Usage:\n\n  postfix_courierimap.import user\n";
-}
-
-
diff --git a/bin/print-schema b/bin/print-schema
deleted file mode 100755 (executable)
index 886e325..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/perl
-
-use DBIx::DBSchema;
-
-$l = load DBIx::DBSchema "/usr/local/etc/freeside/dbdef.DBI:Pg:dbname=freeside";
-
-print $l->pretty_print, "\n";
diff --git a/bin/rate-us.import b/bin/rate-us.import
deleted file mode 100755 (executable)
index 66ac5de..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-#use Spreadsheet::ParseExcel;
-use DBI;
-use FS::UID qw(adminsuidsetup);
-use FS::rate_region;
-use FS::rate_prefix;
-use FS::rate_region;
-
-my $ratenum = 1;
-
-my $user = shift or usage();
-adminsuidsetup $user;
-
-sub usage {
-  #die "Usage:\n\n  rate.import user rates.xls worksheet_name";
-  die "Usage:\n\n  rate.import user";
-}
-
-my %rate_region;
-
-foreach my $file ( 'areas and rates US.xls',
-                   'areas and rates US2.xls',
-                   'areas and rates US3.xls',
-                 )
-{
-
-  my $dbh = DBI->connect("DBI:Excel:file=$file")
-    or die "can't connect: $DBI::errstr";
-  
-  #my $table = shift or usage();
-  my $table = 'Sheet1';
-  my $sth = $dbh->prepare("select * from $table")
-    or die "can't prepare: ". $dbh->errstr;
-  $sth->execute
-    or die "can't execute: ". $sth->errstr;
-  
-  while ( my $row = $sth->fetchrow_hashref ) {
-  
-    #print join(' - ', map $row->{$_}, qw( rate_center Code Area_Prefix Rate ) ). "\n";
-  
-    my $regionname = $row->{'rate_center'};
-    $regionname =~ s/\xA0//g;
-    #$regionname =~ s/\xE9/e/g; #e with accent aigu
-    $regionname =~ s/(^\s+|\s+$)//;
-    $regionname .= ', USA';
-  
-    my $prefix = $row->{'area_prefix'};
-    $prefix =~ s/\xA0//g;
-    $prefix =~ s/\s$//;
-    #my $prefixprefix = '';
-    #if ( $prefix =~ /^\s*(\d+)\s*\((.*)\)\s*$/ ) {
-    #  $prefixprefix = $1;
-    #  $prefix = $2;
-    #} elsif ( $prefix =~ /^\s*\((\d{3})\)\s*(.*)$/ ) {
-    #  $prefixprefix = $1;
-    #  $prefix = $2;
-    #}
-  
-    my @rate_prefix = map { 
-                            #warn $row->{'rate_center'}. ": $prefixprefix$_\n";
-                            new FS::rate_prefix {
-                              'countrycode' => '1', # $row->{'Country'}
-                              #'npa'         => $prefixprefix.$_,
-                              'npa'         => $_,
-                            };
-                          }
-                          split(/\s*[;,]\s*/, $prefix);
-  
-  
-    my $dest_detail = new FS::rate_detail {
-                                            'ratenum'         => $ratenum,
-                                            'min_included'    => 0,
-                                            'min_charge'      =>
-                                                sprintf('%.2f', $row->{'rate'} ),
-                                            'sec_granularity' => 60,
-                                          };
-
-    unless ( exists $rate_region{$regionname} ) {
-
-      my $rate_region = new FS::rate_region {
-        'regionname' => $regionname,
-      };
-
-      my $error = $rate_region->insert( 'rate_prefix' => \@rate_prefix,
-                                        'dest_detail' => [ $dest_detail ],
-                                      );
-      die $error if $error;
-
-      $rate_region{$regionname} = $rate_region->regionnum;
-
-    } else {
-
-      foreach my $rate_prefix ( @rate_prefix ) {
-        $rate_prefix->regionnum($rate_region{$regionname});
-        my $error = $rate_prefix->insert;
-        die $error if $error;
-      }
-
-      #$rate_detail->dest_regionnum($rate_region{$regionname});
-      #$error = $rate_detail->insert;
-      #die $error if $error;
-
-    }
-  
-  }
-
-}
diff --git a/bin/rate.import b/bin/rate.import
deleted file mode 100755 (executable)
index fdd756d..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-#use Spreadsheet::ParseExcel;
-use DBI;
-use FS::UID qw(adminsuidsetup);
-use FS::rate_region;
-use FS::rate_prefix;
-use FS::rate_region;
-
-my $ratenum = 1;
-
-my $user = shift or usage();
-adminsuidsetup $user;
-
-#my $file = shift or usage();
-my $file = 'areas and rates.xls';
-my $dbh = DBI->connect("DBI:Excel:file=$file")
-  or die "can't connect: $DBI::errstr";
-
-#my $table = shift or usage();
-my $table = 'areas_and_rates';
-my $sth = $dbh->prepare("select * from $table")
-  or die "can't prepare: ". $dbh->errstr;
-$sth->execute
-  or die "can't execute: ". $sth->errstr;
-
-sub usage {
-  #die "Usage:\n\n  rate.import user rates.xls worksheet_name";
-  die "Usage:\n\n  rate.import user";
-}
-
-##
-
-while ( my $row = $sth->fetchrow_hashref ) {
-
-  #print join(' - ', map $row->{$_}, qw( Country Code Area_Prefix Rate ) ). "\n";
-
-  my $regionname = $row->{'Country'};
-  $regionname =~ s/\xA0//g;
-  $regionname =~ s/\xE9/e/g; #e with accent aigu
-  $regionname =~ s/(^\s+|\s+$)//;
-
-  #next if $regionname =~ /Sweden Telia Mobile/;
-
-  my $rate_region = new FS::rate_region {
-    'regionname' => $regionname,
-  };
-
-  my $prefix = $row->{'Area_Prefix'};
-  $prefix =~ s/\xA0//g;
-  $prefix =~ s/\s$//;
-  my $prefixprefix = '';
-  if ( $prefix =~ /^\s*(\d+)\s*\((.*)\)\s*$/ ) {
-    $prefixprefix = $1;
-    $prefix = $2;
-  } elsif ( $prefix =~ /^\s*\((\d{3})\)\s*(.*)$/ ) {
-    $prefixprefix = $1;
-    $prefix = $2;
-  }
-
-  my @rate_prefix = ();
-  if ( $prefix =~ /\d/ ) {
-
-    @rate_prefix = map { 
-                         #warn $row->{'Country'}. ": $prefixprefix$_\n";
-                         new FS::rate_prefix {
-                           'countrycode' => $row->{'Code'},
-                           'npa'         => $prefixprefix.$_,
-                         };
-                       }
-                       split(/\s*[;,]\s*/, $prefix);
-
-  } else {
-    @rate_prefix = ( new FS::rate_prefix {
-                       'countycode' => $row->{'Code'},
-                       'npa'        => '',
-                     };
-                   );
-  }
-
-  my $dest_detail = new FS::rate_detail {
-                                          'ratenum'         => $ratenum,
-                                          'min_included'    => 0,
-                                          'min_charge'      =>
-                                              sprintf('%.2f', $row->{'Rate'} ),
-                                          'sec_granularity' => 60,
-                                        };
-  
-  my $error = $rate_region->insert( 'rate_prefix' => \@rate_prefix,
-                                    'dest_detail' => [ $dest_detail ],
-                                  );
-  die $error if $error;
-
-}
diff --git a/bin/rollback b/bin/rollback
deleted file mode 100755 (executable)
index 7f83ef4..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/perl
-
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch qsearchs fields);
-
-use FS::svc_acct;
-
-#cust_pkg pkgnum 240133 241206 replace_old
-#cust_svc svcnum 31102 32083 delete
-#svc_acct svcnum 37162 37652 delete
-my($user, $table, $pkey, $start, $end, $action) = @ARGV;
-
-adminsuidsetup $user or die;
-
-#eval "use FS::h_$table;";
-#die $@ if $@;
-eval "use FS::$table;";
-die $@ if $@;
-
-my @history = grep { $_->historynum <= $end } qsearch("h_$table", { 'historynum' => { op=>'>=', value=>$start }, history_action => $action } );
-
-my %seen;
-foreach my $h (@history) {
-  my $error;
-  if ( $action eq 'replace_old' ) {
-    my $old = qsearchs($table, { $pkey => $h->get($pkey) } );
-    unless ( $old ) { die "can't find $table $pkey ". $h->get($pkey). "\n"; }
-    my $new = "FS::$table"->new( { map { $_ => $h->get($_) } fields($table) } );
-    $error = $new->replace($old);
-  } elsif ( $action eq 'delete' ) {
-    next if $seen{$h->get($pkey)}++;
-    my $new = "FS::$table"->new( { map { $_ => $h->get($_) } fields($table) } );
-    $error = $new->insert;
-  } else {
-    die "unknown action $action\n";
-  }
-  die $error if $error;
-}
diff --git a/bin/rt-drop-tables b/bin/rt-drop-tables
deleted file mode 100755 (executable)
index b027542..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/perl
-
-my @tables = qw(
-Attachments 
-Queues 
-Links 
-Principals 
-Groups 
-ScripConditions 
-Transactions 
-Scrips 
-ACL 
-GroupMembers 
-CachedGroupMembers 
-Users 
-Tickets 
-ScripActions 
-Templates 
-TicketCustomFieldValues 
-CustomFields 
-CustomFieldValues 
-sessions 
-);
-
-foreach my $table ( @tables ) {
-  print "drop table $table;\n";
-  print "drop sequence ${table}_id_seq;\n";
-}
-
diff --git a/bin/sendmail.import b/bin/sendmail.import
deleted file mode 100644 (file)
index ef745fc..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use Term::Query qw(query);
-use Net::SCP qw(iscp);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch qsearchs);
-##use FS::svc_acct_sm;
-#use FS::svc_domain;
-#use FS::domain_record;
-use FS::svc_acct;
-##use FS::part_svc;
-use FS::svc_forward;
-use FS::svc_domain;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-#$FS::svc_Common::noexport_hack = 1;
-#$FS::domain_record::noserial_hack = 1;
-
-use vars qw($defaultdomain);
-$defaultdomain = '295.ca';
-
-use vars qw(@svcpart $forward_svcpart);
-@svcpart = qw( 2 4 );
-$forward_svcpart = 7;
-
-use vars qw($spooldir);
-$spooldir = "/usr/local/etc/freeside/export.". datasrc. "/sendmail";
-mkdir($spooldir, 0755) unless -d $spooldir;
-
-print "\n\n", <<END;
-Enter the location and name of your Sendmail aliases file, for example
-"mail.isp.com:/etc/mail/aliases"
-END
-my($aliases)=&getvalue(":");
-
-use vars qw($aliases_machine $aliases_prefix);
-$aliases_machine = (split(/:/, $aliases))[0];
-$aliases_prefix = "$spooldir/$aliases_machine";
-mkdir($aliases_prefix, 0755) unless -d $aliases_prefix;
-
-#iscp("root\@$aliases","$aliases_prefix/aliases.import");
-iscp("ivan\@$aliases","$aliases_prefix/aliases.import");
-
-print "\n\n", <<END;
-Enter the location and name of your Sendmail virtusertable directory, for example
-"mail.isp.com:/etc/mail/virtusertable"
-END
-my($virtusertable)=&getvalue(":");
-
-use vars qw($virtusertable_machine $virtusertable_prefix);
-$virtusertable_machine = (split(/:/, $virtusertable))[0];
-$virtusertable_prefix = "$spooldir/$virtusertable_machine";
-mkdir($virtusertable_prefix, 0755) unless -d $virtusertable_prefix;
-mkdir("$virtusertable_prefix/virtusertable.import", 0755)
-  unless -d "$virtusertable_prefix/virtusertable.import";
-
-#iscp("root\@$virtusertable/*","$aliases_prefix/virtusertable.import/");
-iscp("ivan\@$virtusertable/*","$aliases_prefix/virtusertable.import/");
-
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-##
-
-foreach my $file ( 
-  "$aliases_prefix/aliases.import",
-  glob("$aliases_prefix/virtusertable.import/*"),
-) {
-
-  warn "importing $file\n";
-  
-  open(FILE,"<$file") or die $!;
-  while (<FILE>) {
-    next if /^\s*#/ || /^\s*$/; #skip comments & blank lines
-  
-    unless ( /^([\w\@\.\-]+)[:\s]\s*(.*\S)\s*$/ ) {
-      warn "Unparsable line: $_";
-      next;
-    }
-    my($rawusername, $rawdest) = ($1, $2);
-  
-    my($username, $domain);
-    if ( $rawusername =~ /^([\w\-\.\&]*)\@([\w\.\-]+)$/ ) {
-      $username = $1;
-      $domain = $2;
-    } elsif ( $rawusername =~ /\@/ ) {
-      die "Unparsable username: $rawusername\n";
-    } else {
-      $username = $rawusername;
-      $domain = $defaultdomain;
-    }
-  
-    #find svc_acct record or set $src
-    my($srcsvc, $src) = &svcnum_or_literal($username, $domain);
-
-    foreach my $dest ( split(/,/, $rawdest) ) {
-
-      my($dusername, $ddomain);
-      if ( $dest =~ /^([\w\-\.\&]+)\@([\w\.\-]+)$/ ) {
-        $dusername = $1;
-        $ddomain = $2;          
-      } elsif ( $dest =~ /\@/ ) {
-        die "Unparsable username: $dest\n";
-      } else {                 
-        $dusername = $dest;
-        $ddomain = $defaultdomain;
-      }
-      my($dstsvc, $dst) = &svcnum_or_literal($dusername, $ddomain);
-
-      my $svc_forward = new FS::svc_forward ({
-        svcpart => $forward_svcpart,
-        srcsvc => $srcsvc,
-        src    => $src,
-        dstsvc => $dstsvc,
-        dst    => $dst,
-      });
-      my $error = $svc_forward->insert;
-      #my $error = $svc_forward->check;
-      if ( $error ) {
-        die "$rawusername: $rawdest: $error\n";
-      }
-    }
-
-
-  } #next entry
-
-} #next file
-  
-##
-
-sub svcnum_or_literal {
-  my($username, $domain) = @_;
-
-  my $svc_domain = qsearchs('svc_domain', { 'domain' => $domain } );
-  my $domsvc = $svc_domain ? $svc_domain->svcnum : '';
-
-  my @svc_acct = grep { my $svc_acct = $_;
-                        grep { $svc_acct->cust_svc->svcpart == $_ } @svcpart
-                      }
-                   qsearch('svc_acct', {
-                     'username' => $username,
-                     'domsvc'   => $domsvc,
-                   });
-
-  if ( scalar(@svc_acct) > 1 ) {
-    die "multiple sources found for $username\@$domain !\n";
-  }
-
-  my( $svcnum, $literal ) = ('', '');
-  if ( @svc_acct ) {
-    my $svc_acct = $svc_acct[0];
-    $svcnum = $svc_acct->svcnum;
-  } else {
-    $literal = "$username\@$domain";
-  }
-
-  return( $svcnum, $literal );
-
-}
-
-sub usage {
-  die "Usage:\n\n  sendmail.import user\n";
-}
-
-
-
-
-
diff --git a/bin/sequences.reset b/bin/sequences.reset
deleted file mode 100644 (file)
index 2dc1d3b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(dbdef dbh);
-
-my $user = shift;
-adminsuidsetup $user or die;
-
-foreach my $table ( dbdef->tables ) {
-  my $primary_key = dbdef->table($table)->primary_key;
-  next unless $primary_key;
-  #my $local = dbdef->table($table)->column($primary_key)->local;
-  ##next unless $default =~ /nextval/;
-  #print "$local\n";
-
-  my $statement = "select setval('${table}_${primary_key}_seq', ( select max($primary_key) from $table ) )";
-
-  print "$statement;\n";
-  next;
-  
-  my $sth = dbh->prepare($statement) or do {
-    warn dbh->errstr. " preparing $statement\n";
-    next;
-  };
-  $sth->execute or do {
-    warn dbh->errstr. " executing $statement\n";
-    dbh->commit;
-    next;
-  }
-
-}
-
diff --git a/bin/shadow.reimport b/bin/shadow.reimport
deleted file mode 100755 (executable)
index 7957011..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/usr/bin/perl -w
-#
-# -d: dry-run: make no changes
-# -r: replace: overwrite existing passwords (otherwise only "*" passwords will
-#              be changed)
-# -b: blowfish replace: overwrite existing passwords only if they are
-#                       blowfish-encrypted
-
-use strict;
-use vars qw(%part_svc);
-use Getopt::Std;
-use Term::Query qw(query);
-use Net::SCP qw(iscp);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_acct;
-use FS::part_svc;
-
-use vars qw($opt_d $opt_r $opt_b);
-getopts("drb");
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-push @FS::svc_acct::shells, qw(/bin/sync /sbin/shutdown /bin/halt /sbin/halt); #others?
-
-my($spooldir)="/usr/local/etc/freeside/export.". datasrc;
-
-#$FS::svc_acct::nossh_hack = 1;
-$FS::svc_Common::noexport_hack = 1;
-
-###
-
-%part_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-
-die "No services with svcdb svc_acct!\n" unless %part_svc;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Enter part number or part numbers to import.
-END
-my($shell_svcpart)=&getvalue;
-my @shell_svcpart = split(/[,\s]+/, $shell_svcpart);
-
-print "\n\n", <<END;
-Enter the location and name of your _user_ shadow file, for example
-"mail.isp.com:/etc/shadow" or "bsd.isp.com:/etc/master.passwd"
-END
-my($loc_shadow)=&getvalue(":");
-iscp("root\@$loc_shadow", "$spooldir/shadow.import");
-
-sub menu_svc {
-  ( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";
-}
-sub getpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_svc ];
-  $^W=1;
-  $return;
-}
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-###
-
-open(SHADOW,"<$spooldir/shadow.import");
-
-my($line, $updated);
-while (<SHADOW>) {
-  $line++;
-  chop;
-  my($username,$password)=split(/:/);
-
-#  my @svc_acct = grep { $_->cust_svc->svcpart == $shell_svcpart } 
-#                 qsearch('svc_acct', { 'username' => $username } );
-  my @svc_acct = grep {
-                   my $svcpart = $_->cust_svc->svcpart;
-                   grep { $_ == $svcpart } @shell_svcpart;
-                 } qsearch('svc_acct', { 'username' => $username } );
-
-  next unless @svc_acct;
-
-  if ( scalar(@svc_acct) > 1 ) {
-    die "more than one $username found!\n";
-    next;
-  }
-
-  my $svc_acct = shift @svc_acct;
-
-  next unless    $svc_acct->_password eq '*'
-              || $opt_r
-              || ( $opt_b && $svc_acct->_password =~ /^\$2a?\$/ );
-
-  next if $svc_acct->username eq 'root';
-
-  next if $password eq 'NP' || $password eq '*LK*';
-
-  next if $svc_acct->_password eq $password;
-  next if $svc_acct->_password =~ /^\*SUSPENDED\*/;
-
-  my $new_svc_acct = new FS::svc_acct( { $svc_acct->hash } );
-  $new_svc_acct->_password($password);
-  #warn "$username: ". $svc_acct->_password. " -> $password\n";
-  warn "changing password for $username\n";
-  unless ( $opt_d ) {
-    my $error = $new_svc_acct->replace($svc_acct);
-    die "$username: $error" if $error;
-  }
-
-  $updated++;
-
-}
-
-warn "$updated of $line passwords changed\n";
-
-sub usage {
-  die "Usage:\n\n  shadow.reimport [ -d ] [ -r ] user\n";
-}
-
diff --git a/bin/slony-setup b/bin/slony-setup
deleted file mode 100755 (executable)
index b384bb9..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/perl
-#
-# hack to update/add read-only permissions for a user on the db
-#
-# usage: pg-readonly freesideuser readonlyuser
-
-use strict;
-use DBI;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(dbdef);
-
-my $user = shift or die &usage;
-adminsuidsetup($user);
-
-#---
-
-#su postgres -c 'createlang plpgsql freeside'
-
-#---
-
-my $MASTERHOST = '172.21.0.204';
-my $SLAVEHOST = '172.21.0.205';
-#my $REPLICATIONUSER='pgsql';
-my $REPLICATIONUSER='postgres';
-
-#drop set ( id = 1, origin = 1);
-
-print <<END;
-cluster name = freeside;
-node 1 admin conninfo = 'dbname=freeside host=$MASTERHOST user=$REPLICATIONUSER';
-node 2 admin conninfo = 'dbname=freeside host=$SLAVEHOST user=$REPLICATIONUSER';
-init cluster ( id=1, comment = 'Master Node');
-create set (id=1, origin=1, comment='All freeside tables');
-
-END
-
-my $id = 1;
-
-foreach my $table ( dbdef->tables ) {
-  #next if $table =~ /^sql_/i;
-  print "set add table (set id=1, origin=1, id=". $id++. ", fully qualified name = 'public.$table' );\n";
-
-}
-
-print <<END;
-store node (id=2, comment = 'Slave node');
-store path (server = 1, client = 2, conninfo='dbname=freeside host=$MASTERHOST user=$REPLICATIONUSER');
-store path (server = 2, client = 1, conninfo='dbname=freeside host=$SLAVEHOST user=$REPLICATIONUSER');
-store listen (origin=1, provider = 1, receiver =2);
-store listen (origin=2, provider = 2, receiver =1);
-END
-
-
diff --git a/bin/sqlradius-norealm.reimport b/bin/sqlradius-norealm.reimport
deleted file mode 100755 (executable)
index b7d0166..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use vars qw(%part_svc);
-#use Date::Parse;
-use DBI;
-use Term::Query qw(query);
-use FS::UID qw(adminsuidsetup); #datasrc
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_acct;
-use FS::part_svc;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-#push @FS::svc_acct::shells, qw(/bin/sync /sbin/shutdown /bin/halt /sbin/halt); #others?
-
-$FS::svc_Common::noexport_hack = 1;
-
-###
-
-%part_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-
-die "No services with svcdb svc_acct!\n" unless %part_svc;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Enter part number to import.
-END
-my $sqlradius_svcpart = &getpart;
-
-my $datasrc = &getvalue("\n\nEnter the DBI datasource:");
-my $db_user = &getvalue("\n\nEnter the database user:");
-my $db_pass = &getvalue("\n\nEnter the database password:");
-
-sub menu_svc {
-  ( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";
-}
-sub getpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_svc ];
-  $^W=1;
-  $return;
-}
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-###
-
-my $dbh = DBI->connect( $datasrc, $db_user, $db_pass )
-  or die $DBI::errstr;
-
-my $sth = $dbh->prepare('SELECT DISTINCT UserName FROM radcheck')
-  or die $dbh->errstr;
-$sth->execute or die $sth->errstr;
-
-my $row;
-while ( defined ( $row = $sth->fetchrow_arrayref ) ) {
-  my( $username ) = @$row;
-
-  my( $password, $group ) = ( '', '', '' );
-
-  my $rc_sth = $dbh->prepare(
-    'SELECT Attribute, Value'.
-    '  FROM radcheck'.
-    '  WHERE UserName = ?'
-  ) or die $dbh->errstr;
-  $rc_sth->execute($username) or die $rc_sth->errstr;
-
-  foreach my $rc_row ( @{$rc_sth->fetchall_arrayref} ) {
-    my($attribute, $value) = @$rc_row;
-    if ( $attribute =~ /^((Crypt|User)-)?Password$/ ) {
-      $password = $value unless $password && !$1;
-    } else {
-      #handle other params!
-    }
-  }
-
-  my @svc_acct = grep { $_->cust_svc->svcpart == $sqlradius_svcpart } 
-                 qsearch('svc_acct', { 'username' => $username, } );
-
-  #print "$r_username / $realm: $password / $finger: ";
-  print "$username: $password: ";
-  if ( scalar(@svc_acct) == 0 ) {
-    print "not found\n";
-    next;
-  } elsif ( scalar(@svc_acct) > 1 ) {
-    print "multiple matches found?!?!\n";
-    next;
-  } else {
-    #print "correcting password and name\n";
-    print "correcting password\n";
-  }
-
-  my $svc_acct = $svc_acct[0];
-  #my $new = new FS::svc_acct { $svc_acct->hash, '_password' => $password, 'finger' => $finger };
-  my $new = new FS::svc_acct { $svc_acct->hash, '_password' => $password };
-  my $error = $new->replace($svc_acct);
-  #my $error = $new->check;
-  die "$username: $error" if $error;
-
-}
-
-sub usage {
-  die "Usage:\n\n  sqlradius-norealm.reimport user\n";
-}
-
diff --git a/bin/sqlradius.import b/bin/sqlradius.import
deleted file mode 100644 (file)
index e75f65b..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use vars qw(%part_svc %domain_part_svc);
-#use Date::Parse;
-use DBI;
-use Term::Query qw(query);
-use FS::UID qw(adminsuidsetup); #datasrc
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_acct;
-use FS::part_svc;
-use FS::svc_domain;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-#push @FS::svc_acct::shells, qw(/bin/sync /sbin/shutdown /bin/halt /sbin/halt); #others?
-
-$FS::svc_Common::noexport_hack = 1;
-$FS::svc_domain::whois_hack = 1;
-
-###
-
-%part_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-
-die "No services with svcdb svc_acct!\n" unless %part_svc;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Enter part number to import.
-END
-my $sqlradius_svcpart = &getpart;
-
-%domain_part_svc = map { $_->svcpart, $_ }
-                       qsearch('part_svc', { 'svcdb' => 'svc_domain'} );
-
-die "No services with svcdb svc_domain!\n" unless %domain_part_svc;
-
-print "\n\n", &menu_domain_svc, "\n", <<END;
-Enter part number for domains.
-END
-my $domain_svcpart = &getdomainpart;
-
-my $datasrc = &getvalue("\n\nEnter the DBI datasource:");
-my $db_user = &getvalue("\n\nEnter the database user:");
-my $db_pass = &getvalue("\n\nEnter the database password:");
-
-sub menu_svc {
-  ( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";
-}
-sub menu_domain_svc {
-  ( join "\n", map "$_: ".$domain_part_svc{$_}->svc, sort keys %domain_part_svc ). "\n";
-}
-sub getpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_svc ];
-  $^W=1;
-  $return;
-}
-sub getdomainpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %domain_part_svc ];
-  $^W=1;
-  $return;
-}
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-###
-
-my $dbh = DBI->connect( $datasrc, $db_user, $db_pass )
-  or die $DBI::errstr;
-
-my $sth = $dbh->prepare('SELECT DISTINCT UserName, Realm FROM radcheck')
-  or die $dbh->errstr;
-$sth->execute or die $sth->errstr;
-
-my $row;
-while ( defined ( $row = $sth->fetchrow_arrayref ) ) {
-  my( $r_username, $realm ) = @$row;
-
-  my( $username, $domain );
-  if ( $r_username =~ /^([^@]+)\@([^@]+)$/ ) {
-    $username = $1;
-    $domain = $2;
-  } else {
-    $username = $r_username;
-    $domain = $realm;
-  }
-  my $svc_domain = qsearchs('svc_domain', { 'domain'  => $domain } )
-                   || new FS::svc_domain {
-                                           'domain'  => $domain,
-                                           'svcpart' => $domain_svcpart,
-                                           'action'  => 'N',
-                                         };
-  unless ( $svc_domain->svcnum ) {
-    my $error = $svc_domain->insert;
-    if ( $error ) {
-      die "can't insert domain $domain: $error\n";
-    }
-  }
-
-  my( $password, $finger, $group ) = ( '', '', '' );
-
-  my $rc_sth = $dbh->prepare(
-    'SELECT Attribute, Value, Name, GroupName'.
-    '  FROM radcheck'.
-    '  WHERE UserName = ? and Realm = ?'
-  ) or die $dbh->errstr;
-  $rc_sth->execute($r_username, $realm) or die $rc_sth->errstr;
-
-  foreach my $rc_row ( @{$rc_sth->fetchall_arrayref} ) {
-    my($attribute, $value, $name, $groupname) = @$rc_row;
-    if ( $attribute =~ /^((User|Crypt)-)?Password$/ ) {
-      $password = $value;
-      $finger = $name;
-      $group = $groupname;
-    } else {
-      #handle other params!
-    }
-  }
-
-  my $svc_acct = new FS::svc_acct {
-    'svcpart'   => $sqlradius_svcpart,
-    'username'  => $username,
-    'domsvc'    => $svc_domain->svcnum,
-    '_password' => $password,
-    'finger'    => $finger,
-  };
-
-  my $error = $svc_acct->insert;
-  #my $error = $svc_acct->check;
-  if ( $error ) {
-    if ( $error =~ /duplicate/i ) {
-      warn "$r_username / $realm: $error";
-    } else {
-      die "$r_username / $realm: $error";
-    }
-  }
-
-}
-
-sub usage {
-  die "Usage:\n\n  sqlradius.import user\n";
-}
-
diff --git a/bin/sqlradius.reimport b/bin/sqlradius.reimport
deleted file mode 100755 (executable)
index 2218a3f..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use vars qw(%part_svc %domain_part_svc);
-#use Date::Parse;
-use DBI;
-use Term::Query qw(query);
-use FS::UID qw(adminsuidsetup); #datasrc
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_acct;
-use FS::part_svc;
-use FS::svc_domain;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-#push @FS::svc_acct::shells, qw(/bin/sync /sbin/shutdown /bin/halt /sbin/halt); #others?
-
-$FS::svc_Common::noexport_hack = 1;
-$FS::svc_domain::whois_hack = 1;
-
-###
-
-%part_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-
-die "No services with svcdb svc_acct!\n" unless %part_svc;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Enter part number to import.
-END
-my $sqlradius_svcpart = &getpart;
-
-%domain_part_svc = map { $_->svcpart, $_ }
-                       qsearch('part_svc', { 'svcdb' => 'svc_domain'} );
-
-die "No services with svcdb svc_domain!\n" unless %domain_part_svc;
-
-print "\n\n", &menu_domain_svc, "\n", <<END;
-Enter part number for domains.
-END
-my $domain_svcpart = &getdomainpart;
-
-my $datasrc = &getvalue("\n\nEnter the DBI datasource:");
-my $db_user = &getvalue("\n\nEnter the database user:");
-my $db_pass = &getvalue("\n\nEnter the database password:");
-
-sub menu_svc {
-  ( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";
-}
-sub menu_domain_svc {
-  ( join "\n", map "$_: ".$domain_part_svc{$_}->svc, sort keys %domain_part_svc ). "\n";
-}
-sub getpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_svc ];
-  $^W=1;
-  $return;
-}
-sub getdomainpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %domain_part_svc ];
-  $^W=1;
-  $return;
-}
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-###
-
-my $dbh = DBI->connect( $datasrc, $db_user, $db_pass )
-  or die $DBI::errstr;
-
-my $sth = $dbh->prepare('SELECT DISTINCT UserName, Realm FROM radcheck')
-  or die $dbh->errstr;
-$sth->execute or die $sth->errstr;
-
-my $row;
-while ( defined ( $row = $sth->fetchrow_arrayref ) ) {
-  my( $r_username, $realm ) = @$row;
-
-  my( $username, $domain );
-  if ( $r_username =~ /^([^@]+)\@([^@]+)$/ ) {
-    $username = $1;
-    $domain = $2;
-  } else {
-    $username = $r_username;
-    $domain = $realm;
-  }
-  my $svc_domain = qsearchs('svc_domain', { 'domain'  => $domain } )
-                   || new FS::svc_domain {
-                                           'domain'  => $domain,
-                                           'svcpart' => $domain_svcpart,
-                                           'action'  => 'N',
-                                         };
-  unless ( $svc_domain->svcnum ) {
-    die "new domain?  wtf";
-    my $error = $svc_domain->insert;
-    if ( $error ) {
-      die "can't insert domain $domain: $error\n";
-    }
-  }
-
-  #my( $password, $finger, $group ) = ( '', '', '' );
-  my( $password, $group ) = ( '', '', '' );
-
-  my $rc_sth = $dbh->prepare(
-    'SELECT Attribute, Value, Name, GroupName'.
-    '  FROM radcheck'.
-    '  WHERE UserName = ? and Realm = ?'
-  ) or die $dbh->errstr;
-  $rc_sth->execute($r_username, $realm) or die $rc_sth->errstr;
-
-  foreach my $rc_row ( @{$rc_sth->fetchall_arrayref} ) {
-    my($attribute, $value, $name, $groupname) = @$rc_row;
-    if ( $attribute =~ /^((Crypt|User)-)?Password$/ ) {
-      $password = $value;
-      #$finger = $name;
-      $group = $groupname;
-    } else {
-      #handle other params!
-    }
-  }
-
-  my @svc_acct = grep { $_->cust_svc->svcpart == $sqlradius_svcpart } 
-                 qsearch('svc_acct', { 'username' => $username,
-                                       'domsvc'   => $svc_domain->svcnum, } );
-
-  #print "$r_username / $realm: $password / $finger: ";
-  print "$r_username / $realm: $password: ";
-  if ( scalar(@svc_acct) == 0 ) {
-    print "not found\n";
-    next;
-  } elsif ( scalar(@svc_acct) > 1 ) {
-    print "multiple matches found?!?!\n";
-    next;
-  } else {
-    #print "correcting password and name\n";
-    print "correcting password\n";
-  }
-
-  my $svc_acct = $svc_acct[0];
-  #my $new = new FS::svc_acct { $svc_acct->hash, '_password' => $password, 'finger' => $finger };
-  my $new = new FS::svc_acct { $svc_acct->hash, '_password' => $password };
-  my $error = $new->replace($svc_acct);
-  #my $error = $new->check;
-  die "$r_username / $realm: $error" if $error;
-
-}
-
-sub usage {
-  die "Usage:\n\n  sqlradius.reimport user\n";
-}
-
diff --git a/bin/svc_acct.export b/bin/svc_acct.export
deleted file mode 100755 (executable)
index 0bc370f..0000000
+++ /dev/null
@@ -1,641 +0,0 @@
-#!/usr/bin/perl -w
-#
-# $Id: svc_acct.export,v 1.36 2002-05-16 14:28:35 ivan Exp $
-#
-# Create and export password, radius and vpopmail password files:
-# passwd, passwd.adjunct, shadow, acp_passwd, acp_userinfo, acp_dialup
-# users/assign, domains/vdomain/vpasswd
-# Also export sendmail and qmail config files.
-
-use strict;
-use vars qw($conf);
-use Fcntl qw(:flock);
-use File::Path;
-use IO::Handle;
-use FS::Conf;
-use Net::SSH qw(ssh);
-use Net::SCP qw(scp);
-use FS::UID qw(adminsuidsetup datasrc dbh);
-use FS::Record qw(qsearch qsearchs fields);
-use FS::svc_acct;
-use FS::svc_domain;
-use FS::svc_forward;
-
-my $ssh='ssh';
-my $rsync='rsync';
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-$conf = new FS::Conf;
-
-my $userpolicy = $conf->config('username_policy')
-  if $conf->exists('username_policy');
-
-my @shellmachines = $conf->config('shellmachines')
-  if $conf->exists('shellmachines');
-
-my @bsdshellmachines = $conf->config('bsdshellmachines')
-  if $conf->exists('bsdshellmachines');
-
-my @nismachines = $conf->config('nismachines')
-  if $conf->exists('nismachines');
-
-my @erpcdmachines = $conf->config('erpcdmachines')
-  if $conf->exists('erpcdmachines');
-
-my @radiusmachines = $conf->config('radiusmachines')
-  if $conf->exists('radiusmachines');
-
-my $textradiusprepend =
-  $conf->exists('textradiusprepend')
-    ? $conf->config('textradiusprepend')
-    : '';
-
-warn "using depriciated textradiusprepend file" if $textradiusprepend;
-
-
-my $radiusprepend =
-  $conf->exists('radiusprepend')
-    ? join("\n", $conf->config('radiusprepend'))
-    : '';
-
-my @vpopmailmachines = $conf->config('vpopmailmachines')
-  if $conf->exists('vpopmailmachines');
-my $vpopmailrestart = '';
-$vpopmailrestart = $conf->config('vpopmailrestart')
-  if $conf->exists('vpopmailrestart');
-
-my ($machine, $vpopdir, $vpopuid, $vpopgid) = split (/\s+/, $vpopmailmachines[0]) if $vpopmailmachines[0];
-
-my($shellmachine, @qmailmachines);
-if ( $conf->exists('qmailmachines') ) {
-  $shellmachine = $conf->config('shellmachine');
-  @qmailmachines = $conf->config('qmailmachines');
-}
-
-my(@sendmailmachines, $sendmailconfigpath, $sendmailrestart);
-if ( $conf->exists('sendmailmachines') ) {
-  @sendmailmachines = $conf->config('sendmailmachines');
-  $sendmailconfigpath = $conf->config('sendmailconfigpath') || '/etc';
-  $sendmailrestart = $conf->config('sendmailrestart');
-}
-
-my $mydomain = $conf->config('domain') if $conf->exists('domain');
-
-
-
-
-my(@saltset)= ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-require 5.004; #srand(time|$$);
-
-my $spooldir = "/usr/local/etc/freeside/export.". datasrc;
-my $spoollock = "/usr/local/etc/freeside/svc_acct.export.lock.". datasrc;
-
-open(EXPORT,"+>>$spoollock") or die "Can't open $spoollock: $!";
-select(EXPORT); $|=1; select(STDOUT);
-unless ( flock(EXPORT,LOCK_EX|LOCK_NB) ) {
-  seek(EXPORT,0,0);
-  my($pid)=<EXPORT>;
-  chop($pid);
-  #no reason to start lots of blocking processes
-  die "Is another export process running under pid $pid?\n";
-}
-seek(EXPORT,0,0);
-print EXPORT $$,"\n";
-
-my(@svc_domain)=qsearch('svc_domain',{});
-
-( open(MASTER,">$spooldir/master.passwd")
-  and flock(MASTER,LOCK_EX|LOCK_NB)  
-) or die "Can't open $spooldir/.master.passwd: $!";
-( open(PASSWD,">$spooldir/passwd")
-  and flock(PASSWD,LOCK_EX|LOCK_NB)  
-) or die "Can't open $spooldir/passwd: $!";
-( open(SHADOW,">$spooldir/shadow")
-  and flock(SHADOW,LOCK_EX|LOCK_NB)  
-) or die "Can't open $spooldir/shadow: $!";
-( open(ACP_PASSWD,">$spooldir/acp_passwd")
-  and flock(ACP_PASSWD,LOCK_EX|LOCK_NB)  
-) or die "Can't open $spooldir/acp_passwd: $!";
-( open(ACP_DIALUP,">$spooldir/acp_dialup")
-  and flock(ACP_DIALUP,LOCK_EX|LOCK_NB)  
-) or die "Can't open $spooldir/acp_dialup: $!";
-( open(USERS,">$spooldir/users")
-  and flock(USERS,LOCK_EX|LOCK_NB)  
-) or die "Can't open $spooldir/users: $!";
-
-( open(ASSIGN,">$spooldir/assign")
-  and flock(ASSIGN,LOCK_EX|LOCK_NB)  
-) or die "Can't open $spooldir/assign: $!";
-( open(RCPTHOSTS,">$spooldir/rcpthosts")
-  and flock(RCPTHOSTS,LOCK_EX|LOCK_NB) 
-) or die "Can't open $spooldir/rcpthosts: $!";
-( open(VPOPRCPTHOSTS,">$spooldir/vpoprcpthosts")
-  and flock(VPOPRCPTHOSTS,LOCK_EX|LOCK_NB) 
-) or die "Can't open $spooldir/rcpthosts: $!";
-( open(RECIPIENTMAP,">$spooldir/recipientmap") 
-  and flock(RECIPIENTMAP,LOCK_EX|LOCK_NB) 
-) or die "Can't open $spooldir/recipientmap: $!";
-( open(VIRTUALDOMAINS,">$spooldir/virtualdomains") 
-  and flock(VIRTUALDOMAINS,LOCK_EX|LOCK_NB)
-) or die "Can't open $spooldir/virtualdomains: $!";
-( open(VPOPVIRTUALDOMAINS,">$spooldir/vpopvirtualdomains") 
-  and flock(VPOPVIRTUALDOMAINS,LOCK_EX|LOCK_NB)
-) or die "Can't open $spooldir/virtualdomains: $!";
-( open(VIRTUSERTABLE,">$spooldir/virtusertable")
-  and flock(VIRTUSERTABLE,LOCK_EX|LOCK_NB)
-) or die "Can't open $spooldir/virtusertable: $!";
-( open(SENDMAIL_CW,">$spooldir/sendmail.cw")
-  and flock(SENDMAIL_CW,LOCK_EX|LOCK_NB)
-) or die "Can't open $spooldir/sendmail.cw: $!";
-
-
-
-chmod 0644, "$spooldir/passwd",
-            "$spooldir/acp_dialup",
-            "$spooldir/assign",
-            "$spooldir/sendmail.cw",
-            "$spooldir/virtusertable",
-            "$spooldir/rcpthosts",
-            "$spooldir/vpoprcpthosts",
-            "$spooldir/recipientmap",
-            "$spooldir/virtualdomains",
-            "$spooldir/vpopvirtualdomains",
-
-;
-chmod 0600, "$spooldir/master.passwd",
-            "$spooldir/acp_passwd",
-            "$spooldir/shadow",
-            "$spooldir/users",
-;
-
-rmtree"$spooldir/domains", 0, 1;
-mkdir "$spooldir/domains", 0700;
-
-setpriority(0,0,10);
-
-print USERS "$radiusprepend\n";
-
-my %usernames;  ## this hack helps keep the passwd files sane
-my @sendmail;
-
-my $svc_domain;
-foreach $svc_domain (sort {$a->domain cmp $b->domain} @svc_domain) {
-
-  my($domain)=$svc_domain->domain;
-  print RCPTHOSTS "$domain\n.$domain\n";
-  print VPOPRCPTHOSTS "$domain\n";
-  print SENDMAIL_CW "$domain\n";
-
-  ###
-  # FORMAT OF THE ASSIGN/USERS FILE HERE
-  print ASSIGN join(":",
-    "+" . $domain . "-",
-    $domain,
-    $vpopuid,
-    $vpopgid,
-    $vpopdir . "/domains/" . $domain,
-    "-",
-    "",
-    "",
-  ), "\n" if $vpopmailmachines[0];
-
-  (mkdir "$spooldir/domains/" . $domain, 0700)
-    or die "Can't create $spooldir/domains/" . $domain .": $!";
-
-  ( open(QMAILDEFAULT,">$spooldir/domains/" . $domain . "/.qmail-default")
-    and flock(QMAILDEFAULT,LOCK_EX|LOCK_NB)  
-  ) or die "Can't open $spooldir/domains/" . $domain . "/.qmail-default: $!";
-
-  ( open(VPASSWD,">$spooldir/domains/" . $domain . "/vpasswd")
-    and flock(VPASSWD,LOCK_EX|LOCK_NB)  
-  ) or die "Can't open $spooldir/domains/" . $domain . "/vpasswd: $!";
-
-  my ($svc_acct);
-
-  if ($svc_domain->getfield('catchall')) {
-    $svc_acct = qsearchs('svc_acct', {'svcnum' => $svc_domain->catchall});
-    die "Cannot find catchall account for domain $domain\n" unless $svc_acct;
-
-    my $username = $svc_acct->username;
-    push @sendmail, "\@$domain\t$username\n";
-    print VIRTUALDOMAINS "$domain:$username-$domain\n",
-                         ".$domain:$username-$domain\n",
-    ;
-
-    ###
-    # FORMAT OF THE .QMAIL-DEFAULT FILE HERE
-    print QMAILDEFAULT "| $vpopdir/bin/vdelivermail \"\" " . $svc_acct->email . "\n"
-      if $vpopmailmachines[0];
-
-  }else{
-    ###
-    # FORMAT OF THE .QMAIL-DEFAULT FILE HERE
-    print QMAILDEFAULT "| $vpopdir/bin/vdelivermail \"\" bounce-no-mailbox\n"
-      if $vpopmailmachines[0];
-  }
-
-  print VPOPVIRTUALDOMAINS "$domain:$domain\n";
-
-  foreach $svc_acct (qsearch('svc_acct', {'domsvc' => $svc_domain->svcnum})) {
-    my($password)=$svc_acct->getfield('_password');
-    my($cpassword,$rpassword);
-    #if ( ( length($password) <= 8 )
-    if ( ( length($password) <= 12 )
-         && ( $password ne '*' )
-         && ( $password ne '!!' )
-         && ( $password ne '' )
-       ) {
-      $cpassword=crypt($password,
-                       $saltset[int(rand(64))].$saltset[int(rand(64))]
-      );
-      $rpassword=$password;
-    } else {
-      $cpassword=$password;
-      $rpassword='UNIX';
-    }
-
-    my $username;
-
-    if ($mydomain && ($mydomain eq $svc_domain->domain)) {
-      $username=$svc_acct->username;
-    } elsif ($userpolicy =~ /^prepend domsvc$/) {
-      $username=$svc_acct->domsvc . $svc_acct->username;
-    } elsif ($userpolicy =~ /^append domsvc$/) {
-      $username=$svc_acct->username . $svc_acct->domsvc;
-    } elsif ($userpolicy =~ /^append domain$/) {
-      $username=$svc_acct->username . $svc_domain->domain;
-    } elsif ($userpolicy =~ /^append domain$/) {
-      $username=$svc_acct->username . $svc_domain->domain;
-    } elsif ($userpolicy =~ /^append \@domain$/) {
-      $username=$svc_acct->username . '@'. $svc_domain->domain;
-    } else {
-      die "Unknown policy in username_policy\n";
-    }
-
-    if ($svc_acct->dir ne '/dev/null' || $svc_acct->slipip ne '') {
-      if ($usernames{$username}++) {
-        die "Duplicate username detected: $username\n";
-      }
-    }
-            
-    if ( $svc_acct->uid  =~ /^(\d+)$/ ) {
-
-      die "Non-root user ". $svc_acct->username. " has 0 UID!"
-        if $svc_acct->uid == 0 && $svc_acct->username ne 'root';
-
-      if ( $svc_acct->dir ne "/dev/null") {
-
-        ###
-        # FORMAT OF FreeBSD MASTER PASSWD FILE HERE
-        print MASTER join(":",
-          $username,                        # User name
-          $cpassword,                       # Encrypted password
-          $svc_acct->uid,                   # User ID
-          $svc_acct->gid,                   # Group ID
-          "",                               # Login Class
-          "0",                              # Password Change Time
-          "0",                              # Password Expiration Time
-          $svc_acct->finger,                # Users name
-          $svc_acct->dir,                   # Users home directory
-          $svc_acct->shell,                 # shell
-        ), "\n" ;
-
-
-        ###
-        # FORMAT OF THE PASSWD FILE HERE
-        print PASSWD join(":",
-          $username,
-          'x', # "##". $username,
-          $svc_acct->uid,
-          $svc_acct->gid,
-          $svc_acct->finger,
-          $svc_acct->dir,
-          $svc_acct->shell,
-        ), "\n";
-
-        ###
-        # FORMAT OF THE SHADOW FILE HERE
-        print SHADOW join(":",
-          $username,
-          $cpassword,
-          '',
-          '',
-          '',
-          '',
-          '',
-          '',
-          '',
-        ), "\n";
-      }
-    }
-
-    ###
-    # FORMAT OF THE VPASSWD FILE HERE
-    print VPASSWD join(":",
-      $svc_acct->username,
-      $cpassword,
-      '1',
-      '0',
-      $svc_acct->username,
-      "$vpopdir/domains/" . $svc_domain->domain ."/" . $svc_acct->username,
-      'NOQUOTA',
-    ), "\n";
-
-
-    if ( $svc_acct->slipip ne '' ) {
-
-      ###
-      # FORMAT OF THE ACP_* FILES HERE
-      print ACP_PASSWD join(":",
-        $username,
-        $cpassword,
-        "0",
-        "0",
-        "",
-        "",
-        "",
-      ), "\n";
-
-      my($ip)=$svc_acct->slipip;
-
-      unless ( $ip eq '0.0.0.0' || $svc_acct->slipip eq '0e0' ) {
-        print ACP_DIALUP $username, "\t*\t", $svc_acct->slipip, "\n";
-      }
-
-      my %radreply = $svc_acct->radius_reply;
-      my %radcheck = $svc_acct->radius_check;
-
-      my $radcheck = join ", ", map { qq($_ = "$radcheck{$_}") } keys %radcheck;
-      $radcheck .= ", " if $radcheck;
-
-      ###
-      # FORMAT OF THE USERS FILE HERE
-      print USERS
-        $username,
-        qq(\t${textradiusprepend}),
-        $radcheck,
-#        qq(Password = "$rpassword"\n\t),
-        join ",\n\t", map { qq($_ = "$radreply{$_}") } keys %radreply;
-
-      #if ( $ip && $ip ne '0e0' ) {
-      #  #print USERS qq(,\n\tFramed-Address = "$ip"\n\n);
-      #  print USERS qq(,\n\tFramed-IP-Address = "$ip"\n\n);
-      #} else {
-        print USERS qq(\n\n);
-      #}
-
-    }
-  
-    ###
-    # vpopmail directory structure creation
-
-    (mkdir "$spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username, 0700)
-      or die "Can't create $spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . ": $!";
-    (mkdir "$spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . "/Maildir", 0700)
-      or die "Can't create $spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . " /Maildir: $!";
-    (mkdir "$spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . "/Maildir/cur", 0700)
-      or die "Can't create $spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . " /Maildir/cur: $!";
-    (mkdir "$spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . "/Maildir/new", 0700)
-      or die "Can't create $spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . " /Maildir/new: $!";
-    (mkdir "$spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . "/Maildir/tmp", 0700)
-      or die "Can't create $spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . " /Maildir/tmp: $!";
-
-    ( open(DOTQMAIL,">$spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . "/.qmail")
-      and flock(DOTQMAIL,LOCK_EX|LOCK_NB)  
-    ) or die "Can't open $spooldir/domains/" . $svc_domain->domain . "/" . $svc_acct->username . "/.qmail: $!";
-
-    my($svc_forward);
-    foreach $svc_forward (qsearch('svc_forward', {'srcsvc' => $svc_acct->svcnum})) {
-      my($destination);
-      if ($svc_forward->dstsvc) {
-        my $dst_acct = qsearchs('svc_acct', {'svcnum' => $svc_forward->dstsvc});
-        my $dst_domain = qsearchs('svc_domain', {'svcnum' => $dst_acct->domsvc});
-        $destination = $dst_acct->username . '@' . $dst_domain->domain;
-
-        if ($dst_domain->domain eq $mydomain) {
-          print VIRTUSERTABLE $svc_acct->username . "@" . $svc_domain->domain .
-            "\t" . $dst_acct->username . "\n";
-          print RECIPIENTMAP $svc_acct->username . "@" . $svc_domain->domain .
-            ":$destination\n";
-        }
-      } else {
-        $destination = $svc_forward->dst;
-      }
-    
-      ###
-      # FORMAT OF .QMAIL FILES HERE
-      print DOTQMAIL "$destination\n";
-    }
-
-    flock(DOTQMAIL,LOCK_UN);
-    close DOTQMAIL;
-
-  }
-
-  flock(VPASSWD,LOCK_UN);
-  flock(QMAILDEFAULT,LOCK_UN);
-  close VPASSWD;
-  close QMAILDEFAULT;
-
-}
-
-###
-# FORMAT OF THE ASSIGN/USERS FILE FINAL LINE HERE
-print ASSIGN ".\n";
-
-print VIRTUSERTABLE @sendmail;
-
-flock(MASTER,LOCK_UN);
-flock(PASSWD,LOCK_UN);
-flock(SHADOW,LOCK_UN);
-flock(ACP_DIALUP,LOCK_UN);
-flock(ACP_PASSWD,LOCK_UN);
-flock(USERS,LOCK_UN);
-flock(ASSIGN,LOCK_UN);
-flock(SENDMAIL_CW,LOCK_UN);
-flock(VIRTUSERTABLE,LOCK_UN);
-flock(RCPTHOSTS,LOCK_UN);
-flock(VPOPRCPTHOSTS,LOCK_UN);
-flock(RECIPIENTMAP,LOCK_UN);
-flock(VPOPVIRTUALDOMAINS,LOCK_UN);
-
-close MASTER;
-close PASSWD;
-close SHADOW;
-close ACP_DIALUP;
-close ACP_PASSWD;
-close USERS;
-close ASSIGN;
-close SENDMAIL_CW;
-close VIRTUSERTABLE;
-close RCPTHOSTS;
-close VPOPRCPTHOSTS;
-close RECIPIENTMAP;
-close VPOPVIRTUALDOMAINS;
-
-###
-# export stuff
-#
-
-my($ashellmachine);
-foreach $ashellmachine (@shellmachines) {
-  my $scp = new Net::SCP;
-  $scp->scp("$spooldir/passwd","root\@$ashellmachine:/etc/passwd.new")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/shadow","root\@$ashellmachine:/etc/shadow.new")
-    or die "scp error: ". $scp->{errstr};
-  ssh("root\@$ashellmachine",
-    "( ".
-      "mv /etc/passwd.new /etc/passwd; ".
-      "mv /etc/shadow.new /etc/shadow; ".
-    " )"
-  )
-    == 0 or die "ssh error: $!";
-}
-
-my($bsdshellmachine);
-foreach $bsdshellmachine (@bsdshellmachines) {
-  my $scp = new Net::SCP;
-  $scp->scp("$spooldir/passwd","root\@$bsdshellmachine:/etc/passwd.new")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/master.passwd","root\@$bsdshellmachine:/etc/master.passwd.new")
-    or die "scp error: ". $scp->{errstr};
-  ssh("root\@$bsdshellmachine",
-    "( ".
-      "mv /etc/passwd.new /etc/passwd; ".
-      #"mv /etc/master.passwd.new /etc/master.passwd; ".
-      "pwd_mkdb /etc/master.passwd.new; ".
-    " )"
-  )
-    == 0 or die "ssh error: $!";
-}
-
-my($nismachine);
-foreach $nismachine (@nismachines) {
-  my $scp = new Net::SCP;
-  $scp->scp("$spooldir/passwd","root\@$nismachine:/etc/global/passwd")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/shadow","root\@$nismachine:/etc/global/shadow")
-    or die "scp error: ". $scp->{errstr};
-  ssh("root\@$nismachine",
-    "( ".
-      "cd /var/yp; make; ".
-    " )"
-  )
-    == 0 or die "ssh error: $!";
-}
-
-my($erpcdmachine);
-foreach $erpcdmachine (@erpcdmachines) {
-  my $scp = new Net::SCP;
-  $scp->scp("$spooldir/acp_passwd","root\@$erpcdmachine:/usr/annex/acp_passwd")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/acp_dialup","root\@$erpcdmachine:/usr/annex/acp_dialup")
-    or die "scp error: ". $scp->{errstr};
-  ssh("root\@$erpcdmachine",
-    "( ".
-      "kill -USR1 \`cat /usr/annex/erpcd.pid\'".
-    " )"
-  )
-    == 0 or die "ssh error: $!";
-}
-
-my($radiusmachine);
-foreach $radiusmachine (@radiusmachines) {
-  my $scp = new Net::SCP;
-  $scp->scp("$spooldir/users","root\@$radiusmachine:/etc/raddb/users")
-    or die "scp error: ". $scp->{errstr};
-  ssh("root\@$radiusmachine",
-    "( ".
-      "builddbm".
-    " )"
-  )
-    == 0 or die "ssh error: $!";
-}
-
-#my @args = ("/bin/tar", "c", "--force-local", "-C", "$spooldir", "-f", "$spooldir/vpoptarball", "domains");
-
-#system {$args[0]} @args;
-
-my($vpopmailmachine);
-foreach $vpopmailmachine (@vpopmailmachines) {
-  my ($machine, $vpopdir, $vpopuid, $vpopgid) = split (/\s+/, $vpopmailmachine);
-  my $scp = new Net::SCP;
-#  $scp->scp("$spooldir/vpoptarball","root\@$machine:vpoptarball")
-#    or die "scp error: ". $scp->{errstr};
-#  ssh("root\@$machine",
-#    "( ".
-#      "rm -rf domains; ".
-#      "tar xf vpoptarball; ".
-#      "chown -R $vpopuid:$vpopgid domains; ".
-#      "tar cf vpoptarball domains; ".
-#      "cd $vpopdir; ".
-#      "tar xf ~/vpoptarball; ".
-#    " )"
-#  )
-#    == 0 or die "ssh error: $!";
-
-  chdir $spooldir;
-  my @args = ("$rsync", "-rlpt", "-e", "$ssh", "domains/", "vpopmail\@$machine:$vpopdir/domains/");
-
-  system {$args[0]} @args;
-
-  $scp->scp("$spooldir/assign","root\@$machine:/var/qmail/users/assign")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/vpopvirtualdomains","root\@$machine:/var/qmail/control/virtualdomains")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/vpoprcpthosts","root\@$machine:/var/qmail/control/rcpthosts")
-    or die "scp error: ". $scp->{errstr};
-
-  ssh("root\@$machine",
-    "( ".
-      $vpopmailrestart .
-    " )"
-  )
-    == 0 or die "ssh error: $!";
-
-
-}
-
-my($sendmailmachine);
-foreach $sendmailmachine (@sendmailmachines) {
-  my $scp = new Net::SCP;
-  $scp->scp("$spooldir/sendmail.cw","root\@$sendmailmachine:$sendmailconfigpath/sendmail.cw.new")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/virtusertable","root\@$sendmailmachine:$sendmailconfigpath/virtusertable.new")
-    or die "scp error: ". $scp->{errstr};
-  ssh("root\@$sendmailmachine",
-    "( ".
-      "mv $sendmailconfigpath/sendmail.cw.new $sendmailconfigpath/sendmail.cw; ".
-      "mv $sendmailconfigpath/virtusertable.new $sendmailconfigpath/virtusertable; ".
-      $sendmailrestart.
-    " )"
-  )
-    == 0 or die "ssh error: $!";
-}
-
-my($qmailmachine);
-foreach $qmailmachine (@qmailmachines) {
-  my $scp = new Net::SCP;
-  $scp->scp("$spooldir/recipientmap","root\@$qmailmachine:/var/qmail/control/recipientmap")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/virtualdomains","root\@$qmailmachine:/var/qmail/control/virtualdomains")
-    or die "scp error: ". $scp->{errstr};
-  $scp->scp("$spooldir/rcpthosts","root\@$qmailmachine:/var/qmail/control/rcpthosts")
-    or die "scp error: ". $scp->{errstr};
-  #ssh("root\@$qmailmachine","/etc/init.d/qmail restart")
-  #  == 0 or die "ssh error: $!";
-}
-
-unlink $spoollock;
-flock(EXPORT,LOCK_UN);
-close EXPORT;
-
-#
-
-sub usage {
-  die "Usage:\n\n  svc_acct.export user\n";
-}
-
diff --git a/bin/svc_acct.import b/bin/svc_acct.import
deleted file mode 100755 (executable)
index eb94e1c..0000000
+++ /dev/null
@@ -1,238 +0,0 @@
-#!/usr/bin/perl -Tw
-# $Id: svc_acct.import,v 1.17 2001-08-19 10:25:44 ivan Exp $
-
-use strict;
-use vars qw(%part_svc);
-use Date::Parse;
-use Term::Query qw(query);
-use Net::SCP qw(iscp);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch);
-use FS::svc_acct;
-use FS::part_svc;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-push @FS::svc_acct::shells, qw(/bin/sync /sbin/shuddown /bin/halt); #others?
-
-my($spooldir)="/usr/local/etc/freeside/export.". datasrc;
-
-$FS::svc_acct::nossh_hack = 1;
-
-###
-
-%part_svc=map { $_->svcpart, $_ } qsearch('part_svc',{'svcdb'=>'svc_acct'});
-
-die "No services with svcdb svc_acct!\n" unless %part_svc;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Most accounts probably have entries in passwd and users (with Port-Limit
-nonexistant or 1).
-END
-my($ppp_svcpart)=&getpart;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Some accounts have entries in passwd and users, but with Port-Limit 2 (or
-more).
-END
-my($isdn_svcpart)=&getpart;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Some accounts might have entries in users only (Port-Limit 1)
-END
-my($oppp_svcpart)=&getpart;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Some accounts might have entries in users only (Port-Limit >= 2)
-END
-my($oisdn_svcpart)=&getpart;
-
-print "\n\n", &menu_svc, "\n", <<END;
-POP mail accounts have entries in passwd only, and have a particular shell.
-END
-my($pop_shell)=&getvalue("Enter that shell:");
-my($popmail_svcpart)=&getpart;
-
-print "\n\n", &menu_svc, "\n", <<END;
-Everything else in passwd is a shell account.
-END
-my($shell_svcpart)=&getpart;
-
-print "\n\n", <<END;
-Enter the location and name of your _user_ passwd file, for example
-"mail.isp.com:/etc/passwd" or "nis.isp.com:/etc/global/passwd"
-END
-my($loc_passwd)=&getvalue(":");
-iscp("root\@$loc_passwd", "$spooldir/passwd.import");
-
-print "\n\n", <<END;
-Enter the location and name of your _user_ shadow file, for example
-"mail.isp.com:/etc/shadow" or "bsd.isp.com:/etc/master.passwd"
-END
-my($loc_shadow)=&getvalue(":");
-iscp("root\@$loc_shadow", "$spooldir/shadow.import");
-
-print "\n\n", <<END;
-Enter the location and name of your radius "users" file, for example
-"radius.isp.com:/etc/raddb/users"
-END
-my($loc_users)=&getvalue(":");
-iscp("root\@$loc_users", "$spooldir/users.import");
-
-sub menu_svc {
-  ( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";
-}
-sub getpart {
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query "Enter part number:", 'irk', [ keys %part_svc ];
-  $^W=1;
-  $return;
-}
-sub getvalue {
-  my $prompt = shift;
-  $^W=0; # Term::Query isn't -w-safe
-  my $return = query $prompt, '';
-  $^W=1;
-  $return;
-}
-
-print "\n\n";
-
-###
-
-open(PASSWD,"<$spooldir/passwd.import");
-open(SHADOW,"<$spooldir/shadow.import");
-open(USERS,"<$spooldir/users.import");
-
-my(%upassword,%ip,%allparam);
-my(%param,$username);
-while (<USERS>) {
-  chop;
-  next if /^\s*$/;
-  next if /^\s*#/;
-  if ( /^\S/ ) {
-    /^(\w+)\s+(Auth-Type\s+=\s+Local,\s+)?Password\s+=\s+"([^"]+)"(,\s+Expiration\s+=\s+"([^"]*")\s*)?$/
-      or die "1Unexpected line in users.import: $_";
-    my($password,$expiration);
-    ($username,$password,$expiration)=(lc($1),$3,$5);
-    $password = '' if $password eq 'UNIX';
-    $upassword{$username}=$password;
-    undef %param;
-  } else {
-    die "2Unexpected line in users.import: $_";
-  }
-  while (<USERS>) {
-    chop;
-    if ( /^\s*$/ ) {
-      if ( defined $param{'radius_Framed_IP_Address'} ) {
-        $ip{$username} = $param{'radius_Framed_IP_Address'};
-        delete $param{'radius_Framed_IP_Address'};
-      } else {
-        $ip{$username} = '0e0';
-      }
-      $allparam{$username}={ %param };
-      last;
-    } elsif ( /^\s+([\w\-]+)\s=\s"?([\w\.\-\s]+)"?,?\s*$/ ) {
-      my($attribute,$value)=($1,$2);
-      $attribute =~ s/\-/_/g;
-      $param{'radius_'.$attribute}=$value;
-    } else {
-      die "3Unexpected line in users.import: $_";
-    }
-  }
-}
-#? incase there isn't a terminating blank line ?
-if ( defined $param{'radius_Framed_IP_Address'} ) {
-  $ip{$username} = $param{'radius_Framed_IP_Address'};
-  delete $param{'radius_Framed_IP_Address'};
-} else {
-  $ip{$username} = '0e0';
-}
-$allparam{$username}={ %param };
-
-my(%password);
-while (<SHADOW>) {
-  chop;
-  my($username,$password)=split(/:/);
-  #$password =~ s/^\!$/\*/;
-  #$password =~ s/\!+/\*SUSPENDED\* /;
-  $password{$username}=$password;
-}
-
-while (<PASSWD>) {
-  chop;
-  my($username,$x,$uid,$gid,$finger,$dir,$shell)=split(/:/);
-  my($password)=$upassword{$username} || $password{$username};
-
-  my($maxb)=${$allparam{$username}}{'radius_Port_Limit'};
-  my($svcpart);
-  if ( exists $upassword{$username} ) {
-    if ( $maxb >= 2 ) {
-      $svcpart = $isdn_svcpart
-    } elsif ( ! $maxb || $maxb == 1 ) {
-      $svcpart = $ppp_svcpart
-    } else {
-      die "Illegal Port-Limit in users ($username)!\n";
-    }
-  } elsif ( $shell eq $pop_shell ) {
-    $svcpart = $popmail_svcpart;
-  } else {
-    $svcpart = $shell_svcpart;
-  }
-
-  my($svc_acct) = new FS::svc_acct ({
-    'svcpart'   => $svcpart,
-    'username'  => $username,
-    '_password' => $password,
-    'uid'       => $uid,
-    'gid'       => $gid,
-    'finger'    => $finger,
-    'dir'       => $dir,
-    'shell'     => $shell,
-    'slipip'    => $ip{$username},
-    %{$allparam{$username}},
-  });
-  my($error);
-  $error=$svc_acct->insert;
-  die $error if $error;
-
-  delete $allparam{$username};
-  delete $upassword{$username};
-}
-
-#my($username);
-foreach $username ( keys %upassword ) {
-  my($password)=$upassword{$username};
-
-  my($maxb)=${$allparam{$username}}{'radius_Port_Limit'} || 0;
-  my($svcpart);
-  if ( $maxb == 2 ) {
-    $svcpart = $oisdn_svcpart
-  } elsif ( ! $maxb || $maxb == 1 ) {
-    $svcpart = $oppp_svcpart
-  } else {
-    die "Illegal Port-Limit in users!\n";
-  }
-
-  my($svc_acct) = new FS::svc_acct ({
-    'svcpart'   => $svcpart,
-    'username'  => $username,
-    '_password' => $password,
-    'slipip'    => $ip{$username},
-    %{$allparam{$username}},
-  });
-  my($error);
-  $error=$svc_acct->insert;
-  die $error, if $error;
-
-  delete $allparam{$username};
-  delete $upassword{$username};
-}
-
-#
-
-sub usage {
-  die "Usage:\n\n  svc_acct.import user\n";
-}
-
diff --git a/bin/svc_broadband.renumber b/bin/svc_broadband.renumber
deleted file mode 100755 (executable)
index 980fa00..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch qsearchs);
-use FS::svc_Common;
-use FS::part_svc_router;
-use FS::svc_broadband;
-use FS::router;
-use FS::addr_block;
-
-$FS::svc_Common::noexport_hack = 1;  #Disable exports!
-
-my $user = shift if $ARGV[0] or die &usage;
-adminsuidsetup($user);
-
-my $remapfile = shift if $ARGV[0] or die &usage;
-my $old_blocknum = shift if $ARGV[0] or die &usage;
-my $new_blocknum = shift if $ARGV[0] or die &usage;
-my $old_svcnum = shift if $ARGV[0];
-
-my %ipmap;
-
-open(REMAP, "<$remapfile") or die $!;
-while (<REMAP>) {
-  next unless (/^([0-9\.]+)\s+([0-9\.]+)$/);
-  my ($old_ip, $new_ip) = ($1, $2);
-  $ipmap{$old_ip} = $new_ip;
-}
-close(REMAP);
-
-my @svcs;
-if ($old_svcnum) {
-  @svcs = ( qsearchs('svc_broadband', { svcnum => $old_svcnum,
-                                        blocknum => $old_blocknum }) );
-} else {
-  @svcs = qsearch('svc_broadband', { blocknum => $old_blocknum });
-}
-
-foreach my $old_sb (@svcs) {
-
-  my $old_ip = $old_sb->ip_addr;
-  my $new_ip = $ipmap{$old_ip};
-  print "Renumbering ${old_ip} (${old_blocknum}) => ${new_ip} (${new_blocknum})...\n";
-
-
-  my $new_sb = new FS::svc_broadband
-    { $old_sb->hash,
-      ip_addr => $new_ip,
-      blocknum => $new_blocknum,
-      svcpart => $old_sb->cust_svc->svcpart,
-    };
-
-  my $error = $new_sb->replace($old_sb);
-  die $error if $error;
-
-}
-
-
-
-exit(0);
-
-sub usage {
-
-  my $usage = <<EOT;
-Usage:
-  svc_broadband.renumber user remapfile old_blocknum new_blocknum [ svcnum ]
-
-remapfile format:
-old_ip_address new_ip_address
-...
-
-Example remapfile:
-10.0.0.5       192.168.0.5
-10.0.0.20      192.168.0.20
-10.0.0.32      192.168.0.3
-
-Warning: This assumes your routers have already been reconfigured with the
-         new addresses.  Exports will not be run!
-
-EOT
-
-}
diff --git a/bin/svc_domain.erase b/bin/svc_domain.erase
deleted file mode 100755 (executable)
index c023661..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/perl -w
-#
-# $Id: svc_domain.erase,v 1.1 2002-04-20 11:57:35 ivan Exp $
-
-use strict;
-use FS::UID qw(adminsuidsetup);
-use FS::Record qw(qsearch);
-
-use FS::domain_record;
-use FS::svc_domain;
-
-adminsuidsetup(shift @ARGV) or die "Usage: svc_domain.erase user\n";
-
-foreach my $record ( qsearch('domain_record',{}), qsearch('svc_domain', {} ) ) {
-  my $error = $record->delete;
-  die $error if $error;
-}
diff --git a/bin/sysvshell.export b/bin/sysvshell.export
deleted file mode 100755 (executable)
index c13912c..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/usr/bin/perl -w
-
-# sysvshell export
-
-use strict;
-use File::Rsync;
-use Net::SSH qw(ssh);
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(qsearch qsearchs);
-use FS::part_export;
-use FS::cust_svc;
-use FS::svc_acct;
-
-my @saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-my $spooldir = "/usr/local/etc/freeside/export.". datasrc;
-#my $spooldir = "/usr/local/etc/freeside/export.". datasrc. "/shell";
-
-my @sysv_exports = qsearch('part_export', { 'exporttype' => 'sysvshell' } );
-
-my $rsync = File::Rsync->new({
-  rsh     => 'ssh',
-#  dry_run => 1,
-});
-
-foreach my $export ( @sysv_exports ) {
-  my $machine = $export->machine;
-  my $prefix = "$spooldir/$machine";
-  mkdir $prefix, 0700 unless -d $prefix;
-
-  #LOCKING!!!
-
-  ( open(SHADOW,">$prefix/shadow")
-    #!!!  and flock(SHADOW,LOCK_EX|LOCK_NB)
-  ) or die "Can't open $prefix/shadow: $!";
-  ( open(PASSWD,">$prefix/passwd")
-    #!!!  and flock(PASSWD,LOCK_EX|LOCK_NB)
-  ) or die "Can't open $prefix/passwd: $!";
-
-  chmod 0644, "$prefix/passwd";
-  chmod 0600, "$prefix/shadow";
-
-  my @svc_acct = $export->svc_x;
-
-  next unless @svc_acct;
-
-  foreach my $svc_acct ( sort { $a->uid <=> $b->uid } @svc_acct ) {
-
-    my $password = $svc_acct->_password;
-    my $cpassword;
-    #if ( ( length($password) <= 8 )
-    if ( ( length($password) <= 12 )
-         && ( $password ne '*' )
-         && ( $password ne '!!' )
-         && ( $password ne '' )
-    ) {
-      $cpassword=crypt($password,
-                       $saltset[int(rand(64))].$saltset[int(rand(64))]
-      );
-      # MD5 !!!!
-    } else {
-      $cpassword=$password;
-    }
-
-    ###
-    # FORMAT OF THE PASSWD FILE HERE
-    print PASSWD join(":",
-      $svc_acct->username,
-      'x', # "##". $username,
-      $svc_acct->uid,
-      $svc_acct->gid,
-      $svc_acct->finger,
-      $svc_acct->dir,
-      $svc_acct->shell,
-    ), "\n";
-
-    ###
-    # FORMAT OF THE SHADOW FILE HERE
-    print SHADOW join(":",
-      $svc_acct->username,
-      $cpassword,
-      '',
-      '',
-      '',
-      '',
-      '',
-      '',
-      '',
-    ), "\n";
-
-  }
-
-  #!!! flock(SHADOW,LOCK_UN);
-  #!!! flock(PASSWD,LOCK_UN);
-  close SHADOW;
-  close PASSWD;
-
-  $rsync->exec( {
-    src  => "$prefix/shadow",
-    dest => "root\@$machine:/etc/shadow"
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-
-  $rsync->exec( {
-    src  => "$prefix/passwd",
-    dest => "root\@$machine:/etc/passwd"
-  } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
-
-  # UNLOCK!!
-}
diff --git a/conf/agent_defaultpkg b/conf/agent_defaultpkg
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/conf/alerter_template b/conf/alerter_template
deleted file mode 100644 (file)
index 5177e4e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-Ivan Kohler
-12345 Test Lane
-Truckee, CA  96161
-
-
-{ $first; } { $last; }:
-
-  We thank you for your continuing patronage.  This notice is to remind you
-that your { $payby } used to pay SISD.COM for Internet
-service will expire on { use Date::Format; time2str("%x", $expdate); }.  Please provide us with new billing
-information so that we may continue your service uninterrupted.
-
-Very Truly Yours,
-
-  SISD Service Team
-
-
-
diff --git a/conf/cust_pkg-change_svcpart b/conf/cust_pkg-change_svcpart
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/conf/declinetemplate b/conf/declinetemplate
deleted file mode 100644 (file)
index 14b8c60..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Hi,
-
-Your credit card could not be processed for the following reason:
-  { $error }
-
-Please provide us with new billing information so that we may continue your
-service uninterrupted.
-
-Thanks.
-
diff --git a/conf/home b/conf/home
deleted file mode 100644 (file)
index 05280cb..0000000
--- a/conf/home
+++ /dev/null
@@ -1 +0,0 @@
-/home
diff --git a/conf/invoice_from b/conf/invoice_from
deleted file mode 100644 (file)
index 110ec8f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-ivan-unconfigured-freeside-installation@420.am
diff --git a/conf/invoice_html b/conf/invoice_html
deleted file mode 100644 (file)
index 32e5362..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-<STYLE TYPE="text/css">
-.invoice { font-family: sans-serif; font-size: 10pt }
-.invoice_header { font-size: 10pt }
-.invoice_headerright TH { border-top: 2px solid #000000; border-bottom: 2px solid #000000 }
-.invoice_headerright TD { font-size: 10pt; empty-cells: show }
-.invoice_longtable table { cellspacing: none }
-.invoice_longtable TH { border-top: 2px solid #000000; border-bottom: 1px solid #000000; padding-left: none; padding-right: none; font-size: 10pt }
-.invoice_desc TD { border-top: 2px solid #000000; font-weight: bold; font-size: 10pt }
-.invoice_extdesc TD { font-size: 8pt }
-.invoice_totaldesc TD { font-size: 10pt; empty-cells: show }
-</STYLE>
-
-<table class="invoice" bgcolor="#ffffff" WIDTH=768 CELLSPACING=8><tr><td>
-
-  <table class="invoice_header" width="100%">
-    <tr>
-     <td><img src="<%= $cid ? "cid:$cid" : "cust_bill-logo.cgi?$template" %>"></td>
-     <td align="left"><%= $returnaddress %></td>
-      <td align="right">
-        <table CLASS="invoice_headerright" cellspacing=0>
-          <tr>
-            <td align="right">
-              Invoice&nbsp;date<BR>
-              <B><%= $date %></B>
-            </td>
-            <td>
-            </td>
-            <td align="left">
-              Invoice&nbsp;number<BR>
-              <B><%= $invnum %></B>
-            </td>
-          </tr>
-          <tr>
-            <th>&nbsp;</th>
-            <th colspan=1 align="center">
-              <FONT SIZE="+3">I</FONT><FONT SIZE="+2">NVOICE</FONT>
-            </th>
-            <th>&nbsp;</th>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td>
-      </td>
-      <td align="left">
-        <b><%= $payname %></b><BR>
-        <%= join('<BR>', grep length($_), $company,
-                                          $address1,
-                                          $address2,
-                                          "$city,&nbsp;$state&nbsp;&nbsp;$zip",
-                                          $country,
-                )
-        %>
-      </td>
-      <td align="right">
-        Terms: <%= $terms %><BR>
-        <%= $po_line %>
-      </td>
-    </tr>
-
-  </table>
-
-  <p><b><font size="+1">C</font><font size="+0">HARGES</font></b>
-  <p>
-  <table class="invoice_longtable" CELLSPACING=0 WIDTH="100%">
-    <tr>
-      <th align="center">Ref</th>
-      <th align="left">Description</th>
-      <th align="right">Amount</th>
-    </tr>
-    <%=
-
-      foreach my $line ( @detail_items ) {
-        $OUT .=
-          '<tr class="invoice_desc">'.
-            '<td align="center">'. $line->{'ref'}. '</td>'.
-            '<td align="left">'. $line->{'description'}. '</td>'.
-            '<td align="right">'. $line->{'amount'}. '</td>'.
-          '</tr>'
-        ;
-        foreach my $ext_desc ( @{$line->{'ext_description'} } ) {
-          $OUT .=
-            '<tr class="invoice_extdesc">'.
-              '<td></td>'.
-              '<td align="left">-&nbsp;'. $ext_desc. '</td>'.
-              '<td></td>'.
-            '</tr>'
-        }
-      }
-
-      my $style = 'border-top: 3px solid #000000;';
-      my $linenum = 0;
-
-      foreach my $line ( @total_items ) {
-
-        $style .= 'border-bottom: 3px solid #000000;'
-          if ++$linenum == scalar(@total_items);
-
-        $OUT .=
-          '<tr class="invoice_totaldesc">'.
-            qq(<td style="$style">&nbsp;</td>).
-            qq(<td align="left" style="$style">).
-              $line->{'total_item'}. '</td>'.
-            qq(<td align="right" style="$style">).
-              $line->{'total_amount'}. '</td>'.
-          '</tr>'
-        ;
-
-        $style='';
-
-      }
-
-    %>
-  </table>
-  <br><br>
-
-<!--  <p><b><font size="+1">N</font><font size="+0">OTES</font></b>
-
-  <ol>
-    <li>Please make your check payable to <b>Ivan Kohler</b>
-    <li>If you have any questions please email or telephone.
-  </ol>
--->
-<%= $notes %>
-
-  <hr NOSHADE SIZE=2 COLOR="#000000">
-  <p align="center"><%= $footer %>
-
-</td></tr></table>
diff --git a/conf/invoice_latex b/conf/invoice_latex
deleted file mode 100644 (file)
index d1b471a..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-%% file: Standard Multipage.tex\r
-%% Purpose: Multipage bill template for e-Bills\r
-%% \r
-%% Created by Mark Asplen-Taylor\r
-%% Asplen Management Ltd\r
-%% www.asplen.co.uk\r
-%%\r
-%% Modified for Freeside by Kristian Hoffman\r
-%%\r
-%% Changes\r
-%%     0.1     4/12/00 Created\r
-%%     0.2     18/10/01        More fields added\r
-%%     1.0     16/11/01        RELEASED\r
-%%     1.2     16/10/02        Invoice number added\r
-%%     1.3     2/12/02 Logo graphic added\r
-%%     1.4     7/2/03  Multipage headers/footers added\r
-%%      n/a     forked for Freeside; checked into CVS\r
-%%\r
-\r
-\documentclass[letterpaper]{article}\r
-\r
-\usepackage{fancyhdr,lastpage,ifthen,longtable,afterpage}\r
-\usepackage{graphicx}                  % required for logo graphic\r
-\r
-\addtolength{\voffset}{-0.0cm}         % top margin to top of header\r
-\addtolength{\hoffset}{-0.6cm}         % left margin on page\r
-\addtolength{\topmargin}{-1.25cm}      % top margin to top of header\r
-\setlength{\headheight}{2.0cm}                 % height of header\r
-\setlength{\headsep}{1.0cm}            % between header and text\r
-\setlength{\footskip}{1.0cm}           % bottom of footer from bottom of text\r
-\r
-%\addtolength{\textwidth}{2.1in}       % width of text\r
-\setlength{\textwidth}{19.5cm}\r
-\setlength{\textheight}{19.5cm}\r
-\setlength{\oddsidemargin}{-0.9cm}     % odd page left margin\r
-\setlength{\evensidemargin}{-0.9cm}    % even page left margin\r
-\r
-\renewcommand{\headrulewidth}{0pt}\r
-\renewcommand{\footrulewidth}{1pt}\r
-\r
-% Adjust the inset of the mailing address\r
-\newcommand{\addressinset}[1][]{\hspace{1.0cm}}\r
-\r
-% Adjust the inset of the return address and logo\r
-\newcommand{\returninset}[1][]{\hspace{-0.25cm}}\r
-\r
-% New command for address lines i.e. skip them if blank\r
-\newcommand{\addressline}[1]{\ifthenelse{\equal{#1}{}}{}{#1\newline}}\r
-\r
-% Inserts dollar symbol\r
-\newcommand{\dollar}[1][]{\symbol{36}}\r
-\r
-% Remove plain style header/footer\r
-\fancypagestyle{plain}{\r
-  \fancyhead{}\r
-}\r
-\fancyhf{}\r
-\r
-% Define fancy header/footer for first and subsequent pages\r
-\fancyfoot[C]{\r
-  \ifthenelse{\equal{\thepage}{1}}\r
-  { % First page\r
-    \small{\r
-[@-- $footer --@]\r
-    }\r
-  }\r
-  { % ... pages\r
-    \small{\r
-[@-- $smallfooter --@]\r
-    }\r
-  }\r
-}\r
-\r
-\fancyfoot[R]{\r
-  \ifthenelse{\equal{\thepage}{1}}\r
-  { % First page\r
-  }\r
-  { % ... pages\r
-    \small{\thepage\ of \pageref{LastPage}}\r
-  }\r
-}\r
-\r
-\fancyhead[L]{\r
-  \ifthenelse{\equal{\thepage}{1}}\r
-  { % First page\r
-    \returninset\r
-    \makebox{\r
-      \begin{tabular}{ll}\r
-        \includegraphics{[@-- $conf_dir --@]/logo.eps} &\r
-        \begin{minipage}[b]{5.5cm}\r
-[@-- $returnaddress --@]\r
-        \end{minipage}\r
-      \end{tabular}\r
-    }\r
-  }\r
-  { % ... pages\r
-    %\includegraphics{[@-- $conf_dir --@]/logo.eps}    % Uncomment if you want the logo on all pages.\r
-  }\r
-}\r
-\r
-\fancyhead[R]{\r
-  \ifthenelse{\equal{\thepage}{1}}\r
-  { % First page\r
-    \begin{tabular}{rcl}\r
-    Invoice date & & Invoice number \\\r
-    \vspace{0.2cm}\r
-    \textbf{[@-- $date --@]} & & \textbf{[@-- $invnum --@]} \\\hline\r
-    \rule{0pt}{5ex} &~~ \huge{\textsc{Invoice}} & \\\r
-    \vspace{-0.2cm}\r
-     & & \\\hline\r
-    \end{tabular}\r
-  }\r
-  { % ... pages\r
-    \small{\r
-      \begin{tabular}{ll}\r
-      Invoice date & Invoice number\\\r
-      \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]}\\\r
-      \end{tabular}\r
-    }\r
-  }\r
-}\r
-\r
-\pagestyle{fancy}\r
-\r
-\r
-%% Font options are:\r
-%%     bch     Bitsream Charter\r
-%%     put     Utopia\r
-%%     phv     Adobe Helvetica\r
-%%     pnc     New Century Schoolbook\r
-%%     ptm     Times\r
-%%     pcr     Courier\r
-\r
-\renewcommand{\familydefault}{phv}\r
-\r
-\r
-% Commands for freeside description...\r
-\newcommand{\FSdesc}[3]{\r
-  \multicolumn{1}{c}{\rule{0pt}{2.5ex}\textbf{#1}} &\r
-  \textbf{#2} &\r
-  \multicolumn{1}{r}{\textbf{\dollar #3}}\\\r
-}\r
-% ...extended description...\r
-\newcommand{\FSextdesc}[1]{\r
-  \multicolumn{1}{l}{\rule{0pt}{1.0ex}} &\r
-  \multicolumn{2}{l}{\small{~-~#1}}\\\r
-}\r
-% ...and total line items.\r
-\newcommand{\FStotaldesc}[2]{\r
-  & \multicolumn{1}{l}{#1} & #2\\\r
-}\r
-\r
-\r
-\begin{document}\r
-%\r
-%%     Headers and footers defined for the first page\r
-%\r
-%%     The LH Heading comprising logo\r
-%%     UNCOMMENT the following FOUR lines and change the path if necssary to provide a logo\r
-%\r
-%%     The Heading comprising isue date, customer ref & INVOICE name\r
-%\r
-%%     Header & footer changes for subsequent pages\r
-%\r
-%\r
-%\r
-\begin{tabular}{ll}\r
-\addressinset \rule{0cm}{0cm} &\r
-\makebox{\r
-\begin{minipage}[t]{5.0cm}\r
-\vspace{0.25cm}\r
-\textbf{[@-- $payname --@]}\\\r
-\addressline{[@-- $company --@]}\r
-\addressline{[@-- $address1 --@]}\r
-\addressline{[@-- $address2 --@]}\r
-\addressline{[@-- $city --@], [@-- $state --@]~~[@-- $zip --@]}\r
-\addressline{[@-- $country --@]}\r
-\end{minipage}}\r
-\end{tabular}\r
-\hfill\r
-\makebox{\r
-\begin{minipage}[t]{6.4cm}\r
-\begin{flushright}\r
-Terms: [@-- $terms --@]\\\r
-[@-- $po_line --@]\\\r
-\end{flushright}\r
-\end{minipage}}\r
-\vspace{1.5cm}\r
-%\r
-\section*{\textsc{Charges}}\r
-\begin{longtable}{clr}\r
-\hline\r
-\rule{0pt}{2.5ex}\r
-\makebox[1.4cm]{\textbf{Ref}} & \r
-\makebox[12.8cm][l]{\textbf{Description}} & \r
-\makebox[2.5cm][r]{\textbf{Amount}} \\\r
-\hline\r
-\endfirsthead\r
-\multicolumn{3}{r}{\rule{0pt}{2.5ex}Continued from previous page}\\\r
-\hline\r
-\rule{0pt}{2.5ex}\r
-\makebox[1.4cm]{\textbf{Ref}} & \r
-\makebox[12.8cm][l]{\textbf{Description}} & \r
-\makebox[2.5cm][r]{\textbf{Amount}} \\\r
-\hline\r
-\endhead\r
-\multicolumn{3}{r}{\rule{0pt}{2.5ex}Continued on next page...}\\\r
-\endfoot\r
-\hline\r
-[@--\r
-\r
-  foreach my $line (@total_items) {\r
-    $OUT .= '\FStotaldesc{' . $line->{'total_item'} . '}' .\r
-            '{' . $line->{'total_amount'} . '}' . "\n";\r
-  }\r
-\r
---@]\r
-\hline\r
-\endlastfoot\r
-[@--\r
-\r
-  foreach my $line (@detail_items) {\r
-    my $ext_description = $line->{'ext_description'};\r
-\r
-    # Don't break-up small packages.\r
-    my $rowbreak = @$ext_description < 5 ? '*' : '';\r
-\r
-    $OUT .= "\\hline\n";\r
-    $OUT .= '\FSdesc{' . $line->{'ref'} . '}{' . $line->{'description'} . '}' .\r
-            '{' . $line->{'amount'} . "}${rowbreak}\n";\r
-\r
-    foreach my $ext_desc (@$ext_description) {\r
-      $ext_desc = substr($ext_desc, 0, 80) . '...'\r
-        if (length($ext_desc) > 80);\r
-      $OUT .= '\FSextdesc{' . $ext_desc . '}' . "${rowbreak}\n";\r
-    }\r
-\r
-  }\r
-\r
---@]\r
-\end{longtable}\r
-\vfill\r
-[@-- $notes --@]\r
-\end{document}\r
diff --git a/conf/invoice_latex.diff b/conf/invoice_latex.diff
deleted file mode 100644 (file)
index b66a522..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
---- invoice_latex.old  2005-04-14 01:52:02.000000000 -0700
-+++ invoice_latex      2005-04-14 02:33:26.000000000 -0700
-@@ -5,7 +5,7 @@
- %% Asplen Management Ltd\r
- %% www.asplen.co.uk\r
- %%\r
--%% Modified for Freeside by Ivan Kohler\r
-+%% Modified for Freeside by Ivan Kohler and Kristian Hoffman\r
- %%\r
- %% Changes\r
- %%    0.1     4/12/00 Created\r
-@@ -61,7 +61,7 @@
- %%    Headers and footers defined for the first page\r
- \fancyfoot[CO,CE]{\small{\r
- \begin{tabular}{c}\r
--$footer\r
-+[@-- $footer --@]\r
- \end{tabular}}}\r
- %\r
- %%    The LH Heading comprising logo\r
-@@ -76,7 +76,7 @@
- \begin{tabular}{rcl}\r
- Invoice date & & Invoice number \\\r
- \vspace{0.2cm}\r
--\textbf{$date} & & \textbf{$invnum} \\\hline\r
-+\textbf{[@-- $date --@]} & & \textbf{[@-- $invnum --@]} \\\hline\r
- \rule{0pt}{5ex} &~~ \huge{\textsc{Invoice}}& \\\r
- \vspace{-0.2cm}\r
-  & & \\\hline\r
-@@ -85,71 +85,76 @@
- %%    Header & footer changes for subsequent pages\r
- %\r
- \afterpage{ \fancyfoot[RO,RE]{\small{\thepage\ of \pageref{LastPage}}} }\r
--\afterpage{ \fancyfoot[CO,CE]{\small{$smallfooter}} }\r
-+\afterpage{ \fancyfoot[CO,CE]{\small{[@-- $smallfooter --@]}} }\r
- \afterpage{ \fancyhead[LO,LE]{\small{}} }\r
- \afterpage{ \fancyhead[RO,RE]{\small{\r
- \begin{tabular}{ll}\r
- Invoice date & Invoice number\\\r
--\textbf{$date} & \textbf{$invnum}\\\r
-+\textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]}\\\r
- \end{tabular}}} }\r
- %\r
- %\r
- \makebox{\r
- \begin{minipage}[t]{2.9in}\r
- \vspace{0.20in}\r
--\textbf{$payname}\\\r
--\addressline{$company}\r
--\addressline{$address1}\r
--\addressline{$address2}\r
--\addressline{$city, $state  $zip}\r
--\addressline{$country}\r
-+\textbf{[@-- $payname --@]}\\\r
-+\addressline{[@-- $company --@]}\r
-+\addressline{[@-- $address1 --@]}\r
-+\addressline{[@-- $address2 --@]}\r
-+\addressline{[@-- $city --@], [@-- $state --@]  [@-- $zip --@]}\r
-+\addressline{[@-- $country --@]}\r
- \end{minipage}}\r
- \hfill\r
- \makebox{\r
- \begin{minipage}[t]{2.5in}\r
- \begin{flushright}\r
--Terms: $terms\\\r
--$po_line\\\r
-+Terms: [@-- $terms --@]\\\r
-+[@-- $po_line --@]\\\r
- \end{flushright}\r
- \end{minipage}}\r
- \vspace{0.5cm}\r
- %\r
- \section*{\textsc{Charges}}\r
--\begin{longtable}{|c|l|c|r|r|}\r
-+\begin{longtable}{|c|l|r|}\r
- \hline\r
- \rule{0pt}{2.5ex}\r
- \makebox[1.4cm]{\textbf{Ref}} & \r
--\makebox[7.9cm][l]{\textbf{Description}} & \r
--\makebox[1.3cm][c]{\textbf{Quantity}} & \r
--\makebox[2.5cm][r]{\textbf{Unit Price}} & \r
--\makebox[2.5cm][r]{\textbf{Amount}} \\\r
-+\makebox[13cm][l]{\textbf{Description}} & \r
-+\makebox[2cm][r]{\textbf{Amount}} \\\r
- \hline\r
- \endfirsthead\r
--\multicolumn{5}{r}{\rule{0pt}{2.5ex}Continued from previous page}\\\r
-+\multicolumn{3}{r}{\rule{0pt}{2.5ex}Continued from previous page}\\\r
- \hline\r
- \rule{0pt}{2.5ex}\r
- \makebox[1.4cm]{\textbf{Ref}} & \r
--\makebox[7.9cm][l]{\textbf{Description}} & \r
--\makebox[1.3cm][c]{\textbf{Quantity}} & \r
--\makebox[2.5cm][r]{\textbf{Unit Price}} & \r
--\makebox[2.5cm][r]{\textbf{Amount}} \\\r
-+\makebox[13cm][l]{\textbf{Description}} & \r
-+\makebox[2cm][r]{\textbf{Amount}} \\\r
- \hline\r
- \endhead\r
--\multicolumn{5}{r}{\rule{0pt}{2.5ex}/cont...}\\\r
-+\multicolumn{3}{r}{\rule{0pt}{2.5ex}/cont...}\\\r
- \endfoot\r
--%%TotalDetails\r
-- & \multicolumn{3}{l}{$total_item}    & $total_amount\\\r
--%%EndTotalDetails\r
-+[@--\r
-+\r
-+  foreach my $line (@total_items) {\r
-+    $OUT .= ' & \multicolumn{1}{l}{' . $line->{'total_item'} . '} & ' .\r
-+            $line->{'total_amount'} . '\\\\' . "\n";\r
-+  }\r
-+\r
-+--@]\r
- \hline\r
- \endlastfoot\r
--%%Detail\r
--\rule{0pt}{2.5ex}$ref & \r
--\begin{tabular}{l}\r
--$description\tabularnewline\r
--\end{tabular}\r
--& $quantity & \dollar $amount & \dollar $amount\\\hline\r
--%%EndDetail\r
-+[@--\r
-+\r
-+  foreach my $line (@detail_items) {\r
-+    $OUT .= '\rule{0pt}{2.5ex}' . $line->{'ref'} . ' &' . "\n".\r
-+            '\begin{tabular}{l}' . "\n".\r
-+            $line->{'description'} . '\tabularnewline' . "\n".\r
-+            '\end{tabular}' . "\n".\r
-+            '& \dollar ' . $line->{'amount'} . '\\\\\\hline' . "\n";\r
-+  }\r
-+\r
-+--@]\r
- \end{longtable}\r
- \vfill\r
--$notes\r
-+[@-- $notes --@]\r
- \end{document}\r
diff --git a/conf/invoice_latexfooter b/conf/invoice_latexfooter
deleted file mode 100644 (file)
index 527c356..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Ivan Kohler~~~Freeside - open-source billing
diff --git a/conf/invoice_latexnotes b/conf/invoice_latexnotes
deleted file mode 100644 (file)
index 46af6d6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-%%
-%%     Add any customer specific notes in here
-%%
-\section*{\textsc{Notes}}
-\begin{enumerate}
-\item Please make your check payable to \textbf{Ivan Kohler}.
-\item If you have any questions please email or telephone.
-\end{enumerate}
diff --git a/conf/invoice_latexreturnaddress b/conf/invoice_latexreturnaddress
deleted file mode 100644 (file)
index 95067e2..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Ivan Kohler\\*
-12345 Test Lane\\*
-Truckee, CA~~96161
diff --git a/conf/invoice_latexsmallfooter b/conf/invoice_latexsmallfooter
deleted file mode 100644 (file)
index 527c356..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Ivan Kohler~~~Freeside - open-source billing
diff --git a/conf/invoice_template b/conf/invoice_template
deleted file mode 100644 (file)
index 4b2c64b..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-
-                                 Invoice
-                                 { substr("Page $page of $total_pages          ", 0, 19); } { use Date::Format; time2str("%x", $date); }  FS-{ $invnum; }
-
-
-Ivan Kohler
-12345 Test Lane
-Truckee, CA  96161
-
-
-{ $address[0]; }
-{ $address[1]; }
-{ $address[2]; }
-{ $address[3]; }
-{ $address[4]; }
-{ $address[5]; }
-
-{
-  join("\n",
-    map {
-      my ( $desc, $price ) = @{$_};
-      "  ". substr( $desc. " "x65, 0, 65). " ". substr( $price. " "x11, 0, 11);
-    } invoice_lines(31)
-  );
-}
-
- -=> Freeside - open-source billing for ISPs - http://www.sisd.com/freeside <=-
diff --git a/conf/locale b/conf/locale
deleted file mode 100644 (file)
index 7741b83..0000000
+++ /dev/null
@@ -1 +0,0 @@
-en_US
diff --git a/conf/logo.eps b/conf/logo.eps
deleted file mode 100644 (file)
index ff25dd4..0000000
+++ /dev/null
@@ -1,13510 +0,0 @@
-%!PS-Adobe-2.0 EPSF-2.0
-%%HiResBoundingBox: 261.500000 345.500000 418.500000 446.500000
-%%Creator: xpdf/pdftops 3.00
-%%LanguageLevel: 2
-%%DocumentMedia: plain 612 792 0 () ()
-%%BoundingBox: 19 0 70 33
-%%EndComments
-%%BeginProcSet: epsffit 1 0
-gsave
--65.000 -111.618 translate
-0.324 0.324 scale
-%%EndProcSet
-
-% EPSF created by ps2eps 1.54
-%%BeginProlog
-save
-countdictstack
-mark
-newpath
-/showpage {} def
-/setpagedevice {pop} def
-%%EndProlog
-%%Page 1 1
-/xpdf 75 dict def xpdf begin
-% PDF special state
-/pdfDictSize 15 def
-/pdfSetup {
-  3 1 roll 2 array astore
-  /setpagedevice where {
-    pop 3 dict begin
-      /PageSize exch def
-      /ImagingBBox null def
-      /Policies 1 dict dup begin /PageSize 3 def end def
-      { /Duplex true def } if
-    currentdict end setpagedevice
-  } {
-    pop pop
-  } ifelse
-} def
-/pdfStartPage {
-  pdfDictSize dict begin
-  /pdfFill [0] def
-  /pdfStroke [0] def
-  /pdfLastFill false def
-  /pdfLastStroke false def
-  /pdfTextMat [1 0 0 1 0 0] def
-  /pdfFontSize 0 def
-  /pdfCharSpacing 0 def
-  /pdfTextRender 0 def
-  /pdfTextRise 0 def
-  /pdfWordSpacing 0 def
-  /pdfHorizScaling 1 def
-  /pdfTextClipPath [] def
-} def
-/pdfEndPage { end } def
-% separation convention operators
-/findcmykcustomcolor where {
-  pop
-}{
-  /findcmykcustomcolor { 5 array astore } def
-} ifelse
-/setcustomcolor where {
-  pop
-}{
-  /setcustomcolor {
-    exch
-    [ exch /Separation exch dup 4 get exch /DeviceCMYK exch
-      0 4 getinterval cvx
-      [ exch /dup load exch { mul exch dup } /forall load
-        /pop load dup ] cvx
-    ] setcolorspace setcolor
-  } def
-} ifelse
-/customcolorimage where {
-  pop
-}{
-  /customcolorimage {
-    gsave
-    [ exch /Separation exch dup 4 get exch /DeviceCMYK exch
-      0 4 getinterval
-      [ exch /dup load exch { mul exch dup } /forall load
-        /pop load dup ] cvx
-    ] setcolorspace
-    10 dict begin
-      /ImageType 1 def
-      /DataSource exch def
-      /ImageMatrix exch def
-      /BitsPerComponent exch def
-      /Height exch def
-      /Width exch def
-      /Decode [1 0] def
-    currentdict end
-    image
-    grestore
-  } def
-} ifelse
-% PDF color state
-/sCol {
-  pdfLastStroke not {
-    pdfStroke aload length
-    dup 1 eq {
-      pop setgray
-    }{
-      dup 3 eq {
-        pop setrgbcolor
-      }{
-        4 eq {
-          setcmykcolor
-        }{
-          findcmykcustomcolor exch setcustomcolor
-        } ifelse
-      } ifelse
-    } ifelse
-    /pdfLastStroke true def /pdfLastFill false def
-  } if
-} def
-/fCol {
-  pdfLastFill not {
-    pdfFill aload length
-    dup 1 eq {
-      pop setgray
-    }{
-      dup 3 eq {
-        pop setrgbcolor
-      }{
-        4 eq {
-          setcmykcolor
-        }{
-          findcmykcustomcolor exch setcustomcolor
-        } ifelse
-      } ifelse
-    } ifelse
-    /pdfLastFill true def /pdfLastStroke false def
-  } if
-} def
-% build a font
-/pdfMakeFont {
-  4 3 roll findfont
-  4 2 roll matrix scale makefont
-  dup length dict begin
-    { 1 index /FID ne { def } { pop pop } ifelse } forall
-    /Encoding exch def
-    currentdict
-  end
-  definefont pop
-} def
-/pdfMakeFont16 {
-  exch findfont
-  dup length dict begin
-    { 1 index /FID ne { def } { pop pop } ifelse } forall
-    /WMode exch def
-    currentdict
-  end
-  definefont pop
-} def
-/pdfMakeFont16L3 {
-  1 index /CIDFont resourcestatus {
-    pop pop 1 index /CIDFont findresource /CIDFontType known
-  } {
-    false
-  } ifelse
-  {
-    0 eq { /Identity-H } { /Identity-V } ifelse
-    exch 1 array astore composefont pop
-  } {
-    pdfMakeFont16
-  } ifelse
-} def
-% graphics state operators
-/q { gsave pdfDictSize dict begin } def
-/Q { end grestore } def
-/cm { concat } def
-/d { setdash } def
-/i { setflat } def
-/j { setlinejoin } def
-/J { setlinecap } def
-/M { setmiterlimit } def
-/w { setlinewidth } def
-% color operators
-/g { dup 1 array astore /pdfFill exch def setgray
-     /pdfLastFill true def /pdfLastStroke false def } def
-/G { dup 1 array astore /pdfStroke exch def setgray
-     /pdfLastStroke true def /pdfLastFill false def } def
-/rg { 3 copy 3 array astore /pdfFill exch def setrgbcolor
-      /pdfLastFill true def /pdfLastStroke false def } def
-/RG { 3 copy 3 array astore /pdfStroke exch def setrgbcolor
-      /pdfLastStroke true def /pdfLastFill false def } def
-/k { 4 copy 4 array astore /pdfFill exch def setcmykcolor
-     /pdfLastFill true def /pdfLastStroke false def } def
-/K { 4 copy 4 array astore /pdfStroke exch def setcmykcolor
-     /pdfLastStroke true def /pdfLastFill false def } def
-/ck { 6 copy 6 array astore /pdfFill exch def
-      findcmykcustomcolor exch setcustomcolor
-      /pdfLastFill true def /pdfLastStroke false def } def
-/CK { 6 copy 6 array astore /pdfStroke exch def
-      findcmykcustomcolor exch setcustomcolor
-      /pdfLastStroke true def /pdfLastFill false def } def
-% path segment operators
-/m { moveto } def
-/l { lineto } def
-/c { curveto } def
-/re { 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto
-      neg 0 rlineto closepath } def
-/h { closepath } def
-% path painting operators
-/S { sCol stroke } def
-/Sf { fCol stroke } def
-/f { fCol fill } def
-/f* { fCol eofill } def
-% clipping operators
-/W { clip newpath } def
-/W* { eoclip newpath } def
-% text state operators
-/Tc { /pdfCharSpacing exch def } def
-/Tf { dup /pdfFontSize exch def
-      dup pdfHorizScaling mul exch matrix scale
-      pdfTextMat matrix concatmatrix dup 4 0 put dup 5 0 put
-      exch findfont exch makefont setfont } def
-/Tr { /pdfTextRender exch def } def
-/Ts { /pdfTextRise exch def } def
-/Tw { /pdfWordSpacing exch def } def
-/Tz { /pdfHorizScaling exch def } def
-% text positioning operators
-/Td { pdfTextMat transform moveto } def
-/Tm { /pdfTextMat exch def } def
-% text string operators
-/cshow where {
-  pop
-  /cshow2 {
-    dup {
-      pop pop
-      1 string dup 0 3 index put 3 index exec
-    } exch cshow
-    pop pop
-  } def
-}{
-  /cshow2 {
-    currentfont /FontType get 0 eq {
-      0 2 2 index length 1 sub {
-        2 copy get exch 1 add 2 index exch get
-        2 copy exch 256 mul add
-        2 string dup 0 6 5 roll put dup 1 5 4 roll put
-        3 index exec
-      } for
-    } {
-      dup {
-        1 string dup 0 3 index put 3 index exec
-      } forall
-    } ifelse
-    pop pop
-  } def
-} ifelse
-/awcp {
-  exch {
-    false charpath
-    5 index 5 index rmoveto
-    6 index eq { 7 index 7 index rmoveto } if
-  } exch cshow2
-  6 {pop} repeat
-} def
-/Tj {
-  fCol
-  1 index stringwidth pdfTextMat idtransform pop
-  sub 1 index length dup 0 ne { div } { pop pop 0 } ifelse
-  pdfWordSpacing pdfHorizScaling mul 0 pdfTextMat dtransform 32
-  4 3 roll pdfCharSpacing pdfHorizScaling mul add 0
-  pdfTextMat dtransform
-  6 5 roll Tj1
-} def
-/Tj16 {
-  fCol
-  2 index stringwidth pdfTextMat idtransform pop
-  sub exch div
-  pdfWordSpacing pdfHorizScaling mul 0 pdfTextMat dtransform 32
-  4 3 roll pdfCharSpacing pdfHorizScaling mul add 0
-  pdfTextMat dtransform
-  6 5 roll Tj1
-} def
-/Tj16V {
-  fCol
-  2 index stringwidth pdfTextMat idtransform exch pop
-  sub exch div
-  0 pdfWordSpacing pdfTextMat dtransform 32
-  4 3 roll pdfCharSpacing add 0 exch
-  pdfTextMat dtransform
-  6 5 roll Tj1
-} def
-/Tj1 {
-  0 pdfTextRise pdfTextMat dtransform rmoveto
-  currentpoint 8 2 roll
-  pdfTextRender 1 and 0 eq {
-    6 copy awidthshow
-  } if
-  pdfTextRender 3 and dup 1 eq exch 2 eq or {
-    7 index 7 index moveto
-    6 copy
-    currentfont /FontType get 3 eq { fCol } { sCol } ifelse
-    false awcp currentpoint stroke moveto
-  } if
-  pdfTextRender 4 and 0 ne {
-    8 6 roll moveto
-    false awcp
-    /pdfTextClipPath [ pdfTextClipPath aload pop
-      {/moveto cvx}
-      {/lineto cvx}
-      {/curveto cvx}
-      {/closepath cvx}
-    pathforall ] def
-    currentpoint newpath moveto
-  } {
-    8 {pop} repeat
-  } ifelse
-  0 pdfTextRise neg pdfTextMat dtransform rmoveto
-} def
-/TJm { pdfFontSize 0.001 mul mul neg 0
-       pdfTextMat dtransform rmoveto } def
-/TJmV { pdfFontSize 0.001 mul mul neg 0 exch
-        pdfTextMat dtransform rmoveto } def
-/Tclip { pdfTextClipPath cvx exec clip newpath
-         /pdfTextClipPath [] def } def
-% Level 2 image operators
-/pdfImBuf 100 string def
-/pdfIm {
-  image
-  { currentfile pdfImBuf readline
-    not { pop exit } if
-    (%-EOD-) eq { exit } if } loop
-} def
-/pdfImSep {
-  findcmykcustomcolor exch
-  dup /Width get /pdfImBuf1 exch string def
-  dup /Decode get aload pop 1 index sub /pdfImDecodeRange exch def
-  /pdfImDecodeLow exch def
-  begin Width Height BitsPerComponent ImageMatrix DataSource end
-  /pdfImData exch def
-  { pdfImData pdfImBuf1 readstring pop
-    0 1 2 index length 1 sub {
-      1 index exch 2 copy get
-      pdfImDecodeRange mul 255 div pdfImDecodeLow add round cvi
-      255 exch sub put
-    } for }
-  6 5 roll customcolorimage
-  { currentfile pdfImBuf readline
-    not { pop exit } if
-    (%-EOD-) eq { exit } if } loop
-} def
-/pdfImM {
-  fCol imagemask
-  { currentfile pdfImBuf readline
-    not { pop exit } if
-    (%-EOD-) eq { exit } if } loop
-} def
-end
-xpdf begin
-/F2_0 /Helvetica 1 1
-[ /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
-  /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
-  /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
-  /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
-  /space/exclam/quotedbl/numbersign/dollar/percent/ampersand/quotesingle
-  /parenleft/parenright/asterisk/plus/comma/hyphen/period/slash
-  /zero/one/two/three/four/five/six/seven
-  /eight/nine/colon/semicolon/less/equal/greater/question
-  /at/A/B/C/D/E/F/G
-  /H/I/J/K/L/M/N/O
-  /P/Q/R/S/T/U/V/W
-  /X/Y/Z/bracketleft/backslash/bracketright/asciicircum/underscore
-  /grave/a/b/c/d/e/f/g
-  /h/i/j/k/l/m/n/o
-  /p/q/r/s/t/u/v/w
-  /x/y/z/braceleft/bar/braceright/asciitilde/bullet
-  /Euro/bullet/quotesinglbase/florin/quotedblbase/ellipsis/dagger/daggerdbl
-  /circumflex/perthousand/Scaron/guilsinglleft/OE/bullet/Zcaron/bullet
-  /bullet/quoteleft/quoteright/quotedblleft/quotedblright/bullet/endash/emdash
-  /tilde/trademark/scaron/guilsinglright/oe/bullet/zcaron/Ydieresis
-  /space/exclamdown/cent/sterling/currency/yen/brokenbar/section
-  /dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered/macron
-  /degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph/periodcentered
-  /cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf/threequarters/questiondown
-  /Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla
-  /Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis
-  /Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply
-  /Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls
-  /agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
-  /egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
-  /eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide
-  /oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]
-pdfMakeFont
-612 792 false pdfSetup
-pdfStartPage
-26.1663 -1.02141e-14 translate
-0.9406 0.9406 scale
-[] 0 d
-1 i
-0 j
-0 J
-10 M
-1 w
-0 g
-0 G
-q
-[1 0 0 1 0 0] cm
-[1 0 0 1 0 0] Tm
-0 0 Td
-0 g
-328.715 366.945 10.4374 0.2006 re
-f*
-0 g
-324.902 367.146 18.0648 0.2005 re
-f*
-0 g
-322.292 367.346 23.2834 0.2006 re
-f*
-0 g
-320.285 367.547 27.2978 0.2005 re
-f*
-0 g
-318.278 367.747 31.3122 0.2006 re
-f*
-0 g
-316.672 367.948 34.323 0.2006 re
-f*
-0 g
-315.267 368.148 37.3338 0.2005 re
-f*
-0 g
-313.862 368.349 39.9433 0.2005 re
-f*
-0 g
-312.658 368.549 42.5525 0.2006 re
-f*
-0 g
-311.453 368.75 44.9612 0.2006 re
-f*
-0 g
-310.249 368.951 47.1691 0.2006 re
-f*
-0 g
-309.245 369.151 49.377 0.2005 re
-f*
-0 g
-308.242 369.352 50.5813 0.2005 re
-f*
-0 g
-307.238 369.552 49.377 0.2006 re
-f*
-0 g
-306.435 369.753 47.9719 0.2006 re
-f*
-0 g
-305.432 369.953 47.3698 0.2006 re
-f*
-0 g
-304.629 370.154 46.5669 0.2005 re
-f*
-0 g
-303.826 370.355 46.1654 0.2006 re
-f*
-0 g
-303.023 370.555 45.7641 0.2005 re
-f*
-1 g
-348.787 370.555 13.8496 0.2005 re
-f*
-0.498 0 0.482 rg
-362.637 370.555 2.2079 0.2005 re
-f*
-0 g
-302.22 370.756 45.3626 0.2006 re
-f*
-1 g
-347.583 370.756 13.8497 0.2006 re
-f*
-0.498 0 0.482 rg
-361.433 370.756 4.2151 0.2006 re
-f*
-0 g
-301.417 370.956 45.1618 0.2005 re
-f*
-1 g
-346.579 370.956 13.6489 0.2005 re
-f*
-0.498 0 0.482 rg
-360.228 370.956 6.2224 0.2005 re
-f*
-0 g
-300.615 371.157 45.1619 0.2006 re
-f*
-1 g
-345.776 371.157 13.4481 0.2006 re
-f*
-0.498 0 0.482 rg
-359.225 371.157 7.8281 0.2006 re
-f*
-0 g
-300.012 371.357 44.7605 0.2005 re
-f*
-1 g
-344.773 371.357 13.4481 0.2005 re
-f*
-0.498 0 0.482 rg
-358.221 371.357 9.6346 0.2005 re
-f*
-0 g
-299.209 371.558 44.7604 0.2006 re
-f*
-1 g
-343.97 371.558 13.2475 0.2006 re
-f*
-0.498 0 0.482 rg
-357.217 371.558 11.2403 0.2006 re
-f*
-0 g
-298.607 371.758 44.5597 0.2006 re
-f*
-1 g
-343.167 371.758 13.0467 0.2006 re
-f*
-0.498 0 0.482 rg
-356.214 371.758 13.0468 0.2006 re
-f*
-0 g
-298.005 371.959 44.5597 0.2005 re
-f*
-1 g
-342.565 371.959 12.8461 0.2005 re
-f*
-0.498 0 0.482 rg
-355.411 371.959 14.4518 0.2005 re
-f*
-0 g
-297.202 372.16 44.5597 0.2005 re
-f*
-1 g
-341.762 372.16 12.846 0.2005 re
-f*
-0.498 0 0.482 rg
-354.608 372.16 16.0576 0.2005 re
-f*
-0 g
-296.6 372.36 44.5597 0.2006 re
-f*
-1 g
-341.16 372.36 12.6454 0.2006 re
-f*
-0.498 0 0.482 rg
-353.805 372.36 17.4625 0.2006 re
-f*
-0 g
-295.998 372.561 44.359 0.2006 re
-f*
-1 g
-340.357 372.561 12.6453 0.2006 re
-f*
-0.498 0 0.482 rg
-353.002 372.561 18.8677 0.2006 re
-f*
-0 g
-295.396 372.761 44.359 0.2006 re
-f*
-1 g
-339.755 372.761 12.4446 0.2006 re
-f*
-0.498 0 0.482 rg
-352.2 372.761 20.2726 0.2006 re
-f*
-0 g
-294.794 372.962 44.359 0.2006 re
-f*
-1 g
-339.153 372.962 12.2439 0.2006 re
-f*
-0.498 0 0.482 rg
-351.397 372.962 21.6777 0.2006 re
-f*
-0 g
-294.192 373.162 44.359 0.2005 re
-f*
-1 g
-338.551 373.162 12.2439 0.2005 re
-f*
-0.498 0 0.482 rg
-350.794 373.162 22.882 0.2005 re
-f*
-0 g
-293.589 373.363 44.5597 0.2005 re
-f*
-1 g
-338.149 373.363 11.8424 0.2005 re
-f*
-0.498 0 0.482 rg
-349.991 373.363 24.2871 0.2005 re
-f*
-0 g
-292.987 373.563 44.5598 0.2006 re
-f*
-1 g
-337.547 373.563 11.8424 0.2006 re
-f*
-0.498 0 0.482 rg
-349.389 373.563 25.4914 0.2006 re
-f*
-0 g
-292.385 373.764 44.5597 0.2006 re
-f*
-1 g
-336.945 373.764 11.8425 0.2006 re
-f*
-0.498 0 0.482 rg
-348.787 373.764 26.6956 0.2006 re
-f*
-0 g
-291.783 373.965 44.7605 0.2005 re
-f*
-1 g
-336.543 373.965 11.6417 0.2005 re
-f*
-0.498 0 0.482 rg
-348.185 373.965 27.6993 0.2005 re
-f*
-0 g
-291.381 374.165 44.5597 0.2005 re
-f*
-1 g
-335.941 374.165 11.6417 0.2005 re
-f*
-0.498 0 0.482 rg
-347.583 374.165 28.9036 0.2005 re
-f*
-0 g
-290.779 374.366 44.7605 0.2006 re
-f*
-1 g
-335.54 374.366 11.4409 0.2006 re
-f*
-0.498 0 0.482 rg
-346.981 374.366 30.108 0.2006 re
-f*
-0 g
-290.378 374.566 44.5597 0.2006 re
-f*
-1 g
-334.938 374.566 11.441 0.2006 re
-f*
-0.498 0 0.482 rg
-346.379 374.566 31.1115 0.2006 re
-f*
-0 g
-289.776 374.767 44.7605 0.2005 re
-f*
-1 g
-334.536 374.767 11.4409 0.2005 re
-f*
-0.498 0 0.482 rg
-345.977 374.767 32.1152 0.2005 re
-f*
-0 g
-289.174 374.967 44.9611 0.2006 re
-f*
-1 g
-334.135 374.967 11.2403 0.2006 re
-f*
-0.498 0 0.482 rg
-345.375 374.967 33.1187 0.2006 re
-f*
-0 g
-288.772 375.168 44.9612 0.2005 re
-f*
-1 g
-333.733 375.168 11.0396 0.2005 re
-f*
-0.498 0 0.482 rg
-344.773 375.168 34.323 0.2005 re
-f*
-0 g
-288.371 375.368 44.9611 0.2006 re
-f*
-1 g
-333.332 375.368 11.0396 0.2006 re
-f*
-0.498 0 0.482 rg
-344.371 375.368 35.1259 0.2006 re
-f*
-0 g
-287.768 375.569 45.1619 0.2006 re
-f*
-1 g
-332.93 375.569 10.8389 0.2006 re
-f*
-0.498 0 0.482 rg
-343.769 375.569 36.3302 0.2006 re
-f*
-0 g
-287.367 375.77 45.1619 0.2006 re
-f*
-1 g
-332.529 375.77 10.8388 0.2006 re
-f*
-0.498 0 0.482 rg
-343.368 375.77 37.1331 0.2006 re
-f*
-0 g
-286.765 375.97 45.3626 0.2005 re
-f*
-1 g
-332.127 375.97 10.6382 0.2005 re
-f*
-0.498 0 0.482 rg
-342.766 375.97 38.1367 0.2005 re
-f*
-0 g
-286.363 376.171 45.3626 0.2005 re
-f*
-1 g
-331.726 376.171 10.6381 0.2005 re
-f*
-0.498 0 0.482 rg
-342.364 376.171 39.1403 0.2005 re
-f*
-0 g
-285.962 376.371 45.3625 0.2006 re
-f*
-1 g
-331.325 376.371 10.4375 0.2006 re
-f*
-0.498 0 0.482 rg
-341.762 376.371 40.1439 0.2006 re
-f*
-0 g
-285.561 376.572 45.3626 0.2006 re
-f*
-1 g
-330.923 376.572 10.4374 0.2006 re
-f*
-0.498 0 0.482 rg
-341.361 376.572 40.9468 0.2006 re
-f*
-0 g
-284.958 376.772 45.5633 0.2005 re
-f*
-1 g
-330.522 376.772 10.4374 0.2005 re
-f*
-0.498 0 0.482 rg
-340.959 376.772 41.7496 0.2005 re
-f*
-0 g
-284.557 376.973 45.7639 0.2006 re
-f*
-1 g
-330.321 376.973 10.2368 0.2006 re
-f*
-0.498 0 0.482 rg
-340.558 376.973 42.7532 0.2006 re
-f*
-0 g
-284.156 377.173 45.764 0.2005 re
-f*
-1 g
-329.92 377.173 10.2367 0.2005 re
-f*
-0.498 0 0.482 rg
-340.156 377.173 43.5561 0.2005 re
-f*
-0 g
-283.754 377.374 45.7641 0.2006 re
-f*
-1 g
-329.518 377.374 10.2367 0.2006 re
-f*
-0.498 0 0.482 rg
-339.755 377.374 44.3589 0.2006 re
-f*
-0 g
-283.353 377.575 45.9648 0.2006 re
-f*
-1 g
-329.317 377.575 10.0359 0.2006 re
-f*
-0.498 0 0.482 rg
-339.353 377.575 45.1619 0.2006 re
-f*
-0 g
-282.951 377.775 45.9647 0.2005 re
-f*
-1 g
-328.916 377.775 10.036 0.2005 re
-f*
-0.498 0 0.482 rg
-338.952 377.775 45.9647 0.2005 re
-f*
-0 g
-282.55 377.976 45.9647 0.2006 re
-f*
-1 g
-328.515 377.976 10.036 0.2006 re
-f*
-0.498 0 0.482 rg
-338.551 377.976 46.7676 0.2006 re
-f*
-0 g
-282.148 378.176 46.1655 0.2005 re
-f*
-1 g
-328.314 378.176 9.8352 0.2005 re
-f*
-0.498 0 0.482 rg
-338.149 378.176 47.5705 0.2005 re
-f*
-0 g
-281.747 378.377 46.1655 0.2006 re
-f*
-1 g
-327.912 378.377 9.8353 0.2006 re
-f*
-0.498 0 0.482 rg
-337.748 378.377 48.3733 0.2006 re
-f*
-0 g
-281.346 378.577 46.3662 0.2006 re
-f*
-1 g
-327.712 378.577 9.6346 0.2006 re
-f*
-0.498 0 0.482 rg
-337.346 378.577 49.1762 0.2006 re
-f*
-0 g
-280.944 378.778 46.3662 0.2005 re
-f*
-1 g
-327.31 378.778 9.6345 0.2005 re
-f*
-0.498 0 0.482 rg
-336.945 378.778 49.9792 0.2005 re
-f*
-0 g
-280.543 378.978 46.5668 0.2006 re
-f*
-1 g
-327.11 378.978 9.4339 0.2006 re
-f*
-0.498 0 0.482 rg
-336.543 378.978 50.7819 0.2006 re
-f*
-0 g
-280.141 379.179 46.7676 0.2005 re
-f*
-1 g
-326.909 379.179 9.4339 0.2005 re
-f*
-0.498 0 0.482 rg
-336.343 379.179 51.3841 0.2005 re
-f*
-0 g
-279.74 379.38 46.7677 0.2006 re
-f*
-1 g
-326.507 379.38 9.4338 0.2006 re
-f*
-0.498 0 0.482 rg
-335.941 379.38 52.187 0.2006 re
-f*
-0 g
-279.338 379.58 46.9684 0.2006 re
-f*
-1 g
-326.307 379.58 9.2331 0.2006 re
-f*
-0.498 0 0.482 rg
-335.54 379.58 52.9899 0.2006 re
-f*
-0 g
-278.937 379.781 46.9683 0.2005 re
-f*
-1 g
-325.905 379.781 9.2331 0.2005 re
-f*
-0.498 0 0.482 rg
-335.138 379.781 53.5921 0.2005 re
-f*
-0 g
-278.736 379.981 46.9684 0.2006 re
-f*
-1 g
-325.704 379.981 9.2331 0.2006 re
-f*
-0.498 0 0.482 rg
-334.938 379.981 54.1942 0.2006 re
-f*
-0 g
-278.335 380.182 47.1691 0.2005 re
-f*
-1 g
-325.504 380.182 9.0324 0.2005 re
-f*
-0.498 0 0.482 rg
-334.536 380.182 54.9971 0.2005 re
-f*
-0 g
-277.933 380.382 47.3698 0.2006 re
-f*
-1 g
-325.303 380.382 9.0323 0.2006 re
-f*
-0.498 0 0.482 rg
-334.335 380.382 55.5994 0.2006 re
-f*
-0 g
-277.532 380.583 47.3697 0.2005 re
-f*
-1 g
-324.902 380.583 9.0324 0.2005 re
-f*
-0.498 0 0.482 rg
-333.934 380.583 56.4022 0.2005 re
-f*
-0 g
-277.331 380.783 47.3698 0.2006 re
-f*
-1 g
-324.701 380.783 9.0324 0.2006 re
-f*
-0.498 0 0.482 rg
-333.733 380.783 56.8036 0.2006 re
-f*
-0 g
-287.367 380.984 37.1331 0.2006 re
-f*
-1 g
-324.5 380.984 8.8316 0.2006 re
-f*
-0.498 0 0.482 rg
-333.332 380.984 57.6066 0.2006 re
-f*
-0 g
-287.367 381.185 36.9324 0.2005 re
-f*
-1 g
-324.299 381.185 8.8316 0.2005 re
-f*
-0.498 0 0.482 rg
-333.131 381.185 58.2087 0.2005 re
-f*
-0 g
-287.367 381.385 36.5309 0.2006 re
-f*
-1 g
-323.898 381.385 8.8317 0.2006 re
-f*
-0.498 0 0.482 rg
-332.73 381.385 58.8108 0.2006 re
-f*
-0 g
-287.367 381.586 36.3302 0.2005 re
-f*
-1 g
-323.697 381.586 8.8317 0.2005 re
-f*
-0.498 0 0.482 rg
-332.529 381.586 59.413 0.2005 re
-f*
-0 g
-287.367 381.786 36.1295 0.2006 re
-f*
-1 g
-323.497 381.786 8.6309 0.2006 re
-f*
-0.498 0 0.482 rg
-332.127 381.786 60.2159 0.2006 re
-f*
-0 g
-287.367 381.987 35.9288 0.2006 re
-f*
-1 g
-323.296 381.987 8.6309 0.2006 re
-f*
-0.498 0 0.482 rg
-331.927 381.987 60.6173 0.2006 re
-f*
-0 g
-278.937 382.188 0.2007 0.2005 re
-f*
-1 g
-279.138 382.188 8.2295 0.2005 re
-f*
-0 g
-287.367 382.188 35.7281 0.2005 re
-f*
-1 g
-323.095 382.188 8.4302 0.2005 re
-f*
-0.498 0 0.482 rg
-331.525 382.188 61.4201 0.2005 re
-f*
-0 g
-278.937 382.388 43.9575 0.2006 re
-f*
-1 g
-322.894 382.388 8.4302 0.2006 re
-f*
-0.498 0 0.482 rg
-331.325 382.388 61.8216 0.2006 re
-f*
-0 g
-278.937 382.589 43.7569 0.2005 re
-f*
-1 g
-322.694 382.589 8.4301 0.2005 re
-f*
-0.498 0 0.482 rg
-331.124 382.589 62.4238 0.2005 re
-f*
-0 g
-278.937 382.789 43.5561 0.2006 re
-f*
-1 g
-322.493 382.789 8.2295 0.2006 re
-f*
-0.498 0 0.482 rg
-330.722 382.789 63.2266 0.2006 re
-f*
-0 g
-278.937 382.99 43.3554 0.2006 re
-f*
-1 g
-322.292 382.99 8.2295 0.2006 re
-f*
-0.498 0 0.482 rg
-330.522 382.99 63.628 0.2006 re
-f*
-0 g
-278.937 383.19 43.1547 0.2005 re
-f*
-1 g
-322.092 383.19 8.2294 0.2005 re
-f*
-0.498 0 0.482 rg
-330.321 383.19 64.2303 0.2005 re
-f*
-0 g
-278.937 383.391 42.9539 0.2006 re
-f*
-1 g
-321.891 383.391 8.2295 0.2006 re
-f*
-0.498 0 0.482 rg
-330.12 383.391 64.6317 0.2006 re
-f*
-0 g
-278.937 383.591 42.7533 0.2005 re
-f*
-1 g
-321.69 383.591 8.0287 0.2005 re
-f*
-0.498 0 0.482 rg
-329.719 383.591 65.4345 0.2005 re
-f*
-0 g
-278.937 383.792 42.5525 0.2006 re
-f*
-1 g
-321.489 383.792 8.0288 0.2006 re
-f*
-0.498 0 0.482 rg
-329.518 383.792 65.8359 0.2006 re
-f*
-0 g
-278.937 383.992 42.3518 0.2006 re
-f*
-1 g
-321.289 383.992 8.0288 0.2006 re
-f*
-0.498 0 0.482 rg
-329.317 383.992 66.4381 0.2006 re
-f*
-0 g
-278.937 384.193 42.1511 0.2005 re
-f*
-1 g
-321.088 384.193 8.0287 0.2005 re
-f*
-0.498 0 0.482 rg
-329.117 384.193 66.8396 0.2005 re
-f*
-0 g
-278.937 384.394 41.9503 0.2005 re
-f*
-1 g
-320.887 384.394 8.0288 0.2005 re
-f*
-0.498 0 0.482 rg
-328.916 384.394 67.241 0.2005 re
-f*
-0 g
-278.937 384.594 41.7497 0.2006 re
-f*
-1 g
-320.687 384.594 7.828 0.2006 re
-f*
-0.498 0 0.482 rg
-328.515 384.594 68.0439 0.2006 re
-f*
-0 g
-271.109 384.795 0.2008 0.2006 re
-f*
-1 g
-271.31 384.795 7.6273 0.2006 re
-f*
-0 g
-278.937 384.795 41.5489 0.2006 re
-f*
-1 g
-320.486 384.795 7.8281 0.2006 re
-f*
-0.498 0 0.482 rg
-328.314 384.795 68.4453 0.2006 re
-f*
-0 g
-270.707 384.995 0.6022 0.2006 re
-f*
-1 g
-271.31 384.995 7.6273 0.2006 re
-f*
-0 g
-278.937 384.995 41.3482 0.2006 re
-f*
-1 g
-320.285 384.995 7.828 0.2006 re
-f*
-0.498 0 0.482 rg
-328.113 384.995 69.0475 0.2006 re
-f*
-0 g
-270.507 385.196 0.8029 0.2005 re
-f*
-1 g
-271.31 385.196 7.6273 0.2005 re
-f*
-0 g
-278.937 385.196 41.1475 0.2005 re
-f*
-1 g
-320.084 385.196 7.828 0.2005 re
-f*
-0.498 0 0.482 rg
-327.912 385.196 69.4489 0.2005 re
-f*
-0 g
-270.306 385.396 1.0036 0.2006 re
-f*
-1 g
-271.31 385.396 7.6273 0.2006 re
-f*
-0 g
-278.937 385.396 40.9467 0.2006 re
-f*
-1 g
-319.884 385.396 7.8281 0.2006 re
-f*
-0.498 0 0.482 rg
-327.712 385.396 69.8504 0.2006 re
-f*
-0 g
-269.904 385.597 1.4051 0.2005 re
-f*
-1 g
-271.31 385.597 7.6273 0.2005 re
-f*
-0 g
-278.937 385.597 40.7461 0.2005 re
-f*
-1 g
-319.683 385.597 7.828 0.2005 re
-f*
-0.498 0 0.482 rg
-327.511 385.597 70.4525 0.2005 re
-f*
-0 g
-269.704 385.797 1.6058 0.2006 re
-f*
-1 g
-271.31 385.797 7.6273 0.2006 re
-f*
-0 g
-278.937 385.797 40.7461 0.2006 re
-f*
-1 g
-319.683 385.797 7.6273 0.2006 re
-f*
-0.498 0 0.482 rg
-327.31 385.797 70.8539 0.2006 re
-f*
-0 g
-269.503 385.998 1.8065 0.2005 re
-f*
-1 g
-271.31 385.998 7.6273 0.2005 re
-f*
-0 g
-278.937 385.998 40.5453 0.2005 re
-f*
-1 g
-319.482 385.998 7.6273 0.2005 re
-f*
-0.498 0 0.482 rg
-327.11 385.998 71.2554 0.2005 re
-f*
-0 g
-269.102 386.199 2.208 0.2006 re
-f*
-1 g
-271.31 386.199 7.6273 0.2006 re
-f*
-0 g
-278.937 386.199 40.3446 0.2006 re
-f*
-1 g
-319.281 386.199 7.6273 0.2006 re
-f*
-0.498 0 0.482 rg
-326.909 386.199 71.8576 0.2006 re
-f*
-0 g
-268.901 386.399 2.4087 0.2005 re
-f*
-1 g
-271.31 386.399 7.6273 0.2005 re
-f*
-0 g
-278.937 386.399 40.1438 0.2005 re
-f*
-1 g
-319.081 386.399 7.6274 0.2005 re
-f*
-0.498 0 0.482 rg
-326.708 386.399 72.259 0.2005 re
-f*
-0 g
-268.7 386.6 2.6094 0.2006 re
-f*
-1 g
-271.31 386.6 7.6273 0.2006 re
-f*
-0 g
-278.937 386.6 39.9431 0.2006 re
-f*
-1 g
-318.88 386.6 7.6274 0.2006 re
-f*
-0.498 0 0.482 rg
-326.507 386.6 72.6604 0.2006 re
-f*
-0 g
-268.299 386.8 3.0108 0.2006 re
-f*
-1 g
-271.31 386.8 7.6273 0.2006 re
-f*
-0 g
-278.937 386.8 39.9431 0.2006 re
-f*
-1 g
-318.88 386.8 7.4267 0.2006 re
-f*
-0.498 0 0.482 rg
-326.307 386.8 73.0618 0.2006 re
-f*
-0 g
-268.098 387.001 3.2115 0.2005 re
-f*
-1 g
-271.31 387.001 7.6273 0.2005 re
-f*
-0 g
-278.937 387.001 39.7425 0.2005 re
-f*
-1 g
-318.679 387.001 7.4265 0.2005 re
-f*
-0.498 0 0.482 rg
-326.106 387.001 73.6641 0.2005 re
-f*
-0 g
-267.897 387.201 3.4123 0.2005 re
-f*
-1 g
-271.31 387.201 7.6273 0.2005 re
-f*
-0 g
-278.937 387.201 39.5417 0.2005 re
-f*
-1 g
-318.479 387.201 7.4266 0.2005 re
-f*
-0.498 0 0.482 rg
-325.905 387.201 74.0655 0.2005 re
-f*
-0 g
-267.697 387.402 3.613 0.2006 re
-f*
-1 g
-271.31 387.402 7.6273 0.2006 re
-f*
-0 g
-278.937 387.402 39.341 0.2006 re
-f*
-1 g
-318.278 387.402 7.4266 0.2006 re
-f*
-0.498 0 0.482 rg
-325.704 387.402 74.4669 0.2006 re
-f*
-0 g
-267.295 387.603 4.0144 0.2006 re
-f*
-1 g
-271.31 387.603 7.6273 0.2006 re
-f*
-0 g
-278.937 387.603 39.341 0.2006 re
-f*
-1 g
-318.278 387.603 7.2259 0.2006 re
-f*
-0.498 0 0.482 rg
-325.504 387.603 74.8683 0.2006 re
-f*
-0 g
-267.094 387.803 4.2151 0.2006 re
-f*
-1 g
-271.31 387.803 7.6273 0.2006 re
-f*
-0 g
-278.937 387.803 39.1402 0.2006 re
-f*
-1 g
-318.077 387.803 7.226 0.2006 re
-f*
-0.498 0 0.482 rg
-325.303 387.803 75.4705 0.2006 re
-f*
-0 g
-266.894 388.004 4.4159 0.2006 re
-f*
-1 g
-271.31 388.004 7.6273 0.2006 re
-f*
-0 g
-278.937 388.004 38.9395 0.2006 re
-f*
-1 g
-317.876 388.004 7.226 0.2006 re
-f*
-0.498 0 0.482 rg
-325.102 388.004 75.8719 0.2006 re
-f*
-0 g
-266.693 388.204 4.6166 0.2005 re
-f*
-1 g
-271.31 388.204 7.6273 0.2005 re
-f*
-0 g
-278.937 388.204 38.7389 0.2005 re
-f*
-1 g
-317.676 388.204 7.2258 0.2005 re
-f*
-0.498 0 0.482 rg
-324.902 388.204 76.2734 0.2005 re
-f*
-0 g
-266.492 388.405 4.8173 0.2005 re
-f*
-1 g
-271.31 388.405 7.6273 0.2005 re
-f*
-0 g
-278.937 388.405 38.7389 0.2005 re
-f*
-1 g
-317.676 388.405 7.0251 0.2005 re
-f*
-0.498 0 0.482 rg
-324.701 388.405 76.6748 0.2005 re
-f*
-0 g
-266.292 388.605 5.018 0.2006 re
-f*
-1 g
-271.31 388.605 7.6273 0.2006 re
-f*
-0 g
-278.937 388.605 38.5381 0.2006 re
-f*
-1 g
-317.475 388.605 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-324.5 388.605 77.0762 0.2006 re
-f*
-0 g
-265.89 388.806 5.4195 0.2006 re
-f*
-1 g
-271.31 388.806 7.6273 0.2006 re
-f*
-0 g
-278.937 388.806 38.3374 0.2006 re
-f*
-1 g
-317.274 388.806 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-324.299 388.806 77.4777 0.2006 re
-f*
-0 g
-265.689 389.006 5.6202 0.2005 re
-f*
-1 g
-271.31 389.006 7.6273 0.2005 re
-f*
-0 g
-278.937 389.006 38.3374 0.2005 re
-f*
-1 g
-317.274 389.006 7.0252 0.2005 re
-f*
-0.498 0 0.482 rg
-324.299 389.006 77.8791 0.2005 re
-f*
-0 g
-265.489 389.207 5.8209 0.2005 re
-f*
-1 g
-271.31 389.207 7.6273 0.2005 re
-f*
-0 g
-278.937 389.207 38.1367 0.2005 re
-f*
-1 g
-317.074 389.207 7.0252 0.2005 re
-f*
-0.498 0 0.482 rg
-324.099 389.207 78.2805 0.2005 re
-f*
-0 g
-265.288 389.407 6.0216 0.2006 re
-f*
-1 g
-271.31 389.407 7.6273 0.2006 re
-f*
-0 g
-278.937 389.407 37.9359 0.2006 re
-f*
-1 g
-316.873 389.407 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-323.898 389.407 78.682 0.2006 re
-f*
-0 g
-265.087 389.608 6.2224 0.2006 re
-f*
-1 g
-271.31 389.608 7.6273 0.2006 re
-f*
-0 g
-278.937 389.608 37.9359 0.2006 re
-f*
-1 g
-316.873 389.608 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-323.697 389.608 79.0835 0.2006 re
-f*
-0 g
-264.886 389.809 6.4231 0.2005 re
-f*
-1 g
-271.31 389.809 7.6273 0.2005 re
-f*
-0 g
-278.937 389.809 37.7352 0.2005 re
-f*
-1 g
-316.672 389.809 6.8245 0.2005 re
-f*
-0.498 0 0.482 rg
-323.497 389.809 79.4849 0.2005 re
-f*
-0 g
-264.686 390.009 6.6238 0.2006 re
-f*
-1 g
-271.31 390.009 7.6273 0.2006 re
-f*
-0 g
-278.937 390.009 37.5345 0.2006 re
-f*
-1 g
-316.471 390.009 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-323.497 390.009 79.6856 0.2006 re
-f*
-0 g
-264.485 390.21 6.8245 0.2005 re
-f*
-1 g
-271.31 390.21 7.6273 0.2005 re
-f*
-0 g
-278.937 390.21 37.5345 0.2005 re
-f*
-1 g
-316.471 390.21 6.8245 0.2005 re
-f*
-0.498 0 0.482 rg
-323.296 390.21 80.087 0.2005 re
-f*
-0 g
-264.284 390.41 7.0252 0.2006 re
-f*
-1 g
-271.31 390.41 7.6273 0.2006 re
-f*
-0 g
-278.937 390.41 37.3338 0.2006 re
-f*
-1 g
-316.271 390.41 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-323.095 390.41 80.4884 0.2006 re
-f*
-0 g
-264.084 390.611 7.226 0.2006 re
-f*
-1 g
-271.31 390.611 7.6273 0.2006 re
-f*
-0 g
-278.937 390.611 37.1331 0.2006 re
-f*
-1 g
-316.07 390.611 6.8244 0.2006 re
-f*
-0.498 0 0.482 rg
-322.894 390.611 80.89 0.2006 re
-f*
-0 g
-263.883 390.811 7.4267 0.2006 re
-f*
-1 g
-271.31 390.811 7.6273 0.2006 re
-f*
-0 g
-278.937 390.811 37.1331 0.2006 re
-f*
-1 g
-316.07 390.811 6.8244 0.2006 re
-f*
-0.498 0 0.482 rg
-322.894 390.811 81.0907 0.2006 re
-f*
-0 g
-263.682 391.012 7.6274 0.2005 re
-f*
-1 g
-271.31 391.012 7.6273 0.2005 re
-f*
-0 g
-278.937 391.012 36.9323 0.2005 re
-f*
-1 g
-315.869 391.012 6.8246 0.2005 re
-f*
-0.498 0 0.482 rg
-322.694 391.012 81.492 0.2005 re
-f*
-0 g
-263.281 391.213 8.0288 0.2005 re
-f*
-1 g
-271.31 391.213 7.6273 0.2005 re
-f*
-0 g
-278.937 391.213 36.9323 0.2005 re
-f*
-1 g
-315.869 391.213 6.6238 0.2005 re
-f*
-0.498 0 0.482 rg
-322.493 391.213 81.8935 0.2005 re
-f*
-0 g
-263.08 391.413 8.2296 0.2006 re
-f*
-1 g
-271.31 391.413 7.6273 0.2006 re
-f*
-0 g
-278.937 391.413 36.7317 0.2006 re
-f*
-1 g
-315.669 391.413 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-322.292 391.413 82.2949 0.2006 re
-f*
-0 g
-262.879 391.614 8.4303 0.2006 re
-f*
-1 g
-271.31 391.614 7.6273 0.2006 re
-f*
-0 g
-278.937 391.614 36.5309 0.2006 re
-f*
-1 g
-315.468 391.614 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-322.292 391.614 82.4957 0.2006 re
-f*
-0 g
-262.679 391.814 8.631 0.2005 re
-f*
-1 g
-271.31 391.814 7.6273 0.2005 re
-f*
-0 g
-278.937 391.814 36.5309 0.2005 re
-f*
-1 g
-315.468 391.814 6.6238 0.2005 re
-f*
-0.498 0 0.482 rg
-322.092 391.814 82.8971 0.2005 re
-f*
-0 g
-262.478 392.015 8.8317 0.2006 re
-f*
-1 g
-271.31 392.015 7.6273 0.2006 re
-f*
-0 g
-278.937 392.015 36.3302 0.2006 re
-f*
-1 g
-315.267 392.015 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-321.891 392.015 83.2986 0.2006 re
-f*
-0 g
-262.277 392.215 9.0324 0.2005 re
-f*
-1 g
-271.31 392.215 7.6273 0.2005 re
-f*
-0 g
-278.937 392.215 36.3302 0.2005 re
-f*
-1 g
-315.267 392.215 6.6237 0.2005 re
-f*
-0.498 0 0.482 rg
-321.891 392.215 83.4993 0.2005 re
-f*
-0 g
-262.277 392.416 9.0324 0.2006 re
-f*
-1 g
-271.31 392.416 7.6273 0.2006 re
-f*
-0 g
-278.937 392.416 36.1295 0.2006 re
-f*
-1 g
-315.066 392.416 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-321.69 392.416 83.9007 0.2006 re
-f*
-0 g
-262.076 392.616 9.2332 0.2006 re
-f*
-1 g
-271.31 392.616 7.6273 0.2006 re
-f*
-0 g
-278.937 392.616 36.1295 0.2006 re
-f*
-1 g
-315.066 392.616 6.423 0.2006 re
-f*
-0.498 0 0.482 rg
-321.489 392.616 84.3022 0.2006 re
-f*
-0 g
-261.876 392.817 9.4339 0.2005 re
-f*
-1 g
-271.31 392.817 7.6273 0.2005 re
-f*
-0 g
-278.937 392.817 35.9287 0.2005 re
-f*
-1 g
-314.866 392.817 6.6238 0.2005 re
-f*
-0.498 0 0.482 rg
-321.489 392.817 84.5029 0.2005 re
-f*
-0 g
-261.675 393.018 9.6346 0.2006 re
-f*
-1 g
-271.31 393.018 7.6273 0.2006 re
-f*
-0 g
-278.937 393.018 35.9287 0.2006 re
-f*
-1 g
-314.866 393.018 6.4231 0.2006 re
-f*
-0.498 0 0.482 rg
-321.289 393.018 84.9043 0.2006 re
-f*
-0 g
-261.474 393.218 9.8353 0.2005 re
-f*
-1 g
-271.31 393.218 7.6273 0.2005 re
-f*
-0 g
-278.937 393.218 35.7281 0.2005 re
-f*
-1 g
-314.665 393.218 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-321.088 393.218 85.3057 0.2005 re
-f*
-0 g
-261.274 393.419 10.036 0.2006 re
-f*
-1 g
-271.31 393.419 7.6273 0.2006 re
-f*
-0 g
-278.937 393.419 35.7281 0.2006 re
-f*
-1 g
-314.665 393.419 6.423 0.2006 re
-f*
-0.498 0 0.482 rg
-321.088 393.419 85.5064 0.2006 re
-f*
-0 g
-261.073 393.619 10.2368 0.2006 re
-f*
-1 g
-271.31 393.619 7.6273 0.2006 re
-f*
-0 g
-278.937 393.619 35.5273 0.2006 re
-f*
-1 g
-314.464 393.619 6.423 0.2006 re
-f*
-0.498 0 0.482 rg
-320.887 393.619 85.908 0.2006 re
-f*
-0 g
-260.872 393.82 10.4375 0.2005 re
-f*
-1 g
-271.31 393.82 7.6273 0.2005 re
-f*
-0 g
-278.937 393.82 35.5273 0.2005 re
-f*
-1 g
-314.464 393.82 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-320.887 393.82 86.1087 0.2005 re
-f*
-0 g
-260.671 394.02 10.6382 0.2006 re
-f*
-1 g
-271.31 394.02 7.6273 0.2006 re
-f*
-0 g
-278.937 394.02 35.3266 0.2006 re
-f*
-1 g
-314.263 394.02 6.4231 0.2006 re
-f*
-0.498 0 0.482 rg
-320.687 394.02 86.51 0.2006 re
-f*
-0 g
-260.471 394.221 10.8389 0.2005 re
-f*
-1 g
-271.31 394.221 7.6273 0.2005 re
-f*
-0 g
-278.937 394.221 35.3266 0.2005 re
-f*
-1 g
-314.263 394.221 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-320.486 394.221 86.9115 0.2005 re
-f*
-0 g
-260.27 394.421 11.0396 0.2006 re
-f*
-1 g
-271.31 394.421 7.6273 0.2006 re
-f*
-0 g
-278.937 394.421 35.1259 0.2006 re
-f*
-1 g
-314.063 394.421 6.423 0.2006 re
-f*
-0.498 0 0.482 rg
-320.486 394.421 86.9115 0.2006 re
-f*
-0 g
-260.27 394.622 11.0396 0.2006 re
-f*
-1 g
-271.31 394.622 7.6273 0.2006 re
-f*
-0 g
-278.937 394.622 35.1259 0.2006 re
-f*
-1 g
-314.063 394.622 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-320.285 394.622 87.3129 0.2006 re
-f*
-0 g
-260.069 394.823 11.2403 0.2005 re
-f*
-1 g
-271.31 394.823 7.6273 0.2005 re
-f*
-0 g
-278.937 394.823 34.9251 0.2005 re
-f*
-1 g
-313.862 394.823 6.4231 0.2005 re
-f*
-0.498 0 0.482 rg
-320.285 394.823 87.5137 0.2005 re
-f*
-0 g
-259.868 395.023 11.4411 0.2006 re
-f*
-1 g
-271.31 395.023 7.6273 0.2006 re
-f*
-0 g
-278.937 395.023 34.9251 0.2006 re
-f*
-1 g
-313.862 395.023 6.2224 0.2006 re
-f*
-0.498 0 0.482 rg
-320.084 395.023 87.9151 0.2006 re
-f*
-0 g
-259.668 395.224 11.6418 0.2005 re
-f*
-1 g
-271.31 395.224 7.6273 0.2005 re
-f*
-0 g
-278.937 395.224 34.7245 0.2005 re
-f*
-1 g
-313.661 395.224 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-320.084 395.224 88.1158 0.2005 re
-f*
-0 g
-259.467 395.424 11.8425 0.2006 re
-f*
-1 g
-271.31 395.424 7.6273 0.2006 re
-f*
-0 g
-278.937 395.424 34.7245 0.2006 re
-f*
-1 g
-313.661 395.424 6.2222 0.2006 re
-f*
-0.498 0 0.482 rg
-319.884 395.424 88.5173 0.2006 re
-f*
-0 g
-259.266 395.625 12.0432 0.2005 re
-f*
-1 g
-271.31 395.625 7.6273 0.2005 re
-f*
-0 g
-278.937 395.625 34.5237 0.2005 re
-f*
-1 g
-313.461 395.625 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-319.884 395.625 88.5173 0.2005 re
-f*
-0 g
-259.266 395.825 12.0432 0.2006 re
-f*
-1 g
-271.31 395.825 7.6273 0.2006 re
-f*
-0 g
-278.937 395.825 34.5237 0.2006 re
-f*
-1 g
-313.461 395.825 6.2224 0.2006 re
-f*
-0.498 0 0.482 rg
-319.683 395.825 88.9186 0.2006 re
-f*
-0 g
-259.066 396.026 12.2439 0.2006 re
-f*
-1 g
-271.31 396.026 7.6273 0.2006 re
-f*
-0 g
-278.937 396.026 34.5237 0.2006 re
-f*
-1 g
-313.461 396.026 6.2224 0.2006 re
-f*
-0.498 0 0.482 rg
-319.683 396.026 89.1194 0.2006 re
-f*
-0 g
-258.865 396.227 12.4447 0.2005 re
-f*
-1 g
-271.31 396.227 7.6273 0.2005 re
-f*
-0 g
-278.937 396.227 34.323 0.2005 re
-f*
-1 g
-313.26 396.227 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-319.482 396.227 89.5209 0.2005 re
-f*
-0 g
-258.664 396.427 12.6454 0.2006 re
-f*
-1 g
-271.31 396.427 7.6273 0.2006 re
-f*
-0 g
-278.937 396.427 34.323 0.2006 re
-f*
-1 g
-313.26 396.427 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-319.482 396.427 89.7216 0.2006 re
-f*
-0 g
-258.463 396.628 12.8461 0.2005 re
-f*
-1 g
-271.31 396.628 7.6273 0.2005 re
-f*
-0 g
-278.937 396.628 34.1223 0.2005 re
-f*
-1 g
-313.059 396.628 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-319.281 396.628 89.9223 0.2005 re
-f*
-0 g
-258.463 396.828 12.8461 0.2006 re
-f*
-1 g
-271.31 396.828 7.6273 0.2006 re
-f*
-0 g
-278.937 396.828 34.1223 0.2006 re
-f*
-1 g
-313.059 396.828 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-319.281 396.828 90.123 0.2006 re
-f*
-0 g
-258.263 397.029 13.0468 0.2006 re
-f*
-1 g
-271.31 397.029 7.6273 0.2006 re
-f*
-0 g
-278.937 397.029 34.1223 0.2006 re
-f*
-1 g
-313.059 397.029 6.0215 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 397.029 90.5245 0.2006 re
-f*
-0 g
-258.062 397.229 13.2475 0.2005 re
-f*
-1 g
-271.31 397.229 7.6273 0.2005 re
-f*
-0 g
-278.937 397.229 33.9216 0.2005 re
-f*
-1 g
-312.858 397.229 6.2222 0.2005 re
-f*
-0.498 0 0.482 rg
-319.081 397.229 90.7253 0.2005 re
-f*
-0 g
-258.062 397.43 13.2475 0.2006 re
-f*
-1 g
-271.31 397.43 7.6273 0.2006 re
-f*
-0 g
-278.937 397.43 33.9216 0.2006 re
-f*
-1 g
-312.858 397.43 6.0215 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 397.43 90.926 0.2006 re
-f*
-0 g
-257.861 397.63 13.4483 0.2005 re
-f*
-1 g
-271.31 397.63 7.6273 0.2005 re
-f*
-0 g
-278.937 397.63 33.7209 0.2005 re
-f*
-1 g
-312.658 397.63 6.2222 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 397.63 91.1267 0.2005 re
-f*
-0 g
-257.661 397.831 13.649 0.2006 re
-f*
-1 g
-271.31 397.831 7.6273 0.2006 re
-f*
-0 g
-278.937 397.831 33.7209 0.2006 re
-f*
-1 g
-312.658 397.831 6.2222 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 397.831 91.3274 0.2006 re
-f*
-0 g
-257.46 398.032 13.8497 0.2006 re
-f*
-1 g
-271.31 398.032 7.6273 0.2006 re
-f*
-0 g
-278.937 398.032 33.7209 0.2006 re
-f*
-1 g
-312.658 398.032 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-318.679 398.032 91.7287 0.2006 re
-f*
-0 g
-257.46 398.232 13.8497 0.2005 re
-f*
-1 g
-271.31 398.232 7.6273 0.2005 re
-f*
-0 g
-278.937 398.232 33.5201 0.2005 re
-f*
-1 g
-312.457 398.232 6.2224 0.2005 re
-f*
-0.498 0 0.482 rg
-318.679 398.232 91.7287 0.2005 re
-f*
-0 g
-257.259 398.433 14.0504 0.2006 re
-f*
-1 g
-271.31 398.433 7.6273 0.2006 re
-f*
-0 g
-278.937 398.433 33.5201 0.2006 re
-f*
-1 g
-312.457 398.433 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-318.479 398.433 92.1302 0.2006 re
-f*
-0 g
-257.058 398.633 14.2511 0.2005 re
-f*
-1 g
-271.31 398.633 7.6273 0.2005 re
-f*
-0 g
-278.937 398.633 33.5201 0.2005 re
-f*
-1 g
-312.457 398.633 6.0216 0.2005 re
-f*
-0.498 0 0.482 rg
-318.479 398.633 92.3309 0.2005 re
-f*
-0 g
-257.058 398.834 14.2511 0.2006 re
-f*
-1 g
-271.31 398.834 7.6273 0.2006 re
-f*
-0 g
-278.937 398.834 33.3194 0.2006 re
-f*
-1 g
-312.256 398.834 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-318.479 398.834 92.3309 0.2006 re
-f*
-0 g
-256.858 399.034 14.4519 0.2006 re
-f*
-1 g
-271.31 399.034 7.6273 0.2006 re
-f*
-0 g
-278.937 399.034 33.3194 0.2006 re
-f*
-1 g
-312.256 399.034 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-318.278 399.034 92.7324 0.2006 re
-f*
-0 g
-256.657 399.235 14.6526 0.2005 re
-f*
-1 g
-271.31 399.235 7.6273 0.2005 re
-f*
-0 g
-278.937 399.235 33.3194 0.2005 re
-f*
-1 g
-312.256 399.235 6.0216 0.2005 re
-f*
-0.498 0 0.482 rg
-318.278 399.235 92.9331 0.2005 re
-f*
-0 g
-256.657 399.435 14.6526 0.2005 re
-f*
-1 g
-271.31 399.435 7.6273 0.2005 re
-f*
-0 g
-278.937 399.435 33.1187 0.2005 re
-f*
-1 g
-312.056 399.435 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-318.278 399.435 92.9331 0.2005 re
-f*
-0 g
-256.456 399.636 14.8533 0.2006 re
-f*
-1 g
-271.31 399.636 7.6273 0.2006 re
-f*
-0 g
-278.937 399.636 33.1187 0.2006 re
-f*
-1 g
-312.056 399.636 6.0215 0.2006 re
-f*
-0.498 0 0.482 rg
-318.077 399.636 93.3346 0.2006 re
-f*
-0 g
-256.256 399.837 15.054 0.2006 re
-f*
-1 g
-271.31 399.837 7.6273 0.2006 re
-f*
-0 g
-278.937 399.837 33.1187 0.2006 re
-f*
-1 g
-312.056 399.837 6.0215 0.2006 re
-f*
-0.498 0 0.482 rg
-318.077 399.837 93.5353 0.2006 re
-f*
-0 g
-256.256 400.037 15.054 0.2006 re
-f*
-1 g
-271.31 400.037 7.6273 0.2006 re
-f*
-0 g
-278.937 400.037 32.918 0.2006 re
-f*
-1 g
-311.855 400.037 6.2222 0.2006 re
-f*
-0.498 0 0.482 rg
-318.077 400.037 93.5353 0.2006 re
-f*
-0 g
-256.055 400.238 15.2547 0.2005 re
-f*
-1 g
-271.31 400.238 7.6273 0.2005 re
-f*
-0 g
-278.937 400.238 32.918 0.2005 re
-f*
-1 g
-311.855 400.238 6.0215 0.2005 re
-f*
-0.498 0 0.482 rg
-317.876 400.238 93.9367 0.2005 re
-f*
-0 g
-255.854 400.438 15.4555 0.2006 re
-f*
-1 g
-271.31 400.438 7.6273 0.2006 re
-f*
-0 g
-278.937 400.438 32.918 0.2006 re
-f*
-1 g
-311.855 400.438 6.0215 0.2006 re
-f*
-0.498 0 0.482 rg
-317.876 400.438 93.9367 0.2006 re
-f*
-0 g
-255.854 400.639 15.4555 0.2005 re
-f*
-1 g
-271.31 400.639 7.6273 0.2005 re
-f*
-0 g
-278.937 400.639 32.7173 0.2005 re
-f*
-1 g
-311.654 400.639 6.2222 0.2005 re
-f*
-0.498 0 0.482 rg
-317.876 400.639 94.1375 0.2005 re
-f*
-0 g
-255.653 400.839 15.6562 0.2006 re
-f*
-1 g
-271.31 400.839 7.6273 0.2006 re
-f*
-0 g
-278.937 400.839 32.7173 0.2006 re
-f*
-1 g
-311.654 400.839 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-317.676 400.839 94.5388 0.2006 re
-f*
-0 g
-255.653 401.04 15.6562 0.2006 re
-f*
-1 g
-271.31 401.04 7.6273 0.2006 re
-f*
-0 g
-278.937 401.04 32.7173 0.2006 re
-f*
-1 g
-311.654 401.04 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-317.676 401.04 94.5388 0.2006 re
-f*
-0 g
-255.453 401.241 15.8569 0.2005 re
-f*
-1 g
-271.31 401.241 7.6273 0.2005 re
-f*
-0 g
-278.937 401.241 32.5165 0.2005 re
-f*
-1 g
-311.453 401.241 6.2224 0.2005 re
-f*
-0.498 0 0.482 rg
-317.676 401.241 94.7395 0.2005 re
-f*
-0 g
-255.252 401.441 16.0576 0.2005 re
-f*
-1 g
-271.31 401.441 7.6273 0.2005 re
-f*
-0 g
-278.937 401.441 32.5165 0.2005 re
-f*
-1 g
-311.453 401.441 6.2224 0.2005 re
-f*
-0.498 0 0.482 rg
-317.676 401.441 94.9402 0.2005 re
-f*
-0 g
-255.252 401.642 16.0576 0.2006 re
-f*
-1 g
-271.31 401.642 7.6273 0.2006 re
-f*
-0 g
-278.937 401.642 32.5165 0.2006 re
-f*
-1 g
-311.453 401.642 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-317.475 401.642 95.141 0.2006 re
-f*
-0 g
-255.051 401.842 16.2583 0.2006 re
-f*
-1 g
-271.31 401.842 7.6273 0.2006 re
-f*
-0 g
-278.937 401.842 32.5165 0.2006 re
-f*
-1 g
-311.453 401.842 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-317.475 401.842 95.3417 0.2006 re
-f*
-0 g
-255.051 402.043 16.2583 0.2005 re
-f*
-1 g
-271.31 402.043 7.6273 0.2005 re
-f*
-0 g
-278.937 402.043 32.3158 0.2005 re
-f*
-1 g
-311.253 402.043 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-317.475 402.043 95.3417 0.2005 re
-f*
-0 g
-254.851 402.243 16.4591 0.2005 re
-f*
-1 g
-271.31 402.243 7.6273 0.2005 re
-f*
-0 g
-278.937 402.243 32.3158 0.2005 re
-f*
-1 g
-311.253 402.243 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-317.475 402.243 95.5425 0.2005 re
-f*
-0 g
-254.851 402.444 16.4591 0.2006 re
-f*
-1 g
-271.31 402.444 7.6273 0.2006 re
-f*
-0 g
-278.937 402.444 32.3158 0.2006 re
-f*
-1 g
-311.253 402.444 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-317.274 402.444 95.7432 0.2006 re
-f*
-0 g
-254.65 402.644 16.6598 0.2006 re
-f*
-1 g
-271.31 402.644 7.6273 0.2006 re
-f*
-0 g
-278.937 402.644 32.1151 0.2006 re
-f*
-1 g
-311.052 402.644 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-317.274 402.644 95.9438 0.2006 re
-f*
-0 g
-254.449 402.845 16.8605 0.2006 re
-f*
-1 g
-271.31 402.845 7.6273 0.2006 re
-f*
-0 g
-278.937 402.845 32.1151 0.2006 re
-f*
-1 g
-311.052 402.845 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-317.274 402.845 95.9438 0.2006 re
-f*
-0 g
-254.449 403.046 16.8605 0.2006 re
-f*
-1 g
-271.31 403.046 7.6273 0.2006 re
-f*
-0 g
-278.937 403.046 32.1151 0.2006 re
-f*
-1 g
-311.052 403.046 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-317.274 403.046 96.1446 0.2006 re
-f*
-0 g
-254.248 403.246 17.0612 0.2005 re
-f*
-1 g
-271.31 403.246 7.6273 0.2005 re
-f*
-0 g
-278.937 403.246 32.1151 0.2005 re
-f*
-1 g
-311.052 403.246 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-317.274 403.246 96.1446 0.2005 re
-f*
-0 g
-254.248 403.447 17.0612 0.2005 re
-f*
-1 g
-271.31 403.447 7.6273 0.2005 re
-f*
-0 g
-278.937 403.447 31.9144 0.2005 re
-f*
-1 g
-310.851 403.447 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-317.274 403.447 96.3453 0.2005 re
-f*
-0 g
-254.048 403.647 17.2619 0.2006 re
-f*
-1 g
-271.31 403.647 7.6273 0.2006 re
-f*
-0 g
-278.937 403.647 31.9144 0.2006 re
-f*
-1 g
-310.851 403.647 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 403.647 96.546 0.2006 re
-f*
-0 g
-254.048 403.848 17.2619 0.2006 re
-f*
-1 g
-271.31 403.848 7.6273 0.2006 re
-f*
-0 g
-278.937 403.848 31.9144 0.2006 re
-f*
-1 g
-310.851 403.848 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 403.848 96.7467 0.2006 re
-f*
-0 g
-253.847 404.048 17.4626 0.2005 re
-f*
-1 g
-271.31 404.048 7.6273 0.2005 re
-f*
-0 g
-278.937 404.048 31.9144 0.2005 re
-f*
-1 g
-310.851 404.048 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-317.074 404.048 13.6489 0.2005 re
-f*
-1 g
-330.722 404.048 8.4302 0.2005 re
-f*
-0.498 0 0.482 rg
-339.153 404.048 74.6676 0.2005 re
-f*
-0 g
-253.847 404.249 17.4626 0.2005 re
-f*
-1 g
-271.31 404.249 7.6273 0.2005 re
-f*
-0 g
-278.937 404.249 31.7137 0.2005 re
-f*
-1 g
-310.651 404.249 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-317.074 404.249 12.2439 0.2005 re
-f*
-1 g
-329.317 404.249 11.2403 0.2005 re
-f*
-0.498 0 0.482 rg
-340.558 404.249 73.4633 0.2005 re
-f*
-0 g
-253.646 404.449 17.6633 0.2006 re
-f*
-1 g
-271.31 404.449 7.6273 0.2006 re
-f*
-0 g
-278.937 404.449 31.7137 0.2006 re
-f*
-1 g
-310.651 404.449 6.423 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 404.449 11.0395 0.2006 re
-f*
-1 g
-328.113 404.449 13.4483 0.2006 re
-f*
-0.498 0 0.482 rg
-341.561 404.449 72.4597 0.2006 re
-f*
-0 g
-253.646 404.65 17.6633 0.2006 re
-f*
-1 g
-271.31 404.65 7.6273 0.2006 re
-f*
-0 g
-278.937 404.65 31.7137 0.2006 re
-f*
-1 g
-310.651 404.65 6.423 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 404.65 9.8352 0.2006 re
-f*
-1 g
-326.909 404.65 15.6561 0.2006 re
-f*
-0.498 0 0.482 rg
-342.565 404.65 71.6568 0.2006 re
-f*
-0 g
-253.445 404.851 17.8641 0.2005 re
-f*
-1 g
-271.31 404.851 7.6273 0.2005 re
-f*
-0 g
-278.937 404.851 31.7137 0.2005 re
-f*
-1 g
-310.651 404.851 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-317.074 404.851 8.8316 0.2005 re
-f*
-1 g
-325.905 404.851 17.2619 0.2005 re
-f*
-0.498 0 0.482 rg
-343.167 404.851 71.0546 0.2005 re
-f*
-0 g
-253.445 405.051 17.8641 0.2006 re
-f*
-1 g
-271.31 405.051 7.6273 0.2006 re
-f*
-0 g
-278.937 405.051 31.7137 0.2006 re
-f*
-1 g
-310.651 405.051 6.423 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 405.051 8.0288 0.2006 re
-f*
-1 g
-325.102 405.051 7.0251 0.2006 re
-f*
-0 g
-332.127 405.051 6.2223 0.2006 re
-f*
-1 g
-338.35 405.051 5.6201 0.2006 re
-f*
-0.498 0 0.482 rg
-343.97 405.051 70.4526 0.2006 re
-f*
-0 g
-253.445 405.252 17.8641 0.2005 re
-f*
-1 g
-271.31 405.252 7.6273 0.2005 re
-f*
-0 g
-278.937 405.252 31.513 0.2005 re
-f*
-1 g
-310.45 405.252 6.4229 0.2005 re
-f*
-0.498 0 0.482 rg
-316.873 405.252 7.6274 0.2005 re
-f*
-1 g
-324.5 405.252 5.6201 0.2005 re
-f*
-0 g
-330.12 405.252 9.8353 0.2005 re
-f*
-1 g
-339.956 405.252 4.6165 0.2005 re
-f*
-0.498 0 0.482 rg
-344.572 405.252 69.8504 0.2005 re
-f*
-0 g
-253.245 405.452 18.0648 0.2006 re
-f*
-1 g
-271.31 405.452 7.6273 0.2006 re
-f*
-0 g
-278.937 405.452 31.513 0.2006 re
-f*
-1 g
-310.45 405.452 6.4229 0.2006 re
-f*
-0.498 0 0.482 rg
-316.873 405.452 7.0252 0.2006 re
-f*
-1 g
-323.898 405.452 5.2187 0.2006 re
-f*
-0 g
-329.117 405.452 12.0432 0.2006 re
-f*
-1 g
-341.16 405.452 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-344.973 405.452 69.6497 0.2006 re
-f*
-0 g
-253.245 405.653 18.0648 0.2006 re
-f*
-1 g
-271.31 405.653 7.6273 0.2006 re
-f*
-0 g
-278.937 405.653 31.513 0.2006 re
-f*
-1 g
-310.45 405.653 6.4229 0.2006 re
-f*
-0.498 0 0.482 rg
-316.873 405.653 6.4231 0.2006 re
-f*
-1 g
-323.296 405.653 4.8172 0.2006 re
-f*
-0 g
-328.113 405.653 13.8497 0.2006 re
-f*
-1 g
-341.963 405.653 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-345.576 405.653 69.0475 0.2006 re
-f*
-0 g
-253.044 405.853 18.2655 0.2006 re
-f*
-1 g
-271.31 405.853 7.6273 0.2006 re
-f*
-0 g
-278.937 405.853 31.513 0.2006 re
-f*
-1 g
-310.45 405.853 6.4229 0.2006 re
-f*
-0.498 0 0.482 rg
-316.873 405.853 5.821 0.2006 re
-f*
-1 g
-322.694 405.853 4.8172 0.2006 re
-f*
-0 g
-327.511 405.853 15.0539 0.2006 re
-f*
-1 g
-342.565 405.853 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-345.977 405.853 68.8468 0.2006 re
-f*
-0 g
-253.044 406.054 18.2655 0.2005 re
-f*
-1 g
-271.31 406.054 7.6273 0.2005 re
-f*
-0 g
-278.937 406.054 31.513 0.2005 re
-f*
-1 g
-310.45 406.054 6.4229 0.2005 re
-f*
-0.498 0 0.482 rg
-316.873 406.054 5.2188 0.2005 re
-f*
-1 g
-322.092 406.054 4.6165 0.2005 re
-f*
-0 g
-326.708 406.054 16.459 0.2005 re
-f*
-1 g
-343.167 406.054 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-346.379 406.054 68.4453 0.2005 re
-f*
-0 g
-252.843 406.255 18.4662 0.2005 re
-f*
-1 g
-271.31 406.255 7.6273 0.2005 re
-f*
-0 g
-278.937 406.255 31.3122 0.2005 re
-f*
-1 g
-310.249 406.255 6.6237 0.2005 re
-f*
-0.498 0 0.482 rg
-316.873 406.255 4.8174 0.2005 re
-f*
-1 g
-321.69 406.255 4.6165 0.2005 re
-f*
-0 g
-326.307 406.255 17.4626 0.2005 re
-f*
-1 g
-343.769 406.255 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-346.78 406.255 68.0438 0.2005 re
-f*
-0 g
-252.843 406.455 18.4662 0.2006 re
-f*
-1 g
-271.31 406.455 7.6273 0.2006 re
-f*
-0 g
-278.937 406.455 31.3122 0.2006 re
-f*
-1 g
-310.249 406.455 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-316.873 406.455 4.2152 0.2006 re
-f*
-1 g
-321.088 406.455 4.6165 0.2006 re
-f*
-0 g
-325.704 406.455 18.4662 0.2006 re
-f*
-1 g
-344.171 406.455 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-347.382 406.455 67.6425 0.2006 re
-f*
-0 g
-252.843 406.656 18.4662 0.2006 re
-f*
-1 g
-271.31 406.656 7.6273 0.2006 re
-f*
-0 g
-278.937 406.656 31.3122 0.2006 re
-f*
-1 g
-310.249 406.656 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-316.873 406.656 3.8138 0.2006 re
-f*
-1 g
-320.687 406.656 4.6165 0.2006 re
-f*
-0 g
-325.303 406.656 19.269 0.2006 re
-f*
-1 g
-344.572 406.656 3.2116 0.2006 re
-f*
-0.498 0 0.482 rg
-347.784 406.656 67.241 0.2006 re
-f*
-0 g
-252.643 406.856 18.6669 0.2005 re
-f*
-1 g
-271.31 406.856 7.6273 0.2005 re
-f*
-0 g
-278.937 406.856 31.3122 0.2005 re
-f*
-1 g
-310.249 406.856 6.8245 0.2005 re
-f*
-0.498 0 0.482 rg
-317.074 406.856 3.0108 0.2005 re
-f*
-1 g
-320.084 406.856 4.8172 0.2005 re
-f*
-0 g
-324.902 406.856 20.0719 0.2005 re
-f*
-1 g
-344.973 406.856 3.2116 0.2005 re
-f*
-0.498 0 0.482 rg
-348.185 406.856 67.0402 0.2005 re
-f*
-0 g
-252.643 407.057 18.6669 0.2006 re
-f*
-1 g
-271.31 407.057 7.6273 0.2006 re
-f*
-0 g
-278.937 407.057 31.3122 0.2006 re
-f*
-1 g
-310.249 407.057 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 407.057 2.4086 0.2006 re
-f*
-1 g
-319.482 407.057 4.8173 0.2006 re
-f*
-0 g
-324.299 407.057 21.0755 0.2006 re
-f*
-1 g
-345.375 407.057 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-348.386 407.057 66.8395 0.2006 re
-f*
-0 g
-252.442 407.257 18.8677 0.2005 re
-f*
-1 g
-271.31 407.257 7.6273 0.2005 re
-f*
-0 g
-278.937 407.257 31.1115 0.2005 re
-f*
-1 g
-310.048 407.257 7.0252 0.2005 re
-f*
-0.498 0 0.482 rg
-317.074 407.257 2.0071 0.2005 re
-f*
-1 g
-319.081 407.257 5.0181 0.2005 re
-f*
-0 g
-324.099 407.257 21.4769 0.2005 re
-f*
-1 g
-345.576 407.257 3.2116 0.2005 re
-f*
-0.498 0 0.482 rg
-348.787 407.257 66.438 0.2005 re
-f*
-0 g
-252.442 407.458 18.8677 0.2006 re
-f*
-1 g
-271.31 407.458 7.6273 0.2006 re
-f*
-0 g
-278.937 407.458 31.1115 0.2006 re
-f*
-1 g
-310.048 407.458 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 407.458 1.405 0.2006 re
-f*
-1 g
-318.479 407.458 5.2187 0.2006 re
-f*
-0 g
-323.697 407.458 22.2798 0.2006 re
-f*
-1 g
-345.977 407.458 3.2116 0.2006 re
-f*
-0.498 0 0.482 rg
-349.189 407.458 66.2374 0.2006 re
-f*
-0 g
-252.442 407.658 18.8677 0.2006 re
-f*
-1 g
-271.31 407.658 7.6273 0.2006 re
-f*
-0 g
-278.937 407.658 31.1115 0.2006 re
-f*
-1 g
-310.048 407.658 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-317.074 407.658 1.0035 0.2006 re
-f*
-1 g
-318.077 407.658 5.2188 0.2006 re
-f*
-0 g
-323.296 407.658 22.882 0.2006 re
-f*
-1 g
-346.178 407.658 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-349.389 407.658 66.0367 0.2006 re
-f*
-0 g
-252.241 407.859 19.0684 0.2005 re
-f*
-1 g
-271.31 407.859 7.6273 0.2005 re
-f*
-0 g
-278.937 407.859 31.1115 0.2005 re
-f*
-1 g
-310.048 407.859 7.0252 0.2005 re
-f*
-0.498 0 0.482 rg
-317.074 407.859 0.4014 0.2005 re
-f*
-1 g
-317.475 407.859 5.4194 0.2005 re
-f*
-0 g
-322.894 407.859 23.6849 0.2005 re
-f*
-1 g
-346.579 407.859 3.2116 0.2005 re
-f*
-0.498 0 0.482 rg
-349.791 407.859 65.8359 0.2005 re
-f*
-0 g
-252.241 408.06 19.0684 0.2006 re
-f*
-1 g
-271.31 408.06 7.6273 0.2006 re
-f*
-0 g
-278.937 408.06 31.1115 0.2006 re
-f*
-1 g
-310.048 408.06 12.6454 0.2006 re
-f*
-0 g
-322.694 408.06 24.0863 0.2006 re
-f*
-1 g
-346.78 408.06 3.2114 0.2006 re
-f*
-0.498 0 0.482 rg
-349.991 408.06 65.6353 0.2006 re
-f*
-0 g
-252.241 408.26 19.0684 0.2005 re
-f*
-1 g
-271.31 408.26 7.6273 0.2005 re
-f*
-0 g
-278.937 408.26 31.1115 0.2005 re
-f*
-1 g
-310.048 408.26 12.2439 0.2005 re
-f*
-0 g
-322.292 408.26 24.8892 0.2005 re
-f*
-1 g
-347.181 408.26 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-350.393 408.26 65.2338 0.2005 re
-f*
-0 g
-252.04 408.461 19.2691 0.2006 re
-f*
-1 g
-271.31 408.461 7.6273 0.2006 re
-f*
-0 g
-278.937 408.461 31.1115 0.2006 re
-f*
-1 g
-310.048 408.461 12.0432 0.2006 re
-f*
-0 g
-322.092 408.461 25.2906 0.2006 re
-f*
-1 g
-347.382 408.461 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-350.594 408.461 65.2338 0.2006 re
-f*
-0 g
-252.04 408.661 19.2691 0.2006 re
-f*
-1 g
-271.31 408.661 7.6273 0.2006 re
-f*
-0 g
-278.937 408.661 30.9108 0.2006 re
-f*
-1 g
-309.848 408.661 11.8425 0.2006 re
-f*
-0 g
-321.69 408.661 25.8927 0.2006 re
-f*
-1 g
-347.583 408.661 3.2116 0.2006 re
-f*
-0.498 0 0.482 rg
-350.794 408.661 65.033 0.2006 re
-f*
-0 g
-252.04 408.862 19.2691 0.2005 re
-f*
-1 g
-271.31 408.862 7.6273 0.2005 re
-f*
-0 g
-278.937 408.862 30.9108 0.2005 re
-f*
-1 g
-309.848 408.862 11.6417 0.2005 re
-f*
-0 g
-321.489 408.862 26.2943 0.2005 re
-f*
-1 g
-347.784 408.862 3.4122 0.2005 re
-f*
-0.498 0 0.482 rg
-351.196 408.862 64.6316 0.2005 re
-f*
-0 g
-251.84 409.062 19.4698 0.2006 re
-f*
-1 g
-271.31 409.062 7.6273 0.2006 re
-f*
-0 g
-278.937 409.062 30.9108 0.2006 re
-f*
-1 g
-309.848 409.062 11.2403 0.2006 re
-f*
-0 g
-321.088 409.062 26.8963 0.2006 re
-f*
-1 g
-347.984 409.062 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-351.397 409.062 64.6317 0.2006 re
-f*
-0 g
-251.84 409.263 19.4698 0.2005 re
-f*
-1 g
-271.31 409.263 7.6273 0.2005 re
-f*
-0 g
-278.937 409.263 30.9108 0.2005 re
-f*
-1 g
-309.848 409.263 11.0395 0.2005 re
-f*
-0 g
-320.887 409.263 27.4986 0.2005 re
-f*
-1 g
-348.386 409.263 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-351.597 409.263 64.431 0.2005 re
-f*
-0 g
-251.84 409.463 19.4698 0.2006 re
-f*
-1 g
-271.31 409.463 7.6273 0.2006 re
-f*
-0 g
-278.937 409.463 30.9108 0.2006 re
-f*
-1 g
-309.848 409.463 10.8389 0.2006 re
-f*
-0 g
-320.687 409.463 27.6992 0.2006 re
-f*
-1 g
-348.386 409.463 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-351.999 409.463 64.0296 0.2006 re
-f*
-0 g
-251.639 409.664 19.6705 0.2006 re
-f*
-1 g
-271.31 409.664 7.6273 0.2006 re
-f*
-0 g
-278.937 409.664 30.9108 0.2006 re
-f*
-1 g
-309.848 409.664 10.4374 0.2006 re
-f*
-0 g
-320.285 409.664 28.3014 0.2006 re
-f*
-1 g
-348.586 409.664 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-352.2 409.664 64.0294 0.2006 re
-f*
-0 g
-251.639 409.865 19.6705 0.2005 re
-f*
-1 g
-271.31 409.865 7.6273 0.2005 re
-f*
-0 g
-278.937 409.865 30.9108 0.2005 re
-f*
-1 g
-309.848 409.865 10.2367 0.2005 re
-f*
-0 g
-320.084 409.865 28.7029 0.2005 re
-f*
-1 g
-348.787 409.865 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-352.4 409.865 63.8287 0.2005 re
-f*
-0 g
-251.639 410.065 19.6705 0.2006 re
-f*
-1 g
-271.31 410.065 7.6273 0.2006 re
-f*
-0 g
-278.937 410.065 30.7101 0.2006 re
-f*
-1 g
-309.647 410.065 10.2366 0.2006 re
-f*
-0 g
-319.884 410.065 29.1043 0.2006 re
-f*
-1 g
-348.988 410.065 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-352.601 410.065 63.628 0.2006 re
-f*
-0 g
-251.438 410.266 19.8713 0.2005 re
-f*
-1 g
-271.31 410.266 7.6273 0.2005 re
-f*
-0 g
-278.937 410.266 30.7101 0.2005 re
-f*
-1 g
-309.647 410.266 10.036 0.2005 re
-f*
-0 g
-319.683 410.266 29.5057 0.2005 re
-f*
-1 g
-349.189 410.266 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-352.802 410.266 63.4272 0.2005 re
-f*
-0 g
-251.438 410.466 19.8713 0.2006 re
-f*
-1 g
-271.31 410.466 7.6273 0.2006 re
-f*
-0 g
-278.937 410.466 30.7101 0.2006 re
-f*
-1 g
-309.647 410.466 9.8352 0.2006 re
-f*
-0 g
-319.482 410.466 29.9072 0.2006 re
-f*
-1 g
-349.389 410.466 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-353.002 410.466 63.4274 0.2006 re
-f*
-0 g
-251.438 410.667 19.8713 0.2005 re
-f*
-1 g
-271.31 410.667 7.6273 0.2005 re
-f*
-0 g
-278.937 410.667 30.7101 0.2005 re
-f*
-1 g
-309.647 410.667 9.6345 0.2005 re
-f*
-0 g
-319.281 410.667 30.3086 0.2005 re
-f*
-1 g
-349.59 410.667 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 410.667 63.2266 0.2005 re
-f*
-0 g
-251.438 410.867 19.8713 0.2006 re
-f*
-1 g
-271.31 410.867 7.6273 0.2006 re
-f*
-0 g
-278.937 410.867 30.7101 0.2006 re
-f*
-1 g
-309.647 410.867 9.4337 0.2006 re
-f*
-0 g
-319.081 410.867 30.5094 0.2006 re
-f*
-1 g
-349.59 410.867 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-353.404 410.867 63.0259 0.2006 re
-f*
-0 g
-251.238 411.068 20.072 0.2006 re
-f*
-1 g
-271.31 411.068 7.6273 0.2006 re
-f*
-0 g
-278.937 411.068 30.7101 0.2006 re
-f*
-1 g
-309.647 411.068 9.233 0.2006 re
-f*
-0 g
-318.88 411.068 30.9109 0.2006 re
-f*
-1 g
-349.791 411.068 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-353.605 411.068 62.8252 0.2006 re
-f*
-0 g
-251.238 411.268 20.072 0.2005 re
-f*
-1 g
-271.31 411.268 7.6273 0.2005 re
-f*
-0 g
-278.937 411.268 30.7101 0.2005 re
-f*
-1 g
-309.647 411.268 9.0324 0.2005 re
-f*
-0 g
-318.679 411.268 31.3121 0.2005 re
-f*
-1 g
-349.991 411.268 3.8138 0.2005 re
-f*
-0.498 0 0.482 rg
-353.805 411.268 28.7028 0.2005 re
-f*
-1 g
-382.508 411.268 1.2043 0.2005 re
-f*
-0.498 0 0.482 rg
-383.712 411.268 23.2835 0.2005 re
-f*
-1 g
-406.996 411.268 1.6057 0.2005 re
-f*
-0.498 0 0.482 rg
-408.602 411.268 8.0288 0.2005 re
-f*
-0 g
-251.238 411.469 20.072 0.2006 re
-f*
-1 g
-271.31 411.469 7.6273 0.2006 re
-f*
-0 g
-278.937 411.469 30.7101 0.2006 re
-f*
-1 g
-309.647 411.469 8.8316 0.2006 re
-f*
-0 g
-318.479 411.469 31.5129 0.2006 re
-f*
-1 g
-349.991 411.469 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-354.006 411.469 27.0972 0.2006 re
-f*
-1 g
-381.103 411.469 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-384.917 411.469 20.4734 0.2006 re
-f*
-1 g
-405.39 411.469 4.6166 0.2006 re
-f*
-0.498 0 0.482 rg
-410.007 411.469 6.6237 0.2006 re
-f*
-0 g
-251.238 411.67 20.072 0.2005 re
-f*
-1 g
-271.31 411.67 7.6273 0.2005 re
-f*
-0 g
-278.937 411.67 30.5094 0.2005 re
-f*
-1 g
-309.446 411.67 8.8316 0.2005 re
-f*
-0 g
-318.278 411.67 31.9144 0.2005 re
-f*
-1 g
-350.192 411.67 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-354.207 411.67 26.2942 0.2005 re
-f*
-1 g
-380.501 411.67 4.8173 0.2005 re
-f*
-0.498 0 0.482 rg
-385.318 411.67 19.269 0.2005 re
-f*
-1 g
-404.587 411.67 6.0216 0.2005 re
-f*
-0.498 0 0.482 rg
-410.609 411.67 6.0216 0.2005 re
-f*
-0 g
-251.037 411.87 20.2727 0.2006 re
-f*
-1 g
-271.31 411.87 7.6273 0.2006 re
-f*
-0 g
-278.937 411.87 30.5094 0.2006 re
-f*
-1 g
-309.446 411.87 8.6308 0.2006 re
-f*
-0 g
-318.077 411.87 32.3159 0.2006 re
-f*
-1 g
-350.393 411.87 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-354.407 411.87 6.2223 0.2006 re
-f*
-1 g
-360.63 411.87 9.6345 0.2006 re
-f*
-0.498 0 0.482 rg
-370.264 411.87 9.6346 0.2006 re
-f*
-1 g
-379.899 411.87 5.8208 0.2006 re
-f*
-0.498 0 0.482 rg
-385.72 411.87 2.6093 0.2006 re
-f*
-1 g
-388.329 411.87 0.2008 0.2006 re
-f*
-0.498 0 0.482 rg
-388.53 411.87 6.2223 0.2006 re
-f*
-1 g
-394.752 411.87 0.2007 0.2006 re
-f*
-0.498 0 0.482 rg
-394.953 411.87 9.0324 0.2006 re
-f*
-1 g
-403.985 411.87 7.2259 0.2006 re
-f*
-0.498 0 0.482 rg
-411.211 411.87 5.4194 0.2006 re
-f*
-0 g
-251.037 412.071 20.2727 0.2006 re
-f*
-1 g
-271.31 412.071 7.6273 0.2006 re
-f*
-0 g
-278.937 412.071 30.5094 0.2006 re
-f*
-1 g
-309.446 412.071 8.4301 0.2006 re
-f*
-0 g
-317.876 412.071 32.5166 0.2006 re
-f*
-1 g
-350.393 412.071 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-354.407 412.071 6.2223 0.2006 re
-f*
-1 g
-360.63 412.071 9.6345 0.2006 re
-f*
-0.498 0 0.482 rg
-370.264 412.071 9.2331 0.2006 re
-f*
-1 g
-379.497 412.071 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-382.307 412.071 1.6058 0.2006 re
-f*
-1 g
-383.913 412.071 2.2078 0.2006 re
-f*
-0.498 0 0.482 rg
-386.121 412.071 2.2079 0.2006 re
-f*
-1 g
-388.329 412.071 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-394.953 412.071 8.6309 0.2006 re
-f*
-1 g
-403.584 412.071 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-406.996 412.071 1.8065 0.2006 re
-f*
-1 g
-408.802 412.071 2.6093 0.2006 re
-f*
-0.498 0 0.482 rg
-411.412 412.071 5.4194 0.2006 re
-f*
-0 g
-251.037 412.271 20.2727 0.2005 re
-f*
-1 g
-271.31 412.271 7.6273 0.2005 re
-f*
-0 g
-278.937 412.271 30.5094 0.2005 re
-f*
-1 g
-309.446 412.271 8.2295 0.2005 re
-f*
-0 g
-317.676 412.271 32.9179 0.2005 re
-f*
-1 g
-350.594 412.271 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-354.608 412.271 6.0216 0.2005 re
-f*
-1 g
-360.63 412.271 9.6345 0.2005 re
-f*
-0.498 0 0.482 rg
-370.264 412.271 8.8317 0.2005 re
-f*
-1 g
-379.096 412.271 2.2079 0.2005 re
-f*
-0.498 0 0.482 rg
-381.304 412.271 3.4122 0.2005 re
-f*
-1 g
-384.716 412.271 1.6057 0.2005 re
-f*
-0.498 0 0.482 rg
-386.322 412.271 2.0072 0.2005 re
-f*
-1 g
-388.329 412.271 6.6238 0.2005 re
-f*
-0.498 0 0.482 rg
-394.953 412.271 8.2295 0.2005 re
-f*
-1 g
-403.182 412.271 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-406.193 412.271 3.613 0.2005 re
-f*
-1 g
-409.806 412.271 2.0071 0.2005 re
-f*
-0.498 0 0.482 rg
-411.813 412.271 5.018 0.2005 re
-f*
-0 g
-251.037 412.472 20.2727 0.2006 re
-f*
-1 g
-271.31 412.472 7.6273 0.2006 re
-f*
-0 g
-278.937 412.472 30.5094 0.2006 re
-f*
-1 g
-309.446 412.472 8.0287 0.2006 re
-f*
-0 g
-317.475 412.472 21.0756 0.2006 re
-f*
-1 g
-338.551 412.472 2.81 0.2006 re
-f*
-0 g
-341.361 412.472 9.2331 0.2006 re
-f*
-1 g
-350.594 412.472 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-354.809 412.472 5.8209 0.2006 re
-f*
-1 g
-360.63 412.472 9.6345 0.2006 re
-f*
-0.498 0 0.482 rg
-370.264 412.472 8.4303 0.2006 re
-f*
-1 g
-378.695 412.472 2.2079 0.2006 re
-f*
-0.498 0 0.482 rg
-380.902 412.472 4.4158 0.2006 re
-f*
-1 g
-385.318 412.472 1.405 0.2006 re
-f*
-0.498 0 0.482 rg
-386.723 412.472 1.6057 0.2006 re
-f*
-1 g
-388.329 412.472 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-394.953 412.472 7.8281 0.2006 re
-f*
-1 g
-402.781 412.472 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-405.591 412.472 4.8172 0.2006 re
-f*
-1 g
-410.408 412.472 1.8065 0.2006 re
-f*
-0.498 0 0.482 rg
-412.215 412.472 4.6165 0.2006 re
-f*
-0 g
-250.836 412.672 20.4734 0.2005 re
-f*
-1 g
-271.31 412.672 7.6273 0.2005 re
-f*
-0 g
-278.937 412.672 30.5094 0.2005 re
-f*
-1 g
-309.446 412.672 8.0287 0.2005 re
-f*
-0 g
-317.475 412.672 19.8713 0.2005 re
-f*
-1 g
-337.346 412.672 5.0179 0.2005 re
-f*
-0 g
-342.364 412.672 8.4303 0.2005 re
-f*
-1 g
-350.794 412.672 4.215 0.2005 re
-f*
-0.498 0 0.482 rg
-355.01 412.672 8.631 0.2005 re
-f*
-1 g
-363.641 412.672 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 412.672 11.2403 0.2005 re
-f*
-1 g
-378.494 412.672 2.0072 0.2005 re
-f*
-0.498 0 0.482 rg
-380.501 412.672 5.018 0.2005 re
-f*
-1 g
-385.519 412.672 1.4051 0.2005 re
-f*
-0.498 0 0.482 rg
-386.924 412.672 1.4049 0.2005 re
-f*
-1 g
-388.329 412.672 3.4123 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 412.672 10.6381 0.2005 re
-f*
-1 g
-402.379 412.672 2.8101 0.2005 re
-f*
-0.498 0 0.482 rg
-405.189 412.672 5.6201 0.2005 re
-f*
-1 g
-410.81 412.672 1.6058 0.2005 re
-f*
-0.498 0 0.482 rg
-412.415 412.672 4.4158 0.2005 re
-f*
-0 g
-250.836 412.873 20.4734 0.2006 re
-f*
-1 g
-271.31 412.873 7.6273 0.2006 re
-f*
-0 g
-278.937 412.873 30.5094 0.2006 re
-f*
-1 g
-309.446 412.873 7.828 0.2006 re
-f*
-0 g
-317.274 412.873 19.4698 0.2006 re
-f*
-1 g
-336.744 412.873 6.2223 0.2006 re
-f*
-0 g
-342.966 412.873 8.0287 0.2006 re
-f*
-1 g
-350.995 412.873 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-355.21 412.873 8.4302 0.2006 re
-f*
-1 g
-363.641 412.873 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 412.873 10.8389 0.2006 re
-f*
-1 g
-378.092 412.873 2.2079 0.2006 re
-f*
-0.498 0 0.482 rg
-380.3 412.873 5.6201 0.2006 re
-f*
-1 g
-385.92 412.873 1.2043 0.2006 re
-f*
-0.498 0 0.482 rg
-387.125 412.873 1.2043 0.2006 re
-f*
-1 g
-388.329 412.873 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 412.873 10.4374 0.2006 re
-f*
-1 g
-402.179 412.873 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-404.989 412.873 6.2223 0.2006 re
-f*
-1 g
-411.211 412.873 1.405 0.2006 re
-f*
-0.498 0 0.482 rg
-412.616 412.873 4.4159 0.2006 re
-f*
-0 g
-250.836 413.073 20.4734 0.2006 re
-f*
-1 g
-271.31 413.073 7.6273 0.2006 re
-f*
-0 g
-278.937 413.073 13.0467 0.2006 re
-f*
-1 g
-291.984 413.073 10.036 0.2006 re
-f*
-0 g
-302.02 413.073 7.4267 0.2006 re
-f*
-1 g
-309.446 413.073 7.6273 0.2006 re
-f*
-0 g
-317.074 413.073 19.0683 0.2006 re
-f*
-1 g
-336.142 413.073 7.2259 0.2006 re
-f*
-0 g
-343.368 413.073 7.6273 0.2006 re
-f*
-1 g
-350.995 413.073 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-355.21 413.073 8.4302 0.2006 re
-f*
-1 g
-363.641 413.073 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 413.073 10.6382 0.2006 re
-f*
-1 g
-377.892 413.073 2.2079 0.2006 re
-f*
-0.498 0 0.482 rg
-380.099 413.073 6.0215 0.2006 re
-f*
-1 g
-386.121 413.073 1.2043 0.2006 re
-f*
-0.498 0 0.482 rg
-387.325 413.073 1.0036 0.2006 re
-f*
-1 g
-388.329 413.073 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 413.073 10.036 0.2006 re
-f*
-1 g
-401.777 413.073 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-404.788 413.073 6.8244 0.2006 re
-f*
-1 g
-411.612 413.073 1.2043 0.2006 re
-f*
-0.498 0 0.482 rg
-412.817 413.073 4.2152 0.2006 re
-f*
-0 g
-250.836 413.274 20.4734 0.2005 re
-f*
-1 g
-271.31 413.274 7.6273 0.2005 re
-f*
-0 g
-278.937 413.274 13.0467 0.2005 re
-f*
-1 g
-291.984 413.274 10.036 0.2005 re
-f*
-0 g
-302.02 413.274 7.4267 0.2005 re
-f*
-1 g
-309.446 413.274 7.4265 0.2005 re
-f*
-0 g
-316.873 413.274 18.667 0.2005 re
-f*
-1 g
-335.54 413.274 3.2115 0.2005 re
-f*
-0 g
-338.751 413.274 2.8101 0.2005 re
-f*
-1 g
-341.561 413.274 2.2079 0.2005 re
-f*
-0 g
-343.769 413.274 7.4266 0.2005 re
-f*
-1 g
-351.196 413.274 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-355.411 413.274 8.2295 0.2005 re
-f*
-1 g
-363.641 413.274 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 413.274 10.4375 0.2005 re
-f*
-1 g
-377.691 413.274 2.2079 0.2005 re
-f*
-0.498 0 0.482 rg
-379.899 413.274 6.4229 0.2005 re
-f*
-1 g
-386.322 413.274 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-387.325 413.274 1.0036 0.2005 re
-f*
-1 g
-388.329 413.274 3.4123 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 413.274 9.8352 0.2005 re
-f*
-1 g
-401.576 413.274 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-404.587 413.274 7.2259 0.2005 re
-f*
-1 g
-411.813 413.274 1.2044 0.2005 re
-f*
-0.498 0 0.482 rg
-413.017 413.274 4.0144 0.2005 re
-f*
-0 g
-250.836 413.475 20.4734 0.2006 re
-f*
-1 g
-271.31 413.475 7.6273 0.2006 re
-f*
-0 g
-278.937 413.475 13.0467 0.2006 re
-f*
-1 g
-291.984 413.475 10.036 0.2006 re
-f*
-0 g
-302.02 413.475 7.4267 0.2006 re
-f*
-1 g
-309.446 413.475 7.4265 0.2006 re
-f*
-0 g
-316.873 413.475 18.2655 0.2006 re
-f*
-1 g
-335.138 413.475 3.0108 0.2006 re
-f*
-0 g
-338.149 413.475 4.2151 0.2006 re
-f*
-1 g
-342.364 413.475 1.8065 0.2006 re
-f*
-0 g
-344.171 413.475 7.0252 0.2006 re
-f*
-1 g
-351.196 413.475 4.4158 0.2006 re
-f*
-0.498 0 0.482 rg
-355.612 413.475 8.0288 0.2006 re
-f*
-1 g
-363.641 413.475 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 413.475 10.2367 0.2006 re
-f*
-1 g
-377.49 413.475 2.208 0.2006 re
-f*
-0.498 0 0.482 rg
-379.698 413.475 6.8244 0.2006 re
-f*
-1 g
-386.522 413.475 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-387.526 413.475 0.8028 0.2006 re
-f*
-1 g
-388.329 413.475 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 413.475 9.6345 0.2006 re
-f*
-1 g
-401.376 413.475 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-404.386 413.475 7.6274 0.2006 re
-f*
-1 g
-412.014 413.475 1.2042 0.2006 re
-f*
-0.498 0 0.482 rg
-413.218 413.475 3.8138 0.2006 re
-f*
-0 g
-250.836 413.675 20.4734 0.2005 re
-f*
-1 g
-271.31 413.675 7.6273 0.2005 re
-f*
-0 g
-278.937 413.675 13.0467 0.2005 re
-f*
-1 g
-291.984 413.675 10.036 0.2005 re
-f*
-0 g
-302.02 413.675 7.4267 0.2005 re
-f*
-1 g
-309.446 413.675 7.2258 0.2005 re
-f*
-0 g
-316.672 413.675 18.2655 0.2005 re
-f*
-1 g
-334.938 413.675 2.8101 0.2005 re
-f*
-0 g
-337.748 413.675 5.018 0.2005 re
-f*
-1 g
-342.766 413.675 1.6057 0.2005 re
-f*
-0 g
-344.371 413.675 6.8245 0.2005 re
-f*
-1 g
-351.196 413.675 4.6165 0.2005 re
-f*
-0.498 0 0.482 rg
-355.812 413.675 7.8281 0.2005 re
-f*
-1 g
-363.641 413.675 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 413.675 10.036 0.2005 re
-f*
-1 g
-377.289 413.675 2.2079 0.2005 re
-f*
-0.498 0 0.482 rg
-379.497 413.675 7.2259 0.2005 re
-f*
-1 g
-386.723 413.675 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-387.727 413.675 0.6021 0.2005 re
-f*
-1 g
-388.329 413.675 3.4123 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 413.675 9.4338 0.2005 re
-f*
-1 g
-401.175 413.675 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-404.186 413.675 8.0288 0.2005 re
-f*
-1 g
-412.215 413.675 1.2043 0.2005 re
-f*
-0.498 0 0.482 rg
-413.419 413.675 3.613 0.2005 re
-f*
-0 g
-250.635 413.876 20.6741 0.2006 re
-f*
-1 g
-271.31 413.876 7.6273 0.2006 re
-f*
-0 g
-278.937 413.876 16.0575 0.2006 re
-f*
-1 g
-294.994 413.876 3.613 0.2006 re
-f*
-0 g
-298.607 413.876 10.8389 0.2006 re
-f*
-1 g
-309.446 413.876 7.0251 0.2006 re
-f*
-0 g
-316.471 413.876 18.0648 0.2006 re
-f*
-1 g
-334.536 413.876 2.8101 0.2006 re
-f*
-0 g
-337.346 413.876 5.8208 0.2006 re
-f*
-1 g
-343.167 413.876 1.6058 0.2006 re
-f*
-0 g
-344.773 413.876 6.6237 0.2006 re
-f*
-1 g
-351.397 413.876 4.4158 0.2006 re
-f*
-0.498 0 0.482 rg
-355.812 413.876 7.8281 0.2006 re
-f*
-1 g
-363.641 413.876 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 413.876 9.8353 0.2006 re
-f*
-1 g
-377.089 413.876 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-379.497 413.876 7.4267 0.2006 re
-f*
-1 g
-386.924 413.876 0.8028 0.2006 re
-f*
-0.498 0 0.482 rg
-387.727 413.876 0.6021 0.2006 re
-f*
-1 g
-388.329 413.876 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 413.876 9.2331 0.2006 re
-f*
-1 g
-400.974 413.876 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-403.985 413.876 8.4302 0.2006 re
-f*
-1 g
-412.415 413.876 1.2043 0.2006 re
-f*
-0.498 0 0.482 rg
-413.62 413.876 3.4123 0.2006 re
-f*
-0 g
-250.635 414.076 20.6741 0.2006 re
-f*
-1 g
-271.31 414.076 7.6273 0.2006 re
-f*
-0 g
-278.937 414.076 16.0575 0.2006 re
-f*
-1 g
-294.994 414.076 3.613 0.2006 re
-f*
-0 g
-298.607 414.076 10.6381 0.2006 re
-f*
-1 g
-309.245 414.076 7.2259 0.2006 re
-f*
-0 g
-316.471 414.076 17.6633 0.2006 re
-f*
-1 g
-334.135 414.076 3.0108 0.2006 re
-f*
-0 g
-337.146 414.076 6.423 0.2006 re
-f*
-1 g
-343.568 414.076 1.405 0.2006 re
-f*
-0 g
-344.973 414.076 6.4231 0.2006 re
-f*
-1 g
-351.397 414.076 4.6165 0.2006 re
-f*
-0.498 0 0.482 rg
-356.013 414.076 7.6274 0.2006 re
-f*
-1 g
-363.641 414.076 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 414.076 9.6346 0.2006 re
-f*
-1 g
-376.888 414.076 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-379.297 414.076 7.6274 0.2006 re
-f*
-1 g
-386.924 414.076 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-387.928 414.076 0.4013 0.2006 re
-f*
-1 g
-388.329 414.076 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 414.076 9.0324 0.2006 re
-f*
-1 g
-400.774 414.076 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-403.784 414.076 8.8316 0.2006 re
-f*
-1 g
-412.616 414.076 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-413.62 414.076 3.6129 0.2006 re
-f*
-0 g
-250.635 414.277 20.6741 0.2005 re
-f*
-1 g
-271.31 414.277 7.6273 0.2005 re
-f*
-0 g
-278.937 414.277 16.0575 0.2005 re
-f*
-1 g
-294.994 414.277 3.613 0.2005 re
-f*
-0 g
-298.607 414.277 10.6381 0.2005 re
-f*
-1 g
-309.245 414.277 7.0252 0.2005 re
-f*
-0 g
-316.271 414.277 17.6633 0.2005 re
-f*
-1 g
-333.934 414.277 3.0108 0.2005 re
-f*
-0 g
-336.945 414.277 6.8245 0.2005 re
-f*
-1 g
-343.769 414.277 1.405 0.2005 re
-f*
-0 g
-345.174 414.277 6.423 0.2005 re
-f*
-1 g
-351.597 414.277 4.6165 0.2005 re
-f*
-0.498 0 0.482 rg
-356.214 414.277 7.4267 0.2005 re
-f*
-1 g
-363.641 414.277 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 414.277 9.4339 0.2005 re
-f*
-1 g
-376.687 414.277 2.6093 0.2005 re
-f*
-0.498 0 0.482 rg
-379.297 414.277 7.828 0.2005 re
-f*
-1 g
-387.125 414.277 0.803 0.2005 re
-f*
-0.498 0 0.482 rg
-387.928 414.277 0.4013 0.2005 re
-f*
-1 g
-388.329 414.277 3.4123 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 414.277 8.8316 0.2005 re
-f*
-1 g
-400.573 414.277 3.2116 0.2005 re
-f*
-0.498 0 0.482 rg
-403.784 414.277 9.0323 0.2005 re
-f*
-1 g
-412.817 414.277 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-413.82 414.277 3.4122 0.2005 re
-f*
-0 g
-250.635 414.477 20.6741 0.2005 re
-f*
-1 g
-271.31 414.477 7.6273 0.2005 re
-f*
-0 g
-278.937 414.477 16.0575 0.2005 re
-f*
-1 g
-294.994 414.477 3.613 0.2005 re
-f*
-0 g
-298.607 414.477 10.6381 0.2005 re
-f*
-1 g
-309.245 414.477 6.8245 0.2005 re
-f*
-0 g
-316.07 414.477 17.6633 0.2005 re
-f*
-1 g
-333.733 414.477 3.0108 0.2005 re
-f*
-0 g
-336.744 414.477 7.4266 0.2005 re
-f*
-1 g
-344.171 414.477 1.2043 0.2005 re
-f*
-0 g
-345.375 414.477 6.2223 0.2005 re
-f*
-1 g
-351.597 414.477 4.6165 0.2005 re
-f*
-0.498 0 0.482 rg
-356.214 414.477 7.4267 0.2005 re
-f*
-1 g
-363.641 414.477 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 414.477 9.2331 0.2005 re
-f*
-1 g
-376.486 414.477 2.6094 0.2005 re
-f*
-0.498 0 0.482 rg
-379.096 414.477 8.0287 0.2005 re
-f*
-1 g
-387.125 414.477 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-388.128 414.477 0.2007 0.2005 re
-f*
-1 g
-388.329 414.477 3.4123 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 414.477 8.6309 0.2005 re
-f*
-1 g
-400.372 414.477 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-403.584 414.477 9.4339 0.2005 re
-f*
-1 g
-413.017 414.477 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-414.021 414.477 3.2114 0.2005 re
-f*
-0 g
-250.635 414.678 20.6741 0.2006 re
-f*
-1 g
-271.31 414.678 7.6273 0.2006 re
-f*
-0 g
-278.937 414.678 16.0575 0.2006 re
-f*
-1 g
-294.994 414.678 3.613 0.2006 re
-f*
-0 g
-298.607 414.678 10.6381 0.2006 re
-f*
-1 g
-309.245 414.678 6.8245 0.2006 re
-f*
-0 g
-316.07 414.678 17.4626 0.2006 re
-f*
-1 g
-333.533 414.678 3.0108 0.2006 re
-f*
-0 g
-336.543 414.678 7.828 0.2006 re
-f*
-1 g
-344.371 414.678 1.0036 0.2006 re
-f*
-0 g
-345.375 414.678 6.2223 0.2006 re
-f*
-1 g
-351.597 414.678 4.8173 0.2006 re
-f*
-0.498 0 0.482 rg
-356.415 414.678 7.2259 0.2006 re
-f*
-1 g
-363.641 414.678 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 414.678 9.0324 0.2006 re
-f*
-1 g
-376.286 414.678 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-379.096 414.678 8.2294 0.2006 re
-f*
-1 g
-387.325 414.678 0.8029 0.2006 re
-f*
-0.498 0 0.482 rg
-388.128 414.678 0.2007 0.2006 re
-f*
-1 g
-388.329 414.678 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 414.678 8.4302 0.2006 re
-f*
-1 g
-400.171 414.678 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-403.584 414.678 9.4339 0.2006 re
-f*
-1 g
-413.017 414.678 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-414.021 414.678 3.2114 0.2006 re
-f*
-0 g
-250.635 414.878 20.6741 0.2006 re
-f*
-1 g
-271.31 414.878 7.6273 0.2006 re
-f*
-0 g
-278.937 414.878 16.0575 0.2006 re
-f*
-1 g
-294.994 414.878 3.613 0.2006 re
-f*
-0 g
-298.607 414.878 10.6381 0.2006 re
-f*
-1 g
-309.245 414.878 6.6237 0.2006 re
-f*
-0 g
-315.869 414.878 17.4626 0.2006 re
-f*
-1 g
-333.332 414.878 3.0109 0.2006 re
-f*
-0 g
-336.343 414.878 8.2294 0.2006 re
-f*
-1 g
-344.572 414.878 1.0036 0.2006 re
-f*
-0 g
-345.576 414.878 6.2224 0.2006 re
-f*
-1 g
-351.798 414.878 4.6165 0.2006 re
-f*
-0.498 0 0.482 rg
-356.415 414.878 7.2259 0.2006 re
-f*
-1 g
-363.641 414.878 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 414.878 8.8317 0.2006 re
-f*
-1 g
-376.085 414.878 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-379.096 414.878 8.2294 0.2006 re
-f*
-1 g
-387.325 414.878 4.4159 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 414.878 8.4302 0.2006 re
-f*
-1 g
-400.171 414.878 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-403.383 414.878 9.8352 0.2006 re
-f*
-1 g
-413.218 414.878 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-414.222 414.878 3.0108 0.2006 re
-f*
-0 g
-250.435 415.079 20.8749 0.2006 re
-f*
-1 g
-271.31 415.079 7.6273 0.2006 re
-f*
-0 g
-278.937 415.079 16.0575 0.2006 re
-f*
-1 g
-294.994 415.079 3.613 0.2006 re
-f*
-0 g
-298.607 415.079 10.6381 0.2006 re
-f*
-1 g
-309.245 415.079 6.4231 0.2006 re
-f*
-0 g
-315.669 415.079 17.4625 0.2006 re
-f*
-1 g
-333.131 415.079 3.0108 0.2006 re
-f*
-0 g
-336.142 415.079 8.631 0.2006 re
-f*
-1 g
-344.773 415.079 0.8028 0.2006 re
-f*
-0 g
-345.576 415.079 6.2224 0.2006 re
-f*
-1 g
-351.798 415.079 4.8172 0.2006 re
-f*
-0.498 0 0.482 rg
-356.615 415.079 7.0252 0.2006 re
-f*
-1 g
-363.641 415.079 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 415.079 8.8317 0.2006 re
-f*
-1 g
-376.085 415.079 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-378.895 415.079 8.6309 0.2006 re
-f*
-1 g
-387.526 415.079 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 415.079 8.2295 0.2006 re
-f*
-1 g
-399.971 415.079 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-403.383 415.079 9.8352 0.2006 re
-f*
-1 g
-413.218 415.079 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-414.222 415.079 3.0108 0.2006 re
-f*
-0 g
-250.435 415.28 20.8749 0.2005 re
-f*
-1 g
-271.31 415.28 7.6273 0.2005 re
-f*
-0 g
-278.937 415.28 16.0575 0.2005 re
-f*
-1 g
-294.994 415.28 3.613 0.2005 re
-f*
-0 g
-298.607 415.28 10.6381 0.2005 re
-f*
-1 g
-309.245 415.28 6.4231 0.2005 re
-f*
-0 g
-315.669 415.28 17.2618 0.2005 re
-f*
-1 g
-332.93 415.28 3.0108 0.2005 re
-f*
-0 g
-335.941 415.28 15.8569 0.2005 re
-f*
-1 g
-351.798 415.28 5.0179 0.2005 re
-f*
-0.498 0 0.482 rg
-356.816 415.28 6.8245 0.2005 re
-f*
-1 g
-363.641 415.28 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 415.28 8.631 0.2005 re
-f*
-1 g
-375.884 415.28 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-378.895 415.28 8.6309 0.2005 re
-f*
-1 g
-387.526 415.28 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 415.28 8.0288 0.2005 re
-f*
-1 g
-399.77 415.28 3.4122 0.2005 re
-f*
-0.498 0 0.482 rg
-403.182 415.28 10.2367 0.2005 re
-f*
-1 g
-413.419 415.28 0.8028 0.2005 re
-f*
-0.498 0 0.482 rg
-414.222 415.28 3.2116 0.2005 re
-f*
-0 g
-250.435 415.48 20.8749 0.2006 re
-f*
-1 g
-271.31 415.48 7.6273 0.2006 re
-f*
-0 g
-278.937 415.48 16.0575 0.2006 re
-f*
-1 g
-294.994 415.48 3.613 0.2006 re
-f*
-0 g
-298.607 415.48 10.6381 0.2006 re
-f*
-1 g
-309.245 415.48 6.2223 0.2006 re
-f*
-0 g
-315.468 415.48 17.2619 0.2006 re
-f*
-1 g
-332.73 415.48 3.2115 0.2006 re
-f*
-0 g
-335.941 415.48 16.0575 0.2006 re
-f*
-1 g
-351.999 415.48 4.8173 0.2006 re
-f*
-0.498 0 0.482 rg
-356.816 415.48 6.8245 0.2006 re
-f*
-1 g
-363.641 415.48 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 415.48 8.4303 0.2006 re
-f*
-1 g
-375.684 415.48 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-378.895 415.48 8.8316 0.2006 re
-f*
-1 g
-387.727 415.48 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 415.48 8.0288 0.2006 re
-f*
-1 g
-399.77 415.48 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-403.182 415.48 10.2367 0.2006 re
-f*
-1 g
-413.419 415.48 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-414.422 415.48 3.0108 0.2006 re
-f*
-0 g
-250.435 415.681 20.8749 0.2005 re
-f*
-1 g
-271.31 415.681 7.6273 0.2005 re
-f*
-0 g
-278.937 415.681 16.0575 0.2005 re
-f*
-1 g
-294.994 415.681 3.613 0.2005 re
-f*
-0 g
-298.607 415.681 10.6381 0.2005 re
-f*
-1 g
-309.245 415.681 6.2223 0.2005 re
-f*
-0 g
-315.468 415.681 17.0612 0.2005 re
-f*
-1 g
-332.529 415.681 3.2115 0.2005 re
-f*
-0 g
-335.74 415.681 16.2582 0.2005 re
-f*
-1 g
-351.999 415.681 5.018 0.2005 re
-f*
-0.498 0 0.482 rg
-357.017 415.681 6.6238 0.2005 re
-f*
-1 g
-363.641 415.681 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 415.681 8.4303 0.2005 re
-f*
-1 g
-375.684 415.681 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-378.895 415.681 8.8316 0.2005 re
-f*
-1 g
-387.727 415.681 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 415.681 7.828 0.2005 re
-f*
-1 g
-399.569 415.681 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-403.182 415.681 10.4374 0.2005 re
-f*
-1 g
-413.62 415.681 0.8029 0.2005 re
-f*
-0.498 0 0.482 rg
-414.422 415.681 3.0108 0.2005 re
-f*
-0 g
-250.435 415.881 20.8749 0.2006 re
-f*
-1 g
-271.31 415.881 7.6273 0.2006 re
-f*
-0 g
-278.937 415.881 16.0575 0.2006 re
-f*
-1 g
-294.994 415.881 3.613 0.2006 re
-f*
-0 g
-298.607 415.881 10.6381 0.2006 re
-f*
-1 g
-309.245 415.881 6.2223 0.2006 re
-f*
-0 g
-315.468 415.881 16.8604 0.2006 re
-f*
-1 g
-332.328 415.881 3.4123 0.2006 re
-f*
-0 g
-335.74 415.881 16.2582 0.2006 re
-f*
-1 g
-351.999 415.881 5.018 0.2006 re
-f*
-0.498 0 0.482 rg
-357.017 415.881 6.6238 0.2006 re
-f*
-1 g
-363.641 415.881 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 415.881 8.2295 0.2006 re
-f*
-1 g
-375.483 415.881 3.2116 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 415.881 9.0323 0.2006 re
-f*
-1 g
-387.727 415.881 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 415.881 7.828 0.2006 re
-f*
-1 g
-399.569 415.881 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-403.182 415.881 10.4374 0.2006 re
-f*
-1 g
-413.62 415.881 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-414.623 415.881 2.8101 0.2006 re
-f*
-0 g
-250.435 416.082 20.8749 0.2006 re
-f*
-1 g
-271.31 416.082 7.6273 0.2006 re
-f*
-0 g
-278.937 416.082 16.0575 0.2006 re
-f*
-1 g
-294.994 416.082 3.613 0.2006 re
-f*
-0 g
-298.607 416.082 10.6381 0.2006 re
-f*
-1 g
-309.245 416.082 6.2223 0.2006 re
-f*
-0 g
-315.468 416.082 16.8604 0.2006 re
-f*
-1 g
-332.328 416.082 3.2116 0.2006 re
-f*
-0 g
-335.54 416.082 16.4589 0.2006 re
-f*
-1 g
-351.999 416.082 5.2187 0.2006 re
-f*
-0.498 0 0.482 rg
-357.217 416.082 6.4231 0.2006 re
-f*
-1 g
-363.641 416.082 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 416.082 8.2295 0.2006 re
-f*
-1 g
-375.483 416.082 3.2116 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 416.082 9.0323 0.2006 re
-f*
-1 g
-387.727 416.082 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 416.082 7.6273 0.2006 re
-f*
-1 g
-399.368 416.082 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-402.981 416.082 10.6381 0.2006 re
-f*
-1 g
-413.62 416.082 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-414.623 416.082 2.8101 0.2006 re
-f*
-0 g
-250.435 416.282 20.8749 0.2005 re
-f*
-1 g
-271.31 416.282 7.6273 0.2005 re
-f*
-0 g
-278.937 416.282 16.0575 0.2005 re
-f*
-1 g
-294.994 416.282 3.613 0.2005 re
-f*
-0 g
-298.607 416.282 10.6381 0.2005 re
-f*
-1 g
-309.245 416.282 6.0216 0.2005 re
-f*
-0 g
-315.267 416.282 16.8604 0.2005 re
-f*
-1 g
-332.127 416.282 3.4123 0.2005 re
-f*
-0 g
-335.54 416.282 16.6597 0.2005 re
-f*
-1 g
-352.2 416.282 5.0179 0.2005 re
-f*
-0.498 0 0.482 rg
-357.217 416.282 6.4231 0.2005 re
-f*
-1 g
-363.641 416.282 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 416.282 8.0288 0.2005 re
-f*
-1 g
-375.282 416.282 3.4123 0.2005 re
-f*
-0.498 0 0.482 rg
-378.695 416.282 9.2331 0.2005 re
-f*
-1 g
-387.928 416.282 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 416.282 7.6273 0.2005 re
-f*
-1 g
-399.368 416.282 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-402.981 416.282 10.8388 0.2005 re
-f*
-1 g
-413.82 416.282 0.8029 0.2005 re
-f*
-0.498 0 0.482 rg
-414.623 416.282 2.8101 0.2005 re
-f*
-0 g
-250.435 416.483 20.8749 0.2005 re
-f*
-1 g
-271.31 416.483 7.6273 0.2005 re
-f*
-0 g
-278.937 416.483 16.0575 0.2005 re
-f*
-1 g
-294.994 416.483 3.613 0.2005 re
-f*
-0 g
-298.607 416.483 10.6381 0.2005 re
-f*
-1 g
-309.245 416.483 6.0216 0.2005 re
-f*
-0 g
-315.267 416.483 16.6597 0.2005 re
-f*
-1 g
-331.927 416.483 3.613 0.2005 re
-f*
-0 g
-335.54 416.483 16.6597 0.2005 re
-f*
-1 g
-352.2 416.483 5.2187 0.2005 re
-f*
-0.498 0 0.482 rg
-357.418 416.483 6.2223 0.2005 re
-f*
-1 g
-363.641 416.483 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 416.483 8.0288 0.2005 re
-f*
-1 g
-375.282 416.483 3.4123 0.2005 re
-f*
-0.498 0 0.482 rg
-378.695 416.483 9.2331 0.2005 re
-f*
-1 g
-387.928 416.483 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 416.483 7.4266 0.2005 re
-f*
-1 g
-399.168 416.483 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-402.981 416.483 10.8388 0.2005 re
-f*
-1 g
-413.82 416.483 0.2008 0.2005 re
-f*
-0.498 0 0.482 rg
-414.021 416.483 3.4122 0.2005 re
-f*
-0 g
-250.435 416.683 20.8749 0.2006 re
-f*
-1 g
-271.31 416.683 7.6273 0.2006 re
-f*
-0 g
-278.937 416.683 16.0575 0.2006 re
-f*
-1 g
-294.994 416.683 3.613 0.2006 re
-f*
-0 g
-298.607 416.683 10.6381 0.2006 re
-f*
-1 g
-309.245 416.683 6.0216 0.2006 re
-f*
-0 g
-315.267 416.683 16.6597 0.2006 re
-f*
-1 g
-331.927 416.683 3.4123 0.2006 re
-f*
-0 g
-335.339 416.683 16.8604 0.2006 re
-f*
-1 g
-352.2 416.683 5.2187 0.2006 re
-f*
-0.498 0 0.482 rg
-357.418 416.683 6.2223 0.2006 re
-f*
-1 g
-363.641 416.683 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 416.683 7.8281 0.2006 re
-f*
-1 g
-375.081 416.683 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 416.683 9.2331 0.2006 re
-f*
-1 g
-387.928 416.683 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 416.683 7.4266 0.2006 re
-f*
-1 g
-399.168 416.683 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-402.981 416.683 14.4518 0.2006 re
-f*
-0 g
-250.234 416.884 21.0756 0.2006 re
-f*
-1 g
-271.31 416.884 7.6273 0.2006 re
-f*
-0 g
-278.937 416.884 16.0575 0.2006 re
-f*
-1 g
-294.994 416.884 3.613 0.2006 re
-f*
-0 g
-298.607 416.884 10.6381 0.2006 re
-f*
-1 g
-309.245 416.884 6.0216 0.2006 re
-f*
-0 g
-315.267 416.884 16.459 0.2006 re
-f*
-1 g
-331.726 416.884 3.613 0.2006 re
-f*
-0 g
-335.339 416.884 16.8604 0.2006 re
-f*
-1 g
-352.2 416.884 5.4194 0.2006 re
-f*
-0.498 0 0.482 rg
-357.619 416.884 6.0216 0.2006 re
-f*
-1 g
-363.641 416.884 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 416.884 7.8281 0.2006 re
-f*
-1 g
-375.081 416.884 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 416.884 9.2331 0.2006 re
-f*
-1 g
-387.928 416.884 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 416.884 7.4266 0.2006 re
-f*
-1 g
-399.168 416.884 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-402.981 416.884 14.4518 0.2006 re
-f*
-0 g
-250.234 417.085 14.2511 0.2005 re
-f*
-1 g
-264.485 417.085 25.8928 0.2005 re
-f*
-0 g
-290.378 417.085 4.6165 0.2005 re
-f*
-1 g
-294.994 417.085 3.613 0.2005 re
-f*
-0 g
-298.607 417.085 10.6381 0.2005 re
-f*
-1 g
-309.245 417.085 5.8209 0.2005 re
-f*
-0 g
-315.066 417.085 16.6597 0.2005 re
-f*
-1 g
-331.726 417.085 3.613 0.2005 re
-f*
-0 g
-335.339 417.085 17.0611 0.2005 re
-f*
-1 g
-352.4 417.085 5.2187 0.2005 re
-f*
-0.498 0 0.482 rg
-357.619 417.085 6.0216 0.2005 re
-f*
-1 g
-363.641 417.085 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 417.085 7.6274 0.2005 re
-f*
-1 g
-374.881 417.085 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 417.085 9.4339 0.2005 re
-f*
-1 g
-387.928 417.085 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 417.085 7.2259 0.2005 re
-f*
-1 g
-398.967 417.085 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 417.085 14.6525 0.2005 re
-f*
-0 g
-250.234 417.285 14.2511 0.2005 re
-f*
-1 g
-264.485 417.285 25.8928 0.2005 re
-f*
-0 g
-290.378 417.285 4.6165 0.2005 re
-f*
-1 g
-294.994 417.285 3.613 0.2005 re
-f*
-0 g
-298.607 417.285 10.6381 0.2005 re
-f*
-1 g
-309.245 417.285 5.8209 0.2005 re
-f*
-0 g
-315.066 417.285 16.459 0.2005 re
-f*
-1 g
-331.525 417.285 3.6129 0.2005 re
-f*
-0 g
-335.138 417.285 17.2619 0.2005 re
-f*
-1 g
-352.4 417.285 5.4194 0.2005 re
-f*
-0.498 0 0.482 rg
-357.82 417.285 5.8209 0.2005 re
-f*
-1 g
-363.641 417.285 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 417.285 7.6274 0.2005 re
-f*
-1 g
-374.881 417.285 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 417.285 9.6345 0.2005 re
-f*
-1 g
-388.128 417.285 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 417.285 7.2259 0.2005 re
-f*
-1 g
-398.967 417.285 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 417.285 14.8532 0.2005 re
-f*
-0 g
-250.234 417.486 14.2511 0.2006 re
-f*
-1 g
-264.485 417.486 25.8928 0.2006 re
-f*
-0 g
-290.378 417.486 4.6165 0.2006 re
-f*
-1 g
-294.994 417.486 3.613 0.2006 re
-f*
-0 g
-298.607 417.486 10.6381 0.2006 re
-f*
-1 g
-309.245 417.486 5.8209 0.2006 re
-f*
-0 g
-315.066 417.486 16.459 0.2006 re
-f*
-1 g
-331.525 417.486 3.6129 0.2006 re
-f*
-0 g
-335.138 417.486 17.2619 0.2006 re
-f*
-1 g
-352.4 417.486 5.4194 0.2006 re
-f*
-0.498 0 0.482 rg
-357.82 417.486 5.8209 0.2006 re
-f*
-1 g
-363.641 417.486 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 417.486 7.6274 0.2006 re
-f*
-1 g
-374.881 417.486 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 417.486 9.6345 0.2006 re
-f*
-1 g
-388.128 417.486 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 417.486 7.2259 0.2006 re
-f*
-1 g
-398.967 417.486 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 417.486 14.8532 0.2006 re
-f*
-0 g
-250.234 417.686 14.2511 0.2006 re
-f*
-1 g
-264.485 417.686 25.8928 0.2006 re
-f*
-0 g
-290.378 417.686 4.6165 0.2006 re
-f*
-1 g
-294.994 417.686 3.613 0.2006 re
-f*
-0 g
-298.607 417.686 10.6381 0.2006 re
-f*
-1 g
-309.245 417.686 5.8209 0.2006 re
-f*
-0 g
-315.066 417.686 16.2582 0.2006 re
-f*
-1 g
-331.325 417.686 3.8137 0.2006 re
-f*
-0 g
-335.138 417.686 17.2619 0.2006 re
-f*
-1 g
-352.4 417.686 5.6201 0.2006 re
-f*
-0.498 0 0.482 rg
-358.02 417.686 5.6202 0.2006 re
-f*
-1 g
-363.641 417.686 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 417.686 7.4267 0.2006 re
-f*
-1 g
-374.68 417.686 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 417.686 9.6345 0.2006 re
-f*
-1 g
-388.128 417.686 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 417.686 7.0252 0.2006 re
-f*
-1 g
-398.766 417.686 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 417.686 14.8532 0.2006 re
-f*
-0 g
-250.234 417.887 14.2511 0.2006 re
-f*
-1 g
-264.485 417.887 25.8928 0.2006 re
-f*
-0 g
-290.378 417.887 4.6165 0.2006 re
-f*
-1 g
-294.994 417.887 3.613 0.2006 re
-f*
-0 g
-298.607 417.887 10.6381 0.2006 re
-f*
-1 g
-309.245 417.887 5.6201 0.2006 re
-f*
-0 g
-314.866 417.887 16.459 0.2006 re
-f*
-1 g
-331.325 417.887 3.8137 0.2006 re
-f*
-0 g
-335.138 417.887 17.2619 0.2006 re
-f*
-1 g
-352.4 417.887 5.6201 0.2006 re
-f*
-0.498 0 0.482 rg
-358.02 417.887 5.6202 0.2006 re
-f*
-1 g
-363.641 417.887 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 417.887 7.4267 0.2006 re
-f*
-1 g
-374.68 417.887 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 417.887 9.6345 0.2006 re
-f*
-1 g
-388.128 417.887 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 417.887 7.0252 0.2006 re
-f*
-1 g
-398.766 417.887 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 417.887 14.8532 0.2006 re
-f*
-0 g
-250.234 418.087 14.2511 0.2006 re
-f*
-1 g
-264.485 418.087 25.8928 0.2006 re
-f*
-0 g
-290.378 418.087 4.6165 0.2006 re
-f*
-1 g
-294.994 418.087 3.613 0.2006 re
-f*
-0 g
-298.607 418.087 10.6381 0.2006 re
-f*
-1 g
-309.245 418.087 5.6201 0.2006 re
-f*
-0 g
-314.866 418.087 16.459 0.2006 re
-f*
-1 g
-331.325 418.087 3.8137 0.2006 re
-f*
-0 g
-335.138 418.087 17.4626 0.2006 re
-f*
-1 g
-352.601 418.087 5.6201 0.2006 re
-f*
-0.498 0 0.482 rg
-358.221 418.087 5.4195 0.2006 re
-f*
-1 g
-363.641 418.087 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 418.087 7.4267 0.2006 re
-f*
-1 g
-374.68 418.087 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 418.087 9.6345 0.2006 re
-f*
-1 g
-388.128 418.087 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 418.087 7.0252 0.2006 re
-f*
-1 g
-398.766 418.087 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 418.087 14.8532 0.2006 re
-f*
-0 g
-250.234 418.288 14.2511 0.2005 re
-f*
-1 g
-264.485 418.288 25.8928 0.2005 re
-f*
-0 g
-290.378 418.288 4.6165 0.2005 re
-f*
-1 g
-294.994 418.288 3.613 0.2005 re
-f*
-0 g
-298.607 418.288 10.6381 0.2005 re
-f*
-1 g
-309.245 418.288 5.6201 0.2005 re
-f*
-0 g
-314.866 418.288 16.2583 0.2005 re
-f*
-1 g
-331.124 418.288 4.0144 0.2005 re
-f*
-0 g
-335.138 418.288 17.4626 0.2005 re
-f*
-1 g
-352.601 418.288 5.6201 0.2005 re
-f*
-0.498 0 0.482 rg
-358.221 418.288 5.4195 0.2005 re
-f*
-1 g
-363.641 418.288 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 418.288 7.2259 0.2005 re
-f*
-1 g
-374.479 418.288 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 418.288 9.6345 0.2005 re
-f*
-1 g
-388.128 418.288 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 418.288 7.0252 0.2005 re
-f*
-1 g
-398.766 418.288 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 418.288 14.8532 0.2005 re
-f*
-0 g
-250.234 418.489 14.2511 0.2005 re
-f*
-1 g
-264.485 418.489 25.8928 0.2005 re
-f*
-0 g
-290.378 418.489 4.6165 0.2005 re
-f*
-1 g
-294.994 418.489 3.613 0.2005 re
-f*
-0 g
-298.607 418.489 10.8389 0.2005 re
-f*
-1 g
-309.446 418.489 5.4193 0.2005 re
-f*
-0 g
-314.866 418.489 16.2583 0.2005 re
-f*
-1 g
-331.124 418.489 3.8137 0.2005 re
-f*
-0 g
-334.938 418.489 17.6633 0.2005 re
-f*
-1 g
-352.601 418.489 5.6201 0.2005 re
-f*
-0.498 0 0.482 rg
-358.221 418.489 5.4195 0.2005 re
-f*
-1 g
-363.641 418.489 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 418.489 7.2259 0.2005 re
-f*
-1 g
-374.479 418.489 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 418.489 9.6345 0.2005 re
-f*
-1 g
-388.128 418.489 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 418.489 7.0252 0.2005 re
-f*
-1 g
-398.766 418.489 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 418.489 14.8532 0.2005 re
-f*
-0 g
-250.234 418.689 14.2511 0.2006 re
-f*
-1 g
-264.485 418.689 25.8928 0.2006 re
-f*
-0 g
-290.378 418.689 4.6165 0.2006 re
-f*
-1 g
-294.994 418.689 3.613 0.2006 re
-f*
-0 g
-298.607 418.689 10.8389 0.2006 re
-f*
-1 g
-309.446 418.689 5.4193 0.2006 re
-f*
-0 g
-314.866 418.689 16.2583 0.2006 re
-f*
-1 g
-331.124 418.689 3.8137 0.2006 re
-f*
-0 g
-334.938 418.689 17.6633 0.2006 re
-f*
-1 g
-352.601 418.689 5.8209 0.2006 re
-f*
-0.498 0 0.482 rg
-358.422 418.689 5.2187 0.2006 re
-f*
-1 g
-363.641 418.689 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 418.689 7.2259 0.2006 re
-f*
-1 g
-374.479 418.689 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 418.689 9.6345 0.2006 re
-f*
-1 g
-388.128 418.689 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 418.689 6.8244 0.2006 re
-f*
-1 g
-398.566 418.689 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 418.689 14.8532 0.2006 re
-f*
-0 g
-250.234 418.89 14.2511 0.2006 re
-f*
-1 g
-264.485 418.89 25.8928 0.2006 re
-f*
-0 g
-290.378 418.89 4.6165 0.2006 re
-f*
-1 g
-294.994 418.89 3.613 0.2006 re
-f*
-0 g
-298.607 418.89 10.8389 0.2006 re
-f*
-1 g
-309.446 418.89 5.4193 0.2006 re
-f*
-0 g
-314.866 418.89 16.0576 0.2006 re
-f*
-1 g
-330.923 418.89 4.0144 0.2006 re
-f*
-0 g
-334.938 418.89 17.6633 0.2006 re
-f*
-1 g
-352.601 418.89 5.8209 0.2006 re
-f*
-0.498 0 0.482 rg
-358.422 418.89 5.2187 0.2006 re
-f*
-1 g
-363.641 418.89 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 418.89 7.2259 0.2006 re
-f*
-1 g
-374.479 418.89 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 418.89 9.6345 0.2006 re
-f*
-1 g
-388.128 418.89 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 418.89 6.8244 0.2006 re
-f*
-1 g
-398.566 418.89 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 418.89 14.8532 0.2006 re
-f*
-0 g
-250.234 419.09 14.2511 0.2005 re
-f*
-1 g
-264.485 419.09 25.8928 0.2005 re
-f*
-0 g
-290.378 419.09 4.6165 0.2005 re
-f*
-1 g
-294.994 419.09 3.613 0.2005 re
-f*
-0 g
-298.607 419.09 10.8389 0.2005 re
-f*
-1 g
-309.446 419.09 5.4193 0.2005 re
-f*
-0 g
-314.866 419.09 16.0576 0.2005 re
-f*
-1 g
-330.923 419.09 4.0144 0.2005 re
-f*
-0 g
-334.938 419.09 17.6633 0.2005 re
-f*
-1 g
-352.601 419.09 5.8209 0.2005 re
-f*
-0.498 0 0.482 rg
-358.422 419.09 5.2187 0.2005 re
-f*
-1 g
-363.641 419.09 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 419.09 7.2259 0.2005 re
-f*
-1 g
-374.479 419.09 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 419.09 9.6345 0.2005 re
-f*
-1 g
-388.128 419.09 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 419.09 6.8244 0.2005 re
-f*
-1 g
-398.566 419.09 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 419.09 14.8532 0.2005 re
-f*
-0 g
-250.234 419.291 14.2511 0.2006 re
-f*
-1 g
-264.485 419.291 25.8928 0.2006 re
-f*
-0 g
-290.378 419.291 4.6165 0.2006 re
-f*
-1 g
-294.994 419.291 3.613 0.2006 re
-f*
-0 g
-298.607 419.291 10.8389 0.2006 re
-f*
-1 g
-309.446 419.291 5.4193 0.2006 re
-f*
-0 g
-314.866 419.291 16.0576 0.2006 re
-f*
-1 g
-330.923 419.291 4.0144 0.2006 re
-f*
-0 g
-334.938 419.291 17.6633 0.2006 re
-f*
-1 g
-352.601 419.291 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-358.623 419.291 5.018 0.2006 re
-f*
-1 g
-363.641 419.291 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 419.291 7.0252 0.2006 re
-f*
-1 g
-374.279 419.291 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 419.291 9.6345 0.2006 re
-f*
-1 g
-388.128 419.291 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 419.291 6.8244 0.2006 re
-f*
-1 g
-398.566 419.291 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 419.291 14.8532 0.2006 re
-f*
-0 g
-250.234 419.491 14.2511 0.2005 re
-f*
-1 g
-264.485 419.491 25.8928 0.2005 re
-f*
-0 g
-290.378 419.491 4.6165 0.2005 re
-f*
-1 g
-294.994 419.491 3.613 0.2005 re
-f*
-0 g
-298.607 419.491 10.8389 0.2005 re
-f*
-1 g
-309.446 419.491 5.2187 0.2005 re
-f*
-0 g
-314.665 419.491 16.2582 0.2005 re
-f*
-1 g
-330.923 419.491 4.0144 0.2005 re
-f*
-0 g
-334.938 419.491 17.6633 0.2005 re
-f*
-1 g
-352.601 419.491 6.0216 0.2005 re
-f*
-0.498 0 0.482 rg
-358.623 419.491 5.018 0.2005 re
-f*
-1 g
-363.641 419.491 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 419.491 7.0252 0.2005 re
-f*
-1 g
-374.279 419.491 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 419.491 9.6345 0.2005 re
-f*
-1 g
-388.128 419.491 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 419.491 6.8244 0.2005 re
-f*
-1 g
-398.566 419.491 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 419.491 14.8532 0.2005 re
-f*
-0 g
-250.234 419.692 14.2511 0.2006 re
-f*
-1 g
-264.485 419.692 25.8928 0.2006 re
-f*
-0 g
-290.378 419.692 4.6165 0.2006 re
-f*
-1 g
-294.994 419.692 3.613 0.2006 re
-f*
-0 g
-298.607 419.692 10.8389 0.2006 re
-f*
-1 g
-309.446 419.692 5.2187 0.2006 re
-f*
-0 g
-314.665 419.692 16.2582 0.2006 re
-f*
-1 g
-330.923 419.692 4.0144 0.2006 re
-f*
-0 g
-334.938 419.692 17.6633 0.2006 re
-f*
-1 g
-352.601 419.692 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-358.623 419.692 5.018 0.2006 re
-f*
-1 g
-363.641 419.692 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 419.692 7.0252 0.2006 re
-f*
-1 g
-374.279 419.692 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 419.692 9.6345 0.2006 re
-f*
-1 g
-388.128 419.692 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 419.692 6.8244 0.2006 re
-f*
-1 g
-398.566 419.692 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 419.692 14.8532 0.2006 re
-f*
-0 g
-250.234 419.892 14.2511 0.2005 re
-f*
-1 g
-264.485 419.892 6.6237 0.2005 re
-f*
-0 g
-271.109 419.892 0.2008 0.2005 re
-f*
-1 g
-271.31 419.892 7.6273 0.2005 re
-f*
-0 g
-278.937 419.892 0.2007 0.2005 re
-f*
-1 g
-279.138 419.892 11.2403 0.2005 re
-f*
-0 g
-290.378 419.892 4.6165 0.2005 re
-f*
-1 g
-294.994 419.892 3.613 0.2005 re
-f*
-0 g
-298.607 419.892 10.8389 0.2005 re
-f*
-1 g
-309.446 419.892 5.2187 0.2005 re
-f*
-0 g
-314.665 419.892 16.0575 0.2005 re
-f*
-1 g
-330.722 419.892 4.2151 0.2005 re
-f*
-0 g
-334.938 419.892 17.6633 0.2005 re
-f*
-1 g
-352.601 419.892 6.2223 0.2005 re
-f*
-0.498 0 0.482 rg
-358.823 419.892 4.8173 0.2005 re
-f*
-1 g
-363.641 419.892 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 419.892 7.0252 0.2005 re
-f*
-1 g
-374.279 419.892 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 419.892 9.6345 0.2005 re
-f*
-1 g
-388.128 419.892 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 419.892 6.8244 0.2005 re
-f*
-1 g
-398.566 419.892 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 419.892 14.8532 0.2005 re
-f*
-0 g
-250.234 420.093 21.0756 0.2006 re
-f*
-1 g
-271.31 420.093 7.6273 0.2006 re
-f*
-0 g
-278.937 420.093 16.0575 0.2006 re
-f*
-1 g
-294.994 420.093 3.613 0.2006 re
-f*
-0 g
-298.607 420.093 11.0396 0.2006 re
-f*
-1 g
-309.647 420.093 5.018 0.2006 re
-f*
-0 g
-314.665 420.093 16.0575 0.2006 re
-f*
-1 g
-330.722 420.093 4.2151 0.2006 re
-f*
-0 g
-334.938 420.093 17.6633 0.2006 re
-f*
-1 g
-352.601 420.093 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-358.823 420.093 4.8173 0.2006 re
-f*
-1 g
-363.641 420.093 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 420.093 7.0252 0.2006 re
-f*
-1 g
-374.279 420.093 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 420.093 9.6345 0.2006 re
-f*
-1 g
-388.128 420.093 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 420.093 6.8244 0.2006 re
-f*
-1 g
-398.566 420.093 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 420.093 14.8532 0.2006 re
-f*
-0 g
-250.234 420.294 21.0756 0.2005 re
-f*
-1 g
-271.31 420.294 7.6273 0.2005 re
-f*
-0 g
-278.937 420.294 16.0575 0.2005 re
-f*
-1 g
-294.994 420.294 3.613 0.2005 re
-f*
-0 g
-298.607 420.294 11.0396 0.2005 re
-f*
-1 g
-309.647 420.294 5.018 0.2005 re
-f*
-0 g
-314.665 420.294 16.0575 0.2005 re
-f*
-1 g
-330.722 420.294 4.2151 0.2005 re
-f*
-0 g
-334.938 420.294 17.8641 0.2005 re
-f*
-1 g
-352.802 420.294 6.0215 0.2005 re
-f*
-0.498 0 0.482 rg
-358.823 420.294 4.8173 0.2005 re
-f*
-1 g
-363.641 420.294 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 420.294 7.0252 0.2005 re
-f*
-1 g
-374.279 420.294 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 420.294 9.6345 0.2005 re
-f*
-1 g
-388.128 420.294 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 420.294 6.8244 0.2005 re
-f*
-1 g
-398.566 420.294 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 420.294 14.8532 0.2005 re
-f*
-0 g
-250.234 420.494 21.0756 0.2006 re
-f*
-1 g
-271.31 420.494 7.6273 0.2006 re
-f*
-0 g
-278.937 420.494 16.0575 0.2006 re
-f*
-1 g
-294.994 420.494 3.613 0.2006 re
-f*
-0 g
-298.607 420.494 11.0396 0.2006 re
-f*
-1 g
-309.647 420.494 5.018 0.2006 re
-f*
-0 g
-314.665 420.494 16.0575 0.2006 re
-f*
-1 g
-330.722 420.494 4.2151 0.2006 re
-f*
-0 g
-334.938 420.494 17.8641 0.2006 re
-f*
-1 g
-352.802 420.494 6.0215 0.2006 re
-f*
-0.498 0 0.482 rg
-358.823 420.494 4.8173 0.2006 re
-f*
-1 g
-363.641 420.494 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 420.494 7.0252 0.2006 re
-f*
-1 g
-374.279 420.494 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 420.494 9.6345 0.2006 re
-f*
-1 g
-388.128 420.494 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 420.494 6.8244 0.2006 re
-f*
-1 g
-398.566 420.494 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 420.494 14.8532 0.2006 re
-f*
-0 g
-250.234 420.695 21.0756 0.2006 re
-f*
-1 g
-271.31 420.695 7.6273 0.2006 re
-f*
-0 g
-278.937 420.695 16.0575 0.2006 re
-f*
-1 g
-294.994 420.695 3.613 0.2006 re
-f*
-0 g
-298.607 420.695 11.0396 0.2006 re
-f*
-1 g
-309.647 420.695 5.018 0.2006 re
-f*
-0 g
-314.665 420.695 16.0575 0.2006 re
-f*
-1 g
-330.722 420.695 4.2151 0.2006 re
-f*
-0 g
-334.938 420.695 17.8641 0.2006 re
-f*
-1 g
-352.802 420.695 6.2222 0.2006 re
-f*
-0.498 0 0.482 rg
-359.024 420.695 4.6166 0.2006 re
-f*
-1 g
-363.641 420.695 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 420.695 7.0252 0.2006 re
-f*
-1 g
-374.279 420.695 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 420.695 9.6345 0.2006 re
-f*
-1 g
-388.128 420.695 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 420.695 6.8244 0.2006 re
-f*
-1 g
-398.566 420.695 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 420.695 14.8532 0.2006 re
-f*
-0 g
-250.234 420.895 21.0756 0.2006 re
-f*
-1 g
-271.31 420.895 7.6273 0.2006 re
-f*
-0 g
-278.937 420.895 16.0575 0.2006 re
-f*
-1 g
-294.994 420.895 3.613 0.2006 re
-f*
-0 g
-298.607 420.895 11.0396 0.2006 re
-f*
-1 g
-309.647 420.895 5.018 0.2006 re
-f*
-0 g
-314.665 420.895 16.0575 0.2006 re
-f*
-1 g
-330.722 420.895 4.2151 0.2006 re
-f*
-0 g
-334.938 420.895 17.8641 0.2006 re
-f*
-1 g
-352.802 420.895 6.2222 0.2006 re
-f*
-0.498 0 0.482 rg
-359.024 420.895 4.6166 0.2006 re
-f*
-1 g
-363.641 420.895 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 420.895 7.0252 0.2006 re
-f*
-1 g
-374.279 420.895 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 420.895 9.6345 0.2006 re
-f*
-1 g
-388.128 420.895 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 420.895 6.8244 0.2006 re
-f*
-1 g
-398.566 420.895 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 420.895 14.8532 0.2006 re
-f*
-0 g
-250.234 421.096 21.0756 0.2005 re
-f*
-1 g
-271.31 421.096 7.6273 0.2005 re
-f*
-0 g
-278.937 421.096 16.0575 0.2005 re
-f*
-1 g
-294.994 421.096 3.613 0.2005 re
-f*
-0 g
-298.607 421.096 11.2403 0.2005 re
-f*
-1 g
-309.848 421.096 4.8173 0.2005 re
-f*
-0 g
-314.665 421.096 16.0575 0.2005 re
-f*
-1 g
-330.722 421.096 4.2151 0.2005 re
-f*
-0 g
-334.938 421.096 17.8641 0.2005 re
-f*
-1 g
-352.802 421.096 6.2222 0.2005 re
-f*
-0.498 0 0.482 rg
-359.024 421.096 4.6166 0.2005 re
-f*
-1 g
-363.641 421.096 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 421.096 7.0252 0.2005 re
-f*
-1 g
-374.279 421.096 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 421.096 9.6345 0.2005 re
-f*
-1 g
-388.128 421.096 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 421.096 6.8244 0.2005 re
-f*
-1 g
-398.566 421.096 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 421.096 14.8532 0.2005 re
-f*
-0 g
-250.234 421.296 21.0756 0.2005 re
-f*
-1 g
-271.31 421.296 7.6273 0.2005 re
-f*
-0 g
-278.937 421.296 16.0575 0.2005 re
-f*
-1 g
-294.994 421.296 3.613 0.2005 re
-f*
-0 g
-298.607 421.296 11.2403 0.2005 re
-f*
-1 g
-309.848 421.296 4.8173 0.2005 re
-f*
-0 g
-314.665 421.296 16.0575 0.2005 re
-f*
-1 g
-330.722 421.296 4.2151 0.2005 re
-f*
-0 g
-334.938 421.296 17.6633 0.2005 re
-f*
-1 g
-352.601 421.296 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-359.024 421.296 4.6166 0.2005 re
-f*
-1 g
-363.641 421.296 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 421.296 7.0252 0.2005 re
-f*
-1 g
-374.279 421.296 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 421.296 9.6345 0.2005 re
-f*
-1 g
-388.128 421.296 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 421.296 6.8244 0.2005 re
-f*
-1 g
-398.566 421.296 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 421.296 14.8532 0.2005 re
-f*
-0 g
-250.234 421.497 21.0756 0.2006 re
-f*
-1 g
-271.31 421.497 7.6273 0.2006 re
-f*
-0 g
-278.937 421.497 16.0575 0.2006 re
-f*
-1 g
-294.994 421.497 3.613 0.2006 re
-f*
-0 g
-298.607 421.497 11.2403 0.2006 re
-f*
-1 g
-309.848 421.497 4.8173 0.2006 re
-f*
-0 g
-314.665 421.497 16.0575 0.2006 re
-f*
-1 g
-330.722 421.497 4.2151 0.2006 re
-f*
-0 g
-334.938 421.497 17.6633 0.2006 re
-f*
-1 g
-352.601 421.497 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-359.225 421.497 4.4159 0.2006 re
-f*
-1 g
-363.641 421.497 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 421.497 7.0252 0.2006 re
-f*
-1 g
-374.279 421.497 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 421.497 9.6345 0.2006 re
-f*
-1 g
-388.128 421.497 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 421.497 6.8244 0.2006 re
-f*
-1 g
-398.566 421.497 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 421.497 14.8532 0.2006 re
-f*
-0 g
-250.234 421.697 21.0756 0.2006 re
-f*
-1 g
-271.31 421.697 7.6273 0.2006 re
-f*
-0 g
-278.937 421.697 16.0575 0.2006 re
-f*
-1 g
-294.994 421.697 3.613 0.2006 re
-f*
-0 g
-298.607 421.697 11.2403 0.2006 re
-f*
-1 g
-309.848 421.697 4.8173 0.2006 re
-f*
-0 g
-314.665 421.697 16.0575 0.2006 re
-f*
-1 g
-330.722 421.697 4.2151 0.2006 re
-f*
-0 g
-334.938 421.697 17.6633 0.2006 re
-f*
-1 g
-352.601 421.697 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-359.225 421.697 4.4159 0.2006 re
-f*
-1 g
-363.641 421.697 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 421.697 7.0252 0.2006 re
-f*
-1 g
-374.279 421.697 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 421.697 9.6345 0.2006 re
-f*
-1 g
-388.128 421.697 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 421.697 6.8244 0.2006 re
-f*
-1 g
-398.566 421.697 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 421.697 12.0431 0.2006 re
-f*
-1 g
-414.824 421.697 0.2008 0.2006 re
-f*
-0.498 0 0.482 rg
-415.025 421.697 2.6093 0.2006 re
-f*
-0 g
-250.234 421.898 21.0756 0.2005 re
-f*
-1 g
-271.31 421.898 7.6273 0.2005 re
-f*
-0 g
-278.937 421.898 16.0575 0.2005 re
-f*
-1 g
-294.994 421.898 3.613 0.2005 re
-f*
-0 g
-298.607 421.898 11.441 0.2005 re
-f*
-1 g
-310.048 421.898 4.6166 0.2005 re
-f*
-0 g
-314.665 421.898 16.0575 0.2005 re
-f*
-1 g
-330.722 421.898 4.2151 0.2005 re
-f*
-0 g
-334.938 421.898 17.6633 0.2005 re
-f*
-1 g
-352.601 421.898 6.6237 0.2005 re
-f*
-0.498 0 0.482 rg
-359.225 421.898 4.4159 0.2005 re
-f*
-1 g
-363.641 421.898 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 421.898 7.2259 0.2005 re
-f*
-1 g
-374.479 421.898 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 421.898 9.6345 0.2005 re
-f*
-1 g
-388.128 421.898 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 421.898 6.8244 0.2005 re
-f*
-1 g
-398.566 421.898 16.4591 0.2005 re
-f*
-0.498 0 0.482 rg
-415.025 421.898 2.6093 0.2005 re
-f*
-0 g
-250.234 422.099 21.0756 0.2006 re
-f*
-1 g
-271.31 422.099 7.6273 0.2006 re
-f*
-0 g
-278.937 422.099 16.0575 0.2006 re
-f*
-1 g
-294.994 422.099 3.613 0.2006 re
-f*
-0 g
-298.607 422.099 11.441 0.2006 re
-f*
-1 g
-310.048 422.099 4.6166 0.2006 re
-f*
-0 g
-314.665 422.099 16.0575 0.2006 re
-f*
-1 g
-330.722 422.099 4.2151 0.2006 re
-f*
-0 g
-334.938 422.099 17.6633 0.2006 re
-f*
-1 g
-352.601 422.099 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-359.225 422.099 4.4159 0.2006 re
-f*
-1 g
-363.641 422.099 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 422.099 7.2259 0.2006 re
-f*
-1 g
-374.479 422.099 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 422.099 9.6345 0.2006 re
-f*
-1 g
-388.128 422.099 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 422.099 7.0252 0.2006 re
-f*
-1 g
-398.766 422.099 16.2583 0.2006 re
-f*
-0.498 0 0.482 rg
-415.025 422.099 2.6093 0.2006 re
-f*
-0 g
-250.234 422.299 21.0756 0.2005 re
-f*
-1 g
-271.31 422.299 7.6273 0.2005 re
-f*
-0 g
-278.937 422.299 16.0575 0.2005 re
-f*
-1 g
-294.994 422.299 3.613 0.2005 re
-f*
-0 g
-298.607 422.299 11.441 0.2005 re
-f*
-1 g
-310.048 422.299 4.6166 0.2005 re
-f*
-0 g
-314.665 422.299 16.0575 0.2005 re
-f*
-1 g
-330.722 422.299 4.2151 0.2005 re
-f*
-0 g
-334.938 422.299 17.6633 0.2005 re
-f*
-1 g
-352.601 422.299 6.8245 0.2005 re
-f*
-0.498 0 0.482 rg
-359.425 422.299 4.2151 0.2005 re
-f*
-1 g
-363.641 422.299 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 422.299 7.2259 0.2005 re
-f*
-1 g
-374.479 422.299 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 422.299 9.6345 0.2005 re
-f*
-1 g
-388.128 422.299 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 422.299 7.0252 0.2005 re
-f*
-1 g
-398.766 422.299 16.2583 0.2005 re
-f*
-0.498 0 0.482 rg
-415.025 422.299 2.4086 0.2005 re
-f*
-0 g
-250.234 422.5 21.0756 0.2006 re
-f*
-1 g
-271.31 422.5 7.6273 0.2006 re
-f*
-0 g
-278.937 422.5 16.0575 0.2006 re
-f*
-1 g
-294.994 422.5 3.613 0.2006 re
-f*
-0 g
-298.607 422.5 11.441 0.2006 re
-f*
-1 g
-310.048 422.5 4.6166 0.2006 re
-f*
-0 g
-314.665 422.5 16.0575 0.2006 re
-f*
-1 g
-330.722 422.5 4.2151 0.2006 re
-f*
-0 g
-334.938 422.5 17.6633 0.2006 re
-f*
-1 g
-352.601 422.5 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-359.425 422.5 4.2151 0.2006 re
-f*
-1 g
-363.641 422.5 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 422.5 7.2259 0.2006 re
-f*
-1 g
-374.479 422.5 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 422.5 9.6345 0.2006 re
-f*
-1 g
-388.128 422.5 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 422.5 7.0252 0.2006 re
-f*
-1 g
-398.766 422.5 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 422.5 8.0287 0.2006 re
-f*
-1 g
-410.81 422.5 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-415.025 422.5 2.4086 0.2006 re
-f*
-0 g
-250.234 422.7 21.0756 0.2006 re
-f*
-1 g
-271.31 422.7 7.6273 0.2006 re
-f*
-0 g
-278.937 422.7 16.0575 0.2006 re
-f*
-1 g
-294.994 422.7 3.613 0.2006 re
-f*
-0 g
-298.607 422.7 11.6417 0.2006 re
-f*
-1 g
-310.249 422.7 4.4159 0.2006 re
-f*
-0 g
-314.665 422.7 16.0575 0.2006 re
-f*
-1 g
-330.722 422.7 4.2151 0.2006 re
-f*
-0 g
-334.938 422.7 17.6633 0.2006 re
-f*
-1 g
-352.601 422.7 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-359.425 422.7 4.2151 0.2006 re
-f*
-1 g
-363.641 422.7 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 422.7 7.2259 0.2006 re
-f*
-1 g
-374.479 422.7 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 422.7 9.6345 0.2006 re
-f*
-1 g
-388.128 422.7 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 422.7 7.0252 0.2006 re
-f*
-1 g
-398.766 422.7 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 422.7 8.0287 0.2006 re
-f*
-1 g
-410.81 422.7 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-415.025 422.7 2.4086 0.2006 re
-f*
-0 g
-250.435 422.901 20.8749 0.2005 re
-f*
-1 g
-271.31 422.901 7.6273 0.2005 re
-f*
-0 g
-278.937 422.901 16.0575 0.2005 re
-f*
-1 g
-294.994 422.901 3.613 0.2005 re
-f*
-0 g
-298.607 422.901 11.6417 0.2005 re
-f*
-1 g
-310.249 422.901 16.6597 0.2005 re
-f*
-0 g
-326.909 422.901 4.0144 0.2005 re
-f*
-1 g
-330.923 422.901 4.0144 0.2005 re
-f*
-0 g
-334.938 422.901 12.0431 0.2005 re
-f*
-1 g
-346.981 422.901 0.2008 0.2005 re
-f*
-0 g
-347.181 422.901 5.4194 0.2005 re
-f*
-1 g
-352.601 422.901 6.8245 0.2005 re
-f*
-0.498 0 0.482 rg
-359.425 422.901 4.2151 0.2005 re
-f*
-1 g
-363.641 422.901 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 422.901 7.4267 0.2005 re
-f*
-1 g
-374.68 422.901 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 422.901 9.6345 0.2005 re
-f*
-1 g
-388.128 422.901 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 422.901 7.2259 0.2005 re
-f*
-1 g
-398.967 422.901 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 422.901 8.0287 0.2005 re
-f*
-1 g
-410.81 422.901 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-415.025 422.901 2.4086 0.2005 re
-f*
-0 g
-250.435 423.101 20.8749 0.2006 re
-f*
-1 g
-271.31 423.101 7.6273 0.2006 re
-f*
-0 g
-278.937 423.101 16.0575 0.2006 re
-f*
-1 g
-294.994 423.101 3.613 0.2006 re
-f*
-0 g
-298.607 423.101 11.6417 0.2006 re
-f*
-1 g
-310.249 423.101 16.6597 0.2006 re
-f*
-0 g
-326.909 423.101 4.0144 0.2006 re
-f*
-1 g
-330.923 423.101 16.2583 0.2006 re
-f*
-0 g
-347.181 423.101 5.4194 0.2006 re
-f*
-1 g
-352.601 423.101 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-359.425 423.101 4.2151 0.2006 re
-f*
-1 g
-363.641 423.101 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 423.101 7.4267 0.2006 re
-f*
-1 g
-374.68 423.101 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 423.101 9.6345 0.2006 re
-f*
-1 g
-388.128 423.101 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 423.101 7.2259 0.2006 re
-f*
-1 g
-398.967 423.101 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 423.101 8.0287 0.2006 re
-f*
-1 g
-410.81 423.101 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-414.824 423.101 2.6094 0.2006 re
-f*
-0 g
-250.435 423.302 20.8749 0.2005 re
-f*
-1 g
-271.31 423.302 7.6273 0.2005 re
-f*
-0 g
-278.937 423.302 16.0575 0.2005 re
-f*
-1 g
-294.994 423.302 3.613 0.2005 re
-f*
-0 g
-298.607 423.302 11.8425 0.2005 re
-f*
-1 g
-310.45 423.302 4.2151 0.2005 re
-f*
-0 g
-314.665 423.302 8.4302 0.2005 re
-f*
-1 g
-323.095 423.302 3.8136 0.2005 re
-f*
-0 g
-326.909 423.302 4.0144 0.2005 re
-f*
-1 g
-330.923 423.302 16.2583 0.2005 re
-f*
-0 g
-347.181 423.302 5.4194 0.2005 re
-f*
-1 g
-352.601 423.302 6.8245 0.2005 re
-f*
-0.498 0 0.482 rg
-359.425 423.302 4.2151 0.2005 re
-f*
-1 g
-363.641 423.302 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 423.302 7.4267 0.2005 re
-f*
-1 g
-374.68 423.302 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-378.494 423.302 9.6345 0.2005 re
-f*
-1 g
-388.128 423.302 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 423.302 7.2259 0.2005 re
-f*
-1 g
-398.967 423.302 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-402.781 423.302 8.0287 0.2005 re
-f*
-1 g
-410.81 423.302 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-414.824 423.302 2.6094 0.2005 re
-f*
-0 g
-250.435 423.502 20.8749 0.2006 re
-f*
-1 g
-271.31 423.502 7.6273 0.2006 re
-f*
-0 g
-278.937 423.502 16.0575 0.2006 re
-f*
-1 g
-294.994 423.502 3.613 0.2006 re
-f*
-0 g
-298.607 423.502 11.8425 0.2006 re
-f*
-1 g
-310.45 423.502 4.4157 0.2006 re
-f*
-0 g
-314.866 423.502 8.2296 0.2006 re
-f*
-1 g
-323.095 423.502 3.8136 0.2006 re
-f*
-0 g
-326.909 423.502 4.0144 0.2006 re
-f*
-1 g
-330.923 423.502 16.2583 0.2006 re
-f*
-0 g
-347.181 423.502 5.2187 0.2006 re
-f*
-1 g
-352.4 423.502 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-359.425 423.502 4.2151 0.2006 re
-f*
-1 g
-363.641 423.502 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 423.502 7.4267 0.2006 re
-f*
-1 g
-374.68 423.502 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-378.494 423.502 9.6345 0.2006 re
-f*
-1 g
-388.128 423.502 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 423.502 7.4266 0.2006 re
-f*
-1 g
-399.168 423.502 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-402.781 423.502 8.0287 0.2006 re
-f*
-1 g
-410.81 423.502 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-414.824 423.502 2.6094 0.2006 re
-f*
-0 g
-250.435 423.703 20.8749 0.2006 re
-f*
-1 g
-271.31 423.703 7.6273 0.2006 re
-f*
-0 g
-278.937 423.703 16.0575 0.2006 re
-f*
-1 g
-294.994 423.703 3.613 0.2006 re
-f*
-0 g
-298.607 423.703 12.0432 0.2006 re
-f*
-1 g
-310.651 423.703 4.215 0.2006 re
-f*
-0 g
-314.866 423.703 8.2296 0.2006 re
-f*
-1 g
-323.095 423.703 3.8136 0.2006 re
-f*
-0 g
-326.909 423.703 4.0144 0.2006 re
-f*
-1 g
-330.923 423.703 4.0144 0.2006 re
-f*
-0 g
-334.938 423.703 8.0288 0.2006 re
-f*
-1 g
-342.966 423.703 4.2151 0.2006 re
-f*
-0 g
-347.181 423.703 5.2187 0.2006 re
-f*
-1 g
-352.4 423.703 7.2259 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 423.703 4.0144 0.2006 re
-f*
-1 g
-363.641 423.703 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 423.703 7.6274 0.2006 re
-f*
-1 g
-374.881 423.703 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 423.703 9.2331 0.2006 re
-f*
-1 g
-387.928 423.703 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 423.703 7.4266 0.2006 re
-f*
-1 g
-399.168 423.703 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-402.981 423.703 7.828 0.2006 re
-f*
-1 g
-410.81 423.703 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-414.824 423.703 2.6094 0.2006 re
-f*
-0 g
-250.435 423.904 20.8749 0.2005 re
-f*
-1 g
-271.31 423.904 7.6273 0.2005 re
-f*
-0 g
-278.937 423.904 16.0575 0.2005 re
-f*
-1 g
-294.994 423.904 3.8137 0.2005 re
-f*
-0 g
-298.808 423.904 11.8425 0.2005 re
-f*
-1 g
-310.651 423.904 4.215 0.2005 re
-f*
-0 g
-314.866 423.904 8.2296 0.2005 re
-f*
-1 g
-323.095 423.904 3.8136 0.2005 re
-f*
-0 g
-326.909 423.904 4.2151 0.2005 re
-f*
-1 g
-331.124 423.904 3.8137 0.2005 re
-f*
-0 g
-334.938 423.904 8.0288 0.2005 re
-f*
-1 g
-342.966 423.904 4.2151 0.2005 re
-f*
-0 g
-347.181 423.904 5.2187 0.2005 re
-f*
-1 g
-352.4 423.904 7.2259 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 423.904 4.0144 0.2005 re
-f*
-1 g
-363.641 423.904 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 423.904 7.6274 0.2005 re
-f*
-1 g
-374.881 423.904 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-378.695 423.904 9.2331 0.2005 re
-f*
-1 g
-387.928 423.904 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 423.904 7.4266 0.2005 re
-f*
-1 g
-399.168 423.904 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-402.981 423.904 7.828 0.2005 re
-f*
-1 g
-410.81 423.904 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-414.824 423.904 2.6094 0.2005 re
-f*
-0 g
-250.435 424.104 20.8749 0.2006 re
-f*
-1 g
-271.31 424.104 7.6273 0.2006 re
-f*
-0 g
-278.937 424.104 16.0575 0.2006 re
-f*
-1 g
-294.994 424.104 3.8137 0.2006 re
-f*
-0 g
-298.808 424.104 11.8425 0.2006 re
-f*
-1 g
-310.651 424.104 4.215 0.2006 re
-f*
-0 g
-314.866 424.104 8.4303 0.2006 re
-f*
-1 g
-323.296 424.104 3.6129 0.2006 re
-f*
-0 g
-326.909 424.104 4.2151 0.2006 re
-f*
-1 g
-331.124 424.104 3.8137 0.2006 re
-f*
-0 g
-334.938 424.104 8.0288 0.2006 re
-f*
-1 g
-342.966 424.104 4.2151 0.2006 re
-f*
-0 g
-347.181 424.104 5.2187 0.2006 re
-f*
-1 g
-352.4 424.104 7.2259 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 424.104 4.0144 0.2006 re
-f*
-1 g
-363.641 424.104 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 424.104 7.8281 0.2006 re
-f*
-1 g
-375.081 424.104 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 424.104 9.2331 0.2006 re
-f*
-1 g
-387.928 424.104 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 424.104 7.6273 0.2006 re
-f*
-1 g
-399.368 424.104 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-402.981 424.104 7.828 0.2006 re
-f*
-1 g
-410.81 424.104 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-414.623 424.104 2.8101 0.2006 re
-f*
-0 g
-250.435 424.305 20.8749 0.2005 re
-f*
-1 g
-271.31 424.305 7.6273 0.2005 re
-f*
-0 g
-278.937 424.305 16.0575 0.2005 re
-f*
-1 g
-294.994 424.305 3.8137 0.2005 re
-f*
-0 g
-298.808 424.305 12.0432 0.2005 re
-f*
-1 g
-310.851 424.305 4.0143 0.2005 re
-f*
-0 g
-314.866 424.305 8.4303 0.2005 re
-f*
-1 g
-323.296 424.305 3.6129 0.2005 re
-f*
-0 g
-326.909 424.305 4.2151 0.2005 re
-f*
-1 g
-331.124 424.305 4.0144 0.2005 re
-f*
-0 g
-335.138 424.305 7.8281 0.2005 re
-f*
-1 g
-342.966 424.305 4.2151 0.2005 re
-f*
-0 g
-347.181 424.305 5.2187 0.2005 re
-f*
-1 g
-352.4 424.305 7.2259 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 424.305 4.0144 0.2005 re
-f*
-1 g
-363.641 424.305 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 424.305 7.8281 0.2005 re
-f*
-1 g
-375.081 424.305 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-378.695 424.305 9.2331 0.2005 re
-f*
-1 g
-387.928 424.305 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 424.305 7.6273 0.2005 re
-f*
-1 g
-399.368 424.305 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-402.981 424.305 7.828 0.2005 re
-f*
-1 g
-410.81 424.305 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-414.623 424.305 2.6093 0.2005 re
-f*
-0 g
-250.435 424.505 20.8749 0.2006 re
-f*
-1 g
-271.31 424.505 7.6273 0.2006 re
-f*
-0 g
-278.937 424.505 16.0575 0.2006 re
-f*
-1 g
-294.994 424.505 3.8137 0.2006 re
-f*
-0 g
-298.808 424.505 12.0432 0.2006 re
-f*
-1 g
-310.851 424.505 4.0143 0.2006 re
-f*
-0 g
-314.866 424.505 8.4303 0.2006 re
-f*
-1 g
-323.296 424.505 3.6129 0.2006 re
-f*
-0 g
-326.909 424.505 4.4158 0.2006 re
-f*
-1 g
-331.325 424.505 3.8137 0.2006 re
-f*
-0 g
-335.138 424.505 7.8281 0.2006 re
-f*
-1 g
-342.966 424.505 4.0143 0.2006 re
-f*
-0 g
-346.981 424.505 5.2188 0.2006 re
-f*
-1 g
-352.2 424.505 7.4266 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 424.505 4.0144 0.2006 re
-f*
-1 g
-363.641 424.505 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 424.505 8.0288 0.2006 re
-f*
-1 g
-375.282 424.505 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 424.505 9.2331 0.2006 re
-f*
-1 g
-387.928 424.505 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 424.505 7.828 0.2006 re
-f*
-1 g
-399.569 424.505 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-402.981 424.505 7.828 0.2006 re
-f*
-1 g
-410.81 424.505 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-414.623 424.505 2.6093 0.2006 re
-f*
-0 g
-250.635 424.706 20.6741 0.2006 re
-f*
-1 g
-271.31 424.706 7.6273 0.2006 re
-f*
-0 g
-278.937 424.706 16.0575 0.2006 re
-f*
-1 g
-294.994 424.706 3.8137 0.2006 re
-f*
-0 g
-298.808 424.706 12.2439 0.2006 re
-f*
-1 g
-311.052 424.706 3.8136 0.2006 re
-f*
-0 g
-314.866 424.706 8.4303 0.2006 re
-f*
-1 g
-323.296 424.706 3.4122 0.2006 re
-f*
-0 g
-326.708 424.706 4.6165 0.2006 re
-f*
-1 g
-331.325 424.706 3.8137 0.2006 re
-f*
-0 g
-335.138 424.706 7.8281 0.2006 re
-f*
-1 g
-342.966 424.706 4.0143 0.2006 re
-f*
-0 g
-346.981 424.706 5.2188 0.2006 re
-f*
-1 g
-352.2 424.706 7.4266 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 424.706 4.0144 0.2006 re
-f*
-1 g
-363.641 424.706 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 424.706 8.0288 0.2006 re
-f*
-1 g
-375.282 424.706 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-378.695 424.706 9.2331 0.2006 re
-f*
-1 g
-387.928 424.706 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 424.706 7.828 0.2006 re
-f*
-1 g
-399.569 424.706 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-402.981 424.706 7.828 0.2006 re
-f*
-1 g
-410.81 424.706 3.8137 0.2006 re
-f*
-0.498 0 0.482 rg
-414.623 424.706 2.6093 0.2006 re
-f*
-0 g
-250.635 424.906 20.6741 0.2005 re
-f*
-1 g
-271.31 424.906 7.6273 0.2005 re
-f*
-0 g
-278.937 424.906 16.0575 0.2005 re
-f*
-1 g
-294.994 424.906 3.8137 0.2005 re
-f*
-0 g
-298.808 424.906 12.2439 0.2005 re
-f*
-1 g
-311.052 424.906 3.8136 0.2005 re
-f*
-0 g
-314.866 424.906 8.4303 0.2005 re
-f*
-1 g
-323.296 424.906 3.4122 0.2005 re
-f*
-0 g
-326.708 424.906 4.6165 0.2005 re
-f*
-1 g
-331.325 424.906 3.8137 0.2005 re
-f*
-0 g
-335.138 424.906 7.8281 0.2005 re
-f*
-1 g
-342.966 424.906 4.0143 0.2005 re
-f*
-0 g
-346.981 424.906 5.2188 0.2005 re
-f*
-1 g
-352.2 424.906 7.4266 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 424.906 4.0144 0.2005 re
-f*
-1 g
-363.641 424.906 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 424.906 8.2295 0.2005 re
-f*
-1 g
-375.483 424.906 3.2116 0.2005 re
-f*
-0.498 0 0.482 rg
-378.695 424.906 9.0323 0.2005 re
-f*
-1 g
-387.727 424.906 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 424.906 8.0288 0.2005 re
-f*
-1 g
-399.77 424.906 3.4122 0.2005 re
-f*
-0.498 0 0.482 rg
-403.182 424.906 7.6273 0.2005 re
-f*
-1 g
-410.81 424.906 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-414.422 424.906 2.81 0.2005 re
-f*
-0 g
-250.635 425.107 20.8748 0.2006 re
-f*
-1 g
-271.51 425.107 7.4266 0.2006 re
-f*
-0 g
-278.937 425.107 16.0575 0.2006 re
-f*
-1 g
-294.994 425.107 4.0144 0.2006 re
-f*
-0 g
-299.009 425.107 5.2187 0.2006 re
-f*
-1 g
-304.227 425.107 2.208 0.2006 re
-f*
-0 g
-306.435 425.107 4.8172 0.2006 re
-f*
-1 g
-311.253 425.107 3.6129 0.2006 re
-f*
-0 g
-314.866 425.107 8.4303 0.2006 re
-f*
-1 g
-323.296 425.107 3.4122 0.2006 re
-f*
-0 g
-326.708 425.107 4.8173 0.2006 re
-f*
-1 g
-331.525 425.107 3.6129 0.2006 re
-f*
-0 g
-335.138 425.107 7.8281 0.2006 re
-f*
-1 g
-342.966 425.107 4.0143 0.2006 re
-f*
-0 g
-346.981 425.107 5.018 0.2006 re
-f*
-1 g
-351.999 425.107 7.6274 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 425.107 4.0144 0.2006 re
-f*
-1 g
-363.641 425.107 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 425.107 8.2295 0.2006 re
-f*
-1 g
-375.483 425.107 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-378.895 425.107 8.8316 0.2006 re
-f*
-1 g
-387.727 425.107 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 425.107 8.2295 0.2006 re
-f*
-1 g
-399.971 425.107 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-403.182 425.107 7.6273 0.2006 re
-f*
-1 g
-410.81 425.107 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-414.422 425.107 2.81 0.2006 re
-f*
-0 g
-250.635 425.308 20.8748 0.2005 re
-f*
-1 g
-271.51 425.308 7.4266 0.2005 re
-f*
-0 g
-278.937 425.308 16.0575 0.2005 re
-f*
-1 g
-294.994 425.308 4.0144 0.2005 re
-f*
-0 g
-299.009 425.308 4.8173 0.2005 re
-f*
-1 g
-303.826 425.308 3.0108 0.2005 re
-f*
-0 g
-306.837 425.308 4.4158 0.2005 re
-f*
-1 g
-311.253 425.308 3.8137 0.2005 re
-f*
-0 g
-315.066 425.308 8.2295 0.2005 re
-f*
-1 g
-323.296 425.308 3.4122 0.2005 re
-f*
-0 g
-326.708 425.308 4.8173 0.2005 re
-f*
-1 g
-331.525 425.308 3.6129 0.2005 re
-f*
-0 g
-335.138 425.308 7.8281 0.2005 re
-f*
-1 g
-342.966 425.308 4.0143 0.2005 re
-f*
-0 g
-346.981 425.308 5.018 0.2005 re
-f*
-1 g
-351.999 425.308 7.6274 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 425.308 4.0144 0.2005 re
-f*
-1 g
-363.641 425.308 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 425.308 8.4303 0.2005 re
-f*
-1 g
-375.684 425.308 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-378.895 425.308 8.8316 0.2005 re
-f*
-1 g
-387.727 425.308 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 425.308 8.2295 0.2005 re
-f*
-1 g
-399.971 425.308 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-403.182 425.308 7.6273 0.2005 re
-f*
-1 g
-410.81 425.308 3.4122 0.2005 re
-f*
-0.498 0 0.482 rg
-414.222 425.308 3.0108 0.2005 re
-f*
-0 g
-250.635 425.508 20.8748 0.2006 re
-f*
-1 g
-271.51 425.508 7.4266 0.2006 re
-f*
-0 g
-278.937 425.508 16.0575 0.2006 re
-f*
-1 g
-294.994 425.508 4.0144 0.2006 re
-f*
-0 g
-299.009 425.508 4.6166 0.2006 re
-f*
-1 g
-303.625 425.508 3.4122 0.2006 re
-f*
-0 g
-307.038 425.508 4.4158 0.2006 re
-f*
-1 g
-311.453 425.508 3.613 0.2006 re
-f*
-0 g
-315.066 425.508 8.2295 0.2006 re
-f*
-1 g
-323.296 425.508 3.2115 0.2006 re
-f*
-0 g
-326.507 425.508 5.2187 0.2006 re
-f*
-1 g
-331.726 425.508 3.4122 0.2006 re
-f*
-0 g
-335.138 425.508 7.8281 0.2006 re
-f*
-1 g
-342.966 425.508 3.8137 0.2006 re
-f*
-0 g
-346.78 425.508 5.2186 0.2006 re
-f*
-1 g
-351.999 425.508 7.6274 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 425.508 4.0144 0.2006 re
-f*
-1 g
-363.641 425.508 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 425.508 8.4303 0.2006 re
-f*
-1 g
-375.684 425.508 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-378.895 425.508 8.6309 0.2006 re
-f*
-1 g
-387.526 425.508 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 425.508 8.4302 0.2006 re
-f*
-1 g
-400.171 425.508 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-403.383 425.508 7.4266 0.2006 re
-f*
-1 g
-410.81 425.508 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-414.222 425.508 2.8102 0.2006 re
-f*
-0 g
-250.635 425.709 20.8748 0.2005 re
-f*
-1 g
-271.51 425.709 7.4266 0.2005 re
-f*
-0 g
-278.937 425.709 16.0575 0.2005 re
-f*
-1 g
-294.994 425.709 4.2151 0.2005 re
-f*
-0 g
-299.209 425.709 4.4159 0.2005 re
-f*
-1 g
-303.625 425.709 3.6129 0.2005 re
-f*
-0 g
-307.238 425.709 4.4159 0.2005 re
-f*
-1 g
-311.654 425.709 3.4122 0.2005 re
-f*
-0 g
-315.066 425.709 8.0288 0.2005 re
-f*
-1 g
-323.095 425.709 3.4122 0.2005 re
-f*
-0 g
-326.507 425.709 5.2187 0.2005 re
-f*
-1 g
-331.726 425.709 3.613 0.2005 re
-f*
-0 g
-335.339 425.709 7.6273 0.2005 re
-f*
-1 g
-342.966 425.709 3.8137 0.2005 re
-f*
-0 g
-346.78 425.709 5.018 0.2005 re
-f*
-1 g
-351.798 425.709 7.828 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 425.709 4.0144 0.2005 re
-f*
-1 g
-363.641 425.709 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 425.709 8.631 0.2005 re
-f*
-1 g
-375.884 425.709 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-378.895 425.709 8.6309 0.2005 re
-f*
-1 g
-387.526 425.709 4.2151 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 425.709 8.6309 0.2005 re
-f*
-1 g
-400.372 425.709 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-403.383 425.709 7.4266 0.2005 re
-f*
-1 g
-410.81 425.709 3.4122 0.2005 re
-f*
-0.498 0 0.482 rg
-414.222 425.709 2.8102 0.2005 re
-f*
-0 g
-250.836 425.909 20.6741 0.2006 re
-f*
-1 g
-271.51 425.909 7.4266 0.2006 re
-f*
-0 g
-278.937 425.909 16.0575 0.2006 re
-f*
-1 g
-294.994 425.909 4.2151 0.2006 re
-f*
-0 g
-299.209 425.909 4.4159 0.2006 re
-f*
-1 g
-303.625 425.909 3.6129 0.2006 re
-f*
-0 g
-307.238 425.909 4.4159 0.2006 re
-f*
-1 g
-311.654 425.909 3.4122 0.2006 re
-f*
-0 g
-315.066 425.909 8.0288 0.2006 re
-f*
-1 g
-323.095 425.909 3.2115 0.2006 re
-f*
-0 g
-326.307 425.909 5.6201 0.2006 re
-f*
-1 g
-331.927 425.909 3.4123 0.2006 re
-f*
-0 g
-335.339 425.909 7.6273 0.2006 re
-f*
-1 g
-342.966 425.909 3.8137 0.2006 re
-f*
-0 g
-346.78 425.909 5.018 0.2006 re
-f*
-1 g
-351.798 425.909 7.828 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 425.909 4.0144 0.2006 re
-f*
-1 g
-363.641 425.909 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 425.909 8.8317 0.2006 re
-f*
-1 g
-376.085 425.909 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-379.096 425.909 8.4302 0.2006 re
-f*
-1 g
-387.526 425.909 4.2151 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 425.909 8.6309 0.2006 re
-f*
-1 g
-400.372 425.909 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-403.383 425.909 7.2259 0.2006 re
-f*
-1 g
-410.609 425.909 3.4123 0.2006 re
-f*
-0.498 0 0.482 rg
-414.021 425.909 3.0108 0.2006 re
-f*
-0 g
-250.836 426.11 20.6741 0.2006 re
-f*
-1 g
-271.51 426.11 7.4266 0.2006 re
-f*
-0 g
-278.937 426.11 16.0575 0.2006 re
-f*
-1 g
-294.994 426.11 4.2151 0.2006 re
-f*
-0 g
-299.209 426.11 4.4159 0.2006 re
-f*
-1 g
-303.625 426.11 3.6129 0.2006 re
-f*
-0 g
-307.238 426.11 4.6166 0.2006 re
-f*
-1 g
-311.855 426.11 3.2115 0.2006 re
-f*
-0 g
-315.066 426.11 8.0288 0.2006 re
-f*
-1 g
-323.095 426.11 3.2115 0.2006 re
-f*
-0 g
-326.307 426.11 5.6201 0.2006 re
-f*
-1 g
-331.927 426.11 3.4123 0.2006 re
-f*
-0 g
-335.339 426.11 7.6273 0.2006 re
-f*
-1 g
-342.966 426.11 3.6129 0.2006 re
-f*
-0 g
-346.579 426.11 5.2188 0.2006 re
-f*
-1 g
-351.798 426.11 8.0287 0.2006 re
-f*
-0.498 0 0.482 rg
-359.827 426.11 3.8137 0.2006 re
-f*
-1 g
-363.641 426.11 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 426.11 8.8317 0.2006 re
-f*
-1 g
-376.085 426.11 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-379.096 426.11 8.2294 0.2006 re
-f*
-1 g
-387.325 426.11 4.4159 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 426.11 8.8316 0.2006 re
-f*
-1 g
-400.573 426.11 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-403.584 426.11 7.0252 0.2006 re
-f*
-1 g
-410.609 426.11 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-413.82 426.11 3.2116 0.2006 re
-f*
-0 g
-250.836 426.31 20.6741 0.2005 re
-f*
-1 g
-271.51 426.31 7.4266 0.2005 re
-f*
-0 g
-278.937 426.31 16.0575 0.2005 re
-f*
-1 g
-294.994 426.31 4.4159 0.2005 re
-f*
-0 g
-299.41 426.31 4.2151 0.2005 re
-f*
-1 g
-303.625 426.31 3.8137 0.2005 re
-f*
-0 g
-307.439 426.31 4.4158 0.2005 re
-f*
-1 g
-311.855 426.31 3.4122 0.2005 re
-f*
-0 g
-315.267 426.31 7.8281 0.2005 re
-f*
-1 g
-323.095 426.31 3.2115 0.2005 re
-f*
-0 g
-326.307 426.31 5.8208 0.2005 re
-f*
-1 g
-332.127 426.31 3.2116 0.2005 re
-f*
-0 g
-335.339 426.31 7.6273 0.2005 re
-f*
-1 g
-342.966 426.31 3.6129 0.2005 re
-f*
-0 g
-346.579 426.31 5.018 0.2005 re
-f*
-1 g
-351.597 426.31 8.2295 0.2005 re
-f*
-0.498 0 0.482 rg
-359.827 426.31 3.8137 0.2005 re
-f*
-1 g
-363.641 426.31 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 426.31 9.0324 0.2005 re
-f*
-1 g
-376.286 426.31 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-379.297 426.31 8.0287 0.2005 re
-f*
-1 g
-387.325 426.31 4.4159 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 426.31 9.0324 0.2005 re
-f*
-1 g
-400.774 426.31 2.81 0.2005 re
-f*
-0.498 0 0.482 rg
-403.584 426.31 7.0252 0.2005 re
-f*
-1 g
-410.609 426.31 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-413.82 426.31 3.2116 0.2005 re
-f*
-0 g
-250.836 426.511 20.6741 0.2006 re
-f*
-1 g
-271.51 426.511 7.4266 0.2006 re
-f*
-0 g
-278.937 426.511 16.0575 0.2006 re
-f*
-1 g
-294.994 426.511 4.4159 0.2006 re
-f*
-0 g
-299.41 426.511 4.2151 0.2006 re
-f*
-1 g
-303.625 426.511 3.8137 0.2006 re
-f*
-0 g
-307.439 426.511 4.6165 0.2006 re
-f*
-1 g
-312.056 426.511 3.2115 0.2006 re
-f*
-0 g
-315.267 426.511 7.8281 0.2006 re
-f*
-1 g
-323.095 426.511 3.0107 0.2006 re
-f*
-0 g
-326.106 426.511 6.2223 0.2006 re
-f*
-1 g
-332.328 426.511 3.2116 0.2006 re
-f*
-0 g
-335.54 426.511 7.4266 0.2006 re
-f*
-1 g
-342.966 426.511 3.4122 0.2006 re
-f*
-0 g
-346.379 426.511 5.2187 0.2006 re
-f*
-1 g
-351.597 426.511 8.2295 0.2006 re
-f*
-0.498 0 0.482 rg
-359.827 426.511 3.8137 0.2006 re
-f*
-1 g
-363.641 426.511 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 426.511 9.2331 0.2006 re
-f*
-1 g
-376.486 426.511 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-379.297 426.511 7.828 0.2006 re
-f*
-1 g
-387.125 426.511 4.6166 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 426.511 9.2331 0.2006 re
-f*
-1 g
-400.974 426.511 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-403.784 426.511 6.8244 0.2006 re
-f*
-1 g
-410.609 426.511 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-413.62 426.511 3.4123 0.2006 re
-f*
-0 g
-250.836 426.711 20.6741 0.2005 re
-f*
-1 g
-271.51 426.711 7.4266 0.2005 re
-f*
-0 g
-278.937 426.711 16.0575 0.2005 re
-f*
-1 g
-294.994 426.711 4.6166 0.2005 re
-f*
-0 g
-299.611 426.711 4.0144 0.2005 re
-f*
-1 g
-303.625 426.711 3.8137 0.2005 re
-f*
-0 g
-307.439 426.711 4.8172 0.2005 re
-f*
-1 g
-312.256 426.711 3.0108 0.2005 re
-f*
-0 g
-315.267 426.711 7.8281 0.2005 re
-f*
-1 g
-323.095 426.711 3.0107 0.2005 re
-f*
-0 g
-326.106 426.711 6.2223 0.2005 re
-f*
-1 g
-332.328 426.711 3.2116 0.2005 re
-f*
-0 g
-335.54 426.711 7.4266 0.2005 re
-f*
-1 g
-342.966 426.711 3.4122 0.2005 re
-f*
-0 g
-346.379 426.711 5.018 0.2005 re
-f*
-1 g
-351.397 426.711 8.4302 0.2005 re
-f*
-0.498 0 0.482 rg
-359.827 426.711 3.8137 0.2005 re
-f*
-1 g
-363.641 426.711 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 426.711 9.4339 0.2005 re
-f*
-1 g
-376.687 426.711 2.6093 0.2005 re
-f*
-0.498 0 0.482 rg
-379.297 426.711 7.6274 0.2005 re
-f*
-1 g
-386.924 426.711 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-387.928 426.711 0.2006 0.2005 re
-f*
-1 g
-388.128 426.711 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 426.711 9.4338 0.2005 re
-f*
-1 g
-401.175 426.711 2.6094 0.2005 re
-f*
-0.498 0 0.482 rg
-403.784 426.711 6.6237 0.2005 re
-f*
-1 g
-410.408 426.711 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-413.419 426.711 3.4122 0.2005 re
-f*
-0 g
-251.037 426.912 20.4734 0.2006 re
-f*
-1 g
-271.51 426.912 7.4266 0.2006 re
-f*
-0 g
-278.937 426.912 16.0575 0.2006 re
-f*
-1 g
-294.994 426.912 4.6166 0.2006 re
-f*
-0 g
-299.611 426.912 4.0144 0.2006 re
-f*
-1 g
-303.625 426.912 3.8137 0.2006 re
-f*
-0 g
-307.439 426.912 5.0179 0.2006 re
-f*
-1 g
-312.457 426.912 3.0108 0.2006 re
-f*
-0 g
-315.468 426.912 7.6274 0.2006 re
-f*
-1 g
-323.095 426.912 2.81 0.2006 re
-f*
-0 g
-325.905 426.912 6.6238 0.2006 re
-f*
-1 g
-332.529 426.912 3.0108 0.2006 re
-f*
-0 g
-335.54 426.912 7.4266 0.2006 re
-f*
-1 g
-342.966 426.912 3.2115 0.2006 re
-f*
-0 g
-346.178 426.912 5.2187 0.2006 re
-f*
-1 g
-351.397 426.912 8.4302 0.2006 re
-f*
-0.498 0 0.482 rg
-359.827 426.912 3.8137 0.2006 re
-f*
-1 g
-363.641 426.912 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 426.912 9.6346 0.2006 re
-f*
-1 g
-376.888 426.912 2.6093 0.2006 re
-f*
-0.498 0 0.482 rg
-379.497 426.912 7.4267 0.2006 re
-f*
-1 g
-386.924 426.912 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-387.928 426.912 0.2006 0.2006 re
-f*
-1 g
-388.128 426.912 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 426.912 9.6345 0.2006 re
-f*
-1 g
-401.376 426.912 2.6094 0.2006 re
-f*
-0.498 0 0.482 rg
-403.985 426.912 6.423 0.2006 re
-f*
-1 g
-410.408 426.912 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-413.419 426.912 3.4122 0.2006 re
-f*
-0 g
-251.037 427.113 20.4734 0.2006 re
-f*
-1 g
-271.51 427.113 7.4266 0.2006 re
-f*
-0 g
-278.937 427.113 16.0575 0.2006 re
-f*
-1 g
-294.994 427.113 3.613 0.2006 re
-f*
-0 g
-298.607 427.113 0.2007 0.2006 re
-f*
-1 g
-298.808 427.113 1.0036 0.2006 re
-f*
-0 g
-299.812 427.113 4.0144 0.2006 re
-f*
-1 g
-303.826 427.113 3.613 0.2006 re
-f*
-0 g
-307.439 427.113 5.0179 0.2006 re
-f*
-1 g
-312.457 427.113 3.0108 0.2006 re
-f*
-0 g
-315.468 427.113 7.6274 0.2006 re
-f*
-1 g
-323.095 427.113 2.6093 0.2006 re
-f*
-0 g
-325.704 427.113 7.0252 0.2006 re
-f*
-1 g
-332.73 427.113 3.0108 0.2006 re
-f*
-0 g
-335.74 427.113 7.0252 0.2006 re
-f*
-1 g
-342.766 427.113 3.4122 0.2006 re
-f*
-0 g
-346.178 427.113 5.018 0.2006 re
-f*
-1 g
-351.196 427.113 8.6309 0.2006 re
-f*
-0.498 0 0.482 rg
-359.827 427.113 3.8137 0.2006 re
-f*
-1 g
-363.641 427.113 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 427.113 9.8353 0.2006 re
-f*
-1 g
-377.089 427.113 2.6094 0.2006 re
-f*
-0.498 0 0.482 rg
-379.698 427.113 7.0251 0.2006 re
-f*
-1 g
-386.723 427.113 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-387.727 427.113 0.4014 0.2006 re
-f*
-1 g
-388.128 427.113 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 427.113 9.8352 0.2006 re
-f*
-1 g
-401.576 427.113 2.4087 0.2006 re
-f*
-0.498 0 0.482 rg
-403.985 427.113 6.2223 0.2006 re
-f*
-1 g
-410.207 427.113 3.0107 0.2006 re
-f*
-0.498 0 0.482 rg
-413.218 427.113 3.613 0.2006 re
-f*
-0 g
-251.037 427.313 20.4734 0.2005 re
-f*
-1 g
-271.51 427.313 7.4266 0.2005 re
-f*
-0 g
-278.937 427.313 16.0575 0.2005 re
-f*
-1 g
-294.994 427.313 3.613 0.2005 re
-f*
-0 g
-298.607 427.313 0.2007 0.2005 re
-f*
-1 g
-298.808 427.313 1.0036 0.2005 re
-f*
-0 g
-299.812 427.313 4.0144 0.2005 re
-f*
-1 g
-303.826 427.313 3.613 0.2005 re
-f*
-0 g
-307.439 427.313 5.2187 0.2005 re
-f*
-1 g
-312.658 427.313 2.81 0.2005 re
-f*
-0 g
-315.468 427.313 7.6274 0.2005 re
-f*
-1 g
-323.095 427.313 2.6093 0.2005 re
-f*
-0 g
-325.704 427.313 7.2259 0.2005 re
-f*
-1 g
-332.93 427.313 2.8101 0.2005 re
-f*
-0 g
-335.74 427.313 7.0252 0.2005 re
-f*
-1 g
-342.766 427.313 3.2114 0.2005 re
-f*
-0 g
-345.977 427.313 5.2188 0.2005 re
-f*
-1 g
-351.196 427.313 8.6309 0.2005 re
-f*
-0.498 0 0.482 rg
-359.827 427.313 3.8137 0.2005 re
-f*
-1 g
-363.641 427.313 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 427.313 10.036 0.2005 re
-f*
-1 g
-377.289 427.313 2.4087 0.2005 re
-f*
-0.498 0 0.482 rg
-379.698 427.313 6.8244 0.2005 re
-f*
-1 g
-386.522 427.313 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-387.526 427.313 0.6021 0.2005 re
-f*
-1 g
-388.128 427.313 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 427.313 10.036 0.2005 re
-f*
-1 g
-401.777 427.313 2.4086 0.2005 re
-f*
-0.498 0 0.482 rg
-404.186 427.313 6.0216 0.2005 re
-f*
-1 g
-410.207 427.313 2.8101 0.2005 re
-f*
-0.498 0 0.482 rg
-413.017 427.313 3.8136 0.2005 re
-f*
-0 g
-251.037 427.514 20.4734 0.2006 re
-f*
-1 g
-271.51 427.514 7.4266 0.2006 re
-f*
-0 g
-278.937 427.514 16.0575 0.2006 re
-f*
-1 g
-294.994 427.514 3.613 0.2006 re
-f*
-0 g
-298.607 427.514 0.4014 0.2006 re
-f*
-1 g
-299.009 427.514 1.0036 0.2006 re
-f*
-0 g
-300.012 427.514 3.8137 0.2006 re
-f*
-1 g
-303.826 427.514 3.613 0.2006 re
-f*
-0 g
-307.439 427.514 5.4194 0.2006 re
-f*
-1 g
-312.858 427.514 2.8101 0.2006 re
-f*
-0 g
-315.669 427.514 7.2258 0.2006 re
-f*
-1 g
-322.894 427.514 2.6094 0.2006 re
-f*
-0 g
-325.504 427.514 7.4266 0.2006 re
-f*
-1 g
-332.93 427.514 3.0108 0.2006 re
-f*
-0 g
-335.941 427.514 6.8245 0.2006 re
-f*
-1 g
-342.766 427.514 3.2114 0.2006 re
-f*
-0 g
-345.977 427.514 5.018 0.2006 re
-f*
-1 g
-350.995 427.514 8.8317 0.2006 re
-f*
-0.498 0 0.482 rg
-359.827 427.514 3.8137 0.2006 re
-f*
-1 g
-363.641 427.514 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 427.514 10.2367 0.2006 re
-f*
-1 g
-377.49 427.514 2.4087 0.2006 re
-f*
-0.498 0 0.482 rg
-379.899 427.514 6.4229 0.2006 re
-f*
-1 g
-386.322 427.514 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-387.325 427.514 0.8029 0.2006 re
-f*
-1 g
-388.128 427.514 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 427.514 10.2367 0.2006 re
-f*
-1 g
-401.978 427.514 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-404.386 427.514 5.6202 0.2006 re
-f*
-1 g
-410.007 427.514 2.81 0.2006 re
-f*
-0.498 0 0.482 rg
-412.817 427.514 3.8137 0.2006 re
-f*
-0 g
-251.238 427.714 20.2727 0.2005 re
-f*
-1 g
-271.51 427.714 7.4266 0.2005 re
-f*
-0 g
-278.937 427.714 16.0575 0.2005 re
-f*
-1 g
-294.994 427.714 3.613 0.2005 re
-f*
-0 g
-298.607 427.714 0.4014 0.2005 re
-f*
-1 g
-299.009 427.714 1.0036 0.2005 re
-f*
-0 g
-300.012 427.714 4.0144 0.2005 re
-f*
-1 g
-304.027 427.714 3.4123 0.2005 re
-f*
-0 g
-307.439 427.714 5.6201 0.2005 re
-f*
-1 g
-313.059 427.714 2.6094 0.2005 re
-f*
-0 g
-315.669 427.714 7.2258 0.2005 re
-f*
-1 g
-322.894 427.714 2.4087 0.2005 re
-f*
-0 g
-325.303 427.714 7.828 0.2005 re
-f*
-1 g
-333.131 427.714 2.8101 0.2005 re
-f*
-0 g
-335.941 427.714 6.8245 0.2005 re
-f*
-1 g
-342.766 427.714 3.0108 0.2005 re
-f*
-0 g
-345.776 427.714 5.018 0.2005 re
-f*
-1 g
-350.794 427.714 9.0323 0.2005 re
-f*
-0.498 0 0.482 rg
-359.827 427.714 3.8137 0.2005 re
-f*
-1 g
-363.641 427.714 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 427.714 10.4375 0.2005 re
-f*
-1 g
-377.691 427.714 2.4086 0.2005 re
-f*
-0.498 0 0.482 rg
-380.099 427.714 6.0215 0.2005 re
-f*
-1 g
-386.121 427.714 1.2043 0.2005 re
-f*
-0.498 0 0.482 rg
-387.325 427.714 0.8029 0.2005 re
-f*
-1 g
-388.128 427.714 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 427.714 10.4374 0.2005 re
-f*
-1 g
-402.179 427.714 2.4086 0.2005 re
-f*
-0.498 0 0.482 rg
-404.587 427.714 5.4195 0.2005 re
-f*
-1 g
-410.007 427.714 2.6093 0.2005 re
-f*
-0.498 0 0.482 rg
-412.616 427.714 4.0144 0.2005 re
-f*
-0 g
-251.238 427.915 20.2727 0.2006 re
-f*
-1 g
-271.51 427.915 7.4266 0.2006 re
-f*
-0 g
-278.937 427.915 16.0575 0.2006 re
-f*
-1 g
-294.994 427.915 3.613 0.2006 re
-f*
-0 g
-298.607 427.915 0.6021 0.2006 re
-f*
-1 g
-299.209 427.915 1.0036 0.2006 re
-f*
-0 g
-300.213 427.915 3.8137 0.2006 re
-f*
-1 g
-304.027 427.915 3.4123 0.2006 re
-f*
-0 g
-307.439 427.915 5.8208 0.2006 re
-f*
-1 g
-313.26 427.915 2.6093 0.2006 re
-f*
-0 g
-315.869 427.915 7.0252 0.2006 re
-f*
-1 g
-322.894 427.915 2.208 0.2006 re
-f*
-0 g
-325.102 427.915 8.2294 0.2006 re
-f*
-1 g
-333.332 427.915 2.8101 0.2006 re
-f*
-0 g
-336.142 427.915 6.423 0.2006 re
-f*
-1 g
-342.565 427.915 3.0108 0.2006 re
-f*
-0 g
-345.576 427.915 5.2188 0.2006 re
-f*
-1 g
-350.794 427.915 8.8316 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 427.915 4.0144 0.2006 re
-f*
-1 g
-363.641 427.915 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 427.915 10.6382 0.2006 re
-f*
-1 g
-377.892 427.915 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-380.3 427.915 5.6201 0.2006 re
-f*
-1 g
-385.92 427.915 1.2043 0.2006 re
-f*
-0.498 0 0.482 rg
-387.125 427.915 1.0036 0.2006 re
-f*
-1 g
-388.128 427.915 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 427.915 10.8388 0.2006 re
-f*
-1 g
-402.58 427.915 2.208 0.2006 re
-f*
-0.498 0 0.482 rg
-404.788 427.915 5.018 0.2006 re
-f*
-1 g
-409.806 427.915 2.6093 0.2006 re
-f*
-0.498 0 0.482 rg
-412.415 427.915 4.2151 0.2006 re
-f*
-0 g
-251.238 428.115 20.2727 0.2006 re
-f*
-1 g
-271.51 428.115 7.4266 0.2006 re
-f*
-0 g
-278.937 428.115 16.0575 0.2006 re
-f*
-1 g
-294.994 428.115 3.613 0.2006 re
-f*
-0 g
-298.607 428.115 0.8029 0.2006 re
-f*
-1 g
-299.41 428.115 1.0036 0.2006 re
-f*
-0 g
-300.414 428.115 3.6129 0.2006 re
-f*
-1 g
-304.027 428.115 3.4123 0.2006 re
-f*
-0 g
-307.439 428.115 6.0215 0.2006 re
-f*
-1 g
-313.461 428.115 2.4086 0.2006 re
-f*
-0 g
-315.869 428.115 6.8246 0.2006 re
-f*
-1 g
-322.694 428.115 2.2078 0.2006 re
-f*
-0 g
-324.902 428.115 8.631 0.2006 re
-f*
-1 g
-333.533 428.115 2.6093 0.2006 re
-f*
-0 g
-336.142 428.115 6.423 0.2006 re
-f*
-1 g
-342.565 428.115 2.8101 0.2006 re
-f*
-0 g
-345.375 428.115 5.2187 0.2006 re
-f*
-1 g
-350.594 428.115 9.0324 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 428.115 4.0144 0.2006 re
-f*
-1 g
-363.641 428.115 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 428.115 11.0396 0.2006 re
-f*
-1 g
-378.293 428.115 2.2079 0.2006 re
-f*
-0.498 0 0.482 rg
-380.501 428.115 5.018 0.2006 re
-f*
-1 g
-385.519 428.115 1.4051 0.2006 re
-f*
-0.498 0 0.482 rg
-386.924 428.115 1.2042 0.2006 re
-f*
-1 g
-388.128 428.115 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 428.115 11.0396 0.2006 re
-f*
-1 g
-402.781 428.115 2.2079 0.2006 re
-f*
-0.498 0 0.482 rg
-404.989 428.115 4.6165 0.2006 re
-f*
-1 g
-409.605 428.115 2.4087 0.2006 re
-f*
-0.498 0 0.482 rg
-412.014 428.115 4.6165 0.2006 re
-f*
-0 g
-251.238 428.316 20.2727 0.2005 re
-f*
-1 g
-271.51 428.316 7.4266 0.2005 re
-f*
-0 g
-278.937 428.316 16.0575 0.2005 re
-f*
-1 g
-294.994 428.316 3.613 0.2005 re
-f*
-0 g
-298.607 428.316 0.8029 0.2005 re
-f*
-1 g
-299.41 428.316 1.2043 0.2005 re
-f*
-0 g
-300.615 428.316 3.4122 0.2005 re
-f*
-1 g
-304.027 428.316 3.2115 0.2005 re
-f*
-0 g
-307.238 428.316 6.4231 0.2005 re
-f*
-1 g
-313.661 428.316 2.4086 0.2005 re
-f*
-0 g
-316.07 428.316 6.6238 0.2005 re
-f*
-1 g
-322.694 428.316 2.0071 0.2005 re
-f*
-0 g
-324.701 428.316 9.0324 0.2005 re
-f*
-1 g
-333.733 428.316 2.6094 0.2005 re
-f*
-0 g
-336.343 428.316 6.0215 0.2005 re
-f*
-1 g
-342.364 428.316 3.0108 0.2005 re
-f*
-0 g
-345.375 428.316 5.018 0.2005 re
-f*
-1 g
-350.393 428.316 9.2331 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 428.316 1.0036 0.2005 re
-f*
-1 g
-360.63 428.316 0.2007 0.2005 re
-f*
-0.498 0 0.482 rg
-360.83 428.316 2.8101 0.2005 re
-f*
-1 g
-363.641 428.316 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 428.316 11.2403 0.2005 re
-f*
-1 g
-378.494 428.316 2.4087 0.2005 re
-f*
-0.498 0 0.482 rg
-380.902 428.316 4.215 0.2005 re
-f*
-1 g
-385.117 428.316 1.6058 0.2005 re
-f*
-0.498 0 0.482 rg
-386.723 428.316 1.405 0.2005 re
-f*
-1 g
-388.128 428.316 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 428.316 11.441 0.2005 re
-f*
-1 g
-403.182 428.316 2.2079 0.2005 re
-f*
-0.498 0 0.482 rg
-405.39 428.316 3.8137 0.2005 re
-f*
-1 g
-409.204 428.316 2.6093 0.2005 re
-f*
-0.498 0 0.482 rg
-411.813 428.316 4.8173 0.2005 re
-f*
-0 g
-251.438 428.516 20.072 0.2006 re
-f*
-1 g
-271.51 428.516 7.4266 0.2006 re
-f*
-0 g
-278.937 428.516 16.0575 0.2006 re
-f*
-1 g
-294.994 428.516 3.613 0.2006 re
-f*
-0 g
-298.607 428.516 1.0036 0.2006 re
-f*
-1 g
-299.611 428.516 1.2043 0.2006 re
-f*
-0 g
-300.815 428.516 3.2115 0.2006 re
-f*
-1 g
-304.027 428.516 3.2115 0.2006 re
-f*
-0 g
-307.238 428.516 6.8245 0.2006 re
-f*
-1 g
-314.063 428.516 2.2079 0.2006 re
-f*
-0 g
-316.271 428.516 6.2223 0.2006 re
-f*
-1 g
-322.493 428.516 2.0072 0.2006 re
-f*
-0 g
-324.5 428.516 9.4338 0.2006 re
-f*
-1 g
-333.934 428.516 2.6094 0.2006 re
-f*
-0 g
-336.543 428.516 5.8208 0.2006 re
-f*
-1 g
-342.364 428.516 2.8101 0.2006 re
-f*
-0 g
-345.174 428.516 5.2187 0.2006 re
-f*
-1 g
-350.393 428.516 9.2331 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 428.516 1.0036 0.2006 re
-f*
-1 g
-360.63 428.516 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 428.516 11.6418 0.2006 re
-f*
-1 g
-378.895 428.516 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-381.304 428.516 3.4122 0.2006 re
-f*
-1 g
-384.716 428.516 1.6057 0.2006 re
-f*
-0.498 0 0.482 rg
-386.322 428.516 1.8065 0.2006 re
-f*
-1 g
-388.128 428.516 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 428.516 11.6417 0.2006 re
-f*
-1 g
-403.383 428.516 2.4087 0.2006 re
-f*
-0.498 0 0.482 rg
-405.792 428.516 3.0108 0.2006 re
-f*
-1 g
-408.802 428.516 2.6093 0.2006 re
-f*
-0.498 0 0.482 rg
-411.412 428.516 5.018 0.2006 re
-f*
-0 g
-251.438 428.717 20.072 0.2005 re
-f*
-1 g
-271.51 428.717 7.4266 0.2005 re
-f*
-0 g
-278.937 428.717 16.0575 0.2005 re
-f*
-1 g
-294.994 428.717 3.613 0.2005 re
-f*
-0 g
-298.607 428.717 1.2043 0.2005 re
-f*
-1 g
-299.812 428.717 1.2043 0.2005 re
-f*
-0 g
-301.016 428.717 3.0108 0.2005 re
-f*
-1 g
-304.027 428.717 3.2115 0.2005 re
-f*
-0 g
-307.238 428.717 7.0252 0.2005 re
-f*
-1 g
-314.263 428.717 2.2079 0.2005 re
-f*
-0 g
-316.471 428.717 6.0216 0.2005 re
-f*
-1 g
-322.493 428.717 1.8065 0.2005 re
-f*
-0 g
-324.299 428.717 10.0359 0.2005 re
-f*
-1 g
-334.335 428.717 2.4087 0.2005 re
-f*
-0 g
-336.744 428.717 5.4194 0.2005 re
-f*
-1 g
-342.163 428.717 2.81 0.2005 re
-f*
-0 g
-344.973 428.717 5.2188 0.2005 re
-f*
-1 g
-350.192 428.717 9.4338 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 428.717 1.0036 0.2005 re
-f*
-1 g
-360.63 428.717 6.6237 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 428.717 12.0432 0.2005 re
-f*
-1 g
-379.297 428.717 2.81 0.2005 re
-f*
-0.498 0 0.482 rg
-382.107 428.717 1.8066 0.2005 re
-f*
-1 g
-383.913 428.717 2.2078 0.2005 re
-f*
-0.498 0 0.482 rg
-386.121 428.717 2.0072 0.2005 re
-f*
-1 g
-388.128 428.717 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 428.717 12.0432 0.2005 re
-f*
-1 g
-403.784 428.717 2.81 0.2005 re
-f*
-0.498 0 0.482 rg
-406.594 428.717 1.6058 0.2005 re
-f*
-1 g
-408.2 428.717 2.8101 0.2005 re
-f*
-0.498 0 0.482 rg
-411.01 428.717 5.4194 0.2005 re
-f*
-0 g
-251.438 428.918 20.072 0.2006 re
-f*
-1 g
-271.51 428.918 7.4266 0.2006 re
-f*
-0 g
-278.937 428.918 16.0575 0.2006 re
-f*
-1 g
-294.994 428.918 3.613 0.2006 re
-f*
-0 g
-298.607 428.918 1.405 0.2006 re
-f*
-1 g
-300.012 428.918 1.2043 0.2006 re
-f*
-0 g
-301.217 428.918 2.8101 0.2006 re
-f*
-1 g
-304.027 428.918 3.0108 0.2006 re
-f*
-0 g
-307.038 428.918 7.4266 0.2006 re
-f*
-1 g
-314.464 428.918 2.2079 0.2006 re
-f*
-0 g
-316.672 428.918 5.6202 0.2006 re
-f*
-1 g
-322.292 428.918 1.8065 0.2006 re
-f*
-0 g
-324.099 428.918 10.4374 0.2006 re
-f*
-1 g
-334.536 428.918 2.4086 0.2006 re
-f*
-0 g
-336.945 428.918 5.018 0.2006 re
-f*
-1 g
-341.963 428.918 2.8101 0.2006 re
-f*
-0 g
-344.773 428.918 5.2186 0.2006 re
-f*
-1 g
-349.991 428.918 9.6346 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 428.918 1.0036 0.2006 re
-f*
-1 g
-360.63 428.918 6.6237 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 428.918 12.4447 0.2006 re
-f*
-1 g
-379.698 428.918 6.0215 0.2006 re
-f*
-0.498 0 0.482 rg
-385.72 428.918 2.4086 0.2006 re
-f*
-1 g
-388.128 428.918 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 428.918 12.6453 0.2006 re
-f*
-1 g
-404.386 428.918 6.2223 0.2006 re
-f*
-0.498 0 0.482 rg
-410.609 428.918 5.8209 0.2006 re
-f*
-0 g
-251.438 429.118 20.2727 0.2006 re
-f*
-1 g
-271.711 429.118 7.2259 0.2006 re
-f*
-0 g
-278.937 429.118 16.0575 0.2006 re
-f*
-1 g
-294.994 429.118 3.613 0.2006 re
-f*
-0 g
-298.607 429.118 1.6057 0.2006 re
-f*
-1 g
-300.213 429.118 1.2044 0.2006 re
-f*
-0 g
-301.417 429.118 2.4086 0.2006 re
-f*
-1 g
-303.826 429.118 3.2115 0.2006 re
-f*
-0 g
-307.038 429.118 7.828 0.2006 re
-f*
-1 g
-314.866 429.118 2.0072 0.2006 re
-f*
-0 g
-316.873 429.118 5.2188 0.2006 re
-f*
-1 g
-322.092 429.118 1.8064 0.2006 re
-f*
-0 g
-323.898 429.118 10.8389 0.2006 re
-f*
-1 g
-334.737 429.118 2.4086 0.2006 re
-f*
-0 g
-337.146 429.118 4.6166 0.2006 re
-f*
-1 g
-341.762 429.118 2.6093 0.2006 re
-f*
-0 g
-344.371 429.118 5.4195 0.2006 re
-f*
-1 g
-349.791 429.118 9.8352 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 429.118 20.4734 0.2006 re
-f*
-1 g
-380.099 429.118 5.2187 0.2006 re
-f*
-0.498 0 0.482 rg
-385.318 429.118 2.81 0.2006 re
-f*
-1 g
-388.128 429.118 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 429.118 13.0468 0.2006 re
-f*
-1 g
-404.788 429.118 5.4194 0.2006 re
-f*
-0.498 0 0.482 rg
-410.207 429.118 6.2223 0.2006 re
-f*
-0 g
-251.639 429.319 20.0719 0.2005 re
-f*
-1 g
-271.711 429.319 7.2259 0.2005 re
-f*
-0 g
-278.937 429.319 16.0575 0.2005 re
-f*
-1 g
-294.994 429.319 3.613 0.2005 re
-f*
-0 g
-298.607 429.319 1.8065 0.2005 re
-f*
-1 g
-300.414 429.319 1.405 0.2005 re
-f*
-0 g
-301.819 429.319 1.8065 0.2005 re
-f*
-1 g
-303.625 429.319 3.2115 0.2005 re
-f*
-0 g
-306.837 429.319 8.4302 0.2005 re
-f*
-1 g
-315.267 429.319 1.8065 0.2005 re
-f*
-0 g
-317.074 429.319 4.8172 0.2005 re
-f*
-1 g
-321.891 429.319 1.6058 0.2005 re
-f*
-0 g
-323.497 429.319 11.6417 0.2005 re
-f*
-1 g
-335.138 429.319 2.208 0.2005 re
-f*
-0 g
-337.346 429.319 4.2151 0.2005 re
-f*
-1 g
-341.561 429.319 2.6093 0.2005 re
-f*
-0 g
-344.171 429.319 5.6202 0.2005 re
-f*
-1 g
-349.791 429.319 9.8352 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 429.319 21.2763 0.2005 re
-f*
-1 g
-380.902 429.319 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-384.716 429.319 3.4122 0.2005 re
-f*
-1 g
-388.128 429.319 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 429.319 13.8497 0.2005 re
-f*
-1 g
-405.591 429.319 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-409.404 429.319 6.8244 0.2005 re
-f*
-0 g
-251.639 429.519 20.0719 0.2005 re
-f*
-1 g
-271.711 429.519 7.2259 0.2005 re
-f*
-0 g
-278.937 429.519 13.0467 0.2005 re
-f*
-1 g
-291.984 429.519 0.2008 0.2005 re
-f*
-0 g
-292.184 429.519 2.81 0.2005 re
-f*
-1 g
-294.994 429.519 3.613 0.2005 re
-f*
-0 g
-298.607 429.519 2.0072 0.2005 re
-f*
-1 g
-300.615 429.519 1.6057 0.2005 re
-f*
-0 g
-302.22 429.519 1.2044 0.2005 re
-f*
-1 g
-303.425 429.519 3.2115 0.2005 re
-f*
-0 g
-306.636 429.519 9.0324 0.2005 re
-f*
-1 g
-315.669 429.519 1.8064 0.2005 re
-f*
-0 g
-317.475 429.519 4.2152 0.2005 re
-f*
-1 g
-321.69 429.519 1.405 0.2005 re
-f*
-0 g
-323.095 429.519 12.2439 0.2005 re
-f*
-1 g
-335.339 429.519 2.4086 0.2005 re
-f*
-0 g
-337.748 429.519 3.6129 0.2005 re
-f*
-1 g
-341.361 429.519 2.4087 0.2005 re
-f*
-0 g
-343.769 429.519 5.8208 0.2005 re
-f*
-1 g
-349.59 429.519 10.036 0.2005 re
-f*
-0.498 0 0.482 rg
-359.626 429.519 22.4805 0.2005 re
-f*
-1 g
-382.107 429.519 1.4051 0.2005 re
-f*
-0.498 0 0.482 rg
-383.512 429.519 4.6165 0.2005 re
-f*
-1 g
-388.128 429.519 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 429.519 15.054 0.2005 re
-f*
-1 g
-406.795 429.519 1.6057 0.2005 re
-f*
-0.498 0 0.482 rg
-408.401 429.519 7.828 0.2005 re
-f*
-0 g
-251.639 429.72 20.0719 0.2006 re
-f*
-1 g
-271.711 429.72 7.2259 0.2006 re
-f*
-0 g
-278.937 429.72 13.0467 0.2006 re
-f*
-1 g
-291.984 429.72 6.6238 0.2006 re
-f*
-0 g
-298.607 429.72 2.2079 0.2006 re
-f*
-1 g
-300.815 429.72 5.6202 0.2006 re
-f*
-0 g
-306.435 429.72 9.6345 0.2006 re
-f*
-1 g
-316.07 429.72 1.8064 0.2006 re
-f*
-0 g
-317.876 429.72 3.4123 0.2006 re
-f*
-1 g
-321.289 429.72 1.4051 0.2006 re
-f*
-0 g
-322.694 429.72 13.0467 0.2006 re
-f*
-1 g
-335.74 429.72 2.6093 0.2006 re
-f*
-0 g
-338.35 429.72 2.4087 0.2006 re
-f*
-1 g
-340.758 429.72 2.81 0.2006 re
-f*
-0 g
-343.568 429.72 5.8209 0.2006 re
-f*
-1 g
-349.389 429.72 10.2367 0.2006 re
-f*
-0.498 0 0.482 rg
-359.626 429.72 28.5021 0.2006 re
-f*
-1 g
-388.128 429.72 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 429.72 24.4877 0.2006 re
-f*
-0 g
-251.639 429.92 20.0719 0.2006 re
-f*
-1 g
-271.711 429.92 7.2259 0.2006 re
-f*
-0 g
-278.937 429.92 13.0467 0.2006 re
-f*
-1 g
-291.984 429.92 6.6238 0.2006 re
-f*
-0 g
-298.607 429.92 2.6093 0.2006 re
-f*
-1 g
-301.217 429.92 5.018 0.2006 re
-f*
-0 g
-306.235 429.92 10.4374 0.2006 re
-f*
-1 g
-316.672 429.92 2.0073 0.2006 re
-f*
-0 g
-318.679 429.92 1.8064 0.2006 re
-f*
-1 g
-320.486 429.92 1.6058 0.2006 re
-f*
-0 g
-322.092 429.92 14.0503 0.2006 re
-f*
-1 g
-336.142 429.92 7.0252 0.2006 re
-f*
-0 g
-343.167 429.92 6.0216 0.2006 re
-f*
-1 g
-349.189 429.92 10.2367 0.2006 re
-f*
-0.498 0 0.482 rg
-359.425 429.92 28.7028 0.2006 re
-f*
-1 g
-388.128 429.92 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 429.92 24.2871 0.2006 re
-f*
-0 g
-251.84 430.121 19.8712 0.2006 re
-f*
-1 g
-271.711 430.121 7.2259 0.2006 re
-f*
-0 g
-278.937 430.121 13.0467 0.2006 re
-f*
-1 g
-291.984 430.121 6.6238 0.2006 re
-f*
-0 g
-298.607 430.121 2.8101 0.2006 re
-f*
-1 g
-301.417 430.121 4.4158 0.2006 re
-f*
-0 g
-305.833 430.121 11.6417 0.2006 re
-f*
-1 g
-317.475 430.121 4.0144 0.2006 re
-f*
-0 g
-321.489 430.121 15.2547 0.2006 re
-f*
-1 g
-336.744 430.121 6.0216 0.2006 re
-f*
-0 g
-342.766 430.121 6.2222 0.2006 re
-f*
-1 g
-348.988 430.121 10.4375 0.2006 re
-f*
-0.498 0 0.482 rg
-359.425 430.121 28.7028 0.2006 re
-f*
-1 g
-388.128 430.121 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 430.121 24.2871 0.2006 re
-f*
-0 g
-251.84 430.322 19.8712 0.2005 re
-f*
-1 g
-271.711 430.322 7.2259 0.2005 re
-f*
-0 g
-278.937 430.322 23.0827 0.2005 re
-f*
-1 g
-302.02 430.322 3.4123 0.2005 re
-f*
-0 g
-305.432 430.322 13.4481 0.2005 re
-f*
-1 g
-318.88 430.322 1.6058 0.2005 re
-f*
-0 g
-320.486 430.322 16.8605 0.2005 re
-f*
-1 g
-337.346 430.322 4.8172 0.2005 re
-f*
-0 g
-342.163 430.322 6.6238 0.2005 re
-f*
-1 g
-348.787 430.322 10.6381 0.2005 re
-f*
-0.498 0 0.482 rg
-359.425 430.322 28.7028 0.2005 re
-f*
-1 g
-388.128 430.322 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 430.322 24.2871 0.2005 re
-f*
-0 g
-251.84 430.522 19.8712 0.2006 re
-f*
-1 g
-271.711 430.522 7.2259 0.2006 re
-f*
-0 g
-278.937 430.522 23.6849 0.2006 re
-f*
-1 g
-302.622 430.522 2.2079 0.2006 re
-f*
-0 g
-304.83 430.522 33.3194 0.2006 re
-f*
-1 g
-338.149 430.522 3.2115 0.2006 re
-f*
-0 g
-341.361 430.522 7.2259 0.2006 re
-f*
-1 g
-348.586 430.522 10.8389 0.2006 re
-f*
-0.498 0 0.482 rg
-359.425 430.522 28.7028 0.2006 re
-f*
-1 g
-388.128 430.522 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 430.522 24.0863 0.2006 re
-f*
-0 g
-252.04 430.723 19.8712 0.2005 re
-f*
-1 g
-271.912 430.723 7.0252 0.2005 re
-f*
-0 g
-278.937 430.723 69.4489 0.2005 re
-f*
-1 g
-348.386 430.723 11.0396 0.2005 re
-f*
-0.498 0 0.482 rg
-359.425 430.723 28.7028 0.2005 re
-f*
-1 g
-388.128 430.723 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 430.723 24.0863 0.2005 re
-f*
-0 g
-252.04 430.923 19.8712 0.2006 re
-f*
-1 g
-271.912 430.923 7.0252 0.2006 re
-f*
-0 g
-278.937 430.923 69.2482 0.2006 re
-f*
-1 g
-348.185 430.923 11.0395 0.2006 re
-f*
-0.498 0 0.482 rg
-359.225 430.923 28.9036 0.2006 re
-f*
-1 g
-388.128 430.923 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 430.923 24.0863 0.2006 re
-f*
-0 g
-252.04 431.124 19.8712 0.2006 re
-f*
-1 g
-271.912 431.124 7.0252 0.2006 re
-f*
-0 g
-278.937 431.124 69.0474 0.2006 re
-f*
-1 g
-347.984 431.124 11.2403 0.2006 re
-f*
-0.498 0 0.482 rg
-359.225 431.124 28.9036 0.2006 re
-f*
-1 g
-388.128 431.124 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 431.124 23.8856 0.2006 re
-f*
-0 g
-252.241 431.324 19.6705 0.2005 re
-f*
-1 g
-271.912 431.324 7.0252 0.2005 re
-f*
-0 g
-278.937 431.324 68.8468 0.2005 re
-f*
-1 g
-347.784 431.324 11.4409 0.2005 re
-f*
-0.498 0 0.482 rg
-359.225 431.324 28.9036 0.2005 re
-f*
-1 g
-388.128 431.324 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 431.324 23.8856 0.2005 re
-f*
-0 g
-252.241 431.525 19.6705 0.2005 re
-f*
-1 g
-271.912 431.525 7.0252 0.2005 re
-f*
-0 g
-278.937 431.525 68.4453 0.2005 re
-f*
-1 g
-347.382 431.525 11.8424 0.2005 re
-f*
-0.498 0 0.482 rg
-359.225 431.525 28.9036 0.2005 re
-f*
-1 g
-388.128 431.525 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 431.525 23.8856 0.2005 re
-f*
-0 g
-252.241 431.725 19.6705 0.2006 re
-f*
-1 g
-271.912 431.725 7.0252 0.2006 re
-f*
-0 g
-278.937 431.725 68.2446 0.2006 re
-f*
-1 g
-347.181 431.725 11.8424 0.2006 re
-f*
-0.498 0 0.482 rg
-359.024 431.725 29.1043 0.2006 re
-f*
-1 g
-388.128 431.725 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 431.725 23.6849 0.2006 re
-f*
-0 g
-252.442 431.926 19.6705 0.2006 re
-f*
-1 g
-272.112 431.926 6.8245 0.2006 re
-f*
-0 g
-278.937 431.926 68.0438 0.2006 re
-f*
-1 g
-346.981 431.926 12.0432 0.2006 re
-f*
-0.498 0 0.482 rg
-359.024 431.926 29.1043 0.2006 re
-f*
-1 g
-388.128 431.926 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 431.926 23.6849 0.2006 re
-f*
-0 g
-252.442 432.127 19.6705 0.2005 re
-f*
-1 g
-272.112 432.127 6.8245 0.2005 re
-f*
-0 g
-278.937 432.127 67.6424 0.2005 re
-f*
-1 g
-346.579 432.127 12.4446 0.2005 re
-f*
-0.498 0 0.482 rg
-359.024 432.127 29.1043 0.2005 re
-f*
-1 g
-388.128 432.127 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 432.127 23.4841 0.2005 re
-f*
-0 g
-252.643 432.327 19.4697 0.2005 re
-f*
-1 g
-272.112 432.327 6.8245 0.2005 re
-f*
-0 g
-278.937 432.327 67.4417 0.2005 re
-f*
-1 g
-346.379 432.327 12.6453 0.2005 re
-f*
-0.498 0 0.482 rg
-359.024 432.327 29.1043 0.2005 re
-f*
-1 g
-388.128 432.327 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 432.327 23.4841 0.2005 re
-f*
-0 g
-252.643 432.528 19.4697 0.2006 re
-f*
-1 g
-272.112 432.528 6.8245 0.2006 re
-f*
-0 g
-278.937 432.528 67.0402 0.2006 re
-f*
-1 g
-345.977 432.528 12.8461 0.2006 re
-f*
-0.498 0 0.482 rg
-358.823 432.528 29.305 0.2006 re
-f*
-1 g
-388.128 432.528 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 432.528 23.4841 0.2006 re
-f*
-0 g
-252.643 432.728 19.6705 0.2006 re
-f*
-1 g
-272.313 432.728 6.6237 0.2006 re
-f*
-0 g
-278.937 432.728 66.8396 0.2006 re
-f*
-1 g
-345.776 432.728 13.0467 0.2006 re
-f*
-0.498 0 0.482 rg
-358.823 432.728 29.305 0.2006 re
-f*
-1 g
-388.128 432.728 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 432.728 23.2835 0.2006 re
-f*
-0 g
-252.843 432.929 19.4698 0.2006 re
-f*
-1 g
-272.313 432.929 6.6237 0.2006 re
-f*
-0 g
-278.937 432.929 66.4381 0.2006 re
-f*
-1 g
-345.375 432.929 13.4482 0.2006 re
-f*
-0.498 0 0.482 rg
-358.823 432.929 29.305 0.2006 re
-f*
-1 g
-388.128 432.929 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 432.929 23.2835 0.2006 re
-f*
-0 g
-252.843 433.129 19.4698 0.2006 re
-f*
-1 g
-272.313 433.129 6.6237 0.2006 re
-f*
-0 g
-278.937 433.129 66.0366 0.2006 re
-f*
-1 g
-344.973 433.129 13.649 0.2006 re
-f*
-0.498 0 0.482 rg
-358.623 433.129 29.5057 0.2006 re
-f*
-1 g
-388.128 433.129 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 433.129 23.2835 0.2006 re
-f*
-0 g
-253.044 433.33 19.2691 0.2005 re
-f*
-1 g
-272.313 433.33 6.8244 0.2005 re
-f*
-0 g
-279.138 433.33 65.4345 0.2005 re
-f*
-1 g
-344.572 433.33 14.0504 0.2005 re
-f*
-0.498 0 0.482 rg
-358.623 433.33 29.5057 0.2005 re
-f*
-1 g
-388.128 433.33 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 433.33 23.0827 0.2005 re
-f*
-0 g
-253.044 433.53 19.4698 0.2005 re
-f*
-1 g
-272.514 433.53 6.6237 0.2005 re
-f*
-0 g
-279.138 433.53 65.0331 0.2005 re
-f*
-1 g
-344.171 433.53 14.2511 0.2005 re
-f*
-0.498 0 0.482 rg
-358.422 433.53 29.7064 0.2005 re
-f*
-1 g
-388.128 433.53 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 433.53 23.0827 0.2005 re
-f*
-0 g
-253.044 433.731 19.4698 0.2006 re
-f*
-1 g
-272.514 433.731 6.6237 0.2006 re
-f*
-0 g
-279.138 433.731 64.6317 0.2006 re
-f*
-1 g
-343.769 433.731 14.6525 0.2006 re
-f*
-0.498 0 0.482 rg
-358.422 433.731 29.7064 0.2006 re
-f*
-1 g
-388.128 433.731 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 433.731 22.882 0.2006 re
-f*
-0 g
-253.245 433.932 19.2691 0.2006 re
-f*
-1 g
-272.514 433.932 6.6237 0.2006 re
-f*
-0 g
-279.138 433.932 64.2302 0.2006 re
-f*
-1 g
-343.368 433.932 14.8532 0.2006 re
-f*
-0.498 0 0.482 rg
-358.221 433.932 29.9072 0.2006 re
-f*
-1 g
-388.128 433.932 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 433.932 22.882 0.2006 re
-f*
-0 g
-253.245 434.132 19.2691 0.2005 re
-f*
-1 g
-272.514 434.132 6.6237 0.2005 re
-f*
-0 g
-279.138 434.132 63.8288 0.2005 re
-f*
-1 g
-342.966 434.132 15.2546 0.2005 re
-f*
-0.498 0 0.482 rg
-358.221 434.132 29.9072 0.2005 re
-f*
-1 g
-388.128 434.132 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 434.132 22.6813 0.2005 re
-f*
-0 g
-253.445 434.333 19.2691 0.2006 re
-f*
-1 g
-272.715 434.333 6.423 0.2006 re
-f*
-0 g
-279.138 434.333 15.4554 0.2006 re
-f*
-1 g
-294.593 434.333 2.4086 0.2006 re
-f*
-0 g
-297.002 434.333 45.3626 0.2006 re
-f*
-1 g
-342.364 434.333 15.6561 0.2006 re
-f*
-0.498 0 0.482 rg
-358.02 434.333 30.1079 0.2006 re
-f*
-1 g
-388.128 434.333 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 434.333 22.6813 0.2006 re
-f*
-0 g
-253.445 434.533 19.2691 0.2005 re
-f*
-1 g
-272.715 434.533 6.423 0.2005 re
-f*
-0 g
-279.138 434.533 14.6525 0.2005 re
-f*
-1 g
-293.79 434.533 3.8137 0.2005 re
-f*
-0 g
-297.604 434.533 44.359 0.2005 re
-f*
-1 g
-341.963 434.533 16.0575 0.2005 re
-f*
-0.498 0 0.482 rg
-358.02 434.533 30.1079 0.2005 re
-f*
-1 g
-388.128 434.533 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 434.533 22.4805 0.2005 re
-f*
-0 g
-253.646 434.734 19.0683 0.2006 re
-f*
-1 g
-272.715 434.734 6.423 0.2006 re
-f*
-0 g
-279.138 434.734 14.0504 0.2006 re
-f*
-1 g
-293.188 434.734 4.8172 0.2006 re
-f*
-0 g
-298.005 434.734 43.3554 0.2006 re
-f*
-1 g
-341.361 434.734 16.459 0.2006 re
-f*
-0.498 0 0.482 rg
-357.82 434.734 30.3086 0.2006 re
-f*
-1 g
-388.128 434.734 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 434.734 22.4805 0.2006 re
-f*
-0 g
-253.646 434.934 19.269 0.2005 re
-f*
-1 g
-272.915 434.934 6.2223 0.2005 re
-f*
-0 g
-279.138 434.934 13.6489 0.2005 re
-f*
-1 g
-292.786 434.934 5.6202 0.2005 re
-f*
-0 g
-298.407 434.934 42.3518 0.2005 re
-f*
-1 g
-340.758 434.934 17.0611 0.2005 re
-f*
-0.498 0 0.482 rg
-357.82 434.934 30.3086 0.2005 re
-f*
-1 g
-388.128 434.934 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 434.934 22.4805 0.2005 re
-f*
-0 g
-253.847 435.135 19.0683 0.2006 re
-f*
-1 g
-272.915 435.135 6.2223 0.2006 re
-f*
-0 g
-279.138 435.135 13.2475 0.2006 re
-f*
-1 g
-292.385 435.135 6.2223 0.2006 re
-f*
-0 g
-298.607 435.135 41.5489 0.2006 re
-f*
-1 g
-340.156 435.135 17.4626 0.2006 re
-f*
-0.498 0 0.482 rg
-357.619 435.135 30.5093 0.2006 re
-f*
-1 g
-388.128 435.135 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 435.135 22.2799 0.2006 re
-f*
-0 g
-253.847 435.335 19.0683 0.2005 re
-f*
-1 g
-272.915 435.335 6.2223 0.2005 re
-f*
-0 g
-279.138 435.335 13.0468 0.2005 re
-f*
-1 g
-292.184 435.335 6.6237 0.2005 re
-f*
-0 g
-298.808 435.335 40.7461 0.2005 re
-f*
-1 g
-339.554 435.335 17.864 0.2005 re
-f*
-0.498 0 0.482 rg
-357.418 435.335 30.71 0.2005 re
-f*
-1 g
-388.128 435.335 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 435.335 22.2799 0.2005 re
-f*
-0 g
-254.048 435.536 19.0683 0.2006 re
-f*
-1 g
-273.116 435.536 6.0216 0.2006 re
-f*
-0 g
-279.138 435.536 13.0468 0.2006 re
-f*
-1 g
-292.184 435.536 6.8244 0.2006 re
-f*
-0 g
-299.009 435.536 39.7425 0.2006 re
-f*
-1 g
-338.751 435.536 18.6669 0.2006 re
-f*
-0.498 0 0.482 rg
-357.418 435.536 30.71 0.2006 re
-f*
-1 g
-388.128 435.536 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 435.536 22.0791 0.2006 re
-f*
-0 g
-254.048 435.737 19.0683 0.2006 re
-f*
-1 g
-273.116 435.737 6.0216 0.2006 re
-f*
-0 g
-279.138 435.737 12.846 0.2006 re
-f*
-1 g
-291.984 435.737 7.0252 0.2006 re
-f*
-0 g
-299.009 435.737 39.1403 0.2006 re
-f*
-1 g
-338.149 435.737 19.0683 0.2006 re
-f*
-0.498 0 0.482 rg
-357.217 435.737 30.9108 0.2006 re
-f*
-1 g
-388.128 435.737 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 435.737 22.0791 0.2006 re
-f*
-0 g
-254.248 435.937 19.0683 0.2006 re
-f*
-1 g
-273.317 435.937 5.8209 0.2006 re
-f*
-0 g
-279.138 435.937 12.6453 0.2006 re
-f*
-1 g
-291.783 435.937 7.4266 0.2006 re
-f*
-0 g
-299.209 435.937 38.3375 0.2006 re
-f*
-1 g
-337.547 435.937 19.4697 0.2006 re
-f*
-0.498 0 0.482 rg
-357.017 435.937 31.1115 0.2006 re
-f*
-1 g
-388.128 435.937 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 435.937 21.8784 0.2006 re
-f*
-0 g
-254.248 436.138 19.0683 0.2005 re
-f*
-1 g
-273.317 436.138 6.0216 0.2005 re
-f*
-0 g
-279.338 436.138 12.4446 0.2005 re
-f*
-1 g
-291.783 436.138 7.4266 0.2005 re
-f*
-0 g
-299.209 436.138 37.7353 0.2005 re
-f*
-1 g
-336.945 436.138 20.0719 0.2005 re
-f*
-0.498 0 0.482 rg
-357.017 436.138 7.4267 0.2005 re
-f*
-1 g
-364.443 436.138 1.8064 0.2005 re
-f*
-0.498 0 0.482 rg
-366.25 436.138 21.8784 0.2005 re
-f*
-1 g
-388.128 436.138 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 436.138 21.8784 0.2005 re
-f*
-0 g
-254.449 436.338 19.0684 0.2005 re
-f*
-1 g
-273.517 436.338 5.8208 0.2005 re
-f*
-0 g
-279.338 436.338 12.4446 0.2005 re
-f*
-1 g
-291.783 436.338 7.6274 0.2005 re
-f*
-0 g
-299.41 436.338 36.9324 0.2005 re
-f*
-1 g
-336.343 436.338 20.4733 0.2005 re
-f*
-0.498 0 0.482 rg
-356.816 436.338 7.2259 0.2005 re
-f*
-1 g
-364.042 436.338 2.6094 0.2005 re
-f*
-0.498 0 0.482 rg
-366.651 436.338 21.4769 0.2005 re
-f*
-1 g
-388.128 436.338 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 436.338 21.6777 0.2005 re
-f*
-0 g
-254.449 436.539 19.0684 0.2006 re
-f*
-1 g
-273.517 436.539 5.8208 0.2006 re
-f*
-0 g
-279.338 436.539 12.4446 0.2006 re
-f*
-1 g
-291.783 436.539 7.8281 0.2006 re
-f*
-0 g
-299.611 436.539 35.9288 0.2006 re
-f*
-1 g
-335.54 436.539 21.0755 0.2006 re
-f*
-0.498 0 0.482 rg
-356.615 436.539 7.2259 0.2006 re
-f*
-1 g
-363.841 436.539 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-366.852 436.539 21.2762 0.2006 re
-f*
-1 g
-388.128 436.539 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 436.539 21.6777 0.2006 re
-f*
-0 g
-254.65 436.739 19.0684 0.2006 re
-f*
-1 g
-273.718 436.739 5.6201 0.2006 re
-f*
-0 g
-279.338 436.739 12.4446 0.2006 re
-f*
-1 g
-291.783 436.739 7.8281 0.2006 re
-f*
-0 g
-299.611 436.739 35.3266 0.2006 re
-f*
-1 g
-334.938 436.739 21.477 0.2006 re
-f*
-0.498 0 0.482 rg
-356.415 436.739 7.2259 0.2006 re
-f*
-1 g
-363.641 436.739 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-367.053 436.739 21.0755 0.2006 re
-f*
-1 g
-388.128 436.739 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 436.739 21.4769 0.2006 re
-f*
-0 g
-254.65 436.94 19.0684 0.2006 re
-f*
-1 g
-273.718 436.94 5.6201 0.2006 re
-f*
-0 g
-279.338 436.94 12.4446 0.2006 re
-f*
-1 g
-291.783 436.94 7.8281 0.2006 re
-f*
-0 g
-299.611 436.94 34.7244 0.2006 re
-f*
-1 g
-334.335 436.94 22.0792 0.2006 re
-f*
-0.498 0 0.482 rg
-356.415 436.94 7.0252 0.2006 re
-f*
-1 g
-363.44 436.94 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-367.253 436.94 20.8748 0.2006 re
-f*
-1 g
-388.128 436.94 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 436.94 21.2763 0.2006 re
-f*
-0 g
-254.851 437.141 19.0684 0.2005 re
-f*
-1 g
-273.919 437.141 5.4194 0.2005 re
-f*
-0 g
-279.338 437.141 12.4446 0.2005 re
-f*
-1 g
-291.783 437.141 8.0288 0.2005 re
-f*
-0 g
-299.812 437.141 33.9216 0.2005 re
-f*
-1 g
-333.733 437.141 22.4805 0.2005 re
-f*
-0.498 0 0.482 rg
-356.214 437.141 7.226 0.2005 re
-f*
-1 g
-363.44 437.141 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 437.141 20.8748 0.2005 re
-f*
-1 g
-388.128 437.141 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 437.141 21.2763 0.2005 re
-f*
-0 g
-254.851 437.341 19.0684 0.2005 re
-f*
-1 g
-273.919 437.341 5.4194 0.2005 re
-f*
-0 g
-279.338 437.341 12.4446 0.2005 re
-f*
-1 g
-291.783 437.341 8.0288 0.2005 re
-f*
-0 g
-299.812 437.341 33.3194 0.2005 re
-f*
-1 g
-333.131 437.341 22.882 0.2005 re
-f*
-0.498 0 0.482 rg
-356.013 437.341 7.2259 0.2005 re
-f*
-1 g
-363.239 437.341 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-367.454 437.341 20.674 0.2005 re
-f*
-1 g
-388.128 437.341 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 437.341 21.0755 0.2005 re
-f*
-0 g
-255.051 437.542 19.0683 0.2006 re
-f*
-1 g
-274.12 437.542 5.4195 0.2006 re
-f*
-0 g
-279.539 437.542 12.2438 0.2006 re
-f*
-1 g
-291.783 437.542 8.0288 0.2006 re
-f*
-0 g
-299.812 437.542 32.5165 0.2006 re
-f*
-1 g
-332.328 437.542 23.4842 0.2006 re
-f*
-0.498 0 0.482 rg
-355.812 437.542 7.4266 0.2006 re
-f*
-1 g
-363.239 437.542 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-367.454 437.542 20.674 0.2006 re
-f*
-1 g
-388.128 437.542 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 437.542 21.0755 0.2006 re
-f*
-0 g
-255.252 437.742 18.8676 0.2006 re
-f*
-1 g
-274.12 437.742 5.4195 0.2006 re
-f*
-0 g
-279.539 437.742 12.2438 0.2006 re
-f*
-1 g
-291.783 437.742 8.0288 0.2006 re
-f*
-0 g
-299.812 437.742 31.9144 0.2006 re
-f*
-1 g
-331.726 437.742 23.8856 0.2006 re
-f*
-0.498 0 0.482 rg
-355.612 437.742 7.6273 0.2006 re
-f*
-1 g
-363.239 437.742 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-367.454 437.742 20.674 0.2006 re
-f*
-1 g
-388.128 437.742 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 437.742 20.8748 0.2006 re
-f*
-0 g
-255.252 437.943 19.0683 0.2005 re
-f*
-1 g
-274.32 437.943 5.2188 0.2005 re
-f*
-0 g
-279.539 437.943 12.2438 0.2005 re
-f*
-1 g
-291.783 437.943 8.2295 0.2005 re
-f*
-0 g
-300.012 437.943 31.1115 0.2005 re
-f*
-1 g
-331.124 437.943 24.2871 0.2005 re
-f*
-0.498 0 0.482 rg
-355.411 437.943 7.828 0.2005 re
-f*
-1 g
-363.239 437.943 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-367.454 437.943 20.674 0.2005 re
-f*
-1 g
-388.128 437.943 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 437.943 20.8748 0.2005 re
-f*
-0 g
-255.453 438.143 19.0684 0.2006 re
-f*
-1 g
-274.521 438.143 5.018 0.2006 re
-f*
-0 g
-279.539 438.143 12.2438 0.2006 re
-f*
-1 g
-291.783 438.143 8.2295 0.2006 re
-f*
-0 g
-300.012 438.143 30.5094 0.2006 re
-f*
-1 g
-330.522 438.143 24.6885 0.2006 re
-f*
-0.498 0 0.482 rg
-355.21 438.143 8.0287 0.2006 re
-f*
-1 g
-363.239 438.143 4.4159 0.2006 re
-f*
-0.498 0 0.482 rg
-367.655 438.143 20.4733 0.2006 re
-f*
-1 g
-388.128 438.143 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 438.143 20.6741 0.2006 re
-f*
-0 g
-255.453 438.344 19.0684 0.2005 re
-f*
-1 g
-274.521 438.344 5.2186 0.2005 re
-f*
-0 g
-279.74 438.344 12.0432 0.2005 re
-f*
-1 g
-291.783 438.344 8.2295 0.2005 re
-f*
-0 g
-300.012 438.344 29.9072 0.2005 re
-f*
-1 g
-329.92 438.344 25.2907 0.2005 re
-f*
-0.498 0 0.482 rg
-355.21 438.344 8.0287 0.2005 re
-f*
-1 g
-363.239 438.344 4.4159 0.2005 re
-f*
-0.498 0 0.482 rg
-367.655 438.344 20.4733 0.2005 re
-f*
-1 g
-388.128 438.344 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 438.344 20.6741 0.2005 re
-f*
-0 g
-255.653 438.544 19.0683 0.2006 re
-f*
-1 g
-274.722 438.544 5.018 0.2006 re
-f*
-0 g
-279.74 438.544 12.2439 0.2006 re
-f*
-1 g
-291.984 438.544 8.0288 0.2006 re
-f*
-0 g
-300.012 438.544 29.3051 0.2006 re
-f*
-1 g
-329.317 438.544 25.692 0.2006 re
-f*
-0.498 0 0.482 rg
-355.01 438.544 8.2295 0.2006 re
-f*
-1 g
-363.239 438.544 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-367.454 438.544 20.674 0.2006 re
-f*
-1 g
-388.128 438.544 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 438.544 20.4734 0.2006 re
-f*
-0 g
-255.653 438.745 19.2691 0.2006 re
-f*
-1 g
-274.922 438.745 4.8172 0.2006 re
-f*
-0 g
-279.74 438.745 12.2439 0.2006 re
-f*
-1 g
-291.984 438.745 8.0288 0.2006 re
-f*
-0 g
-300.012 438.745 28.7029 0.2006 re
-f*
-1 g
-328.715 438.745 26.0935 0.2006 re
-f*
-0.498 0 0.482 rg
-354.809 438.745 8.4302 0.2006 re
-f*
-1 g
-363.239 438.745 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-367.454 438.745 20.674 0.2006 re
-f*
-1 g
-388.128 438.745 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 438.745 20.2727 0.2006 re
-f*
-0 g
-255.854 438.946 19.0684 0.2005 re
-f*
-1 g
-274.922 438.946 4.8172 0.2005 re
-f*
-0 g
-279.74 438.946 12.4447 0.2005 re
-f*
-1 g
-292.184 438.946 7.828 0.2005 re
-f*
-0 g
-300.012 438.946 28.1007 0.2005 re
-f*
-1 g
-328.113 438.946 26.2943 0.2005 re
-f*
-0.498 0 0.482 rg
-354.407 438.946 8.8316 0.2005 re
-f*
-1 g
-363.239 438.946 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-367.454 438.946 20.674 0.2005 re
-f*
-1 g
-388.128 438.946 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 438.946 20.2727 0.2005 re
-f*
-0 g
-256.055 439.146 19.0683 0.2006 re
-f*
-1 g
-275.123 439.146 4.8173 0.2006 re
-f*
-0 g
-279.94 439.146 12.2439 0.2006 re
-f*
-1 g
-292.184 439.146 7.828 0.2006 re
-f*
-0 g
-300.012 439.146 27.4986 0.2006 re
-f*
-1 g
-327.511 439.146 26.6957 0.2006 re
-f*
-0.498 0 0.482 rg
-354.207 439.146 9.0323 0.2006 re
-f*
-1 g
-363.239 439.146 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-367.454 439.146 20.674 0.2006 re
-f*
-1 g
-388.128 439.146 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 439.146 20.0719 0.2006 re
-f*
-0 g
-256.055 439.347 19.269 0.2005 re
-f*
-1 g
-275.324 439.347 4.6166 0.2005 re
-f*
-0 g
-279.94 439.347 12.4446 0.2005 re
-f*
-1 g
-292.385 439.347 7.6273 0.2005 re
-f*
-0 g
-300.012 439.347 26.8964 0.2005 re
-f*
-1 g
-326.909 439.347 27.0971 0.2005 re
-f*
-0.498 0 0.482 rg
-354.006 439.347 9.4339 0.2005 re
-f*
-1 g
-363.44 439.347 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-367.253 439.347 20.8748 0.2005 re
-f*
-1 g
-388.128 439.347 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 439.347 19.8712 0.2005 re
-f*
-0 g
-256.256 439.547 19.2691 0.2006 re
-f*
-1 g
-275.525 439.547 4.4158 0.2006 re
-f*
-0 g
-279.94 439.547 12.4446 0.2006 re
-f*
-1 g
-292.385 439.547 7.6273 0.2006 re
-f*
-0 g
-300.012 439.547 26.495 0.2006 re
-f*
-1 g
-326.507 439.547 27.2979 0.2006 re
-f*
-0.498 0 0.482 rg
-353.805 439.547 9.8352 0.2006 re
-f*
-1 g
-363.641 439.547 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-367.053 439.547 21.0755 0.2006 re
-f*
-1 g
-388.128 439.547 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 439.547 19.8712 0.2006 re
-f*
-0 g
-256.456 439.748 19.0684 0.2006 re
-f*
-1 g
-275.525 439.748 4.6165 0.2006 re
-f*
-0 g
-280.141 439.748 12.4446 0.2006 re
-f*
-1 g
-292.586 439.748 7.2259 0.2006 re
-f*
-0 g
-299.812 439.748 26.0935 0.2006 re
-f*
-1 g
-325.905 439.748 27.6993 0.2006 re
-f*
-0.498 0 0.482 rg
-353.605 439.748 10.2367 0.2006 re
-f*
-1 g
-363.841 439.748 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-367.053 439.748 21.0755 0.2006 re
-f*
-1 g
-388.128 439.748 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 439.748 19.6705 0.2006 re
-f*
-0 g
-256.456 439.948 19.269 0.2005 re
-f*
-1 g
-275.725 439.948 4.4159 0.2005 re
-f*
-0 g
-280.141 439.948 12.6453 0.2005 re
-f*
-1 g
-292.786 439.948 7.0252 0.2005 re
-f*
-0 g
-299.812 439.948 25.6921 0.2005 re
-f*
-1 g
-325.504 439.948 27.6993 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 439.948 10.8388 0.2005 re
-f*
-1 g
-364.042 439.948 2.6094 0.2005 re
-f*
-0.498 0 0.482 rg
-366.651 439.948 18.4661 0.2005 re
-f*
-1 g
-385.117 439.948 0.2008 0.2005 re
-f*
-0.498 0 0.482 rg
-385.318 439.948 2.81 0.2005 re
-f*
-1 g
-388.128 439.948 3.613 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 439.948 19.6705 0.2005 re
-f*
-0 g
-256.657 440.149 19.2691 0.2006 re
-f*
-1 g
-275.926 440.149 4.2151 0.2006 re
-f*
-0 g
-280.141 440.149 12.6453 0.2006 re
-f*
-1 g
-292.786 440.149 7.0252 0.2006 re
-f*
-0 g
-299.812 440.149 25.2907 0.2006 re
-f*
-1 g
-325.102 440.149 27.8999 0.2006 re
-f*
-0.498 0 0.482 rg
-353.002 440.149 11.2403 0.2006 re
-f*
-1 g
-364.243 440.149 2.208 0.2006 re
-f*
-0.498 0 0.482 rg
-366.451 440.149 18.6668 0.2006 re
-f*
-1 g
-385.117 440.149 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 440.149 19.4698 0.2006 re
-f*
-0 g
-256.858 440.35 19.2691 0.2005 re
-f*
-1 g
-276.127 440.35 4.2151 0.2005 re
-f*
-0 g
-280.342 440.35 12.6453 0.2005 re
-f*
-1 g
-292.987 440.35 6.8245 0.2005 re
-f*
-0 g
-299.812 440.35 24.6885 0.2005 re
-f*
-1 g
-324.5 440.35 28.1007 0.2005 re
-f*
-0.498 0 0.482 rg
-352.601 440.35 12.2439 0.2005 re
-f*
-1 g
-364.845 440.35 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-365.848 440.35 19.269 0.2005 re
-f*
-1 g
-385.117 440.35 6.6238 0.2005 re
-f*
-0.498 0 0.482 rg
-391.741 440.35 19.2691 0.2005 re
-f*
-0 g
-256.858 440.55 19.4698 0.2006 re
-f*
-1 g
-276.327 440.55 4.0144 0.2006 re
-f*
-0 g
-280.342 440.55 12.6453 0.2006 re
-f*
-1 g
-292.987 440.55 6.6238 0.2006 re
-f*
-0 g
-299.611 440.55 24.4878 0.2006 re
-f*
-1 g
-324.099 440.55 28.3014 0.2006 re
-f*
-0.498 0 0.482 rg
-352.4 440.55 32.7172 0.2006 re
-f*
-1 g
-385.117 440.55 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-391.741 440.55 19.2691 0.2006 re
-f*
-0 g
-257.058 440.751 19.4698 0.2005 re
-f*
-1 g
-276.528 440.751 4.0144 0.2005 re
-f*
-0 g
-280.543 440.751 12.6453 0.2005 re
-f*
-1 g
-293.188 440.751 6.423 0.2005 re
-f*
-0 g
-299.611 440.751 24.0863 0.2005 re
-f*
-1 g
-323.697 440.751 28.3014 0.2005 re
-f*
-0.498 0 0.482 rg
-351.999 440.751 58.8108 0.2005 re
-f*
-0 g
-257.259 440.951 19.4697 0.2006 re
-f*
-1 g
-276.729 440.951 3.8138 0.2006 re
-f*
-0 g
-280.543 440.951 12.6453 0.2006 re
-f*
-1 g
-293.188 440.951 6.423 0.2006 re
-f*
-0 g
-299.611 440.951 23.6849 0.2006 re
-f*
-1 g
-323.296 440.951 28.5022 0.2006 re
-f*
-0.498 0 0.482 rg
-351.798 440.951 58.8107 0.2006 re
-f*
-0 g
-257.259 441.152 19.6705 0.2006 re
-f*
-1 g
-276.93 441.152 3.8136 0.2006 re
-f*
-0 g
-280.743 441.152 12.4447 0.2006 re
-f*
-1 g
-293.188 441.152 6.2223 0.2006 re
-f*
-0 g
-299.41 441.152 23.4841 0.2006 re
-f*
-1 g
-322.894 441.152 28.5022 0.2006 re
-f*
-0.498 0 0.482 rg
-351.397 441.152 59.0115 0.2006 re
-f*
-0 g
-257.46 441.352 19.6705 0.2005 re
-f*
-1 g
-277.13 441.352 3.6129 0.2005 re
-f*
-0 g
-280.743 441.352 12.4447 0.2005 re
-f*
-1 g
-293.188 441.352 6.2223 0.2005 re
-f*
-0 g
-299.41 441.352 23.0827 0.2005 re
-f*
-1 g
-322.493 441.352 28.5021 0.2005 re
-f*
-0.498 0 0.482 rg
-350.995 441.352 59.413 0.2005 re
-f*
-0 g
-257.661 441.553 19.6705 0.2006 re
-f*
-1 g
-277.331 441.553 3.613 0.2006 re
-f*
-0 g
-280.944 441.553 12.4446 0.2006 re
-f*
-1 g
-293.389 441.553 5.8208 0.2006 re
-f*
-0 g
-299.209 441.553 23.0828 0.2006 re
-f*
-1 g
-322.292 441.553 28.5022 0.2006 re
-f*
-0.498 0 0.482 rg
-350.794 441.553 59.4129 0.2006 re
-f*
-0 g
-257.661 441.753 19.8713 0.2005 re
-f*
-1 g
-277.532 441.753 3.4122 0.2005 re
-f*
-0 g
-280.944 441.753 12.4446 0.2005 re
-f*
-1 g
-293.389 441.753 5.8208 0.2005 re
-f*
-0 g
-299.209 441.753 22.6813 0.2005 re
-f*
-1 g
-321.891 441.753 28.5022 0.2005 re
-f*
-0.498 0 0.482 rg
-350.393 441.753 59.6137 0.2005 re
-f*
-0 g
-257.861 441.954 19.8712 0.2006 re
-f*
-1 g
-277.732 441.954 3.4123 0.2006 re
-f*
-0 g
-281.145 441.954 12.2439 0.2006 re
-f*
-1 g
-293.389 441.954 5.6201 0.2006 re
-f*
-0 g
-299.009 441.954 22.4806 0.2006 re
-f*
-1 g
-321.489 441.954 28.5021 0.2006 re
-f*
-0.498 0 0.482 rg
-349.991 441.954 60.0152 0.2006 re
-f*
-0 g
-258.062 442.155 19.8712 0.2006 re
-f*
-1 g
-277.933 442.155 3.4122 0.2006 re
-f*
-0 g
-281.346 442.155 12.0432 0.2006 re
-f*
-1 g
-293.389 442.155 5.6201 0.2006 re
-f*
-0 g
-299.009 442.155 22.2799 0.2006 re
-f*
-1 g
-321.289 442.155 28.1007 0.2006 re
-f*
-0.498 0 0.482 rg
-349.389 442.155 60.4166 0.2006 re
-f*
-0 g
-258.263 442.355 19.8712 0.2005 re
-f*
-1 g
-278.134 442.355 3.4123 0.2005 re
-f*
-0 g
-281.546 442.355 11.8424 0.2005 re
-f*
-1 g
-293.389 442.355 5.4194 0.2005 re
-f*
-0 g
-298.808 442.355 22.0791 0.2005 re
-f*
-1 g
-320.887 442.355 28.1007 0.2005 re
-f*
-0.498 0 0.482 rg
-348.988 442.355 60.6173 0.2005 re
-f*
-0 g
-258.263 442.556 20.0719 0.2006 re
-f*
-1 g
-278.335 442.556 3.2116 0.2006 re
-f*
-0 g
-281.546 442.556 11.8424 0.2006 re
-f*
-1 g
-293.389 442.556 5.2187 0.2006 re
-f*
-0 g
-298.607 442.556 22.0792 0.2006 re
-f*
-1 g
-320.687 442.556 27.6992 0.2006 re
-f*
-0.498 0 0.482 rg
-348.386 442.556 61.0187 0.2006 re
-f*
-0 g
-258.463 442.756 20.072 0.2005 re
-f*
-1 g
-278.535 442.756 3.2114 0.2005 re
-f*
-0 g
-281.747 442.756 11.6418 0.2005 re
-f*
-1 g
-293.389 442.756 5.2187 0.2005 re
-f*
-0 g
-298.607 442.756 21.6777 0.2005 re
-f*
-1 g
-320.285 442.756 27.6992 0.2005 re
-f*
-0.498 0 0.482 rg
-347.984 442.756 61.4202 0.2005 re
-f*
-0 g
-258.664 442.957 20.0719 0.2006 re
-f*
-1 g
-278.736 442.957 3.2116 0.2006 re
-f*
-0 g
-281.948 442.957 11.441 0.2006 re
-f*
-1 g
-293.389 442.957 5.018 0.2006 re
-f*
-0 g
-298.407 442.957 21.6777 0.2006 re
-f*
-1 g
-320.084 442.957 27.2978 0.2006 re
-f*
-0.498 0 0.482 rg
-347.382 442.957 61.8216 0.2006 re
-f*
-0 g
-258.865 443.157 20.2727 0.2006 re
-f*
-1 g
-279.138 443.157 3.0108 0.2006 re
-f*
-0 g
-282.148 443.157 11.2403 0.2006 re
-f*
-1 g
-293.389 443.157 4.8173 0.2006 re
-f*
-0 g
-298.206 443.157 21.6776 0.2006 re
-f*
-1 g
-319.884 443.157 26.8965 0.2006 re
-f*
-0.498 0 0.482 rg
-346.78 443.157 62.223 0.2006 re
-f*
-0 g
-258.865 443.358 20.4734 0.2005 re
-f*
-1 g
-279.338 443.358 3.0108 0.2005 re
-f*
-0 g
-282.349 443.358 11.0396 0.2005 re
-f*
-1 g
-293.389 443.358 4.6165 0.2005 re
-f*
-0 g
-298.005 443.358 21.477 0.2005 re
-f*
-1 g
-319.482 443.358 26.6957 0.2005 re
-f*
-0.498 0 0.482 rg
-346.178 443.358 62.6245 0.2005 re
-f*
-0 g
-259.066 443.558 20.4734 0.2006 re
-f*
-1 g
-279.539 443.558 3.0108 0.2006 re
-f*
-0 g
-282.55 443.558 10.8388 0.2006 re
-f*
-1 g
-293.389 443.558 4.4158 0.2006 re
-f*
-0 g
-297.805 443.558 21.477 0.2006 re
-f*
-1 g
-319.281 443.558 26.2942 0.2006 re
-f*
-0.498 0 0.482 rg
-345.576 443.558 63.2267 0.2006 re
-f*
-0 g
-259.266 443.759 20.4733 0.2005 re
-f*
-1 g
-279.74 443.759 3.0108 0.2005 re
-f*
-0 g
-282.75 443.759 10.4375 0.2005 re
-f*
-1 g
-293.188 443.759 4.4158 0.2005 re
-f*
-0 g
-297.604 443.759 21.4769 0.2005 re
-f*
-1 g
-319.081 443.759 25.8928 0.2005 re
-f*
-0.498 0 0.482 rg
-344.973 443.759 63.6281 0.2005 re
-f*
-0 g
-259.467 443.959 20.6741 0.2006 re
-f*
-1 g
-280.141 443.959 2.8101 0.2006 re
-f*
-0 g
-282.951 443.959 10.2367 0.2006 re
-f*
-1 g
-293.188 443.959 4.2151 0.2006 re
-f*
-0 g
-297.403 443.959 21.4769 0.2006 re
-f*
-1 g
-318.88 443.959 25.6921 0.2006 re
-f*
-0.498 0 0.482 rg
-344.572 443.959 63.8288 0.2006 re
-f*
-0 g
-259.668 444.16 20.6741 0.2006 re
-f*
-1 g
-280.342 444.16 2.8101 0.2006 re
-f*
-0 g
-283.152 444.16 9.8352 0.2006 re
-f*
-1 g
-292.987 444.16 4.2152 0.2006 re
-f*
-0 g
-297.202 444.16 21.477 0.2006 re
-f*
-1 g
-318.679 444.16 25.2905 0.2006 re
-f*
-0.498 0 0.482 rg
-343.97 444.16 64.2303 0.2006 re
-f*
-0 g
-259.868 444.361 20.8748 0.2005 re
-f*
-1 g
-280.743 444.361 2.6094 0.2005 re
-f*
-0 g
-283.353 444.361 9.6345 0.2005 re
-f*
-1 g
-292.987 444.361 4.0144 0.2005 re
-f*
-0 g
-297.002 444.361 21.477 0.2005 re
-f*
-1 g
-318.479 444.361 24.8892 0.2005 re
-f*
-0.498 0 0.482 rg
-343.368 444.361 64.6317 0.2005 re
-f*
-0 g
-259.868 444.561 21.0756 0.2005 re
-f*
-1 g
-280.944 444.561 2.81 0.2005 re
-f*
-0 g
-283.754 444.561 9.0324 0.2005 re
-f*
-1 g
-292.786 444.561 4.0144 0.2005 re
-f*
-0 g
-296.801 444.561 21.477 0.2005 re
-f*
-1 g
-318.278 444.561 24.287 0.2005 re
-f*
-0.498 0 0.482 rg
-342.565 444.561 65.2339 0.2005 re
-f*
-0 g
-260.069 444.762 21.2762 0.2006 re
-f*
-1 g
-281.346 444.762 2.6094 0.2006 re
-f*
-0 g
-283.955 444.762 8.6309 0.2006 re
-f*
-1 g
-292.586 444.762 4.0144 0.2006 re
-f*
-0 g
-296.6 444.762 21.4769 0.2006 re
-f*
-1 g
-318.077 444.762 23.8857 0.2006 re
-f*
-0.498 0 0.482 rg
-341.963 444.762 65.836 0.2006 re
-f*
-0 g
-260.27 444.962 21.2763 0.2006 re
-f*
-1 g
-281.546 444.962 2.81 0.2006 re
-f*
-0 g
-284.356 444.962 8.0288 0.2006 re
-f*
-1 g
-292.385 444.962 3.8137 0.2006 re
-f*
-0 g
-296.199 444.962 21.6776 0.2006 re
-f*
-1 g
-317.876 444.962 23.4842 0.2006 re
-f*
-0.498 0 0.482 rg
-341.361 444.962 66.2374 0.2006 re
-f*
-0 g
-260.471 445.163 21.477 0.2006 re
-f*
-1 g
-281.948 445.163 2.6094 0.2006 re
-f*
-0 g
-284.557 445.163 7.6273 0.2006 re
-f*
-1 g
-292.184 445.163 3.8136 0.2006 re
-f*
-0 g
-295.998 445.163 21.6778 0.2006 re
-f*
-1 g
-317.676 445.163 23.0827 0.2006 re
-f*
-0.498 0 0.482 rg
-340.758 445.163 66.6388 0.2006 re
-f*
-0 g
-260.671 445.363 21.6777 0.2005 re
-f*
-1 g
-282.349 445.363 2.8101 0.2005 re
-f*
-0 g
-285.159 445.363 6.6237 0.2005 re
-f*
-1 g
-291.783 445.363 3.8137 0.2005 re
-f*
-0 g
-295.597 445.363 21.8784 0.2005 re
-f*
-1 g
-317.475 445.363 22.6813 0.2005 re
-f*
-0.498 0 0.482 rg
-340.156 445.363 67.0403 0.2005 re
-f*
-0 g
-260.872 445.564 21.8784 0.2006 re
-f*
-1 g
-282.75 445.564 2.8101 0.2006 re
-f*
-0 g
-285.561 445.564 5.6202 0.2006 re
-f*
-1 g
-291.181 445.564 4.0144 0.2006 re
-f*
-0 g
-295.195 445.564 22.0791 0.2006 re
-f*
-1 g
-317.274 445.564 22.2799 0.2006 re
-f*
-0.498 0 0.482 rg
-339.554 445.564 67.4417 0.2006 re
-f*
-0 g
-261.073 445.765 22.0792 0.2005 re
-f*
-1 g
-283.152 445.765 3.0108 0.2005 re
-f*
-0 g
-286.163 445.765 4.2151 0.2005 re
-f*
-1 g
-290.378 445.765 4.4158 0.2005 re
-f*
-0 g
-294.794 445.765 22.2799 0.2005 re
-f*
-1 g
-317.074 445.765 21.8784 0.2005 re
-f*
-0.498 0 0.482 rg
-338.952 445.765 67.8432 0.2005 re
-f*
-0 g
-261.073 445.965 22.4807 0.2006 re
-f*
-1 g
-283.553 445.965 3.6129 0.2006 re
-f*
-0 g
-287.166 445.965 2.2079 0.2006 re
-f*
-1 g
-289.374 445.965 5.018 0.2006 re
-f*
-0 g
-294.392 445.965 22.4805 0.2006 re
-f*
-1 g
-316.873 445.965 21.477 0.2006 re
-f*
-0.498 0 0.482 rg
-338.35 445.965 68.2446 0.2006 re
-f*
-0 g
-261.274 446.166 22.882 0.2006 re
-f*
-1 g
-284.156 446.166 9.8352 0.2006 re
-f*
-0 g
-293.991 446.166 22.6813 0.2006 re
-f*
-1 g
-316.672 446.166 21.0756 0.2006 re
-f*
-0.498 0 0.482 rg
-337.748 446.166 68.646 0.2006 re
-f*
-0 g
-261.474 446.366 23.2834 0.2005 re
-f*
-1 g
-284.758 446.366 8.631 0.2005 re
-f*
-0 g
-293.389 446.366 23.2834 0.2005 re
-f*
-1 g
-316.672 446.366 20.4734 0.2005 re
-f*
-0.498 0 0.482 rg
-337.146 446.366 69.0475 0.2005 re
-f*
-0 g
-261.675 446.567 23.6849 0.2005 re
-f*
-1 g
-285.36 446.567 7.4266 0.2005 re
-f*
-0 g
-292.786 446.567 23.6849 0.2005 re
-f*
-1 g
-316.471 446.567 19.8713 0.2005 re
-f*
-0.498 0 0.482 rg
-336.343 446.567 69.8503 0.2005 re
-f*
-0 g
-261.876 446.767 24.2871 0.2006 re
-f*
-1 g
-286.163 446.767 5.6201 0.2006 re
-f*
-0 g
-291.783 446.767 24.4878 0.2006 re
-f*
-1 g
-316.271 446.767 19.4698 0.2006 re
-f*
-0.498 0 0.482 rg
-335.74 446.767 70.2518 0.2006 re
-f*
-0 g
-262.076 446.968 25.2907 0.2006 re
-f*
-1 g
-287.367 446.968 3.2115 0.2006 re
-f*
-0 g
-290.579 446.968 25.6921 0.2006 re
-f*
-1 g
-316.271 446.968 18.8676 0.2006 re
-f*
-0.498 0 0.482 rg
-335.138 446.968 70.6533 0.2006 re
-f*
-0 g
-262.277 447.168 53.7928 0.2005 re
-f*
-1 g
-316.07 447.168 18.4662 0.2005 re
-f*
-0.498 0 0.482 rg
-334.536 447.168 71.0547 0.2005 re
-f*
-0 g
-262.478 447.369 53.3913 0.2006 re
-f*
-1 g
-315.869 447.369 18.0648 0.2006 re
-f*
-0.498 0 0.482 rg
-333.934 447.369 71.4561 0.2006 re
-f*
-0 g
-262.679 447.57 53.1906 0.2005 re
-f*
-1 g
-315.869 447.57 17.4626 0.2005 re
-f*
-0.498 0 0.482 rg
-333.332 447.57 71.8576 0.2005 re
-f*
-0 g
-262.879 447.77 52.7893 0.2006 re
-f*
-1 g
-315.669 447.77 17.0611 0.2006 re
-f*
-0.498 0 0.482 rg
-332.73 447.77 72.259 0.2006 re
-f*
-0 g
-263.08 447.971 52.5886 0.2006 re
-f*
-1 g
-315.669 447.971 16.4589 0.2006 re
-f*
-0.498 0 0.482 rg
-332.127 447.971 72.6605 0.2006 re
-f*
-0 g
-263.281 448.171 52.187 0.2006 re
-f*
-1 g
-315.468 448.171 16.0576 0.2006 re
-f*
-0.498 0 0.482 rg
-331.525 448.171 73.0618 0.2006 re
-f*
-0 g
-263.481 448.372 51.9863 0.2005 re
-f*
-1 g
-315.468 448.372 15.4554 0.2005 re
-f*
-0.498 0 0.482 rg
-330.923 448.372 73.4633 0.2005 re
-f*
-0 g
-263.682 448.572 51.5849 0.2005 re
-f*
-1 g
-315.267 448.572 15.0539 0.2005 re
-f*
-0.498 0 0.482 rg
-330.321 448.572 73.8648 0.2005 re
-f*
-0 g
-263.883 448.773 51.3842 0.2006 re
-f*
-1 g
-315.267 448.773 14.4518 0.2006 re
-f*
-0.498 0 0.482 rg
-329.719 448.773 74.2662 0.2006 re
-f*
-0 g
-264.084 448.973 50.9828 0.2006 re
-f*
-1 g
-315.066 448.973 14.2511 0.2006 re
-f*
-0.498 0 0.482 rg
-329.317 448.973 74.4669 0.2006 re
-f*
-0 g
-264.284 449.174 50.782 0.2005 re
-f*
-1 g
-315.066 449.174 13.6489 0.2005 re
-f*
-0.498 0 0.482 rg
-328.715 449.174 74.8683 0.2005 re
-f*
-0 g
-264.485 449.375 50.5813 0.2006 re
-f*
-1 g
-315.066 449.375 13.2475 0.2006 re
-f*
-0.498 0 0.482 rg
-328.314 449.375 75.069 0.2006 re
-f*
-0 g
-264.686 449.575 50.1798 0.2005 re
-f*
-1 g
-314.866 449.575 12.8461 0.2005 re
-f*
-0.498 0 0.482 rg
-327.712 449.575 75.2698 0.2005 re
-f*
-0 g
-264.886 449.776 49.9791 0.2006 re
-f*
-1 g
-314.866 449.776 12.4447 0.2006 re
-f*
-0.498 0 0.482 rg
-327.31 449.776 75.4705 0.2006 re
-f*
-0 g
-265.288 449.976 49.5776 0.2006 re
-f*
-1 g
-314.866 449.976 12.0432 0.2006 re
-f*
-0.498 0 0.482 rg
-326.909 449.976 75.6712 0.2006 re
-f*
-0 g
-265.489 450.177 49.1763 0.2005 re
-f*
-1 g
-314.665 450.177 11.8424 0.2005 re
-f*
-0.498 0 0.482 rg
-326.507 450.177 75.8719 0.2005 re
-f*
-0 g
-265.689 450.377 48.9756 0.2005 re
-f*
-1 g
-314.665 450.377 11.4409 0.2005 re
-f*
-0.498 0 0.482 rg
-326.106 450.377 76.0727 0.2005 re
-f*
-0 g
-265.89 450.578 48.7749 0.2006 re
-f*
-1 g
-314.665 450.578 11.0395 0.2006 re
-f*
-0.498 0 0.482 rg
-325.704 450.578 76.2734 0.2006 re
-f*
-0 g
-266.091 450.778 48.3733 0.2006 re
-f*
-1 g
-314.464 450.778 10.8389 0.2006 re
-f*
-0.498 0 0.482 rg
-325.303 450.778 76.4741 0.2006 re
-f*
-0 g
-266.292 450.979 48.1726 0.2006 re
-f*
-1 g
-314.464 450.979 10.4374 0.2006 re
-f*
-0.498 0 0.482 rg
-324.902 450.979 76.6748 0.2006 re
-f*
-0 g
-266.492 451.18 47.9719 0.2005 re
-f*
-1 g
-314.464 451.18 10.2367 0.2005 re
-f*
-0.498 0 0.482 rg
-324.701 451.18 76.6748 0.2005 re
-f*
-0 g
-266.693 451.38 47.7712 0.2005 re
-f*
-1 g
-314.464 451.38 9.8353 0.2005 re
-f*
-0.498 0 0.482 rg
-324.299 451.38 76.6748 0.2005 re
-f*
-0 g
-267.094 451.581 47.169 0.2006 re
-f*
-1 g
-314.263 451.581 9.8353 0.2006 re
-f*
-0.498 0 0.482 rg
-324.099 451.581 76.6748 0.2006 re
-f*
-0 g
-267.295 451.781 46.9683 0.2006 re
-f*
-1 g
-314.263 451.781 9.4338 0.2006 re
-f*
-0.498 0 0.482 rg
-323.697 451.781 76.8755 0.2006 re
-f*
-0 g
-267.496 451.982 46.7676 0.2006 re
-f*
-1 g
-314.263 451.982 9.2331 0.2006 re
-f*
-0.498 0 0.482 rg
-323.497 451.982 76.8755 0.2006 re
-f*
-0 g
-267.697 452.183 46.5669 0.2005 re
-f*
-1 g
-314.263 452.183 9.0324 0.2005 re
-f*
-0.498 0 0.482 rg
-323.296 452.183 76.6748 0.2005 re
-f*
-0 g
-268.098 452.383 46.1654 0.2005 re
-f*
-1 g
-314.263 452.383 8.6309 0.2005 re
-f*
-0.498 0 0.482 rg
-322.894 452.383 76.8756 0.2005 re
-f*
-0 g
-268.299 452.583 45.764 0.2006 re
-f*
-1 g
-314.063 452.583 8.631 0.2006 re
-f*
-0.498 0 0.482 rg
-322.694 452.583 76.8754 0.2006 re
-f*
-0 g
-268.499 452.784 45.5633 0.2006 re
-f*
-1 g
-314.063 452.784 8.4302 0.2006 re
-f*
-0.498 0 0.482 rg
-322.493 452.784 76.8755 0.2006 re
-f*
-0 g
-268.7 452.985 45.3626 0.2005 re
-f*
-1 g
-314.063 452.985 8.2295 0.2005 re
-f*
-0.498 0 0.482 rg
-322.292 452.985 76.6748 0.2005 re
-f*
-0 g
-269.102 453.185 44.9612 0.2006 re
-f*
-1 g
-314.063 453.185 8.0288 0.2006 re
-f*
-0.498 0 0.482 rg
-322.092 453.185 76.6748 0.2006 re
-f*
-0 g
-269.302 453.386 44.7604 0.2005 re
-f*
-1 g
-314.063 453.386 7.828 0.2005 re
-f*
-0.498 0 0.482 rg
-321.891 453.386 76.6748 0.2005 re
-f*
-0 g
-269.503 453.586 44.5597 0.2006 re
-f*
-1 g
-314.063 453.586 7.6274 0.2006 re
-f*
-0.498 0 0.482 rg
-321.69 453.586 76.6747 0.2006 re
-f*
-0 g
-269.904 453.787 44.1583 0.2006 re
-f*
-1 g
-314.063 453.787 7.4266 0.2006 re
-f*
-0.498 0 0.482 rg
-321.489 453.787 76.4741 0.2006 re
-f*
-0 g
-270.105 453.987 43.9576 0.2005 re
-f*
-1 g
-314.063 453.987 7.2259 0.2005 re
-f*
-0.498 0 0.482 rg
-321.289 453.987 76.4741 0.2005 re
-f*
-0 g
-270.306 454.188 43.7568 0.2006 re
-f*
-1 g
-314.063 454.188 7.2259 0.2006 re
-f*
-0.498 0 0.482 rg
-321.289 454.188 76.2734 0.2006 re
-f*
-0 g
-270.707 454.389 43.3554 0.2005 re
-f*
-1 g
-314.063 454.389 7.0252 0.2005 re
-f*
-0.498 0 0.482 rg
-321.088 454.389 76.0726 0.2005 re
-f*
-0 g
-270.908 454.589 43.1547 0.2006 re
-f*
-1 g
-314.063 454.589 6.8244 0.2006 re
-f*
-0.498 0 0.482 rg
-320.887 454.589 76.0727 0.2006 re
-f*
-0 g
-271.109 454.79 42.954 0.2006 re
-f*
-1 g
-314.063 454.79 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-320.687 454.79 75.8719 0.2006 re
-f*
-0 g
-271.51 454.99 42.3517 0.2005 re
-f*
-1 g
-313.862 454.99 6.8246 0.2005 re
-f*
-0.498 0 0.482 rg
-320.687 454.99 75.6711 0.2005 re
-f*
-0 g
-271.711 455.191 42.151 0.2006 re
-f*
-1 g
-313.862 455.191 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-320.486 455.191 75.6712 0.2006 re
-f*
-0 g
-272.112 455.391 41.7496 0.2005 re
-f*
-1 g
-313.862 455.391 6.4231 0.2005 re
-f*
-0.498 0 0.482 rg
-320.285 455.391 75.4705 0.2005 re
-f*
-0 g
-272.313 455.592 41.5488 0.2006 re
-f*
-1 g
-313.862 455.592 6.4231 0.2006 re
-f*
-0.498 0 0.482 rg
-320.285 455.592 75.2698 0.2006 re
-f*
-0 g
-272.715 455.792 41.1474 0.2005 re
-f*
-1 g
-313.862 455.792 6.2224 0.2005 re
-f*
-0.498 0 0.482 rg
-320.084 455.792 75.069 0.2005 re
-f*
-0 g
-272.915 455.993 41.1475 0.2006 re
-f*
-1 g
-314.063 455.993 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-320.084 455.993 74.8683 0.2006 re
-f*
-0 g
-273.116 456.194 40.9468 0.2006 re
-f*
-1 g
-314.063 456.194 5.8208 0.2006 re
-f*
-0.498 0 0.482 rg
-319.884 456.194 74.6677 0.2006 re
-f*
-0 g
-273.517 456.394 40.5453 0.2005 re
-f*
-1 g
-314.063 456.394 5.8208 0.2005 re
-f*
-0.498 0 0.482 rg
-319.884 456.394 74.4669 0.2005 re
-f*
-0 g
-273.919 456.595 40.1439 0.2006 re
-f*
-1 g
-314.063 456.595 5.6202 0.2006 re
-f*
-0.498 0 0.482 rg
-319.683 456.595 74.2661 0.2006 re
-f*
-0 g
-274.12 456.795 39.9432 0.2005 re
-f*
-1 g
-314.063 456.795 5.6202 0.2005 re
-f*
-0.498 0 0.482 rg
-319.683 456.795 32.5165 0.2005 re
-f*
-1 g
-352.2 456.795 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 456.795 40.5453 0.2005 re
-f*
-0 g
-274.521 456.996 39.5417 0.2006 re
-f*
-1 g
-314.063 456.996 5.4194 0.2006 re
-f*
-0.498 0 0.482 rg
-319.482 456.996 32.7173 0.2006 re
-f*
-1 g
-352.2 456.996 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 456.996 40.1439 0.2006 re
-f*
-0 g
-274.722 457.196 39.3411 0.2006 re
-f*
-1 g
-314.063 457.196 5.4194 0.2006 re
-f*
-0.498 0 0.482 rg
-319.482 457.196 32.7173 0.2006 re
-f*
-1 g
-352.2 457.196 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 457.196 39.9431 0.2006 re
-f*
-0 g
-275.123 457.397 38.9396 0.2005 re
-f*
-1 g
-314.063 457.397 5.4194 0.2005 re
-f*
-0.498 0 0.482 rg
-319.482 457.397 32.7173 0.2005 re
-f*
-1 g
-352.2 457.397 1.0036 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 457.397 39.5417 0.2005 re
-f*
-0 g
-275.324 457.597 38.7389 0.2006 re
-f*
-1 g
-314.063 457.597 5.2187 0.2006 re
-f*
-0.498 0 0.482 rg
-319.281 457.597 32.918 0.2006 re
-f*
-1 g
-352.2 457.597 1.0036 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 457.597 39.1403 0.2006 re
-f*
-0 g
-275.725 457.798 38.3375 0.2005 re
-f*
-1 g
-314.063 457.798 5.2187 0.2005 re
-f*
-0.498 0 0.482 rg
-319.281 457.798 32.7172 0.2005 re
-f*
-1 g
-351.999 457.798 1.2044 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 457.798 38.9395 0.2005 re
-f*
-0 g
-276.127 457.999 37.936 0.2006 re
-f*
-1 g
-314.063 457.999 5.2187 0.2006 re
-f*
-0.498 0 0.482 rg
-319.281 457.999 32.7172 0.2006 re
-f*
-1 g
-351.999 457.999 1.2044 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 457.999 38.5381 0.2006 re
-f*
-0 g
-276.327 458.199 37.7353 0.2006 re
-f*
-1 g
-314.063 458.199 5.0179 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 458.199 32.918 0.2006 re
-f*
-1 g
-351.999 458.199 1.2044 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 458.199 38.1367 0.2006 re
-f*
-0 g
-276.729 458.4 37.3339 0.2005 re
-f*
-1 g
-314.063 458.4 5.0179 0.2005 re
-f*
-0.498 0 0.482 rg
-319.081 458.4 32.918 0.2005 re
-f*
-1 g
-351.999 458.4 1.2044 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 458.4 37.9359 0.2005 re
-f*
-0 g
-277.13 458.6 37.1331 0.2006 re
-f*
-1 g
-314.263 458.6 4.8172 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 458.6 32.7174 0.2006 re
-f*
-1 g
-351.798 458.6 1.405 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 458.6 37.5345 0.2006 re
-f*
-0 g
-277.532 458.801 36.7316 0.2005 re
-f*
-1 g
-314.263 458.801 4.8172 0.2005 re
-f*
-0.498 0 0.482 rg
-319.081 458.801 32.7174 0.2005 re
-f*
-1 g
-351.798 458.801 1.405 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 458.801 37.1331 0.2005 re
-f*
-0 g
-277.732 459.001 36.531 0.2006 re
-f*
-1 g
-314.263 459.001 4.8172 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 459.001 32.7174 0.2006 re
-f*
-1 g
-351.798 459.001 1.405 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 459.001 36.9323 0.2006 re
-f*
-0 g
-278.134 459.202 36.1295 0.2006 re
-f*
-1 g
-314.263 459.202 4.8172 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 459.202 32.7174 0.2006 re
-f*
-1 g
-351.798 459.202 1.405 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 459.202 36.5309 0.2006 re
-f*
-0 g
-278.535 459.403 35.728 0.2005 re
-f*
-1 g
-314.263 459.403 4.6165 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 459.403 32.7173 0.2005 re
-f*
-1 g
-351.597 459.403 1.6058 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 459.403 36.1295 0.2005 re
-f*
-0 g
-278.736 459.603 35.5274 0.2005 re
-f*
-1 g
-314.263 459.603 4.6165 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 459.603 32.7173 0.2005 re
-f*
-1 g
-351.597 459.603 1.6058 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 459.603 35.7281 0.2005 re
-f*
-0 g
-279.138 459.804 35.3266 0.2006 re
-f*
-1 g
-314.464 459.804 4.4158 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 459.804 32.7173 0.2006 re
-f*
-1 g
-351.597 459.804 1.6058 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 459.804 35.3266 0.2006 re
-f*
-0 g
-279.539 460.004 34.9251 0.2006 re
-f*
-1 g
-314.464 460.004 4.4158 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 460.004 32.7173 0.2006 re
-f*
-1 g
-351.597 460.004 1.6058 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 460.004 34.9251 0.2006 re
-f*
-0 g
-279.94 460.205 34.5237 0.2006 re
-f*
-1 g
-314.464 460.205 4.4158 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 460.205 32.5166 0.2006 re
-f*
-1 g
-351.397 460.205 1.8065 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 460.205 34.7245 0.2006 re
-f*
-0 g
-280.342 460.405 34.1223 0.2005 re
-f*
-1 g
-314.464 460.405 4.4158 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 460.405 32.5166 0.2005 re
-f*
-1 g
-351.397 460.405 1.8065 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 460.405 34.323 0.2005 re
-f*
-0 g
-280.743 460.606 33.9217 0.2006 re
-f*
-1 g
-314.665 460.606 4.215 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 460.606 32.5166 0.2006 re
-f*
-1 g
-351.397 460.606 1.8065 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 460.606 33.9215 0.2006 re
-f*
-0 g
-281.145 460.806 33.5202 0.2005 re
-f*
-1 g
-314.665 460.806 4.215 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 460.806 32.3159 0.2005 re
-f*
-1 g
-351.196 460.806 2.0072 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 460.806 33.5201 0.2005 re
-f*
-0 g
-281.546 461.007 33.1187 0.2006 re
-f*
-1 g
-314.665 461.007 4.215 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 461.007 32.3159 0.2006 re
-f*
-1 g
-351.196 461.007 2.0072 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 461.007 33.1186 0.2006 re
-f*
-0 g
-281.948 461.208 32.7173 0.2006 re
-f*
-1 g
-314.665 461.208 4.215 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 461.208 32.3159 0.2006 re
-f*
-1 g
-351.196 461.208 2.0072 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 461.208 32.7172 0.2006 re
-f*
-0 g
-282.349 461.408 32.3159 0.2005 re
-f*
-1 g
-314.665 461.408 4.215 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 461.408 32.1151 0.2005 re
-f*
-1 g
-350.995 461.408 2.208 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 461.408 32.3158 0.2005 re
-f*
-0 g
-282.75 461.609 32.1151 0.2005 re
-f*
-1 g
-314.866 461.609 4.0144 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 461.609 32.1151 0.2005 re
-f*
-1 g
-350.995 461.609 2.208 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 461.609 31.9143 0.2005 re
-f*
-0 g
-283.152 461.809 31.7136 0.2006 re
-f*
-1 g
-314.866 461.809 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 461.809 32.1151 0.2006 re
-f*
-1 g
-350.995 461.809 2.208 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 461.809 31.5129 0.2006 re
-f*
-0 g
-283.553 462.01 31.3121 0.2006 re
-f*
-1 g
-314.866 462.01 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 462.01 31.9145 0.2006 re
-f*
-1 g
-350.794 462.01 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 462.01 31.1115 0.2006 re
-f*
-0 g
-283.955 462.21 31.1115 0.2005 re
-f*
-1 g
-315.066 462.21 3.8136 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 462.21 31.9145 0.2005 re
-f*
-1 g
-350.794 462.21 2.4086 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 462.21 30.7101 0.2005 re
-f*
-0 g
-284.356 462.411 30.7101 0.2006 re
-f*
-1 g
-315.066 462.411 3.8136 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 462.411 31.9145 0.2006 re
-f*
-1 g
-350.794 462.411 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 462.411 30.1079 0.2006 re
-f*
-0 g
-284.758 462.611 30.5094 0.2005 re
-f*
-1 g
-315.267 462.611 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-318.88 462.611 31.7137 0.2005 re
-f*
-1 g
-350.594 462.611 2.6094 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 462.611 29.7065 0.2005 re
-f*
-0 g
-285.36 462.812 29.9072 0.2006 re
-f*
-1 g
-315.267 462.812 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 462.812 31.7137 0.2006 re
-f*
-1 g
-350.594 462.812 2.6094 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 462.812 29.305 0.2006 re
-f*
-0 g
-285.761 463.013 29.5058 0.2006 re
-f*
-1 g
-315.267 463.013 3.6129 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 463.013 31.7137 0.2006 re
-f*
-1 g
-350.594 463.013 2.6094 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 463.013 28.9035 0.2006 re
-f*
-0 g
-286.163 463.213 29.305 0.2006 re
-f*
-1 g
-315.468 463.213 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-318.88 463.213 31.513 0.2006 re
-f*
-1 g
-350.393 463.213 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 463.213 28.5021 0.2006 re
-f*
-0 g
-286.564 463.414 28.9036 0.2005 re
-f*
-1 g
-315.468 463.414 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-319.081 463.414 31.3123 0.2005 re
-f*
-1 g
-350.393 463.414 2.8101 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 463.414 27.9 0.2005 re
-f*
-0 g
-287.166 463.614 28.3014 0.2005 re
-f*
-1 g
-315.468 463.614 3.6129 0.2005 re
-f*
-0.498 0 0.482 rg
-319.081 463.614 31.1116 0.2005 re
-f*
-1 g
-350.192 463.614 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 463.614 27.4985 0.2005 re
-f*
-0 g
-287.568 463.815 28.1008 0.2006 re
-f*
-1 g
-315.669 463.815 3.4121 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 463.815 31.1116 0.2006 re
-f*
-1 g
-350.192 463.815 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 463.815 27.0971 0.2006 re
-f*
-0 g
-287.969 464.015 27.6994 0.2006 re
-f*
-1 g
-315.669 464.015 3.4121 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 464.015 30.9108 0.2006 re
-f*
-1 g
-349.991 464.015 3.2116 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 464.015 26.495 0.2006 re
-f*
-0 g
-288.571 464.216 27.2978 0.2005 re
-f*
-1 g
-315.869 464.216 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-319.081 464.216 30.9108 0.2005 re
-f*
-1 g
-349.991 464.216 3.2116 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 464.216 26.0935 0.2005 re
-f*
-0 g
-288.973 464.416 26.8964 0.2006 re
-f*
-1 g
-315.869 464.416 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-319.081 464.416 30.7102 0.2006 re
-f*
-1 g
-349.791 464.416 3.4122 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 464.416 25.4914 0.2006 re
-f*
-0 g
-289.575 464.617 26.495 0.2005 re
-f*
-1 g
-316.07 464.617 3.2115 0.2005 re
-f*
-0.498 0 0.482 rg
-319.281 464.617 30.5094 0.2005 re
-f*
-1 g
-349.791 464.617 3.4122 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 464.617 25.0899 0.2005 re
-f*
-0 g
-289.976 464.818 26.0936 0.2006 re
-f*
-1 g
-316.07 464.818 3.2115 0.2006 re
-f*
-0.498 0 0.482 rg
-319.281 464.818 30.3086 0.2006 re
-f*
-1 g
-349.59 464.818 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 464.818 24.4878 0.2006 re
-f*
-0 g
-290.579 465.018 25.6921 0.2006 re
-f*
-1 g
-316.271 465.018 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-319.281 465.018 30.3086 0.2006 re
-f*
-1 g
-349.59 465.018 3.613 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 465.018 24.0863 0.2006 re
-f*
-0 g
-291.181 465.219 25.0899 0.2005 re
-f*
-1 g
-316.271 465.219 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-319.281 465.219 30.1079 0.2005 re
-f*
-1 g
-349.389 465.219 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 465.219 23.4842 0.2005 re
-f*
-0 g
-291.582 465.419 24.8892 0.2005 re
-f*
-1 g
-316.471 465.419 3.0108 0.2005 re
-f*
-0.498 0 0.482 rg
-319.482 465.419 29.9072 0.2005 re
-f*
-1 g
-349.389 465.419 3.8137 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 465.419 22.882 0.2005 re
-f*
-0 g
-292.184 465.62 24.287 0.2006 re
-f*
-1 g
-316.471 465.62 3.0108 0.2006 re
-f*
-0.498 0 0.482 rg
-319.482 465.62 29.7065 0.2006 re
-f*
-1 g
-349.189 465.62 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 465.62 22.4806 0.2006 re
-f*
-0 g
-292.786 465.82 23.8856 0.2006 re
-f*
-1 g
-316.672 465.82 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-319.482 465.82 29.7065 0.2006 re
-f*
-1 g
-349.189 465.82 4.0144 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 465.82 21.8784 0.2006 re
-f*
-0 g
-293.389 466.021 23.2834 0.2006 re
-f*
-1 g
-316.672 466.021 3.0109 0.2006 re
-f*
-0.498 0 0.482 rg
-319.683 466.021 29.3049 0.2006 re
-f*
-1 g
-348.988 466.021 4.2152 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 466.021 21.2762 0.2006 re
-f*
-0 g
-293.79 466.222 23.0827 0.2005 re
-f*
-1 g
-316.873 466.222 2.8102 0.2005 re
-f*
-0.498 0 0.482 rg
-319.683 466.222 29.3049 0.2005 re
-f*
-1 g
-348.988 466.222 4.2152 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 466.222 20.6741 0.2005 re
-f*
-0 g
-294.392 466.422 22.6813 0.2006 re
-f*
-1 g
-317.074 466.422 2.6094 0.2006 re
-f*
-0.498 0 0.482 rg
-319.683 466.422 29.1043 0.2006 re
-f*
-1 g
-348.787 466.422 4.4158 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 466.422 20.0719 0.2006 re
-f*
-0 g
-295.195 466.623 21.8784 0.2005 re
-f*
-1 g
-317.074 466.623 2.81 0.2005 re
-f*
-0.498 0 0.482 rg
-319.884 466.623 28.7029 0.2005 re
-f*
-1 g
-348.586 466.623 4.6166 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 466.623 19.4698 0.2005 re
-f*
-0 g
-295.797 466.823 21.477 0.2006 re
-f*
-1 g
-317.274 466.823 2.6093 0.2006 re
-f*
-0.498 0 0.482 rg
-319.884 466.823 28.7029 0.2006 re
-f*
-1 g
-348.586 466.823 4.6166 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 466.823 18.8676 0.2006 re
-f*
-0 g
-296.399 467.024 20.8748 0.2006 re
-f*
-1 g
-317.274 467.024 2.8101 0.2006 re
-f*
-0.498 0 0.482 rg
-320.084 467.024 28.3014 0.2006 re
-f*
-1 g
-348.386 467.024 4.8173 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 467.024 18.2654 0.2006 re
-f*
-0 g
-297.002 467.224 20.4734 0.2005 re
-f*
-1 g
-317.475 467.224 2.6094 0.2005 re
-f*
-0.498 0 0.482 rg
-320.084 467.224 28.1007 0.2005 re
-f*
-1 g
-348.185 467.224 5.018 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 467.224 17.6633 0.2005 re
-f*
-0 g
-297.604 467.425 20.072 0.2005 re
-f*
-1 g
-317.676 467.425 2.6093 0.2005 re
-f*
-0.498 0 0.482 rg
-320.285 467.425 27.9 0.2005 re
-f*
-1 g
-348.185 467.425 5.018 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 467.425 17.0611 0.2005 re
-f*
-0 g
-298.206 467.625 19.6704 0.2006 re
-f*
-1 g
-317.876 467.625 2.4087 0.2006 re
-f*
-0.498 0 0.482 rg
-320.285 467.625 27.6992 0.2006 re
-f*
-1 g
-347.984 467.625 5.2188 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 467.625 16.2582 0.2006 re
-f*
-0 g
-299.009 467.826 18.8676 0.2006 re
-f*
-1 g
-317.876 467.826 2.6094 0.2006 re
-f*
-0.498 0 0.482 rg
-320.486 467.826 27.2979 0.2006 re
-f*
-1 g
-347.784 467.826 5.4194 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 467.826 15.6561 0.2006 re
-f*
-0 g
-299.611 468.027 18.4661 0.2005 re
-f*
-1 g
-318.077 468.027 2.6095 0.2005 re
-f*
-0.498 0 0.482 rg
-320.687 468.027 26.8963 0.2005 re
-f*
-1 g
-347.583 468.027 5.6202 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 468.027 14.8532 0.2005 re
-f*
-0 g
-300.414 468.227 17.864 0.2006 re
-f*
-1 g
-318.278 468.227 2.4087 0.2006 re
-f*
-0.498 0 0.482 rg
-320.687 468.227 26.8963 0.2006 re
-f*
-1 g
-347.583 468.227 5.6202 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 468.227 14.2511 0.2006 re
-f*
-0 g
-301.217 468.428 17.2619 0.2005 re
-f*
-1 g
-318.479 468.428 2.4086 0.2005 re
-f*
-0.498 0 0.482 rg
-320.887 468.428 26.495 0.2005 re
-f*
-1 g
-347.382 468.428 5.8209 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 468.428 13.4482 0.2005 re
-f*
-0 g
-301.819 468.628 16.6597 0.2006 re
-f*
-1 g
-318.479 468.628 2.6094 0.2006 re
-f*
-0.498 0 0.482 rg
-321.088 468.628 26.0935 0.2006 re
-f*
-1 g
-347.181 468.628 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 468.628 12.6453 0.2006 re
-f*
-0 g
-302.622 468.829 16.0576 0.2006 re
-f*
-1 g
-318.679 468.829 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-321.088 468.829 25.8927 0.2006 re
-f*
-1 g
-346.981 468.829 6.2224 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 468.829 11.8424 0.2006 re
-f*
-0 g
-303.425 469.029 15.4553 0.2005 re
-f*
-1 g
-318.88 469.029 2.4087 0.2005 re
-f*
-0.498 0 0.482 rg
-321.289 469.029 25.4914 0.2005 re
-f*
-1 g
-346.78 469.029 6.423 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 469.029 11.2403 0.2005 re
-f*
-0 g
-304.227 469.23 14.8532 0.2006 re
-f*
-1 g
-319.081 469.23 2.4087 0.2006 re
-f*
-0.498 0 0.482 rg
-321.489 469.23 25.0899 0.2006 re
-f*
-1 g
-346.579 469.23 6.6238 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 469.23 10.4374 0.2006 re
-f*
-0 g
-305.231 469.43 14.0504 0.2005 re
-f*
-1 g
-319.281 469.43 2.4087 0.2005 re
-f*
-0.498 0 0.482 rg
-321.69 469.43 24.8891 0.2005 re
-f*
-1 g
-346.579 469.43 6.6238 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 469.43 9.4338 0.2005 re
-f*
-0 g
-306.034 469.631 13.4482 0.2006 re
-f*
-1 g
-319.482 469.631 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-321.891 469.631 24.4878 0.2006 re
-f*
-1 g
-346.379 469.631 6.8245 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 469.631 8.6309 0.2006 re
-f*
-0 g
-306.837 469.832 12.8461 0.2006 re
-f*
-1 g
-319.683 469.832 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-322.092 469.832 24.0863 0.2006 re
-f*
-1 g
-346.178 469.832 7.0252 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 469.832 7.6273 0.2006 re
-f*
-0 g
-307.841 470.032 12.0431 0.2005 re
-f*
-1 g
-319.884 470.032 2.4087 0.2005 re
-f*
-0.498 0 0.482 rg
-322.292 470.032 23.6848 0.2005 re
-f*
-1 g
-345.977 470.032 7.226 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 470.032 6.8244 0.2005 re
-f*
-0 g
-308.844 470.233 11.2403 0.2006 re
-f*
-1 g
-320.084 470.233 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-322.493 470.233 23.2835 0.2006 re
-f*
-1 g
-345.776 470.233 7.4266 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 470.233 5.6201 0.2006 re
-f*
-0 g
-309.848 470.433 10.4374 0.2005 re
-f*
-1 g
-320.285 470.433 2.4087 0.2005 re
-f*
-0.498 0 0.482 rg
-322.694 470.433 22.6812 0.2005 re
-f*
-1 g
-345.375 470.433 7.8281 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 470.433 4.6165 0.2005 re
-f*
-0 g
-311.052 470.634 9.4338 0.2006 re
-f*
-1 g
-320.486 470.634 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-322.894 470.634 22.2799 0.2006 re
-f*
-1 g
-345.174 470.634 8.0288 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 470.634 3.6129 0.2006 re
-f*
-0 g
-312.256 470.834 8.4303 0.2005 re
-f*
-1 g
-320.687 470.834 2.4086 0.2005 re
-f*
-0.498 0 0.482 rg
-323.095 470.834 21.8783 0.2005 re
-f*
-1 g
-344.973 470.834 8.2296 0.2005 re
-f*
-0.498 0 0.482 rg
-353.203 470.834 2.4086 0.2005 re
-f*
-0 g
-313.461 471.035 7.6274 0.2006 re
-f*
-1 g
-321.088 471.035 2.2079 0.2006 re
-f*
-0.498 0 0.482 rg
-323.296 471.035 21.477 0.2006 re
-f*
-1 g
-344.773 471.035 8.4302 0.2006 re
-f*
-0.498 0 0.482 rg
-353.203 471.035 1.2043 0.2006 re
-f*
-0 g
-314.665 471.235 6.6237 0.2006 re
-f*
-1 g
-321.289 471.235 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-323.697 471.235 20.8748 0.2006 re
-f*
-0 g
-316.271 471.436 5.2187 0.2005 re
-f*
-1 g
-321.489 471.436 2.4086 0.2005 re
-f*
-0.498 0 0.482 rg
-323.898 471.436 20.2727 0.2005 re
-f*
-0 g
-317.676 471.637 4.215 0.2006 re
-f*
-1 g
-321.891 471.637 2.208 0.2006 re
-f*
-0.498 0 0.482 rg
-324.099 471.637 19.8711 0.2006 re
-f*
-0 g
-319.482 471.837 2.6094 0.2006 re
-f*
-1 g
-322.092 471.837 2.4086 0.2006 re
-f*
-0.498 0 0.482 rg
-324.5 471.837 19.0683 0.2006 re
-f*
-0 g
-321.289 472.038 0.8029 0.2005 re
-f*
-1 g
-322.092 472.038 2.6093 0.2005 re
-f*
-0.498 0 0.482 rg
-324.701 472.038 18.6669 0.2005 re
-f*
-0.498 0 0.482 rg
-325.102 472.238 17.864 0.2006 re
-f*
-0.498 0 0.482 rg
-325.504 472.439 17.2619 0.2005 re
-f*
-0.498 0 0.482 rg
-325.905 472.639 16.459 0.2006 re
-f*
-0.498 0 0.482 rg
-326.307 472.84 15.6561 0.2006 re
-f*
-0.498 0 0.482 rg
-326.909 473.041 14.6526 0.2005 re
-f*
-0.498 0 0.482 rg
-327.511 473.241 13.4482 0.2006 re
-f*
-0.498 0 0.482 rg
-328.113 473.442 12.4447 0.2005 re
-f*
-0.498 0 0.482 rg
-328.715 473.642 11.2403 0.2006 re
-f*
-0.498 0 0.482 rg
-329.518 473.843 9.8352 0.2005 re
-f*
-0.498 0 0.482 rg
-330.321 474.043 8.2296 0.2006 re
-f*
-0.498 0 0.482 rg
-331.525 474.244 6.0216 0.2006 re
-f*
-0.498 0 0.482 rg
-333.533 474.445 2.2079 0.2005 re
-f*
-Q
-showpage
-pdfEndPage
-end
-%%Trailer
-cleartomark
-countdictstack
-exch sub { end } repeat
-restore
-%%EOF
-grestore
diff --git a/conf/logo.png b/conf/logo.png
deleted file mode 100644 (file)
index 1e415e6..0000000
Binary files a/conf/logo.png and /dev/null differ
diff --git a/conf/lpr b/conf/lpr
deleted file mode 100644 (file)
index fa1c313..0000000
--- a/conf/lpr
+++ /dev/null
@@ -1 +0,0 @@
-lpr -h
diff --git a/conf/maxsearchrecordsperpage b/conf/maxsearchrecordsperpage
deleted file mode 100644 (file)
index 29d6383..0000000
+++ /dev/null
@@ -1 +0,0 @@
-100
diff --git a/conf/payment_receipt_email b/conf/payment_receipt_email
deleted file mode 100644 (file)
index 1a0a758..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-
-{ $date }
-
-Dear { $name },
-
-This message is to inform you that your payment of ${ $paid } has been
-received.
-
-Payment ID: { $paynum }
-Date:       { $date }
-Amount:     { $paid } 
-Type:       { $payby } # { $payinfo }
-
-{
-  if ( $balance > 0 ) {
-    $OUT .= "Your current balance is now \$$balance.\n\n";
-  } elsif ( $balance < 0 ) {
-    $OUT .= 'You have a credit balance of $'. sprintf("%.2f",0-$balance).
-              ".\n".
-            "Future charges will be deducted from this balance before billing ".
-              "you again.\n\n";
-            
-  }
-}
-Thank you for your business.
-
diff --git a/conf/report_template b/conf/report_template
deleted file mode 100644 (file)
index 9c6bb2b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-{ sprintf("%-19s", "Page $page of $total_pages"); } { 
- my $spacer = (40 - length($title) > 0) ? 40 - length($title) : 0;
- $spacer = int($spacer / 2);
- my $titlelen = 40 - $spacer;
- sprintf("%*s%-*s", $spacer, " ", $titlelen, $title);
- } { use Date::Format; time2str("%x %X", $date); } 
-
-
-{
-  join("\n", map { $_ } report_lines(57));
-}
-
-
-
diff --git a/conf/shells b/conf/shells
deleted file mode 100644 (file)
index a41fc62..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-
-/bin/sh
-/bin/csh
-/bin/bash
-/bin/false
diff --git a/conf/show-msgcat-codes b/conf/show-msgcat-codes
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/conf/smtpmachine b/conf/smtpmachine
deleted file mode 100644 (file)
index 2fbb50c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-localhost
diff --git a/conf/soadefaultttl b/conf/soadefaultttl
deleted file mode 100644 (file)
index 92f616f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-259200
diff --git a/conf/soaexpire b/conf/soaexpire
deleted file mode 100644 (file)
index d235b91..0000000
+++ /dev/null
@@ -1 +0,0 @@
-3600000
diff --git a/conf/soarefresh b/conf/soarefresh
deleted file mode 100644 (file)
index 9f35f8e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-10800
diff --git a/conf/soaretry b/conf/soaretry
deleted file mode 100644 (file)
index bb08106..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1800
diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644 (file)
index b51eee8..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-freeside for Debian
--------------------
-
-<possible notes regarding this package - if none, delete this file>
-
- -- Ivan Kohler <ivan-debian@420.am>, Thu, 12 Apr 2001 15:49:17 -0700
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644 (file)
index d8283b5..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-freeside (1.4.1-1) unstable; urgency=low
-
-  * Initial Release.
-
- -- Ivan Kohler <ivan-debian@420.am>  Thu, 12 Apr 2001 15:49:17 -0700
-
-Local variables:
-mode: debian-changelog
-End:
diff --git a/debian/conffiles.ex b/debian/conffiles.ex
deleted file mode 100644 (file)
index 8686d2a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# If you want to use this conffile, remove all comments and put files that
-# you want dpkg to process here using their absolute pathnames.
-# See section 9.1 of the packaging manual.
-#
-# for example:
-# /etc/freeside/freeside.conf
diff --git a/debian/control b/debian/control
deleted file mode 100644 (file)
index d7873b2..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-Source: freeside
-Section: admin
-Priority: optional
-Maintainer: Ivan Kohler <ivan-debian@420.am>
-Build-Depends: debhelper (>> 3.0.0)
-Standards-Version: 3.5.2
-
-Package: freeside
-Architecture: any
-Depends: freeside-lib
-Recommends: freeside-doc, freeside-ui-web
-Suggests: freeside-selfservice-server
-Description: Billing and administration package for ISPs.
- Freeside is a billing and account administration package for ISPs.  It stores
- customer information in an SQL database, and will update UNIX passwd and
- shadow files, RADIUS users file and SQL databases, and configuration for
- sendmail, qmail, BIND and/or Apache.  It is also useful as a central database
- of accounts/domains/web-space for a large number of machines.
-
-Package: freeside-doc
-Architecture: all
-Description: Documentation for freeside
- This package provides the HTML documentation for Freeside, a billing and
- account administration package for ISPs.
-
-Package: freeside-lib
-Architecture: all
-Depends: libmime-base64-perl, libdigest-md5-perl, liburi-perl, libhtml-tagset-perl, libhtml-parser-perl, libnet-perl, liblocale-codes-perl, libnet-whois-perl, libwww-perl, libbusiness-creditcard-perl, libmailtools-perl, libtimedate-perl, libdate-manip-perl, libfile-counterfile-perl, libfreezethaw-perl, libtext-template-perl, libdbd-pg-perl, libdbix-datasource-perl, libdbix-dbschema-perl, libnet-ssh-perl, libnet-scp-perl, libapache-asp-perl, libtie-ixhash-perl, libtime-duration-perl, libhtml-widgets-selectlayers-perl, libstorable-perl, libapache-dbi-perl
-Description: Freeside libraries and extension API
- This package contains the libraries which implement the business logic and
- backend functions of Freeside, a billing and account administration package
- for ISPs.  This package also contains the manual pages for the library API.
- (? like a libmodule-perl package)
-
-Package: freeside-ui-web
-Architecture: all
-Depends: libhtml-mason-perl, libstring-approx-perl, freeside-lib, libapache-mod-perl|apache-perl
-Suggests: libapache-mod-ssl|apache-ssl
-Description: Easy-to-use web interface for Freeside
- This package contains the web interface for Freeside, a billing and account
- administration package for ISPs.  This is what sales or support folks will
- typically use to add new accounts, edit exiting accounts and so on.
-
-Package: freeside-selfservice-server
-Architecture: all
-Depends: freeside-lib, libnet-ssh-perl, ssh
-Description:
- This package contains the server side of the customer self-service interface.
- It is installed on a private backend machine, and opens an outgoing ssh
- connection to one or more public web server(s).
-
-Package: freeside-selfservice-client
-Architecture: all
-Depends: libstorable-perl, libhttp-browserdetect-perl, libbusiness-creditcard-perl, ssh
-Description:
- This package contains the client side of the customer self-service interface.
- It is typically installed on a public webserver and interfaces with
- freeside-selfservice-server installed on a private backend machine.
-
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644 (file)
index e148fce..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-This package was debianized by Ivan Kohler <ivan-debian@420.am> on
-Thu, 12 Apr 2001 15:49:17 -0700.
-
-It was downloaded from <fill in ftp site>
-
-Upstream Author(s): <put author(s) name and email here>
-
-Copyright:
-
-<Must follow here>
diff --git a/debian/cron.d.ex b/debian/cron.d.ex
deleted file mode 100644 (file)
index 61c074d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-# Regular cron jobs for the freeside package
-#
-0 4    * * *   root    freeside_maintenance
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644 (file)
index ca882bb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --git a/debian/docs b/debian/docs
deleted file mode 100644 (file)
index 16636bd..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-INSTALL
-README
-TODO
diff --git a/debian/ex.doc-base.package b/debian/ex.doc-base.package
deleted file mode 100644 (file)
index 2a055d1..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Document: freeside
-Title: Debian freeside Manual
-Author: <insert document author here>
-Abstract: This manual describes what freeside is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/freeside/freeside.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/freeside/freeside.ps.gz
-
-Format: text
-Files: /usr/share/doc/freeside/freeside.text.gz
-
-Format: HTML
-Index: /usr/share/doc/freeside/html/index.html
-Files: /usr/share/doc/freeside/html/*.html
-
-  
diff --git a/debian/freeside-doc.docs b/debian/freeside-doc.docs
deleted file mode 100644 (file)
index 299950c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#DOCS#
-
diff --git a/debian/freeside-doc.files b/debian/freeside-doc.files
deleted file mode 100644 (file)
index 299950c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#DOCS#
-
diff --git a/debian/init.d.ex b/debian/init.d.ex
deleted file mode 100644 (file)
index 5791049..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#! /bin/sh
-#
-# skeleton     example file to build /etc/init.d/ scripts.
-#              This file should be used to construct scripts for /etc/init.d.
-#
-#              Written by Miquel van Smoorenburg <miquels@cistron.nl>.
-#              Modified for Debian GNU/Linux
-#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
-#
-# Version:     @(#)skeleton  1.8  03-Mar-1998  miquels@cistron.nl
-#
-# This file was automatically customized by dh-make on Thu, 12 Apr 2001 15:49:17 -0700
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/freeside
-NAME=freeside
-DESC=freeside
-
-test -f $DAEMON || exit 0
-
-set -e
-
-case "$1" in
-  start)
-       echo -n "Starting $DESC: "
-       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
-       echo "$NAME."
-       ;;
-  stop)
-       echo -n "Stopping $DESC: "
-       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
-       echo "$NAME."
-       ;;
-  #reload)
-       #
-       #       If the daemon can reload its config files on the fly
-       #       for example by sending it SIGHUP, do it here.
-       #
-       #       If the daemon responds to changes in its config file
-       #       directly anyway, make this a do-nothing entry.
-       #
-       # echo "Reloading $DESC configuration files."
-       # start-stop-daemon --stop --signal 1 --quiet --pidfile \
-       #       /var/run/$NAME.pid --exec $DAEMON
-  #;;
-  restart|force-reload)
-       #
-       #       If the "reload" option is implemented, move the "force-reload"
-       #       option to the "reload" entry above. If not, "force-reload" is
-       #       just the same as "restart".
-       #
-       echo -n "Restarting $DESC: "
-       start-stop-daemon --stop --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON
-       sleep 1
-       start-stop-daemon --start --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON
-       echo "$NAME."
-       ;;
-  *)
-       N=/etc/init.d/$NAME
-       # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-       echo "Usage: $N {start|stop|restart|force-reload}" >&2
-       exit 1
-       ;;
-esac
-
-exit 0
diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex
deleted file mode 100644 (file)
index ec542bb..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH FREESIDE SECTION "April 12, 2001"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-freeside \- program to do something
-.SH SYNOPSIS
-.B freeside
-.RI [ options ] " files" ...
-.br
-.B bar
-.RI [ options ] " files" ...
-.SH DESCRIPTION
-This manual page documents briefly the
-.B freeside
-and
-.B bar
-commands.
-This manual page was written for the Debian GNU/Linux distribution
-because the original program does not have a manual page.
-Instead, it has documentation in the GNU Info format; see below.
-.PP
-.\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
-.\" respectively.
-\fBfreeside\fP is a program that...
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-For a complete description, see the Info files.
-.TP
-.B \-h, \-\-help
-Show summary of options.
-.TP
-.B \-v, \-\-version
-Show version of program.
-.SH SEE ALSO
-.BR bar (1),
-.BR baz (1).
-.br
-The programs are documented fully by
-.IR "The Rise and Fall of a Fooish Bar" ,
-available via the Info system.
-.SH AUTHOR
-This manual page was written by Ivan Kohler <ivan-debian@420.am>,
-for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/manpage.sgml.ex b/debian/manpage.sgml.ex
deleted file mode 100644 (file)
index 9bc3a86..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
-
-<!-- Process this file with docbook-to-man to generate an nroff manual
-     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
-     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
-     less'.  A typical entry in a Makefile or Makefile.am is:
-
-manpage.1: manpage.sgml
-       docbook-to-man $< > $@
-  -->
-
-  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
-  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
-  <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>April 12, 2001</date>">
-  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
-       allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
-  <!ENTITY dhemail     "<email>ivan-debian@420.am</email>">
-  <!ENTITY dhusername  "Ivan Kohler">
-  <!ENTITY dhucpackage "<refentrytitle>FREESIDE</refentrytitle>">
-  <!ENTITY dhpackage   "freeside">
-
-  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
-  <!ENTITY gnu         "<acronym>GNU</acronym>">
-]>
-
-<refentry>
-  <refentryinfo>
-    <address>
-      &dhemail;
-    </address>
-    <author>
-      &dhfirstname;
-      &dhsurname;
-    </author>
-    <copyright>
-      <year>2001</year>
-      <holder>&dhusername;</holder>
-    </copyright>
-    &dhdate;
-  </refentryinfo>
-  <refmeta>
-    &dhucpackage;
-
-    &dhsection;
-  </refmeta>
-  <refnamediv>
-    <refname>&dhpackage;</refname>
-
-    <refpurpose>program to do something</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>&dhpackage;</command>
-
-      <arg><option>-e <replaceable>this</replaceable></option></arg>
-
-      <arg><option>--example <replaceable>that</replaceable></option></arg>
-    </cmdsynopsis>
-  </refsynopsisdiv>
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command> and <command>bar</command>
-      commands.</para>
-
-    <para>This manual page was written for the &debian; distribution
-      because the original program does not have a manual page.
-      Instead, it has documentation in the &gnu;
-      <application>Info</application> format; see below.</para>
-
-    <para><command>&dhpackage;</command> is a program that...</para>
-
-  </refsect1>
-  <refsect1>
-    <title>OPTIONS</title>
-
-    <para>These programs follow the usual GNU command line syntax,
-      with long options starting with two dashes (`-').  A summary of
-      options is included below.  For a complete description, see the
-      <application>Info</application> files.</para>
-
-    <variablelist>
-      <varlistentry>
-        <term><option>-h</option>
-          <option>--help</option>
-        </term>
-        <listitem>
-          <para>Show summary of options.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-v</option>
-          <option>--version</option>
-        </term>
-        <listitem>
-          <para>Show version of program.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsect1>
-  <refsect1>
-    <title>SEE ALSO</title>
-
-    <para>bar (1), baz (1).</para>
-
-    <para>The programs are documented fully by <citetitle>The Rise and
-      Fall of a Fooish Bar</citetitle> available via the
-      <application>Info</application> system.</para>
-  </refsect1>
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>This manual page was written by &dhusername; &dhemail; for
-      the &debian; system (but may be used by others).  Permission is
-      granted to copy, distribute and/or modify this document under
-      the terms of the <acronym>GNU</acronym> Free Documentation
-      License, Version 1.1 or any later version published by the Free
-      Software Foundation; with no Invariant Sections, no Front-Cover
-      Texts and no Back-Cover Texts.</para>
-
-  </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->
diff --git a/debian/menu.ex b/debian/menu.ex
deleted file mode 100644 (file)
index ddc947e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-?package(freeside):needs=X11|text|vc|wm section=Apps/see-menu-manual\
-  title="freeside" command="/usr/bin/freeside"
diff --git a/debian/postinst.ex b/debian/postinst.ex
deleted file mode 100644 (file)
index c4d4bfb..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#! /bin/sh
-# postinst script for freeside
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/share/doc/packaging-manual/
-#
-# quoting from the policy:
-#     Any necessary prompting should almost always be confined to the
-#     post-installation script, and should be protected with a conditional
-#     so that unnecessary prompting doesn't happen if a package's
-#     installation fails and the `postinst' is called with `abort-upgrade',
-#     `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
-    configure)
-
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/postrm.ex b/debian/postrm.ex
deleted file mode 100644 (file)
index bed8abd..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#! /bin/sh
-# postrm script for freeside
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see /usr/share/doc/packaging-manual/
-
-case "$1" in
-       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
-
-        ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 0
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-
diff --git a/debian/preinst.ex b/debian/preinst.ex
deleted file mode 100644 (file)
index 0b42bb2..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh
-# preinst script for freeside
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <new-preinst> `install'
-#        * <new-preinst> `install' <old-version>
-#        * <new-preinst> `upgrade' <old-version>
-#        * <old-preinst> `abort-upgrade' <new-version>
-#
-# For details see /usr/share/doc/packaging-manual/
-
-case "$1" in
-    install|upgrade)
-#        if [ "$1" = "upgrade" ]
-#        then
-#            start-stop-daemon --stop --quiet --oknodo  \
-#                --pidfile /var/run/freeside.pid  \
-#                --exec /usr/sbin/freeside 2>/dev/null || true
-#        fi
-    ;;
-
-    abort-upgrade)
-    ;;
-
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/prerm.ex b/debian/prerm.ex
deleted file mode 100644 (file)
index ebb87c5..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#! /bin/sh
-# prerm script for freeside
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/share/doc/packaging-manual/
-
-case "$1" in
-    remove|upgrade|deconfigure)
-#       install-info --quiet --remove /usr/info/freeside.info.gz
-        ;;
-    failed-upgrade)
-        ;;
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 0
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/rules b/debian/rules
deleted file mode 100755 (executable)
index 71016c4..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. 
-# GNU copyright 1997 by Joey Hess.
-#
-# This version is for a hypothetical package that builds an
-# architecture-dependant package, as well as an architecture-independent
-# package.
-
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       # Add here commands to configure the package.
-       
-
-       touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
-       dh_testdir
-
-       # Add here commands to compile the package.
-       $(MAKE)
-
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp configure-stamp
-
-       # Add here commands to clean up after the build process.
-       -$(MAKE) clean
-
-       dh_clean
-
-install: DH_OPTIONS=
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-
-       # Add here commands to install the package into debian/freeside.
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/freeside
-
-       dh_movefiles
-
-# Build architecture-independent files here.
-# Pass -i to all debhelper commands in this target to reduce clutter.
-binary-indep: build install
-       dh_testdir -i
-       dh_testroot -i
-#      dh_installdebconf -i
-       dh_installdocs -i
-       dh_installexamples -i
-       dh_installmenu -i
-#      dh_installlogrotate -i
-#      dh_installemacsen -i
-#      dh_installpam -i
-#      dh_installmime -i
-#      dh_installinit -i
-       dh_installcron -i
-#      dh_installman -i
-       dh_installinfo -i
-#      dh_undocumented -i
-       dh_installchangelogs  -i
-       dh_link -i
-       dh_compress -i
-       dh_fixperms -i
-       dh_installdeb -i
-#      dh_perl -i
-       dh_gencontrol -i
-       dh_md5sums -i
-       dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir -a
-       dh_testroot -a
-#      dh_installdebconf -a
-       dh_installdocs -a
-       dh_installexamples -a
-       dh_installmenu -a
-#      dh_installlogrotate -a
-#      dh_installemacsen -a
-#      dh_installpam -a
-#      dh_installmime -a
-#      dh_installinit -a
-       dh_installcron -a
-#      dh_installman -a
-       dh_installinfo -a
-#      dh_undocumented -a
-       dh_installchangelogs  -a
-       dh_strip -a
-       dh_link -a
-       dh_compress -a
-       dh_fixperms -a
-#      dh_makeshlibs -a
-       dh_installdeb -a
-#      dh_perl -a
-       dh_shlibdeps -a
-       dh_gencontrol -a
-       dh_md5sums -a
-       dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch.ex b/debian/watch.ex
deleted file mode 100644 (file)
index 3f57ae0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# Site         Directory               Pattern                 Version Script
-sunsite.unc.edu        /pub/Linux/Incoming     freeside-(.*)\.tar\.gz  debian  uupdate
diff --git a/eg/TEMPLATE_cust_main.import b/eg/TEMPLATE_cust_main.import
deleted file mode 100755 (executable)
index e91a2f1..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-#!/usr/bin/perl -w
-#
-# Template for importing legacy customer data
-#
-# $Id: TEMPLATE_cust_main.import,v 1.4 2001-08-21 02:44:47 ivan Exp $
-
-use strict;
-use Date::Parse;
-use FS::UID qw(adminsuidsetup datasrc);
-use FS::Record qw(fields qsearch qsearchs);
-use FS::cust_main;
-use FS::cust_pkg;
-use FS::cust_svc;
-use FS::svc_acct;
-use FS::pkg_svc;
-
-my $user = shift or die &usage;
-adminsuidsetup $user;
-
-# use these for the imported cust_main records (unless you have these in legacy
-# data)
-my($agentnum)=4;
-my($refnum)=5;
-
-# map from legacy billing data to pkgpart, maps imported field
-# LegacyBillingData to pkgpart.  your names and pkgparts will be different
-my(%pkgpart)=(
-  'Employee'          => 10,
-  'Business'          => 11,
-  'Individual'        => 12,
-  'Basic PPP'         => 13,
-  'Slave'             => 14,
-  'Co-Located Server' => 15,
-  'Virtual Web'       => 16,
-  'Perk Mail'         => 17,
-  'Credit Hold'       => 18,
-);
-
-my($file)="legacy_file";
-
-open(CLIENT,$file) 
-  or die "Can't open $file: $!"; 
-
-# put a tab-separated header atop the file, or define @fields
-#   (use these names or change them below)
-#
-# for cust_main
-#   custnum - unique
-#   last - (name)
-#   first - (name)
-#   company
-#   address1
-#   address2
-#   city
-#   state
-#   zip
-#   country
-#   daytime - (phone)
-#   night - (phone)
-#   fax
-#   payby - CARD, BILL or COMP
-#   payinfo - Credit card #, P.O. # or COMP authorization
-#   paydate - Expiration
-#   tax - 'Y' for tax exempt
-# for cust_pkg
-#   LegacyBillingData - maps via %pkgpart above to a pkgpart
-# for svc_acct
-#   username
-
-my($header);
-$header=<CLIENT>;
-chop $header;
-my(@fields)=map { /^\s*(.*[^\s]+)\s*$/; $1 } split(/\t/,$header);
-#print join("\n",@fields);
-
-my($error);
-my($link,$line)=(0,0);
-while (<CLIENT>) {
-  chop; 
-  next if /^[\s\t]*$/; #skip any blank lines
-
-  #define %svc hash for this record
-  my(@record)=split(/\t/);
-  my(%svc);
-  foreach (@fields) {
-    $svc{$_}=shift @record;   
-  }
-
-  # might need to massage some data like this
-  $svc{'payby'} =~ s/^Credit Card$/CARD/io;
-  $svc{'payby'} =~ s/^Check$/BILL/io;
-  $svc{'payby'} =~ s/^Cash$/BILL/io;
-  $svc{'payby'} =~ s/^$/BILL/o;
-  $svc{'First'} =~ s/&/and/go; 
-  $svc{'Zip'} =~ s/\s+$//go;
-
-  my($cust_main) = new FS::cust_main ( {
-    'custnum'  => $svc{'custnum'},
-    'agentnum' => $agentnum,
-    'last'     => $svc{'last'},
-    'first'    => $svc{'first'},
-    'company'  => $svc{'company'},
-    'address1' => $svc{'address1'},
-    'address2' => $svc{'address2'},
-    'city'     => $svc{'city'},
-    'state'    => $svc{'state'},
-    'zip'      => $svc{'zip'},
-    'country'  => $svc{'country'},
-    'daytime'  => $svc{'daytime'},
-    'night'    => $svc{'night'},
-    'fax'      => $svc{'fax'},
-    'payby'    => $svc{'payby'},
-    'payinfo'  => $svc{'payinfo'},
-    'paydate'  => $svc{'paydate'},
-    'payname'  => $svc{'payname'},
-    'tax'      => $svc{'tax'},
-    'refnum'   => $refnum,
-  } );
-
-  $error=$cust_main->insert;
-
-  if ( $error ) {
-    warn $cust_main->_dump;
-    warn map "$_: ". $svc{$_}. "|\n", keys %svc;
-    die $error;
-  }
-
-  my($cust_pkg)=new FS::cust_pkg ( {
-    'custnum' => $svc{'custnum'},
-    'pkgpart' => $pkgpart{$svc{'LegacyBillingData'}},
-    'setup'   => '', 
-    'bill'    => '',
-    'susp'    => '',
-    'expire'  => '',
-    'cancel'  => '',
-  } );
-
-  $error=$cust_pkg->insert;
-  if ( $error ) {
-    warn $svc{'LegacyBillingData'};
-    die $error;
-  }
-
-  unless ( $svc{'username'} ) {
-    warn "Empty login";
-  } else {
-    #find svc_acct record (imported with bin/svc_acct.import) for this username
-    my($svc_acct)=qsearchs('svc_acct',{'username'=>$svc{'username'}});
-    unless ( $svc_acct ) {
-      warn "username ", $svc{'username'}, " not found\n";
-    } else {
-      #link to the cust_pkg record we created above
-
-      #find cust_svc record for this svc_acct record
-      my($o_cust_svc)=qsearchs('cust_svc',{
-        'svcnum' => $svc_acct->svcnum,
-        'pkgnum' => '',
-      } );
-      unless ( $o_cust_svc ) {
-        warn "No unlinked cust_svc for svcnum ", $svc_acct->svcnum;
-      } else {
-
-        #make sure this svcpart is in pkgpart
-        my($pkg_svc)=qsearchs('pkg_svc',{
-          'pkgpart'  => $pkgpart{$svc{'LegacyBillingData'}},
-          'svcpart'  => $o_cust_svc->svcpart,
-          'quantity' => 1,
-        });
-        unless ( $pkg_svc ) {
-          warn "login ", $svc{'username'}, ": No svcpart ", $o_cust_svc->svcpart,
-               " for pkgpart ", $pkgpart{$svc{'Acct. Type'}}, "\n" ;
-        } else {
-
-          #create new cust_svc record linked to cust_pkg record 
-          my($n_cust_svc) = new FS::cust_svc ({
-            'svcnum'  => $o_cust_svc->svcnum,
-            'pkgnum'  => $cust_pkg->pkgnum,
-            'svcpart' => $pkg_svc->svcpart,
-          });
-          my($error) = $n_cust_svc->replace($o_cust_svc);
-          die $error if $error;
-          $link++;
-        }
-      }
-    }
-  }
-
-  $line++;
-
-}
-
-warn "\n$link of $line lines linked\n";
-
-# ---
-
-sub usage {
-  die "Usage:\n\n  cust_main.import user\n";
-}
diff --git a/eg/export_template.pm b/eg/export_template.pm
deleted file mode 100644 (file)
index 2830ce3..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-package FS::part_export::myexport;
-
-use vars qw(@ISA %info);
-use Tie::IxHash;
-use FS::part_export;
-
-@ISA = qw(FS::part_export);
-
-tie my %options, 'Tie::IxHash',
-  'regular_option'  => { label => 'Option description', default => 'value' },
-  'select_option'   => { label   => 'Select option description',
-                         type    => 'select', options=>[qw(chocolate vanilla)],
-                         default => 'vanilla',
-                       },
-  'textarea_option' => { label   => 'Textarea option description',
-                         type    => 'textarea',
-                         default => 'Default text.',
-                      },
-  'checkbox_option' => { label => 'Checkbox label', type => 'checkbox' },
-;
-
-%info = (
-  'svc'      => 'svc_acct',
-  #'svc'      => [qw( svc_acct svc_forward )],
-  'desc'     =>
-    'Export short description',
-  'options'  => \%options,
-  'nodomain' => 'Y',
-  'notes'    => <<'END'
-HTML notes about this export.
-END
-
-sub rebless { shift; }
-
-sub _export_insert {
-  my($self, $svc_something) = (shift, shift);
-  $err_or_queue = $self->myexport_queue( $svc_something->svcnum, 'insert',
-    $svc_something->username, $svc_something->_password );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_replace {
-  my( $self, $new, $old ) = (shift, shift, shift);
-  #return "can't change username with myexport"
-  #  if $old->username ne $new->username;
-  #return '' unless $old->_password ne $new->_password;
-  $err_or_queue = $self->myexport_queue( $new->svcnum,
-    'replace', $new->username, $new->_password );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_delete {
-  my( $self, $svc_something ) = (shift, shift);
-  $err_or_queue = $self->myexport_queue( $svc_something->svcnum,
-    'delete', $svc_something->username );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-#these two are optional
-# fallback for svc_acct will change and restore password
-sub _export_suspend {
-  my( $self, $svc_something ) = (shift, shift);
-  $err_or_queue = $self->myexport_queue( $svc_something->svcnum,
-    'suspend', $svc_something->username );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-sub _export_unsuspend {
-  my( $self, $svc_something ) = (shift, shift);
-  $err_or_queue = $self->myexport_queue( $svc_something->svcnum,
-    'unsuspend', $svc_something->username );
-  ref($err_or_queue) ? '' : $err_or_queue;
-}
-
-###
-
-#a good idea to queue anything that could fail or take any time
-sub myexport_queue {
-  my( $self, $svcnum, $method ) = (shift, shift, shift);
-  my $queue = new FS::queue {
-    'svcnum' => $svcnum,
-    'job'    => "FS::part_export::myexport::myexport_$method",
-  };
-  $queue->insert( @_ ) or $queue;
-}
-
-sub myexport_insert { #subroutine, not method
-  my( $username, $password ) = @_;
-  #do things with $username and $password
-}
-
-sub myexport_replace { #subroutine, not method
-}
-
-sub myexport_delete { #subroutine, not method
-  my( $username ) = @_;
-  #do things with $username
-}
-
-sub myexport_suspend { #subroutine, not method
-}
-
-sub myexport_unsuspend { #subroutine, not method
-}
-
-
diff --git a/eg/table_template-svc.pm b/eg/table_template-svc.pm
deleted file mode 100644 (file)
index 7f7ef4b..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-package FS::svc_table;
-
-use strict;
-use vars qw(@ISA);
-#use FS::Record qw( qsearch qsearchs );
-use FS::svc_Common;
-use FS::cust_svc;
-
-@ISA = qw(FS::svc_Common);
-
-=head1 NAME
-
-FS::table_name - Object methods for table_name records
-
-=head1 SYNOPSIS
-
-  use FS::table_name;
-
-  $record = new FS::table_name \%hash;
-  $record = new FS::table_name { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-  $error = $record->suspend;
-
-  $error = $record->unsuspend;
-
-  $error = $record->cancel;
-
-=head1 DESCRIPTION
-
-An FS::table_name object represents an example.  FS::table_name inherits from
-FS::svc_Common.  The following fields are currently supported:
-
-=over 4
-
-=item field - description
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new example.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-sub table { 'table_name'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-The additional fields pkgnum and svcpart (see L<FS::cust_svc>) should be 
-defined.  An FS::cust_svc record will be created and inserted.
-
-=cut
-
-sub insert {
-  my $self = shift;
-  my $error;
-
-  $error = $self->SUPER::insert;
-  return $error if $error;
-
-  '';
-}
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-sub delete {
-  my $self = shift;
-  my $error;
-
-  $error = $self->SUPER::delete;
-  return $error if $error;
-
-  '';
-}
-
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-sub replace {
-  my ( $new, $old ) = ( shift, shift );
-  my $error;
-
-  $error = $new->SUPER::replace($old);
-  return $error if $error;
-
-  '';
-}
-
-=item suspend
-
-Called by the suspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item unsuspend
-
-Called by the unsuspend method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item cancel
-
-Called by the cancel method of FS::cust_pkg (see L<FS::cust_pkg>).
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and repalce methods.
-
-=cut
-
-sub check {
-  my $self = shift;
-
-  my $x = $self->setfixed;
-  return $x unless ref($x);
-  my $part_svc = $x;
-
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-The author forgot to customize this manpage.
-
-=head1 SEE ALSO
-
-L<FS::svc_Common>, L<FS::Record>, L<FS::cust_svc>, L<FS::part_svc>,
-L<FS::cust_pkg>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/eg/table_template.pm b/eg/table_template.pm
deleted file mode 100644 (file)
index 5da6f3b..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-package FS::table_name;
-
-use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-
-@ISA = qw(FS::Record);
-
-=head1 NAME
-
-FS::table_name - Object methods for table_name records
-
-=head1 SYNOPSIS
-
-  use FS::table_name;
-
-  $record = new FS::table_name \%hash;
-  $record = new FS::table_name { 'column' => 'value' };
-
-  $error = $record->insert;
-
-  $error = $new_record->replace($old_record);
-
-  $error = $record->delete;
-
-  $error = $record->check;
-
-=head1 DESCRIPTION
-
-An FS::table_name object represents an example.  FS::table_name inherits from
-FS::Record.  The following fields are currently supported:
-
-=over 4
-
-=item field - description
-
-=back
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-Creates a new example.  To add the example to the database, see L<"insert">.
-
-Note that this stores the hash reference, not a distinct copy of the hash it
-points to.  You can ask the object for a copy with the I<hash> method.
-
-=cut
-
-# the new method can be inherited from FS::Record, if a table method is defined
-
-sub table { 'table_name'; }
-
-=item insert
-
-Adds this record to the database.  If there is an error, returns the error,
-otherwise returns false.
-
-=cut
-
-# the insert method can be inherited from FS::Record
-
-=item delete
-
-Delete this record from the database.
-
-=cut
-
-# the delete method can be inherited from FS::Record
-
-=item replace OLD_RECORD
-
-Replaces the OLD_RECORD with this one in the database.  If there is an error,
-returns the error, otherwise returns false.
-
-=cut
-
-# the replace method can be inherited from FS::Record
-
-=item check
-
-Checks all fields to make sure this is a valid example.  If there is
-an error, returns the error, otherwise returns false.  Called by the insert
-and replace methods.
-
-=cut
-
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
-sub check {
-  my $self = shift;
-
-  my $error = 
-    $self->ut_numbern('primary_key')
-    || $self->ut_number('validate_other_fields')
-  ;
-  return $error if $error;
-
-  $self->SUPER::check;
-}
-
-=back
-
-=head1 BUGS
-
-The author forgot to customize this manpage.
-
-=head1 SEE ALSO
-
-L<FS::Record>, schema.html from the base documentation.
-
-=cut
-
-1;
-
diff --git a/eg/xmlrpc-example.pl b/eg/xmlrpc-example.pl
deleted file mode 100755 (executable)
index 7a2a0a6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use Frontier::Client;
-use Data::Dumper;
-
-my $server = new Frontier::Client (
-       url => 'http://user:pass@freesidehost/misc/xmlrpc.cgi',
-);
-
-#my $method = 'cust_main.smart_search';
-#my @args = (search => '1');
-
-my $method = 'Record.qsearch';
-my @args = (cust_main => { });
-
-my $result = $server->call($method, @args);
-
-if (ref($result) eq 'ARRAY') {
-  print "Result:\n";
-  print Dumper(@$result);
-}
-
diff --git a/etc/abbr_state.txt b/etc/abbr_state.txt
deleted file mode 100644 (file)
index 7e4f57f..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-State/Possession               Abbreviation
-
-ALABAMA                         AL
-ALASKA                          AK
-AMERICAN SAMOA                  AS
-ARIZONA                         AZ
-ARKANSAS                        AR
-CALIFORNIA                      CA
-COLORADO                        CO
-CONNECTICUT                     CT
-DELAWARE                        DE
-DISTRICT OF COLUMBIA            DC
-FEDERATED STATES OF MICRONESIA  FM
-FLORIDA                         FL
-GEORGIA                         GA
-GUAM                            GU
-HAWAII                          HI
-IDAHO                           ID
-ILLINOIS                        IL
-INDIANA                         IN
-IOWA                            IA
-KANSAS                          KS
-KENTUCKY                        KY
-LOUISIANA                       LA
-MAINE                           ME
-MARSHALL ISLANDS                MH
-MARYLAND                        MD
-MASSACHUSETTS                   MA
-MICHIGAN                        MI
-MINNESOTA                       MN
-MISSISSIPPI                     MS
-MISSOURI                        MO
-MONTANA                         MT
-NEBRASKA                        NE
-NEVADA                          NV
-NEW HAMPSHIRE                   NH
-NEW JERSEY                      NJ
-NEW MEXICO                      NM
-NEW YORK                        NY
-NORTH CAROLINA                  NC
-NORTH DAKOTA                    ND
-NORTHERN MARIANA ISLANDS        MP
-OHIO                            OH
-OKLAHOMA                        OK
-OREGON                          OR
-PALAU                           PW
-PENNSYLVANIA                    PA
-PUERTO RICO                     PR
-RHODE ISLAND                    RI
-SOUTH CAROLINA                  SC
-SOUTH DAKOTA                    SD
-TENNESSEE                       TN
-TEXAS                           TX
-UTAH                            UT
-VERMONT                         VT
-VIRGIN ISLANDS                  VI
-VIRGINIA                        VA
-WASHINGTON                      WA
-WEST VIRGINIA                   WV
-WISCONSIN                       WI
-WYOMING                         WY
-
-
-Military "State"               Abbreviation
-
-Armed Forces Africa            AE
-Armed Forces Americas          AA
-(except Canada)
-Armed Forces Canada            AE
-Armed Forces Europe            AE
-Armed Forces Middle East       AE
-Armed Forces Pacific           AP
diff --git a/etc/countries.txt b/etc/countries.txt
deleted file mode 100644 (file)
index 73c3975..0000000
+++ /dev/null
@@ -1,239 +0,0 @@
-AFGHANISTAN                                     AF      AFG     004
-ALBANIA                                         AL      ALB     008
-ALGERIA                                         DZ      DZA     012
-AMERICAN SAMOA                                  AS      ASM     016
-ANDORRA                                         AD      AND     020
-ANGOLA                                          AO      AGO     024
-ANGUILLA                                        AI      AIA     660
-ANTARCTICA                                      AQ      ATA     010
-ANTIGUA AND BARBUDA                             AG      ATG     028
-ARGENTINA                                       AR      ARG     032
-ARMENIA                                         AM      ARM     051
-ARUBA                                           AW      ABW     533
-AUSTRALIA                                       AU      AUS     036
-AUSTRIA                                         AT      AUT     040
-AZERBAIJAN                                      AZ      AZE     031
-BAHAMAS                                         BS      BHS     044
-BAHRAIN                                         BH      BHR     048
-BANGLADESH                                      BD      BGD     050
-BARBADOS                                        BB      BRB     052
-BELARUS                                         BY      BLR     112
-BELGIUM                                         BE      BEL     056
-BELIZE                                          BZ      BLZ     084
-BENIN                                           BJ      BEN     204
-BERMUDA                                         BM      BMU     060
-BHUTAN                                          BT      BTN     064
-BOLIVIA                                         BO      BOL     068
-BOSNIA AND HERZEGOWINA                          BA      BIH     070
-BOTSWANA                                        BW      BWA     072
-BOUVET ISLAND                                   BV      BVT     074
-BRAZIL                                          BR      BRA     076
-BRITISH INDIAN OCEAN TERRITORY                  IO      IOT     086
-BRUNEI DARUSSALAM                               BN      BRN     096
-BULGARIA                                        BG      BGR     100
-BURKINA FASO                                    BF      BFA     854
-BURUNDI                                         BI      BDI     108
-CAMBODIA                                        KH      KHM     116
-CAMEROON                                        CM      CMR     120
-CANADA                                          CA      CAN     124
-CAPE VERDE                                      CV      CPV     132
-CAYMAN ISLANDS                                  KY      CYM     136
-CENTRAL AFRICAN REPUBLIC                        CF      CAF     140
-CHAD                                            TD      TCD     148
-CHILE                                           CL      CHL     152
-CHINA                                           CN      CHN     156
-CHRISTMAS ISLAND                                CX      CXR     162
-COCOS (KEELING) ISLANDS                         CC      CCK     166
-COLOMBIA                                        CO      COL     170
-COMOROS                                         KM      COM     174
-CONGO                                           CG      COG     178
-COOK ISLANDS                                    CK      COK     184
-COSTA RICA                                      CR      CRI     188
-COTE D'IVOIRE                                   CI      CIV     384
-CROATIA (local name: Hrvatska)                  HR      HRV     191
-CUBA                                            CU      CUB     192
-CYPRUS                                          CY      CYP     196
-CZECH REPUBLIC                                  CZ      CZE     203
-DENMARK                                         DK      DNK     208
-DJIBOUTI                                        DJ      DJI     262
-DOMINICA                                        DM      DMA     212
-DOMINICAN REPUBLIC                              DO      DOM     214
-EAST TIMOR                                      TP      TMP     626
-ECUADOR                                         EC      ECU     218
-EGYPT                                           EG      EGY     818
-EL SALVADOR                                     SV      SLV     222
-EQUATORIAL GUINEA                               GQ      GNQ     226
-ERITREA                                         ER      ERI     232
-ESTONIA                                         EE      EST     233
-ETHIOPIA                                        ET      ETH     231
-FALKLAND ISLANDS (MALVINAS)                     FK      FLK     238
-FAROE ISLANDS                                   FO      FRO     234
-FIJI                                            FJ      FJI     242
-FINLAND                                         FI      FIN     246
-FRANCE                                          FR      FRA     250
-FRANCE, METROPOLITAN                            FX      FXX     249
-FRENCH GUIANA                                   GF      GUF     254
-FRENCH POLYNESIA                                PF      PYF     258
-FRENCH SOUTHERN TERRITORIES                     TF      ATF     260
-GABON                                           GA      GAB     266
-GAMBIA                                          GM      GMB     270
-GEORGIA                                         GE      GEO     268
-GERMANY                                         DE      DEU     276
-GHANA                                           GH      GHA     288
-GIBRALTAR                                       GI      GIB     292
-GREECE                                          GR      GRC     300
-GREENLAND                                       GL      GRL     304
-GRENADA                                         GD      GRD     308
-GUADELOUPE                                      GP      GLP     312
-GUAM                                            GU      GUM     316
-GUATEMALA                                       GT      GTM     320
-GUINEA                                          GN      GIN     324
-GUINEA-BISSAU                                   GW      GNB     624
-GUYANA                                          GY      GUY     328
-HAITI                                           HT      HTI     332
-HEARD AND MC DONALD ISLANDS                     HM      HMD     334
-HONDURAS                                        HN      HND     340
-HONG KONG                                       HK      HKG     344
-HUNGARY                                         HU      HUN     348
-ICELAND                                         IS      ISL     352
-INDIA                                           IN      IND     356
-INDONESIA                                       ID      IDN     360
-IRAN (ISLAMIC REPUBLIC OF)                      IR      IRN     364
-IRAQ                                            IQ      IRQ     368
-IRELAND                                         IE      IRL     372
-ISRAEL                                          IL      ISR     376
-ITALY                                           IT      ITA     380
-JAMAICA                                         JM      JAM     388
-JAPAN                                           JP      JPN     392
-JORDAN                                          JO      JOR     400
-KAZAKHSTAN                                      KZ      KAZ     398
-KENYA                                           KE      KEN     404
-KIRIBATI                                        KI      KIR     296
-KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF          KP      PRK     408
-KOREA, REPUBLIC OF                              KR      KOR     410
-KUWAIT                                          KW      KWT     414
-KYRGYZSTAN                                      KG      KGZ     417
-LAO PEOPLE'S DEMOCRATIC REPUBLIC                LA      LAO     418
-LATVIA                                          LV      LVA     428
-LEBANON                                         LB      LBN     422
-LESOTHO                                         LS      LSO     426
-LIBERIA                                         LR      LBR     430
-LIBYAN ARAB JAMAHIRIYA                          LY      LBY     434
-LIECHTENSTEIN                                   LI      LIE     438
-LITHUANIA                                       LT      LTU     440
-LUXEMBOURG                                      LU      LUX     442
-MACAU                                           MO      MAC     446
-MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF      MK      MKD     807
-MADAGASCAR                                      MG      MDG     450
-MALAWI                                          MW      MWI     454
-MALAYSIA                                        MY      MYS     458
-MALDIVES                                        MV      MDV     462
-MALI                                            ML      MLI     466
-MALTA                                           MT      MLT     470
-MARSHALL ISLANDS                                MH      MHL     584
-MARTINIQUE                                      MQ      MTQ     474
-MAURITANIA                                      MR      MRT     478
-MAURITIUS                                       MU      MUS     480
-MAYOTTE                                         YT      MYT     175
-MEXICO                                          MX      MEX     484
-MICRONESIA, FEDERATED STATES OF                 FM      FSM     583
-MOLDOVA, REPUBLIC OF                            MD      MDA     498
-MONACO                                          MC      MCO     492
-MONGOLIA                                        MN      MNG     496
-MONTSERRAT                                      MS      MSR     500
-MOROCCO                                         MA      MAR     504
-MOZAMBIQUE                                      MZ      MOZ     508
-MYANMAR                                         MM      MMR     104
-NAMIBIA                                         NA      NAM     516
-NAURU                                           NR      NRU     520
-NEPAL                                           NP      NPL     524
-NETHERLANDS                                     NL      NLD     528
-NETHERLANDS ANTILLES                            AN      ANT     530
-NEW CALEDONIA                                   NC      NCL     540
-NEW ZEALAND                                     NZ      NZL     554
-NICARAGUA                                       NI      NIC     558
-NIGER                                           NE      NER     562
-NIGERIA                                         NG      NGA     566
-NIUE                                            NU      NIU     570
-NORFOLK ISLAND                                  NF      NFK     574
-NORTHERN MARIANA ISLANDS                        MP      MNP     580
-NORWAY                                          NO      NOR     578
-OMAN                                            OM      OMN     512
-PAKISTAN                                        PK      PAK     586
-PALAU                                           PW      PLW     585
-PANAMA                                          PA      PAN     591
-PAPUA NEW GUINEA                                PG      PNG     598
-PARAGUAY                                        PY      PRY     600
-PERU                                            PE      PER     604
-PHILIPPINES                                     PH      PHL     608
-PITCAIRN                                        PN      PCN     612
-POLAND                                          PL      POL     616
-PORTUGAL                                        PT      PRT     620
-PUERTO RICO                                     PR      PRI     630
-QATAR                                           QA      QAT     634
-REUNION                                         RE      REU     638
-ROMANIA                                         RO      ROM     642
-RUSSIAN FEDERATION                              RU      RUS     643
-RWANDA                                          RW      RWA     646
-SAINT KITTS AND NEVIS                           KN      KNA     659
-SAINT LUCIA                                     LC      LCA     662
-SAINT VINCENT AND THE GRENADINES                VC      VCT     670
-SAMOA                                           WS      WSM     882
-SAN MARINO                                      SM      SMR     674
-SAO TOME AND PRINCIPE                           ST      STP     678
-SAUDI ARABIA                                    SA      SAU     682
-SENEGAL                                         SN      SEN     686
-SEYCHELLES                                      SC      SYC     690
-SIERRA LEONE                                    SL      SLE     694
-SINGAPORE                                       SG      SGP     702
-SLOVAKIA (Slovak Republic)                      SK      SVK     703
-SLOVENIA                                        SI      SVN     705
-SOLOMON ISLANDS                                 SB      SLB     090
-SOMALIA                                         SO      SOM     706
-SOUTH AFRICA                                    ZA      ZAF     710
-SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS    GS      SGS     239
-SPAIN                                           ES      ESP     724
-SRI LANKA                                       LK      LKA     144
-ST. HELENA                                      SH      SHN     654
-ST. PIERRE AND MIQUELON                         PM      SPM     666
-SUDAN                                           SD      SDN     736
-SURINAME                                        SR      SUR     740
-SVALBARD AND JAN MAYEN ISLANDS                  SJ      SJM     744
-SWAZILAND                                       SZ      SWZ     748
-SWEDEN                                          SE      SWE     752
-SWITZERLAND                                     CH      CHE     756
-SYRIAN ARAB REPUBLIC                            SY      SYR     760
-TAIWAN, PROVINCE OF CHINA                       TW      TWN     158
-TAJIKISTAN                                      TJ      TJK     762
-TANZANIA, UNITED REPUBLIC OF                    TZ      TZA     834
-THAILAND                                        TH      THA     764
-TOGO                                            TG      TGO     768
-TOKELAU                                         TK      TKL     772
-TONGA                                           TO      TON     776
-TRINIDAD AND TOBAGO                             TT      TTO     780
-TUNISIA                                         TN      TUN     788
-TURKEY                                          TR      TUR     792
-TURKMENISTAN                                    TM      TKM     795
-TURKS AND CAICOS ISLANDS                        TC      TCA     796
-TUVALU                                          TV      TUV     798
-UGANDA                                          UG      UGA     800
-UKRAINE                                         UA      UKR     804
-UNITED ARAB EMIRATES                            AE      ARE     784
-UNITED KINGDOM                                  GB      GBR     826
-UNITED STATES                                   US      USA     840
-UNITED STATES MINOR OUTLYING ISLANDS            UM      UMI     581
-URUGUAY                                         UY      URY     858
-UZBEKISTAN                                      UZ      UZB     860
-VANUATU                                         VU      VUT     548
-VATICAN CITY STATE (HOLY SEE)                   VA      VAT     336
-VENEZUELA                                       VE      VEN     862
-VIET NAM                                        VN      VNM     704
-VIRGIN ISLANDS (BRITISH)                        VG      VGB     092
-VIRGIN ISLANDS (U.S.)                           VI      VIR     850
-WALLIS AND FUTUNA ISLANDS                       WF      WLF     876
-WESTERN SAHARA                                  EH      ESH     732
-YEMEN                                           YE      YEM     887
-YUGOSLAVIA                                      YU      YUG     891
-ZAIRE                                           ZR      ZAR     180
-ZAMBIA                                          ZM      ZMB     894
-ZIMBABWE                                        ZW      ZWE     716
diff --git a/etc/domain-template.txt b/etc/domain-template.txt
deleted file mode 100644 (file)
index 8e4983c..0000000
+++ /dev/null
@@ -1,231 +0,0 @@
-[ URL ftp://rs.internic.net/templates/domain-template.txt ] [ 03/98 ] 
-
-******* Please DO NOT REMOVE Version Number or Sections A-Q ********
-
-Domain Version Number: 4.0
-
-******* Email completed agreement to hostmaster@internic.net *******
-
-       NETWORK SOLUTIONS, INC.
-
-       DOMAIN NAME REGISTRATION AGREEMENT
-
-
-A.     Introduction. This domain name registration agreement
-("Registration Agreement") is submitted to NETWORK SOLUTIONS, INC.
-("NSI") for the purpose of applying for and registering a domain name
-on the Internet. If this Registration Agreement is accepted by NSI,
-and a domain name is registered in NSI's domain name database and
-assigned to the Registrant, Registrant ("Registrant") agrees to be
-bound by the terms of this Registration Agreement and the terms of
-NSI's Domain Name Dispute Policy ("Dispute Policy") which is
-incorporated herein by reference and made a part of this Registration
-Agreement. This Registration Agreement shall be accepted at the
-offices of NSI. 
-
-B. Fees and Payments.
-
-1) Registration or renewal (re-registration) date through March 31, 1998:
-Registrant agrees to pay a registration fee of One Hundred United States
-Dollars (US$100) as consideration for the registration of each new domain
-name or Fifty United States Dollars (US$50) to renew (re-register) an
-existing registration.
-2) Registration or renewal date on and after April 1, 1998:  Registrant
-agrees to pay a registration fee of Seventy United States Dollars (US$70) 
-as consideration for the registration of each new domain name or the 
-applicable renewal (re-registration) fee (currently Thirty-Five United 
-States Dollars (US$35)) at the time of renewal (re-registration).
-3) Period of Service:  The non-refundable fee covers a period of two (2)
-years for each new registration, and one (1) year for each renewal, 
-and includes any permitted modification(s) to the domain name record
-during the covered period.
-4) Payment:  Payment is due to Network Solutions within thirty (30) 
-days from the date of the invoice.
-
-C.     Dispute Policy. Registrant agrees, as a condition to
-submitting this Registration Agreement, and if the Registration
-Agreement is accepted by NSI, that the Registrant shall be bound by
-NSI's current Dispute Policy. The current version of the Dispute
-Policy may be found at the InterNIC Registration Services web site:
-"http://www.netsol.com/rs/dispute-policy.html". 
-
-D.     Dispute Policy Changes or Modifications. Registrant agrees
-that NSI, in its sole discretion, may change or modify the Dispute
-Policy, incorporated by reference herein, at any time. Registrant
-agrees that Registrant's maintaining the registration of a domain name
-after changes or modifications to the Dispute Policy become effective
-constitutes Registrant's continued acceptance of these changes or
-modifications. Registrant agrees that if Registrant considers any such
-changes or modifications to be unacceptable, Registrant may request
-that the domain name be deleted from the domain name database. 
-
-E.     Disputes. Registrant agrees that, if the registration of its
-domain name is challenged by any third party, the Registrant will be
-subject to the provisions specified in the Dispute Policy. 
-
-F.     Agents. Registrant agrees that if this Registration Agreement
-is completed by an agent for the Registrant, such as an ISP or
-Administrative Contact/Agent, the Registrant is nonetheless bound as a
-principal by all terms and conditions herein, including the Dispute
-Policy. 
-
-G.     Limitation of Liability. Registrant agrees that NSI shall have
-no liability to the Registrant for any loss Registrant may incur in
-connection with NSI's processing of this Registration Agreement, in
-connection with NSI's processing of any authorized modification to the
-domain name's record during the covered period, as a result of the
-Registrant's ISP's failure to pay either the initial registration fee
-or renewal fee, or as a result of the application of the provisions of
-the Dispute Policy. Registrant agrees that in no event shall the
-maximum liability of NSI under this Agreement for any matter exceed
-Five Hundred United States Dollars (US$500). 
-
-H.     Indemnity. Registrant agrees, in the event the Registration
-Agreement is accepted by NSI and a subsequent dispute arises with any
-third party, to indemnify and hold NSI harmless pursuant to the terms
-and conditions contained in the Dispute Policy. 
-
-I.     Breach. Registrant agrees that failure to abide by any
-provision of this Registration Agreement or the Dispute Policy may be
-considered by NSI to be a material breach and that NSI may provide a
-written notice, describing the breach, to the Registrant. If, within
-thirty (30) days of the date of mailing such notice, the Registrant
-fails to provide evidence, which is reasonably satisfactory to NSI,
-that it has not breached its obligations, then NSI may delete
-Registrant's registration of the domain name. Any such breach by a
-Registrant shall not be deemed to be excused simply because NSI did
-not act earlier in response to that, or any other, breach by the
-Registrant. 
-
-J.     No Guaranty. Registrant agrees that, by registration of a
-domain name, such registration does not confer immunity from objection
-to either the registration or use of the domain name. 
-
-K.     Warranty. Registrant warrants by submitting this Registration
-Agreement that, to the best of Registrant's knowledge and belief, the
-information submitted herein is true and correct, and that any future
-changes to this information will be provided to NSI in a timely manner
-according to the domain name modification procedures in place at that
-time. Breach of this warranty will constitute a material breach. 
-
-L.     Revocation. Registrant agrees that NSI may delete a
-Registrant's domain name if this Registration Agreement, or subsequent
-modification(s) thereto, contains false or misleading information, or
-conceals or omits any information NSI would likely consider material
-to its decision to approve this Registration Agreement. 
-
-M.     Right of Refusal. NSI, in its sole discretion, reserves the
-right to refuse to approve the Registration Agreement for any
-Registrant. Registrant agrees that the submission of this Registration
-Agreement does not obligate NSI to accept this Registration Agreement.
-Registrant agrees that NSI shall not be liable for loss or damages
-that may result from NSI's refusal to accept this Registration
-Agreement. 
-
-N.     Severability. Registrant agrees that the terms of this
-Registration Agreement are severable. If any term or provision is
-declared invalid, it shall not affect the remaining terms or
-provisions which shall continue to be binding. 
-
-O.     Entirety. Registrant agrees that this Registration Agreement
-and the Dispute Policy is the complete and exclusive agreement between
-Registrant and NSI regarding the registration of Registrant's domain
-name. This Registration Agreement and the Dispute Policy supersede all
-prior agreements and understandings, whether established by custom,
-practice, policy, or precedent. 
-
-P.     Governing Law. Registrant agrees that this Registration
-Agreement shall be governed in all respects by and construed in
-accordance with the laws of the Commonwealth of Virginia, United
-States of America. By submitting this Registration Agreement,
-Registrant consents to the exclusive jurisdiction and venue of the
-United States District Court for the Eastern District of Virginia,
-Alexandria Division. If there is no jurisdiction in the United States
-District Court for the Eastern District of Virginia, Alexandria
-Division, then jurisdiction shall be in the Circuit Court of Fairfax
-County, Fairfax, Virginia. 
-
-Q.     This is Domain Name Registration Agreement Version
-Number 4.0. This Registration Agreement is only for registrations
-under top-level domains: COM, ORG, NET, and EDU. By completing
-and submitting this Registration Agreement for consideration and
-acceptance by NSI, the Registrant agrees that he/she has read and
-agrees to be bound by A through P above. 
-
-
-Authorization
-0a.  (N)ew (M)odify (D)elete....:###action###
-0b.  Auth Scheme................: 
-0c.  Auth Info..................: 
-
-1.   Comments...................:###purpose###
-
-2.   Complete Domain Name.......:###domain###
-
-Organization Using Domain Name
-
-3a.  Organization Name..........:###company###
-###LOOP###
-3b.  Street Address.............:###address###
-###ENDLOOP###
-3c.  City.......................:###city###
-3d.  State......................:###state###
-3e.  Postal Code................:###zip###
-3f.  Country....................:###country###
-
-Administrative Contact
-4a.  NIC Handle (if known)......: 
-4b.  (I)ndividual (R)ole........:I
-4c.  Name (Last, First).........:###last###, ###first###
-4d.  Organization Name..........:###company###
-###LOOP###
-4e.  Street Address.............:###address###
-###ENDLOOP###
-4f.  City.......................:###city###
-4g.  State......................:###state###
-4h.  Postal Code................:###zip### 
-4i.  Country....................:###country###
-4j.  Phone Number...............:###daytime###
-4k.  Fax Number.................:###fax###
-4l.  E-Mailbox..................:###email###
-
-Technical Contact
-5a.  NIC Handle (if known)......:###tech_contact###
-5b.  (I)ndividual (R)ole........: 
-5c.  Name (Last, First).........: 
-5d.  Organization Name..........: 
-5e.  Street Address.............: 
-5f.  City.......................: 
-5g.  State......................: 
-5h.  Postal Code................: 
-5i.  Country....................: 
-5j.  Phone Number...............: 
-5k.  Fax Number.................: 
-5l.  E-Mailbox..................: 
-
-Billing Contact
-6a.  NIC Handle (if known)......: 
-6b.  (I)ndividual (R)ole........: 
-6c.  Name (Last, First).........: 
-6d.  Organization Name..........: 
-6e.  Street Address.............: 
-6f.  City.......................: 
-6g.  State......................:
-6h.  Postal Code................:
-6i.  Country....................:
-6j.  Phone Number...............:
-6k.  Fax Number.................: 
-6l.  E-Mailbox..................: 
-
-Prime Name Server
-7a.  Primary Server Hostname....:###primary###
-7b.  Primary Server Netaddress..:###primary_ip###
-
-Secondary Name Server(s)
-###LOOP###
-8a.  Secondary Server Hostname..:###secondary###
-8b.  Secondary Server Netaddress:###secondary_ip###
-###ENDLOOP###
-
-END OF AGREEMENT
-
diff --git a/etc/megapop.pl b/etc/megapop.pl
deleted file mode 100755 (executable)
index b250bcd..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# $Id: megapop.pl,v 1.1 1999-04-19 10:32:44 ivan Exp $
-#
-# this will break when megapop changes the URL or format of their listing page.
-# that's stupid.  perhaps they can provide a machine-readable listing?
-
-use strict;
-use LWP::UserAgent;
-use FS::UID qw(adminsuidsetup);
-use FS::svc_acct_pop;
-
-my $url = "http://www.megapop.com/location.htm";
-
-my $user = shift or die &usage;
-adminsuidsetup($user);
-
-my %state2usps = &state2usps;
-$state2usps{'WASHINGTON STATE'} = 'WA'; #megapop's on crack
-$state2usps{'CANADA'} = 'CANADA'; #freeside's on crack
-
-my $ua = new LWP::UserAgent;
-my $request = new HTTP::Request('GET', $url);
-my $response = $ua->request($request);
-die $response->error_as_HTML unless $response->is_success;
-my $line;
-my $usps = '';
-foreach $line ( split("\n", $response->content) ) {
-  if ( $line =~ /\W(\w[\w\s]*\w)\s+LOCATIONS/i ) {
-    $usps = $state2usps{uc($1)}
-      or warn "warning: unknown state $1\n";
-  } elsif ( $line =~ /(\d{3})\-(\d{3})\-(\d{4})\s+(\w[\w\s]*\w)/ ) {
-    print "$1 $2 $3 $4 $usps\n";
-    my $svc_acct_pop = new FS::svc_acct_pop ( {
-      'city' => $4,
-      'state' => $usps,
-      'ac' => $1,
-      'exch' => $2,
-    } );
-    my $error = $svc_acct_pop->insert;
-    die $error if $error;
-  }
-}
-
-sub usage {
-  die "Usage:\n  $0 user\n";
-}
-
-sub state2usps{ (
-  'ALABAMA' => 'AL',
-  'ALASKA' => 'AK',
-  'AMERICAN SAMOA' => 'AS',
-  'ARIZONA' => 'AZ',
-  'ARKANSAS' => 'AR',
-  'CALIFORNIA' => 'CA',
-  'COLORADO' => 'CO',
-  'CONNECTICUT' => 'CT',
-  'DELAWARE' => 'DE',
-  'DISTRICT OF COLUMBIA' => 'DC',
-  'FEDERATED STATES OF MICRONESIA' => 'FM',
-  'FLORIDA' => 'FL',
-  'GEORGIA' => 'GA',
-  'GUAM' => 'GU',
-  'HAWAII' => 'HI',
-  'IDAHO' => 'ID',
-  'ILLINOIS' => 'IL',
-  'INDIANA' => 'IN',
-  'IOWA' => 'IA',
-  'KANSAS' => 'KS',
-  'KENTUCKY' => 'KY',
-  'LOUISIANA' => 'LA',
-  'MAINE' => 'ME',
-  'MARSHALL ISLANDS' => 'MH',
-  'MARYLAND' => 'MD',
-  'MASSACHUSETTS' => 'MA',
-  'MICHIGAN' => 'MI',
-  'MINNESOTA' => 'MN',
-  'MISSISSIPPI' => 'MS',
-  'MISSOURI' => 'MO',
-  'MONTANA' => 'MT',
-  'NEBRASKA' => 'NE',
-  'NEVADA' => 'NV',
-  'NEW HAMPSHIRE' => 'NH',
-  'NEW JERSEY' => 'NJ',
-  'NEW MEXICO' => 'NM',
-  'NEW YORK' => 'NY',
-  'NORTH CAROLINA' => 'NC',
-  'NORTH DAKOTA' => 'ND',
-  'NORTHERN MARIANA ISLANDS' => 'MP',
-  'OHIO' => 'OH',
-  'OKLAHOMA' => 'OK',
-  'OREGON' => 'OR',
-  'PALAU' => 'PW',
-  'PENNSYLVANIA' => 'PA',
-  'PUERTO RICO' => 'PR',
-  'RHODE ISLAND' => 'RI',
-  'SOUTH CAROLINA' => 'SC',
-  'SOUTH DAKOTA' => 'SD',
-  'TENNESSEE' => 'TN',
-  'TEXAS' => 'TX',
-  'UTAH' => 'UT',
-  'VERMONT' => 'VT',
-  'VIRGIN ISLANDS' => 'VI',
-  'VIRGINIA' => 'VA',
-  'WASHINGTON' => 'WA',
-  'WEST VIRGINIA' => 'WV',
-  'WISCONSIN' => 'WI',
-  'WYOMING' => 'WY',
-  'ARMED FORCES AFRICA' => 'AE',
-  'ARMED FORCES AMERICAS' => 'AA',
-  'ARMED FORCES CANADA' => 'AE',
-  'ARMED FORCES EUROPE' => 'AE',
-  'ARMED FORCES MIDDLE EAST' => 'AE',
-  'ARMED FORCES PACIFIC' => 'AP',
-) }
-
diff --git a/etc/sql-reserved-words.txt b/etc/sql-reserved-words.txt
deleted file mode 100644 (file)
index dc507ce..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-From http://epoch.cs.berkeley.edu:8000/sequoia/dba/montage/FAQ/SQL.html
-  by Jean Anderson (jta@postgres.berkeley.edu)
-
-What are the SQL reserved words? 
-
-I grep'd the following list out of the sql docs available via anonymous ftp to speckle.ncsl.nist.gov:/isowg3.
-SQL3 words are not set in stone, but you'd do well to avoid them. 
-
-    From sql1992.txt:
-
-         AFTER, ALIAS, ASYNC, BEFORE, BOOLEAN, BREADTH,
-         COMPLETION, CALL, CYCLE, DATA, DEPTH, DICTIONARY, EACH, ELSEIF,
-         EQUALS, GENERAL, IF, IGNORE, LEAVE, LESS, LIMIT, LOOP, MODIFY,
-         NEW, NONE, OBJECT, OFF, OID, OLD, OPERATION, OPERATORS, OTHERS,
-         PARAMETERS, PENDANT, PREORDER, PRIVATE, PROTECTED, RECURSIVE, REF,
-         REFERENCING, REPLACE, RESIGNAL, RETURN, RETURNS, ROLE, ROUTINE,
-         ROW, SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SIGNAL, SIMILAR,
-         SQLEXCEPTION, SQLWARNING, STRUCTURE, TEST, THERE, TRIGGER, TYPE,
-         UNDER, VARIABLE, VIRTUAL, VISIBLE, WAIT, WHILE, WITHOUT
-
-    From sql1992.txt (Annex E):
-
-         ABSOLUTE, ACTION, ADD, ALLOCATE, ALTER, ARE, ASSERTION, AT, BETWEEN,
-         BIT, BIT
-
-What are the SQL reserved words? 
-
-I grep'd the following list out of the sql docs available via anonymous ftp to speckle.ncsl.nist.gov:/isowg3.
-SQL3 words are not set in stone, but you'd do well to avoid them. 
-
-    From sql1992.txt:
-
-         AFTER, ALIAS, ASYNC, BEFORE, BOOLEAN, BREADTH,
-         COMPLETION, CALL, CYCLE, DATA, DEPTH, DICTIONARY, EACH, ELSEIF,
-         EQUALS, GENERAL, IF, IGNORE, LEAVE, LESS, LIMIT, LOOP, MODIFY,
-         NEW, NONE, OBJECT, OFF, OID, OLD, OPERATION, OPERATORS, OTHERS,
-         PARAMETERS, PENDANT, PREORDER, PRIVATE, PROTECTED, RECURSIVE, REF,
-         REFERENCING, REPLACE, RESIGNAL, RETURN, RETURNS, ROLE, ROUTINE,
-         ROW, SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SIGNAL, SIMILAR,
-         SQLEXCEPTION, SQLWARNING, STRUCTURE, TEST, THERE, TRIGGER, TYPE,
-         UNDER, VARIABLE, VIRTUAL, VISIBLE, WAIT, WHILE, WITHOUT
-
-    From sql1992.txt (Annex E):
-
-         ABSOLUTE, ACTION, ADD, ALLOCATE, ALTER, ARE, ASSERTION, AT, BETWEEN,
-         BIT, BIT
-
-What are the SQL reserved words? 
-
-I grep'd the following list out of the sql docs available via anonymous ftp to speckle.ncsl.nist.gov:/isowg3.
-SQL3 words are not set in stone, but you'd do well to avoid them. 
-
-    From sql1992.txt:
-
-         AFTER, ALIAS, ASYNC, BEFORE, BOOLEAN, BREADTH,
-         COMPLETION, CALL, CYCLE, DATA, DEPTH, DICTIONARY, EACH, ELSEIF,
-         EQUALS, GENERAL, IF, IGNORE, LEAVE, LESS, LIMIT, LOOP, MODIFY,
-         NEW, NONE, OBJECT, OFF, OID, OLD, OPERATION, OPERATORS, OTHERS,
-         PARAMETERS, PENDANT, PREORDER, PRIVATE, PROTECTED, RECURSIVE, REF,
-         REFERENCING, REPLACE, RESIGNAL, RETURN, RETURNS, ROLE, ROUTINE,
-         ROW, SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SIGNAL, SIMILAR,
-         SQLEXCEPTION, SQLWARNING, STRUCTURE, TEST, THERE, TRIGGER, TYPE,
-         UNDER, VARIABLE, VIRTUAL, VISIBLE, WAIT, WHILE, WITHOUT
-
-    From sql1992.txt (Annex E):
-
-         ABSOLUTE, ACTION, ADD, ALLOCATE, ALTER, ARE, ASSERTION, AT, BETWEEN,
-         BIT, BIT_LENGTH, BOTH, CASCADE, CASCADED, CASE, CAST, CATALOG,
-         CHAR_LENGTH, CHARACTER_LENGTH, COALESCE, COLLATE, COLLATION, COLUMN,
-         CONNECT, CONNECTION, CONSTRAINT, CONSTRAINTS, CONVERT, CORRESPONDING,
-         CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, CURRENT_USER,
-         DATE, DAY, DEALLOCATE, DEFERRABLE, DEFERRED, DESCRIBE, DESCRIPTOR,
-         DIAGNOSTICS, DISCONNECT, DOMAIN, DROP, ELSE, END-EXEC, EXCEPT,
-         EXCEPTION, EXECUTE, EXTERNAL, EXTRACT, FALSE, FIRST, FULL, GET,
-         GLOBAL, HOUR, IDENTITY, IMMEDIATE, INITIALLY, INNER, INPUT,
-         INSENSITIVE, INTERSECT, INTERVAL, ISOLATION, JOIN, LAST, LEADING,
-         LEFT, LEVEL, LOCAL, LOWER, MATCH, MINUTE, MONTH, NAMES, NATIONAL,
-         NATURAL, NCHAR, NEXT, NO, NULLIF, OCTET_LENGTH, ONLY, OUTER, OUTPUT,
-         OVERLAPS, PAD, PARTIAL, POSITION, PREPARE, PRESERVE, PRIOR, READ,
-         RELATIVE, RESTRICT, REVOKE, RIGHT, ROWS, SCROLL, SECOND, SESSION,
-         SESSION_USER, SIZE, SPACE, SQLSTATE, SUBSTRING, SYSTEM_USER,
-         TEMPORARY, THEN, TIME, TIMESTAMP, TIMEZONE_HOUR, TIMEZONE_MINUTE,
-         TRAILING, TRANSACTION, TRANSLATE, TRANSLATION, TRIM, TRUE, UNKNOWN,
-         UPPER, USAGE, USING, VALUE, VARCHAR, VARYING, WHEN, WRITE, YEAR, ZONE
-
-    From sql3part2.txt (Annex E)
-
-         ACTION, ACTOR, AFTER, ALIAS, ASYNC, ATTRIBUTES, BEFORE, BOOLEAN,
-         BREADTH, COMPLETION, CURRENT_PATH, CYCLE, DATA, DEPTH, DESTROY,
-         DICTIONARY, EACH, ELEMENT, ELSEIF, EQUALS, FACTOR, GENERAL, HOLD,
-         IGNORE, INSTEAD, LESS, LIMIT, LIST, MODIFY, NEW, NEW_TABLE, NO,
-         NONE, OFF, OID, OLD, OLD_TABLE, OPERATION, OPERATOR, OPERATORS,
-         PARAMETERS, PATH, PENDANT, POSTFIX, PREFIX, PREORDER, PRIVATE,
-         PROTECTED, RECURSIVE, REFERENCING, REPLACE, ROLE, ROUTINE, ROW,
-         SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SESSION, SIMILAR, SPACE,
-         SQLEXCEPTION, SQLWARNING, START, STATE, STRUCTURE, SYMBOL, TERM,
-         TEST, THERE, TRIGGER, TYPE, UNDER, VARIABLE, VIRTUAL, VISIBLE,
-         WAIT, WITHOUT
-
-    sql3part4.txt (ANNEX E):
-
-         CALL, DO, ELSEIF, EXCEPTION, IF, LEAVE, LOOP, OTHERS, RESIGNAL,
-         RETURN, RETURNS, SIGNAL, TUPLE, WHILE
diff --git a/fs_passwd/fs_passwd b/fs_passwd/fs_passwd
deleted file mode 100755 (executable)
index feddb46..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# fs_passwd
-#
-# portions of this script are copied from the `passwd' script in the original
-# (perl 4) camel book, now archived at 
-# http://www.perl.com/CPAN/scripts/nutshell/ch6/passwd
-#
-# ivan@sisd.com 98-mar-8
-#
-# password lengths 0,255 instead of 6,8 - we'll let the server process
-# check the data ivan@sisd.com 98-jul-17
-#
-# updated for the exciting new world of self-service 2004-mar-10
-
-use strict;
-use Getopt::Std;
-use FS::SelfService qw(passwd);
-use vars qw($opt_f $opt_s);
-
-my($freeside_uid)=scalar(getpwnam('freeside'));
-
-$ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-$SIG{__DIE__}= sub { system '/bin/stty', 'echo'; };
-
-die "passwd program isn't running setuid to freeside\n" if $> != $freeside_uid;
-
-unshift @ARGV, "-f" if $0 =~ /chfn$/;
-unshift @ARGV, "-s" if $0 =~ /chsh$/;
-
-getopts('fs');
-
-my($me)='';
-if ( $_ = shift(@ARGV) ) {
-  /^(\w{2,8})$/;
-  $me = $1; 
-}
-die "You can't change the password for $me." if $me && $<;
-$me = (getpwuid($<))[0] unless $me;
-
-my($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell)=
-  getpwnam $me;
-
-my($old_password,$new_password,$new_gecos,$new_shell);
-
-if ( $opt_f || $opt_s ) {
-  system '/bin/stty', '-echo';
-  print "Password:";
-  $old_password=<STDIN>;
-  system '/bin/stty', 'echo'; 
-  chop($old_password);
-  #$old_password =~ /^(.{6,8})$/ or die "\nIllegal password.\n";
-  $old_password =~ /^(.{0,255})$/ or die "\nIllegal password.\n";
-  $old_password = $1;
-
-  $new_password = '';
-
-  if ( $opt_f ) {
-    print "\nChanging gecos for $me.\n";
-    print "Gecos [", $gcos, "]: ";
-    $new_gecos=<STDIN>;
-    chop($new_gecos);
-    $new_gecos ||= $gcos;
-    $new_gecos =~ /^(.{0,255})$/ or die "\nIllegal gecos.\n";
-  } else {
-    $new_gecos = '';
-  } 
-
-  if ( $opt_s ) {
-    print "\nChanging shell for $me.\n";
-    print "Shell [", $shell, "]: ";
-    $new_shell=<STDIN>;
-    chop($new_shell);
-    $new_shell ||= $shell;
-    $new_shell =~ /^(.{0,255})$/ or die "\nIllegal shell.\n";
-  } else {
-    $new_shell = '';
-  }
-
-} else {
-
-  print "Changing password for $me.\n";
-  print "Old password:";
-  system '/bin/stty', '-echo';
-  $old_password=<STDIN>;
-  chop $old_password;
-  #$old_password =~ /^(.{6,8})$/ or die "\nIllegal password.\n";
-  $old_password =~ /^(.{0,255})$/ or die "\nIllegal password.\n";
-  $old_password = $1;
-  print "\nEnter the new password (minimum of 6, maximum of 8 characters)\n";
-  print "Please use a combination of upper and lowercase letters and numbers.\n";
-  print "New password:";
-  $new_password=<STDIN>;
-  chop($new_password);
-  #$new_password =~ /^(.{6,8})$/ or die "\nIllegal password.\n";
-  $new_password =~ /^(.{0,255})$/ or die "\nIllegal password.\n";
-  $new_password = $1;
-  print "\nRe-enter new password:";
-  my($check_new_password);
-  $check_new_password=<STDIN>;
-  chop($check_new_password);
-  die "\nThey don't match; try again.\n" unless $check_new_password eq $new_password;
-
-  $new_gecos='';
-  $new_shell='';
-}
-print "\n";
-
-system '/bin/stty', 'echo'; 
-
-my $rv = passwd(
-  'username'     => $me,
-  'old_password' => $old_password,
-  'new_password' => $new_password,
-  'new_gecos'    => $new_gecos,
-  'new_shell'    => $new_shell,
-);
-
-my $error = $rv->{error};
-
-if ($error) {
-  print "\nUpdate error: $error\n";
-} else {
-  print "\nUpdate sucessful.\n";
-}
diff --git a/fs_radlog/fs_radlogd b/fs_radlog/fs_radlogd
deleted file mode 100755 (executable)
index 74c2af3..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# ivan@sisd.com 98-mar-23
-
-use strict;
-use Date::Parse; #but hopefully not
-
-$|=1;
-
-my($file,$pos)=@_;
-open(FILE,"<$file") or die "Can't open $file: $!";
-seek(FILE,$pos,0) or die "Can't seek: $!";
-
-my($datestr);
-my(%param);
-
-$SIG{'HUP'} = sub { print "EOF\n"; exit; };
-
-while (1) {
-
-  while (<FILE>) {
-    next if /^$/;
-    if ( /^\S/ ) {
-      chop($datestr=$_);
-      undef %param;
-    } else {
-      warn "Unexpected line: $_";
-    }
-    while (<FILE>) {
-      if ( /^$/ ) {
-        #if ( $param{'Acct-Status-Type'} eq 'Stop' ) {
-          print join("\t",
-            tell FILE,
-            %param,
-          ),"\n";
-        #}
-        last;
-      } elsif ( /^\s+([\w\-]+)\s\=\s\"?([\w\.\-]+)\"?\s*$/ ) {
-        $param{$1}=$2;
-      } else { 
-        warn "Unexpected line: $_";
-      }
-
-    }  
-
-  }
-  sleep 1;
-  seek(FILE,0,1);
-}
-
-
diff --git a/fs_selfadmin/FS-MailAdminServer/MailAdminClient.pm b/fs_selfadmin/FS-MailAdminServer/MailAdminClient.pm
deleted file mode 100755 (executable)
index 46cde4c..0000000
+++ /dev/null
@@ -1,541 +0,0 @@
-package FS::MailAdminClient;
-
-use strict;
-use vars qw($VERSION @ISA @EXPORT_OK $fs_mailadmind_socket);
-use Exporter;
-use Socket;
-use FileHandle;
-use IO::Handle;
-
-$VERSION = '0.01';
-
-@ISA = qw( Exporter );
-@EXPORT_OK = qw( signup_info authenticate list_packages list_mailboxes delete_mailbox password_mailbox add_mailbox list_forwards list_pkg_forwards delete_forward add_forward new_customer );
-
-$fs_mailadmind_socket = "/usr/local/freeside/fs_mailadmind_socket";
-
-$ENV{'PATH'} ='/usr/bin:/usr/ucb:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-my $freeside_uid = scalar(getpwnam('freeside'));
-die "not running as the freeside user\n" if $> != $freeside_uid;
-
-=head1 NAME
-
-FS::MailAdminClient - Freeside mail administration client API
-
-=head1 SYNOPSIS
-
-  use FS::MailAdminClient qw( signup_info list_mailboxes  new_customer );
-
-  ( $locales, $packages, $pops ) = signup_info;
-
-  ( $accounts ) = list_mailboxes;
-
-  $error = new_customer ( {
-    'first'          => $first,
-    'last'           => $last,
-    'ss'             => $ss,
-    'comapny'        => $company,
-    'address1'       => $address1,
-    'address2'       => $address2,
-    'city'           => $city,
-    'county'         => $county,
-    'state'          => $state,
-    'zip'            => $zip,
-    'country'        => $country,
-    'daytime'        => $daytime,
-    'night'          => $night,
-    'fax'            => $fax,
-    'payby'          => $payby,
-    'payinfo'        => $payinfo,
-    'paydate'        => $paydate,
-    'payname'        => $payname,
-    'invoicing_list' => $invoicing_list,
-    'pkgpart'        => $pkgpart,
-    'username'       => $username,
-    '_password'       => $password,
-    'popnum'         => $popnum,
-  } );
-
-=head1 DESCRIPTION
-
-This module provides an API for a remote mail administration server.
-
-It needs to be run as the freeside user.  Because of this, the program which
-calls these subroutines should be written very carefully.
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item signup_info
-
-Returns three array references of hash references.
-
-The first set of hash references is of allowable locales.  Each hash reference
-has the following keys:
-  taxnum
-  state
-  county
-  country
-
-The second set of hash references is of allowable packages.  Each hash
-reference has the following keys:
-  pkgpart
-  pkg
-
-The third set of hash references is of allowable POPs (Points Of Presence).
-Each hash reference has the following keys:
-  popnum
-  city
-  state
-  ac
-  exch
-
-=cut
-
-sub signup_info {
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "signup_info\n";
-  SOCK->flush;
-
-  chop ( my $n_cust_main_county = <SOCK> );
-  my @cust_main_county = map {
-    chop ( my $taxnum  = <SOCK> ); 
-    chop ( my $state   = <SOCK> ); 
-    chop ( my $county  = <SOCK> ); 
-    chop ( my $country = <SOCK> );
-    {
-      'taxnum'  => $taxnum,
-      'state'   => $state,
-      'county'  => $county,
-      'country' => $country,
-    };
-  } 1 .. $n_cust_main_county;
-
-  chop ( my $n_part_pkg = <SOCK> );
-  my @part_pkg = map {
-    chop ( my $pkgpart = <SOCK> ); 
-    chop ( my $pkg     = <SOCK> ); 
-    {
-      'pkgpart' => $pkgpart,
-      'pkg'     => $pkg,
-    };
-  } 1 .. $n_part_pkg;
-
-  chop ( my $n_svc_acct_pop = <SOCK> );
-  my @svc_acct_pop = map {
-    chop ( my $popnum = <SOCK> ); 
-    chop ( my $city   = <SOCK> ); 
-    chop ( my $state  = <SOCK> ); 
-    chop ( my $ac     = <SOCK> );
-    chop ( my $exch   = <SOCK> );
-    chop ( my $loc    = <SOCK> );
-    {
-      'popnum' => $popnum,
-      'city'   => $city,
-      'state'  => $state,
-      'ac'     => $ac,
-      'exch'   => $exch,
-      'loc'    => $loc,
-    };
-  } 1 .. $n_svc_acct_pop;
-
-  close SOCK;
-
-  \@cust_main_county, \@part_pkg, \@svc_acct_pop;
-}
-
-=item authenticate
-
-Authentictes against a service on the remote Freeside system.  Requires a hash
-reference as a parameter with the following keys:
-    authuser
-    _password
-
-Returns a scalar error message of the form "authuser OK|FAILED" or an error
-message.
-
-=cut
-
-sub authenticate {
-  my $hashref = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "authenticate", "\n";
-  SOCK->flush;
-
-  print SOCK join("\n", map { $hashref->{$_} } qw(
-    authuser _password
-  ) ), "\n";
-  SOCK->flush;
-
-  chop( my $error = <SOCK> );
-  close SOCK;
-
-  $error;
-}
-
-=item list_packages
-
-Returns one array reference of hash references.
-
-The set of hash references is of existing packages.  Each hash reference
-has the following keys:
-  pkgnum
-  domain
-  account
-
-=cut
-
-sub list_packages {
-  my $user = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "list_packages\n", $user, "\n";
-  SOCK->flush;
-
-  chop ( my $n_packages = <SOCK> );
-  my @packages = map {
-    chop ( my $pkgnum  = <SOCK> ); 
-    chop ( my $domain  = <SOCK> ); 
-    chop ( my $account = <SOCK> ); 
-    {
-      'pkgnum'  => $pkgnum,
-      'domain'  => $domain,
-      'account' => $account,
-    };
-  } 1 .. $n_packages;
-
-  close SOCK;
-
-  \@packages;
-}
-
-=item list_mailboxes
-
-Returns one array references of hash references.
-
-The set of hash references is of existing accounts.  Each hash reference
-has the following keys:
-  svcnum
-  username
-  _password
-
-=cut
-
-sub list_mailboxes {
-  my ($user, $package) = @_;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "list_mailboxes\n", $user, "\n", $package, "\n";
-  SOCK->flush;
-
-  chop ( my $n_svc_acct = <SOCK> );
-  my @svc_acct = map {
-    chop ( my $svcnum  = <SOCK> ); 
-    chop ( my $username  = <SOCK> ); 
-    chop ( my $_password   = <SOCK> ); 
-    {
-      'svcnum'  => $svcnum,
-      'username'  => $username,
-      '_password'   => $_password,
-    };
-  } 1 .. $n_svc_acct;
-
-  close SOCK;
-
-  \@svc_acct;
-}
-
-=item delete_mailbox
-
-Deletes a mailbox service from the remote Freeside system.  Requires a hash
-reference as a paramater with the following keys:
-    authuser
-    account
-
-Returns a scalar error message, or the empty string for success.
-
-=cut
-
-sub delete_mailbox {
-  my $hashref = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "delete_mailbox", "\n";
-  SOCK->flush;
-
-  print SOCK join("\n", map { $hashref->{$_} } qw(
-    authuser account
-  ) ), "\n";
-  SOCK->flush;
-
-  chop( my $error = <SOCK> );
-  close SOCK;
-
-  $error;
-}
-
-=item password_mailbox
-
-Changes the password for a mailbox service on the remote Freeside system.
-  Requires a hash reference as a paramater with the following keys:
-    authuser
-    account
-    _password
-
-Returns a scalar error message, or the empty string for success.
-
-=cut
-
-sub password_mailbox {
-  my $hashref = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "password_mailbox", "\n";
-  SOCK->flush;
-
-  print SOCK join("\n", map { $hashref->{$_} } qw(
-    authuser account _password
-  ) ), "\n";
-  SOCK->flush;
-
-  chop( my $error = <SOCK> );
-  close SOCK;
-
-  $error;
-}
-
-=item add_mailbox
-
-Creates a mailbox service on the remote Freeside system.  Requires a hash
-reference as a parameter with the following keys:
-    authuser
-    package
-    account
-    _password
-
-Returns a scalar error message, or the empty string for success.
-
-=cut
-
-sub add_mailbox {
-  my $hashref = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "add_mailbox", "\n";
-  SOCK->flush;
-
-  print SOCK join("\n", map { $hashref->{$_} } qw(
-    authuser package account _password
-  ) ), "\n";
-  SOCK->flush;
-
-  chop( my $error = <SOCK> );
-  close SOCK;
-
-  $error;
-}
-
-=item list_forwards
-
-Returns one array references of hash references.
-
-The set of hash references is of existing forwards.  Each hash reference
-has the following keys:
-  svcnum
-  dest
-
-=cut
-
-sub list_forwards {
-  my ($user, $service) = @_;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "list_forwards\n", $user, "\n", $service, "\n";
-  SOCK->flush;
-
-  chop ( my $n_svc_forward = <SOCK> );
-  my @svc_forward = map {
-    chop ( my $svcnum  = <SOCK> ); 
-    chop ( my $dest  = <SOCK> ); 
-    {
-      'svcnum'  => $svcnum,
-      'dest'  => $dest,
-    };
-  } 1 .. $n_svc_forward;
-
-  close SOCK;
-
-  \@svc_forward;
-}
-
-=item list_pkg_forwards
-
-Returns one array references of hash references.
-
-The set of hash references is of existing forwards.  Each hash reference
-has the following keys:
-  svcnum
-  srcsvc
-  dest
-
-=cut
-
-sub list_pkg_forwards {
-  my ($user, $package) = @_;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "list_pkg_forwards\n", $user, "\n", $package, "\n";
-  SOCK->flush;
-
-  chop ( my $n_svc_forward = <SOCK> );
-  my @svc_forward = map {
-    chop ( my $svcnum  = <SOCK> ); 
-    chop ( my $srcsvc  = <SOCK> ); 
-    chop ( my $dest  = <SOCK> ); 
-    {
-      'svcnum'  => $svcnum,
-      'srcsvc'  => $srcsvc,
-      'dest'  => $dest,
-    };
-  } 1 .. $n_svc_forward;
-
-  close SOCK;
-
-  \@svc_forward;
-}
-
-=item delete_forward
-
-Deletes a forward service from the remote Freeside system.  Requires a hash
-reference as a paramater with the following keys:
-    authuser
-    svcnum
-
-Returns a scalar error message, or the empty string for success.
-
-=cut
-
-sub delete_forward {
-  my $hashref = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "delete_forward", "\n";
-  SOCK->flush;
-
-  print SOCK join("\n", map { $hashref->{$_} } qw(
-    authuser svcnum
-  ) ), "\n";
-  SOCK->flush;
-
-  chop( my $error = <SOCK> );
-  close SOCK;
-
-  $error;
-}
-
-=item add_forward
-
-Creates a forward service on the remote Freeside system.  Requires a hash
-reference as a parameter with the following keys:
-    authuser
-    package
-    source
-    dest
-
-Returns a scalar error message, or the empty string for success.
-
-=cut
-
-sub add_forward {
-  my $hashref = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "add_forward", "\n";
-  SOCK->flush;
-
-  print SOCK join("\n", map { $hashref->{$_} } qw(
-    authuser package source dest
-  ) ), "\n";
-  SOCK->flush;
-
-  chop( my $error = <SOCK> );
-  close SOCK;
-
-  $error;
-}
-
-=item new_customer HASHREF
-
-Adds a customer to the remote Freeside system.  Requires a hash reference as
-a paramater with the following keys:
-  first
-  last
-  ss
-  comapny
-  address1
-  address2
-  city
-  county
-  state
-  zip
-  country
-  daytime
-  night
-  fax
-  payby
-  payinfo
-  paydate
-  payname
-  invoicing_list
-  pkgpart
-  username
-  _password
-  popnum
-
-Returns a scalar error message, or the empty string for success.
-
-=cut
-
-sub new_customer {
-  my $hashref = shift;
-
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_mailadmind_socket)) or die "connect: $!";
-  print SOCK "new_customer\n";
-
-  print SOCK join("\n", map { $hashref->{$_} } qw(
-    first last ss company address1 address2 city county state zip country
-    daytime night fax payby payinfo paydate payname invoicing_list
-    pkgpart username _password popnum
-  ) ), "\n";
-  SOCK->flush;
-
-  chop( my $error = <SOCK> );
-  $error;
-}
-
-=back
-
-=head1 VERSION
-
-$Id: MailAdminClient.pm,v 1.1 2001-10-18 15:04:54 jeff Exp $
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<fs_signupd>, L<FS::SignupServer>, L<FS::cust_main>
-
-=cut
-
-1;
-
diff --git a/fs_selfadmin/FS-MailAdminServer/cgi/mailadmin.cgi b/fs_selfadmin/FS-MailAdminServer/cgi/mailadmin.cgi
deleted file mode 100755 (executable)
index c26c3dc..0000000
+++ /dev/null
@@ -1,698 +0,0 @@
-#!/usr/bin/perl
-########################################################################
-#                                                                      #
-#    mailadmin.cgi                NCI2000                              #
-#                                 Jeff Finucane <jeff@nci2000.net>     #
-#                                 26 April 2001                        #
-#                                                                      #
-########################################################################
-
-use DBI;
-use strict;
-use CGI;
-use FS::MailAdminClient qw(authenticate list_packages list_mailboxes delete_mailbox password_mailbox add_mailbox list_forwards list_pkg_forwards delete_forward add_forward);
-
-my $sessionfile = '/usr/local/apache/htdocs/mailadmin/adminsess';   # session file
-my $tmpdir = '/usr/local/apache/htdocs/mailadmin/tmp';         # Location to store temp files
-my $cookiedomain = ".your.dom";      # domain if THIS server, should prepend with a '.'
-my $cookieexpire = '+12h';              # expire the cookie session after this much idle time
-my $sessexpire = 43200;                 # expire session after this long of no use (in seconds)
-
-my $body = "<body bgcolor=dddddd>";
-
-#### Should not have to change anything under this line ####
-my $printmainpage = 1;
-my $i = 0;
-my $printheader = 1;
-my $query = new CGI;
-my $cgi = $query->url();
-my $now = getdatetime();
-my $current_package = 0;
-my $current_account = 0;
-my $current_domname = "";
-
-# if they are trying to login we wont check the session yet
-if ($query->param('login') eq '' && $query->param('action') ne 'login') {
-  checksession();
-  printheader();
-}
-
-if ($query->param('login') ne '') {
-
-   my $username = $query->param('username');
-   my $password = $query->param('password');
-
-   if (!checkuserpass($username, $password)) {
-      printheader();
-      error('not_admin');
-   }
-
-   my @alpha = ('A'..'Z', 'a'..'z', 0..9);
-   my $sessid = '';
-   for (my $i = 0; $i < 10; $i++) {
-       $sessid .= @alpha[rand(@alpha)];
-   }
-
-   my $cookie1 = $query->cookie(-name=>'username',
-                               -value=>$username,
-                               -expires=>$cookieexpire,
-                               -domain=>$cookiedomain);
-
-   my $cookie2 = $query->cookie(-name=>'ma_sessionid',
-                               -value=>$sessid,
-                               -expires=>$cookieexpire,
-                               -domain=>$cookiedomain);
-
-   my $now = time();
-   open(NEWSESS, ">>$sessionfile") || error('open');
-   print NEWSESS "$username $sessid $now 0 0\n";
-   close(NEWSESS);
-
-   print $query->header(-COOKIE=>[$cookie1, $cookie2]);
-   $printmainpage = 1;
-
-} elsif ($query->param('action') eq 'blankframe') {
-   
-  print "<html>$body</body></html>\n";
-   $printmainpage = 0;
-
-} elsif ($query->param('action') eq 'list_packages') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  my $list = list_packages($username);
-  print "<html>$body\n";
-  print "<center><table border=0>\n";
-  print "<tr><td></td><td><p>Package Number</td><td><p>Description</td></tr>\n";
-  foreach my $package ( @{$list} ) {
-    print "<tr>";
-    print "<td></td><td><p>$package->{'pkgnum'}</td><td><p>$package->{'domain'}</td>\n";
-    print "<td></td><td><a href=\"$cgi\?action=select&package=$package->{'pkgnum'}&account=$package->{'account'}&domname=$package->{'domain'}\" target=\"rightmainframe\">select</td>\n";
-    print "</tr>";
-  }
-  print "</table>\n";
-  print "</body></html>\n";
-  $printmainpage=0;
-
-} elsif ($query->param('action') eq 'list_mailboxes') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username)  unless $current_package;
-  my $list = list_mailboxes($username, $current_package);
-  my $forwardlist = list_pkg_forwards($username, $current_package);
-  print "<html>$body\n";
-  print "<center><table border=0>\n";
-  print "<tr><td></td><td><p>Username</td><td><p>Password</td></tr>\n";
-  foreach my $account ( @{$list} ) {
-    print "<tr>";
-    print "<td></td><td><p>$account->{'username'}</td><td><p>$account->{'_password'}</td>\n";
-    print "<td></td><td><a href=\"$cgi\?action=change&account=$account->{'svcnum'}&mailbox=$account->{'username'}\" target=\"rightmainframe\">change</td>\n";
-    print "</tr>";
-
-#    my $forwardlist = list_forwards($username, $account->{'svcnum'});
-#    foreach my $forward ( @{$forwardlist} ) {
-#      my $label = qq!=> ! . $forward->{'dest'};
-#      print "<tr><td></td><td></td><td><p>$label</td></tr>\n";
-#    }
-    foreach my $forward ( @{$forwardlist} ) {
-      if ($forward->{'srcsvc'} == $account->{'svcnum'}) {
-        my $label = qq!=> ! . $forward->{'dest'};
-        print "<tr><td></td><td></td><td><p>$label</td></tr>\n";
-      }
-    }
-
-  }
-  print "</table>\n";
-  print "</body></html>\n";
-  $printmainpage=0;
-
-} elsif ($query->param('action') eq 'select') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  $current_package = $query->param('package');
-  $current_account = $query->param('account');
-  $current_domname = $query->param('domname');
-  set_package();
-  print "<html>$body\n";
-  print "<form name=form1 action=\"$cgi\" method=post target=\"rightmainframe\">\n";
-  print "<center>\n";
-  print "<p>Selected package $current_package\n";
-  print "</center>\n";
-  print "</form>\n";
-  print "</body></html>\n";
-  $printmainpage=0;
-
-} elsif ($query->param('action') eq 'change') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $account  = $query->param('account');
-  my $mailbox  = $query->param('mailbox');
-  my $list = list_forwards($username, $account);
-  print "<html>$body\n";
-  print "<form name=form1 action=\"$cgi\" method=post target=\"rightmainframe\">\n";
-  print "<center><table border=0>\n";
-  print "<tr><td></td><td><p>Username</td><td><p>$mailbox</td></tr>\n";
-  print "<input type=hidden name=\"account\" value=\"$account\">\n";
-  print "<input type=hidden name=\"mailbox\" value=\"$mailbox\">\n";
-  foreach my $forward ( @{$list} ) {
-    my $label = qq!=> ! . $forward->{'dest'};
-#    print "<tr><td></td><td></td><td><p>$label</td></tr>\n";
-    print "<tr><td></td><td></td><td><p>$label</td><td><a href=\"$cgi\?action=deleteforward&service=$forward->{'svcnum'}&mailbox=$mailbox&dest=$forward->{'dest'}\" target=\"rightmainframe\">remove</td></tr>\n";
-  }
-  print "<tr><td></td><td><p>Password</td><td><input type=text name=\"_password\" value=\"\"></td></tr>\n";
-  print "</table>\n";
-  print "<input type=submit name=\"deleteaccount\" value=\"Delete This User\">\n";
-  print "<input type=submit name=\"changepassword\" value=\"Change The Password\">\n";
-  print "<input type=submit name=\"addforward\" value=\"Add Forwarding\">\n";
-  print "</center>\n";
-  print "</form>\n";
-  print "<br>\n";
-  print "<p> You may delete this user and all mailforwarding by pressing <B>Delete This User</B>.\n";
-  print "<p> To set or change the password for this user, type the new password in the box next to <B>Password</B> and press <B>Change The Password</B>.\n";
-  print "<p> If you would like to have mail destined for this user forwarded to another email address then press the <B>Add Forwarding</B> button.\n";
-  print "</body></html>\n";
-  $printmainpage=0;
-
-} elsif ($query->param('deleteaccount') ne '') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $account  = $query->param('account');
-  my $mailbox  = $query->param('mailbox');
-  print "<html>$body\n";
-  print "<form name=form1 action=\"$cgi\" method=post target=\"rightmainframe\">\n";
-  print "<p>Are you certain you want to delete user $mailbox?\n";
-  print "<p><input type=hidden name=\"account\" value=\"$account\">\n";
-  print "<input type=submit name=\"deleteaccounty\" value=\"Confirm\">\n";
-  print "</body></html>\n";
-  $printmainpage=0;
-
-} elsif ($query->param('deleteaccounty') ne '') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $account  = $query->param('account');
-  
-  if  ( my $error = delete_mailbox ( {
-      'authuser'         => $username,
-      'account'          => $account,
-    } ) ) {
-    print "<html>$body\n";
-    print "<p>$error\n";
-    print "</body></html>\n";
-      
-  } else {
-    print "<html>$body\n";
-    print "<p>Deleted\n";
-    print "</body></html>\n";
-  }
-
-  $printmainpage=0;
-
-} elsif ($query->param('changepassword') ne '') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $account  = $query->param('account');
-  my $_password  = $query->param('_password');
-  
-  if  ( my $error = password_mailbox ( {
-      'authuser'         => $username,
-      'account'          => $account,
-      '_password'        => $_password,
-    } ) ) {
-    print "<html>$body\n";
-    print "<p>$error\n";
-    print "</body></html>\n";
-      
-  } else {
-    print "<html>$body\n";
-    print "<p>Changed\n";
-    print "</body></html>\n";
-  }
-
-  $printmainpage=0;
-
-} elsif ($query->param('action') eq 'newmailbox') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  print "<html>$body\n";
-  print "<form name=form1 action=\"$cgi\" method=post target=\"rightmainframe\">\n";
-  print "<center><table border=0>\n";
-  print "<tr><td></td><td><p>Username </td><td><input type=text name=\"account\" value=\"\"></td><td>@ " . $current_domname . "</td></tr>\n";
-  print "<tr><td></td><td><p>Password</td><td><input type=text name=\"_password\" value=\"\"></td></tr>\n";
-  print "</table>\n";
-  print "<input type=submit name=\"addmailbox\" value=\"Add This User\">\n";
-  print "</center>\n";
-  print "</form>\n";
-  print "<br>\n";
-  print "<p>Use this screen to add a new mailbox user.  If the domain name of the email address (the part after the <B>@</B> sign) is not what you expect then you may need to use <B>List Packages</B> to select the package with the correct domain.\n";
-  print "<p>Enter the first portion of the email address in the box adjacent to <B>Username</B> and enter the password for that user in the space next to <B>Password</B>.  Then press the button labeled <B>Add The User</B>.\n";
-  print "<p>If you do not want to add a new user at this time then select a choice from the menu at the left, such as <B>List Mailboxes</B>.\n";
-  print "</body></html>\n";
-  $printmainpage=0;
-
-} elsif ($query->param('addmailbox') ne '') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $account  = $query->param('account');
-  my $_password  = $query->param('_password');
-  
-  if  ( my $error = add_mailbox ( {
-      'authuser'         => $username,
-      'package'          => $current_package,
-      'account'          => $account,
-      '_password'        => $_password,
-    } ) ) {
-    print "<html>$body\n";
-    print "<p>$error\n";
-    print "</body></html>\n";
-      
-  } else {
-    print "<html>$body\n";
-    print "<p>Created\n";
-    print "</body></html>\n";
-  }
-
-  $printmainpage=0;
-
-} elsif ($query->param('action') eq 'deleteforward') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $svcnum   = $query->param('service');
-  my $mailbox  = $query->param('mailbox');
-  my $dest  = $query->param('dest');
-  print "<html>$body\n";
-  print "<form name=form1 action=\"$cgi\" method=post target=\"rightmainframe\">\n";
-  print "<p>Are you certain you want to remove the forwarding from $mailbox to $dest?\n";
-  print "<p><input type=hidden name=\"service\" value=\"$svcnum\">\n";
-  print "<input type=submit name=\"deleteforwardy\" value=\"Confirm\">\n";
-  print "</body></html>\n";
-  $printmainpage=0;
-
-} elsif ($query->param('deleteforwardy') ne '') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $service  = $query->param('service');
-  
-  if  ( my $error = delete_forward ( {
-      'authuser'        => $username,
-      'svcnum'          => $service,
-    } ) ) {
-    print "<html>$body\n";
-    print "<p>$error\n";
-    print "</body></html>\n";
-      
-  } else {
-    print "<html>$body\n";
-    print "<p>Forwarding Removed\n";
-    print "</body></html>\n";
-  }
-
-  $printmainpage=0;
-
-} elsif ($query->param('addforward') ne '') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $account  = $query->param('account');
-  my $mailbox  = $query->param('mailbox');
-  
-  print "<html>$body\n";
-  print "<form name=form1 action=\"$cgi\" method=post target=\"rightmainframe\">\n";
-  print "<center><table border=0>\n";
-  print "<input type=hidden name=\"account\" value=\"$account\">\n";
-  print "<input type=hidden name=\"mailbox\" value=\"$mailbox\">\n";
-  print "<tr><td>Forward mail from </td><td><p>$mailbox:</td><td> to </td></tr>\n";
-  print "<tr><td></td><td><p>Destination:</td><td><input type=text name=\"dest\" value=\"\"></td></tr>\n";
-  print "</table>\n";
-  print "<input type=submit name=\"addforwarddst\" value=\"Add the Forwarding\">\n";
-  print "</center>\n";
-  print "</form>\n";
-  print "<br>\n";
-  print "<p> If you would like mail originally destined for the above address to be forwarded to a different email address then type that email address in the box next to <B>Destination:</B> and press the <B>Add the Forwarding</B> button.\n";
-  print "<p> If you do not want to add mail forwarding then select a choice from the menu at the left, such as <B>List Accounts</B>.\n";
-
-  $printmainpage=0;
-
-} elsif ($query->param('addforwarddst') ne '') {
-
-  my $username = $query->cookie(-name=>'username');  # session checked
-  select_package($username) unless $current_package;
-  my $account  = $query->param('account');
-  my $dest  = $query->param('dest');
-  
-  if  ( my $error = add_forward ( {
-      'authuser'         => $username,
-      'package'          => $current_package,
-      'source'           => $account,
-      'dest'             => $dest,
-    } ) ) {
-    print "<html>$body\n";
-    print "<p>$error\n";
-    print "</body></html>\n";
-      
-  } else {
-    print "<html>$body\n";
-    print "<p>Forwarding Created\n";
-    print "</body></html>\n";
-  }
-
-  $printmainpage=0;
-
-} elsif ($query->param('action') eq 'navframe') {
-
-  print "<html><body bgcolor=bbbbbb>\n";
-  print "<center><h2>NCI2000 MAIL ADMIN Web Interface</h2></center>\n";
-
-  print "<br><center>Choose Action:</center><br>\n";
-  print "<center><table border=0>\n";
-  print "<ul>\n";
-  print "<tr><td><li><a href=\"$cgi\?action=logout\" target=\"_top\">Log Off</a></td><tr>\n";
-  print "<tr><td><li><a href=\"$cgi\?action=list_packages\" target=\"rightmainframe\">List Packages</a></td><tr>\n";
-  print "<tr><td><li><a href=\"$cgi\?action=list_mailboxes\" target=\"rightmainframe\">List Accounts</a></td><tr>\n";
-  print "<tr><td><li><a href=\"$cgi\?action=newmailbox\" target=\"rightmainframe\">Add Account</a></td><tr>\n";
-  print "</ul>\n";
-  print "</table></center>\n";
-
-  print "<br><br><br>\n";
-  print "</body></html>\n";
-
-  $printmainpage = 0;
-
-} elsif ($query->param('action') eq 'rightmainframe') {
-
-  print "<html>$body\n";
-  print "<br><br><br>\n";
-  print "<font size=4><----- Please choose function on the left menu</font>\n";
-  print "<br><br>\n";
-  print "<p> Choose <B>Log Off</B> when you are finished.  This helps prevent unauthorized access to your accounts.\n";
-  print "<p> Use <B>List Packages</B> when you administer multiple packages.  When you have multiple domains at NCI2000 you are likely to have multiple packages.  Use of <B>List Packages</B> is not necessary if administer only one package.\n";
-  print "<p> Use <B>List Accounts</B> to view your current arrangement of mailboxes.  From this list you my choose to make changes to existing mailboxes or delete mailboxes.  If you would like to modify the forwarding associated with a mailbox then choose it from this list.\n";
-  print "<p> Use <B>Add Account</B> when you would like an additional mailbox.  After you have added the mailbox you may choose to make additional changes from the list provided by <B>List Accounts<B>.\n";
-  print "</body></html>\n";
-
-  $printmainpage = 0;
-
-}
-
-
-if ($query->param('action') eq 'login') {
-
-    printheader();
-    printlogin();
-
-} elsif ($query->param('action') eq 'logout') {
-
-    destroysession();
-    printheader();
-    printlogin();
-
-} elsif ($printmainpage) {
-
-
-  print "<html><head><title>NCI2000 MAIL ADMIN Web Interface</title></head>\n";
-  print "<FRAMESET cols=\"160,*\" BORDER=\"3\">\n";
-  print "<FRAME NAME=\"navframe\" src=\"$cgi?action=navframe\">\n";
-  print "<FRAME NAME=\"rightmainframe\" src=\"$cgi?action=rightmainframe\">\n";
-  print "</FRAMESET>\n";
-  print "</html>\n";
-
-
-}
-
-sub getdatetime {
-  my $today = localtime(time());
-  my ($day,$mon,$dayofmon,$time,$year) = split(/\s+/,$today);
-  my @datemonths = ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
-
-  my $numidx = "01";
-  my ($nummon);
-  foreach my $mons (@datemonths) {
-    if ($mon eq $mons) {
-     $nummon = $numidx;
-    }
-    $numidx++;
-  }
-
-  return "$year-$nummon-$dayofmon $time";
-
-}
-
-sub error {
-
-  my $error = shift;
-  my $arg1 = shift;
-
-   printheader();
-
-   if ($error eq 'not_admin') {
-     print "<html><head><title>Error!</title></head>\n";
-     print "$body\n";
-     print "<center><h1><font face=arial>Error!</font></h1></center>\n";
-     print "<font face=arial>Unauthorized attempt to access mail administration.</font>\n";
-     print "<br><font face=arial>Please login again if you think this is an error.</font>\n";
-     print "<form><input type=button value=\"<<Back\" OnClick=\"history.back()\"></form>\n";
-     print "</body></html>\n";
-   } elsif ($error eq 'exists') {
-     print "<html><head><title>Error!</title></head>\n";
-     print "$body\n";
-     print "<center><h1><font face=arial>Error!</font></h1></center>\n";
-     print "<font face=arial>The user you are trying to enter already exists. Please go back and enter a different username</font>\n";
-     print "</font></body></html>\n";
-   } elsif ($error eq 'ingroup') {
-     print "<html><head><title>Error!</title></head>\n";
-     print "$body\n";
-     print "<center><h1><font face=arial>Error!</font></h1></center>\n";
-     print "<font face=arial>This user is already in the group <i>$arg1</i>. Please go back and deselect group <i>$arg1</i> from the list.</font>\n";
-     print "<form><input type=button value=\"<<Back\" OnClick=\"history.back()\"></form>\n";
-     print "</font></body></html>\n";
-   } elsif ($error eq 'sess_expired') {
-     print "<html>$body\n";
-     print "<center><font size=4>Your session has expired.</font></center>\n";
-     print "<br><br><center>Please login again <a href=\"$cgi\?action=login\" target=\"_top\"> HERE</a></center>\n";
-     print "</body></html>\n";
-   } elsif ($error eq 'open') {
-     print "<html>$body\n";
-     print "<center><font size=4>Unable to open or rename file.</font></center>\n";
-     print "<br><br><center>If this continues, please contact your administrator</center>\n";
-     print "</body></html>\n";
-   }
-
-
-   exit;
-
-}
-
-
-#print a html header if not printed yet
-sub printheader {
-
-  if ($printheader) {
-     print "Content-Type: text/html\n\n";
-     $printheader = 0;
-  }
-
-}
-
-
-#verify user can access administration
-sub checksession {
-
-  my $username = $query->cookie(-name=>'username');
-  my $sessionid = $query->cookie(-name=>'ma_sessionid');
-
-  if ($sessionid eq '') {
-     printheader();
-     if ($query->param()) {
-        error('sess_expired');
-     } else {
-        printlogin();
-        exit;
-    }
-  }
-
-  my $now = time();
-  my $founduser = 0;
-  open(SESSFILE, "$sessionfile") || error('open');
-  error('open') if -l "$tmpdir/adminsess.$$";
-  open(NEWSESS, ">$tmpdir/adminsess.$$") || error('open');
-  while (<SESSFILE>) {
-       chomp();
-       my ($user, $sess, $time, $pkgnum, $svcdomain, $domname) = split(/\s+/);
-       next if $now - $sessexpire > $time;
-       if ($username eq $user && !$founduser) {
-               if ($sess eq $sessionid) {
-                       $founduser = 1;
-                       print NEWSESS "$user $sess $now $pkgnum $svcdomain $domname\n";
-                        $current_package=$pkgnum;
-                        $current_account=$svcdomain;
-                        $current_domname=$domname;
-                       next;
-               }
-       }
-       print NEWSESS "$user $sess $time $pkgnum $svcdomain $domname\n";
-  }
-  close(SESSFILE);
-  close(NEWSESS);
-  system("mv $tmpdir/adminsess.$$ $sessionfile");
-  error('sess_expired') unless $founduser;
-
-  my $cookie1 = $query->cookie(-name=>'username',
-                               -value=>$username,
-                               -expires=>$cookieexpire,
-                               -domain=>$cookiedomain);
-
-  my $cookie2 = $query->cookie(-name=>'ma_sessionid',
-                               -value=>$sessionid,
-                               -expires=>$cookieexpire,
-                               -domain=>$cookiedomain);
-
-  print $query->header(-COOKIE=>[$cookie1, $cookie2]);
-  
-  $printheader = 0;
-
-  return 0;
-
-}
-
-sub destroysession {
-
-  my $username = $query->cookie(-name=>'username');
-  my $sessionid = $query->cookie(-name=>'ma_sessionid');
-
-  if ($sessionid eq '') {
-     printheader();
-     if ($query->param()) {
-        error('sess_expired');
-     } else {
-        printlogin();
-        exit;
-    }
-  }
-
-  my $now = time();
-  my $founduser = 0;
-  open(SESSFILE, "$sessionfile") || error('open');
-  error('open') if -l "$tmpdir/adminsess.$$";
-  open(NEWSESS, ">$tmpdir/adminsess.$$") || error('open');
-  while (<SESSFILE>) {
-       chomp();
-       my ($user, $sess, $time, $pkgnum, $svcdomain, $domname) = split(/\s+/);
-       next if $now - $sessexpire > $time;
-       if ($username eq $user && !$founduser) {
-               if ($sess eq $sessionid) {
-                       $founduser = 1;
-                       next;
-               }
-       }
-       print NEWSESS "$user $sess $time $pkgnum $svcdomain $domname\n";
-  }
-  close(SESSFILE);
-  close(NEWSESS);
-  system("mv $tmpdir/adminsess.$$ $sessionfile");
-  error('sess_expired') unless $founduser;
-
-  $printheader = 0;
-
-  return 0;
-
-}
-
-# checks the username and pass against the database
-sub checkuserpass {
-
-  my $username = shift;
-  my $password = shift;
-
-  my $error = authenticate ( {
-      'authuser'         => $username,
-      '_password'        => $password,
-    } ); 
-
-  if ($error eq "$username OK") {
-    return 1;
-  }else{
-    return 0;
-  }
-
-}
-
-#printlogin prints a login page
-sub printlogin {
-
-        print "<html>$body\n";
-        print "<center><font size=4>Please login to access MAIL ADMIN</font></center>\n";
-        print "<form action=\"$cgi\" method=post>\n";
-        print "<center>Email Address: &nbsp; <input type=text name=\"username\">\n";
-        print "<br>Email Password: <input type=password name=\"password\">\n";
-        print "<br><input type=submit name=\"login\" value=\"Login\">\n";
-        print "</form></center>\n";
-        print "</body></html>\n";
-}
-
-
-#select_package chooses a administrable package if more than one exists
-sub select_package {
-        my $user = shift;
-        my $packages = list_packages($user);
-        if (scalar(@{$packages}) eq 1) {
-          $current_package = @{$packages}[0]->{'pkgnum'};
-          set_package();
-        }
-        if (scalar(@{$packages}) > 1) {
-#          print $query->redirect("$cgi\?action=list_packages");
-           print "<p>No package selected.  You must first <a href=\"$cgi\?action=list_packages\" target=\"rightmainframe\">select a package</a>.\n";
-          exit;
-        }
-}
-
-sub set_package {
-
-  my $username = $query->cookie(-name=>'username');
-  my $sessionid = $query->cookie(-name=>'ma_sessionid');
-
-  if ($sessionid eq '') {
-     printheader();
-     if ($query->param()) {
-        error('sess_expired');
-     } else {
-        printlogin();
-        exit;
-    }
-  }
-
-  my $now = time();
-  my $founduser = 0;
-  open(SESSFILE, "$sessionfile") || error('open');
-  error('open') if -l "$tmpdir/adminsess.$$";
-  open(NEWSESS, ">$tmpdir/adminsess.$$") || error('open');
-  while (<SESSFILE>) {
-       chomp();
-       my ($user, $sess, $time, $pkgnum, $svcdomain, $domname) = split(/\s+/);
-       next if $now - $sessexpire > $time;
-       if ($username eq $user && !$founduser) {
-               if ($sess eq $sessionid) {
-                       $founduser = 1;
-                       print NEWSESS "$user $sess $time $current_package $current_account $current_domname\n";
-                       next;
-               }
-       }
-       print NEWSESS "$user $sess $time $pkgnum $svcdomain $domname\n";
-  }
-  close(SESSFILE);
-  close(NEWSESS);
-  system("mv $tmpdir/adminsess.$$ $sessionfile");
-  error('sess_expired') unless $founduser;
-
-  $printheader = 0;
-
-  return 0;
-
-}
-
diff --git a/fs_selfadmin/FS-MailAdminServer/fs_mailadmind b/fs_selfadmin/FS-MailAdminServer/fs_mailadmind
deleted file mode 100755 (executable)
index 746d782..0000000
+++ /dev/null
@@ -1,366 +0,0 @@
-#!/usr/bin/perl -Tw
-
-eval 'exec /usr/bin/perl -Tw -S $0 ${1+"$@"}'
-    if 0; # not running under some shell
-#
-# fs_mailadmind
-#
-# This is run REMOTELY over ssh by fs_mailadmin_server.
-#
-
-use strict;
-use Socket;
-
-use vars qw( $Debug );
-
-$Debug = 0;
-
-my($fs_mailadmind_socket)="/usr/local/freeside/fs_mailadmind_socket";
-
-$ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-$|=1;
-
-warn "[fs_mailadmind] Reading locales...\n" if $Debug;
-chomp( my $n_cust_main_county = <STDIN> );
-my @cust_main_county = map {
-  chomp( my $taxnum = <STDIN> );
-  chomp( my $state = <STDIN> );
-  chomp( my $county = <STDIN> );
-  chomp( my $country = <STDIN> );
-  {
-    'taxnum'  => $taxnum,
-    'state'   => $state,
-    'county'  => $county,
-    'country' => $country,
-  };
-} ( 1 .. $n_cust_main_county );
-
-warn "[fs_mailadmind] Reading package definitions...\n" if $Debug;
-chomp( my $n_part_pkg = <STDIN> );
-my @part_pkg = map {
-  chomp( my $pkgpart = <STDIN> );
-  chomp( my $pkg = <STDIN> );
-  {
-    'pkgpart' => $pkgpart,
-    'pkg'     => $pkg,
-  };
-} ( 1 .. $n_part_pkg );
-
-warn "[fs_mailadmind] Reading POPs...\n" if $Debug;
-chomp( my $n_svc_acct_pop = <STDIN> );
-my @svc_acct_pop = map {
-  chomp( my $popnum = <STDIN> );
-  chomp( my $city = <STDIN> );
-  chomp( my $state = <STDIN> );
-  chomp( my $ac = <STDIN> );
-  chomp( my $exch = <STDIN> );
-  chomp( my $loc = <STDIN> );
-  {
-    'popnum' => $popnum,
-    'city'   => $city,
-    'state'  => $state,
-    'ac'     => $ac,
-    'exch'   => $exch,
-    'loc'    => $loc,
-  };
-} ( 1 .. $n_svc_acct_pop );
-
-warn "[fs_mailadmind] Creating $fs_mailadmind_socket\n" if $Debug;
-my $uaddr = sockaddr_un($fs_mailadmind_socket);
-my $proto = getprotobyname('tcp');
-socket(Server,PF_UNIX,SOCK_STREAM,0) or die "socket: $!";
-unlink($fs_mailadmind_socket);
-bind(Server, $uaddr) or die "bind: $!";
-listen(Server,SOMAXCONN) or die "listen: $!";
-
-warn "[fs_mailadmind] Entering main loop...\n" if $Debug;
-my $paddr;
-for ( ; $paddr = accept(Client,Server); close Client) {
-
-  chop( my $command = <Client> );
-
-  if ( $command eq "signup_info" ) {
-    warn "[fs_mailadmind] sending signup info...\n" if $Debug; 
-    print Client join("\n", $n_cust_main_county,
-      map {
-        $_->{taxnum},
-        $_->{state},
-        $_->{county},
-        $_->{country},
-      } @cust_main_county
-    ), "\n";
-
-    print Client join("\n", $n_part_pkg,
-      map {
-        $_->{pkgpart},
-        $_->{pkg},
-      } @part_pkg
-    ), "\n";
-
-    print Client join("\n", $n_svc_acct_pop,
-      map {
-        $_->{popnum},
-        $_->{city},
-        $_->{state},
-        $_->{ac},
-        $_->{exch},
-        $_->{loc},
-      } @svc_acct_pop
-    ), "\n";
-
-  } elsif ( $command eq "new_customer" ) {
-    warn "[fs_mailadmind] reading customer signup...\n" if $Debug;
-    my(
-      $first, $last, $ss, $company, $address1, $address2, $city, $county,
-      $state, $zip, $country, $daytime, $night, $fax, $payby, $payinfo,
-      $paydate, $payname, $invoicing_list, $pkgpart, $username, $password,
-      $popnum,
-    ) = map { scalar(<Client>) } ( 1 .. 23 );
-
-    warn "[fs_mailadmind] sending customer data to remote server...\n" if $Debug;
-    print 
-      $first, $last, $ss, $company, $address1, $address2, $city, $county,
-      $state, $zip, $country, $daytime, $night, $fax, $payby, $payinfo,
-      $paydate, $payname, $invoicing_list, $pkgpart, $username, $password,
-      $popnum,
-    ;
-
-    warn "[fs_mailadmind] reading error from remote server...\n" if $Debug;
-    my $error = <STDIN>;
-
-    warn "[fs_mailadmind] sending error to local client...\n" if $Debug;
-    print Client $error;
-
-  } elsif ( $command eq "authenticate" ) {
-    warn "[fs_mailadmind] reading user information to auth...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading authentication material...\n" if $Debug;
-    chop( my $password = <Client> );
-    warn "[fs_mailadmind] sending information to remote server...\n" if $Debug;
-    print "authenticate\n", $user, "\n", $password, "\n";
-
-    warn "[fs_mailadmind] reading error from remote server...\n" if $Debug;
-    my $error = <STDIN>;
-
-    warn "[fs_mailadmind] sending error to local client...\n" if $Debug;
-    print Client $error;
-    
-  } elsif ( $command eq "list_packages" ) {
-    warn "[fs_mailadmind] reading user information to list_packages...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] sending user information to remote server...\n" if $Debug;
-    print "list_packages\n", $user, "\n";
-
-    warn "[fs_mailadmind] reading data from remote server...\n" if $Debug;
-    chomp( my $n_packages = <STDIN> );
-    my @packages = map {
-      chomp( my $pkgnum  = <STDIN> );
-      chomp( my $domain  = <STDIN> );
-      chomp( my $account = <STDIN> );
-      {
-        'pkgnum'  => $pkgnum,
-        'domain'  => $domain,
-        'account' => $account,
-      };
-    } ( 1 .. $n_packages );
-
-    warn "[fs_mailadmind] sending data to local client...\n" if $Debug;
-
-    print Client join("\n", $n_packages,
-      map {
-        $_->{pkgnum},
-        $_->{domain},
-        $_->{account},
-      } @packages
-    ), "\n";
-
-  } elsif ( $command eq "list_mailboxes" ) {
-    warn "[fs_mailadmind] reading user information to list_mailboxes...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading package number to list_mailboxes...\n" if $Debug;
-    chop( my $package = <Client> );
-    warn "[fs_mailadmind] sending user information to remote server...\n" if $Debug;
-    print "list_mailboxes\n", $user, "\n", $package, "\n";
-
-    warn "[fs_mailadmind] reading data from remote server...\n" if $Debug;
-    chomp( my $n_svc_acct = <STDIN> );
-    my @svc_acct = map {
-      chomp( my $svcnum = <STDIN> );
-      chomp( my $username = <STDIN> );
-      chomp( my $_password = <STDIN> );
-      {
-        'svcnum' => $svcnum,
-        'username' => $username,
-        '_password'     => $_password,
-      };
-    } ( 1 .. $n_svc_acct );
-
-    warn "[fs_mailadmind] sending data to local client...\n" if $Debug;
-
-    print Client join("\n", $n_svc_acct,
-      map {
-        $_->{svcnum},
-        $_->{username},
-        $_->{_password},
-      } @svc_acct
-    ), "\n";
-
-  } elsif ( $command eq "delete_mailbox" ) {
-    warn "[fs_mailadmind] reading user information to auth...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading account information to delete...\n" if $Debug;
-    chop( my $account = <Client> );
-    warn "[fs_mailadmind] sending information to remote server...\n" if $Debug;
-    print "delete_mailbox\n", $user, "\n", $account, "\n";
-
-    warn "[fs_mailadmind] reading error from remote server...\n" if $Debug;
-    my $error = <STDIN>;
-
-    warn "[fs_mailadmind] sending error to local client...\n" if $Debug;
-    print Client $error;
-
-  } elsif ( $command eq "password_mailbox" ) {
-    warn "[fs_mailadmind] reading user information to auth...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading account information to password...\n" if $Debug;
-    my(
-      $account, $_password,
-    ) = map { scalar(<Client>) } ( 1 .. 2 );
-
-    warn "[fs_mailadmind] sending password data to remote server...\n" if $Debug;
-    print "password_mailbox", "\n";
-    print 
-      $user, "\n", $account, $_password,
-    ;
-
-    warn "[fs_mailadmind] reading error from remote server...\n" if $Debug;
-    my $error = <STDIN>;
-
-    warn "[fs_mailadmind] sending error to local client...\n" if $Debug;
-    print Client $error;
-
-  } elsif ( $command eq "add_mailbox" ) {
-    warn "[fs_mailadmind] reading user information to auth...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading account information to create...\n" if $Debug;
-    my(
-      $package, $account, $_password,
-    ) = map { scalar(<Client>) } ( 1 .. 3 );
-
-    warn "[fs_mailadmind] sending service data to remote server...\n" if $Debug;
-    print "add_mailbox", "\n";
-    print 
-      $user, "\n", $package, $account, $_password,
-    ;
-
-    warn "[fs_mailadmind] reading error from remote server...\n" if $Debug;
-    my $error = <STDIN>;
-
-    warn "[fs_mailadmind] sending error to local client...\n" if $Debug;
-    print Client $error;
-
-  } elsif ( $command eq "add_forward" ) {
-    warn "[fs_mailadmind] reading user information to auth...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading forward information to create...\n" if $Debug;
-    my(
-      $package, $source, $dest,
-    ) = map { scalar(<Client>) } ( 1 .. 3 );
-
-    warn "[fs_mailadmind] sending service data to remote server...\n" if $Debug;
-    print "add_forward", "\n";
-    print 
-      $user, "\n", $package, $source, $dest,
-    ;
-
-    warn "[fs_mailadmind] reading error from remote server...\n" if $Debug;
-    my $error = <STDIN>;
-
-    warn "[fs_mailadmind] sending error to local client...\n" if $Debug;
-    print Client $error;
-
-  } elsif ( $command eq "delete_forward" ) {
-    warn "[fs_mailadmind] reading user information to auth...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading forward information to delete...\n" if $Debug;
-    chop( my $service = <Client> );
-    warn "[fs_mailadmind] sending information to remote server...\n" if $Debug;
-    print "delete_forward\n", $user, "\n", $service, "\n";
-
-    warn "[fs_mailadmind] reading error from remote server...\n" if $Debug;
-    my $error = <STDIN>;
-
-    warn "[fs_mailadmind] sending error to local client...\n" if $Debug;
-    print Client $error;
-
-  } elsif ( $command eq "list_forwards" ) {
-    warn "[fs_mailadmind] reading user information to list_forwards...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading service number to list_forwards...\n" if $Debug;
-    chop( my $service = <Client> );
-    warn "[fs_mailadmind] sending user information to remote server...\n" if $Debug;
-    print "list_forwards\n", $user, "\n", $service, "\n";
-
-    warn "[fs_mailadmind] reading data from remote server...\n" if $Debug;
-    chomp( my $n_svc_forward = <STDIN> );
-    my @svc_forward = map {
-      chomp( my $svcnum = <STDIN> );
-      chomp( my $dest = <STDIN> );
-      {
-        'svcnum' => $svcnum,
-        'dest' => $dest,
-      };
-    } ( 1 .. $n_svc_forward );
-
-    warn "[fs_mailadmind] sending data to local client...\n" if $Debug;
-
-    print Client join("\n", $n_svc_forward,
-      map {
-        $_->{svcnum},
-        $_->{dest},
-      } @svc_forward
-    ), "\n";
-
-  } elsif ( $command eq "list_pkg_forwards" ) {
-    warn "[fs_mailadmind] reading user information to list_pkg_forwards...\n" if $Debug;
-    chop( my $user = <Client> );
-    warn "[fs_mailadmind] reading service number to list_forwards...\n" if $Debug;
-    chop( my $package = <Client> );
-    warn "[fs_mailadmind] sending user information to remote server...\n" if $Debug;
-    print "list_pkg_forwards\n", $user, "\n", $package, "\n";
-
-    warn "[fs_mailadmind] reading data from remote server...\n" if $Debug;
-    chomp( my $n_svc_forward = <STDIN> );
-    my @svc_forward = map {
-      chomp( my $svcnum = <STDIN> );
-      chomp( my $srcsvc = <STDIN> );
-      chomp( my $dest = <STDIN> );
-      {
-        'svcnum' => $svcnum,
-        'srcsvc' => $srcsvc,
-        'dest' => $dest,
-      };
-    } ( 1 .. $n_svc_forward );
-
-    warn "[fs_mailadmind] sending data to local client...\n" if $Debug;
-
-    print Client join("\n", $n_svc_forward,
-      map {
-        $_->{svcnum},
-        $_->{srcsvc},
-        $_->{dest},
-      } @svc_forward
-    ), "\n";
-
-  } else {
-    die "unexpected command from client: $command";
-  }
-
-}
-
diff --git a/fs_selfadmin/README b/fs_selfadmin/README
deleted file mode 100644 (file)
index d9857f0..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-
-This collection of files implements a 'self-administered mail service.'
-Configuration is similar to fs_signupd
-
-Additionally you will need to modify the database:
-
-CREATE TABLE svc_acct_admin (
-  svcnum int primary key,
-  adminsvc int not null
-);
-
-creating both as keys might be good
-
-(and perform the dbdef-create)
-
-
-As it exists now, a package containing one svc_domain, at least one
-svc_acct_admin, and other services can have its svc_acct's and svc_forward's
-manipulated by the svc_acct referenced by a svc_acct_admin in the package.
-
-One svc_acct may be referenced as svc_acct_admin for multiple packages.
-
-fs_mailadmin_server contains hard coded references to service numbers which
-will require editing for your system.
-
-It's not a lot, but it might provide inspiration.
-
diff --git a/fs_selfadmin/fs_mailadmin_server b/fs_selfadmin/fs_mailadmin_server
deleted file mode 100755 (executable)
index ef47885..0000000
+++ /dev/null
@@ -1,642 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# fs_mailadmin_server
-#
-
-use strict;
-use IO::Handle;
-use FS::SSH qw(sshopen2);
-use FS::UID qw(adminsuidsetup);
-use FS::Conf;
-use FS::Record qw( qsearch qsearchs );
-use FS::cust_main_county;
-use FS::cust_main;
-use FS::svc_acct_admin;
-
-use vars qw( $opt $Debug $conf $default_domain );
-
-$Debug = 1;
-
-#my @payby = qw(CARD PREPAY);
-
-my $user = shift or die &usage;
-&adminsuidsetup( $user ); 
-
-$conf = new FS::Conf;
-$default_domain = $conf->config('domain');
-
-my $machine = shift or die &usage;
-
-my $agentnum = shift or die &usage;
-my $agent = qsearchs( 'agent', { 'agentnum' => $agentnum } ) or die &usage;
-my $pkgpart = $agent->pkgpart_hashref;
-
-my $refnum = shift or die &usage;
-
-#causing trouble for some folks
-#$SIG{CHLD} = sub { wait() };
-
-my($fs_mailadmind)=$conf->config('fs_mailadmind');
-
-while (1) {
-  my($reader,$writer)=(new IO::Handle, new IO::Handle);
-  $writer->autoflush(1);
-  warn "[fs_mailadmin_server] Connecting to $machine...\n" if $Debug;
-  sshopen2($machine,$reader,$writer,$fs_mailadmind);
-
-  my $data;
-
-  warn "[fs_mailadmin_server] Sending locales...\n" if $Debug;
-  my @cust_main_county = qsearch('cust_main_county', {} );
-  print $writer $data = join("\n",
-    ( scalar(@cust_main_county) || die "no tax rates (cust_main_county records)" ),
-    map {
-      $_->taxnum,
-      $_->state,
-      $_->county,
-      $_->country,
-    } @cust_main_county
-  ),"\n";
-  warn "[fs_mailadmin_server] $data\n" if $Debug > 2;
-
-  warn "[fs_mailadmin_server] Sending package definitions...\n" if $Debug;
-  my @part_pkg = grep { $_->svcpart('svc_acct') && $pkgpart->{ $_->pkgpart } }
-    qsearch( 'part_pkg', {} );
-  print $writer $data = join("\n",
-    ( scalar(@part_pkg) || die "no usable package definitions, agent $agentnum" ),
-    map {
-      $_->pkgpart,
-      $_->pkg,
-    } @part_pkg
-  ), "\n";
-  warn "[fs_mailadmin_server] $data\n" if $Debug > 2;
-
-  warn "[fs_mailadmin_server] Sending POPs...\n" if $Debug;
-  my @svc_acct_pop = qsearch ('svc_acct_pop',{} );
-  print $writer $data = join("\n",
-    ( scalar(@svc_acct_pop) || die "No points of presence (svc_acct_pop records)" ),
-    map {
-      $_->popnum,
-      $_->city,
-      $_->state,
-      $_->ac,
-      $_->exch,
-      $_->loc,
-    } @svc_acct_pop
-  ), "\n";
-  warn "[fs_mailadmin_server] $data\n" if $Debug > 2;
-
-  warn "[fs_mailadmin_server] Entering main loop...\n" if $Debug;
-COMMAND:  while (1) {
-    warn "[fs_mailadmin_server] Reading (waiting for) command...\n" if $Debug;
-    chop( my($command, $user) = map { scalar(<$reader>) } ( 1 .. 2 ) );
-    my $domain = $default_domain;
-    $user =~ /^([\w\.\-]+)\@(([\w\-]+\.)+\w+)$/;
-    ($user, $domain) = ($1, $2);
-
-    if ($command eq 'authenticate'){
-      warn "[fs_mailadmin_server] Processing authenticate command for $user \n" if $Debug;
-      chop( my($password) = map { scalar(<$reader>) } ( 1 .. 1 ) );
-
-      my $error = '';
-
-      my @svc_domain = qsearchs('svc_domain', { 'domain'   => $domain });
-
-      if (scalar(@svc_domain) != 1) {
-        warn "Nonexistant or duplicate service account for \"$domain\"";
-        next COMMAND;
-      }
-
-      my @svc_acct = qsearchs('svc_acct', { 'username' => $user,
-                                            'domsvc'   => $svc_domain[0]->svcnum });
-      if (scalar(@svc_acct) != 1) {
-        die "Nonexistant or duplicate service account for \"$user\"";
-        next COMMAND;
-      }
-
-      if ($svc_acct[0]->_password eq $password) {
-        $error = "$user\@$domain OK";
-      }else{
-        $error = "$user\@$domain FAILED";
-      }
-      warn "[fs_mailadmin_server] Sending results...\n" if $Debug;
-      print $writer $error, "\n";
-    }
-    elsif ($command eq 'list_packages'){
-      warn "[fs_mailadmin_server] Processing list_packages command for $user \n" if $Debug;
-
-      my $error = '';
-
-      my @packages = eval {find_administrable_packages( $user, $domain )};
-      warn "$@" if $@; 
-
-      my %packages;
-      my %accounts;
-
-      foreach my $package (@packages) {
-        $packages{my $pkgnum = $package->getfield('pkgnum')} = $default_domain;
-        $accounts{$pkgnum} = 0;
-        my @services = qsearch('cust_svc', { 'pkgnum' => $pkgnum });
-        foreach my $service (@services) {
-          if ($service->getfield('svcpart') eq '4'){
-            my $account=qsearchs('svc_domain', { 'svcnum' => $service->getfield('svcnum') });
-            $packages{$pkgnum}=$account->getfield('domain');
-            $accounts{$pkgnum}=$account->getfield('svcnum');
-          }
-        }
-      }
-      
-      print $writer $data = join("\n",
-        ( scalar(keys(%packages)) ),
-        map {
-          $_,
-          $packages{$_},
-          $accounts{$_},
-        } keys(%packages)
-      ), "\n";
-      warn "[fs_mailadmin_server] $data\n" if $Debug > 2;
-
-    }elsif ($command eq 'list_mailboxes'){
-
-      warn "[fs_mailadmin_server] Processing list_mailboxes command for $user" if $Debug;
-      chop( my($pkgnum) = map { scalar(<$reader>) } ( 1 .. 1 ) );
-      warn "package $pkgnum \n" if $Debug;
-
-      my $error = '';
-
-      my @packages = eval {find_administrable_packages( $user, $domain )};
-      warn "$@" if $@; 
-
-      my @accounts;
-
-      foreach my $package (@packages) {
-        next unless ($pkgnum eq $package->getfield('pkgnum'));
-        my @services = qsearch('cust_svc', { 'pkgnum' => $package->getfield('pkgnum') });
-        foreach my $service (@services) {
-          if ($service->getfield('svcpart') eq '2'){
-            my $account=qsearchs('svc_acct', { 'svcnum' => $service->getfield('svcnum') });
-#           $accounts[$#accounts+1]=$account->getfield('username');
-            $accounts[$#accounts+1]=$account;
-          }
-        }
-      }
-      
-      print $writer $data = join("\n",
-#        ( scalar(@accounts) || die "No accounts (svc_acct records)" ),
-        ( scalar(@accounts) ),
-        map {
-          $_->svcnum,
-#          $_->username,
-          $_->email,
-#          $_->_password,
-          '*****',
-        } @accounts
-      ), "\n";
-      warn "[fs_mailadmin_server] $data\n" if $Debug > 2;
-
-      
-    } elsif ($command eq 'delete_mailbox'){
-      warn "[fs_mailadmin_server] Processing delete_mailbox command for $user " if $Debug;
-      chop( my($account) = map { scalar(<$reader>) } ( 1 .. 1 ) );
-      warn "account $account \n" if $Debug;
-
-      my $error = '';
-
-      my @packages = eval { find_administrable_packages($user, $domain) };
-      warn "$@" if $@; 
-      $error ||= "$@" if $@; 
-
-      my @svc_acct = qsearchs('svc_acct', { 'svcnum' => $account }) unless $error;
-      if (scalar(@svc_acct) != 1) { $error ||= 'Nonexistant or duplicate service account for user.' };
-      if (! $error && check_administrator(\@packages, $svc_acct[0])){
-# not sure about the next three lines... do we delete? or return error
-        foreach my $svc_forward (qsearch('svc_forward', { 'dstsvc' => $svc_acct[0]->getfield('svcnum') })) {
-          $error ||= $svc_forward->delete;
-        }
-        foreach my $svc_forward (qsearch('svc_forward', { 'srcsvc' => $svc_acct[0]->getfield('svcnum') })) {
-          $error ||= $svc_forward->delete;
-        }
-        $error ||= $svc_acct[0]->delete;
-      } else {
-        $error ||= "Illegal attempt to remove service";
-      }
-
-      
-      warn "[fs_mailadmin_server] Sending results...\n" if $Debug;
-      print $writer $error, "\n";
-      
-    } elsif ($command eq 'password_mailbox'){
-      warn "[fs_mailadmin_server] Processing password_mailbox command for $user " if $Debug;
-      chop( my($account, $_password) = map { scalar(<$reader>) } ( 1 .. 2 ) );
-      warn "account $account with password $_password \n" if $Debug;
-
-      my $error = '';
-
-      my @packages = eval { find_administrable_packages($user, $domain) };
-      warn "$@" if $@; 
-      $error ||= "$@" if $@; 
-
-      my @svc_acct = qsearchs('svc_acct', { 'svcnum' => $account }) unless $error;
-      if (scalar(@svc_acct) != 1) { $error ||= 'Nonexistant or duplicate service account.' };
-
-      if (! $error && check_administrator(\@packages, $svc_acct[0])){
-        my $new = new FS::svc_acct ({$svc_acct[0]->hash});
-        $new->setfield('_password' => $_password);
-        $error ||= $new->replace($svc_acct[0]);
-      } else {
-        $error ||= "Illegal attempt to change password";
-      }
-
-      
-      warn "[fs_mailadmin_server] Sending results...\n" if $Debug;
-      print $writer $error, "\n";
-      
-    } elsif ($command eq 'add_mailbox'){
-      warn "[fs_mailadmin_server] Processing add_mailbox command for $user " if $Debug;
-      chop( my($target_package, $account, $_password) = map { scalar(<$reader>) } ( 1 .. 3 ) );
-      warn "in package $target_package account $account with password $_password \n" if $Debug;
-
-      my $found_package;
-      my $domainsvc=0;
-      my $svcpart=2;    # this is 'email box'
-      my $svcpartsm=3;  # this is 'domain alias'
-      my $error = '';
-      my $found = 0;
-
-      my @packages = eval { find_administrable_packages($user, $domain) };
-      warn "$@" if $@; 
-      $error ||= "$@" if $@; 
-
-      foreach my $package (@packages) {
-        if ($package->getfield('pkgnum') eq $target_package) {
-          $found = 1;
-          $found_package=$package;
-          my @services = qsearch('cust_svc', { 'pkgnum' => $target_package });
-          foreach my $service (@services) {
-            if ($service->getfield('svcpart') eq '4'){
-              my @svc_domain=qsearchs('svc_domain', { 'svcnum' => $service->getfield('svcnum') });
-              if (scalar(@svc_domain) eq 1) {
-                $domainsvc=$svc_domain[0]->getfield('svcnum');
-              }
-            }
-          }
-          last;
-        }
-      }
-      warn "User $user does not have administration rights to package $target_package\n" unless $found;
-      $error ||= "User $user does not have administration rights to package $target_package\n" unless $found;
-
-      my $part_pkg = qsearchs('part_pkg',{'pkgpart'=>$found_package->getfield('pkgpart')});
-
-      #list of services this pkgpart includes (although at the moment we only care
-      #  about $svcpart
-      my $pkg_svc;
-      my %pkg_svc = ();
-      foreach $pkg_svc ( qsearch('pkg_svc',{'pkgpart'=> $found_package->pkgpart }) ) {
-        $pkg_svc{$pkg_svc->svcpart} = $pkg_svc->quantity if $pkg_svc->quantity;
-      }
-
-      my @services = qsearch('cust_svc', {'pkgnum'  => $found_package->getfield('pkgnum'),
-                                          'svcpart' => $svcpart,
-                                         });
-
-      if (scalar(@services) >= $pkg_svc{$svcpart}) {
-        $error="Maximum allowed already reached.";
-      }
-      
-      my $svc_acct = new FS::svc_acct ( {
-        'pkgnum'    => $found_package->pkgnum,
-        'svcpart'   => $svcpart,
-        'username'  => $account,
-        'domsvc'    => $domainsvc,
-        '_password' => $_password,
-      } );
-
-      my $y = $svc_acct->setdefault; # arguably should be in new method
-      $error ||= $y unless ref($y);
-      #and just in case you were silly
-      $svc_acct->pkgnum($found_package->pkgnum);
-      $svc_acct->svcpart($svcpart);
-      $svc_acct->username($account);
-      $svc_acct->domsvc($domainsvc);
-      $svc_acct->_password($_password);
-
-      $error ||= $svc_acct->check;
-
-      if ( ! $error ) { #in this case, $cust_pkg should always
-                                     #be definied, but....
-        $error ||= $svc_acct->insert;
-        warn "WARNING: $error on pre-checked svc_acct record!" if $error;
-      }
-
-      warn "[fs_mailadmin_server] Sending results...\n" if $Debug;
-      print $writer $error, "\n";
-      
-    }elsif ($command eq 'list_forwards'){
-
-      warn "[fs_mailadmin_server] Processing list_forwards command for $user" if $Debug;
-      chop( my($svcnum) = map { scalar(<$reader>) } ( 1 .. 1 ) );
-      warn "service $svcnum \n" if $Debug;
-
-      my $error = '';
-
-      my @packages = eval {find_administrable_packages( $user, $domain )};
-      warn "$@" if $@; 
-
-      my @forwards;
-
-      foreach my $package (@packages) {
-#        next unless ($pkgnum eq $package->getfield('pkgnum'));
-        my @services = qsearch('cust_svc', { 'pkgnum' => $package->getfield('pkgnum') });
-        foreach my $service (@services) {
-          if ($service->getfield('svcpart') eq '10'){
-            my $forward=qsearchs('svc_forward', { 'svcnum' => $service->getfield('svcnum') });
-            $forwards[$#forwards+1]=$forward if ($forward->getfield('srcsvc') == $svcnum);
-          }
-        }
-      }
-      
-      print $writer $data = join("\n",
-        ( scalar(@forwards) ),
-        map {
-          $_->svcnum,
-          ($_->dstsvc ? qsearchs('svc_acct', {'svcnum' => $_->dstsvc})->email : $_->dst),
-        } @forwards
-      ), "\n";
-      warn "[fs_mailadmin_server] $data\n" if $Debug > 2;
-
-      
-    }elsif ($command eq 'list_pkg_forwards'){
-
-      warn "[fs_mailadmin_server] Processing list_pkg_forwards command for $user" if $Debug;
-      chop( my($pkgnum) = map { scalar(<$reader>) } ( 1 .. 1 ) );
-      warn "package $pkgnum \n" if $Debug;
-
-      my $error = '';
-
-      my @packages = eval {find_administrable_packages( $user, $domain )};
-      warn "$@" if $@; 
-
-      my @forwards;
-
-      foreach my $package (@packages) {
-        next unless ($pkgnum eq $package->getfield('pkgnum'));
-        my @services = qsearch('cust_svc', { 'pkgnum' => $package->getfield('pkgnum') });
-        foreach my $service (@services) {
-          if ($service->getfield('svcpart') eq '10'){
-            my $forward=qsearchs('svc_forward', { 'svcnum' => $service->getfield('svcnum') });
-            $forwards[$#forwards+1]=$forward;
-          }
-        }
-      }
-      
-      print $writer $data = join("\n",
-        ( scalar(@forwards) ),
-        map {
-          $_->svcnum,
-          $_->srcsvc,
-          ($_->dstsvc ? qsearchs('svc_acct', {'svcnum' => $_->dstsvc})->email : $_->dst),
-        } @forwards
-      ), "\n";
-      warn "[fs_mailadmin_server] $data\n" if $Debug > 2;
-
-      
-    } elsif ($command eq 'delete_forward'){
-      warn "[fs_mailadmin_server] Processing delete_forward command for $user " if $Debug;
-      chop( my($forward) = map { scalar(<$reader>) } ( 1 .. 1 ) );
-      warn "forward $forward \n" if $Debug;
-
-      my $error = '';
-
-      my @packages = eval { find_administrable_packages($user, $domain) };
-      warn "$@" if $@; 
-      $error ||= "$@" if $@; 
-
-      my @svc_forward = qsearchs('svc_forward', { 'svcnum' => $forward }) unless $error;
-      if (scalar(@svc_forward) != 1) { $error ||= 'Nonexistant or duplicate service account for user.' };
-      if (! $error && check_administrator(\@packages, $svc_forward[0])){
-# not sure about the next three lines... do we delete? or return error
-        $error ||= $svc_forward[0]->delete;
-      } else {
-        $error ||= "Illegal attempt to remove service";
-      }
-
-      
-      warn "[fs_mailadmin_server] Sending results...\n" if $Debug;
-      print $writer $error, "\n";
-      
-    } elsif ($command eq 'add_forward'){
-      warn "[fs_mailadmin_server] Processing add_forward command for $user " if $Debug;
-      chop( my($target_package, $source, $dest) = map { scalar(<$reader>) } ( 1 .. 3 ) );
-      warn "in package $target_package source $source with destination $dest \n" if $Debug;
-
-      my $found_package;
-      my $domainsvc=0;
-      my $svcpart=10;   # this is 'forward service'
-      my $error = '';
-      my $found = 0;
-
-      my @packages = eval { find_administrable_packages($user, $domain) };
-      warn "$@" if $@; 
-      $error ||= "$@" if $@; 
-
-      foreach my $package (@packages) {
-        if ($package->getfield('pkgnum') eq $target_package) {
-          $found = 1;
-          $found_package=$package;
-          last;
-        }
-      }
-      warn "User $user does not have administration rights to package $target_package\n" unless $found;
-      $error ||= "User $user does not have administration rights to package $target_package\n" unless $found;
-
-      my $svc_acct = qsearchs('svc_acct', { 'svcnum' => $source });
-      warn "Forwarding source $source does not exist.\n" unless $svc_acct;
-      $error ||= "Forwarding source $source does not exist.\n" unless $svc_acct;
-
-      my $cust_svc = qsearchs('cust_svc', { 'svcnum' => $source });
-      warn "Forwarding source $source not attached to any account.\n" unless $cust_svc;
-      $error ||= "Forwarding source $source not attached to any account.\n" unless $cust_svc;
-
-      if ( ! $error ) {
-        warn "Forwarding source $source is not in package $target_package\n"
-          unless ($cust_svc->getfield('pkgnum') == $target_package);
-        $error ||= "Forwarding source $source is not in package $target_package\n"
-          unless ($cust_svc->getfield('pkgnum') == $target_package);
-      }
-
-      my $part_pkg = qsearchs('part_pkg',{'pkgpart'=>$found_package->getfield('pkgpart')});
-
-      #list of services this pkgpart includes (although at the moment we only care
-      #  about $svcpart
-      my $pkg_svc;
-      my %pkg_svc = ();
-      foreach $pkg_svc ( qsearch('pkg_svc',{'pkgpart'=> $found_package->pkgpart }) ) {
-        $pkg_svc{$pkg_svc->svcpart} = $pkg_svc->quantity if $pkg_svc->quantity;
-      }
-
-      my @services = qsearch('cust_svc', {'pkgnum'  => $found_package->getfield('pkgnum'),
-                                          'svcpart' => $svcpart,
-                                         });
-
-      if (scalar(@services) >= $pkg_svc{$svcpart}) {
-        $error="Maximum allowed already reached.";
-      }
-      
-      my $svc_forward = new FS::svc_forward ( {
-        'pkgnum'    => $found_package->pkgnum,
-        'svcpart'   => $svcpart,
-        'srcsvc'  => $source,
-        'dstsvc'    => 0,
-        'dst' => $dest,
-      } );
-
-      my $y = $svc_forward->setdefault; # arguably should be in new method
-      $error ||= $y unless ref($y);
-      #and just in case you were silly
-      $svc_forward->pkgnum($found_package->pkgnum);
-      $svc_forward->svcpart($svcpart);
-      $svc_forward->srcsvc($source);
-      $svc_forward->dstsvc(0);
-      $svc_forward->dst($dest);
-
-      $error ||= $svc_forward->check;
-
-      if ( ! $error ) { #in this case, $cust_pkg should always
-                                     #be definied, but....
-        $error ||= $svc_forward->insert;
-        warn "WARNING: $error on pre-checked svc_forward record!" if $error;
-      }
-
-      warn "[fs_mailadmin_server] Sending results...\n" if $Debug;
-      print $writer $error, "\n";
-      
-    } else {
-      warn "[fs_mailadmin_server] Bad command: $command \n" if $Debug;
-      print $writer "Bad command \n";
-    }
-  }
-  close $writer;
-  close $reader;
-  warn "connection to $machine lost!  waiting 60 seconds...\n";
-  sleep 60;
-  warn "reconnecting...\n";
-}
-
-sub usage {
-  die "Usage:\n\n  fs_mailadmin_server user machine agentnum refnum\n";
-}
-
-#sub find_administrable_packages {
-#      my $user = shift;
-#
-#      my $error = '';
-#
-#      my @svc_acct = qsearchs('svc_acct', { 'username' => $user });
-#      if (scalar(@svc_acct) != 1) {
-#        die "Nonexistant or duplicate service account for \"$user\"";
-#      }
-#
-#      my @cust_svc = qsearchs('cust_svc', { 'svcnum' => $svc_acct[0]->getfield('svcnum') });
-#      if (scalar(@cust_svc) != 1 ) {
-#        die "Nonexistant or duplicate customer service for \"$user\"";
-#      }
-#
-#      my @cust_pkg = qsearchs('cust_pkg', { 'pkgnum' => $cust_svc[0]->getfield('pkgnum') });
-#      if (scalar(@cust_pkg) != 1) {
-#        die "Nonexistant or duplicate customer package for \"$user\"";
-#      }
-#
-#      my @cust_main = qsearchs('cust_main', { 'custnum' => $cust_pkg[0]->getfield('custnum') });
-#      if (scalar(@cust_main) != 1 ) {
-#        die "Nonexistant or duplicate customer for \"$user\"";
-#      }
-#
-#      my @packages = $cust_main[0]->ncancelled_pkgs;
-#}
-
-sub find_administrable_packages {
-      my $user = shift;
-      my $domain = shift;
-
-      my @packages;
-      my $error = '';
-
-      my @svc_domain = qsearchs('svc_domain', { 'domain'   => $domain });
-
-      if (scalar(@svc_domain) != 1) {
-        die "Nonexistant or duplicate service account for \"$domain\"";
-      }
-
-      my @svc_acct = qsearchs('svc_acct', { 'username' => $user,
-                                            'domsvc'   => $svc_domain[0]->svcnum });
-      if (scalar(@svc_acct) != 1) {
-        die "Nonexistant or duplicate service account for \"$user\"";
-      }
-
-      my @svc_acct_admin = qsearch('svc_acct_admin', {'adminsvc' => $svc_acct[0]->getfield('svcnum') });
-      die "Nonexistant or duplicate customer service for \"$user\"" unless scalar(@svc_acct_admin);
-
-      foreach my $svc_acct_admin (@svc_acct_admin) {
-        my @cust_svc = qsearchs('cust_svc', { 'svcnum' => $svc_acct_admin->getfield('svcnum') });
-        if (scalar(@cust_svc) != 1 ) {
-          die "Nonexistant or duplicate customer service for admin \"$svc_acct_admin->getfield('svcnum')\"";
-        }
-
-        my @cust_pkg = qsearchs('cust_pkg', { 'pkgnum' => $cust_svc[0]->getfield('pkgnum') });
-        if (scalar(@cust_pkg) != 1) {
-          die "Nonexistant or duplicate customer package for admin \"$user\"";
-        }
-
-        push @packages, $cust_pkg[0] unless $cust_pkg[0]->getfield('cancel');
-
-      }
-      (@packages);
-}
-
-sub check_administrator {
-      my ($allowed_packages_aref, $svc_acct_ref) = @_;
-
-      my $error = '';
-      my $found = 0;
-
-      {
-        my @cust_svc = qsearchs('cust_svc', { 'svcnum' => $svc_acct_ref->getfield('svcnum') });
-        if (scalar(@cust_svc) != 1 ) {
-          warn "Nonexistant or duplicate customer service for \"$svc_acct_ref->getfield('username')\"";
-          last;
-        }
-
-        my @cust_pkg = qsearchs('cust_pkg', { 'pkgnum' => $cust_svc[0]->getfield('pkgnum') });
-        if (scalar(@cust_pkg) != 1) {
-          warn "Nonexistant or duplicate customer package for \"$svc_acct_ref->getfield('username')\"";
-          last;
-        }
-
-        foreach my $package (@$allowed_packages_aref) {
-          if ($package->getfield('pkgnum') eq $cust_pkg[0]->getfield('pkgnum')) {
-            $found = 1;
-            last;
-          }
-        }
-      }
-
-      $found;
-}
-
-sub check_add {
-      my ($allowed_packages_aref, $target_package) = @_;
-
-      my $error = '';
-      my $found = 0;
-
-      foreach my $package (@$allowed_packages_aref) {
-        if ($package->getfield('pkgnum') eq $target_package) {
-          $found = 1;
-          last;
-        }
-      }
-
-      $found;
-}
-
diff --git a/fs_selfservice/DEPLOY b/fs_selfservice/DEPLOY
deleted file mode 100755 (executable)
index 6341278..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-#this is a quick hack for my dev machine.  do not use it.
-# see the "make install-selfservice" and "make update-selfservice" makefile
-# targets to properly install this stuff.
-
-#kill `cat /var/run/freeside-selfservice-server.fs_selfservice.pid`
-
-cd FS-SelfService
-perl Makefile.PL && make && make install
-cd ..
-
-( cd ..; make deploy; cd fs_selfservice )
-
-cp /home/ivan/freeside/fs_selfservice/FS-SelfService/cgi/* /var/www/MyAccount
-chown freeside /var/www/MyAccount/*.cgi
-chmod 755 /var/www/MyAccount/*.cgi
-ln -s /var/www/MyAccount/selfservice.cgi /var/www/MyAccount/index.cgi || true
-
-       #cp /home/ivan/freeside/fs_signup/FS-SignupClient/cgi/* /var/www/signup/
-       ##mv /var/www/signup/signup-snarf.html /var/www/signup/signup.html #!!!!!
-       ##mv /var/www/signup/signup-billaddress.html /var/www/signup/signup.html #!!!!!
-       ##mv /var/www/signup/signup-freeoption.html /var/www/signup/signup.html #!!!!!
-       #chown freeside /var/www/signup/signup.cgi
-       #chmod 755 /var/www/signup/signup.cgi
-       #ln -s /var/www/signup/signup.cgi /var/www/signup/index.cgi || true
-
diff --git a/fs_selfservice/FS-SelfService/Changes b/fs_selfservice/FS-SelfService/Changes
deleted file mode 100644 (file)
index b9e26b7..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-Revision history for Perl extension FS::SelfService.
-
-0.01  Tue May 28 16:49:41 2002
-       - original version; created by h2xs 1.21 with options
-               -A -X -n FS::SelfService
-
diff --git a/fs_selfservice/FS-SelfService/MANIFEST b/fs_selfservice/FS-SelfService/MANIFEST
deleted file mode 100644 (file)
index ebd0d3b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-Changes
-Makefile.PL
-MANIFEST
-SelfService.pm
-test.pl
-freeside-selfservice-clientd
diff --git a/fs_selfservice/FS-SelfService/Makefile.PL b/fs_selfservice/FS-SelfService/Makefile.PL
deleted file mode 100644 (file)
index 0b7fc46..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-WriteMakefile(
-    'NAME'             => 'FS::SelfService',
-    'VERSION_FROM'     => 'SelfService.pm', # finds $VERSION
-    'EXE_FILES'         => [ 'freeside-selfservice-clientd',
-                             #'freeside-selfservice-xmlrpc-server',
-                           ],
-    'INSTALLSCRIPT'     => '/usr/local/sbin',
-    'INSTALLSITEBIN'    => '/usr/local/sbin',
-    'PERM_RWX'          => '750',
-    'PREREQ_PM'                => {
-                             'Storable' => 2.09,
-                           }, # e.g., Module::Name => 1.1
-    ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
-      (ABSTRACT_FROM => 'SelfService.pm', # retrieve abstract from module
-       AUTHOR     => 'Ivan Kohler <ivan-freeside-selfservice@420.am>') : ()),
-);
diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm
deleted file mode 100644 (file)
index bfce128..0000000
+++ /dev/null
@@ -1,1094 +0,0 @@
-package FS::SelfService;
-
-use strict;
-use vars qw($VERSION @ISA @EXPORT_OK $dir $socket %autoload $tag);
-use Exporter;
-use Socket;
-use FileHandle;
-#use IO::Handle;
-use IO::Select;
-use Storable 2.09 qw(nstore_fd fd_retrieve);
-
-$VERSION = '0.03';
-
-@ISA = qw( Exporter );
-
-$dir = "/usr/local/freeside";
-$socket =  "$dir/selfservice_socket";
-$socket .= '.'.$tag if defined $tag && length($tag);
-
-#maybe should ask ClientAPI for this list
-%autoload = (
-  'passwd'               => 'passwd/passwd',
-  'chfn'                 => 'passwd/passwd',
-  'chsh'                 => 'passwd/passwd',
-  'login'                => 'MyAccount/login',
-  'logout'               => 'MyAccount/logout',
-  'customer_info'        => 'MyAccount/customer_info',
-  'edit_info'            => 'MyAccount/edit_info',     #add to ss cgi!
-  'invoice'              => 'MyAccount/invoice',
-  'list_invoices'        => 'MyAccount/list_invoices', #?
-  'cancel'               => 'MyAccount/cancel',        #add to ss cgi!
-  'payment_info'         => 'MyAccount/payment_info',
-  'process_payment'      => 'MyAccount/process_payment',
-  'process_prepay'       => 'MyAccount/process_prepay',
-  'list_pkgs'            => 'MyAccount/list_pkgs',     #add to ss cgi!
-  'order_pkg'            => 'MyAccount/order_pkg',     #add to ss cgi!
-  'cancel_pkg'           => 'MyAccount/cancel_pkg',    #add to ss cgi!
-  'charge'               => 'MyAccount/charge',        #?
-  'part_svc_info'        => 'MyAccount/part_svc_info',
-  'provision_acct'       => 'MyAccount/provision_acct',
-  'provision_external'   => 'MyAccount/provision_external',
-  'unprovision_svc'      => 'MyAccount/unprovision_svc',
-  'signup_info'          => 'Signup/signup_info',
-  'new_customer'         => 'Signup/new_customer',
-  'agent_login'          => 'Agent/agent_login',
-  'agent_logout'         => 'Agent/agent_logout',
-  'agent_info'           => 'Agent/agent_info',
-  'agent_list_customers' => 'Agent/agent_list_customers',
-);
-@EXPORT_OK = ( keys(%autoload), qw( regionselector expselect popselector ) );
-
-$ENV{'PATH'} ='/usr/bin:/usr/ucb:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-my $freeside_uid = scalar(getpwnam('freeside'));
-die "not running as the freeside user\n" if $> != $freeside_uid;
-
--e $dir or die "FATAL: $dir doesn't exist!";
--d $dir or die "FATAL: $dir isn't a directory!";
--r $dir or die "FATAL: Can't read $dir as freeside user!";
--x $dir or die "FATAL: $dir not searchable (executable) as freeside user!";
-
-foreach my $autoload ( keys %autoload ) {
-
-  my $eval =
-  "sub $autoload { ". '
-                   my $param;
-                   if ( ref($_[0]) ) {
-                     $param = shift;
-                   } else {
-                     $param = { @_ };
-                   }
-
-                   $param->{_packet} = \''. $autoload{$autoload}. '\';
-
-                   simple_packet($param);
-                 }';
-
-  eval $eval;
-  die $@ if $@;
-
-}
-
-sub simple_packet {
-  my $packet = shift;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($socket)) or die "connect to $socket: $!";
-  nstore_fd($packet, \*SOCK) or die "can't send packet: $!";
-  SOCK->flush;
-
-  #shoudl trap: Magic number checking on storable file failed at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/fd_retrieve.al) line 337, at /usr/local/share/perl/5.6.1/FS/SelfService.pm line 71
-
-  #block until there is a message on socket
-#  my $w = new IO::Select;
-#  $w->add(\*SOCK);
-#  my @wait = $w->can_read;
-  my $return = fd_retrieve(\*SOCK) or die "error reading result: $!";
-  die $return->{'_error'} if defined $return->{_error} && $return->{_error};
-
-  $return;
-}
-
-=head1 NAME
-
-FS::SelfService - Freeside self-service API
-
-=head1 SYNOPSIS
-
-  # password and shell account changes
-  use FS::SelfService qw(passwd chfn chsh);
-
-  # "my account" functionality
-  use FS::SelfService qw( login customer_info invoice cancel payment_info process_payment );
-
-  my $rv = login( { 'username' => $username,
-                    'domain'   => $domain,
-                    'password' => $password,
-                  }
-                );
-
-  if ( $rv->{'error'} ) {
-    #handle login error...
-  } else {
-    #successful login
-    my $session_id = $rv->{'session_id'};
-  }
-
-  my $customer_info = customer_info( { 'session_id' => $session_id } );
-
-  #payment_info and process_payment are available in 1.5+ only
-  my $payment_info = payment_info( { 'session_id' => $session_id } );
-
-  #!!! process_payment example
-
-  #!!! list_pkgs example
-
-  #!!! order_pkg example
-
-  #!!! cancel_pkg example
-
-  # signup functionality
-  use FS::SelfService qw( signup_info new_customer );
-
-  my $signup_info = signup_info;
-
-  $rv = new_customer( {
-                        'first'            => $first,
-                        'last'             => $last,
-                        'company'          => $company,
-                        'address1'         => $address1,
-                        'address2'         => $address2,
-                        'city'             => $city,
-                        'state'            => $state,
-                        'zip'              => $zip,
-                        'country'          => $country,
-                        'daytime'          => $daytime,
-                        'night'            => $night,
-                        'fax'              => $fax,
-                        'payby'            => $payby,
-                        'payinfo'          => $payinfo,
-                        'paycvv'           => $paycvv,
-                        'paystart_month'   => $paystart_month
-                        'paystart_year'    => $paystart_year,
-                        'payissue'         => $payissue,
-                        'payip'            => $payip
-                        'paydate'          => $paydate,
-                        'payname'          => $payname,
-                        'invoicing_list'   => $invoicing_list,
-                        'referral_custnum' => $referral_custnum,
-                        'pkgpart'          => $pkgpart,
-                        'username'         => $username,
-                        '_password'        => $password,
-                        'popnum'           => $popnum,
-                        'agentnum'         => $agentnum,
-                      }
-                    );
-  
-  my $error = $rv->{'error'};
-  if ( $error eq '_decline' ) {
-    print_decline();
-  } elsif ( $error ) {
-    reprint_signup();
-  } else {
-    print_success();
-  }
-
-=head1 DESCRIPTION
-
-Use this API to implement your own client "self-service" module.
-
-If you just want to customize the look of the existing "self-service" module,
-see XXXX instead.
-
-=head1 PASSWORD, GECOS, SHELL CHANGING FUNCTIONS
-
-=over 4
-
-=item passwd
-
-=item chfn
-
-=item chsh
-
-=back
-
-=head1 "MY ACCOUNT" FUNCTIONS
-
-=over 4
-
-=item login HASHREF
-
-Creates a user session.  Takes a hash reference as parameter with the
-following keys:
-
-=over 4
-
-=item username
-
-=item domain
-
-=item password
-
-=back
-
-Returns a hash reference with the following keys:
-
-=over 4
-
-=item error
-
-Empty on success, or an error message on errors.
-
-=item session_id
-
-Session identifier for successful logins
-
-=back
-
-=item customer_info HASHREF
-
-Returns general customer information.
-
-Takes a hash reference as parameter with a single key: B<session_id>
-
-Returns a hash reference with the following keys:
-
-=over 4
-
-=item name
-
-Customer name
-
-=item balance
-
-Balance owed
-
-=item open
-
-Array reference of hash references of open inoices.  Each hash reference has
-the following keys: invnum, date, owed
-
-=item small_custview
-
-An HTML fragment containing shipping and billing addresses.
-
-=item The following fields are also returned: first last company address1 address2 city county state zip country daytime night fax ship_first ship_last ship_company ship_address1 ship_address2 ship_city ship_state ship_zip ship_country ship_daytime ship_night ship_fax payby payinfo payname month year invoicing_list postal_invoicing
-
-=back
-
-=item edit_info HASHREF
-
-Takes a hash reference as parameter with any of the following keys:
-
-first last company address1 address2 city county state zip country daytime night fax ship_first ship_last ship_company ship_address1 ship_address2 ship_city ship_state ship_zip ship_country ship_daytime ship_night ship_fax payby payinfo paycvv payname month year invoicing_list postal_invoicing
-
-If a field exists, the customer record is updated with the new value of that
-field.  If a field does not exist, that field is not changed on the customer
-record.
-
-Returns a hash reference with a single key, B<error>, empty on success, or an
-error message on errors
-
-=item invoice HASHREF
-
-Returns an invoice.  Takes a hash reference as parameter with two keys:
-session_id and invnum
-
-Returns a hash reference with the following keys:
-
-=over 4
-
-=item error
-
-Empty on success, or an error message on errors
-
-=item invnum
-
-Invoice number
-
-=item invoice_text
-
-Invoice text
-
-=back
-
-=item list_invoices HASHREF
-
-Returns a list of all customer invoices.  Takes a hash references with a single
-key, session_id.
-
-Returns a hash reference with the following keys:
-
-=over 4
-
-=item error
-
-Empty on success, or an error message on errors
-
-=item invoices
-
-Reference to array of hash references with the following keys:
-
-=over 4
-
-=item invnum
-
-Invoice ID
-
-=item _date
-
-Invoice date, in UNIX epoch time
-
-=back
-
-=back
-
-=item cancel HASHREF
-
-Cancels this customer.
-
-Takes a hash reference as parameter with a single key: B<session_id>
-
-Returns a hash reference with a single key, B<error>, which is empty on
-success or an error message on errors.
-
-=item payment_info HASHREF
-
-Returns information that may be useful in displaying a payment page.
-
-Takes a hash reference as parameter with a single key: B<session_id>.
-
-Returns a hash reference with the following keys:
-
-=over 4
-
-=item error
-
-Empty on success, or an error message on errors
-
-=item balance
-
-Balance owed
-
-=item payname
-
-Exact name on credit card (CARD/DCRD)
-
-=item address1
-
-=item address2
-
-=item city
-
-=item state
-
-=item zip
-
-=item payby
-
-Customer's current default payment type.
-
-=item card_type
-
-For CARD/DCRD payment types, the card type (Visa card, MasterCard, Discover card, American Express card, etc.)
-
-=item payinfo
-
-For CARD/DCRD payment types, the card number
-
-=item month
-
-For CARD/DCRD payment types, expiration month
-
-=item year
-
-For CARD/DCRD payment types, expiration year
-
-=item cust_main_county
-
-County/state/country data - array reference of hash references, each of which has the fields of a cust_main_county record (see L<FS::cust_main_county>).  Note these are not FS::cust_main_county objects, but hash references of columns and values.
-
-=item states
-
-Array reference of all states in the current default country.
-
-=item card_types
-
-Hash reference of card types; keys are card types, values are the exact strings
-passed to the process_payment function
-
-=item paybatch
-
-Unique transaction identifier (prevents multiple charges), passed to the
-process_payment function
-
-=back
-
-=item process_payment HASHREF
-
-Processes a payment and possible change of address or payment type.  Takes a
-hash reference as parameter with the following keys:
-
-=over 4
-
-=item session_id
-
-=item save
-
-If true, address and card information entered will be saved for subsequent
-transactions.
-
-=item auto
-
-If true, future credit card payments will be done automatically (sets payby to
-CARD).  If false, future credit card payments will be done on-demand (sets
-payby to DCRD).  This option only has meaning if B<save> is set true.  
-
-=item payname
-
-=item address1
-
-=item address2
-
-=item city
-
-=item state
-
-=item zip
-
-=item payinfo
-
-Card number
-
-=item month
-
-Card expiration month
-
-=item year
-
-Card expiration year
-
-=item paybatch
-
-Unique transaction identifier, returned from the payment_info function.
-Prevents multiple charges.
-
-=back
-
-Returns a hash reference with a single key, B<error>, empty on success, or an
-error message on errors
-
-=item list_pkgs
-
-Returns package information for this customer.
-
-Takes a hash reference as parameter with a single key: B<session_id>
-
-Returns a hash reference containing customer package information.  The hash reference contains the following keys:
-
-=over 4
-
-
-=item cust_pkg HASHREF
-
-Array reference of hash references, each of which has the fields of a cust_pkg
-record (see L<FS::cust_pkg>) as well as the fields below.  Note these are not
-the internal FS:: objects, but hash references of columns and values.
-
-=item all fields of part_pkg (XXXpare this down to a secure subset)
-
-=item part_svc - An array of hash references, each of which has the following keys:
-
-=over 4
-
-=item all fields of part_svc (XXXpare this down to a secure subset)
-
-=item avail
-
-=back
-
-=item error
-
-Empty on success, or an error message on errors.
-
-=back
-
-=item order_pkg
-
-Orders a package for this customer.
-
-Takes a hash reference as parameter with the following keys:
-
-=over 4
-
-=item session_id
-
-=item pkgpart
-
-=item svcpart
-
-optional svcpart, required only if the package definition does not contain
-one svc_acct service definition with quantity 1 (it may contain others with
-quantity >1)
-
-=item username
-
-=item _password
-
-=item sec_phrase
-
-=item popnum
-
-=back
-
-Returns a hash reference with a single key, B<error>, empty on success, or an
-error message on errors.  The special error '_decline' is returned for
-declined transactions.
-
-=item cancel_pkg
-
-Cancels a package for this customer.
-
-Takes a hash reference as parameter with the following keys:
-
-=over 4
-
-=item session_id
-
-=item pkgpart
-
-=back
-
-Returns a hash reference with a single key, B<error>, empty on success, or an
-error message on errors.
-
-=back
-
-=head1 SIGNUP FUNCTIONS
-
-=over 4
-
-=item signup_info HASHREF
-
-Takes a hash reference as parameter with the following keys:
-
-=over 4
-
-=item session_id - Optional agent/reseller interface session
-
-=back
-
-Returns a hash reference containing information that may be useful in
-displaying a signup page.  The hash reference contains the following keys:
-
-=over 4
-
-=item cust_main_county
-
-County/state/country data - array reference of hash references, each of which has the fields of a cust_main_county record (see L<FS::cust_main_county>).  Note these are not FS::cust_main_county objects, but hash references of columns and values.
-
-=item part_pkg
-
-Available packages - array reference of hash references, each of which has the fields of a part_pkg record (see L<FS::part_pkg>).  Each hash reference also has an additional 'payby' field containing an array reference of acceptable payment types specific to this package (see below and L<FS::part_pkg/payby>).  Note these are not FS::part_pkg objects, but hash references of columns and values.  Requires the 'signup_server-default_agentnum' configuration value to be set, or
-an agentnum specified explicitly via reseller interface session_id in the
-options.
-
-=item agent
-
-Array reference of hash references, each of which has the fields of an agent record (see L<FS::agent>).  Note these are not FS::agent objects, but hash references of columns and values.
-
-=item agentnum2part_pkg
-
-Hash reference; keys are agentnums, values are array references of available packages for that agent, in the same format as the part_pkg arrayref above.
-
-=item svc_acct_pop
-
-Access numbers - array reference of hash references, each of which has the fields of an svc_acct_pop record (see L<FS::svc_acct_pop>).  Note these are not FS::svc_acct_pop objects, but hash references of columns and values.
-
-=item security_phrase
-
-True if the "security_phrase" feature is enabled
-
-=item payby
-
-Array reference of acceptable payment types for signup
-
-=over 4
-
-=item CARD (credit card - automatic)
-
-=item DCRD (credit card - on-demand - version 1.5+ only)
-
-=item CHEK (electronic check - automatic)
-
-=item DCHK (electronic check - on-demand - version 1.5+ only)
-
-=item LECB (Phone bill billing)
-
-=item BILL (billing, not recommended for signups)
-
-=item COMP (free, definately not recommended for signups)
-
-=item PREPAY (special billing type: applies a credit (see FS::prepay_credit) and sets billing type to BILL)
-
-=back
-
-=item cvv_enabled
-
-True if CVV features are available (1.5+ or 1.4.2 with CVV schema patch)
-
-=item msgcat
-
-Hash reference of message catalog values, to support error message customization.  Currently available keys are: passwords_dont_match, invalid_card, unknown_card_type, and not_a (as in "Not a Discover card").  Values are configured in the web interface under "View/Edit message catalog".
-
-=item statedefault
-
-Default state
-
-=item countrydefault
-
-Default country
-
-=back
-
-=item new_customer HASHREF
-
-Creates a new customer.  Takes a hash reference as parameter with the
-following keys:
-
-=over 4
-
-=item first - first name (required)
-
-=item last - last name (required)
-
-=item ss (not typically collected; mostly used for ACH transactions)
-
-=item company
-
-=item address1 (required)
-
-=item address2
-
-=item city (required)
-
-=item county
-
-=item state (required)
-
-=item zip (required)
-
-=item daytime - phone
-
-=item night - phone
-
-=item fax - phone
-
-=item payby - CARD, DCRD, CHEK, DCHK, LECB, BILL, COMP or PREPAY (see L</signup_info> (required)
-
-=item payinfo - Card number for CARD/DCRD, account_number@aba_number for CHEK/DCHK, prepaid "pin" for PREPAY, purchase order number for BILL
-
-=item paycvv - Credit card CVV2 number (1.5+ or 1.4.2 with CVV schema patch)
-
-=item paydate - Expiration date for CARD/DCRD
-
-=item payname - Exact name on credit card for CARD/DCRD, bank name for CHEK/DCHK
-
-=item invoicing_list - comma-separated list of email addresses for email invoices.  The special value 'POST' is used to designate postal invoicing (it may be specified alone or in addition to email addresses),
-
-=item referral_custnum - referring customer number
-
-=item pkgpart - pkgpart of initial package
-
-=item username
-
-=item _password
-
-=item sec_phrase - security phrase
-
-=item popnum - access number (index, not the literal number)
-
-=item agentnum - agent number
-
-=back
-
-Returns a hash reference with the following keys:
-
-=over 4
-
-=item error Empty on success, or an error message on errors.  The special error '_decline' is returned for declined transactions; other error messages should be suitable for display to the user (and are customizable in under Sysadmin | View/Edit message catalog)
-
-=back
-
-=item regionselector HASHREF | LIST
-
-Takes as input a hashref or list of key/value pairs with the following keys:
-
-=over 4
-
-=item selected_county
-
-=item selected_state
-
-=item selected_country
-
-=item prefix - Specify a unique prefix string  if you intend to use the HTML output multiple time son one page.
-
-=item onchange - Specify a javascript subroutine to call on changes
-
-=item default_state
-
-=item default_country
-
-=item locales - An arrayref of hash references specifying regions.  Normally you can just pass the value of the I<cust_main_county> field returned by B<signup_info>.
-
-=back
-
-Returns a list consisting of three HTML fragments for county selection,
-state selection and country selection, respectively.
-
-=cut
-
-#false laziness w/FS::cust_main_county (this is currently the "newest" version)
-sub regionselector {
-  my $param;
-  if ( ref($_[0]) ) {
-    $param = shift;
-  } else {
-    $param = { @_ };
-  }
-  $param->{'selected_country'} ||= $param->{'default_country'};
-  $param->{'selected_state'} ||= $param->{'default_state'};
-
-  my $prefix = exists($param->{'prefix'}) ? $param->{'prefix'} : '';
-
-  my $countyflag = 0;
-
-  my %cust_main_county;
-
-#  unless ( @cust_main_county ) { #cache 
-    #@cust_main_county = qsearch('cust_main_county', {} );
-    #foreach my $c ( @cust_main_county ) {
-    foreach my $c ( @{ $param->{'locales'} } ) {
-      #$countyflag=1 if $c->county;
-      $countyflag=1 if $c->{county};
-      #push @{$cust_main_county{$c->country}{$c->state}}, $c->county;
-      #$cust_main_county{$c->country}{$c->state}{$c->county} = 1;
-      $cust_main_county{$c->{country}}{$c->{state}}{$c->{county}} = 1;
-    }
-#  }
-  $countyflag=1 if $param->{selected_county};
-
-  my $script_html = <<END;
-    <SCRIPT>
-    function opt(what,value,text) {
-      var optionName = new Option(text, value, false, false);
-      var length = what.length;
-      what.options[length] = optionName;
-    }
-    function ${prefix}country_changed(what) {
-      country = what.options[what.selectedIndex].text;
-      for ( var i = what.form.${prefix}state.length; i >= 0; i-- )
-          what.form.${prefix}state.options[i] = null;
-END
-      #what.form.${prefix}state.options[0] = new Option('', '', false, true);
-
-  foreach my $country ( sort keys %cust_main_county ) {
-    $script_html .= "\nif ( country == \"$country\" ) {\n";
-    foreach my $state ( sort keys %{$cust_main_county{$country}} ) {
-      my $text = $state || '(n/a)';
-      $script_html .= qq!opt(what.form.${prefix}state, "$state", "$text");\n!;
-    }
-    $script_html .= "}\n";
-  }
-
-  $script_html .= <<END;
-    }
-    function ${prefix}state_changed(what) {
-END
-
-  if ( $countyflag ) {
-    $script_html .= <<END;
-      state = what.options[what.selectedIndex].text;
-      country = what.form.${prefix}country.options[what.form.${prefix}country.selectedIndex].text;
-      for ( var i = what.form.${prefix}county.length; i >= 0; i-- )
-          what.form.${prefix}county.options[i] = null;
-END
-
-    foreach my $country ( sort keys %cust_main_county ) {
-      $script_html .= "\nif ( country == \"$country\" ) {\n";
-      foreach my $state ( sort keys %{$cust_main_county{$country}} ) {
-        $script_html .= "\nif ( state == \"$state\" ) {\n";
-          #foreach my $county ( sort @{$cust_main_county{$country}{$state}} ) {
-          foreach my $county ( sort keys %{$cust_main_county{$country}{$state}} ) {
-            my $text = $county || '(n/a)';
-            $script_html .=
-              qq!opt(what.form.${prefix}county, "$county", "$text");\n!;
-          }
-        $script_html .= "}\n";
-      }
-      $script_html .= "}\n";
-    }
-  }
-
-  $script_html .= <<END;
-    }
-    </SCRIPT>
-END
-
-  my $county_html = $script_html;
-  if ( $countyflag ) {
-    $county_html .= qq!<SELECT NAME="${prefix}county" onChange="$param->{'onchange'}">!;
-    $county_html .= '</SELECT>';
-  } else {
-    $county_html .=
-      qq!<INPUT TYPE="hidden" NAME="${prefix}county" VALUE="$param->{'selected_county'}">!;
-  }
-
-  my $state_html = qq!<SELECT NAME="${prefix}state" !.
-                   qq!onChange="${prefix}state_changed(this); $param->{'onchange'}">!;
-  foreach my $state ( sort keys %{ $cust_main_county{$param->{'selected_country'}} } ) {
-    my $text = $state || '(n/a)';
-    my $selected = $state eq $param->{'selected_state'} ? 'SELECTED' : '';
-    $state_html .= "\n<OPTION $selected VALUE=$state>$text</OPTION>"
-  }
-  $state_html .= '</SELECT>';
-
-  $state_html .= '</SELECT>';
-
-  my $country_html = qq!<SELECT NAME="${prefix}country" !.
-                     qq!onChange="${prefix}country_changed(this); $param->{'onchange'}">!;
-  my $countrydefault = $param->{default_country} || 'US';
-  foreach my $country (
-    sort { ($b eq $countrydefault) <=> ($a eq $countrydefault) or $a cmp $b }
-      keys %cust_main_county
-  ) {
-    my $selected = $country eq $param->{'selected_country'} ? ' SELECTED' : '';
-    $country_html .= "\n<OPTION$selected>$country</OPTION>"
-  }
-  $country_html .= '</SELECT>';
-
-  ($county_html, $state_html, $country_html);
-
-}
-
-#=item expselect HASHREF | LIST
-#
-#Takes as input a hashref or list of key/value pairs with the following keys:
-#
-#=over 4
-#
-#=item prefix - Specify a unique prefix string  if you intend to use the HTML output multiple time son one page.
-#
-#=item date - current date, in yyyy-mm-dd or m-d-yyyy format
-#
-#=back
-
-=item expselect PREFIX [ DATE ]
-
-Takes as input a unique prefix string and the current expiration date, in
-yyyy-mm-dd or m-d-yyyy format
-
-Returns an HTML fragments for expiration date selection.
-
-=cut
-
-sub expselect {
-  #my $param;
-  #if ( ref($_[0]) ) {
-  #  $param = shift;
-  #} else {
-  #  $param = { @_ };
-  #my $prefix = $param->{'prefix'};
-  #my $prefix = exists($param->{'prefix'}) ? $param->{'prefix'} : '';
-  #my $date =   exists($param->{'date'})   ? $param->{'date'}   : '';
-  my $prefix = shift;
-  my $date = scalar(@_) ? shift : '';
-
-  my( $m, $y ) = ( 0, 0 );
-  if ( $date  =~ /^(\d{4})-(\d{2})-\d{2}$/ ) { #PostgreSQL date format
-    ( $m, $y ) = ( $2, $1 );
-  } elsif ( $date =~ /^(\d{1,2})-(\d{1,2}-)?(\d{4}$)/ ) {
-    ( $m, $y ) = ( $1, $3 );
-  }
-  my $return = qq!<SELECT NAME="$prefix!. qq!_month" SIZE="1">!;
-  for ( 1 .. 12 ) {
-    $return .= "<OPTION";
-    $return .= " SELECTED" if $_ == $m;
-    $return .= ">$_";
-  }
-  $return .= qq!</SELECT>/<SELECT NAME="$prefix!. qq!_year" SIZE="1">!;
-  my @t = localtime;
-  my $thisYear = $t[5] + 1900;
-  for ( ($thisYear > $y && $y > 0 ? $y : $thisYear) .. 2037 ) {
-    $return .= "<OPTION";
-    $return .= " SELECTED" if $_ == $y;
-    $return .= ">$_";
-  }
-  $return .= "</SELECT>";
-
-  $return;
-}
-
-=item popselector HASHREF | LIST
-
-Takes as input a hashref or list of key/value pairs with the following keys:
-
-=over 4
-
-=item popnum
-
-=item pops - An arrayref of hash references specifying access numbers.  Normally you can just pass the value of the I<svc_acct_pop> field returned by B<signup_info>.
-
-=back
-
-Returns an HTML fragment for access number selection.
-
-=cut
-
-#horrible false laziness with FS/FS/svc_acct_pop.pm::popselector
-sub popselector {
-  my $param;
-  if ( ref($_[0]) ) {
-    $param = shift;
-  } else {
-    $param = { @_ };
-  }
-  my $popnum = $param->{'popnum'};
-  my $pops = $param->{'pops'};
-
-  return '<INPUT TYPE="hidden" NAME="popnum" VALUE="">' unless @$pops;
-  return $pops->[0]{city}. ', '. $pops->[0]{state}.
-         ' ('. $pops->[0]{ac}. ')/'. $pops->[0]{exch}. '-'. $pops->[0]{loc}.
-         '<INPUT TYPE="hidden" NAME="popnum" VALUE="'. $pops->[0]{popnum}. '">'
-    if scalar(@$pops) == 1;
-
-  my %pop = ();
-  my %popnum2pop = ();
-  foreach (@$pops) {
-    push @{ $pop{ $_->{state} }->{ $_->{ac} } }, $_;
-    $popnum2pop{$_->{popnum}} = $_;
-  }
-
-  my $text = <<END;
-    <SCRIPT>
-    function opt(what,href,text) {
-      var optionName = new Option(text, href, false, false)
-      var length = what.length;
-      what.options[length] = optionName;
-    }
-END
-
-  my $init_popstate = $param->{'init_popstate'};
-  if ( $init_popstate ) {
-    $text .= '<INPUT TYPE="hidden" NAME="init_popstate" VALUE="'.
-             $init_popstate. '">';
-  } else {
-    $text .= <<END;
-      function acstate_changed(what) {
-        state = what.options[what.selectedIndex].text;
-        what.form.popac.options.length = 0
-        what.form.popac.options[0] = new Option("Area code", "-1", false, true);
-END
-  } 
-
-  my @states = $init_popstate ? ( $init_popstate ) : keys %pop;
-  foreach my $state ( sort { $a cmp $b } @states ) {
-    $text .= "\nif ( state == \"$state\" ) {\n" unless $init_popstate;
-
-    foreach my $ac ( sort { $a cmp $b } keys %{ $pop{$state} }) {
-      $text .= "opt(what.form.popac, \"$ac\", \"$ac\");\n";
-      if ($ac eq $param->{'popac'}) {
-        $text .= "what.form.popac.options[what.form.popac.length-1].selected = true;\n";
-      }
-    }
-    $text .= "}\n" unless $init_popstate;
-  }
-  $text .= "popac_changed(what.form.popac)}\n";
-
-  $text .= <<END;
-  function popac_changed(what) {
-    ac = what.options[what.selectedIndex].text;
-    what.form.popnum.options.length = 0;
-    what.form.popnum.options[0] = new Option("City", "-1", false, true);
-
-END
-
-  foreach my $state ( @states ) {
-    foreach my $popac ( keys %{ $pop{$state} } ) {
-      $text .= "\nif ( ac == \"$popac\" ) {\n";
-
-      foreach my $pop ( @{$pop{$state}->{$popac}}) {
-        my $o_popnum = $pop->{popnum};
-        my $poptext =  $pop->{city}. ', '. $pop->{state}.
-                       ' ('. $pop->{ac}. ')/'. $pop->{exch}. '-'. $pop->{loc};
-
-        $text .= "opt(what.form.popnum, \"$o_popnum\", \"$poptext\");\n";
-        if ($popnum == $o_popnum) {
-          $text .= "what.form.popnum.options[what.form.popnum.length-1].selected = true;\n";
-        }
-      }
-      $text .= "}\n";
-    }
-  }
-
-
-  $text .= "}\n</SCRIPT>\n";
-
-  $text .=
-    qq!<TABLE CELLPADDING="0"><TR><TD><SELECT NAME="acstate"! .
-    qq!SIZE=1 onChange="acstate_changed(this)"><OPTION VALUE=-1>State!;
-  $text .= "<OPTION" . ($_ eq $param->{'acstate'} ? " SELECTED" : "") .
-           ">$_" foreach sort { $a cmp $b } @states;
-  $text .= '</SELECT>'; #callback? return 3 html pieces?  #'</TD>';
-
-  $text .=
-    qq!<SELECT NAME="popac" SIZE=1 onChange="popac_changed(this)">!.
-    qq!<OPTION>Area code</SELECT></TR><TR VALIGN="top">!;
-
-  $text .= qq!<TR><TD><SELECT NAME="popnum" SIZE=1 STYLE="width: 20em"><OPTION>City!;
-
-
-  #comment this block to disable initial list polulation
-  my @initial_select = ();
-  if ( scalar( @$pops ) > 100 ) {
-    push @initial_select, $popnum2pop{$popnum} if $popnum2pop{$popnum};
-  } else {
-    @initial_select = @$pops;
-  }
-  foreach my $pop ( sort { $a->{state} cmp $b->{state} } @initial_select ) {
-    $text .= qq!<OPTION VALUE="!. $pop->{popnum}. '"'.
-             ( ( $popnum && $pop->{popnum} == $popnum ) ? ' SELECTED' : '' ). ">".
-             $pop->{city}. ', '. $pop->{state}.
-               ' ('. $pop->{ac}. ')/'. $pop->{exch}. '-'. $pop->{loc};
-  }
-
-  $text .= qq!</SELECT></TD></TR></TABLE>!;
-
-  $text;
-
-}
-
-=back
-
-=head1 RESELLER FUNCTIONS
-
-Note: Resellers can also use the B<signup_info> and B<new_customer> functions
-with their active session, and the B<customer_info> and B<order_pkg> functions
-with their active session and an additional I<custnum> parameter.
-
-=over 4
-
-=item agent_login
-
-=item agent_info
-
-=item agent_list_customers
-
-=back
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<freeside-selfservice-clientd>, L<freeside-selfservice-server>
-
-=cut
-
-1;
-
diff --git a/fs_selfservice/FS-SelfService/cgi/agent.cgi b/fs_selfservice/FS-SelfService/cgi/agent.cgi
deleted file mode 100644 (file)
index 695d20e..0000000
+++ /dev/null
@@ -1,457 +0,0 @@
-#!/usr/bin/perl -Tw
-
-#some false laziness w/selfservice.cgi
-
-use strict;
-use vars qw($DEBUG $me $cgi $session_id $form_max $template_dir);
-use subs qw(do_template);
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use Business::CreditCard;
-use Text::Template;
-#use HTML::Entities;
-use FS::SelfService qw( agent_login agent_logout agent_info
-                        agent_list_customers
-                        signup_info new_customer
-                        customer_info list_pkgs order_pkg
-                        part_svc_info provision_acct provision_external
-                        unprovision_svc
-                      );
-
-$DEBUG = 0;
-$me = 'agent.cgi:';
-
-$template_dir = '.';
-
-$form_max = 255;
-
-warn "$me starting\n" if $DEBUG;
-
-warn "$me initializing CGI\n" if $DEBUG;
-$cgi = new CGI;
-
-unless ( defined $cgi->param('session') ) {
-  warn "$me no session defined, sending login page\n" if $DEBUG;
-  do_template('agent_login',{});
-  exit;
-}
-
-if ( $cgi->param('session') eq 'login' ) {
-
-  warn "$me processing login\n" if $DEBUG;
-
-  $cgi->param('username') =~ /^\s*([a-z0-9_\-\.\&]{0,$form_max})\s*$/i
-    or die "illegal username";
-  my $username = $1;
-
-  $cgi->param('password') =~ /^(.{0,$form_max})$/
-    or die "illegal password";
-  my $password = $1;
-
-  my $rv = agent_login(
-    'username' => $username,
-    'password' => $password,
-  );
-  if ( $rv->{error} ) {
-    do_template('agent_login', {
-      'error'    => $rv->{error},
-      'username' => $username,
-    } );
-    exit;
-  } else {
-    $cgi->param('session' => $rv->{session_id} );
-    $cgi->param('action'  => 'agent_main' );
-  }
-}
-
-$session_id = $cgi->param('session');
-
-warn "$me checking action\n" if $DEBUG;
-$cgi->param('action') =~
-   /^(agent_main|signup|process_signup|list_customers|view_customer|agent_provision|provision_svc|process_svc_acct|process_svc_external|delete_svc|agent_order_pkg|process_order_pkg|logout)$/
-  or die "unknown action ". $cgi->param('action');
-my $action = $1;
-
-warn "$me running $action\n" if $DEBUG;
-my $result = eval "&$action();";
-die $@ if $@;
-
-if ( $result->{error} eq "Can't resume session" ) { #ick
-  do_template('agent_login',{});
-  exit;
-}
-
-warn "$me processing template $action\n" if $DEBUG;
-do_template($action, {
-  'session_id' => $session_id,
-  %{$result}
-});
-warn "$me done processing template $action\n" if $DEBUG;
-
-#-- 
-
-sub logout {
-  $action = 'agent_logout';
-  agent_logout( 'session_id' => $session_id );
-}
-
-sub agent_main { agent_info( 'session_id' => $session_id ); }
-
-sub signup { signup_info( 'session_id' => $session_id ); }
-
-sub process_signup {
-
-  my $init_data = signup_info( 'session_id' => $session_id );
-  if ( $init_data->{'error'} ) {
-    if ( $init_data->{'error'} eq "Can't resume session" ) { #ick
-      do_template('agent_login',{});
-      exit;
-    } else { #?
-      die $init_data->{'error'};
-    }
-  }
-
-  my $error = '';
-
-  #false laziness w/signup.cgi, identical except for agentnum vs session_id
-  my $payby = $cgi->param('payby');
-  if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) {
-    #$payinfo = join('@', map { $cgi->param( $payby. "_payinfo$_" ) } (1,2) );
-    $cgi->param('payinfo' => $cgi->param($payby. '_payinfo1'). '@'. 
-                             $cgi->param($payby. '_payinfo2')
-               );
-  } else {
-    $cgi->param('payinfo' => $cgi->param( $payby. '_payinfo' ) );
-  }
-  $cgi->param('paydate' => $cgi->param( $payby. '_month' ). '-'.
-                           $cgi->param( $payby. '_year' )
-             );
-  $cgi->param('payname' => $cgi->param( $payby. '_payname' ) );
-  $cgi->param('paycvv' => defined $cgi->param( $payby. '_paycvv' )
-                            ? $cgi->param( $payby. '_paycvv' )
-                            : ''
-             );
-
-  if ( $cgi->param('invoicing_list') ) {
-    $cgi->param('invoicing_list' => $cgi->param('invoicing_list'). ', POST')
-      if $cgi->param('invoicing_list_POST');
-  } else {
-    $cgi->param('invoicing_list' => 'POST' );
-  }
-
-  if ( $cgi->param('_password') ne $cgi->param('_password2') ) {
-    $error = $init_data->{msgcat}{passwords_dont_match}; #msgcat
-    $cgi->param('_password', '');
-    $cgi->param('_password2', '');
-  }
-
-  if ( $payby =~ /^(CARD|DCRD)$/ && $cgi->param('CARD_type') ) {
-    my $payinfo = $cgi->param('payinfo');
-    $payinfo =~ s/\D//g;
-
-    $payinfo =~ /^(\d{13,16})$/
-      or $error ||= $init_data->{msgcat}{invalid_card}; #. $self->payinfo;
-    $payinfo = $1;
-    validate($payinfo)
-      or $error ||= $init_data->{msgcat}{invalid_card}; #. $self->payinfo;
-    cardtype($payinfo) eq $cgi->param('CARD_type')
-      or $error ||= $init_data->{msgcat}{not_a}. $cgi->param('CARD_type');
-  }
-
-  unless ( $error ) {
-    my $rv = new_customer ( {
-      'session_id'       => $session_id,
-      map { $_ => scalar($cgi->param($_)) }
-        qw( last first ss company
-            address1 address2 city county state zip country
-            daytime night fax
-
-            ship_last ship_first ship_company
-            ship_address1 ship_address2 ship_city ship_county ship_state
-              ship_zip ship_country
-            ship_daytime ship_night ship_fax
-
-            payby payinfo paycvv paydate payname invoicing_list
-            referral_custnum promo_code reg_code
-            pkgpart username sec_phrase _password popnum refnum
-          ),
-        grep { /^snarf_/ } $cgi->param
-    } );
-    $error = $rv->{'error'};
-  }
-  #eslaf
-
-  if ( $error ) { 
-    $action = 'signup';
-    my $r = { 
-      $cgi->Vars,
-      %{$init_data},
-      'error' => $error,
-    };
-    #warn join('\n', map "$_ => $r->{$_}", keys %$r )."\n";
-    $r;
-  } else {
-    $action = 'agent_main';
-    my $agent_info = agent_info( 'session_id' => $session_id );
-    $agent_info->{'message'} = 'Signup sucessful';
-    $agent_info;
-  }
-
-}
-
-sub list_customers {
-
-  my $results = 
-    agent_list_customers( 'session_id' => $session_id,
-                          map { $_ => $cgi->param($_) }
-                            grep defined($cgi->param($_)),
-                                 qw(prospect active susp cancel),
-                                 'search',
-                        );
-
-  if ( scalar( @{$results->{'customers'}} ) == 1 ) {
-    $action = 'view_customer';
-    customer_info (
-      'agent_session_id' => $session_id,
-      'custnum'          => $results->{'customers'}[0]{'custnum'},
-    );
-  } else {
-    $results;
-  }
-
-}
-
-sub view_customer {
-
-  #my $init_data = signup_info( 'session_id' => $session_id );
-  #if ( $init_data->{'error'} ) {
-  #  if ( $init_data->{'error'} eq "Can't resume session" ) { #ick
-  #    do_template('agent_login',{});
-  #    exit;
-  #  } else { #?
-  #    die $init_data->{'error'};
-  #  }
-  #}
-  #
-  #my $customer_info =
-  customer_info (
-    'agent_session_id' => $session_id,
-    'custnum'          => $cgi->param('custnum'),
-  );
-  #
-  #return {
-  #  ( map { $_ => $init_data->{$_} }
-  #        qw( part_pkg security_phrase svc_acct_pop ),
-  #  ),
-  #  %$customer_info,
-  #};
-}
-
-sub agent_order_pkg {
-
-  my $init_data = signup_info( 'session_id' => $session_id );
-  if ( $init_data->{'error'} ) {
-    if ( $init_data->{'error'} eq "Can't resume session" ) { #ick
-      do_template('agent_login',{});
-      exit;
-    } else { #?
-      die $init_data->{'error'};
-    }
-  }
-
-  my $customer_info = customer_info (
-    'agent_session_id' => $session_id,
-    'custnum'          => $cgi->param('custnum'),
-  );
-
-  return {
-    ( map { $_ => $init_data->{$_} }
-          qw( part_pkg security_phrase svc_acct_pop ),
-    ),
-    %$customer_info,
-  };
-
-}
-
-sub agent_provision {
-  my $result = list_pkgs(
-    'agent_session_id' => $session_id,
-    'custnum'          => $cgi->param('custnum'),
-  );
-  die $result->{'error'} if exists $result->{'error'} && $result->{'error'};
-  $result;
-}
-
-sub provision_svc {
-
-  my $result = part_svc_info(
-    'agent_session_id' => $session_id,
-    map { $_ => $cgi->param($_) } qw( pkgnum svcpart custnum ),
-  );
-  die $result->{'error'} if exists $result->{'error'} && $result->{'error'};
-
-  $result->{'svcdb'} =~ /^svc_(.*)$/
-    #or return { 'error' => 'Unknown svcdb '. $result->{'svcdb'} };
-    or die 'Unknown svcdb '. $result->{'svcdb'};
-  $action .= "_$1";
-  $action = "agent_$action";
-
-  $result;
-}
-
-sub process_svc_acct {
-
-  my $result = provision_acct (
-    'agent_session_id' => $session_id,
-    map { $_ => $cgi->param($_) } qw(
-      custnum pkgnum svcpart username _password _password2 sec_phrase popnum )
-  );
-
-  if ( exists $result->{'error'} && $result->{'error'} ) { 
-    #warn "$result $result->{'error'}"; 
-    $action = 'provision_svc_acct';
-    $action = "agent_$action";
-    return {
-      $cgi->Vars,
-      %{ part_svc_info( 'agent_session_id' => $session_id,
-                        map { $_ => $cgi->param($_) } qw(pkgnum svcpart custnum)
-                      )
-      },
-      'error' => $result->{'error'},
-    };
-  } else {
-    #warn "$result $result->{'error'}"; 
-    $action = 'agent_provision';
-    return {
-      %{agent_provision()},
-      'message' => $result->{'svc'}. ' setup sucessfully.',
-    };
-  }
-
-}
-
-sub process_svc_external {
-
-  my $result = provision_external (
-    'agent_session_id' => $session_id,
-    map { $_ => $cgi->param($_) } qw( custnum pkgnum svcpart )
-  );
-
-  #warn "$result $result->{'error'}"; 
-  $action = 'agent_provision';
-  return {
-    %{agent_provision()},
-    'message' => $result->{'error'}
-                   ? '<FONT COLOR="#FF0000">'. $result->{'error'}. '</FONT>'
-                   : $result->{'svc'}. ' setup sucessfully'.
-                     ': serial number '.
-                     sprintf('%010d', $result->{'id'}). '-'. $result->{'title'}
-  };
-
-}
-
-sub delete_svc {
-  my $result = unprovision_svc(
-    'agent_session_id' => $session_id,
-    'custnum'          => $cgi->param('custnum'),
-    'svcnum'           => $cgi->param('svcnum'),
-  );
-
-  $action = 'agent_provision';
-
-  return {
-    %{agent_provision()},
-    'message' => $result->{'error'}
-                   ? '<FONT COLOR="#FF0000">'. $result->{'error'}. '</FONT>'
-                   : $result->{'svc'}. ' removed.'
-  };
-
-}
-
-sub process_order_pkg {
-
-  my $results = '';
-
-  unless ( length($cgi->param('_password')) ) {
-    my $init_data = signup_info( 'session_id' => $session_id );
-    #die $init_data->{'error'} if $init_data->{'error'};
-    $results = { 'error' => $init_data->{msgcat}{empty_password} };
-  }
-  if ( $cgi->param('_password') ne $cgi->param('_password2') ) {
-    my $init_data = signup_info( 'session_id' => $session_id );
-    $results = { 'error' => $init_data->{msgcat}{passwords_dont_match} };
-    $cgi->param('_password', '');
-    $cgi->param('_password2', '');
-  }
-
-  $results ||= order_pkg (
-    'agent_session_id' => $session_id,
-    map { $_ => $cgi->param($_) }
-        qw( custnum pkgpart username _password _password2 sec_phrase popnum )
-  );
-
-  if ( $results->{'error'} ) {
-    $action = 'agent_order_pkg';
-    return {
-      $cgi->Vars,
-      %{agent_order_pkg()},
-      #'message' => '<FONT COLOR="#FF0000">'. $results->{'error'}. '</FONT>',
-      'error' => '<FONT COLOR="#FF0000">'. $results->{'error'}. '</FONT>',
-    };
-  } else {
-    $action = 'view_customer';
-    #$cgi->delete( grep { $_ ne 'custnum' } $cgi->param );
-    return {
-      %{view_customer()},
-      'message' => 'Package order sucessful.',
-    };
-  }
-
-}
-
-#--
-
-sub do_template {
-  my $name = shift;
-  my $fill_in = shift;
-  #warn join(' / ', map { "$_=>".$fill_in->{$_} } keys %$fill_in). "\n";
-
-  $cgi->delete_all();
-  $fill_in->{'selfurl'} = $cgi->self_url; #OLD
-  $fill_in->{'self_url'} = $cgi->self_url;
-  $fill_in->{'cgi'} = \$cgi;
-
-  my $template = new Text::Template( TYPE    => 'FILE',
-                                     SOURCE  => "$template_dir/$name.html",
-                                     DELIMITERS => [ '<%=', '%>' ],
-                                     UNTAINT => 1,                    )
-    or die $Text::Template::ERROR;
-
-  local $^W = 0;
-  print $cgi->header( '-expires' => 'now' ),
-        $template->fill_in( PACKAGE => 'FS::SelfService::_agentcgi',
-                            HASH    => $fill_in
-                          );
-}
-
-package FS::SelfService::_agentcgi;
-
-use HTML::Entities;
-use FS::SelfService qw(regionselector expselect popselector);
-
-#false laziness w/selfservice.cgi
-sub include {
-  my $name = shift;
-  my $template = new Text::Template( TYPE   => 'FILE',
-                                     SOURCE => "$main::template_dir/$name.html",
-                                     DELIMITERS => [ '<%=', '%>' ],
-                                     UNTAINT => 1,                   
-                                   )
-    or die $Text::Template::ERROR;
-
-  $template->fill_in( PACKAGE => 'FS::SelfService::_agentcgi',
-                      #HASH    => $fill_in
-                    );
-
-}
-
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_customer_menu.html b/fs_selfservice/FS-SelfService/cgi/agent_customer_menu.html
deleted file mode 100644 (file)
index 603fc0b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<%= $url = "$selfurl?session=$session_id;custnum=$custnum;action="; ''; %>
-<TD VALIGN="top" HEIGHT=384 BGCOLOR="#dddddd">
-<A HREF="<%= $url %>agent_provision">Setup services</A><BR><BR>
-<A HREF="<%= $url %>agent_order_pkg">Purchase additional package</A><BR><BR>
-
-</TD>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_delete_svc.html b/fs_selfservice/FS-SelfService/cgi/agent_delete_svc.html
deleted file mode 100644 (file)
index 7a2b750..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<%= $small_custview %>
-<BR>
-<%= if ( $error ) {
-
-  $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">Error: $error</FONT>!;
-} else {
-  $OUT .= "<FONT SIZE=4>$svc removed.</FONT>";
-} %>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_login.html b/fs_selfservice/FS-SelfService/cgi/agent_login.html
deleted file mode 100644 (file)
index 4b0778e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<HTML><HEAD><TITLE>Reseller Login</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=5>Reseller Login</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM ACTION="<%= $self_url %>" METHOD=POST>
-<INPUT TYPE="hidden" NAME="session" VALUE="login">
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
-<TR>
-  <TH ALIGN="right">Username </TH>
-  <TD>
-    <INPUT TYPE="text" NAME="username" VALUE="<%= $username %>">
-  </TD>
-</TR>
-<TR>
-  <TH ALIGN="right">Password </TH>
-  <TD>
-    <INPUT TYPE="password" NAME="password">
-  </TD>
-</TR>
-</TABLE>
-<BR><BR><INPUT TYPE="submit" VALUE="Login">
-</FORM></BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_logout.html b/fs_selfservice/FS-SelfService/cgi/agent_logout.html
deleted file mode 100644 (file)
index 9809467..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
-You have been logged out.
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_main.html b/fs_selfservice/FS-SelfService/cgi/agent_main.html
deleted file mode 100644 (file)
index 9dd3383..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_menu') %>
-<TD VALIGN="top">
-
-<%= $message
-      ? "<FONT SIZE=\"+2\"><B>$message</B></FONT>"
-      : "Hello $agent!"
-%><BR><BR>
-
-<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">
-<TR><TH BGCOLOR="#cccccc">Customer summary</TH></TR>
-<TR><TD BGCOLOR="#dddddd">
-
-  <B><%= $num_prospect %></B>
-  <%= $num_prospect ? qq!<A HREF="${url}list_customers;prospect=1">! : '' %>prospects</A>
-
-  <BR><FONT COLOR="#00CC00"><B><%= $num_active %></B></FONT>
-  <%= $num_active ? qq!<A HREF="${url}list_customers;active=1">! : '' %>active</A>
-
-  <BR><FONT COLOR="#FF9900"><B><%= $num_susp %></B></FONT>
-  <%= $num_susp ? qq!<A HREF="${url}list_customers;susp=1">! : '' %>suspended</A>
-
-  <BR><FONT COLOR="#FF0000"><B><%= $num_cancel %></B></FONT>
-  <%= $num_cancel ? qq!<A HREF="${url}list_customers;cancel=1">! : '' %>cancelled</A>
-
-</TD></TR></TABLE>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
-
-
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_menu.html b/fs_selfservice/FS-SelfService/cgi/agent_menu.html
deleted file mode 100644 (file)
index 84a2953..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<TD VALIGN="top" HEIGHT=384 BGCOLOR="#dddddd">
-
-<A HREF="<%= $url %>agent_main">Overview</A><BR><BR>
-<A HREF="<%= $url %>signup">New customer<!--/prospect--></A><BR><BR>
-<FORM ACTION="<%= $selfurl %>">
-<INPUT TYPE="hidden" NAME="session" VALUE="<%= $session_id %>">
-<INPUT TYPE="hidden" NAME="action" VALUE="list_customers">
-<INPUT TYPE="text" NAME="search" SIZE=20><BR>
-<SMALL><I>cust&nbsp;#,&nbsp;last&nbsp;name,&nbsp;or&nbsp;company</I></SMALL><BR>
-<INPUT TYPE="submit" VALUE="Search customers"><BR>
-</FORM>
-<A HREF="<%= $url %>logout">Logout</A><BR><BR>
-
-</TD>
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_order_pkg.html b/fs_selfservice/FS-SelfService/cgi/agent_order_pkg.html
deleted file mode 100644 (file)
index 0a665c9..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;custnum=$custnum;action="; ''; %>
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_menu') %>
-<TD VALIGN="top">
-<%= $small_custview %>
-<BR>
-
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_customer_menu') %>
-<TD VALIGN="top">
-<%= include('order_pkg') %>
-</TD></TR></TABLE>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_provision.html b/fs_selfservice/FS-SelfService/cgi/agent_provision.html
deleted file mode 100644 (file)
index 8770e2f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;custnum=$custnum;action="; ''; %>
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_menu') %>
-<TD VALIGN="top">
-
-<%= $message
-      ? "<FONT SIZE=\"+2\"><B>$message</B></FONT><BR><BR>"
-      : ''
-%>
-
-<%= $small_custview %>
-<BR>
-
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_customer_menu') %>
-<TD VALIGN="top">
-<%= include('provision_list') %>
-</TD></TR></TABLE>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/agent_provision_svc_acct.html b/fs_selfservice/FS-SelfService/cgi/agent_provision_svc_acct.html
deleted file mode 100644 (file)
index 8d299cd..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;custnum=$custnum;action="; ''; %>
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_menu') %>
-<TD VALIGN="top">
-<%= $small_custview %>
-<BR>
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_customer_menu') %>
-<TD VALIGN="top">
-<%= include('svc_acct') %>
-</TD></TR></TABLE>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/cvv2.html b/fs_selfservice/FS-SelfService/cgi/cvv2.html
deleted file mode 100644 (file)
index b178c85..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>
-      CVV2 information
-    </TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-  The CVV2 number (also called CVC2 or CID) is a three- or four-digit
-  security code used to reduce credit card fraud.<BR><BR>
-  <TABLE BORDER=0 CELLSPACING=4>
-    <TR>
-      <TH>Visa / MasterCard / Discover</TH>
-      <TH>American Express</TH>
-    </TR>
-    <TR>
-      <TD>
-        <IMG BORDER=0 ALT="Visa/MasterCard/Discover" SRC="cvv2.png">
-      </TD>
-      <TD>
-        <IMG BORDER=0 ALT="American Express" SRC="cvv2_amex.png">
-      </TD>
-  </TABLE>
-    <CENTER><A HREF="javascript:close()">(close window)</A></CENTER>
-  </BODY>
-</HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/cvv2.png b/fs_selfservice/FS-SelfService/cgi/cvv2.png
deleted file mode 100644 (file)
index 4610dcb..0000000
Binary files a/fs_selfservice/FS-SelfService/cgi/cvv2.png and /dev/null differ
diff --git a/fs_selfservice/FS-SelfService/cgi/cvv2_amex.png b/fs_selfservice/FS-SelfService/cgi/cvv2_amex.png
deleted file mode 100644 (file)
index 21c36a0..0000000
Binary files a/fs_selfservice/FS-SelfService/cgi/cvv2_amex.png and /dev/null differ
diff --git a/fs_selfservice/FS-SelfService/cgi/decline.html b/fs_selfservice/FS-SelfService/cgi/decline.html
deleted file mode 100644 (file)
index a37ba3a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<HTML><HEAD><TITLE>Processing error</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>Processing error</FONT><BR><BR>
-There has been an error processing your account.  Please contact customer
-support.
-</BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/delete_svc.html b/fs_selfservice/FS-SelfService/cgi/delete_svc.html
deleted file mode 100644 (file)
index 8468deb..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-
-<%= if ( $error ) {
-  $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">Error: $error</FONT>!;
-} else {
-  $OUT .= "<FONT SIZE=4>$svc removed.</FONT>";
-} %>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/list_customers.html b/fs_selfservice/FS-SelfService/cgi/list_customers.html
deleted file mode 100644 (file)
index 858e5e9..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_menu') %>
-<TD VALIGN="top">
-
-<%=
-  if ( @customers ) {
-    $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
-            '<TR><TH BGCOLOR="#cccccc" COLSPAN=3>Customers</TH><TD>';
-    my $col1 = "ffffff";
-    my $col2 = "dddddd";
-    my $col = $col1;
-
-    foreach my $customer ( @customers ) {
-      my $td = qq!<TD BGCOLOR="#$col">!;
-      my $a = qq!<A HREF="${url}view_customer;custnum=!. 
-              $customer->{'custnum'}. '">';
-      $OUT .=
-        '<TR>'.
-        "$td<FONT COLOR=\"". $customer->{'statuscolor'}. '">'.
-          ucfirst($customer->{'status'}). "</TD>". "$td</TD>".
-        "$td$a". $customer->{'name'}. "</A></TD>".
-        '</TR>';
-        #"$td</TD>".
-      $col = $col eq $col1 ? $col2 : $col1;
-    }
-    $OUT .= '</TABLE>';
-  } else {
-    $OUT .= 'No customers.<BR><BR>';
-  }
-%>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/login.html b/fs_selfservice/FS-SelfService/cgi/login.html
deleted file mode 100644 (file)
index 5607de7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<HTML><HEAD><TITLE>Login</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=5>Login</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM ACTION="<%= $self_url %>" METHOD=POST>
-<INPUT TYPE="hidden" NAME="session" VALUE="login">
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
-<TR>
-  <TH ALIGN="right">Username </TH>
-  <TD>
-    <INPUT TYPE="text" NAME="username" VALUE="<%= $username %>">
-  </TD>
-</TR>
-<TR>
-  <TH ALIGN="right">Domain </TH>
-  <TD>
-    <INPUT TYPE="text" NAME="domain" VALUE="<%= $domain %>">
-  </TD>
-</TR>
-<!--<INPUT TYPE="hidden" NAME="domain" VALUE="myisp.com">-->
-<TR>
-  <TH ALIGN="right">Password </TH>
-  <TD>
-    <INPUT TYPE="password" NAME="password">
-  </TD>
-</TR>
-</TABLE>
-<BR><BR><INPUT TYPE="submit" VALUE="Login">
-</FORM></BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/logout.html b/fs_selfservice/FS-SelfService/cgi/logout.html
deleted file mode 100644 (file)
index 0e774e9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-You have been logged out.
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/make_payment.html b/fs_selfservice/FS-SelfService/cgi/make_payment.html
deleted file mode 100644 (file)
index 1bbbe90..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<FONT SIZE=4>Make a payment</FONT><BR><BR>
-<FORM NAME="OneTrueForm" METHOD="POST" ACTION="<%=$selfurl%>" onSubmit="document.OneTrueForm.process.disabled=true">
-<INPUT TYPE="hidden" NAME="session" VALUE="<%=$session_id%>">
-<INPUT TYPE="hidden" NAME="action" VALUE="payment_results">
-<TABLE BGCOLOR="#cccccc">
-<TR>
-  <TD ALIGN="right">Amount&nbsp;Due</TD>
-  <TD>
-    <TABLE><TR><TD BGCOLOR="#ffffff">
-      $<%=sprintf("%.2f",$balance)%>
-    </TD></TR></TABLE>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Payment&nbsp;amount</TD>
-  <TD>
-    <TABLE><TR><TD BGCOLOR="#ffffff">
-      $<INPUT TYPE="text" NAME="amount" SIZE=8 VALUE="<%=sprintf("%.2f",$balance)%>">
-    </TD></TR></TABLE>
-  </TD>
-</TR><TR>
-  <TD ALIGN="right">Card&nbsp;type</TD>
-  <TD>
-    <SELECT NAME="card_type"><OPTION></OPTION>
-      <%= foreach ( keys %card_types ) {
-            $selected = $card_type eq $card_types{$_} ? ' SELECTED' : '';
-            $OUT .= qq(<OPTION$selected VALUE="). $card_types{$_}. qq(">$_\n);
-      } %>
-    </SELECT>
-  </TD>
-</TD><TR>
-  <TD ALIGN="right">Card&nbsp;number</TD>
-  <TD>
-    <TABLE>
-      <TR>
-        <TD>
-          <INPUT TYPE="text" NAME="payinfo" SIZE=20 MAXLENGTH=19 VALUE="<%=$payinfo%>"> </TD>
-        <TD>Exp.</TD>
-        <TD>
-          <SELECT NAME="month">
-            <%= for ( ( map "0$_", 1 .. 9 ), 10 .. 12 ) {
-                  $OUT .= '<OPTION'. ($_ == $month ? ' SELECTED' : ''). ">$_\n";
-            } %>
-          </SELECT>
-        </TD>
-        <TD> / </TD>
-        <TD>
-          <SELECT NAME="year">
-            <%= my @a = localtime; for ( $a[5]+1900 .. $a[5]+1915 ) {
-                  $OUT .= '<OPTION'. ($_ == $year ? ' SELECTED' : ''). ">$_\n";
-            } %>
-          </SELECT>
-        </TD>
-      </TR>
-    </TABLE>
-  </TD>
-</TR><TR>
-  <TD ALIGN="right">Exact&nbsp;name&nbsp;on&nbsp;card</TD>
-  <TD><INPUT TYPE="text" SIZE=32 MAXLENGTH=80 NAME="payname" VALUE="<%=$payname%>"></TD>
-</TR><TR>
-  <TD ALIGN="right">Card&nbsp;billing&nbsp;address</TD>
-  <TD>
-    <INPUT TYPE="text" SIZE=40 MAXLENGTH=80 NAME="address1" VALUE="<%=$address1%>">
-  </TD>
-</TR><TR>
-  <TD ALIGN="right">Address&nbsp;line&nbsp;2</TD>
-  <TD>
-    <INPUT TYPE="text" SIZE=40 MAXLENGTH=80 NAME="address2" VALUE="<%=$address2%>">
-  </TD>
-</TR><TR>
-  <TD ALIGN="right">City</TD>
-  <TD>
-    <TABLE>
-      <TR>
-        <TD>
-          <INPUT TYPE="text" NAME="city" SIZE="12" MAXLENGTH=80 VALUE="<%=$city%>">
-        </TD>
-        <TD>State</TD>
-        <TD>
-          <SELECT NAME="state">
-            <%= for ( @states ) {
-              $OUT .= '<OPTION'. ($_ eq $state ? ' SELECTED' : '' ). ">$_\n";
-            } %>
-          </SELECT>
-        </TD>
-        <TD>Zip</TD>
-        <TD>
-          <INPUT TYPE="text" NAME="zip" SIZE=11 MAXLENGTH=10 VALUE="<%=$zip%>">
-        </TD>
-      </TR>
-    </TABLE>
-  </TD>
-</TR><TR>
-  <TD COLSPAN=2>
-    <INPUT TYPE="checkbox" CHECKED NAME="save" VALUE="1">
-    Remember this information
-  </TD>
-</TR><TR>
-  <TD COLSPAN=2>
-    <INPUT TYPE="checkbox"<%= $payby eq 'CARD' ? ' CHECKED' : '' %> NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }">
-    Charge future payments to this card automatically
-  </TD>
-</TR>
-</TABLE>
-<BR>
-<INPUT TYPE="hidden" NAME="paybatch" VALUE="<%=$paybatch%>">
-<INPUT TYPE="submit" NAME="process" VALUE="Process payment"> <!-- onClick="this.disabled=true"> -->
-</FORM>
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/map.gif b/fs_selfservice/FS-SelfService/cgi/map.gif
deleted file mode 100644 (file)
index ef884d8..0000000
Binary files a/fs_selfservice/FS-SelfService/cgi/map.gif and /dev/null differ
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html
deleted file mode 100644 (file)
index 546ca11..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-
-Hello <%= $name %>!<BR><BR>
-<%= $small_custview %>
-<BR>
-<%= if ( $balance > 0 ) {
-  $OUT .= qq! <B><A HREF="${url}make_payment">Make a payment</A></B><BR><BR>!;
-} %>
-<%=
-  if ( @open_invoices ) {
-    $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
-            '<TR><TH BGCOLOR="#ff6666" COLSPAN=5>Open Invoices</TH></TR>';
-    my $link = qq!<A HREF="<%= $url %>myaccount!;
-    my $col1 = "ffffff";
-    my $col2 = "dddddd";
-    my $col = $col1;
-
-    foreach my $invoice ( @open_invoices ) {
-      my $td = qq!<TD BGCOLOR="#$col">!;
-      my $a=qq!<A HREF="${url}view_invoice;invnum=!. $invoice->{'invnum'}. '">';
-      $OUT .=
-        "<TR>$td${a}Invoice #". $invoice->{'invnum'}. "</A></TD>$td</TD>".
-        "$td$a". $invoice->{'date'}. "</A></TD>$td</TD>".
-        qq!<TD BGCOLOR="#$col" ALIGN="right">$a\$!. $invoice->{'owed'}.
-          '</A></TD>'.
-        '</TR>';
-      $col = $col eq $col1 ? $col2 : $col1;
-    }
-    $OUT .= '</TABLE>';
-  } else {
-    $OUT .= 'You have no outstanding invoices.<BR><BR>';
-  }
-%>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
-
-
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html b/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html
deleted file mode 100644 (file)
index f2e5e99..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<TABLE BORDER=0><TR>
-<TD VALIGN="top" HEIGHT=384 BGCOLOR="#dddddd">
-
-<TABLE CELLSPACING=0 BORDER=0>
-
-<%= 
-
-my @menu = (
-{ title=>' ' },
-{ title=>'Overview', url=>'myaccount', size=>'+1', },
-{ title=>' ' },
-
-{ title=>'Purchase', size=>'+1', },
-  { title=>'Purchase additional package*', url=>'order', 'indent'=>2 },
-);
-
-if ( 1 ) { #XXXFIXME "enable selfservice prepay features" flag or something, eventually per-pkg or something really fancy
-
-  push @menu, (
-    { title=>'Recharge my account with a credit card',
-      url=>'make_payment', indent=>2 },
-    { title=>'Recharge my account with a prepaid card',
-      url=>'recharge_prepay', indent=>2 },
-  );
-
-}
-
-push @menu, (
-
-{ title=>' ' },
-
-{ title=>'Setup my services', url=>'provision', size=>'+1', },
-
-{ title=>' ' },
-
-{ title=>'Change my information', size=>'+1', },
-  { title=>'Change payment information*', url=>'change_bill', indent=>2 },
-  { title=>'Change service address*',     url=>'change_ship', indent=>2 },
-  { title=>'Change password(s)*',         url=>'hmmmFIXME',   indent=>2 },
-
-{ title=>' ' },
-
-{ title=>'Logout',   url=>'logout', size=>'+1', },
-
-);
-
-foreach my $item ( @menu ) {
-
-  $OUT .= '<TR><TD'; 
-  if ( exists $item->{'url'} && $action eq $item->{'url'} ) {
-    $OUT .= ' BGCOLOR="#eeeeee" '.
-            ' STYLE="border-top: 1px solid black;'.
-                   ' border-left: 1px solid black;'.
-                   ' border-bottom: 1px solid black"';
-  } else {
-    $OUT .= ' STYLE="border-right: 1px solid black"';
-  }
-  $OUT.='>';
-
-  $OUT .= '<FONT SIZE="'. $item->{'size'}. '">'
-    if exists $item->{'size'};
-
-  $OUT .= '&nbsp;' x $item->{'indent'}
-    if exists $item->{'indent'};
-
-  $OUT .= '<A HREF="'. $url. $item->{'url'}. '">'
-    if exists $item->{'url'} && $action ne $item->{'url'};
-
-  $item->{'title'} =~ s/ /&nbsp;/g;
-  $OUT .= $item->{'title'};
-
-  $OUT .= '</FONT>'
-    if exists $item->{'size'};
-
-  $OUT .= '</A>'
-    if exists $item->{'url'} && $action ne $item->{'url'};
-
-  $OUT .= '</TD></TR>';
-
-}
-
-%>
-
-</TABLE>
-
-<A HREF="passwd.html">(tempFIXME) Change&nbsp;password(s)</A><BR><BR>
-*&nbsp;coming&nbsp;soon
-</TD>
diff --git a/fs_selfservice/FS-SelfService/cgi/order_pkg.html b/fs_selfservice/FS-SelfService/cgi/order_pkg.html
deleted file mode 100644 (file)
index 9cdd4cd..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<SCRIPT TYPE="text/javascript">
-function enable_order_pkg () {
-  if ( document.OrderPkgForm.pkgpart.selectedIndex > 0 ) {
-    document.OrderPkgForm.submit.disabled = false;
-  } else {
-    document.OrderPkgForm.submit.disabled = true;
-  }
-}
-</SCRIPT>
-<FONT SIZE=4>Purchase additional package</FONT><BR><BR>
-<%= if ( $error ) {
-  $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">$error</FONT><BR><BR>!;
-} ''; %>
-<FORM NAME="OrderPkgForm" ACTION="<%= $selfurl %>" METHOD=POST>
-<INPUT TYPE="hidden" NAME="session" VALUE="<%= $session_id %>">
-<INPUT TYPE="hidden" NAME="action" VALUE="process_order_pkg">
-<INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $custnum %>">
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
-<TR>
-  <TD COLSPAN=2><SELECT NAME="pkgpart" onChange="enable_order_pkg()">
-  <OPTION VALUE="">
-
-  <%=
-    foreach my $part_pkg ( @part_pkg ) {
-      $OUT .= '<OPTION VALUE="'. $part_pkg->{'pkgpart'}. '"';
-      $OUT .= ' SELECTED' if $pkgpart && $part_pkg->{'pkgpart'} == $pkgpart;
-      $OUT .= '>'. $part_pkg->{'pkg'};
-    }
-  %>
-
-  </SELECT></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $_password %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Re-enter Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $_password2 %>"></TD>
-</TR>
-<%=
-  if ( $security_phrase ) {
-    $OUT .= <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-  }
-%>
-<%=
-  if ( @svc_acct_pop ) {
-    $OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
-            popselector( 'popnum'        => $popnum,
-                         'pops'          => \@svc_acct_pop,
-                         'init_popstate' => $init_popstate,
-                         'popac'         => $popac,
-                         'acstate'       => $acstate,
-                       ).
-            '</TD></TR>';
-  } else {
-    $OUT .= popselector(popnum=>$popnum, pops=>\@svc_acct_pop);
-  }
-%>
-</TABLE>
-<INPUT NAME="submit" TYPE="submit" VALUE="Purchase" disabled>
-</FORM>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/passwd.cgi b/fs_selfservice/FS-SelfService/cgi/passwd.cgi
deleted file mode 100755 (executable)
index d77876e..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use Getopt::Std;
-use FS::SelfService qw(passwd);
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-
-my $freeside_uid = scalar(getpwnam('freeside'));
-
-$ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-die "passwd.cgi isn't running as freeside user\n" if $> != $freeside_uid;
-
-my $cgi = new CGI;
-
-$cgi->param('username') =~ /^([^\n]{0,255}$)/ or die "Illegal username";
-my $me = $1;
-
-$cgi->param('domain') =~ /^([^\n]{0,255}$)/ or die "Illegal domain";
-my $domain = $1;
-
-$cgi->param('old_password') =~ /^([^\n]{0,255}$)/ or die "Illegal old_password";
-my $old_password = $1;
-
-$cgi->param('new_password') =~ /^([^\n]{0,255}$)/ or die "Illegal new_password";
-my $new_password = $1;
-
-die "New passwords don't match"
-  unless $new_password eq $cgi->param('new_password2');
-
-my $rv = passwd(
-  'username'     => $me,
-  'domain'       => $domain,
-  'old_password' => $old_password,
-  'new_password' => $new_password,
-);
-
-my $error = $rv->{error};
-
-if ($error) {
-  die $error;
-} else {
-  print $cgi->header(), <<END;
-<html>
-  <head>
-    <title>Password changed</title>
-  </head>
-  <body bgcolor="#e8e8e8">
-    <h3>Password changed</h3>
-<br>Your password has been changed.
-  </body>
-</html>
-END
-}
diff --git a/fs_selfservice/FS-SelfService/cgi/passwd.html b/fs_selfservice/FS-SelfService/cgi/passwd.html
deleted file mode 100644 (file)
index 459c96a..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-  <head>
-    <title>Change password</title>
-  </head>
-  <body bgcolor="#e8e8e8">
-    <h3>Change password</h3>
-    <form action="passwd.cgi" method="post">
-    <table bgcolor="#cccccc" border=0 cellspacing=2>
-      <tr><th align="right">Username</th>
-        <td><input type="text" name="username" size="18"></td>
-      </tr>
-      <tr><th align="right">Domain</th>
-        <td><input type="text" name="domain" size="18"></td>
-      </tr>
-      <tr><th align="right">Current password</th>
-        <td><input type="password" name="old_password" size="18"></td>
-      </tr>
-      <tr><th align="right">New password</th>
-        <td><input type="password" name="new_password" size="18"></td>
-      </tr>
-      <tr><th align="right">Re-enter new password</th>
-        <td><input type="password" name="new_password2" size="18"></td>
-      </tr>
-    </table>
-    <br><input type="submit" value="Change password">
-  </body>
-</html>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/payment_results.html b/fs_selfservice/FS-SelfService/cgi/payment_results.html
deleted file mode 100644 (file)
index de6c54d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<FONT SIZE=4>Payment results</FONT><BR><BR>
-<%= if ( $error ) {
-  $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">Error processing your payment: $error</FONT>!;
-} else {
-  $OUT .= 'Your payment was processed sucessfully.  Thank you.';
-} %>
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/process_svc_acct.html b/fs_selfservice/FS-SelfService/cgi/process_svc_acct.html
deleted file mode 100644 (file)
index 200a80d..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-
-<FONT SIZE=4><%= $svc %> setup sucessfully.</FONT>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/process_svc_external.html b/fs_selfservice/FS-SelfService/cgi/process_svc_external.html
deleted file mode 100644 (file)
index 2328fa1..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<HTML><HEAD><TITLE><%= $error ? 'MyAccount' : sprintf("Your serial number is %010d-$title", $id) %></TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-
-<FONT SIZE=4><%= $svc %> setup sucessfully.</FONT>
-
-<BR><BR>Your serial number is <%= sprintf("%010d-$title", $id) %>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/promocode.html b/fs_selfservice/FS-SelfService/cgi/promocode.html
deleted file mode 100644 (file)
index f8ee7f6..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>ISP Signup - promotional code</FONT><BR><BR>
-<SCRIPT>
-function gotoURL(object) {
-    window.location.href =  'signup.cgi?promo_code=' + object.promo_code.value;
-}
-</SCRIPT>
-<FORM>
-Enter promotional code <INPUT TYPE="text" NAME="promo_code">
-<INPUT type="submit" VALUE="Signup" onClick="gotoURL(this.form)">
-
-</FORM>
-</BODY>
-</HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/provision.html b/fs_selfservice/FS-SelfService/cgi/provision.html
deleted file mode 100644 (file)
index d31e607..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<%= include('provision_list') %>
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/provision_list.html b/fs_selfservice/FS-SelfService/cgi/provision_list.html
deleted file mode 100644 (file)
index 0f68dfe..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<FONT SIZE=4>Setup services</FONT><BR><BR>
-
-<SCRIPT>
-function areyousure(href, message) {
-    if (confirm(message) == true)
-        window.location.href = href;
-}
-</SCRIPT>
-
-<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#ffffff">
-
-<%= foreach my $pkg (
-      grep {    scalar(@{$_->{part_svc}})
-             || scalar(@{$_->{cust_svc}})
-           } @cust_pkg
-    ) {
-
-  $OUT .= #'<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#ffffff">'.
-          '<TR><TH BGCOLOR="#6666ff" COLSPAN=3>'.
-          $pkg->{'pkg'}.
-          '</TH></TR>';
-
-  my $col1 = "ffffff";
-  my $col2 = "dddddd";
-  my $col = $col1;
-
-  foreach my $cust_svc ( @{ $pkg->{cust_svc} } ) {
-    my $td = qq!<TD BGCOLOR="#$col"!;
-
-    $OUT .= '<TR>'.
-              "$td ALIGN=right>". $cust_svc->{label}[0]. ': </TD>'.
-              "$td><B>". $cust_svc->{label}[1]. '</B>';
-    $OUT .= '<BR><I>password: '. encode_entities($cust_svc->{_password}). '</I>'
-      if exists($cust_svc->{_password});
-    $OUT .= '</TD>'.
-              "$td><FONT SIZE=-1>";
-              
-    #if ( $cust_svc->{label}[2] eq 'svc_acct' ) {
-    #  $OUT .= qq!(<A HREF="${url}changepw;svcnum=$cust_svc->{'svcnum'}">!.
-    #          'change&nbsp;pw) ';
-    #}
-
-    unless ( $cust_svc->{'svcnum'} == $svcnum ) {
-      $OUT .= qq!(<A HREF="javascript:areyousure('${url}delete_svc;svcnum=$cust_svc->{svcnum}', 'This will permanently delete the $cust_svc->{label}[1] $cust_svc->{label}[0].  Are you sure?')">!.
-              'delete</A>)';
-
-    }
-    $OUT .= '</FONT></TD></TR>';
-    $col = $col eq $col1 ? $col2 : $col1;
-  }
-
-  $OUT .= '<TR><TD COLSPAN=3 BGCOLOR="#000000"></TD></TR>'
-    if scalar(@{$pkg->{part_svc}}) && scalar(@{$pkg->{cust_svc}});
-
-  $col = $col1;
-
-  foreach my $part_svc ( @{ $pkg->{part_svc} } ) {
-
-    my $td = qq!<TD BGCOLOR="#$col"!;
-
-    my $link;
-
-    if ( $part_svc->{'svcdb'} eq 'svc_external'
-         #&& $conf->exists('svc_external-skip_manual')
-    ) {
-      $link = "${url}process_svc_external;".
-              "pkgnum=$pkg->{'pkgnum'};".
-              "svcpart=$part_svc->{'svcpart'}";
-    } else {
-      $link = "${url}provision_svc;".
-              "pkgnum=$pkg->{'pkgnum'};".
-              "svcpart=$part_svc->{'svcpart'}";
-    }
-
-    $OUT .= "<TR>$td COLSPAN=3 ALIGN=center>".
-            qq!<A HREF="$link">!. 'Setup '. $part_svc->{'svc'}. '</A> '.
-            '('. $part_svc->{'num_avail'}. ' available)'.
-            '</TD></TR>';
-    $col = $col eq $col1 ? $col2 : $col1;
-  }
-
-  #$OUT .= '</TABLE><BR>';
-  $OUT .= '<TR><TD BGCOLOR="#eeeeee" COLSPAN=3>&nbsp;</TD></TR>';
-
-} %>
-
-</TABLE>
diff --git a/fs_selfservice/FS-SelfService/cgi/provision_svc_acct.html b/fs_selfservice/FS-SelfService/cgi/provision_svc_acct.html
deleted file mode 100644 (file)
index 5054074..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<%= include('svc_acct') %>
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/recharge_prepay.html b/fs_selfservice/FS-SelfService/cgi/recharge_prepay.html
deleted file mode 100644 (file)
index f858459..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<FONT SIZE=4>Recharge with prepaid card</FONT><BR><BR>
-<FORM NAME="OneTrueForm" METHOD="POST" ACTION="<%=$selfurl%>" onSubmit="document.OneTrueForm.process.disabled=true">
-<INPUT TYPE="hidden" NAME="session" VALUE="<%=$session_id%>">
-<INPUT TYPE="hidden" NAME="action" VALUE="recharge_results">
-<TABLE BGCOLOR="#cccccc">
-<!--
-<TR>
-  <TD ALIGN="right">Amount&nbsp;Due</TD>
-  <TD>
-    <TABLE><TR><TD BGCOLOR="#ffffff">
-      $<%=sprintf("%.2f",$balance)%>
-    </TD></TR></TABLE>
-  </TD>
-</TR>
--->
-<TR>
-  <TD ALIGN="right">Prepaid&nbsp;card&nbsp;number</TD>
-  <TD>
-    <INPUT TYPE="text" NAME="prepaid_cardnum" SIZE=20 MAXLENGTH=19 VALUE="<%=$prepaid_cardnum%>">
-  </TD>
-</TR>
-</TABLE>
-<BR>
-<INPUT TYPE="hidden" NAME="paybatch" VALUE="<%=$paybatch%>">
-<INPUT TYPE="submit" NAME="process" VALUE="Recharge"> <!-- onClick="this.disabled=true"> -->
-</FORM>
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/recharge_results.html b/fs_selfservice/FS-SelfService/cgi/recharge_results.html
deleted file mode 100644 (file)
index ec3ea2c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<FONT SIZE=4>Recharge results</FONT><BR><BR>
-<%= if ( $error ) {
-  $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">Error processing your prepaid card: $error</FONT>!;
-} else {
-  $OUT .= 'Prepaid card recharge sucessful!<BR><BR>';
-
-  $OUT .= '$'. sprintf('%.2f', $amount). ' added to your account.<BR><BR>'
-    if $amount;
-
-  $OUT .= $duration. ' added to your account.<BR><BR>'
-    if $seconds;
-
-  $OUT .= 'Thank you.';
-} %>
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
diff --git a/fs_selfservice/FS-SelfService/cgi/regcode.html b/fs_selfservice/FS-SelfService/cgi/regcode.html
deleted file mode 100644 (file)
index e639b9b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>ISP Signup - registration code</FONT><BR><BR>
-<SCRIPT>
-function gotoURL(object) {
-    window.location.href =  'signup.cgi?reg_code=' + object.reg_code.value;
-}
-</SCRIPT>
-<FORM>
-Enter registration code <INPUT TYPE="text" NAME="reg_code">
-<INPUT type="submit" VALUE="Signup" onClick="gotoURL(this.form)">
-
-</FORM>
-</BODY>
-</HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/selfservice.cgi b/fs_selfservice/FS-SelfService/cgi/selfservice.cgi
deleted file mode 100644 (file)
index 034a684..0000000
+++ /dev/null
@@ -1,305 +0,0 @@
-#!/usr/bin/perl -Tw
-
-use strict;
-use vars qw($cgi $session_id $form_max $template_dir);
-use subs qw(do_template);
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use Text::Template;
-use HTML::Entities;
-use FS::SelfService qw( login customer_info invoice
-                        payment_info process_payment 
-                        process_prepay
-                        list_pkgs
-                        part_svc_info provision_acct provision_external
-                        unprovision_svc
-                      );
-
-$template_dir = '.';
-
-$form_max = 255;
-
-$cgi = new CGI;
-
-unless ( defined $cgi->param('session') ) {
-  do_template('login',{});
-  exit;
-}
-
-if ( $cgi->param('session') eq 'login' ) {
-
-  $cgi->param('username') =~ /^\s*([a-z0-9_\-\.\&]{0,$form_max})\s*$/i
-    or die "illegal username";
-  my $username = $1;
-
-  $cgi->param('domain') =~ /^\s*([\w\-\.]{0,$form_max})\s*$/
-    or die "illegal domain";
-  my $domain = $1;
-
-  $cgi->param('password') =~ /^(.{0,$form_max})$/
-    or die "illegal password";
-  my $password = $1;
-
-  my $rv = login(
-    'username' => $username,
-    'domain'   => $domain,
-    'password' => $password,
-  );
-  if ( $rv->{error} ) {
-    do_template('login', {
-      'error'    => $rv->{error},
-      'username' => $username,
-      'domain'   => $domain,
-    } );
-    exit;
-  } else {
-    $cgi->param('session' => $rv->{session_id} );
-    $cgi->param('action'  => 'myaccount' );
-  }
-}
-
-$session_id = $cgi->param('session');
-
-#order|pw_list XXX ???
-$cgi->param('action') =~
-    /^(myaccount|view_invoice|make_payment|payment_results|recharge_prepay|recharge_results|logout|change_bill|change_ship|provision|provision_svc|process_svc_acct|process_svc_external|delete_svc)$/
-  or die "unknown action ". $cgi->param('action');
-my $action = $1;
-
-my $result = eval "&$action();";
-die $@ if $@;
-
-if ( $result->{error} eq "Can't resume session" ) { #ick
-  do_template('login',{});
-  exit;
-}
-
-#warn $result->{'open_invoices'};
-#warn scalar(@{$result->{'open_invoices'}});
-
-warn "processing template $action\n";
-do_template($action, {
-  'session_id' => $session_id,
-  'action'     => $action, #so the menu knows what tab we're on...
-  %{$result}
-});
-
-#--
-
-sub myaccount { customer_info( 'session_id' => $session_id ); }
-
-sub view_invoice {
-
-  $cgi->param('invnum') =~ /^(\d+)$/ or die "illegal invnum";
-  my $invnum = $1;
-
-  invoice( 'session_id' => $session_id,
-           'invnum'     => $invnum,
-         );
-
-}
-
-sub make_payment {
-  payment_info( 'session_id' => $session_id );
-}
-
-sub payment_results {
-
-  use Business::CreditCard;
-
-  $cgi->param('amount') =~ /^\s*(\d+(\.\d{2})?)\s*$/
-    or die "illegal amount"; #!!!
-  my $amount = $1;
-
-  my $payinfo = $cgi->param('payinfo');
-  $payinfo =~ s/\D//g;
-  $payinfo =~ /^(\d{13,16})$/
-    #or $error ||= $init_data->{msgcat}{invalid_card}; #. $self->payinfo;
-    or die "illegal card"; #!!!
-  $payinfo = $1;
-  validate($payinfo)
-    #or $error ||= $init_data->{msgcat}{invalid_card}; #. $self->payinfo;
-    or die "invalid card"; #!!!
-  cardtype($payinfo) eq $cgi->param('card_type')
-    #or $error ||= $init_data->{msgcat}{not_a}. $cgi->param('CARD_type');
-    or die "not a ". $cgi->param('card_type');
-
-  $cgi->param('month') =~ /^(\d{2})$/ or die "illegal month";
-  my $month = $1;
-  $cgi->param('year') =~ /^(\d{4})$/ or die "illegal year";
-  my $year = $1;
-
-  $cgi->param('payname') =~ /^(.{0,80})$/ or die "illegal payname";
-  my $payname = $1;
-
-  $cgi->param('address1') =~ /^(.{0,80})$/ or die "illegal address1";
-  my $address1 = $1;
-
-  $cgi->param('address2') =~ /^(.{0,80})$/ or die "illegal address2";
-  my $address2 = $1;
-
-  $cgi->param('city') =~ /^(.{0,80})$/ or die "illegal city";
-  my $city = $1;
-
-  $cgi->param('state') =~ /^(.{2})$/ or die "illegal state";
-  my $state = $1;
-
-  $cgi->param('zip') =~ /^(.{0,10})$/ or die "illegal zip";
-  my $zip = $1;
-
-  my $save = 0;
-  $save = 1 if $cgi->param('save');
-
-  my $auto = 0;
-  $auto = 1 if $cgi->param('auto');
-
-  $cgi->param('paybatch') =~ /^([\w\-\.]+)$/ or die "illegal paybatch";
-  my $paybatch = $1;
-
-  process_payment(
-    'session_id' => $session_id,
-    'amount'     => $amount,
-    'payinfo'    => $payinfo,
-    'month'      => $month,
-    'year'       => $year,
-    'payname'    => $payname,
-    'address1'   => $address1,
-    'address2'   => $address2,
-    'city'       => $city,
-    'state'      => $state,
-    'zip'        => $zip,
-    'save'       => $save,
-    'auto'       => $auto,
-    'paybatch'   => $paybatch,
-  );
-
-}
-
-sub recharge_prepay {
-  customer_info( 'session_id' => $session_id );
-}
-
-sub recharge_results {
-
-  my $prepaid_cardnum = $cgi->param('prepaid_cardnum');
-  $prepaid_cardnum =~ s/\W//g;
-  $prepaid_cardnum =~ /^(\w*)$/ or die "illegal prepaid card number";
-  $prepaid_cardnum = $1;
-
-  process_prepay ( 'session_id'     => $session_id,
-                   'prepaid_cardnum' => $prepaid_cardnum,
-                 );
-}
-
-sub logout {
-  FS::SelfService::logout( 'session_id' => $session_id );
-}
-
-sub provision {
-  my $result = list_pkgs( 'session_id' => $session_id );
-  die $result->{'error'} if exists $result->{'error'} && $result->{'error'};
-  $result;
-}
-
-sub provision_svc {
-
-  my $result = part_svc_info(
-    'session_id' => $session_id,
-    map { $_ => $cgi->param($_) } qw( pkgnum svcpart ),
-  );
-  die $result->{'error'} if exists $result->{'error'} && $result->{'error'};
-
-  $result->{'svcdb'} =~ /^svc_(.*)$/
-    #or return { 'error' => 'Unknown svcdb '. $result->{'svcdb'} };
-    or die 'Unknown svcdb '. $result->{'svcdb'};
-  $action .= "_$1";
-
-  $result;
-}
-
-sub process_svc_acct {
-
-  my $result = provision_acct (
-    'session_id' => $session_id,
-    map { $_ => $cgi->param($_) } qw(
-      pkgnum svcpart username _password _password2 sec_phrase popnum )
-  );
-
-  if ( exists $result->{'error'} && $result->{'error'} ) { 
-    #warn "$result $result->{'error'}"; 
-    $action = 'provision_svc_acct';
-    return {
-      $cgi->Vars,
-      %{ part_svc_info( 'session_id' => $session_id,
-                        map { $_ => $cgi->param($_) } qw( pkgnum svcpart )
-                      )
-      },
-      'error' => $result->{'error'},
-    };
-  } else {
-    #warn "$result $result->{'error'}"; 
-    return $result;
-  }
-
-}
-
-sub process_svc_external {
-  provision_external (
-    'session_id' => $session_id,
-    map { $_ => $cgi->param($_) } qw( pkgnum svcpart )
-  );
-}
-
-sub delete_svc {
-  unprovision_svc(
-    'session_id' => $session_id,
-    'svcnum'     => $cgi->param('svcnum'),
-  );
-}
-
-#--
-
-sub do_template {
-  my $name = shift;
-  my $fill_in = shift;
-
-  $cgi->delete_all();
-  $fill_in->{'selfurl'} = $cgi->self_url;
-  $fill_in->{'cgi'} = \$cgi;
-
-  my $template = new Text::Template( TYPE    => 'FILE',
-                                     SOURCE  => "$template_dir/$name.html",
-                                     DELIMITERS => [ '<%=', '%>' ],
-                                     UNTAINT => 1,                    )
-    or die $Text::Template::ERROR;
-
-  print $cgi->header( '-expires' => 'now' ),
-        $template->fill_in( PACKAGE => 'FS::SelfService::_selfservicecgi',
-                            HASH    => $fill_in
-                          );
-}
-
-#*FS::SelfService::_selfservicecgi::include = \&Text::Template::fill_in_file;
-
-package FS::SelfService::_selfservicecgi;
-
-#use FS::SelfService qw(regionselector expselect popselector);
-use HTML::Entities;
-use FS::SelfService qw(popselector);
-
-#false laziness w/agent.cgi
-sub include {
-  my $name = shift;
-  my $template = new Text::Template( TYPE   => 'FILE',
-                                     SOURCE => "$main::template_dir/$name.html",
-                                     DELIMITERS => [ '<%=', '%>' ],
-                                     UNTAINT => 1,                   
-                                   )
-    or die $Text::Template::ERROR;
-
-  $template->fill_in( PACKAGE => 'FS::SelfService::_selfservicecgi',
-                      #HASH    => $fill_in
-                    );
-
-}
-
diff --git a/fs_selfservice/FS-SelfService/cgi/signup-agentselect.html b/fs_selfservice/FS-SelfService/cgi/signup-agentselect.html
deleted file mode 100755 (executable)
index 7851c56..0000000
+++ /dev/null
@@ -1,195 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup form</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>ISP Signup form</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM NAME="OneTrueForm" ACTION="<%= $self_url %>" METHOD=POST onSubmit="document.OneTrueForm.signup.disabled=true">
-<INPUT TYPE="hidden" NAME="magic" VALUE="process">
-<INPUT TYPE="hidden" NAME="ref" VALUE="<%= $referral_custnum %>">
-<INPUT TYPE="hidden" NAME="ss" VALUE="">
-Agent <SELECT NAME="agentnum">
-<%=
-  warn $init_data;
-  warn $init_data->{'agent'};
-  foreach my $agent ( @{$init_data->{'agent'}} ) {
-    $OUT .= '<OPTION VALUE="'. $agent->{'agentnum'}. '"';
-    $OUT .= ' SELECTED' if $agent->{'agentnum'} eq $agentnum;
-    $OUT .= '>'. $agent->{'agent'};
-  }
-%>
-</SELECT><BR><BR>
-Contact Information
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Contact name<BR>(last, first)</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="last" VALUE="<%= $last %>">,
-                <INPUT TYPE="text" NAME="first" VALUE="<%= $first %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="company" SIZE=70 VALUE="<%= $company %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Address</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address1" SIZE=70 VALUE="<%= $address1 %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address2" SIZE=70 VALUE="<%= $address2 %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>City</TH>
-  <TD><INPUT TYPE="text" NAME="city" VALUE="<%= $city %>"></TD>
-  <TH ALIGN="right"><font color="#ff0000">*</font>State/Country</TH>
-  <TD>
-    <%=
-        ($county_html, $state_html, $country_html) =
-          regionselector( $county, $state, $country );
-        "$county_html $state_html";
-    %>
-  </TD>
-  <TH><font color="#ff0000">*</font>Zip</TH>
-  <TD><INPUT TYPE="text" NAME="zip" SIZE=10 VALUE="<%= $zip %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Country</TH>
-  <TD><%= $country_html %></TD>
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="daytime" VALUE="<%= $daytime %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="night" VALUE="<%= $night %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="fax" VALUE="<%= $fax %>" SIZE=12></TD>
-</TR>
-</TABLE><font color="#ff0000">*</font> required fields<BR>
-<BR>Billing information<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR><TD>
-
-  <%=
-    $OUT .= '<INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST"';
-    my @invoicing_list = split(', ', $invoicing_list );
-    $OUT .= ' CHECKED'
-      if ! @invoicing_list || grep { $_ eq 'POST' } @invoicing_list;
-    $OUT .= '>';
-  %>
-
-  Postal mail invoice
-</TD></TR>
-<TR><TD>Email invoice <INPUT TYPE="text" NAME="invoicing_list" VALUE="<%= join(', ', grep { $_ ne 'POST' } split(', ', $invoicing_list ) ) %>">
-</TD></TR>
-<%= scalar(@payby) > 1 ? '<TR><TD>Billing type</TD></TR>' : '' %>
-</TABLE>
-<TABLE BGCOLOR="#c0c0c0" BORDER=1 WIDTH="100%">
-<TR>
-
-  <%=
-
-    my $cardselect = '<SELECT NAME="CARD_type"><OPTION></OPTION>';
-    my %types = (
-                  'VISA' => 'VISA card',
-                  'MasterCard' => 'MasterCard',
-                  'Discover' => 'Discover card',
-                  'American Express' => 'American Express card',
-                );
-    foreach ( keys %types ) {
-      $selected = $cgi->param('CARD_type') eq $types{$_} ? 'SELECTED' : '';
-      $cardselect .= qq!<OPTION $selected VALUE="$types{$_}">$_</OPTION>!;
-    }
-    $cardselect .= '</SELECT>';
-  
-    my %payby = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", "12-2037"). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="Accounts Payable">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("COMP"),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="" MAXLENGTH=80>!,
-    );
-
-    my( $account, $aba ) = split('@', $payinfo);
-    my %paybychecked = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="$payname">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="$payname">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="$payname">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="$payname">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="$payinfo" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", $paydate). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="$payname">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("COMP", $paydate),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="$payinfo" MAXLENGTH=80>!,
-    );
-
-    for (@payby) {
-      if ( scalar(@payby) == 1) {
-        $OUT .= '<TD VALIGN=TOP>'.
-                qq!<INPUT TYPE="hidden" NAME="payby" VALUE="$_">!.
-                "$paybychecked{$_}</TD>";
-      } else {
-        $OUT .= qq!<TD VALIGN=TOP><INPUT TYPE="radio" NAME="payby" VALUE="$_"!;
-        if ($payby eq $_) {
-          $OUT .= qq! CHECKED> $paybychecked{$_}</TD>!;
-        } else {
-          $OUT .= qq!> $payby{$_}</TD>!;
-        }
-
-      }
-    }
-  %>
-
-</TR></TABLE><font color="#ff0000">*</font> required fields for each billing type
-<BR><BR>First package
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TD COLSPAN=2><SELECT NAME="pkgpart"><OPTION VALUE="">(none)
-
-  <%=
-    foreach my $package ( @{$packages} ) {
-      $OUT .= '<OPTION VALUE="'. $package->{'pkgpart'}. '"';
-      $OUT .= ' SELECTED' if $pkgpart && $package->{'pkgpart'} == $pkgpart;
-      $OUT .= '>'. $package->{'pkg'};
-    }
-  %>
-
-  </SELECT></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $password %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Re-enter Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $password2 %>"></TD>
-</TR>
-<%=
-  if ( $init_data->{'security_phrase'} ) {
-    $OUT .= <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-  }
-%>
-<%=
-  if ( scalar(@$pops) ) {
-    $OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
-            popselector($popnum). '</TD></TR>';
-  } else {
-    $OUT .= popselector($popnum);
-  }
-%>
-</TABLE>
-<BR><BR><INPUT TYPE="submit" NAME="signup" VALUE="Signup" >
-</FORM></BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/signup-alternate.html b/fs_selfservice/FS-SelfService/cgi/signup-alternate.html
deleted file mode 100755 (executable)
index 490cefa..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup form</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>ISP Signup form</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM NAME="dummy">
-<INPUT TYPE="hidden" NAME="magic" VALUE="process">
-<INPUT TYPE="hidden" NAME="ref" VALUE="<%= $referral_custnum %>">
-<INPUT TYPE="hidden" NAME="ss" VALUE="">
-<INPUT TYPE="hidden" NAME="agentnum" VALUE="3">
-Contact Information
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Contact name<BR>(last, first)</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="last" VALUE="<%= $last %>">,
-                <INPUT TYPE="text" NAME="first" VALUE="<%= $first %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="company" SIZE=70 VALUE="<%= $company %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Address</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address1" SIZE=70 VALUE="<%= $address1 %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address2" SIZE=70 VALUE="<%= $address2 %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>City</TH>
-  <TD><INPUT TYPE="text" NAME="city" VALUE="<%= $city %>"></TD>
-  <TH ALIGN="right"><font color="#ff0000">*</font>State/Country</TH>
-  <TD><SELECT NAME="state" SIZE="1">
-
-  <%=
-    foreach ( @{$locales} ) {
-      my $value = $_->{'state'};
-      $value .= ' ('. $_->{'county'}. ')' if $_->{'county'};
-      $value .= ' / '. $_->{'country'};
-
-      $OUT .= qq(<OPTION VALUE="$value");
-      $OUT .= ' SELECTED' if ( $state eq $_->{'state'}
-                               && $county eq $_->{'county'}
-                               && $country eq $_->{'country'}
-                             );
-      $OUT .= ">$value</OPTION>";
-    }
-  %>
-
-  </SELECT></TD>
-  <TH><font color="#ff0000">*</font>Zip</TH>
-  <TD><INPUT TYPE="text" NAME="zip" SIZE=10 VALUE="<%= $zip %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="daytime" VALUE="<%= $daytime %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="night" VALUE="<%= $night %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="fax" VALUE="<%= $fax %>" SIZE=12></TD>
-</TR>
-</TABLE><font color="#ff0000">*</font> required fields<BR>
-
-<BR><BR>
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Username</TH>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Password</TH>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $password %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Re-enter Password</TH>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $password2 %>"></TD>
-</TR>
-
-<%= if ( $init_data->{'security_phrase'} ) {
-      <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-    } else {
-      '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-    }
-%>
-
-<%= if ( scalar(@$pops) ) {
-      '<TR><TD ALIGN="right">Access number</TD><TD>'.
-           popselector($popnum). '</TD></TR>';
-    } else {
-      popselector($popnum);
-    }
-%>
-
-</TABLE><font color="#ff0000">*</font> required fields
-
-<BR><BR>First package
-
-  <%= use Tie::IxHash;
-      my %pkgpart2payby = map { $_->{pkgpart} => $_->{payby}[0] } @{$packages};
-      tie my %options, 'Tie::IxHash',
-        '' => '(none)',
-        map { $_->{pkgpart} => $_->{pkg} }
-          sort { $a->{recur} <=> $b->{recur} }
-            @{$packages} 
-      ;
-
-      use HTML::Widgets::SelectLayers 0.02;
-      my @form_text = qw( magic ref ss agentnum
-                          last first company address1 address2
-                          city zip daytime night fax
-                          username _password _password2 sec_phrase );
-      my @form_select = qw( state ); #county country
-      if ( scalar(@$pops) == 0 or scalar(@$pops) == 1 ) {
-        push @form_text, 'popnum',
-      } else {
-        push @form_select, 'popnum',
-      }
-      my $widget = new HTML::Widgets::SelectLayers(
-        options => \%options,
-        selected_layer => $pkgpart,
-        form_name => 'dummy',
-        form_action => $self_url,
-        form_text => \@form_text,
-        form_select => \@form_select,
-        layer_callback => sub {
-          my $layer = shift;
-          my $html = qq( <INPUT TYPE="hidden" NAME="pkgpart" VALUE="$layer">);
-
-          if ( $pkgpart2payby{$layer} eq 'BILL' ) {
-            $html .= <<ENDOUT;
-<INPUT TYPE="hidden" NAME="payby" VALUE="BILL">
-<INPUT TYPE="hidden" NAME="invoicing_list_POST" VALUE="">
-<INPUT TYPE="hidden" NAME="BILL_payinfo" VALUE="">
-<INPUT TYPE="hidden" NAME="BILL_month" VALUE="12">
-<INPUT TYPE="hidden" NAME="BILL_year" VALUE="2037">
-<INPUT TYPE="hidden" NAME="BILL_payname" VALUE="">
-<BR><BR><INPUT TYPE="submit" VALUE="Signup">
-ENDOUT
-          } elsif ( $pkgpart2payby{$layer} eq 'CARD' ) {
-            my $postal_checked = '';
-            my @invoicing_list = split(', ', $invoicing_list );
-            $postal_checked = 'CHECKED'
-              if ! @invoicing_list || grep { $_ eq 'POST' } @invoicing_list;
-
-            $invoicing_list= join(', ', grep { $_ ne 'POST' } @invoicing_list );
-
-            my $expselect = expselect("CARD", $paydate);
-
-            my $cardselect = '<SELECT NAME="CARD_type"><OPTION></OPTION>';
-            my %types = (
-                          'VISA' => 'VISA card',
-                          'MasterCard' => 'MasterCard',
-                          'Discover' => 'Discover card',
-                          'American Express' => 'American Express card',
-                        );
-            foreach ( keys %types ) {
-              $selected =
-                $cgi->param('CARD_type') eq $types{$_} ? 'SELECTED' : '';
-              $cardselect .=
-                qq!<OPTION $selected VALUE="$types{$_}">$_</OPTION>!;
-            }
-            $cardselect .= '</SELECT>';
-
-            $html .= <<ENDOUT;
-<INPUT TYPE="hidden" NAME="payby" VALUE="CARD">
-<BR><BR>Billing information
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0>
-<INPUT TYPE="hidden" NAME="invoicing_list_POST" VALUE="">
-<TR>
-  <TD ALIGN="right">Email statement to </TD>
-  <TD><INPUT TYPE="text" NAME="invoicing_list" VALUE="$invoicing_list"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Credit card type</TH>
-  <TD>$cardselect</TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Card number</TH>
-  <TD><INPUT TYPE="text" NAME="CARD_payinfo" VALUE="$payinfo" MAXLENGTH=19></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>*</font>Exp</TH>
-  <TD>$expselect</TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Name on card</TH>
-  <TD><INPUT TYPE="text" NAME="CARD_payname" VALUE="$payname"></TD>
-</TR>
-</TABLE>
-<font color="#ff0000">*</font> required fields
-<BR><BR><INPUT TYPE="submit" VALUE="Signup">
-ENDOUT
-          } else {
-            $html = <<ENDOUT;
-<BR>Please select a package.<BR>
-ENDOUT
-
-          }
-
-          $html;
-
-        },
-      );
-
-      $widget->html;
-
-
- %>
-</BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/signup-billaddress.html b/fs_selfservice/FS-SelfService/cgi/signup-billaddress.html
deleted file mode 100755 (executable)
index 3cf9d25..0000000
+++ /dev/null
@@ -1,307 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup form</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8" onUnload="myclose()">
-<script language="JavaScript"><!--
-  var mywindow = -1;
-  function myopen(filename,windowname,properties) {
-    myclose();
-    mywindow = window.open(filename,windowname,properties);
-  }
-  function myclose() {
-    if ( mywindow != -1 )
-      mywindow.close();
-    mywindow = -1
-  }
-//--></script>
-<FONT SIZE=7>ISP Signup form</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM NAME="OneTrueForm" ACTION="<%= $self_url %>" METHOD=POST onSubmit="document.OneTrueForm.signup.disabled=true">
-<INPUT TYPE="hidden" NAME="magic" VALUE="process">
-<INPUT TYPE="hidden" NAME="ref" VALUE="<%= $referral_custnum %>">
-<INPUT TYPE="hidden" NAME="ss" VALUE="">
-Where did you hear about our service? <SELECT NAME="refnum">
-<%=
-  $OUT .= '<OPTION VALUE="">' unless $refnum;
-  foreach my $part_referral ( @{$init_data->{'part_referral'}} ) {
-    $OUT .= '<OPTION VALUE="'. $part_referral->{'refnum'}. '"';
-    $OUT .= ' SELECTED' if $part_referral->{'refnum'} eq $refnum;
-    $OUT .= '>'. $part_referral->{'referral'};
-  }
-%>
-</SELECT><BR><BR>
-Billing Address (where credit card statement is sent)
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Exact name on card<BR>(last, first)</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="last" VALUE="<%= $last %>" onChange="changed(this)">,
-                <INPUT TYPE="text" NAME="first" VALUE="<%= $first %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="company" SIZE=70 VALUE="<%= $company %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Address</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address1" SIZE=70 VALUE="<%= $address1 %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address2" SIZE=70 VALUE="<%= $address2 %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>City</TH>
-  <TD><INPUT TYPE="text" NAME="city" VALUE="<%= $city %>" onChange="changed(this)"></TD>
-  <TH ALIGN="right"><font color="#ff0000">*</font>State/Country</TH>
-  <TD>
-    <%=
-        ($county_html, $state_html, $country_html) =
-          regionselector( $county, $state, $country, '', 'changed(this)' );
-        "$county_html $state_html";
-    %>
-  </TD>
-  <TH><font color="#ff0000">*</font>Zip</TH>
-  <TD><INPUT TYPE="text" NAME="zip" SIZE=10 VALUE="<%= $zip %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Country</TH>
-  <TD><%= $country_html %></TD>
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="daytime" VALUE="<%= $daytime %>" SIZE=18 onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="night" VALUE="<%= $night %>" SIZE=18 onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="fax" VALUE="<%= $fax %>" SIZE=12 onChange="changed(this)"></TD>
-</TR>
-</TABLE>
-
-<SCRIPT>
-function changed(what) {
-  what.form.same.checked = false;
-}
-function samechanged(what) {
-  if ( what.checked ) {
-
-    <%= foreach (qw(
-          last first company address1 address2 city zip daytime night fax
-        )) {
-          $OUT .= "what.form.ship_$_.value = what.form.$_.value;\n";
-        }
-    %>
-
-    what.form.ship_country.selectedIndex = what.form.country.selectedIndex;
-    ship_country_changed(what.form.ship_country);
-    what.form.ship_state.selectedIndex = what.form.state.selectedIndex;
-    ship_state_changed(what.form.ship_state);
-    what.form.ship_county.selectedIndex = what.form.county.selectedIndex;
-  }
-}
-</SCRIPT>
-
-<BR><BR>
-Service Address
-(<INPUT TYPE="checkbox" NAME="same" VALUE="Y" onClick="samechanged(this)" <%= $same eq 'Y' ? 'CHECKED' : '' %>>same as billing address)<BR>
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Contact name<BR>(last, first)</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="ship_last" VALUE="<%= $ship_last %>" onChange="changed(this)">,
-                <INPUT TYPE="text" NAME="ship_first" VALUE="<%= $ship_first %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="ship_company" SIZE=70 VALUE="<%= $ship_company %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Address</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="ship_address1" SIZE=70 VALUE="<%= $ship_address1 %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="ship_address2" SIZE=70 VALUE="<%= $ship_address2 %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>City</TH>
-  <TD><INPUT TYPE="text" NAME="ship_city" VALUE="<%= $ship_city %>" onChange="changed(this)"></TD>
-  <TH ALIGN="right"><font color="#ff0000">*</font>State/Country</TH>
-  <TD>
-    <%=
-        ($ship_county_html, $ship_state_html, $ship_country_html) =
-          regionselector( $ship_county,
-                          $ship_state,
-                          $ship_country,
-                          'ship_',
-                          'changed(this)',
-                        );
-        "$ship_county_html $ship_state_html";
-    %>
-  </TD>
-  <TH><font color="#ff0000">*</font>Zip</TH>
-  <TD><INPUT TYPE="text" NAME="ship_zip" SIZE=10 VALUE="<%= $ship_zip %>" onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Country</TH>
-  <TD><%= $ship_country_html %></TD>
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="ship_daytime" VALUE="<%= $ship_daytime %>" SIZE=18 onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="ship_night" VALUE="<%= $ship_night %>" SIZE=18 onChange="changed(this)"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="ship_fax" VALUE="<%= $ship_fax %>" SIZE=12 onChange="changed(this)"></TD>
-</TR>
-</TABLE>
-
-<font color="#ff0000">*</font> required fields<BR>
-
-<BR>Billing information<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR><TD>
-
-  <%=
-    $OUT .= '<INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST"';
-    my @invoicing_list = split(', ', $invoicing_list );
-    $OUT .= ' CHECKED'
-      if ! @invoicing_list || grep { $_ eq 'POST' } @invoicing_list;
-    $OUT .= '>';
-  %>
-
-  Postal mail invoice
-</TD></TR>
-<TR><TD>Email invoice <INPUT TYPE="text" NAME="invoicing_list" VALUE="<%= join(', ', grep { $_ ne 'POST' } split(', ', $invoicing_list ) ) %>">
-</TD></TR>
-<%= scalar(@payby) > 1 ? '<TR><TD>Billing type</TD></TR>' : '' %>
-</TABLE>
-<TABLE BGCOLOR="#c0c0c0" BORDER=1 WIDTH="100%">
-<TR>
-
-  <%=
-
-    my $cardselect = '<SELECT NAME="CARD_type"><OPTION></OPTION>';
-    my %types = (
-                  'VISA' => 'VISA card',
-                  'MasterCard' => 'MasterCard',
-                  'Discover' => 'Discover card',
-                  'American Express' => 'American Express card',
-                );
-    foreach ( keys %types ) {
-      $selected = $cgi->param('CARD_type') eq $types{$_} ? 'SELECTED' : '';
-      $cardselect .= qq!<OPTION $selected VALUE="$types{$_}">$_</OPTION>!;
-    }
-    $cardselect .= '</SELECT>';
-  
-    my %payby = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD"), #. qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD"), #. qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", "12-2037"). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="Accounts Payable">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("COMP"),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="" MAXLENGTH=80>!,
-    );
-
-    if ( $init_data->{'cvv_enabled'} ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $payby{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    my( $account, $aba ) = split('@', $payinfo);
-    my %paybychecked = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD", $paydate), #. qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="$payname">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD", $paydate), #. qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="$payname">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="$payname">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="$payname">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="$payinfo" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", $paydate). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="$payname">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("COMP", $paydate),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="$payinfo" MAXLENGTH=80>!,
-    );
-
-    if ( $init_data->{'cvv_enabled'} ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $paybychecked{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="$paycvv" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    for (@payby) {
-      if ( scalar(@payby) == 1) {
-        $OUT .= '<TD VALIGN=TOP>'.
-                qq!<INPUT TYPE="hidden" NAME="payby" VALUE="$_">!.
-                "$paybychecked{$_}</TD>";
-      } else {
-        $OUT .= qq!<TD VALIGN=TOP><INPUT TYPE="radio" NAME="payby" VALUE="$_"!;
-        if ($payby eq $_) {
-          $OUT .= qq! CHECKED> $paybychecked{$_}</TD>!;
-        } else {
-          $OUT .= qq!> $payby{$_}</TD>!;
-        }
-
-      }
-    }
-  %>
-
-</TR></TABLE><font color="#ff0000">*</font> required fields for each billing type
-<BR><BR>First package
-<INPUT TYPE="hidden" NAME="promo_code" VALUE="<%= $cgi->param('promo_code') %>">
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TD COLSPAN=2><SELECT NAME="pkgpart">
-
-  <%=
-    $OUT .= '<OPTION VALUE="">(none)' unless scalar(@$packages) == 1;
-    foreach my $package ( @{$packages} ) {
-      $OUT .= '<OPTION VALUE="'. $package->{'pkgpart'}. '"';
-      $OUT .= ' SELECTED'
-        if ( $pkgpart && $package->{'pkgpart'} == $pkgpart )
-           || scalar(@$packages) == 1;
-      $OUT .= '>'. $package->{'pkg'};
-    }
-  %>
-
-  </SELECT></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $password %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Re-enter Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $password2 %>"></TD>
-</TR>
-<%=
-  if ( $init_data->{'security_phrase'} ) {
-    $OUT .= <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-  }
-%>
-<%=
-  if ( scalar(@$pops) ) {
-    $OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
-            popselector($popnum). '</TD></TR>';
-  } else {
-    $OUT .= popselector($popnum);
-  }
-%>
-</TABLE>
-<BR><BR><INPUT TYPE="submit" NAME="signup" VALUE="Signup">
-</FORM></BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/signup-freeoption.html b/fs_selfservice/FS-SelfService/cgi/signup-freeoption.html
deleted file mode 100755 (executable)
index 40ad03c..0000000
+++ /dev/null
@@ -1,262 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup form</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8" onUnload="myclose()">
-<script language="JavaScript"><!--
-  var mywindow = -1;
-  function myopen(filename,windowname,properties) {
-    myclose();
-    mywindow = window.open(filename,windowname,properties);
-  }
-  function myclose() {
-    if ( mywindow != -1 )
-      mywindow.close();
-    mywindow = -1
-  }
-//--></script>
-<FONT SIZE=7>ISP Signup form</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM NAME="OneTrueForm" ACTION="<%= $self_url %>" METHOD=POST onSubmit="document.OneTrueForm.signup.disabled=true">
-<INPUT TYPE="hidden" NAME="magic" VALUE="process">
-<INPUT TYPE="hidden" NAME="ref" VALUE="<%= $referral_custnum %>">
-<INPUT TYPE="hidden" NAME="ss" VALUE="">
-Where did you hear about our service? <SELECT NAME="refnum">
-<%=
-  $OUT .= '<OPTION VALUE="">' unless $refnum;
-  foreach my $part_referral ( @{$init_data->{'part_referral'}} ) {
-    $OUT .= '<OPTION VALUE="'. $part_referral->{'refnum'}. '"';
-    $OUT .= ' SELECTED' if $part_referral->{'refnum'} eq $refnum;
-    $OUT .= '>'. $part_referral->{'referral'};
-  }
-%>
-</SELECT><BR><BR>
-Contact Information
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Contact name<BR>(last, first)</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="last" VALUE="<%= $last %>">,
-                <INPUT TYPE="text" NAME="first" VALUE="<%= $first %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="company" SIZE=70 VALUE="<%= $company %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Address</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address1" SIZE=70 VALUE="<%= $address1 %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address2" SIZE=70 VALUE="<%= $address2 %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>City</TH>
-  <TD><INPUT TYPE="text" NAME="city" VALUE="<%= $city %>"></TD>
-  <TH ALIGN="right"><font color="#ff0000">*</font>State/Country</TH>
-  <TD>
-    <%=
-        ($county_html, $state_html, $country_html) =
-          regionselector( $county, $state, $country );
-        "$county_html $state_html";
-    %>
-  </TD>
-  <TH><font color="#ff0000">*</font>Zip</TH>
-  <TD><INPUT TYPE="text" NAME="zip" SIZE=10 VALUE="<%= $zip %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Country</TH>
-  <TD><%= $country_html %></TD>
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="daytime" VALUE="<%= $daytime %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="night" VALUE="<%= $night %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="fax" VALUE="<%= $fax %>" SIZE=12></TD>
-</TR>
-</TABLE><font color="#ff0000">*</font> required fields<BR>
-<BR>
-<%=
-  my $first_payby = $packages->[0]{'payby'}[0];
-  unless ( grep { scalar( @{$_->{'payby'}} ) > 1
-                    || $_->{'payby'}->[0] ne $first_payby
-                } @$packages
-  ) { 
-    @payby = ( $first_payby );
-  }
-
-  unless ( scalar(@payby) == 1 && $payby[0] eq 'BILL' ) {
-
-    $OUT .= ' Billing information
-            <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-            <TR><TD>
-            <INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST"';
-
-    my @invoicing_list = split(', ', $invoicing_list );
-
-    $OUT .= ' CHECKED'
-      if ! @invoicing_list || grep { $_ eq 'POST' } @invoicing_list;
-
-    $OUT .= '> Postal mail invoice
-            </TD></TR>
-            <TR><TD>Email invoice 
-            <INPUT TYPE="text" NAME="invoicing_list" VALUE="'
-              .join(', ', grep { $_ ne 'POST' } split(', ', $invoicing_list ) ).
-            '"></TD></TR>';
-
-    $OUT .= '<TR><TD>Billing type</TD></TR>'
-      if scalar(@payby) > 1;
-
-    $OUT .= '</TABLE>';
-
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="invoicing_list" VALUE="">
-             <INPUT TYPE="hidden" NAME="invoicing_list_POST" VALUE="">';
-  }
-
-%>
-
-<TABLE BGCOLOR="#c0c0c0" BORDER=1 WIDTH="100%">
-<TR>
-
-  <%=
-
-    my $cardselect = '<SELECT NAME="CARD_type"><OPTION></OPTION>';
-    my %types = (
-                  'VISA' => 'VISA card',
-                  'MasterCard' => 'MasterCard',
-                  'Discover' => 'Discover card',
-                  'American Express' => 'American Express card',
-                );
-    foreach ( keys %types ) {
-      $selected = $cgi->param('CARD_type') eq $types{$_} ? 'SELECTED' : '';
-      $cardselect .= qq!<OPTION $selected VALUE="$types{$_}">$_</OPTION>!;
-    }
-    $cardselect .= '</SELECT>';
-  
-    my %payby = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => <<'END',
-<INPUT TYPE="hidden" NAME="BILL_payinfo" VALUE="">
-<INPUT TYPE="hidden" NAME="BILL_month" VALUE="12">
-<INPUT TYPE="hidden" NAME="BILL_year" VALUE="2037">
-<INPUT TYPE="hidden" NAME="BILL_payname" VALUE="">
-END
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("COMP"),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="" MAXLENGTH=80>!,
-    );
-
-    if ( $init_data->{'cvv_enabled'} ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $payby{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    my( $account, $aba ) = split('@', $payinfo);
-    my %paybychecked = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="$payname">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="$payname">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="$payname">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="$payname">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="$payinfo" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => <<'END',
-<INPUT TYPE="hidden" NAME="BILL_payinfo" VALUE="">
-<INPUT TYPE="hidden" NAME="BILL_month" VALUE="12">
-<INPUT TYPE="hidden" NAME="BILL_year" VALUE="2037">
-<INPUT TYPE="hidden" NAME="BILL_payname" VALUE="">
-END
-
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("COMP", $paydate),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="$payinfo" MAXLENGTH=80>!,
-    );
-
-    if ( $init_data->{'cvv_enabled'} ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $paybychecked{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="$paycvv" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    for (@payby) {
-      if ( scalar(@payby) == 1) {
-        $OUT .= '<TD VALIGN=TOP>'.
-                qq!<INPUT TYPE="hidden" NAME="payby" VALUE="$_">!.
-                "$paybychecked{$_}</TD>";
-      } else {
-        $OUT .= qq!<TD VALIGN=TOP><INPUT TYPE="radio" NAME="payby" VALUE="$_"!;
-        if ($payby eq $_) {
-          $OUT .= qq! CHECKED> $paybychecked{$_}</TD>!;
-        } else {
-          $OUT .= qq!> $payby{$_}</TD>!;
-        }
-
-      }
-    }
-  %>
-
-</TR></TABLE>
-<%= unless ( scalar(@payby) == 1 && $payby[0] eq 'BILL' ) {
-      $OUT .= '<font color="#ff0000">*</font> required fields for each billing type';
-    }
-    '';
-%>
-<BR><BR>First package
-<INPUT TYPE="hidden" NAME="promo_code" VALUE="<%= $cgi->param('promo_code') %>"><TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TD COLSPAN=2><SELECT NAME="pkgpart">
-
-  <%=
-    $OUT .= '<OPTION VALUE="">(none)' unless scalar(@$packages) == 1;
-    foreach my $package ( @{$packages} ) {
-      $OUT .= '<OPTION VALUE="'. $package->{'pkgpart'}. '"';
-      $OUT .= ' SELECTED'
-        if ( $pkgpart && $package->{'pkgpart'} == $pkgpart )
-           || scalar(@$packages) == 1;
-      $OUT .= '>'. $package->{'pkg'};
-    }
-  %>
-
-  </SELECT></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $password %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Re-enter Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $password2 %>"></TD>
-</TR>
-<%=
-  if ( $init_data->{'security_phrase'} ) {
-    $OUT .= <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-  }
-%>
-<%=
-  if ( scalar(@$pops) ) {
-    $OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
-            popselector($popnum). '</TD></TR>';
-  } else {
-    $OUT .= popselector($popnum);
-  }
-%>
-</TABLE>
-<BR><BR><INPUT TYPE="submit" NAME="signup" VALUE="Signup">
-</FORM></BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/signup-snarf.html b/fs_selfservice/FS-SelfService/cgi/signup-snarf.html
deleted file mode 100755 (executable)
index d167efb..0000000
+++ /dev/null
@@ -1,228 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup form</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8" onUnload="myclose()">
-<script language="JavaScript"><!--
-  var mywindow = -1;
-  function myopen(filename,windowname,properties) {
-    myclose();
-    mywindow = window.open(filename,windowname,properties);
-  }
-  function myclose() {
-    if ( mywindow != -1 )
-      mywindow.close();
-    mywindow = -1
-  }
-//--></script>
-<FONT SIZE=7>ISP Signup form</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM ACTION="<%= $self_url %>" METHOD=POST>
-<INPUT TYPE="hidden" NAME="magic" VALUE="process">
-<INPUT TYPE="hidden" NAME="ref" VALUE="<%= $referral_custnum %>">
-<INPUT TYPE="hidden" NAME="ss" VALUE="">
-Contact Information
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Contact name<BR>(last, first)</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="last" VALUE="<%= $last %>">,
-                <INPUT TYPE="text" NAME="first" VALUE="<%= $first %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="company" SIZE=70 VALUE="<%= $company %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Address</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address1" SIZE=70 VALUE="<%= $address1 %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address2" SIZE=70 VALUE="<%= $address2 %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>City</TH>
-  <TD><INPUT TYPE="text" NAME="city" VALUE="<%= $city %>"></TD>
-  <TH ALIGN="right"><font color="#ff0000">*</font>State/Country</TH>
-  <TD>
-    <%=
-        ($county_html, $state_html, $country_html) =
-          regionselector( $county, $state, $country );
-        "$county_html $state_html";
-    %>
-  </TD>
-  <TH><font color="#ff0000">*</font>Zip</TH>
-  <TD><INPUT TYPE="text" NAME="zip" SIZE=10 VALUE="<%= $zip %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Country</TH>
-  <TD><%= $country_html %></TD>
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="daytime" VALUE="<%= $daytime %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="night" VALUE="<%= $night %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="fax" VALUE="<%= $fax %>" SIZE=12></TD>
-</TR>
-</TABLE><font color="#ff0000">*</font> required fields<BR>
-<BR>Billing information<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR><TD>
-
-  <%=
-    $OUT .= '<INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST"';
-    my @invoicing_list = split(', ', $invoicing_list );
-    $OUT .= ' CHECKED'
-      if ! @invoicing_list || grep { $_ eq 'POST' } @invoicing_list;
-    $OUT .= '>';
-  %>
-
-  Postal mail invoice
-</TD></TR>
-<TR><TD>Email invoice <INPUT TYPE="text" NAME="invoicing_list" VALUE="<%= join(', ', grep { $_ ne 'POST' } split(', ', $invoicing_list ) ) %>">
-</TD></TR>
-<%= scalar(@payby) > 1 ? '<TR><TD>Billing type</TD></TR>' : '' %>
-</TABLE>
-<TABLE BGCOLOR="#c0c0c0" BORDER=1 WIDTH="100%">
-<TR>
-
-  <%=
-
-    my $cardselect = '<SELECT NAME="CARD_type"><OPTION></OPTION>';
-    my %types = (
-                  'VISA' => 'VISA card',
-                  'MasterCard' => 'MasterCard',
-                  'Discover' => 'Discover card',
-                  'American Express' => 'American Express card',
-                );
-    foreach ( keys %types ) {
-      $selected = $cgi->param('CARD_type') eq $types{$_} ? 'SELECTED' : '';
-      $cardselect .= qq!<OPTION $selected VALUE="$types{$_}">$_</OPTION>!;
-    }
-    $cardselect .= '</SELECT>';
-  
-    my %payby = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", "12-2037"). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="Accounts Payable">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("COMP"),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="" MAXLENGTH=80>!,
-    );
-
-    if ( $init_data->{'cvv_enabled'} ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $payby{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    my( $account, $aba ) = split('@', $payinfo);
-    my %paybychecked = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="$payname">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="$payname">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="$payname">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="$payname">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="$payinfo" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", $paydate). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="$payname">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("COMP", $paydate),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="$payinfo" MAXLENGTH=80>!,
-    );
-
-    if ( $init_data->{'cvv_enabled'} ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $paybychecked{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="$paycvv" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    for (@payby) {
-      if ( scalar(@payby) == 1) {
-        $OUT .= '<TD VALIGN=TOP>'.
-                qq!<INPUT TYPE="hidden" NAME="payby" VALUE="$_">!.
-                "$paybychecked{$_}</TD>";
-      } else {
-        $OUT .= qq!<TD VALIGN=TOP><INPUT TYPE="radio" NAME="payby" VALUE="$_"!;
-        if ($payby eq $_) {
-          $OUT .= qq! CHECKED> $paybychecked{$_}</TD>!;
-        } else {
-          $OUT .= qq!> $payby{$_}</TD>!;
-        }
-
-      }
-    }
-  %>
-
-</TR></TABLE><font color="#ff0000">*</font> required fields for each billing type
-<BR><BR>First package
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TD COLSPAN=2><SELECT NAME="pkgpart"><OPTION VALUE="">(none)
-
-  <%=
-    foreach my $package ( @{$packages} ) {
-      $OUT .= '<OPTION VALUE="'. $package->{'pkgpart'}. '"';
-      $OUT .= ' SELECTED' if $pkgpart && $package->{'pkgpart'} == $pkgpart;
-      $OUT .= '>'. $package->{'pkg'};
-    }
-  %>
-
-  </SELECT></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $password %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Re-enter Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $password2 %>"></TD>
-</TR>
-<%=
-  if ( $init_data->{'security_phrase'} ) {
-    $OUT .= <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-  }
-%>
-<%=
-  if ( scalar(@$pops) ) {
-    $OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
-            popselector($popnum). '</TD></TR>';
-  } else {
-    $OUT .= popselector($popnum);
-  }
-%>
-</TABLE>
-<BR><BR>Enter up to ten external accounts from which to retrieve email
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="left">Mail server</TH>
-  <TH ALIGN="left">Username</TH>
-  <TH ALIGN="left">Password</TH>
-</TR>
-<%=
-  for my $num ( 1..10 ) {
-    no strict 'vars';
-    $OUT .= qq!<TR><TD><INPUT TYPE="text" NAME="snarf_machine$num" VALUE="${"snarf_machine$num"}"></TD>!.
-            qq!<INPUT TYPE="hidden" NAME="snarf_protocol$num" VALUE="pop3">!.
-            qq!<TD><INPUT TYPE="text" NAME="snarf_username$num" VALUE="${"snarf_username$num"}"></TD>!.
-            qq!<TD><INPUT TYPE="password" NAME="snarf_password$num" VALUE="${"snarf_password$num"}"></TD>!.
-            qq!</TR>!;
-  }
-%>
-</TABLE>
-
-<BR><BR><INPUT TYPE="submit" VALUE="Signup">
-</FORM></BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/signup.cgi b/fs_selfservice/FS-SelfService/cgi/signup.cgi
deleted file mode 100755 (executable)
index d2ad0d6..0000000
+++ /dev/null
@@ -1,333 +0,0 @@
-#!/usr/bin/perl -T
-#!/usr/bin/perl -Tw
-#
-# $Id: signup.cgi,v 1.2 2005-03-12 14:35:12 ivan Exp $
-
-use strict;
-use vars qw( @payby $cgi $init_data
-             $self_url $error $agentnum
-
-             $ieak_file $ieak_template
-             $signup_html $signup_template
-             $success_html $success_template
-             $decline_html $decline_template
-           );
-
-use subs qw( print_form print_okay print_decline
-             success_default decline_default
-           );
-use CGI;
-#use CGI::Carp qw(fatalsToBrowser);
-use Text::Template;
-use Business::CreditCard;
-use HTTP::BrowserDetect;
-use FS::SelfService qw( signup_info new_customer );
-
-#acceptable payment methods
-#
-#@payby = qw( CARD BILL COMP );
-#@payby = qw( CARD BILL );
-#@payby = qw( CARD );
-@payby = qw( CARD PREPAY );
-
-$ieak_file = '/usr/local/freeside/ieak.template';
-$signup_html = -e 'signup.html'
-                 ? 'signup.html'
-                 : '/usr/local/freeside/signup.html';
-$success_html = -e 'success.html'
-                  ? 'success.html'
-                  : '/usr/local/freeside/success.html';
-$decline_html = -e 'decline.html'
-                  ? 'decline.html'
-                  : '/usr/local/freeside/decline.html';
-
-
-if ( -e $ieak_file ) {
-  my $ieak_txt = Text::Template::_load_text($ieak_file)
-    or die $Text::Template::ERROR;
-  $ieak_txt =~ /^(.*)$/s; #untaint the template source - it's trusted
-  $ieak_txt = $1;
-  $ieak_txt =~ s/\r//g; # don't double \r on old templates
-  $ieak_txt =~ s/\n/\r\n/g;
-  $ieak_template = new Text::Template ( TYPE => 'STRING', SOURCE => $ieak_txt )
-    or die $Text::Template::ERROR;
-} else {
-  $ieak_template = '';
-}
-
-$agentnum = '';
-if ( -e $signup_html ) {
-  my $signup_txt = Text::Template::_load_text($signup_html)
-    or die $Text::Template::ERROR;
-  $signup_txt =~ /^(.*)$/s; #untaint the template source - it's trusted
-  $signup_txt = $1;
-  $signup_template = new Text::Template ( TYPE => 'STRING',
-                                          SOURCE => $signup_txt,
-                                          DELIMITERS => [ '<%=', '%>' ]
-                                        )
-    or die $Text::Template::ERROR;
-  if ( $signup_txt =~
-         /<\s*INPUT TYPE="?hidden"?\s+NAME="?agentnum"?\s+VALUE="?(\d+)"?\s*>/si
-  ) {
-    $agentnum = $1;
-  }
-} else {
-  #too much maintenance hassle to keep in this file
-  die "can't find ./signup.html or /usr/local/freeside/signup.html";
-  #$signup_template = new Text::Template ( TYPE => 'STRING',
-  #                                        SOURCE => &signup_default,
-  #                                        DELIMITERS => [ '<%=', '%>' ]
-  #                                      )
-  #  or die $Text::Template::ERROR;
-}
-
-if ( -e $success_html ) {
-  my $success_txt = Text::Template::_load_text($success_html)
-    or die $Text::Template::ERROR;
-  $success_txt =~ /^(.*)$/s; #untaint the template source - it's trusted
-  $success_txt = $1;
-  $success_template = new Text::Template ( TYPE => 'STRING',
-                                           SOURCE => $success_txt,
-                                           DELIMITERS => [ '<%=', '%>' ],
-                                         )
-    or die $Text::Template::ERROR;
-} else {
-  $success_template = new Text::Template ( TYPE => 'STRING',
-                                           SOURCE => &success_default,
-                                           DELIMITERS => [ '<%=', '%>' ],
-                                         )
-    or die $Text::Template::ERROR;
-}
-
-if ( -e $decline_html ) {
-  my $decline_txt = Text::Template::_load_text($decline_html)
-    or die $Text::Template::ERROR;
-  $decline_txt =~ /^(.*)$/s; #untaint the template source - it's trusted
-  $decline_txt = $1;
-  $decline_template = new Text::Template ( TYPE => 'STRING',
-                                           SOURCE => $decline_txt,
-                                           DELIMITERS => [ '<%=', '%>' ],
-                                         )
-    or die $Text::Template::ERROR;
-} else {
-  $decline_template = new Text::Template ( TYPE => 'STRING',
-                                           SOURCE => &decline_default,
-                                           DELIMITERS => [ '<%=', '%>' ],
-                                         )
-    or die $Text::Template::ERROR;
-}
-
-$cgi = new CGI;
-
-$init_data = signup_info( 'agentnum'   => $agentnum,
-                          'promo_code' => scalar($cgi->param('promo_code')),
-                          'reg_code'   => uc(scalar($cgi->param('reg_code'))),
-                        );
-
-if (    ( defined($cgi->param('magic')) && $cgi->param('magic') eq 'process' )
-     || ( defined($cgi->param('action')) && $cgi->param('action') eq 'process_signup' )
-   ) {
-
-    $error = '';
-
-    $cgi->param('agentnum', $agentnum) if $agentnum;
-    $cgi->param('reg_code', uc(scalar($cgi->param('reg_code'))) );
-
-    #false laziness w/agent.cgi, identical except for agentnum
-    my $payby = $cgi->param('payby');
-    if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) {
-      #$payinfo = join('@', map { $cgi->param( $payby. "_payinfo$_" ) } (1,2) );
-      $cgi->param('payinfo' => $cgi->param($payby. '_payinfo1'). '@'. 
-                               $cgi->param($payby. '_payinfo2')
-                 );
-    } else {
-      $cgi->param('payinfo' => $cgi->param( $payby. '_payinfo' ) );
-    }
-    $cgi->param('paydate' => $cgi->param( $payby. '_month' ). '-'.
-                             $cgi->param( $payby. '_year' )
-               );
-    $cgi->param('payname' => $cgi->param( $payby. '_payname' ) );
-    $cgi->param('paycvv' => defined $cgi->param( $payby. '_paycvv' )
-                              ? $cgi->param( $payby. '_paycvv' )
-                              : ''
-               );
-
-    if ( $cgi->param('invoicing_list') ) {
-      $cgi->param('invoicing_list' => $cgi->param('invoicing_list'). ', POST')
-        if $cgi->param('invoicing_list_POST');
-    } else {
-      $cgi->param('invoicing_list' => 'POST' );
-    }
-
-    if ( $cgi->param('_password') ne $cgi->param('_password2') ) {
-      $error = $init_data->{msgcat}{passwords_dont_match}; #msgcat
-      $cgi->param('_password', '');
-      $cgi->param('_password2', '');
-    }
-
-    if ( $payby =~ /^(CARD|DCRD)$/ && $cgi->param('CARD_type') ) {
-      my $payinfo = $cgi->param('payinfo');
-      $payinfo =~ s/\D//g;
-
-      $payinfo =~ /^(\d{13,16})$/
-        or $error ||= $init_data->{msgcat}{invalid_card}; #. $self->payinfo;
-      $payinfo = $1;
-      validate($payinfo)
-        or $error ||= $init_data->{msgcat}{invalid_card}; #. $self->payinfo;
-      cardtype($payinfo) eq $cgi->param('CARD_type')
-        or $error ||= $init_data->{msgcat}{not_a}. $cgi->param('CARD_type');
-    }
-
-    unless ( $error ) {
-      my $rv = new_customer( {
-        map { $_ => scalar($cgi->param($_)) }
-          qw( last first ss company
-              address1 address2 city county state zip country
-              daytime night fax
-
-              ship_last ship_first ship_company
-              ship_address1 ship_address2 ship_city ship_county ship_state
-                ship_zip ship_country
-              ship_daytime ship_night ship_fax
-
-              payby payinfo paycvv paydate payname invoicing_list
-              referral_custnum promo_code reg_code
-              pkgpart username sec_phrase _password popnum refnum
-              agentnum
-            ),
-          grep { /^snarf_/ } $cgi->param
-      } );
-      $error = $rv->{'error'};
-    }
-    #eslaf
-    
-    if ( $error eq '_decline' ) {
-      print_decline();
-    } elsif ( $error ) {
-      #fudge the snarf info
-      no strict 'refs';
-      ${$_} = $cgi->param($_) foreach grep { /^snarf_/ } $cgi->param;
-      print_form();
-    } else {
-      print_okay(
-        'pkgpart' => scalar($cgi->param('pkgpart')),
-      );
-    }
-
-} else {
-  $error = '';
-  print_form;
-}
-
-sub print_form {
-
-  $error = "Error: $error" if $error;
-
-  my $r = {
-    $cgi->Vars,
-    %{$init_data},
-    'error' => $error,
-  };
-
-  $r->{referral_custnum} = $r->{'ref'};
-  #$cgi->delete('ref');
-  #$cgi->delete('init_popstate');
-  $r->{self_url} = $cgi->self_url;
-
-  print $cgi->header( '-expires' => 'now' ),
-        $signup_template->fill_in( PACKAGE => 'FS::SelfService::_signupcgi',
-                                   HASH    => $r
-                                 );
-}
-
-sub print_decline {
-  print $cgi->header( '-expires' => 'now' ),
-        $decline_template->fill_in();
-}
-
-sub print_okay {
-  my %param = @_;
-  my $user_agent = new HTTP::BrowserDetect $ENV{HTTP_USER_AGENT};
-
-  $cgi->param('username') =~ /^(.+)$/
-    or die "fatal: invalid username got past FS::SelfService::new_customer";
-  my $username = $1;
-  $cgi->param('_password') =~ /^(.+)$/
-    or die "fatal: invalid password got past FS::SelfService::new_customer";
-  my $password = $1;
-  ( $cgi->param('first'). ' '. $cgi->param('last') ) =~ /^(.*)$/
-    or die "fatal: invalid email_name got past FS::SelfService::new_customer";
-  my $email_name = $1; #global for template
-
-  #my %pop = ();
-  my %popnum2pop = ();
-  foreach ( @{ $init_data->{'svc_acct_pop'} } ) {
-    #push @{ $pop{ $_->{state} }->{ $_->{ac} } }, $_;
-    $popnum2pop{$_->{popnum}} = $_;
-  }
-
-  my( $ac, $exch, $loc);
-  my $pop = $popnum2pop{$cgi->param('popnum')};
-    #or die "fatal: invalid popnum got past FS::SelfService::new_customer";
-  if ( $pop ) {
-    ( $ac, $exch, $loc ) = ( $pop->{'ac'}, $pop->{'exch'}, $pop->{'loc'} );
-  } else {
-    ( $ac, $exch, $loc ) = ( '', '', ''); #presumably you're not using them.
-  }
-
-  #global for template
-  my $pkg = ( grep { $_->{'pkgpart'} eq $param{'pkgpart'} }
-                   @{ $init_data->{'part_pkg'} }
-            )[0]->{'pkg'};
-
-  if ( $ieak_template && $user_agent->windows && $user_agent->ie ) {
-    #send an IEAK config
-    print $cgi->header('application/x-Internet-signup'),
-          $ieak_template->fill_in();
-  } else { #send a simple confirmation
-    print $cgi->header( '-expires' => 'now' ),
-          $success_template->fill_in( HASH => {
-            username   => $username,
-            password   => $password,
-            _password  => $password,
-            email_name => $email_name,
-            ac         => $ac,
-            exch       => $exch,
-            loc        => $loc,
-            pkg        => $pkg,
-          });
-  }
-}
-
-sub success_default { #html to use if you don't specify a success file
-  <<'END';
-<HTML><HEAD><TITLE>Signup successful</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>Signup successful</FONT><BR><BR>
-Thanks for signing up!
-<BR><BR>
-Signup information for <%= $email_name %>:
-<BR><BR>
-Username: <%= $username %><BR>
-Password: <%= $password %><BR>
-Access number: (<%= $ac %>) / <%= $exch %> - <%= $local %><BR>
-Package: <%= $pkg %><BR>
-</BODY></HTML>
-END
-}
-
-sub decline_default { #html to use if there is a decline
-  <<'END';
-<HTML><HEAD><TITLE>Processing error</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>Processing error</FONT><BR><BR>
-There has been an error processing your account.  Please contact customer
-support.
-</BODY></HTML>
-END
-}
-
-# subs for the templates...
-
-package FS::SelfService::_signupcgi;
-use HTML::Entities;
-use FS::SelfService qw(regionselector expselect popselector);
-
diff --git a/fs_selfservice/FS-SelfService/cgi/signup.html b/fs_selfservice/FS-SelfService/cgi/signup.html
deleted file mode 100755 (executable)
index 2ab07b3..0000000
+++ /dev/null
@@ -1,236 +0,0 @@
-<HTML><HEAD><TITLE><%= $agent || 'ISP' %> Signup form</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8" onUnload="myclose()">
-<script language="JavaScript"><!--
-  var mywindow = -1;
-  function myopen(filename,windowname,properties) {
-    myclose();
-    mywindow = window.open(filename,windowname,properties);
-  }
-  function myclose() {
-    if ( mywindow != -1 )
-      mywindow.close();
-    mywindow = -1
-  }
-//--></script>
-<FONT SIZE=7><%= $agent || 'ISP' %> Signup form</FONT><BR><BR>
-<FONT SIZE="+1" COLOR="#ff0000"><%= $error %></FONT>
-<FORM NAME="OneTrueForm" ACTION="<%= $self_url %>" METHOD=POST onSubmit="document.OneTrueForm.signup.disabled=true">
-<INPUT TYPE="hidden" NAME="session" VALUE="<%= $session_id %>">
-<INPUT TYPE="hidden" NAME="action" VALUE="process_signup">
-<INPUT TYPE="hidden" NAME="referral_custnum" VALUE="<%= $referral_custnum %>">
-<INPUT TYPE="hidden" NAME="ss" VALUE="">
-Where did you hear about our service? <SELECT NAME="refnum">
-<%=
-  $OUT .= '<OPTION VALUE="">' unless $refnum;
-  foreach my $part_referral ( @part_referral ) {
-    $OUT .= '<OPTION VALUE="'. $part_referral->{'refnum'}. '"';
-    $OUT .= ' SELECTED' if $part_referral->{'refnum'} eq $refnum;
-    $OUT .= '>'. $part_referral->{'referral'};
-  }
-%>
-</SELECT><BR><BR>
-Contact Information
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Contact name<BR>(last, first)</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="last" VALUE="<%= $last %>">,
-                <INPUT TYPE="text" NAME="first" VALUE="<%= $first %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="company" SIZE=70 VALUE="<%= $company %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Address</TH>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address1" SIZE=70 VALUE="<%= $address1 %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="address2" SIZE=70 VALUE="<%= $address2 %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>City</TH>
-  <TD><INPUT TYPE="text" NAME="city" VALUE="<%= $city %>"></TD>
-  <TH ALIGN="right"><font color="#ff0000">*</font>State/Country</TH>
-  <TD>
-    <%=
-        ($county_html, $state_html, $country_html) =
-          regionselector( {
-            selected_county  => $county,
-            selected_state   => $state,
-            selected_country => $country,
-            default_state    => $statedefault,
-            default_country  => $countrydefault,
-            locales          => \@cust_main_county,
-          } );
-        "$county_html $state_html";
-    %>
-  </TD>
-  <TH><font color="#ff0000">*</font>Zip</TH>
-  <TD><INPUT TYPE="text" NAME="zip" SIZE=10 VALUE="<%= $zip %>"></TD>
-</TR>
-<TR>
-  <TH ALIGN="right"><font color="#ff0000">*</font>Country</TH>
-  <TD><%= $country_html %></TD>
-<TR>
-  <TD ALIGN="right">Day Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="daytime" VALUE="<%= $daytime %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Night Phone</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="night" VALUE="<%= $night %>" SIZE=18></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5><INPUT TYPE="text" NAME="fax" VALUE="<%= $fax %>" SIZE=12></TD>
-</TR>
-</TABLE><font color="#ff0000">*</font> required fields<BR>
-<BR>Billing information<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR><TD>
-
-  <%=
-    $OUT .= '<INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST"';
-    my @invoicing_list = split(', ', $invoicing_list );
-    $OUT .= ' CHECKED'
-      if ! @invoicing_list || grep { $_ eq 'POST' } @invoicing_list;
-    $OUT .= '>';
-  %>
-
-  Postal mail invoice
-</TD></TR>
-<TR><TD>Email invoice <INPUT TYPE="text" NAME="invoicing_list" VALUE="<%= join(', ', grep { $_ ne 'POST' } split(', ', $invoicing_list ) ) %>">
-</TD></TR>
-<%= scalar(@payby) > 1 ? '<TR><TD>Billing type</TD></TR>' : '' %>
-</TABLE>
-<TABLE BGCOLOR="#c0c0c0" BORDER=1 WIDTH="100%">
-<TR>
-
-  <%=
-
-    my $cardselect = '<SELECT NAME="CARD_type"><OPTION></OPTION>';
-    my %types = (
-                  'VISA' => 'VISA card',
-                  'MasterCard' => 'MasterCard',
-                  'Discover' => 'Discover card',
-                  'American Express' => 'American Express card',
-                );
-    foreach ( keys %types ) {
-      $selected = $CARD_type eq $types{$_} ? 'SELECTED' : '';
-      $cardselect .= qq!<OPTION $selected VALUE="$types{$_}">$_</OPTION>!;
-    }
-    $cardselect .= '</SELECT>';
-  
-    my %payby = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD"). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", "12-2037"). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="Accounts Payable">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE=""><BR><font color="#ff0000">*</font>Exp !. expselect("COMP"),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="" MAXLENGTH=80>!,
-    );
-
-    if ( $cvv_enabled ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $payby{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    my( $account, $aba ) = split('@', $payinfo);
-    my %paybychecked = (
-      'CARD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="CARD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("CARD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="CARD_payname" VALUE="$payname">!,
-      'DCRD' => qq!Credit card<BR><font color="#ff0000">*</font>$cardselect<INPUT TYPE="text" NAME="DCRD_payinfo" VALUE="$payinfo" MAXLENGTH=19><BR><font color="#ff0000">*</font>Exp !. expselect("DCRD", $paydate). qq!<BR><font color="#ff0000">*</font>Name on card<BR><INPUT TYPE="text" NAME="DCRD_payname" VALUE="$payname">!,
-      'CHEK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="CHEK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="CHEK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="CHEK_month" VALUE="12"><INPUT TYPE="hidden" NAME="CHEK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="CHEK_payname" VALUE="$payname">!,
-      'DCHK' => qq!Electronic check<BR>${r}Account number <INPUT TYPE="text" NAME="DCHK_payinfo1" VALUE="$account" MAXLENGTH=10><BR>${r}ABA/Routing code <INPUT TYPE="text" NAME="DCHK_payinfo2" VALUE="$aba" SIZE=10 MAXLENGTH=9><INPUT TYPE="hidden" NAME="DCHK_month" VALUE="12"><INPUT TYPE="hidden" NAME="DCHK_year" VALUE="2037"><BR>${r}Bank name <INPUT TYPE="text" NAME="DCHK_payname" VALUE="$payname">!,
-      'LECB' => qq!Phone bill billing<BR>${r}Phone number <INPUT TYPE="text" BANE="LECB_payinfo" VALUE="$payinfo" MAXLENGTH=15 SIZE=16><INPUT TYPE="hidden" NAME="LECB_month" VALUE="12"><INPUT TYPE="hidden" NAME="LECB_year" VALUE="2037"><INPUT TYPE="hidden" NAME="LECB_payname" VALUE="">!,
-      'BILL' => qq!Billing<BR>P.O. <INPUT TYPE="text" NAME="BILL_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("BILL", $paydate). qq!<BR><font color="#ff0000">*</font>Attention<BR><INPUT TYPE="text" NAME="BILL_payname" VALUE="$payname">!,
-      'COMP' => qq!Complimentary<BR><font color="#ff0000">*</font>Approved by<INPUT TYPE="text" NAME="COMP_payinfo" VALUE="$payinfo"><BR><font color="#ff0000">*</font>Exp !. expselect("COMP", $paydate),
-      'PREPAY' => qq!Prepaid card<BR><font color="#ff0000">*</font><INPUT TYPE="text" NAME="PREPAY_payinfo" VALUE="$payinfo" MAXLENGTH=80>!,
-    );
-
-    if ( $cvv_enabled ) {
-      foreach my $payby ( grep { exists $payby{$_} } qw(CARD DCRD) ) { #1.4/1.5
-        $paybychecked{$payby} .= qq!<BR>CVV2&nbsp;(<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)&nbsp;<INPUT TYPE="text" NAME=${payby}_paycvv VALUE="$paycvv" SIZE=4 MAXLENGTH=4>!;
-      }
-    }
-
-    for (@payby) {
-      if ( scalar(@payby) == 1) {
-        $OUT .= '<TD VALIGN=TOP>'.
-                qq!<INPUT TYPE="hidden" NAME="payby" VALUE="$_">!.
-                "$paybychecked{$_}</TD>";
-      } else {
-        $OUT .= qq!<TD VALIGN=TOP><INPUT TYPE="radio" NAME="payby" VALUE="$_"!;
-        if ($payby eq $_) {
-          $OUT .= qq! CHECKED> $paybychecked{$_}</TD>!;
-        } else {
-          $OUT .= qq!> $payby{$_}</TD>!;
-        }
-
-      }
-    }
-  %>
-
-</TR></TABLE><font color="#ff0000">*</font> required fields for each billing type
-<BR><BR>First package
-<INPUT TYPE="hidden" NAME="promo_code" VALUE="<%= $promo_code %>">
-<INPUT TYPE="hidden" NAME="reg_code" VALUE="<%= $reg_code %>">
-<TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=0 WIDTH="100%">
-<TR>
-  <TD COLSPAN=2><SELECT NAME="pkgpart">
-
-  <%=
-    $OUT .= '<OPTION VALUE="">(none)' unless scalar(@part_pkg ) ==1;
-    foreach my $part_pkg ( @part_pkg ) {
-      $OUT .= '<OPTION VALUE="'. $part_pkg->{'pkgpart'}. '"';
-      $OUT .= ' SELECTED' if $pkgpart && $part_pkg->{'pkgpart'} == $pkgpart;
-      $OUT .= '>'. $part_pkg->{'pkg'};
-    }
-  %>
-
-  </SELECT></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $_password %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Re-enter Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $_password2 %>"></TD>
-</TR>
-<%=
-  if ( $security_phrase ) {
-    $OUT .= <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-  }
-%>
-<%=
-  if ( @svc_acct_pop ) {
-    $OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
-            popselector( 'popnum'        => $popnum,
-                         'pops'          => \@svc_acct_pop,
-                         'init_popstate' => $init_popstate,
-                         'popac'         => $popac,
-                         'acstate'       => $acstate,
-                       ).
-            '</TD></TR>';
-  } else {
-    $OUT .= popselector(popnum=>$popnum, pops=>\@svc_acct_pop);
-  }
-%>
-</TABLE>
-<BR><BR><INPUT TYPE="submit" NAME="signup" VALUE="Signup">
-</FORM></BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/stateselect.html b/fs_selfservice/FS-SelfService/cgi/stateselect.html
deleted file mode 100644 (file)
index ba55bff..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-<HTML><HEAD><TITLE>ISP Signup</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>ISP Signup - state selection</FONT><BR><BR>
-<SCRIPT>
-function gotoURL(object) {
-    window.location.href = object.options[object.selectedIndex].value;
-}
-</SCRIPT>
-<FORM>
-Select your state from the map or dropdown: 
-<MAP NAME=usmap>
-<area shape=poly COORDS="264,157,286,155,292,193,276,195,270,199,264,157" href="signup.cgi?init_popstate=AL">
-<area shape=poly COORDS="28,197,46,185,72,199,72,241,88,243,102,261,92,263,70,241,42,243,28,257,12,259,34,243,20,233,16,223,34,215,22,207,30,205,28,197" href="../states/Alaska.html">
-<area shape=poly COORDS="70,137,106,137,100,189,84,187,60,173,70,133,70,137,70,137" href="signup.cgi?init_popstate=AZ">
-<area shape=poly COORDS="250,153,242,179,220,177,218,171,216,145,252,143,250,155,250,153" href="signup.cgi?init_popstate=AR">
-<area shape=poly COORDS="10,79,38,81,30,109,62,151,56,173,40,169,20,145,4,101,10,75,26,79,10,79,10,79" href="signup.cgi?init_popstate=CA">
-<area shape=poly COORDS="108,103,158,107,154,141,104,137,110,101,128,103,108,103" href="signup.cgi?init_popstate=CO">
-<area shape=poly COORDS="374,107,405,105,405,123,372,125,374,107" href="signup.cgi?init_popstate=CT">
-<area shape=poly COORDS="370,143,402,145,405,157,362,157,370,143" href="signup.cgi?init_popstate=DE">
-<area shape=poly COORDS="275,193,325,187,327,197,341,219,341,233,335,237,317,215,315,205,307,195,293,203,275,193" href="signup.cgi?init_popstate=FL">
-<area shape=poly COORDS="297,153,283,155,297,191,321,189,321,169,297,153" href="signup.cgi?init_popstate=GA">
-<area shape=poly COORDS="98,233,142,263,156,251,162,239,164,229,136,231,94,221,100,235,98,233" href="signup.cgi?init_popstate=HI">
-<area shape=poly COORDS="68,21,76,21,72,35,80,47,80,55,84,65,100,69,94,93,56,83,66,51,70,19,68,21" href="signup.cgi?init_popstate=ID">
-<area shape=poly COORDS="242,91,258,89,266,123,256,139,234,109,248,87,242,91" href="signup.cgi?init_popstate=IL">
-<area shape=poly COORDS="261,95,265,123,265,131,285,117,277,91,261,95" href="signup.cgi?init_popstate=IN">
-<area shape=poly COORDS="198,87,206,111,232,109,240,99,240,91,232,79,198,87" href="signup.cgi?init_popstate=IA">
-<area shape=poly COORDS="158,111,158,135,214,139,214,127,208,113,158,111" href="signup.cgi?init_popstate=KS">
-<area shape=poly COORDS="263,133,275,129,289,115,303,121,307,129,299,135,251,141,269,131,263,133" href="signup.cgi?init_popstate=KY">
-<area shape=poly COORDS="222,179,246,179,244,197,258,193,262,213,226,209,224,177,222,179" href="signup.cgi?init_popstate=LA">
-<area shape=poly COORDS="363,37,373,59,373,47,387,31,377,9,365,15,363,37" href="signup.cgi?init_popstate=ME">
-<area shape=poly COORDS="376,159,405,159,405,175,374,177,376,159" href="signup.cgi?init_popstate=MD">
-<area shape=poly COORDS="378,74,380,88,404,88,404,72,378,74" href="signup.cgi?init_popstate=MA">
-<area shape=poly COORDS="265,73,269,83,265,93,293,91,295,71,281,53,271,53,267,69,265,73,265,73" href="signup.cgi?init_popstate=MI">
-<area shape=poly COORDS="194,31,222,33,242,35,224,51,222,63,222,73,234,79,196,85,194,31" href="signup.cgi?init_popstate=MN">
-<area shape=poly COORDS="265,159,271,199,257,201,259,195,241,197,251,155,265,159" href="signup.cgi?init_popstate=MS">
-<area shape=poly COORDS="206,113,234,111,256,139,248,147,214,145,208,111,206,113" href="signup.cgi?init_popstate=MO">
-<area shape=poly COORDS="78,23,148,31,146,67,84,63,78,35,80,19,78,23" href="signup.cgi?init_popstate=MT">
-<area shape=poly COORDS="146,85,148,103,158,105,164,109,206,109,198,85,144,87,146,85" href="signup.cgi?init_popstate=NE">
-<area shape=poly COORDS="40,83,76,87,64,151,32,109,40,83,40,83" href="signup.cgi?init_popstate=NV">
-<area shape=poly COORDS="298,11,330,9,330,25,298,25,298,11" href="signup.cgi?init_popstate=NH">
-<area shape=poly COORDS="372,127,404,125,405,141,368,139,376,125,372,127" href="signup.cgi?init_popstate=NJ">
-<area shape=poly COORDS="106,137,100,191,122,187,148,187,150,139,106,137,106,137" href="signup.cgi?init_popstate=NM">
-<area shape=poly COORDS="313,79,331,63,337,45,349,45,359,65,357,79,345,65,315,77,313,79,313,79" href="signup.cgi?init_popstate=NY">
-<area shape=poly COORDS="309,137,295,151,319,149,337,153,357,131,351,129,309,137,309,137" href="signup.cgi?init_popstate=NC">
-<area shape=poly COORDS="146,31,148,57,198,57,190,31,146,31,146,31" href="signup.cgi?init_popstate=ND">
-<area shape=poly COORDS="281,93,285,113,299,121,311,101,309,85,299,93,281,93,281,93" href="signup.cgi?init_popstate=OH">
-<area shape=poly COORDS="148,145,174,145,174,163,218,171,216,143,150,139,150,145,156,143,148,145,148,145" href="signup.cgi?init_popstate=OK">
-<area shape=poly COORDS="20,41,8,73,16,77,22,77,28,77,36,79,42,81,48,83,56,83,66,49,20,41,20,41" href="signup.cgi?init_popstate=OR">
-<area shape=poly COORDS="309,83,345,71,351,93,313,105,309,83,309,83" href="signup.cgi?init_popstate=PA">
-<area shape=poly COORDS="376,93,405,93,405,107,376,105,376,93" href="signup.cgi?init_popstate=RI">
-<area shape=poly COORDS="301,155,321,149,337,155,325,175,301,157,301,155,301,155" href="signup.cgi?init_popstate=SC">
-<area shape=poly COORDS="146,59,198,61,198,83,146,83,148,57,146,59,146,59" href="signup.cgi?init_popstate=SD">
-<area shape=poly COORDS="255,145,251,157,297,153,311,133,255,145,255,145" href="signup.cgi?init_popstate=TN">
-<area shape=poly COORDS="150,145,172,145,174,167,198,173,218,173,228,207,204,221,198,231,202,247,180,241,154,207,146,219,120,189,154,189,152,145,150,145,150,145" href="signup.cgi?init_popstate=TX">
-<area shape=poly COORDS="78,89,96,91,96,103,110,103,106,135,70,133,78,89,78,89" href="signup.cgi?init_popstate=UT">
-<area shape=poly COORDS="298,29,332,29,332,47,294,45,298,29" href="signup.cgi?init_popstate=VT">
-<area shape=poly COORDS="307,127,297,137,351,127,349,113,341,111,341,105,329,107,315,131,307,127,307,127" href="signup.cgi?init_popstate=VA">
-<area shape=poly COORDS="32,13,68,19,64,47,20,39,20,13,30,19,32,13,32,13" href="signup.cgi?init_popstate=WA">
-<area shape=poly COORDS="303,119,313,129,329,103,311,105,299,121,313,127,303,119,303,119" href="signup.cgi?init_popstate=WV">
-<area shape=poly COORDS="228,51,256,55,254,89,238,89,234,77,224,71,230,49,236,53,228,51,228,51" href="signup.cgi?init_popstate=WI">
-<area shape=poly COORDS="146,71,144,103,96,99,102,63,148,69,146,71,146,71" href="signup.cgi?init_popstate=WY">
-</MAP>
-<IMG SRC="map.gif" usemap=#usmap WIDTH=405 HEIGHT=270 border=0><BR>
-<SELECT NAME="init_popstate" onChange="gotoURL(this.form.init_popstate)">
-<OPTION VALUE="stateselect.html"></OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AL">Alabama</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AK">Alaska</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=AS">American Samoa</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=AZ">Arizona</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AR">Arkansas</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=CA">California</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=CO">Colorado</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=CT">Connecticut</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=DE">Delaware</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=DC">District of Columbia</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=FM">Federated States of Micronesia</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=FL">Florida</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=GA">Georgia</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=GU">Guam</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=HI">Hawaii</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=ID">Idaho</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=IL">Illinois</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=IN">Indiana</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=IA">Iowa</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=KS">Kansas</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=KY">Kentucky</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=LA">Louisiana</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=ME">Maine</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=MH">Marshall Islands</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=MD">Maryland</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=MA">Massachusetts</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=MI">Michigan</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=MN">Minnesota</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=MS">Mississippi</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=MO">Missouri</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=MT">Montana</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=NE">Nebraska</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=NV">Nevada</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=NH">New Hampshire</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=NJ">New Jersey</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=NM">New Mexico</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=NY">New York</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=NC">North Carolina</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=ND">North Dakota</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=MP">Northern Mariana Islands</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=OH">Ohio</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=OK">Oklahoma</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=OR">Oregon</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=PW">Palau</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=PA">Pennsylvania</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=PR">Puerto Rico</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=RI">Rhode Island</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=SC">South Carolina</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=SD">South Dakota</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=TN">Tennessee</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=TX">Texas</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=UT">Utah</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=VT">Vermont</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=VI">Virgin Islands</OPTION>-->
-<OPTION VALUE="signup.cgi?init_popstate=VA">Virginia</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=WA">Washington</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=WV">West Virginia</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=WI">Wisconsin</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=WY">Wyoming</OPTION>
-<!--<OPTION VALUE="signup.cgi?init_popstate=AE">Armed Forces Africa</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AA">Armed Forces Americas</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AE">Armed Forces Canada</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AE">Armed Forces Europe</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AE">Armed Forces Middle East</OPTION>
-<OPTION VALUE="signup.cgi?init_popstate=AP">Armed Forces Pacific</OPTION>
--->
-</SELECT>
-</FORM>
-</BODY>
-</HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/success.html b/fs_selfservice/FS-SelfService/cgi/success.html
deleted file mode 100644 (file)
index 397cc6c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<HTML><HEAD><TITLE>Signup successful</TITLE></HEAD>
-<BODY BGCOLOR="#e8e8e8"><FONT SIZE=7>Signup successful</FONT><BR><BR>
-Thanks for signing up!
-<BR><BR>
-Signup information for <%= $email_name %>:
-<BR><BR>
-Username: <%= $username %><BR>
-Password: <%= $password %><BR>
-Access number: (<%= $ac %>) / <%= $exch %> - <%= $local %><BR>
-Package: <%= $pkg %><BR>
-</BODY></HTML>
diff --git a/fs_selfservice/FS-SelfService/cgi/svc_acct.html b/fs_selfservice/FS-SelfService/cgi/svc_acct.html
deleted file mode 100644 (file)
index abed878..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<FONT SIZE=4>Setup <%= $svc %></FONT><BR><BR>
-
-<%= if ( $error ) {
-  $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">Error setting up $svc: $error!.
-          '</FONT><BR><BR>';
-} ''; %>
-<FORM ACTION="<%= $selfurl %>" METHOD=POST>
-<INPUT TYPE="hidden" NAME="session" VALUE="<%= $session_id %>">
-<INPUT TYPE="hidden" NAME="action" VALUE="process_svc_acct">
-<INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $custnum %>">
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%= $pkgnum %>">
-<INPUT TYPE="hidden" NAME="svcpart" VALUE="<%= $svcpart %>">
-<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#cccccc">
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD><INPUT TYPE="text" NAME="username" VALUE="<%= $username %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password" VALUE="<%= $_password %>"></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Re-enter Password</TD>
-  <TD><INPUT TYPE="password" NAME="_password2" VALUE="<%= $_password2 %>"></TD>
-</TR>
-<%=
-  if ( $security_phrase ) {
-    $OUT .= <<ENDOUT;
-<TR>
-  <TD ALIGN="right">Security Phrase</TD>
-  <TD><INPUT TYPE="text" NAME="sec_phrase" VALUE="$sec_phrase">
-  </TD>
-</TR>
-ENDOUT
-  } else {
-    $OUT .= '<INPUT TYPE="hidden" NAME="sec_phrase" VALUE="">';
-  }
-%>
-<%=
-  if ( @svc_acct_pop ) {
-    $OUT .= '<TR><TD ALIGN="right">Access number</TD><TD>'.
-            popselector( 'popnum'        => $popnum,
-                         'pops'          => \@svc_acct_pop,
-                         'init_popstate' => $init_popstate,
-                         'popac'         => $popac,
-                         'acstate'       => $acstate,
-                       ).
-            '</TD></TR>';
-  } else {
-    $OUT .= popselector(popnum=>$popnum, pops=>\@svc_acct_pop);
-  }
-%>
-</TABLE>
-<INPUT TYPE="submit" VALUE="Setup">
-</FORM>
diff --git a/fs_selfservice/FS-SelfService/cgi/view_customer.html b/fs_selfservice/FS-SelfService/cgi/view_customer.html
deleted file mode 100644 (file)
index 11e4432..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_menu') %>
-<TD VALIGN="top">
-
-<%= $message
-      ? "<FONT SIZE=\"+2\"><B>$message</B></FONT><BR><BR>"
-      : ''
-%>
-
-<%= $small_custview %>
-
-<BR>
-
-<TABLE BORDER=0 CELLPADDING=4><TR>
-<%= include('agent_customer_menu') %>
-<TD VALIGN="top">
-
-</TD></TR></TABLE>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
-
-
diff --git a/fs_selfservice/FS-SelfService/cgi/view_invoice.html b/fs_selfservice/FS-SelfService/cgi/view_invoice.html
deleted file mode 100644 (file)
index 72d0619..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-
-<FONT SIZE="-1"><PRE>
-<%= $invoice_text %>
-</FONT></PRE>
-
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
-
-
-
diff --git a/fs_selfservice/FS-SelfService/freeside-selfservice-clientd b/fs_selfservice/FS-SelfService/freeside-selfservice-clientd
deleted file mode 100644 (file)
index ededfa6..0000000
+++ /dev/null
@@ -1,271 +0,0 @@
-#!/usr/bin/perl -w
-#
-# freeside-selfservice-clientd
-#
-# This is run REMOTELY over ssh by freeside-selfservice-server
-
-use strict;
-use subs qw(spawn logmsg lock_write unlock_write);
-use Fcntl qw(:flock);
-use POSIX qw(:sys_wait_h);
-use Socket;
-use Storable 2.09 qw(nstore_fd fd_retrieve);
-use IO::Handle qw(_IONBF);
-use IO::Select;
-use IO::File;
-
-#STDOUT->setbuf('');
-
-my $tag = scalar(@ARGV) ? '.'.shift : '';
-
-use vars qw( $Debug );
-$Debug = 2; #2 will turn on child logging
-            #3 will log packet contents,#including passwords
-            #4 will log receipts of all packets from server including
-            #  keepalives (big!)
-
-my $socket = "/usr/local/freeside/selfservice_socket$tag";
-my $pid_file = "$socket.pid";
-
-my $log_file = "/usr/local/freeside/selfservice$tag.log";
-
-my $lock_file = "/usr/local/freeside/selfservice$tag.writelock";
-
-#my $me = '[client]';
-
-$|=1;
-
-$SIG{__WARN__} = \&_logmsg;
-
-#read data to be cached or something
-#warn "$me Reading init data\n" if $Debug;
-#my $signup_init = 
-
-warn "Creating $lock_file\n" if $Debug;
-open(LOCKFILE,">$lock_file") or die "can't open $lock_file: $!";
-close LOCKFILE;
-
-warn "Creating $socket\n" if $Debug;
-my $uaddr = sockaddr_un($socket);
-my $proto = getprotobyname('tcp');
-socket(Server,PF_UNIX,SOCK_STREAM,0) or die "socket: $!";
-unlink($socket);
-bind(Server, $uaddr) or die "bind: $!";
-listen(Server,SOMAXCONN) or die "listen: $!";
-
-if ( -e $pid_file ) {
-  open(PIDFILE,"<$pid_file");
-  my $old_pid = <PIDFILE>;
-  close PIDFILE;
-  $old_pid =~ /^(\d+)$/;
-  kill 'TERM', $1;
-}
-open(PIDFILE,">$pid_file");
-print PIDFILE "$$\n";
-close PIDFILE;
-
-#my $waitedpid;
-#sub REAPER { $waitedpid = wait; $SIG{CHLD} = \&REAPER; }
-#$SIG{CHLD} =  \&REAPER;
-
-warn "enabling keep alives\n" if $Debug;
-nstore_fd( { _packet => '_enable_keepalive' } , \*STDOUT );
-
-warn "entering main loop\n" if $Debug;
-
-my %kids;
-
-my $s = new IO::Select;
-$s->add(\*STDIN);
-$s->add(\*Server);
-
-#for ( $waitedpid = 0;
-#      accept(Client,Server) || $waitedpid;
-#      $waitedpid = 0, close Client)
-#{
-#  next if $waitedpid;
-
-#$SIG{PIPE} = sub { warn "SIGPIPE received" };
-#$SIG{CHLD} = sub { warn "SIGCHLD received" };
-
-#sub REAPER { warn "SIGCHLD received"; my $pid = wait; $SIG{CHLD} = \&REAPER; }
-#sub REAPER { my $pid = wait; $SIG{CHLD} = \&REAPER; }
-#sub REAPER { my $pid = wait; delete $kids{$pid}; $SIG{CHLD} = \&REAPER; }
-#$SIG{CHLD} =  \&REAPER;
-
-my $undisp = 0;
-while (1) {
-
-  &reap_kids;
-
-  warn "waiting for connection\n" if $Debug && !$undisp;
-
-  #my @handles = $s->can_read();
-  my @handles = $s->can_read(5);
-  $undisp = !scalar(@handles);
-  foreach my $handle ( @handles ) {
-
-    if ( $handle == \*STDIN ) {
-
-      warn "receiving packet from server\n" if $Debug > 3;
-
-      my $packet = fd_retrieve(\*STDIN);
-      my $token = $packet->{'_token'};
-
-      if ( $token eq '_keepalive' ) {
-        $undisp = 1;
-        next;
-      }
-
-      warn "received packet from server with token $token\n".
-           ( $Debug > 2
-             ? join('', map { " $_=>$packet->{$_}\n" } keys %$packet )
-             : '' )
-        if $Debug;
-
-     if ( exists($kids{$token}) ) {
-        warn "sending return packet to $token via $kids{$token}\n"
-          if $Debug;
-        nstore_fd($packet, $kids{$token});
-        warn "flushing to $token\n" if $Debug;
-        until ( $kids{$token}->flush ) {
-          warn "WARNING: error flushing: $!";
-          sleep 1;
-        }
-        #no close or delete here - will block waiting for child
-        warn "done with $token\n" if $Debug;
-      } else {
-        warn "WARNING: unknown token $token, discarding message";
-      }
-
-    } elsif ( $handle == \*Server ) {
-
-      until ( accept(Client, Server) ) {
-        warn "WARNING: accept failed: $!";
-        next;
-      }
-
-      warn "received local connection; forking\n" if $Debug;
-
-      spawn sub { #child
-        warn "[child-$$] reading packet from local client" if $Debug > 1;
-        my $packet = fd_retrieve(\*Client);
-        warn "[child-$$] packet received:\n".
-             join('', map { " $_=>$packet->{$_}\n" } keys %$packet )
-          if $Debug > 2;
-        my $command = $packet->{'command'};
-        #handle some commands weirdly?
-        $packet->{_token}=$$;
-
-        warn "[child-$$] locking write stream\n" if $Debug > 1;
-        lock_write;
-
-        warn "[child-$$] sending packet to remote server\n" if $Debug > 1;
-        nstore_fd($packet, \*STDOUT) or die "FATAL: can't send response: $!";
-        
-        warn "[child-$$] flushing write stream\n" if $Debug > 1;
-        STDOUT->flush or die "FATAL: can't flush: $!";
-        
-        warn "[child-$$] releasing write lock\n" if $Debug > 1;
-        unlock_write;
-
-        warn "[child-$$] closing write stream\n" if $Debug > 1;
-        close STDOUT or die "FATAL: can't close write stream: $!"; #??!
-
-        warn "[child-$$] waiting for response from parent\n" if $Debug > 1;
-        my $w = new IO::Select;
-        $w->add(\*STDIN);
-        until ( $w->can_read ) {
-          warn "[child-$$] WARNING: interrupted select: $!\n";
-        }
-        my $rv = fd_retrieve(\*STDIN);
-
-        #close STDIN;
-
-        warn "[child-$$] sending response to local client" if $Debug > 1;
-        nstore_fd($rv, \*Client);
-        Client->flush or die "FATAL: can't flush to local client: $!";
-        close Client or die "FATAL: can't close connection to local client: $!";
-
-        warn "[child-$$] child exiting" if $Debug > 1;
-        exit;
-
-      }; #eo child
-
-      #close Client;
-
-    } else {
-      die "wtf?  $handle";
-    }
-
-  }
-  
-}
-
-sub reap_kids {
-  #warn "reaping kids\n";
-  foreach my $pid ( keys %kids ) {
-    my $kid = waitpid($pid, WNOHANG);
-    if ( $kid > 0 ) {
-      close $kids{$kid};
-      delete $kids{$kid};
-    }
-  }
-  #warn "done reaping\n";
-}
-
-sub spawn {
-    my $coderef = shift;
-
-    unless (@_ == 0 && $coderef && ref($coderef) eq 'CODE') {
-        use Carp;
-        confess "usage: spawn CODEREF";
-    }
-
-    my $pid;
-    #if (!defined($pid = fork)) {
-    my $kid = new IO::Handle;
-    if (!defined($pid = open($kid, '|-'))) {
-        warn "WARNING: cannot fork: $!";
-        return;
-    } elsif ($pid) {
-        warn "begat $pid" if $Debug;
-        $kids{$pid} = $kid;
-        #$kids{$pid}->autoflush;
-        return; # I'm the parent
-    }
-    # else I'm the child -- go spawn
-
-#    open(STDIN,  "<&Client")   || die "can't dup client to stdin";
-#    open(STDOUT, ">&Client")   || die "can't dup client to stdout";
-#     open(STDERR, ">&STDOUT") || die "can't dup stdout to stderr";
-    exit &$coderef();
-}
-
-sub _logmsg {
-  chomp( my $msg = shift );
-  my $log = new IO::File ">>$log_file";
-  die "can't open $log_file: $!" unless defined($log);
-  flock($log, LOCK_EX);
-  seek($log, 0, 2);
-  print $log "[client] [". scalar(localtime). "] [$$] $msg\n";
-  flock($log, LOCK_UN);
-  close $log;
-}
-
-sub lock_write {
-  #broken on freebsd?
-  #flock(STDOUT, LOCK_EX) or die "FATAL: can't lock write stream: $!";
-
-  #open a new one for each kid to get a unique lock
-  open(LOCKFILE,">$lock_file") or die "can't open $lock_file: $!";
-
-  flock(LOCKFILE, LOCK_EX) or die "FATAL: can't lock $lock_file: $!";
-}
-
-sub unlock_write {
-  #broken on freebsd?
-  #flock(STDOUT, LOCK_UN) or die "FATAL: can't release write lock: $!";
-
-  flock(LOCKFILE, LOCK_UN) or die "FATAL: can't unlock $lock_file: $!";
-}
diff --git a/fs_selfservice/FS-SelfService/ieak.template b/fs_selfservice/FS-SelfService/ieak.template
deleted file mode 100755 (executable)
index 52edaa9..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-[Entry]
-Entry_Name = The Internet
-[Phone]
-Dial_As_Is=no
-Phone_Number = { $exch. $loc }
-Area_Code = { $ac }
-Country_Code = 1
-Country_Id = 1
-[Server]
-Type = PPP
-SW_Compress = Yes
-PW_Encrypt = Yes
-Negotiate_TCP/IP = Yes
-Disable_LCP = No
-[TCP/IP]
-Specify_IP_Address = No
-Specity_Server_Address = No
-IP_Header_Compress = Yes
-Gateway_On_Remote = Yes
-[User]
-Name = { $username }
-Password = { $password }
-Display_Password = Yes
-[Internet_Mail]
-Email_Name = { $email_name }
-Email_Address = { $username }\@domain.tld
-POP_Server = mail.domain.tld
-POP_Server_Port_Number = 110
-POP_Login_Name = { $username }
-POP_Login_Password = { $password }
-SMTP_Server = mail.domain.tld
-SMTP_Server_Port_Number = 25
-Install_Mail = 1
-[Internet_News]
-NNTP_Server = news.domain.tld
-NNTP_Server_Port_Number = 119
-Logon_Required = No
-Install_News = 1
-[Branding]
-Window_Title = The Internet
diff --git a/fs_selfservice/FS-SelfService/test.pl b/fs_selfservice/FS-SelfService/test.pl
deleted file mode 100644 (file)
index 7468ea4..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# Before `make install' is performed this script should be runnable with
-# `make test'. After `make install' it should work as `perl test.pl'
-
-#########################
-
-# change 'tests => 1' to 'tests => last_test_to_print';
-
-use Test;
-BEGIN { plan tests => 1 };
-use FS::SelfService;
-ok(1); # If we made it this far, we're ok.
-
-#########################
-
-# Insert your test code below, the Test module is use()ed here so read
-# its man page ( perldoc Test ) for help writing this test script.
-
diff --git a/fs_selfservice/fs_passwd_test b/fs_selfservice/fs_passwd_test
deleted file mode 100755 (executable)
index 4f8b8a8..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use FS::SelfService qw(passwd);
-
-my $rv = passwd(
-  'username' => 'ivan',
-  'old_password' => 'heyhoo',
-  'new_password' => 'haloo',
-);
-my $error = $rv->{error};
-
-if ( $error eq 'Incorrect password.' ) {
-  exit;
-} else {
-  die $error if $error;
-  die "no error";
-}
-
diff --git a/fs_sesmon/FS-SessionClient/Changes b/fs_sesmon/FS-SessionClient/Changes
deleted file mode 100644 (file)
index 390a7b9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-Revision history for Perl extension FS::SessionClient
-
-0.01  Wed Oct 18 16:34:36 1999
-        - original version; created by ivan 1.0
-
diff --git a/fs_sesmon/FS-SessionClient/MANIFEST b/fs_sesmon/FS-SessionClient/MANIFEST
deleted file mode 100644 (file)
index 162d4e4..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-Changes
-MANIFEST
-MANIFEST.SKIP
-Makefile.PL
-SessionClient.pm
-test.pl
-fs_sessiond
-cgi/login.cgi
-cgi/logout.cgi
-bin/freeside-login
-bin/freeside-logout
diff --git a/fs_sesmon/FS-SessionClient/MANIFEST.SKIP b/fs_sesmon/FS-SessionClient/MANIFEST.SKIP
deleted file mode 100644 (file)
index ae335e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-CVS/
diff --git a/fs_sesmon/FS-SessionClient/Makefile.PL b/fs_sesmon/FS-SessionClient/Makefile.PL
deleted file mode 100644 (file)
index 137b6b8..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-WriteMakefile(
-    'NAME'          => 'FS::SessionClient',
-    'VERSION_FROM'  => 'SessionClient.pm', # finds $VERSION
-    'EXE_FILES'     => [ qw(fs_sessiond bin/freeside-login bin/freeside-logout) ],
-    'INSTALLSCRIPT' => '/usr/local/sbin',
-    'PERM_RWX'      => '750',
-);
diff --git a/fs_sesmon/FS-SessionClient/SessionClient.pm b/fs_sesmon/FS-SessionClient/SessionClient.pm
deleted file mode 100644 (file)
index 8a0ff70..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-package FS::SessionClient;
-
-use strict;
-use vars qw($AUTOLOAD $VERSION @ISA @EXPORT_OK $fs_sessiond_socket);
-use Exporter;
-use Socket;
-use FileHandle;
-use IO::Handle;
-
-$VERSION = '0.01';
-
-@ISA = qw( Exporter );
-@EXPORT_OK = qw( login logout portnum );
-
-$fs_sessiond_socket = "/usr/local/freeside/fs_sessiond_socket";
-
-$ENV{'PATH'} ='/usr/bin:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-my $freeside_uid = scalar(getpwnam('freeside'));
-die "not running as the freeside user\n" if $> != $freeside_uid;
-
-=head1 NAME
-
-FS::SessionClient - Freeside session client API
-
-=head1 SYNOPSIS
-
-  use FS::SessionClient qw( login portnum logout );
-
-  $error = login ( {
-    'username' => $username,
-    'password' => $password,
-    'login'    => $timestamp,
-    'portnum'  => $portnum,
-  } );
-
-  $portnum = portnum( { 'ip' => $ip } ) or die "unknown ip!"
-  $portnum = portnum( { 'nasnum' => $nasnum, 'nasport' => $nasport } )
-    or die "unknown nasnum/nasport";
-
-  $error = logout ( {
-    'username' => $username,
-    'password' => $password,
-    'logout'   => $timestamp,
-    'portnum'  => $portnum,
-  } );
-
-=head1 DESCRIPTION
-
-This modules provides an API for a remote session application.
-
-It needs to be run as the freeside user.  Because of this, the program which
-calls these subroutines should be written very carefully.
-
-=head1 SUBROUTINES
-
-=over 4
-
-=item login HASHREF
-
-HASHREF should have the following keys: username, password, login and portnum.
-login is a UNIX timestamp; if not specified, will default to the current time.
-Starts a new session for the specified user and portnum.  The password is
-optional, but must be correct if specified.
-
-Returns a scalar error message, or the empty string for success.
-
-=item portnum
-
-HASHREF should contain a single key: ip, or the two keys: nasnum and nasport.
-Returns a portnum suitable for the login and logout subroutines, or false
-on error.
-
-=item logout HASHREF
-
-HASHREF should have the following keys: usrename, password, logout and portnum.
-logout is a UNIX timestamp; if not specified, will default to the current time.
-Starts a new session for the specified user and portnum.  The password is
-optional, but must be correct if specified.
-
-Returns a scalar error message, or the empty string for success.
-
-=cut
-
-sub AUTOLOAD {
-  my $hashref = shift;
-  my $method = $AUTOLOAD;
-  $method =~ s/^.*:://;
-  socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";
-  connect(SOCK, sockaddr_un($fs_sessiond_socket)) or die "connect: $!";
-  print SOCK "$method\n";
-
-  print SOCK join("\n", %{$hashref}, 'END' ), "\n";
-  SOCK->flush;
-
-  chomp( my $r = <SOCK> );
-  $r;
-}
-
-=back
-
-=head1 VERSION
-
-$Id: SessionClient.pm,v 1.3 2000-12-03 20:25:20 ivan Exp $
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<fs_sessiond>
-
-=cut
-
-1;
-
-
-
diff --git a/fs_sesmon/FS-SessionClient/bin/freeside-login b/fs_sesmon/FS-SessionClient/bin/freeside-login
deleted file mode 100644 (file)
index a6d4751..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/perl -Tw
-
-#false-laziness hack w freeside-logout
-
-use strict;
-use FS::SessionClient qw( login portnum );
-
-my $username = shift;
-
-my $portnum;
-if ( scalar(@ARGV) == 1 ) {
-  my $arg = shift;
-  if ( $arg =~ /^(\d+)$/ ) {
-    $portnum = $1;
-  } elsif ( $arg =~ /^([\d\.]+)$/ ) {
-    $portnum = portnum( { 'ip' => $1 } ) or die "unknown ip!"
-  } else {
-    &usage;
-  }
-} elsif ( scalar(@ARGV) == 2 ) {
-  $portnum = portnum( { 'nasnum' => shift, 'nasport' => shift } )
-    or die "unknown nasnum/nasport";
-} else {
-  &usage;
-}
-
-my $error = login ( {
-  'username' => $username,
-  'portnum'  => $portnum,
-} );
-
-warn $error if $error;
-
-sub usage {
-  die "Usage:\n\n  freeside-login username ( portnum | ip | nasnum nasport )";
-}
diff --git a/fs_sesmon/FS-SessionClient/bin/freeside-logout b/fs_sesmon/FS-SessionClient/bin/freeside-logout
deleted file mode 100644 (file)
index 9b4ecfe..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/perl -Tw
-
-#false-laziness hack w freeside-login
-
-use strict;
-use FS::SessionClient qw( logout portnum );
-
-my $username = shift;
-
-my $portnum;
-if ( scalar(@ARGV) == 1 ) {
-  my $arg = shift;
-  if ( $arg =~ /^(\d+)$/ ) {
-    $portnum = $1;
-  } elsif ( $arg =~ /^([\d\.]+)$/ ) {
-    $portnum = portnum( { 'ip' => $1 } ) or die "unknown ip!"
-  } else {
-    &usage;
-  }
-} elsif ( scalar(@ARGV) == 2 ) {
-  $portnum = portnum( { 'nasnum' => shift, 'nasport' => shift } )
-    or die "unknown nasnum/nasport";
-} else {
-  &usage;
-}
-
-my $error = logout ( {
-  'username' => $username,
-  'portnum'  => $portnum,
-} );
-
-warn $error if $error;
-
-sub usage {
-  die "Usage:\n\n  freeside-logout username ( portnum | ip | nasnum nasport )";
-}
diff --git a/fs_sesmon/FS-SessionClient/cgi/login.cgi b/fs_sesmon/FS-SessionClient/cgi/login.cgi
deleted file mode 100644 (file)
index 0307c5a..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/usr/bin/perl -Tw
-
-#false-laziness hack w logout.cgi
-
-use strict;
-use vars qw( $cgi $username $password $error $ip $portnum );
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use FS::SessionClient qw( login portnum );
-
-$cgi = new CGI;
-
-if ( defined $cgi->param('magic') ) {
-  $cgi->param('username') =~ /^\s*(\w{1,255})\s*$/ or do {
-    $error = "Illegal username";
-    &print_form;
-    exit;
-  };
-  $username = $1;
-  $cgi->param('password') =~ /^([^\n]{0,255})$/ or die "guru meditation #420";
-  $password = $1;
-  #$ip = $cgi->remote_host;
-  $ip = $ENV{REMOTE_ADDR};
-  $ip =~ /^([\d\.]+)$/ or die "illegal ip: $ip";
-  $ip = $1;
-  $portnum = portnum( { 'ip' => $1 } ) or do {
-    $error = "You appear to be coming from an unknown IP address.  Verify ".
-             "that your computer is set to obtain an IP address automatically ".
-             "via DHCP.";
-    &print_form;
-    exit;
-  };
-
-  ( $error = login ( {
-    'username' => $username,
-    'portnum'  => $portnum,
-    'password' => $password,
-  } ) )
-    ? &print_form()
-    : &print_okay();
-
-} else {
-  $username = '';
-  $password = '';
-  $error = '';
-  &print_form;
-}
-
-sub print_form {
-  my $self_url = $cgi->self_url;
-
-  print $cgi->header( '-expires' => 'now' ), <<END;
-<HTML><HEAD><TITLE>login</TITLE></HEAD>
-<BODY BGCOLOR="#FFFFFF">
-END
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: $error</FONT>! if $error;
-
-print <<END;
-<FORM ACTION="$self_url" METHOD="POST">
-<INPUT TYPE="hidden" NAME="magic" VALUE="process">
-<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" ALIGN="center">
-<TR>
-        <TD ALIGN="center" COLSPAN="2">
-      <STRONG>Welcome</STRONG>
-      </TD>
-</TR>
-<TR>
-      <TD ALIGN="right">
-      Username
-      </TD>
-      <TD ALIGN="left">
-      <INPUT TYPE="text" NAME="username" VALUE="$username">
-      </TD>
-</TR>
-<TR>
-      <TD ALIGN="right">
-      Password
-      </TD>
-      <TD ALIGN="left">
-      <INPUT TYPE="password" NAME="password">
-      </TD>
-</TR>
-<TR>
-      <TD ALIGN="center" COLSPAN="2">
-      <INPUT TYPE="submit" VALUE=" Login ">
-      </TD>
-</TR>
-</TABLE>
-</FORM>
-</BODY>
-</HTML>
-END
-
-}
-
-sub print_okay {
-  print $cgi->header( '-expires' => 'now' ), <<END;
-<HTML><HEAD><TITLE>login sucessful</TITLE></HEAD>
-<BODY>login successful, etc.
-</BODY>
-</HTML>
-END
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-login username ( portnum | ip | nasnum nasport )";
-}
diff --git a/fs_sesmon/FS-SessionClient/cgi/logout.cgi b/fs_sesmon/FS-SessionClient/cgi/logout.cgi
deleted file mode 100644 (file)
index 95cef98..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/usr/bin/perl -Tw
-
-#false-laziness hack w login.cgi
-
-use strict;
-use vars qw( $cgi $username $password $error $ip $portnum );
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use FS::SessionClient qw( logout portnum );
-
-$cgi = new CGI;
-
-if ( defined $cgi->param('magic') ) {
-  $cgi->param('username') =~ /^\s*(\w{1,255})\s*$/ or do {
-    $error = "Illegal username";
-    &print_form;
-    exit;
-  };
-  $username = $1;
-  $cgi->param('password') =~ /^([^\n]{0,255})$/ or die "guru meditation #420";
-  $password = $1;
-  #$ip = $cgi->remote_host;
-  $ip = $ENV{REMOTE_ADDR};
-  $ip =~ /^([\d\.]+)$/ or die "illegal ip: $ip";
-  $ip = $1;
-  $portnum = portnum( { 'ip' => $1 } ) or do {
-    $error = "You appear to be coming from an unknown IP address.  Verify ".
-             "that your computer is set to obtain an IP address automatically ".
-             "via DHCP.";
-    &print_form;
-    exit;
-  };
-
-  ( $error = logout ( {
-    'username' => $username,
-    'portnum'  => $portnum,
-    'password' => $password,
-  } ) )
-    ? &print_form()
-    : &print_okay();
-
-} else {
-  $username = '';
-  $password = '';
-  $error = '';
-  &print_form;
-}
-
-sub print_form {
-  my $self_url = $cgi->self_url;
-
-  print $cgi->header( '-expires' => 'now' ), <<END;
-<HTML><HEAD><TITLE>logout</TITLE></HEAD>
-<BODY>
-END
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: $error</FONT>! if $error;
-
-print <<END;
-<FORM ACTION="$self_url" METHOD=POST>
-<INPUT TYPE="hidden" NAME="magic" VALUE="process">
-Username <INPUT TYPE="text" NAME="username" VALUE="$username"><BR>
-Password <INPUT TYPE="password" NAME="password"><BR>
-<INPUT TYPE="submit">
-</FORM>
-</BODY>
-</HTML>
-END
-
-}
-
-sub print_okay {
-  print $cgi->header( '-expires' => 'now' ), <<END;
-<HTML><HEAD><TITLE>logout sucessful</TITLE></HEAD>
-<BODY>logout successful, etc.
-</BODY>
-</HTML>
-END
-}
-
-sub usage {
-  die "Usage:\n\n  freeside-logout username ( portnum | ip | nasnum nasport )";
-}
diff --git a/fs_sesmon/FS-SessionClient/fs_sessiond b/fs_sesmon/FS-SessionClient/fs_sessiond
deleted file mode 100644 (file)
index bfdb20a..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# fs_sessiond
-#
-# This is run REMOTELY over ssh by fs_session_server
-#
-
-use strict;
-use Socket;
-
-use vars qw( $Debug );
-
-$Debug = 1;
-
-my $fs_sessiond_socket = "/usr/local/freeside/fs_sessiond_socket";
-
-$ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-$|=1;
-
-my $me = "[fs_sessiond]";
-
-warn "$me starting\n" if $Debug;
-#nothing to read from server
-
-warn "$me creating $fs_sessiond_socket\n" if $Debug;
-my $uaddr = sockaddr_un($fs_sessiond_socket);
-my $proto = getprotobyname('tcp');
-socket(Server,PF_UNIX,SOCK_STREAM,0) or die "socket: $!";
-unlink($fs_sessiond_socket);
-bind(Server, $uaddr) or die "bind: $!";
-listen(Server,SOMAXCONN) or die "listen: $!";
-
-warn "$me entering main loop\n" if $Debug;
-my $paddr;
-for ( ; $paddr = accept(Client,Server); close Client) {
-
-  chomp( my $command = <Client> );
-
-  if ( $command eq 'login' || $command eq 'logout' || $command eq 'portnum' ) {
-    warn "$me reading data from local client\n" if $Debug;
-    my @data;
-    my $dos = 0;
-    push @data, scalar(<Client>) until $dos++ == 99 || $data[$#data] eq "END\n";
-    if ( $dos == 99 ) { 
-      warn "$me WARNING: DoS attempt!" 
-    } else {
-      warn "$me sending data to remote server\n" if $Debug;
-      print "$command\n", @data;
-      warn "$me reading result from remote server\n" if $Debug;
-      my $error = <STDIN>;
-      warn "$me sending error to local client\n" if $Debug;
-      print Client $error;
-    }
-  } else {
-    warn "$me WARNING: unexpected command from client: $command";
-  }
-
-}
-
diff --git a/fs_sesmon/FS-SessionClient/test.pl b/fs_sesmon/FS-SessionClient/test.pl
deleted file mode 100644 (file)
index 4b9ae17..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-# Before `make install' is performed this script should be runnable with
-# `make test'. After `make install' it should work as `perl test.pl'
-
-######################### We start with some black magic to print on failure.
-
-# Change 1..1 below to 1..last_test_to_print .
-# (It may become useful if the test is moved to ./t subdirectory.)
-
-BEGIN { $| = 1; print "1..1\n"; }
-END {print "not ok 1\n" unless $loaded;}
-#use FS::SessionClient;
-#sigh, "not running as the freeside user"
-$loaded = 1;
-print "ok 1\n";
-
-######################### End of black magic.
-
-# Insert your test code below (better if it prints "ok 13"
-# (correspondingly "not ok 13") depending on the success of chunk 13
-# of the test code):
-
diff --git a/fs_sesmon/fs_session_server b/fs_sesmon/fs_session_server
deleted file mode 100644 (file)
index 00229f8..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# fs_session_server
-#
-
-use strict;
-use vars qw( $opt $Debug );
-use IO::Handle;
-use Net::SSH qw(sshopen2);
-use FS::UID qw(adminsuidsetup dbh);
-use FS::Record qw( qsearchs ); #qsearch );
-#use FS::cust_main_county;
-#use FS::cust_main;
-use FS::session;
-use FS::port;
-use FS::svc_acct;
-
-#require "configfile";
-$Debug = 1;
-
-my $user = shift or die &usage;
-&adminsuidsetup( $user ); 
-
-my $machine = shift or die &usage;
-
-my $fs_sessiond = "/usr/local/sbin/fs_sessiond";
-
-my $me = "[fs_session_server]";
-
-while (1) {
-  my($reader, $writer) = (new IO::Handle, new IO::Handle);
-  $writer->autoflush(1);
-  warn "$me Connecting to $machine\n" if $Debug;
-  sshopen2($machine,$reader,$writer,$fs_sessiond);
-
-  warn "$me Entering main loop\n" if $Debug;
-  while (1) {
-    warn "$me Reading (waiting for) data\n" if $Debug;
-    my $command = scalar(<$reader>);
-    chomp $command;
-    #DoS protection here too, to protect against a compromised client?  *sigh*
-    my %hash;
-    while ( ( my $key = scalar(<$reader>) ) ne "END\n" ) {
-      chomp $key;
-      chomp( $hash{$key} = scalar(<$reader>) );
-    }
-
-    if ( $command eq 'login' ) {
-      my $error = &login(\%hash);
-      print $writer "$error\n";
-    } elsif ( $command eq 'logout' ) {
-      my $error = &logout(\%hash);
-      print $writer "$error\n";
-    } elsif ( $command eq 'portnum' ) {
-      my $port;
-      if ( exists $hash{'ip'} ) {
-        $hash{'ip'} =~ /^([\d\.]+)$/ or $1='nomatch';
-        $port = qsearchs('port', { 'ip' => $1 } );
-      } else {
-        $hash{'nasnum'} =~ /^(\d+)$/ and my $nasnum = $1;
-        $hash{'nasport'} =~ /^(\d+)$/ and my $nasport = $1;
-        $port = qsearchs('port', { 'nasnum'=>$nasnum, 'nasport'=>$nasport } );
-      }
-      print $writer ( $port ? $port->portnum : '' ), "\n";
-    } else {
-      warn "$me WARNING: unrecognized command: $command";
-    }
-  }
-  #won't ever reach without code above to throw out of loop, but...
-  close $writer;
-  close $reader;
-  warn "connection to $machine lost!\n";
-  sleep 5;
-  warn "reconnecting...\n";
-}
-
-sub login {
-  my $href = shift;
-  $href->{'username'} =~ /^([a-z0-9_\-\.]+)$/ or return "Illegal username";
-  my $username = $1;
-  my $svc_acct = qsearchs('svc_acct', { 'username' => $username } )
-    or return "Unknown user";
-  return "Incorrect password"
-    if exists($href->{'password'})
-       && $href->{'password'} ne $svc_acct->_password;
-  return "Time limit exceeded" unless $svc_acct->seconds;
-  my $session = new FS::session {
-    'portnum' => $href->{'portnum'},
-    'svcnum'  => $svc_acct->svcnum,
-    'login'   => $href->{'login'},
-  };
-  $session->insert;
-}
-
-sub logout {
-  my $href = shift;
-  $href->{'username'} =~ /^([a-z0-9_\-\.]+)$/ or return "Illegal username";
-  my $username = $1;
-  local $FS::UID::AutoCommit = 0;
-  my $dbh = dbh;
-  my $svc_acct =
-    qsearchs('svc_acct', { 'username' => $username }, '', 'FOR UPDATE' )
-    or return "Unknown user";
-  return "Incorrect password"
-    if exists($href->{'password'})
-       && $href->{'password'} ne $svc_acct->_password;
-  my $session = qsearchs( 'session', {
-                                       'portnum' => $href->{'portnum'},
-                                       'svcnum'  => $svc_acct->svcnum,
-                                       'logout'  => '',
-                                     },
-                          '', 'FOR UPDATE'
-  );
-  unless ( $session ) {
-    $dbh->rollback;
-    return "No currently open sessions found for that user/port!";
-  }
-  my $nsession = new FS::session ( { $session->hash } );
-  warn "$nsession replacing $session";
-  my $error = $nsession->replace($session);
-  if ( $error ) {
-    $dbh->rollback;
-    return "can't logout: $error";
-  }
-  my $time = $nsession->logout - $nsession->login;
-  my $new_svc_acct = new FS::svc_acct ( { $svc_acct->hash } );
-  my $seconds = $new_svc_acct->seconds;
-  $seconds -= $time;
-  $seconds = 0 if $seconds < 0;
-  $new_svc_acct->seconds( $seconds );
-  $error = $new_svc_acct->replace( $svc_acct );
-  warn "can't debit time: $error\n"; #don't want to rollback, though
-  $dbh->commit or die $dbh->errstr;
-  ''
-}
-
-sub usage {
-  die "Usage:\n\n  fs_session_server user machine\n";
-}
-
diff --git a/fs_webdemo/register.cgi b/fs_webdemo/register.cgi
deleted file mode 100755 (executable)
index 8255822..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# $Id: register.cgi,v 1.5 2000-03-03 18:22:42 ivan Exp $
-
-use strict;
-use vars qw(
-             $datasrc $user $pass $x
-             $cgi $username $email 
-             $dbh $sth
-             );
-             #$freeside_bin $freeside_test $freeside_conf
-             #@pw_set @saltset
-             #$user_pw $crypt_pw 
-             #$header $msg
-use CGI;
-use CGI::Carp qw(fatalsToBrowser);
-use DBI;
-#use Mail::Internet;
-#use Mail::Header;
-#use Date::Format;
-
-$ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-$ENV{'SHELL'} = '/bin/sh';
-$ENV{'IFS'} = " \t\n";
-$ENV{'CDPATH'} = '';
-$ENV{'ENV'} = '';
-$ENV{'BASH_ENV'} = '';
-
-#$freeside_bin = '/home/freeside/bin/';
-#$freeside_test = '/home/freeside/test/';
-#$freeside_conf = '/usr/local/etc/freeside/';
-
-$datasrc = 'DBI:mysql:http_auth';
-$user = "freeside";
-$pass = "maelcolm";
-
-##my(@pw_set)= ( 'a'..'z', 'A'..'Z', '0'..'9', '(', ')', '#', '!', '.', ',' );
-##my(@pw_set)= ( 'a'..'z', 'A'..'Z', '0'..'9' );
-#@pw_set = ( 'a'..'z', '0'..'9' );
-#@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-###
-
-$cgi = new CGI;
-
-$username = $cgi->param('username');
-$username =~ /^\s*([a-z][\w]{0,15})\s*$/i
-  or &idiot("Illegal username.  Please use 1-16 alphanumeric characters, and start your username with a letter.");
-$username = lc($1);
-
-$email = $cgi->param('email');
-$email =~ /^([\w\-\.\+]+\@[\w\-\.]+)$/
-  or &idiot("Illegal email address.");
-$email = $1;
-
-###
-
-#$user_pw = join('',map($pw_set[ int(rand $#pw_set) ], (0..7) ) );
-#$crypt_pw = crypt($user_pw,$saltset[int(rand(64))].$saltset[int(rand(64))]);
-
-###
-
-  local $SIG{HUP} = 'IGNORE';
-  local $SIG{INT} = 'IGNORE';
-  local $SIG{QUIT} = 'IGNORE';
-  local $SIG{TERM} = 'IGNORE';
-  local $SIG{TSTP} = 'IGNORE';
-  local $SIG{PIPE} = 'IGNORE';
-
-###
-
-$dbh = DBI->connect( $datasrc, $user, $pass, {
-       'AutoCommit' => 'true',
-} ) or die "DBI->connect error: $DBI::errstr\n";
-$x = $DBI::errstr; #silly; to avoid "used only once" warning
-
-$sth = $dbh->prepare("INSERT INTO mysql_auth VALUES (". join(", ",
-  $dbh->quote($username),
-#  $dbh->quote("X"),
-#  $dbh->quote($crypt_pw),
-  $dbh->quote($email),
-  $dbh->quote('freeside'),
-  $dbh->quote('unconfigured'),
-). ")" );
-
-$sth->execute or &idiot("Username in use: ". $sth->errstr);
-
-$dbh->disconnect or die $dbh->errstr;
-
-###
-
-$|=1;
-print $cgi->header;
-print <<END;
-<HTML>
-  <HEAD>
-    <TITLE>Freeside demo registration successful</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#FFFFFF">
-  <table>
-    <tr><td>
-    <p align=center>
-      <img border=0 alt="Silicon Interactive Software Design" src="http://www.sisd.com/freeside/small-logo.gif">
-    </td><td>
-    <center><font color="#ff0000" size=7>freeside demo registration successful</font></center>
-    </td></tr>
-  </table>
-  <P>Your sample database has been setup.  Your password and the URL for the
-    Freeside demo have been emailed to you.
-  </BODY>
-</HTML>
-END
-
-###
-
-sub idiot {
-  my($error)=@_;
-  print $cgi->header, <<END;
-<HTML>
-  <HEAD>
-    <TITLE>Registration error</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#FFFFFF">
-    <CENTER>
-    <H4>Registration error</H4>
-    </CENTER>
-    <P><B>$error</B>
-    <P>Hit the <I>Back</I> button in your web browser, correct this mistake,
-       and submit the form again.
-  </BODY>
-</HTML>
-END
-  
-  exit;
-}
diff --git a/fs_webdemo/register.html b/fs_webdemo/register.html
deleted file mode 100644 (file)
index acf9cff..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>
-      Freeside - Billing and account administration software for ISPs
-    </TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#ffffff">
-  <table>
-    <tr><td>
-      <A HREF="http://www.sisd.com/">
-        <IMG BORDER=0 SRC="small-logo.gif" ALIGN=LEFT>
-      </A>
-    </td><td>
-      <center><font color="#ff0000" size=7 size=+4>freeside demo registration</font></center>
-    </td></tr>
-  </table>
-<P>You will need to choose a username for access to the Freeside web demo.
-
-<P><FONT SIZE=+1 COLOR="#ff0000">A password
-      and the URL for your demo will be emailed to you, so don't waste your
-      time with non-deliverable addresses.</FONT>
-We will <B>not</B> give your email address to any third party,
-      nor will we send you any unsolicited email (or in fact any email after the automatic registration).
-    <FORM ACTION="register.cgi" METHOD="POST">
-      <PRE>
-Freeside username: <INPUT TYPE="text" NAME="username" MAXLENGTH=16>
-
-Email address:     <INPUT TYPE="text" NAME="email">
-</PRE>
-<BR><INPUT TYPE="Submit" VALUE="Register">
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/fs_webdemo/registerd b/fs_webdemo/registerd
deleted file mode 100755 (executable)
index 6314d0a..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-#!/usr/bin/perl -w
-#
-# $Id: registerd,v 1.8 2000-03-03 12:27:54 ivan Exp $
-
-use strict;
-use vars qw(
-             $freeside_conf
-             $mysql_data
-             $datasrc $user $pass $x
-             $dbh $sth
-             @pw_set @saltset
-             $header $msg
-           );
-            # $freeside_bin $freeside_test 
-            # $cgi $username $name $email $user_pw $crypt_pw 
-#use CGI;
-#use CGI::Carp qw(fatalsToBrowser);
-use DBI;
-use Mail::Internet;
-use Mail::Header;
-use Date::Format;
-
-#$ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-#$ENV{'SHELL'} = '/bin/sh';
-#$ENV{'IFS'} = " \t\n";
-#$ENV{'CDPATH'} = '';
-#$ENV{'ENV'} = '';
-#$ENV{'BASH_ENV'} = '';
-
-#$freeside_bin = '/home/freeside/bin/';
-#$freeside_test = '/home/freeside/test/';
-$freeside_conf = '/usr/local/etc/freeside/';
-
-$mysql_data = "/var/lib/mysql";
-
-$datasrc = 'DBI:mysql:http_auth';
-$user = "freeside";
-$pass = "maelcolm";
-
-#my(@pw_set)= ( 'a'..'z', 'A'..'Z', '0'..'9', '(', ')', '#', '!', '.', ',' );
-#my(@pw_set)= ( 'a'..'z', 'A'..'Z', '0'..'9' );
-@pw_set = ( 'a'..'z', '0'..'9' );
-@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-#die "not running as system user freeside"
-#  unless $> == scalar(getpwnam('freeside'));
-die "not running as root user"
-  unless $> == 0;
-
-$dbh = DBI->connect( $datasrc, $user, $pass, {
-       'AutoCommit' => 'true',
-} ) or die "DBI->connect error: $DBI::errstr\n";
-$x = $DBI::errstr; #silly; to avoid "used only once" warning
-
-while ( 1 ) {
-
-  $SIG{HUP} = 'IGNORE';
-  $SIG{INT} = 'IGNORE';
-  $SIG{QUIT} = 'IGNORE';
-  $SIG{TERM} = 'IGNORE';
-  $SIG{TSTP} = 'IGNORE';
-  $SIG{PIPE} = 'IGNORE';
-
-  $sth = $dbh->prepare("LOCK TABLES mysql_auth WRITE");
-  $sth->execute or die $sth->errstr;
-
-  $sth = $dbh->prepare(
-    'SELECT * FROM mysql_auth WHERE status = "unconfigured"'
-  );
-  $sth->execute or die $sth->errstr;
-  my $pending = $sth->fetchall_arrayref( {} );
-
-  $sth = $dbh->prepare(
-    'UPDATE mysql_auth SET status = "locked" WHERE status = "unconfigured"'
-  );
-  $sth->execute or die $sth->errstr;
-
-  $sth = $dbh->prepare("UNLOCK TABLES");
-  $sth->execute or die $sth->errstr;
-
-  #
-
-  foreach my $row ( @{$pending} ) {
-
-    my $username = $row->{'username'};
-    my $email = $row->{'passwd'};
-
-    system("/usr/bin/mysqladmin --user=$user --password=$pass ".
-      "create demo_$username >/dev/null");
-
-    system "cp -p $mysql_data/demo_template/* $mysql_data/demo_$username";
-
-    mkdir "${freeside_conf}conf.DBI:mysql:demo_$username", 0755;    
-    system "cp -pr ${freeside_conf}conf.DBI:mysql:demo_template/* ".
-           "${freeside_conf}conf.DBI:mysql:demo_$username";
-
-    mkdir "${freeside_conf}counters.DBI:mysql:demo_$username", 0755;    
-    system "cp -p ${freeside_conf}counters.DBI:mysql:demo_template/* ".
-           "${freeside_conf}counters.DBI:mysql:demo_$username";
-    chown scalar(getpwnam('freeside')), scalar(getgrnam('freeside')),
-           "${freeside_conf}counters.DBI:mysql:demo_$username";
-
-    system "cp -p ${freeside_conf}dbdef.DBI:mysql:demo_template ".
-           "${freeside_conf}dbdef.DBI:mysql:demo_$username";
-
-    open(INVOICE_FROM, ">${freeside_conf}conf.DBI:mysql:demo_$username/invoice_from")
-      or die "Can\'t open ${freeside_conf}conf.DBI:mysql:demo_$username/invoice_from: $!";
-    print INVOICE_FROM "$email\n";
-    close INVOICE_FROM;
-
-    open(LPR, ">${freeside_conf}conf.DBI:mysql:demo_$username/lpr")
-      or die "Can\'t open ${freeside_conf}conf.DBI:mysql:demo_$username/lpr: $!";
-    print LPR "mail $email";
-    close LPR;
-
-    open(FROM, ">${freeside_conf}conf.DBI:mysql:demo_$username/registries/internic/from")
-      or die "Can\'t open ${freeside_conf}conf.DBI:mysql:demo_$username/registries/internic/from: $!";
-    print FROM "$email\n";
-    close FROM;
-
-    open(TO, ">${freeside_conf}conf.DBI:mysql:demo_$username/registries/internic/to")
-      or die "Can\'t open ${freeside_conf}conf.DBI:mysql:demo_$username/registries/internic/to: $!";
-    print TO "$email\n";
-    close TO;
-
-    open(SECRETS, ">${freeside_conf}secrets.demo_$username")
-      or die "Can\'t open ${freeside_conf}secrets.demo_$username: $!";
-    chown scalar(getpwnam('freeside')), scalar(getgrnam('freeside')),
-          "${freeside_conf}secrets.demo_$username";
-    chmod 0600, "${freeside_conf}secrets.demo_$username";
-    print SECRETS "DBI:mysql:demo_$username\nfreeside\nmaelcolm\n";
-    close SECRETS;
-
-    open(MAPSECRETS, ">>${freeside_conf}mapsecrets")
-      or die "Can\'t open ${freeside_conf}mapsecrets: $!";
-    print MAPSECRETS "$username secrets.demo_$username\n";
-    close MAPSECRETS;
-
-    my $user_pw = join('',map($pw_set[ int(rand $#pw_set) ], (0..7) ) );
-    my $crypt_pw =
-      crypt($user_pw,$saltset[int(rand(64))].$saltset[int(rand(64))]);
-
-    $sth = $dbh->prepare(
-      qq(UPDATE mysql_auth SET passwd = "$crypt_pw", status = "done" WHERE username = "$username")
-    );
-    $sth->execute or die $sth->errstr;
-
-    $ENV{SMTPHOSTS} = "localhost";
-    $ENV{MAILADDRESS} = 'ivan-fsreg@sisd.com';
-    $ENV{TZ} = "PST8PDT";
-    $header = Mail::Header->new( [
-      'From: ivan-fsreg@sisd.com',
-      "To: $email",
-      'Bcc: ivan-fsreg_bcc@sisd.com',
-      'Sender: ivan-fsreg@sisd.com',
-      'Reply-To: ivan-fsreg@sisd.com',
-      #'Date: '. time2str("%a, %d %b %Y %X %z", time ),
-      'Date: '. time2str("%a, %d %b %Y %X ", time ). "-0800",
-      'Subject: Freeside demo information',
-    ] );
-    $msg = Mail::Internet->new(
-      'Header' => $header,
-      'Body' => [
-    "Hello,\n",
-    "\n",
-    "Your sample Freeside database has been setup.\n",
-    "\n",
-    "Point your web browswer at http://freeside.sisd.com/ and use the following\n",
-    "authentication information:\n",
-    "\n",
-    "Username: $username\n",
-    "Password: $user_pw\n",
-    "\n",
-    "-- \n",
-    "ivan\n",
-                ]
-    );
-    $msg->smtpsend or die "Can\'t send registration email!";
-
-  }
-
-  $SIG{HUP} = 'DEFAULT';
-  $SIG{INT} = 'DEFAULT';
-  $SIG{QUIT} = 'DEFAULT';
-  $SIG{TERM} = 'DEFAULT';
-  $SIG{TSTP} = 'DEFAULT';
-  $SIG{PIPE} = 'DEFAULT';
-
-  sleep 5;
-
-}
-
diff --git a/fs_webdemo/registerd.Pg b/fs_webdemo/registerd.Pg
deleted file mode 100755 (executable)
index f166846..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-#!/usr/bin/perl -w
-#
-# $Id: registerd.Pg,v 1.11 2001-10-24 15:29:30 ivan Exp $
-
-use strict;
-use vars qw(
-             $freeside_conf
-             $mysql_data
-             $datasrc $user $pass $x
-             $dbh $sth
-             @pw_set @saltset
-             $header $msg
-           );
-            # $freeside_bin $freeside_test 
-            # $cgi $username $name $email $user_pw $crypt_pw 
-#use CGI;
-#use CGI::Carp qw(fatalsToBrowser);
-use DBI;
-use Mail::Internet;
-use Mail::Header;
-use Date::Format;
-
-#$ENV{'PATH'} ='/usr/local/bin:/usr/bin:/usr/ucb:/bin';
-#$ENV{'SHELL'} = '/bin/sh';
-#$ENV{'IFS'} = " \t\n";
-#$ENV{'CDPATH'} = '';
-#$ENV{'ENV'} = '';
-#$ENV{'BASH_ENV'} = '';
-
-#$freeside_bin = '/home/freeside/bin/';
-#$freeside_test = '/home/freeside/test/';
-$freeside_conf = '/usr/local/etc/freeside/';
-
-#$mysql_data = "/var/lib/mysql";
-
-$datasrc = 'DBI:mysql:http_auth';
-$user = "freeside";
-$pass = "maelcolm";
-
-#my(@pw_set)= ( 'a'..'z', 'A'..'Z', '0'..'9', '(', ')', '#', '!', '.', ',' );
-#my(@pw_set)= ( 'a'..'z', 'A'..'Z', '0'..'9' );
-@pw_set = ( 'a'..'z', '0'..'9' );
-@saltset = ( 'a'..'z' , 'A'..'Z' , '0'..'9' , '.' , '/' );
-
-#die "not running as system user freeside"
-#  unless $> == scalar(getpwnam('freeside'));
-die "not running as root user"
-  unless $> == 0;
-
-$dbh = DBI->connect( $datasrc, $user, $pass, {
-       'AutoCommit' => 'true',
-} ) or die "DBI->connect error: $DBI::errstr\n";
-#$x = $DBI::errstr; #silly; to avoid "used only once" warning
-
-while ( 1 ) {
-
-  $SIG{HUP} = 'IGNORE';
-  $SIG{INT} = 'IGNORE';
-  $SIG{QUIT} = 'IGNORE';
-  $SIG{TERM} = 'IGNORE';
-  $SIG{TSTP} = 'IGNORE';
-  $SIG{PIPE} = 'IGNORE';
-
-  $sth = $dbh->prepare("LOCK TABLES mysql_auth WRITE");
-  $sth->execute or die $sth->errstr;
-
-  $sth = $dbh->prepare(
-    'SELECT * FROM mysql_auth WHERE status = "unconfigured"'
-  );
-  $sth->execute or die $sth->errstr;
-  my $pending = $sth->fetchall_arrayref( {} );
-
-  $sth = $dbh->prepare(
-    'UPDATE mysql_auth SET status = "locked" WHERE status = "unconfigured"'
-  );
-  $sth->execute or die $sth->errstr;
-
-  $sth = $dbh->prepare("UNLOCK TABLES");
-  $sth->execute or die $sth->errstr;
-
-  #
-
-  foreach my $row ( @{$pending} ) {
-
-    my $username = $row->{'username'};
-    my $email = $row->{'passwd'};
-
-    my $pdbh = DBI->connect( 'DBI:Pg:host=localhost;dbname=demo_template', 'freeside', 'maelcolm' )
-      or do { &myerr("$username: ". $DBI::errstr); next; };
-
-    my $psth = $pdbh->prepare("CREATE DATABASE demo_$username")
-      or do { &myerr("$username: ". $pdbh->errstr); next; };
-    $psth->execute()
-      or do { &myerr("$username: ". $psth->errstr); next; };
-
-    $pdbh->disconnect
-      or do { &myerr("fatal: $DBI::errstr"); die; };
-
-    open(PSQL,"|psql -U freeside demo_$username")
-      or do { &myerr("|psql -U freeside demo_$username: $!"); next; };
-    open(PSQLDATA, "</usr/local/etc/freeside/demo_template.Pg")
-      or do { &myerr("/usr/local/etc/freeside/demo_template.Pg: $!"); next; };
-    while(<PSQLDATA>) {
-      print PSQL $_;
-    }
-    close PSQLDATA
-      or do { &myerr("/usr/local/etc/freeside/demo_template.Pg: $!"); next; };
-    close PSQL
-      or do { &myerr("|psql -U freeside demo_$username: $!"); next; };
-
-    mkdir "${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username", 0755;    
-    system "cp -pr ${freeside_conf}conf.DBI:Pg:host=localhost\\;dbname=demo_template/* ".
-           "${freeside_conf}conf.DBI:Pg:host=localhost\\;dbname=demo_$username";
-
-    mkdir "${freeside_conf}counters.DBI:Pg:host=localhost;dbname=demo_$username", 0755;    
-    system "cp -p ${freeside_conf}counters.DBI:Pg:host=localhost\\;dbname=demo_template/* ".
-           "${freeside_conf}counters.DBI:Pg:host=localhost\\;dbname=demo_$username";
-    chown scalar(getpwnam('freeside')), scalar(getgrnam('freeside')),
-           "${freeside_conf}counters.DBI:Pg:host=localhost;dbname=demo_$username";
-
-    system "cp -p ${freeside_conf}dbdef.DBI:Pg:host=localhost\\;dbname=demo_template ".
-           "${freeside_conf}dbdef.DBI:Pg:host=localhost\\;dbname=demo_$username";
-
-    open(INVOICE_FROM, ">${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/invoice_from")
-      or die "Can\'t open ${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/invoice_from: $!";
-    print INVOICE_FROM "$email\n";
-    close INVOICE_FROM;
-
-    open(LPR, ">${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/lpr")
-      or die "Can\'t open ${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/lpr: $!";
-    print LPR "mail $email";
-    close LPR;
-
-#    open(FROM, ">${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/registries/internic/from")
-#      or die "Can\'t open ${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/registries/internic/from: $!";
-#    print FROM "$email\n";
-#    close FROM;
-#
-#    open(TO, ">${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/registries/internic/to")
-#      or die "Can\'t open ${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username/registries/internic/to: $!";
-#    print TO "$email\n";
-#    close TO;
-
-    open(SECRETS, ">${freeside_conf}secrets.demo_$username")
-      or die "Can\'t open ${freeside_conf}secrets.demo_$username: $!";
-    chown scalar(getpwnam('freeside')), scalar(getgrnam('freeside')),
-          "${freeside_conf}secrets.demo_$username";
-    chmod 0600, "${freeside_conf}secrets.demo_$username";
-    print SECRETS "DBI:Pg:host=localhost;dbname=demo_$username\nfreeside\nmaelcolm\n";
-    close SECRETS;
-
-    open(MAPSECRETS, ">>${freeside_conf}mapsecrets")
-      or die "Can\'t open ${freeside_conf}mapsecrets: $!";
-    print MAPSECRETS "$username secrets.demo_$username\n";
-    close MAPSECRETS;
-
-    my $user_pw = join('',map($pw_set[ int(rand $#pw_set) ], (0..7) ) );
-    my $crypt_pw =
-      crypt($user_pw,$saltset[int(rand(64))].$saltset[int(rand(64))]);
-
-    $sth = $dbh->prepare(
-      qq(UPDATE mysql_auth SET passwd = "$crypt_pw", status = "done" WHERE username = "$username")
-    );
-    $sth->execute or die $sth->errstr;
-
-    #$ENV{SMTPHOSTS} = "localhost";
-    $ENV{SMTPHOSTS} = "192.168.1.1";
-    $ENV{MAILADDRESS} = 'ivan-fsreg@sisd.com';
-    $ENV{TZ} = "PST8PDT";
-    $header = Mail::Header->new( [
-      'From: ivan-fsreg@sisd.com',
-      "To: $email",
-      'Bcc: ivan-fsreg_bcc@sisd.com',
-      'Sender: ivan-fsreg@sisd.com',
-      'Reply-To: ivan-fsreg@sisd.com',
-      #'Date: '. time2str("%a, %d %b %Y %X %z", time ),
-      'Date: '. time2str("%a, %d %b %Y %X ", time ). "-0800",
-      'Subject: Freeside demo information',
-    ] );
-    $msg = Mail::Internet->new(
-      'Header' => $header,
-      'Body' => [
-    "Hello,\n",
-    "\n",
-    "Your sample Freeside database has been setup.\n",
-    "\n",
-    "Your login and database will be automatically deleted in 1-2 months.\n",
-    "\n",        
-    "Point your web browswer at http://freeside.sisd.com/ and use the following\n",
-    "authentication information:\n",
-    "\n",
-    "Username: $username\n",
-    "Password: $user_pw\n",
-    "\n",
-    "-- \n",
-    "ivan\n",
-                ]
-    );
-    $msg->smtpsend or die "Can\'t send registration email!";
-
-  }
-
-  $SIG{HUP} = 'DEFAULT';
-  $SIG{INT} = 'DEFAULT';
-  $SIG{QUIT} = 'DEFAULT';
-  $SIG{TERM} = 'DEFAULT';
-  $SIG{TSTP} = 'DEFAULT';
-  $SIG{PIPE} = 'DEFAULT';
-
-  sleep 5;
-
-}
-
-sub myerr {
-  my $msg = shift;
-  open(MAIL,"|mail ivan-fsdemoerr\@420.am");
-  print MAIL $msg, "\n\n";
-  print MAIL $msg, "\n\n";
-  close MAIL;
-};
-
diff --git a/htetc/freeside-base.conf b/htetc/freeside-base.conf
deleted file mode 100644 (file)
index f8ebece..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-PerlModule HTML::Mason
-<Directory %%%FREESIDE_DOCUMENT_ROOT%%%>
-AuthName Freeside
-AuthType Basic
-AuthUserFile /usr/local/etc/freeside/htpasswd
-require valid-user
-<Files ~ (\.cgi|\.html)>
-AddHandler perl-script .cgi .html
-PerlHandler HTML::Mason
-</Files>
-<Perl>
-require "/usr/local/etc/freeside/handler.pl";
-</Perl>
-</Directory>
-
diff --git a/htetc/freeside-rt.conf b/htetc/freeside-rt.conf
deleted file mode 100644 (file)
index 1cb089b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/NoAuth>
-<Limit GET POST>
-allow from all
-Satisfy any   
-SetHandler perl-script
-PerlHandler HTML::Mason
-</Limit>
-</Directory>
-
-<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/REST/1.0/NoAuth>
-<Limit GET POST>
-allow from all
-Satisfy any   
-SetHandler perl-script
-PerlHandler HTML::Mason
-</Limit>
-</Directory>
-
-<DirectoryMatch "^%%%FREESIDE_DOCUMENT_ROOT%%%/rt/.*NoAuth/images">
-SetHandler None
-</DirectoryMatch>
-
-<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Ticket/Attachment> 
-SetHandler perl-script 
-PerlHandler HTML::Mason 
-</Directory>
-
-<Directory %%%FREESIDE_DOCUMENT_ROOT%%%/rt/Search> 
-SetHandler perl-script 
-PerlHandler HTML::Mason 
-</Directory>
diff --git a/htetc/global.asa b/htetc/global.asa
deleted file mode 100644 (file)
index bb30608..0000000
+++ /dev/null
@@ -1,263 +0,0 @@
-BEGIN { eval "use Devel::AutoProfiler;"; } #only if installed...
-#BEGIN { package Devel::AutoProfiler; use vars qw(%caller_info); }
-#use Devel::AutoProfiler;
-
-use strict;
-use vars qw( $cgi $p );
-use Apache::ASP 2.55;
-use CGI 2.47;
-#use CGI::Carp qw(fatalsToBrowser);
-use Date::Format;
-use Date::Parse;
-use Time::Local;
-use Time::Duration;
-use Tie::IxHash;
-use URI::Escape;
-use HTML::Entities;
-use JSON;
-use IO::Handle;
-use IO::File;
-use IO::Scalar;
-use Net::Whois::Raw qw(whois);
-if ( $] < 5.006 ) {
-  eval "use Net::Whois::Raw 0.32 qw(whois)";
-  die $@ if $@;
-}
-use Text::CSV_XS;
-use Spreadsheet::WriteExcel;
-use Business::CreditCard;
-use String::Approx qw(amatch);
-use Chart::LinesPoints;
-use HTML::Widgets::SelectLayers 0.05;
-use FS;
-use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name);
-use FS::Record qw(qsearch qsearchs fields dbdef);
-use FS::Conf;
-use FS::CGI qw(header menubar popurl table itable ntable idiot eidiot
-               small_custview myexit http_header);
-use FS::UI::Web;
-use FS::Msgcat qw(gettext geterror);
-use FS::Misc qw( send_email );
-use FS::Report::Table::Monthly;
-use FS::TicketSystem;
-
-use FS::agent;
-use FS::agent_type;
-use FS::domain_record;
-use FS::cust_bill;
-use FS::cust_bill_pay;
-use FS::cust_credit;
-use FS::cust_credit_bill;
-use FS::cust_main qw(smart_search);
-use FS::cust_main_county;
-use FS::cust_pay;
-use FS::cust_pkg;
-use FS::cust_refund;
-use FS::cust_svc;
-use FS::nas;
-use FS::part_bill_event;
-use FS::part_pkg;
-use FS::part_referral;
-use FS::part_svc;
-use FS::part_svc_router;
-use FS::part_virtual_field;
-use FS::pkg_svc;
-use FS::port;
-use FS::queue qw(joblisting);
-use FS::raddb;
-use FS::session;
-use FS::svc_acct;
-use FS::svc_acct_pop qw(popselector);
-use FS::svc_domain;
-use FS::svc_forward;
-use FS::svc_www;
-use FS::router;
-use FS::addr_block;
-use FS::svc_broadband;
-use FS::svc_external;
-use FS::type_pkgs;
-use FS::part_export;
-use FS::part_export_option;
-use FS::export_svc;
-use FS::msgcat;
-use FS::rate;
-use FS::rate_region;
-use FS::rate_prefix;
-use FS::payment_gateway;
-use FS::agent_payment_gateway;
-
-sub Script_OnStart {
-  $Response->AddHeader('Cache-control' => 'no-cache');
-#  $Response->AddHeader('Expires' => 0);
-  $Response->{Expires} = -36288000;
-
-  $cgi = new CGI;
-  &cgisuidsetup($cgi);
-  $p = popurl(2);
-  #print $cgi->header( '-expires' => 'now' );
-  #dbh->{'private_profile'} = {} if dbh->can('sprintProfile');
-  dbh->{'private_profile'} = {} if UNIVERSAL::can(dbh, 'sprintProfile');
-
-  #really should check for FS::Profiler or something
-    # Devel::AutoProfiler _our_ VERSION?  thanks a fucking lot
-  if ( Devel::AutoProfiler->can('__recursively_fetch_subs_in_package') ) {
-    #should check to see it's my special version.  well, switch to FS::Profiler
-
-    #nicked from Devel::AutoProfiler::INIT
-    my %subs = Devel::AutoProfiler::__recursively_fetch_subs_in_package('main');
-
-
-    SUB : while( my ($name, $ref) = each(%subs) )
-      {
-        #next if $name =~ /^(main::)?Apache::/;
-        next unless $name =~ /FS/;
-        foreach my $sub (@Devel::AutoProfiler::do_not_instrument_this_sub)
-          {
-            if ($name =~ /$sub/)
-              {
-                next SUB;
-              }
-          }
-        next if ($Devel::AutoProfiler::do_not_instrument_this_sub{$name});
-        #warn "INIT name is $name \n";
-        Devel::AutoProfiler::__instrument_sub($name, $ref);
-      }
-
-  }
-
-}
-
-sub Script_OnFlush {
-  my $ref = $Response->{BinaryRef};
-  #$$ref = $cgi->header( @FS::CGI::header ) . $$ref;
-  #$$ref = $cgi->header() . $$ref;
-  #warn "Script_OnFlush called with dbh ". dbh. "\n";
-  #if ( dbh->can('sprintProfile') ) {
-  if ( UNIVERSAL::can(dbh, 'sprintProfile') ) {
-    #warn "dbh can sprintProfile\n";
-    if ( lc($Response->{ContentType}) eq 'text/html' ) { #con
-      #warn "contenttype is sprintProfile\n";
-      $$ref =~ s/<\/BODY>[\s\n]*<\/HTML>[\s\n]*$//i
-        or warn "can't remove";
-  
-      #$$ref .= '<PRE>'. ("\n"x96). encode_entities(dbh->sprintProfile()). '</PRE>';
-      #  wtf?  konqueror...
-      $$ref .= '<PRE>'. ("\n"x4096). encode_entities(dbh->sprintProfile()).
-               "\n\n". &sprintAutoProfile(). '</PRE>';
-
-      $$ref .= '</BODY></HTML>';
-    }
-    dbh->{'private_profile'} = {};
-  }
-}
-
-#if ( defined(@DBIx::Profile::ISA) && DBIx::Profile::db->can('sprintProfile') ) {
-#if ( defined(@DBIx::Profile::ISA) && UNIVERSAL::can('DBIx::Profile::db', 'sprintProfile') ) {
-if ( defined(@DBIx::Profile::ISA) ) {
-
-  #warn "enabling profiling redirects";
-  *CGI::redirect = sub {
-    my( $self, $location) = @_;
-    my $page =
-      $cgi->header.
-      qq!<HTML><BODY>Redirect to <A HREF="$location">$location</A>!.
-      '<BR><BR><PRE>'.
-        ( UNIVERSAL::can(dbh, 'sprintProfile')
-            ? encode_entities(dbh->sprintProfile())
-            : 'DBIx::Profile missing sprintProfile method;'.
-              'unpatched or too old?'                        ).
-      "\n\n". &sprintAutoProfile().  '</PRE>'.
-      '</BODY></HTML>';
-    dbh->{'private_profile'} = {};
-    return $page;
-  };
-
-}
-
-sub by_total_time 
-{ 
-  return $a->{total_time_in_sub} <=> $b->{total_time_in_sub}; 
-}
-
-sub sprintAutoProfile {
-  my %caller_info = %Devel::AutoProfiler::caller_info;
-  return unless keys %caller_info;
-
-  %Devel::AutoProfiler::caller_info = ();
-
-  my @keys = keys(%caller_info);
-
-  foreach my $key (@keys)
-    {
-      my $href = $caller_info{$key};
-
-      $href->{who_am_i} = $key;
-    }
-
-  my @subs = values(%caller_info);
-
-  #my @sorted = sort by_total_time ( @subs );
-  my @sorted = reverse sort by_total_time ( @subs );
-
-  # print Dumper \@sorted;
-
-  my @readable_info;
-
-  foreach my $sort (@sorted)
-    {
-      push(@readable_info, delete($sort->{who_am_i}));
-      push(@readable_info, $sort);
-    }
-
-  use Data::Dumper;
-  return encode_entities(Dumper(\@readable_info));
-
-}
-
-sub include {
-  my $file = shift;
-  my $shift = 0;
-  if ( $file =~ m(^([^/].*)/[^/]+) ) {
-    unshift @{$Response->{asp}{includes_dir}}, "./$1";
-    $shift = 1;
-  }
-  $file =~ s(^/)(%%%FREESIDE_DOCUMENT_ROOT%%%/);
-  #broken in 5.005# ${$Response->TrapInclude($file, @_)};
-  my $ref = $Response->TrapInclude($file, @_);
-  shift @{$Response->{asp}{includes_dir}} if $shift;
-  $$ref;
-}
-
-if ( defined(@DBIx::Profile::ISA) ) {
-
-  #false laziness w/above
-  *redirect = sub {
-    my($location) = @_;
-
-    ${$Response->{BinaryRef}} = 
-      $cgi->header.
-      qq!<HTML><BODY>Redirect to <A HREF="$location">$location</A>!.
-      '<BR><BR><PRE>'.
-        ( UNIVERSAL::can(dbh, 'sprintProfile')
-            ? encode_entities(dbh->sprintProfile())
-            : 'DBIx::Profile missing sprintProfile method;'.
-              'unpatched or too old?'                        ).
-      "\n\n". &sprintAutoProfile().  '</PRE>'.
-      '</BODY></HTML>';
-
-    dbh->{'private_profile'} = {};
-
-    $Response->End;
-
-  };
-
-} else {
-
-  *redirect = sub {
-    $Response->Redirect(@_);
-  }
-
-}
-
-1;
-
diff --git a/htetc/handler.pl b/htetc/handler.pl
deleted file mode 100644 (file)
index 2f2b0af..0000000
+++ /dev/null
@@ -1,331 +0,0 @@
-#!/usr/bin/perl
-#
-# This is a basic, fairly fuctional Mason handler.pl.
-#
-# For something a little more involved, check out session_handler.pl
-
-package HTML::Mason;
-
-# Bring in main Mason package.
-use HTML::Mason 1.1;
-
-# Bring in ApacheHandler, necessary for mod_perl integration.
-# Uncomment the second line (and comment the first) to use
-# Apache::Request instead of CGI.pm to parse arguments.
-use HTML::Mason::ApacheHandler;
-# use HTML::Mason::ApacheHandler (args_method=>'mod_perl');
-
-# Uncomment the next line if you plan to use the Mason previewer.
-#use HTML::Mason::Preview;
-
-use strict;
-
-###use Module::Refresh;###
-
-# List of modules that you want to use from components (see Admin
-# manual for details)
-#{  package HTML::Mason::Commands;
-#   use CGI;
-#}
-
-# Create Mason objects
-#
-
-#my $parser = new HTML::Mason::Parser;
-#my $interp = new HTML::Mason::Interp (parser=>$parser,
-#                                      comp_root=>'/var/www/masondocs',
-#                                      data_dir=>'/usr/local/etc/freeside/masondata',
-#                                      out_mode=>'stream',
-#                                     );
-
-use vars qw($r);
-
-if ( %%%RT_ENABLED%%% ) {
- eval '
-   use lib ( "/opt/rt3/local/lib", "/opt/rt3/lib" );
-   use RT;
-   use vars qw($Nobody $SystemUser);
-   RT::LoadConfig();
- ';
- die $@ if $@;
-
-
-}
-
-
-my $ah = new HTML::Mason::ApacheHandler (
-  #interp => $interp,
-  #auto_send_headers => 0,
-  comp_root=> [
-                [ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%'    ],
-                [ 'rt'       => '%%%FREESIDE_DOCUMENT_ROOT%%%/rt' ],
-              ],
-  data_dir=>'/usr/local/etc/freeside/masondata',
-  #out_mode=>'stream',
-
-  #RT
-  args_method => 'CGI',
-  default_escape_flags => 'h',
-  allow_globals => [qw(%session)],
-  #autoflush => 1,
-);
-
-# Activate the following if running httpd as root (the normal case).
-# Resets ownership of all files created by Mason at startup.
-#
-#chown (Apache->server->uid, Apache->server->gid, $interp->files_written);
-
-sub handler
-{
-    ($r) = @_;
-
-    # If you plan to intermix images in the same directory as
-    # components, activate the following to prevent Mason from
-    # evaluating image files as components.
-    #
-    #return -1 if $r->content_type && $r->content_type !~ m|^text/|i;
-
-    #rar
-    { package HTML::Mason::Commands;
-      use strict;
-      use vars qw( $cgi $p );
-      use vars qw( %session );
-      use CGI 2.47 qw(-private_tempfiles);
-      #use CGI::Carp qw(fatalsToBrowser);
-      use Date::Format;
-      use Date::Parse;
-      use Time::Local;
-      use Time::Duration;
-      use Tie::IxHash;
-      use URI::Escape;
-      use HTML::Entities;
-      use JSON;
-      use IO::Handle;
-      use IO::File;
-      use IO::Scalar;
-      use Net::Whois::Raw qw(whois);
-      if ( $] < 5.006 ) {
-        eval "use Net::Whois::Raw 0.32 qw(whois)";
-        die $@ if $@;
-      }
-      use Text::CSV_XS;
-      use Spreadsheet::WriteExcel;
-      use Business::CreditCard;
-      use String::Approx qw(amatch);
-      use Chart::LinesPoints;
-      use HTML::Widgets::SelectLayers 0.05;
-      use FS;
-      use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name);
-      use FS::Record qw(qsearch qsearchs fields dbdef);
-      use FS::Conf;
-      use FS::CGI qw(header menubar popurl table itable ntable idiot eidiot
-                     small_custview myexit http_header);
-      use FS::UI::Web;
-      use FS::Msgcat qw(gettext geterror);
-      use FS::Misc qw( send_email send_fax );
-      use FS::Report::Table::Monthly;
-      use FS::TicketSystem;
-
-      use FS::agent;
-      use FS::agent_type;
-      use FS::domain_record;
-      use FS::cust_bill;
-      use FS::cust_bill_pay;
-      use FS::cust_credit;
-      use FS::cust_credit_bill;
-      use FS::cust_main qw(smart_search);
-      use FS::cust_main_county;
-      use FS::cust_pay;
-      use FS::cust_pkg;
-      use FS::cust_refund;
-      use FS::cust_svc;
-      use FS::nas;
-      use FS::part_bill_event;
-      use FS::part_pkg;
-      use FS::part_referral;
-      use FS::part_svc;
-      use FS::part_svc_router;
-      use FS::part_virtual_field;
-      use FS::pkg_svc;
-      use FS::port;
-      use FS::queue qw(joblisting);
-      use FS::raddb;
-      use FS::session;
-      use FS::svc_acct;
-      use FS::svc_acct_pop qw(popselector);
-      use FS::svc_domain;
-      use FS::svc_forward;
-      use FS::svc_www;
-      use FS::router;
-      use FS::addr_block;
-      use FS::svc_broadband;
-      use FS::svc_external;
-      use FS::type_pkgs;
-      use FS::part_export;
-      use FS::part_export_option;
-      use FS::export_svc;
-      use FS::msgcat;
-      use FS::rate;
-      use FS::rate_region;
-      use FS::rate_prefix;
-      use FS::payment_gateway;
-      use FS::agent_payment_gateway;
-      use FS::XMLRPC;
-
-      if ( %%%RT_ENABLED%%% ) {
-        eval '
-          use RT::Tickets;
-          use RT::Transactions;
-          use RT::Users;
-          use RT::CurrentUser;
-          use RT::Templates;
-          use RT::Queues;
-          use RT::ScripActions;
-          use RT::ScripConditions;
-          use RT::Scrips;
-          use RT::Groups;
-          use RT::GroupMembers;
-          use RT::CustomFields;
-          use RT::CustomFieldValues;
-          use RT::ObjectCustomFieldValues;
-
-          use RT::Interface::Web;
-          use MIME::Entity;
-          use Text::Wrapper;
-          use CGI::Cookie;
-          use Time::ParseDate;
-          use HTML::Scrubber;
-          use Text::Quoted;
-        ';
-        die $@ if $@;
-      }
-
-      *CGI::redirect = sub {
-        my( $self, $location ) = @_;
-        use vars qw($m);
-
-        if ( defined(@DBIx::Profile::ISA) ) { #profiling redirect
-
-          my $page =
-            qq!<HTML><BODY>Redirect to <A HREF="$location">$location</A>!.
-            '<BR><BR><PRE>'.
-              ( UNIVERSAL::can(dbh, 'sprintProfile')
-                  ? encode_entities(dbh->sprintProfile())
-                  : 'DBIx::Profile missing sprintProfile method;'.
-                    'unpatched or too old?'                        ).
-            #"\n\n". &sprintAutoProfile().  '</PRE>'.
-            "\n\n".                         '</PRE>'.
-            '</BODY></HTML>';
-          dbh->{'private_profile'} = {};
-          return $page;
-
-        } else { #normal redirect
-
-          $m->redirect($location);
-          '';
-
-        }
-
-      };
-      
-      unless ( $HTML::Mason::r->filename =~ /\/rt\/.*NoAuth/ ) { #RT
-        $cgi = new CGI;
-        &cgisuidsetup($cgi);
-        #&cgisuidsetup($r);
-        $p = popurl(2);
-      }
-
-
-      sub include {
-        use vars qw($m);
-        $m->scomp(@_);
-      }
-
-      sub redirect {
-        my( $location ) = @_;
-        use vars qw($m);
-        $m->clear_buffer;
-        #false laziness w/above
-        if ( defined(@DBIx::Profile::ISA) ) { #profiling redirect
-
-          $m->print(
-            qq!<HTML><BODY>Redirect to <A HREF="$location">$location</A>!.
-            '<BR><BR><PRE>'.
-              ( UNIVERSAL::can(dbh, 'sprintProfile')
-                  ? encode_entities(dbh->sprintProfile())
-                  : 'DBIx::Profile missing sprintProfile method;'.
-                    'unpatched or too old?'                        ).
-            #"\n\n". &sprintAutoProfile().  '</PRE>'.
-            "\n\n".                         '</PRE>'.
-            '</BODY></HTML>'
-          );
-          dbh->{'private_profile'} = {};
-
-          $m->abort(200);
-
-        } else { #normal redirect
-
-          $m->redirect($location);
-
-        }
-
-      }
-
-    } # end package HTML::Mason::Commands;
-
-    ###Module::Refresh->refresh;###
-
-    $r->content_type('text/html');
-    #eorar
-
-    my $headers = $r->headers_out;
-    $headers->{'Cache-control'} = 'no-cache';
-    #$r->no_cache(1);
-    $headers->{'Expires'} = '0';
-
-#    $r->send_http_header;
-
-    #$ah->interp->remove_escape('h');
-
-    if ( $r->filename =~ /\/rt\// ) { #RT
-      #warn "processing RT file". $r->filename. "; escaping for RT\n";
-
-      # MasonX::Request::ExtendedCompRoot
-      #$ah->interp->comp_root( '/rt'. $ah->interp->comp_root() );
-
-      $ah->interp->set_escape( h => \&RT::Interface::Web::EscapeUTF8 );
-
-      local $SIG{__WARN__};
-      local $SIG{__DIE__};
-
-      RT::Init();
-
-      # We don't need to handle non-text, non-xml items
-      return -1 if defined( $r->content_type ) && $r->content_type !~ m!(^text/|\bxml\b)!io;
-
-    } else {
-      $ah->interp->set_escape( 'h' => sub { ${$_[0]}; } );
-    }
-
-    my %session;
-    my $status;
-    eval { $status = $ah->handle_request($r); };
-#!!
-#    if ( $@ ) {
-#      $RT::Logger->crit($@);
-#    }
-
-    undef %session;
-
-#!!
-#    if ($RT::Handle->TransactionDepth) {
-#      $RT::Handle->ForceRollback;
-#      $RT::Logger->crit(
-#"Transaction not committed. Usually indicates a software fault. Data loss may have occurred"
-#       );
-#    }
-
-    $status;
-}
-
-1;
diff --git a/httemplate/.htaccess b/httemplate/.htaccess
deleted file mode 100755 (executable)
index f8c6b9c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-AuthName        Freeside
-AuthType        Basic
-require valid-user
diff --git a/httemplate/autohandler b/httemplate/autohandler
deleted file mode 100644 (file)
index a3f7eb0..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-% $m->call_next;
-<%init>
-  dbh->{'private_profile'} = {} if UNIVERSAL::can(dbh, 'sprintProfile');
-</%init>
-<%filter>
-
-my $profile = '';
-if ( UNIVERSAL::can(dbh, 'sprintProfile') ) {
-
-  if ( lc($r->content_type) eq 'text/html' ) {
-
-    $profile = '<PRE>'. encode_entities(dbh->sprintProfile()).
-               #"\n\n". &sprintAutoProfile(). '</PRE>';
-               "\n\n".                        '</PRE>';
-  } 
-
-  dbh->{'private_profile'} = {};
-}
-
-s/(<\/BODY>[\s\n]*<\/HTML>[\s\n]*)$/$profile$1/i;
-</%filter>
diff --git a/httemplate/browse/addr_block.cgi b/httemplate/browse/addr_block.cgi
deleted file mode 100644 (file)
index 06ac556..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<%= header('Address Blocks', menubar('Main Menu'   => $p)) %>
-<%
-
-use NetAddr::IP;
-
-my @addr_block = qsearch('addr_block', {});
-my @router = qsearch('router', {});
-my $block;
-my $p2 = popurl(2);
-my $path = $p2 . "edit/process/addr_block";
-
-%>
-
-<% if ($cgi->param('error')) { %>
-   <FONT SIZE="+1" COLOR="#ff0000">Error: <%=$cgi->param('error')%></FONT>
-   <BR><BR>
-<% } %>
-
-<%=table()%>
-
-<% foreach $block (sort {$a->NetAddr cmp $b->NetAddr} @addr_block) { %>
-  <TR>
-    <TD><%=$block->NetAddr%></TD>
-  <% if (my $router = $block->router) { %>
-    <% if (scalar($block->svc_broadband) == 0) { %>
-    <TD>
-      <%=$router->routername%>
-    </TD>
-    <TD>
-      <FORM ACTION="<%=$path%>/deallocate.cgi" METHOD="POST">
-        <INPUT TYPE="hidden" NAME="blocknum" VALUE="<%=$block->blocknum%>">
-        <INPUT TYPE="submit" NAME="submit" VALUE="Deallocate">
-      </FORM>
-    </TD>
-    <% } else { %>
-    <TD COLSPAN="2">
-    <%=$router->routername%>
-    </TD>
-    <% } %>
-  <% } else { %>
-    <TD>
-      <FORM ACTION="<%=$path%>/allocate.cgi" METHOD="POST">
-        <INPUT TYPE="hidden" NAME="blocknum" VALUE="<%=$block->blocknum%>">
-        <SELECT NAME="routernum" SIZE="1">
-    <% foreach (@router) { %>
-          <OPTION VALUE="<%=$_->routernum %>"><%=$_->routername%></OPTION>
-    <% } %>
-        </SELECT>
-        <INPUT TYPE="submit" NAME="submit" VALUE="Allocate">
-      </FORM>
-    </TD>
-    <TD>
-      <FORM ACTION="<%=$path%>/split.cgi" METHOD="POST">
-        <INPUT TYPE="hidden" NAME="blocknum" VALUE="<%=$block->blocknum%>">
-        <INPUT TYPE="submit" NAME="submit" VALUE="Split">
-      </FORM>
-    </TD>
-  </TR>
-<% }
- } %>
-  <TR><TD COLSPAN="3"><BR></TD></TR>
-  <TR>
-    <FORM ACTION="<%=$path%>/add.cgi" METHOD="POST">
-    <TD>Gateway/Netmask</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="ip_gateway" SIZE="15">/<INPUT TYPE="text" NAME="ip_netmask" SIZE="2">
-    </TD>
-    <TD>
-      <INPUT TYPE="submit" NAME="submit" VALUE="Add">
-    </TD>
-    </FORM>
-  </TR>
-</TABLE>
-</BODY>
-</HTML>
-
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
deleted file mode 100755 (executable)
index 05300d0..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-<%
-
-  my %search;
-  if ( $cgi->param('showdisabled')
-       || !dbdef->table('agent')->column('disabled') ) {
-    %search = ();
-  } else {
-    %search = ( 'disabled' => '' );
-  }
-
-  my $conf = new FS::Conf;
-
-%>
-<%= header('Agent Listing', menubar(
-  'Main Menu'   => $p,
-  'Agent Types' => $p. 'browse/agent_type.cgi',
-#  'Add new agent' => '../edit/agent.cgi'
-)) %>
-Agents are resellers of your service. Agents may be limited to a subset of your
-full offerings (via their type).<BR><BR>
-<A HREF="<%= $p %>edit/agent.cgi"><I>Add a new agent</I></A><BR><BR>
-
-<% if ( dbdef->table('agent')->column('disabled') ) { %>
-  <%= $cgi->param('showdisabled')
-      ? do { $cgi->param('showdisabled', 0);
-             '( <a href="'. $cgi->self_url. '">hide disabled agents</a> )'; }
-      : do { $cgi->param('showdisabled', 1);
-             '( <a href="'. $cgi->self_url. '">show disabled agents</a> )'; }
-  %>
-<% } %>
-
-<%= table() %>
-<TR>
-  <TH COLSPAN=<%= ( $cgi->param('showdisabled') || !dbdef->table('agent')->column('disabled') ) ? 2 : 3 %>>Agent</TH>
-  <TH>Type</TH>
-  <TH>Customers</TH>
-  <TH><FONT SIZE=-1>Customer<BR>packages</FONT></TH>
-  <TH>Reports</TH>
-  <TH>Registration codes</TH>
-  <TH>Prepaid cards</TH>
-  <% if ( $conf->config('ticket_system') ) { %>
-    <TH>Ticketing</TH>
-  <% } %>
-  <TH><FONT SIZE=-1>Payment Gateway Overrides</FONT></TH>
-  <TH><FONT SIZE=-1>Freq.</FONT></TH>
-  <TH><FONT SIZE=-1>Prog.</FONT></TH>
-</TR>
-<% 
-#        <TH><FONT SIZE=-1>Agent #</FONT></TH>
-#        <TH>Agent</TH>
-
-foreach my $agent ( sort { 
-  #$a->getfield('agentnum') <=> $b->getfield('agentnum')
-  $a->getfield('agent') cmp $b->getfield('agent')
-} qsearch('agent', \%search ) ) {
-
-  my $cust_main_link = $p. 'search/cust_main.cgi?agentnum_on=1&'.
-                       'agentnum='. $agent->agentnum;
-
-  my $cust_pkg_link = $p. 'search/cust_pkg.cgi?agentnum='. $agent->agentnum;
-
-%>
-
-      <TR>
-        <TD><A HREF="<%=$p%>edit/agent.cgi?<%= $agent->agentnum %>">
-          <%= $agent->agentnum %></A></TD>
-<% if ( dbdef->table('agent')->column('disabled')
-        && !$cgi->param('showdisabled')           ) { %>
-        <TD><%= $agent->disabled ? 'DISABLED' : '' %></TD>
-<% } %>
-
-        <TD><A HREF="<%=$p%>edit/agent.cgi?<%= $agent->agentnum %>">
-          <%= $agent->agent %></A></TD>
-        <TD><A HREF="<%=$p%>edit/agent_type.cgi?<%= $agent->typenum %>"><%= $agent->agent_type->atype %></A></TD>
-
-        <TD>
-          <TABLE CELLSPACING=0 CELLPADDING=0>
-            <TR>
-              <TH ALIGN="right" WIDTH="40%">
-                <%= my $num_prospect = $agent->num_prospect_cust_main %>&nbsp;
-              </TH>
-              <TD>
-                <% if ( $num_prospect ) { %>
-                  <A HREF="<%= $cust_main_link %>&prospect=1"><% } %>prospects<% if ($num_prospect ) { %></A><% } %>
-              <TD>
-            </TR>
-            <TR>
-              <TH ALIGN="right" WIDTH="40%">
-                <FONT COLOR="#00CC00">
-                  <%= my $num_active = $agent->num_active_cust_main %>&nbsp;
-                </FONT>
-              </TH>
-              <TD>
-                <% if ( $num_active ) { %>
-                  <A HREF="<%= $cust_main_link %>&active=1"><% } %>active<% if ( $num_active ) { %></A><% } %>
-              </TD>
-            </TR>
-            <TR>
-              <TH ALIGN="right" WIDTH="40%">
-                <FONT COLOR="#FF9900">
-                  <%= my $num_susp = $agent->num_susp_cust_main %>&nbsp;
-                </FONT>
-              </TH>
-              <TD>
-                <% if ( $num_susp ) { %>
-                  <A HREF="<%= $cust_main_link %>&suspended=1"><% } %>suspended<% if ( $num_susp ) { %></A><% } %>
-              </TD>
-            </TR>
-            <TR>
-              <TH ALIGN="right" WIDTH="40%">
-                <FONT COLOR="#FF0000">
-                  <%= my $num_cancel = $agent->num_cancel_cust_main %>&nbsp;
-                </FONT>
-              </TH>
-              <TD>
-                <% if ( $num_cancel ) { %>
-                  <A HREF="<%= $cust_main_link %>&showcancelledcustomers=1&cancelled=1"><% } %>cancelled<% if ( $num_cancel ) { %></A><% } %>
-              </TD>
-            </TR>
-          </TABLE>
-        </TD>
-
-        <TD>
-          <TABLE CELLSPACING=0 CELLPADDING=0>
-            <TR>
-              <TH ALIGN="right" WIDTH="40%">
-                <FONT COLOR="#00CC00">
-                  <%= my $num_active_pkg = $agent->num_active_cust_pkg %>&nbsp;
-                </FONT>
-              </TH>
-              <TD>
-                <% if ( $num_active_pkg ) { %>
-                  <A HREF="<%= $cust_pkg_link %>&magic=active"><% } %>active<% if ( $num_active_pkg ) { %></A><% } %>
-              </TD>
-            </TR>
-            <TR>
-              <TH ALIGN="right" WIDTH="40%">
-                <FONT COLOR="#FF9900">
-                  <%= my $num_susp_pkg = $agent->num_susp_cust_pkg %>&nbsp;
-                </FONT>
-              </TH>
-              <TD>
-                <% if ( $num_susp_pkg ) { %>
-                  <A HREF="<%= $cust_pkg_link %>&magic=suspended"><% } %>suspended<% if ( $num_susp_pkg ) { %></A><% } %>
-              </TD>
-            </TR>
-            <TR>
-              <TH ALIGN="right" WIDTH="40%">
-                <FONT COLOR="#FF0000">
-                  <%= my $num_cancel_pkg = $agent->num_cancel_cust_pkg %>&nbsp;
-                </FONT>
-              </TH>
-              <TD>
-                <% if ( $num_cancel_pkg ) { %>
-                  <A HREF="<%= $cust_pkg_link %>&magic=cancelled"><% } %>cancelled<% if ( $num_cancel_pkg ) { %></A><% } %>
-              </TD>
-            </TR>
-          </TABLE>
-        </TD>
-
-        <TD>
-          <A HREF="<%= $p %>search/report_cust_pay.html?agentnum=<%= $agent->agentnum %>">Payments</A>
-          <BR><A HREF="<%= $p %>search/report_cust_credit.html?agentnum=<%= $agent->agentnum %>">Credits</A>
-          <BR><A HREF="<%= $p %>search/report_receivables.cgi?agentnum=<%= $agent->agentnum %>">A/R Aging</A>
-          <!--<BR><A HREF="<%= $p %>search/money_time.cgi?agentnum=<%= $agent->agentnum %>">Sales/Credits/Receipts</A>-->
-
-        </TD>
-
-        <TD>
-          <%= my $num_reg_code = $agent->num_reg_code %>
-          <% if ( $num_reg_code ) { %>
-            <A HREF="<%=$p%>search/reg_code.html?agentnum=<%= $agent->agentnum %>"><% } %>Unused<% if ( $num_reg_code ) { %></A><% } %>
-          <BR><A HREF="<%=$p%>edit/reg_code.cgi?agentnum=<%= $agent->agentnum %>">Generate codes</A>
-        </TD>
-
-        <TD>
-          <%= my $num_prepay_credit = $agent->num_prepay_credit %>
-          <% if ( $num_prepay_credit ) { %>
-            <A HREF="<%=$p%>search/prepay_credit.html?agentnum=<%= $agent->agentnum %>"><% } %>Unused<% if ( $num_prepay_credit ) { %></A><% } %>
-          <BR><A HREF="<%=$p%>edit/prepay_credit.cgi?agentnum=<%= $agent->agentnum %>">Generate cards</A>
-        </TD>
-
-        <% if ( $conf->config('ticket_system') ) { %>
-
-          <TD>
-            <% if ( $agent->ticketing_queueid ) { %>
-              Queue: <%= $agent->ticketing_queueid %>: <%= $agent->ticketing_queue %><BR>
-            <% } %>
-          </TD>
-
-        <% } %>
-
-        <TD>
-          <TABLE CELLSPACING=0 CELLPADDING=0>
-            <% foreach my $override (
-                 # sort { }  want taxclass-full stuff first?  and default cards (empty cardtype)
-                 qsearch('agent_payment_gateway', { 'agentnum' => $agent->agentnum } )
-               ) {
-            %>
-              <TR>
-                <TD> 
-                  <%= $override->cardtype || 'Default' %> to <%= $override->payment_gateway->gateway_module %> (<%= $override->payment_gateway->gateway_username %>)
-                  <%= $override->taxclass
-                        ? ' for '. $override->taxclass. ' only'
-                        : ''
-                  %>
-                  <FONT SIZE=-1><A HREF="<%=$p%>misc/delete-agent_payment_gateway.cgi?<%= 'XXXoverridenum' %>">(delete)</A></FONT>
-                </TD>
-              </TR>
-            <% } %>
-            <TR>
-              <TD><FONT SIZE=-1><A HREF="<%=$p%>edit/agent_payment_gateway.html?agentnum=<%= $agent->agentnum %>">(add override)</A></FONT></TD>
-            </TR>
-          </TABLE>
-        </TD>
-
-        <TD><%= $agent->freq %></TD>
-        <TD><%= $agent->prog %></TD>
-
-      </TR>
-
-<% } %>
-
-    </TABLE>
-  </BODY>
-</HTML>
diff --git a/httemplate/browse/agent_type.cgi b/httemplate/browse/agent_type.cgi
deleted file mode 100755 (executable)
index 5473804..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!-- mason kludge -->
-<%= header("Agent Type Listing", menubar(
-  'Main Menu' => $p,
-  'Agents'    => $p. 'browse/agent.cgi',
-)) %>
-Agent types define groups of packages that you can then assign to particular
-agents.<BR><BR>
-<A HREF="<%= $p %>edit/agent_type.cgi"><I>Add a new agent type</I></A><BR><BR>
-
-<%= table() %>
-<TR>
-  <TH COLSPAN=2>Agent Type</TH>
-  <TH COLSPAN=2>Packages</TH>
-</TR>
-
-<% 
-foreach my $agent_type ( sort { 
-  $a->getfield('typenum') <=> $b->getfield('typenum')
-} qsearch('agent_type',{}) ) {
-  my $hashref = $agent_type->hashref;
-  #more efficient to do this with SQL...
-  my @type_pkgs = grep { $_->part_pkg and ! $_->part_pkg->disabled }
-                       qsearch('type_pkgs',{'typenum'=> $hashref->{typenum} });
-  my $rowspan = scalar(@type_pkgs);
-  $rowspan = int($rowspan/2+0.5) ;
-  print <<END;
-      <TR>
-        <TD ROWSPAN=$rowspan><A HREF="${p}edit/agent_type.cgi?$hashref->{typenum}">
-          $hashref->{typenum}
-        </A></TD>
-        <TD ROWSPAN=$rowspan><A HREF="${p}edit/agent_type.cgi?$hashref->{typenum}">$hashref->{atype}</A></TD>
-END
-
-  my($type_pkgs);
-  my($tdcount) = -1 ;
-  foreach $type_pkgs ( @type_pkgs ) {
-    my($pkgpart)=$type_pkgs->getfield('pkgpart');
-    my($part_pkg) = qsearchs('part_pkg',{'pkgpart'=> $pkgpart });
-    print qq!<TR>! if ($tdcount == 0) ;
-    $tdcount = 0 if ($tdcount == -1) ;
-    print qq!<TD><A HREF="${p}edit/part_pkg.cgi?$pkgpart">!,
-          $part_pkg->getfield('pkg'),"</A></TD>";
-    $tdcount ++ ;
-    if ($tdcount == 2)
-    {
-       print qq!</TR>\n! ;
-       $tdcount = 0 ;
-    }
-  }
-
-  print "</TR>";
-}
-
-print <<END;
-    </TABLE>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/browse/cust_main_county.cgi b/httemplate/browse/cust_main_county.cgi
deleted file mode 100755 (executable)
index 1e0e088..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-my $enable_taxclasses = $conf->exists('enable_taxclasses');
-
-print header("Tax Rate Listing", menubar(
-  'Main Menu' => $p,
-  'Edit tax rates' => $p. "edit/cust_main_county.cgi",
-)),<<END;
-    Click on <u>expand country</u> to specify a country's tax rates by state.
-    <BR>Click on <u>expand state</u> to specify a state's tax rates by county.
-END
-
-if ( $enable_taxclasses ) {
-  print '<BR>Click on <u>expand taxclasses</u> to specify tax classes';
-}
-
-print '<BR><BR>'. &table(). <<END;
-      <TR>
-        <TH><FONT SIZE=-1>Country</FONT></TH>
-        <TH><FONT SIZE=-1>State</FONT></TH>
-        <TH>County</TH>
-        <TH>Taxclass<BR><FONT SIZE=-1>(per-package classification)</FONT></TH>
-        <TH>Tax name<BR><FONT SIZE=-1>(printed on invoices)</FONT></TH>
-        <TH><FONT SIZE=-1>Tax</FONT></TH>
-        <TH><FONT SIZE=-1>Exemption</TH>
-      </TR>
-END
-
-my @regions = sort {    $a->country  cmp $b->country
-                     or $a->state    cmp $b->state
-                     or $a->county   cmp $b->county
-                     or $a->taxclass cmp $b->taxclass
-                   } qsearch('cust_main_county',{});
-
-my $sup=0;
-#foreach $cust_main_county ( @regions ) {
-for ( my $i=0; $i<@regions; $i++ ) { 
-  my $cust_main_county = $regions[$i];
-  my $hashref = $cust_main_county->hashref;
-  print <<END;
-      <TR>
-        <TD BGCOLOR="#ffffff">$hashref->{country}</TD>
-END
-
-  my $j;
-  if ( $sup ) {
-    $sup--;
-  } else {
-
-    #lookahead
-    for ( $j=1; $i+$j<@regions; $j++ ) {
-      last if $hashref->{country} ne $regions[$i+$j]->country
-           || $hashref->{state} ne $regions[$i+$j]->state
-           || $hashref->{tax} != $regions[$i+$j]->tax
-           || $hashref->{exempt_amount} != $regions[$i+$j]->exempt_amount
-           || $hashref->{setuptax} ne $regions[$i+$j]->setuptax
-           || $hashref->{recurtax} ne $regions[$i+$j]->recurtax;
-    }
-
-    my $newsup=0;
-    if ( $j>1 && $i+$j+1 < @regions
-         && ( $hashref->{state} ne $regions[$i+$j+1]->state 
-              || $hashref->{country} ne $regions[$i+$j+1]->country
-              )
-         && ( ! $i
-              || $hashref->{state} ne $regions[$i-1]->state 
-              || $hashref->{country} ne $regions[$i-1]->country
-              )
-       ) {
-       $sup = $j-1;
-    } else {
-      $j = 1;
-    }
-
-    print "<TD ROWSPAN=$j", $hashref->{state}
-        ? ' BGCOLOR="#ffffff">'. $hashref->{state}
-        : qq! BGCOLOR="#cccccc">(ALL) <FONT SIZE=-1>!.
-          qq!<A HREF="${p}edit/cust_main_county-expand.cgi?!. $hashref->{taxnum}.
-          qq!">expand country</A></FONT>!;
-
-    print qq! <FONT SIZE=-1><A HREF="${p}edit/process/cust_main_county-collapse.cgi?!. $hashref->{taxnum}. qq!">collapse state</A></FONT>! if $j>1;
-
-    print "</TD>";
-  }
-
-#  $sup=$newsup;
-
-  print "<TD";
-  if ( $hashref->{county} ) {
-    print ' BGCOLOR="#ffffff">'. $hashref->{county};
-  } else {
-    print ' BGCOLOR="#cccccc">(ALL)';
-    if ( $hashref->{state} ) {
-      print qq!<FONT SIZE=-1>!.
-          qq!<A HREF="${p}edit/cust_main_county-expand.cgi?!. $hashref->{taxnum}.
-          qq!">expand state</A></FONT>!;
-    }
-  }
-  print "</TD>";
-
-  print "<TD";
-  if ( $hashref->{taxclass} ) {
-    print ' BGCOLOR="#ffffff">'. $hashref->{taxclass};
-  } else {
-    print ' BGCOLOR="#cccccc">(ALL)';
-    if ( $enable_taxclasses ) {
-      print qq!<FONT SIZE=-1>!.
-            qq!<A HREF="${p}edit/cust_main_county-expand.cgi?taxclass!.
-            $hashref->{taxnum}. qq!">expand taxclasses</A></FONT>!;
-    }
-
-  }
-  print "</TD>";
-
-  print "<TD";
-  if ( $hashref->{taxname} ) {
-    print ' BGCOLOR="#ffffff">'. $hashref->{taxname};
-  } else {
-    print ' BGCOLOR="#cccccc">Tax';
-  }
-  print "</TD>";
-
-  print "<TD BGCOLOR=\"#ffffff\">$hashref->{tax}%</TD>".
-        '<TD BGCOLOR="#ffffff">';
-  print '$'. sprintf("%.2f", $hashref->{exempt_amount} ).
-        '&nbsp;per&nbsp;month<BR>'
-    if $hashref->{exempt_amount} > 0;
-  print 'Setup&nbsp;fee<BR>' if $hashref->{setuptax} =~ /^Y$/i;
-  print 'Recurring&nbsp;fee<BR>' if $hashref->{recurtax} =~ /^Y$/i;
-  print '</TD></TR>';
-
-}
-
-print <<END;
-    </TABLE>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/browse/cust_pay_batch.cgi b/httemplate/browse/cust_pay_batch.cgi
deleted file mode 100755 (executable)
index 3420e97..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!-- mason kludge -->
-<%= header("Pending credit card batch", menubar( 'Main Menu' => $p,)) %>
-
-<FORM ACTION="<%=$p%>misc/download-batch.cgi" METHOD="POST">
-Download batch in format <SELECT NAME="format">
-<OPTION VALUE="csv-td_canada_trust-merchant_pc_batch">CSV file for TD Canada Trust Merchant PC Batch</OPTION>
-</SELECT><INPUT TYPE="submit" VALUE="Download"></FORM>
-<BR><BR>
-
-<FORM ACTION="<%=$p%>misc/upload-batch.cgi" METHOD="POST" ENCTYPE="multipart/form-data">
-Upload results<BR>
-Filename <INPUT TYPE="file" NAME="batch_results"><BR>
-Format <SELECT NAME="format">
-<OPTION VALUE="csv-td_canada_trust-merchant_pc_batch">CSV results from TD Canada Trust Merchant PC Batch</OPTION>
-</SELECT><BR>
-<INPUT TYPE="submit" VALUE="Upload"></FORM>
-<BR>
-
-<%
-  my $statement = "SELECT SUM(amount) from cust_pay_batch";
-  my $sth = dbh->prepare($statement) or die dbh->errstr. "doing $statement";
-  $sth->execute or die "Error executing \"$statement\": ". $sth->errstr;
-  my $total = $sth->fetchrow_arrayref->[0];
-
-  my $c_statement = "SELECT COUNT(*) from cust_pay_batch";
-  my $c_sth = dbh->prepare($c_statement)
-    or die dbh->errstr. "doing $c_statement";
-  $c_sth->execute or die "Error executing \"$c_statement\": ". $c_sth->errstr;
-  my $cards = $c_sth->fetchrow_arrayref->[0];
-%>
-<%= $cards %> credit card payments batched<BR>
-$<%= sprintf("%.2f", $total) %> total in pending batch<BR>
-
-<BR>
-<%= &table() %>
-      <TR>
-        <TH>#</TH>
-        <TH><font size=-1>inv#</font></TH>
-        <TH COLSPAN=2>Customer</TH>
-        <TH>Card name</TH>
-        <TH>Card</TH>
-        <TH>Exp</TH>
-        <TH>Amount</TH>
-      </TR>
-
-<%
-foreach my $cust_pay_batch ( sort { $a->paybatchnum <=> $b->paybatchnum }
-                             qsearch('cust_pay_batch', {} )
-) {
-  my $cardnum = $cust_pay_batch->cardnum;
-  #$cardnum =~ s/.{4}$/xxxx/;
-  $cardnum = 'x'x(length($cardnum)-4). substr($cardnum,(length($cardnum)-4));
-
-  $cust_pay_batch->exp =~ /^\d{2}(\d{2})[\/\-](\d+)[\/\-]\d+$/;
-  my( $mon, $year ) = ( $2, $1 );
-  $mon = "0$mon" if $mon < 10;
-  my $exp = "$mon/$year";
-
-%>
-
-      <TR>
-        <TD><%= $cust_pay_batch->paybatchnum %></TD>
-        <TD><A HREF="../view/cust_bill.cgi?<%= $cust_pay_batch->invnum %>"><%= $cust_pay_batch->invnum %></TD>
-        <TD><A HREF="../view/cust_main.cgi?<%= $cust_pay_batch->custnum %>"><%= $cust_pay_batch->custnum %></TD>
-        <TD><%= $cust_pay_batch->get('last'). ', '. $cust_pay_batch->first %></TD>
-        <TD><%= $cust_pay_batch->payname %></TD>
-        <TD><%= $cardnum %></TD>
-        <TD><%= $exp %></TD>
-        <TD align="right">$<%= $cust_pay_batch->amount %></TD>
-      </TR>
-
-<% } %>
-
-    </TABLE>
-  </BODY>
-</HTML>
diff --git a/httemplate/browse/generic.cgi b/httemplate/browse/generic.cgi
deleted file mode 100644 (file)
index 9ac0f23..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<%
-
-use FS::Record qw(qsearch dbdef);
-use DBIx::DBSchema;
-use DBIx::DBSchema::Table;
-
-my $error;
-my $p2 = popurl(2);
-my ($table) = $cgi->keywords;
-my $dbdef = dbdef or die "Cannot fetch dbdef!";
-my $dbdef_table = $dbdef->table($table) or die "Cannot fetch schema for $table";
-
-my $pkey = $dbdef_table->primary_key or die "Cannot fetch pkey for $table";
-print header("Browse $table", menubar('Main Menu'   => $p));
-
-my @rec = qsearch($table, {});
-my @col = $dbdef_table->columns;
-
-if ($cgi->param('error')) { %>
-   <FONT SIZE="+1" COLOR="#ff0000">Error: <%=$cgi->param('error')%></FONT>
-   <BR><BR>
-<% } 
-%>
-<A HREF="<%=$p2%>edit/<%=$table%>.cgi"><I>Add a new <%=$table%></I></A><BR><BR>
-
-<%=table()%>
-<TH>
-<% foreach (grep { $_ ne $pkey } @col) {
-  %><TD><%=$_%></TD>
-  <% } %>
-</TH>
-<% foreach $rec (sort {$a->getfield($pkey) cmp $b->getfield($pkey) } @rec) { 
-  %>
-  <TR>
-    <TD>
-      <A HREF="<%=$p2%>edit/<%=$table%>.cgi?<%=$rec->getfield($pkey)%>">
-      <%=$rec->getfield($pkey)%></A> </TD> <%
-  foreach $col (grep { $_ ne $pkey } @col)  { %>
-    <TD><%=$rec->getfield($col)%></TD> <% } %>
-  </A>
-  </TR>
-<% } %>
-</TABLE>
-</BODY>
-</HTML>
-
diff --git a/httemplate/browse/msgcat.cgi b/httemplate/browse/msgcat.cgi
deleted file mode 100755 (executable)
index d4adf9f..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!-- mason kludge -->
-<%
-
-print header("View Message catalog", menubar(
-  'Main Menu' => $p,
-  'Edit message catalog' => $p. "edit/msgcat.cgi",
-)), '<BR>';
-
-my $widget = new HTML::Widgets::SelectLayers(
-  'selected_layer' => 'en_US',
-  'options'        => { 'en_US'=>'en_US' },
-  'layer_callback' => sub {
-    my $layer = shift;
-    my $html = "<BR>Messages for locale $layer<BR>". table().
-               "<TR><TH COLSPAN=2>Code</TH>".
-               "<TH>Message</TH>";
-    $html .= "<TH>en_US Message</TH>" unless $layer eq 'en_US';
-    $html .= '</TR>';
-
-    #foreach my $msgcat ( sort { $a->msgcode cmp $b->msgcode }
-    #                       qsearch('msgcat', { 'locale' => $layer } ) ) {
-    foreach my $msgcat ( qsearch('msgcat', { 'locale' => $layer } ) ) {
-      $html .= '<TR><TD>'. $msgcat->msgnum. '</TD>'.
-               '<TD>'. $msgcat->msgcode. '</TD>'.
-               '<TD>'. $msgcat->msg. '</TD>';
-      unless ( $layer eq 'en_US' ) {
-        my $en_msgcat = qsearchs('msgcat', {
-          'locale'  => 'en_US',
-          'msgcode' => $msgcat->msgcode,
-        } );
-        $html .= '<TD>'. $en_msgcat->msg. '</TD>';
-      }
-      $html .= '</TR>';
-    }
-
-    $html .= '</TABLE>';
-    $html;
-  },
-
-);
-
-print $widget->html;
-
-print <<END;
-    </TABLE>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/browse/nas.cgi b/httemplate/browse/nas.cgi
deleted file mode 100755 (executable)
index 9ccbfe6..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!-- mason kludge -->
-<%
-
-print header('NAS ports', menubar(
-  'Main Menu' => $p,
-));
-
-my $now = time;
-
-foreach my $nas ( sort { $a->nasnum <=> $b->nasnum } qsearch( 'nas', {} ) ) {
-  print $nas->nasnum. ": ". $nas->nas. " ".
-        $nas->nasfqdn. " (". $nas->nasip. ") ".
-        "as of ". time2str("%c",$nas->last).
-        " (". &pretty_interval($now - $nas->last). " ago)<br>".
-        &table(). "<TR><TH>Nas<BR>Port #</TH><TH>Global<BR>Port #</BR></TH>".
-        "<TH>IP address</TH><TH>User</TH><TH>Since</TH><TH>Duration</TH><TR>",
-  ;
-  foreach my $port ( sort {
-    $a->nasport <=> $b->nasport || $a->portnum <=> $b->portnum
-  } qsearch( 'port', { 'nasnum' => $nas->nasnum } ) ) {
-    my $session = $port->session;
-    my($user, $since, $pretty_since, $duration);
-    if ( ! $session ) {
-      $user = "(empty)";
-      $since = 0;
-      $pretty_since = "(never)";
-      $duration = '';
-    } elsif ( $session->logout ) {
-      $user = "(empty)";
-      $since = $session->logout;
-    } else {
-      my $svc_acct = $session->svc_acct;
-      $user = "<A HREF=\"$p/view/svc_acct.cgi?". $svc_acct->svcnum. "\">".
-              $svc_acct->username. "</A>";
-      $since = $session->login;
-    }
-    $pretty_since = time2str("%c", $since) if $since;
-    $duration = pretty_interval( $now - $since ). " ago"
-      unless defined($duration);
-    print "<TR><TD>". $port->nasport. "</TD><TD>". $port->portnum. "</TD><TD>".
-          $port->ip. "</TD><TD>$user</TD><TD>$pretty_since".
-          "</TD><TD>$duration</TD></TR>"
-    ;
-  }
-  print "</TABLE><BR>";
-}
-
-#Time::Duration??
-sub pretty_interval {
-  my $interval = shift;
-  my %howlong = (
-    '604800' => 'week',
-    '86400'  => 'day',
-    '3600'   => 'hour',
-    '60'     => 'minute',
-    '1'      => 'second',
-  );
-
-  my $pretty = "";
-  foreach my $key ( sort { $b <=> $a } keys %howlong ) {
-    my $value = int( $interval / $key );
-    if ( $value  ) {
-      if ( $value == 1 ) {
-        $pretty .=
-          ( $howlong{$key} eq 'hour' ? 'an ' : 'a ' ). $howlong{$key}. " "
-      } else {
-        $pretty .= $value. ' '. $howlong{$key}. 's ';
-      }
-    }
-    $interval -= $value * $key;
-  }
-  $pretty =~ /^\s*(\S.*\S)\s*$/;
-  $1;
-} 
-
-#print &table(), <<END;
-#<TR>
-#  <TH>#</TH>
-#  <TH>NAS</
-%>
diff --git a/httemplate/browse/part_bill_event.cgi b/httemplate/browse/part_bill_event.cgi
deleted file mode 100755 (executable)
index 670474d..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!-- mason kludge -->
-<% 
-
-my %search;
-if ( $cgi->param('showdisabled') ) {
-  %search = ();
-} else {
-  %search = ( 'disabled' => '' );
-}
-
-my @part_bill_event = qsearch('part_bill_event', \%search );
-my $total = scalar(@part_bill_event);
-
-%>
-<%= header('Invoice Event Listing', menubar( 'Main Menu' => $p) ) %>
-
-    Invoice events are actions taken on overdue invoices.<BR><BR>
-<A HREF="<%= $p %>edit/part_bill_event.cgi"><I>Add a new invoice event</I></A>
-<BR><BR>
-<%= $total %> events
-<%= $cgi->param('showdisabled')
-      ? do { $cgi->param('showdisabled', 0);
-             '( <a href="'. $cgi->self_url. '">hide disabled events</a> )'; }
-      : do { $cgi->param('showdisabled', 1);
-             '( <a href="'. $cgi->self_url. '">show disabled events</a> )'; }
-%>
-<%= table() %>
-  <TR>
-    <TH COLSPAN=<%= $cgi->param('showdisabled') ? 2 : 3 %>>Event</TH>
-    <TH>Payby</TH>
-    <TH>After</TH>
-    <TH>Action</TH>
-    <TH>Options</TH>
-    <TH>Code</TH>
-  </TR>
-
-<% foreach my $part_bill_event ( sort {    $a->payby     cmp $b->payby
-                                        || $a->seconds   <=> $b->seconds
-                                        || $a->weight    <=> $b->weight
-                                        || $a->eventpart <=> $b->eventpart
-                                      } @part_bill_event ) {
-     my $url = "${p}edit/part_bill_event.cgi?". $part_bill_event->eventpart;
-     use Time::Duration;
-     my $delay = duration_exact($part_bill_event->seconds);
-     my $plandata = $part_bill_event->plandata;
-     $plandata =~ s/\n/<BR>/go;
-%>
-  <TR>
-    <TD><A HREF="<%= $url %>">
-      <%= $part_bill_event->eventpart %></A></TD>
-<% unless ( $cgi->param('showdisabled') ) { %>
-    <TD>
-      <%= $part_bill_event->disabled ? 'DISABLED' : '' %></TD>
-<% } %>
-    <TD><A HREF="<%= $url %>">
-      <%= $part_bill_event->event %></A></TD>
-    <TD>
-      <%= $part_bill_event->payby %></TD>
-    <TD>
-      <%= $delay %></TD>
-    <TD>
-      <%= $part_bill_event->plan %></TD>
-    <TD>
-      <%= $plandata %></TD>
-    <TD><FONT SIZE="-1">
-      <%= $part_bill_event->eventcode %></FONT></TD>
-  </TR>
-<% } %>
-</TABLE>
-</BODY>
-</HTML>
diff --git a/httemplate/browse/part_export.cgi b/httemplate/browse/part_export.cgi
deleted file mode 100755 (executable)
index 79c57ae..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!-- mason kludge -->
-<%= header("Export Listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
-Provisioning services to external machines, databases and APIs.<BR><BR>
-<A HREF="<%= $p %>edit/part_export.cgi"><I>Add a new export</I></A><BR><BR>
-<SCRIPT>
-function part_export_areyousure(href) {
-  if (confirm("Are you sure you want to delete this export?") == true)
-    window.location.href = href;
-}
-</SCRIPT>
-
-<%= table() %>
-  <TR>
-    <TH COLSPAN=2>Export</TH>
-    <TH>Options</TH>
-  </TR>
-
-<% foreach my $part_export ( sort { 
-     $a->getfield('exportnum') <=> $b->getfield('exportnum')
-   } qsearch('part_export',{}) ) {
-%>
-  <TR>
-    <TD><A HREF="<%= $p %>edit/part_export.cgi?<%= $part_export->exportnum %>"><%= $part_export->exportnum %></A></TD>
-    <TD><%= $part_export->exporttype %> to <%= $part_export->machine %> (<A HREF="<%= $p %>edit/part_export.cgi?<%= $part_export->exportnum %>">edit</A>&nbsp;|&nbsp;<A HREF="javascript:part_export_areyousure('<%= $p %>misc/delete-part_export.cgi?<%= $part_export->exportnum %>')">delete</A>)</TD>
-    <TD>
-      <%= itable() %>
-      <% my %opt = $part_export->options;
-         foreach my $opt ( keys %opt ) { %>
-           <TR><TD><%= $opt %></TD><TD><%= encode_entities($opt{$opt}) %></TD></TR>
-      <% } %>
-      </TABLE>
-    </TD>
-  </TR>
-
-<% } %>
-
-</TABLE>
-</BODY>
-</HTML>
diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi
deleted file mode 100755 (executable)
index 8d5b554..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my %search;
-if ( $cgi->param('showdisabled') ) {
-  %search = ();
-} else {
-  %search = ( 'disabled' => '' );
-}
-
-my @part_pkg = qsearch('part_pkg', \%search );
-my $total = scalar(@part_pkg);
-
-my $sortby;
-my %num_active_cust_pkg = ();
-my( $suspended_sth, $canceled_sth ) = ( '', '' );
-if ( $cgi->param('active') ) {
-  my $active_sth = dbh->prepare(
-    'SELECT COUNT(*) FROM cust_pkg WHERE pkgpart = ?'.
-    ' AND ( cancel IS NULL OR cancel = 0 )'.
-    ' AND ( susp IS NULL OR susp = 0 )'
-  ) or die dbh->errstr;
-  foreach my $part_pkg ( @part_pkg ) {
-    $active_sth->execute($part_pkg->pkgpart) or die $active_sth->errstr;
-    $num_active_cust_pkg{$part_pkg->pkgpart} =
-      $active_sth->fetchrow_arrayref->[0];
-  }
-  $sortby = sub {
-    $num_active_cust_pkg{$b->pkgpart} <=> $num_active_cust_pkg{$a->pkgpart};
-  };
-
-  $suspended_sth = dbh->prepare(
-    'SELECT COUNT(*) FROM cust_pkg WHERE pkgpart = ?'.
-    ' AND ( cancel IS NULL OR cancel = 0 )'.
-    ' AND susp IS NOT NULL AND susp != 0'
-  ) or die dbh->errstr;
-
-  $canceled_sth = dbh->prepare(
-    'SELECT COUNT(*) FROM cust_pkg WHERE pkgpart = ?'.
-    ' AND cancel IS NOT NULL AND cancel != 0'
-  ) or die dbh->errstr;
-
-} else {
-  $sortby = sub { $a->pkgpart <=> $b->pkgpart; };
-}
-
-my $conf = new FS::Conf;
-my $taxclasses = $conf->exists('enable_taxclasses');
-
-%>
-<%= header("Package Definition Listing",menubar( 'Main Menu' => $p )) %>
-<% unless ( $cgi->param('active') ) { %>
-  One or more service definitions are grouped together into a package 
-  definition and given pricing information.  Customers purchase packages
-  rather than purchase services directly.<BR><BR>
-  <A HREF="<%= $p %>edit/part_pkg.cgi"><I>Add a new package definition</I></A>
-  <BR><BR>
-<% } %>
-
-<%= $total %> package definitions
-<% if ( $cgi->param('showdisabled') ) { $cgi->param('showdisabled', 0); %>
-  ( <a href="<%= $cgi->self_url %>">hide disabled packages</a> )
-<% } else { $cgi->param('showdisabled', 1); %>
-  ( <a href="<%= $cgi->self_url %>">show disabled packages</a> )
-<% } %>
-
-<% my $colspan = $cgi->param('showdisabled') ? 2 : 3; %>
-
-<%= &table() %>
-      <TR>
-        <TH COLSPAN=<%= $colspan %>>Package</TH>
-        <TH>Comment</TH>
-<% if ( $cgi->param('active') ) { %>
-        <TH><FONT SIZE=-1>Customer<BR>packages</FONT></TH>
-<% } %>
-        <TH><FONT SIZE=-1>Freq.</FONT></TH>
-<% if ( $taxclasses ) { %>
-       <TH><FONT SIZE=-1>Taxclass</FONT></TH>
-<% } %>
-        <TH><FONT SIZE=-1>Plan</FONT></TH>
-        <TH><FONT SIZE=-1>Data</FONT></TH>
-        <TH>Service</TH>
-        <TH><FONT SIZE=-1>Quan.</FONT></TH>
-<% if ( dbdef->table('pkg_svc')->column('primary_svc') ) { %>
-        <TH><FONT SIZE=-1>Primary</FONT></TH>
-<% } %>
-
-      </TR>
-
-<%
-foreach my $part_pkg ( sort $sortby @part_pkg ) {
-  my @pkg_svc = $part_pkg->pkg_svc;
-  my($rowspan)=scalar(@pkg_svc);
-  my $plandata;
-  if ( $part_pkg->plan ) {
-    $plandata = $part_pkg->plandata;
-    $plandata =~ s/^(\w+)=/$1&nbsp;/mg;
-    $plandata =~ s/\n/<BR>/g;
-  } else {
-    $part_pkg->plan('(legacy)');
-    $plandata = "Setup&nbsp;". $part_pkg->setup.
-                "<BR>Recur&nbsp;". $part_pkg->recur;
-  }
-%>
-      <TR>
-        <TD ROWSPAN=<%= $rowspan %>><A HREF="<%=$p%>edit/part_pkg.cgi?<%= $part_pkg->pkgpart %>"><%= $part_pkg->pkgpart %></A></TD>
-
-<% unless ( $cgi->param('showdisabled') ) { %>
-        <TD ROWSPAN=<%= $rowspan %>>
-   <% if ( $part_pkg->disabled ) { %>
-          DISABLED
-   <% } %>
-        </TD>
-<% } %>
-
-        <TD ROWSPAN=<%= $rowspan %>><A HREF="<%=$p%>edit/part_pkg.cgi?<%= $part_pkg->pkgpart %>"><%= $part_pkg->pkg %></A></TD>
-        <TD ROWSPAN=<%= $rowspan %>><%= $part_pkg->comment %></TD>
-
-<% if ( $cgi->param('active') ) { %>
-        <TD ROWSPAN=<%= $rowspan %>>
-          <FONT COLOR="#00CC00"><B><%= $num_active_cust_pkg{$part_pkg->pkgpart} %></B></FONT>&nbsp;<A HREF="<%=$p%>search/cust_pkg.cgi?magic=active;pkgpart=<%= $part_pkg->pkgpart %>">active</A><BR>
-
-   <% $suspended_sth->execute( $part_pkg->pkgpart )
-        or die $suspended_sth->errstr;
-      my $num_suspended = $suspended_sth->fetchrow_arrayref->[0];
-   %>
-          <FONT COLOR="#FF9900"><B><%= $num_suspended %></B></FONT>&nbsp;<A HREF="<%=$p%>search/cust_pkg.cgi?magic=suspended;pkgpart=<%= $part_pkg->pkgpart %>">suspended</A><BR>
-
-   <% $canceled_sth->execute( $part_pkg->pkgpart )
-        or die $canceled_sth->errstr;
-      my $num_canceled = $canceled_sth->fetchrow_arrayref->[0];
-   %>
-          <FONT COLOR="#FF0000"><B><%= $num_canceled %></B></FONT>&nbsp;<A HREF="<%=$p%>search/cust_pkg.cgi?magic=canceled;pkgpart=<%= $part_pkg->pkgpart %>">canceled</A>
-        </TD>
-<% } %>
-
-        <TD ROWSPAN=<%= $rowspan %>><%= $part_pkg->freq_pretty %></TD>
-
-<% if ( $taxclasses ) { %>
-       <TD ROWSPAN=<%= $rowspan %>><%= $part_pkg->taxclass || '&nbsp;' %></TD>
-<% } %>
-
-        <TD ROWSPAN=<%= $rowspan %>><%= $part_pkg->plan %></TD>
-        <TD ROWSPAN=<%= $rowspan %>><%= $plandata %></TD>
-
-<%
-  my($n)="";
-  foreach my $pkg_svc ( @pkg_svc ) {
-    my($svcpart)=$pkg_svc->getfield('svcpart');
-    my($part_svc) = qsearchs('part_svc',{'svcpart'=> $svcpart });
-    print $n,qq!<TD><A HREF="${p}edit/part_svc.cgi?$svcpart">!,
-          $part_svc->getfield('svc'),"</A></TD><TD>",
-          $pkg_svc->getfield('quantity'),"</TD>";
-    if ( dbdef->table('pkg_svc')->column('primary_svc') ) {
-      print '<TD>';
-      print 'PRIMARY' if $pkg_svc->primary_svc =~ /^Y/i;
-      print '</TD>';
-    }
-    print "</TR>\n";
-    $n="<TR>";
-  }
-%>
-
-      </TR>
-<% } %>
-
-    </TABLE>
-  </BODY>
-</HTML>
diff --git a/httemplate/browse/part_referral.cgi b/httemplate/browse/part_referral.cgi
deleted file mode 100755 (executable)
index 581e01b..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<!-- mason kludge -->
-<%= header("Advertising source Listing", menubar(
-  'Main Menu' => $p,
-#  'Add new referral' => "../edit/part_referral.cgi",
-)) %>
-Where a customer heard about your service. Tracked for informational purposes.
-<BR><BR>
-<A HREF="<%= $p %>edit/part_referral.cgi"><I>Add a new advertising source</I></A>
-<BR><BR>
-
-<%
-  my $today = timelocal(0, 0, 0, (localtime(time))[3..5] );
-  my %after;
-  tie %after, 'Tie::IxHash',
-    'Today'         =>        0,
-    'Yesterday'     =>    86400, # 60sec * 60min * 24hrs
-    'Past week'     =>   518400, # 60sec * 60min * 24hrs * 6days
-    'Past 30 days'  =>  2505600, # 60sec * 60min * 24hrs * 29days 
-    'Past 60 days'  =>  5097600, # 60sec * 60min * 24hrs * 59days 
-    'Past 90 days'  =>  7689600, # 60sec * 60min * 24hrs * 89days 
-    'Past 6 months' => 15724800, # 60sec * 60min * 24hrs * 182days 
-    'Past year'     => 31486000, # 60sec * 60min * 24hrs * 364days 
-    'Total'         => $today,
-  ;
-  my %before = (
-    'Today'         =>   86400, # 60sec * 60min * 24hrs
-    'Yesterday'     =>       0,
-    'Past week'     =>   86400, # 60sec * 60min * 24hrs
-    'Past 30 days'  =>   86400, # 60sec * 60min * 24hrs
-    'Past 60 days'  =>   86400, # 60sec * 60min * 24hrs
-    'Past 90 days'  =>   86400, # 60sec * 60min * 24hrs
-    'Past 6 months' =>   86400, # 60sec * 60min * 24hrs
-    'Past year'     =>   86400, # 60sec * 60min * 24hrs
-    'Total'         =>   86400, # 60sec * 60min * 24hrs
-  );
-
-  my $statement = "SELECT COUNT(*) FROM h_cust_main
-                    WHERE history_action = 'insert'
-                      AND refnum = ?
-                      AND history_date >= ?
-                     AND history_date < ?
-                 ";
-  my $sth = dbh->prepare($statement)
-    or die dbh->errstr;
-%>
-
-<%= table() %>
-<TR>
-  <TH COLSPAN=2 ROWSPAN=2>Advertising source</TH>
-  <TH COLSPAN=<%= scalar(keys %after) %>>Customers</TH>
-</TR>
-<% for my $period ( keys %after ) { %>
-  <TH><FONT SIZE=-1><%= $period %></FONT></TH>
-<% } %>
-</TR>
-
-<%
-foreach my $part_referral ( sort { 
-  $a->getfield('refnum') <=> $b->getfield('refnum')
-} qsearch('part_referral',{}) ) {
-%>
-      <TR>
-        <TD><A HREF="<%= $p %>edit/part_referral.cgi?<%= $part_referral->refnum %>">
-          <%= $part_referral->refnum %></A></TD>
-        <TD><A HREF="<%= $p %>edit/part_referral.cgi?<%= $part_referral->refnum %>">
-          <%= $part_referral->referral %></A></TD>
-        <% for my $period ( keys %after ) {
-          $sth->execute( $part_referral->refnum,
-                         $today-$after{$period},
-                         $today+$before{$period},
-          ) or die $sth->errstr;
-          my $number = $sth->fetchrow_arrayref->[0];
-        %>
-          <TD ALIGN="right"><%= $number %></TD>
-        <% } %>
-      </TR>
-<% } %>
-
-<%
-  $statement =~ s/AND refnum = \?//;
-  $sth = dbh->prepare($statement)
-    or die dbh->errstr;
-%>
-      <TR>
-        <TH COLSPAN=2>Total</TH>
-        <% for my $period ( keys %after ) {
-          $sth->execute( $today-$after{$period},
-                         $today+$before{$period},
-          ) or die $sth->errstr;
-          my $number = $sth->fetchrow_arrayref->[0];
-        %>
-          <TD ALIGN="right"><%= $number %></TD>
-        <% } %>
-      </TR>
-    </TABLE>
-  </BODY>
-</HTML>
diff --git a/httemplate/browse/part_svc.cgi b/httemplate/browse/part_svc.cgi
deleted file mode 100755 (executable)
index a725dc0..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-<% 
-
-my %flag = (
-  'D' => 'Default',
-  'F' => 'Fixed',
-  ''  => '',
-);
-
-my %search;
-if ( $cgi->param('showdisabled') ) {
-  %search = ();
-} else {
-  %search = ( 'disabled' => '' );
-}
-
-my @part_svc =
-  sort { $a->getfield('svcpart') <=> $b->getfield('svcpart') }
-    qsearch('part_svc', \%search );
-my $total = scalar(@part_svc);
-
-my %num_active_cust_svc = map { $_->svcpart => $_->num_cust_svc } @part_svc;
-
-if ( $cgi->param('orderby') eq 'active' ) {
-  @part_svc = sort { $num_active_cust_svc{$b->svcpart} <=>
-                     $num_active_cust_svc{$a->svcpart}     } @part_svc;
-} elsif ( $cgi->param('orderby') eq 'svc' ) { 
-  @part_svc = sort { lc($a->svc) cmp lc($b->svc) } @part_svc;
-}
-
-%>
-<%= header('Service Definition Listing', menubar( 'Main Menu' => $p) ) %>
-
-<SCRIPT>
-function part_export_areyousure(href) {
-  if (confirm("Are you sure you want to delete this export?") == true)
-    window.location.href = href;
-}
-</SCRIPT>
-
-    Service definitions are the templates for items you offer to your customers.<BR><BR>
-
-<FORM METHOD="POST" ACTION="<%= $p %>edit/part_svc.cgi">
-<A HREF="<%= $p %>edit/part_svc.cgi"><I>Add a new service definition</I></A><% if ( @part_svc ) { %>&nbsp;or&nbsp;<SELECT NAME="clone"><OPTION></OPTION>
-<% foreach my $part_svc ( @part_svc ) { %>
-  <OPTION VALUE="<%= $part_svc->svcpart %>"><%= $part_svc->svc %></OPTION>
-<% } %>
-</SELECT><INPUT TYPE="submit" VALUE="Clone existing service">
-<% } %>
-</FORM><BR>
-
-<%= $total %> service definitions
-<%= $cgi->param('showdisabled')
-      ? do { $cgi->param('showdisabled', 0);
-             '( <a href="'. $cgi->self_url. '">hide disabled services</a> )'; }
-      : do { $cgi->param('showdisabled', 1);
-             '( <a href="'. $cgi->self_url. '">show disabled services</a> )'; }
-%>
-<% $cgi->param('showdisabled', ( 1 ^ $cgi->param('showdisabled') ) ); %>
-<%= table() %>
-  <TR>
-    <TH><A HREF="<%= do { $cgi->param('orderby', 'svcpart'); $cgi->self_url } %>">#</A></TH>
-    <% if ( $cgi->param('showdisabled') ) { %>
-      <TH>Status</TH>
-    <% } %>
-    <TH><A HREF="<%= do { $cgi->param('orderby', 'svc'); $cgi->self_url; } %>">Service</A></TH>
-    <TH>Table</TH>
-    <TH><A HREF="<%= do { $cgi->param('orderby', 'active'); $cgi->self_url; } %>"><FONT SIZE=-1>Customer<BR>Services</FONT></A></TH>
-    <TH>Export</TH>
-    <TH>Field</TH>
-    <TH COLSPAN=2>Modifier</TH>
-  </TR>
-
-<% foreach my $part_svc ( @part_svc ) {
-     my $svcdb = $part_svc->svcdb;
-     my $svc_x = "FS::$svcdb"->new( { svcpart => $part_svc->svcpart } );
-     my @dfields = $svc_x->fields;
-     push @dfields, 'usergroup' if $svcdb eq 'svc_acct'; #kludge
-     my @fields =
-       grep { $svc_x->pvf($_)
-           or $_ ne 'svcnum' && $part_svc->part_svc_column($_)->columnflag }
-            @dfields ;
-     my $rowspan = scalar(@fields) || 1;
-     my $url = "${p}edit/part_svc.cgi?". $part_svc->svcpart;
-%>
-
-  <TR>
-    <TD ROWSPAN=<%= $rowspan %>><A HREF="<%= $url %>">
-      <%= $part_svc->svcpart %></A></TD>
-<% if ( $cgi->param('showdisabled') ) { %>
-    <TD ROWSPAN=<%= $rowspan %>>
-      <%= $part_svc->disabled
-            ? '<FONT COLOR="#FF0000"><B>Disabled</B></FONT>'
-            : '<FONT COLOR="#00CC00"><B>Enabled</B></FONT>'
-      %>
-    </TD>
-<% } %>
-    <TD ROWSPAN=<%= $rowspan %>><A HREF="<%= $url %>">
-      <%= $part_svc->svc %></A></TD>
-    <TD ROWSPAN=<%= $rowspan %>>
-      <%= $svcdb %></TD>
-    <TD ROWSPAN=<%= $rowspan %>>
-      <FONT COLOR="#00CC00"><B><%= $num_active_cust_svc{$part_svc->svcpart} %></B></FONT>&nbsp;<A HREF="<%=$p%>search/<%= $svcdb %>.cgi?svcpart=<%= $part_svc->svcpart %>">active</A>
-      <% if ( $num_active_cust_svc{$part_svc->svcpart} ) { %>
-        <BR><FONT SIZE="-1">[ <A HREF="<%=$p%>edit/bulk-cust_svc.html?svcpart=<%= $part_svc->svcpart %>">change</A> ]</FONT>
-      <% } %>
-    </TD>
-    <TD ROWSPAN=<%= $rowspan %>><%= itable() %>
-<%
-#  my @part_export =
-map { qsearchs('part_export', { exportnum => $_->exportnum } ) } qsearch('export_svc', { svcpart => $part_svc->svcpart } ) ;
-  foreach my $part_export (
-    map { qsearchs('part_export', { exportnum => $_->exportnum } ) } 
-      qsearch('export_svc', { svcpart => $part_svc->svcpart } )
-  ) {
-%>
-      <TR>
-        <TD><A HREF="<%= $p %>edit/part_export.cgi?<%= $part_export->exportnum %>"><%= $part_export->exportnum %>:&nbsp;<%= $part_export->exporttype %>&nbsp;to&nbsp;<%= $part_export->machine %></A></TD></TR>
-<%  } %>
-      </TABLE></TD>
-
-<%   my($n1)='';
-     foreach my $field ( @fields ) {
-       my $flag = $part_svc->part_svc_column($field)->columnflag;
-%>
-     <%= $n1 %>
-     <TD><%= $field %></TD>
-     <TD><%= $flag{$flag} %></TD>
-     <TD><%= $part_svc->part_svc_column($field)->columnvalue%></TD>
-
-<%     $n1="</TR><TR>";
-     }
-%>
-  </TR>
-<% } %>
-</TABLE>
-</BODY>
-</HTML>
diff --git a/httemplate/browse/part_virtual_field.cgi b/httemplate/browse/part_virtual_field.cgi
deleted file mode 100644 (file)
index a0009da..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<%= header('Virtual field definitions', menubar('Main Menu'   => $p)) %>
-<%
-
-my %pvfs;
-my $block;
-my $p2 = popurl(2);
-my $dbtable;
-
-foreach (qsearch('part_virtual_field', {})) {
-  push @{ $pvfs{$_->dbtable} }, $_;
-}
-%>
-
-<% if ($cgi->param('error')) { %>
-   <FONT SIZE="+1" COLOR="#ff0000">Error: <%=$cgi->param('error')%></FONT>
-   <BR><BR>
-<% } %>
-
-<A HREF="<%=$p2%>edit/part_virtual_field.cgi"><I>Add a new field</I></A><BR><BR>
-
-<% foreach $dbtable (sort { $a cmp $b } keys (%pvfs)) { %>
-<H3><%=$dbtable%></H3>
-
-<%=table()%>
-<TH><TD>Field name</TD><TD>Description</TD></TH>
-<% foreach my $pvf (sort {$a->name cmp $b->name} @{ $pvfs{$dbtable} }) { %>
-  <TR>
-    <TD></TD>
-    <TD>
-      <A HREF="<%=$p2%>edit/part_virtual_field.cgi?<%=$pvf->vfieldpart%>">
-        <%=$pvf->name%></A></TD>
-    <TD><%=$pvf->label%></TD>
-  </TR>
-<%   } %>
-</TABLE>
-<% } %>
-</BODY>
-</HTML>
-
diff --git a/httemplate/browse/payment_gateway.html b/httemplate/browse/payment_gateway.html
deleted file mode 100644 (file)
index bb7f315..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<%
-
-  my %search;
-  if ( $cgi->param('showdisabled') ) {
-    %search = ();
-  } else {
-    %search = ( 'disabled' => '' );
-  }
-
-%>
-<%= header('Payment gateways', menubar(
-  'Main Menu' => $p,
-  'Agents'    => $p. 'browse/agent.cgi',
-)) %>
-
-<A HREF="<%= $p %>edit/payment_gateway.html"><I>Add a new payment gateway</I></A><BR><BR>
-
-<%= $cgi->param('showdisabled')
-    ? do { $cgi->param('showdisabled', 0);
-           '( <a href="'. $cgi->self_url. '">hide disabled gateways</a> )'; }
-    : do { $cgi->param('showdisabled', 1);
-           '( <a href="'. $cgi->self_url. '">show disabled gateways</a> )'; }
-%>
-
-<%= table() %>
-<TR>
-  <TH COLSPAN=<%= $cgi->param('showdisabled') ? 1 : 2 %>>#</TH>
-  <TH>Gateway</TH>
-  <TH>Username</TH>
-  <TH>Password</TH>
-  <TH>Action</TH>
-  <TH>Options</TH>
-</TR>
-
-<% foreach my $payment_gateway ( qsearch( 'payment_gateway', \%search ) ) { %>
-
-  <TR>
-    <TD><%= $payment_gateway->gatewaynum %></TD>
-    <% if ( !$cgi->param('showdisabled') ) { %>
-      <TD><%= $payment_gateway->disabled ? 'DISABLED' : '' %></TD>
-    <% } %>
-    <TD><%= $payment_gateway->gateway_module %>
-      <%= !$payment_gateway->disabled 
-            ? '<FONT SIZE="-1"> <A HREF="misc/disable-payment_gateway.cgi?'. $payment_gateway->gatewaynum.'">(disable)</A></FONT>'
-            : ''
-      %>
-    </TD>
-    <TD><%= $payment_gateway->gateway_username %></TD>
-    <TD> - </TD>
-    <TD><%= $payment_gateway->gateway_action %></TD>
-    <TD>
-      <TABLE CELLSPACING=0 CELLPADDING=0>
-        <% my %options = $payment_gateway->options;
-           foreach my $option ( keys %options ) {
-        %>
-          <TR>
-            <TH><%= $option %>:</TH>
-            <TD><%= $options{$option} %></TD>
-          </TR>
-        <% } %>
-      </TABLE>
-    </TD>
-  </TR>
-
-<% } %>
-
-</TABLE>
-</BODY>
-</HTML>
-
diff --git a/httemplate/browse/queue.cgi b/httemplate/browse/queue.cgi
deleted file mode 100755 (executable)
index 0afdd48..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<!-- mason kludge -->
-<%= header("Job Queue", menubar( 'Main Menu' => $p, )) %>
-<%= joblisting({}) %>
-</BODY>
-</HTML>
diff --git a/httemplate/browse/rate.cgi b/httemplate/browse/rate.cgi
deleted file mode 100644 (file)
index c312601..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- mason kludge -->
-<%= header("Rate plan listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
-Rate plans, regions and prefixes for VoIP and call billing.<BR><BR>
-<A HREF="<%=$p%>edit/rate.cgi"><I>Add a rate plan</I></A>
-| <A HREF="<%=$p%>edit/rate_region.cgi"><I>Add a region</I></A>
-<BR><BR>
-<SCRIPT>
-function rate_areyousure(href) {
-  if (confirm("Are you sure you want to delete this rate plan?") == true)
-    window.location.href = href;
-}
-</SCRIPT>
-
-<%= table() %>
-  <TR>
-    <TH COLSPAN=2>Rate plan</TH>
-  </TR>
-
-<% foreach my $rate ( sort { 
-     $a->getfield('ratenum') <=> $b->getfield('ratenum')
-   } qsearch('rate',{}) ) {
-%>
-  <TR>
-    <TD><A HREF="<%= $p %>edit/rate.cgi?<%= $rate->ratenum %>"><%= $rate->ratenum %></A></TD>
-    <TD><A HREF="<%= $p %>edit/rate.cgi?<%= $rate->ratenum %>"><%= $rate->ratename %></A></TD>
-  </TR>
-
-<% } %>
-
-</TABLE>
-</BODY>
-</HTML>
-
diff --git a/httemplate/browse/router.cgi b/httemplate/browse/router.cgi
deleted file mode 100644 (file)
index 149db49..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<%= header('Routers', menubar('Main Menu'   => $p)) %>
-<%
-
-my @router = qsearch('router', {});
-my $p2 = popurl(2);
-
-%>
-
-<% if ($cgi->param('error')) { %>
-   <FONT SIZE="+1" COLOR="#ff0000">Error: <%=$cgi->param('error')%></FONT>
-   <BR><BR>
-<% } %>
-
-<%
-my $hidecustomerrouters = 0;
-my $hideurl = '';
-if ($cgi->param('hidecustomerrouters') eq '1') {
-  $hidecustomerrouters = 1;
-  $cgi->param('hidecustomerrouters', 0);
-  $hideurl = '<A HREF="' . $cgi->self_url() . '">Show customer routers</A>';
-} else {
-  $hidecustomerrouters = 0;
-  $cgi->param('hidecustomerrouters', 1);
-  $hideurl = '<A HREF="' . $cgi->self_url() . '">Hide customer routers</A>';
-}
-%>
-
-<A HREF="<%=$p2%>edit/router.cgi">Add a new router</A>&nbsp;|&nbsp;<%=$hideurl%>
-
-<%=table()%>
-  <TR>
-    <TD><B>Router name</B></TD>
-    <TD><B>Address block(s)</B></TD>
-  </TR>
-<% foreach my $router (sort {$a->routernum <=> $b->routernum} @router) {
-     next if $hidecustomerrouters && $router->svcnum;
-     my @addr_block = $router->addr_block;
-     if (scalar(@addr_block) == 0) {
-       push @addr_block, '&nbsp;';
-     }
-%>
-  <TR>
-    <TD ROWSPAN="<%=scalar(@addr_block)+1%>">
-      <A HREF="<%=$p2%>edit/router.cgi?<%=$router->routernum%>"><%=$router->routername%></A>
-    </TD>
-  </TR>
-  <% foreach my $block ( @addr_block ) { %>
-  <TR>
-    <TD><%=UNIVERSAL::isa($block, 'FS::addr_block') ? $block->NetAddr : '&nbsp;'%></TD>
-  </TR>
-  <% } %>
-  </TR>
-<% } %>
-</TABLE>
-</BODY>
-</HTML>
-
diff --git a/httemplate/browse/svc_acct_pop.cgi b/httemplate/browse/svc_acct_pop.cgi
deleted file mode 100755 (executable)
index 44cda81..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!-- mason kludge -->
-<%
-  my $accounts_sth = dbh->prepare("SELECT COUNT(*) FROM svc_acct
-                                     WHERE popnum = ?           ")
-    or die dbh->errstr;
-%>
-<%= header('Access Number Listing', menubar( 'Main Menu' => $p )) %>
-Points of Presence<BR><BR>
-<A HREF="<%= $p %>edit/svc_acct_pop.cgi"><I>Add new Access Number</I></A><BR><BR>
-<%= table() %>
-      <TR>
-        <TH></TH>
-        <TH>City</TH>
-        <TH>State</TH>
-        <TH>Area code</TH>
-        <TH>Exchange</TH>
-        <TH>Local</TH>
-        <TH>Accounts</TH>
-      </TR>
-
-<%
-foreach my $svc_acct_pop ( sort { 
-  #$a->getfield('popnum') <=> $b->getfield('popnum')
-  $a->state cmp $b->state || $a->city cmp $b->city
-    || $a->ac <=> $b->ac || $a->exch <=> $b->exch || $a->loc <=> $b->loc
-} qsearch('svc_acct_pop',{}) ) {
-
-  my $svc_acct_pop_link = $p . 'edit/svc_acct_pop.cgi?'. $svc_acct_pop->popnum;
-
-  $accounts_sth->execute($svc_acct_pop->popnum) or die $accounts_sth->errstr;
-  my $num_accounts = $accounts_sth->fetchrow_arrayref->[0];
-
-  my $svc_acct_link = $p. 'search/svc_acct.cgi?popnum='. $svc_acct_pop->popnum;
-
-%>
-      <TR>
-        <TD><A HREF="<%= $svc_acct_pop_link %>">
-          <%= $svc_acct_pop->popnum %></A></TD>
-        <TD><A HREF="<%= $svc_acct_pop_link %>">
-          <%= $svc_acct_pop->city %></A></TD>
-        <TD><A HREF="<%= $svc_acct_pop_link %>">
-          <%= $svc_acct_pop->state %></A></TD>
-        <TD><A HREF="<%= $svc_acct_pop_link %>">
-          <%= $svc_acct_pop->ac %></A></TD>
-        <TD><A HREF="<%= $svc_acct_pop_link %>">
-          <%= $svc_acct_pop->exch %></A></TD>
-        <TD><A HREF="<%= $svc_acct_pop_link %>">
-          <%= $svc_acct_pop->loc %></A></TD>
-        <TD>
-          <FONT COLOR="#00CC00"><B><%= $num_accounts %></B></FONT>
-            <% if ( $num_accounts ) { %><A HREF="<%= $svc_acct_link %>"><% } %>
-            active
-            <% if ( $num_accounts ) { %></A><% } %>
-        </TD>
-      </TR>
-<% } %>
-
-      <TR>
-      </TR>
-    </TABLE>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/config/config-process.cgi b/httemplate/config/config-process.cgi
deleted file mode 100644 (file)
index 2597132..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<%
-  my $conf = new FS::Conf;
-  $FS::Conf::DEBUG = 1;
-  my @config_items = $conf->config_items;
-
-  foreach my $i ( @config_items ) {
-    my @touch = ();
-    my @delete = ();
-    my $n = 0;
-    foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
-      if ( $type eq '' ) {
-      } elsif ( $type eq 'textarea' ) {
-        if ( $cgi->param($i->key. $n) ne '' ) {
-          my $value = $cgi->param($i->key. $n);
-          $value =~ s/\r\n/\n/g; #browsers?
-          $conf->set($i->key, $value);
-        } else {
-          $conf->delete($i->key);
-        }
-      } elsif ( $type eq 'checkbox' ) {
-#        if ( defined($cgi->param($i->key. $n)) && $cgi->param($i->key. $n) ) {
-        if ( defined $cgi->param($i->key. $n) ) {
-          #$conf->touch($i->key);
-          push @touch, $i->key;
-        } else {
-          #$conf->delete($i->key);
-          push @delete, $i->key;
-        }
-      } elsif ( $type eq 'text' || $type eq 'select' )  {
-        if ( $cgi->param($i->key. $n) ne '' ) {
-          $conf->set($i->key, $cgi->param($i->key. $n));
-        } else {
-          $conf->delete($i->key);
-        }
-      } elsif ( $type eq 'editlist' || $type eq 'selectmultiple' )  {
-        if ( scalar(@{[ $cgi->param($i->key. $n) ]}) ) {
-          $conf->set($i->key, join("\n", @{[ $cgi->param($i->key. $n) ]} ));
-        } else {
-          $conf->delete($i->key);
-        }
-      } else {
-      }
-      $n++;
-    }
-   # warn @touch;
-    $conf->touch($_) foreach @touch;
-    $conf->delete($_) foreach @delete;
-  }
-
-%>
-<%= $cgi->redirect("config-view.cgi") %>
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi
deleted file mode 100644 (file)
index 8011e76..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!-- mason kludge -->
-<%= header('View Configuration', menubar( 'Main Menu' => $p,
-                                     'Edit Configuration' => 'config.cgi' ) ) %>
-
-<% my $conf = new FS::Conf; my @config_items = $conf->config_items; %>
-
-<% foreach my $section ( qw(required billing username password UI session
-                            shell BIND
-                           ),
-                         '', 'deprecated') { %>
-  <A NAME="<%= $section || 'unclassified' %>"></A>
-  <FONT SIZE="-2">
-  <% foreach my $nav_section ( qw(required billing username password UI session
-                                  shell BIND
-                                 ),
-                               '', 'deprecated') { %>
-    <% if ( $section eq $nav_section ) { %>
-      [<A NAME="not<%= $nav_section || 'unclassified' %>" style="background-color: #cccccc"><%= ucfirst($nav_section || 'unclassified') %></A>]
-    <% } else { %>
-      [<A HREF="#<%= $nav_section || 'unclassified' %>"><%= ucfirst($nav_section || 'unclassified') %></A>]
-    <% } %>
-  <% } %>
-  </FONT><BR>
-  <%= table("#cccccc", 2) %>
-  <tr>
-    <th colspan="2" bgcolor="#dcdcdc">
-      <%= ucfirst($section || 'unclassified') %> configuration options
-    </th>
-  </tr>
-  <% foreach my $i (grep $_->section eq $section, @config_items) { %>
-    <tr>
-      <td><a name="<%= $i->key %>">
-        <b><%= $i->key %></b>&nbsp;-&nbsp;<%= $i->description %>
-      </a></td>
-      <td><table border=0>
-        <% foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
-             my $n = 0; %>
-          <% if ( $type eq '' ) { %>
-            <tr>
-              <td><font color="#ff0000">no type</font></td>
-            </tr>
-          <% } elsif (   $type eq 'textarea'
-                      || $type eq 'editlist'
-                      || $type eq 'selectmultiple' ) { %>
-            <tr>
-              <td bgcolor="#ffffff">
-<pre>
-<%= encode_entities(join("\n", $conf->config($i->key) ) ) %>
-</pre>
-              </td>
-            </tr>
-          <% } elsif ( $type eq 'checkbox' ) { %>
-            <tr>
-              <td bgcolor="#<%= $conf->exists($i->key) ? '00ff00">YES' : 'ff0000">NO' %></td>
-            </tr>
-          <% } elsif ( $type eq 'text' || $type eq 'select' )  { %>
-            <tr>
-              <td bgcolor="#ffffff">
-                <%= $conf->exists($i->key) ? $conf->config($i->key) : '' %>
-              </td></tr>
-          <% } elsif ( $type eq 'select-sub' ) { %>
-            <tr>
-              <td bgcolor="#ffffff">
-                <%= $conf->config($i->key) %>: 
-                <%= &{ $i->option_sub }( $conf->config($i->key) ) %>
-              </td>
-            </tr>
-          <% } else { %>
-            <tr><td>
-              <font color="#ff0000">unknown type <%= $type %></font>
-            </td></tr>
-          <% } %>
-        <% $n++; } %>
-      </table></td>
-    </tr>
-  <% } %>
-  </table><br><br>
-<% } %>
-
-</body></html>
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi
deleted file mode 100644 (file)
index ff29d85..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-<!-- mason kludge -->
-<%= header('Edit Configuration', menubar( 'Main Menu' => $p ) ) %>
-<SCRIPT>
-var gSafeOnload = new Array();
-var gSafeOnsubmit = new Array();
-window.onload = SafeOnload;
-function SafeAddOnLoad(f) {
-  gSafeOnload[gSafeOnload.length] = f;
-}
-function SafeOnload() {
-  for (var i=0;i<gSafeOnload.length;i++)
-    gSafeOnload[i]();
-}
-function SafeAddOnSubmit(f) {
-  gSafeOnsubmit[gSafeOnsubmit.length] = f;
-}
-function SafeOnsubmit() {
-  for (var i=0;i<gSafeOnsubmit.length;i++)
-    gSafeOnsubmit[i]();
-}
-</SCRIPT>
-
-<% my $conf = new FS::Conf; my @config_items = $conf->config_items; %>
-
-<form name="OneTrueForm" action="config-process.cgi" METHOD="POST" onSubmit="SafeOnsubmit()">
-
-<% foreach my $section ( qw(required billing username password UI session
-                            shell BIND
-                           ),
-                         '', 'deprecated') { %>
-  <A NAME="<%= $section || 'unclassified' %>"></A>
-  <FONT SIZE="-2">
-  <% foreach my $nav_section ( qw(required billing username password UI session
-                                  shell BIND
-                                 ),
-                               '', 'deprecated') { %>
-    <% if ( $section eq $nav_section ) { %>
-      [<A NAME="not<%= $nav_section || 'unclassified' %>" style="background-color: #cccccc"><%= ucfirst($nav_section || 'unclassified') %></A>]
-    <% } else { %>
-      [<A HREF="#<%= $nav_section || 'unclassified' %>"><%= ucfirst($nav_section || 'unclassified') %></A>]
-    <% } %>
-  <% } %>
-  </FONT><BR>
-  <%= table("#cccccc", 2) %>
-  <tr>
-    <th colspan="2" bgcolor="#dcdcdc">
-      <%= ucfirst($section || 'unclassified') %> configuration options
-    </th>
-  </tr>
-  <% foreach my $i (grep $_->section eq $section, @config_items) { %>
-    <tr>
-      <td>
-        <% my $n = 0;
-           foreach my $type ( ref($i->type) ? @{$i->type} : $i->type ) {
-             #warn $i->key unless defined($type);
-        %>
-          <% if ( $type eq '' ) { %>
-            <font color="#ff0000">no type</font>
-          <% } elsif ( $type eq 'textarea' ) { %>
-            <textarea name="<%= $i->key. $n %>" rows=5><%= "\n". join("\n", $conf->config($i->key) ) %></textarea>
-          <% } elsif ( $type eq 'checkbox' ) { %>
-            <input name="<%= $i->key. $n %>" type="checkbox" value="1"<%= $conf->exists($i->key) ? ' CHECKED' : '' %>>
-          <% } elsif ( $type eq 'text' )  { %>
-            <input name="<%= $i->key. $n %>" type="<%= $type %>" value="<%= $conf->exists($i->key) ? $conf->config($i->key) : '' %>">
-          <% } elsif ( $type eq 'select' || $type eq 'selectmultiple' )  { %>
-            <select name="<%= $i->key. $n %>" <%= $type eq 'selectmultiple' ? 'MULTIPLE' : '' %>>
-              <% my %saw;
-                 foreach my $value ( "", @{$i->select_enum} ) {
-                    local($^W)=0; next if $saw{$value}++; %>
-                <option value="<%= $value %>"<%= $value eq $conf->config($i->key) || ( $type eq 'selectmultiple' && grep { $_ eq $value } $conf->config($i->key) ) ? ' SELECTED' : '' %>><%= $value %>
-              <% } %>
-              <% if ( $conf->exists($i->key) && $conf->config($i->key) && ! grep { $conf->config($i->key) eq $_ } @{$i->select_enum}) { %>
-                <option value=<%= $conf->config($i->key) %> SELECTED><%= $conf->config($i->key) %>
-              <% } %>
-            </select>
-          <% } elsif ( $type eq 'select-sub' ) { %>
-            <select name="<%= $i->key. $n %>">
-              <option value="">
-              <% my %options = &{$i->options_sub};
-                 my @options = sort { $a <=> $b } keys %options;
-                 my %saw;
-                 foreach my $value ( @options ) {
-                    local($^W)=0; next if $saw{$value}++;
-              %>
-                <option value="<%= $value %>"<%= $value eq $conf->config($i->key) ? ' SELECTED' : '' %>><%= $value %>: <%= $options{$value} %>
-              <% } %>
-              <% if ( $conf->exists($i->key) && $conf->config($i->key) && ! exists $options{$conf->config($i->key)} ) { %>
-                <option value=<%= $conf->config($i->key) %> SELECTED><%= $conf->config($i->key) %>: <%= &{ $i->option_sub }( $conf->config($i->key) ) %>
-              <% } %>
-            </select>
-          <% } elsif ( $type eq 'editlist' )  { %>
-            <script>
-              function doremove<%= $i->key. $n %>() {
-                fromObject = document.OneTrueForm.<%= $i->key. $n %>;
-                for (var i=fromObject.options.length-1;i>-1;i--) {
-                  if (fromObject.options[i].selected)
-                    deleteOption<%= $i->key. $n %>(fromObject,i);
-                }
-              }
-              function deleteOption<%= $i->key. $n %>(object,index) {
-                object.options[index] = null;
-              }
-              function selectall<%= $i->key. $n %>() {
-                fromObject = document.OneTrueForm.<%= $i->key. $n %>;
-                for (var i=fromObject.options.length-1;i>-1;i--) {
-                  fromObject.options[i].selected = true;
-                }
-              }
-              function doadd<%= $i->key. $n %>(object) {
-                var myvalue = "";
-                <% if ( defined($i->editlist_parts) ) { %>
-
-                  <% foreach my $pnum ( 0 .. scalar(@{$i->editlist_parts})-1 ) { %>
-
-                    if ( myvalue != "" ) { myvalue = myvalue + " "; }
-                    <% if ( $i->editlist_parts->[$pnum]{type} eq 'select' ) { %>
-                      myvalue = myvalue + object.add<%= $i->key. $n . "_$pnum" %>.options[object.add<%= $i->key. $n . "_$pnum" %>.selectedIndex].value;
-                      <!-- #RESET SELECT??  maybe not... -->
-                    <% } elsif ( $i->editlist_parts->[$pnum]{type} eq 'immutable' ) { %>
-                      myvalue = myvalue + object.add<%= $i->key. $n . "_$pnum" %>.value;
-                    <% } else { %>
-                      myvalue = myvalue + object.add<%= $i->key. $n . "_$pnum" %>.value;
-                      object.add<%= $i->key. $n. "_$pnum" %>.value = "";
-                    <% } %>
-
-
-                  <% } %>
-                <% } else { %>
-                  myvalue = object.add<%= $i->key. $n. "_1" %>.value;
-                <% } %>
-                var optionName = new Option(myvalue, myvalue);
-                var length = object.<%= $i->key. $n %>.length;
-                object.<%= $i->key. $n %>.options[length] = optionName;
-              }
-            </script>
-            <select multiple size=5 name="<%= $i->key. $n %>">
-            <option selected>----------------------------------------------------------------</option>
-            <% foreach my $line ( $conf->config($i->key) ) { %>
-              <option value="<%= $line %>"><%= $line %></option>
-            <% } %>
-            </select><br>
-            <input type="button" value="remove selected" onClick="doremove<%= $i->key. $n %>()">
-            <script>SafeAddOnLoad(doremove<%= $i->key. $n %>);
-                    SafeAddOnSubmit(selectall<%= $i->key. $n %>);</script>
-            <br>
-            <%= itable() %><tr>
-            <% if ( defined $i->editlist_parts ) { %>
-              <% my $pnum=0; foreach my $part ( @{$i->editlist_parts} ) { %>
-                <td>
-                <% if ( $part->{type} eq 'text' ) { %>
-                  <input type="text" name="add<%= $i->key. $n."_$pnum" %>">
-                <% } elsif ( $part->{type} eq 'immutable' ) { %>
-                  <%= $part->{value} %><input type="hidden" name="add<%= $i->key. $n. "_$pnum" %>" value="<%= $part->{value} %>">
-                <% } elsif ( $part->{type} eq 'select' ) { %>
-                  <select name="add<%= $i->key. $n. "_$pnum" %>">
-                  <% foreach my $key ( keys %{$part->{select_enum}} ) { %>
-                    <option value="<%= $key %>"><%= $part->{select_enum}{$key} %></option>
-                  <% } %>
-                  </select>
-                <% } else { %>
-                  <font color="#ff0000">unknown type <%= $part->type %></font>
-                <% } %>
-                </td>
-              <% $pnum++; } %>
-            <% } else { %>
-              <td><input type="text" name="add<%= $i->key. $n %>_0"></td>
-            <% } %>
-            <td><input type="button" value="add" onClick="doadd<%= $i->key. $n %>(this.form)"></td>
-            </tr></table>
-          <% } else { %>
-            <font color="#ff0000">unknown type <%= $type %></font>
-          <% } %>
-        <% $n++; } %>
-      </td>
-      <td><a name="<%= $i->key %>">
-        <b><%= $i->key %></b> - <%= $i->description %>
-      </a></td>
-    </tr>
-  <% } %>
-  </table><br>
-
-  You may need to restart Apache and/or freeside-queued for configuration
-  changes to take effect.<br>
-
-  <input type="submit" value="Apply changes"><br><br>
-
-<% } %>
-
-</form>
-
-</body></html>
diff --git a/httemplate/docs/ach.html b/httemplate/docs/ach.html
deleted file mode 100644 (file)
index b8a17c8..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>
-      Electronic check (ACH) information
-    </TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#ffffff">
-    <IMG BORDER=0 SRC="../images/ach.png">
-  </BODY>
-</HTML>
diff --git a/httemplate/docs/admin.html b/httemplate/docs/admin.html
deleted file mode 100755 (executable)
index 9ce259c..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<head>
-  <title>Administration</title>
-</head>
-<body>
-  <h1>Administration</h1>
-</body>
-<ul>
-  <li>Open up the root of the Freeside document tree in your web
-  browser.  For example, if you created the Freeside document tree in   
-  /home/httpd/html/freeside, and your web browser's DocumentRoot is
-  /home/httpd/html, open https://your_host/freeside/. Replace
-  "your_host" with the name or network address of your web server.
-  <li>Select <u>Configuration</u> from the main menu and update your configuration values.
-  <li>Next you must create a service definition.  An example of a service
-  definition would be a dial-up account or a domain.  First, it is
-  necessary to create a domain definition.  Click on <u>View/Edit service
-  definitions</u> and <u>Add a new service definition</u> with <i>Table</i>
-  <b>svc_domain</b> (and no modifiers).
-
-  <li>Now that you have created your first service, you must create a package
-  including this service which you can sell to customers.  Zero, one, or many
-  services are bundled into a package.  Click on <u>View/Edit package
-  definitions</u> and <u>Add a new package definition</u> which includes
-  quantity <b>1</b> of the svc_domain service you created above.
-
-  <li>After you create your first package, then you must define who is
-  able to sell that package by creating an agent type.  An example of
-  an agent type would be an internal sales representitive which sells
-  regular and promotional packages, as opposed to an external sales
-  representitive which would only sell regular packages of services.  Click on
-  <u>View/Edit agent types</u> and <u>Add a new agent type</u>.  Allow this
-  agent type to sell the package you created above.
-
-  <li>After creating a new agent type, you must create an agent.  Click on
-  <u>View/Edit agents</u> and <u>Add a new agent</u>.
-
-  <li>Set up at least one Advertising source.  Advertising sources will help
-  you keep track of how effective your advertising is, tracking where customers
-  heard of your service offerings.  You must create at least one advertising 
-  source.  If you do not wish to use the referral functionality, simply create
-  a single advertising source only.  Click on <u>View/Edit advertising
-  sources</u> and <u>Add a new advertising source</u>.
-
-  <li>Click on <u>New Customer</u> and create a new customer for your system
-  accounts with billing type <b>Complimentary</b>.  Leave the <i>First
-  package</i> dropdown set to <b>(none)</b>.
-
-  <li>From the Customer View screen of the newly created customer, order the
-  package you defined above.
-
-  <li>From the Package View screen of the newly created package, choose
-  <u>(Provision)</u> to add the customer's service for this new package.
-
-  <li>Add your own domain.
-
-  <li>Go back to <u>View/Edit service definitions</u> on the main menu, and
-  <u>Add a new service definition</u> with <i>Table</i> <b>svc_acct</b>.
-  Select your domain in the <b>domsvc</b> Modifier.  Set <b>Fixed</b> to define
-  a service locked-in to this domain, or <b>Default</b> to define a service
-  which may select from among this domain and the customer's domains.
-
-  <li><table><tr>
-    <td> Create at least POP (Point of Presence) by selecting
-        <u>View/Edit POPs</u> from the main menu.</td>
-    <th align="left"> OR </th>
-    <td>If you are not doing dialup, set slipip to fixed and blank for all your
-        Service Definitions which have Table <b>svc_acct</b>.</td>
-  </tr></table>
-
-  <li>If you are using Freeside to keep track of sales taxes, define tax
-  information for your locales by clicking on the <u>View/Edit locales and tax
-  rates</b> on the main menu.
-
-  <li>If you would like Freeside to notify your customers when their credit
-  cards and other billing arrangements are about to expire, arrange for
-  <b>freeside-expiration-alerter</b> to be run daily by cron or similar
-  facility.  The message it sends can be configured from the
-  <u>Configuration</u> choice of the main menu as <u>alerter_template</u>.
-
-</ul>
-</body>
-</html>
diff --git a/httemplate/docs/billing.html b/httemplate/docs/billing.html
deleted file mode 100644 (file)
index adaac17..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<head>
-  <title>Billing</title>
-</head>
-<body>
-  <h1>Billing</h1>
-  <ul>
-    <li>Add one or more <a href="../browse/part_bill_event.cgi">Invoice events</a> implmenting your business rules for re-sending invoices, retrying cards, suspending, etc.
-    <li>You can bill individual customers by clicking on the <i>Bill now</i> link on the main customer view.
-    <li>The <a href="man/bin/freeside-daily.html"><b>freeside-daily</b></a> script should be run daily to bill customers and run invoice collection events.
-    <li>Real-time credit card processing: Install the <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> module for your processor.  Configure the <a href="../config/config-view.cgi#business-onlinepayment">business-onlinepayment</a> configuration option.  Disable the default <b>Batch card</b> <a href="../browse/part_bill_event.cgi">invoice event</a> and add one for Business::OnlinePayment.
-    <li>Optional: Credit card expiration alerts: Customize <a href="../config/config.cgi#alerter_template">alerter_template</a> configuration option and run <a href="man/bin/freeside-expiration-alerter.html">freeside-expiration-alerter</a> daily.
-    <li>Credit card decline alerts: Customize the <a href="../config/config.cgi#declinetemplate">declinetemplate</a> configuration option and set the <a href="../config/config.cgi#emaildecline">emaildecline</a> configuration option.
-    <li>Typeset (LaTeX) invoice templates
-      <ul>
-        <li>Install teTeX and Ghostscript (included with most distributions).
-        <li>Place your logo in EPS (Encapsulated PostScript) format with size 90pt X 36pt (<code>epsffit -c 0 0 90 33 yourlogo.eps &gt;logo.eps</code>) at <code>/usr/local/etc/freeside/conf.<i>your_datasrc</i>/logo.eps</code>.
-        <li>Edit the <b>invoice_latexreturnaddress</b>, <b>invoice_latexfooter</b>, <b>invoice_latexnotes</b>, and <b>invoice_latexsmallfooter</b> configuration options.  If you are adventurous, edit <b>invoice_latex</b> as well.
-      </ul>
-    <li>Plaintext invoice templates
-      <ul>
-        <li>See the <a href="http://search.cpan.org/~mjd/Text-Template/lib/Text/Template.pm">Text::Template</a> documentation for details on the substitution language.
-        <li>You <b>must</b> call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column.  Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).
-        <li>In addition, the following variables are available:
-          <ul>
-            <li>$invnum - invoice number
-            <li>$date - as a UNIX timestamp (see <a href="http://search.cpan.org/doc/GBARR/TimeDate-1.09/lib/Date/Format.pm">Date::Format</a> for conversion functions).
-            <li>$page - current page
-            <li>$total_pages - total pages
-            <li>@address - A six-element array containing the customer name, company, and address.
-<!--            <li>$overdue - true if this invoice is overdue -->
-          </ul>
-      </ul>
-    <li>HTML invoice templates
-      <ul>
-        <li>Place your logo in PNG format at <code>/usr/local/etc/freeside/conf.<i>your_datasrc</i>/logo.png</code>.
-        <li>HTML invoices also use <a href="http://search.cpan.org/~mjd/Text-Template/lib/Text/Template.pm">Text::Template</a>.
-        <li>Edit the <b>invoice_html</b> configuration option.
-        <li>The following configuration options can be set to override the default behaviour of using the invoice_latex* data: <b>invoice_htmlreturnaddress</b>, and <b>invoice_htmlfooter</b>, <b>invoice_htmlnotes</b>.  
-      </ul>
-<!--    <li>Batch credit card processing
-      <ul>
-        <li>After <a href="man/bin/freeside-daily.html"><b>freeside-daily</b></a> is run, a credit card batch will be in the <a href="schema.html#cust_pay_batch">cust_pay_batch</a> table.  Export this table to your credit card batching.
-        <li>When your batch completes, erase the cust_pay_batch records in that batch and add any necessary paymants to the <a href="schema.html#cust_pay">cust_pay</a> table.  Example code to add payments is:
-        <pre>use FS::cust_pay;
-
-# loop over all records in batch
-
-my $payment=create FS::cust_pay (
-  'invnum' => $invnum,
-  'paid' => $paid,
-  '_date' => $_date,
-  'payby' => $payby,
-  'payinfo' => $payinfo,
-  'paybatch' => $paybatch,
-);
-
-my $error=$payment->insert;
-if ( $error ) {
-  #process error
-}
-
-# end loop
-</pre>
-All fields except paybatch are contained in the cust_pay_batch table.  You can use paybatch field to track particular batches and/or particular transactions within a batch.
-    </ul>
-<!--      <li>The <a href="man/bin/freeside-print-batch.html"><b>freeside-print-batch</b></a> script can print or email pending credit card batches for manual entry. -->
-  </ul>
-</body>
diff --git a/httemplate/docs/config.html b/httemplate/docs/config.html
deleted file mode 100644 (file)
index 9caf3bb..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<head>
-  <title>Configuration files</title>
-</head>
-<body>
-  <h1>Configuration files</h1>
-<font size="+1" color="#ff0000">Configuration is now done by the top-level Makefile and web interface.  The instructions below are no longer necessary.</font>
-<ul>
-  <li>Create the <b>/usr/local/etc/freeside</b> directory to hold your configuration.
-  <li>Setting up <a href="http://www.apache.org/docs/misc/FAQ.html#user-authentication">Apache user authetication</a> is mandatory.
-  <li>Create the <b>/usr/local/etc/freeside/mapsecrets</b> file, which maps Apache users to a secrets file which contains a DBI data source, username and password.  Every
-line in <b>/usr/local/etc/freeside/mapsecrets</b> should contain a username and
-filename, separated by whitespace.  Note that these are not local usernames -
-they are passed from Apache.  <a href="http://www.apache.org/docs/misc/FAQ.html#user-authentication">
-Apache user authetication</a> is mandatory.  For example, if you had the Apache users admin,
-john, and sam,  
-you mapsecrets file might look like:
-<pre>
-admin secretfile
-john secretfile
-sam secretfile
-</pre>
-  <li>Next, the filename(s) referenced in <b>/usr/local/etc/freeside/mapsecrets</b> file should be created in the <b>/usr/local/etc/freeside/</b> directory.  Each file contains three lines: <a href="http://search.cpan.org/doc/TIMB/DBI-1.20/DBI.pm">DBI data source</a> (for example,
-  <tt>DBI:mysql:freeside</tt> or <tt>DBI:Pg:host=localhost;dbname=freeside</tt>), database username, and database password.
-  These files should not be world readable.  See the <a href="http://search.cpan.org/doc/TIMB/DBI-1.20/DBI.pm">DBI manpage</a> and the <a href="http://search.cpan.org/search?mode=module&query=DBD">manpage for your DBD</a> for the exact syntax of a DBI data source.  In a normal installation such as the example above, a single file <b>/usr/local/etc/freeside/secretfile</b> would be created - for example:
-<pre>
-DBI:Pg:host=localhost;dbname=freeside
-dbusername
-dbpassword
-</pre>
-<li>Create the <b>/usr/local/etc/freeside/conf.<i>datasource</i></b> directory, for example, <b>/usr/local/etc/freeside/conf.DBI:Pg:host=localhost;dbname=freeside</b> (remember to backslash-escape the ; character when creating directories in the shell:
-<pre>mkdir&nbsp;/usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=freeside
-</pre>
-<li>The rest of the configuration can be done with the web interface.  Select <u>Configuration</u> from the main menu and update your configuration values.
-</ul>
-</body>
-</html>
diff --git a/httemplate/docs/cvv2.html b/httemplate/docs/cvv2.html
deleted file mode 100644 (file)
index 7670985..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>
-      CVV2 information
-    </TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-  The CVV2 number (also called CVC2 or CID) is a three- or four-digit
-  security code used to reduce credit card fraud.<BR><BR>
-  <TABLE BORDER=0 CELLSPACING=4>
-    <TR>
-      <TH>Visa / MasterCard / Discover</TH>
-      <TH>American Express</TH>
-    </TR>
-    <TR>
-      <TD>
-        <IMG BORDER=0 ALT="Visa/MasterCard/Discover" SRC="../images/cvv2.png">
-      </TD>
-      <TD>
-        <IMG BORDER=0 ALT="American Express" SRC="../images/cvv2_amex.png">
-      </TD>
-  </TABLE>
-  </BODY>
-</HTML>
diff --git a/httemplate/docs/export.html b/httemplate/docs/export.html
deleted file mode 100755 (executable)
index c6c6abd..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<head>
-  <title>Exports</title>
-</head>
-<body>
-  <h1>Exports</h1>
-  <p>Exports allow you to provision services to remote machines, databases and
-  APIs.  Some exports, such as <b>sqlradius</b> and
-  <b>sqlradius_withdomain</b>, enable a feed for retreiving rating/usage data.
-  <p>Exports can be added and edited under
-     <a href="../browse/part_export.cgi"><i>Sysadmin | View/Edit Exports</i></a>.
-  <p>Selecting an export on the
-     <a href="../edit/part_export.cgi"><i>Sysadmin | View/Edit Exports | Add a new export</i></a> page will
-     show more information on that specific export, including available
-     options, setup and usage.
-  <p>Exports are activated by associating them with one or more service
-     definitions: <a href="../browse/part_svc.cgi"><i>Sysadmin | View/Edit Service definitions<i></a>.
-
-</body>
-
diff --git a/httemplate/docs/ieak.html b/httemplate/docs/ieak.html
deleted file mode 100644 (file)
index 00c5342..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<pre>
-this is incomplete
-mostly it should be merged into signup.html and fs_signup/ieak.template
-
-- download and install the IEAK from
-  http://www.microsoft.com/windows/ieak/default.asp
-
-- Good examples may be found in 
-  C:\Program Files\IEAK\toolkit\isp\server\ICW\signup\perl\signup08.pl
-  C:\Program Files\IEAK\toolkit\isp\server\ICW\reconfig\perl\reconfig04.pl
-  C:\Program Files\IEAK6\toolkit\isp\servless\basic\sample.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\4567.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\4568.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\7890.ins
-  C:\Program Files\IEAK6\toolkit\isp\servless\advanced\7891.ins
-
-- Full documentation on all the settings available in .INS files is
-  avaialble under Program Files | Microsoft IEAK 6 | IEAK Help 
-                  | Reference | Internet Settings (.ins) Files
-
-- Freeside will make the following substitutions before sending the file
-  to the user:
-
-  { $ac }         - area code of selected POP
-  { $exch }       - exchange of selected POP
-  { $loc }        - local part of selected POP
-  { $username }
-  { $password }
-  { $email_name } - first and last name
-  { $pkg }        - package name
-
-- Simple example follows:
-
-[Entry]
-Entry Name = IEAK Sample
-[Phone]
-Dial_As_Is = No
-Phone_Number = { $exch }{ $loc }
-Area_Code = { $ac }
-Country_Code = 1
-Country_Id = 1
-[Server]
-Type = PPP
-SW_Compress = Yes
-PW_Encrypt = Yes
-Negotiate_TCP/IP = Yes
-Disable_LCP = No
-[TCP/IP]
-Specity_IP_Address = No
-Specity_Server_Address = No
-IP_Header_Compress = Yes
-Gateway_On_Remote = Yes
-[User]
-Name = { $username }
-Passowrd = { $password }
-Display_Password = Yes
-[Internet_Mail]
-Email_Name = { $email_name }
-Email_Address = { $username }@example.com
-POP_Server = mail.example.com
-POP_Server_Port_Number = 110
-POP_Logon_Password = { $password }
-SMTP_Server = mail.example.com
-SMTP_Server_Port_Number = 25
-Install_Mail = 1
-[URL]
-Help_Page = http://www.ieaksample.net/helpdesk
-Home_Page = http://www.ieaksample.net
-Search_Page = http://www.ieaksample,net/search
-[Favorites]
-IEAK Sample \\ IEAK Sample Home Page.url = http://acme.ieaksample.net/
-[Branding]
-Window_Title = Internet Explorer from Acme Internet Services
-
-</pre>
diff --git a/httemplate/docs/index.html b/httemplate/docs/index.html
deleted file mode 100644 (file)
index 7254d76..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<head>
-  <title>Freeside Documentation</title>
-</head>
-<body bgcolor="#ffffff">
-  <h1>Freeside Documentation</h1>
-<img src="overview-new.png">
-<h3>Installation and upgrades</h3>
-<ul>
-  <li><a href="install.html">New Installation</a>
-  <li><a href="install-rt.html">Installing integrated RT ticketing</a>
-  <li><a href="upgrade7.html">Upgrading from 1.3.0 to 1.3.1</a>
-  <li><a href="upgrade8.html">Upgrading from 1.3.1 to 1.4.0</a>
-  <li><a href="upgrade9.html">Upgrading from 1.4.0 to 1.4.1</a>
-  <li><a href="upgrade-1.4.2.html">Upgrading from 1.4.1 to 1.4.2</a>
-  <li><a href="upgrade10.html">Upgrading from 1.4.1 (or 1.4.2) to 1.5.7</a>
-</ul>
-<h3>Configuration and setup</h3>
-<ul>
-<!--
-  <li><a href="config.html">Configuration files</a>
-!-->
-  <li><a href="admin.html">Administration</a>
-<!--
-  <li><a href="../index.html#admin">Administration</a>
-!-->
-  <li><a href="export.html">Exports</a>
-  <li><a href="selfservice.html">Signup, self-service and reseller interfaces</a>
-  <li><a href="billing.html">Billing</a>
-</ul>
-<h3>Developer</h3>
-<ul>
-  <li><a href="schema.html">Schema reference</a>
-  <li><a href="man/FS.html">Perl API</a>
-  <li><a href="legacy.html">Importing legacy data</a>
-</ul>
-</body>
diff --git a/httemplate/docs/install-rt.html b/httemplate/docs/install-rt.html
deleted file mode 100644 (file)
index da0941a..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<head>
-  <title>Installing integrated RT ticketing</title>
-</head>
-<body>
-<h1>Installing integrated RT ticketing</h1>
-
-<p><i>Integrated ticketing is an new feature and these instructions are preliminary.  Documentation contributions are welcome.</i>
-
-<p><i>There is also support for running this integration against an external RT installation, but it is not (yet) documented.</i>
-
-<p>Perl minimum version 5.8.3 is required.  HTML::Mason is required.
-
-<p>Install the following perl modules:
-  <ul>
-    <li><a href="http://search.cpan.org/search?dist=Apache-Session">Apache::Session</a>
-    <li><a href="http://search.cpan.org/search?dist=HTML-Tree">HTML::TreeBuilder (HTML-Tree)</a>
-    <li><a href="http://search.cpan.org/search?dist=HTML-Format">HTML::FormatText (HTML-Format)</a>
-    <li><a href="http://search.cpan.org/search?dist=Test-Inline">Test::Inline</a>
-    <li><a href="http://search.cpan.org/search?dist=Class-ReturnValue">Class::ReturnValue</a>
-    <li><a href="http://search.cpan.org/search?dist=DBIx-SearchBuilder">DBIx::SearchBuilder</a>
-    <li><a href="http://search.cpan.org/search?dist=Log-Dispatch">Log::Dispatch</a>
-    <li><a href="http://search.cpan.org/search?dist=Locale-Maketext-Lexicon">Locale::Maketext::Lexicon</a>
-    <li><a href="http://search.cpan.org/search?dist=Locale-Maketext-Fuzzy">Locale::Maketext::Fuzzy</a>
-    <li><a href="http://search.cpan.org/search?dist=Text-Wrapper">Text::Wrapper</a>
-    <li><a href="http://search.cpan.org/search?dist=Time-modules">Time::ParseDate (Time-modules)</a>
-    <li><a href="http://search.cpan.org/search?dist=TermReadKey">Term::ReadKey (TermReadKey)</a>
-    <li><a href="http://search.cpan.org/search?dist=Text-Autoformat">Text::Autoformat</a>
-    <li><a href="http://search.cpan.org/search?dist=Text-Quoted">Text::Quoted</a>
-    <li><a href="http://search.cpan.org/search?dist=Regexp-Common">Regexp::Common</a>
-    <li><a href="http://search.cpan.org/search?dist=HTML-Scrubber">HTML::Scrubber</a>
-    <li><a href="http://search.cpan.org/search?dist=Tree-Simple">Tree::Simple</a>
-  </ul>
-
-<p>Create a new Unix group called 'rt'
-
-<p>Edit the top-level Makefile, set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.
-
-<p><pre>make configure-rt
-make create-rt
-make install-rt
-</pre>
-
-<p>Add the following to your httpd.conf:
-<pre>
-# replace /var/www/freeside with your freeside document root
-&lt;DirectoryMatch "^/var/www/freeside/rt/.*NoAuth"&gt;
-&lt;Limit GET POST&gt;
-allow from all
-Satisfy any   
-SetHandler perl-script
-PerlHandler HTML::Mason
-&lt;/Limit&gt;
-&lt;/DirectoryMatch&gt;
-# replace /var/www/freeside with your freeside document root
-&lt;DirectoryMatch "^/var/www/freeside/rt/.*NoAuth/images"&gt;
-SetHandler None
-&lt;/DirectoryMatch&gt;
-# replace /var/www/freeside with your freeside document root
-&lt;Directory /var/www/freeside/rt/Ticket/Attachment&gt; 
-SetHandler perl-script 
-PerlHandler HTML::Mason 
-&lt;/Directory&gt;
-</pre>
-
-<p>Set the <b>ticket_system</b> configuration value to <b>RT_Internal</b>.  You may also wish to set <b>ticket_system-default_queueid</b> once you have RT configured.
-
-<p>Bootstrap RT's permissions:
-  <ul>
-    <li>Click on "Ticketing Main" on the Freeside main menu to auto-create an RT login for your username
-    <li>Run <code>freeside-adduser -h /usr/local/etc/freeside/htpasswd root</code> and set a (temporary) password
-    <li>Log into your Freeside installation as the "root" user you just created, by closing your browser or using <code>https://root@yourmachone/freeside/</code> syntax.
-    <li>Click on "Ticketing Main" on the Freeside main menu.  Click on "Configuration", then "Global", and then "User Rights".  Grant the "SuperUser" right to your RT login.
-    <li>Remove the temporary "root" user from /usr/local/etc/freeside/mapsecrets and /usr/local/etc/freeside/htpasswd
-  </ul>
-
-<p>Follow the <A HREF="http://wiki.bestpractical.com/">regular RT documentation</A> to configure RT, setup the mailgate, etc.
-
-</body>
diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html
deleted file mode 100644 (file)
index 1f80db1..0000000
+++ /dev/null
@@ -1,214 +0,0 @@
-<head>
-  <title>Installation</title>
-</head>
-<body>
-<h1>Installation</h1>
-<i>Note: Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.</i><br><br>
-Before installing, you need:
-<ul>
-  <li><a href="http://www.perl.com/">Perl</a>, minimum version 5.005_03. (5.8.3 for the integrated RT ticketing)
-  <li><a href="http://www.apache.org">Apache</a> (<a href="http://www.modssl.org/">mod_ssl</a> or <a href="http://www.apache-ssl.org">Apache-SSL</a> highly recommended)
-  <li><a href="http://perl.apache.org/">mod_perl</a> (if compiling your own mod_perl, make sure you set the <a href="http://perl.apache.org/guide/install.html#EVERYTHING">EVERYTHING</a>=1 compile-time option)
-  <li><a href="http://www.openssh.com/">SSH</a> (<a href="http://www.openssh.com//">OpenSSH</a> is recommended.  SSH Communications Security <a href="http://www.ssh.com/products/ssh/download.cfm">commercial SSH version 3</a> has been reported incompatible with Freeside.)
-  <li><a href="http://rsync.samba.org/">rsync</a>
-  <li>Optional, enables typeset invoices: teTeX and Ghostscript (included with most distributions).
-  <li>A <b>transactional</b> database engine <a href="http://search.cpan.org/search?mode=module&query=DBD%3A%3A">supported</a> by Perl's <a href="http://dbi.perl.org">DBI</a>.
-    <ul>
-      <li><a href="http://www.postgresql.org/">PostgreSQL</a> is recommended (v7.2 or later, 7.4 or later recommended).
-      <li> <a href="http://www.mysql.com/">MySQL</a> is <b>not currently supported</b>.  <FONT SIZE="-1"><i>Developers intersted in maintaining MySQL support are welcome to ask on the -devel mailing list; many things work, but MySQL support needs a maintainer to update it for recent (and future) changes.</i></FONT>
-      <!-- <li><a href="http://www.mysql.com/">MySQL</a> <b>MINIMUM VERSION 4.1</b> is untested but may work.   Versions before 4.1 do not support standard SQL subqueries and are <b>NOT SUPPORTED</b>.
-<!--       <li>MySQL has been reported to work.
-         MySQL's default <a href="http://www.mysql.com/doc/M/y/MyISAM.html">MyISAM</a> and <a href="http://www.mysql.com/doc/I/S/ISAM.html">ISAM</a> table types are not supported.  You <b>must</b> use one of the new <a href="http://www.mysql.com/doc/T/a/Table_types.html">transaction-safe table types</a> such as <a href="http://www.mysql.com/doc/I/n/InnoDB.html">InnoDB</a>.  Set it as the default table type using the <code>--default-table-type=InnoDB</code> <a href="http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Command-line_options">mysqld command-line option</a> or by setting <code>default-table-type=InnoDB</code> in the <a href="http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Option_files">my.cnf option file</a>.
--->
-    </ul>
-    <i>Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running MySQL <!--(any version)--> or any other DBI-supported database.</i>
-  <li>Perl modules (<a href="http://search.cpan.org/~andk/CPAN/lib/CPAN.pm">CPAN</a> will query, download and build perl modules automatically)
-    <ul>
-<!--      <li><a href="http://search.cpan.org/dist/Array-PrintCols">Array-PrintCols</a>
-      <li><a href="http://search.cpan.org/dist/Term-Query">Term-Query</a> (make test broken; install manually) -->
-      <li><a href="http://search.cpan.org/dist/MIME-Base64">MIME-Base64</a>
-      <li><a href="http://search.cpan.org/dist/Digest-MD5">Digest-MD5</a>
-<!--      <li><a href="http://search.cpan.org/dist/MD5">MD5</a> -->
-      <li><a href="http://search.cpan.org/dist/URI">URI</a>
-      <li><a href="http://search.cpan.org/dist/HTML-Tagset">HTML-Tagset</a>
-      <li><a href="http://search.cpan.org/dist/HTML-Parser">HTML-Parser</a>
-      <li><a href="http://search.cpan.org/dist/libnet">libnet</a>
-      <li><a href="http://search.cpan.org/dist/Locale-Codes">Locale-Codes</a>
-      <li><a href="http://search.cpan.org/dist/Net-Whois-Raw">Net-Whois-Raw</a>
-      <li><a href="http://search.cpan.org/dist/libwww-perl">libwww-perl</a>
-      <li><a href="http://search.cpan.org/dist/Business-CreditCard">Business-CreditCard</a>
-<!--      <li><a href="http://search.cpan.org/dist/Data-ShowTable">Data-ShowTable</a> -->
-      <li><a href="http://search.cpan.org/dist/MailTools">MailTools</a>
-      <li><a href="http://search.cpan.org/dist/TimeDate">TimeDate</a>
-      <li><a href="http://search.cpan.org/dist/DateManip">DateManip</a>
-      <li><a href="http://search.cpan.org/dist/File-CounterFile">File-CounterFile</a>
-      <li><a href="http://search.cpan.org/dist/FreezeThaw">FreezeThaw</a>
-      <li><a href="http://search.cpan.org/dist/String-Approx">String-Approx</a>
-      <li><a href="http://search.cpan.org/dist/Text-Template">Text-Template</a>
-      <li><a href="http://search.cpan.org/dist/DBI">DBI</a>
-      <li><a href="http://search.cpan.org/search?mode=module&query=DBD">DBD for your database engine</a> (<a href="http://search.cpan.org/dist/DBD-Pg">DBD::Pg</a> for PostgreSQL<!--, <a href="http://search.cpan.org/search?dist=DBD-mysql">DBD::mysql</a> for MySQL-->)
-<!--      <li><a href="http://search.cpan.org/dist/DBIx-DataSource">DBIx-DataSource</a> -->
-      <li><a href="http://search.cpan.org/dist/DBIx-DBSchema">DBIx-DBSchema</a>
-      <li><a href="http://search.cpan.org/dist/Net-SSH">Net-SSH</a>
-      <li><a href="http://search.cpan.org/dist/String-ShellQuote">String-ShellQuote</a>
-      <li><a href="http://search.cpan.org/dist/Net-SCP">Net-SCP</a>
-      <li><a href="http://www.masonhq.com/">HTML::Mason</a> (recommended, enables full functionality) or <a href="http://www.apache-asp.org/">Apache::ASP</a> (deprecated, integrated RT ticketing will not be available)
-      <li><a href="http://search.cpan.org/dist/Tie-IxHash">Tie-IxHash</a>
-      <li><a href="http://search.cpan.org/dist/Time-Duration">Time-Duration</a>
-      <li><a href="http://search.cpan.org/dist/HTML-Widgets-SelectLayers">HTML-Widgets-SelectLayers</a>
-      <li><a href="http://search.cpan.org/dist/Storable">Storable</a>
-      <li><a href="http://search.cpan.org/dist/Cache-Cache">Cache::Cache</a>
-      <li><a href="http://search.cpan.org/dist/NetAddr-IP">NetAddr-IP</a>
-      <li><a href="http://search.cpan.org/dist/Chart">Chart</a>
-      <li><a href="http://search.cpan.org/dist/Crypt-PasswdMD5">Crypt::PasswdMD5</a>
-      <li><a href="http://search.cpan.org/dist/Locale-SubCountry">Locale::SubCountry</a>
-      <li><a href="http://search.cpan.org/dist/Frontier-RPC">Frontier::RPC</a>
-      <li><a href="http://search.cpan.org/dist/Text-CSV_XS">Text::CSV_XS</a>
-      <li><a href="http://search.cpan.org/dist/Spreadsheet-WriteExcel">Spreadsheet::WriteExcel</a>
-      <li><a href="http://search.cpan.org/dist/IO-stringy">IO-stringy (IO::Scalar)</a>
-      <li><a href="http://search.cpan.org/dist/Frontier-RPC">Frontier::RPC (Frontier::RPC2)</a>
-      <li><a href="http://search.cpan.org/dist/MIME-tools">MIME::Entity (MIME-tools)</a>
-      <li><a href="http://search.cpan.org/dist/IPC-Run3">IPC::Run3</a>
-      <li><a href="http://search.cpan.org/dist/Term-ReadKey">Term::ReadKey</a>
-<!--      <li><a href="http://search.cpan.org/dist/Crypt-YAPassGen">Crypt::YAPassGen</a> -->
-      <li><a href="http://search.cpan.org/search?mode=module&query=MIME::Entity">Fax::Hylafax::Client</a> <i>(Required if using FAX invoice destinations)</i>
-      <li><a href="http://search.cpan.org/dist/ApacheDBI">Apache::DBI</a> <i>(optional but recommended for better webinterface performance)</i>
-    </ul>
-</ul>
-Install the Freeside distribution:
-<ul>
-  <li>Add the user and group `freeside' to your system.
-  <li>Allow the freeside user full access to the freeside database.
-    <ul>
-      <li> with <a href="http://www.postgresql.org/users-lounge/docs/7.1/postgres/user-manag.html#DATABASE-USERS">PostgreSQL</a>:
-        <pre>
-$ su postgres (pgsql on some distributions)
-$ createuser -P freeside
-Enter password for user "freeside": 
-Enter it again: 
-Shall the new user be allowed to create databases? (y/n) y
-Shall the new user be allowed to create more new users? (y/n) n
-CREATE USER</pre>
-      <li> with <a href="http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#User_Account_Management">MySQL</a>:
-        <pre>
-$ mysqladmin -u root password '<i>set_a_root_database_password</i>'
-$ mysql -u root -p
-mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY '<i>set_a_freeside_database_password</i>';</pre>
-    </ul>
-<!--  <li>Unpack the tarball: <pre>gunzip -c fs-x.y.z.tar.gz | tar xvf -</pre>-->
-  <li>Edit the top-level Makefile:
-    <ul>
-      <li>Set <tt>DATASOURCE</tt> to your <a href="http://search.cpan.org/doc/TIMB/DBI-1.28/DBI.pm">DBI data source</a>, for example, <tt>DBI:Pg:dbname=freeside</tt> for PostgresSQL or <tt>DBI:mysql:freeside</tt> for MySQL.  See the <a href="http://search.cpan.org/doc/TIMB/DBI-1.28/DBI.pm">DBI manpage</a> and the <a href="http://search.cpan.org/search?mode=module&query=DBD%3A%3A">manpage for your DBD</a> for the exact syntax of your DBI data source.
-      <li>Set <tt>DB_PASSWORD</tt> to the freeside database user's password.
-    </ul>
-  <li>Add the freeside database to your database engine:
-    <ul>
-      <li>with Postgres:
-        <pre>
-$ su freeside
-$ createdb -E sql_ascii freeside</pre>
-      <li>with MySQL:
-        <pre>
-$ mysqladmin -u freeside -p create freeside </pre>
-    </ul>
-  <li>Build and install the Perl modules:
-    <pre>
-$ make perl-modules
-$ su
-# make install-perl-modules</pre>
-    <li>Create the necessary configuration files:<pre>
-$ su
-# make create-config
-</pre>
-    <li>Run a <b>separate</b> iteration of Apache[-SSL] with mod_perl enabled <b>as the freeside user</b>.
-    <li>Edit the <tt>Makefile</tt> and set <tt>TEMPLATE</tt> to <tt>asp</tt> or <tt>mason</tt>.  Also set <tt>FREESIDE_DOCUMENT_ROOT</tt>.
-    <li>Run <tt> make install-docs</tt>.
-</ul>
-<table>
-  <tr>
-    <th>Mason (recommended)</th><th>Apache::ASP (deprecated)</th>
-  </tr>
-  <tr>
-
-    <td valign="top"><ul>
-      <li>Configure Apache:
-<font size="-1"><pre>
-PerlModule HTML::Mason
-# your freeside docuemnt root
-&lt;Directory&nbsp;/var/www/freeside&gt;
-&lt;Files ~ (\.cgi|\.html)&gt;
-AddHandler perl-script .cgi .html
-PerlHandler HTML::Mason
-&lt;/Files&gt;
-&lt;Perl&gt;
-require&nbsp;"/usr/local/etc/freeside/handler.pl";
-&lt;/Perl&gt;
-&lt;/Directory&gt;
-</pre></font>
-    </ul></td>
-
-    <td valign="top"><ul>
-      <li>Configure Apache:
-<font size="-1"><pre>
-PerlModule Apache::ASP
-# your freeside document root
-&lt;Directory&nbsp;/var/www/freeside&gt;
-&lt;Files ~ (\.cgi|\.html)&gt;
-AddHandler perl-script .cgi .html
-PerlHandler Apache::ASP
-&lt;/Files&gt;
-&lt;Perl&gt;
-$MLDBM::RemoveTaint = 1;
-&lt;/Perl&gt;
-PerlSetVar&nbsp;Global&nbsp;/usr/local/etc/freeside/asp-global/
-PerlSetVar&nbsp;Debug&nbsp;2
-PerlSetVar&nbsp;RequestBinaryRead&nbsp;Off
-# your freeside document root
-PerlSetVar&nbsp;IncludesDir&nbsp;/var/www/freeside
-&lt;/Directory&gt;
-</pre></font>
-    </ul></td>
-
-  </tr>
-</table>
-<ul>
-<li>Restrict access to this web interface - see the <a href="http://httpd.apache.org/docs/misc/FAQ.html#user-authentication">Apache documentation on user authentication</a>.    For example, to configure user authentication with <a href="http://httpd.apache.org/docs/mod/mod_auth.html">mod_auth</a> (flat files), add something like the following to your Apache httpd.conf file, adjusting for your actual paths:
-<pre>
-#your freeside document root
-&lt;Directory /var/www/freeside&gt;
-AuthName Freeside
-AuthType Basic
-AuthUserFile /usr/local/etc/freeside/htpasswd
-require valid-user
-&lt;/Directory&gt;
-</pre>
-  <li>Create one or more Freeside users (your internal sales/tech folks, not customer accounts).  These users are setup using using Apache authentication, not UNIX user accounts.  For example, using <a href="http://httpd.apache.org/docs/mod/mod_auth.html">mod_auth</a> (flat files):
-    <ul>
-      <li>First user:<font size="-1">
-<pre>$ su
-# <a href="man/bin/freeside-adduser.html">freeside-adduser</a> -c -h /usr/local/etc/freeside/htpasswd <i>username</i></pre></font>
-      <li>Additional users:<font size="-1">
-<pre>$ su
-# <a href="man/bin/freeside-adduser.html">freeside-adduser</a> -h /usr/local/etc/freeside/htpasswd <i>username</i></pre></font>
-    </ul>
-  <i>(using other auth types, add each user to your <a href="http://httpd.apache.org/docs/misc/FAQ.html#user-authentication">Apache authentication</a> and then run: <tt>freeside-adduser <b>username</b></tt>)</i>
-  <li>Create the Freeside system users:
-<pre>$ su
-# <a href="man/bin/freeside-adduser.html">freeside-adduser</a> fs_queue
-# <a href="man/bin/freeside-adduser.html">freeside-adduser</a> fs_selfservice</pre>
-  <li>As the freeside UNIX user, run <tt>freeside-setup <b>username</b></tt> to create the database tables, passing the username of a Freeside user you created above:
-<pre>
-$ su freeside
-$ freeside-setup <b>username</b>
-</pre>
-  Alternately, use the -s option to enable shipping addresses: <tt>freeside-setup -s <b>username</b></tt>
-  <li>As the freeside UNIX user, run <tt>bin/populate-msgcat <b>username</b></tt> (in the untar'ed freeside directory) to populate the message catalog, passing the username of a Freeside user you created above:
-<pre>
-$ su freeside
-$ cd <b>/path/to/freeside/</b>
-$ bin/populate-msgcat <b>username</b>
-</pre>
-  <li><tt>freeside-queued</tt> was installed with the Perl modules.  Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing INIT_FILE with the appropriate location on your systemand QUEUED_USER with the username of a Freeside user you created above, and run <tt>make install-init</tt>)
-  <li>Now proceed to the initial <a href="admin.html">administration</a> of your installation.
-</ul>
-</body>
diff --git a/httemplate/docs/legacy.html b/httemplate/docs/legacy.html
deleted file mode 100755 (executable)
index 94efe53..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<head>
-  <title>Importing legacy data</title>
-</head>
-<body>
-  <h1>Importing legacy data</h1>
-<font size="+2">In almost all cases, legacy data import will require writing custom code to deal with your particular legacy data.  The example scripts here will probably <b>not</b> work "out-of-the-box", and are provided <b>as a starting point only</b>.</font>
-<br><br><i>Some import scripts may require installation of the <a href="http://search.cpan.org/search?dist=Array-PrintCols">Array-PrintCols</a> and <a href="http://search.cpan.org/search?dist=Term-Query">Term-Query</a> (make test broken; install manually) modules.</i><br>
-<ul>
-  <li><a name="bind">bin/bind.import</a> - Import domain information from BIND named
-  <li><a name="passwd">bin/passwd.import</a> - Just import `passwd' and `shadow' or `master.passwd', no RADIUS import.
-  <li><a name="svc_acct">bin/svc_acct.import</a> - Import `passwd', ( `shadow' or `master.passwd' ) and RADIUS `users'.  Before running bin/svc_acct.import, you need <a href="../browse/part_svc.cgi">services</a> (with table svc_acct) as follows:
-    <ul>
-      <li>Most accounts probably have entries in passwd and users (with Port-Limit nonexistant or 1)
-      <li>Some accounts have entries in passwd and users, but with Port-Limit 2 (or more)
-      <li>Some accounts might have entries in users only (Port-Limit 1)
-      <li>Some accounts might have entries in users only (Port-Limit >= 2)
-      <li>POP mail accounts have entries in passwd only, and have a particular shell.
-      <li>Everything else in passwd is a shell account.
-    </ul>
-<!--  <li><a name="svc_acct_sm">bin/svc_acct_sm.import</a> - Import qmail ( `virtualdomains' and `rcpthosts' ), or sendmail ( `virtusertable' and `sendmail.cw' ) files.  Before running bin/svc_acct_sm.import, you need <a href="../browse/part_svc.cgi">services</a> as follows:
-    <ul>
-      <li>Domain (table svc_acct)
-      <li>Mail alias (table svc_acct_sm)
-    </ul>
--->
-  <li><a name="cust_main">Importing customer data</a>
-    <ul>
-      <li>Manually
-        <ul>
-          <li>Add a <a href="../edit/cust_main.cgi">new customer</a>
-          <li>Add one or more packages for this customer
-          <li>Enter a package by clicking on the package number
-          <li>Pick the `Link to existing' option
-        </ul>
-      <li>Batch - You will need to write a script to import your particular legacy data.  You can use eg/TEMPLATE_cust_main.import as a starting point.
-    </ul>
-</ul>
-</body>
-
diff --git a/httemplate/docs/man/FS/part_export/.cvs_is_on_crack b/httemplate/docs/man/FS/part_export/.cvs_is_on_crack
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/httemplate/docs/overview-new.dia b/httemplate/docs/overview-new.dia
deleted file mode 100644 (file)
index d9989a3..0000000
Binary files a/httemplate/docs/overview-new.dia and /dev/null differ
diff --git a/httemplate/docs/overview-new.png b/httemplate/docs/overview-new.png
deleted file mode 100644 (file)
index bf81546..0000000
Binary files a/httemplate/docs/overview-new.png and /dev/null differ
diff --git a/httemplate/docs/overview.dia b/httemplate/docs/overview.dia
deleted file mode 100644 (file)
index a0e34c3..0000000
Binary files a/httemplate/docs/overview.dia and /dev/null differ
diff --git a/httemplate/docs/overview.png b/httemplate/docs/overview.png
deleted file mode 100644 (file)
index bf2dbc2..0000000
Binary files a/httemplate/docs/overview.png and /dev/null differ
diff --git a/httemplate/docs/passwd.html b/httemplate/docs/passwd.html
deleted file mode 100755 (executable)
index fc1dde9..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<head>
-  <title>fs_passwd</title>
-</head>
-<body>
-  <h1>fs_passwd</h1>
-You may use fs_passwd/fs_passwd as a "passwd", "chfn" and "chsh" replacement on your shell machine(s) to cause password, gecos and shell changes to update your freeside machine.  You can also use the fs_passwd/fs_passwd.html and fs_passwd/fs_passwd.cgi to run a public password change CGI on a public web server.  This can pose a security risk if not configured correctly.  <b>Do not use this feature unless you understand what you are doing!</b>
-<br><br>Currently it is assumed that the the crypt(3) function in the C library is the same on the Freeside machine as on the target machine.
-<ul>
-  <li>Create a freeside account on the shell or web machine(s).
-  <li>Setup SSH keys:
-    <ul>
-      <li>As the freeside user (on your freeside machine), generate an authentication key using <a href="http://www.tac.eu.org/cgi-bin/man-cgi?ssh-keygen+1">ssh-keygen</a>.  Since this is for unattended operation, use a blank passphrase.
-      <li>Append the newly-created <code>identity.pub</code> file to <code>~freeside
-/.ssh/authorized_keys</code> on the shell or web machine(s).
-      <li>Some new SSH v2 implementation accept v2 style keys only.  Use the <code>-t</code> option to <a href="http://www.tac.eu.org/cgi-bin/man-cgi?ssh-keygen+1">ssh-keygen</a>, and append the created <code>id_dsa.pub</code> or <code>id_rsa.pub</code> to <code>~freeside/.ssh/authorized_keys2</code> on the remote machine(s).
-    </ul>
-  <li>Copy fs_passwd/fs_passwdd to /usr/local/sbin on the shell or web machine(s).  (chown freeside, chmod 500)
-  <li>Create /usr/local/freeside on the shell or web machine(s). (chown freeside, chmod 700)
-  <li>Run an iteration of "fs_passwd/fs_passwd_server <i>user</i> shell.machine" as the freeside user for each shell or web machine (this is a daemon process).  <i>user</i> refers to a freeside user added by <a href="man/bin/freeside-adduser.html">freeside-adduser</a>.
-  <li>Copy fs_passwd/fs_passwd to /usr/local/bin on the shell machine(s).  (chown freeside, chmod 4755).  You may link it to passwd, chfn and chsh as well.
-  <li>Copy fs_passwd/fs_passwd.cgi to the cgi-bin directory on your web machine(s).  Use <a href="http://www.apache.org/docs/suexec.html">suEXEC</a> or <a href="http://www.perldoc.com/perl5.6.1/pod/perlsec.html">suidperl</a> to run fs_passwd.cgi as the freeside user.
-</ul>
-</body>
diff --git a/httemplate/docs/schema.dia b/httemplate/docs/schema.dia
deleted file mode 100644 (file)
index e00f59c..0000000
Binary files a/httemplate/docs/schema.dia and /dev/null differ
diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html
deleted file mode 100644 (file)
index cdb59a2..0000000
+++ /dev/null
@@ -1,523 +0,0 @@
-
-  <title>Schema reference</title>
-</head>
-<body>
-  <h1>Schema reference</h1>
-  Schema diagram (1.4.1): <a href="schema.png">as a giant .png</a> or <a href="schema.dia">dia source</a> (<a href="http://www.lysator.liu.se/~alla/dia/">dia homepage</a>).
-  <ul>
-    <li><a name="agent" href="man/FS/agent.html">agent</a> - Agents are resellers of your service.  Agents may be limited to a subset of your full offerings (via their agent type).
-      <ul>
-        <li>agentnum - primary key
-        <li>agent - name of this agent
-        <li>typenum - <a href="#agent_type">agent type</a>
-        <li>prog - (unimplemented)
-        <li>freq - (unimplemented)
-        <li>disabled - Disabled flag, empty or 'Y'
-        <li>username - Username for the Agent interface
-        <li>_password - Password for the Agent interface
-      </ul>
-    <li><a name="agent_type" href="man/FS/agent_type.html">agent_type</a> - Agent types define groups of packages that you can then assign to particular agents.
-      <ul>
-        <li>typenum - primary key
-        <li>atype - name of this agent type
-      </ul>
-    <li><a name="cust_bill" href="man/FS/cust_bill.html">cust_bill</a> - Invoices.  Declarations that a customer owes you money.  The specific charges are itemized in <a href="#cust_bill_pkg">cust_bill_pkg</a>.
-      <ul>
-        <li>billpkgnum - primary_key
-        <li>invnum - primary key
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>_date
-        <li>charged - amount of this invoice
-        <li>printed - how many times this invoice has been printed automatically
-        <li>closed - books closed flag, empty or `Y'
-      </ul>
-    <li><a name="cust_bill_event" href="man/FS/cust_bill_event.html">cust_bill_event</a> - Invoice event history
-      <ul>
-        <li>eventnum - primary key
-        <li>invnum - <a href="#cust_bill">invoice</a>
-        <li>eventpart - <a href="#part_bill_event">event definition</a>
-        <li>_date
-        <li>status
-        <li>statustext
-      </ul>
-    <li><a name="part_bill_event" href="man/FS/part_bill_event.html">part_bill_event</a> - Invoice event definitions
-      <ul>
-        <li>eventpart - primary key
-        <li>payby - CARD, DCRD, CHEK, DCHK, LECB, BILL, or COMP
-        <li>event - event name
-        <li>eventcode - event action
-        <li>seconds - how long after the invoice date (<a href="#cust_bill">cust_bill</a>._date) events of this type are triggered
-        <li>weight - ordering for events with identical seconds
-        <li>plan - eventcode plan
-        <li>plandata - additional plan data
-        <li>disabled - Disabled flag, empty or `Y'
-        <li>taxclass - Texas tax class flag, empty or "none", "access", or "hosting"
-      </ul>
-    <li><a name="cust_bill_pkg" href="man/FS/cust_bill_pkg.html">cust_bill_pkg</a> - Invoice line items
-      <ul>
-        <li>invnum - (multiple) key
-        <li>pkgnum - <a href="#cust_pkg">package</a> or 0 for the special virtual sales tax package
-        <li>setup - setup fee 
-        <li>recur - recurring fee
-        <li>sdate - starting date
-        <li>edate - ending date
-        <li>itemdesc - Line item description (currently used only when pkgnum is 0)
-      </ul>
-    <li><a name="cust_bill_pkg_detail" href="man/FS/cust_bill_pkg_detail.html">cust_bill_pkg_detail</a> - Invoice line items detail
-      <ul>
-        <li>detailnum - primary key
-        <li>pkgnum -
-        <li>invnum - 
-        <li>detail - Detail description
-      </ul>
-    <li><a name="cust_credit" href="man/FS/cust_credit.html">cust_credit</a> - Credits.  The equivalent of a negative <a href="#cust_bill">cust_bill</a> record.
-      <ul>
-        <li>crednum - primary key
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>amount - amount credited
-        <li>_date
-        <li>otaker - order taker
-        <li>reason
-        <li>closed - books closed flag, empty or `Y'
-      </ul>
-    <li><a name="cust_credit_bill" href="man/FS/cust_credit_bill.html">cust_credit_bill</a> - Credit invoice application.  Links a credit to an invoice.
-      <ul>
-        <li>creditbillnum - primary key
-        <li>crednum - <a href="#cust_credit">credit</a> being applied
-        <li>invnum - <a href="#cust_bill">invoice</a> to which credit is applied
-        <li>amount - amount applied
-        <li>_date
-      </ul>
-    <li><a name="cust_pay_refund" href="man/FS/cust_pay_refund.html">cust_credit_bill</a> - Refund payment application.  Links a refund to a payment.
-      <ul>
-        <li>payrefundnum - primary key
-        <li>paynum - <a href="#cust_pay">payment</a>
-        <li>refundnum - <a href="#cust_refund">refund</a>
-        <li>amount - amount applied
-        <li>_date
-      </ul>
-    <li><a name="cust_main" href="man/FS/cust_main.html">cust_main</a> - Customers
-      <ul>
-        <li>custnum - primary key
-        <li>agentnum - <a href="#agent">agent</a>
-        <li>refnum - <a href="#part_referral">referral</a>
-        <li>first - name
-        <li>last - name
-        <li>ss - social security number
-        <li>company
-        <li>address1
-        <li>address2
-        <li>city
-        <li>county
-        <li>state
-        <li>zip
-        <li>country
-        <li>daytime - phone
-        <li>night - phone
-        <li>fax - phone
-        <li><i>ship_first</i>
-        <li><i>ship_last</i>
-        <li><i>ship_company</i>
-        <li><i>ship_address1</i>
-        <li><i>ship_address2</i>
-        <li><i>ship_city</i>
-        <li><i>ship_county</i>
-        <li><i>ship_state</i>
-        <li><i>ship_zip</i>
-        <li><i>ship_country</i>
-        <li><i>ship_daytime</i>
-        <li><i>ship_night</i>
-        <li><i>ship_fax</i>
-        <li>payby - CARD, DCHK, CHEK, DCHK, LECB, BILL, or COMP
-        <li>payinfo - card number, P.O.#, or comp issuer
-        <li>paycvv - Card Verification Value, "CVV2" (also known as CVC2 or CID), the 3 or 4 digit number on the back (or front, for American Express) of the credit card
-        <li>paydate - expiration date
-        <li>payname - billing name (name on card)
-        <li>tax - tax exempt, Y or null
-        <li>otaker - order taker
-        <li>referral_custnum
-        <li>comments
-      </ul>
-      (columns in <i>italics</i> are optional)
-    <li><a name="cust_main_invoice" href="man/FS/cust_main_invoice.html">cust_main_invoice</a> - Invoice destinations for email invoices.  Note that a customer can have many email destinations for their invoice (either literal or via svcnum), but only one postal destination.
-      <ul>
-        <li>destnum - primary key
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>dest - Invoice destination.  Freeside supports three types of invoice delivery: send directly to a service defined in Freeside, send to an arbitrary email address, or print the invoice to a printer and have someone send it out via snail mail.  Freeside determines which method to use based on the contents of the dest field.  If the contents are numeric, a <a href="#svc_acct">svcnum</a> pointing to a valid service is expected in the field.  If the contents are a string, a literal email address is expected to be in the field.  If the special keyword `POST' is present, the snail mail method is used (which is the default if no cust_main_invoice records exist).  Snail mail invoices get their address information from <A name="#cust_main">cust_main</A> and are printed with the printer defined in the configuration files.
-      </ul>
-    <li><a name="cust_main_county" href="man/FS/cust_main_county.html">cust_main_county</a> - Tax rates
-      <ul>
-        <li>taxnum - primary key
-        <li>state
-        <li>county
-        <li>country
-        <li>tax - % rate
-        <li>taxclass
-        <li>exempt_amount
-        <li>taxname - if defined, printed on invoices instead of "Tax"
-        <li>setuptax - if 'Y', this tax does not apply to setup fees
-        <li>recurtax - if 'Y', this tax does not apply to recurring fees
-      </ul>
-    <li><a name="cust_tax_exempt" href="man/FS/cust_tax_exempt.html">cust_tax_exempt</a> - Tax exemption record
-      <ul>
-        <li>exemptnum - primary key
-        <li>taxnum - <a href="#cust_main_county">tax rate</a>
-        <li>year
-        <li>month
-        <li>amount
-      </ul>
-    <li><a name="cust_pay" href="man/FS/cust_pay.html">cust_pay</a> - Payments.  Money being transferred from a customer.
-      <ul>
-        <li>paynum - primary key
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>paid - amount
-        <li>_date
-        <li>payby - CARD, CHEK, LECB, BILL, or COMP
-        <li>payinfo - card number, P.O.#, or comp issuer
-        <li>paybatch - text field for tracking card processor batches
-        <li>closed - books closed flag, empty or `Y'
-      </ul>
-    <li><a name="cust_pay-void" href="man/FS/cust_pay_void.html">cust_pay_void</a> - Voided payments.
-      <ul>
-        <li>paynum - primary key
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>paid - amount
-        <li>_date
-        <li>payby - CARD, CHEK, LECB, BILL, or COMP
-        <li>payinfo - card number, P.O.#, or comp issuer
-        <li>paybatch - text field for tracking card processor batches
-        <li>closed - books closed flag, empty or `Y'
-        <li>void_date
-        <li>reason
-        <li>otaker - order taker
-      </ul>
-    <li><a name="cust_bill_pay" href="man/FS/cust_bill_pay.html">cust_bill_pay</a> - Applicaton of a payment to a specific invoice.
-      <ul>
-        <li>billpaynum
-        <li>invnum - <a href="#cust_bill">invoice</a>
-        <li>paynum - <a href="#cust_pay">payment</a>
-        <li>amount
-        <li>_date
-      </ul>
-    <li><a name="cust_pay_batch" href="man/FS/cust_pay_batch.html">cust_pay_batch</a> - Pending batch
-      <ul>
-        <li>paybatchnum
-        <li>cardnum
-        <li>exp - card expiration
-        <li>amount
-        <li>invnum - <a href="#cust_bill">invoice</a>
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>payname - name on card
-        <li>first - name
-        <li>last - name
-        <li>address1
-        <li>address2
-        <li>city
-        <li>state
-        <li>zip
-        <li>country
-      </ul>
-    <li><a name="cust_pkg" href="man/FS/cust_pkg.html">cust_pkg</a> - Customer billing items
-      <ul>
-        <li>pkgnum - primary key
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>pkgpart - <a href="#part_pkg">Package definition</a>
-        <li>setup - date
-        <li>bill - next bill date
-        <li>last_bill - last bill date
-        <li>susp - (past) suspension date
-        <li>expire - (future) cancellation date
-        <li>cancel - (past) cancellation date
-        <li>otaker - order taker
-        <li>manual_flag - If this field is set to 1, disables the automatic unsuspensiond of this package when using the <a href="config.html#unsuspendauto">unsuspendauto</a> config file.
-      </ul>
-    <li><a name="cust_refund" href="man/FS/cust_refund.html">cust_refund</a> - Refunds.  The transfer of money to a customer; equivalent to a negative <a href="#cust_pay">cust_pay</a> record.
-      <ul>
-        <li>refundnum - primary key
-        <li>custnum - <a href="#cust_main">customer</a>
-        <li>refund - amount
-        <li>_date
-        <li>payby - CARD, CHEK, LECB, BILL or COMP
-        <li>payinfo - card number, P.O.#, or comp issuer
-        <li>otaker - order taker
-        <li>closed - books closed flag, empty or `Y'
-      </ul>
-    <li><a name="cust_credit_refund" href="man/FS/cust_credit_refund.html">cust_credit_refund</a> - Applicaton of a refund to a specific credit.
-      <ul>
-        <li>creditrefundnum - primary key
-        <li>crednum - <a href="#cust_credit">credit</a>
-        <li>refundnum - <a href="#cust_refund">refund</a>
-        <li>amount
-        <li>_date
-      </ul>
-    <li><a name="cust_svc" href="man/FS/cust_svc.html">cust_svc</a> - Customer services
-      <ul>
-        <li>svcnum - primary key
-        <li>pkgnum - <a href="#cust_pkg">package</a>
-        <li>svcpart - <a href="#part_svc">Service definition</a>
-      </ul>
-    <li><a name="nas" href="man/FS/nas.html">nas</a> - Network Access Server (terminal server)
-      <ul>
-        <li>nasnum - primary key
-        <li>nas - NAS name
-        <li>nasip - NAS ip address
-        <li>nasfqdn - NAS fully-qualified domain name
-        <li>last - timestamp indicating the last instant the NAS was in a known state (used by the session monitoring).
-      </ul>
-    <li><a name="part_pkg" href="man/FS/part_pkg.html">part_pkg</a> - Package definitions
-      <ul>
-        <li>pkgpart - primary key
-        <li>pkg - package name
-        <li>comment - non-customer visable package comment
-        <li>promo_code - promotional code
-        <li><i>deprecated</i> setup - setup fee expression
-        <li>freq - recurring frequency (months)
-        <li><i>deprecated</i> recur - recurring fee expression
-        <li>setuptax - Setup fee tax exempt flag, empty or `Y'
-        <li>recurtax - Recurring fee tax exempt flag, empty or `Y'
-        <li>plan - price plan
-        <li><i>deprecated</i> plandata - additional price plan data
-        <li>disabled - Disabled flag, empty or `Y'
-      </ul>
-    <li><a name="part_pkg_option" href="man/FS/part_pkg_option.html">part_pkg_option</a> - Package definition options
-      <ul>
-        <li>optionnum - primary key
-        <li>pkgpart - <a href="#part_pkg">Package definition</a>
-        <li>optionname - option name
-        <li>optionvalue - option value
-      </ul>
-    <li><a name="reg_code" href="man/FS/reg_code.html">reg_code</A> - One-time registration codes
-      <ul>
-        <li>codenum - primary key
-        <li>code
-        <li>agentnum - <a href="#agent">Agent</a>
-      </ul>
-    <li><a name="reg_code_pkg" href="man/FS/reg_code_pkg.html">reg_code_pkg</A> - Registration code link to package definitions
-      <ul>
-        <li>codepkgnum - primary key
-        <li>codenum - <a href="#reg_code">Registration code</a>
-        <li>pkgpart - <a href="#part_pkg">Package definition</a>
-      </ul>
-    <li><a name="part_referral" href="man/FS/part_referral.html">part_referral</a> - Referral listing
-      <ul>
-        <li>refnum - primary key
-        <li>referral - referral
-      </ul>
-    <li><a name="part_svc" href="man/FS/part_svc.html">part_svc</a> - Service definitions
-      <ul>
-        <li>svcpart - primary key
-        <li>svc - name of this service
-        <li>svcdb - table used for this service: svc_acct, svc_forward, svc_domain, svc_charge or svc_wo
-        <li>disabled - Disabled flag, empty or `Y'
-<!--        <li><i>table</i>__<i>field</i> - Default or fixed value for <i>field</i> in <i>table</i>
-        <li><i>table</i>__<i>field</i>_flag - null, D or F
--->
-      </ul>
-    <li><a name="part_svc_column" href="man/FS/part_svc_column.html">part_svc_column</a>
-      <ul>
-        <li>columnnum - primary key
-        <li>svcpart - <a href="#part_svc">Service definition</a>
-        <li>columnname - column name in part_svc.svcdb table
-        <li>columnvalue - default or fixed value for the column
-        <li>columnflag - null, D or F
-      </ul>
-    <li><a name="pkg_svc" href="man/FS/pkg_svc.html">pkg_svc</a>
-      <ul>
-        <li>pkgsvcnum - primary key
-        <li>pkgpart - <a href="#part_pkg">Package definition</a>
-        <li>svcpart - <a href="#part_svc">Service definition</a>
-        <li>quantity - quantity of this service that this package includes
-        <li>primary_svc - blank or Y: primary service
-      </ul>
-    <li><a name="export_svc" href="man/FS/export_svc.html">export_svc</a>
-      <ul>
-        <li>exportsvcnum - primary key
-        <li>svcpart - <a href="#part_svc">Service definition</a>
-        <li>exportnum - <a href="#exportnum">Export</a>
-      </ul>
-    <li><a name="part_export" href="man/FS/part_export.html">part_export</a> - Export to external provisioning
-      <ul>
-        <li>exportnum - primary key
-        <li>machine - Machine name 
-        <li>exporttype - Export type
-        <li>nodomain - blank or Y: usernames are exported to this service with no domain
-      </ul>
-    <li><a name="part_export_option" href="man/FS/part_export_option.html">part_export_option</a> - provisioning options
-      <ul>
-        <li>optionnum - primary key
-        <li>exportnum - <a href="#part_export">Export</a>
-        <li>optionname - option name
-        <li>optionvalue - option value
-      </ul>
-    <li><a name="port" href="man/FS/port.html">port</a> - individual port on a <a href="#nas">nas</a>
-      <ul>
-        <li>portnum - primary key
-        <li>ip - IP address of this port
-        <li>nasport - port number on the NAS
-        <li>nasnum - <a href="#nas">NAS</a>
-      </ul>
-    <li><a name="prepay_credit" href="man/FS/prepay_credit.html">prepay_credit</a> - prepaid cards
-      <ul>
-        <li>prepaynum - primary key
-        <li>identifier - text or numeric string of prepaid card
-        <li>amount - amount of prepayment
-        <li>seconds - prepaid time instead of (or in addition to) monetary value
-        <li>agentnum - optional agent assignment for prepaid cards
-      </ul>
-    <li><a name="session" href="man/FS/session.html">session</a>
-      <ul>
-        <li>sessionnum - primary key
-        <li>portnum - <a href="#port">Port</a>
-        <li>svcnum - <a href="#svc_acct">Account</a>
-        <li>login - timestamp indicating the beginning of this user session.
-        <li>logout - timestamp indicating the end of this user session.  May be null, which indicates a currently open session.
-      </ul>
-
-    <li><a name="svc_acct" href="man/FS/svc_acct.html">svc_acct</a> - Accounts
-      <ul>
-        <li>svcnum - <a href="#cust_svc">primary key</a>
-        <li>username
-        <li>_password
-        <li>sec_phrase - security phrase
-        <li>popnum - <a href="#svc_acct_pop">Point of Presence</a>
-        <li>uid
-        <li>gid
-        <li>finger - GECOS
-        <li>dir
-        <li>shell
-        <li>quota - (unimplementd)
-        <li>slipip - IP address
-        <li>seconds
-        <li>domsvc
-        <li>radius_<i>Radius_Reply_Attribute</i> - Radius-Reply-Attribute
-        <li>rc_<i>Radius_Check_Attribute</i> - Radius-Check-Attribute
-      </ul>
-    <li><a name="svc_acct_pop" href="man/FS/svc_acct_pop.html">svc_acct_pop</a> - Points of Presence
-      <ul>
-        <li>popnum - primary key
-        <li>city
-        <li>state
-        <li>ac - area code
-        <li>exch - exchange
-        <li>loc - rest of number
-      </ul>
-    <li><a name="part_pop_local" href="man/FS/part_pop_local.html">part_pop_local</a> - Local calling areas
-      <ul>
-        <li>localnum - primary key
-        <li>popnum - primary key
-        <li>city
-        <li>state
-        <li>npa - area code
-        <li>nxx - exchange
-      </ul>
-    <li><a name="svc_domain" href="man/FS/svc_domain.html">svc_domain</a> - Domains
-      <ul>
-        <li>svcnum - <a href="#cust_svc">primary key</a>
-        <li>domain
-      </ul>
-    <li><a name="svc_forward" href="man/FS/svc_forward.html">svc_forward</a> - Mail forwarding aliases
-      <ul>
-        <li>svcnum - <a href="#cust_svc">primary key</a>
-        <li>srcsvc - <a href="#svc_acct">svcnum of the source of this forward</a>
-        <li>src - literal source (username or full email address)
-        <li>dstsvc - <a href="#svc_acct">svcnum of the destination of this forward</a>
-        <li>dst - literal destination (username or full email address)
-      </ul>
-    <li><a name="domain_record" href="man/FS/domain_record.html">domain_record</a> - Domain zone detail
-      <ul>
-        <li>recnum - primary key
-        <li>svcnum - <a href="#svc_domain">Domain</a> (by svcnum)
-        <li>reczone - zone for this line
-        <li>recaf - address family, usually <b>IN</b>
-        <li>rectype - type for this record (<b>A</b>, <b>MX</b>, etc.)
-        <li>recdata - data for this record
-      </ul>
-    <li><a name="svc_www" href="man/FS/svc_www.html">svc_www</a>
-      <ul>
-       <li>svcnum - <a href="#cust-svc">primary key</a>
-       <li>recnum - <a href="#domain_record">host</a>
-       <li>usersvc - <a href="#svc_acct">account</a>
-      </ul>
-    <li><a name="type_pkgs" href="man/FS/type_pkgs.html">type_pkgs</a>
-      <ul>
-        <li>typepkgnum - primary key
-        <li>typenum - <a href="#agent_type">agent type</a>
-        <li>pkgpart - <a href="#part_pkg">Package definition</a>
-      </ul>
-    <li><a name="queue" href="man/FS/queue.html">queue</a> - job queue
-      <ul>
-        <li>jobnum - primary key
-        <li>job
-        <li>_date
-        <li>status
-        <li>statustext
-        <li>svcnum
-      </ul>
-    <li><a name="queue_arg" href="man/FS/queue_arg.html">queue_arg</a> - job arguments
-      <ul>
-        <li>argnum - primary key
-        <li>jobnum - <a href="#queue">job</a>
-        <li>arg - argument
-      </ul>
-    <li><a name="queue_depend" href="man/FS/queue_depend.html">queue_depend</a> - job dependancies
-      <ul>
-        <li>dependnum - primary key
-        <li>jobnum - source jobnum
-        <li>depend_jobnum - dependancy jobnum
-      </ul>
-    <li><a name="radius_usergroup" href="man/FS/radius_usergroup.html">radius_usergroup</a> - Link users to RADIUS groups.
-      <ul>
-        <li>usergroupnum - primary key
-        <li>svcnum - <a href="#svc_acct">account</a>
-        <li>groupname
-      </ul>
-    <li><a name="rate" href="man/FS/rate.html">rate</a> - Call rate plans
-      <ul>
-        <li>ratenum - primary key
-        <li>ratename
-      </ul>
-    <li><a name="rate_detail" href="man/FS/rate_detail.html">rate_detail</a> - Call rate detail
-      <ul>
-        <li>ratedetailnum - primary key
-        <li>ratenum - <a href="#rate">rate plan</a>
-        <li>orig_regionnum - call origination <a href="#rate_region">region</a>
-        <li>dest_regionnum - call destination <a href="#rate_region">region</a>
-        <li>min_included - included minutes
-        <li>min_charge - charge per minute
-        <li>sec_granularity - granularity in seconds, i.e. 6 or 60
-      </ul>
-    <li><a name="rate_region" href="man/FS/rate_region.html">rate_region</a> - Call rate region
-      <ul>
-        <li>regionnum - primary key
-        <li>regionname
-      </ul>
-    <li><a name="rate_prefix" href="man/FS/rate_prefix.html">rate_prefix</a> - Call rate prefix
-      <ul>
-        <li>prefixnum - primary key
-        <li>regionnum - <a href="#rate_region">rate region</a>
-        <li>countrycode
-        <li>npa
-        <li>nxx
-      </ul>
-    <li><a name="msgcat" href="man/FS/msgcat.html">msgcat</a> - i18n message catalog
-      <ul>
-        <li>msgnum - primary key
-        <li>msgcode - message code
-        <li>locale - locale
-        <li>msg - Message text
-      </ul>
-    <li><a name="clientapi_session" href="man/FS/clientapi_session.html">clientapi_session</a> - ClientAPI session store
-      <ul>
-        <li>sessionnum - primary key
-        <li>sessionid - session ID
-        <li>namespace - session namespace
-      </ul>
-    <li><a name="clientapi_session_field" href="man/FS/clientapi_session_field.html">clientapi_session_field</a> - Client API session store data
-      <ul>
-        <li>fieldnum - primary key
-        <li>sessionnum - <a href="#session">session</a>
-        <li>fieldname
-        <li>fieldvalue
-      </ul>
-  </ul>
-</body>
diff --git a/httemplate/docs/schema.png b/httemplate/docs/schema.png
deleted file mode 100644 (file)
index d0392e7..0000000
Binary files a/httemplate/docs/schema.png and /dev/null differ
diff --git a/httemplate/docs/selfservice.html b/httemplate/docs/selfservice.html
deleted file mode 100644 (file)
index 9dc8f2a..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-<head>
-  <title>Signup, self-service and reseller interfaces</title>
-</head>
-<body>
-  <h1>Signup, self-service and reseller interfaces</h1>
-For security reasons, the self-service interface should run on a public
-machine, not the backend Freeside server.  On the public machine, install:
-<ul>
-  <li>A web server, such as <a href="http://www.apache.org">Apache</a> (<a href="http://www.modssl.org/">mod_ssl</a> or <a href="http://www.apache-ssl.org">Apache-SSL</a> highly recommended)
-
-  <li><a href="ftp://ftp.cs.hut.fi/pub/ssh/">SSH</a>
-  <li><a href="http://www.perl.com/CPAN/doc/relinfo/INSTALL.html">Perl</a>.
-  <li><a href="http://search.cpan.org/search?dist=Text-Template">Text::Template</a>
-  <li><a href="http://search.cpan.org/search?dist=Storable">Storable</a>
-  <li><a href="http://search.cpan.org/search?dist=Business-CreditCard">Business-CreditCard</a>
-  <li><a href="http://search.cpan.org/search?dist=HTTP-BrowserDetect">HTTP::BrowserDetect</a>
-  <li><a href="http://search.cpan.org/search?dist=HTML-Parser">HTML::Parser</a>
-
-  <li><a href="man/FS/SelfService.html">FS::SelfService</a> (copy the fs_selfservice/FS-SelfService directory to the external machine, then: perl Makefile.PL; make; make install)
-</ul>
-Then:
-<ul>
-  <li>Set the <a href="../config/config.cgi#unclassified"><i>signup_server-default_agentnum</i></a> configuration value to a default <a href="../browse/agent.cgi">agent number</a>.
-  <li>Set the <a href="../config/config.cgi#unclassified"><i>signup_server-default_refnum</i></a> configuration value to a default <a href="../browse/part_referral.cgi">advertising source</a>.
-  <li>Set the <a href="../config/config.cgi#unclassified"><i>signup_server-payby</i></a> configuration value to the acceptable payment types for signups.
-  <li>Set the <a href="../config/config.cgi#unclassified"><i>signup_server-realtime</i></a> configuration value to run billing for signups immediately.
-  <li>Add the user `freeside' to the the external machine.
-  <li>Copy or symlink the <code>fs_selfservice/FS-SelfService/cgi/</code> directory into the web server's document space.  Optionally, customize the .html templates.  "Entry points" (useful places to link to) are:
-    <ul>
-      <li>signup.cgi - Signup
-      <li>selfservice.cgi - Customer self-service
-      <li>agent.cgi - Reseller interface
-      <li>passwd.cgi - Simple password-changing interface
-      <li>promocode.html - Promotional code pre-signup
-      <li>regcode.html - Registration code pre-signup
-      <li>stateselect.html - State selection pre-signup
-    </ul>
-  <li>Enable CGI execution for files with the `.cgi' extension.  (with <a href="http://www.apache.org/docs/mod/mod_mime.html#addhandler">Apache</a>), for example: <pre>
-#directory where selfservice .cgi scripts and .html templates are located
-&lt;Directory /var/www/selfservice&gt;
-AddHandler cgi-script .cgi
-Options +ExecCGI
-&lt;/Directory&gt;</pre>
-  <li>Create the /usr/local/freeside directory on the external machine (owned by the freeside user).
-  <li>touch /usr/local/freeside/selfservice_socket; chown freeside /usr/local/freeside/selfservice_socket; chmod 600 /usr/local/freeside/selfservice_socket
-  <li>Use <a href="http://www.apache.org/docs/suexec.html">suEXEC</a> or <a href="http://www.perl.com/CPAN-local/doc/manual/html/pod/perlsec.html#Security_Bugs">setuid</a> to run signup.cgi, selfservice.cgi, agent.cgi and passwd.cgi as the freeside user.  <b>Do not run your public web server as the freeside user!</b>
-  <li>Append the identity.pub from the freeside user on your freeside machine to the authorized_keys file of the newly created freeside user on the external machine(s).
-  <li>Run an instance of <pre>freeside-selfservice-server <i>user</i> <i>machine</i></pre> on the Freeside machine for each external machine.
-  <ul>
-    <li><i>user</i> is a user from the mapsecrets file.
-    <li><i>machine</i> is the name of the external machine.
-
-
-  </ul>
-</ul>
-Optional:
-<ul>
-  <li>You can install the files in the <code>fs_selfservice/FS-SelfService/cgi/</code> directory multiple places in your web server's document space, and customize the .html templates differently for each.  You can set the agentnum used for each signup by editing signup.html and including a hidden field with the agentnum:
-  <pre>
-  &lt;INPUT TYPE="hidden" NAME="agentnum" VALUE="3"&gt;</pre>
-  <li>When linking to signup.cgi, you can include a referring custnum in the URL as follows: <code>http://public.web.server/path/signup.cgi?ref=1542</code>
-  <li>If you create a <b>/usr/local/freeside/ieak.template</b> file on the external machine, it will be sent to IE users with MIME type <i>application/x-Internet-signup</i>.  This file will be processed with <a href="http://search.cpan.org/doc/MJD/Text-Template-1.23/Template.pm">Text::Template</a> with the variables listed below available.
-  (an example file is included as <b>fs_selfservice/FS-SelfService/ieak.template</b>)  See the section on <a href="http://www.microsoft.com/windows/ieak/techinfo/deploy/60/en/INS.HTM">internet settings files</a> in the <a href="http://www.microsoft.com/windows/ieak/techinfo/deploy/60/en/toc.asp">IEAK documentation</a> for more information.
-<!--  <li>If you create a <b>/usr/local/freeside/success.html</b> file on the external machine, it will be used as the success HTML page.  Although template substiutions are available, a regular HTML file will work fine here, unlike signup.html.  An example file is included as <b>fs_signup/FS-SignupClient/cgi/success.html</b>-->
-  <li>Variable substitutions available in <b>ieak.template</b> and <b>success.html</b>:
-    <ul>
-      <li>$ac - area code of selected POP
-      <li>$exch - exchange of selected POP
-      <li>$loc - local part of selected POP
-      <li>$username
-      <li>$password
-      <li>$email_name - first and last name
-      <li>$pkg - package name
-    </ul>
-<!--  <li>If you create a <b>/usr/local/freeside/signup.html</b> file on the external machine, it will be used as a template for the form HTML.  This requires the template to be constructed appropriately; probably best to start with the example file included as <b>fs_signup/FS-SignupClient/cgi/signup.html</b>. -->
-<!--  <li>If there are any entries in the <i>prepay_credit</i> table, a user can enter a string matching the <b>identifier</i> column to receive the credit specified in the <b>amount</b> column, and/or the time specified in the <b>seconds</b> column (for use with the <a href="session.html">session monitor</a>), after which that <b>identifier</b> is no longer valid.  This can be used to implement pre-paid "calling card" type signups.  The <i>bin/generate-prepay</i> script can be used to populate the <i>prepay_credit</i> table. -->
-</ul>
-</body>
diff --git a/httemplate/docs/session.html b/httemplate/docs/session.html
deleted file mode 100644 (file)
index 72e1642..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<head>
-  <title>Session monitor</title>
-</head>
-<body>
-<h1>Session monitor</h1>
-<h2>Installation</h2>
-For security reasons, the client portion of the session montior may run on one
-or more external public machine(s).  On these machines, install:
-<ul>
-  <li><a href="http://www.perl.com/CPAN/doc/relinfo/INSTALL.html">Perl</a> (at l
-east 5.004_05 for the 5.004 series or 5.005_03 for the 5.005 series.  Don't enable experimental features like threads or the PerlIO abstraction layer.)
-  <li><a href="man/FS/SessionClient.html">FS::SessionClient</a> (copy the fs_session/FS-SessionClient directory to the external machine, then: perl Makefile.PL; make; make install)
-</ul>
-Then:
-<ul>
-  <li>Add the user `freeside' to the the external machine.
-  <li>Create the /usr/local/freeside directory on the external machine (owned by the freeside user).
-  <li>touch /usr/local/freeside/fs_sessiond_socket; chown freeside /usr/local/freeside/fs_sessiond_socket; chmod 600 /usr/local/freeside/fs_sessiond_socket
-    <li>Append the identity.pub from the freeside user on your freeside machine to the authorized_keys file of the newly created freeside user on the external machine(s).
-  <li>Run <pre>fs_session_server <i>user</i> <i>machine</i></pre> on the Freeside machine.
-  <ul>
-    <li><i>user</i> is a user from the mapsecrets file.
-    <li><i>machine</i> is the name of the external machine.
-  </ul>
-</ul>
-<h2>Usage</h2>
-<ul>
-  <li>Web
-    <ul>
-      <li>Copy FS-SessionClient/cgi/login.cgi and logout.cgi to your web
-          server's document space.  
-      <li>Use <a href="http://www.apache.org/docs/suexec.html">suEXEC</a> or <a href="http://www.perl.com/CPAN-local/doc/manual/html/pod/perlsec.html#Security_Bugs">setuid</a> (see <a href="install.html">install.html</a> for details) to run login.cgi and logout.cgi as the freeside user.
-    </ul>
-  <li>Command-line
-    <br><pre>freeside-login username ( portnum | ip | nasnum nasport )
-freeside-logout username ( portnum | ip | nasnum nasport )</pre>
-    <ul>
-      <li><i>username</i> is a customer username from the svc_acct table
-      <li><i>portnum</i>, <i>ip</i> or <i>nasport</i> and <i>nasnum</i> uniquely identify a port in the <a href="schema.html#port">port</a> database table.
-    </ul>
-  <li>RADIUS - One of:
-    <ul>
-      <li>Run the <b>freeside-sqlradius-radacctd</b> daemon to import radacct
-        records from all configured sqlradius exports:
-          <tt>freeside-sqlradius-radacctd username</tt>
-      <li>Configure your RADIUS server's login and logout callbacks to use the command-line <tt>freeside-login</tt> and <tt>freeside-logout</tt> utilites.
-      <li> <i>(incomplete)</i>Use the <b>fs_radlog/fs_radlogd</b> tool to
-        import records from a text radacct file.
-    </ul>
-</ul>
-<h2>Callbacks</h2>
-<ul>
-  <li>Sesstion start - The command(s) specified in the <a href="config.html#session-start">session-start</a> configuration file are executed on the Freeside machine.  The contents of the file are treated as a double-quoted perl string, with the following variables available: <code>$ip</code>, <code>$nasip</code> and <code>$nasfqdn</code>, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.
-  <li>Session end - The command(s) specified in the <a href="config.html#session-stop">session-stop</a> configuration file are executed on the Freeside machine.  The contents of the file are treated as a double-quoted perl string, with the following variables available: <code>$ip</code>, <code>$nasip</code> and <code>$nasfqdn</code>, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.
-</ul>
-<h2>Dropping expired users</h2>
-Run <pre>bin/freeside-session-kill username</pre> periodically from cron.
-</body>
-</html>
diff --git a/httemplate/docs/signup.html b/httemplate/docs/signup.html
deleted file mode 100644 (file)
index 97d7aa7..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<head>
-  <title>Signup server</title>
-</head>
-<body>
-  <h1>Signup server</h1>
-For security reasons, the signup server should run on an external public
-webserver.  On this machine, install:
-<ul>
-  <li>A web server, such as <a href="http://www.apache-ssl.org">Apache-SSL</a> or <a href="http://www.apache.org">Apache</a>
-  <li><a href="ftp://ftp.cs.hut.fi/pub/ssh/">SSH</a>
-  <li><a href="http://www.perl.com/CPAN/doc/relinfo/INSTALL.html">Perl</a> (at least 5.004_05 for the 5.004 series or 5.005_03 for the 5.005 series.  Don't enable experimental features like threads or the PerlIO abstraction layer.)
-  <li><a href="http://search.cpan.org/search?dist=Text-Template">Text::Template</a>
-  <li><a href="http://search.cpan.org/search?dist=Storable">Storable</a>
-  <li><a href="http://search.cpan.org/search?dist=Business-CreditCard">Business-CreditCard</a>
-  <li><a href="http://search.cpan.org/search?dist=HTTP-BrowserDetect">HTTP::BrowserDetect</a>
-
-  <li><a href="man/FS/SignupClient.html">FS::SignupClient</a> (copy the fs_signup/FS-SignupClient directory to the external machine, then: perl Makefile.PL; make; make install)
-</ul>
-Then:
-<ul>
-  <li>Add the user `freeside' to the the external machine.
-  <li>Copy or symlink fs_signup/FS-SignupClient/cgi/signup.cgi into the web server's document space.
-  <li>When linking to signup.cgi, you can include a referring custnum in the URL as follows: <code>http://public.web.server/path/signup.cgi?ref=1542</code>
-  <li>Enable CGI execution for files with the `.cgi' extension.  (with <a href="http://www.apache.org/docs/mod/mod_mime.html#addhandler">Apache</a>)
-  <li>Create the /usr/local/freeside directory on the external machine (owned by the freeside user).
-  <li>touch /usr/local/freeside/fs_signupd_socket; chown freeside /usr/local/freeside/fs_signupd_socket; chmod 600 /usr/local/freeside/fs_signupd_socket
-  <li>Use <a href="http://www.apache.org/docs/suexec.html">suEXEC</a> or <a href="http://www.perl.com/CPAN-local/doc/manual/html/pod/perlsec.html#Security_Bugs">setuid</a> (see <a href="install.html">install.html</a> for details) to run signup.cgi as the freeside user.
-  <li>Append the identity.pub from the freeside user on your freeside machine to the authorized_keys file of the newly created freeside user on the external machine(s).
-  <li>Run <pre>fs_signup_server <i>user</i> <i>machine</i> <i>agentnum</i> <i>refnum</i></pre> on the Freeside machine.
-  <ul>
-    <li><i>user</i> is a user from the mapsecrets file.
-    <li><i>machine</i> is the name of the external machine.
-    <li><i>agentnum</i> and <i>refnum</i> are the <a href="schema.html#agent">agent</a> and <a href="schema.html#part_referral">referral</a>, respectively, to use for customers who sign up via this signup server.
-  </ul>
-</ul>
-Optional:
-<ul>
-  <li>If you create a <b>/usr/local/freeside/ieak.template</b> file on the external machine, it will be sent to IE users with MIME type <i>application/x-Internet-signup</i>.  This file will be processed with <a href="http://search.cpan.org/doc/MJD/Text-Template-1.23/Template.pm">Text::Template</a> with the variables listed below available.
-  (an example file is included as <b>fs_signup/ieak.template</b>)  See the section on <a href="http://www.microsoft.com/windows/ieak/techinfo/deploy/60/en/INS.HTM">internet settings files</a> in the <a href="http://www.microsoft.com/windows/ieak/techinfo/deploy/60/en/toc.asp">IEAK documentation</a> for more information.
-  <li>If you create a <b>/usr/local/freeside/success.html</b> file on the external machine, it will be used as the success HTML page.  Although template substiutions are available, a regular HTML file will work fine here, unlike signup.html.  An example file is included as <b>fs_signup/FS-SignupClient/cgi/success.html</b>
-  <li>Variable substitutions available in <b>ieak.template</b>, <b>cck.template</b> and <b>success.html</b>:
-    <ul>
-      <li>$ac - area code of selected POP
-      <li>$exch - exchange of selected POP
-      <li>$loc - local part of selected POP
-      <li>$username
-      <li>$password
-      <li>$email_name - first and last name
-      <li>$pkg - package name
-    </ul>
-  <li>If you create a <b>/usr/local/freeside/signup.html</b> file on the external machine, it will be used as a template for the form HTML.  This requires the template to be constructed appropriately; probably best to start with the example file included as <b>fs_signup/FS-SignupClient/cgi/signup.html</b>.
-  <li>If there are any entries in the <i>prepay_credit</i> table, a user can enter a string matching the <b>identifier</i> column to receive the credit specified in the <b>amount</b> column, and/or the time specified in the <b>seconds</b> column (for use with the <a href="session.html">session monitor</a>), after which that <b>identifier</b> is no longer valid.  This can be used to implement pre-paid "calling card" type signups.  The <i>bin/generate-prepay</i> script can be used to populate the <i>prepay_credit</i> table.
-</ul>
-</body>
diff --git a/httemplate/docs/ssh.html b/httemplate/docs/ssh.html
deleted file mode 100755 (executable)
index d2c501e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<head>
-  <title>Unattended SSH</title>
-</head>
-<body>
-  <h1>Unattended SSH</h1>
-  <br><a name=ssh>Unattended remote login</a> - Freeside can login to remote machines unattended using SSH.  This can pose a security risk if not configured correctly, and will allow an intruder who breaks into your freeside machine full access to your remote machines.  <b>Do not use this feature unless you understand what you are doing!</b>
-    <ul>
-      <li>As the freeside user (on your freeside machine), generate an authentication key using <a href="http://www.tac.eu.org/cgi-bin/man-cgi?ssh-keygen+1">ssh-keygen</a>.  Since this is for unattended operation, use a blank passphrase.
-      <li>Append the newly-created <code>identity.pub</code> file to <code>~root/.ssh/authorized_keys</code> (or the appopriate <code>~username/.ssh/authorized_keys</code>) on the remote machine(s).
-      <li>Some new SSH v2 implementation accept v2 style keys only.  Use the <code>-t</code> option to <a href="http://www.tac.eu.org/cgi-bin/man-cgi?ssh-keygen+1">ssh-keygen</a>, and append the created <code>id_dsa.pub</code> or <code>id_rsa.pub</code> to <code>~root/.ssh/authorized_keys2</code> (or the appopriate <code>~username/.ssh/authorized_keys</code>) on the remote machine(s).
-      <li>You may need to set <code>PermitRootLogin without-password</code> (meaning with keys only) in your <code>sshd_config</code> file on the remote machine(s).
-      <li>You may want to set <code>ForwardX11 = no</code> in <code>~root/.ssh/config</code> to prevent spurious errors if your distribution turns on X11 forwarding by default.
-    </ul>
-
-</body>
-
diff --git a/httemplate/docs/trouble.html b/httemplate/docs/trouble.html
deleted file mode 100755 (executable)
index fce7439..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<head>
-  <title>Troubleshooting</title>
-</head>
-<body>
-  <h1>Troubleshooting</h1>
-  <ul>
-    <li>When troubleshooting the web interface, helpful information is often in your web server's error log.
-    <li>If bin/svc_acct.import fails with an "Out of memory!" error using MySQL, upgrede MySQL and recompile the Perl DBD.  There was a memory leak in some older versions of MySQL.
-    <li>If you get tons of errors in your web server's error log like this:
-<pre>
-Ambiguous use of value => resolved to "value" =>
-at /usr/lib/perl5/site_perl/File/CounterFile.pm line 132.
-</pre>
-        This clutters up your log files but is otherwise harmless.  Upgrade to the latest File::CounterFile. 
-    <li>If you get errors like this:
-<pre>
-UID.pm: Can't open /var/spool/freeside/conf/secrets: Permission denied 
-at <i>/your/path</i>/site_perl/FS/UID.pm line 26.
-BEGIN failed--compilation aborted at
-<i>/your/path</i>/edit/process/part_svc.cgi line 15.
-</pre>
-        Then the scripts are not running as the freeside freeside user.  See
-the <a href="install.html">New Installation</a> section of the documentation.
-  <li>If you receive `can not connect to server' errors using MySQL on a system that doesn't support native threading, you may need to specify the full hostname in your DBI datasource.  See the <a href="http://www.mysql.com/Manual_chapter/manual_Problems.html#Can_not_connect_to_server">MySQL documentation</a>, DBI manpage and the DBD::mysql manpage for details.
-  </ul>
-</body>
diff --git a/httemplate/docs/upgrade-1.4.2.html b/httemplate/docs/upgrade-1.4.2.html
deleted file mode 100644 (file)
index a246611..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<head>
-  <title>Upgrading to 1.4.2</title>
-</head>
-<body>
-<h1>Upgrading to 1.4.2 from 1.4.1</h1>
-<ul>
-  <li>If migrating from less than 1.4.1, see these <a href="upgrade9.html">instructions</a> first.
-  <li>Back  up your data and current Freeside installation.
-  <li>Install <a href="http://search.cpan.org/search?dist=Locale-SubCountry">Locale::SubCountry</a>
-  <li>Install <a href="http://search.cpan.org/search?dist=IPC-ShareLite">IPC::ShareLite</a>
-  <li>Install <a href="http://search.cpan.org/search?dist=HTML-Widgets-SelectLayers">HTML::Widgets::SelectLayers</a> 0.04.
-  <li>Install <a href="http://search.cpan.org/search?dist=DBIx-DBSchema">DBIx::DBSchema</a> 0.23.
-  <li>Install <a href="http://search.cpan.org/search?dist=DBD-Pg">DBD::Pg</a> 1.32.
-  <li>Install <a href="http://search.cpan.org/search?dist=Cache-Cache">Cache::Cache</a>.
-  <li>Install <a href="http://search.cpan.org/search?dist=Net-SSH">Net::SSH</a> 0.08.
-  <li>Install <a href="http://search.cpan.org/search?dist=Crypt-PasswdMD5">Crypt::PasswdMD5</a>
-  <li>Install <a href="http://search.cpan.org/search?dist=Net-Whois-Raw">Net::Whois::Raw</a>
-  <li>CGI.pm minimum version 2.47 is required.  You will probably need to install a current CGI.pm from CPAN if you are using Perl 5.005 or earlier.
-  <li>File::Temp minimum version 0.14 is required.  You will probably need to install a currrent File::Temp from CPAN if you are using Perl 5.6 or earlier.
-  <li>If using Apache::ASP, add <code>PerlSetVar RequestBinaryRead Off</code> to your Apache configuration and make sure you are using Apache::ASP minimum version 2.55.
-  <li>Run <code>make aspdocs</code> or <code>make masondocs</code>.
-  <li>Copy <code>aspdocs/</code> or <code>masondocs/</code> to your web server's document space.
-  <li>Run <code>make install-perl-modules</code>.
-  <li>The signup server and password server are deprecated in 1.4.2.  Their functionality has been incorperated into the self-service server.  Edit or reinstall your init script, and set the "signup_server-default_agentnum" and "signup_server-default_refnum" configuration options.  The FS::SignupClient interface is still available as a compatibility wrapper, so you should be able to continue to use your current signup.cgi.
-  <li>Optional: To use typeset invoices, install tetex and ghostscript, and copy conf/invoice_latex, conf/invoice_latexnotes, and conf/invoice_latexfooter to /usr/local/etc/freeside/conf.<datasrc>/
-  <li>Restart Apache and freeside-queued.
-</body>
diff --git a/httemplate/docs/upgrade10.html b/httemplate/docs/upgrade10.html
deleted file mode 100644 (file)
index ac2c623..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-<pre>
-this is incomplete
-
-NOTE: Version numbering has been simplified.  1.5.7 is the version after
-1.5.0pre6.  It is still a development version - releases with odd numbered 
-middle parts (NN in x.NN.x) are development versions, like Perl or Linux.
-
-If migrating from 1.5.7, see README.1.5.8 instead
-
-If migrating from 1.5.0pre6, see README.1.5.7 instead
-
-install DBD::Pg 1.32, 1.41 or later (not 1.40) (or, if you're using a Perl version before 5.6, you could try installing DBD::Pg 1.22 with <a href="http://420.am/~ivan/DBD-Pg-1.22-fixvercmp.patch">this patch</a> and commenting out the "use DBD::Pg 1.32" at the top of DBIx/DBSchema/DBD/Pg.pm)
-install DBIx::DBSchema 0.27 (or later)
-  (if you are running Pg version 7.2.x or earlier, install at least
-   DBIx::DBSchema 0.29)
-install Net::SSH 0.08
-install HTML::Widgets::SelectLayers 0.05
-install Business::CreditCard 0.28
-
-- If using Apache::ASP, add PerlSetVar RequestBinaryRead Off and PerlSetVar IncludesDir /your/freeside/document/root/ to your Apache configuration and make sure you are using Apache::ASP minimum version 2.55.
-- In httpd.conf, change &lt;Files ~ \.cgi&gt; to  &lt;Files ~ (\.cgi|\.html)&gt;
-- In httpd.conf, change <b>AddHandler perl-script .cgi</b> or <b>SetHandler perl-script</b> to <b>AddHandler perl-script .cgi .html</b>
-
-install NetAddr::IP, Chart::Base, Locale::SubCountry, Text::CSV_XS, 
-Spreadsheet::WriteExcel, IO-stringy (IO::Scalar), Frontier::RPC
-(Frontier::RPC2), MIME::Entity (MIME-tools), IPC::Run3, Net::Whois::Raw,
-JSON and Term::ReadKey
-<!-- and Crypt::YAPassGen-->
-
-INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 20, 'svc_external-id', 'en_US', 'External ID' );
-INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 21, 'svc_external-title', 'en_US', 'Title' );
-
-DROP INDEX cust_bill_pkg1;
-
-On recent Pg versions:
-
-ALTER TABLE cust_main ALTER COLUMN payinfo varchar(512) NULL;
-ALTER TABLE h_cust_main ALTER COLUMN payinfo varchar(512) NULL;
-
-Or on older Pg versions that don't support altering columns directly:
-(dump database, edit & reload)
-
-On recent Pg versions:
-
-ALTER TABLE svc_forward ALTER COLUMN srcsvc DROP NOT NULL;
-ALTER TABLE h_svc_forward ALTER COLUMN srcsvc DROP NOT NULL;
-ALTER TABLE svc_forward ALTER COLUMN dstsvc DROP NOT NULL;
-ALTER TABLE h_svc_forward ALTER COLUMN dstsvc DROP NOT NULL;
-ALTER TABLE cust_main ALTER COLUMN zip DROP NOT NULL;
-ALTER TABLE h_cust_main ALTER COLUMN zip DROP NOT NULL;
-
-Or on Pg versions that don't support DROP NOT NULL (tested on 7.1 and 7.2 so far):
-UPDATE pg_attribute SET attnotnull = FALSE WHERE ( attname = 'srcsvc' OR attname = 'dstsvc' ) AND ( attrelid = ( SELECT oid FROM pg_class WHERE relname = 'svc_forward' ) OR attrelid = ( SELECT oid FROM pg_class WHERE relname = 'h_svc_forward' ) );
-UPDATE pg_attribute SET attnotnull = FALSE WHERE ( attname = 'zip' ) AND ( attrelid = ( SELECT oid FROM pg_class WHERE relname = 'cust_main' ) OR attrelid = ( SELECT oid FROM pg_class WHERE relname = 'h_cust_main' ) );
-
-If you created your database with a version before 1.4.2, dump database, edit:
-- cust_main and h_cust_main: increase otaker from 8 to 32
-- cust_main and h_cust_main: change ss from char(11) to varchar(11) ( "character(11)" to "character varying(11)" )
-- cust_credit and h_cust_credit: increase otaker from 8 to 32
-- cust_pkg and h_cust_pkg: increase otaker from 8 to 32
-- cust_refund and h_cust_refund: increase otaker from 8 to 32
-- domain_record and h_domain_record: increase reczone from 80 to 255
-- domain_record and h_domain_record: change rectype from char to varchar ( "character(5)" to "character varying(5)" )
-- domain_record and h_domain_record: increase recdata from 80 to 255
-then reload
-
-mandatory again:
-
-make install-perl-modules to install the new libraries and CLI utilities
-run "freeside-upgrade username" to create the remaining new tables and columns
-
-optionally:
-
-CREATE INDEX cust_main4 ON cust_main ( daytime );
-CREATE INDEX cust_main5 ON cust_main ( night );
-CREATE INDEX cust_main6 ON cust_main ( fax );
-CREATE INDEX cust_main7 ON cust_main ( refnum );
-CREATE INDEX cust_main8 ON cust_main ( county );
-CREATE INDEX cust_main9 ON cust_main ( state );
-CREATE INDEX cust_main10 ON cust_main ( country );
-CREATE INDEX cust_main11 ON cust_main ( ship_last );
-CREATE INDEX cust_main12 ON cust_main ( ship_company );
-CREATE INDEX cust_main13 ON cust_main ( ship_daytime );
-CREATE INDEX cust_main14 ON cust_main ( ship_night );
-CREATE INDEX cust_main15 ON cust_main ( ship_fax );
-CREATE INDEX agent2 ON agent ( disabled );
-CREATE INDEX part_bill_event2 ON part_bill_event ( disabled );
-CREATE INDEX cust_pay4 ON cust_pay (_date);
-CREATE INDEX part_referral1 ON part_referral ( disabled );
-CREATE INDEX part_pkg2 ON part_pkg ( promo_code );
-CREATE INDEX h_part_pkg2 ON h_part_pkg ( promo_code );
-
-</pre>
diff --git a/httemplate/docs/upgrade7.html b/httemplate/docs/upgrade7.html
deleted file mode 100644 (file)
index d9dcfe2..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<head>
-  <title>Upgrading to 1.3.1</title>
-</head>
-<body>
-<h1>Upgrading to 1.3.1 from 1.3.0</h1>
-<ul>
-  <li>If migrating from 1.0.0, see these <a href="upgrade.html">instructions</a> first.
-  <li>If migrating from less than 1.1.4, see these <a href="upgrade2.html">instructions</a> first.
-  <li>If migrating from less than 1.2.0, see these <a href="upgrade3.html">instructions</a> first.
-  <li>If migrating from less than 1.2.2, see these <a href="upgrade4.html">instructions</a> first.
-  <li>If migrating from less than 1.2.3, see these <a href="upgrade5.html">instructions</a> first.
-  <li>If migrating from less than 1.3.0, see these <a href="upgrade6.html">instructions</a> first.
-  <li>Back up your data and current Freeside installation.
-  <li>Copy or symlink htdocs to the new copy.
-  <li>Change to the FS directory in the new tarball, and build and install the
-      Perl modules:
-    <pre>
-$ cd FS/
-$ perl Makefile.PL
-$ make
-$ su
-# make install UNINST=1</pre>
-  <li>Run bin/dbdef-create.
-</body>
diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html
deleted file mode 100644 (file)
index 9ca7cb7..0000000
+++ /dev/null
@@ -1,394 +0,0 @@
-<head>
-  <title>Upgrading to 1.4.0</title>
-</head>
-<body>
-<h1>Upgrading to 1.4.0 from 1.3.1</h1>
-<ul>
-  <li>If migrating from less than 1.3.1, see these <a href="upgrade7.html">instructions</a> first.
-  <li><font size="+2" color="#ff0000">Backup your database and current Freeside installation.</font> (with&nbsp;<a href="http://www.ca.postgresql.org/devel-corner/docs/postgres/backup.html">PostgreSQL</a>) (with&nbsp;<a href="http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Backup">MySQL</a>)
-  <li><a href="http://perl.apache.org/">mod_perl</a> is now required.
-  <li>Install <a href="http://search.cpan.org/search?dist=Time-Duration">Time-Duration</a>, <a href="http://search.cpan.org/search?dist=Tie-IxHash">Tie-IxHash</a> and <a href="http://search.cpan.org/search?dist=HTML-Widgets-SelectLayers">HTML-Widgets-SelectLayers</a> (minimum version 0.02).
-  <li>Install <a href="http://www.apache-asp.org/">Apache::ASP</a> or <a href="http://www.masonhq.com/">HTML::Mason</a> (use version 1.0x - Freeside is not yet compatible with version 1.1x).
-  <li>Install <a href="http://rsync.samba.org/">rsync</a>
-</ul>
-<table>
-  <tr>
-    <th>Apache::ASP</th><th>Mason</th>
-  </tr>
-  <tr>
-    <td><ul>
-      <li>Run <tt>make aspdocs</tt>
-      <li>Copy <tt>aspdocs/</tt> to your web server's document space.
-      <li>Create a <a href="http://www.apache-asp.org/config.html#Global">Global</a> directory, such as <tt>/usr/local/etc/freeside/asp-global/</tt>
-      <li>Copy <tt>htetc/global.asa</tt> to the Global directory.
-      <li>Configure Apache for the Global directory and to execute .cgi files using Apache::ASP.  For example:
-<font size="-1"><pre>
-&lt;Directory /usr/local/apache/htdocs/freeside-asp&gt;
-&lt;Files ~ (\.cgi)&gt;
-AddHandler perl-script .cgi
-PerlHandler Apache::ASP
-&lt;/Files&gt;
-&lt;Perl&gt;
-$MLDBM::RemoveTaint = 1;
-&lt;/Perl&gt;
-PerlSetVar Global /usr/local/etc/freeside/asp-global/
-&lt;/Directory&gt;
-</pre></font>
-    </ul></td>
-    <td><ul>
-      <li>(use version 1.0x - Freeside is not yet compatible with version 1.1x)
-      <li>Run <tt>make masondocs</tt>
-      <li>Copy <tt>masondocs/</tt> to your web server's document space.
-      <li>Copy <tt>htetc/handler.pl</tt> to your web server's configuration directory.
-      <li>Edit <tt>handler.pl</tt> and set an appropriate <tt>data_dir</tt>, such as <tt>/usr/local/etc/freeside/mason-data</tt>
-      <li>Configure Apache to use the <tt>handler.pl</tt> file and to execute .cgi files using HTML::Mason.  For example:
-<font size="-1"><pre>
-&lt;Directory /usr/local/apache/htdocs/freeside-mason&gt;
-&lt;Files ~ (\.cgi)&gt;
-AddHandler perl-script .cgi
-PerlHandler HTML::Mason
-&lt;/Files&gt;
-&lt;Perl&gt;
-require "/usr/local/apache/conf/handler.pl";
-&lt;/Perl&gt;
-&lt;/Directory&gt;
-</pre></font>
-    </ul></td>
-  </tr>
-</table>
-<ul>
-  <li>Build and install the Perl modules:
-    <pre>
-$ su
-# make install-perl-modules</pre>
-   <li>Apply the following changes to your database:
-<pre>
-CREATE TABLE svc_forward (
-  svcnum int NOT NULL,
-  srcsvc int NOT NULL,
-  dstsvc int NOT NULL,
-  dst varchar(80),
-  PRIMARY KEY (svcnum)
-);
-ALTER TABLE part_svc ADD svc_forward__srcsvc varchar(80) NULL;
-ALTER TABLE part_svc ADD svc_forward__srcsvc_flag char(1) NULL;
-ALTER TABLE part_svc ADD svc_forward__dstsvc varchar(80) NULL;
-ALTER TABLE part_svc ADD svc_forward__dstsvc_flag char(1) NULL;
-ALTER TABLE part_svc ADD svc_forward__dst varchar(80) NULL;
-ALTER TABLE part_svc ADD svc_forward__dst_flag char(1) NULL;
-
-CREATE TABLE cust_credit_bill (
-  creditbillnum int primary key,
-  crednum int not null,
-  invnum int not null,
-  _date int not null,
-  amount decimal(10,2) not null
-);
-
-CREATE TABLE cust_bill_pay (
-  billpaynum int primary key,
-  invnum int not null,
-  paynum int not null,
-  _date int not null,
-  amount decimal(10,2) not null
-);
-
-CREATE TABLE cust_credit_refund (
-  creditrefundnum int primary key,
-  crednum int not null,
-  refundnum int not null,
-  _date int not null,
-  amount decimal(10,2) not null
-);
-
-CREATE TABLE part_svc_column (
-  columnnum int primary key,
-  svcpart int not null,
-  columnname varchar(64) not null,
-  columnvalue varchar(80) null,
-  columnflag char(1) null
-);
-
-CREATE TABLE queue (
-  jobnum int primary key,
-  job text not null,
-  _date int not null,
-  status varchar(80) not null,
-  statustext text null,
-  svcnum int null
-);
-CREATE INDEX queue1 ON queue ( svcnum );
-CREATE INDEX queue2 ON queue ( status );
-
-CREATE TABLE queue_arg (
-  argnum int primary key,
-  jobnum int not null,
-  arg text null
-);
-CREATE INDEX queue_arg1 ON queue_arg ( jobnum );
-
-CREATE TABLE queue_depend (
-  dependnum int primary key,
-  jobnum int not null,
-  depend_jobnum int not null
-);
-CREATE INDEX queue_depend1 ON queue_depend ( jobnum );
-CREATE INDEX queue_depend2 ON queue_depend ( depend_jobnum );
-
-CREATE TABLE part_pop_local (
-  localnum int primary key,
-  popnum int not null,
-  city varchar(80) null,
-  state char(2) null,
-  npa char(3) not null,
-  nxx char(3) not null
-);
-CREATE UNIQUE INDEX part_pop_local1 ON part_pop_local ( npa, nxx );
-
-CREATE TABLE cust_bill_event (
-  eventnum int primary key,
-  invnum int not null,
-  eventpart int not null,
-  _date int not null,
-  status varchar(80) not null, 
-  statustext text
-);
-CREATE UNIQUE INDEX cust_bill_event1 ON cust_bill_event ( eventpart, invnum );
-CREATE INDEX cust_bill_event2 ON cust_bill_event ( invnum );
-
-CREATE TABLE part_bill_event (
-  eventpart int primary key,
-  payby char(4) not null,
-  event varchar(80) not null,
-  eventcode text null,
-  seconds int null,
-  weight int not null,
-  plan varchar(80) null,
-  plandata text null,
-  disabled char(1) null
-);
-CREATE INDEX part_bill_event1 ON part_bill_event ( payby );
-
-CREATE TABLE export_svc (
-  exportsvcnum int primary key,
-  exportnum int not null,
-  svcpart int not null
-);
-CREATE UNIQUE INDEX export_svc1 ON export_svc ( exportnum, svcpart );
-CREATE INDEX export_svc2 ON export_svc ( exportnum );
-CREATE INDEX export_svc3 ON export_svc ( svcpart );
-
-CREATE TABLE part_export (
-  exportnum int primary key,
-  machine varchar(80) not null,
-  exporttype varchar(80) not null,
-  nodomain char(1) NULL
-);
-CREATE INDEX part_export1 ON part_export ( machine );
-CREATE INDEX part_export2 ON part_export ( exporttype );
-
-CREATE TABLE part_export_option (
-  optionnum int primary key,
-  exportnum int not null,
-  optionname varchar(80) not null,
-  optionvalue text NULL
-);
-CREATE INDEX part_export_option1 ON part_export_option ( exportnum );
-CREATE INDEX part_export_option2 ON part_export_option ( optionname );
-
-CREATE TABLE radius_usergroup (
-  usergroupnum int primary key,
-  svcnum int not null,
-  groupname varchar(80) not null
-);
-CREATE INDEX radius_usergroup1 ON radius_usergroup ( svcnum );
-CREATE INDEX radius_usergroup2 ON radius_usergroup ( groupname );
-
-CREATE TABLE msgcat (
-  msgnum int primary key,
-  msgcode varchar(80) not null,
-  locale varchar(16) not null,
-  msg text not null
-);
-CREATE INDEX msgcat1 ON msgcat ( msgcode, locale );
-
-CREATE TABLE cust_tax_exempt (
-  exemptnum int primary key,
-  custnum int not null,
-  taxnum int not null,
-  year int not null,
-  month int not null,
-  amount decimal(10,2)
-);
-CREATE UNIQUE INDEX cust_tax_exempt1 ON cust_tax_exempt ( taxnum, year, month );
-
-ALTER TABLE svc_acct ADD domsvc integer NULL;
-ALTER TABLE part_svc ADD svc_acct__domsvc varchar(80) NULL;
-ALTER TABLE part_svc ADD svc_acct__domsvc_flag char(1) NULL;
-ALTER TABLE svc_domain ADD catchall integer NULL;
-ALTER TABLE cust_main ADD referral_custnum integer NULL;
-ALTER TABLE cust_main ADD comments text NULL;
-ALTER TABLE cust_pay ADD custnum integer;
-ALTER TABLE cust_pay_batch ADD paybatchnum integer;
-ALTER TABLE cust_refund ADD custnum integer;
-ALTER TABLE cust_pkg ADD manual_flag char(1) NULL;
-ALTER TABLE part_pkg ADD plan varchar(80) NULL;
-ALTER TABLE part_pkg ADD plandata text NULL;
-ALTER TABLE part_pkg ADD setuptax char(1) NULL;
-ALTER TABLE part_pkg ADD recurtax char(1) NULL;
-ALTER TABLE part_pkg ADD disabled char(1) NULL;
-ALTER TABLE part_svc ADD disabled char(1) NULL;
-ALTER TABLE cust_bill ADD closed char(1) NULL;
-ALTER TABLE cust_pay ADD closed char(1) NULL;
-ALTER TABLE cust_credit ADD closed char(1) NULL;
-ALTER TABLE cust_refund ADD closed char(1) NULL;
-ALTER TABLE cust_bill_event ADD status varchar(80);
-ALTER TABLE cust_bill_event ADD statustext text NULL;
-ALTER TABLE svc_acct ADD sec_phrase varchar(80) NULL;
-ALTER TABLE part_svc ADD svc_acct__sec_phrase varchar(80) NULL;
-ALTER TABLE part_svc ADD svc_acct__sec_phrase_flag char(1) NULL;
-ALTER TABLE part_pkg ADD taxclass varchar(80) NULL;
-ALTER TABLE cust_main_county ADD taxclass varchar(80) NULL;
-ALTER TABLE cust_main_county ADD exempt_amount decimal(10,2);
-CREATE INDEX cust_main3 ON cust_main ( referral_custnum );
-CREATE INDEX cust_credit_bill1 ON cust_credit_bill ( crednum );
-CREATE INDEX cust_credit_bill2 ON cust_credit_bill ( invnum );
-CREATE INDEX cust_bill_pay1 ON cust_bill_pay ( invnum );
-CREATE INDEX cust_bill_pay2 ON cust_bill_pay ( paynum );
-CREATE INDEX cust_credit_refund1 ON cust_credit_refund ( crednum );
-CREATE INDEX cust_credit_refund2 ON cust_credit_refund ( refundnum );
-CREATE UNIQUE INDEX cust_pay_batch_pkey ON cust_pay_batch ( paybatchnum );
-CREATE UNIQUE INDEX part_svc_column1 ON part_svc_column ( svcpart, columnname );
-CREATE INDEX cust_pay2 ON cust_pay ( paynum );
-CREATE INDEX cust_pay3 ON cust_pay ( custnum );
-CREATE INDEX cust_pay4 ON cust_pay ( paybatch );
-</pre>
-
-  <li>If you are using PostgreSQL, apply the following changes to your database:
-<pre>
-CREATE UNIQUE INDEX agent_pkey ON agent ( agentnum );
-CREATE UNIQUE INDEX agent_type_pkey ON agent_type ( typenum );
-CREATE UNIQUE INDEX cust_bill_pkey ON cust_bill ( invnum );
-CREATE UNIQUE INDEX cust_credit_pkey ON cust_credit ( crednum );
-CREATE UNIQUE INDEX cust_main_pkey ON cust_main ( custnum );
-CREATE UNIQUE INDEX cust_main_county_pkey ON cust_main_county ( taxnum );
-CREATE UNIQUE INDEX cust_main_invoice_pkey ON cust_main_invoice ( destnum );
-CREATE UNIQUE INDEX cust_pay_pkey ON cust_pay ( paynum );
-CREATE UNIQUE INDEX cust_pkg_pkey ON cust_pkg ( pkgnum );
-CREATE UNIQUE INDEX cust_refund_pkey ON cust_refund ( refundnum );
-CREATE UNIQUE INDEX cust_svc_pkey ON cust_svc ( svcnum );
-CREATE UNIQUE INDEX domain_record_pkey ON domain_record ( recnum );
-CREATE UNIQUE INDEX nas_pkey ON nas ( nasnum );
-CREATE UNIQUE INDEX part_pkg_pkey ON part_pkg ( pkgpart );
-CREATE UNIQUE INDEX part_referral_pkey ON part_referral ( refnum );
-CREATE UNIQUE INDEX part_svc_pkey ON part_svc ( svcpart );
-CREATE UNIQUE INDEX port_pkey ON port ( portnum );
-CREATE UNIQUE INDEX prepay_credit_pkey ON prepay_credit ( prepaynum );
-CREATE UNIQUE INDEX session_pkey ON session ( sessionnum );
-CREATE UNIQUE INDEX svc_acct_pkey ON svc_acct ( svcnum );
-CREATE UNIQUE INDEX svc_acct_pop_pkey ON svc_acct_pop ( popnum );
-CREATE UNIQUE INDEX svc_acct_sm_pkey ON svc_acct_sm ( svcnum );
-CREATE UNIQUE INDEX svc_domain_pkey ON svc_domain ( svcnum );
-CREATE UNIQUE INDEX svc_www_pkey ON svc_www ( svcnum );
-</pre>
-  <li>If you wish to enable service/shipping addresses, apply the following
-      changes to your database:
-<pre>
-ALTER TABLE cust_main ADD COLUMN ship_last varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_first varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_company varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_address1 varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_address2 varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_city varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_county varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_state varchar(80) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_zip varchar(10) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_country char(2) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_daytime varchar(20) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_night varchar(20) NULL;
-ALTER TABLE cust_main ADD COLUMN ship_fax varchar(12) NULL;
-CREATE INDEX cust_main4 ON cust_main ( ship_last );
-CREATE INDEX cust_main5 ON cust_main ( ship_company );
-</pre>
-  <li>If you are using the signup server, reinstall it according to the <a href="signup.html">instructions</a>.  The 1.3.x signup server is not compatible with 1.4.x.
-  <li>Run <tt>bin/dbdef-create <i>username</i></tt>
-  <li>If you have svc_acct_sm records or service definitions:
-    <ul>
-      <li>Create a service definition with table svc_forward
-      <li>Run <tt>bin/fs-migrate-svc_acct_sm <i>username</i></tt>
-    </ul>
-  <li>Or if you just have svc_acct records:
-    <ul>
-      <li>Order and provision a package for your default domain and note down the <b>Service #</b> or <i>svcnum</i>.
-      <li><tt>UPDATE svc_acct SET domsvc = </tt><i>svcnum</i>
-      <li>Update your service definitions to have default (or fixed) <b>domsvc</b>.
-    </ul>
-  <li>Run <tt>bin/fs-migrate-payref<i>username</i></tt>
-  <li>Run <tt>bin/fs-migrate-part_svc<i>username</i></tt>
-  <li><b>After running bin/fs-migrate-payref</b>, apply the following changes to your database:
-  <table border><tr><th>PostgreSQL</th><th>MySQL, others</th></tr>
-<tr><td>
-<font size=-1><pre>
-CREATE TABLE cust_pay_temp (
-  paynum int primary key,
-  custnum int not null,
-  paid decimal(10,2) not null,
-  _date int null,
-  payby char(4) not null,
-  payinfo varchar(16) null,
-  paybatch varchar(80) null,
-  closed char(1) null
-);
-INSERT INTO cust_pay_temp SELECT paynum, custnum, paid, _date, payby, payinfo, paybatch, closed FROM cust_pay;
-DROP TABLE cust_pay;
-ALTER TABLE cust_pay_temp RENAME TO cust_pay;
-CREATE UNIQUE INDEX cust_pay1 ON cust_pay (paynum);
-CREATE TABLE cust_refund_temp (
-  refundnum int primary key,
-  custnum int not null,
-  _date int null,
-  refund decimal(10,2) not null,
-  otaker varchar(8) not null,
-  reason varchar(80) not null,
-  payby char(4) not null,
-  payinfo varchar(16) null,
-  paybatch varchar(80) null,
-  closed char(1) null
-);
-INSERT INTO cust_refund_temp SELECT refundnum, custnum, _date, refund, otaker, reason, payby, payinfo, '', closed from cust_refund;
-DROP TABLE cust_refund;
-ALTER TABLE cust_refund_temp RENAME TO cust_refund;
-CREATE UNIQUE INDEX cust_refund1 ON cust_refund (refundnum);
-</pre></font>
-</td><td>
-<font size=-1><pre>
-ALTER TABLE cust_pay DROP COLUMN invnum;
-ALTER TABLE cust_refund DROP COLUMN crednum;
-</pre></font>
-</td></tr></table>
-  <li><b>IMPORTANT: After applying the second set of database changes</b>, run <tt>bin/dbdef-create <i>username</i></tt> again.
-  <li><b>IMPORTANT</b>: run <tt>bin/create-history-tables <i>username</i></tt>
-  <li><b>IMPORTANT: After running bin/create-history-tables</b>, run <tt>bin/dbdef-create <i>username</i></tt> again.
-  <li>As the freeside UNIX user, run <tt>bin/populate-msgcat <i>username</i></tt
-> to populate the message catalog
-<!--  <li>set the <a href="../config/config.cgi#username_policy">user_policy configuration value</a> as appropriate for your site. -->
-  <li>set the <a href="../config/config.cgi#locale">locale configuration value</a> to en_US.
-  <li>the mxmachines, nsmachines, arecords and cnamerecords configuration values have been deprecated.  Set the <a href="../config/config.cgi#defaultrecords">defaultrecords configuration value</a> instead.
-  <li>Create the `/usr/local/etc/freeside/cache.<i>datasrc</i>' directory
-      (owned by the freeside user).
-  <li>freeside-queued was installed with the Perl modules.  Start it now and ensure that is run upon system startup.
-  <li>Set appropriate <a href="../browse/part_bill_event.cgi">invoice events</a> for your site.  At the very least, you'll want to set some invoice events "<i>After 0 days</i>": a <i>BILL</i> invoice event to print invoices, a <i>CARD</i> invoice event to batch or run cards real-time, and a <i>COMP</i> invoice event to "pay" complimentary customers.  If you were using the <i>-i</i> option to <a href="man/bin/freeside-bill.html">freeside-bill</a> it should be removed.
-  <li>Use <a href="man/bin/freeside-daily.html">freeside-daily</a> instead of <a href="man/bin/freeside-bill.html">freeside-bill</a>.
-  <li>If you would like Freeside to notify your customers when their credit
-  cards and other billing arrangements are about to expire, arrange for
-  <b>freeside-expiration-alerter</b> to be run daily by cron or similar
-  facility.  The message it sends can be configured from the
-  <u>Configuration</u> choice of the main menu as <u>alerter_template</u>.
-  <li>Export has been rewritten.  If you were using the icradiusmachines,
-  icradius_mysqldest, icradius_mysqlsource, or icradius_secrets files, add
-  an appropriate "sqlradius" export to all relevant Service Definitions
-  instead.  Use <a href="http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Replication">MySQL replication</a> or
-  point the "sqlradius" export directly at your external ICRADIUS or FreeRADIUS
-  database (or through an SSL-necrypting proxy...)
-</ul>
-</body>
diff --git a/httemplate/docs/upgrade9.html b/httemplate/docs/upgrade9.html
deleted file mode 100644 (file)
index 6a8fd96..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<head>
-  <title>Upgrading to 1.4.1</title>
-</head>
-<body>
-<h1>Upgrading to 1.4.1 from 1.4.0</h1>
-<ul>
-  <li>If migrating from less than 1.4.0, see these <a href="upgrade8.html">instructions</a> first.
-  <li>Back up your data and current Freeside installation.
-  <li>Run <code>make aspdocs</code> or <code>make masondocs</code>.
-  <li>Copy <code>aspdocs/</code> or <code>masondocs/</code> to your web server's document space.
-  <li>Run <code>make install-perl-modules</code>.
-  <li>Install <a href="http://search.cpan.org/search?dist=Net-SSH">Net::SSH</a> minimum version 0.07
-  <li>Apply the following changes to your database:
-<pre>
-INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 18, 'daytime', 'en_US', 'Day Phone' );
-INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 19, 'night', 'en_US', 'Night Phone' );
-</pre>
-  <li>Optionally, apply the following changes to your database (performance improvements):
-<pre>
-CREATE INDEX part_pkg1 ON part_pkg ( disabled );
-CREATE INDEX part_svc1 ON part_svc ( disabled );
-CREATE INDEX cust_bill2 ON cust_bill ( _date );
-</pre>
-  <li>If you want to use ACH (electronic checks), you will need to make changes to your database.  The easiest way to make these changes is to dump your database (with pg_dump), change the payinfo field in the cust_pay, cust_refund, h_cust_pay and h_cust_refund tables from varchar(16) to varchar(80), reload the database from the dump.
-  <li>If you will be doing bind exports you should make additional changes to your database. Follow the directions above to dump the database and change the reczone and recdata fields in the domain_record and h_domain_record tables from varchar(80) to varchar(255).
-  <li>If you made changes to your db schema from a dump as listed above run dbdef-create.
-  <li>Restart Apache and freeside-queued.
-</body>
diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi
deleted file mode 100755 (executable)
index 78dd0fa..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-<%
-
-my $error ='';
-my $pkgnum = '';
-if ( $cgi->param('error') ) {
-  $error = $cgi->param('error');
-  $pkgnum = $cgi->param('pkgnum');
-  if ( $error eq '_bill_areyousure' ) {
-    my $bill = $cgi->param('bill');
-    $error = "You are attempting to set the next bill date to $bill, which is
-              in the past.  This will charge the customer for the interval
-              from $bill until now.  Are you sure you want to do this? ".
-           '<INPUT TYPE="checkbox" NAME="bill_areyousure" VALUE="1">';
-  }
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/ or die "no pkgnum";
-  $pkgnum = $1;
-}
-
-#get package record
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-die "No package!" unless $cust_pkg;
-my $part_pkg = qsearchs('part_pkg',{'pkgpart'=>$cust_pkg->getfield('pkgpart')});
-
-if ( $error ) {
-  #$cust_pkg->$_(str2time($cgi->param($_)) foreach qw(setup bill);
-  $cust_pkg->setup(str2time($cgi->param('setup')));
-  $cust_pkg->bill(str2time($cgi->param('bill')));
-  $cust_pkg->last_bill(str2time($cgi->param('last_bill')));
-}
-
-#my $custnum = $cust_pkg->getfield('custnum');
-%>
-
-<%= header('Customer package - Edit dates') %>
-<%
-#, menubar(
-#  "View this customer (#$custnum)" => popurl(2). "view/cust_main.cgi?$custnum",
-#  'Main Menu' => popurl(2)
-#));
-%>
-
-<LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
-
-<%
-
-#print info
-my($susp,$cancel,$expire)=(
-  $cust_pkg->getfield('susp'),
-  $cust_pkg->getfield('cancel'),
-  $cust_pkg->getfield('expire'),
-);
-my($pkg,$comment)=($part_pkg->getfield('pkg'),$part_pkg->getfield('comment'));
-my($setup,$bill)=($cust_pkg->getfield('setup'),$cust_pkg->getfield('bill'));
-my $otaker = $cust_pkg->getfield('otaker');
-
-%>
-
-<FORM NAME="formname" ACTION="process/REAL_cust_pkg.cgi" METHOD="POST">
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%= $pkgnum %>">
-
-<% if ( $error ) { %>
-  <FONT SIZE="+1" COLOR="#ff0000">Error: <%= $error %></FONT>
-<% } %>
-
-<%
-
-#my $format = "%c %z (%Z)";
-my $format = "%m/%d/%Y %T %z (%Z)";
-
-#false laziness w/view/cust_main/packages.html
-#my( $billed_or_prepaid,
-my( $last_bill_or_renewed, $next_bill_or_prepaid_until );
-unless ( $part_pkg->is_prepaid ) {
-  #$billed_or_prepaid = 'billed';
-  $last_bill_or_renewed = 'Last bill';
-  $next_bill_or_prepaid_until = 'Next bill';
-} else {
-  #$billed_or_prepaid = 'prepaid';
-  $last_bill_or_renewed = 'Renewed';
-  $next_bill_or_prepaid_until = 'Prepaid until';
-}
-
-%>
-
-<%= ntable("#cccccc",2) %>
-
-  <TR>
-    <TD ALIGN="right">Package number</TD>
-    <TD BGCOLOR="#ffffff"><%= $pkgnum %></TD>
-  </TR>
-
-  <TR>
-    <TD ALIGN="right">Package</TD>
-    <TD BGCOLOR="#ffffff"><%= $pkg %></TD>
-  </TR>
-
-  <TR>
-    <TD ALIGN="right">Comment</TD>
-    <TD BGCOLOR="#ffffff"><%= $comment %></TD>
-  </TR>
-
-  <TR>
-    <TD ALIGN="right">Order taker</TD>
-    <TD BGCOLOR="#ffffff"><%= $otaker %></TD>
-  </TR>
-
-  <TR>
-    <TD ALIGN="right">Setup date</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="setup" SIZE=32 ID="setup_text" VALUE="<%= ( $setup ? time2str($format, $setup) : "" ) %>">
-      <IMG SRC="../images/calendar.png" ID="setup_button" STYLE="cursor: pointer" TITLE="Select date">
-    </TD>
-  </TR>
-
-  <TR>
-    <TD ALIGN="right"><%= $last_bill_or_renewed %> date</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="last_bill" SIZE=32 ID="last_bill_text" VALUE="<%= ( $cust_pkg->last_bill ? time2str($format, $cust_pkg->last_bill) : "" ) %>">
-      <IMG SRC="../images/calendar.png" ID="last_bill_button" STYLE="cursor: pointer" TITLE="Select date">
-    </TD>
-  </TR>
-
-  <TR>
-    <TD ALIGN="right"><%= $next_bill_or_prepaid_until %> date</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="bill" SIZE=32 ID="bill_text" VALUE="<%= ( $bill ? time2str($format, $bill) : "" ) %>">
-      <IMG SRC="../images/calendar.png" ID="bill_button" STYLE="cursor: pointer" TITLE="Select date">
-    </TD>
-  </TR>
-
-  <% if ( $susp ) { %>
-    <TR>
-      <TD ALIGN="right">Suspension date</TD>
-      <TD BGCOLOR="#ffffff"><%= time2str($format, $susp) %></TD>
-    </TR>
-  <% } %>
-
-  <TR>
-    <TD ALIGN="right">Expiration date</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="expire" SIZE=32 ID="expire_text" VALUE="<%= ( $expire ? time2str($format, $expire) : "" ) %>">
-      <IMG SRC="../images/calendar.png" ID="expire_button" STYLE="cursor: pointer" TITLE="Select date">
-      <BR><FONT SIZE=-1>(will <b>cancel</b> this package when the date is reached)</FONT>
-    </TD>
-  </TR>
-
-  <% if ( $cancel ) { %>
-    <TR>
-      <TD ALIGN="right">Cancellation date</TD>
-      <TD BGCOLOR="#ffffff"><%= time2str($format, $cancel) %></TD>
-    </TR>
-  <% } %>
-
-</TABLE>
-
-<SCRIPT TYPE="text/javascript">
-<%
-  my @cal = qw( setup bill expire );
-  push @cal, 'last_bill'
-    if $cust_pkg->dbdef_table->column('last_bill');
-  foreach my $cal (@cal) {
-%>
-  Calendar.setup({
-    inputField: "<%= $cal %>_text",
-    ifFormat:   "%m/%d/%Y",
-    button:     "<%= $cal %>_button",
-    align:      "BR"
-  });
-<% } %>
-</SCRIPT>
-<BR><INPUT TYPE="submit" VALUE="Apply Changes">
-</FORM>
-</BODY>
-</HTML>
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
deleted file mode 100755 (executable)
index cb64ad8..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-<%
-
-my $agent;
-if ( $cgi->param('error') ) {
-  $agent = new FS::agent ( {
-    map { $_, scalar($cgi->param($_)) } fields('agent')
-  } );
-} elsif ( $cgi->keywords ) {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $agent = qsearchs( 'agent', { 'agentnum' => $1 } );
-} else { #adding
-  $agent = new FS::agent {};
-}
-my $action = $agent->agentnum ? 'Edit' : 'Add';
-my $hashref = $agent->hashref;
-
-my $conf = new FS::Conf;
-
-%>
-
-<%= header("$action Agent", menubar(
-  'Main Menu' => $p,
-  'View all agents' => $p. 'browse/agent.cgi',
-)) %>
-
-<% if ( $cgi->param('error') ) { %>
-<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-<% } %>
-
-<FORM ACTION="<%=popurl(1)%>process/agent.cgi" METHOD=POST>
-<INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $hashref->{agentnum} %>">
-Agent #<%= $hashref->{agentnum} ? $hashref->{agentnum} : "(NEW)" %>
-
-<%= &ntable("#cccccc", 2, '') %>
-
-<TR>
-  <TH ALIGN="right">Agent</TH>
-  <TD><INPUT TYPE="text" NAME="agent" SIZE=32 VALUE="<%= $hashref->{agent} %>"></TD>
-</TR>
-
-  <TR>
-    <TH ALIGN="right">Agent type</TH>
-    <TD><SELECT NAME="typenum" SIZE=1>
-  
-  <% foreach my $agent_type (qsearch('agent_type',{})) { %>
-    <OPTION VALUE="<%= $agent_type->typenum %>"<%= ( $hashref->{typenum} && ( $hashref->{typenum} == $agent_type->typenum ) ) ? ' SELECTED' : '' %>>
-    <%= $agent_type->getfield('typenum') %>: <%= $agent_type->getfield('atype') %>
-  <% } %>
-  
-  </SELECT></TD>
-  </TR>
-  
-  <TR>
-    <TD ALIGN="right">Disable</TD>
-    <TD><INPUT TYPE="checkbox" NAME="disabled" VALUE="Y"<%= $hashref->{disabled} eq 'Y' ? ' CHECKED' : '' %>></TD>
-  </TR>
-  
-  <TR>
-    <TD ALIGN="right"><!--Frequency--></TD>
-    <TD><INPUT TYPE="hidden" NAME="freq" VALUE="<%= $hashref->{freq} %>"></TD>
-  </TR>
-  
-  <TR>
-    <TD ALIGN="right"><!--Program--></TD>
-    <TD><INPUT TYPE="hidden" NAME="prog" VALUE="<%= $hashref->{prog} %>"></TD>
-  </TR>
-
-  <% if ( $conf->config('ticket_system') ) {
-    my $default_queueid = $conf->config('ticket_system-default_queueid');
-    my $default_queue = FS::TicketSystem->queue($default_queueid);
-    $default_queue = "(default) $default_queueid: $default_queue"
-      if $default_queueid;
-    my %queues = FS::TicketSystem->queues();
-    my @queueids = sort { $a <=> $b } keys %queues;
-  %>
-    <TR>
-      <TD ALIGN="right">Ticketing queue</TD>
-      <TD>
-        <SELECT NAME="ticketing_queueid">
-          <OPTION VALUE=""><%= $default_queue %>
-          <% foreach my $queueid ( @queueids ) { %>
-            <OPTION VALUE="<%= $queueid %>" <%= $agent->ticketing_queueid == $queueid ? ' SELECTED' : '' %>><%= $queueid %>: <%= $queues{$queueid} %>
-          <% } %>
-        </SELECT>
-      </TD>
-    </TR>
-  <% } %>
-  
-  <TR>
-    <TD ALIGN="right">Agent interface username</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="username" VALUE="<%= $hashref->{username} %>">
-    </TD>
-  </TR>
-  
-  <TR>
-    <TD ALIGN="right">Agent interface password</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="_password" VALUE="<%= $hashref->{_password} %>">
-    </TD>
-  </TR>
-
-</TABLE>
-
-<BR><INPUT TYPE="submit" VALUE="<%= $hashref->{agentnum} ? "Apply changes" : "Add agent" %>">
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/edit/agent_payment_gateway.html b/httemplate/edit/agent_payment_gateway.html
deleted file mode 100644 (file)
index 61d29e0..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<%
-
-$cgi->param('agentnum') =~ /(\d+)$/ or die "illegal agentnum";
-my $agent = qsearchs('agent', { 'agentnum' => $1 } );
-die "agentnum $1 not found" unless $agent;
-
-#my @agent_payment_gateway;
-if ( $cgi->param('error') ) {
-}
-
-my $action = 'Add';
-
-%>
-
-<%= header("$action payment gateway override for ". $agent->agent,  menubar(
-  'Main Menu' => $p,
-  #'View all payment gateways' => $p. 'browse/payment_gateway.html',
-  'View all agents' => $p. 'browse/agent.html',
-)) %>
-
-<% if ( $cgi->param('error') ) { %>
-<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-<% } %>
-
-<FORM ACTION="<%=popurl(1)%>process/agent_payment_gateway.html" METHOD=POST>
-<INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agent->agentnum %>">
-
-Use gateway <SELECT NAME="gatewaynum">
-<% foreach my $payment_gateway (
-      qsearch('payment_gateway', { 'disabled' => '' } )
-    ) {
-%>
-  <OPTION VALUE="<%= $payment_gateway->gatewaynum %>"><%= $payment_gateway->gateway_module %> (<%= $payment_gateway->gateway_username %>)
-<% } %>
-</SELECT>
-<BR><BR>
-
-for <SELECT NAME="cardtype" MULTIPLE>
-<% foreach my $cardtype (
-  "",
-  "VISA card",
-  "MasterCard",
-  "Discover card",
-  "American Express card",
-  "Diner's Club/Carte Blanche",
-  "enRoute",
-  "JCB",
-  "BankCard",
-  "Switch",
-  "Solo",
-  'ACH',
-) { %>
-  <OPTION VALUE="<%= $cardtype %>"><%= $cardtype || '(Default fallback)' %>
-<% } %>
-</SELECT>
-<BR><BR>
-
-(optional) when invoice contains only items of taxclass <INPUT TYPE="text" NAME="taxclass">
-<BR><BR>
-
-<INPUT TYPE="submit" VALUE="Add gateway override">
-</FORM>
-</BODY>
-</HTML>
diff --git a/httemplate/edit/agent_type.cgi b/httemplate/edit/agent_type.cgi
deleted file mode 100755 (executable)
index 5addbbd..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<%
-
-my($agent_type);
-if ( $cgi->param('error') ) {
-  $agent_type = new FS::agent_type ( {
-    map { $_, scalar($cgi->param($_)) } fields('agent')
-  } );
-} elsif ( $cgi->keywords ) { #editing
-  my( $query ) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $agent_type=qsearchs('agent_type',{'typenum'=>$1});
-} else { #adding
-  $agent_type = new FS::agent_type {};
-}
-my $action = $agent_type->typenum ? 'Edit' : 'Add';
-
-%>
-
-<%= header("$action Agent Type", menubar(
-  'Main Menu' => "$p",
-  'View all agent types' => "${p}browse/agent_type.cgi",
-))
-%>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-<% } %>
-
-<FORM ACTION="<%= popurl(1) %>process/agent_type.cgi" METHOD=POST>
-<INPUT TYPE="hidden" NAME="typenum" VALUE="<%= $agent_type->typenum %>">
-Agent Type #<%= $agent_type->typenum || "(NEW)" %>
-<BR><BR>
-
-Agent Type
-<INPUT TYPE="text" NAME="atype" SIZE=32 VALUE="<%= $agent_type->atype %>">
-<BR><BR>
-
-Select which packages agents of this type may sell to customers<BR>
-
-<% foreach my $part_pkg (
-     qsearch({ 'table'     => 'part_pkg',
-               'hashref'   => { 'disabled' => '' },
-               'select'    => 'part_pkg.*',
-               'addl_from' => 'LEFT JOIN type_pkgs USING ( pkgpart )',
-               'extra_sql' => ( $agent_type->typenum
-                                  ? 'OR typenum = '. $agent_type->typenum
-                                  : ''
-                              ),
-            })
-   ) {
-%>
-
-  <BR>
-  <INPUT TYPE="checkbox" NAME="pkgpart<%= $part_pkg->pkgpart %>" <%=
-        qsearchs('type_pkgs',{
-          'typenum' => $agent_type->typenum,
-          'pkgpart' => $part_pkg->pkgpart,
-        })
-          ? 'CHECKED '
-          : ''
-  %> VALUE="ON">
-
-  <A HREF="<%= $p %>edit/part_pkg.cgi?<%= $part_pkg->pkgpart %>"><%= $part_pkg->pkgpart %>: 
-  <%= $part_pkg->pkg %> - <%= $part_pkg->comment %></A>
-  <%= $part_pkg->disabled =~ /^Y/i ? ' (DISABLED)' : '' %>
-
-<% } %>
-
-<BR><BR>
-
-<INPUT TYPE="submit" VALUE="<%= $agent_type->typenum ? "Apply changes" : "Add agent type" %>">
-
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/edit/bulk-cust_svc.html b/httemplate/edit/bulk-cust_svc.html
deleted file mode 100644 (file)
index 332b5b6..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<%= header( 'Bulk customer service change',
-            menubar(
-                     'Main Menu' => $p,
-                   ),
-          )
-%>
-
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_iframe.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_draggable.js"></SCRIPT>
-
-<%= include('/elements/progress-init.html',
-              'OneTrueForm',
-              [qw( old_svcpart new_svcpart pkgpart )],
-              'process/bulk-cust_svc.cgi',
-              $p.'browse/part_svc.cgi',
-           )
-%>
-
-<FORM NAME="OneTrueForm">
-
-<%
-  $cgi->param('svcpart') =~ /^(\d+)$/
-    or die "illegal svcpart: ". $cgi->param('svcpart');
-
-  my $old_svcpart = $1;
-  my $src_part_svc = qsearchs('part_svc', { 'svcpart' => $old_svcpart } )
-    or die "unknown svcpart: $old_svcpart";
-%>
-
-<INPUT NAME="old_svcpart" TYPE="hidden" VALUE="<%= $old_svcpart %>">
-Change <!-- customer
-<B><%= $src_part_svc->svcpart %>: <%= $src_part_svc->svc %></B> services
-<BR>
--->
-
-<SELECT NAME="pkgpart">
-
-<% my $num_cust_svc = $src_part_svc->num_cust_svc; %>
-<% if ( $num_cust_svc > 1 ) { %>
-  <OPTION VALUE="">all <%= $num_cust_svc %> <%= $src_part_svc->svc %> services
-<% } else { %>
-  <OPTION VALUE="">the <%= $num_cust_svc %> <%= $src_part_svc->svc %> service
-<% } %>
-
-<%
-  my $num_unlinked = $src_part_svc->num_cust_svc(0);
-  if ( $num_unlinked ) {
-%>
-  <OPTION VALUE="0">the <%= $num_unlinked %> unlinked <%= $src_part_svc->svc %> services
-
-<% } %>
-
-<% foreach my $schwartz (
-     grep { $_->[1] }
-     map  { [ $_, $src_part_svc->num_cust_svc($_->pkgpart) ] }
-          qsearch('part_pkg', {} )
-   ) {
-     my( $part_pkg, $num_cust_svc ) = @$schwartz;
-%>
-  <OPTION VALUE="<%= $part_pkg->pkgpart %>">the <%= $num_cust_svc %>
-    <%= $src_part_svc->svc %> service<%= $num_cust_svc > 1 ? 's in' : ' in a' %>
-    <%= $part_pkg->pkg %> package<%= $num_cust_svc > 1 ? 's' : '' %>
-<% } %>
-</SELECT>
-<BR>
-
-to new service definition
-<SELECT NAME="new_svcpart">
-<% foreach my $dest_part_svc (
-     grep {    $_->svcpart != $old_svcpart
-            && $_->svcdb   eq $src_part_svc->svcdb
-          }
-          qsearch('part_svc', { 'disabled' => '' } )
-   ) {
-%>
-  <OPTION VALUE="<%= $dest_part_svc->svcpart %>"><%= $dest_part_svc->svcpart %>: <%= $dest_part_svc->svc %>
-
-<% } %>
-</SELECT>
-<BR>
-
-<BR>
-
-<SCRIPT TYPE="text/javascript">
-var confirm_change = '<P ALIGN="center"><B>Bulk customer service change - Are you sure?</B><BR><P ALIGN="CENTER" <INPUT TYPE="button" VALUE="Yes, make changes" onClick="process();">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="BUTTON" VALUE="Cancel" onClick="cClick()">';
-</SCRIPT>
-
-<INPUT TYPE="button" VALUE="Bulk change customer services" onClick="overlib(confirm_change, CAPTION, 'Confirm bulk customer service change', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', MIDX, 0, MIDY, 0, DRAGGABLE, WIDTH, 576, HEIGHT, 128, TEXTSIZE, 3, BGCOLOR, '#ff0000', CGCOLOR, '#ff0000' );">
-
-</FORM>
-
-</BODY>
-</HTML>
-
-
-
diff --git a/httemplate/edit/cust_bill_pay.cgi b/httemplate/edit/cust_bill_pay.cgi
deleted file mode 100755 (executable)
index 24bce30..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($paynum, $amount, $invnum);
-if ( $cgi->param('error') ) {
-  $paynum = $cgi->param('paynum');
-  $amount = $cgi->param('amount');
-  $invnum = $cgi->param('invnum');
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $paynum = $1;
-  $amount = '';
-  $invnum = '';
-}
-
-my $otaker = getotaker;
-
-my $p1 = popurl(1);
-
-print header("Apply Payment", '');
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT><BR><BR>"
-  if $cgi->param('error');
-print <<END;
-    <FORM ACTION="${p1}process/cust_bill_pay.cgi" METHOD=POST>
-END
-
-my $cust_pay = qsearchs('cust_pay', { 'paynum' => $paynum } );
-die "payment $paynum not found!" unless $cust_pay;
-
-my $unapplied = $cust_pay->unapplied;
-
-print "Payment # <B>$paynum</B>".
-      qq!<INPUT TYPE="hidden" NAME="paynum" VALUE="$paynum">!.
-      '<BR>Date: <B>'. time2str("%D", $cust_pay->_date). '</B>'.
-      '<BR>Amount: $<B>'. $cust_pay->paid. '</B>'.
-      "<BR>Unapplied amount: \$<B>$unapplied</B>"
-      ;
-
-my @cust_bill = grep $_->owed != 0,
-                qsearch('cust_bill', { 'custnum' => $cust_pay->custnum } );
-
-print <<END;
-<SCRIPT>
-function changed(what) {
-  cust_bill = what.options[what.selectedIndex].value;
-END
-
-foreach my $cust_bill ( @cust_bill ) {
-  my $invnum = $cust_bill->invnum;
-  my $changeto = $cust_bill->owed < $unapplied
-                   ? $cust_bill->owed 
-                   : $unapplied;
-  print <<END;
-  if ( cust_bill == $invnum ) {
-    what.form.amount.value = "$changeto";
-  }
-END
-}
-
-print <<END;
-  if ( cust_bill == "Refund" ) {
-    what.form.amount.value = "$unapplied";
-  }
-}
-</SCRIPT>
-END
-
-print qq!<BR>Invoice #<SELECT NAME="invnum" SIZE=1 onChange="changed(this)">!,
-      '<OPTION VALUE="">';
-foreach my $cust_bill ( @cust_bill ) {
-  print '<OPTION'. ( $cust_bill->invnum eq $invnum ? ' SELECTED' : '' ).
-        ' VALUE="'. $cust_bill->invnum. '">'. $cust_bill->invnum.
-        ' -  '. time2str("%D",$cust_bill->_date).
-        ' - $'. $cust_bill->owed;
-}
-print qq!<OPTION VALUE="Refund">Refund!;
-print "</SELECT>";
-
-print qq!<BR>Amount \$<INPUT TYPE="text" NAME="amount" VALUE="$amount" SIZE=8 MAXLENGTH=8>!;
-
-print <<END;
-<BR>
-<INPUT TYPE="submit" VALUE="Apply">
-END
-
-print <<END;
-
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/cust_credit.cgi b/httemplate/edit/cust_credit.cgi
deleted file mode 100755 (executable)
index aae0df2..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-my($custnum, $amount, $reason);
-if ( $cgi->param('error') ) {
-  #$cust_credit = new FS::cust_credit ( {
-  #  map { $_, scalar($cgi->param($_)) } fields('cust_credit')
-  #} );
-  $custnum = $cgi->param('custnum');
-  $amount = $cgi->param('amount');
-  #$refund = $cgi->param('refund');
-  $reason = $cgi->param('reason');
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $custnum = $1;
-  $amount = '';
-  #$refund = 'yes';
-  $reason = '';
-}
-my $_date = time;
-
-my $otaker = getotaker;
-
-my $p1 = popurl(1);
-
-print header("Post Credit", '');
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-print <<END, small_custview($custnum, $conf->config('countrydefault'));
-    <FORM ACTION="${p1}process/cust_credit.cgi" METHOD=POST>
-    <INPUT TYPE="hidden" NAME="crednum" VALUE="">
-    <INPUT TYPE="hidden" NAME="custnum" VALUE="$custnum">
-    <INPUT TYPE="hidden" NAME="paybatch" VALUE="">
-    <INPUT TYPE="hidden" NAME="_date" VALUE="$_date">
-    <INPUT TYPE="hidden" NAME="credited" VALUE="">
-    <INPUT TYPE="hidden" NAME="otaker" VALUE="$otaker">
-END
-
-print '<BR><BR>Credit'. ntable("#cccccc", 2).
-      '<TR><TD ALIGN="right">Date</TD><TD BGCOLOR="#ffffff">'.
-      time2str("%D",$_date).  '</TD></TR>';
-
-print qq!<TR><TD ALIGN="right">Amount</TD><TD BGCOLOR="#ffffff">\$<INPUT TYPE="text" NAME="amount" VALUE="$amount" SIZE=8 MAXLENGTH=8></TD></TR>!;
-
-#print qq! <INPUT TYPE="checkbox" NAME="refund" VALUE="$refund">Also post refund!;
-
-print qq!<TR><TD ALIGN="right">Reason</TD><TD BGCOLOR="#ffffff"><INPUT TYPE="text" NAME="reason" VALUE="$reason"></TD></TR>!;
-
-print qq!<TR><TD ALIGN="right">Auto-apply<BR>to invoices</TD><TD><SELECT NAME="apply"><OPTION VALUE="yes" SELECTED>yes<OPTION>no</SELECT></TD>!;
-
-print <<END;
-</TABLE>
-<BR>
-<INPUT TYPE="submit" VALUE="Post credit">
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/cust_credit_bill.cgi b/httemplate/edit/cust_credit_bill.cgi
deleted file mode 100755 (executable)
index 1a97e13..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($crednum, $amount, $invnum);
-if ( $cgi->param('error') ) {
-  #$cust_credit_bill = new FS::cust_credit_bill ( {
-  #  map { $_, scalar($cgi->param($_)) } fields('cust_credit_bill')
-  #} );
-  $crednum = $cgi->param('crednum');
-  $amount = $cgi->param('amount');
-  #$refund = $cgi->param('refund');
-  $invnum = $cgi->param('invnum');
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $crednum = $1;
-  $amount = '';
-  #$refund = 'yes';
-  $invnum = '';
-}
-
-my $otaker = getotaker;
-
-my $p1 = popurl(1);
-
-print header("Apply Credit", '');
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT><BR><BR>"
-  if $cgi->param('error');
-print <<END;
-    <FORM ACTION="${p1}process/cust_credit_bill.cgi" METHOD=POST>
-END
-
-my $cust_credit = qsearchs('cust_credit', { 'crednum' => $crednum } );
-die "credit $crednum not found!" unless $cust_credit;
-
-my $credited = $cust_credit->credited;
-
-print "Credit # <B>$crednum</B>".
-      qq!<INPUT TYPE="hidden" NAME="crednum" VALUE="$crednum">!.
-      '<BR>Date: <B>'. time2str("%D", $cust_credit->_date). '</B>'.
-      '<BR>Amount: $<B>'. $cust_credit->amount. '</B>'.
-      "<BR>Unapplied amount: \$<B>$credited</B>".
-      '<BR>Reason: <B>'. $cust_credit->reason. '</B>'
-      ;
-
-my @cust_bill = grep $_->owed != 0,
-                qsearch('cust_bill', { 'custnum' => $cust_credit->custnum } );
-
-print <<END;
-<SCRIPT>
-function changed(what) {
-  cust_bill = what.options[what.selectedIndex].value;
-END
-
-foreach my $cust_bill ( @cust_bill ) {
-  my $invnum = $cust_bill->invnum;
-  my $changeto = $cust_bill->owed < $cust_credit->credited
-                   ? $cust_bill->owed 
-                   : $cust_credit->credited;
-  print <<END;
-  if ( cust_bill == $invnum ) {
-    what.form.amount.value = "$changeto";
-  }
-END
-}
-
-print <<END;
-  if ( cust_bill == "Refund" ) {
-    what.form.amount.value = "$credited";
-  }
-}
-</SCRIPT>
-END
-
-print qq!<BR>Invoice #<SELECT NAME="invnum" SIZE=1 onChange="changed(this)">!,
-      '<OPTION VALUE="">';
-foreach my $cust_bill ( @cust_bill ) {
-  print '<OPTION'. ( $cust_bill->invnum eq $invnum ? ' SELECTED' : '' ).
-        ' VALUE="'. $cust_bill->invnum. '">'. $cust_bill->invnum.
-        ' -  '. time2str("%D",$cust_bill->_date).
-        ' - $'. $cust_bill->owed;
-}
-print qq!<OPTION VALUE="Refund">Refund!;
-print "</SELECT>";
-
-print qq!<BR>Amount \$<INPUT TYPE="text" NAME="amount" VALUE="$amount" SIZE=8 MAXLENGTH=8>!;
-
-print <<END;
-<BR>
-<INPUT TYPE="submit" VALUE="Apply">
-END
-
-print <<END;
-
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
deleted file mode 100755 (executable)
index 144d540..0000000
+++ /dev/null
@@ -1,439 +0,0 @@
-<%
-
-  #for misplaced logic below
-  #use FS::part_pkg;
-
-  #for false laziness below (now more properly lazy)
-  #use FS::svc_acct_pop;
-
-  #for (other) false laziness below
-  #use FS::agent;
-  #use FS::type_pkgs;
-
-my $conf = new FS::Conf;
-
-#get record
-
-my $error = '';
-my($custnum, $username, $password, $popnum, $cust_main, $saved_pkgpart);
-my(@invoicing_list);
-my $same = '';
-if ( $cgi->param('error') ) {
-  $error = $cgi->param('error');
-  $cust_main = new FS::cust_main ( {
-    map { $_, scalar($cgi->param($_)) } fields('cust_main')
-  } );
-  $custnum = $cust_main->custnum;
-  $saved_pkgpart = $cgi->param('pkgpart_svcpart') || '';
-  if ( $saved_pkgpart =~ /^(\d+)_/ ) {
-    $saved_pkgpart = $1;
-  } else {
-    $saved_pkgpart = '';
-  }
-  $username = $cgi->param('username');
-  $password = $cgi->param('_password');
-  $popnum = $cgi->param('popnum');
-  @invoicing_list = split( /\s*,\s*/, $cgi->param('invoicing_list') );
-  $same = $cgi->param('same');
-  $cust_main->setfield('paid' => $cgi->param('paid')) if $cgi->param('paid');
-} elsif ( $cgi->keywords ) { #editing
-  my( $query ) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $custnum=$1;
-  $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } );
-  if ( $cust_main->dbdef_table->column('paycvv')
-       && length($cust_main->paycvv)             ) {
-    my $paycvv = $cust_main->paycvv;
-    $paycvv =~ s/./*/g;
-    $cust_main->paycvv($paycvv);
-  }
-  $saved_pkgpart = 0;
-  $username = '';
-  $password = '';
-  $popnum = 0;
-  @invoicing_list = $cust_main->invoicing_list;
-} else {
-  $custnum='';
-  $cust_main = new FS::cust_main ( {} );
-  $cust_main->otaker( &getotaker );
-  $cust_main->referral_custnum( $cgi->param('referral_custnum') );
-  $saved_pkgpart = 0;
-  $username = '';
-  $password = '';
-  $popnum = 0;
-  @invoicing_list = ();
-}
-$cgi->delete_all();
-my $action = $custnum ? 'Edit' : 'Add';
-
-%>
-
-<!-- top -->
-
-<%= header("Customer $action", '', ' onUnload="myclose()"') %>
-
-<% if ( $error ) { %>
-<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $error %></FONT>
-<% } %>
-
-<FORM NAME="topform" STYLE="margin-bottom: 0">
-<INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $custnum %>">
-Customer # <%= $custnum ? "<B>$custnum</B>" : " (NEW)" %>
-
-<!-- agent -->
-
-<%
-
-my $r = qq!<font color="#ff0000">*</font>&nbsp;!;
-
-my %agent_search = dbdef->table('agent')->column('disabled')
-                     ? ( 'disabled' => '' ) : ();
-my @agents = qsearch( 'agent', \%agent_search );
-#die "No agents created!" unless @agents;
-eidiot "You have not created any agents (or all agents are disabled).  You must create at least one agent before adding a customer.  Go to ". popurl(2). "browse/agent.cgi and create one or more agents." unless @agents;
-my $agentnum = $cust_main->agentnum || $agents[0]->agentnum; #default to first
-
-%>
-
-<% if ( scalar(@agents) == 1 ) { %>
-  <INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agentnum %>">
-<% } else { %>
-  <BR><BR><%=$r%>Agent <SELECT NAME="agentnum" SIZE="1">
-  <% foreach my $agent (sort { $a->agent cmp $b->agent; } @agents) { %>
-    <OPTION VALUE="<%= $agent->agentnum %>"<%= " SELECTED"x($agent->agentnum==$agentnum) %>><%= $agent->agent %>
-  <% } %>
-  </SELECT>
-<% } %>
-
-<!-- referral (advertising source) -->
-
-<%
-my $refnum = $cust_main->refnum || $conf->config('referraldefault') || 0;
-if ( $custnum && ! $conf->exists('editreferrals') ) {
-%>
-
-  <INPUT TYPE="hidden" NAME="refnum" VALUE="<%= $refnum %>">
-
-<%
- } else {
-
-   my(@referrals) = qsearch('part_referral',{});
-   if ( scalar(@referrals) == 0 ) {
-     eidiot "You have not created any advertising sources.  You must create at least one advertising source before adding a customer.  Go to ". popurl(2). "browse/part_referral.cgi and create one or more advertising sources.";
-   } elsif ( scalar(@referrals) == 1 ) {
-     $refnum ||= $referrals[0]->refnum;
-%>
-
-     <INPUT TYPE="hidden" NAME="refnum" VALUE="<%= $refnum %>">
-
-<% } else { %>
-
-     <BR><BR><%=$r%>Advertising source 
-     <SELECT NAME="refnum" SIZE="1">
-       <%= $refnum ? '' : '<OPTION VALUE="">' %>
-       <% foreach my $referral (sort { $a->refnum <=> $b->refnum } @referrals) { %>
-         <OPTION VALUE="<%= $referral->refnum %>" <%= $referral->refnum == $refnum ? 'SELECTED' : '' %>><%= $referral->refnum %>: <%= $referral->referral %>
-       <% } %>
-     </SELECT>
-<% } %>
-
-<% } %>
-
-<!-- referring customer -->
-
-<%
-my $referring_cust_main = '';
-if ( $cust_main->referral_custnum
-     and $referring_cust_main =
-           qsearchs('cust_main', { custnum => $cust_main->referral_custnum } )
-) {
-%>
-
-  <BR><BR>Referring Customer: 
-  <A HREF="<%= popurl(1) %>/cust_main.cgi?<%= $cust_main->referral_custnum %>"><%= $cust_main->referral_custnum %>: <%= $referring_cust_main->name %></A>
-  <INPUT TYPE="hidden" NAME="referral_custnum" VALUE="<%= $cust_main->referral_custnum %>">
-
-<% } elsif ( ! $conf->exists('disable_customer_referrals') ) { %>
-
-  <BR><BR>Referring customer number: 
-  <INPUT TYPE="text" NAME="referral_custnum" VALUE="">
-
-<% } else { %>
-
-  <INPUT TYPE="hidden" NAME="referral_custnum" VALUE="">
-
-<% } %>
-
-<!-- contact info -->
-
-<BR><BR>
-Billing address
-<%= include('cust_main/contact.html', $cust_main, '', 'bill_changed(this)', '' ) %>
-
-<!-- service address -->
-
-<% if ( defined $cust_main->dbdef_table->column('ship_last') ) { %>
-
-<SCRIPT>
-function bill_changed(what) {
-  if ( what.form.same.checked ) {
-<% for (qw( last first company address1 address2 city zip daytime night fax )) { %>
-    what.form.ship_<%=$_%>.value = what.form.<%=$_%>.value;
-<% } %>
-
-    what.form.ship_country.selectedIndex = what.form.country.selectedIndex;
-    function fix_ship_state() {
-      what.form.ship_state.selectedIndex = what.form.state.selectedIndex;
-    }
-    ship_country_changed(what.form.ship_country, fix_ship_state );
-
-    function fix_ship_county() {
-      what.form.ship_county.selectedIndex = what.form.county.selectedIndex;
-    }
-    ship_state_changed(what.form.ship_state, fix_ship_county );
-  }
-}
-function samechanged(what) {
-  if ( what.checked ) {
-    bill_changed(what);
-<% for (qw( last first company address1 address2 city county state zip country daytime night fax )) { %>
-    what.form.ship_<%=$_%>.disabled = true;
-    what.form.ship_<%=$_%>.style.backgroundColor = '#dddddd';
-<% } %>
-  } else {
-<% for (qw( last first company address1 address2 city county state zip country daytime night fax )) { %>
-    what.form.ship_<%=$_%>.disabled = false;
-    what.form.ship_<%=$_%>.style.backgroundColor = '#ffffff';
-<% } %>
-  }
-}
-</SCRIPT>
-
-<%
-  my $checked = '';
-  my $disabled = '';
-  my $disabledselect = '';
-  unless ( $cust_main->ship_last && $same ne 'Y' ) {
-    $checked = 'CHECKED';
-    $disabled = 'DISABLED style="background-color: #dddddd"';
-    foreach (
-      qw( last first company address1 address2 city county state zip country
-          daytime night fax )
-    ) {
-      $cust_main->set("ship_$_", $cust_main->get($_) );
-    }
-  }
-%>
-
-<BR>
-Service address 
-(<INPUT TYPE="checkbox" NAME="same" VALUE="Y" onClick="samechanged(this)" <%=$checked%>>same as billing address)
-<%= include('cust_main/contact.html', $cust_main, 'ship_', '', $disabled ) %>
-
-<% } %>
-
-<!-- billing info -->
-
-<%= include( 'cust_main/billing.html', $cust_main,
-               'invoicing_list' => \@invoicing_list,
-           )
-%>
-
-<SCRIPT>
-function bottomfixup(what) {
-
-  var topvars = new Array(
-    'custnum', 'agentnum', 'refnum', 'referral_custnum',
-
-    'last', 'first', 'ss', 'company',
-    'address1', 'address2', 'city',
-    'county', 'state', 'zip', 'country',
-    'daytime', 'night', 'fax',
-
-    'same',
-
-    'ship_last', 'ship_first', 'ship_company',
-    'ship_address1', 'ship_address2', 'ship_city',
-    'ship_county', 'ship_state', 'ship_zip', 'ship_country',
-    'ship_daytime','ship_night', 'ship_fax',
-
-    'select' // XXX key
-  );
-
-  var layervars = new Array(
-    'payauto',
-    'payinfo', 'payinfo1', 'payinfo2',
-    'payname', 'exp_month', 'exp_year', 'paycvv',
-    'paystart_month', 'paystart_year', 'payissue',
-    'payip',
-    'paid'
-  );
-
-  var billing_bottomvars = new Array(
-    'tax',
-    'invoicing_list', 'invoicing_list_POST', 'invoicing_list_FAX'
-  );
-
-  for ( f=0; f < topvars.length; f++ ) {
-    var field = topvars[f];
-    copyelement( document.topform.elements[field],
-                 document.bottomform.elements[field]
-               );
-  }
-
-  var layerform = document.topform.select.options[document.topform.select.selectedIndex].value;
-  for ( f=0; f < layervars.length; f++ ) {
-    var field = layervars[f];
-    copyelement( document.forms[layerform].elements[field],
-                 document.bottomform.elements[field]
-               );
-  }
-
-  for ( f=0; f < billing_bottomvars.length; f++ ) {
-    var field = billing_bottomvars[f];
-    copyelement( document.billing_bottomform.elements[field],
-                 document.bottomform.elements[field]
-               );
-  }
-
-}
-
-function copyelement(from, to) {
-  if ( from == undefined ) {
-    to.value = '';
-  } else if ( from.type == 'select-one' ) {
-    to.value = from.options[from.selectedIndex].value;
-    //alert(from + " (" + from.type + "): " + to.name + " => (" + from.selectedIndex + ") " + to.value);
-  } else if ( from.type == 'checkbox' ) {
-    if ( from.checked ) {
-      to.value = from.value;
-    } else {
-      to.value = '';
-    }
-  } else {
-    if ( from.value == undefined ) {
-      to.value = '';
-    } else {
-      to.value = from.value;
-    }
-  }
-  //alert(from + " (" + from.type + "): " + to.name + " => " + to.value);
-}
-
-</SCRIPT>
-
-<FORM ACTION="<%= popurl(1) %>process/cust_main.cgi" METHOD=POST NAME="bottomform" onSubmit="document.bottomform.submit.disabled=true; bottomfixup(this.form);" STYLE="margin-top: 0; margin-bottom: 0">
-
-<% foreach my $hidden (
-     'custnum', 'agentnum', 'refnum', 'referral_custnum',
-     'last', 'first', 'ss', 'company',
-     'address1', 'address2', 'city',
-     'county', 'state', 'zip', 'country',
-     'daytime', 'night', 'fax',
-     
-     'same',
-     
-     'ship_last', 'ship_first', 'ship_company',
-     'ship_address1', 'ship_address2', 'ship_city',
-     'ship_county', 'ship_state', 'ship_zip', 'ship_country',
-     'ship_daytime','ship_night', 'ship_fax',
-     
-     'select', #XXX key
-
-     'payauto',
-     'payinfo', 'payinfo1', 'payinfo2',
-     'payname', 'exp_month', 'exp_year', 'paycvv',
-     'paystart_month', 'paystart_year', 'payissue',
-     'payip',
-     'paid',
-     
-     'tax',
-     'invoicing_list', 'invoicing_list_POST', 'invoicing_list_FAX'
-   ) {
-%>
-  <INPUT TYPE="hidden" NAME="<%= $hidden %>" VALUE="">
-<% } %>
-
-<BR>Comments
-<%= &ntable("#cccccc") %>
-  <TR>
-    <TD>
-      <TEXTAREA COLS=80 ROWS=5 WRAP="HARD" NAME="comments"><%= $cust_main->comments %></TEXTAREA>
-    </TD>
-  </TR>
-</TABLE>
-
-<%
-
-unless ( $custnum ) {
-  # pry the wrong place for this logic.  also pretty expensive
-  #use FS::part_pkg;
-
-  #false laziness, copied from FS::cust_pkg::order
-  my $pkgpart;
-  if ( scalar(@agents) == 1 ) {
-    # $pkgpart->{PKGPART} is true iff $custnum may purchase PKGPART
-    my($agent)=qsearchs('agent',{'agentnum'=> $agentnum });
-    $pkgpart = $agent->pkgpart_hashref;
-  } else {
-    #can't know (agent not chosen), so, allow all
-    my %typenum;
-    foreach my $agent ( @agents ) {
-      next if $typenum{$agent->typenum}++;
-      #fixed in 5.004_05 #$pkgpart->{$_}++ foreach keys %{ $agent->pkgpart_hashref }
-      foreach ( keys %{ $agent->pkgpart_hashref } ) { $pkgpart->{$_}++; } #5.004_04 workaround
-    }
-  }
-  #eslaf
-
-  my @part_pkg = grep { $_->svcpart('svc_acct') && $pkgpart->{ $_->pkgpart } }
-    qsearch( 'part_pkg', { 'disabled' => '' } );
-
-  if ( @part_pkg ) {
-
-#    print "<BR><BR>First package", &itable("#cccccc", "0 ALIGN=LEFT"),
-#apiabuse & undesirable wrapping
-    print "<BR>First package", &ntable("#cccccc"),
-          qq!<TR><TD COLSPAN=2><SELECT NAME="pkgpart_svcpart">!;
-
-    print qq!<OPTION VALUE="">(none)!;
-
-    foreach my $part_pkg ( @part_pkg ) {
-      print qq!<OPTION VALUE="!,
-#              $part_pkg->pkgpart. "_". $pkgpart{ $part_pkg->pkgpart }, '"';
-              $part_pkg->pkgpart. "_". $part_pkg->svcpart('svc_acct'), '"';
-      print " SELECTED" if $saved_pkgpart && ( $part_pkg->pkgpart == $saved_pkgpart );
-      print ">", $part_pkg->pkg, " - ", $part_pkg->comment;
-    }
-    print "</SELECT></TD></TR>";
-
-    #false laziness: (mostly) copied from edit/svc_acct.cgi
-    #$ulen = $svc_acct->dbdef_table->column('username')->length;
-    my $ulen = dbdef->table('svc_acct')->column('username')->length;
-    my $ulen2 = $ulen+2;
-    my $passwordmax = $conf->config('passwordmax') || 8;
-    my $pmax2 = $passwordmax + 2;
-    print <<END;
-<TR><TD ALIGN="right">Username</TD>
-<TD><INPUT TYPE="text" NAME="username" VALUE="$username" SIZE=$ulen2 MAXLENGTH=$ulen></TD></TR>
-<TR><TD ALIGN="right">Password</TD>
-<TD><INPUT TYPE="text" NAME="_password" VALUE="$password" SIZE=$pmax2 MAXLENGTH=$passwordmax>
-(blank to generate)</TD></TR>
-END
-
-    print '<TR><TD ALIGN="right">Access number</TD><TD>'
-          .
-          &FS::svc_acct_pop::popselector($popnum).
-          '</TD></TR></TABLE>'
-          ;
-  }
-}
-
-my $otaker = $cust_main->otaker;
-print qq!<INPUT TYPE="hidden" NAME="otaker" VALUE="$otaker">!,
-      qq!<BR><INPUT TYPE="submit" NAME="submit" VALUE="!,
-      $custnum ?  "Apply Changes" : "Add Customer", qq!"><BR>!,
-      "</FORM></DIV></BODY></HTML>",
-;
-
-%>
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
deleted file mode 100644 (file)
index 96f777b..0000000
+++ /dev/null
@@ -1,443 +0,0 @@
-<%
-
-my( $cust_main, %options ) = @_;
-my @invoicing_list = @{ $options{'invoicing_list'} };
-my $conf = new FS::Conf;
-my $payby_default = $conf->config('payby-default');
-
-my @payby = grep /\w/, $conf->config('payby');
-#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
-@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
-  unless @payby;
-
-if ( $payby_default eq 'HIDE' ) {
-
-  $cust_main->payby('BILL') unless $cust_main->payby;
-
-%>
-
-  <INPUT TYPE="hidden" NAME="select" VALUE="<%= $cust_main->payby %>">
-
-  </FORM>
-
-  <FORM NAME="<%= $cust_main->payby %>" STYLE="margin-top: 0; margin-bottom: 0"> <% # XXX key %>
-
-  <% foreach my $field (qw( payinfo payname paycvv paystart_month paystart_year payissue payip )) { %>
-
-    <INPUT TYPE="hidden" NAME="<%= $field %>" VALUE="<%= $cust_main->getfield($field) %>">
-
-  <% } %>
-
-  <%
-  #false laziness w/elements/select-month_year.html & view/cust_main/billing.html
-  my( $mon, $year );
-  my $date = $cust_main->paydate || '12-2037';
-  if ( $date  =~ /^(\d{4})-(\d{1,2})-\d{1,2}$/ ) { #PostgreSQL date format
-    ( $mon, $year ) = ( $2, $1 );
-  } elsif ( $date =~ /^(\d{1,2})-(\d{1,2}-)?(\d{4}$)/ ) {
-    ( $mon, $year ) = ( $1, $3 );
-  } else {
-    die "unrecognized expiration date format: $date";
-  }
-  %>
-
-  <INPUT TYPE="hidden" NAME="exp_month" VALUE="<%= $mon %>">
-  <INPUT TYPE="hidden" NAME="exp_year"  VALUE="<%= $year %>">
-
-  </FORM>
-
-  <FORM NAME="billing_bottomform" STYLE="margin-top: 0; margin-bottom: 0">
-
-  <INPUT TYPE="hidden" NAME="tax" VALUE="<%= $cust_main->tax %>">
-
-  <INPUT TYPE="hidden" NAME="invoicing_list" VALUE="<%= join(', ', @invoicing_list) %>">
-
-  </FORM>
-
-<% } else {
-
-  my $r = qq!<font color="#ff0000">*</font>&nbsp;!;
-
-%>
-
-  <BR>Billing information
-  <%= &ntable("#cccccc") %>
-
-    <TR>
-      <TD ALIGN="right" WIDTH="200"><%=$r%>Billing type</TD>
-
-  <SCRIPT>
-
-    var mywindow = -1;
-    function myopen(filename,windowname,properties) {
-      myclose();
-      mywindow = window.open(filename,windowname,properties);
-    }
-    function myclose() {
-      if ( mywindow != -1 )
-        mywindow.close();
-      mywindow = -1;
-    }
-
-    var achwindow = -1;
-    function achopen(filename,windowname,properties) {
-      achclose();
-      achwindow = window.open(filename,windowname,properties);
-    }
-    function achclose() {
-      if ( achwindow != -1 )
-        achwindow.close();
-      achwindow = -1;
-    }
-
-    function card_changed(what) {
-      if (
-             what.form.payinfo.value.substring(0, 4) == '4093' 
-          || what.form.payinfo.value.substring(0, 4) == '4911' 
-          || what.form.payinfo.value.substring(0, 4) == '4936' 
-          || what.form.payinfo.value.substring(0, 6) == '564132' 
-          || what.form.payinfo.value.substring(0, 2) == '63' 
-          || what.form.payinfo.value.substring(0, 2) == '67' 
-         )
-      {
-        what.form.paystart_month.disabled = false;
-        what.form.paystart_year.disabled = false;
-        what.form.payissue.disabled = false;
-        what.form.paystart_month.style.backgroundColor = '#ffffff';
-        what.form.paystart_year.style.backgroundColor = '#ffffff';
-        what.form.payissue.style.backgroundColor = '#ffffff';
-        document.getElementById('paystart_label').style.color = '#000000';
-        document.getElementById('payissue_label').style.color = '#000000';
-      } else {
-        what.form.paystart_month.disabled = true;
-        what.form.paystart_year.disabled = true;
-        what.form.payissue.disabled = true;
-        what.form.paystart_month.style.backgroundColor = '#dddddd';
-        what.form.paystart_year.style.backgroundColor = '#dddddd';
-        what.form.payissue.style.backgroundColor = '#dddddd';
-        document.getElementById('paystart_label').style.color = '#999999';
-        document.getElementById('payissue_label').style.color = '#999999';
-      }
-      return true;
-    }
-
-  </SCRIPT>
-
-  <SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws.js"></SCRIPT>
-  <SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_iframe.js"></SCRIPT>
-  <SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_draggable.js"></SCRIPT>
-  <SCRIPT TYPE="text/javascript">
-  function OLiframeContent(src, width, height, name) {
-    return ('<iframe src="'+src+'" width="'+width+'" height="'+height+'"'
-     +(name?' name="'+name+'" id="'+name+'"':'')+' scrolling="auto">'
-     +'<div>[iframe not supported]</div></iframe>');
-  }
-  </SCRIPT>
-
-  <%
-
-  my($payby, $payinfo, $payname)=(
-    $cust_main->payby,
-    $cust_main->payinfo,
-    $cust_main->payname,
-  );
-  my( $account, $aba ) = split('@', $payinfo);
-
-  my $disabled = 'DISABLED style="background-color: #dddddd"';
-  my $text_disabled = 'style="color: #999999"';
-  if ( $payby =~ /^(CARD|DCRD)$/ && cardtype($payinfo) =~ /^(Switch|Solo)$/ ) {
-    $disabled = 'style="background-color: #ffffff"';
-    $text_disabled = 'style="color: #000000";'
-  }
-
-  my %payby = (
-
-    'CARD' =>
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Card number </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="payinfo" VALUE="!. ( $payby =~ /^(CARD|DCRD)$/ ? $payinfo : '' ). qq!" MAXLENGTH=19 onChange="card_changed(this)" onKeyUp="card_changed(this)"></TD></TR>!.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Expiration </TD>!.
-          '<TD WIDTH="408">'.
-
-          include('/elements/select-month_year.html',
-                    'prefix' => 'exp',
-                    'selected_date' =>
-                      ( $payby =~ /^(CARD|DCRD)$/ ? $cust_main->paydate : '' ),
-                 ).
-
-          '</TD></TR>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">CVV2&nbsp;!.
-
-          qq!(<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('../docs/cvv2.html', 480, 352, 'cvv2_popup' ), CAPTION, 'CVV2 Help', STICKY, AUTOSTATUSCAP, CLOSECLICK, DRAGGABLE ); return false;">help</A>)!.
-          qq!</TD>!.
-          '<TD WIDTH="408"><INPUT TYPE="text" NAME="paycvv" VALUE="'. ( $payby =~ /^(CARD|DCRD)$/ ? $cust_main->paycvv : '' ). '" SIZE=4 MAXLENGTH=4>'.
-
-
-        qq!<TR><TD ALIGN="right" WIDTH="200"><SPAN ID="paystart_label" $text_disabled>Start date </SPAN></TD>!.
-          '<TD WIDTH="408">'.
-
-          include('/elements/select-month_year.html',
-                    'prefix' => 'paystart',
-                    'disabled' => $disabled,
-                    'empty_option' => 1,
-                    'start_year' => 2000,
-                    'end_year'   => (localtime())[5] + 1900,
-                    'selected_date' => (
-                      ( $payby =~ /^(CARD|DCRD)$/
-                        && cardtype($payinfo) =~ /^(Switch|Solo)$/ )
-                          ? $cust_main->paystart_month. '-'.
-                            $cust_main->paystart_year 
-                          : ''
-                    )
-                 ).
-
-        qq!<SPAN ID="payissue_label" $text_disabled> or Issue number </SPAN>!.
-          '<INPUT TYPE="text" NAME="payissue" VALUE="'. ( $payby =~ /^(CARD|DCRD)$/ ? $cust_main->payissue : '' ). qq!" SIZE=3 MAXLENGTH=2 $disabled></TD></TR>!.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Exact name on card </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="payname" VALUE="!. ( $payby =~ /^(CARD|DCRD)$/ ? $cust_main->payname : '' ). qq!"></TD></TR>!.
-
-        qq!<TR><TD COLSPAN=2 WIDTH="608"><INPUT TYPE="checkbox" NAME="payauto" !. ( $payby eq 'DCRD' ? '' : 'CHECKED' ). '> Charge future payments to this card automatically</TD></TR>'.
-
-      '</TABLE>',
-
-    'CHEK' => 
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Account number </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" SIZE=10 NAME="payinfo1" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $account : '' ). '"></TD></TR>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}ABA/Routing number </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" SIZE=10 MAXLENGTH=9 NAME="payinfo2" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $aba : '' ). qq!" SIZE=10 MAXLENGTH=9> !.
-          qq!(<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('../docs/ach.html', 380, 240, 'ach_popup' ), CAPTION, 'ACH Help', STICKY, AUTOSTATUSCAP, CLOSECLICK, DRAGGABLE ); return false;">help</A>)!.
-          qq!</TD></TR>!.
-
-        qq!<INPUT TYPE="hidden" NAME="exp_month" VALUE="12">!.
-        qq!<INPUT TYPE="hidden" NAME="exp_year" VALUE="2037">!.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Bank name </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="payname" VALUE="!. ( $payby =~ /^(CHEK|DCHK)$/ ? $cust_main->payname : '' ). qq!"></TD></TR>!.
-
-        qq!<TR><TD COLSPAN=2 WIDTH="608"><INPUT TYPE="checkbox" NAME="payauto" !. ( $payby eq 'DCHK' ? '' : 'CHECKED' ). '> Charge future payments to this electronic check automatically</TD></TR>'.
-
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-
-      '</TABLE>',
-
-    'LECB' =>  
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Phone number </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="payinfo" VALUE="!. ( $payby eq 'LECB' ? $cust_main->payinfo : '' ). qq!" MAXLENGTH=15 SIZE=16></TD></TR>!.
-
-        qq!<INPUT TYPE="hidden" NAME="exp_month" VALUE="12">!.
-        qq!<INPUT TYPE="hidden" NAME="exp_year" VALUE="2037">!.
-        qq!<INPUT TYPE="hidden" NAME="payname" VALUE="">!.
-
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-
-      '</TABLE>',
-
-    'BILL' =>  
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">P.O. </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="payinfo" VALUE="!. ( $payby eq 'BILL' ? $cust_main->payinfo : '' ). qq!"></TD></TR>!.
-
-        qq!<INPUT TYPE="hidden" NAME="exp_month" VALUE="12">!.
-        qq!<INPUT TYPE="hidden" NAME="exp_year" VALUE="2037">!.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">Attention </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="payname" VALUE="!. ( $payby eq 'BILL' ? $cust_main->payname : '' ). qq!"></TD></TR>!.
-
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-
-      '</TABLE>',
-
-    'COMP' =>   
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Approved by </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="payinfo" VALUE=""></TD></TR>!.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Expiration </TD>!.
-          '<TD WIDTH="408">'.
-
-          include('/elements/select-month_year.html',
-                    'prefix' => 'exp',
-                    'selected_date' =>
-                      ( $payby eq 'COMP' ? $cust_main->paydate : '' ),
-                 ).
-
-          '</TD></TR>'.
-
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-
-      '</TABLE>',
-
-    'CASH' =>
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Amount </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="paid" VALUE="!. ( $payby eq 'CASH' ? $cust_main->paid : '' ). qq!"></TD></TR>!.
-
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-
-      '</TABLE>',
-
-    'WEST' =>
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Amount </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="paid" VALUE="!. ( $payby eq 'WEST' ? $cust_main->paid : '' ). qq!"></TD></TR>!.
-
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-
-      '</TABLE>',
-
-    'MCRD' =>
-
-      '<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0 HEIGHT=192>'.
-
-        qq!<TR><TD ALIGN="right" WIDTH="200">${r}Amount </TD>!.
-          qq!<TD WIDTH="408"><INPUT TYPE="text" NAME="paid" VALUE="!. ( $payby eq 'MCRD' ? $cust_main->paid : '' ). qq!"></TD></TR>!.
-
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-        '<TR><TD>&nbsp;</TD></TR>'.
-
-      '</TABLE>',
-
-  );
-
-
-  my %allopt = (
-    'CARD' => 'Credit card',
-    'CHEK' => 'Electronic check',
-    'LECB' => 'Phone bill billing',
-    'BILL' => 'Billing',
-    'CASH' => 'Cash', # initial payment, then billing',
-    'WEST' => 'Western Union', # initial payment, then billing',
-    'MCRD' => 'Manual credit card', # initial payment, then billing',
-    'COMP' => 'Complimentary',
-  );
-  if ( $cust_main->custnum ) { #don't offer CASH/WEST/MCRD initial payment types
-                               # when editing customer
-    delete $allopt{$_} for qw(CASH WEST MCRD);
-  }
-  
-  tie my %options, 'Tie::IxHash',
-    map  { $_ => $allopt{$_} }
-    grep { exists $allopt{$_} }
-         @payby;
-
-  my %payby2option = (
-    ( map { $_ => $_ } keys %options ),
-    'DCRD' => 'CARD',
-    'DCHK' => 'CHEK',
-  );
-
-  my $widget = new HTML::Widgets::SelectLayers(
-    'options'        => \%options,
-    #'form_name'      => 'dummy',
-    #'form_action'    => 'nothingyet',
-    #chops bottom of page in IE# 'under_position' => 'absolute',
-    'html_between'   => '</TD></TR></TABLE>',
-    'selected_layer' => $payby2option{$payby || $payby_default || $payby[0] },
-    'layer_callback' => sub { my $layer = shift; $payby{$layer}; },
-  );
-
-  %>
-
-  <TD WIDTH="408"><%= $widget->html %>
-
-  <FORM NAME="billing_bottomform" STYLE="margin-top: 0; margin-bottom: 0">
-
-  <%= &ntable("#cccccc") %>
-
-    <TR><TD>&nbsp;</TD></TR>
-
-    <TR>
-      <TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="tax" VALUE="Y" <%= $cust_main->tax eq "Y" ? 'CHECKED' : '' %>> Tax Exempt</TD>
-    </TR>
-
-    <TR>
-      <TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST" <%=
-
-        ( (    ! @invoicing_list
-            && ! $conf->exists('disablepostalinvoicedefault')
-            && ! $cust_main->custnum
-          )
-          || grep { $_ eq 'POST' } @invoicing_list                     )
-
-          ? 'CHECKED'
-          : ''
-
-        %>> Postal mail invoice
-
-      </TD>
-    </TR>
-
-    <TR>
-      <TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="invoicing_list_FAX" VALUE="FAX" <%=
-
-        ( grep { $_ eq 'FAX' } @invoicing_list )
-          ? 'CHECKED'
-          : ''
-
-        %>> Fax invoice
-
-      </TD>
-    </TR>
-
-    <TR>
-      <TD ALIGN="right" WIDTH="200">Email invoice </TD>
-      <TD WIDTH="408"><INPUT TYPE="text" NAME="invoicing_list" VALUE="<%= join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) %>"></TD>
-    </TR>
-
-  </TABLE>
-
-  </FORM>
-
-  <%= $r %> required fields
-
-<% } %>
-
diff --git a/httemplate/edit/cust_main/contact.html b/httemplate/edit/cust_main/contact.html
deleted file mode 100644 (file)
index e0cd06f..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-<%
-
-my( $cust_main, $pre, $onchange, $disabled ) = @_;
-my $conf = new FS::Conf;
-
-#false laziness with ship state
-my $countrydefault = $conf->config('countrydefault') || 'US';
-$cust_main->set($pre.'country', $countrydefault )
-  unless $cust_main->get($pre.'country');
-
-my $statedefault = $conf->config('statedefault')
-                   || ($countrydefault eq 'US' ? 'CA' : '');
-$cust_main->set($pre.'state', $statedefault )
-  unless $cust_main->get($pre.'state')
-         || $cust_main->get($pre.'country') ne $countrydefault;
-
-#my($county_html, $state_html, $country_html) =
-#  FS::cust_main_county::regionselector( $cust_main->get($pre.'county'),
-#                                        $cust_main->get($pre.'state'),
-#                                        $cust_main->get($pre.'country'),
-#                                        $pre,
-#                                        $onchange,
-#                                        $disabled,
-#                                      );
-
-my %select_hash = (
-  'county'   => $cust_main->get($pre.'county'),
-  'state'    => $cust_main->get($pre.'state'),
-  'country'  => $cust_main->get($pre.'country'),
-  'prefix'   => $pre,
-  'onchange' => $onchange,
-  'disabled' => $disabled,
-);
-
-my $daytime_label = FS::Msgcat::_gettext('daytime') || 'Day Phone';
-my $night_label = FS::Msgcat::_gettext('night') || 'Night Phone';
-
-my $r = qq!<font color="#ff0000">*</font>&nbsp;!;
-
-%>
-
-<%= &ntable("#cccccc") %>
-
-<TR>
-  <TH ALIGN="right"><%=$r%>Contact&nbsp;name<BR>(last,&nbsp;first)</TH>
-  <TD COLSPAN=3>
-    <INPUT TYPE="text" NAME="<%=$pre%>last" VALUE="<%= $cust_main->get($pre.'last') %>" onChange="<%= $onchange %>" <%=$disabled%>> , 
-    <INPUT TYPE="text" NAME="<%=$pre%>first" VALUE="<%= $cust_main->get($pre.'first') %>" onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-
-<% if ( $conf->exists('show_ss') && !$pre ) { %>
-  <TD ALIGN="right">SS#</TD>
-  <TD><INPUT TYPE="text" NAME="ss" VALUE="<%= $cust_main->ss %>" SIZE=11></TD>
-<% } elsif ( !$pre ) { %>
-  <TD><INPUT TYPE="hidden" NAME="ss" VALUE="<%= $cust_main->ss %>"></TD>
-<% } %>
-
-</TR>
-
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5>
-    <INPUT TYPE="text" NAME="<%=$pre%>company" VALUE="<%= $cust_main->get($pre.'company') %>" SIZE=70 onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-</TR>
-
-<TR>
-  <TH ALIGN="right"><%=$r%>Address</TH>
-  <TD COLSPAN=5>
-    <INPUT TYPE="text" NAME="<%=$pre%>address1" VALUE="<%= $cust_main->get($pre.'address1') %>" SIZE=70 onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5>
-    <INPUT TYPE="text" NAME="<%=$pre%>address2" VALUE="<%= $cust_main->get($pre.'address2') %>" SIZE=70 onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-</TR>
-
-<TR>
-  <TH ALIGN="right"><%=$r%>City</TH>
-  <TD>
-    <INPUT TYPE="text" NAME="<%=$pre%>city" VALUE="<%= $cust_main->get($pre.'city') %>" onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-  <TH ALIGN="right"><%=$r%>State</TH>
-  <TD>
-    <%= include('select-county.html', %select_hash ) %>
-    <%= include('select-state.html', %select_hash ) %>
-  </TD>
-  <TH><%=$r%>Zip</TH>
-  <TD>
-    <INPUT TYPE="text" NAME="<%=$pre%>zip" VALUE="<%= $cust_main->get($pre.'zip') %>" SIZE=10 onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-</TR>
-
-<TR>
-  <TH ALIGN="right"><%=$r%>Country</TH>
-  <TD><%= include('select-country.html', %select_hash ) %></TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right"><%= $daytime_label %></TD>
-  <TD COLSPAN=5>
-    <INPUT TYPE="text" NAME="<%=$pre%>daytime" VALUE="<%= $cust_main->get($pre.'daytime') %>" SIZE=18 onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right"><%= $night_label %></TD>
-  <TD COLSPAN=5>
-    <INPUT TYPE="text" NAME="<%=$pre%>night" VALUE="<%= $cust_main->get($pre.'night') %>" SIZE=18 onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5>
-    <INPUT TYPE="text" NAME="<%=$pre%>fax" VALUE="<%= $cust_main->get($pre.'fax') %>" SIZE=12 onChange="<%= $onchange %>" <%=$disabled%>>
-  </TD>
-</TR>
-
-</TABLE>
-<%=$r%>required fields<BR>
-
diff --git a/httemplate/edit/cust_main/select-country.html b/httemplate/edit/cust_main/select-country.html
deleted file mode 100644 (file)
index 014effd..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<%
-
-  my %opt = @_;
-  foreach my $opt (qw( county state country prefix onchange disabled )) {
-    $opt{$_} = '' unless exists($opt{$_}) && defined($opt{$_});
-  }
-
-  my $conf = new FS::Conf;
-  my $countrydefault = $conf->config('countrydefault') || 'US';
-
-%>
-
-<%= include('/elements/xmlhttp.html',
-              'url'  => $p.'misc/states.cgi',
-              'subs' => [ $opt{'prefix'}. 'get_states' ],
-           )
-%>
-
-<SCRIPT TYPE="text/javascript">
-
-  function opt(what,value,text) {
-    var optionName = new Option(text, value, false, false);
-    var length = what.length;
-    what.options[length] = optionName;
-  }
-
-  function <%= $opt{'prefix'} %>country_changed(what, callback) {
-
-    country = what.options[what.selectedIndex].text;
-
-    function <%= $opt{'prefix'} %>update_states(states) {
-
-      // blank the current state list
-      for ( var i = what.form.<%= $opt{'prefix'} %>state.length; i >= 0; i-- )
-          what.form.<%= $opt{'prefix'} %>state.options[i] = null;
-
-      // add the new states
-      var statesArray = eval('(' + states + ')' );
-      for ( var s = 0; s < statesArray.length; s++ ) {
-          var stateLabel = statesArray[s];
-          if ( stateLabel == "" )
-              stateLabel = '(n/a)';
-          opt(what.form.<%= $opt{'prefix'} %>state, statesArray[s], stateLabel);
-      }
-
-      //run the callback
-      if ( callback != null ) 
-        callback();
-    }
-
-    // go get the new states
-    <%= $opt{'prefix'} %>get_states( country, <%= $opt{'prefix'} %>update_states );
-
-  }
-
-</SCRIPT>
-
-<SELECT NAME="<%= $opt{'prefix'} %>country" onChange="<%= $opt{'prefix'} %>country_changed(this); <%= $opt{'onchange'} %>" <%= $opt{'disabled'} %>>
-
-<% foreach my $country (
-     sort { ($b eq $countrydefault) <=> ($a eq $countrydefault) or $a cmp $b }
-     map { $_->country }
-     qsearch( 'cust_main_county',{}, 'DISTINCT ON ( country ) *', )
-   ) {
-%>
-
-  <OPTION VALUE="<%= $country %>"<%= $country eq $opt{'country'} ? ' SELECTED' : '' %>><%= $country %>
-
-<% } %>
-
-</SELECT>
-
diff --git a/httemplate/edit/cust_main/select-county.html b/httemplate/edit/cust_main/select-county.html
deleted file mode 100644 (file)
index 3de380b..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-<%
-
-  my %opt = @_;
-  foreach my $opt (qw( county state country prefix onchange disabled )) {
-    $opt{$_} = '' unless exists($opt{$_}) && defined($opt{$_});
-  }
-
-  my $sql = "SELECT COUNT(*) FROM cust_main_county".
-            " WHERE county IS NOT NULL AND county != ''";
-  my $sth = dbh->prepare($sql) or die dbh->errstr;
-  $sth->execute or die $sth->errstr;
-  my $countyflag = $sth->fetchrow_arrayref->[0];
-
-%>
-
-<% if ( $countyflag ) { %>
-
-  <%= include('/elements/xmlhttp.html',
-                'url'  => $p.'misc/counties.cgi',
-                'subs' => [ $opt{'prefix'}. 'get_counties' ],
-             )
-%>
-  
-  <SCRIPT TYPE="text/javascript">
-  
-    function opt(what,value,text) {
-      var optionName = new Option(text, value, false, false);
-      var length = what.length;
-      what.options[length] = optionName;
-    }
-  
-    function <%= $opt{'prefix'} %>state_changed(what, callback) {
-
-      state = what.options[what.selectedIndex].text;
-      country = what.form.<%= $opt{'prefix'} %>country.options[what.form.<%= $opt{'prefix'} %>country.selectedIndex].text;
-  
-      function <%= $opt{'prefix'} %>update_counties(counties) {
-
-        // blank the current county list
-        for ( var i = what.form.<%= $opt{'prefix'} %>county.length; i >= 0; i-- )
-            what.form.<%= $opt{'prefix'} %>county.options[i] = null;
-  
-        // add the new counties
-        var countiesArray = eval('(' + counties + ')' );
-        for ( var s = 0; s < countiesArray.length; s++ ) {
-            var countyLabel = countiesArray[s];
-            if ( countyLabel == "" )
-                countyLabel = '(n/a)';
-            opt(what.form.<%= $opt{'prefix'} %>county, countiesArray[s], countyLabel);
-        }
-
-        //run the callback
-        if ( callback != null ) 
-          callback();
-      }
-  
-      // go get the new counties
-      <%= $opt{'prefix'} %>get_counties( state, country, <%= $opt{'prefix'} %>update_counties );
-  
-    }
-  
-  </SCRIPT>
-
-  <SELECT NAME="<%= $opt{'prefix'} %>county" onChange="<%= $opt{'onchange'} %>" <%= $opt{'disabled'} %>>
-
-  <% foreach my $county (
-       sort
-       map { $_->county }
-       qsearch('cust_main_county', { 'state'   => $opt{'state'},
-                                     'country' => $opt{'country'},
-                                   }
-              )
-     ) {
-  %>
-
-    <OPTION VALUE="<%= $county %>"<%= $county eq $opt{'county'} ? ' SELECTED' : '' %>><%= $county %>
-
-  <% } %>
-
-  </SELECT>
-
-<% } else { %>
-
-  <SCRIPT TYPE="text/javascript">
-    function <%= $opt{'prefix'} %>state_changed(what) {
-    }
-  </SCRIPT>
-
-  <INPUT TYPE="hidden" NAME="<%= $opt{'prefix'} %>county" VALUE="<%= $opt{'county'} %>">
-
-<% } %>
diff --git a/httemplate/edit/cust_main/select-state.html b/httemplate/edit/cust_main/select-state.html
deleted file mode 100644 (file)
index 98e685a..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<%
-
-  my %opt = @_;
-  foreach my $opt (qw( county state country prefix onchange disabled )) {
-    $opt{$_} = '' unless exists($opt{$_}) && defined($opt{$_});
-  }
-
-%>
-
-<SELECT NAME="<%= $opt{'prefix'} %>state" onChange="<%= $opt{'prefix'} %>state_changed(this); <%= $opt{'onchange'} %>" <%= $opt{'disabled'} %>>
-
-<% foreach my $state (
-     sort
-     map { $_->state }
-     qsearch( 'cust_main_county',
-              { 'country' => $opt{'country'} },
-              'DISTINCT ON ( state ) *',
-            )
-   ) {
-%>
-
-  <OPTION VALUE="<%= $state %>"<%= $state eq $opt{'state'} ? ' SELECTED' : '' %>><%= $state || '(n/a)' %>
-
-<% } %>
-
-</SELECT>
-
diff --git a/httemplate/edit/cust_main_county-expand.cgi b/httemplate/edit/cust_main_county-expand.cgi
deleted file mode 100755 (executable)
index 9f314a4..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($taxnum, $delim, $expansion, $taxclass );
-my($query) = $cgi->keywords;
-if ( $cgi->param('error') ) {
-  $taxnum = $cgi->param('taxnum');
-  $delim = $cgi->param('delim');
-  $expansion = $cgi->param('expansion');
-  $taxclass = $cgi->param('taxclass');
-} else {
-  $query =~ /^(taxclass)?(\d+)$/
-    or die "Illegal taxnum (query $query)";
-  $taxclass = $1 ? 'taxclass' : '';
-  $taxnum = $2;
-  $delim = 'n';
-  $expansion = '';
-}
-
-my $cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum})
-  or die "cust_main_county.taxnum $taxnum not found";
-die "Can't expand entry!" if $cust_main_county->getfield('county');
-
-my $p1 = popurl(1);
-print header("Tax Rate (expand)", menubar(
-  'Main Menu' => popurl(2),
-));
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print <<END;
-    <FORM ACTION="${p1}process/cust_main_county-expand.cgi" METHOD=POST>
-      <INPUT TYPE="hidden" NAME="taxnum" VALUE="$taxnum">
-      <INPUT TYPE="hidden" NAME="taxclass" VALUE="$taxclass">
-      Separate by
-END
-print '<INPUT TYPE="radio" NAME="delim" VALUE="n"';
-print ' CHECKED' if $delim eq 'n';
-print '>line (broken on some browsers) or',
-      '<INPUT TYPE="radio" NAME="delim" VALUE="s"';
-print ' CHECKED' if $delim eq 's';
-print '>whitespace.';
-print <<END;
-      <BR><INPUT TYPE="submit" VALUE="Submit">
-      <BR><TEXTAREA NAME="expansion" ROWS=100>$expansion</TEXTAREA>
-    </FORM>
-    </CENTER>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/cust_main_county.cgi b/httemplate/edit/cust_main_county.cgi
deleted file mode 100755 (executable)
index 4bcfcbe..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<!-- mason kludge -->
-<%
-
-print header("Edit tax rates", menubar(
-  'Main Menu' => popurl(2),
-));
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print qq!<FORM ACTION="!, popurl(1),
-    qq!process/cust_main_county.cgi" METHOD=POST>!, &table(), <<END;
-      <TR>
-        <TH><FONT SIZE=-1>Country</FONT></TH>
-        <TH><FONT SIZE=-1>State</FONT></TH>
-        <TH><FONT SIZE=-1>County</FONT></TH>
-        <TH><FONT SIZE=-1>Taxclass</FONT><BR><FONT SIZE=-2>(per-package classification)</FONT></TH>
-END
-
-if ( dbdef->table('cust_main_county')->column('taxname') ) {
-  print '<TH><FONT SIZE=-1>Tax name</FONT><BR><FONT SIZE=-2>(printed on invoices)</FONT></TH>';
-}
-
-print <<END;
-        <TH><FONT SIZE=-1>Tax</FONT></TH>
-        <TH><FONT SIZE=-1>Exempt<BR>per<BR>month</TH>
-END
-
-if ( dbdef->table('cust_main_county')->column('setuptax') ) {
-  print '<TH><FONT SIZE=-1>Setup<BR>fee<BR>exempt</TH>';
-}
-if ( dbdef->table('cust_main_county')->column('recurtax') ) {
-  print '<TH><FONT SIZE=-1>Recurring<BR>fee<BR>exempt</TH>';
-}
-
-print '</TR>';
-
-foreach my $cust_main_county ( sort {    $a->country cmp $b->country
-                                      or $a->state   cmp $b->state
-                                      or $a->county  cmp $b->county
-                                    } qsearch('cust_main_county',{}) ) {
-  my($hashref)=$cust_main_county->hashref;
-  print <<END;
-      <TR>
-        <TD BGCOLOR="#ffffff">$hashref->{country}</TD>
-END
-
-  print "<TD", $hashref->{state}
-      ? ' BGCOLOR="#ffffff">'.$hashref->{state}
-      : ' BGCOLOR="#cccccc">(ALL)'
-    , "</TD>";
-
-  print "<TD", $hashref->{county}
-      ? ' BGCOLOR="#ffffff">'. $hashref->{county}
-      : ' BGCOLOR="#cccccc">(ALL)'
-    , "</TD>";
-
-  print "<TD", $hashref->{taxclass}
-      ? ' BGCOLOR="#ffffff">'. $hashref->{taxclass}
-      : ' BGCOLOR="#cccccc">(ALL)'
-    , "</TD>";
-
-  print qq!<TD><INPUT TYPE="text" NAME="taxname!, $hashref->{taxnum},
-        qq!" VALUE="!, $hashref->{taxname}, qq!"></TD>!
-    if dbdef->table('cust_main_county')->column('taxname');
-
-  print qq!<TD><TABLE><TR><TD><INPUT TYPE="text" NAME="tax!, $hashref->{taxnum},
-        qq!" VALUE="!, $hashref->{tax}, qq!" SIZE=6 MAXLENGTH=6></TD><TD>%</TD></TR></TABLE></TD>!;
-  print qq!<TD><TABLE><TR><TD>\$</TD><TD><INPUT TYPE="text" NAME="exempt_amount!, $hashref->{taxnum},
-        qq!" VALUE="!, $hashref->{exempt_amount}||0, qq!" SIZE=6></TD></TR></TABLE></TD>!;
-
-  print qq!<TD><INPUT TYPE="checkbox" NAME="setuptax!. $hashref->{taxnum}.
-        '" VALUE="Y"'.
-        ( $hashref->{setuptax} =~ /^Y$/i ? ' CHECKED' : '' ).
-        '></TD>'
-    if dbdef->table('cust_main_county')->column('setuptax');
-
-  print qq!<TD><INPUT TYPE="checkbox" NAME="recurtax!. $hashref->{taxnum}.
-        '" VALUE="Y"'.
-        ( $hashref->{recurtax} =~ /^Y$/i ? ' CHECKED' : '' ).
-        '></TD>'
-    if dbdef->table('cust_main_county')->column('recurtax');
-
-  print '</TR>';
-
-}
-
-print <<END;
-    </TABLE>
-    <INPUT TYPE="submit" VALUE="Apply changes">
-    </FORM>
-    </CENTER>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/cust_pay.cgi b/httemplate/edit/cust_pay.cgi
deleted file mode 100755 (executable)
index 0370ab7..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-
-my %payby = (
-  'BILL' => 'Check',
-  'CASH' => 'Cash',
-  'WEST' => 'Western Union',
-  'MCRD' => 'Manual credit card',
-);
-
-my($link, $linknum, $paid, $payby, $payinfo, $quickpay, $_date); 
-if ( $cgi->param('error') ) {
-  $link     = $cgi->param('link');
-  $linknum  = $cgi->param('linknum');
-  $paid     = $cgi->param('paid');
-  $payby    = $cgi->param('payby');
-  $payinfo  = $cgi->param('payinfo');
-  $quickpay = $cgi->param('quickpay');
-  $_date    = $cgi->param('_date') ? str2time($cgi->param('_date')) : time;
-} elsif ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
-  $link     = 'custnum';
-  $linknum  = $1;
-  $paid     = '';
-  $payby    = $cgi->param('payby') || 'BILL';
-  $payinfo  = '';
-  $quickpay = $cgi->param('quickpay');
-  $_date    = time;
-} elsif ( $cgi->param('invnum') =~ /^(\d+)$/ ) {
-  $link     = 'invnum';
-  $linknum  = $1;
-  $paid     = '';
-  $payby    = $cgi->param('payby') || 'BILL';
-  $payinfo  = "";
-  $quickpay = '';
-  $_date    = time;
-} else {
-  die "illegal query ". $cgi->keywords;
-}
-
-my $paybatch = "webui-$_date-$$-". rand() * 2**32;
-
-my $title = 'Post '. $payby{$payby}. ' payment';
-$title .= " against Invoice #$linknum" if $link eq 'invnum';
-
-%>
-
-<%=  header($title, '') %>
-
-<% if ( $cgi->param('error') ) { %>
-<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-<BR><BR>
-<% } %>
-
-<%= ntable("#cccccc",2) %>
-
-<LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
-
-<FORM ACTION="<%= popurl(1) %>process/cust_pay.cgi" METHOD=POST>
-<INPUT TYPE="hidden" NAME="link" VALUE="<%= $link %>">
-<INPUT TYPE="hidden" NAME="linknum" VALUE="<%= $linknum %>">
-<INPUT TYPE="hidden" NAME="quickpay" VALUE="<%= $quickpay %>">
-
-<% 
-my $money_char = $conf->config('money_char') || '$';
-my $custnum;
-if ( $link eq 'invnum' ) {
-  my $cust_bill = qsearchs('cust_bill', { 'invnum' => $linknum } )
-    or die "unknown invnum $linknum";
-  $custnum = $cust_bill->custnum;
-} elsif ( $link eq 'custnum' ) {
-  $custnum = $linknum;
-}
-%>
-
-<%= small_custview($custnum, $conf->config('countrydefault')) %>
-
-<INPUT TYPE="hidden" NAME="payby" VALUE="<%= $payby %>">
-
-<BR><BR>
-Payment
-<%= ntable("#cccccc", 2) %>
-<TR>
-  <TD ALIGN="right">Date</TD>
-  <TD COLSPAN=2>
-    <INPUT TYPE="text" NAME="_date" ID="_date_text" VALUE="<%= time2str("%m/%d/%Y %r",$_date) %>">
-    <IMG SRC="../images/calendar.png" ID="_date_button" STYLE="cursor: pointer" TITLE="Select date">
-  </TD>
-</TR>
-<SCRIPT TYPE="text/javascript">
-  Calendar.setup({
-    inputField: "_date_text",
-    ifFormat:   "%m/%d/%Y",
-    button:     "_date_button",
-    align:      "BR"
-  });
-</SCRIPT>
-<TR>
-  <TD ALIGN="right">Amount</TD>
-  <TD BGCOLOR="#ffffff" ALIGN="right"><%= $money_char %></TD>
-  <TD><INPUT TYPE="text" NAME="paid" VALUE="<%= $paid %>" SIZE=8 MAXLENGTH=8> by <B><%= $payby{$payby} %></B></TD>
-</TR>
-
-<% if ( $payby eq 'BILL' ) { %>
-
-  <TR>
-    <TD ALIGN="right">Check #</TD>
-    <TD COLSPAN=2><INPUT TYPE="text" NAME="payinfo" VALUE="<%= $payinfo %>" SIZE=10></TD>
-  </TR>
-
-<% } %>
-
-<TR>
-<% if ( $link eq 'custnum' ) { %>
-  <TD ALIGN="right">Auto-apply<BR>to invoices</TD>
-  <TD COLSPAN=2><SELECT NAME="apply"><OPTION VALUE="yes" SELECTED>yes<OPTION>no</SELECT></TD>
-<% } elsif ( $link eq 'invnum' ) { %>
-  <TD ALIGN="right">Apply to</TD>
-  <TD COLSPAN=2 BGCOLOR="#ffffff">Invoice #<B><%= $linknum %></B> only</TD>
-  <INPUT TYPE="hidden" NAME="apply" VALUE="no">
-<% } %>
-</TR>
-
-</TABLE>
-
-<INPUT TYPE="hidden" NAME="paybatch" VALUE="<%= $paybatch %>">
-
-<BR>
-<INPUT TYPE="submit" VALUE="Post payment">
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/edit/cust_pkg.cgi b/httemplate/edit/cust_pkg.cgi
deleted file mode 100755 (executable)
index ce1c866..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my %pkg = ();
-my %comment = ();
-my %all_pkg = ();
-my %all_comment = ();
-#foreach (qsearch('part_pkg', { 'disabled' => '' })) {
-#  $pkg{ $_ -> getfield('pkgpart') } = $_->getfield('pkg');
-#  $comment{ $_ -> getfield('pkgpart') } = $_->getfield('comment');
-#}
-foreach (qsearch('part_pkg', {} )) {
-  $all_pkg{ $_ -> getfield('pkgpart') } = $_->getfield('pkg');
-  $all_comment{ $_ -> getfield('pkgpart') } = $_->getfield('comment');
-  next if $_->disabled;
-  $pkg{ $_ -> getfield('pkgpart') } = $_->getfield('pkg');
-  $comment{ $_ -> getfield('pkgpart') } = $_->getfield('comment');
-}
-
-my($custnum, %remove_pkg);
-if ( $cgi->param('error') ) {
-  $custnum = $cgi->param('custnum');
-  %remove_pkg = map { $_ => 1 } $cgi->param('remove_pkg');
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $custnum = $1;
-  %remove_pkg = ();
-}
-
-my $p1 = popurl(1);
-print header("Add/Edit Packages", '');
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print qq!<FORM ACTION="${p1}process/cust_pkg.cgi" METHOD=POST>!;
-
-print qq!<INPUT TYPE="hidden" NAME="custnum" VALUE="$custnum">!;
-
-#current packages
-my @cust_pkg = qsearch('cust_pkg',{ 'custnum' => $custnum, 'cancel' => '' } );
-
-if (@cust_pkg) {
-  print <<END;
-Current packages - select to remove (services are moved to a new package below)
-<TABLE>
-  <TR STYLE="background-color: #cccccc;">
-    <TH COLSPAN="2">Pkg #</TH>
-    <TH>Package description</TH>
-  </TR>
-<BR><BR>
-END
-
-  foreach (sort { $all_pkg{$a->getfield('pkgpart')} cmp $all_pkg{$b->getfield('pkgpart')} } @cust_pkg) {
-    my($pkgnum,$pkgpart)=( $_->getfield('pkgnum'), $_->getfield('pkgpart') );
-    my $checked = $remove_pkg{$pkgnum} ? ' CHECKED' : '';
-    print <<END;
-  <TR>
-    <TD><INPUT TYPE="checkbox" NAME="remove_pkg" VALUE="$pkgnum"${checked}></TD>
-    <TD ALIGN="right">$pkgnum:</TD>\n
-    <TD>$all_pkg{$pkgpart} - $all_comment{$pkgpart}</TD>
-  </TR>
-END
-  }
-  print qq!</TABLE><BR><BR>!;
-}
-
-print <<END;
-Order new packages<BR><BR>
-END
-
-my $cust_main = qsearchs('cust_main',{'custnum'=>$custnum});
-my $agent = qsearchs('agent',{'agentnum'=> $cust_main->agentnum });
-
-my %agent_pkgs = map { ( $_->pkgpart , $all_pkg{$_->pkgpart} ) }
-                     qsearch('type_pkgs',{'typenum'=> $agent->typenum });
-
-my $count = 0;
-my $pkgparts = 0;
-print <<END;
-<TABLE>
-  <TR STYLE="background-color: #cccccc;">
-    <TH>Qty.</TH>
-    <TH COLSPAN="2">Package Description</TH>
-  </TR>
-END
-#foreach my $type_pkgs ( qsearch('type_pkgs',{'typenum'=> $agent->typenum }) ) {
-foreach my $pkgpart ( sort { $agent_pkgs{$a} cmp $agent_pkgs{$b} }
-                             keys(%agent_pkgs) ) {
-  $pkgparts++;
-  next unless exists $pkg{$pkgpart}; #skip disabled ones
-  #print qq!<TR>! if ( $count == 0 );
-  my $value = $cgi->param("pkg$pkgpart") || 0;
-  print <<END;
-  <TR>
-    <TD><INPUT TYPE="text" NAME="pkg$pkgpart" VALUE="$value" SIZE="2" MAXLENGTH="2"></TD>
-    <TD ALIGN="right">$pkgpart:</TD>
-    <TD>$pkg{$pkgpart} - $comment{$pkgpart}</TD>
-  </TR>
-END
-  $count ++ ;
-  #if ( $count == 2 ) {
-  #  print qq!</TR>\n! ;
-  #  $count = 0;
-  #}
-}
-print qq!</TABLE>!;
-
-unless ( $pkgparts ) {
-  my $p2 = popurl(2);
-  my $typenum = $agent->typenum;
-  my $agent_type = qsearchs( 'agent_type', { 'typenum' => $typenum } );
-  my $atype = $agent_type->atype;
-  print <<END;
-(No <a href="${p2}browse/part_pkg.cgi">package definitions</a>, or agent type
-<a href="${p2}edit/agent_type.cgi?$typenum">$atype</a> not allowed to purchase
-any packages.)
-END
-}
-
-#submit
-print <<END;
-<P><INPUT TYPE="submit" VALUE="Order">
-    </FORM>
-  </BODY>
-</HTML>
-END
-%>
diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi
deleted file mode 100755 (executable)
index 8955c7c..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-my $custnum = $cgi->param('custnum');
-my $refund  = $cgi->param('refund');
-my $payby   = $cgi->param('payby');
-my $reason  = $cgi->param('reason');
-
-my( $paynum, $cust_pay ) = ( '', '' );
-if ( $cgi->param('paynum') =~ /^(\d+)$/ ) {
-  $paynum = $1;
-  $cust_pay = qsearchs('cust_pay', { paynum=>$paynum } )
-    or die "unknown payment # $paynum";
-  $refund ||= $cust_pay->unrefunded;
-  if ( $custnum ) {
-    die "payment # $paynum is not for specified customer # $custnum"
-      unless $custnum == $cust_pay->custnum;
-  } else {
-    $custnum = $cust_pay->custnum;
-  }
-}
-die "no custnum or paynum specified!" unless $custnum;
-
-my $_date = time;
-
-my $p1 = popurl(1);
-
-print header('Refund '. ucfirst(lc($payby)). ' payment', '');
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-print <<END, small_custview($custnum, $conf->config('countrydefault'));
-    <FORM ACTION="${p1}process/cust_refund.cgi" METHOD=POST>
-    <INPUT TYPE="hidden" NAME="refundnum" VALUE="">
-    <INPUT TYPE="hidden" NAME="custnum" VALUE="$custnum">
-    <INPUT TYPE="hidden" NAME="paynum" VALUE="$paynum">
-    <INPUT TYPE="hidden" NAME="_date" VALUE="$_date">
-    <INPUT TYPE="hidden" NAME="payby" VALUE="$payby">
-    <INPUT TYPE="hidden" NAME="payinfo" VALUE="">
-    <INPUT TYPE="hidden" NAME="paybatch" VALUE="">
-    <INPUT TYPE="hidden" NAME="credited" VALUE="">
-    <BR>
-END
-
-if ( $cust_pay ) {
-
-  #false laziness w/FS/FS/cust_pay.pm
-  my $payby = $cust_pay->payby;
-  my $payinfo = $cust_pay->payinfo;
-  $payby =~ s/^BILL$/Check/ if $payinfo;
-  $payby =~ s/^CHEK$/Electronic check/;
-  $payinfo = $cust_pay->payinfo_masked if $payby eq 'CARD';
-
-  print '<BR>Payment'. ntable("#cccccc", 2).
-        '<TR><TD ALIGN="right">Amount</TD><TD BGCOLOR="#ffffff">$'.
-          $cust_pay->paid. '</TD></TR>'.
-        '<TR><TD ALIGN="right">Date</TD><TD BGCOLOR="#ffffff">'.
-          time2str("%D",$cust_pay->_date). '</TD></TR>'.
-        '<TR><TD ALIGN="right">Method</TD><TD BGCOLOR="#ffffff">'.
-          ucfirst(lc($payby)). ' # '. $payinfo. '</TD></TR>';
-  #false laziness w/FS/FS/cust_main::realtime_refund_bop
-  if ( $cust_pay->paybatch =~ /^(\w+):(\w+)(:(\w+))?$/ ) {
-    my ( $processor, $auth, $order_number ) = ( $1, $2, $4 );
-    print '<TR><TD ALIGN="right">Processor</TD><TD BGCOLOR="#ffffff">'.
-          $processor. '</TD></TR>';
-    print '<TR><TD ALIGN="right">Authorization</TD><TD BGCOLOR="#ffffff">'.
-          $auth. '</TD></TR>'
-      if length($auth);
-    print '<TR><TD ALIGN="right">Order number</TD><TD BGCOLOR="#ffffff">'.
-          $order_number. '</TD></TR>'
-      if length($order_number);
-  }
-  print '</TABLE>';
-}
-
-print '<BR>Refund'. ntable("#cccccc", 2).
-      '<TR><TD ALIGN="right">Date</TD><TD BGCOLOR="#ffffff">'.
-      time2str("%D",$_date). '</TD></TR>';
-
-print qq!<TR><TD ALIGN="right">Amount</TD><TD BGCOLOR="#ffffff">\$<INPUT TYPE="text" NAME="refund" VALUE="$refund" SIZE=8 MAXLENGTH=8></TD></TR>!;
-
-print qq!<TR><TD ALIGN="right">Reason</TD><TD BGCOLOR="#ffffff"><INPUT TYPE="text" NAME="reason" VALUE="$reason"></TD></TR>!;
-
-print <<END;
-</TABLE>
-<BR>
-<INPUT TYPE="submit" VALUE="Post refund">
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/msgcat.cgi b/httemplate/edit/msgcat.cgi
deleted file mode 100755 (executable)
index ee9b1c6..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<!-- mason kludge -->
-<%
-
-print header("Edit Message catalog", menubar(
-#  'Main Menu' => $p,
-)), '<BR>';
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !. $cgi->param('error').
-      '</FONT><BR><BR>'
-  if $cgi->param('error');
-
-my $widget = new HTML::Widgets::SelectLayers(
-  'selected_layer' => 'en_US',
-  'options'        => { 'en_US'=>'en_US' },
-  'form_action'    => 'process/msgcat.cgi',
-  'layer_callback' => sub {
-    my $layer = shift;
-    my $html = qq!<INPUT TYPE="hidden" NAME="locale" VALUE="$layer">!.
-               "<BR>Messages for locale $layer<BR>". table().
-               "<TR><TH COLSPAN=2>Code</TH>".
-               "<TH>Message</TH>";
-    $html .= "<TH>en_US Message</TH>" unless $layer eq 'en_US';
-    $html .= '</TR>';
-
-    #foreach my $msgcat ( sort { $a->msgcode cmp $b->msgcode }
-    #                       qsearch('msgcat', { 'locale' => $layer } ) ) {
-    foreach my $msgcat ( qsearch('msgcat', { 'locale' => $layer } ) ) {
-      $html .=
-        '<TR><TD>'. $msgcat->msgnum. '</TD><TD>'. $msgcat->msgcode. '</TD>'.
-        '<TD><INPUT TYPE="text" SIZE=32 '.
-        qq! NAME="!. $msgcat->msgnum. '" '.
-        qq!VALUE="!. ($cgi->param($msgcat->msgnum)||$msgcat->msg). qq!"></TD>!;
-      unless ( $layer eq 'en_US' ) {
-        my $en_msgcat = qsearchs('msgcat', {
-          'locale'  => 'en_US',
-          'msgcode' => $msgcat->msgcode,
-        } );
-        $html .= '<TD>'. $en_msgcat->msg. '</TD>';
-      }
-      $html .= '</TR>';
-    }
-
-    $html .= '</TABLE><BR><INPUT TYPE="submit" VALUE="Apply changes">';
-
-    $html;
-  },
-
-);
-
-print $widget->html;
-
-print <<END;
-    </TABLE>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi
deleted file mode 100755 (executable)
index 32ca47a..0000000
+++ /dev/null
@@ -1,376 +0,0 @@
-<!-- mason kludge -->
-<%
-
-if ( $cgi->param('eventpart') && $cgi->param('eventpart') =~ /^(\d+)$/ ) {
-  $cgi->param('eventpart', $1);
-} else {
-  $cgi->param('eventpart', '');
-}
-
-my ($query) = $cgi->keywords;
-my $action = '';
-my $part_bill_event = '';
-if ( $cgi->param('error') ) {
-  $part_bill_event = new FS::part_bill_event ( {
-    map { $_, scalar($cgi->param($_)) } fields('part_bill_event')
-  } );
-}
-if ( $query && $query =~ /^(\d+)$/ ) {
-  $part_bill_event ||= qsearchs('part_bill_event',{'eventpart'=>$1});
-} else {
-  $part_bill_event ||= new FS::part_bill_event {};
-}
-$action ||= $part_bill_event->eventpart ? 'Edit' : 'Add';
-my $hashref = $part_bill_event->hashref;
-
-print header("$action Invoice Event Definition", menubar(
-  'Main Menu' => popurl(2),
-  'View all invoice events' => popurl(2). 'browse/part_bill_event.cgi',
-));
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print '<FORM ACTION="', popurl(1), 'process/part_bill_event.cgi" METHOD=POST>'.
-      '<INPUT TYPE="hidden" NAME="eventpart" VALUE="'.
-      $part_bill_event->eventpart  .'">';
-print "Invoice Event #", $hashref->{eventpart} ? $hashref->{eventpart} : "(NEW)";
-
-print ntable("#cccccc",2), <<END;
-<TR><TD ALIGN="right">Payby</TD><TD><SELECT NAME="payby">
-END
-
-for (qw(CARD DCRD CHEK DCHK LECB BILL COMP)) {
-  print qq!<OPTION VALUE="$_"!;
-  if ($part_bill_event->payby eq $_) {
-    print " SELECTED>$_</OPTION>";
-  } else {
-    print ">$_</OPTION>";
-  }
-}
-
-my $days = $hashref->{seconds}/86400;
-
-print <<END;
-</SELECT></TD></TR>
-<TR><TD ALIGN="right">Event</TD><TD><INPUT TYPE="text" NAME="event" VALUE="$hashref->{event}"></TD></TR>
-<TR><TD ALIGN="right">After</TD><TD><INPUT TYPE="text" NAME="days" VALUE="$days"> days</TD></TR>
-END
-
-print '<TR><TD ALIGN="right">Disabled</TD><TD>';
-print '<INPUT TYPE="checkbox" NAME="disabled" VALUE="Y"';
-print ' CHECKED' if $hashref->{disabled} eq "Y";
-print '>';
-print '</TD></TR>';
-
-print '<TR><TD ALIGN="right">Action</TD><TD>';
-
-#print ntable();
-
-sub select_pkgpart {
-  my $label = shift;
-  my $plandata = shift;
-  my %selected = map { $_=>1 } split(/,\s*/, $plandata->{$label});
-  qq(<SELECT NAME="$label" MULTIPLE>).
-  join("\n", map {
-    '<OPTION VALUE="'. $_->pkgpart. '"'.
-    ( $selected{$_->pkgpart} ? ' SELECTED' : '' ).
-    '>'. $_->pkg. ' - '. $_->comment
-  } qsearch('part_pkg', { 'disabled' => '' } ) ).
-  '</SELECT>';
-}
-
-sub select_agentnum {
-  my $plandata = shift;
-  #my $agentnum = $plandata->{'agentnum'};
-  my %agentnums = map { $_=>1 } split(/,\s*/, $plandata->{'agentnum'});
-  '<SELECT NAME="agentnum" MULTIPLE>'.
-  join("\n", map {
-    '<OPTION VALUE="'. $_->agentnum. '"'.
-    ( $agentnums{$_->agentnum} ? ' SELECTED' : '' ).
-    '>'. $_->agent
-  } qsearch('agent', { 'disabled' => '' } ) ).
-  '</SELECT>';
-}
-
-my $conf = new FS::Conf;
-my $money_char = $conf->config('money_char') || '$';
-
-#this is pretty kludgy right here.
-tie my %events, 'Tie::IxHash',
-
-  'fee' => {
-    'name'   => 'Late fee',
-    'code'   => '$cust_main->charge( %%%charge%%%, \'%%%reason%%%\' );',
-    'html'   => 
-      'Amount <INPUT TYPE="text" SIZE="7" NAME="charge" VALUE="%%%charge%%%">'.
-      '<BR>Reason <INPUT TYPE="text" NAME="reason" VALUE="%%%reason%%%">',
-    'weight' => 10,
-  },
-  'suspend' => {
-    'name'   => 'Suspend',
-    'code'   => '$cust_main->suspend();',
-    'weight' => 10,
-  },
-  'suspend' => {
-    'name'   => 'Suspend if balance (this invoice and previous) over',
-    'code'   => '$cust_bill->cust_suspend_if_balance_over( %%%balanceover%%% );',
-    'html'   => " $money_char ". '<INPUT TYPE="text" SIZE="7" NAME="balanceover" VALUE="%%%balanceover%%%">',
-    'weight' => 10,
-  },
-  'suspend-if-pkgpart' => {
-    'name'   => 'Suspend packages',
-    'code'   => '$cust_main->suspend_if_pkgpart(%%%if_pkgpart%%%);',
-    'html'   => sub { &select_pkgpart('if_pkgpart', @_) },
-    'weight' => 10,
-  },
-  'suspend-unless-pkgpart' => {
-    'name'   => 'Suspend packages except',
-    'code'   => '$cust_main->suspend_unless_pkgpart(%%%unless_pkgpart%%%);',
-    'html'   => sub { &select_pkgpart('unless_pkgpart', @_) },
-    'weight' => 10,
-  },
-  'cancel' => {
-    'name'   => 'Cancel',
-    'code'   => '$cust_main->cancel();',
-    'weight' => 10,
-  },
-
-  'addpost' => {
-    'name' => 'Add postal invoicing',
-    'code' => '$cust_main->invoicing_list_addpost(); "";',
-    'weight'  => 20,
-  },
-
-  'comp' => {
-    'name' => 'Pay invoice with a complimentary "payment"',
-    'code' => '$cust_bill->comp();',
-    'weight' => 30,
-  },
-
-  'realtime-card' => {
-    'name' => 'Run card with a <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> realtime gateway',
-    'code' => '$cust_bill->realtime_card();',
-    'weight' => 30,
-  },
-
-  'realtime-check' => {
-    'name' => 'Run check with a <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> realtime gateway',
-    'code' => '$cust_bill->realtime_ach();',
-    'weight' => 30,
-  },
-
-  'realtime-lec' => {
-    'name' => 'Run phone bill ("LEC") billing with a <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> realtime gateway',
-    'code' => '$cust_bill->realtime_lec();',
-    'weight' => 30,
-  },
-
-  'batch-card' => {
-    'name' => 'Add card to the pending credit card batch',
-    'code' => '$cust_bill->batch_card();',
-    'weight' => 40,
-  },
-
-  'send' => {
-    'name' => 'Send invoice (email/print)',
-    'code' => '$cust_bill->send();',
-    'weight' => 50,
-  },
-
-  'send_alternate' => {
-    'name' => 'Send invoice (email/print) with alternate template',
-    'code' => '$cust_bill->send(\'%%%templatename%%%\');',
-    'html' =>
-        '<INPUT TYPE="text" NAME="templatename" VALUE="%%%templatename%%%">',
-    'weight' => 50,
-  },
-
-  'send_if_newest' => {
-    'name' => 'Send invoice (email/print) with alternate template, if it is still the newest invoice (useful for late notices - set to 31 days or later)',
-    'code' => '$cust_bill->send_if_newest(\'%%%if_newest_templatename%%%\');',
-    'html' =>
-        '<INPUT TYPE="text" NAME="if_newest_templatename" VALUE="%%%if_newest_templatename%%%">',
-    'weight' => 50,
-  },
-
-  'send_agent' => {
-    'name' => 'Send invoice (email/print) ',
-    'code' => '$cust_bill->send(\'%%%agent_templatename%%%\', [ %%%agentnum%%% ], \'%%%agent_invoice_from%%%\');',
-    'html' => sub {
-        '<TABLE BORDER=0>
-          <TR>
-            <TD ALIGN="right">only for agent(s) </TD>
-            <TD>'. &select_agentnum(@_). '</TD>
-          </TR>
-          <TR>
-            <TD ALIGN="right">with template </TD>
-            <TD>
-              <INPUT TYPE="text" NAME="agent_templatename" VALUE="%%%agent_templatename%%%">
-            </TD>
-          </TR>
-          <TR>
-            <TD ALIGN="right">email From: </TD>
-            <TD>
-              <INPUT TYPE="text" NAME="agent_invoice_from" VALUE="%%%agent_invoice_from%%%">
-            </TD>
-          </TR>
-        </TABLE>';
-    },
-    'weight' => 50,
-  },
-
-  'send_csv_ftp' => {
-    'name' => 'Upload CSV invoice data to an FTP server',
-    'code' => '$cust_bill->send_csv( protocol   => \'ftp\',
-                                     server     => \'%%%ftpserver%%%\',
-                                     username   => \'%%%ftpusername%%%\',
-                                     password   => \'%%%ftppassword%%%\',
-                                     dir        => \'%%%ftpdir%%%\',
-                                     \'format\' => \'%%%ftpformat%%%\',
-                                   );',
-    'html' =>
-        '<TABLE BORDER=0>'.
-        '<TR><TD ALIGN="right">Format ("default" or "billco"): </TD>'.
-          '<TD>'.
-            '<!--'.
-            '<SELECT NAME="ftpformat">'.
-              '<OPTION VALUE="default">Default'.
-              '<OPTION VALUE="billco">Billco'.
-            '</SELECT>'.
-            '-->'.
-            '<INPUT TYPE="text" NAME="ftpformat" VALUE="%%%ftpformat%%%">'.
-          '</TD></TR>'.
-        '<TR><TD ALIGN="right">FTP server: </TD>'.
-          '<TD><INPUT TYPE="text" NAME="ftpserver" VALUE="%%%ftpserver%%%">'.
-          '</TD></TR>'.
-        '<TR><TD ALIGN="right">FTP username: </TD><TD>'.
-          '<INPUT TYPE="text" NAME="ftpusername" VALUE="%%%ftpusername%%%">'.
-          '</TD></TR>'.
-        '<TR><TD ALIGN="right">FTP password: </TD><TD>'.
-          '<INPUT TYPE="text" NAME="ftppassword" VALUE="%%%ftppassword%%%">'.
-          '</TD></TR>'.
-        '<TR><TD ALIGN="right">FTP directory: </TD>'.
-          '<TD><INPUT TYPE="text" NAME="ftpdir" VALUE="%%%ftpdir%%%">'.
-          '</TD></TR>'.
-        '</TABLE>',
-    'weight' => 50,
-  },
-
-  'spool_csv' => {
-    'name' => 'Spool CSV invoice data',
-    'code' => '$cust_bill->spool_csv(
-                 \'format\' => \'%%%spoolformat%%%\',
-                 \'dest\'   => \'%%%spooldest%%%\',
-                 \'agent_spools\' => \'%%%spoolagent_spools%%%\',
-               );',
-    'html' => sub {
-       my $plandata = shift;
-
-       my $html =
-       '<TABLE BORDER=0>'.
-       '<TR><TD ALIGN="right">Format: </TD>'.
-         '<TD>'.
-           '<SELECT NAME="spoolformat">';
-
-       foreach my $option (qw( default billco )) {
-         $html .= qq(<OPTION VALUE="$option");
-         $html .= ' SELECTED' if $option eq $plandata->{'spoolformat'};
-         $html .= ">\u$option";
-       }
-
-       $html .= 
-           '</SELECT>'.
-         '</TD></TR>'.
-       '<TR><TD ALIGN="right">For destination: </TD>'.
-         '<TD>'.
-           '<SELECT NAME="spooldest">';
-
-       tie my %dest, 'Tie::IxHash', 
-         ''      => '(all)',
-         'POST'  => 'Postal Mail',
-         'EMAIL' => 'Email',
-         'FAX'   => 'Fax',
-       ;
-
-       foreach my $dest (keys %dest) {
-         $html .= qq(<OPTION VALUE="$dest");
-         $html .= ' SELECTED' if $dest eq $plandata->{'spooldest'};
-         $html .= '>'. $dest{$dest};
-       }
-
-       $html .=
-           '</SELECT>'.
-         '</TD></TR>'.
-       '<TR><TD ALIGN="right">Individual per-agent spools? </TD>'.
-         '<TD><INPUT TYPE="checkbox" NAME="spoolagent_spools" VALUE="1" '.
-           ( $plandata->{'spoolagent_spools'} ? 'CHECKED' : '' ).
-           '>'.
-         '</TD></TR>'.
-       '</TABLE>';
-
-       $html;
-    },
-    'weight' => 50,
-  },
-
-  'bill' => {
-    'name' => 'Generate invoices (normally only used with a <i>Late Fee</i> event)',
-    'code' => '$cust_main->bill();',
-    'weight'  => 60,
-  },
-
-  'apply' => {
-    'name' => 'Apply unapplied payments and credits',
-    'code' => '$cust_main->apply_payments; $cust_main->apply_credits; "";',
-    'weight'  => 70,
-  },
-
-  'collect' => {
-    'name' => 'Collect on invoices (normally only used with a <i>Late Fee</i> and <i>Generate Invoice</i> events)',
-    'code' => '$cust_main->collect();',
-    'weight'  => 80,
-  },
-
-;
-
-foreach my $event ( keys %events ) {
-  my %plandata = map { /^(\w+) (.*)$/; ($1, $2); }
-                   split(/\n/, $part_bill_event->plandata);
-  my $html = $events{$event}{html};
-  if ( ref($html) eq 'CODE' ) {
-    $html = &{$html}(\%plandata);
-  }
-  while ( $html =~ /%%%(\w+)%%%/ ) {
-    my $field = $1;
-    $html =~ s/%%%$field%%%/$plandata{$field}/;
-  }
-
-  print ntable( "#cccccc", 2).
-        qq!<TR><TD><INPUT TYPE="radio" NAME="plan_weight_eventcode" !;
-  print "CHECKED " if $event eq $part_bill_event->plan;
-  print qq!VALUE="!.  $event. ":". $events{$event}{weight}. ":".
-        encode_entities($events{$event}{code}).
-        qq!">$events{$event}{name}</TD>!;
-  print '<TD>'. $html. '</TD>' if $html;
-  print qq!</TR>!;
-  print '</TABLE>';
-}
-
-#print '</TABLE>';
-
-print <<END;
-</TD></TR>
-</TABLE>
-END
-
-print qq!<INPUT TYPE="submit" VALUE="!,
-      $hashref->{eventpart} ? "Apply changes" : "Add invoice event",
-      qq!">!;
-%>
-
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi
deleted file mode 100644 (file)
index b3d42bd..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-<!-- mason kludge -->
-<%
-
-#if ( $cgi->param('clone') && $cgi->param('clone') =~ /^(\d+)$/ ) {
-#  $cgi->param('clone', $1);
-#} else {
-#  $cgi->param('clone', '');
-#}
-
-my($query) = $cgi->keywords;
-my $action = '';
-my $part_export = '';
-if ( $cgi->param('error') ) {
-  $part_export = new FS::part_export ( {
-    map { $_, scalar($cgi->param($_)) } fields('part_export')
-  } );
-} elsif ( $query =~ /^(\d+)$/ ) {
-  $part_export = qsearchs('part_export', { 'exportnum' => $1 } );
-} else {
-  $part_export = new FS::part_export;
-}
-$action ||= $part_export->exportnum ? 'Edit' : 'Add';
-
-#my $exports = FS::part_export::export_info($svcdb);
-my $exports = FS::part_export::export_info();
-
-my %layers = map { $_ => "$_ - ". $exports->{$_}{desc} } keys %$exports;
-$layers{''}='';
-
-my $widget = new HTML::Widgets::SelectLayers(
-  'selected_layer' => $part_export->exporttype,
-  'options'        => \%layers,
-  'form_name'      => 'dummy',
-  'form_action'    => 'process/part_export.cgi',
-  'form_text'      => [qw( exportnum machine )],
-#  'form_checkbox'  => [qw()],
-  'html_between'    => "</TD></TR></TABLE>\n",
-  'layer_callback'  => sub {
-    my $layer = shift;
-    my $html = qq!<INPUT TYPE="hidden" NAME="exporttype" VALUE="$layer">!.
-               ntable("#cccccc",2);
-
-    $html .= '<TR><TD ALIGN="right">Description</TD><TD BGCOLOR=#ffffff>'.
-             $exports->{$layer}{notes}. '</TD></TR>'
-      if $layer;
-
-    foreach my $option ( keys %{$exports->{$layer}{options}} ) {
-      my $optinfo = $exports->{$layer}{options}{$option};
-      die "Retreived non-ref export info option from $layer export: $optinfo"
-        unless ref($optinfo);
-      my $label = $optinfo->{label};
-      my $type = defined($optinfo->{type}) ? $optinfo->{type} : 'text';
-      my $value = $cgi->param($option)
-                 || ( $part_export->exportnum && $part_export->option($option) )
-                 || ( (exists $optinfo->{default} && !$part_export->exportnum)
-                      ? $optinfo->{default}
-                      : ''
-                    );
-      $html .= qq!<TR><TD ALIGN="right">$label</TD><TD>!;
-      if ( $type eq 'select' ) {
-        $html .= qq!<SELECT NAME="$option">!;
-        foreach my $select_option ( @{$optinfo->{options}} ) {
-          #if ( ref($select_option) ) {
-          #} else {
-            my $selected = $select_option eq $value ? ' SELECTED' : '';
-            $html .= qq!<OPTION VALUE="$select_option"$selected>!.
-                     qq!$select_option</OPTION>!;
-          #}
-        }
-        $html .= '</SELECT>';
-      } elsif ( $type eq 'textarea' ) {
-        $html .= qq!<TEXTAREA NAME="$option" COLS=80 ROWS=8 WRAP="virtual">!.
-                 encode_entities($value). '</TEXTAREA>';
-      } elsif ( $type eq 'text' ) {
-        $html .= qq!<INPUT TYPE="text" NAME="$option" VALUE="!.
-                 encode_entities($value). '" SIZE=64>';
-      } elsif ( $type eq 'checkbox' ) {
-        $html .= qq!<INPUT TYPE="checkbox" NAME="$option" VALUE="1"!;
-        $html .= ' CHECKED' if $value;
-        $html .= '>';
-      } else {
-        $html .= "unknown type $type";
-      }
-      $html .= '</TD></TR>';
-    }
-    $html .= '</TABLE>';
-
-    $html .= '<INPUT TYPE="hidden" NAME="options" VALUE="'.
-             join(',', keys %{$exports->{$layer}{options}} ). '">';
-
-    $html .= '<INPUT TYPE="hidden" NAME="nodomain" VALUE="'.
-             $exports->{$layer}{nodomain}. '">';
-
-    $html .= '<INPUT TYPE="submit" VALUE="'.
-             ( $part_export->exportnum ? "Apply changes" : "Add export" ).
-             '">';
-
-    $html;
-  },
-);
-
-%>
-<%= header("$action Export", menubar(
-  'Main Menu' => popurl(2),
-), ' onLoad="visualize()"')
-%>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-  <BR><BR>
-<% } %>
-
-<FORM NAME="dummy">
-<INPUT TYPE="hidden" NAME="exportnum" VALUE="<%= $part_export->exportnum %>">
-
-<%= ntable("#cccccc",2) %>
-<TR>
-  <TD ALIGN="right">Export host</TD>
-  <TD>
-    <INPUT TYPE="text" NAME="machine" VALUE="<%= $part_export->machine %>">
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Export</TD>
-  <TD><%= $widget->html %>
-</BODY>
-</HTML>
-
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
deleted file mode 100755 (executable)
index 60365f6..0000000
+++ /dev/null
@@ -1,335 +0,0 @@
-<%
-
-if ( $cgi->param('clone') && $cgi->param('clone') =~ /^(\d+)$/ ) {
-  $cgi->param('clone', $1);
-} else {
-  $cgi->param('clone', '');
-}
-if ( $cgi->param('pkgnum') && $cgi->param('pkgnum') =~ /^(\d+)$/ ) {
-  $cgi->param('pkgnum', $1);
-} else {
-  $cgi->param('pkgnum', '');
-}
-
-my ($query) = $cgi->keywords;
-
-my $part_pkg = '';
-if ( $cgi->param('error') ) {
-  $part_pkg = new FS::part_pkg ( {
-    map { $_, scalar($cgi->param($_)) } fields('part_pkg')
-  } );
-}
-
-my $action = '';
-my $clone_part_pkg = '';
-my $pkgpart = '';
-if ( $cgi->param('clone') ) {
-  $pkgpart = $cgi->param('clone');
-  $action = 'Custom Pricing';
-  $clone_part_pkg= qsearchs('part_pkg', { 'pkgpart' => $cgi->param('clone') } );
-  $part_pkg ||= $clone_part_pkg->clone;
-  $part_pkg->disabled('Y'); #isn't sticky on errors
-} elsif ( $query && $query =~ /^(\d+)$/ ) {
-  $part_pkg ||= qsearchs('part_pkg',{'pkgpart'=>$1});
-  $pkgpart = $part_pkg->pkgpart;
-} else {
-  unless ( $part_pkg ) {
-    $part_pkg = new FS::part_pkg {};
-    $part_pkg->plan('flat');
-  }
-}
-unless ( $part_pkg->plan ) { #backwards-compat
-  $part_pkg->plan('flat');
-  $part_pkg->plandata("setup_fee=". $part_pkg->setup. "\n".
-                      "recur_fee=". $part_pkg->recur. "\n");
-}
-$action ||= $part_pkg->pkgpart ? 'Edit' : 'Add';
-my $hashref = $part_pkg->hashref;
-
-%>
-
-<%= header("$action Package Definition", menubar(
-  'Main Menu' => popurl(2),
-  'View all packages' => popurl(2). 'browse/part_pkg.cgi',
-)) %>
-
-<% #), ' onLoad="visualize()"'); %>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-<% } %>
-
-<FORM NAME="dummy">
-
-<%= itable('',8,1) %><TR><TD VALIGN="top">
-
-Package information
-
-<%= ntable("#cccccc",2) %>
-  <TR>
-    <TD ALIGN="right">Package Definition #</TD>
-    <TD BGCOLOR="#ffffff">
-      <%= $hashref->{pkgpart} ? $hashref->{pkgpart} : "(NEW)" %>
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Package (customer-visible)</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="pkg" SIZE=32 VALUE="<%= $part_pkg->pkg %>">
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Comment (customer-hidden)</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="comment" SIZE=32 VALUE="<%=$part_pkg->comment%>">
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Promotional code</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="promo_code" SIZE=32 VALUE="<%=$part_pkg->promo_code%>">
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Disable new orders</TD>
-    <TD>
-      <INPUT TYPE="checkbox" NAME="disabled" VALUE="Y"<%= $hashref->{disabled} eq 'Y' ? ' CHECKED' : '' %>
-    </TD>
-  </TR>
-
-</TABLE>
-
-</TD><TD VALIGN="top">
-
-Tax information
-<%= ntable("#cccccc", 2) %>
-  <TR>
-    <TD ALIGN="right">Setup fee tax exempt</TD>
-    <TD>
-      <INPUT TYPE="checkbox" NAME="setuptax" VALUE="Y" <%= $hashref->{setuptax} eq 'Y' ? ' CHECKED' : '' %>>
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Recurring fee tax exempt</TD>
-    <TD>
-      <INPUT TYPE="checkbox" NAME="recurtax" VALUE="Y" <%= $hashref->{recurtax} eq 'Y' ? ' CHECKED' : '' %>>
-    </TD>
-  </TR>
-
-<% my $conf = new FS::Conf; %>
-<% if ( $conf->exists('enable_taxclasses') ) { %>
-
-  <TR>
-    <TD align="right">Tax class</TD>
-    <TD>
-      <%= include('/elements/select-taxclass.html', $hashref->{taxclass} ) %>
-    </TD>
-  </TR>
-
-<% } else { %>
-
-  <%= include('/elements/select-taxclass.html', $hashref->{taxclass} ) %>
-
-<% } %>
-
-</TABLE>
-
-</TD></TR></TABLE>
-
-<%
-
-my $thead =  "\n\n". ntable('#cccccc', 2).
-             '<TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH>';
-$thead .=  '<TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH>'
-  if dbdef->table('pkg_svc')->column('primary_svc');
-$thead .= '<TH BGCOLOR="#dcdcdc">Service</TH></TR>';
-
-%>
-
-<%= itable('', 4, 1) %><TR><TD VALIGN="top">
-<BR><BR>Services included
-<%= $thead %>
-
-<%
-
-my $where =  "WHERE disabled IS NULL OR disabled = ''";
-if ( $pkgpart ) {
-  $where .=  "   OR 0 < ( SELECT quantity FROM pkg_svc
-                           WHERE pkg_svc.svcpart = part_svc.svcpart
-                             AND pkgpart = $pkgpart
-                        )";
-}
-my @part_svc = qsearch('part_svc', {}, '', $where);
-my $q_part_pkg = $clone_part_pkg || $part_pkg;
-my %pkg_svc = map { $_->svcpart => $_ } $q_part_pkg->pkg_svc;
-
-my @fixups = ();
-my $count = 0;
-my $columns = 3;
-foreach my $part_svc ( @part_svc ) {
-  my $svcpart = $part_svc->svcpart;
-  my $pkg_svc = $pkg_svc{$svcpart}
-             || new FS::pkg_svc ( {
-                                   'pkgpart'     => $pkgpart,
-                                   'svcpart'     => $svcpart,
-                                   'quantity'    => 0,
-                                   'primary_svc' => '',
-                                } );
-
-  push @fixups, "pkg_svc$svcpart";
-
-%>
-
-  <TR>
-    <TD>
-      <INPUT TYPE="text" NAME="pkg_svc<%= $svcpart %>" SIZE=4 MAXLENGTH=3 VALUE="<%= $cgi->param("pkg_svc$svcpart") || $pkg_svc->quantity || 0 %>">
-    </TD>
-   
-    <TD>
-      <INPUT TYPE="radio" NAME="pkg_svc_primary" VALUE="<%= $svcpart %>" <%= $pkg_svc->primary_svc =~ /^Y/i ? ' CHECKED' : '' %>>
-    </TD>
-
-    <TD>
-      <A HREF="part_svc.cgi?<%= $part_svc->svcpart %>"><%= $part_svc->svc %></A>      <%= $part_svc->disabled =~ /^Y/i ? ' (DISABLED' : '' %>
-    </TD>
-  </TR>
-
-  <% $count++;
-     foreach ( 1 .. $columns-1 ) {
-       if ( $count == int( $_ * scalar(@part_svc) / $columns ) ) { 
-  %>
-         </TABLE></TD><TD VALIGN="top"><%= $thead %>
-
-  <%   }
-     }
-  %>
-
-<% } %>
-
-</TR></TABLE></TD></TR></TABLE>
-
-<% foreach my $f ( qw( clone pkgnum ) ) { %>
-  <INPUT TYPE="hidden" NAME="<%= $f %>" VALUE="<%= $cgi->param($f) %>">
-<% } %>
-<INPUT TYPE="hidden" NAME="pkgpart" VALUE="<%= $part_pkg->pkgpart %>">
-
-<%
-
-# prolly should be in database
-tie my %plans, 'Tie::IxHash', %{ FS::part_pkg::plan_info() };
-
-my %plandata = map { /^(\w+)=(.*)$/; ( $1 => $2 ); }
-                    split("\n", ($clone_part_pkg||$part_pkg)->plandata );
-#warn join("\n", map { "$_: $plandata{$_}" } keys %plandata ). "\n";
-
-tie my %options, 'Tie::IxHash', map { $_=>$plans{$_}->{'name'} } keys %plans;
-
-my @form_select = ();
-if ( $conf->exists('enable_taxclasses') ) {
-  push @form_select, 'taxclass';
-} else {
-  push @fixups, 'taxclass'; #hidden
-}
-
-my @form_radio = ();
-if ( dbdef->table('pkg_svc')->column('primary_svc') ) {
-  push @form_radio, 'pkg_svc_primary';
-}
-
-tie my %freq, 'Tie::IxHash', %FS::part_pkg::freq;
-if ( $part_pkg->dbdef_table->column('freq')->type =~ /(int)/i ) {
-  delete $freq{$_} foreach grep { ! /^\d+$/ } keys %freq;
-}
-
-my $widget = new HTML::Widgets::SelectLayers(
-  'selected_layer' => $part_pkg->plan,
-  'options'        => \%options,
-  'form_name'      => 'dummy',
-  'form_action'    => 'process/part_pkg.cgi',
-  'form_text'      => [ qw(pkg comment promo_code clone pkgnum pkgpart),
-                        @fixups
-                      ],
-  'form_checkbox'  => [ qw(setuptax recurtax disabled) ],
-  'form_radio'     => \@form_radio,
-  'form_select'    => \@form_select,
-  'layer_callback' => sub {
-    my $layer = shift;
-    my $html = qq!<INPUT TYPE="hidden" NAME="plan" VALUE="$layer">!.
-               ntable("#cccccc",2);
-    $html .= '
-      <TR>
-        <TD ALIGN="right">Recurring fee frequency </TD>
-        <TD><SELECT NAME="freq">
-    ';
-
-    my @freq = keys %freq;
-    @freq = grep { /^\d+$/ } @freq
-      if exists($plans{$layer}->{'freq'}) && $plans{$layer}->{'freq'} eq 'm';
-    foreach my $freq ( @freq ) {
-      $html .= qq(<OPTION VALUE="$freq");
-      $html .= ' SELECTED' if $freq eq $part_pkg->freq;
-      $html .= ">$freq{$freq}";
-    }
-    $html .= '</SELECT></TD></TR>';
-
-    my $href = $plans{$layer}->{'fields'};
-    foreach my $field ( exists($plans{$layer}->{'fieldorder'})
-                          ? @{$plans{$layer}->{'fieldorder'}}
-                          : keys %{ $href }
-                      ) {
-
-      $html .= '<TR><TD ALIGN="right">'. $href->{$field}{'name'}. '</TD><TD>';
-
-      if ( ! exists($href->{$field}{'type'}) ) {
-        $html .= qq!<INPUT TYPE="text" NAME="$field" VALUE="!.
-                 ( exists($plandata{$field})
-                     ? $plandata{$field}
-                     : $href->{$field}{'default'} ).
-                 qq!" onChange="fchanged(this)">!;
-      } elsif ( $href->{$field}{'type'} eq 'checkbox' ) {
-        $html .= qq!<INPUT TYPE="checkbox" NAME="$field" VALUE=1 !.
-                 ( exists($plandata{$field}) && $plandata{$field}
-                   ? ' CHECKED'
-                   : ''
-                 ). '>';
-      } elsif ( $href->{$field}{'type'} =~ /^select/ ) {
-        $html .= '<SELECT';
-        $html .= ' MULTIPLE'
-          if $href->{$field}{'type'} eq 'select_multiple';
-        $html .= qq! NAME="$field" onChange="fchanged(this)">!;
-        foreach my $record (
-          qsearch( $href->{$field}{'select_table'},
-                   $href->{$field}{'select_hash'}   )
-        ) {
-          my $value = $record->getfield($href->{$field}{'select_key'});
-          $html .= qq!<OPTION VALUE="$value"!.
-                   (  $plandata{$field} =~ /(^|, *)$value *(,|$)/
-                        ? ' SELECTED'
-                        : ''          ).
-                   '>'. $record->getfield($href->{$field}{'select_label'})
-        }
-        $html .= '</SELECT>';
-      }
-
-      $html .= '</TD></TR>';
-    }
-    $html .= '</TABLE>';
-
-    $html .= '<INPUT TYPE="hidden" NAME="plandata" VALUE="'.
-             join(',', keys %{ $href } ). '">'.
-             '<BR><BR>';
-             
-    $html .= '<INPUT TYPE="submit" VALUE="'.
-             ( $hashref->{pkgpart} ? "Apply changes" : "Add package" ).
-             '" onClick="fchanged(this)">';
-
-    $html;
-
-  },
-);
-
-%>
-
-<BR><BR>Price plan <%= $widget->html %>
-  </BODY>
-</HTML>
diff --git a/httemplate/edit/part_referral.cgi b/httemplate/edit/part_referral.cgi
deleted file mode 100755 (executable)
index f784dfa..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $part_referral;
-if ( $cgi->param('error') ) {
-  $part_referral = new FS::part_referral ( {
-    map { $_, scalar($cgi->param($_)) } fields('part_referral')
-  } );
-} elsif ( $cgi->keywords ) {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $part_referral = qsearchs( 'part_referral', { 'refnum' => $1 } );
-} else { #adding
-  $part_referral = new FS::part_referral {};
-}
-my $action = $part_referral->refnum ? 'Edit' : 'Add';
-my $hashref = $part_referral->hashref;
-
-my $p1 = popurl(1);
-print header("$action Advertising source", menubar(
-  'Main Menu' => popurl(2),
-  'View all advertising sources' => popurl(2). "browse/part_referral.cgi",
-));
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print qq!<FORM ACTION="${p1}process/part_referral.cgi" METHOD=POST>!;
-
-print qq!<INPUT TYPE="hidden" NAME="refnum" VALUE="$hashref->{refnum}">!;
-#print "Referral #", $hashref->{refnum} ? $hashref->{refnum} : "(NEW)";
-
-print <<END;
-Advertising source <INPUT TYPE="text" NAME="referral" SIZE=32 VALUE="$hashref->{referral}">
-END
-
-print qq!<BR><INPUT TYPE="submit" VALUE="!,
-      $hashref->{refnum} ? "Apply changes" : "Add advertising source",
-      qq!">!;
-
-print <<END;
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
deleted file mode 100755 (executable)
index 9749fc1..0000000
+++ /dev/null
@@ -1,290 +0,0 @@
-<%
-my $part_svc;
-my $clone = '';
-if ( $cgi->param('clone') && $cgi->param('clone') =~ /^(\d+)$/ ) {#clone
-  #$cgi->param('clone') =~ /^(\d+)$/ or die "malformed query: $query";
-  $part_svc = qsearchs('part_svc', { 'svcpart'=>$1 } )
-    or die "unknown svcpart: $1";
-  $clone = $part_svc->svcpart;
-  $part_svc->svcpart('');
-} elsif ( $cgi->keywords ) { #edit
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/ or die "malformed query: $query";
-  $part_svc=qsearchs('part_svc', { 'svcpart'=>$1 } )
-    or die "unknown svcpart: $1";
-} else { #adding
-  $part_svc = new FS::part_svc {};
-}
-
-my $action = $part_svc->svcpart ? 'Edit' : 'Add';
-my $hashref = $part_svc->hashref;
-#   my $p_svcdb = $part_svc->svcdb || 'svc_acct';
-
-
-           #" onLoad=\"visualize()\""
-%>
-<%= header("$action Service Definition",
-           menubar( 'Main Menu'         => $p,
-                    'View all service definitions' => "${p}browse/part_svc.cgi"
-                  ),
-           )
-%>
-
-<FORM NAME="dummy">
-
-      Service Part #<%= $part_svc->svcpart ? $part_svc->svcpart : "(NEW)" %>
-<BR><BR>
-Service  <INPUT TYPE="text" NAME="svc" VALUE="<%= $hashref->{svc} %>"><BR>
-Disable new orders <INPUT TYPE="checkbox" NAME="disabled" VALUE="Y"<%= $hashref->{disabled} eq 'Y' ? ' CHECKED' : '' %>><BR>
-<INPUT TYPE="hidden" NAME="svcpart" VALUE="<%= $hashref->{svcpart} %>">
-<BR>
-Services are items you offer to your customers.
-<UL><LI>svc_acct - Shell accounts, POP mailboxes, SLIP/PPP and ISDN accounts
-    <LI>svc_domain - Domains
-    <LI>svc_forward - mail forwarding
-    <LI>svc_www - Virtual domain website
-    <LI>svc_broadband - Broadband/High-speed Internet service
-    <LI>svc_external - Externally-tracked service
-<!--   <LI>svc_charge - One-time charges (Partially unimplemented)
-       <LI>svc_wo - Work orders (Partially unimplemented)
--->
-</UL>
-For the selected table, you can give fields default or fixed (unchangable)
-values.  For example, a SLIP/PPP account may have a default (or perhaps fixed)
-<B>slipip</B> of <B>0.0.0.0</B>, while a POP mailbox will probably have a fixed
-blank <B>slipip</B> as well as a fixed shell something like <B>/bin/true</B> or
-<B>/usr/bin/passwd</B>.
-<BR><BR>
-
-<%
-
-my %vfields;
-
-#these might belong somewhere else for other user interfaces 
-#pry need to eventually create stuff that's shared amount UIs
-my $conf = new FS::Conf;
-my %defs = (
-  'svc_acct' => {
-    'dir'       => 'Home directory',
-    'uid'       => 'UID (set to fixed and blank for no UIDs)',
-    'slipip'    => 'IP address',
-#    'popnum'    => qq!<A HREF="$p/browse/svc_acct_pop.cgi/">POP number</A>!,
-    'popnum'    => {
-                     desc => 'Access number',
-                     type => 'select',
-                     select_table => 'svc_acct_pop',
-                     select_key   => 'popnum',
-                     select_label => 'city',
-                   },
-    'username'  => {
-                      desc => 'Username',
-                      type => 'disabled',
-                   },
-    'quota'     => '',
-    '_password' => 'Password',
-    'gid'       => 'GID (when blank, defaults to UID)',
-    'shell'     => {
-                     desc =>'Shell (all service definitions should have a default or fixed shell that is present in the <b>shells</b> configuration file, set to blank for no shell tracking)',
-                     type =>'select',
-                     select_list => [ $conf->config('shells') ],
-                   },
-    'finger'    => 'GECOS',
-    'domsvc'    => {
-                     desc =>'svcnum from svc_domain',
-                     type =>'select',
-                     select_table => 'svc_domain',
-                     select_key   => 'svcnum',
-                     select_label => 'domain',
-                   },
-    'usergroup' => {
-                     desc =>'RADIUS groups',
-                     type =>'radius_usergroup_selector',
-                   },
-  },
-  'svc_domain' => {
-    'domain'    => 'Domain',
-  },
-  'svc_forward' => {
-    'srcsvc'    => 'service from which mail is to be forwarded',
-    'dstsvc'    => 'service to which mail is to be forwarded',
-    'dst'       => 'someone@another.domain.com to use when dstsvc is 0',
-  },
-#  'svc_charge' => {
-#    'amount'    => 'amount',
-#  },
-#  'svc_wo' => {
-#    'worker'    => 'Worker',
-#    '_date'      => 'Date',
-#  },
-  'svc_www' => {
-    #'recnum' => '',
-    #'usersvc' => '',
-  },
-  'svc_broadband' => {
-    'speed_down' => 'Maximum download speed for this service in Kbps.  0 denotes unlimited.',
-    'speed_up' => 'Maximum upload speed for this service in Kbps.  0 denotes unlimited.',
-    'ip_addr' => 'IP address.  Leave blank for automatic assignment.',
-    'blocknum' => 'Address block.',
-  },
-  'svc_external' => {
-    #'id' => '',
-    #'title' => '',
-  },
-);
-
-  foreach my $svcdb (grep dbdef->table($_), keys %defs ) {
-    my $self = "FS::$svcdb"->new;
-    $vfields{$svcdb} = {};
-    foreach my $field ($self->virtual_fields) { # svc_Common::virtual_fields with a null svcpart returns all of them
-      my $pvf = $self->pvf($field);
-      my @list = $pvf->list;
-      if (scalar @list) {
-        $defs{$svcdb}->{$field} = { desc        => $pvf->label,
-                                    type        => 'select',
-                                    select_list => \@list };
-      } else {
-        $defs{$svcdb}->{$field} = $pvf->label;
-      } #endif
-      $vfields{$svcdb}->{$field} = $pvf;
-      warn "\$vfields{$svcdb}->{$field} = $pvf";
-    } #next $field
-  } #next $svcdb
-  
-  my @dbs = $hashref->{svcdb}
-             ? ( $hashref->{svcdb} )
-             : qw( svc_acct svc_domain svc_forward svc_www svc_broadband svc_external );
-
-  tie my %svcdb, 'Tie::IxHash', map { $_=>$_ } grep dbdef->table($_), @dbs;
-  my $widget = new HTML::Widgets::SelectLayers(
-    #'selected_layer' => $p_svcdb,
-    'selected_layer' => $hashref->{svcdb} || 'svc_acct',
-    'options'        => \%svcdb,
-    'form_name'      => 'dummy',
-    #'form_action'    => 'process/part_svc.cgi',
-    'form_action'    => 'part_svc.cgi', #self
-    'form_text'      => [ qw( svc svcpart ) ],
-    'form_checkbox'  => [ 'disabled' ],
-    'layer_callback' => sub {
-      my $layer = shift;
-      
-      my $html = qq!<INPUT TYPE="hidden" NAME="svcdb" VALUE="$layer">!;
-
-      my $columns = 3;
-      my $count = 0;
-      my @part_export =
-        map { qsearch( 'part_export', {exporttype => $_ } ) }
-          keys %{FS::part_export::export_info($layer)};
-      $html .= '<BR><BR>'. table().
-               table(). "<TR><TH COLSPAN=$columns>Exports</TH></TR><TR>";
-      foreach my $part_export ( @part_export ) {
-        $html .= '<TD><INPUT TYPE="checkbox"'.
-                 ' NAME="exportnum'. $part_export->exportnum. '"  VALUE="1" ';
-        $html .= 'CHECKED'
-          if ( $clone || $part_svc->svcpart ) #null svcpart search causing error
-              && qsearchs( 'export_svc', {
-                                   exportnum => $part_export->exportnum,
-                                   svcpart   => $clone || $part_svc->svcpart });
-        $html .= '>'. $part_export->exportnum. ': '. $part_export->exporttype.
-                 ' to '. $part_export->machine. '</TD>';
-        $count++;
-        $html .= '</TR><TR>' unless $count % $columns;
-      }
-      $html .= '</TR></TABLE><BR><BR>';
-
-      $html .=  table(). "<TH>Field</TH><TH COLSPAN=2>Modifier</TH>";
-      #yucky kludge
-      my @fields = defined( dbdef->table($layer) )
-                      ? grep { $_ ne 'svcnum' } fields($layer)
-                      : ();
-      push @fields, 'usergroup' if $layer eq 'svc_acct'; #kludge
-      $part_svc->svcpart($clone) if $clone; #haha, undone below
-      foreach my $field (@fields) {
-        my $part_svc_column = $part_svc->part_svc_column($field);
-        my $value = $part_svc_column->columnvalue;
-        my $flag = $part_svc_column->columnflag;
-        my $def = $defs{$layer}{$field};
-        my $desc = ref($def) ? $def->{desc} : $def;
-        
-        $html .= "<TR><TD>$field";
-        $html .= "- <FONT SIZE=-1>$desc</FONT>" if $desc;
-        $html .=  "</TD>";
-        $flag = '' if ref($def) && $def->{type} eq 'disabled';
-        $html .=
-          qq!<TD><INPUT TYPE="radio" NAME="${layer}__${field}_flag" VALUE=""!.
-          ' CHECKED'x($flag eq ''). ">Off</TD>".
-          '<TD>';
-        unless ( ref($def) && $def->{type} eq 'disabled' ) {
-          $html .= 
-            qq!<INPUT TYPE="radio" NAME="${layer}__${field}_flag" VALUE="D"!.
-            ' CHECKED'x($flag eq 'D'). ">Default ".
-            qq!<INPUT TYPE="radio" NAME="${layer}__${field}_flag" VALUE="F"!.
-            ' CHECKED'x($flag eq 'F'). ">Fixed ";
-          $html .= '<BR>';
-        }
-        if ( ref($def) ) {
-          if ( $def->{type} eq 'select' ) {
-            $html .= qq!<SELECT NAME="${layer}__${field}">!;
-            $html .= '<OPTION> </OPTION>' unless $value;
-            if ( $def->{select_table} ) {
-              foreach my $record ( qsearch( $def->{select_table}, {} ) ) {
-                my $rvalue = $record->getfield($def->{select_key});
-                $html .= qq!<OPTION VALUE="$rvalue"!.
-                         ( $rvalue==$value ? ' SELECTED>' : '>' ).
-                         $record->getfield($def->{select_label}). '</OPTION>';
-              } #next $record
-            } else { # select_list
-              foreach my $item ( @{$def->{select_list}} ) {
-                $html .= qq!<OPTION VALUE="$item"!.
-                         ( $item eq $value ? ' SELECTED>' : '>' ).
-                         $item. '</OPTION>';
-              } #next $item
-            } #endif
-            $html .= '</SELECT>';
-          } elsif ( $def->{type} eq 'radius_usergroup_selector' ) {
-            $html .= FS::svc_acct::radius_usergroup_selector(
-              [ split(',', $value) ], "${layer}__${field}" );
-          } elsif ( $def->{type} eq 'disabled' ) {
-            $html .=
-              qq!<INPUT TYPE="hidden" NAME="${layer}__${field}" VALUE="">!;
-          } else {
-            $html .= '<font color="#ff0000">unknown type'. $def->{type};
-          }
-        } else {
-          $html .=
-            qq!<INPUT TYPE="text" NAME="${layer}__${field}" VALUE="$value">!;
-        }
-
-        if($vfields{$layer}->{$field}) {
-          $html .= qq!<BR><INPUT TYPE="radio" NAME="${layer}__${field}_flag" VALUE="X"!.
-          ' CHECKED'x($flag eq 'X'). ">Excluded ";
-        }
-        $html .= "</TD></TR>\n";
-      }
-      $part_svc->svcpart('') if $clone; #undone
-      $html .= "</TABLE>";
-
-      $html .= include('/elements/progress-init.html',
-                         $layer, #form name
-                         [ qw(svc svcpart disabled exportnum), @fields ],
-                         'process/part_svc.cgi',
-                         $p.'browse/part_svc.cgi',
-                         $layer,
-                      );
-      $html .= '<BR><INPUT NAME="submit" TYPE="button" VALUE="'.
-               ($hashref->{svcpart} ? 'Apply changes' : 'Add service'). '" '.
-               ' onClick="document.'. "$layer.submit.disabled=true; ".
-               "fixup(document.$layer); $layer". 'process();">';
-
-      #$html .= '<BR><INPUT TYPE="submit" VALUE="'.
-      #         ($hashref->{svcpart} ? 'Apply changes' : 'Add service'). '">';
-
-      $html;
-
-    },
-  );
-
-%>
-Table <%= $widget->html %>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/edit/part_virtual_field.cgi b/httemplate/edit/part_virtual_field.cgi
deleted file mode 100644 (file)
index fb10321..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-<!-- mason kludge -->
-<%
-my ($vfieldpart, $part_virtual_field);
-
-if ( $cgi->param('error') ) {
-  $part_virtual_field = new FS::part_virtual_field ( {
-    map { $_, scalar($cgi->param($_)) } fields('part_virtual_field')});
-  $vfieldpart = $part_virtual_field->vfieldpart;
-} else {
-  my($query) = $cgi->keywords;
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $vfieldpart=$1;
-    $part_virtual_field=qsearchs('part_virtual_field',
-        {'vfieldpart' => $vfieldpart})
-      or die "Unknown vfieldpart!";
-  
-  } else { #adding
-    $part_virtual_field = new FS::part_virtual_field({});
-  }
-}
-my $action = $part_virtual_field->vfieldpart ? 'Edit' : 'Add';
-
-my $p1 = popurl(1);
-print header("$action Virtual Field Definition", '');
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-%>
-<FORM ACTION="<%=$p1%>process/generic.cgi" METHOD="POST">
-
-<INPUT TYPE="hidden" NAME="table" VALUE="part_virtual_field">
-<INPUT TYPE="hidden" NAME="redirect_ok" 
-    VALUE="<%=popurl(2)%>browse/part_virtual_field.cgi">
-<INPUT TYPE="hidden" NAME="vfieldpart" VALUE="<%=
-  $vfieldpart%>">
-Field #<B><%=$vfieldpart or "(NEW)"%></B><BR><BR>
-
-<%=ntable("#cccccc",2)%>
-  <TR>
-    <TD ALIGN="right">Name</TD>
-    <TD><INPUT TYPE="text" NAME="name" MAXLENGTH=15 VALUE="<%=
-    $part_virtual_field->name%>"></TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Table</TD>
-    <TD><% if ($action eq 'Add') { %>
-      <SELECT SIZE=1 NAME="dbtable"><%
-        my $dbdef = dbdef;  # ick
-        foreach my $dbtable (sort { $a cmp $b } $dbdef->tables) {
-          if ($dbtable !~ /^h_/
-          and $dbdef->table($dbtable)->primary_key) { %>
-            <OPTION VALUE="<%=$dbtable%>"><%=$dbtable%></OPTION><%
-          }
-        }
-      %></SELECT><%
-    } else { # Edit
-    %><%=$part_virtual_field->dbtable%>
-    <INPUT TYPE="hidden" NAME="dbtable" VALUE="<%=$part_virtual_field->dbtable%>">
- <% } %>
-    </TD>
-  <TR>
-    <TD ALIGN="right">Label</TD>
-    <TD><INPUT TYPE="text" NAME="label" MAXLENGTH="20" VALUE="<%=
-    $part_virtual_field->label%>"></TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Length</TD>
-    <TD><INPUT TYPE="text" NAME="length" MAXLENGTH=4 VALUE="<%=
-    $part_virtual_field->length%>"></TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Check</TD>
-    <TD><TEXTAREA COLS="20" ROWS="4" NAME="check_block"><%=
-    $part_virtual_field->check_block%></TEXTAREA></TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">List source</TD>
-    <TD><TEXTAREA COLS="20" ROWS="4" NAME="list_source"><%=
-    $part_virtual_field->list_source%></TEXTAREA></TD>
-  </TR>
-</TABLE><BR><INPUT TYPE="submit" VALUE="Submit">
-
-</FORM>
-
-<BR><BR>
-<FONT SIZE=-2>If you don't understand what <I>check_block</I> and 
-<I>list_source</I> mean, <B>LEAVE THEM BLANK</B>.  We mean it.</FONT>
-
-
-</BODY>
-</HTML>
diff --git a/httemplate/edit/payment_gateway.html b/httemplate/edit/payment_gateway.html
deleted file mode 100644 (file)
index 33cc236..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-<%
-
-my $payment_gateway;
-if ( $cgi->param('error') ) {
-  $payment_gateway = new FS::payment_gateway ( {
-    map { $_, scalar($cgi->param($_)) } fields('payment_gateway')
-  } );
-} elsif ( $cgi->keywords ) {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $payment_gateway = qsearchs( 'payment_gateway', { 'gatewaynum' => $1 } );
-} else { #adding
-  $payment_gateway = new FS::payment_gateway {};
-}
-my $action = $payment_gateway->gatewaynum ? 'Edit' : 'Add';
-#my $hashref = $payment_gateway->hashref;
-
-%>
-
-<%= header("$action Payment gateway", menubar(
-  'Main Menu' => $p,
-  'View all payment gateways' => $p. 'browse/payment_gateway.html',
-)) %>
-
-<% if ( $cgi->param('error') ) { %>
-<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-<% } %>
-
-<FORM ACTION="<%=popurl(1)%>process/payment_gateway.html" METHOD=POST>
-<INPUT TYPE="hidden" NAME="gatewaynum" VALUE="<%= $payment_gateway->gatewaynum %>">
-Gateway #<%= $payment_gateway->gatewaynum || "(NEW)" %>
-
-<%= ntable('#cccccc', 2, '') %>
-
-<TR>
-  <TH ALIGN="right">Gateway: </TH>
-  <TD><SELECT NAME="gateway_module" SIZE=1>
-    <% foreach my $module ( qw(
-         2CheckOut
-         AuthorizeNet
-         BankOfAmerica
-         Beanstream
-         Capstone
-         Cardstream
-         CashCow
-         CyberSource
-         eSec
-         eSelectPlus
-         Exact
-         iAuthorizer
-         IPaymentTPG
-         Jettis
-         LinkPoint
-         MerchantCommerce
-         Network1Financial
-         OCV
-         OpenECHO
-         PayConnect
-         PayflowPro
-         PaymentsGateway
-         PXPost
-         SecureHostingUPG
-         Skipjack
-         StGeorge
-         SurePay
-         TCLink
-         TransactionCentral
-         VirtualNet
-       ) ) {
-    %>
-      <OPTION VALUE="<%= $module %>"><%= $module %>
-    <% } %>
-    </SELECT>
-  </TD>
-</TR>
-
-<TR>
-  <TH ALIGN="right">Username: </TH>
-  <TD><INPUT TYPE="text" NAME="gateway_username"></TD>
-</TR>
-
-<TR>
-  <TH ALIGN="right">Password: </TH>
-  <TD><INPUT TYPE="text" NAME="gateway_password"></TD>
-</TR>
-
-<TR>
-  <TH ALIGN="right">Action: </TH>
-  <TD>
-    <SELECT NAME="gateway_action" SIZE=1>
-      <OPTION VALUE="Normal Authorization">Normal Authorization
-      <OPTION VALUE="Authorization Only">Authorization Only
-      <OPTION VALUE="Authorization Only, Post Authorization">Authorization Only, Post Authorization
-    </SELECT>
-  </TD>
-</TR>
-
-<TR>
-  <TH ALIGN="right">Options: </TH>
-  <TD><TEXTAREA ROWS="5" NAME="gateway_options"></TEXTAREA></TD>
-</TR>
-
-</TABLE>
-
-<BR><INPUT TYPE="submit" VALUE="<%= $payment_gateway->gatewaynum ? "Apply changes" : "Add gateway" %>">
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/edit/prepay_credit.cgi b/httemplate/edit/prepay_credit.cgi
deleted file mode 100644 (file)
index 9cf0fc6..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<%
-my $agent = '';
-my $agentnum = '';
-if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-  $agent = qsearchs('agent', { 'agentnum' => $agentnum=$1 } );
-}
-
-tie my %multiplier, 'Tie::IxHash',
-  1    => 'seconds',
-  60   => 'minutes',
-  3600 => 'hours',
-;
-
-$cgi->param('multiplier', '60') unless $cgi->param('multiplier');
-
-%>
-
-<%= header('Generate prepaid cards'. ($agent ? ' for '. $agent->agent : ''),
-           menubar( 'Main Menu' => $p, ))
-%>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#FF0000">Error: <%= $cgi->param('error') %></FONT>
-<% } %>
-
-<FORM ACTION="<%=popurl(1)%>process/prepay_credit.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submit.disabled=true">
-
-Generate
-<INPUT TYPE="text" NAME="num" VALUE="<%= $cgi->param('num') || '(quantity)' %>" SIZE=10 MAXLENGTH=10 onFocus="if ( this.value == '(quantity)' ) { this.value = ''; }">
-<SELECT NAME="type">
-<% foreach (qw(alpha alphanumeric numeric)) { %>
-  <OPTION<%= $cgi->param('type') eq $_ ? ' SELECTED' : '' %>><%= $_ %>
-<% } %>
-</SELECT>
- prepaid cards
-
-<BR>for <SELECT NAME="agentnum"><OPTION>(any agent)
-<% foreach my $opt_agent ( qsearch('agent', { 'disabled' => '' } ) ) { %>
-  <OPTION VALUE="<%= $opt_agent->agentnum %>"<%= $opt_agent->agentnum == $agentnum ? ' SELECTED' : '' %>><%= $opt_agent->agent %>
-<% } %>
-</SELECT>
-
-<BR>Value: 
-$<INPUT TYPE="text" NAME="amount" SIZE=8 MAXLENGTH=7 VALUE="<%= $cgi->param('amount') %>">
-and/or
-<INPUT TYPE="text" NAME="seconds" SIZE=6 MAXLENGTH=5 VALUE="<%= $cgi->param('seconds') %>">
-<SELECT NAME="multiplier">
-<% foreach my $multiplier ( keys %multiplier ) { %>
-  <OPTION VALUE="<%= $multiplier %>"<%= $cgi->param('multiplier') eq $multiplier ? ' SELECTED' : '' %>><%= $multiplier{$multiplier} %>
-<% } %>
-</SELECT>
-<BR><BR>
-<INPUT TYPE="submit" NAME="submit" VALUE="Generate" onSubmit="this.disabled = true">
-
-</FORM></BODY></HTML>
-
diff --git a/httemplate/edit/process/REAL_cust_pkg.cgi b/httemplate/edit/process/REAL_cust_pkg.cgi
deleted file mode 100755 (executable)
index 84d0cc1..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<%
-
-my $pkgnum = $cgi->param('pkgnum') or die;
-my $old = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-my %hash = $old->hash;
-$hash{'setup'} = $cgi->param('setup') ? str2time($cgi->param('setup')) : '';
-$hash{'bill'} = $cgi->param('bill') ? str2time($cgi->param('bill')) : '';
-$hash{'last_bill'} =
-  $cgi->param('last_bill') ? str2time($cgi->param('last_bill')) : '';
-$hash{'expire'} = $cgi->param('expire') ? str2time($cgi->param('expire')) : '';
-
-my $new;
-my $error;
-if ( $hash{'bill'} != $old->bill        # if the next bill date was changed
-     && $hash{'bill'} < time            # to a date in the past
-     && ! $cgi->param('bill_areyousure') # and it wasn't confirmed
-   )
-{
-  $error = '_bill_areyousure';
-} else {
-  $new = new FS::cust_pkg \%hash;
-  $error = $new->replace($old);
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "REAL_cust_pkg.cgi?". $cgi->query_string );
-} else { 
-  my $custnum = $new->custnum;
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum".
-                       "#cust_pkg$pkgnum" );
-}
-
-%>
diff --git a/httemplate/edit/process/addr_block/add.cgi b/httemplate/edit/process/addr_block/add.cgi
deleted file mode 100755 (executable)
index 34d799c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-
-my $error = '';
-my $ip_gateway = $cgi->param('ip_gateway');
-my $ip_netmask = $cgi->param('ip_netmask');
-
-my $new = new FS::addr_block {
-    ip_gateway => $ip_gateway,
-    ip_netmask => $ip_netmask,
-    routernum  => 0 };
-
-$error = $new->insert;
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi?". $cgi->query_string );
-} else { 
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi");
-} 
-%>
diff --git a/httemplate/edit/process/addr_block/allocate.cgi b/httemplate/edit/process/addr_block/allocate.cgi
deleted file mode 100755 (executable)
index 85b0d7a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<%
-my $error = '';
-my $blocknum = $cgi->param('blocknum');
-my $routernum = $cgi->param('routernum');
-
-my $addr_block = qsearchs('addr_block', { blocknum => $blocknum });
-my $router = qsearchs('router', { routernum => $routernum });
-
-if($addr_block) {
-  if ($router) {
-    $error = $addr_block->allocate($router);
-  } else {
-    $error = "Cannot find router with routernum $routernum";
-  }
-} else {
-  $error = "Cannot find block with blocknum $blocknum";
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi?" . $cgi->query_string);
-} else { 
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi");
-}
-%>
diff --git a/httemplate/edit/process/addr_block/deallocate.cgi b/httemplate/edit/process/addr_block/deallocate.cgi
deleted file mode 100755 (executable)
index cfb7ed0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<%
-my $error = '';
-my $blocknum = $cgi->param('blocknum');
-
-my $addr_block = qsearchs('addr_block', { blocknum => $blocknum });
-
-if($addr_block) {
-  my $router = $addr_block->router;
-  if ($router) {
-    $error = $addr_block->deallocate($router);
-  } else {
-    $error = "Block is not allocated to a router";
-  }
-} else {
-  $error = "Cannot find block with blocknum $blocknum";
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi?" . $cgi->query_string);
-} else { 
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi");
-}
-%>
diff --git a/httemplate/edit/process/addr_block/split.cgi b/httemplate/edit/process/addr_block/split.cgi
deleted file mode 100755 (executable)
index bb6d4ba..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-my $error = '';
-my $blocknum = $cgi->param('blocknum');
-my $addr_block = qsearchs('addr_block', { blocknum => $blocknum });
-
-if ( $addr_block) {
-  $error = $addr_block->split_block;
-} else {
-  $error = "Unknown blocknum: $blocknum";
-}
-
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi?". $cgi->query_string );
-} else { 
-  print $cgi->redirect(popurl(4). "browse/addr_block.cgi");
-} 
-%>
diff --git a/httemplate/edit/process/agent.cgi b/httemplate/edit/process/agent.cgi
deleted file mode 100755 (executable)
index 182eeab..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-
-my $agentnum = $cgi->param('agentnum');
-
-my $old = qsearchs('agent',{'agentnum'=>$agentnum}) if $agentnum;
-
-my $new = new FS::agent ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('agent')
-} );
-
-my $error;
-if ( $agentnum ) {
-  $error=$new->replace($old);
-} else {
-  $error=$new->insert;
-  $agentnum=$new->getfield('agentnum');
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "agent.cgi?". $cgi->query_string );
-} else { 
-  print $cgi->redirect(popurl(3). "browse/agent.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/agent_payment_gateway.html b/httemplate/edit/process/agent_payment_gateway.html
deleted file mode 100644 (file)
index c306bfa..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<%
-
-$cgi->param('agentnum') =~ /(\d+)$/ or die "illegal agentnum";
-my $agent = qsearchs('agent', { 'agentnum' => $1 } );
-die "agentnum $1 not found" unless $agent;
-
-#my $old
-
-my @new = map {
-                my $cardtype = $_;
-                new FS::agent_payment_gateway {
-                  ( map { $_ => scalar($cgi->param($_)) }
-                                    fields('agent_payment_gateway')
-                  ),
-                  'cardtype' => $cardtype,
-                };
-              }
-              $cgi->param('cardtype');
-
-foreach my $new (@new) {
-  my $error = $new->insert;
-  die $error if $error;
-}
-
-%><%= $cgi->redirect(popurl(3). "browse/agent.cgi") %>
diff --git a/httemplate/edit/process/agent_type.cgi b/httemplate/edit/process/agent_type.cgi
deleted file mode 100755 (executable)
index 5165945..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<%
-
-my $typenum = $cgi->param('typenum');
-my $old = qsearchs('agent_type',{'typenum'=>$typenum}) if $typenum;
-
-my $new = new FS::agent_type ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('agent_type')
-} );
-
-my $error;
-if ( $typenum ) {
-  $error=$new->replace($old);
-} else {
-  $error=$new->insert;
-  $typenum=$new->getfield('typenum');
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "agent_type.cgi?". $cgi->query_string );
-} else {
-
-  #false laziness w/ edit/process/part_svc.cgi
-  foreach my $part_pkg (qsearch('part_pkg',{})) {
-    my($pkgpart)=$part_pkg->getfield('pkgpart');
-
-    my($type_pkgs)=qsearchs('type_pkgs',{
-        'typenum' => $typenum,
-        'pkgpart' => $pkgpart,
-    });
-    if ( $type_pkgs && ! $cgi->param("pkgpart$pkgpart") ) {
-      my($d_type_pkgs)=$type_pkgs; #need to save $type_pkgs for below.
-      $error=$d_type_pkgs->delete;
-      die $error if $error;
-
-    } elsif ( $cgi->param("pkgpart$pkgpart")
-              && ! $type_pkgs
-    ) {
-      #ok to clobber it now (but bad form nonetheless?)
-      $type_pkgs=new FS::type_pkgs ({
-        'typenum' => $typenum,
-        'pkgpart' => $pkgpart,
-      });
-      $error= $type_pkgs->insert;
-      die $error if $error;
-    }
-
-  }
-
-  print $cgi->redirect(popurl(3). "browse/agent_type.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/bulk-cust_svc.cgi b/httemplate/edit/process/bulk-cust_svc.cgi
deleted file mode 100644 (file)
index dd9d1db..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<%
-  my $server = new FS::UI::Web::JSRPC 'FS::part_svc::process_bulk_cust_svc', $cgi;
-%><%= $server->process %>
diff --git a/httemplate/edit/process/cust_bill_pay.cgi b/httemplate/edit/process/cust_bill_pay.cgi
deleted file mode 100755 (executable)
index 0025b16..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-
-$cgi->param('paynum') =~ /^(\d*)$/ or die "Illegal paynum!";
-my $paynum = $1;
-
-my $cust_pay = qsearchs('cust_pay', { 'paynum' => $paynum } )
-  or die "No such paynum";
-
-my $cust_main = qsearchs('cust_main', { 'custnum' => $cust_pay->custnum } )
-  or die "Bogus credit:  not attached to customer";
-
-my $custnum = $cust_main->custnum;
-
-my $new;
-if ($cgi->param('invnum') =~ /^Refund$/) {
-  $new = new FS::cust_refund ( {
-    'reason'  => 'Refunding payment', #enter reason in UI
-    'refund'  => $cgi->param('amount'),
-    'payby'   => 'BILL',
-    #'_date'   => $cgi->param('_date'),
-    'payinfo' => 'Cash', #enter payinfo in UI
-    'paynum' => $paynum,
-  } );
-} else {
-  $new = new FS::cust_bill_pay ( {
-    map {
-      $_, scalar($cgi->param($_));
-    #} qw(custnum _date amount invnum)
-    } fields('cust_bill_pay')
-  } );
-}
-
-my $error = $new->insert;
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "cust_bill_pay.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
-}
-
-
-%>
diff --git a/httemplate/edit/process/cust_credit.cgi b/httemplate/edit/process/cust_credit.cgi
deleted file mode 100755 (executable)
index 85bfd44..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<%
-
-$cgi->param('custnum') =~ /^(\d*)$/ or die "Illegal custnum!";
-my $custnum = $1;
-
-my $new = new FS::cust_credit ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('cust_credit')
-} );
-
-my $error = $new->insert;
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "cust_credit.cgi?". $cgi->query_string );
-} else {
-  if ( $cgi->param('apply') eq 'yes' ) {
-    my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum })
-      or die "unknown custnum $custnum";
-    $cust_main->apply_credits;
-  }
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
-}
-
-%>
diff --git a/httemplate/edit/process/cust_credit_bill.cgi b/httemplate/edit/process/cust_credit_bill.cgi
deleted file mode 100755 (executable)
index 28f892f..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<%
-
-$cgi->param('crednum') =~ /^(\d*)$/ or die "Illegal crednum!";
-my $crednum = $1;
-
-my $cust_credit = qsearchs('cust_credit', { 'crednum' => $crednum } )
-  or die "No such crednum";
-
-my $cust_main = qsearchs('cust_main', { 'custnum' => $cust_credit->custnum } )
-  or die "Bogus credit:  not attached to customer";
-
-my $custnum = $cust_main->custnum;
-
-my $new;
-if ($cgi->param('invnum') =~ /^Refund$/) {
-  $new = new FS::cust_refund ( {
-    'reason'  => ( $cust_credit->reason || 'refund from credit' ),
-    'refund'  => $cgi->param('amount'),
-    'payby'   => 'BILL',
-    #'_date'   => $cgi->param('_date'),
-    #'payinfo' => 'Cash',
-    'payinfo' => 'Refund',
-    'crednum' => $crednum,
-  } );
-} else {
-  $new = new FS::cust_credit_bill ( {
-    map {
-      $_, scalar($cgi->param($_));
-    #} qw(custnum _date amount invnum)
-    } fields('cust_credit_bill')
-  } );
-}
-
-my $error = $new->insert;
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "cust_credit_bill.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
-}
-
-
-%>
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi
deleted file mode 100755 (executable)
index 09a4254..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-<%
-
-my $error = '';
-
-#unmunge stuff
-
-$cgi->param('tax','') unless defined $cgi->param('tax');
-
-$cgi->param('refnum', (split(/:/, ($cgi->param('refnum'))[0] ))[0] );
-
-#my $payby = $cgi->param('payby');
-my $payby = $cgi->param('select'); # XXX key
-
-my %noauto = (
-  'CARD' => 'DCRD',
-  'CHEK' => 'DCHK',
-);
-$payby = $noauto{$payby}
-  if ! $cgi->param('payauto') && exists $noauto{$payby};
-
-$cgi->param('payby', $payby);
-
-if ( $payby ) {
-  if ( $payby eq 'CHEK' || $payby eq 'DCHK' ) {
-    $cgi->param('payinfo',
-      $cgi->param('payinfo1'). '@'. $cgi->param('payinfo2') );
-  }
-  $cgi->param('paydate',
-    $cgi->param( 'exp_month' ). '-'. $cgi->param( 'exp_year' ) );
-}
-
-my @invoicing_list = split( /\s*\,\s*/, $cgi->param('invoicing_list') );
-push @invoicing_list, 'POST' if $cgi->param('invoicing_list_POST');
-push @invoicing_list, 'FAX' if $cgi->param('invoicing_list_FAX');
-$cgi->param('invoicing_list', join(',', @invoicing_list) );
-
-
-#create new record object
-
-my $new = new FS::cust_main ( {
-  map {
-    $_, scalar($cgi->param($_))
-#  } qw(custnum agentnum last first ss company address1 address2 city county
-#       state zip daytime night fax payby payinfo paydate payname tax
-#       otaker refnum)
-  } fields('cust_main')
-} );
-
-if ( defined($cgi->param('same')) && $cgi->param('same') eq "Y" ) {
-  $new->setfield("ship_$_", '') foreach qw(
-    last first company address1 address2 city county state zip
-    country daytime night fax
-  );
-}
-
-$new->setfield('paid', $cgi->param('paid') )
-  if $cgi->param('paid');
-
-#perhaps this stuff should go to cust_main.pm
-my $cust_pkg = '';
-my $svc_acct = '';
-if ( $new->custnum eq '' ) {
-
-  if ( $cgi->param('pkgpart_svcpart') ) {
-    my $x = $cgi->param('pkgpart_svcpart');
-    $x =~ /^(\d+)_(\d+)$/ or die "illegal pkgpart_svcpart $x\n";
-    my($pkgpart, $svcpart) = ($1, $2);
-    #false laziness: copied from FS::cust_pkg::order (which should become a
-    #FS::cust_main method)
-    my(%part_pkg);
-    # generate %part_pkg
-    # $part_pkg{$pkgpart} is true iff $custnum may purchase $pkgpart
-    my $agent = qsearchs('agent',{'agentnum'=> $new->agentnum });
-       #my($type_pkgs);
-       #foreach $type_pkgs ( qsearch('type_pkgs',{'typenum'=> $agent->typenum }) ) {
-       #  my($pkgpart)=$type_pkgs->pkgpart;
-       #  $part_pkg{$pkgpart}++;
-       #}
-    # $pkgpart_href->{PKGPART} is true iff $custnum may purchase $pkgpart
-    my $pkgpart_href = $agent->pkgpart_hashref;
-    #eslaf
-
-    # this should wind up in FS::cust_pkg!
-    $error ||= "Agent ". $new->agentnum. " (type ". $agent->typenum. ") can't ".
-               "purchase pkgpart ". $pkgpart
-      #unless $part_pkg{ $pkgpart };
-      unless $pkgpart_href->{ $pkgpart };
-
-    $cust_pkg = new FS::cust_pkg ( {
-      #later         'custnum' => $custnum,
-      'pkgpart' => $pkgpart,
-    } );
-    #$error ||= $cust_pkg->check;
-
-    #$cust_svc = new FS::cust_svc ( { 'svcpart' => $svcpart } );
-
-    #$error ||= $cust_svc->check;
-
-    $svc_acct = new FS::svc_acct ( {
-                                     'svcpart'   => $svcpart,
-                                     'username'  => $cgi->param('username'),
-                                     '_password' => $cgi->param('_password'),
-                                     'popnum'    => $cgi->param('popnum'),
-                                   } );
-
-    my $y = $svc_acct->setdefault; # arguably should be in new method
-    $error ||= $y unless ref($y);
-    #and just in case you were silly
-    $svc_acct->svcpart($svcpart);
-    $svc_acct->username($cgi->param('username'));
-    $svc_acct->_password($cgi->param('_password'));
-    $svc_acct->popnum($cgi->param('popnum'));
-
-    #$error ||= $svc_acct->check;
-
-  } elsif ( $cgi->param('username') ) { #good thing to catch
-    $error = "Can't assign username without a package!";
-  }
-
-  use Tie::RefHash;
-  tie my %hash, 'Tie::RefHash';
-  %hash = ( $cust_pkg => [ $svc_acct ] ) if $cust_pkg;
-  $error ||= $new->insert( \%hash, \@invoicing_list );
-
-  my $conf = new FS::Conf;
-  if ( $conf->exists('backend-realtime') && ! $error ) {
-
-    my $berror = $new->bill;
-    $new->apply_payments;
-    $new->apply_credits;
-    $berror ||= $new->collect;
-    warn "Warning, error billing during backend-realtime: $berror" if $berror;
-
-  }
-  
-} else { #create old record object
-
-  my $old = qsearchs( 'cust_main', { 'custnum' => $new->custnum } ); 
-  $error ||= "Old record not found!" unless $old;
-  if ( defined dbdef->table('cust_main')->column('paycvv')
-       && length($old->paycvv)
-       && $new->paycvv =~ /^\s*\*+\s*$/ ) {
-    $new->paycvv($old->paycvv);
-  }
-  $error ||= $new->replace($old, \@invoicing_list);
-  
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "cust_main.cgi?". $cgi->query_string );
-} else { 
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?". $new->custnum);
-} 
-%>
diff --git a/httemplate/edit/process/cust_main_county-collapse.cgi b/httemplate/edit/process/cust_main_county-collapse.cgi
deleted file mode 100755 (executable)
index 5da9dea..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<%
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ or die "Illegal taxnum!";
-my $taxnum = $1;
-my $cust_main_county = qsearchs('cust_main_county', { 'taxnum' => $taxnum } )
-  or die "Unknown taxnum $taxnum";
-
-#really should do this in a .pm & start transaction
-
-foreach my $delete ( qsearch('cust_main_county', {
-                    'country' => $cust_main_county->country,
-                    'state' => $cust_main_county->state  
-                 } ) ) {
-#  unless ( qsearch('cust_main',{
-#    'state'  => $cust_main_county->getfield('state'),
-#    'county' => $cust_main_county->getfield('county'),
-#    'country' =>  $cust_main_county->getfield('country'),
-#  } ) ) {
-    my $error = $delete->delete;
-    die $error if $error;
-#  } else {
-    #should really fix the $cust_main record
-#  }
-
-}
-
-$cust_main_county->taxnum('');
-$cust_main_county->county('');
-my $error = $cust_main_county->insert;
-die $error if $error;
-
-print $cgi->redirect(popurl(3). "browse/cust_main_county.cgi");
-
-%>
diff --git a/httemplate/edit/process/cust_main_county-expand.cgi b/httemplate/edit/process/cust_main_county-expand.cgi
deleted file mode 100755 (executable)
index a452711..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<%
-
-$cgi->param('taxnum') =~ /^(\d+)$/ or die "Illegal taxnum!";
-my $taxnum = $1;
-my $cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum})
-  or die ("Unknown taxnum!");
-
-my @expansion;
-if ( $cgi->param('delim') eq 'n' ) {
-  @expansion=split(/\n/,$cgi->param('expansion'));
-} elsif ( $cgi->param('delim') eq 's' ) {
-  @expansion=split(' ',$cgi->param('expansion'));
-} else {
-  die "Illegal delim!";
-}
-
-@expansion=map {
-  unless ( /^\s*([\w\- ]+)\s*$/ ) {
-    $cgi->param('error', "Illegal item in expansion");
-    print $cgi->redirect(popurl(2). "cust_main_county-expand.cgi?". $cgi->query_string );
-    myexit();
-  }
-  $1;
-} @expansion;
-
-foreach ( @expansion) {
-  my(%hash)=$cust_main_county->hash;
-  my($new)=new FS::cust_main_county \%hash;
-  $new->setfield('taxnum','');
-  if ( $cgi->param('taxclass') ) {
-    $new->setfield('taxclass', $_);
-  } elsif ( ! $cust_main_county->state ) {
-    $new->setfield('state',$_);
-  } else {
-    $new->setfield('county',$_);
-  }
-  #if (datasrc =~ m/Pg/)
-  #{
-  #    $new->setfield('tax',0.0);
-  #}
-  my($error)=$new->insert;
-  die $error if $error;
-}
-
-unless ( qsearch( 'cust_main', {
-                                 'state'  => $cust_main_county->state,
-                                 'county' => $cust_main_county->county,
-                                 'country' =>  $cust_main_county->country,
-                               } )
-         || ! @expansion
-) {
-  my($error)=($cust_main_county->delete);
-  die $error if $error;
-}
-
-print $cgi->redirect(popurl(3). "browse/cust_main_county.cgi");
-
-%>
diff --git a/httemplate/edit/process/cust_main_county.cgi b/httemplate/edit/process/cust_main_county.cgi
deleted file mode 100755 (executable)
index 9287ed1..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-
-foreach ( grep { /^tax\d+$/ } $cgi->param ) {
-  /^tax(\d+)$/ or die "Illegal form $_!";
-  my $taxnum = $1;
-  my $old = qsearchs('cust_main_county', { 'taxnum' => $taxnum })
-    or die "Couldn't find taxnum $taxnum!";
-  next unless    $old->tax           != $cgi->param("tax$taxnum")
-              || $old->exempt_amount != $cgi->param("exempt_amount$taxnum")
-              || $old->taxname       ne $cgi->param("taxname$taxnum")
-              || $old->setuptax      ne $cgi->param("setuptax$taxnum")
-              || $old->recurtax      ne $cgi->param("recurtax$taxnum");
-  my %hash = $old->hash;
-  $hash{tax} = $cgi->param("tax$taxnum");
-  $hash{exempt_amount} = $cgi->param("exempt_amount$taxnum");
-  $hash{taxname} = $cgi->param("taxname$taxnum");
-  $hash{setuptax} = $cgi->param("setuptax$taxnum");
-  $hash{recurtax} = $cgi->param("recurtax$taxnum");
-  my $new = new FS::cust_main_county \%hash;
-  my $error = $new->replace($old);
-  if ( $error ) {
-    $cgi->param('error', $error);
-    print $cgi->redirect(popurl(2). "cust_main_county.cgi?". $cgi->query_string );
-    myexit();
-  }
-}
-
-print $cgi->redirect(popurl(3). "browse/cust_main_county.cgi");
-
-%>
diff --git a/httemplate/edit/process/cust_pay.cgi b/httemplate/edit/process/cust_pay.cgi
deleted file mode 100755 (executable)
index 87d6011..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-
-$cgi->param('linknum') =~ /^(\d+)$/
-  or die "Illegal linknum: ". $cgi->param('linknum');
-my $linknum = $1;
-
-$cgi->param('link') =~ /^(custnum|invnum)$/
-  or die "Illegal link: ". $cgi->param('link');
-my $link = $1;
-
-my $_date = str2time($cgi->param('_date'));
-
-my $new = new FS::cust_pay ( {
-  $link => $linknum,
-  _date => $_date,
-  map {
-    $_, scalar($cgi->param($_));
-  } qw(paid payby payinfo paybatch)
-  #} fields('cust_pay')
-} );
-
-my $error = $new->insert;
-
-if ($error) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). 'cust_pay.cgi?'. $cgi->query_string );
-} elsif ( $link eq 'invnum' ) {
-  print $cgi->redirect(popurl(3). "view/cust_bill.cgi?$linknum");
-} elsif ( $link eq 'custnum' ) {
-  if ( $cgi->param('apply') eq 'yes' ) {
-    my $cust_main = qsearchs('cust_main', { 'custnum' => $linknum })
-      or die "unknown custnum $linknum";
-    $cust_main->apply_payments;
-  }
-  if ( $cgi->param('quickpay') eq 'yes' ) {
-    print $cgi->redirect(popurl(3). "search/cust_main-quickpay.html");
-  } else {
-    print $cgi->redirect(popurl(3). "view/cust_main.cgi?$linknum");
-  }
-}
-
-%>
diff --git a/httemplate/edit/process/cust_pkg.cgi b/httemplate/edit/process/cust_pkg.cgi
deleted file mode 100755 (executable)
index df8471c..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-
-my $error = '';
-
-#untaint custnum
-$cgi->param('custnum') =~ /^(\d+)$/;
-my $custnum = $1;
-
-my @remove_pkgnums = map {
-  /^(\d+)$/ or die "Illegal remove_pkg value!";
-  $1;
-} $cgi->param('remove_pkg');
-
-my $error_redirect;
-my @pkgparts;
-if ( $cgi->param('new_pkgpart') =~ /^(\d+)$/ ) { #came from misc/change_pkg.cgi
-  $error_redirect = "misc/change_pkg.cgi";
-  @pkgparts = ($1);
-} else { #came from edit/cust_pkg.cgi
-  $error_redirect = "edit/cust_pkg.cgi";
-  foreach my $pkgpart ( map /^pkg(\d+)$/ ? $1 : (), $cgi->param ) {
-    if ( $cgi->param("pkg$pkgpart") =~ /^(\d+)$/ ) {
-      my $num_pkgs = $1;
-      while ( $num_pkgs-- ) {
-        push @pkgparts,$pkgpart;
-      }
-    } else {
-      $error = "Illegal quantity";
-      last;
-    }
-  }
-}
-
-$error ||= FS::cust_pkg::order($custnum,\@pkgparts,\@remove_pkgnums);
-
-if ($error) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(3). $error_redirect. '?'. $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
-}
-
-%>
diff --git a/httemplate/edit/process/cust_refund.cgi b/httemplate/edit/process/cust_refund.cgi
deleted file mode 100755 (executable)
index 7055d8e..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-
-$cgi->param('custnum') =~ /^(\d*)$/ or die "Illegal custnum!";
-my $custnum = $1;
-my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-  or die "unknown custnum $custnum";
-
-my $error = '';
-if ( $cgi->param('payby') =~ /^(CARD|CHEK)$/ ) { 
-  my %payby2bop = (
-  'CARD' => 'CC',
-  'CHEK' => 'ECHECK',
-  );
-  my $bop = $payby2bop{$1};
-  $cgi->param('refund') =~ /^(\d*)(\.\d{2})?$/
-    or die "illegal refund amount ". $cgi->param('refund');
-  my $refund = "$1$2";
-  $cgi->param('paynum') =~ /^(\d*)$/ or die "Illegal paynum!";
-  my $paynum = $1;
-  my $reason = $cgi->param('reason');
-  $error = $cust_main->realtime_refund_bop( $bop, 'amount' => $refund,
-                                                  'paynum' => $paynum,
-                                                  'reason' => $reason, );
-} else {
-  die 'unimplemented';
-  #my $new = new FS::cust_refund ( {
-  #  map {
-  #    $_, scalar($cgi->param($_));
-  #  } ( fields('cust_refund'), 'paynum' )
-  #} );
-  #$error = $new->insert;
-}
-
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "cust_refund.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
-}
-
-%>
diff --git a/httemplate/edit/process/cust_svc.cgi b/httemplate/edit/process/cust_svc.cgi
deleted file mode 100644 (file)
index 187ede5..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-
-my $svcnum = $cgi->param('svcnum');
-
-my $old = qsearchs('cust_svc',{'svcnum'=>$svcnum}) if $svcnum;
-
-my $new = new FS::cust_svc ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('cust_svc')
-} );
-
-my $error;
-if ( $svcnum ) {
-  $error=$new->replace($old);
-} else {
-  $error=$new->insert;
-  $svcnum=$new->getfield('svcnum');
-}
-
-if ( $error ) {
-  #$cgi->param('error', $error);
-  #print $cgi->redirect(popurl(2). "cust_svc.cgi?". $cgi->query_string );
-  eidiot($error);
-} else { 
-  my $svcdb = $new->part_svc->svcdb;
-  print $cgi->redirect(popurl(3). "view/$svcdb.cgi?$svcnum");
-}
-
-
diff --git a/httemplate/edit/process/domain_record.cgi b/httemplate/edit/process/domain_record.cgi
deleted file mode 100755 (executable)
index b8c3f62..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<%
-
-my $recnum = $cgi->param('recnum');
-
-my $old = qsearchs('agent',{'recnum'=>$recnum}) if $recnum;
-
-my $new = new FS::domain_record ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('domain_record')
-} );
-
-my $error;
-if ( $recnum ) {
-  $error=$new->replace($old);
-} else {
-  $error=$new->insert;
-  $recnum=$new->getfield('recnum');
-}
-
-if ( $error ) {
-#  $cgi->param('error', $error);
-#  print $cgi->redirect(popurl(2). "agent.cgi?". $cgi->query_string );
-  #no edit screen to send them back to
-%>
-<!-- mason kludge -->
-<%
-  eidiot($error);
-} else { 
-  my $svcnum = $new->svcnum;
-  print $cgi->redirect(popurl(3). "view/svc_domain.cgi?$svcnum");
-}
-
-%>
diff --git a/httemplate/edit/process/generic.cgi b/httemplate/edit/process/generic.cgi
deleted file mode 100644 (file)
index 9c54feb..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<%
-
-# Welcome to generic.cgi.
-# 
-# This script provides a generic edit/process/ backend for simple table 
-# editing.  All it knows how to do is take the values entered into 
-# the script and insert them into the table specified by $cgi->param('table').
-# If there's an existing record with the same primary key, it will be 
-# replaced.  (Deletion will be added in the future.)
-# 
-# Special cgi params for this script:
-# table: the name of the table to be edited.  The script will die horribly 
-#        if it can't find the table.
-# redirect_ok: URL to be displayed after a successful edit.  The value of 
-#              the record's primary key will be passed as a keyword.
-#              Defaults to (freeside root)/view/$table.cgi.
-# redirect_error: URL to be displayed if there's an error.  The original 
-#                 query string, plus the error message, will be passed.
-#                 Defaults to $cgi->referer() (i.e. go back where you 
-#                 came from).
-
-
-use FS::Record qw(qsearchs dbdef);
-use DBIx::DBSchema;
-use DBIx::DBSchema::Table;
-
-
-my $error;
-my $p2 = popurl(2);
-my $p3 = popurl(3);
-my $table = $cgi->param('table');
-my $dbdef = dbdef or die "Cannot fetch dbdef!";
-
-my $dbdef_table = $dbdef->table($table) or die "Cannot fetch schema for $table";
-
-my $pkey = $dbdef_table->primary_key or die "Cannot fetch pkey for $table";
-my $pkey_val = $cgi->param($pkey);
-
-
-#warn "new FS::Record ( $table, (hashref) )";
-my $new = FS::Record::new ( "FS::$table", {
-    map { $_, scalar($cgi->param($_)) } fields($table) 
-} );
-
-#warn 'created $new of class '.ref($new);
-
-if($pkey_val and (my $old = qsearchs($table, { $pkey, $pkey_val} ))) {
-  # edit
-  $error = $new->replace($old);
-} else {
-  #add
-  $error = $new->insert;
-  $pkey_val = $new->getfield($pkey);
-  # New records usually don't have their primary keys set until after 
-  # they've been checked/inserted, so grab the new $pkey_val so we can 
-  # redirect to it.
-}
-
-my $redirect_ok = (($cgi->param('redirect_ok')) ?
-                    $cgi->param('redirect_ok') : $p3."browse/generic.cgi?$table");
-my $redirect_error = (($cgi->param('redirect_error')) ?
-                       $cgi->param('redirect_error') : $cgi->referer());
-
-if($error) {
-  $cgi->param('error', $error);
-  print $cgi->redirect($redirect_error . '?' . $cgi->query_string);
-} else {
-  print $cgi->redirect($redirect_ok);
-}
-%>
diff --git a/httemplate/edit/process/msgcat.cgi b/httemplate/edit/process/msgcat.cgi
deleted file mode 100644 (file)
index 1f94f66..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<%
-
-my $error;
-foreach my $param ( grep { /^\d+$/ } $cgi->param ) {
-  my $old = qsearchs('msgcat', { msgnum=>$param } );
-  next if $old->msg eq $cgi->param($param); #no need to update identical records
-  my $new = new FS::msgcat { $old->hash };
-  $new->msg($cgi->param($param));
-  $error = $new->replace($old);
-  last if $error;
-}
-
-if ( $error ) {
-  $cgi->param('error',$error);
-  print $cgi->redirect($p. "msgcat.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "browse/msgcat.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/part_bill_event.cgi b/httemplate/edit/process/part_bill_event.cgi
deleted file mode 100755 (executable)
index 77dcd24..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<%
-
-my $eventpart = $cgi->param('eventpart');
-
-my $old = qsearchs('part_bill_event',{'eventpart'=>$eventpart}) if $eventpart;
-
-#s/days/seconds/
-$cgi->param('seconds', int( $cgi->param('days') * 86400 ) );
-
-my $error;
-if ( ! $cgi->param('plan_weight_eventcode') ) {
-  $error = "Must select an action";
-} else {
-
-  $cgi->param('plan_weight_eventcode') =~ /^([\w\-]+):(\d+):(.*)$/s
-    or die "illegal plan_weight_eventcode:".
-           $cgi->param('plan_weight_eventcode');
-  $cgi->param('plan', $1);
-  $cgi->param('weight', $2);
-  my $eventcode = $3;
-  my $plandata = '';
-  while ( $eventcode =~ /%%%(\w+)%%%/ ) {
-    my $field = $1;
-    my $value = join(', ', $cgi->param($field) );
-    $cgi->param($field, $value); #in case it errors out
-    $eventcode =~ s/%%%$field%%%/$value/;
-    $plandata .= "$field $value\n";
-  }
-  $cgi->param('eventcode', $eventcode);
-  $cgi->param('plandata', $plandata);
-
-  my $new = new FS::part_bill_event ( {
-    map {
-      $_, scalar($cgi->param($_));
-    } fields('part_bill_event'),
-  } );
-
-  if ( $eventpart ) {
-    $error = $new->replace($old);
-  } else {
-    $error = $new->insert;
-    $eventpart = $new->getfield('eventpart');
-  }
-} 
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "part_bill_event.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3)."browse/part_bill_event.cgi");
-}
-
-%>
-
diff --git a/httemplate/edit/process/part_export.cgi b/httemplate/edit/process/part_export.cgi
deleted file mode 100644 (file)
index fa009ed..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<%
-
-my $exportnum = $cgi->param('exportnum');
-
-my $old = qsearchs('part_export', { 'exportnum'=>$exportnum } ) if $exportnum;
-
-#fixup options
-#warn join('-', split(',',$cgi->param('options')));
-my %options = map {
-  my $value = $cgi->param($_);
-  $value =~ s/\r\n/\n/g; #browsers? (textarea)
-  $_ => $value;
-} split(',', $cgi->param('options'));
-
-my $new = new FS::part_export ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('part_export')
-} );
-
-my $error;
-if ( $exportnum ) {
-  #warn $old;
-  #warn $exportnum;
-  #warn $new->machine;
-  $error = $new->replace($old,\%options);
-} else {
-  $error = $new->insert(\%options);
-#  $exportnum = $new->exportnum;
-}
-
-if ( $error ) {
-  $cgi->param('error', $error );
-  print $cgi->redirect(popurl(2). "part_export.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "browse/part_export.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/part_pkg.cgi b/httemplate/edit/process/part_pkg.cgi
deleted file mode 100755 (executable)
index 0d0a134..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<%
-
-my $dbh = dbh;
-
-my $pkgpart = $cgi->param('pkgpart');
-
-my $old = qsearchs('part_pkg',{'pkgpart'=>$pkgpart}) if $pkgpart;
-
-#fixup plandata
-my $plandata = $cgi->param('plandata');
-my @plandata = split(',', $plandata);
-$cgi->param('plandata', 
-  join('', map { "$_=". join(', ', $cgi->param($_)). "\n" } @plandata )
-);
-
-foreach (qw( setuptax recurtax disabled )) {
-  $cgi->param($_, '') unless defined $cgi->param($_);
-}
-
-my $new = new FS::part_pkg ( {
-  map {
-    $_ => scalar($cgi->param($_));
-  } fields('part_pkg')
-} );
-
-my %pkg_svc = map { $_ => scalar($cgi->param("pkg_svc$_")) }
-              map { $_->svcpart }
-              qsearch('part_svc', {} );
-
-my $error;
-my $custnum = '';
-if ( $cgi->param('taxclass') eq '(select)' ) {
-
-  $error = 'Must select a tax class';
-
-} elsif ( $pkgpart ) {
-
-  $error = $new->replace( $old,
-                          pkg_svc     => \%pkg_svc,
-                          primary_svc => scalar($cgi->param('pkg_svc_primary')),
-                        );
-} else {
-
-  $error = $new->insert(  pkg_svc     => \%pkg_svc,
-                          primary_svc => scalar($cgi->param('pkg_svc_primary')),
-                          cust_pkg    => $cgi->param('pkgnum'),
-                          custnum_ref => \$custnum,
-                       );
-  $pkgpart = $new->pkgpart;
-}
-
-if ( $error ) {
-  $cgi->param('error', $error );
-  print $cgi->redirect(popurl(2). "part_pkg.cgi?". $cgi->query_string );
-} elsif ( $custnum )  {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
-} else {
-  print $cgi->redirect(popurl(3). "browse/part_pkg.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/part_referral.cgi b/httemplate/edit/process/part_referral.cgi
deleted file mode 100755 (executable)
index fd2c015..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-
-my $refnum = $cgi->param('refnum');
-
-my $new = new FS::part_referral ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('part_referral')
-} );
-
-my $error;
-if ( $refnum ) {
-  my $old = qsearchs( 'part_referral', { 'refnum' =>$ refnum } );
-  die "(Old) Record not found!" unless $old;
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-}
-$refnum=$new->refnum;
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "part_referral.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "browse/part_referral.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/part_svc.cgi b/httemplate/edit/process/part_svc.cgi
deleted file mode 100755 (executable)
index b92b627..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<%
-  my $server = new FS::UI::Web::JSRPC 'FS::part_svc::process', $cgi;
-%><%= $server->process %>
diff --git a/httemplate/edit/process/payment_gateway.html b/httemplate/edit/process/payment_gateway.html
deleted file mode 100644 (file)
index b9e4d47..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-
-my $gatewaynum = $cgi->param('gatewaynum');
-
-my $old = qsearchs('payment_gateway',{'gatewaynum'=>$gatewaynum}) if $gatewaynum;
-
-my $new = new FS::payment_gateway ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('payment_gateway')
-} );
-
-my @options = split(/\r?\n/, $cgi->param('gateway_options') );
-pop @options
-  if scalar(@options) % 2 && $options[-1] =~ /^\s*$/;
-my %options = @options;
-
-my $error;
-if ( $gatewaynum ) {
-  $error=$new->replace($old);
-} else {
-  $error=$new->insert(\%options);
-  $gatewaynum=$new->getfield('gatewaynum');
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "payment_gateway.html?". $cgi->query_string );
-} else { 
-  print $cgi->redirect(popurl(3). "browse/payment_gateway.html");
-}
-
-%>
diff --git a/httemplate/edit/process/prepay_credit.cgi b/httemplate/edit/process/prepay_credit.cgi
deleted file mode 100644 (file)
index 25ecbe0..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<%
-my $hashref = {};
-
-my $agent = '';
-if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-  $agent = qsearchs('agent', { 'agentnum' => $hashref->{agentnum}=$1 } );
-}
-
-my $error = '';
-
-my $num = 0;
-if ( $cgi->param('num') =~ /^\s*(\d+)\s*$/ ) {
-  $num = $1;
-} else {
-  $error = 'Illegal number of prepaid cards: '. $cgi->param('num');
-}
-
-$hashref->{amount} = $cgi->param('amount');
-$hashref->{seconds} = $cgi->param('seconds') * $cgi->param('multiplier');
-
-$error ||= FS::prepay_credit::generate( $num,
-                                        scalar($cgi->param('type')), 
-                                        $hashref
-                                      );
-
-unless ( ref($error) ) {
-  $cgi->param('error', $error );
-%><%=
-  $cgi->redirect(popurl(3). "edit/prepay_credit.cgi?". $cgi->query_string )
-%><% } else { %>
-
-<%= header( "$num prepaid cards generated".
-              ( $agent ? ' for '.$agent->agent : '' ),
-            menubar( 'Main menu' => popurl(3) )
-          )
-%>
-
-<FONT SIZE="+1">
-<% foreach my $card ( @$error ) { %>
-  <code><%= $card %></code>
-  -
-  <%= $hashref->{amount} ? sprintf('$%.2f', $hashref->{amount} ) : '' %>
-  <%= $hashref->{amount} && $hashref->{seconds} ? 'and' : '' %>
-  <%= $hashref->{seconds} ? duration_exact($hashref->{seconds}) : '' %>
-  <br>
-<% } %>
-
-</FONT>
-
-</BODY></HTML>
-<% } %>
diff --git a/httemplate/edit/process/quick-charge.cgi b/httemplate/edit/process/quick-charge.cgi
deleted file mode 100644 (file)
index 928e3da..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<%
-
-#untaint custnum
-$cgi->param('custnum') =~ /^(\d+)$/
-  or die 'illegal custnum '. $cgi->param('custnum');
-my $custnum = $1;
-
-$cgi->param('amount') =~ /^\s*(\d+(\.\d{1,2})?)\s*$/
-  or die 'illegal amount '. $cgi->param('amount');
-my $amount = $1;
-
-my( $error, $cust_main);
-if ( $cgi->param('taxclass') eq '(select)' ) {
-
-
- $error = 'Must select a tax class';
-} else {
-
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
-    or die "unknown custnum $custnum";
-
-  $error = $cust_main->charge(
-    $amount,
-    $cgi->param('pkg'),
-    '$'. sprintf("%.2f",$amount),
-    $cgi->param('taxclass')
-  );
-
-}
-
-if ($error) {
-%>
-<!-- mason kludge -->
-<%
-  eidiot($error);
-} else {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum" );
-}
-
-%>
-
diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi
deleted file mode 100644 (file)
index fd9e594..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<%
-
-#untaint custnum
-$cgi->param('custnum') =~ /^(\d+)$/
-  or die 'illegal custnum '. $cgi->param('custnum');
-my $custnum = $1;
-$cgi->param('pkgpart') =~ /^(\d+)$/
-  or die 'illegal pkgpart '. $cgi->param('pkgpart');
-my $pkgpart = $1;
-
-my @cust_pkg = ();
-my $error = FS::cust_pkg::order($custnum, [ $pkgpart ], [], \@cust_pkg, );
-
-if ($error) {
-%>
-<!-- mason kludge -->
-<%
-  eidiot($error);
-} else {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum".
-                       "#cust_pkg". $cust_pkg[0]->pkgnum );
-}
-
-%>
-
diff --git a/httemplate/edit/process/rate.cgi b/httemplate/edit/process/rate.cgi
deleted file mode 100755 (executable)
index 87c082d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<%
-  my $server = new FS::UI::Web::JSRPC 'FS::rate::process', $cgi;
-%><%= $server->process %>
diff --git a/httemplate/edit/process/rate_region.cgi b/httemplate/edit/process/rate_region.cgi
deleted file mode 100755 (executable)
index 09d3d2c..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<%
-
-my $regionnum = $cgi->param('regionnum');
-
-my $old = qsearchs('rate_region', { 'regionnum' => $regionnum } ) if $regionnum;
-
-my $new = new FS::rate_region ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } ( fields('rate_region') )
-} );
-
-my $countrycode = $cgi->param('countrycode');
-my @npa = split(/\s*,\s*/, $cgi->param('npa'));
-$npa[0] = '' unless @npa;
-my @rate_prefix = map {
-                        new FS::rate_prefix {
-                          'countrycode' => $countrycode,
-                          'npa'         => $_,
-                        }
-                      } @npa;
-
-my @dest_detail = map {
-  my $ratenum = $_->ratenum;
-  new FS::rate_detail {
-    'ratenum'  => $ratenum,
-    map { $_ => $cgi->param("$_$ratenum") }
-        qw( min_included min_charge sec_granularity )
-  };
-} qsearch('rate', {} );
-
-
-my $error;
-if ( $regionnum ) {
-  $error = $new->replace($old, 'rate_prefix' => \@rate_prefix,
-                               'dest_detail' => \@dest_detail, );
-} else {
-  $error = $new->insert( 'rate_prefix' => \@rate_prefix,
-                         'dest_detail' => \@dest_detail, );
-  $regionnum = $new->getfield('regionnum');
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "rate_region.cgi?". $cgi->query_string );
-} else { 
-  #print $cgi->redirect(popurl(3). "browse/rate_region.cgi");
-  print $cgi->redirect(popurl(3). "browse/rate.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/reg_code.cgi b/httemplate/edit/process/reg_code.cgi
deleted file mode 100644 (file)
index 4658257..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<%
-
-$cgi->param('agentnum') =~ /^(\d+)$/
-  or eidiot 'illegal agentnum '. $cgi->param('agentnum');
-my $agentnum = $1;
-my $agent = qsearchs('agent', { 'agentnum' => $agentnum } );
-
-my $error = '';
-
-my $num = 0;
-if ( $cgi->param('num') =~ /^\s*(\d+)\s*$/ ) {
-  $num = $1;
-} else {
-  $error = 'Illegal number of codes: '. $cgi->param('num');
-}
-
-my @pkgparts = 
-  map  { /^pkgpart(.*)$/; $1 }
-  grep { $cgi->param($_) }
-  grep { /^pkgpart/ }
-  $cgi->param;
-
-$error ||= $agent->generate_reg_codes($num, \@pkgparts);
-
-unless ( ref($error) ) {
-  $cgi->param('error'. $error );
-%><%=
-  $cgi->redirect(popurl(3). "edit/reg_code.cgi?". $cgi->query_string )
-%><% } else { %>
-
-<%= header("$num registration codes generated for ". $agent->agent, menubar(
-  'Main menu'       => popurl(3),
-  'View all agents' => popurl(3). 'browse/agent.cgi',
-) ) %>
-
-<PRE><FONT SIZE="+1">
-<% foreach my $code ( @$error ) { %>
-  <%= $code %>
-<% } %>
-
-</FONT></PRE>
-
-</BODY></HTML>
-<% } %>
diff --git a/httemplate/edit/process/router.cgi b/httemplate/edit/process/router.cgi
deleted file mode 100644 (file)
index a2fa46d..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<%
-
-local $FS::UID::AutoCommit=0;
-
-sub check {
-  my $error = shift;
-  if($error) {
-    $cgi->param('error', $error);
-    print $cgi->redirect(popurl(3) . "edit/router.cgi?". $cgi->query_string);
-    dbh->rollback;
-    exit;
-  }
-}
-
-my $error = '';
-my $routernum  = $cgi->param('routernum');
-my $routername = $cgi->param('routername');
-my $old = qsearchs('router', { routernum => $routernum });
-my @old_psr;
-
-my $new = new FS::router {
-  map {
-    ($_, scalar($cgi->param($_)));
-  } fields('router')
-};
-
-if($old) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $routernum = $new->routernum;
-}
-
-check($error);
-
-if ($old) {
-  @old_psr = $old->part_svc_router;
-  foreach my $psr (@old_psr) {
-    if($cgi->param('svcpart_'.$psr->svcpart) eq 'ON') {
-      # do nothing
-    } else {
-      $error = $psr->delete;
-    }
-  }
-  check($error);
-}
-
-foreach($cgi->param) {
-  if($cgi->param($_) eq 'ON' and /^svcpart_(\d+)$/) {
-    my $svcpart = $1;
-    if(grep {$_->svcpart == $svcpart} @old_psr) {
-      # do nothing
-    } else {
-      my $new_psr = new FS::part_svc_router { svcpart   => $svcpart,
-                                              routernum => $routernum };
-      $error = $new_psr->insert;
-    }
-    check($error);
-  }
-}
-
-
-# Yay, everything worked!
-dbh->commit or die dbh->errstr;
-print $cgi->redirect(popurl(3). "browse/router.cgi");
-
-%>
diff --git a/httemplate/edit/process/svc_acct.cgi b/httemplate/edit/process/svc_acct.cgi
deleted file mode 100755 (executable)
index 950a860..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<%
-
-$cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
-my $svcnum = $1;
-
-my $old;
-if ( $svcnum ) {
-  $old = qsearchs('svc_acct', { 'svcnum' => $svcnum } )
-    or die "fatal: can't find account (svcnum $svcnum)!";
-} else {
-  $old = '';
-}
-
-#unmunge popnum
-$cgi->param('popnum', (split(/:/, $cgi->param('popnum') ))[0] );
-
-#unmunge passwd
-if ( $cgi->param('_password') eq '*HIDDEN*' ) {
-  die "fatal: no previous account to recall hidden password from!" unless $old;
-  $cgi->param('_password',$old->getfield('_password'));
-}
-
-#unmunge usergroup
-$cgi->param('usergroup', [ $cgi->param('radius_usergroup') ] );
-
-my $new = new FS::svc_acct ( {
-  map {
-    $_, scalar($cgi->param($_));
-  #} qw(svcnum pkgnum svcpart username _password popnum uid gid finger dir
-  #  shell quota slipip)
-  } ( fields('svc_acct'), qw( pkgnum svcpart usergroup ) )
-} );
-
-my $error;
-if ( $svcnum ) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $svcnum = $new->svcnum;
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "svc_acct.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/svc_acct.cgi?" . $svcnum );
-}
-
-%>
diff --git a/httemplate/edit/process/svc_acct_pop.cgi b/httemplate/edit/process/svc_acct_pop.cgi
deleted file mode 100755 (executable)
index 46ad74d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<%
-
-my $popnum = $cgi->param('popnum');
-
-my $old = qsearchs('svc_acct_pop',{'popnum'=>$popnum}) if $popnum;
-
-my $new = new FS::svc_acct_pop ( {
-  map {
-    $_, scalar($cgi->param($_));
-  } fields('svc_acct_pop')
-} );
-
-my $error = '';
-if ( $popnum ) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $popnum=$new->getfield('popnum');
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "svc_acct_pop.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "browse/svc_acct_pop.cgi");
-}
-
-%>
diff --git a/httemplate/edit/process/svc_broadband.cgi b/httemplate/edit/process/svc_broadband.cgi
deleted file mode 100644 (file)
index a009ba2..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-
-$cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
-my $svcnum = $1;
-
-my $old;
-if ( $svcnum ) {
-  $old = qsearchs('svc_broadband', { 'svcnum' => $svcnum } )
-    or die "fatal: can't find broadband service (svcnum $svcnum)!";
-} else {
-  $old = '';
-}
-
-my $new = new FS::svc_broadband ( {
-  map {
-    ($_, scalar($cgi->param($_)));
-  } ( fields('svc_broadband'), qw( pkgnum svcpart ) )
-} );
-
-my $error;
-if ( $svcnum ) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $svcnum = $new->svcnum;
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  $cgi->param('ip_addr', $new->ip_addr);
-  print $cgi->redirect(popurl(2). "svc_broadband.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/svc_broadband.cgi?" . $svcnum );
-}
-
-%>
diff --git a/httemplate/edit/process/svc_domain.cgi b/httemplate/edit/process/svc_domain.cgi
deleted file mode 100755 (executable)
index 19f8eb4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<%
-
-#remove this to actually test the domains!
-$FS::svc_domain::whois_hack = 1;
-
-$cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
-my $svcnum = $1;
-
-my $new = new FS::svc_domain ( {
-  map {
-    $_, scalar($cgi->param($_));
-  #} qw(svcnum pkgnum svcpart domain action purpose)
-  } ( fields('svc_domain'), qw( pkgnum svcpart action purpose ) )
-} );
-
-my $error = '';
-if ($cgi->param('svcnum')) {
-  $error="Can't modify a domain!";
-} else {
-  $error=$new->insert;
-  $svcnum=$new->svcnum;
-}
-
-if ($error) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "svc_domain.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/svc_domain.cgi?$svcnum");
-}
-
-%>
diff --git a/httemplate/edit/process/svc_external.cgi b/httemplate/edit/process/svc_external.cgi
deleted file mode 100755 (executable)
index 728cd21..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-
-$cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
-my $svcnum =$1;
-
-my $old = qsearchs('svc_external',{'svcnum'=>$svcnum}) if $svcnum;
-
-my $new = new FS::svc_external ( {
-  map {
-    ($_, scalar($cgi->param($_)));
-  } ( fields('svc_external'), qw( pkgnum svcpart ) )
-} );
-
-my $error = '';
-if ( $svcnum ) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $svcnum = $new->getfield('svcnum');
-} 
-
-if ($error) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "svc_external.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/svc_external.cgi?$svcnum");
-}
-
-%>
diff --git a/httemplate/edit/process/svc_forward.cgi b/httemplate/edit/process/svc_forward.cgi
deleted file mode 100755 (executable)
index bb066d8..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-
-$cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
-my $svcnum =$1;
-
-my $old = qsearchs('svc_forward',{'svcnum'=>$svcnum}) if $svcnum;
-
-my $new = new FS::svc_forward ( {
-  map {
-    ($_, scalar($cgi->param($_)));
-  } ( fields('svc_forward'), qw( pkgnum svcpart ) )
-} );
-
-my $error = '';
-if ( $svcnum ) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $svcnum = $new->getfield('svcnum');
-} 
-
-if ($error) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "svc_forward.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/svc_forward.cgi?$svcnum");
-}
-
-%>
diff --git a/httemplate/edit/process/svc_www.cgi b/httemplate/edit/process/svc_www.cgi
deleted file mode 100644 (file)
index 4091314..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-
-$cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
-my $svcnum = $1;
-
-my $old;
-if ( $svcnum ) {
-  $old = qsearchs('svc_www', { 'svcnum' => $svcnum } )
-    or die "fatal: can't find website (svcnum $svcnum)!";
-} else {
-  $old = '';
-}
-
-my $new = new FS::svc_www ( {
-  map {
-    ($_, scalar($cgi->param($_)));
-  #} qw(svcnum pkgnum svcpart recnum usersvc)
-  } ( fields('svc_www'), qw( pkgnum svcpart ) )
-} );
-
-my $error;
-if ( $svcnum ) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $svcnum = $new->svcnum;
-}
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "svc_www.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/svc_www.cgi?" . $svcnum );
-}
-
-%>
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi
deleted file mode 100644 (file)
index 1771f01..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-<%
-
-my $rate;
-if ( $cgi->keywords ) {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $rate = qsearchs( 'rate', { 'ratenum' => $1 } );
-} else { #adding
-  $rate = new FS::rate {};
-}
-my $action = $rate->ratenum ? 'Edit' : 'Add';
-
-my $p1 = popurl(1);
-
-my %granularity = (
-  '6'  => '6 second',
-  '60' => 'minute',
-);
-
-#my $nous = <<END;
-#  WHERE 0 < ( SELECT COUNT(*) FROM rate_prefix
-#               WHERE rate_region.regionnum = rate_prefix.regionnum
-#                 AND countrycode != '1'
-#            )
-#END
-
-%>
-
-<%= header("$action Rate plan", menubar(
-      'Main Menu' => $p,
-      'View all rate plans' => "${p}browse/rate.cgi",
-    ))
-%>
-
-<%= include('/elements/progress-init.html',
-              'OneTrueForm',
-              [ 'rate', 'min_', 'sec_' ],
-              'process/rate.cgi',
-              $p.'browse/rate.cgi',
-           )
-%>
-<FORM NAME="OneTrueForm">
-<INPUT TYPE="hidden" NAME="ratenum" VALUE="<%= $rate->ratenum %>">
-
-Rate plan
-<INPUT TYPE="text" NAME="ratename" SIZE=32 VALUE="<%= $rate->ratename %>">
-<BR><BR>
-
-<%= table() %>
-<TR>
-  <TH>Region</TH>
-  <TH>Prefix(es)</TH>
-  <TH><FONT SIZE=-1>Included<BR>minutes</FONT></TH>
-  <TH><FONT SIZE=-1>Charge per<BR>minute</FONT></TH>
-  <TH><FONT SIZE=-1>Granularity</FONT></TH>
-</TR>
-
-<% foreach my $rate_region (
-     sort { lc($a->regionname) cmp lc($b->regionname) }
-     qsearch({
-               'select'    => 'DISTINCT ON ( regionnum ) rate_region.*',
-               'table'     => 'rate_region',
-               'addl_from' => 'INNER JOIN rate_prefix USING ( regionnum )',
-               'hashref'   => {},
-               'extra_sql' => "WHERE countrycode != '1'",
-                              # 'ORDER BY regionname'
-                              # ERROR: SELECT DISTINCT ON expressions must
-                              #        match initial ORDER BY expressions
-            })
-   ) {
-     my $n = $rate_region->regionnum;
-     my $rate_detail =
-       $rate->dest_detail($rate_region)
-       || new FS::rate_detail { 'min_included'    => 0,
-                                'min_charge'      => 0,
-                                'sec_granularity' => '60'
-                              };
-%>
-
-  <TR>
-    <TD><A HREF="<%=$p%>edit/rate_region.cgi?<%= $rate_region->regionnum %>"><%= $rate_region->regionname %></A></TD>
-    <TD><%= $rate_region->prefixes_short %></TD>
-    <TD><INPUT TYPE="text" SIZE=5 NAME="min_included<%=$n%>" VALUE="<%= $cgi->param("min_included$n") || $rate_detail->min_included %>"></TD>
-    <TD>$<INPUT TYPE="text" SIZE=4 NAME="min_charge<%=$n%>" VALUE="<%= sprintf('%.2f', $cgi->param("min_charge$n") || $rate_detail->min_charge ) %>"></TD>
-    <TD>
-      <SELECT NAME="sec_granularity<%=$n%>">
-        <% foreach my $granularity ( keys %granularity ) { %>
-          <OPTION VALUE="<%=$granularity%>"<%= $granularity == ( $cgi->param("sec_granularity$n") || $rate_detail->sec_granularity ) ? ' SELECTED' : '' %>><%=$granularity{$granularity}%>
-        <% } %>
-      </SELECT>
-  </TR>
-
-<% } %>
-
-<TR>
-  <TD COLSPAN=5 ALIGN="center">
-    <A HREF="<%=$p%>edit/rate_region.cgi"><I>Add a region</I></A>
-  </TD>
-</TR>
-
-</TABLE>
-
-<BR><INPUT NAME="submit" TYPE="button" VALUE="<%= 
-  $rate->ratenum ? "Apply changes" : "Add rate plan"
-%>" onClick="document.OneTrueForm.submit.disabled=true; process();">
-
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/edit/rate_region.cgi b/httemplate/edit/rate_region.cgi
deleted file mode 100644 (file)
index cc14dd3..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $rate_region;
-if ( $cgi->param('error') ) {
-  $rate_region = new FS::rate_region ( {
-    map { $_, scalar($cgi->param($_)) } fields('rate_region')
-  } );
-} elsif ( $cgi->keywords ) {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $rate_region = qsearchs( 'rate_region', { 'regionnum' => $1 } );
-} else { #adding
-  $rate_region = new FS::rate_region {};
-}
-my $action = $rate_region->regionnum ? 'Edit' : 'Add';
-
-my $p1 = popurl(1);
-
-my %granularity = (
-  '6'  => '6 second',
-  '60' => 'minute',
-);
-
-my @rate_prefix = $rate_region->rate_prefix;
-my $countrycode = '';
-if ( @rate_prefix ) {
-  $countrycode = $rate_prefix[0]->countrycode;
-  foreach my $rate_prefix ( @rate_prefix ) {
-    eidiot 'multiple country codes per region not yet supported by web UI'
-      unless $rate_prefix->countrycode eq $countrycode;
-  }
-}
-
-%>
-
-<%= header("$action Region", menubar(
-      'Main Menu' => $p,
-      #'View all regions' => "${p}browse/rate_region.cgi",
-    ))
-%>
-
-<% if ( $cgi->param('error') ) { %>
-<FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT><BR>
-<% } %>
-
-<FORM ACTION="<%=$p1%>process/rate_region.cgi" METHOD=POST>
-
-<INPUT TYPE="hidden" NAME="regionnum" VALUE="<%= $rate_region->regionnum %>">
-
-<%= ntable('#cccccc') %>
-<TR>
-  <TH ALIGN="right">Region name</TH>
-  <TD><INPUT TYPE="text" NAME="regionname" SIZE=32 VALUE="<%= $rate_region->regionname %>"></TR>
-</TR>
-
-<TR>
-  <TH ALIGN="right">Country code</TH>
-  <TD><INPUT TYPE="text" NAME="countrycode" SIZE=4 MAXLENGTH=3 VALUE="<%= $countrycode %>"></TR>
-</TR>
-
-
-<TR>
-  <TH ALIGN="right">Prefixes</TH>
-  <TD>
-    <TEXTAREA NAME="npa" WRAP=SOFT><%= join(', ', map $_->npa, @rate_prefix ) %></TEXTAREA>
-  </TD>
-</TR>
-
-</TABLE>
-
-<BR>
-<%= table() %>
-<TR>
-  <TH>Rate plan</TH>
-  <TH><FONT SIZE=-1>Included<BR>minutes</FONT></TH>
-  <TH><FONT SIZE=-1>Charge per<BR>minute</FONT></TH>
-  <TH><FONT SIZE=-1>Granularity</FONT></TH>
-</TR>
-
-<% foreach my $rate ( qsearch('rate', {}) ) {
-
-  my $n = $rate->ratenum;
-  my $rate_detail = $rate->dest_detail($rate_region)
-                    || new FS::rate_region { 'min_included'    => 0,
-                                             'min_charge'      => 0,
-                                             'sec_granularity' => '60'
-                                           };
-
-%>
-  <TR>
-    <TD><A HREF="<%=$p%>edit/rate.cgi?<%= $rate->ratenum %>"><%= $rate->ratename %></TD>
-    <TD><INPUT TYPE="text" SIZE=5 NAME="min_included<%=$n%>" VALUE="<%= $cgi->param("min_included$n") || $rate_detail->min_included %>"></TD>
-    <TD>$<INPUT TYPE="text" SIZE=4 NAME="min_charge<%=$n%>" VALUE="<%= sprintf('%.2f', $cgi->param("min_charge$n") || $rate_detail->min_charge ) %>"></TD>
-    <TD>
-      <SELECT NAME="sec_granularity<%=$n%>">
-        <% foreach my $granularity ( keys %granularity ) { %>
-          <OPTION VALUE="<%=$granularity%>"<%= $granularity == ( $cgi->param("sec_granularity$n") || $rate_detail->sec_granularity ) ? ' SELECTED' : '' %>><%=$granularity{$granularity}%>
-        <% } %>
-      </SELECT>
-  </TR>
-<% } %>
-
-</TABLE>
-
-<BR><BR><INPUT TYPE="submit" VALUE="<%= 
-  $rate_region->regionnum ? "Apply changes" : "Add region"
-%>">
-
-    </FORM>
-  </BODY>
-</HTML>
-
-
diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi
deleted file mode 100644 (file)
index 899d1ec..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-my $agentnum = $cgi->param('agentnum');
-$agentnum =~ /^(\d+)$/ or eidiot "illegal agentnum $agentnum";
-$agentnum = $1;
-my $agent = qsearchs('agent', { 'agentnum' => $agentnum } );
-
-%>
-
-<%= header('Generate registration codes for '. $agent->agent, menubar(
-      'Main Menu' => $p,
-    ))
-%>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#FF0000">Error: <%= $cgi->param('error') %></FONT>
-<% } %>
-
-<FORM ACTION="<%=popurl(1)%>process/reg_code.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submit.disabled=true">
-<INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agent->agentnum %>">
-
-Generate
-<INPUT TYPE="text" NAME="num" VALUE="<%= $cgi->param('num') %>" SIZE=5 MAXLENGTH=4>
-registration codes for <B><%= $agent->agent %></B> allowing the following packages:
-<BR><BR>
-
-<% foreach my $part_pkg ( qsearch('part_pkg', { 'disabled' => '' } ) ) { %>
-  <INPUT TYPE="checkbox" NAME="pkgpart<%= $part_pkg->pkgpart %>">
-  <%= $part_pkg->pkg %> - <%= $part_pkg->comment %>
-  <BR>
-<% } %>
-
-<BR>
-<INPUT TYPE="submit" NAME="submit" VALUE="Generate">
-
-</FORM></BODY></HTML>
-
diff --git a/httemplate/edit/router.cgi b/httemplate/edit/router.cgi
deleted file mode 100755 (executable)
index a573c65..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<HTML><BODY>
-
-<%
-
-my $router;
-if ( $cgi->keywords ) {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $router = qsearchs('router', { routernum => $1 }) 
-      or print $cgi->redirect(popurl(2)."browse/router.cgi") ;
-} else {
-  $router = new FS::router ( {
-    map { $_, scalar($cgi->param($_)) } fields('router')
-  } );
-}
-
-my $routernum = $router->routernum;
-my $action = $routernum ? 'Edit' : 'Add';
-
-print header("$action Router", menubar(
-  'Main Menu' => "$p",
-  'View all routers' => "${p}browse/router.cgi",
-));
-
-my $p3 = popurl(3);
-
-if($cgi->param('error')) {
-%> <FONT SIZE="+1" COLOR="#ff0000">Error: <%=$cgi->param('error')%></FONT>
-<% } %>
-
-<FORM ACTION="<%=popurl(1)%>process/router.cgi" METHOD=POST>
-  <INPUT TYPE="hidden" NAME="table" VALUE="router">
-  <INPUT TYPE="hidden" NAME="redirect_ok" VALUE="<%=$p3%>/browse/router.cgi">
-  <INPUT TYPE="hidden" NAME="redirect_error" VALUE="<%=$p3%>/edit/router.cgi">
-  <INPUT TYPE="hidden" NAME="routernum" VALUE="<%=$routernum%>">
-  <INPUT TYPE="hidden" NAME="svcnum" VALUE="<%=$router->svcnum%>">
-    Router #<%=$routernum or "(NEW)"%>
-
-<BR><BR>Name <INPUT TYPE="text" NAME="routername" SIZE=32 VALUE="<%=$router->routername%>">
-
-<BR><BR>
-Custom fields:
-<BR>
-<%=table() %>
-
-<%
-foreach my $field ($router->virtual_fields) {
-  print $router->pvf($field)->widget('HTML', 'edit', 
-        $router->getfield($field));
-}
-%>
-</TABLE>
-
-
-<%
-unless ($router->svcnum) {
-%>
-<BR><BR>Select the service types available on this router<BR>
-<%
-
-  foreach my $part_svc ( qsearch('part_svc', { svcdb    => 'svc_broadband',
-                                               disabled => '' }) ) {
-  %>
-  <BR>
-  <INPUT TYPE="checkbox" NAME="svcpart_<%=$part_svc->svcpart%>"<%=
-      qsearchs('part_svc_router', { svcpart   => $part_svc->svcpart, 
-                                    routernum => $routernum } ) ? ' CHECKED' : ''%> VALUE="ON">
-  <A HREF="<%=${p}%>edit/part_svc.cgi?<%=$part_svc->svcpart%>">
-    <%=$part_svc->svcpart%>: <%=$part_svc->svc%></A>
-  <% } %>
-
-<% } %>
-
-  <BR><BR><INPUT TYPE="submit" VALUE="Apply changes">
-  </FORM>
-</BODY></HTML>
-
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
deleted file mode 100755 (executable)
index e74d84d..0000000
+++ /dev/null
@@ -1,446 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-my @shells = $conf->config('shells');
-
-my($svcnum, $pkgnum, $svcpart, $part_svc, $svc_acct, @groups);
-if ( $cgi->param('error') ) {
-
-  $svc_acct = new FS::svc_acct ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_acct')
-  } );
-  $svcnum = $svc_acct->svcnum;
-  $pkgnum = $cgi->param('pkgnum');
-  $svcpart = $cgi->param('svcpart');
-  $part_svc = qsearchs( 'part_svc', { 'svcpart' => $svcpart } );
-  die "No part_svc entry for svcpart $svcpart!" unless $part_svc;
-  @groups = $cgi->param('radius_usergroup');
-
-} else {
-
-  my($query) = $cgi->keywords;
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $svcnum=$1;
-    $svc_acct=qsearchs('svc_acct',{'svcnum'=>$svcnum})
-      or die "Unknown (svc_acct) svcnum!";
-
-    my($cust_svc)=qsearchs('cust_svc',{'svcnum'=>$svcnum})
-      or die "Unknown (cust_svc) svcnum!";
-
-    $pkgnum=$cust_svc->pkgnum;
-    $svcpart=$cust_svc->svcpart;
-
-    $part_svc = qsearchs( 'part_svc', { 'svcpart' => $svcpart } );
-    die "No part_svc entry for svcpart $svcpart!" unless $part_svc;
-
-    @groups = $svc_acct->radius_groups;
-
-  } else { #adding
-
-    foreach $_ (split(/-/,$query)) {
-      $pkgnum=$1 if /^pkgnum(\d+)$/;
-      $svcpart=$1 if /^svcpart(\d+)$/;
-    }
-    $part_svc = qsearchs( 'part_svc', { 'svcpart' => $svcpart } );
-    die "No part_svc entry for svcpart $svcpart!" unless $part_svc;
-
-    $svc_acct = new FS::svc_acct({svcpart => $svcpart}); 
-
-    $svcnum='';
-
-  }
-}
-
-my( $cust_pkg, $cust_main ) = ( '', '' );
-if ( $pkgnum ) {
-  $cust_pkg = qsearchs('cust_pkg', { 'pkgnum' => $pkgnum } );
-  $cust_main = $cust_pkg->cust_main;
-}
-
-unless ( $svcnum || $cgi->param('error') ) { #adding
-
-  #set gecos
-  if ($cust_main) {
-    unless ( $part_svc->part_svc_column('uid')->columnflag eq 'F' ) {
-      $svc_acct->setfield('finger',
-        $cust_main->getfield('first') . " " . $cust_main->getfield('last')
-      );
-    }
-  }
-
-  #set fixed and default fields from part_svc
-  foreach my $part_svc_column (
-    grep { $_->columnflag } $part_svc->all_part_svc_column
-  ) {
-    if ( $part_svc_column->columnname eq 'usergroup' ) {
-      @groups = split(',', $part_svc_column->columnvalue);
-    } else {
-      $svc_acct->setfield( $part_svc_column->columnname,
-                           $part_svc_column->columnvalue,
-                         );
-    }
-  }
-
-}
-
-#fixed radius groups always override & display
-if ( $part_svc->part_svc_column('usergroup')->columnflag eq 'F' ) {
-  @groups = split(',', $part_svc->part_svc_column('usergroup')->columnvalue);
-}
-
-my $action = $svcnum ? 'Edit' : 'Add';
-
-my $svc = $part_svc->getfield('svc');
-
-my $otaker = getotaker;
-
-my $username = $svc_acct->username;
-my $password;
-if ( $svc_acct->_password ) {
-  if ( $conf->exists('showpasswords') || ! $svcnum ) {
-    $password = $svc_acct->_password;
-  } else {
-    $password = "*HIDDEN*";
-  }
-} else {
-  $password = '';
-}
-
-my $ulen = 
-  $conf->exists('usernamemax')
-  ? $conf->config('usernamemax')
-  : dbdef->table('svc_acct')->column('username')->length;
-my $ulen2 = $ulen+2;
-
-my $pmax = $conf->config('passwordmax') || 8;
-my $pmax2 = $pmax+2;
-
-my $p1 = popurl(1);
-
-%>
-
-<%= header("$action $svc account") %>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-  <BR><BR>
-<% } %>
-
-<% if ( $cust_main ) { %>
-  <%= include( '/elements/small_custview.html', $cust_main, '', 1 ) %>
-  <BR>
-<% } %>
-
-<FORM NAME="OneTrueForm" ACTION="<%= $p1 %>process/svc_acct.cgi" METHOD=POST>
-<INPUT TYPE="hidden" NAME="svcnum" VALUE="<%= $svcnum %>">
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%= $pkgnum %>">
-<INPUT TYPE="hidden" NAME="svcpart" VALUE="<%= $svcpart %>">
-
-Service # <%= $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR>
-
-<%= ntable("#cccccc",2) %>
-
-<TR>
-  <TD ALIGN="right">Service</TD>
-  <TD BGCOLOR="#eeeeee"><%= $part_svc->svc %></TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD>
-    <INPUT TYPE="text" NAME="username" VALUE="<%= $username %>" SIZE=<%= $ulen2 %> MAXLENGTH=<%= $ulen %>>
-  </TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD>
-    <INPUT TYPE="text" NAME="_password" VALUE="<%= $password %>" SIZE=<%= $pmax2 %> MAXLENGTH=<%= $pmax %>>
-    (blank to generate)
-  </TD>
-</TR>
-
-
-<%
-my $sec_phrase = $svc_acct->sec_phrase;
-if ( $conf->exists('security_phrase') ) {
-%>
-
-  <TR>
-    <TD ALIGN="right">Security phrase</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="sec_phrase" VALUE="<%= $sec_phrase %>" SIZE=32>
-      (for forgotten passwords)
-    </TD>
-  </TD>
-
-<% } else { %>
-
-  <INPUT TYPE="hidden" NAME="sec_phrase" VALUE="<%= $sec_phrase %>">
-
-<% } %>
-
-
-<%
-#domain
-my $domsvc = $svc_acct->domsvc || 0;
-if ( $part_svc->part_svc_column('domsvc')->columnflag eq 'F' ) {
-%>
-
-  <INPUT TYPE="hidden" NAME="domsvc" VALUE="<%= $domsvc %>">
-
-<% } else { 
-
-  my %svc_domain = ();
-
-  if ( $domsvc ) {
-    my $svc_domain = qsearchs('svc_domain', { 'svcnum' => $domsvc, } );
-    if ( $svc_domain ) {
-      $svc_domain{$svc_domain->svcnum} = $svc_domain;
-    } else {
-      warn "unknown svc_domain.svcnum for svc_acct.domsvc: $domsvc";
-    }
-  }
-
-  if ( $part_svc->part_svc_column('domsvc')->columnflag eq 'D' ) {
-    my $svc_domain = qsearchs('svc_domain', {
-      'svcnum' => $part_svc->part_svc_column('domsvc')->columnvalue,
-    } );
-    if ( $svc_domain ) {
-      $svc_domain{$svc_domain->svcnum} = $svc_domain;
-    } else {
-      warn "unknown svc_domain.svcnum for part_svc_column domsvc: ".
-           $part_svc->part_svc_column('domsvc')->columnvalue;
-    }
-  }
-
-  if ($cust_pkg && !$conf->exists('svc_acct-alldomains') ) {
-    my @cust_svc =
-      map { qsearch('cust_svc', { 'pkgnum' => $_->pkgnum } ) }
-          qsearch('cust_pkg', { 'custnum' => $cust_pkg->custnum } );
-    foreach my $cust_svc ( @cust_svc ) {
-      my $svc_domain =
-        qsearchs('svc_domain', { 'svcnum' => $cust_svc->svcnum } );
-     $svc_domain{$svc_domain->svcnum} = $svc_domain if $svc_domain;
-    }
-  } else {
-    %svc_domain = map { $_->svcnum => $_ } qsearch('svc_domain', {} );
-  }
-
-%>
-
-  <TR>
-    <TD ALIGN="right">Domain</TD>
-    <TD>
-      <SELECT NAME="domsvc" SIZE=1>
-
-        <% foreach my $svcnum (
-             sort { $svc_domain{$a}->domain cmp $svc_domain{$b}->domain }
-                  keys %svc_domain
-           ) {
-             my $svc_domain = $svc_domain{$svcnum};
-        %>
-
-             <OPTION VALUE="<%= $svc_domain->svcnum %>" <%= $svc_domain->svcnum == $domsvc ? ' SELECTED' : '' %>><%= $svc_domain->domain %>
-
-       <% } %>
-      </SELECT>
-    </TD>
-  </TR>
-
-<% } %>
-
-
-<%
-#pop
-my $popnum = $svc_acct->popnum || 0;
-if ( $part_svc->part_svc_column('popnum')->columnflag eq 'F' ) {
-%>
-
-  <INPUT TYPE="hidden" NAME="popnum" VALUE="<%= $popnum %>">
-
-
-<% } else { %>
-
-  <TR>
-    <TD ALIGN="right">Access number</TD>
-    <TD><%= FS::svc_acct_pop::popselector($popnum) %></TD>
-  </TR>
-
-<% } %>
-
-
-<% #uid/gid %>
-<% foreach my $xid (qw( uid gid )) { %>
-
-  <%
-  if ( $part_svc->part_svc_column($xid)->columnflag eq 'F'
-       || ! $conf->exists("svc_acct-edit_$xid")
-     ) {
-  %>
-  
-    <% if ( length($svc_acct->$xid()) ) { %>
-  
-      <TR>
-        <TD ALIGN="right"><%= uc($xid) %></TD>
-          <TD BGCOLOR="#eeeeee"><%= $svc_acct->$xid() %></TD>
-        <TD>
-        </TD>
-      </TR>
-  
-    <% } %>
-  
-    <INPUT TYPE="hidden" NAME="<%= $xid %>" VALUE="<%= $svc_acct->$xid() %>">
-  
-  <% } else { %>
-  
-    <TR>
-      <TD ALIGN="right"><%= uc($xid) %></TD>
-      <TD>
-        <INPUT TYPE="text" NAME="<%= $xid %>" SIZE=8 MAXLENGTH=6 VALUE="<%= $svc_acct->$xid() %>">
-      </TD>
-    </TR>
-  
-  <% } %>
-
-<% } %>
-
-
-<%
-#finger
-if ( $part_svc->part_svc_column('uid')->columnflag eq 'F'
-     && ! $svc_acct->finger ) { 
-%>
-
-  <INPUT TYPE="hidden" NAME="finger" VALUE="">
-
-<% } else { %>
-
-  <TR>
-    <TD ALIGN="right">GECOS</TD>
-    <TD>
-      <INPUT TYPE="text" NAME="finger" VALUE="<%= $svc_acct->finger %>">
-    </TD>
-  </TR>
-
-<% } %>
-
-
-<INPUT TYPE="hidden" NAME="dir" VALUE="<%= $svc_acct->dir %>">
-
-
-<%
-#shell
-my $shell = $svc_acct->shell;
-if ( $part_svc->part_svc_column('shell')->columnflag eq 'F'
-     || ( !$shell && $part_svc->part_svc_column('uid')->columnflag eq 'F' )
-   ) {
-%>
-
-  <INPUT TYPE="hidden" NAME="shell" VALUE="<%= $shell %>">
-
-<% } else { %>
-
-  <TR>
-    <TD ALIGN="right">Shell</TD>
-    <TD>
-      <SELECT NAME="shell" SIZE=1>
-
-        <%
-           my($etc_shell);
-           foreach $etc_shell (@shells) {
-        %>
-
-          <OPTION<%= $etc_shell eq $shell ? ' SELECTED' : '' %>><%= $etc_shell %>
-
-        <% } %>
-
-      </SELECT>
-    </TD>
-  </TR>
-
-<% } %>
-
-
-<% if ( $part_svc->part_svc_column('quota')->columnflag eq 'F' ) { %>
-
-  <INPUT TYPE="hidden" NAME="quota" VALUE="<%= $svc_acct->quota %>">
-
-<% } else { %>
-
-  <TR>
-    <TD ALIGN="right">Quota:</TD>
-    <TD><INPUT TYPE="text" NAME="quota" VALUE="<%= $svc_acct->quota %>"></TD>
-  </TR>
-  
-<% } %>
-
-
-<% if ( $part_svc->part_svc_column('slipip')->columnflag eq 'F' ) { %>
-
-  <INPUT TYPE="hidden" NAME="slipip" VALUE="<%= $svc_acct->slipip %>">
-
-<% } else { %>
-
-  <TR>
-    <TD ALIGN="right">IP</TD>
-    <TD><INPUT TYPE="text" NAME="slipip" VALUE="<%= $svc_acct->slipip %>"></TD>
-  </TR>
-
-<% } %>
-
-
-<%
-foreach my $r ( grep { /^r(adius|[cr])_/ } fields('svc_acct') ) {
-  $r =~ /^^r(adius|[cr])_(.+)$/ or next; #?
-  my $a = $2;
-%>
-
-  <% if ( $part_svc->part_svc_column($r)->columnflag eq 'F' ) { %>
-
-    <INPUT TYPE="hidden" NAME="<%= $r %>" VALUE="<%= $svc_acct->getfield($r) %>">
-
-  <% } else { %>
-
-    <TR>
-      <TD ALIGN="right"><%= $FS::raddb::attrib{$a} %></TD>
-      <TD><INPUT TYPE="text" NAME="<%= $r %>" VALUE="<%= $svc_acct->getfield($r) %>"></TD>
-    </TR>
-
-  <% } %>
-
-<% } %>
-
-
-<TR>
-  <TD ALIGN="right">RADIUS groups</TD>
-
-  <% if ( $part_svc->part_svc_column('usergroup')->columnflag eq 'F' ) { %>
-
-    <TD BGCOLOR="#eeeeee"><%= join('<BR>', @groups) %></TD>
-
-  <% } else { %>
-
-    <TD><%= FS::svc_acct::radius_usergroup_selector( \@groups ) %></TD>
-
-  <% } %>
-
-</TR>
-
-<% foreach my $field ($svc_acct->virtual_fields) { %>
-
-  <% # If the flag is X, it won't even show up in $svc_acct->virtual_fields. %>
-  <% if ( $part_svc->part_svc_column($field)->columnflag ne 'F' ) { %>
-
-    <%= $svc_acct->pvf($field)->widget('HTML', 'edit', $svc_acct->getfield($field)) %>
-
-  <% } %>
-
-<% } %>
-  
-</TABLE>
-<BR>
-
-<INPUT TYPE="submit" VALUE="Submit">
-
-</FORM></BODY></HTML>
diff --git a/httemplate/edit/svc_acct_pop.cgi b/httemplate/edit/svc_acct_pop.cgi
deleted file mode 100755 (executable)
index 399502a..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $svc_acct_pop;
-if ( $cgi->param('error') ) {
-  $svc_acct_pop = new FS::svc_acct_pop ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_acct_pop')
-  } );
-} elsif ( $cgi->keywords ) { #editing
-  my($query)=$cgi->keywords;
-  $query =~ /^(\d+)$/;
-  $svc_acct_pop=qsearchs('svc_acct_pop',{'popnum'=>$1});
-} else { #adding
-  $svc_acct_pop = new FS::svc_acct_pop {};
-}
-my $action = $svc_acct_pop->popnum ? 'Edit' : 'Add';
-my $hashref = $svc_acct_pop->hashref;
-
-my $p1 = popurl(1);
-print header("$action Access Number", menubar(
-  'Main Menu' => popurl(2),
-  'View all Access Numbers' => popurl(2). "browse/svc_acct_pop.cgi",
-));
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print qq!<FORM ACTION="${p1}process/svc_acct_pop.cgi" METHOD=POST>!;
-
-#display
-
-print qq!<INPUT TYPE="hidden" NAME="popnum" VALUE="$hashref->{popnum}">!,
-      "POP #", $hashref->{popnum} ? $hashref->{popnum} : "(NEW)";
-
-print <<END;
-<PRE>
-City      <INPUT TYPE="text" NAME="city" SIZE=32 VALUE="$hashref->{city}">
-State     <INPUT TYPE="text" NAME="state" SIZE=16 MAXLENGTH=16 VALUE="$hashref->{state}">
-Area Code <INPUT TYPE="text" NAME="ac" SIZE=4 MAXLENGTH=3 VALUE="$hashref->{ac}">
-Exchange  <INPUT TYPE="text" NAME="exch" SIZE=4 MAXLENGTH=3 VALUE="$hashref->{exch}">
-Local     <INPUT TYPE="text" NAME="loc" SIZE=5 MAXLENGTH=4 VALUE="$hashref->{loc}">
-</PRE>
-END
-
-print qq!<BR><INPUT TYPE="submit" VALUE="!,
-      $hashref->{popnum} ? "Apply changes" : "Add Access Number",
-      qq!">!;
-
-print <<END;
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/svc_broadband.cgi b/httemplate/edit/svc_broadband.cgi
deleted file mode 100644 (file)
index 9e064c5..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-<!-- mason kludge -->
-<%
-
-# If it's stupid but it works, it's still stupid.
-#  -Kristian
-
-
-use HTML::Widgets::SelectLayers;
-use Tie::IxHash;
-
-my( $svcnum,  $pkgnum, $svcpart, $part_svc, $svc_broadband );
-if ( $cgi->param('error') ) {
-  $svc_broadband = new FS::svc_broadband ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_broadband'), qw(svcpart)
-  } );
-  $svcnum = $svc_broadband->svcnum;
-  $pkgnum = $cgi->param('pkgnum');
-  $svcpart = $svc_broadband->svcpart;
-  $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-  die "No part_svc entry!" unless $part_svc;
-} else {
-  my($query) = $cgi->keywords;
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $svcnum=$1;
-    $svc_broadband=qsearchs('svc_broadband',{'svcnum'=>$svcnum})
-      or die "Unknown (svc_broadband) svcnum!";
-
-    my($cust_svc)=qsearchs('cust_svc',{'svcnum'=>$svcnum})
-      or die "Unknown (cust_svc) svcnum!";
-
-    $pkgnum=$cust_svc->pkgnum;
-    $svcpart=$cust_svc->svcpart;
-  
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-  } else { #adding
-
-    foreach $_ (split(/-/,$query)) { #get & untaint pkgnum & svcpart
-      $pkgnum=$1 if /^pkgnum(\d+)$/;
-      $svcpart=$1 if /^svcpart(\d+)$/;
-    }
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-    $svc_broadband = new FS::svc_broadband({ svcpart => $svcpart });
-
-    $svcnum='';
-
-    #set fixed and default fields from part_svc
-    foreach my $part_svc_column (
-      grep { $_->columnflag } $part_svc->all_part_svc_column
-    ) {
-      $svc_broadband->setfield( $part_svc_column->columnname,
-                                $part_svc_column->columnvalue,
-                              );
-    }
-
-  }
-}
-my $action = $svc_broadband->svcnum ? 'Edit' : 'Add';
-
-if ($pkgnum) {
-
-  #Nothing?
-
-} elsif ( $action eq 'Edit' ) {
-
-  #Nothing?
-
-} else {
-  die "\$action eq Add, but \$pkgnum is null!\n";
-}
-
-my $p1 = popurl(1);
-
-my ($ip_addr, $speed_up, $speed_down, $blocknum) =
-    ($svc_broadband->ip_addr,
-     $svc_broadband->speed_up,
-     $svc_broadband->speed_down,
-     $svc_broadband->blocknum);
-
-%>
-
-<%=header("Broadband Service $action", '')%>
-
-<% if ($cgi->param('error')) { %>
-<FONT SIZE="+1" COLOR="#ff0000">Error: <%=$cgi->param('error')%></FONT><BR>
-<% } %>
-
-Service #<B><%=$svcnum ? $svcnum : "(NEW)"%></B><BR><BR>
-
-<FORM ACTION="<%=${p1}%>process/svc_broadband.cgi" METHOD=POST>
-  <INPUT TYPE="hidden" NAME="svcnum" VALUE="<%=$svcnum%>">
-  <INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%=$pkgnum%>">
-  <INPUT TYPE="hidden" NAME="svcpart" VALUE="<%=$svcpart%>">
-
-  <%=&ntable("#cccccc",2)%>
-    <TR>
-      <TD ALIGN="right">IP Address</TD>
-      <TD BGCOLOR="#ffffff">
-<% if ( $part_svc->part_svc_column('ip_addr')->columnflag eq 'F' ) { %>
-        <INPUT TYPE="hidden" NAME="ip_addr" VALUE="<%=$ip_addr%>"><%=$ip_addr%>
-<% } else { %>
-        <INPUT TYPE="text" NAME="ip_addr" VALUE="<%=$ip_addr%>">
-<% } %>
-      </TD>
-    </TR>
-    <TR>
-      <TD ALIGN="right">Download speed</TD>
-      <TD BGCOLOR="#ffffff">
-<% if ( $part_svc->part_svc_column('speed_down')->columnflag eq 'F' ) { %>
-        <INPUT TYPE="hidden" NAME="speed_down" VALUE="<%=$speed_down%>"><%=$speed_down%>Kbps
-<% } else { %>
-    <INPUT TYPE="text" NAME="speed_down" SIZE=5 VALUE="<%=$speed_down%>">Kbps
-<% } %>
-      </TD>
-    </TR>
-    <TR>
-      <TD ALIGN="right">Upload speed</TD>
-      <TD BGCOLOR="#ffffff">
-<% if ( $part_svc->part_svc_column('speed_up')->columnflag eq 'F' ) { %>
-        <INPUT TYPE="hidden" NAME="speed_up" VALUE="<%=$speed_up%>"><%=$speed_up%>Kbps
-<% } else { %>
-        <INPUT TYPE="text" NAME="speed_up" SIZE=5 VALUE="<%=$speed_up%>">Kbps
-<% } %>
-      </TD>
-    </TR>
-<% if ($action eq 'Add') { %>
-    <TR>
-      <TD ALIGN="right">Router/Block</TD>
-      <TD BGCOLOR="#ffffff">
-        <SELECT NAME="blocknum">
-<%
-  warn $svc_broadband->svcpart;
-  foreach my $router ($svc_broadband->allowed_routers) {
-    warn $router->routername;
-    foreach my $addr_block ($router->addr_block) {
-%>
-        <OPTION VALUE="<%=$addr_block->blocknum%>"<%=($addr_block->blocknum eq $blocknum) ? ' SELECTED' : ''%>>
-          <%=$router->routername%>:<%=$addr_block->ip_gateway%>/<%=$addr_block->ip_netmask%></OPTION>
-<%
-    }
-  }
-%>
-        </SELECT>
-      </TD>
-    </TR>
-<% } else { %>
-
-    <TR>
-      <TD ALIGN="right">Router/Block</TD>
-      <TD BGCOLOR="#ffffff">
-        <%=$svc_broadband->addr_block->router->routername%>:<%=$svc_broadband->addr_block->NetAddr%>
-        <INPUT TYPE="hidden" NAME="blocknum" VALUE="<%=$svc_broadband->blocknum%>">
-      </TD>
-    </TR>
-
-<% } %>
-
-<%
-foreach my $field ($svc_broadband->virtual_fields) {
-  if ( $part_svc->part_svc_column($field)->columnflag ne 'F' &&
-       $part_svc->part_svc_column($field)->columnflag ne 'X') {
-    print $svc_broadband->pvf($field)->widget('HTML', 'edit',
-        $svc_broadband->getfield($field));
-  }
-} %>
-  </TABLE>
-  <BR>
-  <INPUT TYPE="submit" NAME="submit" VALUE="Submit">
-</FORM>
-</BODY>
-</HTML>
-
diff --git a/httemplate/edit/svc_domain.cgi b/httemplate/edit/svc_domain.cgi
deleted file mode 100755 (executable)
index ca0e339..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($svcnum, $pkgnum, $svcpart, $kludge_action, $purpose, $part_svc,
-   $svc_domain);
-if ( $cgi->param('error') ) {
-  $svc_domain = new FS::svc_domain ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_domain')
-  } );
-  $svcnum = $svc_domain->svcnum;
-  $pkgnum = $cgi->param('pkgnum');
-  $svcpart = $cgi->param('svcpart');
-  $kludge_action = $cgi->param('action');
-  $purpose = $cgi->param('purpose');
-  $part_svc = qsearchs('part_svc', { 'svcpart' => $svcpart } );
-  die "No part_svc entry!" unless $part_svc;
-} else {
-  $kludge_action = '';
-  $purpose = '';
-  my($query) = $cgi->keywords;
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $svcnum=$1;
-    $svc_domain=qsearchs('svc_domain',{'svcnum'=>$svcnum})
-      or die "Unknown (svc_domain) svcnum!";
-
-    my($cust_svc)=qsearchs('cust_svc',{'svcnum'=>$svcnum})
-      or die "Unknown (cust_svc) svcnum!";
-
-    $pkgnum=$cust_svc->pkgnum;
-    $svcpart=$cust_svc->svcpart;
-
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-  } else { #adding
-
-    $svc_domain = new FS::svc_domain({});
-  
-    foreach $_ (split(/-/,$query)) {
-      $pkgnum=$1 if /^pkgnum(\d+)$/;
-      $svcpart=$1 if /^svcpart(\d+)$/;
-    }
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-    $svcnum='';
-
-    #set fixed and default fields from part_svc
-    foreach my $part_svc_column (
-      grep { $_->columnflag } $part_svc->all_part_svc_column
-    ) {
-      $svc_domain->setfield( $part_svc_column->columnname,
-                             $part_svc_column->columnvalue,
-                           );
-    }
-
-  }
-
-}
-my $action = $svcnum ? 'Edit' : 'Add';
-
-my $svc = $part_svc->getfield('svc');
-
-my $otaker = getotaker;
-
-my $domain = $svc_domain->domain;
-
-my $p1 = popurl(1);
-print header("$action $svc", '');
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print <<END;
-    <FORM ACTION="${p1}process/svc_domain.cgi" METHOD=POST>
-      <INPUT TYPE="hidden" NAME="svcnum" VALUE="$svcnum">
-      <INPUT TYPE="hidden" NAME="pkgnum" VALUE="$pkgnum">
-      <INPUT TYPE="hidden" NAME="svcpart" VALUE="$svcpart">
-END
-
-print qq!<INPUT TYPE="radio" NAME="action" VALUE="N"!;
-print ' CHECKED' if $kludge_action eq 'N';
-print qq!>New!;
-print qq!<BR><INPUT TYPE="radio" NAME="action" VALUE="M"!;
-print ' CHECKED' if $kludge_action eq 'M';
-print qq!>Transfer!;
-
-print <<END;
-<P>Domain <INPUT TYPE="text" NAME="domain" VALUE="$domain" SIZE=28 MAXLENGTH=63>
-<BR>Purpose/Description: <INPUT TYPE="text" NAME="purpose" VALUE="$purpose" SIZE=64>
-<P><INPUT TYPE="submit" VALUE="Submit">
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/edit/svc_external.cgi b/httemplate/edit/svc_external.cgi
deleted file mode 100644 (file)
index bcfc85e..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my( $svcnum,  $pkgnum, $svcpart, $part_svc, $svc_external );
-if ( $cgi->param('error') ) {
-  $svc_external = new FS::svc_external ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_external')
-  } );
-  $svcnum = $svc_external->svcnum;
-  $pkgnum = $cgi->param('pkgnum');
-  $svcpart = $cgi->param('svcpart');
-  $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-  die "No part_svc entry!" unless $part_svc;
-} else {
-  my($query) = $cgi->keywords;
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $svcnum=$1;
-    $svc_external=qsearchs('svc_external',{'svcnum'=>$svcnum})
-      or die "Unknown (svc_external) svcnum!";
-
-    my($cust_svc)=qsearchs('cust_svc',{'svcnum'=>$svcnum})
-      or die "Unknown (cust_svc) svcnum!";
-
-    $pkgnum=$cust_svc->pkgnum;
-    $svcpart=$cust_svc->svcpart;
-  
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-  } else { #adding
-
-    foreach $_ (split(/-/,$query)) { #get & untaint pkgnum & svcpart
-      $pkgnum=$1 if /^pkgnum(\d+)$/;
-      $svcpart=$1 if /^svcpart(\d+)$/;
-    }
-    $svc_external = new FS::svc_external { svcpart => $svcpart };
-
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-    $svcnum='';
-
-    #set fixed and default fields from part_svc
-    foreach my $part_svc_column (
-      grep { $_->columnflag } $part_svc->all_part_svc_column
-    ) {
-      $svc_external->setfield( $part_svc_column->columnname,
-                               $part_svc_column->columnvalue,
-                             );
-    }
-
-  }
-}
-my $action = $svc_external->svcnum ? 'Edit' : 'Add';
-
-my $p1 = popurl(1);
-print header("External service $action", '');
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print qq!<FORM ACTION="${p1}process/svc_external.cgi" METHOD=POST>!;
-
-#display
-
-#svcnum
-print qq!<INPUT TYPE="hidden" NAME="svcnum" VALUE="$svcnum">!;
-print qq!Service #<B>!, $svcnum ? $svcnum : "(NEW)", "</B><BR><BR>";
-
-#pkgnum
-print qq!<INPUT TYPE="hidden" NAME="pkgnum" VALUE="$pkgnum">!;
-#svcpart
-print qq!<INPUT TYPE="hidden" NAME="svcpart" VALUE="$svcpart">!;
-
-my($id,$title)=(
-  $svc_external->id,
-  $svc_external->title,
-);
-
-print &ntable("#cccccc",2),
-      '<TR><TD ALIGN="right">External ID</TD><TD>'.
-      qq!<INPUT TYPE="text" NAME="id" VALUE="$id">!.
-      '</TD></TR>'.
-      '<TR><TD ALIGN="right">Title</TD><TD>'.
-      qq!<INPUT TYPE="text" NAME="title" VALUE="$title">!.
-      '</TD></TR>';
-
-foreach my $field ($svc_external->virtual_fields) {
-  if ( $part_svc->part_svc_column($field)->columnflag ne 'F' ) {
-    # If the flag is X, it won't even show up in $svc_acct->virtual_fields.
-    print $svc_external->pvf($field)->widget('HTML', 'edit', 
-        $svc_external->getfield($field));
-  }
-}
-
-%>
-
-</TABLE><BR><INPUT TYPE="submit" VALUE="Submit">
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/edit/svc_forward.cgi b/httemplate/edit/svc_forward.cgi
deleted file mode 100755 (executable)
index 2b9d35a..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-
-my($svcnum, $pkgnum, $svcpart, $part_svc, $svc_forward);
-if ( $cgi->param('error') ) {
-  $svc_forward = new FS::svc_forward ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_forward')
-  } );
-  $svcnum = $svc_forward->svcnum;
-  $pkgnum = $cgi->param('pkgnum');
-  $svcpart = $cgi->param('svcpart');
-  $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-  die "No part_svc entry!" unless $part_svc;
-} else {
-
-  my($query) = $cgi->keywords;
-
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $svcnum=$1;
-    $svc_forward=qsearchs('svc_forward',{'svcnum'=>$svcnum})
-      or die "Unknown (svc_forward) svcnum!";
-
-    my($cust_svc)=qsearchs('cust_svc',{'svcnum'=>$svcnum})
-      or die "Unknown (cust_svc) svcnum!";
-
-    $pkgnum=$cust_svc->pkgnum;
-    $svcpart=$cust_svc->svcpart;
-  
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-  } else { #adding
-
-    $svc_forward = new FS::svc_forward({});
-
-    foreach $_ (split(/-/,$query)) { #get & untaint pkgnum & svcpart
-      $pkgnum=$1 if /^pkgnum(\d+)$/;
-      $svcpart=$1 if /^svcpart(\d+)$/;
-    }
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-    $svcnum='';
-
-    #set fixed and default fields from part_svc
-    foreach my $part_svc_column (
-      grep { $_->columnflag } $part_svc->all_part_svc_column
-    ) {
-      $svc_forward->setfield( $part_svc_column->columnname,
-                              $part_svc_column->columnvalue,
-                            );
-    }
-  }
-
-}
-my $action = $svc_forward->svcnum ? 'Edit' : 'Add';
-
-my %email;
-
-#starting with those currently attached
-foreach my $method (qw( srcsvc_acct dstsvc_acct )) {
-  my $svc_acct = $svc_forward->$method();
-  $email{$svc_acct->svcnum} = $svc_acct->email if $svc_acct;
-}
-
-if ($pkgnum) {
-
-  #find all possible user svcnums (and emails)
-
-  #and including the rest for this customer
-  my($u_part_svc,@u_acct_svcparts);
-  foreach $u_part_svc ( qsearch('part_svc',{'svcdb'=>'svc_acct'}) ) {
-    push @u_acct_svcparts,$u_part_svc->getfield('svcpart');
-  }
-
-  my($cust_pkg)=qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-  my($custnum)=$cust_pkg->getfield('custnum');
-  my($i_cust_pkg);
-  foreach $i_cust_pkg ( qsearch('cust_pkg',{'custnum'=>$custnum}) ) {
-    my($cust_pkgnum)=$i_cust_pkg->getfield('pkgnum');
-    my($acct_svcpart);
-    foreach $acct_svcpart (@u_acct_svcparts) {   #now find the corresponding 
-                                              #record(s) in cust_svc ( for this
-                                              #pkgnum ! )
-      foreach my $i_cust_svc (
-        qsearch( 'cust_svc', { 'pkgnum'  => $cust_pkgnum,
-                               'svcpart' => $acct_svcpart } )
-      ) {
-        my $svc_acct =
-          qsearchs( 'svc_acct', { 'svcnum' => $i_cust_svc->svcnum } );
-        $email{$svc_acct->svcnum} = $svc_acct->email;
-      }  
-    }
-  }
-
-} elsif ( $action eq 'Add' ) {
-  die "\$action eq Add, but \$pkgnum is null!\n";
-}
-
-my($srcsvc,$dstsvc,$dst)=(
-  $svc_forward->srcsvc,
-  $svc_forward->dstsvc,
-  $svc_forward->dst,
-);
-my $src = $svc_forward->dbdef_table->column('src') ? $svc_forward->src : '';
-
-#display
-
-%>
-
-<%= header("Mail Forward $action") %>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#ff0000">Error: <%= $cgi->param('error') %></FONT>
-  <BR><BR>
-<% } %>
-
-Service #<%= $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR>
-Service: <B><%= $part_svc->svc %></B><BR><BR>
-
-<FORM ACTION="process/svc_forward.cgi" METHOD="POST">
-<INPUT TYPE="hidden" NAME="svcnum" VALUE="<%= $svcnum %>">
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%= $pkgnum %>">
-<INPUT TYPE="hidden" NAME="svcpart" VALUE="<%= $svcpart %>">
-
-<SCRIPT TYPE="text/javascript">
-function srcchanged(what) {
-  if ( what.options[what.selectedIndex].value == 0 ) {
-    what.form.src.disabled = false;
-    what.form.src.style.backgroundColor = "white";
-  } else {
-    what.form.src.disabled = true;
-    what.form.src.style.backgroundColor = "lightgrey";
-  }
-}
-function dstchanged(what) {
-  if ( what.options[what.selectedIndex].value == 0 ) {
-    what.form.dst.disabled = false;
-    what.form.dst.style.backgroundColor = "white";
-  } else {
-    what.form.dst.disabled = true;
-    what.form.dst.style.backgroundColor = "lightgrey";
-  }
-}
-</SCRIPT>
-
-<%= ntable("#cccccc",2) %>
-<TR><TD ALIGN="right">Email to</TD>
-<TD><SELECT NAME="srcsvc" SIZE=1 onChange="srcchanged(this)">
-<% foreach $_ (keys %email) { %>
-  <OPTION<%= $_ eq $srcsvc ? " SELECTED" : "" %> VALUE="<%= $_ %>"><%= $email{$_} %></OPTION>
-<% } %>
-<% if ( $svc_forward->dbdef_table->column('src') ) { %>
-  <OPTION <%= $src ? 'SELECTED' : '' %> VALUE="0">(other email address)</OPTION>
-<% } %>
-</SELECT>
-<% if ( $svc_forward->dbdef_table->column('src') ) { %>
-<INPUT TYPE="text" NAME="src" VALUE="<%= $src %>" <%= ( $src || !scalar(%email) ) ? '' : 'DISABLED STYLE="background-color: lightgrey"' %>>
-<% } %>
-</TD></TR>
-
-<TR><TD ALIGN="right">Forwards to</TD>
-<TD><SELECT NAME="dstsvc" SIZE=1 onChange="dstchanged(this)">
-<% foreach $_ (keys %email) { %>
-  <OPTION<%= $_ eq $dstsvc ? " SELECTED" : "" %> VALUE="<%= $_ %>"><%= $email{$_} %></OPTION>
-<% } %>
-<OPTION <%= $dst ? 'SELECTED' : '' %> VALUE="0">(other email address)</OPTION>
-</SELECT>
-<INPUT TYPE="text" NAME="dst" VALUE="<%= $dst %>" <%= ( $dst || !scalar(%email) ) ? '' : 'DISABLED STYLE="background-color: lightgrey"' %>>
-</TD></TR>
-    </TABLE>
-<BR><INPUT TYPE="submit" VALUE="Submit">
-</FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/edit/svc_www.cgi b/httemplate/edit/svc_www.cgi
deleted file mode 100644 (file)
index 3cb7528..0000000
+++ /dev/null
@@ -1,222 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-
-my( $svcnum,  $pkgnum, $svcpart, $part_svc, $svc_www );
-if ( $cgi->param('error') ) {
-  $svc_www = new FS::svc_www ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_www')
-  } );
-  $svcnum = $svc_www->svcnum;
-  $pkgnum = $cgi->param('pkgnum');
-  $svcpart = $cgi->param('svcpart');
-  $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-  die "No part_svc entry!" unless $part_svc;
-} else {
-  my($query) = $cgi->keywords;
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $svcnum=$1;
-    $svc_www=qsearchs('svc_www',{'svcnum'=>$svcnum})
-      or die "Unknown (svc_www) svcnum!";
-
-    my($cust_svc)=qsearchs('cust_svc',{'svcnum'=>$svcnum})
-      or die "Unknown (cust_svc) svcnum!";
-
-    $pkgnum=$cust_svc->pkgnum;
-    $svcpart=$cust_svc->svcpart;
-  
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-  } else { #adding
-
-    foreach $_ (split(/-/,$query)) { #get & untaint pkgnum & svcpart
-      $pkgnum=$1 if /^pkgnum(\d+)$/;
-      $svcpart=$1 if /^svcpart(\d+)$/;
-    }
-    $svc_www = new FS::svc_www { svcpart => $svcpart };
-
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-    $svcnum='';
-
-    #set fixed and default fields from part_svc
-    foreach my $part_svc_column (
-      grep { $_->columnflag } $part_svc->all_part_svc_column
-    ) {
-      $svc_www->setfield( $part_svc_column->columnname,
-                          $part_svc_column->columnvalue,
-                        );
-    }
-
-  }
-}
-my $action = $svc_www->svcnum ? 'Edit' : 'Add';
-
-my( %svc_acct, %arec );
-if ($pkgnum) {
-
-  my @u_acct_svcparts;
-  foreach my $svcpart (
-    map { $_->svcpart } qsearch( 'part_svc', { 'svcdb' => 'svc_acct' } )
-  ) {
-    next if $conf->exists('svc_www-usersvc_svcpart')
-            && ! grep { $svcpart == $_ }
-                      $conf->config('svc_www-usersvc_svcpart');
-    push @u_acct_svcparts, $svcpart;
-  }
-
-  my($cust_pkg)=qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-  my($custnum)=$cust_pkg->getfield('custnum');
-  my($i_cust_pkg);
-  foreach $i_cust_pkg ( qsearch('cust_pkg',{'custnum'=>$custnum}) ) {
-    my($cust_pkgnum)=$i_cust_pkg->getfield('pkgnum');
-    my($acct_svcpart);
-    foreach $acct_svcpart (@u_acct_svcparts) {   #now find the corresponding 
-                                              #record(s) in cust_svc ( for this
-                                              #pkgnum ! )
-      my($i_cust_svc);
-      foreach $i_cust_svc ( qsearch('cust_svc',{'pkgnum'=>$cust_pkgnum,'svcpart'=>$acct_svcpart}) ) {
-        my($svc_acct)=qsearchs('svc_acct',{'svcnum'=>$i_cust_svc->getfield('svcnum')});
-        $svc_acct{$svc_acct->getfield('svcnum')}=
-          $svc_acct->cust_svc->part_svc->svc. ': '. $svc_acct->email;
-      }  
-    }
-  }
-
-
-  my($d_part_svc,@d_acct_svcparts);
-  foreach $d_part_svc ( qsearch('part_svc',{'svcdb'=>'svc_domain'}) ) {
-    push @d_acct_svcparts,$d_part_svc->getfield('svcpart');
-  }
-
-  foreach $i_cust_pkg ( qsearch( 'cust_pkg', { 'custnum' => $custnum } ) ) {
-    my $cust_pkgnum = $i_cust_pkg->pkgnum;
-
-    foreach my $acct_svcpart (@d_acct_svcparts) {
-
-      foreach my $i_cust_svc (
-        qsearch( 'cust_svc', { 'pkgnum'  => $cust_pkgnum,
-                               'svcpart' => $acct_svcpart } )
-      ) {
-        my $svc_domain =
-          qsearchs( 'svc_domain', { 'svcnum' => $i_cust_svc->svcnum } );
-
-        my $extra_sql = "AND ( rectype = 'A' OR rectype = 'CNAME' )";
-        unless ( $conf->exists('svc_www-enable_subdomains') ) {
-          $extra_sql .= " AND ( reczone = '\@' OR reczone = '".
-                        $svc_domain->domain. ".' )";
-        }
-
-        foreach my $domain_rec (
-          qsearch( 'domain_record',
-                   {
-                     'svcnum' => $svc_domain->svcnum,
-                   },
-                   '',
-                   $extra_sql,
-          )
-        ) {
-          $arec{$domain_rec->recnum} = $domain_rec->zone;
-        }
-
-        if ( $conf->exists('svc_www-enable_subdomains') ) {
-          $arec{'www.'. $svc_domain->domain} = 'www.'. $svc_domain->domain
-            unless    qsearchs( 'domain_record', {
-                                  svcnum  => $svc_domain->svcnum,
-                                  reczone => 'www',
-                      } )
-                   || qsearchs( 'domain_record', {
-                                  svcnum  => $svc_domain->svcnum,
-                                  reczone => 'www.'.$svc_domain->domain.'.',
-                    } );
-        }
-
-        $arec{'@.'. $svc_domain->domain} = $svc_domain->domain
-          unless   qsearchs('domain_record', {
-                              svcnum  => $svc_domain->svcnum,
-                              reczone => '@',
-                   } )
-                || qsearchs('domain_record', {
-                              svcnum  => $svc_domain->svcnum,
-                              reczone => $svc_domain->domain.'.',
-                   } );
-
-      }
-
-    }
-  }
-
-} elsif ( $action eq 'Edit' ) {
-
-  my($domain_rec) = qsearchs('domain_record', { 'recnum'=>$svc_www->recnum });
-  $arec{$svc_www->recnum} = join '.', $domain_rec->recdata, $domain_rec->reczone;
-
-} else {
-  die "\$action eq Add, but \$pkgnum is null!\n";
-}
-
-
-my $p1 = popurl(1);
-print header("Web Hosting $action", '');
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print qq!<FORM ACTION="${p1}process/svc_www.cgi" METHOD=POST>!;
-
-#display
-
-
-#svcnum
-print qq!<INPUT TYPE="hidden" NAME="svcnum" VALUE="$svcnum">!;
-print qq!Service #<B>!, $svcnum ? $svcnum : "(NEW)", "</B><BR><BR>";
-
-#pkgnum
-print qq!<INPUT TYPE="hidden" NAME="pkgnum" VALUE="$pkgnum">!;
-#svcpart
-print qq!<INPUT TYPE="hidden" NAME="svcpart" VALUE="$svcpart">!;
-
-my($recnum,$usersvc)=(
-  $svc_www->recnum,
-  $svc_www->usersvc,
-);
-
-print &ntable("#cccccc",2),
-      '<TR><TD ALIGN="right">Zone</TD><TD><SELECT NAME="recnum" SIZE=1>';
-foreach $_ (keys %arec) {
-  print "<OPTION", $_ eq $recnum ? " SELECTED" : "",
-        qq! VALUE="$_">$arec{$_}!;
-}
-print "</SELECT></TD></TR>";
-
-print '<TR><TD ALIGN="right">Username</TD><TD><SELECT NAME="usersvc" SIZE=1>';
-print '<OPTION VALUE="">(none)';
-foreach $_ (keys %svc_acct) {
-  print "<OPTION", ($_ eq $usersvc) ? " SELECTED" : "",
-        qq! VALUE="$_">$svc_acct{$_}!;
-}
-print "</SELECT></TD></TR>";
-
-foreach my $field ($svc_www->virtual_fields) {
-  if ( $part_svc->part_svc_column($field)->columnflag ne 'F' ) {
-    # If the flag is X, it won't even show up in $svc_acct->virtual_fields.
-    print $svc_www->pvf($field)->widget('HTML', 'edit', 
-        $svc_www->getfield($field));
-  }
-}
-
-print '</TABLE><BR><INPUT TYPE="submit" VALUE="Submit">';
-
-print <<END;
-
-    </FORM>
-  </BODY>
-</HTML>
-END
-%>
diff --git a/httemplate/elements/calendar-en.js b/httemplate/elements/calendar-en.js
deleted file mode 100644 (file)
index e9d6a22..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-// ** I18N
-
-// Calendar EN language
-// Author: Mihai Bazon, <mishoo@infoiasi.ro>
-// Encoding: any
-// Distributed under the same terms as the calendar itself.
-
-// For translators: please use UTF-8 if possible.  We strongly believe that
-// Unicode is the answer to a real internationalized world.  Also please
-// include your contact information in the header, as can be seen above.
-
-// full day names
-Calendar._DN = new Array
-("Sunday",
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday",
- "Sunday");
-
-// Please note that the following array of short day names (and the same goes
-// for short month names, _SMN) isn't absolutely necessary.  We give it here
-// for exemplification on how one can customize the short day names, but if
-// they are simply the first N letters of the full name you can simply say:
-//
-//   Calendar._SDN_len = N; // short day name length
-//   Calendar._SMN_len = N; // short month name length
-//
-// If N = 3 then this is not needed either since we assume a value of 3 if not
-// present, to be compatible with translation files that were written before
-// this feature.
-
-// short day names
-Calendar._SDN = new Array
-("Sun",
- "Mon",
- "Tue",
- "Wed",
- "Thu",
- "Fri",
- "Sat",
- "Sun");
-
-// full month names
-Calendar._MN = new Array
-("January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December");
-
-// short month names
-Calendar._SMN = new Array
-("Jan",
- "Feb",
- "Mar",
- "Apr",
- "May",
- "Jun",
- "Jul",
- "Aug",
- "Sep",
- "Oct",
- "Nov",
- "Dec");
-
-// tooltips
-Calendar._TT = {};
-Calendar._TT["INFO"] = "About the calendar";
-
-Calendar._TT["ABOUT"] =
-"DHTML Date/Time Selector\n" +
-"(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
-"For latest version visit: http://dynarch.com/mishoo/calendar.epl\n" +
-"Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
-"\n\n" +
-"Date selection:\n" +
-"- Use the \xab, \xbb buttons to select year\n" +
-"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" +
-"- Hold mouse button on any of the above buttons for faster selection.";
-Calendar._TT["ABOUT_TIME"] = "\n\n" +
-"Time selection:\n" +
-"- Click on any of the time parts to increase it\n" +
-"- or Shift-click to decrease it\n" +
-"- or click and drag for faster selection.";
-
-Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)";
-Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)";
-Calendar._TT["GO_TODAY"] = "Go Today";
-Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)";
-Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)";
-Calendar._TT["SEL_DATE"] = "Select date";
-Calendar._TT["DRAG_TO_MOVE"] = "Drag to move";
-Calendar._TT["PART_TODAY"] = " (today)";
-
-// the following is to inform that "%s" is to be the first day of week
-// %s will be replaced with the day name.
-Calendar._TT["DAY_FIRST"] = "Display %s first";
-
-// This may be locale-dependent.  It specifies the week-end days, as an array
-// of comma-separated numbers.  The numbers are from 0 to 6: 0 means Sunday, 1
-// means Monday, etc.
-Calendar._TT["WEEKEND"] = "0,6";
-
-Calendar._TT["CLOSE"] = "Close";
-Calendar._TT["TODAY"] = "Today";
-Calendar._TT["TIME_PART"] = "(Shift-)Click or drag to change value";
-
-// date formats
-Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
-Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
-
-Calendar._TT["WK"] = "wk";
-Calendar._TT["TIME"] = "Time:";
diff --git a/httemplate/elements/calendar-setup.js b/httemplate/elements/calendar-setup.js
deleted file mode 100644 (file)
index 55e22b9..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-/*  Copyright Mihai Bazon, 2002, 2003  |  http://dynarch.com/mishoo/
- * ---------------------------------------------------------------------------
- *
- * The DHTML Calendar
- *
- * Details and latest version at:
- * http://dynarch.com/mishoo/calendar.epl
- *
- * This script is distributed under the GNU Lesser General Public License.
- * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html
- *
- * This file defines helper functions for setting up the calendar.  They are
- * intended to help non-programmers get a working calendar on their site
- * quickly.  This script should not be seen as part of the calendar.  It just
- * shows you what one can do with the calendar, while in the same time
- * providing a quick and simple method for setting it up.  If you need
- * exhaustive customization of the calendar creation process feel free to
- * modify this code to suit your needs (this is recommended and much better
- * than modifying calendar.js itself).
- */
-
-// $Id: calendar-setup.js,v 1.4 2004-09-22 11:04:41 ivan Exp $
-
-/**
- *  This function "patches" an input field (or other element) to use a calendar
- *  widget for date selection.
- *
- *  The "params" is a single object that can have the following properties:
- *
- *    prop. name   | description
- *  -------------------------------------------------------------------------------------------------
- *   inputField    | the ID of an input field to store the date
- *   displayArea   | the ID of a DIV or other element to show the date
- *   button        | ID of a button or other element that will trigger the calendar
- *   eventName     | event that will trigger the calendar, without the "on" prefix (default: "click")
- *   ifFormat      | date format that will be stored in the input field
- *   daFormat      | the date format that will be used to display the date in displayArea
- *   singleClick   | (true/false) wether the calendar is in single click mode or not (default: true)
- *   firstDay      | numeric: 0 to 6.  "0" means display Sunday first, "1" means display Monday first, etc.
- *   align         | alignment (default: "Br"); if you don't know what's this see the calendar documentation
- *   range         | array with 2 elements.  Default: [1900, 2999] -- the range of years available
- *   weekNumbers   | (true/false) if it's true (default) the calendar will display week numbers
- *   flat          | null or element ID; if not null the calendar will be a flat calendar having the parent with the given ID
- *   flatCallback  | function that receives a JS Date object and returns an URL to point the browser to (for flat calendar)
- *   disableFunc   | function that receives a JS Date object and should return true if that date has to be disabled in the calendar
- *   onSelect      | function that gets called when a date is selected.  You don't _have_ to supply this (the default is generally okay)
- *   onClose       | function that gets called when the calendar is closed.  [default]
- *   onUpdate      | function that gets called after the date is updated in the input field.  Receives a reference to the calendar.
- *   date          | the date that the calendar will be initially displayed to
- *   showsTime     | default: false; if true the calendar will include a time selector
- *   timeFormat    | the time format; can be "12" or "24", default is "12"
- *   electric      | if true (default) then given fields/date areas are updated for each move; otherwise they're updated only on close
- *   step          | configures the step of the years in drop-down boxes; default: 2
- *   position      | configures the calendar absolute position; default: null
- *   cache         | if "true" (but default: "false") it will reuse the same calendar object, where possible
- *   showOthers    | if "true" (but default: "false") it will show days from other months too
- *
- *  None of them is required, they all have default values.  However, if you
- *  pass none of "inputField", "displayArea" or "button" you'll get a warning
- *  saying "nothing to setup".
- */
-Calendar.setup = function (params) {
-       function param_default(pname, def) { if (typeof params[pname] == "undefined") { params[pname] = def; } };
-
-       param_default("inputField",     null);
-       param_default("displayArea",    null);
-       param_default("button",         null);
-       param_default("eventName",      "click");
-       param_default("ifFormat",       "%Y/%m/%d");
-       param_default("daFormat",       "%Y/%m/%d");
-       param_default("singleClick",    true);
-       param_default("disableFunc",    null);
-       param_default("dateStatusFunc", params["disableFunc"]); // takes precedence if both are defined
-       param_default("firstDay",       0); // defaults to "Sunday" first
-       param_default("align",          "Br");
-       param_default("range",          [1900, 2999]);
-       param_default("weekNumbers",    true);
-       param_default("flat",           null);
-       param_default("flatCallback",   null);
-       param_default("onSelect",       null);
-       param_default("onClose",        null);
-       param_default("onUpdate",       null);
-       param_default("date",           null);
-       param_default("showsTime",      false);
-       param_default("timeFormat",     "24");
-       param_default("electric",       true);
-       param_default("step",           2);
-       param_default("position",       null);
-       param_default("cache",          false);
-       param_default("showOthers",     false);
-
-       var tmp = ["inputField", "displayArea", "button"];
-       for (var i in tmp) {
-               if (typeof params[tmp[i]] == "string") {
-                       params[tmp[i]] = document.getElementById(params[tmp[i]]);
-               }
-       }
-       if (!(params.flat || params.inputField || params.displayArea || params.button)) {
-               alert("Calendar.setup:\n  Nothing to setup (no fields found).  Please check your code");
-               return false;
-       }
-
-       function onSelect(cal) {
-               var p = cal.params;
-               var update = (cal.dateClicked || p.electric);
-               if (update && p.flat) {
-                       if (typeof p.flatCallback == "function")
-                               p.flatCallback(cal);
-                       else
-                               alert("No flatCallback given -- doing nothing.");
-                       return false;
-               }
-               if (update && p.inputField) {
-                       p.inputField.value = cal.date.print(p.ifFormat);
-                       if (typeof p.inputField.onchange == "function")
-                               p.inputField.onchange();
-               }
-               if (update && p.displayArea)
-                       p.displayArea.innerHTML = cal.date.print(p.daFormat);
-               if (update && p.singleClick && cal.dateClicked)
-                       cal.callCloseHandler();
-               if (update && typeof p.onUpdate == "function")
-                       p.onUpdate(cal);
-       };
-
-       if (params.flat != null) {
-               if (typeof params.flat == "string")
-                       params.flat = document.getElementById(params.flat);
-               if (!params.flat) {
-                       alert("Calendar.setup:\n  Flat specified but can't find parent.");
-                       return false;
-               }
-               var cal = new Calendar(params.firstDay, params.date, params.onSelect || onSelect);
-               cal.showsTime = params.showsTime;
-               cal.time24 = (params.timeFormat == "24");
-               cal.params = params;
-               cal.weekNumbers = params.weekNumbers;
-               cal.setRange(params.range[0], params.range[1]);
-               cal.setDateStatusHandler(params.dateStatusFunc);
-               cal.create(params.flat);
-               cal.show();
-               return false;
-       }
-
-       var triggerEl = params.button || params.displayArea || params.inputField;
-       triggerEl["on" + params.eventName] = function() {
-               var dateEl = params.inputField || params.displayArea;
-               var dateFmt = params.inputField ? params.ifFormat : params.daFormat;
-               var mustCreate = false;
-               var cal = window.calendar;
-               if (!(cal && params.cache)) {
-                       window.calendar = cal = new Calendar(params.firstDay,
-                                                            params.date,
-                                                            params.onSelect || onSelect,
-                                                            params.onClose || function(cal) { cal.hide(); });
-                       cal.showsTime = params.showsTime;
-                       cal.time24 = (params.timeFormat == "24");
-                       cal.weekNumbers = params.weekNumbers;
-                       mustCreate = true;
-               } else {
-                       if (params.date)
-                               cal.setDate(params.date);
-                       cal.hide();
-               }
-               cal.showsOtherMonths = params.showOthers;
-               cal.yearStep = params.step;
-               cal.setRange(params.range[0], params.range[1]);
-               cal.params = params;
-               cal.setDateStatusHandler(params.dateStatusFunc);
-               cal.setDateFormat(dateFmt);
-               if (mustCreate)
-                       cal.create();
-               cal.parseDate(dateEl.value || dateEl.innerHTML);
-               cal.refresh();
-               if (!params.position)
-                       cal.showAtElement(params.button || params.displayArea || params.inputField, params.align);
-               else
-                       cal.showAt(params.position[0], params.position[1]);
-               return false;
-       };
-};
diff --git a/httemplate/elements/calendar-win2k-2.css b/httemplate/elements/calendar-win2k-2.css
deleted file mode 100644 (file)
index 6001cfa..0000000
+++ /dev/null
@@ -1,270 +0,0 @@
-/* The main calendar widget.  DIV containing a table. */
-
-.calendar {
-  position: relative;
-  display: none;
-  border-top: 2px solid #fff;
-  border-right: 2px solid #000;
-  border-bottom: 2px solid #000;
-  border-left: 2px solid #fff;
-  font-size: 11px;
-  color: #000;
-  cursor: default;
-  background: #d4c8d0;
-  font-family: tahoma,verdana,sans-serif;
-}
-
-.calendar table {
-  border-top: 1px solid #000;
-  border-right: 1px solid #fff;
-  border-bottom: 1px solid #fff;
-  border-left: 1px solid #000;
-  font-size: 11px;
-  color: #000;
-  cursor: default;
-  background: #d4c8d0;
-  font-family: tahoma,verdana,sans-serif;
-}
-
-/* Header part -- contains navigation buttons and day names. */
-
-.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
-  text-align: center;
-  padding: 1px;
-  border-top: 1px solid #fff;
-  border-right: 1px solid #000;
-  border-bottom: 1px solid #000;
-  border-left: 1px solid #fff;
-}
-
-.calendar .nav {
-  background: transparent url(menuarrow.gif) no-repeat 100% 100%;
-}
-
-.calendar thead .title { /* This holds the current "month, year" */
-  font-weight: bold;
-  padding: 1px;
-  border: 1px solid #000;
-  background: #847880;
-  color: #fff;
-  text-align: center;
-}
-
-.calendar thead .headrow { /* Row <TR> containing navigation buttons */
-}
-
-.calendar thead .daynames { /* Row <TR> containing the day names */
-}
-
-.calendar thead .name { /* Cells <TD> containing the day names */
-  border-bottom: 1px solid #000;
-  padding: 2px;
-  text-align: center;
-  background: #f4e8f0;
-}
-
-.calendar thead .weekend { /* How a weekend day name shows in header */
-  color: #f00;
-}
-
-.calendar thead .hilite { /* How do the buttons in header appear when hover */
-  border-top: 2px solid #fff;
-  border-right: 2px solid #000;
-  border-bottom: 2px solid #000;
-  border-left: 2px solid #fff;
-  padding: 0px;
-  background-color: #e4d8e0;
-}
-
-.calendar thead .active { /* Active (pressed) buttons in header */
-  padding: 2px 0px 0px 2px;
-  border-top: 1px solid #000;
-  border-right: 1px solid #fff;
-  border-bottom: 1px solid #fff;
-  border-left: 1px solid #000;
-  background-color: #c4b8c0;
-}
-
-/* The body part -- contains all the days in month. */
-
-.calendar tbody .day { /* Cells <TD> containing month days dates */
-  width: 2em;
-  text-align: right;
-  padding: 2px 4px 2px 2px;
-}
-.calendar tbody .day.othermonth {
-  font-size: 80%;
-  color: #aaa;
-}
-.calendar tbody .day.othermonth.oweekend {
-  color: #faa;
-}
-
-.calendar table .wn {
-  padding: 2px 3px 2px 2px;
-  border-right: 1px solid #000;
-  background: #f4e8f0;
-}
-
-.calendar tbody .rowhilite td {
-  background: #e4d8e0;
-}
-
-.calendar tbody .rowhilite td.wn {
-  background: #d4c8d0;
-}
-
-.calendar tbody td.hilite { /* Hovered cells <TD> */
-  padding: 1px 3px 1px 1px;
-  border-top: 1px solid #fff;
-  border-right: 1px solid #000;
-  border-bottom: 1px solid #000;
-  border-left: 1px solid #fff;
-}
-
-.calendar tbody td.active { /* Active (pressed) cells <TD> */
-  padding: 2px 2px 0px 2px;
-  border-top: 1px solid #000;
-  border-right: 1px solid #fff;
-  border-bottom: 1px solid #fff;
-  border-left: 1px solid #000;
-}
-
-.calendar tbody td.selected { /* Cell showing selected date */
-  font-weight: bold;
-  border-top: 1px solid #000;
-  border-right: 1px solid #fff;
-  border-bottom: 1px solid #fff;
-  border-left: 1px solid #000;
-  padding: 2px 2px 0px 2px;
-  background: #e4d8e0;
-}
-
-.calendar tbody td.weekend { /* Cells showing weekend days */
-  color: #f00;
-}
-
-.calendar tbody td.today { /* Cell showing today date */
-  font-weight: bold;
-  color: #00f;
-}
-
-.calendar tbody .disabled { color: #999; }
-
-.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
-  visibility: hidden;
-}
-
-.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
-  display: none;
-}
-
-/* The footer part -- status bar and "Close" button */
-
-.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
-}
-
-.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
-  background: #f4e8f0;
-  padding: 1px;
-  border: 1px solid #000;
-  background: #847880;
-  color: #fff;
-  text-align: center;
-}
-
-.calendar tfoot .hilite { /* Hover style for buttons in footer */
-  border-top: 1px solid #fff;
-  border-right: 1px solid #000;
-  border-bottom: 1px solid #000;
-  border-left: 1px solid #fff;
-  padding: 1px;
-  background: #e4d8e0;
-}
-
-.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
-  padding: 2px 0px 0px 2px;
-  border-top: 1px solid #000;
-  border-right: 1px solid #fff;
-  border-bottom: 1px solid #fff;
-  border-left: 1px solid #000;
-}
-
-/* Combo boxes (menus that display months/years for direct selection) */
-
-.calendar .combo {
-  position: absolute;
-  display: none;
-  width: 4em;
-  top: 0px;
-  left: 0px;
-  cursor: default;
-  border-top: 1px solid #fff;
-  border-right: 1px solid #000;
-  border-bottom: 1px solid #000;
-  border-left: 1px solid #fff;
-  background: #e4d8e0;
-  font-size: 90%;
-  padding: 1px;
-}
-
-.calendar .combo .label,
-.calendar .combo .label-IEfix {
-  text-align: center;
-  padding: 1px;
-}
-
-.calendar .combo .label-IEfix {
-  width: 4em;
-}
-
-.calendar .combo .active {
-  background: #d4c8d0;
-  padding: 0px;
-  border-top: 1px solid #000;
-  border-right: 1px solid #fff;
-  border-bottom: 1px solid #fff;
-  border-left: 1px solid #000;
-}
-
-.calendar .combo .hilite {
-  background: #408;
-  color: #fea;
-}
-
-.calendar td.time {
-  border-top: 1px solid #000;
-  padding: 1px 0px;
-  text-align: center;
-  background-color: #f4f0e8;
-}
-
-.calendar td.time .hour,
-.calendar td.time .minute,
-.calendar td.time .ampm {
-  padding: 0px 3px 0px 4px;
-  border: 1px solid #889;
-  font-weight: bold;
-  background-color: #fff;
-}
-
-.calendar td.time .ampm {
-  text-align: center;
-}
-
-.calendar td.time .colon {
-  padding: 0px 2px 0px 3px;
-  font-weight: bold;
-}
-
-.calendar td.time span.hilite {
-  border-color: #000;
-  background-color: #766;
-  color: #fff;
-}
-
-.calendar td.time span.active {
-  border-color: #f00;
-  background-color: #000;
-  color: #0f0;
-}
diff --git a/httemplate/elements/calendar.js b/httemplate/elements/calendar.js
deleted file mode 100644 (file)
index ec18d80..0000000
+++ /dev/null
@@ -1,1715 +0,0 @@
-/*  Copyright Mihai Bazon, 2002, 2003  |  http://dynarch.com/mishoo/
- * ------------------------------------------------------------------
- *
- * The DHTML Calendar, version 0.9.6 "Keep cool but don't freeze"
- *
- * Details and latest version at:
- * http://dynarch.com/mishoo/calendar.epl
- *
- * This script is distributed under the GNU Lesser General Public License.
- * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html
- */
-
-// $Id: calendar.js,v 1.4 2004-09-22 11:04:41 ivan Exp $
-
-/** The Calendar object constructor. */
-Calendar = function (firstDayOfWeek, dateStr, onSelected, onClose) {
-       // member variables
-       this.activeDiv = null;
-       this.currentDateEl = null;
-       this.getDateStatus = null;
-       this.timeout = null;
-       this.onSelected = onSelected || null;
-       this.onClose = onClose || null;
-       this.dragging = false;
-       this.hidden = false;
-       this.minYear = 1970;
-       this.maxYear = 2050;
-       this.dateFormat = Calendar._TT["DEF_DATE_FORMAT"];
-       this.ttDateFormat = Calendar._TT["TT_DATE_FORMAT"];
-       this.isPopup = true;
-       this.weekNumbers = true;
-       this.firstDayOfWeek = firstDayOfWeek; // 0 for Sunday, 1 for Monday, etc.
-       this.showsOtherMonths = false;
-       this.dateStr = dateStr;
-       this.ar_days = null;
-       this.showsTime = false;
-       this.time24 = true;
-       this.yearStep = 2;
-       // HTML elements
-       this.table = null;
-       this.element = null;
-       this.tbody = null;
-       this.firstdayname = null;
-       // Combo boxes
-       this.monthsCombo = null;
-       this.yearsCombo = null;
-       this.hilitedMonth = null;
-       this.activeMonth = null;
-       this.hilitedYear = null;
-       this.activeYear = null;
-       // Information
-       this.dateClicked = false;
-
-       // one-time initializations
-       if (typeof Calendar._SDN == "undefined") {
-               // table of short day names
-               if (typeof Calendar._SDN_len == "undefined")
-                       Calendar._SDN_len = 3;
-               var ar = new Array();
-               for (var i = 8; i > 0;) {
-                       ar[--i] = Calendar._DN[i].substr(0, Calendar._SDN_len);
-               }
-               Calendar._SDN = ar;
-               // table of short month names
-               if (typeof Calendar._SMN_len == "undefined")
-                       Calendar._SMN_len = 3;
-               ar = new Array();
-               for (var i = 12; i > 0;) {
-                       ar[--i] = Calendar._MN[i].substr(0, Calendar._SMN_len);
-               }
-               Calendar._SMN = ar;
-       }
-};
-
-// ** constants
-
-/// "static", needed for event handlers.
-Calendar._C = null;
-
-/// detect a special case of "web browser"
-Calendar.is_ie = ( /msie/i.test(navigator.userAgent) &&
-                  !/opera/i.test(navigator.userAgent) );
-
-Calendar.is_ie5 = ( Calendar.is_ie && /msie 5\.0/i.test(navigator.userAgent) );
-
-/// detect Opera browser
-Calendar.is_opera = /opera/i.test(navigator.userAgent);
-
-/// detect KHTML-based browsers
-Calendar.is_khtml = /Konqueror|Safari|KHTML/i.test(navigator.userAgent);
-
-// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate
-//        library, at some point.
-
-Calendar.getAbsolutePos = function(el) {
-       var SL = 0, ST = 0;
-       var is_div = /^div$/i.test(el.tagName);
-       if (is_div && el.scrollLeft)
-               SL = el.scrollLeft;
-       if (is_div && el.scrollTop)
-               ST = el.scrollTop;
-       var r = { x: el.offsetLeft - SL, y: el.offsetTop - ST };
-       if (el.offsetParent) {
-               var tmp = this.getAbsolutePos(el.offsetParent);
-               r.x += tmp.x;
-               r.y += tmp.y;
-       }
-       return r;
-};
-
-Calendar.isRelated = function (el, evt) {
-       var related = evt.relatedTarget;
-       if (!related) {
-               var type = evt.type;
-               if (type == "mouseover") {
-                       related = evt.fromElement;
-               } else if (type == "mouseout") {
-                       related = evt.toElement;
-               }
-       }
-       while (related) {
-               if (related == el) {
-                       return true;
-               }
-               related = related.parentNode;
-       }
-       return false;
-};
-
-Calendar.removeClass = function(el, className) {
-       if (!(el && el.className)) {
-               return;
-       }
-       var cls = el.className.split(" ");
-       var ar = new Array();
-       for (var i = cls.length; i > 0;) {
-               if (cls[--i] != className) {
-                       ar[ar.length] = cls[i];
-               }
-       }
-       el.className = ar.join(" ");
-};
-
-Calendar.addClass = function(el, className) {
-       Calendar.removeClass(el, className);
-       el.className += " " + className;
-};
-
-Calendar.getElement = function(ev) {
-       if (Calendar.is_ie) {
-               return window.event.srcElement;
-       } else {
-               return ev.currentTarget;
-       }
-};
-
-Calendar.getTargetElement = function(ev) {
-       if (Calendar.is_ie) {
-               return window.event.srcElement;
-       } else {
-               return ev.target;
-       }
-};
-
-Calendar.stopEvent = function(ev) {
-       ev || (ev = window.event);
-       if (Calendar.is_ie) {
-               ev.cancelBubble = true;
-               ev.returnValue = false;
-       } else {
-               ev.preventDefault();
-               ev.stopPropagation();
-       }
-       return false;
-};
-
-Calendar.addEvent = function(el, evname, func) {
-       if (el.attachEvent) { // IE
-               el.attachEvent("on" + evname, func);
-       } else if (el.addEventListener) { // Gecko / W3C
-               el.addEventListener(evname, func, true);
-       } else {
-               el["on" + evname] = func;
-       }
-};
-
-Calendar.removeEvent = function(el, evname, func) {
-       if (el.detachEvent) { // IE
-               el.detachEvent("on" + evname, func);
-       } else if (el.removeEventListener) { // Gecko / W3C
-               el.removeEventListener(evname, func, true);
-       } else {
-               el["on" + evname] = null;
-       }
-};
-
-Calendar.createElement = function(type, parent) {
-       var el = null;
-       if (document.createElementNS) {
-               // use the XHTML namespace; IE won't normally get here unless
-               // _they_ "fix" the DOM2 implementation.
-               el = document.createElementNS("http://www.w3.org/1999/xhtml", type);
-       } else {
-               el = document.createElement(type);
-       }
-       if (typeof parent != "undefined") {
-               parent.appendChild(el);
-       }
-       return el;
-};
-
-// END: UTILITY FUNCTIONS
-
-// BEGIN: CALENDAR STATIC FUNCTIONS
-
-/** Internal -- adds a set of events to make some element behave like a button. */
-Calendar._add_evs = function(el) {
-       with (Calendar) {
-               addEvent(el, "mouseover", dayMouseOver);
-               addEvent(el, "mousedown", dayMouseDown);
-               addEvent(el, "mouseout", dayMouseOut);
-               if (is_ie) {
-                       addEvent(el, "dblclick", dayMouseDblClick);
-                       el.setAttribute("unselectable", true);
-               }
-       }
-};
-
-Calendar.findMonth = function(el) {
-       if (typeof el.month != "undefined") {
-               return el;
-       } else if (typeof el.parentNode.month != "undefined") {
-               return el.parentNode;
-       }
-       return null;
-};
-
-Calendar.findYear = function(el) {
-       if (typeof el.year != "undefined") {
-               return el;
-       } else if (typeof el.parentNode.year != "undefined") {
-               return el.parentNode;
-       }
-       return null;
-};
-
-Calendar.showMonthsCombo = function () {
-       var cal = Calendar._C;
-       if (!cal) {
-               return false;
-       }
-       var cal = cal;
-       var cd = cal.activeDiv;
-       var mc = cal.monthsCombo;
-       if (cal.hilitedMonth) {
-               Calendar.removeClass(cal.hilitedMonth, "hilite");
-       }
-       if (cal.activeMonth) {
-               Calendar.removeClass(cal.activeMonth, "active");
-       }
-       var mon = cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()];
-       Calendar.addClass(mon, "active");
-       cal.activeMonth = mon;
-       var s = mc.style;
-       s.display = "block";
-       if (cd.navtype < 0)
-               s.left = cd.offsetLeft + "px";
-       else {
-               var mcw = mc.offsetWidth;
-               if (typeof mcw == "undefined")
-                       // Konqueror brain-dead techniques
-                       mcw = 50;
-               s.left = (cd.offsetLeft + cd.offsetWidth - mcw) + "px";
-       }
-       s.top = (cd.offsetTop + cd.offsetHeight) + "px";
-};
-
-Calendar.showYearsCombo = function (fwd) {
-       var cal = Calendar._C;
-       if (!cal) {
-               return false;
-       }
-       var cal = cal;
-       var cd = cal.activeDiv;
-       var yc = cal.yearsCombo;
-       if (cal.hilitedYear) {
-               Calendar.removeClass(cal.hilitedYear, "hilite");
-       }
-       if (cal.activeYear) {
-               Calendar.removeClass(cal.activeYear, "active");
-       }
-       cal.activeYear = null;
-       var Y = cal.date.getFullYear() + (fwd ? 1 : -1);
-       var yr = yc.firstChild;
-       var show = false;
-       for (var i = 12; i > 0; --i) {
-               if (Y >= cal.minYear && Y <= cal.maxYear) {
-                       yr.firstChild.data = Y;
-                       yr.year = Y;
-                       yr.style.display = "block";
-                       show = true;
-               } else {
-                       yr.style.display = "none";
-               }
-               yr = yr.nextSibling;
-               Y += fwd ? cal.yearStep : -cal.yearStep;
-       }
-       if (show) {
-               var s = yc.style;
-               s.display = "block";
-               if (cd.navtype < 0)
-                       s.left = cd.offsetLeft + "px";
-               else {
-                       var ycw = yc.offsetWidth;
-                       if (typeof ycw == "undefined")
-                               // Konqueror brain-dead techniques
-                               ycw = 50;
-                       s.left = (cd.offsetLeft + cd.offsetWidth - ycw) + "px";
-               }
-               s.top = (cd.offsetTop + cd.offsetHeight) + "px";
-       }
-};
-
-// event handlers
-
-Calendar.tableMouseUp = function(ev) {
-       var cal = Calendar._C;
-       if (!cal) {
-               return false;
-       }
-       if (cal.timeout) {
-               clearTimeout(cal.timeout);
-       }
-       var el = cal.activeDiv;
-       if (!el) {
-               return false;
-       }
-       var target = Calendar.getTargetElement(ev);
-       ev || (ev = window.event);
-       Calendar.removeClass(el, "active");
-       if (target == el || target.parentNode == el) {
-               Calendar.cellClick(el, ev);
-       }
-       var mon = Calendar.findMonth(target);
-       var date = null;
-       if (mon) {
-               date = new Date(cal.date);
-               if (mon.month != date.getMonth()) {
-                       date.setMonth(mon.month);
-                       cal.setDate(date);
-                       cal.dateClicked = false;
-                       cal.callHandler();
-               }
-       } else {
-               var year = Calendar.findYear(target);
-               if (year) {
-                       date = new Date(cal.date);
-                       if (year.year != date.getFullYear()) {
-                               date.setFullYear(year.year);
-                               cal.setDate(date);
-                               cal.dateClicked = false;
-                               cal.callHandler();
-                       }
-               }
-       }
-       with (Calendar) {
-               removeEvent(document, "mouseup", tableMouseUp);
-               removeEvent(document, "mouseover", tableMouseOver);
-               removeEvent(document, "mousemove", tableMouseOver);
-               cal._hideCombos();
-               _C = null;
-               return stopEvent(ev);
-       }
-};
-
-Calendar.tableMouseOver = function (ev) {
-       var cal = Calendar._C;
-       if (!cal) {
-               return;
-       }
-       var el = cal.activeDiv;
-       var target = Calendar.getTargetElement(ev);
-       if (target == el || target.parentNode == el) {
-               Calendar.addClass(el, "hilite active");
-               Calendar.addClass(el.parentNode, "rowhilite");
-       } else {
-               if (typeof el.navtype == "undefined" || (el.navtype != 50 && (el.navtype == 0 || Math.abs(el.navtype) > 2)))
-                       Calendar.removeClass(el, "active");
-               Calendar.removeClass(el, "hilite");
-               Calendar.removeClass(el.parentNode, "rowhilite");
-       }
-       ev || (ev = window.event);
-       if (el.navtype == 50 && target != el) {
-               var pos = Calendar.getAbsolutePos(el);
-               var w = el.offsetWidth;
-               var x = ev.clientX;
-               var dx;
-               var decrease = true;
-               if (x > pos.x + w) {
-                       dx = x - pos.x - w;
-                       decrease = false;
-               } else
-                       dx = pos.x - x;
-
-               if (dx < 0) dx = 0;
-               var range = el._range;
-               var current = el._current;
-               var count = Math.floor(dx / 10) % range.length;
-               for (var i = range.length; --i >= 0;)
-                       if (range[i] == current)
-                               break;
-               while (count-- > 0)
-                       if (decrease) {
-                               if (--i < 0)
-                                       i = range.length - 1;
-                       } else if ( ++i >= range.length )
-                               i = 0;
-               var newval = range[i];
-               el.firstChild.data = newval;
-
-               cal.onUpdateTime();
-       }
-       var mon = Calendar.findMonth(target);
-       if (mon) {
-               if (mon.month != cal.date.getMonth()) {
-                       if (cal.hilitedMonth) {
-                               Calendar.removeClass(cal.hilitedMonth, "hilite");
-                       }
-                       Calendar.addClass(mon, "hilite");
-                       cal.hilitedMonth = mon;
-               } else if (cal.hilitedMonth) {
-                       Calendar.removeClass(cal.hilitedMonth, "hilite");
-               }
-       } else {
-               if (cal.hilitedMonth) {
-                       Calendar.removeClass(cal.hilitedMonth, "hilite");
-               }
-               var year = Calendar.findYear(target);
-               if (year) {
-                       if (year.year != cal.date.getFullYear()) {
-                               if (cal.hilitedYear) {
-                                       Calendar.removeClass(cal.hilitedYear, "hilite");
-                               }
-                               Calendar.addClass(year, "hilite");
-                               cal.hilitedYear = year;
-                       } else if (cal.hilitedYear) {
-                               Calendar.removeClass(cal.hilitedYear, "hilite");
-                       }
-               } else if (cal.hilitedYear) {
-                       Calendar.removeClass(cal.hilitedYear, "hilite");
-               }
-       }
-       return Calendar.stopEvent(ev);
-};
-
-Calendar.tableMouseDown = function (ev) {
-       if (Calendar.getTargetElement(ev) == Calendar.getElement(ev)) {
-               return Calendar.stopEvent(ev);
-       }
-};
-
-Calendar.calDragIt = function (ev) {
-       var cal = Calendar._C;
-       if (!(cal && cal.dragging)) {
-               return false;
-       }
-       var posX;
-       var posY;
-       if (Calendar.is_ie) {
-               posY = window.event.clientY + document.body.scrollTop;
-               posX = window.event.clientX + document.body.scrollLeft;
-       } else {
-               posX = ev.pageX;
-               posY = ev.pageY;
-       }
-       cal.hideShowCovered();
-       var st = cal.element.style;
-       st.left = (posX - cal.xOffs) + "px";
-       st.top = (posY - cal.yOffs) + "px";
-       return Calendar.stopEvent(ev);
-};
-
-Calendar.calDragEnd = function (ev) {
-       var cal = Calendar._C;
-       if (!cal) {
-               return false;
-       }
-       cal.dragging = false;
-       with (Calendar) {
-               removeEvent(document, "mousemove", calDragIt);
-               removeEvent(document, "mouseup", calDragEnd);
-               tableMouseUp(ev);
-       }
-       cal.hideShowCovered();
-};
-
-Calendar.dayMouseDown = function(ev) {
-       var el = Calendar.getElement(ev);
-       if (el.disabled) {
-               return false;
-       }
-       var cal = el.calendar;
-       cal.activeDiv = el;
-       Calendar._C = cal;
-       if (el.navtype != 300) with (Calendar) {
-               if (el.navtype == 50) {
-                       el._current = el.firstChild.data;
-                       addEvent(document, "mousemove", tableMouseOver);
-               } else
-                       addEvent(document, Calendar.is_ie5 ? "mousemove" : "mouseover", tableMouseOver);
-               addClass(el, "hilite active");
-               addEvent(document, "mouseup", tableMouseUp);
-       } else if (cal.isPopup) {
-               cal._dragStart(ev);
-       }
-       if (el.navtype == -1 || el.navtype == 1) {
-               if (cal.timeout) clearTimeout(cal.timeout);
-               cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250);
-       } else if (el.navtype == -2 || el.navtype == 2) {
-               if (cal.timeout) clearTimeout(cal.timeout);
-               cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250);
-       } else {
-               cal.timeout = null;
-       }
-       return Calendar.stopEvent(ev);
-};
-
-Calendar.dayMouseDblClick = function(ev) {
-       Calendar.cellClick(Calendar.getElement(ev), ev || window.event);
-       if (Calendar.is_ie) {
-               document.selection.empty();
-       }
-};
-
-Calendar.dayMouseOver = function(ev) {
-       var el = Calendar.getElement(ev);
-       if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) {
-               return false;
-       }
-       if (el.ttip) {
-               if (el.ttip.substr(0, 1) == "_") {
-                       el.ttip = el.caldate.print(el.calendar.ttDateFormat) + el.ttip.substr(1);
-               }
-               el.calendar.tooltips.firstChild.data = el.ttip;
-       }
-       if (el.navtype != 300) {
-               Calendar.addClass(el, "hilite");
-               if (el.caldate) {
-                       Calendar.addClass(el.parentNode, "rowhilite");
-               }
-       }
-       return Calendar.stopEvent(ev);
-};
-
-Calendar.dayMouseOut = function(ev) {
-       with (Calendar) {
-               var el = getElement(ev);
-               if (isRelated(el, ev) || _C || el.disabled) {
-                       return false;
-               }
-               removeClass(el, "hilite");
-               if (el.caldate) {
-                       removeClass(el.parentNode, "rowhilite");
-               }
-               el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"];
-               return stopEvent(ev);
-       }
-};
-
-/**
- *  A generic "click" handler :) handles all types of buttons defined in this
- *  calendar.
- */
-Calendar.cellClick = function(el, ev) {
-       var cal = el.calendar;
-       var closing = false;
-       var newdate = false;
-       var date = null;
-       if (typeof el.navtype == "undefined") {
-               Calendar.removeClass(cal.currentDateEl, "selected");
-               Calendar.addClass(el, "selected");
-               closing = (cal.currentDateEl == el);
-               if (!closing) {
-                       cal.currentDateEl = el;
-               }
-               cal.date = new Date(el.caldate);
-               date = cal.date;
-               newdate = true;
-               // a date was clicked
-               if (!(cal.dateClicked = !el.otherMonth))
-                       cal._init(cal.firstDayOfWeek, date);
-       } else {
-               if (el.navtype == 200) {
-                       Calendar.removeClass(el, "hilite");
-                       cal.callCloseHandler();
-                       return;
-               }
-               date = (el.navtype == 0) ? new Date() : new Date(cal.date);
-               // unless "today" was clicked, we assume no date was clicked so
-               // the selected handler will know not to close the calenar when
-               // in single-click mode.
-               // cal.dateClicked = (el.navtype == 0);
-               cal.dateClicked = false;
-               var year = date.getFullYear();
-               var mon = date.getMonth();
-               function setMonth(m) {
-                       var day = date.getDate();
-                       var max = date.getMonthDays(m);
-                       if (day > max) {
-                               date.setDate(max);
-                       }
-                       date.setMonth(m);
-               };
-               switch (el.navtype) {
-                   case 400:
-                       Calendar.removeClass(el, "hilite");
-                       var text = Calendar._TT["ABOUT"];
-                       if (typeof text != "undefined") {
-                               text += cal.showsTime ? Calendar._TT["ABOUT_TIME"] : "";
-                       } else {
-                               // FIXME: this should be removed as soon as lang files get updated!
-                               text = "Help and about box text is not translated into this language.\n" +
-                                       "If you know this language and you feel generous please update\n" +
-                                       "the corresponding file in \"lang\" subdir to match calendar-en.js\n" +
-                                       "and send it back to <mishoo@infoiasi.ro> to get it into the distribution  ;-)\n\n" +
-                                       "Thank you!\n" +
-                                       "http://dynarch.com/mishoo/calendar.epl\n";
-                       }
-                       alert(text);
-                       return;
-                   case -2:
-                       if (year > cal.minYear) {
-                               date.setFullYear(year - 1);
-                       }
-                       break;
-                   case -1:
-                       if (mon > 0) {
-                               setMonth(mon - 1);
-                       } else if (year-- > cal.minYear) {
-                               date.setFullYear(year);
-                               setMonth(11);
-                       }
-                       break;
-                   case 1:
-                       if (mon < 11) {
-                               setMonth(mon + 1);
-                       } else if (year < cal.maxYear) {
-                               date.setFullYear(year + 1);
-                               setMonth(0);
-                       }
-                       break;
-                   case 2:
-                       if (year < cal.maxYear) {
-                               date.setFullYear(year + 1);
-                       }
-                       break;
-                   case 100:
-                       cal.setFirstDayOfWeek(el.fdow);
-                       return;
-                   case 50:
-                       var range = el._range;
-                       var current = el.firstChild.data;
-                       for (var i = range.length; --i >= 0;)
-                               if (range[i] == current)
-                                       break;
-                       if (ev && ev.shiftKey) {
-                               if (--i < 0)
-                                       i = range.length - 1;
-                       } else if ( ++i >= range.length )
-                               i = 0;
-                       var newval = range[i];
-                       el.firstChild.data = newval;
-                       cal.onUpdateTime();
-                       return;
-                   case 0:
-                       // TODAY will bring us here
-                       if ((typeof cal.getDateStatus == "function") && cal.getDateStatus(date, date.getFullYear(), date.getMonth(), date.getDate())) {
-                               // remember, "date" was previously set to new
-                               // Date() if TODAY was clicked; thus, it
-                               // contains today date.
-                               return false;
-                       }
-                       break;
-               }
-               if (!date.equalsTo(cal.date)) {
-                       cal.setDate(date);
-                       newdate = true;
-               }
-       }
-       if (newdate) {
-               cal.callHandler();
-       }
-       if (closing) {
-               Calendar.removeClass(el, "hilite");
-               cal.callCloseHandler();
-       }
-};
-
-// END: CALENDAR STATIC FUNCTIONS
-
-// BEGIN: CALENDAR OBJECT FUNCTIONS
-
-/**
- *  This function creates the calendar inside the given parent.  If _par is
- *  null than it creates a popup calendar inside the BODY element.  If _par is
- *  an element, be it BODY, then it creates a non-popup calendar (still
- *  hidden).  Some properties need to be set before calling this function.
- */
-Calendar.prototype.create = function (_par) {
-       var parent = null;
-       if (! _par) {
-               // default parent is the document body, in which case we create
-               // a popup calendar.
-               parent = document.getElementsByTagName("body")[0];
-               this.isPopup = true;
-       } else {
-               parent = _par;
-               this.isPopup = false;
-       }
-       this.date = this.dateStr ? new Date(this.dateStr) : new Date();
-
-       var table = Calendar.createElement("table");
-       this.table = table;
-       table.cellSpacing = 0;
-       table.cellPadding = 0;
-       table.calendar = this;
-       Calendar.addEvent(table, "mousedown", Calendar.tableMouseDown);
-
-       var div = Calendar.createElement("div");
-       this.element = div;
-       div.className = "calendar";
-       if (this.isPopup) {
-               div.style.position = "absolute";
-               div.style.display = "none";
-       }
-       div.appendChild(table);
-
-       var thead = Calendar.createElement("thead", table);
-       var cell = null;
-       var row = null;
-
-       var cal = this;
-       var hh = function (text, cs, navtype) {
-               cell = Calendar.createElement("td", row);
-               cell.colSpan = cs;
-               cell.className = "button";
-               if (navtype != 0 && Math.abs(navtype) <= 2)
-                       cell.className += " nav";
-               Calendar._add_evs(cell);
-               cell.calendar = cal;
-               cell.navtype = navtype;
-               if (text.substr(0, 1) != "&") {
-                       cell.appendChild(document.createTextNode(text));
-               }
-               else {
-                       // FIXME: dirty hack for entities
-                       cell.innerHTML = text;
-               }
-               return cell;
-       };
-
-       row = Calendar.createElement("tr", thead);
-       var title_length = 6;
-       (this.isPopup) && --title_length;
-       (this.weekNumbers) && ++title_length;
-
-       hh("?", 1, 400).ttip = Calendar._TT["INFO"];
-       this.title = hh("", title_length, 300);
-       this.title.className = "title";
-       if (this.isPopup) {
-               this.title.ttip = Calendar._TT["DRAG_TO_MOVE"];
-               this.title.style.cursor = "move";
-               hh("&#x00d7;", 1, 200).ttip = Calendar._TT["CLOSE"];
-       }
-
-       row = Calendar.createElement("tr", thead);
-       row.className = "headrow";
-
-       this._nav_py = hh("&#x00ab;", 1, -2);
-       this._nav_py.ttip = Calendar._TT["PREV_YEAR"];
-
-       this._nav_pm = hh("&#x2039;", 1, -1);
-       this._nav_pm.ttip = Calendar._TT["PREV_MONTH"];
-
-       this._nav_now = hh(Calendar._TT["TODAY"], this.weekNumbers ? 4 : 3, 0);
-       this._nav_now.ttip = Calendar._TT["GO_TODAY"];
-
-       this._nav_nm = hh("&#x203a;", 1, 1);
-       this._nav_nm.ttip = Calendar._TT["NEXT_MONTH"];
-
-       this._nav_ny = hh("&#x00bb;", 1, 2);
-       this._nav_ny.ttip = Calendar._TT["NEXT_YEAR"];
-
-       // day names
-       row = Calendar.createElement("tr", thead);
-       row.className = "daynames";
-       if (this.weekNumbers) {
-               cell = Calendar.createElement("td", row);
-               cell.className = "name wn";
-               cell.appendChild(document.createTextNode(Calendar._TT["WK"]));
-       }
-       for (var i = 7; i > 0; --i) {
-               cell = Calendar.createElement("td", row);
-               cell.appendChild(document.createTextNode(""));
-               if (!i) {
-                       cell.navtype = 100;
-                       cell.calendar = this;
-                       Calendar._add_evs(cell);
-               }
-       }
-       this.firstdayname = (this.weekNumbers) ? row.firstChild.nextSibling : row.firstChild;
-       this._displayWeekdays();
-
-       var tbody = Calendar.createElement("tbody", table);
-       this.tbody = tbody;
-
-       for (i = 6; i > 0; --i) {
-               row = Calendar.createElement("tr", tbody);
-               if (this.weekNumbers) {
-                       cell = Calendar.createElement("td", row);
-                       cell.appendChild(document.createTextNode(""));
-               }
-               for (var j = 7; j > 0; --j) {
-                       cell = Calendar.createElement("td", row);
-                       cell.appendChild(document.createTextNode(""));
-                       cell.calendar = this;
-                       Calendar._add_evs(cell);
-               }
-       }
-
-       if (this.showsTime) {
-               row = Calendar.createElement("tr", tbody);
-               row.className = "time";
-
-               cell = Calendar.createElement("td", row);
-               cell.className = "time";
-               cell.colSpan = 2;
-               cell.innerHTML = Calendar._TT["TIME"] || "&nbsp;";
-
-               cell = Calendar.createElement("td", row);
-               cell.className = "time";
-               cell.colSpan = this.weekNumbers ? 4 : 3;
-
-               (function(){
-                       function makeTimePart(className, init, range_start, range_end) {
-                               var part = Calendar.createElement("span", cell);
-                               part.className = className;
-                               part.appendChild(document.createTextNode(init));
-                               part.calendar = cal;
-                               part.ttip = Calendar._TT["TIME_PART"];
-                               part.navtype = 50;
-                               part._range = [];
-                               if (typeof range_start != "number")
-                                       part._range = range_start;
-                               else {
-                                       for (var i = range_start; i <= range_end; ++i) {
-                                               var txt;
-                                               if (i < 10 && range_end >= 10) txt = '0' + i;
-                                               else txt = '' + i;
-                                               part._range[part._range.length] = txt;
-                                       }
-                               }
-                               Calendar._add_evs(part);
-                               return part;
-                       };
-                       var hrs = cal.date.getHours();
-                       var mins = cal.date.getMinutes();
-                       var t12 = !cal.time24;
-                       var pm = (hrs > 12);
-                       if (t12 && pm) hrs -= 12;
-                       var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23);
-                       var span = Calendar.createElement("span", cell);
-                       span.appendChild(document.createTextNode(":"));
-                       span.className = "colon";
-                       var M = makeTimePart("minute", mins, 0, 59);
-                       var AP = null;
-                       cell = Calendar.createElement("td", row);
-                       cell.className = "time";
-                       cell.colSpan = 2;
-                       if (t12)
-                               AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]);
-                       else
-                               cell.innerHTML = "&nbsp;";
-
-                       cal.onSetTime = function() {
-                               var hrs = this.date.getHours();
-                               var mins = this.date.getMinutes();
-                               var pm = (hrs > 12);
-                               if (pm && t12) hrs -= 12;
-                               H.firstChild.data = (hrs < 10) ? ("0" + hrs) : hrs;
-                               M.firstChild.data = (mins < 10) ? ("0" + mins) : mins;
-                               if (t12)
-                                       AP.firstChild.data = pm ? "pm" : "am";
-                       };
-
-                       cal.onUpdateTime = function() {
-                               var date = this.date;
-                               var h = parseInt(H.firstChild.data, 10);
-                               if (t12) {
-                                       if (/pm/i.test(AP.firstChild.data) && h < 12)
-                                               h += 12;
-                                       else if (/am/i.test(AP.firstChild.data) && h == 12)
-                                               h = 0;
-                               }
-                               var d = date.getDate();
-                               var m = date.getMonth();
-                               var y = date.getFullYear();
-                               date.setHours(h);
-                               date.setMinutes(parseInt(M.firstChild.data, 10));
-                               date.setFullYear(y);
-                               date.setMonth(m);
-                               date.setDate(d);
-                               this.dateClicked = false;
-                               this.callHandler();
-                       };
-               })();
-       } else {
-               this.onSetTime = this.onUpdateTime = function() {};
-       }
-
-       var tfoot = Calendar.createElement("tfoot", table);
-
-       row = Calendar.createElement("tr", tfoot);
-       row.className = "footrow";
-
-       cell = hh(Calendar._TT["SEL_DATE"], this.weekNumbers ? 8 : 7, 300);
-       cell.className = "ttip";
-       if (this.isPopup) {
-               cell.ttip = Calendar._TT["DRAG_TO_MOVE"];
-               cell.style.cursor = "move";
-       }
-       this.tooltips = cell;
-
-       div = Calendar.createElement("div", this.element);
-       this.monthsCombo = div;
-       div.className = "combo";
-       for (i = 0; i < Calendar._MN.length; ++i) {
-               var mn = Calendar.createElement("div");
-               mn.className = Calendar.is_ie ? "label-IEfix" : "label";
-               mn.month = i;
-               mn.appendChild(document.createTextNode(Calendar._SMN[i]));
-               div.appendChild(mn);
-       }
-
-       div = Calendar.createElement("div", this.element);
-       this.yearsCombo = div;
-       div.className = "combo";
-       for (i = 12; i > 0; --i) {
-               var yr = Calendar.createElement("div");
-               yr.className = Calendar.is_ie ? "label-IEfix" : "label";
-               yr.appendChild(document.createTextNode(""));
-               div.appendChild(yr);
-       }
-
-       this._init(this.firstDayOfWeek, this.date);
-       parent.appendChild(this.element);
-};
-
-/** keyboard navigation, only for popup calendars */
-Calendar._keyEvent = function(ev) {
-       if (!window.calendar) {
-               return false;
-       }
-       (Calendar.is_ie) && (ev = window.event);
-       var cal = window.calendar;
-       var act = (Calendar.is_ie || ev.type == "keypress");
-       if (ev.ctrlKey) {
-               switch (ev.keyCode) {
-                   case 37: // KEY left
-                       act && Calendar.cellClick(cal._nav_pm);
-                       break;
-                   case 38: // KEY up
-                       act && Calendar.cellClick(cal._nav_py);
-                       break;
-                   case 39: // KEY right
-                       act && Calendar.cellClick(cal._nav_nm);
-                       break;
-                   case 40: // KEY down
-                       act && Calendar.cellClick(cal._nav_ny);
-                       break;
-                   default:
-                       return false;
-               }
-       } else switch (ev.keyCode) {
-           case 32: // KEY space (now)
-               Calendar.cellClick(cal._nav_now);
-               break;
-           case 27: // KEY esc
-               act && cal.callCloseHandler();
-               break;
-           case 37: // KEY left
-           case 38: // KEY up
-           case 39: // KEY right
-           case 40: // KEY down
-               if (act) {
-                       var date = cal.date.getDate() - 1;
-                       var el = cal.currentDateEl;
-                       var ne = null;
-                       var prev = (ev.keyCode == 37) || (ev.keyCode == 38);
-                       switch (ev.keyCode) {
-                           case 37: // KEY left
-                               (--date >= 0) && (ne = cal.ar_days[date]);
-                               break;
-                           case 38: // KEY up
-                               date -= 7;
-                               (date >= 0) && (ne = cal.ar_days[date]);
-                               break;
-                           case 39: // KEY right
-                               (++date < cal.ar_days.length) && (ne = cal.ar_days[date]);
-                               break;
-                           case 40: // KEY down
-                               date += 7;
-                               (date < cal.ar_days.length) && (ne = cal.ar_days[date]);
-                               break;
-                       }
-                       if (!ne) {
-                               if (prev) {
-                                       Calendar.cellClick(cal._nav_pm);
-                               } else {
-                                       Calendar.cellClick(cal._nav_nm);
-                               }
-                               date = (prev) ? cal.date.getMonthDays() : 1;
-                               el = cal.currentDateEl;
-                               ne = cal.ar_days[date - 1];
-                       }
-                       Calendar.removeClass(el, "selected");
-                       Calendar.addClass(ne, "selected");
-                       cal.date = new Date(ne.caldate);
-                       cal.callHandler();
-                       cal.currentDateEl = ne;
-               }
-               break;
-           case 13: // KEY enter
-               if (act) {
-                       cal.callHandler();
-                       cal.hide();
-               }
-               break;
-           default:
-               return false;
-       }
-       return Calendar.stopEvent(ev);
-};
-
-/**
- *  (RE)Initializes the calendar to the given date and firstDayOfWeek
- */
-Calendar.prototype._init = function (firstDayOfWeek, date) {
-       var today = new Date();
-       this.table.style.visibility = "hidden";
-       var year = date.getFullYear();
-       if (year < this.minYear) {
-               year = this.minYear;
-               date.setFullYear(year);
-       } else if (year > this.maxYear) {
-               year = this.maxYear;
-               date.setFullYear(year);
-       }
-       this.firstDayOfWeek = firstDayOfWeek;
-       this.date = new Date(date);
-       var month = date.getMonth();
-       var mday = date.getDate();
-       var no_days = date.getMonthDays();
-
-       // calendar voodoo for computing the first day that would actually be
-       // displayed in the calendar, even if it's from the previous month.
-       // WARNING: this is magic. ;-)
-       date.setDate(1);
-       var day1 = (date.getDay() - this.firstDayOfWeek) % 7;
-       if (day1 < 0)
-               day1 += 7;
-       date.setDate(-day1);
-       date.setDate(date.getDate() + 1);
-
-       var row = this.tbody.firstChild;
-       var MN = Calendar._SMN[month];
-       var ar_days = new Array();
-       var weekend = Calendar._TT["WEEKEND"];
-       for (var i = 0; i < 6; ++i, row = row.nextSibling) {
-               var cell = row.firstChild;
-               if (this.weekNumbers) {
-                       cell.className = "day wn";
-                       cell.firstChild.data = date.getWeekNumber();
-                       cell = cell.nextSibling;
-               }
-               row.className = "daysrow";
-               var hasdays = false;
-               for (var j = 0; j < 7; ++j, cell = cell.nextSibling, date.setDate(date.getDate() + 1)) {
-                       var iday = date.getDate();
-                       var wday = date.getDay();
-                       cell.className = "day";
-                       var current_month = (date.getMonth() == month);
-                       if (!current_month) {
-                               if (this.showsOtherMonths) {
-                                       cell.className += " othermonth";
-                                       cell.otherMonth = true;
-                               } else {
-                                       cell.className = "emptycell";
-                                       cell.innerHTML = "&nbsp;";
-                                       cell.disabled = true;
-                                       continue;
-                               }
-                       } else {
-                               cell.otherMonth = false;
-                               hasdays = true;
-                       }
-                       cell.disabled = false;
-                       cell.firstChild.data = iday;
-                       if (typeof this.getDateStatus == "function") {
-                               var status = this.getDateStatus(date, year, month, iday);
-                               if (status === true) {
-                                       cell.className += " disabled";
-                                       cell.disabled = true;
-                               } else {
-                                       if (/disabled/i.test(status))
-                                               cell.disabled = true;
-                                       cell.className += " " + status;
-                               }
-                       }
-                       if (!cell.disabled) {
-                               ar_days[ar_days.length] = cell;
-                               cell.caldate = new Date(date);
-                               cell.ttip = "_";
-                               if (current_month && iday == mday) {
-                                       cell.className += " selected";
-                                       this.currentDateEl = cell;
-                               }
-                               if (date.getFullYear() == today.getFullYear() &&
-                                   date.getMonth() == today.getMonth() &&
-                                   iday == today.getDate()) {
-                                       cell.className += " today";
-                                       cell.ttip += Calendar._TT["PART_TODAY"];
-                               }
-                               if (weekend.indexOf(wday.toString()) != -1) {
-                                       cell.className += cell.otherMonth ? " oweekend" : " weekend";
-                               }
-                       }
-               }
-               if (!(hasdays || this.showsOtherMonths))
-                       row.className = "emptyrow";
-       }
-       this.ar_days = ar_days;
-       this.title.firstChild.data = Calendar._MN[month] + ", " + year;
-       this.onSetTime();
-       this.table.style.visibility = "visible";
-       // PROFILE
-       // this.tooltips.firstChild.data = "Generated in " + ((new Date()) - today) + " ms";
-};
-
-/**
- *  Calls _init function above for going to a certain date (but only if the
- *  date is different than the currently selected one).
- */
-Calendar.prototype.setDate = function (date) {
-       if (!date.equalsTo(this.date)) {
-               this._init(this.firstDayOfWeek, date);
-       }
-};
-
-/**
- *  Refreshes the calendar.  Useful if the "disabledHandler" function is
- *  dynamic, meaning that the list of disabled date can change at runtime.
- *  Just * call this function if you think that the list of disabled dates
- *  should * change.
- */
-Calendar.prototype.refresh = function () {
-       this._init(this.firstDayOfWeek, this.date);
-};
-
-/** Modifies the "firstDayOfWeek" parameter (pass 0 for Synday, 1 for Monday, etc.). */
-Calendar.prototype.setFirstDayOfWeek = function (firstDayOfWeek) {
-       this._init(firstDayOfWeek, this.date);
-       this._displayWeekdays();
-};
-
-/**
- *  Allows customization of what dates are enabled.  The "unaryFunction"
- *  parameter must be a function object that receives the date (as a JS Date
- *  object) and returns a boolean value.  If the returned value is true then
- *  the passed date will be marked as disabled.
- */
-Calendar.prototype.setDateStatusHandler = Calendar.prototype.setDisabledHandler = function (unaryFunction) {
-       this.getDateStatus = unaryFunction;
-};
-
-/** Customization of allowed year range for the calendar. */
-Calendar.prototype.setRange = function (a, z) {
-       this.minYear = a;
-       this.maxYear = z;
-};
-
-/** Calls the first user handler (selectedHandler). */
-Calendar.prototype.callHandler = function () {
-       if (this.onSelected) {
-               this.onSelected(this, this.date.print(this.dateFormat));
-       }
-};
-
-/** Calls the second user handler (closeHandler). */
-Calendar.prototype.callCloseHandler = function () {
-       if (this.onClose) {
-               this.onClose(this);
-       }
-       this.hideShowCovered();
-};
-
-/** Removes the calendar object from the DOM tree and destroys it. */
-Calendar.prototype.destroy = function () {
-       var el = this.element.parentNode;
-       el.removeChild(this.element);
-       Calendar._C = null;
-       window.calendar = null;
-};
-
-/**
- *  Moves the calendar element to a different section in the DOM tree (changes
- *  its parent).
- */
-Calendar.prototype.reparent = function (new_parent) {
-       var el = this.element;
-       el.parentNode.removeChild(el);
-       new_parent.appendChild(el);
-};
-
-// This gets called when the user presses a mouse button anywhere in the
-// document, if the calendar is shown.  If the click was outside the open
-// calendar this function closes it.
-Calendar._checkCalendar = function(ev) {
-       if (!window.calendar) {
-               return false;
-       }
-       var el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev);
-       for (; el != null && el != calendar.element; el = el.parentNode);
-       if (el == null) {
-               // calls closeHandler which should hide the calendar.
-               window.calendar.callCloseHandler();
-               return Calendar.stopEvent(ev);
-       }
-};
-
-/** Shows the calendar. */
-Calendar.prototype.show = function () {
-       var rows = this.table.getElementsByTagName("tr");
-       for (var i = rows.length; i > 0;) {
-               var row = rows[--i];
-               Calendar.removeClass(row, "rowhilite");
-               var cells = row.getElementsByTagName("td");
-               for (var j = cells.length; j > 0;) {
-                       var cell = cells[--j];
-                       Calendar.removeClass(cell, "hilite");
-                       Calendar.removeClass(cell, "active");
-               }
-       }
-       this.element.style.display = "block";
-       this.hidden = false;
-       if (this.isPopup) {
-               window.calendar = this;
-               Calendar.addEvent(document, "keydown", Calendar._keyEvent);
-               Calendar.addEvent(document, "keypress", Calendar._keyEvent);
-               Calendar.addEvent(document, "mousedown", Calendar._checkCalendar);
-       }
-       this.hideShowCovered();
-};
-
-/**
- *  Hides the calendar.  Also removes any "hilite" from the class of any TD
- *  element.
- */
-Calendar.prototype.hide = function () {
-       if (this.isPopup) {
-               Calendar.removeEvent(document, "keydown", Calendar._keyEvent);
-               Calendar.removeEvent(document, "keypress", Calendar._keyEvent);
-               Calendar.removeEvent(document, "mousedown", Calendar._checkCalendar);
-       }
-       this.element.style.display = "none";
-       this.hidden = true;
-       this.hideShowCovered();
-};
-
-/**
- *  Shows the calendar at a given absolute position (beware that, depending on
- *  the calendar element style -- position property -- this might be relative
- *  to the parent's containing rectangle).
- */
-Calendar.prototype.showAt = function (x, y) {
-       var s = this.element.style;
-       s.left = x + "px";
-       s.top = y + "px";
-       this.show();
-};
-
-/** Shows the calendar near a given element. */
-Calendar.prototype.showAtElement = function (el, opts) {
-       var self = this;
-       var p = Calendar.getAbsolutePos(el);
-       if (!opts || typeof opts != "string") {
-               this.showAt(p.x, p.y + el.offsetHeight);
-               return true;
-       }
-       function fixPosition(box) {
-               if (box.x < 0)
-                       box.x = 0;
-               if (box.y < 0)
-                       box.y = 0;
-               var cp = document.createElement("div");
-               var s = cp.style;
-               s.position = "absolute";
-               s.right = s.bottom = s.width = s.height = "0px";
-               document.body.appendChild(cp);
-               var br = Calendar.getAbsolutePos(cp);
-               document.body.removeChild(cp);
-               if (Calendar.is_ie) {
-                       br.y += document.body.scrollTop;
-                       br.x += document.body.scrollLeft;
-               } else {
-                       br.y += window.scrollY;
-                       br.x += window.scrollX;
-               }
-               var tmp = box.x + box.width - br.x;
-               if (tmp > 0) box.x -= tmp;
-               tmp = box.y + box.height - br.y;
-               if (tmp > 0) box.y -= tmp;
-       };
-       this.element.style.display = "block";
-       Calendar.continuation_for_the_fucking_khtml_browser = function() {
-               var w = self.element.offsetWidth;
-               var h = self.element.offsetHeight;
-               self.element.style.display = "none";
-               var valign = opts.substr(0, 1);
-               var halign = "l";
-               if (opts.length > 1) {
-                       halign = opts.substr(1, 1);
-               }
-               // vertical alignment
-               switch (valign) {
-                   case "T": p.y -= h; break;
-                   case "B": p.y += el.offsetHeight; break;
-                   case "C": p.y += (el.offsetHeight - h) / 2; break;
-                   case "t": p.y += el.offsetHeight - h; break;
-                   case "b": break; // already there
-               }
-               // horizontal alignment
-               switch (halign) {
-                   case "L": p.x -= w; break;
-                   case "R": p.x += el.offsetWidth; break;
-                   case "C": p.x += (el.offsetWidth - w) / 2; break;
-                   case "r": p.x += el.offsetWidth - w; break;
-                   case "l": break; // already there
-               }
-               p.width = w;
-               p.height = h + 40;
-               self.monthsCombo.style.display = "none";
-               fixPosition(p);
-               self.showAt(p.x, p.y);
-       };
-       if (Calendar.is_khtml)
-               setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()", 10);
-       else
-               Calendar.continuation_for_the_fucking_khtml_browser();
-};
-
-/** Customizes the date format. */
-Calendar.prototype.setDateFormat = function (str) {
-       this.dateFormat = str;
-};
-
-/** Customizes the tooltip date format. */
-Calendar.prototype.setTtDateFormat = function (str) {
-       this.ttDateFormat = str;
-};
-
-/**
- *  Tries to identify the date represented in a string.  If successful it also
- *  calls this.setDate which moves the calendar to the given date.
- */
-Calendar.prototype.parseDate = function (str, fmt) {
-       var y = 0;
-       var m = -1;
-       var d = 0;
-       var a = str.split(/\W+/);
-       if (!fmt) {
-               fmt = this.dateFormat;
-       }
-       var b = fmt.match(/%./g);
-       var i = 0, j = 0;
-       var hr = 0;
-       var min = 0;
-       for (i = 0; i < a.length; ++i) {
-               if (!a[i])
-                       continue;
-               switch (b[i]) {
-                   case "%d":
-                   case "%e":
-                       d = parseInt(a[i], 10);
-                       break;
-
-                   case "%m":
-                       m = parseInt(a[i], 10) - 1;
-                       break;
-
-                   case "%Y":
-                   case "%y":
-                       y = parseInt(a[i], 10);
-                       (y < 100) && (y += (y > 29) ? 1900 : 2000);
-                       break;
-
-                   case "%b":
-                   case "%B":
-                       for (j = 0; j < 12; ++j) {
-                               if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; }
-                       }
-                       break;
-
-                   case "%H":
-                   case "%I":
-                   case "%k":
-                   case "%l":
-                       hr = parseInt(a[i], 10);
-                       break;
-
-                   case "%P":
-                   case "%p":
-                       if (/pm/i.test(a[i]) && hr < 12)
-                               hr += 12;
-                       break;
-
-                   case "%M":
-                       min = parseInt(a[i], 10);
-                       break;
-               }
-       }
-       if (y != 0 && m != -1 && d != 0) {
-               this.setDate(new Date(y, m, d, hr, min, 0));
-               return;
-       }
-       y = 0; m = -1; d = 0;
-       for (i = 0; i < a.length; ++i) {
-               if (a[i].search(/[a-zA-Z]+/) != -1) {
-                       var t = -1;
-                       for (j = 0; j < 12; ++j) {
-                               if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; }
-                       }
-                       if (t != -1) {
-                               if (m != -1) {
-                                       d = m+1;
-                               }
-                               m = t;
-                       }
-               } else if (parseInt(a[i], 10) <= 12 && m == -1) {
-                       m = a[i]-1;
-               } else if (parseInt(a[i], 10) > 31 && y == 0) {
-                       y = parseInt(a[i], 10);
-                       (y < 100) && (y += (y > 29) ? 1900 : 2000);
-               } else if (d == 0) {
-                       d = a[i];
-               }
-       }
-       if (y == 0) {
-               var today = new Date();
-               y = today.getFullYear();
-       }
-       if (m != -1 && d != 0) {
-               this.setDate(new Date(y, m, d, hr, min, 0));
-       }
-};
-
-Calendar.prototype.hideShowCovered = function () {
-       var self = this;
-       Calendar.continuation_for_the_fucking_khtml_browser = function() {
-               function getVisib(obj){
-                       var value = obj.style.visibility;
-                       if (!value) {
-                               if (document.defaultView && typeof (document.defaultView.getComputedStyle) == "function") { // Gecko, W3C
-                                       if (!Calendar.is_khtml)
-                                               value = document.defaultView.
-                                                       getComputedStyle(obj, "").getPropertyValue("visibility");
-                                       else
-                                               value = '';
-                               } else if (obj.currentStyle) { // IE
-                                       value = obj.currentStyle.visibility;
-                               } else
-                                       value = '';
-                       }
-                       return value;
-               };
-
-               var tags = new Array("applet", "iframe", "select");
-               var el = self.element;
-
-               var p = Calendar.getAbsolutePos(el);
-               var EX1 = p.x;
-               var EX2 = el.offsetWidth + EX1;
-               var EY1 = p.y;
-               var EY2 = el.offsetHeight + EY1;
-
-               for (var k = tags.length; k > 0; ) {
-                       var ar = document.getElementsByTagName(tags[--k]);
-                       var cc = null;
-
-                       for (var i = ar.length; i > 0;) {
-                               cc = ar[--i];
-
-                               p = Calendar.getAbsolutePos(cc);
-                               var CX1 = p.x;
-                               var CX2 = cc.offsetWidth + CX1;
-                               var CY1 = p.y;
-                               var CY2 = cc.offsetHeight + CY1;
-
-                               if (self.hidden || (CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1)) {
-                                       if (!cc.__msh_save_visibility) {
-                                               cc.__msh_save_visibility = getVisib(cc);
-                                       }
-                                       cc.style.visibility = cc.__msh_save_visibility;
-                               } else {
-                                       if (!cc.__msh_save_visibility) {
-                                               cc.__msh_save_visibility = getVisib(cc);
-                                       }
-                                       cc.style.visibility = "hidden";
-                               }
-                       }
-               }
-       };
-       if (Calendar.is_khtml)
-               setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()", 10);
-       else
-               Calendar.continuation_for_the_fucking_khtml_browser();
-};
-
-/** Internal function; it displays the bar with the names of the weekday. */
-Calendar.prototype._displayWeekdays = function () {
-       var fdow = this.firstDayOfWeek;
-       var cell = this.firstdayname;
-       var weekend = Calendar._TT["WEEKEND"];
-       for (var i = 0; i < 7; ++i) {
-               cell.className = "day name";
-               var realday = (i + fdow) % 7;
-               if (i) {
-                       cell.ttip = Calendar._TT["DAY_FIRST"].replace("%s", Calendar._DN[realday]);
-                       cell.navtype = 100;
-                       cell.calendar = this;
-                       cell.fdow = realday;
-                       Calendar._add_evs(cell);
-               }
-               if (weekend.indexOf(realday.toString()) != -1) {
-                       Calendar.addClass(cell, "weekend");
-               }
-               cell.firstChild.data = Calendar._SDN[(i + fdow) % 7];
-               cell = cell.nextSibling;
-       }
-};
-
-/** Internal function.  Hides all combo boxes that might be displayed. */
-Calendar.prototype._hideCombos = function () {
-       this.monthsCombo.style.display = "none";
-       this.yearsCombo.style.display = "none";
-};
-
-/** Internal function.  Starts dragging the element. */
-Calendar.prototype._dragStart = function (ev) {
-       if (this.dragging) {
-               return;
-       }
-       this.dragging = true;
-       var posX;
-       var posY;
-       if (Calendar.is_ie) {
-               posY = window.event.clientY + document.body.scrollTop;
-               posX = window.event.clientX + document.body.scrollLeft;
-       } else {
-               posY = ev.clientY + window.scrollY;
-               posX = ev.clientX + window.scrollX;
-       }
-       var st = this.element.style;
-       this.xOffs = posX - parseInt(st.left);
-       this.yOffs = posY - parseInt(st.top);
-       with (Calendar) {
-               addEvent(document, "mousemove", calDragIt);
-               addEvent(document, "mouseup", calDragEnd);
-       }
-};
-
-// BEGIN: DATE OBJECT PATCHES
-
-/** Adds the number of days array to the Date object. */
-Date._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
-
-/** Constants used for time computations */
-Date.SECOND = 1000 /* milliseconds */;
-Date.MINUTE = 60 * Date.SECOND;
-Date.HOUR   = 60 * Date.MINUTE;
-Date.DAY    = 24 * Date.HOUR;
-Date.WEEK   =  7 * Date.DAY;
-
-/** Returns the number of days in the current month */
-Date.prototype.getMonthDays = function(month) {
-       var year = this.getFullYear();
-       if (typeof month == "undefined") {
-               month = this.getMonth();
-       }
-       if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {
-               return 29;
-       } else {
-               return Date._MD[month];
-       }
-};
-
-/** Returns the number of day in the year. */
-Date.prototype.getDayOfYear = function() {
-       var now = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0);
-       var then = new Date(this.getFullYear(), 0, 0, 0, 0, 0);
-       var time = now - then;
-       return Math.floor(time / Date.DAY);
-};
-
-/** Returns the number of the week in year, as defined in ISO 8601. */
-Date.prototype.getWeekNumber = function() {
-       var d = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0);
-       var DoW = d.getDay();
-       d.setDate(d.getDate() - (DoW + 6) % 7 + 3); // Nearest Thu
-       var ms = d.valueOf(); // GMT
-       d.setMonth(0);
-       d.setDate(4); // Thu in Week 1
-       return Math.round((ms - d.valueOf()) / (7 * 864e5)) + 1;
-};
-
-/** Checks dates equality (ignores time) */
-Date.prototype.equalsTo = function(date) {
-       return ((this.getFullYear() == date.getFullYear()) &&
-               (this.getMonth() == date.getMonth()) &&
-               (this.getDate() == date.getDate()) &&
-               (this.getHours() == date.getHours()) &&
-               (this.getMinutes() == date.getMinutes()));
-};
-
-/** Prints the date in a string according to the given format. */
-Date.prototype.print = function (str) {
-       var m = this.getMonth();
-       var d = this.getDate();
-       var y = this.getFullYear();
-       var wn = this.getWeekNumber();
-       var w = this.getDay();
-       var s = {};
-       var hr = this.getHours();
-       var pm = (hr >= 12);
-       var ir = (pm) ? (hr - 12) : hr;
-       var dy = this.getDayOfYear();
-       if (ir == 0)
-               ir = 12;
-       var min = this.getMinutes();
-       var sec = this.getSeconds();
-       s["%a"] = Calendar._SDN[w]; // abbreviated weekday name [FIXME: I18N]
-       s["%A"] = Calendar._DN[w]; // full weekday name
-       s["%b"] = Calendar._SMN[m]; // abbreviated month name [FIXME: I18N]
-       s["%B"] = Calendar._MN[m]; // full month name
-       // FIXME: %c : preferred date and time representation for the current locale
-       s["%C"] = 1 + Math.floor(y / 100); // the century number
-       s["%d"] = (d < 10) ? ("0" + d) : d; // the day of the month (range 01 to 31)
-       s["%e"] = d; // the day of the month (range 1 to 31)
-       // FIXME: %D : american date style: %m/%d/%y
-       // FIXME: %E, %F, %G, %g, %h (man strftime)
-       s["%H"] = (hr < 10) ? ("0" + hr) : hr; // hour, range 00 to 23 (24h format)
-       s["%I"] = (ir < 10) ? ("0" + ir) : ir; // hour, range 01 to 12 (12h format)
-       s["%j"] = (dy < 100) ? ((dy < 10) ? ("00" + dy) : ("0" + dy)) : dy; // day of the year (range 001 to 366)
-       s["%k"] = hr;           // hour, range 0 to 23 (24h format)
-       s["%l"] = ir;           // hour, range 1 to 12 (12h format)
-       s["%m"] = (m < 9) ? ("0" + (1+m)) : (1+m); // month, range 01 to 12
-       s["%M"] = (min < 10) ? ("0" + min) : min; // minute, range 00 to 59
-       s["%n"] = "\n";         // a newline character
-       s["%p"] = pm ? "PM" : "AM";
-       s["%P"] = pm ? "pm" : "am";
-       // FIXME: %r : the time in am/pm notation %I:%M:%S %p
-       // FIXME: %R : the time in 24-hour notation %H:%M
-       s["%s"] = Math.floor(this.getTime() / 1000);
-       s["%S"] = (sec < 10) ? ("0" + sec) : sec; // seconds, range 00 to 59
-       s["%t"] = "\t";         // a tab character
-       // FIXME: %T : the time in 24-hour notation (%H:%M:%S)
-       s["%U"] = s["%W"] = s["%V"] = (wn < 10) ? ("0" + wn) : wn;
-       s["%u"] = w + 1;        // the day of the week (range 1 to 7, 1 = MON)
-       s["%w"] = w;            // the day of the week (range 0 to 6, 0 = SUN)
-       // FIXME: %x : preferred date representation for the current locale without the time
-       // FIXME: %X : preferred time representation for the current locale without the date
-       s["%y"] = ('' + y).substr(2, 2); // year without the century (range 00 to 99)
-       s["%Y"] = y;            // year with the century
-       s["%%"] = "%";          // a literal '%' character
-
-       var re = /%./g;
-       if (!Calendar.is_ie5)
-               return str.replace(re, function (par) { return s[par] || par; });
-
-       var a = str.match(re);
-       for (var i = 0; i < a.length; i++) {
-               var tmp = s[a[i]];
-               if (tmp) {
-                       re = new RegExp(a[i], 'g');
-                       str = str.replace(re, tmp);
-               }
-       }
-
-       return str;
-};
-
-Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;
-Date.prototype.setFullYear = function(y) {
-       var d = new Date(this);
-       d.__msh_oldSetFullYear(y);
-       if (d.getMonth() != this.getMonth())
-               this.setDate(28);
-       this.__msh_oldSetFullYear(y);
-};
-
-// END: DATE OBJECT PATCHES
-
-
-// global object that remembers the calendar
-window.calendar = null;
diff --git a/httemplate/elements/calendar_stripped.js b/httemplate/elements/calendar_stripped.js
deleted file mode 100644 (file)
index 6a8e326..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/*  Copyright Mihai Bazon, 2002, 2003  |  http://dynarch.com/mishoo/
- * ------------------------------------------------------------------
- *
- * The DHTML Calendar, version 0.9.6 "Keep cool but don't freeze"
- *
- * Details and latest version at:
- * http://dynarch.com/mishoo/calendar.epl
- *
- * This script is distributed under the GNU Lesser General Public License.
- * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html
- */
- Calendar=function(firstDayOfWeek,dateStr,onSelected,onClose){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.timeout=null;this.onSelected=onSelected||null;this.onClose=onClose||null;this.dragging=false;this.hidden=false;this.minYear=1970;this.maxYear=2050;this.dateFormat=Calendar._TT["DEF_DATE_FORMAT"];this.ttDateFormat=Calendar._TT["TT_DATE_FORMAT"];this.isPopup=true;this.weekNumbers=true;this.firstDayOfWeek=firstDayOfWeek;this.showsOtherMonths=false;this.dateStr=dateStr;this.ar_days=null;this.showsTime=false;this.time24=true;this.yearStep=2;this.table=null;this.element=null;this.tbody=null;this.firstdayname=null;this.monthsCombo=null;this.yearsCombo=null;this.hilitedMonth=null;this.activeMonth=null;this.hilitedYear=null;this.activeYear=null;this.dateClicked=false;if(typeof Calendar._SDN=="undefined"){if(typeof Calendar._SDN_len=="undefined")Calendar._SDN_len=3;var ar=new Array();for(var i=8;i>0;){ar[--i]=Calendar._DN[i].substr(0,Calendar._SDN_len);}Calendar._SDN=ar;if(typeof Calendar._SMN_len=="undefined")Calendar._SMN_len=3;ar=new Array();for(var i=12;i>0;){ar[--i]=Calendar._MN[i].substr(0,Calendar._SMN_len);}Calendar._SMN=ar;}};Calendar._C=null;Calendar.is_ie=(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent));Calendar.is_ie5=(Calendar.is_ie&&/msie 5\.0/i.test(navigator.userAgent));Calendar.is_opera=/opera/i.test(navigator.userAgent);Calendar.is_khtml=/Konqueror|Safari|KHTML/i.test(navigator.userAgent);Calendar.getAbsolutePos=function(el){var SL=0,ST=0;var is_div=/^div$/i.test(el.tagName);if(is_div&&el.scrollLeft)SL=el.scrollLeft;if(is_div&&el.scrollTop)ST=el.scrollTop;var r={x:el.offsetLeft-SL,y:el.offsetTop-ST};if(el.offsetParent){var tmp=this.getAbsolutePos(el.offsetParent);r.x+=tmp.x;r.y+=tmp.y;}return r;};Calendar.isRelated=function(el,evt){var related=evt.relatedTarget;if(!related){var type=evt.type;if(type=="mouseover"){related=evt.fromElement;}else if(type=="mouseout"){related=evt.toElement;}}while(related){if(related==el){return true;}related=related.parentNode;}return false;};Calendar.removeClass=function(el,className){if(!(el&&el.className)){return;}var cls=el.className.split(" ");var ar=new Array();for(var i=cls.length;i>0;){if(cls[--i]!=className){ar[ar.length]=cls[i];}}el.className=ar.join(" ");};Calendar.addClass=function(el,className){Calendar.removeClass(el,className);el.className+=" "+className;};Calendar.getElement=function(ev){if(Calendar.is_ie){return window.event.srcElement;}else{return ev.currentTarget;}};Calendar.getTargetElement=function(ev){if(Calendar.is_ie){return window.event.srcElement;}else{return ev.target;}};Calendar.stopEvent=function(ev){ev||(ev=window.event);if(Calendar.is_ie){ev.cancelBubble=true;ev.returnValue=false;}else{ev.preventDefault();ev.stopPropagation();}return false;};Calendar.addEvent=function(el,evname,func){if(el.attachEvent){el.attachEvent("on"+evname,func);}else if(el.addEventListener){el.addEventListener(evname,func,true);}else{el["on"+evname]=func;}};Calendar.removeEvent=function(el,evname,func){if(el.detachEvent){el.detachEvent("on"+evname,func);}else if(el.removeEventListener){el.removeEventListener(evname,func,true);}else{el["on"+evname]=null;}};Calendar.createElement=function(type,parent){var el=null;if(document.createElementNS){el=document.createElementNS("http://www.w3.org/1999/xhtml",type);}else{el=document.createElement(type);}if(typeof parent!="undefined"){parent.appendChild(el);}return el;};Calendar._add_evs=function(el){with(Calendar){addEvent(el,"mouseover",dayMouseOver);addEvent(el,"mousedown",dayMouseDown);addEvent(el,"mouseout",dayMouseOut);if(is_ie){addEvent(el,"dblclick",dayMouseDblClick);el.setAttribute("unselectable",true);}}};Calendar.findMonth=function(el){if(typeof el.month!="undefined"){return el;}else if(typeof el.parentNode.month!="undefined"){return el.parentNode;}return null;};Calendar.findYear=function(el){if(typeof el.year!="undefined"){return el;}else if(typeof el.parentNode.year!="undefined"){return el.parentNode;}return null;};Calendar.showMonthsCombo=function(){var cal=Calendar._C;if(!cal){return false;}var cal=cal;var cd=cal.activeDiv;var mc=cal.monthsCombo;if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}if(cal.activeMonth){Calendar.removeClass(cal.activeMonth,"active");}var mon=cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()];Calendar.addClass(mon,"active");cal.activeMonth=mon;var s=mc.style;s.display="block";if(cd.navtype<0)s.left=cd.offsetLeft+"px";else{var mcw=mc.offsetWidth;if(typeof mcw=="undefined")mcw=50;s.left=(cd.offsetLeft+cd.offsetWidth-mcw)+"px";}s.top=(cd.offsetTop+cd.offsetHeight)+"px";};Calendar.showYearsCombo=function(fwd){var cal=Calendar._C;if(!cal){return false;}var cal=cal;var cd=cal.activeDiv;var yc=cal.yearsCombo;if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}if(cal.activeYear){Calendar.removeClass(cal.activeYear,"active");}cal.activeYear=null;var Y=cal.date.getFullYear()+(fwd?1:-1);var yr=yc.firstChild;var show=false;for(var i=12;i>0;--i){if(Y>=cal.minYear&&Y<=cal.maxYear){yr.firstChild.data=Y;yr.year=Y;yr.style.display="block";show=true;}else{yr.style.display="none";}yr=yr.nextSibling;Y+=fwd?cal.yearStep:-cal.yearStep;}if(show){var s=yc.style;s.display="block";if(cd.navtype<0)s.left=cd.offsetLeft+"px";else{var ycw=yc.offsetWidth;if(typeof ycw=="undefined")ycw=50;s.left=(cd.offsetLeft+cd.offsetWidth-ycw)+"px";}s.top=(cd.offsetTop+cd.offsetHeight)+"px";}};Calendar.tableMouseUp=function(ev){var cal=Calendar._C;if(!cal){return false;}if(cal.timeout){clearTimeout(cal.timeout);}var el=cal.activeDiv;if(!el){return false;}var target=Calendar.getTargetElement(ev);ev||(ev=window.event);Calendar.removeClass(el,"active");if(target==el||target.parentNode==el){Calendar.cellClick(el,ev);}var mon=Calendar.findMonth(target);var date=null;if(mon){date=new Date(cal.date);if(mon.month!=date.getMonth()){date.setMonth(mon.month);cal.setDate(date);cal.dateClicked=false;cal.callHandler();}}else{var year=Calendar.findYear(target);if(year){date=new Date(cal.date);if(year.year!=date.getFullYear()){date.setFullYear(year.year);cal.setDate(date);cal.dateClicked=false;cal.callHandler();}}}with(Calendar){removeEvent(document,"mouseup",tableMouseUp);removeEvent(document,"mouseover",tableMouseOver);removeEvent(document,"mousemove",tableMouseOver);cal._hideCombos();_C=null;return stopEvent(ev);}};Calendar.tableMouseOver=function(ev){var cal=Calendar._C;if(!cal){return;}var el=cal.activeDiv;var target=Calendar.getTargetElement(ev);if(target==el||target.parentNode==el){Calendar.addClass(el,"hilite active");Calendar.addClass(el.parentNode,"rowhilite");}else{if(typeof el.navtype=="undefined"||(el.navtype!=50&&(el.navtype==0||Math.abs(el.navtype)>2)))Calendar.removeClass(el,"active");Calendar.removeClass(el,"hilite");Calendar.removeClass(el.parentNode,"rowhilite");}ev||(ev=window.event);if(el.navtype==50&&target!=el){var pos=Calendar.getAbsolutePos(el);var w=el.offsetWidth;var x=ev.clientX;var dx;var decrease=true;if(x>pos.x+w){dx=x-pos.x-w;decrease=false;}else dx=pos.x-x;if(dx<0)dx=0;var range=el._range;var current=el._current;var count=Math.floor(dx/10)%range.length;for(var i=range.length;--i>=0;)if(range[i]==current)break;while(count-->0)if(decrease){if(--i<0)i=range.length-1;}else if(++i>=range.length)i=0;var newval=range[i];el.firstChild.data=newval;cal.onUpdateTime();}var mon=Calendar.findMonth(target);if(mon){if(mon.month!=cal.date.getMonth()){if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}Calendar.addClass(mon,"hilite");cal.hilitedMonth=mon;}else if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}}else{if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}var year=Calendar.findYear(target);if(year){if(year.year!=cal.date.getFullYear()){if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}Calendar.addClass(year,"hilite");cal.hilitedYear=year;}else if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}}else if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}}return Calendar.stopEvent(ev);};Calendar.tableMouseDown=function(ev){if(Calendar.getTargetElement(ev)==Calendar.getElement(ev)){return Calendar.stopEvent(ev);}};Calendar.calDragIt=function(ev){var cal=Calendar._C;if(!(cal&&cal.dragging)){return false;}var posX;var posY;if(Calendar.is_ie){posY=window.event.clientY+document.body.scrollTop;posX=window.event.clientX+document.body.scrollLeft;}else{posX=ev.pageX;posY=ev.pageY;}cal.hideShowCovered();var st=cal.element.style;st.left=(posX-cal.xOffs)+"px";st.top=(posY-cal.yOffs)+"px";return Calendar.stopEvent(ev);};Calendar.calDragEnd=function(ev){var cal=Calendar._C;if(!cal){return false;}cal.dragging=false;with(Calendar){removeEvent(document,"mousemove",calDragIt);removeEvent(document,"mouseup",calDragEnd);tableMouseUp(ev);}cal.hideShowCovered();};Calendar.dayMouseDown=function(ev){var el=Calendar.getElement(ev);if(el.disabled){return false;}var cal=el.calendar;cal.activeDiv=el;Calendar._C=cal;if(el.navtype!=300)with(Calendar){if(el.navtype==50){el._current=el.firstChild.data;addEvent(document,"mousemove",tableMouseOver);}else addEvent(document,Calendar.is_ie5?"mousemove":"mouseover",tableMouseOver);addClass(el,"hilite active");addEvent(document,"mouseup",tableMouseUp);}else if(cal.isPopup){cal._dragStart(ev);}if(el.navtype==-1||el.navtype==1){if(cal.timeout)clearTimeout(cal.timeout);cal.timeout=setTimeout("Calendar.showMonthsCombo()",250);}else if(el.navtype==-2||el.navtype==2){if(cal.timeout)clearTimeout(cal.timeout);cal.timeout=setTimeout((el.navtype>0)?"Calendar.showYearsCombo(true)":"Calendar.showYearsCombo(false)",250);}else{cal.timeout=null;}return Calendar.stopEvent(ev);};Calendar.dayMouseDblClick=function(ev){Calendar.cellClick(Calendar.getElement(ev),ev||window.event);if(Calendar.is_ie){document.selection.empty();}};Calendar.dayMouseOver=function(ev){var el=Calendar.getElement(ev);if(Calendar.isRelated(el,ev)||Calendar._C||el.disabled){return false;}if(el.ttip){if(el.ttip.substr(0,1)=="_"){el.ttip=el.caldate.print(el.calendar.ttDateFormat)+el.ttip.substr(1);}el.calendar.tooltips.firstChild.data=el.ttip;}if(el.navtype!=300){Calendar.addClass(el,"hilite");if(el.caldate){Calendar.addClass(el.parentNode,"rowhilite");}}return Calendar.stopEvent(ev);};Calendar.dayMouseOut=function(ev){with(Calendar){var el=getElement(ev);if(isRelated(el,ev)||_C||el.disabled){return false;}removeClass(el,"hilite");if(el.caldate){removeClass(el.parentNode,"rowhilite");}el.calendar.tooltips.firstChild.data=_TT["SEL_DATE"];return stopEvent(ev);}};Calendar.cellClick=function(el,ev){var cal=el.calendar;var closing=false;var newdate=false;var date=null;if(typeof el.navtype=="undefined"){Calendar.removeClass(cal.currentDateEl,"selected");Calendar.addClass(el,"selected");closing=(cal.currentDateEl==el);if(!closing){cal.currentDateEl=el;}cal.date=new Date(el.caldate);date=cal.date;newdate=true;if(!(cal.dateClicked=!el.otherMonth))cal._init(cal.firstDayOfWeek,date);}else{if(el.navtype==200){Calendar.removeClass(el,"hilite");cal.callCloseHandler();return;}date=(el.navtype==0)?new Date():new Date(cal.date);cal.dateClicked=false;var year=date.getFullYear();var mon=date.getMonth();function setMonth(m){var day=date.getDate();var max=date.getMonthDays(m);if(day>max){date.setDate(max);}date.setMonth(m);};switch(el.navtype){case 400:Calendar.removeClass(el,"hilite");var text=Calendar._TT["ABOUT"];if(typeof text!="undefined"){text+=cal.showsTime?Calendar._TT["ABOUT_TIME"]:"";}else{text="Help and about box text is not translated into this language.\n"+"If you know this language and you feel generous please update\n"+"the corresponding file in \"lang\" subdir to match calendar-en.js\n"+"and send it back to <mishoo@infoiasi.ro> to get it into the distribution  ;-)\n\n"+"Thank you!\n"+"http://dynarch.com/mishoo/calendar.epl\n";}alert(text);return;case-2:if(year>cal.minYear){date.setFullYear(year-1);}break;case-1:if(mon>0){setMonth(mon-1);}else if(year-->cal.minYear){date.setFullYear(year);setMonth(11);}break;case 1:if(mon<11){setMonth(mon+1);}else if(year<cal.maxYear){date.setFullYear(year+1);setMonth(0);}break;case 2:if(year<cal.maxYear){date.setFullYear(year+1);}break;case 100:cal.setFirstDayOfWeek(el.fdow);return;case 50:var range=el._range;var current=el.firstChild.data;for(var i=range.length;--i>=0;)if(range[i]==current)break;if(ev&&ev.shiftKey){if(--i<0)i=range.length-1;}else if(++i>=range.length)i=0;var newval=range[i];el.firstChild.data=newval;cal.onUpdateTime();return;case 0:if((typeof cal.getDateStatus=="function")&&cal.getDateStatus(date,date.getFullYear(),date.getMonth(),date.getDate())){return false;}break;}if(!date.equalsTo(cal.date)){cal.setDate(date);newdate=true;}}if(newdate){cal.callHandler();}if(closing){Calendar.removeClass(el,"hilite");cal.callCloseHandler();}};Calendar.prototype.create=function(_par){var parent=null;if(!_par){parent=document.getElementsByTagName("body")[0];this.isPopup=true;}else{parent=_par;this.isPopup=false;}this.date=this.dateStr?new Date(this.dateStr):new Date();var table=Calendar.createElement("table");this.table=table;table.cellSpacing=0;table.cellPadding=0;table.calendar=this;Calendar.addEvent(table,"mousedown",Calendar.tableMouseDown);var div=Calendar.createElement("div");this.element=div;div.className="calendar";if(this.isPopup){div.style.position="absolute";div.style.display="none";}div.appendChild(table);var thead=Calendar.createElement("thead",table);var cell=null;var row=null;var cal=this;var hh=function(text,cs,navtype){cell=Calendar.createElement("td",row);cell.colSpan=cs;cell.className="button";if(navtype!=0&&Math.abs(navtype)<=2)cell.className+=" nav";Calendar._add_evs(cell);cell.calendar=cal;cell.navtype=navtype;if(text.substr(0,1)!="&"){cell.appendChild(document.createTextNode(text));}else{cell.innerHTML=text;}return cell;};row=Calendar.createElement("tr",thead);var title_length=6;(this.isPopup)&&--title_length;(this.weekNumbers)&&++title_length;hh("?",1,400).ttip=Calendar._TT["INFO"];this.title=hh("",title_length,300);this.title.className="title";if(this.isPopup){this.title.ttip=Calendar._TT["DRAG_TO_MOVE"];this.title.style.cursor="move";hh("&#x00d7;",1,200).ttip=Calendar._TT["CLOSE"];}row=Calendar.createElement("tr",thead);row.className="headrow";this._nav_py=hh("&#x00ab;",1,-2);this._nav_py.ttip=Calendar._TT["PREV_YEAR"];this._nav_pm=hh("&#x2039;",1,-1);this._nav_pm.ttip=Calendar._TT["PREV_MONTH"];this._nav_now=hh(Calendar._TT["TODAY"],this.weekNumbers?4:3,0);this._nav_now.ttip=Calendar._TT["GO_TODAY"];this._nav_nm=hh("&#x203a;",1,1);this._nav_nm.ttip=Calendar._TT["NEXT_MONTH"];this._nav_ny=hh("&#x00bb;",1,2);this._nav_ny.ttip=Calendar._TT["NEXT_YEAR"];row=Calendar.createElement("tr",thead);row.className="daynames";if(this.weekNumbers){cell=Calendar.createElement("td",row);cell.className="name wn";cell.appendChild(document.createTextNode(Calendar._TT["WK"]));}for(var i=7;i>0;--i){cell=Calendar.createElement("td",row);cell.appendChild(document.createTextNode(""));if(!i){cell.navtype=100;cell.calendar=this;Calendar._add_evs(cell);}}this.firstdayname=(this.weekNumbers)?row.firstChild.nextSibling:row.firstChild;this._displayWeekdays();var tbody=Calendar.createElement("tbody",table);this.tbody=tbody;for(i=6;i>0;--i){row=Calendar.createElement("tr",tbody);if(this.weekNumbers){cell=Calendar.createElement("td",row);cell.appendChild(document.createTextNode(""));}for(var j=7;j>0;--j){cell=Calendar.createElement("td",row);cell.appendChild(document.createTextNode(""));cell.calendar=this;Calendar._add_evs(cell);}}if(this.showsTime){row=Calendar.createElement("tr",tbody);row.className="time";cell=Calendar.createElement("td",row);cell.className="time";cell.colSpan=2;cell.innerHTML=Calendar._TT["TIME"]||"&nbsp;";cell=Calendar.createElement("td",row);cell.className="time";cell.colSpan=this.weekNumbers?4:3;(function(){function makeTimePart(className,init,range_start,range_end){var part=Calendar.createElement("span",cell);part.className=className;part.appendChild(document.createTextNode(init));part.calendar=cal;part.ttip=Calendar._TT["TIME_PART"];part.navtype=50;part._range=[];if(typeof range_start!="number")part._range=range_start;else{for(var i=range_start;i<=range_end;++i){var txt;if(i<10&&range_end>=10)txt='0'+i;else txt=''+i;part._range[part._range.length]=txt;}}Calendar._add_evs(part);return part;};var hrs=cal.date.getHours();var mins=cal.date.getMinutes();var t12=!cal.time24;var pm=(hrs>12);if(t12&&pm)hrs-=12;var H=makeTimePart("hour",hrs,t12?1:0,t12?12:23);var span=Calendar.createElement("span",cell);span.appendChild(document.createTextNode(":"));span.className="colon";var M=makeTimePart("minute",mins,0,59);var AP=null;cell=Calendar.createElement("td",row);cell.className="time";cell.colSpan=2;if(t12)AP=makeTimePart("ampm",pm?"pm":"am",["am","pm"]);else cell.innerHTML="&nbsp;";cal.onSetTime=function(){var hrs=this.date.getHours();var mins=this.date.getMinutes();var pm=(hrs>12);if(pm&&t12)hrs-=12;H.firstChild.data=(hrs<10)?("0"+hrs):hrs;M.firstChild.data=(mins<10)?("0"+mins):mins;if(t12)AP.firstChild.data=pm?"pm":"am";};cal.onUpdateTime=function(){var date=this.date;var h=parseInt(H.firstChild.data,10);if(t12){if(/pm/i.test(AP.firstChild.data)&&h<12)h+=12;else if(/am/i.test(AP.firstChild.data)&&h==12)h=0;}var d=date.getDate();var m=date.getMonth();var y=date.getFullYear();date.setHours(h);date.setMinutes(parseInt(M.firstChild.data,10));date.setFullYear(y);date.setMonth(m);date.setDate(d);this.dateClicked=false;this.callHandler();};})();}else{this.onSetTime=this.onUpdateTime=function(){};}var tfoot=Calendar.createElement("tfoot",table);row=Calendar.createElement("tr",tfoot);row.className="footrow";cell=hh(Calendar._TT["SEL_DATE"],this.weekNumbers?8:7,300);cell.className="ttip";if(this.isPopup){cell.ttip=Calendar._TT["DRAG_TO_MOVE"];cell.style.cursor="move";}this.tooltips=cell;div=Calendar.createElement("div",this.element);this.monthsCombo=div;div.className="combo";for(i=0;i<Calendar._MN.length;++i){var mn=Calendar.createElement("div");mn.className=Calendar.is_ie?"label-IEfix":"label";mn.month=i;mn.appendChild(document.createTextNode(Calendar._SMN[i]));div.appendChild(mn);}div=Calendar.createElement("div",this.element);this.yearsCombo=div;div.className="combo";for(i=12;i>0;--i){var yr=Calendar.createElement("div");yr.className=Calendar.is_ie?"label-IEfix":"label";yr.appendChild(document.createTextNode(""));div.appendChild(yr);}this._init(this.firstDayOfWeek,this.date);parent.appendChild(this.element);};Calendar._keyEvent=function(ev){if(!window.calendar){return false;}(Calendar.is_ie)&&(ev=window.event);var cal=window.calendar;var act=(Calendar.is_ie||ev.type=="keypress");if(ev.ctrlKey){switch(ev.keyCode){case 37:act&&Calendar.cellClick(cal._nav_pm);break;case 38:act&&Calendar.cellClick(cal._nav_py);break;case 39:act&&Calendar.cellClick(cal._nav_nm);break;case 40:act&&Calendar.cellClick(cal._nav_ny);break;default:return false;}}else switch(ev.keyCode){case 32:Calendar.cellClick(cal._nav_now);break;case 27:act&&cal.callCloseHandler();break;case 37:case 38:case 39:case 40:if(act){var date=cal.date.getDate()-1;var el=cal.currentDateEl;var ne=null;var prev=(ev.keyCode==37)||(ev.keyCode==38);switch(ev.keyCode){case 37:(--date>=0)&&(ne=cal.ar_days[date]);break;case 38:date-=7;(date>=0)&&(ne=cal.ar_days[date]);break;case 39:(++date<cal.ar_days.length)&&(ne=cal.ar_days[date]);break;case 40:date+=7;(date<cal.ar_days.length)&&(ne=cal.ar_days[date]);break;}if(!ne){if(prev){Calendar.cellClick(cal._nav_pm);}else{Calendar.cellClick(cal._nav_nm);}date=(prev)?cal.date.getMonthDays():1;el=cal.currentDateEl;ne=cal.ar_days[date-1];}Calendar.removeClass(el,"selected");Calendar.addClass(ne,"selected");cal.date=new Date(ne.caldate);cal.callHandler();cal.currentDateEl=ne;}break;case 13:if(act){cal.callHandler();cal.hide();}break;default:return false;}return Calendar.stopEvent(ev);};Calendar.prototype._init=function(firstDayOfWeek,date){var today=new Date();this.table.style.visibility="hidden";var year=date.getFullYear();if(year<this.minYear){year=this.minYear;date.setFullYear(year);}else if(year>this.maxYear){year=this.maxYear;date.setFullYear(year);}this.firstDayOfWeek=firstDayOfWeek;this.date=new Date(date);var month=date.getMonth();var mday=date.getDate();var no_days=date.getMonthDays();date.setDate(1);var day1=(date.getDay()-this.firstDayOfWeek)%7;if(day1<0)day1+=7;date.setDate(-day1);date.setDate(date.getDate()+1);var row=this.tbody.firstChild;var MN=Calendar._SMN[month];var ar_days=new Array();var weekend=Calendar._TT["WEEKEND"];for(var i=0;i<6;++i,row=row.nextSibling){var cell=row.firstChild;if(this.weekNumbers){cell.className="day wn";cell.firstChild.data=date.getWeekNumber();cell=cell.nextSibling;}row.className="daysrow";var hasdays=false;for(var j=0;j<7;++j,cell=cell.nextSibling,date.setDate(date.getDate()+1)){var iday=date.getDate();var wday=date.getDay();cell.className="day";var current_month=(date.getMonth()==month);if(!current_month){if(this.showsOtherMonths){cell.className+=" othermonth";cell.otherMonth=true;}else{cell.className="emptycell";cell.innerHTML="&nbsp;";cell.disabled=true;continue;}}else{cell.otherMonth=false;hasdays=true;}cell.disabled=false;cell.firstChild.data=iday;if(typeof this.getDateStatus=="function"){var status=this.getDateStatus(date,year,month,iday);if(status===true){cell.className+=" disabled";cell.disabled=true;}else{if(/disabled/i.test(status))cell.disabled=true;cell.className+=" "+status;}}if(!cell.disabled){ar_days[ar_days.length]=cell;cell.caldate=new Date(date);cell.ttip="_";if(current_month&&iday==mday){cell.className+=" selected";this.currentDateEl=cell;}if(date.getFullYear()==today.getFullYear()&&date.getMonth()==today.getMonth()&&iday==today.getDate()){cell.className+=" today";cell.ttip+=Calendar._TT["PART_TODAY"];}if(weekend.indexOf(wday.toString())!=-1){cell.className+=cell.otherMonth?" oweekend":" weekend";}}}if(!(hasdays||this.showsOtherMonths))row.className="emptyrow";}this.ar_days=ar_days;this.title.firstChild.data=Calendar._MN[month]+", "+year;this.onSetTime();this.table.style.visibility="visible";};Calendar.prototype.setDate=function(date){if(!date.equalsTo(this.date)){this._init(this.firstDayOfWeek,date);}};Calendar.prototype.refresh=function(){this._init(this.firstDayOfWeek,this.date);};Calendar.prototype.setFirstDayOfWeek=function(firstDayOfWeek){this._init(firstDayOfWeek,this.date);this._displayWeekdays();};Calendar.prototype.setDateStatusHandler=Calendar.prototype.setDisabledHandler=function(unaryFunction){this.getDateStatus=unaryFunction;};Calendar.prototype.setRange=function(a,z){this.minYear=a;this.maxYear=z;};Calendar.prototype.callHandler=function(){if(this.onSelected){this.onSelected(this,this.date.print(this.dateFormat));}};Calendar.prototype.callCloseHandler=function(){if(this.onClose){this.onClose(this);}this.hideShowCovered();};Calendar.prototype.destroy=function(){var el=this.element.parentNode;el.removeChild(this.element);Calendar._C=null;window.calendar=null;};Calendar.prototype.reparent=function(new_parent){var el=this.element;el.parentNode.removeChild(el);new_parent.appendChild(el);};Calendar._checkCalendar=function(ev){if(!window.calendar){return false;}var el=Calendar.is_ie?Calendar.getElement(ev):Calendar.getTargetElement(ev);for(;el!=null&&el!=calendar.element;el=el.parentNode);if(el==null){window.calendar.callCloseHandler();return Calendar.stopEvent(ev);}};Calendar.prototype.show=function(){var rows=this.table.getElementsByTagName("tr");for(var i=rows.length;i>0;){var row=rows[--i];Calendar.removeClass(row,"rowhilite");var cells=row.getElementsByTagName("td");for(var j=cells.length;j>0;){var cell=cells[--j];Calendar.removeClass(cell,"hilite");Calendar.removeClass(cell,"active");}}this.element.style.display="block";this.hidden=false;if(this.isPopup){window.calendar=this;Calendar.addEvent(document,"keydown",Calendar._keyEvent);Calendar.addEvent(document,"keypress",Calendar._keyEvent);Calendar.addEvent(document,"mousedown",Calendar._checkCalendar);}this.hideShowCovered();};Calendar.prototype.hide=function(){if(this.isPopup){Calendar.removeEvent(document,"keydown",Calendar._keyEvent);Calendar.removeEvent(document,"keypress",Calendar._keyEvent);Calendar.removeEvent(document,"mousedown",Calendar._checkCalendar);}this.element.style.display="none";this.hidden=true;this.hideShowCovered();};Calendar.prototype.showAt=function(x,y){var s=this.element.style;s.left=x+"px";s.top=y+"px";this.show();};Calendar.prototype.showAtElement=function(el,opts){var self=this;var p=Calendar.getAbsolutePos(el);if(!opts||typeof opts!="string"){this.showAt(p.x,p.y+el.offsetHeight);return true;}function fixPosition(box){if(box.x<0)box.x=0;if(box.y<0)box.y=0;var cp=document.createElement("div");var s=cp.style;s.position="absolute";s.right=s.bottom=s.width=s.height="0px";document.body.appendChild(cp);var br=Calendar.getAbsolutePos(cp);document.body.removeChild(cp);if(Calendar.is_ie){br.y+=document.body.scrollTop;br.x+=document.body.scrollLeft;}else{br.y+=window.scrollY;br.x+=window.scrollX;}var tmp=box.x+box.width-br.x;if(tmp>0)box.x-=tmp;tmp=box.y+box.height-br.y;if(tmp>0)box.y-=tmp;};this.element.style.display="block";Calendar.continuation_for_the_fucking_khtml_browser=function(){var w=self.element.offsetWidth;var h=self.element.offsetHeight;self.element.style.display="none";var valign=opts.substr(0,1);var halign="l";if(opts.length>1){halign=opts.substr(1,1);}switch(valign){case "T":p.y-=h;break;case "B":p.y+=el.offsetHeight;break;case "C":p.y+=(el.offsetHeight-h)/2;break;case "t":p.y+=el.offsetHeight-h;break;case "b":break;}switch(halign){case "L":p.x-=w;break;case "R":p.x+=el.offsetWidth;break;case "C":p.x+=(el.offsetWidth-w)/2;break;case "r":p.x+=el.offsetWidth-w;break;case "l":break;}p.width=w;p.height=h+40;self.monthsCombo.style.display="none";fixPosition(p);self.showAt(p.x,p.y);};if(Calendar.is_khtml)setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()",10);else Calendar.continuation_for_the_fucking_khtml_browser();};Calendar.prototype.setDateFormat=function(str){this.dateFormat=str;};Calendar.prototype.setTtDateFormat=function(str){this.ttDateFormat=str;};Calendar.prototype.parseDate=function(str,fmt){var y=0;var m=-1;var d=0;var a=str.split(/\W+/);if(!fmt){fmt=this.dateFormat;}var b=fmt.match(/%./g);var i=0,j=0;var hr=0;var min=0;for(i=0;i<a.length;++i){if(!a[i])continue;switch(b[i]){case "%d":case "%e":d=parseInt(a[i],10);break;case "%m":m=parseInt(a[i],10)-1;break;case "%Y":case "%y":y=parseInt(a[i],10);(y<100)&&(y+=(y>29)?1900:2000);break;case "%b":case "%B":for(j=0;j<12;++j){if(Calendar._MN[j].substr(0,a[i].length).toLowerCase()==a[i].toLowerCase()){m=j;break;}}break;case "%H":case "%I":case "%k":case "%l":hr=parseInt(a[i],10);break;case "%P":case "%p":if(/pm/i.test(a[i])&&hr<12)hr+=12;break;case "%M":min=parseInt(a[i],10);break;}}if(y!=0&&m!=-1&&d!=0){this.setDate(new Date(y,m,d,hr,min,0));return;}y=0;m=-1;d=0;for(i=0;i<a.length;++i){if(a[i].search(/[a-zA-Z]+/)!=-1){var t=-1;for(j=0;j<12;++j){if(Calendar._MN[j].substr(0,a[i].length).toLowerCase()==a[i].toLowerCase()){t=j;break;}}if(t!=-1){if(m!=-1){d=m+1;}m=t;}}else if(parseInt(a[i],10)<=12&&m==-1){m=a[i]-1;}else if(parseInt(a[i],10)>31&&y==0){y=parseInt(a[i],10);(y<100)&&(y+=(y>29)?1900:2000);}else if(d==0){d=a[i];}}if(y==0){var today=new Date();y=today.getFullYear();}if(m!=-1&&d!=0){this.setDate(new Date(y,m,d,hr,min,0));}};Calendar.prototype.hideShowCovered=function(){var self=this;Calendar.continuation_for_the_fucking_khtml_browser=function(){function getVisib(obj){var value=obj.style.visibility;if(!value){if(document.defaultView&&typeof(document.defaultView.getComputedStyle)=="function"){if(!Calendar.is_khtml)value=document.defaultView. getComputedStyle(obj,"").getPropertyValue("visibility");else value='';}else if(obj.currentStyle){value=obj.currentStyle.visibility;}else value='';}return value;};var tags=new Array("applet","iframe","select");var el=self.element;var p=Calendar.getAbsolutePos(el);var EX1=p.x;var EX2=el.offsetWidth+EX1;var EY1=p.y;var EY2=el.offsetHeight+EY1;for(var k=tags.length;k>0;){var ar=document.getElementsByTagName(tags[--k]);var cc=null;for(var i=ar.length;i>0;){cc=ar[--i];p=Calendar.getAbsolutePos(cc);var CX1=p.x;var CX2=cc.offsetWidth+CX1;var CY1=p.y;var CY2=cc.offsetHeight+CY1;if(self.hidden||(CX1>EX2)||(CX2<EX1)||(CY1>EY2)||(CY2<EY1)){if(!cc.__msh_save_visibility){cc.__msh_save_visibility=getVisib(cc);}cc.style.visibility=cc.__msh_save_visibility;}else{if(!cc.__msh_save_visibility){cc.__msh_save_visibility=getVisib(cc);}cc.style.visibility="hidden";}}}};if(Calendar.is_khtml)setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()",10);else Calendar.continuation_for_the_fucking_khtml_browser();};Calendar.prototype._displayWeekdays=function(){var fdow=this.firstDayOfWeek;var cell=this.firstdayname;var weekend=Calendar._TT["WEEKEND"];for(var i=0;i<7;++i){cell.className="day name";var realday=(i+fdow)%7;if(i){cell.ttip=Calendar._TT["DAY_FIRST"].replace("%s",Calendar._DN[realday]);cell.navtype=100;cell.calendar=this;cell.fdow=realday;Calendar._add_evs(cell);}if(weekend.indexOf(realday.toString())!=-1){Calendar.addClass(cell,"weekend");}cell.firstChild.data=Calendar._SDN[(i+fdow)%7];cell=cell.nextSibling;}};Calendar.prototype._hideCombos=function(){this.monthsCombo.style.display="none";this.yearsCombo.style.display="none";};Calendar.prototype._dragStart=function(ev){if(this.dragging){return;}this.dragging=true;var posX;var posY;if(Calendar.is_ie){posY=window.event.clientY+document.body.scrollTop;posX=window.event.clientX+document.body.scrollLeft;}else{posY=ev.clientY+window.scrollY;posX=ev.clientX+window.scrollX;}var st=this.element.style;this.xOffs=posX-parseInt(st.left);this.yOffs=posY-parseInt(st.top);with(Calendar){addEvent(document,"mousemove",calDragIt);addEvent(document,"mouseup",calDragEnd);}};Date._MD=new Array(31,28,31,30,31,30,31,31,30,31,30,31);Date.SECOND=1000;Date.MINUTE=60*Date.SECOND;Date.HOUR=60*Date.MINUTE;Date.DAY=24*Date.HOUR;Date.WEEK=7*Date.DAY;Date.prototype.getMonthDays=function(month){var year=this.getFullYear();if(typeof month=="undefined"){month=this.getMonth();}if(((0==(year%4))&&((0!=(year%100))||(0==(year%400))))&&month==1){return 29;}else{return Date._MD[month];}};Date.prototype.getDayOfYear=function(){var now=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0);var then=new Date(this.getFullYear(),0,0,0,0,0);var time=now-then;return Math.floor(time/Date.DAY);};Date.prototype.getWeekNumber=function(){var d=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0);var DoW=d.getDay();d.setDate(d.getDate()-(DoW+6)%7+3);var ms=d.valueOf();d.setMonth(0);d.setDate(4);return Math.round((ms-d.valueOf())/(7*864e5))+1;};Date.prototype.equalsTo=function(date){return((this.getFullYear()==date.getFullYear())&&(this.getMonth()==date.getMonth())&&(this.getDate()==date.getDate())&&(this.getHours()==date.getHours())&&(this.getMinutes()==date.getMinutes()));};Date.prototype.print=function(str){var m=this.getMonth();var d=this.getDate();var y=this.getFullYear();var wn=this.getWeekNumber();var w=this.getDay();var s={};var hr=this.getHours();var pm=(hr>=12);var ir=(pm)?(hr-12):hr;var dy=this.getDayOfYear();if(ir==0)ir=12;var min=this.getMinutes();var sec=this.getSeconds();s["%a"]=Calendar._SDN[w];s["%A"]=Calendar._DN[w];s["%b"]=Calendar._SMN[m];s["%B"]=Calendar._MN[m];s["%C"]=1+Math.floor(y/100);s["%d"]=(d<10)?("0"+d):d;s["%e"]=d;s["%H"]=(hr<10)?("0"+hr):hr;s["%I"]=(ir<10)?("0"+ir):ir;s["%j"]=(dy<100)?((dy<10)?("00"+dy):("0"+dy)):dy;s["%k"]=hr;s["%l"]=ir;s["%m"]=(m<9)?("0"+(1+m)):(1+m);s["%M"]=(min<10)?("0"+min):min;s["%n"]="\n";s["%p"]=pm?"PM":"AM";s["%P"]=pm?"pm":"am";s["%s"]=Math.floor(this.getTime()/1000);s["%S"]=(sec<10)?("0"+sec):sec;s["%t"]="\t";s["%U"]=s["%W"]=s["%V"]=(wn<10)?("0"+wn):wn;s["%u"]=w+1;s["%w"]=w;s["%y"]=(''+y).substr(2,2);s["%Y"]=y;s["%%"]="%";var re=/%./g;if(!Calendar.is_ie5)return str.replace(re,function(par){return s[par]||par;});var a=str.match(re);for(var i=0;i<a.length;i++){var tmp=s[a[i]];if(tmp){re=new RegExp(a[i],'g');str=str.replace(re,tmp);}}return str;};Date.prototype.__msh_oldSetFullYear=Date.prototype.setFullYear;Date.prototype.setFullYear=function(y){var d=new Date(this);d.__msh_oldSetFullYear(y);if(d.getMonth()!=this.getMonth())this.setDate(28);this.__msh_oldSetFullYear(y);};window.calendar=null;
\ No newline at end of file
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
deleted file mode 100644 (file)
index 10e4e40..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<%
-  my($title, $menubar) = ( shift, shift );
-  my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.
-  my $head = @_ ? shift : ''; #$head is for things that go in the <HEAD> section
-%>
-    <HTML>
-      <HEAD>
-        <TITLE>
-          <%= $title %>
-        </TITLE>
-        <META HTTP-Equiv="Cache-Control" Content="no-cache">
-        <META HTTP-Equiv="Pragma" Content="no-cache">
-        <META HTTP-Equiv="Expires" Content="0"> 
-        <%= $head %>
-      </HEAD>
-      <BODY BGCOLOR="#e8e8e8"<%= $etc %>>
-          <FONT SIZE=6>
-            <%= $title %>
-          </FONT>
-          <BR><BR>
-          <%= $menubar ? "$menubar<BR><BR>" : '' %>
diff --git a/httemplate/elements/jsrsClient.js b/httemplate/elements/jsrsClient.js
deleted file mode 100644 (file)
index 3a2572c..0000000
+++ /dev/null
@@ -1,356 +0,0 @@
-//
-//  jsrsClient.js - javascript remote scripting client include
-//  
-//  Author:  Brent Ashley [jsrs@megahuge.com]
-//
-//  make asynchronous remote calls to server without client page refresh
-//
-//  see license.txt for copyright and license information
-
-/*
-see history.txt for full history
-2.0  26 Jul 2001 - added POST capability for IE/MOZ
-2.2  10 Aug 2003 - added Opera support
-2.3(beta)  10 Oct 2003 - added Konqueror support - **needs more testing**
-*/
-
-// callback pool needs global scope
-var jsrsContextPoolSize = 0;
-var jsrsContextMaxPool = 10;
-var jsrsContextPool = new Array();
-var jsrsBrowser = jsrsBrowserSniff();
-var jsrsPOST = true;
-var containerName;
-
-// constructor for context object
-function jsrsContextObj( contextID ){
-  
-  // properties
-  this.id = contextID;
-  this.busy = true;
-  this.callback = null;
-  this.container = contextCreateContainer( contextID );
-  
-  // methods
-  this.GET = contextGET;
-  this.POST = contextPOST;
-  this.getPayload = contextGetPayload;
-  this.setVisibility = contextSetVisibility;
-}
-
-//  method functions are not privately scoped 
-//  because Netscape's debugger chokes on private functions
-function contextCreateContainer( containerName ){
-  // creates hidden container to receive server data 
-  var container;
-  switch( jsrsBrowser ) {
-    case 'NS':
-      container = new Layer(100);
-      container.name = containerName;
-      container.visibility = 'hidden';
-      container.clip.width = 100;
-      container.clip.height = 100;
-      break;
-    
-    case 'IE':
-      document.body.insertAdjacentHTML( "afterBegin", '<span id="SPAN' + containerName + '"></span>' );
-      var span = document.all( "SPAN" + containerName );
-      var html = '<iframe name="' + containerName + '" src=""></iframe>';
-      span.innerHTML = html;
-      span.style.display = 'none';
-      container = window.frames[ containerName ];
-      break;
-      
-    case 'MOZ':  
-      var span = document.createElement('SPAN');
-      span.id = "SPAN" + containerName;
-      document.body.appendChild( span );
-      var iframe = document.createElement('IFRAME');
-      iframe.name = containerName;
-      iframe.id = containerName;
-      span.appendChild( iframe );
-      container = iframe;
-      break;
-
-    case 'OPR':  
-      var span = document.createElement('SPAN');
-      span.id = "SPAN" + containerName;
-      document.body.appendChild( span );
-      var iframe = document.createElement('IFRAME');
-      iframe.name = containerName;
-      iframe.id = containerName;
-      span.appendChild( iframe );
-      container = iframe;
-      break;
-
-    case 'KONQ':  
-      var span = document.createElement('SPAN');
-      span.id = "SPAN" + containerName;
-      document.body.appendChild( span );
-      var iframe = document.createElement('IFRAME');
-      iframe.name = containerName;
-      iframe.id = containerName;
-      span.appendChild( iframe );
-      container = iframe;
-
-      // Needs to be hidden for Konqueror, otherwise it'll appear on the page
-      span.style.display = none;
-      iframe.style.display = none;
-      iframe.style.visibility = hidden;
-      iframe.height = 0;
-      iframe.width = 0;
-
-      break;
-  }
-  return container;
-}
-
-function contextPOST( rsPage, func, parms ){
-
-  var d = new Date();
-  var unique = d.getTime() + '' + Math.floor(1000 * Math.random());
-  var doc = (jsrsBrowser == "IE" ) ? this.container.document : this.container.contentDocument;
-  doc.open();
-  doc.write('<html><body>');
-  doc.write('<form name="jsrsForm" method="post" target="" ');
-  doc.write(' action="' + rsPage + '?U=' + unique + '">');
-  doc.write('<input type="hidden" name="C" value="' + this.id + '">');
-
-  // func and parms are optional
-  if (func != null){
-  doc.write('<input type="hidden" name="F" value="' + func + '">');
-
-    if (parms != null){
-      if (typeof(parms) == "string"){
-        // single parameter
-        doc.write( '<input type="hidden" name="P0" '
-                 + 'value="[' + jsrsEscapeQQ(parms) + ']">');
-      } else {
-        // assume parms is array of strings
-        for( var i=0; i < parms.length; i++ ){
-          doc.write( '<input type="hidden" name="P' + i + '" '
-                   + 'value="[' + jsrsEscapeQQ(parms[i]) + ']">');
-        }
-      } // parm type
-    } // parms
-  } // func
-
-  doc.write('</form></body></html>');
-  doc.close();
-  doc.forms['jsrsForm'].submit();
-}
-
-function contextGET( rsPage, func, parms ){
-
-  // build URL to call
-  var URL = rsPage;
-
-  // always send context
-  URL += "?C=" + this.id;
-
-  // func and parms are optional
-  if (func != null){
-    URL += "&F=" + escape(func);
-
-    if (parms != null){
-      if (typeof(parms) == "string"){
-        // single parameter
-        URL += "&P0=[" + escape(parms+'') + "]";
-      } else {
-        // assume parms is array of strings
-        for( var i=0; i < parms.length; i++ ){
-          URL += "&P" + i + "=[" + escape(parms[i]+'') + "]";
-        }
-      } // parm type
-    } // parms
-  } // func
-
-  // unique string to defeat cache
-  var d = new Date();
-  URL += "&U=" + d.getTime();
-  // make the call
-  switch( jsrsBrowser ) {
-    case 'NS':
-      this.container.src = URL;
-      break;
-    case 'IE':
-      this.container.document.location.replace(URL);
-      break;
-    case 'MOZ':
-      this.container.src = '';
-      this.container.src = URL; 
-      break;
-    case 'OPR':
-      this.container.src = '';
-      this.container.src = URL; 
-      break;
-    case 'KONQ':
-      this.container.src = '';
-      this.container.src = URL; 
-      break;
-  }  
-}
-
-function contextGetPayload(){
-  switch( jsrsBrowser ) {
-    case 'NS':
-      return this.container.document.forms['jsrs_Form'].elements['jsrs_Payload'].value;
-    case 'IE':
-      return this.container.document.forms['jsrs_Form']['jsrs_Payload'].value;
-    case 'MOZ':
-      return window.frames[this.container.name].document.forms['jsrs_Form']['jsrs_Payload'].value; 
-    case 'OPR':
-      var textElement = window.frames[this.container.name].document.getElementById("jsrs_Payload");
-    case 'KONQ':
-      var textElement = window.frames[this.container.name].document.getElementById("jsrs_Payload");
-      return textElement.value;
-  }  
-}
-
-function contextSetVisibility( vis ){
-  switch( jsrsBrowser ) {
-    case 'NS':
-      this.container.visibility = (vis)? 'show' : 'hidden';
-      break;
-    case 'IE':
-      document.all("SPAN" + this.id ).style.display = (vis)? '' : 'none';
-      break;
-    case 'MOZ':
-      document.getElementById("SPAN" + this.id).style.visibility = (vis)? '' : 'hidden';
-    case 'OPR':
-      document.getElementById("SPAN" + this.id).style.visibility = (vis)? '' : 'hidden';
-      this.container.width = (vis)? 250 : 0;
-      this.container.height = (vis)? 100 : 0;
-      break;
-  }  
-}
-
-// end of context constructor
-
-function jsrsGetContextID(){
-  var contextObj;
-  for (var i = 1; i <= jsrsContextPoolSize; i++){
-    contextObj = jsrsContextPool[ 'jsrs' + i ];
-    if ( !contextObj.busy ){
-      contextObj.busy = true;      
-      return contextObj.id;
-    }
-  }
-  // if we got here, there are no existing free contexts
-  if ( jsrsContextPoolSize <= jsrsContextMaxPool ){
-    // create new context
-    var contextID = "jsrs" + (jsrsContextPoolSize + 1);
-    jsrsContextPool[ contextID ] = new jsrsContextObj( contextID );
-    jsrsContextPoolSize++;
-    return contextID;
-  } else {
-    alert( "jsrs Error:  context pool full" );
-    return null;
-  }
-}
-
-function jsrsExecute( rspage, callback, func, parms, visibility ){
-  // call a server routine from client code
-  //
-  // rspage      - href to asp file
-  // callback    - function to call on return 
-  //               or null if no return needed
-  //               (passes returned string to callback)
-  // func        - sub or function name  to call
-  // parm        - string parameter to function
-  //               or array of string parameters if more than one
-  // visibility  - optional boolean to make container visible for debugging
-
-  // get context
-  var contextObj = jsrsContextPool[ jsrsGetContextID() ];
-  contextObj.callback = callback;
-
-  var vis = (visibility == null)? false : visibility;
-  contextObj.setVisibility( vis );
-
-  if ( jsrsPOST && ((jsrsBrowser == 'IE') || (jsrsBrowser == 'MOZ'))){
-    contextObj.POST( rspage, func, parms );
-  } else {
-    contextObj.GET( rspage, func, parms );
-  }  
-  
-  return contextObj.id;
-}
-
-function jsrsLoaded( contextID ){
-  // get context object and invoke callback
-  var contextObj = jsrsContextPool[ contextID ];
-  if( contextObj.callback != null){
-    contextObj.callback( jsrsUnescape( contextObj.getPayload() ), contextID );
-  }
-  // clean up and return context to pool
-  contextObj.callback = null;
-  contextObj.busy = false;
-}
-
-function jsrsError( contextID, str ){
-  alert( unescape(str) );
-  jsrsContextPool[ contextID ].busy = false
-}
-
-function jsrsEscapeQQ( thing ){
-  return thing.replace(/'"'/g, '\\"');
-}
-
-function jsrsUnescape( str ){
-  // payload has slashes escaped with whacks
-  return str.replace( /\\\//g, "/" );
-}
-
-function jsrsBrowserSniff(){
-  if (document.layers) return "NS";
-  if (document.all) {
-               // But is it really IE?
-               // convert all characters to lowercase to simplify testing
-               var agt=navigator.userAgent.toLowerCase();
-               var is_opera = (agt.indexOf("opera") != -1);
-               var is_konq = (agt.indexOf("konqueror") != -1);
-               if(is_opera) {
-                       return "OPR";
-               } else {
-                       if(is_konq) {
-                               return "KONQ";
-                       } else {
-                               // Really is IE
-                               return "IE";
-                       }
-               }
-  }
-  if (document.getElementById) return "MOZ";
-  return "OTHER";
-}
-
-/////////////////////////////////////////////////
-//
-// user functions
-
-function jsrsArrayFromString( s, delim ){
-  // rebuild an array returned from server as string
-  // optional delimiter defaults to ~
-  var d = (delim == null)? '~' : delim;
-  return s.split(d);
-}
-
-function jsrsDebugInfo(){
-  // use for debugging by attaching to f1 (works with IE)
-  // with onHelp = "return jsrsDebugInfo();" in the body tag
-  var doc = window.open().document;
-  doc.open;
-  doc.write( 'Pool Size: ' + jsrsContextPoolSize + '<br><font face="arial" size="2"><b>' );
-  for( var i in jsrsContextPool ){
-    var contextObj = jsrsContextPool[i];
-    doc.write( '<hr>' + contextObj.id + ' : ' + (contextObj.busy ? 'busy' : 'available') + '<br>');
-    doc.write( contextObj.container.document.location.pathname + '<br>');
-    doc.write( contextObj.container.document.location.search + '<br>');
-    doc.write( '<table border="1"><tr><td>' + contextObj.container.document.body.innerHTML + '</td></tr></table>' );
-  }
-  doc.write('</table>');
-  doc.close();
-  return false;
-}
diff --git a/httemplate/elements/jsrsServer.html b/httemplate/elements/jsrsServer.html
deleted file mode 100644 (file)
index fd6dc54..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<%
-  my $server = new FS::UI::Web::JSRPC '', $cgi;
-%><%= $server->process %>
diff --git a/httemplate/elements/menubar.html b/httemplate/elements/menubar.html
deleted file mode 100644 (file)
index 87a5031..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<%
-  my($item, $url, @html);
-  while (@_) {
-    ($item, $url) = splice(@_,0,2);
-    push @html, qq!<A HREF="$url">$item</A>!;
-  }
-%>
-<%= join(' | ', @html) %>
diff --git a/httemplate/elements/overlibmws.js b/httemplate/elements/overlibmws.js
deleted file mode 100644 (file)
index fba1105..0000000
+++ /dev/null
@@ -1,709 +0,0 @@
-/*\r
- Do not remove or change this notice.\r
- overlibmws.js core module - Copyright Foteos Macrides 2002-2005. All rights reserved.\r
-   Initial: August 18, 2002 - Last Revised: February 10, 2005\r
- This module is subject to the same terms of usage as for Erik Bosrup's overLIB,\r
- though only a minority of the code and API now correspond with Erik's version.\r
- See the overlibmws Change History and Command Reference via:\r
-\r
-       http://www.macridesweb.com/oltest/\r
-\r
- Published under an open source license: http://www.macridesweb.com/oltest/license.html\r
- Give credit on sites that use overlibmws and submit changes so others can use them as well.\r
- You can get Erik's version via: http://www.bosrup.com/web/overlib/\r
-*/\r
-\r
-// PRE-INIT -- Ignore these lines, configuration is below.\r
-var OLloaded=0,pmCnt=1,pMtr=new Array(),OLv,OLudf,OLrefXY;\r
-var OLpct=new Array("83%","67%","83%","100%","117%","150%","200%","267%");\r
-var OLbubblePI=0,OLcrossframePI=0,OLdebugPI=0,OLdraggablePI=0,OLexclusivePI=0,OLfilterPI=0;\r
-var OLfunctionPI=0,OLhidePI=0,OLiframePI=0,OLovertwoPI=0,OLscrollPI=0,OLshadowPI=0;\r
-if(typeof OLgateOK=='undefined')var OLgateOK=1;\r
-OLregCmds(\r
- 'inarray,caparray,caption,sticky,nofollow,background,noclose,mouseoff,offdelay,right,left,'\r
-+'center,offsetx,offsety,fgcolor,bgcolor,cgcolor,textcolor,capcolor,closecolor,width,wrap,'\r
-+'wrapmax,height,border,base,status,autostatus,autostatuscap,snapx,snapy,fixx,fixy,relx,rely,'\r
-+'midx,midy,ref,refc,refp,refx,refy,fgbackground,bgbackground,cgbackground,padx,pady,fullhtml,'\r
-+'below,above,vcenter,capicon,textfont,captionfont,closefont,textsize,captionsize,closesize,'\r
-+'timeout,delay,hauto,vauto,nojustx,nojusty,closetext,closeclick,closetitle,fgclass,bgclass,'\r
-+'cgclass,capbelow,textpadding,textfontclass,captionpadding,captionfontclass,closefontclass,'\r
-+'label,donothing');\r
-\r
-function OLud(v){return eval('typeof ol_'+v+'=="undefined"')?1:0;}\r
-\r
-// DEFAULT CONFIGURATION -- See overlibConfig.txt for descriptions.\r
-if(OLud('fgcolor'))var ol_fgcolor="#CCCCFF";\r
-if(OLud('bgcolor'))var ol_bgcolor="#333399";\r
-if(OLud('cgcolor'))var ol_cgcolor="#333399";\r
-if(OLud('textcolor'))var ol_textcolor="#000000";\r
-if(OLud('capcolor'))var ol_capcolor="#FFFFFF";\r
-if(OLud('closecolor'))var ol_closecolor="#EEEEFF";\r
-if(OLud('textfont'))var ol_textfont="Verdana,Arial,Helvetica";\r
-if(OLud('captionfont'))var ol_captionfont="Verdana,Arial,Helvetica";\r
-if(OLud('closefont'))var ol_closefont="Verdana,Arial,Helvetica";\r
-if(OLud('textsize'))var ol_textsize=1;\r
-if(OLud('captionsize'))var ol_captionsize=1;\r
-if(OLud('closesize'))var ol_closesize=1;\r
-if(OLud('fgclass'))var ol_fgclass="";\r
-if(OLud('bgclass'))var ol_bgclass="";\r
-if(OLud('cgclass'))var ol_cgclass="";\r
-if(OLud('textpadding'))var ol_textpadding=2;\r
-if(OLud('textfontclass'))var ol_textfontclass="";\r
-if(OLud('captionpadding'))var ol_captionpadding=2;\r
-if(OLud('captionfontclass'))var ol_captionfontclass="";\r
-if(OLud('closefontclass'))var ol_closefontclass="";\r
-if(OLud('close'))var ol_close="Close";\r
-if(OLud('closeclick'))var ol_closeclick=0;\r
-if(OLud('closetitle'))var ol_closetitle="Click to Close";\r
-if(OLud('text'))var ol_text="Default Text";\r
-if(OLud('cap'))var ol_cap="";\r
-if(OLud('capbelow'))var ol_capbelow=0;\r
-if(OLud('background'))var ol_background="";\r
-if(OLud('width'))var ol_width=200;\r
-if(OLud('wrap'))var ol_wrap=0;\r
-if(OLud('wrapmax'))var ol_wrapmax=0;\r
-if(OLud('height'))var ol_height= -1;\r
-if(OLud('border'))var ol_border=1;\r
-if(OLud('base'))var ol_base=0;\r
-if(OLud('offsetx'))var ol_offsetx=10;\r
-if(OLud('offsety'))var ol_offsety=10;\r
-if(OLud('sticky'))var ol_sticky=0;\r
-if(OLud('nofollow'))var ol_nofollow=0;\r
-if(OLud('noclose'))var ol_noclose=0;\r
-if(OLud('mouseoff'))var ol_mouseoff=0;\r
-if(OLud('offdelay'))var ol_offdelay=300;\r
-if(OLud('hpos'))var ol_hpos=RIGHT;\r
-if(OLud('vpos'))var ol_vpos=BELOW;\r
-if(OLud('status'))var ol_status="";\r
-if(OLud('autostatus'))var ol_autostatus=0;\r
-if(OLud('snapx'))var ol_snapx=0;\r
-if(OLud('snapy'))var ol_snapy=0;\r
-if(OLud('fixx'))var ol_fixx= -1;\r
-if(OLud('fixy'))var ol_fixy= -1;\r
-if(OLud('relx'))var ol_relx=null;\r
-if(OLud('rely'))var ol_rely=null;\r
-if(OLud('midx'))var ol_midx=null;\r
-if(OLud('midy'))var ol_midy=null;\r
-if(OLud('ref'))var ol_ref="";\r
-if(OLud('refc'))var ol_refc='UL';\r
-if(OLud('refp'))var ol_refp='UL';\r
-if(OLud('refx'))var ol_refx=0;\r
-if(OLud('refy'))var ol_refy=0;\r
-if(OLud('fgbackground'))var ol_fgbackground="";\r
-if(OLud('bgbackground'))var ol_bgbackground="";\r
-if(OLud('cgbackground'))var ol_cgbackground="";\r
-if(OLud('padxl'))var ol_padxl=1;\r
-if(OLud('padxr'))var ol_padxr=1;\r
-if(OLud('padyt'))var ol_padyt=1;\r
-if(OLud('padyb'))var ol_padyb=1;\r
-if(OLud('fullhtml'))var ol_fullhtml=0;\r
-if(OLud('capicon'))var ol_capicon="";\r
-if(OLud('frame'))var ol_frame=self;\r
-if(OLud('timeout'))var ol_timeout=0;\r
-if(OLud('delay'))var ol_delay=0;\r
-if(OLud('hauto'))var ol_hauto=0;\r
-if(OLud('vauto'))var ol_vauto=0;\r
-if(OLud('nojustx'))var ol_nojustx=0;\r
-if(OLud('nojusty'))var ol_nojusty=0;\r
-if(OLud('label'))var ol_label="";\r
-// ARRAY CONFIGURATION - See overlibConfig.txt for descriptions.\r
-if(OLud('texts'))var ol_texts=new Array("Text 0","Text 1");\r
-if(OLud('caps'))var ol_caps=new Array("Caption 0","Caption 1");\r
-// END CONFIGURATION -- Don't change anything below, all configuration is above.\r
-\r
-// INIT -- Runtime variables.\r
-var o3_text="",o3_cap="",o3_sticky=0,o3_nofollow=0,o3_background="",o3_noclose=0,o3_mouseoff=0;\r
-var o3_offdelay=300,o3_hpos=RIGHT,o3_offsetx=10,o3_offsety=10,o3_fgcolor="",o3_bgcolor="";\r
-var o3_cgcolor="",o3_textcolor="",o3_capcolor="",o3_closecolor="",o3_width=200,o3_wrap=0;\r
-var o3_wrapmax=0,o3_height= -1,o3_border=1,o3_base=0,o3_status="",o3_autostatus=0,o3_snapx=0;\r
-var o3_snapy=0,o3_fixx= -1,o3_fixy= -1,o3_relx=null,o3_rely=null,o3_midx=null,o3_midy=null;\r
-var o3_ref="",o3_refc='UL',o3_refp='UL',o3_refx=0,o3_refy=0,o3_fgbackground="";\r
-var o3_bgbackground="",o3_cgbackground="",o3_padxl=0,o3_padxr=0,o3_padyt=0,o3_padyb=0;\r
-var o3_fullhtml=0,o3_vpos=BELOW,o3_capicon="",o3_textfont="Verdana,Arial,Helvetica";\r
-var o3_captionfont="Verdana,Arial,Helvetica",o3_closefont="Verdana,Arial,Helvetica";\r
-var o3_textsize=1,o3_captionsize=1,o3_closesize=1,o3_frame=self,o3_timeout=0,o3_delay=0;\r
-var o3_hauto=0,o3_vauto=0,o3_nojustx=0,o3_nojusty=0,o3_close="Close",o3_closeclick=0;\r
-var o3_closetitle="",o3_fgclass="",o3_bgclass="",o3_cgclass="",o3_textpadding=2;\r
-var o3_textfontclass="",o3_captionpadding=2,o3_captionfontclass="",o3_closefontclass="";\r
-var o3_capbelow=0,o3_label="",CSSOFF=DONOTHING,CSSCLASS=DONOTHING;\r
-var OLx=0,OLy=0,OLshowingsticky=0,OLallowmove=0,OLremovecounter=0;\r
-var OLdelayid=0,OLtimerid=0,OLshowid=0,OLndt=0;\r
-var over=null,OLfnRef="",OLhover=0;\r
-var OLua=navigator.userAgent.toLowerCase();\r
-var OLns4=(navigator.appName=='Netscape'&&parseInt(navigator.appVersion)==4);\r
-var OLns6=(document.getElementById)?1:0;\r
-var OLie4=(document.all)?1:0;\r
-var OLgek=(OLv=OLua.match(/gecko\/(\d{8})/i))?parseInt(OLv[1]):0;\r
-var OLmac=(OLua.indexOf('mac')>=0)?1:0;\r
-var OLsaf=(OLua.indexOf('safari')>=0)?1:0;\r
-var OLkon=(OLua.indexOf('konqueror')>=0)?1:0;\r
-var OLkht=(OLsaf||OLkon)?1:0;\r
-var OLopr=(OLua.indexOf('opera')>=0)?1:0;\r
-var OLop7=(OLopr&&document.createTextNode)?1:0;\r
-if(OLopr){OLns4=OLns6=0;if(!OLop7)OLie4=0;}\r
-var OLieM=((OLie4&&OLmac)&&!(OLkht||OLopr))?1:0;\r
-var OLie5=0,OLie55=0;if(OLie4&&!OLop7){\r
-if((OLv=OLua.match(/msie (\d\.\d+)\.*/i))&&(OLv=parseFloat(OLv[1]))>=5.0){\r
-OLie5=1;OLns6=0;if(OLv>=5.5)OLie55=1;}if(OLns6)OLie4=0;}\r
-if(OLns4)window.onresize=function(){location.reload();}\r
-var OLchkMh=1,OLdw;\r
-if(OLns4||OLie4||OLns6)OLmh();\r
-else{overlib=nd=cClick=OLpageDefaults=no_overlib;}\r
-\r
-/*\r
- PUBLIC FUNCTIONS\r
-*/\r
-// Loads defaults then args into runtime variables.\r
-function overlib(){\r
-if(!(OLloaded&&OLgateOK))return;\r
-if((OLexclusivePI)&&OLisExclusive(overlib.arguments))return true;\r
-if(OLchkMh)OLmh();\r
-if(OLndt&&!OLtimerid)OLndt=0;if(over)cClick();\r
-OLloadP1or2();OLload('close,closeclick,closetitle,noclose,mouseoff,offdelay,sticky,'\r
-+'closecolor,closefont,closesize,closefontclass,frame,label');OLfnRef="";OLhover=0;\r
-OLsetRunTimeVar();\r
-OLparseTokens('o3_',overlib.arguments);\r
-if(!(over=OLmkLyr()))return false;\r
-if(OLbubblePI)OLchkForBubbleEffect();\r
-if(OLdebugPI)OLsetDebugCanShow();\r
-if(OLshadowPI)OLinitShadow();\r
-if(OLiframePI)OLinitIfs();\r
-if(OLfilterPI)OLinitFilterLyr();\r
-if(OLexclusivePI&&o3_exclusive&&o3_exclusivestatus!="")o3_status=o3_exclusivestatus;\r
-else if(o3_autostatus==2&&o3_cap!="")o3_status=o3_cap;\r
-else if(o3_autostatus==1&&o3_text!="")o3_status=o3_text;\r
-if(o3_delay==0){return OLmain();\r
-}else{OLdelayid=setTimeout("OLmain()",o3_delay);\r
-if(o3_status!=""){self.status=o3_status;return true;}\r
-else if(!(OLop7&&event&&event.type=='mouseover'))return false;}\r
-}\r
-\r
-// Clears popups if appropriate\r
-function nd(time){\r
-if(!(OLloaded&&OLgateOK))return;\r
-if((OLexclusivePI)&&OLisExclusive())return true;\r
-if(time&&over&&!o3_delay){if(OLtimerid>0)clearTimeout(OLtimerid);\r
-OLtimerid=(OLhover&&o3_frame==self&&!OLcursorOff())?0:\r
-setTimeout("cClick()",(o3_timeout=OLndt=time));\r
-}else{if(OLremovecounter>=1)OLshowingsticky=0;if(!OLshowingsticky){\r
-OLallowmove=0;if(over)OLhideObject(over);}else{OLremovecounter++;}}\r
-return true;\r
-}\r
-\r
-// Close function for stickies\r
-function cClick(){\r
-if(OLloaded&&OLgateOK){OLhover=0;if(over)OLhideObject(over);OLshowingsticky=0;}\r
-return false;\r
-}\r
-\r
-// Sets page-specific defaults.\r
-function OLpageDefaults(){\r
-OLparseTokens('ol_',OLpageDefaults.arguments);\r
-}\r
-\r
-// For unsupported browsers.\r
-function no_overlib(){return false;}\r
-\r
-/*\r
- OVERLIB MAIN FUNCTION SET\r
-*/\r
-function OLmain(){\r
-o3_delay=0;\r
-if(o3_frame==self){if(o3_noclose)OLoptMOUSEOFF(0);else if(o3_mouseoff)OLoptMOUSEOFF(1);}\r
-OLdoLyr();\r
-OLallowmove=0;if(o3_timeout>0){\r
-if(OLtimerid>0)clearTimeout(OLtimerid);OLtimerid=setTimeout("cClick()",o3_timeout);}\r
-if(o3_ref){OLrefXY=OLgetRefXY(o3_ref);if(OLrefXY[0]==null){o3_ref="";o3_midx=0;o3_midy=0;}}\r
-OLdisp(o3_status);\r
-if(OLdraggablePI)OLcheckDrag();\r
-if(o3_status!="")return true;else if(!(OLop7&&event&&event.type=='mouseover'))return false;\r
-}\r
-\r
-// Loads defaults for primaries or secondaries\r
-function OLloadP1or2(){\r
-OLload('text,cap,capbelow,textpadding,captionpadding,border,base,status,autostatus,nofollow,'\r
-+'width,wrap,wrapmax,height,hpos,vpos,offsetx,offsety,snapx,snapy,relx,rely,midx,midy,ref,'\r
-+'refc,refp,refx,refy,fixx,fixy,nojustx,nojusty,hauto,vauto,timeout,delay,fgcolor,bgcolor,'\r
-+'cgcolor,textcolor,capcolor,textfont,captionfont,textsize,captionsize,fgbackground,'\r
-+'bgbackground,cgbackground,capicon,background,padxl,padxr,padyt,padyb,fullhtml,fgclass,'\r
-+'bgclass,cgclass,textfontclass,captionfontclass');\r
-}\r
-function OLload(c){var i,m=c.split(',');for(i=0;i<m.length;i++)eval('o3_'+m[i]+'=ol_'+m[i]);}\r
-\r
-// Chooses LGF \r
-function OLdoLGF(){\r
-return (o3_background!=''||o3_fullhtml)?OLcontentBackground(o3_text,o3_background,o3_fullhtml):\r
-(o3_cap=="")?OLcontentSimple(o3_text):\r
-(o3_sticky)?OLcontentCaption(o3_text,o3_cap,o3_close):OLcontentCaption(o3_text,o3_cap,'');\r
-}\r
-\r
-// Makes Layer\r
-function OLmkLyr(id,f,z){\r
-id=(id||'overDiv');f=(f||o3_frame);z=(z||1000);var fd=f.document,d=OLgetRefById(id,fd);\r
-if(!d){if(OLns4)d=fd.layers[id]=new Layer(1024,f);else if(OLie4&&!document.getElementById){\r
-fd.body.insertAdjacentHTML('BeforeEnd','<div id="'+id+'"></div>');d=fd.all[id];\r
-}else{d=fd.createElement('div');if(d){d.id=id;fd.body.appendChild(d);}}if(!d)return null;\r
-if(OLns4)d.zIndex=z;else{var o=d.style;o.position='absolute';o.visibility='hidden';o.zIndex=z;}}\r
-return d;\r
-}\r
-\r
-// Creates and writes layer content\r
-function OLdoLyr(){\r
-if(o3_background==''&&!o3_fullhtml){\r
-if(o3_fgbackground!='')o3_fgbackground=' background="'+o3_fgbackground+'"';\r
-if(o3_bgbackground!='')o3_bgbackground=' background="'+o3_bgbackground+'"';\r
-if(o3_cgbackground!='')o3_cgbackground=' background="'+o3_cgbackground+'"';\r
-if(o3_fgcolor!='')o3_fgcolor=' bgcolor="'+o3_fgcolor+'"';\r
-if(o3_bgcolor!='')o3_bgcolor=' bgcolor="'+o3_bgcolor+'"';\r
-if(o3_cgcolor!='')o3_cgcolor=' bgcolor="'+o3_cgcolor+'"';\r
-if(o3_height>0)o3_height=' height="'+o3_height+'"';else o3_height='';}\r
-if(!OLns4)OLrepositionTo(over,(OLns6?20:0),0);var lyrHtml=OLdoLGF();\r
-if(o3_sticky){if(OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}\r
-OLshowingsticky=1;OLremovecounter=0;}\r
-if(o3_wrap&&!o3_fullhtml){OLlayerWrite(lyrHtml);\r
-o3_width=(OLns4?over.clip.width:over.offsetWidth);\r
-if(OLns4&&o3_wrapmax<1)o3_wrapmax=o3_frame.innerWidth-40;\r
-o3_wrap=0;if(o3_wrapmax>0&&o3_width>o3_wrapmax)o3_width=o3_wrapmax;lyrHtml=OLdoLGF();}\r
-OLlayerWrite(lyrHtml);o3_width=(OLns4?over.clip.width:over.offsetWidth);\r
-if(OLbubblePI)OLgenerateBubble(lyrHtml);\r
-}\r
-\r
-/*\r
- LAYER GENERATION FUNCTIONS\r
-*/\r
-// Makes simple table without caption\r
-function OLcontentSimple(txt){\r
-var t=OLbgLGF()+OLfgLGF(txt)+OLbaseLGF();\r
-OLsetBackground('');return t;\r
-}\r
-\r
-// Makes table with caption and optional close link\r
-function OLcontentCaption(txt,title,close){\r
-var closing='',closeevent='onmouseover',caption,t;\r
-if(o3_closeclick==1)closeevent=(o3_closetitle?'title="'+o3_closetitle+'" ':'')+'onclick';\r
-if(o3_capicon!='')o3_capicon='<img src="'+o3_capicon+'" /> ';\r
-if(close!=''){closing='<td align="right"><a href="javascript:return '+OLfnRef+'cClick();" '\r
-+closeevent+'="return '+OLfnRef+'cClick();"'+(o3_closefontclass?' class="'+o3_closefontclass\r
-+'">':'>'+OLlgfUtil(0,'','span',o3_closecolor,o3_closefont,o3_closesize))+close\r
-+(o3_closefontclass?'':OLlgfUtil(1,'','span'))+'</a></td>';}\r
-caption='<table'+OLwd(0)+' border="0" cellpadding="'+o3_captionpadding+'" cellspacing="0"'\r
-+(o3_cgclass?' class="'+o3_cgclass+'"':o3_cgcolor+o3_cgbackground)+'><tr><td'+OLwd(0)\r
-+(o3_cgclass?' class="'+o3_cgclass+'">':'>')+(o3_captionfontclass?'<div class="'\r
-+o3_captionfontclass+'">':'<strong>'\r
-+OLlgfUtil(0,'','div',o3_capcolor,o3_captionfont,o3_captionsize))+o3_capicon+title\r
-+OLlgfUtil(1,'','div')+(o3_captionfontclass?'':'</strong>')+'</td>'+closing+'</tr></table>';\r
-t=OLbgLGF()+(o3_capbelow?OLfgLGF(txt)+caption:caption+OLfgLGF(txt))+OLbaseLGF();\r
-OLsetBackground('');return t;\r
-}\r
-\r
-// For BACKGROUND and FULLHTML commands\r
-function OLcontentBackground(txt, image, hasfullhtml){\r
-var t;if(hasfullhtml){t=txt;}else{t='<table'+OLwd(1)\r
-+' border="0" cellpadding="0" cellspacing="0" '+'height="'+o3_height\r
-+'"><tr><td colspan="3" height="'+o3_padyt+'"></td></tr><tr><td width="'\r
-+o3_padxl+'"></td><td valign="top"'+OLwd(2)+'>'\r
-+OLlgfUtil(0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+txt+\r
-OLlgfUtil(1,'','div')+'</td><td width="'+o3_padxr+'"></td></tr><tr><td colspan="3" height="'\r
-+o3_padyb+'"></td></tr></table>';}\r
-OLsetBackground(image);return t;\r
-}\r
-\r
-// LGF utilities\r
-function OLbgLGF(){\r
-return '<table'+OLwd(1)+o3_height+' border="0" cellpadding="'+o3_border+'" cellspacing="0"'\r
-+(o3_bgclass?' class="'+o3_bgclass+'"':o3_bgcolor+o3_bgbackground)+'><tr><td>';\r
-}\r
-function OLfgLGF(t){\r
-return '<table'+OLwd(0)+o3_height+' border="0" cellpadding="'+o3_textpadding\r
-+'" cellspacing="0"'+(o3_fgclass?' class="'+o3_fgclass+'"':o3_fgcolor+o3_fgbackground)\r
-+'><tr><td valign="top"'+(o3_fgclass?' class="'+o3_fgclass+'"':'')+'>'\r
-+OLlgfUtil(0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+t\r
-+OLlgfUtil(1,'','div')+'</td></tr></table>';\r
-}\r
-function OLlgfUtil(end,tfc,ele,col,fac,siz){\r
-if(end)return ('</'+(OLns4?'font':ele)+'>');else return (tfc?'<div class="'+tfc+'">':\r
-('<'+(OLns4?'font color="'+col+'" face="'+OLquoteMultiNameFonts(fac)+'" size="'+siz:ele\r
-+' style="color:'+col+';font-family:'+OLquoteMultiNameFonts(fac)+';font-size:'+siz+';'\r
-+(ele=='span'?'text-decoration:underline;':''))+'">'));\r
-}\r
-function OLquoteMultiNameFonts(f){\r
-var i,v,pM=f.split(',');\r
-for(i=0;i<pM.length;i++){v=pM[i];v=v.replace(/^\s+/,'').replace(/\s+$/,'');\r
-if(/\s/.test(v) && !/['"]/.test(v)){v="\'"+v+"\'";pM[i]=v;}}\r
-return pM.join();\r
-}\r
-function OLbaseLGF(){\r
-return ((o3_base>0&&!o3_wrap)?('<table width="100%" border="0" cellpadding="0" cellspacing="0"'\r
-+(o3_bgclass?' class="'+o3_bgclass+'"':'')+'><tr><td height="'+o3_base\r
-+'"></td></tr></table>'):'')+'</td></tr></table>';\r
-}\r
-function OLwd(a){\r
-return(o3_wrap?'':' width="'+(!a?'100%':(a==1?o3_width:(o3_width-o3_padxl-o3_padxr)))+'"');\r
-}\r
-\r
-// Loads image into the div.\r
-function OLsetBackground(i){\r
-if(i==''){if(OLns4)over.background.src=null;\r
-else{if(OLns6)over.style.width='';over.style.backgroundImage='none';}\r
-}else{if(OLns4)over.background.src=i;\r
-else{if(OLns6)over.style.width=o3_width+'px';over.style.backgroundImage='url('+i+')';}}\r
-}\r
-\r
-/*\r
- HANDLING FUNCTIONS\r
-*/\r
-// Displays layer\r
-function OLdisp(s){\r
-if(OLallowmove==0){if(OLshadowPI)OLdispShadow();if(OLiframePI)OLdispIfs();OLplaceLayer();\r
-if(OLndt)OLshowObject(over);else OLshowid=setTimeout("OLshowObject(over)",1);\r
-OLallowmove=(o3_sticky||o3_nofollow)?0:1;}OLndt=0;if(s!="")self.status=s;\r
-}\r
-\r
-// Decides placement of layer.\r
-function OLplaceLayer(){\r
-var snp,X,Y,pgLeft,pgTop,pWd=o3_width,pHt,iWd=100,iHt=100,SB=0,LM=0,CX=0,TM=0,BM=0,CY=0;\r
-var o=OLfd(),nsb=(OLgek>=20010505&&!o3_frame.scrollbars.visible)?1:0;\r
-if(!OLkht&&o&&o.clientWidth)iWd=o.clientWidth;\r
-else if(o3_frame.innerWidth){SB=Math.ceil(1.4*(o3_frame.outerWidth-o3_frame.innerWidth));\r
-if(SB>20)SB=20;iWd=o3_frame.innerWidth;}\r
-pgLeft=(OLie4)?o.scrollLeft:o3_frame.pageXOffset;\r
-if(OLie55&&OLfilterPI&&o3_filtershadow)SB=CX=5;else\r
-if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){SB+=((o3_shadowx>0)?o3_shadowx:0);\r
-LM=((o3_shadowx<0)?Math.abs(o3_shadowx):0);CX=Math.abs(o3_shadowx);}\r
-if(o3_ref!=""||o3_fixx> -1||o3_relx!=null||o3_midx!=null){\r
-if(o3_ref!=""){\r
-X=OLrefXY[0];if(OLie55&&OLfilterPI&&o3_filtershadow){if(o3_refp=='UR'||o3_refp=='LR')X -= 5;}\r
-else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){  \r
-if(o3_shadowx<0&&(o3_refp=='UL'||o3_refp=='LL'))X += o3_shadowx;\r
-else if(o3_shadowx>0&&(o3_refp=='UR'||o3_refp=='LR'))X -= o3_shadowx;}\r
-}else{if(o3_midx!=null){\r
-X=parseInt(pgLeft+((iWd-pWd-SB-LM)/2)+o3_midx);\r
-}else{if(o3_relx!=null){\r
-if(o3_relx>=0)X=pgLeft+o3_relx+LM;else X=pgLeft+o3_relx+iWd-pWd-SB;\r
-}else{\r
-X=o3_fixx+LM;}}}\r
-}else{\r
-if(o3_hauto){\r
-if(o3_hpos==LEFT&&OLx-pgLeft<iWd/2&&OLx-pWd-o3_offsetx<pgLeft+LM)o3_hpos=RIGHT;else\r
-if(o3_hpos==RIGHT&&OLx-pgLeft>iWd/2&&OLx+pWd+o3_offsetx>pgLeft+iWd-SB)o3_hpos=LEFT;}\r
-X=(o3_hpos==CENTER)?parseInt(OLx-((pWd+CX)/2)+o3_offsetx):\r
-(o3_hpos==LEFT)?OLx-o3_offsetx-pWd:OLx+o3_offsetx;\r
-if(o3_snapx>1){\r
-snp=X % o3_snapx;\r
-if(o3_hpos==LEFT){X=X-(o3_snapx+snp);}else{X=X+(o3_snapx-snp);}}}\r
-if(!o3_nojustx&&X+pWd>pgLeft+iWd-SB)\r
-X=iWd+pgLeft-pWd-SB;if(!o3_nojustx&&X-LM<pgLeft)X=pgLeft+LM;\r
-pgTop=OLie4?o.scrollTop:o3_frame.pageYOffset;\r
-if(!OLkht&&!nsb&&o&&o.clientHeight)iHt=o.clientHeight;\r
-else if(o3_frame.innerHeight)iHt=o3_frame.innerHeight;\r
-if(OLbubblePI&&o3_bubble)pHt=OLbubbleHt;else pHt=OLns4?over.clip.height:over.offsetHeight;\r
-if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){TM=(o3_shadowy<0)?Math.abs(o3_shadowy):0;\r
-if(OLie55&&OLfilterPI&&o3_filtershadow)BM=CY=5;else\r
-BM=(o3_shadowy>0)?o3_shadowy:0;CY=Math.abs(o3_shadowy);}\r
-if(o3_ref!=""||o3_fixy> -1||o3_rely!=null||o3_midy!=null){\r
-if(o3_ref!=""){\r
-Y=OLrefXY[1];if(OLie55&&OLfilterPI&&o3_filtershadow){if(o3_refp=='LL'||o3_refp=='LR')Y -= 5;}\r
-else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){\r
-if(o3_shadowy<0&&(o3_refp=='UL'||o3_refp=='UR'))Y+=o3_shadowy;else\r
-if(o3_shadowy>0&&(o3_refp=='LL'||o3_refp=='LR'))Y-=o3_shadowy;}\r
-}else{if(o3_midy!=null){\r
-Y=parseInt(pgTop+((iHt-pHt-CY)/2)+o3_midy);\r
-}else{if(o3_rely!=null){\r
-if(o3_rely>=0)Y=pgTop+o3_rely+TM;else Y=pgTop+o3_rely+iHt-pHt-BM;}else{\r
-Y=o3_fixy+TM;}}}\r
-}else{\r
-if(o3_vauto){\r
-if(o3_vpos==ABOVE&&OLy-pgTop<iHt/2&&OLy-pHt-o3_offsety<pgTop)o3_vpos=BELOW;else\r
-if(o3_vpos==BELOW&&OLy-pgTop>iHt/2&&OLy+pHt+o3_offsety+((OLns4||OLkht)?17:0)>pgTop+iHt-BM)\r
-o3_vpos=ABOVE;}Y=(o3_vpos==VCENTER)?parseInt(OLy-((pHt+CY)/2)+o3_offsety):\r
-(o3_vpos==ABOVE)?OLy-(pHt+o3_offsety+BM):OLy+o3_offsety+TM;\r
-if(o3_snapy>1){\r
-snp=Y % o3_snapy;\r
-if(pHt>0&&o3_vpos==ABOVE){Y=Y-(o3_snapy+snp);}else{Y=Y+(o3_snapy-snp);}}}\r
-if(!o3_nojusty&&Y+pHt+BM>pgTop+iHt)Y=pgTop+iHt-pHt-BM;if(!o3_nojusty&&Y-TM<pgTop)Y=pgTop+TM;\r
-OLrepositionTo(over,X,Y);\r
-if(OLshadowPI)OLrepositionShadow(X,Y);if(OLiframePI)OLrepositionIfs(X,Y);\r
-if(OLns6&&o3_frame.innerHeight){iHt=o3_frame.innerHeight;OLrepositionTo(over,X,Y);}\r
-if(OLscrollPI)OLchkScroll(X-pgLeft,Y-pgTop);\r
-}\r
-\r
-// Chooses body or documentElement\r
-function OLfd(f){\r
-var fd=((f)?f:o3_frame).document,fdc=fd.compatMode,fdd=fd.documentElement;\r
-return (!OLop7&&fdc&&fdc!='BackCompat'&&fdd&&fdd.clientWidth)?fd.documentElement:fd.body;\r
-}\r
-\r
-// Gets location of REFerence object\r
-function OLgetRefXY(r){\r
-var mn=r,mr=OLgetRef(mn),o,of,rXY;\r
-if(!mr)return [null,null];\r
-o=mr;rXY=[o3_refx,o3_refy];\r
-if(OLns4){if(typeof mr.length!='undefined'&&mr.length>1){\r
-o=mr[0];rXY[0]+=mr[0].x+mr[1].pageX;rXY[1]+=mr[0].y+mr[1].pageY;\r
-}else{if((mr.toString().indexOf('Image')!= -1)||(mr.toString().indexOf('Anchor')!= -1)){\r
-rXY[0]+=mr.x;rXY[1]+=mr.y;}else{rXY[0]+=mr.pageX;rXY[1]+=mr.pageY;}}\r
-}else{rXY[0]+=OLpageLoc(mr,'Left');rXY[1]+=OLpageLoc(mr,'Top');}\r
-of=OLgetRefOffsets(o);rXY[0]+=of[0];rXY[1]+=of[1];\r
-return rXY;\r
-}\r
-function OLgetRef(l){var r=OLgetRefById(l);return (r)?r:OLgetRefByName(l);}\r
-\r
-// Seeks REFerence by id\r
-function OLgetRefById(l,d){\r
-var r="",j;l=(l||'overDiv');d=(d||o3_frame.document);\r
-if(OLie4&&d.all){return d.all[l];}else if(d.getElementById){return d.getElementById(l);\r
-}else if(d.layers&&d.layers.length>0){if(d.layers[l])return d.layers[l];\r
-for(j=0;j<d.layers.length;j++){r=OLgetRefById(l,d.layers[j].document);if(r)return r;}}\r
-return null;\r
-}\r
-\r
-// Seeks REFerence by name (for img and a)\r
-function OLgetRefByName(l,d){\r
-var r=null,j;d=(d||o3_frame.document);\r
-if(typeof d.images[l]!='undefined'&&d.images[l]){return d.images[l];\r
-}else if(typeof d.anchors[l]!='undefined'&&d.anchors[l]){return d.anchors[l];\r
-}else if(d.layers&&d.layers.length>0){\r
-for(j=0;j<d.layers.length;j++){r=OLgetRefByName(l,d.layers[j].document);\r
-if(r&&r.length>0)return r;else if(r)return [r,d.layers[j]];}}\r
-return null;\r
-}\r
-\r
-// Gets layer vs REFerence offsets\r
-function OLgetRefOffsets(o){\r
-var mc=o3_refc.toUpperCase(),mp=o3_refp.toUpperCase(),mW=0,mH=0,pW=0,pH=0,off=[0,0];\r
-pW=(OLbubblePI&&o3_bubble)?o3_width:OLns4?over.clip.width:over.offsetWidth;\r
-pH=(OLbubblePI&&o3_bubble)?OLbubbleHt:OLns4?over.clip.height:over.offsetHeight;\r
-if((!OLop7)&&o.toString().indexOf('Image')!= -1){mW=o.width;mH=o.height;\r
-}else if((!OLop7)&&o.toString().indexOf('Anchor')!= -1){mc=o3_refc='UL';}else{\r
-mW=(OLns4)?o.clip.width:o.offsetWidth;mH=(OLns4)?o.clip.height:o.offsetHeight;}\r
-if(mc=='UL'){off=(mp=='UR')?[-pW,0]:(mp=='LL')?[0,-pH]:(mp=='LR')?[-pW,-pH]:[0,0];\r
-}else if(mc=='UR'){off=(mp=='UR')?[mW-pW,0]:(mp=='LL')?[mW,-pH]:(mp=='LR')?[mW-pW,-pH]:[mW,0];\r
-}else if(mc=='LL'){off=(mp=='UR')?[-pW,mH]:(mp=='LL')?[0,mH-pH]:(mp=='LR')?[-pW,mH-pH]:[0,mH];\r
-}else if(mc=='LR'){off=(mp=='UR')?[mW-pW,mH]:(mp=='LL')?[mW,mH-pH]:(mp=='LR')?[mW-pW,mH-pH]:\r
-[mW,mH];}\r
-return off;\r
-}\r
-\r
-// Gets x or y location of object\r
-function OLpageLoc(o,t){\r
-var l=0;while(o.offsetParent&&o.offsetParent.tagName.toLowerCase()!='html'){\r
-l+=o['offset'+t];o=o.offsetParent;}l+=o['offset'+t];\r
-return l;\r
-} \r
-\r
-// Moves layer\r
-function OLmouseMove(e){\r
-var e=(e||event);\r
-OLx=(e.pageX||e.clientX+OLfd().scrollLeft);OLy=(e.pageY||e.clientY+OLfd().scrollTop);\r
-if((OLallowmove&&over)&&(o3_frame==self||over==OLgetRefById())){\r
-OLplaceLayer();if(OLhidePI)OLhideUtil(0,1,1,0,0,0);}\r
-if(OLhover&&over&&o3_frame==self&&OLcursorOff())if(o3_offdelay<1)cClick();else\r
-{if(OLtimerid>0)clearTimeout(OLtimerid);OLtimerid=setTimeout("cClick()",o3_offdelay);}\r
-}\r
-\r
-// Capture mouse and chain other scripts.\r
-function OLmh(){\r
-var fN,f,j,k,s,mh=OLmouseMove,w=(OLns4&&window.onmousemove),re=/function[ ]*(\w*)\(/;\r
-OLdw=document;if(document.onmousemove||w){if(w)OLdw=window;f=OLdw.onmousemove.toString();\r
-fN=f.match(re);if(!fN||fN[1]=='anonymous'||fN[1]=='OLmouseMove'){OLchkMh=0;return;}\r
-if(fN[1])s=fN[1]+'(e)';else{j=f.indexOf('{');k=f.lastIndexOf('}')+1;s=f.substring(j,k);}\r
-s+=';OLmouseMove(e);';mh=new Function('e',s);}\r
-OLdw.onmousemove=mh;if(OLns4)OLdw.captureEvents(Event.MOUSEMOVE);\r
-}\r
-\r
-/*\r
- PARSING\r
-*/\r
-function OLparseTokens(pf,ar){\r
-var i,v,md= -1,par=(pf!='ol_'),e=eval,p=OLpar,q=OLparQuo,t=OLtoggle;OLudf=(par&&!ar.length?1:0);\r
-for(i=0;i< ar.length;i++){if(md<0){if(typeof ar[i]=='number'){OLudf=(par?1:0);i--;}\r
-else{switch(pf){case 'ol_':ol_text=ar[i];break;default:o3_text=ar[i];}}md=0;\r
-}else{\r
-if(ar[i]==INARRAY){OLudf=0;e(pf+'text=ol_texts['+ar[++i]+']');continue;}\r
-if(ar[i]==CAPARRAY){e(pf+'cap=ol_caps['+ar[++i]+']');continue;}\r
-if(ar[i]==CAPTION){q(ar[++i],pf+'cap');continue;}\r
-if(Math.abs(ar[i])==STICKY){t(ar[i],pf+'sticky');continue;}\r
-if(Math.abs(ar[i])==NOFOLLOW){t(ar[i],pf+'nofollow');continue;}\r
-if(ar[i]==BACKGROUND){q(ar[++i],pf+'background');continue;}\r
-if(Math.abs(ar[i])==NOCLOSE){t(ar[i],pf+'noclose');continue;}\r
-if(Math.abs(ar[i])==MOUSEOFF){t(ar[i],pf+'mouseoff');continue;}\r
-if(ar[i]==OFFDELAY){p(ar[++i],pf+'offdelay');continue;}\r
-if(ar[i]==RIGHT||ar[i]==LEFT||ar[i]==CENTER){p(ar[i],pf+'hpos');continue;}\r
-if(ar[i]==OFFSETX){p(ar[++i],pf+'offsetx');continue;}\r
-if(ar[i]==OFFSETY){p(ar[++i],pf+'offsety');continue;}\r
-if(ar[i]==FGCOLOR){q(ar[++i],pf+'fgcolor');continue;}\r
-if(ar[i]==BGCOLOR){q(ar[++i],pf+'bgcolor');continue;}\r
-if(ar[i]==CGCOLOR){q(ar[++i],pf+'cgcolor');continue;}\r
-if(ar[i]==TEXTCOLOR){q(ar[++i],pf+'textcolor');continue;}\r
-if(ar[i]==CAPCOLOR){q(ar[++i],pf+'capcolor');continue;}\r
-if(ar[i]==CLOSECOLOR){q(ar[++i],pf+'closecolor');continue;}\r
-if(ar[i]==WIDTH){p(ar[++i],pf+'width');continue;}\r
-if(Math.abs(ar[i])==WRAP){t(ar[i],pf+'wrap');continue;}\r
-if(ar[i]==WRAPMAX){p(ar[++i],pf+'wrapmax');continue;}\r
-if(ar[i]==HEIGHT){p(ar[++i],pf+'height');continue;}\r
-if(ar[i]==BORDER){p(ar[++i],pf+'border');continue;}\r
-if(ar[i]==BASE){p(ar[++i],pf+'base');continue;}\r
-if(ar[i]==STATUS){q(ar[++i],pf+'status');continue;}\r
-if(Math.abs(ar[i])==AUTOSTATUS){v=pf+'autostatus';\r
-e(v+'=('+ar[i]+'<0)?('+v+'==2?2:0):('+v+'==1?0:1)');continue;}\r
-if(Math.abs(ar[i])==AUTOSTATUSCAP){v=pf+'autostatus';\r
-e(v+'=('+ar[i]+'<0)?('+v+'==1?1:0):('+v+'==2?0:2)');continue;}\r
-if(ar[i]==CLOSETEXT){q(ar[++i],pf+'close');continue;}\r
-if(ar[i]==SNAPX){p(ar[++i],pf+'snapx');continue;}\r
-if(ar[i]==SNAPY){p(ar[++i],pf+'snapy');continue;}\r
-if(ar[i]==FIXX){p(ar[++i],pf+'fixx');continue;}\r
-if(ar[i]==FIXY){p(ar[++i],pf+'fixy');continue;}\r
-if(ar[i]==RELX){p(ar[++i],pf+'relx');continue;}\r
-if(ar[i]==RELY){p(ar[++i],pf+'rely');continue;}\r
-if(ar[i]==MIDX){p(ar[++i],pf+'midx');continue;}\r
-if(ar[i]==MIDY){p(ar[++i],pf+'midy');continue;}\r
-if(ar[i]==REF){q(ar[++i],pf+'ref');continue;}\r
-if(ar[i]==REFC){q(ar[++i],pf+'refc');continue;}\r
-if(ar[i]==REFP){q(ar[++i],pf+'refp');continue;}\r
-if(ar[i]==REFX){p(ar[++i],pf+'refx');continue;}\r
-if(ar[i]==REFY){p(ar[++i],pf+'refy');continue;}\r
-if(ar[i]==FGBACKGROUND){q(ar[++i],pf+'fgbackground');continue;}\r
-if(ar[i]==BGBACKGROUND){q(ar[++i],pf+'bgbackground');continue;}\r
-if(ar[i]==CGBACKGROUND){q(ar[++i],pf+'cgbackground');continue;}\r
-if(ar[i]==PADX){p(ar[++i],pf+'padxl');p(ar[++i],pf+'padxr');continue;}\r
-if(ar[i]==PADY){p(ar[++i],pf+'padyt');p(ar[++i],pf+'padyb');continue;}\r
-if(Math.abs(ar[i])==FULLHTML){t(ar[i],pf+'fullhtml');continue;}\r
-if(ar[i]==BELOW||ar[i]==ABOVE||ar[i]==VCENTER){p(ar[i],pf+'vpos');continue;}\r
-if(ar[i]==CAPICON){q(ar[++i],pf+'capicon');continue;}\r
-if(ar[i]==TEXTFONT){q(ar[++i],pf+'textfont');continue;}\r
-if(ar[i]==CAPTIONFONT){q(ar[++i],pf+'captionfont');continue;}\r
-if(ar[i]==CLOSEFONT){q(ar[++i],pf+'closefont');continue;}\r
-if(ar[i]==TEXTSIZE){q(ar[++i],pf+'textsize');continue;}\r
-if(ar[i]==CAPTIONSIZE){q(ar[++i],pf+'captionsize');continue;}\r
-if(ar[i]==CLOSESIZE){q(ar[++i],pf+'closesize');continue;}\r
-if(ar[i]==TIMEOUT){p(ar[++i],pf+'timeout');continue;}\r
-if(ar[i]==DELAY){p(ar[++i],pf+'delay');continue;}\r
-if(Math.abs(ar[i])==HAUTO){t(ar[i],pf+'hauto');continue;}\r
-if(Math.abs(ar[i])==VAUTO){t(ar[i],pf+'vauto');continue;}\r
-if(Math.abs(ar[i])==NOJUSTX){t(ar[i],pf+'nojustx');continue;}\r
-if(Math.abs(ar[i])==NOJUSTY){t(ar[i],pf+'nojusty');continue;}\r
-if(Math.abs(ar[i])==CLOSECLICK){t(ar[i],pf+'closeclick');continue;}\r
-if(ar[i]==CLOSETITLE){q(ar[++i],pf+'closetitle');continue;}\r
-if(ar[i]==FGCLASS){q(ar[++i],pf+'fgclass');continue;}\r
-if(ar[i]==BGCLASS){q(ar[++i],pf+'bgclass');continue;}\r
-if(ar[i]==CGCLASS){q(ar[++i],pf+'cgclass');continue;}\r
-if(ar[i]==TEXTPADDING){p(ar[++i],pf+'textpadding');continue;}\r
-if(ar[i]==TEXTFONTCLASS){q(ar[++i],pf+'textfontclass');continue;}\r
-if(ar[i]==CAPTIONPADDING){p(ar[++i],pf+'captionpadding');continue;}\r
-if(ar[i]==CAPTIONFONTCLASS){q(ar[++i],pf+'captionfontclass');continue;}\r
-if(ar[i]==CLOSEFONTCLASS){q(ar[++i],pf+'closefontclass');continue;}\r
-if(Math.abs(ar[i])==CAPBELOW){t(ar[i],pf+'capbelow');continue;}\r
-if(ar[i]==LABEL){q(ar[++i],pf+'label');continue;}\r
-if(ar[i]==DONOTHING){continue;}\r
-i=OLparseCmdLine(pf,i,ar);}}\r
-if((OLfunctionPI)&&OLudf&&o3_function)o3_text=o3_function();\r
-if(pf=='o3_')OLfontSize();\r
-}\r
-function OLpar(a,v){eval(v+'='+a);}\r
-function OLparQuo(a,v){eval(v+"='"+OLescSglQt(a)+"'");}\r
-function OLescSglQt(s){return s.toString().replace(/'/g,"\\'");}\r
-function OLtoggle(a,v){eval(v+'=('+v+'==0&&'+a+'>=0)?1:0');}\r
-function OLhasDims(s){return /[%\-a-z]+$/.test(s);}\r
-function OLfontSize(){\r
-var i;if(OLhasDims(o3_textsize)){if(OLns4)o3_textsize="2";}else\r
-if(!OLns4){i=parseInt(o3_textsize);o3_textsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}\r
-if(OLhasDims(o3_captionsize)){if(OLns4)o3_captionsize="2";}else\r
-if(!OLns4){i=parseInt(o3_captionsize);o3_captionsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}\r
-if(OLhasDims(o3_closesize)){if(OLns4)o3_closesize="2";}else\r
-if(!OLns4){i=parseInt(o3_closesize);o3_closesize=(i>0&&i<8)?OLpct[i]:OLpct[0];}\r
-}\r
-\r
-/*\r
- LAYER FUNCTIONS\r
-*/\r
-// Writes to layer\r
-function OLlayerWrite(t){\r
-t+="\n";\r
-if(OLns4){over.document.write(t);over.document.close();\r
-}else if(typeof over.innerHTML!='undefined'){if(OLieM)over.innerHTML='';over.innerHTML=t;\r
-}else{range=o3_frame.document.createRange();range.setStartAfter(over);\r
-domfrag=range.createContextualFragment(t);\r
-while(over.hasChildNodes()){over.removeChild(over.lastChild);}\r
-over.appendChild(domfrag);}\r
-}\r
-\r
-// Makes object visible\r
-function OLshowObject(o){\r
-OLshowid=0;o=(OLns4)?o:o.style;\r
-if(((OLfilterPI)&&!OLchkFilter(o))||!OLfilterPI)o.visibility="visible";\r
-if(OLshadowPI)OLshowShadow();if(OLiframePI)OLshowIfs();if(OLhidePI)OLhideUtil(1,1,0);\r
-}\r
-\r
-// Hides object\r
-function OLhideObject(o){\r
-if(OLshowid>0){clearTimeout(OLshowid);OLshowid=0;}\r
-if(OLtimerid>0)clearTimeout(OLtimerid);if(OLdelayid>0)clearTimeout(OLdelayid);\r
-OLtimerid=0;OLdelayid=0;self.status="";o3_label=ol_label;\r
-if(o3_frame!=self)o=OLgetRefById();\r
-if(o){if(o.onmouseover)o.onmouseover=null;\r
-if(OLscrollPI&&o==over)OLclearScroll();\r
-if(OLdraggablePI)OLclearDrag();\r
-if(OLfilterPI)OLcleanupFilter(o);if(OLshadowPI)OLhideShadow();\r
-var os=(OLns4)?o:o.style;os.visibility="hidden";\r
-if(OLhidePI&&o==over)OLhideUtil(0,0,1);if(OLiframePI)OLhideIfs(o);}\r
-}\r
-\r
-// Moves layer\r
-function OLrepositionTo(o,xL,yL){\r
-o=(OLns4)?o:o.style;\r
-o.left=(OLns4?xL:xL+'px');\r
-o.top=(OLns4?yL:yL+'px');\r
-}\r
-\r
-// Handle NOCLOSE-MOUSEOFF\r
-function OLoptMOUSEOFF(c){\r
-if(!c)o3_close="";\r
-over.onmouseover=function(){OLhover=1;if(OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}}\r
-}\r
-function OLcursorOff(){\r
-if(OLovertwoPI&&over==over2)return false;\r
-var o=(OLns4?over:over.style),pHt=OLns4?over.clip.height:over.offsetHeight;\r
-var left=parseInt(o.left),top=parseInt(o.top);\r
-var right=left+o3_width,bottom=top+((OLbubblePI&&o3_bubble)?OLbubbleHt:pHt);\r
-if(OLx<left||OLx>right||OLy<top||OLy>bottom)return true;\r
-return false;\r
-}\r
-\r
-/*\r
- REGISTRATION\r
-*/\r
-var OLcmdLine=null,OLrunTime=null;\r
-function OLsetRunTimeVar(){\r
-if(OLrunTime&&OLrunTime.length)for(var k=0;k<OLrunTime.length;k++)OLrunTime[k]();\r
-}\r
-function OLparseCmdLine(pf,i,ar){\r
-if(OLcmdLine&&OLcmdLine.length){for(var k=0;k<OLcmdLine.length;k++){\r
-var j=OLcmdLine[k](pf,i,ar);if(j>-1){i=j;break;}}}\r
-return i;\r
-}\r
-function OLisFunc(f){\r
-var r=1;\r
-if(typeof f=='object'){for(var i=0;i<f.length;i++){\r
-if(typeof f[i]=='function')continue;r=0;break;}\r
-}else if(typeof f!='function')r=0;\r
-return r;\r
-}\r
-function OLregCmds(c){\r
-if(typeof c!='string')return;\r
-var pM=c.split(',');pMtr=pMtr.concat(pM);\r
-for(var i=0;i<pM.length;i++)eval(pM[i].toUpperCase()+'='+pmCnt++);\r
-}\r
-function OLregRunTimeFunc(f){\r
-if(OLisFunc(f)){\r
-if(!OLrunTime)OLrunTime=new Array();\r
-if(typeof f=='object')OLrunTime=OLrunTime.concat(f);\r
-else OLrunTime[OLrunTime.length++]=f;}\r
-}\r
-function OLregCmdLineFunc(f){\r
-if(OLisFunc(f)){\r
-if(!OLcmdLine)OLcmdLine=new Array();\r
-if(typeof f=='object')OLcmdLine=OLcmdLine.concat(f);\r
-else OLcmdLine[OLcmdLine.length++]=f;}\r
-}\r
-\r
-OLloaded=1;\r
diff --git a/httemplate/elements/overlibmws_draggable.js b/httemplate/elements/overlibmws_draggable.js
deleted file mode 100644 (file)
index 14e4a60..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*\r
- overlibmws_draggable.js plug-in module - Copyright Foteos Macrides 2002=2005\r
-   For support of the DRAGGABLE feature.\r
-   Initial: August 24, 2002 - Last Revised: January 12, 2005\r
- See the Change History and Command Reference for overlibmws via:\r
-\r
-       http://www.macridesweb.com/oltest/\r
-\r
- Published under an open source license: http://www.macridesweb.com/oltest/license.html\r
-*/\r
-\r
-OLloaded=0;\r
-OLregCmds('draggable');\r
-\r
-// DEFAULT CONFIGURATION\r
-if(OLud('draggable'))var ol_draggable=0;\r
-// END CONFIGURATION\r
-\r
-var o3_draggable=0,o3_dragging=0,OLmMv,OLcX,OLcY,OLcbX,OLcbY;\r
-function OLloadDraggable(){OLload('draggable');}\r
-function OLparseDraggable(pf,i,ar){\r
-var k=i;\r
-if(k<ar.length){if(Math.abs(ar[k])==DRAGGABLE){OLtoggle(ar[k],pf+'draggable');return k;}}\r
-return -1;\r
-}\r
-\r
-function OLcheckDrag(){\r
-if(o3_draggable){if(o3_sticky&&(o3_frame==self))initDrag();else o3_draggable=0;}\r
-}\r
-function initDrag(){\r
-OLmMv=OLdw.onmousemove;o3_dragging=0;\r
-if(OLns4){document.captureEvents(Event.MOUSEDOWN|Event.CLICK);\r
-document.onmousedown=OLgrabEl;;document.onclick=function(e){return routeEvent(e);}}\r
-else{over.onmousedown=OLgrabEl;OLsetDrgCur(1);}\r
-}\r
-function OLsetDrgCur(d){if(!OLns4)over.style.cursor=(d?'move':'auto');}\r
-\r
-function OLgrabEl(e){\r
-var e=(e||event);\r
-var cKy=(OLns4?e.modifiers&Event.ALT_MASK:(!OLop7?e.altKey:e.ctrlKey));o3_dragging=1;\r
-if(cKy){OLsetDrgCur(0);document.onmouseup=function(){OLsetDrgCur(1);o3_dragging=0;}\r
-return(OLns4?routeEvent(e):true);}\r
-OLx=(e.pageX||e.clientX+OLfd().scrollLeft);OLy=(e.pageY||e.clientY+OLfd().scrollTop);\r
-if(OLie4)over.onselectstart=function(){return false;}\r
-if(OLns4){OLcX=OLx;OLcY=OLy;document.captureEvents(Event.MOUSEUP)}else{\r
-OLcX=OLx-(OLns4?over.left:parseInt(over.style.left));\r
-OLcY=OLy-(OLns4?over.top:parseInt(over.style.top));\r
-if((OLshadowPI)&&bkdrop&&o3_shadow){OLcbX=OLx-(parseInt(bkdrop.style.left));\r
-OLcbY=OLy-(parseInt(bkdrop.style.top));}}OLdw.onmousemove=OLmoveEl;\r
-document.onmouseup=function(){\r
-if(OLie4)over.onselectstart=null;o3_dragging=0;OLdw.onmousemove=OLmMv;}\r
-return(OLns4?routeEvent(e):false);\r
-}\r
-\r
-function OLmoveEl(e){\r
-var e=(e||event);\r
-OLx=(e.pageX||e.clientX+OLfd().scrollLeft);OLy=(e.pageY||e.clientY+OLfd().scrollTop);\r
-if(o3_dragging){if(OLns4){over.moveBy(OLx-OLcX,OLy-OLcY);\r
-if(OLshadowPI&&bkdrop&&o3_shadow)bkdrop.moveBy(OLx-OLcX,OLy-OLcY);}\r
-else{OLrepositionTo(over,OLx-OLcX,OLy-OLcY);\r
-if((OLiframePI)&&OLie55&&OLifsP1)OLrepositionTo(OLifsP1,OLx-OLcX,OLy-OLcY);\r
-if((OLshadowPI)&&bkdrop&&o3_shadow){OLrepositionTo(bkdrop,OLx-OLcbX,OLy-OLcbY);\r
-if((OLiframePI)&&OLie55&&OLifsSh)OLrepositionTo(OLifsSh,OLx-OLcbX,OLy-OLcbY);}}\r
-if(OLhidePI)OLhideUtil(0,1,1,0,0,0);}if(OLns4){OLcX=OLx;OLcY=OLy;}\r
-return false;\r
-}\r
-\r
-function OLclearDrag(){\r
-if(OLns4){document.releaseEvents(Event.MOUSEDOWN|Event.MOUSEUP|Event.CLICK);\r
-document.onmousedown=document.onclick=null;}else{over.onmousedown=null;OLsetDrgCur(0);}\r
-document.onmouseup=null;o3_dragging=0;\r
-}\r
-\r
-OLregRunTimeFunc(OLloadDraggable);\r
-OLregCmdLineFunc(OLparseDraggable);\r
-\r
-OLdraggablePI=1;\r
-OLloaded=1;\r
diff --git a/httemplate/elements/overlibmws_iframe.js b/httemplate/elements/overlibmws_iframe.js
deleted file mode 100644 (file)
index e3032f2..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-/*\r
- overlibmws_iframe.js plug-in module - Copyright Foteos Macrides 2003-2005\r
-   Masks system controls to prevent obscuring of popops for IE v5.5 or higher.\r
-   Initial: October 19, 2003 - Last Revised: May 15, 2005\r
- See the Change History and Command Reference for overlibmws via:\r
-\r
-       http://www.macridesweb.com/oltest/\r
-\r
- Published under an open source license: http://www.macridesweb.com/oltest/license.html\r
-*/\r
-\r
-OLloaded=0;\r
-\r
-var OLifsP1=null,OLifsSh=null,OLifsP2=null;\r
-\r
-// IFRAME SHIM SUPPORT FUNCTIONS\r
-function OLinitIfs(){\r
-if(!OLie55)return;\r
-if((OLovertwoPI)&&over2&&over==over2){\r
-var o=o3_frame.document.all['overIframeOvertwo'];\r
-if(!o||OLifsP2!=o){OLifsP2=null;OLgetIfsP2Ref();}return;}\r
-o=o3_frame.document.all['overIframe'];\r
-if(!o||OLifsP1!=o){OLifsP1=null;OLgetIfsRef();}\r
-if((OLshadowPI)&&o3_shadow){o=o3_frame.document.all['overIframeShadow'];\r
-if(!o||OLifsSh!=o){OLifsSh=null;OLgetIfsShRef();}}\r
-}\r
-\r
-function OLsetIfsRef(o,i,z){\r
-o.id=i;o.src='javascript:false;';o.scrolling='no';var os=o.style;\r
-os.position='absolute';os.top=0;os.left=0;os.width=1;os.height=1;os.visibility='hidden';\r
-os.zIndex=over.style.zIndex-z;os.filter='Alpha(style=0,opacity=0)';\r
-}\r
-\r
-function OLgetIfsRef(){\r
-if(OLifsP1||!OLie55)return;\r
-OLifsP1=o3_frame.document.createElement('iframe');\r
-OLsetIfsRef(OLifsP1,'overIframe',2);\r
-o3_frame.document.body.appendChild(OLifsP1);\r
-}\r
-\r
-function OLgetIfsShRef(){\r
-if(OLifsSh||!OLie55)return;\r
-OLifsSh=o3_frame.document.createElement('iframe');\r
-OLsetIfsRef(OLifsSh,'overIframeShadow',3);\r
-o3_frame.document.body.appendChild(OLifsSh);\r
-}\r
-\r
-function OLgetIfsP2Ref(){\r
-if(OLifsP2||!OLie55)return;\r
-OLifsP2=o3_frame.document.createElement('iframe');\r
-OLsetIfsRef(OLifsP2,'overIframeOvertwo',1);\r
-o3_frame.document.body.appendChild(OLifsP2);\r
-}\r
-\r
-function OLsetDispIfs(o,w,h){\r
-var os=o.style;\r
-os.width=w+'px';os.height=h+'px';os.clip='rect(0px '+w+'px '+h+'px 0px)';\r
-o.filters.alpha.enabled=true;\r
-}\r
-\r
-function OLdispIfs(){\r
-if(!OLie55)return;\r
-var wd=over.offsetWidth,ht=over.offsetHeight;\r
-if(OLfilterPI&&o3_filter&&o3_filtershadow){wd+=5;ht+=5;}\r
-if((OLovertwoPI)&&over2&&over==over2){\r
-if(!OLifsP2)return;\r
-OLsetDispIfs(OLifsP2,wd,ht);return;}\r
-if(!OLifsP1)return;\r
-OLsetDispIfs(OLifsP1,wd,ht);\r
-if((!OLshadowPI)||!o3_shadow||!OLifsSh)return;\r
-OLsetDispIfs(OLifsSh,wd,ht);\r
-}\r
-\r
-function OLshowIfs(){\r
-if(OLifsP1){OLifsP1.style.visibility="visible";\r
-if((OLshadowPI)&&o3_shadow&&OLifsSh)OLifsSh.style.visibility="visible";}\r
-}\r
-\r
-function OLhideIfs(o){\r
-if(!OLie55||o!=over)return;\r
-if(OLifsP1)OLifsP1.style.visibility="hidden";\r
-if((OLshadowPI)&&o3_shadow&&OLifsSh)OLifsSh.style.visibility="hidden";\r
-}\r
-\r
-function OLrepositionIfs(X,Y){\r
-if(OLie55){if((OLovertwoPI)&&over2&&over==over2){\r
-if(OLifsP2)OLrepositionTo(OLifsP2,X,Y);}\r
-else{if(OLifsP1){OLrepositionTo(OLifsP1,X,Y);if((OLshadowPI)&&o3_shadow&&OLifsSh)\r
-OLrepositionTo(OLifsSh,X+o3_shadowx,Y+o3_shadowy);}}}\r
-}\r
-\r
-OLiframePI=1;\r
-OLloaded=1;\r
diff --git a/httemplate/elements/pager.html b/httemplate/elements/pager.html
deleted file mode 100644 (file)
index 0510d32..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-
-  my %opt = @_;
-
-  my $pager = '';
-  if ( $opt{'total'} != $opt{'num_rows'} && $opt{'maxrecords'} ) {
-    unless ( $opt{'offset'} == 0 ) {
-      $cgi->param('offset', $opt{'offset'} - $opt{'maxrecords'});
-%>
-
-      <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Previous</FONT></B></A>
-
-<%
-    }
-    my $page = 0;
-    for ( my $poff = 0; $poff < $opt{'total'}; $poff += $opt{'maxrecords'} ) {
-      $page++;
-      if ( $opt{'offset'} == $poff ) {
-%>
-
-        <FONT SIZE="+2"><%= $page %></FONT>
-
-<%
-      } else {
-        $cgi->param('offset', $poff);
-%>
-
-        <A HREF="<%= $cgi->self_url %>"><%= $page %></A>
-
-<%
-      }
-    }
-    unless ( $opt{'offset'} + $opt{'maxrecords'} > $opt{'total'} ) {
-      $cgi->param('offset', $opt{'offset'} + $opt{'maxrecords'});
-%>
-
-      <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Next</FONT></B></A>
-
-<%
-    }
-  }
-%>
diff --git a/httemplate/elements/progress-init.html b/httemplate/elements/progress-init.html
deleted file mode 100644 (file)
index 7844f56..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<%
-  my( $formname, $fields, $action, $url_or_message, $key ) = @_;
-  $key = '' unless defined $key;
-
-  my $url_or_message_link;
-  if ( ref($url_or_message) ) { #its a message or something
-    $url_or_message_link =
-      'message='. uri_escape( $url_or_message->{'message'} )
-  } else {
-    $url_or_message_link = "url=$url_or_message";
-  }
-%>
-
-<%= include('/elements/xmlhttp.html',
-              'method' => 'POST',
-              'url'    => $action,
-              'subs'   => [ 'start_job' ],
-           )
-%>
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_iframe.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript">
-function OLiframeContent(src, width, height, name) {
-  return ('<iframe src="'+src+'" width="'+width+'" height="'+height+'"'
-   +(name?' name="'+name+'" id="'+name+'"':'')+' scrolling="auto">'
-   +'<div>[iframe not supported]</div></iframe>');
-}
-
-function <%=$key%>process () {
-
-  //alert('<%=$key%>process for form <%=$formname%>');
-
-  document.<%=$formname%>.submit.disabled=true;
-
-  overlib( 'Submitting job to server...', WIDTH, 432, HEIGHT, 136, CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
-
-  var Hash = new Array();
-  var x = 0;
-  var fieldName;
-  for (var i = 0; i<document.<%=$formname%>.elements.length; i++) {
-    field  = document.<%=$formname%>.elements[i];
-    if ( <%= join(' || ', map { "(field.name.indexOf('$_') > -1)" } @$fields ) %>
-       )
-    {
-        if ( field.type == 'select-multiple' ) {
-          //alert('select-multiple ' + field.name);
-          for (var j=0; j < field.options.length; j++) {
-            if ( field.options[j].selected ) {
-              //alert(field.name + ' => ' + field.options[j].value);
-              Hash[x++] = field.name;
-              Hash[x++] = field.options[j].value;
-            }
-          }
-        } else if (    ( field.type != 'radio'  && field.type != 'checkbox' )
-                    || ( ( field.type == 'radio' || field.type == 'checkbox' )
-                         && document.<%=$formname%>.elements[i].checked
-                       )
-                  )
-        {
-          Hash[x++] = field.name;
-          Hash[x++] = field.value;
-        }
-    }
-  }
-
-  // jsrsPOST = true;
-  // jsrsExecute( '<%= $action %>', <%=$key%>myCallback, 'start_job', Hash );
-
-  //alert('start_job( ' + Hash + ', <%=$key%>myCallback )' );
-  //alert('start_job()' );
-  start_job( Hash, <%=$key%>myCallback );
-
-}
-
-function <%=$key%>myCallback( jobnum ) {
-
-  overlib( OLiframeContent('<%=$p%>elements/progress-popup.html?jobnum=' + jobnum + ';<%=$url_or_message_link%>;formname=<%=$formname%>' , 432, 136, 'progress_popup'), CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
-
-}
-
-</SCRIPT>
diff --git a/httemplate/elements/progress-popup.html b/httemplate/elements/progress-popup.html
deleted file mode 100644 (file)
index 200f97d..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<%
-  my $jobnum = $cgi->param('jobnum');
-  my $url = $cgi->param('url');
-  my $message = $cgi->param('message');
-  my $formname = scalar($cgi->param('formname'));
-%>
-<HTML>
-  <HEAD>
-    <TITLE></TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#ccccff" onLoad="refreshStatus()">
-
-<%= include('/elements/xmlhttp.html',
-              'url'  => $p.'elements/jsrsServer.html',
-              'subs' => [ 'job_status' ],
-           )
-%>
-<SCRIPT TYPE="text/javascript" src="../elements/qlib/control.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" src="../elements/qlib/imagelist.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" src="../elements/qlib/progress.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript">
-function refreshStatus () {
-  //jsrsExecute( '<%=$p%>elements/jsrsServer.html', updateStatus, 'job_status', '<%= $jobnum %>' );
-
-  job_status( '<%= $jobnum %>', updateStatus );
-}
-function updateStatus( status_statustext ) {
-
-  //var Array = status_statustext.split("\n");
-  var statusArray = eval('(' + status_statustext + ')');
-  var status = statusArray[0];
-  var statustext = statusArray[1];
-
-  //if ( status == 'progress' ) {
-  //IE workaround, no i have no idea why
-  if ( status.indexOf('progress') > -1 ) {
-    document.getElementById("progress_percent").innerHTML = statustext + '%';
-    bar1.set(statustext);
-    bar1.update;
-    //jsrsExecute( '<%=$p%>elements/jsrsServer.html', updateStatus, 'job_status', '<%= $jobnum %>' );
-    job_status( '<%= $jobnum %>', updateStatus );
-  } else if ( status.indexOf('complete') > -1 ) {
-<% if ( $message ) { %>
-    document.getElementById("progress_message").innerHTML = "<%= $message %>";
-    document.getElementById("progress_bar").innerHTML = '';
-    document.getElementById("progress_percent").innerHTML = '<INPUT TYPE="button" VALUE="OK" onClick="parent.nd(1);">';
-    document.getElementById("progress_jobnum").innerHTML = '';
-    parent.document.<%=$formname%>.submit.disabled=false;
-<% } elsif ( $url ) { %>
-    window.top.location.href = '<%= $url %>';
-<% } else { %>
-    alert('job done but no url or message specified');
-<% } %>
-  } else if ( status.indexOf('error') > -1 ) {
-    document.getElementById("progress_message").innerHTML = '<FONT SIZE="+1" COLOR="#FF0000">Error: ' + statustext + '</FONT>';
-    document.getElementById("progress_bar").innerHTML = '';
-    document.getElementById("progress_percent").innerHTML = '<INPUT TYPE="button" VALUE="OK" onClick="parent.nd(1);">';
-    document.getElementById("progress_jobnum").innerHTML = '';
-    parent.document.<%=$formname%>.submit.disabled=false;
-  } else {
-    alert('XXX unknown status returned from server: ' + status);
-  }
-  
-}
-</SCRIPT>
-
-    <TABLE>
-      <TR>
-        <TD ALIGN="center" ID="progress_message">
-          Server processing job...
-        </TD>
-      </TR><TR>
-        <TD ALIGN="center" ID="progress_bar">
-          <SCRIPT TYPE="text/javascript">
-            // Create imagelist
-            SEGS = new QImageList(4, 23, "../images/progressbar-empty.png", "../images/progressbar-full.png");
-            // Create bars
-            bar1 = new QProgress(null, "bar1", SEGS, 100);
-            // bar1.set(0);
-            // bar1.update;
-          </SCRIPT>
-        </TD>
-      </TR><TR>
-        <TD ALIGN="center">
-          <DIV ID="progress_percent">%</DIV>
-        </TD>
-      </TR><TR>
-        <TD ALIGN="center" ID="progress_jobnum">
-          (progress of job #<%= $jobnum %>)
-        </TD>
-      </TR>
-    </TABLE>
-
-  </BODY>
-</HTML>
-
diff --git a/httemplate/elements/qlib/box.js b/httemplate/elements/qlib/box.js
deleted file mode 100644 (file)
index 537aac4..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/**\r
- * QLIB 1.0 Box Control\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QBox(parent, name, res, x, y, width, height, body, visible, effects, opacity, zindex) {\r
-    this.init(parent, name);\r
-    if (this.res = res) {\r
-        this.x = x - 0;\r
-        this.y = y - 0;\r
-        this.width = width - 0;\r
-        this.height = (typeof(height) == "number") ? height : null;\r
-        this.body = body || "&nbsp;";\r
-        var j = QBox.arguments.length;\r
-        this.visible = (j > 8) ? visible : true;\r
-        this.effects = (j > 9) ? effects : (res.effects || 0);\r
-        this.opacity = (j > 10) ? opacity : (res.opacity != null ? res.opacity : 100);\r
-        this.zindex  = (j > 11) ? zindex : null;\r
-        this.create();\r
-    } else {\r
-        this.document.write("invalid resource");\r
-    }\r
-}\r
-QBox.prototype = new QBoxCtrl();\r
diff --git a/httemplate/elements/qlib/boxctrl.js b/httemplate/elements/qlib/boxctrl.js
deleted file mode 100644 (file)
index 417b204..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/**\r
- * QLIB 1.0 Box Abstraction\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QBoxCtrl_content() {\r
-    with (this) {\r
-        if (res) {\r
-            this.cwidth = width - res.L - res.R - 8;\r
-            this.cheight = height && (height - res.T - res.B - 8);\r
-            var ec = '"><table border="0" cellspacing="0" cellpadding="0"><tr><td></td></tr></table></td>';\r
-            document.write('<table class="qbox" border="0" cellspacing="0" cellpadding="0" width="' +\r
-                (width - 8) + (height != null ? '" height="' + (height - 8) : '') + '"><tr><td width="' +\r
-                res.L + '" height="' + res.T + '"><img src="' + res.TL.src + '" border="0" width="' +\r
-                res.L + '" height="' + res.T + '"></td><td width="' + cwidth + '" height="' + res.T +\r
-                '" background="' + res.TC.src + ec + '<td width="' + res.R + '" height="' + res.T +\r
-                '"><img src="' + res.TR.src + '" border="0" width="' + res.R + '" height="' + res.T +\r
-                '"></td></tr><tr><td width="' + res.L + (cheight != null ? '" height="' + cheight : '') +\r
-                '" background="' + res.ML.src + ec + '<td width="' + cwidth + '" bgcolor="' + res.bgcolor +\r
-                (cheight != null ? '" height="' + cheight : '') + (res.bgtile ? '" background="' +\r
-                res.bgtile.src : '') + '" align="left" valign="top" class="body" unselectable="on">');\r
-                if (typeof(body) == "function") {\r
-                    this.body();\r
-                } else {\r
-                    document.write(body);\r
-                }\r
-            document.write('</td><td width="' + res.R + (cheight != null ? '" height="' + cheight : '') +\r
-                '" background="' + res.MR.src + ec + '</tr><tr><td width="' + res.L + '" height="' + res.B +\r
-                '"><img src="' + res.BL.src + '" border="0" width="' + res.L + '" height="' + res.B +\r
-                '"></td><td width="' + cwidth + '" height="' + res.B + '" background="' + res.BC.src + ec +\r
-                '<td width="' + res.R + '" height="' + res.B + '"><img src="' + res.BR.src +\r
-                '" border="0" width="' + res.R + '" height="' + res.B + '"></td></tr></table><br>');\r
-        }\r
-    }\r
-}\r
-\r
-function QBoxCtrl() {\r
-    this.res = false;\r
-    this.body = "&nbsp;";\r
-    this.cwidth = this.cheight = 0;\r
-    this.content = QBoxCtrl_content;\r
-}\r
-QBoxCtrl.prototype = new QWndCtrl();\r
diff --git a/httemplate/elements/qlib/boxres.js b/httemplate/elements/qlib/boxres.js
deleted file mode 100644 (file)
index 0878172..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/**\r
- * QLIB 1.0 Box Resource\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QBoxRes(t, r, b, l, tc, tr, mr, br, bc, bl, ml, tl, bgcolor, bgtile, effects, opacity) { \r
-    var args = QBoxRes.arguments.length;\r
-    this.T = t;\r
-    this.R = r;\r
-    this.B = b;\r
-    this.L = l;\r
-    this.TC = new Image();\r
-    this.TC.src = tc;\r
-    this.TR = new Image(r, t);\r
-    this.TR.src = tr;\r
-    this.MR = new Image();\r
-    this.MR.src = mr;\r
-    this.BR = new Image(r, b);\r
-    this.BR.src = br;\r
-    this.BC = new Image();\r
-    this.BC.src = bc;\r
-    this.BL = new Image(l, b);\r
-    this.BL.src = bl;\r
-    this.ML = new Image();\r
-    this.ML.src = ml;\r
-    this.TL = new Image(l, t);\r
-    this.TL.src = tl;\r
-    this.bgcolor = bgcolor || "#FFFFFF";\r
-    if (bgtile) {\r
-        this.bgtile = new Image();\r
-        this.bgtile.src = bgtile;\r
-    } else {\r
-        this.bgtile = false;\r
-    }\r
-    this.effects = (args > 13) ? effects : null;\r
-    this.opacity = (args > 14) ? opacity : null;\r
-}\r
diff --git a/httemplate/elements/qlib/button.js b/httemplate/elements/qlib/button.js
deleted file mode 100644 (file)
index 05247d5..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/**\r
- * QLIB 1.0 Button Control\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QButton_update() {\r
-    with (this) {\r
-        image.src = ((!enabled && res.imgD) || (value ? res.imgP : res.imgN)).src;\r
-    }\r
-}\r
-\r
-function QButton_doEvent() {\r
-    with (this) {\r
-        if (enabled) {\r
-            if (res.style == 1) {\r
-                this.value = value ? 0 : 1;\r
-                update();\r
-            }\r
-            onClick(value, tag);\r
-        }\r
-    }\r
-    return false;\r
-}\r
-\r
-function QButton_enable(state) {\r
-    this.enabled = state;\r
-    this.update();\r
-}\r
-\r
-function QButton_set(value) {\r
-    if (this.enabled) {\r
-        this.value = value ? 1 : 0;\r
-        this.update();\r
-    }\r
-    return true;\r
-}\r
-\r
-function QButton(parent, name, res, tooltip) {\r
-    this.init(parent, name);\r
-    if (res) {\r
-        this.res = res;\r
-        this.tip = tooltip || "";\r
-        this.enabled = true;\r
-        this.value = 0;\r
-        this.set = QButton_set;\r
-        this.enable = QButton_enable;\r
-        this.update = QButton_update;\r
-        this.doEvent = QButton_doEvent;\r
-        this.onClick = QControl.event;\r
-        with (this) {\r
-            document.write('<a href="#" hidefocus="true" unselectable="on"' +\r
-                (tip ? ' title="' + tip + '"' : '') + ' onClick="return ' + name +\r
-                '.doEvent()" onMouseOver="' + (res.style == 2 ? name + '.set(1);' : '') +\r
-                'window.top.status=' + name + '.tip;return true" onMouseOut="' +\r
-                (!res.style || (res.style == 2) ? name + '.set();' : '') + 'window.top.status=\'\'"' +\r
-                (!res.style ? ' onMouseDown="return ' + name + '.set(1)" onMouseUp="return ' + name + '.set()"' : '') +\r
-                '><img class="qbutton" name="' + id + '" src="' + res.imgN.src + '" border="0" width="' +\r
-                res.width + '" height="' + res.height + '"></a>');\r
-            this.image = document.images[id] || new Image(1, 1);\r
-        }\r
-    } else {\r
-        this.document.write("invalid resource");\r
-    }\r
-}\r
-QButton.prototype = new QControl();\r
-QButton.NORMAL    = 0;\r
-QButton.CHECKBOX  = 1;\r
-QButton.WEB       = 2;\r
-QButton.SIGNAL    = 3;\r
diff --git a/httemplate/elements/qlib/buttonres.js b/httemplate/elements/qlib/buttonres.js
deleted file mode 100644 (file)
index 97f6dfc..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/**\r
- * QLIB 1.0 Button Resource\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QButtonRes(style, width, height, normal, pressed, disabled) {\r
-    this.style = style;\r
-    this.width = width;\r
-    this.height = height;\r
-    this.imgN = new Image(width, height);\r
-    this.imgN.src = normal;\r
-    this.imgP = new Image(width, height);\r
-    this.imgP.src = pressed;\r
-    if (disabled) {\r
-        this.imgD = new Image(width, height);\r
-        this.imgD.src = disabled;\r
-    }\r
-}\r
diff --git a/httemplate/elements/qlib/control.js b/httemplate/elements/qlib/control.js
deleted file mode 100644 (file)
index f50206e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/**\r
- * QLIB 1.0 Base Abstract Control\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QControl_init(parent, name) {\r
-    this.parent = parent || self;\r
-    this.window = (parent && parent.window) || self;\r
-    this.document = (parent && parent.document) || self.document;\r
-    this.name = (parent && parent.name) ? (parent.name + "." + name) : ("self." + name);\r
-    this.id = "Q";\r
-    var h = this.hash(this.name);\r
-    for (var j=0; j<8; j++) {\r
-        this.id += QControl.HEXTABLE.charAt(h & 15);\r
-        h >>>= 4;\r
-    }\r
-}\r
-\r
-function QControl_hash(str) {\r
-    var h = 0;\r
-    if (str) {\r
-        for (var j=str.length-1; j>=0; j--) {\r
-            h ^= QControl.ANTABLE.indexOf(str.charAt(j)) + 1;\r
-            for (var i=0; i<3; i++) {\r
-                var m = (h = h<<7 | h>>>25) & 150994944;\r
-                h ^= m ? (m == 150994944 ? 1 : 0) : 1;\r
-            }\r
-        }\r
-    }\r
-    return h;\r
-}\r
-\r
-function QControl_nop() {\r
-}\r
-\r
-function QControl() {\r
-    this.init = QControl_init;\r
-    this.hash = QControl_hash;\r
-    this.window = self;\r
-    this.document = self.document;\r
-    this.tag = null;\r
-}\r
-QControl.ANTABLE  = "w5Q2KkFts3deLIPg8Nynu_JAUBZ9YxmH1XW47oDpa6lcjMRfi0CrhbGSOTvqzEV";\r
-QControl.HEXTABLE = "0123456789ABCDEF";\r
-QControl.nop = QControl_nop;\r
-QControl.event = QControl_nop;\r
diff --git a/httemplate/elements/qlib/counter.js b/httemplate/elements/qlib/counter.js
deleted file mode 100644 (file)
index 72aeddb..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-/**\r
- * QLIB 1.0 Animated Digital Counter\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QCounter_update() {\r
-    with (this) {\r
-        var v = Math.max(value, 0);\r
-        var mod;\r
-        for (var j=0; j<size; j++) {\r
-            mod = Math.floor(v % 10);\r
-            images[j].src = (v >= 1) || (!j) ? res.list[mod].src : res.list[10].src;\r
-            v /= 10;\r
-        }\r
-    }\r
-}\r
-\r
-function QCounter_count(value, step) {\r
-    this._cntt = false;\r
-    this.value += step; \r
-    if ((step * (this.value - value)) >= 0) {\r
-        this.value = value - 0;  // convert to number\r
-    } else {\r
-        this._cntt = setTimeout(this.name + ".count(" + value + "," + step + ")", 50);\r
-    }\r
-    this.update();\r
-}\r
-         \r
-function QCounter_set(value) {\r
-    this.setval = value;\r
-    if (value != this.value) {\r
-        if (this._cntt) {\r
-            clearTimeout(this._cntt);\r
-            this._cntt = false;\r
-        }\r
-        var dv = value - this.value;\r
-        if (this.effect == 2) {\r
-            dv = dv / Math.min(10, Math.abs(dv));\r
-        } else if (this.effect == 3) {\r
-            dv = dv / Math.abs(dv);\r
-        }\r
-        this.count(value, dv);\r
-    }\r
-}\r
-\r
-function QCounter(parent, name, res, size, effect) {\r
-    this.init(parent, name);\r
-    if (res) {\r
-        this.res = res;\r
-        this.setval = this.value = 0;\r
-        this.size = size || 4;\r
-        this.effect = effect || 2;\r
-        this._cntt = false;\r
-        this.images = new Array(this.size);\r
-        this.set = QCounter_set;\r
-        this.update = QCounter_update;\r
-        this.count = QCounter_count;\r
-        with (this) {\r
-            document.write('<table class="qcounter" width="' + (res.width * size) + '" height="' + res.height +\r
-                '" border="0" cellspacing="0" cellpadding="0" unselectable="on"><tr>');\r
-            for (var j=(size - 1); j>=0; j--) {\r
-                document.write('<td width="' + res.width + '" height="' + res.height +\r
-                    '" unselectable="on"><img name="' + id + j + '" src="' + (j ? res.list[10].src : res.list[0].src) +\r
-                    '" border="0" width="' + res.width + '" height="' + res.height + '"></td>');\r
-                images[j] = document.images[id + j] || new Image(1, 1);\r
-            }\r
-            document.write('</tr></table>');\r
-        }\r
-    } else {\r
-        this.document.write("invalid resource");\r
-    }\r
-}\r
-QCounter.prototype = new QControl();\r
-QCounter.INSTANT   = 1;\r
-QCounter.FAST      = 2;\r
-QCounter.SLOW      = 3;\r
diff --git a/httemplate/elements/qlib/imagelist.js b/httemplate/elements/qlib/imagelist.js
deleted file mode 100644 (file)
index 9f12de0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/**\r
- * QLIB 1.0 ImageList Resource\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QImageList(width, height) {\r
-    var len = QImageList.arguments.length - 2;\r
-    if (len > 0) {\r
-        this.list = new Array(len);\r
-        this.length = len;\r
-        this.width = width;\r
-        this.height = height;\r
-        var im;\r
-        for (var j=0; j<len; j++) {\r
-            im = new Image(width, height);\r
-            im.src = QImageList.arguments[j + 2];\r
-            this.list[j] = im;\r
-        }\r
-    }\r
-}
\ No newline at end of file
diff --git a/httemplate/elements/qlib/label.js b/httemplate/elements/qlib/label.js
deleted file mode 100644 (file)
index 2d8b1e7..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/**\r
- * QLIB 1.0 Text Label\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QLabel_set_ie(value) {\r
-    this.label.innerText = (this.value = value) || "\xA0";\r
-}\r
-\r
-function QLabel_set_dom2(value) {\r
-    with (this.label) {\r
-        replaceChild(this.document.createTextNode((this.value = value) || "\xA0"), firstChild);\r
-    }\r
-}\r
-\r
-function QLabel_set_ns4(value) {\r
-    this.value = value || "";\r
-    with (this) {\r
-        document.open();\r
-        document.write('<div class="qlabel">' + (clickable ? '<a href="#" title="' + tooltip + '" onClick="return ' +\r
-            name + '.doEvent()" onMouseOut="window.top.status=\'\'" onMouseOver="window.top.status=' + name +\r
-            '.tooltip;return true">' + value + '</a>' : value) + '</div>');\r
-        document.close();\r
-    }\r
-}\r
-\r
-function QLabel_doEvent() {\r
-    this.onClick(this.value, this.tag);\r
-    return false;\r
-}\r
-\r
-function QLabel(parent, name, value, clickable, tooltip) {\r
-    this.init(parent, name);\r
-    this.value = value || "";\r
-    this.clickable = clickable || false;\r
-    this.tooltip = tooltip || "";\r
-    this.doEvent = QLabel_doEvent;\r
-    this.onClick = QControl.event;\r
-    with (this) {\r
-        if (document.getElementById || document.all) {\r
-            document.write(clickable ? '<div class="qlabel" unselectable="on"><a id="' + id + '" href="#" title="' +\r
-                tooltip + '" onClick="return ' + name + '.doEvent()" onMouseOver="window.top.status=' + name +\r
-                '.tooltip;return true" onMouseOut="window.top.status=\'\'" hidefocus="true" unselectable="on">' +\r
-                (value || '&nbsp;') + '</a></div>' : '<div id="' + id + '" class="qlabel" unselectable="on">' +\r
-                (value || '&nbsp;') + '</div>');\r
-            this.label = document.getElementById ? document.getElementById(id) :\r
-                (document.all.item ? document.all.item(id) : document.all[id]);\r
-            this.set = (label && (label.innerText ? QLabel_set_ie :\r
-                (label.replaceChild && QLabel_set_dom2))) || QControl.nop;\r
-        } else if (document.layers) {\r
-            var suffix = "";\r
-            for (var j=value.length; j<QLabel.TEXTQUOTA; j++) suffix += " &nbsp;";\r
-            document.write('<div><ilayer id="i' + id + '"><layer id="' + id + '"><div class="qlabel">' +\r
-                (clickable ? '<a href="#" title="' + tooltip + '" onClick="return ' + name +\r
-                '.doEvent()" onMouseOver="window.top.status=' + name +\r
-                '.tooltip;return true" onMouseOut="window.top.status=\'\'">' + value + suffix + '</a>' :\r
-                value + suffix) + '</div></layer></ilayer></div>');\r
-            this.label = (this.label = document.layers["i" + id]) && label.document.layers[id];\r
-            this.document = label && label.document;\r
-            this.set = (label && document) ? QLabel_set_ns4 : QControl.nop;\r
-        } else {\r
-            document.write("Object is not supported");\r
-        }\r
-    }\r
-}\r
-QLabel.prototype = new QControl();\r
-QLabel.TEXTQUOTA = 50;\r
diff --git a/httemplate/elements/qlib/messagebox.js b/httemplate/elements/qlib/messagebox.js
deleted file mode 100644 (file)
index 2e45839..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/**\r
- * QLIB 1.0 Message Box Control\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QMessageBox_alert(msg) {\r
-    if (typeof(msg) == "string") {\r
-        this.label.set(this.value = msg);\r
-    }\r
-    this.center();\r
-    this.focus();\r
-    this.show(true);\r
-}\r
-\r
-function QMessageBox_close() {\r
-    with (this.parent) {\r
-        if (!onClose(tag)) show(false);\r
-    }\r
-}\r
-\r
-function QMessageBox_body() {\r
-    with (this) {\r
-        document.write('<table border="0" width="' + cwidth + '"><tr><td align="left" valign="top" unselectable="on">');\r
-        this.label = new QLabel(this, "label", value);\r
-        document.write('</td></tr><tr><td height="' + (bres.height + 14) + '" align="center" valign="bottom" unselectable="on">');\r
-        this.button = new QButton(this, "button", bres, "Close");\r
-        document.write('</td></tr></table>');\r
-        button.onClick = QMessageBox_close;\r
-    }\r
-}\r
-\r
-function QMessageBox(parent, name, box, btn, msg, effects, opacity) {\r
-    this.init(parent, name);\r
-    if ((this.res = box) && (this.bres = btn)) {\r
-        this.value = typeof(msg) == "string" ? msg : "";\r
-        this.width = Math.max(200, Math.floor(Math.sqrt(555 * this.value.length)));\r
-        this.height = null;\r
-        this.x = this.y = 0;\r
-        this.visible = false;\r
-        this.zindex = null;\r
-        this.body = QMessageBox_body;\r
-        var j = QMessageBox.arguments.length;\r
-        this.effects = j > 5 ? effects : (box.effects != null ? box.effects : 0);\r
-        this.opacity = j > 6 ? opacity : (box.opacity != null ? box.opacity : 100);\r
-        this.create();\r
-        this.alert = QMessageBox_alert;\r
-        this.onClose = QControl.event;\r
-    } else {\r
-        this.document.write("invalid resource");\r
-    }\r
-}\r
-QMessageBox.prototype = new QBoxCtrl();\r
diff --git a/httemplate/elements/qlib/progress.js b/httemplate/elements/qlib/progress.js
deleted file mode 100644 (file)
index 2de077e..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-/**\r
- * QLIB 1.0 Progress Control\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QProgress_update() {\r
-    with (this) {\r
-        var i = low;\r
-        for (var j=0; j<size; j++) {\r
-            images[j].src = i < value ? imgsrc1 : imgsrc0;\r
-            i += delta;\r
-        }\r
-    }\r
-}\r
-\r
-function QProgress_set(value) {\r
-    this.value = value - 0;\r
-    this.update();\r
-}\r
-\r
-function QProgress_setBounds(low, high) {\r
-    this.low = Math.min(low, high);\r
-    this.high = Math.max(low, high);\r
-    this.delta = (this.high - this.low) / this.size;\r
-    this.update();\r
-}\r
\r
-function QProgress(parent, name, res, size, style) {\r
-    this.init(parent, name);\r
-    if (res) {\r
-        this.res = res;\r
-        this.value = 0;\r
-        this.low = 0;\r
-        this.high = 100;\r
-        this.size = size || 10;\r
-        this.delta = 100 / this.size;\r
-        this.style = style || 0;\r
-        this.images = new Array(this.size);\r
-        this.imgsrc0 = res.list[0] && res.list[0].src;\r
-        this.imgsrc1 = res.list[1] && res.list[1].src;\r
-        this.set = QProgress_set;\r
-        this.update = QProgress_update;\r
-        this.setBounds = QProgress_setBounds;\r
-        with (this) {\r
-            var hor = this.style < 2;\r
-            var rev = this.style % 2;\r
-            document.write('<table class="qprogress" border="0"  cellspacing="0" cellpadding="0" unselectable="on" ' +\r
-                (hor ? 'width="' + (size * res.width) + '" height="' + res.height + '"><tr>' : 'width="' + res.width +\r
-                '" height="' + (size * res.height) + '">'));\r
-            for (var j=0; j<size; j++) {\r
-                document.write((hor ? '' : '<tr>') + '<td width="' + res.width + '" height="' + res.height +\r
-                    '" unselectable="on"><img name="' + id + (rev ? size - j - 1 : j) + '" src="' + res.list[0].src +\r
-                    '" border="0" width="' + res.width + '" height="' + res.height + '"></td>' + (hor ? '' : '</tr>'));\r
-            }\r
-            document.write((hor ? '</tr>' : '') + '</table>');\r
-            for (var j=0; j<size; j++) {\r
-                images[j] = document.images[id + j] || new Image(1, 1);\r
-            }\r
-        }\r
-    } else {\r
-        this.document.write("invalid resource");\r
-    }\r
-}\r
-QProgress.prototype = new QControl();\r
-QProgress.NORMAL    = 0;\r
-QProgress.REVERSE   = 1;\r
-QProgress.FALL      = 2;\r
-QProgress.RISE      = 3;\r
diff --git a/httemplate/elements/qlib/sound.js b/httemplate/elements/qlib/sound.js
deleted file mode 100644 (file)
index 3d1aaf6..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/**\r
- * QLIB 1.0 Preloaded Sound\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QSound_play(loop) {\r
-    this._out.loop = loop || 0;\r
-    this._out.src = this._buf.src;\r
-}\r
-\r
-function QSound_stop() {\r
-    this._out.loop = 0;\r
-    this._out.src = "";\r
-}\r
-\r
-function QSound_setVolume(volume) {\r
-    this._out.volume = this.volume = volume;\r
-}\r
\r
-function QSound(parent, name, src, volume) {\r
-    this.init(parent, name);\r
-    this.volume = volume || 0;\r
-    this.play = this.stop = this.setVolume = QControl.nop;\r
-    with (this) {\r
-        document.write('<bgsound id="' + id + '" src="" volume="' + volume + '">');\r
-        if (document.all && document.all.item) {\r
-            this._out = document.all.item(id);\r
-            if (_out && (typeof _out.src != "undefined") && (_out.volume === volume)) {\r
-                document.write('<bgsound id="b' + id + '" src="' + src + '" volume="-10000">');\r
-                this._buf = document.all.item("b" + id);\r
-                if (_buf) {\r
-                    this.play = QSound_play;\r
-                    this.stop = QSound_stop;\r
-                    this.setVolume = QSound_setVolume;\r
-\r
-                    _out.onreadystatechange = new Function("alert(0)");\r
-                }\r
-            }\r
-        }\r
-    }\r
-}\r
-QSound.prototype = new QControl();\r
diff --git a/httemplate/elements/qlib/sprite.js b/httemplate/elements/qlib/sprite.js
deleted file mode 100644 (file)
index 72a68fb..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-/**\r
- * QLIB 1.0 Sprite Object\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QSprite_load(src) {\r
-    if (src) {\r
-        this.face = new Image(this.cwidth, this.cheight);\r
-        this.face.src = src;\r
-        this.valid = false;\r
-    }\r
-}\r
\r
-function QSprite_show(show) {\r
-    if (show && !this.valid && this.face.complete) {\r
-        this._img.src = this.face.src;\r
-        this.valid = true;\r
-    }\r
-    this._show(show);\r
-}\r
-\r
-function QSprite_moveTo(x, y) {\r
-    this.stop();\r
-    this._move(x, y);\r
-}\r
-\r
-function QSprite_slideTo(x, y) {\r
-    this.stop();\r
-    if (this.visible) {\r
-        this.doSlide(++this._spro, x, y);\r
-    } else {\r
-        this.moveTo(x, y);\r
-    }\r
-}\r
-\r
-function QSprite_shake() {\r
-    this.stop();\r
-    if (this.visible) {\r
-        this.doShake(++this._spro, 0, this.x, this.y);\r
-    }\r
-}\r
-\r
-function QSprite_stop() {\r
-    this._spro++;\r
-    if (this._sprt) {\r
-        clearTimeout(this._sprt);\r
-        this._sprt = false;\r
-    }\r
-}\r
-\r
-function QSprite_doSlide(id, x, y) {\r
-    if (this._spro == id) {\r
-        this._sprt = false;\r
-        var dx = Math.round(x - this.x);\r
-        var dy = Math.round(y - this.y);\r
-        if (dx || dy) {\r
-            if (dx) dx = dx > 0 ? Math.ceil(dx/4) : Math.floor(dx/4);\r
-            if (dy) dy = dy > 0 ? Math.ceil(dy/4) : Math.floor(dy/4);\r
-            this._move(this.x + dx, this.y + dy);\r
-            this._sprt = setTimeout(this.name + ".doSlide(" + id + "," + x + "," + y + ")", 30);\r
-        } else {\r
-            this._move(x, y);\r
-        }\r
-    }\r
-}\r
-\r
-function QSprite_doShake(id, phase, x, y) {\r
-    if (this._spro == id) {\r
-        this._sprt = false;\r
-        if (phase < 20) {\r
-            var m = 3 * Math.sin(.16 * phase);\r
-            this._move(x + m * Math.sin(phase), y + m * Math.cos(phase));\r
-            this._sprt = setTimeout(this.name + ".doShake(" + id + "," + (++phase) + "," + x + "," + y + ")", 20);\r
-        } else {\r
-            this._move(x, y);\r
-        }\r
-    }\r
-}\r
-\r
-function QSprite_doClick() {\r
-    if (!this._sprt) {\r
-        this.onClick(this.tag);\r
-    }\r
-    return false;\r
-}\r
-\r
-function QSprite(parent, name, x, y, width, height, src, visible, effects, opacity, zindex) {\r
-    this.init(parent, name);\r
-    this.x = x - 0;\r
-    this.y = y - 0;\r
-    this.width = (this.cwidth = width - 0) + 8;\r
-    this.height = (this.cheight = height - 0) + 8;\r
-    var j = QSprite.arguments.length;\r
-    this.visible = (j > 7) ? visible : true;\r
-    this.effects = (j > 8) ? effects : 0;\r
-    this.opacity = (j > 9) ? opacity : 100;\r
-    this.zindex  = (j > 10) ? zindex : null;\r
-    this.valid = !!src;\r
-    this.content = '<a href="#" title="" onclick="return false" onmousedown="return ' + this.name +\r
-        '.doClick()" onmouseover="window.top.status=\'\';return true" hidefocus="true" unselectable="on"><img name="' +\r
-        this.id + '" src="' + (src || '') + '" border="0" width="' + this.cwidth + '" height="' + this.cheight +\r
-        '" alt="" unselectable="on"></a>';\r
-    this.doClick = QSprite_doClick;\r
-    this.doSlide = QSprite_doSlide;\r
-    this.doShake = QSprite_doShake;\r
-    this.onClick = QControl.event;\r
-    this.create();\r
-    this.face = this._img = this.document.images[this.id] || new Image(1, 1);\r
-    this._spro = 0;\r
-    this._sprt = false;\r
-    this._show = this.show;\r
-    this._move = this.moveTo;\r
-    this.load = QSprite_load;\r
-    this.show = QSprite_show;\r
-    this.moveTo = QSprite_moveTo;\r
-    this.slideTo = QSprite_slideTo;\r
-    this.shake = QSprite_shake;\r
-    this.stop = QSprite_stop;\r
-}\r
-QSprite.prototype = new QWndCtrl();\r
diff --git a/httemplate/elements/qlib/window.js b/httemplate/elements/qlib/window.js
deleted file mode 100644 (file)
index 6056fda..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/**\r
- * QLIB 1.0 Window Control\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QWindow(parent, name, x, y, width, height, content, visible, effects, opacity, zindex) {\r
-    this.init(parent, name);\r
-    this.x = x - 0;\r
-    this.y = y - 0;\r
-    this.width = width - 0;\r
-    this.height = (typeof(height) == "number") ? height : null;\r
-    this.content = content;\r
-    var j = QWindow.arguments.length;\r
-    this.visible = (j > 7) ? visible : true;\r
-    this.effects = (j > 8) ? effects : 0;\r
-    this.opacity = (j > 9) ? opacity : 100;\r
-    this.zindex  = (j > 10) ? zindex : null;\r
-    this.create();\r
-}\r
-QWindow.prototype = new QWndCtrl();\r
diff --git a/httemplate/elements/qlib/wndctrl.js b/httemplate/elements/qlib/wndctrl.js
deleted file mode 100644 (file)
index b3bde4e..0000000
+++ /dev/null
@@ -1,322 +0,0 @@
-/**\r
- * QLIB 1.0 Window Abstraction\r
- * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
- * http://qlib.quazzle.com\r
- */\r
-\r
-function QWndCtrl_center_ie4() {\r
-    var b = this.document.body;\r
-    this.moveTo(b.scrollLeft + Math.max(0, Math.floor((b.clientWidth -\r
-        this.width) / 2)), b.scrollTop + 100);\r
-}\r
-\r
-function QWndCtrl_center_moz() {\r
-    this.moveTo(self.pageXOffset + Math.max(0, Math.floor((self.innerWidth -\r
-        this.width) / 2)), self.pageYOffset + 100);\r
-}\r
-\r
-function QWndCtrl_setEffects_ie4(fx) {\r
-    this.effects = fx;\r
-    with (this.wnd) {\r
-        filters[0].enabled = (fx & 256) != 0;\r
-        filters[1].enabled = (fx & 512) != 0;\r
-        filters[2].enabled = (fx & 1024) != 0;\r
-        filters[4].enabled = (fx & 2048) != 0;\r
-    }\r
-}\r
-\r
-function QWndCtrl_setEffects_moz(fx) {\r
-    this.effects = fx;\r
-}\r
-\r
-function QWndCtrl_setOpacity_ie4(op) {\r
-    this.opacity = Math.max(0, Math.min(100, Math.floor(op - 0)));\r
-    this.wnd.filters[3].opacity = this.opacity;\r
-    this.wnd.filters[3].enabled = (this.opacity < 100);\r
-}\r
-\r
-function QWndCtrl_setOpacity_moz(op) {\r
-    this.opacity = Math.max(0, Math.min(100, Math.floor(op - 0)));\r
-    this.wnd.style.MozOpacity = this.opacity + "%";\r
-}\r
-\r
-function QWndCtrl_setSize_css(w, h) {\r
-    this.wnd.style.width = (this.width = Math.floor(w - 0)) + "px";\r
-    this.wnd.style.height = typeof(h) == "number" ? (this.height = Math.floor(h)) + "px" : "auto";\r
-}\r
-\r
-function QWndCtrl_setSize_ns4(w, h) {\r
-    this.wnd.clip.width = this.width = Math.floor(w - 0);\r
-    if (typeof(h) == "number") {\r
-        this.wnd.clip.height = this.height = Math.floor(h);\r
-    }\r
-}\r
-\r
-function QWndCtrl_focus() {\r
-    this.setZIndex(QWndCtrl.TOPZINDEX++);\r
-}\r
-\r
-function QWndCtrl_setZIndex_css(z) {\r
-    this.wnd.style.zIndex = this.zindex = z || 0;\r
-}\r
-\r
-function QWndCtrl_setZIndex_ns4(z) {\r
-    this.wnd.zIndex = this.zindex = z || 0;\r
-}\r
-\r
-function QWndCtrl_moveTo_css(x, y) {\r
-    this.wnd.style.left = (this.x = Math.floor(x - 0)) + "px";\r
-    this.wnd.style.top = (this.y = Math.floor(y - 0)) + "px";\r
-}\r
-\r
-function QWndCtrl_moveTo_ns4(x, y) {\r
-    this.wnd.moveTo(this.x = Math.floor(x - 0), this.y = Math.floor(y - 0));\r
-}\r
-\r
-function QWndCtrl_fxhandler() {\r
-    this.fxhandler = QControl.nop;\r
-    this.onShow(this.visible, this.tag);\r
-}\r
-\r
-function QWndCtrl_show_ie4(show) {\r
-    if (this.visible != show) {\r
-        var fx = false;\r
-        switch (show ? this.effects & 15 : (this.effects & 240) >>> 4) {\r
-            case 1:\r
-                fx = this.wnd.filters[5];\r
-                break;\r
-            case 2:\r
-                (fx = this.wnd.filters[6]).transition = show ? 1 : 0;\r
-                break;\r
-            case 3:\r
-                (fx = this.wnd.filters[6]).transition = show ? 3 : 2;\r
-                break;\r
-            case 4:\r
-                (fx = this.wnd.filters[6]).transition = show ? 5 : 4;\r
-                break;\r
-            case 5:\r
-                (fx = this.wnd.filters[6]).transition = show ? 14 : 13;\r
-                break;\r
-            case 6:\r
-                (fx = this.wnd.filters[6]).transition = show ? 16 : 15;\r
-                break;\r
-            case 7:\r
-                (fx = this.wnd.filters[6]).transition = 12;\r
-                break;\r
-            case 8:\r
-                (fx = this.wnd.filters[6]).transition = 8;\r
-                break;\r
-            case 9:\r
-                (fx = this.wnd.filters[6]).transition = 9;\r
-        }\r
-        if (fx) {\r
-            fx.apply();\r
-            this.wnd.style.visibility = (this.visible = show) ? "visible" : "hidden";\r
-            this.fxhandler = QWndCtrl_fxhandler;\r
-            fx.play(0.3);\r
-        } else {\r
-            this.wnd.style.visibility = (this.visible = show) ? "visible" : "hidden";\r
-            this.onShow(show, this.tag);\r
-        }\r
-    }\r
-}\r
-\r
-function QWndCtrl_fade_moz(op, step) {\r
-    this._wndt = false;\r
-    if (step) {\r
-        op += step;\r
-        if ((op > 0) && (op < this.opacity)) {\r
-            this.wnd.style.MozOpacity = op + "%";\r
-            this._wndt = setTimeout(this.name + ".fade(" + op + "," + step + ")", 50);\r
-        } else {\r
-            if (op <= 0) {\r
-                this.wnd.style.visibility = "hidden";\r
-                this.visible = false;\r
-            }\r
-            this.wnd.style.MozOpacity = this.opacity + "%";\r
-            this.onShow(this.visible, this.tag);\r
-        }\r
-    }\r
-}\r
-\r
-function QWndCtrl_show_moz(show) {\r
-    if (this.visible != show) {\r
-        if (this._wndt) {\r
-            clearTimeout(this._wndt);\r
-            this._wndt = false;\r
-        }\r
-        var step = show ? ((this.effects & 15) == 1) && Math.floor(this.opacity / 5) :\r
-            ((this.effects & 240) == 16) && -Math.floor(this.opacity / 5);\r
-        if (step) {\r
-            if (this.visible) {\r
-                this.fade(this.opacity - 0, step);\r
-            } else {\r
-                this.wnd.style.MozOpacity = "0%";\r
-                this.wnd.style.visibility = "visible";\r
-                this.visible = true;\r
-                this.fade(0, step);\r
-            }\r
-        } else {\r
-            this.wnd.style.visibility = (this.visible = show) ? "visible" : "hidden";\r
-            this.onShow(show, this.tag);\r
-        }\r
-    }\r
-}\r
-\r
-function QWndCtrl_show_css(show) {\r
-    if (this.visible != show) {\r
-        this.wnd.style.visibility = (this.visible = show) ? "visible" : "hidden";\r
-        this.onShow(show, this.tag);\r
-    }\r
-}\r
-\r
-function QWndCtrl_show_ns4(show) {\r
-    if (this.visible != show) {\r
-        this.wnd.visibility = (this.visible = show) ? "show" : "hidden";\r
-        this.onShow(show, this.tag);\r
-    }\r
-}\r
-\r
-function QWndCtrl_create_dom2() {\r
-    with (this) {\r
-        this.fxhandler = QControl.nop;\r
-        var ie4 = document.body && document.body.filters;\r
-        var moz = document.body && document.body.style &&\r
-            typeof(document.body.style.MozOpacity) == "string";\r
-        document.write('<div unselectable="on" id="' + id +\r
-            (ie4 ? '" onfilterchange="' + name + '.fxhandler()': '') +\r
-            '" style="position:absolute;left:' + x + 'px;top:' + y +\r
-            'px;width:' + width + (height != null ? 'px;height:' + height : '') +\r
-            'px;visibility:' + (visible ? 'visible' : 'hidden') +\r
-            ';overflow:hidden' + (zindex ? ';z-index:' + zindex : '') +\r
-            (ie4 ? ';filter:Gray(enabled=' + (effects & 256 ? '1' : '0') +\r
-            ') Xray(enabled=' + (effects & 512 ? '1' : '0') +\r
-            ') Invert(enabled=' + (effects & 1024 ? '1' : '0') +\r
-            ') alpha(enabled=' + (opacity < 100 ? '1' : '0') + ',opacity=' + opacity +\r
-            ') shadow(enabled=' + (effects & 2048 ? '1' : '0') +\r
-            ',direction=135) BlendTrans(enabled=0) RevealTrans(enabled=0)' : '') +\r
-            (moz && (opacity < 100) ? ';-moz-opacity:' + opacity + '%' : '') +\r
-            '"><div unselectable="on" class="qwindow">');\r
-        if (typeof(content) == "function") {\r
-            this.content();\r
-        } else {\r
-            document.write(content);\r
-        }\r
-        document.write('</div></div>');\r
-        if (this.wnd = document.getElementById ? document.getElementById(id) :\r
-            (document.all.item ? document.all.item(id) : document.all[id])) {\r
-            if (wnd.style) {\r
-                ie4 = ie4 && wnd.filters;\r
-                moz = moz && typeof(wnd.style.MozOpacity) == "string";\r
-                this.moveTo = QWndCtrl_moveTo_css;\r
-                this.setZIndex = QWndCtrl_setZIndex_css;\r
-                this.focus = QWndCtrl_focus;\r
-                this.setSize = QWndCtrl_setSize_css;\r
-                this.show = ie4 ? QWndCtrl_show_ie4 : (moz ? QWndCtrl_show_moz : QWndCtrl_show_css);\r
-                this.fade = moz ? QWndCtrl_fade_moz : QControl.nop;\r
-                this.setOpacity = ie4 ? QWndCtrl_setOpacity_ie4 : (moz ? QWndCtrl_setOpacity_moz : QControl.nop);\r
-                this.setEffects = ie4 ? QWndCtrl_setEffects_ie4 : (moz ? QWndCtrl_setEffects_moz : QControl.nop);\r
-                this.center = self.innerWidth ? QWndCtrl_center_moz :\r
-                    (document.body && document.body.clientWidth ? QWndCtrl_center_ie4 : QControl.nop);\r
-            }\r
-        }\r
-    }\r
-}\r
-\r
-function QWndCtrl_create_ns4(finalize) {\r
-    with (this) {\r
-        if (finalize) {\r
-            if (_wnde) {\r
-                parent.window.onload = _wnde;\r
-                parent.window.onload();\r
-            }\r
-            document.open();\r
-            document.write('<div class="qwindow">');\r
-            this.content();\r
-            document.write('</div>');\r
-            document.close();\r
-        } else {\r
-            document.write('<layer id="' + id + '" left="' + x + '" top="' + y +\r
-                '" width="' + width + '" visibility="' + (visible ? 'show' : 'hidden') +\r
-                (height != null ? '" height="' + height + '" clip="' + width + ',' + height : '') +\r
-                (zindex ? '" z-index="' + zindex : '') + (typeof(content) != "function" ?\r
-                '"><div class="qwindow">' + content + '</div></layer>' : '">&nbsp;</layer>'));\r
-            if (this.window = this.wnd = document.layers[id]) {\r
-                if (this.document = wnd.document) {\r
-                    this.show = QWndCtrl_show_ns4;\r
-                    this.moveTo = QWndCtrl_moveTo_ns4;\r
-                    this.setZIndex = QWndCtrl_setZIndex_ns4;\r
-                    this.focus = QWndCtrl_focus;\r
-                    this.center = QWndCtrl_center_moz;\r
-                    this.setSize = QWndCtrl_setSize_ns4;\r
-                    if (typeof(content) == "function") {\r
-                        this._wnde = parent.window.onload;\r
-                        parent.window.onload = new Function(name + ".create(true)");\r
-                    }\r
-                }\r
-            }\r
-        }\r
-    }\r
-}\r
-\r
-function QWndCtrl_create_na() {\r
-    this.document.write('Object is not supported.');\r
-    this.wnd = null;\r
-}\r
-\r
-function QWndCtrl_create() {\r
-    with (this) {\r
-        this.create = (document.getElementById || document.all) ? QWndCtrl_create_dom2 :\r
-            (document.layers ? QWndCtrl_create_ns4 : QWndCtrl_create_na);\r
-        create();\r
-    }\r
-}\r
-\r
-function QWndCtrl() {\r
-    this.x = this.y = 0;\r
-    this.width = this.height = 0;\r
-    this.content = "";\r
-    this.visible = true;\r
-    this.effects = 0;\r
-    this.opacity = 100;\r
-    this.zindex = null;\r
-    this._wndt = this._wnde = false;\r
-    this.create = QWndCtrl_create;\r
-    this.show = QControl.nop;\r
-    this.focus = QControl.nop;\r
-    this.center = QControl.nop;\r
-    this.moveTo = QControl.nop;\r
-    this.setSize = QControl.nop;\r
-    this.setOpacity = QControl.nop;\r
-    this.setEffects = QControl.nop;\r
-    this.setZIndex  = QControl.nop;\r
-    this.onShow = QControl.event;\r
-}\r
-QWndCtrl.prototype = new QControl();\r
-QWndCtrl.TOPZINDEX = 1000;\r
-QWndCtrl.GRAY      = 256;\r
-QWndCtrl.XRAY      = 512;\r
-QWndCtrl.INVERT    = 1024;\r
-QWndCtrl.SHADOW    = 2048;\r
-QWndCtrl.FADEIN    = 1;\r
-QWndCtrl.FADEOUT   = 16;\r
-QWndCtrl.BOXIN     = 2;\r
-QWndCtrl.BOXOUT    = 32;\r
-QWndCtrl.CIRCLEIN  = 3;\r
-QWndCtrl.CIRCLEOUT = 48;\r
-QWndCtrl.WIPEIN    = 4;\r
-QWndCtrl.WIPEOUT   = 64;\r
-QWndCtrl.HBARNIN   = 5;\r
-QWndCtrl.HBARNOUT  = 80;\r
-QWndCtrl.VBARNIN   = 6;\r
-QWndCtrl.VBARNOUT  = 96;\r
-QWndCtrl.DISSOLVEIN  = 7;\r
-QWndCtrl.DISSOLVEOUT = 112;\r
-QWndCtrl.HBLINDSIN   = 8;\r
-QWndCtrl.HBLINDSOUT  = 128;\r
-QWndCtrl.VBLINDSIN   = 9;\r
-QWndCtrl.VBLINDSOUT  = 144;\r
diff --git a/httemplate/elements/select-agent.html b/httemplate/elements/select-agent.html
deleted file mode 100644 (file)
index c2a5e4b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<%
-  my( $agentnum, %opt ) = @_;
-
-  my @agents;
-  if ( $opt{'agents'} ) {
-    @agents = @{ $opt{'agents'} };
-  } else {
-    @agents = qsearch( 'agent', { disabled=>'' } );
-  }
-
-%>
-
-<SELECT NAME="agentnum">
-
-  <OPTION VALUE="">all</OPTION>
-
-  <% foreach my $agent ( sort { $a->agent cmp $b->agent } @agents ) { %>
-
-    <OPTION VALUE="<%= $agent->agentnum %>"<%= $agentnum == $agent->agentnum ? ' SELECTED' : '' %>><%= $agent->agent %>
-
-  <% } %>
-
-</SELECT>
-
diff --git a/httemplate/elements/select-month_year.html b/httemplate/elements/select-month_year.html
deleted file mode 100644 (file)
index a0ea74d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<%
-
-  my %opt = @_;
-
-  my $prefix = $opt{'prefix'} || '';
-  my $disabled = $opt{'disabled'} || '';
-  my $empty = $opt{'empty_option'} || '';
-  my $date = $opt{'selected_date'} || '';
-  $date = '' if $date eq '-';
-  #$date ||= '01-2000' unless $empty;
-  my $start_year = $opt{'start_year'};
-  my $end_year = $opt{'end_year'} || '2037';
-
-  my( $mon, $year ) = (0, 0);
-  if ( $date ) {
-    if ( $date  =~ /^(\d{4})-(\d{1,2})-\d{1,2}$/ ) { #PostgreSQL date format
-      ( $mon, $year ) = ( $2, $1 );
-    } elsif ( $date =~ /^(\d{1,2})-(\d{1,2}-)?(\d{4}$)/ ) {
-      ( $mon, $year ) = ( $1, $3 );
-    } else {
-      die "unrecognized expiration date format: $date";
-    }
-  }
-
-  unless ( $start_year ) {
-    my @t = localtime;
-    $start_year = $t[5] + 1900;
-  }
-  $start_year = $year if $start_year > $year && $year > 0;
-
-%>
-
-<SELECT NAME="<%= $prefix %>_month" SIZE="1" <%= $disabled%>>
-
-<%= $empty ? '<OPTION VALUE="">' : '' %>
-
-<% for ( 1 .. 12 ) { %>
-   <OPTION<%= $_ == $mon ? ' SELECTED' : '' %> VALUE="<%= $_ %>"><%= $_ %>
-<% } %>
-
-</SELECT>/<SELECT NAME="<%= $prefix %>_year" SIZE="1" <%= $disabled%>>
-
-<%= $empty ? '<OPTION VALUE="">' : '' %>
-
-<% for ( $start_year .. $end_year ) { %>
-   <OPTION<%= $_ == $year ? ' SELECTED' : '' %> VALUE="<%= $_ %>"><%= $_ %>
-<% } %>
-
-</SELECT>
-
diff --git a/httemplate/elements/select-taxclass.html b/httemplate/elements/select-taxclass.html
deleted file mode 100644 (file)
index e5a1abb..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-  my $conf = new FS::Conf;
-  my $selected_taxclass = scalar(@_) ? shift : '';
-%>
-
-<% if ( $conf->exists('enable_taxclasses') ) { %>
-
-    <SELECT NAME="taxclass">
-
-      <% if ( $conf->exists('require_taxclasses') ) { %>
-
-        <OPTION VALUE="(select)">Select tax class
-
-      <% } else { %>
-
-        <OPTION VALUE="">
-
-      <% } %>
-
-      <%
-        my $sth = dbh->prepare('SELECT DISTINCT taxclass FROM cust_main_county')
-          or die dbh->errstr;
-        $sth->execute or die $sth->errstr;
-        my %taxclasses = map { $_->[0] => 1 } @{$sth->fetchall_arrayref};
-        my @taxclasses = grep $_, keys %taxclasses;
-      %>
-  
-      <% foreach my $taxclass ( @taxclasses ) { %>
-  
-          <OPTION VALUE="<%= $taxclass %>"<%= $taxclass eq $selected_taxclass ? ' SELECTED' : '' %>><%= $taxclass %>
-  
-      <% } %>
-
-    </SELECT>
-
-<% } else { %>
-
-  <INPUT TYPE="hidden" NAME="taxclass" VALUE="<%= $selected_taxclass %>">
-  
-<% } %>
-  
-
diff --git a/httemplate/elements/small_custview.html b/httemplate/elements/small_custview.html
deleted file mode 100644 (file)
index e0c22e0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<% my $conf = new FS::Conf; %>
-<%= small_custview( shift, shift || scalar($conf->config('countrydefault')), @_ ) %>
diff --git a/httemplate/elements/table-grid.html b/httemplate/elements/table-grid.html
deleted file mode 100644 (file)
index 80611f5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<STYLE TYPE="text/css">
-.grid table { border: solid; empty-cells: show }
-.grid TH { padding-left: 3px; padding-right: 3px; border: 1px solid #dddddd; border-bottom: dashed 1px black; border-right: none }
-.grid TD { padding-left: 3px; padding-right: 3px; empty-cells: show; border: 1px solid #cccccc; border-bottom: none; border-right: none }
-</STYLE>
-
-<TABLE CLASS="grid" CELLSPACING=0 CELLPADDING=0 BORDER=1 BORDERCOLOR="#000000" STYLE="border: solid 1px black; empty-cells: show">
-
diff --git a/httemplate/elements/table.html b/httemplate/elements/table.html
deleted file mode 100644 (file)
index 3b61087..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<%
-   my $color = shift;
-   if ( $color ) {
-%>
-    <TABLE BGCOLOR="<%= $color %>" BORDER=1 WIDTH="100%" CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
-<% } else { %>
-    <TABLE BORDER=1 CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
-<% } %>
diff --git a/httemplate/elements/tr-input-beginning_ending.html b/httemplate/elements/tr-input-beginning_ending.html
deleted file mode 100644 (file)
index 9fa936b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
-
-
-<TR>
-  <TD ALIGN="right">From: </TD>
-  <TD><INPUT TYPE="text" NAME="beginning" ID="beginning_text" VALUE="" SIZE=11 MAXLENGTH=10> <IMG SRC="../images/calendar.png" ID="beginning_button" STYLE="cursor: pointer" TITLE="Select date"><BR><i>m/d/y</i></TD>
-<SCRIPT TYPE="text/javascript">
-  Calendar.setup({
-    inputField: "beginning_text",
-    ifFormat:   "%m/%d/%Y",
-    button:     "beginning_button",
-    align:      "BR"
-  });
-</SCRIPT>
-</TR>
-
-<TR>
-  <TD ALIGN="right">To: </TD>
-  <TD><INPUT TYPE="text" NAME="ending" ID="ending_text" VALUE="" SIZE=11 MAXLENGTH=10> <IMG SRC="../images/calendar.png" ID="ending_button" STYLE="cursor: pointer" TITLE="Select date"><BR><i>m/d/y</i></TD>
-<SCRIPT TYPE="text/javascript">
-  Calendar.setup({
-    inputField: "ending_text",
-    ifFormat:   "%m/%d/%Y",
-    button:     "ending_button",
-    align:      "BR"
-  });
-</SCRIPT>
-</TR>
-
-<TR>
-  <TD></TD>
-  <TD>
-    <FONT SIZE="-1">(leave one or both dates blank for an open-ended search)</FONT>
-  </TD>
-</TR>
-
diff --git a/httemplate/elements/tr-select-agent.html b/httemplate/elements/tr-select-agent.html
deleted file mode 100644 (file)
index 2227262..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-  my( $agentnum, %opt ) = @_;
-
-  my @agents;
-  if ( $opt{'agents'} ) {
-    @agents = @{ $opt{'agents'} };
-  } else {
-    @agents = qsearch( 'agent', { disabled=>'' } );
-  }
-
-%>
-
-<% if ( scalar(@agents) == 1 ) { %>
-
-  <INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agents[0]->agentnum %>">
-
-<% } else { %>
-
-  <TR>
-    <TD ALIGN="right"><%= $opt{'label'} || 'Agent: ' %></TD>
-    <TD>
-      <%= include( '/elements/select-agent.html', $agentnum,
-                     'agents' => \@agents,
-                 )
-      %>
-    </TD>
-  </TR>
-
-<% } %>
diff --git a/httemplate/elements/xmlhttp.html b/httemplate/elements/xmlhttp.html
deleted file mode 100644 (file)
index 28130e5..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-<%
-  my ( %opt ) = @_;
-
-  my $url = $opt{'url'};
-  my $method = exists($opt{'method'}) ? $opt{'method'} : 'GET';
-  #my @subs = @{ $opt{'subs'};
-
-  $url .= ( ($url =~ /\?/) ? '&' : '?' )
-    if $method eq 'GET';
-
-%>
-
-<SCRIPT TYPE="text/javascript">
-
-  function rs_init_object() {
-    var A;
-    try {
-      A=new ActiveXObject("Msxml2.XMLHTTP");
-    } catch (e) {
-      try {
-        A=new ActiveXObject("Microsoft.XMLHTTP");
-      } catch (oc) {
-        A=null;
-      }
-    }
-    if(!A && typeof XMLHttpRequest != "undefined")
-      A = new XMLHttpRequest();
-    if (!A)
-      alert("Can't create XMLHttpRequest object");
-    return A;
-
-  }
-
-  <% foreach my $func ( @{$opt{'subs'}} ) { 
-
-       my $furl = $url;
-       $furl =~ s/\"/\\\\\"/; #javascript escape
-
-  %>
-
-    function <%=$func%>() {
-        // count args; build URL
-        var url = "<%=$furl%>";
-        var a = <%=$func%>.arguments;
-
-        var args;
-        var len;
-        var content = 'sub=<%= uri_escape($func) %>';
-        if ( a && typeof a  == 'object'  && a[0].constructor == Array ) {
-            args = a[0];
-            len = args.length
-        } else {
-            args = a;
-            len = args.length - 1;
-        }
-        for (var i = 0; i < len; i++) 
-            content = content + "&arg=" + escape(args[i]);
-        content = content.replace( /[+]/g, '%2B'); // fix unescaped plus signs 
-
-        if ( '<%=$method%>' == 'GET' ) {
-          url = url + content;
-        }
-
-        //alert('<%=$method%> ' + url);
-
-        var xmlhttp = rs_init_object();
-        xmlhttp.open("<%=$method%>", url, true);
-
-        xmlhttp.onreadystatechange = function() {
-            if (xmlhttp.readyState != 4) 
-               return;
-
-            if (xmlhttp.status != 200) {
-              alert(xmlhttp.status + " status connecting to " + url);
-            } else {
-              var data = xmlhttp.responseText;
-              //alert('received response: ' + data);
-              a[a.length-1](data);
-              if ( data.indexOf("<b>System error</b>") > -1 ) {
-                var w;
-                if ( w = window.open("about:blank") ) {
-                  w.document.write(data);
-                } else {
-                  // popup blocking?  should use an overlib popup instead 
-                  alert("Error popup disabled; try disabling popup blocking to see");
-                }
-              }
-            }
-        }
-
-        if ( '<%=$method%>' == 'POST' ) {
-
-          xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
-          xmlhttp.send(content);
-
-        } else {
-
-          xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
-          xmlhttp.send(null);
-
-        }
-
-        //rs_debug("x_$func_name url = " + url);
-        //rs_debug("x_$func_name waiting..");
-    }
-
-  <% } %>
-
-</SCRIPT>
diff --git a/httemplate/graph/money_time-graph.cgi b/httemplate/graph/money_time-graph.cgi
deleted file mode 100755 (executable)
index bb3d23a..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<%
-
-#my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
-my ($curmon,$curyear) = (localtime(time))[4,5];
-
-#find first month
-my $syear = $cgi->param('syear') || 1899+$curyear;
-my $smonth = $cgi->param('smonth') || $curmon+1;
-
-#find last month
-my $eyear = $cgi->param('eyear') || 1900+$curyear;
-my $emonth = $cgi->param('emonth') || $curmon+1;
-#if ( $emonth++>12 ) { $emonth-=12; $eyear++; }
-
-#my @labels;
-#my %data;
-
-my @items = qw( invoiced netsales credits payments receipts );
-my %label = (
- 'invoiced' => 'Gross Sales (invoiced)', 
- 'netsales' => 'Net Sales (invoiced - applied credits)',
- 'credits'  => 'Credits',
- 'payments' => 'Gross Receipts (payments)',
- 'receipts' => 'Net Receipts/Cashflow (payments - refunds)',
-);
-my %color = (
-  'invoiced' => [ 153, 153, 255 ], #light blue
-  'netsales' => [   0,   0, 204 ], #blue
-  'credits'  => [ 204,   0,   0 ], #red
-  'payments' => [ 153, 204, 153 ], #light green
-  'receipts' => [   0, 204,   0 ], #green
-);
-
-my $report = new FS::Report::Table::Monthly (
-  'items' => \@items,
-  'start_month' => $smonth,
-  'start_year'  => $syear,
-  'end_month'   => $emonth,
-  'end_year'    => $eyear,
-);
-my %data = %{$report->data};
-
-#my $chart = Chart::LinesPoints->new(1024,480);
-#my $chart = Chart::LinesPoints->new(768,480);
-my $chart = Chart::LinesPoints->new(976,384);
-
-my $d = 0;
-$chart->set(
-  #'min_val' => 0,
-  'legend' => 'bottom',
-  'colors' => { ( map { 'dataset'.$d++ => $color{$_} } @items ),
-                #'grey_background' => [ 211, 211, 211 ],
-                'grey_background' => 'white',
-                'background' => [ 0xe8, 0xe8, 0xe8 ], #grey
-              },
-  #'grey_background' => 'false',
-  'legend_labels' => [ map { $label{$_} } @items ],
-  'brush_size' => 4,
-  #'pt_size' => 12,
-);
-
-my @data = map { $data{$_} } ( 'label', @items );
-
-http_header('Content-Type' => 'image/png' );
-
-$chart->_set_colors();
-
-%><%= $chart->scalar_png(\@data) %>
diff --git a/httemplate/graph/money_time.cgi b/httemplate/graph/money_time.cgi
deleted file mode 100644 (file)
index 1c7d542..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-<!-- mason kludge -->
-<%
-
-#my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
-my ($curmon,$curyear) = (localtime(time))[4,5];
-
-#find first month
-my $syear = $cgi->param('syear') || 1899+$curyear;
-my $smonth = $cgi->param('smonth') || $curmon+1;
-
-#find last month
-my $eyear = $cgi->param('eyear') || 1900+$curyear;
-my $emonth = $cgi->param('emonth') || $curmon+1;
-
-%>
-
-<HTML>
-  <HEAD>
-    <TITLE>Sales, Credits and Receipts Summary</TITLE>
-  </HEAD>
-<BODY BGCOLOR="#e8e8e8">
-<IMG SRC="money_time-graph.cgi?<%= $cgi->query_string %>" WIDTH="976" HEIGHT="384">
-<BR>
-
-<%= table('e8e8e8') %>
-<%
-
-my @items = qw( invoiced netsales credits payments receipts );
-my %label = (
-  'invoiced' => 'Gross Sales',
-  'netsales' => 'Net Sales',
-  'credits'  => 'Credits',
-  'payments' => 'Gross Receipts',
-  'receipts' => 'Net Receipts',
-);
-my %color = (
-  'invoiced' => '9999ff', #light blue
-  'netsales' => '0000cc', #blue
-  'credits'  => 'cc0000', #red
-  'payments' => '99cc99', #light green
-  'receipts' => '00cc00', #green
-);
-my %link = (
-  'invoiced' => "${p}search/cust_bill.html?",
-  'credits'  => "${p}search/cust_credit.html?",
-  'payments' => "${p}search/cust_pay.cgi?magic=_date;",
-);
-
-my $report = new FS::Report::Table::Monthly (
-  'items' => \@items,
-  'start_month' => $smonth,
-  'start_year'  => $syear,
-  'end_month'   => $emonth,
-  'end_year'    => $eyear,
-);
-my $data = $report->data;
-
-my @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
-
-%>
-
-<TR><TD></TD>
-<% foreach my $column ( @{$data->{label}} ) {
-     #$column =~ s/^(\d+)\//$mon[$1-1]<BR>/e;
-     $column =~ s/^(\d+)\//$mon[$1-1]<BR>/;
-     %>
-     <TH><%= $column %></TH>
-<% } %>
-</TR>
-
-<% foreach my $row (@items) { %>
-  <TR><TH><FONT COLOR="#<%= $color{$row} %>"><%= $label{$row} %></FONT></TH>
-  <% my $link = exists($link{$row})
-       ? qq(<A HREF="$link{$row})
-       : '';
-     my @speriod = @{$data->{speriod}};
-     my @eperiod = @{$data->{eperiod}};
-  %>
-  <% foreach my $column ( @{$data->{$row}} ) { %>
-    <TD ALIGN="right" BGCOLOR="#ffffff">
-      <%= $link ? $link. 'begin='. shift(@speriod). ';end='. shift(@eperiod). '">' : '' %><FONT COLOR="#<%= $color{$row} %>">$<%= sprintf("%.2f", $column) %></FONT><%= $link ? '</A>' : '' %>
-    </TD>
-  <% } %>
-  </TR>
-<% } %>
-</TABLE>
-
-<BR>
-<FORM METHOD="POST">
-<!--
-<INPUT TYPE="checkbox" NAME="ar">
-  Accounts receivable (invoices - applied credits)<BR>
-<INPUT TYPE="checkbox" NAME="charged">
-  Just Invoices<BR>
-<INPUT TYPE="checkbox" NAME="defer">
-  Accounts receivable, with deferred revenue (invoices - applied credits, with charges for annual/semi-annual/quarterly/etc. services deferred over applicable time period) (there has got to be a shorter description for this)<BR>
-<INPUT TYPE="checkbox" NAME="cash">
-  Cashflow (payments - refunds)<BR>
-<BR>
--->
-From <SELECT NAME="smonth">
-<% foreach my $mon ( 1..12 ) { %>
-<OPTION VALUE="<%= $mon %>"<%= $mon == $smonth ? ' SELECTED' : '' %>><%= $mon[$mon-1] %>
-<% } %>
-</SELECT>
-<SELECT NAME="syear">
-<% foreach my $y ( 1999 .. 2010 ) { %>
-<OPTION VALUE="<%= $y %>"<%= $y == $syear ? ' SELECTED' : '' %>><%= $y %>
-<% } %>
-</SELECT>
- to <SELECT NAME="emonth">
-<% foreach my $mon ( 1..12 ) { %>
-<OPTION VALUE="<%= $mon %>"<%= $mon == $emonth ? ' SELECTED' : '' %>><%= $mon[$mon-1] %>
-<% } %>
-</SELECT>
-<SELECT NAME="eyear">
-<% foreach my $y ( 1999 .. 2010 ) { %>
-<OPTION VALUE="<%= $y %>"<%= $y == $eyear ? ' SELECTED' : '' %>><%= $y %>
-<% } %>
-</SELECT>
-
-<INPUT TYPE="submit" VALUE="Redisplay">
-</FORM>
-</BODY>
-</HTML>
diff --git a/httemplate/images/ach.png b/httemplate/images/ach.png
deleted file mode 100644 (file)
index fdcd5e6..0000000
Binary files a/httemplate/images/ach.png and /dev/null differ
diff --git a/httemplate/images/calendar.png b/httemplate/images/calendar.png
deleted file mode 100644 (file)
index 1632661..0000000
Binary files a/httemplate/images/calendar.png and /dev/null differ
diff --git a/httemplate/images/cvv2.png b/httemplate/images/cvv2.png
deleted file mode 100644 (file)
index 48c58d5..0000000
Binary files a/httemplate/images/cvv2.png and /dev/null differ
diff --git a/httemplate/images/cvv2_amex.png b/httemplate/images/cvv2_amex.png
deleted file mode 100644 (file)
index 82d1f47..0000000
Binary files a/httemplate/images/cvv2_amex.png and /dev/null differ
diff --git a/httemplate/images/progressbar-empty.png b/httemplate/images/progressbar-empty.png
deleted file mode 100644 (file)
index 318219c..0000000
Binary files a/httemplate/images/progressbar-empty.png and /dev/null differ
diff --git a/httemplate/images/progressbar-full.png b/httemplate/images/progressbar-full.png
deleted file mode 100644 (file)
index 863d8e1..0000000
Binary files a/httemplate/images/progressbar-full.png and /dev/null differ
diff --git a/httemplate/images/small-logo.png b/httemplate/images/small-logo.png
deleted file mode 100644 (file)
index 1e415e6..0000000
Binary files a/httemplate/images/small-logo.png and /dev/null differ
diff --git a/httemplate/index.html b/httemplate/index.html
deleted file mode 100644 (file)
index b8f300d..0000000
+++ /dev/null
@@ -1,293 +0,0 @@
-<!-- mason kludge -->
-<% my $conf = new FS::Conf; %>
-<HTML>
-  <HEAD>
-    <TITLE>
-      Freeside Main Menu
-    </TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#FFFFFF">
-  <table width="100%">
-    <tr>
-      <td rowspan=2>
-        <IMG BORDER=0 ALT="freeside" SRC="images/small-logo.png">
-      </td>
-      <td align=left rowspan=2> <!-- valign="top" -->
-        <font size=6><%= $conf->config('company_name') %> Billing</font>
-      </td>
-      <td align=right valign=top>Logged in as <b><%= getotaker %></b>
-      </td>
-    </tr>
-    <tr>
-      <td align=right valign=bottom>
-
-        <table>
-          <tr>
-            <td align=right>
-              <FONT SIZE="-2">
-               <A HREF="http://www.sisd.com/freeside">Freeside</A>&nbsp;v<%= $FS::VERSION %><BR>
-               <A HREF="docs/">Documentation</A><BR>
-              </FONT>
-            </td>
-            <% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { %>
-            <% eval "use RT;"; %>
-              <td bgcolor=#000000></td>
-              <td align=left>
-                <FONT SIZE="-2">
-                 <A HREF="http://www.bestpractical.com/rt">RT<A>&nbsp;v<%= $RT::VERSION %><BR>
-                 <A HREF="http://wiki.bestpractical.com/">Documentation</A><BR>
-                </FONT>
-              </td>
-            <% } %>
-
-          </tr>
-        </table>
-
-      </td>
-    </tr>
-  </table>
-
-  <BR>
-
-
-[<A NAME="customer_service" style="background-color: #cccccc">&nbsp;Sales&nbsp;/&nbsp;Customer&nbsp;service&nbsp;</A>]
-<% if ( $conf->config('ticket_system') ) { %>
-  [&nbsp;<A HREF="#ticketing">Support&nbsp;/&nbsp;Ticketing</A>&nbsp;]
-<% } %>
-[&nbsp;<A HREF="#bookkeeping">Bookkeeping&nbsp;/&nbsp;Collections</A>&nbsp;]
-[&nbsp;<A HREF="#reports">Reports</A>&nbsp;]
-[&nbsp;<A HREF="#sysadmin">Sysadmin</A>&nbsp;]
-    <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0" WIDTH="100%" BGCOLOR="#eeeeee">
-    <TR><TH BGCOLOR="#cccccc">Sales / Customer service</TH></TR>
-    <TR><TD>
-        <BR><FONT SIZE="+1"><A HREF="edit/cust_main.cgi">New Customer</A></FONT>
-        <BR>
-        <BR><FORM ACTION="search/cust_main.cgi" METHOD="GET"><INPUT TYPE="hidden" NAME="custnum_on" VALUE="1">Customer # <INPUT TYPE="text" NAME="custnum_text"><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/cust_main.cgi?browse=custnum">all customers by customer number</A></FORM>
-        <FORM ACTION="search/cust_main.cgi" METHOD="GET"><INPUT TYPE="hidden" NAME="last_on" VALUE="1">Last name <INPUT TYPE="text" NAME="last_text"><SELECT NAME="last_type"><OPTION SELECTED VALUE="All">(all)</OPTION><OPTION>Fuzzy<OPTION>Substring</OPTION><OPTION>Exact</OPTION></SELECT><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/cust_main.cgi?browse=last">all customers by last name</A></FORM>
-        <FORM ACTION="search/cust_main.cgi" METHOD="GET"><INPUT TYPE="hidden" NAME="company_on" VALUE="1">Company <INPUT TYPE="text" NAME="company_text"><SELECT NAME="company_type"><OPTION SELECTED VALUE="All">(all)</OPTION><OPTION>Fuzzy<OPTION>Substring</OPTION><OPTION>Exact</OPTION></SELECT><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/cust_main.cgi?browse=company">all customers by company</A></FORM>
-<% if ( $conf->exists('address2-search') ) { %>
-        <FORM ACTION="search/cust_main.cgi" METHOD="GET"><INPUT TYPE="hidden" NAME="address2_on" VALUE="1">Unit <INPUT TYPE="text" NAME="address2_text"><INPUT TYPE="submit" VALUE="Search"></FORM>
-<% } %>
-        <FORM ACTION="search/cust_main.cgi" METHOD="GET"><INPUT TYPE="hidden" NAME="phone_on" VALUE="1">Phone # <INPUT TYPE="text" NAME="phone_text"><INPUT TYPE="submit" VALUE="Search"></FORM>
-        <BR><FORM ACTION="search/svc_acct.cgi" METHOD="GET">Username <INPUT TYPE="text" NAME="username"><SELECT NAME="username_type"><OPTION VALUE="All">(all)</OPTION><OPTION>Fuzzy</OPTION><OPTION>Substring</OPTION><OPTION SELECTED>Exact</OPTION></SELECT><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/svc_acct.cgi?username">all accounts by username</A> or <A HREF="search/svc_acct.cgi?uid">uid</A></FORM>
-        <BR><FORM ACTION="search/svc_domain.cgi" METHOD="GET">Domain <INPUT TYPE="text" NAME="domain"><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/svc_domain.cgi?domain">all domains</A></FORM>
-       <BR><FORM ACTION="search/svc_broadband.cgi" METHOD="GET">IP Address <INPUT TYPE="text" NAME="ip_addr"><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/svc_broadband.cgi?svcnum">all services by svcnum</A> or <A HREF="search/svc_broadband.cgi?blocknum">address block</A></FORM>
-        <BR><A HREF="search/svc_forward.cgi?svcnum">all mail forwards by svcnum</A><BR>
-        <BR><A HREF="search/svc_www.cgi?svcnum">all virtual hosts by svcnum</A><BR>
-        <BR><A HREF="search/svc_external.cgi?svcnum">all external services by svcnum</A><BR>
-      <BR>
-    </TD></TR>
-    </TABLE>
-
-    <BR><BR><BR>
-
-<% if ( $conf->config('ticket_system') ) { %>
-
-[&nbsp;<A HREF="#customer_service">Sales&nbsp;/&nbsp;Customer&nbsp;service</A>&nbsp;]
-[<A NAME="ticketing" style="background-color: #cccccc">&nbsp;Support&nbsp;/&nbsp;Ticketing&nbsp;</A>]
-[&nbsp;<A HREF="#bookkeeping">Bookkeeping&nbsp;/&nbsp;Collections</A>&nbsp;]
-[&nbsp;<A HREF="#reports">Reports</A>&nbsp;]
-[&nbsp;<A HREF="#sysadmin">Sysadmin</A>&nbsp;]
-    <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0" WIDTH="100%" BGCOLOR="#eeeeee">
-    <TR><TH BGCOLOR="#cccccc">Support/Ticketing</TH></TR>
-    <TR><TD>
-       <% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { %>
-        <BR><FONT SIZE="+1"><A HREF="rt/">Ticketing Main</A></FONT>
-        <BR><BR>
-        Reports
-        <UL>
-          <LI><A HREF="search/cust_main.cgi?browse=tickets">Customers sorted by active tickets</A>
-         <!-- <LI><A HREF="">Active tickets not assigned to a customer</A> -->
-       <% } else { %>
-       <BR><FONT SIZE="+1"><A HREF="<%=FS::TicketSystem->baseurl()%>">Ticketing Main</A></FONT>
-        <BR><BR>
-        <% } %>
-    </TD></TR>
-    </TABLE>
-
-    <BR><BR><BR>
-
-<% } %>
-
-
-[&nbsp;<A HREF="#customer_service">Sales&nbsp;/&nbsp;Customer&nbsp;service</A>&nbsp;]
-<% if ( $conf->config('ticket_system') ) { %>
-  [&nbsp;<A HREF="#ticketing">Support&nbsp;/&nbsp;Ticketing</A>&nbsp;]
-<% } %>
-[<A NAME="bookkeeping" style="background-color: #cccccc">&nbsp;Bookkeeping&nbsp;/&nbsp;Collections&nbsp;</A>]
-[&nbsp;<A HREF="#reports">Reports</A>&nbsp;]
-[&nbsp;<A HREF="#sysadmin">Sysadmin</A>&nbsp;]
-    <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0 WIDTH="100%" BGCOLOR="#eeeeee">
-    <TR><TH BGCOLOR="#cccccc">Bookkeeping / Collections</TH></TR>
-    <TR><TD>
-      <BR><A HREF="misc/batch-cust_pay.html">Quick payment entry</A>
-      <BR>
-      <BR><FORM ACTION="search/cust_main.cgi" METHOD="GET">Credit card # <INPUT TYPE="hidden" NAME="card_on" VALUE="1"><INPUT TYPE="text" NAME="card"><INPUT TYPE="submit" VALUE="Search"></FORM>
-      <FORM ACTION="search/cust_bill.html" METHOD="GET">Invoice # <INPUT TYPE="text" NAME="invnum" SIZE="8"><INPUT TYPE="submit" VALUE="Search"></FORM>
-      <FORM ACTION="search/cust_pay.cgi" METHOD="GET">Check # <INPUT TYPE="text" NAME="payinfo" SIZE="8"><INPUT TYPE="hidden" NAME="payby" VALUE="BILL"><INPUT TYPE="submit" VALUE="Search"></FORM>
-      <BR><A HREF="browse/cust_pay_batch.cgi">View pending credit card batch</A>      <BR><BR><A HREF="search/cust_pkg_report.cgi">Packages (by next bill date range)</A>
-      <BR><BR>Invoice reports
-            <UL>
-              <LI>open invoices (<A HREF="search/cust_bill.html?OPEN_invnum">by invoice number</A>) (<A HREF="search/cust_bill.html?OPEN_date">by date</A>) (<A HREF="search/cust_bill.html?OPEN_custnum">by customer number</A>)
-              <LI>15 day open invoices (<A HREF="search/cust_bill.html?OPEN15_invnum">by invoice number</A>) (<A HREF="search/cust_bill.html?OPEN15_date">by date</A>) (<A HREF="search/cust_bill.html?OPEN15_custnum">by customer number</A>)
-              <LI>30 day open invoices (<A HREF="search/cust_bill.html?OPEN30_invnum">by invoice number</A>) (<A HREF="search/cust_bill.html?OPEN30_date">by date</A>) (<A HREF="search/cust_bill.html?OPEN30_custnum">by customer number</A>)
-              <LI>60 day open invoices (<A HREF="search/cust_bill.html?OPEN60_invnum">by invoice number</A>) (<A HREF="search/cust_bill.html?OPEN60_date">by date</A>) (<A HREF="search/cust_bill.html?OPEN60_custnum">by customer number</A>)
-              <LI>90 day open invoices (<A HREF="search/cust_bill.html?OPEN90_invnum">by invoice number</A>) (<A HREF="search/cust_bill.html?OPEN90_date">by date</A>) (<A HREF="search/cust_bill.html?OPEN90_custnum">by customer number</A>)
-              <LI>120 day open invoices (<A HREF="search/cust_bill.html?OPEN120_invnum">by invoice number</A>) (<A HREF="search/cust_bill.html?OPEN120_date">by date</A>) (<A HREF="search/cust_bill.html?OPEN120_custnum">by customer number</A>)
-              <LI>all invoices (<A HREF="search/cust_bill.html?invnum">by invoice number</A>) (<A HREF="search/cust_bill.html?date">by date</A>) (<A HREF="search/cust_bill.html?custnum">by customer number</A>)
-            </UL>
-      <A HREF="search/report_cust_bill.html">Advanced invoice reports</A><BR><BR>
-      Invoice event reports
-            <UL>
-              <LI><a href="search/cust_bill_event.html">All invoice events for a date range</a>
-              <LI><a href="search/cust_bill_event.html?failed=1">Invoice event errors for a date range (failed credit cards, processor or printer problems, etc.)</a>
-            </UL>
-      <A HREF="search/report_cust_pay.html">Payment report (by type and/or date range)</A>
-      <BR><BR><A HREF="search/report_cust_credit.html">Credit report (by employee and/or date range)</A>
-      <BR><BR><A HREF="graph/money_time.cgi">Sales, Credits and Receipts Summary</A>
-      <BR><BR><A HREF="search/report_receivables.cgi">Accounts Receivable Aging Summary</A>
-      <BR><BR><A HREF="search/report_prepaid_income.html">Prepaid Income (Unearned Revenue) Report</A>
-      <BR><BR><A HREF="search/report_tax.html">Sales Tax Liability Report</A>
-      <BR><BR>
-    </TD></TR>
-    </TABLE>
-
-
-
-    <BR><BR><BR>
-
-
-
-[&nbsp;<A HREF="#customer_service">Sales&nbsp;/&nbsp;Customer&nbsp;service</A>&nbsp;]
-<% if ( $conf->config('ticket_system') ) { %>
-  [&nbsp;<A HREF="#ticketing">Support&nbsp;/&nbsp;Ticketing</A>&nbsp;]
-<% } %>
-[&nbsp;<A HREF="#bookkeeping">Bookkeeping&nbsp;/&nbsp;Collections</A>&nbsp;]
-[<A NAME="reports" style="background-color: #cccccc">&nbsp;Reports&nbsp;</A>]
-[&nbsp;<A HREF="#sysadmin">Sysadmin</A>&nbsp;]
-    <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0 WIDTH="100%" BGCOLOR="#eeeeee">
-    <TR><TH BGCOLOR="#cccccc">Reports</TH></TR>
-    <TR><TD>
-      <BR>
-      <A HREF="search/sqlradius.html">RADIUS sessions</A><BR><BR>
-      Auditing pre-Freeside services with no customer record
-      <UL>
-        <LI>unlinked accounts (<A HREF="search/svc_acct.cgi?UN_svcnum">by service number</A>) (<A HREF="search/svc_acct.cgi?UN_username">by username</A>) (<A HREF="search/svc_acct.cgi?UN_uid">by uid</A>)
-        <LI>unlinked mail forwards (<A HREF="search/svc_forward.cgi?UN_svcnum">by service number</A>)
-        <LI>unlinked domains (<A HREF="search/svc_domain.cgi?UN_svcnum">by service number</A>) (<A HREF="search/svc_domain.cgi?UN_domain">by domain</A>)
-        <LI>unlinked externals (<A HREF="search/svc_external.cgi?UN_svcnum">by service number</A>) (<A HREF="search/svc_external.cgi?UN_id">by id</A>)
-      </UL>
-      Packages
-      <UL>
-        <LI><A HREF="search/cust_pkg.cgi?pkgnum">all packages (by package number)</A>
-        <LI><A HREF="search/cust_pkg.cgi?magic=suspended">suspended packages (by package number)</A>
-        <LI><A HREF="search/cust_pkg.cgi?APKG_pkgnum">packages with unconfigured services (by package number)</A>
-        <LI><A HREF="search/cust_pkg_report.cgi">packages (by next bill date range)</A>
-      </UL>
-      <A HREF="browse/part_pkg.cgi?active=1">Package definitions (by number of active packages)</A><BR><BR>
-      <A HREF="browse/part_svc.cgi?orderby=active">Service definitions (by number of active services)</A><BR><BR>
-    Customers
-      <UL>
-        <LI><A HREF="search/cust_main-otaker.cgi">Search customers by ordering employee</A>
-      </UL>
-    <FORM ACTION="search/sql.html" METHOD="GET">SQL query: <TT>SELECT </TT><INPUT TYPE="text" NAME="sql" SIZE=32><INPUT TYPE="submit" VALUE="Query"></FORM>
-
-    <BR>
-    </TD></TR>
-    </TABLE>
-
-
-
-    <BR><BR><BR>
-
-
-[&nbsp;<A HREF="#customer_service">Sales&nbsp;/&nbsp;Customer&nbsp;service</A>&nbsp;]
-<% if ( $conf->config('ticket_system') ) { %>
-  [&nbsp;<A HREF="#ticketing">Support&nbsp;/&nbsp;Ticketing</A>&nbsp;]
-<% } %>
-[&nbsp;<A HREF="#bookkeeping">Bookkeeping&nbsp;/&nbsp;Collections</A>&nbsp;]
-[&nbsp;<A HREF="#reports">Reports</A>&nbsp;]
-[<A NAME="sysadmin" style="background-color: #cccccc">&nbsp;Sysadmin&nbsp;</A>]
-    <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0 WIDTH="100%" BGCOLOR="#eeeeee">
-    <TR><TH BGCOLOR="#cccccc">Sysadmin</TH></TR>
-    <TR><TD>
-      <BR>
-      <!-- <BR>View active NAS ports: 
-        <A HREF="browse/nas.cgi">session server</A>
-        <!-- or <A HREF="browse/nas-sqlradius.cgi">RADIUS</A>
-      <BR> -->
-      <A HREF="browse/queue.cgi">View pending job queue</A>
-      <BR><A HREF="misc/cust_main-import.cgi">Batch import customers from CSV file</A>
-      <BR><A HREF="misc/cust_main-import_charges.cgi">Batch import charges from CSV file</A>
-      <BR><A HREF="misc/dump.cgi">Download database dump</A>
-      <BR><BR><CENTER><HR WIDTH="94%" NOSHADE></CENTER><BR>
-      <A NAME="config" HREF="config/config-view.cgi">Configuration</a><!-- - <font size="+2" color="#ff0000">start here</font> -->
-      <BR><BR><A NAME="admin">Provisioning, services and packages</a>
-        <ul>
-          <LI><A HREF="browse/part_export.cgi">View/Edit exports</A>
-            - Provisioning services to external machines, databases and APIs.
-          <LI><A HREF="browse/part_svc.cgi">View/Edit service definitions</A>
-            - Services are items you offer to your customers.
-          <LI><A HREF="browse/part_pkg.cgi">View/Edit package definitions</A>
-            - One or more services are grouped together into a package and
-              given pricing information.  Customers purchase packages, not
-              services.
-        </ul>
-      <A NAME="admin_agent">Resellers</a>
-        <ul>
-          <LI><A HREF="browse/agent_type.cgi">View/Edit agent types</A>
-            - Agent types define groups of package definitions that you can
-              then assign to particular agents.
-          <LI><A HREF="browse/agent.cgi">View/Edit agents</A>
-            - Agents are resellers of your service.  Agents may be limited
-              to a subset of your full offerings (via their type).
-        </ul>
-      <A NAME="admin_billing">Billing</a>
-        <ul>
-          <LI><A HREF="browse/payment_gateway.html">View/Edit payment gateways</A>
-            - Credit card and electronic check processors
-          <LI><A HREF="browse/part_bill_event.cgi">View/Edit invoice events</A>
-            - Actions for overdue invoices
-          <LI><A HREF="search/prepay_credit.html">View/Edit prepaid cards</A>
-            - View outstanding cards, generate new cards
-         <LI><A HREF="browse/rate.cgi">View/Edit call rates and regions</A>
-           - Manage rate plans, regions and prefixes for VoIP and call billing.
-          <LI><A HREF="browse/cust_main_county.cgi">View/Edit locales and tax rates</A>
-            - Change tax rates, or break down a country into states, or a state
-              into counties and assign different tax rates to each.
-        </ul>
-      <A NAME="admin_svc_acct">Dialup</a>
-        <ul>
-          <LI><A HREF="browse/svc_acct_pop.cgi">View/Edit access numbers</A>
-            - Points of Presence 
-        </ul>
-      <A NAME="admin_svc_broadband">Fixed (username-less) broadband</a>
-        <ul>
-         <LI><A HREF="browse/router.cgi">View/Edit routers</A>
-         - Broadband access routers
-         <LI><A HREF="browse/addr_block.cgi">View/Edit address blocks</A>
-         - Manage address blocks and block assignments to broadband routers.
-       </ul>
-      <A NAME="admin_misc">Miscellaneous</a>
-        <ul>
-          <LI><A HREF="browse/part_referral.cgi">View/Edit advertising sources</A>
-            - Where a customer heard about your service.  Tracked for
-              informational purposes.
-          <LI><A HREF="browse/part_virtual_field.cgi">View/Edit virtual fields</A>
-         - Locally defined fields
-         <LI><A HREF="browse/msgcat.cgi">View/Edit message catalog</A>
-         - Change error messages and other customizable labels.
-       </ul>
-        <BR>
-      </TD></TR>
-      </TABLE>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-      <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-  </BODY>
-</HTML>
diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html
deleted file mode 100644 (file)
index 20cc890..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-<%= header( 'Quick payment entry',
-            menubar(
-                     'Main Menu' => $p, #popurl(1),
-                     'Old-style quick payment entry' =>
-                       $p. 'search/cust_main-quickpay.html',
-                   ),
-            ( $cgi->param('error') ? '' : 'onload="addRow()"' ),
-          )
-%>
-
-<% if ( $cgi->param('error') ) { %>
-  <FONT SIZE="+1" COLOR="#ff0000"><%= $cgi->param('error') %></FONT><BR><BR>
-<% } %>
-
-
-<FORM ACTION="process/batch-cust_pay.cgi" NAME="OneTrueForm" METHOD="POST" onsubmit="document.OneTrueForm.submit.disabled=true;">
-
-<!-- <B>Batch</B> <INPUT TYPE="text" NAME="paybatch"><BR><BR> -->
-
-<SCRIPT TYPE="text/javascript">
-
-  function clearhint_custnum() {
-
-    //this.style.color = '#000000';
-
-    if ( this.value == 'Not found' || this.value == 'Multiple' ) {
-      this.value = '';
-      this.style.color = '#000000';
-    }
-
-  }
-
-  function clearhint_customer() {
-
-    this.style.color = '#000000';
-
-    if ( this.value == '(last name or company)' || this.value == 'Not found' )
-      this.value = '';
-
-  }
-
-  function search_custnum() {
-
-    this.style.color = '#000000'
-
-    var custnum_obj = this;
-    var searchrow = this.getAttribute('rownum');
-    var custnum = this.value;
-
-    if ( custnum == 'searching...' || custnum == 'Not found' || custnum == '' )
-      return;
-
-    if ( this.getAttribute('magic') == 'nosearch' ) {
-      this.setAttribute('magic', '');
-      return;
-    }
-
-    if ( ( rownum - searchrow ) == 1 ) {
-      addRow();
-    }
-    var customer = document.getElementById('customer'+searchrow);
-    customer.value = 'searching...';
-    customer.disabled = true;
-    customer.style.color = '#000000';
-    customer.style.backgroundColor = '#dddddd';
-
-    var customer_select = document.getElementById('cust_select'+searchrow);
-
-    //alert('search for custnum ' + custnum + ', row#' + searchrow );
-
-    customer.style.display = '';
-    customer_select.style.display = 'none';
-
-    function search_custnum_update(name) {
-
-      var name = eval('(' + name + ')' );
-
-      customer.disabled = false;
-      customer.style.backgroundColor = '#ffffff';
-
-      if ( name.length > 0 ) {
-        //alert('custnum found: ' + name);
-        customer.value = name;
-        customer.setAttribute('magic', 'nosearch');
-      } else {
-        customer.value = 'Not found';
-        customer.style.color = '#ff0000';
-        custnum_obj.style.color = '#ff0000';
-
-      }
-
-    }
-
-    custnum_search( custnum, search_custnum_update );
-
-  }
-
-  function search_customer() {
-
-    var customer_obj = this;
-    var searchrow = this.getAttribute('rownum');
-    var customer = this.value;
-
-    if ( customer == 'searching...' || customer == 'Not found' || customer == '' )
-      return;
-
-    if ( this.getAttribute('magic') == 'nosearch' ) {
-      this.setAttribute('magic', '');
-      return;
-    }
-
-    if ( ( rownum - searchrow ) == 1 ) {
-      addRow();
-    }
-
-    var custnum_obj = document.getElementById('custnum'+searchrow);
-    custnum_obj.value = 'searching...';
-    custnum_obj.disabled = true;
-    custnum_obj.style.color = '#000000';
-    custnum_obj.style.backgroundColor = '#dddddd';
-
-    var customer_select = document.getElementById('cust_select'+searchrow);
-
-    //alert('search for customer ' + customer + ', row#' + searchrow );
-
-    function search_customer_update(customers) {
-
-      //alert('customers returned: ' + customers);
-
-      var customerArray = eval('(' + customers + ')');
-
-      custnum_obj.disabled = false;
-      custnum_obj.style.backgroundColor = '#ffffff';
-
-      if ( customerArray.length == 0 ) {
-
-        custnum_obj.value = 'Not found';
-        custnum_obj.style.color = '#ff0000';
-        customer_obj.style.color = '#ff0000';
-
-        customer_obj.style.display = '';
-        customer_select.style.display = 'none';
-
-
-      } else if ( customerArray.length == 1 ) {
-
-        //alert('one customer found: ' + customerArray[0]);
-
-        custnum_obj.value = customerArray[0][0];
-        customer_obj.value = customerArray[0][1];
-
-        customer_obj.style.display = '';
-        customer_select.style.display = 'none';
-
-
-      } else {
-
-        custnum_obj.value = 'Multiple'; // or something
-        custnum_obj.style.color = '#ff0000';
-
-        //alert('multiple customers found, have to create select dropdown');
-
-        //blank the current list
-        for ( var i = customer_select.length; i >= 0; i-- )
-          customer_select.options[i] = null;
-
-        opt(customer_select, '', 'Multiple customers match "' + customer + '" - select one', '#ff0000');
-
-        //add the multiple customers
-        for ( var s = 0; s < customerArray.length; s++ )
-          opt(customer_select, customerArray[s][0], customerArray[s][1], '#000000');
-
-        opt(customer_select, 'cancel', '(Edit search string)', '#000000');
-
-        customer_obj.style.display = 'none';
-
-        customer_select.style.display = '';
-
-      }
-
-    }
-
-    smart_search( customer, search_customer_update );
-
-  }
-
-  function select_customer() {
-
-    var custnum = this.options[this.selectedIndex].value;
-    var customer = this.options[this.selectedIndex].text;
-
-    var searchrow = this.getAttribute('rownum');
-    var custnum_obj = document.getElementById('custnum'+searchrow);
-    var customer_obj = document.getElementById('customer'+searchrow);
-
-    if ( custnum == '' ) {
-      //this.style.color = '#ff0000';
-
-    } else if ( custnum == 'cancel' ) {
-
-      custnum_obj.value = '';
-      custnum_obj.style.color = '#000000';
-
-      this.style.display = 'none';
-      customer_obj.style.display = '';
-      customer_obj.focus();
-
-    } else {
-
-
-      custnum_obj.value = custnum;
-      custnum_obj.style.color = '#000000';
-
-      customer_obj.value = customer;
-      customer_obj.style.color = '#000000';
-
-      this.style.display = 'none';
-      customer_obj.style.display = '';
-
-    }
-
-  }
-
-  function opt(what,value,text,color) {
-    var optionName = new Option(text, value, false, false);
-    optionName.style.color = color;
-    var length = what.length;
-    what.options[length] = optionName;
-  }
-
-</SCRIPT>
-
-<TABLE ID="OneTrueTable" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
-
-<TR>
-  <TH>Cust #</TH>
-  <TH>Customer</TH>
-  <TH>Amount</TH>
-  <TH>Check #</TH>
-  <TH BGCOLOR="#e8e8e8"></TH>
-</TR>
-
-<% my $row = 0;
-   if ( $cgi->param('error') ) {
-     my $param = $cgi->Vars;
-%>
-
-  <% for ( $row = 0; exists($param->{"custnum$row"}); $row++ ) { %>
-
-    <TR>
-
-      <TD>
-        <INPUT TYPE="text" NAME="custnum<%= $row %>" ID="custnum<%= $row %>" SIZE=8 MAXLENGTH=12 VALUE="<%= $param->{"custnum$row"} %>" rownum="<%= $row %>">
-          <SCRIPT TYPE="text/javascript">
-            var custnum_input<%= $row %> = document.getElementById("custnum<%= $row %>");
-            custnum_input<%= $row %>.onfocus = clearhint_custnum;
-            custnum_input<%= $row %>.onchange = search_custnum;
-          </SCRIPT>
-      </TD>
-
-      <TD>
-        <INPUT TYPE="text" NAME="customer<%= $row %>" ID="customer<%= $row %>" SIZE=64 VALUE="<%= $param->{"customer$row"} %>" rownum="<%= $row %>">
-          <SCRIPT TYPE="text/javascript">
-            var customer_input<%= $row %> = document.getElementById("customer<%= $row %>");
-            customer_input<%= $row %>.onfocus = clearhint_customer;
-            customer_input<%= $row %>.onclick = clearhint_customer;
-            customer_input<%= $row %>.onchange = search_customer;
-          </SCRIPT>
-        <SELECT NAME="cust_select<%= $row %>" ID="cust_select<%= $row %>" rownum="<%= $row %>" STYLE="color:#ff0000; display:none"">
-        </SELECT>
-          <SCRIPT TYPE="text/javascript">
-            var customer_select<%= $row %> = document.getElementById("cust_select<%= $row %>");
-            customer_select<%= $row %>.onchange = select_customer;
-          </SCRIPT>
-      </TD>
-
-      <TD>
-        $<INPUT TYPE="text" NAME="paid<%= $row %>" SIZE=8 MAXLENGTH=8 VALUE="<%= $param->{"paid$row"} %>" >
-      </TD>
-
-      <TD>
-        <INPUT TYPE="text" NAME="payinfo<%= $row %>" SIZE=10 VALUE="<%= $param->{"payinfo$row"} %>" >
-      </TD>
-
-      <TD BGCOLOR="#e8e8e8">
-      <% if ( $param->{"error$row"} ) { %>
-        <FONT SIZE="-1" COLOR="#ff0000">Error: <%= $param->{"error$row"} %></FONT>
-      <% } %>
-      </TD>
-
-    </TR>
-
-  <% } %>
-
-<% } %>
-
-</TABLE>
-
-<!-- <BR>
-<INPUT TYPE="button" VALUE="TEST addrow" onclick="addRow()"> -->
-
-<BR>
-<INPUT TYPE="submit" NAME="submit" VALUE="Post payment batch">
-
-</FORM>
-
-
-<%= include('/elements/xmlhttp.html',
-              'url'  => $p. 'misc/xmlhttp-cust_main-search.cgi',
-              'subs' => [qw( custnum_search smart_search )],
-           )
-%>
-
-<SCRIPT TYPE="text/javascript">
-
-  var rownum = <%= $row %>;
-
-  function addRow() {
-
-    var table = document.getElementById('OneTrueTable');
-    var tablebody = table.getElementsByTagName('tbody').item(0);
-
-    var row = document.createElement('TR');
-
-    var custnum_cell = document.createElement('TD');
-
-      var custnum_input = document.createElement('INPUT');
-      custnum_input.setAttribute('name', 'custnum'+rownum);
-      custnum_input.setAttribute('id',   'custnum'+rownum);
-      custnum_input.setAttribute('size', 8);
-      custnum_input.setAttribute('maxlength', 12);
-      custnum_input.setAttribute('rownum', rownum);
-      custnum_input.onfocus = clearhint_custnum;
-      custnum_input.onchange = search_custnum;
-      custnum_cell.appendChild(custnum_input);
-
-    row.appendChild(custnum_cell);
-
-    var customer_cell = document.createElement('TD');
-
-      var customer_input = document.createElement('INPUT');
-      customer_input.setAttribute('name', 'customer'+rownum);
-      customer_input.setAttribute('id',   'customer'+rownum);
-      customer_input.setAttribute('size', 64);
-      customer_input.setAttribute('value', '(last name or company)' );
-      customer_input.setAttribute('rownum', rownum);
-      customer_input.onfocus = clearhint_customer;
-      customer_input.onclick = clearhint_customer;
-      customer_input.onchange = search_customer;
-      customer_cell.appendChild(customer_input);
-
-      var customer_select = document.createElement('SELECT');
-      customer_select.setAttribute('name', 'cust_select'+rownum);
-      customer_select.setAttribute('id',   'cust_select'+rownum);
-      customer_select.setAttribute('rownum', rownum);
-      customer_select.style.color = '#ff0000';
-      customer_select.style.display = 'none';
-      customer_select.onchange = select_customer;
-      customer_cell.appendChild(customer_select);
-
-    row.appendChild(customer_cell);
-
-    var paid_cell = document.createElement('TD');
-
-      var paid_text = document.createTextNode('$');
-      paid_cell.appendChild(paid_text);
-
-      var paid_input = document.createElement('INPUT');
-      paid_input.setAttribute('name', 'paid'+rownum);
-      paid_input.setAttribute('size', 8);
-      paid_input.setAttribute('maxlength', 8);
-      paid_cell.appendChild(paid_input);
-
-    row.appendChild(paid_cell);
-
-    var payinfo_cell = document.createElement('TD');
-      var payinfo_input = document.createElement('INPUT');
-      payinfo_input.setAttribute('name', 'payinfo'+rownum);
-      payinfo_input.setAttribute('size', 10);
-      payinfo_cell.appendChild(payinfo_input);
-    row.appendChild(payinfo_cell);
-
-    var error_cell = document.createElement('TD');
-    error_cell.style.backgroundColor = '#e8e8e8';
-    row.appendChild(error_cell);
-
-    tablebody.appendChild(row);
-
-    rownum++;
-
-  }
-
-</SCRIPT>
-
-</BODY>
-</HTML>
diff --git a/httemplate/misc/bill.cgi b/httemplate/misc/bill.cgi
deleted file mode 100755 (executable)
index 44d85b8..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<%
-
-#untaint custnum
-my($query) = $cgi->keywords;
-$query =~ /^(\d*)$/;
-my $custnum = $1;
-my $cust_main = qsearchs('cust_main',{'custnum'=>$custnum});
-die "Can't find customer!\n" unless $cust_main;
-
-my $error = $cust_main->bill(
-#                          'time'=>$time
-                         );
-#&eidiot($error) if $error;
-
-unless ( $error ) {
-  $cust_main->apply_payments;
-  $cust_main->apply_credits;
-
-  $error = $cust_main->collect(
-  #                             'invoice-time'=>$time,
-                               #'batch_card'=> 'yes',
-                               #'batch_card'=> 'no',
-                               #'report_badcard'=> 'yes',
-                               #'retry_card' => 'yes',
-                               'retry' => 'yes',
-                              );
-}
-#&eidiot($error) if $error;
-
-if ( $error ) {
-%>
-<!-- mason kludge -->
-<%
-  &idiot($error);
-} else {
-  print $cgi->redirect(popurl(2). "view/cust_main.cgi?$custnum");
-}
-%>
diff --git a/httemplate/misc/cancel-unaudited.cgi b/httemplate/misc/cancel-unaudited.cgi
deleted file mode 100755 (executable)
index 43e439b..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<%
-
-my $dbh = dbh;
-#untaint svcnum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-
-#my $svc_acct = qsearchs('svc_acct',{'svcnum'=>$svcnum});
-#die "Unknown svcnum!" unless $svc_acct;
-
-my $cust_svc = qsearchs('cust_svc',{'svcnum'=>$svcnum});
-die "Unknown svcnum!" unless $cust_svc;
-my $cust_pkg = $cust_svc->cust_pkg;
-if ( $cust_pkg ) {
-  &eidiot( 'This account has already been audited.  Cancel the '.
-           qq!<A HREF="${p}view/cust_main.cgi?!. $cust_pkg->custnum.
-           '#cust_pkg'. $cust_pkg->pkgnum. '">'.
-           'package</A> instead.');
-}
-
-my $error = $cust_svc->cancel;
-
-if ( $error ) {
-  %>
-<!-- mason kludge -->
-<%
-  &eidiot($error);
-} else {
-  print $cgi->redirect(popurl(2));
-}
-
-%>
diff --git a/httemplate/misc/cancel_pkg.cgi b/httemplate/misc/cancel_pkg.cgi
deleted file mode 100755 (executable)
index 0487677..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%
-
-#untaint pkgnum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal pkgnum";
-my $pkgnum = $1;
-
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-
-my $error = $cust_pkg->cancel;
-eidiot($error) if $error;
-
-print $cgi->redirect($p. "view/cust_main.cgi?".$cust_pkg->getfield('custnum'));
-
-%>
diff --git a/httemplate/misc/catchall.cgi b/httemplate/misc/catchall.cgi
deleted file mode 100755 (executable)
index 3402b61..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-
-my($svc_domain, $svcnum, $pkgnum, $svcpart, $part_svc);
-if ( $cgi->param('error') ) {
-  $svc_domain = new FS::svc_domain ( {
-    map { $_, scalar($cgi->param($_)) } fields('svc_domain')
-  } );
-  $svcnum = $svc_domain->svcnum;
-  $pkgnum = $cgi->param('pkgnum');
-  $svcpart = $cgi->param('svcpart');
-  $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-  die "No part_svc entry!" unless $part_svc;
-} else {
-  my($query) = $cgi->keywords;
-  if ( $query =~ /^(\d+)$/ ) { #editing
-    $svcnum=$1;
-    $svc_domain=qsearchs('svc_domain',{'svcnum'=>$svcnum})
-      or die "Unknown (svc_domain) svcnum!";
-
-    my($cust_svc)=qsearchs('cust_svc',{'svcnum'=>$svcnum})
-      or die "Unknown (cust_svc) svcnum!";
-
-    $pkgnum=$cust_svc->pkgnum;
-    $svcpart=$cust_svc->svcpart;
-  
-    $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
-    die "No part_svc entry!" unless $part_svc;
-
-  } else { 
-
-    die "Invalid (svc_domain) svcnum!";
-
-  }
-}
-
-my %email;
-if ($pkgnum) {
-
-  #find all possible user svcnums (and emails)
-
-  #starting with that currently attached
-  if ($svc_domain->catchall) {
-    my($svc_acct)=qsearchs('svc_acct',{'svcnum'=>$svc_domain->catchall});
-    $email{$svc_domain->catchall} = $svc_acct->email;
-  }
-
-  #and including the rest for this customer
-  my($u_part_svc,@u_acct_svcparts);
-  foreach $u_part_svc ( qsearch('part_svc',{'svcdb'=>'svc_acct'}) ) {
-    push @u_acct_svcparts,$u_part_svc->getfield('svcpart');
-  }
-
-  my($cust_pkg)=qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-  my($custnum)=$cust_pkg->getfield('custnum');
-  my($i_cust_pkg);
-  foreach $i_cust_pkg ( qsearch('cust_pkg',{'custnum'=>$custnum}) ) {
-    my($cust_pkgnum)=$i_cust_pkg->getfield('pkgnum');
-    my($acct_svcpart);
-    foreach $acct_svcpart (@u_acct_svcparts) {   #now find the corresponding 
-                                              #record(s) in cust_svc ( for this
-                                              #pkgnum ! )
-      my($i_cust_svc);
-      foreach $i_cust_svc ( qsearch('cust_svc',{'pkgnum'=>$cust_pkgnum,'svcpart'=>$acct_svcpart}) ) {
-        my($svc_acct)=qsearchs('svc_acct',{'svcnum'=>$i_cust_svc->getfield('svcnum')});
-        $email{$svc_acct->getfield('svcnum')}=$svc_acct->email;
-      }  
-    }
-  }
-
-} else {
-
-  my($svc_acct)=qsearchs('svc_acct',{'svcnum'=>$svc_domain->catchall});
-  $email{$svc_domain->catchall} = $svc_acct->email;
-}
-
-# add an absence of a catchall
-$email{''} = "(none)";
-
-my $p1 = popurl(1);
-print header("Domain Catchall Edit", '');
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print qq!<FORM ACTION="${p1}process/catchall.cgi" METHOD=POST>!;
-
-#display
-
-       #formatting
-       print "<PRE>";
-
-#svcnum
-print qq!<INPUT TYPE="hidden" NAME="svcnum" VALUE="$svcnum">!;
-print qq!Service #<FONT SIZE=+1><B>!, $svcnum ? $svcnum : " (NEW)", "</B></FONT>";
-
-#pkgnum
-print qq!<INPUT TYPE="hidden" NAME="pkgnum" VALUE="$pkgnum">!;
-#svcpart
-print qq!<INPUT TYPE="hidden" NAME="svcpart" VALUE="$svcpart">!;
-
-my($domain,$catchall)=(
-  $svc_domain->domain,
-  $svc_domain->catchall,
-);
-
-print qq!<INPUT TYPE="hidden" NAME="domain" VALUE="$domain">!;
-
-#catchall
-print qq!\n\nMail to <I>(anything)</I>@<B>$domain</B> forwards to <SELECT NAME="catchall" SIZE=1>!;
-foreach $_ (keys %email) {
-  print "<OPTION", $_ eq $catchall ? " SELECTED" : "",
-        qq! VALUE="$_">$email{$_}!;
-}
-print "</SELECT>";
-
-       #formatting
-       print "</PRE>\n";
-
-print qq!<CENTER><INPUT TYPE="submit" VALUE="Submit"></CENTER>!;
-
-print <<END;
-
-    </FORM>
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/misc/change_pkg.cgi b/httemplate/misc/change_pkg.cgi
deleted file mode 100755 (executable)
index 5346fd9..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $pkgnum;
-if ( $cgi->param('error') ) {
-  #$custnum = $cgi->param('custnum');
-  #%remove_pkg = map { $_ => 1 } $cgi->param('remove_pkg');
-  $pkgnum = ($cgi->param('remove_pkg'))[0];
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/;
-  #$custnum = $1;
-  $pkgnum = $1;
-  #%remove_pkg = ();
-}
-
-my $cust_pkg = qsearchs( 'cust_pkg', { 'pkgnum' => $pkgnum } )
-  or die "unknown pkgnum $pkgnum";
-my $custnum = $cust_pkg->custnum;
-
-my $conf = new FS::Conf;
-
-my $p1 = popurl(1);
-
-my $cust_main = $cust_pkg->cust_main
-  or die "can't get cust_main record for custnum ". $cust_pkg->custnum.
-         " ( pkgnum ". cust_pkg->pkgnum. ")";
-my $agent = $cust_main->agent;
-
-print header("Change Package",  menubar(
-  "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-  'Main Menu' => $p,
-));
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT><BR><BR>"
-  if $cgi->param('error');
-
-my $part_pkg = $cust_pkg->part_pkg;
-
-print small_custview( $cust_main, $conf->config('countrydefault') ).
-      qq!<FORM ACTION="${p}edit/process/cust_pkg.cgi" METHOD=POST>!.
-      qq!<INPUT TYPE="hidden" NAME="custnum" VALUE="$custnum">!.
-      qq!<INPUT TYPE="hidden" NAME="remove_pkg" VALUE="$pkgnum">!.
-      '<BR>Current package: '. $part_pkg->pkg. ' - '. $part_pkg->comment.
-      qq!<BR>New package: <SELECT NAME="new_pkgpart"><OPTION VALUE=0></OPTION>!;
-
-foreach my $part_pkg (
-  grep { ! $_->disabled && $_->pkgpart != $cust_pkg->pkgpart }
-    map { $_->part_pkg } $agent->agent_type->type_pkgs
-) {
-  my $pkgpart = $part_pkg->pkgpart;
-  print qq!<OPTION VALUE="$pkgpart"!;
-  print ' SELECTED' if $cgi->param('error')
-                       && $cgi->param('new_pkgpart') == $pkgpart;
-  print qq!>$pkgpart: !. $part_pkg->pkg. ' - '. $part_pkg->comment. '</OPTION>';
-}
-
-print <<END;
-</SELECT>
-<BR><BR><INPUT TYPE="submit" VALUE="Change package">
-    </FORM>
-  </BODY>
-</HTML>
-END
-%>
diff --git a/httemplate/misc/counties.cgi b/httemplate/misc/counties.cgi
deleted file mode 100644 (file)
index 80ae616..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<%
-
-  my( $state, $country ) = $cgi->param('arg');
-
-  my @counties = 
-     sort
-     map { s/[\n\r]//g; $_; }
-     map { $_->county; }
-     qsearch( 'cust_main_county',
-              { 'state'   => $state,
-                'country' => $country,
-              },
-            )
-  ;
-
-
-%>[ <%= join(', ', map { qq("$_") } @counties) %> ]
diff --git a/httemplate/misc/cust_main-cancel.cgi b/httemplate/misc/cust_main-cancel.cgi
deleted file mode 100755 (executable)
index 519e6c2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<%
-
-my $custnum;
-my $ban = '';
-if ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
-  $custnum = $1;
-  $ban = $cgi->param('ban');
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/ || die "Illegal custnum";
-  $custnum = $1;
-}
-
-my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } );
-
-my @errors = $cust_main->cancel( 'ban' => $ban );
-eidiot(join(' / ', @errors)) if scalar(@errors);
-
-#print $cgi->redirect($p. "view/cust_main.cgi?". $cust_main->custnum);
-print $cgi->redirect($p);
-
-%>
diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi
deleted file mode 100644 (file)
index 6b36f47..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!-- mason kludge -->
-<%= header('Batch Customer Import') %>
-<FORM ACTION="process/cust_main-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
-Import a CSV file containing customer records.<BR><BR>
-Default file format is CSV, with the following field order: <i>cust_pkg.setup, dayphone, first, last, address1, address2, city, state, zip, comments</i><BR><BR>
-
-<%
-  #false laziness with edit/cust_main.cgi
-  my @agents = qsearch( 'agent', {} );
-  die "No agents created!" unless @agents;
-  my $agentnum = $agents[0]->agentnum; #default to first
-
-  if ( scalar(@agents) == 1 ) {
-%>
-    <INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agentnum %>">
-<% } else { %>
-    <BR><BR>Agent <SELECT NAME="agentnum" SIZE="1">
-  <% foreach my $agent (sort { $a->agent cmp $b->agent } @agents) { %>
-    <OPTION VALUE="<%= $agent->agentnum %>" <%= " SELECTED"x($agent->agentnum==$agentnum) %>><%= $agent->agent %></OPTION>
-  <% } %>
-    </SELECT><BR><BR>
-<% } %>
-
-<%
-  my @referrals = qsearch('part_referral',{});
-  die "No advertising sources created!" unless @referrals;
-  my $refnum = $referrals[0]->refnum; #default to first
-
-  if ( scalar(@referrals) == 1 ) {
-%>
-    <INPUT TYPE="hidden" NAME="refnum" VALUE="<%= $refnum %>">
-<% } else { %>
-    <BR><BR>Advertising source <SELECT NAME="refnum" SIZE="1">
-  <% foreach my $referral ( sort { $a->referral <=> $b->referral } @referrals) { %>
-    <OPTION VALUE="<%= $referral->refnum %>" <%= " SELECTED"x($referral->refnum==$refnum) %>><%= $referral->refnum %>: <%= $referral->referral %></OPTION>
-  <% } %>
-    </SELECT><BR><BR>
-<% } %>
-
-    First package: <SELECT NAME="pkgpart"><OPTION VALUE="">(none)</OPTION>
-<% foreach my $part_pkg ( qsearch('part_pkg',{'disabled'=>'' }) ) { %>
-     <OPTION VALUE="<%= $part_pkg->pkgpart %>"><%= $part_pkg->pkg. ' - '. $part_pkg->comment %></OPTION>
-<% } %>
-</SELECT><BR><BR>
-
-    CSV Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR>
-    <INPUT TYPE="submit" VALUE="Import">
-    </FORM>
-  </BODY>
-<HTML>
-
diff --git a/httemplate/misc/cust_main-import_charges.cgi b/httemplate/misc/cust_main-import_charges.cgi
deleted file mode 100644 (file)
index 0822b9e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<!-- mason kludge -->
-<%= header('Batch Customer Charge') %>
-<FORM ACTION="process/cust_main-import_charges.cgi" METHOD="post" ENCTYPE="multipart/form-data">
-Import a CSV file containing customer charges.<BR><BR>
-Default file format is CSV, with the following field order: <i>custnum, amount, description</i><BR><BR>
-If <i>amount</i> is negative, a credit will be applied instead.<BR><BR>
-<BR><BR>
-
-    CSV Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR>
-    <INPUT TYPE="submit" VALUE="Import">
-    </FORM>
-  </BODY>
-<HTML>
-
diff --git a/httemplate/misc/delete-cust_credit.cgi b/httemplate/misc/delete-cust_credit.cgi
deleted file mode 100755 (executable)
index 30de04d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<%
-
-#untaint crednum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal crednum";
-my $crednum = $1;
-
-my $cust_credit = qsearchs('cust_credit',{'crednum'=>$crednum});
-my $custnum = $cust_credit->custnum;
-
-my $error = $cust_credit->delete;
-eidiot($error) if $error;
-
-print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
-
-%>
diff --git a/httemplate/misc/delete-cust_pay.cgi b/httemplate/misc/delete-cust_pay.cgi
deleted file mode 100755 (executable)
index 3efd918..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<%
-
-#untaint paynum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal paynum";
-my $paynum = $1;
-
-my $cust_pay = qsearchs('cust_pay',{'paynum'=>$paynum});
-my $custnum = $cust_pay->custnum;
-
-my $error = $cust_pay->delete;
-eidiot($error) if $error;
-
-print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
-
-%>
diff --git a/httemplate/misc/delete-customer.cgi b/httemplate/misc/delete-customer.cgi
deleted file mode 100755 (executable)
index 4302317..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-die "Customer deletions not enabled" unless $conf->exists('deletecustomers');
-
-my($custnum, $new_custnum);
-if ( $cgi->param('error') ) {
-  $custnum = $cgi->param('custnum');
-  $new_custnum = $cgi->param('new_custnum');
-} else {
-  my($query) = $cgi->keywords;
-  $query =~ /^(\d+)$/ or die "Illegal query: $query";
-  $custnum = $1;
-  $new_custnum = '';
-}
-my $cust_main = qsearchs( 'cust_main', { 'custnum' => $custnum } )
-  or die "Customer not found: $custnum";
-
-print header('Delete customer');
-
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
-      "</FONT>"
-  if $cgi->param('error');
-
-print 
-  qq!<form action="!, popurl(1), qq!process/delete-customer.cgi" method=post>!,
-  qq!<input type="hidden" name="custnum" value="$custnum">!;
-
-if ( qsearch('cust_pkg', { 'custnum' => $custnum, 'cancel' => '' } ) ) {
-  print "Move uncancelled packages to customer number ",
-        qq!<input type="text" name="new_custnum" value="$new_custnum"><br><br>!;
-}
-
-print <<END;
-This will <b>completely remove</b> all traces of this customer record.  This
-is <B>not</B> what you want if this is a real customer who has simply
-canceled service with you.  For that, cancel all of the customer's packages.
-(you can optionally hide cancelled customers with the <a href="../config/config-view.cgi#hidecancelledcustomers">hidecancelledcustomers</a> configuration option)
-<br>
-<br>Are you <b>absolutely sure</b> you want to delete this customer?
-<br><input type="submit" value="Yes">
-</form></body></html>
-END
-
-#Deleting a customer you have financial records on (i.e. credits) is
-#typically considered fraudulant bookkeeping.  Remember, deleting   
-#customers should ONLY be used for completely bogus records.  You should
-#NOT delete real customers who simply discontinue service.
-#
-#For real customers who simply discontinue service, cancel all of the
-#customer's packages.  Customers with all cancelled packages are not  
-#billed.  There is no need to take further action to prevent billing on
-#customers with all cancelled packages.
-#
-#Also see the "hidecancelledcustomers" and "hidecancelledpackages"
-#configuration options, which will allow you to surpress the display of
-#cancelled customers and packages, respectively.
-
-%>
diff --git a/httemplate/misc/delete-domain_record.cgi b/httemplate/misc/delete-domain_record.cgi
deleted file mode 100755 (executable)
index dcc2d50..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%
-
-#untaint recnum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal recnum";
-my $recnum = $1;
-
-my $domain_record = qsearchs('domain_record',{'recnum'=>$recnum});
-
-my $error = $domain_record->delete;
-eidiot($error) if $error;
-
-print $cgi->redirect($p. "view/svc_domain.cgi?". $domain_record->svcnum);
-
-%>
diff --git a/httemplate/misc/delete-part_export.cgi b/httemplate/misc/delete-part_export.cgi
deleted file mode 100755 (executable)
index 7c4ab8b..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%
-
-#untaint exportnum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal exportnum";
-my $exportnum = $1;
-
-my $part_export = qsearchs('part_export',{'exportnum'=>$exportnum});
-
-my $error = $part_export->delete;
-eidiot($error) if $error;
-
-print $cgi->redirect($p. "browse/part_export.cgi");
-
-%>
diff --git a/httemplate/misc/download-batch.cgi b/httemplate/misc/download-batch.cgi
deleted file mode 100644 (file)
index 306ef5d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<%
-
-#http_header('Content-Type' => 'text/comma-separated-values' ); #IE chokes
-http_header('Content-Type' => 'text/plain' );
-
-for my $cust_pay_batch ( sort { $a->paybatchnum <=> $b->paybatchnum }
-                              qsearch('cust_pay_batch', {} )
-) {
-
-$cust_pay_batch->exp =~ /^\d{2}(\d{2})[\/\-](\d+)[\/\-]\d+$/;
-my( $mon, $y ) = ( $2, $1 );
-$mon = "0$mon" if $mon < 10;
-my $exp = "$mon$y";
-
-%>,,,,<%= $cust_pay_batch->cardnum %>,<%= $exp %>,<%= $cust_pay_batch->amount %>,<%= $cust_pay_batch->paybatchnum %>
-<% } %>
diff --git a/httemplate/misc/dump.cgi b/httemplate/misc/dump.cgi
deleted file mode 100644 (file)
index dc1323b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-  if ( driver_name =~ /^Pg$/ ) {
-    my $dbname = (split(':', datasrc))[2];
-    if ( $dbname =~ /[;=]/ ) {
-      my %elements = map { /^(\w+)=(.*)$/; $1=>$2 } split(';', $dbname);
-      $dbname = $elements{'dbname'};
-    }
-    open(DUMP,"pg_dump $dbname |");
-  } else {
-    eidiot "don't (yet) know how to dump ". driver_name. " databases\n";
-  }
-
-  http_header('Content-Type' => 'text/plain' );
-
-  while (<DUMP>) {
-    print $_;
-  }
-  close DUMP;
-%>
diff --git a/httemplate/misc/email-invoice.cgi b/httemplate/misc/email-invoice.cgi
deleted file mode 100755 (executable)
index ad9ba1a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<%
-
-#untaint invnum
-my($query) = $cgi->keywords;
-$query =~ /^((.+)-)?(\d+)$/;
-my $template = $2;
-my $invnum = $3;
-my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
-die "Can't find invoice!\n" unless $cust_bill;
-
-$cust_bill->email($template); 
-
-my $custnum = $cust_bill->getfield('custnum');
-
-print $cgi->redirect("${p}view/cust_main.cgi?$custnum");
-
-%>
diff --git a/httemplate/misc/email_invoice_events.cgi b/httemplate/misc/email_invoice_events.cgi
deleted file mode 100644 (file)
index 12d58d6..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<%
-
-my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reemail';
-$server->process;
-
-%>
diff --git a/httemplate/misc/email_invoices.cgi b/httemplate/misc/email_invoices.cgi
deleted file mode 100644 (file)
index 0a39783..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<%
-
-my $server = new FS::UI::Web::JSRPC 'FS::cust_bill::process_reemail';
-$server->process;
-
-%>
diff --git a/httemplate/misc/expire_pkg.cgi b/httemplate/misc/expire_pkg.cgi
deleted file mode 100755 (executable)
index b59674a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $pkgnum = $1;
-
-#get package record
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-die "Unknown pkgnum $pkgnum" unless $cust_pkg;
-my $part_pkg = $cust_pkg->part_pkg;
-
-my $custnum = $cust_pkg->getfield('custnum');
-
-my $date = $cust_pkg->expire ? time2str('%D', $cust_pkg->expire) : '';
-
-%>
-
-<%= header('Expire package', menubar(
-  "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-  'Main Menu' => popurl(2)
-)) %>
-
-<LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
-
-<%= $pkgnum %>: <%= $part_pkg->pkg. ' - '. $part_pkg->comment %>
-
-<FORM NAME="formname" ACTION="process/expire_pkg.cgi" METHOD="post">
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%= $pkgnum %>">
-<TABLE>
-  <TR>
-    <TD>Cancel package on </TD>
-    <TD><INPUT TYPE="text" NAME="date" ID="expire_date" VALUE="<%= $date %>">
-        <IMG SRC="<%= $p %>images/calendar.png" ID="expire_button" STYLE="cursor:pointer" TITLE="Select date">
-        <BR><I>m/d/y</I>
-    </TD>
-  </TR>
-</TABLE>
-
-<SCRIPT TYPE="text/javascript">
-  Calendar.setup({
-    inputField: "expire_date",
-    ifFormat:   "%m/%d/%Y",
-    button:     "expire_button",
-    align:      "BR"
-  });
-</SCRIPT>
-
-<INPUT TYPE="submit" VALUE="Cancel later">
-</FORM>
-</BODY>
-</HTML>
diff --git a/httemplate/misc/fax-invoice.cgi b/httemplate/misc/fax-invoice.cgi
deleted file mode 100755 (executable)
index 94fee2c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<%
-
-#untaint invnum
-my($query) = $cgi->keywords;
-$query =~ /^((.+)-)?(\d+)$/;
-my $template = $2;
-my $invnum = $3;
-my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
-die "Can't find invoice!\n" unless $cust_bill;
-
-$cust_bill->fax($template);
-
-my $custnum = $cust_bill->getfield('custnum');
-
-print $cgi->redirect("${p}view/cust_main.cgi?$custnum");
-
-%>
diff --git a/httemplate/misc/fax_invoice_events.cgi b/httemplate/misc/fax_invoice_events.cgi
deleted file mode 100644 (file)
index a8ded05..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<%
-
-my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_refax';
-$server->process;
-
-%>
diff --git a/httemplate/misc/fax_invoices.cgi b/httemplate/misc/fax_invoices.cgi
deleted file mode 100644 (file)
index f16ba8b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<%
-
-my $server = new FS::UI::Web::JSRPC 'FS::cust_bill::process_refax';
-$server->process;
-
-%>
diff --git a/httemplate/misc/link.cgi b/httemplate/misc/link.cgi
deleted file mode 100755 (executable)
index 18cd378..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my %link_field = (
-  'svc_acct'    => 'username',
-  'svc_domain'  => 'domain',
-);
-
-my %link_field2 = (
-  'svc_acct'    => { label => 'Domain',
-                     field => 'domsvc',
-                     type  => 'select',
-                     select_table => 'svc_domain',
-                     select_key   => 'svcnum',
-                     select_label => 'domain'
-                   },
-);
-
-my($query) = $cgi->keywords;
-my($pkgnum, $svcpart) = ('', '');
-foreach $_ (split(/-/,$query)) { #get & untaint pkgnum & svcpart
-  $pkgnum=$1 if /^pkgnum(\d+)$/;
-  $svcpart=$1 if /^svcpart(\d+)$/;
-}
-
-my $part_svc = qsearchs('part_svc',{'svcpart'=>$svcpart});
-my $svc = $part_svc->getfield('svc');
-my $svcdb = $part_svc->getfield('svcdb');
-my $link_field = $link_field{$svcdb};
-my $link_field2 = $link_field2{$svcdb};
-
-%>
-
-<%= header("Link to existing $svc") %>
-<FORM ACTION="<%= popurl(1) %>process/link.cgi" METHOD=POST>
-
-<% if ( $link_field ) { %>
-  <INPUT TYPE="hidden" NAME="svcnum" VALUE="">
-  <INPUT TYPE="hidden" NAME="link_field" VALUE="<%= $link_field %>">
-  <%= $link_field %> of existing service: <INPUT TYPE="text" NAME="link_value">
-  <BR>
-  <% if ( $link_field2 ) { %>
-    <INPUT TYPE="hidden" NAME="link_field2" VALUE="<%= $link_field2->{field} %>">
-    <%= $link_field2->{'label'} %> of existing service: 
-    <% if ( $link_field2->{'type'} eq 'select' ) { %>
-      <% if ( $link_field2->{'select_table'} ) { %>
-        <SELECT NAME="link_value2">
-        <OPTION> </OPTION>
-        <% foreach my $r ( qsearch( $link_field2->{'select_table'}, {})) { %>
-          <% my $key = $link_field2->{'select_key'}; %>
-          <% my $label = $link_field2->{'select_label'}; %>
-          <OPTION VALUE="<%= $r->$key() %>"><%= $r->$label() %></OPTION>
-        <% } %>
-        </SELECT>
-      <% } else { %>
-        Don't know how to process secondary link field for <%= $svcdb %>
-        (type=>select but no select_table)
-      <% } %>
-    <% } else { %>
-      Don't know how to process secondary link field for <%= $svcdb %>
-        (unknown type <%= $link_field2->{'type'} %>)
-    <% } %>
-    <BR>
-  <% } %>
-<% } else { %>
-  Service # of existing service: <INPUT TYPE="text" NAME="svcnum" VALUE="">
-<% } %>
-
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%= $pkgnum %>">
-<INPUT TYPE="hidden" NAME="svcpart" VALUE="<%= $svcpart %>">
-<BR><INPUT TYPE="submit" VALUE="Link">
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/misc/meta-import.cgi b/httemplate/misc/meta-import.cgi
deleted file mode 100644 (file)
index 2f3b738..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<!-- mason kludge -->
-<%= header('Import') %>
-<FORM ACTION="process/meta-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
-Import data from a DBI data source<BR><BR>
-
-<%
-  #false laziness with edit/cust_main.cgi
-  my @agents = qsearch( 'agent', {} );
-  die "No agents created!" unless @agents;
-  my $agentnum = $agents[0]->agentnum; #default to first
-
-  if ( scalar(@agents) == 1 ) {
-%>
-    <INPUT TYPE="hidden" NAME="agentnum" VALUE="<%= $agentnum %>">
-<% } else { %>
-    <BR><BR>Agent <SELECT NAME="agentnum" SIZE="1">
-  <% foreach my $agent (sort { $a->agent cmp $b->agent } @agents) { %>
-    <OPTION VALUE="<%= $agent->agentnum %>" <%= " SELECTED"x($agent->agentnum==$agentnum) %>><%= $agent->agent %></OPTION>
-  <% } %>
-    </SELECT><BR><BR>
-<% } %>
-
-<%
-  my @referrals = qsearch('part_referral',{});
-  die "No advertising sources created!" unless @referrals;
-  my $refnum = $referrals[0]->refnum; #default to first
-
-  if ( scalar(@referrals) == 1 ) {
-%>
-    <INPUT TYPE="hidden" NAME="refnum" VALUE="<%= $refnum %>">
-<% } else { %>
-    <BR><BR>Advertising source <SELECT NAME="refnum" SIZE="1">
-  <% foreach my $referral ( sort { $a->referral <=> $b->referral } @referrals) { %>
-    <OPTION VALUE="<%= $referral->refnum %>" <%= " SELECTED"x($referral->refnum==$refnum) %>><%= $referral->refnum %>: <%= $referral->referral %></OPTION>
-  <% } %>
-    </SELECT><BR><BR>
-<% } %>
-
-    First package: <SELECT NAME="pkgpart"><OPTION VALUE="">(none)</OPTION>
-<% foreach my $part_pkg ( qsearch('part_pkg',{'disabled'=>'' }) ) { %>
-     <OPTION VALUE="<%= $part_pkg->pkgpart %>"><%= $part_pkg->pkg. ' - '. $part_pkg->comment %></OPTION>
-<% } %>
-</SELECT><BR><BR>
-
-  <table>
-    <tr>
-      <td align="right">DBI data source: </td>
-      <td><INPUT TYPE="text" NAME="data_source"></td>
-    </tr>
-    <tr>
-      <td align="right">DBI username: </td>
-      <td><INPUT TYPE="text" NAME="username"></td>
-    </tr>
-    <tr>
-      <td align="right">DBI password: </td>
-      <td><INPUT TYPE="text" NAME="password"></td>
-    </tr>
-  </table>
-  <INPUT TYPE="submit" VALUE="Import">
-
-  </FORM>
-  </BODY>
-<HTML>
-
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi
deleted file mode 100644 (file)
index d4fb4a2..0000000
+++ /dev/null
@@ -1,209 +0,0 @@
-<%
-   my %type = ( 'CARD' => 'credit card',
-                'CHEK' => 'electronic check (ACH)',
-              );
-
-   $cgi->param('payby') =~ /^(CARD|CHEK)$/
-     or die "unknown payby ". $cgi->param('payby');
-   my $payby = $1;
-
-   $cgi->param('custnum') =~ /^(\d+)$/
-     or die "illegal custnum ". $cgi->param('custnum');
-   my $custnum = $1;
-
-   my $cust_main = qsearchs( 'cust_main', { 'custnum'=>$custnum } );
-   die "unknown custnum $custnum" unless $cust_main;
-
-   my $balance = $cust_main->balance;
-
-   my $payinfo = '';
-
-   #false laziness w/selfservice make_payment.html shortcut for one-country
-   my $conf = new FS::Conf;
-   my %states = map { $_->state => 1 }
-                  qsearch('cust_main_county', {
-                    'country' => $conf->config('countrydefault') || 'US'
-                  } );
-   my @states = sort { $a cmp $b } keys %states;
-
-   my $paybatch = "webui-payment-". time. "-$$-". rand() * 2**32;
-
-%>
-<%= include( '/elements/header.html', "Process $type{$payby} payment" ) %>
-<%= include( '/elements/small_custview.html', $cust_main ) %>
-<FORM NAME="OneTrueForm" ACTION="process/payment.cgi" METHOD="POST" onSubmit="document.OneTrueForm.process.disabled=true">
-<INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $custnum %>">
-<INPUT TYPE="hidden" NAME="payby" VALUE="<%= $payby %>">
-<INPUT TYPE="hidden" NAME="paybatch" VALUE="<%= $paybatch %>">
-<SCRIPT>
-var mywindow = -1;
-function myopen(filename,windowname,properties) {
-  myclose();
-  mywindow = window.open(filename,windowname,properties);
-}
-function myclose() {
-  if ( mywindow != -1 )
-    mywindow.close();
-  mywindow = -1;
-}
-var achwindow = -1;
-function achopen(filename,windowname,properties) {
-  achclose();
-  achwindow = window.open(filename,windowname,properties);
-}
-function achclose() {
-  if ( achwindow != -1 )
-    achwindow.close();
-  achwindow = -1;
-}
-</SCRIPT>
-<% #include( '/elements/table.html', '#cccccc' ) %>
-<%= ntable('#cccccc') %>
-  <TR>
-    <TD ALIGN="right">Payment amount</TD>
-    <TD>
-      <TABLE><TR><TD BGCOLOR="#ffffff">
-        $<INPUT TYPE="text" NAME="amount" SIZE=8 VALUE="<%= $balance > 0 ? sprintf("%.2f", $balance) : '' %>">
-      </TD></TR></TABLE>
-    </TD>
-  </TR>
-<% if ( $payby eq 'CARD' ) {
-     my( $payinfo, $paycvv, $month, $year ) = ( '', '', '', '' );
-     my $payname = $cust_main->first. ' '. $cust_main->getfield('last');
-     my $address1 = $cust_main->address1;
-     my $address2 = $cust_main->address2;
-     my $city     = $cust_main->city;
-     my $state    = $cust_main->state;
-     my $zip     = $cust_main->zip;
-     if ( $cust_main->payby =~ /^(CARD|DCRD)$/ ) {
-       $payinfo = $cust_main->payinfo;
-       $paycvv = $cust_main->paycvv;
-       ( $month, $year ) = $cust_main->paydate_monthyear;
-       $payname = $cust_main->payname if $cust_main->payname;
-     }
-%>
-  <TR>
-    <TD ALIGN="right">Card&nbsp;number</TD>
-    <TD>
-      <TABLE>
-        <TR>
-          <TD>
-            <INPUT TYPE="text" NAME="payinfo" SIZE=20 MAXLENGTH=19 VALUE="<%=$payinfo%>"> </TD>
-          <TD>Exp.</TD>
-          <TD>
-            <SELECT NAME="month">
-              <% for ( ( map "0$_", 1 .. 9 ), 10 .. 12 ) { %>
-                <OPTION<%= $_ == $month ? ' SELECTED' : '' %>><%= $_ %>
-              <% } %>
-            </SELECT>
-          </TD>
-          <TD> / </TD>
-          <TD>
-            <SELECT NAME="year">
-              <% my @a = localtime; for ( $a[5]+1900 .. $a[5]+1915 ) { %>
-                <OPTION<%= $_ == $year ? ' SELECTED' : '' %>><%= $_ %>
-              <% } %>
-            </SELECT>
-          </TD>
-        </TR>
-      </TABLE>
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">CVV2</TD>
-    <TD><INPUT TYPE="text" NAME="paycvv" VALUE="<%= $paycvv %>" SIZE=4 MAXLENGTH=4>
-        (<A HREF="javascript:myopen('../docs/cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Exact&nbsp;name&nbsp;on&nbsp;card</TD>
-    <TD><INPUT TYPE="text" SIZE=32 MAXLENGTH=80 NAME="payname" VALUE="<%=$payname%>"></TD>
-  </TR><TR>
-    <TD ALIGN="right">Card&nbsp;billing&nbsp;address</TD>
-    <TD>
-      <INPUT TYPE="text" SIZE=40 MAXLENGTH=80 NAME="address1" VALUE="<%=$address1%>">
-    </TD>
-  </TR><TR>
-    <TD ALIGN="right">Address&nbsp;line&nbsp;2</TD>
-    <TD>
-      <INPUT TYPE="text" SIZE=40 MAXLENGTH=80 NAME="address2" VALUE="<%=$address2%>">
-    </TD>
-  </TR><TR>
-    <TD ALIGN="right">City</TD>
-    <TD>
-      <TABLE>
-        <TR>
-          <TD>
-            <INPUT TYPE="text" NAME="city" SIZE="12" MAXLENGTH=80 VALUE="<%=$city%>">
-          </TD>
-          <TD>State</TD>
-          <TD>
-            <SELECT NAME="state">
-              <% for ( @states ) { %>
-                <OPTION<%= $_ eq $state ? ' SELECTED' : '' %>><%= $_ %> 
-              <% } %>
-            </SELECT>
-          </TD>
-          <TD>Zip</TD>
-          <TD>
-            <INPUT TYPE="text" NAME="zip" SIZE=11 MAXLENGTH=10 VALUE="<%=$zip%>">
-          </TD>
-        </TR>
-      </TABLE>
-    </TD>
-  </TR>
-
-<% } elsif ( $payby eq 'CHEK' ) {
-     my( $payinfo1, $payinfo2, $payname, $ss ) = ( '', '', '', '' );
-     if ( $cust_main->payby =~ /^(CHEK|DCHK)$/ ) {
-       $cust_main->payinfo =~ /^(\d+)\@(\d+)$/
-         or die "unparsable payinfo ". $cust_main->payinfo;
-       ($payinfo1, $payinfo2) = ($1, $2);
-       $payname = $cust_main->payname;
-       $ss = $cust_main->ss;
-     }
-%>
-  <INPUT TYPE="hidden" NAME="month" VALUE="12">
-  <INPUT TYPE="hidden" NAME="year" VALUE="2037">
-  <TR>
-    <TD ALIGN="right">Account&nbsp;number</TD>
-    <TD><INPUT TYPE="text" SIZE=10 NAME="payinfo1" VALUE="<%=$payinfo1%>"></TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">ABA/Routing&nbsp;number</TD>
-    <TD>
-      <INPUT TYPE="text" SIZE=10 MAXLENGTH=9 NAME="payinfo2" VALUE="<%=$payinfo2%>">
-      (<A HREF="javascript:achopen('../docs/ach.html','ach','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=384,height=256')">help</A>)
-    </TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">Bank&nbsp;name</TD>
-    <TD><INPUT TYPE="text" NAME="payname" VALUE="<%=$payname%>"></TD>
-  </TR>
-  <TR>
-    <TD ALIGN="right">
-      Account&nbsp;holder<BR>
-      Social&nbsp;security&nbsp;or&nbsp;tax&nbsp;ID&nbsp;#
-    </TD>
-    <TD><INPUT TYPE="text" NAME="ss" VALUE="<%=$ss%>"></TD>
-  </TR>
-
-<% } %>
-
-<TR>
-  <TD COLSPAN=2>
-    <INPUT TYPE="checkbox" CHECKED NAME="save" VALUE="1">
-    Remember this information
-  </TD>
-</TR><TR>
-  <TD COLSPAN=2>
-    <INPUT TYPE="checkbox"<%= ( ( $payby eq 'CARD' && $cust_main->payby ne 'DCRD' ) || ( $payby eq 'CHEK' && $cust_main->payby eq 'CHEK' ) ) ? ' CHECKED' : '' %> NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }">
-    Charge future payments to this <%= $type{$payby} %> automatically
-  </TD>
-</TR>
-</TABLE>
-<BR>
-<INPUT TYPE="submit" NAME="process" VALUE="Process payment">
-</FORM>
-</BODY>
-</HTML>
diff --git a/httemplate/misc/print-invoice.cgi b/httemplate/misc/print-invoice.cgi
deleted file mode 100755 (executable)
index 6a4c2d7..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<%
-
-#untaint invnum
-my($query) = $cgi->keywords;
-$query =~ /^((.+)-)?(\d+)$/;
-my $template = $2;
-my $invnum = $3;
-my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
-die "Can't find invoice!\n" unless $cust_bill;
-
-$cust_bill->print($template);
-
-my $custnum = $cust_bill->getfield('custnum');
-
-print $cgi->redirect("${p}view/cust_main.cgi?$custnum");
-
-%>
diff --git a/httemplate/misc/print_invoice_events.cgi b/httemplate/misc/print_invoice_events.cgi
deleted file mode 100644 (file)
index c6a7885..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<%
-
-my $server = new FS::UI::Web::JSRPC 'FS::cust_bill_event::process_reprint';
-$server->process;
-
-%>
diff --git a/httemplate/misc/print_invoices.cgi b/httemplate/misc/print_invoices.cgi
deleted file mode 100644 (file)
index d7b271c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<%
-
-my $server = new FS::UI::Web::JSRPC 'FS::cust_bill::process_reprint';
-$server->process;
-
-%>
diff --git a/httemplate/misc/process/batch-cust_pay.cgi b/httemplate/misc/process/batch-cust_pay.cgi
deleted file mode 100644 (file)
index 12d72e8..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-  my $param = $cgi->Vars;
-
-  #my $paybatch = $param->{'paybatch'};
-  my $paybatch = time2str('webbatch-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time);
-
-  my @cust_pay = ();
-  #my $row = 0;
-  #while ( exists($param->{"custnum$row"}) ) {
-  for ( my $row = 0; exists($param->{"custnum$row"}); $row++ ) {
-    push @cust_pay, new FS::cust_pay {
-                                       'custnum'  => $param->{"custnum$row"},
-                                       'paid'     => $param->{"paid$row"},
-                                       'payby'    => 'BILL',
-                                       'payinfo'  => $param->{"payinfo$row"},
-                                       'paybatch' => $paybatch,
-                                     }
-      if    $param->{"custnum$row"}
-         || $param->{"paid$row"}
-         || $param->{"payinfo$row"};
-    #$row++;
-  }
-
-  my @errors = FS::cust_pay->batch_insert(@cust_pay);
-  my $num_errors = scalar(grep $_, @errors);
-
-  if ( $num_errors ) {
-
-    $cgi->param('error', "$num_errors error". ($num_errors>1 ? 's' : '').
-                         ' - Batch not processed, correct and resubmit'
-               );
-
-    my $erow=0;
-    $cgi->param('error'. $erow++, shift @errors) while @errors;
-
-    %><%= $cgi->redirect($p.'batch-cust_pay.html?'. $cgi->query_string)
-
-  %><% } else {
-
-    %><%= $cgi->redirect(popurl(3). "search/cust_pay.cgi?magic=paybatch;paybatch=$paybatch") %>
-
-  <% } %>
diff --git a/httemplate/misc/process/catchall.cgi b/httemplate/misc/process/catchall.cgi
deleted file mode 100755 (executable)
index 44a63f9..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-
-$FS::svc_domain::whois_hack=1;
-
-$cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
-my $svcnum =$1;
-
-my $old = qsearchs('svc_domain',{'svcnum'=>$svcnum}) if $svcnum;
-
-my $new = new FS::svc_domain ( {
-  map {
-    ($_, scalar($cgi->param($_)));
-  } ( fields('svc_domain'), qw( pkgnum svcpart ) )
-} );
-
-$new->setfield('action' => 'M');
-
-my $error;
-if ( $svcnum ) {
-  $error = $new->replace($old);
-} else {
-  $error = $new->insert;
-  $svcnum = $new->getfield('svcnum');
-} 
-
-if ($error) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "catchall.cgi?". $cgi->query_string );
-} else {
-  print $cgi->redirect(popurl(3). "view/svc_domain.cgi?$svcnum");
-}
-
-%>
diff --git a/httemplate/misc/process/cust_main-import.cgi b/httemplate/misc/process/cust_main-import.cgi
deleted file mode 100644 (file)
index 9e1adce..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-
-  my $fh = $cgi->upload('csvfile');
-  #warn $cgi;
-  #warn $fh;
-
-  my $error = defined($fh)
-    ? FS::cust_main::batch_import( {
-        filehandle => $fh,
-        agentnum   => scalar($cgi->param('agentnum')),
-        refnum     => scalar($cgi->param('refnum')),
-        pkgpart    => scalar($cgi->param('pkgpart')),
-        'fields'    => [qw( cust_pkg.setup dayphone first last address1 address2
-                           city state zip comments                          )],
-      } )
-    : 'No file';
-
-  if ( $error ) {
-    %>
-    <!-- mason kludge -->
-    <%
-    eidiot($error);
-#    $cgi->param('error', $error);
-#    print $cgi->redirect( "${p}cust_main-import.cgi
-  } else {
-    %>
-    <!-- mason kludge -->
-    <%= header('Import sucessful') %> <%
-  }
-%>
diff --git a/httemplate/misc/process/cust_main-import_charges.cgi b/httemplate/misc/process/cust_main-import_charges.cgi
deleted file mode 100644 (file)
index 14df1bd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<%
-
-  my $fh = $cgi->upload('csvfile');
-  #warn $cgi;
-  #warn $fh;
-
-  my $error = defined($fh)
-    ? FS::cust_main::batch_charge( {
-        filehandle => $fh,
-        'fields'    => [qw( custnum amount pkg )],
-      } )
-    : 'No file';
-
-  if ( $error ) {
-    %>
-    <!-- mason kludge -->
-    <%
-    eidiot($error);
-#    $cgi->param('error', $error);
-#    print $cgi->redirect( "${p}cust_main-import_charges.cgi
-  } else {
-    %>
-    <!-- mason kludge -->
-    <%= header('Import sucessful') %> <%
-  }
-%>
diff --git a/httemplate/misc/process/delete-customer.cgi b/httemplate/misc/process/delete-customer.cgi
deleted file mode 100755 (executable)
index 16bdbae..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-die "Customer deletions not enabled" unless $conf->exists('deletecustomers');
-
-$cgi->param('custnum') =~ /^(\d+)$/;
-my $custnum = $1;
-my $new_custnum;
-if ( $cgi->param('new_custnum') ) {
-  $cgi->param('new_custnum') =~ /^(\d+)$/
-    or die "Illegal new customer number: ". $cgi->param('new_custnum');
-  $new_custnum = $1;
-} else {
-  $new_custnum = '';
-}
-my $cust_main = qsearchs( 'cust_main', { 'custnum' => $custnum } )
-  or die "Customer not found: $custnum";
-
-my $error = $cust_main->delete($new_custnum);
-
-if ( $error ) {
-  $cgi->param('error', $error);
-  print $cgi->redirect(popurl(2). "delete-customer.cgi?". $cgi->query_string );
-} elsif ( $new_custnum ) {
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$new_custnum");
-} else {
-  print $cgi->redirect(popurl(3));
-}
-%>
diff --git a/httemplate/misc/process/expire_pkg.cgi b/httemplate/misc/process/expire_pkg.cgi
deleted file mode 100755 (executable)
index dc35592..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<%
-
-#untaint date & pkgnum
-
-my $date;
-if ( $cgi->param('date') ) {
-  str2time($cgi->param('date')) =~ /^(\d+)$/ or die "Illegal date";
-  $date=$1;
-} else {
-  $date='';
-}
-
-$cgi->param('pkgnum') =~ /^(\d+)$/ or die "Illegal pkgnum";
-my $pkgnum = $1;
-
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-my %hash = $cust_pkg->hash;
-$hash{expire}=$date;
-my $new = new FS::cust_pkg ( \%hash );
-my $error = $new->replace($cust_pkg);
-&eidiot($error) if $error;
-
-print $cgi->redirect(popurl(3). "view/cust_main.cgi?".$cust_pkg->getfield('custnum'));
-
-%>
diff --git a/httemplate/misc/process/link.cgi b/httemplate/misc/process/link.cgi
deleted file mode 100755 (executable)
index c3d79e2..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<%
-
-my $DEBUG = 0;
-
-$cgi->param('pkgnum') =~ /^(\d+)$/;
-my $pkgnum = $1;
-$cgi->param('svcpart') =~ /^(\d+)$/;
-my $svcpart = $1;
-$cgi->param('svcnum') =~ /^(\d*)$/;
-my $svcnum = $1;
-
-unless ( $svcnum ) {
-  my $part_svc = qsearchs('part_svc',{'svcpart'=>$svcpart});
-  my $svcdb = $part_svc->getfield('svcdb');
-  $cgi->param('link_field') =~ /^(\w+)$/;
-  my $link_field = $1;
-  my %search = ( $link_field => $cgi->param('link_value') );
-  if ( $cgi->param('link_field2') =~ /^(\w+)$/ ) {
-    $search{$1} = $cgi->param('link_value2');
-  }
-
-  my @svc_x = ( sort { ($a->cust_svc->pkgnum > 0) <=> ($b->cust_svc->pkgnum > 0)
-                       or ($b->cust_svc->svcpart == $svcpart)
-                            <=> ($a->cust_svc->svcpart == $svcpart)
-                     }
-                     qsearch( $svcdb, \%search )
-              );
-
-  if ( $DEBUG ) {
-    warn scalar(@svc_x). " candidate accounts found for linking ".
-         "(svcpart $svcpart):\n";
-    foreach my $svc_x ( @svc_x ) {
-      warn "  ". $svc_x->email.
-           " (svcnum ". $svc_x->svcnum. ",".
-           " pkgnum ".  $svc_x->cust_svc->pkgnum. ",".
-           " svcpart ". $svc_x->cust_svc->svcpart. ")\n";
-    }
-  }
-
-  my $svc_x = $svc_x[0];
-
-  eidiot("$link_field not found!") unless $svc_x;
-
-  $svcnum = $svc_x->svcnum;
-
-}
-
-my $old = qsearchs('cust_svc',{'svcnum'=>$svcnum});
-die "svcnum not found!" unless $old;
-my $conf = new FS::Conf;
-my($error, $new);
-if ( $old->pkgnum && ! $conf->exists('legacy_link-steal') ) {
-  $error = "svcnum $svcnum already linked to package ". $old->pkgnum;
-} else {
-  $new = new FS::cust_svc ({
-    'svcnum' => $svcnum,
-    'pkgnum' => $pkgnum,
-    'svcpart' => $svcpart,
-  });
-
-  $error = $new->replace($old);
-}
-
-unless ($error) {
-  #no errors, so let's view this customer.
-  my $custnum = $new->cust_pkg->custnum;
-  print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum".
-                       "#cust_pkg$pkgnum" );
-} else {
-%>
-<!-- mason kludge -->
-<%
-  idiot($error);
-}
-
-%>
diff --git a/httemplate/misc/process/meta-import.cgi b/httemplate/misc/process/meta-import.cgi
deleted file mode 100644 (file)
index 59d236f..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-<!-- mason kludge -->
-<%= header('Map tables') %>
-
-<SCRIPT>
-var gSafeOnload = new Array();
-var gSafeOnsubmit = new Array();
-window.onload = SafeOnload;
-function SafeAddOnLoad(f) {
-  gSafeOnload[gSafeOnload.length] = f;
-}
-function SafeOnload() {
-  for (var i=0;i<gSafeOnload.length;i++)
-    gSafeOnload[i]();
-}
-function SafeAddOnSubmit(f) {
-  gSafeOnsubmit[gSafeOnsubmit.length] = f;
-}
-function SafeOnsubmit() {
-  for (var i=0;i<gSafeOnsubmit.length;i++)
-    gSafeOnsubmit[i]();
-}
-</SCRIPT>
-
-<FORM NAME="OneTrueForm" METHOD="POST" ACTION="meta-import.cgi">
-
-<%
-  #use DBIx::DBSchema;
-  my $schema = new_native DBIx::DBSchema
-                 map { $cgi->param($_) } qw( data_source username password );
-  foreach my $field (qw( data_source username password )) { %>
-    <INPUT TYPE="hidden" NAME=<%= $field %> VALUE="<%= $cgi->param($field) %>">
-  <% }
-
-  my %schema;
-  use Tie::DxHash;
-  tie %schema, 'Tie::DxHash';
-  if ( $cgi->param('schema') ) {
-    my $schema_string = $cgi->param('schema');
-    %> <INPUT TYPE="hidden" NAME="schema" VALUE="<%=$schema_string%>"> <%
-    %schema = map { /^\s*(\w+)\s*=>\s*(\w+)\s*$/
-                      or die "guru meditation #420: $_";
-                    ( $1 => $2 );
-                  }
-              split( /\n/, $schema_string );
-  }
-
-  #first page
-  unless ( $cgi->param('magic') ) { %>
-
-    <INPUT TYPE="hidden" NAME="magic" VALUE="process">
-    <%= hashmaker('schema', [ $schema->tables ],
-                            [ grep !/^h_/, dbdef->tables ],  ) %>
-    <br><INPUT TYPE="submit" VALUE="done">
-    <%
-
-  #second page
-  } elsif ( $cgi->param('magic') eq 'process' ) { %>
-
-    <INPUT TYPE="hidden" NAME="magic" VALUE="process2">
-    <%
-
-    my %unique;
-    foreach my $table ( keys %schema ) {
-
-      my @from_columns = $schema->table($table)->columns;
-      my @fs_columns = dbdef->table($schema{$table})->columns;
-
-      %>
-      <%= hashmaker( $table.'__'.$unique{$table}++,
-                     \@from_columns => \@fs_columns,
-                     $table         =>  $schema{$table}, ) %>
-      <br><hr><br>
-      <%
-
-    }
-
-    %>
-    <br><INPUT TYPE="submit" VALUE="done">
-    <%
-
-  #third (results)
-  } elsif ( $cgi->param('magic') eq 'process2' ) {
-
-    print "<pre>\n";
-
-    my %unique;
-    foreach my $table ( keys %schema ) {
-      ( my $spaces = $table ) =~ s/./ /g;
-      print "'$table' => { 'table' => '$schema{$table}',\n".
-            #(length($table) x ' '). "         'map'   => {\n";
-            "$spaces        'map'   => {\n";
-      my %map = map { /^\s*(\w+)\s*=>\s*(\w+)\s*$/
-                         or die "guru meditation #420: $_";
-                       ( $1 => $2 );
-                     }
-                 split( /\n/, $cgi->param($table.'__'.$unique{$table}++) );
-      foreach ( keys %map ) {
-        print "$spaces                     '$_' => '$map{$_}',\n";
-      }
-      print "$spaces                   },\n";
-      print "$spaces      },\n";
-
-    }
-    print "\n</pre>";
-
-  } else {
-    warn "unrecognized magic: ". $cgi->param('magic');
-  }
-
-  %>
-</FORM>
-</BODY>
-</HTML>
-
-  <%
-  #hashmaker widget
-  sub hashmaker {
-    my($name, $from, $to, $labelfrom, $labelto) = @_;
-    my $fromsize = scalar(@$from);
-    my $tosize = scalar(@$to);
-    "<TABLE><TR><TH>$labelfrom</TH><TH>$labelto</TH></TR><TR><TD>".
-        qq!<SELECT NAME="${name}_from" SIZE=$fromsize>\n!.
-        join("\n", map { qq!<OPTION VALUE="$_">$_</OPTION>! } sort { $a cmp $b } @$from ).
-        "</SELECT>\n<BR>".
-      qq!<INPUT TYPE="button" VALUE="refill" onClick="repack_${name}_from()">!.
-      '</TD><TD>'.
-        qq!<SELECT NAME="${name}_to" SIZE=$tosize>\n!.
-        join("\n", map { qq!<OPTION VALUE="$_">$_</OPTION>! } sort { $a cmp $b } @$to ).
-        "</SELECT>\n<BR>".
-      qq!<INPUT TYPE="button" VALUE="refill" onClick="repack_${name}_to()">!.
-      '</TD></TR>'.
-      '<TR><TD COLSPAN=2>'.
-        qq!<INPUT TYPE="button" VALUE="map" onClick="toke_$name(this.form)">!.
-      '</TD></TR><TR><TD COLSPAN=2>'.
-      qq!<TEXTAREA NAME="$name" COLS=80 ROWS=8></TEXTAREA>!.
-      '</TD></TR></TABLE>'.
-      "<script>
-            function toke_$name() {
-              fromObject = document.OneTrueForm.${name}_from;
-              for (var i=fromObject.options.length-1;i>-1;i--) {
-                if (fromObject.options[i].selected)
-                  fromname = deleteOption_$name(fromObject,i);
-              }
-              toObject = document.OneTrueForm.${name}_to;
-              for (var i=toObject.options.length-1;i>-1;i--) {
-                if (toObject.options[i].selected)
-                  toname = deleteOption_$name(toObject,i);
-              }
-              document.OneTrueForm.$name.value = document.OneTrueForm.$name.value + fromname + ' => ' + toname + '\\n';
-            }
-            function deleteOption_$name(object,index) {
-              value = object.options[index].value;
-              object.options[index] = null;
-              return value;
-            }
-            function repack_${name}_from() {
-              var object = document.OneTrueForm.${name}_from;
-              object.options.length = 0;
-              ". join("\n", 
-                   map { "addOption_$name(object, '$_');\n" }
-                       ( sort { $a cmp $b } @$from )           ). "
-            }
-            function repack_${name}_to() {
-              var object = document.OneTrueForm.${name}_to;
-              object.options.length = 0;
-              ". join("\n", 
-                   map { "addOption_$name(object, '$_');\n" }
-                       ( sort { $a cmp $b } @$to )           ). "
-            }
-            function addOption_$name(object,value) {
-              var length = object.length;
-              object.options[length] = new Option(value, value, false, false);
-            }
-      </script>".
-      '';
-  }
-
-%>
diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi
deleted file mode 100644 (file)
index fa0ede8..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-<%
-
-#some false laziness w/MyAccount::process_payment
-
-$cgi->param('custnum') =~ /^(\d+)$/
-  or die "illegal custnum ". $cgi->param('custnum');
-my $custnum = $1;
-
-my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } );
-die "unknown custnum $custnum" unless $cust_main;
-
-$cgi->param('amount') =~ /^\s*(\d*(\.\d\d)?)\s*$/
-  or eidiot "illegal amount ". $cgi->param('amount');
-my $amount = $1;
-eidiot "amount <= 0" unless $amount > 0;
-
-$cgi->param('year') =~ /^(\d+)$/
-  or die "illegal year ". $cgi->param('year');
-my $year = $1;
-
-$cgi->param('month') =~ /^(\d+)$/
-  or die "illegal month ". $cgi->param('month');
-my $month = $1;
-
-$cgi->param('payby') =~ /^(CARD|CHEK)$/
-  or die "illegal payby ". $cgi->param('payby');
-my $payby = $1;
-my %payby2bop = (
-  'CARD' => 'CC',
-  'CHEK' => 'ECHECK',
-);
-my %payby2fields = (
-  'CARD' => [ qw( address1 address2 city state zip ) ],
-  'CHEK' => [ qw( ss ) ],
-);
-my %type = ( 'CARD' => 'credit card',
-             'CHEK' => 'electronic check (ACH)',
-           );
-
-$cgi->param('payname') =~ /^([\w \,\.\-\']+)$/
-  or eidiot gettext('illegal_name'). " payname: ". $cgi->param('payname');
-my $payname = $1;
-
-$cgi->param('paybatch') =~ /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]*)$/
-  or eidiot gettext('illegal_text'). " paybatch: ". $cgi->param('paybatch');
-my $paybatch = $1;
-
-my $payinfo;
-my $paycvv = '';
-if ( $payby eq 'CHEK' ) {
-
-  $cgi->param('payinfo1') =~ /^(\d+)$/
-    or eidiot "illegal account number ". $cgi->param('payinfo1');
-  my $payinfo1 = $1;
-   $cgi->param('payinfo2') =~ /^(\d+)$/
-    or eidiot "illegal ABA/routing number ". $cgi->param('payinfo2');
-  my $payinfo2 = $1;
-  $payinfo = $payinfo1. '@'. $payinfo2;
-
-} elsif ( $payby eq 'CARD' ) {
-
-  $payinfo = $cgi->param('payinfo');
-  $payinfo =~ s/\D//g;
-  $payinfo =~ /^(\d{13,16})$/
-    or eidiot gettext('invalid_card'); # . ": ". $self->payinfo;
-  $payinfo = $1;
-  validate($payinfo)
-    or eidiot gettext('invalid_card'); # . ": ". $self->payinfo;
-  eidiot gettext('unknown_card_type')
-    if cardtype($payinfo) eq "Unknown";
-
-  if ( defined $cust_main->dbdef_table->column('paycvv') ) {
-    if ( length($cgi->param('paycvv') ) ) {
-      if ( cardtype($payinfo) eq 'American Express card' ) {
-        $cgi->param('paycvv') =~ /^(\d{4})$/
-          or eidiot "CVV2 (CID) for American Express cards is four digits.";
-        $paycvv = $1;
-      } else {
-        $cgi->param('paycvv') =~ /^(\d{3})$/
-          or eidiot "CVV2 (CVC2/CID) is three digits.";
-        $paycvv = $1;
-      }
-    }
-  }
-
-} else {
-  die "unknown payby $payby";
-}
-
-my $error = $cust_main->realtime_bop( $payby2bop{$payby}, $amount,
-  'quiet'    => 1,
-  'payinfo'  => $payinfo,
-  'paydate'  => "$year-$month-01",
-  'payname'  => $payname,
-  'paybatch' => $paybatch,
-  'paycvv'   => $paycvv,
-  map { $_ => $cgi->param($_) } @{$payby2fields{$payby}}
-);
-eidiot($error) if $error;
-
-$cust_main->apply_payments;
-
-if ( $cgi->param('save') ) {
-  my $new = new FS::cust_main { $cust_main->hash };
-  if ( $payby eq 'CARD' ) { 
-    $new->set( 'payby' => ( $cgi->param('auto') ? 'CARD' : 'DCRD' ) );
-  } elsif ( $payby eq 'CHEK' ) {
-    $new->set( 'payby' => ( $cgi->param('auto') ? 'CHEK' : 'DCHK' ) );
-  } else {
-    die "unknown payby $payby";
-  }
-  $new->set( 'payinfo' => $payinfo );
-  $new->set( 'paydate' => "$year-$month-01" );
-  $new->set( 'payname' => $payname );
-
-  #false laziness w/FS:;cust_main::realtime_bop - check both to make sure
-  # working correctly
-  my $conf = new FS::Conf;
-  if ( $payby eq 'CARD' &&
-       grep { $_ eq cardtype($payinfo) } $conf->config('cvv-save') ) {
-    $new->set( 'paycvv' => $paycvv );
-  } else {
-    $new->set( 'paycvv' => '');
-  }
-
-  $new->set( $_ => $cgi->param($_) ) foreach @{$payby2fields{$payby}};
-
-  my $error = $new->replace($cust_main);
-  eidiot "payment processed sucessfully, but error saving info: $error"
-    if $error;
-  $cust_main = $new;
-}
-
-#success!
-
-%>
-<%= include( '/elements/header.html', ucfirst($type{$payby}). ' processing sucessful',
-             include('/elements/menubar.html',
-                       'Main menu' => popurl(3),
-                       "View this customer (#$custnum)" =>
-                         popurl(3). "view/cust_main.cgi?$custnum",
-                    ),
-
-    )
-%>
-<%= include( '/elements/small_custview.html', $cust_main ) %>
-</BODY>
-</HTML>
diff --git a/httemplate/misc/queue.cgi b/httemplate/misc/queue.cgi
deleted file mode 100644 (file)
index ce9c8fb..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<%
-
-$cgi->param('action') =~ /^(new|del|(retry|remove) selected)$/
-  or die "Illegal action";
-my $action = $1;
-
-my $job;
-if ( $action eq 'new' || $action eq 'del' ) {
-  $cgi->param('jobnum') =~ /^(\d+)$/ or die "Illegal jobnum";
-  my $jobnum = $1;
-  $job = qsearchs('queue', { 'jobnum' => $1 })
-    or die "unknown jobnum $jobnum - ".
-           "it probably completed normally or was removed by another user";
-}
-
-if ( $action eq 'new' ) {
-  my %hash = $job->hash;
-  $hash{'status'} = 'new';
-  $hash{'statustext'} = '';
-  my $new = new FS::queue \%hash;
-  my $error = $new->replace($job);
-  die $error if $error;
-} elsif ( $action eq 'del' ) {
-  my $error = $job->delete;
-  die $error if $error;
-} elsif ( $action =~ /^(retry|remove) selected$/ ) {
-  foreach my $jobnum (
-    map { /^jobnum(\d+)$/; $1; } grep /^jobnum\d+$/, $cgi->param
-  ) {
-    my $job = qsearchs('queue', { 'jobnum' => $jobnum });
-    if ( $action eq 'retry selected' && $job ) { #new
-      my %hash = $job->hash;
-      $hash{'status'} = 'new';
-      $hash{'statustext'} = '';
-      my $new = new FS::queue \%hash;
-      my $error = $new->replace($job);
-      die $error if $error;
-    } elsif ( $action eq 'remove selected' && $job ) { #del
-      my $error = $job->delete;
-      die $error if $error;
-    }
-  }
-}
-
-print $cgi->redirect(popurl(2). "browse/queue.cgi");
-
-%>
diff --git a/httemplate/misc/states.cgi b/httemplate/misc/states.cgi
deleted file mode 100644 (file)
index cff2c97..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<%
-
-  my $country = $cgi->param('arg');
-
-  my @states = 
-     sort
-     map { s/[\n\r]//g; $_; }
-     map { $_->state; }
-     qsearch( 'cust_main_county',
-              { 'country' => $country },
-              'DISTINCT ON ( state ) *',
-            )
-  ;
-
-
-%>[ <%= join(', ', map { qq("$_") } @states) %> ]
diff --git a/httemplate/misc/susp_pkg.cgi b/httemplate/misc/susp_pkg.cgi
deleted file mode 100755 (executable)
index 4a19fa8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%
-
-#untaint pkgnum
-my ($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal pkgnum";
-my $pkgnum = $1;
-
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-
-my $error = $cust_pkg->suspend;
-&eidiot($error) if $error;
-
-print $cgi->redirect(popurl(2). "view/cust_main.cgi?".$cust_pkg->getfield('custnum'));
-
-%>
diff --git a/httemplate/misc/unapply-cust_credit.cgi b/httemplate/misc/unapply-cust_credit.cgi
deleted file mode 100755 (executable)
index c658d2a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<%
-
-#untaint crednum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal crednum";
-my $crednum = $1;
-
-my $cust_credit = qsearchs('cust_credit', { 'crednum' => $crednum } );
-my $custnum = $cust_credit->custnum;
-
-foreach my $cust_credit_bill ( $cust_credit->cust_credit_bill ) {
-  my $error = $cust_credit_bill->delete;
-  eidiot($error) if $error;
-}
-
-print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
-
-%>
diff --git a/httemplate/misc/unapply-cust_pay.cgi b/httemplate/misc/unapply-cust_pay.cgi
deleted file mode 100755 (executable)
index 28643ef..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<%
-
-#untaint paynum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal paynum";
-my $paynum = $1;
-
-my $cust_pay = qsearchs('cust_pay', { 'paynum' => $paynum } );
-my $custnum = $cust_pay->custnum;
-
-foreach my $cust_bill_pay ( $cust_pay->cust_bill_pay ) {
-  my $error = $cust_bill_pay->delete;
-  eidiot($error) if $error;
-}
-
-print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
-
-%>
diff --git a/httemplate/misc/unprovision.cgi b/httemplate/misc/unprovision.cgi
deleted file mode 100755 (executable)
index 3c92a4e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-
-my $dbh = dbh;
-#untaint svcnum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-
-#my $svc_acct = qsearchs('svc_acct',{'svcnum'=>$svcnum});
-#die "Unknown svcnum!" unless $svc_acct;
-
-my $cust_svc = qsearchs('cust_svc',{'svcnum'=>$svcnum});
-die "Unknown svcnum!" unless $cust_svc;
-
-my $custnum = $cust_svc->cust_pkg->custnum;
-
-my $error = $cust_svc->cancel;
-
-if ( $error ) {
-  %>
-<!-- mason kludge -->
-<%
-  &eidiot($error);
-} else {
-  print $cgi->redirect(popurl(2)."view/cust_main.cgi?$custnum");
-}
-
-%>
diff --git a/httemplate/misc/unsusp_pkg.cgi b/httemplate/misc/unsusp_pkg.cgi
deleted file mode 100755 (executable)
index 5008729..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%
-
-#untaint pkgnum
-my ($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal pkgnum";
-my $pkgnum = $1;
-
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-
-my $error = $cust_pkg->unsuspend;
-&eidiot($error) if $error;
-
-print $cgi->redirect(popurl(2). "view/cust_main.cgi?".$cust_pkg->getfield('custnum'));
-
-%>
diff --git a/httemplate/misc/unvoid-cust_pay_void.cgi b/httemplate/misc/unvoid-cust_pay_void.cgi
deleted file mode 100755 (executable)
index 539cd4a..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<%
-
-#untaint paynum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal paynum";
-my $paynum = $1;
-
-my $cust_pay_void = qsearchs('cust_pay_void', { 'paynum' => $paynum } );
-my $custnum = $cust_pay_void->custnum;
-
-my $error = $cust_pay_void->unvoid;
-eidiot($error) if $error;
-
-print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
-
-%>
diff --git a/httemplate/misc/upload-batch.cgi b/httemplate/misc/upload-batch.cgi
deleted file mode 100644 (file)
index 5d01501..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<%
-
-  my $fh = $cgi->upload('batch_results');
-  my $filename = $cgi->param('batch_results');
-  $filename =~ /^(.*[\/\\])?([^\/\\]+)$/
-    or die "unparsable filename: $filename\n";
-  my $paybatch = $2;
-
-  my $error = defined($fh)
-    ? FS::cust_pay_batch::import_results( {
-        'filehandle' => $fh,
-        'format'     => $cgi->param('format'),
-        'paybatch'   => $paybatch,
-      } )
-    : 'No file';
-
-  if ( $error ) {
-    %>
-    <!-- mason kludge -->
-    <%
-    eidiot($error);
-#    $cgi->param('error', $error);
-#    print $cgi->redirect( "${p}cust_main-import.cgi
-  } else {
-    %>
-    <!-- mason kludge -->
-    <%= header('Batch results upload sucessful') %> <%
-  }
-%>
-
diff --git a/httemplate/misc/void-cust_pay.cgi b/httemplate/misc/void-cust_pay.cgi
deleted file mode 100755 (executable)
index 4eec608..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<%
-
-#untaint paynum
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/ || die "Illegal paynum";
-my $paynum = $1;
-
-my $cust_pay = qsearchs('cust_pay',{'paynum'=>$paynum});
-my $custnum = $cust_pay->custnum;
-
-my $error = $cust_pay->void;
-eidiot($error) if $error;
-
-print $cgi->redirect($p. "view/cust_main.cgi?". $custnum);
-
-%>
diff --git a/httemplate/misc/whois.cgi b/httemplate/misc/whois.cgi
deleted file mode 100644 (file)
index dd7851d..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<%
-  my $svcnum = $cgi->param('svcnum');
-  my $custnum = $cgi->param('custnum');
-  my $domain = $cgi->param('domain');
-
-%>
-<%= header("Whois $domain", menubar(
-  ( $custnum
-    ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-      )
-    : ()
-  ),
-  "View this domain (#$svcnum)" => "${p}view/svc_domain.cgi?$svcnum",
-  "Main menu" => $p,
-)) %>
-<% my $whois = eval { whois($domain) };
-   if ( $@ ) {
-     ( $whois = $@ ) =~ s/ at \/.*Net\/Whois\/Raw\.pm line \d+.*$//s;
-   } else {
-     $whois =~ s/^\n+//;
-   }
-%>
-<PRE><%= $whois %></PRE>
-</BODY>
-</HTML>
diff --git a/httemplate/misc/xmlhttp-cust_main-search.cgi b/httemplate/misc/xmlhttp-cust_main-search.cgi
deleted file mode 100644 (file)
index 8dbd5a4..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<%
-   my $sub = $cgi->param('sub');
-   if ( $sub eq 'custnum_search' ) {
-     my $custnum = $cgi->param('arg');
-     my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } );
-
-     %>"<%= $cust_main ? $cust_main->name : '' %>"
-
-<% } elsif ( $sub eq 'smart_search' ) {
-
-     my $string = $cgi->param('arg');
-     my @cust_main = smart_search( 'search' => $string );
-     my $return = [ map [ $_->custnum, $_->name ], @cust_main ];
-
-     %><%= objToJson($return) %>
-
-<% } %>
-
-
diff --git a/httemplate/misc/xmlrpc.cgi b/httemplate/misc/xmlrpc.cgi
deleted file mode 100644 (file)
index 53ef8fb..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<%
-
-  my $request_xml = $cgi->param('POSTDATA');
-
-  #$r->log_error($request_xml);
-
-  my $fsxmlrpc = new FS::XMLRPC;
-  my ($error, $response_xml) = $fsxmlrpc->serve($request_xml);
-  
-  #$r->log_error($error) if $error;
-
-  http_header('Content-Type' => 'text/xml',
-              'Content-Length' => length($response_xml));
-
-  print $response_xml;
-
-%>
diff --git a/httemplate/search/cust_bill.cgi b/httemplate/search/cust_bill.cgi
deleted file mode 100755 (executable)
index 5b0538c..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-my $maxrecords = $conf->config('maxsearchrecordsperpage');
-
-my $orderby = ''; #removeme
-
-my $limit = '';
-$limit .= "LIMIT $maxrecords" if $maxrecords;
-
-my $offset = $cgi->param('offset') || 0;
-$limit .= " OFFSET $offset" if $offset;
-
-my($total, $tot_amount, $tot_balance);
-
-my(@cust_bill);
-if ( $cgi->keywords ) {
-  my($query) = $cgi->keywords;
-  my $owed = "charged - ( select coalesce(sum(amount),0) from cust_bill_pay
-                          where cust_bill_pay.invnum = cust_bill.invnum )
-                      - ( select coalesce(sum(amount),0) from cust_credit_bill
-                          where cust_credit_bill.invnum = cust_bill.invnum )";
-  my @where;
-  if ( $query =~ /^(OPEN(\d*)_)?(invnum|date|custnum)$/ ) {
-    my($open, $days, $field) = ($1, $2, $3);
-    $field = "_date" if $field eq 'date';
-    $orderby = "ORDER BY cust_bill.$field";
-    push @where, "0 != $owed" if $open;
-    push @where, "cust_bill._date < ". (time-86400*$days) if $days;
-  } else {
-    die "unknown query string $query";
-  }
-
-  my $extra_sql = scalar(@where) ? 'WHERE '. join(' AND ', @where) : '';
-
-  my $statement = "SELECT COUNT(*), sum(charged), sum($owed)
-                   FROM cust_bill $extra_sql";
-  my $sth = dbh->prepare($statement) or die dbh->errstr. " doing $statement";
-  $sth->execute or die "Error executing \"$statement\": ". $sth->errstr;
-
-  ( $total, $tot_amount, $tot_balance ) = @{$sth->fetchrow_arrayref};
-
-  @cust_bill = qsearch(
-    'cust_bill',
-    {},
-    "cust_bill.*, $owed as owed",
-    "$extra_sql $orderby $limit"
-  );
-} else {
-  $cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/;
-  my $invnum = $2;
-  @cust_bill = qsearchs('cust_bill', { 'invnum' => $invnum } );
-  $total = scalar(@cust_bill);
-}
-
-#if ( scalar(@cust_bill) == 1 ) {
-if ( $total == 1 ) {
-  my $invnum = $cust_bill[0]->invnum;
-  print $cgi->redirect(popurl(2). "view/cust_bill.cgi?$invnum");  #redirect
-} elsif ( scalar(@cust_bill) == 0 ) {
-%>
-<!-- mason kludge -->
-<%
-  eidiot("Invoice not found.");
-} else {
-%>
-<!-- mason kludge -->
-<%
-
-  #begin pager
-  my $pager = '';
-  if ( $total != scalar(@cust_bill) && $maxrecords ) {
-    unless ( $offset == 0 ) {
-      $cgi->param('offset', $offset - $maxrecords);
-      $pager .= '<A HREF="'. $cgi->self_url.
-                '"><B><FONT SIZE="+1">Previous</FONT></B></A> ';
-    }
-    my $poff;
-    my $page;
-    for ( $poff = 0; $poff < $total; $poff += $maxrecords ) {
-      $page++;
-      if ( $offset == $poff ) {
-        $pager .= qq!<FONT SIZE="+2">$page</FONT> !;
-      } else {
-        $cgi->param('offset', $poff);
-        $pager .= qq!<A HREF="!. $cgi->self_url. qq!">$page</A> !;
-      }
-    }
-    unless ( $offset + $maxrecords > $total ) {
-      $cgi->param('offset', $offset + $maxrecords);
-      $pager .= '<A HREF="'. $cgi->self_url.
-                '"><B><FONT SIZE="+1">Next</FONT></B></A> ';
-    }
-  }
-  #end pager
-
-  print header("Invoice Search Results", menubar(
-          'Main Menu', popurl(2)
-        )).
-        "$total matching invoices found<BR>".
-        "\$$tot_balance total balance<BR>".
-        "\$$tot_amount total amount<BR>".
-        "<BR>$pager". table(). <<END;
-      <TR>
-        <TH></TH>
-        <TH>Balance</TH>
-        <TH>Amount</TH>
-        <TH>Date</TH>
-        <TH>Contact name</TH>
-        <TH>Company</TH>
-      </TR>
-END
-
-  foreach my $cust_bill ( @cust_bill ) {
-    my($invnum, $owed, $charged, $date ) = (
-      $cust_bill->invnum,
-      sprintf("%.2f", $cust_bill->getfield('owed')),
-      sprintf("%.2f", $cust_bill->charged),
-      $cust_bill->_date,
-    );
-    my $pdate = time2str("%b %d %Y", $date);
-
-    my $rowspan = 1;
-
-    my $view = popurl(2). "view/cust_bill.cgi?$invnum";
-    print <<END;
-      <TR>
-        <TD ROWSPAN=$rowspan><A HREF="$view">$invnum</A></TD>
-        <TD ROWSPAN=$rowspan ALIGN="right"><A HREF="$view">\$$owed</A></TD>
-        <TD ROWSPAN=$rowspan ALIGN="right"><A HREF="$view">\$$charged</A></TD>
-        <TD ROWSPAN=$rowspan><A HREF="$view">$pdate</A></TD>
-END
-    my $custnum = $cust_bill->custnum;
-    my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } );
-    if ( $cust_main ) {
-      my $cview = popurl(2). "view/cust_main.cgi?". $cust_main->custnum;
-      my ( $name, $company ) = (
-        $cust_main->last. ', '. $cust_main->first,
-        $cust_main->company,
-      );
-      print <<END;
-        <TD ROWSPAN=$rowspan><A HREF="$cview">$name</A></TD>
-        <TD ROWSPAN=$rowspan><A HREF="$cview">$company</A></TD>
-END
-    } else {
-      print <<END
-        <TD ROWSPAN=$rowspan COLSPAN=2>WARNING: couldn't find cust_main.custnum $custnum (cust_bill.invnum $invnum)</TD>
-END
-    }
-
-    print "</TR>";
-  }
-  $tot_balance = sprintf("%.2f", $tot_balance);
-  $tot_amount = sprintf("%.2f", $tot_amount);
-  print "</TABLE>$pager<BR>". table(). <<END;
-      <TR><TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD><TH>Total<BR>Balance</TH><TH>Total<BR>Amount</TH></TR>
-      <TR><TD></TD><TD ALIGN="right">\$$tot_balance</TD><TD ALIGN="right">\$$tot_amount</TD></TD></TR>
-    </TABLE>
-  </BODY>
-</HTML>
-END
-
-}
-
-%>
diff --git a/httemplate/search/cust_bill.html b/httemplate/search/cust_bill.html
deleted file mode 100755 (executable)
index 2108653..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-<%
-   my( $count_query, $sql_query );
-   my( $count_addl ) = ( '' );
-   my( $distinct ) = ( '' );
-   my($begin, $end) = ( '', '' );
-   my($agentnum) = ( '' );
-   my($open, $days) = ( '', '' );
-   if ( $cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/ ) {
-     $count_query = "SELECT COUNT(*) FROM cust_bill WHERE invnum = $2";
-     $sql_query = {
-       'table'     => 'cust_bill',
-       'hashref'   => { 'invnum' => $2 },
-       #'select'    => '*',
-     };
-   } else {
-   #if ( $cgi->param('begin') || $cgi->param('end')
-   #     || $cgi->param('beginning') || $cgi->param('ending')
-   #     || $cgi->keywords
-   #   )
-   #{
-
-     #some false laziness w/cust_bill::re_X
-     my @where;
-     my $orderby = 'ORDER BY cust_bill._date';
-
-     if ( $cgi->param('beginning')
-          && $cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/ ) {
-       $begin = str2time($1);
-       push @where, "cust_bill._date >= $begin";
-     }
-     if (  $cgi->param('ending')
-           && $cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/ ) {
-       $end = str2time($1) + 86399;
-       push @where, "cust_bill._date < $end";
-     }
-
-     if ( $cgi->param('begin') =~ /^(\d+)$/ ) {
-       $begin = $1;
-       push @where, "cust_bill._date >= $begin";
-     }
-     if ( $cgi->param('end') =~ /^(\d+)$/ ) {
-       $end = $1;
-       push @where, "cust_bill._date < $end";
-     }
-
-     if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-       $agentnum = $1;
-       push @where, "cust_main.agentnum = $agentnum";
-     }
-
-     my $owed =
-       "charged - ( SELECT COALESCE(SUM(amount),0) FROM cust_bill_pay
-                    WHERE cust_bill_pay.invnum = cust_bill.invnum )
-                - ( SELECT COALESCE(SUM(amount),0) FROM cust_credit_bill
-                    WHERE cust_credit_bill.invnum = cust_bill.invnum )";
-
-     if ( $cgi->param('open') ) {
-       push @where, "0 != $owed";
-       $open = 1;
-     }
-
-     my($query) = $cgi->keywords;
-     if ( $query =~ /^(OPEN(\d*)_)?(invnum|date|custnum)$/ ) {
-       ($open, $days, my $field) = ($1, $2, $3);
-       $field = "_date" if $field eq 'date';
-       $orderby = "ORDER BY cust_bill.$field";
-       push @where, "0 != $owed" if $open;
-       push @where, "cust_bill._date < ". (time-86400*$days) if $days;
-     }
-
-     my $extra_sql = scalar(@where) ? 'WHERE '. join(' AND ', @where) : '';
-
-     my $addl_from = 'left join cust_main using ( custnum )';
-
-     if ( $cgi->param('newest_percust') ) {
-       $distinct = 'DISTINCT ON ( cust_bill.custnum )';
-       $orderby = 'ORDER BY cust_bill.custnum ASC, cust_bill._date DESC';
-       #$count_query = "SELECT 'N/A', 'N/A', 'N/A'"; #XXXXXXX fix
-       $count_query = "SELECT COUNT(DISTINCT cust_bill.custnum), 'N/A', 'N/A'";
-     }
-   
-     unless ( $count_query ) {
-       $count_query = "SELECT COUNT(*), sum(charged), sum($owed)";
-       $count_addl = [ '$%.2f total invoiced',
-                       '$%.2f total outstanding balance',
-                     ];
-     }
-     $count_query .=  " FROM cust_bill $addl_from $extra_sql";
-   
-     $sql_query = {
-       'table'     => 'cust_bill',
-       'addl_from' => $addl_from,
-       'hashref'   => {},
-       'select'    => "$distinct ". join(', ',
-                        'cust_bill.*',
-                        #( map "cust_main.$_", qw(custnum last first company) ),
-                        'cust_main.custnum as cust_main_custnum',
-                        FS::UI::Web::cust_sql_fields(),
-                        "$owed as owed",
-                      ),
-       'extra_sql' => "$extra_sql $orderby"
-     };
-   
-   }
-
-   my $link  = [ "${p}view/cust_bill.cgi?", 'invnum', ];
-   my $clink = sub {
-     my $cust_bill = shift;
-     $cust_bill->cust_main_custnum
-       ? [ "${p}view/cust_main.cgi?", 'custnum' ]
-       : '';
-   };
-
-  my $conf = new FS::Conf;
-  my $money_char = $conf->config('money_char') || '$';
-
-  my $html_init = join("\n", map {
-    ( my $action = $_ ) =~ s/_$//;
-    include('/elements/progress-init.html',
-              $_.'form',
-              [ 'begin', 'end', 'agentnum', 'open', 'days', 'newest_percust' ],
-              "../misc/${_}invoices.cgi",
-              { 'message' => "Invoices re-${action}ed" }, #would be nice to show the number of them, but...
-              $_, #key
-           ),
-    qq!<FORM NAME="${_}form">!,
-    qq!<INPUT TYPE="hidden" NAME="begin"     VALUE="$begin">!,
-    qq!<INPUT TYPE="hidden" NAME="end"       VALUE="$end">!,
-    qq!<INPUT TYPE="hidden" NAME="agentnum"  VALUE="$agentnum">!,
-    qq!<INPUT TYPE="hidden" NAME="open"      VALUE="$open">!,
-    qq!<INPUT TYPE="hidden" NAME="days"      VALUE="$days">!,
-    qq!</FORM>!
-  } qw( print_ email_ fax_ ) );
-
-  my $menubar =  [
-                   'Main menu' => $p,
-                   'Print these invoices' =>
-                     "javascript:print_process()",
-                   'Email these invoices' =>
-                     "javascript:email_process()",
-                 ];
-
-  push @$menubar, 'Fax these invoices' =>
-                    "javascript:fax_process()"
-    if $conf->exists('hylafax');
-
-%><%= include( 'elements/search.html',
-                 'title'       => 'Invoice Search Results',
-                 'html_init'   => $html_init,
-                 'menubar'     => $menubar,
-                 'name'        => 'invoices',
-                 'query'       => $sql_query,
-                 'count_query' => $count_query,
-                 'count_addl'  => $count_addl,
-                 'redirect'    => $link,
-                 'header'      => [ 'Invoice #',
-                                    'Balance',
-                                    'Amount',
-                                    'Date',
-                                    FS::UI::Web::cust_header(),
-                                  ],
-                 'fields'      => [
-                   'invnum',
-                   sub { sprintf($money_char.'%.2f', shift->get('owed') ) },
-                   sub { sprintf($money_char.'%.2f', shift->charged     ) },
-                   sub { time2str('%b %d %Y', shift->_date ) },
-                   \&FS::UI::Web::cust_fields,
-                 ],
-                 'align' => 'rrrrll',
-                 'links' => [
-                   $link,
-                   $link,
-                   $link,
-                   $link,
-                   ( map { $clink } FS::UI::Web::cust_header() ),
-                 ],
-  
-      )
-%>
diff --git a/httemplate/search/cust_bill_event.cgi b/httemplate/search/cust_bill_event.cgi
deleted file mode 100644 (file)
index d82a833..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-<%
-
-my $title = $cgi->param('failed') ? 'Failed invoice events' : 'Invoice events';
-
-my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
-
-##tie my %hash, 'Tie::DxHash', 
-#my %hash = (
-#      _date => { op=> '>=', value=>$beginning },
-## i wish...
-##      _date => { op=> '<=', value=>$ending },
-#);
-#$hash{'statustext'} = { op=> '!=', value=>'' }
-#  if $cgi->param('failed');
-
-my $where = " WHERE cust_bill_event._date >= $beginning".
-            "   AND cust_bill_event._date <= $ending";
-
-if ( $cgi->param('failed') ) {
-  $where .= " AND statustext != '' ".
-            " AND statustext IS NOT NULL ".
-            " AND statustext != 'N/A' "
-}
-
-if ( $cgi->param('part_bill_event.payby') =~ /^(\w+)$/ ) {
-  $where .= " AND part_bill_event.payby = '$1' ";
-}
-
-my $sql_query = {
-  'table'     => 'cust_bill_event',
-  #'hashref'   => \%hash,
-  'hashref'   => {}, 
-  'select'    => join(', ',
-                   'cust_bill_event.*',
-                   'part_bill_event.event',
-                   'cust_bill.custnum',
-                   'cust_bill._date AS cust_bill_date',
-                   'cust_main.custnum AS cust_main_custnum',
-                   FS::UI::Web::cust_sql_fields(),
-                 ),
-  'extra_sql' => "$where ORDER BY _date ASC",
-  'addl_from' => 'LEFT JOIN part_bill_event USING ( eventpart ) '.
-                 'LEFT JOIN cust_bill       USING ( invnum    ) '.
-                 'LEFT JOIN cust_main       USING ( custnum   ) ',
-};
-
-my $count_sql = "SELECT COUNT(*) FROM cust_bill_event ".
-                "LEFT JOIN part_bill_event USING ( eventpart ) ".
-                $where;
-
-my $conf = new FS::Conf;
-
-my $failed = $cgi->param('failed');
-
-my $html_init = join("\n", map {
-  ( my $action = $_ ) =~ s/_$//;
-  include('/elements/progress-init.html',
-            $_.'form',
-            [ 'action', 'beginning', 'ending', 'failed' ],
-            "../misc/${_}invoice_events.cgi",
-            { 'message' => "Invoices re-${action}ed" }, #would be nice to show the number of them, but...
-            $_, #key
-         ),
-  qq!<FORM NAME="${_}form">!,
-  qq!<INPUT TYPE="hidden" NAME="action" VALUE="$_">!, #not used though
-  qq!<INPUT TYPE="hidden" NAME="beginning" VALUE="$beginning">!,
-  qq!<INPUT TYPE="hidden" NAME="ending"    VALUE="$ending">!,
-  qq!<INPUT TYPE="hidden" NAME="failed"    VALUE="$failed">!,
-  qq!</FORM>!
-} qw( print_ email_ fax_ ) );
-
-my $menubar =  [
-                 'Main menu' => $p,
-                 'Re-print these events' =>
-                   "javascript:print_process()",
-                 'Re-email these events' =>
-                   "javascript:email_process()",
-               ];
-
-push @$menubar, 'Re-fax these events' =>
-                  "javascript:fax_process()"
-  if $conf->exists('hylafax');
-
-my $link_cust = sub {
-  my $cust_bill_event = shift;
-  $cust_bill_event->cust_main_custnum
-    ? [ "${p}view/cust_main.cgi?", 'custnum' ]
-    : '';
-};
-
-%><%= include( 'elements/search.html',
-                 'title'       => $title,
-                 'html_init'   => $html_init,
-                 'menubar'     => $menubar,
-                 'name'        => 'billing events',
-                 'query'       => $sql_query,
-                 'count_query' => $count_sql,
-                 'header'      => [ 'Event',
-                                    'Date',
-                                    'Status',
-                                    #'Inv #', 'Inv Date', 'Cust #',
-                                    'Invoice',
-                                    FS::UI::Web::cust_header(),
-                                  ],
-                 'fields' => [
-                               'event',
-                               sub { time2str("%b %d %Y %T", $_[0]->_date) },
-                               sub { 
-                                     #my $cust_bill_event = shift;
-                                     my $status = $_[0]->status;
-                                     $status .= ': '.$_[0]->statustext
-                                       if $_[0]->statustext;
-                                     $status;
-                                   },
-                               sub {
-                                     #my $cust_bill_event = shift;
-                                     'Invoice #'. $_[0]->invnum.
-                                     ' ('.
-                                       time2str("%D", $_[0]->cust_bill_date).
-                                     ')';
-                                   },
-                               \&FS::UI::Web::cust_fields,
-                             ],
-                 'links' => [
-                              '',
-                              '',
-                              '',
-                              sub {
-                                my $part_bill_event = shift;
-                                my $template = $part_bill_event->templatename;
-                                $template .= '-' if $template;
-                                [ "${p}view/cust_bill.cgi?$template", 'invnum'];
-                              },
-                              ( map { $link_cust } FS::UI::Web::cust_header() ),
-                            ],
-             )
-%>
diff --git a/httemplate/search/cust_bill_event.html b/httemplate/search/cust_bill_event.html
deleted file mode 100755 (executable)
index 197f280..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<%= include(
-      '/elements/header.html',
-      ( $cgi->param('failed') ? 'Failed invoice events' : 'Invoice events' ),
-      include('/elements/menubar.html',
-                'Main menu' => $p, # popurl(2),
-             ),
-
-    )
-%>
-
-    <FORM ACTION="cust_bill_event.cgi" METHOD="GET">
-    <INPUT TYPE="hidden" NAME="failed" VALUE="<%= $cgi->param('failed') %>">
-    <TABLE>
-      <!--<TR>
-        <TD ALIGN="right">Customer type</TD>
-        <TD><SELECT MULTIPLE NAME="perhaps_payby">
-          <OPTION SELECTED VALUE="CARD">Credit card (automatic)
-          <OPTION SELECTED VALUE="CHEK">E-check (automatic)
-          <OPTION SELECTED VALUE="LECB">Phone bill billing
-          <OPTION SELECTED VALUE="BILL">Billing
-          <OPTION SELECTED VALUE="DCRD">Credit card (on-demand)
-          <OPTION SELECTED VALUE="DCHK">E-check (on-demand)
-        </TD>
-      </TR>
-      -->
-      <%= include( '/elements/tr-input-beginning_ending.html' ) %>
-      <!--
-      <TR>
-        <TD ALIGN="right">Events: </TD>
-        <TD>
-          <SELECT NAME="eventpart">
-            <OPTION SELECTED VALUE=""><%= $cgi->param('failed') ? '(all failed events)' : '(all events)' %>
-            <% foreach my $part_bill_event ( qsearch( 'part_bill_event', {} ) ) { %>
-            <% } %>
-          </SELECT>
-        </TD>
-      </TR>
-      -->
-      <TR>
-        <TD ALIGN="right">Events for payment type: </TD>
-        <TD>
-          <SELECT NAME="part_bill_event.payby">
-            <OPTION SELECTED VALUE="">(all)
-            <OPTION VALUE="CARD">Credit card (automatic)
-            <OPTION VALUE="BILL">Billing
-            <OPTION VALUE="CHEK">Electronic check (automatic)
-            <OPTION VALUE="DCRD">Credit card (on-demand)
-            <OPTION VALUE="DCHK">Electronic check (on-demand)
-            <OPTION VALUE="LECB">Phone bill billing
-            <OPTION VALUE="COMP">Complimentary
-          </SELECT>
-        </TD>
-      </TR>
-    </TABLE>
-    <BR><INPUT TYPE="submit" VALUE="Get Report">
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
deleted file mode 100644 (file)
index 082ccc8..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-<%
-
-my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
-
-my $join_cust = "
-    JOIN cust_bill USING ( invnum ) 
-    JOIN cust_main USING ( custnum )
-";
-
-my $join_pkg = "
-    LEFT JOIN cust_pkg USING ( pkgnum )
-    LEFT JOIN part_pkg USING ( pkgpart )
-";
-
-my $where = "
-  WHERE _date >= $beginning AND _date <= $ending
-    AND payby != 'COMP'
-";
-
-if ( $cgi->param('out') ) {
-
-  $where .= "
-    AND 0 = (
-      SELECT COUNT(*) FROM cust_main_county
-      WHERE (    cust_main_county.county  = cust_main.county
-              OR ( cust_main_county.county IS NULL AND cust_main.county  =  '' )
-              OR ( cust_main_county.county  =  ''  AND cust_main.county IS NULL)
-              OR ( cust_main_county.county IS NULL AND cust_main.county IS NULL)
-            )
-        AND (    cust_main_county.state   = cust_main.state
-              OR ( cust_main_county.state  IS NULL AND cust_main.state  =  ''  )
-              OR ( cust_main_county.state   =  ''  AND cust_main.state IS NULL )
-              OR ( cust_main_county.state  IS NULL AND cust_main.state IS NULL )
-            )
-        AND cust_main_county.country = cust_main.country
-        AND cust_main_county.tax > 0
-    )
-  ";
-
-} elsif ( $cgi->param('country' ) ) {
-
-  my $county  = dbh->quote( $cgi->param('county')  );
-  my $state   = dbh->quote( $cgi->param('state')   );
-  my $country = dbh->quote( $cgi->param('country') );
-  $where .= "
-    AND ( county  = $county OR $county = '' )
-    AND ( state   = $state  OR $state = '' )
-    AND   country = $country
-  ";
-  $where .= ' AND taxclass = '. dbh->quote( $cgi->param('taxclass') )
-    if $cgi->param('taxclass');
-
-}
-
-$where .= ' AND pkgnum != 0' if $cgi->param('nottax');
-
-$where .= ' AND pkgnum = 0' if $cgi->param('istax');
-
-$where .= " AND tax = 'Y'" if $cgi->param('cust_tax');
-
-my $count_query;
-if ( $cgi->param('pkg_tax') ) {
-
-  $count_query =
-    "SELECT COUNT(*), SUM( ( CASE WHEN part_pkg.setuptax = 'Y'
-                                 THEN cust_bill_pkg.setup
-                                 ELSE 0 )
-                          +
-                          ( CASE WHEN part_pkg.recurtax = 'Y'
-                                 THEN cust_bill_pkg.recur
-                                 ELSE 0 )
-                        )";
-
-  $where .= " AND (
-                       ( part_pkg.setuptax = 'Y' AND cust_bill_pkg.setup > 0 )
-                    OR ( part_pkg.recurtax = 'Y' AND cust_bill_pkg.recur > 0 )
-                  )";
-
-} else {
-
-  $count_query =
-    "SELECT COUNT(*), SUM(cust_bill_pkg.setup + cust_bill_pkg.recur)";
-
-}
-$count_query .= " FROM cust_bill_pkg $join_cust  $join_pkg $where";
-
-my $query = {
-  'table'     => 'cust_bill_pkg',
-  'addl_from' => "$join_cust $join_pkg",
-  'hashref'   => {},
-  'select'    => join(', ',
-                   'cust_bill_pkg.*',
-                   'cust_bill._date',
-                   'part_pkg.pkg',
-                   'cust_main.custnum',
-                   FS::UI::Web::cust_sql_fields(),
-                 ),
-  'extra_sql' => $where,
-};
-
-my $ilink = [ "${p}view/cust_bill.cgi?", 'invnum' ];
-my $clink = [ "${p}view/cust_main.cgi?", 'custnum' ];
-
-my $conf = new FS::Conf;
-my $money_char = $conf->config('money_char') || '$';
-
-%><%= include( 'elements/search.html',
-                 'title'       => 'Line items',
-                 'name'        => 'line items',
-                 'query'       => $query,
-                 'count_query' => $count_query,
-                 'count_addl'  => [ $money_char. '%.2f total', ],
-                 'header'      => [
-                   '#',
-                   'Description',
-                   'Setup charge',
-                   'Recurring charge',
-                   'Invoice',
-                   'Date',
-                   FS::UI::Web::cust_header(),
-                 ],
-                 'fields'      => [
-                   'billpkgnum',
-                   sub { $_[0]->pkgnum > 0
-                           ? $_[0]->get('pkg')
-                           : $_[0]->get('itemdesc')
-                       },
-                   #strikethrough or "N/A ($amount)" or something these when
-                   # they're not applicable to pkg_tax search
-                   sub { sprintf($money_char.'%.2f', shift->setup ) },
-                   sub { sprintf($money_char.'%.2f', shift->recur ) },
-                   'invnum',
-                   sub { time2str('%b %d %Y', shift->_date ) },
-                   \&FS::UI::Web::cust_fields,
-                 ],
-                 'links'       => [
-                   '',
-                   '',
-                   '',
-                   '',
-                   $ilink,
-                   $ilink,
-                   ( map { $clink } FS::UI::Web::cust_header() ),
-                 ],
-                 'align' => 'rlrrrc',
-           )
-%>
-
diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html
deleted file mode 100755 (executable)
index 279d682..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<%
-   my $title = 'Credit Search Results';
-   #my( $count_query, $sql_query );
-
-   my @search = ();
-
-   if ( $cgi->param('otaker') && $cgi->param('otaker') =~ /^([\w\.\-]+)$/ ) {
-     push @search, "cust_credit.otaker = '$1'";
-   }
-
-   if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-     push @search, "agentnum = $1";
-     my $agent = qsearchs('agent', { 'agentnum' => $1 } );
-     die "unknown agentnum $1" unless $agent;
-     $title = $agent->agent. " $title";
-   }
-
-   #false laziness with cust_pkg.cgi and cust_pay.cgi
-   if ( $cgi->param('beginning')
-        && $cgi->param('beginning') =~ /^([ 0-9\-\/]{1,10})$/ ) {
-     my $beginning = str2time($1);
-     push @search, "_date >= $beginning ";
-   }
-   if ( $cgi->param('ending')
-             && $cgi->param('ending') =~ /^([ 0-9\-\/]{1,10})$/ ) {
-     my $ending = str2time($1) + 86399;
-     push @search, " _date <= $ending ";
-   }
-
-   if ( $cgi->param('begin')
-        && $cgi->param('begin') =~ /^(\d+)$/ ) {
-     push @search, "_date >= $1 ";
-   }
-   if ( $cgi->param('end')
-             && $cgi->param('end') =~ /^(\d+)$/ ) {
-     push @search, " _date < $1 ";
-   }
-
-   my $where = scalar(@search)
-                 ? 'WHERE '. join(' AND ', @search)
-                 : '';
-
-   my $count_query = 'SELECT COUNT(*), SUM(amount) '.
-                     'FROM cust_credit LEFT JOIN cust_main USING ( custnum ) '.
-                     $where;
-
-   my $sql_query   = {
-     'table'     => 'cust_credit',
-     'select'    => join(', ',
-                      'cust_credit.*',
-                      'cust_main.custnum as cust_main_custnum',
-                      FS::UI::Web::cust_sql_fields(),
-                    ),
-     'hashref'   => {},
-     'extra_sql' => $where,
-     'addl_from' => 'LEFT JOIN cust_main USING ( custnum )',
-   };
-
-     my $clink = sub {
-       my $cust_bill = shift;
-       $cust_bill->cust_main_custnum
-         ? [ "${p}view/cust_main.cgi?", 'custnum' ]
-         : '';
-     };
-
-%><%= include( 'elements/search.html',
-                 'title'       => $title,
-                 'name'        => 'credits',
-                 'query'       => $sql_query,
-                 'count_query' => $count_query,
-                 'count_addl'  => [ '$%.2f total credited', ],
-                 #'redirect'    => $link,
-                 'header'      => [ 'Amount',
-                                    'Date',
-                                    FS::UI::Web::cust_header(),
-                                    'By',
-                                    'Reason'
-                                  ],
-                 'fields'      => [
-                   #'crednum',
-                   sub { sprintf('$%.2f', shift->amount ) },
-                   sub { time2str('%b %d %Y', shift->_date ) },
-                   \&FS::UI::Web::cust_fields,
-                   'otaker',
-                   'reason',
-                 ],
-                 #'align' => 'rrrllll',
-                 'align' => 'rr',
-                 'links' => [
-                   '',
-                   '',
-                   ( map { $clink } FS::UI::Web::cust_header() ),
-                   '',
-                   '',
-                 ],
-      )
-%>
diff --git a/httemplate/search/cust_main-otaker.cgi b/httemplate/search/cust_main-otaker.cgi
deleted file mode 100755 (executable)
index 03c2619..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Customer Search</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <FONT SIZE=7>
-      Customer Search
-    </FONT>
-    <BR>
-    <FORM ACTION="cust_main.cgi" METHOD="GET">
-      Search for <B>Order taker</B>: 
-      <INPUT TYPE="hidden" NAME="otaker_on" VALUE="TRUE">
-      <% my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_main")
-           or die dbh->errstr;
-         $sth->execute() or die $sth->errstr;
-#         my @otakers = map { $_->[0] } @{$sth->selectall_arrayref};
-      %>
-      <SELECT NAME="otaker">
-      <% my $otaker; while ( $otaker = $sth->fetchrow_arrayref ) { %>
-        <OPTION><%= $otaker->[0] %></OTAKER>
-      <% } %>
-      </SELECT>
-      <P><INPUT TYPE="submit" VALUE="Search">
-
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/cust_main-payinfo.html b/httemplate/search/cust_main-payinfo.html
deleted file mode 100755 (executable)
index b82b610..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Customer Search</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <FONT SIZE=7>
-      Customer Search
-    </FONT>
-    <BR>
-    <FORM ACTION="cust_main.cgi" METHOD="GET">
-      Search for <B>Credit card #</B>: 
-      <INPUT TYPE="hidden" NAME="card_on" VALUE="TRUE">
-      <INPUT TYPE="text" NAME="card">
-
-      <P><INPUT TYPE="submit" VALUE="Search">
-
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/cust_main-quickpay.html b/httemplate/search/cust_main-quickpay.html
deleted file mode 100755 (executable)
index 154a641..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Quick payment entry</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <FONT SIZE=7>
-      Quick payment entry
-    </FONT>
-    <BR><BR>
-    <A HREF="../">Main Menu</A><BR><BR>
-    <FORM ACTION="cust_main.cgi" METHOD="GET">
-      <INPUT TYPE="hidden" NAME="quickpay" VALUE="yes">
-      <INPUT TYPE="checkbox" NAME="last_on" CHECKED> Search for <B>last name</B>: 
-      <INPUT TYPE="text" NAME="last_text">
-      using search method: <SELECT NAME="last_type">
-        <OPTION SELECTED>All
-        <OPTION>Fuzzy
-        <OPTION>Substring
-        <OPTION>Exact
-      </SELECT>
-
-      <P><INPUT TYPE="checkbox" NAME="company_on" CHECKED> Search for <B>company</B>: 
-      <INPUT TYPE="text" NAME="company_text">
-      using search method: <SELECT NAME="company_type">
-        <OPTION SELECTED>All
-        <OPTION>Fuzzy
-        <OPTION>Substring
-        <OPTION>Exact
-      </SELECT>
-
-      <P><INPUT TYPE="submit" VALUE="Search">
-
-    </FORM>
-
-  <HR>Explanation of search methods:
-  <UL>
-    <LI><B>All</B> - Try all search methods.
-    <LI><B>Fuzzy</B> - Searches for matches that are close to your text.
-    <LI><B>Substring</B> - Searches for matches that contain your text.
-    <LI><B>Exact</B> - Finds exact matches only, but much faster than the other search methods.
-  </UL>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/cust_main.cgi b/httemplate/search/cust_main.cgi
deleted file mode 100755 (executable)
index 665f563..0000000
+++ /dev/null
@@ -1,685 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-my $maxrecords = $conf->config('maxsearchrecordsperpage');
-
-#my $cache;
-
-#my $monsterjoin = <<END;
-#cust_main left outer join (
-#  ( cust_pkg left outer join part_pkg using(pkgpart)
-#  ) left outer join (
-#    (
-#      (
-#        ( cust_svc left outer join part_svc using (svcpart)
-#        ) left outer join svc_acct using (svcnum)
-#      ) left outer join svc_domain using(svcnum)
-#    ) left outer join svc_forward using(svcnum)
-#  ) using (pkgnum)
-#) using (custnum)
-#END
-
-#my $monsterjoin = <<END;
-#cust_main left outer join (
-#  ( cust_pkg left outer join part_pkg using(pkgpart)
-#  ) left outer join (
-#    (
-#      (
-#        ( cust_svc left outer join part_svc using (svcpart)
-#        ) left outer join (
-#          svc_acct left outer join (
-#            select svcnum, domain, catchall from svc_domain
-#            ) as svc_acct_domsvc (
-#              svc_acct_svcnum, svc_acct_domain, svc_acct_catchall
-#          ) on svc_acct.domsvc = svc_acct_domsvc.svc_acct_svcnum
-#        ) using (svcnum)
-#      ) left outer join svc_domain using(svcnum)
-#    ) left outer join svc_forward using(svcnum)
-#  ) using (pkgnum)
-#) using (custnum)
-#END
-
-my $limit = '';
-$limit .= "LIMIT $maxrecords" if $maxrecords;
-
-my $offset = $cgi->param('offset') || 0;
-$limit .= " OFFSET $offset" if $offset;
-
-my $total = 0;
-
-my(@cust_main, $sortby, $orderby);
-my @select = ();
-my @addl_headers = ();
-my @addl_cols = ();
-if ( $cgi->param('browse')
-     || $cgi->param('otaker_on')
-     || $cgi->param('agentnum_on')
-) {
-
-  my %search = ();
-
-  if ( $cgi->param('browse') ) {
-    my $query = $cgi->param('browse');
-    if ( $query eq 'custnum' ) {
-      $sortby=\*custnum_sort;
-      $orderby = "ORDER BY custnum";
-    } elsif ( $query eq 'last' ) {
-      $sortby=\*last_sort;
-      $orderby = "ORDER BY LOWER(last || ' ' || first)";
-    } elsif ( $query eq 'company' ) {
-      $sortby=\*company_sort;
-      $orderby = "ORDER BY LOWER(company || ' ' || last || ' ' || first )";
-    } elsif ( $query eq 'tickets' ) {
-      $sortby = \*tickets_sort;
-      $orderby = "ORDER BY tickets DESC";
-      push @select, FS::TicketSystem->sql_num_customer_tickets. " as tickets";
-      push @addl_headers, 'Tickets';
-      push @addl_cols, 'tickets';
-    } else {
-      die "unknown browse field $query";
-    }
-  } else {
-    $sortby = \*last_sort; #??
-    $orderby = "ORDER BY LOWER(last || ' ' || first)"; #??
-  }
-
-  if ( $cgi->param('otaker_on') ) {
-    $cgi->param('otaker') =~ /^(\w{1,32})$/ or eidiot "Illegal otaker\n";
-    $search{otaker} = $1;
-  } elsif ( $cgi->param('agentnum_on') ) {
-    $cgi->param('agentnum') =~ /^(\d+)$/ or eidiot "Illegal agentnum\n";
-    $search{agentnum} = $1;
-#  } else {
-#    die "unknown query...";
-  }
-
-  my @qual = ();
-
-  my $ncancelled = '';
-
-  if (  $cgi->param('showcancelledcustomers') eq '0' #see if it was set by me
-       || ( $conf->exists('hidecancelledcustomers')
-             && ! $cgi->param('showcancelledcustomers') )
-     ) {
-    #grep { $_->ncancelled_pkgs || ! $_->all_pkgs }
-    push @qual, "
-       ( 0 < ( SELECT COUNT(*) FROM cust_pkg
-                      WHERE cust_pkg.custnum = cust_main.custnum
-                        AND ( cust_pkg.cancel IS NULL
-                              OR cust_pkg.cancel = 0
-                            )
-             )
-         OR 0 = ( SELECT COUNT(*) FROM cust_pkg
-                    WHERE cust_pkg.custnum = cust_main.custnum
-                )
-       )
-    ";
-   }
-
-  push @qual, FS::cust_main->cancel_sql   if $cgi->param('cancelled');
-  push @qual, FS::cust_main->prospect_sql if $cgi->param('prospect');
-  push @qual, FS::cust_main->active_sql   if $cgi->param('active');
-  push @qual, FS::cust_main->susp_sql     if $cgi->param('suspended');
-
-  #EWWWWWW
-  my $qual = join(' AND ',
-            map { "$_ = ". dbh->quote($search{$_}) } keys %search );
-
-  my $addl_qual = join(' AND ', @qual);
-
-  if ( $addl_qual ) {
-    $qual .= ' AND ' if $qual;
-    $qual .= $addl_qual;
-  }
-    
-  $qual = " WHERE $qual" if $qual;
-  my $statement = "SELECT COUNT(*) FROM cust_main $qual";
-  my $sth = dbh->prepare($statement) or die dbh->errstr." preparing $statement";
-  $sth->execute or die "Error executing \"$statement\": ". $sth->errstr;
-
-  $total = $sth->fetchrow_arrayref->[0];
-
-  if ( $addl_qual ) {
-    if ( %search ) {
-      $addl_qual = " AND $addl_qual";
-    } else {
-      $addl_qual = " WHERE $addl_qual";
-    }
-  }
-
-  my $select;
-  if ( @select ) {
-    $select = 'cust_main.*, '. join (', ', @select);
-  } else {
-    $select = '*';
-  }
-
-  @cust_main = qsearch('cust_main', \%search, $select,   
-                         "$addl_qual $orderby $limit" );
-
-#  foreach my $cust_main ( @just_cust_main ) {
-#
-#    my @one_cust_main;
-#    $FS::Record::DEBUG=1;
-#    ( $cache, @one_cust_main ) = jsearch(
-#      "$monsterjoin",
-#      { 'custnum' => $cust_main->custnum },
-#      '',
-#      '',
-#      'cust_main',
-#      'custnum',
-#    );
-#    push @cust_main, @one_cust_main;
-#  }
-
-} else {
-  @cust_main=();
-  $sortby = \*last_sort;
-
-  push @cust_main, @{&custnumsearch}
-    if $cgi->param('custnum_on') && $cgi->param('custnum_text');
-  push @cust_main, @{&cardsearch}
-    if $cgi->param('card_on') && $cgi->param('card');
-  push @cust_main, @{&lastsearch}
-    if $cgi->param('last_on') && $cgi->param('last_text');
-  push @cust_main, @{&companysearch}
-    if $cgi->param('company_on') && $cgi->param('company_text');
-  push @cust_main, @{&address2search}
-    if $cgi->param('address2_on') && $cgi->param('address2_text');
-  push @cust_main, @{&phonesearch}
-    if $cgi->param('phone_on') && $cgi->param('phone_text');
-  push @cust_main, @{&referralsearch}
-    if $cgi->param('referral_custnum');
-
-  if ( $cgi->param('company_on') && $cgi->param('company_text') ) {
-    $sortby = \*company_sort;
-    push @cust_main, @{&companysearch};
-  }
-
-  @cust_main = grep { $_->ncancelled_pkgs || ! $_->all_pkgs } @cust_main
-    if ! $cgi->param('cancelled')
-       && (
-         $cgi->param('showcancelledcustomers') eq '0' #see if it was set by me
-         || ( $conf->exists('hidecancelledcustomers')
-               && ! $cgi->param('showcancelledcustomers') )
-       );
-
-  my %saw = ();
-  @cust_main = grep { !$saw{$_->custnum}++ } @cust_main;
-}
-
-my %all_pkgs;
-if ( $conf->exists('hidecancelledpackages' ) ) {
-  %all_pkgs = map { $_->custnum => [ $_->ncancelled_pkgs ] } @cust_main;
-} else {
-  %all_pkgs = map { $_->custnum => [ $_->all_pkgs ] } @cust_main;
-}
-#%all_pkgs = ();
-
-if ( scalar(@cust_main) == 1 && ! $cgi->param('referral_custnum') ) {
-  if ( $cgi->param('quickpay') eq 'yes' ) {
-    print $cgi->redirect(popurl(2). "edit/cust_pay.cgi?quickpay=yes;custnum=". $cust_main[0]->custnum);
-  } else {
-    print $cgi->redirect(popurl(2). "view/cust_main.cgi?". $cust_main[0]->custnum);
-  }
-  #exit;
-} elsif ( scalar(@cust_main) == 0 ) {
-%>
-<!-- mason kludge -->
-<%
-  eidiot "No matching customers found!\n";
-} else { 
-%>
-<!-- mason kludge -->
-<%
-
-  $total ||= scalar(@cust_main);
-  print header("Customer Search Results",menubar(
-    'Main Menu', popurl(2)
-  )), "$total matching customers found ";
-
-  #begin pager
-  my $pager = '';
-  if ( $total != scalar(@cust_main) && $maxrecords ) {
-    unless ( $offset == 0 ) {
-      $cgi->param('offset', $offset - $maxrecords);
-      $pager .= '<A HREF="'. $cgi->self_url.
-                '"><B><FONT SIZE="+1">Previous</FONT></B></A> ';
-    }
-    my $poff;
-    my $page;
-    for ( $poff = 0; $poff < $total; $poff += $maxrecords ) {
-      $page++;
-      if ( $offset == $poff ) {
-        $pager .= qq!<FONT SIZE="+2">$page</FONT> !;
-      } else {
-        $cgi->param('offset', $poff);
-        $pager .= qq!<A HREF="!. $cgi->self_url. qq!">$page</A> !;
-      }
-    }
-    unless ( $offset + $maxrecords > $total ) {
-      $cgi->param('offset', $offset + $maxrecords);
-      $pager .= '<A HREF="'. $cgi->self_url.
-                '"><B><FONT SIZE="+1">Next</FONT></B></A> ';
-    }
-  }
-  #end pager
-
-  unless ( $cgi->param('cancelled') ) {
-    if ( $cgi->param('showcancelledcustomers') eq '0' #see if it was set by me
-         || ( $conf->exists('hidecancelledcustomers')
-              && ! $cgi->param('showcancelledcustomers')
-            )
-       ) {
-      $cgi->param('showcancelledcustomers', 1);
-      $cgi->param('offset', 0);
-      print qq!( <a href="!. $cgi->self_url. qq!">show!;
-    } else {
-      $cgi->param('showcancelledcustomers', 0);
-      $cgi->param('offset', 0);
-      print qq!( <a href="!. $cgi->self_url. qq!">hide!;
-    }
-    print ' cancelled customers</a> )';
-  }
-
-  if ( $cgi->param('referral_custnum') ) {
-    $cgi->param('referral_custnum') =~ /^(\d+)$/
-      or eidiot "Illegal referral_custnum\n";
-    my $referral_custnum = $1;
-    my $cust_main = qsearchs('cust_main', { custnum => $referral_custnum } );
-    print '<FORM METHOD="GET">'.
-          qq!<INPUT TYPE="hidden" NAME="referral_custnum" VALUE="$referral_custnum">!.
-          'referrals of <A HREF="'. popurl(2).
-          "view/cust_main.cgi?$referral_custnum\">$referral_custnum: ".
-          ( $cust_main->company
-            || $cust_main->last. ', '. $cust_main->first ).
-          '</A>';
-    print "\n",<<END;
-      <SCRIPT>
-      function changed(what) {
-        what.form.submit();
-      }
-      </SCRIPT>
-END
-    print ' <SELECT NAME="referral_depth" SIZE="1" onChange="changed(this)">';
-    my $max = 8; #config file
-    $cgi->param('referral_depth') =~ /^(\d*)$/ 
-      or eidiot "Illegal referral_depth";
-    my $referral_depth = $1;
-
-    foreach my $depth ( 1 .. $max ) {
-      print '<OPTION',
-            ' SELECTED'x($depth == $referral_depth),
-            ">$depth";
-    }
-    print "</SELECT> levels deep".
-          '<NOSCRIPT> <INPUT TYPE="submit" VALUE="change"></NOSCRIPT>'.
-          '</FORM>';
-  }
-
-  my @custom_priorities = ();
-  if ( $conf->config('ticket_system-custom_priority_field')
-       && @{[ $conf->config('ticket_system-custom_priority_field-values') ]} ) {
-    @custom_priorities =
-      $conf->config('ticket_system-custom_priority_field-values');
-  }
-
-  print "<BR><BR>". $pager. &table(). <<END;
-      <TR>
-        <TH></TH>
-        <TH>(bill) name</TH>
-        <TH>company</TH>
-END
-
-if ( defined dbdef->table('cust_main')->column('ship_last') ) {
-  print <<END;
-      <TH>(service) name</TH>
-      <TH>company</TH>
-END
-}
-
-foreach my $addl_header ( @addl_headers ) {
-  print "<TH>$addl_header</TH>";
-}
-
-print <<END;
-        <TH>Packages</TH>
-        <TH COLSPAN=2>Services</TH>
-      </TR>
-END
-
-  my(%saw,$cust_main);
-  foreach $cust_main (
-    sort $sortby grep(!$saw{$_->custnum}++, @cust_main)
-  ) {
-    my($custnum,$last,$first,$company)=(
-      $cust_main->custnum,
-      $cust_main->getfield('last'),
-      $cust_main->getfield('first'),
-      $cust_main->company,
-    );
-
-    my(@lol_cust_svc);
-    my($rowspan)=0;#scalar( @{$all_pkgs{$custnum}} );
-    foreach ( @{$all_pkgs{$custnum}} ) {
-      #my(@cust_svc) = qsearch( 'cust_svc', { 'pkgnum' => $_->pkgnum } );
-      my @cust_svc = $_->cust_svc;
-      push @lol_cust_svc, \@cust_svc;
-      $rowspan += scalar(@cust_svc) || 1;
-    }
-
-    #my($rowspan) = scalar(@{$all_pkgs{$custnum}});
-    my $view;
-    if ( defined $cgi->param('quickpay') && $cgi->param('quickpay') eq 'yes' ) {
-      $view = $p. 'edit/cust_pay.cgi?quickpay=yes;custnum='. $custnum;
-    } else {
-      $view = $p. 'view/cust_main.cgi?'. $custnum;
-    }
-    my $pcompany = $company
-      ? qq!<A HREF="$view"><FONT SIZE=-1>$company</FONT></A>!
-      : '<FONT SIZE=-1>&nbsp;</FONT>';
-    print <<END;
-    <TR>
-      <TD ROWSPAN=$rowspan><A HREF="$view"><FONT SIZE=-1>$custnum</FONT></A></TD>
-      <TD ROWSPAN=$rowspan><A HREF="$view"><FONT SIZE=-1>$last, $first</FONT></A></TD>
-      <TD ROWSPAN=$rowspan>$pcompany</TD>
-END
-    if ( defined dbdef->table('cust_main')->column('ship_last') ) {
-      my($ship_last,$ship_first,$ship_company)=(
-        $cust_main->ship_last || $cust_main->getfield('last'),
-        $cust_main->ship_last ? $cust_main->ship_first : $cust_main->first,
-        $cust_main->ship_last ? $cust_main->ship_company : $cust_main->company,
-      );
-      my $pship_company = $ship_company
-        ? qq!<A HREF="$view"><FONT SIZE=-1>$ship_company</FONT></A>!
-        : '<FONT SIZE=-1>&nbsp;</FONT>';
-      print <<END;
-      <TD ROWSPAN=$rowspan><A HREF="$view"><FONT SIZE=-1>$ship_last, $ship_first</FONT></A></TD>
-      <TD ROWSPAN=$rowspan>$pship_company</A></TD>
-END
-    }
-
-    foreach my $addl_col ( @addl_cols ) {
-      print "<TD ROWSPAN=$rowspan ALIGN=right><FONT SIZE=-1>";
-      if ( $addl_col eq 'tickets' ) {
-        if ( @custom_priorities ) {
-          print &itable('', 0);
-          foreach my $priority ( @custom_priorities, '' ) {
-          
-            my $num =
-              FS::TicketSystem->num_customer_tickets($custnum,$priority);
-            my $ahref = '';
-            $ahref= '<A HREF="'.
-                    FS::TicketSystem->href_customer_tickets($custnum,$priority).
-                    '">'
-              if $num;
-
-            print '<TR>'.
-                  "  <TD ALIGN=right><FONT SIZE=-1>$ahref$num</A></FONT></TD>".
-                  "<TD ALIGN=left><FONT SIZE=-1>$ahref".
-                  ( $priority || '<i>(none)</i>' ).
-                  "</A></FONT></TD></TR>";
-
-          }
-          print '<TR><TD BGCOLOR="#000000" COLSPAN=2></TD></TR>'.
-                '<TR><TD ALIGN=right><FONT SIZE=-1>';
-        }
-
-        my $ahref = '';
-        $ahref = '<A HREF="'.
-                    FS::TicketSystem->href_customer_tickets($custnum).
-                    '">'
-          if $cust_main->get($addl_col);
-
-        print $ahref. $cust_main->get($addl_col). '</A>';
-        print "</FONT></TD><TD ALIGN=left>".
-              "<FONT SIZE=-1>${ahref}Total</A><FONT>".
-              "</TD></TR></TABLE>"
-          if @custom_priorities;
-
-      } else {
-        print $cust_main->get($addl_col);
-      }
-      print "</FONT></TD>";
-    }
-
-    my($n1)='';
-    foreach ( @{$all_pkgs{$custnum}} ) {
-      my $pkgnum = $_->pkgnum;
-#      my $part_pkg = qsearchs( 'part_pkg', { pkgpart => $_->pkgpart } );
-      my $part_pkg = $_->part_pkg;
-
-      my $pkg = $part_pkg->pkg;
-      my $comment = $part_pkg->comment;
-      my $pkgview = "${p}view/cust_main.cgi?$custnum#cust_pkg$pkgnum";
-      my @cust_svc = @{shift @lol_cust_svc};
-      #my(@cust_svc) = qsearch( 'cust_svc', { 'pkgnum' => $_->pkgnum } );
-      my $rowspan = scalar(@cust_svc) || 1;
-
-      print $n1, qq!<TD ROWSPAN=$rowspan><A HREF="$pkgview"><FONT SIZE=-1>$pkg - $comment</FONT></A></TD>!;
-      my($n2)='';
-      foreach my $cust_svc ( @cust_svc ) {
-         my($label, $value, $svcdb) = $cust_svc->label;
-         my($svcnum) = $cust_svc->svcnum;
-         my($sview) = $p.'view';
-         print $n2,qq!<TD><A HREF="$sview/$svcdb.cgi?$svcnum"><FONT SIZE=-1>$label</FONT></A></TD>!,
-               qq!<TD><A HREF="$sview/$svcdb.cgi?$svcnum"><FONT SIZE=-1>$value</FONT></A></TD>!;
-         $n2="</TR><TR>";
-      }
-      #print qq!</TR><TR>\n!;
-      $n1="</TR><TR>";
-    }
-    print "</TR>";
-  }
-  print "</TABLE>$pager</BODY></HTML>";
-
-}
-
-#undef $cache; #does this help?
-
-#
-
-sub last_sort {
-  lc($a->getfield('last')) cmp lc($b->getfield('last'))
-  || lc($a->first) cmp lc($b->first);
-}
-
-sub company_sort {
-  return -1 if $a->company && ! $b->company;
-  return 1 if ! $a->company && $b->company;
-  lc($a->company) cmp lc($b->company)
-  || lc($a->getfield('last')) cmp lc($b->getfield('last'))
-  || lc($a->first) cmp lc($b->first);;
-}
-
-sub custnum_sort {
-  $a->getfield('custnum') <=> $b->getfield('custnum');
-}
-
-sub tickets_sort {
-  $b->getfield('tickets') <=> $a->getfield('tickets');
-}
-
-sub custnumsearch {
-
-  my $custnum = $cgi->param('custnum_text');
-  $custnum =~ s/\D//g;
-  $custnum =~ /^(\d{1,23})$/ or eidiot "Illegal customer number\n";
-  $custnum = $1;
-  
-  [ qsearchs('cust_main', { 'custnum' => $custnum } ) ];
-}
-
-sub cardsearch {
-
-  my($card)=$cgi->param('card');
-  $card =~ s/\D//g;
-  $card =~ /^(\d{13,16})$/ or eidiot "Illegal card number\n";
-  my($payinfo)=$1;
-
-  [ qsearch('cust_main',{'payinfo'=>$payinfo, 'payby'=>'CARD'}),
-    qsearch('cust_main',{'payinfo'=>$payinfo, 'payby'=>'DCRD'})
-  ];
-}
-
-sub referralsearch {
-  $cgi->param('referral_custnum') =~ /^(\d+)$/
-    or eidiot "Illegal referral_custnum";
-  my $cust_main = qsearchs('cust_main', { 'custnum' => $1 } )
-    or eidiot "Customer $1 not found";
-  my $depth;
-  if ( $cgi->param('referral_depth') ) {
-    $cgi->param('referral_depth') =~ /^(\d+)$/
-      or eidiot "Illegal referral_depth";
-    $depth = $1;
-  } else {
-    $depth = 1;
-  }
-  [ $cust_main->referral_cust_main($depth) ];
-}
-
-sub lastsearch {
-  my(%last_type);
-  my @cust_main;
-  foreach ( $cgi->param('last_type') ) {
-    $last_type{$_}++;
-  }
-
-  $cgi->param('last_text') =~ /^([\w \,\.\-\']*)$/
-    or eidiot "Illegal last name";
-  my($last)=$1;
-
-  if ( $last_type{'Exact'} || $last_type{'Fuzzy'} ) {
-    push @cust_main, qsearch( 'cust_main',
-                              { 'last' => { 'op'    => 'ILIKE',
-                                            'value' => $last    } } );
-
-    push @cust_main, qsearch( 'cust_main',
-                              { 'ship_last' => { 'op'    => 'ILIKE',
-                                                 'value' => $last    } } )
-      if defined dbdef->table('cust_main')->column('ship_last');
-  }
-
-  if ( $last_type{'Substring'} || $last_type{'All'} ) {
-
-    push @cust_main, qsearch( 'cust_main',
-                              { 'last' => { 'op'    => 'ILIKE',
-                                            'value' => "%$last%" } } );
-
-    push @cust_main, qsearch( 'cust_main',
-                              { 'ship_last' => { 'op'    => 'ILIKE',
-                                                 'value' => "%$last%" } } )
-      if defined dbdef->table('cust_main')->column('ship_last');
-
-  }
-
-  if ( $last_type{'Fuzzy'} || $last_type{'All'} ) {
-    push @cust_main, FS::cust_main->fuzzy_search( { 'last' => $last } );
-  }
-
-  #if ($last_type{'Sound-alike'}) {
-  #}
-
-  \@cust_main;
-}
-
-sub companysearch {
-
-  my(%company_type);
-  my @cust_main;
-  foreach ( $cgi->param('company_type') ) {
-    $company_type{$_}++ 
-  };
-
-  $cgi->param('company_text') =~
-    /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]*)$/
-      or eidiot "Illegal company";
-  my $company = $1;
-
-  if ( $company_type{'Exact'} || $company_type{'Fuzzy'} ) {
-    push @cust_main, qsearch( 'cust_main',
-                              { 'company' => { 'op'    => 'ILIKE',
-                                               'value' => $company } } );
-
-    push @cust_main, qsearch( 'cust_main',
-                              { 'ship_company' => { 'op'    => 'ILIKE',
-                                                    'value' => $company } } )
-      if defined dbdef->table('cust_main')->column('ship_last');
-  }
-
-  if ( $company_type{'Substring'} || $company_type{'All'} ) {
-
-    push @cust_main, qsearch( 'cust_main',
-                              { 'company' => { 'op'    => 'ILIKE',
-                                               'value' => "%$company%" } } );
-
-    push @cust_main, qsearch( 'cust_main',
-                              { 'ship_company' => { 'op'    => 'ILIKE',
-                                                    'value' => "%$company%" } })
-      if defined dbdef->table('cust_main')->column('ship_last');
-
-  }
-
-  if ( $company_type{'Fuzzy'} || $company_type{'All'} ) {
-    push @cust_main, FS::cust_main->fuzzy_search( { 'company' => $company } );
-  }
-
-  if ($company_type{'Sound-alike'}) {
-  }
-
-  \@cust_main;
-}
-
-sub address2search {
-  my @cust_main;
-
-  $cgi->param('address2_text') =~
-    /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=]*)$/
-      or eidiot "Illegal address2";
-  my $address2 = $1;
-
-  push @cust_main, qsearch( 'cust_main',
-                            { 'address2' => { 'op'    => 'ILIKE',
-                                              'value' => $address2 } } );
-  push @cust_main, qsearch( 'cust_main',
-                            { 'address2' => { 'op'    => 'ILIKE',
-                                              'value' => $address2 } } )
-    if defined dbdef->table('cust_main')->column('ship_last');
-
-  \@cust_main;
-}
-
-sub phonesearch {
-  my @cust_main;
-
-  my $phone = $cgi->param('phone_text');
-
-  #(no longer really) false laziness with Record::ut_phonen
-  #only works with US/CA numbers...
-  $phone =~ s/\D//g;
-  if ( $phone =~ /^(\d{3})(\d{3})(\d{4})(\d*)$/ ) {
-    $phone = "$1-$2-$3";
-    $phone .= " x$4" if $4;
-  } elsif ( $phone =~ /^(\d{3})(\d{4})$/ ) {
-    $phone = "$1-$2";
-  } elsif ( $phone =~ /^(\d{3,4})$/ ) {
-    $phone = $1;
-  } else {
-    eidiot gettext('illegal_phone'). ": $phone";
-  }
-
-  my @fields = qw(daytime night fax);
-  push @fields, qw(ship_daytime ship_night ship_fax)
-    if defined dbdef->table('cust_main')->column('ship_last');
-
-  for my $field ( @fields ) {
-    push @cust_main, qsearch ( 'cust_main', 
-                               { $field => { 'op'    => 'LIKE',
-                                             'value' => "%$phone%" } } );
-  }
-
-  \@cust_main;
-}
-
-%>
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html
deleted file mode 100755 (executable)
index 4f75084..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Customer Search</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <FONT SIZE=7>
-      Customer Search
-    </FONT>
-    <BR><BR>
-    <FORM ACTION="cust_main.cgi" METHOD="GET">
-      <INPUT TYPE="checkbox" NAME="last_on" CHECKED> Search for <B>last name</B>: 
-      <INPUT TYPE="text" NAME="last_text">
-      using search method: <SELECT NAME="last_type">
-        <OPTION SELECTED>All
-        <OPTION>Fuzzy
-        <OPTION>Substring
-        <OPTION>Exact
-      </SELECT>
-
-      <P><INPUT TYPE="checkbox" NAME="company_on" CHECKED> Search for <B>company</B>: 
-      <INPUT TYPE="text" NAME="company_text">
-      using search methods: <SELECT NAME="company_type">
-        <OPTION SELECTED>All
-        <OPTION>Fuzzy
-        <OPTION>Substring
-        <OPTION>Exact
-      </SELECT>
-
-      <P><INPUT TYPE="submit" VALUE="Search"> Note: Fuzzy searching can take a while.  Please be patient.
-
-    </FORM>
-
-  <HR>Explanation of search methods:
-  <UL>
-    <LI><B>All</B> - Try all search methods.
-    <LI><B>Fuzzy</B> - Searches for matches that are close to your text.
-    <LI><B>Substring</B> - Searches for matches that contain your text.
-    <LI><B>Exact</B> - Finds exact matches only, but much faster than the other search methods.
-  </UL>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/cust_pay.cgi b/httemplate/search/cust_pay.cgi
deleted file mode 100755 (executable)
index 99ffc3d..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-<%
-   my $title = 'Payment Search Results';
-   my( $count_query, $sql_query );
-   if ( $cgi->param('magic') ) {
-
-     my @search = ();
-     my $orderby;
-     if ( $cgi->param('magic') eq '_date' ) {
-   
-  
-       if ( $cgi->param('agentnum') && $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-         push @search, "agentnum = $1"; # $search{'agentnum'} = $1;
-         my $agent = qsearchs('agent', { 'agentnum' => $1 } );
-         die "unknown agentnum $1" unless $agent;
-         $title = $agent->agent. " $title";
-       }
-     
-       if ( $cgi->param('payby') ) {
-         $cgi->param('payby') =~
-           /^(CARD|CHEK|BILL|PREP|CASH|WEST|MCRD)(-(VisaMC|Amex|Discover|Maestro))?$/
-             or die "illegal payby ". $cgi->param('payby');
-         push @search, "cust_pay.payby = '$1'";
-         if ( $3 ) {
-           if ( $3 eq 'VisaMC' ) {
-             #avoid posix regexes for portability
-             push @search,
-               " ( (     substring(cust_pay.payinfo from 1 for 1) = '4'     ".
-               "     AND substring(cust_pay.payinfo from 1 for 4) != '4936' ".
-               "     AND substring(cust_pay.payinfo from 1 for 6)           ".
-               "         NOT SIMILAR TO '49030[2-9]'                        ".
-               "     AND substring(cust_pay.payinfo from 1 for 6)           ".
-               "         NOT SIMILAR TO '49033[5-9]'                        ".
-               "     AND substring(cust_pay.payinfo from 1 for 6)           ".
-               "         NOT SIMILAR TO '49110[1-2]'                        ".
-               "     AND substring(cust_pay.payinfo from 1 for 6)           ".
-               "         NOT SIMILAR TO '49117[4-9]'                        ".
-               "     AND substring(cust_pay.payinfo from 1 for 6)           ".
-               "         NOT SIMILAR TO '49118[1-2]'                        ".
-               "   )".
-               "   OR substring(cust_pay.payinfo from 1 for 2) = '51' ".
-               "   OR substring(cust_pay.payinfo from 1 for 2) = '52' ".
-               "   OR substring(cust_pay.payinfo from 1 for 2) = '53' ".
-               "   OR substring(cust_pay.payinfo from 1 for 2) = '54' ".
-               "   OR substring(cust_pay.payinfo from 1 for 2) = '54' ".
-               "   OR substring(cust_pay.payinfo from 1 for 2) = '55' ".
-               " ) ";
-           } elsif ( $3 eq 'Amex' ) {
-             push @search,
-               " (    substring(cust_pay.payinfo from 1 for 2 ) = '34' ".
-               "   OR substring(cust_pay.payinfo from 1 for 2 ) = '37' ".
-               " ) ";
-           } elsif ( $3 eq 'Discover' ) {
-             push @search,
-               " (    substring(cust_pay.payinfo from 1 for 4 ) = '6011'  ".
-               "   OR substring(cust_pay.payinfo from 1 for 3 ) = '650'   ".
-               " ) ";
-           } elsif ( $3 eq 'Maestro' ) { 
-             push @search,
-               " (    substring(cust_pay.payinfo from 1 for 2 ) = '63'     ".
-               "   OR substring(cust_pay.payinfo from 1 for 2 ) = '67'     ".
-               "   OR substring(cust_pay.payinfo from 1 for 6 ) = '564182' ".
-               "   OR substring(cust_pay.payinfo from 1 for 4 ) = '4936'   ".
-               "   OR substring(cust_pay.payinfo from 1 for 6 )            ".
-               "      SIMILAR TO '49030[2-9]'                             ".
-               "   OR substring(cust_pay.payinfo from 1 for 6 )            ".
-               "      SIMILAR TO '49033[5-9]'                             ".
-               "   OR substring(cust_pay.payinfo from 1 for 6 )            ".
-               "      SIMILAR TO '49110[1-2]'                             ".
-               "   OR substring(cust_pay.payinfo from 1 for 6 )            ".
-               "      SIMILAR TO '49117[4-9]'                             ".
-               "   OR substring(cust_pay.payinfo from 1 for 6 )            ".
-               "      SIMILAR TO '49118[1-2]'                             ".
-               " ) ";
-           } else {
-             die "unknown card type $3";
-           }
-         }
-       }
-  
-       my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
-       push @search, "_date >= $beginning ",
-                     "_date <= $ending";
-  
-       $orderby = '_date';
-   
-     } elsif ( $cgi->param('magic') eq 'paybatch' ) {
-
-       $cgi->param('paybatch') =~ /^([\w\/\:\-\.]+)$/
-         or die "illegal paybatch: ". $cgi->param('paybatch');
-
-       push @search, "paybatch = '$1'";
-
-       $orderby = "LOWER(company || ' ' || last || ' ' || first )";
-
-     } else {
-       die "unknown search magic: ". $cgi->param('magic');
-     }
-
-     my $search = '';
-     if ( @search ) {
-       $search = ' WHERE '. join(' AND ', @search);
-     }
-  
-     $count_query = "SELECT COUNT(*), SUM(paid) ".
-                    "FROM cust_pay LEFT JOIN cust_main USING ( custnum )".
-                    $search;
-
-     $sql_query = {
-       'table'     => 'cust_pay',
-       'select'    => join(', ',
-                        'cust_pay.*',
-                        'cust_main.custnum as cust_main_custnum',
-                        FS::UI::Web::cust_sql_fields(),
-                      ),
-       'hashref'   => {},
-       'extra_sql' => "$search ORDER BY $orderby",
-       'addl_from' => 'LEFT JOIN cust_main USING ( custnum )',
-     };
-
-   } else {
-   
-     $cgi->param('payinfo') =~ /^\s*(\d+)\s*$/ or die "illegal payinfo";
-     my $payinfo = $1;
-   
-     $cgi->param('payby') =~ /^(\w+)$/ or die "illegal payby";
-     my $payby = $1;
-   
-     $count_query = "SELECT COUNT(*), SUM(paid) FROM cust_pay ".
-                    "WHERE payinfo = '$payinfo' AND payby = '$payby'";
-   
-     $sql_query = {
-       'table'     => 'cust_pay',
-       'hashref'   => { 'payinfo' => $payinfo,
-                        'payby'   => $payby    },
-       'extra_sql' => "ORDER BY _date",
-     };
-   
-   }
-
-   my $link = sub {
-     my $cust_pay = shift;
-     $cust_pay->cust_main_custnum
-       ? [ "${p}view/cust_main.cgi?", 'custnum' ] 
-       : '';
-   };
-
-%><%= include( 'elements/search.html',
-                 'title'       => $title,
-                 'name'        => 'payments',
-                 'query'       => $sql_query,
-                 'count_query' => $count_query,
-                 'count_addl'  => [ '$%.2f total paid', ],
-                 'header'      => [ 'Payment',
-                                    'Amount',
-                                    'Date',
-                                    FS::UI::Web::cust_header(),
-                                  ],
-                 'fields'      => [
-                   sub {
-                     my $cust_pay = shift;
-                     if ( $cust_pay->payby eq 'CARD' ) {
-                       'Card #'. $cust_pay->payinfo_masked;
-                     } elsif ( $cust_pay->payby eq 'CHEK' ) {
-                       'E-check acct#'. $cust_pay->payinfo;
-                     } elsif ( $cust_pay->payby eq 'BILL' ) {
-                       'Check #'. $cust_pay->payinfo;
-                     } elsif ( $cust_pay->payby eq 'PREP' ) {
-                       'Prepaid card #'. $cust_pay->payinfo;
-                     } elsif ( $cust_pay->payby eq 'CASH' ) {
-                       'Cash '. $cust_pay->payinfo;
-                     } elsif ( $cust_pay->payby eq 'WEST' ) {
-                       'Western Union'; #. $cust_pay->payinfo;
-                     } elsif ( $cust_pay->payby eq 'MCRD' ) {
-                       'Manual credit card'; #. $cust_pay->payinfo;
-                     } else {
-                       $cust_pay->payby. ' '. $cust_pay->payinfo;
-                     }
-                   },
-                   sub { sprintf('$%.2f', shift->paid ) },
-                   sub { time2str('%b %d %Y', shift->_date ) },
-                   \&FS::UI::Web::cust_fields,
-                 ],
-                 #'align' => 'lrrrll',
-                 'align' => 'rrr',
-                 'links' => [
-                   '',
-                   '',
-                   '',
-                   ( map { $link } FS::UI::Web::cust_header() ),
-                 ],
-      )
-%>
diff --git a/httemplate/search/cust_pay.html b/httemplate/search/cust_pay.html
deleted file mode 100755 (executable)
index 6414cf7..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Check # Search</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <FONT SIZE=7>
-      Check # Search
-    </FONT>
-    <BR><BR>
-    <FORM ACTION="cust_pay.cgi" METHOD="GET">
-      Search for <B>check #</B>:
-      <INPUT TYPE="text" NAME="payinfo">
-      <INPUT TYPE="hidden" NAME="payby" VALUE="BILL">
-      <BR><BR><INPUT TYPE="submit" VALUE="Search">
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
deleted file mode 100755 (executable)
index 5da4d82..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-<%
-
-my %part_pkg = map { $_->pkgpart => $_ } qsearch('part_pkg', {});
-
-my($query) = $cgi->keywords;
-
-my $orderby;
-my @where;
-my $cjoin = '';
-
-if ( $cgi->param('agentnum') =~ /^(\d+)$/ and $1 ) {
-  $cjoin = "LEFT JOIN cust_main USING ( custnum )";
-  push @where,
-    "agentnum = $1";
-}
-
-if ( $cgi->param('magic') && $cgi->param('magic') eq 'bill' ) {
-  $orderby = 'ORDER BY bill';
-
-  my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
-  push @where,
-    "bill >= $beginning ",
-    "bill <= $ending",
-    '( cancel IS NULL OR cancel = 0 )';
-
-} else {
-
-  if ( $cgi->param('magic') &&
-       $cgi->param('magic') =~ /^(active|suspended|cancell?ed)$/
-  ) {
-
-    $orderby = 'ORDER BY pkgnum';
-
-    if ( $cgi->param('magic') eq 'active' ) {
-
-      #push @where,
-      #  '( susp IS NULL OR susp = 0 )',
-      #  '( cancel IS NULL OR cancel = 0)';
-      push @where, FS::cust_pkg->active_sql();
-
-    } elsif ( $cgi->param('magic') eq 'suspended' ) {
-
-      push @where,
-        'susp IS NOT NULL',
-        'susp != 0',
-        '( cancel IS NULL OR cancel = 0)';
-
-    } elsif ( $cgi->param('magic') =~ /^cancell?ed$/ ) {
-
-      push @where,
-        'cancel IS NOT NULL',
-        'cancel != 0';
-
-    } else {
-      die "guru meditation #420";
-    }
-
-    if ( $cgi->param('pkgpart') =~ /^(\d+)$/ ) {
-      push @where, "pkgpart = $1";
-    }
-
-  } elsif ( $query eq 'pkgnum' ) {
-
-    $orderby = 'ORDER BY pkgnum';
-
-  } elsif ( $query eq 'APKG_pkgnum' ) {
-  
-    $orderby = 'ORDER BY pkgnum';
-  
-    push @where, '0 < (
-      SELECT count(*) FROM pkg_svc
-       WHERE pkg_svc.pkgpart =  cust_pkg.pkgpart
-         AND pkg_svc.quantity > ( SELECT count(*) FROM cust_svc
-                                   WHERE cust_svc.pkgnum  = cust_pkg.pkgnum
-                                     AND cust_svc.svcpart = pkg_svc.svcpart
-                                )
-    )';
-    
-  } else {
-    die "Empty or unknown QUERY_STRING!";
-  }
-
-}
-
-my $extra_sql = scalar(@where) ? ' WHERE '. join(' AND ', @where) : '';
-
-my $count_query = "SELECT COUNT(*) FROM cust_pkg $cjoin $extra_sql";
-
-my $sql_query = {
-  'table'     => 'cust_pkg',
-  'hashref'   => {},
-  'select'    => join(', ',
-                            'cust_pkg.*',
-                            'cust_main.custnum as cust_main_custnum',
-                            FS::UI::Web::cust_sql_fields(),
-                 ),
-  'extra_sql' => "$extra_sql $orderby",
-  'addl_from' => ' LEFT JOIN cust_main USING ( custnum ) ',
-                 #' LEFT JOIN part_pkg  USING ( pkgpart ) '
-};
-
-my $link = sub {
-  [ "${p}view/cust_main.cgi?".shift->custnum.'#cust_pkg', 'pkgnum' ];
-};
-
-my $clink = sub {
-  my $cust_pkg = shift;
-  $cust_pkg->cust_main_custnum
-    ? [ "${p}view/cust_main.cgi?", 'custnum' ] 
-    : '';
-};
-
-#if ( scalar(@cust_pkg) == 1 ) {
-#  print $cgi->redirect("${p}view/cust_main.cgi?". $cust_pkg[0]->custnum.
-#                       "#cust_pkg". $cust_pkg[0]->pkgnum );
-
-#    my @cust_svc = qsearch( 'cust_svc', { 'pkgnum' => $pkgnum } );
-#    my $rowspan = scalar(@cust_svc) || 1;
-
-#    my $n2 = '';
-#    foreach my $cust_svc ( @cust_svc ) {
-#      my($label, $value, $svcdb) = $cust_svc->label;
-#      my $svcnum = $cust_svc->svcnum;
-#      my $sview = $p. "view";
-#      print $n2,qq!<TD><A HREF="$sview/$svcdb.cgi?$svcnum"><FONT SIZE=-1>$label</FONT></A></TD>!,
-#            qq!<TD><A HREF="$sview/$svcdb.cgi?$svcnum"><FONT SIZE=-1>$value</FONT></A></TD>!;
-#      $n2="</TR><TR>";
-#    }
-
-sub time_or_blank {
-   my $column = shift;
-   return sub {
-     my $record = shift;
-     my $value = $record->get($column); #mmm closures
-     $value ? time2str('%b %d %Y', $value ) : '';
-   };
-}
-
-%><%=  include( 'elements/search.html',
-                  'title'       => 'Package Search Results', 
-                  'name'        => 'packages',
-                  'query'       => $sql_query,
-                  'count_query' => $count_query,
-                  'redirect'    => $link,
-                  'header'      => [ '#',
-                                     'Package',
-                                     'Status',
-                                     'Freq.',
-                                     'Setup',
-                                     'Last bill',
-                                     'Next bill',
-                                     'Susp.',
-                                     'Expire',
-                                     'Cancel',
-                                     FS::UI::Web::cust_header(),
-                                     'Services',
-                                   ],
-                  'fields'      => [
-                    'pkgnum',
-                    sub { my $part_pkg = $part_pkg{shift->pkgpart};
-                          $part_pkg->pkg; # ' - '. $part_pkg->comment;
-                        },
-                    sub { ucfirst(shift->status); },
-                    sub { #shift->part_pkg->freq_pretty;
-                          my $part_pkg = $part_pkg{shift->pkgpart};
-                          $part_pkg->freq_pretty;
-                        },
-
-                    #sub { time2str('%b %d %Y', shift->setup); },
-                    #sub { time2str('%b %d %Y', shift->last_bill); },
-                    #sub { time2str('%b %d %Y', shift->bill); },
-                    #sub { time2str('%b %d %Y', shift->susp); },
-                    #sub { time2str('%b %d %Y', shift->expire); },
-                    #sub { time2str('%b %d %Y', shift->get('cancel')); },
-                    ( map { time_or_blank($_) }
-                          qw( setup last_bill bill susp expire cancel ) ),
-
-                    \&FS::UI::Web::cust_fields,
-                    #sub { '<table border=0 cellspacing=0 cellpadding=0 STYLE="border:none">'.
-                    #      join('', map { '<tr><td align="right" style="border:none">'. $_->[0].
-                    #                     ':</td><td style="border:none">'. $_->[1]. '</td></tr>' }
-                    #                   shift->labels
-                    #          ).
-                    #      '</table>';
-                    #    },
-                    sub {
-                          [ map {
-                                  [ 
-                                    { 'data' => $_->[0]. ':',
-                                      'align'=> 'right',
-                                    },
-                                    { 'data' => $_->[1],
-                                      'align'=> 'left',
-                                      'link' => $p. 'view/' .
-                                                $_->[2]. '.cgi?'. $_->[3],
-                                    },
-                                  ];
-                                } shift->labels
-                          ];
-                        },
-                  ],
-                  'color' => [
-                    '',
-                    '',
-                    sub { shift->statuscolor; },
-                    '',
-                    '',
-                    '',
-                    '',
-                    '',
-                    '',
-                    '',
-                    ( map { '' } FS::UI::Web::cust_header() ),
-                    '',
-                  ],
-                  'style' => [ '', '', 'b' ],
-                  'size'  => [ '', '', '-1', ],
-                  'align' => 'rlclrrrrrr',
-                  'links' => [
-                    $link,
-                    $link,
-                    '',
-                    '',
-                    '',
-                    '',
-                    '',
-                    '',
-                    '',
-                    '',
-                    ( map { $clink } FS::UI::Web::cust_header() ),
-                    '',
-                  ],
-              )
-%>
diff --git a/httemplate/search/cust_pkg_report.cgi b/httemplate/search/cust_pkg_report.cgi
deleted file mode 100755 (executable)
index 412c3f7..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Packages</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <H1>Packages</H1>
-    <FORM ACTION="cust_pkg.cgi" METHOD="GET">
-    <INPUT TYPE="hidden" NAME="magic" VALUE="bill">
-      Return packages with next bill date:<BR><BR>
-      <TABLE>
-        <%= include( '/elements/tr-input-beginning_ending.html' ) %>
-        <%= include( '/elements/tr-select-agent.html',
-                       $cgi->param('agentnum'),
-                   )
-        %>
-      </TABLE>
-      <BR><INPUT TYPE="submit" VALUE="Get Report">
-
-    </FORM>
-
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html
deleted file mode 100644 (file)
index d19fb4a..0000000
+++ /dev/null
@@ -1,392 +0,0 @@
-<%
-
-  my(%opt) = @_;
-  #warn join(' / ', map { "$_ => $opt{$_}" } keys %opt ). "\n";
-
-  my %align = (
-    'l' => 'left',
-    'r' => 'right',
-    'c' => 'center',
-    ' ' => '',
-    '.' => '',
-  );
-  $opt{align} = [ map $align{$_}, split(//, $opt{align}) ],
-    unless !$opt{align} || ref($opt{align});
-
-  my $type = '';
-  my $limit = '';
-  my($maxrecords, $total, $offset, $count_arrayref);
-
-  if ( $cgi->param('_type') =~ /^(csv|\w*\.xls)$/ ) {
-  
-    $type = $1;
-
-  } else { #setup some pagination things if we're in html mode
-
-    unless (exists($opt{'count_query'}) && length($opt{'count_query'})) {
-      ( $opt{'count_query'} = $opt{'query'} ) =~
-        s/^\s*SELECT\s*(.*?)\s+FROM\s/SELECT COUNT(*) FROM /i;
-    }
-
-    my $conf = new FS::Conf;
-    $maxrecords = $conf->config('maxsearchrecordsperpage');
-
-    $limit = $maxrecords ? "LIMIT $maxrecords" : '';
-
-    $offset = $cgi->param('offset') || 0;
-    $limit .= " OFFSET $offset" if $offset;
-
-    my $count_sth = dbh->prepare($opt{'count_query'})
-      or die "Error preparing $opt{'count_query'}: ". dbh->errstr;
-    $count_sth->execute
-      or die "Error executing $opt{'count_query'}: ". $count_sth->errstr;
-    $count_arrayref = $count_sth->fetchrow_arrayref;
-    $total = $count_arrayref->[0];
-
-  }
-
-  # run the query
-
-  my $header = $opt{'header'};
-  my $rows;
-  if ( ref($opt{'query'}) ) {
-    #eval "use FS::$opt{'query'};";
-    $rows = [ qsearch(
-      $opt{'query'}->{'table'}, 
-      $opt{'query'}->{'hashref'} || {}, 
-      $opt{'query'}->{'select'},
-      $opt{'query'}->{'extra_sql'}. " $limit",
-      '',
-      (exists($opt{'query'}->{'addl_from'}) ? $opt{'query'}->{'addl_from'} : '')
-    ) ];
-  } else {
-    my $sth = dbh->prepare("$opt{'query'} $limit")
-      or die "Error preparing $opt{'query'}: ". dbh->errstr;
-    $sth->execute
-      or die "Error executing $opt{'query'}: ". $sth->errstr;
-
-    #can get # of rows without fetching them all?
-    $rows = $sth->fetchall_arrayref;
-
-    $header ||= $sth->{NAME};
-  }
-
-  if ( $type eq 'csv' ) {
-
-    #http_header('Content-Type' => 'text/comma-separated-values' ); #IE chokes
-    http_header('Content-Type' => 'text/plain' );
-
-    my $csv = new Text::CSV_XS { 'always_quote' => 1,
-                                 'eol'          => "\n", #"\015\012", #"\012"
-                               };
-
-    $csv->combine(@$header); #or die $csv->status;
-    %><%= $csv->string %><%
-
-    foreach my $row ( @$rows ) {
-
-      if ( $opt{'fields'} ) {
-
-        my @line = ();
-
-        foreach my $field ( @{$opt{'fields'}} ) {
-          if ( ref($field) eq 'CODE' ) {
-            push @line, map {
-                              ref($_) eq 'ARRAY'
-                                ? '(N/A)' #unimplemented
-                                : $_;
-                            }
-                            &{$field}($row);
-          } else {
-            push @line, $row->$field();
-          }
-        }
-
-        $csv->combine(@line); #or die $csv->status;
-
-      } else {
-        $csv->combine(@$row); #or die $csv->status;
-      }
-
-      %><%= $csv->string %><%
-
-    }
-
-  #} elsif ( $type eq 'excel' ) {
-  } elsif ( $type =~ /\.xls$/ ) {
-
-    #http_header('Content-Type' => 'application/excel' ); #eww
-    http_header('Content-Type' => 'application/vnd.ms-excel' );
-    #http_header('Content-Type' => 'application/msexcel' ); #alas
-
-    my $data = '';
-    my $XLS = new IO::Scalar \$data;
-    my $workbook = Spreadsheet::WriteExcel->new($XLS)
-      or die "Error opening .xls file: $!";
-
-    my $worksheet = $workbook->add_worksheet(substr($opt{'title'},0,31));
-
-    my($r,$c) = (0,0);
-
-    $worksheet->write($r, $c++, $_) foreach @$header;
-
-    foreach my $row ( @$rows ) {
-      $r++;
-      $c = 0;
-
-      if ( $opt{'fields'} ) {
-
-        #my $links = $opt{'links'} ? [ @{$opt{'links'}} ] : '';
-        #my $aligns = $opt{'align'} ? [ @{$opt{'align'}} ] : '';
-
-        foreach my $field ( @{$opt{'fields'}} ) {
-          #my $align = $aligns ? shift @$aligns : '';
-          #$align = " ALIGN=$align" if $align;
-          #my $a = '';
-          #if ( $links ) {
-          #  my $link = shift @$links;
-          #  $link = &{$link}($row) if ref($link) eq 'CODE';
-          #  if ( $link ) {
-          #    my( $url, $method ) = @{$link};
-          #    if ( ref($method) eq 'CODE' ) {
-          #      $a = $url. &{$method}($row);
-          #    } else {
-          #      $a = $url. $row->$method();
-          #    }
-          #    $a = qq(<A HREF="$a">);
-          #  }
-          #}
-          if ( ref($field) eq 'CODE' ) {
-            foreach my $value ( &{$field}($row) ) {
-              if ( ref($value) eq 'ARRAY' ) { 
-                $worksheet->write($r, $c++, '(N/A)' ); #unimplemented
-              } else {
-                $worksheet->write($r, $c++, $value );
-              }
-            }
-          } else {
-            $worksheet->write($r, $c++, $row->$field() );
-          }
-        }
-
-      } else {
-        $worksheet->write($r, $c++, $_) foreach @$row;
-      }
-
-    }
-
-    $workbook->close();# or die "Error creating .xls file: $!";
-
-    http_header('Content-Length' => length($data) );
-    %><%= $data %><%
-
-  } else { # regular HTML
-
-    if ( exists($opt{'redirect'}) && scalar(@$rows) == 1 && $total == 1 ) {
-      my $redirect = $opt{'redirect'};
-      $redirect = &{$redirect}($rows->[0]) if ref($redirect) eq 'CODE';
-      my( $url, $method ) = @$redirect;
-      redirect( $url. $rows->[0]->$method() );
-    } else {
-      ( my $xlsname = $opt{'name'} ) =~ s/\W//g;
-      $opt{'name'} =~ s/s$// if $total == 1;
-
-      my @menubar = ();
-      if ( $opt{'menubar'} ) {
-        @menubar = @{ $opt{'menubar'} };
-      } else {
-        @menubar = ( 'Main menu' => $p );
-      }
-  %>
-  <%= include( '/elements/header.html', $opt{'title'},
-                 include( '/elements/menubar.html', @menubar )
-             )
-  %>
-  <%= defined($opt{'html_init'}) ? $opt{'html_init'} : '' %>
-  <% my $pager = include ( '/elements/pager.html',
-                             'offset'     => $offset,
-                             'num_rows'   => scalar(@$rows),
-                             'total'      => $total,
-                             'maxrecords' => $maxrecords,
-                         );
-  %>
-  <% unless ( $total ) { %>
-    No matching <%= $opt{'name'} %> found.<BR>
-  <% } else { %>
-  
-    <TABLE>
-      <TR>
-        <TD VALIGN="bottom">
-          <%= $total %> total <%= $opt{'name'} %><BR>
-          <% if ( $opt{'count_addl'} ) { %>
-            <% my $n=0; foreach my $count ( @{$opt{'count_addl'}} ) { %>
-              <%= sprintf( $count, $count_arrayref->[++$n] ) %><BR>
-            <% } %>
-          <% } %>
-        </TD>
-        <TD ALIGN="right">
-          <% $cgi->param('_type', "$xlsname.xls" ); %>
-          Download full results<BR>
-          as <A HREF="<%= $cgi->self_url %>">Excel spreadsheet</A><BR>
-          <% $cgi->param('_type', 'csv'); %>
-          as <A HREF="<%= $cgi->self_url %>">CSV file</A>
-        </TD>
-      </TR>
-      <TR>
-        <TD COLSPAN=2>
-            <%= $pager %>
-
-            <%= include('/elements/table-grid.html') %>
-
-              <TR>
-              <% foreach my $header ( @$header ) { %>
-                   <TH CLASS="grid" BGCOLOR="#cccccc"><%= $header %></TH>
-              <% } %>
-              </TR>
-              <% my $bgcolor1 = '#eeeeee';
-                 my $bgcolor2 = '#ffffff';
-                 my $bgcolor;
-                 foreach my $row ( @$rows ) {
-                   if ( $bgcolor eq $bgcolor1 ) {
-                     $bgcolor = $bgcolor2;
-                   } else {
-                     $bgcolor = $bgcolor1;
-                   }
-              %>
-                   <TR>
-                   <% if ( $opt{'fields'} ) {
-
-                        my $links  = $opt{'links'} ? [ @{$opt{'links'}} ] : '';
-                        my $aligns = $opt{'align'} ? [ @{$opt{'align'}} ] : '';
-                        my $colors = $opt{'color'} ? [ @{$opt{'color'}} ] : [];
-                        my $sizes  = $opt{'size'}  ? [ @{$opt{'size'}}  ] : [];
-                        my $styles = $opt{'style'} ? [ @{$opt{'style'}} ] : [];
-
-                        foreach my $field (
-
-                          map {
-                                if ( ref($_) eq 'ARRAY' ) {
-
-                                  my $tableref = $_;
-
-                                  '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0'.
-                                  ' STYLE="border:none">'.
-
-                                  join('', map {
-
-                                    my $rowref = $_;
-
-                                    '<tr>'.
-
-                                    join('', map {
-
-                                      my $element = $_;
-
-                                      '<TD STYLE="border:none"'.
-                                      ( $element->{'align'}
-                                          ? ' ALIGN="'. $element->{'align'}. '"'
-                                          : ''
-                                      ). '>'.
-                                      ( $element->{'link'}
-                                          ? '<A HREF="'. $element->{'link'}.'">'
-                                          : ''
-                                      ).
-                                      $element->{'data'}.
-                                      ( $element->{'link'}
-                                          ? '</A>'
-                                          : ''
-                                      ).
-                                      '</td>';
-
-                                    } @$rowref ).
-
-                                    '</tr>';
-                                  } @$tableref ).
-
-                                  '</table>';
-
-                                } else {
-                                  $_;
-                                }
-                              }
-
-                          map {
-                                if ( ref($_) eq 'CODE' ) {
-                                  &{$_}($row);
-                                } else {
-                                  $row->$_();
-                                }
-                              }
-                          @{$opt{'fields'}}
-
-                        ) {
-
-                          my $align = $aligns ? shift @$aligns : '';
-                          $align = " ALIGN=$align" if $align;
-
-                          my $a = '';
-                          if ( $links ) {
-                            my $link = shift @$links;
-                            $link = &{$link}($row) if ref($link) eq 'CODE';
-                            if ( $link ) {
-                              my( $url, $method ) = @{$link};
-                              if ( ref($method) eq 'CODE' ) {
-                                $a = $url. &{$method}($row);
-                              } else {
-                                $a = $url. $row->$method();
-                              }
-                              $a = qq(<A HREF="$a">);
-                            }
-                          }
-
-                          my $font = '';
-                          my $color = shift @$colors;
-                          $color = &{$color}($row) if ref($color) eq 'CODE';
-                          my $size = shift @$sizes;
-                          $size = &{$size}($row) if ref($size) eq 'CODE';
-                          if ( $color || $size ) {
-                            $font = '<FONT '.
-                                    ( $color ? "COLOR=#$color "   : '' ).
-                                    ( $size  ? qq(SIZE="$size" )  : '' ).
-                                    '>';
-                          }
-
-                          my($s, $es) = ( '', '' );
-                          my $style = shift @$styles;
-                          $style = &{$style}($row) if ref($style) eq 'CODE';
-                          if ( $style ) {
-                            $s = join( '', map "<$_>", split('', $style) );
-                            $es = join( '', map "</$_>", split('', $style) );
-                          }
-
-                       %>
-                       <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"<%= $align %>><%= $font %><%= $a %><%= $s %><%= $field %><%= $es %><%= $a ? '</A>' : '' %><%= $font ? '</FONT>' : '' %></TD>
-                     <% } %>
-                   <% } else { %>
-                     <% foreach ( @$row ) { %>
-                          <TD CLASS="grid" BGCOLOR="$bgcolor"><%= $_ %></TD>
-                     <% } %>
-                   <% } %>
-                   </TR>
-              <% } %>
-
-              <% if ( $opt{'footer'} ) { %>
-                <TR>
-                <% foreach my $footer ( @{ $opt{'footer'} } ) { %>
-                     <TD CLASS="grid" BGCOLOR="#dddddd" STYLE="border-top: dashed 1px black;"><i><%= $footer %></i></TH>
-                <% } %>
-                </TR>
-              <% } %>
-            
-            </TABLE>
-            <%= $pager %>
-  
-          </TD>
-        </TR>
-      </TABLE>
-  
-  <% } %>
-  </BODY>
-  </HTML>
-  <% } %>
-<% } %>
diff --git a/httemplate/search/prepay_credit.html b/httemplate/search/prepay_credit.html
deleted file mode 100644 (file)
index 8c8f57b..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<%
-my $agent = '';
-my $hashref = {};
-if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-  $hashref->{agentnum} = $1;
-  $agent = qsearchs('agent', { 'agentnum' => $1 } );
-}
-
-my $count_query = 'SELECT COUNT(*) FROM prepay_credit';
-$count_query .= ' WHERE agentnum = '. $agent->agentnum if $agent;
-
-%><%= include( 'elements/search.html',
-                 'title'       => 'Unused Prepaid Cards'.
-                                  ($agent ? ' for '. $agent->agent : ''),
-                 'menubar'     => [
-                   'Main menu'      => $p,
-                   'Generate cards' => $p.'edit/prepay_credit.cgi',
-                 ],
-                 'name'        => 'prepaid cards',
-                 'query'       => {  'table'   => 'prepay_credit',
-                                     'hashref' => $hashref,
-                                  },
-                 'count_query' => $count_query,
-                 #'redirect'    => $link,
-                 'header'      => [ '#', qw(Amount Time Agent) ],
-                 'fields'      => [
-                   'identifier',
-                   sub { sprintf('$%.2f', shift->amount ) },
-                   sub { my $c = shift; $c ? duration_exact($c->seconds) : '' },
-                   sub { my $agent = shift->agent;
-                         $agent ? $agent->agent : '';
-                       },
-                 ],
-                 'links' => [
-                   '',
-                   '',
-                   '',
-                   sub { my $agent = shift->agent;
-                         $agent ? [ "${p}view/agent.cgi?", 'agentnum' ] : '';
-                       },
-                 ],
-      )
-%>
diff --git a/httemplate/search/reg_code.html b/httemplate/search/reg_code.html
deleted file mode 100644 (file)
index 52a99ff..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<%
-
-my $agentnum = $cgi->param('agentnum');
-$agentnum =~ /^(\d+)$/ or eidiot "illegal agentnum $agentnum";
-$agentnum = $1;
-my $agent = qsearchs('agent', { 'agentnum' => $agentnum } );
-
-my $count_query = "SELECT COUNT(*) FROM reg_code WHERE agentnum = $agentnum";
-
-%><%= include( 'elements/search.html',
-                 'title'       => 'Unused Registration Codes for '.
-                                  $agent->agent,
-                 'name'        => 'registration codes',
-                 'query'       => {  'table'   => 'reg_code',
-                                     'hashref' => { 'agentnum' => $agentnum, },
-                                  },
-                 'count_query' => $count_query,
-                 #'redirect'    => $link,
-                 'header'      => [ qw(Code Packages) ],
-                 'fields'      => [
-                   'code',
-                   sub {
-                     map { 
-                       qq!<A HREF="${p}edit/part_pkg.cgi?!. $_->pkgpart. '">'.
-                       $_->pkg. ' - '. $_->comment.
-                       '</A><BR>'
-                     } $_[0]->part_pkg
-                   },
-                 ],
-                 'links' => [
-                   '',
-                   #$plink,
-                   '',
-                 ],
-      )
-%>
diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html
deleted file mode 100644 (file)
index a7be766..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-  <HEAD>
-    <TITLE>Invoice report criteria</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <H1>Invoice report criteria</H1>
-    <FORM ACTION="cust_bill.html" METHOD="GET">
-    <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
-    <TABLE>
-      <%= include( '/elements/tr-select-agent.html',
-                     $cgi->param('agentnum'),
-                     'label' => 'Invoices for agent: ',
-                 )
-      %>
-      <%= include( '/elements/tr-input-beginning_ending.html' ) %>
-      <TR>
-        <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD>
-        <TD>Show only open invoices</TD>
-      </TR>
-      <TR>
-        <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="newest_percust" VALUE="1"></TD>
-        <TD>Show only the single most recent invoice per-customer</TD>
-      </TR>
-    </TABLE>
-    <BR><INPUT TYPE="submit" VALUE="Get Report">
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html
deleted file mode 100644 (file)
index 56bbd0a..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Credit report criteria</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <H1>Credit report criteria</H1>
-    <FORM ACTION="cust_credit.html" METHOD="GET">
-    <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
-    <TABLE>
-      <TR>
-        <TD ALIGN="right">Credits by employee: </TD>
-<%
-  my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_credit")
-    or die dbh->errstr;
-  $sth->execute or die $sth->errstr;
-  my @otakers = map { $_->[0] } @{$sth->fetchall_arrayref};
-%>
-        <TD><SELECT NAME="otaker">
-              <OPTION VALUE="">all</OPTION>
-              <% foreach my $otaker ( @otakers ) { %>
-                <OPTION VALUE="<%= $otaker %>"><%= $otaker %></OPTION>
-              <% } %>
-            </SELECT>
-        </TD>
-      </TR>
-      <%= include( '/elements/tr-select-agent.html',
-                     $cgi->param('agentnum'),
-                     'label' => 'for agent: ',
-                 )
-      %>
-      <%= include( '/elements/tr-input-beginning_ending.html' ) %>
-    </TABLE>
-    <BR><INPUT TYPE="submit" VALUE="Get Report">
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html
deleted file mode 100644 (file)
index 5d8b74e..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Payment report criteria</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <H1>Payment report criteria</H1>
-    <FORM ACTION="cust_pay.cgi" METHOD="GET">
-    <INPUT TYPE="hidden" NAME="magic" VALUE="_date">
-    <TABLE>
-      <TR>
-        <TD ALIGN="right">Payments of type: </TD>
-        <TD><SELECT NAME="payby">
-              <OPTION VALUE="">all</OPTION>
-              <OPTION VALUE="CARD">credit card (all)</OPTION>
-              <OPTION VALUE="CARD-VisaMC">credit card (Visa/MasterCard)</OPTION>
-              <OPTION VALUE="CARD-Amex">credit card (American Express)</OPTION>
-              <OPTION VALUE="CARD-Discover">credit card (Discover)</OPTION>
-              <OPTION VALUE="CARD-Maestro">credit card (Maestro/Switch/Solo)</OPTION>
-              <OPTION VALUE="CHEK">electronic check / ACH</OPTION>
-              <OPTION VALUE="BILL">check</OPTION>
-              <OPTION VALUE="PREP">prepaid card</OPTION>
-              <OPTION VALUE="CASH">cash</OPTION>
-              <OPTION VALUE="WEST">Western Union</OPTION>
-              <OPTION VALUE="MCRD">manual credit card</OPTION>
-            </SELECT>
-        </TD>
-      </TR>
-      <%= include( '/elements/tr-select-agent.html',
-                     $cgi->param('agentnum'),
-                     'label' => 'for agent: ',
-                 )
-      %>
-      <%= include( '/elements/tr-input-beginning_ending.html' ) %>
-    </TABLE>
-    <BR><INPUT TYPE="submit" VALUE="Get Report">
-    </FORM>
-  </BODY>
-</HTML>
diff --git a/httemplate/search/report_prepaid_income.cgi b/httemplate/search/report_prepaid_income.cgi
deleted file mode 100644 (file)
index 1677591..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<!-- mason kludge -->
-<%
-
-  #doesn't yet deal with daily/weekly packages
-
-  #needs to be re-written in sql for efficiency
-
-  my $time = time;
-
-  my $now = $cgi->param('date') && str2time($cgi->param('date')) || $time;
-  $now =~ /^(\d+)$/ or die "unparsable date?";
-  $now = $1;
-
-  my( $total, $total_legacy ) = ( 0, 0 );
-
-  my @cust_bill_pkg =
-    grep { $_->cust_pkg && $_->cust_pkg->part_pkg->freq !~ /^([01]|\d+[dw])$/ }
-      qsearch( 'cust_bill_pkg', {
-                                  'recur' => { op=>'!=', value=>0 },
-                                  'edate' => { op=>'>', value=>$now },
-                                }, );
-
-  my @cust_pkg = 
-    grep { $_->part_pkg->recur != 0
-           && $_->part_pkg->freq !~ /^([01]|\d+[dw])$/
-         }
-      qsearch ( 'cust_pkg', {
-                              'bill' => { op=>'>', value=>$now }
-                            } );
-
-  foreach my $cust_bill_pkg ( @cust_bill_pkg) { 
-    my $period = $cust_bill_pkg->edate - $cust_bill_pkg->sdate;
-
-    my $elapsed = $now - $cust_bill_pkg->sdate;
-    $elapsed = 0 if $elapsed < 0;
-
-    my $remaining = 1 - $elapsed/$period;
-
-    my $unearned = $remaining * $cust_bill_pkg->recur;
-    $total += $unearned;
-
-  }
-
-  foreach my $cust_pkg ( @cust_pkg ) {
-    my $period = $cust_pkg->bill - $cust_pkg->last_bill;
-
-    my $elapsed = $now - $cust_pkg->last_bill;
-    $elapsed = 0 if $elapsed < 0;
-
-    my $remaining = 1 - $elapsed/$period;
-
-    my $unearned = $remaining * $cust_pkg->part_pkg->recur; #!! only works for flat/legacy
-    $total_legacy += $unearned;
-
-  }
-
-  $total = sprintf('%.2f', $total);
-  $total_legacy = sprintf('%.2f', $total_legacy);
-
-%>
-
-<%= header( 'Prepaid Income (Unearned Revenue) Report',
-            menubar( 'Main Menu'=>$p, ) )               %>
-<%= table() %>
-  <TR>
-    <TH>Actual Unearned Revenue</TH>
-    <TH>Legacy Unearned Revenue</TH>
-  </TR>
-  <TR>
-    <TD ALIGN="right">$<%= $total %>
-    <TD ALIGN="right">
-      <%= $now == $time ? "\$$total_legacy" : '<i>N/A</i>'%>
-    </TD>
-  </TR>
-
-</TABLE>
-<BR>
-Actual unearned revenue is the amount of unearned revenue Freeside has  
-actually invoiced for packages with longer-than monthly terms.
-<BR><BR>
-Legacy unearned revenue is the amount of unearned revenue represented by 
-customer packages.  This number may be larger than actual unearned 
-revenue if you have imported longer-than monthly customer packages from
-a previous billing system.
-</BODY>
-</HTML>
diff --git a/httemplate/search/report_prepaid_income.html b/httemplate/search/report_prepaid_income.html
deleted file mode 100644 (file)
index 57c318e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Prepaid Income (Unearned Revenue) Report</TITLE>
-    <LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
-    <SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
-    <SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
-    <SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <H1>Prepaid Income (Unearned Revenue) Report</H1>
-    <FORM ACTION="report_prepaid_income.cgi" METHOD="GET">
-    <TABLE>
-      <TR>
-        <TD>Prepaid income (unearned revenue) as of </TD>
-        <TD>
-          <INPUT TYPE="text" NAME="date" ID="date_text" VALUE="now">
-          <IMG SRC="../images/calendar.png" ID="date_button" STYLE="cursor: pointer" TITLE="Select date">
-        </TD>
-      </TR>
-      <TR>
-        <TD>
-        </TD>
-        <TD><i>m/d/y</i></TD>
-      </TR>
-    </TABLE>
-<SCRIPT TYPE="text/javascript">
-  Calendar.setup({
-    inputField: "date_text",
-    ifFormat:   "%m/%d/%Y",
-    button:     "date_button",
-    align:      "BR"
-  });
-</SCRIPT>
-
-    <INPUT TYPE="submit" VALUE="Generate report">
-  </BODY>
-</HTML>
-    <TABLE>
-
diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi
deleted file mode 100755 (executable)
index d675346..0000000
+++ /dev/null
@@ -1,232 +0,0 @@
-<%
-
-  my $charged = <<END;
-  sum( charged
-       - coalesce(
-           ( select sum(amount) from cust_bill_pay
-             where cust_bill.invnum = cust_bill_pay.invnum )
-           ,0
-         )
-       - coalesce(
-           ( select sum(amount) from cust_credit_bill
-             where cust_bill.invnum = cust_credit_bill.invnum )
-           ,0
-         )
-
-     )
-END
-
-  my $owed_cols = <<END;
-       coalesce(
-         ( select $charged from cust_bill
-           where cust_bill._date > extract(epoch from now())-2592000
-             and cust_main.custnum = cust_bill.custnum
-         )
-         ,0
-       ) as owed_0_30,
-
-       coalesce(
-         ( select $charged from cust_bill
-           where cust_bill._date >  extract(epoch from now())-5184000
-             and cust_bill._date <= extract(epoch from now())-2592000
-             and cust_main.custnum = cust_bill.custnum
-         )
-         ,0
-       ) as owed_30_60,
-
-       coalesce(
-         ( select $charged from cust_bill
-           where cust_bill._date >  extract(epoch from now())-7776000
-             and cust_bill._date <= extract(epoch from now())-5184000
-             and cust_main.custnum = cust_bill.custnum
-         )
-         ,0
-       ) as owed_60_90,
-
-       coalesce(
-         ( select $charged from cust_bill
-           where cust_bill._date <= extract(epoch from now())-7776000
-             and cust_main.custnum = cust_bill.custnum
-         )
-         ,0
-       ) as owed_90_pl,
-
-       coalesce(
-         ( select $charged from cust_bill
-           where cust_main.custnum = cust_bill.custnum
-         )
-         ,0
-       ) as owed_total
-END
-
-  my $recurring = <<END;
-        '0' != ( select freq from part_pkg
-                   where cust_pkg.pkgpart = part_pkg.pkgpart )
-END
-
-  my $packages_cols = <<END;
-
-       ( select count(*) from cust_pkg
-           where cust_main.custnum = cust_pkg.custnum
-             and $recurring
-             and ( cancel = 0 or cancel is null )
-       ) as uncancelled_pkgs,
-
-       ( select count(*) from cust_pkg
-           where cust_main.custnum = cust_pkg.custnum
-             and $recurring
-             and ( cancel = 0 or cancel is null )
-             and ( susp = 0 or susp is null )
-       ) as active_pkgs
-
-END
-
-  my $where = <<END;
-where 0 <
-  coalesce(
-           ( select $charged from cust_bill
-             where cust_main.custnum = cust_bill.custnum
-           )
-           ,0
-         )
-END
-
-  my $agentnum = '';
-  if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-    $agentnum = $1;
-    $where .= " AND agentnum = '$agentnum' ";
-  }
-
-  my $count_sql = "select count(*) from cust_main $where";
-
-  my $sql_query = {
-    'table'     => 'cust_main',
-    'hashref'   => {},
-    'select'    => "*, $owed_cols, $packages_cols",
-    'extra_sql' => "$where order by coalesce(lower(company), ''), lower(last)",
-  };
-
-  if ( $agentnum ) {
-    $owed_cols =~
-      s/cust_bill\.custnum/cust_bill.custnum AND cust_main.agentnum = '$agentnum'/g;
-  }
-  my $total_sql = "select $owed_cols";
-  my $total_sth = dbh->prepare($total_sql) or die dbh->errstr;
-  $total_sth->execute or die $total_sth->errstr;
-  my $row = $total_sth->fetchrow_hashref();
-
-  my $conf = new FS::Conf;
-  my $money_char = $conf->config('money_char') || '$';
-
-  my $align = join('', map { /#/ ? 'r' : 'l' } FS::UI::Web::cust_header() ).
-             'crrrrr';
-
-  my $clink = [ "${p}view/cust_main.cgi?", 'custnum' ];
-
-%><%= include( 'elements/search.html',
-                 'title'       => 'Accounts Receivable Aging Summary',
-                 'name'        => 'customers',
-                 'query'       => $sql_query,
-                 'count_query' => $count_sql,
-                 'header'      => [
-                                    FS::UI::Web::cust_header(),
-                                    'Status', # (me)',
-                                    #'Status', # (cust_main)',
-                                    '0-30',
-                                    '30-60',
-                                    '60-90',
-                                    '90+',
-                                    'Total',
-                                  ],
-                 'footer'      => [
-                                    'Total',
-                                    ( map '',
-                                          ( 1 .. 
-                                            scalar(FS::UI::Web::cust_header()-1)
-                                          )
-                                    ),
-                                    '',
-                                    #'',
-                                    sprintf( $money_char.'%.2f',
-                                             $row->{'owed_0_30'} ),
-                                    sprintf( $money_char.'%.2f',
-                                             $row->{'owed_30_60'} ),
-                                    sprintf( $money_char.'%.2f',
-                                             $row->{'owed_60_90'} ),
-                                    sprintf( $money_char.'%.2f',
-                                             $row->{'owed_90_pl'} ),
-                                    sprintf( '<b>'. $money_char.'%.2f'. '</b>',
-                                             $row->{'owed_total'} ),
-                                  ],
-                 'fields'      => [
-                                    \&FS::UI::Web::cust_fields,
-                                    sub {
-                                          my $row = shift;
-                                          my $status = 'Cancelled';
-                                          my $statuscol = 'FF0000';
-                                          if ( $row->uncancelled_pkgs ) {
-                                            $status = 'Suspended';
-                                            $statuscol = 'FF9900';
-                                            if ( $row->active_pkgs ) {
-                                              $status = 'Active';
-                                              $statuscol = '00CC00';
-                                            }
-                                          }
-                                          $status;
-                                        },
-                                    #sub { ucfirst(shift->status) },
-                                    sub { sprintf( $money_char.'%.2f',
-                                                   shift->get('owed_0_30') ) },
-                                    sub { sprintf( $money_char.'%.2f',
-                                                   shift->get('owed_30_60') ) },
-                                    sub { sprintf( $money_char.'%.2f',
-                                                   shift->get('owed_60_90') ) },
-                                    sub { sprintf( $money_char.'%.2f',
-                                                   shift->get('owed_90_pl') ) },
-                                    sub { sprintf( $money_char.'%.2f',
-                                                   shift->get('owed_total') ) },
-                                  ],
-                 'links'       => [
-                                    ( map $clink, FS::UI::Web::cust_header() ),
-                                    '',
-                                    #'',
-                                    '',
-                                    '',
-                                    '',
-                                    '',
-                                    '',
-                                  ],
-                 #'align'       => 'rlccrrrrr',
-                 'align'       => $align,
-                 #'size'        => [ '', '', '-1', '-1', '', '', '', '',  '', ],
-                 #'style'       => [ '', '',  'b',  'b', '', '', '', '', 'b', ],
-                 'size'        => [ ( map '', FS::UI::Web::cust_header() ),
-                                    '-1', '', '', '', '',  '', ],
-                 'style'       => [ ( map '', FS::UI::Web::cust_header() ),
-                                    'b', '', '', '', '', 'b', ],
-                 'color'       => [
-                                    ( map '', FS::UI::Web::cust_header() ),
-                                    sub {  
-                                          my $row = shift;
-                                          my $status = 'Cancelled';
-                                          my $statuscol = 'FF0000';
-                                          if ( $row->uncancelled_pkgs ) {
-                                            $status = 'Suspended';
-                                            $statuscol = 'FF9900';
-                                            if ( $row->active_pkgs ) {
-                                              $status = 'Active';
-                                              $statuscol = '00CC00';
-                                            }
-                                          }
-                                           $statuscol;
-                                        },
-                                    #sub { shift->statuscolor; },
-                                    '',
-                                    '',
-                                    '',
-                                    '',
-                                    '',
-                                  ],
-
-             )
-%>
diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi
deleted file mode 100755 (executable)
index 9062f06..0000000
+++ /dev/null
@@ -1,432 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-my $money_char = $conf->config('money_char') || '$';
-
-my $user = getotaker;
-
-my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
-
-my $from_join_cust = "
-  FROM cust_bill_pkg
-    JOIN cust_bill USING ( invnum ) 
-    JOIN cust_main USING ( custnum )
-";
-my $join_pkg = "
-    JOIN cust_pkg USING ( pkgnum )
-    JOIN part_pkg USING ( pkgpart )
-";
-my $where = "
-  WHERE _date >= $beginning AND _date <= $ending
-    AND ( county  = ? OR ? = '' )
-    AND ( state   = ? OR ? = '' )
-    AND   country = ?
-    AND payby != 'COMP'
-";
-my @base_param = qw( county county state state country );
-
-my $agentname = '';
-if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
-  my $agent = qsearchs('agent', { 'agentnum' => $1 } );
-  die "agent not found" unless $agent;
-  $agentname = $agent->agent;
-  $where .= ' AND agentnum = '. $agent->agentnum;
-}
-
-my $gotcust = "
-  WHERE 0 < ( SELECT COUNT(*) FROM cust_main
-              WHERE ( cust_main.county  = cust_main_county.county
-                      OR cust_main_county.county = ''
-                      OR cust_main_county.county IS NULL )
-                AND ( cust_main.state   = cust_main_county.state
-                      OR cust_main_county.state = ''
-                      OR cust_main_county.state IS NULL )
-                AND ( cust_main.country = cust_main_county.country )
-              LIMIT 1
-            )
-";
-
-my $monthly_exempt_warning = 0;
-my $taxclass_flag = 0;
-my($total, $tot_taxable, $owed, $tax) = ( 0, 0, 0, 0, 0 );
-my( $exempt_cust, $exempt_pkg, $exempt_monthly ) = ( 0, 0 );
-my $out = 'Out of taxable region(s)';
-my %regions = ();
-foreach my $r (qsearch('cust_main_county', {}, '', $gotcust) ) {
-  #warn $r->county. ' '. $r->state. ' '. $r->country. "\n";
-
-  my $label = getlabel($r);
-  $regions{$label}->{'label'} = $label;
-  $regions{$label}->{'url_param'} = join(';', map "$_=".$r->$_(), qw( county state country ) );
-
-  my $fromwhere = $from_join_cust. $join_pkg. $where;
-  my @param = @base_param;
-
-  if ( $r->taxclass ) {
-    $fromwhere .= " AND taxclass = ? ";
-    push @param, 'taxclass';
-    $regions{$label}->{'url_param'} .= ';taxclass='. $r->taxclass
-      if $cgi->param('show_taxclasses');
-    $taxclass_flag = 1;
-  }
-
-#  my $label = getlabel($r);
-#  $regions{$label}->{'label'} = $label;
-
-  my $nottax = 'pkgnum != 0';
-
-  ## calculate total for this region
-
-  my $t = scalar_sql($r, \@param,
-    "SELECT SUM(cust_bill_pkg.setup+cust_bill_pkg.recur) $fromwhere AND $nottax"
-  );
-  $total += $t;
-  $regions{$label}->{'total'} += $t;
-
-  ## calculate package-exemption for this region
-
-  foreach my $e ( grep { $r->get($_.'tax') =~ /^Y/i }
-                       qw( cust_bill_pkg.setup cust_bill_pkg.recur ) ) {
-    my $x = scalar_sql($r, \@param,
-      "SELECT SUM($e) $fromwhere AND $nottax"
-    );
-    $exempt_pkg += $x;
-    $regions{$label}->{'exempt_pkg'} += $x;
-  }
-
-  ## calculate customer-exemption for this region
-
-  my($taxable, $x_cust) = (0, 0);
-  foreach my $e ( grep { $r->get($_.'tax') !~ /^Y/i }
-                       qw( cust_bill_pkg.setup cust_bill_pkg.recur ) ) {
-    $taxable += scalar_sql($r, \@param, 
-      "SELECT SUM($e) $fromwhere AND $nottax AND ( tax != 'Y' OR tax IS NULL )"
-    );
-
-    $x_cust += scalar_sql($r, \@param, 
-      "SELECT SUM($e) $fromwhere AND $nottax AND tax = 'Y'"
-    );
-  }
-
-  $exempt_cust += $x_cust;
-  $regions{$label}->{'exempt_cust'} += $x_cust;
-
-  ## calculate monthly exemption (texas tax) for this region
-
-  my($sday,$smon,$syear) = (localtime($beginning) )[ 3, 4, 5 ];
-  $monthly_exempt_warning=1 if $sday != 1 && $beginning;
-  $smon++; $syear+=1900;
-
-  my $eending = ( $ending == 4294967295 ) ? time : $ending;
-  my($eday,$emon,$eyear) = (localtime($eending) )[ 3, 4, 5 ];
-  $emon++; $eyear+=1900;
-
-  my $x_monthly = scalar_sql($r, [ 'taxnum' ],
-    "SELECT SUM(amount) FROM cust_tax_exempt where taxnum = ? ".
-    "  AND ( year > $syear OR ( year = $syear and month >= $smon ) )".
-    "  AND ( year < $eyear OR ( year = $eyear and month <= $emon ) )"
-  );
-  if ( $x_monthly ) {
-    warn $r->taxnum(). ": $x_monthly\n";
-    $taxable -= $x_monthly;
-  }
-
-  $exempt_monthly += $x_monthly;
-  $regions{$label}->{'exempt_monthly'} += $x_monthly;
-
-  $tot_taxable += $taxable;
-  $regions{$label}->{'taxable'} += $taxable;
-
-  $owed += $taxable * ($r->tax/100);
-  $regions{$label}->{'owed'} += $taxable * ($r->tax/100);
-
-  if ( defined($regions{$label}->{'rate'})
-       && $regions{$label}->{'rate'} != $r->tax.'%' ) {
-    $regions{$label}->{'rate'} = 'variable';
-  } else {
-    $regions{$label}->{'rate'} = $r->tax.'%';
-  }
-
-}
-
-my $taxwhere = "$from_join_cust $where";
-my @taxparam = @base_param;
-my %base_regions = ();
-#foreach my $label ( keys %regions ) {
-foreach my $r (
-  qsearch( 'cust_main_county',
-           {},
-           'DISTINCT ON (country, state, county, taxname) *',
-           $gotcust
-         )
-) {
-
-  #warn join('-', map { $r->$_() } qw( country state county taxname ) )."\n";
-
-  my $label = getlabel($r);
-
-  my $fromwhere = $join_pkg. $where;
-  my @param = @base_param; 
-
-  #match itemdesc if necessary!
-  my $named_tax =
-    $r->taxname
-      ? 'AND itemdesc = '. dbh->quote($r->taxname)
-      : "AND ( itemdesc IS NULL OR itemdesc = '' OR itemdesc = 'Tax' )";
-  my $x = scalar_sql($r, \@taxparam,
-    "SELECT SUM(cust_bill_pkg.setup+cust_bill_pkg.recur) $taxwhere ".
-    "AND pkgnum = 0 $named_tax",
-  );
-  $tax += $x;
-  $regions{$label}->{'tax'} += $x;
-
-  if ( $cgi->param('show_taxclasses') ) {
-    my $base_label = getlabel($r, 'no_taxclass'=>1 );
-    $base_regions{$base_label}->{'label'} = $base_label;
-    $base_regions{$base_label}->{'url_param'} =
-      join(';', map "$_=".$r->$_(), qw( county state country ) );
-    $base_regions{$base_label}->{'tax'} += $x;
-  }
-
-}
-
-#ordering
-my @regions =
-  map $regions{$_},
-  sort { ( ($a eq $out) cmp ($b eq $out) ) || ($b cmp $a) }
-  keys %regions;
-
-my @base_regions =
-  map $base_regions{$_},
-  sort { ( ($a eq $out) cmp ($b eq $out) ) || ($b cmp $a) }
-  keys %base_regions;
-
-push @regions, {
-  'label'          => 'Total',
-  'url_param'      => '',
-  'total'          => $total,
-  'exempt_cust'    => $exempt_cust,
-  'exempt_pkg'     => $exempt_pkg,
-  'exempt_monthly' => $exempt_monthly,
-  'taxable'        => $tot_taxable,
-  'rate'           => '',
-  'owed'           => $owed,
-  'tax'            => $tax,
-};
-
-#-- 
-
-sub getlabel {
-  my $r = shift;
-  my %opt = @_;
-
-  my $label;
-  if (
-    $r->tax == 0 
-    && ! scalar( qsearch('cust_main_county', { 'state'   => $r->state,
-                                               'county'  => $r->county,
-                                               'country' => $r->country,
-                                               'tax' => { op=>'>', value=>0 },
-                                             }
-                        )
-               )
-
-  ) {
-    #kludge to avoid "will not stay shared" warning
-    my $out = 'Out of taxable region(s)';
-    $label = $out;
-  } elsif ( $r->taxname ) {
-    $label = $r->taxname;
-#    $regions{$label}->{'taxname'} = $label;
-#    push @{$regions{$label}->{$_}}, $r->$_() foreach qw( county state country );
-  } else {
-    $label = $r->country;
-    $label = $r->state.", $label" if $r->state;
-    $label = $r->county." county, $label" if $r->county;
-    $label = "$label (". $r->taxclass. ")"
-      if $r->taxclass
-      && $cgi->param('show_taxclasses')
-      && ! $opt{'no_taxclasses'};
-    #$label = $r->taxname. " ($label)" if $r->taxname;
-  }
-  return $label;
-}
-
-#false laziness w/FS::Report::Table::Monthly (sub should probably be moved up
-#to FS::Report or FS::Record or who the fuck knows where)
-sub scalar_sql {
-  my( $r, $param, $sql ) = @_;
-  #warn "$sql\n";
-  my $sth = dbh->prepare($sql) or die dbh->errstr;
-  $sth->execute( map $r->$_(), @$param )
-    or die "Unexpected error executing statement $sql: ". $sth->errstr;
-  $sth->fetchrow_arrayref->[0] || 0;
-}
-
-%>
-
-<%
-
-my $baselink = $p. "search/cust_bill_pkg.cgi?begin=$beginning;end=$ending";
-
-%>
-
-
-<%= header( "$agentname Sales Tax Report - ".
-              time2str('%h %o %Y through ', $beginning ).
-              ( $ending == 4294967295
-                  ? 'now'
-                  : time2str('%h %o %Y', $ending )
-              ),
-            menubar( 'Main Menu'=>$p, )
-          )
-%>
-
-<%= include('/elements/table-grid.html') %>
-
-  <TR>
-    <TH CLASS="grid" BGCOLOR="#cccccc" ROWSPAN=2></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc" COLSPAN=9>Sales</TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc" ROWSPAN=2></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc" ROWSPAN=2>Rate</TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc" ROWSPAN=2></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc" ROWSPAN=2>Tax owed</TH>
-    <% unless ( $cgi->param('show_taxclasses') ) { %>
-      <TH CLASS="grid" BGCOLOR="#cccccc" ROWSPAN=2>Tax invoiced</TH>
-    <% } %>
-  </TR>
-  <TR>
-    <TH CLASS="grid" BGCOLOR="#cccccc">Total</TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc"></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc">Non-taxable<BR><FONT SIZE=-1>(tax-exempt customer)</FONT></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc"></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc">Non-taxable<BR><FONT SIZE=-1>(tax-exempt package)</FONT></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc"></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc">Non-taxable<BR><FONT SIZE=-1>(monthly exemption)</FONT></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc"></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc">Taxable</TH>
-  </TR>
-
-<% my $bgcolor1 = '#eeeeee';
-   my $bgcolor2 = '#ffffff';
-   my $bgcolor;
-%>
-
-  <% foreach my $region ( @regions ) {
-
-       if ( $bgcolor eq $bgcolor1 ) {
-         $bgcolor = $bgcolor2;
-       } else {
-         $bgcolor = $bgcolor1;
-       }
-
-       my $link = $baselink;
-       if ( $region->{'label'} ne 'Total' ) {
-         if ( $region->{'label'} eq $out ) {
-           $link .= ';out=1';
-         } else {
-           $link .= ';'. $region->{'url_param'};
-         }
-       }
-  %>
-
-    <TR>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><%= $region->{'label'} %></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-        <A HREF="<%= $link %>;nottax=1"><%= $money_char %><%= sprintf('%.2f', $region->{'total'} ) %></A>
-      </TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><FONT SIZE="+1"><B> - </B></FONT></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-        <A HREF="<%= $link %>;nottax=1;cust_tax=Y"><%= $money_char %><%= sprintf('%.2f', $region->{'exempt_cust'} ) %></A>
-      </TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><FONT SIZE="+1"><B> - </B></FONT></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-        <A HREF="<%= $link %>;nottax=1;pkg_tax=Y"><%= $money_char %><%= sprintf('%.2f', $region->{'exempt_pkg'} ) %></A>
-      </TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><FONT SIZE="+1"><B> - </B></FONT></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-        <%= $money_char %><%= sprintf('%.2f', $region->{'exempt_monthly'} ) %></A>
-        </TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><FONT SIZE="+1"><B> = </B></FONT></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-        <%= $money_char %><%= sprintf('%.2f', $region->{'taxable'} ) %></A>
-      </TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><%= $region->{'label'} eq 'Total' ? '' : '<FONT FACE="sans-serif" SIZE="+1"><B> X </B></FONT>' %></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right"><%= $region->{'rate'} %></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><%= $region->{'label'} eq 'Total' ? '' : '<FONT FACE="sans-serif" SIZE="+1"><B> = </B></FONT>' %></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-        <%= $money_char %><%= sprintf('%.2f', $region->{'owed'} ) %>
-      </TD>
-      <% unless ( $cgi->param('show_taxclasses') ) { %>
-        <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-          <A HREF="<%= $link %>;istax=1"><%= $money_char %><%= sprintf('%.2f', $region->{'tax'} ) %></A>
-        </TD>
-      <% } %>
-    </TR>
-    
-  <% } %>
-
-</TABLE>
-
-
-<% if ( $cgi->param('show_taxclasses') ) { %>
-
-  <BR>
-  <%= include('/elements/table-grid.html') %>
-  <TR>
-    <TH CLASS="grid" BGCOLOR="#cccccc"></TH>
-    <TH CLASS="grid" BGCOLOR="#cccccc">Tax invoiced</TH>
-  </TR>
-
-  <% #some false laziness w/above
-     foreach my $region ( @base_regions ) {
-
-       if ( $bgcolor eq $bgcolor1 ) {
-         $bgcolor = $bgcolor2;
-       } else {
-         $bgcolor = $bgcolor1;
-       }
-
-       my $link = $baselink;
-       #if ( $region->{'label'} ne 'Total' ) {
-         if ( $region->{'label'} eq $out ) {
-           $link .= ';out=1';
-         } else {
-           $link .= ';'. $region->{'url_param'};
-         }
-       #}
-  %>
-
-    <TR>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>"><%= $region->{'label'} %></TD>
-      <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-        <A HREF="<%= $link %>;istax=1"><%= $money_char %><%= sprintf('%.2f', $region->{'tax'} ) %></A>
-      </TD>
-    </TR>
-
-  <% } %>
-
-  <TR>
-   <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>">Total</TD>
-    <TD CLASS="grid" BGCOLOR="<%= $bgcolor %>" ALIGN="right">
-      <A HREF="<%= $baselink %>;istax=1"><%= $money_char %><%= sprintf('%.2f', $tax ) %></A>
-    </TD>
-  </TR>
-
-  </TABLE>
-
-<% } %>
-
-
-<% if ( $monthly_exempt_warning ) { %>
-  <BR>
-  Partial-month tax reports (except for current month) may not be correct due
-  to month-granularity tax exemption (usually "texas tax").  For an accurate
-  report, start on the first of a month and end on the last day of a month (or
-  leave blank for to now).
-<% } %>
-
-</BODY>
-</HTML>
-
-
diff --git a/httemplate/search/report_tax.html b/httemplate/search/report_tax.html
deleted file mode 100755 (executable)
index eeaccc1..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Tax Report Criteria</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <H1>Tax Report Criteria</H1>
-    <FORM ACTION="report_tax.cgi" METHOD="GET">
-    <TABLE>
-     <%= include( '/elements/tr-select-agent.html' ) %>
-     <%= include( '/elements/tr-input-beginning_ending.html' ) %>
-     <TR>
-       <TD ALIGN="right"><INPUT TYPE="checkbox" NAME="show_taxclasses" VALUE="1"></TD>
-       <TD>Show tax classes</TD>
-     </TR>
-    </TABLE>
-
-      <BR><INPUT TYPE="submit" VALUE="Get Report">
-
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/sql.html b/httemplate/search/sql.html
deleted file mode 100644 (file)
index b28c045..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<%= include( 'elements/search.html',
-               'title' => 'Query Results',
-               'name'  => 'rows',
-               'query' => 'SELECT '. ( $cgi->param('sql')
-                                       || eidiot('Empty query') ),
-    )
-%>
diff --git a/httemplate/search/sqlradius.cgi b/httemplate/search/sqlradius.cgi
deleted file mode 100644 (file)
index b84df1a..0000000
+++ /dev/null
@@ -1,290 +0,0 @@
-<%= include( '/elements/header.html', 'RADIUS Sessions',
-             include('/elements/menubar.html',
-                       'Main menu' => $p, # popurl(2),
-                    ),
-
-    )
-%>
-
-<%
-  ###
-  # parse cgi params
-  ###
-
-  #sort of false laziness w/cust_pay.cgi
-  my $beginning = '';
-  my $ending = '';
-  if ( $cgi->param('beginning')
-       && $cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/ ) {
-    $beginning = str2time($1);
-  }
-  if ( $cgi->param('ending')
-       && $cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/ ) {
-    $ending = str2time($1) + 86399;
-  }
-  if ( $cgi->param('begin') && $cgi->param('begin') =~ /^(\d+)$/ ) {
-    $beginning = $1;
-  }
-  if ( $cgi->param('end') && $cgi->param('end') =~ /^(\d+)$/ ) {
-    $ending = $1;
-  }
-
-  my $cgi_svc_acct = '';
-  if ( $cgi->param('svcnum') =~ /^(\d+)$/ ) {
-    $cgi_svc_acct = qsearchs( 'svc_acct', { 'svcnum' => $1 } );
-  } elsif ( $cgi->param('username') =~ /^([^@]+)\@([^@]+)$/ ) {
-    my %search = { 'username' => $1 };
-    my $svc_domain = qsearchs('svc_domain', { 'domain' => $2 } );
-    if ( $svc_domain ) {
-      $search{'domsvc'} = $svc_domain->svcnum;
-    } else {
-      delete $search{'username'};
-    }
-    $cgi_svc_acct = qsearchs( 'svc_acct', \%search )
-      if keys %search;
-  } elsif ( $cgi->param('username') =~ /^(.+)$/ ) {
-    $cgi_svc_acct = qsearchs( 'svc_acct', { 'username' => $1 } );
-  }
-
-  my $ip = '';
-  if ( $cgi->param('ip') =~ /^((\d+\.){3}\d+)$/ ) {
-    $ip = $1;
-  }
-
-  my $prefix = $cgi->param('prefix');
-  $prefix =~ s/\D//g;
-  if ( $prefix =~ /^(\d+)$/ ) {
-    $prefix = $1;
-    $prefix = "011$prefix" unless $prefix =~ /^1/;
-  } else {
-    $prefix = '';
-  }
-
-  ###
-  # field formatting subroutines
-  ###
-
-  my %user2svc_acct = ();
-  my $user_format = sub {
-    my ( $user, $session, $part_export ) = @_;
-
-    my $svc_acct = '';
-    if ( exists $user2svc_acct{$user} ) {
-      $svc_acct = $user2svc_acct{$user};
-    } else {
-      my %search = ();
-      if ( $part_export->exporttype eq 'sqlradius_withdomain' ) {
-        my $domain;
-        if ( $user =~ /^([^@]+)\@([^@]+)$/ ) {
-         $search{'username'} = $1;
-         $domain = $2;
-       } else {
-         $search{'username'} = $user;
-         $domain = $session->{'realm'};
-       }
-       my $svc_domain = qsearchs('svc_domain', { 'domain' => $domain } );
-       if ( $svc_domain ) {
-         $search{'domsvc'} = $svc_domain->svcnum;
-       } else {
-         delete $search{'username'};
-       }
-      } elsif ( $part_export->exporttype eq 'sqlradius' ) {
-        $search{'username'} = $user;
-      } else {
-        die 'unknown export type '. $part_export->exporttype.
-            " for $part_export\n";
-      }
-      if ( keys %search ) {
-        my @svc_acct =
-          grep { qsearchs( 'export_svc', {
-                   'exportnum' => $part_export->exportnum,
-                   'svcpart'   => $_->cust_svc->svcpart,
-                 } )
-               } qsearch( 'svc_acct', \%search );
-        if ( @svc_acct ) {
-          warn 'multiple svc_acct records for user $user found; '.
-               'using first arbitrarily'
-            if scalar(@svc_acct) > 1;
-          $user2svc_acct{$user} = $svc_acct = shift @svc_acct;
-        }
-      } 
-    }
-
-    if ( $svc_acct ) { 
-      my $svcnum = $svc_acct->svcnum;
-      qq(<A HREF="${p}view/svc_acct.cgi?$svcnum"><B>$user</B></A>);
-    } else {
-      "<B>$user</B>";
-    }
-
-  };
-
-  my $customer_format = sub {
-    my( $unused, $session ) = @_;
-    return '&nbsp;' unless exists $user2svc_acct{$session->{'username'}};
-    my $svc_acct = $user2svc_acct{$session->{'username'}};
-    my $cust_pkg = $svc_acct->cust_svc->cust_pkg;
-    return '&nbsp;' unless $cust_pkg;
-    my $cust_main = $cust_pkg->cust_main;
-
-    qq!<A HREF="${p}view/cust_main.cgi?!. $cust_main->custnum. '">'.
-      $cust_pkg->cust_main->name. '</A>';
-  };
-
-  my $time_format = sub {
-    my $time = shift;
-    return '&nbsp;' if $time == 0;
-    my $pretty = time2str('%T%P %a&nbsp;%b&nbsp;%o&nbsp;%Y', $time );
-    $pretty =~ s/ (\d)(st|dn|rd|th)/$1$2/;
-    $pretty;
-  };
-
-  my $duration_format = sub {
-    my $seconds = shift;
-    my $hour = int($seconds/3600);
-    my $min = int( ($seconds%3600) / 60 );
-    my $sec = $seconds%60;
-    '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>'.
-    '<TR><TD ALIGN="right">'.
-       ( $hour ? "<B>$hour</B>h" : '&nbsp;' ).
-     '</TD><TD ALIGN="right">'.
-       ( ( $hour || $min ) ? "<B>$min</B>m" : '&nbsp;' ).
-     '</TD><TD ALIGN="right">'.
-       "<B>$sec</B>s".
-    '</TD></TR></TABLE>';
-  };
-
-  my $octets_format = sub {
-    my $octets = shift;
-    my $megs = $octets / 1048576;
-    sprintf('<B>%.3f</B>&nbsp;megs', $megs);
-    #my $gigs = $octets / 1073741824
-    #sprintf('<B>%.3f</B> gigabytes', $gigs);
-  };
-
-  ###
-  # the fields
-  ###
-
-  tie my %fields, 'Tie::IxHash', 
-    'username'          => {
-                             name    => 'User',
-                             attrib  => 'UserName',
-                             fmt     => $user_format,
-                             align   => 'left',
-                           },
-    'realm'             => {
-                             name    => 'Realm',
-                             attrib  => 'Realm',
-                             align   => 'left',
-                           },
-    'dummy'             => {
-                             name    => 'Customer',
-                             attrib  => '',
-                             fmt     => $customer_format,
-                             align   => 'left',
-                           },
-    'framedipaddress'   => {
-                             name    => 'IP&nbsp;Address',
-                             attrib  => 'Framed-IP-Address',
-                             fmt     => sub { my $ip = shift;
-                                              length($ip) ? $ip : '&nbsp';
-                                            },
-                             align   => 'right',
-                           },
-    'acctstarttime'     => {
-                             name    => 'Start&nbsp;time',
-                             attrib  => 'Acct-Start-Time',
-                             fmt     => $time_format,
-                             align   => 'left',
-                           },
-    'acctstoptime'      => {
-                             name    => 'End&nbsp;time',
-                             attrib  => 'Acct-Stop-Time',
-                             fmt     => $time_format,
-                             align   => 'left',
-                           },
-    'acctsessiontime'   => {
-                             name    => 'Duration',
-                             attrib  => 'Acct-Session-Time',
-                             fmt     => $duration_format,
-                             align   => 'right',
-                           },
-    'acctinputoctets'   => {
-                             name    => 'Upload', # (from user)',
-                             attrib  => 'Acct-Input-Octets',
-                             fmt     => $octets_format,
-                             align   => 'right',
-                           },
-    'acctoutputoctets'  => {
-                             name    => 'Download', # (to user)',
-                             attrib  => 'Acct-Output-Octets',
-                             fmt     => $octets_format,
-                             align   => 'right',
-                           },
-  ;
-  $fields{$_}->{fmt} ||= sub { length($_[0]) ? shift : '&nbsp'; }
-    foreach keys %fields;
-
-  ###
-  # and finally, display the thing
-  ### 
-
-  foreach my $part_export (
-    #grep $_->can('usage_sessions'), qsearch( 'part_export' )
-    qsearch( 'part_export', { 'exporttype' => 'sqlradius' } ),
-    qsearch( 'part_export', { 'exporttype' => 'sqlradius_withdomain' } )
-  ) {
-    %user2svc_acct = ();
-
-    my $efields = tie my %efields, 'Tie::IxHash', %fields;
-    delete $efields{'framedipaddress'} if $part_export->option('hide_ip');
-    if ( $part_export->option('hide_data') ) {
-      delete $efields{$_} foreach qw(acctinputoctets acctoutputoctets);
-    }
-    if ( $part_export->option('show_called_station') ) {
-      $efields->Splice(1, 0,
-        'calledstationid' => {
-                               'name'   => 'Destination',
-                               'attrib' => 'Called-Station-ID',
-                               'fmt'    =>
-                                 sub { length($_[0]) ? shift : '&nbsp'; },
-                               'align'  => 'left',
-                             },
-      );
-    }
-
-%>
-
-<%= $part_export->exporttype %> to <%= $part_export->machine %><BR>
-<%= include( '/elements/table.html' ) %>
-<TR>
-  <% foreach my $field ( keys %efields ) { %>
-    <TH>
-      <%= $efields{$field}->{name} %><BR>
-      <FONT SIZE=-2><%= $efields{$field}->{attrib} %></FONT>
-    </TH>
-  <% } %>
-</TR>
-<% foreach my $session (
-     @{ $part_export->usage_sessions(
-          $beginning, $ending, $cgi_svc_acct, $ip, $prefix, ) }
-   ) {
-%>
-  <TR>
-    <% foreach my $field ( keys %efields ) { %>
-      <TD ALIGN="<%= $efields{$field}->{align} %>">
-        <%= &{ $efields{$field}->{fmt} }( $session->{$field},
-                                         $session,
-                                         $part_export,
-                                       )
-        %>
-      </TD>
-    <% } %>
-  </TR>
-<% } %>
-
-</TABLE>
-<BR><BR>
-
-<% } %>
diff --git a/httemplate/search/sqlradius.html b/httemplate/search/sqlradius.html
deleted file mode 100644 (file)
index 8f4878d..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-<%= include( '/elements/header.html', 'Search RADIUS sessions', '', '', '
-<LINK REL="stylesheet" TYPE="text/css" HREF="../elements/calendar-win2k-2.css" TITLE="win2k-2">
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar_stripped.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-en.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/calendar-setup.js"></SCRIPT>
-') %>
-<FORM NAME="OneTrueForm" ACTION="sqlradius.cgi" METHOD="GET">
-<% #include( '/elements/table.html' ) %>
-<%= ntable('#cccccc') %>
-<TR>
-  <TD ALIGN="right">Username: </TD>
-  <TD><INPUT TYPE="text" NAME="username"></TD>
-</TR>
-<TR>
-  <TD></TD>
-  <TD><FONT SIZE="-1"><I>(leave blank to show all users)</I></FONT></TD>
-</TR>
-
-<% my @part_export = qsearch( 'part_export', { 'exporttype' => 'sqlradius' } );
-   push @part_export,
-     qsearch( 'part_export', { 'exporttype' => 'sqlradius_withdomain' } );
-%>
-
-<% if ( grep { ! $_->option('hide_ip') } @part_export ) { %>
-  <TR>
-    <TD ALIGN="right">IP address: </TD>
-    <TD><INPUT TYPE="text" NAME="ip"></TD>
-  </TR>
-  <TR>
-    <TD></TD>
-    <TD><FONT SIZE="-1"><I>(leave blank to show all IPs)</I></FONT></TD>
-  </TR>
-<% } %>
-
-<% if ( grep { $_->option('show_called_station') } @part_export ) { %>
-  <TR>
-    <TD ALIGN="right">Destination prefix:</TD>
-    <TD><INPUT TYPE="text" NAME="prefix"></TD>
-  </TR>
-  <TR>
-    <TD></TD>
-    <TD><FONT SIZE="-1"><I>(country code or country code and prefix)</I></FONT></TD>
-  </TR>
-  <TR>
-    <TD></TD>
-    <TD><FONT SIZE="-1"><I>(leave blank to show all destinations)</I></FONT></TD>
-  </TR>
-<% } %>
-
-<TR>
-  <TD ALIGN="right">From: </TD>
-  <TD>
-    <INPUT TYPE="text" NAME="beginning" ID="beginning_text" VALUE="" SIZE=11 MAXLENGTH=10> <IMG SRC="../images/calendar.png" ID="beginning_button" STYLE="cursor: pointer" TITLE="Select date">
-  </TD>
-  <SCRIPT TYPE="text/javascript">
-    Calendar.setup({
-      inputField: "beginning_text",
-      ifFormat:   "%m/%d/%Y",
-      button:     "beginning_button",
-      align:      "BR"
-    });
-  </SCRIPT>
-</TR>
-<TR>
-  <TD></TD>
-  <TD><i>m/d/y</i></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">To: </TD>
-  <TD>
-    <INPUT TYPE="text" NAME="ending" ID="ending_text" VALUE="" SIZE=11 MAXLENGTH=10> <IMG SRC="../images/calendar.png" ID="ending_button" STYLE="cursor:pointer" TITLE="Select date">
-  </TD>
-  <SCRIPT TYPE="text/javascript">
-    Calendar.setup({
-      inputField: "ending_text",
-      ifFormat:   "%m/%d/%Y",
-      button:     "ending_button",
-      align:      "BR"
-    });
-  </SCRIPT>
-</TR>
-<TR>
-  <TD></TD>
-  <TD><i>m/d/y</i>
-  <BR><FONT SIZE="-1">(leave one or both dates blank for an open-ended search)</FONT>
-  </TD>
-</TR>
-</TABLE>
-<BR><INPUT TYPE="submit" VALUE="View sessions">
-</FORM>
-</BODY>
-</HTML>
-
-
diff --git a/httemplate/search/svc_acct.cgi b/httemplate/search/svc_acct.cgi
deleted file mode 100755 (executable)
index b145919..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-<%
-
-my $orderby = 'ORDER BY svcnum';
-
-my($query)=$cgi->keywords;
-$query ||= ''; #to avoid use of unitialized value errors
-
-my $cjoin = '';
-my @extra_sql = ();
-if ( $query =~ /^UN_(.*)$/ ) {
-  $query = $1;
-  $cjoin = 'LEFT JOIN cust_svc USING ( svcnum )';
-  push @extra_sql, 'pkgnum IS NULL';
-}
-
-if ( $query eq 'svcnum' ) {
-  #$orderby = "ORDER BY svcnum";
-} elsif ( $query eq 'username' ) {
-  $orderby = "ORDER BY LOWER(username)";
-} elsif ( $query eq 'uid' ) {
-  $orderby = "ORDER BY uid";
-  push @extra_sql, "uid IS NOT NULL";
-} elsif ( $cgi->param('popnum') =~ /^(\d+)$/ ) {
-  push @extra_sql, "popnum = $1";
-  $orderby = "ORDER BY LOWER(username)";
-} elsif ( $cgi->param('svcpart') =~ /^(\d+)$/ ) {
-  $cjoin ||= 'LEFT JOIN cust_svc USING ( svcnum )';
-  push @extra_sql, "svcpart = $1";
-  $orderby = "ORDER BY uid";
-  #$orderby = "ORDER BY svcnum";
-} else {
-  $orderby = "ORDER BY uid";
-
-  my @username_sql;
-
-  my %username_type;
-  foreach ( $cgi->param('username_type') ) {
-    $username_type{$_}++;
-  }
-
-  $cgi->param('username') =~ /^([\w\-\.\&]+)$/; #untaint username_text
-  my $username = $1;
-
-  push @username_sql, "username ILIKE '$username'"
-    if $username_type{'Exact'}
-    || $username_type{'Fuzzy'};
-
-  push @username_sql, "username ILIKE '\%$username\%'"
-    if $username_type{'Substring'}
-    || $username_type{'All'};
-
-  if ( $username_type{'Fuzzy'} || $username_type{'All'} ) {
-    &FS::svc_acct::check_and_rebuild_fuzzyfiles;
-    my $all_username = &FS::svc_acct::all_username;
-
-    my %username;
-    if ( $username_type{'Fuzzy'} || $username_type{'All'} ) { 
-      foreach ( amatch($username, [ qw(i) ], @$all_username) ) {
-        $username{$_}++; 
-      }
-    }
-
-    #if ($username_type{'Sound-alike'}) {
-    #}
-
-    push @username_sql, "username = '$_'"
-      foreach (keys %username);
-
-  }
-
-  push @extra_sql, '( '. join( ' OR ', @username_sql). ' )';
-
-}
-
-my $extra_sql = 
-  scalar(@extra_sql)
-    ? ' WHERE '. join(' AND ', @extra_sql )
-    : '';
-
-my $count_query = "SELECT COUNT(*) FROM svc_acct $cjoin $extra_sql";
-#if ( keys %svc_acct ) {
-#  $count_query .= ' WHERE '.
-#                    join(' AND ', map "$_ = ". dbh->quote($svc_acct{$_}),
-#                                      keys %svc_acct
-#                        );
-#}
-
-my $sql_query = {
-  'table' => 'svc_acct',
-  'hashref'   => {}, # \%svc_acct,
-  'select'    => join(', ',
-                    'svc_acct.*',
-                    'cust_main.custnum',
-                    FS::UI::Web::cust_sql_fields(),
-                  ),
-  'extra_sql' => "$extra_sql $orderby",
-  'addl_from' => ' LEFT JOIN cust_svc  USING ( svcnum  ) '.
-                 ' LEFT JOIN part_svc  USING ( svcpart ) '.
-                 ' LEFT JOIN cust_pkg  USING ( pkgnum  ) '.
-                 ' LEFT JOIN cust_main USING ( custnum ) ',
-};
-
-my $link      = [ "${p}view/svc_acct.cgi?",   'svcnum'  ];
-my $link_cust = sub {
-  my $svc_acct = shift;
-  if ( $svc_acct->custnum ) {
-    [ "${p}view/cust_main.cgi?", 'custnum' ];
-  } else {
-    '';
-  }
-};
-
-%><%= include( 'elements/search.html',
-                 'title'       => 'Account Search Results',
-                 'name'        => 'accounts',
-                 'query'       => $sql_query,
-                 'count_query' => $count_query,
-                 'redirect'    => $link,
-                 'header'      => [ '#',
-                                    'Account',
-                                    'UID',
-                                    'Service',
-                                    FS::UI::Web::cust_header(),
-                                  ],
-                 'fields'      => [ 'svcnum',
-                                    'email',
-                                    'uid',
-                                    'svc',
-                                    \&FS::UI::Web::cust_fields,
-                                  ],
-                 'links'       => [ $link,
-                                    $link,
-                                    $link,
-                                    '',
-                                    ( map { $link_cust }
-                                          FS::UI::Web::cust_header()
-                                    ),
-                                  ],
-             )
-%>
diff --git a/httemplate/search/svc_acct.html b/httemplate/search/svc_acct.html
deleted file mode 100755 (executable)
index c504c2f..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Account Search</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <FONT SIZE=7>
-      Account Search
-    </FONT>
-    <BR><BR>
-    <FORM ACTION="svc_acct.cgi" METHOD="GET">
-      Search for <B>username</B>: 
-      <INPUT TYPE="text" NAME="username">
-
-      <P><INPUT TYPE="submit" VALUE="Search">
-
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/svc_broadband.cgi b/httemplate/search/svc_broadband.cgi
deleted file mode 100755 (executable)
index efadce6..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-
-my($query)=$cgi->keywords;
-$query ||= ''; #to avoid use of unitialized value errors
-my(@svc_broadband,$sortby);
-if ( $query eq 'svcnum' ) {
-  $sortby=\*svcnum_sort;
-  @svc_broadband=qsearch('svc_broadband',{});
-} elsif ( $query eq 'blocknum' ) {
-  $sortby=\*blocknum_sort;
-  @svc_broadband=qsearch('svc_broadband',{});
-} else {
-  $cgi->param('ip_addr') =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/; 
-  my($ip_addr)=$1;
-  @svc_broadband = qsearchs('svc_broadband',{'ip_addr'=>$ip_addr});
-}
-
-my %routerbyblock = ();
-foreach my $router (qsearch('router', {})) {
-  foreach ($router->addr_block) {
-    $routerbyblock{$_->blocknum} = $router;
-  }
-}
-
-if ( scalar(@svc_broadband) == 1 ) {
-  print $cgi->redirect(popurl(2). "view/svc_broadband.cgi?". $svc_broadband[0]->svcnum);
-  #exit;
-} elsif ( scalar(@svc_broadband) == 0 ) {
-%>
-<!-- mason kludge -->
-<%
-  eidiot "No matching ip address found!\n";
-} else {
-%>
-<!-- mason kludge -->
-<%
-  my($total)=scalar(@svc_broadband);
-  print header("IP Address Search Results",''), <<END;
-
-    $total matching broadband services found
-    <TABLE BORDER=4 CELLSPACING=0 CELLPADDING=0>
-      <TR>
-        <TH>Service #</TH>
-       <TH>Router</TH>
-        <TH>IP Address</TH>
-      </TR>
-END
-
-  foreach my $svc_broadband (
-    sort $sortby (@svc_broadband)
-  ) {
-    my($svcnum,$ip_addr,$routername,$routernum)=(
-      $svc_broadband->svcnum,
-      $svc_broadband->ip_addr,
-      $routerbyblock{$svc_broadband->blocknum}->routername,
-      $routerbyblock{$svc_broadband->blocknum}->routernum,
-    );
-
-    my $rowspan = 1;
-
-    print <<END;
-    <TR>
-      <TD ROWSPAN=$rowspan><A HREF="${p}view/svc_broadband.cgi?$svcnum">$svcnum</A></TD>
-      <TD ROWSPAN=$rowspan><A HREF="${p}view/router.cgi?$routernum">$routername</A></TD>
-      <TD ROWSPAN=$rowspan><A HREF="${p}view/svc_broadband.cgi?$svcnum">$ip_addr</A></TD>
-END
-
-    #print @rows;
-    print "</TR>";
-
-  }
-  print <<END;
-    </TABLE>
-  </BODY>
-</HTML>
-END
-
-}
-
-sub svcnum_sort {
-  $a->getfield('svcnum') <=> $b->getfield('svcnum');
-}
-
-sub blocknum_sort {
-  if ($a->getfield('blocknum') == $b->getfield('blocknum')) {
-    $a->getfield('ip_addr') cmp $b->getfield('ip_addr');
-  } else {
-    $a->getfield('blocknum') cmp $b->getfield('blocknum');
-  }
-}
-
-
-%>
diff --git a/httemplate/search/svc_domain.cgi b/httemplate/search/svc_domain.cgi
deleted file mode 100755 (executable)
index f261ea9..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-
-my($query)=$cgi->keywords;
-$query ||= ''; #to avoid use of unitialized value errors
-
-my $orderby = 'ORDER BY svcnum';
-my $join = '';
-my %svc_domain = ();
-my $extra_sql = '';
-if ( $query eq 'svcnum' ) {
-  #$orderby = 'ORDER BY svcnum';
-} elsif ( $query eq 'domain' ) {
-  $orderby = 'ORDER BY domain';
-} elsif ( $query eq 'UN_svcnum' ) {
-  #$orderby = 'ORDER BY svcnum';
-  $join = 'LEFT JOIN cust_svc USING ( svcnum )';
-  $extra_sql = ' WHERE pkgnum IS NULL';
-} elsif ( $query eq 'UN_domain' ) {
-  $orderby = 'ORDER BY domain';
-  $join = 'LEFT JOIN cust_svc USING ( svcnum )';
-  $extra_sql = ' WHERE pkgnum IS NULL';
-} elsif ( $cgi->param('svcpart') =~ /^(\d+)$/ ) {
-  #$orderby = 'ORDER BY svcnum';
-  $join = 'LEFT JOIN cust_svc USING ( svcnum )';
-  $extra_sql = " WHERE svcpart = $1";
-} else {
-  $cgi->param('domain') =~ /^([\w\-\.]+)$/; 
-  $join = '';
-  $svc_domain{'domain'} = $1;
-}
-
-my $count_query = "SELECT COUNT(*) FROM svc_domain $join $extra_sql";
-if ( keys %svc_domain ) {
-  $count_query .= ' WHERE '.
-                    join(' AND ', map "$_ = ". dbh->quote($svc_domain{$_}),
-                                      keys %svc_domain
-                        );
-}
-
-my $sql_query = {
-  'table'     => 'svc_domain',
-  'hashref'   => \%svc_domain,
-  'select'    => join(', ',
-                   'svc_domain.*',
-                    'cust_main.custnum',
-                    FS::UI::Web::cust_sql_fields(),
-                 ),
-  'extra_sql' => "$extra_sql $orderby",
-  'addl_from' => 'LEFT JOIN cust_svc  USING ( svcnum  ) '.
-                 'LEFT JOIN cust_pkg  USING ( pkgnum  ) '.
-                 'LEFT JOIN cust_main USING ( custnum ) ',
-};
-
-my $link = [ "${p}view/svc_domain.cgi?", 'svcnum' ];
-
-#smaller false laziness w/svc_*.cgi here
-my $link_cust = sub {
-  my $svc_x = shift;
-  $svc_x->custnum ? [ "${p}view/cust_main.cgi?", 'custnum' ] : '';
-};
-
-%><%= include ('elements/search.html',
-                 'title'             => "Domain Search Results",
-                 'name'              => 'domains',
-                 'query'             => $sql_query,
-                 'count_query'       => $count_query,
-                 'redirect'          => $link,
-                 'header'            => [ '#',
-                                          'Domain',
-                                          FS::UI::Web::cust_header(),
-                                        ],
-                 'fields'            => [ 'svcnum',
-                                          'domain',
-                                          \&FS::UI::Web::cust_fields,
-                                        ],
-                 'links'             => [ $link,
-                                          $link,
-                                          ( map { $link_cust }
-                                                FS::UI::Web::cust_header()
-                                          ),
-                                        ],
-              )
-%>
diff --git a/httemplate/search/svc_domain.html b/httemplate/search/svc_domain.html
deleted file mode 100755 (executable)
index b759102..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<HTML>
-  <HEAD>
-    <TITLE>Domain Search</TITLE>
-  </HEAD>
-  <BODY BGCOLOR="#e8e8e8">
-    <FONT SIZE=7>
-      Domain Search
-    </FONT>
-    <BR><BR>
-    <FORM ACTION="svc_domain.cgi" METHOD="GET">
-      Search for <B>domain</B>: 
-      <INPUT TYPE="text" NAME="domain">
-
-      <P><INPUT TYPE="submit" VALUE="Search">
-
-    </FORM>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/search/svc_external.cgi b/httemplate/search/svc_external.cgi
deleted file mode 100755 (executable)
index c5ac134..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-
-my($query)=$cgi->keywords;
-$query ||= ''; #to avoid use of unitialized value errors
-my(@svc_external,$sortby);
-if ( $query eq 'svcnum' ) {
-  $sortby=\*svcnum_sort;
-  @svc_external=qsearch('svc_external',{});
-} elsif ( $query eq 'id' ) {
-  $sortby=\*id_sort;
-  @svc_external=qsearch('svc_external',{});
-} elsif ( $query eq 'UN_svcnum' ) {
-  $sortby=\*svcnum_sort;
-  @svc_external = grep qsearchs('cust_svc',{
-      'svcnum' => $_->svcnum,
-      'pkgnum' => '',
-    }), qsearch('svc_external',{});
-} elsif ( $query eq 'UN_id' ) {
-  $sortby=\*id_sort;
-  @svc_external = grep qsearchs('cust_svc',{
-      'svcnum' => $_->svcnum,
-      'pkgnum' => '',
-    }), qsearch('svc_external',{});
-} elsif ( $cgi->param('svcpart') =~ /^(\d+)$/ ) {
-  @svc_external =
-    qsearch( 'svc_external', {}, '',
-               " WHERE $1 = ( SELECT svcpart FROM cust_svc ".
-               "              WHERE cust_svc.svcnum = svc_external.svcnum ) "
-    );
-  $sortby=\*svcnum_sort;
-} else {
-  $cgi->param('id') =~ /^([\w\-\.]+)$/; 
-  my($id)=$1;
-  #push @svc_domain, qsearchs('svc_domain',{'domain'=>$domain});
-  @svc_external = qsearchs('svc_external',{'id'=>$id});
-}
-
-if ( scalar(@svc_external) == 1 ) {
-  print $cgi->redirect(popurl(2). "view/svc_external.cgi?". $svc_external[0]->svcnum);
-  #exit;
-} elsif ( scalar(@svc_external) == 0 ) {
-%>
-<!-- mason kludge -->
-<%
-  eidiot "No matching external services found!\n";
-} else {
-%>
-<!-- mason kludge -->
-<%= header("External Search Results",'') %>
-
-    <%= scalar(@svc_external) %> matching external services found
-    <TABLE BORDER=4 CELLSPACING=0 CELLPADDING=0>
-      <TR>
-        <TH>Service #</TH>
-        <TH><%= FS::Msgcat::_gettext('svc_external-id') || 'External&nbsp;ID' %></TH>
-        <TH><%= FS::Msgcat::_gettext('svc_external-title') || 'Title' %></TH>
-      </TR>
-
-<%
-  foreach my $svc_external (
-    sort $sortby (@svc_external)
-  ) {
-    my($svcnum, $id, $title)=(
-      $svc_external->svcnum,
-      $svc_external->id,
-      $svc_external->title,
-    );
-
-    my $rowspan = 1;
-
-    print <<END;
-    <TR>
-      <TD ROWSPAN=$rowspan><A HREF="${p}view/svc_external.cgi?$svcnum">$svcnum</A></TD>
-      <TD ROWSPAN=$rowspan><A HREF="${p}view/svc_external.cgi?$svcnum">$id</A></TD>
-      <TD ROWSPAN=$rowspan><A HREF="${p}view/svc_external.cgi?$svcnum">$title</A></TD>
-END
-
-    #print @rows;
-    print "</TR>";
-
-  }
-  print <<END;
-    </TABLE>
-  </BODY>
-</HTML>
-END
-
-}
-
-sub svcnum_sort {
-  $a->getfield('svcnum') <=> $b->getfield('svcnum');
-}
-
-sub id_sort {
-  $a->getfield('id') <=> $b->getfield('id');
-}
-
-%>
diff --git a/httemplate/search/svc_forward.cgi b/httemplate/search/svc_forward.cgi
deleted file mode 100755 (executable)
index a204e34..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-
-my($query)=$cgi->keywords;
-$query ||= ''; #to avoid use of unitialized value errors
-
-
-my $orderby;
-
-my $cjoin = '';
-my @extra_sql = ();
-if ( $query =~ /^UN_(.*)$/ ) {
-  $query = $1;
-  $cjoin = 'LEFT JOIN cust_svc USING ( svcnum )';
-  push @extra_sql, 'pkgnum IS NULL';
-}
-
-if ( $query eq 'svcnum' ) {
-  $orderby = 'ORDER BY svcnum';
-} else {
-  eidiot('unimplemented');
-}
-
-my $extra_sql = 
-  scalar(@extra_sql)
-    ? ' WHERE '. join(' AND ', @extra_sql )
-    : '';
-
-my $count_query = "SELECT COUNT(*) FROM svc_forward $cjoin $extra_sql";
-my $sql_query = {
-  'table'     => 'svc_forward',
-  'hashref'   => {},
-  'select'    => join(', ',
-                   'svc_forward.*',
-                    'cust_main.custnum',
-                    FS::UI::Web::cust_sql_fields(),
-                 ),
-  'extra_sql' => "$extra_sql $orderby",
-  'addl_from' => ' LEFT JOIN cust_svc  USING ( svcnum  ) '.
-                 ' LEFT JOIN part_svc  USING ( svcpart ) '.
-                 ' LEFT JOIN cust_pkg  USING ( pkgnum  ) '.
-                 ' LEFT JOIN cust_main USING ( custnum ) ',
-};
-
-#        <TH>Service #<BR><FONT SIZE=-1>(click to view forward)</FONT></TH>
-#        <TH>Mail to<BR><FONT SIZE=-1>(click to view account)</FONT></TH>
-#        <TH>Forwards to<BR><FONT SIZE=-1>(click to view account)</FONT></TH>
-
-my $link = [ "${p}view/svc_forward.cgi?", 'svcnum' ];
-
-my $format_src = sub {
-  my $svc_forward = shift;
-  if ( $svc_forward->srcsvc_acct ) {
-    $svc_forward->srcsvc_acct->email;
-  } else {
-    my $src = $svc_forward->src;
-    $src = "<I>(anything)</I>$src" if $src =~ /^@/;
-    $src;
-  }
-};
-
-my $link_src = sub {
-  my $svc_forward = shift;
-  if ( $svc_forward->srcsvc_acct ) {
-    [ "${p}view/svc_acct.cgi?", 'srcsvc' ];
-  } else {
-    '';
-  }
-};
-
-my $format_dst = sub {
-  my $svc_forward = shift;
-  if ( $svc_forward->dstsvc_acct ) {
-    $svc_forward->dstsvc_acct->email;
-  } else {
-    $svc_forward->dst;
-  }
-};
-
-my $link_dst = sub {
-  my $svc_forward = shift;
-  if ( $svc_forward->dstsvc_acct ) {
-    [ "${p}view/svc_acct.cgi?", 'dstsvc' ];
-  } else {
-    '';
-  }
-};
-
-#smaller false laziness w/svc_*.cgi here
-my $link_cust = sub {
-  my $svc_x = shift;
-  $svc_x->custnum ? [ "${p}view/cust_main.cgi?", 'custnum' ] : '';
-};
-
-%><%= include( 'elements/search.html',
-                 'title'             => "Mail forward Search Results",
-                 'name'              => 'mail forwards',
-                 'query'             => $sql_query,
-                 'count_query'       => $count_query,
-                 'redirect'          => $link,
-                 'header'            => [ '#',
-                                          'Mail to',
-                                          'Forwards to',
-                                          FS::UI::Web::cust_header(),
-                                        ],
-                 'fields'            => [ 'svcnum',
-                                          $format_src,
-                                          $format_dst,
-                                          \&FS::UI::Web::cust_fields,
-                                        ],
-                 'links'             => [ $link,
-                                          $link_src,
-                                          $link_dst,
-                                          ( map { $link_cust }
-                                                FS::UI::Web::cust_header()
-                                          ),
-                                        ],
-             )
-%>
diff --git a/httemplate/search/svc_www.cgi b/httemplate/search/svc_www.cgi
deleted file mode 100755 (executable)
index ae51c61..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-<%
-
-#my $conf = new FS::Conf;
-
-my($query)=$cgi->keywords;
-$query ||= ''; #to avoid use of unitialized value errors
-my $orderby;
-if ( $query eq 'svcnum' ) {
-  $orderby = 'ORDER BY svcnum';
-} else {
-  eidiot('unimplemented');
-}
-
-my $count_query = 'SELECT COUNT(*) FROM svc_www';
-my $sql_query = {
-  'table'     => 'svc_www',
-  'hashref'   => {},
-  'select'    => join(', ',
-                   'svc_www.*',
-                   'cust_main.custnum',
-                   FS::UI::Web::cust_sql_fields(),
-                 ),
-  'extra_sql' => $orderby,
-  'addl_from' => 'LEFT JOIN cust_svc  USING ( svcnum  )'.
-                 'LEFT JOIN cust_pkg  USING ( pkgnum  )'.
-                 'LEFT JOIN cust_main USING ( custnum )',
-};
-
-my $link  = [ "${p}view/svc_www.cgi?", 'svcnum', ];
-#my $dlink = [ "${p}view/svc_www.cgi?", 'svcnum', ];
-my $ulink = [ "${p}view/svc_acct.cgi?", 'usersvc', ];
-
-#smaller false laziness w/svc_*.cgi here
-my $link_cust = sub {
-  my $svc_x = shift;
-  $svc_x->custnum ? [ "${p}view/cust_main.cgi?", 'custnum' ] : '';
-};
-
-%><%= include( 'elements/search.html',
-                 'title'       => 'Virtual Host Search Results',
-                 'name'        => 'virtual hosts',
-                 'query'       => $sql_query,
-                 'count_query' => $count_query,
-                 'redirect'    => $link,
-                 'header'      => [ '#',
-                                    'Zone',
-                                    'User',
-                                    FS::UI::Web::cust_header(),
-                                  ],
-                 'fields'      => [ 'svcnum',
-                                    sub { $_[0]->domain_record->zone },
-                                    sub {
-                                          my $svc_www = shift;
-                                          my $svc_acct = $svc_www->svc_acct;
-                                          $svc_acct
-                                            ? $svc_acct->email
-                                            : '';
-                                        },
-                                    \&FS::UI::Web::cust_fields,
-                                  ],
-                 'links'       => [ $link,
-                                    '',
-                                    $ulink,
-                                    ( map { $link_cust }
-                                          FS::UI::Web::cust_header()
-                                    ),
-                                  ],
-             )
-%>
diff --git a/httemplate/view/cust_bill-logo.cgi b/httemplate/view/cust_bill-logo.cgi
deleted file mode 100755 (executable)
index 235485f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-
-my($query) = $cgi->keywords;
-$query =~ /^([^\.\/]*)$/;
-my $templatename = $1;
-if ( $templatename && $conf->exists("logo_$templatename.png") ) {
-  $templatename = "_$templatename";
-} else {
-  $templatename = '';
-}
-
-http_header('Content-Type' => 'image/png' );
-%><%= $conf->config_binary("logo$templatename.png") %>
diff --git a/httemplate/view/cust_bill-pdf.cgi b/httemplate/view/cust_bill-pdf.cgi
deleted file mode 100755 (executable)
index ce7ab0c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<%
-
-#untaint invnum
-my($query) = $cgi->keywords;
-$query =~ /^((.+)-)?(\d+)(.pdf)?$/;
-my $templatename = $2;
-my $invnum = $3;
-
-my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
-die "Invoice #$invnum not found!" unless $cust_bill;
-
-my $pdf = $cust_bill->print_pdf( '', $templatename);
-
-http_header('Content-Type' => 'application/pdf' );
-http_header('Content-Length' => length($pdf) );
-http_header('Cache-control' => 'max-age=60' );
-%><%= $pdf %>
diff --git a/httemplate/view/cust_bill-ps.cgi b/httemplate/view/cust_bill-ps.cgi
deleted file mode 100755 (executable)
index e730a82..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<%
-
-#untaint invnum
-my($query) = $cgi->keywords;
-$query =~ /^((.+)-)?(\d+)$/;
-my $templatename = $2;
-my $invnum = $3;
-
-my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
-die "Invoice #$invnum not found!" unless $cust_bill;
-
-http_header('Content-Type' => 'application/postscript' );
-%><%= $cust_bill->print_ps( '', $templatename) %>
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
deleted file mode 100755 (executable)
index 56c0c17..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-<%
-
-#untaint invnum
-my($query) = $cgi->keywords;
-$query =~ /^((.+)-)?(\d+)$/;
-my $templatename = $2;
-my $invnum = $3;
-
-my $conf = new FS::Conf;
-
-my @payby =  grep /\w/, $conf->config('payby');
-#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
-@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
-  unless @payby;
-my %payby = map { $_=>1 } @payby;
-
-my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum});
-die "Invoice #$invnum not found!" unless $cust_bill;
-my $custnum = $cust_bill->getfield('custnum');
-
-#my $printed = $cust_bill->printed;
-
-my $link = $templatename ? "$templatename-$invnum" : $invnum;
-
-%>
-<%= header('Invoice View', menubar(
-  "Main Menu" => $p,
-  "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-)) %>
-
-<% if ( $cust_bill->owed > 0
-        && ( $payby{'BILL'} || $payby{'CASH'} || $payby{'WEST'} || $payby{'MCRD'} )
-      )
-   {
-     my $s = 0;
-%>
-
-  Post 
-
-  <% if ( $payby{'BILL'} ) { %>
-  
-    <%= $s++ ? ' | ' : '' %>
-    <A HREF="<%= $p %>edit/cust_pay.cgi?payby=BILL;invnum=<%= $invnum %>">check</A>
-  
-  <% } %>
-  
-  <% if ( $payby{'CASH'} ) { %>
-  
-    <%= $s++ ? ' | ' : '' %>
-    <A HREF="<%= $p %>edit/cust_pay.cgi?payby=CASH;invnum=<%= $invnum %>">cash</A>
-  
-  <% } %>
-  
-  <% if ( $payby{'WEST'} ) { %>
-  
-    <%= $s++ ? ' | ' : '' %>
-    <A HREF="<%= $p %>edit/cust_pay.cgi?payby=WEST;invnum=<%= $invnum %>">Western Union</A>
-  
-  <% } %>
-
-  <% if ( $payby{'MCRD'} ) { %>
-  
-    <%= $s++ ? ' | ' : '' %>
-    <A HREF="<%= $p %>edit/cust_pay.cgi?payby=MCRD;invnum=<%= $invnum %>">manual credit card</A>
-  
-  <% } %>
-
-  payment against this invoice<BR>
-
-<% } %>
-
-<A HREF="<%= $p %>misc/print-invoice.cgi?<%= $link %>">Re-print this invoice</A>
-
-<% if ( grep { $_ ne 'POST' } $cust_bill->cust_main->invoicing_list ) { %>
-  | <A HREF="<%= $p %>misc/email-invoice.cgi?<%= $link %>">Re-email
-      this invoice</A>
-<% } %>
-
-<% if ( $conf->exists('hylafax') && length($cust_bill->cust_main->fax) ) { %>
-  | <A HREF="<%= $p %>misc/fax-invoice.cgi?<%= $link %>">Re-fax
-      this invoice</A>
-<% } %>
-
-<BR><BR>
-
-<% if ( $conf->exists('invoice_latex') ) { %>
-  <A HREF="<%= $p %>view/cust_bill-pdf.cgi?<%= $link %>.pdf">View typeset invoice</A>
-  <BR><BR>
-<% } %>
-
-<% #false laziness with search/cust_bill_event.cgi
-   unless ( $templatename ) { %>
-
-  <%= table() %>
-  <TR>
-    <TH>Event</TH>
-    <TH>Date</TH>
-    <TH>Status</TH>
-  </TR>
-
-  <% foreach my $cust_bill_event (
-       sort { $a->_date <=> $b->_date } $cust_bill->cust_bill_event
-     ) {
-
-    my $status = $cust_bill_event->status;
-    $status .= ': '. encode_entities($cust_bill_event->statustext)
-      if $cust_bill_event->statustext;
-    my $part_bill_event = $cust_bill_event->part_bill_event;
-  %>
-    <TR>
-      <TD><%= $part_bill_event->event %>
-  
-        <% if ( $part_bill_event->templatename ) {
-          my $alt_templatename = $part_bill_event->templatename;
-          my $alt_link = "$alt_templatename-$invnum";
-        %>
-          ( <A HREF="<%= $p %>view/cust_bill.cgi?<%= $alt_link %>">view</A>
-          | <A HREF="<%= $p %>view/cust_bill-pdf.cgi?<%= $alt_link %>.pdf">view
-              typeset</A>
-          | <A HREF="<%= $p %>misc/print-invoice.cgi?<%= $alt_link %>">re-print</A>
-          <% if ( grep { $_ ne 'POST' }
-                       $cust_bill->cust_main->invoicing_list ) { %>
-            | <A HREF="<%= $p %>misc/email-invoice.cgi?<%= $alt_link %>">re-email</A>
-          <% } %>
-                       
-          <% if ( $conf->exists('hylafax')
-                  && length($cust_bill->cust_main->fax) ) { %>
-            | <A HREF="<%= $p %>misc/fax-invoice.cgi?<%= $alt_link %>">re-fax</A>
-          <% } %>
-
-          )
-        <% } %>
-  
-      </TD>
-      <TD><%= time2str("%a %b %e %T %Y", $cust_bill_event->_date) %></TD>
-      <TD><%= $status %></TD>
-    </TR>
-  <% } %>
-
-  </TABLE>
-  <BR>
-
-<% } %>
-
-<% if ( $conf->exists('invoice_html') ) { %>
-  <%= join('', $cust_bill->print_html('', $templatename) ) %>
-<% } else { %>
-  <PRE><%= join('', $cust_bill->print_text('', $templatename) ) %></PRE>
-<% } %>
-
-</BODY></HTML>
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
deleted file mode 100755 (executable)
index 59c1a4b..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-
-my %uiview = ();
-my %uiadd = ();
-foreach my $part_svc ( qsearch('part_svc',{}) ) {
-  $uiview{$part_svc->svcpart} = $p. "view/". $part_svc->svcdb . ".cgi";
-  $uiadd{$part_svc->svcpart}= $p. "edit/". $part_svc->svcdb . ".cgi";
-}
-
-%>
-
-<%= header("Customer View", menubar(
-  'Main Menu' => $p,
-)) %>
-
-<%
-
-die "No customer specified (bad URL)!" unless $cgi->keywords;
-my($query) = $cgi->keywords; # needs parens with my, ->keywords returns array
-$query =~ /^(\d+)$/;
-my $custnum = $1;
-my $cust_main = qsearchs('cust_main',{'custnum'=>$custnum});
-die "Customer not found!" unless $cust_main;
-
-print qq!<A HREF="${p}edit/cust_main.cgi?$custnum">Edit this customer</A>!;
-
-%>
-
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_iframe.js"></SCRIPT>
-<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws_draggable.js"></SCRIPT>
-
-<SCRIPT TYPE="text/javascript">
-function areyousure(href, message) {
-  if (confirm(message) == true)
-    window.location.href = href;
-}
-</SCRIPT>
-
-<SCRIPT TYPE="text/javascript">
-
-<%
-my $ban = '';
-if ( $cust_main->payby =~ /^(CARD|DCRD|CHEK|DCHK)$/ ) {
-  $ban = '<BR><P ALIGN="center">'.
-         '<INPUT TYPE="checkbox" NAME="ban" VALUE="1"> Ban this customer\\\'s ';
-  if ( $cust_main->payby =~ /^(CARD|DCRD)$/ ) {
-    $ban .= 'credit card';
-  } elsif (  $cust_main->payby =~ /^(CHEK|DCHK)$/ ) {
-    $ban .= 'ACH account';
-  }
-}
-%>
-
-var confirm_cancel = '<FORM METHOD="POST" ACTION="<%= $p %>misc/cust_main-cancel.cgi"> <INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $custnum %>"> <BR><P ALIGN="center"><B>Permanently delete all services and cancel this customer?</B> <%= $ban%><BR><P ALIGN="CENTER"> <INPUT TYPE="submit" VALUE="Cancel customer">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="BUTTON" VALUE="Don\'t cancel" onClick="cClick()"> </FORM> ';
-
-</SCRIPT>
-
-<% if ( $cust_main->ncancelled_pkgs ) { %>
-
-  | <A HREF="javascript:void(0);" onClick="overlib(confirm_cancel, CAPTION, 'Confirm cancellation', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', MIDX, 0, MIDY, 0, DRAGGABLE, WIDTH, 576, HEIGHT, 128, TEXTSIZE, 3, BGCOLOR, '#ff0000', CGCOLOR, '#ff0000' ); return false; ">Cancel this customer</A>
-
-<% } %>
-
-<%
-
-print qq! | <A HREF="${p}misc/delete-customer.cgi?$custnum">!.
-      'Delete this customer</A>'
-  if $conf->exists('deletecustomers');
-
-unless ( $conf->exists('disable_customer_referrals') ) {
-  print qq! | <A HREF="!, popurl(2),
-        qq!edit/cust_main.cgi?referral_custnum=$custnum">!,
-        qq!Refer a new customer</A>!;
-
-  print qq! | <A HREF="!, popurl(2),
-        qq!search/cust_main.cgi?referral_custnum=$custnum">!,
-        qq!View this customer's referrals</A>!;
-}
-
-print '<BR><BR>';
-
-my $signupurl = $conf->config('signupurl');
-if ( $signupurl ) {
-print "This customer's signup URL: ".
-      "<a href=\"$signupurl?ref=$custnum\">$signupurl?ref=$custnum</a><BR><BR>";
-}
-
-%>
-
-<A NAME="cust_main"></A>
-<%= &itable() %>
-<TR>
-  <TD VALIGN="top">
-    <%= include('cust_main/contacts.html', $cust_main ) %>
-  </TD>
-  <TD VALIGN="top">
-    <%= include('cust_main/misc.html', $cust_main ) %>
-    <% if ( $conf->config('payby-default') ne 'HIDE' ) { %>
-      <BR>
-      <%= include('cust_main/billing.html', $cust_main ) %>
-    <% } %>
-  </TD>
-</TR>
-</TABLE>
-
-<%
-if ( defined $cust_main->dbdef_table->column('comments')
-     && $cust_main->comments =~ /[^\s\n\r]/              ) {
-%>
-<BR>
-Comments
-<%= ntable("#cccccc") %><TR><TD><%= ntable("#cccccc",2) %>
-<TR>
-  <TD BGCOLOR="#ffffff">
-    <PRE><%= encode_entities($cust_main->comments) %></PRE>
-  </TD>
-</TR>
-</TABLE></TABLE>
-<% } %>
-
-<% if ( $conf->config('ticket_system') ) { %>
-  <BR>
-  <%= include('cust_main/tickets.html', $cust_main ) %>
-<% } %>
-
-<BR><BR>
-<%= include('cust_main/packages.html', $cust_main ) %>
-
-<% if ( $conf->config('payby-default') ne 'HIDE' ) { %>
-  <%= include('cust_main/payment_history.html', $cust_main ) %>
-<% } %>
-
-</BODY></HTML>
-
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
deleted file mode 100644 (file)
index 5786a07..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-  my @invoicing_list = $cust_main->invoicing_list;
-%>
-
-Billing information
-(<A HREF="<%= $p %>misc/bill.cgi?<%= $cust_main->custnum %>">Bill now</A>)
-<%= ntable("#cccccc") %><TR><TD><%= ntable("#cccccc",2) %>
-
-<TR>
-  <TD ALIGN="right">Billing&nbsp;type</TD>
-  <TD BGCOLOR="#ffffff">
-
-<% if ( $cust_main->payby eq 'CARD' || $cust_main->payby eq 'DCRD' ) { %>
-
-    Credit&nbsp;card&nbsp;<%= $cust_main->payby eq 'CARD' ? '(automatic)' : '(on-demand)' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Card number</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->payinfo_masked %></TD>
-</TR>
-
-<%
-#false laziness w/elements/select-month_year.html & edit/cust_main/billing.html
-my( $mon, $year );
-my $date = $cust_main->paydate || '12-2037';
-if ( $date  =~ /^(\d{4})-(\d{1,2})-\d{1,2}$/ ) { #PostgreSQL date format
-  ( $mon, $year ) = ( $2, $1 );
-} elsif ( $date =~ /^(\d{1,2})-(\d{1,2}-)?(\d{4}$)/ ) {
-  ( $mon, $year ) = ( $1, $3 );
-} else {
-  warn "unrecognized expiration date format: $date";
-  ( $mon, $year ) = ( '', '' );
-}
-%>
-<TR>
-  <TD ALIGN="right">Expiration</TD>
-  <TD BGCOLOR="#ffffff"><%= "$mon/$year" %></TD>
-</TR>
-
-<% if ( $cust_main->paystart_month ) { %>
-  <TR>
-    <TD ALIGN="right">Start date</TD>
-    <TD BGCOLOR="#ffffff"><%= $cust_main->paystart_month. '/'. $cust_main->paystart_year %>
-  </TR>
-<% } elsif ( $cust_main->payissue ) { %>
-  <TR>
-    <TD ALIGN="right">Issue #</TD>
-    <TD BGCOLOR="#ffffff"><%= $cust_main->payissue %>
-  </TR>
-<% } %>
-
-<TR>
-  <TD ALIGN="right">Name on card</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->payname %></TD>
-</TR>
-
-<% } elsif ( $cust_main->payby eq 'CHEK' || $cust_main->payby eq 'DCHK') {
-     my( $account, $aba ) = split('@', $cust_main->payinfo );
-%>
-
-    Electronic&nbsp;check&nbsp;<%= $cust_main->payby eq 'CHEK' ? '(automatic)' : '(on-demand)' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">ABA/Routing code</TD>
-  <TD BGCOLOR="#ffffff"><%= $aba %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Account number</TD>
-  <TD BGCOLOR="#ffffff"><%= 'x'x(length($account)-2). substr($account,(length($account)-2)) %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Bank name</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->payname %></TD>
-</TR>
-
-<% } elsif ( $cust_main->payby eq 'LECB' ) {
-     $cust_main->payinfo =~ /^(\d{3})(\d{3})(\d{4})$/;
-     my $payinfo = "$1-$2-$3";
-%>
-
-    Phone&nbsp;bill&nbsp;billing
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Phone number</TD>
-  <TD BGCOLOR="#ffffff"><%= $payinfo %></TD>
-</TR>
-
-<% } elsif ( $cust_main->payby eq 'BILL' ) { %>
-
-    Billing
-  </TD>
-</TR>
-
-  <% if ( $cust_main->payinfo ) { %>
-<TR>
-  <TD ALIGN="right">P.O. </TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->payinfo %></TD>
-</TR>
-  <% } %>
-
-<TR>
-  <TD ALIGN="right">Attention</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->payname %></TD>
-</TR>
-
-<% } elsif ( $cust_main->payby eq 'COMP' ) { %>
-
-    Complimentary
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Authorized&nbsp;by</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->payinfo %></TD>
-</TR>
-
-<%
-#false laziness w/above etc.
-my( $mon, $year );
-my $date = $cust_main->paydate || '12-2037';
-if ( $date  =~ /^(\d{4})-(\d{1,2})-\d{1,2}$/ ) { #PostgreSQL date format
-  ( $mon, $year ) = ( $2, $1 );
-} elsif ( $date =~ /^(\d{1,2})-(\d{1,2}-)?(\d{4}$)/ ) {
-  ( $mon, $year ) = ( $1, $3 );
-} else {
-  warn "unrecognized expiration date format: $date";
-  ( $mon, $year ) = ( '', '' );
-}
-%>
-<TR>
-  <TD ALIGN="right">Expiration</TD>
-  <TD BGCOLOR="#ffffff"><%= "$mon/$year" %></TD>
-</TR>
-
-<% } %>
-
-<TR>
-  <TD ALIGN="right">Tax&nbsp;exempt</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->tax ? 'yes' : 'no' %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Postal&nbsp;invoices</TD>
-  <TD BGCOLOR="#ffffff">
-    <%= ( grep { $_ eq 'POST' } @invoicing_list ) ? 'yes' : 'no' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">FAX&nbsp;invoices</TD>
-  <TD BGCOLOR="#ffffff">
-    <%= ( grep { $_ eq 'FAX' } @invoicing_list ) ? 'yes' : 'no' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Email&nbsp;invoices</TD>
-  <TD BGCOLOR="#ffffff">
-    <%= join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || 'no' %>
-  </TD>
-</TR>
-
-</TABLE></TD></TR></TABLE>
-
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
deleted file mode 100644 (file)
index 456d117..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-  my $conf = new FS::Conf;
-%>
-
-Billing address
-<%= ntable("#cccccc") %><TR><TD><%= ntable("#cccccc",2) %>
-<TR>
-  <TD ALIGN="right">Contact&nbsp;name</TD>
-  <TD COLSPAN=3 BGCOLOR="#ffffff">
-    <%= $cust_main->last. ', '. $cust_main->first %>
-  </TD>
-<% if ( $conf->exists('show_ss') ) { %>
-  <TD ALIGN="right">SS#</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->ss || '&nbsp' %></TD>
-<% } %>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff"><%= $cust_main->company %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Address</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff"><%= $cust_main->address1 %></TD>
-</TR>
-<% if ( $cust_main->address2 ) { %>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff"><%= $cust_main->address2 %></TD>
-</TR>
-<% } %>
-<TR>
-  <TD ALIGN="right">City</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->city %></TD>
-  <TD ALIGN="right">State</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->state %></TD>
-  <TD ALIGN="right">Zip</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->zip %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Country</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->country %></TD>
-</TR>
-<%
-  my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/
-                        ? 'Day&nbsp;Phone'
-                        : FS::Msgcat::_gettext('daytime');
-  my $night_label = FS::Msgcat::_gettext('night') =~ /^(night)?$/
-                        ? 'Night&nbsp;Phone'
-                        : FS::Msgcat::_gettext('night');
-%>
-<TR>
-  <TD ALIGN="right"><%= $daytime_label %></TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff">
-    <%= $cust_main->daytime || '&nbsp' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right"><%= $night_label %></TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff">
-    <%= $cust_main->night || '&nbsp' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff">
-    <%= $cust_main->fax || '&nbsp' %>
-  </TD>
-</TR>
-</TABLE></TD></TR></TABLE>
-
-<% if ( defined $cust_main->dbdef_table->column('ship_last') ) {
-     my $pre = $cust_main->ship_last ? 'ship_' : '';
-%>
-
-<BR>
-Service address
-<%= ntable("#cccccc") %><TR><TD><%= ntable("#cccccc",2) %>
-<TR>
-  <TD ALIGN="right">Contact name</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff">
-    <%= $cust_main->get("${pre}last"). ', '. $cust_main->get("${pre}first") %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Company</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff"><%= $cust_main->get("${pre}company") %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Address</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff"><%= $cust_main->get("${pre}address1") %></TD>
-</TR>
-<% if ( $cust_main->get("${pre}address2") ) { %>
-<TR>
-  <TD ALIGN="right">&nbsp;</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff"><%= $cust_main->get("${pre}address2") %></TD>
-</TR>
-<% } %>
-<TR>
-  <TD ALIGN="right">City</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->get("${pre}city") %></TD>
-  <TD ALIGN="right">State</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->get("${pre}state") %></TD>
-  <TD ALIGN="right">Zip</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->get("${pre}zip") %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Country</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->get("${pre}country") %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right"><%= $daytime_label %></TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff">
-    <%= $cust_main->get("${pre}daytime") || '&nbsp' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right"><%= $night_label %></TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff">
-    <%= $cust_main->get("${pre}night") || '&nbsp' %>
-  </TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Fax</TD>
-  <TD COLSPAN=5 BGCOLOR="#ffffff">
-    <%= $cust_main->get("${pre}fax") || '&nbsp' %>
-  </TD>
-</TR>
-</TABLE></TD></TR></TABLE>
-
-<% } %>
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html
deleted file mode 100644 (file)
index 69e1205..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-%>
-
-<%= ntable("#cccccc") %><TR><TD><%= &ntable("#cccccc",2) %>
-<TR>
-  <TD ALIGN="right">Customer&nbsp;number</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->custnum %></TD>
-</TR>
-
-<%
-  my @agents = qsearch( 'agent', {} );
-  my $agent;
-  unless ( scalar(@agents) == 1 ) {
-    $agent = qsearchs('agent',{ 'agentnum' => $cust_main->agentnum } );
-%>
-
-<TR>
-  <TD ALIGN="right">Agent</TD>
-  <TD BGCOLOR="#ffffff"><%= $agent->agentnum %>: <%= $agent->agent %></TD>
-</TR>
-
-<%
-  } else {
-    $agent = $agents[0];
-  }
-
-  my @referrals = qsearch( 'part_referral', {} );
-  unless ( scalar(@referrals) == 1 ) {
-    my $referral = qsearchs('part_referral', {
-      'refnum' => $cust_main->refnum
-    } );
-%>
-
-<TR>
-  <TD ALIGN="right">Advertising&nbsp;source</TD>
-  <TD BGCOLOR="#ffffff"><%= $referral->refnum %>: <%= $referral->referral%></TD>
-</TR>
-
-<% } %>
-
-<TR>
-  <TD ALIGN="right">Order taker</TD>
-  <TD BGCOLOR="#ffffff"><%= $cust_main->otaker %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Referring&nbsp;Customer</TD>
-  <TD BGCOLOR="#ffffff">
-
-<%
-  my $referring_cust_main = '';
-  if ( $cust_main->referral_custnum
-       && ( $referring_cust_main =
-            qsearchs('cust_main', { custnum => $cust_main->referral_custnum } )
-          )
-     ) {
-%>
-
-<A HREF="<%= popurl(1) %>cust_main.cgi?<%= $cust_main->referral_custnum %>"><%=$cust_main->referral_custnum %>: 
-<%=
-  ( $referring_cust_main->company
-      ? $referring_cust_main->company. ' ('.
-          $referring_cust_main->last. ', '. $referring_cust_main->first.
-          ')'
-      : $referring_cust_main->last. ', '. $referring_cust_main->first
-  )
-%></A>
-
-<% } %>
-
-  </TD>
-</TR>
-
-</TABLE></TD></TR></TABLE>
-
diff --git a/httemplate/view/cust_main/order_pkg.html b/httemplate/view/cust_main/order_pkg.html
deleted file mode 100644 (file)
index ac2d05d..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-%>
-
-<SCRIPT TYPE="text/javascript">
-function enable_order_pkg () {
-  if ( document.OrderPkgForm.pkgpart.selectedIndex > 0 ) {
-    document.OrderPkgForm.submit.disabled = false;
-  } else {
-    document.OrderPkgForm.submit.disabled = true;
-  }
-}
-</SCRIPT>
-
-<FORM NAME="OrderPkgForm" ACTION="<%= $p %>edit/process/quick-cust_pkg.cgi" METHOD="POST">
-
-<INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $cust_main->custnum %>">
-
-<SELECT NAME="pkgpart" onChange="enable_order_pkg()"><OPTION>Order additional package
-
-<%
-foreach my $part_pkg (
-  qsearch( 'part_pkg', { 'disabled' => '' }, '',
-           ' AND 0 < ( SELECT COUNT(*) FROM type_pkgs '.
-           '             WHERE typenum = '. $cust_main->agent->typenum.
-           '             AND type_pkgs.pkgpart = part_pkg.pkgpart )'
-         )
-) {
-%>
-
-  <OPTION VALUE="<%= $part_pkg->pkgpart %>"><%= $part_pkg->pkg %> - <%= $part_pkg->comment %>
-
-<% } %>
-
-</SELECT>
-
-<INPUT NAME="submit" TYPE="submit" VALUE="Order Package" disabled>
-
-</FORM>
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
deleted file mode 100755 (executable)
index ece1b62..0000000
+++ /dev/null
@@ -1,494 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-  my $conf = new FS::Conf;
-
-  my $packages = get_packages($cust_main, $conf);
-%>
-
-<STYLE TYPE="text/css">
-.package .provision { font-weight: bold }
-</STYLE>
-
-<A NAME="cust_pkg"><FONT SIZE="+2">Packages</FONT></A>
-
-<%= include('order_pkg.html', $cust_main ) %>
-
-<% if ( $conf->config('payby-default') ne 'HIDE' ) { %>
-  <%= include('quick-charge.html', $cust_main ) %>
-<% } %>
-
-<A HREF="<%= $p %>edit/cust_pkg.cgi?<%= $cust_main->custnum %>">Bulk order and cancel packages</A> (preserves services)
-<BR><BR>
-
-<% if ( @$packages ) { %>
-Current packages
-<% } %>
-
-<% if ( $cust_main->num_cancelled_pkgs ) {
-     if ( $cgi->param('showcancelledpackages') eq '0' #see if it was set by me
-          || ( $conf->exists('hidecancelledpackages')
-               && ! $cgi->param('showcancelledpackages')
-             )
-        )
-     {
-       $cgi->param('showcancelledpackages', 1);
-%>
-  ( <a href="<%= $cgi->self_url %>">show
-<%   } else {
-       $cgi->param('showcancelledpackages', 0);
-%>
-  ( <a href="<%= $cgi->self_url %>">hide
-<%   } %>
- cancelled packages</a> )
-<% } %>
-
-<% if ( @$packages ) { %>
-
-<TABLE CLASS="package" BORDER=1 CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
-<TR>
-  <TH>Package</TH>
-  <TH>Status</TH>
-  <TH COLSPAN=2>Services</TH>
-</TR>
-
-<%
-foreach my $pkg (sort pkgsort_pkgnum_cancel @$packages) {
-  my $rowspan = 0;
-
-  if ($pkg->{cancel}) {
-    $rowspan = 0;
-  } else {
-    foreach my $svcpart (@{$pkg->{svcparts}}) {
-      $rowspan += $svcpart->{count};
-      $rowspan++ if ($svcpart->{count} < $svcpart->{quantity});
-    }
-  } 
-%>
-
-<!--pkgnum: <%=$pkg->{pkgnum}%>-->
-<TR>
-  <TD ROWSPAN=<%=$rowspan%>>
-    <A NAME="cust_pkg<%=$pkg->{pkgnum}%>"><%=$pkg->{pkgnum}%></A>:
-    <%=$pkg->{pkg}%> - <%=$pkg->{comment}%><BR>
-<% unless ($pkg->{cancel}) { %>
-    (&nbsp;<%=pkg_change_link($pkg)%>&nbsp;)
-    (&nbsp;<%=pkg_dates_link($pkg)%>&nbsp;|&nbsp;<%=pkg_customize_link($pkg,$cust_main->custnum)%>&nbsp;)
-<% } %>
-  </TD>
-  <TD ROWSPAN=<%=$rowspan%>>
-    <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
-
-<%
-  sub myfreq {
-    my $part_pkg = shift;
-    my $freq = $part_pkg->freq_pretty;
-    $freq =~ s/ /&nbsp;/g;
-    $freq;
-  }
-
-  #this should use cust_pkg->status and cust_pkg->statuscolor eventually
-
-  my $colspan = $conf->exists('cust_pkg-display_times') ? 8 : 4;
-  my $width = $conf->exists('cust_pkg-display_times') ? '38%' : '56%';
-
-  #false laziness w/edit/REAL_cust_pkg.cgi
-  my( $billed_or_prepaid, $last_bill_or_renewed, $next_bill_or_prepaid_until );
-  unless ( $pkg->{'part_pkg'}->is_prepaid ) {
-    $billed_or_prepaid = 'billed';
-    $last_bill_or_renewed = 'Last&nbsp;bill';
-    $next_bill_or_prepaid_until = 'Next&nbsp;bill';
-  } else {
-    $billed_or_prepaid = 'prepaid';
-    $last_bill_or_renewed = 'Renewed';
-    $next_bill_or_prepaid_until = 'Prepaid&nbsp;until';
-  }
-
-%>
-
-<% if ( $pkg->{cancel} ) { %> <!-- #status: cancelled -->
-
-  <TR>
-    <TD WIDTH="<%=$width%>" ALIGN="right"><FONT COLOR="#ff0000"><B>Cancelled&nbsp;</B></FONT></TD>
-    <%= pkg_datestr($pkg,'cancel',$conf) %>
-  </TR>
-
-  <% unless ( $pkg->{setup} ) { %>
-
-    <TR>
-      <TD COLSPAN=<%=$colspan%>>Never billed</TD>
-    </TR>
-
-  <% } else { %>
-
-    <TR>
-      <TD WIDTH="<%=$width%>" ALIGN="right">Setup&nbsp;</TD>
-      <%= pkg_datestr($pkg, 'setup',$conf) %>
-    </TR>
-
-    <% if ( $pkg->{'last_bill'} ) { %>
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right"><%= $last_bill_or_renewed %>&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'last_bill',$conf) %>
-      </TR>
-    <% } %>
-
-    <% if ( $pkg->{'susp'} ) { %>
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right">Suspended&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'susp',$conf) %>
-      </TR>
-    <% } %>
-
-  <% } %>
-
-<% } else { %>
-
-  <% if ( $pkg->{susp} ) { %> <!-- #status: suspended -->
-
-    <TR>
-      <TD WIDTH="<%=$width%>" ALIGN="right"><FONT COLOR="#FF9900"><B>Suspended</B>&nbsp;</FONT></TD>
-      <%= pkg_datestr($pkg,'susp',$conf) %>
-    </TR>
-
-    <% unless ( $pkg->{setup} ) { %>
-
-      <TR>
-        <TD COLSPAN=<%=$colspan%>>Never billed</TD>
-      </TR>
-
-    <% } else { %>
-
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right">Setup&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'setup',$conf) %>
-      </TR>
-      
-    <% } %>
-
-    <% if ( $pkg->{'last_bill'} ) { %>
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right"><%= $last_bill_or_renewed %>&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'last_bill',$conf) %>
-      </TR>
-    <% } %>
-
-    <!-- # next bill ?? -->
-
-    <% if ( $pkg->{'expire'} ) { %>
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right">Expires&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'expire',$conf) %>
-      </TR>
-    <% } %>
-
-    <TR>
-      <TD COLSPAN=<%=$colspan%>>(&nbsp;<%= pkg_unsuspend_link($pkg) %>&nbsp;|&nbsp;<%= pkg_cancel_link($pkg) %>&nbsp;)</TD>
-    </TR>
-
-  <% } else { %> <!-- #status: active -->
-
-    <% unless ( $pkg->{setup} ) { %> <!-- #not setup -->
-
-      <% unless ( $pkg->{'freq'} ) { %>
-
-        <TR>
-          <TD COLSPAN=<%=$colspan%>>Not&nbsp;yet&nbsp;billed&nbsp;(one-time&nbsp;charge)</TD>
-        </TR>
-
-        <TR>
-          <TD COLSPAN=<%=$colspan%>>(&nbsp;<%= pkg_cancel_link($pkg) %>&nbsp;)</TD>
-        </TR>
-
-      <% } else { %>
-
-        <TR>
-          <TD COLSPAN=<%=$colspan%>>Not&nbsp;yet&nbsp;billed&nbsp;(<%= $billed_or_prepaid %>&nbsp;<%= myfreq($pkg->{part_pkg}) %>)</TD>
-        </TR>
-
-      <% } %>
-
-    <% } else { %> <!-- #setup -->
-
-      <% unless ( $pkg->{freq} ) { %>
-
-        <TR>
-          <TD COLSPAN=<%=$colspan%>>One-time&nbsp;charge</TD>
-        </TR>
-
-        <TR>
-          <TD WIDTH="<%=$width%>" ALIGN="right">Billed&nbsp;</TD>
-          <%= pkg_datestr($pkg,'setup',$conf) %>
-        </TR>
-
-      <% } else { %>
-
-        <TR>
-          <TD COLSPAN=<%=$colspan%>><FONT COLOR="#00CC00"><B>Active</B></FONT>,&nbsp;<%= $billed_or_prepaid %>&nbsp;<%= myfreq($pkg->{part_pkg}) %></TD>
-        </TR>
-
-        <TR>
-          <TD WIDTH="<%=$width%>" ALIGN="right">Setup&nbsp;</TD>
-          <%= pkg_datestr($pkg, 'setup',$conf) %>
-        </TR>
-
-      <% } %>
-
-    <% } %>
-
-    <% if ( $pkg->{'last_bill'} ) { %>
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right"><%= $last_bill_or_renewed %>&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'last_bill',$conf) %>
-      </TR>
-    <% } %>
-
-    <% if ( $pkg->{'next_bill'} ) { %>
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right"><%= $next_bill_or_prepaid_until %>&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'next_bill',$conf) %>
-      </TR>
-    <% } %>
-
-    <% if ( $pkg->{'expire'} ) { %>
-      <TR>
-        <TD WIDTH="<%=$width%>" ALIGN="right">Expires&nbsp;</TD>
-        <%= pkg_datestr($pkg, 'expire',$conf) %>
-      </TR>
-    <% } %>
-
-    <% if ( $pkg->{freq} ) { %>
-      <TR>
-        <TD COLSPAN=<%=$colspan%>>(&nbsp;<%= pkg_suspend_link($pkg) %>&nbsp;|&nbsp;<%= pkg_cancel_link($pkg) %>&nbsp;)</TD>
-      </TR>
-    <% } %>
-
-  <% } %>
-
-<% } %>
-
-</TABLE>
-</TD>
-
-<%
-  if ($rowspan == 0) { print qq!</TR>\n!; next; }
-
-  my $cnt = 0;
-  foreach my $svcpart (sort {$a->{svcpart} <=> $b->{svcpart}} @{$pkg->{svcparts}}) {
-    foreach my $service (@{$svcpart->{services}}) {
-      print '<TR>' if ($cnt > 0);
-%>
-  <TD><%=svc_link($svcpart,$service)%></TD>
-  <TD><%=svc_label_link($svcpart,$service)%><BR>(&nbsp;<%=svc_unprovision_link($service)%>&nbsp;)</TD>
-</TR>
-<%
-      $cnt++;
-    }
-    if ($svcpart->{count} < $svcpart->{quantity}) {
-      print qq!<TR>\n! if ($cnt > 0);
-      print qq!  <TD COLSPAN=2>!.svc_provision_link($pkg, $svcpart, $conf).qq!</TD>\n</TR>\n!;
-    }
-  }
-}
-#end display packages
-%>
-
-</TABLE>
-<% } else { %>
-<BR>
-<% } %>
-
-<%
-#subroutines
-
-sub get_packages {
-  my $cust_main = shift or return undef;
-  my $conf = shift;
-  
-  my @packages = ();
-  my $method;
-  if (  $cgi->param('showcancelledpackages') eq '0' #see if it was set by me
-     || ( $conf->exists('hidecancelledpackages')
-           && ! $cgi->param('showcancelledpackages') )
-     )
-  {
-    $method = 'ncancelled_pkgs';
-  } else {
-    $method = 'all_pkgs';
-  }
-  
-  foreach my $cust_pkg ( $cust_main->$method() ) {
-  
-    my $part_pkg = $cust_pkg->part_pkg;
-
-    my %pkg = ();
-
-    #to get back to the original object... should use it in the first place!!
-    $pkg{cust_pkg} = $cust_pkg;
-    $pkg{part_pkg} = $part_pkg;
-
-    $pkg{pkgnum} = $cust_pkg->pkgnum;
-    $pkg{pkg} = $part_pkg->pkg;
-    $pkg{pkgpart} = $part_pkg->pkgpart;
-    $pkg{comment} = $part_pkg->getfield('comment');
-    $pkg{freq} = $part_pkg->freq;
-    $pkg{setup} = $cust_pkg->getfield('setup');
-    $pkg{last_bill} = $cust_pkg->getfield('last_bill');
-    $pkg{next_bill} = $cust_pkg->getfield('bill');
-    $pkg{susp} = $cust_pkg->getfield('susp');
-    $pkg{expire} = $cust_pkg->getfield('expire');
-    $pkg{cancel} = $cust_pkg->getfield('cancel');
-
-  
-    my %svcparts = map {
-      $_->svcpart => {
-                       $_->part_svc->hash,
-                       'quantity' => $_->quantity,
-                       'count'    => $cust_pkg->num_cust_svc($_->svcpart),
-                       #'services' => [],
-                     };
-    } $part_pkg->pkg_svc;
-
-    foreach my $cust_svc ( $cust_pkg->cust_svc ) {
-      #warn "svcnum ". $cust_svc->svcnum. " / svcpart ". $cust_svc->svcpart. "\n";
-      my $svc = {
-        'svcnum' => $cust_svc->svcnum,
-        'label'  => ($cust_svc->label)[1],
-      };
-
-      #false laziness with above, to catch extraneous services.  whole
-      #damn thing should be OO...
-      my $svcpart = ( $svcparts{$cust_svc->svcpart} ||= {
-        $cust_svc->part_svc->hash,
-        'quantity' => 0,
-        'count'    => $cust_pkg->num_cust_svc($cust_svc->svcpart),
-        #'services' => [],
-      } );
-
-      push @{$svcpart->{services}}, $svc;
-
-    }
-
-    $pkg{svcparts} = [ values %svcparts ];
-
-    push @packages, \%pkg;
-  
-  }
-  
-  return \@packages;
-
-}
-
-sub svc_link {
-
-  my ($svcpart, $svc) = (shift,shift) or return '';
-  return qq!<A HREF="${p}view/$svcpart->{svcdb}.cgi?$svc->{svcnum}">$svcpart->{svc}</A>!;
-
-}
-
-sub svc_label_link {
-
-  my ($svcpart, $svc) = (shift,shift) or return '';
-  return qq!<A HREF="${p}view/$svcpart->{svcdb}.cgi?$svc->{svcnum}">$svc->{label}</A>!;
-
-}
-
-sub svc_provision_link {
-  my ($pkg, $svcpart, $conf) = @_;
-  ( my $svc_nbsp = $svcpart->{svc} ) =~ s/\s+/&nbsp;/g;
-  my $num_left = $svcpart->{quantity} - $svcpart->{count};
-  my $pkgnum_svcpart = "pkgnum$pkg->{pkgnum}-svcpart$svcpart->{svcpart}";
-
-  my $url;
-  if ( $svcpart->{svcdb} eq 'svc_external'
-       && $conf->exists('svc_external-skip_manual')
-  ) {
-    $url = "${p}edit/process/$svcpart->{svcdb}.cgi?".
-           "pkgnum=$pkg->{pkgnum}&".
-           "svcpart=$svcpart->{svcpart}";
-  } else {
-    $url = "${p}edit/$svcpart->{svcdb}.cgi?$pkgnum_svcpart";
-  }
-
-  my $link = qq!<A CLASS="provision" HREF="$url">!.
-             "Provision&nbsp;$svc_nbsp&nbsp;($num_left)</A>";
-  if ( $conf->exists('legacy_link') ) {
-    $link .= '<BR>'.
-             qq!<A CLASS="provision" HREF="${p}misc/link.cgi?!.
-             qq!$pkgnum_svcpart">!.
-            "Link&nbsp;to&nbsp;legacy&nbsp;$svc_nbsp&nbsp;($num_left)</A>";
-  }
-  $link;
-}
-
-sub svc_unprovision_link {
-  my $svc = shift or return '';
-  qq!<A HREF="javascript:areyousure('${p}misc/unprovision.cgi?$svc->{svcnum}',!.
-  qq!'Permanently unprovision and delete this service?')">Unprovision</A>!;
-}
-
-# This should be generalized to use config options to determine order.
-sub pkgsort_pkgnum_cancel {
-  if ($a->{cancel} and $b->{cancel}) {
-    return ($a->{pkgnum} <=> $b->{pkgnum});
-  } elsif ($a->{cancel} or $b->{cancel}) {
-    return (-1) if ($b->{cancel});
-    return (1) if ($a->{cancel});
-    return (0);
-  } else {
-    return($a->{pkgnum} <=> $b->{pkgnum});
-  }
-}
-
-sub pkg_datestr {
-  my($pkg, $field, $conf) = @_ or return '';
-  return '&nbsp;' unless $pkg->{$field};
-  my $format = '<TD align="left"><B>%b</B></TD>'.
-               '<TD align="right"><B>&nbsp;%o,</B></TD>'.
-               '<TD align="right"><B>&nbsp;%Y</B></TD>';
-  #$format .= '&nbsp;<FONT SIZE=-3>%l:%M:%S%P&nbsp;%z</FONT>'
-  $format .= '<TD ALIGN="right"><B>&nbsp;%l</TD>'.
-             '<TD ALIGN="center"><B>:</B></TD>'.
-             '<TD ALIGN="left"><B>%M</B></TD>'.
-             '<TD ALIGN="left"><B>&nbsp;%P</B></TD>'
-    if $conf->exists('cust_pkg-display_times');
-  ( my $strip = time2str($format, $pkg->{$field}) ) =~ s/ (\d)/$1/g;
-  $strip;
-}
-
-sub pkg_change_link {
-  my $pkg = shift or return '';
-  return qq!<a href="${p}misc/change_pkg.cgi?$pkg->{pkgnum}">!.
-         qq!Change&nbsp;package</a>!;
-}
-
-sub pkg_suspend_link {
-  my $pkg = shift or return '';
-  return qq!<a href="${p}misc/susp_pkg.cgi?$pkg->{pkgnum}">Suspend</a>!;
-}
-
-sub pkg_unsuspend_link {
-  my $pkg = shift or return '';
-  return qq!<a href="${p}misc/unsusp_pkg.cgi?$pkg->{pkgnum}">Unsuspend</a>!;
-}
-
-sub pkg_cancel_link {
-  my $pkg = shift or return '';
-  qq!<A HREF="javascript:areyousure('${p}misc/cancel_pkg.cgi?$pkg->{pkgnum}', !.
-  qq!'Permanently delete included services and cancel this package?')">!.
-  qq!Cancel now</A> | !.
-  qq!<A HREF="${p}misc/expire_pkg.cgi?$pkg->{pkgnum}">Cancel later</A>!;
-}
-
-sub pkg_dates_link {
-  my $pkg = shift or return '';
-  qq!<A HREF="${p}edit/REAL_cust_pkg.cgi?$pkg->{pkgnum}">Edit&nbsp;dates</A>!;
-}
-
-sub pkg_customize_link {
-  my $pkg = shift or return '';
-  my $custnum = shift;
-  qq!<A HREF="${p}edit/part_pkg.cgi?keywords=$custnum;clone=$pkg->{pkgpart};!.
-  qq!pkgnum=$pkg->{pkgnum}">Customize</A>!;
-}
-
-%>
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
deleted file mode 100644 (file)
index ec99b8c..0000000
+++ /dev/null
@@ -1,428 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-  my $custnum = $cust_main->custnum;
-
-  my $conf = new FS::Conf;
-
-  my @payby = grep /\w/, $conf->config('payby');
-  #@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
-  @payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
-    unless @payby;
-  my %payby = map { $_=>1 } @payby;
-
-  my $s = 0;
-
-%>
-
-<BR><BR><A NAME="history"><FONT SIZE="+2">Payment History</FONT></A><BR>
-
-<% if ( $payby{'BILL'} ) { %>
-
-  <%= $s++ ? ' | ' : '' %>
-  <A HREF="<%= $p %>edit/cust_pay.cgi?payby=BILL;custnum=<%= $custnum %>">Post check payment</A>
-
-<% } %>
-
-<% if ( $payby{'CASH'} ) { %>
-
-  <%= $s++ ? ' | ' : '' %>
-  <A HREF="<%= $p %>edit/cust_pay.cgi?payby=CASH;custnum=<%= $custnum %>">Post cash payment</A>
-
-<% } %>
-
-<% if ( $payby{'WEST'} ) { %>
-
-  <%= $s++ ? ' | ' : '' %>
-  <A HREF="<%= $p %>edit/cust_pay.cgi?payby=WEST;custnum=<%= $custnum %>">Post Western Union payment</A>
-
-<% } %>
-
-<% if ( $payby{'CARD'} || $payby{'DCRD'} ) { %>
-
-  <%= $s++ ? ' | ' : '' %>
-  <A HREF="<%= $p %>misc/payment.cgi?payby=CARD;custnum=<%= $custnum %>">Process credit card payment</A>
-
-<% } %>
-
-<% if ( $payby{'CHEK'} || $payby{'DCHK'} ) { %>
-
-  <%= $s++ ? ' | ' : '' %>
-  <A HREF="<%= $p %>misc/payment.cgi?payby=CHEK;custnum=<%= $custnum %>">Process electronic check (ACH) payment</A>
-
-<% } %>
-
-<% if ( $payby{'MCRD'} ) { %>
-
-  <%= $s++ ? ' | ' : '' %>
-  <A HREF="<%= $p %>edit/cust_pay.cgi?payby=MCRD;custnum=<%= $custnum %>">Post manual credit card payment</A>
-
-<% } %>
-
-<BR><A HREF="<%= $p %>edit/cust_credit.cgi?<%= $custnum %>">Post credit</A>
-<BR>
-
-<%
-#get payment history
-my @history = ();
-
-#invoices
-foreach my $cust_bill ($cust_main->cust_bill) {
-  my $pre = ( $cust_bill->owed > 0 )
-              ? '<B><FONT SIZE="+1" COLOR="#FF0000">Open '
-              : '';
-  my $post = ( $cust_bill->owed > 0 ) ? '</FONT></B>' : '';
-  my $invnum = $cust_bill->invnum;
-  push @history, {
-    'date'   => $cust_bill->_date,
-    'desc'   => qq!<A HREF="${p}view/cust_bill.cgi?$invnum">!. $pre.
-                "Invoice #$invnum (Balance \$". $cust_bill->owed. ')'.
-                $post. '</A>',
-    'charge' => $cust_bill->charged,
-  };
-}
-
-#payments (some false laziness w/credits)
-foreach my $cust_pay ($cust_main->cust_pay) {
-
-  my $payby = $cust_pay->payby;
-
-  my $payinfo;
-  if ( $payby eq 'CARD' ) {
-    $payinfo = $cust_pay->payinfo_masked;
-  } elsif ( $payby eq 'CHEK' && $cust_pay->payinfo =~ /^(\d+)\@(\d+)$/ ) {
-    $payinfo = "ABA $2, Acct# $1";
-  } else {
-    $payinfo = $cust_pay->payinfo;
-  }
-  my @cust_bill_pay = $cust_pay->cust_bill_pay;
-  my @cust_pay_refund = $cust_pay->cust_pay_refund;
-
-  my $target = "$payby$payinfo";
-  $payby =~ s/^BILL$/Check #/ if $payinfo;
-  $payby =~ s/^CHEK$/Electronic check /;
-  $payby =~ s/^PREP$/Prepaid card /;
-  $payby =~ s/^CARD$/Credit card #/; 
-  $payby =~ s/^COMP$/Complimentary by /; 
-  $payby =~ s/^CASH$/Cash/;
-  $payby =~ s/^WEST$/Western Union/;
-  $payby =~ s/^MCRD$/Manual credit card/;
-  $payby =~ s/^BILL$//;
-  my $info = $payby ? " ($payby$payinfo)" : '';
-
-  my( $pre, $post, $desc, $apply, $ext ) = ( '', '', '', '', '' );
-  if (    scalar(@cust_bill_pay)   == 0
-       && scalar(@cust_pay_refund) == 0 ) {
-    #completely unapplied
-    $pre = '<B><FONT COLOR="#FF0000">Unapplied ';
-    $post = '</FONT></B>';
-    $apply = qq! (<A HREF="${p}edit/cust_bill_pay.cgi?!.
-             $cust_pay->paynum. '">apply</A>)';
-  } elsif (    scalar(@cust_bill_pay)   == 1
-            && scalar(@cust_pay_refund) == 0
-            && $cust_pay->unapplied == 0     ) {
-    #applied to one invoice, the usual situation
-    $desc = ' applied to Invoice #'. $cust_bill_pay[0]->invnum;
-  } elsif (    scalar(@cust_bill_pay)   == 0
-            && scalar(@cust_pay_refund) == 1
-            && $cust_pay->unapplied == 0     ) {
-    #applied to one refund
-    $desc = ' refunded on '. time2str("%D", $cust_pay_refund[0]->_date);
-  } else {
-    #complicated
-    $desc = '<BR>';
-    foreach my $app ( sort { $a->_date <=> $b->_date }
-                           ( @cust_bill_pay, @cust_pay_refund ) ) {
-      if ( $app->isa('FS::cust_bill_pay') ) {
-        $desc .= '&nbsp;&nbsp;'.
-                 '$'. $app->amount.
-                 ' applied to Invoice #'. $app->invnum.
-                 '<BR>';
-                 #' on '. time2str("%D", $cust_bill_pay->_date).
-      } elsif ( $app->isa('FS::cust_pay_refund') ) {
-        $desc .= '&nbsp;&nbsp;'.
-                 '$'. $app->amount.
-                 ' refunded on'. time2str("%D", $app->_date).
-                 '<BR>';
-      } else {
-        die "$app is not a FS::cust_bill_pay or FS::cust_pay_refund";
-      }
-    }
-    if ( $cust_pay->unapplied > 0 ) {
-      $desc .= '&nbsp;&nbsp;'.
-               '<B><FONT COLOR="#FF0000">$'.
-               $cust_pay->unapplied. ' unapplied</FONT></B>'.
-               qq! (<A HREF="${p}edit/cust_bill_pay.cgi?!.
-               $cust_pay->paynum. '">apply</A>)'.
-               '<BR>';
-    }
-  }
-
-  my $refund = '';
-  my $refund_days = $conf->config('card_refund-days') || 120;
-  if (    $cust_pay->closed !~ /^Y/i
-       && $cust_pay->payby =~ /^(CARD|CHEK)$/
-       && time-$cust_pay->_date < $refund_days*86400
-       && $cust_pay->unrefunded > 0
-  ) {
-    $refund = qq! (<A HREF="${p}edit/cust_refund.cgi?payby=$1;!.
-              qq!paynum=!. $cust_pay->paynum. '"'.
-              qq! TITLE="Send a refund for this payment to the payment gateway"!.
-              qq!>refund</A>)!;
-  }
-
-  my $void = '';
-  if (    $cust_pay->closed !~ /^Y/i
-       && ( $cust_pay->payby ne 'CARD' || $conf->exists('cc-void')     )
-       && ( $cust_pay->payby ne 'CHEK' || $conf->exists('echeck-void') ) 
-     ) {
-    $void = qq! (<A HREF="javascript:areyousure('!.
-            qq!${p}misc/void-cust_pay.cgi?!. $cust_pay->paynum.
-            qq!', 'Are you sure you want to void this payment?')"!.
-            qq! TITLE="Void this payment from the database!.
-              ( $cust_pay->payby =~ /^(CARD|CHEK)$/
-                ? ' (do not send anything to the payment gateway)'
-                : '' 
-              ). '"'.
-            qq!>void</A>)!;
-  }
-
-  my $delete = '';
-  if ( $cust_pay->closed !~ /^Y/i && $conf->exists('deletepayments') ) {
-    $delete = qq! (<A HREF="javascript:areyousure('!.
-              qq!${p}misc/delete-cust_pay.cgi?!. $cust_pay->paynum.
-              qq!', 'Are you sure you want to delete this payment?')"!.
-              qq! TITLE="Delete this payment from the database completely - not recommended"!.
-              qq!>delete</A>)!;
-  }
-
-  my $unapply = '';
-  if (    $cust_pay->closed !~ /^Y/i
-       && $conf->exists('unapplypayments')
-       && scalar(@cust_bill_pay)           ) {
-    $unapply = qq! (<A HREF="javascript:areyousure('!.
-               qq!${p}misc/unapply-cust_pay.cgi?!. $cust_pay->paynum.
-               qq!', 'Are you sure you want to unapply this payment?')"!.
-               qq! TITLE="Keep this payment, but dissociate it from the invoices it is currently applied against"!.
-               qq!>unapply</A>)!;
-  }
-
-  push @history, {
-    'date'    => $cust_pay->_date,
-    'desc'    => $pre. "Payment$post$info$desc".
-                 "$apply$refund$void$delete$unapply",
-    'payment' => $cust_pay->paid,
-    'target'  => $target,
-  };
-}
-
-#voided payments
-foreach my $cust_pay_void ($cust_main->cust_pay_void) {
-
-  my $payby = $cust_pay_void->payby;
-  my $payinfo = $payby eq 'CARD'
-                  ? $cust_pay_void->payinfo_masked
-                  : $cust_pay_void->payinfo;
-
-  $payby =~ s/^BILL$/Check #/ if $payinfo;
-  $payby =~ s/^CHEK$/Electronic check /;
-  $payby =~ s/^BILL$//;
-  $payby =~ s/^(CARD|COMP)$/$1 /;
-  my $info = $payby ? " ($payby$payinfo)" : '';
-
-  my $unvoid = '';
-  if ( $cust_pay_void->closed !~ /^Y/i && $conf->exists('unvoid') ) {
-    $unvoid = qq! (<A HREF="javascript:areyousure('!.
-              qq!${p}misc/unvoid-cust_pay_void.cgi?!. $cust_pay_void->paynum.
-              qq!', 'Are you sure you want to unvoid this payment?')"!.
-              qq! TITLE="Unvoid this payment from the database!.
-                ( $cust_pay_void->payby =~ /^(CARD|CHEK)$/
-                  ? ' (do not send anything to the payment gateway)'
-                  : '' 
-                ). '"'.
-              qq!>unvoid</A>)!;
-  }
-
-  push @history, {
-    'date'   => $cust_pay_void->_date,
-    'desc'   => "<DEL>Payment $info</DEL> <I>voided ".
-                time2str("%D", $cust_pay_void->void_date).
-                " by ". $cust_pay_void->otaker. '</i>'. $unvoid,
-    'void_payment' => $cust_pay_void->paid,
-  };
-
-}
-
-#credits (some false laziness w/payments)
-foreach my $cust_credit ($cust_main->cust_credit) {
-
-  my @cust_credit_bill = $cust_credit->cust_credit_bill;
-  my @cust_credit_refund = $cust_credit->cust_credit_refund;
-
-  my( $pre, $post, $desc, $apply, $ext ) = ( '', '', '', '', '' );
-  if (    scalar(@cust_credit_bill)   == 0
-       && scalar(@cust_credit_refund) == 0 ) {
-    #completely unapplied
-    $pre = '<B><FONT COLOR="#FF0000">Unapplied ';
-    $post = '</FONT></B>';
-    $apply = qq! (<A HREF="${p}edit/cust_credit_bill.cgi?!.
-             $cust_credit->crednum. '">apply</A>)';
-  } elsif (    scalar(@cust_credit_bill)   == 1
-            && scalar(@cust_credit_refund) == 0
-            && $cust_credit->credited == 0      ) {
-    #applied to one invoice, the usual situation
-    $desc = ' applied to Invoice #'. $cust_credit_bill[0]->invnum;
-  } elsif (    scalar(@cust_credit_bill)   == 0
-            && scalar(@cust_credit_refund) == 1
-            && $cust_credit->credited == 0      ) {
-    #applied to one refund
-    $desc = ' refunded on '.  time2str("%D", $cust_credit_refund[0]->_date);
-  } else {
-    #complicated
-    $desc = '<BR>';
-    foreach my $app ( sort { $a->_date <=> $b->_date }
-                           ( @cust_credit_bill, @cust_credit_refund ) ) {
-      if ( $app->isa('FS::cust_credit_bill') ) {
-        $desc .= '&nbsp;&nbsp;'.
-                 '$'. $app->amount.
-                 ' applied to Invoice #'. $app->invnum.
-                 '<BR>';
-                 #' on '. time2str("%D", $app->_date).
-      } elsif ( $app->isa('FS::cust_credit_refund') ) {
-        $desc .= '&nbsp;&nbsp;'.
-                 '$'. $app->amount.
-                 ' refunded on'. time2str("%D", $app->_date).
-                 '<BR>';
-      } else {
-        die "$app is not a FS::cust_credit_bill or a FS::cust_credit_refund";
-      }
-    }
-    if ( $cust_credit->credited > 0 ) {
-      $desc .= '&nbsp;&nbsp;<B><FONT COLOR="#FF0000">$'.
-               $cust_credit->credited. ' unapplied</FONT></B>'.
-               qq! (<A HREF="${p}edit/cust_credit_bill.cgi?!.
-               $cust_credit->crednum. '">apply</A>)'.
-               '<BR>';
-    }
-  }
-#
-  my $delete = '';
-  if ( $cust_credit->closed !~ /^Y/i && $conf->exists('deletecredits') ) {
-    $delete = qq! (<A HREF="javascript:areyousure('!.
-              qq!${p}misc/delete-cust_credit.cgi?!. $cust_credit->crednum.
-              qq!', 'Are you sure you want to delete this credit?')">!.
-              qq!delete</A>)!;
-  }
-  
-  my $unapply = '';
-  if (    $cust_credit->closed !~ /^Y/i
-       && $conf->exists('unapplycredits')
-       && scalar(@cust_credit_bill)       ) {
-    $unapply = qq! (<A HREF="javascript:areyousure('!.
-               qq!${p}misc/unapply-cust_credit.cgi?!. $cust_credit->crednum.
-               qq!', 'Are you sure you want to unapply this credit?')">!.
-               qq!unapply</A>)!;
-  }
-  
-  push @history, {
-    'date'   => $cust_credit->_date,
-    'desc'   => $pre. "Credit$post by ". $cust_credit->otaker.
-                ( $cust_credit->reason
-                   ? ' ('. $cust_credit->reason. ')'
-                   : ''
-               ).
-                "$desc$apply$delete$unapply",
-    'credit' => $cust_credit->amount,
-  };
-
-}
-
-#refunds
-foreach my $cust_refund ($cust_main->cust_refund) {
-
-  my $payby = $cust_refund->payby;
-  my $payinfo = $payby eq 'CARD'
-                  ? $cust_refund->payinfo_masked
-                  : $cust_refund->payinfo;
-
-  $payby =~ s/^BILL$/Check #/ if $payinfo;
-  $payby =~ s/^CHEK$/Electronic check /;
-  $payby =~ s/^(CARD|COMP)$/$1 /;
-
-  push @history, {
-    'date'   => $cust_refund->_date,
-    'desc'   => "Refund ($payby$payinfo) by ". $cust_refund->otaker,
-    'refund' => $cust_refund->refund,
-  };
-
-}
-
-%>
-
-<%= table() %>
-<TR>
-  <TH>Date</TH>
-  <TH>Description</TH>
-  <TH><FONT SIZE=-1>Charge</FONT></TH>
-  <TH><FONT SIZE=-1>Payment</FONT></TH>
-  <TH><FONT SIZE=-1>In-house<BR>Credit</FONT></TH>
-  <TH><FONT SIZE=-1>Refund</FONT></TH>
-  <TH><FONT SIZE=-1>Balance</FONT></TH>
-</TR>
-
-<%
-#display payment history
-
-my %target;
-my $balance = 0;
-foreach my $item ( sort { $a->{'date'} <=> $b->{'date'} } @history ) {
-
-  my $charge  = exists($item->{'charge'})
-                  ? sprintf('$%.2f', $item->{'charge'})
-                  : '';
-  my $payment = exists($item->{'payment'})
-                  ? sprintf('-&nbsp;$%.2f', $item->{'payment'})
-                  : '';
-  $payment ||= sprintf('<DEL>-&nbsp;$%.2f</DEL>', $item->{'void_payment'})
-    if exists($item->{'void_payment'});
-  my $credit  = exists($item->{'credit'})
-                  ? sprintf('-&nbsp;$%.2f', $item->{'credit'})
-                  : '';
-  my $refund  = exists($item->{'refund'})
-                  ? sprintf('$%.2f', $item->{'refund'})
-                  : '';
-
-  my $target = exists($item->{'target'}) ? $item->{'target'} : '';
-
-  $balance += $item->{'charge'}  if exists $item->{'charge'};
-  $balance -= $item->{'payment'} if exists $item->{'payment'};
-  $balance -= $item->{'credit'}  if exists $item->{'credit'};
-  $balance += $item->{'refund'}  if exists $item->{'refund'};
-  $balance = sprintf("%.2f", $balance);
-  $balance =~ s/^\-0\.00$/0.00/; #yay ieee fp
-  ( my $showbalance = '$'. $balance ) =~ s/^\$\-/-&nbsp;\$/;
-
-%>
-
-  <TR>
-    <TD>
-      <% unless ( !$target || $target{$target}++ ) { %>
-        <A NAME="<%= $target %>">
-      <% } %>
-      <%= time2str("%D",$item->{'date'}) %>
-      <% if ( $target && $target{$target} == 1 ) { %>
-        </A>
-      <% } %>
-      </FONT>
-    </TD>
-    <TD><%= $item->{'desc'} %></TD>
-    <TD ALIGN="right"><%= $charge  %></TD>
-    <TD ALIGN="right"><%= $payment %></TD>
-    <TD ALIGN="right"><%= $credit  %></TD>
-    <TD ALIGN="right"><%= $refund  %></TD>
-    <TD ALIGN="right"><%= $showbalance %></TD>
-  </TR>
-
-<% } %>
-
-</TABLE>
-
diff --git a/httemplate/view/cust_main/quick-charge.html b/httemplate/view/cust_main/quick-charge.html
deleted file mode 100644 (file)
index 2fe3d5f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-%>
-
-<FORM ACTION="<%=$p%>edit/process/quick-charge.cgi" METHOD="POST">
-
-<INPUT TYPE="hidden" NAME="custnum" VALUE="<%= $cust_main->custnum %>">
-
-Description:<INPUT TYPE="text" NAME="pkg">
-
-Amount:<INPUT TYPE="text" NAME="amount" SIZE=6>
-
-<%= include('/elements/select-taxclass.html') %>
-
-<INPUT TYPE="submit" VALUE="One-time charge">
-
-</FORM>
-
diff --git a/httemplate/view/cust_main/tickets.html b/httemplate/view/cust_main/tickets.html
deleted file mode 100644 (file)
index 72d6815..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<%
-  my( $cust_main ) = @_;
-
-  my $conf = new FS::Conf;
-  my $num = 10;
-
-  my @tickets = ();
-  unless ( $conf->config('ticket_system-custom_priority_field') ) {
-
-    @tickets =
-      @{ FS::TicketSystem->customer_tickets($cust_main->custnum, $num) };
-
-  } else {
-
-    foreach my $priority (
-      $conf->config('ticket_system-custom_priority_field-values'), ''
-    ) {
-      last if scalar(@tickets) >= $num;
-      push @tickets, 
-        @{ FS::TicketSystem->customer_tickets( $cust_main->custnum,
-                                               $num - scalar(@tickets),
-                                               $priority,
-                                             )
-         };
-    }
-
-  }
-
-%>
-
-Highest priority tickets
-(<A HREF="<%= FS::TicketSystem->href_customer_tickets($cust_main->custnum) %>">View all tickets for this customer</A>)
-(<A HREF="<%= FS::TicketSystem->href_new_ticket($cust_main, join(', ', grep { $_ !~ /^(POST|FAX)$/ } $cust_main->invoicing_list ) ) %>">New ticket for this customer</A>)
-<%= table() %>
-<TR>
-  <TH>#</TH>
-  <TH>Subject</TH>
-  <TH>Priority</TH>
-  <TH>Queue</TH>
-  <TH>Status</TH>
-</TR>
-<% foreach my $ticket ( @tickets ) {
-     my $href = FS::TicketSystem->href_ticket($ticket->{id});
-%>
-<TR>
-  <TD><A HREF=<%=$href%>><%= $ticket->{id} %></A></TD>
-  <TD><A HREF=<%=$href%>><%= $ticket->{subject} %></A></TD>
-  <TD ALIGN="right"><%= $ticket->{content} || $ticket->{priority} %></TD>
-  <TD><%= $ticket->{name} %></TD>
-  <TD><%= $ticket->{status} %></TD>
-</TR>
-<% } %>
-</TABLE>
-
diff --git a/httemplate/view/cust_pkg.cgi b/httemplate/view/cust_pkg.cgi
deleted file mode 100755 (executable)
index a20149a..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-
-my %uiview = ();
-my %uiadd = ();
-foreach my $part_svc ( qsearch('part_svc',{}) ) {
-  $uiview{$part_svc->svcpart} = popurl(2). "view/". $part_svc->svcdb . ".cgi";
-  $uiadd{$part_svc->svcpart}= popurl(2). "edit/". $part_svc->svcdb . ".cgi";
-}
-
-my ($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $pkgnum = $1;
-
-#get package record
-my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-die "No package!" unless $cust_pkg;
-my $part_pkg = qsearchs('part_pkg',{'pkgpart'=>$cust_pkg->getfield('pkgpart')});
-
-my $custnum = $cust_pkg->getfield('custnum');
-print header('Package View', menubar(
-  "View this customer (#$custnum)" => popurl(2). "view/cust_main.cgi?$custnum",
-  'Main Menu' => popurl(2)
-));
-
-#print info
-my ($susp,$cancel,$expire)=(
-  $cust_pkg->getfield('susp'),
-  $cust_pkg->getfield('cancel'),
-  $cust_pkg->getfield('expire'),
-);
-my($pkg,$comment)=($part_pkg->getfield('pkg'),$part_pkg->getfield('comment'));
-my($setup,$bill)=($cust_pkg->getfield('setup'),$cust_pkg->getfield('bill'));
-my $otaker = $cust_pkg->getfield('otaker');
-
-print <<END;
-<SCRIPT>
-function areyousure(href) {
-    if (confirm("Permanently delete included services and cancel this package?") == true)
-        window.location.href = href;
-}
-</SCRIPT>
-END
-
-print "Package information";
-print ' (<A HREF="'. popurl(2). 'misc/unsusp_pkg.cgi?'. $pkgnum.
-      '">unsuspend</A>)'
-  if ( $susp && ! $cancel );
-
-print ' (<A HREF="'. popurl(2). 'misc/susp_pkg.cgi?'. $pkgnum.
-      '">suspend</A>)'
-  unless ( $susp || $cancel );
-
-print ' (<A HREF="javascript:areyousure(\''. popurl(2). 'misc/cancel_pkg.cgi?'.
-      $pkgnum.  '\')">cancel</A>)'
-  unless $cancel;
-
-print ' (<A HREF="'. popurl(2). 'edit/REAL_cust_pkg.cgi?'. $pkgnum.
-      '">edit dates</A>)';
-
-print &ntable("#cccccc"), '<TR><TD>', &ntable("#cccccc",2),
-      '<TR><TD ALIGN="right">Package number</TD><TD BGCOLOR="#ffffff">',
-      $pkgnum, '</TD></TR>',
-      '<TR><TD ALIGN="right">Package</TD><TD BGCOLOR="#ffffff">',
-      $pkg,  '</TD></TR>',
-      '<TR><TD ALIGN="right">Comment</TD><TD BGCOLOR="#ffffff">',
-      $comment,  '</TD></TR>',
-      '<TR><TD ALIGN="right">Setup date</TD><TD BGCOLOR="#ffffff">',
-      ( $setup ? time2str("%D",$setup) : "(Not setup)" ), '</TD></TR>';
-
-print '<TR><TD ALIGN="right">Last bill date</TD><TD BGCOLOR="#ffffff">',
-      ( $cust_pkg->get('last_bill') ? time2str("%D",$cust_pkg->get('last_bill')) : "&nbsp;" ),
-      '</TD></TR>'
-  if $cust_pkg->dbdef_table->column('last_bill');
-
-print '<TR><TD ALIGN="right">Next bill date</TD><TD BGCOLOR="#ffffff">',
-      ( $bill ? time2str("%D",$bill) : "&nbsp;" ), '</TD></TR>';
-      
-print '<TR><TD ALIGN="right">Suspension date</TD><TD BGCOLOR="#ffffff">',
-       time2str("%D",$susp), '</TD></TR>' if $susp;
-print '<TR><TD ALIGN="right">Expiration date</TD><TD BGCOLOR="#ffffff">',
-       time2str("%D",$expire), '</TD></TR>' if $expire;
-print '<TR><TD ALIGN="right">Cancellation date</TD><TD BGCOLOR="#ffffff">',
-       time2str("%D",$cancel), '</TD></TR>' if $cancel;
-print  '<TR><TD ALIGN="right">Order taker</TD><TD BGCOLOR="#ffffff">',
-      $otaker,  '</TD></TR>',
-      '</TABLE></TD></TR></TABLE>';
-
-unless ($expire) {
-  print <<END;
-<FORM ACTION="../misc/expire_pkg.cgi" METHOD="post">
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="$pkgnum">
-Expire (date): <INPUT TYPE="text" NAME="date" VALUE="" >
-<INPUT TYPE="submit" VALUE="Cancel later">
-END
-}
-
-unless ($cancel) {
-
-  #services
-  print '<BR>Service Information', &table();
-
-  #list of services this pkgpart includes
-  my $pkg_svc;
-  my %pkg_svc;
-  #foreach $pkg_svc ( qsearch('pkg_svc',{'pkgpart'=> $cust_pkg->pkgpart }) ) {
-  foreach $pkg_svc ( $cust_pkg->part_pkg->pkg_svc ) {
-    $pkg_svc{$pkg_svc->svcpart} = $pkg_svc->quantity if $pkg_svc->quantity;
-  }
-
-  #list of records from cust_svc
-  my $svcpart;
-  foreach $svcpart (sort {$a <=> $b} keys %pkg_svc) {
-
-    my($svc)=qsearchs('part_svc',{'svcpart'=>$svcpart})->getfield('svc');
-
-    my(@cust_svc)=qsearch('cust_svc',{'pkgnum'=>$pkgnum, 
-                                      'svcpart'=>$svcpart,
-                                     });
-
-    my($enum);
-    for $enum ( 1 .. $pkg_svc{$svcpart} ) {
-
-      my($cust_svc);
-      if ( $cust_svc=shift @cust_svc ) {
-        my($svcnum)=$cust_svc->svcnum;
-        my($label, $value, $svcdb) = $cust_svc->label;
-        print <<END;
-<TR><TD><A HREF="$uiview{$svcpart}?$svcnum">(View/Edit) $svc: $value<A></TD></TR>
-END
-      } else {
-        print qq!<TR><TD>!.
-              qq!<A HREF="$uiadd{$svcpart}?pkgnum$pkgnum-svcpart$svcpart">!.
-              qq!(Provision) $svc</A>!;
-
-        print qq! or <A HREF="../misc/link.cgi?pkgnum$pkgnum-svcpart$svcpart">!.
-              qq!(Link to legacy) $svc</A>!
-          if $conf->exists('legacy_link');
-
-        print '</TD></TR>';
-      }
-
-    }
-    warn "WARNING: Leftover services pkgnum $pkgnum!" if @cust_svc;; 
-  }
-
-  print "</TABLE><FONT SIZE=-1>",
-        "Choose (View/Edit) to view or edit an existing service<BR>",
-        "Choose (Provision) to setup a new service<BR>";
-
-  print "Choose (Link to legacy) to link to a legacy (pre-Freeside) service"
-    if $conf->exists('legacy_link');
-
-  print "</FONT>";
-}
-
-#formatting
-print <<END;
-  </BODY>
-</HTML>
-END
-
-%>
diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi
deleted file mode 100755 (executable)
index b42362d..0000000
+++ /dev/null
@@ -1,332 +0,0 @@
-<%
-
-my $conf = new FS::Conf;
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-my $svc_acct = qsearchs('svc_acct',{'svcnum'=>$svcnum});
-die "Unknown svcnum" unless $svc_acct;
-
-#false laziness w/all svc_*.cgi
-my $cust_svc = qsearchs( 'cust_svc' , { 'svcnum' => $svcnum } );
-my $pkgnum = $cust_svc->getfield('pkgnum');
-my($cust_pkg, $custnum);
-if ($pkgnum) {
-  $cust_pkg = qsearchs( 'cust_pkg', { 'pkgnum' => $pkgnum } );
-  $custnum = $cust_pkg->custnum;
-} else {
-  $cust_pkg = '';
-  $custnum = '';
-}
-#eofalse
-
-my $part_svc = qsearchs('part_svc',{'svcpart'=> $cust_svc->svcpart } );
-die "Unknown svcpart" unless $part_svc;
-my $svc = $part_svc->svc;
-
-die 'Empty domsvc for svc_acct.svcnum '. $svc_acct->svcnum
-  unless $svc_acct->domsvc;
-my $svc_domain = qsearchs('svc_domain', { 'svcnum' => $svc_acct->domsvc } );
-die 'Unknown domain (domsvc '. $svc_acct->domsvc.
-    ' for svc_acct.svcnum '. $svc_acct->svcnum. ')'
-  unless $svc_domain;
-my $domain = $svc_domain->domain;
-
-%>
-
-<% if ( $custnum ) { %>
-
-  <%= header("View $svc account", menubar(
-    "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-    "Main menu" => $p,
-  )) %>
-
-  <%= include( '/elements/small_custview.html', $custnum, '', 1 ) %>
-  <BR>
-
-<% } else { %>
-
-  <SCRIPT>
-  function areyousure(href) {
-      if (confirm("Permanently delete this account?") == true)
-          window.location.href = href;
-  }
-  </SCRIPT>
-  
-  <%= header('Account View', menubar(
-    "Cancel this (unaudited) account" =>
-            "javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')",
-    "Main menu" => $p,
-  )) %>
-
-<% } %>
-
-<% if ( $part_svc->part_export_usage ) {
-
-  my $last_bill;
-  my %plandata;
-  if ( $cust_pkg ) {
-    #false laziness w/httemplate/edit/part_pkg... this stuff doesn't really
-    #belong in plan data
-    %plandata = map { /^(\w+)=(.*)$/; ( $1 => $2 ); }
-                    split("\n", $cust_pkg->part_pkg->plandata );
-
-    $last_bill = $cust_pkg->last_bill;
-  } else {
-    $last_bill = 0;
-    %plandata = ();
-  }
-
-  my $seconds = $svc_acct->seconds_since_sqlradacct( $last_bill, time );
-  my $hour = int($seconds/3600);
-  my $min = int( ($seconds%3600) / 60 );
-  my $sec = $seconds%60;
-
-  my $input = $svc_acct->attribute_since_sqlradacct(
-    $last_bill, time, 'AcctInputOctets'
-  ) / 1048576;
-  my $output = $svc_acct->attribute_since_sqlradacct(
-    $last_bill, time, 'AcctOutputOctets'
-  ) / 1048576;
-
-%>
-
-  RADIUS session information<BR>
-  <%= ntable('#cccccc',2) %>
-  <TR><TD BGCOLOR="#ffffff">
-
-  <% if ( $seconds ) { %>
-    Online <B><%= $hour %></B>h <B><%= $min %></B>m <B><%= $sec %></B>s
-  <% } else { %>
-    Has not logged on
-  <% } %>
-
-  <% if ( $cust_pkg ) { %>
-    since last bill (<%= time2str('%a %b %o %Y', $last_bill) %>)
-    <% if ( length($plandata{recur_included_hours}) ) { %>
-    - <%= $plandata{recur_included_hours} %> total hours in plan
-    <% } %>
-    <BR>
-  <% } else { %>
-    (no billing cycle available for unaudited account)<BR>
-  <% } %>
-
-  Upload: <B><%= sprintf("%.3f", $input) %></B> megabytes<BR>
-  Download: <B><%= sprintf("%.3f", $output) %></B> megabytes<BR>
-
-  <% my $href = qq!<A HREF="${p}search/sqlradius.cgi?svcnum=$svcnum!; %>
-  View session detail:
-      <%= $href %>;begin=<%= $last_bill %>">this billing cycle</A>
-    | <%= $href %>;begin=<%= time-15552000 %>">past six months</A>
-    | <%= $href %>">all sessions</A>
-
-  </TD></TR></TABLE><BR>
-
-<% } %>
-
-<SCRIPT TYPE="text/javascript">
-function enable_change () {
-  if ( document.OneTrueForm.svcpart.selectedIndex > 1 ) {
-    document.OneTrueForm.submit.disabled = false;
-  } else {
-    document.OneTrueForm.submit.disabled = true;
-  }
-}
-</SCRIPT>
-<FORM NAME="OneTrueForm" ACTION="<%=$p%>edit/process/cust_svc.cgi">
-<INPUT TYPE="hidden" NAME="svcnum" VALUE="<%= $svcnum %>">
-<INPUT TYPE="hidden" NAME="pkgnum" VALUE="<%= $pkgnum %>">
-
-<% #print qq!<BR><A HREF="../misc/sendconfig.cgi?$svcnum">Send account information</A>!; %>
-
-<% 
-  my @part_svc = ();
-  if ( $pkgnum ) { 
-    @part_svc = grep {    $_->svcdb   eq 'svc_acct'
-                       && $_->svcpart != $part_svc->svcpart }
-                $cust_pkg->available_part_svc;
-  } else {
-    @part_svc = qsearch('part_svc', {
-      svcdb    => 'svc_acct',
-      disabled => '',
-      svcpart  => { op=>'!=', value=>$part_svc->svcpart },
-    } );
-  }
-%>
-
-Service #<B><%= $svcnum %></B>
-| <A HREF="<%=$p%>edit/svc_acct.cgi?<%=$svcnum%>">Edit this service</A>
-
-<% if ( @part_svc ) { %>
-| <SELECT NAME="svcpart" onChange="enable_change()">
-    <OPTION VALUE="">Change service</OPTION>
-    <OPTION VALUE="">--------------</OPTION>
-    <% foreach my $opt_part_svc ( @part_svc ) { %>
-      <OPTION VALUE="<%= $opt_part_svc->svcpart %>"><%= $opt_part_svc->svc %></OPTION>
-    <% } %>
-  </SELECT>
-  <INPUT NAME="submit" TYPE="submit" VALUE="Change" disabled>
-<% } %>
-
-<%= &ntable("#cccccc") %><TR><TD><%= &ntable("#cccccc",2) %>
-
-<TR>
-  <TD ALIGN="right">Service</TD>
-  <TD BGCOLOR="#ffffff"><%= $part_svc->svc %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Username</TD>
-  <TD BGCOLOR="#ffffff"><%= $svc_acct->username %></TD>
-</TR>
-<TR>
-  <TD ALIGN="right">Domain</TD>
-  <TD BGCOLOR="#ffffff"><%= $domain %></TD>
-</TR>
-
-<TR>
-  <TD ALIGN="right">Password</TD>
-  <TD BGCOLOR="#ffffff">
-
-    <% my $password = $svc_acct->_password; %>
-    <% if ( $password =~ /^\*\w+\* (.*)$/ ) {
-         $password = $1;
-    %>
-      <I>(login disabled)</I>
-    <% } %>
-
-    <% if ( $conf->exists('showpasswords') ) { %>
-      <PRE><%= encode_entities($password) %></PRE>
-    <% } else { %>
-      <I>(hidden)</I>
-    <% } %>
-
-  </TD>
-</TR>
-<% $password = ''; %>
-
-<% if ( $conf->exists('security_phrase') ) {
-     my $sec_phrase = $svc_acct->sec_phrase;
-%>
-  <TR>
-    <TD ALIGN="right">Security phrase</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->sec_phrase %></TD>
-  </TR>
-<% } %>
-
-<% if ( $svc_acct->popnum ) {
-    my $svc_acct_pop = qsearchs('svc_acct_pop',{'popnum'=>$svc_acct->popnum});
-%>
-  <TR>
-    <TD ALIGN="right">Access number</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct_pop->text %></TD>
-  </TR>
-<% } %>
-
-<% if ($svc_acct->uid ne '') { %>
-  <TR>
-    <TD ALIGN="right">UID</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->uid %></TD>
-  </TR>
-<% } %>
-
-<% if ($svc_acct->gid ne '') { %>
-  <TR>
-    <TD ALIGN="right">GID</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->gid %></TD>
-  </TR>
-<% } %>
-
-<% if ($svc_acct->finger ne '') { %>
-  <TR>
-    <TD ALIGN="right">GECOS</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->finger %></TD>
-  </TR>
-<% } %>
-
-<% if ($svc_acct->dir ne '') { %>
-  <TR>
-    <TD ALIGN="right">Home directory</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->dir %></TD>
-  </TR>
-<% } %>
-
-<% if ($svc_acct->shell ne '') { %>
-  <TR>
-    <TD ALIGN="right">Shell</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->shell %></TD>
-  </TR>
-<% } %>
-
-<% if ($svc_acct->quota ne '') { %>
-  <TR>
-    <TD ALIGN="right">Quota</TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->quota %></TD>
-  </TR>
-<% } %>
-
-<% if ($svc_acct->slipip) { %>
-  <TR>
-    <TD ALIGN="right">IP address</TD>
-    <TD BGCOLOR="#ffffff">
-      <%= ( $svc_acct->slipip eq "0.0.0.0" || $svc_acct->slipip eq '0e0' )
-            ? "<I>(Dynamic)</I>"
-            : $svc_acct->slipip
-      %>
-    </TD>
-  </TR>
-<% } %>
-
-<% foreach my $attribute ( grep /^radius_/, $svc_acct->fields ) {
-  $attribute =~ /^radius_(.*)$/;
-  my $pattribute = $FS::raddb::attrib{$1};
-%>
-  <TR>
-    <TD ALIGN="right">Radius (reply) <%= $pattribute %></TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->getfield($attribute) %></TD>
-  </TR>
-<% } %>
-
-<% foreach my $attribute ( grep /^rc_/, $svc_acct->fields ) {
-  $attribute =~ /^rc_(.*)$/;
-  my $pattribute = $FS::raddb::attrib{$1};
-%>
-  <TR>
-    <TD ALIGN="right">Radius (check) <%= $pattribute %></TD>
-    <TD BGCOLOR="#ffffff"><%= $svc_acct->getfield($attribute) %></TD>
-  </TR>
-<% } %>
-
-<TR>
-  <TD ALIGN="right">RADIUS groups</TD>
-  <TD BGCOLOR="#ffffff"><%= join('<BR>', $svc_acct->radius_groups) %></TD>
-</TR>
-
-<% if ( $svc_acct->seconds =~ /^\d+$/ ) { %>
-  <TR>
-    <TD ALIGN="right">Prepaid time</TD>
-    <TD BGCOLOR="#ffffff"><%= duration_exact($svc_acct->seconds) %></TD>
-  </TR>
-<% } %>
-
-<%
-# Can this be abstracted further?  Maybe a library function like
-# widget('HTML', 'view', $svc_acct) ?  It would definitely make UI 
-# style management easier.
-%>
-
-<% foreach (sort { $a cmp $b } $svc_acct->virtual_fields) { %>
-  <%= $svc_acct->pvf($_)->widget('HTML', 'view', $svc_acct->getfield($_)) %>
-<% } %>
-
-</TABLE></TD></TR></TABLE>
-</FORM>
-<BR><BR>
-
-<%= join("<BR>", $conf->config('svc_acct-notes') ) %>
-<BR><BR>
-
-<%= joblisting({'svcnum'=>$svcnum}, 1) %>
-
-</BODY>
-</HTML>
diff --git a/httemplate/view/svc_broadband.cgi b/httemplate/view/svc_broadband.cgi
deleted file mode 100644 (file)
index f381b5a..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-my $svc_broadband = qsearchs( 'svc_broadband', { 'svcnum' => $svcnum } )
-  or die "svc_broadband: Unknown svcnum $svcnum";
-
-#false laziness w/all svc_*.cgi
-my $cust_svc = qsearchs( 'cust_svc', { 'svcnum' => $svcnum } );
-my $pkgnum = $cust_svc->getfield('pkgnum');
-my($cust_pkg, $custnum);
-if ($pkgnum) {
-  $cust_pkg = qsearchs( 'cust_pkg', { 'pkgnum' => $pkgnum } );
-  $custnum = $cust_pkg->custnum;
-} else {
-  $cust_pkg = '';
-  $custnum = '';
-}
-#eofalse
-
-my $addr_block = $svc_broadband->addr_block;
-my $router = $addr_block->router;
-
-if (not $router) { die "Could not lookup router for svc_broadband (svcnum $svcnum)" };
-
-my (
-     $routername,
-     $routernum,
-     $speed_down,
-     $speed_up,
-     $ip_addr,
-     $ip_gateway,
-     $ip_netmask,
-   ) = (
-     $router->getfield('routername'),
-     $router->getfield('routernum'),
-     $svc_broadband->getfield('speed_down'),
-     $svc_broadband->getfield('speed_up'),
-     $svc_broadband->getfield('ip_addr'),
-     $addr_block->ip_gateway,
-     $addr_block->NetAddr->mask,
-   );
-%>
-
-<%=header('Broadband Service View', menubar(
-  ( ( $custnum )
-    ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-      )                                                                       
-    : ( "Cancel this (unaudited) website" =>
-          "${p}misc/cancel-unaudited.cgi?$svcnum" )
-  ),
-  "Main menu" => $p,
-))
-%>
-
-<A HREF="<%=${p}%>edit/svc_broadband.cgi?<%=$svcnum%>">Edit this information</A>
-<BR>
-<%=ntable("#cccccc")%>
-  <TR>
-    <TD>
-      <%=ntable("#cccccc",2)%>
-        <TR>
-          <TD ALIGN="right">Service number</TD>
-          <TD BGCOLOR="#ffffff"><%=$svcnum%></TD>
-        </TR>
-        <TR>
-          <TD ALIGN="right">Router</TD>
-          <TD BGCOLOR="#ffffff"><%=$routernum%>: <%=$routername%></TD>
-        </TR>
-        <TR>
-          <TD ALIGN="right">Download Speed</TD>
-          <TD BGCOLOR="#ffffff"><%=$speed_down%></TD>
-        </TR>
-        <TR>
-          <TD ALIGN="right">Upload Speed</TD>
-          <TD BGCOLOR="#ffffff"><%=$speed_up%></TD>
-        </TR>
-        <TR>
-          <TD ALIGN="right">IP Address</TD>
-          <TD BGCOLOR="#ffffff"><%=$ip_addr%></TD>
-        </TR>
-        <TR>
-          <TD ALIGN="right">IP Netmask</TD>
-          <TD BGCOLOR="#ffffff"><%=$ip_netmask%></TD>
-        </TR>
-        <TR>
-          <TD ALIGN="right">IP Gateway</TD>
-          <TD BGCOLOR="#ffffff"><%=$ip_gateway%></TD>
-        </TR>
-        <TR COLSPAN="2"><TD></TD></TR>
-
-<%
-foreach (sort { $a cmp $b } $svc_broadband->virtual_fields) {
-  print $svc_broadband->pvf($_)->widget('HTML', 'view',
-                                        $svc_broadband->getfield($_)), "\n";
-}
-
-%>
-      </TABLE>
-    </TD>
-  </TR>
-</TABLE>
-
-<BR>
-<%=ntable("#cccccc", 2)%>
-<%
-  my $sb_router = qsearchs('router', { svcnum => $svcnum });
-  if ($sb_router) {
-  %>
-  <B>Router associated: <%=$sb_router->routername%> </B>
-  <A HREF="<%=popurl(2)%>edit/router.cgi?<%=$sb_router->routernum%>">
-    (details)
-  </A>
-  <BR>
-  <% my @sb_addr_block;
-     if (@sb_addr_block = $sb_router->addr_block) {
-     %>
-  <B>Address space </B>
-  <A HREF="<%=popurl(2)%>browse/addr_block.cgi">
-    (edit)
-  </A>
-  <BR>
-  <%   print ntable("#cccccc", 1);
-       foreach (@sb_addr_block) { %>
-    <TR>
-      <TD><%=$_->ip_gateway%>/<%=$_->ip_netmask%></TD>
-    </TR>
-    <% } %>
-  </TABLE>
-  <% } else { %>
-  <B>No address space allocated.</B>
-    <% } %>
-  <BR>
-  <%
-  } else {
-%>
-
-<FORM METHOD="GET" ACTION="<%=popurl(2)%>edit/router.cgi">
-  <INPUT TYPE="hidden" NAME="svcnum" VALUE="<%=$svcnum%>">
-Add router named 
-  <INPUT TYPE="text" NAME="routername" SIZE="32" VALUE="Broadband router (<%=$svcnum%>)">
-  <INPUT TYPE="submit" VALUE="Add router">
-</FORM>
-
-<%
-}
-%>
-
-<BR>
-<%=joblisting({'svcnum'=>$svcnum}, 1)%>
-  </BODY>
-</HTML>
-
diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi
deleted file mode 100755 (executable)
index 428f3e9..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-my $svc_domain = qsearchs('svc_domain',{'svcnum'=>$svcnum});
-die "Unknown svcnum" unless $svc_domain;
-
-my $cust_svc = qsearchs('cust_svc',{'svcnum'=>$svcnum});
-my $pkgnum = $cust_svc->getfield('pkgnum');
-my($cust_pkg, $custnum);
-if ($pkgnum) {
-  $cust_pkg=qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-  $custnum=$cust_pkg->getfield('custnum');
-} else {
-  $cust_pkg = '';
-  $custnum = '';
-}
-
-my $part_svc = qsearchs('part_svc',{'svcpart'=> $cust_svc->svcpart } );
-die "Unknown svcpart" unless $part_svc;
-
-my $email = '';
-if ($svc_domain->catchall) {
-  my $svc_acct = qsearchs('svc_acct',{'svcnum'=> $svc_domain->catchall } );
-  die "Unknown svcpart" unless $svc_acct;
-  $email = $svc_acct->email;
-}
-
-my $domain = $svc_domain->domain;
-
-%>
-
-<%= header('Domain View', menubar(
-  ( ( $pkgnum || $custnum )
-    ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-      )
-    : ( "Delete this (unaudited) domain" =>
-          "javascript:areyousure('${p}misc/cancel-unaudited.cgi?$svcnum', 'Delete $domain and all records?' )" )
-  ),
-  "Main menu" => $p,
-)) %>
-
-Service #<%= $svcnum %>
-<BR>Service: <B><%= $part_svc->svc %></B>
-<BR>Domain name: <B><%= $domain %></B>
-<BR>Catch all email <A HREF="<%= ${p} %>misc/catchall.cgi?<%= $svcnum %>">(change)</A>:
-<%= $email ? "<B>$email</B>" : "<I>(none)<I>" %>
-<BR><BR><A HREF="<%= ${p} %>misc/whois.cgi?custnum=<%=$custnum%>;svcnum=<%=$svcnum%>;domain=<%=$domain%>">View whois information.</A>
-<BR><BR>
-<SCRIPT>
-  function areyousure(href, message) {
-    if ( confirm(message) == true )
-      window.location.href = href;
-  }
-  function slave_areyousure() {
-    return confirm("Remove all records and slave from " + document.SlaveForm.recdata.value + "?");
-  }
-</SCRIPT>
-
-<% my @records; if ( @records = $svc_domain->domain_record ) { %>
-  <%= ntable("",2) %>
-  <tr><th>Zone</th><th>Type</th><th>Data</th></tr>
-
-  <% foreach my $domain_record ( @records ) {
-       my $type = $domain_record->rectype eq '_mstr'
-                    ? "(slave)"
-                    : $domain_record->recaf. ' '. $domain_record->rectype;
-  %>
-
-    <tr><td><%= $domain_record->reczone %></td>
-    <td><%= $type %></td>
-    <td><%= $domain_record->recdata %>
-
-    <% unless ( $domain_record->rectype eq 'SOA' ) { %>
-      (<A HREF="javascript:areyousure('<%=$p%>misc/delete-domain_record.cgi?<%=$domain_record->recnum%>', 'Delete \'<%= $domain_record->reczone %> <%= $type %> <%= $domain_record->recdata %>\' ?' )">delete</A>)
-    <% } %>
-    </td></tr>
-  <% } %>
-  </table>
-<% } %>
-
-<BR>
-<FORM METHOD="POST" ACTION="<%=$p%>edit/process/domain_record.cgi">
-<INPUT TYPE="hidden" NAME="svcnum" VALUE="<%=$svcnum%>">
-<INPUT TYPE="text" NAME="reczone"> 
-<INPUT TYPE="hidden" NAME="recaf" VALUE="IN"> IN 
- <SELECT NAME="rectype">
-<% foreach (qw( A NS CNAME MX PTR TXT) ) { %>
-  <OPTION VALUE="<%=$_%>"><%=$_%></OPTION>
-<% } %>
- </SELECT>
-<INPUT TYPE="text" NAME="recdata"> <INPUT TYPE="submit" VALUE="Add record">
-</FORM><BR><BR>or<BR><BR>
-<FORM NAME="SlaveForm" METHOD="POST" ACTION="<%=$p%>edit/process/domain_record.cgi">
-<INPUT TYPE="hidden" NAME="svcnum" VALUE="<%=$svcnum%>">
-
-<% if ( @records ) { %> Delete all records and <% } %>
-Slave from nameserver IP 
-<INPUT TYPE="hidden" NAME="svcnum" VALUE="<%=$svcnum%>">
-<INPUT TYPE="hidden" NAME="reczone" VALUE="@"> 
-<INPUT TYPE="hidden" NAME="recaf" VALUE="IN">
-<INPUT TYPE="hidden" NAME="rectype" VALUE="_mstr">
-<INPUT TYPE="text" NAME="recdata"> <INPUT TYPE="submit" VALUE="Slave domain" onClick="return slave_areyousure()">
-</FORM>
-<BR><BR><%= joblisting({'svcnum'=>$svcnum}, 1) %>
-</BODY></HTML>
diff --git a/httemplate/view/svc_external.cgi b/httemplate/view/svc_external.cgi
deleted file mode 100644 (file)
index 49183cd..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-my $svc_external = qsearchs( 'svc_external', { 'svcnum' => $svcnum } )
-  or die "svc_external: Unknown svcnum $svcnum";
-
-my $conf = new FS::Conf;
-
-#false laziness w/all svc_*.cgi
-my $cust_svc = qsearchs( 'cust_svc', { 'svcnum' => $svcnum } );
-my $pkgnum = $cust_svc->getfield('pkgnum');
-my($cust_pkg, $custnum);
-if ($pkgnum) {
-  $cust_pkg = qsearchs( 'cust_pkg', { 'pkgnum' => $pkgnum } );
-  $custnum = $cust_pkg->custnum;
-} else {
-  $cust_pkg = '';
-  $custnum = '';
-}
-#eofalse
-
-
-%>
-
-<%= header('External Service View', menubar(
-  ( ( $custnum )
-    ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-      )                                                                       
-    : ( "Cancel this (unaudited) external service" =>
-          "${p}misc/cancel-unaudited.cgi?$svcnum" )
-  ),
-  "Main menu" => $p,
-)) %>
-
-<A HREF="<%=$p%>edit/svc_external.cgi?<%=$svcnum%>">Edit this information</A><BR>
-<%= ntable("#cccccc") %><TR><TD><%= ntable("#cccccc",2) %>
-
-<TR><TD ALIGN="right">Service number</TD>
-  <TD BGCOLOR="#ffffff"><%= $svcnum %></TD></TR>
-<TR><TD ALIGN="right"><%= FS::Msgcat::_gettext('svc_external-id') || 'External&nbsp;ID' %></TD>
-  <TD BGCOLOR="#ffffff"><%= $conf->config('svc_external-display_type') eq 'artera_turbo' ? sprintf('%010d', $svc_external->id) : $svc_external->id %></TD></TR>
-<TR><TD ALIGN="right"><%= FS::Msgcat::_gettext('svc_external-title') || 'Title' %></TD>
-  <TD BGCOLOR="#ffffff"><%= $svc_external->title %></TD></TR>
-
-<% foreach (sort { $a cmp $b } $svc_external->virtual_fields) { %>
-  <%= $svc_external->pvf($_)->widget('HTML', 'view', $svc_external->getfield($_)) %>
-<% } %>
-
-</TABLE></TD></TR></TABLE>
-<BR><%= joblisting({'svcnum'=>$svcnum}, 1) %>
-</BODY></HTML>
diff --git a/httemplate/view/svc_forward.cgi b/httemplate/view/svc_forward.cgi
deleted file mode 100755 (executable)
index 52360bc..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my $conf = new FS::Conf;
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-my $svc_forward = qsearchs('svc_forward',{'svcnum'=>$svcnum});
-die "Unknown svcnum" unless $svc_forward;
-
-my $cust_svc = qsearchs('cust_svc',{'svcnum'=>$svcnum});
-my $pkgnum = $cust_svc->getfield('pkgnum');
-my($cust_pkg, $custnum);
-if ($pkgnum) {
-  $cust_pkg=qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
-  $custnum=$cust_pkg->getfield('custnum');
-} else {
-  $cust_pkg = '';
-  $custnum = '';
-}
-
-my $part_svc = qsearchs('part_svc',{'svcpart'=> $cust_svc->svcpart } )
-  or die "Unkonwn svcpart";
-
-print header('Mail Forward View', menubar(
-  ( ( $pkgnum || $custnum )
-    ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-      )
-    : ( "Cancel this (unaudited) mail forward" =>
-          "${p}misc/cancel-unaudited.cgi?$svcnum" )
-  ),
-  "Main menu" => $p,
-));
-
-my($srcsvc,$dstsvc,$dst) = (
-  $svc_forward->srcsvc,
-  $svc_forward->dstsvc,
-  $svc_forward->dst,
-);
-my $src = $svc_forward->dbdef_table->column('src') ? $svc_forward->src : '';
-
-my $svc = $part_svc->svc;
-
-my $source;
-if ($srcsvc) {
-  my $svc_acct = qsearchs('svc_acct',{'svcnum'=>$srcsvc})
-    or die "Corrupted database: no svc_acct.svcnum matching srcsvc $srcsvc";
-  $source = $svc_acct->email;
-} else {
-  $source = $src;
-}
-
-my $destination;
-if ($dstsvc) {
-  my $svc_acct = qsearchs('svc_acct',{'svcnum'=>$dstsvc})
-    or die "Corrupted database: no svc_acct.svcnum matching dstsvc $dstsvc";
-  $destination = $svc_acct->email;
-} else {
-  $destination = $dst;
-}
-
-print qq!<A HREF="${p}edit/svc_forward.cgi?$svcnum">Edit this information</A>!.
-      ntable("#cccccc",2).
-      '<TR><TD ALIGN="right">Service number</TD>'.
-        qq!<TD BGCOLOR="#ffffff">$svcnum</TD></TR>!.
-      '<TR><TD ALIGN="right">Service</TD>'.
-        qq!<TD BGCOLOR="#ffffff">$svc</TD></TR>!.
-      qq!<TR><TD ALIGN="right">Email to</TD>!.
-        qq!<TD BGCOLOR="#ffffff">$source</TD></TR>!.
-      qq!<TR><TD ALIGN="right">Forwards to </TD>!.
-        qq!<TD BGCOLOR="#ffffff">$destination</TD></TR>!;
-
-foreach (sort { $a cmp $b } $svc_forward->virtual_fields) {
-  print $svc_forward->pvf($_)->widget('HTML', 'view', $svc_forward->getfield($_)),
-      "\n";
-}
-
-print qq!  </TABLE>!.
-      '<BR>'. joblisting({'svcnum'=>$svcnum}, 1).
-      '</BODY></HTML>'
-;
-
-%>
diff --git a/httemplate/view/svc_www.cgi b/httemplate/view/svc_www.cgi
deleted file mode 100644 (file)
index 6c8cd6a..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<!-- mason kludge -->
-<%
-
-my($query) = $cgi->keywords;
-$query =~ /^(\d+)$/;
-my $svcnum = $1;
-my $svc_www = qsearchs( 'svc_www', { 'svcnum' => $svcnum } )
-  or die "svc_www: Unknown svcnum $svcnum";
-
-#false laziness w/all svc_*.cgi
-my $cust_svc = qsearchs( 'cust_svc', { 'svcnum' => $svcnum } );
-my $pkgnum = $cust_svc->getfield('pkgnum');
-my($cust_pkg, $custnum);
-if ($pkgnum) {
-  $cust_pkg = qsearchs( 'cust_pkg', { 'pkgnum' => $pkgnum } );
-  $custnum = $cust_pkg->custnum;
-} else {
-  $cust_pkg = '';
-  $custnum = '';
-}
-#eofalse
-
-my $usersvc = $svc_www->usersvc;
-my $svc_acct = '';
-my $email = '';
-if ( $usersvc ) {
-  $svc_acct = qsearchs('svc_acct', { 'svcnum' => $usersvc } )
-    or die "svc_www: Unknown usersvc $usersvc";
-  $email = $svc_acct->email;
-}
-
-my $domain_record = qsearchs('domain_record', { 'recnum' => $svc_www->recnum } )
-  or die "svc_www: Unknown recnum ". $svc_www->recnum;
-
-my $www = $domain_record->zone;
-
-print header('Website View', menubar(
-  ( ( $custnum )
-    ? ( "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-      )                                                                       
-    : ( "Cancel this (unaudited) website" =>
-          "${p}misc/cancel-unaudited.cgi?$svcnum" )
-  ),
-  "Main menu" => $p,
-)).
-      qq!<A HREF="${p}edit/svc_www.cgi?$svcnum">Edit this information</A><BR>!.
-      ntable("#cccccc"). '<TR><TD>'. ntable("#cccccc",2).
-      qq!<TR><TD ALIGN="right">Service number</TD>!.
-        qq!<TD BGCOLOR="#ffffff">$svcnum</TD></TR>!.
-      qq!<TR><TD ALIGN="right">Website name</TD>!.
-        qq!<TD BGCOLOR="#ffffff"><A HREF="http://$www">$www<A></TD></TR>!.
-      qq!<TR><TD ALIGN="right">Account</TD>!.
-        qq!<TD BGCOLOR="#ffffff">!;
-
-if ( $usersvc ) {
-  print qq!<A HREF="${p}view/svc_acct.cgi?$usersvc">$email</A>!;
-} else {
-  print '</i>(none)</i>';
-}
-
-print '</TD></TR>';
-
-foreach (sort { $a cmp $b } $svc_www->virtual_fields) {
-  print $svc_www->pvf($_)->widget('HTML', 'view', $svc_www->getfield($_)),
-      "\n";
-}
-
-
-print '</TABLE></TD></TR></TABLE>'.
-      '<BR>'. joblisting({'svcnum'=>$svcnum}, 1).
-      '</BODY></HTML>'
-;
-%>
diff --git a/init.d/freeside-init b/init.d/freeside-init
deleted file mode 100644 (file)
index 56733bd..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#! /bin/sh
-#
-# chkconfig: 345 86 16
-# description: Freeside daemons
-
-QUEUED_USER=%%%QUEUED_USER%%%
-
-SELFSERVICE_USER=%%%SELFSERVICE_USER%%%
-SELFSERVICE_MACHINES="%%%SELFSERVICE_MACHINES%%%"
-
-#INSTALLSCRIPT/INSTALLSITEBIN from Makefile.PL
-PATH="$PATH:/usr/local/bin"
-export PATH
-
-case "$1" in
-  start)
-        # Start daemons.
-        echo -n "Starting freeside-queued: "
-        freeside-queued $QUEUED_USER
-        echo "done."
-
-        #echo -n "Starting freeside-sqlradius-radacctd: "
-        #freeside-sqlradius-radacctd $QUEUED_USER
-        #echo "done."
-
-        echo -n "Starting freeside-prepaidd: "
-        freeside-prepaidd $QUEUED_USER
-        echo "done."
-
-        for MACHINE in $SELFSERVICE_MACHINES; do
-          echo -n "Starting freeside-selfservice-server to $MACHINE: "
-          freeside-selfservice-server $SELFSERVICE_USER $MACHINE
-          echo "done."
-        done
-
-        ;;
-  stop)
-        # Stop daemons.
-        echo -n "Stopping freeside-queued: "
-        kill `cat /var/run/freeside-queued.pid`
-        echo "done."
-
-        echo -n "Stopping freeside-sqlradius-radacctd: "
-        kill `cat /var/run/freeside-sqlradius-radacctd.pid`
-        echo "done."
-
-        echo -n "Stopping freeside-prepaidd: "
-        kill `cat /var/run/freeside-prepaidd.pid`
-        echo "done."
-
-        if [ -e /var/run/freeside-selfservice-server.$SELFSERVICE_USER.pid ]
-        then
-          echo -n "Stopping (old) freeside-selfservice-server: "
-          kill `cat /var/run/freeside-selfservice-server.$SELFSERVICE_USER.pid`
-          rm /var/run/freeside-selfservice-server.$SELFSERVICE_USER.pid
-        fi
-
-        for MACHINE in $SELFSERVICE_MACHINES; do
-          echo -n "Stopping freeside-selfservice-server to $MACHINE: "
-          kill `cat /var/run/freeside-selfservice-server.$SELFSERVICE_USER.$MACHINE.pid`
-          echo "done."
-        done
-
-        ;;
-
-  restart)
-        $0 stop
-        $0 start
-        ;;
-  *)
-        echo "Usage: freeside {start|stop|restart}"
-        exit 1
-esac
-
-exit 0
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/Changes b/install/5.005/DBD-Pg-1.22-fixvercmp/Changes
deleted file mode 100644 (file)
index c345628..0000000
+++ /dev/null
@@ -1,352 +0,0 @@
-1.22  Wed Mar 26 22:33:44 EST 2003
-       - Win32 compile fix for snprintf [Joe Spears]
-       - Fix memory allocation problem in bytea escaping [Barrie Slaymaker]
-       - Add utf8 support [Dominic Mitchell <dom@semantico.com>]
-       - Transform Perl arrays into PostgreSQL arrays [Alexey Slynko]
-       - Fix for foreign_key_info() [Keith Keller]
-       - Fix PG_TEXT parameter binding
-       - Doc cleanups [turnstep]
-       - Fix warning from func($table, 'table_attributes') [turnstep]
-       - Added suppport for schemas [turnstep]
-       - Fix binary to a bytea field conversion [Chris Dunlop <chris@onthe.net.au>]
-1.21  Sun Jan 12 21:00:44 EST 2003
-       - System tables no longer returned by tables(). [Dave Rolsky]
-       - Fix table_attributes to handle removal of pg_relcheck in 7.3,
-       from Ian Barwick <barwick@gmx.net>
-       - Properly reset transaction status after failed transaction when
-        autocommit is off.  Properly report transaction failure message.
-        Kai <kai@xs4all.nl>
-       - New pg_bool_tf database handle that when set to true booleans are
-        returned as 't'/'f' rather than 1/0.
-
-1.20  Wed Nov 27 16:19:26 2002
-       - Maintenance transferred to GBorg,
-        http://gborg.postgresql.org/project/dbdpg/projdisplay.php. Incremented
-        version number to reflect new management. [Bruce Momjian]
-       - README cleaned up. [Bruce Momjian]
-       - Added t/15funct.t, a series of tests that determine if the meta data
-        is working. [Thomas Lowery]
-       - Added implementations of column_info() and table_info(), and
-        primary_key_info(). [Thomas Lowery]
-       - The POD formatting was cleaned up. [David Wheeler]
-       - The preparser was updated to better handle escaped characters. [Rudy
-        Lippan]
-       - Removed redundant use of strlen() in pg_error() (Jason E. Stewart).
-       - Test suite cleaned up, converted to use Test::More, and updated to use
-        standard DBI environment variables for connecting to a test database.
-        [Jason E. Stewart]
-       - Added eg/lotest.pl as a demonstration of using large objects in buffers
-        rather than files. Contributed by Garth Webb.
-       - Added LISTEN/NOTIFY functionality. Congributed by Alex Pilosov.
-       - Added constants for common PostgreSQL data types, plus simple tests to
-       make sure that they work. These are exportable via "use DBD::Pg
-       qw(:pg_types);". [David Wheeler]
-       - Deprecatated the undocumented (and invalid) use of SQL_BINARY in
-       bind_param() and documented the correct approach: "bind_param($num,
-       $val { pg_type => PG_BYTEA });". Use of SQL_BINARY in bind_param() will
-        now issue a warning if $h->{Warn} is true. [David Wheeler]
-       - Removed invalid (and broken) support for SQL_BINARY in quote(). [David
-       Wheeler]
-       - Added App::Info::RDBMS::PostgreSQL to the distribution (but it won't
-        be installed) to help Makefile.PL find the PostgreSQL include and
-        library files. [David Wheeler]
-       - Fixed compile-time warnings. [David Wheeler and Jason E. Stewart]
-
-2002-04-27 Jeffrey W. Baker <jwbaker@acm.org>
-
-       - dbdimp.c: Add default at end of switch statement for pg_type attrib.
-       - t/13pgtype.t: test for above.
-    
-2002-04-09 Jeffrey W. Baker <jwbaker@acm.org>
-
-       - Pg.pm, dbdimp.c: Applied patch from 
-       Thomas A. Lowery <tlowery@stlowery.net> concerning metadata
-       in table_info and so forth.
-    
-2002-03-06 Jeffrey W. Baker <jwbaker@acm.org>
-       - Pg.pm (quote): Applied patch from David Wheeler <david@wheeler.net>
-       to simplfiy and speed up quoting.
-       - t/11quoting.t: Tests for above patch.
-       - t/12placeholders.t: Tests for placeholder parsing in quoted strings.
-    
-2002-03-06 Jeffrey W. Baker
-       - Version 1.10 uploaded to CPAN.
-1.01 Jun 27, 2001
-       - fixed core dump when trying to use a BYTEA value with
-         a byte outside 0..127  Alex Pilosov <alex@pilosoft.com>
-
-1.00 May 27, 2001
-       - Fetching all records now resets Active flag as it should.
-
-0.99 May 24, 2001
-       - fix the segmentation fault in pg_error.
-
-0.98 Apr 25, 2001
-       - bug-fix for core-dump after any failed function call.
-       - applied patch from Alex Pilosov <alex@pilosoft.com> 
-         which adds support for the datatype bytea
-
-0.97 Apr 20, 2001
-       - fix bug in connect method, which erroneously set the userid
-         and the password to the environment variables DBI_USER and
-         DBI_PASS.
-       - applied patch from Jan-Pieter Cornet <john@pc.xs4all.nl>,
-         which removed the special handling of a backslash when
-         used for octal presentation. Now a backslash always will
-         be escaped.
-
-0.96 Apr 09, 2001
-       - remove memory-leak in ping function, bug-fix
-         from Doug Perham <dperham@wgate.com>
-       - correct the recognition of primary keys in 
-         table_attributes(). Patch from Brian Powell 
-         <brian@nicklebys.com>.
-       - applied patch from David D. Kilzer <ddkilzer@lubricants-oil.com>
-         which fixes a segmentation fault in DBD::pg::blob_read() when 
-         reading LOBs that required perl to reallocate space for the 
-         variable holding the scalar value
-       - updated test.pl to create a test blob larger than 256 bytes 
-         (now 128 Kbytes)
-       - apply patch from Tom Lane, which fixes a seg-fault when
-         inserting large amounts of text.
-       - apply patch from Peter Haworth   pmh@edison.ioppublishing.com,
-         which removes the newlines from the error messages and which 
-         quotes date placeholders.
-
-0.95 Jul 10, 2000
-       - add Win32 port from Bob Kline <bkline@rksystems.com>.
-
-0.94 Jul 07, 2000
-       - applied patch from Rudy Lippan <almighty@randomc.com>
-         which fixes a memory-leak with failed connections.
-       - applied patch from Hein Roehrig <hein@acm.org>
-         which fixes a bug with escaping a backslash except for 
-         octal presentation
-        - applied patch from Francis J. Lacoste <francis.lacoste@iNsu.COM
-          which fixes a segmentation fault when all binded parameters are NULL
-        - adapt test.pl to avoid warnings with postgresql-7.0
-        - added support for 'COPY FROM STDIN' and 'COPY TO STDOUT'
-        - added patch from Mark Stosberg <mark@summersault.com>
-          to enhance the table_attributes subroutine
-
-0.93 Sep 29, 1999
-       - it is required now to set the environment variables POSTGRES_INCLUDE
-         and POSTGRES_LIB for compiling the module.
-       - add Win32 port from Bob Kline <bkline@rksystems.com>.
-       - support for all large-object functions via the func
-         interface. 
-       - fixed bug with placeholders and casts spotted by
-         mschout@gkg.net
-       - replaced the method attributes by the method table_attributes,
-         from Scott Williams <scott@james.com>.
-       - fix type definitions for type_info_all().
-         bug spotted by "carlos" <emarcet@intramed.net.ar>.
-       - now the Pg-specific quote() method also evaluates the 
-         data-type paramater. 
-
-0.92 Jun 16, 1999
-       - proposal from Philip Warner <pjw@rhyme.com.au>:
-         increase BUFSIZE from 1024 to 32768 in order to improve
-         I/O performance.
-       - bug-fix in Makefile.PL for $POSTGRES_HOME not defined
-         spotted by mdalphin@amgen.com (Mark Dalphin)
-       - bug-fix for data-type datetime in type_info_all
-         spotted by Alan Grover <awgrover@iconnect-inc.com>
-       - bug-fix for escaped 's spotted by Hankin <hankin@consultco.com>
-       - removed 'large objects' related tests from test.pl
-
-0.91 Feb 14, 1999
-       - removed restriction for commercial use in copyright
-       - corrected DATA_TYPE in type_info_all()
-
-0.90 Jan 15, 1998
-       - discard parameter authtype from connect string
-       - remove work-around for bug in the large object 
-         interface of postgresql 
-
-0.89 Nov 05, 1998
-       - bug-fix from Jan Iven <j.iven@rz.uni-sb.de>:
-         fix problem with quoting Null in bind variables.
-
-0.88 Oct 10, 1998
-       - fixed blob_read
-       - suppressed warning when testing DBI::errstr
-
-0.87 Sep 05, 1998
-       - Pg.xs adapted to Driver.xst from DBI-1.0
-       - major rewrite of module documentation 
-       - major rewrite of the test script
-       - use built-in DBI method for $dbh->do 
-       - add macro dHTR in order to avoid compile errors 
-         with threaded perl5.005
-       - renamed attribute AutoEscape to pg_auto_escape
-       - renamed attribute SIZE to pg_size
-       - new attribute pg_type
-       - added support for DBI->data_sources($driver)
-       - added support for $dbh->table_info
-       - blob_read documented and added to test.pl 
-       - added support for attr parameter in bind_param()
-
-0.86 Aug 21, 1998
-       - added /usr/lib/ to search path for libpq.
-       - added ChopBlanks, patch from 
-          Victor Krasinsky <victor@rdovira.lviv.ua>
-       - changed test.pl to test multiple database handles 
-
-0.85 July 19, 1998
-       - non-printable characters in parameters will not be 
-         converted to '.'. They are passed unchanged to the 
-         database. 
-
-0.84 July 18, 1998
-       - bug-fix from Max Cohan <mcohan@adnc.net>:
-         check for \xxx presentation before escaping backslash
-         in parameters. 
-       - introduce new database handle attribute AutoEscape, which 
-         controls escaping of quotes and backslashes in parameters. 
-         When set to on, all quotes except at the beginning and 
-         at the end of a line will be escaped and all backslashes 
-         except when used to indicate an octal presentation (\xxx) 
-         will be escaped. Default of AutoEscape is on. 
-
-0.83 July 10, 1998
-       - bug-fix from Max Cohan <mcohan@adnc.net>:
-         using traces together with undef in place-holders dumped 
-         core. 
-
-0.82 June 20, 1998
-       - bug-fix from Matthew Lenz <matthew@nocturnal.org>:
-         corrected include path in Makefile.PL .
-       - added 'use strict;' to test.pl
-
-0.81 June 13, 1998
-       - bug-fix from Rolf Grossmann <grossman@securitas.net>:
-         undefined parameters in an execute statement will be 
-         translated from 'undef' to 'NULL'. Also every parameter 
-         for bind_param() will be quoted by default (escape quote 
-         and backslash). Appropriate tests have been added to test.pl. 
-       - change ping method to use libpq-interface.
-
-0.80 June 07, 1998
-       - adapted to postgresql-6.4:
-         the backend protocol has changed, which needs an adapted
-         ping method. A ping-test has been added to the test-script.
-         Also some type identifiers have changed. 
-
-0.73 June 03, 1998
-       - changed include directives in Makefile.PL from 
-         archlib to installarchlib and from sitearch to
-         installsitearch (Tony.Curtis@vcpc.univie.ac.at).
-       - applied patch from Junio Hamano <junio@twinsun.com>
-         quote method also doubles backslash.
-
-0.72 April 20, 1998
-       - applied patch from Michael J Schout <mschout@gkg.net>
-         which fixed the bug with queries containing the cast
-          operator.
-       - applied patch from "Irving Reid" <irving@tor.securecomputing.com>
-         which fixed a memory leak.
-
-0.71 April 04, 1998
-       - applied patch from "Irving Reid" 
-         <irving@tor.securecomputing.com> which fixed the
-         the problem with the InactiveDestroy message.
-
-0.70 March 28, 1998
-        - linking again with the shared version of libpq 
-          due to problems on several operating systems.
-
-0.69 March  6, 1998
-       - expanded the search path for include files
-        - module is now linked with static libpq.a
-
-0.68  March 3, 1998
-        - return to UNIX domain sockets in test-scripts
-
-0.67  February 21, 1998
-       - remove part of Driver.xst due to compile
-         error on some systems.
-
-0.66  February 19, 1998
-       - remove defines in Pg.h so that
-         it compiles also with postgresql-6.2.1
-       - changed ping method: set RaiseError=0
-
-0.65  February 14, 1998
-       - adapted to changes in DBI-0.91, so that the
-         default setting for AutoCommit and PrintError is 
-         again conformant to the DBI specs.
-
-0.64  February 01, 1998
-        - changed syntax of data_source (ODBC-conformant): 
-          'dbi:Pg:dbname=dbname;host=host;port=port'
-          !!! PLEASE ADAPT YOUR SCRIPTS !!!
-        - implemented place-holders 
-        - implemented ping-method
-        - added support for $dbh->{RaiseError} and $dbh->{PrintError},
-          note: DBI-default for PrintError is on !
-        - allow commit and rollback only if AutoCommit = off
-        - added documentation for $dbh->tables;
-        - new method to get meta-information about a given table:
-          $dbh->DBD::Pg::db::attributes($table);
-        - host-parameter in test.pl is set explicitly to localhost
-
-0.63  October 05, 1997
-       - adapted to PostgreSQL-6.2:
-          o $sth->rows as well as $sth->execute
-            and $sth->do return the number of 
-            affected rows even for non-Select
-            statements.
-          o support for password authorization added, 
-            please check the man-page for pg_passwd. 
-        - the data_source parameter of the connect 
-          method accepts two additional parameters 
-          which are  treated as host and port:
-          DBI->connect("dbi:Pg:dbname:host:port", "uid", "pwd")
-        - support for AutoCommit, please read the 
-          module documentation for impacts on your 
-          scripts !
-        - more perl-ish handling of data type bool, 
-          please read the module documentation for 
-          impacts on your scripts !
-
-0.62  August 26, 1997
-       - added blobs/README
-
-0.61  August 23, 1997
-        - adapted to DBI-0.89/Driver.xst
-       - added support for blob_read
-
-0.52  August 15, 1997
-        - added support for literal $sth->{'TYPE'},
-          pg_type.pl / pg_type.pm.
-
-0.51  August 12, 1997
-        - changed attributes to be DBI conformant:
-          o OID_STATUS to pg_oid_status
-          o CMD_STATUS to pg_cmd_status
-
-0.5   August 05, 1997
-       - support for user authentication
-       - support for bind_columns
-       - added $dbh->tables
-
-0.4   Jun 24, 1997
-        - adapted to DBI-0.84:
-          o new syntax for DBI->connect !
-          o execute returns 0E0 -> n for     SELECT stmt
-                                  -1 for non SELECT stmt
-                                  -2 on error
-        - new attribute $sth->{'OID_STATUS'}
-        - new attribute $sth->{'CMD_STATUS'}
-
-0.3   Apr 24, 1997
-        - bug fix release, ( still alpha ! )
-
-0.2   Mar 13, 1997
-       - complete rewrite, ( still alpha ! )
-
-0.1   Feb 15, 1997
-       - creation, ( totally pre-alpha ! )
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/MANIFEST b/install/5.005/DBD-Pg-1.22-fixvercmp/MANIFEST
deleted file mode 100644 (file)
index 7d1b700..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-Changes
-MANIFEST
-Makefile.PL
-Pg.h
-Pg.pm
-Pg.xs
-README
-README.win32
-dbd-pg.pod
-dbdimp.c
-dbdimp.h
-eg/ApacheDBI.pl
-eg/lotest.pl
-eg/notify_test.patch
-t/00basic.t
-t/01connect.t
-t/01constants.t
-t/01setup.t
-t/02prepare.t
-t/03bind.t
-t/04execute.t
-t/05fetch.t
-t/06disconnect.t
-t/07reuse.t
-t/08txn.t
-t/09autocommit.t
-t/11quoting.t
-t/12placeholders.t
-t/13pgtype.t
-t/15funct.t
-t/99cleanup.t
-t/lib/App/Info.pm
-t/lib/App/Info/Handler.pm
-t/lib/App/Info/Handler/Prompt.pm
-t/lib/App/Info/RDBMS.pm
-t/lib/App/Info/RDBMS/PostgreSQL.pm
-t/lib/App/Info/Request.pm
-t/lib/App/Info/Util.pm
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/Makefile.PL b/install/5.005/DBD-Pg-1.22-fixvercmp/Makefile.PL
deleted file mode 100644 (file)
index 0633280..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-
-# $Id: Makefile.PL,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-use ExtUtils::MakeMaker;
-use Config;
-use strict;
-
-use DBI 1.00;
-use DBI::DBD;
-
-my $lib;
-BEGIN {
-    my %sep = (MacOS   => ':',
-               MSWin32 => '\\',
-               os2     => '\\',
-               VMS     => '\\',
-               NetWare => '\\',
-               dos     => '\\');
-    my $s = $sep{$^O} || '/';
-    $lib = join $s, 't', 'lib';
-}
-
-use lib $lib;
-print "Configuring Pg\n";
-print "Remember to actually read the README file !\n";
-
-my $POSTGRES_INCLUDE;
-my $POSTGRES_LIB;
-
-if ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and !$ENV{POSTGRES_HOME}) {
-    # Use App::Info to get the data we need.
-    require App::Info::RDBMS::PostgreSQL;
-    require App::Info::Handler::Prompt;
-    my $p = App::Info::Handler::Prompt->new;
-    my $pg = App::Info::RDBMS::PostgreSQL->new(on_unknown => $p);
-    $POSTGRES_INCLUDE = $pg->inc_dir;
-    $POSTGRES_LIB     = $pg->lib_dir;
-} elsif ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and $ENV{POSTGRES_HOME}) {
-    $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include";
-    $POSTGRES_LIB     = "$ENV{POSTGRES_HOME}/lib";
-} else {
-    $POSTGRES_INCLUDE = "$ENV{POSTGRES_INCLUDE}";
-    $POSTGRES_LIB     = "$ENV{POSTGRES_LIB}";
-}
-
-my $os = $^O;
-print "OS: $os\n";
-
-my $dbi_arch_dir;
-if ($os eq 'MSWin32') {
-    $dbi_arch_dir = "\$(INSTALLSITEARCH)/auto/DBI";
-} else {
-    $dbi_arch_dir = dbd_dbi_arch_dir();
-}
-
-my %opts = (
-    NAME         => 'DBD::Pg',
-    VERSION_FROM => 'Pg.pm',
-    INC          => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir",
-    OBJECT       => "Pg\$(OBJ_EXT) dbdimp\$(OBJ_EXT)",
-    LIBS         => ["-L$POSTGRES_LIB -lpq"],
-    AUTHOR       => 'http://gborg.postgresql.org/project/dbdpg/projdisplay.php',
-    ABSTRACT     => 'PostgreSQL database driver for the DBI module',
-    PREREQ_PM   => { 'Test::Simple' => 0.17 }, # Need Test::More
-);
-
-if ($os eq 'hpux') {
-    my $osvers = $Config{osvers};
-    if ($osvers < 10) {
-        print "Warning: Forced to build static not dynamic on $os $osvers.\a\n";
-        $opts{LINKTYPE} = 'static';
-    }
-}
-
-if ($Config{dlsrc} =~ /dl_none/) {
-    $opts{LINKTYPE} = 'static';
-}
-
-WriteMakefile(%opts);
-
-exit(0);
-
-# end of Makefile.PL
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/Pg.h b/install/5.005/DBD-Pg-1.22-fixvercmp/Pg.h
deleted file mode 100644 (file)
index b77a9f8..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-   $Id: Pg.h,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-   Copyright (c) 1997,1998,1999,2000 Edmund Mergl
-   Portions Copyright (c) 1994,1995,1996,1997 Tim Bunce
-
-   You may distribute under the terms of either the GNU General Public
-   License or the Artistic License, as specified in the Perl README file.
-
-*/
-
-
-#ifdef WIN32
-static int errno;
-#endif
-
-#include "libpq-fe.h"
-
-#ifdef NEVER
-#include<sys/stat.h>
-#include "libpq/libpq-fs.h"
-#endif
-#ifndef INV_READ
-#define INV_READ 0x00040000
-#endif
-#ifndef INV_WRITE
-#define INV_WRITE 0x00020000
-#endif
-
-#ifdef BUFSIZ
-#undef BUFSIZ
-#endif
-/* this should improve I/O performance for large objects */
-#define BUFSIZ 32768
-
-
-#define NEED_DBIXS_VERSION 93
-
-#include <DBIXS.h>             /* installed by the DBI module  */
-
-#include "dbdimp.h"            /* read in our implementation details */
-
-#include <dbd_xsh.h>           /* installed by the DBI module  */
-
-
-/* end of Pg.h */
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/Pg.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/Pg.pm
deleted file mode 100644 (file)
index 284e563..0000000
+++ /dev/null
@@ -1,1913 +0,0 @@
-
-#  $Id: Pg.pm,v 1.1 2004-04-29 09:21:28 ivan Exp $
-#
-#  Copyright (c) 1997,1998,1999,2000 Edmund Mergl
-#  Copyright (c) 2002 Jeffrey W. Baker
-#  Portions Copyright (c) 1994,1995,1996,1997 Tim Bunce
-#
-#  You may distribute under the terms of either the GNU General Public
-#  License or the Artistic License, as specified in the Perl README file.
-
-
-require 5.004;
-
-$DBD::Pg::VERSION = '1.22';
-
-{
-    package DBD::Pg;
-
-    use DBI ();
-    use DynaLoader ();
-    use Exporter ();
-    @ISA = qw(DynaLoader Exporter);
-
-    %EXPORT_TAGS = (
-       pg_types => [ qw(
-           PG_BOOL PG_BYTEA PG_CHAR PG_INT8 PG_INT2 PG_INT4 PG_TEXT PG_OID
-           PG_FLOAT4 PG_FLOAT8 PG_ABSTIME PG_RELTIME PG_TINTERVAL PG_BPCHAR
-           PG_VARCHAR PG_DATE PG_TIME PG_DATETIME PG_TIMESPAN PG_TIMESTAMP
-       )]);
-
-    Exporter::export_ok_tags('pg_types');
-
-    require_version DBI 1.00;
-
-    bootstrap DBD::Pg $VERSION;
-
-    $err = 0;          # holds error code   for DBI::err
-    $errstr = "";      # holds error string for DBI::errstr
-    $drh = undef;      # holds driver handle once initialized
-
-    sub driver{
-       return $drh if $drh;
-       my($class, $attr) = @_;
-
-       $class .= "::dr";
-
-       # not a 'my' since we use it above to prevent multiple drivers
-
-       $drh = DBI::_new_drh($class, {
-           'Name' => 'Pg',
-           'Version' => $VERSION,
-           'Err'    => \$DBD::Pg::err,
-           'Errstr' => \$DBD::Pg::errstr,
-           'Attribution' => 'PostgreSQL DBD by Edmund Mergl',
-       });
-
-       $drh;
-    }
-
-    ## Used by both the dr and db packages
-    sub pg_server_version {
-               my $dbh = shift;
-               return $dbh->{pg_server_version} if defined $dbh->{pg_server_version};
-        my ($version) = $dbh->selectrow_array("SELECT version();");
-        return 0 unless $version =~ /^PostgreSQL ([\d\.]+)/;
-        $dbh{pg_server_version} = $1;
-        return $dbh{pg_server_version};
-       }
-
-    sub pg_use_catalog {
-      my $dbh = shift;
-      my $version = DBD::Pg::pg_server_version($dbh);
-      $version =~ /^(\d+\.\d+)/;
-      return $1 < 7.3 ? "" : "pg_catalog.";
-    }
-
-    1;
-}
-
-
-{   package DBD::Pg::dr; # ====== DRIVER ======
-    use strict;
-
-    sub data_sources {
-        my $drh = shift;
-        my $dbh = DBD::Pg::dr::connect($drh, 'dbname=template1') or return undef;
-        $dbh->{AutoCommit} = 1;
-        my $CATALOG = DBD::Pg::pg_use_catalog($dbh);
-        my $sth = $dbh->prepare("SELECT datname FROM ${CATALOG}pg_database ORDER BY datname");
-        $sth->execute or return undef;
-        my (@sources, @datname);
-        while (@datname = $sth->fetchrow_array) {
-            push @sources, "dbi:Pg:dbname=$datname[0]";
-        }
-        $sth->finish;
-        $dbh->disconnect;
-        return @sources;
-    }
-
-
-    sub connect {
-        my($drh, $dbname, $user, $auth)= @_;
-
-        # create a 'blank' dbh
-
-        my $Name = $dbname;
-        $Name =~ s/^.*dbname\s*=\s*//;
-        $Name =~ s/\s*;.*$//;
-
-        $user = "" unless defined($user);
-        $auth = "" unless defined($auth);
-
-        $user = $ENV{DBI_USER} if $user eq "";
-        $auth = $ENV{DBI_PASS} if $auth eq "";
-
-        $user = "" unless defined($user);
-        $auth = "" unless defined($auth);
-
-        my($dbh) = DBI::_new_dbh($drh, {
-            'Name' => $Name,
-            'User' => $user, 'CURRENT_USER' => $user,
-        });
-
-        # Connect to the database..
-        DBD::Pg::db::_login($dbh, $dbname, $user, $auth) or return undef;
-
-        $dbh;
-    }
-
-}
-
-
-{   package DBD::Pg::db; # ====== DATABASE ======
-    use strict;
-    use Carp ();
-
-    sub prepare {
-        my($dbh, $statement, @attribs)= @_;
-
-        # create a 'blank' sth
-
-        my $sth = DBI::_new_sth($dbh, {
-            'Statement' => $statement,
-        });
-
-        DBD::Pg::st::_prepare($sth, $statement, @attribs) or return undef;
-
-        $sth;
-    }
-
-
-    sub ping {
-        my($dbh) = @_;
-
-       local $SIG{__WARN__} = sub { } if $dbh->{PrintError};
-        local $dbh->{RaiseError} = 0 if $dbh->{RaiseError};
-        my $ret = DBD::Pg::db::_ping($dbh);
-
-        return $ret;
-    }
-
-       # Column expected in statement handle returned.
-       # table_cat, table_schem, table_name, column_name, data_type, type_name,
-       # column_size, buffer_length, DECIMAL_DIGITS, NUM_PREC_RADIX, NULLABLE,
-       # REMARKS, COLUMN_DEF, SQL_DATA_TYPE, SQL_DATETIME_SUB, CHAR_OCTET_LENGTH,
-       # ORDINAL_POSITION, IS_NULLABLE
-       # The result set is ordered by TABLE_CAT, TABLE_SCHEM, 
-       # TABLE_NAME and ORDINAL_POSITION.
-
-       sub column_info {
-               my ($dbh) = shift;
-               my @attrs = @_;
-               # my ($dbh, $catalog, $schema, $table, $column) = @_;
-               my $CATALOG = DBD::Pg::pg_use_catalog($dbh);
-
-               my @wh = ();
-               my @flds = qw/catname n.nspname c.relname a.attname/;
-
-               for my $idx (0 .. $#attrs) {
-                       next if ($flds[$idx] eq 'catname'); # Skip catalog
-                       if(defined $attrs[$idx] and length $attrs[$idx]) {
-                               # Insure that the value is enclosed in single quotes.
-                               $attrs[$idx] =~ s/^'?(\w+)'?$/'$1'/;
-                               if ($attrs[$idx] =~ m/[,%]/) {
-                                       # contains a meta character.
-                                       push( @wh, q{( } . join ( " OR "
-                                               , map { m/\%/ 
-                                                       ? qq{$flds[$idx] ILIKE $_ }
-                                                       : qq{$flds[$idx]    = $_ }
-                                                       } (split /,/, $attrs[$idx]) )
-                                                       . q{ )}
-                                               );
-                               }
-                               else {
-                                       push( @wh, qq{$flds[$idx] = $attrs[$idx]} );
-                               }
-                       }
-               }
-
-               my $wh = ""; # ();
-               $wh = join( " AND ", '', @wh ) if (@wh);
-               my $version = DBD::Pg::pg_server_version($dbh);
-               $version =~ /^(\d+\.\d+)/;
-               $version = $1;
-               my $showschema = $version < 7.3 ? "NULL::text" : "n.nspname";
-               my $schemajoin = $version < 7.3 ? "" : "LEFT JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace)";
-               my $col_info_sql = qq{
-                       SELECT
-                                 NULL::text    AS "TABLE_CAT"
-                               , $showschema   AS "TABLE_SCHEM"
-                               , c.relname             AS "TABLE_NAME"
-                               , a.attname             AS "COLUMN_NAME"
-                               , t.typname             AS "DATA_TYPE"
-                               , NULL::text    AS "TYPE_NAME"
-                               , a.attlen              AS "COLUMN_SIZE"
-                               , NULL::text    AS "BUFFER_LENGTH"
-                               , NULL::text    AS "DECIMAL_DIGITS"
-                               , NULL::text    AS "NUM_PREC_RADIX"
-                               , a.attnotnull  AS "NULLABLE"
-                               , NULL::text    AS "REMARKS"
-                               , a.atthasdef   AS "COLUMN_DEF"
-                               , NULL::text    AS "SQL_DATA_TYPE"
-                               , NULL::text    AS "SQL_DATETIME_SUB"
-                               , NULL::text    AS "CHAR_OCTET_LENGTH"
-                               , a.attnum              AS "ORDINAL_POSITION"
-                               , a.attnotnull  AS "IS_NULLABLE"
-                               , a.atttypmod   as atttypmod
-                               , a.attnotnull  as attnotnull
-                               , a.atthasdef   as atthasdef
-                               , a.attnum              as attnum
-                       FROM 
-                                 ${CATALOG}pg_attribute        a
-                               , ${CATALOG}pg_type             t
-                               , ${CATALOG}pg_class            c
-                               $schemajoin
-                       WHERE
-                                       a.attrelid = c.oid
-                               AND a.attnum  >= 0
-                               AND t.oid      = a.atttypid
-                               AND c.relkind  in ('r','v')
-                               $wh
-                       ORDER BY 2, 3, 4
-               };
-
-               my $sth = $dbh->prepare( $col_info_sql ) or return undef;
-               $sth->execute();
-
-               return $sth;
-       }
-
-       sub primary_key_info {
-        my $dbh = shift;
-               my ($catalog, $schema, $table) = @_;
-               my @attrs = @_;
-        my $CATALOG = DBD::Pg::pg_use_catalog($dbh);
-
-               # TABLE_CAT:, TABLE_SCHEM:, TABLE_NAME:, COLUMN_NAME:, KEY_SEQ:
-               # , PK_NAME:
-
-               my @wh = (); my @dat = ();  # Used to hold data for the attributes.
-
-               my $version = DBD::Pg::pg_server_version($dbh);
-               $version =~ /^(\d+\.\d+)/;
-               $version = $1;
-
-               my @flds = qw/catname u.usename bc.relname/;
-               $flds[1] = 'n.nspname' unless ($version < 7.3);
-
-               for my $idx (0 .. $#attrs) {
-                       next if ($flds[$idx] eq 'catname'); # Skip catalog
-                       if(defined $attrs[$idx] and length $attrs[$idx]) {
-                               if ($attrs[$idx] =~ m/[,%_?]/) {
-                                       # contains a meta character.
-                                       push( @wh, q{( } . join ( " OR "
-                                               , map { push(@dat, $_);
-                                                       m/[%_?]/ 
-                                                       ? qq{$flds[$idx] iLIKE ? }
-                                                       : qq{$flds[$idx]    = ?  }
-                                                       } (split /,/, $attrs[$idx]) )
-                                                       . q{ )}
-                                               );
-                               }
-                               else {
-                                       push( @dat, $attrs[$idx] );
-                                       push( @wh, qq{$flds[$idx] = ? } );
-                               }
-                       }
-               }
-
-               my $wh = '';
-               $wh = join( " AND ", '', @wh ) if (@wh);
-
-               # Base primary key selection query borrowed from phpPgAdmin.
-               my $showschema = $version < 7.3 ? "NULL::text" : "n.nspname";
-               my $schemajoin = $version < 7.3 ? "" : "LEFT JOIN pg_catalog.pg_namespace n ON (n.oid = bc.relnamespace)";
-               my $pri_key_sql = qq{
-                       SELECT
-                               NULL::text              AS "TABLE_CAT"
-                               , $showschema   AS "TABLE_SCHEM"
-                               , bc.relname    AS "TABLE_NAME"
-                               , a.attname             AS "COLUMN_NAME"
-                               , a.attnum              AS "KEY_SEQ"
-                               , ic.relname    AS "PK_NAME"
-                       FROM
-                               ${CATALOG}pg_index i
-                               , ${CATALOG}pg_attribute a
-                               , ${CATALOG}pg_class ic
-                               , ${CATALOG}pg_class bc
-                               $schemajoin
-                       WHERE
-                               i.indrelid = bc.oid
-                       AND i.indexrelid = ic.oid
-                       AND
-                       (
-                               i.indkey[0] = a.attnum
-                               OR
-                               i.indkey[1] = a.attnum
-                               OR
-                               i.indkey[2] = a.attnum
-                               OR
-                               i.indkey[3] = a.attnum
-                               OR
-                               i.indkey[4] = a.attnum
-                               OR
-                               i.indkey[5] = a.attnum
-                               OR
-                               i.indkey[6] = a.attnum
-                               OR
-                               i.indkey[7] = a.attnum
-                               OR
-                               i.indkey[8] = a.attnum
-                               OR
-                               i.indkey[9] = a.attnum
-                               OR
-                               i.indkey[10] = a.attnum
-                               OR
-                               i.indkey[11] = a.attnum
-                               OR
-                               i.indkey[12] = a.attnum
-                       )
-                       AND a.attrelid = bc.oid
-                       AND i.indproc = '0'::oid
-                       AND i.indisprimary = 't' 
-                       $wh
-                       ORDER BY 2, 3, 5
-               };
-
-        my $sth = $dbh->prepare( $pri_key_sql ) or return undef;
-        $sth->execute(@dat);
-
-        return $sth;
-       }
-
-    sub foreign_key_info {
-       # todo: verify schema work as expected
-       # add code to handle multiple-column keys correctly
-       # return something nicer for pre-7.3?
-       # try to clean up SQL, perl code
-       # create a test script?
-
-       my $dbh = shift;
-       my ($pk_catalog, $pk_schema, $pk_table,
-               $fk_catalog, $fk_schema, $fk_table) = @_;
-
-       # this query doesn't work for Postgres before 7.3
-       my $version = $dbh->pg_server_version;
-       $version =~ /^(\d+)\.(\d)/;
-       return undef if ($1.$2 < 73);
-
-       # Used to hold data for the attributes.
-       my @dat = ();
-
-       # SQL to find primary/unique keys of a table
-       my $pkey_sql = qq{
-       SELECT
-       NULL::text AS PKTABLE_CAT,
-       pknam.nspname AS PKTABLE_SCHEM,
-       pkc.relname AS PKTABLE_NAME,
-       pka.attname AS PKCOLUMN_NAME,
-       NULL::text AS FKTABLE_CAT,
-       NULL::text AS FKTABLE_SCHEM,
-       NULL::text AS FKTABLE_NAME,
-       NULL::text AS FKCOLUMN_NAME,
-       pkcon.conkey[1] AS KEY_SEQ,
-       CASE
-               WHEN pkcon.confupdtype = 'c' THEN 0
-               WHEN pkcon.confupdtype = 'r' THEN 1
-               WHEN pkcon.confupdtype = 'n' THEN 2
-               WHEN pkcon.confupdtype = 'a' THEN 3
-               WHEN pkcon.confupdtype = 'd' THEN 4
-               END AS UPDATE_RULE,
-       CASE
-               WHEN pkcon.confdeltype = 'c' THEN 0
-               WHEN pkcon.confdeltype = 'r' THEN 1
-               WHEN pkcon.confdeltype = 'n' THEN 2
-               WHEN pkcon.confdeltype = 'a' THEN 3
-               WHEN pkcon.confdeltype = 'd' THEN 4
-               END AS DELETE_RULE,
-       NULL::text AS FK_NAME,
-       pkcon.conname AS PK_NAME,
-       CASE
-               WHEN pkcon.condeferrable = 'f' THEN 7
-               WHEN pkcon.condeferred = 't' THEN 6
-               WHEN pkcon.condeferred = 'f' THEN 5
-               END AS DEFERRABILITY,
-       CASE
-               WHEN pkcon.contype = 'p' THEN 'PRIMARY'
-               WHEN pkcon.contype = 'u' THEN 'UNIQUE'
-               END AS UNIQUE_OR_PRIMARY
-       FROM
-               pg_constraint AS pkcon
-       JOIN
-               pg_class pkc ON pkc.oid=pkcon.conrelid
-       JOIN
-               pg_namespace pknam ON pkcon.connamespace=pknam.oid
-       JOIN
-               pg_attribute pka ON pka.attnum=pkcon.conkey[1] AND pka.attrelid=pkc.oid
-       };
-
-       # SQL to find foreign keys of a table
-       my $fkey_sql = qq{
-       SELECT
-       NULL::text AS PKTABLE_CAT,
-       pknam.nspname AS PKTABLE_SCHEM,
-       pkc.relname AS PKTABLE_NAME,
-       pka.attname AS PKCOLUMN_NAME,
-       NULL::text AS FKTABLE_CAT,
-       fknam.nspname AS FKTABLE_SCHEM,
-       fkc.relname AS FKTABLE_NAME,
-       fka.attname AS FKCOLUMN_NAME,
-       fkcon.conkey[1] AS KEY_SEQ,
-       CASE
-               WHEN fkcon.confupdtype = 'c' THEN 0
-               WHEN fkcon.confupdtype = 'r' THEN 1
-               WHEN fkcon.confupdtype = 'n' THEN 2
-               WHEN fkcon.confupdtype = 'a' THEN 3
-               WHEN fkcon.confupdtype = 'd' THEN 4
-               END AS UPDATE_RULE,
-       CASE
-               WHEN fkcon.confdeltype = 'c' THEN 0
-               WHEN fkcon.confdeltype = 'r' THEN 1
-               WHEN fkcon.confdeltype = 'n' THEN 2
-               WHEN fkcon.confdeltype = 'a' THEN 3
-               WHEN fkcon.confdeltype = 'd' THEN 4
-               END AS DELETE_RULE,
-       fkcon.conname AS FK_NAME,
-       pkcon.conname AS PK_NAME,
-       CASE
-               WHEN fkcon.condeferrable = 'f' THEN 7
-               WHEN fkcon.condeferred = 't' THEN 6
-               WHEN fkcon.condeferred = 'f' THEN 5
-               END AS DEFERRABILITY,
-       CASE
-               WHEN pkcon.contype = 'p' THEN 'PRIMARY'
-               WHEN pkcon.contype = 'u' THEN 'UNIQUE'
-               END AS UNIQUE_OR_PRIMARY
-       FROM
-               pg_constraint AS fkcon
-       JOIN
-               pg_constraint AS pkcon ON fkcon.confrelid=pkcon.conrelid
-                       AND fkcon.confkey=pkcon.conkey
-       JOIN
-               pg_class fkc ON fkc.oid=fkcon.conrelid
-       JOIN
-               pg_class pkc ON pkc.oid=fkcon.confrelid
-       JOIN
-               pg_namespace pknam ON pkcon.connamespace=pknam.oid
-       JOIN
-               pg_namespace fknam ON fkcon.connamespace=fknam.oid
-       JOIN
-               pg_attribute fka ON fka.attnum=fkcon.conkey[1] AND fka.attrelid=fkc.oid
-       JOIN
-               pg_attribute pka ON pka.attnum=pkcon.conkey[1] AND pka.attrelid=pkc.oid
-       };
-
-       # if schema are provided, use this SQL
-       my $pk_schema_sql = " AND pknam.nspname = ? ";
-       my $fk_schema_sql = " AND fknam.nspname = ? ";
-
-       my $key_sql;
-
-       # if $fk_table: generate SQL stub, which will be same
-       # whether or not $pk_table supplied
-       if ($fk_table)
-       {
-               $key_sql = $fkey_sql . qq{
-               WHERE
-                       fkc.relname = ?
-               };
-               push @dat, $fk_table;
-
-               if ($fk_schema)
-               {
-                       $key_sql .= $fk_schema_sql;
-                       push @dat,$fk_schema;
-               }
-       }
-
-       # if $fk_table and $pk_table: (defined by DBI, not SQL/CLI)
-       # return foreign key of $fk_table that refers to $pk_table
-       # (if any)
-       if ($pk_table and $fk_table)
-       {
-               $key_sql .= qq{
-               AND
-                       pkc.relname = ?
-               };
-               push @dat, $pk_table;
-
-               if ($pk_schema)
-               {
-                       $key_sql .= $pk_schema_sql;
-                       push @dat,$pk_schema;
-               }
-       }
-
-       # if $fk_table but no $pk_table:
-       # return all foreign keys of $fk_table, and all
-       # primary keys of tables to which $fk_table refers
-       if (!$pk_table and $fk_table)
-       {
-               # find primary/unique keys referenced by $fk_table
-               # (this one is a little tricky)
-               $key_sql .= ' UNION ' . $pkey_sql . qq{
-               WHERE
-                       pkcon.conname IN
-               (
-               SELECT
-                       pkcon.conname
-               FROM
-                       pg_constraint AS fkcon
-               JOIN
-                       pg_constraint AS pkcon ON fkcon.confrelid=pkcon.conrelid AND
-                                       fkcon.confkey=pkcon.conkey
-               JOIN
-                       pg_class fkc ON fkc.oid=fkcon.conrelid
-               WHERE
-                       fkc.relname = ?
-               )       
-               };
-               push @dat, $fk_table;
-
-               if ($fk_schema)
-               {
-                       $key_sql .= $pk_schema_sql;
-                       push @dat,$fk_schema;
-               }
-       }
-
-       # if $pk_table but no $fk_table:
-       # return primary key of $pk_table and all foreign keys
-       # that reference $pk_table
-       # question: what about unique keys?
-       # (DBI and SQL/CLI both state to omit unique keys)
-
-       if ($pk_table and !$fk_table)
-       {
-               # find primary key (only!) of $pk_table
-               $key_sql = $pkey_sql . qq{
-               WHERE
-                       pkc.relname = ?
-               AND
-                       pkcon.contype = 'p'
-               };
-               @dat = ($pk_table);
-
-               if ($pk_schema)
-               {
-                       $key_sql .= $pk_schema_sql;
-                       push @dat,$pk_schema;
-               }
-
-               # find all foreign keys that reference $pk_table
-               $key_sql .= 'UNION ' . $fkey_sql . qq{
-               WHERE
-                       pkc.relname = ?
-               AND
-                       pkcon.contype = 'p'
-               };
-               push @dat, $pk_table;
-
-               if ($pk_schema)
-               {
-                       $key_sql .= $fk_schema_sql;
-                       push @dat,$pk_schema;
-               }
-       }
-
-       return undef unless $key_sql;
-       my $sth = $dbh->prepare( $key_sql ) or
-               return undef;
-       $sth->execute(@dat);
-
-       return $sth;
-    }
-
-
-    sub table_info {         # DBI spec: TABLE_CAT, TABLE_SCHEM, TABLE_NAME, TABLE_TYPE, REMARKS
-        my $dbh = shift;
-               my ($catalog, $schema, $table, $type) = @_;
-               my @attrs = @_;
-
-               my $tbl_sql = ();
-
-        my $version = DBD::Pg::pg_server_version($dbh);
-       $version =~ /^(\d+\.\d+)/;
-       $version = $1;
-        my $CATALOG = DBD::Pg::pg_use_catalog($dbh);
-
-               if ( # Rules 19a
-                           (defined $catalog and $catalog eq '%')
-                       and (defined $schema  and $schema  eq  '')
-                       and (defined $table   and $table   eq  '')
-                       ) {
-                               $tbl_sql = q{
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , NULL::text    AS "TABLE_TYPE"
-                                        , NULL::text    AS "REMARKS"
-                                       };
-               }
-               elsif (# Rules 19b
-                           (defined $catalog and $catalog eq  '')
-                       and (defined $schema  and $schema  eq '%')
-                       and (defined $table   and $table   eq  '')
-                       ) {
-                               $tbl_sql = ($version < 7.3) ? q{
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , NULL::text    AS "TABLE_TYPE"
-                                        , NULL::text    AS "REMARKS"
-                    } : q{
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , n.nspname     AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , NULL::text    AS "TABLE_TYPE"
-                                        , NULL::text    AS "REMARKS"
-                                       FROM pg_catalog.pg_namespace n
-                                       ORDER BY 1
-                                       };
-               }
-               elsif (# Rules 19c
-                           (defined $catalog and $catalog eq  '')
-                       and (defined $schema  and $schema  eq  '')
-                       and (defined $table   and $table   eq  '')
-                       and (defined $type    and $type    eq  '%')
-                       ) {
-                               # From the postgresql 7.2.1 manual 3.5 pg_class
-                               #  'r' = ordinary table
-                               #, 'i' = index
-                               #, 'S' = sequence
-                               #, 'v' = view
-                               #, 's' = special
-                               #, 't' = secondary TOAST table 
-                               $tbl_sql = q{
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , 'table'       AS "TABLE_TYPE"
-                                        , 'ordinary table - r'    AS "REMARKS"
-                                       union
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , 'index'       AS "TABLE_TYPE"
-                                        , 'index - i'    AS "REMARKS"
-                                       union
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , 'sequence'     AS "TABLE_TYPE"
-                                        , 'sequence - S'    AS "REMARKS"
-                                       union
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , 'view'       AS "TABLE_TYPE"
-                                        , 'view - v'    AS "REMARKS"
-                                       union
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , 'special'       AS "TABLE_TYPE"
-                                        , 'special - s'    AS "REMARKS"
-                                       union
-                                       SELECT 
-                                          NULL::text    AS "TABLE_CAT"
-                                        , NULL::text    AS "TABLE_SCHEM"
-                                        , NULL::text    AS "TABLE_NAME"
-                                        , 'secondary'   AS "TABLE_TYPE"
-                                        , 'secondary TOAST table - t'    AS "REMARKS"
-                               };
-               }
-               else {
-                               # Default SQL
-                               my $showschema = $version < 7.3 ? "NULL::text" : "n.nspname";
-                               my $schemajoin = $version < 7.3 ? "" : "LEFT JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace)";
-                               my $schemacase = $version < 7.3 ? "CASE WHEN c.relname ~ '^pg_' THEN 'SYSTEM TABLE' ELSE 'TABLE' END" : 
-                                       "CASE WHEN n.nspname ~ '^pg_' THEN 'SYSTEM TABLE' ELSE 'TABLE' END";
-                               $tbl_sql = qq{
-                               SELECT NULL::text    AS "TABLE_CAT"
-                                        , $showschema   AS "TABLE_SCHEM"
-                                        , c.relname     AS "TABLE_NAME"
-                                        , CASE
-                                                WHEN c.relkind = 'v' THEN 'VIEW'
-                                                ELSE $schemacase
-                                               END                      AS "TABLE_TYPE"
-                                        , d.description AS "REMARKS"
-                               FROM ${CATALOG}pg_user          AS u
-                                  , ${CATALOG}pg_class         AS c
-                                        LEFT JOIN 
-                                        ${CATALOG}pg_description       AS d 
-                                               ON (c.relfilenode = d.objoid AND d.objsubid = 0)
-                               $schemajoin
-                               WHERE 
-                                         ((c.relkind     =  'r'
-                                 AND c.relhasrules =  FALSE) OR
-                                         (c.relkind     =  'v'
-                                 AND c.relhasrules =  TRUE))
-                                 AND c.relname     !~ '^xin[vx][0-9]+'
-                                 AND c.relowner    =  u.usesysid
-                               ORDER BY 1, 2, 3
-                               };
-
-                       # Did we receive any arguments?
-                       if (@attrs) {
-                               my @wh = ();
-                               my @flds = qw/catname n.nspname c.relname c.relkind/;
-
-                               for my $idx (0 .. $#attrs) {
-                                       next if ($flds[$idx] eq 'catname'); # Skip catalog
-                                       if(defined $attrs[$idx] and length $attrs[$idx]) {
-                                               # Change the "name" of the types to the real value.
-                                               if ($flds[$idx]  =~ m/relkind/) {
-                                                       $attrs[$idx] =~ s/^\'?table\'?/'r'/i;
-                                                       $attrs[$idx] =~ s/^\'?index\'?/'i'/i;
-                                                       $attrs[$idx] =~ s/^\'?sequence\'?/'S'/i;
-                                                       $attrs[$idx] =~ s/^\'?view\'?/'v'/i;
-                                                       $attrs[$idx] =~ s/^\'?special\'?/'s'/i;
-                                                       $attrs[$idx] =~ s/^\'?secondary\'?/'t'/i;
-                                               }
-                                               # Insure that the value is enclosed in single quotes.
-                                               $attrs[$idx] =~ s/^'?(\w+)'?$/'$1'/;
-                                               if ($attrs[$idx] =~ m/[,%]/) {
-                                                       # contains a meta character.
-                                                       push( @wh, q{( } . join ( " OR "
-                                                               , map { m/\%/ 
-                                                                       ? qq{$flds[$idx] LIKE $_ }
-                                                                       : qq{$flds[$idx]    = $_ }
-                                                                       } (split /,/, $attrs[$idx]) )
-                                                                       . q{ )}
-                                                               );
-                                               }
-                                               else {
-                                                       push( @wh, qq{$flds[$idx] = $attrs[$idx]} );
-                                               }
-                                       }
-                               }
-
-                               my $wh = ();
-                               if (@wh) {
-                                       $wh = join( " AND ",'', @wh );
-                                       $tbl_sql = qq{
-                                       SELECT NULL::text    AS "TABLE_CAT"
-                                                , $showschema   AS "TABLE_SCHEM"
-                                                , c.relname     AS "TABLE_NAME"
-                                                , CASE
-                                                        WHEN c.relkind = 'r' THEN 
-                                                               CASE WHEN n.nspname ~ '^pg_' THEN 'SYSTEM TABLE' ELSE 'TABLE' END
-                                                        WHEN c.relkind = 'v' THEN 'VIEW'
-                                                        WHEN c.relkind = 'i' THEN 'INDEX'
-                                                        WHEN c.relkind = 'S' THEN 'SEQUENCE'
-                                                        WHEN c.relkind = 's' THEN 'SPECIAL'
-                                                        WHEN c.relkind = 't' THEN 'SECONDARY'
-                                                        ELSE 'UNKNOWN'
-                                                       END                      AS "TABLE_TYPE"
-                                                , d.description AS "REMARKS"
-                                       FROM ${CATALOG}pg_class         AS c
-                                               LEFT JOIN 
-                                                ${CATALOG}pg_description       AS d 
-                                                       ON (c.relfilenode = d.objoid AND d.objsubid = 0)
-                                               $schemajoin
-                                       WHERE 
-                                                 c.relname     !~ '^xin[vx][0-9]+'
-                                         $wh
-                                       ORDER BY 2, 3
-                                       };
-                               }
-                       }
-               }
-
-        my $sth = $dbh->prepare( $tbl_sql ) or return undef;
-        $sth->execute();
-
-        return $sth;
-    }
-
-
-    sub tables {
-        my($dbh) = @_;
-        my $version = DBD::Pg::pg_server_version($dbh);
-       $version =~ /^(\d+\.\d+)/;
-       $version = $1;
-       my $SQL = ($version < 7.3) ? 
-            "SELECT relname  AS \"TABLE_NAME\"
-            FROM   pg_class 
-            WHERE  relkind = 'r'
-            AND    relname !~ '^pg_'
-            AND    relname !~ '^xin[vx][0-9]+'
-            ORDER BY 1" : 
-            "SELECT n.nspname AS \"SCHEMA_NAME\", c.relname  AS \"TABLE_NAME\"
-            FROM   pg_catalog.pg_class c
-            LEFT JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace)
-            WHERE  c.relkind = 'r'
-            AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
-            AND pg_catalog.pg_table_is_visible(c.oid)
-            ORDER BY 1,2";
-        my $sth = $dbh->prepare($SQL) or return undef;
-        $sth->execute or return undef;
-        my (@tables, @relname);
-        while (@relname = $sth->fetchrow_array) {
-            push @tables, $version < 7.3 ? $relname[0] : "$relname[0].$relname[1]";
-        }
-        $sth->finish;
-
-        return @tables;
-    }
-
-
-    sub table_attributes {
-        my ($dbh, $table) = @_;
-        my $CATALOG = DBD::Pg::pg_use_catalog($dbh);
-        my $result = [];    
-        my $attrs  = $dbh->selectall_arrayref(
-             "select a.attname, t.typname, a.attlen, a.atttypmod, a.attnotnull, a.atthasdef, a.attnum
-              from ${CATALOG}pg_attribute a,
-                   ${CATALOG}pg_class     c,
-                   ${CATALOG}pg_type      t
-              where c.relname  = ?
-                and a.attrelid = c.oid
-                and a.attnum  >= 0
-                and t.oid      = a.atttypid
-                order by 1 
-             ", undef, $table);
-    
-        return $result unless scalar(@$attrs);
-
-       # Select the array value for tables primary key.
-       my $pk_key_sql = qq{SELECT pg_index.indkey
-                            FROM   ${CATALOG}pg_class, ${CATALOG}pg_index
-                            WHERE
-                                   pg_class.oid          = pg_index.indrelid
-                            AND    pg_class.relname      = '$table'
-                            AND    pg_index.indisprimary = 't'
-                       };
-       # Expand this (returned as a string) a real array.
-       my @pk = ();
-    my $pkeys = $dbh->selectrow_array( $pk_key_sql );
-    if (defined $pkeys) {
-       foreach (split( /\s+/, $pkeys))
-           {
-                   push @pk, $_;
-           }
-    }
-       my $pk_bt = 
-               (@pk)   ? "AND    pg_attribute.attnum in (" . join ( ", ", @pk ) . ")"
-                       : "";
-               
-        # Get the primary key
-        my $pri_key = $dbh->selectcol_arrayref("SELECT pg_attribute.attname
-                                               FROM   ${CATALOG}pg_class, ${CATALOG}pg_attribute, ${CATALOG}pg_index
-                                               WHERE  pg_class.oid          = pg_attribute.attrelid 
-                                               AND    pg_class.oid          = pg_index.indrelid 
-                                              $pk_bt
-                                               AND    pg_index.indisprimary = 't'
-                                               AND    pg_class.relname      = ?
-                                              ORDER BY pg_attribute.attnum
-                                              ", undef, $table );
-        $pri_key = [] unless $pri_key;
-
-        foreach my $attr (reverse @$attrs) {
-            my ($col_name, $col_type, $size, $mod, $notnull, $hasdef, $attnum) = @$attr;
-            my $col_size = do { 
-                if ($size > 0) {
-                    $size;
-                } elsif ($mod > 0xffff) {
-                    my $prec = ($mod & 0xffff) - 4;
-                    $mod >>= 16;
-                    my $dig = $mod;
-                    $dig;
-                } elsif ($mod >= 4) {
-                    $mod - 4;
-                } else {
-                    $mod;
-                }
-            };
-
-            # Get the default value, if any
-            my ($default) = $dbh->selectrow_array("SELECT adsrc FROM ${CATALOG}pg_attrdef WHERE  adnum = $attnum") if -1 == $attnum;
-            $default = '' unless $default;
-
-            # Test for any constraints
-            # Note: as of PostgreSQL 7.3 pg_relcheck has been replaced
-            # by pg_constraint. To maintain compatibility, check 
-            # version number and execute appropriate query.
-       
-            my $version = pg_server_version( $dbh );
-            
-            my $con_query = $version < 7.3
-             ? "SELECT rcsrc FROM pg_relcheck WHERE rcname = '${table}_$col_name'"
-             : "SELECT consrc FROM pg_catalog.pg_constraint WHERE contype = 'c' AND conname = '${table}_$col_name'";
-            my ($constraint) = $dbh->selectrow_array($con_query);
-            $constraint = '' unless $constraint;
-
-            # Check to see if this is the primary key
-            my $is_primary_key = scalar(grep { /^$col_name$/i } @$pri_key) ? 1 : 0;
-
-            push @$result,
-                { NAME        => $col_name,
-                  TYPE        => $col_type,
-                  SIZE        => $col_size,
-                  NOTNULL     => $notnull,
-                  DEFAULT     => $default,
-                  CONSTRAINT  => $constraint,
-                  PRIMARY_KEY => $is_primary_key,
-                };
-        }
-
-        return $result;
-    }
-
-
-    sub type_info_all {
-        my ($dbh) = @_;
-
-       #my $names = {
-    #      TYPE_NAME           => 0,
-    #      DATA_TYPE           => 1,
-    #      PRECISION           => 2,
-    #      LITERAL_PREFIX      => 3,
-    #      LITERAL_SUFFIX      => 4,
-    #      CREATE_PARAMS               => 5,
-    #      NULLABLE            => 6,
-    #      CASE_SENSITIVE      => 7,
-    #      SEARCHABLE          => 8,
-    #      UNSIGNED_ATTRIBUTE  => 9,
-    #      MONEY                       =>10,
-    #      AUTO_INCREMENT      =>11,
-    #      LOCAL_TYPE_NAME     =>12,
-    #      MINIMUM_SCALE               =>13,
-    #      MAXIMUM_SCALE               =>14,
-    #    };
-
-       my $names = {
-        TYPE_NAME         => 0,
-        DATA_TYPE         => 1,
-        COLUMN_SIZE       => 2,     # was PRECISION originally
-        LITERAL_PREFIX    => 3,
-        LITERAL_SUFFIX    => 4,
-        CREATE_PARAMS     => 5,
-        NULLABLE          => 6,
-        CASE_SENSITIVE    => 7,
-        SEARCHABLE        => 8,
-        UNSIGNED_ATTRIBUTE=> 9,
-        FIXED_PREC_SCALE  => 10,    # was MONEY originally
-        AUTO_UNIQUE_VALUE => 11,    # was AUTO_INCREMENT originally
-        LOCAL_TYPE_NAME   => 12,
-        MINIMUM_SCALE     => 13,
-        MAXIMUM_SCALE     => 14,
-        NUM_PREC_RADIX    => 15,
-    };
-
-
-       #  typname       |typlen|typprtlen|    SQL92
-       #  --------------+------+---------+    -------
-       #  bool          |     1|        1|    BOOLEAN
-       #  text          |    -1|       -1|    like VARCHAR, but automatic storage allocation
-       #  bpchar        |    -1|       -1|    CHARACTER(n)    bp=blank padded
-       #  varchar       |    -1|       -1|    VARCHAR(n)
-       #  int2          |     2|        5|    SMALLINT
-       #  int4          |     4|       10|    INTEGER
-       #  int8          |     8|       20|    /
-       #  money         |     4|       24|    /
-       #  float4        |     4|       12|    FLOAT(p)   for p<7=float4, for p<16=float8
-       #  float8        |     8|       24|    REAL
-       #  abstime       |     4|       20|    /
-       #  reltime       |     4|       20|    /
-       #  tinterval     |    12|       47|    /
-       #  date          |     4|       10|    /
-       #  time          |     8|       16|    /
-       #  datetime      |     8|       47|    /
-       #  timespan      |    12|       47|    INTERVAL
-       #  timestamp     |     4|       19|    TIMESTAMP
-       #  --------------+------+---------+
-
-        # DBI type definitions / PostgreSQL definitions     # type needs to be DBI-specific (not pg_type)
-        #
-        # SQL_ALL_TYPES  0     
-        # SQL_CHAR       1     1042 bpchar
-        # SQL_NUMERIC    2      700 float4
-        # SQL_DECIMAL    3      700 float4
-        # SQL_INTEGER    4       23 int4
-        # SQL_SMALLINT   5       21 int2
-        # SQL_FLOAT      6      700 float4
-        # SQL_REAL       7      701 float8
-        # SQL_DOUBLE     8       20 int8
-        # SQL_DATE       9     1082 date
-        # SQL_TIME      10     1083 time
-        # SQL_TIMESTAMP 11     1296 timestamp
-        # SQL_VARCHAR   12     1043 varchar
-
-       my $ti = [
-         $names,
-          # name          type  prec  prefix suffix  create params null case se unsign mon  incr       local   min    max
-          #                                         
-          [ 'bytea',        -2, 4096,  '\'',  '\'',           undef, 1, '1', 3, undef, '0', '0',     'BYTEA', undef, undef, undef ],
-          [ 'bool',          0,    1,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0',   'BOOLEAN', undef, undef, undef ],
-          [ 'int8',          8,   20, undef, undef,           undef, 1, '0', 2,   '0', '0', '0',   'LONGINT', undef, undef, undef ],
-          [ 'int2',          5,    5, undef, undef,           undef, 1, '0', 2,   '0', '0', '0',  'SMALLINT', undef, undef, undef ],
-          [ 'int4',          4,   10, undef, undef,           undef, 1, '0', 2,   '0', '0', '0',   'INTEGER', undef, undef, undef ],
-          [ 'text',         12, 4096,  '\'',  '\'',           undef, 1, '1', 3, undef, '0', '0',      'TEXT', undef, undef, undef ],
-          [ 'float4',        6,   12, undef, undef,     'precision', 1, '0', 2,   '0', '0', '0',     'FLOAT', undef, undef, undef ],
-          [ 'float8',        7,   24, undef, undef,     'precision', 1, '0', 2,   '0', '0', '0',      'REAL', undef, undef, undef ],
-          [ 'abstime',      10,   20,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0',   'ABSTIME', undef, undef, undef ],
-          [ 'reltime',      10,   20,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0',   'RELTIME', undef, undef, undef ],
-          [ 'tinterval',    11,   47,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0', 'TINTERVAL', undef, undef, undef ],
-          [ 'money',         0,   24, undef, undef,           undef, 1, '0', 2, undef, '1', '0',     'MONEY', undef, undef, undef ],
-          [ 'bpchar',        1, 4096,  '\'',  '\'',    'max length', 1, '1', 3, undef, '0', '0', 'CHARACTER', undef, undef, undef ],
-          [ 'bpchar',       12, 4096,  '\'',  '\'',    'max length', 1, '1', 3, undef, '0', '0', 'CHARACTER', undef, undef, undef ],
-          [ 'varchar',      12, 4096,  '\'',  '\'',    'max length', 1, '1', 3, undef, '0', '0',   'VARCHAR', undef, undef, undef ],
-          [ 'date',          9,   10,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0',      'DATE', undef, undef, undef ],
-          [ 'time',         10,   16,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0',      'TIME', undef, undef, undef ],
-          [ 'datetime',     11,   47,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0',  'DATETIME', undef, undef, undef ],
-          [ 'timespan',     11,   47,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0',  'INTERVAL', undef, undef, undef ],
-          [ 'timestamp',    10,   19,  '\'',  '\'',           undef, 1, '0', 2, undef, '0', '0', 'TIMESTAMP', undef, undef, undef ]
-          #
-          # intentionally omitted: char, all geometric types, all array types
-        ];
-       return $ti;
-    }
-
-
-    # Characters that need to be escaped by quote().
-    my %esc = ( "'"  => '\\047', # '\\' . sprintf("%03o", ord("'")), # ISO SQL 2
-                '\\' => '\\134', # '\\' . sprintf("%03o", ord("\\")),
-              );
-
-    # Set up lookup for SQL types we don't want to escape.
-    my %no_escape = map { $_ => 1 }
-      DBI::SQL_INTEGER, DBI::SQL_SMALLINT, DBI::SQL_DECIMAL,
-      DBI::SQL_FLOAT, DBI::SQL_REAL, DBI::SQL_DOUBLE, DBI::SQL_NUMERIC;
-
-    sub quote {
-        my ($dbh, $str, $data_type) = @_;
-        return "NULL" unless defined $str;
-               return $str if $data_type && $no_escape{$data_type};
-
-        $dbh->DBI::set_err(1, "Use of SQL_BINARY invalid in quote()")
-          if $data_type && $data_type == DBI::SQL_BINARY;
-
-               $str =~ s/(['\\\0])/$esc{$1}/g;
-               return "'$str'";
-    }
-
-}    # end of package DBD::Pg::db
-
-{   package DBD::Pg::st; # ====== STATEMENT ======
-
-    # all done in XS
-
-}
-
-1;
-
-__END__
-
-=head1 NAME
-
-DBD::Pg - PostgreSQL database driver for the DBI module
-
-=head1 SYNOPSIS
-
-  use DBI;
-
-  $dbh = DBI->connect("dbi:Pg:dbname=$dbname", "", "");
-
-  # for some advanced uses you may need PostgreSQL type values:
-  use DBD::Oracle qw(:pg_types);
-
-  # See the DBI module documentation for full details
-
-=head1 DESCRIPTION
-
-DBD::Pg is a Perl module which works with the DBI module to provide access to
-PostgreSQL databases.
-
-=head1 MODULE DOCUMENTATION
-
-This documentation describes driver specific behavior and restrictions. It is
-not supposed to be used as the only reference for the user. In any case
-consult the DBI documentation first!
-
-=head1 THE DBI CLASS
-
-=head2 DBI Class Methods
-
-=over 4
-
-=item B<connect>
-
-To connect to a database with a minimum of parameters, use the following
-syntax:
-
-  $dbh = DBI->connect("dbi:Pg:dbname=$dbname", "", "");
-
-This connects to the database $dbname at localhost without any user
-authentication. This is sufficient for the defaults of PostgreSQL.
-
-The following connect statement shows all possible parameters:
-
-  $dbh = DBI->connect("dbi:Pg:dbname=$dbname;host=$host;port=$port;" .
-                      "options=$options;tty=$tty", "$username", "$password");
-
-If a parameter is undefined PostgreSQL first looks for specific environment
-variables and then it uses hard coded defaults:
-
-    parameter  environment variable  hard coded default
-    --------------------------------------------------
-    dbname     PGDATABASE            current userid
-    host       PGHOST                localhost
-    port       PGPORT                5432
-    options    PGOPTIONS             ""
-    tty        PGTTY                 ""
-    username   PGUSER                current userid
-    password   PGPASSWORD            ""
-
-If a host is specified, the postmaster on this host needs to be started with
-the C<-i> option (TCP/IP sockets).
-
-The options parameter specifies runtime options for the Postgres
-backend. Common usage is to increase the number of buffers with the C<-B>
-option. Also important is the C<-F> option, which disables automatic fsync()
-call after each transaction. For further details please refer to the
-L<postgres>.
-
-For authentication with username and password appropriate entries have to be
-made in pg_hba.conf. Please refer to the L<pg_hba.conf> and the L<pg_passwd>
-for the different types of authentication. Note that for these two parameters
-DBI distinguishes between empty and undefined. If these parameters are
-undefined DBI substitutes the values of the environment variables DBI_USER and
-DBI_PASS if present.
-
-=item B<available_drivers>
-
-  @driver_names = DBI->available_drivers;
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<data_sources>
-
-  @data_sources = DBI->data_sources('Pg');
-
-The driver supports this method. Note that the necessary database connection to
-the database template1 will be done on the localhost without any
-user-authentication. Other preferences can only be set with the environment
-variables PGHOST, DBI_USER and DBI_PASS.
-
-=item B<trace>
-
-  DBI->trace($trace_level, $trace_file)
-
-Implemented by DBI, no driver-specific impact.
-
-=back
-
-=head2 DBI Dynamic Attributes
-
-See Common Methods.
-
-=head1 METHODS COMMON TO ALL HANDLES
-
-=over 4
-
-=item B<err>
-
-  $rv = $h->err;
-
-Supported by the driver as proposed by DBI. For the connect method it returns
-PQstatus. In all other cases it returns PQresultStatus of the current handle.
-
-=item B<errstr>
-
-  $str = $h->errstr;
-
-Supported by the driver as proposed by DBI. It returns the PQerrorMessage
-related to the current handle.
-
-=item B<state>
-
-  $str = $h->state;
-
-This driver does not (yet) support the state method.
-
-=item B<trace>
-
-  $h->trace($trace_level, $trace_filename);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<trace_msg>
-
-  $h->trace_msg($message_text);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<func>
-
-This driver supports a variety of driver specific functions accessible via the
-func interface:
-
-  $attrs = $dbh->func($table, 'table_attributes');
-
-This method returns for the given table a reference to an array of hashes:
-
-  NAME        attribute name
-  TYPE        attribute type
-  SIZE        attribute size (-1 for variable size)
-  NULLABLE    flag nullable
-  DEFAULT     default value
-  CONSTRAINT  constraint
-  PRIMARY_KEY flag is_primary_key
-
-  $lobjId = $dbh->func($mode, 'lo_creat');
-
-Creates a new large object and returns the object-id. $mode is a bit-mask
-describing different attributes of the new object. Use the following
-constants:
-
-  $dbh->{pg_INV_WRITE}
-  $dbh->{pg_INV_READ}
-
-Upon failure it returns undef.
-
-  $lobj_fd = $dbh->func($lobjId, $mode, 'lo_open');
-
-Opens an existing large object and returns an object-descriptor for use in
-subsequent lo_* calls. For the mode bits see lo_create. Returns undef upon
-failure. Note that 0 is a perfectly correct object descriptor!
-
-  $nbytes = $dbh->func($lobj_fd, $buf, $len, 'lo_write');
-
-Writes $len bytes of $buf into the large object $lobj_fd. Returns the number
-of bytes written and undef upon failure.
-
-  $nbytes = $dbh->func($lobj_fd, $buf, $len, 'lo_read');
-
-Reads $len bytes into $buf from large object $lobj_fd. Returns the number of
-bytes read and undef upon failure.
-
-  $loc = $dbh->func($lobj_fd, $offset, $whence, 'lo_lseek');
-
-Change the current read or write location on the large object
-$obj_id. Currently $whence can only be 0 (L_SET). Returns the current location
-and undef upon failure.
-
-  $loc = $dbh->func($lobj_fd, 'lo_tell');
-
-Returns the current read or write location on the large object $lobj_fd and
-undef upon failure.
-
-  $lobj_fd = $dbh->func($lobj_fd, 'lo_close');
-
-Closes an existing large object. Returns true upon success and false upon
-failure.
-
-  $lobj_fd = $dbh->func($lobj_fd, 'lo_unlink');
-
-Deletes an existing large object. Returns true upon success and false upon
-failure.
-
-  $lobjId = $dbh->func($filename, 'lo_import');
-
-Imports a Unix file as large object and returns the object id of the new
-object or undef upon failure.
-
-  $ret = $dbh->func($lobjId, 'lo_export', 'filename');
-
-Exports a large object into a Unix file. Returns false upon failure, true
-otherwise.
-
-  $ret = $dbh->func($line, 'putline');
-
-Used together with the SQL-command 'COPY table FROM STDIN' to copy large
-amount of data into a table avoiding the overhead of using single
-insert commands. The application must explicitly send the two characters "\."
-to indicate to the backend that it has finished sending its data. See test.pl
-for an example on how to use this function.
-
-  $ret = $dbh->func($buffer, length, 'getline');
-
-Used together with the SQL-command 'COPY table TO STDOUT' to dump a complete
-table. See test.pl for an example on how to use this function.
-
-  $ret = $dbh->func('pg_notifies');
-
-Returns either undef or a reference to two-element array [ $table,
-$backend_pid ] of asynchronous notifications received.
-
-  $fd = $dbh->func('getfd');
-
-Returns fd of the actual connection to server. Can be used with select() and
-func('pg_notifies').
-
-=back
-
-=head1 ATTRIBUTES COMMON TO ALL HANDLES
-
-=over 4
-
-=item B<Warn> (boolean, inherited)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<Active> (boolean, read-only)
-
-Supported by the driver as proposed by DBI. A database handle is active while
-it is connected and statement handle is active until it is finished.
-
-=item B<Kids> (integer, read-only)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<ActiveKids> (integer, read-only)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<CachedKids> (hash ref)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<CompatMode> (boolean, inherited)
-
-Not used by this driver.
-
-=item B<InactiveDestroy> (boolean)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<PrintError> (boolean, inherited)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<RaiseError> (boolean, inherited)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<HandleError> (boolean, inherited)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<ChopBlanks> (boolean, inherited)
-
-Supported by the driver as proposed by DBI. This method is similar to the
-SQL-function RTRIM.
-
-=item B<LongReadLen> (integer, inherited)
-
-Implemented by DBI, not used by the driver.
-
-=item B<LongTruncOk> (boolean, inherited)
-
-Implemented by DBI, not used by the driver.
-
-=item B<Taint> (boolean, inherited)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<private_*>
-
-Implemented by DBI, no driver-specific impact.
-
-=back
-
-=head1 DBI DATABASE HANDLE OBJECTS
-
-=head2 Database Handle Methods
-
-=over 4
-
-=item B<selectrow_array>
-
-  @row_ary = $dbh->selectrow_array($statement, \%attr, @bind_values);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<selectrow_arrayref>
-
-  $ary_ref = $dbh->selectrow_arrayref($statement, \%attr, @bind_values);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<selectrow_hashref>
-
-  $hash_ref = $dbh->selectrow_hashref($statement, \%attr, @bind_values);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<selectall_arrayref>
-
-  $ary_ref = $dbh->selectall_arrayref($statement, \%attr, @bind_values);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<selectall_hashref>
-
-  $hash_ref = $dbh->selectall_hashref($statement, $key_field);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<selectcol_arrayref>
-
-  $ary_ref = $dbh->selectcol_arrayref($statement, \%attr, @bind_values);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<prepare>
-
-  $sth = $dbh->prepare($statement, \%attr);
-
-PostgreSQL does not have the concept of preparing a statement. Hence the
-prepare method just stores the statement after checking for place-holders. No
-information about the statement is available after preparing it.
-
-=item B<prepare_cached>
-
-  $sth = $dbh->prepare_cached($statement, \%attr);
-
-Implemented by DBI, no driver-specific impact. This method is not useful for
-this driver, because preparing a statement has no database interaction.
-
-=item B<do>
-
-  $rv  = $dbh->do($statement, \%attr, @bind_values);
-
-Implemented by DBI, no driver-specific impact. See the notes for the execute
-method elsewhere in this document.
-
-=item B<commit>
-
-  $rc  = $dbh->commit;
-
-Supported by the driver as proposed by DBI. See also the notes about
-B<Transactions> elsewhere in this document.
-
-=item B<rollback>
-
-  $rc  = $dbh->rollback;
-
-Supported by the driver as proposed by DBI. See also the notes about
-B<Transactions> elsewhere in this document.
-
-=item B<disconnect>
-
-  $rc  = $dbh->disconnect;
-
-Supported by the driver as proposed by DBI.
-
-=item B<ping>
-
-  $rc = $dbh->ping;
-
-This driver supports the ping-method, which can be used to check the validity
-of a database-handle. The ping method issues an empty query and checks the
-result status.
-
-=item B<table_info>
-
-  $sth = $dbh->table_info;
-
-Supported by the driver as proposed by DBI. This method returns all tables and
-views which are owned by the current user. It does not select any indexes and
-sequences. Also System tables are not selected. As TABLE_QUALIFIER the reltype
-attribute is returned and the REMARKS are undefined.
-
-=item B<foreign_key_info>
-
-  $sth = $dbh->foreign_key_info( $pk_catalog, $pk_schema, $pk_table,
-                                 $fk_catalog, $fk_schema, $fk_table );
-
-Supported by the driver as proposed by DBI. Unimplemented for Postgres
-servers before 7.3 (returns undef).  Currently only returns information
-about first column of any multiple-column keys.
-
-=item B<tables>
-
-  @names = $dbh->tables;
-
-Supported by the driver as proposed by DBI. This method returns all tables and
-views which are owned by the current user. It does not select any indexes and
-sequences, or system tables.
-
-=item B<type_info_all>
-
-  $type_info_all = $dbh->type_info_all;
-
-Supported by the driver as proposed by DBI. Only for SQL data-types and for
-frequently used data-types information is provided. The mapping between the
-PostgreSQL typename and the SQL92 data-type (if possible) has been done
-according to the following table:
-
-       +---------------+------------------------------------+
-       | typname       | SQL92                              |
-       |---------------+------------------------------------|
-       | bool          | BOOL                               |
-       | text          | /                                  |
-       | bpchar        | CHAR(n)                            |
-       | varchar       | VARCHAR(n)                         |
-       | int2          | SMALLINT                           |
-       | int4          | INT                                |
-       | int8          | /                                  |
-       | money         | /                                  |
-       | float4        | FLOAT(p)   p<7=float4, p<16=float8 |
-       | float8        | REAL                               |
-       | abstime       | /                                  |
-       | reltime       | /                                  |
-       | tinterval     | /                                  |
-       | date          | /                                  |
-       | time          | /                                  |
-       | datetime      | /                                  |
-       | timespan      | TINTERVAL                          |
-       | timestamp     | TIMESTAMP                          |
-       +---------------+------------------------------------+
-
-For further details concerning the PostgreSQL specific data-types please read
-the L<pgbuiltin>.
-
-=item B<type_info>
-
-  @type_info = $dbh->type_info($data_type);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<quote>
-
-  $sql = $dbh->quote($value, $data_type);
-
-This module implements its own quote method. In addition to the DBI method it
-also doubles the backslash, because PostgreSQL treats a backslash as an escape
-character.
-
-B<NOTE:> The undocumented (and invalid) support for the C<SQL_BINARY> data
-type is officially deprecated. Use C<PG_BYTEA> with C<bind_param()> instead:
-
-  $rv = $sth->bind_param($param_num, $bind_value,
-                         { pg_type => DBD::Pg::PG_BYTEA });
-
-=back
-
-=head2 Database Handle Attributes
-
-=over 4
-
-=item B<AutoCommit>  (boolean)
-
-Supported by the driver as proposed by DBI. According to the classification of
-DBI, PostgreSQL is a database, in which a transaction must be explicitly
-started. Without starting a transaction, every change to the database becomes
-immediately permanent. The default of AutoCommit is on, which corresponds to
-the default behavior of PostgreSQL. When setting AutoCommit to off, a
-transaction will be started and every commit or rollback will automatically
-start a new transaction. For details see the notes about B<Transactions>
-elsewhere in this document.
-
-=item B<Driver>  (handle)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<Name>  (string, read-only)
-
-The default method of DBI is overridden by a driver specific method, which
-returns only the database name. Anything else from the connection string is
-stripped off. Note, that here the method is read-only in contrast to the DBI
-specs.
-
-=item B<RowCacheSize>  (integer)
-
-Implemented by DBI, not used by the driver.
-
-=item B<pg_auto_escape> (boolean)
-
-PostgreSQL specific attribute. If true, then quotes and backslashes in all
-parameters will be escaped in the following way:
-
-  escape quote with a quote (SQL)
-  escape backslash with a backslash
-
-The default is on. Note, that PostgreSQL also accepts quotes, which are
-escaped by a backslash. Any other ASCII character can be used directly in a
-string constant.
-
-=item B<pg_enable_utf8> (boolean)
-
-PostgreSQL specific attribute.  If true, then the utf8 flag will be
-turned for returned character data (if the data is valid utf8).  For
-details about the utf8 flag, see L<Encode>.  This is only relevant under
-perl 5.8 and higher.
-
-B<NB>: This attribute is experimental and may be subject to change.
-
-=item B<pg_INV_READ> (integer, read-only)
-
-Constant to be used for the mode in lo_creat and lo_open.
-
-=item B<pg_INV_WRITE> (integer, read-only)
-
-Constant to be used for the mode in lo_creat and lo_open.
-
-=back
-
-=head1 DBI STATEMENT HANDLE OBJECTS
-
-=head2 Statement Handle Methods
-
-=over 4
-
-=item B<bind_param>
-
-  $rv = $sth->bind_param($param_num, $bind_value, \%attr);
-
-Supported by the driver as proposed by DBI.
-
-B<NOTE:> The undocumented (and invalid) support for the C<SQL_BINARY>
-SQL type is officially deprecated. Use C<PG_BYTEA> instead:
-
-  $rv = $sth->bind_param($param_num, $bind_value,
-                         { pg_type => DBD::Pg::PG_BYTEA });
-
-=item B<bind_param_inout>
-
-Not supported by this driver.
-
-=item B<execute>
-
-  $rv = $sth->execute(@bind_values);
-
-Supported by the driver as proposed by DBI. In addition to 'UPDATE', 'DELETE',
-'INSERT' statements, for which it returns always the number of affected rows,
-the execute method can also be used for 'SELECT ... INTO table' statements.
-
-=item B<fetchrow_arrayref>
-
-  $ary_ref = $sth->fetchrow_arrayref;
-
-Supported by the driver as proposed by DBI.
-
-=item B<fetchrow_array>
-
-  @ary = $sth->fetchrow_array;
-
-Supported by the driver as proposed by DBI.
-
-=item B<fetchrow_hashref>
-
-  $hash_ref = $sth->fetchrow_hashref;
-
-Supported by the driver as proposed by DBI.
-
-=item B<fetchall_arrayref>
-
-  $tbl_ary_ref = $sth->fetchall_arrayref;
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<finish>
-
-  $rc = $sth->finish;
-
-Supported by the driver as proposed by DBI.
-
-=item B<rows>
-
-  $rv = $sth->rows;
-
-Supported by the driver as proposed by DBI. In contrast to many other drivers
-the number of rows is available immediately after executing the statement.
-
-=item B<bind_col>
-
-  $rc = $sth->bind_col($column_number, \$var_to_bind, \%attr);
-
-Supported by the driver as proposed by DBI.
-
-=item B<bind_columns>
-
-  $rc = $sth->bind_columns(\%attr, @list_of_refs_to_vars_to_bind);
-
-Supported by the driver as proposed by DBI.
-
-=item B<dump_results>
-
-  $rows = $sth->dump_results($maxlen, $lsep, $fsep, $fh);
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<blob_read>
-
-  $blob = $sth->blob_read($id, $offset, $len);
-
-Supported by this driver as proposed by DBI. Implemented by DBI but not
-documented, so this method might change.
-
-This method seems to be heavily influenced by the current implementation of
-blobs in Oracle. Nevertheless we try to be as compatible as possible. Whereas
-Oracle suffers from the limitation that blobs are related to tables and every
-table can have only one blob (data-type LONG), PostgreSQL handles its blobs
-independent of any table by using so called object identifiers. This explains
-why the blob_read method is blessed into the STATEMENT package and not part of
-the DATABASE package. Here the field parameter has been used to handle this
-object identifier. The offset and len parameter may be set to zero, in which
-case the driver fetches the whole blob at once.
-
-Starting with PostgreSQL-6.5 every access to a blob has to be put into a
-transaction. This holds even for a read-only access.
-
-See also the PostgreSQL-specific functions concerning blobs which are
-available via the func-interface.
-
-For further information and examples about blobs, please read the chapter
-about Large Objects in the PostgreSQL Programmer's Guide.
-
-=back
-
-=head2 Statement Handle Attributes
-
-=over 4
-
-=item B<NUM_OF_FIELDS>  (integer, read-only)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<NUM_OF_PARAMS>  (integer, read-only)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<NAME>  (array-ref, read-only)
-
-Supported by the driver as proposed by DBI.
-
-=item B<NAME_lc>  (array-ref, read-only)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<NAME_uc>  (array-ref, read-only)
-
-Implemented by DBI, no driver-specific impact.
-
-=item B<TYPE>  (array-ref, read-only)
-
-Supported by the driver as proposed by DBI, with the restriction, that the
-types are PostgreSQL specific data-types which do not correspond to
-international standards.
-
-=item B<PRECISION>  (array-ref, read-only)
-
-Not supported by the driver.
-
-=item B<SCALE>  (array-ref, read-only)
-
-Not supported by the driver.
-
-=item B<NULLABLE>  (array-ref, read-only)
-
-Not supported by the driver.
-
-=item B<CursorName>  (string, read-only)
-
-Not supported by the driver. See the note about B<Cursors> elsewhere in this
-document.
-
-=item B<Statement>  (string, read-only)
-
-Supported by the driver as proposed by DBI.
-
-=item B<RowCache>  (integer, read-only)
-
-Not supported by the driver.
-
-=item B<pg_size>  (array-ref, read-only)
-
-PostgreSQL specific attribute. It returns a reference to an array of integer
-values for each column. The integer shows the size of the column in
-bytes. Variable length columns are indicated by -1.
-
-=item B<pg_type>  (hash-ref, read-only)
-
-PostgreSQL specific attribute. It returns a reference to an array of strings
-for each column. The string shows the name of the data_type.
-
-=item B<pg_oid_status> (integer, read-only)
-
-PostgreSQL specific attribute. It returns the OID of the last INSERT command.
-
-=item B<pg_cmd_status> (integer, read-only)
-
-PostgreSQL specific attribute. It returns the type of the last
-command. Possible types are: INSERT, DELETE, UPDATE, SELECT.
-
-=back
-
-=head1 FURTHER INFORMATION
-
-=head2 Transactions
-
-The transaction behavior is now controlled with the attribute AutoCommit. For
-a complete definition of AutoCommit please refer to the DBI documentation.
-
-According to the DBI specification the default for AutoCommit is TRUE. In this
-mode, any change to the database becomes valid immediately. Any 'begin',
-'commit' or 'rollback' statement will be rejected.
-
-If AutoCommit is switched-off, immediately a transaction will be started by
-issuing a 'begin' statement. Any 'commit' or 'rollback' will start a new
-transaction. A disconnect will issue a 'rollback' statement.
-
-=head2 Large Objects
-
-The driver supports all large-objects related functions provided by libpq via
-the func-interface. Please note, that starting with PostgreSQL 6.5 any access
-to a large object - even read-only - has to be put into a transaction!
-
-=head2 Cursors
-
-Although PostgreSQL has a cursor concept, it has not been used in the current
-implementation. Cursors in PostgreSQL can only be used inside a transaction
-block. Because only one transaction block at a time is allowed, this would
-have implied the restriction, not to use any nested SELECT statements. Hence
-the execute method fetches all data at once into data structures located in
-the frontend application. This has to be considered when selecting large
-amounts of data!
-
-=head2 Data-Type bool
-
-The current implementation of PostgreSQL returns 't' for true and 'f' for
-false. From the Perl point of view a rather unfortunate choice. The DBD::Pg
-module translates the result for the data-type bool in a perl-ish like manner:
-'f' -> '0' and 't' -> '1'. This way the application does not have to check the
-database-specific returned values for the data-type bool, because Perl treats
-'0' as false and '1' as true.
-
-Boolean values can be passed to PostgreSQL as TRUE, 't', 'true', 'y', 'yes' or
-'1' for true and FALSE, 'f', 'false', 'n', 'no' or '0' for false.
-
-=head2 Schema support
-
-PostgreSQL version 7.3 introduced schema support. Note that the PostgreSQL
-schema concept may differ to that of other databases. Please refer to the
-PostgreSQL documentation for more details.
-
-Currently DBD::Pg does not provide explicit support for PostgreSQL schemas.
-However, schema functionality may be used without any restrictions by
-explicitly addressing schema objects, e.g.
-
-  my $res = $dbh->selectall_arrayref("SELECT * FROM my_schema.my_table");
-
-or by manipulating the schema search path with SET search_path, e.g.
-
-  $dbh->do("SET search_path TO my_schema, public");
-
-B<NOTE:> If you create an object with the same name as a PostgreSQL system
-object (as contained in the pg_catalog schema) and explicitly set the search
-path so that pg_catalog comes after the new object's schema, some DBD::Pg
-methods (particularly those querying PostgreSQL system objects) may fail.
-This problem should be fixed in a future release of DBD::Pg. Creating objects
-with the same name as system objects (or beginning with 'pg_') is not
-recommended practice and should be avoided in any case.
-
-=head1 SEE ALSO
-
-L<DBI>
-
-=head1 AUTHORS
-
-DBI and DBD-Oracle by Tim Bunce (Tim.Bunce@ig.co.uk)
-
-DBD-Pg by Edmund Mergl (E.Mergl@bawue.de) and Jeffrey W. Baker
-(jwbaker@acm.org). By David Wheeler <david@wheeler.net>, Jason
-Stewart <jason@openinformatics.com> and Bruce Momjian
-<pgman@candle.pha.pa.us> after v1.13.
-
-Major parts of this package have been copied from DBI and DBD-Oracle.
-
-=head1 COPYRIGHT
-
-The DBD::Pg module is free software. You may distribute under the terms of
-either the GNU General Public License or the Artistic License, as specified in
-the Perl README file.
-
-=head1 ACKNOWLEDGMENTS
-
-See also B<DBI/ACKNOWLEDGMENTS>.
-
-=cut
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/Pg.xs b/install/5.005/DBD-Pg-1.22-fixvercmp/Pg.xs
deleted file mode 100644 (file)
index e5e4362..0000000
+++ /dev/null
@@ -1,644 +0,0 @@
-/*
-   $Id: Pg.xs,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-   Copyright (c) 1997,1998,1999,2000 Edmund Mergl
-   Portions Copyright (c) 1994,1995,1996,1997 Tim Bunce
-
-   You may distribute under the terms of either the GNU General Public
-   License or the Artistic License, as specified in the Perl README file.
-
-*/
-
-
-#include "Pg.h"
-
-
-#ifdef _MSC_VER
-#define strncasecmp(a,b,c) _strnicmp((a),(b),(c))
-#endif
-
-
-
-DBISTATE_DECLARE;
-
-
-MODULE = DBD::Pg       PACKAGE = DBD::Pg
-
-I32
-constant(name=Nullch)
-    char *name
-    PROTOTYPE:
-    ALIAS:
-    PG_BOOL      = 16
-    PG_BYTEA     = 17
-    PG_CHAR      = 18
-    PG_INT8      = 20
-    PG_INT2      = 21
-    PG_INT4      = 23
-    PG_TEXT      = 25
-    PG_OID       = 26
-    PG_FLOAT4    = 700
-    PG_FLOAT8    = 701
-    PG_ABSTIME   = 702
-    PG_RELTIME   = 703
-    PG_TINTERVAL = 704
-    PG_BPCHAR    = 1042
-    PG_VARCHAR   = 1043
-    PG_DATE      = 1082
-    PG_TIME      = 1083
-    PG_DATETIME  = 1184
-    PG_TIMESPAN  = 1186
-    PG_TIMESTAMP = 1296
-    CODE:
-    if (!ix) {
-       if (!name) name = GvNAME(CvGV(cv));
-       croak("Unknown DBD::Pg constant '%s'", name);
-    }
-    else RETVAL = ix;
-    OUTPUT:
-    RETVAL
-
-PROTOTYPES: DISABLE
-
-BOOT:
-    items = 0;  /* avoid 'unused variable' warning */
-    DBISTATE_INIT;
-    /* XXX this interface will change: */
-    DBI_IMP_SIZE("DBD::Pg::dr::imp_data_size", sizeof(imp_drh_t));
-    DBI_IMP_SIZE("DBD::Pg::db::imp_data_size", sizeof(imp_dbh_t));
-    DBI_IMP_SIZE("DBD::Pg::st::imp_data_size", sizeof(imp_sth_t));
-    dbd_init(DBIS);
-
-
-# ------------------------------------------------------------
-# driver level interface
-# ------------------------------------------------------------
-MODULE = DBD::Pg       PACKAGE = DBD::Pg::dr
-
-# disconnect_all renamed and ALIASed to avoid length clash on VMS :-(
-void
-discon_all_(drh)
-    SV *       drh
-    ALIAS:
-        disconnect_all = 1
-    CODE:
-    D_imp_drh(drh);
-    ST(0) = dbd_discon_all(drh, imp_drh) ? &sv_yes : &sv_no;
-
-
-
-# ------------------------------------------------------------
-# database level interface
-# ------------------------------------------------------------
-MODULE = DBD::Pg       PACKAGE = DBD::Pg::db
-
-void
-_login(dbh, dbname, username, pwd)
-    SV *       dbh
-    char *     dbname
-    char *     username
-    char *     pwd
-    CODE:
-    D_imp_dbh(dbh);
-    ST(0) = pg_db_login(dbh, imp_dbh, dbname, username, pwd) ? &sv_yes : &sv_no;
-
-
-int
-_ping(dbh)
-    SV *       dbh
-    CODE:
-    int ret;
-    ret = dbd_db_ping(dbh);
-    if (ret == 0) {
-        XST_mUNDEF(0);
-    }
-    else {
-        XST_mIV(0, ret);
-    }
-
-void
-getfd(dbh)
-    SV *       dbh
-    CODE:
-    int ret;
-    D_imp_dbh(dbh);
-
-    ret = dbd_db_getfd(dbh, imp_dbh);
-    ST(0) = sv_2mortal( newSViv( ret ) );
-
-void
-pg_notifies(dbh)
-    SV *       dbh
-    CODE:
-    D_imp_dbh(dbh);
-
-    ST(0) = dbd_db_pg_notifies(dbh, imp_dbh);
-
-void
-commit(dbh)
-    SV *       dbh
-    CODE:
-    D_imp_dbh(dbh);
-    if (DBIc_has(imp_dbh, DBIcf_AutoCommit)) {
-        warn("commit ineffective with AutoCommit enabled");
-    }
-    ST(0) = dbd_db_commit(dbh, imp_dbh) ? &sv_yes : &sv_no;
-
-
-void
-rollback(dbh)
-    SV *       dbh
-    CODE:
-    D_imp_dbh(dbh);
-    if (DBIc_has(imp_dbh, DBIcf_AutoCommit)) {
-        warn("rollback ineffective with AutoCommit enabled");
-    }
-    ST(0) = dbd_db_rollback(dbh, imp_dbh) ? &sv_yes : &sv_no;
-
-
-void
-disconnect(dbh)
-    SV *       dbh
-    CODE:
-    D_imp_dbh(dbh);
-    if ( !DBIc_ACTIVE(imp_dbh) ) {
-        XSRETURN_YES;
-    }
-    /* pre-disconnect checks and tidy-ups */
-    if (DBIc_CACHED_KIDS(imp_dbh)) {
-        SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));
-        DBIc_CACHED_KIDS(imp_dbh) = Nullhv;
-    }
-    /* Check for disconnect() being called whilst refs to cursors      */
-    /* still exists. This possibly needs some more thought.            */
-    if (DBIc_ACTIVE_KIDS(imp_dbh) && DBIc_WARN(imp_dbh) && !dirty) {
-        char *plural = (DBIc_ACTIVE_KIDS(imp_dbh)==1) ? "" : "s";
-        warn("disconnect(%s) invalidates %d active statement%s. %s",
-            SvPV(dbh,na), (int)DBIc_ACTIVE_KIDS(imp_dbh), plural,
-            "Either destroy statement handles or call finish on them before disconnecting.");
-    }
-    ST(0) = dbd_db_disconnect(dbh, imp_dbh) ? &sv_yes : &sv_no;
-
-
-void
-STORE(dbh, keysv, valuesv)
-    SV *       dbh
-    SV *       keysv
-    SV *       valuesv
-    CODE:
-    D_imp_dbh(dbh);
-    ST(0) = &sv_yes;
-    if (!dbd_db_STORE_attrib(dbh, imp_dbh, keysv, valuesv)) {
-        if (!DBIS->set_attr(dbh, keysv, valuesv)) {
-            ST(0) = &sv_no;
-        }
-    }
-
-
-void
-FETCH(dbh, keysv)
-    SV *       dbh
-    SV *       keysv
-    CODE:
-    D_imp_dbh(dbh);
-    SV *valuesv = dbd_db_FETCH_attrib(dbh, imp_dbh, keysv);
-    if (!valuesv) {
-        valuesv = DBIS->get_attr(dbh, keysv);
-    }
-    ST(0) = valuesv;   /* dbd_db_FETCH_attrib did sv_2mortal   */
-
-
-void
-DESTROY(dbh)
-    SV *       dbh
-    PPCODE:
-    D_imp_dbh(dbh);
-    ST(0) = &sv_yes;
-    if (!DBIc_IMPSET(imp_dbh)) {       /* was never fully set up       */
-        if (DBIc_WARN(imp_dbh) && !dirty && dbis->debug >= 2) {
-            warn("Database handle %s DESTROY ignored - never set up", SvPV(dbh,na));
-        }
-    }
-    else {
-       /* pre-disconnect checks and tidy-ups */
-        if (DBIc_CACHED_KIDS(imp_dbh)) {
-            SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));
-            DBIc_CACHED_KIDS(imp_dbh) = Nullhv;
-        }
-        if (DBIc_IADESTROY(imp_dbh)) { /* want's ineffective destroy    */
-            DBIc_ACTIVE_off(imp_dbh);
-        }
-        if (DBIc_ACTIVE(imp_dbh)) {
-            if (DBIc_WARN(imp_dbh) && (!dirty || dbis->debug >= 3)) {
-                warn("Database handle destroyed without explicit disconnect");
-            }
-           /* The application has not explicitly disconnected. That's bad.     */
-           /* To ensure integrity we *must* issue a rollback. This will be     */
-           /* harmless if the application has issued a commit. If it hasn't    */
-           /* then it'll ensure integrity. Consider a Ctrl-C killing perl      */
-           /* between two statements that must be executed as a transaction.   */
-           /* Perl will call DESTROY on the dbh and, if we don't rollback,     */
-           /* the server will automatically commit! Bham! Corrupt database!    */
-            if (!DBIc_has(imp_dbh,DBIcf_AutoCommit)) {
-                dbd_db_rollback(dbh, imp_dbh); /* ROLLBACK! */
-            }
-            dbd_db_disconnect(dbh, imp_dbh);
-        }
-        dbd_db_destroy(dbh, imp_dbh);
-    }
-
-
-# driver specific functions
-
-
-void
-lo_open(dbh, lobjId, mode)
-    SV *       dbh
-    unsigned int       lobjId
-    int        mode
-    CODE:
-        int ret = pg_db_lo_open(dbh, lobjId, mode);
-        ST(0) = (-1 != ret) ? sv_2mortal(newSViv(ret)) : &sv_undef;
-
-void
-lo_close(dbh, fd)
-    SV *       dbh
-    int        fd
-    CODE:
-        ST(0) = (-1 != pg_db_lo_close(dbh, fd)) ? &sv_yes : &sv_no;
-
-
-void
-lo_read(dbh, fd, buf, len)
-           SV *        dbh
-           int fd
-           char *      buf
-           int len
-       PREINIT:
-           SV *bufsv = SvROK(ST(2)) ? SvRV(ST(2)) : ST(2);
-           int ret;
-       CODE:
-           buf = SvGROW(bufsv, len + 1);
-           ret = pg_db_lo_read(dbh, fd, buf, len);
-           if (ret > 0) {
-               SvCUR_set(bufsv, ret);
-               *SvEND(bufsv) = '\0';
-               sv_setpvn(ST(2), buf, ret);
-               SvSETMAGIC(ST(2));
-           }
-           ST(0) = (-1 != ret) ? sv_2mortal(newSViv(ret)) : &sv_undef;
-
-
-void
-lo_write(dbh, fd, buf, len)
-    SV *       dbh
-    int        fd
-    char *     buf
-    int        len
-    CODE:
-        int ret = pg_db_lo_write(dbh, fd, buf, len);
-        ST(0) = (-1 != ret) ? sv_2mortal(newSViv(ret)) : &sv_undef;
-
-
-void
-lo_lseek(dbh, fd, offset, whence)
-    SV *       dbh
-    int        fd
-    int        offset
-    int        whence
-    CODE:
-        int ret = pg_db_lo_lseek(dbh, fd, offset, whence);
-        ST(0) = (-1 != ret) ? sv_2mortal(newSViv(ret)) : &sv_undef;
-
-
-void
-lo_creat(dbh, mode)
-    SV *       dbh
-    int        mode
-    CODE:
-        int ret = pg_db_lo_creat(dbh, mode);
-        ST(0) = (-1 != ret) ? sv_2mortal(newSViv(ret)) : &sv_undef;
-
-
-void
-lo_tell(dbh, fd)
-    SV *       dbh
-    int        fd
-    CODE:
-        int ret = pg_db_lo_tell(dbh, fd);
-        ST(0) = (-1 != ret) ? sv_2mortal(newSViv(ret)) : &sv_undef;
-
-
-void
-lo_unlink(dbh, lobjId)
-    SV *       dbh
-    unsigned int       lobjId
-    CODE:
-        ST(0) = (-1 != pg_db_lo_unlink(dbh, lobjId)) ? &sv_yes : &sv_no;
-
-
-void
-lo_import(dbh, filename)
-    SV *       dbh
-    char *     filename
-    CODE:
-        unsigned int ret = pg_db_lo_import(dbh, filename);
-        ST(0) = (ret) ? sv_2mortal(newSViv(ret)) : &sv_undef;
-
-
-void
-lo_export(dbh, lobjId, filename)
-    SV *       dbh
-    unsigned int       lobjId
-    char *     filename
-    CODE:
-        ST(0) = (-1 != pg_db_lo_export(dbh, lobjId, filename)) ? &sv_yes : &sv_no;
-
-
-void
-putline(dbh, buf)
-    SV *       dbh
-    char *     buf
-    CODE:
-        int ret = pg_db_putline(dbh, buf);
-        ST(0) = (-1 != ret) ? &sv_yes : &sv_no;
-
-
-void
-getline(dbh, buf, len)
-    PREINIT:
-        SV *bufsv = SvROK(ST(1)) ? SvRV(ST(1)) : ST(1);
-    INPUT:
-        SV *   dbh
-        int    len
-        char * buf = sv_grow(bufsv, len);
-    CODE:
-        int ret = pg_db_getline(dbh, buf, len);
-        if (*buf == '\\' && *(buf+1) == '.') {
-            ret = -1;
-        }
-       sv_setpv((SV*)ST(1), buf);
-       SvSETMAGIC(ST(1));
-        ST(0) = (-1 != ret) ? &sv_yes : &sv_no;
-
-
-void
-endcopy(dbh)
-    SV *       dbh
-    CODE:
-        ST(0) = (-1 != pg_db_endcopy(dbh)) ? &sv_yes : &sv_no;
-
-
-# -- end of DBD::Pg::db
-
-
-# ------------------------------------------------------------
-# statement interface
-# ------------------------------------------------------------
-MODULE = DBD::Pg       PACKAGE = DBD::Pg::st
-
-void
-_prepare(sth, statement, attribs=Nullsv)
-    SV *       sth
-    char *     statement
-    SV *       attribs
-    CODE:
-    {
-    D_imp_sth(sth);
-    D_imp_dbh_from_sth;
-    DBD_ATTRIBS_CHECK("_prepare", sth, attribs);
-    if (!strncasecmp(statement, "begin",    5) ||
-        !strncasecmp(statement, "end",      4) ||
-        !strncasecmp(statement, "commit",   6) ||
-        !strncasecmp(statement, "abort",    5) ||
-        !strncasecmp(statement, "rollback", 8) ) {
-        warn("please use DBI functions for transaction handling");
-        ST(0) = &sv_no;
-    } else {
-        ST(0) = dbd_st_prepare(sth, imp_sth, statement, attribs) ? &sv_yes : &sv_no;
-    }
-    }
-
-
-void
-rows(sth)
-    SV *       sth
-    CODE:
-    D_imp_sth(sth);
-    XST_mIV(0, dbd_st_rows(sth, imp_sth));
-
-
-void
-bind_param(sth, param, value, attribs=Nullsv)
-    SV *       sth
-    SV *       param
-    SV *       value
-    SV *       attribs
-    CODE:
-    {
-    IV sql_type = 0;
-    D_imp_sth(sth);
-    if (attribs) {
-        if (SvNIOK(attribs)) {
-            sql_type = SvIV(attribs);
-            attribs = Nullsv;
-        }
-        else {
-            SV **svp;
-            DBD_ATTRIBS_CHECK("bind_param", sth, attribs);
-           /* XXX we should perhaps complain if TYPE is not SvNIOK */
-            DBD_ATTRIB_GET_IV(attribs, "TYPE", 4, svp, sql_type);
-        }
-    }
-    ST(0) = dbd_bind_ph(sth, imp_sth, param, value, sql_type, attribs, FALSE, 0) ? &sv_yes : &sv_no;
-    }
-
-
-void
-bind_param_inout(sth, param, value_ref, maxlen, attribs=Nullsv)
-    SV *       sth
-    SV *       param
-    SV *       value_ref
-    IV                 maxlen
-    SV *       attribs
-    CODE:
-    {
-    IV sql_type = 0;
-    D_imp_sth(sth);
-    if (!SvROK(value_ref) || SvTYPE(SvRV(value_ref)) > SVt_PVMG) {
-        croak("bind_param_inout needs a reference to a scalar value");
-    }
-    if (SvREADONLY(SvRV(value_ref))) {
-       croak(no_modify);
-    }
-    if (attribs) {
-        if (SvNIOK(attribs)) {
-            sql_type = SvIV(attribs);
-            attribs = Nullsv;
-        }
-        else {
-            SV **svp;
-            DBD_ATTRIBS_CHECK("bind_param", sth, attribs);
-            DBD_ATTRIB_GET_IV(attribs, "TYPE", 4, svp, sql_type);
-        }
-    }
-    ST(0) = dbd_bind_ph(sth, imp_sth, param, SvRV(value_ref), sql_type, attribs, TRUE, maxlen) ? &sv_yes : &sv_no;
-    }
-
-
-void
-execute(sth, ...)
-    SV *       sth
-    CODE:
-    D_imp_sth(sth);
-    int ret;
-    if (items > 1) {
-       /* Handle binding supplied values to placeholders       */
-        int i;
-        SV *idx;
-        imp_sth->all_params_len = 0; /* used for malloc of statement string in case we have placeholders */
-        if (items-1 != DBIc_NUM_PARAMS(imp_sth)) {
-            croak("execute called with %ld bind variables, %d needed", items-1, DBIc_NUM_PARAMS(imp_sth));
-            XSRETURN_UNDEF;
-        }
-        idx = sv_2mortal(newSViv(0));
-        for(i=1; i < items ; ++i) {
-            sv_setiv(idx, i);
-            if (!dbd_bind_ph(sth, imp_sth, idx, ST(i), 0, Nullsv, FALSE, 0)) {
-               XSRETURN_UNDEF; /* dbd_bind_ph already registered error */
-            }
-        }
-    }
-    ret = dbd_st_execute(sth, imp_sth);
-    /* remember that dbd_st_execute must return <= -2 for error        */
-    if (ret == 0) {            /* ok with no rows affected     */
-        XST_mPV(0, "0E0");     /* (true but zero)              */
-    }
-    else if (ret < -1) {       /* -1 == unknown number of rows */
-        XST_mUNDEF(0);         /* <= -2 means error            */
-    }
-    else {
-        XST_mIV(0, ret);       /* typically 1, rowcount or -1  */
-    }
-
-
-void
-fetchrow_arrayref(sth)
-    SV *       sth
-    ALIAS:
-        fetch = 1
-    CODE:
-    D_imp_sth(sth);
-    AV *av = dbd_st_fetch(sth, imp_sth);
-    ST(0) = (av) ? sv_2mortal(newRV_inc((SV *)av)) : &sv_undef;
-
-
-void
-fetchrow_array(sth)
-    SV *       sth
-    ALIAS:
-        fetchrow = 1
-    PPCODE:
-    D_imp_sth(sth);
-    AV *av;
-    av = dbd_st_fetch(sth, imp_sth);
-    if (av) {
-        int num_fields = AvFILL(av)+1;
-        int i;
-        EXTEND(sp, num_fields);
-        for(i=0; i < num_fields; ++i) {
-            PUSHs(AvARRAY(av)[i]);
-        }
-    }
-
-
-void
-finish(sth)
-    SV *       sth
-    CODE:
-    D_imp_sth(sth);
-    D_imp_dbh_from_sth;
-    if (!DBIc_ACTIVE(imp_dbh)) {
-       /* Either an explicit disconnect() or global destruction        */
-       /* has disconnected us from the database. Finish is meaningless */
-       /* XXX warn */
-        XSRETURN_YES;
-    }
-    if (!DBIc_ACTIVE(imp_sth)) {
-       /* No active statement to finish        */
-        XSRETURN_YES;
-    }
-    ST(0) = dbd_st_finish(sth, imp_sth) ? &sv_yes : &sv_no;
-
-
-void
-blob_read(sth, field, offset, len, destrv=Nullsv, destoffset=0)
-    SV *        sth
-    int field
-    long        offset
-    long        len
-    SV *        destrv
-    long        destoffset
-    CODE:
-    {
-    D_imp_sth(sth);
-    if (!destrv) {
-        destrv = sv_2mortal(newRV_inc(sv_2mortal(newSViv(0))));
-    }
-    ST(0) = dbd_st_blob_read(sth, imp_sth, field, offset, len, destrv, destoffset) ? SvRV(destrv) : &sv_undef;
-    }
-
-void
-STORE(sth, keysv, valuesv)
-    SV *       sth
-    SV *       keysv
-    SV *       valuesv
-    CODE:
-    D_imp_sth(sth);
-    ST(0) = &sv_yes;
-    if (!dbd_st_STORE_attrib(sth, imp_sth, keysv, valuesv)) {
-        if (!DBIS->set_attr(sth, keysv, valuesv)) {
-            ST(0) = &sv_no;
-        }
-    }
-
-
-# FETCH renamed and ALIASed to avoid case clash on VMS :-(
-void
-FETCH_attrib(sth, keysv)
-    SV *       sth
-    SV *       keysv
-    ALIAS:
-    FETCH = 1
-    CODE:
-    D_imp_sth(sth);
-    SV *valuesv = dbd_st_FETCH_attrib(sth, imp_sth, keysv);
-    if (!valuesv) {
-        valuesv = DBIS->get_attr(sth, keysv);
-    }
-    ST(0) = valuesv;   /* dbd_st_FETCH_attrib did sv_2mortal   */
-
-
-void
-DESTROY(sth)
-    SV *       sth
-    PPCODE:
-    D_imp_sth(sth);
-    ST(0) = &sv_yes;
-    if (!DBIc_IMPSET(imp_sth)) {       /* was never fully set up       */
-        if (DBIc_WARN(imp_sth) && !dirty && dbis->debug >= 2) {
-            warn("Statement handle %s DESTROY ignored - never set up", SvPV(sth,na));
-        }
-    }
-    else {
-        if (DBIc_IADESTROY(imp_sth)) { /* want's ineffective destroy    */
-            DBIc_ACTIVE_off(imp_sth);
-        }
-        if (DBIc_ACTIVE(imp_sth)) {
-            dbd_st_finish(sth, imp_sth);
-        }
-        dbd_st_destroy(sth, imp_sth);
-    }
-
-
-# end of Pg.xs
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/README b/install/5.005/DBD-Pg-1.22-fixvercmp/README
deleted file mode 100644 (file)
index 7edebde..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-
-DBD::Pg  --  the DBI PostgreSQL interface for Perl
-
-# $Id: README,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-DESCRIPTION:
-------------
-
-This is version 1.21 of DBD-Pg.  The web site for this interface is at:
-
-       http://gborg.postgresql.org/project/dbdpg/projdisplay.php
-
-For further information about DBI look at:
-
-       http://dbi.perl.org/
-
-For information about PostgreSQL, visit:
-    
-       http://www.postgresql.org/
-
-COPYRIGHT:
-----------
-
-       Portions Copyright (c) 1994,1995,1996,1997 Tim Bunce
-       Copyright (c) 1997,1998,1999,2000 Edmund Mergl
-       Copyright (c) 2002 Jeffrey W. Baker
-       Copyright (c) 2002 PostgreSQL Global Development Group
-   
-You may distribute under the terms of either the GNU General Public
-License or the Artistic License, as specified in the Perl README file.
-
-
-HOW TO GET THE LATEST VERSION:
-------------------------------
-
-Use the following URL to look for new versions of this module: 
-
-       http://gborg.postgresql.org/project/dbdpg/projdisplay.php
-
-or
-
-       http://www.perl.com/CPAN/modules/by-module/DBD/
-
-Note, that this request will be redirected automatically to the 
-nearest CPAN site. 
-
-
-IF YOU HAVE PROBLEMS:
----------------------
-
-Please send comments and bug-reports to <dbd-general@gborg.postgresql.org>
-
-Please include the output of perl -v and perl -V, the version of PostgreSQL,
-the version of DBD-Pg, the version of DBI, and details about your platform
-in your bug-report.
-
-
-REQUIREMENTS:
--------------
-
-       build, test, and install Perl 5         (at least 5.005)
-       build, test, and install the DBI module (at least 1.30)
-       build, test, and install PostgreSQL     (at least 7.3)
-        build, test, and install Test::Simple   (at least 0.17)
-
-INSTALLATION:
--------------
-
-By default Makefile.PL uses App:Info to find the location of the
-PostgreSQL library and include directories.  However, if you want to
-control it yourself, define the environment variables POSTGRES_INCLUDE
-and POSTGRES_LIB, or POSTGRES_HOME.
-
-       1.   perl Makefile.PL
-       2.   make
-       3.   make test
-       4.   make install
-
-Do steps 1 to 3 as normal user, not as root!
-
-
-TESTING:
---------
-
-The tests are designed to connect to a live database.  The following
-environment variables must be set for the tests to run:
-
-        DBI_DSN=dbi:Pg:dbname=<database>
-        DBI_USER=<username>
-        DBI_PASS=<password>
-
-If you are using the shared library libpq.so check if your dynamic
-loader  finds libpq.so. With Linux the command /sbin/ldconfig -v should
-tell you,  where it finds libpq.so. If ldconfig does not find libpq.so,
-either add an  appropriate entry to /etc/ld.so.conf and re-run ldconfig
-or add the path to  the environment variable LD_LIBRARY_PATH.
-
-A typical error message resulting from not finding libpq.so is: 
-
-       install_driver(Pg) failed: Can't load './blib/arch/auto/DBD/Pg/Pg.so' 
-       for module DBD::Pg: File not found at 
-
-If you get an error message like:
-
-       perl: error while loading shared libraries:
-       /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/Pg/Pg.so: undefined
-       symbol: PQconnectdb
-
-when you call DBI->connect, then your libpq.so was probably not seen at
-build-time. This should have caused 'make test' to fail; did you really
-run it and look at the output? Check the setting of POSTGRES_LIB and
-recompile DBD-Pg.
-Some linux distributions have incomplete perl installations. If you have
-compile errors like "XS_VERSION_BOOTCHECK undeclared", do:
-
-       find .../lib/perl5 -name XSUB.h -print
-
-If this file is not present, you need to recompile and re-install perl.
-
-SGI users: if you get segmentation faults make sure, you use the malloc
-which  comes with perl when compiling perl (the default is not to).
-"David R. Noble" <drnoble@engsci.sandia.gov>
-
-HP users: if you get error messages like:
-
-       can't open shared library: .../lib/libpq.sl
-       No such file or directory
-
-when running the test script, try to replace the  'shared' option in the
-LDDFLAGS with 'archive'. Dan Lauterbach <danla@dimensional.com>
-
-
-FreeBSD users: if you get during make test the error message:
-
-       'DBD driver has not implemented the AutoCommit attribute'
-
-recompile the DBI module and the DBD-Pg module and disable optimization.
-This error message is due to the broken optimization in gcc-2.7.2.1.
-
-If you get compiler errors like:
-       In function `XS_DBD__Pg__dr_discon_all_'
-    `sv_yes' undeclared (first use in this function)
-
-It may be because there is a 'patchlevel.h' file from another package 
-(such as 'hdf') in your POSTGRES_INCLUDE dir.  The presence of this file 
-prevents the compiler from finding the perl include file 
-'mach/CORE/patchlevel.h'.  Do 'pg_config --includedir' to identify the 
-POSTGRES_INCLUDE dir.  Rename patchlevel.h whilst you build DBD::Pg. 
-
-
-Sun Users: if you get compile errors like:
-
-       /usr/include/string.h:57: parse error before `]'
-
-then you need to remove from pgsql/include/libpq-fe.h the define for
-strerror, which clashes with the definition in the standard include
-file.
-
-Win32 Users: Running DBD-Pg scripts on Win32 needs some configuration work
-on the server side:
-
-       o add a postgres user with the same name as the NT-User 
-         (eg Administrator)
-       o make sure, that your pg_hba.conf on the server is configured,
-         such that a connection from another host will be accepted
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/README.win32 b/install/5.005/DBD-Pg-1.22-fixvercmp/README.win32
deleted file mode 100644 (file)
index 3cbe673..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-
-$Id: README.win32,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-
-Here is a step-by-step procedure for getting DBD-Pg to work on Windows
-NT. This Port has been done by Bob Kline <bkline@rksystems.com>. 
-
-
-prerequisites: (older versions might also work, but these are the 
---------------   versions I used)
-
-       o Windows NT4 SP4
-       o Visual Studio 6.0
-       o ActivePerl-5_6_0_613 with DBI-1.13
-       o postgresql-7.0.2
-       o DBD-Pg-0.95
-
-Here we assume, that perl and postgresql have been installed in C:\. Now
-perform the following steps:
-
-
-1. compile libpq
-----------------
-
-set POSTGRES_HOME=C:\postgresql-7.0.2
-cd postgresql-7.0.2
-mkdir lib
-mkdir include
-cd src
-copy include\port\win32.h include\os.h
-edit interfaces\libpq\fe-connect.c and add as first statement in connectDBStart() the following code:
-  #ifdef WIN32
-      static int WeHaveCalledWSAStartup;
-      if (!WeHaveCalledWSAStartup) {
-          WSADATA wsaData;
-          if (WSAStartup(MAKEWORD(1, 1), &wsaData)) {
-              printfPQExpBuffer(&conn->errorMessage, "WSAStartup failed: errno=%d\n", h_errno);
-              goto connect_errReturn;
-          }
-          WeHaveCalledWSAStartup = 1;
-      }
-  #endif
-edit interfaces\libpq\win32.mak and change the flag /ML to /MD:   CPP_PROJ=/nologo /MD ...
-nmake /f win32.mak
-cd ..
-copy src\interfaces\libpq\Release\libpq.lib  lib
-copy src\interfaces\libpq\libpq-fe.h         include
-copy src\include\postgres_ext.h              include
-cd ..
-
-
-2. build DBD-Pg
----------------
-
-cd DBD-Pg
-perl Makefile.PL CAPI=TRUE
-nmake
-set the environment variable PGHOST to the name of the postgresql server: set PGHOST=myserver
-add on the server a postgres user with the same name as the NT-User (eg Administrator)
-make sure, that your pg_hba.conf on the server is configured, such that a connection from another host will be accepted
-mkdir C:\tmp
-nmake test   (expect to get errors concerning blobs)
-nmake install
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/dbd-pg.pod b/install/5.005/DBD-Pg-1.22-fixvercmp/dbd-pg.pod
deleted file mode 100644 (file)
index ccbbc63..0000000
+++ /dev/null
@@ -1,411 +0,0 @@
-
-# $Id: dbd-pg.pod,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-=head1 NAME
-
-DBD::Pg - PostgreSQL database driver for the DBI module
-
-=head1 DESCRIPTION
-
-DBD::Pg is a Perl module which works with the DBI module to provide
-access to PostgreSQL databases.
-
-=head1 DBD::Pg
-
-=begin docbook
-<!-- The following blank =head1 is to allow us to use purely =head2 headings -->
-<!-- This keeps the POD fairly simple with regards to Pod::DocBook -->
-
-=end docbook
-
-=head1
-
-=head2 Version
-
-Version 0.91.
-
-=head2 Author and Contact Details
-
-The driver author is Edmund Mergl.  He can be contacted via the
-I<dbi-users> mailing list.
-
-
-=head2 Supported Database Versions and Options
-
-The DBD-Pg-0.92 module supports Postgresql 6.5.
-
-
-=head2 Connect Syntax
-
-The C<DBI-E<gt>connect()> Data Source Name, or I<DSN>, can be one of the
-following:
-
-  dbi:Pg:dbname=$dbname
-  dbi:Pg:dbname=$dbname;host=$host;port=$port;options=$options;tty=$tty
-
-All parameters, including the userid and password parameter of the 
-connect command, have a hard-coded default which can be overridden 
-by setting appropriate environment variables:
-
-  Parameter  Environment Variable  Default
-  ---------  --------------------  --------------
-  dbname     PGDATABASE            current userid
-  host       PGHOST                localhost
-  port       PGPORT                5432
-  options    PGOPTIONS             ""
-  tty        PGTTY                 ""
-  username   PGUSER                current userid
-  password   PGPASSWORD            ""
-
-There are no driver specific attributes for the C<DBI->connect()> method.
-
-
-=head2 Numeric Data Handling
-
-Postgresql supports the following numeric types:
-
-  Postgresql     Range
-  ----------     --------------------------
-  int2           -32768 to +32767
-  int4           -2147483648 to +2147483647
-  float4         6 decimal places
-  float8         15 decimal places
-
-Some platforms also support the int8 type.
-C<DBD::Pg> always returns all numbers as strings.
-
-
-=head2 String Data Handling
-
-Postgresql supports the following string data types:
-
-  CHAR            single character
-  CHAR(size)      fixed length blank-padded
-  VARCHAR(size)   variable length with limit
-  TEXT            variable length
-
-All string data types have a limit of 4096 bytes. 
-The CHAR type is fixed length and blank padded.
-
-There is no special handling for data with the 8th bit set. They
-are stored unchanged in the database. 
-None of the character types can store embedded nulls and Unicode is
-not formally supported.
-
-Strings can be concatenated using the C<||> operator.
-
-
-=head2 Date Data Handling
-
-Postgresql supports the following date time data types:
-
-  Type       Storage   Recommendation              Description
-  ---------  --------  --------------------------  ----------------------------
-  abstime     4 bytes  original date and time      limited range
-  date        4 bytes  SQL92 type                  wide range
-  datetime    8 bytes  best general date and time  wide range, high precision
-  interval   12 bytes  SQL92 type                  equivalent to timespan
-  reltime     4 bytes  original time interval      limited range, low precision
-  time        4 bytes  SQL92 type                  wide range
-  timespan   12 bytes  best general time interval  wide range, high precision
-  timestamp   4 bytes  SQL92 type                  limited range
-
-  Data Type    Range                               Resolution
-  ----------   ----------------------------------  -----------
-  abstime      1901-12-14        2038-01-19        1 sec
-  timestamp    1901-12-14        2038-01-19        1 sec
-  reltime      -68 years         +68 years         1 sec
-  tinterval    -178000000 years  +178000000 years  1 microsec
-  timespan     -178000000 years  178000000 years   1 microsec
-  date         4713 BC             32767 AD        1 day
-  datetime     4713 BC           1465001 AD        1 microsec
-  time         00:00:00:00       23:59:59:99       1 microsec
-
-Postgresql supports a range of date formats:
-
-  Name           Example
-  -----------    ----------------------
-  ISO            1997-12-17 0:37:16-08
-  SQL            12/17/1997 07:37:16.00 PST
-  Postgres       Wed Dec 17 07:37:16 1997 PST
-  European       17/12/1997 15:37:16.00 MET
-  NonEuropean    12/17/1997 15:37:16.00 MET
-  US             12/17/1997 07:37:16.00 MET
-
-The default output format does not depend on the client/server locale.
-It depends on, in increasing priority: the PGDATESTYLE environment
-variable at the server, the PGDATESTYLE environment variable at the client, and
-the C<SET DATESTYLE> SQL command.
-
-All of the formats described above can be used for input. A great many
-others can also be used. There is no specific default input format.
-If the format of a date input is ambiguous then the current DATESTYLE
-is used to help disambiguate.
-
-If you specify a date/time value without a time component, the default 
-time is 00:00:00 (midnight). To specify a date/time value without a date 
-is not allowed. 
-If a date with a two digit year is input then if the year was less than
-70, add 2000; otherwise, add 1900.
-
-The currect date/time is returned by the keyword C<'now'> or C<'current'>,
-which has to be casted to a valid data type. For example:
-
-  SELECT 'now'::datetime
-
-Postgresql supports a range of date time functions for converting
-between types, extracting parts of a date time value, truncating to a
-given unit, etc. The usual arithmetic can be performed on date and
-interval values, e.g., date-date=interval, etc.
-
-The following SQL expression can be used to convert an integer "seconds
-since 1-jan-1970 GMT" value to the corresponding database date time:
-
-  DATETIME(unixtime_field)
-
-and to do the reverse:
-
-  DATE_PART('epoch', datetime_field)
-
-The server stores all dates internally in GMT.  Times are converted to
-local time on the database server before being sent to the client
-frontend, hence by default are in the server time zone.
-
-The TZ environment variable is used by the server as default time
-zone.  The PGTZ environment variable on the client side is used to send
-the time zone information to the backend upon connection. The SQL C<SET
-TIME ZONE> command can set the time zone for the current session.
-
-
-=head2 LONG/BLOB Data Handling
-
-Postgresql handles BLOBS using a so called "large objects" type. The
-handling of this type differs from all other data types. The data are
-broken into chunks, which are stored in tuples in the database. Access
-to large objects is given by an interface which is modelled closely
-after the UNIX file system. The maximum size is limited by the file
-size of the operating system.
-
-
-If you just select the field, you get a "large object identifier" and
-not the data itself. The I<LongReadLen> and I<LongTruncOk> attributes are
-not implemented because they don't make sense in this case. The only
-method implemented by the driver is the undocumented DBI method
-C<blob_read()>.
-
-
-=head2 Other Data Handling issues
-
-The C<DBD::Pg> driver supports the C<type_info()> method.
-
-Postgresql supports automatic conversions between data types wherever
-it's reasonable.
-
-=head2 Transactions, Isolation and Locking
-
-Postgresql supports transactions.
-The current default isolation transaction level is "Serializable" and
-is currently implemented using table level locks. Both may change.
-No other isolation levels for transactions are supported.
-
-With AutoCommit on, a query never places a lock on a table. Readers
-never block writers and writers never block readers. This behavior
-changes whenever a transaction is started (AutoCommit off). Then a
-query induces a shared lock on a table and blocks anyone else
-until the transaction has been finished.
-
-The C<LOCK TABLE table_name> statement can be used to apply an explicit
-lock on a table. This only works inside a transaction (AutoCommit off).
-
-To ensure that a table being selected does not change before you make
-an update later in the transaction, you must explicitly lock it with a
-C<LOCK TABLE> statement before executing the select.
-
-
-=head2 No-Table Expression Select Syntax
-
-To select a constant expression, that is, an expression that doesn't involve
-data from a database table or view, just omit the "from" clause.
-Here's an example that selects the current time as a datetime:
-
-  SELECT 'now'::datetime;
-
-=head2 Table Join Syntax
-
-Outer joins are not supported. Inner joins use the traditional syntax.
-
-=head2 Table and Column Names
-
-The max size of table and column names cannot exceed 31 charaters in
-length.
-Only alphanumeric characters can be used; the first character must
-be a letter.
-
-If an identifier is enclosed by double quotation marks (C<">), it can
-contain any combination of characters except double quotation marks.
-
-Postgresql converts all identifiers to lower-case unless enclosed in
-double quotation marks.
-National character set characters can be used, if enclosed in quotation
-marks.
-
-
-=head2 Case Sensitivity of LIKE Operator
-
-Postgresql has the following string matching operators:
-
- Glyph Description                                Example
- ----- ----------------------------------------   -----------------------------
- ~~    Same as SQL "LIKE" operator                'scrappy,marc' ~~ '%scrappy%'
- !~~   Same as SQL "NOT LIKE" operator            'bruce' !~~ '%al%'
- ~     Match (regex), case sensitive              'thomas' ~ '.*thomas.*'
- ~*    Match (regex), case insensitive            'thomas' ~* '.*Thomas.*'
- !~    Does not match (regex), case sensitive     'thomas' !~ '.*Thomas.*'
- !~*   Does not match (regex), case insensitive   'thomas' !~ '.*vadim.*'
-
-
-=head2 Row ID
-
-The Postgresql "row id" pseudocolumn is called I<oid>, object identifier.
-It can be treated as a string and used to rapidly (re)select rows.
-
-
-=head2 Automatic Key or Sequence Generation
-
-Postgresql does not support automatic key generation such as "auto
-increment" or "system generated" keys.
-
-However, Postgresql does support "sequence generators". Any number of
-named sequence generators can be created in a database. Sequences 
-are used via functions called C<NEXTVAL> and C<CURRVAL>. Typical usage:
-
-  INSERT INTO table (k, v) VALUES (nextval('seq_name'), ?);
-
-To get the value just inserted, you can use the corresponding C<currval()>
-SQL function in the same session, or
-
-  SELECT last_value FROM seq_name
-
-
-=head2 Automatic Row Numbering and Row Count Limiting
-
-Postgresql does not support any way of automatically numbering returned rows.
-
-
-=head2 Parameter Binding
-
-Parameter binding is emulated by the driver.
-Both the C<?> and C<:1> style of placeholders are supported.
-
-The TYPE attribute of the C<bind_param()> method may be used to
-influence how parameters are treated. These SQL types are bound as
-VARCHAR: SQL_NUMERIC, SQL_DECIMAL, SQL_INTEGER, SQL_SMALLINT,
-SQL_FLOAT, SQL_REAL, SQL_DOUBLE, SQL_VARCHAR.
-
-The SQL_CHAR type is bound as a CHAR thus enabling fixed-width blank
-padded comparison semantics.
-
-Unsupported values of the TYPE attribute generate a warning.
-
-
-=head2 Stored Procedures
-
-C<DBD::Pg> does not support stored procedures.
-
-
-=head2 Table Metadata
-
-C<DBD::Pg> supports the C<table_info()> method.
-
-The I<pg_attribute> table contains detailed information about all columns
-of all the tables in the database, one row per table. 
-
-The I<pg_index> table contains detailed information about all indexes in
-the database, one row per index.
-
-Primary keys are implemented as unique indexes. See I<pg_index> above.
-
-
-=head2 Driver-specific Attributes and Methods
-
-There are no significant C<DBD::Pg> driver-specific database handle attributes.
-
-C<DBD::Pg> has the following driver-specific statement handle attributes:
-
-=over 8
-
-=item I<pg_size>
-
-Returns a reference to an array of integer values for each column. The
-integer shows the storage (not display) size of the column in bytes.
-Variable length columns are indicated by -1.
-
-=item I<pg_type>
-
-Returns a reference to an array of strings for each column. The string
-shows the name of the data type.
-
-=item I<pg_oid_status>
-
-Returns the OID of the last INSERT command.
-
-=item I<pg_cmd_status>
-
-Returns the name of the last command type. Possible types are: INSERT,
-DELETE, UPDATE, SELECT.
-
-=back
-
-
-C<DBD::Pg> has no private methods.
-
-
-=head2 Positioned updates and deletes
-
-Postgresql does not support positioned updates or deletes.
-
-
-=head2 Differences from the DBI Specification
-
-C<DBD::Pg> has no significant differences in behavior from the
-current DBI specification.
-
-Note that C<DBD::Pg> does not fully parse the statement until
-it's executed. Thus attributes like I<$sth-E<gt>{NUM_OF_FIELDS}> are not
-available until after C<$sth-E<gt>execute> has been called. This is valid
-behaviour but is important to note when porting applications
-originally written for other drivers.
-
-
-=head2 URLs to More Database/Driver Specific Information
-
-  http://www.postgresql.org
-
-
-=head2 Concurrent use of Multiple Handles
-
-C<DBD::Pg> supports an unlimited number of concurrent database
-connections to one or more databases.
-
-It also supports the preparation and execution of a new statement
-handle while still fetching data from another statement handle,
-provided it is 
-associated with the same database handle.
-
-
-=head2 Other Significant Database or Driver Features
-
-Postgres offers substantial additional power by incorporating the
-following four additional basic concepts in such a way that users can
-easily extend the system: classes, inheritance, types, and functions.
-
-Other features provide additional power and flexibility: constraints,
-triggers, rules, transaction integrity, procedural languages, and large objects.
-
-It's also free Open Source Software with an active community of developers.
-
-=cut
-
-# This driver summary for DBD::Pg is Copyright (c) 1999 Tim Bunce
-# and Edmund Mergl.
-# $Id: dbd-pg.pod,v 1.1 2004-04-29 09:21:28 ivan Exp $
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/dbdimp.c b/install/5.005/DBD-Pg-1.22-fixvercmp/dbdimp.c
deleted file mode 100644 (file)
index 55f4ee7..0000000
+++ /dev/null
@@ -1,2024 +0,0 @@
-/*
-   $Id: dbdimp.c,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-   Copyright (c) 1997,1998,1999,2000 Edmund Mergl
-   Copyright (c) 2002 Jeffrey W. Baker
-   Portions Copyright (c) 1994,1995,1996,1997 Tim Bunce
-   
-   You may distribute under the terms of either the GNU General Public
-   License or the Artistic License, as specified in the Perl README file.
-
-*/
-
-
-/* 
-   hard-coded OIDs:   (here we need the postgresql types)
-                    pg_sql_type()  1042 (bpchar), 1043 (varchar)
-                    ddb_st_fetch() 1042 (bpchar),   16 (bool)
-                    ddb_preparse() 1043 (varchar)
-                    pgtype_bind_ok()
-*/
-
-#include "Pg.h"
-
-/* XXX DBI should provide a better version of this */
-#define IS_DBI_HANDLE(h)  (SvROK(h) && SvTYPE(SvRV(h)) == SVt_PVHV && SvRMAGICAL(SvRV(h)) && (SvMAGIC(SvRV(h)))->mg_type == 'P')
-
-DBISTATE_DECLARE;
-
-/* hard-coded array delimiter */
-static char* array_delimiter = ",";
-
-static void dbd_preparse  (imp_sth_t *imp_sth, char *statement);
-
-
-void
-dbd_init (dbistate)
-    dbistate_t *dbistate;
-{
-    DBIS = dbistate;
-}
-
-
-int
-dbd_discon_all (drh, imp_drh)
-    SV *drh;
-    imp_drh_t *imp_drh;
-{
-    dTHR;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_discon_all\n"); }
-
-    /* The disconnect_all concept is flawed and needs more work */
-    if (!dirty && !SvTRUE(perl_get_sv("DBI::PERL_ENDING",0))) {
-        sv_setiv(DBIc_ERR(imp_drh), (IV)1);
-        sv_setpv(DBIc_ERRSTR(imp_drh),
-                 (char*)"disconnect_all not implemented");
-        DBIh_EVENT2(drh, ERROR_event,
-                 DBIc_ERR(imp_drh), DBIc_ERRSTR(imp_drh));
-        return FALSE;
-    }
-    if (perl_destruct_level) {
-        perl_destruct_level = 0;
-    }
-    return FALSE;
-}
-
-
-/* Database specific error handling. */
-
-void
-pg_error (h, error_num, error_msg)
-    SV *h;
-    int error_num;
-    char *error_msg;
-{
-    D_imp_xxh(h);
-    char *err, *src, *dst; 
-    int  len  = strlen(error_msg);
-
-    err = (char *)malloc(len + 1);
-    if (!err) {
-      return;
-    }
-    src = error_msg;
-    dst = err;
-
-    /* copy error message without trailing newlines */
-    while (*src != '\0' && *src != '\n') {
-        *dst++ = *src++;
-    }
-    *dst = '\0';
-
-    sv_setiv(DBIc_ERR(imp_xxh), (IV)error_num);         /* set err early */
-    sv_setpv(DBIc_ERRSTR(imp_xxh), (char*)err);
-    DBIh_EVENT2(h, ERROR_event, DBIc_ERR(imp_xxh), DBIc_ERRSTR(imp_xxh));
-    if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "%s error %d recorded: %s\n", err, error_num, SvPV(DBIc_ERRSTR(imp_xxh),na)); }
-    free(err);
-}
-
-static int
-pgtype_bind_ok (dbtype)
-    int dbtype;
-{
-    /* basically we support types that can be returned as strings */
-    switch(dbtype) {
-    case   16: /* bool         */
-    case   17: /* bytea        */
-    case   18: /* char         */
-    case   20: /* int8         */
-    case   21: /* int2         */
-    case   23: /* int4         */
-    case   25: /* text         */
-    case   26: /* oid          */
-    case  700: /* float4       */
-    case  701: /* float8       */
-    case  702: /* abstime      */
-    case  703: /* reltime      */
-    case  704: /* tinterval    */
-    case 1042: /* bpchar       */
-    case 1043: /* varchar      */
-    case 1082: /* date         */
-    case 1083: /* time         */
-    case 1184: /* datetime     */
-    case 1186: /* timespan     */
-    case 1296: /* timestamp    */
-        return 1;
-    }
-    return 0;
-}
-
-
-/* ================================================================== */
-
-int
-pg_db_login (dbh, imp_dbh, dbname, uid, pwd)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-    char *dbname;
-    char *uid;
-    char *pwd;
-{
-    dTHR;
-
-    char *conn_str;
-    char *src;
-    char *dest;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "pg_db_login\n"); }
-
-    /* build connect string */
-    /* DBD-Pg syntax: 'dbname=dbname;host=host;port=port' */
-    /* pgsql  syntax: 'dbname=dbname host=host port=port user=uid password=pwd' */
-
-    conn_str = (char *)malloc(strlen(dbname) + strlen(uid) + strlen(pwd) + 16 + 1);
-    if (! conn_str) {
-        return 0;
-    }
-
-    src  = dbname;
-    dest = conn_str;
-    while (*src) {
-        if (*src != ';') {
-            *dest++ = *src++;
-            continue;
-        }
-        *dest++ = ' ';
-        src++;
-    }
-    *dest = '\0';
-
-    if (strlen(uid)) {
-        strcat(conn_str, " user=");
-        strcat(conn_str, uid);
-    }
-    if (strlen(uid) && strlen(pwd)) {
-        strcat(conn_str, " password=");
-        strcat(conn_str, pwd);
-    }
-
-    if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "pg_db_login: conn_str = >%s<\n", conn_str); }
-
-    /* make a connection to the database */
-    imp_dbh->conn = PQconnectdb(conn_str);
-    free(conn_str);
-
-    /* check to see that the backend connection was successfully made */
-    if (PQstatus(imp_dbh->conn) != CONNECTION_OK) {
-        pg_error(dbh, PQstatus(imp_dbh->conn), PQerrorMessage(imp_dbh->conn));
-        PQfinish(imp_dbh->conn);
-        return 0;
-    }
-
-    imp_dbh->init_commit = 1;                  /* initialize AutoCommit */
-    imp_dbh->pg_auto_escape = 1;               /* initialize pg_auto_escape */
-    imp_dbh->pg_bool_tf = 0;                    /* initialize pg_bool_tf */
-
-    DBIc_IMPSET_on(imp_dbh);                   /* imp_dbh set up now */
-    DBIc_ACTIVE_on(imp_dbh);                   /* call disconnect before freeing */
-    return 1;
-}
-
-
-int 
-dbd_db_getfd (dbh, imp_dbh)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-{
-    char id;
-    SV* retsv;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_getfd\n"); }
-
-    return PQsocket(imp_dbh->conn);
-}
-
-SV * 
-dbd_db_pg_notifies (dbh, imp_dbh)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-{
-    char id;
-    PGnotify* notify;
-    AV* ret;
-    SV* retsv;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_pg_notifies\n"); }
-
-    PQconsumeInput(imp_dbh->conn);
-
-    notify = PQnotifies(imp_dbh->conn);
-
-    if (!notify) return &sv_undef; 
-
-    ret=newAV();
-
-    av_push(ret, newSVpv(notify->relname,0) );
-    av_push(ret, newSViv(notify->be_pid) );
-
-    /* Should free notify memory with PQfreemem() */
-    retsv = newRV(sv_2mortal((SV*)ret));
-
-    return retsv;
-}
-
-int
-dbd_db_ping (dbh)
-    SV *dbh;
-{
-    char id;
-    D_imp_dbh(dbh);
-    PGresult* result;
-    ExecStatusType status;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_ping\n"); }
-
-    if (NULL != imp_dbh->conn) {
-        result = PQexec(imp_dbh->conn, " ");
-        status = result ? PQresultStatus(result) : -1;
-        PQclear(result);
-
-        if (PGRES_EMPTY_QUERY != status) {
-            return 0;
-        }
-
-        return 1;
-    }
-    
-    return 0;
-}
-
-
-int
-dbd_db_commit (dbh, imp_dbh)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-{
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_commit\n"); }
-
-    /* no commit if AutoCommit = on */
-    if (DBIc_has(imp_dbh, DBIcf_AutoCommit) != FALSE) {
-        return 0;
-    }
-
-    if (NULL != imp_dbh->conn) {
-        PGresult* result = 0;
-        ExecStatusType commitstatus, beginstatus;
-
-        /* execute commit */
-        result = PQexec(imp_dbh->conn, "commit");
-        commitstatus = result ? PQresultStatus(result) : -1;
-        PQclear(result);
-
-        /* check result */
-        if (commitstatus != PGRES_COMMAND_OK) {
-           /* Only put the error message in DBH->errstr */
-           pg_error(dbh, commitstatus, PQerrorMessage(imp_dbh->conn));
-        }
-
-        /* start new transaction.  AutoCommit must be FALSE, ref. 20 lines up */
-        result = PQexec(imp_dbh->conn, "begin");
-        beginstatus = result ? PQresultStatus(result) : -1;
-        PQclear(result);
-        if (beginstatus != PGRES_COMMAND_OK) {
-           /* Maybe add some loud barf here? Raising some very high error? */
-            pg_error(dbh, beginstatus, "begin failed\n");
-            return 0;
-        }
-
-       /* if the initial COMMIT failed, return 0 now */
-       if (commitstatus != PGRES_COMMAND_OK) {
-            return 0;
-        }
-        
-        return 1;
-    }
-    
-    return 0;
-}
-
-
-int
-dbd_db_rollback (dbh, imp_dbh)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-{
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_rollback\n"); }
-
-    /* no rollback if AutoCommit = on */
-    if (DBIc_has(imp_dbh, DBIcf_AutoCommit) != FALSE) {
-        return 0;
-    }
-
-    if (NULL != imp_dbh->conn) {
-        PGresult* result = 0;
-        ExecStatusType status;
-        
-        /* execute rollback */
-        result = PQexec(imp_dbh->conn, "rollback");
-        status = result ? PQresultStatus(result) : -1;
-        PQclear(result);
-
-        /* check result */
-        if (status != PGRES_COMMAND_OK) {
-            pg_error(dbh, status, "rollback failed\n");
-            return 0;
-        }
-
-        /* start new transaction.  AutoCommit must be FALSE, ref. 20 lines up */
-        result = PQexec(imp_dbh->conn, "begin");
-        status = result ? PQresultStatus(result) : -1;
-        PQclear(result);
-        if (status != PGRES_COMMAND_OK) {
-            pg_error(dbh, status, "begin failed\n");
-            return 0;
-        }
-        
-        return 1;
-    }
-
-    return 0;
-}
-
-
-int
-dbd_db_disconnect (dbh, imp_dbh)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-{
-    dTHR;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_disconnect\n"); }
-
-    /* We assume that disconnect will always work      */
-    /* since most errors imply already disconnected.   */
-    DBIc_ACTIVE_off(imp_dbh);
-
-    if (NULL != imp_dbh->conn) {
-        /* rollback if AutoCommit = off */
-        if (DBIc_has(imp_dbh, DBIcf_AutoCommit) == FALSE) {
-            PGresult* result = 0;
-            ExecStatusType status;
-            result = PQexec(imp_dbh->conn, "rollback");
-            status = result ? PQresultStatus(result) : -1;
-            PQclear(result);
-            if (status != PGRES_COMMAND_OK) {
-                pg_error(dbh, status, "rollback failed\n");
-                return 0;
-            }
-            if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "dbd_db_disconnect: AutoCommit=off -> rollback\n"); }
-        }
-
-        PQfinish(imp_dbh->conn);
-        
-        imp_dbh->conn = NULL;
-    }
-    
-    /* We don't free imp_dbh since a reference still exists    */
-    /* The DESTROY method is the only one to 'free' memory.    */
-    /* Note that statement objects may still exists for this dbh!      */
-    return 1;
-}
-
-
-void
-dbd_db_destroy (dbh, imp_dbh)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-{
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_destroy\n"); }
-
-    if (DBIc_ACTIVE(imp_dbh)) {
-        dbd_db_disconnect(dbh, imp_dbh);
-    }
-
-    /* Nothing in imp_dbh to be freed  */
-    DBIc_IMPSET_off(imp_dbh);
-}
-
-
-int
-dbd_db_STORE_attrib (dbh, imp_dbh, keysv, valuesv)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-    SV *keysv;
-    SV *valuesv;
-{
-    STRLEN kl;
-    char *key = SvPV(keysv,kl);
-    int newval = SvTRUE(valuesv);
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_STORE\n"); }
-
-    if (kl==10 && strEQ(key, "AutoCommit")) {
-        int oldval = DBIc_has(imp_dbh, DBIcf_AutoCommit);
-        DBIc_set(imp_dbh, DBIcf_AutoCommit, newval);
-        if (oldval == FALSE && newval != FALSE && imp_dbh->init_commit) {
-            /* do nothing, fall through */
-            if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "dbd_db_STORE: initialize AutoCommit to on\n"); }
-        } else if (oldval == FALSE && newval != FALSE) {
-            if (NULL != imp_dbh->conn) {
-                /* commit any outstanding changes */
-                PGresult* result = 0;
-                ExecStatusType status;
-                result = PQexec(imp_dbh->conn, "commit");
-                status = result ? PQresultStatus(result) : -1;
-                PQclear(result);
-                if (status != PGRES_COMMAND_OK) {
-                    pg_error(dbh, status, "commit failed\n");
-                    return 0;
-                }
-            }            
-            if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "dbd_db_STORE: switch AutoCommit to on: commit\n"); }
-        } else if ((oldval != FALSE && newval == FALSE) || (oldval == FALSE && newval == FALSE && imp_dbh->init_commit)) {
-            if (NULL != imp_dbh->conn) {
-                /* start new transaction */
-                PGresult* result = 0;
-                ExecStatusType status;
-                result = PQexec(imp_dbh->conn, "begin");
-                status = result ? PQresultStatus(result) : -1;
-                PQclear(result);
-                if (status != PGRES_COMMAND_OK) {
-                    pg_error(dbh, status, "begin failed\n");
-                    return 0;
-                }
-            }
-            if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "dbd_db_STORE: switch AutoCommit to off: begin\n"); }
-        }
-        /* only needed once */
-        imp_dbh->init_commit = 0;
-        return 1;
-    } else if (kl==14 && strEQ(key, "pg_auto_escape")) {
-        imp_dbh->pg_auto_escape = newval;
-    } else if (kl==10 && strEQ(key, "pg_bool_tf")) {
-       imp_dbh->pg_bool_tf = newval;
-#ifdef SvUTF8_off
-    } else if (kl==14 && strEQ(key, "pg_enable_utf8")) {
-        imp_dbh->pg_enable_utf8 = newval;
-#endif
-    } else {
-        return 0;
-    }
-}
-
-
-SV *
-dbd_db_FETCH_attrib (dbh, imp_dbh, keysv)
-    SV *dbh;
-    imp_dbh_t *imp_dbh;
-    SV *keysv;
-{
-    STRLEN kl;
-    char *key = SvPV(keysv,kl);
-    SV *retsv = Nullsv;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_db_FETCH\n"); }
-
-    if (kl==10 && strEQ(key, "AutoCommit")) {
-        retsv = boolSV(DBIc_has(imp_dbh, DBIcf_AutoCommit));
-    } else if (kl==14 && strEQ(key, "pg_auto_escape")) {
-        retsv = newSViv((IV)imp_dbh->pg_auto_escape);
-    } else if (kl==10 && strEQ(key, "pg_bool_tf")) {
-       retsv = newSViv((IV)imp_dbh->pg_bool_tf);
-#ifdef SvUTF8_off
-    } else if (kl==14 && strEQ(key, "pg_enable_utf8")) {
-        retsv = newSViv((IV)imp_dbh->pg_enable_utf8);
-#endif
-    } else if (kl==11 && strEQ(key, "pg_INV_READ")) {
-        retsv = newSViv((IV)INV_READ);
-    } else if (kl==12 && strEQ(key, "pg_INV_WRITE")) {
-        retsv = newSViv((IV)INV_WRITE);
-    }
-
-    if (!retsv) {
-        return Nullsv;
-    }
-    if (retsv == &sv_yes || retsv == &sv_no) {
-        return retsv; /* no need to mortalize yes or no */
-    }
-    return sv_2mortal(retsv);
-}
-
-
-/* driver specific functins */
-
-
-int
-pg_db_lo_open (dbh, lobjId, mode)
-    SV *dbh;
-    unsigned int lobjId;
-    int mode;
-{
-    D_imp_dbh(dbh);
-    return lo_open(imp_dbh->conn, lobjId, mode);
-}
-
-
-int
-pg_db_lo_close (dbh, fd)
-    SV *dbh;
-    int fd;
-{
-    D_imp_dbh(dbh);
-    return lo_close(imp_dbh->conn, fd);
-}
-
-
-int
-pg_db_lo_read (dbh, fd, buf, len)
-    SV *dbh;
-    int fd;
-    char *buf;
-    int len;
-{
-    D_imp_dbh(dbh);
-    return lo_read(imp_dbh->conn, fd, buf, len);
-}
-
-
-int
-pg_db_lo_write (dbh, fd, buf, len)
-    SV *dbh;
-    int fd;
-    char *buf;
-    int len;
-{
-    D_imp_dbh(dbh);
-    return lo_write(imp_dbh->conn, fd, buf, len);
-}
-
-
-int
-pg_db_lo_lseek (dbh, fd, offset, whence)
-    SV *dbh;
-    int fd;
-    int offset;
-    int whence;
-{
-    D_imp_dbh(dbh);
-    return lo_lseek(imp_dbh->conn, fd, offset, whence);
-}
-
-
-unsigned int
-pg_db_lo_creat (dbh, mode)
-    SV *dbh;
-    int mode;
-{
-    D_imp_dbh(dbh);
-    return lo_creat(imp_dbh->conn, mode);
-}
-
-
-int
-pg_db_lo_tell (dbh, fd)
-    SV *dbh;
-    int fd;
-{
-    D_imp_dbh(dbh);
-    return lo_tell(imp_dbh->conn, fd);
-}
-
-
-int
-pg_db_lo_unlink (dbh, lobjId)
-    SV *dbh;
-    unsigned int lobjId;
-{
-    D_imp_dbh(dbh);
-    return lo_unlink(imp_dbh->conn, lobjId);
-}
-
-
-unsigned int
-pg_db_lo_import (dbh, filename)
-    SV *dbh;
-    char *filename;
-{
-    D_imp_dbh(dbh);
-    return lo_import(imp_dbh->conn, filename);
-}
-
-
-int
-pg_db_lo_export (dbh, lobjId, filename)
-    SV *dbh;
-    unsigned int lobjId;
-    char *filename;
-{
-    D_imp_dbh(dbh);
-    return lo_export(imp_dbh->conn, lobjId, filename);
-}
-
-
-int
-pg_db_putline (dbh, buffer)
-    SV *dbh;
-    char *buffer;
-{
-    D_imp_dbh(dbh);
-    return PQputline(imp_dbh->conn, buffer);
-}
-
-
-int
-pg_db_getline (dbh, buffer, length)
-    SV *dbh;
-    char *buffer;
-    int length;
-{
-    D_imp_dbh(dbh);
-    return PQgetline(imp_dbh->conn, buffer, length);
-}
-
-
-int
-pg_db_endcopy (dbh)
-    SV *dbh;
-{
-    D_imp_dbh(dbh);
-    return PQendcopy(imp_dbh->conn);
-}
-
-
-/* ================================================================== */
-
-
-int
-dbd_st_prepare (sth, imp_sth, statement, attribs)
-    SV *sth;
-    imp_sth_t *imp_sth;
-    char *statement;
-    SV *attribs;
-{
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_prepare: statement = >%s<\n", statement); }
-
-    /* scan statement for '?', ':1' and/or ':foo' style placeholders */
-    dbd_preparse(imp_sth, statement);
-
-    /* initialize new statement handle */
-    imp_sth->result    = 0;
-    imp_sth->cur_tuple = 0;
-
-    DBIc_IMPSET_on(imp_sth);
-    return 1;
-}
-
-
-static void
-dbd_preparse (imp_sth, statement)
-    imp_sth_t *imp_sth;
-    char *statement;
-{
-    bool in_literal = FALSE;
-    char in_comment = '\0';
-    char *src, *start, *dest;
-    phs_t phs_tpl;
-    SV *phs_sv;
-    int idx=0;
-    char *style="", *laststyle=Nullch;
-    STRLEN namelen;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_preparse: statement = >%s<\n", statement); }
-
-    /* allocate room for copy of statement with spare capacity */
-    /* for editing '?' or ':1' into ':p1'.                     */
-    /*                                                         */
-    /* Note: the calculated length used here for the safemalloc        */
-    /* isn't related in any way to the actual worst case length        */
-    /* of the translated statement, but allowing for 3 times   */
-    /* the length of the original statement should be safe...  */
-    imp_sth->statement = (char*)safemalloc(strlen(statement) * 3 + 1);
-
-    /* initialise phs ready to be cloned per placeholder       */
-    memset(&phs_tpl, 0, sizeof(phs_tpl));
-    phs_tpl.ftype = 1043;      /* VARCHAR */
-
-    src  = statement;
-    dest = imp_sth->statement;
-    while(*src) {
-
-        if (in_comment) {
-            /* SQL-style and C++-style */ 
-            if ((in_comment == '-' || in_comment == '/') && *src == '\n') {
-                in_comment = '\0';
-            }
-            /* C-style */
-            else if (in_comment == '*' && *src == '*' && *(src+1) == '/') {
-                *dest++ = *src++; /* avoids asterisk-slash-asterisk issues */
-                in_comment = '\0';
-            }
-            *dest++ = *src++;
-            continue;
-        }
-
-        if (in_literal) {
-            /* check if literal ends but keep quotes in literal */
-            if (*src == in_literal) {
-                int bs=0;
-                char *str;
-                str = src-1;
-                while (*(str-bs) == '\\')
-                bs++;
-                if (!(bs & 1))
-                    in_literal = 0;
-            }
-            *dest++ = *src++;
-            continue;
-        }
-
-        /* Look for comments: SQL-style or C++-style or C-style        */
-        if ((*src == '-' && *(src+1) == '-') ||
-            (*src == '/' && *(src+1) == '/') ||
-            (*src == '/' && *(src+1) == '*'))
-        {
-            in_comment = *(src+1);
-            /* We know *src & the next char are to be copied, so do */
-            /* it. In the case of C-style comments, it happens to */
-            /* help us avoid slash-asterisk-slash oddities. */
-            *dest++ = *src++;
-            *dest++ = *src++;
-            continue;
-        }
-
-        /* check if no placeholders */
-        if (*src != ':' && *src != '?') {
-            if (*src == '\'' || *src == '"') {
-                in_literal = *src;
-            }
-            *dest++ = *src++;
-            continue;
-        }
-
-        /* check for cast operator */
-        if (*src == ':' && (*(src-1) == ':' || *(src+1) == ':')) {
-            *dest++ = *src++;
-            continue;
-        }
-
-        /* only here for : or ? outside of a comment or literal and no cast */
-
-        start = dest;                  /* save name inc colon  */ 
-        *dest++ = *src++;
-        if (*start == '?') {           /* X/Open standard      */
-            sprintf(start,":p%d", ++idx); /* '?' -> ':p1' (etc)        */
-            dest = start+strlen(start);
-            style = "?";
-
-        } else if (isDIGIT(*src)) {    /* ':1'         */
-            idx = atoi(src);
-            *dest++ = 'p';             /* ':1'->':p1'  */
-            if (idx <= 0) {
-                croak("Placeholder :%d invalid, placeholders must be >= 1", idx);
-            }
-            while(isDIGIT(*src)) {
-                *dest++ = *src++;
-            }
-            style = ":1";
-
-        } else if (isALNUM(*src)) {    /* ':foo'       */
-            while(isALNUM(*src)) {     /* includes '_' */
-                *dest++ = *src++;
-            }
-            style = ":foo";
-        } else {                       /* perhaps ':=' PL/SQL construct */
-            continue;
-        }
-        *dest = '\0';                  /* handy for debugging  */
-        namelen = (dest-start);
-        if (laststyle && style != laststyle) {
-            croak("Can't mix placeholder styles (%s/%s)",style,laststyle);
-        }
-        laststyle = style;
-        if (imp_sth->all_params_hv == NULL) {
-            imp_sth->all_params_hv = newHV();
-        }
-        phs_tpl.sv = &sv_undef;
-        phs_sv = newSVpv((char*)&phs_tpl, sizeof(phs_tpl)+namelen+1);
-        hv_store(imp_sth->all_params_hv, start, namelen, phs_sv, 0);
-        strcpy( ((phs_t*)(void*)SvPVX(phs_sv))->name, start);
-    }
-    *dest = '\0';
-    if (imp_sth->all_params_hv) {
-        DBIc_NUM_PARAMS(imp_sth) = (int)HvKEYS(imp_sth->all_params_hv);
-        if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "    dbd_preparse scanned %d distinct placeholders\n", (int)DBIc_NUM_PARAMS(imp_sth)); }
-    }
-}
-
-
-/* if it LOOKS like a string, this function will determine whether the type needs to be surrounded in single quotes */
-static int pg_sql_needquote (sql_type)
-    int sql_type;
-{
-    if (sql_type > 1000 || sql_type == 17 || sql_type == 25 ) { 
-        return 1;
-    }
-    return 0;
-}
-
-
-
-static int
-pg_sql_type (imp_sth, name, sql_type)
-    imp_sth_t *imp_sth;
-    char *name;
-    int sql_type;
-{
-    switch (sql_type) {
-        case SQL_CHAR:
-            return 1042;       /* bpchar */
-        case SQL_NUMERIC:
-            return 700;                /* float4 */
-        case SQL_DECIMAL:
-            return 700;                /* float4 */
-        case SQL_INTEGER:
-            return 23;         /* int4 */
-        case SQL_SMALLINT:
-            return 21;         /* int2 */
-        case SQL_FLOAT:
-            return 700;                /* float4 */
-        case SQL_REAL:
-            return 701;                /* float8 */
-        case SQL_DOUBLE:
-            return 20;         /* int8 */
-        case SQL_VARCHAR:
-            return 1043;       /* varchar */
-        case SQL_BINARY:
-            return 17;         /* bytea */
-        default:
-            if (DBIc_WARN(imp_sth) && imp_sth && name) {
-                warn("SQL type %d for '%s' is not fully supported, bound as VARCHAR instead",
-                                               sql_type, name);
-            }
-            return pg_sql_type(imp_sth, name, SQL_VARCHAR);
-    }
-}
-
-static int
-sql_pg_type (imp_sth, name, sql_type)
-    imp_sth_t *imp_sth;
-    char *name;
-    int sql_type;
-{
-    if (dbis->debug >= 1) { 
-               PerlIO_printf(DBILOGFP, "sql_pg_type name '%s' type '%d'\n", name, sql_type ); 
-       }
-
-    switch (sql_type) {
-        case   17:             /* bytea */
-               return SQL_BINARY;
-        case   20:             /* int8 */
-               return SQL_DOUBLE;
-        case   21:             /* int2 */
-               return SQL_SMALLINT;
-        case   23:             /* int4 */
-               return SQL_INTEGER;
-        case  700:             /* float4 */
-               return SQL_NUMERIC;
-        case  701:             /* float8 */
-               return SQL_REAL;
-        case 1042:     /* bpchar */
-               return SQL_CHAR;
-        case 1043:     /* varchar */
-               return SQL_VARCHAR;
-        case 1082:     /* date */
-               return SQL_DATE;
-        case 1083:     /* time */
-               return SQL_TIME;
-        case 1296:     /* date */
-               return SQL_TIMESTAMP;
-
-        default:
-                       return sql_type;
-    }
-}
-
-
-static int
-dbd_rebind_ph (sth, imp_sth, phs)
-    SV *sth;
-    imp_sth_t *imp_sth;
-    phs_t *phs;
-{
-    STRLEN value_len;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_rebind\n"); }
-
-    /* convert to a string ASAP */
-    if (!SvPOK(phs->sv) && SvOK(phs->sv)) {
-        sv_2pv(phs->sv, &na);
-    }
-
-    if (dbis->debug >= 2) {
-        char *val = neatsvpv(phs->sv,0);
-        PerlIO_printf(DBILOGFP, "       bind %s <== %.1000s (", phs->name, val);
-        if (SvOK(phs->sv)) {
-             PerlIO_printf(DBILOGFP, "size %ld/%ld/%ld, ", (long)SvCUR(phs->sv),(long)SvLEN(phs->sv),phs->maxlen);
-        } else {
-            PerlIO_printf(DBILOGFP, "NULL, ");
-        }
-        PerlIO_printf(DBILOGFP, "ptype %d, otype %d%s)\n", (int)SvTYPE(phs->sv), phs->ftype, (phs->is_inout) ? ", inout" : "");
-    }
-
-    /* At the moment we always do sv_setsv() and rebind.        */
-    /* Later we may optimise this so that more often we can     */
-    /* just copy the value & length over and not rebind.        */
-
-    if (phs->is_inout) {        /* XXX */
-        if (SvREADONLY(phs->sv)) {
-            croak(no_modify);
-        }
-        /* phs->sv _is_ the real live variable, it may 'mutate' later   */
-        /* pre-upgrade high to reduce risk of SvPVX realloc/move        */
-        (void)SvUPGRADE(phs->sv, SVt_PVNV);
-        /* ensure room for result, 28 is magic number (see sv_2pv)      */
-        SvGROW(phs->sv, (phs->maxlen < 28) ? 28 : phs->maxlen+1);
-    }
-    else {
-        /* phs->sv is copy of real variable, upgrade to at least string */
-        (void)SvUPGRADE(phs->sv, SVt_PV);
-    }
-
-    /* At this point phs->sv must be at least a PV with a valid buffer, */
-    /* even if it's undef (null)                                        */
-    /* Here we set phs->progv, phs->indp, and value_len.                */
-    if (SvOK(phs->sv)) {
-        phs->progv = SvPV(phs->sv, value_len);
-        phs->indp  = 0;
-    }
-    else {        /* it's null but point to buffer in case it's an out var */
-        phs->progv = SvPVX(phs->sv);
-        phs->indp  = -1;
-        value_len  = 0;
-    }
-    phs->sv_type = SvTYPE(phs->sv);        /* part of mutation check    */
-    phs->maxlen  = SvLEN(phs->sv)-1;       /* avail buffer space        */
-    if (phs->maxlen < 0) {                 /* can happen with nulls     */
-        phs->maxlen = 0;
-    }
-
-    phs->alen = value_len + phs->alen_incnull;
-
-    imp_sth->all_params_len += SvOK(phs->sv) ? phs->alen : 4; /* NULL */
-
-    if (dbis->debug >= 3) {
-        PerlIO_printf(DBILOGFP, "       bind %s <== '%.*s' (size %ld/%ld, otype %d, indp %d)\n",
-            phs->name,
-            (int)(phs->alen>SvIV(DBIS->neatsvpvlen) ? SvIV(DBIS->neatsvpvlen) : phs->alen),
-            (phs->progv) ? phs->progv : "",
-            (long)phs->alen, (long)phs->maxlen, phs->ftype, phs->indp);
-    }
-
-    return 1;
-}
-
-
-void dereference(value)
-SV** value;
-{
-       AV* buf;
-       SV* val;
-          char *src;
-       int is_ref;
-          STRLEN len;
-
-       if (SvTYPE(SvRV(*value)) != SVt_PVAV)
-               croak("Not an array reference (%s)", neatsvpv(*value,0));
-
-       buf = (AV *) SvRV(*value);
-       sv_setpv(*value, "{");
-               while ( SvOK(val = av_shift(buf)) ) {
-                       is_ref = SvROK(val);
-                       if (is_ref)
-                               dereference(&val);
-                       else
-                               sv_catpv(*value, "\"");
-                       /* Quote */
-                       src = SvPV(val, len);
-                       while (len--) {
-                               if (!is_ref && *src == '\"')
-                                       sv_catpv(*value, "\\");
-                               sv_catpvn(*value, src++, 1);
-                       }
-                       /* End of quote */
-                       if (!is_ref)
-                               sv_catpv(*value, "\"");
-                       if (av_len(buf) > -1)
-                                       sv_catpv(*value, array_delimiter);
-               }
-       sv_catpv(*value, "}");
-       av_clear(buf);
-}
-
-int
-dbd_bind_ph (sth, imp_sth, ph_namesv, newvalue, sql_type, attribs, is_inout, maxlen)
-    SV *sth;
-    imp_sth_t *imp_sth;
-    SV *ph_namesv;
-    SV *newvalue;
-    IV sql_type;
-    SV *attribs;
-    int is_inout;
-    IV maxlen;
-{
-    SV **phs_svp;
-    STRLEN name_len;
-    char *name;
-    char namebuf[30];
-    phs_t *phs;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_bind_ph\n"); }
-
-    /* check if placeholder was passed as a number        */
-
-    if (SvGMAGICAL(ph_namesv)) { /* eg if from tainted expression */
-        mg_get(ph_namesv);
-    }
-    if (!SvNIOKp(ph_namesv)) {
-        name = SvPV(ph_namesv, name_len);
-    }
-    if (SvNIOKp(ph_namesv) || (name && isDIGIT(name[0]))) {
-        sprintf(namebuf, ":p%d", (int)SvIV(ph_namesv));
-        name = namebuf;
-        name_len = strlen(name);
-    }
-    assert(name != Nullch);
-
-    if (SvTYPE(newvalue) > SVt_PVLV) { /* hook for later array logic   */
-        croak("Can't bind a non-scalar value (%s)", neatsvpv(newvalue,0));
-    }
-    if (SvROK(newvalue) && !IS_DBI_HANDLE(newvalue)) {
-        /* dbi handle allowed for cursor variables */
-               dereference(&newvalue);
-    }
-    if (SvTYPE(newvalue) == SVt_PVLV && is_inout) {    /* may allow later */
-        croak("Can't bind ``lvalue'' mode scalar as inout parameter (currently)");
-    }
-
-   if (dbis->debug >= 2) {
-        PerlIO_printf(DBILOGFP, "         bind %s <== %s (type %ld", name, neatsvpv(newvalue,0), (long)sql_type);
-        if (is_inout) {
-            PerlIO_printf(DBILOGFP, ", inout 0x%lx, maxlen %ld", (long)newvalue, (long)maxlen);
-        }
-        if (attribs) {
-            PerlIO_printf(DBILOGFP, ", attribs: %s", neatsvpv(attribs,0));
-        }
-        PerlIO_printf(DBILOGFP, ")\n");
-    }
-
-    phs_svp = hv_fetch(imp_sth->all_params_hv, name, name_len, 0);
-    if (phs_svp == NULL) {
-        croak("Can't bind unknown placeholder '%s' (%s)", name, neatsvpv(ph_namesv,0));
-    }
-    phs = (phs_t*)(void*)SvPVX(*phs_svp);      /* placeholder struct   */
-
-    if (phs->sv == &sv_undef) { /* first bind for this placeholder     */
-        phs->ftype    = 1043;           /* our default type VARCHAR    */
-        phs->is_inout = is_inout;
-        if (is_inout) {
-            /* phs->sv assigned in the code below */
-            ++imp_sth->has_inout_params;
-            /* build array of phs's so we can deal with out vars fast  */
-            if (!imp_sth->out_params_av) {
-                imp_sth->out_params_av = newAV();
-            }
-            av_push(imp_sth->out_params_av, SvREFCNT_inc(*phs_svp));
-        } 
-
-        if (attribs) { /* only look for pg_type on first bind of var   */
-            SV **svp;
-            /* Setup / Clear attributes as defined by attribs.         */
-            /* XXX If attribs is EMPTY then reset attribs to default?  */
-            if ( (svp = hv_fetch((HV*)SvRV(attribs), "pg_type", 7,  0)) != NULL) {
-                int pg_type = SvIV(*svp);
-                if (!pgtype_bind_ok(pg_type)) {
-                    croak("Can't bind %s, pg_type %d not supported by DBD::Pg", phs->name, pg_type);
-                }
-                if (sql_type) {
-                    croak("Can't specify both TYPE (%d) and pg_type (%d) for %s", sql_type, pg_type, phs->name);
-                }
-                phs->ftype = pg_type;
-            }
-        }
-        if (sql_type) {
-            /* SQL_BINARY (-2) is deprecated. */
-            if (sql_type == -2 && DBIc_WARN(imp_sth)) {
-                warn("Use of SQL type SQL_BINARY (%d) is deprecated. Use { pg_type => DBD::Pg::PG_BYTEA } instead.", sql_type);
-            }
-            phs->ftype = pg_sql_type(imp_sth, phs->name, sql_type);
-        }
-    }   /* was first bind for this placeholder  */
-
-        /* check later rebinds for any changes */
-    else if (is_inout || phs->is_inout) {
-        croak("Can't rebind or change param %s in/out mode after first bind (%d => %d)", phs->name, phs->is_inout , is_inout);
-    }
-    else if (sql_type && phs->ftype != pg_sql_type(imp_sth, phs->name, sql_type)) {
-        croak("Can't change TYPE of param %s to %d after initial bind", phs->name, sql_type);
-    }
-
-    phs->maxlen = maxlen;              /* 0 if not inout               */
-
-    if (!is_inout) {   /* normal bind to take a (new) copy of current value    */
-        if (phs->sv == &sv_undef) {     /* (first time bind) */
-            phs->sv = newSV(0);
-        }
-        sv_setsv(phs->sv, newvalue);
-    } else if (newvalue != phs->sv) {
-        if (phs->sv) {
-            SvREFCNT_dec(phs->sv);
-        }
-        phs->sv = SvREFCNT_inc(newvalue);      /* point to live var    */
-    }
-
-    return dbd_rebind_ph(sth, imp_sth, phs);
-}
-
-
-int
-dbd_st_execute (sth, imp_sth)   /* <= -2:error, >=0:ok row count, (-1=unknown count) */
-    SV *sth;
-    imp_sth_t *imp_sth;
-{
-    dTHR;
-
-    D_imp_dbh_from_sth;
-    ExecStatusType status = -1;
-    char *cmdStatus;
-    char *cmdTuples;
-    char *statement;
-    int ret = -2;
-    int num_fields;
-    int i;
-    STRLEN len;
-    bool in_literal = FALSE;
-    char in_comment = '\0';
-    char *src;
-    char *dest;
-    char *val;
-    char namebuf[30];
-    phs_t *phs;
-    SV **svp;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_execute\n"); }
-
-    /*
-    here we get the statement from the statement handle where
-    it has been stored when creating a blank sth during prepare
-    svp = hv_fetch((HV *)SvRV(sth), "Statement", 9, FALSE);
-    statement = SvPV(*svp, na);
-    */
-
-    if (NULL == imp_dbh->conn) {
-        pg_error(sth, -1, "execute on disconnected handle");        
-        return -2;
-    }   
-    
-    statement = imp_sth->statement;
-    if (! statement) {
-        /* are we prepared ? */
-        pg_error(sth, -1, "statement not prepared\n");
-        return -2;
-    }
-
-    /* do we have input parameters ? */
-    if ((int)DBIc_NUM_PARAMS(imp_sth) > 0) {
-       /*
-       we have to allocate some additional memory for possible escaping
-       quotes and backslashes:
-          max_len = length of statement
-          + total length of all params allowing for worst case all
-            characters binary-escaped (\\xxx)
-          + null terminator
-       Note: parameters look like :p1 at this point, so there's no
-       need to explicitly allow for surrounding quotes because '' is
-       shorter than :p1
-       */
-        int max_len = strlen(imp_sth->statement) + imp_sth->all_params_len * 5 + 1;
-        statement = (char*)safemalloc( max_len );
-        dest = statement;
-        src  = imp_sth->statement;
-        /* scan statement for ':p1' style placeholders */
-        while(*src) {
-
-            if (in_comment) {
-                /* SQL-style and C++-style */ 
-                if ((in_comment == '-' || in_comment == '/') && *src == '\n') {
-                    in_comment = '\0';
-                }
-                /* C-style */
-                else if (in_comment == '*' && *src == '*' && *(src+1) == '/') {
-                    *dest++ = *src++; /* avoids asterisk-slash-asterisk issues */
-                    in_comment = '\0';
-                }
-                *dest++ = *src++;
-                continue;
-            }
-
-            if (in_literal) {
-                /* check if literal ends but keep quotes in literal */
-                if (*src == in_literal) {
-                    int bs=0;
-                    char *str;
-                    str = src-1;
-                    while (*(str-bs) == '\\')
-                    bs++;
-                    if (!(bs & 1))
-                        in_literal = 0;
-                }
-                *dest++ = *src++;
-                continue;
-            }
-
-            /* Look for comments: SQL-style or C++-style or C-style    */
-            if ((*src == '-' && *(src+1) == '-') ||
-                (*src == '/' && *(src+1) == '/') ||
-                (*src == '/' && *(src+1) == '*'))
-            {
-                in_comment = *(src+1);
-                /* We know *src & the next char are to be copied, so do */
-                /* it. In the case of C-style comments, it happens to */
-                /* help us avoid slash-asterisk-slash oddities. */
-                *dest++ = *src++;
-                *dest++ = *src++;
-                continue;
-            }
-
-            /* check if no placeholders */
-            if (*src != ':' && *src != '?') {
-                if (*src == '\'' || *src == '"') {
-                    in_literal = *src;
-                }
-                *dest++ = *src++;
-                continue;
-            }
-
-            /* check for cast operator */
-            if (*src == ':' && (*(src-1) == ':' || *(src+1) == ':')) {
-                *dest++ = *src++;
-                continue;
-            }
-
-
-            i = 0;
-            namebuf[i++] = *src++; /* ':' */
-            namebuf[i++] = *src++; /* 'p' */
-
-            while (isDIGIT(*src) && i < (sizeof(namebuf)-1) ) {
-                namebuf[i++] = *src++;
-            }
-            if ( i == (sizeof(namebuf) - 1)) {
-                pg_error(sth, -1, "namebuf buffer overrun\n");
-                return -2;
-            }
-            namebuf[i] = '\0';
-            svp = hv_fetch(imp_sth->all_params_hv, namebuf, i, 0);
-            if (svp == NULL) {
-                pg_error(sth, -1, "parameter unknown\n");
-                return -2;
-            }
-            /* get attribute */
-            phs = (phs_t*)(void*)SvPVX(*svp);
-            /* replace undef with NULL */
-            if(!SvOK(phs->sv)) {
-                val = "NULL";
-                len = 4;
-            } else {
-                val = SvPV(phs->sv, len);
-            }
-            /* quote string attribute */
-            if(!SvNIOK(phs->sv) && SvOK(phs->sv) && pg_sql_needquote(phs->ftype)) { /* avoid quoting NULL, tpf: bind_param as numeric  */
-                *dest++ = '\''; 
-            }
-            while (len--) {
-                if (imp_dbh->pg_auto_escape) {
-                    /* if the parameter was bound as PG_BYTEA, escape nonprintables */
-                    if (phs->ftype == 17 && !isPRINT(*val)) { /* escape null character */
-                        dest+=snprintf(dest, (statement + max_len) - dest, "\\\\%03o", *((unsigned char *)val));
-                       if (dest > statement + max_len) {
-                           pg_error(sth, -1, "statement buffer overrun\n");
-                           return -2;
-                       }
-                        val++;
-                        continue; /* do not copy the null */
-                    }
-                    /* escape quote */
-                    if (*val == '\'') {
-                            *dest++ = '\'';
-                    }
-                    /* escape backslash */
-                    if (*val == '\\') {
-                        if (phs->ftype == 17) { /* four backslashes. really. */
-                            *dest++ = '\\'; 
-                            *dest++ = '\\'; 
-                            *dest++ = '\\'; 
-                        } else {
-                            *dest++ = '\\';
-                       }
-                    }
-                }
-                /* copy attribute to statement */
-                *dest++ = *val++;
-            }
-            /* quote string attribute */
-            if(!SvNIOK(phs->sv) && SvOK(phs->sv) && pg_sql_needquote(phs->ftype)) { /* avoid quoting NULL, tpf: bind_param as numeric  */
-                *dest++ = '\''; 
-            }
-        }
-        *dest = '\0';
-    }
-
-    if (dbis->debug >= 2) { PerlIO_printf(DBILOGFP, "dbd_st_execute: statement = >%s<\n", statement); }
-
-    /* clear old result (if any) */
-    if (imp_sth->result) {
-        PQclear(imp_sth->result);
-    }
-
-    /* execute statement */
-    imp_sth->result = PQexec(imp_dbh->conn, statement);
-
-    /* free statement string in case of input parameters */
-    if ((int)DBIc_NUM_PARAMS(imp_sth) > 0) {
-        Safefree(statement);
-    }
-
-    /* check status */
-    status    = imp_sth->result ? PQresultStatus(imp_sth->result)      : -1;
-    cmdStatus = imp_sth->result ? (char *)PQcmdStatus(imp_sth->result) : "";
-    cmdTuples = imp_sth->result ? (char *)PQcmdTuples(imp_sth->result) : "";
-
-    if (PGRES_TUPLES_OK == status) {
-        /* select statement */
-        num_fields = PQnfields(imp_sth->result);
-        imp_sth->cur_tuple = 0;
-        DBIc_NUM_FIELDS(imp_sth) = num_fields;
-        DBIc_ACTIVE_on(imp_sth);
-        ret = PQntuples(imp_sth->result);
-    } else if (PGRES_COMMAND_OK == status) {
-        /* non-select statement */
-        if (! strncmp(cmdStatus, "DELETE", 6) || ! strncmp(cmdStatus, "INSERT", 6) || ! strncmp(cmdStatus, "UPDATE", 6)) {
-            ret = atoi(cmdTuples);
-        } else {
-            ret = -1;
-        }
-    } else if (PGRES_COPY_OUT == status || PGRES_COPY_IN == status) {
-      /* Copy Out/In data transfer in progress */
-        ret = -1;
-    } else {
-        pg_error(sth, status, PQerrorMessage(imp_dbh->conn));
-        ret = -2;
-    }
-
-    /* store the number of affected rows */
-    imp_sth->rows = ret;
-
-    return ret;
-}
-
-
-int
-is_high_bit_set(val)
-    char *val;
-{
-    while (*val++)
-       if (*val & 0x80) return 1;
-    return 0;
-}
-
-AV *
-dbd_st_fetch (sth, imp_sth)
-    SV *sth;
-    imp_sth_t *imp_sth;
-{
-    D_imp_dbh_from_sth;
-    int num_fields;
-    int i;
-    AV *av;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_fetch\n"); }
-
-    /* Check that execute() was executed sucessfully */
-    if ( !DBIc_ACTIVE(imp_sth) ) {
-        pg_error(sth, 1, "no statement executing\n");
-        
-        return Nullav;
-    }
-
-    if ( imp_sth->cur_tuple == PQntuples(imp_sth->result) ) {
-        imp_sth->cur_tuple = 0;
-        DBIc_ACTIVE_off(imp_sth);
-        return Nullav; /* we reached the last tuple */
-    }
-
-    av = DBIS->get_fbav(imp_sth);
-    num_fields = AvFILL(av)+1;
-
-    for(i = 0; i < num_fields; ++i) {
-
-        SV *sv  = AvARRAY(av)[i];
-        if (PQgetisnull(imp_sth->result, imp_sth->cur_tuple, i)) {
-            sv_setsv(sv, &sv_undef);
-        } else {
-            char *val   = (char*)PQgetvalue(imp_sth->result, imp_sth->cur_tuple, i);
-            int val_len = strlen(val);
-            int  type   = PQftype(imp_sth->result, i); /* hopefully these hard coded values will not change */
-            if (16 == type && ! imp_dbh->pg_bool_tf) {
-               *val = (*val == 'f') ? '0' : '1'; /* bool: translate postgres into perl */
-            }
-            if (17 == type) {  /* decode \001 -> chr(1), etc, in-place */
-                char *p = val; /* points to next available pos */
-                char *s = val; /* points to current scanning pos */
-                int c1,c2,c3;
-                while (*s) {
-                    if (*s == '\\') {
-                        if (*(s+1) == '\\') { /* double backslash */ 
-                            *p++ = '\\';
-                            s += 2;
-                            continue;
-                        }
-                        else if ( isdigit(c1=(*(s+1))) &&
-                                 isdigit(c2=(*(s+2))) &&
-                                 isdigit(c3=(*(s+3))) ) {
-                            *p++ = (c1 - '0') * 64 + (c2 - '0') * 8 + (c3 - '0');
-                            s += 4;
-                            continue;
-                        }
-                    }
-                    *p++ = *s++;
-                }
-                val_len = (p - val);
-            }
-            else if (1042 == type && DBIc_has(imp_sth,DBIcf_ChopBlanks)) {
-                char *str = val;
-                while((val_len > 0) && (str[val_len-1] == ' ')) {
-                    val_len--;
-                }
-                val[val_len] = '\0';
-            }
-            sv_setpvn(sv, val, val_len);
-#ifdef SvUTF8_off
-           if (imp_dbh->pg_enable_utf8) {
-               SvUTF8_off(sv);
-               /* XXX Is this all the character data types? */
-               if (18 == type || 25 == type || 1042 ==type || 1043 == type) {
-                   if (is_high_bit_set(val) && is_utf8_string(val, val_len))
-                       SvUTF8_on(sv);
-               }
-           }
-#endif
-        }
-    }
-
-    imp_sth->cur_tuple += 1;
-
-    return av;
-}
-
-
-int
-dbd_st_blob_read (sth, imp_sth, lobjId, offset, len, destrv, destoffset)
-    SV *sth;
-    imp_sth_t *imp_sth;
-    int lobjId;
-    long offset;
-    long len;
-    SV *destrv;
-    long destoffset;
-{
-    D_imp_dbh_from_sth;
-    int ret, lobj_fd, nbytes, nread;
-    PGresult* result;
-    ExecStatusType status;
-    SV *bufsv;
-    char *tmp;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_blob_read\n"); }
-    /* safety check */
-    if (lobjId <= 0) {
-        pg_error(sth, -1, "dbd_st_blob_read: lobjId <= 0");
-        return 0;
-    }
-    if (offset < 0) {
-        pg_error(sth, -1, "dbd_st_blob_read: offset < 0");
-        return 0;
-    }
-    if (len < 0) {
-        pg_error(sth, -1, "dbd_st_blob_read: len < 0");
-        return 0;
-    }
-    if (! SvROK(destrv)) {
-        pg_error(sth, -1, "dbd_st_blob_read: destrv not a reference");
-        return 0;
-    }
-    if (destoffset < 0) {
-        pg_error(sth, -1, "dbd_st_blob_read: destoffset < 0");
-        return 0;
-    }
-
-    /* dereference destination and ensure it's writable string */
-    bufsv = SvRV(destrv);
-    if (! destoffset) {
-        sv_setpvn(bufsv, "", 0);
-    }
-
-    /* execute begin
-    result = PQexec(imp_dbh->conn, "begin");
-    status = result ? PQresultStatus(result) : -1;
-    PQclear(result);
-    if (status != PGRES_COMMAND_OK) {
-        pg_error(sth, status, PQerrorMessage(imp_dbh->conn));
-        return 0;
-    }
-    */
-
-    /* open large object */
-    lobj_fd = lo_open(imp_dbh->conn, lobjId, INV_READ);
-    if (lobj_fd < 0) {
-        pg_error(sth, -1, PQerrorMessage(imp_dbh->conn));
-        return 0;
-    }
-
-    /* seek on large object */
-    if (offset > 0) {
-        ret = lo_lseek(imp_dbh->conn, lobj_fd, offset, SEEK_SET);
-        if (ret < 0) {
-            pg_error(sth, -1, PQerrorMessage(imp_dbh->conn));
-            return 0;
-        }
-    }
-
-    /* read from large object */
-    nread = 0;
-    SvGROW(bufsv, destoffset + nread + BUFSIZ + 1);
-    tmp = (SvPVX(bufsv)) + destoffset + nread;
-    while ((nbytes = lo_read(imp_dbh->conn, lobj_fd, tmp, BUFSIZ)) > 0) {
-        nread += nbytes;
-        /* break if user wants only a specified chunk */
-        if (len > 0 && nread > len) {
-            nread = len;
-            break;
-        }
-        SvGROW(bufsv, destoffset + nread + BUFSIZ + 1);
-        tmp = (SvPVX(bufsv)) + destoffset + nread;
-    }
-
-    /* terminate string */
-    SvCUR_set(bufsv, destoffset + nread);
-    *SvEND(bufsv) = '\0';
-
-    /* close large object */
-    ret = lo_close(imp_dbh->conn, lobj_fd);
-    if (ret < 0) {
-        pg_error(sth, -1, PQerrorMessage(imp_dbh->conn));
-        return 0;
-    }
-
-    /* execute end 
-    result = PQexec(imp_dbh->conn, "end");
-    status = result ? PQresultStatus(result) : -1;
-    PQclear(result);
-    if (status != PGRES_COMMAND_OK) {
-        pg_error(sth, status, PQerrorMessage(imp_dbh->conn));
-        return 0;
-    }
-    */
-
-    return nread;
-}
-
-
-int
-dbd_st_rows (sth, imp_sth)
-    SV *sth;
-    imp_sth_t *imp_sth;
-{
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_rows\n"); }
-
-    return imp_sth->rows;
-}
-
-
-int
-dbd_st_finish (sth, imp_sth)
-    SV *sth;
-    imp_sth_t *imp_sth;
-{
-    dTHR;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_finish\n"); }
-
-    if (DBIc_ACTIVE(imp_sth) && imp_sth->result) {
-        PQclear(imp_sth->result);
-        imp_sth->result = 0;
-        imp_sth->rows   = 0;
-    }
-
-    DBIc_ACTIVE_off(imp_sth);
-    return 1;
-}
-
-
-void
-dbd_st_destroy (sth, imp_sth)
-    SV *sth;
-    imp_sth_t *imp_sth;
-{
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_destroy\n"); }
-
-    /* Free off contents of imp_sth */
-
-    Safefree(imp_sth->statement);
-    if (imp_sth->result) {
-        PQclear(imp_sth->result);
-        imp_sth->result = 0;
-    }
-
-    if (imp_sth->out_params_av)
-        sv_free((SV*)imp_sth->out_params_av);
-
-    if (imp_sth->all_params_hv) {
-        HV *hv = imp_sth->all_params_hv;
-        SV *sv;
-        char *key;
-        I32 retlen;
-        hv_iterinit(hv);
-        while( (sv = hv_iternextsv(hv, &key, &retlen)) != NULL ) {
-            if (sv != &sv_undef) {
-                phs_t *phs_tpl = (phs_t*)(void*)SvPVX(sv);
-                sv_free(phs_tpl->sv);
-            }
-        }
-        sv_free((SV*)imp_sth->all_params_hv);
-    }
-
-    DBIc_IMPSET_off(imp_sth); /* let DBI know we've done it */
-}
-
-
-int
-dbd_st_STORE_attrib (sth, imp_sth, keysv, valuesv)
-    SV *sth;
-    imp_sth_t *imp_sth;
-    SV *keysv;
-    SV *valuesv;
-{
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_STORE\n"); }
-
-    return FALSE;
-}
-
-
-SV *
-dbd_st_FETCH_attrib (sth, imp_sth, keysv)
-    SV *sth;
-    imp_sth_t *imp_sth;
-    SV *keysv;
-{
-    STRLEN kl;
-    char *key = SvPV(keysv,kl);
-    int i, sz;
-    SV *retsv = Nullsv;
-
-    if (dbis->debug >= 1) { PerlIO_printf(DBILOGFP, "dbd_st_FETCH\n"); }
-
-    if (! imp_sth->result) {
-        return Nullsv;
-    }
-
-    i = DBIc_NUM_FIELDS(imp_sth);
-
-    if (kl == 4 && strEQ(key, "NAME")) {
-        AV *av = newAV();
-        retsv = newRV(sv_2mortal((SV*)av));
-        while(--i >= 0) {
-            av_store(av, i, newSVpv(PQfname(imp_sth->result, i),0));
-        }
-    } else if ( kl== 4 && strEQ(key, "TYPE")) {
-               /* Need to convert the Pg type to ANSI/SQL type. */
-        AV *av = newAV();
-        retsv = newRV(sv_2mortal((SV*)av));
-        while(--i >= 0) {
-            av_store(av, i, newSViv(sql_pg_type( imp_sth,
-                                                       PQfname(imp_sth->result, i),
-                                                               PQftype(imp_sth->result, i))));
-               }
-    } else if (kl==9 && strEQ(key, "PRECISION")) {
-        AV *av = newAV();
-        retsv = newRV(sv_2mortal((SV*)av));
-        while(--i >= 0) {
-            sz = PQfsize(imp_sth->result, i);
-            av_store(av, i, sz > 0 ? newSViv(sz) : &sv_undef);
-        }
-    } else if (kl==5 && strEQ(key, "SCALE")) {
-        AV *av = newAV();
-        retsv = newRV(sv_2mortal((SV*)av));
-        while(--i >= 0) {
-            av_store(av, i, &sv_undef);
-        }
-    } else if (kl==8 && strEQ(key, "NULLABLE")) {
-        AV *av = newAV();
-        retsv = newRV(sv_2mortal((SV*)av));
-        while(--i >= 0) {
-            av_store(av, i, newSViv(2));
-        }
-    } else if (kl==10 && strEQ(key, "CursorName")) {
-        retsv = &sv_undef;
-    } else if (kl==11 && strEQ(key, "RowsInCache")) {
-        retsv = &sv_undef;
-    } else if (kl==7 && strEQ(key, "pg_size")) {
-        AV *av = newAV();
-        retsv = newRV(sv_2mortal((SV*)av));
-        while(--i >= 0) {
-            av_store(av, i, newSViv(PQfsize(imp_sth->result, i)));
-        }
-    } else if (kl==7 && strEQ(key, "pg_type")) {
-        AV *av = newAV();
-        char *type_nam;
-        retsv = newRV(sv_2mortal((SV*)av));
-        while(--i >= 0) {
-            switch (PQftype(imp_sth->result, i)) {
-            case 16:
-                type_nam = "bool";
-                break;
-            case 17:
-                type_nam = "bytea";
-                break;
-            case 18:
-                type_nam = "char";
-                break;
-            case 19:
-                type_nam = "name";
-                break;
-            case 20:
-                type_nam = "int8";
-                break;
-            case 21:
-                type_nam = "int2";
-                break;
-            case 22:
-                type_nam = "int28";
-                break;
-            case 23:
-                type_nam = "int4";
-                break;
-            case 24:
-                type_nam = "regproc";
-                break;
-            case 25:
-                type_nam = "text";
-                break;
-            case 26:
-                type_nam = "oid";
-                break;
-            case 27:
-                type_nam = "tid";
-                break;
-            case 28:
-                type_nam = "xid";
-                break;
-            case 29:
-                type_nam = "cid";
-                break;
-            case 30:
-                type_nam = "oid8";
-                break;
-            case 32:
-                type_nam = "SET";
-                break;
-            case 210:
-                type_nam = "smgr";
-                break;
-            case 600:
-                type_nam = "point";
-                break;
-            case 601:
-                type_nam = "lseg";
-                break;
-            case 602:
-                type_nam = "path";
-                break;
-            case 603:
-                type_nam = "box";
-                break;
-            case 604:
-                type_nam = "polygon";
-                break;
-            case 605:
-                type_nam = "filename";
-                break;
-            case 628:
-                type_nam = "line";
-                break;
-            case 629:
-                type_nam = "_line";
-                break;
-            case 700:
-                type_nam = "float4";
-                break;
-            case 701:
-                type_nam = "float8";
-                break;
-            case 702:
-                type_nam = "abstime";
-                break;
-            case 703:
-                type_nam = "reltime";
-                break;
-            case 704:
-                type_nam = "tinterval";
-                break;
-            case 705:
-                type_nam = "unknown";
-                break;
-            case 718:
-                type_nam = "circle";
-                break;
-            case 719:
-                type_nam = "_circle";
-                break;
-            case 790:
-                type_nam = "money";
-                break;
-            case 791:
-                type_nam = "_money";
-                break;
-            case 810:
-                type_nam = "oidint2";
-                break;
-            case 910:
-                type_nam = "oidint4";
-                break;
-            case 911:
-                type_nam = "oidname";
-                break;
-            case 1000:
-                type_nam = "_bool";
-                break;
-            case 1001:
-                type_nam = "_bytea";
-                break;
-            case 1002:
-                type_nam = "_char";
-                break;
-            case 1003:
-                type_nam = "_name";
-                break;
-            case 1005:
-                type_nam = "_int2";
-                break;
-            case 1006:
-                type_nam = "_int28";
-                break;
-            case 1007:
-                type_nam = "_int4";
-                break;
-            case 1008:
-                type_nam = "_regproc";
-                break;
-            case 1009:
-                type_nam = "_text";
-                break;
-            case 1028:
-                type_nam = "_oid";
-                break;
-            case 1010:
-                type_nam = "_tid";
-                break;
-            case 1011:
-                type_nam = "_xid";
-                break;
-            case 1012:
-                type_nam = "_cid";
-                break;
-            case 1013:
-                type_nam = "_oid8";
-                break;
-            case 1014:
-                type_nam = "_lock";
-                break;
-            case 1015:
-                type_nam = "_stub";
-                break;
-            case 1016:
-                type_nam = "_ref";
-                break;
-            case 1017:
-                type_nam = "_point";
-                break;
-            case 1018:
-                type_nam = "_lseg";
-                break;
-            case 1019:
-                type_nam = "_path";
-                break;
-            case 1020:
-                type_nam = "_box";
-                break;
-            case 1021:
-                type_nam = "_float4";
-                break;
-            case 1022:
-                type_nam = "_float8";
-                break;
-            case 1023:
-                type_nam = "_abstime";
-                break;
-            case 1024:
-                type_nam = "_reltime";
-                break;
-            case 1025:
-                type_nam = "_tinterval";
-                break;
-            case 1026:
-                type_nam = "_filename";
-                break;
-            case 1027:
-                type_nam = "_polygon";
-                break;
-            case 1033:
-                type_nam = "aclitem";
-                break;
-            case 1034:
-                type_nam = "_aclitem";
-                break;
-            case 1042:
-                type_nam = "bpchar";
-                break;
-            case 1043:
-                type_nam = "varchar";
-                break;
-            case 1082:
-                type_nam = "date";
-                break;
-            case 1083:
-                type_nam = "time";
-                break;
-            case 1182:
-                type_nam = "_date";
-                break;
-            case 1183:
-                type_nam = "_time";
-                break;
-            case 1184:
-                type_nam = "datetime";
-                break;
-            case 1185:
-                type_nam = "_datetime";
-                break;
-            case 1186:
-                type_nam = "timespan";
-                break;
-            case 1187:
-                type_nam = "_timespan";
-                break;
-            case 1231:
-                type_nam = "_numeric";
-                break;
-            case 1296:
-                type_nam = "timestamp";
-                break;
-            case 1700:
-                type_nam = "numeric";
-                break;
-                
-            default:
-                type_nam = "unknown";
-                
-            }
-            av_store(av, i, newSVpv(type_nam, 0));
-        }
-    } else if (kl==13 && strEQ(key, "pg_oid_status")) {
-        retsv = newSVpv((char *)PQoidStatus(imp_sth->result), 0);
-    } else if (kl==13 && strEQ(key, "pg_cmd_status")) {
-        retsv = newSVpv((char *)PQcmdStatus(imp_sth->result), 0);
-    } else {
-        return Nullsv;
-    }
-
-    return sv_2mortal(retsv);
-}
-
-
-/* end of dbdimp.c */
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/dbdimp.h b/install/5.005/DBD-Pg-1.22-fixvercmp/dbdimp.h
deleted file mode 100644 (file)
index 58c105b..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
-   $Id: dbdimp.h,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-   Copyright (c) 1997,1998,1999,2000 Edmund Mergl
-   Portions Copyright (c) 1994,1995,1996,1997 Tim Bunce
-
-   You may distribute under the terms of either the GNU General Public
-   License or the Artistic License, as specified in the Perl README file.
-*/
-
-#ifdef WIN32
-#define snprintf _snprintf
-#endif
-
-/* Define drh implementor data structure */
-struct imp_drh_st {
-    dbih_drc_t com;            /* MUST be first element in structure   */
-};
-
-/* Define dbh implementor data structure */
-struct imp_dbh_st {
-    dbih_dbc_t com;            /* MUST be first element in structure   */
-
-    PGconn    * conn;          /* connection structure */
-    int         init_commit;   /* initialize AutoCommit */
-    int         pg_auto_escape;        /* initialize AutoEscape */
-    int         pg_bool_tf;     /* do bools return 't'/'f' */
-#ifdef SvUTF8_off
-    int         pg_enable_utf8;        /* should we attempt to make utf8 strings? */
-#endif
-};
-
-/* Define sth implementor data structure */
-struct imp_sth_st {
-    dbih_stc_t com;            /* MUST be first element in structure   */
-
-    PGresult* result;          /* result structure */
-    int cur_tuple;             /* current tuple */
-    int rows;                  /* number of affected rows */
-
-    /* Input Details   */
-    char      *statement;      /* sql (see sth_scan)           */
-    HV        *all_params_hv;  /* all params, keyed by name    */
-    AV        *out_params_av;  /* quick access to inout params */
-    int        pg_pad_empty;   /* convert ""->" " when binding */
-    int        all_params_len;  /* length-sum of all params     */
-
-    /* (In/)Out Parameter Details */
-    bool  has_inout_params;
-};
-
-
-#define sword  signed int
-#define sb2    signed short
-#define ub2    unsigned short
-
-typedef struct phs_st phs_t;    /* scalar placeholder   */
-
-struct phs_st {        /* scalar placeholder EXPERIMENTAL      */
-    sword ftype;        /* external OCI field type             */
-
-    SV *sv;            /* the scalar holding the value         */
-    int sv_type;       /* original sv type at time of bind     */
-    bool is_inout;
-
-    IV  maxlen;                /* max possible len (=allocated buffer) */
-
-    /* these will become an array */
-    sb2 indp;          /* null indicator                       */
-    char *progv;
-    ub2 arcode;
-    IV alen;           /* effective length ( <= maxlen )       */
-
-    int alen_incnull;  /* 0 or 1 if alen should include null   */
-    char name[1];      /* struct is malloc'd bigger as needed  */
-};
-
-
-SV * dbd_db_pg_notifies (SV *dbh, imp_dbh_t *imp_dbh);
-
-/* end of dbdimp.h */
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/eg/ApacheDBI.pl b/install/5.005/DBD-Pg-1.22-fixvercmp/eg/ApacheDBI.pl
deleted file mode 100755 (executable)
index b084f70..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/usr/local/bin/perl
-
-# $Id: ApacheDBI.pl,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-# don't forget to create in postgres the user who is running 
-# the httpd, eg 'createuser nobody' !
-#
-# demo script, tested with:
-#  - PostgreSQL-7.1.1
-#  - apache_1.3.12
-#  - mod_perl-1.23
-#  - perl5.6.0
-#  - DBI-1.14
-
-use CGI;
-use DBI;
-use strict;
-
-my $query = new CGI;
-
-print  $query->header,
-       $query->start_html(-title=>'A Simple Example'),
-       $query->startform,
-       "<CENTER><H3>Testing Module DBI</H3></CENTER>",
-       "<P><CENTER><TABLE CELLPADDING=4 CELLSPACING=2 BORDER=1>",
-       "<TR><TD>Enter the data source: </TD>",
-           "<TD>", $query->textfield(-name=>'data_source', -size=>40, -default=>'dbi:Pg:dbname=template1'), "</TD>",
-       "</TR>",
-       "<TR><TD>Enter the user name: </TD>",
-           "<TD>", $query->textfield(-name=>'username'), "</TD>",
-       "</TR>",
-       "<TR><TD>Enter the password: </TD>",
-           "<TD>", $query->textfield(-name=>'auth'), "</TD>",
-       "</TR>",
-       "<TR><TD>Enter the select command: </TD>",
-           "<TD>", $query->textfield(-name=>'cmd', -size=>40), "</TD>",
-       "</TR>",
-       "</TABLE></CENTER><P>",
-       "<CENTER>", $query->submit(-value=>'Submit'), "</CENTER>",
-       $query->endform;
-
-if ($query->param) {
-
-    my $data_source = $query->param('data_source');
-    my $username    = $query->param('username');
-    my $auth        = $query->param('auth');
-    my $cmd         = $query->param('cmd');
-    my $dbh         = DBI->connect($data_source, $username, $auth);
-    if ($dbh) {
-        my $sth = $dbh->prepare($cmd);
-        my $ret = $sth->execute;
-        if ($ret) {
-            my($i, $ary_ref);
-            print "<P><CENTER><TABLE CELLPADDING=4 CELLSPACING=2 BORDER=1>\n";
-            while ($ary_ref = $sth->fetchrow_arrayref) {
-                print "<TR><TD>", join("</TD><TD>", @$ary_ref), "</TD></TR>\n";
-            }
-            print "</TABLE></CENTER><P>\n";
-            $sth->finish;
-        } else {
-            print "<CENTER><H2>", $DBI::errstr, "</H2></CENTER>\n";
-        }
-        $dbh->disconnect;
-    } else {
-        print "<CENTER><H2>", $DBI::errstr, "</H2></CENTER>\n";
-    }
-}
-
-print $query->end_html;
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/eg/lotest.pl b/install/5.005/DBD-Pg-1.22-fixvercmp/eg/lotest.pl
deleted file mode 100644 (file)
index 6192c49..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-
-use DBI;
-use DBD::Pg;
-
-my $dsn = "dbname=p1";
-my $dbh = DBI->connect('dbi:Pg:dbname=p1', undef, undef, { AutoCommit => 1 });
-
-my $buf = 'abcdefghijklmnopqrstuvwxyz' x 400;
-
-my $id = write_blob($dbh, undef, $buf);
-
-my $dat = read_blob($dbh, $id);
-
-print "Done\n";
-
-sub write_blob {
-    my ($dbh, $lobj_id, $data) = @_;
-    
-    # begin transaction
-    $dbh->{AutoCommit} = 0;
-    
-    # Create a new lo if we are not passed an lo object ID.
-    unless ($lobj_id) {
-       # Create the object.
-       $lobj_id = $dbh->func($dbh->{'pg_INV_WRITE'}, 'lo_creat');
-    }    
-
-    # Open it to get a file descriptor.
-    my $lobj_fd = $dbh->func($lobj_id, $dbh->{'pg_INV_WRITE'}, 'lo_open');
-
-    $dbh->func($lobj_fd, 0, 0, 'lo_lseek');
-    
-    # Write some data to it.
-    my $len = $dbh->func($lobj_fd, $data, length($data), 'lo_write');
-    
-    die "Errors writing lo\n" if $len != length($data);
-
-    # Close 'er up.
-    $dbh->func($lobj_fd, 'lo_close') or die "Problems closing lo object\n";
-    # end transaction
-    $dbh->{AutoCommit} = 1;
-    
-    return $lobj_id;
-}
-
-sub read_blob {
-    my ($dbh, $lobj_id) = @_;
-    my $data = '';
-    my $read_len = 256;
-    my $chunk = '';
-
-    # begin transaction
-    $dbh->{AutoCommit} = 0;
-
-    my $lobj_fd = $dbh->func($lobj_id, $dbh->{'pg_INV_READ'}, 'lo_open');
-    
-    $dbh->func($lobj_fd, 0, 0, 'lo_lseek');
-
-    # Pull out all the data.
-    while ($dbh->func($lobj_fd, $chunk, $read_len, 'lo_read')) {
-       $data .= $chunk;
-    }
-
-    $dbh->func($lobj_fd, 'lo_close') or die "Problems closing lo object\n";
-
-    # end transaction
-    $dbh->{AutoCommit} = 1;
-       
-    return $data;
-}
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/eg/notify_test.patch b/install/5.005/DBD-Pg-1.22-fixvercmp/eg/notify_test.patch
deleted file mode 100644 (file)
index 6f8acf8..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-diff -r --unified DBD-Pg-1.00/test.pl DBD-Pg-1.00.alex/test.pl
---- DBD-Pg-1.00/test.pl        Sun May 27 10:10:13 2001
-+++ DBD-Pg-1.00.alex/test.pl   Sun Jun 10 15:38:09 2001
-@@ -40,7 +40,7 @@
- my $dsn_main = "dbi:Pg:dbname=$dbmain";
- my $dsn_test = "dbi:Pg:dbname=$dbtest";
--my ($dbh0, $dbh, $sth);
-+my ($dbh0, $dbh, $dbh1, $sth);
- #DBI->trace(3); # make your choice
-@@ -445,16 +445,56 @@
- # end transaction
- $dbh->{AutoCommit} = 1;
-+# compare large objects
-+
- ( $dbh->func($lobjId, 'lo_unlink') )
-     and print "\$dbh->func(lo_unlink) ...... ok\n"
-     or  print "\$dbh->func(lo_unlink) ...... not ok\n";
--# compare large objects
--
- ( $pgin cmp $buf and $pgin cmp $blob )
-     and print "compare blobs .............. not ok\n"
-     or  print "compare blobs .............. ok\n";
-+my $fd;
-+( $fd=$dbh->func( 'getfd') )
-+    and print "\$dbh->func(getfd) .......... ok\n"
-+    or  print "\$dbh->func(getfd) .......... not ok\n";
-+
-+( $dbh->do( 'LISTEN test ') )
-+    and print "\$dbh->do('LISTEN test') .... ok\n"
-+    or  print "\$dbh->do('LISTEN test') .... not ok\n";
-+
-+( $dbh1 = DBI->connect("$dsn_test", '', '', { AutoCommit => 1 }) )
-+    and print "DBI->connect (for notify)... ok\n"
-+    or  die   "DBI->connect (for notify)... not ok: ", $DBI::errstr;
-+
-+# there should be no data for read on $fd , until we send a notify
-+   
-+    my $rout;
-+    my $rin = '';
-+    vec($rin,$fd,1) = 1;
-+    my $nfound = select( $rout=$rin, undef, undef, 0);
-+
-+( $nfound==0 ) 
-+    and print "select(\$fd) returns no data. ok\n"
-+    or  die   "select(\$fd) returns no data. not ok\n";
-+
-+( $dbh1->do( 'NOTIFY test ') )
-+    and print "\$dbh1->do('NOTIFY test') ... ok\n"
-+    or  print "\$dbh1->do('NOTIFY test') ... not ok\n";
-+
-+    my $nfound = select( $rout=$rin, undef, undef, 1);
-+
-+( $nfound==1 ) 
-+    and print "select(\$fd) returns data.... ok\n"
-+    or  die   "select(\$fd) returns data.... not ok\n";
-+
-+my $notify_r;
-+
-+( $notify_r = $dbh->func('notifies') ) 
-+    and print "\$dbh->func('notifies')...... ok\n"
-+    or  die   "\$dbh->func('notifies')...... not ok\n";
-+
- ######################### disconnect and drop test database
- # disconnect
-@@ -462,6 +502,10 @@
- ( $dbh->disconnect )
-     and print "\$dbh->disconnect ........... ok\n"
-     or  die   "\$dbh->disconnect ........... not ok: ", $DBI::errstr;
-+
-+( $dbh1->disconnect )
-+    and print "\$dbh1->disconnect .......... ok\n"
-+    or  die   "\$dbh1->disconnect .......... not ok: ", $DBI::errstr;
- $dbh0->do("DROP DATABASE $dbtest");
- $dbh0->disconnect;
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/00basic.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/00basic.t
deleted file mode 100644 (file)
index 1c0cb28..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-print "1..1\n";
-
-use DBI;
-use DBD::Pg;
-
-if ($DBD::Pg::VERSION) {
-    print "ok 1\n";
-} else {
-    print "not ok 1\n";
-}
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/01connect.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/01connect.t
deleted file mode 100644 (file)
index be17b50..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 2;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-
-ok((defined $dbh and $dbh->disconnect()),
-   'connect with transaction'
-  );
-
-undef $dbh;
-$dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                   {RaiseError => 1, AutoCommit => 1});
-
-ok((defined $dbh and $dbh->disconnect()),
-   'connect without transaction'
-  );
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/01constants.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/01constants.t
deleted file mode 100644 (file)
index 09907e9..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-use strict;
-use Test::More tests => 20;
-
-use DBD::Pg qw(:pg_types);
-
-ok(PG_BOOL      == 16,   'PG_BOOL');
-ok(PG_BYTEA     == 17,   'PG_BYTEA');
-ok(PG_CHAR      == 18,   'PG_CHAR');
-ok(PG_INT8      == 20,   'PG_INT8');
-ok(PG_INT2      == 21,   'PG_INT2');
-ok(PG_INT4      == 23,   'PG_INT4');
-ok(PG_TEXT      == 25,   'PG_TEXT');
-ok(PG_OID       == 26,   'PG_OID');
-ok(PG_FLOAT4    == 700,  'PG_FLOAT4');
-ok(PG_FLOAT8    == 701,  'PG_FLOAT8');
-ok(PG_ABSTIME   == 702,  'PG_ABSTIME');
-ok(PG_RELTIME   == 703,  'PG_RELTIME');
-ok(PG_TINTERVAL == 704,  'PG_TINTERVAL');
-ok(PG_BPCHAR    == 1042, 'PG_BPCHAR');
-ok(PG_VARCHAR   == 1043, 'PG_VARCHAR');
-ok(PG_DATE      == 1082, 'PG_DATE');
-ok(PG_TIME      == 1083, 'PG_TIME');
-ok(PG_DATETIME  == 1184, 'PG_DATETIME');
-ok(PG_TIMESPAN  == 1186, 'PG_TIMESPAN');
-ok(PG_TIMESTAMP == 1296, 'PG_TIMESTAMP');
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/01setup.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/01setup.t
deleted file mode 100644 (file)
index d0b57a3..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 3;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                   {RaiseError => 1, AutoCommit => 1});
-ok(defined $dbh,'connect without transaction');
-{
-  local $dbh->{PrintError} = 0;
-  local $dbh->{RaiseError} = 0;
-  $dbh->do(q{DROP TABLE test});
-}
-
-my $sql = <<SQL;
-CREATE TABLE test (
-  id int,
-  name text,
-  val text,
-  score float,
-  date timestamp default 'now()',
-  array text[][]
-)
-SQL
-
-ok($dbh->do($sql),
-   'create table'
-  );
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/02prepare.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/02prepare.t
deleted file mode 100644 (file)
index 373aca2..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 8;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-my $sql = <<SQL;
-        SELECT *
-          FROM test
-SQL
-
-ok($dbh->prepare($sql),
-   "prepare: $sql"
-  );
-
-$sql = <<SQL;
-        SELECT id
-          FROM test
-SQL
-
-ok($dbh->prepare($sql),
-   "prepare: $sql"
-  );
-
-$sql = <<SQL;
-        SELECT id
-             , name
-          FROM test
-SQL
-
-ok($dbh->prepare($sql),
-   "prepare: $sql"
-  );
-
-$sql = <<SQL;
-        SELECT id
-             , name
-          FROM test
-         WHERE id = 1
-SQL
-
-ok($dbh->prepare($sql),
-   "prepare: $sql"
-  );
-
-$sql = <<SQL;
-        SELECT id
-             , name
-          FROM test
-         WHERE id = ?
-SQL
-
-ok($dbh->prepare($sql),
-   "prepare: $sql"
-  );
-
-$sql = <<SQL;
-        SELECT *
-           FROM test
-         WHERE id = ?
-           AND name = ?
-           AND value = ?
-           AND score = ?
-           and data = ?
-SQL
-
-ok($dbh->prepare($sql),
-   "prepare: $sql"
-  );
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/03bind.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/03bind.t
deleted file mode 100644 (file)
index df7c884..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 11;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-my $sql = <<SQL;
-  SELECT id
-  , name
-  FROM test
-  WHERE id = ?
-SQL
-my $sth = $dbh->prepare($sql);
-ok(defined $sth,
-   "prepare: $sql"
-  );
-
-ok($sth->bind_param(1, 'foo'),
-   'bind int column with string'
-   );
-
-ok($sth->bind_param(1, 1),
-   'rebind int column with int'
-   );
-
-$sql = <<SQL;
-   SELECT id
-   , name
-   FROM test
-   WHERE id = ?
-   AND name = ?
-SQL
-$sth = $dbh->prepare($sql);
-ok(defined $sth,
-   "prepare: $sql"
-  );
-
-ok($sth->bind_param(1, 'foo'),
-   'bind int column with string',
-  );
-ok($sth->bind_param(2, 'bar'),
-   'bind string column with text'
-   );
-ok($sth->bind_param(2, 'baz'),
-   'rebind string column with text'
-  );
-
-ok($sth->finish(),
-   'finish'
-   );
-
-# Make sure that we get warnings when we try to use SQL_BINARY.
-{
-  local $SIG{__WARN__} =
-    sub { ok($_[0] =~ /^Use of SQL type SQL_BINARY/,
-            'warning with SQL_BINARY'
-           );
-       };
-
-  $sql = <<SQL;
-        SELECT id
-        , name
-        FROM test
-        WHERE id = ?
-        AND name = ?
-SQL
-  $sth = $dbh->prepare($sql);
-
-  $sth->bind_param(1, 'foo', DBI::SQL_BINARY);
-}
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/04execute.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/04execute.t
deleted file mode 100644 (file)
index 9643878..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 13;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-my $sql = <<SQL;
-  SELECT id
-  , name
-  FROM test
-  WHERE id = ?
-SQL
-my $sth = $dbh->prepare($sql);
-ok(defined $sth,
-   "prepare: $sql"
-  );
-
-$sth->bind_param(1, 1);
-ok($sth->execute(),
-   'exectute with one bind param'
-  );
-
-$sth->bind_param(1, 2);
-ok($sth->execute(),
-   'exectute with rebinding one param'
-  );
-
-$sql = <<SQL;
-       SELECT id
-       , name
-       FROM test
-       WHERE id = ?
-       AND name = ?
-SQL
-$sth = $dbh->prepare($sql);
-ok(defined $sth,
-   "prepare: $sql"
-  );
-
-$sth->bind_param(1, 2);
-$sth->bind_param(2, 'foo');
-ok($sth->execute(),
-   'exectute with two bind params'
-  );
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $sth = $dbh->prepare($sql);
-  $sth->bind_param(1, 2);
-  $sth->execute();
-};
-ok(!$@,
-  'execute with only first of two params bound'
-  );
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $sth = $dbh->prepare($sql);
-  $sth->bind_param(2, 'foo');
-  $sth->execute();
-};
-ok(!$@,
-  'execute with only second of two params bound'
-  );
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $sth = $dbh->prepare($sql);
-  $sth->execute();
-};
-ok(!$@,
-  'execute with neither of two params bound'
-  );
-
-$sth = $dbh->prepare($sql);
-ok($sth->execute(1, 'foo'),
-   'execute with both params bound in execute'
-   );
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $sth = $dbh->prepare(q{
-                        SELECT id
-                        , name
-                        FROM test
-                        WHERE id = ?
-                        AND name = ?
-                       });
-  $sth->execute(1);
-};
-ok($@,
-  'execute with only one of two params bound in execute'
-  );
-
-
-ok($sth->finish(),
-   'finish'
-   );
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/05fetch.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/05fetch.t
deleted file mode 100644 (file)
index b6f8f66..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 10;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-$dbh->do(q{INSERT INTO test (id, name, val) VALUES (1, 'foo', 'horse')});
-$dbh->do(q{INSERT INTO test (id, name, val) VALUES (2, 'bar', 'chicken')});
-$dbh->do(q{INSERT INTO test (id, name, val) VALUES (3, 'baz', 'pig')});
-ok($dbh->commit(),
-   'commit'
-   );
-
-my $sql = <<SQL;
-  SELECT id
-  , name
-  FROM test
-SQL
-my $sth = $dbh->prepare($sql);
-$sth->execute();
-
-my $rows = 0;
-while (my ($id, $name) = $sth->fetchrow_array()) {
-  if (defined($id) && defined($name)) {
-    $rows++;
-  }
-}
-$sth->finish();
-ok($rows == 3,
-   'fetch three rows'
-  );
-
-$sql = <<SQL;
-       SELECT id
-       , name
-       FROM test
-       WHERE 1 = 0
-SQL
-$sth = $dbh->prepare($sql);
-$sth->execute();
-
-$rows = 0;
-while (my ($id, $name) = $sth->fetchrow_array()) {
-  $rows++;
-}
-$sth->finish();
-
-ok($rows == 0,
-   'fetch zero rows'
-   );
-
-$sql = <<SQL;
-       SELECT id
-       , name
-       FROM test
-       WHERE id = ?
-SQL
-$sth = $dbh->prepare($sql);
-$sth->execute(1);
-
-$rows = 0;
-while (my ($id, $name) = $sth->fetchrow_array()) {
-  if (defined($id) && defined($name)) {
-    $rows++;
-  }
-}
-$sth->finish();
-
-ok($rows == 1,
-   'fetch one row on id'
-  );
-
-# Attempt to test whether or not we can get unicode out of the database
-# correctly.  Reuse the previous sth.
-SKIP: {
-  eval "use Encode";
-  skip "need Encode module for unicode tests", 3 if $@;
-  local $dbh->{pg_enable_utf8} = 1;
-  $dbh->do("INSERT INTO test (id, name, val) VALUES (4, '\001\000dam', 'cow')");
-  $sth->execute(4);
-  my ($id, $name) = $sth->fetchrow_array();
-  ok(Encode::is_utf8($name),
-     'returned data has utf8 bit set'
-    );
-  is(length($name), 4,
-     'returned utf8 data is not corrupted'
-    );
-  $sth->finish();
-  $sth->execute(1);
-  my ($id2, $name2) = $sth->fetchrow_array();
-  ok(! Encode::is_utf8($name2),
-     'returned ASCII data has not got utf8 bit set'
-    );
-  $sth->finish();
-}
-
-$sql = <<SQL;
-       SELECT id
-       , name
-       FROM test
-       WHERE name = ?
-SQL
-$sth = $dbh->prepare($sql);
-$sth->execute('foo');
-
-$rows = 0;
-while (my ($id, $name) = $sth->fetchrow_array()) {
-  if (defined($id) && defined($name)) {
-    $rows++;
-  }
-}
-$sth->finish();
-
-ok($rows == 1,
-   'fetch one row on name'
-   );
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/06disconnect.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/06disconnect.t
deleted file mode 100644 (file)
index 5d76bc0..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 3;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
-
-$dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-
-$dbh->disconnect();
-$dbh->disconnect();
-$dbh->disconnect();
-ok($dbh->disconnect(),
-   'disconnect on already disconnected dbh'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/07reuse.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/07reuse.t
deleted file mode 100644 (file)
index d09dfc0..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 3;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, PrintError => 0, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-my $sth = $dbh->prepare(q{SELECT * FROM test});
-ok($dbh->disconnect(),
-   'disconnect with un-finished statement'
-  );
-
-eval {
-  $sth->execute();
-};
-ok($@,
-   'execute on disconnected statement'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/08txn.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/08txn.t
deleted file mode 100644 (file)
index 467aa31..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 18;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh1 = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                       {RaiseError => 1, AutoCommit => 0}
-                      );
-ok(defined $dbh1,
-   'connect first dbh'
-  );
-
-my $dbh2 = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                       {RaiseError => 1, AutoCommit => 0}
-                      );
-ok(defined $dbh2,
-   'connect second dbh'
-  );
-
-$dbh1->do(q{DELETE FROM test});
-ok($dbh1->commit(),
-   'delete'
-   );
-
-my $rows = ($dbh1->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 0,
-   'fetch on empty table from dbh1'
-  );
-
-$rows = ($dbh2->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 0,
-   'fetch on empty table from dbh2'
-  );
-
-$dbh1->do(q{INSERT INTO test (id, name, val) VALUES (1, 'foo', 'horse')});
-$dbh1->do(q{INSERT INTO test (id, name, val) VALUES (2, 'bar', 'chicken')});
-$dbh1->do(q{INSERT INTO test (id, name, val) VALUES (3, 'baz', 'pig')});
-
-$rows = ($dbh1->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 3,
-   'fetch three rows on dbh1'
-  );
-
-$rows = ($dbh2->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 0,
-   'fetch on dbh2 before commit'
-  );
-
-ok($dbh1->commit(),
-   'commit work'
-  );
-
-$rows = ($dbh1->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 3,
-   'fetch on dbh1 after commit'
-  );
-
-$rows = ($dbh2->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 3,
-   'fetch on dbh2 after commit'
-  );
-
-ok($dbh1->do(q{DELETE FROM test}),
-   'delete'
-  );
-
-$rows = ($dbh1->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 0,
-   'fetch on empty table from dbh1'
-  );
-
-$rows = ($dbh2->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 3,
-   'fetch on from dbh2 without commit'
-  );
-
-ok($dbh1->rollback(),
-   'rollback'
-  );
-
-$rows = ($dbh1->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 3,
-   'fetch on from dbh1 after rollback'
-  );
-
-$rows = ($dbh2->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 3,
-   'fetch on from dbh2 after rollback'
-  );
-
-ok($dbh1->disconnect(),
-   'disconnect on dbh1'
-);
-
-ok($dbh2->disconnect(),
-   'disconnect on dbh2'
-);
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/09autocommit.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/09autocommit.t
deleted file mode 100644 (file)
index 9b1b69f..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 12;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh1 = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                       {RaiseError => 1, AutoCommit => 1}
-                      );
-ok(defined $dbh1,
-   'connect first dbh'
-  );
-
-my $dbh2 = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                       {RaiseError => 1, AutoCommit => 1}
-                      );
-ok(defined $dbh2,
-   'connect second dbh'
-  );
-
-ok($dbh1->do(q{DELETE FROM test}),
-   'delete'
-  );
-
-my $rows = ($dbh1->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 0,
-   'fetch on empty table from dbh1'
-  );
-
-$rows = ($dbh2->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 0,
-   'fetch on empty table from dbh2'
-  );
-
-ok($dbh1->do(q{INSERT INTO test (id, name, val) VALUES (1, 'foo', 'horse')}),
-   'insert'
-  );
-
-$rows = ($dbh1->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 1,
-   'fetch one row from dbh1'
-  );
-
-$rows = ($dbh2->selectrow_array(q{SELECT COUNT(*) FROM test}))[0];
-ok($rows == 1,
-   'fetch one row from dbh1'
-  );
-
-local $SIG{__WARN__} = sub {};
-ok(!$dbh1->commit(),
-   'commit'
-  );
-
-ok(!$dbh1->rollback(),
-   'rollback'
-  );
-
-ok($dbh1->disconnect(),
-   'disconnect on dbh1'
-);
-
-ok($dbh2->disconnect(),
-   'disconnect on dbh2'
-);
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/11quoting.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/11quoting.t
deleted file mode 100644 (file)
index afec963..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 8;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-my %tests = (
-            one=>["'", "'\\" . sprintf("%03o", ord("'")) . "'"],
-            two=>["''", "'" . ("\\" . sprintf("%03o", ord("'")))x2 . "'"],
-            three=>["\\", "'\\" . sprintf("%03o", ord("\\")) . "'"],
-            four=>["\\'", sprintf("'\\%03o\\%03o'", ord("\\"), ord("'"))],
-            five=>["\\'?:", sprintf("'\\%03o\\%03o?:'", ord("\\"), ord("'"))],
-           );
-
-foreach my $test (keys %tests) {
-  my ($unq, $quo, $ref);
-
-  $unq = $tests{$test}->[0];
-  $ref = $tests{$test}->[1];
-  $quo = $dbh->quote($unq);
-
-  ok($quo eq $ref,
-     "$test: $unq -> expected $quo got $ref"
-    );
-}
-
-# Make sure that SQL_BINARY doesn't work.
-#    eval { $dbh->quote('foo', { TYPE => DBI::SQL_BINARY })};
-eval {
-  local $dbh->{PrintError} = 0;
-  $dbh->quote('foo', DBI::SQL_BINARY);
-};
-ok($@ && $@ =~ /Use of SQL_BINARY invalid in quote/,
-   'SQL_BINARY'
-);
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/12placeholders.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/12placeholders.t
deleted file mode 100644 (file)
index bd79ea7..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 9;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-my $quo = $dbh->quote("\\'?:");
-my $sth = $dbh->prepare(qq{
-                       INSERT INTO test (name) VALUES ($quo)
-                      });
-$sth->execute();
-
-my $sql = <<SQL;
-       SELECT name
-       FROM test
-       WHERE name = $quo;
-SQL
-$sth = $dbh->prepare($sql);
-$sth->execute();
-
-my ($retr) = $sth->fetchrow_array();
-ok((defined($retr) && $retr eq "\\'?:"),
-   'fetch'
-  );
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $sth->execute('foo');
-};
-ok($@,
-   'execute with one bind param where none expected'
-  );
-
-$sql = <<SQL;
-       SELECT name
-       FROM test
-       WHERE name = ?
-SQL
-$sth = $dbh->prepare($sql);
-
-$sth->execute("\\'?:");
-
-($retr) = $sth->fetchrow_array();
-ok((defined($retr) && $retr eq "\\'?:"),
-   'execute with ? placeholder'
-  );
-
-$sql = <<SQL;
-       SELECT name
-       FROM test
-       WHERE name = :1
-SQL
-$sth = $dbh->prepare($sql);
-
-$sth->execute("\\'?:");
-
-($retr) = $sth->fetchrow_array();
-ok((defined($retr) && $retr eq "\\'?:"),
-   'execute with :1 placeholder'
-  );
-
-$sql = <<SQL;
-       SELECT name
-       FROM test
-       WHERE name = '?'
-SQL
-$sth = $dbh->prepare($sql);
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $sth->execute('foo');
-};
-ok($@,
-   'execute with quoted ?'
-  );
-
-$sql = <<SQL;
-       SELECT name
-       FROM test
-       WHERE name = ':1'
-SQL
-$sth = $dbh->prepare($sql);
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $sth->execute('foo');
-};
-ok($@,
-   'execute with quoted :1'
-  );
-
-$sql = <<SQL;
-       SELECT name
-       FROM test
-       WHERE name = '\\\\'
-       AND name = '?'
-SQL
-$sth = $dbh->prepare($sql);
-
-eval {
-  local $dbh->{PrintError} = 0;
-  local $sth->{PrintError} = 0;
-  $sth->execute('foo');
-};
-ok($@,
-   'execute with quoted ?'
-  );
-
-$sth->finish();
-$dbh->rollback();
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/13pgtype.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/13pgtype.t
deleted file mode 100644 (file)
index 8db819e..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 3;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-eval {
-  local $dbh->{PrintError} = 0;
-  $dbh->do(q{DROP TABLE tt});
-  $dbh->commit();
-};
-$dbh->rollback();
-
-$dbh->do(q{CREATE TABLE tt (blah numeric(5,2), foo text)});
-my $sth = $dbh->prepare(qq{
-                          SELECT * FROM tt WHERE FALSE
-                         });
-$sth->execute();
-
-my @types = @{$sth->{pg_type}};
-
-ok($types[0] eq 'numeric',
-   'type numeric'
-  );
-
-ok($types[1] eq 'text',
-   'type text'
-  );
-
-$sth->finish();
-$dbh->rollback();
-$dbh->disconnect();
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/15funct.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/15funct.t
deleted file mode 100644 (file)
index 1bc2cf9..0000000
+++ /dev/null
@@ -1,353 +0,0 @@
-#!/usr/bin/perl -w -I./t
-$| = 1;
-
-# vim:ts=2:sw=2:ai:aw:nu:
-use DBI qw(:sql_types);
-use Data::Dumper;
-use strict;
-use Test::More;
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 59;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-#
-# Test the different methods, so are expected to fail.
-#
-
-my $sth;
-
-# foreach (@{ $DBI::EXPORT_TAGS{sql_types} }) {
-#      no strict 'refs';
-#      printf "%s=%d\n", $_, &{"DBI::$_"};
-# }
-
-my $get_info = {
-         SQL_DBMS_NAME => 17
-       , SQL_DBMS_VER  => 18
-       , SQL_IDENTIFIER_QUOTE_CHAR     => 29
-       , SQL_CATALOG_NAME_SEPARATOR    => 41
-       , SQL_CATALOG_LOCATION  => 114
-};
-
-# Ping
- eval {
-        ok( $dbh->ping(), "Testing Ping" );
- };
-ok ( !$@, "Ping Tested" );
-
-# Get Info
- eval {
-        $sth = $dbh->get_info();
- };
-ok ($@, "Call to get_info with 0 arguements, error expected: $@" );
-$sth = undef;
-
-# Table Info
- eval {
-        $sth = $dbh->table_info();
- };
-ok ((!$@ and defined $sth), "table_info tested" );
-$sth = undef;
-
-# Column Info
- eval {
-        $sth = $dbh->column_info();
- };
-ok ((!$@ and defined $sth), "column_info tested" );
-#ok ($@, "Call to column_info with 0 arguements, error expected: $@" );
-$sth = undef;
-
-
-# Tables
- eval {
-        $sth = $dbh->tables();
- };
-ok ((!$@ and defined $sth), "tables tested" );
-$sth = undef;
-
-# Type Info All
- eval {
-        $sth = $dbh->type_info_all();
- };
-ok ((!$@ and defined $sth), "type_info_all tested" );
-$sth = undef;
-
-# Type Info
- eval {
-       my @types = $dbh->type_info();
-       die unless @types;
- };
-ok (!$@, "type_info(undef)");
-$sth = undef;
-
-# Quote
- eval {
-       my $val = $dbh->quote();
-       die unless $val;
- };
-ok ($@, "quote error expected: $@");
-
-$sth = undef;
-# Tests for quote:
-my @qt_vals = (1, 2, undef, 'NULL', "ThisIsAString", "This is Another String");
-my @expt_vals = (q{'1'}, q{'2'}, "NULL", q{'NULL'}, q{'ThisIsAString'}, q{'This is Another String'});
-for (my $x = 0; $x <= $#qt_vals; $x++) {
-       local $^W = 0;
-       my $val = $dbh->quote( $qt_vals[$x] );  
-       is( $val, $expt_vals[$x], "$x: quote on $qt_vals[$x] returned $val" );
-}
-
-is( $dbh->quote( 1, SQL_INTEGER() ), 1, "quote(1, SQL_INTEGER)" );
-
-
-# Quote Identifier
- eval {
-       my $val = $dbh->quote_identifier();
-       die unless $val;
- };
-
-ok ($@, "quote_identifier error expected: $@");
-$sth = undef;
-
-SKIP: {
-    skip("get_info() not yet implemented", 1);
-    #  , SQL_IDENTIFIER_QUOTE_CHAR     => 29
-    #  , SQL_CATALOG_NAME_SEPARATOR    => 41
-    my $qt  = $dbh->get_info( $get_info->{SQL_IDENTIFIER_QUOTE_CHAR} );
-    my $sep = $dbh->get_info( $get_info->{SQL_CATALOG_NAME_SEPARATOR} );
-
-    # Uncomment this line and remove the next line when get_info() is implemented.
-#    my $cmp_str = qq{${qt}link${qt}${sep}${qt}schema${qt}${sep}${qt}table${qt}};
-    my $cmp_str = '';
-    is( $dbh->quote_identifier( "link", "schema", "table" )
-       , $cmp_str
-       , q{quote_identifier( "link", "schema", "table" )}
-      );
-}
-
-# Test ping
-
-ok ($dbh->ping, "Ping the current connection ..." );
-
-# Test Get Info.
-
-#      SQL_KEYWORDS
-#      SQL_CATALOG_TERM
-#      SQL_DATA_SOURCE_NAME
-#      SQL_DBMS_NAME
-#      SQL_DBMS_VERSION
-#      SQL_DRIVER_NAME
-#      SQL_DRIVER_VER
-#      SQL_PROCEDURE_TERM
-#      SQL_SCHEMA_TERM
-#      SQL_TABLE_TERM
-#      SQL_USER_NAME
-
-SKIP: {
-    skip("get_info() not yet implemented", 5);
-    foreach my $info (sort keys %$get_info) {
-       my $type =  $dbh->get_info($get_info->{$info});
-       ok( defined $type,  "get_info($info) ($get_info->{$info}) " .
-            ($type || '') );
-    }
-}
-
-# Test Table Info
-$sth = $dbh->table_info( undef, undef, undef );
-ok( defined $sth, "table_info(undef, undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->table_info( undef, undef, undef, "VIEW" );
-ok( defined $sth, "table_info(undef, undef, undef, \"VIEW\") tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-# Test Table Info Rule 19a
-$sth = $dbh->table_info( '%', '', '');
-ok( defined $sth, "table_info('%', '', '',) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-# Test Table Info Rule 19b
-$sth = $dbh->table_info( '', '%', '');
-ok( defined $sth, "table_info('', '%', '',) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-# Test Table Info Rule 19c
-$sth = $dbh->table_info( '', '', '', '%');
-ok( defined $sth, "table_info('', '', '', '%',) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-# Test to see if this database contains any of the defined table types.
-$sth = $dbh->table_info( '', '', '', '%');
-ok( defined $sth, "table_info('', '', '', '%',) tested" );
-if ($sth) {
-       my $ref = $sth->fetchall_hashref( 'TABLE_TYPE' );
-       foreach my $type ( sort keys %$ref ) {
-               my $tsth = $dbh->table_info( undef, undef, undef, $type );
-               ok( defined $tsth, "table_info(undef, undef, undef, $type) tested" );
-               DBI::dump_results($tsth) if defined $tsth;
-               $tsth->finish;
-       }
-       $sth->finish;
-}
-$sth = undef;
-
-# Test Column Info
-$sth = $dbh->column_info( undef, undef, undef, undef );
-ok( defined $sth, "column_info(undef, undef, undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser'", undef, undef );
-ok( defined $sth, "column_info(undef, 'auser', undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'ause%'", undef, undef );
-ok( defined $sth, "column_info(undef, 'ause%', undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser','replicator'", undef, undef );
-ok( defined $sth, "column_info(undef, 'auser','replicator', undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser','repl%'", undef, undef );
-ok( defined $sth, "column_info(undef, 'auser','repl%', undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'fred','repl%'", undef, undef );
-ok( defined $sth, "column_info(undef, 'fred','repl%', undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'fred','jim'", undef, undef );
-ok( defined $sth, "column_info(undef, 'fred','jim', undef, undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser'", "'pga_schema'", undef );
-ok( defined $sth, "column_info(undef, 'auser', 'pga_schema', undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser'", "'pga_%'", undef );
-ok( defined $sth, "column_info(undef, 'auser', 'pga_%', undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'ause%'", "'pga_%'", undef );
-ok( defined $sth, "column_info(undef, 'ause%', 'pga_%', undef) tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser'", "'pga_schema'", "'schemaname'" );
-ok( defined $sth, "column_info(undef, 'auser', 'pga_schema', 'schemaname') tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser'", "'pga_schema'", "'schema%'" );
-ok( defined $sth, "column_info(undef, 'auser', 'pga_schema', 'schema%') tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'auser'", "'pga_%'", "'schema%'" );
-ok( defined $sth, "column_info(undef, 'auser', 'pga_%', 'schema%') tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-$sth = $dbh->column_info( undef, "'ause%'", "'pga_%'", "'schema%'" );
-ok( defined $sth, "column_info(undef, 'ause%', 'pga_%', 'schema%') tested" );
-DBI::dump_results($sth) if defined $sth;
-$sth = undef;
-
-# Test call to primary_key_info
-local ($dbh->{Warn}, $dbh->{PrintError});
-$dbh->{PrintError} = $dbh->{Warn} = 0;
-
-# Primary Key Info
-eval {
-    $sth = $dbh->primary_key_info();
-    die unless $sth;
-};
-ok ($@, "Call to primary_key_info with 0 arguements, error expected: $@" );
-$sth = undef;
-
-# Primary Key
-eval {
-    $sth = $dbh->primary_key();
-    die unless $sth;
-};
-ok ($@, "Call to primary_key with 0 arguements, error expected: $@" );
-$sth = undef;
-
-$sth = $dbh->primary_key_info(undef, undef, undef );
-
-ok( defined $sth, "Statement handle defined for primary_key_info()" );
-
-if ( defined $sth ) {
-    while( my $row = $sth->fetchrow_arrayref ) {
-        local $^W = 0;
-        # print join( ", ", @$row, "\n" );
-    }
-
-    undef $sth;
-
-}
-
-$sth = $dbh->primary_key_info(undef, undef, undef );
-ok( defined $sth, "Statement handle defined for primary_key_info()" );
-
-my ( %catalogs, %schemas, %tables);
-
-my $cnt = 0;
-while( my ($catalog, $schema, $table) = $sth->fetchrow_array ) {
-    local $^W = 0;
-    $catalogs{$catalog}++      if $catalog;
-    $schemas{$schema}++                if $schema;
-    $tables{$table}++                  if $table;
-    $cnt++;
-}
-ok( $cnt > 0, "At least one table has a primary key." );
-
-$sth = $dbh->primary_key_info(undef, qq{'$ENV{DBI_USER}'}, undef );
-ok(
-   defined $sth
-   , "Getting primary keys for tables owned by $ENV{DBI_USER}");
-DBI::dump_results($sth) if defined $sth;
-
-undef $sth;
-
-SKIP: {
-       # foreign_key_info
-       local ($dbh->{Warn}, $dbh->{PrintError});
-       $dbh->{PrintError} = $dbh->{Warn} = 0;
-       eval {
-       $sth = $dbh->foreign_key_info();
-               die unless $sth;
-       };
-       skip "foreign_key_info not supported by driver", 1 if $@;
-       ok( defined $sth, "Statement handle defined for foreign_key_info()" );
-       DBI::dump_results($sth) if defined $sth;
-       $sth = undef;
-}
-
-ok( $dbh->disconnect, "Disconnect from database" );
-
-exit(0);
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/99cleanup.t b/install/5.005/DBD-Pg-1.22-fixvercmp/t/99cleanup.t
deleted file mode 100644 (file)
index e7563ab..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-use strict;
-use DBI;
-use Test::More;
-
-if (defined $ENV{DBI_DSN}) {
-  plan tests => 3;
-} else {
-  plan skip_all => 'cannot test without DB info';
-}
-
-my $dbh = DBI->connect($ENV{DBI_DSN}, $ENV{DBI_USER}, $ENV{DBI_PASS},
-                      {RaiseError => 1, AutoCommit => 0}
-                     );
-ok(defined $dbh,
-   'connect with transaction'
-  );
-
-ok($dbh->do(q{DROP TABLE test}),
-   'drop'
-  );
-
-ok($dbh->disconnect(),
-   'disconnect'
-  );
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info.pm
deleted file mode 100644 (file)
index 417247f..0000000
+++ /dev/null
@@ -1,1167 +0,0 @@
-package App::Info;
-
-# $Id: Info.pm,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-=head1 NAME
-
-App::Info - Information about software packages on a system
-
-=head1 SYNOPSIS
-
-  use App::Info::Category::FooApp;
-
-  my $app = App::Info::Category::FooApp->new;
-
-  if ($app->installed) {
-      print "App name: ", $app->name, "\n";
-      print "Version:  ", $app->version, "\n";
-      print "Bin dir:  ", $app->bin_dir, "\n";
-  } else {
-      print "App not installed on your system. :-(\n";
-  }
-
-=head1 DESCRIPTION
-
-App::Info is an abstract base class designed to provide a generalized
-interface for subclasses that provide metadata about software packages
-installed on a system. The idea is that these classes can be used in Perl
-application installers in order to determine whether software dependencies
-have been fulfilled, and to get necessary metadata about those software
-packages.
-
-App::Info provides an event model for handling events triggered by App::Info
-subclasses. The events are classified as "info", "error", "unknown", and
-"confirm" events, and multiple handlers may be specified to handle any or all
-of these event types. This allows App::Info clients to flexibly handle events
-in any way they deem necessary. Implementing new event handlers is
-straight-forward, and use the triggering of events by App::Info subclasses is
-likewise kept easy-to-use.
-
-A few L<sample subclasses|"SEE ALSO"> are provided with the distribution, but
-others are invited to write their own subclasses and contribute them to the
-CPAN. Contributors are welcome to extend their subclasses to provide more
-information relevant to the application for which data is to be provided (see
-L<App::Info::HTTPD::Apache|App::Info::HTTPD::Apache> for an example), but are
-encouraged to, at a minimum, implement the abstract methods defined here and
-in the category abstract base classes (e.g.,
-L<App::Info::HTTPD|App::Info::HTTPD> and L<App::Info::Lib|App::Info::Lib>).
-See L<Subclassing|"SUBCLASSING"> for more information on implementing new
-subclasses.
-
-=cut
-
-use strict;
-use Carp ();
-use App::Info::Handler;
-use App::Info::Request;
-use vars qw($VERSION);
-
-$VERSION = '0.23';
-
-##############################################################################
-##############################################################################
-# This code ref is used by the abstract methods to throw an exception when
-# they're called directly.
-my $croak = sub {
-    my ($caller, $meth) = @_;
-    $caller = ref $caller || $caller;
-    if ($caller eq __PACKAGE__) {
-        $meth = __PACKAGE__ . '::' . $meth;
-        Carp::croak(__PACKAGE__ . " is an abstract base class. Attempt to " .
-                    " call non-existent method $meth");
-    } else {
-        Carp::croak("Class $caller inherited from the abstract base class " .
-                    __PACKAGE__ . ", but failed to redefine the $meth() " .
-                    "method. Attempt to call non-existent method " .
-                    "${caller}::$meth");
-    }
-};
-
-##############################################################################
-# This code reference is used by new() and the on_* error handler methods to
-# set the error handlers.
-my $set_handlers = sub {
-    my $on_key = shift;
-    # Default is to do nothing.
-    return [] unless $on_key;
-    my $ref = ref $on_key;
-    if ($ref) {
-        $on_key = [$on_key] unless $ref eq 'ARRAY';
-        # Make sure they're all handlers.
-        foreach my $h (@$on_key) {
-            if (my $r = ref $h) {
-                Carp::croak("$r object is not an App::Info::Handler")
-                  unless UNIVERSAL::isa($h, 'App::Info::Handler');
-            } else {
-                # Look up the handler.
-                $h = App::Info::Handler->new( key => $h);
-            }
-        }
-        # Return 'em!
-        return $on_key;
-    } else {
-        # Look up the handler.
-        return [ App::Info::Handler->new( key => $on_key) ];
-    }
-};
-
-##############################################################################
-##############################################################################
-
-=head1 INTERFACE
-
-This section documents the public interface of App::Info.
-
-=head2 Constructor
-
-=head3 new
-
-  my $app = App::Info::Category::FooApp->new(@params);
-
-Constructs an App::Info object and returns it. The @params arguments define
-how the App::Info object will respond to certain events, and correspond to
-their like-named methods. See the L<"Event Handler Object Methods"> section
-for more information on App::Info events and how to handle them. The
-parameters to C<new()> for the different types of App::Info events are:
-
-=over 4
-
-=item on_info
-
-=item on_error
-
-=item on_unknown
-
-=item on_confirm
-
-=back
-
-When passing event handlers to C<new()>, the list of handlers for each type
-should be an anonymous array, for example:
-
-  my $app = App::Info::Category::FooApp->new( on_info => \@handlers );
-
-=cut
-
-sub new {
-    my ($pkg, %p) = @_;
-    my $class = ref $pkg || $pkg;
-    # Fail if the method isn't overridden.
-    $croak->($pkg, 'new') if $class eq __PACKAGE__;
-
-    # Set up handlers.
-    for (qw(on_error on_unknown on_info on_confirm)) {
-        $p{$_} = $set_handlers->($p{$_});
-    }
-
-    # Do it!
-    return bless \%p, $class;
-}
-
-##############################################################################
-##############################################################################
-
-=head2 Metadata Object Methods
-
-These are abstract methods in App::Info and must be provided by its
-subclasses. They provide the essential metadata of the software package
-supported by the App::Info subclass.
-
-=head3 key_name
-
-  my $key_name = $app->key_name;
-
-Returns a string that uniquely identifies the software for which the App::Info
-subclass provides data. This value should be unique across all App::Info
-classes. Typically, it's simply the name of the software.
-
-=cut
-
-sub key_name { $croak->(shift, 'key_name') }
-
-=head3 installed
-
-  if ($app->installed) {
-      print "App is installed.\n"
-  } else {
-      print "App is not installed.\n"
-  }
-
-Returns a true value if the application is installed, and a false value if it
-is not.
-
-=cut
-
-sub installed { $croak->(shift, 'installed') }
-
-##############################################################################
-
-=head3 name
-
-  my $name = $app->name;
-
-Returns the name of the application.
-
-=cut
-
-sub name { $croak->(shift, 'name') }
-
-##############################################################################
-
-=head3 version
-
-  my $version = $app->version;
-
-Returns the full version number of the application.
-
-=cut
-
-##############################################################################
-
-sub version { $croak->(shift, 'version') }
-
-=head3 major_version
-
-  my $major_version = $app->major_version;
-
-Returns the major version number of the application. For example, if
-C<version()> returns "7.1.2", then this method returns "7".
-
-=cut
-
-sub major_version { $croak->(shift, 'major_version') }
-
-##############################################################################
-
-=head3 minor_version
-
-  my $minor_version = $app->minor_version;
-
-Returns the minor version number of the application. For example, if
-C<version()> returns "7.1.2", then this method returns "1".
-
-=cut
-
-sub minor_version { $croak->(shift, 'minor_version') }
-
-##############################################################################
-
-=head3 patch_version
-
-  my $patch_version = $app->patch_version;
-
-Returns the patch version number of the application. For example, if
-C<version()> returns "7.1.2", then this method returns "2".
-
-=cut
-
-sub patch_version { $croak->(shift, 'patch_version') }
-
-##############################################################################
-
-=head3 bin_dir
-
-  my $bin_dir = $app->bin_dir;
-
-Returns the full path the application's bin directory, if it exists.
-
-=cut
-
-sub bin_dir { $croak->(shift, 'bin_dir') }
-
-##############################################################################
-
-=head3 inc_dir
-
-  my $inc_dir = $app->inc_dir;
-
-Returns the full path the application's include directory, if it exists.
-
-=cut
-
-sub inc_dir { $croak->(shift, 'inc_dir') }
-
-##############################################################################
-
-=head3 lib_dir
-
-  my $lib_dir = $app->lib_dir;
-
-Returns the full path the application's lib directory, if it exists.
-
-=cut
-
-sub lib_dir { $croak->(shift, 'lib_dir') }
-
-##############################################################################
-
-=head3 so_lib_dir
-
-  my $so_lib_dir = $app->so_lib_dir;
-
-Returns the full path the application's shared library directory, if it
-exists.
-
-=cut
-
-sub so_lib_dir { $croak->(shift, 'so_lib_dir') }
-
-##############################################################################
-
-=head3 home_url
-
-  my $home_url = $app->home_url;
-
-The URL for the software's home page.
-
-=cut
-
-sub home_url  { $croak->(shift, 'home_url') }
-
-##############################################################################
-
-=head3 download_url
-
-  my $download_url = $app->download_url;
-
-The URL for the software's download page.
-
-=cut
-
-sub download_url  { $croak->(shift, 'download_url') }
-
-##############################################################################
-##############################################################################
-
-=head2 Event Handler Object Methods
-
-These methods provide control over App::Info event handling. Events can be
-handled by one or more objects of subclasses of App::Info::Handler. The first
-to return a true value will be the last to execute. This approach allows
-handlers to be stacked, and makes it relatively easy to create new handlers.
-L<App::Info::Handler|App::Info::Handler> for information on writing event
-handlers.
-
-Each of the event handler methods takes a list of event handlers as its
-arguments. If none are passed, the existing list of handlers for the relevant
-event type will be returned. If new handlers are passed in, they will be
-returned.
-
-The event handlers may be specified as one or more objects of the
-App::Info::Handler class or subclasses, as one or more strings that tell
-App::Info construct such handlers itself, or a combination of the two. The
-strings can only be used if the relevant App::Info::Handler subclasses have
-registered strings with App::Info. For example, the App::Info::Handler::Print
-class included in the App::Info distribution registers the strings "stderr"
-and "stdout" when it starts up. These strings may then be used to tell
-App::Info to construct App::Info::Handler::Print objects that print to STDERR
-or to STDOUT, respectively. See the App::Info::Handler subclasses for what
-strings they register with App::Info.
-
-=head3 on_info
-
-  my @handlers = $app->on_info;
-  $app->on_info(@handlers);
-
-Info events are triggered when the App::Info subclass wants to send an
-informational status message. By default, these events are ignored, but a
-common need is for such messages to simply print to STDOUT. Use the
-L<App::Info::Handler::Print|App::Info::Handler::Print> class included with the
-App::Info distribution to have info messages print to STDOUT:
-
-  use App::Info::Handler::Print;
-  $app->on_info('stdout');
-  # Or:
-  my $stdout_handler = App::Info::Handler::Print->new('stdout');
-  $app->on_info($stdout_handler);
-
-=cut
-
-sub on_info {
-    my $self = shift;
-    $self->{on_info} = $set_handlers->(\@_) if @_;
-    return @{ $self->{on_info} };
-}
-
-=head3 on_error
-
-  my @handlers = $app->on_error;
-  $app->on_error(@handlers);
-
-Error events are triggered when the App::Info subclass runs into an unexpected
-but not fatal problem. (Note that fatal problems will likely throw an
-exception.) By default, these events are ignored. A common way of handling
-these events is to print them to STDERR, once again using the
-L<App::Info::Handler::Print|App::Info::Handler::Print> class included with the
-App::Info distribution:
-
-  use App::Info::Handler::Print;
-  my $app->on_error('stderr');
-  # Or:
-  my $stderr_handler = App::Info::Handler::Print->new('stderr');
-  $app->on_error($stderr_handler);
-
-Another approach might be to turn such events into fatal exceptions. Use the
-included L<App::Info::Handler::Carp|App::Info::Handler::Carp> class for this
-purpose:
-
-  use App::Info::Handler::Carp;
-  my $app->on_error('croak');
-  # Or:
-  my $croaker = App::Info::Handler::Carp->new('croak');
-  $app->on_error($croaker);
-
-=cut
-
-sub on_error {
-    my $self = shift;
-    $self->{on_error} = $set_handlers->(\@_) if @_;
-    return @{ $self->{on_error} };
-}
-
-=head3 on_unknown
-
-  my @handlers = $app->on_unknown;
-  $app->on_uknown(@handlers);
-
-Unknown events are trigged when the App::Info subclass cannot find the value
-to be returned by a method call. By default, these events are ignored. A
-common way of handling them is to have the application prompt the user for the
-relevant data. The App::Info::Handler::Prompt class included with the
-App::Info distribution can do just that:
-
-  use App::Info::Handler::Prompt;
-  my $app->on_unknown('prompt');
-  # Or:
-  my $prompter = App::Info::Handler::Prompt;
-  $app->on_unknown($prompter);
-
-See L<App::Info::Handler::Prompt|App::Info::Handler::Prompt> for information
-on how it works.
-
-=cut
-
-sub on_unknown {
-    my $self = shift;
-    $self->{on_unknown} = $set_handlers->(\@_) if @_;
-    return @{ $self->{on_unknown} };
-}
-
-=head3 on_confirm
-
-  my @handlers = $app->on_confirm;
-  $app->on_confirm(@handlers);
-
-Confirm events are triggered when the App::Info subclass has found an
-important piece of information (such as the location of the executable it'll
-use to collect information for the rest of its methods) and wants to confirm
-that the information is correct. These events will most often be triggered
-during the App::Info subclass object construction. Here, too, the
-App::Info::Handler::Prompt class included with the App::Info distribution can
-help out:
-
-  use App::Info::Handler::Prompt;
-  my $app->on_confirm('prompt');
-  # Or:
-  my $prompter = App::Info::Handler::Prompt;
-  $app->on_confirm($prompter);
-
-=cut
-
-sub on_confirm {
-    my $self = shift;
-    $self->{on_confirm} = $set_handlers->(\@_) if @_;
-    return @{ $self->{on_confirm} };
-}
-
-##############################################################################
-##############################################################################
-
-=head1 SUBCLASSING
-
-As an abstract base class, App::Info is not intended to be used directly.
-Instead, you'll use concrete subclasses that implement the interface it
-defines. These subclasses each provide the metadata necessary for a given
-software package, via the interface outlined above (plus any additional
-methods the class author deems sensible for a given application).
-
-This section describes the facilities App::Info provides for subclassing. The
-goal of the App::Info design has been to make subclassing straight-forward, so
-that developers can focus on gathering the data they need for their
-application and minimize the work necessary to handle unknown values or to
-confirm values. As a result, there are essentially three concepts that
-developers need to understand when subclassing App::Info: organization,
-utility methods, and events.
-
-=head2 Organization
-
-The organizational idea behind App::Info is to name subclasses by broad
-software categories. This approach allows the categories themselves to
-function as abstract base classes that extend App::Info, so that they can
-specify more methods for all of their base classes to implement. For example,
-App::Info::HTTPD has specified the C<httpd_root()> abstract method that its
-subclasses must implement. So as you get ready to implement your own subclass,
-think about what category of software you're gathering information about.
-New categories can be added as necessary.
-
-=head2 Utility Methods
-
-Once you've decided on the proper category, you can start implementing your
-App::Info concrete subclass. As you do so, take advantage of App::Info::Util,
-wherein I've tried to encapsulate common functionality to make subclassing
-easier. I found that most of what I was doing repetitively was looking for
-files and directories, and searching through files. Thus, App::Info::Util
-subclasses L<File::Spec|File::Spec> in order to offer easy access to
-commonly-used methods from that class, e.g., C<path()>. Plus, it has several
-of its own methods to assist you in finding files and directories in lists of
-files and directories, as well as methods for searching through files and
-returning the values found in those files. See
-L<App::Info::Util|App::Info::Util> for more information, and the App::Info
-subclasses in this distribution for usage examples.
-
-I recommend the use of a package-scoped lexical App::Info::Util object. That
-way it's nice and handy when you need to carry out common tasks. If you find
-you're doing something over and over that's not already addressed by an
-App::Info::Util method, consider submitting a patch to App::Info::Util to add
-the functionality you need.
-
-=head2 Events
-
-Use the methods described below to trigger events. Events are designed to
-provide a simple way for App::Info subclass developers to send status messages
-and errors, to confirm data values, and to request a value when the class
-caonnot determine a value itself. Events may optionally be handled by module
-users who assign App::Info::Handler subclass objects to your App::Info
-subclass object using the event handling methods described in the L<"Event
-Handler Object Methods"> section.
-
-=cut
-
-##############################################################################
-# This code reference is used by the event methods to manage the stack of
-# event handlers that may be available to handle each of the events.
-my $handler = sub {
-    my ($self, $meth, $params) = @_;
-
-    # Sanity check. We really want to keep control over this.
-    Carp::croak("Cannot call protected method $meth()")
-      unless UNIVERSAL::isa($self, scalar caller(1));
-
-    # Create the request object.
-    $params->{type} ||= $meth;
-    my $req = App::Info::Request->new(%$params);
-
-    # Do the deed. The ultimate handling handler may die.
-    foreach my $eh (@{$self->{"on_$meth"}}) {
-        last if $eh->handler($req);
-    }
-
-    # Return the requst.
-    return $req;
-};
-
-##############################################################################
-
-=head3 info
-
-  $self->info(@message);
-
-Use this method to display status messages for the user. You may wish to use
-it to inform users that you're searching for a particular file, or attempting
-to parse a file or some other resource for the data you need. For example, a
-common use might be in the object constructor: generally, when an App::Info
-object is created, some important initial piece of information is being
-sought, such as an executable file. That file may be in one of many locations,
-so it makes sense to let the user know that you're looking for it:
-
-  $self->info("Searching for executable");
-
-Note that, due to the nature of App::Info event handlers, your informational
-message may be used or displayed any number of ways, or indeed not at all (as
-is the default behavior).
-
-The C<@message> will be joined into a single string and stored in the
-C<message> attribute of the App::Info::Request object passed to info event
-handlers.
-
-=cut
-
-sub info {
-    my $self = shift;
-    # Execute the handler sequence.
-    my $req = $handler->($self, 'info', { message => join '', @_ });
-}
-
-##############################################################################
-
-=head3 error
-
-  $self->error(@error);
-
-Use this method to inform the user that something unexpected has happened. An
-example might be when you invoke another program to parse its output, but it's
-output isn't what you expected:
-
-  $self->error("Unable to parse version from `/bin/myapp -c`");
-
-As with all events, keep in mind that error events may be handled in any
-number of ways, or not at all.
-
-The C<@erorr> will be joined into a single string and stored in the C<message>
-attribute of the App::Info::Request object passed to error event handlers. If
-that seems confusing, think of it as an "error message" rather than an "error
-error." :-)
-
-=cut
-
-sub error {
-    my $self = shift;
-    # Execute the handler sequence.
-    my $req = $handler->($self, 'error', { message => join '', @_ });
-}
-
-##############################################################################
-
-=head3 unknown
-
-  my $val = $self->unknown(@params);
-
-Use this method when a value is unknown. This will give the user the option --
-assuming the appropriate handler handles the event -- to provide the needed
-data. The value entered will be returned by C<unknown()>. The parameters are
-as follows:
-
-=over 4
-
-=item key
-
-The C<key> parameter uniquely identifies the data point in your class, and is
-used by App::Info to ensure that an unknown event is handled only once, no
-matter how many times the method is called. The same value will be returned by
-subsequent calls to C<unknown()> as was returned by the first call, and no
-handlers will be activated. Typical values are "version" and "lib_dir".
-
-=item prompt
-
-The C<prompt> parameter is the prompt to be displayed should an event handler
-decide to prompt for the appropriate value. Such a prompt might be something
-like "Path to your httpd executable?". If this parameter is not provided,
-App::Info will construct one for you using your class' C<key_name()> method
-and the C<key> parameter. The result would be something like "Enter a valid
-FooApp version". The C<prompt> parameter value will be stored in the
-C<message> attribute of the App::Info::Request object passed to event
-handlers.
-
-=item callback
-
-Assuming a handler has collected a value for your unknown data point, it might
-make sense to validate the value. For example, if you prompt the user for a
-directory location, and the user enters one, it makes sense to ensure that the
-directory actually exists. The C<callback> parameter allows you to do this. It
-is a code reference that takes the new value or values as its arguments, and
-returns true if the value is valid, and false if it is not. For the sake of
-convenience, the first argument to the callback code reference is also stored
-in C<$_> .This makes it easy to validate using functions or operators that,
-er, operate on C<$_> by default, but still allows you to get more information
-from C<@_> if necessary. For the directory example, a good callback might be
-C<sub { -d }>. The C<callback> parameter code reference will be stored in the
-C<callback> attribute of the App::Info::Request object passed to event
-handlers.
-
-=item error
-
-The error parameter is the error message to display in the event that the
-C<callback> code reference returns false. This message may then be used by the
-event handler to let the user know what went wrong with the data she entered.
-For example, if the unknown value was a directory, and the user entered a
-value that the C<callback> identified as invalid, a message to display might
-be something like "Invalid directory path". Note that if the C<error>
-parameter is not provided, App::Info will supply the generic error message
-"Invalid value". This value will be stored in the C<error> attribute of the
-App::Info::Request object passed to event handlers.
-
-=back
-
-This may be the event method you use most, as it should be called in every
-metadata method if you cannot provide the data needed by that method. It will
-typically be the last part of the method. Here's an example demonstrating each
-of the above arguments:
-
-  my $dir = $self->unknown( key      => 'lib_dir',
-                            prompt   => "Enter lib directory path",
-                            callback => sub { -d },
-                            error    => "Not a directory");
-
-=cut
-
-sub unknown {
-    my ($self, %params) = @_;
-    my $key = delete $params{key}
-      or Carp::croak("No key parameter passed to unknown()");
-    # Just return the value if we've already handled this value. Ideally this
-    # shouldn't happen.
-    return $self->{__unknown__}{$key} if exists $self->{__unknown__}{$key};
-
-    # Create a prompt and error message, if necessary.
-    $params{message} = delete $params{prompt} ||
-      "Enter a valid " . $self->key_name . " $key";
-    $params{error} ||= 'Invalid value';
-
-    # Execute the handler sequence.
-    my $req = $handler->($self, "unknown", \%params);
-
-    # Mark that we've provided this value and then return it.
-    $self->{__unknown__}{$key} = $req->value;
-    return $self->{__unknown__}{$key};
-}
-
-##############################################################################
-
-=head3 confirm
-
-  my $val = $self->confirm(@params);
-
-This method is very similar to C<unknown()>, but serves a different purpose.
-Use this method for significant data points where you've found an appropriate
-value, but want to ensure it's really the correct value. A "significant data
-point" is usually a value essential for your class to collect metadata values.
-For example, you might need to locate an executable that you can then call to
-collect other data. In general, this will only happen once for an object --
-during object construction -- but there may be cases in which it is needed
-more than that. But hopefully, once you've confirmed in the constructor that
-you've found what you need, you can use that information to collect the data
-needed by all of the metadata methods and can assume that they'll be right
-because that first, significant data point has been confirmed.
-
-Other than where and how often to call C<confirm()>, its use is quite similar
-to that of C<unknown()>. Its parameters are as follows:
-
-=over
-
-=item key
-
-Same as for C<unknown()>, a string that uniquely identifies the data point in
-your class, and ensures that the event is handled only once for a given key.
-The same value will be returned by subsequent calls to C<confirm()> as was
-returned by the first call for a given key.
-
-=item prompt
-
-Same as for C<unknown()>. Although C<confirm()> is called to confirm a value,
-typically the prompt should request the relevant value, just as for
-C<unknown()>. The difference is that the handler I<should> use the C<value>
-parameter as the default should the user not provide a value. The C<prompt>
-parameter will be stored in the C<message> attribute of the App::Info::Request
-object passed to event handlers.
-
-=item value
-
-The value to be confirmed. This is the value you've found, and it will be
-provided to the user as the default option when they're prompted for a new
-value. This value will be stored in the C<value> attribute of the
-App::Info::Request object passed to event handlers.
-
-=item callback
-
-Same as for C<unknown()>. Because the user can enter data to replace the
-default value provided via the C<value> parameter, you might want to validate
-it. Use this code reference to do so. The callback will be stored in the
-C<callback> attribute of the App::Info::Request object passed to event
-handlers.
-
-=item error
-
-Same as for C<unknown()>: an error message to display in the event that a
-value entered by the user isn't validated by the C<callback> code reference.
-This value will be stored in the C<error> attribute of the App::Info::Request
-object passed to event handlers.
-
-=back
-
-Here's an example usage demonstrating all of the above arguments:
-
-  my $exe = $self->confirm( key      => 'shell',
-                            prompt   => 'Path to your shell?',
-                            value    => '/bin/sh',
-                            callback => sub { -x },
-                            error    => 'Not an executable');
-
-
-=cut
-
-sub confirm {
-    my ($self, %params) = @_;
-    my $key = delete $params{key}
-      or Carp::croak("No key parameter passed to confirm()");
-    return $self->{__confirm__}{$key} if exists $self->{__confirm__}{$key};
-
-    # Create a prompt and error message, if necessary.
-    $params{message} = delete $params{prompt} ||
-      "Enter a valid " . $self->key_name . " $key";
-    $params{error} ||= 'Invalid value';
-
-    # Execute the handler sequence.
-    my $req = $handler->($self, "confirm", \%params);
-
-    # Mark that we've confirmed this value.
-    $self->{__confirm__}{$key} = $req->value;
-
-    return $self->{__confirm__}{$key}
-}
-
-1;
-__END__
-
-=head2 Event Examples
-
-Below I provide some examples demonstrating the use of the event methods.
-These are meant to emphasize the contexts in which it's appropriate to use
-them.
-
-Let's start with the simplest, first. Let's say that to find the version
-number for an application, you need to search a file for the relevant data.
-Your App::Info concrete subclass might have a private method that handles this
-work, and this method is the appropriate place to use the C<info()> and, if
-necessary, C<error()> methods.
-
-  sub _find_version {
-      my $self = shift;
-
-      # Try to find the revelant file. We cover this method below.
-      # Just return if we cant' find it.
-      my $file = $self->_find_file('version.conf') or return;
-
-      # Send a status message.
-      $self->info("Searching '$file' file for version");
-
-      # Search the file. $util is an App::Info::Util object.
-      my $ver = $util->search_file($file, qr/^Version\s+(.*)$/);
-
-      # Trigger an error message, if necessary. We really think we'll have the
-      # value, but we have to cover our butts in the unlikely event that we're
-      # wrong.
-      $self->error("Unable to find version in file '$file'") unless $ver;
-
-      # Return the version number.
-      return $ver;
-  }
-
-Here we've used the C<info()> method to display a status message to let the
-user know what we're doing. Then we used the C<error()> method when something
-unexpected happened, which in this case was that we weren't able to find the
-version number in the file.
-
-Note the C<_find_file()> method we've thrown in. This might be a method that
-we call whenever we need to find a file that might be in one of a list of
-directories. This method, too, will be an appropriate place for an C<info()>
-method call. But rather than call the C<error()> method when the file can't be
-found, you might want to give an event handler a chance to supply that value
-for you. Use the C<unknown()> method for a case such as this:
-
-  sub _find_file {
-      my ($self, $file) = @_;
-
-      # Send a status message.
-      $self->info("Searching for '$file' file");
-
-      # Look for the file. See App::Info:Utility for its interface.
-      my @paths = qw(/usr/conf /etc/conf /foo/conf);
-      my $found = $util->first_cat_path($file, @paths);
-
-      # If we didn't find it, trigger an unknown event to
-      # give a handler a chance to get the value.
-      $found ||= $self->unknown( key      => "file_$file",
-                                 prompt   => "Location of '$file' file?",
-                                 callback => sub { -f },
-                                 error    => "Not a file");
-
-      # Now return the file name, regardless of whether we found it or not.
-      return $found;
-  }
-
-Note how in this method, we've tried to locate the file ourselves, but if we
-can't find it, we trigger an unknown event. This allows clients of our
-App::Info subclass to try to establish the value themselves by having an
-App::Info::Handler subclass handle the event. If a value is found by an
-App::Info::Handler subclass, it will be returned by C<unknown()> and we can
-continue. But we can't assume that the unknown event will even be handled, and
-thus must expect that an unknown value may remain unknown. This is why the
-C<_find_version()> method above simply returns if C<_find_file()> doesn't
-return a file name; there's no point in searching through a file that doesn't
-exist.
-
-Attentive readers may be left to wonder how to decide when to use C<error()>
-and when to use C<unknown()>. To a large extent, this decision must be based
-on one's own understanding of what's most appropriate. Nevertheless, I offer
-the following simple guidelines: Use C<error()> when you expect something to
-work and then it just doesn't (as when a file exists and should contain the
-information you seek, but then doesn't). Use C<unknown()> when you're less
-sure of your processes for finding the value, and also for any of the values
-that should be returned by any of the L<metadata object methods|"Metadata
-Object Methods">. And of course, C<error()> would be more appropriate when you
-encounter an unexpected condition and don't think that it could be handled in
-any other way.
-
-Now, more than likely, a method such C<_find_version()> would be called by the
-C<version()> method, which is a metadata method mandated by the App::Info
-abstract base class. This is an appropriate place to handle an unknown version
-value. Indeed, every one of your metadata methods should make use of the
-C<unknown()> method. The C<version()> method then should look something like
-this:
-
-  sub version {
-      my $self = shift;
-
-      unless (exists $self->{version}) {
-          # Try to find the version number.
-          $self->{version} = $self->_find_version ||
-            $self->unknown( key    => 'version',
-                            prompt => "Enter the version number");
-      }
-
-      # Now return the version number.
-      return $self->{version};
-  }
-
-Note how this method only tries to find the version number once. Any
-subsequent calls to C<version()> will return the same value that was returned
-the first time it was called. Of course, thanks to the C<key> parameter in the
-call to C<unknown()>, we could have have tried to enumerate the version number
-every time, as C<unknown()> will return the same value every time it is called
-(as, indeed, should C<_find_version()>. But by checking for the C<version> key
-in C<$self> ourselves, we save some of the overhead.
-
-But as I said before, every metadata method should make use of the
-C<unknown()> method. Thus, the C<major()> method might looks something like
-this:
-
-  sub major {
-      my $self = shift;
-
-      unless (exists $self->{major}) {
-          # Try to get the major version from the full version number.
-          ($self->{major}) = $self->version =~ /^(\d+)\./;
-          # Handle an unknown value.
-          $self->{major} = $self->unknown( key      => 'major',
-                                           prompt   => "Enter major version",
-                                           callback => sub { /^\d+$/ },
-                                           error    => "Not a number")
-            unless defined $self->{major};
-      }
-
-      return $self->{version};
-  }
-
-Finally, the C<confirm()> method should be used to verify core pieces of data
-that significant numbers of other methods rely on. Typically such data are
-executables or configuration files from which will be drawn other metadata.
-Most often, such major data points will be sought in the object constructor.
-Here's an example:
-
-  sub new {
-      # Construct the object so that handlers will work properly.
-      my $self = shift->SUPER::new(@_);
-
-      # Try to find the executable.
-      $self->info("Searching for executable");
-      if (my $exe = $util->first_exe('/bin/myapp', '/usr/bin/myapp')) {
-          # Confirm it.
-          $self->{exe} =
-            $self->confirm( key      => 'binary',
-                            prompt   => 'Path to your executable?',
-                            value    => $exe,
-                            callback => sub { -x },
-                            error    => 'Not an executable');
-      } else {
-          # Handle an unknown value.
-          $self->{exe} =
-            $self->unknown( key      => 'binary',
-                            prompt   => 'Path to your executable?',
-                            callback => sub { -x },
-                            error    => 'Not an executable');
-      }
-
-      # We're done.
-      return $self;
-  }
-
-By now, most of what's going on here should be quite familiar. The use of the
-C<confirm()> method is quite similar to that of C<unknown()>. Really the only
-difference is that the value is known, but we need verification or a new value
-supplied if the value we found isn't correct. Such may be the case when
-multiple copies of the executable have been installed on the system, we found
-F</bin/myapp>, but the user may really be interested in F</usr/bin/myapp>.
-Thus the C<confirm()> event gives the user the chance to change the value if
-the confirm event is handled.
-
-The final thing to note about this constructor is the first line:
-
-  my $self = shift->SUPER::new(@_);
-
-The first thing an App::Info subclass should do is execute this line to allow
-the super class to construct the object first. Doing so allows any event
-handling arguments to set up the event handlers, so that when we call
-C<confirm()> or C<unknown()> the event will be handled as the client expects.
-
-If we needed our subclass constructor to take its own parameter argumente, the
-approach is to specify the same C<key => $arg> syntax as is used by
-App::Info's C<new()> method. Say we wanted to allow clients of our App::Info
-subclass to pass in a list of alternate executable locations for us to search.
-Such an argument would most make sense as an array reference. So we specify
-that the key be C<alt_paths> and allow the user to construct an object like
-this:
-
-  my $app = App::Info::Category::FooApp->new( alt_paths => \@paths );
-
-This approach allows the super class constructor arguments to pass unmolested
-(as long as we use unique keys!):
-
-  my $app = App::Info::Category::FooApp->new( on_error  => \@handlers,
-                                              alt_paths => \@paths );
-
-Then, to retrieve these paths inside our C<new()> constructor, all we need do
-is access them directly from the object:
-
-  my $self = shift->SUPER::new(@_);
-  my $alt_paths = $self->{alt_paths};
-
-=head2 Subclassing Guidelines
-
-To summarize, here are some guidelines for subclassing App::Info.
-
-=over 4
-
-=item *
-
-Always subclass an App::Info category subclass. This will help to keep the
-App::Info namespace well-organized. New categories can be added as needed.
-
-=item *
-
-When you create the C<new()> constructor, always call C<SUPER::new(@_)>. This
-ensures that the event handling methods methods defined by the App::Info base
-classes (e.g., C<error()>) will work properly.
-
-=item *
-
-Use a package-scoped lexical App::Info::Util object to carry out common tasks.
-If you find you're doing something over and over that's not already addressed
-by an App::Info::Util method, and you think that others might find your
-solution useful, consider submitting a patch to App::Info::Util to add the
-functionality you need. See L<App::Info::Util|App::Info::Util> for complete
-documentation of its interface.
-
-=item *
-
-Use the C<info()> event triggering method to send messages to users of your
-subclass.
-
-=item *
-
-Use the C<error()> event triggering method to alert users of unexpected
-conditions. Fatal errors should still be fatal; use C<Carp::croak()> to throw
-exceptions for fatal errors.
-
-=item *
-
-Use the C<unknown()> event triggering method when a metadata or other
-important value is unknown and you want to give any event handlers the chance
-to provide the data.
-
-=item *
-
-Use the C<confirm()> event triggering method when a core piece of data is
-known (such as the location of an executable in the C<new()> constructor) and
-you need to make sure that you have the I<correct> information.
-
-=item *
-
-Be sure to implement B<all> of the abstract methods defined by App::Info and
-by your category abstract base class -- even if they don't do anything. Doing
-so ensures that all App::Info subclasses share a common interface, and can, if
-necessary, be used without regard to subclass. Any method not implemented but
-called on an object will generate a fatal exception.
-
-=back
-
-Otherwise, have fun! There are a lot of software packages for which relevant
-information might be collected and aggregated into an App::Info concrete
-subclass (witness all of the Automake macros in the world!), and folks who are
-knowledgeable about particular software packages or categories of software are
-warmly invited to contribute. As more subclasses are implemented, it will make
-sense, I think, to create separate distributions based on category -- or even,
-when necessary, on a single software package. Broader categories can then be
-aggregated in Bundle distributions.
-
-But I get ahead of myself...
-
-=head1 BUGS
-
-Report all bugs via the CPAN Request Tracker at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>.
-
-=head1 AUTHOR
-
-David Wheeler <L<david@wheeler.net|"david@wheeler.net">>
-
-=head1 SEE ALSO
-
-The following classes define a few software package categories in which
-App::Info subclasses can be placed. Check them out for ideas on how to
-create new category subclasses.
-
-=over 4
-
-=item L<App::Info::HTTP|App::Info::HTTPD>
-
-=item L<App::Info::RDBMS|App::Info::RDBMS>
-
-=item L<App::Info::Lib|App::Info::Lib>
-
-=back
-
-The following classes implement the App::Info interface for various software
-packages. Check them out for examples of how to implement new App::Info
-concrete subclasses.
-
-=over
-
-=item L<App::Info::HTTPD::Apache|App::Info::HTTPD::Apache>
-
-=item L<App::Info::RDBMS::PostgreSQL|App::Info::RDBMS::PostgreSQL>
-
-=item L<App::Info::Lib::Expat|App::Info::Lib::Expat>
-
-=item L<App::Info::Lib::Iconv|App::Info::Lib::Iconv>
-
-=back
-
-L<App::Info::Util|App::Info::Util> provides utility methods for App::Info
-subclasses.
-
-L<App::Info::Handler|App::Info::Handler> defines an interface for event
-handlers to subclass. Consult its documentation for information on creating
-custom event handlers.
-
-The following classes implement the App::Info::Handler interface to offer some
-simple event handling. Check them out for examples of how to implement new
-App::Info::Handler subclasses.
-
-=over 4
-
-=item L<App::Info::Handler::Print|App::Info::Handler::Print>
-
-=item L<App::Info::Handler::Carp|App::Info::Handler::Carp>
-
-=item L<App::Info::Handler::Prompt|App::Info::Handler::Prompt>
-
-=back
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 2002, David Wheeler. All Rights Reserved.
-
-This module is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=cut
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Handler.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Handler.pm
deleted file mode 100644 (file)
index 65416a8..0000000
+++ /dev/null
@@ -1,305 +0,0 @@
-package App::Info::Handler;
-
-# $Id: Handler.pm,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-=head1 NAME
-
-App::Info::Handler - App::Info event handler base class
-
-=head1 SYNOPSIS
-
-  use App::Info::Category::FooApp;
-  use App::Info::Handler;
-
-  my $app = App::Info::Category::FooApp->new( on_info => ['default'] );
-
-=head1 DESCRIPTION
-
-This class defines the interface for subclasses that wish to handle events
-triggered by App::Info concrete subclasses. The different types of events
-triggered by App::Info can all be handled by App::Info::Handler (indeed, by
-default they're all handled by a single App::Info::Handler object), and
-App::Info::Handler subclasses may be designed to handle whatever events they
-wish.
-
-If you're interested in I<using> an App::Info event handler, this is probably
-not the class you should look at, since all it does is define a simple handler
-that does nothing with an event. Look to the L<App::Info::Handler
-subclasses|"SEE ALSO"> included in this distribution to do more interesting
-things with App::Info events.
-
-If, on the other hand, you're interested in implementing your own event
-handlers, read on!
-
-=cut
-
-use strict;
-use vars qw($VERSION);
-$VERSION = '0.22';
-
-my %handlers;
-
-=head1 INTERFACE
-
-This section documents the public interface of App::Info::Handler.
-
-=head2 Class Method
-
-=head3 register_handler
-
-  App::Info::Handler->register_handler( $key => $code_ref );
-
-This class method may be used by App::Info::Handler subclasses to register
-themselves with App::Info::Handler. Multiple registrations are supported. The
-idea is that a subclass can define different functionality by specifying
-different strings that represent different modes of constructing an
-App::Info::Handler subclass object. The keys are case-sensitve, and should be
-unique across App::Info::Handler subclasses so that many subclasses can be
-loaded and used separately. If the C<$key> is already registered,
-C<register_handler()> will throw an exception. The values are code references
-that, when executed, return the appropriate App::Info::Handler subclass
-object.
-
-=cut
-
-sub register_handler {
-    my ($pkg, $key, $code) = @_;
-    Carp::croak("Handler '$key' already exists")
-      if $handlers{$key};
-    $handlers{$key} = $code;
-}
-
-# Register ourself.
-__PACKAGE__->register_handler('default', sub { __PACKAGE__->new } );
-
-##############################################################################
-
-=head2 Constructor
-
-=head3 new
-
-  my $handler = App::Info::Handler->new;
-  $handler =  App::Info::Handler->new( key => $key);
-
-Constructs an App::Info::Handler object and returns it. If the key parameter
-is provided and has been registered by an App::Info::Handler subclass via the
-C<register_handler()> class method, then the relevant code reference will be
-executed and the resulting App::Info::Handler subclass object returned. This
-approach provides a handy shortcut for having C<new()> behave as an abstract
-factory method, returning an object of the subclass appropriate to the key
-parameter.
-
-=cut
-
-sub new {
-    my ($pkg, %p) = @_;
-    my $class = ref $pkg || $pkg;
-    $p{key} ||= 'default';
-    if ($class eq __PACKAGE__ && $p{key} ne 'default') {
-        # We were called directly! Handle it.
-        Carp::croak("No such handler '$p{key}'") unless $handlers{$p{key}};
-        return $handlers{$p{key}}->();
-    } else {
-        # A subclass called us -- just instantiate and return.
-        return bless \%p, $class;
-    }
-}
-
-=head2 Instance Method
-
-=head3 handler
-
-  $handler->handler($req);
-
-App::Info::Handler defines a single instance method that must be defined by
-its subclasses, C<handler()>. This is the method that will be executed by an
-event triggered by an App::Info concrete subclass. It takes as its single
-argument an App::Info::Request object, and returns a true value if it has
-handled the event request. Returning a false value declines the request, and
-App::Info will then move on to the next handler in the chain.
-
-The C<handler()> method implemented in App::Info::Handler itself does nothing
-more than return a true value. It thus acts as a very simple default event
-handler. See the App::Info::Handler subclasses for more interesting handling
-of events, or create your own!
-
-=cut
-
-sub handler { 1 }
-
-1;
-__END__
-
-=head1 SUBCLASSING
-
-I hatched the idea of the App::Info event model with its subclassable handlers
-as a way of separating the aggregation of application metadata from writing a
-user interface for handling certain conditions. I felt it a better idea to
-allow people to create their own user interfaces, and instead to provide only
-a few examples. The App::Info::Handler class defines the API interface for
-handling these conditions, which App::Info refers to as "events".
-
-There are various types of events defined by App::Info ("info", "error",
-"unknown", and "confirm"), but the App::Info::Handler interface is designed to
-be flexible enough to handle any and all of them. If you're interested in
-creating your own App::Info event handler, this is the place to learn how.
-
-=head2 The Interface
-
-To create an App::Info event handler, all one need do is subclass
-App::Info::Handler and then implement the C<new()> constructor and the
-C<handler()> method. The C<new()> constructor can do anything you like, and
-take any arguments you like. However, I do recommend that the first thing
-you do in your implementation is to call the super constructor:
-
-  sub new {
-      my $pkg = shift;
-      my $self = $pkg->SUPER::new(@_);
-      # ... other stuff.
-      return $self;
-  }
-
-Although the default C<new()> constructor currently doesn't do much, that may
-change in the future, so this call will keep you covered. What it does do is
-take the parameterized arguments and assign them to the App::Info::Handler
-object. Thus if you've specified a "mode" argument, where clients can
-construct objects of you class like this:
-
-  my $handler = FooHandler->new( mode => 'foo' );
-
-You can access the mode parameter directly from the object, like so:
-
-  sub new {
-      my $pkg = shift;
-      my $self = $pkg->SUPER::new(@_);
-      if ($self->{mode} eq 'foo') {
-          # ...
-      }
-      return $self;
-  }
-
-Just be sure not to use a parameter key name required by App::Info::Handler
-itself. At the moment, the only parameter accepted by App::Info::Handler is
-"key", so in general you'll be pretty safe.
-
-Next, I recommend that you take advantage of the C<register_handler()> method
-to create some shortcuts for creating handlers of your class. For example, say
-we're creating a handler subclass FooHandler. It has two modes, a default
-"foo" mode and an advanced "bar" mode. To allow both to be constructed by
-stringified shortcuts, the FooHandler class implementation might start like
-this:
-
-  package FooHandler;
-
-  use strict;
-  use App::Info::Handler;
-  use vars qw(@ISA);
-  @ISA = qw(App::Info::Handler);
-
-  foreach my $c (qw(foo bar)) {
-      App::Info::Handler->register_handler
-        ( $c => sub { __PACKAGE__->new( mode => $c) } );
-  }
-
-The strings "foo" and "bar" can then be used by clients as shortcuts to have
-App::Info objects automatically create and use handlers for certain events.
-For example, if a client wanted to use a "bar" event handler for its info
-events, it might do this:
-
-  use App::Info::Category::FooApp;
-  use FooHandler;
-
-  my $app = App::Info::Category::FooApp->new(on_info => ['bar']);
-
-Take a look at App::Info::Handler::Print and App::Info::Handler::Carp to see
-concrete examples of C<register_handler()> usage.
-
-The final step in creating a new App::Info event handler is to implement the
-C<handler()> method itself. This method takes a single argument, an
-App::Info::Request object, and is expected to return true if it handled the
-request, and false if it did not. The App::Info::Request object contains all
-the metadata relevant to a request, including the type of event that triggered
-it; see L<App::Info::Request|App::Info::Request> for its documentation.
-
-Use the App::Info::Request object however you like to handle the request
-however you like. You are, however, expected to abide by a a few guidelines:
-
-=over 4
-
-=item *
-
-For error and info events, you are expected (but not required) to somehow
-display the info or error message for the user. How your handler chooses to do
-so is up to you and the handler.
-
-=item *
-
-For unknown and confirm events, you are expected to prompt the user for a
-value. If it's a confirm event, offer the known value (found in
-C<$req-E<gt>value>) as a default.
-
-=item *
-
-For unknown and confirm events, you are expected to call C<$req-E<gt>callback>
-and pass in the new value. If C<$req-E<gt>callback> returns a false value, you
-are expected to display the error message in C<$req-E<gt>error> and prompt the
-user again. Note that C<$req-E<gt>value> calls C<$req-E<gt>callback>
-internally, and thus assigns the value and returns true if
-C<$req-E<gt>callback> returns true, and does not assign the value and returns
-false if C<$req-E<gt>callback> returns false.
-
-=item *
-
-For unknown and confirm events, if you've collected a new value and
-C<$req-E<gt>callback> returns true for that value, you are expected to assign
-the value by passing it to C<$req-E<gt>value>. This allows App::Info to give
-the value back to the calling App::Info concrete subclass.
-
-=back
-
-Probably the easiest way to get started creating new App::Info event handlers
-is to check out the simple handlers provided with the distribution and follow
-their logical examples. Consult the App::Info documentation of the L<event
-methods|App::Info/"Events"> for details on how App::Info constructs the
-App::Info::Request object for each event type.
-
-=head1 BUGS
-
-Report all bugs via the CPAN Request Tracker at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>.
-
-=head1 AUTHOR
-
-David Wheeler <L<david@wheeler.net|"david@wheeler.net">>
-
-=head1 SEE ALSO
-
-L<App::Info|App::Info> thoroughly documents the client interface for setting
-event handlers, as well as the event triggering interface for App::Info
-concrete subclasses.
-
-L<App::Info::Request|App::Info::Request> documents the interface for the
-request objects passed to App::Info::Handler C<handler()> methods.
-
-The following App::Info::Handler subclasses offer examples for event handler
-authors, and, of course, provide actual event handling functionality for
-App::Info clients.
-
-=over 4
-
-=item L<App::Info::Handler::Carp|App::Info::Handler::Carp>
-
-=item L<App::Info::Handler::Print|App::Info::Handler::Print>
-
-=item L<App::Info::Handler::Prompt|App::Info::Handler::Prompt>
-
-=back
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 2002, David Wheeler. All Rights Reserved.
-
-This module is free software; you can redistribute it and/or modify it under the
-same terms as Perl itself.
-
-=cut
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Handler/Prompt.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Handler/Prompt.pm
deleted file mode 100644 (file)
index 47edd78..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-package App::Info::Handler::Prompt;
-
-# $Id: Prompt.pm,v 1.1 2004-04-29 09:21:29 ivan Exp $
-
-=head1 NAME
-
-App::Info::Handler::Prompt - Prompting App::Info event handler
-
-=head1 SYNOPSIS
-
-  use App::Info::Category::FooApp;
-  use App::Info::Handler::Print;
-
-  my $prompter = App::Info::Handler::Print->new;
-  my $app = App::Info::Category::FooApp->new( on_unknown => $prompter );
-
-  # Or...
-  my $app = App::Info::Category::FooApp->new( on_confirm => 'prompt' );
-
-=head1 DESCRIPTION
-
-App::Info::Handler::Prompt objects handle App::Info events by printing their
-messages to C<STDOUT> and then accepting a new value from C<STDIN>. The new
-value is validated by any callback supplied by the App::Info concrete subclass
-that triggered the event. If the value is valid, App::Info::Handler::Prompt
-assigns the new value to the event request. If it isn't it prints the error
-message associated with the event request, and then prompts for the data
-again.
-
-Although designed with unknown and confirm events in mind,
-App::Info::Handler::Prompt handles info and error events as well. It will
-simply print info event messages to C<STDOUT> and print error event messages
-to C<STDERR>. For more interesting info and error event handling, see
-L<App::Info::Handler::Print|App::Info::Handler::Print> and
-L<App::Info::Handler::Carp|App::Info::Handler::Carp>.
-
-Upon loading, App::Info::Handler::Print registers itself with
-App::Info::Handler, setting up a single string, "prompt", that can be passed
-to an App::Info concrete subclass constructor. This string is a shortcut that
-tells App::Info how to create an App::Info::Handler::Print object for handling
-events.
-
-=cut
-
-use strict;
-use App::Info::Handler;
-use vars qw($VERSION @ISA);
-$VERSION = '0.22';
-@ISA = qw(App::Info::Handler);
-
-# Register ourselves.
-App::Info::Handler->register_handler
-  ('prompt' => sub { __PACKAGE__->new('prompt') } );
-
-=head1 INTERFACE
-
-=head2 Constructor
-
-=head3 new
-
-  my $prompter = App::Info::Handler::Prompt->new;
-
-Constructs a new App::Info::Handler::Prompt object and returns it. No special
-arguments are required.
-
-=cut
-
-sub new {
-    my $pkg = shift;
-    my $self = $pkg->SUPER::new(@_);
-    $self->{tty} = -t STDIN && ( -t STDOUT || !( -f STDOUT || -c STDOUT ) );
-    # We're done!
-    return $self;
-}
-
-my $get_ans = sub {
-    my ($prompt, $tty, $def) = @_;
-    # Print the message.
-    local $| = 1;
-    local $\;
-    print $prompt;
-
-    # Collect the answer.
-    my $ans;
-    if ($tty) {
-        $ans = <STDIN>;
-        if (defined $ans ) {
-            chomp $ans;
-        } else { # user hit ctrl-D
-            print "\n";
-        }
-    } else {
-        print "$def\n" if defined $def;
-    }
-    return $ans;
-};
-
-sub handler {
-    my ($self, $req) = @_;
-    my $ans;
-    my $type = $req->type;
-    if ($type eq 'unknown' || $type eq 'confirm') {
-        # We'll want to prompt for a new value.
-        my $val = $req->value;
-        my ($def, $dispdef) = defined $val ? ($val, " [$val] ") : ('', ' ');
-        my $msg = $req->message or Carp::croak("No message in request");
-        $msg .= $dispdef;
-
-        # Get the answer.
-        $ans = $get_ans->($msg, $self->{tty}, $def);
-        # Just return if they entered an empty string or we couldnt' get an
-        # answer.
-        return 1 unless defined $ans && $ans ne '';
-
-        # Validate the answer.
-        my $err = $req->error;
-        while (!$req->value($ans)) {
-            print "$err: '$ans'\n";
-            $ans = $get_ans->($msg, $self->{tty}, $def);
-            return 1 unless defined $ans && $ans ne '';
-        }
-
-    } elsif ($type eq 'info') {
-        # Just print the message.
-        print STDOUT $req->message, "\n";
-    } elsif ($type eq 'error') {
-        # Just print the message.
-        print STDERR $req->message, "\n";
-    } else {
-        # This shouldn't happen.
-        Carp::croak("Invalid request type '$type'");
-    }
-
-    # Return true to indicate that we've handled the request.
-    return 1;
-}
-
-1;
-__END__
-
-=head1 BUGS
-
-Report all bugs via the CPAN Request Tracker at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>.
-
-=head1 AUTHOR
-
-David Wheeler <L<david@wheeler.net|"david@wheeler.net">>
-
-=head1 SEE ALSO
-
-L<App::Info|App::Info> documents the event handling interface.
-
-L<App::Info::Handler::Carp|App::Info::Handler::Carp> handles events by
-passing their messages Carp module functions.
-
-L<App::Info::Handler::Print|App::Info::Handler::Print> handles events by
-printing their messages to a file handle.
-
-L<App::Info::Handler|App::Info::Handler> describes how to implement custom
-App::Info event handlers.
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 2002, David Wheeler. All Rights Reserved.
-
-This module is free software; you can redistribute it and/or modify it under the
-same terms as Perl itself.
-
-=cut
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/RDBMS.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/RDBMS.pm
deleted file mode 100644 (file)
index 504d570..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-package App::Info::RDBMS;
-
-# $Id: RDBMS.pm,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-use strict;
-use App::Info;
-use vars qw(@ISA $VERSION);
-@ISA = qw(App::Info);
-$VERSION = '0.22';
-
-1;
-__END__
-
-=head1 NAME
-
-App::Info::RDBMS - Information about databases on a system
-
-=head1 DESCRIPTION
-
-This class is an abstract base class for App::Info subclasses that provide
-information about relational databases. Its subclasses are required to
-implement its interface. See L<App::Info|App::Info> for a complete description
-and L<App::Info::RDBMS::PostgreSQL|App::Info::RDBMS::PostgreSQL> for an example
-implementation.
-
-=head1 INTERFACE
-
-Currently, App::Info::RDBMS adds no more methods than those from its parent
-class, App::Info.
-
-=head1 BUGS
-
-Report all bugs via the CPAN Request Tracker at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>.
-
-=head1 AUTHOR
-
-David Wheeler <L<david@wheeler.net|"david@wheeler.net">>
-
-=head1 SEE ALSO
-
-L<App::Info|App::Info>,
-L<App::Info::RDBMS::PostgreSQL|App::Info::RDBMS::PostgreSQL>
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 2002, David Wheeler. All Rights Reserved.
-
-This module is free software; you can redistribute it and/or modify it under the
-same terms as Perl itself.
-
-=cut
-
-
-
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/RDBMS/PostgreSQL.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/RDBMS/PostgreSQL.pm
deleted file mode 100644 (file)
index aef326c..0000000
+++ /dev/null
@@ -1,730 +0,0 @@
-package App::Info::RDBMS::PostgreSQL;
-
-# $Id: PostgreSQL.pm,v 1.1 2004-04-29 09:21:29 ivan Exp $
-
-=head1 NAME
-
-App::Info::RDBMS::PostgreSQL - Information about PostgreSQL
-
-=head1 SYNOPSIS
-
-  use App::Info::RDBMS::PostgreSQL;
-
-  my $pg = App::Info::RDBMS::PostgreSQL->new;
-
-  if ($pg->installed) {
-      print "App name: ", $pg->name, "\n";
-      print "Version:  ", $pg->version, "\n";
-      print "Bin dir:  ", $pg->bin_dir, "\n";
-  } else {
-      print "PostgreSQL is not installed. :-(\n";
-  }
-
-=head1 DESCRIPTION
-
-App::Info::RDBMS::PostgreSQL supplies information about the PostgreSQL
-database server installed on the local system. It implements all of the
-methods defined by App::Info::RDBMS. Methods that trigger events will trigger
-them only the first time they're called (See L<App::Info|App::Info> for
-documentation on handling events). To start over (after, say, someone has
-installed PostgreSQL) construct a new App::Info::RDBMS::PostgreSQL object to
-aggregate new metadata.
-
-Some of the methods trigger the same events. This is due to cross-calling of
-shared subroutines. However, any one event should be triggered no more than
-once. For example, although the info event "Executing `pg_config --version`"
-is documented for the methods C<name()>, C<version()>, C<major_version()>,
-C<minor_version()>, and C<patch_version()>, rest assured that it will only be
-triggered once, by whichever of those four methods is called first.
-
-=cut
-
-use strict;
-use App::Info::RDBMS;
-use App::Info::Util;
-use vars qw(@ISA $VERSION);
-@ISA = qw(App::Info::RDBMS);
-$VERSION = '0.22';
-
-my $u = App::Info::Util->new;
-
-=head1 INTERFACE
-
-=head2 Constructor
-
-=head3 new
-
-  my $pg = App::Info::RDBMS::PostgreSQL->new(@params);
-
-Returns an App::Info::RDBMS::PostgreSQL object. See L<App::Info|App::Info> for
-a complete description of argument parameters.
-
-When it called, C<new()> searches the file system for the F<pg_config>
-application. If found, F<pg_config> will be called by the object methods below
-to gather the data necessary for each. If F<pg_config> cannot be found, then
-PostgreSQL is assumed not to be installed, and each of the object methods will
-return C<undef>.
-
-App::Info::RDBMS::PostgreSQL searches for F<pg_config> along your path, as
-defined by C<File::Spec-E<gt>path>. Failing that, it searches the following
-directories:
-
-=over 4
-
-=item /usr/local/pgsql/bin
-
-=item /usr/local/postgres/bin
-
-=item /opt/pgsql/bin
-
-=item /usr/local/bin
-
-=item /usr/local/sbin
-
-=item /usr/bin
-
-=item /usr/sbin
-
-=item /bin
-
-=back
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Looking for pg_config
-
-=item confirm
-
-Path to pg_config?
-
-=item unknown
-
-Path to pg_config?
-
-=back
-
-=cut
-
-sub new {
-    # Construct the object.
-    my $self = shift->SUPER::new(@_);
-
-    # Find pg_config.
-    $self->info("Looking for pg_config");
-    my @paths = ($u->path,
-      qw(/usr/local/pgsql/bin
-         /usr/local/postgres/bin
-         /opt/pgsql/bin
-         /usr/local/bin
-         /usr/local/sbin
-         /usr/bin
-         /usr/sbin
-         /bin));
-
-    if (my $cfg = $u->first_cat_exe('pg_config', @paths)) {
-        # We found it. Confirm.
-        $self->{pg_config} = $self->confirm( key      => 'pg_config',
-                                             prompt   => 'Path to pg_config?',
-                                             value    => $cfg,
-                                             callback => sub { -x },
-                                             error    => 'Not an executable');
-    } else {
-        # Handle an unknown value.
-        $self->{pg_config} = $self->unknown( key      => 'pg_config',
-                                             prompt   => 'Path to pg_config?',
-                                             callback => sub { -x },
-                                             error    => 'Not an executable');
-    }
-
-    return $self;
-}
-
-# We'll use this code reference as a common way of collecting data.
-my $get_data = sub {
-    return unless $_[0]->{pg_config};
-    $_[0]->info("Executing `$_[0]->{pg_config} $_[1]`");
-    my $info = `$_[0]->{pg_config} $_[1]`;
-    chomp $info;
-    return $info;
-};
-
-##############################################################################
-
-=head2 Class Method
-
-=head3 key_name
-
-  my $key_name = App::Info::RDBMS::PostgreSQL->key_name;
-
-Returns the unique key name that describes this class. The value returned is
-the string "PostgreSQL".
-
-=cut
-
-sub key_name { 'PostgreSQL' }
-
-##############################################################################
-
-=head2 Object Methods
-
-=head3 installed
-
-  print "PostgreSQL is ", ($pg->installed ? '' : 'not '), "installed.\n";
-
-Returns true if PostgreSQL is installed, and false if it is not.
-App::Info::RDBMS::PostgreSQL determines whether PostgreSQL is installed based
-on the presence or absence of the F<pg_config> application on the file system
-as found when C<new()> constructed the object. If PostgreSQL does not appear
-to be installed, then all of the other object methods will return empty
-values.
-
-=cut
-
-sub installed { return $_[0]->{pg_config} ? 1 : undef }
-
-##############################################################################
-
-=head3 name
-
-  my $name = $pg->name;
-
-Returns the name of the application. App::Info::RDBMS::PostgreSQL parses the
-name from the system call C<`pg_config --version`>.
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --version`
-
-=item error
-
-Failed to find PostgreSQL version with `pg_config --version`
-
-Unable to parse name from string
-
-Unable to parse version from string
-
-Failed to parse PostgreSQL version parts from string
-
-=item unknown
-
-Enter a valid PostgreSQL name
-
-=back
-
-=cut
-
-# This code reference is used by name(), version(), major_version(),
-# minor_version(), and patch_version() to aggregate the data they need.
-my $get_version = sub {
-    my $self = shift;
-    $self->{'--version'} = 1;
-    my $data = $get_data->($self, '--version');
-    unless ($data) {
-        $self->error("Failed to find PostgreSQL version with ".
-                     "`$self->{pg_config} --version");
-            return;
-    }
-
-    chomp $data;
-    my ($name, $version) =  split /\s+/, $data, 2;
-
-    # Check for and assign the name.
-    $name ?
-      $self->{name} = $name :
-      $self->error("Unable to parse name from string '$data'");
-
-    # Parse the version number.
-    if ($version) {
-        my ($x, $y, $z) = $version =~ /(\d+)\.(\d+).(\d+)/;
-        if (defined $x and defined $y and defined $z) {
-            @{$self}{qw(version major minor patch)} =
-              ($version, $x, $y, $z);
-        } else {
-            $self->error("Failed to parse PostgreSQL version parts from " .
-                         "string '$version'");
-        }
-    } else {
-        $self->error("Unable to parse version from string '$data'");
-    }
-};
-
-sub name {
-    my $self = shift;
-    return unless $self->{pg_config};
-
-    # Load data.
-    $get_version->($self) unless $self->{'--version'};
-
-    # Handle an unknown name.
-    $self->{name} ||= $self->unknown( key => 'name' );
-
-    # Return the name.
-    return $self->{name};
-}
-
-##############################################################################
-
-=head3 version
-
-  my $version = $pg->version;
-
-Returns the PostgreSQL version number. App::Info::RDBMS::PostgreSQL parses the
-version number from the system call C<`pg_config --version`>.
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --version`
-
-=item error
-
-Failed to find PostgreSQL version with `pg_config --version`
-
-Unable to parse name from string
-
-Unable to parse version from string
-
-Failed to parse PostgreSQL version parts from string
-
-=item unknown
-
-Enter a valid PostgreSQL version number
-
-=back
-
-=cut
-
-sub version {
-    my $self = shift;
-    return unless $self->{pg_config};
-
-    # Load data.
-    $get_version->($self) unless $self->{'--version'};
-
-    # Handle an unknown value.
-    unless ($self->{version}) {
-        # Create a validation code reference.
-        my $chk_version = sub {
-            # Try to get the version number parts.
-            my ($x, $y, $z) = /^(\d+)\.(\d+).(\d+)$/;
-            # Return false if we didn't get all three.
-            return unless $x and defined $y and defined $z;
-            # Save all three parts.
-            @{$self}{qw(major minor patch)} = ($x, $y, $z);
-            # Return true.
-            return 1;
-        };
-        $self->{version} = $self->unknown( key      => 'version number',
-                                           callback => $chk_version);
-    }
-
-    return $self->{version};
-}
-
-##############################################################################
-
-=head3 major version
-
-  my $major_version = $pg->major_version;
-
-Returns the PostgreSQL major version number. App::Info::RDBMS::PostgreSQL
-parses the major version number from the system call C<`pg_config --version`>.
-For example, C<version()> returns "7.1.2", then this method returns "7".
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --version`
-
-=item error
-
-Failed to find PostgreSQL version with `pg_config --version`
-
-Unable to parse name from string
-
-Unable to parse version from string
-
-Failed to parse PostgreSQL version parts from string
-
-=item unknown
-
-Enter a valid PostgreSQL major version number
-
-=back
-
-=cut
-
-# This code reference is used by major_version(), minor_version(), and
-# patch_version() to validate a version number entered by a user.
-my $is_int = sub { /^\d+$/ };
-
-sub major_version {
-    my $self = shift;
-    return unless $self->{pg_config};
-    # Load data.
-    $get_version->($self) unless exists $self->{'--version'};
-    # Handle an unknown value.
-    $self->{major} = $self->unknown( key      => 'major version number',
-                                     callback => $is_int)
-      unless $self->{major};
-    return $self->{major};
-}
-
-##############################################################################
-
-=head3 minor version
-
-  my $minor_version = $pg->minor_version;
-
-Returns the PostgreSQL minor version number. App::Info::RDBMS::PostgreSQL
-parses the minor version number from the system call C<`pg_config --version`>.
-For example, if C<version()> returns "7.1.2", then this method returns "2".
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --version`
-
-=item error
-
-Failed to find PostgreSQL version with `pg_config --version`
-
-Unable to parse name from string
-
-Unable to parse version from string
-
-Failed to parse PostgreSQL version parts from string
-
-=item unknown
-
-Enter a valid PostgreSQL minor version number
-
-=back
-
-=cut
-
-sub minor_version {
-    my $self = shift;
-    return unless $self->{pg_config};
-    # Load data.
-    $get_version->($self) unless exists $self->{'--version'};
-    # Handle an unknown value.
-    $self->{minor} = $self->unknown( key      => 'minor version number',
-                                     callback => $is_int)
-      unless defined $self->{minor};
-    return $self->{minor};
-}
-
-##############################################################################
-
-=head3 patch version
-
-  my $patch_version = $pg->patch_version;
-
-Returns the PostgreSQL patch version number. App::Info::RDBMS::PostgreSQL
-parses the patch version number from the system call C<`pg_config --version`>.
-For example, if C<version()> returns "7.1.2", then this method returns "1".
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --version`
-
-=item error
-
-Failed to find PostgreSQL version with `pg_config --version`
-
-Unable to parse name from string
-
-Unable to parse version from string
-
-Failed to parse PostgreSQL version parts from string
-
-=item unknown
-
-Enter a valid PostgreSQL minor version number
-
-=back
-
-=cut
-
-sub patch_version {
-    my $self = shift;
-    return unless $self->{pg_config};
-    # Load data.
-    $get_version->($self) unless exists $self->{'--version'};
-    # Handle an unknown value.
-    $self->{patch} = $self->unknown( key      => 'patch version number',
-                                     callback => $is_int)
-      unless defined $self->{patch};
-    return $self->{patch};
-}
-
-##############################################################################
-
-=head3 bin_dir
-
-  my $bin_dir = $pg->bin_dir;
-
-Returns the PostgreSQL binary directory path. App::Info::RDBMS::PostgreSQL
-gathers the path from the system call C<`pg_config --bindir`>.
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --bindir`
-
-=item error
-
-Cannot find bin directory
-
-=item unknown
-
-Enter a valid PostgreSQL bin directory
-
-=back
-
-=cut
-
-# This code reference is used by bin_dir(), lib_dir(), and so_lib_dir() to
-# validate a directory entered by the user.
-my $is_dir = sub { -d };
-
-sub bin_dir {
-    my $self = shift;
-    return unless $self->{pg_config};
-    unless (exists $self->{bin_dir} ) {
-        if (my $dir = $get_data->($self, '--bindir')) {
-            $self->{bin_dir} = $dir;
-        } else {
-            # Handle an unknown value.
-            $self->error("Cannot find bin directory");
-            $self->{bin_dir} = $self->unknown( key      => 'bin directory',
-                                               callback => $is_dir)
-        }
-    }
-
-    return $self->{bin_dir};
-}
-
-##############################################################################
-
-=head3 inc_dir
-
-  my $inc_dir = $pg->inc_dir;
-
-Returns the PostgreSQL include directory path. App::Info::RDBMS::PostgreSQL
-gathers the path from the system call C<`pg_config --includedir`>.
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --includedir`
-
-=item error
-
-Cannot find include directory
-
-=item unknown
-
-Enter a valid PostgreSQL include directory
-
-=back
-
-=cut
-
-sub inc_dir {
-    my $self = shift;
-    return unless $self->{pg_config};
-    unless (exists $self->{inc_dir} ) {
-        if (my $dir = $get_data->($self, '--includedir')) {
-            $self->{inc_dir} = $dir;
-        } else {
-            # Handle an unknown value.
-            $self->error("Cannot find include directory");
-            $self->{inc_dir} = $self->unknown( key      => 'include directory',
-                                               callback => $is_dir)
-        }
-    }
-
-    return $self->{inc_dir};
-}
-
-##############################################################################
-
-=head3 lib_dir
-
-  my $lib_dir = $pg->lib_dir;
-
-Returns the PostgreSQL library directory path. App::Info::RDBMS::PostgreSQL
-gathers the path from the system call C<`pg_config --libdir`>.
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --libdir`
-
-=item error
-
-Cannot find library directory
-
-=item unknown
-
-Enter a valid PostgreSQL library directory
-
-=back
-
-=cut
-
-sub lib_dir {
-    my $self = shift;
-    return unless $self->{pg_config};
-    unless (exists $self->{lib_dir} ) {
-        if (my $dir = $get_data->($self, '--libdir')) {
-            $self->{lib_dir} = $dir;
-        } else {
-            # Handle an unknown value.
-            $self->error("Cannot find library directory");
-            $self->{lib_dir} = $self->unknown( key      => 'library directory',
-                                               callback => $is_dir)
-        }
-    }
-
-    return $self->{lib_dir};
-}
-
-##############################################################################
-
-=head3 so_lib_dir
-
-  my $so_lib_dir = $pg->so_lib_dir;
-
-Returns the PostgreSQL shared object library directory path.
-App::Info::RDBMS::PostgreSQL gathers the path from the system call
-C<`pg_config --pkglibdir`>.
-
-B<Events:>
-
-=over 4
-
-=item info
-
-Executing `pg_config --pkglibdir`
-
-=item error
-
-Cannot find shared object library directory
-
-=item unknown
-
-Enter a valid PostgreSQL shared object library directory
-
-=back
-
-=cut
-
-# Location of dynamically loadable modules.
-sub so_lib_dir {
-    my $self = shift;
-    return unless $self->{pg_config};
-    unless (exists $self->{so_lib_dir} ) {
-        if (my $dir = $get_data->($self, '--pkglibdir')) {
-            $self->{so_lib_dir} = $dir;
-        } else {
-            # Handle an unknown value.
-            $self->error("Cannot find shared object library directory");
-            $self->{so_lib_dir} =
-              $self->unknown( key      => 'shared object library directory',
-                              callback => $is_dir)
-        }
-    }
-
-    return $self->{so_lib_dir};
-}
-
-##############################################################################
-
-=head3 home_url
-
-  my $home_url = $pg->home_url;
-
-Returns the PostgreSQL home page URL.
-
-=cut
-
-sub home_url { "http://www.postgresql.org/" }
-
-##############################################################################
-
-=head3 download_url
-
-  my $download_url = $pg->download_url;
-
-Returns the PostgreSQL download URL.
-
-=cut
-
-sub download_url { "http://www.ca.postgresql.org/sitess.html" }
-
-1;
-__END__
-
-=head1 BUGS
-
-Report all bugs via the CPAN Request Tracker at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>.
-
-=head1 AUTHOR
-
-David Wheeler <L<david@wheeler.net|"david@wheeler.net">> based on code by Sam
-Tregar <L<sam@tregar.com|"sam@tregar.com">>.
-
-=head1 SEE ALSO
-
-L<App::Info|App::Info> documents the event handling interface.
-
-L<App::Info::RDBMS|App::Info::RDBMS> is the App::Info::RDBMS::PostgreSQL
-parent class.
-
-L<DBD::Pg|DBD::Pg> is the L<DBI|DBI> driver for connecting to PostgreSQL
-databases.
-
-L<http://www.postgresql.org/> is the PostgreSQL home page.
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 2002, David Wheeler. All Rights Reserved.
-
-This module is free software; you can redistribute it and/or modify it under the
-same terms as Perl itself.
-
-=cut
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Request.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Request.pm
deleted file mode 100644 (file)
index c02c97b..0000000
+++ /dev/null
@@ -1,287 +0,0 @@
-package App::Info::Request;
-
-# $Id: Request.pm,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-=head1 NAME
-
-App::Info::Request - App::Info event handler request object
-
-=head1 SYNOPSIS
-
-  # In an App::Info::Handler subclass:
-  sub handler {
-      my ($self, $req) = @_;
-      print "Event Type:  ", $req->type;
-      print "Message:     ", $req->message;
-      print "Error:       ", $req->error;
-      print "Value:       ", $req->value;
-  }
-
-=head1 DESCRIPTION
-
-Objects of this class are passed to the C<handler()> method of App::Info event
-handlers. Generally, this class will be of most interest to App::Info::Handler
-subclass implementers.
-
-The L<event triggering methods|App::Info/"Events"> in App::Info each construct
-a new App::Info::Request object and initialize it with their arguments. The
-App::Info::Request object is then the sole argument passed to the C<handler()>
-method of any and all App::Info::Handler objects in the event handling chain.
-Thus, if you'd like to create your own App::Info event handler, this is the
-object you need to be familiar with. Consult the
-L<App::Info::Handler|App::Info::Handler> documentation for details on creating
-custom event handlers.
-
-Each of the App::Info event triggering methods constructs an
-App::Info::Request object with different attribute values. Be sure to consult
-the documentation for the L<event triggering methods|App::Info/"Events"> in
-App::Info, where the values assigned to the App::Info::Request object are
-documented. Then, in your event handler subclass, check the value returned by
-the C<type()> method to determine what type of event request you're handling
-to handle the request appropriately.
-
-=cut
-
-use strict;
-use vars qw($VERSION);
-$VERSION = '0.23';
-
-##############################################################################
-
-=head1 INTERFACE
-
-The following sections document the App::Info::Request interface.
-
-=head2 Constructor
-
-=head3 new
-
-  my $req = App::Info::Request->new(%params);
-
-This method is used internally by App::Info to construct new
-App::Info::Request objects to pass to event handler objects. Generally, you
-won't need to use it, other than perhaps for testing custom App::Info::Handler
-classes.
-
-The parameters to C<new()> are passed as a hash of named parameters that
-correspond to their like-named methods. The supported parameters are:
-
-=over 4
-
-=item type
-
-=item message
-
-=item error
-
-=item value
-
-=item callback
-
-=back
-
-See the object methods documentation below for details on these object
-attributes.
-
-=cut
-
-sub new {
-    my $pkg = shift;
-
-    # Make sure we've got a hash of arguments.
-    Carp::croak("Odd number of parameters in call to " . __PACKAGE__ .
-                "->new() when named parameters expected" ) if @_ % 2;
-    my %params = @_;
-
-    # Validate the callback.
-    if ($params{callback}) {
-        Carp::croak("Callback parameter '$params{callback}' is not a code ",
-                    "reference")
-            unless UNIVERSAL::isa($params{callback}, 'CODE');
-    } else {
-        # Otherwise just assign a default approve callback.
-        $params{callback} = sub { 1 };
-    }
-
-    # Validate type parameter.
-    if (my $t = $params{type}) {
-        Carp::croak("Invalid handler type '$t'")
-          unless $t eq 'error' or $t eq 'info' or $t eq 'unknown'
-          or $t eq 'confirm';
-    } else {
-        $params{type} = 'info';
-    }
-
-    # Return the request object.
-    bless \%params, ref $pkg || $pkg;
-}
-
-##############################################################################
-
-=head2 Object Methods
-
-=head3 message
-
-  my $message = $req->message;
-
-Returns the message stored in the App::Info::Request object. The message is
-typically informational, or an error message, or a prompt message.
-
-=cut
-
-sub message { $_[0]->{message} }
-
-##############################################################################
-
-=head3 error
-
-  my $error = $req->error;
-
-Returns any error message associated with the App::Info::Request object. The
-error message is typically there to display for users when C<callback()>
-returns false.
-
-=cut
-
-sub error { $_[0]->{error} }
-
-##############################################################################
-
-=head3 type
-
-  my $type = $req->type;
-
-Returns a string representing the type of event that triggered this request.
-The types are the same as the event triggering methods defined in App::Info.
-As of this writing, the supported types are:
-
-=over
-
-=item info
-
-=item error
-
-=item unknown
-
-=item confirm
-
-=back
-
-Be sure to consult the App::Info documentation for more details on the event
-types.
-
-=cut
-
-sub type { $_[0]->{type} }
-
-##############################################################################
-
-=head3 callback
-
-  if ($req->callback($value)) {
-      print "Value '$value' is valid.\n";
-  } else {
-      print "Value '$value' is not valid.\n";
-  }
-
-Executes the callback anonymous subroutine supplied by the App::Info concrete
-base class that triggered the event. If the callback returns false, then
-C<$value> is invalid. If the callback returns true, then C<$value> is valid
-and can be assigned via the C<value()> method.
-
-Note that the C<value()> method itself calls C<callback()> if it was passed a
-value to assign. See its documentation below for more information.
-
-=cut
-
-sub callback {
-    my $self = shift;
-    my $code = $self->{callback};
-    local $_ = $_[0];
-    $code->(@_);
-}
-
-##############################################################################
-
-=head3 value
-
-  my $value = $req->value;
-  if ($req->value($value)) {
-      print "Value '$value' successfully assigned.\n";
-  } else {
-      print "Value '$value' not successfully assigned.\n";
-  }
-
-When called without an argument, C<value()> simply returns the value currently
-stored by the App::Info::Request object. Typically, the value is the default
-value for a confirm event, or a value assigned to an unknown event.
-
-When passed an argument, C<value()> attempts to store the the argument as a
-new value. However, C<value()> calls C<callback()> on the new value, and if
-C<callback()> returns false, then C<value()> returns false and does not store
-the new value. If C<callback()> returns true, on the other hand, then
-C<value()> goes ahead and stores the new value and returns true.
-
-=cut
-
-sub value {
-    my $self = shift;
-    if ($#_ >= 0) {
-        # grab the value.
-        my $value = shift;
-        # Validate the value.
-        if ($self->callback($value)) {
-            # The value is good. Assign it and return true.
-            $self->{value} = $value;
-            return 1;
-        } else {
-            # Invalid value. Return false.
-            return;
-        }
-    }
-    # Just return the value.
-    return $self->{value};
-}
-
-1;
-__END__
-
-=head1 BUGS
-
-Report all bugs via the CPAN Request Tracker at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>.
-
-=head1 AUTHOR
-
-David Wheeler <L<david@wheeler.net|"david@wheeler.net">>
-
-=head1 SEE ALSO
-
-L<App::Info|App::Info> documents the event triggering methods and how they
-construct App::Info::Request objects to pass to event handlers.
-
-L<App::Info::Handler:|App::Info::Handler> documents how to create custom event
-handlers, which must make use of the App::Info::Request object passed to their
-C<handler()> object methods.
-
-The following classes subclass App::Info::Handler, and thus offer good
-exemplars for using App::Info::Request objects when handling events.
-
-=over 4
-
-=item L<App::Info::Handler::Carp|App::Info::Handler::Carp>
-
-=item L<App::Info::Handler::Print|App::Info::Handler::Print>
-
-=item L<App::Info::Handler::Prompt|App::Info::Handler::Prompt>
-
-=back
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 2002, David Wheeler. All Rights Reserved.
-
-This module is free software; you can redistribute it and/or modify it under the
-same terms as Perl itself.
-
-=cut
diff --git a/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Util.pm b/install/5.005/DBD-Pg-1.22-fixvercmp/t/lib/App/Info/Util.pm
deleted file mode 100644 (file)
index 55bb333..0000000
+++ /dev/null
@@ -1,456 +0,0 @@
-package App::Info::Util;
-
-# $Id: Util.pm,v 1.1 2004-04-29 09:21:28 ivan Exp $
-
-=head1 NAME
-
-App::Info::Util - Utility class for App::Info subclasses
-
-=head1 SYNOPSIS
-
-  use App::Info::Util;
-
-  my $util = App::Info::Util->new;
-
-  # Subclasses File::Spec.
-  my @paths = $util->paths;
-
-  # First directory that exists in a list.
-  my $dir = $util->first_dir(@paths);
-
-  # First directory that exists in a path.
-  $dir = $util->first_path($ENV{PATH});
-
-  # First file that exists in a list.
-  my $file = $util->first_file('this.txt', '/that.txt', 'C:\\foo.txt');
-
-  # First file found among file base names and directories.
-  my $files = ['this.txt', 'that.txt'];
-  $file = $util->first_cat_file($files, @paths);
-
-=head1 DESCRIPTION
-
-This class subclasses L<File::Spec|File::Spec> and adds its own methods in
-order to offer utility methods to L<App::Info|App::Info> classes. Although
-intended to be used by App::Info subclasses, in truth App::Info::Util's
-utility may be considered more general, so feel free to use it elsewhere.
-
-The methods added in addition to the usual File::Spec suspects are designed to
-facilitate locating files and directories on the file system, as well as
-searching those files. The assumption is that, in order to provide useful
-metadata about a given software package, an App::Info subclass must find
-relevant files and directories and parse them with regular expressions. This
-class offers methods that simplify those tasks.
-
-=cut
-
-use strict;
-use File::Spec ();
-use vars qw(@ISA $VERSION);
-@ISA = qw(File::Spec);
-$VERSION = '0.22';
-
-my %path_dems = (MacOS   => qr',',
-                 MSWin32 => qr';',
-                 os2     => qr';',
-                 VMS     => undef,
-                 epoc    => undef);
-
-my $path_dem = exists $path_dems{$^O} ? $path_dems{$^O} : qr':';
-
-=head1 CONSTRUCTOR
-
-=head2 new
-
-  my $util = App::Info::Util->new;
-
-This is a very simple constructor that merely returns an App::Info::Util
-object. Since, like its File::Spec super class, App::Info::Util manages no
-internal data itself, all methods may be used as class methods, if one prefers
-to. The constructor here is provided merely as a convenience.
-
-=cut
-
-sub new { bless {}, ref $_[0] || $_[0] }
-
-=head1 OBJECT METHODS
-
-In addition to all of the methods offered by its super class,
-L<File::Spec|File::Spec>, App::Info::Util offers the following methods.
-
-=head2 first_dir
-
-  my @paths = $util->paths;
-  my $dir = $util->first_dir(@dirs);
-
-Returns the first file system directory in @paths that exists on the local
-file system. Only the first item in @paths that exists as a directory will be
-returned; any other paths leading to non-directories will be ignored.
-
-=cut
-
-sub first_dir {
-    shift;
-    foreach (@_) { return $_ if -d }
-    return;
-}
-
-=head2 first_path
-
-  my $path = $ENV{PATH};
-  $dir = $util->first_path($path);
-
-Takes the $path string and splits it into a list of directory paths, based on
-the path demarcator on the local file system. Then calls C<first_dir()> to
-return the first directoy in the path list that exists on the local file
-system. The path demarcator is specified for the following file systems:
-
-=over 4
-
-=item MacOS: ","
-
-=item MSWin32: ";"
-
-=item os2: ";"
-
-=item VMS: undef
-
-This method always returns undef on VMS. Patches welcome.
-
-=item epoc: undef
-
-This method always returns undef on epoch. Patches welcome.
-
-=item Unix: ":"
-
-All other operating systems are assumed to be Unix-based.
-
-=back
-
-=cut
-
-sub first_path {
-    return unless $path_dem;
-    shift->first_dir(split /$path_dem/, shift)
-}
-
-=head2 first_file
-
-  my $file = $util->first_file(@filelist);
-
-Examines each of the files in @filelist and returns the first one that exists
-on the file system. The file must be a regular file -- directories will be
-ignored.
-
-=cut
-
-sub first_file {
-    shift;
-    foreach (@_) { return $_ if -f }
-    return;
-}
-
-=head2 first_exe
-
-  my $exe = $util->first_exe(@exelist);
-
-Examines each of the files in @exelist and returns the first one that exists
-on the file system as an executable file. Directories will be ignored.
-
-=cut
-
-sub first_exe {
-    shift;
-    foreach (@_) { return $_ if -f && -x }
-    return;
-}
-
-=head2 first_cat_path
-
-  my $file = $util->first_cat_path('ick.txt', @paths);
-  $file = $util->first_cat_path(['this.txt', 'that.txt'], @paths);
-
-The first argument to this method may be either a file or directory base name
-(that is, a file or directory name without a full path specification), or a
-reference to an array of file or directory base names. The remaining arguments
-constitute a list of directory paths. C<first_cat_path()> processes each of
-these directory paths, concatenates (by the method native to the local
-operating system) each of the file or directory base names, and returns the
-first one that exists on the file system.
-
-For example, let us say that we were looking for a file called either F<httpd>
-or F<apache>, and it could be in any of the following paths:
-F</usr/local/bin>, F</usr/bin/>, F</bin>. The method call looks like this:
-
-  my $httpd = $util->first_cat_path(['httpd', 'apache'], '/usr/local/bin',
-                                    '/usr/bin/', '/bin');
-
-If the OS is a Unix variant, C<first_cat_path()> will then look for the first
-file that exists in this order:
-
-=over 4
-
-=item /usr/local/bin/httpd
-
-=item /usr/local/bin/apache
-
-=item /usr/bin/httpd
-
-=item /usr/bin/apache
-
-=item /bin/httpd
-
-=item /bin/apache
-
-=back
-
-The first of these complete paths to be found will be returned. If none are
-found, then undef will be returned.
-
-=cut
-
-sub first_cat_path {
-    my $self = shift;
-    my $files = ref $_[0] ? shift() : [shift()];
-    foreach my $p (@_) {
-        foreach my $f (@$files) {
-            my $path = $self->catfile($p, $f);
-            return $path if -e $path;
-        }
-    }
-    return;
-}
-
-=head2 first_cat_dir
-
-  my $dir = $util->first_cat_dir('ick.txt', @paths);
-  $dir = $util->first_cat_dir(['this.txt', 'that.txt'], @paths);
-
-Funtionally identical to C<first_cat_path()>, except that it returns the
-directory path in which the first file was found, rather than the full
-concatenated path. Thus, in the above example, if the file found was
-F</usr/bin/httpd>, while C<first_cat_path()> would return that value,
-C<first_cat_dir()> would return F</usr/bin> instead.
-
-=cut
-
-sub first_cat_dir {
-    my $self = shift;
-    my $files = ref $_[0] ? shift() : [shift()];
-    foreach my $p (@_) {
-        foreach my $f (@$files) {
-            my $path = $self->catfile($p, $f);
-            return $p if -e $path;
-        }
-    }
-    return;
-}
-
-=head2 first_cat_exe
-
-  my $exe = $util->first_cat_exe('ick.txt', @paths);
-  $exe = $util->first_cat_exe(['this.txt', 'that.txt'], @paths);
-
-Funtionally identical to C<first_cat_path()>, except that it returns the full
-path to the first executable file found, rather than simply the first file
-found.
-
-=cut
-
-sub first_cat_exe {
-    my $self = shift;
-    my $files = ref $_[0] ? shift() : [shift()];
-    foreach my $p (@_) {
-        foreach my $f (@$files) {
-            my $path = $self->catfile($p, $f);
-            return $path if -f $path && -x $path;
-        }
-    }
-    return;
-}
-
-=head2 search_file
-
-  my $file = 'foo.txt';
-  my $regex = qr/(text\s+to\s+find)/;
-  my $value = $util->search_file($file, $regex);
-
-Opens C<$file> and executes the C<$regex> regular expression against each line
-in the file. Once the line matches and one or more values is returned by the
-match, the file is closed and the value or values returned.
-
-For example, say F<foo.txt> contains the line "Version 6.5, patch level 8",
-and you need to grab each of the three version parts. All three parts can
-be grabbed like this:
-
-  my $regex = qr/Version\s+(\d+)\.(\d+),[^\d]*(\d+)/;
-  my @nums = $util->search_file($file, $regex);
-
-Now C<@nums> will contain the values C<(6, 5, 8)>. Note that in a scalar
-context, the above search would yeild an array reference:
-
-  my $regex = qr/Version\s+(\d+)\.(\d+),[^\d]*(\d+)/;
-  my $nums = $util->search_file($file, $regex);
-
-So now C<$nums> contains C<[6, 5, 8]>. The same does not hold true if the
-match returns only one value, however. Say F<foo.txt> contains the line
-"king of the who?", and you wish to know who the king is king of. Either
-of the following two calls would get you the data you need:
-
-  my $minions = $util->search_file($file, qr/King\s+of\s+(.*)/);
-  my @minions = $util->search_file($file, qr/King\s+of\s+(.*)/);
-
-In the first case, because the regular expression contains only one set of
-parentheses, C<search_file()> will simply return that value: C<$minions>
-contains the string "the who?". In the latter case, C<@minions> of course
-contains a single element: C<("the who?")>.
-
-Note that a regular expression without parentheses -- that is, one that
-doesn't grab values and put them into $1, $2, etc., will never successfully
-match a line in this method. You must include something to parentetically
-match. If you just want to know the value of what was matched, parenthesize
-the whole thing and if the value returns, you have a match. Also, if you need
-to match patterns across lines, try using multiple regular expressions with
-C<multi_search_file()>, instead.
-
-=cut
-
-sub search_file {
-    my ($self, $file, $regex) = @_;
-    return unless $file && $regex;
-    open F, "<$file" or Carp::croak "Cannot open $file: $!\n";
-    my @ret;
-    while (<F>) {
-        # If we find a match, we're done.
-        (@ret) = /$regex/ and last;
-    }
-    close F;
-    # If the match returned an more than one value, always return the full
-    # array. Otherwise, return just the first value in a scalar context.
-    return unless @ret;
-    return wantarray ? @ret : $#ret <= 0 ? $ret[0] : \@ret;
-}
-
-=head2 multi_search_file
-
-  my @regexen = (qr/(one)/, qr/(two)\s+(three)/);
-  my @matches = $util->multi_search_file($file, @regexen);
-
-Like C<search_file()>, this mehod opens C<$file> and parses it for regular
-expresion matches. This method, however, can take a list of regular
-expressions to look for, and will return the values found for all of them.
-Regular expressions that match and return multiple values will be returned as
-array referernces, while those that match and return a single value will
-return just that single value.
-
-For example, say you are parsing a file with lines like the following:
-
-  #define XML_MAJOR_VERSION 1
-  #define XML_MINOR_VERSION 95
-  #define XML_MICRO_VERSION 2
-
-You need to get each of these numbers, but calling C<search_file()> for each
-of them would be wasteful, as each call to C<search_file()> opens the file and
-parses it. With C<multi_search_file()>, on the other hand, the file will be
-opened only once, and, once all of the regular expressions have returned
-matches, the file will be closed and the matches returned.
-
-Thus the above values can be collected like this:
-
-  my @regexen = ( qr/XML_MAJOR_VERSION\s+(\d+)$/,
-                  qr/XML_MINOR_VERSION\s+(\d+)$/,
-                  qr/XML_MICRO_VERSION\s+(\d+)$/ );
-
-  my @nums = $file->multi_search_file($file, @regexen);
-
-The result will be that C<@nums> contains C<(1, 95, 2)>. Note that
-C<multi_file_search()> tries to do the right thing by only parsing the file
-until all of the regular expressions have been matched. Thus, a large file
-with the values you need near the top can be parsed very quickly.
-
-As with C<search_file()>, C<multi_search_file()> can take regular expressions
-that match multiple values. These will be returned as array references. For
-example, say the file you're parsing has files like this:
-
-  FooApp Version 4
-  Subversion 2, Microversion 6
-
-To get all of the version numbers, you can either use three regular
-expressions, as in the previous example:
-
-  my @regexen = ( qr/FooApp\s+Version\s+(\d+)$/,
-                  qr/Subversion\s+(\d+),/,
-                  qr/Microversion\s+(\d$)$/ );
-
-  my @nums = $file->multi_search_file($file, @regexen);
-
-In which case C<@nums> will contain C<(4, 2, 6)>. Or, you can use just two
-regular expressions:
-
-  my @regexen = ( qr/FooApp\s+Version\s+(\d+)$/,
-                  qr/Subversion\s+(\d+),\s+Microversion\s+(\d$)$/ );
-
-  my @nums = $file->multi_search_file($file, @regexen);
-
-In which case C<@nums> will contain C<(4, [2, 6])>. Note that the two
-parentheses that return values in the second regular expression cause the
-matches to be returned as an array reference.
-
-=cut
-
-sub multi_search_file {
-    my ($self, $file, @regexen) = @_;
-    return unless $file && @regexen;
-    my @each = @regexen;
-    open F, "<$file" or Carp::croak "Cannot open $file: $!\n";
-    my %ret;
-    while (my $line = <F>) {
-        my @splice;
-        # Process each of the regular expresssions.
-        for (my $i = 0; $i < @each; $i++) {
-            if ((my @ret) = $line =~ /$each[$i]/) {
-                # We have a match! If there's one match returned, just grab
-                # it. If there's more than one, keep it as an array ref.
-                $ret{$each[$i]} = $#ret > 0 ? \@ret : $ret[0];
-                # We got values for this regex, so not its place in the @each
-                # array.
-                push @splice, $i;
-            }
-        }
-        # Remove any regexen that have already found a match.
-        for (@splice) { splice @each, $_, 1 }
-        # If there are no more regexes, we're done -- no need to keep
-        # processing lines in the file!
-        last unless @each;
-    }
-    close F;
-    return unless %ret;
-    return wantarray ? @ret{@regexen} : \@ret{@regexen};
-}
-
-1;
-__END__
-
-=head1 BUGS
-
-Report all bugs via the CPAN Request Tracker at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Info>.
-
-=head1 AUTHOR
-
-David Wheeler <L<david@wheeler.net|"david@wheeler.net">>
-
-=head1 SEE ALSO
-
-L<App::Info|App::Info>, L<File::Spec|File::Spec>,
-L<App::Info::HTTPD::Apache|App::Info::HTTPD::Apache>
-L<App::Info::RDBMS::PostgreSQL|App::Info::RDBMS::PostgreSQL>
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 2002, David Wheeler. All Rights Reserved.
-
-This module is free software; you can redistribute it and/or modify it under the
-same terms as Perl itself.
-
-=cut
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/Changes b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/Changes
deleted file mode 100644 (file)
index f413bd9..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-Revision history for Perl extension DBIx::DBSchema.
-
-0.23 Mon Feb 16 17:35:54 PST 2004
-       - Update Pg dependancy to 1.32
-       - Update the simple load test so it skips DBIx::DBSchema::DBD::Pg if
-          DBD::Pg 1.32 is not installed.
-
-0.22 Thu Oct 23 15:18:21 PDT 2003
-       - Pg reverse-engineering fix: varchar with no limit
-       - Pg needs (unreleased) DBD::Pg 1.30 (or deb 1.22-2... interesting)
-
-0.21 Thu Sep 19 05:04:18 PDT 2002
-       - Pg reverse-engineering fix: now sets default
-
-0.20 Mon Mar  4 04:58:34 2002
-       - documentation updates
-       - fix Column->new when using named params
-       - fix Pg driver reverse-engineering length of numeric columns:
-         translate 655362 to 10,2, etc.
-       - fix Pg driver reverse-engineering of text columns (don't have a
-         length)
-
-0.19 Tue Oct 23 08:49:12 2001
-       - documentation for %typemap
-       - preliminary Sybase driver from Charles Shapiro
-         <charles.shapiro@numethods.com> and Mitchell J. Friedman
-         <mitchell.friedman@numethods.com>.
-       - Fix Column::line to return a scalar as documented, not a list.
-       - Should finally eliminate the Use of uninitialized value at
-         ... DBIx/DBSchema/Column.pm line 251
-
-0.18 Fri Aug 10 17:07:28 2001
-       - Added Table::delcolumn
-       - patch from Charles Shapiro <cshapiro@numethods.com> to add
-          `ORDER BY a.attnum' to the SQL in DBIx::DBSchema::DBD::Pg::columns
-
-0.17  Sat Jul  7 17:55:33 2001
-       - Rework Table->new interface for named params
-       - Fixes for Pg blobs, yay!
-       - MySQL doesn't need non-standard index syntax anymore (since 3.22).
-       - patch from Mark Ethan Trostler <mark@zzo.com> for generating
-         tables without indices.
-
-0.16  Fri Jan  5 15:55:50 2001
-       - Don't overflow index names.
-
-0.15  Fri Nov 24 23:39:16 2000
-       - MySQL handling of BOOL type (change to TINYINT)
-
-0.14  Tue Oct 24 14:43:16 2000
-        - MySQL handling of SERIAL type (change to INTEGER AUTO_INCREMENT)
-
-0.13  Wed Oct 11 10:47:13 2000
-        - fixed up type mapping foo, added default values, added named
-          parameters to Column->new, fixed quoting of default values
-
-0.11  Sun Sep 28 02:16:25 2000
-        - oops, original verison got 0.10, so this one will get 0.11
-
-0.01  Sun Sep 17 07:57:35 2000
-       - original version; created by h2xs 1.19
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema.pm
deleted file mode 100644 (file)
index fc4916d..0000000
+++ /dev/null
@@ -1,367 +0,0 @@
-package DBIx::DBSchema;
-
-use strict;
-use vars qw(@ISA $VERSION);
-#use Exporter;
-use Carp qw(confess);
-use DBI;
-use FreezeThaw qw(freeze thaw cmpStr);
-use DBIx::DBSchema::Table;
-use DBIx::DBSchema::Column;
-use DBIx::DBSchema::ColGroup::Unique;
-use DBIx::DBSchema::ColGroup::Index;
-
-#@ISA = qw(Exporter);
-@ISA = ();
-
-$VERSION = "0.23";
-
-=head1 NAME
-
-DBIx::DBSchema - Database-independent schema objects
-
-=head1 SYNOPSIS
-
-  use DBIx::DBSchema;
-
-  $schema = new DBIx::DBSchema @dbix_dbschema_table_objects;
-  $schema = new_odbc DBIx::DBSchema $dbh;
-  $schema = new_odbc DBIx::DBSchema $dsn, $user, $pass;
-  $schema = new_native DBIx::DBSchema $dbh;
-  $schema = new_native DBIx::DBSchema $dsn, $user, $pass;
-
-  $schema->save("filename");
-  $schema = load DBIx::DBSchema "filename";
-
-  $schema->addtable($dbix_dbschema_table_object);
-
-  @table_names = $schema->tables;
-
-  $DBIx_DBSchema_table_object = $schema->table("table_name");
-
-  @sql = $schema->sql($dbh);
-  @sql = $schema->sql($dsn, $username, $password);
-  @sql = $schema->sql($dsn); #doesn't connect to database - less reliable
-
-  $perl_code = $schema->pretty_print;
-  %hash = eval $perl_code;
-  use DBI qw(:sql_types); $schema = pretty_read DBIx::DBSchema \%hash;
-
-=head1 DESCRIPTION
-
-DBIx::DBSchema objects are collections of DBIx::DBSchema::Table objects and
-represent a database schema.
-
-This module implements an OO-interface to database schemas.  Using this module,
-you can create a database schema with an OO Perl interface.  You can read the
-schema from an existing database.  You can save the schema to disk and restore
-it a different process.  Most importantly, DBIx::DBSchema can write SQL
-CREATE statements statements for different databases from a single source.
-
-Currently supported databases are MySQL and PostgreSQL.  Sybase support is
-partially implemented.  DBIx::DBSchema will attempt to use generic SQL syntax
-for other databases.  Assistance adding support for other databases is
-welcomed.  See L<DBIx::DBSchema::DBD>, "Driver Writer's Guide and Base Class".
-
-=head1 METHODS
-
-=over 4
-
-=item new TABLE_OBJECT, TABLE_OBJECT, ...
-
-Creates a new DBIx::DBSchema object.
-
-=cut
-
-sub new {
-  my($proto, @tables) = @_;
-  my %tables = map  { $_->name, $_ } @tables; #check for duplicates?
-
-  my $class = ref($proto) || $proto;
-  my $self = {
-    'tables' => \%tables,
-  };
-
-  bless ($self, $class);
-
-}
-
-=item new_odbc DATABASE_HANDLE | DATA_SOURCE USERNAME PASSWORD [ ATTR ]
-
-Creates a new DBIx::DBSchema object from an existing data source, which can be
-specified by passing an open DBI database handle, or by passing the DBI data
-source name, username, and password.  This uses the experimental DBI type_info
-method to create a schema with standard (ODBC) SQL column types that most
-closely correspond to any non-portable column types.  Use this to import a
-schema that you wish to use with many different database engines.  Although
-primary key and (unique) index information will only be read from databases
-with DBIx::DBSchema::DBD drivers (currently MySQL and PostgreSQL), import of
-column names and attributes *should* work for any database.  Note that this
-method only uses "ODBC" column types; it does not require or use an ODBC
-driver.
-
-=cut
-
-sub new_odbc {
-  my($proto, $dbh) = (shift, shift);
-  $dbh = DBI->connect( $dbh, @_ ) or die $DBI::errstr unless ref($dbh);
-  $proto->new(
-    map { new_odbc DBIx::DBSchema::Table $dbh, $_ } _tables_from_dbh($dbh)
-  );
-}
-
-=item new_native DATABASE_HANDLE | DATA_SOURCE USERNAME PASSWORD [ ATTR ]
-
-Creates a new DBIx::DBSchema object from an existing data source, which can be
-specified by passing an open DBI database handle, or by passing the DBI data
-source name, username and password.  This uses database-native methods to read
-the schema, and will preserve any non-portable column types.  The method is
-only available if there is a DBIx::DBSchema::DBD for the corresponding database engine (currently, MySQL and PostgreSQL).
-
-=cut
-
-sub new_native {
-  my($proto, $dbh) = (shift, shift);
-  $dbh = DBI->connect( $dbh, @_ ) or die $DBI::errstr unless ref($dbh);
-  $proto->new(
-    map { new_native DBIx::DBSchema::Table ( $dbh, $_ ) } _tables_from_dbh($dbh)
-  );
-}
-
-=item load FILENAME
-
-Loads a DBIx::DBSchema object from a file.
-
-=cut
-
-sub load {
-  my($proto,$file)=@_; #use $proto ?
-  open(FILE,"<$file") or die "Can't open $file: $!";
-  my($string)=join('',<FILE>); #can $string have newlines?  pry not?
-  close FILE or die "Can't close $file: $!";
-  my($self)=thaw $string;
-  #no bless needed?
-  $self;
-}
-
-=item save FILENAME
-
-Saves a DBIx::DBSchema object to a file.
-
-=cut
-
-sub save {
-  my($self,$file)=@_;
-  my($string)=freeze $self;
-  open(FILE,">$file") or die "Can't open $file: $!";
-  print FILE $string;
-  close FILE or die "Can't close file: $!";
-  my($check_self)=thaw $string;
-  die "Verify error: Can't freeze and thaw dbdef $self"
-    if (cmpStr($self,$check_self));
-}
-
-=item addtable TABLE_OBJECT
-
-Adds the given DBIx::DBSchema::Table object to this DBIx::DBSchema.
-
-=cut
-
-sub addtable {
-  my($self,$table)=@_;
-  $self->{'tables'}->{$table->name} = $table; #check for dupliates?
-}
-
-=item tables 
-
-Returns a list of the names of all tables.
-
-=cut
-
-sub tables {
-  my($self)=@_;
-  keys %{$self->{'tables'}};
-}
-
-=item table TABLENAME
-
-Returns the specified DBIx::DBSchema::Table object.
-
-=cut
-
-sub table {
-  my($self,$table)=@_;
-  $self->{'tables'}->{$table};
-}
-
-=item sql [ DATABASE_HANDLE | DATA_SOURCE [ USERNAME PASSWORD [ ATTR ] ] ]
-
-Returns a list of SQL `CREATE' statements for this schema.
-
-The data source can be specified by passing an open DBI database handle, or by
-passing the DBI data source name, username and password.  
-
-Although the username and password are optional, it is best to call this method
-with a database handle or data source including a valid username and password -
-a DBI connection will be opened and the quoting and type mapping will be more
-reliable.
-
-If passed a DBI data source (or handle) such as `DBI:mysql:database' or
-`DBI:Pg:dbname=database', will use syntax specific to that database engine.
-Currently supported databases are MySQL and PostgreSQL.
-
-If not passed a data source (or handle), or if there is no driver for the
-specified database, will attempt to use generic SQL syntax.
-
-=cut
-
-sub sql {
-  my($self, $dbh) = (shift, shift);
-  my $created_dbh = 0;
-  unless ( ref($dbh) || ! @_ ) {
-    $dbh = DBI->connect( $dbh, @_ ) or die $DBI::errstr;
-    $created_dbh = 1;
-  }
-  my @r = map { $self->table($_)->sql_create_table($dbh); } $self->tables;
-  $dbh->disconnect if $created_dbh;
-  @r;
-}
-
-=item pretty_print
-
-Returns the data in this schema as Perl source, suitable for assigning to a
-hash.
-
-=cut
-
-sub pretty_print {
-  my($self) = @_;
-  join("},\n\n",
-    map {
-      my $table = $_;
-      "'$table' => {\n".
-        "  'columns' => [\n".
-          join("", map { 
-                         #cant because -w complains about , in qw()
-                         # (also biiiig problems with empty lengths)
-                         #"    qw( $_ ".
-                         #$self->table($table)->column($_)->type. " ".
-                         #( $self->table($table)->column($_)->null ? 'NULL' : 0 ). " ".
-                         #$self->table($table)->column($_)->length. " ),\n"
-                         "    '$_', ".
-                         "'". $self->table($table)->column($_)->type. "', ".
-                         "'". $self->table($table)->column($_)->null. "', ". 
-                         "'". $self->table($table)->column($_)->length. "', ".
-                         "'". $self->table($table)->column($_)->default. "', ".
-                         "'". $self->table($table)->column($_)->local. "',\n"
-                       } $self->table($table)->columns
-          ).
-        "  ],\n".
-        "  'primary_key' => '". $self->table($table)->primary_key. "',\n".
-        "  'unique' => [ ". join(', ',
-          map { "[ '". join("', '", @{$_}). "' ]" }
-            @{$self->table($table)->unique->lol_ref}
-          ).  " ],\n".
-        "  'index' => [ ". join(', ',
-          map { "[ '". join("', '", @{$_}). "' ]" }
-            @{$self->table($table)->index->lol_ref}
-          ). " ],\n"
-        #"  'index' => [ ".    " ],\n"
-    } $self->tables
-  ), "}\n";
-}
-
-=cut
-
-=item pretty_read HASHREF
-
-Creates a schema as specified by a data structure such as that created by
-B<pretty_print> method.
-
-=cut
-
-sub pretty_read {
-  my($proto, $href) = @_;
-  my $schema = $proto->new( map {  
-    my(@columns);
-    while ( @{$href->{$_}{'columns'}} ) {
-      push @columns, DBIx::DBSchema::Column->new(
-        splice @{$href->{$_}{'columns'}}, 0, 6
-      );
-    }
-    DBIx::DBSchema::Table->new(
-      $_,
-      $href->{$_}{'primary_key'},
-      DBIx::DBSchema::ColGroup::Unique->new($href->{$_}{'unique'}),
-      DBIx::DBSchema::ColGroup::Index->new($href->{$_}{'index'}),
-      @columns,
-    );
-  } (keys %{$href}) );
-}
-
-# private subroutines
-
-sub _load_driver {
-  my($dbh) = @_;
-  my $driver;
-  if ( ref($dbh) ) {
-    $driver = $dbh->{Driver}->{Name};
-  } else {
-    $dbh =~ s/^dbi:(\w*?)(?:\((.*?)\))?://i #nicked from DBI->connect
-                        or '' =~ /()/; # ensure $1 etc are empty if match fails
-    $driver = $1 or confess "can't parse data source: $dbh";
-  }
-
-  #require "DBIx/DBSchema/DBD/$driver.pm";
-  #$driver;
-  eval 'require "DBIx/DBSchema/DBD/$driver.pm"' and $driver or die $@;
-}
-
-sub _tables_from_dbh {
-  my($dbh) = @_;
-  my $sth = $dbh->table_info or die $dbh->errstr;
-  #map { $_->{TABLE_NAME} } grep { $_->{TABLE_TYPE} eq 'TABLE' }
-  #  @{ $sth->fetchall_arrayref({ TABLE_NAME=>1, TABLE_TYPE=>1}) };
-  map { $_->[0] } grep { $_->[1] =~ /^TABLE$/i }
-    @{ $sth->fetchall_arrayref([2,3]) };
-}
-
-=back
-
-=head1 AUTHOR
-
-Ivan Kohler <ivan-dbix-dbschema@420.am>
-
-Charles Shapiro <charles.shapiro@numethods.com> and Mitchell Friedman
-<mitchell.friedman@numethods.com> contributed the start of a Sybase driver.
-
-=head1 COPYRIGHT
-
-Copyright (c) 2000 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-Each DBIx::DBSchema object should have a name which corresponds to its name
-within the SQL database engine (DBI data source).
-
-pretty_print is actually pretty ugly.
-
-Perhaps pretty_read should eval column types so that we can use DBI
-qw(:sql_types) here instead of externally.
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema::Table>, L<DBIx::DBSchema::ColGroup>,
-L<DBIx::DBSchema::ColGroup::Unique>, L<DBIx::DBSchema::ColGroup::Index>,
-L<DBIx::DBSchema::Column>, L<DBIx::DBSchema::DBD>,
-L<DBIx::DBSchema::DBD::mysql>, L<DBIx::DBSchema::DBD::Pg>, L<FS::Record>,
-L<DBI>
-
-=cut
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup.pm
deleted file mode 100644 (file)
index ceeb223..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-package DBIx::DBSchema::ColGroup;
-
-use strict;
-use vars qw(@ISA);
-#use Exporter;
-
-#@ISA = qw(Exporter);
-@ISA = qw();
-
-=head1 NAME
-
-DBIx::DBSchema::ColGroup - Column group objects
-
-=head1 SYNOPSIS
-
-  use DBIx::DBSchema::ColGroup;
-
-  $colgroup = new DBIx::DBSchema::ColGroup ( $lol_ref );
-  $colgroup = new DBIx::DBSchema::ColGroup ( \@lol );
-  $colgroup = new DBIx::DBSchema::ColGroup (
-    [
-      [ 'single_column' ],
-      [ 'multiple_columns', 'another_column', ],
-    ]
-  );
-
-  $lol_ref = $colgroup->lol_ref;
-
-  @sql_lists = $colgroup->sql_list;
-
-  @singles = $colgroup->singles;
-
-=head1 DESCRIPTION
-
-DBIx::DBSchema::ColGroup objects represent sets of sets of columns.  (IOW a
-"list of lists" - see L<perllol>.)
-
-=head1 METHODS
-
-=over 4
-
-=item new [ LOL_REF ]
-
-Creates a new DBIx::DBSchema::ColGroup object.  Pass a reference to a list of
-lists of column names.
-
-=cut
-
-sub new {
-  my($proto, $lol) = @_;
-
-  my $class = ref($proto) || $proto;
-  my $self = {
-    'lol' => $lol,
-  };
-
-  bless ($self, $class);
-
-}
-
-=item lol_ref
-
-Returns a reference to a list of lists of column names.
-
-=cut
-
-sub lol_ref {
-  my($self) = @_;
-  $self->{'lol'};
-}
-
-=item sql_list
-
-Returns a flat list of comma-separated values, for SQL statements.
-
-For example:
-
-  @lol = (
-           [ 'single_column' ],
-           [ 'multiple_columns', 'another_column', ],
-         );
-
-  $colgroup = new DBIx::DBSchema::ColGroup ( \@lol );
-
-  print join("\n", $colgroup->sql_list), "\n";
-
-Will print:
-
-  single_column
-  multiple_columns, another_column
-
-=cut
-
-sub sql_list { #returns a flat list of comman-separates lists (for sql)
-  my($self)=@_;
-   grep $_ ne '', map join(', ', @{$_}), @{$self->{'lol'}};
-}
-
-=item singles
-
-Returns a flat list of all single item lists.
-
-=cut
-
-sub singles { #returns single-field groups as a flat list
-  my($self)=@_;
-  #map ${$_}[0], grep scalar(@{$_}) == 1, @{$self->{'lol'}};
-  map { 
-    ${$_}[0] =~ /^(\w+)$/
-      #aah!
-      or die "Illegal column ", ${$_}[0], " in colgroup!";
-    $1;
-  } grep scalar(@{$_}) == 1, @{$self->{'lol'}};
-}
-
-=back
-
-=head1 AUTHOR
-
-Ivan Kohler <ivan-dbix-dbschema@420.am>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2000 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema::Table>, L<DBIx::DBSchema::ColGroup::Unique>,
-L<DBIx::DBSchema::ColGroup::Index>, L<DBIx::DBSchema>, L<perllol>, L<perldsc>,
-L<DBI>
-
-=cut
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup/Index.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup/Index.pm
deleted file mode 100644 (file)
index 1a92baa..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package DBIx::DBSchema::ColGroup::Index;
-
-use strict;
-use vars qw(@ISA);
-use DBIx::DBSchema::ColGroup;
-
-@ISA=qw(DBIx::DBSchema::ColGroup);
-
-=head1 NAME
-
-DBIx::DBSchema::ColGroup::Index - Index column group object
-
-=head1 SYNOPSIS
-
-  use DBIx::DBSchema::ColGroup::Index;
-
-    # see DBIx::DBSchema::ColGroup methods
-
-=head1 DESCRIPTION
-
-DBIx::DBSchema::ColGroup::Index objects represent the (non-unique) indices of a
-database table (L<DBIx::DBSchema::Table>).  DBIx::DBSchema::ColGroup::Index
-inherits from DBIx::DBSchema::ColGroup.
-
-=head1 BUGS
-
-Is this empty subclass needed?
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema::ColGroup>, L<DBIx::DBSchema::ColGroup::Unique>,
-L<DBIx::DBSchema::Table>, L<DBIx::DBSchema>, L<FS::Record>
-
-=cut
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup/Unique.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/ColGroup/Unique.pm
deleted file mode 100644 (file)
index 450043f..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package DBIx::DBSchema::ColGroup::Unique;
-
-use strict;
-use vars qw(@ISA);
-use DBIx::DBSchema::ColGroup;
-
-@ISA=qw(DBIx::DBSchema::ColGroup);
-
-=head1 NAME
-
-DBIx::DBSchema::ColGroup::Unique - Unique column group object
-
-=head1 SYNOPSIS
-
-  use DBIx::DBSchema::ColGroup::Unique;
-
-  # see DBIx::DBSchema::ColGroup methods
-
-=head1 DESCRIPTION
-
-DBIx::DBSchema::ColGroup::Unique objects represent the unique indices of a
-database table (L<DBIx::DBSchema::Table>).  DBIx::DBSchema::ColGroup:Unique
-inherits from DBIx::DBSchema::ColGroup.
-
-=head1 BUGS
-
-Is this empty subclass needed?
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema::ColGroup>,  L<DBIx::DBSchema::ColGroup::Index>,
-L<DBIx::DBSchema::Table>, L<DBIx::DBSchema>, L<FS::Record>
-
-=cut
-
-1;
-
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/Column.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/Column.pm
deleted file mode 100644 (file)
index 4e26646..0000000
+++ /dev/null
@@ -1,300 +0,0 @@
-package DBIx::DBSchema::Column;
-
-use strict;
-use vars qw(@ISA $VERSION);
-#use Carp;
-#use Exporter;
-
-#@ISA = qw(Exporter);
-@ISA = qw();
-
-$VERSION = '0.02';
-
-=head1 NAME
-
-DBIx::DBSchema::Column - Column objects
-
-=head1 SYNOPSIS
-
-  use DBIx::DBSchema::Column;
-
-  #named params with a hashref (preferred)
-  $column = new DBIx::DBSchema::Column ( {
-    'name'    => 'column_name',
-    'type'    => 'varchar'
-    'null'    => 'NOT NULL',
-    'length'  => 64,
-    'default' => '
-    'local'   => '',
-  } );
-
-  #list
-  $column = new DBIx::DBSchema::Column ( $name, $sql_type, $nullability, $length, $default, $local );
-
-  $name = $column->name;
-  $column->name( 'name' );
-
-  $sql_type = $column->type;
-  $column->type( 'sql_type' );
-
-  $null = $column->null;
-  $column->null( 'NULL' );
-  $column->null( 'NOT NULL' );
-  $column->null( '' );
-
-  $length = $column->length;
-  $column->length( '10' );
-  $column->length( '8,2' );
-
-  $default = $column->default;
-  $column->default( 'Roo' );
-
-  $sql_line = $column->line;
-  $sql_line = $column->line($datasrc);
-
-=head1 DESCRIPTION
-
-DBIx::DBSchema::Column objects represent columns in tables (see
-L<DBIx::DBSchema::Table>).
-
-=head1 METHODS
-
-=over 4
-
-=item new HASHREF
-
-=item new [ name [ , type [ , null [ , length  [ , default [ , local ] ] ] ] ] ]
-
-Creates a new DBIx::DBSchema::Column object.  Takes a hashref of named
-parameters, or a list.  B<name> is the name of the column.  B<type> is the SQL
-data type.  B<null> is the nullability of the column (intrepreted using Perl's
-rules for truth, with one exception: `NOT NULL' is false).  B<length> is the
-SQL length of the column.  B<default> is the default value of the column.
-B<local> is reserved for database-specific information.
-
-=cut
-
-sub new {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-
-  my $self;
-  if ( ref($_[0]) ) {
-    $self = shift;
-  } else {
-    $self = { map { $_ => shift } qw(name type null length default local) };
-  }
-
-  #croak "Illegal name: ". $self->{'name'}
-  #  if grep $self->{'name'} eq $_, @reserved_words;
-
-  $self->{'null'} =~ s/^NOT NULL$//i;
-  $self->{'null'} = 'NULL' if $self->{'null'};
-
-  bless ($self, $class);
-
-}
-
-=item name [ NAME ]
-
-Returns or sets the column name.
-
-=cut
-
-sub name {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-  #croak "Illegal name: $name" if grep $name eq $_, @reserved_words;
-    $self->{'name'} = $value;
-  } else {
-    $self->{'name'};
-  }
-}
-
-=item type [ TYPE ]
-
-Returns or sets the column type.
-
-=cut
-
-sub type {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{'type'} = $value;
-  } else {
-    $self->{'type'};
-  }
-}
-
-=item null [ NULL ]
-
-Returns or sets the column null flag (the empty string is equivalent to
-`NOT NULL')
-
-=cut
-
-sub null {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $value =~ s/^NOT NULL$//i;
-    $value = 'NULL' if $value;
-    $self->{'null'} = $value;
-  } else {
-    $self->{'null'};
-  }
-}
-
-=item length [ LENGTH ]
-
-Returns or sets the column length.
-
-=cut
-
-sub length {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{'length'} = $value;
-  } else {
-    $self->{'length'};
-  }
-}
-
-=item default [ LOCAL ]
-
-Returns or sets the default value.
-
-=cut
-
-sub default {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{'default'} = $value;
-  } else {
-    $self->{'default'};
-  }
-}
-
-
-=item local [ LOCAL ]
-
-Returns or sets the database-specific field.
-
-=cut
-
-sub local {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{'local'} = $value;
-  } else {
-    $self->{'local'};
-  }
-}
-
-=item line [ DATABASE_HANDLE | DATA_SOURCE [ USERNAME PASSWORD [ ATTR ] ] ]
-
-Returns an SQL column definition.
-
-The data source can be specified by passing an open DBI database handle, or by
-passing the DBI data source name, username and password.  
-
-Although the username and password are optional, it is best to call this method
-with a database handle or data source including a valid username and password -
-a DBI connection will be opened and the quoting and type mapping will be more
-reliable.
-
-If passed a DBI data source (or handle) such as `DBI:mysql:database' or
-`DBI:Pg:dbname=database', will use syntax specific to that database engine.
-Currently supported databases are MySQL and PostgreSQL.  Non-standard syntax
-for other engines (if applicable) may also be supported in the future.
-
-=cut
-
-sub line {
-  my($self,$dbh) = (shift, shift);
-
-  my $created_dbh = 0;
-  unless ( ref($dbh) || ! @_ ) {
-    $dbh = DBI->connect( $dbh, @_ ) or die $DBI::errstr;
-    my $gratuitous = $DBI::errstr; #surpress superfluous `used only once' error
-    $created_dbh = 1;
-  }
-  
-  my $driver = DBIx::DBSchema::_load_driver($dbh);
-  my %typemap;
-  %typemap = eval "\%DBIx::DBSchema::DBD::${driver}::typemap" if $driver;
-  my $type = defined( $typemap{uc($self->type)} )
-    ? $typemap{uc($self->type)}
-    : $self->type;
-
-  my $null = $self->null;
-
-  my $default;
-  if ( defined($self->default) && $self->default ne ''
-       && ref($dbh)
-       # false laziness: nicked from FS::Record::_quote
-       && ( $self->default !~ /^\-?\d+(\.\d+)?$/
-            || $type =~ /(char|binary|blob|text)$/i
-          )
-  ) {
-    $default = $dbh->quote($self->default);
-  } else {
-    $default = $self->default;
-  }
-
-  #this should be a callback into the driver
-  if ( $driver eq 'mysql' ) { #yucky mysql hack
-    $null ||= "NOT NULL";
-    $self->local('AUTO_INCREMENT') if uc($self->type) eq 'SERIAL';
-  } elsif ( $driver eq 'Pg' ) { #yucky Pg hack
-    $null ||= "NOT NULL";
-    $null =~ s/^NULL$//;
-  }
-
-  my $r = join(' ',
-    $self->name,
-    $type. ( ( defined($self->length) && $self->length )
-             ? '('.$self->length.')'
-             : ''
-           ),
-    $null,
-    ( ( defined($default) && $default ne '' )
-      ? 'DEFAULT '. $default
-      : ''
-    ),
-    ( ( $driver eq 'mysql' && defined($self->local) )
-      ? $self->local
-      : ''
-    ),
-  );
-  $dbh->disconnect if $created_dbh;
-  $r;
-
-}
-
-=back
-
-=head1 AUTHOR
-
-Ivan Kohler <ivan-dbix-dbschema@420.am>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2000 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-line() has database-specific foo that probably ought to be abstracted into
-the DBIx::DBSchema:DBD:: modules.
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema::Table>, L<DBIx::DBSchema>, L<DBIx::DBSchema::DBD>, L<DBI>
-
-=cut
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD.pm
deleted file mode 100644 (file)
index a4c6000..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-package DBIx::DBSchema::DBD;
-
-use strict;
-use vars qw($VERSION);
-
-$VERSION = '0.02';
-
-=head1 NAME
-
-DBIx::DBSchema::DBD - DBIx::DBSchema Driver Writer's Guide and Base Class
-
-=head1 SYNOPSIS
-
-  perldoc DBIx::DBSchema::DBD
-
-  package DBIx::DBSchema::DBD::FooBase
-  use DBIx::DBSchmea::DBD;
-  @ISA = qw(DBIx::DBSchema::DBD);
-
-=head1 DESCRIPTION
-
-Drivers should be named DBIx::DBSchema::DBD::DatabaseName, where DatabaseName
-is the same as the DBD:: driver for this database.  Drivers should implement the
-following class methods:
-
-=over 4
-
-=item columns CLASS DBI_DBH TABLE
-
-Given an active DBI database handle, return a listref of listrefs (see
-L<perllol>), each containing six elements: column name, column type,
-nullability, column length, column default, and a field reserved for
-driver-specific use.
-
-=item column CLASS DBI_DBH TABLE COLUMN
-
-Same as B<columns> above, except return the listref for a single column.  You
-can inherit from DBIx::DBSchema::DBD to provide this function.
-
-=cut
-
-sub column {
-  my($proto, $dbh, $table, $column) = @_;
-  #@a = grep { $_->[0] eq $column } @{ $proto->columns( $dbh, $table ) };
-  #$a[0];
-  @{ [
-    grep { $_->[0] eq $column } @{ $proto->columns( $dbh, $table ) }
-  ] }[0]; #force list context on grep, return scalar of first element
-}
-
-=item primary_key CLASS DBI_DBH TABLE
-
-Given an active DBI database handle, return the primary key for the specified
-table.
-
-=item unique CLASS DBI_DBH TABLE
-
-Given an active DBI database handle, return a hashref of unique indices.  The
-keys of the hashref are index names, and the values are arrayrefs which point
-a list of column names for each.  See L<perldsc/"HASHES OF LISTS"> and
-L<DBIx::DBSchema::ColGroup>.
-
-=item index CLASS DBI_DBH TABLE
-
-Given an active DBI database handle, return a hashref of (non-unique) indices.
-The keys of the hashref are index names, and the values are arrayrefs which
-point a list of column names for each.  See L<perldsc/"HASHES OF LISTS"> and
-L<DBIx::DBSchema::ColGroup>.
-
-=back
-
-=head1 TYPE MAPPING
-
-You can define a %typemap array for your driver to map "standard" data    
-types to database-specific types.  For example, the MySQL TIMESTAMP field
-has non-standard auto-updating semantics; the MySQL DATETIME type is 
-what other databases and the ODBC standard call TIMESTAMP, so one of the   
-entries in the MySQL %typemap is:
-
-  'TIMESTAMP' => 'DATETIME',
-
-Another example is the Pg %typemap which maps the standard types BLOB and
-LONG VARBINARY to the Pg-specific BYTEA:
-
-  'BLOB' => 'BYTEA',
-  'LONG VARBINARY' => 'BYTEA',
-
-Make sure you use all uppercase-keys.
-
-=head1 AUTHOR
-
-Ivan Kohler <ivan-dbix-dbschema@420.am>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2000 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema>, L<DBIx::DBSchema::DBD::mysql>, L<DBIx::DBSchema::DBD::Pg>,
-L<DBIx::DBSchema::ColGroup>, L<DBI>, L<DBI::DBD>, L<perllol>,
-L<perldsc/"HASHES OF LISTS">
-
-=cut 
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/Pg.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/Pg.pm
deleted file mode 100644 (file)
index 018b890..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-package DBIx::DBSchema::DBD::Pg;
-
-use strict;
-use vars qw($VERSION @ISA %typemap);
-use DBD::Pg 1.22;
-use DBIx::DBSchema::DBD;
-
-$VERSION = '0.08';
-@ISA = qw(DBIx::DBSchema::DBD);
-
-%typemap = (
-  'BLOB' => 'BYTEA',
-  'LONG VARBINARY' => 'BYTEA',
-);
-
-=head1 NAME
-
-DBIx::DBSchema::DBD::Pg - PostgreSQL native driver for DBIx::DBSchema
-
-=head1 SYNOPSIS
-
-use DBI;
-use DBIx::DBSchema;
-
-$dbh = DBI->connect('dbi:Pg:dbname=database', 'user', 'pass');
-$schema = new_native DBIx::DBSchema $dbh;
-
-=head1 DESCRIPTION
-
-This module implements a PostgreSQL-native driver for DBIx::DBSchema.
-
-=cut
-
-sub columns {
-  my($proto, $dbh, $table) = @_;
-  my $sth = $dbh->prepare(<<END) or die $dbh->errstr;
-    SELECT a.attname, t.typname, a.attlen, a.atttypmod, a.attnotnull,
-           a.atthasdef, a.attnum
-    FROM pg_class c, pg_attribute a, pg_type t
-    WHERE c.relname = '$table'
-      AND a.attnum > 0 AND a.attrelid = c.oid AND a.atttypid = t.oid
-    ORDER BY a.attnum
-END
-  $sth->execute or die $sth->errstr;
-
-  map {
-
-    my $default = '';
-    if ( $_->{atthasdef} ) {
-      my $attnum = $_->{attnum};
-      my $d_sth = $dbh->prepare(<<END) or die $dbh->errstr;
-        SELECT substring(d.adsrc for 128) FROM pg_attrdef d, pg_class c
-        WHERE c.relname = '$table' AND c.oid = d.adrelid AND d.adnum = $attnum
-END
-      $d_sth->execute or die $d_sth->errstr;
-
-      $default = $d_sth->fetchrow_arrayref->[0];
-    };
-
-    my $len = '';
-    if ( $_->{attlen} == -1 && $_->{atttypmod} != -1 
-         && $_->{typname} ne 'text'                  ) {
-      $len = $_->{atttypmod} - 4;
-      if ( $_->{typname} eq 'numeric' ) {
-        $len = ($len >> 16). ','. ($len & 0xffff);
-      }
-    }
-
-    my $type = $_->{'typname'};
-    $type = 'char' if $type eq 'bpchar';
-
-    [
-      $_->{'attname'},
-      $type,
-      ! $_->{'attnotnull'},
-      $len,
-      $default,
-      ''  #local
-    ];
-
-  } @{ $sth->fetchall_arrayref({}) };
-}
-
-sub primary_key {
-  my($proto, $dbh, $table) = @_;
-  my $sth = $dbh->prepare(<<END) or die $dbh->errstr;
-    SELECT a.attname, a.attnum
-    FROM pg_class c, pg_attribute a, pg_type t
-    WHERE c.relname = '${table}_pkey'
-      AND a.attnum > 0 AND a.attrelid = c.oid AND a.atttypid = t.oid
-END
-  $sth->execute or die $sth->errstr;
-  my $row = $sth->fetchrow_hashref or return '';
-  $row->{'attname'};
-}
-
-sub unique {
-  my($proto, $dbh, $table) = @_;
-  my $gratuitous = { map { $_ => [ $proto->_index_fields($dbh, $_ ) ] }
-      grep { $proto->_is_unique($dbh, $_ ) }
-        $proto->_all_indices($dbh, $table)
-  };
-}
-
-sub index {
-  my($proto, $dbh, $table) = @_;
-  my $gratuitous = { map { $_ => [ $proto->_index_fields($dbh, $_ ) ] }
-      grep { ! $proto->_is_unique($dbh, $_ ) }
-        $proto->_all_indices($dbh, $table)
-  };
-}
-
-sub _all_indices {
-  my($proto, $dbh, $table) = @_;
-  my $sth = $dbh->prepare(<<END) or die $dbh->errstr;
-    SELECT c2.relname
-    FROM pg_class c, pg_class c2, pg_index i
-    WHERE c.relname = '$table' AND c.oid = i.indrelid AND i.indexrelid = c2.oid
-END
-  $sth->execute or die $sth->errstr;
-  map { $_->{'relname'} }
-    grep { $_->{'relname'} !~ /_pkey$/ }
-      @{ $sth->fetchall_arrayref({}) };
-}
-
-sub _index_fields {
-  my($proto, $dbh, $index) = @_;
-  my $sth = $dbh->prepare(<<END) or die $dbh->errstr;
-    SELECT a.attname, a.attnum
-    FROM pg_class c, pg_attribute a, pg_type t
-    WHERE c.relname = '$index'
-      AND a.attnum > 0 AND a.attrelid = c.oid AND a.atttypid = t.oid
-END
-  $sth->execute or die $sth->errstr;
-  map { $_->{'attname'} } @{ $sth->fetchall_arrayref({}) };
-}
-
-sub _is_unique {
-  my($proto, $dbh, $index) = @_;
-  my $sth = $dbh->prepare(<<END) or die $dbh->errstr;
-    SELECT i.indisunique
-    FROM pg_index i, pg_class c, pg_am a
-    WHERE i.indexrelid = c.oid AND c.relname = '$index' AND c.relam = a.oid
-END
-  $sth->execute or die $sth->errstr;
-  my $row = $sth->fetchrow_hashref or die 'guru meditation #420';
-  $row->{'indisunique'};
-}
-
-=head1 AUTHOR
-
-Ivan Kohler <ivan-dbix-dbschema@420.am>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2000 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-Yes.
-
-columns doesn't return column default information.
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema>, L<DBIx::DBSchema::DBD>, L<DBI>, L<DBI::DBD>
-
-=cut 
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/Sybase.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/Sybase.pm
deleted file mode 100755 (executable)
index 4a74069..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-package DBIx::DBSchema::DBD::Sybase;
-
-use strict;
-use vars qw($VERSION @ISA %typemap);
-use DBIx::DBSchema::DBD;
-
-$VERSION = '0.03';
-@ISA = qw(DBIx::DBSchema::DBD);
-
-%typemap = (
-#  'empty' => 'empty'
-);
-
-=head1 NAME
-
-DBIx::DBSchema::DBD::Sybase - Sybase database driver for DBIx::DBSchema
-
-=head1 SYNOPSIS
-
-use DBI;
-use DBIx::DBSchema;
-
-$dbh = DBI->connect('dbi:Sybase:dbname=database', 'user', 'pass');
-$schema = new_native DBIx::DBSchema $dbh;
-
-=head1 DESCRIPTION
-
-This module implements a Sybase driver for DBIx::DBSchema. 
-
-=cut
-
-sub columns {
-  my($proto, $dbh, $table) = @_;
-
-  my $sth = $dbh->prepare("sp_columns \@table_name=$table") 
-  or die $dbh->errstr;
-
-  $sth->execute or die $sth->errstr;
-  my @cols = map {
-    [
-      $_->{'column_name'},
-      $_->{'type_name'},
-      ($_->{'nullable'} ? 1 : ''),
-      $_->{'length'},
-      '', #default
-      ''  #local
-    ]
-  } @{ $sth->fetchall_arrayref({}) };
-  $sth->finish;
-
-  @cols;
-}
-
-sub primary_key {
-    return("StubbedPrimaryKey");
-}
-
-
-sub unique {
-  my($proto, $dbh, $table) = @_;
-  my $gratuitous = { map { $_ => [ $proto->_index_fields($dbh, $table, $_ ) ] }
-      grep { $proto->_is_unique($dbh, $_ ) }
-        $proto->_all_indices($dbh, $table)
-  };
-}
-
-sub index {
-  my($proto, $dbh, $table) = @_;
-  my $gratuitous = { map { $_ => [ $proto->_index_fields($dbh, $table, $_ ) ] }
-      grep { ! $proto->_is_unique($dbh, $_ ) }
-        $proto->_all_indices($dbh, $table)
-  };
-}
-
-sub _all_indices {
-  my($proto, $dbh, $table) = @_;
-
-  my $sth = $dbh->prepare_cached(<<END) or die $dbh->errstr;
-    SELECT name
-    FROM sysindexes
-    WHERE id = object_id('$table') and indid between 1 and 254
-END
-  $sth->execute or die $sth->errstr;
-  my @indices = map { $_->[0] } @{ $sth->fetchall_arrayref() };
-  $sth->finish;
-  $sth = undef;
-  @indices;
-}
-
-sub _index_fields {
-  my($proto, $dbh, $table, $index) = @_;
-
-  my @keys;
-
-  my ($indid) = $dbh->selectrow_array("select indid from sysindexes where id = object_id('$table') and name = '$index'");
-  for (1..30) {
-    push @keys, $dbh->selectrow_array("select index_col('$table', $indid, $_)") || ();
-  }
-
-  return @keys;
-}
-
-sub _is_unique {
-  my($proto, $dbh, $table, $index) = @_;
-
-  my ($isunique) = $dbh->selectrow_array("select status & 2 from sysindexes where id = object_id('$table') and name = '$index'");
-
-  return $isunique;
-}
-
-=head1 AUTHOR
-
-Charles Shapiro <charles.shapiro@numethods.com>
-(courtesy of Ivan Kohler <ivan-dbix-dbschema@420.am>)
-
-Mitchell Friedman <mitchell.friedman@numethods.com>
-
-Bernd Dulfer <bernd@widd.de>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2001 Charles Shapiro, Mitchell J. Friedman
-Copyright (c) 2001 nuMethods LLC.
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-Yes.
-
-The B<primary_key> method does not yet work.
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema>, L<DBIx::DBSchema::DBD>, L<DBI>, L<DBI::DBD>
-
-=cut 
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/mysql.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/DBD/mysql.pm
deleted file mode 100644 (file)
index f3804dd..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-package DBIx::DBSchema::DBD::mysql;
-
-use strict;
-use vars qw($VERSION @ISA %typemap);
-use DBIx::DBSchema::DBD;
-
-$VERSION = '0.03';
-@ISA = qw(DBIx::DBSchema::DBD);
-
-%typemap = (
-  'TIMESTAMP'      => 'DATETIME',
-  'SERIAL'         => 'INTEGER',
-  'BOOL'           => 'TINYINT',
-  'LONG VARBINARY' => 'LONGBLOB',
-);
-
-=head1 NAME
-
-DBIx::DBSchema::DBD::mysql - MySQL native driver for DBIx::DBSchema
-
-=head1 SYNOPSIS
-
-use DBI;
-use DBIx::DBSchema;
-
-$dbh = DBI->connect('dbi:mysql:database', 'user', 'pass');
-$schema = new_native DBIx::DBSchema $dbh;
-
-=head1 DESCRIPTION
-
-This module implements a MySQL-native driver for DBIx::DBSchema.
-
-=cut
-
-sub columns {
-  my($proto, $dbh, $table ) = @_;
-  my $sth = $dbh->prepare("SHOW COLUMNS FROM $table") or die $dbh->errstr;
-  $sth->execute or die $sth->errstr;
-  map {
-    $_->{'Type'} =~ /^(\w+)\(?([\d\,]+)?\)?( unsigned)?$/
-      or die "Illegal type: ". $_->{'Type'}. "\n";
-    my($type, $length) = ($1, $2);
-    [
-      $_->{'Field'},
-      $type,
-      $_->{'Null'},
-      $length,
-      $_->{'Default'},
-      $_->{'Extra'}
-    ]
-  } @{ $sth->fetchall_arrayref( {} ) };
-}
-
-#sub primary_key {
-#  my($proto, $dbh, $table ) = @_;
-#  my $primary_key = '';
-#  my $sth = $dbh->prepare("SHOW INDEX FROM $table")
-#    or die $dbh->errstr;
-#  $sth->execute or die $sth->errstr;
-#  my @pkey = map { $_->{'Column_name'} } grep {
-#    $_->{'Key_name'} eq "PRIMARY"
-#  } @{ $sth->fetchall_arrayref( {} ) };
-#  scalar(@pkey) ? $pkey[0] : '';
-#}
-
-sub primary_key {
-  my($proto, $dbh, $table) = @_;
-  my($pkey, $unique_href, $index_href) = $proto->_show_index($dbh, $table);
-  $pkey;
-}
-
-sub unique {
-  my($proto, $dbh, $table) = @_;
-  my($pkey, $unique_href, $index_href) = $proto->_show_index($dbh, $table);
-  $unique_href;
-}
-
-sub index {
-  my($proto, $dbh, $table) = @_;
-  my($pkey, $unique_href, $index_href) = $proto->_show_index($dbh, $table);
-  $index_href;
-}
-
-sub _show_index {
-  my($proto, $dbh, $table ) = @_;
-  my $sth = $dbh->prepare("SHOW INDEX FROM $table")
-    or die $dbh->errstr;
-  $sth->execute or die $sth->errstr;
-
-  my $pkey = '';
-  my(%index, %unique);
-  foreach my $row ( @{ $sth->fetchall_arrayref({}) } ) {
-    if ( $row->{'Key_name'} eq 'PRIMARY' ) {
-      $pkey = $row->{'Column_name'};
-    } elsif ( $row->{'Non_unique'} ) { #index
-      push @{ $index{ $row->{'Key_name'} } }, $row->{'Column_name'};
-    } else { #unique
-      push @{ $unique{ $row->{'Key_name'} } }, $row->{'Column_name'};
-    }
-  }
-
-  ( $pkey, \%unique, \%index );
-}
-
-=head1 AUTHOR
-
-Ivan Kohler <ivan-dbix-dbschema@420.am>
-
-=head1 COPYRIGHT
-
-Copyright (c) 2000 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema>, L<DBIx::DBSchema::DBD>, L<DBI>, L<DBI::DBD>
-
-=cut 
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/Table.pm b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/DBSchema/Table.pm
deleted file mode 100644 (file)
index 2d6272e..0000000
+++ /dev/null
@@ -1,471 +0,0 @@
-package DBIx::DBSchema::Table;
-
-use strict;
-use vars qw(@ISA %create_params);
-#use Carp;
-#use Exporter;
-use DBIx::DBSchema::Column 0.02;
-use DBIx::DBSchema::ColGroup::Unique;
-use DBIx::DBSchema::ColGroup::Index;
-
-#@ISA = qw(Exporter);
-@ISA = qw();
-
-=head1 NAME
-
-DBIx::DBSchema::Table - Table objects
-
-=head1 SYNOPSIS
-
-  use DBIx::DBSchema::Table;
-
-  #old style (depriciated)
-  $table = new DBIx::DBSchema::Table (
-    "table_name",
-    "primary_key",
-    $dbix_dbschema_colgroup_unique_object,
-    $dbix_dbschema_colgroup_index_object,
-    @dbix_dbschema_column_objects,
-  );
-
-  #new style (preferred), pass a hashref of parameters
-  $table = new DBIx::DBSchema::Table (
-    {
-      name        => "table_name",
-      primary_key => "primary_key",
-      unique      => $dbix_dbschema_colgroup_unique_object,
-      'index'     => $dbix_dbschema_colgroup_index_object,
-      columns     => \@dbix_dbschema_column_objects,
-    }
-  );
-
-  $table->addcolumn ( $dbix_dbschema_column_object );
-
-  $table_name = $table->name;
-  $table->name("table_name");
-
-  $primary_key = $table->primary_key;
-  $table->primary_key("primary_key");
-
-  $dbix_dbschema_colgroup_unique_object = $table->unique;
-  $table->unique( $dbix_dbschema__colgroup_unique_object );
-
-  $dbix_dbschema_colgroup_index_object = $table->index;
-  $table->index( $dbix_dbschema_colgroup_index_object );
-
-  @column_names = $table->columns;
-
-  $dbix_dbschema_column_object = $table->column("column");
-
-  #preferred
-  @sql_statements = $table->sql_create_table( $dbh );
-  @sql_statements = $table->sql_create_table( $datasrc, $username, $password );
-
-  #possible problems
-  @sql_statements = $table->sql_create_table( $datasrc );
-  @sql_statements = $table->sql_create_table;
-
-=head1 DESCRIPTION
-
-DBIx::DBSchema::Table objects represent a single database table.
-
-=head1 METHODS
-
-=over 4
-
-=item new [ TABLE_NAME [ , PRIMARY_KEY [ , UNIQUE [ , INDEX [ , COLUMN... ] ] ] ] ]
-
-=item new HASHREF
-
-Creates a new DBIx::DBSchema::Table object.  The preferred usage is to pass a
-hash reference of named parameters.
-
-  {
-    name        => TABLE_NAME,
-    primary_key => PRIMARY_KEY,
-    unique      => UNIQUE,
-    'index'     => INDEX,
-    columns     => COLUMNS
-  }
-
-TABLE_NAME is the name of the table.  PRIMARY_KEY is the primary key (may be
-empty).  UNIQUE is a DBIx::DBSchema::ColGroup::Unique object (see
-L<DBIx::DBSchema::ColGroup::Unique>).  INDEX is a
-DBIx::DBSchema::ColGroup::Index object (see
-L<DBIx::DBSchema::ColGroup::Index>).  COLUMNS is a reference to an array of
-DBIx::DBSchema::Column objects (see L<DBIx::DBSchema::Column>).
-
-=cut
-
-sub new {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-
-  my $self;
-  if ( ref($_[0]) ) {
-
-    $self = shift;
-    $self->{column_order} = [ map { $_->name } @{$self->{columns}} ];
-    $self->{columns} = { map { $_->name, $_ } @{$self->{columns}} };
-
-  } else {
-
-    my($name,$primary_key,$unique,$index,@columns) = @_;
-
-    my %columns = map { $_->name, $_ } @columns;
-    my @column_order = map { $_->name } @columns;
-
-    $self = {
-      'name'         => $name,
-      'primary_key'  => $primary_key,
-      'unique'       => $unique,
-      'index'        => $index,
-      'columns'      => \%columns,
-      'column_order' => \@column_order,
-    };
-
-  }
-
-  #check $primary_key, $unique and $index to make sure they are $columns ?
-  # (and sanity check?)
-
-  bless ($self, $class);
-
-}
-
-=item new_odbc DATABASE_HANDLE TABLE_NAME
-
-Creates a new DBIx::DBSchema::Table object from the supplied DBI database
-handle for the specified table.  This uses the experimental DBI type_info
-method to create a table with standard (ODBC) SQL column types that most
-closely correspond to any non-portable column types.   Use this to import a
-schema that you wish to use with many different database engines.  Although
-primary key and (unique) index information will only be imported from databases
-with DBIx::DBSchema::DBD drivers (currently MySQL and PostgreSQL), import of
-column names and attributes *should* work for any database.
-
-Note: the _odbc refers to the column types used and nothing else - you do not
-have to have ODBC installed or connect to the database via ODBC.
-
-=cut
-
-%create_params = (
-#  undef             => sub { '' },
-  ''                => sub { '' },
-  'max length'      => sub { $_[0]->{PRECISION}->[$_[1]]; },
-  'precision,scale' =>
-    sub { $_[0]->{PRECISION}->[$_[1]]. ','. $_[0]->{SCALE}->[$_[1]]; }
-);
-
-sub new_odbc {
-  my( $proto, $dbh, $name) = @_;
-  my $driver = DBIx::DBSchema::_load_driver($dbh);
-  my $sth = _null_sth($dbh, $name);
-  my $sthpos = 0;
-  $proto->new (
-    $name,
-    scalar(eval "DBIx::DBSchema::DBD::$driver->primary_key(\$dbh, \$name)"),
-    DBIx::DBSchema::ColGroup::Unique->new(
-      $driver
-       ? [values %{eval "DBIx::DBSchema::DBD::$driver->unique(\$dbh, \$name)"}]
-       : []
-    ),
-    DBIx::DBSchema::ColGroup::Index->new(
-      $driver
-      ? [ values %{eval "DBIx::DBSchema::DBD::$driver->index(\$dbh, \$name)"} ]
-      : []
-    ),
-    map { 
-      my $type_info = scalar($dbh->type_info($sth->{TYPE}->[$sthpos]))
-        or die "DBI::type_info ". $dbh->{Driver}->{Name}. " driver ".
-               "returned no results for type ".  $sth->{TYPE}->[$sthpos];
-      new DBIx::DBSchema::Column
-          $_,
-          $type_info->{'TYPE_NAME'},
-          #"SQL_". uc($type_info->{'TYPE_NAME'}),
-          $sth->{NULLABLE}->[$sthpos],
-          &{ $create_params{ $type_info->{CREATE_PARAMS} } }( $sth, $sthpos++ ),          $driver && #default
-            ${ [
-              eval "DBIx::DBSchema::DBD::$driver->column(\$dbh, \$name, \$_)"
-            ] }[4]
-          # DB-local
-    } @{$sth->{NAME}}
-  );
-}
-
-=item new_native DATABASE_HANDLE TABLE_NAME
-
-Creates a new DBIx::DBSchema::Table object from the supplied DBI database
-handle for the specified table.  This uses database-native methods to read the
-schema, and will preserve any non-portable column types.  The method is only
-available if there is a DBIx::DBSchema::DBD for the corresponding database
-engine (currently, MySQL and PostgreSQL).
-
-=cut
-
-sub new_native {
-  my( $proto, $dbh, $name) = @_;
-  my $driver = DBIx::DBSchema::_load_driver($dbh);
-  $proto->new (
-    $name,
-    scalar(eval "DBIx::DBSchema::DBD::$driver->primary_key(\$dbh, \$name)"),
-    DBIx::DBSchema::ColGroup::Unique->new(
-      [ values %{eval "DBIx::DBSchema::DBD::$driver->unique(\$dbh, \$name)"} ]
-    ),
-    DBIx::DBSchema::ColGroup::Index->new(
-      [ values %{eval "DBIx::DBSchema::DBD::$driver->index(\$dbh, \$name)"} ]
-    ),
-    map {
-      DBIx::DBSchema::Column->new( @{$_} )
-    } eval "DBIx::DBSchema::DBD::$driver->columns(\$dbh, \$name)"
-  );
-}
-
-=item addcolumn COLUMN
-
-Adds this DBIx::DBSchema::Column object. 
-
-=cut
-
-sub addcolumn {
-  my($self,$column)=@_;
-  ${$self->{'columns'}}{$column->name}=$column; #sanity check?
-  push @{$self->{'column_order'}}, $column->name;
-}
-
-=item delcolumn COLUMN_NAME
-
-Deletes this column.  Returns false if no column of this name was found to
-remove, true otherwise.
-
-=cut
-
-sub delcolumn {
-  my($self,$column) = @_;
-  return 0 unless exists $self->{'columns'}{$column};
-  delete $self->{'columns'}{$column};
-  @{$self->{'column_order'}}= grep { $_ ne $column } @{$self->{'column_order'}};  1;
-}
-
-=item name [ TABLE_NAME ]
-
-Returns or sets the table name.
-
-=cut
-
-sub name {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{name} = $value;
-  } else {
-    $self->{name};
-  }
-}
-
-=item primary_key [ PRIMARY_KEY ]
-
-Returns or sets the primary key.
-
-=cut
-
-sub primary_key {
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{primary_key} = $value;
-  } else {
-    #$self->{primary_key};
-    #hmm.  maybe should untaint the entire structure when it comes off disk 
-    # cause if you don't trust that, ?
-    $self->{primary_key} =~ /^(\w*)$/ 
-      #aah!
-      or die "Illegal primary key: ", $self->{primary_key};
-    $1;
-  }
-}
-
-=item unique [ UNIQUE ]
-
-Returns or sets the DBIx::DBSchema::ColGroup::Unique object.
-
-=cut
-
-sub unique { 
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{unique} = $value;
-  } else {
-    $self->{unique};
-  }
-}
-
-=item index [ INDEX ]
-
-Returns or sets the DBIx::DBSchema::ColGroup::Index object.
-
-=cut
-
-sub index { 
-  my($self,$value)=@_;
-  if ( defined($value) ) {
-    $self->{'index'} = $value;
-  } else {
-    $self->{'index'};
-  }
-}
-
-=item columns
-
-Returns a list consisting of the names of all columns.
-
-=cut
-
-sub columns {
-  my($self)=@_;
-  #keys %{$self->{'columns'}};
-  #must preserve order
-  @{ $self->{'column_order'} };
-}
-
-=item column COLUMN_NAME
-
-Returns the column object (see L<DBIx::DBSchema::Column>) for the specified
-COLUMN_NAME.
-
-=cut
-
-sub column {
-  my($self,$column)=@_;
-  $self->{'columns'}->{$column};
-}
-
-=item sql_create_table [ DATABASE_HANDLE | DATA_SOURCE [ USERNAME PASSWORD [ ATTR ] ] ]
-
-Returns a list of SQL statments to create this table.
-
-The data source can be specified by passing an open DBI database handle, or by
-passing the DBI data source name, username and password.  
-
-Although the username and password are optional, it is best to call this method
-with a database handle or data source including a valid username and password -
-a DBI connection will be opened and the quoting and type mapping will be more
-reliable.
-
-If passed a DBI data source (or handle) such as `DBI:mysql:database', will use
-MySQL- or PostgreSQL-specific syntax.  Non-standard syntax for other engines
-(if applicable) may also be supported in the future.
-
-=cut
-
-sub sql_create_table { 
-  my($self, $dbh) = (shift, shift);
-
-  my $created_dbh = 0;
-  unless ( ref($dbh) || ! @_ ) {
-    $dbh = DBI->connect( $dbh, @_ ) or die $DBI::errstr;
-    my $gratuitous = $DBI::errstr; #surpress superfluous `used only once' error
-    $created_dbh = 1;
-  }
-  #false laziness: nicked from DBSchema::_load_driver
-  my $driver;
-  if ( ref($dbh) ) {
-    $driver = $dbh->{Driver}->{Name};
-  } else {
-    my $discard = $dbh;
-    $discard =~ s/^dbi:(\w*?)(?:\((.*?)\))?://i #nicked from DBI->connect
-                        or '' =~ /()/; # ensure $1 etc are empty if match fails
-    $driver = $1 or die "can't parse data source: $dbh";
-  }
-  #eofalse
-
-#should be in the DBD somehwere :/
-#  my $saved_pkey = '';
-#  if ( $driver eq 'Pg' && $self->primary_key ) {
-#    my $pcolumn = $self->column( (
-#      grep { $self->column($_)->name eq $self->primary_key } $self->columns
-#    )[0] );
-##AUTO-INCREMENT#    $pcolumn->type('serial') if lc($pcolumn->type) eq 'integer';
-#    $pcolumn->local( $pcolumn->local. ' PRIMARY KEY' );
-#    #my $saved_pkey = $self->primary_key;
-#    #$self->primary_key('');
-#    #change it back afterwords :/
-#  }
-
-  my @columns = map { $self->column($_)->line($dbh) } $self->columns;
-
-  push @columns, "PRIMARY KEY (". $self->primary_key. ")"
-    #if $self->primary_key && $driver ne 'Pg';
-    if $self->primary_key;
-
-  my $indexnum = 1;
-
-  my @r = (
-    "CREATE TABLE ". $self->name. " (\n  ". join(",\n  ", @columns). "\n)\n"
-  );
-
-  push @r, map {
-                 #my($index) = $self->name. "__". $_ . "_idx";
-                 #$index =~ s/,\s*/_/g;
-                 my $index = $self->name. $indexnum++;
-                 "CREATE UNIQUE INDEX $index ON ". $self->name. " ($_)\n"
-               } $self->unique->sql_list
-    if $self->unique;
-
-  push @r, map {
-                 #my($index) = $self->name. "__". $_ . "_idx";
-                 #$index =~ s/,\s*/_/g;
-                 my $index = $self->name. $indexnum++;
-                 "CREATE INDEX $index ON ". $self->name. " ($_)\n"
-               } $self->index->sql_list
-    if $self->index;
-
-  #$self->primary_key($saved_pkey) if $saved_pkey;
-  $dbh->disconnect if $created_dbh;
-  @r;
-}
-
-#
-
-sub _null_sth {
-  my($dbh, $table) = @_;
-  my $sth = $dbh->prepare("SELECT * FROM $table WHERE 1=0")
-    or die $dbh->errstr;
-  $sth->execute or die $sth->errstr;
-  $sth;
-}
-
-=back
-
-=head1 AUTHOR
-
-Ivan Kohler <ivan-dbix-dbschema@420.am>
-
-Thanks to Mark Ethan Trostler <mark@zzo.com> for a patch to allow tables
-with no indices.
-
-=head1 COPYRIGHT
-
-Copyright (c) 2000 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=head1 BUGS
-
-sql_create_table() has database-specific foo that probably ought to be
-abstracted into the DBIx::DBSchema::DBD:: modules.
-
-sql_create_table may change or destroy the object's data.  If you need to use
-the object after sql_create_table, make a copy beforehand.
-
-Some of the logic in new_odbc might be better abstracted into Column.pm etc.
-
-=head1 SEE ALSO
-
-L<DBIx::DBSchema>, L<DBIx::DBSchema::ColGroup::Unique>,
-L<DBIx::DBSchema::ColGroup::Index>, L<DBIx::DBSchema::Column>, L<DBI>
-
-=cut
-
-1;
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/MANIFEST b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/MANIFEST
deleted file mode 100644 (file)
index b04de25..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Changes
-MANIFEST
-MANIFEST.SKIP
-README
-TODO
-Makefile.PL
-DBSchema.pm
-t/load.t
-t/load-mysql.t
-t/load-pg.t
-DBSchema/Table.pm
-DBSchema/ColGroup.pm
-DBSchema/ColGroup/Index.pm
-DBSchema/ColGroup/Unique.pm
-DBSchema/Column.pm
-DBSchema/DBD.pm
-DBSchema/DBD/mysql.pm
-DBSchema/DBD/Pg.pm
-DBSchema/DBD/Sybase.pm
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/MANIFEST.SKIP b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/MANIFEST.SKIP
deleted file mode 100644 (file)
index ae335e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-CVS/
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/Makefile.PL b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/Makefile.PL
deleted file mode 100644 (file)
index a10e4da..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-WriteMakefile(
-    'NAME'     => 'DBIx::DBSchema',
-    'VERSION_FROM' => 'DBSchema.pm', # finds $VERSION
-    'PREREQ_PM'    => {
-                        'DBI' => 0,
-                        'FreezeThaw' => 0,
-                      },
-);
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/README b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/README
deleted file mode 100644 (file)
index 8911ea4..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-DBIx::DBSchema
-
-Copyright (c) 2000-2002 Ivan Kohler
-Copyright (c) 2000 Mail Abuse Prevention System LLC
-All rights reserved.
-This program is free software; you can redistribute it and/or modify it under
-the same terms as Perl itself.
-
-This module implements an OO-interface to database schemas.  Using this module,
-you can create a database schema with an OO Perl interface.  You can read the
-schema from an existing database.  You can save the schema to disk and restore
-it from different process.  Most importantly, DBIx::DBSchema can write SQL
-CREATE statements for different databases from a single source.
-
-Currently supported databases are MySQL, PostgreSQL and Sybase.
-DBIx::DBSchema will attempt to use generic SQL syntax for other databases.
-Assistance adding support for other databases is welcomed.  See the
-DBIx::DBSchema::DBD manpage, "Driver Writer's Guide and Base Class".
-
-To install:
-       perl Makefile.PL
-       make
-       make test # nothing substantial yet
-       make install
-
-Documentation will then be available via `man DBIx::DBSchema' or
-`perldoc DBIx::DBSchema'.
-
-Anonymous CVS access is available:
-  $ export CVSROOT=":pserver:anonymous@cleanwhisker.420.am:/home/cvs/cvsroot"
-  $ cvs login
-  (Logging in to anonymous@cleanwhisker.420.am)
-  CVS password: anonymous
-  $ cvs checkout DBIx-DBSchema
-as well as <http://www.420.am/cgi-bin/cvsweb/DBIx-DBSchema>.
-
-A mailing list is available.  Send a blank message to
-<ivan-dbix-dbschema-users-subscribe@420.am>.
-
-Homepage: <http://www.420.am/dbix-dbschema>
-
-$Id: README,v 1.1 2004-04-29 09:21:27 ivan Exp $
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/TODO b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/TODO
deleted file mode 100644 (file)
index e75850b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-port and test with additional databases
-
-sql CREATE TABLE output should convert integers
-(i.e. use DBI qw(:sql_types);) to local types using DBI->type_info plus a hash
-to fudge things
-
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load-mysql.t b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load-mysql.t
deleted file mode 100644 (file)
index 78818c1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n"; }
-END {print "not ok 1\n" unless $loaded;}
-use DBIx::DBSchema::DBD::mysql;
-$loaded = 1;
-print "ok 1\n";
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load-pg.t b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load-pg.t
deleted file mode 100644 (file)
index 93fcf4a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-print "1..1\n";
-eval "use DBD::Pg 1.32";
-if ( length($@) ) {
-  print "ok 1 # Skipped: DBD::Pg 1.32 required for Pg";
-} else {
-  eval "use DBIx::DBSchema::DBD::Pg;";
-  if ( length($@) ) {
-    print "not ok 1\n";
-  } else {
-    print "ok 1\n";
-  }
-}
diff --git a/install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load.t b/install/5.005/DBIx-DBSchema-0.23-5.005kludge/t/load.t
deleted file mode 100644 (file)
index 67ea44b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-BEGIN { $| = 1; print "1..1\n"; }
-END {print "not ok 1\n" unless $loaded;}
-use DBIx::DBSchema;
-$loaded = 1;
-print "ok 1\n";
diff --git a/install/centos/3/INSTALL b/install/centos/3/INSTALL
deleted file mode 100644 (file)
index 9228f57..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-yum install cvs perl perl-DateManip perl-HTML-Parser \
-            perl-HTML-Tagset perl-URI perl-libwww-perl perl-CPAN \
-            rsync screen zsh lftp cvs autoconf \
-            gcc gd \
-            rh-postgresql rh-postgresql-docs rh-postgresql-libs \
-            rh-postgresql-server rh-postgresql-devel
-
-
-perl -MCPAN -e"install Net::Whois::Raw, Business::CreditCard, \
-                       File::CounterFile, String::Approx, Text::Template, \
-                       FreezeThaw, DBIx::DBSchema, \
-                       Net::SSH, String::ShellQuote, Net::SCP, \
-                       HTML::Mason, Tie::IxHash, Time::Duration, \
-                       HTML::Widgets::SelectLayers, Apache::DBI, \
-                       Cache::Cache, IPC::ShareLite, Locale::SubCountry, \
-                       Crypt::PasswdMD5, \
-                       Locale::SubCountry, DBI, DBD::Pg, \
-                       File::Temp, Storable, JavaScript::RPC::Server::CGI"
-
-#RT
-#perl -MCPAN -e "install Digest::MD5, Test::Inline, Class::ReturnValue, DBIx::SearchBuilder, HTML::Scrubber, Log::Dispatch, Locale::Maketext::Fuzzy, MIME::Entity, Text::Wrapper, Time::ParseDate, Term::ReadKey, Text::Autoformat, Text::Quoted, Tree::Simple, Module::Versions::Report"
-
-lftpget http://dag.wieers.com/packages/apt/apt-0.5.15cnc6-3.1.el3.dag.i386.rpm
-rpm -i apt-0.5.15cnc6-3.1.el3.dag.i386.rpm 
-apt-get update
-apt-get install perl-GD perl-MailTools perl-TimeDate perl-NetAddr-IP
-
-perl -MCPAN -e"install Chart::Base"
-
-#apachetoolbox
-apt-get remove httpd
-yum install krb5-devel openssl-devel
-lftpget http://umn.dl.sourceforge.net/sourceforge/apachetoolbox/Apachetoolbox-install-1.5.72.tar.gz
-tar xzvf Apachetoolbox-install-1.5.72.tar.gz
-cd Apachetoolbox-1.5.72
-./install.sh
-# export INCLUDES="-I/usr/kerberos/include"
-cd apache_1.3.31;make
-make certificate TYPE=dummy
-make install
-ln -s /usr/local/apache/bin/htpasswd /usr/local/bin
-cp httpd-init /etc/init.d/httpd-freeside
-chmod a+rx /etc/init.d/httpd-freeside 
-/sbin/chkconfig httpd-freeside on
-#end apachetoolbox
-
-/usr/sbin/useradd freeside
-
-/sbin/chkconfig rhdb on
-/etc/init.d/rhdb start
-
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-LANG=C su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/centos/3/httpd-init b/install/centos/3/httpd-init
deleted file mode 100644 (file)
index dca95cf..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-#
-# Startup script for the Apache Web Server
-#
-# chkconfig: - 85 15
-# description: Apache is a World Wide Web server.  It is used to serve \
-#              HTML files and CGI.
-# processname: httpd
-# Source function library.
-
-# Path to the apachectl script, server binary, and short-form for messages.
-apachectl=/usr/local/apache/bin/apachectl
-prog=httpd
-RETVAL=0
-
-start() {
-        echo -n $"Starting $prog: "
-        $apachectl startssl
-        RETVAL=$?
-}
-stop() {
-        echo -n $"Stopping $prog: "
-        $apachectl stop
-        RETVAL=$?
-}
-
-# See how we were called.
-case "$1" in
-  start)
-        start
-        ;;
-  stop)
-        stop
-        ;;
-  restart)
-        stop
-        sleep 3
-        start
-        ;;
-  graceful|help|configtest)
-        $apachectl $@
-        RETVAL=$?
-        ;;
-  *)
-        echo $"Usage: $prog {start|stop|restart|graceful|help|configtest}"
-        exit 1
-esac
-
-exit $RETVAL
-
diff --git a/install/debian/3.0/INSTALL b/install/debian/3.0/INSTALL
deleted file mode 100644 (file)
index 019d515..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-echo "deb http://pouncequick.420.am/~ivan/freeside-woody/ ./" >>/etc/apt/sources.list
-
-apt-get update
-apt-get install screen zsh libapache-mod-ssl libapache-mod-perl rsync \
-        postgresql cvs fsh \
-        liburi-perl libhtml-tagset-perl libnet-perl liblocale-codes-perl \
-        libnet-whois-perl libwww-perl libbusiness-creditcard-perl \
-        libmailtools-perl libtimedate-perl libdate-manip-perl \
-        libfile-counterfile-perl libfreezethaw-perl libstring-approx-perl \
-        libtext-template-perl libdbi-perl libdbd-pg-perl \
-        libdbix-datasource-perl libdbix-dbschema-perl libnet-ssh-perl \
-        libstring-shellquote-perl libnet-scp-perl libapache-asp-perl \
-        libtie-ixhash-perl libtime-duration-perl \
-        libhtml-widgets-selectlayers-perl libstorable-perl \
-        libapache-dbi-perl libcache-cache-perl libdbd-mysql-perl \
-       libcrypt-passwdmd5-perl libnetaddr-ip-perl libfile-temp-perl \
-       libnet-whois-raw-perl libchart-perl
-
-useradd freeside
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
diff --git a/install/debian/3.1/INSTALL b/install/debian/3.1/INSTALL
deleted file mode 100644 (file)
index 550c71a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-
-echo "deb http://420.am/~ivan/freeside-sarge/ ./" >>/etc/apt/sources.list
-
-apt-get update
-apt-get install make screen zsh cvs fsh rsync \
-        apache libapache-mod-ssl libapache-mod-ssl-doc libapache-mod-perl \
-        postgresql postgresql-contrib \
-        tetex-base tetex-bin tetex-extra \
-        gs lpr libpaper-utils psutils dialog psfontmgr \
-        liburi-perl libhtml-tagset-perl libnet-perl \
-        libwww-perl libbusiness-creditcard-perl \
-        libmailtools-perl libtimedate-perl libdate-manip-perl \
-        libfile-counterfile-perl libfreezethaw-perl libstring-approx-perl \
-        libtext-template-perl libdbi-perl libdbd-pg-perl \
-        libdbix-dbschema-perl libnet-ssh-perl \
-        libstring-shellquote-perl libnet-scp-perl libhtml-mason-perl \
-        libtie-ixhash-perl libtime-duration-perl \
-        libhtml-widgets-selectlayers-perl \
-        libapache-dbi-perl libcache-cache-perl libdbd-mysql-perl \
-        libcrypt-passwdmd5-perl libnetaddr-ip-perl \
-        libnet-whois-raw-perl libchart-perl \
-        libmime-perl libapache-session-perl libhtml-tree-perl \
-        libhtml-format-perl libtest-inline-perl libclass-returnvalue-perl \
-        libdbix-searchbuilder-perl  liblog-dispatch-perl \
-        liblocale-maketext-lexicon-perl liblocale-maketext-fuzzy-perl \
-        libtext-wrapper-perl libtime-modules-perl libterm-readkey-perl \
-        libtext-autoformat-perl libtext-quoted-perl libregexp-common-perl \
-        libhtml-scrubber-perl libtree-simple-perl liblocale-subcountry-perl \
-        libtext-csv-perl libspreadsheet-writeexcel-perl libfrontier-rpc-perl \
-       libjavascript-rpc-perl libipc-run3-perl
-
-useradd freeside
-groupadd freeside
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-perl -p -i.fsbackup -e 's/^(User|Group) .*/$1 freeside/' /etc/apache/httpd.conf
-( cd /usr/share/doc/libapache-mod-ssl/examples/;
-  cp mod-ssl.conf vhost.conf.gz /etc/apache/conf.d
-)
-gunzip /etc/apache/conf.d/vhost.conf.gz
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-freeside-adduser fs_queue
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make configure-rt
-
-#muck with pg perms
-make create-rt
-#unmuck pg perms
-
-make deploy
diff --git a/install/fedora/fc1/INSTALL b/install/fedora/fc1/INSTALL
deleted file mode 100755 (executable)
index c347609..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-wget --passive-ftp --continue http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/apt-0.5.15cnc5-0.fdr.10.1.i386.rpm
-rpm -i apt*i386.rpm
-
-cp sources.list /etc/apt/sources.list
-
-apt-get update
-
-apt-get install perl-Devel-Symdump perl-BSD-Resource
-
-wget --passive-ftp --continue http://linux.reb00t.com/fedora-current/RPMS/apache-1.3.29-1.n0i.2.MPSSL.i686.rpm http://linux.reb00t.com/fedora-current/RPMS/mm-1.3.0-0.n0i.2.i686.rpm http://mirrors.kernel.org/fedora.us/fedora/fedora/1.91/i386/RPMS.os/db4-4.2.52-3.1.i386.rpm
-
-apt-get remove httpd mod_perl
-
-rpm -i mm-1.3.0-0.n0i.2.i686.rpm db4-4.2.52-3.1.i386.rpm apache-1.3.29-1.n0i.2.MPSSL.i686.rpm
-
-/sbin/chkconfig httpd on
-
-#edit /etc/httpd/conf/httpd.conf, remove mod_auth_db LoadMoudle and AddModule
-
-echo 'OPTIONS="-DHAVE_PERL -DHAVE_SSL"' >>/etc/sysconfig/apache
-
-/etc/init.d/httpd start
-
-echo 'RPM::Allow-Duplicated { "^db4$"; };' >>/etc/apt/apt.conf
-
-wget --continue http://atrpms.physik.fu-berlin.de/RPM-GPG-KEY.atrpms
-rpm --import RPM-GPG-KEY.atrpms
-wget --continue http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
-rpm --import RPM-GPG-KEY.dag.txt
-
-apt-get install perl-DBD-MySQL perl-DBI perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-suidperl rsync postgresql postgresql-docs postgresql-libs postgresql-server postgresql-devel screen zsh lftp cvs gcc gd perl-GD perl-MailTools perl-FreezeThaw perl-NetAddr-IP perl-Chart 
-
-perl -MCPAN -e"install Net::Whois::Raw, Business::CreditCard, \
-                       File::CounterFile, String::Approx, Text::Template, \
-                       DBIx::DataSource, DBIx::DBSchema, Net::SSH, \
-                       String::ShellQuote, Net::SCP, Apache::ASP, \
-                       Tie::IxHash, Time::Duration, \
-                       HTML::Widgets::SelectLayers, Apache::DBI, \
-                       Cache::Cache, IPC::ShareLite, Locale::SubCountry, \
-                       DBD::Pg, Crypt::PasswdMD5 "
-
-
-#remove perl & ssl LoadModule lines from /etc/httpd/conf/httpd.conf
-#as they're statically linked (?)
-
-/usr/sbin/useradd freeside
-chsh freeside -s /bin/bash
-
-/sbin/chkconfig postgresql on
-/etc/init.d/postgresql start
-
-echo -e '\n\ny\nn" | su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/fedora/fc1/sources.list b/install/fedora/fc1/sources.list
deleted file mode 100644 (file)
index 9b36242..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# Fedora Core (Kernel.org, San Francisco California, USA)
-rpm http://mirrors.kernel.org/fedora.us/fedora fedora/1/i386 os updates
-rpm-src http://mirrors.kernel.org/fedora.us/fedora fedora/1/i386 os updates
-
-# Fedora Extras (Kernel.org, San Francisco California, USA)
-rpm http://mirrors.kernel.org/fedora.us/fedora fedora/1/i386 stable
-rpm-src http://mirrors.kernel.org/fedora.us/fedora fedora/1/i386 stable
-
-### Dag Apt Repository for Red Hat Fedora Core 1 (rhfc1)
-rpm http://apt.sw.be redhat/fc1/en/i386 dag
-
-rpm http://apt.physik.fu-berlin.de redhat/9/en/i386 at-testing
diff --git a/install/fedora/fc2/INSTALL b/install/fedora/fc2/INSTALL
deleted file mode 100755 (executable)
index d6c0a4f..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-
-wget --passive-ftp --continue http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/apt-0.5.15cnc6-0.fdr.11.2.i386.rpm
-rpm -i apt*i386.rpm
-
-wget --continue http://atrpms.physik.fu-berlin.de/RPM-GPG-KEY.atrpms
-rpm --import RPM-GPG-KEY.atrpms
-wget --continue http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
-rpm --import RPM-GPG-KEY.dag.txt
-
-#echo 'RPM::Allow-Duplicated { "^db4$"; };' >>/etc/apt/apt.conf
-
-#might need to uncomment
-#  GPG-Check "false";
-#in /etc/apt/apt.conf
-
-apt-get update
-cp sources.list /etc/apt/sources.list
-rm /etc/apt/sources.list.d/mirror-select.list
-apt-get update
-
-apt-get remove httpd mod_perl
-
-apt-get install perl-Devel-Symdump perl-BSD-Resource perl-DBD-MySQL perl-DBI perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-suidperl rsync postgresql postgresql-docs postgresql-libs postgresql-server postgresql-devel screen zsh lftp cvs gcc gd perl-GD perl-MailTools perl-FreezeThaw perl-NetAddr-IP perl-Chart perl-Text-Template perl-Cache-Cache
-
-#for rt
-#apt-get install perl-Apache-Session perl-MIME-tools perl-TermReadKey perl-MLDBM perl-MLDBM-Sync
-
-perl -MCPAN -e"install Net::Whois::Raw, Business::CreditCard, \
-                       File::CounterFile, String::Approx, Text::Template, \
-                       DBIx::DataSource, DBIx::DBSchema, Net::SSH, \
-                       String::ShellQuote, Net::SCP, HTML::Mason, \
-                       Tie::IxHash, Time::Duration, \
-                       HTML::Widgets::SelectLayers, Apache::DBI, \
-                       Locale::SubCountry, \
-                       DBD::Pg, Crypt::PasswdMD5 "
-
-
-#apachetoolbox
-#lftpget http://umn.dl.sourceforge.net/sourceforge/apachetoolbox/Apachetoolbox-install-1.5.72.tar.gz
-#apache config
-#apache init script 
-
-/usr/sbin/useradd freeside
-chsh freeside -s /bin/bash
-
-/sbin/chkconfig postgresql on
-/etc/init.d/postgresql start
-
-echo -e '\n\ny\nn' | su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-ln -s /usr/local/apache/bin/htpasswd /usr/local/bin/
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/fedora/fc2/sources.list b/install/fedora/fc2/sources.list
deleted file mode 100644 (file)
index 038db1e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# Fedora Core (Kernel.org, San Francisco California, USA)
-rpm http://mirrors.kernel.org/fedora.us/fedora fedora/2/i386 os updates
-rpm-src http://mirrors.kernel.org/fedora.us/fedora fedora/2/i386 os updates
-
-# Fedora Extras (Kernel.org, San Francisco California, USA)
-rpm http://mirrors.kernel.org/fedora.us/fedora fedora/2/i386 stable
-rpm-src http://mirrors.kernel.org/fedora.us/fedora fedora/2/i386 stable
-
-### Dag Apt Repository for Red Hat Fedora Core 2 (rhfc2)
-rpm http://apt.sw.be redhat/fc2/en/i386 dag
-
-rpm http://apt.physik.fu-berlin.de fedora/2/en/i386 at-testing
diff --git a/install/fedora/fc3/INSTALL b/install/fedora/fc3/INSTALL
deleted file mode 100755 (executable)
index 93f746b..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-
-wget --passive-ftp --continue http://download.fedora.us/fedora/fedora/3/i386/RPMS.extras/apt-0.5.15cnc6-16.r362.i386.rpm
-rpm -i apt*i386.rpm
-
-wget --continue http://atrpms.physik.fu-berlin.de/RPM-GPG-KEY.atrpms
-rpm --import RPM-GPG-KEY.atrpms
-wget --continue http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
-rpm --import RPM-GPG-KEY.dag.txt
-
-#echo 'RPM::Allow-Duplicated { "^db4$"; };' >>/etc/apt/apt.conf
-
-#might need to uncomment
-#  GPG-Check "false";
-#in /etc/apt/apt.conf
-
-apt-get update
-cp sources.list /etc/apt/sources.list
-rm /etc/apt/sources.list.d/mirror-select.list
-apt-get update
-
-apt-get -f install
-#apt-get remove httpd mod_perl
-pt-get remove httpd mod_perl httpd-manual httpd-suexec mod_auth_kerb mod_auth_mysql mod_auth_pgsql  mod_authz_ldap mod_python mod_ssl php system-config-httpd MyODBC MySQL-python php php-pgsql php-mysql php-pear php-odbc php-ldap mod_perl
-
-apt-get install perl-Devel-Symdump perl-BSD-Resource perl-DBD-MySQL perl-DBI perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-suidperl rsync postgresql postgresql-docs postgresql-libs postgresql-server postgresql-devel screen zsh lftp cvs gcc gd perl-GD perl-MailTools perl-FreezeThaw perl-NetAddr-IP perl-Chart perl-Text-Template perl-Cache-Cache perl-MIME-tools perl-Text-Template openssl openssl-devel perl-Text-CSV_XS perl-Frontier-RPC
-
-#for rt
-#apt-get install perl-Apache-Session perl-TermReadKey perl-MLDBM perl-MLDBM-Sync perl-Log-Dispatch perl-Term-ReadKey
-
-perl -MCPAN -e"install Net::Whois::Raw, Business::CreditCard, \
-                       File::CounterFile, String::Approx, \
-                       DBIx::DataSource, DBIx::DBSchema, Net::SSH, \
-                       String::ShellQuote, Net::SCP, HTML::Mason, \
-                       Tie::IxHash, Time::Duration, \
-                       HTML::Widgets::SelectLayers, Apache::DBI, \
-                       Locale::SubCountry, \
-                       DBD::Pg, Crypt::PasswdMD5, Spreadsheet::WriteExcel, \
-                       Fax::Hylafax::Client, JavaScript::RPC::Server::CGI"
-
-#for rt
-#perl -MCPAN -e"install HTML::TreeBuilder, HTML::FormatText, Test::Inline, \
-#                       Class::ReturnValue, DBIx::SearchBuilder, \
-#                       Log::Dispatch, Locale::Maketext::Lexicon, \
-#                       Locale::Maketext::Fuzzy, Text::Wrapper, \
-#                       Time::ParseDate, Text::AutoFormat, Text::Quoted, \
-#                       Regexp::Common, HTML::Scrubber, Tree::Simple"
-
-
-#apachetoolbox
-#lftpget http://easynews.dl.sourceforge.net/sourceforge/apachetoolbox/Apachetoolbox-install-1.5.72.tar.gz
-#apache config
-#apache init script 
-
-/usr/sbin/useradd freeside
-chsh freeside -s /bin/bash
-
-/sbin/chkconfig postgresql on
-/etc/init.d/postgresql start
-
-echo -e '\n\ny\nn' | su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-ln -s /usr/local/apache/bin/htpasswd /usr/local/bin/
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/fedora/fc3/sources.list b/install/fedora/fc3/sources.list
deleted file mode 100644 (file)
index d299e9d..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# Fedora Core (Kernel.org, San Francisco California, USA)
-rpm http://mirrors.kernel.org/fedora.us/fedora fedora/3/i386 os updates
-rpm-src http://mirrors.kernel.org/fedora.us/fedora fedora/3/i386 os updates
-
-# Fedora Extras (Kernel.org, San Francisco California, USA)
-rpm http://mirrors.kernel.org/fedora.us/fedora fedora/3/i386 extras
-rpm-src http://mirrors.kernel.org/fedora.us/fedora fedora/3/i386 extras
-
-### Dag Apt Repository for Red Hat Fedora Core 3 (rhfc3)
-rpm http://apt.sw.be fedora/3/en/i386 dag
-
-rpm http://apt.physik.fu-berlin.de fedora/3/en/i386 at-testing
diff --git a/install/freebsd/INSTALL b/install/freebsd/INSTALL
deleted file mode 100755 (executable)
index e8c92b0..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-
-# if /usr/local/sbin/portupgrade does not exist
-# then install portupgrade
-( cd /usr/ports/sysutils/portupgrade
-  #??? setenv WITH_OPENSSL_PORT "yes"
-  make install clean
-)
-
-# ???
-##rehash
-#pkgdb -u
-
-# if cvsup is not installed, then
-portinstall -PR cvsup-without-gui
-
-#cp /usr/share/examples/cvsup/ports-supfile /root
-#perl -pi -e 's/CHANGE_THIS/cvsup13/;' /root/ports-supfile
-#cvsup /root/ports-supfile
-
-# choose the fastest cvsup server, then cvsup update
-/usr/local/bin/cvsup -g -L 2 -h cvsup2.freebsd.org /usr/share/examples/cvsup/ports-supfile
-
-# Update the ports database
-#/usr/local/sbin/portsdb -Uu
-portsdb -Uu
-
-portinstall -PR portupgrade
-
-portinstall -PR lang/perl5.8
-# if FreeBSD 4.x, then
-/usr/local/bin/use.perl port
-
-#portupgrade -f `(pkg_info -R perl-5\* |tail +4; \
-#        find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \
-#        | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`
-
-
-for port in `grep -v '^ *#' ports`; do
-  portinstall -PR $port
-done
-
-for a in JavaScript::RPC::Server::CGI Chart::LinesPoints Frontier::RPC2; do perl -MCPAN -e"install $a"; done
-
-su -l pgsql -c initdb
-echo '
-postgresql_enable="YES"
-postgresql_data="/usr/local/pgsql/data"
-postgresql_flags="-w -s -m fast"
-' >>/etc/rc.conf
-
-/usr/local/etc/rc.d/010.pgsql.sh start
-
-pw user add freeside -m
-
-su -l pgsql -c 'createuser -P freeside'
-
-su -l freeside -c 'createdb freeside'
-
-#?
-cd ../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-
-#edit apache config, etc.
-
-echo '
-apache_enable="YES"
-apache_flags="-DSSL"
-' >>/etc/rc.conf
-
-make deploy
-
diff --git a/install/freebsd/ports b/install/freebsd/ports
deleted file mode 100644 (file)
index 90b49e6..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-shells/zsh
-misc/screen
-security/sudo
-ftp/lftp
-lang/perl5.8
-www/apache13-modssl
-www/mod_perl
-net/rsync
-databases/postgresql74-server
-#databases/postgresql74-client
-misc/p5-Array-PrintCols
-devel/p5-Term-Query
-converters/p5-MIME-Base64
-security/p5-Digest-MD5
-security/p5-MD5
-net/p5-URI
-www/p5-HTML-Tagset
-www/p5-HTML-Parser
-net/p5-Net
-misc/p5-Locale-Codes
-net/p5-Net-Whois-Raw
-www/p5-libwww
-finance/p5-Business-CreditCard
-devel/p5-Data-ShowTable
-mail/p5-Mail-Tools
-devel/p5-TimeDate
-devel/p5-Date-Manip
-misc/p5-File-CounterFile
-devel/p5-FreezeThaw
-devel/p5-String-Approx
-textproc/p5-Text-Template
-databases/p5-DBI
-databases/p5-DBD-Pg
-    #databases/p5-DBD-mysql
-    #databases/p5-DBIx-DataSource
-database/p5-DBIx-DBSchema
-net/p5-Net-SSH
-textproc/p5-String-ShellQuote
-net/p5-Net-SCP
-    #www/p5-Apache-ASP
-www/p5-HTML-Mason
-devel/p5-Tie-IxHash
-devel/p5-Time-Duration
-www/p5-HTML-Widgets-SelectLayers
-devel/p5-Storable
-www/p5-Apache-DBI
-devel/p5-Cache-Cache
-security/p5-Crypt-PasswdMD5
-net-mgmt/p5-NetAddr-IP
-graphics/p5-GD
-textproc/p5-Spreadsheet-WriteExcel
-textproc/p5-Text-CSV_XS
-misc/p5-Locale-SubCountry
-devel/p5-IO-stringy
-textproc/p5-XML-Parser
-mail/p5-MIME-Tools
diff --git a/install/openbsd/INSTALL b/install/openbsd/INSTALL
deleted file mode 100644 (file)
index 1beef92..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-DIR=`pwd`
-
-#cd /usr/ports
-#cvs -q -d anoncvs@anoncvs6.usa.openbsd.org:/cvs up -r OPENBSD_`uname -r | perl -pe 's/\./_/g;'` -Pd
-
-for a in `grep -v '^ *#' $DIR/ports`
-do cd /usr/ports/$a
-  make install
-done
-
-for a in `grep -v '^ *#' $DIR/cpan`
-do perl -MCPAN -e "install $a"
-done
-
-#from /usr/local/share/doc/postgresql/README.OpenBSD
-useradd -c "PostgreSQL Admin User" -g =uid -m -d /var/postgresql -s /bin/sh postgresql
-
-su -l postgresql -c 'mkdir /var/postgresql/data'
-su -l postgresql -c 'initdb -D /var/postgresql/data'
-
-cat <<END >>/etc/rc.local
-if [ -x /usr/local/bin/pg_ctl ]; then
-        su -l postgresql -c "/usr/local/bin/pg_ctl start \
-                -D /var/postgresql/data -l /var/postgresql/logfile \
-                -o '-D /var/postgresql/data'"
-        echo -n ' postgresql'
-fi
-END
-
-cat <<END >>/etc/rc.shutdown
-if [ -f /var/postgresql/data/postmaster.pid ]; then
-        su -l postgresql -c "/usr/local/bin/pg_ctl stop -m fast \
-                -D /var/postgresql/data"
-        rm -f /var/postgresql/data/postmaster.pid
-fi
-
-su -l postgresql -c "/usr/local/bin/pg_ctl start \
-        -D /var/postgresql/data -l /var/postgresql/logfile \
-        -o '-D /var/postgresql/data'"
-
-useradd -c "Freeside" -g =uid -m freeside
-su -l postgresql -c 'createuser -P freeside'
-su -l freeside -c 'createdb freeside'
-
-#?
-cd ../..
-make install-perl-modules
-make create-config
-make deploy
-
-#edit apache config, etc.
-
diff --git a/install/openbsd/cpan b/install/openbsd/cpan
deleted file mode 100644 (file)
index 4304b72..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-DBIx::DBSchema
-Time::Duration
-Business::CreditCard
-String::ShellQuote
-Net::SSH
-HTML::Mason
-HTML::Widgets::SelectLayers
-DBIx::DataSource
-Date::Manip
-String::Approx
-Tie::IxHash
-Date::Parse
-File::CounterFile
-Net::SCP
-Mail::Internet
diff --git a/install/openbsd/ports b/install/openbsd/ports
deleted file mode 100644 (file)
index 3e17d82..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-shells/zsh
-misc/screen
-#www/apache13-modssl
-www/mod_perl
-net/rsync
-databases/postgresql
-converters/p5-MIME-Base64
-security/p5-Digest-MD5
-security/p5-MD5
-www/p5-HTML-Tagset
-www/p5-HTML-Parser
-net/p5-libnet
-misc/p5-Locale-Codes
-net/p5-Net-Whois
-www/p5-libwww
-#mail/p5-Mail-Tools
-devel/p5-FreezeThaw
-textproc/p5-Text-Template
-databases/p5-DBI
-databases/p5-DBD-Pg
-#databases/p5-DBD-Msql-Mysql
-www/p5-Apache-ASP
-devel/p5-Storable
-www/p5-Apache-DBI
diff --git a/install/redhat/7.3/INSTALL b/install/redhat/7.3/INSTALL
deleted file mode 100644 (file)
index d2f60cb..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-wget --passive-ftp ftp://apt-rpm.tuxfamily.org/apt/redhat/7.3/en/i386/RPMS.extra/apt-*i386.rpm
-rpm -i apt*i386.rpm
-cp sources.list /etc/apt/
-apt-get update; apt-get update
-apt-get install apache mod_ssl mod_perl perl-CGI perl-CPAN perl-DBD-MySQL perl-DBD-Pg perl-DBI perl-DateManip perl-Digest-MD5 perl-HTML-Parser perl-HTML-Tagset perl-MIME-Base64 perl-Storable perl-TimeDate perl-URI perl-libnet perl-libwww-perl perl-suidperl rsync postgresql postgresql-docs postgresql-libs postgresql-server screen zsh lftp cvs #openssh
-
-wget --passive-ftp --continue http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/atrpms-51-1.rh7.3.at.noarch.rpm http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/atrpms-package-config-51-1.rh7.3.at.noarch.rpm http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/gd-2.0.15-1_6.rh7.3.at.i386.rpm http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/gd-devel-2.0.15-1_6.rh7.3.at.i386.rpm http://download.atrpms.net/production/packages/redhat-7.3-i386/atrpms/perl-GD-2.11-7.rh7.3.at.i386.rpm
-
-#rpm -i atrpms-package-config-51-1.rh7.3.at.noarch.rpm
-rpm -i atrpms-51-1.rh7.3.at.noarch.rpm
-rpm -i gd-2.0.15-1_6.rh7.3.at.i386.rpm 
-rpm -i perl-GD-2.11-7.rh7.3.at.i386.rpm 
-
-perl -MCPAN -e"install Locale::Country, Net::Whois, Business::CreditCard, \
-                       Mail::Internet, File::CounterFile, FreezeThaw, \
-                       String::Approx, Text::Template, DBIx::DataSource, \
-                       DBIx::DBSchema, Net::SSH, String::ShellQuote, \
-                       Net::SCP, Apache::ASP, Tie::IxHash, Time::Duration, \
-                       HTML::Widgets::SelectLayers, Apache::DBI, Cache::Cache"
-
-useradd freeside
-
-chkconfig postgresql on
-/etc/init.d/postgresql start
-
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/redhat/7.3/sources.list b/install/redhat/7.3/sources.list
deleted file mode 100644 (file)
index 9a9ad5c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-rpm ftp://apt-rpm.tuxfamily.org/apt redhat/7.3/en/i386 os updates extra
-rpm-src ftp://apt-rpm.tuxfamily.org/apt redhat/7.3/en/i386 os updates extra
diff --git a/install/redhat/8/INSTALL b/install/redhat/8/INSTALL
deleted file mode 100755 (executable)
index e6107d9..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-rpm -Fvh http://redhat.usu.edu/mirrors/apt4rpm/apt-0.5.4cnc8-fr1.i386.rpm
-
-cp sources.list /etc/apt/
-apt-get update; apt-get update
-#apt-get install apache mod_ssl mod_perl perl-CGI perl-CPAN perl-DBD-MySQL perl-DBD-Pg perl-DBI perl-DateManip perl-Digest-MD5 perl-HTML-Parser perl-HTML-Tagset perl-MIME-Base64 perl-Storable perl-TimeDate perl-URI perl-libnet perl-libwww-perl perl-suidperl rsync postgresql postgresql-docs postgresql-libs postgresql-server screen zsh lftp cvs #openssh
-
-#ftp://ftp.pbone.net/mirror/www.aucs.org/rpmcenter/packages/apache13-php43-mods-rh8
-
-apt-get install perl-CGI perl-CPAN perl-DBD-MySQL perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-suidperl rsync krb5-libs postgresql-server postgresql postgresql-docs postgresql-libs postgresql-devel screen zsh lftp cvs gcc tetex-fonts tetex-latex tetex tetex-dvips ghostscript ghostscript-fonts libpng-devel freetype-devel libjpeg-devel #gd openssh
-
-#lftpget http://download.atrpms.net/testing/packages/redhat-8.0-i386/atrpms/gd-2.0.28-0_9.rh8.0.at.i386.rpm 
-lftpget http://download.atrpms.net/testing/packages/redhat-8.0-i386/atrpms/libgd2-2.0.28-0_9.rh8.0.at.i386.rpm http://download.atrpms.net/testing/packages/redhat-8.0-i386/atrpms/gd-devel-2.0.28-0_9.rh8.0.at.i386.rpm
-
-rpm -i libgd2-2.0.28-0_9.rh8.0.at.i386.rpm gd-devel-2.0.28-0_9.rh8.0.at.i386.rpm
-
-perl -MCPAN -e"install Locale::Country, Net::Whois, Business::CreditCard,
-                       Mail::Internet, File::CounterFile, FreezeThaw,
-                       String::Approx, Text::Template, DBIx::DataSource,
-                       DBIx::DBSchema, Net::SSH, String::ShellQuote,
-                       Net::SCP, Apache::ASP, Tie::IxHash, Time::Duration,
-                       HTML::Widgets::SelectLayers, Apache::DBI, Cache::Cache,
-                       Test::Pod, NetAddr::IP, IPC::ShareLite,
-                       Chart::LinesPoints, DBI, DBD::Pg, HTML::Mason,
-                       Net::Whois::Raw, Crypt::PasswdMD5, File::Temp, Storable"
-
-#apachetoolbox i guess
-
-/usr/sbin/useradd freeside
-
-/sbin/chkconfig postgresql on
-/etc/init.d/postgresql start
-
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/redhat/8/README.insecure b/install/redhat/8/README.insecure
deleted file mode 100644 (file)
index 14f1bd0..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-Red Hat has ceased support for all pre-enterprise releases.
-
-Fedora Legacy (http://www.fedoralegacy.org) is only supporting 7.3 and 9.
-
-Red Hat 8.0 is NOT RECOMMENDED.  Please consider using a supported
-distribution, such as 7.3, 9, or Fedora core.
diff --git a/install/redhat/8/sources.list b/install/redhat/8/sources.list
deleted file mode 100644 (file)
index 40a05ca..0000000
+++ /dev/null
@@ -1 +0,0 @@
-rpm http://download.fedoralegacy.org/apt redhat/8.0/i386 os updates legacy-utils
diff --git a/install/redhat/9/INSTALL b/install/redhat/9/INSTALL
deleted file mode 100644 (file)
index ad69d9b..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-
-wget --passive-ftp --continue http://download.fedora.us/fedora/redhat/9/i386/RPMS.stable/apt-0.5.5cnc6-0.fdr.8.rh90.i386.rpm
-rpm -i apt*i386.rpm
-#cp sources.list /etc/apt/
-apt-get update
-
-apt-get install krb5-devel perl-CGI perl-CPAN perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-suidperl rsync postgresql postgresql-docs postgresql-libs postgresql-server screen zsh lftp cvs gcc # perl-DBD-MySQL # perl-suidperl gd openssh
-
-wget --passive-ftp --continue http://dl.atrpms.net/production/packages/redhat-9-i386/atrpms/perl-GD-2.16-10.rh9.at.i386.rpm http://dl.atrpms.net/production/packages/common/atrpms/atrpms-61-1.at.noarch.rpm http://dl.atrpms.net/testing/packages/redhat-9-i386/atrpms/gd-2.0.28-1_10.rh9.at.i386.rpm http://dl.atrpms.net/testing/packages/redhat-9-i386/atrpms/libgd2-2.0.28-1_10.rh9.at.i386.rpm
-
-#cp /etc/apt/apt.conf /etc/apt/apt.conf.real
-
-rpm -i atrpms*.rpm libgd2*i386.rpm gd-2*i386.rpm perl-GD*i386.rpm 
-
-#mv /etc/apt/apt.conf.real /etc/apt/apt.conf
-
-apt-get install perl-MIME-tools
-
-perl -MCPAN -e"install Locale::Country, Business::CreditCard, \
-                       Mail::Internet, File::CounterFile, FreezeThaw, \
-                       String::Approx, Text::Template, DBIx::DataSource, \
-                       DBIx::DBSchema, Net::SSH, String::ShellQuote, \
-                       Net::SCP, HTML::Mason, Tie::IxHash, Time::Duration, \
-                       HTML::Widgets::SelectLayers, Apache::DBI, \
-                       Cache::Cache, Test::Pod, NetAddr::IP, IPC::ShareLite, \
-                       Chart::LinesPoints, Net::Whois::Raw, \
-                       Locale::SubCountry, Crypt::PasswdMD5, DBI, DBD::Pg, \
-                       JavaScript::RPC::Server::CGI, Text::CSV_XS, \
-                       Spreadsheet::WriteExcel, Frontier::RPC2, \
-                       File::Temp, Storable"
-
-apt-get remove httpd mod_perl mod_ssl
-#apachetoolbox
-lftpget http://easynews.dl.sourceforge.net/sourceforge/apachetoolbox/Apachetoolbox-install-1.5.72.tar.gz
-tar xzvf Apachetoolbox-install-1.5.72.tar.gz
-(cd Apachetoolbox-1.5.72; sh install.sh)
-# 4
-# 16
-# go
-# export INCLUDES="-I/usr/kerberos/include"
-cd apache_1.3.31;make
-#make certificate TYPE=dummy
-make install
-
-
-#apache config
-#apache init script 
-
-/usr/sbin/useradd freeside
-
-/sbin/chkconfig postgresql on
-/etc/init.d/postgresql start
-
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/redhat/9/sources.list b/install/redhat/9/sources.list
deleted file mode 100644 (file)
index 6dcb3b4..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#rpm http://download.fedoralegacy.org/apt redhat/9/i386 os updates legacy-util
-rpm http://download.fedoralegacy.org/apt redhat/9/i386 os updates
diff --git a/install/redhat/es3/INSTALL b/install/redhat/es3/INSTALL
deleted file mode 100644 (file)
index 67e47ec..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-#up2date cvs perl perl-DBD-MySQL perl-DBI perl-DateManip perl-HTML-Parser \
-up2date cvs perl perl-DateManip perl-HTML-Parser \
-        perl-HTML-Tagset perl-URI perl-libwww-perl perl-CPAN \
-        rsync screen zsh lftp cvs autoconf \
-        gcc gd tetex tetex-afm tetex-dvips tetex-font tetex-latex
-
-up2date --src rh-postgresql rh-postgresql-docs rh-postgresql-libs \
-        rh-postgresql-server rh-postgresql-devel
-
-##slony bits...
-#up2date rpm-build bison flex python-devel tcl-devel readline-devel zlib-devel openssl-devel krb5-devel pam-devel
-#mkdir /usr/src/redhat
-#rpm -i /var/spool/up2date/rh-postgresql-*.src.rpm
-#rpmbuild -bb /usr/src/redhat/SPECS/rh-postgresql.spec
-#apt-get remove rh-postgresql rh-postgresql-docs rh-postgresql-libs rh-postgresql-server rh-postgresql-devel
-#rpm -i /usr/src/redhat/RPMS/i386/rh-postgresql-7.3.8-2.i386.rpm /usr/src/redhat/RPMS/i386/rh-postgresql-devel-7.3.8-2.i386.rpm /usr/src/redhat/RPMS/i386/rh-postgresql-docs-7.3.8-2.i386.rpm /usr/src/redhat/RPMS/i386/rh-postgresql-libs-7.3.8-2.i386.rpm /usr/src/redhat/RPMS/i386/rh-postgresql-server-7.3.8-2.i386.rpm
-#
-#lftpget http://developer.postgresql.org/~wieck/slony1/download/slony1-1.0.5.tar.gz
-#tar xzvf slony1-1.0.5.tar.gz
-#cd slony1-1.0.5
-#./configure --with-pgsourcetree=/usr/src/redhat/BUILD/postgresql-7.3.8/
-#make
-#make install
-##edit /var/lib/pgsql/data/postgresql.conf: tcpip_socket = true
-##edit /var/lib/pgsql/data/pg_hba.conf (entries for both hosts on both):
-#host   freeside freeside        IP.ADDRESS   255.255.255.255 trust
-##end of slony bits
-
-perl -MCPAN -e"install Net::Whois::Raw, Business::CreditCard, \
-                       File::CounterFile, String::Approx, Text::Template, \
-                       FreezeThaw, DBIx::DBSchema, \
-                       Net::SSH, String::ShellQuote, Net::SCP, \
-                       HTML::Mason, Tie::IxHash, Time::Duration, \
-                       HTML::Widgets::SelectLayers, Apache::DBI, \
-                       Cache::Cache, IPC::ShareLite, Locale::SubCountry, \
-                       Crypt::PasswdMD5, \
-                       Locale::SubCountry, DBI, DBD::Pg, \
-                       File::Temp, Storable, JavaScript::RPC::Server::CGI"
-
-lftpget http://dag.wieers.com/packages/apt/apt-0.5.15cnc6-3.1.el3.dag.i386.rpm
-rpm -i apt-0.5.15cnc6-3.1.el3.dag.i386.rpm 
-apt-get update
-apt-get install perl-GD perl-MailTools perl-TimeDate perl-NetAddr-IP
-
-perl -MCPAN -e"install Chart::Base"
-
-#apachetoolbox
-apt-get remove httpd
-up2date krb5-devel openssl-devel
-lftpget http://umn.dl.sourceforge.net/sourceforge/apachetoolbox/Apachetoolbox-install-1.5.72.tar.gz
-tar xzvf Apachetoolbox-install-1.5.72.tar.gz
-cd Apachetoolbox-1.5.72
-./install.sh
-# export INCLUDES="-I/usr/kerberos/include"
-cd apache_1.3.31;make
-make certificate TYPE=dummy
-make install
-ln -s /usr/local/apache/bin/htpasswd /usr/local/bin
-cp httpd-init /etc/init.d/httpd-freeside
-chmod a+rx /etc/init.d/httpd-freeside 
-/sbin/chkconfig httpd-freeside on
-#end apachetoolbox
-
-/usr/sbin/useradd freeside
-
-/sbin/chkconfig rhdb on
-/etc/init.d/rhdb start
-
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-LANG=C su freeside -c 'freeside-setup ivan'
-## do slony foo in here
-##master
-#su freeside -c 'pg_dump freeside' >dumps/setup.sql
-#scp dumps/setup.sql othermachine:.
-##slave
-#su freeside -c 'psql freeside <setup.sql'
-##end slony foo
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
diff --git a/install/redhat/es3/httpd-init b/install/redhat/es3/httpd-init
deleted file mode 100644 (file)
index dca95cf..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-#
-# Startup script for the Apache Web Server
-#
-# chkconfig: - 85 15
-# description: Apache is a World Wide Web server.  It is used to serve \
-#              HTML files and CGI.
-# processname: httpd
-# Source function library.
-
-# Path to the apachectl script, server binary, and short-form for messages.
-apachectl=/usr/local/apache/bin/apachectl
-prog=httpd
-RETVAL=0
-
-start() {
-        echo -n $"Starting $prog: "
-        $apachectl startssl
-        RETVAL=$?
-}
-stop() {
-        echo -n $"Stopping $prog: "
-        $apachectl stop
-        RETVAL=$?
-}
-
-# See how we were called.
-case "$1" in
-  start)
-        start
-        ;;
-  stop)
-        stop
-        ;;
-  restart)
-        stop
-        sleep 3
-        start
-        ;;
-  graceful|help|configtest)
-        $apachectl $@
-        RETVAL=$?
-        ;;
-  *)
-        echo $"Usage: $prog {start|stop|restart|graceful|help|configtest}"
-        exit 1
-esac
-
-exit $RETVAL
-
diff --git a/install/suse/9.0/INSTALL b/install/suse/9.0/INSTALL
deleted file mode 100644 (file)
index 4e44147..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-
-# based on install/redhat/9/INSTALL
-
-# apt for SuSE howto: http://linux01.gwdg.de/apt4rpm/
-
-for file in ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos/apt-0.5.5cnc6-rb6.i586.rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos/apt-libs-0.5.5cnc6-rb6.i586.rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos/lua-5.0-rb3.i586.rpm; do
-  curl -C - -o `basename $file` $file
-done
-
-rpm -i lua-5.0-rb3.i586.rpm
-rpm -i apt-libs-0.5.5cnc6-rb6.i586.rpm
-rpm -i apt-0.5.5cnc6-rb6.i586.rpm
-
-perl -pi.bak -e 's/386 update/386 base update/' /etc/apt/sources.list
-
-apt-get update; apt-get update
-
-apt-get install apache mod_ssl mod_perl perl-DBI perl-Msql-Mysql-modules perl-DBD-Pg perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-Apache-DBI perl-Apache-ASP perl-GD perl-MailTools perl-Tie-IxHash rsync postgresql postgresql-docs postgresql-libs postgresql-server postgresql-devel screen zsh lftp wget cvs make gcc
-
-perl -MCPAN -e"install DBD::Pg, Net::Whois, Business::CreditCard, \
-                       File::CounterFile, FreezeThaw, String::Approx, \
-                       Text::Template, DBIx::DataSource, DBIx::DBSchema, \
-                       Net::SSH, String::ShellQuote, Net::SCP, \
-                       Time::Duration, HTML::Widgets::SelectLayers, \
-                       Cache::Cache, Test::Pod, NetAddr::IP, IPC::ShareLite, \
-                       Chart::LinesPoints"
-
-/usr/sbin/useradd freeside
-
-/sbin/chkconfig postgresql on
-/etc/init.d/postgresql start
-
-/sbin/chkconfig apache on
-#/etc/init.d/apache start
-
-su postgres -c "createuser -P freeside"
-
-su freeside -c "createdb freeside"
-
-#?
-cd ../../..
-make install-perl-modules
-make create-config
-freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
-su freeside -c 'freeside-setup ivan'
-su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
-make deploy
-
-
-
-
diff --git a/rt/COPYING b/rt/COPYING
deleted file mode 100755 (executable)
index e77696a..0000000
+++ /dev/null
@@ -1,339 +0,0 @@
-                   GNU GENERAL PUBLIC LICENSE
-                      Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                          675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                           Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-\f
-                   GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-\f
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-\f
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-\f
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-                           NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-                    END OF TERMS AND CONDITIONS
-\f
-           How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) 19yy  <name of author>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-    Gnomovision version 69, Copyright (C) 19yy name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  <signature of Ty Coon>, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Library General
-Public License instead of this License.
diff --git a/rt/Changelog b/rt/Changelog
deleted file mode 100644 (file)
index 2da390e..0000000
+++ /dev/null
@@ -1,12427 +0,0 @@
-------------------------------------------------------------------------
-r3729 | jesse | 2005-08-28 15:45:06 -0400 (Sun, 28 Aug 2005) | 1 line
-Changed paths:
-   A /rt/tags/3.4.4 (from /rt/branches/3.4-RELEASE:3728)
-
-Tagged as 3.4.4 by svn RelEng 1.0
-------------------------------------------------------------------------
-r3728 | jesse | 2005-08-28 15:44:18 -0400 (Sun, 28 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r13812@hualien:  jesse | 2005-08-28 15:43:29 -0400
- * bumping to 3.4.4
-
-------------------------------------------------------------------------
-r3727 | jesse | 2005-08-27 21:26:24 -0400 (Sat, 27 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-
- r13804@hualien:  jesse | 2005-08-27 21:25:50 -0400
- * Updated French translation from jfenal
-
-------------------------------------------------------------------------
-r3725 | jesse | 2005-08-25 16:05:12 -0400 (Thu, 25 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r13763@hualien:  jesse | 2005-08-25 16:04:29 -0400
- * 3.4.4rc3
-
-------------------------------------------------------------------------
-r3724 | jesse | 2005-08-25 15:54:00 -0400 (Thu, 25 Aug 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r13760@hualien:  jesse | 2005-08-25 15:51:57 -0400
- RT-Ticket: 6855
- RT-Status: resolved
- RT-Update: correspond
- * Applied a patch from Andreas Jakum to improve RT::Ticket->Import's handling
-   of watchers
-
-------------------------------------------------------------------------
-r3723 | jesse | 2005-08-25 15:53:40 -0400 (Thu, 25 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
-
- r13759@hualien:  jesse | 2005-08-25 15:31:56 -0400
- * Fixes to IsRTAddress processing. Spotted by Travis Campbell.
-
-------------------------------------------------------------------------
-r3722 | jesse | 2005-08-25 15:25:28 -0400 (Thu, 25 Aug 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Footer
-   M /rt/branches/3.4-RELEASE/sbin/extract-message-catalog
-
- r13757@hualien:  jesse | 2005-08-25 15:23:18 -0400
- RT-Ticket: 6934
- RT-Status: resolved
- RT-Update: correspond
- * A couple of patches to improve how localization extraction works from jfenal
-
-------------------------------------------------------------------------
-r3721 | jesse | 2005-08-25 15:01:03 -0400 (Thu, 25 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Users_Overlay.pm
-
- r13754@hualien:  jesse | 2005-08-25 14:55:32 -0400
- * EquivObjects support for acl queries, from Todd Chapman
-
-------------------------------------------------------------------------
-r3720 | jesse | 2005-08-25 15:00:44 -0400 (Thu, 25 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r13753@hualien:  jesse | 2005-08-25 14:53:06 -0400
- * Removing warnings about mod_perl2
-
-------------------------------------------------------------------------
-r3719 | jesse | 2005-08-24 02:00:52 -0400 (Wed, 24 Aug 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/rt.in
-
- r13743@hualien:  jesse | 2005-08-24 02:00:08 -0400
- RT-Ticket: 6957
- RT-Status: resolved
- RT-Update: correspond
- * Applied a patch from ams to restore his byline to bin/rt
-
-------------------------------------------------------------------------
-r3714 | jesse | 2005-08-23 23:39:37 -0400 (Tue, 23 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r13733@hualien:  jesse | 2005-08-23 23:38:39 -0400
- * bumped to pre2
-
-------------------------------------------------------------------------
-r3713 | jesse | 2005-08-23 23:39:17 -0400 (Tue, 23 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Callback
-
- r13732@hualien:  jesse | 2005-08-23 23:38:28 -0400
- * Applied tom's callbacks fix
-
-------------------------------------------------------------------------
-r3711 | jesse | 2005-08-23 22:37:51 -0400 (Tue, 23 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r13728@hualien:  jesse | 2005-08-23 22:37:12 -0400
- * Bumped to 3.4.4pre1
-
-------------------------------------------------------------------------
-r3710 | jesse | 2005-08-23 22:33:47 -0400 (Tue, 23 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-   M /rt/branches/3.4-RELEASE/bin/webmux.pl.in
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm
-
- r13725@hualien:  jesse | 2005-08-23 22:10:42 -0400
- * Added support for mod_perl 2.0 
-
-------------------------------------------------------------------------
-r3709 | jesse | 2005-08-23 17:58:20 -0400 (Tue, 23 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-
- r13720@hualien:  jesse | 2005-08-23 17:54:29 -0400
- * Bugfixes to the German translation file
-
-------------------------------------------------------------------------
-r3708 | glasser | 2005-08-22 16:05:46 -0400 (Mon, 22 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r40177@tin-foil:  glasser | 2005-08-18 18:49:13 -0400
- Updates to the standalone server to not dupe as much code, but may be rolled back if HSSM needs to be.
-
-------------------------------------------------------------------------
-r3707 | glasser | 2005-08-22 16:04:25 -0400 (Mon, 22 Aug 2005) | 10 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r38371@tin-foil:  glasser | 2005-08-02 15:05:25 -0400
- RT-Ticket: 6899
- RT-Status: resolved
- RT-Update: correspond
- When limiting based on a whole date, make sure you're not being pushed to 
- another if you happen to be east of GMT.
- Patch by Ruslan Zakirov, problem found by Olivier Horec.
-
-------------------------------------------------------------------------
-r3706 | glasser | 2005-08-22 15:55:57 -0400 (Mon, 22 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r36571@tin-foil:  glasser | 2005-07-08 16:53:26 -0400
- Fix from Tom Yu; if the Handle will give us a server-side function to lowercase
- values, use that.
-
-------------------------------------------------------------------------
-r3700 | trs | 2005-08-18 22:39:02 -0400 (Thu, 18 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm
-
- r6002@wintermute:  tom | 2005-08-18 22:37:53 -0400
- Fixed typo
-
-------------------------------------------------------------------------
-r3668 | jesse | 2005-08-17 22:04:31 -0400 (Wed, 17 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r13155@hualien:  jesse | 2005-08-17 19:15:11 -0400
- * Note dependency on a current HSSM
-
-------------------------------------------------------------------------
-r3667 | jesse | 2005-08-17 22:04:12 -0400 (Wed, 17 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
-
- r13154@hualien:  jesse | 2005-08-17 19:14:26 -0400
- * Fixes to standalone webserver for mason 1.30
-
-------------------------------------------------------------------------
-r3666 | alexmv | 2005-08-17 13:41:38 -0400 (Wed, 17 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Quicksearch
-
- r5920@zoq-fot-pik:  chmrr | 2005-08-17 13:44:59 -0400
-  * My memory was faulty; HTML escaping is not needed
-
-------------------------------------------------------------------------
-r3663 | alexmv | 2005-08-17 13:29:32 -0400 (Wed, 17 Aug 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3662 | alexmv | 2005-08-17 13:29:25 -0400 (Wed, 17 Aug 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Quicksearch
-
- r5914@zoq-fot-pik:  chmrr | 2005-08-17 13:32:00 -0400
-  * We love escaping!  We need to escape quotes and slashes in
- TicketSQL, then URI escape, then HTML escape.  And the query comes
- from the TicketSQL-escaped one, not the URI and HTML-escaped one.  Oh,
- yeah, and don't forget to turn off the automatic HTML escaping that
- Mason does, or it'll be TicketSQL-HTML-URI-HTML escaped, which is
- Right Out.
-
-------------------------------------------------------------------------
-r3640 | jesse | 2005-08-11 13:46:50 -0400 (Thu, 11 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-
- r12938@hualien:  jesse | 2005-08-11 13:46:14 -0400
- * French localization had lost its header
-
-------------------------------------------------------------------------
-r3627 | jesse | 2005-08-10 15:25:55 -0400 (Wed, 10 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r7634@hualien:  jesse | 2005-08-10 15:25:31 -0400
- * This is 3.4.3
-
-------------------------------------------------------------------------
-r3610 | jesse | 2005-08-05 19:18:01 -0400 (Fri, 05 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/22search_tix_by_txn.t
-
- r7399@hualien:  jesse | 2005-08-05 19:16:58 -0400
- * Cleaned up searching by ticket or txn date.
-
-------------------------------------------------------------------------
-r3589 | kevinr | 2005-08-03 01:51:55 -0400 (Wed, 03 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
- r6872@SAD-GIRL-IN-SNOW:  kevinr | 2005-08-03 01:51:33 -0400
- * More minor perldoc cleanup
-
-------------------------------------------------------------------------
-r3588 | kevinr | 2005-08-03 01:20:35 -0400 (Wed, 03 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Groups_Overlay.pm
-
- r6868@SAD-GIRL-IN-SNOW:  kevinr | 2005-08-03 01:19:47 -0400
- * Fixed an outdated bit of POD
-
-------------------------------------------------------------------------
-r3585 | kevinr | 2005-08-02 20:18:54 -0400 (Tue, 02 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Base.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CachedGroupMember_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Handle.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Template_Overlay.pm
-
- r6849@SAD-GIRL-IN-SNOW:  kevinr | 2005-08-02 20:17:38 -0400
- * POD formatting fixes
-
-------------------------------------------------------------------------
-r3582 | glasser | 2005-08-02 15:10:05 -0400 (Tue, 02 Aug 2005) | 10 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r38371@tin-foil:  glasser | 2005-08-02 15:05:25 -0400
- RT-Ticket: 6899
- RT-Status: resolved
- RT-Update: correspond
- When limiting based on a whole date, make sure you're not being pushed to 
- another if you happen to be east of GMT.
- Patch by Ruslan Zakirov, problem found by Olivier Horec.
-
-------------------------------------------------------------------------
-r3581 | glasser | 2005-08-02 15:08:03 -0400 (Tue, 02 Aug 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r36571@tin-foil:  glasser | 2005-07-08 16:53:26 -0400
- Fix from Tom Yu; if the Handle will give us a server-side function to lowercase
- values, use that.
-
-------------------------------------------------------------------------
-r3579 | kevinr | 2005-08-02 14:22:27 -0400 (Tue, 02 Aug 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-
- r6837@SAD-GIRL-IN-SNOW:  kevinr | 2005-08-02 14:20:51 -0400
- RT-Ticket: 6897
- RT-Status: resolved
- RT-Update: correspond
- * Incorporated the updated Italian translation from Angelo Turetta
-
-------------------------------------------------------------------------
-r3576 | robert | 2005-08-02 00:23:36 -0400 (Tue, 02 Aug 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Menu
-
- r3582@woof:  rspier | 2005-08-01 21:20:12 -0700
- allow arbitrary https?: urls in the menus
-
-------------------------------------------------------------------------
-r3564 | jesse | 2005-07-30 11:11:02 -0400 (Sat, 30 Jul 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3563 | jesse | 2005-07-30 11:10:42 -0400 (Sat, 30 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r7153@hualien:  jesse | 2005-07-30 11:07:37 -0400
- 3.4.3rc2
-
-------------------------------------------------------------------------
-r3562 | jesse | 2005-07-30 11:10:02 -0400 (Sat, 30 Jul 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/id.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po
-
- r7152@hualien:  jesse | 2005-07-30 11:06:46 -0400
- * German and Danish translation header fixes. 
- besides that just a message catalog regenration
-
-------------------------------------------------------------------------
-r3546 | kevinr | 2005-07-28 14:51:34 -0400 (Thu, 28 Jul 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/SelfService/Display.html
-
- r6713@SAD-GIRL-IN-SNOW:  kevinr | 2005-07-28 14:50:47 -0400
- RT-Ticket: 6892
- RT-Status: resolved
- RT-Update: correspond
- * Applied patch from Hsin-Chan Chien to fix a bug with attachment uploading
- in SelfService mode.
-
-------------------------------------------------------------------------
-r3501 | alexmv | 2005-07-18 15:00:38 -0400 (Mon, 18 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r5198@zoq-fot-pik:  chmrr | 2005-07-18 14:59:07 -0400
-  * Fix TransactionBatch / DESTROY bug (backport from QUEBEC)
-
-------------------------------------------------------------------------
-r3498 | jesse | 2005-07-18 13:46:24 -0400 (Mon, 18 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r4894@hualien:  jesse | 2005-07-18 13:44:44 -0400
- * releng.cnf bump to rc1
-
-------------------------------------------------------------------------
-r3476 | kevinr | 2005-07-14 18:22:40 -0400 (Thu, 14 Jul 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Principal_Overlay.pm
-
- r6308@SAD-GIRL-IN-SNOW:  kevinr | 2005-07-14 18:22:19 -0400
- * Applied Ruslan Zakirov's patch to fix the way ACE Object{,Type,Id} handles
- arguments
-
-------------------------------------------------------------------------
-r3466 | kevinr | 2005-07-12 18:35:15 -0400 (Tue, 12 Jul 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/lib/t/regression/07rights.t
-
- r6229@sad-girl-in-snow:  kevinr | 2005-07-12 18:34:56 -0400
- RT-Ticket: 6825
- RT-Status: resolved
- RT-Update: correspond
- Added Ruslan Zakirov's new queue-rights tests.
-
-------------------------------------------------------------------------
-r3465 | kevinr | 2005-07-12 18:12:03 -0400 (Tue, 12 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT.pm.in
-
- r6225@sad-girl-in-snow:  kevinr | 2005-07-12 18:06:39 -0400
- * Applied Ruslan Zakirov's patch to clean up the ACE code and a trailing \n
-
-------------------------------------------------------------------------
-r3464 | alexmv | 2005-07-12 12:22:01 -0400 (Tue, 12 Jul 2005) | 13 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/PageLayout
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/Generic.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r4959@zoq-fot-pik:  chmrr | 2005-07-12 12:22:32 -0400
-  * Better threading support; Message-IDs of emails are based on the
-    transaction which spawned them.
-  * Support for ScripActionObj in Action::Generic (argument was being
-    passed in but never used)
-  * Standardize on case of 'Message-ID' per RFC
-  * Remove newline from Message-ID before inserting into DB
-  * Fixed minor HTML nit in PageLayout
-
-------------------------------------------------------------------------
-r3416 | kevinr | 2005-07-07 17:36:00 -0400 (Thu, 07 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r6064@sad-girl-in-snow:  kevinr | 2005-07-07 17:35:40 -0400
- * Updated the custom field perldoc to explain some non-intuitive behavior.
-
-------------------------------------------------------------------------
-r3414 | kevinr | 2005-07-07 16:19:34 -0400 (Thu, 07 Jul 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-
- r6055@sad-girl-in-snow:  kevinr | 2005-07-07 16:19:18 -0400
- * Noted the deprecation of the *Ticket methods in the perldoc
- * Corrected some copied-and-pasted-but-not-fully-updated error messages
-
-------------------------------------------------------------------------
-r3405 | kevinr | 2005-07-06 16:08:17 -0400 (Wed, 06 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
- r6033@sad-girl-in-snow:  kevinr | 2005-07-06 16:07:34 -0400
- * Improving consistency of perldoc presentation
-
-------------------------------------------------------------------------
-r3404 | kevinr | 2005-07-06 14:53:19 -0400 (Wed, 06 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Template_Overlay.pm
-
- r6009@sad-girl-in-snow:  kevinr | 2005-07-06 14:39:22 -0400
- * Documented the behavior which was tripping me up.
-
-------------------------------------------------------------------------
-r3399 | alexmv | 2005-07-06 11:07:45 -0400 (Wed, 06 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowHistory
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransaction
-
- r4801@zoq-fot-pik:  chmrr | 2005-07-06 11:03:17 -0400
-  * Fix '#' links after ticket update
-
-------------------------------------------------------------------------
-r3394 | glasser | 2005-07-05 21:53:14 -0400 (Tue, 05 Jul 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r36303@tin-foil:  glasser | 2005-07-05 19:55:16 -0300
- RT-Ticket: 6757
- RT-Status: resolved
- RT-Update: correspond
- Transaction custom fields weren't always being set in Updates, because
- Transaction->UpdateCustomFields was being confused by the -Magic values.
- (I should write a test for this, too.)
-
-------------------------------------------------------------------------
-r3393 | glasser | 2005-07-05 21:52:54 -0400 (Tue, 05 Jul 2005) | 13 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r36299@tin-foil:  glasser | 2005-07-05 16:39:02 -0300
- RT-Ticket: 6774
- RT-Status: resolved
- RT-Update: correspond
- Actually set password when creating a new user, and clean up the error reporting
- from password setting.  (And if you don't manage to set a password (either by leaving
- it blank or by entering an invalid password) when creating a user, add a notice that
- the user won't be able to log in.)  Also, indentation cleanup.
- Patch by Ruslan Zakirov.
-
-------------------------------------------------------------------------
-r3392 | glasser | 2005-07-05 21:52:35 -0400 (Tue, 05 Jul 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r36292@tin-foil:  glasser | 2005-07-05 13:43:16 -0300
- RT-Ticket: 6811
- RT-Status: resolved
- RT-Update: correspond
- Update French localization for 3.4.2 (thanks to J?\195?\169r?\195?\180me Fenal)
-
-------------------------------------------------------------------------
-r3391 | kevinr | 2005-07-05 20:48:09 -0400 (Tue, 05 Jul 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/SelfService/Display.html
-
- r6005@SAD-GIRL-IN-SNOW:  kevinr | 2005-07-05 20:47:55 -0400
- RT-Ticket: 6505
- RT-Status: resolved
- RT-Update: correspond
- Fixed the bug Seph noted where the "Brief/Full Headers" links in SelfService
- were attempting to direct the user to /Ticket/Display.html instead of 
- /SelfService/Display.html
-
-------------------------------------------------------------------------
-r3390 | kevinr | 2005-07-05 19:11:14 -0400 (Tue, 05 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r5982@SAD-GIRL-IN-SNOW:  kevinr | 2005-07-05 19:06:09 -0400
- * Fixed a typo in the perldoc
-
-------------------------------------------------------------------------
-r3389 | glasser | 2005-07-05 16:05:39 -0400 (Tue, 05 Jul 2005) | 13 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
- r36299@tin-foil:  glasser | 2005-07-05 16:39:02 -0300
- RT-Ticket: 6774
- RT-Status: resolved
- RT-Update: correspond
- Actually set password when creating a new user, and clean up the error reporting
- from password setting.  (And if you don't manage to set a password (either by leaving
- it blank or by entering an invalid password) when creating a user, add a notice that
- the user won't be able to log in.)  Also, indentation cleanup.
- Patch by Ruslan Zakirov.
-
-------------------------------------------------------------------------
-r3388 | glasser | 2005-07-05 12:45:50 -0400 (Tue, 05 Jul 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-
- r36292@tin-foil:  glasser | 2005-07-05 13:43:16 -0300
- RT-Ticket: 6811
- RT-Status: resolved
- RT-Update: correspond
- Update French localization for 3.4.2 (thanks to J?\195?\169r?\195?\180me Fenal)
-
-------------------------------------------------------------------------
-r3379 | glasser | 2005-07-04 14:18:35 -0400 (Mon, 04 Jul 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Results.html
-
- r36245@tin-foil:  glasser | 2005-07-04 14:10:53 -0300
- RT-Ticket: 6747
- RT-Status: resolved
- RT-Update: Correspond
- Shorter links for RSS feed and offline 
-
-------------------------------------------------------------------------
-r3378 | robert | 2005-07-04 00:40:37 -0400 (Mon, 04 Jul 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/rt.in
-
- r3412@bear:  rspier | 2005-07-04T04:39:33.953112Z
- documentation error, use -m not -t
-
-------------------------------------------------------------------------
-r3295 | jesse | 2005-07-03 16:37:15 -0400 (Sun, 03 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r22106@hualien:  jesse | 2005-07-03 16:35:22 -0400
- * We don't actually need a newer Text::WikiFormat
-
-------------------------------------------------------------------------
-r3293 | jesse | 2005-07-03 16:14:29 -0400 (Sun, 03 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/rt-mailgate.in
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/06mailgateway.t
-
- r22091@hualien:  jesse | 2005-07-03 16:13:10 -0400
-  * Disabling a new feature that might be dangerous; test fixes; cf fixes
-
-------------------------------------------------------------------------
-r3292 | jesse | 2005-07-03 16:14:21 -0400 (Sun, 03 Jul 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
- r22039@hualien:  jesse | 2005-07-01 21:05:38 -0400
- * Refactoring of how RT::Record deals with custom fields for greater consistency
-
-------------------------------------------------------------------------
-r3272 | alexmv | 2005-07-01 00:32:15 -0400 (Fri, 01 Jul 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3271 | alexmv | 2005-07-01 00:32:10 -0400 (Fri, 01 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r4556@zoq-fot-pik:  chmrr | 2005-06-30 17:58:57 -0400
-  * Don't assume link is happy on creation
-
-------------------------------------------------------------------------
-r3270 | alexmv | 2005-07-01 00:32:06 -0400 (Fri, 01 Jul 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFieldWikitext
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r4555@zoq-fot-pik:  chmrr | 2005-06-30 17:36:05 -0400
-  * WikiText updates to auto-link http:// style links
-
-------------------------------------------------------------------------
-r3261 | kevinr | 2005-06-28 18:47:38 -0400 (Tue, 28 Jun 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Display.html
-
- r5752@sad-girl-in-snow:  kevinr | 2005-06-28 17:45:36 -0500
- RT-Ticket: 6745
- RT-Status: resolved
- RT-Update: correspond
- Applied Seph's patch to add a BeforeShowHistory callback.
-
-------------------------------------------------------------------------
-r3254 | jesse | 2005-06-27 11:39:18 -0400 (Mon, 27 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/PageLayout
-
- r21952@hualien:  jesse | 2005-06-27 11:38:54 -0400
- * Fixed a broken callback
-
-------------------------------------------------------------------------
-r3252 | jesse | 2005-06-24 13:55:24 -0400 (Fri, 24 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/id.po
-
- r21656@hualien:  jesse | 2005-06-24 13:53:26 -0400
-  * New Indonesian translation from James Briggs
-
-------------------------------------------------------------------------
-r3251 | jesse | 2005-06-24 13:55:11 -0400 (Fri, 24 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-
- r21522@hualien:  jesse | 2005-06-23 19:49:51 -0400
- * Some warning avoidance in Action/SendEmail.pm
-
-------------------------------------------------------------------------
-r3250 | jesse | 2005-06-24 13:54:56 -0400 (Fri, 24 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomField
-
- r21521@hualien:  jesse | 2005-06-23 19:49:30 -0400
- * Custom field edit widget bullet proofing
-
-------------------------------------------------------------------------
-r3249 | jesse | 2005-06-24 13:54:42 -0400 (Fri, 24 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/t/regression/07acl.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/09record_cf_api.t
-
- r21520@hualien:  jesse | 2005-06-23 19:49:06 -0400
- * Test suite improvements and cleanups
-
-------------------------------------------------------------------------
-r3248 | jesse | 2005-06-24 13:54:19 -0400 (Fri, 24 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r20757@hualien:  jesse | 2005-06-17 19:34:37 -0400
-  * Updated mailgateway documentation
-
-------------------------------------------------------------------------
-r3246 | alexmv | 2005-06-23 17:48:26 -0400 (Thu, 23 Jun 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r4485@zoq-fot-pik:  chmrr | 2005-06-23 17:50:48 -0400
- RT-Ticket: 6781
- RT-Update: correspond
- RT-Status: resolved
-  * _AddWatcher takes Email, not Person; thanks to Andreas Jakum <ajakum@inode.at>
-
-------------------------------------------------------------------------
-r3245 | alexmv | 2005-06-23 17:43:57 -0400 (Thu, 23 Jun 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/RT_SiteConfig.pm
-
- r4483@zoq-fot-pik:  chmrr | 2005-06-23 17:46:18 -0400
- RT-Ticket: 6782
- RT-Update: correspond
- RT-Status: resolved
-  * Fix perl invocation; thanks to Kim Toms <kim.toms@gmail.com>
-
-------------------------------------------------------------------------
-r3244 | alexmv | 2005-06-23 17:37:31 -0400 (Thu, 23 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Quicksearch
-
- r4481@zoq-fot-pik:  chmrr | 2005-06-23 17:39:53 -0400
-  * Actually fix the escaping bug
-
-------------------------------------------------------------------------
-r3243 | alexmv | 2005-06-23 16:58:14 -0400 (Thu, 23 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Quicksearch
-
- r4469@zoq-fot-pik:  chmrr | 2005-06-23 17:00:09 -0400
-  * Escape queue name properly
-
-------------------------------------------------------------------------
-r3242 | alexmv | 2005-06-23 16:58:02 -0400 (Thu, 23 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/MyRequests
-   M /rt/branches/3.4-RELEASE/html/Elements/MyTickets
-
- r4468@zoq-fot-pik:  chmrr | 2005-06-23 16:59:51 -0400
-  * Remove possible closure issue (my $foo = .... if $bar;)
-
-------------------------------------------------------------------------
-r3241 | alexmv | 2005-06-23 16:57:54 -0400 (Thu, 23 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
- r4467@zoq-fot-pik:  chmrr | 2005-06-23 16:58:52 -0400
-  * Doc that CanonicalizeEmailAddress may be called as static
-
-------------------------------------------------------------------------
-r3240 | alexmv | 2005-06-23 16:57:51 -0400 (Thu, 23 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT.pm.in
-
- r4466@zoq-fot-pik:  chmrr | 2005-06-23 16:58:19 -0400
-  * Document Set() a little better
-
-------------------------------------------------------------------------
-r3227 | jesse | 2005-06-18 23:47:04 -0400 (Sat, 18 Jun 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ListGlobalScrips
-
-* Fixed typo in kevin's fix (/l is a filter. it needs the |)
-
-------------------------------------------------------------------------
-r3226 | kevinr | 2005-06-18 22:37:51 -0400 (Sat, 18 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ListGlobalScrips
-
- r4496@sad-girl-in-snow:  kevinr | 2005-06-18 21:37:27 -0500
- * Fixes possible cross-site scripting bug.
-
-------------------------------------------------------------------------
-r3225 | kevinr | 2005-06-18 22:26:51 -0400 (Sat, 18 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3224 | kevinr | 2005-06-18 22:26:40 -0400 (Sat, 18 Jun 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ListGlobalScrips
-
- r4487@sad-girl-in-snow:  kevinr | 2005-06-18 21:23:04 -0500
- * Fixed a typo
- * now use $RT::WebAddress because it's a good idea
- * now localize 'Scrip' and number, instead of only the former
-
-------------------------------------------------------------------------
-r3223 | kevinr | 2005-06-18 03:41:38 -0400 (Sat, 18 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrips
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ListGlobalScrips
-
- r4484@sad-girl-in-snow:  kevinr | 2005-06-18 02:40:00 -0500
- * Cleaned up the list-of-scrips element and made it provide more useful info.
-
-------------------------------------------------------------------------
-r3222 | jesse | 2005-06-17 19:36:28 -0400 (Fri, 17 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/rt-mailgate.in
-
- r20757@hualien:  jesse | 2005-06-17 19:34:37 -0400
-  * Updated mailgateway documentation
-
-------------------------------------------------------------------------
-r3212 | jesse | 2005-06-16 12:40:01 -0400 (Thu, 16 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/en.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po
-
- r20717@hualien:  jesse | 2005-06-16 12:24:50 -0400
- * Message catalog updates
-
-------------------------------------------------------------------------
-r3211 | jesse | 2005-06-16 12:39:48 -0400 (Thu, 16 Jun 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/Notify.pm
-
- r20716@hualien:  jesse | 2005-06-16 12:23:58 -0400
-  r20713@hualien:  jesse | 2005-06-16 12:16:28 -0400
-   r20711@hualien (orig r3204):  alexmv | 2005-06-16 04:31:40 -0400
-    r4308@zoq-fot-pik:  chmrr | 2005-06-16 04:31:30 -0400
-     * Missed an lc
-   
-  
-
-------------------------------------------------------------------------
-r3210 | jesse | 2005-06-16 12:39:36 -0400 (Thu, 16 Jun 2005) | 10 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/Notify.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm
-
- r20715@hualien:  jesse | 2005-06-16 12:20:34 -0400
-  r20712@hualien:  jesse | 2005-06-16 12:16:22 -0400
-   r20710@hualien (orig r3203):  alexmv | 2005-06-16 04:29:14 -0400
-    r4306@zoq-fot-pik:  chmrr | 2005-06-16 04:29:06 -0400
-     * Move /^$foo$/ regexes to use eq instead, to prevent regex insertion
-       exploits
-   
-  
-
-------------------------------------------------------------------------
-r3209 | jesse | 2005-06-16 12:39:21 -0400 (Thu, 16 Jun 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrip_Overlay.pm
-
- r20714@hualien:  jesse | 2005-06-16 12:20:30 -0400
-  r20705@hualien:  jesse | 2005-06-16 12:11:06 -0400
-   r19183@hualien (orig r3063):  pdh | 2005-06-03 01:01:55 -0400
-   Misleading error referred to IsApplicable, not Commit
-   
-   
-  
-
-------------------------------------------------------------------------
-r3208 | jesse | 2005-06-16 12:39:07 -0400 (Thu, 16 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3207 | jesse | 2005-06-16 12:38:53 -0400 (Thu, 16 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3206 | jesse | 2005-06-16 12:38:40 -0400 (Thu, 16 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
-
-
-------------------------------------------------------------------------
-r3205 | jesse | 2005-06-16 12:38:27 -0400 (Thu, 16 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
-
-
-------------------------------------------------------------------------
-r3181 | alexmv | 2005-06-15 17:52:14 -0400 (Wed, 15 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3180 | alexmv | 2005-06-15 17:52:08 -0400 (Wed, 15 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFieldBinary
-
- r4266@zoq-fot-pik:  chmrr | 2005-06-15 17:51:16 -0400
-  * Backport r3147 from quebec
-
-------------------------------------------------------------------------
-r3170 | jesse | 2005-06-15 15:58:48 -0400 (Wed, 15 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm
-
- r20542@hualien:  jesse | 2005-06-15 15:56:43 -0400
- * Made search-by-any-customfield work
-
-------------------------------------------------------------------------
-r3155 | jesse | 2005-06-14 17:00:26 -0400 (Tue, 14 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/lib/RT/I18N/id.po
-
- r20078@hualien:  jesse | 2005-06-14 16:57:41 -0400
- * First draft Indonesian message catalog from James Briggs
-
-------------------------------------------------------------------------
-r3142 | kevinr | 2005-06-13 15:43:08 -0400 (Mon, 13 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
- r4210@SAD-GIRL-IN-SNOW:  kevinr | 2005-06-13 15:39:50 -0400
- * fixed a couple small issues with the perldoc format
-
-------------------------------------------------------------------------
-r3120 | kevinr | 2005-06-09 01:33:18 -0400 (Thu, 09 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
-
- r4110@SAD-GIRL-IN-SNOW:  kevinr | 2005-06-09 01:30:22 -0400
- * fixed the mis-typed perldoc tags
-
-------------------------------------------------------------------------
-r3119 | kevinr | 2005-06-09 01:32:41 -0400 (Thu, 09 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
-
- r4107@SAD-GIRL-IN-SNOW:  kevinr | 2005-06-09 00:43:23 -0400
- * makes RT::ScripAction::Load return ($id, $message) instead of just $message,
- and adds perldoc for Load() to that effect.
-
-------------------------------------------------------------------------
-r3116 | jesse | 2005-06-09 01:00:12 -0400 (Thu, 09 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r19701@hualien:  jesse | 2005-06-09 00:58:09 -0400
- * Bumping to 3.4.3pre1
-
-------------------------------------------------------------------------
-r3094 | kevinr | 2005-06-08 18:44:39 -0400 (Wed, 08 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/rt-mailgate.in
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email/Auth/MailFrom.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/06mailgateway.t
-
- r4080@sad-girl-in-snow:  kevinr | 2005-06-08 18:35:07 -0400
- * Applied Ruslan Zakirov's ext-mailgate patch, which allows you to take or 
- resolve tickets by e-mail.
-
-------------------------------------------------------------------------
-r3085 | kevinr | 2005-06-07 19:29:11 -0400 (Tue, 07 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r4043@SAD-GIRL-IN-SNOW:  kevinr | 2005-06-07 19:28:11 -0400
- * Added return format information to perldoc for Comment() and Correspond()
-
-------------------------------------------------------------------------
-r3084 | kevinr | 2005-06-07 19:28:29 -0400 (Tue, 07 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r3943@SAD-GIRL-IN-SNOW:  kevinr | 2005-06-02 16:12:07 -0400
- * Applied patch from Steve Turner to add a default callback to the Queue
- Admin page.
-
-------------------------------------------------------------------------
-r3077 | alexmv | 2005-06-07 17:56:50 -0400 (Tue, 07 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/mason_handler.svc.in
-   M /rt/branches/3.4-RELEASE/bin/rt-mailgate.in
-   M /rt/branches/3.4-RELEASE/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ACL_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/EscalatePriority.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/Generic.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attributes_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CachedGroupMembers_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/Generic.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CurrentUser.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Date.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/GroupMembers_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Handle.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Link_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Links_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Principals_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queues_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearches.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripActions_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripConditions_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrips_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Search/ActiveTicketsInQueue.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Search/FromSQL.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Search/Generic.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/System.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Templates_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Users_Overlay.pm
-
- r4010@zoq-fot-pik:  chmrr | 2005-06-07 17:08:18 -0400
-  * Whitespace fixes for proper POD
-
-------------------------------------------------------------------------
-r3073 | jesse | 2005-06-05 17:30:17 -0400 (Sun, 05 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in
-
-
-* Updated EmailSubjectTagRegex documentation. Thanks to Phil Homewood for spotting it.
-
-------------------------------------------------------------------------
-r3070 | robert | 2005-06-03 23:36:50 -0400 (Fri, 03 Jun 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/configure.ac
-
- r3078@bear:  rspier | 2005-06-04T03:36:19.749340Z
- RT-Ticket: 6748
- RT-Status: resolved
- RT-Update: correspond
- Fallback to $LOGNAME if $USER isn't defined for --with-my-user-group
-
-------------------------------------------------------------------------
-r3059 | kevinr | 2005-06-02 16:17:31 -0400 (Thu, 02 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/Modify.html
-
- r3943@STRATTON-THREE-TWENTY-SEVEN:  kevinr | 2005-06-02 16:12:07 -0400
- * Applied patch from Steve Turner to add a default callback to the Queue
- Admin page.
-
-------------------------------------------------------------------------
-r3057 | robert | 2005-06-02 00:15:13 -0400 (Thu, 02 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm
-
- r3073@bear:  rspier | 2005-06-02T04:14:40.726890Z
- Support for RT-Control: no-autoopen 
-
-------------------------------------------------------------------------
-r3056 | glasser | 2005-06-01 18:39:36 -0400 (Wed, 01 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3055 | glasser | 2005-06-01 18:39:12 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/t/regression/04send_email.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/20savedsearch.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/21query-builder.t
-
- r33654@tin-foil:  glasser | 2005-06-01 16:36:18 -0400
- Fix some test plans, mark some QB tests TODO
-
-------------------------------------------------------------------------
-r3054 | glasser | 2005-06-01 18:38:38 -0400 (Wed, 01 Jun 2005) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r33653@tin-foil:  glasser | 2005-06-01 15:19:20 -0400
- fixdeps wasn't working for me (it was trying to detar inside my MiniCPAN!);
- its code was "correct" but presumably one of the other 500 modules that were
- loaded confused CPAN.  (This bug happened both before and after the previous change.)
- Now just uses a system() call to install.
-
-------------------------------------------------------------------------
-r3053 | glasser | 2005-06-01 18:38:05 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r33652@tin-foil:  glasser | 2005-06-01 15:02:58 -0400
- A mini rewrite of testdeps: now it tells you at the bottom if it is missing anything
-
-------------------------------------------------------------------------
-r3052 | glasser | 2005-06-01 18:37:45 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-
- r33243@tin-foil:  glasser | 2005-05-27 17:08:38 -0400
- Add some hopefully correct comments to the head of Search/Build
-
-------------------------------------------------------------------------
-r3051 | glasser | 2005-06-01 18:37:29 -0400 (Wed, 01 Jun 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/t/regression/02basic_web.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/08web_cf_access.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/09record_cf_api.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/10merge.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/11-template-insert.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/12-search.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/13-attribute-tests.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/15cf_single_values_are_single.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/21query-builder.t
-
- r33242@tin-foil:  glasser | 2005-05-27 14:08:19 -0400
- * Improved Query builder Tests
- * add plans to a bunch of other tests
-
-------------------------------------------------------------------------
-r3050 | glasser | 2005-06-01 18:37:12 -0400 (Wed, 01 Jun 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r3049 | glasser | 2005-06-01 18:36:55 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-   M /rt/branches/3.4-RELEASE/bin/standalone_httpd.in
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Groups.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Tickets.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Transactions.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Users.html
-   M /rt/branches/3.4-RELEASE/html/Admin/index.html
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValue_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/URI/t.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/04send_email.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/20savedsearch.t
-
- r33110@tin-foil:  glasser | 2005-05-26 13:33:06 -0400
- Undo 'make license-tag' change; jesse should do this later though
-
-------------------------------------------------------------------------
-r3048 | glasser | 2005-06-01 18:36:40 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/QueryBuilder/Tree.pm
-
- r33109@tin-foil:  glasser | 2005-05-26 12:02:13 -0400
- More docs and refactoring on QueryBuilder::Tree
-
-------------------------------------------------------------------------
-r3047 | glasser | 2005-06-01 18:36:24 -0400 (Wed, 01 Jun 2005) | 12 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/QueryBuilder/Tree.pm
-
- r33108@tin-foil:  glasser | 2005-05-26 02:12:48 -0400
- rt-ticket: 6568
- rt-update: correspond
-   * Better fix to Query Builder; in addition to refactoring most of the code which got
-     information out of the tree, prune away childless AND/ORs, fixing the bug from ticket #6568.
- Also get rid of the reaction to the "Clear" action, which I don't think exists, and which 
- I think is incorrect, since the root is supposed to have one child (see where it is
- first created).
-
-------------------------------------------------------------------------
-r3046 | glasser | 2005-06-01 18:35:53 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/QueryBuilder/Tree.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/QueryBuilder.pm
-
- r33107@tin-foil:  glasser | 2005-05-26 01:56:25 -0400
- More Query Builder tree refactoring.
-
-------------------------------------------------------------------------
-r3045 | glasser | 2005-06-01 18:35:33 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-   A /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/QueryBuilder
-   A /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/QueryBuilder/Tree.pm
-   A /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/QueryBuilder.pm
-
- r33106@tin-foil:  glasser | 2005-05-26 01:21:29 -0400
- Move stuff out from html/Search/Build.html into a module; refactor some of the code there.
-
-------------------------------------------------------------------------
-r3044 | glasser | 2005-06-01 18:35:14 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-   M /rt/branches/3.4-RELEASE/bin/standalone_httpd.in
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Groups.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Tickets.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Transactions.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Users.html
-   M /rt/branches/3.4-RELEASE/html/Admin/index.html
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValue_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/URI/t.pm
-
- r33105@tin-foil:  glasser | 2005-05-26 00:02:36 -0400
- Run 'make license-tag'
-
-------------------------------------------------------------------------
-r3043 | glasser | 2005-06-01 18:34:56 -0400 (Wed, 01 Jun 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-   A /rt/branches/3.4-RELEASE/lib/t/regression/21query-builder.t
-
- r33104@tin-foil:  glasser | 2005-05-25 23:53:28 -0400
- Fix mistake in the function I just made
- Add a bit of testing of the query builder.
-
-------------------------------------------------------------------------
-r3042 | glasser | 2005-06-01 18:34:38 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-
- r33103@tin-foil:  glasser | 2005-05-25 22:24:07 -0400
- And remove the old functionality too.
-
-------------------------------------------------------------------------
-r3041 | glasser | 2005-06-01 18:33:51 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-
- r33102@tin-foil:  glasser | 2005-05-25 22:22:53 -0400
- build_array was being called twice for two totally disconnected reasons.  Split one out.
-
-------------------------------------------------------------------------
-r3040 | glasser | 2005-06-01 18:32:34 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-
- r33101@tin-foil:  glasser | 2005-05-25 21:05:02 -0400
- Attempt to add parentheses to the clauses select list, in Query Builder.
-
-------------------------------------------------------------------------
-r3039 | glasser | 2005-06-01 18:32:16 -0400 (Wed, 01 Jun 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-
- r33100@tin-foil:  glasser | 2005-05-25 20:21:43 -0400
- Mini refactoring of Tree->SQL/HTML function
-
-------------------------------------------------------------------------
-r2998 | kevinr | 2005-05-31 21:08:40 -0400 (Tue, 31 May 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-
- r3841@SAD-GIRL-IN-SNOW:  kevinr | 2005-05-31 21:07:42 -0400
- RT-Ticket: 6669
- RT-Status: resolved
- RT-Action: correspond
- * Fixed the mysteriously-absent '1' in the Norwegian po.
-
-------------------------------------------------------------------------
-r2997 | kevinr | 2005-05-31 20:38:19 -0400 (Tue, 31 May 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-
- r3010@SAD-GIRL-IN-SNOW:  kevinr | 2005-05-31 18:10:17 -0400
- RT-Ticket: 6423
- RT-Status: resolve
- RT-Action: correspond
- * Fixed a line I broke in revision 3008 -- vi removed the '%1'.
-
-------------------------------------------------------------------------
-r2996 | kevinr | 2005-05-31 20:35:39 -0400 (Tue, 31 May 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r3009@SAD-GIRL-IN-SNOW:  kevinr | 2005-05-31 17:52:48 -0400
- RT-Ticket: 6669
- RT-Status: resolved
- RT-Action: correspond
- * Fixed an extra space in lib/RT/Transaction_Overlay.pm and propagated the 
- change to the po files, as per Brandon Pulsipher's suggestion.
-
-------------------------------------------------------------------------
-r2995 | kevinr | 2005-05-31 20:34:40 -0400 (Tue, 31 May 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/Modify.html
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po
-
- r3008@SAD-GIRL-IN-SNOW:  kevinr | 2005-05-31 17:05:08 -0400
- RT-Ticket: 6423
- RT-Status: resolve
- RT-Action: correspond
- * Corrected a typo in Admin/Queues/Modify.html and propagated it to all the
- po files, as per Angelo Turetta's suggestion.
-
-------------------------------------------------------------------------
-r2994 | kevinr | 2005-05-31 16:11:31 -0400 (Tue, 31 May 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Error
-
- r3004@sad-girl-in-snow:  kevinr | 2005-05-31 15:52:19 -0400
- RT-Ticket: 6684
- RT-Status: resolve
- RT-Action: correspond
- html/Elements/Error should not continue, and has been changed to add the
- standard footer element on %cleanup.
-
-------------------------------------------------------------------------
-r2993 | kevinr | 2005-05-31 16:10:33 -0400 (Tue, 31 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r2967@sad-girl-in-snow:  kevinr | 2005-05-25 18:37:20 -0400
- * Added a comma where a compound sentence wanted it.
-
-------------------------------------------------------------------------
-r2992 | kevinr | 2005-05-31 16:10:01 -0400 (Tue, 31 May 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r2965@sad-girl-in-snow:  kevinr | 2005-05-25 17:47:26 -0400
- * changed "e-mail" back to "email"
- * removed discussion of pre-5.8.3 perl versions
-
-------------------------------------------------------------------------
-r2974 | jesse | 2005-05-29 19:28:58 -0400 (Sun, 29 May 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Results.html
-
- r17981@hualien:  jesse | 2005-05-29 19:26:59 -0400
-  r17979@hualien:  jesse | 2005-05-29 19:21:59 -0400
-  RT-Ticket: 6741
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  * Sort order wasn't preserved for the "in memory" saved search. --Phil Homewood
-
-------------------------------------------------------------------------
-r2968 | jesse | 2005-05-25 22:46:40 -0400 (Wed, 25 May 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-
- r17717@hualien:  jesse | 2005-05-25 22:43:35 -0400
- * Better in-reply-to when replying to a message generated via the webui
- * Now only hang onto the first four and the last six References headers.
-
-------------------------------------------------------------------------
-r2967 | jesse | 2005-05-25 22:45:46 -0400 (Wed, 25 May 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r17705@hualien:  jesse | 2005-05-25 01:17:11 -0400
- RT-Ticket: 6627
- RT-Status: resolved
- RT-Update: correspond
- * Updated German translation -- David Schmit
-
-------------------------------------------------------------------------
-r2966 | jesse | 2005-05-25 22:45:39 -0400 (Wed, 25 May 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r17704@hualien:  jesse | 2005-05-25 00:59:29 -0400
- RT-Ticket: 6654
- RT-Status: resolved
- RT-Update: correspond 
- * Updated Italian translation from Angelo Turetta
-
-------------------------------------------------------------------------
-r2965 | jesse | 2005-05-25 22:45:32 -0400 (Wed, 25 May 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r17703@hualien:  jesse | 2005-05-25 00:55:10 -0400
- RT-Ticket: 6653
- RT-Status: resolved
- RT-Update: correspond
- * Small localization fix from Angelo Turetta 
-
-------------------------------------------------------------------------
-r2964 | jesse | 2005-05-25 22:45:25 -0400 (Wed, 25 May 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r17684@hualien:  jesse | 2005-05-24 18:18:21 -0400
- RT-Ticket: 6713
- RT-Status: resolved
- RT-Update: correspond
- * Text::WikiFormat is a dependency. And should have been in 3.4.2
-
-------------------------------------------------------------------------
-r2963 | jesse | 2005-05-25 22:45:17 -0400 (Wed, 25 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
- r17682@hualien:  jesse | 2005-05-24 12:27:55 -0400
- * Wikitext fields weren't properly escaping HTML
-
-------------------------------------------------------------------------
-r2961 | glasser | 2005-05-25 19:58:06 -0400 (Wed, 25 May 2005) | 15 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-
- r33096@tin-foil:  glasser | 2005-05-25 19:56:11 -0400
- RT-Ticket: 6568
- RT-Status: open
- RT-Update: correspond
- * Simple fix to Query Builder to prevent a crash in situations involving
-   the creation of AND/ORs with no children. A fix that treats the cause
-   and not the symptom is planned.  Currently, it may sometimes do "unexpected things"
-   with your ADD, but it is at least in a state that the user can recover from.
- Specifically, for Danial's it works as expected; for Tim's example, it gives an incorrect
- error message (in the context of the QB page, not a Mason crash thing) but the select
- box is in a good state.
-
-------------------------------------------------------------------------
-r2960 | kevinr | 2005-05-25 18:38:43 -0400 (Wed, 25 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r2967@SAD-GIRL-IN-SNOW:  kevinr | 2005-05-25 18:37:20 -0400
- * Added a comma where a compound sentence wanted it.
-
-------------------------------------------------------------------------
-r2959 | kevinr | 2005-05-25 17:49:43 -0400 (Wed, 25 May 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r2965@SAD-GIRL-IN-SNOW:  kevinr | 2005-05-25 17:47:26 -0400
- * changed "e-mail" back to "email"
- * removed discussion of pre-5.8.3 perl versions
-
-------------------------------------------------------------------------
-r2958 | kevinr | 2005-05-25 16:47:14 -0400 (Wed, 25 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r2950@SAD-GIRL-IN-SNOW:  kevinr | 2005-05-25 16:39:58 -0400
- * fixed a bunch of typoes in the README
-
-------------------------------------------------------------------------
-r2957 | jesse | 2005-05-25 01:25:06 -0400 (Wed, 25 May 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/PreviewScrips
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-
- r17705@hualien:  jesse | 2005-05-25 01:17:11 -0400
- RT-Ticket: 6627
- RT-Status: resolved
- RT-Update: correspond
- * Updated German translation -- David Schmit
-
-------------------------------------------------------------------------
-r2956 | jesse | 2005-05-25 01:24:55 -0400 (Wed, 25 May 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-
- r17704@hualien:  jesse | 2005-05-25 00:59:29 -0400
- RT-Ticket: 6654
- RT-Status: resolved
- RT-Update: correspond 
- * Updated Italian translation from Angelo Turetta
-
-------------------------------------------------------------------------
-r2955 | jesse | 2005-05-25 01:24:46 -0400 (Wed, 25 May 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/DisplayOptions
-
- r17703@hualien:  jesse | 2005-05-25 00:55:10 -0400
- RT-Ticket: 6653
- RT-Status: resolved
- RT-Update: correspond
- * Small localization fix from Angelo Turetta 
-
-------------------------------------------------------------------------
-r2954 | jesse | 2005-05-24 18:21:27 -0400 (Tue, 24 May 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r17684@hualien:  jesse | 2005-05-24 18:18:21 -0400
- RT-Ticket: 6713
- RT-Status: resolved
- RT-Update: correspond
- * Text::WikiFormat is a dependency. And should have been in 3.4.2
-
-------------------------------------------------------------------------
-r2953 | jesse | 2005-05-24 18:21:07 -0400 (Tue, 24 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFieldWikitext
-
- r17682@hualien:  jesse | 2005-05-24 12:27:55 -0400
- * Wikitext fields weren't properly escaping HTML
-
-------------------------------------------------------------------------
-r2945 | kevinr | 2005-05-24 13:53:43 -0400 (Tue, 24 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r2945@sad-girl-in-snow:  kevinr | 2005-05-24 13:51:57 -0400
- * Updated README to note that RT works with Oracle versions >=9.2
-
-------------------------------------------------------------------------
-r2936 | jesse | 2005-05-23 15:30:36 -0400 (Mon, 23 May 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
- r17673@hualien:  jesse | 2005-05-23 15:27:11 -0400
- RT-Ticket: 6459
- RT-Status: resolved
- * Updates to the _AddLink return values from Todd Chapman.
-
-------------------------------------------------------------------------
-r2935 | jesse | 2005-05-23 15:30:26 -0400 (Mon, 23 May 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in
-
- r17672@hualien:  jesse | 2005-05-23 15:22:51 -0400
- * Switch the default WebURL to "localhost" to make the regression suite pass
-   more cleanly
-
-------------------------------------------------------------------------
-r2934 | jesse | 2005-05-23 15:30:16 -0400 (Mon, 23 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
-
- r17671@hualien:  jesse | 2005-05-23 14:21:54 -0400
- * Since EmailParser _might_ be used out of Interface::Email context, require Interface::Email.
-
-------------------------------------------------------------------------
-r2933 | jesse | 2005-05-23 15:30:02 -0400 (Mon, 23 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
-
- r17670@hualien:  jesse | 2005-05-23 13:48:34 -0400
-  * RT::EmailParser->ParseTicketId was deprecated but that was not clear. Also, the code was out of date
-
-------------------------------------------------------------------------
-r2932 | glasser | 2005-05-23 13:04:38 -0400 (Mon, 23 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/URI/t.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/02basic_web.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/03web_compiliation_errors.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/06mailgateway.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/07acl.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/08web_cf_access.t
-
-Allow for base URL to be changed when doing regressions.
-(And kind of allow for Organization to be changed, except the mailgate
-test will still bite it if you do.)
-------------------------------------------------------------------------
-r2909 | glasser | 2005-05-22 17:03:29 -0400 (Sun, 22 May 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE/etc/RT_SiteConfig.pm
-
-Put an obviously fake instead of possibly wrong path in an example command.`
-------------------------------------------------------------------------
-r2887 | jesse | 2005-05-16 22:09:21 -0400 (Mon, 16 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-
- r16893@hualien:  jesse | 2005-05-16 18:04:08 -0400
- * Better creation of in-reply-to/references headers on web-ased reply
-
-------------------------------------------------------------------------
-r2886 | jesse | 2005-05-16 17:49:47 -0400 (Mon, 16 May 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/PageLayout
-
- r16891@hualien:  jesse | 2005-05-16 22:48:02 +0100
- * Adding a new "top of page" callback
-
-------------------------------------------------------------------------
-r2880 | jesse | 2005-05-13 10:25:08 -0400 (Fri, 13 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm
-
- r16761@hualien:  jesse | 2005-05-13 15:22:22 +0100
- * Ruslan found a debugging statement we had accidentally committed
-
-------------------------------------------------------------------------
-r2879 | jesse | 2005-05-12 20:04:44 -0400 (Thu, 12 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm
-
- r16510@hualien:  jesse | 2005-05-12 17:44:00 +0100
- * Fix on the plane was wrong. sigh
-
-------------------------------------------------------------------------
-r2864 | jesse | 2005-05-11 20:06:23 -0400 (Wed, 11 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValue_Overlay.pm
-
- r16468@hualien:  jesse | 2005-05-11 15:34:43 +0100
- * CustomFieldValues fix had a typo
-
-------------------------------------------------------------------------
-r2863 | jesse | 2005-05-11 20:06:12 -0400 (Wed, 11 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-
- r16462@hualien:  jesse | 2005-05-11 15:30:30 +0100
- * Try harder to set a proper In-reply-to: header
-
-------------------------------------------------------------------------
-r2862 | jesse | 2005-05-11 20:06:01 -0400 (Wed, 11 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValue_Overlay.pm
-
- r16461@hualien:  jesse | 2005-05-11 15:23:33 +0100
- * Custom field values can now be integers
-
-------------------------------------------------------------------------
-r2861 | robert | 2005-05-10 01:54:35 -0400 (Tue, 10 May 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/CreateTickets.pm
-
- r2875@bear:  rspier | 2005-05-10T05:54:13.875334Z
- quick and dirty fix (ok, not so quick, and not really so dirty)
- for the recursive CreateTickets dataloss issue.
-
-------------------------------------------------------------------------
-r2856 | jesse | 2005-05-09 21:52:39 -0400 (Mon, 09 May 2005) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm
-
- r16376@hualien:  jesse | 2005-05-09 21:51:14 -0400
-  r16373@hualien:  jesse | 2005-05-09 21:43:59 -0400
-  * Queue name case changes were accidentally generating a "Name Conflict" error
-  
-
-------------------------------------------------------------------------
-r2855 | jesse | 2005-05-09 21:52:31 -0400 (Mon, 09 May 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r2854 | jesse | 2005-05-09 21:52:24 -0400 (Mon, 09 May 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFields_Overlay.pm
-
- r15829@hualien:  jesse | 2005-05-06 16:06:12 -0400
- * Make sure that disabled custom fields aren't listed in Queue CF listings.
-
-------------------------------------------------------------------------
-r2833 | glasser | 2005-05-05 22:44:56 -0400 (Thu, 05 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
-Require modern version of XML::RSS (versions prior to 1.02 do not 
-encode their output properly; 1.02 and 1.05 have the same prereqs
-but 1.05 fixes some other bugs)
-------------------------------------------------------------------------
-r2831 | jesse | 2005-05-04 13:16:54 -0400 (Wed, 04 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r15792@hualien:  jesse | 2005-05-04 13:14:49 -0400
- * This is 3.4.2
-
-------------------------------------------------------------------------
-r2829 | robert | 2005-05-03 23:52:32 -0400 (Tue, 03 May 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/initialdata
-
- r2835@bear:  rspier | 2005-05-04T03:51:48.597852Z
- fix typo in initialdata related to approval rejection
-
-------------------------------------------------------------------------
-r2820 | jesse | 2005-05-02 13:40:54 -0400 (Mon, 02 May 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r14639@hualien:  jesse | 2005-05-02 13:30:18 -0400
- * This be 3.4.2rc2
-
-------------------------------------------------------------------------
-r2819 | jesse | 2005-05-02 13:25:35 -0400 (Mon, 02 May 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/SelfService/Elements/Tabs
-
- r14637@hualien:  jesse | 2005-05-02 13:24:05 -0400
- * Patch to SelfService UI to not display a preferences page unless the current user (ie all unprivileged users) has the right to do so.
-
-------------------------------------------------------------------------
-r2817 | jesse | 2005-04-29 13:11:27 -0400 (Fri, 29 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Update.html
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-
- r14626@hualien:  jesse | 2005-04-29 13:06:57 -0400
- * Message threading improvements suggested by Florian Weimer
-
-------------------------------------------------------------------------
-r2815 | jesse | 2005-04-29 00:12:18 -0400 (Fri, 29 Apr 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Update.html
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-
- r14617@hualien:  jesse | 2005-04-28 22:56:56 -0400
- * Enabled proper message threading with RT
-
-------------------------------------------------------------------------
-r2814 | jesse | 2005-04-29 00:12:11 -0400 (Fri, 29 Apr 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r14616@hualien:  jesse | 2005-04-28 22:56:19 -0400
- * Added a todo notice
-
-------------------------------------------------------------------------
-r2813 | jesse | 2005-04-29 00:12:04 -0400 (Fri, 29 Apr 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r2812 | jesse | 2005-04-29 00:11:00 -0400 (Fri, 29 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Footer
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/en.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po
-
- r14017@hualien:  jesse | 2005-04-21 21:07:47 -0400
- Loc updates
-
-------------------------------------------------------------------------
-r2807 | jesse | 2005-04-25 22:33:14 -0400 (Mon, 25 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in
-
-* Correct comments in config file. "RTLogoURL" is actually LogoURL.   --Allison Randal
-
-------------------------------------------------------------------------
-r2792 | jesse | 2005-04-20 11:32:54 -0400 (Wed, 20 Apr 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-
- r13994@hualien:  jesse | 2005-04-20 11:31:44 -0400
- RT-Ticket: 6620
- RT-Status: resolved
- RT-Update: correspond
- * Hungarian translation had an incorrect Content-Type. Reported upstream from 
-   Debian.
-
-------------------------------------------------------------------------
-r2791 | jesse | 2005-04-19 22:00:57 -0400 (Tue, 19 Apr 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in
-   M /rt/branches/3.4-RELEASE/etc/RT_SiteConfig.pm
-
- r13990@hualien:  jesse | 2005-04-19 22:00:14 -0400
- * Canonicalized => to , in the configuration file
-   They mean the same thing, but consistency is good.
-
-------------------------------------------------------------------------
-r2783 | jesse | 2005-04-19 17:05:21 -0400 (Tue, 19 Apr 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/t/regression/01ticket_link_searching.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/19-rtname.t
-
- r13834@hualien:  jesse | 2005-04-19 17:03:40 -0400
- RT-Ticket: 6617
- RT-Status: resolve
- RT-Update: correspond
- Removed some spurious use lib lines from the test suite. Thanks to Dave Rolsky.
-
-------------------------------------------------------------------------
-r2782 | jesse | 2005-04-19 14:19:29 -0400 (Tue, 19 Apr 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
- r13264@hualien:  jesse | 2005-04-19 14:15:54 -0400
- RT-Ticket: 6616
- RT-Status: resolved
- RT-Update: correspond
- * Added a new HasPassword method to the RT user object
-
-------------------------------------------------------------------------
-r2779 | tla | 2005-04-19 00:45:48 -0400 (Tue, 19 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm
-
-fix the perldoc
-
-------------------------------------------------------------------------
-r2771 | jesse | 2005-04-18 01:10:20 -0400 (Mon, 18 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldWikitext
-   A /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFieldWikitext
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFields
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-
- r13240@hualien:  jesse | 2005-04-18 01:07:43 -0400
- * Added Wikitext custom field type
-
-------------------------------------------------------------------------
-r2768 | jesse | 2005-04-18 00:16:42 -0400 (Mon, 18 Apr 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
-3.4.2rc1
-------------------------------------------------------------------------
-r2749 | jesse | 2005-04-17 21:58:26 -0400 (Sun, 17 Apr 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
-
- r13207@hualien:  jesse | 2005-04-17 21:57:31 -0400
- RT-Ticket: 6597
- RT-Status: resolved
- RT-Update correspond 
- * CanonicalizeUserInfo didn't work right from RT's WebUI.
-   Fixed by Dave Rolsky.
-
-------------------------------------------------------------------------
-r2748 | jesse | 2005-04-17 21:58:19 -0400 (Sun, 17 Apr 2005) | 11 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/TicketList
-
- r13206@hualien:  jesse | 2005-04-17 21:54:10 -0400
-  r13204@hualien:  jesse | 2005-04-17 21:52:15 -0400
- RT-Ticket: 6603
- RT-Status: resolved
- RT-Update: correspond
-  
- * RT used to report an improper total number of pages if the number of 
-   results found was evenly divisible by the number of rows per page
-  
-
-------------------------------------------------------------------------
-r2746 | jesse | 2005-04-17 21:45:07 -0400 (Sun, 17 Apr 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r13195@hualien:  jesse | 2005-04-17 21:36:13 -0400
- RT-Ticket: 6491
- RT-Status: resolved
- RT-Updated: correspond
- * Bumped the Postgres dependency to 1.41 to get around the 
-   broken 1.40 release
-
-------------------------------------------------------------------------
-r2745 | jesse | 2005-04-17 21:45:00 -0400 (Sun, 17 Apr 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Row
-
- r13194@hualien:  jesse | 2005-04-17 21:31:40 -0400
- RT-Ticket: 6522
- RT-Status: resolved
- RT-Update: correspond
- * Newlines in CustomFields are now displayed in TicketList results
-
-------------------------------------------------------------------------
-r2744 | jesse | 2005-04-17 21:44:50 -0400 (Sun, 17 Apr 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/SetupSessionCookie
-
- r13193@hualien:  jesse | 2005-04-17 21:26:35 -0400
- RT-Ticket: 6657
- RT-Status: resolved
- * Better error message when the sessions table or sessions dir isn't writable
-
-------------------------------------------------------------------------
-r2743 | jesse | 2005-04-17 21:44:37 -0400 (Sun, 17 Apr 2005) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-
- r13192@hualien:  jesse | 2005-04-17 21:23:22 -0400
- RT-Ticket: 6517
- RT-Update: correspond
- * New Russian translation from Andrew Kornilov
-
-------------------------------------------------------------------------
-r2742 | jesse | 2005-04-17 21:44:23 -0400 (Sun, 17 Apr 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Modify.html
-
- r13191@hualien:  jesse | 2005-04-17 21:10:17 -0400
- RT-Ticket: 6589
- RT-Status: resolved
- RT-Update: correspond
- * Quieted a deprecation warning -- Dmitry Sivachenko <mitya@cavia.pp.ru>
-
-------------------------------------------------------------------------
-r2741 | jesse | 2005-04-17 21:44:10 -0400 (Sun, 17 Apr 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-
- r13190@hualien:  jesse | 2005-04-17 21:08:55 -0400
- RT-Ticket: 6585
- RT-Status: resolved
- RT-Update: correspond
- * Updated Danish translation from Jonas Nielsen
-
-------------------------------------------------------------------------
-r2740 | jesse | 2005-04-17 21:43:53 -0400 (Sun, 17 Apr 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-
- r13189@hualien:  jesse | 2005-04-17 21:05:49 -0400
- RT-Ticket: 6583
- RT-Status: resolved
- RT-Update: correspond
- * Fixed typos in Spanish translation
-
-------------------------------------------------------------------------
-r2739 | jesse | 2005-04-17 21:43:44 -0400 (Sun, 17 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditQueueWatchers
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrips
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditTemplates
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/PickObjects
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/QueueRightsForUser
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/Members.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/index.html
-   M /rt/branches/3.4-RELEASE/html/Elements/Checkbox
-   M /rt/branches/3.4-RELEASE/html/Elements/EditLinks
-   M /rt/branches/3.4-RELEASE/html/Search/Bulk.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/Update.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Create.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditWatchers
-   M /rt/branches/3.4-RELEASE/html/Ticket/Update.html
-   M /rt/branches/3.4-RELEASE/html/User/Elements/DelegateRights
-   M /rt/branches/3.4-RELEASE/html/User/Groups/Members.html
-
- r13188@hualien:  jesse | 2005-04-17 20:58:19 -0400
- * Checkbox fields need a "value" or they are ignored
-
-------------------------------------------------------------------------
-r2738 | jesse | 2005-04-17 20:26:15 -0400 (Sun, 17 Apr 2005) | 11 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/12-search.t
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r13186@hualien:  jesse | 2005-04-17 20:24:41 -0400
- RT-Ticket: 6562
- RT-Status: resolved
- RT-Update: correspond
- * Patch from Tom Yu to allow negative CF searching and better
-   multi-CF search.
- * Bumped SearchBuilder dependency to new version
-
-------------------------------------------------------------------------
-r2634 | tla | 2005-04-15 17:21:25 -0400 (Fri, 15 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/20savedsearch.t
-
-Added ability to update name as well as search parameters.
-
-------------------------------------------------------------------------
-r2631 | jesse | 2005-04-15 16:52:22 -0400 (Fri, 15 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/12-search.t
-
- r12950@hualien:  jesse | 2005-04-15 16:47:32 -0400
- * Cleaned up search tests
-
-------------------------------------------------------------------------
-r2629 | jesse | 2005-04-15 15:29:18 -0400 (Fri, 15 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
-
- r12944@hualien:  jesse | 2005-04-15 15:28:01 -0400
- * Fixed Module::Refresh handling for standalone_httpd
-
-------------------------------------------------------------------------
-r2626 | jesse | 2005-04-14 16:36:14 -0400 (Thu, 14 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/SelfService/Display.html
-
- r12790@hualien:  jesse | 2005-04-14 15:07:03 -0400
- * Fix support for uploading attachmends in selfservice.  -- HC Chien
-
-------------------------------------------------------------------------
-r2624 | tla | 2005-04-13 13:42:51 -0400 (Wed, 13 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SelectSearchesForObjects
-
-Change to exclude saved searches meant for things other than tickets.
-
-------------------------------------------------------------------------
-r2623 | tla | 2005-04-13 13:32:41 -0400 (Wed, 13 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearches.pm
-
-Skeletal inline tests, to make autogen happy.
-
-------------------------------------------------------------------------
-r2622 | tla | 2005-04-13 12:27:38 -0400 (Wed, 13 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearches.pm
-
-Lost a curly brace somewhere.  Also noted location of tests for both files.
-
-------------------------------------------------------------------------
-r2620 | autrijus | 2005-04-13 11:19:54 -0400 (Wed, 13 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
-
-* Never mind my last change -- I saw "VALUE = 1" and trigger-happily
-  inferred that it should default to CHECKED.  Which is, of course,
-  not the case.  Reverted.
-------------------------------------------------------------------------
-r2619 | autrijus | 2005-04-13 08:13:01 -0400 (Wed, 13 Apr 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
-
-* VALUE="1" does not work on checkboxes; this renders the
-  default True setting on the "Set to Privliged" checkbox
-  in the "New User" screen useless, so new users are defaulted
-  to unprivileged even though the code shows that they are
-  intended to be so.
-------------------------------------------------------------------------
-r2617 | tla | 2005-04-12 21:52:54 -0400 (Tue, 12 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearches.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/20savedsearch.t
-
-Added delete method & localized strings in SavedSearch
-Made SavedSearches::LimitByPrivacy safe to call multiple times
-
-------------------------------------------------------------------------
-r2609 | tla | 2005-04-12 15:59:07 -0400 (Tue, 12 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearches.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/20savedsearch.t
-
-Made SavedSearches work, added error messages to SavedSearch, updated tests
-
-------------------------------------------------------------------------
-r2608 | tla | 2005-04-12 15:29:25 -0400 (Tue, 12 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/20savedsearch.t
-
-SavedSearch now shinily tested.  API also changed somewhat.
-
-------------------------------------------------------------------------
-r2607 | tla | 2005-04-11 14:47:03 -0400 (Mon, 11 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-   A /rt/branches/3.4-RELEASE/lib/RT/SavedSearches.pm
-
-Semi-tested, semi-working checkpoint.  Formal tests to follow shortly.
-
-------------------------------------------------------------------------
-r2603 | tla | 2005-04-10 19:51:56 -0400 (Sun, 10 Apr 2005) | 2 lines
-Changed paths:
-   A /rt/branches/3.4-RELEASE/lib/RT/SavedSearch.pm
-
-UNTESTED first cut at a saved search lib wrapper.
-
-------------------------------------------------------------------------
-r2602 | tla | 2005-04-10 19:51:16 -0400 (Sun, 10 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
-Upped version dependency of DBIx::SearchBuilder to 1.24 for unique records
-feature in CustomFields.
-
-------------------------------------------------------------------------
-r2601 | tla | 2005-04-10 19:49:31 -0400 (Sun, 10 Apr 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
-User_Overlay: added OwnGroups method to get a collection of groups of which
-the user is a member.
-Record: revamped ObjectTypeStr according to suggestions.
-
-
-------------------------------------------------------------------------
-r2592 | jesse | 2005-04-06 15:27:58 -0400 (Wed, 06 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/DisplayOptions
-
- r11940@hualien:  jesse | 2005-04-07 03:23:40 +0800
- * Search "Order By" needed a more greedy matching operation; too many values were selected
-
-------------------------------------------------------------------------
-r2589 | jesse | 2005-04-06 14:58:41 -0400 (Wed, 06 Apr 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Header
-   M /rt/branches/3.4-RELEASE/html/Elements/TicketList
-
- r11936@hualien:  jesse | 2005-04-07 02:54:28 +0800
- RT-Ticket: 6590
- RT-Status: resolved
- RT-Update: correspond
- resorting the search by clicking on a header no longer resets the format string
-
-------------------------------------------------------------------------
-r2588 | jesse | 2005-04-06 13:50:56 -0400 (Wed, 06 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/12-search.t
-
- r11933@hualien:  jesse | 2005-04-07 01:49:50 +0800
- Half way through custom field search fixes
-
-------------------------------------------------------------------------
-r2586 | tla | 2005-04-04 04:28:02 -0400 (Mon, 04 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/html/Elements/EditLinks
-
-Add a callback for the use of RTFM
-
-------------------------------------------------------------------------
-r2584 | tla | 2005-04-04 04:18:22 -0400 (Mon, 04 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
-Add a simple sub to return the object class with the RT::Lib:: prefix
-stripped off.  Useful for displaying, e.g., "Ticket #35" or "Article #3".
-
-------------------------------------------------------------------------
-r2582 | tla | 2005-04-03 15:35:23 -0400 (Sun, 03 Apr 2005) | 2 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/URI/t.pm
-
-Get rid of LocalURIPrefix test.  Would make this DTRT if I knew what TRT was.
-
-------------------------------------------------------------------------
-r2557 | tla | 2005-04-01 23:16:13 -0500 (Fri, 01 Apr 2005) | 2 lines
-Changed paths:
-   A /rt/branches/3.4-RELEASE/lib/RT/URI/t.pm
-
-A scheme which allows "t:123" URIs, for ticket specification.
-
-------------------------------------------------------------------------
-r2552 | jesse | 2005-04-01 04:18:10 -0500 (Fri, 01 Apr 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/Makefile.in
-
- r10907@hualien:  jesse | 2005-04-01 17:15:55 +0800
- * Added "make depends" as an alias for "make fixdeps" for Autrijus
-
-------------------------------------------------------------------------
-r2543 | jesse | 2005-03-31 03:50:11 -0500 (Thu, 31 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in
-
- r10781@hualien:  jesse | 2005-03-31 16:49:00 +0800
- * Fixes to seph's rtname regex
-
-------------------------------------------------------------------------
-r2542 | robert | 2005-03-30 23:03:13 -0500 (Wed, 30 Mar 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/config.layout
-
- r2579@dog:  rspier | 2005-03-30 19:58:06 -0800
- RT-Ticket: 6572
- RT-Status: resolved
- RT-Update: correspond
- Remove second FHS layout
-
-------------------------------------------------------------------------
-r2541 | tla | 2005-03-30 19:20:44 -0500 (Wed, 30 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomField
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldText
-
-Fixes so that custom fields will pay attention to defaults, when the defaults
-are specified.
-
-------------------------------------------------------------------------
-r2537 | jesse | 2005-03-30 09:44:40 -0500 (Wed, 30 Mar 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/19-rtname.t
-
- r10696@hualien:  jesse | 2005-03-30 18:19:21 +0800
- RT-Ticket: 6544
- RT-Status: resolved
- RT-Update: correspond
- * More graceful handling for historical $rtname tags
-     -- From seph
-
-------------------------------------------------------------------------
-r2526 | jesse | 2005-03-28 05:25:03 -0500 (Mon, 28 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectOwner
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/BuildFormatString
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/DisplayOptions
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/EditFormat
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/PickBasics
-
- r10271@hualien:  jesse | 2005-03-28 15:49:42 +0800
- * A bunch of minor search query builder cleanup and loc improvements
-
-------------------------------------------------------------------------
-r2523 | jesse | 2005-03-27 12:08:05 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
-
- r10258@hualien:  jesse | 2005-03-27 12:05:27 -0500
- * Record Message-Id when creating attachment records
-
-------------------------------------------------------------------------
-r2522 | jesse | 2005-03-27 04:14:15 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CurrentUser.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
- r10231@hualien:  jesse | 2005-03-27 17:12:44 +0800
- * More fixes for status messages broken in this morning's commit
-
-------------------------------------------------------------------------
-r2521 | jesse | 2005-03-27 02:40:16 -0500 (Sun, 27 Mar 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Header
-
- r10229@hualien:  jesse | 2005-03-27 15:39:30 +0800
- * Added ALT text for BPS corporate logo -- Suggested by Jedi during YAPC.TW 2005
-
-------------------------------------------------------------------------
-r2520 | jesse | 2005-03-27 02:01:20 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Login
-
- r10227@hualien:  jesse | 2005-03-27 15:00:51 +0800
- * Explicitly give the login box an id/name so passwords are not saved on user edit pages
-
-------------------------------------------------------------------------
-r2519 | jesse | 2005-03-27 01:43:55 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/RT_SiteConfig.pm
-
- r10225@hualien:  jesse | 2005-03-27 14:43:25 +0800
- * SiteConfig typofix
-
-------------------------------------------------------------------------
-r2518 | jesse | 2005-03-27 01:33:43 -0500 (Sun, 27 Mar 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/RT_SiteConfig.pm
-
- r10223@hualien:  jesse | 2005-03-27 14:33:12 +0800
- RT-Ticket: 6566
- RT-Status: resolved
- RT-Update: correspond
- * Added a bit of documentation to RT_SiteConfig.pm -- Thanks to David Glasser
-
-------------------------------------------------------------------------
-r2517 | jesse | 2005-03-27 01:16:07 -0500 (Sun, 27 Mar 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r10221@hualien:  jesse | 2005-03-27 14:15:36 +0800
- RT-Ticket: 6565
- RT-Status: resolved
- RT-Update: correspond
- * Overhauled README to be more correct, friendly and a bit cleaner
-
-------------------------------------------------------------------------
-r2516 | jesse | 2005-03-27 00:21:35 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r10211@hualien:  jesse | 2005-03-27 13:18:07 +0800
- * Updated RT::Transaction to return better Foo changed from "bar" to "baz" messages
-
-------------------------------------------------------------------------
-r2515 | jesse | 2005-03-27 00:21:16 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r10210@hualien:  jesse | 2005-03-27 13:17:02 +0800
- * Updated RT::Ticket->_Set to return more appropriate status messages
-
-------------------------------------------------------------------------
-r2514 | jesse | 2005-03-27 00:20:57 -0500 (Sun, 27 Mar 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
- r10209@hualien:  jesse | 2005-03-27 13:16:31 +0800
- * Updated RT::User regression tests to not expect a pristine database
- * Updated RT::User->_Set to return more apropriate results messages (no more listing the actor)
-
-------------------------------------------------------------------------
-r2513 | jesse | 2005-03-27 00:20:37 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-
- r10208@hualien:  jesse | 2005-03-27 13:14:57 +0800
- * Fixing tests to not depend on a deprecated API
-
-------------------------------------------------------------------------
-r2512 | jesse | 2005-03-27 00:20:19 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CachedGroupMember_Overlay.pm
-
- r10207@hualien:  jesse | 2005-03-27 13:13:26 +0800
- * Bugfixes to CachedGroupMember->SetDisabled unmasked by the RT::Record fixes
-
-------------------------------------------------------------------------
-r2511 | jesse | 2005-03-27 00:20:00 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
-   M /rt/branches/3.4-RELEASE/html/Elements/MessageBox
-   M /rt/branches/3.4-RELEASE/html/NoAuth/webrt.css
-   M /rt/branches/3.4-RELEASE/html/User/Prefs.html
-
- r10206@hualien:  jesse | 2005-03-27 13:11:53 +0800
- Improvements to big textareas to make sure they don't force browser windows to scroll.
-
-------------------------------------------------------------------------
-r2510 | jesse | 2005-03-27 00:19:40 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/index.html
-
- r10205@hualien:  jesse | 2005-03-27 13:10:21 +0800
- * Slightly better introductory text on user and queue listings
-
-------------------------------------------------------------------------
-r2509 | jesse | 2005-03-27 00:19:20 -0500 (Sun, 27 Mar 2005) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
- r10204@hualien:  jesse | 2005-03-27 13:08:01 +0800
- * Improved generic messages returned by RT::Record->_Set()
- * Corrected RT::Record->_Set to return a Class::ReturnValue, rather than butchering it
-   into an array. (This means that RT::Ticket->SetPriority can now be evaluated in boolean
-   or list context, like it was supposed to be)
-
-------------------------------------------------------------------------
-r2508 | jesse | 2005-03-27 00:19:01 -0500 (Sun, 27 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r10203@hualien:  jesse | 2005-03-27 13:01:43 +0800
- * Corrected HTTP::Server::Simple dependencies
-
-------------------------------------------------------------------------
-r2501 | jesse | 2005-03-23 21:29:28 -0500 (Wed, 23 Mar 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Update.html
-
- r9584@hualien:  jesse | 2005-03-24 10:28:28 +0800
- RT-Ticket: 6558
- RT-Status: resolved
- RT-Update: correspond
- * Removed an extra </td> tag. Thanks to Steve Turner
-
-------------------------------------------------------------------------
-r2488 | jesse | 2005-03-22 10:16:55 -0500 (Tue, 22 Mar 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
-
- r9555@hualien:  jesse | 2005-03-22 22:15:24 +0800
- * Properly set binmode for the standalone_httpd server. This makes
-   UTF8 text that could be misinterpreted as Latin1 behave correctly.
-
-------------------------------------------------------------------------
-r2487 | jesse | 2005-03-21 12:10:03 -0500 (Mon, 21 Mar 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/standalone_httpd.in
-   M /rt/branches/3.4-RELEASE/bin/webmux.pl.in
-   M /rt/branches/3.4-RELEASE/html/NoAuth/images/autohandler
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm
-   A /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Standalone.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/02basic_web.t
-   D /rt/branches/3.4-RELEASE/lib/t/regression/03basic_web.t
-   A /rt/branches/3.4-RELEASE/lib/t/regression/03web_compiliation_errors.t
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r9502@hualien:  jesse | 2005-03-22 01:07:59 +0800
- * Refactored standalone_httpd to use HTTP::Server::Simple::Mason
- * Moved some configuration from webmux.pl to RT::Interface::Web::Handler
- * Split apart some of the web tests for better isolation
-
-------------------------------------------------------------------------
-r2477 | jesse | 2005-03-16 03:09:00 -0500 (Wed, 16 Mar 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r8808@hualien:  jesse | 2005-03-16 03:07:57 -0500
- RT-Ticket: 6537
- RT-Status: resolved
- Explicit transaction description for changed passwords
-
-------------------------------------------------------------------------
-r2476 | jesse | 2005-03-16 03:08:55 -0500 (Wed, 16 Mar 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r2475 | jesse | 2005-03-16 03:08:32 -0500 (Wed, 16 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/index.html
-
- r8746@hualien:  jesse | 2005-03-15 01:07:30 -0500
- Refactored the top-level admin menu to make it easier to add and remove options
-
-------------------------------------------------------------------------
-r2474 | alexmv | 2005-03-16 02:53:59 -0500 (Wed, 16 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- * Users and groups can have transactions; ShowTicket isn't needed to
-   see these
-
-------------------------------------------------------------------------
-r2354 | jesse | 2005-03-14 02:22:36 -0500 (Mon, 14 Mar 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditCustomFields
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Groups.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Tickets.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Transactions.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Users.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/CustomFields.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/CustomFields.html
-
- r8456@hualien:  jesse | 2005-03-14 02:20:50 -0500
- Overhaul of custom field editing code to make it easier to add custom fields 
- for new object types
-
-------------------------------------------------------------------------
-r2353 | jesse | 2005-03-14 01:38:58 -0500 (Mon, 14 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/NoAuth/webrt.css
-
- r8453@hualien:  jesse | 2005-03-14 01:37:00 -0500
- Hilighted menu options are now the right size
-
-------------------------------------------------------------------------
-r2350 | jesse | 2005-03-14 01:31:33 -0500 (Mon, 14 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/NoAuth/webrt.css
-
- r8450@hualien:  jesse | 2005-03-14 01:30:59 -0500
- Slight style cleanup to page actions. 
-
-------------------------------------------------------------------------
-r2343 | jesse | 2005-03-11 20:17:02 -0500 (Fri, 11 Mar 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrips_Overlay.pm
-
- r6769@hualien:  jesse | 2005-03-11 20:16:42 -0500
- Now when running scrips on a disabled queue, run global scrips as well as per-queue scrips.
-
-------------------------------------------------------------------------
-r2332 | jesse | 2005-03-09 17:25:25 -0500 (Wed, 09 Mar 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r6651@hualien:  jesse | 2005-03-09 17:23:54 -0500
- RT-Ticket: 6459
- RT-Status: resolved
- RT-Update: correspond
- Sanity fixes for _AddLink's API from Todd Chapman
-
-------------------------------------------------------------------------
-r2313 | jesse | 2005-03-07 16:03:05 -0500 (Mon, 07 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/Objects.html
-
- r6568@hualien:  jesse | 2005-03-07 16:01:44 -0500
- Adding support for selecting custom fields for RTFM objects
-
-------------------------------------------------------------------------
-r2306 | jesse | 2005-03-06 17:33:52 -0500 (Sun, 06 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Row
-
- r6473@hualien:  jesse | 2005-03-06 16:04:46 -0500
- Small cleanups to print out less hardcoded style information (introduced by the pull-up from 3.2)
-
-------------------------------------------------------------------------
-r2305 | jesse | 2005-03-06 17:33:46 -0500 (Sun, 06 Mar 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-
- r6465@hualien:  jesse | 2005-03-06 15:00:29 -0500
-  r6450@hualien:  jesse | 2005-03-06 12:44:27 -0500
-  RT-Ticket: 6496
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Content-Transfer-Encoding should have been '8bit' not '8-bit'
-
-------------------------------------------------------------------------
-r2304 | jesse | 2005-03-06 17:33:37 -0500 (Sun, 06 Mar 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/aclocal.m4
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransactionAttachments
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-
- r6464@hualien:  jesse | 2005-03-06 15:00:23 -0500
-  r6371@hualien:  jesse | 2005-03-05 19:29:35 -0500
-   r3963@hualien (orig r2142):  jesse | 2005-01-30 12:45:15 -0500
-   When we can't load a user by email address, make sure we can't load that user by name before returning an error
-  
-
-------------------------------------------------------------------------
-r2303 | jesse | 2005-03-06 17:33:17 -0500 (Sun, 06 Mar 2005) | 10 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r6462@hualien:  jesse | 2005-03-06 14:57:07 -0500
-  r4715@hualien:  jesse | 2005-02-15 12:34:54 -0500
-  RT-Ticket: 6443
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Ticket Searches on AdminCc would fail on non-mysql databases due to a case error
-  
-
-------------------------------------------------------------------------
-r2302 | jesse | 2005-03-06 17:33:10 -0500 (Sun, 06 Mar 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/lib/RT/I18N/pl.po
-
- r6461@hualien:  jesse | 2005-03-06 14:57:03 -0500
-  r4070@hualien:  jesse | 2005-02-03 11:22:59 -0500
-  Polish Translation from Piotr Sliwa
-  
-  
-
-------------------------------------------------------------------------
-r2301 | jesse | 2005-03-06 17:33:00 -0500 (Sun, 06 Mar 2005) | 13 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay_SQL.pm
-
- r6459@hualien:  jesse | 2005-03-06 14:55:49 -0500
-  r3935@hualien:  jesse | 2005-01-26 12:15:42 -0500
-  RT-Ticket: 6378
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Added a flag to allow tools to use the RT API to search for deleted tickets.
-  (Ruslan)
-  
-  
-  
-
-------------------------------------------------------------------------
-r2300 | jesse | 2005-03-06 17:32:39 -0500 (Sun, 06 Mar 2005) | 17 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r6457@hualien:  jesse | 2005-03-06 14:55:20 -0500
-  r2575@hualien:  jesse | 2005-01-06 17:15:39 -0500
-  RT-Ticket: 6327
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Users who had "DeleteTicket" but not "ModifyTicket" could not delete tickets.
-  
-  This is introduced because "Ticket::SetStatus" checks the ACL but 
-  forgets to tell "Ticket::_Set" NOT to check (which does check again, but 
-  only against the 'ModifyTicket' right, and thus denies the change).
-  
-      Thanks to Ruediger Riediger
-  
-  
-
-------------------------------------------------------------------------
-r2299 | jesse | 2005-03-06 17:32:31 -0500 (Sun, 06 Mar 2005) | 11 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-
- r6456@hualien:  jesse | 2005-03-06 14:55:05 -0500
-  r2573@hualien:  jesse | 2005-01-06 17:10:02 -0500
-  RT-Ticket: 6322
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  New French translation from robitail@iro.umontreal.ca 
-  
-  
-
-------------------------------------------------------------------------
-r2298 | jesse | 2005-03-06 17:32:18 -0500 (Sun, 06 Mar 2005) | 19 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/ParseFormat
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.4-RELEASE/html/Elements/RT__Ticket/ColumnMap
-
- r6454@hualien:  jesse | 2005-03-06 14:53:48 -0500
-  r2568@hualien:  jesse | 2005-01-06 16:57:40 -0500
-  RT-Ticket: 6336
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  
-  The attribute "align" in COLUMN_MAP wasn't usable, because it could not be
-  used for a complete column, so I added a /ALIGN:.. section in 
-  CollectionAsTable/ParseFormat and use it in Row.
-  
-  There also was a minor error to be corrected, since the old variant of 
-  ParseFormat did not allow more than one /ANYTHING:... to be use (in my 
-  example /TITLE:.../ALIGN:...)  --Dirk Pape
-  
-  
-  
-
-------------------------------------------------------------------------
-r2297 | jesse | 2005-03-06 17:32:12 -0500 (Sun, 06 Mar 2005) | 11 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/autohandler
-
- r6453@hualien:  jesse | 2005-03-06 14:53:44 -0500
-  r2567@hualien:  jesse | 2005-01-06 16:37:01 -0500
-  RT-Ticket: 6338
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Force UTF8 content type on replies from RT's REST interface (Thanks to Dirk Pape)
-  
-  
-
-------------------------------------------------------------------------
-r2296 | jesse | 2005-03-06 17:32:05 -0500 (Sun, 06 Mar 2005) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
-
- r6452@hualien:  jesse | 2005-03-06 14:53:41 -0500
-  r2514@hualien:  jesse | 2004-12-29 14:43:06 -0500
-  Updated Attachment import code to take database-specific lob encoding into account
-  
-  
-
-------------------------------------------------------------------------
-r2286 | jesse | 2005-03-05 20:11:59 -0500 (Sat, 05 Mar 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-
-
-------------------------------------------------------------------------
-r2285 | jesse | 2005-03-05 20:11:52 -0500 (Sat, 05 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/docs/design_docs/realflow.txt
-   A /rt/branches/3.4-RELEASE/docs/design_docs/rt-mvc
-
- r6290@hualien:  jesse | 2005-03-05 19:06:54 -0500
- random design docs
-
-------------------------------------------------------------------------
-r2281 | jesse | 2005-03-05 17:06:33 -0500 (Sat, 05 Mar 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ACL_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/18stale_delegations_cleanup.t
-
- r6277@hualien:  jesse | 2005-03-05 17:06:08 -0500
- RT-Ticket: 6184
- RT-Status: resolved
- RT-Update: correspond
- Much better coverage of delegation revocation when users' group memberships are changed - Mike Whitson (BPS)
-
-------------------------------------------------------------------------
-r2280 | jesse | 2005-03-05 16:10:34 -0500 (Sat, 05 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
- r6272@hualien:  jesse | 2005-03-05 16:08:36 -0500
- Better support for loading custom fields by name
-
-------------------------------------------------------------------------
-r2275 | mwhitson | 2005-03-03 13:55:06 -0500 (Thu, 03 Mar 2005) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/ACE_Overlay.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/17multiple_deleg_revocation.t
-
-RT-Ticket: 6482
-RT-Status: resolved
-RT-Update: correspond
-Fix incorrect loop exit test in RT::ACE::_Delete such that multiply delegated ACEs are all
-cleaned up when the parent ACE is revoked.
-
-------------------------------------------------------------------------
-r2274 | mwhitson | 2005-03-03 12:34:13 -0500 (Thu, 03 Mar 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/lib/RT/Group_Overlay.pm
-
-rt-ticket: 6450
-rt-status: resolved
-rt-update: correspond
-Correct inaccurate POD for RT::Group::MembersObj and DeepMembersObj.
-
-------------------------------------------------------------------------
-r2271 | jesse | 2005-03-01 15:24:42 -0500 (Tue, 01 Mar 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r6108@hualien:  jesse | 2005-03-01 15:20:28 -0500
- * 'LimitLinkedFrom' in RT::Tickets didn't work due to a typo. Fixed.
-
-------------------------------------------------------------------------
-r2266 | jesse | 2005-02-27 19:02:44 -0500 (Sun, 27 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-
- r6061@hualien:  jesse | 2005-02-27 18:58:48 -0500
- RT::Transaction->Delete implemented. (for RTFM)
-
-------------------------------------------------------------------------
-r2263 | jesse | 2005-02-24 17:52:18 -0500 (Thu, 24 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-
- r5948@hualien:  jesse | 2005-02-24 16:47:52 -0500
- Custom Field API extension and cleanup to allow new objects to use custom fields. (No backwards-incompat changes)
-
-------------------------------------------------------------------------
-r2262 | jesse | 2005-02-24 17:51:53 -0500 (Thu, 24 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/index.html
-
- r5947@hualien:  jesse | 2005-02-24 16:46:11 -0500
- Refactoring Custom Field admin UI for extensibility
-
-------------------------------------------------------------------------
-r2261 | jesse | 2005-02-24 17:51:28 -0500 (Thu, 24 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ObjectCustomFields
-
- r5946@hualien:  jesse | 2005-02-24 16:44:28 -0500
- Refactoring Custom Field admin UI for extensibility
-
-------------------------------------------------------------------------
-r2260 | jesse | 2005-02-24 17:51:01 -0500 (Thu, 24 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditCustomFields
-
- r5945@hualien:  jesse | 2005-02-24 16:43:36 -0500
- Minor stylistic cleanups for web components
-
-------------------------------------------------------------------------
-r2259 | jesse | 2005-02-24 17:01:23 -0500 (Thu, 24 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields
-
- r5944@hualien:  jesse | 2005-02-24 16:43:05 -0500
- Minor stylistic cleanups for web components
-
-------------------------------------------------------------------------
-r2258 | jesse | 2005-02-24 17:00:58 -0500 (Thu, 24 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/16-transaction_cf_tests.t
-
- r5943@hualien:  jesse | 2005-02-24 16:42:01 -0500
- Upgraded a private _LookupTypes method to a public CustomFieldUpdateTypes method to make it easier to ad  custom fields to other objects
-
-------------------------------------------------------------------------
-r2257 | jesse | 2005-02-24 16:50:52 -0500 (Thu, 24 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/configure.ac
-
- r5942@hualien:  jesse | 2005-02-24 16:31:48 -0500
-     * Have the configure script default to the web group for the RT group if no rt group exists or is specified
-
-------------------------------------------------------------------------
-r2254 | jesse | 2005-02-24 15:13:10 -0500 (Thu, 24 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/configure.ac
-
- r5932@hualien:  jesse | 2005-02-24 15:09:27 -0500
- Robert added new functionality to support autodetection of RT and Web users in ./configure
-
-------------------------------------------------------------------------
-r2249 | jesse | 2005-02-22 16:39:49 -0500 (Tue, 22 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/16-transaction_cf_tests.t
-
- r5747@hualien:  jesse | 2005-02-22T21:33:09.438624Z
- Better transaction UpdateCustomFields API
-
-------------------------------------------------------------------------
-r2238 | jesse | 2005-02-15 12:36:54 -0500 (Tue, 15 Feb 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r4714@hualien:  jesse | 2005-02-15T17:34:26.880496Z
- RT-Ticket: 6443
- RT-Status: resolved
- RT-Update: correspond
- Ticket Searches on AdminCc would fail on non-mysql databases due to a case error
-
-------------------------------------------------------------------------
-r2235 | jesse | 2005-02-15 11:57:54 -0500 (Tue, 15 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r4711@hualien:  jesse | 2005-02-15T16:19:52.970993Z
- Bumping to 3.4.1
-
-------------------------------------------------------------------------
-r2234 | jesse | 2005-02-15 11:57:44 -0500 (Tue, 15 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r4710@hualien:  jesse | 2005-02-15T16:18:22.880530Z
- Updated 2.0 upgrade instructions
-
-------------------------------------------------------------------------
-r2233 | jesse | 2005-02-14 11:17:52 -0500 (Mon, 14 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   D /rt/branches/3.4-RELEASE/lib/RT/I18N/en_malkovich.po
-
- r4703@hualien:  jesse | 2005-02-14T15:56:23.506986Z
- Removed broken Malkovich translation
-
-------------------------------------------------------------------------
-r2232 | jesse | 2005-02-14 11:17:43 -0500 (Mon, 14 Feb 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-
- r4702@hualien:  jesse | 2005-02-14T15:56:02.798500Z
- Updated German translation from Torsten Brumm
-
-------------------------------------------------------------------------
-r2231 | jesse | 2005-02-13 23:43:57 -0500 (Sun, 13 Feb 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/standalone_httpd.in
-
- r4697@hualien:  jesse | 2005-02-14T04:42:05.489259Z
- * Standalone HTTP Daemon now deals properly with unicode input/output
-
-------------------------------------------------------------------------
-r2230 | jesse | 2005-02-13 23:43:44 -0500 (Sun, 13 Feb 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-
- r4696@hualien:  jesse | 2005-02-14T04:06:07.158818Z
- RT-Ticket: 6429
- RT-Update: correspond
- RT-Status: resolved
- Updated Italian translation from Angelo Turetta. Thanks!
-
-------------------------------------------------------------------------
-r2229 | jesse | 2005-02-13 23:43:33 -0500 (Sun, 13 Feb 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Row
-
- r4695@hualien:  jesse | 2005-02-14T04:04:07.657861Z
- Fix for issues with words with Umlauts in search result listings
-
-------------------------------------------------------------------------
-r2228 | jesse | 2005-02-13 22:39:44 -0500 (Sun, 13 Feb 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/webmux.pl.in
-
- r4692@hualien:  jesse | 2005-02-14T03:38:09.047131Z
- Disabled automatic clearing of mason component cache on start with FastCGI. It doesn't work properly in the multiprocess
- environment.
-
-------------------------------------------------------------------------
-r2227 | jesse | 2005-02-13 22:39:37 -0500 (Sun, 13 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/rt-crontool.in
-
- r4691@hualien:  jesse | 2005-02-14T03:37:15.362723Z
- The crontool was using local and system libs in the wrong order
-
-------------------------------------------------------------------------
-r2226 | jesse | 2005-02-13 22:32:27 -0500 (Sun, 13 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/UserRights.html
-
- r4689@hualien:  jesse | 2005-02-14T03:30:20.309679Z
- A typo prevented users from being able to revoke other users'  rights on custom fields
-
-------------------------------------------------------------------------
-r2224 | jesse | 2005-02-11 16:52:07 -0500 (Fri, 11 Feb 2005) | 1 line
-Changed paths:
-   M /rt/branches/3.4-RELEASE/README
-
-README typo fix
-------------------------------------------------------------------------
-r2223 | jesse | 2005-02-10 22:04:55 -0500 (Thu, 10 Feb 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/ticket/attachments
-
- r4683@hualien:  jesse | 2005-02-11T03:00:33.383809Z
- Use the "OriginalContent" rather than our encoded one. this might make cli attachment downloads work better
-
-------------------------------------------------------------------------
-r2221 | jesse | 2005-02-10 17:11:33 -0500 (Thu, 10 Feb 2005) | 10 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-
- r4678@hualien:  jesse | 2005-02-10T22:10:29.492739Z
- RT-Ticket: 6406
- RT-Status: resolved
- RT-Update: correspond
- Query builder fixes for sites with multiple identically named custom fields
-
-------------------------------------------------------------------------
-r2220 | jesse | 2005-02-10 16:34:23 -0500 (Thu, 10 Feb 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-
- r4676@hualien:  jesse | 2005-02-10T21:33:19.355354Z
- RT-Ticket: 6364
- RT-Status: resolved
- RT-Update: corerspond
- Updated Czech translation
-
-------------------------------------------------------------------------
-r2219 | jesse | 2005-02-10 16:25:22 -0500 (Thu, 10 Feb 2005) | 11 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/Makefile.in
-   M /rt/branches/3.4-RELEASE/docs/design_docs/cvs_integration
-   M /rt/branches/3.4-RELEASE/docs/design_docs/link-definitions.txt
-   M /rt/branches/3.4-RELEASE/html/Search/Bulk.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/en_malkovich.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT.pm.in
-
- r4673@hualien:  jesse | 2005-02-10T21:24:02.076922Z
- RT-Ticket: 6379
- RT-Status: resolved
- RT-Update: correspond
- Correct a common spelling error:
- perl -pi.bak -e's/seperat/separat/g; s/Seperat/Separat/g;' $(find .)
-
-------------------------------------------------------------------------
-r2218 | jesse | 2005-02-10 16:25:10 -0500 (Thu, 10 Feb 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue_Overlay.pm
-
- r4672@hualien:  jesse | 2005-02-10T21:19:40.639192Z
- Fixes to handle large text custom fields gracefully
-
-------------------------------------------------------------------------
-r2217 | jesse | 2005-02-10 16:15:16 -0500 (Thu, 10 Feb 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-
- r4669@hualien:  jesse | 2005-02-10T21:11:24.084088Z
- RT-Ticket: 6418
- RT-Status: resolved
- RT-Update: correspond
- Applied new hungarian translation
-
-------------------------------------------------------------------------
-r2216 | jesse | 2005-02-10 16:15:06 -0500 (Thu, 10 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/ticket/history
-
- r4668@hualien:  jesse | 2005-02-10T20:54:30.684091Z
- removed effective ticket from history listing
-
-------------------------------------------------------------------------
-r2198 | jesse | 2005-02-08 12:27:46 -0500 (Tue, 08 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/RT__Ticket/ColumnMap
-
- r4644@hualien:  jesse | 2005-02-08T17:26:39.133201Z
- "Status" in ticket listings is now localized
-
-------------------------------------------------------------------------
-r2196 | jesse | 2005-02-07 12:22:50 -0500 (Mon, 07 Feb 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectStage
-
- r4103@hualien:  jesse | 2005-02-07T17:21:04.911429Z
- RT-Ticket: 6417
- RT-Status: resolved
- RT-Update: correspond
- Only show the TransactionBatch scrip stage if TransactionBatch
- scrips are enabled.  --Dave Rolsky
-
-------------------------------------------------------------------------
-r2195 | jesse | 2005-02-07 12:22:15 -0500 (Mon, 07 Feb 2005) | 10 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectScripAction
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectScripCondition
-   M /rt/branches/3.4-RELEASE/html/Elements/Submit
-   M /rt/branches/3.4-RELEASE/html/Ticket/Display.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowMessageStanza
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-
- r4102@hualien:  jesse | 2005-02-07T17:20:01.069833Z
- RT-Ticket: 6415
- RT-Status: resolved
- RT-Update: correspond
- A bunch of small fixes to avoid minor warnings in the RT code. --Dave Rolsky
-
-------------------------------------------------------------------------
-r2194 | jesse | 2005-02-04 11:03:39 -0500 (Fri, 04 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/index.html
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowMemberships
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowMemberOf
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowReferences
-
- r4082@hualien:  jesse | 2005-02-04T16:03:07.513522Z
- Fixing some links that broke when RT was not installed at the server root
-
-------------------------------------------------------------------------
-r2193 | jesse | 2005-02-03 12:27:23 -0500 (Thu, 03 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectOwner
-
- r4075@hualien:  jesse | 2005-02-03T17:27:08.548583Z
- SelectOwner was displaying "Nobody" twice due to smarter backend code that broke the not-so-smart frontend. Fixed the frontend.
-
-------------------------------------------------------------------------
-r2150 | jesse | 2005-02-01 09:42:31 -0500 (Tue, 01 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r3972@hualien:  jesse | 2005-02-01T14:36:00.190124Z
- 3.4.0
-
-------------------------------------------------------------------------
-r2149 | jesse | 2005-02-01 09:42:14 -0500 (Tue, 01 Feb 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r3971@hualien:  jesse | 2005-02-01T14:35:45.436824Z
- Bumping SearchBuilder dependency to 1.21
-
-------------------------------------------------------------------------
-r2148 | jesse | 2005-02-01 09:41:54 -0500 (Tue, 01 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r3970@hualien:  jesse | 2005-02-01T14:21:00.328018Z
- Merge reverted a date in the README
-
-------------------------------------------------------------------------
-r2147 | jesse | 2005-02-01 09:20:40 -0500 (Tue, 01 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/Makefile.in
-   M /rt/branches/3.4-RELEASE/README
-   M /rt/branches/3.4-RELEASE/bin/mason_handler.fcgi.in
-   M /rt/branches/3.4-RELEASE/bin/mason_handler.scgi.in
-   M /rt/branches/3.4-RELEASE/bin/mason_handler.svc.in
-   M /rt/branches/3.4-RELEASE/bin/rt-crontool.in
-   M /rt/branches/3.4-RELEASE/bin/rt-mailgate.in
-   M /rt/branches/3.4-RELEASE/bin/rt.in
-   M /rt/branches/3.4-RELEASE/bin/standalone_httpd.in
-   M /rt/branches/3.4-RELEASE/bin/webmux.pl.in
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/GroupRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/Modify.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/Objects.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/UserRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/AddCustomFieldValue
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/CreateUserCalled
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/CustomFieldTabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditCustomField
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditCustomFieldValues
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditCustomFields
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditQueueWatchers
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrip
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditScrips
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditTemplates
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/EditUserComments
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/GlobalCustomFieldTabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/GroupTabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/Header
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ListGlobalCustomFields
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ListGlobalScrips
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ModifyTemplate
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ObjectCustomFields
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/PickCustomFields
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/PickObjects
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/QueueRightsForUser
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/QueueTabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectCustomFieldLookupType
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectCustomFieldType
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectGroups
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectModifyGroup
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectModifyQueue
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectModifyUser
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectNewGroupMembers
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectRights
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectScrip
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectScripAction
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectScripCondition
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectSingleOrMultiple
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectStage
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectTemplate
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SelectUsers
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/SystemTabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/ToolTabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/UserTabs
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Groups.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Tickets.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Queue-Transactions.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/Users.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/CustomFields/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/GroupRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/Scrip.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/Scrips.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/Template.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/Templates.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/UserRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Global/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/CustomFields.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/GroupRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/History.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/Members.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/Modify.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/UserRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Groups/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/CustomField.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/CustomFields.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/GroupRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/Modify.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/People.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/Scrip.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/Scrips.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/Template.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/Templates.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/UserRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Queues/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Tools/Configuration.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Tools/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/CustomFields.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/History.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/Memberships.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/Modify.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Users/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/autohandler
-   M /rt/branches/3.4-RELEASE/html/Admin/index.html
-   M /rt/branches/3.4-RELEASE/html/Approvals/Display.html
-   M /rt/branches/3.4-RELEASE/html/Approvals/Elements/Approve
-   M /rt/branches/3.4-RELEASE/html/Approvals/Elements/PendingMyApproval
-   M /rt/branches/3.4-RELEASE/html/Approvals/Elements/ShowDependency
-   M /rt/branches/3.4-RELEASE/html/Approvals/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/html/Approvals/index.html
-   M /rt/branches/3.4-RELEASE/html/Download/CustomFieldValue/dhandler
-   M /rt/branches/3.4-RELEASE/html/Download/Tabular/dhandler
-   M /rt/branches/3.4-RELEASE/html/Elements/BevelBoxRaisedEnd
-   M /rt/branches/3.4-RELEASE/html/Elements/BevelBoxRaisedStart
-   M /rt/branches/3.4-RELEASE/html/Elements/Callback
-   M /rt/branches/3.4-RELEASE/html/Elements/Checkbox
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Header
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/ParseFormat
-   M /rt/branches/3.4-RELEASE/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.4-RELEASE/html/Elements/CreateTicket
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomField
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldBinary
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldFreeform
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldImage
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldSelect
-   M /rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldText
-   M /rt/branches/3.4-RELEASE/html/Elements/EditLinks
-   M /rt/branches/3.4-RELEASE/html/Elements/Error
-   M /rt/branches/3.4-RELEASE/html/Elements/Footer
-   M /rt/branches/3.4-RELEASE/html/Elements/GotoTicket
-   M /rt/branches/3.4-RELEASE/html/Elements/Header
-   M /rt/branches/3.4-RELEASE/html/Elements/ListActions
-   M /rt/branches/3.4-RELEASE/html/Elements/Login
-   M /rt/branches/3.4-RELEASE/html/Elements/Menu
-   M /rt/branches/3.4-RELEASE/html/Elements/MessageBox
-   M /rt/branches/3.4-RELEASE/html/Elements/MyRequests
-   M /rt/branches/3.4-RELEASE/html/Elements/MyTickets
-   M /rt/branches/3.4-RELEASE/html/Elements/PageLayout
-   M /rt/branches/3.4-RELEASE/html/Elements/QueryString
-   M /rt/branches/3.4-RELEASE/html/Elements/QuickCreate
-   M /rt/branches/3.4-RELEASE/html/Elements/Quicksearch
-   M /rt/branches/3.4-RELEASE/html/Elements/RT__Ticket/ColumnMap
-   M /rt/branches/3.4-RELEASE/html/Elements/Refresh
-   M /rt/branches/3.4-RELEASE/html/Elements/ScrubHTML
-   M /rt/branches/3.4-RELEASE/html/Elements/Section
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectAttachmentField
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectBoolean
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectCustomFieldOperator
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectCustomFieldValue
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectDate
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectDateRelation
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectDateType
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectEqualityOperator
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectGroups
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectLang
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectLinkType
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectMatch
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectNewTicketQueue
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectOwner
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectQueue
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectResultsPerPage
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectSortOrder
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectStatus
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectTicketSortBy
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectTicketTypes
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectUsers
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectWatcherType
-   M /rt/branches/3.4-RELEASE/html/Elements/SetupSessionCookie
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFieldImage
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowCustomFields
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowLink
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowLinks
-   M /rt/branches/3.4-RELEASE/html/Elements/ShowMemberships
-   M /rt/branches/3.4-RELEASE/html/Elements/SimpleSearch
-   M /rt/branches/3.4-RELEASE/html/Elements/Submit
-   M /rt/branches/3.4-RELEASE/html/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/html/Elements/TicketList
-   M /rt/branches/3.4-RELEASE/html/Elements/TitleBox
-   M /rt/branches/3.4-RELEASE/html/Elements/TitleBoxEnd
-   M /rt/branches/3.4-RELEASE/html/Elements/TitleBoxStart
-   M /rt/branches/3.4-RELEASE/html/NoAuth/Logout.html
-   M /rt/branches/3.4-RELEASE/html/NoAuth/Reminder.html
-   M /rt/branches/3.4-RELEASE/html/NoAuth/webrt.css
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/queue/default
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/queue/ns
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/ticket/attachments
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/ticket/default
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/ticket/history
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/ticket/links
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/user/default
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/Forms/user/ns
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/autohandler
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/dhandler
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/logout
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/search/dhandler
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/search/ticket
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/ticket/comment
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/ticket/link
-   M /rt/branches/3.4-RELEASE/html/REST/1.0/ticket/merge
-   M /rt/branches/3.4-RELEASE/html/Search/Build.html
-   M /rt/branches/3.4-RELEASE/html/Search/Bulk.html
-   M /rt/branches/3.4-RELEASE/html/Search/Edit.html
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/BuildFormatString
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/DisplayOptions
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/EditFormat
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/EditQuery
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/EditSearches
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/NewListActions
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/PickBasics
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/PickCFs
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/PickCriteria
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SearchPrivacy
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SelectAndOr
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SelectGroup
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SelectLinks
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SelectPersonType
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SelectSearchObject
-   M /rt/branches/3.4-RELEASE/html/Search/Elements/SelectSearchesForObjects
-   M /rt/branches/3.4-RELEASE/html/Search/Results.html
-   M /rt/branches/3.4-RELEASE/html/Search/Results.rdf
-   M /rt/branches/3.4-RELEASE/html/Search/Results.tsv
-   M /rt/branches/3.4-RELEASE/html/SelfService/Attachment/dhandler
-   M /rt/branches/3.4-RELEASE/html/SelfService/Closed.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/Create.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/CreateTicketInQueue.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/Display.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/Elements/GotoTicket
-   M /rt/branches/3.4-RELEASE/html/SelfService/Elements/Header
-   M /rt/branches/3.4-RELEASE/html/SelfService/Elements/MyRequests
-   M /rt/branches/3.4-RELEASE/html/SelfService/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/html/SelfService/Error.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/Prefs.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/Update.html
-   M /rt/branches/3.4-RELEASE/html/SelfService/index.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Attachment/dhandler
-   M /rt/branches/3.4-RELEASE/html/Ticket/Create.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Display.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/AddWatchers
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/BulkLinks
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditBasics
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditCustomFields
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditDates
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditPeople
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/EditWatchers
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/FindAttachments
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/LoadTextAttachments
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/PreviewScrips
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowAttachments
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowBasics
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowCustomFields
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowDates
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowDependencies
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowGroupMembers
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowHistory
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowMemberOf
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowMembers
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowMessageHeaders
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowMessageStanza
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowPeople
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowReferences
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowRequestor
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowSummary
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowTransactionAttachments
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowUserEntry
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/html/Ticket/History.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Modify.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/ModifyAll.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/ModifyDates.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/ModifyLinks.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/ModifyPeople.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/ShowEmailRecord.html
-   M /rt/branches/3.4-RELEASE/html/Ticket/Update.html
-   M /rt/branches/3.4-RELEASE/html/Tools/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/html/Tools/MyDay.html
-   M /rt/branches/3.4-RELEASE/html/Tools/Offline.html
-   M /rt/branches/3.4-RELEASE/html/User/Delegation.html
-   M /rt/branches/3.4-RELEASE/html/User/Elements/DelegateRights
-   M /rt/branches/3.4-RELEASE/html/User/Elements/GroupTabs
-   M /rt/branches/3.4-RELEASE/html/User/Elements/Tabs
-   M /rt/branches/3.4-RELEASE/html/User/Groups/Members.html
-   M /rt/branches/3.4-RELEASE/html/User/Groups/Modify.html
-   M /rt/branches/3.4-RELEASE/html/User/Groups/index.html
-   M /rt/branches/3.4-RELEASE/html/User/Prefs.html
-   M /rt/branches/3.4-RELEASE/html/autohandler
-   M /rt/branches/3.4-RELEASE/html/index.html
-   M /rt/branches/3.4-RELEASE/html/l
-   M /rt/branches/3.4-RELEASE/lib/RT/ACE.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ACL.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ACL_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/AutoOpen.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/Autoreply.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/EscalatePriority.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/Generic.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/Notify.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/NotifyAsComment.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/RecordComment.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/RecordCorrespondence.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/ResolveMembers.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/SetPriority.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Action/UserDefined.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachment.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachments.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attribute.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attribute_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attributes.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Attributes_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Base.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CachedGroupMember.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CachedGroupMember_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CachedGroupMembers.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CachedGroupMembers_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/AnyTransaction.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/BeforeDue.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/Generic.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/Overdue.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/OwnerChange.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/PriorityChange.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/PriorityExceeds.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/QueueChange.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/StatusChange.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Condition/UserDefined.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CurrentUser.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValue.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValues.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFieldValues_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFields.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Date.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/EmailParser.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Group.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/GroupMember.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/GroupMembers.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/GroupMembers_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Groups.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Handle.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/i_default.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/CLI.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email/Auth/GnuPG.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email/Auth/MailFrom.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email/Filter/SpamAssassin.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/REST.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Link.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Link_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Links.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Links_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomField.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFields.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ObjectCustomFields_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Principal.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Principals.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Principals_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queues.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Queues_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrip.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripActions.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripActions_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripCondition.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripConditions.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/ScripConditions_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrips.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Scrips_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Search/ActiveTicketsInQueue.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Search/FromSQL.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Search/Generic.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/SearchBuilder.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/System.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Template.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Template_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Templates.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Templates_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transactions.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/URI/base.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/URI.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/User.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/User_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Users.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Users_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT.pm.in
-   M /rt/branches/3.4-RELEASE/sbin/extract-message-catalog
-   M /rt/branches/3.4-RELEASE/sbin/extract_pod_tests
-   M /rt/branches/3.4-RELEASE/sbin/factory
-   M /rt/branches/3.4-RELEASE/sbin/regression_harness
-   M /rt/branches/3.4-RELEASE/sbin/rt-dump-database.in
-   M /rt/branches/3.4-RELEASE/sbin/rt-setup-database.in
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r3962@hualien:  jesse | 2005-02-01T14:05:26.980011Z
- reran license tagger
-
-------------------------------------------------------------------------
-r2146 | jesse | 2005-02-01 09:13:05 -0500 (Tue, 01 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/cs.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/da.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/de.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/en_malkovich.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/es.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fi.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/fr.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/he.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/hu.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/it.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ja.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/nl.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/no.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/ru.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.4-RELEASE/lib/RT/I18N/zh_tw.po
-   M /rt/branches/3.4-RELEASE/sbin/license_tag
-
- r3961@hualien:  jesse | 2005-02-01T14:03:42.493372Z
- Message catalogs updated
-
-------------------------------------------------------------------------
-r2145 | jesse | 2005-02-01 09:12:39 -0500 (Tue, 01 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r3960@hualien:  jesse | 2005-02-01T13:59:42.556416Z
- Tiny readme style fixes
-
-------------------------------------------------------------------------
-r2144 | jesse | 2005-02-01 09:11:23 -0500 (Tue, 01 Feb 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.Oracle
-   M /rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.Pg
-
- r3959@hualien:  jesse | 2005-02-01T13:55:00.555573Z
- Removing index changes from upgrade process that could break upgrades for some users
-
-------------------------------------------------------------------------
-r2131 | jesse | 2005-01-22 14:43:46 -0500 (Sat, 22 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r3924@hualien:  jesse | 2005-01-22T19:34:52.453359Z
- Bumped to 3.4.0rc6
-
-------------------------------------------------------------------------
-r2123 | jesse | 2005-01-22 11:57:23 -0500 (Sat, 22 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r3910@hualien:  jesse | 2005-01-22T16:06:58.731752Z
- Custom field searches should only search on values that haven't been deleted
-
-------------------------------------------------------------------------
-r2122 | jesse | 2005-01-22 11:57:11 -0500 (Sat, 22 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/15cf_single_values_are_single.t
-
- r3909@hualien:  jesse | 2005-01-22T15:42:46.936767Z
- Bullet-proofing for custom fields with a set but limited number of values
-
-------------------------------------------------------------------------
-r2121 | jesse | 2005-01-22 11:57:01 -0500 (Sat, 22 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r3907@hualien:  jesse | 2005-01-22T14:48:14.100308Z
- TicketSQL search fixes, especially to Custom field operations
-
-------------------------------------------------------------------------
-r2120 | jesse | 2005-01-22 11:53:50 -0500 (Sat, 22 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/RT__Ticket/ColumnMap
-
- r3904@hualien:  jesse | 2005-01-22T13:00:19.775653Z
- The column map callback was broken by performance work
-
-------------------------------------------------------------------------
-r2119 | jesse | 2005-01-22 06:26:14 -0500 (Sat, 22 Jan 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/content
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.11/acl.Oracle
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.11/acl.Pg
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.11/acl.SQLite
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.11/acl.mysql
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.11/content
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.11/schema.Oracle
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.11/schema.SQLite
-   M /rt/branches/3.4-RELEASE/sbin/rt-setup-database.in
-
- r3902@hualien:  jesse | 2005-01-22T11:21:43.212477Z
- RT-Ticket: 6366
- RT-Update: correspond
- Cleaned up the upgrade procedure to give better messages on success. Added content so it won't bomb out on errors for the 3.4 upgrades.
- (We could have altered the script to not error out on missing content, but that would obscure errors where the user flubbed the path.
-
-------------------------------------------------------------------------
-r2116 | jesse | 2005-01-19 17:20:57 -0500 (Wed, 19 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/configure.ac
-
- r3893@hualien:  jesse | 2005-01-19T18:39:39.850646Z
- Updated version number used by development builds to note that this is the 3.4 series
-
-------------------------------------------------------------------------
-r2115 | jesse | 2005-01-19 17:20:48 -0500 (Wed, 19 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Attachment_Overlay.pm
-
- r3892@hualien:  jesse | 2005-01-19T18:38:38.233900Z
- Added better error checking for attachment insertion failure. (This unmasked more instances of oracle brokenness)
-
-------------------------------------------------------------------------
-r2114 | jesse | 2005-01-19 17:20:39 -0500 (Wed, 19 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/t/regression/03basic_web.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/06mailgateway.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/09record_cf_api.t
-
- r3891@hualien:  jesse | 2005-01-19T18:31:15.604733Z
- Minor formatting cleanups to tests
-
-------------------------------------------------------------------------
-r2113 | jesse | 2005-01-18 10:46:48 -0500 (Tue, 18 Jan 2005) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/SelectOwner
-   M /rt/branches/3.4-RELEASE/lib/RT/Users_Overlay.pm
-
- r3885@hualien:  jesse | 2005-01-18T15:02:02.574134Z
- Reimplemented RT::Users->WhoHaveRights to remove O(n^2) SQL calls. (That means it's faster now)
- Reimplemented SelectOwner widget to take advantage of the new WhoHaveRights
-
-------------------------------------------------------------------------
-r2112 | jesse | 2005-01-18 10:46:21 -0500 (Tue, 18 Jan 2005) | 8 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
-
- r3884@hualien:  jesse | 2005-01-18T14:59:19.630164Z
- RT-Ticket: 6352
- RT-Status: resolved
- RT-Update: correspond
- Fix an invalid custom field acl check
-
-------------------------------------------------------------------------
-r2109 | tla | 2005-01-17 20:53:10 -0500 (Mon, 17 Jan 2005) | 4 lines
-Changed paths:
-   A /rt/branches/3.4-RELEASE/lib/t/create_data.pl
-
-A script to automate testing data creation.  Requires a new CPAN module,
-Text::Lorem.  Work in progress.
-
-
-------------------------------------------------------------------------
-r2072 | jesse | 2005-01-13 02:02:25 -0500 (Thu, 13 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/README
-
-Removed a reference to NIS
-
-
-------------------------------------------------------------------------
-r2071 | jesse | 2005-01-12 18:39:03 -0500 (Wed, 12 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/docs/rt3-schema-relationships.dot
-
-RT3.4 schema diagram corrected and updated.
-
-
-------------------------------------------------------------------------
-r2070 | jesse | 2005-01-11 18:58:03 -0500 (Tue, 11 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/README
-
-Readme update to note that manual installation of Apache::DBI may be required.
-
-
-------------------------------------------------------------------------
-r2069 | zev | 2005-01-11 18:49:19 -0500 (Tue, 11 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE/Makefile.in
-   M /rt/branches/3.4-RELEASE/etc/RT_Config.pm.in
-
-Fixed spelling and grammar mistakes in etc/RT_Config.pm.in
-Added some documentation and fixed whitespace in Makefile.in
-
-------------------------------------------------------------------------
-r2065 | jesse | 2005-01-11 00:02:58 -0500 (Tue, 11 Jan 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r2678@hualien:  jesse | 2005-01-11T06:37:57.777661Z
- Bumped to rc5
-
-------------------------------------------------------------------------
-r2064 | jesse | 2005-01-10 23:54:09 -0500 (Mon, 10 Jan 2005) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/14merge.t
-
- r2669@hualien:  jesse | 2005-01-11T06:23:33.161490Z
- Merging tickets with the same link could cause postgres to complain. Fixed. merged.
-
-------------------------------------------------------------------------
-r2060 | jesse | 2005-01-08 18:46:21 -0500 (Sat, 08 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r2642@hualien:  jesse | 2005-01-08T23:42:31.639282Z
- 3.4.0rc4
-
-------------------------------------------------------------------------
-r2059 | jesse | 2005-01-08 18:44:03 -0500 (Sat, 08 Jan 2005) | 9 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-   M /rt/branches/3.4-RELEASE/lib/RT/Attributes_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/13-attribute-tests.t
-   M /rt/branches/3.4-RELEASE/sbin/rt-test-dependencies.in
-
- r2640@hualien:  jesse | 2005-01-08T23:32:05.453370Z
- Kevin Chen reported issues with Attributes not being properly deleted from the 
- ticket update screen. Alex Vandiver wrote new tests to illustrate the behaviour.
- This unearthed bugs in RT's attribute handling as well as DBIx::SearchBuilder.
-
-------------------------------------------------------------------------
-r2055 | jesse | 2005-01-07 22:40:01 -0500 (Fri, 07 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r2633@hualien:  jesse | 2005-01-08T03:37:18.260832Z
- Bumping to 3.4.0rc3
-
-------------------------------------------------------------------------
-r2054 | jesse | 2005-01-07 22:39:55 -0500 (Fri, 07 Jan 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-   A /rt/branches/3.4-RELEASE/lib/t/regression/12-search.t
-
- r2632@hualien:  jesse | 2005-01-08T03:36:49.431347Z
- Revision 1977 was a bogus merge. Revert that. Add new tests to catch the failing behaviour
-
-------------------------------------------------------------------------
-r2045 | jesse | 2005-01-06 16:01:06 -0500 (Thu, 06 Jan 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r2555@hualien:  jesse | 2005-01-06T20:56:22.389566Z
- Bumping to rc2
-
-------------------------------------------------------------------------
-r2044 | jesse | 2005-01-06 16:00:57 -0500 (Thu, 06 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/t/regression/04send_email.t
-   M /rt/branches/3.4-RELEASE/lib/t/regression/06mailgateway.t
-
- r2543@hualien:  jesse | 2005-01-06T07:08:12.346569Z
- no longer hardcode paths in tests
-
-------------------------------------------------------------------------
-r2041 | jesse | 2005-01-05 00:34:02 -0500 (Wed, 05 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Record.pm
-   M /rt/branches/3.4-RELEASE/lib/t/regression/03basic_web.t
-
- r2539@hualien:  jesse | 2005-01-05T05:31:36.967112Z
- Better handling of Content that comes out of the database as utf8 (Such as with DBD::Oracle 1.16)
-
-------------------------------------------------------------------------
-r2040 | jesse | 2005-01-04 00:18:06 -0500 (Tue, 04 Jan 2005) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-
- r2530@hualien:  jesse | 2005-01-04T05:15:35.757280Z
- a couple fixes for better handling ticket links on merge
-
-------------------------------------------------------------------------
-r2039 | jesse | 2005-01-04 00:17:52 -0500 (Tue, 04 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/lib/t/regression/11-template-insert.t
-
- r2528@hualien:  jesse | 2005-01-03T19:54:59.819442Z
- Added a test for a regression tickled by DBD::Oracle 1.16
-
-------------------------------------------------------------------------
-r2038 | jesse | 2005-01-04 00:17:42 -0500 (Tue, 04 Jan 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.mysql
-
- r2527@hualien:  jesse | 2005-01-03T19:52:28.164258Z
- Updated mysql schema upgrades to cope with ancient RT 3 instances which didn't have indexes we expect
-
-------------------------------------------------------------------------
-r2037 | jesse | 2005-01-04 00:17:29 -0500 (Tue, 04 Jan 2005) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.mysql
-
- r2526@hualien:  jesse | 2005-01-03T19:21:48.180206Z
- Workaround for missing mysql indexes
-
-------------------------------------------------------------------------
-r2036 | jesse | 2005-01-03 14:14:54 -0500 (Mon, 03 Jan 2005) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.Oracle
-
- r2524@hualien:  jesse | 2005-01-03T19:12:32.074066Z
- Oracle schema upgrades
-
-------------------------------------------------------------------------
-r2034 | jesse | 2004-12-29 15:41:21 -0500 (Wed, 29 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/GroupRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/Modify.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/Objects.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/UserRights.html
-   M /rt/branches/3.4-RELEASE/html/Admin/CustomFields/index.html
-   M /rt/branches/3.4-RELEASE/html/Admin/Elements/CustomFieldTabs
-
- r2520@hualien:  jesse | 2004-12-29T20:39:43.707258Z
- Custom field tab hilighting fixes.
-
-------------------------------------------------------------------------
-r2033 | jesse | 2004-12-29 14:45:54 -0500 (Wed, 29 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Handle.pm
-
- r2516@hualien:  jesse | 2004-12-29T19:44:09.437463Z
- Slightly updated encoding support for oracle
-
-------------------------------------------------------------------------
-r2032 | jesse | 2004-12-29 14:45:43 -0500 (Wed, 29 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/UPGRADING
-
- r2507@hualien:  jesse | 2004-12-23T22:31:20.362197Z
- Note about "OwnTickets" for Superusers
-
-------------------------------------------------------------------------
-r2030 | robert | 2004-12-28 01:37:51 -0500 (Tue, 28 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/configure.ac
-
- r2033@dog:  rspier | 2004-12-27 22:36:08 -0800
- RT 6331: configure spitting chmod errors
-
-------------------------------------------------------------------------
-r2029 | robert | 2004-12-28 01:37:47 -0500 (Tue, 28 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/NoAuth/webrt.css
-
- r2032@dog:  rspier | 2004-12-27 22:24:34 -0800
- fix css errors
-
-------------------------------------------------------------------------
-r2028 | robert | 2004-12-28 01:37:37 -0500 (Tue, 28 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Elements/Header
-
- r2031@dog:  rspier | 2004-12-27 21:46:34 -0800
- Only show the refresh tag if the refresh time is > 0.
- (Mozilla will perform a refresh=1 for refresh=-1)
-
-------------------------------------------------------------------------
-r2027 | robert | 2004-12-28 01:37:32 -0500 (Tue, 28 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/configure.ac
-
- r2030@dog:  rspier | 2004-12-27 21:05:44 -0800
- Whitespace tweak: use tabs consistently
-
-------------------------------------------------------------------------
-r2025 | jesse | 2004-12-22 02:06:35 -0500 (Wed, 22 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/etc/schema.Oracle
-
- r2504@hualien:  jesse | 2004-12-22T07:05:58.453205Z
- Oracle schema updates
-
-------------------------------------------------------------------------
-r2024 | jesse | 2004-12-21 17:11:39 -0500 (Tue, 21 Dec 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/html/Ticket/Elements/ShowHistory
-   M /rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.4-RELEASE/lib/RT/Transactions_Overlay.pm
-
- r2500@hualien:  jesse | 2004-12-21T22:06:43.378557Z
- Refactored RT's logic that limits sets of transactions to tickets to make it easier to reuse.
- Fixed bugs in searches for transactions related to multiple tickets.
-
-------------------------------------------------------------------------
-r2021 | jesse | 2004-12-21 00:32:15 -0500 (Tue, 21 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   A /rt/branches/3.4-RELEASE/lib/t/regression/10merge.t
-
- r2498@hualien:  jesse | 2004-12-21T05:27:21.459146Z
- Added a new regression test to validate some possibly bogus behaviour about merging tickets
-
-------------------------------------------------------------------------
-r2019 | jesse | 2004-12-20 21:44:53 -0500 (Mon, 20 Dec 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Tickets_Overlay.pm
-
- r2494@hualien:  jesse | 2004-12-21T02:40:37.522278Z
- Added back a 'package' declaration to Tickets_Overlay to enable automatic reload.
-
-------------------------------------------------------------------------
-r2018 | jesse | 2004-12-20 18:53:18 -0500 (Mon, 20 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/bin/mason_handler.fcgi.in
-
- r2492@hualien:  jesse | 2004-12-20T23:49:03.808597Z
- The FastCGI handler was missing a small bit of code to enable the devel mode "Module::Reload" feature.
-
-------------------------------------------------------------------------
-r2017 | jesse | 2004-12-20 18:33:50 -0500 (Mon, 20 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/t/regression/08web_cf_access.t
-
- r2489@hualien:  jesse | 2004-12-20T23:27:06.068915Z
- Inhibit a warning in 08_web_Cf_access.t
-
-------------------------------------------------------------------------
-r2015 | jesse | 2004-12-20 13:43:27 -0500 (Mon, 20 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   D /rt/branches/3.4-RELEASE/HOWTO
-
- r2485@hualien:  jesse | 2004-12-20T18:38:03.341344Z
- Blew away outdated releng documentation
-
-------------------------------------------------------------------------
-r2014 | jesse | 2004-12-20 13:42:57 -0500 (Mon, 20 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/README
-
- r2484@hualien:  jesse | 2004-12-20T18:37:10.098322Z
- minor readme updates
-
-------------------------------------------------------------------------
-r2013 | jesse | 2004-12-20 13:42:45 -0500 (Mon, 20 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/releng.cnf
-
- r2483@hualien:  jesse | 2004-12-20T18:35:10.597227Z
- updated releng.cnf to point to the new branch
-
-------------------------------------------------------------------------
-r2012 | jesse | 2004-12-20 13:25:47 -0500 (Mon, 20 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.4-RELEASE
-   M /rt/branches/3.4-RELEASE/lib/RT/Interface/Web.pm
-
- r2478@hualien:  jesse | 2004-12-20T18:18:05.386331Z
- The last merge had a missing brace
-
-------------------------------------------------------------------------
-r2010 | jesse | 2004-12-20 13:07:34 -0500 (Mon, 20 Dec 2004) | 2 lines
-Changed paths:
-   A /rt/branches/3.4-RELEASE (from /rt/branches/3.3-TESTING:2009)
-
-Moving the 3.3 testing branch to the 3.4 release branch in anticipation of a release candidate later today
-
-------------------------------------------------------------------------
-r2009 | jesse | 2004-12-20 12:30:49 -0500 (Mon, 20 Dec 2004) | 11 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/autohandler
-
- r2472@hualien:  jesse | 2004-12-20T17:04:02.657029Z
-  r2464@hualien:  jesse | 2004-12-17T23:04:58.188494Z
-  Security:
-      * Fixed a case where catastrophic failure of the logging infrastructure 
-        on initial login could result in a failing login attempt could
-        result in a valid remote session. -- Reported by Tom Yu
-  
-  
-  
-
-------------------------------------------------------------------------
-r2008 | jesse | 2004-12-20 12:30:35 -0500 (Mon, 20 Dec 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/REST/1.0/search/ticket
-
- r2471@hualien:  jesse | 2004-12-20T17:04:02.035738Z
-  r2460@hualien:  jesse | 2004-12-17T20:24:25.107579Z
-  REST UI for listing tickets was missing a newline, resulting in a malformed 
-  response
-  
-  
-
-------------------------------------------------------------------------
-r2007 | jesse | 2004-12-20 12:30:22 -0500 (Mon, 20 Dec 2004) | 11 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Users_Overlay.pm
-
- r2470@hualien:  jesse | 2004-12-20T17:04:01.318822Z
-  r1984@hualien:  jesse | 2004-12-09T07:16:39.436509Z
-  RT-Ticket: 6296
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Removed a spurious =>, Thanks to Todd Chapman
-  
-  
-
-------------------------------------------------------------------------
-r2006 | jesse | 2004-12-20 12:30:06 -0500 (Mon, 20 Dec 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r2469@hualien:  jesse | 2004-12-20T16:35:42.953265Z
-  r1983@hualien:  jesse | 2004-12-09T07:15:23.115403Z
-  
-  
-
-------------------------------------------------------------------------
-r2002 | jesse | 2004-12-16 16:01:40 -0500 (Thu, 16 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   D /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue_Overlay.pm
-   D /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues_Overlay.pm
-
- r2447@hualien:  jesse | 2004-12-16T20:55:51.733392Z
- Removed two more unused files. Thanks to Ruslan for spotting this.
-
-------------------------------------------------------------------------
-r2000 | jesse | 2004-12-15 18:00:06 -0500 (Wed, 15 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/t/regression/01ticket_link_searching.t
-
- r2442@hualien:  jesse | 2004-12-15T22:55:54.557052Z
- Clkao found a logic bug in the negative link searching
-
-------------------------------------------------------------------------
-r1998 | jesse | 2004-12-14 18:45:10 -0500 (Tue, 14 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r2440@hualien:  jesse | 2004-12-14T23:39:15.304049Z
- bumping to 3.3.16
-
-------------------------------------------------------------------------
-r1997 | jesse | 2004-12-14 14:40:49 -0500 (Tue, 14 Dec 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/schema.Oracle
-
- r2437@hualien:  jesse | 2004-12-14T19:37:11.516896Z
- RT-Ticket: 6316
- RT-Status: resolved
- RT-Update: correspond
- Added a patch to enable ObjectCustomFields for Oracle from Steve Turner at MIT. We're still short an oracle upgrade path.
-
-------------------------------------------------------------------------
-r1996 | autrijus | 2004-12-14 10:36:27 -0500 (Tue, 14 Dec 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
- r6687@not:  autrijus | 2004-12-14T15:31:58.474155Z
- * In HTML::Mason 1.18 or above, Apache2 support is native if
-   Apache::Request (libapreq2) is installed.
-
-------------------------------------------------------------------------
-r1995 | jesse | 2004-12-14 04:54:20 -0500 (Tue, 14 Dec 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/Makefile.in
-   M /rt/branches/3.3-TESTING/configure.ac
-   A /rt/branches/3.3-TESTING/lib/t/00smoke.t
-   D /rt/branches/3.3-TESTING/lib/t/00smoke.t.in
-   D /rt/branches/3.3-TESTING/lib/t/01harness.t.in
-   D /rt/branches/3.3-TESTING/lib/t/02regression.t.in
-   D /rt/branches/3.3-TESTING/lib/t/03web.pl.in
-   D /rt/branches/3.3-TESTING/lib/t/04_send_email.pl.in
-   D /rt/branches/3.3-TESTING/lib/t/05cronsupport.pl.in
-   D /rt/branches/3.3-TESTING/lib/t/06mailgateway.pl.in
-   D /rt/branches/3.3-TESTING/lib/t/07acl.pl.in
-   D /rt/branches/3.3-TESTING/lib/t/08web_cf.pl.in
-   D /rt/branches/3.3-TESTING/lib/t/regression/00placeholder
-   A /rt/branches/3.3-TESTING/lib/t/regression/03basic_web.t
-   A /rt/branches/3.3-TESTING/lib/t/regression/04send_email.t
-   A /rt/branches/3.3-TESTING/lib/t/regression/05cronsupport.t
-   A /rt/branches/3.3-TESTING/lib/t/regression/06mailgateway.t
-   A /rt/branches/3.3-TESTING/lib/t/regression/07acl.t
-   A /rt/branches/3.3-TESTING/lib/t/regression/08web_cf_access.t
-   A /rt/branches/3.3-TESTING/lib/t/regression/09record_cf_api.t
-   A /rt/branches/3.3-TESTING/lib/t/setup_regression.t
-
- r2434@hualien:  jesse | 2004-12-14T09:50:12.895761Z
- Test suite refactored to use 'prove' rather than one big ball of tests. 
- This makes it much easier to run individual test scripts and gets us a nice pretty output.
-     Ruslan pushed me into this.
-
-------------------------------------------------------------------------
-r1994 | jesse | 2004-12-14 04:54:04 -0500 (Tue, 14 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/configure.ac
-   D /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue.pm
-   D /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT.pm.in
-   M /rt/branches/3.3-TESTING/lib/t/regression/01ticket_link_searching.t
-   M /rt/branches/3.3-TESTING/sbin/extract_pod_tests
-
- r2433@hualien:  jesse | 2004-12-14T09:25:34.132509Z
- Removing TicketCustomFieldValue files leftover from 3.2
-
-------------------------------------------------------------------------
-r1993 | jesse | 2004-12-14 02:36:04 -0500 (Tue, 14 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   A /rt/branches/3.3-TESTING/lib/t/regression/01ticket_link_searching.t
-
- r2431@hualien:  jesse | 2004-12-14T07:32:22.983998Z
- And now we have _tests_ for the link searching. 
-
-------------------------------------------------------------------------
-r1992 | jesse | 2004-12-14 02:25:03 -0500 (Tue, 14 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-
- r2428@hualien:  jesse | 2004-12-14T07:21:15.616305Z
- Adding support for searching on tickets which have no relationships of a given type  (Such as "HasMember IS NULL") for clkao
-
-------------------------------------------------------------------------
-r1990 | jesse | 2004-12-13 23:50:29 -0500 (Mon, 13 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r2423@hualien:  jesse | 2004-12-14T04:46:07.648245Z
- 3.3.15
-
-------------------------------------------------------------------------
-r1989 | jesse | 2004-12-13 23:48:14 -0500 (Mon, 13 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-
- r2419@hualien:  jesse | 2004-12-14T04:42:37.099863Z
- More fixes for working with Transaction Custom Fields
-
-------------------------------------------------------------------------
-r1988 | jesse | 2004-12-13 21:42:15 -0500 (Mon, 13 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-
- r2413@hualien:  jesse | 2004-12-14T02:38:06.428282Z
- RT::Transaction->CustomFieldValues can now accept named arguments
-
-------------------------------------------------------------------------
-r1987 | mwhitson | 2004-12-13 18:15:35 -0500 (Mon, 13 Dec 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/Modify.html
-   M /rt/branches/3.3-TESTING/html/User/Groups/Modify.html
-
-rt-ticket: 6315
-rt-status: resolved
-rt-update: correspond
-
-Relabeled 'Create' submit buttons to 'Save Changes' in group modification pages.
-
-------------------------------------------------------------------------
-r1986 | jesse | 2004-12-12 23:13:42 -0500 (Sun, 12 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/SelfService/Display.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Update.html
-
- r2411@hualien:  jesse | 2004-12-13T04:10:03.842079Z
- self service ui html beautification, selfservice customfield editing
-
-------------------------------------------------------------------------
-r1983 | jesse | 2004-12-10 13:55:22 -0500 (Fri, 10 Dec 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/UPGRADING
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-
- r2000@hualien:  jesse | 2004-12-10T18:55:08.662227Z
- RT-Ticket: 6304
- RT-Status: resolved
- RT-Update: correspond
- ModifyObjectCustomFieldValues was too long. It's been changed to "ModifyCustomField"
-
-------------------------------------------------------------------------
-r1982 | jesse | 2004-12-10 00:19:36 -0500 (Fri, 10 Dec 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/configure.ac
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-   M /rt/branches/3.3-TESTING/lib/t/02regression.t.in
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r1998@hualien:  jesse | 2004-12-10T05:18:47.952532Z
- Ruslan handed us a suite of tests. Some of those tests failed, demonstrating a couple of API issues with CustomFields.
- This led to more API bulletproofing and a SearchBuilder bump
-
-------------------------------------------------------------------------
-r1980 | jesse | 2004-12-09 02:33:58 -0500 (Thu, 09 Dec 2004) | 29 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldFreeform
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r1990@hualien:  jesse | 2004-12-09T07:32:26.670652Z
- This actually covers several bugs in the custom field processing in 3.3.
- 12. Each time I fixed a bug, another one was uncovered. I think I've 
- finished now.
- You can see the problems if you create a ticket with "Enter multiple 
- values", "Fill in one text area" and "upload a file" CFs. The go to the 
- Basics page, don't change anything and hit submit. All hell breaks loose 
-  -
- 1) the multi-value & text area fields get screwed up.
- 2) a message appears telling you the file upload CF has been deleted, 
- although it apparently hasn't.
- Here's the idea behind what I did:
- - Multi-value CFs should be stored with no \n or \r characters. 
- - Fill-in-a-text-area CFs should have \r removed before storing in 
-   the database (but \n should remain).
- There are a couple of other related changes - free form multi value CFs 
- are no longer identified by type "FreeformMultiple". Also there's a 
- "next if" statement in the wrong place which was causing the file upload 
- bug.
-       --Steve Turner
-
-------------------------------------------------------------------------
-r1979 | jesse | 2004-12-09 02:32:46 -0500 (Thu, 09 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r1989@hualien:  jesse | 2004-12-09T07:31:07.292798Z
- Typo fix
-
-------------------------------------------------------------------------
-r1978 | jesse | 2004-12-09 02:21:52 -0500 (Thu, 09 Dec 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r1986@hualien:  jesse | 2004-12-09T07:20:03.552482Z
- RT-Ticket: 6295
- RT-Status: resolved
- RT-Update: correspond
- Removed a "die" from a code path that should never be hit but doesn't need to die.  Thanks to Todd Chapman
-
-------------------------------------------------------------------------
-r1977 | jesse | 2004-12-09 02:20:17 -0500 (Thu, 09 Dec 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r1982@hualien:  jesse | 2004-12-09T07:09:56.419805Z
- Slightly more refactoring of Record->CustomFieldValues designed to restore older
- behaviour.
-
-------------------------------------------------------------------------
-r1975 | jesse | 2004-12-09 02:05:51 -0500 (Thu, 09 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/mason_handler.fcgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.scgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.svc.in
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-
- r1980@hualien:  jesse | 2004-12-09T07:05:41.787599Z
- Refactored post-http handling code into lib/RT/Interface/Web/Handler.pm 
-
-------------------------------------------------------------------------
-r1974 | jesse | 2004-12-08 20:05:42 -0500 (Wed, 08 Dec 2004) | 19 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/t/06mailgateway.pl.in
-   M /rt/branches/3.3-TESTING/lib/t/07acl.pl.in
-
- r1978@hualien:  jesse | 2004-12-09T01:05:21.233709Z
- Core:
- * Promoted ACL cache invalidation to a public method.
- Web:
- * Web UI now invalidates ACL cache after each HTTP hit. This means 
-   more consistent ACL checks at the expense marginally more database lookups
- Test Suite:
- * Removed delays from the test suite which were there to deal with the ACL 
-   cache. The test suite now completes in approximately one minute on my 
-   laptop.
-
-------------------------------------------------------------------------
-r1972 | jesse | 2004-12-07 21:40:10 -0500 (Tue, 07 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r9533@tinbook:  jesse | 2004-12-08T02:40:01.308641Z
- Bumping to 3.3.14
-
-------------------------------------------------------------------------
-r1971 | jesse | 2004-12-07 21:38:14 -0500 (Tue, 07 Dec 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r9530@tinbook:  jesse | 2004-12-08T02:38:06.660707Z
- Refactored RT::Record->CustomFieldValues to be more careful to not 
- accidentally load all ticket custom field values when asked for a 
- bogus custom field.  Thanks to Ruslan for a pointer to the bug.
-
-------------------------------------------------------------------------
-r1968 | jesse | 2004-12-07 20:35:22 -0500 (Tue, 07 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-
- r9525@tinbook:  jesse | 2004-12-08T01:29:33.251334Z
- Pulling forward query optimization from 3.2
-
-------------------------------------------------------------------------
-r1967 | jesse | 2004-12-07 20:33:35 -0500 (Tue, 07 Dec 2004) | 36 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-
- r9524@tinbook:  jesse | 2004-12-07T22:51:16.647524Z
-  r9522@tinbook:  jesse | 2004-12-07T22:47:20.573617Z
-  RT-Ticket: 6286
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Searching on Ticket data  and Transaction content caused horribly pessimal searches.
-  
-  OLD
-  
-  mysql> explain SELECT DISTINCT main.* FROM Tickets main , Transactions Transactions_1, Attachments Attachments_2  WHERE ((main.EffectiveId = main.id)) AND ((main.Status != 'deleted')) AND ((main.Type = 'ticket')) AND ((main.Subject LIKE '%subject/content SQL test%')OR ( (Attachments_2.Content LIKE '%subject/content SQL test%')AND(Attachments_2.TransactionId = Transactions_1.id)AND(main.id = Transactions_1.Ticket) ) );
-  +----------------+-------+-----------------------+---------------+---------+------+------+------------------------------------+
-  | table          | type  | possible_keys         | key           | key_len | ref  | rows | Extra                              |
-  +----------------+-------+-----------------------+---------------+---------+------+------+------------------------------------+
-  | main           | ALL   | PRIMARY               | NULL          |    NULL | NULL |   30 | Using where; Using temporary       |
-  | Attachments_2  | ALL   | Attachments2          | NULL          |    NULL | NULL |   22 | Using where; Distinct              |
-  | Transactions_1 | index | PRIMARY,Transactions1 | Transactions1 |       4 | NULL |   73 | Using where; Using index; Distinct |
-  +----------------+-------+-----------------------+---------------+---------+------+------+------------------------------------+
-  3 rows in set (0.00 sec)
-  
-  NEW
-  
-  mysql> explain SELECT DISTINCT main.* FROM ((Tickets main  LEFT JOIN Transactions Transactions_1  ON ( main.id = Transactions_1.Ticket))  LEFT JOIN Attachments Attachments_2  ON ( Transactions_1.id = Attachments_2.TransactionId))   WHERE ((main.EffectiveId = main.id)) AND ((main.Status != 'deleted')) AND ((main.Type = 'ticket')) AND ((main.Subject LIKE '%subject/content SQL test%')OR ( (Attachments_2.Content LIKE '%subject/content SQL test%') ) );
-  +----------------+------+---------------+---------------+---------+-------------------+------+------------------------------+
-  | table          | type | possible_keys | key           | key_len | ref               | rows | Extra                        |
-  +----------------+------+---------------+---------------+---------+-------------------+------+------------------------------+
-  | main           | ALL  | NULL          | NULL          |    NULL | NULL              |   30 | Using where; Using temporary |
-  | Transactions_1 | ref  | Transactions1 | Transactions1 |       4 | main.id           |    1 | Using index; Distinct        |
-  | Attachments_2  | ref  | Attachments2  | Attachments2  |       4 | Transactions_1.id |    1 | Using where; Distinct        |
-  +----------------+------+---------------+---------------+---------+-------------------+------+------------------------------+
-  3 rows in set (0.03 sec)
-  
-  
-  
-
-------------------------------------------------------------------------
-r1965 | jesse | 2004-12-07 15:16:58 -0500 (Tue, 07 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-
- r9519@tinbook:  jesse | 2004-12-07T20:14:22.950883Z
- The "toggle AND/OR" button in the query builder broke in 3.3.10 or so. Reported by Wilson Chow
-
-------------------------------------------------------------------------
-r1963 | jesse | 2004-12-06 15:13:15 -0500 (Mon, 06 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r9514@tinbook:  jesse | 2004-12-06T20:08:56.717991Z
- Bumping to 3.3.13
-
-------------------------------------------------------------------------
-r1962 | autrijus | 2004-12-06 12:49:23 -0500 (Mon, 06 Dec 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
-
-------------------------------------------------------------------------
-r1961 | autrijus | 2004-12-06 12:48:46 -0500 (Mon, 06 Dec 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/docs/design_docs/3.3-schema-redesign.txt
-
- r6348@not:  autrijus | 2004-12-06T17:45:43.194394Z
- * Fix an incorrect description of OCFs
-
-------------------------------------------------------------------------
-r1960 | jesse | 2004-12-06 02:11:55 -0500 (Mon, 06 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/SelfService/Create.html
-   A /rt/branches/3.3-TESTING/html/SelfService/CreateTicketInQueue.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Display.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/Tabs
-
- r9505@tinbook:  jesse | 2004-12-06T07:11:01.358418Z
- SelfService: Added support for setting custom fields on creation and viewing custom fields the user has the right to see.
-
-------------------------------------------------------------------------
-r1959 | jesse | 2004-12-06 02:11:21 -0500 (Mon, 06 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldFreeform
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldSelect
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldText
-
- r9504@tinbook:  jesse | 2004-12-06T07:10:00.587141Z
- Removing duplicated code.
-
-------------------------------------------------------------------------
-r1958 | jesse | 2004-12-06 00:50:07 -0500 (Mon, 06 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
- r9498@tinbook:  jesse | 2004-12-06T05:49:22.962399Z
- Fixing CustomField->LoadByName for the case where no such custom field exists.
-
-------------------------------------------------------------------------
-r1957 | jesse | 2004-12-05 16:58:31 -0500 (Sun, 05 Dec 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r9495@tinbook:  jesse | 2004-12-05T21:57:36.434513Z
- Refactored RT::Record->CustomFieldValues to accept cf names and convert them to ids. (Based on a patch by Tara Andrews)
-
-------------------------------------------------------------------------
-r1956 | jesse | 2004-12-05 16:58:06 -0500 (Sun, 05 Dec 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r9451@tinbook:  jesse | 2004-12-03T22:42:17.243639Z
-  r9450@tinbook:  jesse | 2004-12-03T22:39:34.093758Z
-  Refactoring to use the API to determine if a ticket is being closed, rather than looking at a hardcoded status.  -- Stephen Quinney
-  
-
-------------------------------------------------------------------------
-r1953 | jesse | 2004-12-03 17:25:07 -0500 (Fri, 03 Dec 2004) | 13 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-
- r9447@tinbook:  jesse | 2004-12-03T22:23:11.115990Z
- RT-Ticket: 6291
- RT-Status: resolved
- RT-Update: correspond
- Altered Transaction->Value to only show data about custom field transactions if the user
- has the right to see that custom field. This automatically limits the Transaction list
- to exclude custom field transactions the user shouldn't see.
-
-------------------------------------------------------------------------
-r1952 | tla | 2004-12-02 18:16:17 -0500 (Thu, 02 Dec 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-
-If First is undef on account of there not being a custom field of that
-name, the Content() method cannot be called on it, so check for mere
-existence before we try.
-
-
-------------------------------------------------------------------------
-r1949 | jesse | 2004-11-29 13:32:05 -0500 (Mon, 29 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/SelfService/Update.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditBasics
-   M /rt/branches/3.3-TESTING/html/Ticket/Update.html
-   M /rt/branches/3.3-TESTING/html/Tools/MyDay.html
-
- r9437@tinbook:  jesse | 2004-11-29T18:33:10.692247Z
- Small localization fixes for  "Status" (Unchanged) messages
-
-------------------------------------------------------------------------
-r1948 | jesse | 2004-11-29 01:24:52 -0500 (Mon, 29 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/upgrade/3.3.11/schema.Pg
-   M /rt/branches/3.3-TESTING/etc/upgrade/3.3.11/schema.mysql
-   M /rt/branches/3.3-TESTING/sbin/rt-setup-database.in
-
- r9435@tinbook:  jesse | 2004-11-29T06:26:08.317066Z
- More postgres upgrade fixes
-
-------------------------------------------------------------------------
-r1946 | jesse | 2004-11-28 22:25:19 -0500 (Sun, 28 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-
- r9432@tinbook:  jesse | 2004-11-29T03:26:44.094679Z
- Custom field API backward-compatibility improvements
-
-------------------------------------------------------------------------
-r1943 | jesse | 2004-11-27 02:34:16 -0500 (Sat, 27 Nov 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
-
-------------------------------------------------------------------------
-r1942 | jesse | 2004-11-27 02:34:09 -0500 (Sat, 27 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
- r9422@tinbook:  jesse | 2004-11-27T07:33:36.170661Z
-  r9420@tinbook:  jesse | 2004-11-27T07:31:22.860069Z
-  Refactored ColumnMap to remove use of a deprecated API
-
-------------------------------------------------------------------------
-r1941 | jesse | 2004-11-27 01:38:00 -0500 (Sat, 27 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r9414@tinbook:  jesse | 2004-11-27T06:29:04.667691Z
- Multiple fixes to search result display
-
-------------------------------------------------------------------------
-r1937 | jesse | 2004-11-26 22:49:33 -0500 (Fri, 26 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r9411@tinbook:  jesse | 2004-11-27T03:48:14.141183Z
- Bumping to 3.3.12
-
-------------------------------------------------------------------------
-r1934 | jesse | 2004-11-24 11:15:39 -0500 (Wed, 24 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/upgrade/3.3.11/schema.Pg
-
- r9348@tinbook:  jesse | 2004-11-24T16:15:50.210159Z
- 3.3.11 upgrade schema for postgres depended on features not supported by postgres. fixed. -- Mathieu Sauve-Frankel
-
-------------------------------------------------------------------------
-r1933 | jesse | 2004-11-22 14:44:43 -0500 (Mon, 22 Nov 2004) | 11 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment_Overlay.pm
-
- r9335@tinbook:  jesse | 2004-11-22T19:44:48.685300Z
-  r9328@tinbook:  jesse | 2004-11-22T19:23:06.663299Z
-  RT-Ticket: 6187
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Refactored RT's core attachment processing logic to be a bit less baroque and to use new convenience methods. ths should prevent some mail header display strangeness folks were seeing.
-  
-  
-
-------------------------------------------------------------------------
-r1932 | jesse | 2004-11-22 14:44:28 -0500 (Mon, 22 Nov 2004) | 12 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/Users/Modify.html
-
- r9334@tinbook:  jesse | 2004-11-22T19:44:47.878500Z
-  r9324@tinbook:  jesse | 2004-11-22T18:44:30.383331Z
-  RT-Ticket: 6272
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  When updating comments and signature in the Administrative UI, RT won't introduce
-  extra newlines anymore. (Todd Chapman)
-  
-  
-
-------------------------------------------------------------------------
-r1931 | jesse | 2004-11-22 14:44:10 -0500 (Mon, 22 Nov 2004) | 12 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowTransactionAttachments
-
- r9333@tinbook:  jesse | 2004-11-22T19:44:47.283026Z
-  r9322@tinbook:  jesse | 2004-11-22T18:41:02.001214Z
-  RT-Ticket: 6276
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Now honor the RT::MaxInlineBody configuration variable. Also, the Content-Disposition header.
-  We no longer display long attachments inline if they were marked as attachments.
-  
-  
-
-------------------------------------------------------------------------
-r1930 | jesse | 2004-11-22 14:43:53 -0500 (Mon, 22 Nov 2004) | 12 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowAttachments
-
- r9332@tinbook:  jesse | 2004-11-22T19:44:46.719948Z
-  r9320@tinbook:  jesse | 2004-11-22T18:13:24.717525Z
-  RT-Ticket: 6264
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Fix the "ShowAttachments" component to deal gracefully, even if called without a 
-  precached set of attachments.  From Rolf Grossmann.
-  
-  
-
-------------------------------------------------------------------------
-r1929 | jesse | 2004-11-22 14:43:42 -0500 (Mon, 22 Nov 2004) | 11 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/MyRequests
-
- r9331@tinbook:  jesse | 2004-11-22T19:44:46.166158Z
-  r9316@tinbook:  jesse | 2004-11-22T17:59:32.163278Z
-  RT-Ticket: 6270
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Localized the "Status" field in the selfservice UI
-  
-  
-
-------------------------------------------------------------------------
-r1928 | jesse | 2004-11-22 14:43:35 -0500 (Mon, 22 Nov 2004) | 11 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-
- r9330@tinbook:  jesse | 2004-11-22T19:44:45.488990Z
-  r9272@tinbook:  jesse | 2004-11-16T16:29:54.673250Z
-  RT-Ticket: 6239
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Applied patch from Rudolph Pereira to allow email plugins to change ticket ID
-  
-  
-
-------------------------------------------------------------------------
-r1926 | jesse | 2004-11-22 13:52:27 -0500 (Mon, 22 Nov 2004) | 18 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Filter/SpamAssassin.pm
-
- r9326@tinbook:  jesse | 2004-11-22T18:53:57.082454Z
- RT-Ticket: 6125
- RT-Status: resolved
- RT-Update: correspond
- SpamAssasin mail plugin overhauled (Petter Reinholdtsen)
-       The current code wipe out the CurrentUser variable, and must be called
-       first in the chain of plugins.  There is no good reason why it need to
-       do this, so I propose to change it to keep the CurrentUser value.
-       
-       Here is a patch to change the argument handling, to pass
-       $args{'Message'} to spamassasin, instead of the strange $item value.
-       The patch also make sure CurrentUser and AuthLevel is passed through
-       when no change is wanted.
-
-------------------------------------------------------------------------
-r1922 | jesse | 2004-11-22 13:05:08 -0500 (Mon, 22 Nov 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/docs/rt3-schema-relationships.dot
-
- r9318@tinbook:  jesse | 2004-11-22T18:06:38.935955Z
- RT-Ticket: 6269
- RT-Status: resolved
- RT-Update: correspond
- RT3 schema diagram updated. (Todd Chapman)
-
-------------------------------------------------------------------------
-r1920 | autrijus | 2004-11-22 08:19:30 -0500 (Mon, 22 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r5939@not:  autrijus | 2004-11-22T13:20:38.205298Z
- * the "Magic" on modify broke Image/Binary custom fields.
-
-------------------------------------------------------------------------
-r1919 | jesse | 2004-11-22 02:25:42 -0500 (Mon, 22 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip_Overlay.pm
-
- r9313@tinbook:  jesse | 2004-11-22T07:26:55.423227Z
- Comments about redundant code
-
-------------------------------------------------------------------------
-r1918 | jesse | 2004-11-21 20:26:56 -0500 (Sun, 21 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r9310@tinbook:  jesse | 2004-11-22T01:26:40.004042Z
- fixes for the perl module downloading bit
-
-------------------------------------------------------------------------
-r1916 | jesse | 2004-11-18 11:00:17 -0500 (Thu, 18 Nov 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyAll.html
-
- r9296@tinbook:  jesse | 2004-11-18T15:59:55.061638Z
- Ported Custom Field editing fixes from 3.2. Added a deprecated warning to a deprecated API.
- Cleaned up a tiny bit of formatting
-
-------------------------------------------------------------------------
-r1915 | jesse | 2004-11-18 11:00:04 -0500 (Thu, 18 Nov 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
-
-------------------------------------------------------------------------
-r1914 | jesse | 2004-11-18 10:59:05 -0500 (Thu, 18 Nov 2004) | 14 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/UPGRADING
-   M /rt/branches/3.3-TESTING/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r9280@tinbook:  jesse | 2004-11-17T18:34:51.857756Z
- A bunch of CustomField related improvements. Autrijus is working on the new test suite. Coming "tomorrow"
- UPGRADING FROM 3.3.11 and earlier - Changes:
- = Rights Changes =
- Custom Fields now have an additional right "ModifyObjectCustomFieldValues". 
- This right governs whether a user can modify an object's custom field values
- for a particular custom field. This includes adding, deleting and changing values.
-
-------------------------------------------------------------------------
-r1913 | autrijus | 2004-11-17 23:39:01 -0500 (Wed, 17 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomField
-
- r5691@not:  autrijus | 2004-11-18T04:40:20.966758Z
- * Remove the unused and misleading chunks in EditCustomField.
-
-------------------------------------------------------------------------
-r1912 | autrijus | 2004-11-17 06:29:10 -0500 (Wed, 17 Nov 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
-
-------------------------------------------------------------------------
-r1911 | autrijus | 2004-11-17 06:28:47 -0500 (Wed, 17 Nov 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/autohandler
-
- r4462@not:  autrijus | 2004-11-17T11:21:48.719799Z
- * under MasonX::Apache2Handler, empty arguments sometimes got
-   passed in as unicode strings, so Encode::decode('utf8')
-   fails miserably.  We now explicitly check is_utf8() before
-   applying a decode; this is a better style anyway.
-
-------------------------------------------------------------------------
-r1908 | jesse | 2004-11-16 07:32:40 -0500 (Tue, 16 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
-Time::HiRes was improperly capitalized
-
-
-------------------------------------------------------------------------
-r1907 | jesse | 2004-11-15 16:19:49 -0500 (Mon, 15 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/html/Elements/Footer
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-   M /rt/branches/3.3-TESTING/html/autohandler
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r9270@tinbook:  jesse | 2004-11-15T21:17:01.591994Z
- Moved render time display out of an "if developer" block into a main-page div. Set up css to display it small and very de-emphasized
-
-------------------------------------------------------------------------
-r1906 | jesse | 2004-11-15 15:55:48 -0500 (Mon, 15 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomField
-
- r9268@tinbook:  jesse | 2004-11-15T20:51:06.505734Z
- Disabled replaced Current a bit back
-
-------------------------------------------------------------------------
-r1905 | jesse | 2004-11-15 15:45:02 -0500 (Mon, 15 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r9266@tinbook:  jesse | 2004-11-15T20:24:28.381430Z
- Previous merge forward clobbered 3.3 branch changes.
-
-------------------------------------------------------------------------
-r1903 | jesse | 2004-11-15 13:58:26 -0500 (Mon, 15 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/cs.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/da.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/de.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/en.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/en_malkovich.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/es.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/fi.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/fr.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/he.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/hu.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/it.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/ja.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/nl.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/no.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/ru.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_tw.po
-
- r9260@tinbook:  jesse | 2004-11-15T18:58:48.392208Z
- Reran string extraction for loc
-
-------------------------------------------------------------------------
-r1902 | jesse | 2004-11-15 13:57:52 -0500 (Mon, 15 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/configure.ac
-
- r9259@tinbook:  jesse | 2004-11-15T17:21:40.789848Z
- Added the database dump tool to the list of executable things
-
-------------------------------------------------------------------------
-r1901 | jesse | 2004-11-15 12:13:51 -0500 (Mon, 15 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/lib/RT/I18N.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r9257@tinbook:  jesse | 2004-11-15T17:13:44.237481Z
- Merging forward from RT 3.2 bugfixes
-
-------------------------------------------------------------------------
-r1898 | autrijus | 2004-11-15 04:43:23 -0500 (Mon, 15 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/rt-dump-database.in
-
- r4175@not:  autrijus | 2004-11-15T09:44:43.225379Z
- * The XML-based dump format now finally round trips.
-
-------------------------------------------------------------------------
-r1897 | autrijus | 2004-11-15 02:24:35 -0500 (Mon, 15 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/rt-dump-database.in
-
- r4166@not:  autrijus | 2004-11-15T07:25:55.961743Z
- * make "sbin/rt-dump-database 0" actually work.
-
-------------------------------------------------------------------------
-r1896 | autrijus | 2004-11-15 01:30:04 -0500 (Mon, 15 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/rt-dump-database.in
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r4158@not:  autrijus | 2004-11-15T06:31:13.491985Z
- * Switch the rt-dump-database format from YAML to XML::Simple.
-
-------------------------------------------------------------------------
-r1894 | autrijus | 2004-11-14 12:11:20 -0500 (Sun, 14 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/factory
-
- r4106@not:  autrijus | 2004-11-14T17:12:19.553522Z
- * Make sbin/factory safe from strict and warnings.
-
-------------------------------------------------------------------------
-r1893 | autrijus | 2004-11-14 09:23:53 -0500 (Sun, 14 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
- r4099@not:  autrijus | 2004-11-14T14:25:10.934431Z
- * It turns out that Apache::Log needs to be explicitly loaded
-   for MasonX::Apache2Handler to run.
-
-------------------------------------------------------------------------
-r1892 | autrijus | 2004-11-14 01:02:18 -0500 (Sun, 14 Nov 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
-
-------------------------------------------------------------------------
-r1891 | autrijus | 2004-11-14 01:01:46 -0500 (Sun, 14 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-
- r4056@not:  autrijus | 2004-11-14T05:55:16.343169Z
- * The chown() syntax in Handler.pm was broken.
- * Also removed an unneccessary capturing parenthesis.
-
-------------------------------------------------------------------------
-r1890 | autrijus | 2004-11-14 01:01:21 -0500 (Sun, 14 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
- r4055@not:  autrijus | 2004-11-14T05:54:37.364789Z
- * Under static_source, we need to purge the component cache
-   each time we restart, so newer components may be reloaded.
-
-------------------------------------------------------------------------
-r1889 | autrijus | 2004-11-14 01:00:58 -0500 (Sun, 14 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
- r3828@not:  autrijus | 2004-11-11T04:38:07.819422Z
- * Do not waste stat() calls on Callback elements.
- * If $RT::DevelMode is not set, do not refresh Callbacks cache at all.
-
-------------------------------------------------------------------------
-r1888 | autrijus | 2004-11-14 01:00:32 -0500 (Sun, 14 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
- r3827@not:  autrijus | 2004-11-11T02:06:28.593023Z
- * only exclude normal files, not directories.
-
-------------------------------------------------------------------------
-r1887 | autrijus | 2004-11-14 01:00:09 -0500 (Sun, 14 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin
-   M /rt/branches/3.3-TESTING/etc
-   M /rt/branches/3.3-TESTING/lib
-   M /rt/branches/3.3-TESTING/lib/t
-   M /rt/branches/3.3-TESTING/sbin
-
- r3826@not:  autrijus | 2004-11-11T02:05:00.289897Z
- * set svn:ignore on directories to exclude generated files from
-   version control.
-
-------------------------------------------------------------------------
-r1884 | jesse | 2004-11-13 18:01:01 -0500 (Sat, 13 Nov 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING/releng.cnf
-
-Bumping to 3.3.11
-------------------------------------------------------------------------
-r1882 | jesse | 2004-11-13 00:12:51 -0500 (Sat, 13 Nov 2004) | 10 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-   D /rt/branches/3.3-TESTING/html/NoAuth/images/back_home.gif
-   D /rt/branches/3.3-TESTING/html/NoAuth/images/head_requestracker.gif
-   D /rt/branches/3.3-TESTING/html/NoAuth/images/rt.jpg
-   D /rt/branches/3.3-TESTING/html/NoAuth/images/spacer.gif
-   D /rt/branches/3.3-TESTING/html/NoAuth/images/squares_blue.gif
-   M /rt/branches/3.3-TESTING/lib/t/06mailgateway.pl.in
-
- r9222@tinbook:  jesse | 2004-11-13T03:09:38.303870Z
- Core:
- * Removed images that weren't used anymore
- Configuration:
- * Fixed RTLogo configuration variable to actually display RT's logo.
-
-------------------------------------------------------------------------
-r1881 | jesse | 2004-11-13 00:12:26 -0500 (Sat, 13 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/CustomFieldTabs
-
- r9221@tinbook:  jesse | 2004-11-13T02:43:58.587708Z
- No longer show the "Applies To" tab for user and group Custom Fields.
-
-------------------------------------------------------------------------
-r1880 | jesse | 2004-11-13 00:11:58 -0500 (Sat, 13 Nov 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
- r9220@tinbook:  jesse | 2004-11-13T02:42:34.101313Z
- Those variables need to have the RT namespace.
-
-------------------------------------------------------------------------
-r1879 | jesse | 2004-11-13 00:11:31 -0500 (Sat, 13 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-
- r9219@tinbook:  jesse | 2004-11-13T00:28:50.936425Z
- Made the automatic cache flushing configurable.
-
-------------------------------------------------------------------------
-r1878 | jesse | 2004-11-13 00:11:00 -0500 (Sat, 13 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
- r9218@tinbook:  jesse | 2004-11-12T03:08:16.964082Z
- Refactored the column map to only initialize itself once, rather than every time it's called
-
-------------------------------------------------------------------------
-r1877 | autrijus | 2004-11-11 23:51:18 -0500 (Thu, 11 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/Callback
-
- r3828@not:  autrijus | 2004-11-11T04:38:07.819422Z
- * Do not waste stat() calls on Callback elements.
- * If $RT::DevelMode is not set, do not refresh Callbacks cache at all.
-
-------------------------------------------------------------------------
-r1876 | autrijus | 2004-11-11 23:51:01 -0500 (Thu, 11 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
- r3827@not:  autrijus | 2004-11-11T02:06:28.593023Z
- * only exclude normal files, not directories.
-
-------------------------------------------------------------------------
-r1875 | autrijus | 2004-11-11 23:47:44 -0500 (Thu, 11 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin
-   M /rt/branches/3.3-TESTING/etc
-   M /rt/branches/3.3-TESTING/lib
-   M /rt/branches/3.3-TESTING/lib/t
-   M /rt/branches/3.3-TESTING/sbin
-
- r3826@not:  autrijus | 2004-11-11T02:05:00.289897Z
- * set svn:ignore on directories to exclude generated files from
-   version control.
-
-------------------------------------------------------------------------
-r1800 | autrijus | 2004-11-10 08:50:55 -0500 (Wed, 10 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/lib/RT.pm.in
-
- r3590@not:  autrijus | 2004-11-10T13:52:05.548584Z
- * Flush cache at end of each request.
- * Defeat perlbug that mangles (caller(0))[1] wheneter $^P is set by Module::Refresh.
-
-------------------------------------------------------------------------
-r1796 | autrijus | 2004-11-10 08:15:51 -0500 (Wed, 10 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users_Overlay.pm
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r3588@not:  autrijus | 2004-11-10T13:16:02.416034Z
- * Module::Refresh is now enabled by default for all HTTPD handlers
-   when $RT::DevelMode is set to true.
-
-------------------------------------------------------------------------
-r1789 | jesse | 2004-11-10 07:58:47 -0500 (Wed, 10 Nov 2004) | 12 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-
- r9043@tinbook:  jesse | 2004-11-10T12:55:28.022711Z
-  r9040@tinbook:  jesse | 2004-11-10T12:52:28.271911Z
-  RT-Ticket: 4624
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Provide more control over how autogenerated mail gets sent out via RT.
-  
-  
-  
-
-------------------------------------------------------------------------
-r1788 | jesse | 2004-11-10 07:58:22 -0500 (Wed, 10 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-
- r9042@tinbook:  jesse | 2004-11-10T12:55:27.433932Z
-  r8971@tinbook:  jesse | 2004-11-10T02:24:26.255370Z
-  Fixed the MaxAttachmentSize variable name in comments. Thanks to Graham Dunn
-
-------------------------------------------------------------------------
-r1786 | jesse | 2004-11-10 07:38:04 -0500 (Wed, 10 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-
- r9037@tinbook:  jesse | 2004-11-10T12:38:52.925002Z
- * $ was missing on the DevelMode option
-
-------------------------------------------------------------------------
-r1779 | autrijus | 2004-11-10 05:09:04 -0500 (Wed, 10 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r3567@not:  autrijus | 2004-11-10T10:09:08.775089Z
- * Add Module::Refresh as a dependency.
-
-------------------------------------------------------------------------
-r1778 | autrijus | 2004-11-10 05:08:41 -0500 (Wed, 10 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-
- r3566@not:  autrijus | 2004-11-10T10:08:56.876914Z
- * Under developer mode, do not let Mason cache object files on var/.
-
-------------------------------------------------------------------------
-r1777 | autrijus | 2004-11-10 05:08:17 -0500 (Wed, 10 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/html/Elements/Callback
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/ParseFormat
-   M /rt/branches/3.3-TESTING/html/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxStart
-   M /rt/branches/3.3-TESTING/lib/RT/CurrentUser.pm
-   M /rt/branches/3.3-TESTING/lib/RT.pm.in
-
- r3565@not:  autrijus | 2004-11-10T10:08:34.482570Z
- * Various warning avoidance patches.
-
-------------------------------------------------------------------------
-r1767 | jesse | 2004-11-09 21:01:21 -0500 (Tue, 09 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-
- r8969@tinbook:  jesse | 2004-11-10T02:01:53.054185Z
- Fixing DeveloperlMode -> DevelMode.  Thanks to Reed Lowden for the catch.
-
-------------------------------------------------------------------------
-r1766 | jesse | 2004-11-09 03:28:53 -0500 (Tue, 09 Nov 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/Makefile.in
-   M /rt/branches/3.3-TESTING/README
-   M /rt/branches/3.3-TESTING/bin/mason_handler.fcgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.scgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.svc.in
-   M /rt/branches/3.3-TESTING/bin/rt-crontool.in
-   M /rt/branches/3.3-TESTING/bin/rt-mailgate.in
-   M /rt/branches/3.3-TESTING/bin/rt.in
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/Objects.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/AddCustomFieldValue
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/CreateUserCalled
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/CustomFieldTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFieldValues
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditQueueWatchers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditScrip
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditScrips
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditTemplates
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditUserComments
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/GlobalCustomFieldTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/GroupTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ListGlobalCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ListGlobalScrips
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ModifyTemplate
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ObjectCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/PickCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/PickObjects
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/QueueRightsForUser
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/QueueTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectCustomFieldLookupType
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectCustomFieldType
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectGroups
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyGroup
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyQueue
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyUser
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectNewGroupMembers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectRights
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScrip
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScripAction
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScripCondition
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectSingleOrMultiple
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectStage
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectTemplate
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectUsers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SystemTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ToolTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/UserTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Groups.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Queue-Tickets.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Queue-Transactions.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Users.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Scrip.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Scrips.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Template.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Templates.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/CustomFields.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/History.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/Members.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/CustomField.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/CustomFields.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/People.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Scrip.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Scrips.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Template.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Templates.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/Configuration.html
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/CustomFields.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/History.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/Memberships.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/autohandler
-   M /rt/branches/3.3-TESTING/html/Admin/index.html
-   M /rt/branches/3.3-TESTING/html/Approvals/Display.html
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/Approve
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/PendingMyApproval
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/ShowDependency
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Approvals/index.html
-   M /rt/branches/3.3-TESTING/html/Download/CustomFieldValue/dhandler
-   M /rt/branches/3.3-TESTING/html/Download/Tabular/dhandler
-   M /rt/branches/3.3-TESTING/html/Elements/BevelBoxRaisedEnd
-   M /rt/branches/3.3-TESTING/html/Elements/BevelBoxRaisedStart
-   M /rt/branches/3.3-TESTING/html/Elements/Callback
-   M /rt/branches/3.3-TESTING/html/Elements/Checkbox
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Header
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/ParseFormat
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.3-TESTING/html/Elements/CreateTicket
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldBinary
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldFreeform
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldImage
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldSelect
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldText
-   M /rt/branches/3.3-TESTING/html/Elements/EditLinks
-   M /rt/branches/3.3-TESTING/html/Elements/Error
-   M /rt/branches/3.3-TESTING/html/Elements/Footer
-   M /rt/branches/3.3-TESTING/html/Elements/GotoTicket
-   M /rt/branches/3.3-TESTING/html/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Elements/ListActions
-   M /rt/branches/3.3-TESTING/html/Elements/Login
-   M /rt/branches/3.3-TESTING/html/Elements/Menu
-   M /rt/branches/3.3-TESTING/html/Elements/MessageBox
-   M /rt/branches/3.3-TESTING/html/Elements/MyRequests
-   M /rt/branches/3.3-TESTING/html/Elements/MyTickets
-   M /rt/branches/3.3-TESTING/html/Elements/PageLayout
-   M /rt/branches/3.3-TESTING/html/Elements/QueryString
-   M /rt/branches/3.3-TESTING/html/Elements/QuickCreate
-   M /rt/branches/3.3-TESTING/html/Elements/Quicksearch
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-   M /rt/branches/3.3-TESTING/html/Elements/Refresh
-   M /rt/branches/3.3-TESTING/html/Elements/ScrubHTML
-   M /rt/branches/3.3-TESTING/html/Elements/Section
-   M /rt/branches/3.3-TESTING/html/Elements/SelectAttachmentField
-   M /rt/branches/3.3-TESTING/html/Elements/SelectBoolean
-   M /rt/branches/3.3-TESTING/html/Elements/SelectCustomFieldOperator
-   M /rt/branches/3.3-TESTING/html/Elements/SelectCustomFieldValue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDate
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDateRelation
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDateType
-   M /rt/branches/3.3-TESTING/html/Elements/SelectEqualityOperator
-   M /rt/branches/3.3-TESTING/html/Elements/SelectGroups
-   M /rt/branches/3.3-TESTING/html/Elements/SelectLang
-   M /rt/branches/3.3-TESTING/html/Elements/SelectLinkType
-   M /rt/branches/3.3-TESTING/html/Elements/SelectMatch
-   M /rt/branches/3.3-TESTING/html/Elements/SelectNewTicketQueue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-   M /rt/branches/3.3-TESTING/html/Elements/SelectQueue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectResultsPerPage
-   M /rt/branches/3.3-TESTING/html/Elements/SelectSortOrder
-   M /rt/branches/3.3-TESTING/html/Elements/SelectStatus
-   M /rt/branches/3.3-TESTING/html/Elements/SelectTicketSortBy
-   M /rt/branches/3.3-TESTING/html/Elements/SelectTicketTypes
-   M /rt/branches/3.3-TESTING/html/Elements/SelectUsers
-   M /rt/branches/3.3-TESTING/html/Elements/SelectWatcherType
-   M /rt/branches/3.3-TESTING/html/Elements/SetupSessionCookie
-   M /rt/branches/3.3-TESTING/html/Elements/ShowCustomFieldImage
-   M /rt/branches/3.3-TESTING/html/Elements/ShowCustomFields
-   M /rt/branches/3.3-TESTING/html/Elements/ShowLink
-   M /rt/branches/3.3-TESTING/html/Elements/ShowLinks
-   M /rt/branches/3.3-TESTING/html/Elements/ShowMemberships
-   M /rt/branches/3.3-TESTING/html/Elements/SimpleSearch
-   M /rt/branches/3.3-TESTING/html/Elements/Submit
-   M /rt/branches/3.3-TESTING/html/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBox
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxEnd
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxStart
-   M /rt/branches/3.3-TESTING/html/NoAuth/Logout.html
-   M /rt/branches/3.3-TESTING/html/NoAuth/Reminder.html
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/queue/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/queue/ns
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/attachments
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/history
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/links
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/user/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/user/ns
-   M /rt/branches/3.3-TESTING/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/3.3-TESTING/html/REST/1.0/autohandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/dhandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/logout
-   M /rt/branches/3.3-TESTING/html/REST/1.0/search/dhandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/search/ticket
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/comment
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/link
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/merge
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/html/Search/Edit.html
-   M /rt/branches/3.3-TESTING/html/Search/Elements/BuildFormatString
-   M /rt/branches/3.3-TESTING/html/Search/Elements/DisplayOptions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditFormat
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditQuery
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
-   M /rt/branches/3.3-TESTING/html/Search/Elements/NewListActions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCFs
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SearchPrivacy
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectGroup
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectLinks
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectSearchObject
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectSearchesForObjects
-   M /rt/branches/3.3-TESTING/html/Search/Results.html
-   M /rt/branches/3.3-TESTING/html/Search/Results.rdf
-   M /rt/branches/3.3-TESTING/html/Search/Results.tsv
-   M /rt/branches/3.3-TESTING/html/SelfService/Attachment/dhandler
-   M /rt/branches/3.3-TESTING/html/SelfService/Closed.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Create.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Display.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/GotoTicket
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/Header
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/MyRequests
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/SelfService/Error.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Prefs.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Update.html
-   M /rt/branches/3.3-TESTING/html/SelfService/index.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Attachment/dhandler
-   M /rt/branches/3.3-TESTING/html/Ticket/Create.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Display.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/AddWatchers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/BulkLinks
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditBasics
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditDates
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditPeople
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditWatchers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/FindAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/LoadTextAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/PreviewScrips
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowBasics
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowCustomFields
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowDates
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowDependencies
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowGroupMembers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowHistory
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMemberOf
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMembers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageHeaders
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageStanza
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowPeople
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowReferences
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowRequestor
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowSummary
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowTransactionAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowUserEntry
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Ticket/History.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Modify.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyAll.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyDates.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyLinks.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyPeople.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ShowEmailRecord.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Update.html
-   M /rt/branches/3.3-TESTING/html/Tools/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Tools/MyDay.html
-   M /rt/branches/3.3-TESTING/html/Tools/Offline.html
-   M /rt/branches/3.3-TESTING/html/User/Delegation.html
-   M /rt/branches/3.3-TESTING/html/User/Elements/DelegateRights
-   M /rt/branches/3.3-TESTING/html/User/Elements/GroupTabs
-   M /rt/branches/3.3-TESTING/html/User/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/User/Groups/Members.html
-   M /rt/branches/3.3-TESTING/html/User/Groups/Modify.html
-   M /rt/branches/3.3-TESTING/html/User/Groups/index.html
-   M /rt/branches/3.3-TESTING/html/User/Prefs.html
-   M /rt/branches/3.3-TESTING/html/autohandler
-   M /rt/branches/3.3-TESTING/html/index.html
-   M /rt/branches/3.3-TESTING/html/l
-   M /rt/branches/3.3-TESTING/lib/RT/ACE.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/AutoOpen.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Autoreply.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/EscalatePriority.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Notify.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/NotifyAsComment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/RecordComment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/RecordCorrespondence.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/ResolveMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SetPriority.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/UserDefined.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Base.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/AnyTransaction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/BeforeDue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/Overdue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/OwnerChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/PriorityChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/PriorityExceeds.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/QueueChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/StatusChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/UserDefined.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CurrentUser.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Date.pm
-   M /rt/branches/3.3-TESTING/lib/RT/EmailParser.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Handle.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/cs.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/i_default.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/CLI.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Auth/GnuPG.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Auth/MailFrom.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Filter/SpamAssassin.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/REST.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomField.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/ActiveTicketsInQueue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/FromSQL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/SearchBuilder.pm
-   M /rt/branches/3.3-TESTING/lib/RT/System.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI/base.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT.pm.in
-   M /rt/branches/3.3-TESTING/lib/t/06mailgateway.pl.in
-   M /rt/branches/3.3-TESTING/sbin/extract-message-catalog
-   M /rt/branches/3.3-TESTING/sbin/extract_pod_tests
-   M /rt/branches/3.3-TESTING/sbin/factory
-   M /rt/branches/3.3-TESTING/sbin/license_tag
-   M /rt/branches/3.3-TESTING/sbin/regression_harness
-   M /rt/branches/3.3-TESTING/sbin/rt-dump-database.in
-   M /rt/branches/3.3-TESTING/sbin/rt-setup-database.in
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r8965@tinbook:  jesse | 2004-11-09T08:25:30.422838Z
- Updated license tagging and folding for license tagging
- * No functionality changes
-
-------------------------------------------------------------------------
-r1765 | jesse | 2004-11-09 02:55:47 -0500 (Tue, 09 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-
- r8963@tinbook:  jesse | 2004-11-09T07:55:26.294077Z
- Just formatting changes. ran perltidy on HasRight.
-
-------------------------------------------------------------------------
-r1763 | jesse | 2004-11-09 00:46:40 -0500 (Tue, 09 Nov 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r8959@tinbook:  jesse | 2004-11-09T05:47:13.371897Z
- Switched to using Cache::Simple::TimedExpiry for our ACL cache, rather 
- than our overly convoluted (and slower) ACL cache code in Prinicpal_Overlay.pm
- SearchBuilder already depends on C::S::TE, so this isn't a new dep
-
-------------------------------------------------------------------------
-r1759 | jesse | 2004-11-08 23:58:09 -0500 (Mon, 08 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-
- r8951@tinbook:  jesse | 2004-11-09T04:59:07.816904Z
- Fixed a comment about the static_source directive for mason. Thanks to matthewd
-
-------------------------------------------------------------------------
-r1758 | jesse | 2004-11-08 22:47:40 -0500 (Mon, 08 Nov 2004) | 16 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/configure.ac
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-   M /rt/branches/3.3-TESTING/html/Elements/PageLayout
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxEnd
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowHistory
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-
- r8942@tinbook:  jesse | 2004-11-08T17:22:08.032229Z
- Web:
-     * Switched back to manual buffer flushing, as this will
-       improve performance and help future-proof RT against a mason update
-     * Added several manual buffer flushing points to help with the user
-       experience during page display
-     * Switched to using mason's "static_source" directive, which stops mason
-       from trying to guess about which pages need to be reload from disk.
-       (Now you need to restart the webserver to see changes)
- Core:
-     * New  --with-developer-mode configuration flag. Right now, it just 
-       turns mason static_source off, but in the future, it will enable other
-       developer-only features.
-
-------------------------------------------------------------------------
-r1757 | jesse | 2004-11-08 22:47:13 -0500 (Mon, 08 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Base.pm
-
- r8941@tinbook:  jesse | 2004-11-08T17:18:03.357715Z
- Added a bit of documentation to RT::Base; removed an unused line of code
-
-------------------------------------------------------------------------
-r1753 | jesse | 2004-11-08 08:25:36 -0500 (Mon, 08 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-
- r8935@tinbook:  jesse | 2004-11-08T13:18:04.774918Z
- * Turning off the forking in standalone_httpd. It was never a win
-
-------------------------------------------------------------------------
-r1752 | autrijus | 2004-11-08 07:53:51 -0500 (Mon, 08 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-
- r3280@not:  autrijus | 2004-11-08T12:13:28.529608Z
- * make kill -HUP work sanely.
-
-------------------------------------------------------------------------
-r1751 | autrijus | 2004-11-08 07:53:30 -0500 (Mon, 08 Nov 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-
-
-------------------------------------------------------------------------
-r1750 | autrijus | 2004-11-08 07:53:00 -0500 (Mon, 08 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   D /rt/branches/3.3-TESTING/spec
-
- r1748@not:  autrijus | 2004-11-08T08:29:17.162697Z
- * remove the now-empty spec/ directory.
-
-------------------------------------------------------------------------
-r1749 | autrijus | 2004-11-08 07:52:36 -0500 (Mon, 08 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   A /rt/branches/3.3-TESTING/docs/design_docs/3.3-schema-redesign.txt
-   D /rt/branches/3.3-TESTING/spec/schema.txt
-
- r1747@not:  autrijus | 2004-11-08T08:28:53.206839Z
- * move the design spec from spec/ under the docs/design_docs/ space where it belongs.
-
-------------------------------------------------------------------------
-r1748 | autrijus | 2004-11-08 07:52:03 -0500 (Mon, 08 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/spec/schema.txt
-
- r1746@not:  autrijus | 2004-11-08T08:27:45.676219Z
- * V7 of redesign schema, incoporating many more comments and
-   the new, clkao-inspired fields.
-
-------------------------------------------------------------------------
-r1744 | jesse | 2004-11-07 11:26:35 -0500 (Sun, 07 Nov 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/configure.ac
-   M /rt/branches/3.3-TESTING/lib/t/02regression.t.in
-   A /rt/branches/3.3-TESTING/lib/t/08web_cf.pl.in
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r6237@tinbook:  jesse | 2004-11-07T16:27:42.200967Z
- New web-based testing for image custom field creation 
- (upload on create, display in search result listings)
-         -Autrijus Tang
-
-------------------------------------------------------------------------
-r1743 | jesse | 2004-11-07 10:10:03 -0500 (Sun, 07 Nov 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
-
-------------------------------------------------------------------------
-r1742 | jesse | 2004-11-07 10:09:36 -0500 (Sun, 07 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Elements/BuildFormatString
-
- r6225@tinbook:  jesse | 2004-11-07T14:44:15.591492Z
- Web
-     * Refactore BuildFormatString to simplify logic and improve reliability
-
-------------------------------------------------------------------------
-r1741 | jesse | 2004-11-07 10:09:14 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Header
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-
- r6201@tinbook:  jesse | 2004-11-07T05:35:22.316024Z
- Refactoring and restyling the Ticket List to present prettier tables with more human-readable names
-
-------------------------------------------------------------------------
-r1740 | jesse | 2004-11-07 10:08:50 -0500 (Sun, 07 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectLinks
-
- r6200@tinbook:  jesse | 2004-11-07T05:32:56.068727Z
- Web: Fixed SelectLinks component to contain the right options and present the right human-readable names
-
-------------------------------------------------------------------------
-r1739 | jesse | 2004-11-07 10:08:29 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Elements/BuildFormatString
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditFormat
-
- r6199@tinbook:  jesse | 2004-11-07T05:30:58.330526Z
- Web UI: Refactored the logic which builds format strings to simplify code and present better human-readable names
-
-------------------------------------------------------------------------
-r1738 | jesse | 2004-11-07 10:08:08 -0500 (Sun, 07 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Header
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-   M /rt/branches/3.3-TESTING/html/Search/Results.html
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-
- r6198@tinbook:  jesse | 2004-11-07T04:18:22.934311Z
- Devel: Changed severity of calling Principal->HasRight without a Right
-
-------------------------------------------------------------------------
-r1737 | jesse | 2004-11-07 10:05:16 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/Quicksearch
-
- r6197@tinbook:  jesse | 2004-11-07T03:38:25.380100Z
- Switching Quicksearch to use most standard CSS styles
-
-------------------------------------------------------------------------
-r1736 | jesse | 2004-11-07 10:04:54 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-
- r6196@tinbook:  jesse | 2004-11-07T03:37:32.303504Z
- Squash warnings when trying to check acls on nonexisten custom fields
-
-------------------------------------------------------------------------
-r1735 | jesse | 2004-11-07 10:04:23 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r6195@tinbook:  jesse | 2004-11-06T15:14:59.241373Z
- Better handling of Record deletion confirmation messages. (To go with new searchbuilder fixes)
-
-------------------------------------------------------------------------
-r1734 | autrijus | 2004-11-07 09:38:43 -0500 (Sun, 07 Nov 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
-* In query builder, parse custom fields by name.
-* Generate all Link-type result cell callbacks from %LINKTYPEMAP.
-* Display custom field contents, separated by newlines.
-* For Image custom fields we also show a thumbnail.
-
-
-------------------------------------------------------------------------
-r1731 | autrijus | 2004-11-07 09:32:12 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-
- r10263@not:  autrijus | 2004-11-07T14:15:05.153388Z
- * one loc fix.
-
-------------------------------------------------------------------------
-r1730 | autrijus | 2004-11-07 09:30:22 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt
-   A /rt/branches/3.3-TESTING/html/Search/Elements/EditQuery
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType
-
- r10261@not:  autrijus | 2004-11-07T08:55:02.919657Z
- * loc and layout fixed.
-
-------------------------------------------------------------------------
-r1729 | autrijus | 2004-11-07 09:30:06 -0500 (Sun, 07 Nov 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-
- r10260@not:  autrijus | 2004-11-07T08:54:20.330259Z
- * Query builder now acts on multiple clauses.
- * Close a potential XSS bug by escaping the clause naems.
- * Refactor the clause display component.
-
-------------------------------------------------------------------------
-r1728 | autrijus | 2004-11-07 09:29:51 -0500 (Sun, 07 Nov 2004) | 5 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
- r10256@not:  autrijus | 2004-11-06T10:35:22.448152Z
- * Escape ColumnMap return values properly to prevent cross-site scripting
-   attack.  All HTML snippets are now returned as scalar references.
-
-------------------------------------------------------------------------
-r1727 | autrijus | 2004-11-07 09:28:27 -0500 (Sun, 07 Nov 2004) | 5 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/Makefile.in
-
- r10253@not:  autrijus | 2004-11-06T10:17:49.792085Z
- * "make initdb" now an alias of "make initialize-database".
-
-------------------------------------------------------------------------
-r1726 | autrijus | 2004-11-07 09:26:14 -0500 (Sun, 07 Nov 2004) | 5 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/sbin/rt-setup-database.in
-
- r10252@not:  autrijus | 2004-11-06T10:17:41.433720Z
- * "make dropdb" on SQLite now works.
-
-------------------------------------------------------------------------
-r1725 | autrijus | 2004-11-07 09:22:06 -0500 (Sun, 07 Nov 2004) | 5 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFields.pm
-   M /rt/branches/3.3-TESTING/sbin/factory
-
- r10251@not:  autrijus | 2004-11-06T10:17:29.202899Z
- * fallouts from the OCFV schema change.
-
-------------------------------------------------------------------------
-r1724 | autrijus | 2004-11-07 09:17:03 -0500 (Sun, 07 Nov 2004) | 7 lines
-Changed paths:
-   M /rt
-   A /rt/branches/3.3-TESTING/etc/upgrade/3.3.11
-   A /rt/branches/3.3-TESTING/etc/upgrade/3.3.11/schema.Pg
-   A /rt/branches/3.3-TESTING/etc/upgrade/3.3.11/schema.mysql
-
- r10242@not:  autrijus | 2004-11-06T06:59:58.274625Z
- * Schema changes for Pg, SQLite, mysql and Oracle.
- r10243@not:  autrijus | 2004-11-06T07:00:15.865682Z
- * schema updater for Pg and mysql; Oracle comes later and SQLite is nontrivial.
-
-------------------------------------------------------------------------
-r1723 | autrijus | 2004-11-07 09:16:15 -0500 (Sun, 07 Nov 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/etc/schema.Oracle
-   M /rt/branches/3.3-TESTING/etc/schema.Pg
-   M /rt/branches/3.3-TESTING/etc/schema.SQLite
-   M /rt/branches/3.3-TESTING/etc/schema.mysql
-
- r10242@not:  autrijus | 2004-11-06T06:59:58.274625Z
- * Schema changes for Pg, SQLite, mysql and Oracle.
-
-------------------------------------------------------------------------
-r1721 | autrijus | 2004-11-05 06:43:18 -0500 (Fri, 05 Nov 2004) | 18 lines
-Changed paths:
-   M /rt
-   M /rt/branches
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
-  r10186@not (orig r1718):  autrijus | 2004-11-05T08:56:10.440277Z
-  * Log::Dispatch wants ->warning, not ->warn.
- r10196@not:  autrijus | 2004-11-05T11:41:58.476189Z
- * Fixes to standalone_httpd: 'protocol' was not defined, and query_string
-   may be undefined too.  (Supposedly fixed in HTTP::Server::Simple.)
- r10197@not:  autrijus | 2004-11-05T11:42:20.621065Z
- * Remove outdated comment.
- r10198@not:  autrijus | 2004-11-05T11:43:55.045510Z
- * Refactor getting-an-uploaded-file-into-cf into _UploadFile call
-   in Interface::Web; this unbreaks uploading a file cf on ticket creation.
- * The "CustomField-x" keys in $Ticket->Create now take hash references
-   that contain CFV fields, eg. LargeContent, ContentType, Value.
-
-
-------------------------------------------------------------------------
-r1718 | autrijus | 2004-11-05 03:56:10 -0500 (Fri, 05 Nov 2004) | 3 lines
-Changed paths:
-   M /rt
-   M /rt/branches
-   M /rt/branches/3.2-RELEASE
-   M /rt/branches/3.2-SYBASE-TESTING
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/PLATANO-EXPERIMENTAL-CSS
-   M /rt/branches/PLATANO-EXPERIMENTAL-CSS/etc/upgrade
-
-* Log::Dispatch wants ->warning, not ->warn.
-
-
-------------------------------------------------------------------------
-r1716 | jesse | 2004-11-04 23:02:48 -0500 (Thu, 04 Nov 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r6175@tinbook:  jesse | 2004-11-05T02:17:24.427390Z
- Improved comments and folds in RT::Record
-
-------------------------------------------------------------------------
-r1715 | jesse | 2004-11-04 23:02:27 -0500 (Thu, 04 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r6174@tinbook:  jesse | 2004-11-05T02:17:10.144816Z
- When uploading image custom fields, they're handled as file descriptors, rather than scalars. Our old logic assumed that any ref was an array. Now we check for array refs explicitly.
-
-------------------------------------------------------------------------
-r1714 | jesse | 2004-11-04 23:02:06 -0500 (Thu, 04 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-
- r6173@tinbook:  jesse | 2004-11-05T02:14:56.442006Z
- Added a HUP handler for the standalone httpd (so you can kill -HUP it to reload)
-
-------------------------------------------------------------------------
-r1713 | jesse | 2004-11-04 23:01:23 -0500 (Thu, 04 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/ShowCustomFields
-
- r6172@tinbook:  jesse | 2004-11-05T02:14:19.720658Z
- Improved list format for multiple custom field values
-
-------------------------------------------------------------------------
-r1712 | jesse | 2004-11-04 23:00:28 -0500 (Thu, 04 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/CreateTicket
-   M /rt/branches/3.3-TESTING/html/Ticket/Create.html
-
- r6171@tinbook:  jesse | 2004-11-05T02:14:02.424154Z
- More form Names to make testing easier
-
-------------------------------------------------------------------------
-r1711 | jesse | 2004-11-04 22:59:53 -0500 (Thu, 04 Nov 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFields
-
- r6170@tinbook:  jesse | 2004-11-04T08:33:12.626307Z
- Added a couple of form NAME elements, to ease testing
-
-------------------------------------------------------------------------
-r1710 | jesse | 2004-11-04 22:59:24 -0500 (Thu, 04 Nov 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r6169@tinbook:  jesse | 2004-11-04T08:32:13.034112Z
- Added a Delete method to RT::Record so we get proper messages on object deletion
-     --Autrijus
-
-------------------------------------------------------------------------
-r1709 | jesse | 2004-11-01 00:55:09 -0500 (Mon, 01 Nov 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r6157@tinbook:  jesse | 2004-11-01T04:52:49.078521Z
- A patch from 3.2 accidentally cascaded forward
-
-------------------------------------------------------------------------
-r1708 | jesse | 2004-11-01 00:54:59 -0500 (Mon, 01 Nov 2004) | 11 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-
- r6156@tinbook:  jesse | 2004-11-01T04:47:06.225531Z
-  r6152@tinbook:  jesse | 2004-11-01T04:43:38.864654Z
-  RT-Ticket: 6230
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  New "batch transactions" core from Ruslan. This update makes it much easier to use stock conditions for bulk updates
-  
-  
-
-------------------------------------------------------------------------
-r1707 | jesse | 2004-11-01 00:54:47 -0500 (Mon, 01 Nov 2004) | 12 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r6155@tinbook:  jesse | 2004-11-01T04:47:05.144200Z
-  r6151@tinbook:  jesse | 2004-11-01T04:42:20.034865Z
-  RT-Ticket: 6242
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  There were a couple of bugs in the bulk update page that broke ticket linking.
-  (Among other things, the custom fields update functionality was completely broken. It's been disabled pending a new implementation)
-  
-  
-
-------------------------------------------------------------------------
-r1704 | jesse | 2004-10-31 22:49:50 -0500 (Sun, 31 Oct 2004) | 10 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/PickCustomFields
-
- r6149@tinbook:  jesse | 2004-11-01T03:50:49.511535Z
- RT-Ticket: 6245
- RT-Status: resolved
- RT-Update: correspond
- Global custom field editing in 3.3 had the wrong (hardcoded) URL target.
-
-------------------------------------------------------------------------
-r1699 | jesse | 2004-10-27 18:01:49 -0400 (Wed, 27 Oct 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r6127@tinbook:  jesse | 2004-10-27T22:02:28.387934Z
- Bumping to 3.3.10
-
-------------------------------------------------------------------------
-r1698 | jesse | 2004-10-27 04:06:56 -0400 (Wed, 27 Oct 2004) | 12 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-
- r6121@tinbook:  jesse | 2004-10-27T07:55:33.542549Z
-  r6115@tinbook:  jesse | 2004-10-27T07:51:39.957035Z
-  RT-Ticket: 6219
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Rebuilt RT::Tickets' watcher search logic to only use _one_ join to the users/groups table so as to create joins that can be computed in finite time. Theoretically, this makes watcher searching less powerful.  In practice, it makes watcher searching a lot more possible.
-  
-  
-  
-
-------------------------------------------------------------------------
-r1697 | jesse | 2004-10-27 04:06:29 -0400 (Wed, 27 Oct 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-
- r6120@tinbook:  jesse | 2004-10-27T07:55:32.882088Z
-  r6109@tinbook:  jesse | 2004-10-26T20:02:02.857695Z
-  Additional fixes for display of unlimited search results
-
-------------------------------------------------------------------------
-r1696 | jesse | 2004-10-27 04:05:52 -0400 (Wed, 27 Oct 2004) | 10 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-
- r6119@tinbook:  jesse | 2004-10-27T07:55:32.408440Z
-  r6046@tinbook:  jesse | 2004-10-19T05:21:18.567580Z
-  RT-Ticket: 6121
-  RT-Status: resolved
-  RT-Update: correspond
-  
-  Fixed the name of the template used to notify non-privilged users when their password is changed
-  
-
-------------------------------------------------------------------------
-r1695 | jesse | 2004-10-27 04:05:26 -0400 (Wed, 27 Oct 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/schema.Pg
-   M /rt/branches/3.3-TESTING/etc/upgrade/3.1.0/schema.Pg
-
- r6118@tinbook:  jesse | 2004-10-27T07:55:31.895658Z
-  r6007@tinbook:  jesse | 2004-10-14T21:47:50.297291Z
-  RT-Ticket: 6197
-  RT-Status: resolved
-  
-  Removed a comment from the PostgreSQL schema files, as some versions of postgres fail to parse it well.
-  
-
-------------------------------------------------------------------------
-r1694 | jesse | 2004-10-27 04:05:10 -0400 (Wed, 27 Oct 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Results.html
-
- r6117@tinbook:  jesse | 2004-10-27T07:55:31.185793Z
-  r1994@tinbook:  jesse | 2004-10-12T23:37:37.775608Z
-  Improved "stickiness" of queries.
-  Next/Prev navigation should be more consistently available now.
-  Most recent query should be available more consistently.
-  
-
-------------------------------------------------------------------------
-r1692 | jesse | 2004-10-27 00:31:12 -0400 (Wed, 27 Oct 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Create.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowSummary
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyAll.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Update.html
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-
- r6113@tinbook:  jesse | 2004-10-27T04:31:13.448231Z
- Added support for recording transaction custom fields on ticket creation.
-
-------------------------------------------------------------------------
-r1688 | jesse | 2004-10-23 18:05:14 -0400 (Sat, 23 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r6101@tinbook:  jesse | 2004-10-23T22:05:06.396023Z
- Bumping to 3.3.9
-
-------------------------------------------------------------------------
-r1686 | jesse | 2004-10-23 17:50:32 -0400 (Sat, 23 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Elements/PageLayout
-   M /rt/branches/3.3-TESTING/html/Elements/SelectEqualityOperator
-   M /rt/branches/3.3-TESTING/html/Elements/SelectNewTicketQueue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-   M /rt/branches/3.3-TESTING/html/Elements/SelectStatus
-   M /rt/branches/3.3-TESTING/html/Search/Elements/BuildFormatString
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectGroup
-
- r6093@tinbook:  jesse | 2004-10-23T21:47:53.224532Z
- A bunch of tiny fixes to the web ui to avoid warnings about uninitialized variables.
-
-------------------------------------------------------------------------
-r1685 | jesse | 2004-10-23 17:50:14 -0400 (Sat, 23 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/schema.SQLite
-
- r6092@tinbook:  jesse | 2004-10-23T21:46:47.129210Z
- Updated SQLite schema to current RT 3.3 versions
-
-------------------------------------------------------------------------
-r1684 | jesse | 2004-10-23 17:49:50 -0400 (Sat, 23 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/ACL_Overlay.pm
-
- r6091@tinbook:  jesse | 2004-10-23T21:46:04.315427Z
- Better checking for ACL queries on undefined objects (to avoid a warning).
-
-------------------------------------------------------------------------
-r1683 | jesse | 2004-10-23 17:49:38 -0400 (Sat, 23 Oct 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r6090@tinbook:  jesse | 2004-10-23T21:44:41.851286Z
- Fixed a warning when objects were created with no names
-
-------------------------------------------------------------------------
-r1682 | jesse | 2004-10-23 17:49:25 -0400 (Sat, 23 Oct 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-
- r6089@tinbook:  jesse | 2004-10-23T21:43:19.939096Z
- Fixed message returned on password change to not include md5 hash of password
-
-------------------------------------------------------------------------
-r1681 | jesse | 2004-10-23 17:48:13 -0400 (Sat, 23 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r6088@tinbook:  jesse | 2004-10-23T21:42:23.542584Z
- Bumped DBIx::SearchBuilder required version, for new SQLite support
-
-------------------------------------------------------------------------
-r1680 | jesse | 2004-10-21 13:20:05 -0400 (Thu, 21 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/ACE.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomField.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users.pm
-   M /rt/branches/3.3-TESTING/sbin/factory
-
- r6077@tinbook:  jesse | 2004-10-21T17:20:26.237576Z
- Core: integrated new factory code to allow more datamodel metadata to be collected
-
-------------------------------------------------------------------------
-r1679 | jesse | 2004-10-21 13:19:45 -0400 (Thu, 21 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-
- r6076@tinbook:  jesse | 2004-10-21T16:46:20.466296Z
- ACL: Fixed logic in an ACL query so that it returns failure when handed an invalid object, rather than trying a bogus SQL query and failing.
-
-------------------------------------------------------------------------
-r1678 | jesse | 2004-10-20 19:27:13 -0400 (Wed, 20 Oct 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r6074@tinbook:  jesse | 2004-10-20T23:26:48.112240Z
- RT-Ticket: 5701
- RT-Status: resolved
- RT-Update: correspond
- RT now prevents users from creating objects with 'Name' attributes that are numreric.
-
-------------------------------------------------------------------------
-r1677 | jesse | 2004-10-20 18:56:16 -0400 (Wed, 20 Oct 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment_Overlay.pm
-
- r6071@tinbook:  jesse | 2004-10-20T22:56:43.545883Z
- RT-Ticket: 6192
- RT-Status: update
- Updated RT::Attachement::OriginalContent to use a better regexp for determining what's encoded and what's not.
-
-------------------------------------------------------------------------
-r1676 | jesse | 2004-10-20 18:55:57 -0400 (Wed, 20 Oct 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/nl.po
-
- r6070@tinbook:  jesse | 2004-10-20T22:51:44.854897Z
- RT-Ticket: 6123
- RT-Status: resolved 
- RT-Update: correspond
- Updated the dutch translation. (As the translation hadn't been applied for a bit, some translations didn't apply cleanly.)
-
-------------------------------------------------------------------------
-r1675 | jesse | 2004-10-20 18:34:32 -0400 (Wed, 20 Oct 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/Configuration.html
-
- r6064@tinbook:  jesse | 2004-10-20T22:08:13.953728Z
- Fixed a typo
-
-------------------------------------------------------------------------
-r1674 | jesse | 2004-10-20 18:33:19 -0400 (Wed, 20 Oct 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-
- r6063@tinbook:  jesse | 2004-10-20T19:54:02.885732Z
- RT-Ticket: 6180
- RT-Status: resolved
- RT-Update: correspond
- If you have changed $MinimumPasswordLength to be greater than 6, RT's "GenerateRandomPassword" method now takes that into account
-
-------------------------------------------------------------------------
-r1673 | jesse | 2004-10-20 18:33:03 -0400 (Wed, 20 Oct 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/Configuration.html
-
- r6062@tinbook:  jesse | 2004-10-20T19:46:00.816618Z
- RT-Ticket: 6188
- RT-Status: resolved
- RT-Update: correspond
- RT squelches passwords in the configuration summary page. It no longer
- squleches "RT::MinimumPasswordLength" 
-
-------------------------------------------------------------------------
-r1672 | jesse | 2004-10-20 18:32:48 -0400 (Wed, 20 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r6061@tinbook:  jesse | 2004-10-20T19:27:22.698792Z
- Minor cleanups to record.pm
-
-------------------------------------------------------------------------
-r1671 | alexmv | 2004-10-20 15:51:36 -0400 (Wed, 20 Oct 2004) | 2 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-
-Remove wayward '+'
-
-------------------------------------------------------------------------
-r1670 | jesse | 2004-10-20 15:20:19 -0400 (Wed, 20 Oct 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/EmailParser.pm
-
- r6056@tinbook:  jesse | 2004-10-20T19:20:39.940786Z
- RT-Ticket: 5594
- RT-Status: resolved
- RT-UpdateType: correspond
- EmailParser updates applied to RT 3.3 to fix subject lines that are encoded and multi-line
-
-------------------------------------------------------------------------
-r1669 | jesse | 2004-10-20 15:19:59 -0400 (Wed, 20 Oct 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-
- r6055@tinbook:  jesse | 2004-10-20T18:56:31.219026Z
- RT-Ticket: 5569
- RT-Status: resolved
- Status is nowdefinablein the RT_Config file.
-
-------------------------------------------------------------------------
-r1666 | jesse | 2004-10-20 01:47:04 -0400 (Wed, 20 Oct 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Header
-   M /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-
- r6051@tinbook:  jesse | 2004-10-20T05:39:54.597284Z
- RT-Ticket: 5837
- RT-Status: resolved
- RT-Update: correspond
- Moved more ticket listing style to the CSS and out of the html, per the suggestion of Dirk Pape
-
-------------------------------------------------------------------------
-r1665 | jesse | 2004-10-20 01:46:54 -0400 (Wed, 20 Oct 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-
- r6050@tinbook:  jesse | 2004-10-20T05:33:26.027966Z
- RT-Ticket: 5729
- RT-Status: resolved
- RT-Action: correspond
- Patch fixes issue with multibyte characters escaping in URLs. --Ruslan
-
-------------------------------------------------------------------------
-r1663 | jesse | 2004-10-19 01:23:26 -0400 (Tue, 19 Oct 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/config.layout
-   M /rt/branches/3.3-TESTING/m4/rt_layout.m4
-
- r6048@tinbook:  jesse | 2004-10-19T05:24:15.256721Z
- RT-Ticket: 6198
- RT-Status: resolved
- RT-Update: correspond
- Applied a patch to add an fhs-compliant RT layout and fix some of the layout parsing.
-
-------------------------------------------------------------------------
-r1661 | jesse | 2004-10-19 01:17:39 -0400 (Tue, 19 Oct 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-
- r6044@tinbook:  jesse | 2004-10-19T05:18:31.025176Z
- RT-Ticket: 6154
- RT-Status: resolved
- RT-Update: reply
- Owner listings now sort alphabetically
-
-------------------------------------------------------------------------
-r1660 | jesse | 2004-10-19 01:10:02 -0400 (Tue, 19 Oct 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT.pm.in
-
- r6042@tinbook:  jesse | 2004-10-19T05:10:45.782060Z
- RT-Ticket: 6199
- RT-Status: resolved
- RT-Update: correspond
- Formatting fixes to RT.pm
-
-------------------------------------------------------------------------
-r1659 | jesse | 2004-10-18 13:47:29 -0400 (Mon, 18 Oct 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/etc/initialdata
-
- r6039@tinbook:  jesse | 2004-10-18T17:48:14.238206Z
- RT-Ticket: 5336
- RT-Status: resolved
- Approval template corrected
-
-------------------------------------------------------------------------
-r1657 | jesse | 2004-10-15 14:25:31 -0400 (Fri, 15 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r6014@tinbook:  jesse | 2004-10-15T18:26:19.439204Z
- Bumping to 3.3.8
-
-------------------------------------------------------------------------
-r1656 | jesse | 2004-10-15 13:56:50 -0400 (Fri, 15 Oct 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   A /rt/branches/3.3-TESTING/html/Admin/Elements/GlobalCustomFieldTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/GroupTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ObjectCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/QueueTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SystemTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/UserTabs
-   A /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields
-   A /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Groups.html
-   A /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Queue-Tickets.html
-   A /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Queue-Transactions.html
-   A /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/Users.html
-   A /rt/branches/3.3-TESTING/html/Admin/Global/CustomFields/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/index.html
-
- r6009@tinbook:  jesse | 2004-10-15T17:57:36.162346Z
- Administrative menu overhaul to sanitize custom field configuration.
-
-------------------------------------------------------------------------
-r1650 | jesse | 2004-10-12 17:01:07 -0400 (Tue, 12 Oct 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r1992@tinbook:  jesse | 2004-10-12T21:00:33.006657Z
- RT-Ticket: 6182
- RT-Status: resolved
-
-------------------------------------------------------------------------
-r1649 | jesse | 2004-10-11 17:10:40 -0400 (Mon, 11 Oct 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-
- r1985@tinbook:  jesse | 2004-10-11T20:26:31.046336Z
- Fixed a bug in the merge from 3.2 that broke ticket transaction searching; added support for Ticket "Updated" as a synonym for TransactionDate as a search criterion
-
-------------------------------------------------------------------------
-r1648 | jesse | 2004-10-10 00:30:21 -0400 (Sun, 10 Oct 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/configure.ac
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-   M /rt/branches/3.3-TESTING/html/Search/Results.tsv
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyAll.html
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/3.3-TESTING/sbin/rt-setup-database.in
-
- r1651@tinbook:  jesse | 2004-10-10T04:24:17.077128Z
- r1652@tinbook:  jesse | 2004-10-10T04:30:49.336195Z
-  r1650@tinbook:  jesse | 2004-10-10T04:23:58.456281Z
-  
-
-------------------------------------------------------------------------
-r1603 | jesse | 2004-09-30 22:45:46 -0400 (Thu, 30 Sep 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/Menu
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-
- ----------------------------------------------------------------------
- r10434@tinbook:  jesse | 2004-10-01T02:43:47.012515Z
- Better cssification of the menus
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1566 | jesse | 2004-09-27 17:20:14 -0400 (Mon, 27 Sep 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/Menu
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-
- r10391@tinbook:  jesse | 2004-09-27T21:17:31.817589Z
- RT-Ticket: 6139
- RT-Status: resolved
- RT-Update-Type: correspond
- Applied patch from Oliver Thomas to move more menu styling to the external CSS file and out of the html.
-
-------------------------------------------------------------------------
-r1556 | jesse | 2004-09-23 15:14:29 -0400 (Thu, 23 Sep 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowPeople
-
- r10336@Jesse-Vincents-Computer:  jesse | 2004-09-23T06:45:36.828724Z
- r10350@Jesse-Vincents-Computer:  jesse | 2004-09-23T19:13:34.578717Z
- Use ShowUserEntry for ShowPeople
-
-------------------------------------------------------------------------
-r1554 | jesse | 2004-09-23 00:30:24 -0400 (Thu, 23 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r1867@bitsy:  jesse | 2004-09-23T02:39:51.040258Z
- Bumping to 3.3.7
-
-------------------------------------------------------------------------
-r1553 | jesse | 2004-09-23 00:30:04 -0400 (Thu, 23 Sep 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r1865@bitsy:  jesse | 2004-09-23T02:28:19.315048Z
- r1866@bitsy:  jesse | 2004-09-23T02:38:19.257248Z
- DBIx::SearchBuilder dependency incremented
-
-------------------------------------------------------------------------
-r1552 | tla | 2004-09-22 23:54:00 -0400 (Wed, 22 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/lib/t/07acl.pl.in
-
-This now actually tests the SelectOwner functionality change.
-
-
-------------------------------------------------------------------------
-r1551 | tla | 2004-09-22 18:44:28 -0400 (Wed, 22 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-   M /rt/branches/3.3-TESTING/lib/t/07acl.pl.in
-
-SelectOwner can now be passed a list of queues which the user may see.
-
-
-------------------------------------------------------------------------
-r1550 | tla | 2004-09-22 17:32:53 -0400 (Wed, 22 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/lib/t/07acl.pl.in
-
-Add sleeps for the right granting; try a pattern-match that works this time.
-
-
-------------------------------------------------------------------------
-r1546 | autrijus | 2004-09-22 13:16:22 -0400 (Wed, 22 Sep 2004) | 8 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
- r7965@not:  autrijus | 2004-09-21T13:18:07.917938Z
- r8021@not:  autrijus | 2004-09-22T17:15:50.576469Z
- * On mod_perl1 with root directory, ->filename is empty, not '/',
-   hence breaking index.html handling.  Entirely my fault.
-
-------------------------------------------------------------------------
-r1544 | tla | 2004-09-22 12:21:24 -0400 (Wed, 22 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/html/Elements/Header
-
-If a user does not have the ModifySelf right, he/she should also not
-be able to see the Prefs link in the header.
-
-
-------------------------------------------------------------------------
-r1543 | tla | 2004-09-22 04:08:50 -0400 (Wed, 22 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-
-If we unlimit the queues, then queues will show up, and then users will
-show up, and then customers will be happy.
-
-
-------------------------------------------------------------------------
-r1542 | tla | 2004-09-22 03:41:22 -0400 (Wed, 22 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/UPGRADING
-   M /rt/branches/3.3-TESTING/configure.ac
-   M /rt/branches/3.3-TESTING/html/Elements/Tabs
-   M /rt/branches/3.3-TESTING/lib/t/02regression.t.in
-   A /rt/branches/3.3-TESTING/lib/t/07acl.pl.in
-
-Moved the functionality whereby Config and Prefs tabs disappear to core.
-Wrote tests for the new core behavior.
-
-
-------------------------------------------------------------------------
-r1541 | tla | 2004-09-22 03:14:33 -0400 (Wed, 22 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/lib/t/05cronsupport.pl.in
-
-The regression test would die if the last test in here failed.
-That wasn't very nice of me.
-
-------------------------------------------------------------------------
-r1538 | tla | 2004-09-22 01:57:34 -0400 (Wed, 22 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/configure.ac
-
-The cronsupport tests somehow fell out of here.  Replacing.
-
-
-------------------------------------------------------------------------
-r1535 | jesse | 2004-09-21 02:03:26 -0400 (Tue, 21 Sep 2004) | 10 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-
- r10334@tinbook:  jesse | 2004-09-21T06:03:40.050504Z
- RT-Ticket: 6105
- RT-Status: resolved
- RT-UpdateType: correspond
- Refactored some TicketSQL stuff to bound the right thing in our ticketsql subclause
-
-------------------------------------------------------------------------
-r1534 | jesse | 2004-09-21 01:16:18 -0400 (Tue, 21 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-
- r10332@tinbook:  jesse | 2004-09-21T05:16:35.439550Z
- Next test version of less broken cf search code
-
-------------------------------------------------------------------------
-r1533 | jesse | 2004-09-21 00:48:54 -0400 (Tue, 21 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-
- r10326@tinbook:  jesse | 2004-09-21T04:48:46.583575Z
- First test version of less broken cf search code
-
-------------------------------------------------------------------------
-r1528 | jesse | 2004-09-20 23:18:19 -0400 (Mon, 20 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCFs
-
- r10324@tinbook:  jesse | 2004-09-21T03:18:34.501590Z
- removing some debugging output
-
-------------------------------------------------------------------------
-r1527 | jesse | 2004-09-20 23:12:11 -0400 (Mon, 20 Sep 2004) | 142 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCFs
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields_Overlay.pm
-
- r10311@tinbook:  jesse | 2004-09-20T21:22:51.344787Z
-  ----------------------------------------------------------------------
-  r10213@tinbook (orig r1454):  autrijus | 2004-09-08T19:54:32.241114Z
-   r5740@xor:  autrijus | 2004-09-08T19:54:01.384500Z
-   * Let "make install" for inplace layout work without hassle.
-   
-  
-  ----------------------------------------------------------------------
-  r10214@tinbook (orig r1455):  autrijus | 2004-09-08T19:54:55.301056Z
-   r5741@xor:  autrijus | 2004-09-08T19:54:33.611316Z
-   * With SQLite, put database in $VarPath if $DatabaseName is relative.
-  
-  ----------------------------------------------------------------------
-  r10215@tinbook (orig r1456):  autrijus | 2004-09-08T19:59:38.530949Z
-   r5749@xor:  autrijus | 2004-09-08T19:59:51.949128Z
-   * Add mason_handler.scgi and standalone_httpd into list of files
-     to be made executable on "make fixperms".
-  
-  ----------------------------------------------------------------------
-  r10216@tinbook (orig r1457):  jesse | 2004-09-08T20:31:26.131286Z
-   
-   ----------------------------------------------------------------------
-   r10212@tinbook:  jesse | 2004-09-08T20:30:48.849107Z
-   merging 3.2's Offline.html page forward to 3.3
-   ----------------------------------------------------------------------
-  
-  ----------------------------------------------------------------------
-  r10222@tinbook (orig r1461):  autrijus | 2004-09-08T21:30:59.960856Z
-   r5770@xor:  autrijus | 2004-09-08T20:42:48.599276Z
-   
-   
-   
-   r5809@xor:  autrijus | 2004-09-08T21:30:29.869203Z
-   * add sbin/rt-dump-database into sbin files.
-  
-  ----------------------------------------------------------------------
-  r10257@tinbook (orig r1480):  jesse | 2004-09-14T03:28:52.701395Z
-  Bumped to 3.3.6
-  ----------------------------------------------------------------------
-  r10275@tinbook (orig r1493):  autrijus | 2004-09-15T15:40:44.820762Z
-   r7404@not:   | 2004-09-15T00:04:07.008049Z
-   
-   
-   
-   r7442@not:   | 2004-09-15T15:39:23.096249Z
-    ----------------------------------------------------------------------
-    r7441@not:  autrijus | 2004-09-15T15:20:23.097011Z
-    * Luis Arnauth pointed out that we did not serve mail-gateway.
-    ----------------------------------------------------------------------
-   
-  
-  ----------------------------------------------------------------------
-  r10298@tinbook (orig r1506):  jesse | 2004-09-19T20:20:43.620895Z
-  Fixing case of mysql tablenames, since all the world is not case insensitive like Mac OS X. This is a good thing
-  ----------------------------------------------------------------------
-  r10299@tinbook (orig r1507):  jesse | 2004-09-20T00:58:19.610978Z
-   r10219@tinbook (orig r1458):  leira | 2004-09-08T21:19:51.021183Z
-   If something is overdue, set DueRelative to class "overdue".
-   
-   Note: core RT doesn't have an "overdue" class at this time.
-   
-  
-  ----------------------------------------------------------------------
-  r10300@tinbook (orig r1508):  jesse | 2004-09-20T00:58:46.601286Z
-   r10221@tinbook (orig r1460):  leira | 2004-09-08T21:29:25.111044Z
-   Use time() instead of making an RT::Date.
-   
-  
-  ----------------------------------------------------------------------
-  r10301@tinbook (orig r1509):  jesse | 2004-09-20T00:59:15.051043Z
-   r10223@tinbook (orig r1462):  leira | 2004-09-08T21:31:51.811014Z
-   Overdue things are now read.
-   
-  
-  ----------------------------------------------------------------------
-  r10302@tinbook (orig r1510):  jesse | 2004-09-20T00:59:45.271374Z
-   r10225@tinbook (orig r1464):  leira | 2004-09-08T21:41:43.110851Z
-   Don't put a span around things if it won't do anything.
-   
-  
-  ----------------------------------------------------------------------
-  r10303@tinbook (orig r1511):  jesse | 2004-09-20T01:00:10.600204Z
-   r10238@tinbook (orig r1474):  jesse | 2004-09-10T19:40:40.885981Z
-   -l
-   
-   
-  
-  ----------------------------------------------------------------------
-  r10304@tinbook (orig r1512):  jesse | 2004-09-20T01:01:13.381046Z
-   r10253@tinbook (orig r1477):  jesse | 2004-09-13T20:01:18.620833Z
-    r10249@tinbook:  jesse | 2004-09-13T19:56:43.541086Z
-     ----------------------------------------------------------------------
-     r10238@tinbook (orig r1474):  jesse | 2004-09-10T19:40:40.885981Z
-     
-     
-     ----------------------------------------------------------------------
-    
-    r10250@tinbook:  jesse | 2004-09-13T19:58:31.660069Z
-    Bumped to 3.2.2rc1
-   
-  
-  ----------------------------------------------------------------------
-  r10305@tinbook (orig r1513):  jesse | 2004-09-20T01:01:37.103494Z
-   r10265@tinbook (orig r1486):  jesse | 2004-09-14T06:12:08.920979Z
-    r10262@tinbook:  jesse | 2004-09-14T06:12:21.353389Z
-    Never try to fetch attributes when we don't have an object to fetch attributes on
-   
-  
-  ----------------------------------------------------------------------
-  r10306@tinbook (orig r1514):  jesse | 2004-09-20T01:02:01.021112Z
-   r10267@tinbook (orig r1487):  jesse | 2004-09-14T16:14:00.320887Z
-    r10266@tinbook:  jesse | 2004-09-14T16:14:14.588686Z
-    RT-Ticket: 5836
-    RT-Status: resolved
-    RT-ACtion: reply
-    
-    
-    Added back a "ticket refresh" dropdown on the search results page.
-    Thanks to Dirk Pape.
-    
-    
-   
-  
-  ----------------------------------------------------------------------
-  r10307@tinbook (orig r1515):  jesse | 2004-09-20T01:02:23.020890Z
-   r10277@tinbook (orig r1495):  leira | 2004-09-15T19:22:35.471086Z
-   Removed <pre> block around the header keys, and removed an extraneous </td>.
-   
-  
-  ----------------------------------------------------------------------
-  r10308@tinbook (orig r1516):  jesse | 2004-09-20T01:02:45.710756Z
-   r10284@tinbook (orig r1498):  leira | 2004-09-16T22:28:20.860968Z
-   Add another callback that passes parsed headers.
-   
-   Useful for MakeClicky, among other things.
-   
-  
-  ----------------------------------------------------------------------
- r10312@tinbook:  jesse | 2004-09-21T03:10:37.466198Z
- Custom field joins were being incorrectly constructed
-
-------------------------------------------------------------------------
-r1526 | tla | 2004-09-20 18:06:08 -0400 (Mon, 20 Sep 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-
-The SelectOwner widget should not reveal the names system superusers
-to users who are not otherwise privileged to see them.  Made this
-variable change in the UsersWhoHaveRight() call.
-
-
-------------------------------------------------------------------------
-r1525 | autrijus | 2004-09-20 14:25:28 -0400 (Mon, 20 Sep 2004) | 3 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/sbin/rt-dump-database.in
-
- r7812@not:  autrijus | 2004-09-20T18:00:42.848849Z
- * dump data has to return 'true'. oops.
-
-------------------------------------------------------------------------
-r1522 | autrijus | 2004-09-20 13:22:04 -0400 (Mon, 20 Sep 2004) | 3 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- r7810@not:  autrijus | 2004-09-20T17:22:27.534622Z
- * add YAML as a core dep for rt-dump-database.
-
-------------------------------------------------------------------------
-r1519 | autrijus | 2004-09-20 13:09:36 -0400 (Mon, 20 Sep 2004) | 2 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/sbin/rt-dump-database.in
-
-* rt-dump-database now uses YAML for easy hand modification.
-
-------------------------------------------------------------------------
-r1516 | jesse | 2004-09-19 21:02:45 -0400 (Sun, 19 Sep 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageHeaders
-
- r10284@tinbook (orig r1498):  leira | 2004-09-16T22:28:20.860968Z
- Add another callback that passes parsed headers.
- Useful for MakeClicky, among other things.
-
-------------------------------------------------------------------------
-r1515 | jesse | 2004-09-19 21:02:23 -0400 (Sun, 19 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageHeaders
-
- r10277@tinbook (orig r1495):  leira | 2004-09-15T19:22:35.471086Z
- Removed <pre> block around the header keys, and removed an extraneous </td>.
-
-------------------------------------------------------------------------
-r1514 | jesse | 2004-09-19 21:02:01 -0400 (Sun, 19 Sep 2004) | 13 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Results.html
-
- r10267@tinbook (orig r1487):  jesse | 2004-09-14T16:14:00.320887Z
-  r10266@tinbook:  jesse | 2004-09-14T16:14:14.588686Z
-  RT-Ticket: 5836
-  RT-Status: resolved
-  RT-ACtion: reply
-  
-  
-  Added back a "ticket refresh" dropdown on the search results page.
-  Thanks to Dirk Pape.
-  
-  
-
-------------------------------------------------------------------------
-r1513 | jesse | 2004-09-19 21:01:37 -0400 (Sun, 19 Sep 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes_Overlay.pm
-
- r10265@tinbook (orig r1486):  jesse | 2004-09-14T06:12:08.920979Z
-  r10262@tinbook:  jesse | 2004-09-14T06:12:21.353389Z
-  Never try to fetch attributes when we don't have an object to fetch attributes on
-
-------------------------------------------------------------------------
-r1512 | jesse | 2004-09-19 21:01:13 -0400 (Sun, 19 Sep 2004) | 12 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/releng.cnf
-
- r10253@tinbook (orig r1477):  jesse | 2004-09-13T20:01:18.620833Z
-  r10249@tinbook:  jesse | 2004-09-13T19:56:43.541086Z
-   ----------------------------------------------------------------------
-   r10238@tinbook (orig r1474):  jesse | 2004-09-10T19:40:40.885981Z
-   
-   
-   ----------------------------------------------------------------------
-  
-  r10250@tinbook:  jesse | 2004-09-13T19:58:31.660069Z
-  Bumped to 3.2.2rc1
-
-------------------------------------------------------------------------
-r1511 | jesse | 2004-09-19 21:00:10 -0400 (Sun, 19 Sep 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip_Overlay.pm
-
- r10238@tinbook (orig r1474):  jesse | 2004-09-10T19:40:40.885981Z
- -l
-
-------------------------------------------------------------------------
-r1510 | jesse | 2004-09-19 20:59:45 -0400 (Sun, 19 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
- r10225@tinbook (orig r1464):  leira | 2004-09-08T21:41:43.110851Z
- Don't put a span around things if it won't do anything.
-
-------------------------------------------------------------------------
-r1509 | jesse | 2004-09-19 20:59:15 -0400 (Sun, 19 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-
- r10223@tinbook (orig r1462):  leira | 2004-09-08T21:31:51.811014Z
- Overdue things are now read.
-
-------------------------------------------------------------------------
-r1508 | jesse | 2004-09-19 20:58:46 -0400 (Sun, 19 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
- r10221@tinbook (orig r1460):  leira | 2004-09-08T21:29:25.111044Z
- Use time() instead of making an RT::Date.
-
-------------------------------------------------------------------------
-r1507 | jesse | 2004-09-19 20:58:19 -0400 (Sun, 19 Sep 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-
- r10219@tinbook (orig r1458):  leira | 2004-09-08T21:19:51.021183Z
- If something is overdue, set DueRelative to class "overdue".
- Note: core RT doesn't have an "overdue" class at this time.
-
-------------------------------------------------------------------------
-r1506 | jesse | 2004-09-19 16:20:43 -0400 (Sun, 19 Sep 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING/etc/upgrade/3.3.0/schema.mysql
-
-Fixing case of mysql tablenames, since all the world is not case insensitive like Mac OS X. This is a good thing
-------------------------------------------------------------------------
-r1493 | autrijus | 2004-09-15 11:40:44 -0400 (Wed, 15 Sep 2004) | 11 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
- r7404@not:   | 2004-09-15T00:04:07.008049Z
- r7442@not:   | 2004-09-15T15:39:23.096249Z
-  ----------------------------------------------------------------------
-  r7441@not:  autrijus | 2004-09-15T15:20:23.097011Z
-  * Luis Arnauth pointed out that we did not serve mail-gateway.
-  ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1480 | jesse | 2004-09-13 23:28:52 -0400 (Mon, 13 Sep 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING/releng.cnf
-
-Bumped to 3.3.6
-------------------------------------------------------------------------
-r1461 | autrijus | 2004-09-08 17:30:59 -0400 (Wed, 08 Sep 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/Makefile.in
-   M /rt/branches/3.3-TESTING/configure.ac
-
- r5770@xor:  autrijus | 2004-09-08T20:42:48.599276Z
- r5809@xor:  autrijus | 2004-09-08T21:30:29.869203Z
- * add sbin/rt-dump-database into sbin files.
-
-------------------------------------------------------------------------
-r1457 | jesse | 2004-09-08 16:31:26 -0400 (Wed, 08 Sep 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Tools/Offline.html
-
- ----------------------------------------------------------------------
- r10212@tinbook:  jesse | 2004-09-08T20:30:48.849107Z
- merging 3.2's Offline.html page forward to 3.3
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1456 | autrijus | 2004-09-08 15:59:38 -0400 (Wed, 08 Sep 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/Makefile.in
-
- r5749@xor:  autrijus | 2004-09-08T19:59:51.949128Z
- * Add mason_handler.scgi and standalone_httpd into list of files
-   to be made executable on "make fixperms".
-
-------------------------------------------------------------------------
-r1455 | autrijus | 2004-09-08 15:54:55 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/lib/RT/Handle.pm
-
- r5741@xor:  autrijus | 2004-09-08T19:54:33.611316Z
- * With SQLite, put database in $VarPath if $DatabaseName is relative.
-
-------------------------------------------------------------------------
-r1454 | autrijus | 2004-09-08 15:54:32 -0400 (Wed, 08 Sep 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/Makefile.in
-
- r5740@xor:  autrijus | 2004-09-08T19:54:01.384500Z
- * Let "make install" for inplace layout work without hassle.
-
-------------------------------------------------------------------------
-r1453 | jesse | 2004-09-08 15:00:44 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   A /rt/branches/3.3-TESTING/html/Admin/autohandler
-
- r10209@tinbook:  jesse | 2004-09-08T17:44:02.958487Z
- New autohandler to keep prying eyes out of the adminui
-
-------------------------------------------------------------------------
-r1452 | jesse | 2004-09-08 12:49:35 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-
- r10201@tinbook:  jesse | 2004-09-08T16:46:05.221674Z
- Ticket listings modified to show which N results they're showing
-
-------------------------------------------------------------------------
-r1451 | jesse | 2004-09-08 12:49:19 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-
- r10200@tinbook:  jesse | 2004-09-08T16:44:11.407371Z
- Modified search UI to only show potential owners for tickets in queues the user can see.
-
-------------------------------------------------------------------------
-r1450 | jesse | 2004-09-08 12:49:07 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
-
- r10199@tinbook:  jesse | 2004-09-08T16:42:14.323284Z
- Edited the Saved Search UI to not display things the user can not do
-
-------------------------------------------------------------------------
-r1449 | jesse | 2004-09-08 12:48:48 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/System.pm
-
- r10198@tinbook:  jesse | 2004-09-08T16:40:40.817855Z
- Added new rights: ShowConfigTab, LoadSavedSearch, CreateSavedSearch
-
-------------------------------------------------------------------------
-r1448 | autrijus | 2004-09-08 05:02:12 -0400 (Wed, 08 Sep 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/README
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-
- r4031@not:  autrijus | 2004-09-07T20:56:58.734255Z
- r4032@not:  autrijus | 2004-09-07T21:02:14.437187Z
- * Unify httpd.conf settings for mod_perl1 and mod_perl2.
-
-------------------------------------------------------------------------
-r1447 | jesse | 2004-09-08 01:24:48 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r10181@tinbook:  jesse | 2004-09-08T05:21:47.107322Z
- ACL checks to make sure a user can modify both tickets when creating a link
-
-------------------------------------------------------------------------
-r1446 | jesse | 2004-09-08 01:24:34 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-
- r10180@tinbook:  jesse | 2004-09-08T05:18:46.031232Z
- Fixed a debug message
-
-------------------------------------------------------------------------
-r1445 | jesse | 2004-09-08 01:24:22 -0400 (Wed, 08 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-
- r10179@tinbook:  jesse | 2004-09-08T05:17:10.044025Z
- Fixed a bug in the web handler that would throw an error when not running in a modperl environemnt
-
-------------------------------------------------------------------------
-r1444 | jesse | 2004-09-08 01:24:02 -0400 (Wed, 08 Sep 2004) | 4 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/SelectQueue
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
-
- r10178@tinbook:  jesse | 2004-09-08T05:16:16.426259Z
- When searching for tickets, now the user will only see tickets they have the right to ShowTicket in...
-
-------------------------------------------------------------------------
-r1443 | jesse | 2004-09-08 01:23:31 -0400 (Wed, 08 Sep 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Elements/Quicksearch
-
- r10177@tinbook:  jesse | 2004-09-07T23:05:53.208347Z
- Updated the Quicksearch element to use slightly cleaner code.
- BEHAVIOR CHANGE:  Only queues for which the current user has "ShowTicket" are listed in the queue list.
-
-------------------------------------------------------------------------
-r1436 | jesse | 2004-09-07 18:50:53 -0400 (Tue, 07 Sep 2004) | 7 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r10175@tinbook:  jesse | 2004-09-07T22:49:31.744508Z
- iRefactoring of the MergeInto method to use less code, be more correct and be clearer. 
- Updated tests to test merge.
-
-------------------------------------------------------------------------
-r1421 | autrijus | 2004-09-06 10:50:19 -0400 (Mon, 06 Sep 2004) | 2 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_tw.po
-
-* Updated Chinese translations.
-
-------------------------------------------------------------------------
-r1417 | jesse | 2004-09-03 19:24:32 -0400 (Fri, 03 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-
- r10151@tinbook:  jesse | 2004-09-03T23:24:09.414496Z
- minor library cleanups
-
-------------------------------------------------------------------------
-r1416 | jesse | 2004-09-03 19:24:24 -0400 (Fri, 03 Sep 2004) | 3 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/rt-mailgate.in
-   M /rt/branches/3.3-TESTING/configure.ac
-   M /rt/branches/3.3-TESTING/lib/t/02regression.t.in
-   A /rt/branches/3.3-TESTING/lib/t/06mailgateway.pl.in
-
- r10150@tinbook:  jesse | 2004-09-03T23:22:35.061493Z
- Moving mailgateway tests into their own file
-
-------------------------------------------------------------------------
-r1415 | jesse | 2004-09-03 16:35:38 -0400 (Fri, 03 Sep 2004) | 9 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-
- ----------------------------------------------------------------------
- r10116@tinbook:  jesse | 2004-09-02T21:14:26.642415Z
- ----------------------------------------------------------------------
- r10144@tinbook:  jesse | 2004-09-03T20:32:06.311337Z
- Query builder fixes (merge bug)
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1388 | jesse | 2004-09-01 00:43:19 -0400 (Wed, 01 Sep 2004) | 5 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectRights
-
- ----------------------------------------------------------------------
- r10114@tinbook:  jesse | 2004-09-01T04:43:10.448516Z
- Don't show rights that a principal has in the list of rights that can be granted to them
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1387 | jesse | 2004-09-01 00:10:48 -0400 (Wed, 01 Sep 2004) | 11 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-   M /rt/branches/3.3-TESTING/html/Search/Elements/DisplayOptions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCFs
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria
-
- ----------------------------------------------------------------------
- r8302@tinbook:  jesse | 2004-07-28T20:59:42.277484Z
- ----------------------------------------------------------------------
- r10109@tinbook:  jesse | 2004-09-01T04:08:25.198125Z
- rewrote mail gateway shim to be a bit more robust
- ----------------------------------------------------------------------
- r10110@tinbook:  jesse | 2004-09-01T04:09:17.429478Z
- Started to refactor the query builder ui code to yank out the bogus logic.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1383 | jesse | 2004-08-31 22:37:44 -0400 (Tue, 31 Aug 2004) | 407 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/Makefile.in
-   M /rt/branches/3.3-TESTING/README
-   M /rt/branches/3.3-TESTING/bin/mason_handler.fcgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.scgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.svc.in
-   M /rt/branches/3.3-TESTING/bin/rt-crontool.in
-   M /rt/branches/3.3-TESTING/bin/rt-mailgate.in
-   M /rt/branches/3.3-TESTING/bin/rt.in
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-   M /rt/branches/3.3-TESTING/etc/drop.Oracle
-   M /rt/branches/3.3-TESTING/etc/upgrade/3.1.0/schema.Pg
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/AddCustomFieldValue
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/CreateUserCalled
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFieldValues
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditQueueWatchers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditScrip
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditScrips
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditTemplates
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditUserComments
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/GroupTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ListGlobalCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ListGlobalScrips
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ModifyTemplate
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/QueueRightsForUser
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/QueueTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectCustomFieldType
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectGroups
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyGroup
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyQueue
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyUser
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectNewGroupMembers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectRights
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScrip
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScripAction
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScripCondition
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectSingleOrMultiple
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectStage
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectTemplate
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectUsers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SystemTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ToolTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/UserTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Global/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Scrip.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Scrips.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Template.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Templates.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/Members.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/CustomField.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/CustomFields.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/People.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Scrip.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Scrips.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Template.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Templates.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/Configuration.html
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/index.html
-   M /rt/branches/3.3-TESTING/html/Approvals/Display.html
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/Approve
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/PendingMyApproval
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/ShowDependency
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Approvals/index.html
-   M /rt/branches/3.3-TESTING/html/Elements/BevelBoxRaisedEnd
-   M /rt/branches/3.3-TESTING/html/Elements/BevelBoxRaisedStart
-   M /rt/branches/3.3-TESTING/html/Elements/Callback
-   M /rt/branches/3.3-TESTING/html/Elements/Checkbox
-   A /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable
-   A /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Header
-   A /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/ParseFormat
-   A /rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
-   M /rt/branches/3.3-TESTING/html/Elements/CreateTicket
-   M /rt/branches/3.3-TESTING/html/Elements/EditLinks
-   M /rt/branches/3.3-TESTING/html/Elements/Error
-   M /rt/branches/3.3-TESTING/html/Elements/Footer
-   M /rt/branches/3.3-TESTING/html/Elements/GotoTicket
-   M /rt/branches/3.3-TESTING/html/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Elements/ListActions
-   M /rt/branches/3.3-TESTING/html/Elements/Login
-   M /rt/branches/3.3-TESTING/html/Elements/Menu
-   M /rt/branches/3.3-TESTING/html/Elements/MessageBox
-   M /rt/branches/3.3-TESTING/html/Elements/MyRequests
-   M /rt/branches/3.3-TESTING/html/Elements/MyTickets
-   M /rt/branches/3.3-TESTING/html/Elements/PageLayout
-   M /rt/branches/3.3-TESTING/html/Elements/QueryString
-   M /rt/branches/3.3-TESTING/html/Elements/QuickCreate
-   M /rt/branches/3.3-TESTING/html/Elements/Quicksearch
-   A /rt/branches/3.3-TESTING/html/Elements/RT__Ticket
-   A /rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
-   M /rt/branches/3.3-TESTING/html/Elements/Refresh
-   M /rt/branches/3.3-TESTING/html/Elements/ScrubHTML
-   M /rt/branches/3.3-TESTING/html/Elements/Section
-   M /rt/branches/3.3-TESTING/html/Elements/SelectAttachmentField
-   M /rt/branches/3.3-TESTING/html/Elements/SelectBoolean
-   M /rt/branches/3.3-TESTING/html/Elements/SelectCustomFieldOperator
-   M /rt/branches/3.3-TESTING/html/Elements/SelectCustomFieldValue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDate
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDateRelation
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDateType
-   M /rt/branches/3.3-TESTING/html/Elements/SelectEqualityOperator
-   M /rt/branches/3.3-TESTING/html/Elements/SelectGroups
-   M /rt/branches/3.3-TESTING/html/Elements/SelectLang
-   M /rt/branches/3.3-TESTING/html/Elements/SelectLinkType
-   M /rt/branches/3.3-TESTING/html/Elements/SelectMatch
-   M /rt/branches/3.3-TESTING/html/Elements/SelectNewTicketQueue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-   M /rt/branches/3.3-TESTING/html/Elements/SelectQueue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectResultsPerPage
-   M /rt/branches/3.3-TESTING/html/Elements/SelectSortOrder
-   M /rt/branches/3.3-TESTING/html/Elements/SelectStatus
-   M /rt/branches/3.3-TESTING/html/Elements/SelectTicketSortBy
-   M /rt/branches/3.3-TESTING/html/Elements/SelectTicketTypes
-   M /rt/branches/3.3-TESTING/html/Elements/SelectUsers
-   M /rt/branches/3.3-TESTING/html/Elements/SelectWatcherType
-   M /rt/branches/3.3-TESTING/html/Elements/SetupSessionCookie
-   M /rt/branches/3.3-TESTING/html/Elements/ShowLink
-   M /rt/branches/3.3-TESTING/html/Elements/ShowLinks
-   M /rt/branches/3.3-TESTING/html/Elements/SimpleSearch
-   M /rt/branches/3.3-TESTING/html/Elements/Submit
-   M /rt/branches/3.3-TESTING/html/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBox
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxEnd
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxStart
-   M /rt/branches/3.3-TESTING/html/NoAuth/Logout.html
-   M /rt/branches/3.3-TESTING/html/NoAuth/Reminder.html
-   A /rt/branches/3.3-TESTING/html/NoAuth/images/autohandler
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/queue/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/queue/ns
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/attachments
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/history
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/links
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/user/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/user/ns
-   M /rt/branches/3.3-TESTING/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/3.3-TESTING/html/REST/1.0/autohandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/dhandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/logout
-   M /rt/branches/3.3-TESTING/html/REST/1.0/search/dhandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/search/ticket
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/comment
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/link
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/merge
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/html/Search/Edit.html
-   M /rt/branches/3.3-TESTING/html/Search/Elements/BuildFormatString
-   M /rt/branches/3.3-TESTING/html/Search/Elements/DisplayOptions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditFormat
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
-   M /rt/branches/3.3-TESTING/html/Search/Elements/NewListActions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCFs
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SearchPrivacy
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectLinks
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectSearchObject
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectSearchesForObjects
-   M /rt/branches/3.3-TESTING/html/Search/Results.html
-   M /rt/branches/3.3-TESTING/html/Search/Results.rdf
-   M /rt/branches/3.3-TESTING/html/Search/Results.tsv
-   M /rt/branches/3.3-TESTING/html/SelfService/Attachment/dhandler
-   M /rt/branches/3.3-TESTING/html/SelfService/Closed.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Create.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Display.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/GotoTicket
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/Header
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/MyRequests
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/SelfService/Error.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Prefs.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Update.html
-   M /rt/branches/3.3-TESTING/html/SelfService/index.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Attachment/dhandler
-   M /rt/branches/3.3-TESTING/html/Ticket/Create.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Display.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/AddWatchers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/BulkLinks
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditBasics
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditDates
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditPeople
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditWatchers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/FindAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/LoadTextAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/PreviewScrips
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowBasics
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowCustomFields
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowDates
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowDependencies
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowGroupMembers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowHistory
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMemberOf
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMembers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageHeaders
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageStanza
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowPeople
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowReferences
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowRequestor
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowSummary
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowTransactionAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowUserEntry
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Ticket/History.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Modify.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyAll.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyDates.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyLinks.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyPeople.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ShowEmailRecord.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Update.html
-   M /rt/branches/3.3-TESTING/html/Tools/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Tools/MyDay.html
-   M /rt/branches/3.3-TESTING/html/Tools/Offline.html
-   M /rt/branches/3.3-TESTING/html/User/Delegation.html
-   M /rt/branches/3.3-TESTING/html/User/Elements/DelegateRights
-   M /rt/branches/3.3-TESTING/html/User/Elements/GroupTabs
-   M /rt/branches/3.3-TESTING/html/User/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/User/Groups/Members.html
-   M /rt/branches/3.3-TESTING/html/User/Groups/Modify.html
-   M /rt/branches/3.3-TESTING/html/User/Groups/index.html
-   M /rt/branches/3.3-TESTING/html/User/Prefs.html
-   M /rt/branches/3.3-TESTING/html/autohandler
-   M /rt/branches/3.3-TESTING/html/index.html
-   M /rt/branches/3.3-TESTING/html/l
-   M /rt/branches/3.3-TESTING/lib/RT/ACE.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/AutoOpen.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Autoreply.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/EscalatePriority.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Notify.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/NotifyAsComment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/RecordComment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/RecordCorrespondence.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/ResolveMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SetPriority.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/UserDefined.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Base.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/AnyTransaction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/BeforeDue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/Overdue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/OwnerChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/PriorityChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/PriorityExceeds.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/QueueChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/StatusChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/UserDefined.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CurrentUser.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Date.pm
-   M /rt/branches/3.3-TESTING/lib/RT/EmailParser.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Handle.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/cs.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/cs.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/da.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/de.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/es.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/fi.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/fr.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/he.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/hu.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/i_default.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/it.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/ja.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/nl.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/no.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/ru.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_tw.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/CLI.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Auth/GnuPG.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Auth/MailFrom.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Filter/SpamAssassin.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/REST.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/ActiveTicketsInQueue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/FromSQL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/SearchBuilder.pm
-   M /rt/branches/3.3-TESTING/lib/RT/System.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI/base.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT.pm.in
-   M /rt/branches/3.3-TESTING/sbin/extract-message-catalog
-   M /rt/branches/3.3-TESTING/sbin/extract_pod_tests
-   M /rt/branches/3.3-TESTING/sbin/factory
-   M /rt/branches/3.3-TESTING/sbin/license_tag
-   M /rt/branches/3.3-TESTING/sbin/regression_harness
-   M /rt/branches/3.3-TESTING/sbin/rt-setup-database.in
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- ----------------------------------------------------------------------
- r8270@tinbook (orig r1270):  autrijus | 2004-07-22T00:39:33.156202Z
-  ----------------------------------------------------------------------
-  r6200@not:  autrijus | 2004-07-22T00:37:31.494556Z
-  
-  * $Ticket->AddCustomFieldValue now takes FIELD as Name.
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8271@tinbook (orig r1271):  autrijus | 2004-07-22T00:52:53.468442Z
-  ----------------------------------------------------------------------
-  r6204@not:  autrijus | 2004-07-22T00:52:38.207887Z
-  
-  * Switch $Ticket->AddCustomFieldValue to use $cf->LoadByNameAndQueue for
-    forward compatibility.
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8272@tinbook (orig r1272):  jesse | 2004-07-22T01:04:55.279276Z
-  ----------------------------------------------------------------------
-  r8267@tinbook:  jesse | 2004-07-22T01:01:02.633960Z
-  
-  Making license blocks fold away
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8282@tinbook (orig r1276):  jesse | 2004-07-22T19:08:32.352834Z
-  ----------------------------------------------------------------------
-  r8281@tinbook:  jesse | 2004-07-22T19:08:48.451578Z
-  
-  * The "/l" component now does all its work in the init block
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8286@tinbook (orig r1277):  leira | 2004-07-23T02:30:36.111345Z
- If a template file is uploaded, clear out the old template first (as before).
- ----------------------------------------------------------------------
- r8287@tinbook (orig r1278):  leira | 2004-07-23T02:32:27.864998Z
- Fill in the default queue if one was specified.
- ----------------------------------------------------------------------
- r8288@tinbook (orig r1279):  leira | 2004-07-23T03:02:15.525380Z
- RT-Ticket: 5880
- RT-Status: resolved
- RT-Action: correspond
- NULL values can now be chosen, and the TicketSQL query is constructed properly.
- ----------------------------------------------------------------------
- r8289@tinbook (orig r1280):  leira | 2004-07-23T03:04:27.962400Z
- No value is NULL, not null.
- ----------------------------------------------------------------------
- r8290@tinbook (orig r1281):  autrijus | 2004-07-23T17:15:16.923948Z
- RT-Ticket: 5274 
- RT-Status: resolved
- RT-Update: correspond
-  
- Apply Bart Duchesne's patch for correctly deleting old TCFV '0'
- when editing SingleValue TCFs.
- ----------------------------------------------------------------------
- r8291@tinbook (orig r1282):  jesse | 2004-07-23T17:34:23.556934Z
-  ----------------------------------------------------------------------
-  r8285@tinbook:  jesse | 2004-07-23T17:33:04.648260Z
-  
-  Using single quotes makes the email address in the copyright not get mangled
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8293@tinbook (orig r1283):  jesse | 2004-07-23T21:23:10.580796Z
-  ----------------------------------------------------------------------
-  r8292@tinbook:  jesse | 2004-07-23T21:23:16.884303Z
-  
-  RT now goes out of its way to display images, like the logo... even when users fail to configure their webserver correctly
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8294@tinbook (orig r1284):  leira | 2004-07-23T21:43:20.116290Z
- Reset string properly when uploading a template file.
- ----------------------------------------------------------------------
- r8304@tinbook (orig r1285):  robert | 2004-07-26T19:07:58.942428Z
-  ----------------------------------------------------------------------
-  r1287@dog:  rspier | 2004-07-26T18:56:48.690023Z
-  
-  [fsck.com #5879] - DBIx::SearchBuilder should treat 'IS' as case insensitive, since most databases do too.
-  ----------------------------------------------------------------------
-  r1288@dog:  rspier | 2004-07-26T19:00:50.217330Z
-  
-  MicroOptimizations:
-       - if we're doing an IS NULL search already, there's no reason to do a $null_columns_ok
-       - use || instead of 'or' so we can short-circuit
-  ----------------------------------------------------------------------
-  r1289@dog:  rspier | 2004-07-26T19:06:54.604573Z
-  
-  MicroOptimization/Cleanup:
-       - get rid of $null_columns_ok flag
-       - clean up logic, and use string compare instead of regexp
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8305@tinbook (orig r1286):  robert | 2004-07-26T19:15:12.786172Z
-  ----------------------------------------------------------------------
-  r1291@dog:  rspier | 2004-07-26T19:14:41.133769Z
-  
-  Revert the last microoptimization.  It smells funny and will create problems with merging to 3.3
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8307@tinbook (orig r1288):  leira | 2004-07-28T04:04:12.240846Z
- Handle 0 values properly.
- ----------------------------------------------------------------------
- r8308@tinbook (orig r1289):  huberth | 2004-07-28T18:35:38.638941Z
- RT-Ticket: 5908
- RT-Status: resolved
-  * drop.Oracle now drops the attributes table.
- ----------------------------------------------------------------------
- r8309@tinbook (orig r1290):  huberth | 2004-07-28T18:39:36.764074Z
- RT-Ticket: 5899
- RT-Status: resolved
-  * html/Search/Results.tsv now works with custom fields that have line breaks
-    within them.
- ----------------------------------------------------------------------
- r8311@tinbook (orig r1292):  jesse | 2004-07-29T00:08:11.298269Z
-  ----------------------------------------------------------------------
-  r8303@tinbook:  jesse | 2004-07-28T23:59:45.883318Z
-  
-  Removed the extra newlines we inserted after the copyright block, since it adds extra newlines to the mason pages, which can break some parsing.
-  
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8316@tinbook (orig r1293):  leira | 2004-07-29T05:41:51.040092Z
- Make the TitleBox title a link to the same search, only not limited to 10.
- ----------------------------------------------------------------------
- r8319@tinbook (orig r1296):  alexmv | 2004-07-30T19:59:24.588580Z
-  * Fix "Unrecognised line: foo@bar" caused by 5.8.0 not matching utf8
-    against regexps
- ----------------------------------------------------------------------
- r8320@tinbook (orig r1297):  huberth | 2004-07-30T21:46:43.639926Z
- RT-Ticket: 5699
- RT-Status: resolved
-  * Bulk editing of custom fields (finally!) added.  Not quite as fast as
-    would be preferred, probably, but it (should) work.
- ----------------------------------------------------------------------
- r8329@tinbook (orig r1298):  huberth | 2004-08-03T14:02:14.558593Z
- RT-Ticket: 5927
- RT-Status: resolved
-  * Due dates in the past no longer look like they're in the future,
-    i.e. "6 days ago".
- ----------------------------------------------------------------------
- r8333@tinbook (orig r1302):  huberth | 2004-08-03T22:06:00.556754Z
- RT-Ticket: 4473
- RT-Status: resolved
-  * In Ticket/Elements/ShowAttachments, the font code that is generated
-    no longer tries to escape the quotes (to give something like
-    <font size=&#34;-1&#34;>).  Now the quotes appear.  Also, the default
-    font size for the date and size has been changed to -2, because -1
-    looks huge and out of place.
- ----------------------------------------------------------------------
- r8338@tinbook (orig r1307):  alexmv | 2004-08-04T14:33:55.363891Z
- RT-Ticket: 5916
- RT-Status: resolved
-  * Postgres doesn't use '#' as a comment character
- ----------------------------------------------------------------------
- r8339@tinbook (orig r1308):  alexmv | 2004-08-04T15:54:14.363856Z
- RT-Ticket: 4036
- RT-Status: resolved
-  * 'Create' is uppercase
-  * TemplateObj->QueueObj is null if the template is just being created
- ----------------------------------------------------------------------
- r8340@tinbook (orig r1309):  alexmv | 2004-08-04T17:42:42.591907Z
-  * Warn if running MySQL < 4.0.x
-  * Suggest something slightly more useful if we don't have InnoDB and
-    we're running MySQL 3.23
- ----------------------------------------------------------------------
- r8341@tinbook (orig r1310):  alexmv | 2004-08-04T19:03:51.226982Z
- RT-Ticket: 5942
- RT-Status: resolved
-  * Use a:after {content: "..."} to put dots after titlebox links; this
-    involves one loc string change
-  * Also force titlebox hrefs to be white, not black
- ----------------------------------------------------------------------
- r8342@tinbook (orig r1311):  huberth | 2004-08-05T00:44:40.527084Z
- RT-Ticket: 4234
- RT-Status: resolved
-  * Doubled headers and navbars no longer appear when an unprivileged user
-    creates a Custom Field.  (This happened because Abort was called within
-    a subcomponent.)
- ----------------------------------------------------------------------
- r8343@tinbook (orig r1312):  alexmv | 2004-08-05T00:50:16.625070Z
-  * Removing accidental paste
- ----------------------------------------------------------------------
- r8344@tinbook (orig r1313):  huberth | 2004-08-05T18:47:43.340906Z
-  * Fixed a couple of other stupid errors resulting from r1311 relating to
-    quoting of pathnames.
- ----------------------------------------------------------------------
- r8383@tinbook (orig r1326):  alexmv | 2004-08-10T19:38:59.860454Z
-  * Add callback in header proper, to allow injection of style and script tags
- ----------------------------------------------------------------------
- r8394@tinbook (orig r1335):  leira | 2004-08-17T16:03:08.253892Z
- Added a new callback at the very beginning of the <%INIT> block.
- RTIR uses this callback to look at the queue and hijack the display
- page, however, the callback itself is more generic than that: it
- happens at the very beginning, and receives all arguments.
- ----------------------------------------------------------------------
- r8396@tinbook (orig r1337):  alexmv | 2004-08-17T19:03:04.023840Z
- RT-Ticket: 5820
- RT-Update: correspond
- RT-Status: resolved
-  * Use "local $_" to prevent "modification of read-only value..."
-    caused by aliasing $_ to a constant
- ----------------------------------------------------------------------
- r8397@tinbook (orig r1338):  alexmv | 2004-08-17T21:05:10.004165Z
- RT-Ticket: 5716
- RT-Update: correspond
- RT-Status: resolved
-  * Move code which is not specific to parsing mime messages into
-    RT::Email::Interface; this removes a large base of duplicated code,
-    and some sketchy "methods" that were getting called with "" as self
-    often
- ----------------------------------------------------------------------
- r8398@tinbook (orig r1339):  alexmv | 2004-08-17T22:16:11.573879Z
- RT-Ticket: 5963
- RT-Update: correspond
- RT-Status: resolved
-  * Applied patch provided by bobg at the domain of uic.edu to exit if
-    there is no content on standard input
- ----------------------------------------------------------------------
- r8399@tinbook (orig r1340):  alexmv | 2004-08-17T22:18:15.933790Z
- RT-Ticket: 5939
- RT-Status: resolved
- RT-Update: correspond
-  * Take out un-needed $fontsize variable; removing <font> tags will
-    have to wait
- ----------------------------------------------------------------------
- r8400@tinbook (orig r1341):  alexmv | 2004-08-17T23:57:59.583821Z
- RT-Ticket: 5897
- RT-Update: correspond
- RT-Status: resolved
-  * ModifyTicket includes CommentOnTicket and ReplyToTicket rights;
-    this effects display of "[Reply] [Comment]" links per transaction
- ----------------------------------------------------------------------
- r8401@tinbook (orig r1342):  alexmv | 2004-08-18T00:05:11.483081Z
- RT-Ticket: 5823
- RT-Update: correspond
- RT-Status: resolved
-  * Applied patch from bobg at the domain of uic.edu, prefixing refresh
-    form's url with $RT::WebPath
- ----------------------------------------------------------------------
- r8402@tinbook (orig r1343):  huberth | 2004-08-18T02:23:42.094984Z
-  * Made bulk editing of custom fields slightly more efficient and 
-    simultaneously cleaned up some of its code.
-  * Also added a little bit of docs for RT::Ticket::Create() - Priority
-    is a valid arg also.
- ----------------------------------------------------------------------
- r8403@tinbook (orig r1344):  alexmv | 2004-08-18T02:27:04.024544Z
- RT-Ticket: 5988
- RT-Update: correspond
- RT-Status: resolved
-  * Back out change r1338, as it breaks API compatibility in a stable
-    release
- ----------------------------------------------------------------------
- r8416@tinbook (orig r1347):  alexmv | 2004-08-18T19:31:10.580958Z
- RT-Ticket: 5826
- RT-Update: correspond
- RT-Status: resolved
-  * Fix logic; bounce message as a loop if $IsALoop and not $RT::StoreLoops;
-    was "if $IsALoop and ($RT::LoopsToOwner and not $RT::StoreLoops)"
- ----------------------------------------------------------------------
- r8417@tinbook (orig r1348):  alexmv | 2004-08-18T20:22:42.711734Z
- RT-Ticket: 5215
- RT-Update: correspond
- RT-Status: resolved
-  * When merging tickets, the resulting ticket's
-    Time{Estimated,Worked,Left} should be the sum of the fields from
-    both tickets
- ----------------------------------------------------------------------
- r8418@tinbook (orig r1349):  alexmv | 2004-08-18T20:38:09.170879Z
- RT-Ticket: 5963
- RT-Update: correspond
- RT-Status: resolved
-  * Some mailers care about the return value rt-mailgate; 'return 0'
-    instead of 'die' to ensure that we fake success
- ----------------------------------------------------------------------
- r8420@tinbook (orig r1351):  alexmv | 2004-08-18T21:53:17.081053Z
- RT-Ticket: 5792
- RT-Update: correspond
- RT-Status: resolved
-  * Move the lasttrans anchor into a table cell
- ----------------------------------------------------------------------
- r8421@tinbook (orig r1352):  alexmv | 2004-08-18T22:04:57.879119Z
- RT-Ticket: 5809
- RT-Status: resolved
-  * Derivative of the doc. patch in [fsck.com #5809] applied
- ----------------------------------------------------------------------
- r8456@tinbook (orig r1372):  jesse | 2004-08-28T23:47:32.411217Z
-  ----------------------------------------------------------------------
-  r8454@tinbook:  jesse | 2004-08-28T23:42:12.276700Z
-  
-  ----------------------------------------------------------------------
-  r8455@tinbook:  jesse | 2004-08-28T23:46:06.962020Z
-  Adding a "SearchActions" callback to Search/Results.html
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8473@tinbook (orig r1376):  jesse | 2004-08-31T04:22:49.340942Z
-  ----------------------------------------------------------------------
-  r8457@tinbook:  jesse | 2004-08-29T01:52:08.449173Z
-  Refactored the TicketList compnent to be more reusable
-  ----------------------------------------------------------------------
-  r8458@tinbook:  jesse | 2004-08-29T02:41:50.808026Z
-  Adding a callback for a customer
-  ----------------------------------------------------------------------
-  r8471@tinbook:  jesse | 2004-08-31T04:20:29.035587Z
-  Fixed the callback in Results.html to not flake out when we've got interesting %ARGS coming into it.
-  
-  ----------------------------------------------------------------------
-  r8472@tinbook:  jesse | 2004-08-31T04:21:47.346418Z
-  Added "DependedOnBy" to TicketSQL  to mean what it means elsewhere.
-  
-  Made TicketSQL let you search by ticket type
-  
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8479@tinbook (orig r1379):  jesse | 2004-08-31T08:14:54.830848Z
-  ----------------------------------------------------------------------
-  r8478@tinbook:  jesse | 2004-08-31T08:14:29.467020Z
-  Inlined Tickets_Overlay_SQL's "match"
-  
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8482@tinbook (orig r1380):  jesse | 2004-08-31T18:49:23.384189Z
-  ----------------------------------------------------------------------
-  r8480@tinbook:  jesse | 2004-08-31T18:48:19.505579Z
-  Added callbacks to let users add entries to show and edit basics boxes
-  
-  Made "type" an editable field on tickets (at the web api level, not in the UI)
-  
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1345 | alexmv | 2004-08-17 22:42:49 -0400 (Tue, 17 Aug 2004) | 6 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.3-TESTING/lib/RT/EmailParser.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-
-RT-Ticket: 5716
-RT-Status: resolved
-RT-Update: correspond
-
- * Duplicate code change backed out of 3.2 and checked into 3.3
-
-------------------------------------------------------------------------
-r1275 | jesse | 2004-07-22 14:36:03 -0400 (Thu, 22 Jul 2004) | 8 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/PickCustomFields
-
-
- ----------------------------------------------------------------------
- r8279@tinbook:  jesse | 2004-07-22T18:33:54.229892Z
- * Allow the move up/move down links to work for custom field ordering
- ----------------------------------------------------------------------
-
-
-------------------------------------------------------------------------
-r1268 | jesse | 2004-07-21 15:36:07 -0400 (Wed, 21 Jul 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING/releng.cnf
-
-Bumped to 3.3.5
-------------------------------------------------------------------------
-r1267 | jesse | 2004-07-21 15:12:31 -0400 (Wed, 21 Jul 2004) | 67 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/Makefile.in
-   M /rt/branches/3.3-TESTING/README
-   M /rt/branches/3.3-TESTING/bin/mason_handler.fcgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.scgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.svc.in
-   M /rt/branches/3.3-TESTING/bin/rt-crontool.in
-   M /rt/branches/3.3-TESTING/bin/rt-mailgate.in
-   M /rt/branches/3.3-TESTING/bin/rt.in
-   M /rt/branches/3.3-TESTING/bin/standalone_httpd.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/configure.ac
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/Objects.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/CustomFields/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/AddCustomFieldValue
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/CreateUserCalled
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/CustomFieldTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFieldValues
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditQueueWatchers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditScrip
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditScrips
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditTemplates
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditUserComments
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/GroupTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ListGlobalCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ListGlobalScrips
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ModifyTemplate
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ObjectCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/PickCustomFields
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/PickObjects
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/QueueRightsForUser
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/QueueTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectCustomFieldLookupType
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectCustomFieldType
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectGroups
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyGroup
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyQueue
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectModifyUser
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectNewGroupMembers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectRights
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScrip
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScripAction
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectScripCondition
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectSingleOrMultiple
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectStage
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectTemplate
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SelectUsers
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/SystemTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/ToolTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/UserTabs
-   M /rt/branches/3.3-TESTING/html/Admin/Global/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Scrip.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Scrips.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Template.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/Templates.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Global/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/CustomFields.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/History.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/Members.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Groups/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/CustomField.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/CustomFields.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/GroupRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/People.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Scrip.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Scrips.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Template.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/Templates.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/UserRights.html
-   M /rt/branches/3.3-TESTING/html/Admin/Queues/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/Configuration.html
-   M /rt/branches/3.3-TESTING/html/Admin/Tools/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/CustomFields.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/History.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/Memberships.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/Modify.html
-   M /rt/branches/3.3-TESTING/html/Admin/Users/index.html
-   M /rt/branches/3.3-TESTING/html/Admin/index.html
-   M /rt/branches/3.3-TESTING/html/Approvals/Display.html
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/Approve
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/PendingMyApproval
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/ShowDependency
-   M /rt/branches/3.3-TESTING/html/Approvals/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Approvals/index.html
-   M /rt/branches/3.3-TESTING/html/Download/CustomFieldValue/dhandler
-   M /rt/branches/3.3-TESTING/html/Download/Tabular/dhandler
-   M /rt/branches/3.3-TESTING/html/Elements/BevelBoxRaisedEnd
-   M /rt/branches/3.3-TESTING/html/Elements/BevelBoxRaisedStart
-   M /rt/branches/3.3-TESTING/html/Elements/Callback
-   M /rt/branches/3.3-TESTING/html/Elements/Checkbox
-   M /rt/branches/3.3-TESTING/html/Elements/CreateTicket
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldBinary
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldFreeform
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldImage
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldSelect
-   M /rt/branches/3.3-TESTING/html/Elements/EditCustomFieldText
-   M /rt/branches/3.3-TESTING/html/Elements/EditLinks
-   M /rt/branches/3.3-TESTING/html/Elements/Error
-   M /rt/branches/3.3-TESTING/html/Elements/Footer
-   M /rt/branches/3.3-TESTING/html/Elements/GotoTicket
-   M /rt/branches/3.3-TESTING/html/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Elements/ListActions
-   M /rt/branches/3.3-TESTING/html/Elements/Login
-   M /rt/branches/3.3-TESTING/html/Elements/Menu
-   M /rt/branches/3.3-TESTING/html/Elements/MessageBox
-   M /rt/branches/3.3-TESTING/html/Elements/MyRequests
-   M /rt/branches/3.3-TESTING/html/Elements/MyTickets
-   M /rt/branches/3.3-TESTING/html/Elements/PageLayout
-   M /rt/branches/3.3-TESTING/html/Elements/QueryString
-   M /rt/branches/3.3-TESTING/html/Elements/QuickCreate
-   M /rt/branches/3.3-TESTING/html/Elements/Quicksearch
-   M /rt/branches/3.3-TESTING/html/Elements/Refresh
-   M /rt/branches/3.3-TESTING/html/Elements/ScrubHTML
-   M /rt/branches/3.3-TESTING/html/Elements/Section
-   M /rt/branches/3.3-TESTING/html/Elements/SelectAttachmentField
-   M /rt/branches/3.3-TESTING/html/Elements/SelectBoolean
-   M /rt/branches/3.3-TESTING/html/Elements/SelectCustomFieldOperator
-   M /rt/branches/3.3-TESTING/html/Elements/SelectCustomFieldValue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDate
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDateRelation
-   M /rt/branches/3.3-TESTING/html/Elements/SelectDateType
-   M /rt/branches/3.3-TESTING/html/Elements/SelectEqualityOperator
-   M /rt/branches/3.3-TESTING/html/Elements/SelectGroups
-   M /rt/branches/3.3-TESTING/html/Elements/SelectLang
-   M /rt/branches/3.3-TESTING/html/Elements/SelectLinkType
-   M /rt/branches/3.3-TESTING/html/Elements/SelectMatch
-   M /rt/branches/3.3-TESTING/html/Elements/SelectNewTicketQueue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectOwner
-   M /rt/branches/3.3-TESTING/html/Elements/SelectQueue
-   M /rt/branches/3.3-TESTING/html/Elements/SelectResultsPerPage
-   M /rt/branches/3.3-TESTING/html/Elements/SelectSortOrder
-   M /rt/branches/3.3-TESTING/html/Elements/SelectStatus
-   M /rt/branches/3.3-TESTING/html/Elements/SelectTicketSortBy
-   M /rt/branches/3.3-TESTING/html/Elements/SelectTicketTypes
-   M /rt/branches/3.3-TESTING/html/Elements/SelectUsers
-   M /rt/branches/3.3-TESTING/html/Elements/SelectWatcherType
-   M /rt/branches/3.3-TESTING/html/Elements/SetupSessionCookie
-   M /rt/branches/3.3-TESTING/html/Elements/ShowCustomFieldImage
-   M /rt/branches/3.3-TESTING/html/Elements/ShowCustomFields
-   M /rt/branches/3.3-TESTING/html/Elements/ShowLink
-   M /rt/branches/3.3-TESTING/html/Elements/ShowLinks
-   M /rt/branches/3.3-TESTING/html/Elements/ShowMemberships
-   M /rt/branches/3.3-TESTING/html/Elements/SimpleSearch
-   M /rt/branches/3.3-TESTING/html/Elements/Submit
-   M /rt/branches/3.3-TESTING/html/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBox
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxEnd
-   M /rt/branches/3.3-TESTING/html/Elements/TitleBoxStart
-   M /rt/branches/3.3-TESTING/html/NoAuth/Logout.html
-   M /rt/branches/3.3-TESTING/html/NoAuth/Reminder.html
-   M /rt/branches/3.3-TESTING/html/NoAuth/webrt.css
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/queue/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/queue/ns
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/attachments
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/history
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/ticket/links
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/user/default
-   M /rt/branches/3.3-TESTING/html/REST/1.0/Forms/user/ns
-   M /rt/branches/3.3-TESTING/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/3.3-TESTING/html/REST/1.0/autohandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/dhandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/logout
-   M /rt/branches/3.3-TESTING/html/REST/1.0/search/dhandler
-   M /rt/branches/3.3-TESTING/html/REST/1.0/search/ticket
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/comment
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/link
-   M /rt/branches/3.3-TESTING/html/REST/1.0/ticket/merge
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/html/Search/Edit.html
-   M /rt/branches/3.3-TESTING/html/Search/Elements/BuildFormatString
-   M /rt/branches/3.3-TESTING/html/Search/Elements/DisplayOptions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditFormat
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
-   M /rt/branches/3.3-TESTING/html/Search/Elements/NewListActions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickBasics
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCFs
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCriteria
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SearchPrivacy
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectAndOr
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectGroup
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectLinks
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectPersonType
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectSearchObject
-   M /rt/branches/3.3-TESTING/html/Search/Elements/SelectSearchesForObjects
-   D /rt/branches/3.3-TESTING/html/Search/Elements/TicketRow
-   M /rt/branches/3.3-TESTING/html/Search/Results.html
-   M /rt/branches/3.3-TESTING/html/Search/Results.rdf
-   M /rt/branches/3.3-TESTING/html/Search/Results.tsv
-   M /rt/branches/3.3-TESTING/html/SelfService/Attachment/dhandler
-   M /rt/branches/3.3-TESTING/html/SelfService/Closed.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Create.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Display.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/GotoTicket
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/Header
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/MyRequests
-   M /rt/branches/3.3-TESTING/html/SelfService/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/SelfService/Error.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Prefs.html
-   M /rt/branches/3.3-TESTING/html/SelfService/Update.html
-   M /rt/branches/3.3-TESTING/html/SelfService/index.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Attachment/dhandler
-   M /rt/branches/3.3-TESTING/html/Ticket/Create.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Display.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/AddWatchers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/BulkLinks
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditBasics
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomField
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditCustomFields
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditDates
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditPeople
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/EditWatchers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/FindAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/LoadTextAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/PreviewScrips
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowBasics
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowCustomFields
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowDates
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowDependencies
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowGroupMembers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowHistory
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMemberOf
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMembers
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageHeaders
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowMessageStanza
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowPeople
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowReferences
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowRequestor
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowSummary
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowTransactionAttachments
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/ShowUserEntry
-   M /rt/branches/3.3-TESTING/html/Ticket/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Ticket/History.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Modify.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyAll.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyDates.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyLinks.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ModifyPeople.html
-   M /rt/branches/3.3-TESTING/html/Ticket/ShowEmailRecord.html
-   M /rt/branches/3.3-TESTING/html/Ticket/Update.html
-   M /rt/branches/3.3-TESTING/html/Tools/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/Tools/MyDay.html
-   M /rt/branches/3.3-TESTING/html/Tools/Offline.html
-   M /rt/branches/3.3-TESTING/html/User/Delegation.html
-   M /rt/branches/3.3-TESTING/html/User/Elements/DelegateRights
-   M /rt/branches/3.3-TESTING/html/User/Elements/GroupTabs
-   M /rt/branches/3.3-TESTING/html/User/Elements/Tabs
-   M /rt/branches/3.3-TESTING/html/User/Groups/Members.html
-   M /rt/branches/3.3-TESTING/html/User/Groups/Modify.html
-   M /rt/branches/3.3-TESTING/html/User/Groups/index.html
-   M /rt/branches/3.3-TESTING/html/User/Prefs.html
-   M /rt/branches/3.3-TESTING/html/autohandler
-   M /rt/branches/3.3-TESTING/html/index.html
-   M /rt/branches/3.3-TESTING/html/l
-   M /rt/branches/3.3-TESTING/lib/RT/ACE.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACE_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ACL_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/AutoOpen.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Autoreply.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/EscalatePriority.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Notify.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/NotifyAsComment.pm
-   A /rt/branches/3.3-TESTING/lib/RT/Action/RecordComment.pm
-   A /rt/branches/3.3-TESTING/lib/RT/Action/RecordCorrespondence.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/ResolveMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SetPriority.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/UserDefined.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attributes_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Base.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CachedGroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/AnyTransaction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/BeforeDue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/Overdue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/OwnerChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/PriorityChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/PriorityExceeds.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/QueueChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/StatusChange.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/UserDefined.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CurrentUser.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Date.pm
-   M /rt/branches/3.3-TESTING/lib/RT/EmailParser.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers.pm
-   M /rt/branches/3.3-TESTING/lib/RT/GroupMembers_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Group_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Groups_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Handle.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/cs.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/de.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/i_default.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/CLI.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Auth/GnuPG.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Auth/MailFrom.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email/Filter/SpamAssassin.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Email.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/REST.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Link_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Links_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomField.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomField_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFields.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ObjectCustomFields_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principal_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Principals_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Queues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Record.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripActions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripConditions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Scrips_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/ActiveTicketsInQueue.pm
-   A /rt/branches/3.3-TESTING/lib/RT/Search/FromSQL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Search/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/SearchBuilder.pm
-   M /rt/branches/3.3-TESTING/lib/RT/System.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Template_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Templates_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValue_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues.pm
-   M /rt/branches/3.3-TESTING/lib/RT/TicketCustomFieldValues_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI/base.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/3.3-TESTING/lib/RT/URI.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User.pm
-   M /rt/branches/3.3-TESTING/lib/RT/User_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Users_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT.pm.in
-   M /rt/branches/3.3-TESTING/lib/t/02regression.t.in
-   A /rt/branches/3.3-TESTING/lib/t/05cronsupport.pl.in
-   M /rt/branches/3.3-TESTING/sbin/extract-message-catalog
-   M /rt/branches/3.3-TESTING/sbin/extract_pod_tests
-   M /rt/branches/3.3-TESTING/sbin/factory
-   M /rt/branches/3.3-TESTING/sbin/license_tag
-   M /rt/branches/3.3-TESTING/sbin/regression_harness
-   M /rt/branches/3.3-TESTING/sbin/rt-dump-database.in
-   M /rt/branches/3.3-TESTING/sbin/rt-setup-database.in
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
- ----------------------------------------------------------------------
- r8262@tinbook:  jesse | 2004-07-21T18:06:24.396460Z
-   Merged forward from 3.2 
-  
-  ----------------------------------------------------------------------
-  r3390@tinbook:  jesse | 2004-07-14T19:30:37.426202Z
-  
-  RT-Ticket: 5886
-  RT-Action: correspond
-  RT-Status: resolved
-  
-  Updated rt-crontool to pass in CurrentUser when creating new actions and searches..
-  
-  ----------------------------------------------------------------------
-  r3397@tinbook:  jesse | 2004-07-14T19:44:51.378312Z
-  
-  
-  ----------------------------------------------------------------------
-  r3398@tinbook:  jesse | 2004-07-14T19:59:24.627023Z
-  
-  
-  ----------------------------------------------------------------------
-  r3399@tinbook:  jesse | 2004-07-14T20:23:59.757938Z
-  
-  Bumping to 3.2.1rc4
-  ----------------------------------------------------------------------
-  r8220@tinbook:  jesse | 2004-07-15T19:02:55.020727Z
-  
-  RT-Ticket: 5891
-  RT-Status: open
-  RT-Action: correspond
-  
-  Interim measure to only list sortable fields in the "Sort display by" 
-  options.
-  
-  
-  ----------------------------------------------------------------------
-  r8222@tinbook:  jesse | 2004-07-16T17:09:30.264982Z
-  
-  Web UI: Fixed bug which prevented unlimited searches
-  ----------------------------------------------------------------------
-  r8239@tinbook:  jesse | 2004-07-19T16:54:11.660605Z
-  
-  
-  ----------------------------------------------------------------------
-  r8240@tinbook:  jesse | 2004-07-19T17:01:43.322617Z
-  
-  Retagging the source code with the updated submission policy
-  ----------------------------------------------------------------------
-  r8258@tinbook:  jesse | 2004-07-20T21:24:03.019565Z
-  
-  Crontool additions to support scripted notifications
-  ----------------------------------------------------------------------
-  r8261@tinbook:  jesse | 2004-07-21T18:05:55.579150Z
-  
-  
-  
-  
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r8264@tinbook:  jesse | 2004-07-21T19:10:28.393515Z
- Bumpped the copyright/license/notice
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1264 | autrijus | 2004-07-19 22:56:01 -0400 (Mon, 19 Jul 2004) | 8 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.2-RELEASE/html/Elements/Header
-   M /rt/branches/3.2-RELEASE/html/Elements/SetupSessionCookie
-   M /rt/branches/3.2-RELEASE/html/NoAuth/webrt.css
-   M /rt/branches/3.3-TESTING/html/Download/Tabular/dhandler
-   M /rt/branches/PLATANO-EXPERIMENTAL/docs/design_docs/ruleset-workflow.txt
-
- r6188@not:  autrijus | 2004-07-20T02:52:39.146361Z
-
-------------------------------------------------------------------------
-r1247 | autrijus | 2004-07-14 15:24:23 -0400 (Wed, 14 Jul 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/3.3-TESTING/lib/RT/StyleGuide.pod
-
- ----------------------------------------------------------------------
- r6050@not:  autrijus | 2004-07-14T19:21:34.616159Z
- * Add style guide information about parameter passing style.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1233 | jesse | 2004-07-14 00:37:55 -0400 (Wed, 14 Jul 2004) | 10 lines
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/bin/mason_handler.fcgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.scgi.in
-   M /rt/branches/3.3-TESTING/bin/mason_handler.svc.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/etc/schema.Sybase
-   M /rt/branches/3.3-TESTING/html/Admin/Elements/EditScrip
-   M /rt/branches/3.3-TESTING/html/Elements/Header
-   M /rt/branches/3.3-TESTING/html/Elements/TicketList
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-   M /rt/branches/3.3-TESTING/html/Search/Bulk.html
-   M /rt/branches/3.3-TESTING/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Condition/Generic.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/it.po
-   A /rt/branches/3.3-TESTING/lib/RT/Interface/Web
-   A /rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Interface/Web.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-
- ----------------------------------------------------------------------
- r3374@tinbook:  jesse | 2004-07-13T23:31:39.996661Z
- Merge forward from RT 3.2
- ----------------------------------------------------------------------
- r3375@tinbook:  jesse | 2004-07-14T04:33:29.296451Z
- Minor fixes for a merge problem from 3.2
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1232 | jesse | 2004-07-13 19:15:10 -0400 (Tue, 13 Jul 2004) | 1 line
-Changed paths:
-   M /rt/branches/3.3-TESTING
-   M /rt/branches/3.3-TESTING/Makefile.in
-   M /rt/branches/3.3-TESTING/README
-   M /rt/branches/3.3-TESTING/UPGRADING
-   M /rt/branches/3.3-TESTING/bin/rt-crontool.in
-   M /rt/branches/3.3-TESTING/bin/webmux.pl.in
-   M /rt/branches/3.3-TESTING/etc/RT_Config.pm.in
-   M /rt/branches/3.3-TESTING/html/Elements/QuickCreate
-   M /rt/branches/3.3-TESTING/html/Elements/Quicksearch
-   D /rt/branches/3.3-TESTING/html/Elements/ViewUser
-   M /rt/branches/3.3-TESTING/html/Search/Build.html
-   M /rt/branches/3.3-TESTING/html/Search/Elements/DisplayOptions
-   M /rt/branches/3.3-TESTING/html/Search/Elements/EditSearches
-   M /rt/branches/3.3-TESTING/html/Search/Elements/PickCFs
-   M /rt/branches/3.3-TESTING/html/Search/Results.html
-   M /rt/branches/3.3-TESTING/html/Search/Results.rdf
-   M /rt/branches/3.3-TESTING/html/Ticket/Update.html
-   M /rt/branches/3.3-TESTING/html/Tools/Offline.html
-   M /rt/branches/3.3-TESTING/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Action/SendEmail.pm
-   M /rt/branches/3.3-TESTING/lib/RT/Attribute_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/cs.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/da.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/de.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/en_malkovich.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/es.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/fi.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/fr.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/he.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/hu.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/it.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/ja.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/nl.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/no.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/pt_br.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/ru.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_cn.po
-   M /rt/branches/3.3-TESTING/lib/RT/I18N/zh_tw.po
-   M /rt/branches/3.3-TESTING/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/3.3-TESTING/lib/t/03web.pl.in
-   M /rt/branches/3.3-TESTING/sbin/rt-setup-database.in
-   M /rt/branches/3.3-TESTING/sbin/rt-test-dependencies.in
-
-
-------------------------------------------------------------------------
-r1224 | jesse | 2004-07-13 14:41:42 -0400 (Tue, 13 Jul 2004) | 1 line
-Changed paths:
-   A /rt/branches/3.3-TESTING (from /rt/branches/rt-3.3:1223)
-   D /rt/branches/rt-3.3
-
-Moving RT 3.0 from "head" to a 3.0-MAINT branch
-------------------------------------------------------------------------
-r1209 | autrijus | 2004-07-12 16:22:48 -0400 (Mon, 12 Jul 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.1/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/etc/upgrade/3.1.0/schema.SQLite
-
- ----------------------------------------------------------------------
- r5990@not:  autrijus | 2004-07-12T20:22:03.588615Z
- * Let the cf param in Ticket->CustomFieldValues be optional,
-   so we can get Atom tests to work.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1205 | autrijus | 2004-07-12 13:30:03 -0400 (Mon, 12 Jul 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/sbin/rt-setup-database.in
-
- ----------------------------------------------------------------------
- r5976@not:  autrijus | 2004-07-12T17:29:13.392510Z
- * The warning on missing ACL files used $RT::EtcPath even if it's
-   reading it fro other paths.  Fixed.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1180 | autrijus | 2004-07-05 15:43:17 -0400 (Mon, 05 Jul 2004) | 6 lines
-Changed paths:
-   M /rt
-   A /rt/branches/rt-3.3/sbin/rt-dump-database.in
-
- ----------------------------------------------------------------------
- r5913@not:  autrijus | 2004-07-05T19:41:37.720057Z
- * add rt-dump-database, a tool to dump config data to initialdata format.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1179 | autrijus | 2004-07-05 12:56:22 -0400 (Mon, 05 Jul 2004) | 8 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-
- ----------------------------------------------------------------------
- r5899@not:  autrijus | 2004-07-05T15:13:55.850880Z
- * correct the documentation for CreateTickets; it was still referring
-   to the archaic "Approvals" queue and "Approval" type, whereas now we're
-   using "___Approvals" and "approval" now.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1160 | jesse | 2004-06-27 23:10:54 -0400 (Sun, 27 Jun 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/releng.cnf
-
- ----------------------------------------------------------------------
- r1997@tinbook:  jesse | 2004-06-28T03:10:36.434329Z
- Bumping to 3.3.4
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1159 | jesse | 2004-06-27 23:08:01 -0400 (Sun, 27 Jun 2004) | 24 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/Makefile.in
-   M /rt/branches/rt-3.3/UPGRADING
-   M /rt/branches/rt-3.3/bin/mason_handler.fcgi.in
-   M /rt/branches/rt-3.3/bin/mason_handler.scgi.in
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/configure.ac
-   M /rt/branches/rt-3.3/etc/RT_Config.pm.in
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditCustomField
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditScrip
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditTemplates
-   M /rt/branches/rt-3.3/html/Admin/Elements/UserTabs
-   M /rt/branches/rt-3.3/html/Admin/Global/GroupRights.html
-   M /rt/branches/rt-3.3/html/Admin/Global/Template.html
-   M /rt/branches/rt-3.3/html/Admin/Global/UserRights.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/GroupRights.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/Members.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/Modify.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/UserRights.html
-   M /rt/branches/rt-3.3/html/Admin/Queues/GroupRights.html
-   M /rt/branches/rt-3.3/html/Admin/Queues/Modify.html
-   M /rt/branches/rt-3.3/html/Admin/Queues/Template.html
-   M /rt/branches/rt-3.3/html/Admin/Queues/UserRights.html
-   M /rt/branches/rt-3.3/html/Admin/Users/Modify.html
-   M /rt/branches/rt-3.3/html/Approvals/index.html
-   M /rt/branches/rt-3.3/html/Search/Bulk.html
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-   M /rt/branches/rt-3.3/html/SelfService/Prefs.html
-   M /rt/branches/rt-3.3/html/Ticket/Display.html
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowAttachments
-   M /rt/branches/rt-3.3/html/Ticket/ModifyAll.html
-   M /rt/branches/rt-3.3/html/Ticket/ModifyDates.html
-   M /rt/branches/rt-3.3/html/Ticket/ModifyLinks.html
-   M /rt/branches/rt-3.3/html/Ticket/Update.html
-   M /rt/branches/rt-3.3/html/User/Delegation.html
-   M /rt/branches/rt-3.3/html/User/Groups/Members.html
-   M /rt/branches/rt-3.3/html/User/Groups/Modify.html
-   M /rt/branches/rt-3.3/html/User/Prefs.html
-   M /rt/branches/rt-3.3/html/autohandler
-   M /rt/branches/rt-3.3/lib/RT/I18N/da.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/de.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/en_malkovich.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/es.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fi.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fr.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/he.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/it.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ja.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/nl.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/no.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/pt_br.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ru.po
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/SearchBuilder.pm
-   M /rt/branches/rt-3.3/lib/RT/Templates_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-
- ----------------------------------------------------------------------
- r1769@tinbook:  jesse | 2004-06-01T20:22:38.640731Z
- ----------------------------------------------------------------------
- r1902@tinbook:  jesse | 2004-06-17T01:08:53.996154Z
- ----------------------------------------------------------------------
- r1991@tinbook:  jesse | 2004-06-28T02:03:57.669851Z
- ----------------------------------------------------------------------
- r1992@tinbook:  jesse | 2004-06-28T02:19:36.386707Z
- Pulling forward from RT 3.1
- ----------------------------------------------------------------------
- r1993@tinbook:  jesse | 2004-06-28T03:06:56.930396Z
- Merging forward from 3.1
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1153 | autrijus | 2004-06-27 00:02:47 -0400 (Sun, 27 Jun 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/Tools/Offline.html
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-
- ----------------------------------------------------------------------
- r5788@not:  autrijus | 2004-06-27T04:02:12.644291Z
- * import 3.1 again due to glitches in Offline.html
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1150 | autrijus | 2004-06-26 16:31:56 -0400 (Sat, 26 Jun 2004) | 14 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/Makefile.in
-   M /rt/branches/rt-3.3/README
-   M /rt/branches/rt-3.3/UPGRADING
-   M /rt/branches/rt-3.3/bin/mason_handler.fcgi.in
-   D /rt/branches/rt-3.3/bin/rt-commit-handler.in
-   M /rt/branches/rt-3.3/bin/rt-crontool.in
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/configure.ac
-   M /rt/branches/rt-3.3/etc/RT_Config.pm.in
-   M /rt/branches/rt-3.3/etc/acl.mysql
-   M /rt/branches/rt-3.3/etc/initialdata
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.17
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.17/content
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditQueueWatchers
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditScrip
-   D /rt/branches/rt-3.3/html/Admin/Elements/ModifyQueue
-   D /rt/branches/rt-3.3/html/Admin/Elements/ModifyUser
-   M /rt/branches/rt-3.3/html/Admin/Queues/People.html
-   M /rt/branches/rt-3.3/html/Admin/Users/Modify.html
-   D /rt/branches/rt-3.3/html/Admin/Users/Prefs.html
-   D /rt/branches/rt-3.3/html/Developer
-   M /rt/branches/rt-3.3/html/Elements/EditLinks
-   M /rt/branches/rt-3.3/html/Elements/Header
-   M /rt/branches/rt-3.3/html/Elements/ScrubHTML
-   M /rt/branches/rt-3.3/html/Elements/SelectOwner
-   M /rt/branches/rt-3.3/html/Elements/SelectStatus
-   M /rt/branches/rt-3.3/html/Elements/TicketList
-   M /rt/branches/rt-3.3/html/Elements/TitleBoxStart
-   M /rt/branches/rt-3.3/html/NoAuth/webrt.css
-   M /rt/branches/rt-3.3/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/rt-3.3/html/REST/1.0/ticket/link
-   M /rt/branches/rt-3.3/html/Search/Build.html
-   M /rt/branches/rt-3.3/html/Search/Bulk.html
-   M /rt/branches/rt-3.3/html/Search/Edit.html
-   M /rt/branches/rt-3.3/html/Search/Elements/BuildFormatString
-   M /rt/branches/rt-3.3/html/Search/Elements/EditFormat
-   M /rt/branches/rt-3.3/html/Search/Elements/EditSearches
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-   M /rt/branches/rt-3.3/html/Search/Results.html
-   M /rt/branches/rt-3.3/html/SelfService/Display.html
-   M /rt/branches/rt-3.3/html/SelfService/Update.html
-   M /rt/branches/rt-3.3/html/Ticket/Create.html
-   M /rt/branches/rt-3.3/html/Ticket/Elements/EditBasics
-   M /rt/branches/rt-3.3/html/Ticket/Elements/EditPeople
-   M /rt/branches/rt-3.3/html/Ticket/Elements/EditWatchers
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowDates
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowGroupMembers
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowHistory
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowPeople
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowSummary
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowUserEntry
-   M /rt/branches/rt-3.3/html/Ticket/Elements/Tabs
-   M /rt/branches/rt-3.3/html/Ticket/ModifyAll.html
-   M /rt/branches/rt-3.3/html/Ticket/ModifyLinks.html
-   M /rt/branches/rt-3.3/html/Ticket/Update.html
-   M /rt/branches/rt-3.3/html/Tools/MyDay.html
-   M /rt/branches/rt-3.3/html/Tools/Offline.html
-   M /rt/branches/rt-3.3/html/User/Prefs.html
-   M /rt/branches/rt-3.3/html/index.html
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/EscalatePriority.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/PriorityChange.pm
-   M /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-   M /rt/branches/rt-3.3/lib/RT/EmailParser.pm
-   M /rt/branches/rt-3.3/lib/RT/I18N/cs.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/da.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/de.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/en_malkovich.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/es.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fi.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fr.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/he.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/it.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ja.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/nl.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/no.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/pt_br.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ru.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_cn.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_tw.po
-   M /rt/branches/rt-3.3/lib/RT/Interface/Email.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/Queue_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT.pm.in
-   M /rt/branches/rt-3.3/lib/t/00smoke.t.in
-   M /rt/branches/rt-3.3/lib/t/02regression.t.in
-   M /rt/branches/rt-3.3/lib/t/03web.pl.in
-   M /rt/branches/rt-3.3/sbin/rt-test-dependencies.in
-
- ----------------------------------------------------------------------
- r5774@not:  autrijus | 2004-06-26T10:40:48.767820Z
- * incremental merge from 3.1 to 3.3
- ----------------------------------------------------------------------
- r5778@not:  autrijus | 2004-06-26T11:28:26.143291Z
- * solve utf8 quoting problem on "Take".
- ----------------------------------------------------------------------
- r5781@not:  autrijus | 2004-06-26T20:27:29.184033Z
- * restore hu.po
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1121 | autrijus | 2004-06-20 13:59:07 -0400 (Sun, 20 Jun 2004) | 10 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/html/Elements/Header
-   M /rt/branches/rt-3.3/html/Elements/SetupSessionCookie
-   M /rt/branches/rt-3.3/html/NoAuth/webrt.css
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-
- ----------------------------------------------------------------------
- r5682@not:  autrijus | 2004-06-20T17:57:48.360088Z
- * Supports native MasonX::Apache2Handler.
- * Changed header_out to use headers_out instead (which should be
-   used in 1.0 as well). Cf.:
-   http://perl.apache.planetmirror.com/docs/2.0/user/porting/compat.html
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1082 | alexmv | 2004-06-16 10:53:17 -0400 (Wed, 16 Jun 2004) | 11 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-
-RT-Ticket: 5732
-RT-Status: stalled
-RT-Update: correspond
-
- * POD spacing mistake in Ticket_Overlay
-
- * Ticket_Overlay now overrides RT::Record's CustomFieldValues method,
-   to intercept calls where the field is passed by name.  I don't have
-   a way of testing this patch, so this bug is getting marked stalled
-   until this patch is verified.
-
-------------------------------------------------------------------------
-r1033 | leira | 2004-06-08 14:26:18 -0400 (Tue, 08 Jun 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-
-Pass along 'Type' argument in CreateTickets (replicates a patch that was applied to 3.1, but needed for a customer in this branch now).
-
-------------------------------------------------------------------------
-r1031 | jesse | 2004-06-08 01:05:46 -0400 (Tue, 08 Jun 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/bin/standalone_httpd.in
-
- ----------------------------------------------------------------------
- r1752@debian:  jesse | 2004-06-08T13:50:52.709840Z
-  standalone httpd is now forking rather than singleprocess
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r1023 | alexmv | 2004-06-07 16:03:46 -0400 (Mon, 07 Jun 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/I18N/he.po
-
-RT-Ticket: 5674
-RT-Action: comment
-RT-Status: resolved
-
- * Apply Ilan Rabinovitch's changes
-
-------------------------------------------------------------------------
-r1022 | alexmv | 2004-06-07 14:47:18 -0400 (Mon, 07 Jun 2004) | 7 lines
-Changed paths:
-   M /rt/branches/rt-3.3/etc/schema.mysql
-
-RT-Ticket: 5648
-RT-Action: comment
-RT-Status: resolved
-
- * The last hunk of the ticket no longer applies, as those indexes
-   were reshuffled because they were too long.
-
-------------------------------------------------------------------------
-r986 | jesse | 2004-05-31 21:54:38 -0400 (Mon, 31 May 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/configure.ac
-   A /rt/branches/rt-3.3/etc/acl.Sybase
-   A /rt/branches/rt-3.3/etc/schema.Sybase
-   M /rt/branches/rt-3.3/html/Search/Build.html
-   M /rt/branches/rt-3.3/html/Search/Bulk.html
-   M /rt/branches/rt-3.3/lib/RT/EmailParser.pm
-   M /rt/branches/rt-3.3/lib/RT/Handle.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/rt-3.3/lib/RT.pm.in
-   M /rt/branches/rt-3.3/sbin/rt-setup-database.in
-   M /rt/branches/rt-3.3/sbin/rt-test-dependencies.in
-
-Merging forward from RT 3.1
-------------------------------------------------------------------------
-r981 | jesse | 2004-05-30 03:01:04 -0400 (Sun, 30 May 2004) | 7 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/etc/schema.mysql
-   M /rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.mysql
-
- ----------------------------------------------------------------------
- r1721@debian:  jesse | 2004-05-30T16:04:25.431679Z
- Mysql on some platforms (built with unicode?) has a shorter max index length. adjusted indexes
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r966 | jesse | 2004-05-27 23:30:59 -0400 (Thu, 27 May 2004) | 35 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/configure.ac
-   M /rt/branches/rt-3.3/etc/acl.Pg
-   D /rt/branches/rt-3.3/etc/upgrade/2.1.71
-   M /rt/branches/rt-3.3/html/Admin/Elements/ToolTabs
-   D /rt/branches/rt-3.3/html/Developer/Perldoc.html
-   M /rt/branches/rt-3.3/html/Elements/EditLinks
-   M /rt/branches/rt-3.3/html/Elements/Footer
-   D /rt/branches/rt-3.3/html/Elements/ShadedBox
-   D /rt/branches/rt-3.3/html/Elements/ShadedInputRow
-   D /rt/branches/rt-3.3/html/Elements/ShadedRow
-   M /rt/branches/rt-3.3/html/Elements/ShowLinks
-   M /rt/branches/rt-3.3/html/Elements/TicketList
-   D /rt/branches/rt-3.3/html/Projects
-   D /rt/branches/rt-3.3/html/Scope
-   M /rt/branches/rt-3.3/html/Search/Build.html
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-   D /rt/branches/rt-3.3/html/Search/Elements/PickRestriction
-   D /rt/branches/rt-3.3/html/Search/Elements/TicketHeader
-   D /rt/branches/rt-3.3/html/Search/Elements/TicketHeaderCell
-   D /rt/branches/rt-3.3/html/Search/Listing.html
-   D /rt/branches/rt-3.3/html/Ticket/Elements/EditLinks
-   D /rt/branches/rt-3.3/html/Ticket/Elements/ShowLink
-   D /rt/branches/rt-3.3/html/Ticket/Elements/ShowLinks
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransactionAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/Tabs
-   M /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-
- ----------------------------------------------------------------------
- r1710@tinbook:  jesse | 2004-05-28T02:46:23.907073Z
- ----------------------------------------------------------------------
- r1712@tinbook:  jesse | 2004-05-28T03:15:12.330227Z
-  ----------------------------------------------------------------------
-  r1669@tinbook:  jesse | 2004-05-24T02:17:41.959105Z
-  
-  
-  ----------------------------------------------------------------------
-  r1672@tinbook:  jesse | 2004-05-24T03:09:05.156817Z
-  
-  
-  ----------------------------------------------------------------------
-  r1673@tinbook:  jesse | 2004-05-24T03:59:43.181766Z
-  
-  Bumping to 3.1.16
-  ----------------------------------------------------------------------
-  r1706@tinbook:  jesse | 2004-05-28T02:10:56.309297Z
-  
-  
-  ----------------------------------------------------------------------
-  r1711@tinbook:  jesse | 2004-05-28T02:47:49.277131Z
-  
-  
-  ----------------------------------------------------------------------
- ----------------------------------------------------------------------
- r1713@tinbook:  jesse | 2004-05-28T03:27:19.127190Z
- Cleaning out things split out into other products
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r965 | jesse | 2004-05-27 22:44:48 -0400 (Thu, 27 May 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/bin/standalone_httpd.in
-   M /rt/branches/rt-3.3/html/Search/Edit.html
-   M /rt/branches/rt-3.3/html/Search/Results.html
-   M /rt/branches/rt-3.3/html/Ticket/Elements/PreviewScrips
-   M /rt/branches/rt-3.3/lib/RT/Interface/Email/Auth/GnuPG.pm
-
-
-------------------------------------------------------------------------
-r954 | autrijus | 2004-05-26 06:12:38 -0400 (Wed, 26 May 2004) | 20 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.1/lib/RT/I18N/zh_cn.po
-   M /rt/branches/rt-3.1/lib/RT/I18N/zh_tw.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_cn.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_tw.po
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-
- ----------------------------------------------------------------------
- r4757@not:  autrijus | 2004-05-11T06:13:28.139589Z
- * Chinese translation for 3.2 final.
- ----------------------------------------------------------------------
- r5211@not:  autrijus | 2004-05-26T10:07:40.959072Z
- * FreezeThaw fails badly when encoding structures with mixed unicode
-   and byte string contents.  Switch to Storable+Base64 which deals
-   with this gracefully.
- ----------------------------------------------------------------------
- r5212@not:  autrijus | 2004-05-26T10:09:36.398305Z
- * EscapeUTF8 should preserve the byte/unicode flag of the original
-   string.  Otherwise, silent promotion on AutoFlush=>0 can corrupt
-   pages with both byte and unicode string contents.
-   (Reported by: LCamel and jihuang from foundry)
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r941 | jesse | 2004-05-23 22:29:51 -0400 (Sun, 23 May 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/html/Search/Build.html
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-   M /rt/branches/rt-3.3/html/Ticket/Create.html
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Groups_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Queue_Overlay.pm
-   A /rt/branches/rt-3.3/lib/t/data/rt-send-cc
-
-Merge forward from 3.1
-
-------------------------------------------------------------------------
-r934 | leira | 2004-05-19 12:23:49 -0400 (Wed, 19 May 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-
-Move file from 3.1 so that CF searching will work.
-
-------------------------------------------------------------------------
-r933 | leira | 2004-05-19 02:34:22 -0400 (Wed, 19 May 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Link_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-
-Actually pass along link error messages.  Resolves bps #2210.
-
-------------------------------------------------------------------------
-r930 | leira | 2004-05-19 00:48:20 -0400 (Wed, 19 May 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Ticket/Create.html
-
-Remove Debug field.
-
-------------------------------------------------------------------------
-r920 | jesse | 2004-05-17 22:18:53 -0400 (Mon, 17 May 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3
-
-
-------------------------------------------------------------------------
-r918 | jesse | 2004-05-17 22:02:24 -0400 (Mon, 17 May 2004) | 10 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/html/Admin/Groups/index.html
-   M /rt/branches/rt-3.3/html/Elements/MyTickets
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-   M /rt/branches/rt-3.3/html/Tools/Offline.html
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/rt-3.3/lib/t/04_send_email.pl.in
-
- ----------------------------------------------------------------------
- r1191@Jesse-Vincents-Computer:  jesse | 2004-05-18T00:35:23.362237Z
- ----------------------------------------------------------------------
- r1192@Jesse-Vincents-Computer:  jesse | 2004-05-18T02:01:52.198022Z
- Merged forward from rt 3.1
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r901 | leira | 2004-05-14 17:35:35 -0400 (Fri, 14 May 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Elements/MyTickets
-
-MyTickets doesn't require a Priority to be set.
-
-------------------------------------------------------------------------
-r890 | leira | 2004-05-14 00:28:27 -0400 (Fri, 14 May 2004) | 4 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Admin/Groups/index.html
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-
-If there isn't a QueueObj to begin with, it can't have a Name.
-
-Replaced a newline that had gone astray.
-
-------------------------------------------------------------------------
-r864 | jesse | 2004-05-11 01:25:36 -0400 (Tue, 11 May 2004) | 8 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/html/Admin/Elements/CustomFieldTabs
-   M /rt/branches/rt-3.3/html/SelfService/Closed.html
-   M /rt/branches/rt-3.3/html/autohandler
-   M /rt/branches/rt-3.3/lib/RT/I18N/cs.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/da.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/de.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/en.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/en_malkovich.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/es.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fi.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fr.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/he.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/hu.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/it.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ja.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/nl.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/no.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/pt_br.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ru.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_cn.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_tw.po
-   M /rt/branches/rt-3.3/sbin/extract-message-catalog
-
- ----------------------------------------------------------------------
- r1528@tinbook:  jesse | 2004-05-11T04:57:31.357768Z
- Updated translations, linted them, updated translation extraction software
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r859 | jesse | 2004-05-09 21:29:48 -0400 (Sun, 09 May 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/releng.cnf
-
- ----------------------------------------------------------------------
- r1517@tinbook:  jesse | 2004-05-10T01:29:37.932237Z
- Bumping to 3.3.3
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r858 | jesse | 2004-05-09 21:27:33 -0400 (Sun, 09 May 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/Makefile.in
-   M /rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.Pg
-   M /rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.mysql
-
- ----------------------------------------------------------------------
- r1515@tinbook:  jesse | 2004-05-10T01:26:38.232023Z
- Improved 3.1->3.3 migration support
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r851 | jesse | 2004-05-06 21:03:05 -0400 (Thu, 06 May 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/html/Admin/Queues/Scrip.html
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT.pm.in
-
-Merging forward from rt-3.1
-------------------------------------------------------------------------
-r848 | jesse | 2004-05-06 20:33:00 -0400 (Thu, 06 May 2004) | 5 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/HOWTO/README
-   M /rt/branches/rt-3.3/HOWTO/change.txt
-   M /rt/branches/rt-3.3/HOWTO/release.txt
-   M /rt/branches/rt-3.3/HOWTO/version-control.txt
-   M /rt/branches/rt-3.3/Makefile.in
-   M /rt/branches/rt-3.3/UPGRADING
-   M /rt/branches/rt-3.3/aclocal.m4
-   M /rt/branches/rt-3.3/bin/mason_handler.fcgi.in
-   M /rt/branches/rt-3.3/bin/mason_handler.scgi.in
-   M /rt/branches/rt-3.3/bin/mason_handler.svc.in
-   M /rt/branches/rt-3.3/bin/rt-commit-handler.in
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/configure.ac
-   M /rt/branches/rt-3.3/docs/Security
-   M /rt/branches/rt-3.3/docs/design_docs/acls
-   M /rt/branches/rt-3.3/docs/design_docs/approval_notices
-   M /rt/branches/rt-3.3/docs/design_docs/approval_template
-   M /rt/branches/rt-3.3/docs/design_docs/cf_search
-   M /rt/branches/rt-3.3/docs/design_docs/cli_spec
-   M /rt/branches/rt-3.3/docs/design_docs/cvs_integration
-   M /rt/branches/rt-3.3/docs/design_docs/delegation
-   M /rt/branches/rt-3.3/docs/design_docs/evil_plans
-   M /rt/branches/rt-3.3/docs/design_docs/groups_notes
-   M /rt/branches/rt-3.3/docs/design_docs/link-definitions.txt
-   M /rt/branches/rt-3.3/docs/design_docs/recursive_group_membership_algorithm
-   M /rt/branches/rt-3.3/docs/design_docs/rql_parser_machine.graphviz
-   M /rt/branches/rt-3.3/docs/design_docs/string-extraction-guide.txt
-   M /rt/branches/rt-3.3/docs/design_docs/ticket_templates
-   M /rt/branches/rt-3.3/docs/design_docs/users
-   M /rt/branches/rt-3.3/docs/rt3-schema-relationships.dot
-   M /rt/branches/rt-3.3/etc/RT_Config.pm.in
-   M /rt/branches/rt-3.3/etc/RT_SiteConfig.pm
-   M /rt/branches/rt-3.3/etc/acl.Informix
-   M /rt/branches/rt-3.3/etc/acl.Oracle
-   M /rt/branches/rt-3.3/etc/constraints.mysql
-   M /rt/branches/rt-3.3/etc/drop.Informix
-   M /rt/branches/rt-3.3/etc/drop.Oracle
-   M /rt/branches/rt-3.3/etc/initialdata
-   M /rt/branches/rt-3.3/etc/rt.spec
-   M /rt/branches/rt-3.3/etc/schema.SQLite
-   M /rt/branches/rt-3.3/html/Admin/Elements/AddCustomFieldValue
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditCustomField
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditCustomFieldValues
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditCustomFields
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditQueueWatchers
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditScrips
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditTemplates
-   M /rt/branches/rt-3.3/html/Admin/Elements/ListGlobalCustomFields
-   M /rt/branches/rt-3.3/html/Admin/Elements/QueueRightsForUser
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectCustomFieldType
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectGroups
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectModifyGroup
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectNewGroupMembers
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectRights
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectScripAction
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectScripCondition
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectSingleOrMultiple
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectUsers
-   M /rt/branches/rt-3.3/html/Admin/Global/Scrip.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/GroupRights.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/Members.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/Modify.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/UserRights.html
-   M /rt/branches/rt-3.3/html/Admin/Groups/index.html
-   M /rt/branches/rt-3.3/html/Admin/Queues/CustomField.html
-   M /rt/branches/rt-3.3/html/Admin/Queues/CustomFields.html
-   M /rt/branches/rt-3.3/html/Admin/Queues/Scrip.html
-   M /rt/branches/rt-3.3/html/Approvals/Display.html
-   M /rt/branches/rt-3.3/html/Approvals/Elements/Approve
-   M /rt/branches/rt-3.3/html/Approvals/Elements/PendingMyApproval
-   M /rt/branches/rt-3.3/html/Approvals/Elements/ShowDependency
-   M /rt/branches/rt-3.3/html/Approvals/Elements/Tabs
-   M /rt/branches/rt-3.3/html/Approvals/index.html
-   M /rt/branches/rt-3.3/html/Elements/BevelBoxRaisedEnd
-   M /rt/branches/rt-3.3/html/Elements/BevelBoxRaisedStart
-   M /rt/branches/rt-3.3/html/Elements/CreateTicket
-   M /rt/branches/rt-3.3/html/Elements/GotoTicket
-   M /rt/branches/rt-3.3/html/Elements/Menu
-   M /rt/branches/rt-3.3/html/Elements/MyRequests
-   M /rt/branches/rt-3.3/html/Elements/MyTickets
-   M /rt/branches/rt-3.3/html/Elements/PageLayout
-   M /rt/branches/rt-3.3/html/Elements/Quicksearch
-   M /rt/branches/rt-3.3/html/Elements/Refresh
-   M /rt/branches/rt-3.3/html/Elements/SelectAttachmentField
-   M /rt/branches/rt-3.3/html/Elements/SelectCustomFieldOperator
-   M /rt/branches/rt-3.3/html/Elements/SelectCustomFieldValue
-   M /rt/branches/rt-3.3/html/Elements/SelectGroups
-   M /rt/branches/rt-3.3/html/Elements/SelectLinkType
-   M /rt/branches/rt-3.3/html/Elements/SelectMatch
-   M /rt/branches/rt-3.3/html/Elements/SelectNewTicketQueue
-   M /rt/branches/rt-3.3/html/Elements/SelectQueue
-   M /rt/branches/rt-3.3/html/Elements/SelectResultsPerPage
-   M /rt/branches/rt-3.3/html/Elements/SelectSortOrder
-   M /rt/branches/rt-3.3/html/Elements/SelectTicketSortBy
-   M /rt/branches/rt-3.3/html/Elements/SelectTicketTypes
-   M /rt/branches/rt-3.3/html/Elements/ViewUser
-   M /rt/branches/rt-3.3/html/NoAuth/images/back_home.gif
-   M /rt/branches/rt-3.3/html/NoAuth/images/bplogo.gif
-   M /rt/branches/rt-3.3/html/NoAuth/images/favicon.png
-   M /rt/branches/rt-3.3/html/NoAuth/images/head_requestracker.gif
-   M /rt/branches/rt-3.3/html/NoAuth/images/rt.jpg
-   M /rt/branches/rt-3.3/html/NoAuth/images/space.gif
-   M /rt/branches/rt-3.3/html/NoAuth/images/spacer.gif
-   M /rt/branches/rt-3.3/html/NoAuth/images/squares_blue.gif
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/queue/default
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/queue/ns
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/attachments
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/links
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/user/default
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/user/ns
-   M /rt/branches/rt-3.3/html/REST/1.0/NoAuth/mail-gateway
-   M /rt/branches/rt-3.3/html/REST/1.0/logout
-   M /rt/branches/rt-3.3/html/REST/1.0/search/dhandler
-   M /rt/branches/rt-3.3/html/REST/1.0/ticket/comment
-   M /rt/branches/rt-3.3/html/REST/1.0/ticket/link
-   M /rt/branches/rt-3.3/html/REST/1.0/ticket/merge
-   M /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-   M /rt/branches/rt-3.3/html/Search/Elements/TicketRow
-   M /rt/branches/rt-3.3/html/SelfService/Attachment/dhandler
-   M /rt/branches/rt-3.3/html/SelfService/Closed.html
-   M /rt/branches/rt-3.3/html/SelfService/Elements/Tabs
-   M /rt/branches/rt-3.3/html/SelfService/index.html
-   M /rt/branches/rt-3.3/html/Ticket/Create.html
-   M /rt/branches/rt-3.3/html/Ticket/Display.html
-   M /rt/branches/rt-3.3/html/Ticket/Elements/BulkLinks
-   M /rt/branches/rt-3.3/html/Ticket/Elements/EditCustomField
-   M /rt/branches/rt-3.3/html/Ticket/Elements/EditCustomFields
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowCustomFields
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowHistory
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowMessageHeaders
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowRequestor
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/rt-3.3/html/Ticket/ShowEmailRecord.html
-   M /rt/branches/rt-3.3/html/Tools/Offline.html
-   M /rt/branches/rt-3.3/html/User/Delegation.html
-   M /rt/branches/rt-3.3/html/User/Elements/DelegateRights
-   M /rt/branches/rt-3.3/html/User/Elements/GroupTabs
-   M /rt/branches/rt-3.3/html/User/Elements/Tabs
-   M /rt/branches/rt-3.3/html/User/Groups/Members.html
-   M /rt/branches/rt-3.3/html/User/Groups/Modify.html
-   M /rt/branches/rt-3.3/html/User/Groups/index.html
-   M /rt/branches/rt-3.3/html/index.html
-   M /rt/branches/rt-3.3/html/l
-   M /rt/branches/rt-3.3/install-sh
-   M /rt/branches/rt-3.3/lib/RT/ACE_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/ACL_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/EscalatePriority.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/ResolveMembers.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/SendEmail.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/SetPriority.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/UserDefined.pm
-   M /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/CachedGroupMember.pm
-   M /rt/branches/rt-3.3/lib/RT/CachedGroupMember_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/CachedGroupMembers.pm
-   M /rt/branches/rt-3.3/lib/RT/CachedGroupMembers_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/AnyTransaction.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/BeforeDue.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/Overdue.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/OwnerChange.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/PriorityExceeds.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/QueueChange.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/StatusChange.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/UserDefined.pm
-   M /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomField.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomFieldValue.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomFieldValues.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomFieldValues_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomFields.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Date.pm
-   M /rt/branches/rt-3.3/lib/RT/EmailParser.pm
-   M /rt/branches/rt-3.3/lib/RT/GroupMember_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/GroupMembers_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Group_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Groups_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Handle.pm
-   M /rt/branches/rt-3.3/lib/RT/I18N/cs.pm
-   M /rt/branches/rt-3.3/lib/RT/I18N/cs.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/de.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/en.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/es.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fr.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/he.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/i_default.pm
-   M /rt/branches/rt-3.3/lib/RT/I18N/it.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ja.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/nl.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/no.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/pt_br.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/ru.po
-   M /rt/branches/rt-3.3/lib/RT/Interface/CLI.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Email/Filter/SpamAssassin.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Email.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/REST.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/Link.pm
-   M /rt/branches/rt-3.3/lib/RT/Link_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Links.pm
-   M /rt/branches/rt-3.3/lib/RT/Links_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Principal.pm
-   M /rt/branches/rt-3.3/lib/RT/Principal_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Principals.pm
-   M /rt/branches/rt-3.3/lib/RT/Principals_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Queue_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Queues_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/ScripAction_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/ScripActions_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/ScripCondition_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/ScripConditions_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Scrip_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Search/ActiveTicketsInQueue.pm
-   M /rt/branches/rt-3.3/lib/RT/Search/Generic.pm
-   M /rt/branches/rt-3.3/lib/RT/System.pm
-   M /rt/branches/rt-3.3/lib/RT/Template_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Templates_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValue.pm
-   M /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValue_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValues.pm
-   M /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValues_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/rt-3.3/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/URI/base.pm
-   M /rt/branches/rt-3.3/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/rt-3.3/lib/RT/User_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT.pm.in
-   M /rt/branches/rt-3.3/lib/t/00smoke.t.in
-   M /rt/branches/rt-3.3/lib/t/01harness.t.in
-   M /rt/branches/rt-3.3/lib/t/02regression.t.in
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/dir
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg1
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg2
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg3
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg4
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg5
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg6
-   M /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg7
-   M /rt/branches/rt-3.3/lib/t/data/multipart-alternative-with-umlaut
-   M /rt/branches/rt-3.3/lib/t/data/multipart-report
-   M /rt/branches/rt-3.3/lib/t/data/nested-mime-sample
-   M /rt/branches/rt-3.3/lib/t/data/nested-rfc-822
-   M /rt/branches/rt-3.3/lib/t/data/new-ticket-from-iso-8859-1
-   M /rt/branches/rt-3.3/lib/t/data/new-ticket-from-iso-8859-1-full
-   M /rt/branches/rt-3.3/lib/t/data/russian-subject-no-content-type
-   M /rt/branches/rt-3.3/lib/t/data/text-html-in-russian
-   M /rt/branches/rt-3.3/lib/t/data/text-html-with-umlaut
-   M /rt/branches/rt-3.3/lib/t/regression/00placeholder
-   M /rt/branches/rt-3.3/lib/t/regression/mime_tests
-   M /rt/branches/rt-3.3/m4/rt_enable_layout.m4
-   M /rt/branches/rt-3.3/m4/rt_expand_var.m4
-   M /rt/branches/rt-3.3/m4/rt_layout.m4
-   M /rt/branches/rt-3.3/m4/rt_subst_expanded_arg.m4
-   M /rt/branches/rt-3.3/sbin/extract-message-catalog
-   M /rt/branches/rt-3.3/sbin/extract_pod_tests
-   M /rt/branches/rt-3.3/sbin/factory
-   M /rt/branches/rt-3.3/sbin/regression_harness
-   M /rt/branches/rt-3.3/sbin/rt-setup-database.in
-   M /rt/branches/rt-3.3/sbin/rt-test-dependencies.in
-
- r1484@tinbook:  jesse | 2004-05-07T00:31:24.624807Z
- Merging forward from 3.1
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r843 | autrijus | 2004-05-06 04:13:18 -0400 (Thu, 06 May 2004) | 10 lines
-Changed paths:
-   M /rt
-   D /rt/branches/rt-3.3/docs/design_docs/atom-api.txt
-   M /rt/branches/rt-3.3/lib/RT/CustomField_Overlay.pm
-
- ----------------------------------------------------------------------
- r4415@not:  autrijus | 2004-05-03T06:42:06.584504Z
- * move atom-api.txt to RTx::Atom space.
- ----------------------------------------------------------------------
- r4510@not:  autrijus | 2004-05-06T07:44:35.710915Z
- * stub undef CustomField->QueueObj to make BuildFormatString happy.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r833 | jesse | 2004-05-05 14:18:03 -0400 (Wed, 05 May 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-
-A new merge ticket
-
-------------------------------------------------------------------------
-r810 | autrijus | 2004-05-02 21:00:48 -0400 (Sun, 02 May 2004) | 8 lines
-Changed paths:
-   M /rt
-   D /rt/branches/rt-3.3/html/REST/2.0
-
- ----------------------------------------------------------------------
- r4394@not:  autrijus | 2004-05-03T01:00:51.890023Z
- * 301 Moved Permanently
- * Location: /RTx-Atom/html/Atom/0.3
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r808 | autrijus | 2004-05-02 20:21:29 -0400 (Sun, 02 May 2004) | 15 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/docs/design_docs/atom-api.txt
-   A /rt/branches/rt-3.3/html/REST/2.0/Add
-   A /rt/branches/rt-3.3/html/REST/2.0/Add/index
-   D /rt/branches/rt-3.3/html/REST/2.0/Create
-   D /rt/branches/rt-3.3/html/REST/2.0/Delete
-   A /rt/branches/rt-3.3/html/REST/2.0/Remove
-   A /rt/branches/rt-3.3/html/REST/2.0/Remove/index
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-   M /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-   M /rt/branches/rt-3.3/lib/RT/Date.pm
-
- ----------------------------------------------------------------------
- r4385@not:  autrijus | 2004-05-02T21:16:04.349680Z
- * Correct POD for W3CDTF
- ----------------------------------------------------------------------
- r4388@not:  autrijus | 2004-05-03T00:17:22.934822Z
- * massive redesign based on discussion with obra.
- ----------------------------------------------------------------------
- r4389@not:  autrijus | 2004-05-03T00:21:25.960300Z
- * Rename "Create" to "Add"; "Delete" to "Remove".
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r805 | autrijus | 2004-05-02 14:03:32 -0400 (Sun, 02 May 2004) | 10 lines
-Changed paths:
-   M /rt
-   A /rt/branches/rt-3.3/docs/design_docs/atom-api.txt
-   A /rt/branches/rt-3.3/html/REST/2.0/Create/index
-   A /rt/branches/rt-3.3/html/REST/2.0/Delete/index
-   A /rt/branches/rt-3.3/html/REST/2.0/Describe
-   A /rt/branches/rt-3.3/html/REST/2.0/Describe/index
-   M /rt/branches/rt-3.3/html/REST/2.0/Elements/Link
-   A /rt/branches/rt-3.3/html/REST/2.0/Get/index
-   M /rt/branches/rt-3.3/html/REST/2.0/NoAuth/feed.css
-   A /rt/branches/rt-3.3/html/REST/2.0/Put
-   A /rt/branches/rt-3.3/html/REST/2.0/Put/index
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-   A /rt/branches/rt-3.3/html/REST/2.0/Update/index
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-   M /rt/branches/rt-3.3/html/REST/2.0/index
-
- ----------------------------------------------------------------------
- r4382@not:  autrijus | 2004-05-02T18:02:39.870947Z
- * Describes RT/REST 2.0, Atom-compatible API.
- ----------------------------------------------------------------------
- r4383@not:  autrijus | 2004-05-02T18:03:08.473736Z
- * Put stubs to all the unimplemented verbs.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r804 | autrijus | 2004-05-02 11:58:17 -0400 (Sun, 02 May 2004) | 14 lines
-Changed paths:
-   M /rt
-   A /rt/branches/rt-3.3/html/REST/2.0/Elements/Error
-   A /rt/branches/rt-3.3/html/REST/2.0/Elements/Introspect
-   D /rt/branches/rt-3.3/html/REST/2.0/Error
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-   M /rt/branches/rt-3.3/html/REST/2.0/index
-
- ----------------------------------------------------------------------
- r4379@not:  autrijus | 2004-05-02T15:26:00.873038Z
- * Do content negotiation with the browser and fallback on text/xml.
- * Clean up namespaces a little.
- ----------------------------------------------------------------------
- r4380@not:  autrijus | 2004-05-02T15:58:03.262688Z
- * Move Error/index to Elements/Error since Error is not a verb.
- * Refactor the Introspect part away to Elements/.
- * Correctly redirects /Templates/ and /template/ to /templates/.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r802 | autrijus | 2004-05-02 09:14:02 -0400 (Sun, 02 May 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Elements/Link
-   M /rt/branches/rt-3.3/html/REST/2.0/NoAuth/feed.css
-   M /rt/branches/rt-3.3/html/REST/2.0/NoAuth/index.css
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-
- ----------------------------------------------------------------------
- r4375@not:  autrijus | 2004-05-02T13:13:38.884936Z
- * use ->URI correctly.
- * use <a xmlns="...html..."> so things can correct render in nongecko browsers.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r801 | autrijus | 2004-05-01 19:14:04 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/index
-
- ----------------------------------------------------------------------
- r4365@not:  autrijus | 2004-05-01T23:14:05.342098Z
- * Cross-introspection logic to eliminate subordinate classes from main index.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r800 | autrijus | 2004-05-01 17:39:50 -0400 (Sat, 01 May 2004) | 8 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Elements/Link
-   M /rt/branches/rt-3.3/html/REST/2.0/NoAuth/feed.css
-   A /rt/branches/rt-3.3/html/REST/2.0/NoAuth/index.css
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-   M /rt/branches/rt-3.3/html/REST/2.0/autohandler
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-   M /rt/branches/rt-3.3/html/REST/2.0/index
-
- ----------------------------------------------------------------------
- r4363@not:  autrijus | 2004-05-01T21:39:51.608519Z
- * Index page implemented using multiple "Feed" services.
- * Lots of cute, little icons placed with CSS.
- * Much better preparation for autodiscovery; PostURI is now handled with "/type.new".
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r799 | autrijus | 2004-05-01 14:54:56 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/NoAuth/feed.css
-
- ----------------------------------------------------------------------
- r4361@not:  autrijus | 2004-05-01T18:55:05.234036Z
- * Even more CSS tricks.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r798 | autrijus | 2004-05-01 14:49:18 -0400 (Sat, 01 May 2004) | 14 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/Admin/Elements/Header
-   M /rt/branches/rt-3.3/html/Admin/Global/Templates.html
-   M /rt/branches/rt-3.3/html/Elements/Header
-   M /rt/branches/rt-3.3/html/Elements/TicketList
-   A /rt/branches/rt-3.3/html/REST/2.0/Elements
-   A /rt/branches/rt-3.3/html/REST/2.0/Elements/Link
-   M /rt/branches/rt-3.3/html/REST/2.0/NoAuth/feed.css
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-   M /rt/branches/rt-3.3/html/REST/2.0/autohandler
-
- ----------------------------------------------------------------------
- r4357@not:  autrijus | 2004-05-01T18:47:10.055533Z
- * Various CSS tricks.
- ----------------------------------------------------------------------
- r4358@not:  autrijus | 2004-05-01T18:47:49.553353Z
- * Fixed an off-by-one error in ticket listing.
- ----------------------------------------------------------------------
- r4359@not:  autrijus | 2004-05-01T18:48:06.789268Z
- * support for Atom autodiscovery.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r797 | autrijus | 2004-05-01 12:11:01 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Error/index
-
- ----------------------------------------------------------------------
- r4353@not:  autrijus | 2004-05-01T16:11:10.795277Z
- * finally Error works for all three supported carriers.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r796 | autrijus | 2004-05-01 12:07:33 -0400 (Sat, 01 May 2004) | 17 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/bin/standalone_httpd.in
-   M /rt/branches/rt-3.3/html/REST/2.0/Error/index
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-
- ----------------------------------------------------------------------
- r4349@not:  autrijus | 2004-05-01T15:36:00.221832Z
- * Properly clean up leftover HTTP_* environment variables.
- * Pass authorization header to Mason.
- * Send out correct HTTP status code instead of blindly assuming 200.
- ----------------------------------------------------------------------
- r4350@not:  autrijus | 2004-05-01T15:59:39.046584Z
- * RT::Date->new also takes currentuser.
- ----------------------------------------------------------------------
- r4351@not:  autrijus | 2004-05-01T16:00:38.530367Z
- * Correctly handle nonce disposal.
- * $m->abort is needed for mod_perl2.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r795 | autrijus | 2004-05-01 09:58:07 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-
- ----------------------------------------------------------------------
- r4347@not:  autrijus | 2004-05-01T13:58:14.427055Z
- * it's Queues, not Queue
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r794 | autrijus | 2004-05-01 09:55:57 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-
- ----------------------------------------------------------------------
- r4345@not:  autrijus | 2004-05-01T13:56:03.778530Z
- * use absolute URIs, not relative ones, per the Atom spec
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r793 | autrijus | 2004-05-01 09:51:25 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-
- ----------------------------------------------------------------------
- r4343@not:  autrijus | 2004-05-01T13:51:31.406464Z
- * link semantics now agrees with AtomAPI.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r792 | autrijus | 2004-05-01 09:35:28 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Search/index
-
- ----------------------------------------------------------------------
- r4341@not:  autrijus | 2004-05-01T13:35:35.544895Z
- * Make <id> slightly more unique
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r791 | autrijus | 2004-05-01 09:33:03 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/Error/index
-   M /rt/branches/rt-3.3/html/REST/2.0/autohandler
-
- ----------------------------------------------------------------------
- r4339@not:  autrijus | 2004-05-01T13:32:59.502832Z
- * adapt for FastCGI's needs
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r790 | autrijus | 2004-05-01 09:22:21 -0400 (Sat, 01 May 2004) | 9 lines
-Changed paths:
-   M /rt
-   A /rt/branches/rt-3.3/html/REST/2.0/Auth
-   A /rt/branches/rt-3.3/html/REST/2.0/Create
-   A /rt/branches/rt-3.3/html/REST/2.0/Delete
-   A /rt/branches/rt-3.3/html/REST/2.0/Error
-   A /rt/branches/rt-3.3/html/REST/2.0/Error/index
-   A /rt/branches/rt-3.3/html/REST/2.0/Get
-   A /rt/branches/rt-3.3/html/REST/2.0/Search
-   A /rt/branches/rt-3.3/html/REST/2.0/Search/index
-   A /rt/branches/rt-3.3/html/REST/2.0/Update
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-   A /rt/branches/rt-3.3/html/REST/2.0/index
-
- ----------------------------------------------------------------------
- r4335@not:  autrijus | 2004-05-01T13:20:56.570615Z
- * Establish directory layout.
- * Error handling.
- * Refactor out the 'Search' verb.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r788 | autrijus | 2004-05-01 07:44:58 -0400 (Sat, 01 May 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-
- ----------------------------------------------------------------------
- r4331@not:  autrijus | 2004-05-01T11:44:31.355329Z
- * do not offer WSSE auth to non-atom clients, and vice versa,
-   to avoid spurious auth warnings.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r785 | autrijus | 2004-05-01 07:16:25 -0400 (Sat, 01 May 2004) | 10 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-   M /rt/branches/rt-3.3/lib/RT/Date.pm
-
- ----------------------------------------------------------------------
- r4323@not:  autrijus | 2004-05-01T11:14:28.377660Z
- * implement ->W3CDTF.
- ----------------------------------------------------------------------
- r4324@not:  autrijus | 2004-05-01T11:16:31.456041Z
- * we are now a valid Atom feed.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r784 | autrijus | 2004-05-01 06:52:15 -0400 (Sat, 01 May 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-
- ----------------------------------------------------------------------
- r4321@not:  autrijus | 2004-05-01T10:52:23.225100Z
- * add fastcgi support.
- * make proper use of X-WSSE header instead of demanding Authorization
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r783 | autrijus | 2004-05-01 06:50:30 -0400 (Sat, 01 May 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/I18N.pm
-
- ----------------------------------------------------------------------
- r4319@not:  autrijus | 2004-05-01T10:50:15.580296Z
- * glob local/*.po too for consistency and intuitiveness.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r782 | autrijus | 2004-05-01 06:35:23 -0400 (Sat, 01 May 2004) | 8 lines
-Changed paths:
-   M /rt
-   A /rt/branches/rt-3.3/html/REST/2.0/NoAuth
-   A /rt/branches/rt-3.3/html/REST/2.0/NoAuth/feed.css
-   M /rt/branches/rt-3.3/html/REST/2.0/autohandler
-   M /rt/branches/rt-3.3/html/REST/2.0/dhandler
-
- ----------------------------------------------------------------------
- r4317@not:  autrijus | 2004-05-01T10:35:00.584748Z
- * now does Basic and Digest authentication, too.
- * CSSify the example feed
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r781 | autrijus | 2004-04-30 23:24:12 -0400 (Fri, 30 Apr 2004) | 7 lines
-Changed paths:
-   M /rt
-   A /rt/branches/rt-3.3/html/REST/2.0
-   A /rt/branches/rt-3.3/html/REST/2.0/autohandler
-   A /rt/branches/rt-3.3/html/REST/2.0/dhandler
-   M /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-
- ----------------------------------------------------------------------
- r4309@not:  autrijus | 2004-05-01T03:22:53.730384Z
- * initial commit of RT/REST 2.0 API and WSSE authentication.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r766 | jesse | 2004-04-28 14:26:02 -0400 (Wed, 28 Apr 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3/etc/upgrade
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0/acl.Informix
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0/acl.Oracle
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0/acl.Pg
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0/acl.SQLite
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0/acl.mysql
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.Pg
-   A /rt/branches/rt-3.3/etc/upgrade/3.3.0/schema.mysql
-
- ----------------------------------------------------------------------
- r2206@tinbook:  jesse | 2004-04-28T18:24:56.988760Z
- Added the beginnings of upgrade 3.1->3.3 functionality. has not yet been tested
- ----------------------------------------------------------------------
-------------------------------------------------------------------------
-r763 | autrijus | 2004-04-28 02:05:14 -0400 (Wed, 28 Apr 2004) | 8 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/Base.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-
- ----------------------------------------------------------------------
- r4223@not:  autrijus | 2004-04-28T06:00:27.794797Z
- * correctly put loc_fuzzy in Base.
- * do not double-encode EscapeUTF8 for Mason.  this resolves the weird
-   standalong-httpd bug.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r761 | jesse | 2004-04-27 23:16:35 -0400 (Tue, 27 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/etc/schema.Pg
-
-Updating schema for 3.3 to use 'integer' on postgres rather than int2 on Andrew Sullivan's recommendation
-
-------------------------------------------------------------------------
-r758 | autrijus | 2004-04-27 16:12:38 -0400 (Tue, 27 Apr 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/Elements/Footer
-
- ----------------------------------------------------------------------
- r4214@not:  autrijus | 2004-04-27T20:12:39.658238Z
- * rework Footer l10n into one line so not to confuse the old string extractor
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r757 | autrijus | 2004-04-27 16:09:45 -0400 (Tue, 27 Apr 2004) | 6 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_cn.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_tw.po
-
- ----------------------------------------------------------------------
- r4211@not:  autrijus | 2004-04-27T19:55:32.087502Z
- * Chinese translations.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r756 | autrijus | 2004-04-27 04:46:57 -0400 (Tue, 27 Apr 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/README
-
- ----------------------------------------------------------------------
- r4195@not:  autrijus | 2004-04-27T08:46:36.958817Z
- * now mod_perl2 only needs one line of extra setup.
-  
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r746 | autrijus | 2004-04-26 15:11:33 -0400 (Mon, 26 Apr 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.1/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/User_Overlay.pm
-
- ----------------------------------------------------------------------
- r4176@not:  autrijus | 2004-04-26T19:09:53.594445Z
- * switch password format from base64 to hex; maintaining legacy
-   compatibility by upgrading passwords in-place upon successful auth
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r745 | autrijus | 2004-04-26 15:02:48 -0400 (Mon, 26 Apr 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/SearchBuilder.pm
-
- ----------------------------------------------------------------------
- r4171@not:  autrijus | 2004-04-26T18:59:54.608186Z
- * correct EMPTY and NULL support for $Tickets->LimitAttribute().
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r744 | autrijus | 2004-04-26 15:01:49 -0400 (Mon, 26 Apr 2004) | 8 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Template_Overlay.pm
-
- ----------------------------------------------------------------------
- r4170@not:  autrijus | 2004-04-26T18:56:10.826541Z
- * Do not crash the application when Template parsing failed; instead
-   capture the error and handle it with $RT::Logger->error().
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r743 | autrijus | 2004-04-26 15:01:05 -0400 (Mon, 26 Apr 2004) | 8 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-
- ----------------------------------------------------------------------
- r4169@not:  autrijus | 2004-04-26T18:52:39.442581Z
- * allow subkeys limit like $Tickets->Limit( FIELD => 'Requestor.Id' );
-   previously it was only available from "CF.*" keys.
- ----------------------------------------------------------------------
-
-------------------------------------------------------------------------
-r741 | autrijus | 2004-04-26 14:48:52 -0400 (Mon, 26 Apr 2004) | 3 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-
-* freeze() forgot to take account of the look_at_* indices, resulting
-  in incorrect object after thaw()ing
-
-------------------------------------------------------------------------
-r733 | autrijus | 2004-04-23 15:09:40 -0400 (Fri, 23 Apr 2004) | 5 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/Groups_Overlay.pm
-
- r4083@not:  autrijus | 2004-04-23T19:08:59.061919Z
- * ENTRY_AGGREGATOR is a misspelling (for ENTRYAGGREGATOR), and it
-   defaults to OR anyway, so simply eliminate this bogus parameter.
-
-------------------------------------------------------------------------
-r722 | autrijus | 2004-04-21 18:32:19 -0400 (Wed, 21 Apr 2004) | 10 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.1/lib/RT/SearchBuilder.pm
-   M /rt/branches/rt-3.3/lib/RT/SearchBuilder.pm
-
- r4037@not:  autrijus | 2004-04-21T22:30:37.269510Z
- * It turns out that for EMPTY => 1 to work, IS NULL needs to be OR'ed
-   to the other columns as well...
- ----------------------------------------------------------------------
- r4038@not:  autrijus | 2004-04-21T22:31:56.271421Z
- * merge previous commit from 3.3 to 3.1.
-
-------------------------------------------------------------------------
-r719 | autrijus | 2004-04-21 14:59:55 -0400 (Wed, 21 Apr 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/SearchBuilder.pm
-
- r4027@not:  autrijus | 2004-04-21T18:59:19.548165Z
-
- * LimitAttribute( EMPTY => 1 ) is much more correctly handled with a IS NULL.
-
-------------------------------------------------------------------------
-r717 | jesse | 2004-04-21 01:25:01 -0400 (Wed, 21 Apr 2004) | 6 lines
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/Makefile.in
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/configure.ac
-   M /rt/branches/rt-3.3/etc/RT_Config.pm.in
-   M /rt/branches/rt-3.3/etc/schema.mysql
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/acl.Informix
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/acl.Oracle
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/acl.Pg
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/acl.SQLite
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/acl.mysql
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/content
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/schema.Informix
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/schema.Oracle
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/schema.Pg
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/schema.SQLite
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.0/schema.mysql
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectNewGroupMembers
-   A /rt/branches/rt-3.3/html/Admin/Elements/ToolTabs
-   A /rt/branches/rt-3.3/html/Admin/Tools
-   A /rt/branches/rt-3.3/html/Admin/Tools/Configuration.html
-   A /rt/branches/rt-3.3/html/Admin/Tools/index.html
-   A /rt/branches/rt-3.3/html/Elements/QueryString
-   A /rt/branches/rt-3.3/html/Elements/ScrubHTML
-   M /rt/branches/rt-3.3/html/Elements/Tabs
-   M /rt/branches/rt-3.3/html/Elements/TicketList
-   M /rt/branches/rt-3.3/html/NoAuth/webrt.css
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/default
-   M /rt/branches/rt-3.3/html/Scope/Search.html
-   M /rt/branches/rt-3.3/html/Search/Build.html
-   M /rt/branches/rt-3.3/html/Search/Edit.html
-   M /rt/branches/rt-3.3/html/Search/Elements/BuildFormatString
-   M /rt/branches/rt-3.3/html/Search/Elements/DisplayOptions
-   M /rt/branches/rt-3.3/html/Search/Elements/EditFormat
-   M /rt/branches/rt-3.3/html/Search/Elements/EditSearches
-   M /rt/branches/rt-3.3/html/Search/Results.html
-   M /rt/branches/rt-3.3/html/Search/Results.rdf
-   M /rt/branches/rt-3.3/html/Search/Results.tsv
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowRequestor
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransaction
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransactionAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/Tabs
-   A /rt/branches/rt-3.3/html/Ticket/ShowEmailRecord.html
-   M /rt/branches/rt-3.3/html/Ticket/Update.html
-   A /rt/branches/rt-3.3/html/Tools/Elements
-   A /rt/branches/rt-3.3/html/Tools/Elements/Tabs
-   A /rt/branches/rt-3.3/html/Tools/Offline.html
-   M /rt/branches/rt-3.3/html/autohandler
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Group_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/I18N.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/Queue_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Users_Overlay.pm
-   M /rt/branches/rt-3.3/sbin/rt-test-dependencies.in
-
-  ----------------------------------------------------------------------
-  r2113@tinbook:  jesse | 2004-04-21T05:24:17.573962Z
-  
-  Remerging from RT 3.1.x
-  ----------------------------------------------------------------------
-  
-------------------------------------------------------------------------
-r714 | autrijus | 2004-04-20 23:49:45 -0400 (Tue, 20 Apr 2004) | 7 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldImage
-   A /rt/branches/rt-3.3/html/Elements/ShowCustomFieldImage
-   M /rt/branches/rt-3.3/html/Elements/ShowCustomFields
-
-r4005@not:  autrijus | 2004-04-21T03:49:17.533641Z
-
-RT-Ticket: 5365
-RT-Status: resolved
-
-Make image display inline on ticket info screen.
-
-------------------------------------------------------------------------
-r712 | leira | 2004-04-20 22:49:09 -0400 (Tue, 20 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Admin/Groups/index.html
-   M /rt/branches/rt-3.3/html/Admin/Users/index.html
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldImage
-
-fix WebPath urls
-
-------------------------------------------------------------------------
-r711 | leira | 2004-04-20 22:43:57 -0400 (Tue, 20 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Admin/Groups/index.html
-   M /rt/branches/rt-3.3/html/Admin/Users/index.html
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldImage
-
-Dowload links need the WebPath.
-
-------------------------------------------------------------------------
-r710 | leira | 2004-04-20 22:37:34 -0400 (Tue, 20 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValue_Overlay.pm
-
-decode_utf8, not decode_utf_8
-
-------------------------------------------------------------------------
-r709 | leira | 2004-04-20 22:16:04 -0400 (Tue, 20 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValue_Overlay.pm
-
-"decode_utf_8", not "decode_utf 8"
-
-------------------------------------------------------------------------
-r708 | leira | 2004-04-20 22:15:39 -0400 (Tue, 20 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/CustomField_Overlay.pm
-
-CFs are no longer attached to queues.
-
-------------------------------------------------------------------------
-r707 | jesse | 2004-04-20 21:21:11 -0400 (Tue, 20 Apr 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-
-Adding support for encoding LOBs for the new custom field behaviour
-------------------------------------------------------------------------
-r703 | jesse | 2004-04-19 22:26:50 -0400 (Mon, 19 Apr 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/etc/schema.Pg
-   M /rt/branches/rt-3.3/html/Ticket/Elements/FindAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/LoadTextAttachments
-   M /rt/branches/rt-3.3/lib/RT/Transaction_Overlay.pm
-
-"Another pass at trying to fix the schema"
-------------------------------------------------------------------------
-r702 | jesse | 2004-04-19 22:12:32 -0400 (Mon, 19 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/etc/acl.Pg
-   M /rt/branches/rt-3.3/etc/schema.Pg
-
-Fixing conflicts from fixing the same bugs as linda.
-
-------------------------------------------------------------------------
-r701 | leira | 2004-04-19 14:35:01 -0400 (Mon, 19 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/etc/acl.Pg
-
-One more acl fix.
-
-------------------------------------------------------------------------
-r700 | leira | 2004-04-19 14:16:08 -0400 (Mon, 19 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/etc/acl.Pg
-   M /rt/branches/rt-3.3/etc/schema.Pg
-
-Schema & acl fixes for Postgres.
-
-------------------------------------------------------------------------
-r695 | autrijus | 2004-04-16 15:33:06 -0400 (Fri, 16 Apr 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldSelect
-
-r3928@not:  autrijus | 2004-04-16T19:32:35.970968Z
-
-Fix select CF display bug as reported by leira
-
-------------------------------------------------------------------------
-r685 | autrijus | 2004-04-14 05:29:23 -0400 (Wed, 14 Apr 2004) | 5 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary
-
-r3851@not:  autrijus | 2004-04-14T09:27:57.550568Z
-
-* make EditCustomFieldBinary's condition style agree with other
-  elements -- also avoids comparing an uninitialized value.
-
-------------------------------------------------------------------------
-r682 | leira | 2004-04-12 02:07:01 -0400 (Mon, 12 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Admin/Groups/Modify.html
-   M /rt/branches/rt-3.3/html/Admin/Users/Modify.html
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldImage
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldSelect
-   M /rt/branches/rt-3.3/html/Elements/EditCustomFieldText
-   M /rt/branches/rt-3.3/html/Search/Elements/SelectPersonType
-   M /rt/branches/rt-3.3/html/Ticket/Elements/EditCustomFields
-   M /rt/branches/rt-3.3/html/Ticket/Modify.html
-   M /rt/branches/rt-3.3/html/Ticket/ModifyAll.html
-   M /rt/branches/rt-3.3/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomFields_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Transaction_Overlay.pm
-
-Fixes from autrijus.
-
-------------------------------------------------------------------------
-r665 | jesse | 2004-04-02 16:54:23 -0500 (Fri, 02 Apr 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3/html/Admin/Elements/PickObjects
-
-Allowing the custom field admin screens to add custom fields to all users
-------------------------------------------------------------------------
-r664 | jesse | 2004-04-02 16:39:27 -0500 (Fri, 02 Apr 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-   M /rt/branches/rt-3.3/lib/RT/Transaction_Overlay.pm
-
-Pulling forward relationships fixes from 3.1; updating a transaction-related assertion for 3.3
-------------------------------------------------------------------------
-r662 | jesse | 2004-04-02 10:54:22 -0500 (Fri, 02 Apr 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3/etc/acl.Pg
-   M /rt/branches/rt-3.3/html/Admin/Elements/ModifyQueue
-   M /rt/branches/rt-3.3/html/Admin/Queues/Modify.html
-   A /rt/branches/rt-3.3/html/Elements/EditLinks
-   M /rt/branches/rt-3.3/html/Elements/MessageBox
-   M /rt/branches/rt-3.3/html/Elements/SelectMatch
-   A /rt/branches/rt-3.3/html/Elements/ShowLink
-   A /rt/branches/rt-3.3/html/Elements/ShowLinks
-   M /rt/branches/rt-3.3/html/Scope/Elements/ShowSummary
-   M /rt/branches/rt-3.3/html/Search/Build.html
-   M /rt/branches/rt-3.3/html/Search/Bulk.html
-   M /rt/branches/rt-3.3/html/Search/Elements/SelectPersonType
-   M /rt/branches/rt-3.3/html/SelfService/Display.html
-   M /rt/branches/rt-3.3/html/Ticket/Create.html
-   M /rt/branches/rt-3.3/html/Ticket/Display.html
-   A /rt/branches/rt-3.3/html/Ticket/Elements/LoadTextAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowHistory
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowSummary
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/rt-3.3/html/Ticket/History.html
-   M /rt/branches/rt-3.3/html/Ticket/ModifyAll.html
-   M /rt/branches/rt-3.3/html/Ticket/ModifyLinks.html
-   M /rt/branches/rt-3.3/html/Ticket/Update.html
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/SendEmail.pm
-   M /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Attribute_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-   M /rt/branches/rt-3.3/lib/RT/EmailParser.pm
-   A /rt/branches/rt-3.3/lib/RT/I18N/da.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fr.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/hu.po
-   M /rt/branches/rt-3.3/lib/RT/Interface/Email/Auth/MailFrom.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/rt-3.3/lib/RT/User_Overlay.pm
-
-Took a hand-merging pass at 3.1->3.3 after autrijus manual baseless merge.
-------------------------------------------------------------------------
-r661 | autrijus | 2004-04-02 08:57:08 -0500 (Fri, 02 Apr 2004) | 3 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-
-* put Ticket_Overlay back to where it was.
-
-
-------------------------------------------------------------------------
-r660 | autrijus | 2004-04-02 08:43:44 -0500 (Fri, 02 Apr 2004) | 1 line
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3
-   M /rt/branches/rt-3.3/Makefile.in
-   A /rt/branches/rt-3.3/README.Oracle
-   M /rt/branches/rt-3.3/UPGRADING
-   M /rt/branches/rt-3.3/bin/mason_handler.fcgi.in
-   M /rt/branches/rt-3.3/bin/mason_handler.scgi.in
-   M /rt/branches/rt-3.3/bin/rt-crontool.in
-   M /rt/branches/rt-3.3/bin/rt-mailgate.in
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/config.layout
-   M /rt/branches/rt-3.3/configure.ac
-   M /rt/branches/rt-3.3/etc/initialdata
-   M /rt/branches/rt-3.3/etc/schema.Informix
-   M /rt/branches/rt-3.3/etc/schema.Oracle
-   M /rt/branches/rt-3.3/etc/schema.SQLite
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.15
-   A /rt/branches/rt-3.3/etc/upgrade/3.1.15/content
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditScrip
-   M /rt/branches/rt-3.3/html/Admin/Elements/SelectStage
-   M /rt/branches/rt-3.3/html/Elements/Callback
-   M /rt/branches/rt-3.3/html/Elements/MessageBox
-   M /rt/branches/rt-3.3/html/Elements/SelectLang
-   M /rt/branches/rt-3.3/html/Elements/SelectMatch
-   M /rt/branches/rt-3.3/html/Elements/SelectWatcherType
-   M /rt/branches/rt-3.3/html/Elements/SetupSessionCookie
-   M /rt/branches/rt-3.3/html/Elements/SimpleSearch
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/default
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/history
-   M /rt/branches/rt-3.3/html/REST/1.0/autohandler
-   M /rt/branches/rt-3.3/html/REST/1.0/dhandler
-   M /rt/branches/rt-3.3/html/REST/1.0/search/ticket
-   M /rt/branches/rt-3.3/html/Scope/Elements/ShowHistory
-   M /rt/branches/rt-3.3/html/Scope/Elements/ShowTransaction
-   M /rt/branches/rt-3.3/html/Search/Elements/PickRestriction
-   M /rt/branches/rt-3.3/html/SelfService/Elements/MyRequests
-   M /rt/branches/rt-3.3/html/Ticket/Attachment/dhandler
-   M /rt/branches/rt-3.3/html/Ticket/Display.html
-   M /rt/branches/rt-3.3/html/Ticket/Elements/FindAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowHistory
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowMessageStanza
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowRequestor
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/rt-3.3/html/Ticket/Elements/Tabs
-   M /rt/branches/rt-3.3/html/index.html
-   M /rt/branches/rt-3.3/lib/RT/Action/AutoOpen.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Attachments_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Base.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/EmailParser.pm
-   M /rt/branches/rt-3.3/lib/RT/Group_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Handle.pm
-   M /rt/branches/rt-3.3/lib/RT/I18N/fi.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/fr.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_cn.po
-   M /rt/branches/rt-3.3/lib/RT/I18N/zh_tw.po
-   M /rt/branches/rt-3.3/lib/RT/I18N.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Email/Auth/MailFrom.pm
-   M /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   M /rt/branches/rt-3.3/lib/RT/Principal_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Queue_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/StyleGuide.pod
-   M /rt/branches/rt-3.3/lib/RT/Template_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Tickets_Overlay_SQL.pm
-   M /rt/branches/rt-3.3/lib/RT/Transaction_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Transactions_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/URI.pm
-   M /rt/branches/rt-3.3/lib/RT/User_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Users_Overlay.pm
-   M /rt/branches/rt-3.3/lib/t/03web.pl.in
-   M /rt/branches/rt-3.3/lib/t/04_send_email.pl.in
-   M /rt/branches/rt-3.3/sbin/license_tag
-   M /rt/branches/rt-3.3/sbin/rt-test-dependencies.in
-
-MERGE: 3.1 to 3.3
-------------------------------------------------------------------------
-r659 | jesse | 2004-04-01 21:23:57 -0500 (Thu, 01 Apr 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3/releng.cnf
-
-Updated releng.cnf
-------------------------------------------------------------------------
-r656 | jesse | 2004-04-01 16:54:22 -0500 (Thu, 01 Apr 2004) | 2 lines
-Changed paths:
-   M /rt/branches/rt-3.3/html/Admin/CustomFields/Objects.html
-   M /rt/branches/rt-3.3/html/Admin/CustomFields/index.html
-   M /rt/branches/rt-3.3/html/Admin/Elements/EditCustomFields
-   M /rt/branches/rt-3.3/html/Admin/Elements/PickCustomFields
-   M /rt/branches/rt-3.3/html/Admin/Elements/PickObjects
-   M /rt/branches/rt-3.3/html/Admin/Elements/QueueTabs
-
-UI updates to remove unneeded options and clarify some language
-
-------------------------------------------------------------------------
-r655 | jesse | 2004-04-01 16:53:29 -0500 (Thu, 01 Apr 2004) | 3 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/CustomField_Overlay.pm
-
-Updated how RT generates friendly name for which object a Custom Field applies to
-
-
-------------------------------------------------------------------------
-r654 | jesse | 2004-04-01 16:52:31 -0500 (Thu, 01 Apr 2004) | 1 line
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/Transactions_Overlay.pm
-
-Added support for RT 3.0 compatible Transactions->Limit
-------------------------------------------------------------------------
-r653 | autrijus | 2004-04-01 11:37:33 -0500 (Thu, 01 Apr 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/html/Admin/Elements/QueueTabs
-
-r3597@not:  autrijus | 2004-04-01T16:36:37.019460Z
-
-* put global Cf editing back.
-
-------------------------------------------------------------------------
-r648 | autrijus | 2004-03-31 11:12:04 -0500 (Wed, 31 Mar 2004) | 4 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/I18N.pm
-
-r3556@not:  autrijus | 2004-03-31T16:11:11.225511Z
-
-* lexicon path may contain spaces, esp. on win32.
-
-------------------------------------------------------------------------
-r645 | autrijus | 2004-03-31 01:20:10 -0500 (Wed, 31 Mar 2004) | 5 lines
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/etc/schema.Informix
-   M /rt/branches/rt-3.3/etc/schema.Oracle
-   M /rt/branches/rt-3.3/etc/schema.Pg
-   M /rt/branches/rt-3.3/etc/schema.SQLite
-   M /rt/branches/rt-3.3/etc/schema.mysql
-
-r3541@not:  autrijus | 2004-03-31T06:19:36.740253Z
-
-* port mysql schema to Pg.
-* other database are partially ported -- OCF and OCFV currently not there
-
-------------------------------------------------------------------------
-r643 | autrijus | 2004-03-31 00:16:07 -0500 (Wed, 31 Mar 2004) | 1 line
-Changed paths:
-   M /rt
-   M /rt/branches/rt-3.3/lib/RT/CustomFields_Overlay.pm
-
-hint to self: don't refactor when you're tired.
-------------------------------------------------------------------------
-r612 | autrijus | 2004-03-22 13:46:04 -0500 (Mon, 22 Mar 2004) | 2 lines
-Changed paths:
-   D /rt/branches/rt-3.3/html/Admin/Global/CustomField.html
-   D /rt/branches/rt-3.3/html/Admin/Global/CustomFields.html
-
-* remove unused "Global" CF admin pages.
-
-------------------------------------------------------------------------
-r611 | autrijus | 2004-03-20 10:40:58 -0500 (Sat, 20 Mar 2004) | 7 lines
-Changed paths:
-   M /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-   M /rt/branches/rt-3.3/lib/RT/CustomField_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/User_Overlay.pm
-
-* merge Jesse's $RT::SystemUser->LanguageHandle fix; corrected a
-  bug caused by it in setup database stage where there's no SystemUser.
-* fixed two tests in RT::CustomField that incorrectly expected old-style
-  ->Type return values; they now test ->Type and ->MaxValues separately.
-* change some ok() tests into is() and like() tests.
-
-
-------------------------------------------------------------------------
-r597 | autrijus | 2004-03-17 13:12:25 -0500 (Wed, 17 Mar 2004) | 2 lines
-Changed paths:
-   M /rt/branches
-   A /rt/branches/rt-3.3/html/Developer
-   A /rt/branches/rt-3.3/html/Developer/Log.html
-   A /rt/branches/rt-3.3/html/Developer/Perldoc.html
-   A /rt/branches/rt-3.3/html/Developer/autohandler
-
-* Developer tools.
-
-------------------------------------------------------------------------
-r585 | autrijus | 2004-03-16 14:22:32 -0500 (Tue, 16 Mar 2004) | 3 lines
-Changed paths:
-   M /rt/branches
-   M /rt/branches/rt-3.3/bin/webmux.pl.in
-   M /rt/branches/rt-3.3/etc/acl.mysql
-   M /rt/branches/rt-3.3/lib/RT.pm.in
-
-* move class loading to RT::InitClasses.
-* do not do acl if mysql is in skip-grant-tables mode.
-
-------------------------------------------------------------------------
-r584 | autrijus | 2004-03-16 14:07:50 -0500 (Tue, 16 Mar 2004) | 3 lines
-Changed paths:
-   M /rt/branches
-   M /rt/branches/rt-3.3/Makefile.in
-   M /rt/branches/rt-3.3/etc/RT_Config.pm.in
-
-* it is possible that the DESTDIR is the current directory.
-* also, hint on how to use MasonX::Profiler more concisely.
-
-------------------------------------------------------------------------
-r571 | autrijus | 2004-03-15 10:22:17 -0500 (Mon, 15 Mar 2004) | 2 lines
-Changed paths:
-   M /rt/branches
-   M /rt/branches/rt-3.3/html/User/Prefs.html
-
-* backport lang handle setting from -elixus
-
-------------------------------------------------------------------------
-r560 | autrijus | 2004-03-12 21:44:05 -0500 (Fri, 12 Mar 2004) | 2 lines
-Changed paths:
-   M /rt/branches
-   M /rt/branches/rt-3.3/README
-   M /rt/branches/rt-3.3/bin/rt-mailgate.in
-   M /rt/branches/rt-3.3/bin/rt.in
-   M /rt/branches/rt-3.3/etc/RT_Config.pm.in
-   M /rt/branches/rt-3.3/etc/schema.Oracle
-   M /rt/branches/rt-3.3/html/Admin/Users/Modify.html
-   M /rt/branches/rt-3.3/html/Elements/Footer
-   M /rt/branches/rt-3.3/html/Elements/Header
-   M /rt/branches/rt-3.3/html/Elements/Login
-   M /rt/branches/rt-3.3/html/Elements/SelectQueue
-   M /rt/branches/rt-3.3/html/Elements/TicketList
-   M /rt/branches/rt-3.3/html/NoAuth/webrt.css
-   M /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/attachments
-   M /rt/branches/rt-3.3/html/REST/1.0/ticket/comment
-   M /rt/branches/rt-3.3/html/Search/Build.html
-   M /rt/branches/rt-3.3/html/Search/Elements/BuildFormatString
-   M /rt/branches/rt-3.3/html/Search/Elements/PickBasics
-   M /rt/branches/rt-3.3/html/Search/Elements/PickRestriction
-   M /rt/branches/rt-3.3/html/Search/Results.html
-   M /rt/branches/rt-3.3/html/Search/Results.rdf
-   M /rt/branches/rt-3.3/html/Ticket/Display.html
-   A /rt/branches/rt-3.3/html/Ticket/Elements/FindAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/PreviewScrips
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowAttachments
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowHistory
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowSummary
-   M /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransaction
-   M /rt/branches/rt-3.3/html/Ticket/Elements/Tabs
-   M /rt/branches/rt-3.3/html/Ticket/History.html
-   M /rt/branches/rt-3.3/html/autohandler
-   M /rt/branches/rt-3.3/lib/RT/Action/Autoreply.pm
-   M /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   M /rt/branches/rt-3.3/lib/RT/Condition/OwnerChange.pm
-   M /rt/branches/rt-3.3/lib/RT/Handle.pm
-   M /rt/branches/rt-3.3/lib/RT/Link_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/Record.pm
-   M /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   M /rt/branches/rt-3.3/lib/RT/URI/fsck_com_rt.pm
-   M /rt/branches/rt-3.3/lib/RT/User_Overlay.pm
-   M /rt/branches/rt-3.3/releng.cnf
-
-* smerge rt-3.1 to rt-3.3.
-
-------------------------------------------------------------------------
-r559 | autrijus | 2004-03-12 21:22:26 -0500 (Fri, 12 Mar 2004) | 2 lines
-Changed paths:
-   M /rt/branches
-   D /rt/branches/autrijus-3.1
-   A /rt/branches/rt-3.3
-   A /rt/branches/rt-3.3/COPYING
-   A /rt/branches/rt-3.3/HOWTO
-   A /rt/branches/rt-3.3/HOWTO/README
-   A /rt/branches/rt-3.3/HOWTO/change.txt
-   A /rt/branches/rt-3.3/HOWTO/release.txt
-   A /rt/branches/rt-3.3/HOWTO/version-control.txt
-   A /rt/branches/rt-3.3/Makefile.in
-   A /rt/branches/rt-3.3/README
-   A /rt/branches/rt-3.3/UPGRADING
-   A /rt/branches/rt-3.3/aclocal.m4
-   A /rt/branches/rt-3.3/bin
-   A /rt/branches/rt-3.3/bin/mason_handler.fcgi.in
-   A /rt/branches/rt-3.3/bin/mason_handler.scgi.in
-   A /rt/branches/rt-3.3/bin/mason_handler.svc.in
-   A /rt/branches/rt-3.3/bin/rt-commit-handler.in
-   A /rt/branches/rt-3.3/bin/rt-crontool.in
-   A /rt/branches/rt-3.3/bin/rt-mailgate.in
-   A /rt/branches/rt-3.3/bin/rt.in
-   A /rt/branches/rt-3.3/bin/standalone_httpd.in
-   A /rt/branches/rt-3.3/bin/webmux.pl.in
-   A /rt/branches/rt-3.3/config.layout
-   A /rt/branches/rt-3.3/configure.ac
-   A /rt/branches/rt-3.3/docs
-   A /rt/branches/rt-3.3/docs/README.docs
-   A /rt/branches/rt-3.3/docs/Security
-   A /rt/branches/rt-3.3/docs/design_docs
-   A /rt/branches/rt-3.3/docs/design_docs/CARS
-   A /rt/branches/rt-3.3/docs/design_docs/TransactionTypes.txt
-   A /rt/branches/rt-3.3/docs/design_docs/acls
-   A /rt/branches/rt-3.3/docs/design_docs/approval_notices
-   A /rt/branches/rt-3.3/docs/design_docs/approval_template
-   A /rt/branches/rt-3.3/docs/design_docs/cf_search
-   A /rt/branches/rt-3.3/docs/design_docs/cli_spec
-   A /rt/branches/rt-3.3/docs/design_docs/cvs_integration
-   A /rt/branches/rt-3.3/docs/design_docs/delegation
-   A /rt/branches/rt-3.3/docs/design_docs/evil_plans
-   A /rt/branches/rt-3.3/docs/design_docs/groups_notes
-   A /rt/branches/rt-3.3/docs/design_docs/link-definitions.txt
-   A /rt/branches/rt-3.3/docs/design_docs/recursive_group_membership_algorithm
-   A /rt/branches/rt-3.3/docs/design_docs/rql_parser_machine.graphviz
-   A /rt/branches/rt-3.3/docs/design_docs/string-extraction-guide.txt
-   A /rt/branches/rt-3.3/docs/design_docs/subscription-definitions.txt
-   A /rt/branches/rt-3.3/docs/design_docs/ticket_templates
-   A /rt/branches/rt-3.3/docs/design_docs/users
-   A /rt/branches/rt-3.3/docs/rt3-schema-relationships.dot
-   A /rt/branches/rt-3.3/etc
-   A /rt/branches/rt-3.3/etc/RT_Config.pm.in
-   A /rt/branches/rt-3.3/etc/RT_SiteConfig.pm
-   A /rt/branches/rt-3.3/etc/acl.Informix
-   A /rt/branches/rt-3.3/etc/acl.Oracle
-   A /rt/branches/rt-3.3/etc/acl.Pg
-   A /rt/branches/rt-3.3/etc/acl.mysql
-   A /rt/branches/rt-3.3/etc/constraints.mysql
-   A /rt/branches/rt-3.3/etc/drop.Informix
-   A /rt/branches/rt-3.3/etc/drop.Oracle
-   A /rt/branches/rt-3.3/etc/initialdata
-   A /rt/branches/rt-3.3/etc/rt.spec
-   A /rt/branches/rt-3.3/etc/schema.Informix
-   A /rt/branches/rt-3.3/etc/schema.Oracle
-   A /rt/branches/rt-3.3/etc/schema.Pg
-   A /rt/branches/rt-3.3/etc/schema.SQLite
-   A /rt/branches/rt-3.3/etc/schema.mysql
-   A /rt/branches/rt-3.3/etc/upgrade
-   A /rt/branches/rt-3.3/etc/upgrade/2.1.71
-   A /rt/branches/rt-3.3/html
-   A /rt/branches/rt-3.3/html/Admin
-   A /rt/branches/rt-3.3/html/Admin/CustomFields
-   A /rt/branches/rt-3.3/html/Admin/CustomFields/GroupRights.html
-   A /rt/branches/rt-3.3/html/Admin/CustomFields/Modify.html
-   A /rt/branches/rt-3.3/html/Admin/CustomFields/Objects.html
-   A /rt/branches/rt-3.3/html/Admin/CustomFields/UserRights.html
-   A /rt/branches/rt-3.3/html/Admin/CustomFields/index.html
-   A /rt/branches/rt-3.3/html/Admin/Elements
-   A /rt/branches/rt-3.3/html/Admin/Elements/AddCustomFieldValue
-   A /rt/branches/rt-3.3/html/Admin/Elements/CreateUserCalled
-   A /rt/branches/rt-3.3/html/Admin/Elements/CustomFieldTabs
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditCustomField
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditCustomFieldValues
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditCustomFields
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditQueueWatchers
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditScrip
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditScrips
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditTemplates
-   A /rt/branches/rt-3.3/html/Admin/Elements/EditUserComments
-   A /rt/branches/rt-3.3/html/Admin/Elements/GroupTabs
-   A /rt/branches/rt-3.3/html/Admin/Elements/Header
-   A /rt/branches/rt-3.3/html/Admin/Elements/ListGlobalCustomFields
-   A /rt/branches/rt-3.3/html/Admin/Elements/ListGlobalScrips
-   A /rt/branches/rt-3.3/html/Admin/Elements/ModifyQueue
-   A /rt/branches/rt-3.3/html/Admin/Elements/ModifyTemplate
-   A /rt/branches/rt-3.3/html/Admin/Elements/ModifyUser
-   A /rt/branches/rt-3.3/html/Admin/Elements/ObjectCustomFields
-   A /rt/branches/rt-3.3/html/Admin/Elements/PickCustomFields
-   A /rt/branches/rt-3.3/html/Admin/Elements/PickObjects
-   A /rt/branches/rt-3.3/html/Admin/Elements/QueueRightsForUser
-   A /rt/branches/rt-3.3/html/Admin/Elements/QueueTabs
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectCustomFieldLookupType
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectCustomFieldType
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectGroups
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectModifyGroup
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectModifyQueue
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectModifyUser
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectNewGroupMembers
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectRights
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectScrip
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectScripAction
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectScripCondition
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectSingleOrMultiple
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectStage
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectTemplate
-   A /rt/branches/rt-3.3/html/Admin/Elements/SelectUsers
-   A /rt/branches/rt-3.3/html/Admin/Elements/SystemTabs
-   A /rt/branches/rt-3.3/html/Admin/Elements/Tabs
-   A /rt/branches/rt-3.3/html/Admin/Elements/UserTabs
-   A /rt/branches/rt-3.3/html/Admin/Global
-   A /rt/branches/rt-3.3/html/Admin/Global/CustomField.html
-   A /rt/branches/rt-3.3/html/Admin/Global/CustomFields.html
-   A /rt/branches/rt-3.3/html/Admin/Global/GroupRights.html
-   A /rt/branches/rt-3.3/html/Admin/Global/Scrip.html
-   A /rt/branches/rt-3.3/html/Admin/Global/Scrips.html
-   A /rt/branches/rt-3.3/html/Admin/Global/Template.html
-   A /rt/branches/rt-3.3/html/Admin/Global/Templates.html
-   A /rt/branches/rt-3.3/html/Admin/Global/UserRights.html
-   A /rt/branches/rt-3.3/html/Admin/Global/index.html
-   A /rt/branches/rt-3.3/html/Admin/Groups
-   A /rt/branches/rt-3.3/html/Admin/Groups/CustomFields.html
-   A /rt/branches/rt-3.3/html/Admin/Groups/GroupRights.html
-   A /rt/branches/rt-3.3/html/Admin/Groups/History.html
-   A /rt/branches/rt-3.3/html/Admin/Groups/Members.html
-   A /rt/branches/rt-3.3/html/Admin/Groups/Modify.html
-   A /rt/branches/rt-3.3/html/Admin/Groups/UserRights.html
-   A /rt/branches/rt-3.3/html/Admin/Groups/index.html
-   A /rt/branches/rt-3.3/html/Admin/Queues
-   A /rt/branches/rt-3.3/html/Admin/Queues/CustomField.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/CustomFields.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/GroupRights.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/Modify.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/People.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/Scrip.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/Scrips.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/Template.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/Templates.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/UserRights.html
-   A /rt/branches/rt-3.3/html/Admin/Queues/index.html
-   A /rt/branches/rt-3.3/html/Admin/Users
-   A /rt/branches/rt-3.3/html/Admin/Users/CustomFields.html
-   A /rt/branches/rt-3.3/html/Admin/Users/History.html
-   A /rt/branches/rt-3.3/html/Admin/Users/Memberships.html
-   A /rt/branches/rt-3.3/html/Admin/Users/Modify.html
-   A /rt/branches/rt-3.3/html/Admin/Users/Prefs.html
-   A /rt/branches/rt-3.3/html/Admin/Users/index.html
-   A /rt/branches/rt-3.3/html/Admin/index.html
-   A /rt/branches/rt-3.3/html/Approvals
-   A /rt/branches/rt-3.3/html/Approvals/Display.html
-   A /rt/branches/rt-3.3/html/Approvals/Elements
-   A /rt/branches/rt-3.3/html/Approvals/Elements/Approve
-   A /rt/branches/rt-3.3/html/Approvals/Elements/PendingMyApproval
-   A /rt/branches/rt-3.3/html/Approvals/Elements/ShowDependency
-   A /rt/branches/rt-3.3/html/Approvals/Elements/Tabs
-   A /rt/branches/rt-3.3/html/Approvals/index.html
-   A /rt/branches/rt-3.3/html/Download
-   A /rt/branches/rt-3.3/html/Download/CustomFieldValue
-   A /rt/branches/rt-3.3/html/Download/CustomFieldValue/dhandler
-   A /rt/branches/rt-3.3/html/Download/Tabular
-   A /rt/branches/rt-3.3/html/Download/Tabular/dhandler
-   A /rt/branches/rt-3.3/html/Elements
-   A /rt/branches/rt-3.3/html/Elements/BevelBoxRaisedEnd
-   A /rt/branches/rt-3.3/html/Elements/BevelBoxRaisedStart
-   A /rt/branches/rt-3.3/html/Elements/Callback
-   A /rt/branches/rt-3.3/html/Elements/Checkbox
-   A /rt/branches/rt-3.3/html/Elements/CreateTicket
-   A /rt/branches/rt-3.3/html/Elements/EditCustomField
-   A /rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary
-   A /rt/branches/rt-3.3/html/Elements/EditCustomFieldFreeform
-   A /rt/branches/rt-3.3/html/Elements/EditCustomFieldImage
-   A /rt/branches/rt-3.3/html/Elements/EditCustomFieldSelect
-   A /rt/branches/rt-3.3/html/Elements/EditCustomFieldText
-   A /rt/branches/rt-3.3/html/Elements/Error
-   A /rt/branches/rt-3.3/html/Elements/Footer
-   A /rt/branches/rt-3.3/html/Elements/GotoTicket
-   A /rt/branches/rt-3.3/html/Elements/Header
-   A /rt/branches/rt-3.3/html/Elements/ListActions
-   A /rt/branches/rt-3.3/html/Elements/Login
-   A /rt/branches/rt-3.3/html/Elements/Menu
-   A /rt/branches/rt-3.3/html/Elements/MessageBox
-   A /rt/branches/rt-3.3/html/Elements/MyRequests
-   A /rt/branches/rt-3.3/html/Elements/MyTickets
-   A /rt/branches/rt-3.3/html/Elements/PageLayout
-   A /rt/branches/rt-3.3/html/Elements/QuickCreate
-   A /rt/branches/rt-3.3/html/Elements/Quicksearch
-   A /rt/branches/rt-3.3/html/Elements/Refresh
-   A /rt/branches/rt-3.3/html/Elements/Section
-   A /rt/branches/rt-3.3/html/Elements/SelectAttachmentField
-   A /rt/branches/rt-3.3/html/Elements/SelectBoolean
-   A /rt/branches/rt-3.3/html/Elements/SelectCustomFieldOperator
-   A /rt/branches/rt-3.3/html/Elements/SelectCustomFieldValue
-   A /rt/branches/rt-3.3/html/Elements/SelectDate
-   A /rt/branches/rt-3.3/html/Elements/SelectDateRelation
-   A /rt/branches/rt-3.3/html/Elements/SelectDateType
-   A /rt/branches/rt-3.3/html/Elements/SelectEqualityOperator
-   A /rt/branches/rt-3.3/html/Elements/SelectGroups
-   A /rt/branches/rt-3.3/html/Elements/SelectLang
-   A /rt/branches/rt-3.3/html/Elements/SelectLinkType
-   A /rt/branches/rt-3.3/html/Elements/SelectMatch
-   A /rt/branches/rt-3.3/html/Elements/SelectNewTicketQueue
-   A /rt/branches/rt-3.3/html/Elements/SelectOwner
-   A /rt/branches/rt-3.3/html/Elements/SelectQueue
-   A /rt/branches/rt-3.3/html/Elements/SelectResultsPerPage
-   A /rt/branches/rt-3.3/html/Elements/SelectSortOrder
-   A /rt/branches/rt-3.3/html/Elements/SelectStatus
-   A /rt/branches/rt-3.3/html/Elements/SelectTicketSortBy
-   A /rt/branches/rt-3.3/html/Elements/SelectTicketTypes
-   A /rt/branches/rt-3.3/html/Elements/SelectUsers
-   A /rt/branches/rt-3.3/html/Elements/SelectWatcherType
-   A /rt/branches/rt-3.3/html/Elements/SetupSessionCookie
-   A /rt/branches/rt-3.3/html/Elements/ShadedBox
-   A /rt/branches/rt-3.3/html/Elements/ShadedInputRow
-   A /rt/branches/rt-3.3/html/Elements/ShadedRow
-   A /rt/branches/rt-3.3/html/Elements/ShowCustomFields
-   A /rt/branches/rt-3.3/html/Elements/ShowMemberships
-   A /rt/branches/rt-3.3/html/Elements/SimpleSearch
-   A /rt/branches/rt-3.3/html/Elements/Submit
-   A /rt/branches/rt-3.3/html/Elements/Tabs
-   A /rt/branches/rt-3.3/html/Elements/TicketList
-   A /rt/branches/rt-3.3/html/Elements/TitleBox
-   A /rt/branches/rt-3.3/html/Elements/TitleBoxEnd
-   A /rt/branches/rt-3.3/html/Elements/TitleBoxStart
-   A /rt/branches/rt-3.3/html/Elements/ViewUser
-   A /rt/branches/rt-3.3/html/NoAuth
-   A /rt/branches/rt-3.3/html/NoAuth/Logout.html
-   A /rt/branches/rt-3.3/html/NoAuth/Reminder.html
-   A /rt/branches/rt-3.3/html/NoAuth/images
-   A /rt/branches/rt-3.3/html/NoAuth/images/back_home.gif
-   A /rt/branches/rt-3.3/html/NoAuth/images/bplogo.gif
-   A /rt/branches/rt-3.3/html/NoAuth/images/favicon.png
-   A /rt/branches/rt-3.3/html/NoAuth/images/head_requestracker.gif
-   A /rt/branches/rt-3.3/html/NoAuth/images/rt.jpg
-   A /rt/branches/rt-3.3/html/NoAuth/images/space.gif
-   A /rt/branches/rt-3.3/html/NoAuth/images/spacer.gif
-   A /rt/branches/rt-3.3/html/NoAuth/images/squares_blue.gif
-   A /rt/branches/rt-3.3/html/NoAuth/webrt.css
-   A /rt/branches/rt-3.3/html/Projects
-   A /rt/branches/rt-3.3/html/Projects/Create.html
-   A /rt/branches/rt-3.3/html/Projects/Edit.html
-   A /rt/branches/rt-3.3/html/Projects/Elements
-   A /rt/branches/rt-3.3/html/Projects/Elements/CreateTask
-   A /rt/branches/rt-3.3/html/Projects/Elements/EditTask
-   A /rt/branches/rt-3.3/html/Projects/Elements/OverviewEntry
-   A /rt/branches/rt-3.3/html/Projects/Elements/SelectProjectTask
-   A /rt/branches/rt-3.3/html/Projects/Elements/SelectProjectTaskEntry
-   A /rt/branches/rt-3.3/html/Projects/Elements/Tabs
-   A /rt/branches/rt-3.3/html/Projects/Elements/TicketTabs
-   A /rt/branches/rt-3.3/html/Projects/Gantt.html
-   A /rt/branches/rt-3.3/html/Projects/History.html
-   A /rt/branches/rt-3.3/html/Projects/Overview.html
-   A /rt/branches/rt-3.3/html/Projects/Schedule.html
-   A /rt/branches/rt-3.3/html/Projects/ScheduleByActor.html
-   A /rt/branches/rt-3.3/html/Projects/index.html
-   A /rt/branches/rt-3.3/html/REST
-   A /rt/branches/rt-3.3/html/REST/1.0
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/queue
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/queue/default
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/queue/ns
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/attachments
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/default
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/history
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/ticket/links
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/user
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/user/default
-   A /rt/branches/rt-3.3/html/REST/1.0/Forms/user/ns
-   A /rt/branches/rt-3.3/html/REST/1.0/NoAuth
-   A /rt/branches/rt-3.3/html/REST/1.0/NoAuth/mail-gateway
-   A /rt/branches/rt-3.3/html/REST/1.0/autohandler
-   A /rt/branches/rt-3.3/html/REST/1.0/dhandler
-   A /rt/branches/rt-3.3/html/REST/1.0/logout
-   A /rt/branches/rt-3.3/html/REST/1.0/search
-   A /rt/branches/rt-3.3/html/REST/1.0/search/dhandler
-   A /rt/branches/rt-3.3/html/REST/1.0/search/ticket
-   A /rt/branches/rt-3.3/html/REST/1.0/ticket
-   A /rt/branches/rt-3.3/html/REST/1.0/ticket/comment
-   A /rt/branches/rt-3.3/html/REST/1.0/ticket/link
-   A /rt/branches/rt-3.3/html/REST/1.0/ticket/merge
-   A /rt/branches/rt-3.3/html/Scope
-   A /rt/branches/rt-3.3/html/Scope/Action.html
-   A /rt/branches/rt-3.3/html/Scope/Elements
-   A /rt/branches/rt-3.3/html/Scope/Elements/Header
-   A /rt/branches/rt-3.3/html/Scope/Elements/MessageBox
-   A /rt/branches/rt-3.3/html/Scope/Elements/ShowHistory
-   A /rt/branches/rt-3.3/html/Scope/Elements/ShowHistoryView
-   A /rt/branches/rt-3.3/html/Scope/Elements/ShowMessageHeaders
-   A /rt/branches/rt-3.3/html/Scope/Elements/ShowMessageStanza
-   A /rt/branches/rt-3.3/html/Scope/Elements/ShowSummary
-   A /rt/branches/rt-3.3/html/Scope/Elements/ShowTransaction
-   A /rt/branches/rt-3.3/html/Scope/History.html
-   A /rt/branches/rt-3.3/html/Scope/Search.html
-   A /rt/branches/rt-3.3/html/Scope/Update.html
-   A /rt/branches/rt-3.3/html/Scope/View.html
-   A /rt/branches/rt-3.3/html/Scope/Work.html
-   A /rt/branches/rt-3.3/html/Scope/index.html
-   A /rt/branches/rt-3.3/html/Search
-   A /rt/branches/rt-3.3/html/Search/Build.html
-   A /rt/branches/rt-3.3/html/Search/Bulk.html
-   A /rt/branches/rt-3.3/html/Search/Edit.html
-   A /rt/branches/rt-3.3/html/Search/Elements
-   A /rt/branches/rt-3.3/html/Search/Elements/BuildFormatString
-   A /rt/branches/rt-3.3/html/Search/Elements/DisplayOptions
-   A /rt/branches/rt-3.3/html/Search/Elements/EditFormat
-   A /rt/branches/rt-3.3/html/Search/Elements/EditSearches
-   A /rt/branches/rt-3.3/html/Search/Elements/NewListActions
-   A /rt/branches/rt-3.3/html/Search/Elements/PickBasics
-   A /rt/branches/rt-3.3/html/Search/Elements/PickCFs
-   A /rt/branches/rt-3.3/html/Search/Elements/PickCriteria
-   A /rt/branches/rt-3.3/html/Search/Elements/PickRestriction
-   A /rt/branches/rt-3.3/html/Search/Elements/SearchPrivacy
-   A /rt/branches/rt-3.3/html/Search/Elements/SelectAndOr
-   A /rt/branches/rt-3.3/html/Search/Elements/SelectGroup
-   A /rt/branches/rt-3.3/html/Search/Elements/SelectLinks
-   A /rt/branches/rt-3.3/html/Search/Elements/SelectPersonType
-   A /rt/branches/rt-3.3/html/Search/Elements/SelectSearchObject
-   A /rt/branches/rt-3.3/html/Search/Elements/SelectSearchesForObjects
-   A /rt/branches/rt-3.3/html/Search/Elements/TicketHeader
-   A /rt/branches/rt-3.3/html/Search/Elements/TicketHeaderCell
-   A /rt/branches/rt-3.3/html/Search/Elements/TicketRow
-   A /rt/branches/rt-3.3/html/Search/Listing.html
-   A /rt/branches/rt-3.3/html/Search/Results.html
-   A /rt/branches/rt-3.3/html/Search/Results.rdf
-   A /rt/branches/rt-3.3/html/Search/Results.tsv
-   A /rt/branches/rt-3.3/html/SelfService
-   A /rt/branches/rt-3.3/html/SelfService/Attachment
-   A /rt/branches/rt-3.3/html/SelfService/Attachment/dhandler
-   A /rt/branches/rt-3.3/html/SelfService/Closed.html
-   A /rt/branches/rt-3.3/html/SelfService/Create.html
-   A /rt/branches/rt-3.3/html/SelfService/Display.html
-   A /rt/branches/rt-3.3/html/SelfService/Elements
-   A /rt/branches/rt-3.3/html/SelfService/Elements/GotoTicket
-   A /rt/branches/rt-3.3/html/SelfService/Elements/Header
-   A /rt/branches/rt-3.3/html/SelfService/Elements/MyRequests
-   A /rt/branches/rt-3.3/html/SelfService/Elements/Tabs
-   A /rt/branches/rt-3.3/html/SelfService/Error.html
-   A /rt/branches/rt-3.3/html/SelfService/Prefs.html
-   A /rt/branches/rt-3.3/html/SelfService/Update.html
-   A /rt/branches/rt-3.3/html/SelfService/index.html
-   A /rt/branches/rt-3.3/html/Ticket
-   A /rt/branches/rt-3.3/html/Ticket/Attachment
-   A /rt/branches/rt-3.3/html/Ticket/Attachment/dhandler
-   A /rt/branches/rt-3.3/html/Ticket/Create.html
-   A /rt/branches/rt-3.3/html/Ticket/Display.html
-   A /rt/branches/rt-3.3/html/Ticket/Elements
-   A /rt/branches/rt-3.3/html/Ticket/Elements/AddWatchers
-   A /rt/branches/rt-3.3/html/Ticket/Elements/BulkLinks
-   A /rt/branches/rt-3.3/html/Ticket/Elements/EditBasics
-   A /rt/branches/rt-3.3/html/Ticket/Elements/EditCustomField
-   A /rt/branches/rt-3.3/html/Ticket/Elements/EditCustomFields
-   A /rt/branches/rt-3.3/html/Ticket/Elements/EditDates
-   A /rt/branches/rt-3.3/html/Ticket/Elements/EditLinks
-   A /rt/branches/rt-3.3/html/Ticket/Elements/EditPeople
-   A /rt/branches/rt-3.3/html/Ticket/Elements/EditWatchers
-   A /rt/branches/rt-3.3/html/Ticket/Elements/PreviewScrips
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowAttachments
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowBasics
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowCustomFields
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowDates
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowDependencies
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowHistory
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowLink
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowLinks
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowMemberOf
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowMembers
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowMessageHeaders
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowMessageStanza
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowPeople
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowReferences
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowRequestor
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowSummary
-   A /rt/branches/rt-3.3/html/Ticket/Elements/ShowTransaction
-   A /rt/branches/rt-3.3/html/Ticket/Elements/Tabs
-   A /rt/branches/rt-3.3/html/Ticket/History.html
-   A /rt/branches/rt-3.3/html/Ticket/Modify.html
-   A /rt/branches/rt-3.3/html/Ticket/ModifyAll.html
-   A /rt/branches/rt-3.3/html/Ticket/ModifyDates.html
-   A /rt/branches/rt-3.3/html/Ticket/ModifyLinks.html
-   A /rt/branches/rt-3.3/html/Ticket/ModifyPeople.html
-   A /rt/branches/rt-3.3/html/Ticket/Update.html
-   A /rt/branches/rt-3.3/html/Tools
-   A /rt/branches/rt-3.3/html/Tools/MyDay.html
-   A /rt/branches/rt-3.3/html/User
-   A /rt/branches/rt-3.3/html/User/Delegation.html
-   A /rt/branches/rt-3.3/html/User/Elements
-   A /rt/branches/rt-3.3/html/User/Elements/DelegateRights
-   A /rt/branches/rt-3.3/html/User/Elements/GroupTabs
-   A /rt/branches/rt-3.3/html/User/Elements/Tabs
-   A /rt/branches/rt-3.3/html/User/Groups
-   A /rt/branches/rt-3.3/html/User/Groups/Members.html
-   A /rt/branches/rt-3.3/html/User/Groups/Modify.html
-   A /rt/branches/rt-3.3/html/User/Groups/index.html
-   A /rt/branches/rt-3.3/html/User/Prefs.html
-   A /rt/branches/rt-3.3/html/autohandler
-   A /rt/branches/rt-3.3/html/index.html
-   A /rt/branches/rt-3.3/html/l
-   A /rt/branches/rt-3.3/install-sh
-   A /rt/branches/rt-3.3/lib
-   A /rt/branches/rt-3.3/lib/RT
-   A /rt/branches/rt-3.3/lib/RT/ACE.pm
-   A /rt/branches/rt-3.3/lib/RT/ACE_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ACL.pm
-   A /rt/branches/rt-3.3/lib/RT/ACL_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Action
-   A /rt/branches/rt-3.3/lib/RT/Action/AutoOpen.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/Autoreply.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/CreateTickets.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/EscalatePriority.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/Generic.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/Notify.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/NotifyAsComment.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/ResolveMembers.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/SendEmail.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/SetPriority.pm
-   A /rt/branches/rt-3.3/lib/RT/Action/UserDefined.pm
-   A /rt/branches/rt-3.3/lib/RT/Attachment.pm
-   A /rt/branches/rt-3.3/lib/RT/Attachment_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Attachments.pm
-   A /rt/branches/rt-3.3/lib/RT/Attachments_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Attribute.pm
-   A /rt/branches/rt-3.3/lib/RT/Attribute_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Attributes.pm
-   A /rt/branches/rt-3.3/lib/RT/Attributes_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Base.pm
-   A /rt/branches/rt-3.3/lib/RT/CachedGroupMember.pm
-   A /rt/branches/rt-3.3/lib/RT/CachedGroupMember_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/CachedGroupMembers.pm
-   A /rt/branches/rt-3.3/lib/RT/CachedGroupMembers_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition
-   A /rt/branches/rt-3.3/lib/RT/Condition/AnyTransaction.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/BeforeDue.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/Generic.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/Overdue.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/OwnerChange.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/PriorityExceeds.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/QueueChange.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/StatusChange.pm
-   A /rt/branches/rt-3.3/lib/RT/Condition/UserDefined.pm
-   A /rt/branches/rt-3.3/lib/RT/CurrentUser.pm
-   A /rt/branches/rt-3.3/lib/RT/CustomField.pm
-   A /rt/branches/rt-3.3/lib/RT/CustomFieldValue.pm
-   A /rt/branches/rt-3.3/lib/RT/CustomFieldValues.pm
-   A /rt/branches/rt-3.3/lib/RT/CustomFieldValues_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/CustomField_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/CustomFields.pm
-   A /rt/branches/rt-3.3/lib/RT/CustomFields_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Date.pm
-   A /rt/branches/rt-3.3/lib/RT/EmailParser.pm
-   A /rt/branches/rt-3.3/lib/RT/Group.pm
-   A /rt/branches/rt-3.3/lib/RT/GroupMember.pm
-   A /rt/branches/rt-3.3/lib/RT/GroupMember_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/GroupMembers.pm
-   A /rt/branches/rt-3.3/lib/RT/GroupMembers_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Group_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Groups.pm
-   A /rt/branches/rt-3.3/lib/RT/Groups_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Handle.pm
-   A /rt/branches/rt-3.3/lib/RT/I18N
-   A /rt/branches/rt-3.3/lib/RT/I18N/cs.pm
-   A /rt/branches/rt-3.3/lib/RT/I18N/cs.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/de.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/en.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/en_malkovich.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/es.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/fi.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/fr.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/he.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/i_default.pm
-   A /rt/branches/rt-3.3/lib/RT/I18N/it.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/ja.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/nl.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/no.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/pt_br.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/ru.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/zh_cn.po
-   A /rt/branches/rt-3.3/lib/RT/I18N/zh_tw.po
-   A /rt/branches/rt-3.3/lib/RT/I18N.pm
-   A /rt/branches/rt-3.3/lib/RT/Interface
-   A /rt/branches/rt-3.3/lib/RT/Interface/CLI.pm
-   A /rt/branches/rt-3.3/lib/RT/Interface/Email
-   A /rt/branches/rt-3.3/lib/RT/Interface/Email/Auth
-   A /rt/branches/rt-3.3/lib/RT/Interface/Email/Auth/GnuPG.pm
-   A /rt/branches/rt-3.3/lib/RT/Interface/Email/Auth/MailFrom.pm
-   A /rt/branches/rt-3.3/lib/RT/Interface/Email/Filter
-   A /rt/branches/rt-3.3/lib/RT/Interface/Email/Filter/SpamAssassin.pm
-   A /rt/branches/rt-3.3/lib/RT/Interface/Email.pm
-   A /rt/branches/rt-3.3/lib/RT/Interface/REST.pm
-   A /rt/branches/rt-3.3/lib/RT/Interface/Web.pm
-   A /rt/branches/rt-3.3/lib/RT/Link.pm
-   A /rt/branches/rt-3.3/lib/RT/Link_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Links.pm
-   A /rt/branches/rt-3.3/lib/RT/Links_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomField.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValue.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValue_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValues.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomFieldValues_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomField_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomFields.pm
-   A /rt/branches/rt-3.3/lib/RT/ObjectCustomFields_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Principal.pm
-   A /rt/branches/rt-3.3/lib/RT/Principal_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Principals.pm
-   A /rt/branches/rt-3.3/lib/RT/Principals_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Queue.pm
-   A /rt/branches/rt-3.3/lib/RT/Queue_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Queues.pm
-   A /rt/branches/rt-3.3/lib/RT/Queues_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Record.pm
-   A /rt/branches/rt-3.3/lib/RT/Scrip.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripAction.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripAction_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripActions.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripActions_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripCondition.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripCondition_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripConditions.pm
-   A /rt/branches/rt-3.3/lib/RT/ScripConditions_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Scrip_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Scrips.pm
-   A /rt/branches/rt-3.3/lib/RT/Scrips_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Search
-   A /rt/branches/rt-3.3/lib/RT/Search/ActiveTicketsInQueue.pm
-   A /rt/branches/rt-3.3/lib/RT/Search/Generic.pm
-   A /rt/branches/rt-3.3/lib/RT/SearchBuilder.pm
-   A /rt/branches/rt-3.3/lib/RT/StyleGuide.pod
-   A /rt/branches/rt-3.3/lib/RT/System.pm
-   A /rt/branches/rt-3.3/lib/RT/Template.pm
-   A /rt/branches/rt-3.3/lib/RT/Template_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Templates.pm
-   A /rt/branches/rt-3.3/lib/RT/Templates_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Ticket.pm
-   A /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValue.pm
-   A /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValue_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValues.pm
-   A /rt/branches/rt-3.3/lib/RT/TicketCustomFieldValues_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Ticket_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Tickets.pm
-   A /rt/branches/rt-3.3/lib/RT/Tickets_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Tickets_Overlay_SQL.pm
-   A /rt/branches/rt-3.3/lib/RT/Transaction.pm
-   A /rt/branches/rt-3.3/lib/RT/Transaction_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Transactions.pm
-   A /rt/branches/rt-3.3/lib/RT/Transactions_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/URI
-   A /rt/branches/rt-3.3/lib/RT/URI/base.pm
-   A /rt/branches/rt-3.3/lib/RT/URI/fsck_com_rt.pm
-   A /rt/branches/rt-3.3/lib/RT/URI.pm
-   A /rt/branches/rt-3.3/lib/RT/User.pm
-   A /rt/branches/rt-3.3/lib/RT/User_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT/Users.pm
-   A /rt/branches/rt-3.3/lib/RT/Users_Overlay.pm
-   A /rt/branches/rt-3.3/lib/RT.pm.in
-   A /rt/branches/rt-3.3/lib/t
-   A /rt/branches/rt-3.3/lib/t/00smoke.t.in
-   A /rt/branches/rt-3.3/lib/t/01harness.t.in
-   A /rt/branches/rt-3.3/lib/t/02regression.t.in
-   A /rt/branches/rt-3.3/lib/t/03web.pl.in
-   A /rt/branches/rt-3.3/lib/t/04_send_email.pl.in
-   A /rt/branches/rt-3.3/lib/t/data
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/dir
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg1
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg2
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg3
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg4
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg5
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg6
-   A /rt/branches/rt-3.3/lib/t/data/8859-15-message-series/msg7
-   A /rt/branches/rt-3.3/lib/t/data/crashes-file-based-parser
-   A /rt/branches/rt-3.3/lib/t/data/multipart-alternative-with-umlaut
-   A /rt/branches/rt-3.3/lib/t/data/multipart-report
-   A /rt/branches/rt-3.3/lib/t/data/nested-mime-sample
-   A /rt/branches/rt-3.3/lib/t/data/nested-rfc-822
-   A /rt/branches/rt-3.3/lib/t/data/new-ticket-from-iso-8859-1
-   A /rt/branches/rt-3.3/lib/t/data/new-ticket-from-iso-8859-1-full
-   A /rt/branches/rt-3.3/lib/t/data/notes-uuencoded
-   A /rt/branches/rt-3.3/lib/t/data/russian-subject-no-content-type
-   A /rt/branches/rt-3.3/lib/t/data/text-html-in-russian
-   A /rt/branches/rt-3.3/lib/t/data/text-html-with-umlaut
-   A /rt/branches/rt-3.3/lib/t/regression
-   A /rt/branches/rt-3.3/lib/t/regression/00placeholder
-   A /rt/branches/rt-3.3/lib/t/regression/mime_tests
-   A /rt/branches/rt-3.3/m4
-   A /rt/branches/rt-3.3/m4/rt_enable_layout.m4
-   A /rt/branches/rt-3.3/m4/rt_expand_var.m4
-   A /rt/branches/rt-3.3/m4/rt_layout.m4
-   A /rt/branches/rt-3.3/m4/rt_subst_expanded_arg.m4
-   A /rt/branches/rt-3.3/releng.cnf
-   A /rt/branches/rt-3.3/sbin
-   A /rt/branches/rt-3.3/sbin/extract-message-catalog
-   A /rt/branches/rt-3.3/sbin/extract_pod_tests
-   A /rt/branches/rt-3.3/sbin/factory
-   A /rt/branches/rt-3.3/sbin/license_tag
-   A /rt/branches/rt-3.3/sbin/regression_harness
-   A /rt/branches/rt-3.3/sbin/rt-setup-database.in
-   A /rt/branches/rt-3.3/sbin/rt-test-dependencies.in
-   A /rt/branches/rt-3.3/spec
-   A /rt/branches/rt-3.3/spec/schema.txt
-
-* mv autrijus-3.1 to rt-3.3
-
-------------------------------------------------------------------------
diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED
deleted file mode 100644 (file)
index a013b83..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
- sbin/rt-setup-database.in
-config.layout
-config.layout.in
- etc/RT_SiteConfig.pm
-lib/RT/Interface/Web_Vendor.pm
-lib/RT/URI/freeside.pm
-lib/RT/URI/freeside/Internal.pm
-lib/RT/URI/freeside/XMLRPC.pm
- html/Elements/Header
- html/Elements/Menu
- html/Elements/PageLayout
- html/Elements/SimpleSearch
- html/Elements/Tabs
- html/Elements/Footer
- html/Elements/CollectionAsTable/Row #backport from 3.3-TESTING
-html/Ticket/Elements/AddCustomers
-html/Ticket/Elements/EditCustomers
-html/Ticket/Elements/ShowCustomers
- html/Ticket/Elements/ShowSummary
- html/Ticket/Elements/Tabs
-html/Ticket/ModifyCustomers.html
-html/NoAuth/images/small-logo.png
- html/NoAuth/webrt.css
diff --git a/rt/Makefile b/rt/Makefile
deleted file mode 100644 (file)
index 0895874..0000000
+++ /dev/null
@@ -1,490 +0,0 @@
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-#
-# DO NOT HAND-EDIT the file named 'Makefile'. This file is autogenerated.
-# Have a look at "configure" and "Makefile.in" instead
-#
-
-
-PERL                   =       /usr/bin/perl
-
-CONFIG_FILE_PATH       =       /opt/rt3/etc
-CONFIG_FILE            =       $(CONFIG_FILE_PATH)/RT_Config.pm
-SITE_CONFIG_FILE               =       $(CONFIG_FILE_PATH)/RT_SiteConfig.pm
-
-
-RT_VERSION_MAJOR       =       3
-RT_VERSION_MINOR       =       0
-RT_VERSION_PATCH       =       9
-
-RT_VERSION =   $(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).$(RT_VERSION_PATCH)
-TAG       =    rt-$(RT_VERSION_MAJOR)-$(RT_VERSION_MINOR)-$(RT_VERSION_PATCH)
-
-
-# This is the group that all of the installed files will be chgrp'ed to.
-RTGROUP                        =       rt
-
-
-# User which should own rt binaries.
-BIN_OWNER              =       root
-
-# User that should own all of RT's libraries, generally root.
-LIBS_OWNER             =       root
-
-# Group that should own all of RT's libraries, generally root.
-LIBS_GROUP             =       bin
-
-WEB_USER               =       www
-WEB_GROUP              =       www
-
-# {{{ Files and directories 
-
-# DESTDIR allows you to specify that RT be installed somewhere other than
-# where it will eventually reside
-
-DESTDIR                        =       
-
-
-RT_PATH                        =       /opt/rt3
-RT_ETC_PATH            =       /opt/rt3/etc
-RT_BIN_PATH            =       /opt/rt3/bin
-RT_SBIN_PATH           =       /opt/rt3/sbin
-RT_LIB_PATH            =       /opt/rt3/lib
-RT_MAN_PATH            =       /opt/rt3/man
-RT_VAR_PATH            =       /opt/rt3/var
-RT_DOC_PATH            =       /opt/rt3/share/doc
-RT_LOCAL_PATH          =       /opt/rt3/local
-LOCAL_ETC_PATH         =       /opt/rt3/local/etc
-LOCAL_LEXICON_PATH     =       /opt/rt3/local/po
-MASON_HTML_PATH                =       /opt/rt3/share/html
-MASON_LOCAL_HTML_PATH  =       /opt/rt3/local/html
-MASON_DATA_PATH                =       /opt/rt3/var/mason_data
-MASON_SESSION_PATH     =       /opt/rt3/var/session_data
-RT_LOG_PATH        =       /opt/rt3/var/log
-
-# RT_READABLE_DIR_MODE is the mode of directories that are generally meant
-# to be accessable
-RT_READABLE_DIR_MODE   =       0755
-
-
-
-
-# {{{ all these define the places that RT's binaries should get installed
-
-# RT_MODPERL_HANDLER is the mason handler script for mod_perl
-RT_MODPERL_HANDLER     =       $(RT_BIN_PATH)/webmux.pl
-# RT_FASTCGI_HANDLER is the mason handler script for FastCGI
-RT_FASTCGI_HANDLER     =       $(RT_BIN_PATH)/mason_handler.fcgi
-# RT_WIN32_FASTCGI_HANDLER is the mason handler script for FastCGI
-RT_WIN32_FASTCGI_HANDLER       =       $(RT_BIN_PATH)/mason_handler.svc
-# RT's CLI
-RT_CLI_BIN             =       $(RT_BIN_PATH)/rt
-# RT's mail gateway
-RT_MAILGATE_BIN                =       $(RT_BIN_PATH)/rt-mailgate
-# RT's cron tool
-RT_CRON_BIN            =       $(RT_BIN_PATH)/rt-crontool
-
-# }}}
-
-SETGID_BINARIES                =       $(DESTDIR)/$(RT_FASTCGI_HANDLER) \
-                               $(DESTDIR)/$(RT_WIN32_FASTCGI_HANDLER)
-
-BINARIES               =       $(DESTDIR)/$(RT_MODPERL_HANDLER) \
-                               $(DESTDIR)/$(RT_MAILGATE_BIN) \
-                               $(DESTDIR)/$(RT_CLI_BIN) \
-                               $(DESTDIR)/$(RT_CRON_BIN) \
-                               $(SETGID_BINARIES)
-SYSTEM_BINARIES                =       $(DESTDIR)/$(RT_SBIN_PATH)/
-
-
-# }}}
-
-# {{{ Database setup
-
-#
-# DB_TYPE defines what sort of database RT trys to talk to
-# "mysql" is known to work.
-# "Pg" is known to work
-# "Informix" is known to work
-
-DB_TYPE                        =       mysql
-
-# Set DBA to the name of a unix account with the proper permissions and 
-# environment to run your commandline SQL sbin
-
-# Set DB_DBA to the name of a DB user with permission to create new databases 
-
-# For mysql, you probably want 'root'
-# For Pg, you probably want 'postgres' 
-# For Oracle, you want 'system'
-# For Informix, you want 'informix'
-
-DB_DBA                 =       root
-
-DB_HOST                        =       localhost
-
-# If you're not running your database server on its default port, 
-# specifiy the port the database server is running on below.
-# It's generally safe to leave this blank 
-
-DB_PORT                        =       
-
-
-
-
-#
-# Set this to the canonical name of the interface RT will be talking to the 
-# database on.  If you said that the RT_DB_HOST above was "localhost," this 
-# should be too. This value will be used to grant rt access to the database.
-# If you want to access the RT database from multiple hosts, you'll need
-# to grant those database rights by hand.
-#
-
-DB_RT_HOST             =       localhost
-
-# set this to the name you want to give to the RT database in 
-# your database server. For Oracle, this should be the name of your sid
-
-DB_DATABASE            =       rt3
-DB_RT_USER             =       rt_user
-DB_RT_PASS             =       rt_pass
-
-# }}}
-
-
-####################################################################
-
-all: default
-
-default:
-       @echo "Please read RT's readme before installing. Not doing so could"
-       @echo "be dangerous."
-
-
-
-instruct:
-       @echo "Congratulations. RT has been installed. "
-       @echo ""
-       @echo ""
-       @echo "You must now configure RT by editing $(SITE_CONFIG_FILE)."
-       @echo ""
-       @echo "(You will definitely need to set RT's database password before continuing."
-       @echo " Not doing so could be very dangerous)"
-       @echo ""
-       @echo "After that, you need to initialize RT's database by running" 
-       @echo " 'make initialize-database'"
-
-#      @echo " or by executing "       
-#      @echo " '$(RT_SBIN_PATH)/rt-setup-database --action init \ "
-#      @echo "     --dba $(DB_DBA) --prompt-for-dba-password'"
-
-
-
-upgrade-instruct: 
-       @echo "Congratulations. RT has been upgraded. You should now check-over"
-       @echo "$(CONFIG_FILE) for any necessary site customization. Additionally,"
-       @echo "you should update RT's system database objects by running "
-       @echo "   ls etc/upgrade"
-       @echo "For each file in that directory whose name is greater than"
-       @echo "your previously installed RT version, run:"
-       @echo "    $(RT_SBIN_PATH)/rt-setup-database --action insert --datafile etc/upgrade/<version>"
-
-
-upgrade: config-install dirs files-install fixperms upgrade-instruct
-
-upgrade-noclobber: config-install libs-install html-install bin-install local-install doc-install fixperms
-
-
-# {{{ dependencies
-testdeps:
-       $(PERL) ./sbin/rt-test-dependencies --with-$(DB_TYPE)
-
-fixdeps:
-       $(PERL) ./sbin/rt-test-dependencies --install --with-$(DB_TYPE)
-
-#}}}
-
-# {{{ fixperms
-fixperms:
-       # Make the libraries readable
-       chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)/$(RT_PATH)
-       chown -R $(LIBS_OWNER) $(DESTDIR)/$(RT_LIB_PATH)
-       chgrp -R $(LIBS_GROUP) $(DESTDIR)/$(RT_LIB_PATH)
-       chmod -R  u+rwX,go-w,go+rX      $(DESTDIR)/$(RT_LIB_PATH)
-
-
-       chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)/$(RT_BIN_PATH)
-       chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)/$(RT_BIN_PATH) 
-
-       chmod 0755 $(DESTDIR)/$(RT_ETC_PATH)
-       chmod 0500 $(DESTDIR)/$(RT_ETC_PATH)/*
-
-       #TODO: the config file should probably be able to have its
-       # owner set seperately from the binaries.
-       chown -R $(BIN_OWNER) $(DESTDIR)/$(RT_ETC_PATH)
-       chgrp -R $(RTGROUP) $(DESTDIR)/$(RT_ETC_PATH)
-
-       chmod 0550 $(DESTDIR)/$(CONFIG_FILE)
-       chmod 0550 $(DESTDIR)/$(SITE_CONFIG_FILE)
-
-       # Make the interfaces executable and setgid rt
-       chown $(BIN_OWNER) $(BINARIES)
-       chgrp $(RTGROUP) $(BINARIES)
-       chmod 0755  $(BINARIES)
-       chmod g+s $(SETGID_BINARIES)
-
-       # Make the web ui readable by all. 
-       chmod -R  u+rwX,go-w,go+rX      $(DESTDIR)/$(MASON_HTML_PATH) \
-                                       $(DESTDIR)/$(MASON_LOCAL_HTML_PATH) \
-                                       $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-       chown -R $(LIBS_OWNER)  $(DESTDIR)/$(MASON_HTML_PATH) \
-                               $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-       chgrp -R $(LIBS_GROUP)  $(DESTDIR)/$(MASON_HTML_PATH) \
-                               $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-
-       # Make the web ui's data dir writable
-       chmod 0770      $(DESTDIR)/$(MASON_DATA_PATH) \
-                       $(DESTDIR)/$(MASON_SESSION_PATH)
-       chown -R $(WEB_USER)    $(DESTDIR)/$(MASON_DATA_PATH) \
-                               $(DESTDIR)/$(MASON_SESSION_PATH)
-       chgrp -R $(WEB_GROUP)   $(DESTDIR)/$(MASON_DATA_PATH) \
-                               $(DESTDIR)/$(MASON_SESSION_PATH)
-# }}}
-
-fixperms-nosetgid: fixperms
-       @echo "You should never be running RT this way. it's unsafe"
-       chmod 0555 $(SETGID_BINARIES)
-       chmod 0555 $(DESTDIR)/$(CONFIG_FILE)
-       chmod 0555 $(DESTDIR)/$(SITE_CONFIG_FILE)
-
-# {{{ dirs
-dirs:
-       mkdir -p $(DESTDIR)/$(RT_LOG_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/cache
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/etc
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/obj
-       mkdir -p $(DESTDIR)/$(MASON_SESSION_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_HTML_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-       mkdir -p $(DESTDIR)/$(LOCAL_ETC_PATH)
-       mkdir -p $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-# }}}
-
-install: config-install dirs files-install fixperms instruct
-
-files-install: libs-install etc-install bin-install sbin-install html-install local-install doc-install
-
-config-install:
-       mkdir -p $(DESTDIR)/$(CONFIG_FILE_PATH) 
-       cp etc/RT_Config.pm $(DESTDIR)/$(CONFIG_FILE)
-       [ -f $(DESTDIR)/$(SITE_CONFIG_FILE) ] || cp etc/RT_SiteConfig.pm $(DESTDIR)/$(SITE_CONFIG_FILE) 
-
-       chgrp $(RTGROUP) $(DESTDIR)/$(CONFIG_FILE)
-       chown $(BIN_OWNER) $(DESTDIR)/$(CONFIG_FILE)
-
-       chgrp $(RTGROUP) $(DESTDIR)/$(SITE_CONFIG_FILE)
-       chown $(BIN_OWNER) $(DESTDIR)/$(SITE_CONFIG_FILE)
-
-       @echo "Installed configuration. about to install rt in  $(RT_PATH)"
-
-test: 
-       $(PERL) -Ilib lib/t/00smoke.t
-
-regression-install: config-install
-       $(PERL) -pi -e 's/Set\(\$$DatabaseName.*\);/Set\(\$$DatabaseName, "rt3regression"\);/' $(DESTDIR)/$(CONFIG_FILE)
-
-regression-nosetgid-quiet: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db  testify-pods fixperms-nosetgid apachectl
-       $(PERL) sbin/regression_harness
-
-regression-nosetgid: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db  testify-pods fixperms-nosetgid apachectl
-       $(PERL) lib/t/02regression.t
-
-regression: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db  testify-pods fixperms apachectl
-       $(PERL) lib/t/02regression.t
-
-regression-quiet:
-       $(PERL) sbin/regression_harness
-
-regression-instruct:
-       @echo "About to wipe your database for a regression test. ABORT NOW with Control-C"
-
-
-# {{{ database-installation
-
-regression-reset-db:
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action drop --dba $(DB_DBA) --dba-password ''
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action init --dba $(DB_DBA) --dba-password ''
-
-initialize-database: 
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action init --dba $(DB_DBA) --prompt-for-dba-password
-
-dropdb: 
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action drop --dba $(DB_DBA) --prompt-for-dba-password
-
-insert-approval-data: 
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/insert_approval_scrips
-# }}}
-
-# {{{ libs-install
-libs-install: 
-       [ -d $(DESTDIR)/$(RT_LIB_PATH) ] || mkdir $(DESTDIR)/$(RT_LIB_PATH)
-       -cp -rp lib/* $(DESTDIR)/$(RT_LIB_PATH)
-# }}}
-
-# {{{ html-install
-html-install:
-       [ -d $(DESTDIR)/$(MASON_HTML_PATH) ] || mkdir $(DESTDIR)/$(MASON_HTML_PATH)
-       -cp -rp ./html/* $(DESTDIR)/$(MASON_HTML_PATH)
-# }}}
-
-# {{{ doc-install
-doc-install:
-       # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir
-       -[ -f $(DESTDIR)/$(RT_DOC_PATH) ] && rm $(DESTDIR)/$(RT_DOC_PATH) 
-       [ -d $(DESTDIR)/$(RT_DOC_PATH) ] || mkdir $(DESTDIR)/$(RT_DOC_PATH)
-       -cp -rp ./README $(DESTDIR)/$(RT_DOC_PATH)
-# }}}
-
-# {{{ etc-install
-
-etc-install:
-       mkdir -p $(DESTDIR)/$(RT_ETC_PATH)
-       -cp -rp \
-               etc/acl.* \
-               etc/initialdata \
-               etc/schema.* \
-               $(DESTDIR)/$(RT_ETC_PATH)
-# }}}
-
-# {{{ sbin-install
-
-sbin-install:
-       mkdir -p $(DESTDIR)/$(RT_SBIN_PATH)
-       chmod +x sbin/rt-setup-database \
-               sbin/rt-test-dependencies
-       -cp -rp \
-               sbin/rt-setup-database \
-               sbin/rt-test-dependencies \
-               $(DESTDIR)/$(RT_SBIN_PATH)
-
-# }}}
-
-# {{{ bin-install
-
-bin-install:
-       mkdir -p $(DESTDIR)/$(RT_BIN_PATH)
-       chmod +x bin/rt-mailgate \
-               bin/rt-crontool
-       -cp -rp \
-               bin/rt-mailgate \
-               bin/mason_handler.fcgi \
-               bin/mason_handler.scgi \
-               bin/mason_handler.svc \
-               bin/rt \
-               bin/webmux.pl \
-               bin/rt-crontool \
-               $(DESTDIR)/$(RT_BIN_PATH)
-# }}}
-
-# {{{ local-install
-local-install:
-       -cp -rp ./local/html/* $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-       -cp -rp ./local/po/* $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-       -cp -rp ./local/etc/* $(DESTDIR)/$(LOCAL_ETC_PATH)
-# }}}
-
-# {{{ Best Practical Build targets -- no user servicable parts inside
-
-
-POD2TEST_EXE = sbin/extract_pod_tests
-
-testify-pods:
-       [ -d lib/t/autogen ] || mkdir lib/t/autogen
-       find lib -name \*pm |grep -v \*.in |xargs -n 1 $(PERL) $(POD2TEST_EXE)
-       find bin -type f |grep -v \~ | grep -v "\.in" | xargs -n 1 $(PERL) $(POD2TEST_EXE)
-
-
-
-regenerate-catalogs:
-       $(PERL) sbin/extract-message-catalog
-
-license-tag:
-       $(PERL) sbin/license_tag
-
-factory: initialize-database
-       cd lib; $(PERL) ../sbin/factory  $(DB_DATABASE) RT
-
-commit:
-       aegis -build ; aegis -diff ; aegis -test; aegis -develop_end
-
-integrate:
-       aegis -integrate_begin; aegis -build; aegis -diff; aegis -test ; aegis -integrate_pass
-
-predist: commit tag-and-tar
-
-tag-and-release-baseline:
-       aegis -cp -ind Makefile -output /tmp/Makefile.tagandrelease; \
-       $(MAKE) -f /tmp/Makefile.tagandrelease tag-and-release-never-by-hand
-
-
-# Running this target in a working directory is 
-# WRONG WRONG WRONG.
-# it will tag the current baseline with the version of RT defined 
-# in the currently-being-worked-on makefile. which is wrong.
-#  you want tag-and-release-baseline
-
-tag-and-release-never-by-hand:
-       aegis --delta-name $(TAG)
-       rm -rf /tmp/$(TAG)
-       mkdir /tmp/$(TAG)
-       cd /tmp/$(TAG); \
-               aegis -cp -ind -delta $(TAG) . ;\
-               make reconfigure;\
-               chmod 600 Makefile;\
-               aegis --report --project rt.$(RT_VERSION_MAJOR) \
-                     --page_width 80 \
-                     --page_length 9999 \
-                     --change $(RT_VERSION_MINOR) --output Changelog Change_Log
-
-       cd /tmp; tar czvf /home/ftp/pub/rt/devel/$(TAG).tar.gz $(TAG)/
-       chmod 644 /home/ftp/pub/rt/devel/$(TAG).tar.gz
-
-
-reconfigure:
-       aclocal -I m4
-       autoconf
-       chmod 755 ./configure
-       ./configure
-
-rpm:
-       (cd ..; tar czvf /usr/src/redhat/SOURCES/rt.tar.gz rt)
-       rpm -ba etc/rt.spec
-
-
-apachectl:
-       apachectl stop
-       sleep 3
-       apachectl start
-# }}}
diff --git a/rt/Makefile.in b/rt/Makefile.in
deleted file mode 100644 (file)
index 43dcee1..0000000
+++ /dev/null
@@ -1,492 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-#
-# DO NOT HAND-EDIT the file named 'Makefile'. This file is autogenerated.
-# Have a look at "configure" and "Makefile.in" instead
-#
-
-
-PERL                   =       @PERL@
-
-CONFIG_FILE_PATH       =       @CONFIG_FILE_PATH@
-CONFIG_FILE            =       $(CONFIG_FILE_PATH)/RT_Config.pm
-SITE_CONFIG_FILE               =       $(CONFIG_FILE_PATH)/RT_SiteConfig.pm
-
-
-RT_VERSION_MAJOR       =       @RT_VERSION_MAJOR@
-RT_VERSION_MINOR       =       @RT_VERSION_MINOR@
-RT_VERSION_PATCH       =       @RT_VERSION_PATCH@
-
-RT_VERSION =   $(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).$(RT_VERSION_PATCH)
-TAG       =    rt-$(RT_VERSION_MAJOR)-$(RT_VERSION_MINOR)-$(RT_VERSION_PATCH)
-
-
-# This is the group that all of the installed files will be chgrp'ed to.
-RTGROUP                        =       @RTGROUP@
-
-
-# User which should own rt binaries.
-BIN_OWNER              =       @BIN_OWNER@
-
-# User that should own all of RT's libraries, generally root.
-LIBS_OWNER             =       @LIBS_OWNER@
-
-# Group that should own all of RT's libraries, generally root.
-LIBS_GROUP             =       @LIBS_GROUP@
-
-WEB_USER               =       @WEB_USER@
-WEB_GROUP              =       @WEB_GROUP@
-
-
-APACHECTL              =       @APACHECTL@
-
-# {{{ Files and directories 
-
-# DESTDIR allows you to specify that RT be installed somewhere other than
-# where it will eventually reside
-
-DESTDIR                        =       
-
-
-RT_PATH                        =       @RT_PATH@
-RT_ETC_PATH            =       @RT_ETC_PATH@
-RT_BIN_PATH            =       @RT_BIN_PATH@
-RT_SBIN_PATH           =       @RT_SBIN_PATH@
-RT_LIB_PATH            =       @RT_LIB_PATH@
-RT_MAN_PATH            =       @RT_MAN_PATH@
-RT_VAR_PATH            =       @RT_VAR_PATH@
-RT_DOC_PATH            =       @RT_DOC_PATH@
-RT_LOCAL_PATH          =       @RT_LOCAL_PATH@
-LOCAL_ETC_PATH         =       @LOCAL_ETC_PATH@
-LOCAL_LIB_PATH         =       @LOCAL_LIB_PATH@
-LOCAL_LEXICON_PATH     =       @LOCAL_LEXICON_PATH@
-MASON_HTML_PATH                =       @MASON_HTML_PATH@
-MASON_LOCAL_HTML_PATH  =       @MASON_LOCAL_HTML_PATH@
-MASON_DATA_PATH                =       @MASON_DATA_PATH@
-MASON_SESSION_PATH     =       @MASON_SESSION_PATH@
-RT_LOG_PATH        =       @RT_LOG_PATH@
-
-# RT_READABLE_DIR_MODE is the mode of directories that are generally meant
-# to be accessable
-RT_READABLE_DIR_MODE   =       0755
-
-
-
-
-# {{{ all these define the places that RT's binaries should get installed
-
-# RT_MODPERL_HANDLER is the mason handler script for mod_perl
-RT_MODPERL_HANDLER     =       $(RT_BIN_PATH)/webmux.pl
-# RT_STANDALONE_SERVER is a stand-alone HTTP server
-RT_STANDALONE_SERVER   =       $(RT_BIN_PATH)/standalone_httpd
-# RT_SPEEDYCGI_HANDLER is the mason handler script for SpeedyCGI
-RT_SPEEDYCGI_HANDLER   =       $(RT_BIN_PATH)/mason_handler.scgi
-# RT_FASTCGI_HANDLER is the mason handler script for FastCGI
-RT_FASTCGI_HANDLER     =       $(RT_BIN_PATH)/mason_handler.fcgi
-# RT_WIN32_FASTCGI_HANDLER is the mason handler script for FastCGI
-RT_WIN32_FASTCGI_HANDLER       =       $(RT_BIN_PATH)/mason_handler.svc
-# RT's CLI
-RT_CLI_BIN             =       $(RT_BIN_PATH)/rt
-# RT's mail gateway
-RT_MAILGATE_BIN                =       $(RT_BIN_PATH)/rt-mailgate
-# RT's cron tool
-RT_CRON_BIN            =       $(RT_BIN_PATH)/rt-crontool
-
-# }}}
-
-
-BINARIES               =       $(DESTDIR)/$(RT_MODPERL_HANDLER) \
-                               $(DESTDIR)/$(RT_MAILGATE_BIN) \
-                               $(DESTDIR)/$(RT_CLI_BIN) \
-                               $(DESTDIR)/$(RT_CRON_BIN) \
-                               $(DESTDIR)/$(RT_STANDALONE_SERVER) \
-                               $(DESTDIR)/$(RT_SPEEDYCGI_HANDLER) \
-                               $(DESTDIR)/$(RT_FASTCGI_HANDLER) \
-                               $(DESTDIR)/$(RT_WIN32_FASTCGI_HANDLER)
-SYSTEM_BINARIES                =       $(DESTDIR)/$(RT_SBIN_PATH)/
-
-# }}}
-
-# {{{ Database setup
-
-#
-# DB_TYPE defines what sort of database RT trys to talk to
-# "mysql" is known to work.
-# "Pg" is known to work
-# "Informix" is known to work
-
-DB_TYPE                        =       @DB_TYPE@
-
-# Set DBA to the name of a unix account with the proper permissions and 
-# environment to run your commandline SQL sbin
-
-# Set DB_DBA to the name of a DB user with permission to create new databases 
-
-# For mysql, you probably want 'root'
-# For Pg, you probably want 'postgres' 
-# For Oracle, you want 'system'
-# For Informix, you want 'informix'
-
-DB_DBA                 =       @DB_DBA@
-
-DB_HOST                        =       @DB_HOST@
-
-# If you're not running your database server on its default port, 
-# specifiy the port the database server is running on below.
-# It's generally safe to leave this blank 
-
-DB_PORT                        =       @DB_PORT@
-
-
-
-
-#
-# Set this to the canonical name of the interface RT will be talking to the 
-# database on.  If you said that the RT_DB_HOST above was "localhost," this 
-# should be too. This value will be used to grant rt access to the database.
-# If you want to access the RT database from multiple hosts, you'll need
-# to grant those database rights by hand.
-#
-
-DB_RT_HOST             =       @DB_RT_HOST@
-
-# set this to the name you want to give to the RT database in 
-# your database server. For Oracle, this should be the name of your sid
-
-DB_DATABASE            =       @DB_DATABASE@
-DB_RT_USER             =       @DB_RT_USER@
-DB_RT_PASS             =       @DB_RT_PASS@
-
-# }}}
-
-
-####################################################################
-
-all: default
-
-default:
-       @echo "Please read RT's readme before installing. Not doing so could"
-       @echo "be dangerous."
-
-
-
-instruct:
-       @echo "Congratulations. RT has been installed. "
-       @echo ""
-       @echo ""
-       @echo "You must now configure RT by editing $(SITE_CONFIG_FILE)."
-       @echo ""
-       @echo "(You will definitely need to set RT's database password in "
-       @echo "$(SITE_CONFIG_FILE) before continuing. Not doing so could be "
-       @echo "very dangerous.  Note that you do not have to manually add a "
-       @echo "database user or set up a database for RT.  These actions will be "
-       @echo "taken care of in the next step.)"
-       @echo ""
-       @echo "After that, you need to initialize RT's database by running" 
-       @echo " 'make initialize-database'"
-
-#      @echo " or by executing "       
-#      @echo " '$(RT_SBIN_PATH)/rt-setup-database --action init \ "
-#      @echo "     --dba $(DB_DBA) --prompt-for-dba-password'"
-
-
-
-upgrade-instruct: 
-       @echo "Congratulations. RT has been upgraded. You should now check-over"
-       @echo "$(CONFIG_FILE) for any necessary site customization. Additionally,"
-       @echo "you should update RT's system database objects by running "
-       @echo "   ls etc/upgrade"
-       @echo ""
-       @echo "For each item in that directory whose name is greater than"
-       @echo "your previously installed RT version, run:"
-       @echo "    $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-password --action schema --datadir etc/upgrade/<version>"
-       @echo "    $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-password --action acl --datadir etc/upgrade/<version>"
-       @echo "    $(RT_SBIN_PATH)/rt-setup-database --dba $(DB_DBA) --prompt-for-dba-password --action insert --datadir etc/upgrade/<version>"
-
-
-upgrade: config-install dirs files-install fixperms upgrade-instruct
-
-upgrade-noclobber: config-install libs-install html-install bin-install local-install doc-install fixperms
-
-
-# {{{ dependencies
-testdeps:
-       $(PERL) ./sbin/rt-test-dependencies --verbose --with-$(DB_TYPE)
-
-depends: fixdeps
-
-fixdeps:
-       $(PERL) ./sbin/rt-test-dependencies --verbose --install --with-$(DB_TYPE)
-
-#}}}
-
-# {{{ fixperms
-fixperms:
-       # Make the libraries readable
-       chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)/$(RT_PATH)
-       chown -R $(LIBS_OWNER) $(DESTDIR)/$(RT_LIB_PATH)
-       chgrp -R $(LIBS_GROUP) $(DESTDIR)/$(RT_LIB_PATH)
-       chmod -R  u+rwX,go-w,go+rX      $(DESTDIR)/$(RT_LIB_PATH)
-
-
-       chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)/$(RT_BIN_PATH)
-       chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)/$(RT_BIN_PATH) 
-
-       chmod 0755 $(DESTDIR)/$(RT_ETC_PATH)
-       chmod 0500 $(DESTDIR)/$(RT_ETC_PATH)/*
-
-       #TODO: the config file should probably be able to have its
-       # owner set separately from the binaries.
-       chown -R $(BIN_OWNER) $(DESTDIR)/$(RT_ETC_PATH)
-       chgrp -R $(RTGROUP) $(DESTDIR)/$(RT_ETC_PATH)
-
-       chmod 0550 $(DESTDIR)/$(CONFIG_FILE)
-       chmod 0550 $(DESTDIR)/$(SITE_CONFIG_FILE)
-
-       # Make the interfaces executable
-       chown $(BIN_OWNER) $(BINARIES)
-       chgrp $(RTGROUP) $(BINARIES)
-       chmod 0755  $(BINARIES)
-
-       # Make the web ui readable by all. 
-       chmod -R  u+rwX,go-w,go+rX      $(DESTDIR)/$(MASON_HTML_PATH) \
-                                       $(DESTDIR)/$(MASON_LOCAL_HTML_PATH) \
-                                       $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-       chown -R $(LIBS_OWNER)  $(DESTDIR)/$(MASON_HTML_PATH) \
-                               $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-       chgrp -R $(LIBS_GROUP)  $(DESTDIR)/$(MASON_HTML_PATH) \
-                               $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-
-       # Make the web ui's data dir writable
-       chmod 0770      $(DESTDIR)/$(MASON_DATA_PATH) \
-                       $(DESTDIR)/$(MASON_SESSION_PATH)
-       chown -R $(WEB_USER)    $(DESTDIR)/$(MASON_DATA_PATH) \
-                               $(DESTDIR)/$(MASON_SESSION_PATH)
-       chgrp -R $(WEB_GROUP)   $(DESTDIR)/$(MASON_DATA_PATH) \
-                               $(DESTDIR)/$(MASON_SESSION_PATH)
-# }}}
-
-# {{{ dirs
-dirs:
-       mkdir -p $(DESTDIR)/$(RT_LOG_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/cache
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/etc
-       mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/obj
-       mkdir -p $(DESTDIR)/$(MASON_SESSION_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_HTML_PATH)
-       mkdir -p $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-       mkdir -p $(DESTDIR)/$(LOCAL_ETC_PATH)
-       mkdir -p $(DESTDIR)/$(LOCAL_LIB_PATH)
-       mkdir -p $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-# }}}
-
-install: config-install dirs files-install fixperms instruct
-
-files-install: libs-install etc-install bin-install sbin-install html-install local-install doc-install
-
-config-install:
-       mkdir -p $(DESTDIR)/$(CONFIG_FILE_PATH) 
-       -cp etc/RT_Config.pm $(DESTDIR)/$(CONFIG_FILE)
-       [ -f $(DESTDIR)/$(SITE_CONFIG_FILE) ] || cp etc/RT_SiteConfig.pm $(DESTDIR)/$(SITE_CONFIG_FILE) 
-
-       chgrp $(RTGROUP) $(DESTDIR)/$(CONFIG_FILE)
-       chown $(BIN_OWNER) $(DESTDIR)/$(CONFIG_FILE)
-
-       chgrp $(RTGROUP) $(DESTDIR)/$(SITE_CONFIG_FILE)
-       chown $(BIN_OWNER) $(DESTDIR)/$(SITE_CONFIG_FILE)
-
-       @echo "Installed configuration. about to install rt in  $(RT_PATH)"
-
-test: 
-       $(PERL) -Ilib lib/t/00smoke.t
-
-regression-install: config-install
-       $(PERL) -pi -e 's/Set\(\$$DatabaseName.*\);/Set\(\$$DatabaseName, "rt3regression"\);/' $(DESTDIR)/$(CONFIG_FILE)
-
-regression: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db  testify-pods fixperms apachectl run-regression
-
-run-regression:
-       prove -Ilib lib/t/setup_regression.t  lib/t/autogen/ lib/t/regression/
-
-
-regression-noapache: regression-install dirs files-install libs-install sbin-install bin-install regression-instruct regression-reset-db  testify-pods fixperms start-httpd  run-regression
-
-regression-quiet:
-       $(PERL) sbin/regression_harness
-
-regression-instruct:
-       @echo "About to wipe your database for a regression test. ABORT NOW with Control-C"
-
-
-# {{{ database-installation
-
-regression-reset-db:
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action drop --dba $(DB_DBA) --dba-password '' --force
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action init --dba $(DB_DBA) --dba-password ''
-
-initdb :: initialize-database
-
-initialize-database: 
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action init --dba $(DB_DBA) --prompt-for-dba-password
-
-dropdb: 
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action drop --dba $(DB_DBA) --prompt-for-dba-password
-
-insert-approval-data: 
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/insert_approval_scrips
-# }}}
-
-# {{{ libs-install
-libs-install: 
-       [ -d $(DESTDIR)/$(RT_LIB_PATH) ] || mkdir -p $(DESTDIR)/$(RT_LIB_PATH)
-       -cp -rp lib/* $(DESTDIR)/$(RT_LIB_PATH)
-# }}}
-
-# {{{ html-install
-html-install:
-       [ -d $(DESTDIR)/$(MASON_HTML_PATH) ] || mkdir -p $(DESTDIR)/$(MASON_HTML_PATH)
-       -cp -rp ./html/* $(DESTDIR)/$(MASON_HTML_PATH)
-# }}}
-
-# {{{ doc-install
-doc-install:
-       # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir
-       -[ -f $(DESTDIR)/$(RT_DOC_PATH) ] && rm $(DESTDIR)/$(RT_DOC_PATH) 
-       [ -d $(DESTDIR)/$(RT_DOC_PATH) ] || mkdir -p $(DESTDIR)/$(RT_DOC_PATH)
-       -cp -rp ./README $(DESTDIR)/$(RT_DOC_PATH)
-# }}}
-
-# {{{ etc-install
-
-etc-install:
-       mkdir -p $(DESTDIR)/$(RT_ETC_PATH)
-       -cp -rp \
-               etc/acl.* \
-               etc/initialdata \
-               etc/schema.* \
-               $(DESTDIR)/$(RT_ETC_PATH)
-# }}}
-
-# {{{ sbin-install
-
-sbin-install:
-       mkdir -p $(DESTDIR)/$(RT_SBIN_PATH)
-       chmod +x \
-               sbin/rt-dump-database \
-               sbin/rt-setup-database \
-               sbin/rt-test-dependencies
-       -cp -rp \
-               sbin/rt-dump-database \
-               sbin/rt-setup-database \
-               sbin/rt-test-dependencies \
-               $(DESTDIR)/$(RT_SBIN_PATH)
-
-# }}}
-
-# {{{ bin-install
-
-bin-install:
-       mkdir -p $(DESTDIR)/$(RT_BIN_PATH)
-       chmod +x bin/rt-mailgate \
-               bin/rt-crontool
-       -cp -rp \
-               bin/rt-mailgate \
-               bin/mason_handler.fcgi \
-               bin/mason_handler.scgi \
-               bin/standalone_httpd \
-               bin/mason_handler.svc \
-               bin/rt \
-               bin/webmux.pl \
-               bin/rt-crontool \
-               $(DESTDIR)/$(RT_BIN_PATH)
-# }}}
-
-# {{{ local-install
-local-install:
-       -cp -rp ./local/html/* $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
-       -cp -rp ./local/po/* $(DESTDIR)/$(LOCAL_LEXICON_PATH)
-       -cp -rp ./local/etc/* $(DESTDIR)/$(LOCAL_ETC_PATH)
-# }}}
-
-# {{{ Best Practical Build targets -- no user servicable parts inside
-
-
-POD2TEST_EXE = sbin/extract_pod_tests
-
-testify-pods:
-       [ -d lib/t/autogen ] || mkdir lib/t/autogen
-       find lib -name \*pm |grep -v .svn | grep -v \*.in |xargs -n 1 $(PERL) $(POD2TEST_EXE)
-       find bin -type f |grep -v .svn | grep -v \~ | grep -v "\.in" | xargs -n 1 $(PERL) $(POD2TEST_EXE)
-       find lib -name \*pm |grep -v .svn | grep -v \*.in |xargs -n 1 $(PERL) $(POD2TEST_EXE)
-       find bin -type f |grep -v .svn | grep -v \~ | grep -v "\.in" | xargs -n 1 $(PERL) $(POD2TEST_EXE)
-
-
-
-regenerate-catalogs:
-       $(PERL) sbin/extract-message-catalog
-
-license-tag:
-       $(PERL) sbin/license_tag
-
-factory: initialize-database
-       cd lib; $(PERL) ../sbin/factory  $(DB_DATABASE) RT
-
-reconfigure:
-       aclocal -I m4
-       autoconf
-       chmod 755 ./configure
-       ./configure
-
-start-httpd:
-       $(PERL) bin/standalone_httpd 80 &
-
-apachectl:
-       $(APACHECTL) stop
-       sleep 10
-       $(APACHECTL) start
-       sleep 5
-# }}}
diff --git a/rt/README b/rt/README
deleted file mode 100755 (executable)
index caead27..0000000
--- a/rt/README
+++ /dev/null
@@ -1,355 +0,0 @@
-RT is an enterprise-grade issue tracking system. It allows organizations
-to keep track of what needs to get done, who is working on which tasks,
-what's already been done, and when tasks were (or weren't) completed.
-
-RT doesn't cost anything to use, no matter how much you use it; it
-is freely available under the terms of Version 2 of the GNU General
-Public License.
-
-RT is commercially-supported software. To purchase support, training,
-custom development, or professional services, please get in touch with
-us at sales@bestpractical.com.
-
-     Jesse Vincent
-     Best Practical Solutions, LLC
-     March, 2005
-
-
-REQUIRED PACKAGES:
-------------------
-
-o   Perl 5.8.3 or later (http://www.perl.com).
-
-       Perl versions prior to 5.8.3 contain bugs that could result
-       in data corruption. We recommend strongly that you use 5.8.3
-       or newer.
-
-o   A supported SQL database
-
-        Currently supported:  Mysql 4.0.13 or later with InnoDB support.
-                              Postgres 7.2 or later.
-                              Oracle 9iR2 or later.
-                              SQLite 3.0. (Not recommended for production)
-
-o   Apache version 1.3.x or 2.x (http://httpd.apache.org) 
-        with mod_perl -- (http://perl.apache.org ) 
-        or a webserver with FastCGI support (www.fastcgi.com)
-
-        Compiling mod_perl on Apache 1.3.x as a DSO has been known 
-        to have massive stability problems and is not recommended.
-
-        mod_perl 1.x must be built with EVERYTHING=1
-
-        RT's FastCGI handler needs to access RT's configuration file.
-
-o    Various and sundry perl modules
-       A tool included with RT takes care of the installation of
-       most of these automatically during the install process.
-
-       The tool supplied with RT uses Perl's CPAN system
-       (http://www.cpan.org) to install modules. Some operating
-       systems package all or some of the modules required, and
-       you may be better off installing the modules that way.
-
-
-GENERAL INSTALLATION
---------------------
-
-This is a rough guide to installing RT. For more detail, you'll
-want to read a more comprehensive installation guide at:
-
-    http://wiki.bestpractical.com/index.cgi?InstallationGuides
-
-1   Unpack this distribution other than where you want to install RT
-
-     To do this cleanly, run the following command:
-
-       tar xzvf rt.tar.gz -C /tmp
-
-2   Run the "configure" script. 
-
-       ./configure --help to see the list of options
-       ./configure (with the flags you want)
-
-    RT defaults to installing in /opt/rt3 with MySQL as its database. It
-    tries to guess which of www-data, www, apache or nobody your webserver
-    will run as, but you can override that behavior.
-
-3   Make sure that RT has everything it needs to run.
-
-    Check for missing dependencies by running:
-
-       make testdeps        
-
-4   If the script reports any missing dependencies, install them by hand
-    or run the following command as a user who has permission to install perl
-    modules on your system:
-
-     make fixdeps
-
-5   Check to make sure everything was installed properly.
-     
-       make testdeps
-
-     It might sometimes be necessary to run "make fixdeps" several times
-     to install all necessary perl modules.
-
-6   If this is a new installation:
-     
-     As a user with permission to install RT in your chosen directory, type:
-
-       make install   
-                    
-     Set up etc/RT_SiteConfig.pm in your RT installation directory.
-     You'll need to add any values you need to change from the defaults 
-     in etc/RT_Config.pm
-
-     As a user with permission to read RT's configuration file, type:
-     
-       make initialize-database 
-
-     If the make fails, type:
-     
-       make dropdb 
-
-     and start over from step 6
-
-7   If you're upgrading from RT 3.0 or newer:
-
-     Read through the UPGRADING document included in this distribution.
-     
-     It includes special upgrade instructions that will help you get this
-     new version of RT up and running smoothly.
-
-     As a user with permission to install RT in your chosen installation
-     directory, type: 
-
-       make upgrade    
-
-     This will install new binaries, config files and libraries without
-     overwriting your RT database. 
-
-     Update etc/RT_SiteConfig.pm in your RT installation directory.
-     You'll need to add any new values you need to change from the defaults 
-     in etc/RT_Config.pm
-
-     You may also need to update RT's database.  To find out, type:
-
-       ls etc/upgrade
-
-     For each item in that directory whose name is greater than
-     your previously installed RT version, run:
-
-       /opt/rt3/sbin/rt-setup-database --action schema \
-           --datadir etc/upgrade/<version>
-       /opt/rt3/sbin/rt-setup-database --action acl \
-           --datadir etc/upgrade/<version>
-       /opt/rt3/sbin/rt-setup-database --action insert \
-            --datadir etc/upgrade/<version>
-
-8  If you're upgrading from RT 2.0:
-
-    Please upgrade from RT 2.0 to RT 3.2 and then follow the instructions
-    for section 7.
-
-9   Configure the email and web gateways, as described below. 
-
-    NOTE: root's password for the web interface is "password" 
-    (without the quotes).  Not changing this is a SECURITY risk!
-    
-10   Set up users, groups, queues, scrips and access control.
-
-    Until you do this, RT will not be able to send or receive email,
-    nor will it be more than marginally functional.  This is not an
-    optional step.
-
-
-SETTING UP THE WEB INTERFACE
-----------------------------
-
-RT's web interface is based around HTML::Mason, which works well with
-the mod_perl perl interpreter within Apache httpd and FastCGI
-
-mod_perl
---------
-
-To install RT with mod_perl, you'll need to install the
-apache database connection cache.  To make sure it's installed, run
-the following command:
-
-    perl -MCPAN -e'install Apache::DBI'
-
-Next, add a few lines to your Apache configuration file, so that
-it knows where to find RT:
-
-<VirtualHost your.ip.address>
-    ServerName your.rt.server.hostname
-    DocumentRoot /opt/rt3/share/html
-    AddDefaultCharset UTF-8
-
-    PerlModule Apache::DBI
-    PerlRequire /opt/rt3/bin/webmux.pl
-
-    <Location />
-     SetHandler perl-script
-     PerlHandler RT::Mason
-    </Location>
-</VirtualHost>
-
-FastCGI
--------
-
-Installation with FastCGI is a little bit more complex and is documented 
-in detail at http://wiki.bestpractical.com/index.cgi?FastCGIConfiguration
-
-In the most basic configuration, you can set up your webserver to run
-as a user who is a member of the "rt" unix group so that the FastCGI script
-can read RT's configuration file.  It's important to understand the security
-implications of this configuration, which are discussed in the document
-mentioned above.
-
-To install RT with FastCGI, you'll need to add a few lines to your 
-Apache configuration file telling it about RT:
-
-<VirtualHost rt.example.com>
-
-   # Pass through requests to display images
-   Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
-   
-   # Tell FastCGI to put its temporary files somewhere sane.
-   FastCgiIpcDir /tmp
-
-   FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
-
-   AddHandler fastcgi-script fcgi
-   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
-   
-</VirtualHost>
-
-
-
-SETTING UP THE MAIL GATEWAY 
----------------------------
-
-To let email flow to your RT server, you need to add a few lines of
-configuration to your mail server's "aliases" file. These lines "pipe"
-incoming email messages from your mail server to RT.
-
-Add the following lines to /etc/aliases (or your local equivalent) on your mail server:
-
-rt:         "|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url http://rt.example.com/"
-rt-comment: "|/opt/rt3/bin/rt-mailgate --queue general --action comment --url http://rt.example.com/"
-
-You'll need to add similar lines for each queue you want to be able
-to send email to. To find out more about how to configure RT's email
-gateway, type:
-
-       perldoc /opt/rt3/bin/rt-mailgate
-
-
-
-GETTING HELP
-------------
-
-If RT is mission-critical for you or if you use it heavily, we recommend that
-you purchase a commercial support contract.  Details on support contracts
-are available at http://www.bestpractical.com or by writing to
-<sales@bestpractical.com>. 
-
-If you're interested in having RT extended or customized or would like more
-information about commercial support options, please send email to 
-<sales@bestpractical.com> to discuss rates and availability.
-
-
-
-RT WEBSITE
-----------
-
-For current information about RT, check out the RT website at 
-     http://www.bestpractical.com/  
-
-You'll find screenshots, a pointer to the current version of RT, contributed 
-patches, and lots of other great stuff.
-
-
-
-RT-USERS MAILING LIST
---------------------
-
-To keep up to date on the latest RT tips, techniques and extensions,
-you probably want to join the rt-users mailing list.  Send a message to:
-
-      rt-users-request@lists.bestpractical.com 
-
-with the body of the message consisting of only the word:
-
-     subscribe
-
-If you're interested in hacking on RT, you'll want to subscribe to
-rt-devel@lists.bestpractical.com.  Subscribe to it with instructions
-similar to those above.
-
-Address questions about the stable release to the rt-users list, and
-questions about the development version to the rt-devel list.  If you feel
-your questions are best not asked publicly, send them personally to
-<jesse@bestpractical.com>.
-
-
-
-BUGS
-----
-
-RT's a pretty complex application, and as you get up to speed, you might
-run into some trouble. Generally, it's best to ask about things you
-run into on the rt-users mailinglist (or pick up a commercial support
-contract from Best Practical). But, sometimes people do run into bugs. In
-the exceedingly unlikely event that you hit a bug in RT, please report
-it! We'd love to hear about problems you have with RT, so we can fix them.
-To report a bug, send email to rt-bugs@fsck.com.
-
-
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
diff --git a/rt/README.Oracle b/rt/README.Oracle
deleted file mode 100644 (file)
index 41bec82..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-In order to install RT with Oracle, the database must first be
-prepared.  Ports of RT to other databases will automatically create
-the RT schema.  This is not done for Oracle because most sites wishing
-to deploy RT on Oracle will have choose to make specific configuration
-of the RT user, for example to select the appropriate tablespace or to
-set up a resource profile.  The RT user must have appropriate
-privileges similar to the resource and connect roles and must have the
-"query rewrite" system privilege.
-  Here is an example of commands to create an RT user called "RT" with
-a password of "rt".
-
-  create user rt identified by rt default tablespace users temporary
-    tablespace temp;
-  grant resource, connect, query rewrite to rt;
-
-
-RT should not run its schema creation as the Oracle DBA; instead the
-schema creation should be run as the RT user.  To accomplish this set
-the --with-rt-dba configuration parameter to the RT user, not to the
-Oracle DBA.  As an example, the following might be appropriate to
-configure RT for the example.com Oracle database.
-
-  ./configure --prefix /usr/local/rt --with-db-type=Oracle \
-        --with-db-dba=rt --with-db-database=example.com \
-    --with-db-rt-user=rt \
-        --with-db-rt-pass=rt 
-
-
-As with all databases it is important to analyze the Schema and get
-current statistics after any significant dataset change.  Oracle's
-cost-based optimizer can provide particularly bad performance when the
-schema statistics are significantly inaccurate.  To analyze the schema
-of a user called rt, execute the following from withing Sqlplus.
-
-  execute dbms_utility.analyze_schema( 'RT', 'estimate');
-
-
diff --git a/rt/UPGRADING b/rt/UPGRADING
deleted file mode 100644 (file)
index 11a26e8..0000000
+++ /dev/null
@@ -1,205 +0,0 @@
-UPGRADING
-
-Detailed information about upgrading can be found in the README file.
-This document is intended to supplement the instructions in that file.
-
-Additional information about upgrading from specific versions of RT is
-contained below.
-
-*******
-WARNING
-*******
-
-Before making any changes to your database, always ensure that you have a 
-complete current backup. If you don't have a current backup, you could 
-accidentally damage your database and lose data or worse.
-
-*******
-
-UPGRADING FROM 3.3.14 and earlier - Changes:
-
-The "ModifyObjectCustomFieldValues" right name was too long. It's been changed to
-"ModifyCustomField"
-
-
-UPGRADING FROM 3.3.11 and earlier - Changes:
-
-= Rights Changes =
-
-Custom Fields now have an additional right "ModifyCustomField". 
-This right governs whether a user can modify an object's custom field values
-for a particular custom field. This includes adding, deleting and changing values.
-
-
-UPGRADING FROM 3.2 and earlier - Changes:
-
-= Rights changes =
-
-Now, if you want any user to be able to access the Admin tools (a.k.a. 
-the Configuration tab), you must grant that user the "ShowConfigTab" 
-right.  Making the user a privileged user is no longer sufficient.
-
-"SuperUser" users are no longer automatically added to the list of users who can own tickets in a queue. You now need to explicitly give them the "own tickets" right.
-
-
-
-UPGRADING FROM 3.0.x - Changes:
-
-= Installation =
-
-We recommend you move your existing /opt/rt3 tree completely out
-of the way before installating the newversion of RT, to make sure
-that you don't inadvertently leave old files hanging around.
-
-= Rights changes =
-
-Now, if you want RT to automatically create new users upon ticket
-submission, you MUST grant 'Everyone' the right to create tickets.
-Granting this right only to "Unprivileged Users" is now insufficient.
-
-
-= FastCGI configuration =
-
-This section is a snapshot of the documentation available at:
-
-http://wiki.bestpractical.com/index.cgi?FastCGIConfiguration
-
-It's worth checking out that resource if these instructions don't 
-work right for you
-
-
-RT 3.2 includes a signficant change to the FastCGI handler. It is
-no longer "setgid" to the RT group.  Perl's setid support has been
-deprecated for the last several releases and a number of platforms
-don't bundle the "sperl" or "suidperl" executable by default.
-Additionally, when perl is run SetUID or SetGID, the interpreter
-is automatically switched into /taint mode/, in which all incoming
-data, no matter the source is considered suspect. At first, this
-seems like a great idea. But perl's taint mode is a big sledgehammer
-used to hit small nails.  Many perl libraries aren't tested in taint
-mode and will fail when least expected.  Moving away from a SetGID
-FastCGI handler will enable more users to have a smoother RT
-experience.  It does require some changes in how you set up and
-configure RT.
-
-Beginning with RT 3.2, you have several choices about how to configure
-RT to run as a FastCGI:
-
-
-== Install RT as the user your webserver runs as ==
-
-Pros: Very easy to configure
-
-Cons: Your webserver has access to RT's private database password
-
-=== How To
-
-When installing RT, run:
-
- ./configure --with-web-user="webuser"  --with-web-group="webgroup"  \ 
-    --with-rt-user="webuser" --with-rt-group="webgroup"
-
-(Don't forget to include other configuration options that matter to you)
-
-If you're using apache, you'll want to add something like the following 
-to your httpd.conf:
-
- <VirtualHost rt.example.com>
-
-    # Pass through requests to display images
-    Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
-    
-    # Tell FastCGI to put its temporary files somewhere sane.
-    FastCgiIpcDir /tmp
-
-    FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
-
-    AddHandler fastcgi-script fcgi
-    ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
-    
- </VirtualHost>
-
-
-== Make your webserver user a member of the "rt" group ==
-
-Pros: Easy to configure
-
-Cons: Your webserver has access to RT's private database password
-
-
-=== How To
-
-Install RT normally. Add whichever user your webserver runs as
-(whatever you set --with-web-user to) to the "rt" group (whatever
-you set --with-rt-group to) in /etc/groups.
-
-To find out what user your webserver runs as, look for the line
-
-  User some-user-name
-
-in your apache httpd.conf. Common values are www, www-data, web and nobody.
-
-
-
-== Run RT using _suexec_ or a similar mechanism
-
-
-Pros: More secure
-
-Cons: Sometimes very difficult to configure
-
-Apache's _suexec_ utility allows you run CGI programs as specific
-users. Because that's a relatively heavy responsibility, it's very,
-very conservative about what it's willing to do for you. On top of
-that, Apache's mod_fastcgi plugin doesn't respect all of suexec's
-features.  While suexec is designed to execute CGI scripts in a
-given virtual host's !DocumentRoot, It can only execute FastCGI
-scripts in the system's *main* !DocumentRoot.
-
-This means you have to copy the RT FastCGI handler into your main
-!DocumentRoot
-
-The following example !VirtualHost will run RT as a FastCGI on
-Apache 1.3 on a Debian Linux server.
-
-
- <VirtualHost rt.example.com>
-   DocumentRoot /opt/rt3/share/html
-    # Set the rt user and group as the executing user for this virtual host
-    User rt
-    Group rt
-
-
-    # Pass through requests to display images
-    Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
-    
-    # Tell FastCGI to put its temporary files somewhere sane.
-    FastCgiIpcDir /tmp
-
-    # Tell FastCGI that it should use apache's "suexec" binary to call any 
-    # FastCGI script.
-    # This is a GLOBAL setting
-    FastCgiWrapper /usr/lib/apache/suexec
-
-    # You need to copy the rt mason_handler.fcgi into a directory inside 
-    # the main server DocumentRoot
-    # That directory must be owned by the user and group that will execute 
-    # the FastCGI script
-    # In this case, that directory is /var/www/rt
-
-    # To find the local DocumentRoot, run "suexec -V" as root and look for the 
-    #  -D DOC_ROOT parameter.
-
-    # Apache 1.3 discards the user and group parameters on the FastCgiServer 
-    # line. Apache 2.0 requires them.
-
-    FastCgiServer /var/www/rt/mason_handler.fcgi -idle-timeout 120 -user rt -group rt
-
-    AddHandler fastcgi-script fcgi
-    ScriptAlias / /var/www/rt/mason_handler.fcgi/
-    
- </VirtualHost>
-
diff --git a/rt/aclocal.m4 b/rt/aclocal.m4
deleted file mode 100644 (file)
index 67ff30d..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-dnl aclocal.m4 generated automatically by aclocal 1.4-p6
-
-dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl This program is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-dnl PARTICULAR PURPOSE.
-
-dnl
-dnl @synopsis RT_ENABLE_LAYOUT()
-dnl
-dnl Enable a specific directory layout for the installation to use.
-dnl This configures a command-line parameter that can be specified
-dnl at ./configure invocation.
-dnl
-dnl The use of this feature in this way is a little hackish, but
-dnl better than a heap of options for every directory.
-dnl
-dnl This code is heavily borrowed *cough* from the Apache 2 code.
-dnl
-
-AC_DEFUN([RT_ENABLE_LAYOUT],[
-AC_ARG_ENABLE(layout,
-             AC_HELP_STRING([--enable-layout=LAYOUT],
-                            [Use a specific directory layout (Default: RT3)]),
-             LAYOUT=$enableval)
-
-if test "x$LAYOUT" = "x"; then
-       LAYOUT="RT3"
-fi
-RT_LAYOUT($srcdir/config.layout, $LAYOUT)
-AC_MSG_CHECKING(for chosen layout)
-if test "x$rt_layout_name" = "xno"; then
-       if test "x$LAYOUT" = "xno"; then
-               AC_MSG_RESULT(none)
-       else
-               AC_MSG_RESULT($LAYOUT)
-       fi
-       AC_MSG_ERROR([a valid layout must be specified (or the default used)])
-else
-       AC_SUBST(rt_layout_name)
-       AC_MSG_RESULT($rt_layout_name)
-fi
-])
-
-dnl
-dnl @synopsis RT_LAYOUT(configlayout, layoutname)
-dnl
-dnl This macro reads an Apache-style layout file (specified as the
-dnl configlayout parameter), and searches for a specific layout
-dnl (named using the layoutname parameter).
-dnl
-dnl The entries for a given layout are then inserted into the
-dnl environment such that they become available as substitution
-dnl variables. In addition, the rt_layout_name variable is set
-dnl (but not exported) if the layout is valid.
-dnl
-dnl This code is heavily borrowed *cough* from the Apache 2 codebase.
-dnl
-
-AC_DEFUN([RT_LAYOUT],[
-       if test ! -f $srcdir/config.layout; then
-               AC_MSG_WARN([Layout file $srcdir/config.layout not found])
-               rt_layout_name=no
-       else
-               pldconf=./config.pld
-               $PERL  -0777 -p -e "\$layout = '$2';"  -e '
-               s/.*<Layout\s+$layout>//gims; 
-               s/\<\/Layout\>.*//s; 
-               s/^#.*$//m;
-               s/^\s+//gim;
-               s/\s+$/\n/gim;
-               s/\+$/\/rt3/gim;
-               # m4 will not let us just use $1, we need @S|@1
-               s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
-               s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;
-                ' < $1 > $pldconf
-
-               if test -s $pldconf; then
-                       rt_layout_name=$2
-                       . $pldconf
-                       changequote({,})
-                       for var in prefix exec_prefix bindir sbindir \
-                                sysconfdir mandir libdir datadir htmldir \
-                                localstatedir logfiledir masonstatedir \
-                                sessionstatedir customdir custometcdir customhtmldir \
-                                customlexdir customlibdir manualdir; do
-                               eval "val=\"\$$var\""
-                               val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
-                               val=`echo $val | 
-                                       sed -e 's:[\$]\([a-z_]*\):${\1}:g'`
-                               eval "$var='$val'"
-                       done
-                       changequote([,])
-               else
-                       rt_layout_name=no
-               fi
-               #rm $pldconf
-       fi
-       RT_SUBST_EXPANDED_ARG(prefix)
-       RT_SUBST_EXPANDED_ARG(exec_prefix)
-       RT_SUBST_EXPANDED_ARG(bindir)
-       RT_SUBST_EXPANDED_ARG(sbindir)
-       RT_SUBST_EXPANDED_ARG(sysconfdir)
-       RT_SUBST_EXPANDED_ARG(mandir)
-       RT_SUBST_EXPANDED_ARG(libdir)
-       RT_SUBST_EXPANDED_ARG(datadir)
-       RT_SUBST_EXPANDED_ARG(htmldir)
-       RT_SUBST_EXPANDED_ARG(manualdir)
-       RT_SUBST_EXPANDED_ARG(localstatedir)
-       RT_SUBST_EXPANDED_ARG(logfiledir)
-       RT_SUBST_EXPANDED_ARG(masonstatedir)
-       RT_SUBST_EXPANDED_ARG(sessionstatedir)
-       RT_SUBST_EXPANDED_ARG(customdir)
-       RT_SUBST_EXPANDED_ARG(custometcdir)
-       RT_SUBST_EXPANDED_ARG(customhtmldir)
-       RT_SUBST_EXPANDED_ARG(customlexdir)
-       RT_SUBST_EXPANDED_ARG(customlibdir)
-])dnl
-
-dnl
-dnl @synopsis  RT_SUBST_EXPANDED_ARG(var)
-dnl
-dnl Export (via AC_SUBST) a given variable, along with an expanded
-dnl version of the variable (same name, but with exp_ prefix).
-dnl
-dnl This code is heavily borrowed *cough* from the Apache 2 source.
-dnl
-
-AC_DEFUN([RT_SUBST_EXPANDED_ARG],[
-       RT_EXPAND_VAR(exp_$1, [$]$1)
-       AC_SUBST($1)
-       AC_SUBST(exp_$1)
-])
-
-dnl
-dnl @synopsis  RT_EXPAND_VAR(baz, $fraz)
-dnl
-dnl Iteratively expands the second parameter, until successive iterations
-dnl yield no change. The result is then assigned to the first parameter.
-dnl
-dnl This code is heavily borrowed from the Apache 2 codebase.
-dnl
-
-AC_DEFUN([RT_EXPAND_VAR],[
-       ap_last=''
-       ap_cur='$2'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       $1="${ap_cur}"
-])
-
diff --git a/rt/autom4te.cache/output.0 b/rt/autom4te.cache/output.0
deleted file mode 100644 (file)
index 3d27db9..0000000
+++ /dev/null
@@ -1,2771 +0,0 @@
-@%:@! /bin/sh
-@%:@ From configure.ac Revision: 1.1 .
-@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.53 for RT 3.0.9.
-@%:@
-@%:@ Report bugs to <rt-3.0-bugs@fsck.com>.
-@%:@ 
-@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
-@%:@ Free Software Foundation, Inc.
-@%:@ This configure script is free software; the Free Software Foundation
-@%:@ gives unlimited permission to copy, distribute and modify it.
-
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
-
-# Be Bourne compatible
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-  set -o posix
-fi
-
-# NLS nuisances.
-# Support unset when possible.
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
-fi
-
-(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
-    { $as_unset LANG || test "${LANG+set}" != set; } ||
-      { LANG=C; export LANG; }
-(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
-    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
-      { LC_ALL=C; export LC_ALL; }
-(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
-    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
-      { LC_TIME=C; export LC_TIME; }
-(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
-    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
-      { LC_CTYPE=C; export LC_CTYPE; }
-(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
-    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
-      { LANGUAGE=C; export LANGUAGE; }
-(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
-    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
-      { LC_COLLATE=C; export LC_COLLATE; }
-(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
-    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
-      { LC_NUMERIC=C; export LC_NUMERIC; }
-(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
-    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
-      { LC_MESSAGES=C; export LC_MESSAGES; }
-
-
-# Name of the executable.
-as_me=`(basename "$0") 2>/dev/null ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)$' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
-         /^X\/\(\/\/\)$/{ s//\1/; q; }
-         /^X\/\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-
-# PATH needs CR, and LINENO needs CR and PATH.
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conftest.sh
-  echo  "exit 0"   >>conftest.sh
-  chmod +x conftest.sh
-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
-  fi
-  rm -f conftest.sh
-fi
-
-
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
-  # Find who we are.  Look in the path if we contain no path at all
-  # relative or not.
-  case $0 in
-    *[\\/]* ) as_myself=$0 ;;
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-
-       ;;
-  esac
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
-  # in which case we are not to be found in the path.
-  if test "x$as_myself" = x; then
-    as_myself=$0
-  fi
-  if test ! -f "$as_myself"; then
-    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
-   { (exit 1); exit 1; }; }
-  fi
-  case $CONFIG_SHELL in
-  '')
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for as_base in sh bash ksh sh5; do
-        case $as_dir in
-        /*)
-          if ("$as_dir/$as_base" -c '
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
-            CONFIG_SHELL=$as_dir/$as_base
-            export CONFIG_SHELL
-            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
-          fi;;
-        esac
-       done
-done
-;;
-  esac
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line before each line; the second 'sed' does the real
-  # work.  The second script uses 'N' to pair each line-number line
-  # with the numbered line, and appends trailing '-' during
-  # substitution so that $LINENO is not a special case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
-  sed '=' <$as_myself |
-    sed '
-      N
-      s,$,-,
-      : loop
-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
-      t loop
-      s,-$,,
-      s,^['$as_cr_digits']*\n,,
-    ' >$as_me.lineno &&
-  chmod +x $as_me.lineno ||
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
-   { (exit 1); exit 1; }; }
-
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensible to this).
-  . ./$as_me.lineno
-  # Exit status is that of the last command.
-  exit
-}
-
-
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
-  *c*,-n*) ECHO_N= ECHO_C='
-' ECHO_T='     ' ;;
-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  # We could just check for DJGPP; but this test a) works b) is more generic
-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
-  if test -f conf$$.exe; then
-    # Don't use ln at all; we don't have any links
-    as_ln_s='cp -p'
-  else
-    as_ln_s='ln -s'
-  fi
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
-else
-  as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.file
-
-as_executable_p="test -f"
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.
-as_nl='
-'
-IFS="  $as_nl"
-
-# CDPATH.
-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
-
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-exec 6>&1
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Maximum number of lines to put in a shell here document.
-# This variable seems obsolete.  It should probably be removed, and
-# only ac_max_sed_lines should be used.
-: ${ac_max_here_lines=38}
-
-# Identity of this package.
-PACKAGE_NAME='RT'
-PACKAGE_TARNAME='rt'
-PACKAGE_VERSION='3.0.9'
-PACKAGE_STRING='RT 3.0.9'
-PACKAGE_BUGREPORT='rt-3.0-bugs@fsck.com'
-
-ac_unique_file="lib/RT.pm.in"
-ac_default_prefix=/opt/rt3
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-libdir='${exec_prefix}/lib'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-infodir='${prefix}/info'
-mandir='${prefix}/man'
-
-ac_prev=
-for ac_option
-do
-  # If the previous option needs an argument, assign it.
-  if test -n "$ac_prev"; then
-    eval "$ac_prev=\$ac_option"
-    ac_prev=
-    continue
-  fi
-
-  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
-
-  # Accept the important Cygnus configure options, so we can diagnose typos.
-
-  case $ac_option in
-
-  -bindir | --bindir | --bindi | --bind | --bin | --bi)
-    ac_prev=bindir ;;
-  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
-    bindir=$ac_optarg ;;
-
-  -build | --build | --buil | --bui | --bu)
-    ac_prev=build_alias ;;
-  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
-    build_alias=$ac_optarg ;;
-
-  -cache-file | --cache-file | --cache-fil | --cache-fi \
-  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
-    ac_prev=cache_file ;;
-  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
-  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
-    cache_file=$ac_optarg ;;
-
-  --config-cache | -C)
-    cache_file=config.cache ;;
-
-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
-    ac_prev=datadir ;;
-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
-  | --da=*)
-    datadir=$ac_optarg ;;
-
-  -disable-* | --disable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
-    eval "enable_$ac_feature=no" ;;
-
-  -enable-* | --enable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
-    case $ac_option in
-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
-      *) ac_optarg=yes ;;
-    esac
-    eval "enable_$ac_feature='$ac_optarg'" ;;
-
-  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
-  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
-  | --exec | --exe | --ex)
-    ac_prev=exec_prefix ;;
-  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
-  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
-  | --exec=* | --exe=* | --ex=*)
-    exec_prefix=$ac_optarg ;;
-
-  -gas | --gas | --ga | --g)
-    # Obsolete; use --with-gas.
-    with_gas=yes ;;
-
-  -help | --help | --hel | --he | -h)
-    ac_init_help=long ;;
-  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
-    ac_init_help=recursive ;;
-  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
-    ac_init_help=short ;;
-
-  -host | --host | --hos | --ho)
-    ac_prev=host_alias ;;
-  -host=* | --host=* | --hos=* | --ho=*)
-    host_alias=$ac_optarg ;;
-
-  -includedir | --includedir | --includedi | --included | --include \
-  | --includ | --inclu | --incl | --inc)
-    ac_prev=includedir ;;
-  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
-  | --includ=* | --inclu=* | --incl=* | --inc=*)
-    includedir=$ac_optarg ;;
-
-  -infodir | --infodir | --infodi | --infod | --info | --inf)
-    ac_prev=infodir ;;
-  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-    infodir=$ac_optarg ;;
-
-  -libdir | --libdir | --libdi | --libd)
-    ac_prev=libdir ;;
-  -libdir=* | --libdir=* | --libdi=* | --libd=*)
-    libdir=$ac_optarg ;;
-
-  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
-  | --libexe | --libex | --libe)
-    ac_prev=libexecdir ;;
-  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
-  | --libexe=* | --libex=* | --libe=*)
-    libexecdir=$ac_optarg ;;
-
-  -localstatedir | --localstatedir | --localstatedi | --localstated \
-  | --localstate | --localstat | --localsta | --localst \
-  | --locals | --local | --loca | --loc | --lo)
-    ac_prev=localstatedir ;;
-  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
-    localstatedir=$ac_optarg ;;
-
-  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
-    ac_prev=mandir ;;
-  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-    mandir=$ac_optarg ;;
-
-  -nfp | --nfp | --nf)
-    # Obsolete; use --without-fp.
-    with_fp=no ;;
-
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
-  | --no-cr | --no-c | -n)
-    no_create=yes ;;
-
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
-    no_recursion=yes ;;
-
-  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
-  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
-  | --oldin | --oldi | --old | --ol | --o)
-    ac_prev=oldincludedir ;;
-  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
-  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
-  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
-    oldincludedir=$ac_optarg ;;
-
-  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
-    ac_prev=prefix ;;
-  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
-    prefix=$ac_optarg ;;
-
-  -program-prefix | --program-prefix | --program-prefi | --program-pref \
-  | --program-pre | --program-pr | --program-p)
-    ac_prev=program_prefix ;;
-  -program-prefix=* | --program-prefix=* | --program-prefi=* \
-  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
-    program_prefix=$ac_optarg ;;
-
-  -program-suffix | --program-suffix | --program-suffi | --program-suff \
-  | --program-suf | --program-su | --program-s)
-    ac_prev=program_suffix ;;
-  -program-suffix=* | --program-suffix=* | --program-suffi=* \
-  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
-    program_suffix=$ac_optarg ;;
-
-  -program-transform-name | --program-transform-name \
-  | --program-transform-nam | --program-transform-na \
-  | --program-transform-n | --program-transform- \
-  | --program-transform | --program-transfor \
-  | --program-transfo | --program-transf \
-  | --program-trans | --program-tran \
-  | --progr-tra | --program-tr | --program-t)
-    ac_prev=program_transform_name ;;
-  -program-transform-name=* | --program-transform-name=* \
-  | --program-transform-nam=* | --program-transform-na=* \
-  | --program-transform-n=* | --program-transform-=* \
-  | --program-transform=* | --program-transfor=* \
-  | --program-transfo=* | --program-transf=* \
-  | --program-trans=* | --program-tran=* \
-  | --progr-tra=* | --program-tr=* | --program-t=*)
-    program_transform_name=$ac_optarg ;;
-
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil)
-    silent=yes ;;
-
-  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-    ac_prev=sbindir ;;
-  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-  | --sbi=* | --sb=*)
-    sbindir=$ac_optarg ;;
-
-  -sharedstatedir | --sharedstatedir | --sharedstatedi \
-  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
-  | --sharedst | --shareds | --shared | --share | --shar \
-  | --sha | --sh)
-    ac_prev=sharedstatedir ;;
-  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
-  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
-  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
-  | --sha=* | --sh=*)
-    sharedstatedir=$ac_optarg ;;
-
-  -site | --site | --sit)
-    ac_prev=site ;;
-  -site=* | --site=* | --sit=*)
-    site=$ac_optarg ;;
-
-  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
-    ac_prev=srcdir ;;
-  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
-    srcdir=$ac_optarg ;;
-
-  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
-  | --syscon | --sysco | --sysc | --sys | --sy)
-    ac_prev=sysconfdir ;;
-  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
-  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-    sysconfdir=$ac_optarg ;;
-
-  -target | --target | --targe | --targ | --tar | --ta | --t)
-    ac_prev=target_alias ;;
-  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
-    target_alias=$ac_optarg ;;
-
-  -v | -verbose | --verbose | --verbos | --verbo | --verb)
-    verbose=yes ;;
-
-  -version | --version | --versio | --versi | --vers | -V)
-    ac_init_version=: ;;
-
-  -with-* | --with-*)
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package| sed 's/-/_/g'`
-    case $ac_option in
-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
-      *) ac_optarg=yes ;;
-    esac
-    eval "with_$ac_package='$ac_optarg'" ;;
-
-  -without-* | --without-*)
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package | sed 's/-/_/g'`
-    eval "with_$ac_package=no" ;;
-
-  --x)
-    # Obsolete; use --with-x.
-    with_x=yes ;;
-
-  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
-  | --x-incl | --x-inc | --x-in | --x-i)
-    ac_prev=x_includes ;;
-  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
-  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
-    x_includes=$ac_optarg ;;
-
-  -x-libraries | --x-libraries | --x-librarie | --x-librari \
-  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
-    ac_prev=x_libraries ;;
-  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
-  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
-    x_libraries=$ac_optarg ;;
-
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
-   { (exit 1); exit 1; }; }
-    ;;
-
-  *=*)
-    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
-   { (exit 1); exit 1; }; }
-    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
-    eval "$ac_envvar='$ac_optarg'"
-    export $ac_envvar ;;
-
-  *)
-    # FIXME: should be removed in autoconf 3.0.
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
-    ;;
-
-  esac
-done
-
-if test -n "$ac_prev"; then
-  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  { echo "$as_me: error: missing argument to $ac_option" >&2
-   { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute paths.
-for ac_var in exec_prefix prefix
-do
-  eval ac_val=$`echo $ac_var`
-  case $ac_val in
-    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
-   { (exit 1); exit 1; }; };;
-  esac
-done
-
-# Be sure to have absolute paths.
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
-              localstatedir libdir includedir oldincludedir infodir mandir
-do
-  eval ac_val=$`echo $ac_var`
-  case $ac_val in
-    [\\/$]* | ?:[\\/]* ) ;;
-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
-   { (exit 1); exit 1; }; };;
-  esac
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
-  if test "x$build_alias" = x; then
-    cross_compiling=maybe
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used." >&2
-  elif test "x$build_alias" != "x$host_alias"; then
-    cross_compiling=yes
-  fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
-  ac_srcdir_defaulted=yes
-  # Try the directory containing this script, then its parent.
-  ac_confdir=`(dirname "$0") 2>/dev/null ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-         X"$0" : 'X\(//\)[^/]' \| \
-         X"$0" : 'X\(//\)$' \| \
-         X"$0" : 'X\(/\)' \| \
-         .     : '\(.\)' 2>/dev/null ||
-echo X"$0" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-         /^X\(\/\/\)$/{ s//\1/; q; }
-         /^X\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-  srcdir=$ac_confdir
-  if test ! -r $srcdir/$ac_unique_file; then
-    srcdir=..
-  fi
-else
-  ac_srcdir_defaulted=no
-fi
-if test ! -r $srcdir/$ac_unique_file; then
-  if test "$ac_srcdir_defaulted" = yes; then
-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
-   { (exit 1); exit 1; }; }
-  else
-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-   { (exit 1); exit 1; }; }
-  fi
-fi
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
-ac_env_build_alias_set=${build_alias+set}
-ac_env_build_alias_value=$build_alias
-ac_cv_env_build_alias_set=${build_alias+set}
-ac_cv_env_build_alias_value=$build_alias
-ac_env_host_alias_set=${host_alias+set}
-ac_env_host_alias_value=$host_alias
-ac_cv_env_host_alias_set=${host_alias+set}
-ac_cv_env_host_alias_value=$host_alias
-ac_env_target_alias_set=${target_alias+set}
-ac_env_target_alias_value=$target_alias
-ac_cv_env_target_alias_set=${target_alias+set}
-ac_cv_env_target_alias_value=$target_alias
-ac_env_PERL_set=${PERL+set}
-ac_env_PERL_value=$PERL
-ac_cv_env_PERL_set=${PERL+set}
-ac_cv_env_PERL_value=$PERL
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
-  # Omit some internal or obsolete options to make the list less imposing.
-  # This message is too long to be a string in the A/UX 3.1 sh.
-  cat <<_ACEOF
-\`configure' configures RT 3.0.9 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE.  See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
-  -h, --help              display this help and exit
-      --help=short        display options specific to this package
-      --help=recursive    display the short help of all the included packages
-  -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking...' messages
-      --cache-file=FILE   cache test results in FILE [disabled]
-  -C, --config-cache      alias for \`--cache-file=config.cache'
-  -n, --no-create         do not create output files
-      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
-
-_ACEOF
-
-  cat <<_ACEOF
-Installation directories:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-                          [$ac_default_prefix]
-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-                          [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
-  --bindir=DIR           user executables [EPREFIX/bin]
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
-  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
-  --libdir=DIR           object code libraries [EPREFIX/lib]
-  --includedir=DIR       C header files [PREFIX/include]
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
-  --infodir=DIR          info documentation [PREFIX/info]
-  --mandir=DIR           man documentation [PREFIX/man]
-_ACEOF
-
-  cat <<\_ACEOF
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-  case $ac_init_help in
-     short | recursive ) echo "Configuration of RT 3.0.9:";;
-   esac
-  cat <<\_ACEOF
-
-Optional Features:
-  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
-  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --enable-layout=LAYOUT  Use a specific directory layout (Default: RT3)
-
-Optional Packages:
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-speedycgi=/path/to/speedy 
-                          path to your speedycgi binary, if it exists
-  --with-rt-group=GROUP   group to own all files (default: rt)
-  --with-bin-owner=OWNER  user that will own rt binaries (default root)
-  --with-libs-owner=OWNER user that will own RT libraries (default root)
-  --with-libs-group=GROUP group that will own rt binaries (default bin)
-  --with-db-type=TYPE     sort of database RT will use (default: mysql)
-                          (mysql, Pg, Oracle and Informix are valid)
-  --with-db-host=HOSTNAME FQDN of database server (default: localhost)
-  --with-db-port=PORT     port on which the database listens on
-  --with-db-rt-host=HOSTNAME 
-                          FQDN of RT server which talks to the database server
-                          (default: localhost)
-  --with-db-dba=DBA       name of database administrator (default: root)
-  --with-db-database=DBNAME 
-                          name of the database to use (default: rt3)
-  --with-db-rt-user=DBUSER 
-                          name of database user (default: rt_user)
-  --with-db-rt-pass=PASSWORD 
-                          password for database user (default: rt_pass)
-  --with-web-user=USER    user the web server runs as (default: www)
-  --with-web-group=GROUP  group the web server runs as (default: www)
-  --with-my-user-group    set all users and groups to current user/group
-
-Some influential environment variables:
-  PERL        Perl interpreter command
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to <rt-3.0-bugs@fsck.com>.
-_ACEOF
-fi
-
-if test "$ac_init_help" = "recursive"; then
-  # If there are subdirs, report their specific --help.
-  ac_popdir=`pwd`
-  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
-    test -d $ac_dir || continue
-    ac_builddir=.
-
-if test "$ac_dir" != .; then
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
-  # A "../" for each directory in $ac_dir_suffix.
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
-else
-  ac_dir_suffix= ac_top_builddir=
-fi
-
-case $srcdir in
-  .)  # No --srcdir option.  We are building in place.
-    ac_srcdir=.
-    if test -z "$ac_top_builddir"; then
-       ac_top_srcdir=.
-    else
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
-    fi ;;
-  [\\/]* | ?:[\\/]* )  # Absolute path.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir ;;
-  *) # Relative path.
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
-esac
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
-# absolute.
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
-
-    cd $ac_dir
-    # Check for guested configure; otherwise get Cygnus style configure.
-    if test -f $ac_srcdir/configure.gnu; then
-      echo
-      $SHELL $ac_srcdir/configure.gnu  --help=recursive
-    elif test -f $ac_srcdir/configure; then
-      echo
-      $SHELL $ac_srcdir/configure  --help=recursive
-    elif test -f $ac_srcdir/configure.ac ||
-           test -f $ac_srcdir/configure.in; then
-      echo
-      $ac_configure --help
-    else
-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
-    fi
-    cd $ac_popdir
-  done
-fi
-
-test -n "$ac_init_help" && exit 0
-if $ac_init_version; then
-  cat <<\_ACEOF
-RT configure 3.0.9
-generated by GNU Autoconf 2.53
-
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
-Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
-  exit 0
-fi
-exec 5>config.log
-cat >&5 <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by RT $as_me 3.0.9, which was
-generated by GNU Autoconf 2.53.  Invocation command line was
-
-  $ $0 $@
-
-_ACEOF
-{
-cat <<_ASUNAME
-@%:@@%:@ --------- @%:@@%:@
-@%:@@%:@ Platform. @%:@@%:@
-@%:@@%:@ --------- @%:@@%:@
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
-
-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  echo "PATH: $as_dir"
-done
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-@%:@@%:@ ----------- @%:@@%:@
-@%:@@%:@ Core tests. @%:@@%:@
-@%:@@%:@ ----------- @%:@@%:@
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Also quote any args containing shell meta-characters.
-ac_configure_args=
-ac_sep=
-for ac_arg
-do
-  case $ac_arg in
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
-  | --no-cr | --no-c | -n ) continue ;;
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
-    continue ;;
-  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
-    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
-  esac
-  case " $ac_configure_args " in
-    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
-    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
-       ac_sep=" " ;;
-  esac
-  # Get rid of the leading space.
-done
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log.  We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Be sure not to use single quotes in there, as some shells,
-# such as our DU 5.0 friend, will then `close' the trap.
-trap 'exit_status=$?
-  # Save into config.log some information that might help in debugging.
-  {
-    echo
-    cat <<\_ASBOX
-@%:@@%:@ ---------------- @%:@@%:@
-@%:@@%:@ Cache variables. @%:@@%:@
-@%:@@%:@ ---------------- @%:@@%:@
-_ASBOX
-    echo
-    # The following way of writing the cache mishandles newlines in values,
-{
-  (set) 2>&1 |
-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
-    *ac_space=\ *)
-      sed -n \
-        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
-      ;;
-    *)
-      sed -n \
-        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
-      ;;
-    esac;
-}
-    echo
-    if test -s confdefs.h; then
-      cat <<\_ASBOX
-@%:@@%:@ ----------- @%:@@%:@
-@%:@@%:@ confdefs.h. @%:@@%:@
-@%:@@%:@ ----------- @%:@@%:@
-_ASBOX
-      echo
-      sed "/^$/d" confdefs.h
-      echo
-    fi
-    test "$ac_signal" != 0 &&
-      echo "$as_me: caught signal $ac_signal"
-    echo "$as_me: exit $exit_status"
-  } >&5
-  rm -f core core.* *.core &&
-  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
-    exit $exit_status
-     ' 0
-for ac_signal in 1 2 13 15; do
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -rf conftest* confdefs.h
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
-echo >confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -z "$CONFIG_SITE"; then
-  if test "x$prefix" != xNONE; then
-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
-  else
-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
-  fi
-fi
-for ac_site_file in $CONFIG_SITE; do
-  if test -r "$ac_site_file"; then
-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
-    sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file"
-  fi
-done
-
-if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special
-  # files actually), so we avoid doing that.
-  if test -f "$cache_file"; then
-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
-    case $cache_file in
-      [\\/]* | ?:[\\/]* ) . $cache_file;;
-      *)                      . ./$cache_file;;
-    esac
-  fi
-else
-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
-  >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in `(set) 2>&1 |
-               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
-  eval ac_new_set=\$ac_env_${ac_var}_set
-  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
-  eval ac_new_val="\$ac_env_${ac_var}_value"
-  case $ac_old_set,$ac_new_set in
-    set,)
-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,set)
-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,);;
-    *)
-      if test "x$ac_old_val" != "x$ac_new_val"; then
-        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
-        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
-echo "$as_me:   former value:  $ac_old_val" >&2;}
-        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
-echo "$as_me:   current value: $ac_new_val" >&2;}
-        ac_cache_corrupted=:
-      fi;;
-  esac
-  # Pass precious variables to config.status.
-  if test "$ac_new_set" = set; then
-    case $ac_new_val in
-    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
-      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
-    *) ac_arg=$ac_var=$ac_new_val ;;
-    esac
-    case " $ac_configure_args " in
-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
-    esac
-  fi
-done
-if $ac_cache_corrupted; then
-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-rt_version_major=3
-
-rt_version_minor=0
-
-rt_version_patch=9
-
-test "x$rt_version_major" = 'x' && rt_version_major=0
-test "x$rt_version_minor" = 'x' && rt_version_minor=0
-test "x$rt_version_patch" = 'x' && rt_version_patch=0
-
-ac_aux_dir=
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
-  if test -f $ac_dir/install-sh; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install-sh -c"
-    break
-  elif test -f $ac_dir/install.sh; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install.sh -c"
-    break
-  elif test -f $ac_dir/shtool; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/shtool install -c"
-    break
-  fi
-done
-if test -z "$ac_aux_dir"; then
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
-   { (exit 1); exit 1; }; }
-fi
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
-
-# Find a good install program.  We prefer a C program (faster),
-# so one script is as good as another.  But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# ./install, which can be erroneously created by make from ./install.sh.
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
-  ./ | .// | /cC/* | \
-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
-  /usr/ucb/* ) ;;
-  *)
-    # OSF1 and SCO ODT 3.0 have their own names for install.
-    # Don't use installbsd from OSF since it installs stuff as root
-    # by default.
-    for ac_prog in ginstall scoinst install; do
-      for ac_exec_ext in '' $ac_executable_extensions; do
-        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
-          if test $ac_prog = install &&
-            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-            # AIX install.  It has an incompatible calling convention.
-            :
-          elif test $ac_prog = install &&
-            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-            # program-specific install script used by HP pwplus--don't use.
-            :
-          else
-            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
-            break 3
-          fi
-        fi
-      done
-    done
-    ;;
-esac
-done
-
-
-fi
-  if test "${ac_cv_path_install+set}" = set; then
-    INSTALL=$ac_cv_path_install
-  else
-    # As a last resort, use the slow shell script.  We don't cache a
-    # path for INSTALL within a source directory, because that will
-    # break other packages using the cache if that directory is
-    # removed, or if the path is relative.
-    INSTALL=$ac_install_sh
-  fi
-fi
-echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-# Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
-echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-if test "${ac_cv_path_PERL+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  case $PERL in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-
-  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
-  ;;
-esac
-fi
-PERL=$ac_cv_path_PERL
-
-if test -n "$PERL"; then
-  echo "$as_me:$LINENO: result: $PERL" >&5
-echo "${ECHO_T}$PERL" >&6
-else
-  echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
-if test "$PERL" = 'not found'; then
-       { { echo "$as_me:$LINENO: error: cannot use $PACKAGE_NAME without perl" >&5
-echo "$as_me: error: cannot use $PACKAGE_NAME without perl" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-# Check whether --with-speedycgi or --without-speedycgi was given.
-if test "${with_speedycgi+set}" = set; then
-  withval="$with_speedycgi"
-  SPEEDY_BIN=$withval
-else
-  SPEEDY_BIN=/usr/local/bin/speedy
-fi;  
-
-
-
-
-
-# Check whether --enable-layout or --disable-layout was given.
-if test "${enable_layout+set}" = set; then
-  enableval="$enable_layout"
-  LAYOUT=$enableval
-fi; 
-
-if test "x$LAYOUT" = "x"; then
-       LAYOUT="RT3"
-fi
-
-       if test ! -f $srcdir/config.layout; then
-               { echo "$as_me:$LINENO: WARNING: Layout file $srcdir/config.layout not found" >&5
-echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
-               rt_layout_name=no
-       else
-               pldconf=./config.pld
-               $PERL  -0777 -p -e "\$layout = '$LAYOUT';"  -e '
-               s/.*<Layout\s+$layout>//gims; 
-               s/\<\/Layout\>.*//s; 
-               s/^#.*$//m;
-               s/^\s+//gim;
-               s/\s+$/\n/gim;
-               s/\+$/\/rt3/gim;
-               # m4 will not let us just use $srcdir/config.layout, we need @S|@1
-               s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
-               s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;
-                ' < $srcdir/config.layout > $pldconf
-
-               if test -s $pldconf; then
-                       rt_layout_name=$LAYOUT
-                       . $pldconf
-                       
-                       for var in prefix exec_prefix bindir sbindir \
-                                sysconfdir mandir libdir datadir htmldir \
-                                localstatedir logfiledir masonstatedir \
-                                sessionstatedir customdir custometcdir customhtmldir \
-                                customlexdir customlibdir manualdir; do
-                               eval "val=\"\$$var\""
-                               val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
-                               val=`echo $val | 
-                                       sed -e 's:[\$]\([a-z_]*\):$\1:g'`
-                               eval "$var='$val'"
-                       done
-                       
-               else
-                       rt_layout_name=no
-               fi
-               #rm $pldconf
-       fi
-       
-       
-       ap_last=''
-       ap_cur='$prefix'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_prefix="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$exec_prefix'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_exec_prefix="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$bindir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_bindir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$sbindir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_sbindir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$sysconfdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_sysconfdir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$mandir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_mandir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$libdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_libdir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$datadir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_datadir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$htmldir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_htmldir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$manualdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_manualdir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$localstatedir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_localstatedir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$logfiledir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_logfiledir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$masonstatedir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_masonstatedir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$sessionstatedir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_sessionstatedir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$customdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customdir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$custometcdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_custometcdir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$customhtmldir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customhtmldir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$customlexdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customlexdir="${ap_cur}"
-
-       
-       
-
-       
-       
-       ap_last=''
-       ap_cur='$customlibdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customlibdir="${ap_cur}"
-
-       
-       
-
-
-echo "$as_me:$LINENO: checking for chosen layout" >&5
-echo $ECHO_N "checking for chosen layout... $ECHO_C" >&6
-if test "x$rt_layout_name" = "xno"; then
-       if test "x$LAYOUT" = "xno"; then
-               echo "$as_me:$LINENO: result: none" >&5
-echo "${ECHO_T}none" >&6
-       else
-               echo "$as_me:$LINENO: result: $LAYOUT" >&5
-echo "${ECHO_T}$LAYOUT" >&6
-       fi
-       { { echo "$as_me:$LINENO: error: a valid layout must be specified (or the default used)" >&5
-echo "$as_me: error: a valid layout must be specified (or the default used)" >&2;}
-   { (exit 1); exit 1; }; }
-else
-       
-       echo "$as_me:$LINENO: result: $rt_layout_name" >&5
-echo "${ECHO_T}$rt_layout_name" >&6
-fi
-
-
-
-# Check whether --with-rt-group or --without-rt-group was given.
-if test "${with_rt_group+set}" = set; then
-  withval="$with_rt_group"
-  RTGROUP=$withval
-else
-  RTGROUP=rt
-fi; 
-
-
-
-# Check whether --with-bin-owner or --without-bin-owner was given.
-if test "${with_bin_owner+set}" = set; then
-  withval="$with_bin_owner"
-  BIN_OWNER=$withval
-else
-  BIN_OWNER=root
-fi; 
-
-
-
-# Check whether --with-libs-owner or --without-libs-owner was given.
-if test "${with_libs_owner+set}" = set; then
-  withval="$with_libs_owner"
-  LIBS_OWNER=$withval
-else
-  LIBS_OWNER=root
-fi; 
-
-
-
-# Check whether --with-libs-group or --without-libs-group was given.
-if test "${with_libs_group+set}" = set; then
-  withval="$with_libs_group"
-  LIBS_GROUP=$withval
-else
-  LIBS_GROUP=bin
-fi; 
-
-
-
-# Check whether --with-db-type or --without-db-type was given.
-if test "${with_db_type+set}" = set; then
-  withval="$with_db_type"
-  DB_TYPE=$withval
-else
-  DB_TYPE=mysql
-fi; 
-if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' -a "$DB_TYPE" != 'Informix' ; then
-       { { echo "$as_me:$LINENO: error: Only Oracle, Informix, Pg and mysql are valid db types" >&5
-echo "$as_me: error: Only Oracle, Informix, Pg and mysql are valid db types" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-
-if test "$DB_TYPE" = 'Oracle'; then
-       test "x$ORACLE_HOME" = 'x' && { { echo "$as_me:$LINENO: error: Please declare the ORACLE_HOME environment variable" >&5
-echo "$as_me: error: Please declare the ORACLE_HOME environment variable" >&2;}
-   { (exit 1); exit 1; }; }
-       ORACLE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
-fi
-
-
-
-# Check whether --with-db-host or --without-db-host was given.
-if test "${with_db_host+set}" = set; then
-  withval="$with_db_host"
-  DB_HOST=$withval
-else
-  DB_HOST=localhost
-fi; 
-
-
-
-# Check whether --with-db-port or --without-db-port was given.
-if test "${with_db_port+set}" = set; then
-  withval="$with_db_port"
-  DB_PORT=$withval
-else
-  DB_PORT=
-fi; 
-
-
-
-# Check whether --with-db-rt-host or --without-db-rt-host was given.
-if test "${with_db_rt_host+set}" = set; then
-  withval="$with_db_rt_host"
-  DB_RT_HOST=$withval
-else
-  DB_RT_HOST=localhost
-fi; 
-
-
-
-# Check whether --with-db-dba or --without-db-dba was given.
-if test "${with_db_dba+set}" = set; then
-  withval="$with_db_dba"
-  DB_DBA=$withval
-else
-  DB_DBA=root
-fi; 
-
-
-
-# Check whether --with-db-database or --without-db-database was given.
-if test "${with_db_database+set}" = set; then
-  withval="$with_db_database"
-  DB_DATABASE=$withval
-else
-  DB_DATABASE=rt3
-fi; 
-
-
-
-# Check whether --with-db-rt-user or --without-db-rt-user was given.
-if test "${with_db_rt_user+set}" = set; then
-  withval="$with_db_rt_user"
-  DB_RT_USER=$withval
-else
-  DB_RT_USER=rt_user
-fi; 
-
-
-
-# Check whether --with-db-rt-pass or --without-db-rt-pass was given.
-if test "${with_db_rt_pass+set}" = set; then
-  withval="$with_db_rt_pass"
-  DB_RT_PASS=$withval
-else
-  DB_RT_PASS=rt_pass
-fi; 
-
-
-
-# Check whether --with-web-user or --without-web-user was given.
-if test "${with_web_user+set}" = set; then
-  withval="$with_web_user"
-  WEB_USER=$withval
-else
-  WEB_USER=www
-fi; 
-
-
-
-# Check whether --with-web-group or --without-web-group was given.
-if test "${with_web_group+set}" = set; then
-  withval="$with_web_group"
-  WEB_GROUP=$withval
-else
-  WEB_GROUP=www
-fi; 
-
-
-my_group=$(groups|cut -f1 -d' ')
-
-# Check whether --with-my-user-group or --without-my-user-group was given.
-if test "${with_my_user_group+set}" = set; then
-  withval="$with_my_user_group"
-  RTGROUP=$my_group
-            BIN_OWNER=$USER
-            LIBS_OWNER=$USER
-            LIBS_GROUP=$my_group
-            WEB_USER=$USER
-            WEB_GROUP=$my_group
-fi; 
-
-
-RT_VERSION_MAJOR=${rt_version_major}
-
-RT_VERSION_MINOR=${rt_version_minor}
-
-RT_VERSION_PATCH=${rt_version_patch}
-
-
-RT_PATH=${exp_prefix}
-
-RT_DOC_PATH=${exp_manualdir}
-
-RT_LOCAL_PATH=${exp_customdir}
-
-RT_LIB_PATH=${exp_libdir}
-
-RT_ETC_PATH=${exp_sysconfdir}
-
-CONFIG_FILE_PATH=${exp_sysconfdir}
-
-RT_BIN_PATH=${exp_bindir}
-
-RT_SBIN_PATH=${exp_sbindir}
-
-RT_VAR_PATH=${exp_localstatedir}
-
-RT_MAN_PATH=${exp_mandir}
-
-MASON_DATA_PATH=${exp_masonstatedir}
-
-MASON_SESSION_PATH=${exp_sessionstatedir}
-
-MASON_HTML_PATH=${exp_htmldir}
-
-LOCAL_ETC_PATH=${exp_custometcdir}
-
-MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
-
-LOCAL_LEXICON_PATH=${exp_customlexdir}
-
-LOCAL_LIB_PATH=${exp_customlibdir}
-
-DESTDIR=${exp_prefix}
-
-RT_LOG_PATH=${exp_logfiledir}
-
-
-
-ac_config_files="$ac_config_files sbin/rt-setup-database sbin/rt-test-dependencies Makefile etc/RT_Config.pm lib/RT.pm lib/t/00smoke.t lib/t/01harness.t lib/t/02regression.t lib/t/03web.pl lib/t/04_send_email.pl bin/mason_handler.fcgi bin/mason_handler.scgi bin/mason_handler.svc bin/rt-commit-handler bin/rt-crontool bin/rt-mailgate bin/rt bin/webmux.pl"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems.  If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overriden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, don't put newlines in cache variables' values.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-{
-  (set) 2>&1 |
-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
-    *ac_space=\ *)
-      # `set' does not quote correctly, so add quotes (double-quote
-      # substitution turns \\\\ into \\, and sed turns \\ into \).
-      sed -n \
-        "s/'/'\\\\''/g;
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
-      ;;
-    *)
-      # `set' quotes correctly as required by POSIX, so do not add quotes.
-      sed -n \
-        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
-      ;;
-    esac;
-} |
-  sed '
-     t clear
-     : clear
-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
-     t end
-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
-     : end' >>confcache
-if cmp -s $cache_file confcache; then :; else
-  if test -w $cache_file; then
-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
-    cat confcache >$cache_file
-  else
-    echo "not updating unwritable cache $cache_file"
-  fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
-  ac_vpsub='/^[        ]*VPATH[        ]*=/{
-s/:*\$(srcdir):*/:/;
-s/:*\${srcdir}:*/:/;
-s/:*@srcdir@:*/:/;
-s/^\([^=]*=[   ]*\):*/\1/;
-s/:*$//;
-s/^[^=]*=[     ]*$//;
-}'
-fi
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then we branch to the quote section.  Otherwise,
-# look for a macro that doesn't take arguments.
-cat >confdef2opt.sed <<\_ACEOF
-t clear
-: clear
-s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
-t quote
-s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
-t quote
-d
-: quote
-s,[    `~#$^&*(){}\\|;'"<>?],\\&,g
-s,\[,\\&,g
-s,\],\\&,g
-s,\$,$$,g
-p
-_ACEOF
-# We use echo to avoid assuming a particular line-breaking character.
-# The extra dot is to prevent the shell from consuming trailing
-# line-breaks from the sub-command output.  A line-break within
-# single-quotes doesn't work because, if this script is created in a
-# platform that uses two characters for line-breaks (e.g., DOS), tr
-# would break.
-ac_LF_and_DOT=`echo; echo .`
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
-rm -f confdef2opt.sed
-
-
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
-
-# Be Bourne compatible
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-  set -o posix
-fi
-
-# NLS nuisances.
-# Support unset when possible.
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
-fi
-
-(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
-    { $as_unset LANG || test "${LANG+set}" != set; } ||
-      { LANG=C; export LANG; }
-(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
-    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
-      { LC_ALL=C; export LC_ALL; }
-(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
-    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
-      { LC_TIME=C; export LC_TIME; }
-(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
-    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
-      { LC_CTYPE=C; export LC_CTYPE; }
-(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
-    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
-      { LANGUAGE=C; export LANGUAGE; }
-(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
-    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
-      { LC_COLLATE=C; export LC_COLLATE; }
-(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
-    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
-      { LC_NUMERIC=C; export LC_NUMERIC; }
-(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
-    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
-      { LC_MESSAGES=C; export LC_MESSAGES; }
-
-
-# Name of the executable.
-as_me=`(basename "$0") 2>/dev/null ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)$' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
-         /^X\/\(\/\/\)$/{ s//\1/; q; }
-         /^X\/\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-
-# PATH needs CR, and LINENO needs CR and PATH.
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conftest.sh
-  echo  "exit 0"   >>conftest.sh
-  chmod +x conftest.sh
-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
-  fi
-  rm -f conftest.sh
-fi
-
-
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
-  # Find who we are.  Look in the path if we contain no path at all
-  # relative or not.
-  case $0 in
-    *[\\/]* ) as_myself=$0 ;;
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-
-       ;;
-  esac
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
-  # in which case we are not to be found in the path.
-  if test "x$as_myself" = x; then
-    as_myself=$0
-  fi
-  if test ! -f "$as_myself"; then
-    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
-   { (exit 1); exit 1; }; }
-  fi
-  case $CONFIG_SHELL in
-  '')
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for as_base in sh bash ksh sh5; do
-        case $as_dir in
-        /*)
-          if ("$as_dir/$as_base" -c '
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
-            CONFIG_SHELL=$as_dir/$as_base
-            export CONFIG_SHELL
-            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
-          fi;;
-        esac
-       done
-done
-;;
-  esac
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line before each line; the second 'sed' does the real
-  # work.  The second script uses 'N' to pair each line-number line
-  # with the numbered line, and appends trailing '-' during
-  # substitution so that $LINENO is not a special case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
-  sed '=' <$as_myself |
-    sed '
-      N
-      s,$,-,
-      : loop
-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
-      t loop
-      s,-$,,
-      s,^['$as_cr_digits']*\n,,
-    ' >$as_me.lineno &&
-  chmod +x $as_me.lineno ||
-    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
-   { (exit 1); exit 1; }; }
-
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensible to this).
-  . ./$as_me.lineno
-  # Exit status is that of the last command.
-  exit
-}
-
-
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
-  *c*,-n*) ECHO_N= ECHO_C='
-' ECHO_T='     ' ;;
-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  # We could just check for DJGPP; but this test a) works b) is more generic
-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
-  if test -f conf$$.exe; then
-    # Don't use ln at all; we don't have any links
-    as_ln_s='cp -p'
-  else
-    as_ln_s='ln -s'
-  fi
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
-else
-  as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.file
-
-as_executable_p="test -f"
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.
-as_nl='
-'
-IFS="  $as_nl"
-
-# CDPATH.
-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
-
-exec 6>&1
-
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.  Logging --version etc. is OK.
-exec 5>>config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
-@%:@@%:@ Running $as_me. @%:@@%:@
-_ASBOX
-} >&5
-cat >&5 <<_CSEOF
-
-This file was extended by RT $as_me 3.0.9, which was
-generated by GNU Autoconf 2.53.  Invocation command line was
-
-  CONFIG_FILES    = $CONFIG_FILES
-  CONFIG_HEADERS  = $CONFIG_HEADERS
-  CONFIG_LINKS    = $CONFIG_LINKS
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
-  $ $0 $@
-
-_CSEOF
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
-echo >&5
-_ACEOF
-
-# Files that config.status was made for.
-if test -n "$ac_config_files"; then
-  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
-fi
-
-if test -n "$ac_config_headers"; then
-  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
-fi
-
-if test -n "$ac_config_links"; then
-  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
-fi
-
-if test -n "$ac_config_commands"; then
-  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
-  -h, --help       print this help, then exit
-  -V, --version    print version number, then exit
-  -d, --debug      don't remove temporary files
-      --recheck    update $as_me by reconfiguring in the same conditions
-  --file=FILE[:TEMPLATE]
-                   instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to <bug-autoconf@gnu.org>."
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-RT config.status 3.0.9
-configured by $0, generated by GNU Autoconf 2.53,
-  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-srcdir=$srcdir
-INSTALL="$INSTALL"
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value.  By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
-  case $1 in
-  --*=*)
-    ac_option=`expr "x$1" : 'x\([^=]*\)='`
-    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
-    shift
-    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
-    shift
-    ;;
-  -*);;
-  *) # This is not an option, so the user has probably given explicit
-     # arguments.
-     ac_need_defaults=false;;
-  esac
-
-  case $1 in
-  # Handling of the options.
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
-    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-  --version | --vers* | -V )
-    echo "$ac_cs_version"; exit 0 ;;
-  --he | --h)
-    # Conflict between --help and --header
-    { { echo "$as_me:$LINENO: error: ambiguous option: $1
-Try \`$0 --help' for more information." >&5
-echo "$as_me: error: ambiguous option: $1
-Try \`$0 --help' for more information." >&2;}
-   { (exit 1); exit 1; }; };;
-  --help | --hel | -h )
-    echo "$ac_cs_usage"; exit 0 ;;
-  --debug | --d* | -d )
-    debug=: ;;
-  --file | --fil | --fi | --f )
-    shift
-    CONFIG_FILES="$CONFIG_FILES $1"
-    ac_need_defaults=false;;
-  --header | --heade | --head | --hea )
-    shift
-    CONFIG_HEADERS="$CONFIG_HEADERS $1"
-    ac_need_defaults=false;;
-
-  # This is an error.
-  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&5
-echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2;}
-   { (exit 1); exit 1; }; } ;;
-
-  *) ac_config_targets="$ac_config_targets $1" ;;
-
-  esac
-  shift
-done
-
-_ACEOF
-
-
-
-
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-for ac_config_target in $ac_config_targets
-do
-  case "$ac_config_target" in
-  # Handling of arguments.
-  "sbin/rt-setup-database" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
-  "sbin/rt-test-dependencies" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
-  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-  "etc/RT_Config.pm" ) CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
-  "lib/RT.pm" ) CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
-  "lib/t/00smoke.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/00smoke.t" ;;
-  "lib/t/01harness.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/01harness.t" ;;
-  "lib/t/02regression.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/02regression.t" ;;
-  "lib/t/03web.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/03web.pl" ;;
-  "lib/t/04_send_email.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/04_send_email.pl" ;;
-  "bin/mason_handler.fcgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
-  "bin/mason_handler.scgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
-  "bin/mason_handler.svc" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
-  "bin/rt-commit-handler" ) CONFIG_FILES="$CONFIG_FILES bin/rt-commit-handler" ;;
-  "bin/rt-crontool" ) CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
-  "bin/rt-mailgate" ) CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
-  "bin/rt" ) CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
-  "bin/webmux.pl" ) CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
-   { (exit 1); exit 1; }; };;
-  esac
-done
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used.  Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Create a temporary directory, and hook for its removal unless debugging.
-$debug ||
-{
-  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-
-# Create a (secure) tmp directory for tmp files.
-: ${TMPDIR=/tmp}
-{
-  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
-}  ||
-{
-  tmp=$TMPDIR/cs$$-$RANDOM
-  (umask 077 && mkdir $tmp)
-} ||
-{
-   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
-   { (exit 1); exit 1; }
-}
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-
-#
-# CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "\$CONFIG_FILES"; then
-  # Protect against being on the right side of a sed subst in config.status.
-  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
-   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
-s,@SHELL@,$SHELL,;t t
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
-s,@exec_prefix@,$exec_prefix,;t t
-s,@prefix@,$prefix,;t t
-s,@program_transform_name@,$program_transform_name,;t t
-s,@bindir@,$bindir,;t t
-s,@sbindir@,$sbindir,;t t
-s,@libexecdir@,$libexecdir,;t t
-s,@datadir@,$datadir,;t t
-s,@sysconfdir@,$sysconfdir,;t t
-s,@sharedstatedir@,$sharedstatedir,;t t
-s,@localstatedir@,$localstatedir,;t t
-s,@libdir@,$libdir,;t t
-s,@includedir@,$includedir,;t t
-s,@oldincludedir@,$oldincludedir,;t t
-s,@infodir@,$infodir,;t t
-s,@mandir@,$mandir,;t t
-s,@build_alias@,$build_alias,;t t
-s,@host_alias@,$host_alias,;t t
-s,@target_alias@,$target_alias,;t t
-s,@DEFS@,$DEFS,;t t
-s,@ECHO_C@,$ECHO_C,;t t
-s,@ECHO_N@,$ECHO_N,;t t
-s,@ECHO_T@,$ECHO_T,;t t
-s,@LIBS@,$LIBS,;t t
-s,@rt_version_major@,$rt_version_major,;t t
-s,@rt_version_minor@,$rt_version_minor,;t t
-s,@rt_version_patch@,$rt_version_patch,;t t
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
-s,@PERL@,$PERL,;t t
-s,@SPEEDY_BIN@,$SPEEDY_BIN,;t t
-s,@exp_prefix@,$exp_prefix,;t t
-s,@exp_exec_prefix@,$exp_exec_prefix,;t t
-s,@exp_bindir@,$exp_bindir,;t t
-s,@exp_sbindir@,$exp_sbindir,;t t
-s,@exp_sysconfdir@,$exp_sysconfdir,;t t
-s,@exp_mandir@,$exp_mandir,;t t
-s,@exp_libdir@,$exp_libdir,;t t
-s,@exp_datadir@,$exp_datadir,;t t
-s,@htmldir@,$htmldir,;t t
-s,@exp_htmldir@,$exp_htmldir,;t t
-s,@manualdir@,$manualdir,;t t
-s,@exp_manualdir@,$exp_manualdir,;t t
-s,@exp_localstatedir@,$exp_localstatedir,;t t
-s,@logfiledir@,$logfiledir,;t t
-s,@exp_logfiledir@,$exp_logfiledir,;t t
-s,@masonstatedir@,$masonstatedir,;t t
-s,@exp_masonstatedir@,$exp_masonstatedir,;t t
-s,@sessionstatedir@,$sessionstatedir,;t t
-s,@exp_sessionstatedir@,$exp_sessionstatedir,;t t
-s,@customdir@,$customdir,;t t
-s,@exp_customdir@,$exp_customdir,;t t
-s,@custometcdir@,$custometcdir,;t t
-s,@exp_custometcdir@,$exp_custometcdir,;t t
-s,@customhtmldir@,$customhtmldir,;t t
-s,@exp_customhtmldir@,$exp_customhtmldir,;t t
-s,@customlexdir@,$customlexdir,;t t
-s,@exp_customlexdir@,$exp_customlexdir,;t t
-s,@customlibdir@,$customlibdir,;t t
-s,@exp_customlibdir@,$exp_customlibdir,;t t
-s,@rt_layout_name@,$rt_layout_name,;t t
-s,@RTGROUP@,$RTGROUP,;t t
-s,@BIN_OWNER@,$BIN_OWNER,;t t
-s,@LIBS_OWNER@,$LIBS_OWNER,;t t
-s,@LIBS_GROUP@,$LIBS_GROUP,;t t
-s,@DB_TYPE@,$DB_TYPE,;t t
-s,@ORACLE_ENV_PREF@,$ORACLE_ENV_PREF,;t t
-s,@DB_HOST@,$DB_HOST,;t t
-s,@DB_PORT@,$DB_PORT,;t t
-s,@DB_RT_HOST@,$DB_RT_HOST,;t t
-s,@DB_DBA@,$DB_DBA,;t t
-s,@DB_DATABASE@,$DB_DATABASE,;t t
-s,@DB_RT_USER@,$DB_RT_USER,;t t
-s,@DB_RT_PASS@,$DB_RT_PASS,;t t
-s,@WEB_USER@,$WEB_USER,;t t
-s,@WEB_GROUP@,$WEB_GROUP,;t t
-s,@RT_VERSION_MAJOR@,$RT_VERSION_MAJOR,;t t
-s,@RT_VERSION_MINOR@,$RT_VERSION_MINOR,;t t
-s,@RT_VERSION_PATCH@,$RT_VERSION_PATCH,;t t
-s,@RT_PATH@,$RT_PATH,;t t
-s,@RT_DOC_PATH@,$RT_DOC_PATH,;t t
-s,@RT_LOCAL_PATH@,$RT_LOCAL_PATH,;t t
-s,@RT_LIB_PATH@,$RT_LIB_PATH,;t t
-s,@RT_ETC_PATH@,$RT_ETC_PATH,;t t
-s,@CONFIG_FILE_PATH@,$CONFIG_FILE_PATH,;t t
-s,@RT_BIN_PATH@,$RT_BIN_PATH,;t t
-s,@RT_SBIN_PATH@,$RT_SBIN_PATH,;t t
-s,@RT_VAR_PATH@,$RT_VAR_PATH,;t t
-s,@RT_MAN_PATH@,$RT_MAN_PATH,;t t
-s,@MASON_DATA_PATH@,$MASON_DATA_PATH,;t t
-s,@MASON_SESSION_PATH@,$MASON_SESSION_PATH,;t t
-s,@MASON_HTML_PATH@,$MASON_HTML_PATH,;t t
-s,@LOCAL_ETC_PATH@,$LOCAL_ETC_PATH,;t t
-s,@MASON_LOCAL_HTML_PATH@,$MASON_LOCAL_HTML_PATH,;t t
-s,@LOCAL_LEXICON_PATH@,$LOCAL_LEXICON_PATH,;t t
-s,@LOCAL_LIB_PATH@,$LOCAL_LIB_PATH,;t t
-s,@DESTDIR@,$DESTDIR,;t t
-s,@RT_LOG_PATH@,$RT_LOG_PATH,;t t
-CEOF
-
-_ACEOF
-
-  cat >>$CONFIG_STATUS <<\_ACEOF
-  # Split the substitutions into bite-sized pieces for seds with
-  # small command number limits, like on Digital OSF/1 and HP-UX.
-  ac_max_sed_lines=48
-  ac_sed_frag=1 # Number of current file.
-  ac_beg=1 # First line for current file.
-  ac_end=$ac_max_sed_lines # Line after last line for current file.
-  ac_more_lines=:
-  ac_sed_cmds=
-  while $ac_more_lines; do
-    if test $ac_beg -gt 1; then
-      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
-    else
-      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
-    fi
-    if test ! -s $tmp/subs.frag; then
-      ac_more_lines=false
-    else
-      # The purpose of the label and of the branching condition is to
-      # speed up the sed processing (if there are no `@' at all, there
-      # is no need to browse any of the substitutions).
-      # These are the two extra sed commands mentioned above.
-      (echo ':t
-  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
-      if test -z "$ac_sed_cmds"; then
-       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
-      else
-       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
-      fi
-      ac_sed_frag=`expr $ac_sed_frag + 1`
-      ac_beg=$ac_end
-      ac_end=`expr $ac_end + $ac_max_sed_lines`
-    fi
-  done
-  if test -z "$ac_sed_cmds"; then
-    ac_sed_cmds=cat
-  fi
-fi # test -n "$CONFIG_FILES"
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
-  case $ac_file in
-  - | *:- | *:-:* ) # input from stdin
-        cat >$tmp/stdin
-        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
-        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
-  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
-        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
-  * )   ac_file_in=$ac_file.in ;;
-  esac
-
-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
-  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-         X"$ac_file" : 'X\(//\)[^/]' \| \
-         X"$ac_file" : 'X\(//\)$' \| \
-         X"$ac_file" : 'X\(/\)' \| \
-         .     : '\(.\)' 2>/dev/null ||
-echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-         /^X\(\/\/\)$/{ s//\1/; q; }
-         /^X\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-  { case "$ac_dir" in
-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
-  *)                      as_incr_dir=.;;
-esac
-as_dummy="$ac_dir"
-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
-  case $as_mkdir_dir in
-    # Skip DOS drivespec
-    ?:) as_incr_dir=$as_mkdir_dir ;;
-    *)
-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
-      test -d "$as_incr_dir" ||
-        mkdir "$as_incr_dir" ||
-       { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
-echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
-   { (exit 1); exit 1; }; }
-    ;;
-  esac
-done; }
-
-  ac_builddir=.
-
-if test "$ac_dir" != .; then
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
-  # A "../" for each directory in $ac_dir_suffix.
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
-else
-  ac_dir_suffix= ac_top_builddir=
-fi
-
-case $srcdir in
-  .)  # No --srcdir option.  We are building in place.
-    ac_srcdir=.
-    if test -z "$ac_top_builddir"; then
-       ac_top_srcdir=.
-    else
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
-    fi ;;
-  [\\/]* | ?:[\\/]* )  # Absolute path.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir ;;
-  *) # Relative path.
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
-esac
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
-# absolute.
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
-
-
-  case $INSTALL in
-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
-  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
-  esac
-
-  if test x"$ac_file" != x-; then
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
-    rm -f "$ac_file"
-  fi
-  # Let's still pretend it is `configure' which instantiates (i.e., don't
-  # use $as_me), people would be surprised to read:
-  #    /* config.h.  Generated by config.status.  */
-  if test x"$ac_file" = x-; then
-    configure_input=
-  else
-    configure_input="$ac_file.  "
-  fi
-  configure_input=$configure_input"Generated from `echo $ac_file_in |
-                                     sed 's,.*/,,'` by configure."
-
-  # First look for the input files in the build tree, otherwise in the
-  # src tree.
-  ac_file_inputs=`IFS=:
-    for f in $ac_file_in; do
-      case $f in
-      -) echo $tmp/stdin ;;
-      [\\/$]*)
-         # Absolute (can't be DOS-style, as IFS=:)
-         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
-echo "$as_me: error: cannot find input file: $f" >&2;}
-   { (exit 1); exit 1; }; }
-         echo $f;;
-      *) # Relative
-         if test -f "$f"; then
-           # Build tree
-           echo $f
-         elif test -f "$srcdir/$f"; then
-           # Source tree
-           echo $srcdir/$f
-         else
-           # /dev/null tree
-           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
-echo "$as_me: error: cannot find input file: $f" >&2;}
-   { (exit 1); exit 1; }; }
-         fi;;
-      esac
-    done` || { (exit 1); exit 1; }
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-  sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s,@configure_input@,$configure_input,;t t
-s,@srcdir@,$ac_srcdir,;t t
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
-s,@top_srcdir@,$ac_top_srcdir,;t t
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
-s,@builddir@,$ac_builddir,;t t
-s,@abs_builddir@,$ac_abs_builddir,;t t
-s,@top_builddir@,$ac_top_builddir,;t t
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
-s,@INSTALL@,$ac_INSTALL,;t t
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
-  rm -f $tmp/stdin
-  if test x"$ac_file" != x-; then
-    mv $tmp/out $ac_file
-  else
-    cat $tmp/out
-    rm -f $tmp/out
-  fi
-
-done
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded.  So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status.  When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
-  ac_cs_success=:
-  exec 5>/dev/null
-  $SHELL $CONFIG_STATUS || ac_cs_success=false
-  exec 5>>config.log
-  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
-  # would make configure fail if this is the last instruction.
-  $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/rt/autom4te.cache/requests b/rt/autom4te.cache/requests
deleted file mode 100644 (file)
index fad7b54..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-# This file was created by autom4te.
-# It contains the lists of macros which have been traced.
-# It can be safely removed.
-
-@request = (
-             bless( [
-                      '0',
-                      1,
-                      [
-                        '/usr/share/autoconf'
-                      ],
-                      [
-                        '--reload-state=/usr/share/autoconf/autoconf/autoconf.m4f',
-                        'aclocal.m4',
-                        'configure.ac'
-                      ],
-                      {
-                        'AC_HEADER_STAT' => 1,
-                        'AC_FUNC_STRFTIME' => 1,
-                        'AC_PROG_RANLIB' => 1,
-                        'AC_FUNC_WAIT3' => 1,
-                        'AC_FUNC_SETPGRP' => 1,
-                        'AC_HEADER_TIME' => 1,
-                        'AC_FUNC_SETVBUF_REVERSED' => 1,
-                        'AC_HEADER_SYS_WAIT' => 1,
-                        'AC_TYPE_UID_T' => 1,
-                        'AM_CONDITIONAL' => 1,
-                        'AC_CHECK_LIB' => 1,
-                        'AC_PROG_LN_S' => 1,
-                        'AC_FUNC_MEMCMP' => 1,
-                        'AC_FUNC_FORK' => 1,
-                        'AC_FUNC_GETGROUPS' => 1,
-                        'AC_HEADER_MAJOR' => 1,
-                        'AC_FUNC_STRTOD' => 1,
-                        'AC_HEADER_DIRENT' => 1,
-                        'AC_FUNC_UTIME_NULL' => 1,
-                        'AC_CONFIG_FILES' => 1,
-                        'AC_FUNC_ALLOCA' => 1,
-                        'AC_C_CONST' => 1,
-                        'include' => 1,
-                        'AC_FUNC_OBSTACK' => 1,
-                        'AC_FUNC_LSTAT' => 1,
-                        'AC_STRUCT_TIMEZONE' => 1,
-                        'AC_FUNC_GETPGRP' => 1,
-                        'AC_DEFINE_TRACE_LITERAL' => 1,
-                        'AC_CHECK_HEADERS' => 1,
-                        'AC_TYPE_MODE_T' => 1,
-                        'AC_CHECK_TYPES' => 1,
-                        'AC_PROG_YACC' => 1,
-                        'AC_TYPE_PID_T' => 1,
-                        'AC_FUNC_STRERROR_R' => 1,
-                        'AC_STRUCT_ST_BLOCKS' => 1,
-                        'AC_PROG_GCC_TRADITIONAL' => 1,
-                        'AC_TYPE_SIGNAL' => 1,
-                        'AC_FUNC_FNMATCH' => 1,
-                        'AC_PROG_CPP' => 1,
-                        'AM_PROG_LIBTOOL' => 1,
-                        'AC_FUNC_STAT' => 1,
-                        'AC_PROG_INSTALL' => 1,
-                        'AM_GNU_GETTEXT' => 1,
-                        'AC_FUNC_STRCOLL' => 1,
-                        'AC_LIBSOURCE' => 1,
-                        'AC_C_INLINE' => 1,
-                        'AC_FUNC_CHOWN' => 1,
-                        'AC_PROG_LEX' => 1,
-                        'AH_OUTPUT' => 1,
-                        'AC_HEADER_STDC' => 1,
-                        'AC_FUNC_GETLOADAVG' => 1,
-                        'AC_CHECK_FUNCS' => 1,
-                        'AC_TYPE_SIZE_T' => 1,
-                        'AC_DECL_SYS_SIGLIST' => 1,
-                        'AC_FUNC_MKTIME' => 1,
-                        'AC_PROG_MAKE_SET' => 1,
-                        'AC_PROG_CXX' => 1,
-                        'm4_pattern_allow' => 1,
-                        'm4_include' => 1,
-                        'm4_pattern_forbid' => 1,
-                        'AC_PROG_AWK' => 1,
-                        'AC_FUNC_VPRINTF' => 1,
-                        'AC_CONFIG_HEADERS' => 1,
-                        'AC_PATH_X' => 1,
-                        'AC_TYPE_OFF_T' => 1,
-                        'AC_FUNC_MALLOC' => 1,
-                        'AC_FUNC_ERROR_AT_LINE' => 1,
-                        'AC_FUNC_FSEEKO' => 1,
-                        'AC_FUNC_MMAP' => 1,
-                        'AC_STRUCT_TM' => 1,
-                        'AC_SUBST' => 1,
-                        'AC_PROG_CC' => 1,
-                        'AC_PROG_LIBTOOL' => 1
-                      }
-                    ], 'Request' )
-           );
-
diff --git a/rt/autom4te.cache/traces.0 b/rt/autom4te.cache/traces.0
deleted file mode 100644 (file)
index f132762..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
-m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
-m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'])
-m4trace:configure.ac:9: -1- m4_pattern_allow([^AS_FLAGS$])
-m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?m4_])
-m4trace:configure.ac:9: -1- m4_pattern_forbid([^dnl$])
-m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?AS_])
-m4trace:configure.ac:9: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
-m4trace:configure.ac:9: -1- AC_SUBST([PATH_SEPARATOR])
-m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
-m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
-m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
-m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
-m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
-m4trace:configure.ac:9: -1- AC_SUBST([exec_prefix], [NONE])
-m4trace:configure.ac:9: -1- AC_SUBST([prefix], [NONE])
-m4trace:configure.ac:9: -1- AC_SUBST([program_transform_name], [s,x,x,])
-m4trace:configure.ac:9: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
-m4trace:configure.ac:9: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
-m4trace:configure.ac:9: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
-m4trace:configure.ac:9: -1- AC_SUBST([datadir], ['${prefix}/share'])
-m4trace:configure.ac:9: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
-m4trace:configure.ac:9: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
-m4trace:configure.ac:9: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
-m4trace:configure.ac:9: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
-m4trace:configure.ac:9: -1- AC_SUBST([includedir], ['${prefix}/include'])
-m4trace:configure.ac:9: -1- AC_SUBST([oldincludedir], ['/usr/include'])
-m4trace:configure.ac:9: -1- AC_SUBST([infodir], ['${prefix}/info'])
-m4trace:configure.ac:9: -1- AC_SUBST([mandir], ['${prefix}/man'])
-m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
-m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
-#undef PACKAGE_NAME])
-m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
-m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME])
-m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
-m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
-#undef PACKAGE_VERSION])
-m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
-m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING])
-m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
-m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT])
-m4trace:configure.ac:9: -1- AC_SUBST([build_alias])
-m4trace:configure.ac:9: -1- AC_SUBST([host_alias])
-m4trace:configure.ac:9: -1- AC_SUBST([target_alias])
-m4trace:configure.ac:9: -1- AC_SUBST([DEFS])
-m4trace:configure.ac:9: -1- AC_SUBST([ECHO_C])
-m4trace:configure.ac:9: -1- AC_SUBST([ECHO_N])
-m4trace:configure.ac:9: -1- AC_SUBST([ECHO_T])
-m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:14: -1- AC_SUBST([rt_version_major], [3])
-m4trace:configure.ac:16: -1- AC_SUBST([rt_version_minor], [0])
-m4trace:configure.ac:18: -1- AC_SUBST([rt_version_patch], [9])
-m4trace:configure.ac:24: -1- AC_PROG_INSTALL
-m4trace:configure.ac:24: -1- AC_SUBST([INSTALL_PROGRAM])
-m4trace:configure.ac:24: -1- AC_SUBST([INSTALL_SCRIPT])
-m4trace:configure.ac:24: -1- AC_SUBST([INSTALL_DATA])
-m4trace:configure.ac:25: -1- AC_SUBST([PERL])
-m4trace:configure.ac:26: -1- AC_SUBST([PERL], [$ac_cv_path_PERL])
-m4trace:configure.ac:36: -1- AC_SUBST([SPEEDY_BIN])
-m4trace:configure.ac:41: -1- AC_SUBST([prefix])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_prefix])
-m4trace:configure.ac:41: -1- AC_SUBST([exec_prefix])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_exec_prefix])
-m4trace:configure.ac:41: -1- AC_SUBST([bindir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_bindir])
-m4trace:configure.ac:41: -1- AC_SUBST([sbindir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_sbindir])
-m4trace:configure.ac:41: -1- AC_SUBST([sysconfdir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_sysconfdir])
-m4trace:configure.ac:41: -1- AC_SUBST([mandir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_mandir])
-m4trace:configure.ac:41: -1- AC_SUBST([libdir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_libdir])
-m4trace:configure.ac:41: -1- AC_SUBST([datadir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_datadir])
-m4trace:configure.ac:41: -1- AC_SUBST([htmldir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_htmldir])
-m4trace:configure.ac:41: -1- AC_SUBST([manualdir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_manualdir])
-m4trace:configure.ac:41: -1- AC_SUBST([localstatedir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_localstatedir])
-m4trace:configure.ac:41: -1- AC_SUBST([logfiledir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_logfiledir])
-m4trace:configure.ac:41: -1- AC_SUBST([masonstatedir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_masonstatedir])
-m4trace:configure.ac:41: -1- AC_SUBST([sessionstatedir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_sessionstatedir])
-m4trace:configure.ac:41: -1- AC_SUBST([customdir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_customdir])
-m4trace:configure.ac:41: -1- AC_SUBST([custometcdir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_custometcdir])
-m4trace:configure.ac:41: -1- AC_SUBST([customhtmldir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_customhtmldir])
-m4trace:configure.ac:41: -1- AC_SUBST([customlexdir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_customlexdir])
-m4trace:configure.ac:41: -1- AC_SUBST([customlibdir])
-m4trace:configure.ac:41: -1- AC_SUBST([exp_customlibdir])
-m4trace:configure.ac:41: -1- AC_SUBST([rt_layout_name])
-m4trace:configure.ac:49: -1- AC_SUBST([RTGROUP])
-m4trace:configure.ac:57: -1- AC_SUBST([BIN_OWNER])
-m4trace:configure.ac:65: -1- AC_SUBST([LIBS_OWNER])
-m4trace:configure.ac:73: -1- AC_SUBST([LIBS_GROUP])
-m4trace:configure.ac:84: -1- AC_SUBST([DB_TYPE])
-m4trace:configure.ac:91: -1- AC_SUBST([ORACLE_ENV_PREF])
-m4trace:configure.ac:99: -1- AC_SUBST([DB_HOST])
-m4trace:configure.ac:107: -1- AC_SUBST([DB_PORT])
-m4trace:configure.ac:115: -1- AC_SUBST([DB_RT_HOST])
-m4trace:configure.ac:123: -1- AC_SUBST([DB_DBA])
-m4trace:configure.ac:131: -1- AC_SUBST([DB_DATABASE])
-m4trace:configure.ac:139: -1- AC_SUBST([DB_RT_USER])
-m4trace:configure.ac:147: -1- AC_SUBST([DB_RT_PASS])
-m4trace:configure.ac:155: -1- AC_SUBST([WEB_USER])
-m4trace:configure.ac:163: -1- AC_SUBST([WEB_GROUP])
-m4trace:configure.ac:182: -1- AC_SUBST([RT_VERSION_MAJOR], [${rt_version_major}])
-m4trace:configure.ac:183: -1- AC_SUBST([RT_VERSION_MINOR], [${rt_version_minor}])
-m4trace:configure.ac:184: -1- AC_SUBST([RT_VERSION_PATCH], [${rt_version_patch}])
-m4trace:configure.ac:187: -1- AC_SUBST([RT_PATH], [${exp_prefix}])
-m4trace:configure.ac:188: -1- AC_SUBST([RT_DOC_PATH], [${exp_manualdir}])
-m4trace:configure.ac:189: -1- AC_SUBST([RT_LOCAL_PATH], [${exp_customdir}])
-m4trace:configure.ac:190: -1- AC_SUBST([RT_LIB_PATH], [${exp_libdir}])
-m4trace:configure.ac:191: -1- AC_SUBST([RT_ETC_PATH], [${exp_sysconfdir}])
-m4trace:configure.ac:192: -1- AC_SUBST([CONFIG_FILE_PATH], [${exp_sysconfdir}])
-m4trace:configure.ac:193: -1- AC_SUBST([RT_BIN_PATH], [${exp_bindir}])
-m4trace:configure.ac:194: -1- AC_SUBST([RT_SBIN_PATH], [${exp_sbindir}])
-m4trace:configure.ac:195: -1- AC_SUBST([RT_VAR_PATH], [${exp_localstatedir}])
-m4trace:configure.ac:196: -1- AC_SUBST([RT_MAN_PATH], [${exp_mandir}])
-m4trace:configure.ac:197: -1- AC_SUBST([MASON_DATA_PATH], [${exp_masonstatedir}])
-m4trace:configure.ac:198: -1- AC_SUBST([MASON_SESSION_PATH], [${exp_sessionstatedir}])
-m4trace:configure.ac:199: -1- AC_SUBST([MASON_HTML_PATH], [${exp_htmldir}])
-m4trace:configure.ac:200: -1- AC_SUBST([LOCAL_ETC_PATH], [${exp_custometcdir}])
-m4trace:configure.ac:201: -1- AC_SUBST([MASON_LOCAL_HTML_PATH], [${exp_customhtmldir}])
-m4trace:configure.ac:202: -1- AC_SUBST([LOCAL_LEXICON_PATH], [${exp_customlexdir}])
-m4trace:configure.ac:203: -1- AC_SUBST([LOCAL_LIB_PATH], [${exp_customlibdir}])
-m4trace:configure.ac:204: -1- AC_SUBST([DESTDIR], [${exp_prefix}])
-m4trace:configure.ac:205: -1- AC_SUBST([RT_LOG_PATH], [${exp_logfiledir}])
-m4trace:configure.ac:228: -1- AC_CONFIG_FILES([
-                sbin/rt-setup-database
-                 sbin/rt-test-dependencies
-                 Makefile
-                etc/RT_Config.pm
-                lib/RT.pm
-                 lib/t/00smoke.t
-                 lib/t/01harness.t
-                 lib/t/02regression.t
-                 lib/t/03web.pl
-                 lib/t/04_send_email.pl
-                bin/mason_handler.fcgi
-                bin/mason_handler.scgi
-                bin/mason_handler.svc
-                bin/rt-commit-handler
-                bin/rt-crontool
-                bin/rt-mailgate
-                bin/rt
-                bin/webmux.pl
-                ])
diff --git a/rt/bin/mason_handler.fcgi b/rt/bin/mason_handler.fcgi
deleted file mode 100755 (executable)
index 93d1f88..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/perl
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-use strict;
-use File::Basename;
-require ('/opt/rt3/bin/webmux.pl');
-
-my $h = &RT::Interface::Web::NewCGIHandler(@RT::MasonParameters);
-
-# Enter CGI::Fast mode, which should also work as a vanilla CGI script.
-require CGI::Fast;
-
-RT::Init();
-
-# Response loop
-while ( my $cgi = CGI::Fast->new ) {
-    # the whole point of fastcgi requires the env to get reset here..
-    # So we must squash it again
-    $ENV{'PATH'}   = '/bin:/usr/bin';
-    $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'};
-    $ENV{'SHELL'}  = '/bin/sh' if defined $ENV{'SHELL'};
-    $ENV{'ENV'}    = '' if defined $ENV{'ENV'};
-    $ENV{'IFS'}    = '' if defined $ENV{'IFS'};
-
-    RT::ConnectToDatabase();
-
-    if ( ( !$h->interp->comp_exists( $cgi->path_info ) )
-        && ( $h->interp->comp_exists( $cgi->path_info . "/index.html" ) ) ) {
-        $cgi->path_info( $cgi->path_info . "/index.html" );
-    }
-
-    eval { $h->handle_cgi_object($cgi); };
-    if ($@) {
-        $RT::Logger->crit($@);
-    }
-
-
-    if ($RT::Handle->TransactionDepth) {
-        $RT::Handle->ForceRollback;
-        $RT::Logger->crit("Transaction not committed. Usually indicates a software fault. Data loss may have occurred") ;
-    }
-
-
-}
-
-1;
diff --git a/rt/bin/mason_handler.fcgi.in b/rt/bin/mason_handler.fcgi.in
deleted file mode 100644 (file)
index 193eaae..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#!@PERL@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Mason;
-
-use strict;
-use vars '$Handler';
-use File::Basename;
-require ('@RT_BIN_PATH@/webmux.pl');
-
-# Enter CGI::Fast mode, which should also work as a vanilla CGI script.
-require CGI::Fast;
-
-RT::Init();
-
-while ( my $cgi = CGI::Fast->new ) {
-    # the whole point of fastcgi requires the env to get reset here..
-    # So we must squash it again
-    $ENV{'PATH'}   = '/bin:/usr/bin';
-    $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'};
-    $ENV{'SHELL'}  = '/bin/sh' if defined $ENV{'SHELL'};
-    $ENV{'ENV'}    = '' if defined $ENV{'ENV'};
-    $ENV{'IFS'}    = '' if defined $ENV{'IFS'};
-
-    Module::Refresh->refresh if $RT::DevelMode;
-    RT::ConnectToDatabase();
-
-    if ( ( !$Handler->interp->comp_exists( $cgi->path_info ) )
-        && ( $Handler->interp->comp_exists( $cgi->path_info . "/index.html" ) ) ) {
-        $cgi->path_info( $cgi->path_info . "/index.html" );
-    }
-
-    eval { $Handler->handle_cgi_object($cgi); };
-    if ($@) {
-        $RT::Logger->crit($@);
-    }
-    RT::Interface::Web::Handler->CleanupRequest(); 
-
-}
-
-1;
diff --git a/rt/bin/mason_handler.scgi b/rt/bin/mason_handler.scgi
deleted file mode 100755 (executable)
index 7774189..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/local/bin/speedy
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-use strict;
-require ('/opt/rt3/bin/webmux.pl');
-
-my $h = &RT::Interface::Web::NewCGIHandler(@RT::MasonParameters);
-
-require CGI;
-
-RT::Init();
-
-my $cgi = CGI->new;
-if ( ( !$h->interp->comp_exists( $cgi->path_info ) )
-    && ( $h->interp->comp_exists( $cgi->path_info . "/index.html" ) ) ) {
-    $cgi->path_info( $cgi->path_info . "/index.html" );
-}
-
-$h->handle_cgi_object($cgi);
-
-1;
diff --git a/rt/bin/mason_handler.scgi.in b/rt/bin/mason_handler.scgi.in
deleted file mode 100644 (file)
index 2b38c93..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#!@SPEEDY_BIN@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Mason;
-
-use strict;
-use vars '$Handler';
-require ('@RT_BIN_PATH@/webmux.pl');
-
-require CGI;
-
-RT::Init();
-
-my $cgi = CGI->new;
-if ( ( !$Handler->interp->comp_exists( $cgi->path_info ) )
-    && ( $Handler->interp->comp_exists( $cgi->path_info . "/index.html" ) ) ) {
-    $cgi->path_info( $cgi->path_info . "/index.html" );
-}
-
-$Handler->handle_cgi_object($cgi);
-RT::Interface::Web::Handler->CleanupRequest();
-1;
diff --git a/rt/bin/mason_handler.svc b/rt/bin/mason_handler.svc
deleted file mode 100644 (file)
index c05d21e..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-#!/usr/bin/perl
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-=head1 NAME
-
-mason_handler.svc - Win32 IIS Service handler for RT
-
-=head1 SYNOPSIS
-
-    perl mason_handler.svc --install   # install as service
-    perl mason_handler.svc --deinstall # deinstall this service
-    perl mason_handler.svc --help      # show this help
-    perl mason_handler.svc             # launch handler from command line
-
-=head1 DESCRIPTION
-
-This script manages a stand-alone FastCGI server, and populates the necessary
-registry settings to run it with Microsoft IIS Server 4.0 or above.
-
-Before running it, you need to install the B<FCGI> module from CPAN, as well as
-B<Win32::Daemon> from L<http://www.roth.net/perl/Daemon/> if you want to install
-itself as a service.
-
-This script will automatically create a virtual directory under the IIS root;
-its name is taken from C<$WebPath> in the F<RT_Config.pm> file.  Additionally,
-please install the ISAPI binary from L<http://www.caraveo.com/fastcgi/> and set
-up an ISAPI Script Map that maps F<.html> files to F<isapi_fcgi.dll>.
-
-Once the service is launched (either via C<net start RTFastCGI> or by running
-C<perl mason_handler.svc>), a FCGI server will start and bind to port C<8284>
-(mnemonics: the ASCII value of C<R> and C<T>); the ISAPI handler's C<BindPath>
-registry setting will also be automatically populated.
-
-=cut
-
-use strict;
-use File::Basename;
-require (dirname(__FILE__) . '/webmux.pl');
-
-use Cwd;
-use File::Spec;
-
-use Win32;
-use Win32::Process;
-use Win32::Service;
-use Win32::TieRegistry;
-
-my $ProcessObj;
-
-BEGIN {
-    my $runsvc = sub {
-       Win32::Process::Create(
-           $ProcessObj, $^X, "$^X $0 --run", 0, NORMAL_PRIORITY_CLASS, "."
-       ) or do {
-           die Win32::FormatMessage( Win32::GetLastError() );
-       };
-
-       chdir File::Basename::dirname($0);
-       my $path = Cwd::cwd();
-       $path =~ s|/|\\|g;
-       $path =~ s|bin$|share\\html|;
-
-       $Win32::TieRegistry::Registry->{
-           'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\\'.
-           'W3SVC\Parameters\Virtual Roots\\'
-       }->{$RT::WebPath || '/'} = "$path,,205";
-           
-       $Win32::TieRegistry::Registry->{
-           'HKEY_LOCAL_MACHINE\Software\FASTCGI\.html\\'
-       }->{'BindPath'} = $ENV{'FCGI_SOCKET_PATH'};
-
-       Win32::Service::StartService(Win32::NodeName, 'W3SVC');
-    };
-    
-    if ($ARGV[0] eq '--deinstall') {
-       chdir File::Basename::dirname($0);
-       my $path = Cwd::cwd();
-       $path =~ s|/|\\|g;
-
-       require Win32::Daemon;
-       Win32::Daemon::DeleteService('RTFastCGI');
-       warn "Service 'RTFastCGI' successfully deleted.\n";
-       exit;
-    }
-    elsif ($ARGV[0] eq '--install') {
-       chdir File::Basename::dirname($0);
-       my $path = Cwd::cwd();
-       $path =~ s|/|\\|g;
-
-       require Win32::Daemon;
-       Win32::Daemon::DeleteService('RTFastCGI');
-       
-       my $rv = Win32::Daemon::CreateService( {
-           machine =>  '',
-           name    =>  'RTFastCGI',
-           display =>  'RT FastCGI Handler',
-           path    =>  $^X,
-           user    =>  '',
-           pwd     =>  $path,
-           description => 'Enables port 8284 as the RT FastCGI handler.',
-           parameters  => File::Spec->catfile(
-                   $path, File::Basename::basename($0)
-           ) . ' --service',
-       } );
-    
-       if ($rv) {
-           warn "Service 'RTFastCGI' successfully created.\n";
-       }
-       else {
-           warn "Failed to add service: " . Win32::FormatMessage(
-               Win32::Daemon::GetLastError()
-           ) . "\n";
-       }
-       exit;
-    }
-    elsif ($ARGV[0] eq '--service') {
-       require Win32::Daemon;
-
-       my $PrevState = Win32::Daemon::SERVICE_START_PENDING();
-       Win32::Daemon::StartService() or die $^E;
-
-       while ( 1 ) {
-           my $State = Win32::Daemon::State();
-           last if $State == Win32::Daemon::SERVICE_STOPPED();
-           
-           if ( $State == Win32::Daemon::SERVICE_START_PENDING() ) {
-               $runsvc->();
-               Win32::Daemon::State( Win32::Daemon::SERVICE_RUNNING() );
-               $PrevState = Win32::Daemon::SERVICE_RUNNING();
-           }
-           elsif ( $State == Win32::Daemon::SERVICE_CONTINUE_PENDING() ) {
-               $ProcessObj->Resume;
-               Win32::Daemon::State( Win32::Daemon::SERVICE_RUNNING() );
-               $PrevState = Win32::Daemon::SERVICE_RUNNING();
-           }
-           elsif ( $State == Win32::Daemon::SERVICE_STOP_PENDING() ) {
-           $ProcessObj->Kill(0);
-               Win32::Daemon::State( Win32::Daemon::SERVICE_STOPPED() );
-               $PrevState = Win32::Daemon::SERVICE_STOPPED();
-           }
-           elsif ( $State == Win32::Daemon::SERVICE_RUNNING() ) {
-               my $Message = Win32::Daemon::QueryLastMessage(1);
-               if ( $Message == Win32::Daemon::SERVICE_CONTROL_INTERROGATE() ) {
-                   Win32::Daemon::State( $PrevState );
-               }
-               elsif ( $Message == Win32::Daemon::SERVICE_CONTROL_SHUTDOWN() ) {
-                   Win32::Daemon::State( Win32::Daemon::SERVICE_STOP_PENDING(), 15000 );
-               }
-               elsif ( $Message != Win32::Daemon::SERVICE_CONTROL_NONE() ) {
-                   Win32::Daemon::State( $PrevState );
-               }
-           }
-           
-           Win32::Sleep( 1000 );
-       }
-               
-       Win32::Daemon::StopService();
-       exit;
-    }
-    elsif ($ARGV[0] eq '--help') {
-       system("perldoc $0");
-       exit;
-    }
-    elsif ($ARGV[0] ne '--run') {
-       $SIG{__DIE__} = sub { $ProcessObj->Kill(0) if $ProcessObj };
-       $runsvc->();
-       warn "RT FastCGI Handler launched. Press [Enter] to terminate...\n";
-       <STDIN>;
-       exit;
-    }
-}
-
-###############################################################################
-
-warn "Begin listening on $ENV{'FCGI_SOCKET_PATH'}\n";
-
-require CGI::Fast;
-my $h = &RT::Interface::Web::NewCGIHandler(@RT::MasonParameters);
-
-RT::Init();
-
-# Response loop
-while( my $cgi = CGI::Fast->new ) {
-    my $comp = $ENV{'PATH_INFO'};
-
-    $comp = $1 if ($comp =~ /^(.*)$/);
-    $comp =~ s|^$RT::WebPath\b||i;
-    $comp .= "index.html" if ($comp =~ /\/$/);
-    $comp =~ s/.pl$/.html/g;
-    
-    warn "Serving $comp\n";
-
-    $h->handle_cgi($comp);
-    # _should_ always be tied
-}
-
-1;
-
-=head1 AUTHORS
-
-Autrijus Tang E<lt>autrijus@autrijus.orgE<gt>
-
-=head1 COPYRIGHT
-
-Copyright 2002 by Autrijus Tang E<lt>autrijus@autrijus.orgE<gt>.
-
-This program is free software; you can redistribute it and/or 
-modify it under the same terms as Perl itself.
-
-See L<http://www.perl.com/perl/misc/Artistic.html>
-
-=cut
diff --git a/rt/bin/mason_handler.svc.in b/rt/bin/mason_handler.svc.in
deleted file mode 100644 (file)
index 7be566d..0000000
+++ /dev/null
@@ -1,259 +0,0 @@
-#!@PERL@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-mason_handler.svc - Win32 IIS Service handler for RT
-
-=head1 SYNOPSIS
-
-    perl mason_handler.svc --install   # install as service
-    perl mason_handler.svc --deinstall # deinstall this service
-    perl mason_handler.svc --help      # show this help
-    perl mason_handler.svc             # launch handler from command line
-
-=head1 DESCRIPTION
-
-This script manages a stand-alone FastCGI server, and populates the necessary
-registry settings to run it with Microsoft IIS Server 4.0 or above.
-
-Before running it, you need to install the B<FCGI> module from CPAN, as well as
-B<Win32::Daemon> from L<http://www.roth.net/perl/Daemon/> if you want to install
-itself as a service.
-
-This script will automatically create a virtual directory under the IIS root;
-its name is taken from C<$WebPath> in the F<RT_Config.pm> file.  Additionally,
-please install the ISAPI binary from L<http://www.caraveo.com/fastcgi/> and set
-up an ISAPI Script Map that maps F<.html> files to F<isapi_fcgi.dll>.
-
-Once the service is launched (either via C<net start RTFastCGI> or by running
-C<perl mason_handler.svc>), a FCGI server will start and bind to port C<8284>
-(mnemonics: the ASCII value of C<R> and C<T>); the ISAPI handler's C<BindPath>
-registry setting will also be automatically populated.
-
-=cut
-
-package RT::Mason;
-
-use strict;
-use File::Basename;
-use vars '$Handler';
-require (dirname(__FILE__) . '/webmux.pl');
-
-use Cwd;
-use File::Spec;
-
-use Win32;
-use Win32::Process;
-use Win32::Service;
-use Win32::TieRegistry;
-
-my $ProcessObj;
-
-BEGIN {
-    my $runsvc = sub {
-       Win32::Process::Create(
-           $ProcessObj, $^X, "$^X $0 --run", 0, NORMAL_PRIORITY_CLASS, "."
-       ) or do {
-           die Win32::FormatMessage( Win32::GetLastError() );
-       };
-
-       chdir File::Basename::dirname($0);
-       my $path = Cwd::cwd();
-       $path =~ s|/|\\|g;
-       $path =~ s|bin$|share\\html|;
-
-       $Win32::TieRegistry::Registry->{
-           'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\\'.
-           'W3SVC\Parameters\Virtual Roots\\'
-       }->{$RT::WebPath || '/'} = "$path,,205";
-           
-       $Win32::TieRegistry::Registry->{
-           'HKEY_LOCAL_MACHINE\Software\FASTCGI\.html\\'
-       }->{'BindPath'} = $ENV{'FCGI_SOCKET_PATH'};
-
-       Win32::Service::StartService(Win32::NodeName, 'W3SVC');
-    };
-    
-    if ($ARGV[0] eq '--deinstall') {
-       chdir File::Basename::dirname($0);
-       my $path = Cwd::cwd();
-       $path =~ s|/|\\|g;
-
-       require Win32::Daemon;
-       Win32::Daemon::DeleteService('RTFastCGI');
-       warn "Service 'RTFastCGI' successfully deleted.\n";
-       exit;
-    }
-    elsif ($ARGV[0] eq '--install') {
-       chdir File::Basename::dirname($0);
-       my $path = Cwd::cwd();
-       $path =~ s|/|\\|g;
-
-       require Win32::Daemon;
-       Win32::Daemon::DeleteService('RTFastCGI');
-       
-       my $rv = Win32::Daemon::CreateService( {
-           machine =>  '',
-           name    =>  'RTFastCGI',
-           display =>  'RT FastCGI Handler',
-           path    =>  $^X,
-           user    =>  '',
-           pwd     =>  $path,
-           description => 'Enables port 8284 as the RT FastCGI handler.',
-           parameters  => File::Spec->catfile(
-                   $path, File::Basename::basename($0)
-           ) . ' --service',
-       } );
-    
-       if ($rv) {
-           warn "Service 'RTFastCGI' successfully created.\n";
-       }
-       else {
-           warn "Failed to add service: " . Win32::FormatMessage(
-               Win32::Daemon::GetLastError()
-           ) . "\n";
-       }
-       exit;
-    }
-    elsif ($ARGV[0] eq '--service') {
-       require Win32::Daemon;
-
-       my $PrevState = Win32::Daemon::SERVICE_START_PENDING();
-       Win32::Daemon::StartService() or die $^E;
-
-       while ( 1 ) {
-           my $State = Win32::Daemon::State();
-           last if $State == Win32::Daemon::SERVICE_STOPPED();
-           
-           if ( $State == Win32::Daemon::SERVICE_START_PENDING() ) {
-               $runsvc->();
-               Win32::Daemon::State( Win32::Daemon::SERVICE_RUNNING() );
-               $PrevState = Win32::Daemon::SERVICE_RUNNING();
-           }
-           elsif ( $State == Win32::Daemon::SERVICE_CONTINUE_PENDING() ) {
-               $ProcessObj->Resume;
-               Win32::Daemon::State( Win32::Daemon::SERVICE_RUNNING() );
-               $PrevState = Win32::Daemon::SERVICE_RUNNING();
-           }
-           elsif ( $State == Win32::Daemon::SERVICE_STOP_PENDING() ) {
-           $ProcessObj->Kill(0);
-               Win32::Daemon::State( Win32::Daemon::SERVICE_STOPPED() );
-               $PrevState = Win32::Daemon::SERVICE_STOPPED();
-           }
-           elsif ( $State == Win32::Daemon::SERVICE_RUNNING() ) {
-               my $Message = Win32::Daemon::QueryLastMessage(1);
-               if ( $Message == Win32::Daemon::SERVICE_CONTROL_INTERROGATE() ) {
-                   Win32::Daemon::State( $PrevState );
-               }
-               elsif ( $Message == Win32::Daemon::SERVICE_CONTROL_SHUTDOWN() ) {
-                   Win32::Daemon::State( Win32::Daemon::SERVICE_STOP_PENDING(), 15000 );
-               }
-               elsif ( $Message != Win32::Daemon::SERVICE_CONTROL_NONE() ) {
-                   Win32::Daemon::State( $PrevState );
-               }
-           }
-           
-           Win32::Sleep( 1000 );
-       }
-               
-       Win32::Daemon::StopService();
-       exit;
-    }
-    elsif ($ARGV[0] eq '--help') {
-       system("perldoc $0");
-       exit;
-    }
-    elsif ($ARGV[0] ne '--run') {
-       $SIG{__DIE__} = sub { $ProcessObj->Kill(0) if $ProcessObj };
-       $runsvc->();
-       warn "RT FastCGI Handler launched. Press [Enter] to terminate...\n";
-       <STDIN>;
-       exit;
-    }
-}
-
-###############################################################################
-
-warn "Begin listening on $ENV{'FCGI_SOCKET_PATH'}\n";
-
-require CGI::Fast;
-
-RT::Init();
-
-# Response loop
-while( my $cgi = CGI::Fast->new ) {
-    my $comp = $ENV{'PATH_INFO'};
-
-    $comp = $1 if ($comp =~ /^(.*)$/);
-    $comp =~ s|^$RT::WebPath\b||i;
-    $comp .= "index.html" if ($comp =~ /\/$/);
-    $comp =~ s/.pl$/.html/g;
-    
-    warn "Serving $comp\n";
-
-    $Handler->handle_cgi($comp);
-    RT::Interface::Web::Handler->CleanupRequest();
-    # _should_ always be tied
-}
-
-1;
-
-=head1 AUTHORS
-
-Autrijus Tang E<lt>autrijus@autrijus.orgE<gt>
-
-=head1 COPYRIGHT
-
-Copyright 2002 by Autrijus Tang E<lt>autrijus@autrijus.orgE<gt>.
-
-This program is free software; you can redistribute it and/or 
-modify it under the same terms as Perl itself.
-
-See L<http://www.perl.com/perl/misc/Artistic.html>
-
-=cut
diff --git a/rt/bin/rt-commit-handler b/rt/bin/rt-commit-handler
deleted file mode 100644 (file)
index 29e443e..0000000
+++ /dev/null
@@ -1,846 +0,0 @@
-#!/usr/bin/perl -w
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-# {{{ Docs
-# -*-Perl-*-
-#
-#ident "@(#)ccvs/contrib:$Name:  $:$Id: rt-commit-handler,v 1.1 2003-07-15 13:16:15 ivan Exp $"
-#
-# Perl filter to handle the log messages from the checkin of files in multiple
-# directories.  This script will group the lists of files by log message, and
-# send one piece of mail per unique message, no matter how many files are
-# committed.
-
-=head1 NAME rt-commit-handler
-
-=head1 USAGE
-
-
-
-=head2 Regular use
-
-Stick the following in in CVSROOT/commitinfo
-
- ALL     /opt/rt3/bin/rt-commit-handler --record-last-dir
-
-Stick the following  in CVSROOT/loginfo
-
- ALL     /opt/rt3/bin/rt-commit-handler --cvs-root /pathtocvs/root --rt %{Vvts}
-
-=head2 Invocation (advanced use)
-
-rt-commit-handler --cvs-root /path/to/cvs/root [-d] [-D] [-r] [-M module] \
-                [[-m mailto] ...] [[-R replyto] ...] [-f logfile] 
-
-
-       -d              - turn on debugging
-       -m mailto       - send mail to "mailto" (multiple)
-       -R replyto      - set the "Reply-To:" to "replyto" (multiple)
-       -M modulename   - set module name to "modulename"
-       -f logfile      - write commit messages to logfile too
-       -D              - generate diff commands
-        --rt              - invoke RT commit handler
-        --cvs-root       - specify your CVS root 
-
-        --record-last-dir -  Record the last directory with changes in
-                             pre-commit (commitinfo) mode
-
-
-=cut
-
-# }}}
-
-use strict;
-use Carp;
-use Getopt::Long;
-use Text::Wrap;
-use Digest::MD5;
-use MIME::Entity;
-
-use lib ("/opt/rt3/lib", "/opt/rt3/local/lib");
-
-use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);
-
-use vars
-  qw(@MAILER $TMPDIR $FILE_PREFIX $LASTDIR_FILE $HASH_FILE $VERSION_FILE             $MESSAGE_FILE $MAIL_FILE $DEBUG $MAILTO $REPLYTO $id $MODULE_NAME
-  $LOGIN $COMMITLOG $CVS_ROOT $RT_HANDLER);
-
-#Clean out all the nasties from the environment
-CleanEnv();
-
-#Load etc/config.pm and drop privs
-RT::LoadConfig();
-
-#Drop setgid permissions
-RT::DropSetGIDPermissions();
-
-# {{{ Variable setup
-$TMPDIR      = '/tmp';
-$FILE_PREFIX = $TMPDIR . '/#cvs.';
-
-# The root of your CVS install. we should get this from some smarter place.
-# It needs a trailing /
-
-$LASTDIR_FILE = $FILE_PREFIX . "lastdir";
-$HASH_FILE    = $FILE_PREFIX . "hash";
-$VERSION_FILE = $FILE_PREFIX . "version";
-$MESSAGE_FILE = $FILE_PREFIX . "message";
-$MAIL_FILE    = $FILE_PREFIX . "mail";
-
-$DEBUG      = 0;
-$RT_HANDLER = 1;
-
-$MAILTO = '';
-
-my @files = ();
-my (@log_lines);
-my $do_diff = 0;
-my $id      = getpgrp();    # note, you *must* use a shell which does setpgrp()
-$LOGIN = getpwuid($<);
-
-# }}}
-
-die "User could not be found" unless ($LOGIN);
-
-# {{{ parse command line arguments (file list is seen as one arg)
-#
-while ( my $arg = shift @ARGV ) {
-
-    if ( $arg eq '-d' ) {
-        $DEBUG = 1;
-        warn "Debug turned on...\n";
-    }
-    elsif ( $arg =~ /^--record-last-dir$/i ) {
-        record_last_dir( $id, $ARGV[0] );
-        exit(0);
-    }
-    elsif ( $arg eq '-m' ) {
-        $MAILTO .= ", " if $MAILTO;
-        $MAILTO .= shift @ARGV;
-    }
-    elsif ( $arg eq '--rt' ) {
-        $RT_HANDLER = 1;
-    }
-    elsif ( $arg eq '-R' ) {
-        $REPLYTO .= ", " if $REPLYTO;
-        $REPLYTO .= shift @ARGV;
-    }
-    elsif ( $arg eq '-M' ) {
-        die ("too many '-M' args\n") if $MODULE_NAME;
-        $MODULE_NAME = shift @ARGV;
-    }
-    elsif ( $arg eq '--cvs-root' ) {
-        $CVS_ROOT = shift @ARGV;
-        $CVS_ROOT .= "/" unless ( $CVS_ROOT =~ /\/$/ );
-    }
-    elsif ( $arg eq '-f' ) {
-        die ("too many '-f' args\n") if $COMMITLOG;
-        $COMMITLOG = shift @ARGV;
-
-        # This is a disgusting hack to untaint $COMMITLOG if we're running from
-        # setgid cvs.
-        $COMMITLOG = untaint($COMMITLOG);
-    }
-    elsif ( $arg eq '-D' ) {
-        $do_diff = 1;
-    }
-    else {
-        @files = split ( ' ', $arg );
-        last;
-    }
-}
-
-# }}}
-
-$REPLYTO = $LOGIN unless ($REPLYTO);
-
-# for now, the first "file" is the repository directory being committed,
-# relative to the $CVSROOT location
-#
-my $dir = shift @files;
-
-# XXX there are some ugly assumptions in here about module names and
-# XXX directories relative to the $CVSROOT location -- really should
-# XXX read $CVSROOT/CVSROOT/modules, but that's not so easy to do, since
-# XXX we have to parse it backwards.
-#
-# XXX For now we set the `module' name to the top-level directory name.
-#
-unless ($MODULE_NAME) {
-    ($MODULE_NAME) = split ( '/', $dir, 2 );
-}
-
-if ($DEBUG) {
-    warn "module - ", $MODULE_NAME, "\n";
-    warn "dir    - ", $dir,         "\n";
-    warn "files  - ", join ( " ", @files ), "\n";
-    warn "id     - ", $id, "\n";
-}
-
-# {{{ Check for a new directory or an import command.
-
-#
-#    files[0] - "-"
-#    files[1] - "New"
-#    files[2] - "directory"
-#
-#    files[0] - "-"
-#    files[1] - "Imported"
-#    files[2] - "sources"
-#
-if ( $files[0] eq "-" ) {
-
-    #we just don't care about  New Directory notes
-    unless ( $files[1] eq "New" && $files[2] eq "directory" ) {
-
-        my @text = ();
-
-        push @text, build_header();
-        push @text, "";
-
-        while ( my $line = <STDIN> ) {
-            chop $line;    # Drop the newline
-            push @text, $line;
-        }
-
-        append_logfile( $COMMITLOG, @text ) if ($COMMITLOG);
-
-        mail_notification( $id, @text );
-    }
-
-    exit 0;
-}
-
-# }}}
-
-# {{{ Collect just the log message from stdin.
-#
-
-while ( my $line = <STDIN> ) {
-    chop $line;    # strip the newline
-    last if ( $line =~ /^Log Message:$/ );
-}
-while ( my $line = <STDIN> ) {
-    chop $line;    # strip the newline
-    $line =~ s/\s+$//;    # strip trailing white space
-    push @log_lines, $line;
-}
-
-my $md5 = Digest::MD5->new();
-foreach my $line (@log_lines) {
-    $md5->add( $line . "\n" );
-}
-my $hash = $md5->hexdigest();
-
-warn "hash = $hash\n" if ($DEBUG);
-
-if ( !-e "$MESSAGE_FILE.$id.$hash" ) {
-    append_logfile( "$HASH_FILE.$id",      $hash );
-    write_file( "$MESSAGE_FILE.$id.$hash", @log_lines );
-}
-
-# }}}
-
-# Spit out the information gathered in this pass.
-
-append_logfile( "$VERSION_FILE.$id.$hash", $dir . '/', @files );
-
-# {{{ Check whether this is the last directory.  If not, quit.
-
-warn "Checking current dir against last dir $LASTDIR_FILE.$id\n" if ($DEBUG);
-
-my @last_dir = read_file("$LASTDIR_FILE.$id");
-
-unless ($CVS_ROOT) {
-    die "No cvs root specified with --cvs-root. Can't continue.";
-}
-
-if ( $last_dir[0] ne $CVS_ROOT . $dir ) {
-    warn "Current directory $CVS_ROOT$dir is not last directory $last_dir[0].\n"
-      if ($DEBUG);
-    exit 0;
-}
-
-# }}}
-
-# {{{ End Of Commits!
-#
-
-# This is it.  The commits are all finished.  Lump everything together
-# into a single message, fire a copy off to the mailing list, and drop
-# it on the end of the Changes file.
-#
-
-#
-# Produce the final compilation of the log messages
-#
-
-my @hashes = read_file("$HASH_FILE.$id");
-my (@text);
-
-push @text, build_header();
-push @text, "";
-
-my ( @added_files, @modified_files, @removed_files );
-
-foreach my $hash (@hashes) {
-
-    # In case we're running setgid, make sure the hash file hasn't been hacked.
-    $hash =~ m/([a-z0-9]*)/ || die "*** Hacking attempt detected\n";
-    $hash = $1;
-
-    my @files     = read_file("$VERSION_FILE.$id.$hash");
-    my @log_lines = read_file("$MESSAGE_FILE.$id.$hash");
-
-    my $working_on_dir;    # gets set as we iterate through the files.
-    foreach my $file (@files) {
-
-        #If we've entered a new directory, make a note of that and remove the trailing /
-
-        if ( $file =~ s'\/$'' ) {
-            $working_on_dir = $file;
-            next;
-        }
-
-        my @file_entry = ( split ( ',', $file, 4 ), $working_on_dir );
-
-        # file_entry looks like ths:
-
-        # 0        1          2      3        4
-        # Old rev : new rev : tag:   file    :directory        
-        my $entry = {};
-        $entry->{'old'}  = $file_entry[0];
-        $entry->{'new'}  = $file_entry[1];
-        $entry->{'tag'}  = $file_entry[2];
-        $entry->{'file'} = $file_entry[3];
-        $entry->{'dir'}  = $file_entry[4];
-
-        if ( $file_entry[0] eq 'NONE' ) {
-            $entry->{'old'} = '0';
-            push @added_files, $entry;
-        }
-        elsif ( $file_entry[1] eq 'NONE' ) {
-            $entry->{'new'} = '0';
-            push @removed_files, $entry;
-        }
-        else {
-            push @modified_files, $entry;
-        }
-    }
-}
-
-# }}}
-
-# {{{ start building up the body
-
-# Strip leading and trailing blank lines from the log message.  Also
-# compress multiple blank lines in the body of the message down to a
-# single blank line.
-#
-
-my $blank = 1;
-@log_lines = map {
-    my $wasblank = $blank;
-    $blank = $_ eq '';
-    $blank && $wasblank ? () : $_;
-} @log_lines;
-
-pop @log_lines if $blank;
-
-@modified_files = order_and_summarize_diffs(@modified_files);
-@added_files    = order_and_summarize_diffs(@added_files);
-@removed_files  = order_and_summarize_diffs(@removed_files);
-
-push @text, "Modified Files:", format_lists(@modified_files)
-  if (@modified_files);
-
-push @text, "Added Files:", format_lists(@added_files) if (@added_files);
-
-push @text, "Removed Files:", format_lists(@removed_files) if (@removed_files);
-
-push @text, "", "Log Message", @log_lines if (@log_lines);
-
-push @text, "";
-
-if ($RT_HANDLER) {
-    rt_handler(
-        @log_lines,                             "\n",
-        loc("To generate a diff of this commit:\n"), "\n",
-        format_diffs( @modified_files, @added_files, @removed_files )
-    );
-}
-
-if ($COMMITLOG) {
-    append_logfile( $COMMITLOG, @text );
-}
-
-if ($do_diff) {
-    push @text, "";
-    push @text, loc("To generate a diff of this commit:");
-    push @text, format_diffs( @modified_files, @added_files, @removed_files );
-    push @text, "";
-}
-
-# }}}
-
-# {{{ Mail out the notification.
-
-mail_notification( $id, @text );
-
-# }}} 
-
-# {{{ clean up
-
-unless ($DEBUG) {
-    $hash = untaint($hash);
-    $id   = untaint($id);
-    unlink "$VERSION_FILE.$id.$hash";
-    unlink "$MESSAGE_FILE.$id.$hash";
-    unlink "$MAIL_FILE.$id";
-    unlink "$LASTDIR_FILE.$id";
-    unlink "$HASH_FILE.$id";
-}
-
-# }}}
-
-exit 0;
-
-# {{{ Subroutines
-#
-
-# {{{ append_logfile
-sub append_logfile {
-    my $filename = shift;
-    my (@lines) = @_;
-
-    $filename = untaint($filename);
-
-    open( FILE, ">>$filename" )
-      || die ("Cannot open file $filename for append.\n");
-    foreach my $line (@lines) {
-        print FILE $line . "\n";
-    }
-    close(FILE);
-}
-
-# }}}
-
-# {{{ write_file
-sub write_file {
-    my $filename = shift;
-    my (@lines) = @_;
-
-    $filename = untaint($filename);
-
-    open( FILE, ">$filename" )
-      || die ("Cannot open file $filename for write.\n");
-    foreach my $line (@lines) {
-        print FILE $line . "\n";
-    }
-    close(FILE);
-}
-
-# }}}
-
-# {{{ read_file
-sub read_file {
-    my $filename = shift;
-    my (@lines);
-
-    open( FILE, "<$filename" )
-      || die ("Cannot open file $filename for read.\n");
-    while ( my $line = <FILE> ) {
-        chop $line;
-        push @lines, $line;
-    }
-    close(FILE);
-
-    return (@lines);
-}
-
-# }}}
-
-# {{{ sub format_lists
-
-sub format_lists {
-    my @items = (@_);
-
-    my $files = "";
-    map {
-        $_->{'files'} && ( $files .= ' ' . join ( ' ', @{ $_->{'files'} } ) );
-    } @items;
-
-    my @lines = wrap( "\t", "\t\t", $files );
-    return (@lines);
-
-}
-
-# }}}
-
-# {{{ sub format_diffs
-
-sub format_diffs {
-    my @items = (@_);
-
-    my @lines;
-    foreach my $item (@items) {
-        next unless ( $item->{'files'} );
-        push ( @lines,
-            "cvs diff -r"
-              . $item->{'old'} . " -r"
-              . $item->{'new'} . " "
-              . join ( " ", @{ $item->{'files'} } ) . "\n" );
-
-    }
-
-    @lines = fill( "\t", "\t\t", @lines );
-
-    return (@lines);
-}
-
-# }}}
-
-# {{{ sub order_and_summarize_diffs {
-
-# takes an array of file items
-# returns a sorted array of fileset items, which are like file items, except they can have an array of files, rather than 
-# a singleton file.
-
-sub order_and_summarize_diffs {
-
-    my @files = (@_);
-
-    # Sort by tag, dir, file.
-    @files = sort {
-        $a->{'tag'} cmp $b->{'tag'}
-          || $a->{'dir'} cmp $b->{'dir'}
-          || $a->{'file'} cmp $b->{'file'};
-    } @files;
-
-    # Combine adjacent rows that are the same modulo the file name.
-
-    my @items = (undef);
-
-    foreach my $file (@files) {
-        if ( $#items == -1    #if it's empty
-            || ( !defined $items[-1]->{'old'}
-                || $items[-1]->{'old'} ne $file->{'old'} )
-            || ( !defined $items[-1]->{'new'}
-                || $items[-1]->{'new'} ne $file->{'new'} )
-            || ( !defined $items[-1]->{'tag'}
-                || $items[-1]->{'tag'} ne $file->{'tag'} ) )
-        {
-
-            push ( @items, $file );
-        }
-        push ( @{ $items[-1]->{'files'} },
-            $file->{'dir'} . "/" . $file->{'file'} );
-    }
-
-    return (@items);
-}
-
-# }}}
-
-# {{{ build_header
-
-sub build_header {
-    my $now    = gmtime;
-    my $header =
-      sprintf( "Module Name:\t%s\nCommitted By:\t%s\nDate:\t\t%s %s %s",
-        $MODULE_NAME, $LOGIN, substr( $now, 0, 19 ), "UTC",
-        substr( $now, 20, 4 ) );
-    return ($header);
-}
-
-# }}}
-
-# {{{ mail_notification
-sub mail_notification {
-    my $id = shift;
-    my (@text) = @_;
-    write_file( "$MAIL_FILE.$id", "From: " . $LOGIN,
-        "Subject: CVS commit: " . $MODULE_NAME, "To: " . $MAILTO,
-        "Reply-To: " . $REPLYTO,                "", "", @text );
-
-    my $entity = MIME::Entity->build(
-        From       => $LOGIN,
-        To         => $MAILTO,
-        Subject    => "CVS commit: " . $MODULE_NAME,
-        'Reply-To' => $REPLYTO,
-        Data       => join ( "\n", @text )
-    );
-    if ( $RT::MailCommand eq 'sendmailpipe' ) {
-        open( MAIL, "|$RT::SendmailPath $RT::SendmailArguments" )
-          || die "Couldn't send mail: " . $@ . "\n";
-        print MAIL $entity->as_string;
-        close(MAIL);
-    }
-    else {
-        $entity->send( $RT::MailCommand, $RT::MailParams );
-    }
-
-}
-
-# }}}
-
-# {{{ sub record_last_dir
-
-sub record_last_dir {
-    my $id  = shift;
-    my $dir = shift;
-
-    # make a note of this directory. later, we'll use this to 
-    # figure out if we've gone through the whole commit,
-    # for something that is a bad mockery of attomic commits.
-
-    warn "about to write $dir to $LASTDIR_FILE.$id" if ($DEBUG);
-
-    write_file( "$LASTDIR_FILE.$id", $dir );
-}
-
-# }}}
-
-# {{{ Get the RT stuff set up
-
-# {{{ sub rt_handler 
-
-sub rt_handler {
-    my (@LogMessage) = (@_);
-
-    #Connect to the database and get RT::SystemUser and RT::Nobody loaded
-    RT::Init;
-
-    require RT::Ticket;
-
-    #Get the current user all loaded
-    my $CurrentUser = GetCurrentUser();
-
-    if ( !$CurrentUser->Id ) {
-        print
-loc("No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\n");
-        return;
-    }
-
-    my (@commands) = find_commands( \@LogMessage );
-
-    my ( @tickets, @errors );
-
-    # Get the list of tickets we're working with out of commands
-    grep { $_ =~ /^RT-Ticket:\s*(.*?)$/i && push ( @tickets, $1 ) } @commands;
-
-    my $message = new MIME::Entity;
-    $message->build(
-        From    => $CurrentUser->EmailAddress,
-        Subject => 'CVS Commit',
-        Data    => \@LogMessage
-    );
-
-    # {{{ comment or correspond, as needed
-
-    foreach my $ticket (@tickets) {
-        my $TicketObj = RT::Ticket->new($CurrentUser);
-        $TicketObj->Load($ticket);
-        my ( $id, $msg );
-        unless ( $TicketObj->Id ) {
-            push ( @errors,
-"Couldn't load ticket #$ticket. Not adding commit log to ticket history.\n"
-            );
-        }
-
-        if ( $LogMessage[0] =~ /^(comment|private)$/ ) {
-            ( $id, $msg ) = $TicketObj->Comment( MIMEObj => $message );
-
-        }
-        else {
-            ( $id, $msg ) = $TicketObj->Correspond( MIMEObj => $message );
-        }
-
-        push ( @errors, ">> Log message",
-            "Ticket #" . $TicketObj->Id . ": " . $msg );
-
-    }
-
-    # }}}
-
-    my ($reply) = ActOnPseudoHeaders( $CurrentUser, @commands );
-    print "$reply\n" if ($reply);
-    print join ( "\n", @errors );
-    print "\n";
-
-}
-
-# }}}
-
-# {{{ sub find_commands
-
-sub find_commands {
-    my $lines = shift;
-    my (@pseudoheaders);
-
-    while ( my $line = shift @{$lines} ) {
-        next if $line =~ /^\s*?$/;
-        if ( $line =~ /^RT-/i ) {
-
-            push ( @pseudoheaders, $line );
-        }
-
-        #If we find a line that's not a command, get out.
-        else {
-            unshift ( @{$lines}, $line );
-            last;
-        }
-    }
-
-    return (@pseudoheaders);
-
-}
-
-# }}}
-
-# {{{ sub ActOnPseudoHeaders
-
-=item ActOnPseudoHeaders $PseudoHeaders
-
-Takes a string of pseudo-headers, iterates through them and does what they tell it to.
-
-=cut
-
-sub ActOnPseudoHeaders {
-    my $CurrentUser = shift;
-    my (@actions) = (@_);
-
-    my $ResultsMessage = '';
-    my $Ticket         = RT::Ticket->new($CurrentUser);
-
-    foreach my $action (@actions) {
-        my ($val);
-        my $msg = '';
-
-        $ResultsMessage .= ">>> $action\n";
-
-        if ( $action =~ /^RT-(.*?):\s*(.*)$/i ) {
-            my $command = $1;
-            my $args    = $2;
-
-            if ( $command =~ /^ticket$/i ) {
-
-                $val = $Ticket->Load($args);
-                unless ($val) {
-                    $ResultsMessage .=
-                      loc("ERROR: Couldn't load ticket '[_1]': [_2].\n", $1, $msg);
-                      . loc("Aborting to avoid unintended ticket modifications.\n")
-                      . loc("The following commands were not proccessed:\n\n")
-                      . join ( "\n", @actions );
-                    return ($ResultsMessage);
-                }
-                $ResultsMessage .= loc("Ticket [_1] loaded\n", $Ticket->Id);
-            }
-            else {
-                unless ( $Ticket->Id ) {
-                    $ResultsMessage .= loc("No Ticket specified. Aborting ticket ")
-                      . loc("modifications\n\n")
-                      . loc("The following commands were not proccessed:\n\n")
-                      . join ( "\n", @actions );
-                    return ($ResultsMessage);
-                }
-
-                # Deal with the basics
-                if ( $command =~ /^(Subject|Owner|Status|Queue)$/i ) {
-                    my $method = 'Set' . ucfirst( lc($1) );
-                    ( $val, $msg ) = $Ticket->$method($args);
-                }
-
-                # Deal with the dates
-                elsif ( $command =~ /^(due|starts|started|resolved)$/i ) {
-                    my $method = 'Set' . ucfirst( lc($1) );
-                    my $date   = new RT::Date($CurrentUser);
-                    $date->Set( Format => 'unknown', Value => $args );
-                    ( $val, $msg ) = $Ticket->$method( $date->ISO );
-                }
-
-                # Deal with the watchers
-                elsif ( $command =~ /^(requestor|requestors|cc|admincc)$/i ) {
-                    my $operator = "+";
-                    my ($type);
-                    if ( $args =~ /^(\+|\-)(.*)$/ ) {
-                        $operator = $1;
-                        $args     = $2;
-                    }
-                    $type = 'Requestor' if ( $command =~ /^requestor/i );
-                    $type = 'Cc'        if ( $command =~ /^cc/i );
-                    $type = 'AdminCc'   if ( $command =~ /^admincc/i );
-
-                       my $user = RT::User->new($CurrentUser);
-                    $user->Load($args);
-
-                    if ($operator eq '+') {
-                        ($val, $msg) = $Ticket->AddWatcher( Type => $type,
-                                                            PrincipalId => $user->PrincipalId);
-                    } elsif ($operator eq '-') {
-                        ($val, $msg) = $Ticket->DeleteWatcher( Type => $type,
-                                                               PrincipalId => $user->PrincipalId);
-                    }
-
-            }
-            $ResultsMessage .= $msg . "\n";
-        }
-
-    }
-    return ($ResultsMessage);
-
-}
-
-# }}}
-
-# {{{ sub untaint 
-sub untaint {
-    my $val = shift;
-
-    if ( $val =~ /^([-\#\/\w.]+)$/ ) {
-        $val = $1;    # $data now untainted
-    }
-    else {
-        die loc("Bad data in [_1]", $val);    # log this somewhere
-    }
-    return ($val);
-}
-
-# }}}
-
-=head1 AUTHOR
-
-
-
-  rt-commit-handler is a rewritten version of the NetBSD commit handler,
-  which was placed in the public domain by Charles Hannum. It bore the following
-  authors statement:
-
- Contributed by David Hampton <hampton@cisco.com>
- Hacked greatly by Greg A. Woods <woods@planix.com>
- Rewritten by Charles M. Hannum <mycroft@netbsd.org>
-
-=cut
-
diff --git a/rt/bin/rt-crontool b/rt/bin/rt-crontool
deleted file mode 100644 (file)
index cdbc3cb..0000000
+++ /dev/null
@@ -1,220 +0,0 @@
-#!/usr/bin/perl
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-use strict;
-use Carp;
-
-use lib ("/opt/rt3/lib", "/opt/rt3/local/lib");
-
-package RT;
-
-use Getopt::Long;
-
-use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);
-use RT::Tickets;
-use RT::Template;
-
-#Clean out all the nasties from the environment
-CleanEnv();
-
-# Load the config file
-RT::LoadConfig();
-
-#Connect to the database and get RT::SystemUser and RT::Nobody loaded
-RT::Init();
-
-#Drop setgid permissions
-RT::DropSetGIDPermissions();
-
-#Get the current user all loaded
-my $CurrentUser = GetCurrentUser();
-
-unless ( $CurrentUser->Id ) {
-    print loc("No RT user found. Please consult your RT administrator.\n");
-    exit(1);
-}
-
-my ( $search, $condition, $action, $search_arg, $condition_arg, $action_arg,
-     $template_id, $help, $verbose );
-GetOptions( "search=s"        => \$search,
-            "search-arg=s"    => \$search_arg,
-            "condition=s"     => \$condition,
-            "condition-arg=s" => \$condition_arg,
-            "action-arg=s"    => \$action_arg,
-            "action=s"        => \$action,
-           "template-id=s"   => \$template_id,
-            "help"            => \$help,
-            "verbose|v"       => \$verbose );
-
-help() if $help;
-
-# We _must_ have a search object
-load_module($search);
-load_module($action)    if ($action);
-load_module($condition) if ($condition);
-
-# load template if specified
-my $template_obj;
-if ($template_id) {
-    $template_obj = RT::Template->new($RT::Nobody);
-    $template_obj->LoadById($template_id);
-}
-
-#At the appointed time:
-
-#find a bunch of tickets
-my $tickets = RT::Tickets->new($CurrentUser);
-my $search  = $search->new( TicketsObj => $tickets, Argument => $search_arg );
-
-$search->Prepare();
-
-# TicketsFound is an RT::Tickets object
-my $tickets = $search->TicketsObj;
-
-#for each ticket we've found
-while ( my $ticket = $tickets->Next() ) {
-    print "\n" . $ticket->Id() . ": " if ($verbose);
-
-    # perform some more advanced check
-    if ($condition) {
-        my $condition_obj = $condition->new( TicketObj => $ticket,
-                                             Argument  => $condition_arg );
-
-        # if the condition doesn't apply, get out of here
-
-        next unless ( $condition_obj->IsApplicable );
-        print loc("Condition matches...") if ($verbose);
-    }
-
-    #prepare our action
-    my $action_obj = $action->new( TicketObj => $ticket,
-                                  TemplateObj => $template_obj,
-                                   Argument  => $action_arg );
-
-    #if our preparation, move onto the next ticket
-    next unless ( $action_obj->Prepare );
-    print loc("Action prepared...") if ($verbose);
-
-    #commit our action.
-    next unless ( $action_obj->Commit );
-    print loc("Action committed.") if ($verbose);
-}
-
-# {{{ load_module 
-
-=head2 load_module
-
-Loads a perl module, dying nicely if it can't find it.
-
-=cut
-
-sub load_module {
-    my $modname = shift;
-    eval "require $modname";
-    if ($@) {
-        die loc( "Failed to load module [_1]. ([_2])", $modname, $@ );
-    }
-
-}
-
-# }}}
-
-# {{{ loc 
-
-=head2 loc LIST
-
-Localize this string, with the current user's currentuser object
-
-=cut
-
-sub loc {
-    $CurrentUser->loc(@_);
-}
-
-# }}}
-
-sub help {
-
-    print loc( "[_1] is a tool to act on tickets from an external scheduling tool, such as cron.", $0 )
-      . "\n";
-    print loc("It takes several arguments:") . "\n\n";
-
-    print "    "
-      . loc( "[_1] - Specify the search module you want to use", "--search" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - An argument to pass to [_2]", "--search-argument", "--search" )
-      . "\n";
-
-    print "    "
-      . loc( "[_1] - Specify the condition module you want to use", "--condition" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - An argument to pass to [_2]", "--condition-argument", "--condition" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - Specify the action module you want to use", "--action" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - An argument to pass to [_2]", "--action-argument", "--action" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - Output status updates to STDOUT", "--verbose" ) . "\n";
-    print "\n";
-    print "\n";
-    print loc("Security:")."\n";
-    print loc("This tool allows the user to run arbitrary perl modules from within RT.")." ". 
-        loc("If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT.")." ".
-        loc("It is incredibly important that nonprivileged users not be allowed to run this tool."). " " . 
-        loc("It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool.")."\n";
-    print "\n";
-    print loc("Example:");
-    print "\n";
-    print " "
-      . loc( "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-      )
-      . "\n\n";
-
-    print " bin/rt-cron-tool \\\n";
-    print
-      "  --search RT::Search::ActiveTicketsInQueue  --search-arg general \\\n";
-    print
-      "  --condition RT::Condition::UntouchedInHours --condition-arg 4 \\\n";
-    print "  --action RT::Action::SetPriority --action-arg 99 \\\n";
-    print "  --verbose\n";
-
-    print "\n";
-    print loc("Escalate tickets");
-    print "rt-crontool \\\n";
-    print " --search RT::Search::ActiveTicketsInQueue  --search-arg thequeuename \\\n";
-    print " --action RT::Action::EscalatePriority \\\n";
-
-
-
-    exit(0);
-}
diff --git a/rt/bin/rt-crontool.in b/rt/bin/rt-crontool.in
deleted file mode 100644 (file)
index 76b08c3..0000000
+++ /dev/null
@@ -1,244 +0,0 @@
-#!@PERL@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-use strict;
-use Carp;
-
-use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");
-
-package RT;
-
-use Getopt::Long;
-
-use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);
-use RT::Tickets;
-use RT::Template;
-
-#Clean out all the nasties from the environment
-CleanEnv();
-
-# Load the config file
-RT::LoadConfig();
-
-#Connect to the database and get RT::SystemUser and RT::Nobody loaded
-RT::Init();
-
-#Get the current user all loaded
-my $CurrentUser = GetCurrentUser();
-
-unless ( $CurrentUser->Id ) {
-    print loc("No RT user found. Please consult your RT administrator.\n");
-    exit(1);
-}
-
-my ( $search, $condition, $action, $search_arg, $condition_arg, $action_arg,
-     $template_id, $help, $verbose );
-GetOptions( "search=s"        => \$search,
-            "search-arg=s"    => \$search_arg,
-            "condition=s"     => \$condition,
-            "condition-arg=s" => \$condition_arg,
-            "action-arg=s"    => \$action_arg,
-            "action=s"        => \$action,
-           "template-id=s"   => \$template_id,
-            "help"            => \$help,
-            "verbose|v"       => \$verbose );
-
-help() if $help or not $search or not $action;
-
-# We _must_ have a search object
-load_module($search);
-load_module($action)    if ($action);
-load_module($condition) if ($condition);
-
-# load template if specified
-my $template_obj;
-if ($template_id) {
-    $template_obj = RT::Template->new($CurrentUser);
-    $template_obj->Load($template_id);
-}
-
-#At the appointed time:
-
-#find a bunch of tickets
-my $tickets = RT::Tickets->new($CurrentUser);
-my $search  = $search->new(
-    TicketsObj  => $tickets,
-    Argument    => $search_arg,
-    CurrentUser => $CurrentUser
-);
-
-$search->Prepare();
-
-# TicketsFound is an RT::Tickets object
-my $tickets = $search->TicketsObj;
-
-#for each ticket we've found
-while ( my $ticket = $tickets->Next() ) {
-    print $ticket->Id() . ": " if ($verbose);
-
-    # perform some more advanced check
-    if ($condition) {
-        my $condition_obj = $condition->new( TicketObj => $ticket,
-                                             Argument  => $condition_arg,
-                                             CurrentUser => $CurrentUser );
-
-        # if the condition doesn't apply, get out of here
-
-        next unless ( $condition_obj->IsApplicable );
-        print loc("Condition matches...") if ($verbose);
-    }
-
-    #prepare our action
-    my $action_obj = $action->new(
-        TicketObj   => $ticket,
-        TemplateObj => $template_obj,
-        Argument    => $action_arg,
-        CurrentUser => $CurrentUser
-    );
-
-    #if our preparation, move onto the next ticket
-    next unless ( $action_obj->Prepare );
-    print loc("Action prepared...") if ($verbose);
-
-    #commit our action.
-    next unless ( $action_obj->Commit );
-    print loc("Action committed.\n") if ($verbose);
-}
-
-# {{{ load_module 
-
-=head2 load_module
-
-Loads a perl module, dying nicely if it can't find it.
-
-=cut
-
-sub load_module {
-    my $modname = shift;
-    eval "require $modname";
-    if ($@) {
-        die loc( "Failed to load module [_1]. ([_2])", $modname, $@ );
-    }
-
-}
-
-# }}}
-
-# {{{ loc 
-
-=head2 loc LIST
-
-Localize this string, with the current user's currentuser object
-
-=cut
-
-sub loc {
-    $CurrentUser->loc(@_);
-}
-
-# }}}
-
-sub help {
-
-    print loc( "[_1] is a tool to act on tickets from an external scheduling tool, such as cron.", $0 )
-      . "\n";
-    print loc("It takes several arguments:") . "\n\n";
-
-    print "    "
-      . loc( "[_1] - Specify the search module you want to use", "--search" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - An argument to pass to [_2]", "--search-argument", "--search" )
-      . "\n";
-
-    print "    "
-      . loc( "[_1] - Specify the condition module you want to use", "--condition" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - An argument to pass to [_2]", "--condition-argument", "--condition" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - Specify the action module you want to use", "--action" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - An argument to pass to [_2]", "--action-argument", "--action" )
-      . "\n";
-    print "    "
-      . loc( "[_1] - Output status updates to STDOUT", "--verbose" ) . "\n";
-    print "\n";
-    print "\n";
-    print loc("Security:")."\n";
-    print loc("This tool allows the user to run arbitrary perl modules from within RT.")." ". 
-        loc("If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT.")." ".
-        loc("It is incredibly important that nonprivileged users not be allowed to run this tool."). " " . 
-        loc("It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool.")."\n";
-    print "\n";
-    print loc("Example:");
-    print "\n";
-    print " "
-      . loc( "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-      )
-      . "\n\n";
-
-    print " bin/rt-crontool \\\n";
-    print "  --search RT::Search::ActiveTicketsInQueue  --search-arg general \\\n";
-    print "  --condition RT::Condition::UntouchedInHours --condition-arg 4 \\\n";
-    print "  --action RT::Action::SetPriority --action-arg 99 \\\n";
-    print "  --verbose\n";
-
-    print "\n";
-    print loc("Escalate tickets"). "\n";
-    print " bin/rt-crontool \\\n";
-    print "  --search RT::Search::ActiveTicketsInQueue  --search-arg general \\\n";
-    print "  --action RT::Action::EscalatePriority\n";
-
-
-
-    exit(0);
-}
diff --git a/rt/bin/rt-mailgate b/rt/bin/rt-mailgate
deleted file mode 100755 (executable)
index 8af8002..0000000
+++ /dev/null
@@ -1,648 +0,0 @@
-#!/usr/bin/perl -w
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-=head1 NAME
-
-rt-mailgate - Mail interface to RT3.
-
-=begin testing
-
-use RT::I18N;
-
-# Make sure that when we call the mailgate wrong, it tempfails
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://bad.address"), "Opened the mailgate - The error below is expected - $@");
-print MAIL <<EOF;
-From: root\@localhost
-To: rt\@example.com
-Subject: This is a test of new ticket creation
-
-Foob!
-EOF
-close (MAIL);
-
-# Check the return value
-is ( $? >> 8, 75, "The error message above is expected The mail gateway exited with a failure. yay");
-
-
-# {{{ Test new ticket creation by root who is privileged and superuser
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: root\@localhost
-To: rt\@example.com
-Subject: This is a test of new ticket creation
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-use RT::Tickets;
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok (UNIVERSAL::isa($tick,'RT::Ticket'));
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'This is a test of new ticket creation', "Created the ticket");
-
-# }}}
-
-
-# {{{This is a test of new ticket creation as an unknown user
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist\@example.com
-To: rt\@example.com
-Subject: This is a test of new ticket creation as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject ne 'This is a test of new ticket creation as an unknown user', "failed to create the new ticket from an unprivileged account");
-my $u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist@example.com');
-ok( $u->Id == 0, " user does not exist and was not created by failed ticket submission");
-
-
-# }}}
-
-# {{{ now everybody can create tickets.  can a random unkown user create tickets?
-
-my $g = RT::Group->new($RT::SystemUser);
-$g->LoadSystemInternalGroup('Everyone');
-ok( $g->Id, "Found 'everybody'");
-
-my ($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CreateTicket');
-ok ($val, "Granted everybody the right to create tickets - $msg");
-
-sleep(60); # gotta sleep so the remote process' ACL cache times out
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist\@example.com
-To: rt\@example.com
-Subject: This is a test of new ticket creation as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'This is a test of new ticket creation as an unknown user', "failed to create the new ticket from an unprivileged account");
-my $u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist@example.com');
-ok( $u->Id != 0, " user does not exist and was created by ticket submission");
-
-# }}}
-
-
-# {{{  can another random reply to a ticket without being granted privs? answer should be no.
-
-
-#($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CreateTicket');
-#ok ($val, "Granted everybody the right to create tickets - $msg");
-#sleep(60); # gotta sleep so the remote process' ACL cache times out
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-2\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a reply as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-2@example.com');
-ok( $u->Id == 0, " user does not exist and was not created by ticket correspondence submission");
-# }}}
-# {{{  can another random reply to a ticket after being granted privs? answer should be yes
-
-
-($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'ReplyToTicket');
-ok ($val, "Granted everybody the right to reply to  tickets - $msg");
-sleep(60); # gotta sleep so the remote process' ACL cache times out
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-2\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a reply as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-2@example.com');
-ok( $u->Id != 0, " user exists and was created by ticket correspondence submission");
-
-# }}}
-
-# {{{  can another random comment on a ticket without being granted privs? answer should be no.
-
-
-#($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CreateTicket');
-#ok ($val, "Granted everybody the right to create tickets - $msg");
-#sleep(60); # gotta sleep so the remote process' ACL cache times out
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action comment"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-3\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a comment as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-3@example.com');
-ok( $u->Id == 0, " user does not exist and was not created by ticket comment submission");
-
-# }}}
-# {{{  can another random reply to a ticket after being granted privs? answer should be yes
-
-
-($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CommentOnTicket');
-ok ($val, "Granted everybody the right to reply to  tickets - $msg");
-sleep(60); # gotta sleep so the remote process' ACL cache times out
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action comment"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-3\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a comment as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-3@example.com');
-ok( $u->Id != 0, " user exists and was created by ticket comment submission");
-
-# }}}
-
-# {{{ Testing preservation of binary attachments
-
-# Get a binary blob (Best Practical logo) 
-
-# Create a mime entity with an attachment
-
-use MIME::Entity;
-my $entity = MIME::Entity->build( From => 'root@localhost',
-                                 To => 'rt@localhost',
-                                Subject => 'binary attachment test',
-                                Data => ['This is a test of a binary attachment']);
-
-# currently in lib/t/autogen
-$entity->attach(Path => '/opt/rt3/share/html/NoAuth/images/spacer.gif', 
-                Type => 'image/gif',
-                Encoding => 'base64');
-
-# Create a ticket with a binary attachment
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-
-$entity->print(\*MAIL);
-
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok (UNIVERSAL::isa($tick,'RT::Ticket'));
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'binary attachment test', "Created the ticket - ".$tick->Id);
-
-my $file = `cat ../../../html/NoAuth/images/spacer.gif`;
-ok ($file, "Read in the logo image");
-
-
-        use Digest::MD5;
-warn "for the raw file the content is ".Digest::MD5::md5_base64($file);
-
-
-
-# Verify that the binary attachment is valid in the database
-my $attachments = RT::Attachments->new($RT::SystemUser);
-$attachments->Limit(FIELD => 'ContentType', VALUE => 'image/gif');
-ok ($attachments->Count == 1, 'Found only one gif in the database');
-my $attachment = $attachments->First;
-my $acontent = $attachment->Content;
-
-        warn "coming from the  database, the content is ".Digest::MD5::md5_base64($acontent);
-
-is( $acontent, $file, 'The attachment isn\'t screwed up in the database.');
-# Log in as root
-use Getopt::Long;
-use LWP::UserAgent;
-
-
-# Grab the binary attachment via the web ui
-my $ua      = LWP::UserAgent->new();
-
-my $full_url = "http://localhost".$RT::WebPath."/Ticket/Attachment/".$attachment->TransactionId."/".$attachment->id."/spacer.gif?&user=root&pass=password";
-my $r = $ua->get( $full_url);
-
-
-# Verify that the downloaded attachment is the same as what we uploaded.
-is($file, $r->content, 'The attachment isn\'t screwed up in download');
-
-
-
-# }}}
-
-# {{{ Simple I18N testing
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-                                                                         
-print MAIL <<EOF;
-From: root\@localhost
-To: rtemail\@example.com
-Subject: This is a test of I18N ticket creation
-Content-Type: text/plain; charset="utf-8"
-
-2 accented lines
-\303\242\303\252\303\256\303\264\303\273
-\303\241\303\251\303\255\303\263\303\272
-bye
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-my $unitickets = RT::Tickets->new($RT::SystemUser);
-$unitickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$unitickets->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
-my $unitick = $unitickets->First();
-ok (UNIVERSAL::isa($unitick,'RT::Ticket'));
-ok ($unitick->Id, "found ticket ".$unitick->Id);
-ok ($unitick->Subject eq 'This is a test of I18N ticket creation', "Created the ticket - ". $unitick->Subject);
-
-
-
-my $unistring = "\303\241\303\251\303\255\303\263\303\272";
-Encode::_utf8_on($unistring);
-is ($unitick->Transactions->First->Content, $unitick->Transactions->First->Attachments->First->Content, "Content is ". $unitick->Transactions->First->Attachments->First->Content);
-ok($unitick->Transactions->First->Attachments->First->Content =~ /$unistring/i, $unitick->Id." appears to be unicode ". $unitick->Transactions->First->Attachments->First->Id);
-# supposedly I18N fails on the second message sent in.
-
-ok(open(MAIL, "|/opt/rt3/bin/rt-mailgate --url http://localhost".$RT::WebPath."/ --queue general --action correspond"), "Opened the mailgate - $@");
-                                                                         
-print MAIL <<EOF;
-From: root\@localhost
-To: rtemail\@example.com
-Subject: This is a test of I18N ticket creation
-Content-Type: text/plain; charset="utf-8"
-
-2 accented lines
-\303\242\303\252\303\256\303\264\303\273
-\303\241\303\251\303\255\303\263\303\272
-bye
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-my $tickets2 = RT::Tickets->new($RT::SystemUser);
-$tickets2->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets2->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
-my $tick2 = $tickets2->First();
-ok (UNIVERSAL::isa($tick2,'RT::Ticket'));
-ok ($tick2->Id, "found ticket ".$tick2->Id);
-ok ($tick2->Subject eq 'This is a test of I18N ticket creation', "Created the ticket");
-
-
-
-my $unistring = "\303\241\303\251\303\255\303\263\303\272";
-Encode::_utf8_on($unistring);
-
-ok ($tick2->Transactions->First->Content =~ $unistring, "It appears to be unicode - ".$tick2->Transactions->First->Content);
-
-# }}}
-
-
-($val,$msg) = $g->PrincipalObj->RevokeRight(Right => 'CreateTicket');
-ok ($val, $msg);
-
-
-
-=end testing
-
-=cut
-
-
-use strict;
-use Getopt::Long;
-use LWP::UserAgent;
-
-use constant EX_TEMPFAIL => 75;
-
-my %opts;
-GetOptions( \%opts, "queue=s", "action=s", "url=s", "jar=s", "help", "debug", "extension=s", "timeout=i" );
-
-if ( $opts{help} ) {
-    require Pod::Usage;
-    import Pod::Usage;
-    pod2usage("RT Mail Gateway\n");
-    exit 1;    # Don't want to succeed if this is really an email!
-}
-
-for (qw(url)) {
-    die "$0 invoked improperly\n\nNo $_ provided to mail gateway!\n" unless $opts{$_};
-}
-
-undef $/;
-my $ua      = LWP::UserAgent->new();
-$ua->cookie_jar( { file => $opts{jar} } );
-
-my %args = (
-    queue   => $opts{queue},
-    action  => $opts{action},
-    SessionType => 'REST',    # Surpress login box
-);
-
-# Read the message in from STDIN
-$args{'message'} = <>;
-
-
-if ($opts{'extension'}) {
-        $args{$opts{'extension'}} = $ENV{'EXTENSION'};
-}
-
-# Set up cookie here.
-
-my $full_url = $opts{'url'}. "/REST/1.0/NoAuth/mail-gateway";
-warn "Connecting to $full_url" if $opts{'debug'};
-
-
-
-$ua->timeout(exists($opts{'timeout'}) ? $opts{'timeout'} : 180);
-my $r = $ua->post( $full_url, {%args} );
-check_failure($r);
-
-my $content = $r->content;
-warn $content if ($opts{debug});
-
-if ( $content !~ /^(ok|not ok)/ ) {
-
-    # It's not the server's fault if the mail is bogus. We just want to know that
-    # *something* came out of the server.
-    warn <<EOF;
-RT server error.
-
-The RT server which handled your email did not behave as expected. It
-said:
-
-$content
-EOF
-
-exit EX_TEMPFAIL;
-
-}
-
-exit;
-
-
-sub check_failure {
-    my $r = shift;
-    return if $r->is_success();
-
-    # This ordinarily oughtn't to be able to happen, suggests a bug in RT.
-    # So only load these heavy modules when they're needed.
-    require HTML::TreeBuilder;
-    require HTML::FormatText;
-
-    my $error = $r->error_as_HTML;
-    my $tree  = HTML::TreeBuilder->new->parse($error);
-    $tree->eof;
-
-    # It'll be a cold day in hell before RT sends out bounces in HTML
-    my $formatter = HTML::FormatText->new( leftmargin  => 0,
-                                           rightmargin => 50 );
-    warn $formatter->format($tree);
-    warn "This is $0 exiting because of an undefined server error" if ($opts{debug});
-    exit EX_TEMPFAIL;
-}
-
-
-=head1 SYNOPSIS
-
-    rt-mailgate --help : this text
-
-Usual invocation (from MTA):
-
-    rt-mailgate --action (correspond|comment) --queue queuename
-                --url http://your.rt.server/
-                [ --debug ]
-                [ --extension (queue|action|ticket) ]
-                [ --timeout seconds ]
-
-
-
-See C<man rt-mailgate> for more.
-
-=head1 OPTIONS
-
-=over 3
-
-=item C<--action>
-
-Specifies whether this is a correspondence or comment address.
-
-=item C<--queue>
-
-Reflects which queue this address handles.
-
-=item C<--url>
-
-The location of the web server for your RT instance.
-
-
-=item C<--extension> OPTIONAL
-
-Some MTAs will route mail sent to user-foo@host or user+foo@host to user@host
-and present "foo" in the environment variable $EXTENSION. By specifying
-the value "queue" for this parameter, the queue this message should be
-submitted to will be set to the value of $EXTENSION. By specifying
-"ticket", $EXTENSION will be interpreted as the id of the ticket this message
-is related to.  "action" will allow the user to specify either "comment" or
-"correspond" in the address extension.
-
-=item C<--debug> OPTIONAL
-
-Print debugging output to standard error
-
-
-=item C<--timeout> OPTIONAL
-
-Configure the timeout for posting the message to the web server.  The
-default timeout is 3 minutes (180 seconds).
-
-
-=head1 DESCRIPTION
-
-The RT mail gateway is the primary mechanism for communicating with RT
-via email. This program simply directs the email to the RT web server,
-which handles filing correspondence and sending out any required mail.
-It is designed to be run as part of the mail delivery process, either
-called directly by the MTA or C<procmail>, or in a F<.forward> or
-equivalent.
-
-=head1 SETUP
-
-Much of the set up of the mail gateway depends on your MTA and mail
-routing configuration. However, you will need first of all to create an
-RT user for the mail gateway and assign it a password; this helps to
-ensure that mail coming into the web server did originate from the
-gateway.
-
-Next, you need to route mail to C<rt-mailgate> for the queues you're
-monitoring. For instance, if you're using F</etc/aliases> and you have a
-"bugs" queue, you will want something like this:
-
-    bugs:         "|/opt/rt3/bin/rt-mailgate --queue bugs --action correspond
-              --url http://rt.mycorp.com/"
-
-    bugs-comment: "|/opt/rt3/bin/rt-mailgate --queue bugs --action comment
-              --url http://rt.mycorp.com/"
-
-Note that you don't have to run your RT server on your mail server, as
-the mail gateway will happily relay to a different machine.
-
-=head1 CUSTOMIZATION
-
-By default, the mail gateway will accept mail from anyone. However,
-there are situations in which you will want to authenticate users
-before allowing them to communicate with the system. You can do this
-via a plug-in mechanism in the RT configuration.
-
-You can set the array C<@RT::MailPlugins> to be a list of plugins. The
-default plugin, if this is not given, is C<Auth::MailFrom> - that is,
-authentication of the person is done based on the C<From> header of the
-email. If you have additional filters or authentication mechanisms, you
-can list them here and they will be called in order:
-
-    @RT::MailPlugins = (
-        "Filter::SpamAssassin",
-        "Auth::LDAP",
-        # ...
-    );
-
-See the documentation for any additional plugins you have.
-
-You may also put Perl subroutines into the C<@RT::MailPlugins> array, if
-they behave as described below.
-
-=head1 WRITING PLUGINS
-
-What's actually going on in the above is that C<@RT::MailPlugins> is a
-list of Perl modules; RT prepends C<RT::Interface::Email::> to the name,
-to form a package name, and then C<use>'s this module. The module is
-expected to provide a C<GetCurrentUser> subroutine, which takes a hash of
-several parameters:
-
-=over 4
-
-=item Message
-
-A C<MIME::Entity> object representing the email
-=item CurrentUser
-
-An C<RT::CurrentUser> object
-
-=item AuthStat
-
-The authentication level returned from the previous plugin.
-
-=item Ticket [OPTIONAL]
-
-The ticket under discussion
-
-=item Queue [OPTIONAL]
-
-If we don't already have a ticket id, we need to know which queue we're talking about
-
-=item Action
-
-The action being performed. At the moment, it's one of "comment" or "correspond"
-
-=back 4
-
-It returns two values, the new C<RT::CurrentUser> object, and the new
-authentication level. The authentication level can be zero, not allowed
-to communicate with RT at all, (a "permission denied" error is mailed to
-the correspondent) or one, which is the normal mode of operation.
-Additionally, if C<-1> is returned, then the processing of the plug-ins
-stops immediately and the message is ignored.
-
-=cut
-
diff --git a/rt/bin/rt-mailgate.in b/rt/bin/rt-mailgate.in
deleted file mode 100644 (file)
index 5ac9469..0000000
+++ /dev/null
@@ -1,320 +0,0 @@
-#!@PERL@ -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-rt-mailgate - Mail interface to RT3.
-
-=cut
-
-
-use strict;
-use Getopt::Long;
-use LWP::UserAgent;
-
-use constant EX_TEMPFAIL => 75;
-
-my %opts;
-GetOptions( \%opts, "queue=s", "action=s", "url=s", "jar=s", "help", "debug", "extension=s", "timeout=i" );
-
-if ( $opts{help} ) {
-    require Pod::Usage;
-    import Pod::Usage;
-    pod2usage("RT Mail Gateway\n");
-    exit 1;    # Don't want to succeed if this is really an email!
-}
-
-for (qw(url)) {
-    die "$0 invoked improperly\n\nNo $_ provided to mail gateway!\n" unless $opts{$_};
-}
-
-my $ua      = LWP::UserAgent->new();
-$ua->cookie_jar( { file => $opts{jar} } );
-
-my %args = (
-    queue   => $opts{queue},
-    action  => $opts{action},
-    SessionType => 'REST',    # Surpress login box
-);
-
-# Read the message in from STDIN
-$args{'message'} = do { local (@ARGV, $/); <> };
-
-unless ( $args{message} =~ /\S/ ) {
-    print STDERR "$0: no message passed on STDIN!\n";
-    exit 0;
-}
-
-if ($opts{'extension'}) {
-        $args{$opts{'extension'}} = $ENV{'EXTENSION'};
-}
-
-# Set up cookie here.
-
-my $full_url = $opts{'url'}. "/REST/1.0/NoAuth/mail-gateway";
-warn "Connecting to $full_url" if $opts{'debug'};
-
-
-
-$ua->timeout(exists($opts{'timeout'}) ? $opts{'timeout'} : 180);
-my $r = $ua->post( $full_url, {%args} );
-check_failure($r);
-
-my $content = $r->content;
-warn $content if ($opts{debug});
-
-if ( $content !~ /^(ok|not ok)/ ) {
-
-    # It's not the server's fault if the mail is bogus. We just want to know that
-    # *something* came out of the server.
-    warn <<EOF;
-RT server error.
-
-The RT server which handled your email did not behave as expected. It
-said:
-
-$content
-EOF
-
-exit EX_TEMPFAIL;
-
-}
-
-exit;
-
-
-sub check_failure {
-    my $r = shift;
-    return if $r->is_success();
-
-    # This ordinarily oughtn't to be able to happen, suggests a bug in RT.
-    # So only load these heavy modules when they're needed.
-    require HTML::TreeBuilder;
-    require HTML::FormatText;
-
-    my $error = $r->error_as_HTML;
-    my $tree  = HTML::TreeBuilder->new->parse($error);
-    $tree->eof;
-
-    # It'll be a cold day in hell before RT sends out bounces in HTML
-    my $formatter = HTML::FormatText->new( leftmargin  => 0,
-                                           rightmargin => 50 );
-    warn $formatter->format($tree);
-    warn "This is $0 exiting because of an undefined server error" if ($opts{debug});
-    exit EX_TEMPFAIL;
-}
-
-
-=head1 SYNOPSIS
-
-    rt-mailgate --help : this text
-
-Usual invocation (from MTA):
-
-    rt-mailgate --action (correspond|comment|...) --queue queuename
-                --url http://your.rt.server/
-                [ --debug ]
-                [ --extension (queue|action|ticket) ]
-                [ --timeout seconds ]
-
-
-
-See C<man rt-mailgate> for more.
-
-=head1 OPTIONS
-
-=over 3
-
-=item C<--action>
-
-Specifies what happens to email sent to this alias.  The avaliable
-basic actions are: C<correspond>, C<comment>.
-
-
-If you've set the RT configuration variable B<$RT::UnsafeEmailCommands>,
-C<take> and C<resolve> are also available.  You can execute two or more
-actions on a single message using a C<-> separated list.  RT will execute
-the actions in the listed order.  For example you can use C<take-comment>,
-C<correspond-resolve> or C<take-comment-resolve> as actions.
-
-Note that C<take> and C<resolve> actions ignore message text if used
-alone.  Include a  C<comment> or C<correspond> action if you want RT
-to record the incoming message.
-
-The default action is C<correspond>.
-
-=item C<--queue>
-
-This flag determines which queue this alias should create a ticket in if no ticket identifier
-is found.
-
-=item C<--url>
-
-This flag tells the mail gateway where it can find your RT server. You should 
-probably use the same URL that users use to log into RT.
-
-
-=item C<--extension> OPTIONAL
-
-Some MTAs will route mail sent to user-foo@host or user+foo@host to user@host
-and present "foo" in the environment variable $EXTENSION. By specifying
-the value "queue" for this parameter, the queue this message should be
-submitted to will be set to the value of $EXTENSION. By specifying
-"ticket", $EXTENSION will be interpreted as the id of the ticket this message
-is related to.  "action" will allow the user to specify either "comment" or
-"correspond" in the address extension.
-
-=item C<--debug> OPTIONAL
-
-Print debugging output to standard error
-
-
-=item C<--timeout> OPTIONAL
-
-Configure the timeout for posting the message to the web server.  The
-default timeout is 3 minutes (180 seconds).
-
-
-=head1 DESCRIPTION
-
-The RT mail gateway is the primary mechanism for communicating with RT
-via email. This program simply directs the email to the RT web server,
-which handles filing correspondence and sending out any required mail.
-It is designed to be run as part of the mail delivery process, either
-called directly by the MTA or C<procmail>, or in a F<.forward> or
-equivalent.
-
-=head1 SETUP
-
-Much of the set up of the mail gateway depends on your MTA and mail
-routing configuration. However, you will need first of all to create an
-RT user for the mail gateway and assign it a password; this helps to
-ensure that mail coming into the web server did originate from the
-gateway.
-
-Next, you need to route mail to C<rt-mailgate> for the queues you're
-monitoring. For instance, if you're using F</etc/aliases> and you have a
-"bugs" queue, you will want something like this:
-
-    bugs:         "|/opt/rt3/bin/rt-mailgate --queue bugs --action correspond
-              --url http://rt.mycorp.com/"
-
-    bugs-comment: "|/opt/rt3/bin/rt-mailgate --queue bugs --action comment
-              --url http://rt.mycorp.com/"
-
-Note that you don't have to run your RT server on your mail server, as
-the mail gateway will happily relay to a different machine.
-
-=head1 CUSTOMIZATION
-
-By default, the mail gateway will accept mail from anyone. However,
-there are situations in which you will want to authenticate users
-before allowing them to communicate with the system. You can do this
-via a plug-in mechanism in the RT configuration.
-
-You can set the array C<@RT::MailPlugins> to be a list of plugins. The
-default plugin, if this is not given, is C<Auth::MailFrom> - that is,
-authentication of the person is done based on the C<From> header of the
-email. If you have additional filters or authentication mechanisms, you
-can list them here and they will be called in order:
-
-    @RT::MailPlugins = (
-        "Filter::SpamAssassin",
-        "Auth::LDAP",
-        # ...
-    );
-
-See the documentation for any additional plugins you have.
-
-You may also put Perl subroutines into the C<@RT::MailPlugins> array, if
-they behave as described below.
-
-=head1 WRITING PLUGINS
-
-What's actually going on in the above is that C<@RT::MailPlugins> is a
-list of Perl modules; RT prepends C<RT::Interface::Email::> to the name,
-to form a package name, and then C<use>'s this module. The module is
-expected to provide a C<GetCurrentUser> subroutine, which takes a hash of
-several parameters:
-
-=over 4
-
-=item Message
-
-A C<MIME::Entity> object representing the email
-
-=item CurrentUser
-
-An C<RT::CurrentUser> object
-
-=item AuthStat
-
-The authentication level returned from the previous plugin.
-
-=item Ticket [OPTIONAL]
-
-The ticket under discussion
-
-=item Queue [OPTIONAL]
-
-If we don't already have a ticket id, we need to know which queue we're talking about
-
-=item Action
-
-The action being performed. At the moment, it's one of "comment" or "correspond"
-
-=back 4
-
-It returns two values, the new C<RT::CurrentUser> object, and the new
-authentication level. The authentication level can be zero, not allowed
-to communicate with RT at all, (a "permission denied" error is mailed to
-the correspondent) or one, which is the normal mode of operation.
-Additionally, if C<-1> is returned, then the processing of the plug-ins
-stops immediately and the message is ignored.
-
-=cut
-
diff --git a/rt/bin/rt.in b/rt/bin/rt.in
deleted file mode 100644 (file)
index d12460b..0000000
+++ /dev/null
@@ -1,1890 +0,0 @@
-#!@PERL@ -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-# Designed and implemented for Best Practical Solutions, LLC by
-# Abhijit Menon-Sen <ams@wiw.org>
-
-use strict;
-
-# This program is intentionally written to have as few non-core module
-# dependencies as possible. It should stay that way.
-
-use Cwd;
-use LWP;
-use Text::ParseWords;
-use HTTP::Request::Common;
-
-# We derive configuration information from hardwired defaults, dotfiles,
-# and the RT* environment variables (in increasing order of precedence).
-# Session information is stored in ~/.rt_sessions.
-
-my $VERSION = 0.02;
-my $HOME = eval{(getpwuid($<))[7]}
-           || $ENV{HOME} || $ENV{LOGDIR} || $ENV{HOMEPATH}
-           || ".";
-my %config = (
-    (
-        debug   => 0,
-        user    => eval{(getpwuid($<))[0]} || $ENV{USER} || $ENV{USERNAME},
-        passwd  => undef,
-        server  => 'http://localhost/rt/',
-        query   => undef,
-        orderby => undef,
-    ),
-    config_from_file($ENV{RTCONFIG} || ".rtrc"),
-    config_from_env()
-);
-my $session = new Session("$HOME/.rt_sessions");
-my $REST = "$config{server}/REST/1.0";
-
-sub whine;
-sub DEBUG { warn @_ if $config{debug} >= shift }
-
-# These regexes are used by command handlers to parse arguments.
-# (XXX: Ask Autrijus how i18n changes these definitions.)
-
-my $name   = '[\w.-]+';
-my $field  = '[a-zA-Z][a-zA-Z0-9_-]*';
-my $label  = '[a-zA-Z0-9@_.+-]+';
-my $labels = "(?:$label,)*$label";
-my $idlist = '(?:(?:\d+-)?\d+,)*(?:\d+-)?\d+';
-
-# Our command line looks like this:
-#
-#     rt <action> [options] [arguments]
-#
-# We'll parse just enough of it to decide upon an action to perform, and
-# leave the rest to per-action handlers to interpret appropriately.
-
-my %handlers = (
-#   handler     => [ ...aliases... ],
-    version     => ["version", "ver"],
-    shell       => ["shell"],
-    logout      => ["logout"],
-    help        => ["help", "man"],
-    show        => ["show", "cat"],
-    edit        => ["create", "edit", "new", "ed"],
-    list        => ["search", "list", "ls"],
-    comment     => ["comment", "correspond"],
-    link        => ["link", "ln"],
-    merge       => ["merge"],
-    grant       => ["grant", "revoke"],
-);
-
-my %actions;
-foreach my $fn (keys %handlers) {
-    foreach my $alias (@{ $handlers{$fn} }) {
-        $actions{$alias} = \&{"$fn"};
-    }
-}
-
-# Once we find and call an appropriate handler, we're done.
-
-sub handler {
-    my $action;
-
-    if (@ARGV && exists $actions{$ARGV[0]}) {
-        $action = shift @ARGV;
-    }
-    $actions{$action || "help"}->($action || ());
-}
-
-handler();
-exit;
-
-# Handler functions.
-# ------------------
-#
-# The following subs are handlers for each entry in %actions.
-
-sub shell {
-    $|=1;
-    print "rt> ";
-    while (<>) {
-        chomp;
-        next if /^#/ || /^\s*$/;
-
-        @ARGV = shellwords($_);
-        handler();
-        print "rt> ";
-    }
-    print "\n";
-}
-
-sub version {
-    print "rt $VERSION\n";
-}
-
-sub logout {
-    submit("$REST/logout") if defined $session->cookie;
-}
-
-my %help;
-sub help {
-    my ($action, $type) = @_;
-    my $key;
-
-    # What help topics do we know about?
-    if (!%help) {
-        local $/ = undef;
-        foreach my $item (@{ Form::parse(<DATA>) }) {
-            my $title = $item->[2]{Title};
-            my @titles = ref $title eq 'ARRAY' ? @$title : $title;
-
-            foreach $title (grep $_, @titles) {
-                $help{$title} = $item->[2]{Text};
-            }
-        }
-    }
-
-    # What does the user want help with?
-    undef $action if ($action && $actions{$action} eq \&help);
-    unless ($action || $type) {
-        # If we don't know, we'll look for clues in @ARGV.
-        foreach (@ARGV) {
-            if (exists $help{$_}) { $key = $_; last; }
-        }
-        unless ($key) {
-            # Tolerate possibly plural words.
-            foreach (@ARGV) {
-                if ($_ =~ s/s$// && exists $help{$_}) { $key = $_; last; }
-            }
-        }
-    }
-
-    if ($type && $action) {
-        $key = "$type.$action";
-    }
-    $key ||= $type || $action || "introduction";
-
-    # Find a suitable topic to display.
-    while (!exists $help{$key}) {
-        if ($type && $action) {
-            if ($key eq "$type.$action") { $key = $action;        }
-            elsif ($key eq $action)      { $key = $type;          }
-            else                         { $key = "introduction"; }
-        }
-        else {
-            $key = "introduction";
-        }
-    }
-
-    print STDERR $help{$key}, "\n\n";
-}
-
-# Displays a list of objects that match some specified condition.
-
-sub list {
-    my ($q, $type, %data);
-    my $orderby = $config{orderby};
-    
-    if ($config{orderby}) {
-         $data{orderby} = $config{orderby};
-    } 
-    my $bad = 0;
-
-    while (@ARGV) {
-        $_ = shift @ARGV;
-
-        if (/^-t$/) {
-            $bad = 1, last unless defined($type = get_type_argument());
-        }
-        elsif (/^-S$/) {
-            $bad = 1, last unless get_var_argument(\%data);
-        }
-        elsif (/^-o$/) {
-            $data{'orderby'} = shift @ARGV;
-        }
-        elsif (/^-([isl])$/) {
-            $data{format} = $1;
-        }
-        elsif (/^-f$/) {
-            if ($ARGV[0] !~ /^(?:(?:$field,)*$field)$/) {
-                whine "No valid field list in '-f $ARGV[0]'.";
-                $bad = 1; last;
-            }
-            $data{fields} = shift @ARGV;
-        }
-        elsif (!defined $q && !/^-/) {
-            $q = $_;
-        }
-        else {
-            my $datum = /^-/ ? "option" : "argument";
-            whine "Unrecognised $datum '$_'.";
-            $bad = 1; last;
-        }
-    }
-    if (!defined $q) {
-        $q = $config{query}; 
-    }
-    
-    $type ||= "ticket";
-    unless ($type && defined $q) {
-        my $item = $type ? "query string" : "object type";
-        whine "No $item specified.";
-        $bad = 1;
-    }
-    return help("list", $type) if $bad;
-
-    my $r = submit("$REST/search/$type", { query => $q, %data });
-    print $r->content;
-}
-
-# Displays selected information about a single object.
-
-sub show {
-    my ($type, @objects, %data);
-    my $slurped = 0;
-    my $bad = 0;
-
-    while (@ARGV) {
-        $_ = shift @ARGV;
-
-        if (/^-t$/) {
-            $bad = 1, last unless defined($type = get_type_argument());
-        }
-        elsif (/^-S$/) {
-            $bad = 1, last unless get_var_argument(\%data);
-        }
-        elsif (/^-([isl])$/) {
-            $data{format} = $1;
-        }
-        elsif (/^-$/ && !$slurped) {
-            chomp(my @lines = <STDIN>);
-            foreach (@lines) {
-                unless (is_object_spec($_, $type)) {
-                    whine "Invalid object on STDIN: '$_'.";
-                    $bad = 1; last;
-                }
-                push @objects, $_;
-            }
-            $slurped = 1;
-        }
-        elsif (/^-f$/) {
-            if ($ARGV[0] !~ /^(?:(?:$field,)*$field)$/) {
-                whine "No valid field list in '-f $ARGV[0]'.";
-                $bad = 1; last;
-            }
-            $data{fields} = shift @ARGV;
-        }
-        elsif (my $spec = is_object_spec($_, $type)) {
-            push @objects, $spec;
-        }
-        else {
-            my $datum = /^-/ ? "option" : "argument";
-            whine "Unrecognised $datum '$_'.";
-            $bad = 1; last;
-        }
-    }
-
-    unless (@objects) {
-        whine "No objects specified.";
-        $bad = 1;
-    }
-    return help("show", $type) if $bad;
-
-    my $r = submit("$REST/show", { id => \@objects, %data });
-    print $r->content;
-}
-
-# To create a new object, we ask the server for a form with the defaults
-# filled in, allow the user to edit it, and send the form back.
-#
-# To edit an object, we must ask the server for a form representing that
-# object, make changes requested by the user (either on the command line
-# or interactively via $EDITOR), and send the form back.
-
-sub edit {
-    my ($action) = @_;
-    my (%data, $type, @objects);
-    my ($cl, $text, $edit, $input, $output);
-
-    use vars qw(%set %add %del);
-    %set = %add = %del = ();
-    my $slurped = 0;
-    my $bad = 0;
-    
-    while (@ARGV) {
-        $_ = shift @ARGV;
-
-        if    (/^-e$/) { $edit = 1 }
-        elsif (/^-i$/) { $input = 1 }
-        elsif (/^-o$/) { $output = 1 }
-        elsif (/^-t$/) {
-            $bad = 1, last unless defined($type = get_type_argument());
-        }
-        elsif (/^-S$/) {
-            $bad = 1, last unless get_var_argument(\%data);
-        }
-        elsif (/^-$/ && !($slurped || $input)) {
-            chomp(my @lines = <STDIN>);
-            foreach (@lines) {
-                unless (is_object_spec($_, $type)) {
-                    whine "Invalid object on STDIN: '$_'.";
-                    $bad = 1; last;
-                }
-                push @objects, $_;
-            }
-            $slurped = 1;
-        }
-        elsif (/^set$/i) {
-            my $vars = 0;
-
-            while (@ARGV && $ARGV[0] =~ /^($field)([+-]?=)(.*)$/) {
-                my ($key, $op, $val) = ($1, $2, $3);
-                my $hash = ($op eq '=') ? \%set : ($op =~ /^\+/) ? \%add : \%del;
-
-                vpush($hash, lc $key, $val);
-                shift @ARGV;
-                $vars++;
-            }
-            unless ($vars) {
-                whine "No variables to set.";
-                $bad = 1; last;
-            }
-            $cl = $vars;
-        }
-        elsif (/^(?:add|del)$/i) {
-            my $vars = 0;
-            my $hash = ($_ eq "add") ? \%add : \%del;
-
-            while (@ARGV && $ARGV[0] =~ /^($field)=(.*)$/) {
-                my ($key, $val) = ($1, $2);
-
-                vpush($hash, lc $key, $val);
-                shift @ARGV;
-                $vars++;
-            }
-            unless ($vars) {
-                whine "No variables to set.";
-                $bad = 1; last;
-            }
-            $cl = $vars;
-        }
-        elsif (my $spec = is_object_spec($_, $type)) {
-            push @objects, $spec;
-        }
-        else {
-            my $datum = /^-/ ? "option" : "argument";
-            whine "Unrecognised $datum '$_'.";
-            $bad = 1; last;
-        }
-    }
-
-    if ($action =~ /^ed(?:it)?$/) {
-        unless (@objects) {
-            whine "No objects specified.";
-            $bad = 1;
-        }
-    }
-    else {
-        if (@objects) {
-            whine "You shouldn't specify objects as arguments to $action.";
-            $bad = 1;
-        }
-        unless ($type) {
-            whine "What type of object do you want to create?";
-            $bad = 1;
-        }
-        @objects = ("$type/new");
-    }
-    return help($action, $type) if $bad;
-
-    # We need a form to make changes to. We usually ask the server for
-    # one, but we can avoid that if we are fed one on STDIN, or if the
-    # user doesn't want to edit the form by hand, and the command line
-    # specifies only simple variable assignments.
-
-    if ($input) {
-        local $/ = undef;
-        $text = <STDIN>;
-    }
-    elsif ($edit || %add || %del || !$cl) {
-        my $r = submit("$REST/show", { id => \@objects, format => 'l' });
-        $text = $r->content;
-    }
-
-    # If any changes were specified on the command line, apply them.
-    if ($cl) {
-        if ($text) {
-            # We're updating forms from the server.
-            my $forms = Form::parse($text);
-
-            foreach my $form (@$forms) {
-                my ($c, $o, $k, $e) = @$form;
-                my ($key, $val);
-
-                next if ($e || !@$o);
-
-                local %add = %add;
-                local %del = %del;
-                local %set = %set;
-
-                # Make changes to existing fields.
-                foreach $key (@$o) {
-                    if (exists $add{lc $key}) {
-                        $val = delete $add{lc $key};
-                        vpush($k, $key, $val);
-                        $k->{$key} = vsplit($k->{$key}) if $val =~ /[,\n]/;
-                    }
-                    if (exists $del{lc $key}) {
-                        $val = delete $del{lc $key};
-                        my %val = map {$_=>1} @{ vsplit($val) };
-                        $k->{$key} = vsplit($k->{$key});
-                        @{$k->{$key}} = grep {!exists $val{$_}} @{$k->{$key}};
-                    }
-                    if (exists $set{lc $key}) {
-                        $k->{$key} = delete $set{lc $key};
-                    }
-                }
-                
-                # Then update the others.
-                foreach $key (keys %set) { vpush($k, $key, $set{$key}) }
-                foreach $key (keys %add) {
-                    vpush($k, $key, $add{$key});
-                    $k->{$key} = vsplit($k->{$key});
-                }
-                push @$o, (keys %add, keys %set);
-            }
-
-            $text = Form::compose($forms);
-        }
-        else {
-            # We're rolling our own set of forms.
-            my @forms;
-            foreach (@objects) {
-                my ($type, $ids, $args) =
-                    m{^($name)/($idlist|$labels)(?:(/.*))?$}o;
-
-                $args ||= "";
-                foreach my $obj (expand_list($ids)) {
-                    my %set = (%set, id => "$type/$obj$args");
-                    push @forms, ["", [keys %set], \%set];
-                }
-            }
-            $text = Form::compose(\@forms);
-        }
-    }
-
-    if ($output) {
-        print $text;
-        return;
-    }
-
-    my $synerr = 0;
-
-EDIT:
-    # We'll let the user edit the form before sending it to the server,
-    # unless we have enough information to submit it non-interactively.
-    if ($edit || (!$input && !$cl)) {
-        my $newtext = vi($text);
-        # We won't resubmit a bad form unless it was changed.
-        $text = ($synerr && $newtext eq $text) ? undef : $newtext;
-    }
-
-    if ($text) {
-        my $r = submit("$REST/edit", {content => $text, %data});
-        if ($r->code == 409) {
-            # If we submitted a bad form, we'll give the user a chance
-            # to correct it and resubmit.
-            if ($edit || (!$input && !$cl)) {
-                $text = $r->content;
-                $synerr = 1;
-                goto EDIT;
-            }
-            else {
-                print $r->content;
-                return;
-            }
-        }
-        print $r->content;
-    }
-}
-
-# We roll "comment" and "correspond" into the same handler.
-
-sub comment {
-    my ($action) = @_;
-    my (%data, $id, @files, @bcc, @cc, $msg, $wtime, $edit);
-    my $bad = 0;
-
-    while (@ARGV) {
-        $_ = shift @ARGV;
-
-        if (/^-e$/) {
-            $edit = 1;
-        }
-        elsif (/^-[abcmw]$/) {
-            unless (@ARGV) {
-                whine "No argument specified with $_.";
-                $bad = 1; last;
-            }
-
-            if (/-a/) {
-                unless (-f $ARGV[0] && -r $ARGV[0]) {
-                    whine "Cannot read attachment: '$ARGV[0]'.";
-                    return;
-                }
-                push @files, shift @ARGV;
-            }
-            elsif (/-([bc])/) {
-                my $a = $_ eq "-b" ? \@bcc : \@cc;
-                @$a = split /\s*,\s*/, shift @ARGV;
-            }
-            elsif (/-m/) {
-                $msg = shift @ARGV;
-                if ( $msg =~ /^-$/ ) {
-                    undef $msg;
-                    while (<STDIN>) { $msg .= $_ }
-                }
-            }
-
-            elsif (/-w/) { $wtime = shift @ARGV }
-        }
-        elsif (!$id && m|^(?:ticket/)?($idlist)$|) {
-            $id = $1;
-        }
-        else {
-            my $datum = /^-/ ? "option" : "argument";
-            whine "Unrecognised $datum '$_'.";
-            $bad = 1; last;
-        }
-    }
-
-    unless ($id) {
-        whine "No object specified.";
-        $bad = 1;
-    }
-    return help($action, "ticket") if $bad;
-
-    my $form = [
-        "",
-        [ "Ticket", "Action", "Cc", "Bcc", "Attachment", "TimeWorked", "Text" ],
-        {
-            Ticket     => $id,
-            Action     => $action,
-            Cc         => [ @cc ],
-            Bcc        => [ @bcc ],
-            Attachment => [ @files ],
-            TimeWorked => $wtime || '',
-            Text       => $msg || '',
-            Status => ''
-        }
-    ];
-
-    my $text = Form::compose([ $form ]);
-
-    if ($edit || !$msg) {
-        my $error = 0;
-        my ($c, $o, $k, $e);
-
-        do {
-            my $ntext = vi($text);
-            return if ($error && $ntext eq $text);
-            $text = $ntext;
-            $form = Form::parse($text);
-            $error = 0;
-
-            ($c, $o, $k, $e) = @{ $form->[0] };
-            if ($e) {
-                $error = 1;
-                $c = "# Syntax error.";
-                goto NEXT;
-            }
-            elsif (!@$o) {
-                return;
-            }
-            @files = @{ vsplit($k->{Attachment}) };
-
-        NEXT:
-            $text = Form::compose([[$c, $o, $k, $e]]);
-        } while ($error);
-    }
-
-    my $i = 1;
-    foreach my $file (@files) {
-        $data{"attachment_$i"} = bless([ $file ], "Attachment");
-        $i++;
-    }
-    $data{content} = $text;
-
-    my $r = submit("$REST/ticket/comment/$id", \%data);
-    print $r->content;
-}
-
-# Merge one ticket into another.
-
-sub merge {
-    my @id;
-    my $bad = 0;
-
-    while (@ARGV) {
-        $_ = shift @ARGV;
-
-        if (/^\d+$/) {
-            push @id, $_;
-        }
-        else {
-            whine "Unrecognised argument: '$_'.";
-            $bad = 1; last;
-        }
-    }
-
-    unless (@id == 2) {
-        my $evil = @id > 2 ? "many" : "few";
-        whine "Too $evil arguments specified.";
-        $bad = 1;
-    }
-    return help("merge", "ticket") if $bad;
-
-    my $r = submit("$REST/ticket/merge/$id[0]", {into => $id[1]});
-    print $r->content;
-}
-
-# Link one ticket to another.
-
-sub link {
-    my ($bad, $del, %data) = (0, 0, ());
-    my %ltypes = map { lc $_ => $_ } qw(DependsOn DependedOnBy RefersTo
-                                        ReferredToBy HasMember MemberOf);
-
-    while (@ARGV && $ARGV[0] =~ /^-/) {
-        $_ = shift @ARGV;
-
-        if (/^-d$/) {
-            $del = 1;
-        }
-        else {
-            whine "Unrecognised option: '$_'.";
-            $bad = 1; last;
-        }
-    }
-
-    if (@ARGV == 3) {
-        my ($from, $rel, $to) = @ARGV;
-        if ($from !~ /^\d+$/ || $to !~ /^\d+$/) {
-            my $bad = $from =~ /^\d+$/ ? $to : $from;
-            whine "Invalid ticket ID '$bad' specified.";
-            $bad = 1;
-        }
-        unless (exists $ltypes{lc $rel}) {
-            whine "Invalid link '$rel' specified.";
-            $bad = 1;
-        }
-        %data = (id => $from, rel => $rel, to => $to, del => $del);
-    }
-    else {
-        my $bad = @ARGV < 3 ? "few" : "many";
-        whine "Too $bad arguments specified.";
-        $bad = 1;
-    }
-    return help("link", "ticket") if $bad;
-
-    my $r = submit("$REST/ticket/link", \%data);
-    print $r->content;
-}
-
-# Grant/revoke a user's rights.
-
-sub grant {
-    my ($cmd) = @_;
-
-    my $revoke = 0;
-    while (@ARGV) {
-    }
-
-    $revoke = 1 if $cmd->{action} eq 'revoke';
-}
-
-# Client <-> Server communication.
-# --------------------------------
-#
-# This function composes and sends an HTTP request to the RT server, and
-# interprets the response. It takes a request URI, and optional request
-# data (a string, or a reference to a set of key-value pairs).
-
-sub submit {
-    my ($uri, $content) = @_;
-    my ($req, $data);
-    my $ua = new LWP::UserAgent(agent => "RT/3.0b", env_proxy => 1);
-
-    # Did the caller specify any data to send with the request?
-    $data = [];
-    if (defined $content) {
-        unless (ref $content) {
-            # If it's just a string, make sure LWP handles it properly.
-            # (By pretending that it's a file!)
-            $content = [ content => [undef, "", Content => $content] ];
-        }
-        elsif (ref $content eq 'HASH') {
-            my @data;
-            foreach my $k (keys %$content) {
-                if (ref $content->{$k} eq 'ARRAY') {
-                    foreach my $v (@{ $content->{$k} }) {
-                        push @data, $k, $v;
-                    }
-                }
-                else { push @data, $k, $content->{$k} }
-            }
-            $content = \@data;
-        }
-        $data = $content;
-    }
-
-    # Should we send authentication information to start a new session?
-    if (!defined $session->cookie) {
-        push @$data, ( user => $config{user} );
-        push @$data, ( pass => $config{passwd} || read_passwd() );
-    }
-
-    # Now, we construct the request.
-    if (@$data) {
-        $req = POST($uri, $data, Content_Type => 'form-data');
-    }
-    else {
-        $req = GET($uri);
-    }
-    $session->add_cookie_header($req);
-
-    # Then we send the request and parse the response.
-    DEBUG(3, $req->as_string);
-    my $res = $ua->request($req);
-    DEBUG(3, $res->as_string);
-
-    if ($res->is_success) {
-        # The content of the response we get from the RT server consists
-        # of an HTTP-like status line followed by optional header lines,
-        # a blank line, and arbitrary text.
-
-        my ($head, $text) = split /\n\n/, $res->content, 2;
-        my ($status, @headers) = split /\n/, $head;
-        $text =~ s/\n*$/\n/ if ($text);
-
-        # "RT/3.0.1 401 Credentials required"
-       if ($status !~ m#^RT/\d+(?:\S+) (\d+) ([\w\s]+)$#) {
-            warn "rt: Malformed RT response from $config{server}.\n";
-            warn "(Rerun with RTDEBUG=3 for details.)\n" if $config{debug} < 3;
-            exit -1;
-        }
-
-        # Our caller can pretend that the server returned a custom HTTP
-        # response code and message. (Doing that directly is apparently
-        # not sufficiently portable and uncomplicated.)
-        $res->code($1);
-        $res->message($2);
-        $res->content($text);
-        $session->update($res) if ($res->is_success || $res->code != 401);
-
-        if (!$res->is_success) {
-            # We can deal with authentication failures ourselves. Either
-            # we sent invalid credentials, or our session has expired.
-            if ($res->code == 401) {
-                my %d = @$data;
-                if (exists $d{user}) {
-                    warn "rt: Incorrect username or password.\n";
-                    exit -1;
-                }
-                elsif ($req->header("Cookie")) {
-                    # We'll retry the request with credentials, unless
-                    # we only wanted to logout in the first place.
-                    $session->delete;
-                    return submit(@_) unless $uri eq "$REST/logout";
-                }
-            }
-            # Conflicts should be dealt with by the handler and user.
-            # For anything else, we just die.
-            elsif ($res->code != 409) {
-                warn "rt: ", $res->content;
-                exit;
-            }
-        }
-    }
-    else {
-        warn "rt: Server error: ", $res->message, " (", $res->code, ")\n";
-        exit -1;
-    }
-
-    return $res;
-}
-
-# Session management.
-# -------------------
-#
-# Maintains a list of active sessions in the ~/.rt_sessions file.
-{
-    package Session;
-    my ($s, $u);
-
-    # Initialises the session cache.
-    sub new {
-        my ($class, $file) = @_;
-        my $self = {
-            file => $file || "$HOME/.rt_sessions",
-            sids => { }
-        };
-       
-        # The current session is identified by the currently configured
-        # server and user.
-        ($s, $u) = @config{"server", "user"};
-
-        bless $self, $class;
-        $self->load();
-
-        return $self;
-    }
-
-    # Returns the current session cookie.
-    sub cookie {
-        my ($self) = @_;
-        my $cookie = $self->{sids}{$s}{$u};
-        return defined $cookie ? "RT_SID_$cookie" : undef;
-    }
-
-    # Deletes the current session cookie.
-    sub delete {
-        my ($self) = @_;
-        delete $self->{sids}{$s}{$u};
-    }
-
-    # Adds a Cookie header to an outgoing HTTP request.
-    sub add_cookie_header {
-        my ($self, $request) = @_;
-        my $cookie = $self->cookie();
-
-        $request->header(Cookie => $cookie) if defined $cookie;
-    }
-
-    # Extracts the Set-Cookie header from an HTTP response, and updates
-    # session information accordingly.
-    sub update {
-        my ($self, $response) = @_;
-        my $cookie = $response->header("Set-Cookie");
-
-        if (defined $cookie && $cookie =~ /^RT_SID_(.[^;,\s]+=[0-9A-Fa-f]+);/) {
-            $self->{sids}{$s}{$u} = $1;
-        }
-    }
-
-    # Loads the session cache from the specified file.
-    sub load {
-        my ($self, $file) = @_;
-        $file ||= $self->{file};
-        local *F;
-
-        open(F, $file) && do {
-            $self->{file} = $file;
-            my $sids = $self->{sids} = {};
-            while (<F>) {
-                chomp;
-                next if /^$/ || /^#/;
-                next unless m#^https?://[^ ]+ \w+ [^;,\s]+=[0-9A-Fa-f]+$#;
-                my ($server, $user, $cookie) = split / /, $_;
-                $sids->{$server}{$user} = $cookie;
-            }
-            return 1;
-        };
-        return 0;
-    }
-
-    # Writes the current session cache to the specified file.
-    sub save {
-        my ($self, $file) = shift;
-        $file ||= $self->{file};
-        local *F;
-
-        open(F, ">$file") && do {
-            my $sids = $self->{sids};
-            foreach my $server (keys %$sids) {
-                foreach my $user (keys %{ $sids->{$server} }) {
-                    my $sid = $sids->{$server}{$user};
-                    if (defined $sid) {
-                        print F "$server $user $sid\n";
-                    }
-                }
-            }
-            close(F);
-            chmod 0600, $file;
-            return 1;
-        };
-        return 0;
-    }
-
-    sub DESTROY {
-        my $self = shift;
-        $self->save;
-    }
-}
-
-# Form handling.
-# --------------
-#
-# Forms are RFC822-style sets of (field, value) specifications with some
-# initial comments and interspersed blank lines allowed for convenience.
-# Sets of forms are separated by --\n (in a cheap parody of MIME).
-#
-# Each form is parsed into an array with four elements: commented text
-# at the start of the form, an array with the order of keys, a hash with
-# key/value pairs, and optional error text if the form syntax was wrong.
-
-# Returns a reference to an array of parsed forms.
-sub Form::parse {
-    my $state = 0;
-    my @forms = ();
-    my @lines = split /\n/, $_[0];
-    my ($c, $o, $k, $e) = ("", [], {}, "");
-
-    LINE:
-    while (@lines) {
-        my $line = shift @lines;
-
-        next LINE if $line eq '';
-
-        if ($line eq '--') {
-            # We reached the end of one form. We'll ignore it if it was
-            # empty, and store it otherwise, errors and all.
-            if ($e || $c || @$o) {
-                push @forms, [ $c, $o, $k, $e ];
-                $c = ""; $o = []; $k = {}; $e = "";
-            }
-            $state = 0;
-        }
-        elsif ($state != -1) {
-            if ($state == 0 && $line =~ /^#/) {
-                # Read an optional block of comments (only) at the start
-                # of the form.
-                $state = 1;
-                $c = $line;
-                while (@lines && $lines[0] =~ /^#/) {
-                    $c .= "\n".shift @lines;
-                }
-                $c .= "\n";
-            }
-            elsif ($state <= 1 && $line =~ /^($field):(?:\s+(.*))?$/) {
-                # Read a field: value specification.
-                my $f  = $1;
-                my @v  = ($2 || ());
-
-                # Read continuation lines, if any.
-                while (@lines && ($lines[0] eq '' || $lines[0] =~ /^\s+/)) {
-                    push @v, shift @lines;
-                }
-                pop @v while (@v && $v[-1] eq '');
-
-                # Strip longest common leading indent from text.
-                my $ws = "";
-                foreach my $ls (map {/^(\s+)/} @v[1..$#v]) {
-                    $ws = $ls if (!$ws || length($ls) < length($ws));
-                }
-                s/^$ws// foreach @v;
-
-                push(@$o, $f) unless exists $k->{$f};
-                vpush($k, $f, join("\n", @v));
-
-                $state = 1;
-            }
-            elsif ($line !~ /^#/) {
-                # We've found a syntax error, so we'll reconstruct the
-                # form parsed thus far, and add an error marker. (>>)
-                $state = -1;
-                $e = Form::compose([[ "", $o, $k, "" ]]);
-                $e.= $line =~ /^>>/ ? "$line\n" : ">> $line\n";
-            }
-        }
-        else {
-            # We saw a syntax error earlier, so we'll accumulate the
-            # contents of this form until the end.
-            $e .= "$line\n";
-        }
-    }
-    push(@forms, [ $c, $o, $k, $e ]) if ($e || $c || @$o);
-
-    foreach my $l (keys %$k) {
-        $k->{$l} = vsplit($k->{$l}) if (ref $k->{$l} eq 'ARRAY');
-    }
-
-    return \@forms;
-}
-
-# Returns text representing a set of forms.
-sub Form::compose {
-    my ($forms) = @_;
-    my @text;
-
-    foreach my $form (@$forms) {
-        my ($c, $o, $k, $e) = @$form;
-        my $text = "";
-
-        if ($c) {
-            $c =~ s/\n*$/\n/;
-            $text = "$c\n";
-        }
-        if ($e) {
-            $text .= $e;
-        }
-        elsif ($o) {
-            my @lines;
-
-            foreach my $key (@$o) {
-                my ($line, $sp);
-                my $v = $k->{$key};
-                my @values = ref $v eq 'ARRAY' ? @$v : $v;
-
-                $sp = " "x(length("$key: "));
-                $sp = " "x4 if length($sp) > 16;
-
-                foreach $v (@values) {
-                    if ($v =~ /\n/) {
-                        $v =~ s/^/$sp/gm;
-                        $v =~ s/^$sp//;
-
-                        if ($line) {
-                            push @lines, "$line\n\n";
-                            $line = "";
-                        }
-                        elsif (@lines && $lines[-1] !~ /\n\n$/) {
-                            $lines[-1] .= "\n";
-                        }
-                        push @lines, "$key: $v\n\n";
-                    }
-                    elsif ($line &&
-                           length($line)+length($v)-rindex($line, "\n") >= 70)
-                    {
-                        $line .= ",\n$sp$v";
-                    }
-                    else {
-                        $line = $line ? "$line, $v" : "$key: $v";
-                    }
-                }
-
-                $line = "$key:" unless @values;
-                if ($line) {
-                    if ($line =~ /\n/) {
-                        if (@lines && $lines[-1] !~ /\n\n$/) {
-                            $lines[-1] .= "\n";
-                        }
-                        $line .= "\n";
-                    }
-                    push @lines, "$line\n";
-                }
-            }
-
-            $text .= join "", @lines;
-        }
-        else {
-            chomp $text;
-        }
-        push @text, $text;
-    }
-
-    return join "\n--\n\n", @text;
-}
-
-# Configuration.
-# --------------
-
-# Returns configuration information from the environment.
-sub config_from_env {
-    my %env;
-
-    foreach my $k ("DEBUG", "USER", "PASSWD", "SERVER", "QUERY", "ORDERBY") {
-        if (exists $ENV{"RT$k"}) {
-            $env{lc $k} = $ENV{"RT$k"};
-        }
-    }
-
-    return %env;
-}
-
-# Finds a suitable configuration file and returns information from it.
-sub config_from_file {
-    my ($rc) = @_;
-
-    if ($rc =~ m#^/#) {
-        # We'll use an absolute path if we were given one.
-        return parse_config_file($rc);
-    }
-    else {
-        # Otherwise we'll use the first file we can find in the current
-        # directory, or in one of its (increasingly distant) ancestors.
-
-        my @dirs = split /\//, cwd;
-        while (@dirs) {
-            my $file = join('/', @dirs, $rc);
-            if (-r $file) {
-                return parse_config_file($file);
-            }
-
-            # Remove the last directory component each time.
-            pop @dirs;
-        }
-
-        # Still nothing? We'll fall back to some likely defaults.
-        for ("$HOME/$rc", "/etc/rt.conf") {
-            return parse_config_file($_) if (-r $_);
-        }
-    }
-
-    return ();
-}
-
-# Makes a hash of the specified configuration file.
-sub parse_config_file {
-    my %cfg;
-    my ($file) = @_;
-    local $_; # $_ may be aliased to a constant, from line 1163
-
-    open(CFG, $file) && do {
-        while (<CFG>) {
-            chomp;
-            next if (/^#/ || /^\s*$/);
-
-            if (/^(user|passwd|server|query|orderby)\s+(.*)\s?$/) {
-                $cfg{$1} = $2;
-            }
-            else {
-                die "rt: $file:$.: unknown configuration directive.\n";
-            }
-        }
-    };
-
-    return %cfg;
-}
-
-# Helper functions.
-# -----------------
-
-sub whine {
-    my $sub = (caller(1))[3];
-    $sub =~ s/^main:://;
-    warn "rt: $sub: @_\n";
-    return;
-}
-
-sub read_passwd {
-    eval 'require Term::ReadKey';
-    if ($@) {
-        die "No password specified (and Term::ReadKey not installed).\n";
-    }
-
-    print "Password: ";
-    Term::ReadKey::ReadMode('noecho');
-    chomp(my $passwd = Term::ReadKey::ReadLine(0));
-    Term::ReadKey::ReadMode('restore');
-    print "\n";
-
-    return $passwd;
-}
-
-sub vi {
-    my ($text) = @_;
-    my $file = "/tmp/rt.form.$$";
-    my $editor = $ENV{EDITOR} || $ENV{VISUAL} || "vi";
-
-    local *F;
-    local $/ = undef;
-
-    open(F, ">$file") || die "$file: $!\n"; print F $text; close(F);
-    system($editor, $file) && die "Couldn't run $editor.\n";
-    open(F, $file) || die "$file: $!\n"; $text = <F>; close(F);
-    unlink($file);
-
-    return $text;
-}
-
-# Add a value to a (possibly multi-valued) hash key.
-sub vpush {
-    my ($hash, $key, $val) = @_;
-    my @val = ref $val eq 'ARRAY' ? @$val : $val;
-
-    if (exists $hash->{$key}) {
-        unless (ref $hash->{$key} eq 'ARRAY') {
-            my @v = $hash->{$key} ne '' ? $hash->{$key} : ();
-            $hash->{$key} = \@v;
-        }
-        push @{ $hash->{$key} }, @val;
-    }
-    else {
-        $hash->{$key} = $val;
-    }
-}
-
-# "Normalise" a hash key that's known to be multi-valued.
-sub vsplit {
-    my ($val) = @_;
-    my ($word, @words);
-    my @values = ref $val eq 'ARRAY' ? @$val : $val;
-
-    foreach my $line (map {split /\n/} @values) {
-        # XXX: This should become a real parser, à la Text::ParseWords.
-        $line =~ s/^\s+//;
-        $line =~ s/\s+$//;
-        push @words, split /\s*,\s*/, $line;
-    }
-
-    return \@words;
-}
-
-sub expand_list {
-    my ($list) = @_;
-    my ($elt, @elts, %elts);
-
-    foreach $elt (split /,/, $list) {
-        if ($elt =~ /^(\d+)-(\d+)$/) { push @elts, ($1..$2) }
-        else                         { push @elts, $elt }
-    }
-
-    @elts{@elts}=();
-    return sort {$a<=>$b} keys %elts;
-}
-
-sub get_type_argument {
-    my $type;
-
-    if (@ARGV) {
-        $type = shift @ARGV;
-        unless ($type =~ /^[A-Za-z0-9_.-]+$/) {
-            # We want whine to mention our caller, not us.
-            @_ = ("Invalid type '$type' specified.");
-            goto &whine;
-        }
-    }
-    else {
-        @_ = ("No type argument specified with -t.");
-        goto &whine;
-    }
-
-    $type =~ s/s$//; # "Plural". Ugh.
-    return $type;
-}
-
-sub get_var_argument {
-    my ($data) = @_;
-
-    if (@ARGV) {
-        my $kv = shift @ARGV;
-        if (my ($k, $v) = $kv =~ /^($field)=(.*)$/) {
-            push @{ $data->{$k} }, $v;
-        }
-        else {
-            @_ = ("Invalid variable specification: '$kv'.");
-            goto &whine;
-        }
-    }
-    else {
-        @_ = ("No variable argument specified with -S.");
-        goto &whine;
-    }
-}
-
-sub is_object_spec {
-    my ($spec, $type) = @_;
-
-    $spec =~ s|^(?:$type/)?|$type/| if defined $type;
-    return $spec if ($spec =~ m{^$name/(?:$idlist|$labels)(?:/.*)?$}o);
-    return;
-}
-
-__DATA__
-
-Title: intro
-Title: introduction
-Text:
-
-    ** THIS IS AN UNSUPPORTED PREVIEW RELEASE **
-    ** PLEASE REPORT BUGS TO rt-bugs@fsck.com **
-
-    This is a command-line interface to RT 3.
-
-    It allows you to interact with an RT server over HTTP, and offers an
-    interface to RT's functionality that is better-suited to automation
-    and integration with other tools.
-
-    In general, each invocation of this program should specify an action
-    to perform on one or more objects, and any other arguments required
-    to complete the desired action.
-
-    For more information:
-
-        - rt help actions       (a list of possible actions)
-        - rt help objects       (how to specify objects)
-        - rt help usage         (syntax information)
-
-        - rt help config        (configuration details)
-        - rt help examples      (a few useful examples)
-        - rt help topics        (a list of help topics)
-
---
-
-Title: usage
-Title: syntax
-Text:
-
-    Syntax:
-
-        rt <action> [options] [arguments]
-
-    Each invocation of this program must specify an action (e.g. "edit",
-    "create"), options to modify behaviour, and other arguments required
-    by the specified action. (For example, most actions expect a list of
-    numeric object IDs to act upon.)
-
-    The details of the syntax and arguments for each action are given by
-    "rt help <action>". Some actions may be referred to by more than one
-    name ("create" is the same as "new", for example).  
-
-    Objects are identified by a type and an ID (which can be a name or a
-    number, depending on the type). For some actions, the object type is
-    implied (you can only comment on tickets); for others, the user must
-    specify it explicitly. See "rt help objects" for details.
-
-    In syntax descriptions, mandatory arguments that must be replaced by
-    appropriate value are enclosed in <>, and optional arguments are
-    indicated by [] (for example, <action> and [options] above).
-
-    For more information:
-
-        - rt help objects       (how to specify objects)
-        - rt help actions       (a list of actions)
-        - rt help types         (a list of object types)
-
---
-
-Title: conf
-Title: config
-Title: configuration
-Text:
-
-    This program has two major sources of configuration information: its
-    configuration files, and the environment.
-
-    The program looks for configuration directives in a file named .rtrc
-    (or $RTCONFIG; see below) in the current directory, and then in more
-    distant ancestors, until it reaches /. If no suitable configuration
-    files are found, it will also check for ~/.rtrc and /etc/rt.conf.
-
-    Configuration directives:
-
-        The following directives may occur, one per line:
-
-        - server <URL>          URL to RT server.
-        - user <username>       RT username.
-        - passwd <passwd>       RT user's password.
-        - query <RT Query>      Default RT Query for list action
-        - orderby <order>       Default RT order for list action
-
-        Blank and #-commented lines are ignored.
-
-    Environment variables:
-
-        The following environment variables override any corresponding
-        values defined in configuration files:
-
-        - RTUSER
-        - RTPASSWD
-        - RTSERVER
-        - RTDEBUG       Numeric debug level. (Set to 3 for full logs.)
-        - RTCONFIG      Specifies a name other than ".rtrc" for the
-                        configuration file.
-        - RTQUERY       Default RT Query for rt list
-        - RTORDERBY     Default order for rt list
-
---
-
-Title: objects
-Text:
-
-    Syntax:
-
-        <type>/<id>[/<attributes>]
-
-    Every object in RT has a type (e.g. "ticket", "queue") and a numeric
-    ID. Some types of objects can also be identified by name (like users
-    and queues). Furthermore, objects may have named attributes (such as
-    "ticket/1/history").
-
-    An object specification is like a path in a virtual filesystem, with
-    object types as top-level directories, object IDs as subdirectories,
-    and named attributes as further subdirectories.
-
-    A comma-separated list of names, numeric IDs, or numeric ranges can
-    be used to specify more than one object of the same type. Note that
-    the list must be a single argument (i.e., no spaces). For example,
-    "user/root,1-3,5,7-10,ams" is a list of ten users; the same list
-    can also be written as "user/ams,root,1,2,3,5,7,8-10".
-    
-    Examples:
-
-        ticket/1
-        ticket/1/attachments
-        ticket/1/attachments/3
-        ticket/1/attachments/3/content
-        ticket/1-3/links
-        ticket/1-3,5-7/history
-
-        user/ams
-        user/ams/rights
-        user/ams,rai,1/rights
-
-    For more information:
-
-        - rt help <action>      (action-specific details)
-        - rt help <type>        (type-specific details)
-
---
-
-Title: actions
-Title: commands
-Text:
-
-    You can currently perform the following actions on all objects:
-
-        - list          (list objects matching some condition)
-        - show          (display object details)
-        - edit          (edit object details)
-        - create        (create a new object)
-
-    Each type may define actions specific to itself; these are listed in
-    the help item about that type.
-
-    For more information:
-
-        - rt help <action>      (action-specific details)
-        - rt help types         (a list of possible types)
-
---
-
-Title: types
-Text:
-
-    You can currently operate on the following types of objects:
-
-        - tickets
-        - users
-        - groups
-        - queues
-
-    For more information:
-
-        - rt help <type>        (type-specific details)
-        - rt help objects       (how to specify objects)
-        - rt help actions       (a list of possible actions)
-
---
-
-Title: ticket
-Text:
-
-    Tickets are identified by a numeric ID.
-
-    The following generic operations may be performed upon tickets:
-
-        - list
-        - show
-        - edit
-        - create
-
-    In addition, the following ticket-specific actions exist:
-
-        - link
-        - merge
-        - comment
-        - correspond
-
-    Attributes:
-
-        The following attributes can be used with "rt show" or "rt edit"
-        to retrieve or edit other information associated with tickets:
-
-        links                      A ticket's relationships with others.
-        history                    All of a ticket's transactions.
-        history/type/<type>        Only a particular type of transaction.
-        history/id/<id>            Only the transaction of the specified id.
-        attachments                A list of attachments.
-        attachments/<id>           The metadata for an individual attachment.
-        attachments/<id>/content   The content of an individual attachment.
-
---
-
-Title: user
-Title: group
-Text:
-
-    Users and groups are identified by name or numeric ID.
-
-    The following generic operations may be performed upon them:
-
-        - list
-        - show
-        - edit
-        - create
-
-    In addition, the following type-specific actions exist:
-
-        - grant
-        - revoke
-
-    Attributes:
-
-        The following attributes can be used with "rt show" or "rt edit"
-        to retrieve or edit other information associated with users and
-        groups:
-
-        rights                  Global rights granted to this user.
-        rights/<queue>          Queue rights for this user.
-
---
-
-Title: queue
-Text:
-
-    Queues are identified by name or numeric ID.
-
-    Currently, they can be subjected to the following actions:
-
-        - show
-        - edit
-        - create
-
---
-
-Title: logout
-Text:
-
-    Syntax:
-
-        rt logout
-
-    Terminates the currently established login session. You will need to
-    provide authentication credentials before you can continue using the
-    server. (See "rt help config" for details about authentication.)
-
---
-
-Title: ls
-Title: list
-Title: search
-Text:
-
-    Syntax:
-
-        rt <ls|list|search> [options] "query string"
-
-    Displays a list of objects matching the specified conditions.
-    ("ls", "list", and "search" are synonyms.)
-
-    Conditions are expressed in the SQL-like syntax used internally by
-    RT3. (For more information, see "rt help query".) The query string
-    must be supplied as one argument.
-
-    (Right now, the server doesn't support listing anything but tickets.
-    Other types will be supported in future; this client will be able to
-    take advantage of that support without any changes.)
-
-    Options:
-
-        The following options control how much information is displayed
-        about each matching object:
-
-        -i      Numeric IDs only. (Useful for |rt edit -; see examples.)
-        -s      Short description.
-        -l      Longer description.
-
-        In addition,
-        
-        -o +/-<field>   Orders the returned list by the specified field.
-        -S var=val      Submits the specified variable with the request.
-        -t type         Specifies the type of object to look for. (The
-                        default is "ticket".)
-
-    Examples:
-
-        rt ls "Priority > 5 and Status='new'"
-        rt ls -o +Subject "Priority > 5 and Status='new'"
-        rt ls -o -Created "Priority > 5 and Status='new'"
-        rt ls -i "Priority > 5"|rt edit - set status=resolved
-        rt ls -t ticket "Subject like '[PATCH]%'"
-
---
-
-Title: show
-Text:
-
-    Syntax:
-
-        rt show [options] <object-ids>
-
-    Displays details of the specified objects.
-
-    For some types, object information is further classified into named
-    attributes (for example, "1-3/links" is a valid ticket specification
-    that refers to the links for tickets 1-3). Consult "rt help <type>"
-    and "rt help objects" for further details.
-
-    This command writes a set of forms representing the requested object
-    data to STDOUT.
-
-    Options:
-
-        -               Read IDs from STDIN instead of the command-line.
-        -t type         Specifies object type.
-        -f a,b,c        Restrict the display to the specified fields.
-        -S var=val      Submits the specified variable with the request.
-
-    Examples:
-
-        rt show -t ticket -f id,subject,status 1-3
-        rt show ticket/3/attachments/29
-        rt show ticket/3/attachments/29/content
-        rt show ticket/1-3/links
-        rt show -t user 2
-
---
-
-Title: new
-Title: edit
-Title: create
-Text:
-
-    Syntax:
-
-        rt edit [options] <object-ids> set field=value [field=value] ...
-                                       add field=value [field=value] ...
-                                       del field=value [field=value] ...
-
-    Edits information corresponding to the specified objects.
-
-    If, instead of "edit", an action of "new" or "create" is specified,
-    then a new object is created. In this case, no numeric object IDs
-    may be specified, but the syntax and behaviour remain otherwise
-    unchanged.
-
-    This command typically starts an editor to allow you to edit object
-    data in a form for submission. If you specified enough information
-    on the command-line, however, it will make the submission directly.
-
-    The command line may specify field-values in three different ways.
-    "set" sets the named field to the given value, "add" adds a value
-    to a multi-valued field, and "del" deletes the corresponding value.
-    Each "field=value" specification must be given as a single argument.
-
-    For some types, object information is further classified into named
-    attributes (for example, "1-3/links" is a valid ticket specification
-    that refers to the links for tickets 1-3). These attributes may also
-    be edited. Consult "rt help <type>" and "rt help object" for further
-    details.
-
-    Options:
-
-        -       Read numeric IDs from STDIN instead of the command-line.
-                (Useful with rt ls ... | rt edit -; see examples below.)
-        -i      Read a completed form from STDIN before submitting.
-        -o      Dump the completed form to STDOUT instead of submitting.
-        -e      Allows you to edit the form even if the command-line has
-                enough information to make a submission directly.
-        -S var=val
-                Submits the specified variable with the request.
-        -t type Specifies object type.
-
-    Examples:
-
-        # Interactive (starts $EDITOR with a form).
-        rt edit ticket/3
-        rt create -t ticket
-
-        # Non-interactive.
-        rt edit ticket/1-3 add cc=foo@example.com set priority=3
-        rt ls -t tickets -i 'Priority > 5' | rt edit - set status=resolved
-        rt edit ticket/4 set priority=3 owner=bar@example.com \
-                         add cc=foo@example.com bcc=quux@example.net
-        rt create -t ticket subject='new ticket' priority=10 \
-                            add cc=foo@example.com
-
---
-
-Title: comment
-Title: correspond
-Text:
-
-    Syntax:
-
-        rt <comment|correspond> [options] <ticket-id>
-
-    Adds a comment (or correspondence) to the specified ticket (the only
-    difference being that comments aren't sent to the requestors.)
-
-    This command will typically start an editor and allow you to type a
-    comment into a form. If, however, you specified all the necessary
-    information on the command line, it submits the comment directly.
-
-    (See "rt help forms" for more information about forms.)
-
-    Options:
-
-        -m <text>       Specify comment text.
-        -a <file>       Attach a file to the comment. (May be used more
-                        than once to attach multiple files.)
-        -c <addrs>      A comma-separated list of Cc addresses.
-        -b <addrs>      A comma-separated list of Bcc addresses.
-        -w <time>       Specify the time spent working on this ticket.
-        -e              Starts an editor before the submission, even if
-                        arguments from the command line were sufficient.
-
-    Examples:
-
-        rt comment -m 'Not worth fixing.' -a stddisclaimer.h 23
-
---
-
-Title: merge
-Text:
-
-    Syntax:
-
-        rt merge <from-id> <to-id>
-
-    Merges the two specified tickets.
-
---
-
-Title: link
-Text:
-
-    Syntax:
-
-        rt link [-d] <id-A> <link> <id-B>
-
-    Creates (or, with -d, deletes) a link between the specified tickets.
-    The link can (irrespective of case) be any of:
-
-        DependsOn/DependedOnBy:     A depends upon B (or vice versa).
-        RefersTo/ReferredToBy:      A refers to B (or vice versa).
-        MemberOf/HasMember:         A is a member of B (or vice versa).
-
-    To view a ticket's links, use "rt show ticket/3/links". (See
-    "rt help ticket" and "rt help show".)
-
-    Options:
-
-        -d      Deletes the specified link.
-
-    Examples:
-
-        rt link 2 dependson 3
-        rt link -d 4 referredtoby 6     # 6 no longer refers to 4
-
---
-
-Title: grant
-Title: revoke
-Text:
-
---
-
-Title: query
-Text:
-
-    RT3 uses an SQL-like syntax to specify object selection constraints.
-    See the <RT:...> documentation for details.
-    
-    (XXX: I'm going to have to write it, aren't I?)
-
---
-
-Title: form
-Title: forms
-Text:
-
-    This program uses RFC822 header-style forms to represent object data
-    in a form that's suitable for processing both by humans and scripts.
-
-    A form is a set of (field, value) specifications, with some initial
-    commented text and interspersed blank lines allowed for convenience.
-    Field names may appear more than once in a form; a comma-separated
-    list of multiple field values may also be specified directly.
-    
-    Field values can be wrapped as in RFC822, with leading whitespace.
-    The longest sequence of leading whitespace common to all the lines
-    is removed (preserving further indentation). There is no limit on
-    the length of a value.
-
-    Multiple forms are separated by a line containing only "--\n".
-
-    (XXX: A more detailed specification will be provided soon. For now,
-    the server-side syntax checking will suffice.)
-
---
-
-Title: topics
-Text:
-
-    Use "rt help <topic>" for help on any of the following subjects:
-
-        - tickets, users, groups, queues.
-        - show, edit, ls/list/search, new/create.
-
-        - query                                 (search query syntax)
-        - forms                                 (form specification)
-
-        - objects                               (how to specify objects)
-        - types                                 (a list of object types)
-        - actions/commands                      (a list of actions)
-        - usage/syntax                          (syntax details)
-        - conf/config/configuration             (configuration details)
-        - examples                              (a few useful examples)
-
---
-
-Title: example
-Title: examples
-Text:
-
-    This section will be filled in with useful examples, once it becomes
-    more clear what examples may be useful.
-
-    For the moment, please consult examples provided with each action.
-
---
diff --git a/rt/bin/standalone_httpd.in b/rt/bin/standalone_httpd.in
deleted file mode 100755 (executable)
index 6ba7998..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!@PERL@ -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-use warnings;
-use strict;
-
-BEGIN {
-    use lib( "@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");
-    use RT;
-    RT::LoadConfig();
-    if ($RT::DevelMode) { require Module::Refresh; }
-}
-
-RT::Init();
-
-use RT::Interface::Web::Standalone;
-
-my $server = RT::Interface::Web::Standalone->new;
-$server->port(shift @ARGV) if ($ARGV[0]);
-$server->run();
-
-
diff --git a/rt/bin/webmux.pl b/rt/bin/webmux.pl
deleted file mode 100755 (executable)
index 96e7ebf..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-#!/usr/bin/perl
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-use strict;
-
-BEGIN {
-    $ENV{'PATH'}   = '/bin:/usr/bin';                      # or whatever you need
-    $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'};
-    $ENV{'SHELL'}  = '/bin/sh' if defined $ENV{'SHELL'};
-    $ENV{'ENV'}    = '' if defined $ENV{'ENV'};
-    $ENV{'IFS'}    = '' if defined $ENV{'IFS'};
-    
-}
-
-use lib ("/opt/rt3/local/lib", "/opt/rt3/lib");
-use RT;
-
-package RT::Mason;
-
-use CGI qw(-private_tempfiles);    #bring this in before mason, to make sure we
-                                   #set private_tempfiles
-
-BEGIN {
-    if ($mod_perl::VERSION >= 1.9908) {
-       require Apache::RequestUtil;
-       no warnings 'redefine';
-       my $sub = *Apache::request{CODE};
-       *Apache::request = sub {
-           my $r;
-           eval { $r = $sub->('Apache'); };
-           # warn $@ if $@;
-           return $r;
-       };
-    }
-    if ($CGI::MOD_PERL) {
-       require HTML::Mason::ApacheHandler;
-    }
-    else {
-       require HTML::Mason::CGIHandler;
-    }
-}
-
-use HTML::Mason;                   # brings in subpackages: Parser, Interp, etc.
-
-use vars qw($Nobody $SystemUser $r);
-
-#This drags in RT's config.pm
-RT::LoadConfig();
-
-use Carp;
-
-{
-    package HTML::Mason::Commands;
-    use vars qw(%session);
-
-    use RT::Tickets;
-    use RT::Transactions;
-    use RT::Users;
-    use RT::CurrentUser;
-    use RT::Templates;
-    use RT::Queues;
-    use RT::ScripActions;
-    use RT::ScripConditions;
-    use RT::Scrips;
-    use RT::Groups;
-    use RT::GroupMembers;
-    use RT::CustomFields;
-    use RT::CustomFieldValues;
-    use RT::TicketCustomFieldValues;
-
-    use RT::Interface::Web;
-    use MIME::Entity;
-    use Text::Wrapper;
-    use CGI::Cookie;
-    use Time::ParseDate;
-    use HTML::Entities;
-}
-
-
-# Activate the following if running httpd as root (the normal case).
-# Resets ownership of all files created by Mason at startup.
-# Note that mysql uses DB for sessions, so there's no need to do this.
-unless ($RT::DatabaseType =~ /(mysql|Pg)/) {
-    # Clean up our umask to protect session files
-    umask(0077);
-
-if ( $CGI::MOD_PERL)  {
-    chown( Apache->server->uid, Apache->server->gid, [$RT::MasonSessionDir] )
-       if Apache->server->can('uid');
-        }
-    # Die if WebSessionDir doesn't exist or we can't write to it
-    stat($RT::MasonSessionDir);
-    die "Can't read and write $RT::MasonSessionDir"
-       unless ( ( -d _ ) and ( -r _ ) and ( -w _ ) );
-}
-
-my $ah = &RT::Interface::Web::NewApacheHandler(@RT::MasonParameters) if $CGI::MOD_PERL;
-
-sub handler {
-    ($r) = @_;
-
-    local $SIG{__WARN__};
-    local $SIG{__DIE__};
-
-    RT::Init();
-
-    # We don't need to handle non-text items
-    return -1 if defined( $r->content_type ) && $r->content_type !~ m|^text/|io;
-
-    my %session;
-    my $status;
-    eval { $status = $ah->handle_request($r) };
-    if ($@) {
-       $RT::Logger->crit($@);
-    }
-
-    undef (%session);
-
-    if ($RT::Handle->TransactionDepth) {
-       $RT::Handle->ForceRollback;
-       $RT::Logger->crit("Transaction not committed. Usually indicates a software fault. Data loss may have occurred") ;
-    }
-    return $status;
-}
-
-1;
diff --git a/rt/bin/webmux.pl.in b/rt/bin/webmux.pl.in
deleted file mode 100644 (file)
index 73b1014..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-#!@PERL@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-use strict;
-
-BEGIN {
-    $ENV{'PATH'}   = '/bin:/usr/bin';                     # or whatever you need
-    $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'};
-    $ENV{'SHELL'}  = '/bin/sh' if defined $ENV{'SHELL'};
-    $ENV{'ENV'}    = '' if defined $ENV{'ENV'};
-    $ENV{'IFS'}    = '' if defined $ENV{'IFS'};
-
-    use CGI qw(-private_tempfiles);    #bring this in before mason, to make sure we
-                                   #set private_tempfiles
-
-    die "RT does not support mod_perl 1.99. Please upgrade to mod_perl 2.0"
-      if $ENV{'MOD_PERL'}
-      and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:1\.9)};
-
-}
-
-use lib ( "@LOCAL_LIB_PATH@", "@RT_LIB_PATH@" );
-use RT;
-
-package RT::Mason;
-
-use vars qw($Nobody $SystemUser $Handler $r);
-
-#This drags in RT's config.pm
-BEGIN {
-    RT::LoadConfig();
-    if ($RT::DevelMode) { require Module::Refresh; }
-}
-
-
-{
-
-    package HTML::Mason::Commands;
-    use vars qw(%session);
-}
-
-use RT::Interface::Web;
-use RT::Interface::Web::Handler;
-$Handler = RT::Interface::Web::Handler->new(@RT::MasonParameters);
-
-if ($ENV{'MOD_PERL'} && !$RT::DevelMode) {
-    # Under static_source, we need to purge the component cache
-    # each time we restart, so newer components may be reloaded.
-    #
-    # We can't do this in FastCGI or we'll blow away the component root _every_ time a new server starts
-    # which happens every few hits.
-    
-    use File::Path qw( rmtree );
-    use File::Glob qw( bsd_glob );
-    rmtree([ bsd_glob("$RT::MasonDataDir/obj/*") ], 0, 1);
-}
-
-sub handler {
-    ($r) = @_;
-
-    local $SIG{__WARN__};
-    local $SIG{__DIE__};
-
-    # We don't need to handle non-text, non-xml items
-    if ($r->content_type =~ m/^httpd\b.*\bdirectory/i) {
-        use File::Spec::Unix;
-        # Our DirectoryIndex is always index.html, regardless of httpd settings
-        $r->filename( File::Spec::Unix->catfile( $r->filename, 'index.html' ) );
-    }
-    elsif (defined( $r->content_type )) {
-       $r->content_type =~ m!(^text/|\bxml\b)!i or return -1;
-    }
-
-    Module::Refresh->refresh if $RT::DevelMode;
-
-    RT::Init();
-
-    my %session;
-    my $status;
-    eval { $status = $Handler->handle_request($r) };
-    if ($@) {
-        $RT::Logger->crit($@);
-    }
-
-    undef(%session);
-
-    RT::Interface::Web::Handler->CleanupRequest();
-
-    return $status;
-}
-
-1;
diff --git a/rt/config.layout.in b/rt/config.layout.in
deleted file mode 100644 (file)
index a08f489..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-##
-##  config.layout -- Pre-defined Installation Path Layouts
-##
-##  Hints:
-##  - layouts can be loaded with configure's --enable-layout=ID option
-##  - when no --enable-layout option is given, the default layout is `RT'
-##  - a trailing plus character (`+') on paths is replaced with a
-##    `/<target>' suffix where <target> is currently hardcoded to 'rt3'.
-##    (This may become a configurable parameter at some point.)
-##
-##  The following variables must _all_ be set:
-##     prefix exec_prefix bindir sbindir sysconfdir mandir libdir
-##     datadir htmldir localstatedir logfiledir masonstatedir
-##     sessionstatedir customdir customhtmldir customlexdir
-##  (This can be seen in m4/rt_layout.m4.)
-##
-
-#   Default RT3 path layout.
-<Layout RT3>
-  prefix:              /opt/rt3
-  exec_prefix:         ${prefix}
-  bindir:              ${exec_prefix}/bin
-  sbindir:             ${exec_prefix}/sbin
-  sysconfdir:          ${prefix}/etc
-  mandir:              ${prefix}/man
-  libdir:              ${prefix}/lib
-  datadir:             ${prefix}/share
-  htmldir:             ${datadir}/html
-  manualdir:           ${datadir}/doc
-  localstatedir:       ${prefix}/var
-  logfiledir:          ${localstatedir}/log
-  masonstatedir:       ${localstatedir}/mason_data
-  sessionstatedir:     ${localstatedir}/session_data
-  customdir:           ${prefix}/local
-  custometcdir:                ${customdir}/etc
-  customhtmldir:       ${customdir}/html
-  customlexdir:                ${customdir}/po
-  customlibdir:                ${customdir}/lib
-</Layout>
-<Layout inplace>
-  prefix:              `pwd`
-  exec_prefix:         ${prefix}
-  bindir:              ${exec_prefix}/bin
-  sbindir:             ${exec_prefix}/sbin
-  sysconfdir:          ${prefix}/etc
-  mandir:              ${prefix}/man
-  libdir:              ${prefix}/lib
-  datadir:             ${prefix}/share
-  htmldir:             ${prefix}/html
-  manualdir:           ${datadir}/doc
-  localstatedir:       ${prefix}/var
-  logfiledir:          ${localstatedir}/log
-  masonstatedir:       ${localstatedir}/mason_data
-  sessionstatedir:     ${localstatedir}/session_data
-  customdir:           ${prefix}/local
-  custometcdir:                ${customdir}/etc
-  customhtmldir:       ${customdir}/html
-  customlexdir:                ${customdir}/po
-  customlibdir:                ${customdir}/lib
-</Layout>
-
-<Layout FreeBSD>
-  prefix:              /usr/local
-  exec_prefix:         ${prefix}
-  bindir:              ${exec_prefix}/bin
-  sbindir:             ${exec_prefix}/sbin
-  sysconfdir:          ${prefix}/etc+
-  mandir:              ${prefix}/man
-  libdir:              ${prefix}/lib+
-  datadir:             ${prefix}/share+
-  htmldir:             ${datadir}/html
-  manualdir:           ${prefix}/share/doc+
-  logfiledir:          /var/log
-  localstatedir:       /var/run+
-  masonstatedir:       ${localstatedir}/mason_data
-  sessionstatedir:     ${localstatedir}/session_data
-  customdir:           ${prefix}/share+
-  custometcdir:                ${customdir}/local/etc
-  customhtmldir:       ${customdir}/local/html
-  customlexdir:                ${customdir}/local/po
-  customlibdir:                ${customdir}/local/lib
-</Layout>
-
-<Layout Win32>
-  prefix:              C:/Program Files/Request Tracker
-  exec_prefix:         ${prefix}
-  bindir:              ${exec_prefix}/bin
-  sbindir:             ${exec_prefix}/sbin
-  sysconfdir:          ${prefix}/etc
-  mandir:              ${prefix}/man
-  libdir:              ${prefix}/lib
-  datadir:             ${prefix}
-  htmldir:             ${datadir}/html
-  manualdir:           ${datadir}/doc
-  localstatedir:       ${prefix}/var
-  logfiledir:          ${localstatedir}/log
-  masonstatedir:       ${localstatedir}/mason_data
-  sessionstatedir:     ${localstatedir}/session_data
-  customdir:           ${prefix}/local
-  custometcdir:                ${customdir}/etc
-  customhtmldir:       ${customdir}/html
-  customlexdir:                ${customdir}/po
-  customlibdir:                ${customdir}/lib
-</Layout>
-
-<Layout Freeside>
-  prefix:              /opt/rt3
-  exec_prefix:         ${prefix}
-  bindir:              ${exec_prefix}/bin
-  sbindir:             ${exec_prefix}/sbin
-  sysconfdir:          ${prefix}/etc
-  mandir:              ${prefix}/man
-  libdir:              ${prefix}/lib
-  datadir:             ${prefix}/share
-  htmldir:             %%%FREESIDE_DOCUMENT_ROOT%%%/rt
-  manualdir:           ${datadir}/doc
-  localstatedir:       ${prefix}/var
-  logfiledir:          ${localstatedir}/log
-  masonstatedir:       %%%MASONDATA%%%
-  sessionstatedir:     ${localstatedir}/session_data
-  customdir:           ${prefix}/local
-  custometcdir:                ${customdir}/etc
-  customhtmldir:       ${customdir}/html
-  customlexdir:                ${customdir}/po
-  customlibdir:                ${customdir}/lib
-</Layout>
-
diff --git a/rt/config.log b/rt/config.log
deleted file mode 100644 (file)
index 24e15e3..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by RT configure 3.0.9, which was
-generated by GNU Autoconf 2.53.  Invocation command line was
-
-  $ ./configure 
-
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = pallas
-uname -m = i686
-uname -r = 2.4.18-686
-uname -s = Linux
-uname -v = #1 Sun Apr 14 11:32:47 EST 2002
-
-/usr/bin/uname -p = unknown
-/bin/uname -X     = unknown
-
-/bin/arch              = i686
-/usr/bin/arch -k       = unknown
-/usr/convex/getsysinfo = unknown
-hostinfo               = unknown
-/bin/machine           = unknown
-/usr/bin/oslevel       = unknown
-/bin/universe          = unknown
-
-PATH: /usr/X11R6/bin/
-PATH: /opt/rt/bin
-PATH: /usr/athena/bin
-PATH: /usr/local/bin
-PATH: /bin
-PATH: /usr/bin
-PATH: /usr/sbin
-PATH: /usr/bin
-PATH: /usr/games
-PATH: $HOME/bin
-PATH: /opt/kerberos/bin
-PATH: /opt/StarOffice-4.0/bin
-PATH: /opt/mysql/bin/
-PATH: .
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-configure:1218: checking for a BSD-compatible install
-configure:1272: result: /usr/bin/install -c
-configure:1286: checking for perl
-configure:1304: found /usr/bin/perl
-configure:1317: result: /usr/bin/perl
-configure:1639: checking for chosen layout
-configure:1654: result: RT3
-configure:1986: creating ./config.status
-
-## ---------------------- ##
-## Running config.status. ##
-## ---------------------- ##
-
-This file was extended by RT config.status 3.0.9, which was
-generated by GNU Autoconf 2.53.  Invocation command line was
-
-  CONFIG_FILES    = 
-  CONFIG_HEADERS  = 
-  CONFIG_LINKS    = 
-  CONFIG_COMMANDS = 
-  $ ./config.status 
-
-on pallas
-
-config.status:639: creating sbin/rt-setup-database
-config.status:639: creating sbin/rt-test-dependencies
-config.status:639: creating Makefile
-config.status:639: creating etc/RT_Config.pm
-config.status:639: creating lib/RT.pm
-config.status:639: creating lib/t/00smoke.t
-config.status:639: creating lib/t/01harness.t
-config.status:639: creating lib/t/02regression.t
-config.status:639: creating lib/t/03web.pl
-config.status:639: creating lib/t/04_send_email.pl
-config.status:639: creating bin/mason_handler.fcgi
-config.status:639: creating bin/mason_handler.scgi
-config.status:639: creating bin/mason_handler.svc
-config.status:639: creating bin/rt-commit-handler
-config.status:639: creating bin/rt-crontool
-config.status:639: creating bin/rt-mailgate
-config.status:639: creating bin/rt
-config.status:639: creating bin/webmux.pl
-
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-
-ac_cv_env_PERL_set=
-ac_cv_env_PERL_value=
-ac_cv_env_build_alias_set=
-ac_cv_env_build_alias_value=
-ac_cv_env_host_alias_set=
-ac_cv_env_host_alias_value=
-ac_cv_env_target_alias_set=
-ac_cv_env_target_alias_value=
-ac_cv_path_PERL=/usr/bin/perl
-ac_cv_path_install='/usr/bin/install -c'
-
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-
-#define PACKAGE_NAME "RT"
-#define PACKAGE_TARNAME "rt"
-#define PACKAGE_VERSION "3.0.9"
-#define PACKAGE_STRING "RT 3.0.9"
-#define PACKAGE_BUGREPORT "rt-3.0-bugs@fsck.com"
-
-configure: exit 0
diff --git a/rt/config.status b/rt/config.status
deleted file mode 100755 (executable)
index e7d81b3..0000000
+++ /dev/null
@@ -1,713 +0,0 @@
-#! /bin/sh
-# Generated by configure.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
-
-# Be Bourne compatible
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-  set -o posix
-fi
-
-# NLS nuisances.
-# Support unset when possible.
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
-fi
-
-(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
-    { $as_unset LANG || test "${LANG+set}" != set; } ||
-      { LANG=C; export LANG; }
-(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
-    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
-      { LC_ALL=C; export LC_ALL; }
-(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
-    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
-      { LC_TIME=C; export LC_TIME; }
-(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
-    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
-      { LC_CTYPE=C; export LC_CTYPE; }
-(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
-    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
-      { LANGUAGE=C; export LANGUAGE; }
-(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
-    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
-      { LC_COLLATE=C; export LC_COLLATE; }
-(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
-    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
-      { LC_NUMERIC=C; export LC_NUMERIC; }
-(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
-    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
-      { LC_MESSAGES=C; export LC_MESSAGES; }
-
-
-# Name of the executable.
-as_me=`(basename "$0") 2>/dev/null ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)$' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
-         /^X\/\(\/\/\)$/{ s//\1/; q; }
-         /^X\/\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-
-# PATH needs CR, and LINENO needs CR and PATH.
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conftest.sh
-  echo  "exit 0"   >>conftest.sh
-  chmod +x conftest.sh
-  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
-  fi
-  rm -f conftest.sh
-fi
-
-
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
-  # Find who we are.  Look in the path if we contain no path at all
-  # relative or not.
-  case $0 in
-    *[\\/]* ) as_myself=$0 ;;
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-
-       ;;
-  esac
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
-  # in which case we are not to be found in the path.
-  if test "x$as_myself" = x; then
-    as_myself=$0
-  fi
-  if test ! -f "$as_myself"; then
-    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
-   { (exit 1); exit 1; }; }
-  fi
-  case $CONFIG_SHELL in
-  '')
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for as_base in sh bash ksh sh5; do
-        case $as_dir in
-        /*)
-          if ("$as_dir/$as_base" -c '
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
-            CONFIG_SHELL=$as_dir/$as_base
-            export CONFIG_SHELL
-            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
-          fi;;
-        esac
-       done
-done
-;;
-  esac
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line before each line; the second 'sed' does the real
-  # work.  The second script uses 'N' to pair each line-number line
-  # with the numbered line, and appends trailing '-' during
-  # substitution so that $LINENO is not a special case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
-  sed '=' <$as_myself |
-    sed '
-      N
-      s,$,-,
-      : loop
-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
-      t loop
-      s,-$,,
-      s,^['$as_cr_digits']*\n,,
-    ' >$as_me.lineno &&
-  chmod +x $as_me.lineno ||
-    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
-   { (exit 1); exit 1; }; }
-
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensible to this).
-  . ./$as_me.lineno
-  # Exit status is that of the last command.
-  exit
-}
-
-
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
-  *c*,-n*) ECHO_N= ECHO_C='
-' ECHO_T='     ' ;;
-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  # We could just check for DJGPP; but this test a) works b) is more generic
-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
-  if test -f conf$$.exe; then
-    # Don't use ln at all; we don't have any links
-    as_ln_s='cp -p'
-  else
-    as_ln_s='ln -s'
-  fi
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
-else
-  as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.file
-
-as_executable_p="test -f"
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.
-as_nl='
-'
-IFS="  $as_nl"
-
-# CDPATH.
-$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
-
-exec 6>&1
-
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.  Logging --version etc. is OK.
-exec 5>>config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
-} >&5
-cat >&5 <<_CSEOF
-
-This file was extended by RT $as_me 3.0.9, which was
-generated by GNU Autoconf 2.53.  Invocation command line was
-
-  CONFIG_FILES    = $CONFIG_FILES
-  CONFIG_HEADERS  = $CONFIG_HEADERS
-  CONFIG_LINKS    = $CONFIG_LINKS
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
-  $ $0 $@
-
-_CSEOF
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
-echo >&5
-config_files=" sbin/rt-setup-database sbin/rt-test-dependencies Makefile etc/RT_Config.pm lib/RT.pm lib/t/00smoke.t lib/t/01harness.t lib/t/02regression.t lib/t/03web.pl lib/t/04_send_email.pl bin/mason_handler.fcgi bin/mason_handler.scgi bin/mason_handler.svc bin/rt-commit-handler bin/rt-crontool bin/rt-mailgate bin/rt bin/webmux.pl"
-
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
-  -h, --help       print this help, then exit
-  -V, --version    print version number, then exit
-  -d, --debug      don't remove temporary files
-      --recheck    update $as_me by reconfiguring in the same conditions
-  --file=FILE[:TEMPLATE]
-                   instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to <bug-autoconf@gnu.org>."
-ac_cs_version="\
-RT config.status 3.0.9
-configured by ./configure, generated by GNU Autoconf 2.53,
-  with options \"\"
-
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-srcdir=.
-INSTALL="/usr/bin/install -c"
-# If no file are specified by the user, then we need to provide default
-# value.  By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
-  case $1 in
-  --*=*)
-    ac_option=`expr "x$1" : 'x\([^=]*\)='`
-    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
-    shift
-    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
-    shift
-    ;;
-  -*);;
-  *) # This is not an option, so the user has probably given explicit
-     # arguments.
-     ac_need_defaults=false;;
-  esac
-
-  case $1 in
-  # Handling of the options.
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    echo "running /bin/sh ./configure "  " --no-create --no-recursion"
-    exec /bin/sh ./configure  --no-create --no-recursion ;;
-  --version | --vers* | -V )
-    echo "$ac_cs_version"; exit 0 ;;
-  --he | --h)
-    # Conflict between --help and --header
-    { { echo "$as_me:$LINENO: error: ambiguous option: $1
-Try \`$0 --help' for more information." >&5
-echo "$as_me: error: ambiguous option: $1
-Try \`$0 --help' for more information." >&2;}
-   { (exit 1); exit 1; }; };;
-  --help | --hel | -h )
-    echo "$ac_cs_usage"; exit 0 ;;
-  --debug | --d* | -d )
-    debug=: ;;
-  --file | --fil | --fi | --f )
-    shift
-    CONFIG_FILES="$CONFIG_FILES $1"
-    ac_need_defaults=false;;
-  --header | --heade | --head | --hea )
-    shift
-    CONFIG_HEADERS="$CONFIG_HEADERS $1"
-    ac_need_defaults=false;;
-
-  # This is an error.
-  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&5
-echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2;}
-   { (exit 1); exit 1; }; } ;;
-
-  *) ac_config_targets="$ac_config_targets $1" ;;
-
-  esac
-  shift
-done
-
-for ac_config_target in $ac_config_targets
-do
-  case "$ac_config_target" in
-  # Handling of arguments.
-  "sbin/rt-setup-database" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
-  "sbin/rt-test-dependencies" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
-  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-  "etc/RT_Config.pm" ) CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
-  "lib/RT.pm" ) CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
-  "lib/t/00smoke.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/00smoke.t" ;;
-  "lib/t/01harness.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/01harness.t" ;;
-  "lib/t/02regression.t" ) CONFIG_FILES="$CONFIG_FILES lib/t/02regression.t" ;;
-  "lib/t/03web.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/03web.pl" ;;
-  "lib/t/04_send_email.pl" ) CONFIG_FILES="$CONFIG_FILES lib/t/04_send_email.pl" ;;
-  "bin/mason_handler.fcgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
-  "bin/mason_handler.scgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
-  "bin/mason_handler.svc" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
-  "bin/rt-commit-handler" ) CONFIG_FILES="$CONFIG_FILES bin/rt-commit-handler" ;;
-  "bin/rt-crontool" ) CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
-  "bin/rt-mailgate" ) CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
-  "bin/rt" ) CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
-  "bin/webmux.pl" ) CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
-   { (exit 1); exit 1; }; };;
-  esac
-done
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used.  Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Create a temporary directory, and hook for its removal unless debugging.
-$debug ||
-{
-  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-
-# Create a (secure) tmp directory for tmp files.
-: ${TMPDIR=/tmp}
-{
-  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
-}  ||
-{
-  tmp=$TMPDIR/cs$$-$RANDOM
-  (umask 077 && mkdir $tmp)
-} ||
-{
-   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
-   { (exit 1); exit 1; }
-}
-
-
-#
-# CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "$CONFIG_FILES"; then
-  # Protect against being on the right side of a sed subst in config.status.
-  sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
-   s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
-s,@SHELL@,/bin/sh,;t t
-s,@PATH_SEPARATOR@,:,;t t
-s,@PACKAGE_NAME@,RT,;t t
-s,@PACKAGE_TARNAME@,rt,;t t
-s,@PACKAGE_VERSION@,3.0.9,;t t
-s,@PACKAGE_STRING@,RT 3.0.9,;t t
-s,@PACKAGE_BUGREPORT@,rt-3.0-bugs@fsck.com,;t t
-s,@exec_prefix@,/opt/rt3,;t t
-s,@prefix@,/opt/rt3,;t t
-s,@program_transform_name@,s,x,x,,;t t
-s,@bindir@,/opt/rt3/bin,;t t
-s,@sbindir@,/opt/rt3/sbin,;t t
-s,@libexecdir@,${exec_prefix}/libexec,;t t
-s,@datadir@,/opt/rt3/share,;t t
-s,@sysconfdir@,/opt/rt3/etc,;t t
-s,@sharedstatedir@,${prefix}/com,;t t
-s,@localstatedir@,/opt/rt3/var,;t t
-s,@libdir@,/opt/rt3/lib,;t t
-s,@includedir@,${prefix}/include,;t t
-s,@oldincludedir@,/usr/include,;t t
-s,@infodir@,${prefix}/info,;t t
-s,@mandir@,/opt/rt3/man,;t t
-s,@build_alias@,,;t t
-s,@host_alias@,,;t t
-s,@target_alias@,,;t t
-s,@DEFS@,-DPACKAGE_NAME=\"RT\" -DPACKAGE_TARNAME=\"rt\" -DPACKAGE_VERSION=\"3.0.9\" -DPACKAGE_STRING=\"RT\ 3.0.9\" -DPACKAGE_BUGREPORT=\"rt-3.0-bugs@fsck.com\" ,;t t
-s,@ECHO_C@,,;t t
-s,@ECHO_N@,-n,;t t
-s,@ECHO_T@,,;t t
-s,@LIBS@,,;t t
-s,@rt_version_major@,3,;t t
-s,@rt_version_minor@,0,;t t
-s,@rt_version_patch@,9,;t t
-s,@INSTALL_PROGRAM@,${INSTALL},;t t
-s,@INSTALL_SCRIPT@,${INSTALL},;t t
-s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
-s,@PERL@,/usr/bin/perl,;t t
-s,@SPEEDY_BIN@,/usr/local/bin/speedy,;t t
-s,@exp_prefix@,/opt/rt3,;t t
-s,@exp_exec_prefix@,/opt/rt3,;t t
-s,@exp_bindir@,/opt/rt3/bin,;t t
-s,@exp_sbindir@,/opt/rt3/sbin,;t t
-s,@exp_sysconfdir@,/opt/rt3/etc,;t t
-s,@exp_mandir@,/opt/rt3/man,;t t
-s,@exp_libdir@,/opt/rt3/lib,;t t
-s,@exp_datadir@,/opt/rt3/share,;t t
-s,@htmldir@,/opt/rt3/share/html,;t t
-s,@exp_htmldir@,/opt/rt3/share/html,;t t
-s,@manualdir@,/opt/rt3/share/doc,;t t
-s,@exp_manualdir@,/opt/rt3/share/doc,;t t
-s,@exp_localstatedir@,/opt/rt3/var,;t t
-s,@logfiledir@,/opt/rt3/var/log,;t t
-s,@exp_logfiledir@,/opt/rt3/var/log,;t t
-s,@masonstatedir@,/opt/rt3/var/mason_data,;t t
-s,@exp_masonstatedir@,/opt/rt3/var/mason_data,;t t
-s,@sessionstatedir@,/opt/rt3/var/session_data,;t t
-s,@exp_sessionstatedir@,/opt/rt3/var/session_data,;t t
-s,@customdir@,/opt/rt3/local,;t t
-s,@exp_customdir@,/opt/rt3/local,;t t
-s,@custometcdir@,/opt/rt3/local/etc,;t t
-s,@exp_custometcdir@,/opt/rt3/local/etc,;t t
-s,@customhtmldir@,/opt/rt3/local/html,;t t
-s,@exp_customhtmldir@,/opt/rt3/local/html,;t t
-s,@customlexdir@,/opt/rt3/local/po,;t t
-s,@exp_customlexdir@,/opt/rt3/local/po,;t t
-s,@customlibdir@,/opt/rt3/local/lib,;t t
-s,@exp_customlibdir@,/opt/rt3/local/lib,;t t
-s,@rt_layout_name@,RT3,;t t
-s,@RTGROUP@,rt,;t t
-s,@BIN_OWNER@,root,;t t
-s,@LIBS_OWNER@,root,;t t
-s,@LIBS_GROUP@,bin,;t t
-s,@DB_TYPE@,mysql,;t t
-s,@ORACLE_ENV_PREF@,,;t t
-s,@DB_HOST@,localhost,;t t
-s,@DB_PORT@,,;t t
-s,@DB_RT_HOST@,localhost,;t t
-s,@DB_DBA@,root,;t t
-s,@DB_DATABASE@,rt3,;t t
-s,@DB_RT_USER@,rt_user,;t t
-s,@DB_RT_PASS@,rt_pass,;t t
-s,@WEB_USER@,www,;t t
-s,@WEB_GROUP@,www,;t t
-s,@RT_VERSION_MAJOR@,3,;t t
-s,@RT_VERSION_MINOR@,0,;t t
-s,@RT_VERSION_PATCH@,9,;t t
-s,@RT_PATH@,/opt/rt3,;t t
-s,@RT_DOC_PATH@,/opt/rt3/share/doc,;t t
-s,@RT_LOCAL_PATH@,/opt/rt3/local,;t t
-s,@RT_LIB_PATH@,/opt/rt3/lib,;t t
-s,@RT_ETC_PATH@,/opt/rt3/etc,;t t
-s,@CONFIG_FILE_PATH@,/opt/rt3/etc,;t t
-s,@RT_BIN_PATH@,/opt/rt3/bin,;t t
-s,@RT_SBIN_PATH@,/opt/rt3/sbin,;t t
-s,@RT_VAR_PATH@,/opt/rt3/var,;t t
-s,@RT_MAN_PATH@,/opt/rt3/man,;t t
-s,@MASON_DATA_PATH@,/opt/rt3/var/mason_data,;t t
-s,@MASON_SESSION_PATH@,/opt/rt3/var/session_data,;t t
-s,@MASON_HTML_PATH@,/opt/rt3/share/html,;t t
-s,@LOCAL_ETC_PATH@,/opt/rt3/local/etc,;t t
-s,@MASON_LOCAL_HTML_PATH@,/opt/rt3/local/html,;t t
-s,@LOCAL_LEXICON_PATH@,/opt/rt3/local/po,;t t
-s,@LOCAL_LIB_PATH@,/opt/rt3/local/lib,;t t
-s,@DESTDIR@,/opt/rt3,;t t
-s,@RT_LOG_PATH@,/opt/rt3/var/log,;t t
-CEOF
-
-  # Split the substitutions into bite-sized pieces for seds with
-  # small command number limits, like on Digital OSF/1 and HP-UX.
-  ac_max_sed_lines=48
-  ac_sed_frag=1 # Number of current file.
-  ac_beg=1 # First line for current file.
-  ac_end=$ac_max_sed_lines # Line after last line for current file.
-  ac_more_lines=:
-  ac_sed_cmds=
-  while $ac_more_lines; do
-    if test $ac_beg -gt 1; then
-      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
-    else
-      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
-    fi
-    if test ! -s $tmp/subs.frag; then
-      ac_more_lines=false
-    else
-      # The purpose of the label and of the branching condition is to
-      # speed up the sed processing (if there are no `@' at all, there
-      # is no need to browse any of the substitutions).
-      # These are the two extra sed commands mentioned above.
-      (echo ':t
-  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
-      if test -z "$ac_sed_cmds"; then
-       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
-      else
-       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
-      fi
-      ac_sed_frag=`expr $ac_sed_frag + 1`
-      ac_beg=$ac_end
-      ac_end=`expr $ac_end + $ac_max_sed_lines`
-    fi
-  done
-  if test -z "$ac_sed_cmds"; then
-    ac_sed_cmds=cat
-  fi
-fi # test -n "$CONFIG_FILES"
-
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
-  case $ac_file in
-  - | *:- | *:-:* ) # input from stdin
-        cat >$tmp/stdin
-        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
-        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
-  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
-        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
-  * )   ac_file_in=$ac_file.in ;;
-  esac
-
-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
-  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-         X"$ac_file" : 'X\(//\)[^/]' \| \
-         X"$ac_file" : 'X\(//\)$' \| \
-         X"$ac_file" : 'X\(/\)' \| \
-         .     : '\(.\)' 2>/dev/null ||
-echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-         /^X\(\/\/\)$/{ s//\1/; q; }
-         /^X\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-  { case "$ac_dir" in
-  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
-  *)                      as_incr_dir=.;;
-esac
-as_dummy="$ac_dir"
-for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
-  case $as_mkdir_dir in
-    # Skip DOS drivespec
-    ?:) as_incr_dir=$as_mkdir_dir ;;
-    *)
-      as_incr_dir=$as_incr_dir/$as_mkdir_dir
-      test -d "$as_incr_dir" ||
-        mkdir "$as_incr_dir" ||
-       { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
-echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
-   { (exit 1); exit 1; }; }
-    ;;
-  esac
-done; }
-
-  ac_builddir=.
-
-if test "$ac_dir" != .; then
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
-  # A "../" for each directory in $ac_dir_suffix.
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
-else
-  ac_dir_suffix= ac_top_builddir=
-fi
-
-case $srcdir in
-  .)  # No --srcdir option.  We are building in place.
-    ac_srcdir=.
-    if test -z "$ac_top_builddir"; then
-       ac_top_srcdir=.
-    else
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
-    fi ;;
-  [\\/]* | ?:[\\/]* )  # Absolute path.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir ;;
-  *) # Relative path.
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
-esac
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
-# absolute.
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
-
-
-  case $INSTALL in
-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
-  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
-  esac
-
-  if test x"$ac_file" != x-; then
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
-    rm -f "$ac_file"
-  fi
-  # Let's still pretend it is `configure' which instantiates (i.e., don't
-  # use $as_me), people would be surprised to read:
-  #    /* config.h.  Generated by config.status.  */
-  if test x"$ac_file" = x-; then
-    configure_input=
-  else
-    configure_input="$ac_file.  "
-  fi
-  configure_input=$configure_input"Generated from `echo $ac_file_in |
-                                     sed 's,.*/,,'` by configure."
-
-  # First look for the input files in the build tree, otherwise in the
-  # src tree.
-  ac_file_inputs=`IFS=:
-    for f in $ac_file_in; do
-      case $f in
-      -) echo $tmp/stdin ;;
-      [\\/$]*)
-         # Absolute (can't be DOS-style, as IFS=:)
-         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
-echo "$as_me: error: cannot find input file: $f" >&2;}
-   { (exit 1); exit 1; }; }
-         echo $f;;
-      *) # Relative
-         if test -f "$f"; then
-           # Build tree
-           echo $f
-         elif test -f "$srcdir/$f"; then
-           # Source tree
-           echo $srcdir/$f
-         else
-           # /dev/null tree
-           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
-echo "$as_me: error: cannot find input file: $f" >&2;}
-   { (exit 1); exit 1; }; }
-         fi;;
-      esac
-    done` || { (exit 1); exit 1; }
-  sed "/^[     ]*VPATH[        ]*=/{
-s/:*\$(srcdir):*/:/;
-s/:*\${srcdir}:*/:/;
-s/:*@srcdir@:*/:/;
-s/^\([^=]*=[   ]*\):*/\1/;
-s/:*$//;
-s/^[^=]*=[     ]*$//;
-}
-
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s,@configure_input@,$configure_input,;t t
-s,@srcdir@,$ac_srcdir,;t t
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
-s,@top_srcdir@,$ac_top_srcdir,;t t
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
-s,@builddir@,$ac_builddir,;t t
-s,@abs_builddir@,$ac_abs_builddir,;t t
-s,@top_builddir@,$ac_top_builddir,;t t
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
-s,@INSTALL@,$ac_INSTALL,;t t
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
-  rm -f $tmp/stdin
-  if test x"$ac_file" != x-; then
-    mv $tmp/out $ac_file
-  else
-    cat $tmp/out
-    rm -f $tmp/out
-  fi
-
-done
-
-{ (exit 0); exit 0; }
diff --git a/rt/configure b/rt/configure
deleted file mode 100755 (executable)
index 395fc0b..0000000
+++ /dev/null
@@ -1,3091 +0,0 @@
-#! /bin/sh
-# From configure.ac Revision: 3070 .
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for RT 3.4.4.
-#
-# Report bugs to <rt-bugs@fsck.com>.
-#
-# Copyright (C) 2003 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
-
-# Be Bourne compatible
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-  set -o posix
-fi
-DUALCASE=1; export DUALCASE # for MKS sh
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
-fi
-
-
-# Work around bugs in pre-3.0 UWIN ksh.
-$as_unset ENV MAIL MAILPATH
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-  LC_TELEPHONE LC_TIME
-do
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-    eval $as_var=C; export $as_var
-  else
-    $as_unset $as_var
-  fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)$' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
-         /^X\/\(\/\/\)$/{ s//\1/; q; }
-         /^X\/\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-
-
-# PATH needs CR, and LINENO needs CR and PATH.
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conf$$.sh
-  echo  "exit 0"   >>conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
-  fi
-  rm -f conf$$.sh
-fi
-
-
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
-  # Find who we are.  Look in the path if we contain no path at all
-  # relative or not.
-  case $0 in
-    *[\\/]* ) as_myself=$0 ;;
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-
-       ;;
-  esac
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
-  # in which case we are not to be found in the path.
-  if test "x$as_myself" = x; then
-    as_myself=$0
-  fi
-  if test ! -f "$as_myself"; then
-    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
-   { (exit 1); exit 1; }; }
-  fi
-  case $CONFIG_SHELL in
-  '')
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for as_base in sh bash ksh sh5; do
-        case $as_dir in
-        /*)
-          if ("$as_dir/$as_base" -c '
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
-            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
-            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
-            CONFIG_SHELL=$as_dir/$as_base
-            export CONFIG_SHELL
-            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
-          fi;;
-        esac
-       done
-done
-;;
-  esac
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line before each line; the second 'sed' does the real
-  # work.  The second script uses 'N' to pair each line-number line
-  # with the numbered line, and appends trailing '-' during
-  # substitution so that $LINENO is not a special case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
-  sed '=' <$as_myself |
-    sed '
-      N
-      s,$,-,
-      : loop
-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
-      t loop
-      s,-$,,
-      s,^['$as_cr_digits']*\n,,
-    ' >$as_me.lineno &&
-  chmod +x $as_me.lineno ||
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
-   { (exit 1); exit 1; }; }
-
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensible to this).
-  . ./$as_me.lineno
-  # Exit status is that of the last command.
-  exit
-}
-
-
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
-  *c*,-n*) ECHO_N= ECHO_C='
-' ECHO_T='     ' ;;
-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  # We could just check for DJGPP; but this test a) works b) is more generic
-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
-  if test -f conf$$.exe; then
-    # Don't use ln at all; we don't have any links
-    as_ln_s='cp -p'
-  else
-    as_ln_s='ln -s'
-  fi
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
-else
-  as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.file
-
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p=:
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-as_executable_p="test -f"
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.
-as_nl='
-'
-IFS="  $as_nl"
-
-# CDPATH.
-$as_unset CDPATH
-
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-exec 6>&1
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_config_libobj_dir=.
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Maximum number of lines to put in a shell here document.
-# This variable seems obsolete.  It should probably be removed, and
-# only ac_max_sed_lines should be used.
-: ${ac_max_here_lines=38}
-
-# Identity of this package.
-PACKAGE_NAME='RT'
-PACKAGE_TARNAME='rt'
-PACKAGE_VERSION='3.4.4'
-PACKAGE_STRING='RT 3.4.4'
-PACKAGE_BUGREPORT='rt-bugs@fsck.com'
-
-ac_unique_file="lib/RT.pm.in"
-ac_default_prefix=/opt/rt3
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS rt_version_major rt_version_minor rt_version_patch INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PERL SPEEDY_BIN exp_prefix exp_exec_prefix exp_bindir exp_sbindir exp_sysconfdir exp_mandir exp_libdir exp_datadir htmldir exp_htmldir manualdir exp_manualdir exp_localstatedir logfiledir exp_logfiledir masonstatedir exp_masonstatedir sessionstatedir exp_sessionstatedir customdir exp_customdir custometcdir exp_custometcdir customhtmldir exp_customhtmldir customlexdir exp_customlexdir customlibdir exp_customlibdir rt_layout_name BIN_OWNER LIBS_OWNER LIBS_GROUP DB_TYPE DATABASE_ENV_PREF DB_HOST DB_PORT DB_RT_HOST DB_DBA DB_DATABASE DB_RT_USER DB_RT_PASS WEB_USER WEB_GROUP RTGROUP APACHECTL RT_DEVEL_MODE RT_VERSION_MAJOR RT_VERSION_MINOR RT_VERSION_PATCH RT_PATH RT_DOC_PATH RT_LOCAL_PATH RT_LIB_PATH RT_ETC_PATH CONFIG_FILE_PATH RT_BIN_PATH RT_SBIN_PATH RT_VAR_PATH RT_MAN_PATH MASON_DATA_PATH MASON_SESSION_PATH MASON_HTML_PATH LOCAL_ETC_PATH MASON_LOCAL_HTML_PATH LOCAL_LEXICON_PATH LOCAL_LIB_PATH DESTDIR RT_LOG_PATH LIBOBJS LTLIBOBJS'
-ac_subst_files=''
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-libdir='${exec_prefix}/lib'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-infodir='${prefix}/info'
-mandir='${prefix}/man'
-
-ac_prev=
-for ac_option
-do
-  # If the previous option needs an argument, assign it.
-  if test -n "$ac_prev"; then
-    eval "$ac_prev=\$ac_option"
-    ac_prev=
-    continue
-  fi
-
-  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
-
-  # Accept the important Cygnus configure options, so we can diagnose typos.
-
-  case $ac_option in
-
-  -bindir | --bindir | --bindi | --bind | --bin | --bi)
-    ac_prev=bindir ;;
-  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
-    bindir=$ac_optarg ;;
-
-  -build | --build | --buil | --bui | --bu)
-    ac_prev=build_alias ;;
-  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
-    build_alias=$ac_optarg ;;
-
-  -cache-file | --cache-file | --cache-fil | --cache-fi \
-  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
-    ac_prev=cache_file ;;
-  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
-  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
-    cache_file=$ac_optarg ;;
-
-  --config-cache | -C)
-    cache_file=config.cache ;;
-
-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
-    ac_prev=datadir ;;
-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
-  | --da=*)
-    datadir=$ac_optarg ;;
-
-  -disable-* | --disable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
-    eval "enable_$ac_feature=no" ;;
-
-  -enable-* | --enable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
-    case $ac_option in
-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
-      *) ac_optarg=yes ;;
-    esac
-    eval "enable_$ac_feature='$ac_optarg'" ;;
-
-  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
-  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
-  | --exec | --exe | --ex)
-    ac_prev=exec_prefix ;;
-  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
-  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
-  | --exec=* | --exe=* | --ex=*)
-    exec_prefix=$ac_optarg ;;
-
-  -gas | --gas | --ga | --g)
-    # Obsolete; use --with-gas.
-    with_gas=yes ;;
-
-  -help | --help | --hel | --he | -h)
-    ac_init_help=long ;;
-  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
-    ac_init_help=recursive ;;
-  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
-    ac_init_help=short ;;
-
-  -host | --host | --hos | --ho)
-    ac_prev=host_alias ;;
-  -host=* | --host=* | --hos=* | --ho=*)
-    host_alias=$ac_optarg ;;
-
-  -includedir | --includedir | --includedi | --included | --include \
-  | --includ | --inclu | --incl | --inc)
-    ac_prev=includedir ;;
-  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
-  | --includ=* | --inclu=* | --incl=* | --inc=*)
-    includedir=$ac_optarg ;;
-
-  -infodir | --infodir | --infodi | --infod | --info | --inf)
-    ac_prev=infodir ;;
-  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-    infodir=$ac_optarg ;;
-
-  -libdir | --libdir | --libdi | --libd)
-    ac_prev=libdir ;;
-  -libdir=* | --libdir=* | --libdi=* | --libd=*)
-    libdir=$ac_optarg ;;
-
-  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
-  | --libexe | --libex | --libe)
-    ac_prev=libexecdir ;;
-  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
-  | --libexe=* | --libex=* | --libe=*)
-    libexecdir=$ac_optarg ;;
-
-  -localstatedir | --localstatedir | --localstatedi | --localstated \
-  | --localstate | --localstat | --localsta | --localst \
-  | --locals | --local | --loca | --loc | --lo)
-    ac_prev=localstatedir ;;
-  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
-    localstatedir=$ac_optarg ;;
-
-  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
-    ac_prev=mandir ;;
-  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-    mandir=$ac_optarg ;;
-
-  -nfp | --nfp | --nf)
-    # Obsolete; use --without-fp.
-    with_fp=no ;;
-
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
-  | --no-cr | --no-c | -n)
-    no_create=yes ;;
-
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
-    no_recursion=yes ;;
-
-  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
-  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
-  | --oldin | --oldi | --old | --ol | --o)
-    ac_prev=oldincludedir ;;
-  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
-  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
-  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
-    oldincludedir=$ac_optarg ;;
-
-  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
-    ac_prev=prefix ;;
-  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
-    prefix=$ac_optarg ;;
-
-  -program-prefix | --program-prefix | --program-prefi | --program-pref \
-  | --program-pre | --program-pr | --program-p)
-    ac_prev=program_prefix ;;
-  -program-prefix=* | --program-prefix=* | --program-prefi=* \
-  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
-    program_prefix=$ac_optarg ;;
-
-  -program-suffix | --program-suffix | --program-suffi | --program-suff \
-  | --program-suf | --program-su | --program-s)
-    ac_prev=program_suffix ;;
-  -program-suffix=* | --program-suffix=* | --program-suffi=* \
-  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
-    program_suffix=$ac_optarg ;;
-
-  -program-transform-name | --program-transform-name \
-  | --program-transform-nam | --program-transform-na \
-  | --program-transform-n | --program-transform- \
-  | --program-transform | --program-transfor \
-  | --program-transfo | --program-transf \
-  | --program-trans | --program-tran \
-  | --progr-tra | --program-tr | --program-t)
-    ac_prev=program_transform_name ;;
-  -program-transform-name=* | --program-transform-name=* \
-  | --program-transform-nam=* | --program-transform-na=* \
-  | --program-transform-n=* | --program-transform-=* \
-  | --program-transform=* | --program-transfor=* \
-  | --program-transfo=* | --program-transf=* \
-  | --program-trans=* | --program-tran=* \
-  | --progr-tra=* | --program-tr=* | --program-t=*)
-    program_transform_name=$ac_optarg ;;
-
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil)
-    silent=yes ;;
-
-  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-    ac_prev=sbindir ;;
-  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-  | --sbi=* | --sb=*)
-    sbindir=$ac_optarg ;;
-
-  -sharedstatedir | --sharedstatedir | --sharedstatedi \
-  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
-  | --sharedst | --shareds | --shared | --share | --shar \
-  | --sha | --sh)
-    ac_prev=sharedstatedir ;;
-  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
-  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
-  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
-  | --sha=* | --sh=*)
-    sharedstatedir=$ac_optarg ;;
-
-  -site | --site | --sit)
-    ac_prev=site ;;
-  -site=* | --site=* | --sit=*)
-    site=$ac_optarg ;;
-
-  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
-    ac_prev=srcdir ;;
-  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
-    srcdir=$ac_optarg ;;
-
-  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
-  | --syscon | --sysco | --sysc | --sys | --sy)
-    ac_prev=sysconfdir ;;
-  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
-  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-    sysconfdir=$ac_optarg ;;
-
-  -target | --target | --targe | --targ | --tar | --ta | --t)
-    ac_prev=target_alias ;;
-  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
-    target_alias=$ac_optarg ;;
-
-  -v | -verbose | --verbose | --verbos | --verbo | --verb)
-    verbose=yes ;;
-
-  -version | --version | --versio | --versi | --vers | -V)
-    ac_init_version=: ;;
-
-  -with-* | --with-*)
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package| sed 's/-/_/g'`
-    case $ac_option in
-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
-      *) ac_optarg=yes ;;
-    esac
-    eval "with_$ac_package='$ac_optarg'" ;;
-
-  -without-* | --without-*)
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package | sed 's/-/_/g'`
-    eval "with_$ac_package=no" ;;
-
-  --x)
-    # Obsolete; use --with-x.
-    with_x=yes ;;
-
-  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
-  | --x-incl | --x-inc | --x-in | --x-i)
-    ac_prev=x_includes ;;
-  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
-  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
-    x_includes=$ac_optarg ;;
-
-  -x-libraries | --x-libraries | --x-librarie | --x-librari \
-  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
-    ac_prev=x_libraries ;;
-  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
-  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
-    x_libraries=$ac_optarg ;;
-
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
-   { (exit 1); exit 1; }; }
-    ;;
-
-  *=*)
-    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
-    # Reject names that are not valid shell variable names.
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
-   { (exit 1); exit 1; }; }
-    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
-    eval "$ac_envvar='$ac_optarg'"
-    export $ac_envvar ;;
-
-  *)
-    # FIXME: should be removed in autoconf 3.0.
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
-    ;;
-
-  esac
-done
-
-if test -n "$ac_prev"; then
-  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  { echo "$as_me: error: missing argument to $ac_option" >&2
-   { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute paths.
-for ac_var in exec_prefix prefix
-do
-  eval ac_val=$`echo $ac_var`
-  case $ac_val in
-    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
-   { (exit 1); exit 1; }; };;
-  esac
-done
-
-# Be sure to have absolute paths.
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
-             localstatedir libdir includedir oldincludedir infodir mandir
-do
-  eval ac_val=$`echo $ac_var`
-  case $ac_val in
-    [\\/$]* | ?:[\\/]* ) ;;
-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
-   { (exit 1); exit 1; }; };;
-  esac
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
-  if test "x$build_alias" = x; then
-    cross_compiling=maybe
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used." >&2
-  elif test "x$build_alias" != "x$host_alias"; then
-    cross_compiling=yes
-  fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
-  ac_srcdir_defaulted=yes
-  # Try the directory containing this script, then its parent.
-  ac_confdir=`(dirname "$0") 2>/dev/null ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$0" : 'X\(//\)[^/]' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X"$0" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-         /^X\(\/\/\)$/{ s//\1/; q; }
-         /^X\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-  srcdir=$ac_confdir
-  if test ! -r $srcdir/$ac_unique_file; then
-    srcdir=..
-  fi
-else
-  ac_srcdir_defaulted=no
-fi
-if test ! -r $srcdir/$ac_unique_file; then
-  if test "$ac_srcdir_defaulted" = yes; then
-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
-   { (exit 1); exit 1; }; }
-  else
-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-   { (exit 1); exit 1; }; }
-  fi
-fi
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
-  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
-   { (exit 1); exit 1; }; }
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
-ac_env_build_alias_set=${build_alias+set}
-ac_env_build_alias_value=$build_alias
-ac_cv_env_build_alias_set=${build_alias+set}
-ac_cv_env_build_alias_value=$build_alias
-ac_env_host_alias_set=${host_alias+set}
-ac_env_host_alias_value=$host_alias
-ac_cv_env_host_alias_set=${host_alias+set}
-ac_cv_env_host_alias_value=$host_alias
-ac_env_target_alias_set=${target_alias+set}
-ac_env_target_alias_value=$target_alias
-ac_cv_env_target_alias_set=${target_alias+set}
-ac_cv_env_target_alias_value=$target_alias
-ac_env_PERL_set=${PERL+set}
-ac_env_PERL_value=$PERL
-ac_cv_env_PERL_set=${PERL+set}
-ac_cv_env_PERL_value=$PERL
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
-  # Omit some internal or obsolete options to make the list less imposing.
-  # This message is too long to be a string in the A/UX 3.1 sh.
-  cat <<_ACEOF
-\`configure' configures RT 3.4.4 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE.  See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
-  -h, --help              display this help and exit
-      --help=short        display options specific to this package
-      --help=recursive    display the short help of all the included packages
-  -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking...' messages
-      --cache-file=FILE   cache test results in FILE [disabled]
-  -C, --config-cache      alias for \`--cache-file=config.cache'
-  -n, --no-create         do not create output files
-      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
-
-_ACEOF
-
-  cat <<_ACEOF
-Installation directories:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-                         [$ac_default_prefix]
-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-                         [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
-  --bindir=DIR           user executables [EPREFIX/bin]
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
-  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
-  --libdir=DIR           object code libraries [EPREFIX/lib]
-  --includedir=DIR       C header files [PREFIX/include]
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
-  --infodir=DIR          info documentation [PREFIX/info]
-  --mandir=DIR           man documentation [PREFIX/man]
-_ACEOF
-
-  cat <<\_ACEOF
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
-  case $ac_init_help in
-     short | recursive ) echo "Configuration of RT 3.4.4:";;
-   esac
-  cat <<\_ACEOF
-
-Optional Features:
-  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
-  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
-  --enable-layout=LAYOUT  Use a specific directory layout (Default: RT3)
-
-Optional Packages:
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-speedycgi=/path/to/speedy
-                          path to your speedycgi binary, if it exists
-  --with-bin-owner=OWNER  user that will own RT binaries (default root)
-  --with-libs-owner=OWNER user that will own RT libraries (default root)
-  --with-libs-group=GROUP group that will own RT binaries (default bin)
-  --with-db-type=TYPE     sort of database RT will use (default: mysql)
-                          (mysql, Pg, Oracle, Informix and SQLite are valid)
-  --with-db-host=HOSTNAME FQDN of database server (default: localhost)
-  --with-db-port=PORT     port on which the database listens on
-  --with-db-rt-host=HOSTNAME
-                          FQDN of RT server which talks to the database server
-                          (default: localhost)
-  --with-db-dba=DBA       name of database administrator (default: root)
-  --with-db-database=DBNAME
-                          name of the database to use (default: rt3)
-  --with-db-rt-user=DBUSER
-                          name of database user (default: rt_user)
-  --with-db-rt-pass=PASSWORD
-                          password for database user (default: rt_pass)
-  --with-web-user=USER    user the web server runs as (default: www)
-  --with-web-group=GROUP  group the web server runs as (default: www)
-  --with-rt-group=GROUP   group to own all files (default: rt)
-  --with-my-user-group    set all users and groups to current user/group
-  --with-apachectl        instruct RT where to find your apachectl
-  --with-devel-mode       Turn on development aids that might hurt you in
-                          production
-
-Some influential environment variables:
-  PERL        Perl interpreter command
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to <rt-bugs@fsck.com>.
-_ACEOF
-fi
-
-if test "$ac_init_help" = "recursive"; then
-  # If there are subdirs, report their specific --help.
-  ac_popdir=`pwd`
-  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
-    test -d $ac_dir || continue
-    ac_builddir=.
-
-if test "$ac_dir" != .; then
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
-  # A "../" for each directory in $ac_dir_suffix.
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
-else
-  ac_dir_suffix= ac_top_builddir=
-fi
-
-case $srcdir in
-  .)  # No --srcdir option.  We are building in place.
-    ac_srcdir=.
-    if test -z "$ac_top_builddir"; then
-       ac_top_srcdir=.
-    else
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
-    fi ;;
-  [\\/]* | ?:[\\/]* )  # Absolute path.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir ;;
-  *) # Relative path.
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
-esac
-
-# Do not use `cd foo && pwd` to compute absolute paths, because
-# the directories may not exist.
-case `pwd` in
-.) ac_abs_builddir="$ac_dir";;
-*)
-  case "$ac_dir" in
-  .) ac_abs_builddir=`pwd`;;
-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
-  esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
-*)
-  case ${ac_top_builddir}. in
-  .) ac_abs_top_builddir=$ac_abs_builddir;;
-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
-  esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_srcdir=$ac_srcdir;;
-*)
-  case $ac_srcdir in
-  .) ac_abs_srcdir=$ac_abs_builddir;;
-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
-  esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
-*)
-  case $ac_top_srcdir in
-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
-  esac;;
-esac
-
-    cd $ac_dir
-    # Check for guested configure; otherwise get Cygnus style configure.
-    if test -f $ac_srcdir/configure.gnu; then
-      echo
-      $SHELL $ac_srcdir/configure.gnu  --help=recursive
-    elif test -f $ac_srcdir/configure; then
-      echo
-      $SHELL $ac_srcdir/configure  --help=recursive
-    elif test -f $ac_srcdir/configure.ac ||
-          test -f $ac_srcdir/configure.in; then
-      echo
-      $ac_configure --help
-    else
-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
-    fi
-    cd "$ac_popdir"
-  done
-fi
-
-test -n "$ac_init_help" && exit 0
-if $ac_init_version; then
-  cat <<\_ACEOF
-RT configure 3.4.4
-generated by GNU Autoconf 2.59
-
-Copyright (C) 2003 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
-  exit 0
-fi
-exec 5>config.log
-cat >&5 <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by RT $as_me 3.4.4, which was
-generated by GNU Autoconf 2.59.  Invocation command line was
-
-  $ $0 $@
-
-_ACEOF
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
-
-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  echo "PATH: $as_dir"
-done
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_sep=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
-  for ac_arg
-  do
-    case $ac_arg in
-    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
-    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-    | -silent | --silent | --silen | --sile | --sil)
-      continue ;;
-    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
-    esac
-    case $ac_pass in
-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
-    2)
-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
-      if test $ac_must_keep_next = true; then
-       ac_must_keep_next=false # Got value, back to normal.
-      else
-       case $ac_arg in
-         *=* | --config-cache | -C | -disable-* | --disable-* \
-         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
-         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
-         | -with-* | --with-* | -without-* | --without-* | --x)
-           case "$ac_configure_args0 " in
-             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
-           esac
-           ;;
-         -* ) ac_must_keep_next=true ;;
-       esac
-      fi
-      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
-      # Get rid of the leading space.
-      ac_sep=" "
-      ;;
-    esac
-  done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log.  We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Be sure not to use single quotes in there, as some shells,
-# such as our DU 5.0 friend, will then `close' the trap.
-trap 'exit_status=$?
-  # Save into config.log some information that might help in debugging.
-  {
-    echo
-
-    cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
-    echo
-    # The following way of writing the cache mishandles newlines in values,
-{
-  (set) 2>&1 |
-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
-    *ac_space=\ *)
-      sed -n \
-       "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
-      ;;
-    *)
-      sed -n \
-       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
-      ;;
-    esac;
-}
-    echo
-
-    cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
-    echo
-    for ac_var in $ac_subst_vars
-    do
-      eval ac_val=$`echo $ac_var`
-      echo "$ac_var='"'"'$ac_val'"'"'"
-    done | sort
-    echo
-
-    if test -n "$ac_subst_files"; then
-      cat <<\_ASBOX
-## ------------- ##
-## Output files. ##
-## ------------- ##
-_ASBOX
-      echo
-      for ac_var in $ac_subst_files
-      do
-       eval ac_val=$`echo $ac_var`
-       echo "$ac_var='"'"'$ac_val'"'"'"
-      done | sort
-      echo
-    fi
-
-    if test -s confdefs.h; then
-      cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
-      echo
-      sed "/^$/d" confdefs.h | sort
-      echo
-    fi
-    test "$ac_signal" != 0 &&
-      echo "$as_me: caught signal $ac_signal"
-    echo "$as_me: exit $exit_status"
-  } >&5
-  rm -f core *.core &&
-  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
-    exit $exit_status
-     ' 0
-for ac_signal in 1 2 13 15; do
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -rf conftest* confdefs.h
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
-echo >confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -z "$CONFIG_SITE"; then
-  if test "x$prefix" != xNONE; then
-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
-  else
-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
-  fi
-fi
-for ac_site_file in $CONFIG_SITE; do
-  if test -r "$ac_site_file"; then
-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
-    sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file"
-  fi
-done
-
-if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special
-  # files actually), so we avoid doing that.
-  if test -f "$cache_file"; then
-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
-    case $cache_file in
-      [\\/]* | ?:[\\/]* ) . $cache_file;;
-      *)                      . ./$cache_file;;
-    esac
-  fi
-else
-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
-  >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in `(set) 2>&1 |
-              sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
-  eval ac_new_set=\$ac_env_${ac_var}_set
-  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
-  eval ac_new_val="\$ac_env_${ac_var}_value"
-  case $ac_old_set,$ac_new_set in
-    set,)
-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,set)
-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
-      ac_cache_corrupted=: ;;
-    ,);;
-    *)
-      if test "x$ac_old_val" != "x$ac_new_val"; then
-       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
-       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
-echo "$as_me:   former value:  $ac_old_val" >&2;}
-       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
-echo "$as_me:   current value: $ac_new_val" >&2;}
-       ac_cache_corrupted=:
-      fi;;
-  esac
-  # Pass precious variables to config.status.
-  if test "$ac_new_set" = set; then
-    case $ac_new_val in
-    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
-      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
-    *) ac_arg=$ac_var=$ac_new_val ;;
-    esac
-    case " $ac_configure_args " in
-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
-    esac
-  fi
-done
-if $ac_cache_corrupted; then
-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-rt_version_major=3
-
-rt_version_minor=4
-
-rt_version_patch=4
-
-test "x$rt_version_major" = 'x' && rt_version_major=0
-test "x$rt_version_minor" = 'x' && rt_version_minor=0
-test "x$rt_version_patch" = 'x' && rt_version_patch=0
-
-ac_aux_dir=
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
-  if test -f $ac_dir/install-sh; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install-sh -c"
-    break
-  elif test -f $ac_dir/install.sh; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/install.sh -c"
-    break
-  elif test -f $ac_dir/shtool; then
-    ac_aux_dir=$ac_dir
-    ac_install_sh="$ac_aux_dir/shtool install -c"
-    break
-  fi
-done
-if test -z "$ac_aux_dir"; then
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
-   { (exit 1); exit 1; }; }
-fi
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
-
-# Find a good install program.  We prefer a C program (faster),
-# so one script is as good as another.  But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
-  ./ | .// | /cC/* | \
-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
-  /usr/ucb/* ) ;;
-  *)
-    # OSF1 and SCO ODT 3.0 have their own names for install.
-    # Don't use installbsd from OSF since it installs stuff as root
-    # by default.
-    for ac_prog in ginstall scoinst install; do
-      for ac_exec_ext in '' $ac_executable_extensions; do
-       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
-         if test $ac_prog = install &&
-           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-           # AIX install.  It has an incompatible calling convention.
-           :
-         elif test $ac_prog = install &&
-           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-           # program-specific install script used by HP pwplus--don't use.
-           :
-         else
-           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
-           break 3
-         fi
-       fi
-      done
-    done
-    ;;
-esac
-done
-
-
-fi
-  if test "${ac_cv_path_install+set}" = set; then
-    INSTALL=$ac_cv_path_install
-  else
-    # As a last resort, use the slow shell script.  We don't cache a
-    # path for INSTALL within a source directory, because that will
-    # break other packages using the cache if that directory is
-    # removed, or if the path is relative.
-    INSTALL=$ac_install_sh
-  fi
-fi
-echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
-# Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
-echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-if test "${ac_cv_path_PERL+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  case $PERL in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-
-  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found"
-  ;;
-esac
-fi
-PERL=$ac_cv_path_PERL
-
-if test -n "$PERL"; then
-  echo "$as_me:$LINENO: result: $PERL" >&5
-echo "${ECHO_T}$PERL" >&6
-else
-  echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
-if test "$PERL" = 'not found'; then
-       { { echo "$as_me:$LINENO: error: cannot use $PACKAGE_NAME without perl" >&5
-echo "$as_me: error: cannot use $PACKAGE_NAME without perl" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-
-
-# Check whether --with-speedycgi or --without-speedycgi was given.
-if test "${with_speedycgi+set}" = set; then
-  withval="$with_speedycgi"
-  SPEEDY_BIN=$withval
-else
-  SPEEDY_BIN=/usr/local/bin/speedy
-fi;
-
-
-
-
-
-# Check whether --enable-layout or --disable-layout was given.
-if test "${enable_layout+set}" = set; then
-  enableval="$enable_layout"
-  LAYOUT=$enableval
-fi;
-
-if test "x$LAYOUT" = "x"; then
-       LAYOUT="RT3"
-fi
-
-       if test ! -f $srcdir/config.layout; then
-               { echo "$as_me:$LINENO: WARNING: Layout file $srcdir/config.layout not found" >&5
-echo "$as_me: WARNING: Layout file $srcdir/config.layout not found" >&2;}
-               rt_layout_name=no
-       else
-               pldconf=./config.pld
-               $PERL  -0777 -p -e "\$layout = '$LAYOUT';"  -e '
-               s/.*<Layout\s+$layout>//gims;
-               s/\<\/Layout\>.*//s;
-               s/^#.*$//m;
-               s/^\s+//gim;
-               s/\s+$/\n/gim;
-               s/\+$/\/rt3/gim;
-               # m4 will not let us just use $srcdir/config.layout, we need $1
-               s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/$1=$2/gim;
-               s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim;
-                ' < $srcdir/config.layout > $pldconf
-
-               if test -s $pldconf; then
-                       rt_layout_name=$LAYOUT
-                       . $pldconf
-
-                       for var in prefix exec_prefix bindir sbindir \
-                                sysconfdir mandir libdir datadir htmldir \
-                                localstatedir logfiledir masonstatedir \
-                                sessionstatedir customdir custometcdir customhtmldir \
-                                customlexdir customlibdir manualdir; do
-                               eval "val=\"\$$var\""
-                               val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
-                               val=`echo $val |
-                                       sed -e 's:[\$]\([a-z_]*\):$\1:g'`
-                               eval "$var='$val'"
-                       done
-
-               else
-                       rt_layout_name=no
-               fi
-               #rm $pldconf
-       fi
-
-
-       ap_last=''
-       ap_cur='$prefix'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_prefix="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$exec_prefix'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_exec_prefix="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$bindir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_bindir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$sbindir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_sbindir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$sysconfdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_sysconfdir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$mandir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_mandir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$libdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_libdir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$datadir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_datadir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$htmldir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_htmldir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$manualdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_manualdir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$localstatedir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_localstatedir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$logfiledir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_logfiledir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$masonstatedir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_masonstatedir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$sessionstatedir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_sessionstatedir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$customdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customdir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$custometcdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_custometcdir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$customhtmldir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customhtmldir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$customlexdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customlexdir="${ap_cur}"
-
-
-
-
-
-
-       ap_last=''
-       ap_cur='$customlibdir'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       exp_customlibdir="${ap_cur}"
-
-
-
-
-
-echo "$as_me:$LINENO: checking for chosen layout" >&5
-echo $ECHO_N "checking for chosen layout... $ECHO_C" >&6
-if test "x$rt_layout_name" = "xno"; then
-       if test "x$LAYOUT" = "xno"; then
-               echo "$as_me:$LINENO: result: none" >&5
-echo "${ECHO_T}none" >&6
-       else
-               echo "$as_me:$LINENO: result: $LAYOUT" >&5
-echo "${ECHO_T}$LAYOUT" >&6
-       fi
-       { { echo "$as_me:$LINENO: error: a valid layout must be specified (or the default used)" >&5
-echo "$as_me: error: a valid layout must be specified (or the default used)" >&2;}
-   { (exit 1); exit 1; }; }
-else
-
-       echo "$as_me:$LINENO: result: $rt_layout_name" >&5
-echo "${ECHO_T}$rt_layout_name" >&6
-fi
-
-
-
-# ACRT_USER_EXISTS( users, variable, default )
-# - users is a list of users [www apache www-docs]
-#    from highest to lowest priority to high priority (i.e. first match)
-# - variable is what you set with the result
-#
-
-
-
-
-
-# Check whether --with-bin-owner or --without-bin-owner was given.
-if test "${with_bin_owner+set}" = set; then
-  withval="$with_bin_owner"
-  BIN_OWNER=$withval
-else
-  BIN_OWNER=root
-fi;
-
-
-
-# Check whether --with-libs-owner or --without-libs-owner was given.
-if test "${with_libs_owner+set}" = set; then
-  withval="$with_libs_owner"
-  LIBS_OWNER=$withval
-else
-  LIBS_OWNER=root
-fi;
-
-
-
-# Check whether --with-libs-group or --without-libs-group was given.
-if test "${with_libs_group+set}" = set; then
-  withval="$with_libs_group"
-  LIBS_GROUP=$withval
-else
-  LIBS_GROUP=bin
-fi;
-
-
-
-# Check whether --with-db-type or --without-db-type was given.
-if test "${with_db_type+set}" = set; then
-  withval="$with_db_type"
-  DB_TYPE=$withval
-else
-  DB_TYPE=mysql
-fi;
-if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' -a "$DB_TYPE" != 'Informix' -a "$DB_TYPE" != 'Sybase' ; then
-       { { echo "$as_me:$LINENO: error: Only Oracle, Informix, Pg, mysql and SQLite are valid db types" >&5
-echo "$as_me: error: Only Oracle, Informix, Pg, mysql and SQLite are valid db types" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-
-if test "$DB_TYPE" = 'Oracle'; then
-       test "x$ORACLE_HOME" = 'x' && { { echo "$as_me:$LINENO: error: Please declare the ORACLE_HOME environment variable" >&5
-echo "$as_me: error: Please declare the ORACLE_HOME environment variable" >&2;}
-   { (exit 1); exit 1; }; }
-       DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
-fi
-
-if test "$DB_TYPE" = 'Sybase'; then
-       test "x$SYBASE" = 'x' && { { echo "$as_me:$LINENO: error: Please declare the SYBASE_HOME environment variable" >&5
-echo "$as_me: error: Please declare the SYBASE_HOME environment variable" >&2;}
-   { (exit 1); exit 1; }; }
-       DATABASE_ENV_PREF="\$ENV{'SYBASE'} = '$SYBASE';"
-fi
-
-
-
-# Check whether --with-db-host or --without-db-host was given.
-if test "${with_db_host+set}" = set; then
-  withval="$with_db_host"
-  DB_HOST=$withval
-else
-  DB_HOST=localhost
-fi;
-
-
-
-# Check whether --with-db-port or --without-db-port was given.
-if test "${with_db_port+set}" = set; then
-  withval="$with_db_port"
-  DB_PORT=$withval
-else
-  DB_PORT=
-fi;
-
-
-
-# Check whether --with-db-rt-host or --without-db-rt-host was given.
-if test "${with_db_rt_host+set}" = set; then
-  withval="$with_db_rt_host"
-  DB_RT_HOST=$withval
-else
-  DB_RT_HOST=localhost
-fi;
-
-
-
-# Check whether --with-db-dba or --without-db-dba was given.
-if test "${with_db_dba+set}" = set; then
-  withval="$with_db_dba"
-  DB_DBA=$withval
-else
-  DB_DBA=root
-fi;
-
-
-
-# Check whether --with-db-database or --without-db-database was given.
-if test "${with_db_database+set}" = set; then
-  withval="$with_db_database"
-  DB_DATABASE=$withval
-else
-  DB_DATABASE=rt3
-fi;
-
-
-
-# Check whether --with-db-rt-user or --without-db-rt-user was given.
-if test "${with_db_rt_user+set}" = set; then
-  withval="$with_db_rt_user"
-  DB_RT_USER=$withval
-else
-  DB_RT_USER=rt_user
-fi;
-
-
-
-# Check whether --with-db-rt-pass or --without-db-rt-pass was given.
-if test "${with_db_rt_pass+set}" = set; then
-  withval="$with_db_rt_pass"
-  DB_RT_PASS=$withval
-else
-  DB_RT_PASS=rt_pass
-fi;
-
-
-
-# Check whether --with-web-user or --without-web-user was given.
-if test "${with_web_user+set}" = set; then
-  withval="$with_web_user"
-  WEB_USER=$withval
-else
-
-   WEB_USER=www
-   for x in www www-data apache httpd nobody; do
-    echo "$as_me:$LINENO: checking if user $x exists" >&5
-echo $ECHO_N "checking if user $x exists... $ECHO_C" >&6
-     if  $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" ; then
-   echo "$as_me:$LINENO: result: found" >&5
-echo "${ECHO_T}found" >&6; WEB_USER=$x ; break
-else
-   echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6
-fi
-
-   done
-
-
-fi;
-
-
-
-# Check whether --with-web-group or --without-web-group was given.
-if test "${with_web_group+set}" = set; then
-  withval="$with_web_group"
-  WEB_GROUP=$withval
-else
-
-   WEB_GROUP=www
-   for x in www www-data apache httpd nogroup nobody; do
-    echo "$as_me:$LINENO: checking if group $x exists" >&5
-echo $ECHO_N "checking if group $x exists... $ECHO_C" >&6
-     if  $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then
-   echo "$as_me:$LINENO: result: found" >&5
-echo "${ECHO_T}found" >&6; WEB_GROUP=$x ; break
-else
-   echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6
-fi
-
-   done
-
-fi;
-
-
-
-# Check whether --with-rt-group or --without-rt-group was given.
-if test "${with_rt_group+set}" = set; then
-  withval="$with_rt_group"
-  RTGROUP=$withval
-else
-
-   RTGROUP=rt
-   for x in rt3 rt $WEB_GROUP; do
-    echo "$as_me:$LINENO: checking if group $x exists" >&5
-echo $ECHO_N "checking if group $x exists... $ECHO_C" >&6
-     if  $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ; then
-   echo "$as_me:$LINENO: result: found" >&5
-echo "${ECHO_T}found" >&6; RTGROUP=$x ; break
-else
-   echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6
-fi
-
-   done
-
-fi;
-
-
-my_group=$(groups|cut -f1 -d' ')
-my_user=${USER:-$LOGNAME}
-
-# Check whether --with-my-user-group or --without-my-user-group was given.
-if test "${with_my_user_group+set}" = set; then
-  withval="$with_my_user_group"
-  RTGROUP=$my_group
-            BIN_OWNER=$my_user
-            LIBS_OWNER=$my_user
-            LIBS_GROUP=$my_group
-            WEB_USER=$my_user
-            WEB_GROUP=$my_group
-fi;
-
-
-
-
-# Check whether --with-apachectl or --without-apachectl was given.
-if test "${with_apachectl+set}" = set; then
-  withval="$with_apachectl"
-  APACHECTL=$withval
-else
-  APACHECTL=`which apachectl`
-fi;
-
-
-
-# Check whether --with-devel-mode or --without-devel-mode was given.
-if test "${with_devel_mode+set}" = set; then
-  withval="$with_devel_mode"
-  RT_DEVEL_MODE="1"
-else
-  RT_DEVEL_MODE="0"
-fi;
-
-
-RT_VERSION_MAJOR=${rt_version_major}
-
-RT_VERSION_MINOR=${rt_version_minor}
-
-RT_VERSION_PATCH=${rt_version_patch}
-
-
-RT_PATH=${exp_prefix}
-
-RT_DOC_PATH=${exp_manualdir}
-
-RT_LOCAL_PATH=${exp_customdir}
-
-RT_LIB_PATH=${exp_libdir}
-
-RT_ETC_PATH=${exp_sysconfdir}
-
-CONFIG_FILE_PATH=${exp_sysconfdir}
-
-RT_BIN_PATH=${exp_bindir}
-
-RT_SBIN_PATH=${exp_sbindir}
-
-RT_VAR_PATH=${exp_localstatedir}
-
-RT_MAN_PATH=${exp_mandir}
-
-MASON_DATA_PATH=${exp_masonstatedir}
-
-MASON_SESSION_PATH=${exp_sessionstatedir}
-
-MASON_HTML_PATH=${exp_htmldir}
-
-LOCAL_ETC_PATH=${exp_custometcdir}
-
-MASON_LOCAL_HTML_PATH=${exp_customhtmldir}
-
-LOCAL_LEXICON_PATH=${exp_customlexdir}
-
-LOCAL_LIB_PATH=${exp_customlibdir}
-
-DESTDIR=${exp_prefix}
-
-RT_LOG_PATH=${exp_logfiledir}
-
-
-
-                                                                                          ac_config_files="$ac_config_files sbin/rt-dump-database sbin/rt-setup-database sbin/rt-test-dependencies bin/mason_handler.fcgi bin/mason_handler.scgi bin/standalone_httpd bin/rt-crontool bin/rt-mailgate bin/rt"
-
-
-                                                  ac_config_files="$ac_config_files Makefile etc/RT_Config.pm lib/RT.pm bin/mason_handler.svc bin/webmux.pl"
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems.  If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, don't put newlines in cache variables' values.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-{
-  (set) 2>&1 |
-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
-    *ac_space=\ *)
-      # `set' does not quote correctly, so add quotes (double-quote
-      # substitution turns \\\\ into \\, and sed turns \\ into \).
-      sed -n \
-       "s/'/'\\\\''/g;
-         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
-      ;;
-    *)
-      # `set' quotes correctly as required by POSIX, so do not add quotes.
-      sed -n \
-       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
-      ;;
-    esac;
-} |
-  sed '
-     t clear
-     : clear
-     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
-     t end
-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
-     : end' >>confcache
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
-  if test -w $cache_file; then
-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
-    cat confcache >$cache_file
-  else
-    echo "not updating unwritable cache $cache_file"
-  fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
-  ac_vpsub='/^[         ]*VPATH[        ]*=/{
-s/:*\$(srcdir):*/:/;
-s/:*\${srcdir}:*/:/;
-s/:*@srcdir@:*/:/;
-s/^\([^=]*=[    ]*\):*/\1/;
-s/:*$//;
-s/^[^=]*=[      ]*$//;
-}'
-fi
-
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then we branch to the quote section.  Otherwise,
-# look for a macro that doesn't take arguments.
-cat >confdef2opt.sed <<\_ACEOF
-t clear
-: clear
-s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
-t quote
-s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
-t quote
-d
-: quote
-s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
-s,\[,\\&,g
-s,\],\\&,g
-s,\$,$$,g
-p
-_ACEOF
-# We use echo to avoid assuming a particular line-breaking character.
-# The extra dot is to prevent the shell from consuming trailing
-# line-breaks from the sub-command output.  A line-break within
-# single-quotes doesn't work because, if this script is created in a
-# platform that uses two characters for line-breaks (e.g., DOS), tr
-# would break.
-ac_LF_and_DOT=`echo; echo .`
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
-rm -f confdef2opt.sed
-
-
-ac_libobjs=
-ac_ltlibobjs=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
-  # 1. Remove the extension, and $U if already installed.
-  ac_i=`echo "$ac_i" |
-        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
-  # 2. Add them.
-  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
-  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-
-: ${CONFIG_STATUS=./config.status}
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
-
-# Be Bourne compatible
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-  set -o posix
-fi
-DUALCASE=1; export DUALCASE # for MKS sh
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
-fi
-
-
-# Work around bugs in pre-3.0 UWIN ksh.
-$as_unset ENV MAIL MAILPATH
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-  LC_TELEPHONE LC_TIME
-do
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-    eval $as_var=C; export $as_var
-  else
-    $as_unset $as_var
-  fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-        X"$0" : 'X\(//\)$' \| \
-        X"$0" : 'X\(/\)$' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
-         /^X\/\(\/\/\)$/{ s//\1/; q; }
-         /^X\/\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-
-
-# PATH needs CR, and LINENO needs CR and PATH.
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conf$$.sh
-  echo  "exit 0"   >>conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
-  fi
-  rm -f conf$$.sh
-fi
-
-
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
-  # Find who we are.  Look in the path if we contain no path at all
-  # relative or not.
-  case $0 in
-    *[\\/]* ) as_myself=$0 ;;
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-
-       ;;
-  esac
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
-  # in which case we are not to be found in the path.
-  if test "x$as_myself" = x; then
-    as_myself=$0
-  fi
-  if test ! -f "$as_myself"; then
-    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
-   { (exit 1); exit 1; }; }
-  fi
-  case $CONFIG_SHELL in
-  '')
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for as_base in sh bash ksh sh5; do
-        case $as_dir in
-        /*)
-          if ("$as_dir/$as_base" -c '
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
-            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
-            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
-            CONFIG_SHELL=$as_dir/$as_base
-            export CONFIG_SHELL
-            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
-          fi;;
-        esac
-       done
-done
-;;
-  esac
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line before each line; the second 'sed' does the real
-  # work.  The second script uses 'N' to pair each line-number line
-  # with the numbered line, and appends trailing '-' during
-  # substitution so that $LINENO is not a special case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
-  sed '=' <$as_myself |
-    sed '
-      N
-      s,$,-,
-      : loop
-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
-      t loop
-      s,-$,,
-      s,^['$as_cr_digits']*\n,,
-    ' >$as_me.lineno &&
-  chmod +x $as_me.lineno ||
-    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
-   { (exit 1); exit 1; }; }
-
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensible to this).
-  . ./$as_me.lineno
-  # Exit status is that of the last command.
-  exit
-}
-
-
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
-  *c*,-n*) ECHO_N= ECHO_C='
-' ECHO_T='     ' ;;
-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  # We could just check for DJGPP; but this test a) works b) is more generic
-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
-  if test -f conf$$.exe; then
-    # Don't use ln at all; we don't have any links
-    as_ln_s='cp -p'
-  else
-    as_ln_s='ln -s'
-  fi
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
-else
-  as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.file
-
-if mkdir -p . 2>/dev/null; then
-  as_mkdir_p=:
-else
-  test -d ./-p && rmdir ./-p
-  as_mkdir_p=false
-fi
-
-as_executable_p="test -f"
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.
-as_nl='
-'
-IFS="  $as_nl"
-
-# CDPATH.
-$as_unset CDPATH
-
-exec 6>&1
-
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.  Logging --version etc. is OK.
-exec 5>>config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
-} >&5
-cat >&5 <<_CSEOF
-
-This file was extended by RT $as_me 3.4.4, which was
-generated by GNU Autoconf 2.59.  Invocation command line was
-
-  CONFIG_FILES    = $CONFIG_FILES
-  CONFIG_HEADERS  = $CONFIG_HEADERS
-  CONFIG_LINKS    = $CONFIG_LINKS
-  CONFIG_COMMANDS = $CONFIG_COMMANDS
-  $ $0 $@
-
-_CSEOF
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
-echo >&5
-_ACEOF
-
-# Files that config.status was made for.
-if test -n "$ac_config_files"; then
-  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
-fi
-
-if test -n "$ac_config_headers"; then
-  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
-fi
-
-if test -n "$ac_config_links"; then
-  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
-fi
-
-if test -n "$ac_config_commands"; then
-  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
-
-Usage: $0 [OPTIONS] [FILE]...
-
-  -h, --help       print this help, then exit
-  -V, --version    print version number, then exit
-  -q, --quiet      do not print progress messages
-  -d, --debug      don't remove temporary files
-      --recheck    update $as_me by reconfiguring in the same conditions
-  --file=FILE[:TEMPLATE]
-                  instantiate the configuration file FILE
-
-Configuration files:
-$config_files
-
-Report bugs to <bug-autoconf@gnu.org>."
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-ac_cs_version="\\
-RT config.status 3.4.4
-configured by $0, generated by GNU Autoconf 2.59,
-  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
-
-Copyright (C) 2003 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-srcdir=$srcdir
-INSTALL="$INSTALL"
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value.  By we need to know if files were specified by the user.
-ac_need_defaults=:
-while test $# != 0
-do
-  case $1 in
-  --*=*)
-    ac_option=`expr "x$1" : 'x\([^=]*\)='`
-    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
-    ac_shift=:
-    ;;
-  -*)
-    ac_option=$1
-    ac_optarg=$2
-    ac_shift=shift
-    ;;
-  *) # This is not an option, so the user has probably given explicit
-     # arguments.
-     ac_option=$1
-     ac_need_defaults=false;;
-  esac
-
-  case $ac_option in
-  # Handling of the options.
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    ac_cs_recheck=: ;;
-  --version | --vers* | -V )
-    echo "$ac_cs_version"; exit 0 ;;
-  --he | --h)
-    # Conflict between --help and --header
-    { { echo "$as_me:$LINENO: error: ambiguous option: $1
-Try \`$0 --help' for more information." >&5
-echo "$as_me: error: ambiguous option: $1
-Try \`$0 --help' for more information." >&2;}
-   { (exit 1); exit 1; }; };;
-  --help | --hel | -h )
-    echo "$ac_cs_usage"; exit 0 ;;
-  --debug | --d* | -d )
-    debug=: ;;
-  --file | --fil | --fi | --f )
-    $ac_shift
-    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
-    ac_need_defaults=false;;
-  --header | --heade | --head | --hea )
-    $ac_shift
-    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
-    ac_need_defaults=false;;
-  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
-  | -silent | --silent | --silen | --sile | --sil | --si | --s)
-    ac_cs_silent=: ;;
-
-  # This is an error.
-  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&5
-echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2;}
-   { (exit 1); exit 1; }; } ;;
-
-  *) ac_config_targets="$ac_config_targets $1" ;;
-
-  esac
-  shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
-  exec 6>/dev/null
-  ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-if \$ac_cs_recheck; then
-  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
-  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
-fi
-
-_ACEOF
-
-
-
-
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-for ac_config_target in $ac_config_targets
-do
-  case "$ac_config_target" in
-  # Handling of arguments.
-  "sbin/rt-dump-database" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-dump-database" ;;
-  "sbin/rt-setup-database" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-setup-database" ;;
-  "sbin/rt-test-dependencies" ) CONFIG_FILES="$CONFIG_FILES sbin/rt-test-dependencies" ;;
-  "bin/mason_handler.fcgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.fcgi" ;;
-  "bin/mason_handler.scgi" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.scgi" ;;
-  "bin/standalone_httpd" ) CONFIG_FILES="$CONFIG_FILES bin/standalone_httpd" ;;
-  "bin/rt-crontool" ) CONFIG_FILES="$CONFIG_FILES bin/rt-crontool" ;;
-  "bin/rt-mailgate" ) CONFIG_FILES="$CONFIG_FILES bin/rt-mailgate" ;;
-  "bin/rt" ) CONFIG_FILES="$CONFIG_FILES bin/rt" ;;
-  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-  "etc/RT_Config.pm" ) CONFIG_FILES="$CONFIG_FILES etc/RT_Config.pm" ;;
-  "lib/RT.pm" ) CONFIG_FILES="$CONFIG_FILES lib/RT.pm" ;;
-  "bin/mason_handler.svc" ) CONFIG_FILES="$CONFIG_FILES bin/mason_handler.svc" ;;
-  "bin/webmux.pl" ) CONFIG_FILES="$CONFIG_FILES bin/webmux.pl" ;;
-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
-   { (exit 1); exit 1; }; };;
-  esac
-done
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used.  Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
-  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-fi
-
-# Have a temporary directory for convenience.  Make it in the build tree
-# simply because there is no reason to put it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Create a temporary directory, and hook for its removal unless debugging.
-$debug ||
-{
-  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
-}
-
-# Create a (secure) tmp directory for tmp files.
-
-{
-  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
-}  ||
-{
-  tmp=./confstat$$-$RANDOM
-  (umask 077 && mkdir $tmp)
-} ||
-{
-   echo "$me: cannot create a temporary directory in ." >&2
-   { (exit 1); exit 1; }
-}
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<_ACEOF
-
-#
-# CONFIG_FILES section.
-#
-
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
-if test -n "\$CONFIG_FILES"; then
-  # Protect against being on the right side of a sed subst in config.status.
-  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
-   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
-s,@SHELL@,$SHELL,;t t
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
-s,@exec_prefix@,$exec_prefix,;t t
-s,@prefix@,$prefix,;t t
-s,@program_transform_name@,$program_transform_name,;t t
-s,@bindir@,$bindir,;t t
-s,@sbindir@,$sbindir,;t t
-s,@libexecdir@,$libexecdir,;t t
-s,@datadir@,$datadir,;t t
-s,@sysconfdir@,$sysconfdir,;t t
-s,@sharedstatedir@,$sharedstatedir,;t t
-s,@localstatedir@,$localstatedir,;t t
-s,@libdir@,$libdir,;t t
-s,@includedir@,$includedir,;t t
-s,@oldincludedir@,$oldincludedir,;t t
-s,@infodir@,$infodir,;t t
-s,@mandir@,$mandir,;t t
-s,@build_alias@,$build_alias,;t t
-s,@host_alias@,$host_alias,;t t
-s,@target_alias@,$target_alias,;t t
-s,@DEFS@,$DEFS,;t t
-s,@ECHO_C@,$ECHO_C,;t t
-s,@ECHO_N@,$ECHO_N,;t t
-s,@ECHO_T@,$ECHO_T,;t t
-s,@LIBS@,$LIBS,;t t
-s,@rt_version_major@,$rt_version_major,;t t
-s,@rt_version_minor@,$rt_version_minor,;t t
-s,@rt_version_patch@,$rt_version_patch,;t t
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
-s,@PERL@,$PERL,;t t
-s,@SPEEDY_BIN@,$SPEEDY_BIN,;t t
-s,@exp_prefix@,$exp_prefix,;t t
-s,@exp_exec_prefix@,$exp_exec_prefix,;t t
-s,@exp_bindir@,$exp_bindir,;t t
-s,@exp_sbindir@,$exp_sbindir,;t t
-s,@exp_sysconfdir@,$exp_sysconfdir,;t t
-s,@exp_mandir@,$exp_mandir,;t t
-s,@exp_libdir@,$exp_libdir,;t t
-s,@exp_datadir@,$exp_datadir,;t t
-s,@htmldir@,$htmldir,;t t
-s,@exp_htmldir@,$exp_htmldir,;t t
-s,@manualdir@,$manualdir,;t t
-s,@exp_manualdir@,$exp_manualdir,;t t
-s,@exp_localstatedir@,$exp_localstatedir,;t t
-s,@logfiledir@,$logfiledir,;t t
-s,@exp_logfiledir@,$exp_logfiledir,;t t
-s,@masonstatedir@,$masonstatedir,;t t
-s,@exp_masonstatedir@,$exp_masonstatedir,;t t
-s,@sessionstatedir@,$sessionstatedir,;t t
-s,@exp_sessionstatedir@,$exp_sessionstatedir,;t t
-s,@customdir@,$customdir,;t t
-s,@exp_customdir@,$exp_customdir,;t t
-s,@custometcdir@,$custometcdir,;t t
-s,@exp_custometcdir@,$exp_custometcdir,;t t
-s,@customhtmldir@,$customhtmldir,;t t
-s,@exp_customhtmldir@,$exp_customhtmldir,;t t
-s,@customlexdir@,$customlexdir,;t t
-s,@exp_customlexdir@,$exp_customlexdir,;t t
-s,@customlibdir@,$customlibdir,;t t
-s,@exp_customlibdir@,$exp_customlibdir,;t t
-s,@rt_layout_name@,$rt_layout_name,;t t
-s,@BIN_OWNER@,$BIN_OWNER,;t t
-s,@LIBS_OWNER@,$LIBS_OWNER,;t t
-s,@LIBS_GROUP@,$LIBS_GROUP,;t t
-s,@DB_TYPE@,$DB_TYPE,;t t
-s,@DATABASE_ENV_PREF@,$DATABASE_ENV_PREF,;t t
-s,@DB_HOST@,$DB_HOST,;t t
-s,@DB_PORT@,$DB_PORT,;t t
-s,@DB_RT_HOST@,$DB_RT_HOST,;t t
-s,@DB_DBA@,$DB_DBA,;t t
-s,@DB_DATABASE@,$DB_DATABASE,;t t
-s,@DB_RT_USER@,$DB_RT_USER,;t t
-s,@DB_RT_PASS@,$DB_RT_PASS,;t t
-s,@WEB_USER@,$WEB_USER,;t t
-s,@WEB_GROUP@,$WEB_GROUP,;t t
-s,@RTGROUP@,$RTGROUP,;t t
-s,@APACHECTL@,$APACHECTL,;t t
-s,@RT_DEVEL_MODE@,$RT_DEVEL_MODE,;t t
-s,@RT_VERSION_MAJOR@,$RT_VERSION_MAJOR,;t t
-s,@RT_VERSION_MINOR@,$RT_VERSION_MINOR,;t t
-s,@RT_VERSION_PATCH@,$RT_VERSION_PATCH,;t t
-s,@RT_PATH@,$RT_PATH,;t t
-s,@RT_DOC_PATH@,$RT_DOC_PATH,;t t
-s,@RT_LOCAL_PATH@,$RT_LOCAL_PATH,;t t
-s,@RT_LIB_PATH@,$RT_LIB_PATH,;t t
-s,@RT_ETC_PATH@,$RT_ETC_PATH,;t t
-s,@CONFIG_FILE_PATH@,$CONFIG_FILE_PATH,;t t
-s,@RT_BIN_PATH@,$RT_BIN_PATH,;t t
-s,@RT_SBIN_PATH@,$RT_SBIN_PATH,;t t
-s,@RT_VAR_PATH@,$RT_VAR_PATH,;t t
-s,@RT_MAN_PATH@,$RT_MAN_PATH,;t t
-s,@MASON_DATA_PATH@,$MASON_DATA_PATH,;t t
-s,@MASON_SESSION_PATH@,$MASON_SESSION_PATH,;t t
-s,@MASON_HTML_PATH@,$MASON_HTML_PATH,;t t
-s,@LOCAL_ETC_PATH@,$LOCAL_ETC_PATH,;t t
-s,@MASON_LOCAL_HTML_PATH@,$MASON_LOCAL_HTML_PATH,;t t
-s,@LOCAL_LEXICON_PATH@,$LOCAL_LEXICON_PATH,;t t
-s,@LOCAL_LIB_PATH@,$LOCAL_LIB_PATH,;t t
-s,@DESTDIR@,$DESTDIR,;t t
-s,@RT_LOG_PATH@,$RT_LOG_PATH,;t t
-s,@LIBOBJS@,$LIBOBJS,;t t
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
-CEOF
-
-_ACEOF
-
-  cat >>$CONFIG_STATUS <<\_ACEOF
-  # Split the substitutions into bite-sized pieces for seds with
-  # small command number limits, like on Digital OSF/1 and HP-UX.
-  ac_max_sed_lines=48
-  ac_sed_frag=1 # Number of current file.
-  ac_beg=1 # First line for current file.
-  ac_end=$ac_max_sed_lines # Line after last line for current file.
-  ac_more_lines=:
-  ac_sed_cmds=
-  while $ac_more_lines; do
-    if test $ac_beg -gt 1; then
-      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
-    else
-      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
-    fi
-    if test ! -s $tmp/subs.frag; then
-      ac_more_lines=false
-    else
-      # The purpose of the label and of the branching condition is to
-      # speed up the sed processing (if there are no `@' at all, there
-      # is no need to browse any of the substitutions).
-      # These are the two extra sed commands mentioned above.
-      (echo ':t
-  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
-      if test -z "$ac_sed_cmds"; then
-       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
-      else
-       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
-      fi
-      ac_sed_frag=`expr $ac_sed_frag + 1`
-      ac_beg=$ac_end
-      ac_end=`expr $ac_end + $ac_max_sed_lines`
-    fi
-  done
-  if test -z "$ac_sed_cmds"; then
-    ac_sed_cmds=cat
-  fi
-fi # test -n "$CONFIG_FILES"
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
-  case $ac_file in
-  - | *:- | *:-:* ) # input from stdin
-       cat >$tmp/stdin
-       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
-       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
-  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
-       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
-  * )   ac_file_in=$ac_file.in ;;
-  esac
-
-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
-  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$ac_file" : 'X\(//\)[^/]' \| \
-        X"$ac_file" : 'X\(//\)$' \| \
-        X"$ac_file" : 'X\(/\)' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-         /^X\(\/\/\)$/{ s//\1/; q; }
-         /^X\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-  { if $as_mkdir_p; then
-    mkdir -p "$ac_dir"
-  else
-    as_dir="$ac_dir"
-    as_dirs=
-    while test ! -d "$as_dir"; do
-      as_dirs="$as_dir $as_dirs"
-      as_dir=`(dirname "$as_dir") 2>/dev/null ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-        X"$as_dir" : 'X\(//\)[^/]' \| \
-        X"$as_dir" : 'X\(//\)$' \| \
-        X"$as_dir" : 'X\(/\)' \| \
-        .     : '\(.\)' 2>/dev/null ||
-echo X"$as_dir" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-         /^X\(\/\/\)$/{ s//\1/; q; }
-         /^X\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-    done
-    test ! -n "$as_dirs" || mkdir $as_dirs
-  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
-   { (exit 1); exit 1; }; }; }
-
-  ac_builddir=.
-
-if test "$ac_dir" != .; then
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
-  # A "../" for each directory in $ac_dir_suffix.
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
-else
-  ac_dir_suffix= ac_top_builddir=
-fi
-
-case $srcdir in
-  .)  # No --srcdir option.  We are building in place.
-    ac_srcdir=.
-    if test -z "$ac_top_builddir"; then
-       ac_top_srcdir=.
-    else
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
-    fi ;;
-  [\\/]* | ?:[\\/]* )  # Absolute path.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir ;;
-  *) # Relative path.
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
-esac
-
-# Do not use `cd foo && pwd` to compute absolute paths, because
-# the directories may not exist.
-case `pwd` in
-.) ac_abs_builddir="$ac_dir";;
-*)
-  case "$ac_dir" in
-  .) ac_abs_builddir=`pwd`;;
-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
-  esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
-*)
-  case ${ac_top_builddir}. in
-  .) ac_abs_top_builddir=$ac_abs_builddir;;
-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
-  esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_srcdir=$ac_srcdir;;
-*)
-  case $ac_srcdir in
-  .) ac_abs_srcdir=$ac_abs_builddir;;
-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
-  esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
-*)
-  case $ac_top_srcdir in
-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
-  esac;;
-esac
-
-
-  case $INSTALL in
-  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
-  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
-  esac
-
-  # Let's still pretend it is `configure' which instantiates (i.e., don't
-  # use $as_me), people would be surprised to read:
-  #    /* config.h.  Generated by config.status.  */
-  if test x"$ac_file" = x-; then
-    configure_input=
-  else
-    configure_input="$ac_file.  "
-  fi
-  configure_input=$configure_input"Generated from `echo $ac_file_in |
-                                    sed 's,.*/,,'` by configure."
-
-  # First look for the input files in the build tree, otherwise in the
-  # src tree.
-  ac_file_inputs=`IFS=:
-    for f in $ac_file_in; do
-      case $f in
-      -) echo $tmp/stdin ;;
-      [\\/$]*)
-        # Absolute (can't be DOS-style, as IFS=:)
-        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
-echo "$as_me: error: cannot find input file: $f" >&2;}
-   { (exit 1); exit 1; }; }
-        echo "$f";;
-      *) # Relative
-        if test -f "$f"; then
-          # Build tree
-          echo "$f"
-        elif test -f "$srcdir/$f"; then
-          # Source tree
-          echo "$srcdir/$f"
-        else
-          # /dev/null tree
-          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
-echo "$as_me: error: cannot find input file: $f" >&2;}
-   { (exit 1); exit 1; }; }
-        fi;;
-      esac
-    done` || { (exit 1); exit 1; }
-
-  if test x"$ac_file" != x-; then
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
-    rm -f "$ac_file"
-  fi
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
-  sed "$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s,@configure_input@,$configure_input,;t t
-s,@srcdir@,$ac_srcdir,;t t
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
-s,@top_srcdir@,$ac_top_srcdir,;t t
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
-s,@builddir@,$ac_builddir,;t t
-s,@abs_builddir@,$ac_abs_builddir,;t t
-s,@top_builddir@,$ac_top_builddir,;t t
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
-s,@INSTALL@,$ac_INSTALL,;t t
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
-  rm -f $tmp/stdin
-  if test x"$ac_file" != x-; then
-    mv $tmp/out $ac_file
-  else
-    cat $tmp/out
-    rm -f $tmp/out
-  fi
-
-  # Run the commands associated with the file.
-  case $ac_file in
-    sbin/rt-dump-database ) chmod ug+x $ac_file
-                ;;
-    sbin/rt-setup-database ) chmod ug+x $ac_file
-                ;;
-    sbin/rt-test-dependencies ) chmod ug+x $ac_file
-                ;;
-    bin/mason_handler.fcgi ) chmod ug+x $ac_file
-                ;;
-    bin/mason_handler.scgi ) chmod ug+x $ac_file
-                ;;
-    bin/standalone_httpd ) chmod ug+x $ac_file
-                ;;
-    bin/rt-crontool ) chmod ug+x $ac_file
-                ;;
-    bin/rt-mailgate ) chmod ug+x $ac_file
-                ;;
-    bin/rt ) chmod ug+x $ac_file
-                ;;
-  esac
-done
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF
-
-{ (exit 0); exit 0; }
-_ACEOF
-chmod +x $CONFIG_STATUS
-ac_clean_files=$ac_clean_files_save
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded.  So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status.  When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
-  ac_cs_success=:
-  ac_config_status_args=
-  test "$silent" = yes &&
-    ac_config_status_args="$ac_config_status_args --quiet"
-  exec 5>/dev/null
-  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
-  exec 5>>config.log
-  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
-  # would make configure fail if this is the last instruction.
-  $ac_cs_success || { (exit 1); exit 1; }
-fi
-
diff --git a/rt/configure.ac b/rt/configure.ac
deleted file mode 100644 (file)
index 1d0b95f..0000000
+++ /dev/null
@@ -1,289 +0,0 @@
-autoconf; exec ./configure $@
-dnl
-dnl Process this file with autoconf to produce a configure script
-dnl
-dnl Embed in generated ./configure script the following CVS info:
-AC_REVISION($Revision: 1.1.1.5 $)dnl
-
-dnl Setup autoconf
-AC_PREREQ(2.53)
-AC_INIT(RT, [3.4.4], [rt-bugs@fsck.com])
-AC_CONFIG_SRCDIR([lib/RT.pm.in])
-
-dnl Extract RT version number components
-AC_SUBST([rt_version_major],
-       m4_bregexp(AC_PACKAGE_VERSION,[^\(\w+\)\.\(\w+\)\(\.\(\w+\)\)?],[\1]))
-AC_SUBST([rt_version_minor],
-       m4_bregexp(AC_PACKAGE_VERSION,[^\(\w+\)\.\(\w+\)\(\.\(\w+\)\)?],[\2]))
-AC_SUBST([rt_version_patch],
-       m4_bregexp(AC_PACKAGE_VERSION,[^\(\w+\)\.\(\w+\)\(\.\(\w+\)\)?],[\4]))
-test "x$rt_version_major" = 'x' && rt_version_major=0
-test "x$rt_version_minor" = 'x' && rt_version_minor=0
-test "x$rt_version_patch" = 'x' && rt_version_patch=0
-
-dnl Check for programs
-AC_PROG_INSTALL
-AC_ARG_VAR([PERL],[Perl interpreter command])
-AC_PATH_PROG([PERL], [perl], [not found])
-if test "$PERL" = 'not found'; then
-       AC_MSG_ERROR([cannot use $PACKAGE_NAME without perl])
-fi
-
-
-dnl SPEED_BIN
-AC_ARG_WITH(speedycgi,
-           AC_HELP_STRING([--with-speedycgi=/path/to/speedy],
-                          [path to your speedycgi binary, if it exists]),
-            SPEEDY_BIN=$withval,
-            SPEEDY_BIN=/usr/local/bin/speedy) 
-AC_SUBST(SPEEDY_BIN)
-
-
-dnl Defaults paths for installation
-AC_PREFIX_DEFAULT([/opt/rt3])
-RT_ENABLE_LAYOUT
-
-
-# ACRT_USER_EXISTS( users, variable, default )
-# - users is a list of users [www apache www-docs]
-#    from highest to lowest priority to high priority (i.e. first match)
-# - variable is what you set with the result
-#
-
-AC_DEFUN([ACRT_USER_GUESS],
- [ 
-   $2=$3
-   for x in $1; do
-    AC_MSG_CHECKING([if user $x exists]) 
-     AS_IF([ $PERL -e"exit( defined getpwnam('$x') ? 0 : 1)" ],
-           [ AC_MSG_RESULT([found]); $2=$x ; break],
-           [ AC_MSG_RESULT([not found]) ])
-   done
-  ])
-AC_DEFUN([ACRT_GROUP_GUESS],
- [ 
-   $2=$3
-   for x in $1; do
-    AC_MSG_CHECKING([if group $x exists]) 
-     AS_IF([ $PERL -e"exit( defined getgrnam('$x') ? 0 : 1)" ],
-           [ AC_MSG_RESULT([found]); $2=$x ; break],
-           [ AC_MSG_RESULT([not found]) ])
-   done
-  ])
-
-dnl BIN_OWNER
-AC_ARG_WITH(bin-owner,
-           AC_HELP_STRING([--with-bin-owner=OWNER],
-                          [user that will own RT binaries (default root)]),
-            BIN_OWNER=$withval,
-            BIN_OWNER=root)
-AC_SUBST(BIN_OWNER)
-
-dnl LIBS_OWNER
-AC_ARG_WITH(libs-owner,
-           AC_HELP_STRING([--with-libs-owner=OWNER],
-                          [user that will own RT libraries (default root)]),
-            LIBS_OWNER=$withval,
-            LIBS_OWNER=root)
-AC_SUBST(LIBS_OWNER)
-
-dnl LIBS_GROUP
-AC_ARG_WITH(libs-group,
-           AC_HELP_STRING([--with-libs-group=GROUP],
-                          [group that will own RT binaries (default bin)]),
-            LIBS_GROUP=$withval,
-            LIBS_GROUP=bin)
-AC_SUBST(LIBS_GROUP)
-
-dnl DB_TYPE
-AC_ARG_WITH(db-type,
-           AC_HELP_STRING([--with-db-type=TYPE],
-                          [sort of database RT will use (default: mysql) (mysql, Pg, Oracle, Informix and SQLite are valid)]), 
-            DB_TYPE=$withval,
-            DB_TYPE=mysql)
-if test "$DB_TYPE" != 'mysql' -a "$DB_TYPE" != 'Pg' -a "$DB_TYPE" != 'SQLite' -a "$DB_TYPE" != 'Oracle' -a "$DB_TYPE" != 'Informix' -a "$DB_TYPE" != 'Sybase' ; then
-       AC_MSG_ERROR([Only Oracle, Informix, Pg, mysql and SQLite are valid db types])
-fi
-AC_SUBST(DB_TYPE)
-
-dnl DATABASE_ENV_PREF
-if test "$DB_TYPE" = 'Oracle'; then
-       test "x$ORACLE_HOME" = 'x' && AC_MSG_ERROR([Please declare the ORACLE_HOME environment variable])
-       DATABASE_ENV_PREF="\$ENV{'ORACLE_HOME'} = '$ORACLE_HOME';"
-fi
-
-dnl DATABASE_ENV_PREF
-if test "$DB_TYPE" = 'Sybase'; then
-       test "x$SYBASE" = 'x' && AC_MSG_ERROR([Please declare the SYBASE_HOME environment variable])
-       DATABASE_ENV_PREF="\$ENV{'SYBASE'} = '$SYBASE';"
-fi
-AC_SUBST(DATABASE_ENV_PREF)
-
-dnl DB_HOST
-AC_ARG_WITH(db-host,
-           AC_HELP_STRING([--with-db-host=HOSTNAME],
-                          [FQDN of database server (default: localhost)]),
-            DB_HOST=$withval,
-            DB_HOST=localhost)
-AC_SUBST(DB_HOST)
-
-dnl DB_PORT
-AC_ARG_WITH(db-port,
-           AC_HELP_STRING([--with-db-port=PORT],
-                          [port on which the database listens on]),
-            DB_PORT=$withval,
-            DB_PORT=)
-AC_SUBST(DB_PORT)
-
-dnl DB_RT_HOST
-AC_ARG_WITH(db-rt-host,
-           AC_HELP_STRING([--with-db-rt-host=HOSTNAME],
-                          [FQDN of RT server which talks to the database server (default: localhost)]),
-            DB_RT_HOST=$withval,
-            DB_RT_HOST=localhost)
-AC_SUBST(DB_RT_HOST)
-
-dnl DB_DATABASE_ADMIN
-AC_ARG_WITH(db-dba,
-           AC_HELP_STRING([--with-db-dba=DBA],
-                          [name of database administrator (default: root)]),
-            DB_DBA=$withval,
-            DB_DBA=root)
-AC_SUBST(DB_DBA)
-
-dnl DB_DATABASE
-AC_ARG_WITH(db-database,
-           AC_HELP_STRING([--with-db-database=DBNAME],
-                          [name of the database to use (default: rt3)]),
-            DB_DATABASE=$withval,
-            DB_DATABASE=rt3)
-AC_SUBST(DB_DATABASE)
-
-dnl DB_RT_USER
-AC_ARG_WITH(db-rt-user,
-           AC_HELP_STRING([--with-db-rt-user=DBUSER],
-                          [name of database user (default: rt_user)]),
-            DB_RT_USER=$withval,
-            DB_RT_USER=rt_user)
-AC_SUBST(DB_RT_USER)
-
-dnl DB_RT_PASS
-AC_ARG_WITH(db-rt-pass,
-           AC_HELP_STRING([--with-db-rt-pass=PASSWORD],
-                          [password for database user (default: rt_pass)]),
-            DB_RT_PASS=$withval,
-            DB_RT_PASS=rt_pass)
-AC_SUBST(DB_RT_PASS)
-
-dnl WEB_USER
-AC_ARG_WITH(web-user,
-           AC_HELP_STRING([--with-web-user=USER],
-                          [user the web server runs as (default: www)]),
-            WEB_USER=$withval,
-            ACRT_USER_GUESS([www www-data apache httpd nobody],[WEB_USER],[www])
-)
-AC_SUBST(WEB_USER)
-
-dnl WEB_GROUP
-AC_ARG_WITH(web-group,
-           AC_HELP_STRING([--with-web-group=GROUP],
-                          [group the web server runs as (default: www)]),
-            WEB_GROUP=$withval,
-            ACRT_GROUP_GUESS([www www-data apache httpd nogroup nobody],[WEB_GROUP], [www]))
-AC_SUBST(WEB_GROUP)
-
-dnl RTGROUP
-AC_ARG_WITH(rt-group,
-           AC_HELP_STRING([--with-rt-group=GROUP],
-                          [group to own all files (default: rt)]),
-            RTGROUP=$withval,
-            ACRT_GROUP_GUESS([rt3 rt $WEB_GROUP],[RTGROUP], [rt]))
-AC_SUBST(RTGROUP)
-
-dnl INSTALL AS ME
-my_group=$(groups|cut -f1 -d' ')
-my_user=${USER:-$LOGNAME}
-AC_ARG_WITH(my-user-group,
-            AC_HELP_STRING([--with-my-user-group],
-                           [set all users and groups to current user/group]),
-            RTGROUP=$my_group
-            BIN_OWNER=$my_user
-            LIBS_OWNER=$my_user
-            LIBS_GROUP=$my_group
-            WEB_USER=$my_user
-            WEB_GROUP=$my_group)
-
-
-
-dnl Set the value of apachectl
-AC_ARG_WITH(apachectl,
-            AC_HELP_STRING([--with-apachectl],
-                           [instruct RT where to find your apachectl]),
-
-            APACHECTL=$withval, 
-            APACHECTL=`which apachectl`)
-AC_SUBST(APACHECTL)
-
-dnl RT's "maintainer mode"
-AC_ARG_WITH(devel-mode,
-            AC_HELP_STRING([--with-devel-mode],
-                           [Turn on development aids that might hurt you in production]),
-
-            RT_DEVEL_MODE="1", 
-            RT_DEVEL_MODE="0")
-AC_SUBST(RT_DEVEL_MODE)
-dnl This section maps the variable names this script 'natively' generates
-dnl to their existing names. They should be removed from here as the .in
-dnl files are changed to use the new names.
-
-dnl version numbers
-AC_SUBST(RT_VERSION_MAJOR,             ${rt_version_major})
-AC_SUBST(RT_VERSION_MINOR,             ${rt_version_minor})
-AC_SUBST(RT_VERSION_PATCH,             ${rt_version_patch})
-
-dnl layout paths
-AC_SUBST([RT_PATH],                    ${exp_prefix})
-AC_SUBST([RT_DOC_PATH],                        ${exp_manualdir})
-AC_SUBST([RT_LOCAL_PATH],              ${exp_customdir})
-AC_SUBST([RT_LIB_PATH],                        ${exp_libdir})
-AC_SUBST([RT_ETC_PATH],                        ${exp_sysconfdir})
-AC_SUBST([CONFIG_FILE_PATH],           ${exp_sysconfdir})
-AC_SUBST([RT_BIN_PATH],                        ${exp_bindir})
-AC_SUBST([RT_SBIN_PATH],               ${exp_sbindir})
-AC_SUBST([RT_VAR_PATH],                        ${exp_localstatedir})
-AC_SUBST([RT_MAN_PATH],                        ${exp_mandir})
-AC_SUBST([MASON_DATA_PATH],            ${exp_masonstatedir})
-AC_SUBST([MASON_SESSION_PATH],         ${exp_sessionstatedir})
-AC_SUBST([MASON_HTML_PATH],            ${exp_htmldir})
-AC_SUBST([LOCAL_ETC_PATH],             ${exp_custometcdir})
-AC_SUBST([MASON_LOCAL_HTML_PATH],      ${exp_customhtmldir})
-AC_SUBST([LOCAL_LEXICON_PATH],         ${exp_customlexdir})
-AC_SUBST([LOCAL_LIB_PATH],             ${exp_customlibdir})
-AC_SUBST([DESTDIR],                    ${exp_prefix})
-AC_SUBST([RT_LOG_PATH],                        ${exp_logfiledir})
-
-dnl Configure the output files, and generate them.
-
-dnl Binaries that should be +x
-AC_CONFIG_FILES([
-                sbin/rt-dump-database
-                sbin/rt-setup-database
-                sbin/rt-test-dependencies
-                bin/mason_handler.fcgi
-                bin/mason_handler.scgi
-                bin/standalone_httpd
-                bin/rt-crontool
-                bin/rt-mailgate
-                bin/rt],
-               [chmod ug+x $ac_file]
-               )
-
-dnl All other generated files
-AC_CONFIG_FILES([
-                Makefile
-                etc/RT_Config.pm
-                lib/RT.pm
-                bin/mason_handler.svc
-                bin/webmux.pl],
-               )
-AC_OUTPUT
diff --git a/rt/docs/README.docs b/rt/docs/README.docs
deleted file mode 100755 (executable)
index 38866b3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Questions about docs should be sent to the RT Documentation Team (rt-docs@fsck.com)
-which is led by Meri.
diff --git a/rt/docs/Security b/rt/docs/Security
deleted file mode 100644 (file)
index c9787ac..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-RT2 runs setgid to some group (it defaults to 'rt').
-
-rt's configuration file, 'config.pm', is not world readable because it 
-contains rt's database password. If  a user gets access to this file, he
-can arbitrarily manipulate the RT database. This is bad. You don't want
-this to happen.  config.pm is mode 550. No users should be members of 
-the 'rt' group unless you want them to be able to obtain your rt password.
-
-If you're running the web interface, you'll need to make sure your webserver
-has access to config.pm.  You could do this by letting your webserver's user
-be a member of the 'rt' group. This has the disadvantage of letting 
-any mod_perl code on your web server have access to your RT password.
-
-Alternatively, you can run RT2 on its own apache instance bound to a high
-port on 127.0.0.1
-which runs as a non-priviledged user which is a member of the group 'rt'.  
-
-Configure your webserver to proxy requests to RT's 
-virtual directory to the apache instance you just set up.
-
-TODO: doc the apache configs needed to do this.
-
-The same technique can be used to run multiple RT2 instances on the same host.
-
-
diff --git a/rt/docs/design_docs/3.3-schema-redesign.txt b/rt/docs/design_docs/3.3-schema-redesign.txt
deleted file mode 100644 (file)
index 518eccd..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
--- --------------------------------------- --
---  RT 3.3 Schema redesign v7: 2004-11-08  --
--- --------------------------------------- --
-
-TABLE CustomFields (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(200) NULL  ,
-  Type varchar(200) NULL  ,                 -- Changed: see MaxValues below
-  MaxValues integer,                        -- New: 1 = Single, 0 = Multiple
-  Pattern varchar(255) NULL  ,              -- New: regex to validate against
-  Repeated int2 NOT NULL DEFAULT 0 ,        -- New: repeated table entry
-  LookupType varchar(255) NOT NULL,         -- New: "RT::Queue-RT::Ticket"
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,   -- only used on "pick CF" screen
-)
-
--- This table replaces the "Queue" field in CustomFields
-TABLE ObjectCustomFields (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  CustomField int NOT NULL  ,               -- CustomField ID
-  ObjectId integer NOT NULL,                -- Final id of toplevel parent, or 
-                                            -- the object itself if ParentType
-                                            -- is empty; 0 means global as usual
-  SortOrder integer NOT NULL DEFAULT 0  ,   -- this is used to sort the CFs
-);
-
--- This table replaces TicketCustomFieldValues
-TABLE ObjectCustomFieldValues (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  CustomField int NOT NULL  ,
-  ObjectType varchar(255) NOT NULL,         -- Final target of the Object
-  ObjectId int NOT NULL  ,                  -- New: replaces the "Ticket" field
-  SortOrder integer NOT NULL DEFAULT 0  ,   -- New: for Repeated fields
-
-  Content varchar(255) NULL  ,
-  LargeContent LONGTEXT NULL,               -- New: data longer than 255 bytes
-  ContentType varchar(80) NULL,             -- New: MIME type of LargeContent
-  ContentEncoding varchar(80) NULL  ,       -- New: for binary LargeContent
-  Disabled int2 NOT NULL DEFAULT 0 ,        -- New: whether this is deleted
-)
-
-TABLE Transactions (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  ObjectType varchar(255) NULL,             -- Final target of the Object
-  ObjectId integer NOT NULL DEFAULT 0  ,    -- New: replaces the "Ticket" field
-  TimeTaken integer NOT NULL DEFAULT 0  ,
-  Type varchar(20) NULL  ,
-  Field varchar(40) NULL  ,
-  OldValue varchar(255) NULL  ,
-  NewValue varchar(255) NULL  ,
-  ReferenceType varchar(255) NULL,          -- NeW: Currently "RT::OCFV" only
-  OldReference integer NULL  ,              -- New: Id of ReferenceType
-  NewReference integer NULL  ,              -- New: Id of ReferenceType
-  Data varchar(255) NULL  ,
-)
-
--- vim: filetype=mysql shiftwidth=4 expandtab
diff --git a/rt/docs/design_docs/CARS b/rt/docs/design_docs/CARS
deleted file mode 100755 (executable)
index a4d2a78..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-Conditional Automated Request Shuffler 
-Initial Design.                <jesse@fsck.com> 9 Nov 99
-
-#Try to find out what queue the incoming ticket is in
-#Try to find out the default action for this invocation
-#Read the ticket from STDIN
-#Obtain the actor
-#Obtain the serial # if we have one
-#If the ticket has a ticket-id
-       #if this is a 'comment'
-               #add the current mime objects as a 'comment'
-
-       #if this is 'correspondence'
-               #add the current mime object as 'correspondence'
-
-
-#if this ticket does not yet have a ticket id
-
-  #For now:
-       #Create a new ticket
-
-  #In the distant future
-
-       #load the regexp table matching this queue
-       #check the message agains the regexp table, ordered by precedence
-               #when we get a match
-                       #get the ruleset for that regexp from the actions table
-                       #evaluate the ruleset in order of precedence.
-                          #if we get an 'exit' stop proccesing ALL rulesets
-wpw                       #if we get a 'forward,' forward it to 'value'.
-
-                          #if we get a 'create,' create a request in 'value'
-                          #elseif we get a 'map', add this as additional correspondence on ticket 'value'
-
-    
-                          #if we get an 'associate', associate the ticket number returned from the 
-                          'create' or 'map' with the master ticket from 'value'
-
-                          #if we get a 'reply', 
-                               #load the reply template with id 'value'      
-                               #replace strings in the template
-                               #send the template
-
-
-
-
-CREATE TABLE Rules {
-ID int AUTO_INCREMENT,
-Desc varchar(120),
-Regexp varchar(80),
-Precedence int,
-MatchField varchar(20), #Can be a headername or 'any' all header names
-                        #end in :
-
-
-CREATE TABLE Actions {
-Rule int,
-Action varchar(20), # Create, Forward, Squelch, Owner, Area, Associate
-Value varchar(20), #queue or email address
-Desc varchar(120)
-}
-
-CREATE TABLE Autoreplies {
-ID int AUTO_INCREMENT,
-Content text
-);
\ No newline at end of file
diff --git a/rt/docs/design_docs/TransactionTypes.txt b/rt/docs/design_docs/TransactionTypes.txt
deleted file mode 100755 (executable)
index 942b723..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-This is some loose scrabbling made by TobiX, they might eventually be relevant
-for 2.1.
-
-INTERFACES, in general
-
-should:
-
-- provide the user (client?) with a list of possible actions (methods).
-- let the user execute those actions (methods).
-- Return information to the user/client.
-
-There are two kind of actions/methods:
-
-- Information retrieval
-- Transactions
-
-For the first, I think the best thing is to just provide a lot of
-methods for it in the libraries, and let it be an Interface Design
-Issue what to show and how to show it.
-
-For the second, I think we can win in the long run on having a
-generalized methods for 
-
-- listing transaction types.
-- creating & committing transactions.
-
-..with the possibility of just deploying new custom-developed modules
-when new transaction types are needed.
-
-
-$RT::TransactionTypes  ...and...
-%RT::TransactionTypes
-   - global object which contains all TransactionTypes
-   - used by all UIs to create menues of possible (user) actions (one TransactionType is a user action)
-
-The UIs should call sth like
-$Ticket->AddTransaction($TransactionName), which should be equivalent
-with i.e.  $Ticket->Correspond when $TransactionName is 'Correspond'
-(AUTOLOAD should call the do-sub if exists
-$RT::TransactionTypes{$TransactionName})
-
-The RT::Ticket::AddTransaction will create a new transaction of the
-right TransactionClass (maybe via a sub
-RT::TransactionTypes::NewTransaction).  Then $Transaction->do is
-called.
-
-TransactionType->do initializes a new object of the right TransactionClass, and 
-
diff --git a/rt/docs/design_docs/acls b/rt/docs/design_docs/acls
deleted file mode 100644 (file)
index bb093ad..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-Does principal baz have right foo for object bar
-
-What rights does user baz have for object bar
-
-# {{{ Which principals have right foo for object bar
-
-
-if ($args{'ObjectType'} eq 'Ticket') {
-     $or_check_ticket_roles = " OR ( Groups.Domain = 'TicketRole' AND Groups.Instance = '".$args{'ObjectId'}."') ";
-     # If we're looking at ticket rights, we also want to look at the associated queue rights.
-     # this is a little bit hacky, but basically, now that we've done the ticket roles magic, we load the queue object
-     # and ask all the rest of our questions about the queue.
-     my $tick = RT::Ticket->new($RT::SystemUser);
-     $tick->Load($args{'ObjectId'});
-     $args{'ObjectType'} = 'Queue';
-     $args{'ObjectId'} = $tick->QueueObj->Id();
-
-}
-if ($args{'ObjectType'} eq 'Queue') {
-     $or_check_roles = " OR ( ( (Groups.Domain = 'QueueRole' AND Groups.Instance = '".$args{'ObjectId'}."') $or_check_ticket_roles ) 
-                            AND Groups.Type = ACL.PrincipalType AND Groups.Id = Principals.ObjectId AND Principals.PrincipalType = 'Group') ";
-}
-
-if (defined $args{'ObjectType'} ) {
-     $or_look_at_object_rights = " OR (ACL.ObjectType = '".$args{'ObjectType'}."'  AND ACL.ObjectId = '".$args{'ObjectId'}."') ";
-
-}
-
-my $query = "SELECT Users.*  from ACL, Groups, Users, Principals, Principals UserPrinc, CachedGroupMembers  WHERE  
-        Users.id = UserPrinc.ObjectId AND UserPrinc.PrincipalType = 'User' AND
-        Principals.Id = CachedGroupMembers.GroupId AND 
-        CachedGroupMembers.MemberId = UserPrinc.ObjectId AND 
-        UserPrinc.PrincipalType = 'User'  AND
-        (ACL.RightName = 'SuperUser' OR  ACL.RightName = '$right') AND
-        (ACL.ObjectType = 'System' $or_look_at_object_rights) AND 
-        (
-                (ACL.PrincipalId = Principals.Id AND 
-                 Principals.ObjectId = Groups.Id AND 
-                 ACL.PrincipalType = 'Group' AND 
-                 (Groups.Domain = 'SystemInternal' OR Groups.Domain = 'UserDefined' OR Groups.Domain = 'ACLEquivalence')
-                ) 
-           $or_check_roles
-        )";
-
-# }}}
-
-What objects does principal baz have right foo for
-;
diff --git a/rt/docs/design_docs/approval_notices b/rt/docs/design_docs/approval_notices
deleted file mode 100644 (file)
index 5e76119..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-Notification on "your request approved by"
-Notification on "your request approved by all approvers"
-Notification on "your request denied by"
-Reject ticket on rejection of any approval
-
-"Ticket N is pending your approval"
-
-
diff --git a/rt/docs/design_docs/approval_template b/rt/docs/design_docs/approval_template
deleted file mode 100644 (file)
index 16a988c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-===Create-Ticket: approval
- {  my $name = "HR";
-     my $groups = RT::Groups->new($RT::SystemUser);
-   $groups->LimitToUserDefinedGroups();
-   $groups->Limit(FIELD => 'Name', OPERATOR => '=', VALUE => "$name");
-   $groups->WithMember($TransactionObj->CreatorObj->Id);
-
-   my $groupid = $groups->First->Id;
-
-   my $adminccs = RT::Users->new($RT::SystemUser);
-   $adminccs->WhoHaveRight(Right => 'AdminGroup', IncludeSystemRights => undef, IncludeSuperusers => 0, IncludeSubgroupMembers => 0, Object => $groups->First);
-
-    my @admins;
-    while (my $admin = $adminccs->Next) {
-        push (@admins, $admin->Name); 
-    }
- }
- Queue: Approvals
- Type: Approval
- AdminCcs: {join (", ",@admins) }
- Depended-On-By: {$tickets{'TOP'}->Id}
- Refers-To: {$tickets{'TOP'}->Id}
- Due: {time + 86400}
- Content-Type: text/plain
- Content: Your approval is requested for the ticket {%$tickets{'TOP'}->Id}: {$tickets{'TOP'}->Subject}
diff --git a/rt/docs/design_docs/cf_search b/rt/docs/design_docs/cf_search
deleted file mode 100644 (file)
index 456a9fe..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-find all tickets where:
-
-
-        CF Foo 
-                Has values (talk or read) AND
-                Has values (bar and baz) AND 
-                doesn't have values (bing or bong) 
-
-
-LimitCustomFieldValues {
-        my %args = ( CustomField => undef, 
-                     ClauseId => 'CustomFields',
-                     OPERATOR => undef,
-                     ENTRYAGGREGATOR => undef,
-                     VALUES => undef,
-                     @_) ;
-
-        unless ( $self->{'TicketAliases'}{$args{'ClauseId'}}{'CustomField'} ) {
-        $self->{'TicketAliases'}{$args{'ClauseId'}}{'CustomField'} = $self->NewAlias('CustomFields');
-        $self->Join(TABLE1 =>$self->{'TicketAliases'}{$args{'ClauseId'}}{'CustomField' },  
-                    FIELD1 => 'QueueId',
-                    TABLE2 => 'main', FIELD2 => 'QueueId');
-
-        if ($args{'OPERATOR'} =~ /!=|IS/i) {
-        }
-        else {
-        }
-
-}
-        # {{{ if it's a keyword
-        elsif ( $TYPES{ $restriction->{'FIELD'} } eq 'CUSTOMFIELD' ) {
-
-            my $null_columns_ok;
-            my $TicketCFs = $self->Join( TYPE   => 'left',
-                                                ALIAS1 => 'main',
-                                                FIELD1 => 'id',
-                                                TABLE2 => 'TicketCustomFieldValues',
-                                                FIELD2 => 'Ticket' );
-
-            foreach my $value ( @{ $restriction->{'VALUES'} } ) {
-                $self->SUPER::Limit( ALIAS      => $TicketCFs,
-                                     FIELD      => 'Content',
-                                     OPERATOR   => $restriction->{'OPERATOR'},
-                                     VALUE      => $value,
-                                     QUOTEVALUE => $restriction->{'QUOTEVALUE'},
-                                     ENTRYAGGREGATOR => 'AND', );
-            }
-            if (    ( $restriction->{'OPERATOR'} =~ /^IS$/i ) or ( $restriction->{'OPERATOR'} eq '!=' ) ) {
-                $null_columns_ok = 1;
-            }
-
-            #If we're trying to find tickets where the keyword isn't somethng, also check ones where it _IS_ null
-            if ( $restriction->{'OPERATOR'} eq '!=' ) {
-                $self->SUPER::Limit( ALIAS           => $TicketCFs,
-                                     FIELD           => 'Content',
-                                     OPERATOR        => 'IS',
-                                     VALUE           => 'NULL',
-                                     QUOTEVALUE      => 0,
-                                     ENTRYAGGREGATOR => 'OR', );
-            }
-
-            $self->SUPER::Limit( LEFTJOIN => $TicketCFs,
-                                 FIELD    => 'CustomField',
-                                 VALUE    => $restriction->{'CUSTOMFIELD'},
-                                 ENTRYAGGREGATOR => 'OR' );
-
-        }
-
-        # }}}
-
-    }
-
diff --git a/rt/docs/design_docs/cli_spec b/rt/docs/design_docs/cli_spec
deleted file mode 100644 (file)
index ae5f29f..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-
-Things the cli must do
-       create ticket
-       comment
-       reply
-       update ticket metadata
-       search for tickets
-       update a bunch of tickets.
-       list tickets
-        login/logout
-
-
-should support multiple rt servers
-
-create/edit/update should use EDITOR or take from a file or stdin
-
-should be able to update ticket sttributes from a commandline without invoking an editor or needing to use stdin.
-
-login/logout should store RT session cookies rather than constantly transmitting the username/password combo.
-
-rtserver and rt username should come from env variables. but should be able to be overridden by commandline options. 
-
-rt password should be able to be specified on the commandline (say from a script) or, failing that be prompted for within the application (as rt's sbin/initdb script does) ...or maybe able to be read from a stash file on disk.
-
-must be able to dowaload attachments from cli.
- it might also be cool to be able to generate session-length urls for attavhments so you can use a browser. but that's not necessary.
-
-
-I'm envisioning this as similar to the subversion cli, actually. 
-
diff --git a/rt/docs/design_docs/cvs_integration b/rt/docs/design_docs/cvs_integration
deleted file mode 100644 (file)
index 45a758f..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-jesse@FSCK.COM: ok. anyone here
-       interested in having RT as a bug tracker integrated with CVS? ()
-
-marc: in principle, sure. ()
-
-jesse@FSCK.COM: want to write up your
-       ideal of how such a beast would work? ()
-
-alex_c: what sort of integration are you thinking of, Jesse? ()
-
-jesse@FSCK.COM: well, that's what I want
-       to know, alex. lots of people want their bug trackers tied to their
-       version control. I want to know what people want it to _do_ ;) ()
-
-alex_c: weird. :) ()
-
-marc: similarly to what the debian bts does. 
-       you put a magic string ("rt-closes#123") and it causes the bug in rt to
-       be closed (or appended with a different magic string) with the commit
-       message.  also nice would be if rt would then generate links to a
-       webcvs server. ()
-
-jhawk: Hrmm. cvs front-end that strips 'em out?
-       Perhaps with RT:  lines instead of CVS: lines in the commit
-       interaction? ()
-
-marc: the magic string goes in the commit
-       message, that is. no, use one of the magic post-commit scripts. ()
-
-
-jesse@FSCK.COM: well, there's also the
-       pre-commit script to lock out commits wihtout a ticket id ()
-
-jhawk: Personally, I don't want to force special
-       magic strings to the bug-tracking system, some of which may be
-       confidential, to appear in the cvs logs. ()
-
-marc: I could see wanting that on a release
-       branch. ()
-
-jhawk: I also think it would be cool to supply
-       template stuff for you to edit. ()
-
-jesse@FSCK.COM: I'm not sure cvs can be
-       made to do that. can it? (generate templates) ()
-
-jhawk: It would be reasonable, in my model, to
-       turn some kinds of RT: lines into things that fell in the commit
-       message, but not all kinds. ()
-
-marc: I don't quite see jhawk's objection. ()
-
-ghudson: In my observation, locking out commits
-       without a ticket ID is usually an impediment to development, and leads
-       to developers having the one bug which all commits cite. ()
-
-jhawk: If you had a CVS frontend, it could geneate
-       the template and feed it to 'cvs commit -m' ()
-
-ghudson: CVS can generate templates and verify
-       that they have been filled in. ()
-
-jhawk: What Greg says sounds cool; greg, what do
-    you mean? marc: one sec. ()
-
-marc: I think assuming a frontend is a terrible
-       idea. ()
-
-jesse@FSCK.COM: greg: agreed. but people
-       seem to want it. the idea would be only for a locked down release
-       branch. ()
-
-jhawk: marc: So, I might want to close an open
-       ticket as part of a commit message without that showing up in the
-       coommit message. Or to insert a splufty long comment into a ticket
-       while I do the commit but not close or really change the state, and
-       that comment might want to ramble a lot but not include that ramble in
-       the commit message. ()
-
-jesse@FSCK.COM: well, then arguably, you
-       might want to not use the commit message for that update, but instead
-       just go straight to the bts ()
-
-marc: I think the idea is to force you to
-       mention the ticket closing in the commit message. ()
-
-jesse@FSCK.COM: but yeah, state changing
-       and 'update messages' are separate concepts that should both be
-       supported. ()
-
-jesse@FSCK.COM: part of the idea is to
-       drag the commit message into the BTS ()
-
-jhawk: Err, I think it quite frequent that I want
-       to put separate info in both the commit message and the ticket system,
-       and entering them at the same time seems cool. ()
-
-jesse@FSCK.COM: ok. noted. I'll see if
-       that's doable, when i get around to this. ()
-
-marc: so I think you want a custom front-end,
-       but I don't think what you want is what jesse is talking about. ()
-
-jesse@FSCK.COM: the thing that would be
-       really cool that scare the pants off me is tracking which branches bugs
-       exist in / are fixed in ()
-
-jesse@FSCK.COM: what jhawk wants should
-       be doable, now that I understand his reqts. ()
-
-marc: that would require the bts to understand
-       branches in some fundamental way. ()
-
-jesse@FSCK.COM: yes. see above, about
-       the pants. ()
-
-sly: uh oh, not more people losing their pants... ..
-
-
-ghudson: RT needs to know the names of branches
-       and their structure (so that you can tell it "fixed in foo" and it
-       knows that the bug is still fixed in anything that branches off of foo,
-       but not necessarily in other new branches), but nothing more than that.
-
-jhawk: So, note that what I'm describing is how
-       I'd like the UI to be, from a generic architectural level, and not
-       really thinking terribly specific. Greg, can you explain the CVS
-       template thing? ()
-
-jesse@FSCK.COM: and it needs to know
-       exactly "when" a branch happens. because "fixed in foo" won't fix
-       something that branched off foo yesterday ()
-
-marc: jesse was talking about integrating rt
-       with cvs.  building a new developent+repository+bts from scratch would
-       be a problem with larger scope :-) ()
-
-jesse@FSCK.COM: marc: was that in
-       response to jhawk? ()
-
-ghudson: CVS and templates: "rcsinfo" lets you
-       specify a template for log messages, and "commitinfo" lets you check
-       them. ()
-
-ghudson: Er, sorry, my bad. 
-       s/commitinfo/verifymsg/ ()
-
-marc: with cvs, if you have the revision number
-       of the fix (which you should). you can use the branch version number to
-       get a date and see when the branch happened relative to the fix. ()
-
-marc: jesse: yes. ()
-
-jesse@FSCK.COM: Ok. would people
-       consider "integration with CVS" to be subpar or incomplete if it didn't
-       deal with tracking branches? ()
-
-marc: incomplete relative to an ideal, but not
-       subpar, as it would still be useful. ()
-
-allbery@CS.CMU.EDU: CVS's branch
-       support sucks so much that failure to work with it is hardly a bug ()
-
-
diff --git a/rt/docs/design_docs/delegation b/rt/docs/design_docs/delegation
deleted file mode 100644 (file)
index 0e57059..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-Group ACLs
-        
-        the rights:
-
-
-        CreatePersonalGroup
-        CreateGroup
-
-        AdminGroup
-                * Update group metadata and access control list
-        AdminGroupMembers
-                * Add ad delete members of this group
-        ModifyOwnMembership
-                * Join and quit this group
-
-
-        the primitives:
-       
-In user.pm
-
-=item HasRight  { Right => 'somerightname', ObjectType => 'Group', ObjectId => 'GroupId'
-
-        Returns true if this user has the right 'somerightname' for
-the group with id 'Id'
-
-=cut
-
-
-=item RightsForObject { ObjectType => 'Group', ObjectId =>'GroupId' }
-
-in users.pm
-
-=item WhoHaveRight { Right =>'somerightname', ObjectType => 'Group', ObjectId => 'GroupId' }
-
-
-        Finds all users who have the right 'somerightname' for the group
-in question.
-
-        If a user has "AdminGroupMembers" globally and we ask about 
-        group 23, that user should be found.
-
-=cut
-
-Users must be able to delegate individual rights 
-
-        * Is it that users can delegate any and all rights but it's
-        only rights they _have_ which actually grant rights.
-
-rights must not be redelegated
-
-users must be able to create groups to which rights can be delegated.
-
-Only users who have the "delegate rights" right can delegate rights.
-
-
-When a user's right to do something is revoked, the delegation must 
-be revoked
-
-        * For any delegated ACL check, the delegator's right must be 
-          checked immediately after the delegatee's right.
-          If a user has had a right delegated by multiple parties, 
-          this may mean that we need to actually loop through and check
-          a bunch of possible delegations. Or can we craft a "has delegated 
-          right" ACL check.
-          
-
-
-
-
-
-
-ACL 1 Group Q has the right to Frob ObjectI.
-ACL 2 User A has the right "DelegateRights"
-
-Group Q has the member Group S
-Group S has the member Group R
-Group S has the member Group T
-Group R has the member user A
-Group T has the member user A
-
-User A delegates to  Group P the right to Frob  ObjectI
-
-        New ACL rule:
-
-        ACL 3: Group P has the right to Frob ObjectI 
-                     as delegated from ACL1 by User A
-
-
-In the case where ACL1 is revoked:
-
-        find all acls which are delegated from ACL1.
-                Delete them
-
-In the case where User A is removed from group R
-
-        Get the list of all groups that A was in by way of group R before the removal
-        Get the list of all groups that A is in _after_ the removal.
-
-        Find all the ACEs granted to each group that A is no longer in.
-        For each ACE in that list, find all the rights that A has delegated.
-                Whack them.        
-
-In the case where Group S is removed from group Q
-
-
-        Get a list of all groups that S was in by way of Q before the removal
-        Call this list O.
-
-        For each user X who's a member of S (directly or indirectly):
-        Get a list of  all groups that X is in after removal.
-        For each group in O that X is no longer a member of:
-                Find all ACEs granted to O
-                For each ACE, look up all the delegations that X has made.
-                        For each delegation 
-                                WHACK IT
diff --git a/rt/docs/design_docs/evil_plans b/rt/docs/design_docs/evil_plans
deleted file mode 100644 (file)
index 5b5cc58..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-Current planned 2.2 feature list. subject to change.
-
-
-Core
-
-
-
-Web UI
-
-Should New "Tools" top level menu
-Should         "This week in RT" at a glance.
-Nice           "RT Stats" overview.
-Nice   recent and favorite items
-
-
-per-user configuration
-
-Must           Saveable user preferences.
-
-               The ideal implementation would be "saveable user metadata",
-               including things like "Alternate Email Addresses".  To 
-               do this right, not all user metadata would be directly
-               editable by the user who has "ModifySelf"  it may be that
-               this is a "system" datastore that gets accessed by various
-               functions, some of which the user has access to modify and
-               some of which only the system does.
-               
-               API:    Set field "FOO" to value "BAR" for user BAZ
-                       What values does field "FOO" have for user BAZ?
-                       Clear all values of "FOO" for user BAZ
-                       What users have value "BAR" for field "FOO"
-
-               Example usages:
-
-                       What users have the alternative email address matching 
-                       "boo@fsck.com"
-                       What custom searches does user BAZ have defined?
-                       What is baz's default queue?
-
-               Actually, I feel a little sketchy about Alternative Email 
-               Addresses in there. I'm not quite sure why yet.
-
-               The same would really be useful for queues. Damn it. I think
-               I want a registry.
-
-
-
-Searching
-
-Must   Ability to define search result format.
-should         Saveable user searches.
-nice   Sharable searches.
-
-
-Scrips
-
-must   Include more Conditions; at least those contributed so far
-       that make sense in my grand scheme of things
-
-should The name should change to something that people don't think is
-       spelled wrong.  ("I will not invent words\n" x 1000)
-
-nice   Scrips could apply to a list of queues, rather than just one queue or 
-       all of them.
-
-
-Custom fields
-
-Nice   Date custom fields
-Nice   Some way to order and group custom fields.
-Nice   Default values
-Nice   Required values
-Nice   Make custom fields apply to an enumerated list of queues, 
-       rather than just one. 
-
-
-Web infrastructure
-
-
-Installation 
-
-Should Better FSSTD conformance:
-               bins in /bin
-               admin tools in /sbin (does this include rtadmin?)
-               ephemeral data in /var
-               rename config file      
-               force local RT search path?     
-
-Mail gateway
-
-must   Integrate gpg-authenticated command-by-mail mode
-       
-
-
-Core
-
-should Use apache logging, if available
-should Use syslog, if available.
-should Mail user new password, as an Action, so it can be invoked either 
-       as a scripaction or from the web ui.
-
-
-
-Web Services Framework
-
-Should Expose an API to create a ticket by HTTP posting an XML document.
-Should  Provide an RSS feed to display tickets matching certain criteria
-Nice   Allow ticket updates via the web ui
-Nice   Export full ticket metadata and history as XML
-
-Note:  I currently favor the REST philosophy that GET and POST to specific,
-       defined URLs provides everything one needs to build comprehensive
-       web services without the massive added complexity of a SOAP or XML-RPC
-       framework. Sadly, the world doesn't agree with me
-
-
-ACLs:
-
-Wish   New ACL primitives for:
-
-               List all users who have right "FOO" on object "BAR"
-               List all rights user "BAZ" has for object "BAR"
-               List all objects for which user "BAR" has right "FOO"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-For the near future:
-
-       Use case:
-               Jesse wants to get notified of all tickets in queue 'RT Bugs'
-               with a severity of 'critical' and also have a requestor whcih matches 'fsck.com'.  
-               I'm not sure this is the best idea.
-
-
-       Site admins define a number of subscriptions and can sign up individual
-       users, groups or metagroups to get mail on that subscription.
-
-       Basically, an admin would define "On Condition, notify as comment with
-       template _template_"
-
-       There would be a new table called "subscriptions"(?) that would have
-       the structure:
-
-               id
-               ScripId
-               PrincipalType  ENUM: User, Group, Owner, Requestors, AdminCcs, Ccs
-               PrincipalId --  UserId or GroupId.  For Owner, Requestors, AdminCcs, Ccs, it doesn't really make a lick of difference.  
diff --git a/rt/docs/design_docs/groups_notes b/rt/docs/design_docs/groups_notes
deleted file mode 100644 (file)
index 234fd37..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-CREATE TABLE Prinicpals (
-        id int auto_increment 
-        PrincipalType VARCHAR(16) not_null,
-        PrincipalId int # foreign key to Users or Groups, depending
-)
-
-CREATE TABLE Groups (
-        id int auto_increment,
-        Domain varchar(255), 
-        Instance varchar(16),
-        Name varchar(255),
-        Description varchar(255),
-);
-CREATE TABLE ACL (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Principal integer NULL  , #Foreign key to principals
-  RightName varchar(25) NULL  ,
-  RightDomain varchar(25) NULL  ,
-  RightInstance integer NULL  ,
-  PRIMARY KEY (id)
-);      
-
-CREATE TABLE GroupMembers (
-        id int auto_increment,
-        Group int, # foreign key to Principals
-        Member int # foreign key to Principals
-)
-
-create table GroupMembersCache (
-        id int auto_increment,
-        Group int, # foreign key to Principals
-        Member int, # foreign key to Principals
-        Via int, #foreign key to g_m_u
-)
-
-insert into principals values ('bubbles);
-insert into principals values ('fubar');
-insert into principals values ('sheeri');
-insert into principals values ('sgw');
-
-insert into principals values ('staff');
-insert into principals values ('sysadmin');
-insert into principals values ('senior admin');
-
-
-insert into group_members values(1, 'staff', 'bubbles');
-insert into group_members values(2, 'sysadmin', 'sheeri');
-insert into group_members values(3,'senior admin', 'sgw');
-insert into group_members values(4,'senior admin', 'fubar');
-insert into group_members values(5, 'sysadmin', 'senior admin')
-        
-Groups
-
-
-      
-Domain          Queues
-Instance        <queueid#>
-Name            AdminCc, Cc
-
-/Queues/1/AdminCc
-/Queues/3/Cc
-
-Domain          Tickets
-Instance        <#n>
-Name            Owner, Requestor, Cc, AdminCc
-
-/Tickets/1/Owner
-/Tickets/1/Requestor
-/Tickets/1/Cc
-       Has members: /Queues/whatever queue the ticket has/Cc 
-/Tickets/1/AdminCc
-       Has members: /Queues/whatever queue the ticket has/AdminCc 
-
-
-Domain          Users
-Instance        <userid>
-
-/Users/1/MyDelegates
-/Users/1/MyOtherDelegates
-
-
-Domain          System
-Name            Admins, AdminManagers
-
-/System/Administrators
-/System/Blah
-
-
diff --git a/rt/docs/design_docs/link-definitions.txt b/rt/docs/design_docs/link-definitions.txt
deleted file mode 100644 (file)
index e109744..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-For 2.0, those Linking actions should be supported:
-
-1. DependentOn; TobiX-style.
-
- BASE is dependent on TARGET.
- ...meaning that TARGET has to be resolved before BASE (really) is
- resolved.
- According to TobiX, those "weird action" makes sense:
- ...when the link and/or TARGET is created, the BASE might be stalled.
- Alternatively, this should be very trivial to request through the UIs.
- ...when the TARGET is resolved, BASE will be reopened if it's stalled.
-
- An alternative to those "weird actions" is to have some run-time logic that
- takes care of this; i.e. letting the search interface handle "please hide
- all requests with unresolved dependencies"
- TobiX will need to make dependency links into Bugzilla.
-
- Dependency links should be made when more work to BASE should be done
- after the TARGET is resolved and/or BASE can't be resolved before TARGET is
- resolved.
-
- Dependency links are often 1:1, but n:n links makes sense; one ticket can
- depend on several others, several tickets can depend on one ticket, etc.
-
- Loops don't make sense at all, but the system above won't break if it
- encounter loops.
-
- Dependency links is more for workflow than anything else.  When a new
- TARGET is created, some of the work might be passed over to another
- department/person ... but _not_ the responsibility for the communication
- with the external requestor.
-
-2. MemberOf link (grouping)
-
- BASE is a member of TARGET.
-
- TobiX-style "weird actions":
- ...when TARGET is beeing replied to, all BASE requestors should get the
- reply.
-
- ...when TARGET is resolved, all BASE tickets should be resolved (unless
- they have other unresolved Dependencies/MemberOf links).
-
- ...when all BASEs to one TARGET are resolved, TARGET should be resolved.
- The alternative is to let the user choose "reply to all" and "resolve all"
- through the user interfaces.
-
- MemberOf should be used when BASE ticket states more or less the same as
- the TARGET ticket, and we do want to give a reply to all requestors, but we
- don't want to merge them (Individual tickets from individual external
- requestors should be respected as separate entities). If BASE tickets from
- more than one external requestor is linked to a TARGET ticket, we denote
- the TARGET ticket as a "Group ticket".  This is only a documentation
- definition, you won't find any references to "Group tickets" in the source.
-
- I think the proper etiquette should be to clearly state in a reply to a
- group ticket that the mail is going to several persons, and that the
- requestor should reply back if they feel their Ticket hasn't got the
- attention it deserves.  The user documentation should reflect this.
-
- MemberOf links can also be used to hand away the work flow. The person in
- charge of the TARGET ticket will also be in charge of the BASE tickets and
- the communication with the end user.
-
- If a work task needs to be splitted into two subtasks, MemberOf might also be
- used.
-
- 1:n links makes more sense, but n:n can also work in some cases.
- The reply stuff might break seriously upon loops.  Recursement might be
- handy for splitting a work task into subtasks (making a hierarchical tree
- of the worktasks).
-
-
-3. Merge (connecting)
-
- BASE is the same as TARGET.
-
- ...the system should somehow merge together transactions for both tickets.
- ...BASE should be more or less deleted, only the TARGET should apply.
- ...actions done toward BASE should be redirected to TARGET.
-
- I think MergeLinks should be used when two tickets accidentally has
- appeared twice in the system, and/or there is no reason to keep the two
- tickets separately.  It might be that it's the same requestor (i.e.
- clicking the "send" button twice in a web environment) or that we don't
- care much about giving the requestor individual follow-up (typically
- "internal" requestors, etc.)
-
- Based on user feedback, merged tickets will be displayed as the same ticket
-within RT's user interfaces. but the original tickets' transactions will be
-kept separated in the database. this may require some magic.
-4. RefersTo / No Action link (linking)
-
- BASE is somewhat related to TARGET
-
- No special actions will be taken.
- Loops might maybe make sense
-
-BASE and TARGET are usually Tickets within one RT instance, but it
-might also point to external RT instances, other DB systems, etc.
-
-
-
-
-In future revisions, it should be very easy to set up site-specific link action types.
-We should also consider to include more linking actions in the box.
-
-An example stolen from John Rouillard.  Eventually the [comments] should be
-removed, and the text modified to fit the planned 2.0 link actions:
-
-  ticket  problem
-    1         can't connect to hosts with netscape
-    2         ping is broken
-    3         Can't send email: error no space on spool/mqueue
-         
-  You have the above in the queue. You realize that DNS is down. Spawn
-  a ticket
-         
-    4         DNS is down
-
-  mergelink 1 and 2 to it [I would rather say "make a MemberOf link _or_ a
-  dependency link from 1 and 2 to 4" --TobiX] (if you choose to stall 1 and
-  2 automatically feel free, its just a shell script change) [well, you
-  might choose dependency instead of MemberOf --TobiX]. The person working
-  on 3 has come to the conclusion that outgoing mail is backing up because
-  of the DNS failure. She has cleared space by copying the mail queue to
-  another disk, but can't really get email working till DNS is up. So she
-  creates a Dependency linkon  ticket 4 stalling ticket 3.
-
-  We finally get DNS working and resolve ticket 3. What happens?  Tickets 1
-  and 2 are resolved and email is sent to requestors notifying them of the
-  resolution [This is the default behaviour for 2.0 MemberOf-linked tickets.
-  Remember that if we send Replies to "Group Tickets" (that is, the target
-  of several "MemberOf" links) --TobiX]. Ticket 4 [should be 3? --TobiX] is
-  reopened and the person working on it starts flushing the mail queue and
-  the moved mailq by hand. 
-
diff --git a/rt/docs/design_docs/realflow.txt b/rt/docs/design_docs/realflow.txt
deleted file mode 100644 (file)
index 3717e27..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-- I have a MonitoredQueue that sets tickets to "Monitored"
-  if its subject matches /monitored/.
-  
-- I want to have a kind of Ticket that are 'Monitored'.
-- I want all monitored tickets, when they are overdue for
-  14 days, to:
-    - send notification to manager
-    - mark as stalled
-- I want all monitored tickets, when they are overdue for
-  28 days, to:
-    - mark as rejected
-- I want to query all tickets that are monitored as such
-- I want to modify 14 => 15 and have it affect all existing
-  tickets that are monitored
-
-{
-- I want to add a new "overdue for 27 days, add a 'ultimatum'
-  correspondence to it" rule for all monitored tickets.
-- I want to add a new "overdue for 27 days, add a 'ultimatum'
-  correspondence to it" rule for all _new_ monitored tickets
-  without affecting existing ones.
-}
-
-- The user of OrderRequest queue needs to fill a numeric "CF",
-  called "Price".
-- On creation, it needs to create following approvals:
-    - "Manager" approval if CF.Price is > 1000
-    - "President" approval if CF.Price is > 2000
-- When all of "M", "P" are resolved (if any, or if there were none
-  to begin with), Create a new approval, "Finance".
-- If any approvals above is rejected, reject the original ticket.
-- If "Finance" is resolved, resolve original ticket.
-- If "Finance" is rejected, create an approval for "CEO".
-- If "CEO" is resolved, resolve the original ticket.
-- If "CEO" is rejected, reject the original ticket.
-
-[RuleAction CreateTicketWithRuleset]
-  -> ReleaseMyLockOnRuleset $ruleset
-  -> UnlessLockOnRuleset $ruleset
-     # i.e. if no active tickets still have a lock on it
-     -> ForceCreateTicketWithRuleset $ruleset
-
-[Queue OrderRequest]
-  -> Condition: OnCreate
-     Action: AddTicketRuleSet "PurchaseApproval"
-             # Triggers immediately
-
-[RuleSet: PurchaseApproval]
-  -> Condition: OnCreate 
-     Condition: CF.Price > 1000
-     Action: CreateTicketWithRuleset "ManagerApproval"
-  -> Condition: OnCreate 
-     Condition: CF.Price > 2000
-     Action: CreateTicketWithRuleset "PresidentApproval"
-  -> Condition: OnCreate 
-     Action: CreateTicketWithRuleset "FinanceApproval"
-  -> Condition: OnReject
-     Action: DeleteTree
-
-[RuleSet: ManagerApproval]
-  -> Condition: OnCreate
-     Action: Prohibit Ruleset "FinanceApproval"
-  -> Condition: OnResolve
-     Action: CreateTicketWithRuleset "FinanceApproval"
-  -> Condition: OnReject
-     Action: RejectTicket TOP
-
-[RuleSet: PresidentApproval]
-  -> Condition: OnCreate
-     Action: Prohibit CreateTicketWithRuleset "FinanceApproval"
-  -> Condition: OnResolve
-     Action: CreateTicketWithRuleset "FinanceApproval"
-  -> Condition: OnReject
-     Action: RejectTicket TOP
-
-[RuleSet: FinanceApproval]
-  -> Condition: OnCreate
-     Action: Prohibit RuleSet "CEOApproval"
-  -> Condition: OnResolve
-     Action: ResolveTicket TOP
-  -> Condition: OnReject
-     Action: CreateTicketWithRuleset "CEOApproval"
-
-[RuleSet: CEOApproval]
-  -> Condition: OnResolve
-     Action: ResolveTicket TOP
-  -> Condition: OnReject
-     Action: RejectTicket TOP
-
-
-
-Prohibit Ticket Operation:
-               Ruleset CEOApproval
-
-
-
-
-
-
-
-      ,--------.
-[TOP] --> [M] --> [F]
-    ` `-> [P] -'
-     `
-      `-> [X] --> [Y]
-  
-
-[TOP] => [Approval]
-            -> Queue: B
-              -> Rule: yyy
-            -> Workflow: W
-              -> Stage: Approval
-              -> Rule: xxx
-
-isa_ok( $Approval->Type, 'RT::Ticket' );
-is( $Approval->Workflow->Name, 'W' );
-is( $Approval->Stage->Name, 'Approval' );
-
-[Queue: A]
-  -> Workflow: W
-
-[Workflow: W]
-  -> Stage: TOP
-  -> Stage: Approval
-  -> Stage: SUCCESS
-  -> Stage: FAIL
-
-"RuleCollections"
-
-[Stage: TOP]
-  -> Rule: OnCreate RunStage Approval
-
-ok( TicketA->Rules->HasEntry($ApprovalRule) )
-ok( TicketB->Rules->HasEntry($ApprovalRule) )
-
-[Rule: Approval]
-  -> Rule: OnResolve RunStage SUCCESS
-  -> Rule: OnReject RunStage FAIL
-
-[Stage: SUCCESS]
-  -> Rule: OnCreate SetStatus('resolved') TOP
-
-[Stage: FAIL]
-  -> Rule: OnCreate SetStatus('rejected') TOP
-
-[Unassociated]
-  - Rule FOO: OnAnything {
-        CreateTicketIfNotBlocked StageFOO
-        AddLink DependedOnBy TOP to Stage1
-        AssignRule DoStage2 to Stage1
-        AssignRule DoStage3 to Stage1
-    }
-  - Rule BAR: OnAnything {
-        CreateTicketIfNotBlocked StageBAR
-        DoSomethingBizzare
-    }
-
-     ,==> [Stage0] ==>.
-    ,                  .
-[TOP] ==> [Stage1] ==> [Stage3]
-    `                  '
-     `==> [Stage2] ==>'
-
-OnTransaction:
-    $self->Ticket->Queues->Scrips->Apply
-
-OnTransaction:
-    $self->Ticket->Queues->Scrips->Apply
-                 ->Scrips->Apply
-
-OnTransaction:
-    $self->Ticket->Queues->Scrips->Apply
-                 ->Stages->Scrips->Apply
-
-[QueueX]
- - Rule:
-    OnCreate: 
-        RunRule FOO
-
-[QueueY]
- - Rule:
-    OnWhatever: 
-        RunRule FOO
-
-
-[TOP] => [Stage1] => [Stage2] => [END]
-               `- => [Stage3] => [END]
-                ` -> [Stage4]
-
-[Stages]
- -> 
diff --git a/rt/docs/design_docs/recursive_group_membership_algorithm b/rt/docs/design_docs/recursive_group_membership_algorithm
deleted file mode 100644 (file)
index 250b9ad..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-Group A has members 1, 2, 3
-
-       Cached members  1 is a member of A via ""
-                       2 is a member of A via ""
-                       3 is a member of A via ""
-
-
-Group B has members A, 4, 5
-
-       Cached members: 4 is a member of B via ""  $1
-                       5 is a member of B via ""  $2
-                       A is a member of B via ""  $3
-                               1 is a member of B via "$3" $4
-                               2 is a member of B via "$3" $5
-                               3 is a member of B via "$3" $6
-
-Group C has members A, B, 6
-                       6 is a member of C via "" $7
-                       A is a member of C via "" $8
-                               1 is a member of C via $8 $9
-                               2 is a member of C via $8 $10
-                               3 is a member of C via $8 $11
-                       B is a member of C via "" $12
-                               4 is a member of C via $12 $13
-                               5 is a member of C via $12 $14
-                               A is a member of C via $12 $15
-                                       1 is a member of C via $15 $16
-                                       2 is a member of C via $15 $17
-                                       3 is a member of C via $15 $18
-
-
-
-Group D has members A, C
-
-                       A is a member of D via "" $19
-                               1 is a member of D via $19 $20
-                               2 is a member of D via $19 $21
-                               3 is a member of D via $19 $22
-                       C is a member of D via "" $23
-                               6 is a member of D via $23 $24
-                               A is a member of D via $23 $25
-                                       1 is a member of D via $25 $26
-                                       2 is a member of D via $25 $27
-                                       3 is a member of D via $25 $28
-                               B is a member of D via $23 $29
-                                       4 is a member of D via $29 $30
-                                       5 is a member of D via $29 $31
-                                       A is a member of D via $29 $32
-                                               1 is a member of D via $32 $33
-                                               2 is a member of D via $32 $34
-                                               3 is a member of D via $32 $35
-
-                       
-
-Adding a new user, 7,  to group A.
-
-
-       Add the user to group A in the groups table.
-
-       Find all entries for group A in the cache table.
-
-       For each entry in that list:
-               Add "7 is a member of $entry->top  via $entry->id"
-
-Deleting a user, 7, from group A:
-
-       Remove the user from group A in the groups table.
-       find all entries in the cache table where the principal id is user 7 and
-       the parent id is A. (requires a self join)
-               nuke them
-
-       Alternatively:
-        find all entries for A in the cache table.
-               For each one, find the child whose id is 7. 
-                       Nuke it
-
-
-Adding a group, B to group D.
-
-       Add group B as a member of D in the groups table.
-       In the cache table:
-               $id = Add group B as a member of D via ""
-                
-                For each member of group B (4, 5, A):
-
-                       $sid= 4 is a member of D via $id
-                       $sid=  5 is a member of D via $id
-                       $sid=  A is a member of D via $id
-
-                        if the member is a group itself, recurse down:
-                                
-                                1 is a member of D via $sid
-                                2 is a member of D via $sid
-                                3 is a member of D via $sid
-                               
-                Find all places where D is a member of $foo.
-                        Repeat the above procedure, substituting $foo for D
-                        and making $id D's id.
-
-Removing B as a member of D:
-
-        Remove B as a member of D in the groups table.
-        Find all references to D in the pseudogroups table.
-                Find all children of D which are B:
-                        Recurse down with the following algorithm:
-                        If it's a user, delete it.
-                        If it's a group,  recurse through each member, 
-                                deleting its children and then deleting the
-                                group itself.
diff --git a/rt/docs/design_docs/rql_parser_machine.graphviz b/rt/docs/design_docs/rql_parser_machine.graphviz
deleted file mode 100644 (file)
index 36463ec..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-
-/* GraphViz graph representing the state diagram of the RQL parser.
-*/
-
-digraph G {
-
-    PAREN -> PAREN;
-    PAREN -> KEYWORD;
-    PAREN -> AGGREG;
-
-    AGGREG -> KEYWORD;
-    AGGREG -> PAREN;
-
-    KEYWORD -> OP;
-
-    OP -> VALUE;
-
-    VALUE -> PAREN;
-    VALUE -> AGGREG;
-
-/*
-    Blue lines represent added complexity of q[IN (x,y,z)] support.
-    The only place that the "blue tree" can be entered is at IN, and
-    exited at PAREN.
-*/
-    KEYWORD -> IN [color=blue];
-    IN -> PAREN [color=blue];
-    PAREN -> VALUE [color=blue];
-    VALUE -> COMMA [color=blue];
-    COMMA -> VALUE [color=blue]; 
-    VALUE -> PAREN [color=blue];
-}
diff --git a/rt/docs/design_docs/rt-mvc b/rt/docs/design_docs/rt-mvc
deleted file mode 100644 (file)
index 3518b7d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-Goals:
-
-
-       Never write an init block for a page that just views/edits pages
-       No style embedded in view/edit pages
-
-       Validation / Error display and re-editing.   
-
-
-Implementation.
-
-
-       For a given object's fields:
-
-       print a label for the field
-       print the current values for the field
-       print an edit widget for create
-       print an edit widget for update 
-
-
-
-       for a given form buttons for "perform the action" "don't perform the main action"
-
-
-Edit widgets
-
-
-       text input
-       hidden
-       fixed enum as { dropdown, select multiple, sleect single, radio} 
-       checkbox        fixed enum
-
diff --git a/rt/docs/design_docs/string-extraction-guide.txt b/rt/docs/design_docs/string-extraction-guide.txt
deleted file mode 100644 (file)
index bd60a43..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-# $File: //depot/RT/rt-devel/docs/design_docs/string-extraction-guide.txt $ $Author: ivan $
-# $Revision: 1.1 $ $Change: 1431 $ $DateTime: 2002/10/15 17:24:45 $
-
-Run 'p4 edit lib/RT/I18N/zh_tw.pm' and 'perl l10n.pl' to add new
-extractions to the zh_tw.pm.
-
-Edit lib/RT/I18N/zh_tw.pm for chinese counterparts.
-
-Attached is a copy of the freshly rewritten string extraction style guide.
-Please point out anything that's unclear or underspecified.   I
-localized a number of the core modules in RT 2.1.3 (Starting with 
-Queue_Overlay.pm). I only touched a couple of the web templates in the 
-Elements/ directory of the web ui.
-
-RT String extraction styleguide:
-
-Web templates:
-
-Templates should use the /l filtering component to call the localisation
-framework
-
-The string             Foo!
-
-Should become          <&|/l&>Foo!</&>
-
-All newlines should be removed from localized strings, to make it easy to 
-grep the codebase for strings to be localized
-
-The string             Foo
-                       Bar
-                       Baz
-                       
-Should become          <&|/l&>Foo Bar Baz</&>
-
-
-Variable subsititutions should be moved to Locale::MakeText format
-
-The string             Hello, <%$name %>
-
-should become          <&|/l, $name &>Hello, [_1]</&>  
-
-
-Multiple variables work just like single variables
-The string             You found <%$num%> tickets in queue <%$queue%>
-
-should become          <&|/l, $num, $queue &>You found [_1] tickets in queue [_2]</&>
-
-When subcomponents are called in the middle of a phrase, they need to be escaped
-too:
-
-The string              <input type="submit" value="New ticket in">&nbsp<& /Elements/SelectNewTicketQueue&>
-
-should become          <&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" value="New ticket in">&nbsp;[_1]</&>
-
-
-
-There are places inside the web ui where strings are defined, which need to be
-localised. it is important to note here that each localized string is split out
-onto its own line, but never split across two lines and two localized strings
-are never included on the same line. It is also important to note
-that this will genereate code which will not work in RT 2.1.3. I need
-to add a bit of framework to make it work in 2.1.4
-
-
-The string     <& /Elements/TitleBoxStart, width=> "40%", titleright => "RT $RT::VERSION for   $RT::rtname", title => 'Login' &>
-
-should become  <& /Elements/TitleBoxStart, 
-                       width=> "40%",
-                       titleright => loc("RT [_1] for [_2]",$RT::VERSION, $RT::rtname),
-                       title => loc('Login'),
-               &>
-       
-
-                       
-
-
-
-Within RT's core code, every module has a localization handle available through the 'loc' method:
-
-The code       return ( $id, "Queue created" );
-
-should become  return ( $id, $self->loc("Queue created") );    
-
-When returning or localizing a single string, the "extra" set of parenthesis () should be omitted.
-
-The code       return ("Subject changed to ". $self->Data );
-
-should become   return $self->loc( "Subject changed to [_1]", $self->Data );
-
-
-It is important not to localize  the names of rights or statuses within RT's core, as there is logic that depends on them as string identifiers.  The proper place to localize these values is when they're presented for display in the web or commandline interfaces.
-
-
-
-
-
--- 
-http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.
-
diff --git a/rt/docs/design_docs/subscription-definitions.txt b/rt/docs/design_docs/subscription-definitions.txt
deleted file mode 100755 (executable)
index deda35c..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-NEW SCRIP NOTES
-
-
-RT Actions:
-
-
-   EmailOwnerAsComment
-       Send mail to the ticket owner from the queue's comment address
-       
-   EmailOwnerOrAdminWatchersAsComment
-       Send mail to the ticket owner, or if there is no owner, the ticket's admin watchers
-       from the queue's comment addresses
-
-   EmailAdminWatchersAsComment
-       Send mail to the ticket's adminstrative watchers from the queue's comment address
-
-
-
-   EmailOwner
-       Send mail to the ticket owner from the queue's correspond address
-       
-   EmailOwnerOrAdminWatchers
-       Send mail to the ticket owner, or if there is no owner, the ticket's admin watchers
-       from the queue's correspond addresses
-
-   EmailAdminWatchers
-       Send mail to the ticket's adminstrative watchers from the queue's correspond address
-
-   EmailWatchers
-       Send mail to the ticket watchers from the queue's correspond address
-
-   AutoReply 
-       Sendmail to the requestor from the queue's correspond address.
-            
-   
-
-RT Conditions:
-   OnCreate
-   OnEachTransaction
-   OnComment
-   OnCorrespond
-   
-
-
-
-
-What is an Action?
-
-...some piece of code that can do something whenever a transaction is done.
-The actions shipped with RT sends email and can handle some logic that makes
-sense for some instances.  site-specific modules can be dropped in to
-perform special actions.
-
-
-What can an Action do?
-
-- decide whether it's applicable or not
-- prepare
-- commit
-- describe itself
-
-...and if it's a subclass of SendEmail, you can also override a lot.
-
-Currently the schema.mysql contains a list of the basic subscription-related
-actions that will be bundled with RT.
-
-
-What is a Scrip?
-
-...it's an entry in the database that tells that an action is to be
-performed with a certain template and argument.  Template and argument
-doesn't make sense in all contexts.  A scrip can be limited to transaction
-types; the current implementation allows a comma-separated list (though for
-a "cleaner" schema design, it should be a separate table for this?).  It has
-a name and a description.
-
-
-What is a ScripScope?
-
-...an indication of what queues the different Scrips applies to.  It should
-be easy to remove/insert ScripScope objects by the admin tools.
-
-
-What is a Watcher?
-
-...it's a request for beeing kept updated on a ticket and/or a queue
-and/or whatever.  It is to be used by the Actions.  Watcher items can
-easily be enabled/disabled through the `Quiet' attribute.  `Type' might
-indicate what emails the watcher wants to get and how to get them.
-
-The Bcc/Cc watchers should be handled by the NotifyWatchers action which is
-run regardless of the Scrips.
-
-
-What is a Template?
-
-...A template is a text template that is to be used for outgoing email -
-or for different use for different actions.  One template can be used by
-several Scrips.
-
-
-How does the system determinate whom to send mail to?
-
-The ScripScope table in the DB should indicate whether a Scrip is relevant
-for a queue or not /* TobiX thinks that this might eventually be extended to
-keywords, tickets, etc, and not only Queues */ ... the Scope table should
-indicate whether the Scrip is relevant for a given transaction type ... then
-the given Action should determinate whether it applies or not, and finally
-the Action has to find out (via the Watchers table) whom it applies to, and
-how to contact them ... and the Template tells how the mails that are sent
-out should look like.
-
-
diff --git a/rt/docs/design_docs/ticket_templates b/rt/docs/design_docs/ticket_templates
deleted file mode 100644 (file)
index 7850edf..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-===Create-Ticket: foo
- Subject: APPROVE <%TOP-Subject%>
- Status: status
- Queue: <%TOP-Queue%>
- Owner: <%TOP-Owner%>
- Depends-on: <%TOP-Id%>
- Child-of: <%TOP-Id%>
- Refers-to: <%TOP-Id%>
- Content-Type: text/plain
- Content: This is content
-blah
-blah
-blah
-===Create-Ticket: bar
-Subject:  <%foo-Subject%>
-
diff --git a/rt/docs/design_docs/users b/rt/docs/design_docs/users
deleted file mode 100644 (file)
index 71c4476..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-RT2 makes everybody a user. some sites won't like this. there
-should be away to make an "anonymous" user who the mailgate makes
-the requestor for all mailed in tickets. it would then set the
-ticket 'requestor' watcher's alternate email address to the real
-requestor's email.
-
-additionally, eventually, users will need to be deleted. RT doesn't
-want any user deleted. Instead, there will be a flag in the user's
-entry in the users table called 'Disabled.'  Disabled users will
-not be able to be granted rights.
-
-       The process of disabling a user should remove their acls and
-should force the giving away of their tickets or reject the disabling.
-
diff --git a/rt/docs/rt3-schema-relationships.dot b/rt/docs/rt3-schema-relationships.dot
deleted file mode 100644 (file)
index e290f8b..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-digraph g {
-graph [
-rankdir = "RL",
- concentrate = true,
-ratio = auto
-];
-node [
-fontsize = "18",
-shape = record, fontsize = 18
-];
-edge [
-];
-
-"Records" [shape = record, fontsize = 18, label = "(Any RT::Record)" ];
-"Records" -> "Principals" [label = "Creator -> id"];
-"ACL" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"ACL" -> "Principals" [label="PrincipalId -> id"];
-"ACL" -> "Principals" [label="DelegatedBy -> id"];
-"ACL" -> "ACL" [label="DelegatedFrom -> id"];
-
-"Attachments" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Attachments" -> "Transactions" [label="TransactionId -> id"];
-"Attachments" -> "Attachments" [label="Parent -> id"];
-
-"CachedGroupMemers" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"CachedGroupMemers" -> "Groups" [label="GroupId -> id", weight=2];
-"CachedGroupMemers" -> "Principals" [label="MemberId -> id"];
-"CachedGroupMemers" -> "CachedGroupMemers" [label="Via -> id"];
-"CachedGroupMemers" -> "Groups" [label="ImmediateParentId -> id"];
-
-"CustomFields" [shape = record, fontsize = 18, label = "<col0> \N " ];
-
-"CustomFieldValues" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"CustomFieldValues" -> "CustomFields" [label="CustomField -> id"];
-
-"GroupMembers" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"GroupMembers" -> "Groups" [label="GroupId -> id", weight=2];
-"GroupMembers" -> "Principals" [label="MemberId -> id", weight = 2];
-
-"Groups" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Groups" -> "Principals" [label="Groups.id -> id"];
-
-"Links" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Links" -> "Tickets" [label="LocalBase => id (usually)", style="dotted"];
-"Links" -> "Tickets" [label="LocalTarget => id (usually)", style="dotted"];
-
-"Principals" [shape = record, fontsize = 18, label = "<col0> \N " ];
-
-"Attributes" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Attributes" -> "Records" [label="ObjectId -> id"];
-
-"Queues" [shape = record, fontsize = 18, label = "<col0> \N " ];
-
-"ScripActions" [shape = record, fontsize = 18, label = "<col0> \N " ];
-
-"ScripConditions" [shape = record, fontsize = 18, label = "<col0> \N " ];
-
-"Scrips" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Scrips" -> "ScripConditions" [label="ScripCondition -> id"];
-"Scrips" -> "ScripActions" [label="ScripAction -> id"];
-"Scrips" -> "Templates" [label="Template -> id"];
-"Scrips" -> "Queues" [label="Queue -> id"];
-
-"Templates" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Templates" -> "Queues" [label ="Queue -> id" ];
-
-"ObjectCustomFields" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"ObjectCustomFields" -> "CustomFields" [label="CustomField -> id"];
-"ObjectCustomFields" -> "Records" [label="ObjectId -> id"];
-
-"ObjectCustomFieldValues" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"ObjectCustomFieldValues" -> "CustomFields" [label="CustomField -> id"];
-"ObjectCustomFieldValues" -> "Records" [label="ObjectId -> id"];
-
-"Tickets" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Tickets" -> "Tickets" [label="EffectiveId -> id"];
-"Tickets" -> "Principals" [label="Owner -> id"];
-"Queues" -> "Tickets" [style="invis"];
-"Tickets" -> "Queues" [label="Queue -> id"];
-
-"Transactions" [shape = record, fontsize = 18, label = "<col0> \N " ];
-"Transactions" -> "Records" [label="ObjectId -> id"];
-
-"Users" [shape = record, fontsize = 18, label = "<col0> \N " ];
-
-"Users" -> "Principals" [label="id -> id"];
-
-
-}
diff --git a/rt/etc/RT_Config.pm b/rt/etc/RT_Config.pm
deleted file mode 100644 (file)
index 5386a8e..0000000
+++ /dev/null
@@ -1,374 +0,0 @@
-#
-# WARNING: NEVER EDIT RT_Config.pm. Instead, copy any sections you want to change to RT_SiteConfig.pm
-# and edit them there.
-#
-
-package RT;
-
-=head1 NAME
-
-RT::Config
-
-=for testing
-
-use RT::Config;
-
-=cut
-
-# {{{ Base Configuration
-
-# $rtname the string that RT will look for in mail messages to
-# figure out what ticket a new piece of mail belongs to
-
-# Your domain name is recommended, so as not to pollute the namespace.
-# once you start using a given tag, you should probably never change it.
-# (otherwise, mail for existing tickets won't get put in the right place
-
-Set($rtname , "example.com");
-
-# You should set this to your organization's DNS domain. For example,
-# fsck.com or asylum.arkham.ma.us. It's used by the linking interface to
-# guarantee that ticket URIs are unique and easy to construct.
-
-Set($Organization , "example.com");
-
-# $user_passwd_min defines the minimum length for user passwords. Setting
-# it to 0 disables this check
-Set($MinimumPasswordLength , "5");
-
-# $Timezone is used to convert times entered by users into GMT and back again
-# It should be set to a timezone recognized by your local unix box.
-Set($Timezone , 'US/Eastern');
-
-# }}}
-
-# }}}
-
-# {{{ Database Configuration
-
-# Database driver beeing used. Case matters
-# Valid types are "mysql", "Oracle" and "Pg"
-
-Set($DatabaseType , 'mysql');
-
-# The domain name of your database server
-# If you're running mysql and it's on localhost,
-# leave it blank for enhanced performance
-Set($DatabaseHost   , 'localhost');
-Set($DatabaseRTHost , 'localhost');
-
-# The port that your database server is running on.  Ignored unless it's
-# a positive integer. It's usually safe to leave this blank
-Set($DatabasePort , '');
-
-#The name of the database user (inside the database)
-Set($DatabaseUser , 'rt_user');
-
-# Password the DatabaseUser should use to access the database
-Set($DatabasePassword , 'rt_pass');
-
-# The name of the RT's database on your database server
-Set($DatabaseName , 'rt3');
-
-# If you're using Postgres and have compiled in SSL support,
-# set DatabaseRequireSSL to 1 to turn on SSL communication
-Set($DatabaseRequireSSL , undef);
-
-# }}}
-
-# {{{ Incoming mail gateway configuration
-
-# OwnerEmail is the address of a human who manages RT. RT will send
-# errors generated by the mail gateway to this address.  This address
-# should _not_ be an address that's managed by your RT instance.
-
-Set($OwnerEmail , 'root');
-
-# If $LoopsToRTOwner is defined, RT will send mail that it believes
-# might be a loop to $RT::OwnerEmail
-
-Set($LoopsToRTOwner , 1);
-
-# If $StoreLoopss is defined, RT will record messages that it believes
-# to be part of mail loops.
-# As it does this, it will try to be careful not to send mail to the
-# sender of these messages
-
-Set($StoreLoops , undef);
-
-# $MaxAttachmentSize sets the maximum size (in bytes) of attachments stored
-# in the database.
-
-# For mysql and oracle, we set this size at 10 megabytes.
-# If you're running a postgres version earlier than 7.1, you will need
-# to drop this to 8192. (8k)
-
-Set($MaxAttachmentSize , 10000000);
-
-# $TruncateLongAttachments: if this is set to a non-undef value,
-# RT will truncate attachments longer than MaxAttachmentLength.
-
-Set($TruncateLongAttachments , undef);
-
-# $DropLongAttachments: if this is set to a non-undef value,
-# RT will silently drop attachments longer than MaxAttachmentLength.
-
-Set($DropLongAttachments , undef);
-
-# If $ParseNewMessageForTicketCcs is true, RT will attempt to divine
-# Ticket 'Cc' watchers from the To and Cc lines of incoming messages
-# Be forewarned that if you have _any_ addresses which forward mail to
-# RT automatically and you enable this option without modifying
-# "RTAddressRegexp" below, you will get yourself into a heap of trouble.
-
-Set($ParseNewMessageForTicketCcs , undef);
-
-# RTAddressRegexp is used to make sure RT doesn't add itself as a ticket CC if
-# the setting above is enabled.
-
-Set($RTAddressRegexp , '^rt\@example.com$');
-
-# RT provides functionality which allows the system to rewrite
-# incoming email addresses.  In its simplest form,
-# you can substitute the value in CanonicalizeEmailAddressReplace
-# for the value in CanonicalizeEmailAddressMatch
-# (These values are passed to the CanonicalizeEmailAddress subroutine in RT/User.pm)
-# By default, that routine performs a s/$Match/$Replace/gi on any address passed to it
-
-Set($CanonicalizeEmailAddressMatch   , 'subdomain.example.com$');
-Set($CanonicalizeEmailAddressReplace , 'example.com');
-
-# If $SenderMustExistInExternalDatabase is true, RT will refuse to
-# create non-privileged accounts for unknown users if you are using
-# the "LookupSenderInExternalDatabase" option.
-# Instead, an error message will be mailed and RT will forward the
-# message to $RTOwner.
-#
-# If you are not using $LookupSenderInExternalDatabase, this option
-# has no effect.
-#
-# If you define an AutoRejectRequest template, RT will use this
-# template for the rejection message.
-
-Set($SenderMustExistInExternalDatabase , undef);
-
-# }}}
-
-# {{{ Outgoing mail configuration
-
-# RT is designed such that any mail which already has a ticket-id associated
-# with it will get to the right place automatically.
-
-# $CorrespondAddress and $CommentAddress are the default addresses
-# that will be listed in From: and Reply-To: headers of correspondence
-# and comment mail tracked by RT, unless overridden by a queue-specific
-# address.
-
-Set($CorrespondAddress , 'RT_CorrespondAddressNotSet');
-
-Set($CommentAddress , 'RT_CommentAddressNotSet');
-
-#Sendmail Configuration
-
-# $MailCommand defines which method RT will use to try to send mail
-# We know that 'sendmailpipe' works fairly well.
-# If 'sendmailpipe' doesn't work well for you, try 'sendmail'
-#
-# Note that you should remove the '-t' from $SendmailArguments
-# if you use 'sendmail rather than 'sendmailpipe'
-
-Set($MailCommand , 'sendmailpipe');
-
-# $SendmailArguments defines what flags to pass to $Sendmail
-# assuming you picked 'sendmail' or 'sendmailpipe' as the $MailCommand above.
-# If you picked 'sendmailpipe', you MUST add a -t flag to $SendmailArguments
-
-# These options are good for most sendmail wrappers and workalikes
-Set($SendmailArguments , "-oi -t");
-
-# These arguments are good for sendmail brand sendmail 8 and newer
-#Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m");
-
-# If you selected 'sendmailpipe' above, you MUST specify the path
-# to your sendmail binary in $SendmailPath.
-# !! If you did not # select 'sendmailpipe' above, this has no effect!!
-Set($SendmailPath , "/usr/sbin/sendmail");
-
-# By default, RT sets the outgoing mail's "From:" header to
-# "SenderName via RT".  Setting this option to 0 disables it.
-
-Set($UseFriendlyFromLine , 1);
-
-# sprintf() format of the friendly 'From:' header; its arguments
-# are SenderName and SenderEmailAddress.
-Set($FriendlyFromLineFormat , "\"%s via RT\" <%s>");
-
-# RT can optionally set a "Friendly" 'To:' header when sending messages to
-# Ccs or AdminCcs (rather than having a blank 'To:' header.
-
-# This feature DOES NOT WORK WITH SENDMAIL[tm] BRAND SENDMAIL
-# If you are using sendmail, rather than postfix, qmail, exim or some other MTA,
-# you _must_ disable this option.
-
-Set($UseFriendlyToLine , 0);
-
-# sprintf() format of the friendly 'From:' header; its arguments
-# are WatcherType and TicketId.
-Set($FriendlyToLineFormat, "\"%s of $RT::rtname Ticket #%s\":;");
-
-# By default RT doesn't notify the person who performs an update, as they
-# already know what they've done. If you'd like to change this behaviour,
-# Set $NotifyActor to 1
-
-Set($NotifyActor, 0);
-
-
-# }}}
-
-# {{{ Logging
-
-# Logging.  The default is to log anything except debugging
-# information to syslog.  Check the Log::Dispatch POD for
-# information about how to get things by syslog, mail or anything
-# else, get debugging info in the log, etc.
-
-#  It might generally make
-# sense to send error and higher by email to some administrator.
-# If you do this, be careful that this email isn't sent to this RT instance.
-
-# the minimum level error that will be logged to the specific device.
-# levels from lowest to highest:
-#  debug info notice warning error critical alert emergency
-
-#  Mail loops will generate a critical log message.
-Set($LogToSyslog    , 'debug');
-Set($LogToScreen    , 'error');
-Set($LogToFile      , undef);
-Set($LogDir, '/opt/rt3/var/log');
-Set($LogToFileNamed , "rt.log");    #log to rt.log
-
-# }}}
-
-# {{{ Web interface configuration
-
-# Define the directory name to be used for images in rt web
-# documents.
-
-# If you're putting the web ui somewhere other than at the root of
-# your server
-# $WebPath requires a leading / but no trailing /
-
-Set($WebPath , "");
-
-# This is the Scheme, server and port for constructing urls to webrt
-# $WebBaseURL doesn't need a trailing /
-
-Set($WebBaseURL , "http://RT::WebBaseURL.not.configured:80");
-
-Set($WebURL , $WebBaseURL . $WebPath . "/");
-
-# $WebImagesURL points to the base URL where RT can find its images.
-
-Set($WebImagesURL , $WebURL . "NoAuth/images/");
-
-# $RTLogoURL points to the URL of the RT logo displayed in the web UI
-
-Set($LogoURL , $WebImagesURL . "rt.jpg");
-
-# For message boxes, set the entry box width and what type of wrapping
-# to use.
-#
-# Default width: 72
-Set($MessageBoxWidth , 72);
-
-# Default wrapping: "HARD"  (choices "SOFT", "HARD")
-Set($MessageBoxWrap, "HARD");
-
-# if TrustHTMLAttachments is not defined, we will display them
-# as text. This prevents malicious HTML and javascript from being
-# sent in a request (although there is probably more to it than that)
-Set($TrustHTMLAttachments , undef);
-
-# If $WebExternalAuth is defined, RT will defer to the environment's
-# REMOTE_USER variable.
-
-Set($WebExternalAuth , undef);
-
-# If $WebFallbackToInternalAuth is undefined, the user is allowed a chance
-# of fallback to the login screen, even if REMOTE_USER failed.
-
-Set($WebFallbackToInternalAuth , undef);
-
-# $WebExternalGecos means to match 'gecos' field as the user identity);
-# useful with mod_auth_pwcheck and IIS Integrated Windows logon.
-
-Set($WebExternalGecos , undef);
-
-# $WebExternalAuto will create users under the same name as REMOTE_USER
-# upon login, if it's missing in the Users table.
-
-Set($WebExternalAuto , undef);
-
-# $WebSessionClass is the class you wish to use for managing Sessions.
-# It defaults to use your SQL database, but if you are using MySQL 3.x and
-# plans to use non-ascii Queue names, uncomment and add this line to
-# RT_SiteConfig.pm will prevent session corruption.
-
-# Set($WebSessionClass , 'Apache::Session::File');
-
-# $MaxInlineBody is the maximum attachment size that we want to see
-# inline when viewing a transaction. 13456 is a random sane-sounding
-# default.
-
-Set($MaxInlineBody, 13456);
-
-# $MyTicketsLength is the length of the table on the front page.
-# For some people, the default of 10 isn't big enough to get a feel for
-# how much work needs to be done before you get some time off.
-
-Set($MyTicketsLength, 10);
-
-# @MasonParameters is the list of parameters for the constructor of
-# HTML::Mason's Apache or CGI Handler.  This is normally only useful
-# for debugging, eg. profiling individual components with
-#     (preamble => 'my $p = MasonX::Profiler->new($m, $r);');
-
-@MasonParameters = () unless (@MasonParameters);
-
-# }}}
-
-# {{{ RT UTF-8 Settings
-
-# An array that contains languages supported by RT's internationalization
-# interface.  Defaults to all *.po lexicons; set it to qw(en ja) will make
-# RT bilingual instead of multilingual, but will save same memory.
-
-@LexiconLanguages = qw(*) unless (@LexiconLanguages);
-
-# An array that contains default encodings used to guess which charset
-# an attachment uses if not specified.  Must be recognized by
-# Encode::Guess.
-
-@EmailInputEncodings = qw(utf-8 iso-8859-1 us-ascii) unless (@EmailInputEncodings);
-
-# The charset for localized email.  Must be recognized by Encode.
-
-Set($EmailOutputEncoding , 'utf-8');
-
-# }}}
-
-# {{{ RT Date Handling Options (for Time::ParseDate)
-
-# Set this to 1 if your local date convention looks like "dd/mm/yy"
-# instead of "mm/dd/yy".
-
-Set($DateDayBeforeMonth , 1);
-
-# Should "Tuesday" default to meaning "Next Tuesday" or "Last Tuesday"?
-# Set to 0 for "Next" or 1 for "Last".
-
-Set($AmbiguousDayInPast , 1);
-
-# }}}
-
-1;
diff --git a/rt/etc/RT_Config.pm.in b/rt/etc/RT_Config.pm.in
deleted file mode 100644 (file)
index 773e3e2..0000000
+++ /dev/null
@@ -1,493 +0,0 @@
-#
-# WARNING: NEVER EDIT RT_Config.pm. Instead, copy any sections you want to change to RT_SiteConfig.pm
-# and edit them there.
-#
-
-package RT;
-
-=head1 NAME
-
-RT::Config
-
-=for testing
-
-use RT::Config;
-
-=cut
-
-# {{{ Base Configuration
-
-# $rtname is the string that RT will look for in mail messages to
-# figure out what ticket a new piece of mail belongs to
-
-# Your domain name is recommended, so as not to pollute the namespace.
-# once you start using a given tag, you should probably never change it.
-# (otherwise, mail for existing tickets won't get put in the right place
-
-Set($rtname , "example.com");
-
-
-# This regexp controls what subject tags RT recognizes as its own.
-# If you're not dealing with historical $rtname values, you'll likely
-# never have to enable this feature.
-#
-# Be VERY CAREFUL with it. Note that it overrides $rtname for subject
-# token matching and that you should use only "non-capturing" parenthesis
-# grouping. For example:
-#
-#      Set($EmailSubjectTagRegex, qr/(?:example.com|example.org)/ );
-#
-# and NOT
-# 
-#      Set($EmailSubjectTagRegex, qr/(example.com|example.org)/ );
-#
-# This setting would make RT behave exactly as it does without the 
-# setting enabled.
-#
-# Set($EmailSubjectTagRegex, qr/\Q$rtname\E/ );
-
-
-
-# You should set this to your organization's DNS domain. For example,
-# fsck.com or asylum.arkham.ma.us. It's used by the linking interface to
-# guarantee that ticket URIs are unique and easy to construct.
-
-Set($Organization , "example.com");
-
-# $user_passwd_min defines the minimum length for user passwords. Setting
-# it to 0 disables this check
-Set($MinimumPasswordLength , "5");
-
-# $Timezone is used to convert times entered by users into GMT and back again
-# It should be set to a timezone recognized by your local unix box.
-Set($Timezone , 'US/Eastern');
-
-# }}}
-
-# {{{ Database Configuration
-
-# Database driver beeing used. Case matters
-# Valid types are "mysql", "Oracle" and "Pg"
-
-Set($DatabaseType , '@DB_TYPE@');
-
-# The domain name of your database server
-# If you're running mysql and it's on localhost,
-# leave it blank for enhanced performance
-Set($DatabaseHost   , '@DB_HOST@');
-Set($DatabaseRTHost , '@DB_RT_HOST@');
-
-# The port that your database server is running on.  Ignored unless it's
-# a positive integer. It's usually safe to leave this blank
-Set($DatabasePort , '@DB_PORT@');
-
-#The name of the database user (inside the database)
-Set($DatabaseUser , '@DB_RT_USER@');
-
-# Password the DatabaseUser should use to access the database
-Set($DatabasePassword , '@DB_RT_PASS@');
-
-# The name of the RT's database on your database server
-Set($DatabaseName , '@DB_DATABASE@');
-
-# If you're using Postgres and have compiled in SSL support,
-# set DatabaseRequireSSL to 1 to turn on SSL communication
-Set($DatabaseRequireSSL , undef);
-
-# }}}
-
-# {{{ Incoming mail gateway configuration
-
-# OwnerEmail is the address of a human who manages RT. RT will send
-# errors generated by the mail gateway to this address.  This address
-# should _not_ be an address that's managed by your RT instance.
-
-Set($OwnerEmail , 'root');
-
-# If $LoopsToRTOwner is defined, RT will send mail that it believes
-# might be a loop to $RT::OwnerEmail
-
-Set($LoopsToRTOwner , 1);
-
-# If $StoreLoops is defined, RT will record messages that it believes
-# to be part of mail loops.
-# As it does this, it will try to be careful not to send mail to the
-# sender of these messages
-
-Set($StoreLoops , undef);
-
-# $MaxAttachmentSize sets the maximum size (in bytes) of attachments stored
-# in the database.
-
-# For mysql and oracle, we set this size at 10 megabytes.
-# If you're running a postgres version earlier than 7.1, you will need
-# to drop this to 8192. (8k)
-
-Set($MaxAttachmentSize , 10000000);
-
-# $TruncateLongAttachments: if this is set to a non-undef value,
-# RT will truncate attachments longer than MaxAttachmentSize.
-
-Set($TruncateLongAttachments , undef);
-
-# $DropLongAttachments: if this is set to a non-undef value,
-# RT will silently drop attachments longer than MaxAttachmentSize.
-
-Set($DropLongAttachments , undef);
-
-# If $ParseNewMessageForTicketCcs is true, RT will attempt to divine
-# Ticket 'Cc' watchers from the To and Cc lines of incoming messages
-# Be forewarned that if you have _any_ addresses which forward mail to
-# RT automatically and you enable this option without modifying
-# "RTAddressRegexp" below, you will get yourself into a heap of trouble.
-
-Set($ParseNewMessageForTicketCcs , undef);
-
-# RTAddressRegexp is used to make sure RT doesn't add itself as a ticket CC if
-# the setting above is enabled.
-
-Set($RTAddressRegexp , '^rt\@example.com$');
-
-# RT provides functionality which allows the system to rewrite
-# incoming email addresses.  In its simplest form,
-# you can substitute the value in CanonicalizeEmailAddressReplace
-# for the value in CanonicalizeEmailAddressMatch
-# (These values are passed to the CanonicalizeEmailAddress subroutine in RT/User.pm)
-# By default, that routine performs a s/$Match/$Replace/gi on any address passed to it
-
-#Set($CanonicalizeEmailAddressMatch , '@subdomain\.example\.com$');
-#Set($CanonicalizeEmailAddressReplace , '@example.com');
-
-# set this to true and the create new user page will use the values that you
-# enter in the form but use the function CanonicalizeUserInfo in User_Local.pm
-Set($CanonicalizeOnCreate , 0);
-
-# If $SenderMustExistInExternalDatabase is true, RT will refuse to
-# create non-privileged accounts for unknown users if you are using
-# the "LookupSenderInExternalDatabase" option.
-# Instead, an error message will be mailed and RT will forward the
-# message to $RTOwner.
-#
-# If you are not using $LookupSenderInExternalDatabase, this option
-# has no effect.
-#
-# If you define an AutoRejectRequest template, RT will use this
-# template for the rejection message.
-
-Set($SenderMustExistInExternalDatabase , undef);
-
-# }}}
-
-# {{{ Outgoing mail configuration
-
-# RT is designed such that any mail which already has a ticket-id associated
-# with it will get to the right place automatically.
-
-# $CorrespondAddress and $CommentAddress are the default addresses
-# that will be listed in From: and Reply-To: headers of correspondence
-# and comment mail tracked by RT, unless overridden by a queue-specific
-# address.
-
-Set($CorrespondAddress , 'RT_CorrespondAddressNotSet');
-
-Set($CommentAddress , 'RT_CommentAddressNotSet');
-
-#Sendmail Configuration
-
-# $MailCommand defines which method RT will use to try to send mail
-# We know that 'sendmailpipe' works fairly well.
-# If 'sendmailpipe' doesn't work well for you, try 'sendmail'
-#
-# Note that you should remove the '-t' from $SendmailArguments
-# if you use 'sendmail' rather than 'sendmailpipe'
-
-Set($MailCommand , 'sendmailpipe');
-
-# $SendmailArguments defines what flags to pass to $Sendmail
-# assuming you picked 'sendmail' or 'sendmailpipe' as the $MailCommand above.
-# If you picked 'sendmailpipe', you MUST add a -t flag to $SendmailArguments
-
-# These options are good for most sendmail wrappers and workalikes
-Set($SendmailArguments , "-oi -t");
-
-# These arguments are good for sendmail brand sendmail 8 and newer
-#Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m");
-
-# If you selected 'sendmailpipe' above, you MUST specify the path
-# to your sendmail binary in $SendmailPath.
-# !! If you did not # select 'sendmailpipe' above, this has no effect!!
-Set($SendmailPath , "/usr/sbin/sendmail");
-
-# By default, RT sets the outgoing mail's "From:" header to
-# "SenderName via RT".  Setting this option to 0 disables it.
-
-Set($UseFriendlyFromLine , 1);
-
-# sprintf() format of the friendly 'From:' header; its arguments
-# are SenderName and SenderEmailAddress.
-Set($FriendlyFromLineFormat , "\"%s via RT\" <%s>");
-
-# RT can optionally set a "Friendly" 'To:' header when sending messages to
-# Ccs or AdminCcs (rather than having a blank 'To:' header.
-
-# This feature DOES NOT WORK WITH SENDMAIL[tm] BRAND SENDMAIL
-# If you are using sendmail, rather than postfix, qmail, exim or some other MTA,
-# you _must_ disable this option.
-
-Set($UseFriendlyToLine , 0);
-
-# sprintf() format of the friendly 'From:' header; its arguments
-# are WatcherType and TicketId.
-Set($FriendlyToLineFormat, "\"%s of $RT::rtname Ticket #%s\":;");
-
-# By default, RT doesn't notify the person who performs an update, as they
-# already know what they've done. If you'd like to change this behaviour,
-# Set $NotifyActor to 1
-
-Set($NotifyActor, 0);
-
-# By default, RT records each message it sends out to its own internal database.# To change this behaviour, set $RecordOutgoingEmail to 0 
-
-Set($RecordOutgoingEmail, 1);
-
-# }}}
-
-# {{{ Logging
-
-# Logging.  The default is to log anything except debugging
-# information to syslog.  Check the Log::Dispatch POD for
-# information about how to get things by syslog, mail or anything
-# else, get debugging info in the log, etc.
-
-#  It might generally make
-# sense to send error and higher by email to some administrator.
-# If you do this, be careful that this email isn't sent to this RT instance.
-
-# the minimum level error that will be logged to the specific device.
-# levels from lowest to highest:
-#  debug info notice warning error critical alert emergency
-
-#  Mail loops will generate a critical log message.
-Set($LogToSyslog    , 'debug');
-Set($LogToScreen    , 'error');
-Set($LogToFile      , undef);
-Set($LogDir, '@RT_LOG_PATH@');
-Set($LogToFileNamed , "rt.log");    #log to rt.log
-
-# On Solaris or UnixWare, set to ( socket => 'inet' ).  Options here
-# override any other options RT passes to Log::Dispatch::Syslog.
-# Other interesting flags include facility and logopt.  (See the
-# Log::Dispatch::Syslog documentation for more information.)  (Maybe
-# ident too, if you have multiple RT installations.)
-
-@LogToSyslogConf = () unless (@LogToSyslogConf);
-
-# }}}
-
-# {{{ Web interface configuration
-
-# Define the directory name to be used for images in rt web
-# documents.
-
-# If you're putting the web ui somewhere other than at the root of
-# your server
-# $WebPath requires a leading / but no trailing /
-
-Set($WebPath , "");
-
-# This is the Scheme, server and port for constructing urls to webrt
-# $WebBaseURL doesn't need a trailing /
-
-Set($WebBaseURL , "http://localhost");
-
-Set($WebURL , $WebBaseURL . $WebPath . "/");
-
-# $WebImagesURL points to the base URL where RT can find its images.
-
-Set($WebImagesURL , $WebPath . "/NoAuth/images/");
-
-# $LogoURL points to the URL of the RT logo displayed in the web UI
-
-Set($LogoURL , $WebImagesURL . "bplogo.gif");
-
-# WebNoAuthRegex - What portion of RT's URLspace should not require
-# authentication.
-Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|
-                            /+REST/\d+\.\d+/NoAuth/)!x );
-
-# For message boxes, set the entry box width and what type of wrapping
-# to use.
-#
-# Default width: 72
-Set($MessageBoxWidth , 72);
-
-# Default wrapping: "HARD"  (choices "SOFT", "HARD")
-Set($MessageBoxWrap, "HARD");
-
-# if TrustHTMLAttachments is not defined, we will display them
-# as text. This prevents malicious HTML and javascript from being
-# sent in a request (although there is probably more to it than that)
-Set($TrustHTMLAttachments , undef);
-
-# Should RT redistribute correspondence that it identifies as
-# machine generated? A true value (the default) will do so, setting
-# this to '0' will cause no such messages to be redistributed.
-# You can also use 'privileged', which will redistribute only to
-# privileged users. This is seful if you get malformed bounces caused by
-# autocreated requestors with bogus addresses.
-Set($RedistributeAutoGeneratedMessages, 1);
-
-# If PreferRichText is set to a true value, RT will show HTML/Rich text
-# messages in preference to their plaintext alternatives. RT "scrubs" the 
-# html to show only a minimal subset of HTML to avoid possible contamination
-# by cross-site-scripting attacks.
-Set($PreferRichText, undef);
-
-# If $WebExternalAuth is defined, RT will defer to the environment's
-# REMOTE_USER variable.
-
-Set($WebExternalAuth , undef);
-
-# If $WebFallbackToInternalAuth is undefined, the user is allowed a chance
-# of fallback to the login screen, even if REMOTE_USER failed.
-
-Set($WebFallbackToInternalAuth , undef);
-
-# $WebExternalGecos means to match 'gecos' field as the user identity);
-# useful with mod_auth_pwcheck and IIS Integrated Windows logon.
-
-Set($WebExternalGecos , undef);
-
-# $WebExternalAuto will create users under the same name as REMOTE_USER
-# upon login, if it's missing in the Users table.
-
-Set($WebExternalAuto , undef);
-
-# $WebSessionClass is the class you wish to use for managing Sessions.
-# It defaults to use your SQL database, but if you are using MySQL 3.x and
-# plans to use non-ascii Queue names, uncomment and add this line to
-# RT_SiteConfig.pm will prevent session corruption.
-
-# Set($WebSessionClass , 'Apache::Session::File');
-
-# By default, RT clears its database cache after every page view.
-# This ensures that you've always got the most current information 
-# when working in a multi-process (mod_perl or FastCGI) Environment
-# Setting $WebFlushDbCacheEveryRequest to '0' will turn this off,
-# which will speed RT up a bit, at the expense of a tiny bit of data 
-# accuracy
-
-Set($WebFlushDbCacheEveryRequest, '1');
-
-
-# $MaxInlineBody is the maximum attachment size that we want to see
-# inline when viewing a transaction. 13456 is a random sane-sounding
-# default.
-
-Set($MaxInlineBody, 13456);
-
-# $MyTicketsLength is the length of the owned tickets table on the
-# front page. For some people, the default of 10 isn't big enough
-# to get a feel for how much work needs to be done before you get
-# some time off.
-
-Set($MyTicketsLength, 10);
-
-# $MyRequestsLength is the length of the requested tickets table
-# on the front page.
-
-Set($MyRequestsLength, 10);
-
-# @MasonParameters is the list of parameters for the constructor of
-# HTML::Mason's Apache or CGI Handler.  This is normally only useful
-# for debugging, eg. profiling individual components with:
-#     use MasonX::Profiler; # available on CPAN
-#     @MasonParameters = (preamble => 'my $p = MasonX::Profiler->new($m, $r);');
-
-@MasonParameters = () unless (@MasonParameters);
-
-# $DefaultSearchResultFormat is the default format for RT search results
-Set ($DefaultSearchResultFormat, qq{
-   '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
-   '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
-   Status,
-   QueueName, 
-   OwnerName, 
-   Priority, 
-   '__NEWLINE__',
-   '', 
-   '<small>__Requestors__</small>',
-   '<small>__CreatedRelative__</small>',
-   '<small>__ToldRelative__</small>',
-   '<small>__LastUpdatedRelative__</small>',
-   '<small>__TimeLeft__</small>'});
-
-
-# }}}
-
-# {{{ RT UTF-8 Settings
-
-# An array that contains languages supported by RT's internationalization
-# interface.  Defaults to all *.po lexicons; setting it to qw(en ja) will make
-# RT bilingual instead of multilingual, but will save some memory.
-
-@LexiconLanguages = qw(*) unless (@LexiconLanguages);
-
-# An array that contains default encodings used to guess which charset
-# an attachment uses if not specified.  Must be recognized by
-# Encode::Guess.
-
-@EmailInputEncodings = qw(utf-8 iso-8859-1 us-ascii) unless (@EmailInputEncodings);
-
-# The charset for localized email.  Must be recognized by Encode.
-
-Set($EmailOutputEncoding , 'utf-8');
-
-# }}}
-
-# {{{ RT Date Handling Options (for Time::ParseDate)
-
-# Set this to 1 if your local date convention looks like "dd/mm/yy"
-# instead of "mm/dd/yy".
-
-Set($DateDayBeforeMonth , 1);
-
-# Should "Tuesday" default to meaning "Next Tuesday" or "Last Tuesday"?
-# Set to 0 for "Next" or 1 for "Last".
-
-Set($AmbiguousDayInPast , 1);
-
-# }}}
-
-# {{{ Miscellaneous RT Settings
-
-# You can define new statuses and even reorder existing statuses here.
-# WARNING. DO NOT DELETE ANY OF THE DEFAULT STATUSES. If you do, RT
-# will break horribly.
-
-@ActiveStatus = qw(new open stalled) unless @ActiveStatus;
-@InactiveStatus = qw(resolved rejected deleted) unless @InactiveStatus;
-
-# }}}
-
-
-# {{{ Development Mode
-#
-# RT comes with a "Development mode" setting. 
-# This setting, as a convenience for developers, turns on 
-# all sorts of development options that you most likely don't want in 
-# production:
-#
-# * Turns off Mason's 'static_source' directive. By default, you can't 
-#   edit RT's web ui components on the fly and have RT magically pick up
-#   your changes. (It's a big performance hit)
-#
-#  * More to come
-#
-
-Set($DevelMode, '@RT_DEVEL_MODE@');
-
-# }}}
-
-
-1;
diff --git a/rt/etc/RT_SiteConfig.pm b/rt/etc/RT_SiteConfig.pm
deleted file mode 100644 (file)
index affd36b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Any configuration directives you include  here will override 
-# RT's default configuration file, RT_Config.pm
-#
-# To include a directive here, just copy the equivalent statement
-# from RT_Config.pm and change the value. We've included a single
-# sample value below.
-#
-# This file is actually a perl module, so you can include valid
-# perl code, as well.
-#
-# The converse is also true, if this file isn't valid perl, you're
-# going to run into trouble. To check your SiteConfig file, use
-# this comamnd:
-#
-#   perl -c /path/to/your/etc/RT_SiteConfig.pm
-
-#Set( $rtname, 'example.com');
-
-$RT::rtname = '%%%RT_DOMAIN%%%';
-$RT::Organization = '%%%RT_DOMAIN%%%';
-
-$RT::Timezone = '%%%RT_TIMEZONE%%%';
-
-$RT::WebBaseURL = '';
-$RT::WebPath = '/freeside/rt';
-
-$RT::WebExternalAuth = 1;
-$RT::WebFallbackToInternal = 1; #no
-$RT::WebExternalAuto = 1;
-
-$RT::URI::freeside::IntegrationType = 'Internal';
-$RT::URI::freeside::URL = '%%%FREESIDE_URL%%%';
-
-Set($DatabaseHost   , '');
-
-#perl 5.8.0 - 5.8.2 experiment
-#@EmailInputEncodings = qw(iso-8859-1 us-ascii utf-8); # unless (@EmailInputEncodings);
-#Set($EmailOutputEncoding , 'iso-8859-1');
-
-1;
diff --git a/rt/etc/acl.Informix b/rt/etc/acl.Informix
deleted file mode 100644 (file)
index bca0408..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-sub acl {
-return  (
-"GRANT RESOURCE TO ${RT::DatabaseUser};");
-}
-1;
diff --git a/rt/etc/acl.Oracle b/rt/etc/acl.Oracle
deleted file mode 100644 (file)
index ac29215..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-sub acl {
-return (
-"CREATE USER ${RT::DatabaseUser} identified by ${RT::DatabasePassword} ".
-"default tablespace USERS " .
-"temporary tablespace TEMP " .
-"quota unlimited on USERS" ,
-"grant connect, resource to ${RT::DatabaseUser}"
-);
-}
-1;
diff --git a/rt/etc/acl.Pg b/rt/etc/acl.Pg
deleted file mode 100755 (executable)
index fb62559..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-sub acl {
-    my $dbh = shift;
-
-    my @acls;
-
-    my @tables = qw (
-
-      attachments_id_seq
-      Attachments
-      Attributes
-      attributes_id_seq
-      queues_id_seq
- Queues 
-      links_id_seq
- Links 
-      principals_id_seq
- Principals 
-      groups_id_seq
- Groups 
-      scripconditions_id_seq
- ScripConditions 
-      transactions_id_seq
- Transactions 
-      scrips_id_seq
- Scrips 
-      acl_id_seq
- ACL 
-      groupmembers_id_seq
- GroupMembers 
-      cachedgroupmembers_id_seq
- CachedGroupMembers 
-      users_id_seq
- Users 
-      tickets_id_seq
- Tickets 
-      scripactions_id_seq
- ScripActions 
-      templates_id_seq
- Templates 
- objectcustomfieldvalues_id_s
- ObjectCustomFieldValues 
-      customfields_id_seq
- CustomFields 
- objectcustomfields_id_s
- ObjectCustomFields 
-      customfieldvalues_id_seq
-      CustomFieldValues
-      sessions
-    );
-
-    # if there's already an rt_user, drop it.
-    my @row =
-      $dbh->selectrow_array( "select usename from pg_user where usename = '" . $RT::DatabaseUser."'" );
-    if ( $row[0] ) {
-        push @acls, "drop user ${RT::DatabaseUser};",;
-    }
-
-    push @acls, "create user ${RT::DatabaseUser} with password '${RT::DatabasePassword}' NOCREATEDB NOCREATEUSER;";
-    foreach my $table (@tables) {
-        push @acls,
-          "GRANT SELECT, INSERT, UPDATE, DELETE ON $table to "
-          . $RT::DatabaseUser . ";";
-
-    }
-    return (@acls);
-}
-1;
diff --git a/rt/etc/acl.Sybase b/rt/etc/acl.Sybase
deleted file mode 100644 (file)
index 6192b4e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-sub acl {
-return (
-"SP_ADDLOGIN ${RT::DatabaseUser}, ${RT::DatabasePassword}, ${RT::DatabaseName} ",
-);
-}
-1;
diff --git a/rt/etc/acl.mysql b/rt/etc/acl.mysql
deleted file mode 100755 (executable)
index 621ef12..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-sub acl {
-return () if !$RT::DatabaseUser or $RT::DatabaseUser eq 'root';
-return  (
-"USE mysql;",
-"DELETE FROM user WHERE user = '${RT::DatabaseUser}';",
-"DELETE FROM db where db = '${RT::DatabaseName}';",
-"GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON ${RT::DatabaseName}.* TO ${RT::DatabaseUser}\@'${RT::DatabaseRTHost}' IDENTIFIED BY '${RT::DatabasePassword}';");
-}
-1;
diff --git a/rt/etc/constraints.mysql b/rt/etc/constraints.mysql
deleted file mode 100644 (file)
index 355d2c5..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-
-  ALTER TABLE Links ADD INDEX(LocalBase);
-  ALTER TABLE Links ADD FOREIGN KEY (LocalBase) REFERENCES Tickets(id);
-  ALTER TABLE Links ADD INDEX(LocalTarget);
-  ALTER TABLE Links ADD FOREIGN KEY (LocalTarget) REFERENCES Tickets(id);
-  ALTER TABLE Tickets ADD INDEX(Queue);
-  ALTER TABLE Tickets ADD FOREIGN KEY (Queue) REFERENCES Queues(id);
-  ALTER TABLE Tickets ADD INDEX(EffectiveId);
-  ALTER TABLE Tickets ADD FOREIGN KEY (EffectiveId) REFERENCES Tickets(id);
-  ALTER TABLE Tickets ADD INDEX(Owner);
-  ALTER TABLE Tickets ADD FOREIGN KEY (Owner) REFERENCES Principals(id);
-  ALTER TABLE Tickets ADD INDEX(Creator);
-  ALTER TABLE Tickets ADD INDEX(LastUpdatedBy);
-  ALTER TABLE Tickets ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE Tickets ADD FOREIGN KEY (LastUpdatedBy) REFERENCES Users(id);
-  ALTER TABLE Transactions ADD INDEX(Creator);
-  ALTER TABLE Transactions ADD INDEX (Ticket) ;
-  ALTER TABLE Transactions ADD INDEX (EffectiveTicket) ;
-  ALTER TABLE Transactions ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE Transactions ADD FOREIGN KEY (Ticket) REFERENCES Tickets(id);
-  ALTER TABLE Transactions ADD FOREIGN KEY (EffectiveTicket) REFERENCES Tickets(id);
-  ALTER TABLE Attachments ADD INDEX (TransactionId) ;
-  ALTER TABLE Attachments ADD INDEX (Parent) ;
-  ALTER TABLE Attachments ADD FOREIGN KEY (TransactionId) REFERENCES Transactions(id);
-  ALTER TABLE Attachments ADD FOREIGN KEY (Parent) REFERENCES Attachments(id);
-  ALTER TABLE Scrips ADD INDEX (ScripCondition) ;
-  ALTER TABLE Scrips ADD INDEX (ScripAction) ;
-  ALTER TABLE Scrips ADD INDEX (Template) ;
-  ALTER TABLE Scrips ADD INDEX (Queue) ;
-  ALTER TABLE Scrips ADD INDEX (Creator) ;
-  ALTER TABLE Scrips ADD INDEX (LastUpdatedBy) ;
-  ALTER TABLE Scrips ADD FOREIGN KEY (ScripCondition) REFERENCES ScripConditions(id);
-  ALTER TABLE Scrips ADD FOREIGN KEY (ScripAction) REFERENCES ScripActions(id);
-  ALTER TABLE Scrips ADD FOREIGN KEY (Template) REFERENCES Templates(id);
-  ALTER TABLE Scrips ADD FOREIGN KEY (Queue) REFERENCES Queues(id);
-  ALTER TABLE Scrips ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE Scrips ADD FOREIGN KEY (LastUpdatedBy) REFERENCES Users(id);
-  ALTER TABLE ACL ADD INDEX (PrincipalId) ;
-  ALTER TABLE ACL ADD INDEX (DelegatedBy) ;
-  ALTER TABLE ACL ADD INDEX (DelegatedFrom) ;
-  ALTER TABLE ACL ADD FOREIGN KEY (PrincipalId) REFERENCES Principals(id);
-  ALTER TABLE ACL ADD FOREIGN KEY (DelegatedBy) REFERENCES Principals(id);
-  ALTER TABLE ACL ADD FOREIGN KEY (DelegatedFrom) REFERENCES ACL(id);
-  ALTER TABLE GroupMembers ADD INDEX (MemberId); 
-  ALTER TABLE GroupMembers ADD INDEX (GroupId); 
-  ALTER TABLE GroupMembers ADD FOREIGN KEY (GroupId) REFERENCES Groups(id);
-  ALTER TABLE GroupMembers ADD FOREIGN KEY (MemberId) REFERENCES Principals(id);
-  ALTER TABLE CachedGroupMembers ADD INDEX (ImmediateParentId) ;
-  ALTER TABLE CachedGroupMembers ADD INDEX (GroupId) ;
-  ALTER TABLE CachedGroupMembers ADD INDEX (MemberId) ;
-  ALTER TABLE CachedGroupMembers ADD INDEX (Via) ;
-  ALTER TABLE CachedGroupMembers ADD FOREIGN KEY (ImmediateParentId) REFERENCES Principals(id);
-  ALTER TABLE CachedGroupMembers ADD FOREIGN KEY (GroupId) REFERENCES Principals(id);
-  ALTER TABLE CachedGroupMembers ADD FOREIGN KEY (MemberId) REFERENCES Principals(id);
-  ALTER TABLE CachedGroupMembers ADD FOREIGN KEY (Via) REFERENCES CachedGroupMembers(id);
-  ALTER TABLE ScripActions ADD INDEX(Creator);
-  ALTER TABLE ScripActions ADD INDEX(LastUpdatedBy);
-  ALTER TABLE ScripActions ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE ScripActions ADD FOREIGN KEY (LastUpdatedBy) REFERENCES Users(id);
-  ALTER TABLE Templates ADD INDEX(Queue);
-  ALTER TABLE Templates ADD INDEX(Creator);
-  ALTER TABLE Templates ADD INDEX(LastUpdatedBy);
-  ALTER TABLE Templates ADD FOREIGN KEY (Queue) REFERENCES Queues(id);
-  ALTER TABLE Templates ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE Templates ADD FOREIGN KEY (LastUpdatedBy) REFERENCES Users(id);
-  ALTER TABLE CustomFields ADD INDEX(Queue);
-  ALTER TABLE CustomFields ADD INDEX(Creator);
-  ALTER TABLE CustomFields ADD INDEX(LastUpdatedBy);
-  ALTER TABLE CustomFields ADD FOREIGN KEY (Queue) REFERENCES Queues(id);
-  ALTER TABLE CustomFields ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE CustomFields ADD FOREIGN KEY (LastUpdatedBy) REFERENCES Users(id);
-  ALTER TABLE TicketCustomFieldValues ADD INDEX(Ticket);
-  ALTER TABLE TicketCustomFieldValues ADD INDEX(CustomField);
-  ALTER TABLE TicketCustomFieldValues ADD INDEX(Creator);
-  ALTER TABLE TicketCustomFieldValues ADD INDEX(LastUpdatedBy);
-  ALTER TABLE TicketCustomFieldValues ADD FOREIGN KEY (Ticket) REFERENCES Tickets(id);
-  ALTER TABLE TicketCustomFieldValues ADD FOREIGN KEY (CustomField) REFERENCES CustomFields(id);
-  ALTER TABLE TicketCustomFieldValues ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE TicketCustomFieldValues ADD FOREIGN KEY (LastUpdatedBy) REFERENCES Users(id);
-  ALTER TABLE CustomFieldValues ADD INDEX(CustomField);
-  ALTER TABLE CustomFieldValues ADD INDEX(Creator);
-  ALTER TABLE CustomFieldValues ADD INDEX(LastUpdatedBy);
-  ALTER TABLE CustomFieldValues ADD FOREIGN KEY (CustomField) REFERENCES CustomFields(id);
-  ALTER TABLE CustomFieldValues ADD FOREIGN KEY (Creator) REFERENCES Users(id);
-  ALTER TABLE CustomFieldValues ADD FOREIGN KEY (LastUpdatedBy) REFERENCES Users(id);
diff --git a/rt/etc/drop.Informix b/rt/etc/drop.Informix
deleted file mode 100644 (file)
index ce7cc01..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-DROP TABLE ACL;
-DROP TABLE ATTACHMENTS;
-DROP TABLE CACHEDGROUPMEMBERS;
-DROP TABLE CUSTOMFIELDS;
-DROP TABLE CUSTOMFIELDVALUES;
-DROP TABLE GROUPMEMBERS;
-DROP TABLE GROUPS;
-DROP TABLE LINKS;
-DROP TABLE PRINCIPALS;
-DROP TABLE QUEUES;
-DROP TABLE SCRIPACTIONS;
-DROP TABLE SCRIPCONDITIONS;
-DROP TABLE SCRIPS;
-DROP TABLE SESSIONS;
-DROP TABLE TEMPLATES;
-DROP TABLE TICKETCUSTOMFIELDVALUES;
-DROP TABLE TICKETS;
-DROP TABLE TRANSACTIONS;
-DROP TABLE USERS;
diff --git a/rt/etc/drop.Oracle b/rt/etc/drop.Oracle
deleted file mode 100644 (file)
index 4ce5de4..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-DROP TABLE ACL;
-DROP TABLE ATTACHMENTS;
-DROP TABLE ATTRIBUTES;
-DROP TABLE CACHEDGROUPMEMBERS;
-DROP TABLE CUSTOMFIELDS;
-DROP TABLE CUSTOMFIELDVALUES;
-DROP TABLE GROUPMEMBERS;
-DROP TABLE GROUPS;
-DROP TABLE LINKS;
-DROP TABLE PRINCIPALS;
-DROP TABLE QUEUES;
-DROP TABLE SCRIPACTIONS;
-DROP TABLE SCRIPCONDITIONS;
-DROP TABLE SCRIPS;
-DROP TABLE SESSIONS;
-DROP TABLE TEMPLATES;
-DROP TABLE TICKETCUSTOMFIELDVALUES;
-DROP TABLE TICKETS;
-DROP TABLE TRANSACTIONS;
-DROP TABLE USERS;
-DROP SEQUENCE ACL_seq;
-DROP SEQUENCE ATTACHMENTS_seq;
-DROP SEQUENCE ATTRIBUTES_seq;
-DROP SEQUENCE CACHEDGROUPMEMBERS_seq;
-DROP SEQUENCE CUSTOMFIELDS_seq;
-DROP SEQUENCE CUSTOMFIELDVALUES_seq;
-DROP SEQUENCE GROUPMEMBERS_seq;
-DROP SEQUENCE GROUPS_seq;
-DROP SEQUENCE LINKS_seq;
-DROP SEQUENCE PRINCIPALS_seq;
-DROP SEQUENCE QUEUES_seq;
-DROP SEQUENCE SCRIPACTIONS_seq;
-DROP SEQUENCE SCRIPCONDITIONS_seq;
-DROP SEQUENCE SCRIPS_seq;
-DROP SEQUENCE TEMPLATES_seq;
-DROP SEQUENCE TICKETCUSTOMFIELDVALUES_seq;
-DROP SEQUENCE TICKETS_seq;
-DROP SEQUENCE TRANSACTIONS_seq;
-DROP SEQUENCE USERS_seq;
diff --git a/rt/etc/initialdata b/rt/etc/initialdata
deleted file mode 100644 (file)
index 3a21ce1..0000000
+++ /dev/null
@@ -1,587 +0,0 @@
-# Initial data for a fresh RT3 Installation.
-
-@Users = (
-    {  Name     => 'Nobody',
-       RealName => 'Nobody in particular',
-       Comments => 'Do not delete or modify this user. It is integral '
-         . 'to RT\'s internal data structures',
-       Privileged => '0', },
-
-    {  Name         => 'root',
-       Gecos        => 'root',
-       RealName     => 'Enoch Root',
-       Password     => 'password',
-       EmailAddress => "root\@localhost",
-       Comments     => 'SuperUser',
-       Privileged   => '1', } );
-
-@Groups = (
-    { Name        => '',
-      Type        => 'Everyone',                        # loc
-      Domain      => 'SystemInternal',
-      Instance    => '',
-      Description => 'Pseudogroup for internal use',    # loc
-    },
-    { Type        => 'Privileged',                      # loc
-      Domain      => 'SystemInternal',
-      Instance    => '',
-      Name        => '',
-      Description => 'Pseudogroup for internal use',    # loc
-    },
-    { Name        => '',
-      Type        => 'Unprivileged',                    # loc
-      Domain      => 'SystemInternal',
-      Instance    => '',
-      Description => 'Pseudogroup for internal use',    # loc
-    },
-    { Name        => '',
-      Type        => 'Owner',                               # loc
-      Domain      => 'RT::System-Role',
-      Instance    => '',
-      Description => 'SystemRolegroup for internal use',    # loc
-    },
-    { Name        => '',
-      Type        => 'Requestor',                           # loc
-      Domain      => 'RT::System-Role',
-      Instance    => '',
-      Description => 'SystemRolegroup for internal use',    # loc
-    },
-    { Name        => '',
-      Type        => 'Cc',                                  # loc
-      Domain      => 'RT::System-Role',
-      Instance    => '',
-      Description => 'SystemRolegroup for internal use',    # loc
-    },
-    { Name        => '',
-      Type        => 'AdminCc',                             # loc
-      Domain      => 'RT::System-Role',
-      Instance    => '',
-      Description => 'Pseudogroup for internal use',        # loc
-    }, );
-
-@Queues = ({ Name              => 'General',
-             Description       => 'The default queue',
-             CorrespondAddress => "",
-             CommentAddress    => "", },
-           { Name        => '___Approvals',
-             Description => 'A system-internal queue for the approvals system',
-             Disabled    => 2, } );
-
-@ScripActions = (
-
-    {  Name        => 'Autoreply To Requestors',    # loc
-       Description =>
-'Always sends a message to the requestors independent of message sender' ,                                            # loc
-       ExecModule => 'Autoreply',
-       Argument   => 'Requestor' },
-    { Name        => 'Notify Requestors',                    # loc
-      Description => 'Sends a message to the requestors',    # loc
-      ExecModule  => 'Notify',
-      Argument    => 'Requestor' },
-    { Name        => 'Notify Owner as Comment',              # loc
-      Description => 'Sends mail to the owner',              # loc
-      ExecModule  => 'NotifyAsComment',
-      Argument    => 'Owner' },
-    { Name        => 'Notify Owner',                         # loc
-      Description => 'Sends mail to the owner',              # loc
-      ExecModule  => 'Notify',
-      Argument    => 'Owner' },
-    { Name        => 'Notify Ccs as Comment',              # loc
-      Description => 'Sends mail to the Ccs as a comment', # loc
-      ExecModule  => 'NotifyAsComment',
-      Argument    => 'Cc' },
-    { Name        => 'Notify Ccs',                                   # loc
-      Description => 'Sends mail to the Ccs',                        # loc
-      ExecModule  => 'Notify',
-      Argument    => 'Cc' },
-    { Name        => 'Notify AdminCcs as Comment',                        # loc
-      Description => 'Sends mail to the administrative Ccs as a comment', # loc
-      ExecModule  => 'NotifyAsComment',
-      Argument    => 'AdminCc' },
-    { Name        => 'Notify AdminCcs',                                   # loc
-      Description => 'Sends mail to the administrative Ccs',              # loc
-      ExecModule  => 'Notify',
-      Argument    => 'AdminCc' },
-
-    { Name        => 'Notify Requestors and Ccs as Comment',              # loc
-      Description => 'Send mail to requestors and Ccs as a comment',      # loc
-      ExecModule  => 'NotifyAsComment',
-      Argument    => 'Requestor,Cc' },
-
-    { Name        => 'Notify Requestors and Ccs',                         # loc
-      Description => 'Send mail to requestors and Ccs',                   # loc
-      ExecModule  => 'Notify',
-      Argument    => 'Requestor,Cc' },
-
-    { Name        => 'Notify Requestors, Ccs and AdminCcs as Comment',    # loc
-      Description => 'Send mail to all watchers as a "comment"',          # loc
-      ExecModule  => 'NotifyAsComment',
-      Argument    => 'All' },
-    { Name        => 'Notify Requestors, Ccs and AdminCcs',               # loc
-      Description => 'Send mail to all watchers',                         # loc
-      ExecModule  => 'Notify',
-      Argument    => 'All' },
-    { Name        => 'Notify Other Recipients as Comment',                # loc
-      Description => 'Sends mail to explicitly listed Ccs and Bccs',      # loc
-      ExecModule  => 'NotifyAsComment',
-      Argument    => 'OtherRecipients' },
-    { Name        => 'Notify Other Recipients',                           # loc
-      Description => 'Sends mail to explicitly listed Ccs and Bccs',      # loc
-      ExecModule  => 'Notify',
-      Argument    => 'OtherRecipients' },
-    { Name        => 'User Defined',                                      # loc
-      Description => 'Perform a user-defined action',                     # loc
-      ExecModule  => 'UserDefined', },
-    {  Name        => 'Create Tickets',                                    # loc
-       Description =>
-         'Create new tickets based on this scrip\'s template',             # loc
-       ExecModule => 'CreateTickets', },
-    { Name        => 'Open Tickets',
-      Description => 'Open tickets on correspondence',                    # loc
-      ExecModule  => 'AutoOpen' },
-);
-
-@ScripConditions = (
-    { Name                 => 'On Create',                                # loc
-      Description          => 'When a ticket is created',                 # loc
-      ApplicableTransTypes => 'Create',
-      ExecModule           => 'AnyTransaction', },
-
-    { Name                 => 'On Transaction',                           # loc
-      Description          => 'When anything happens',                    # loc
-      ApplicableTransTypes => 'Any',
-      ExecModule           => 'AnyTransaction', },
-    {
-
-      Name                 => 'On Correspond',                             # loc
-      Description          => 'Whenever correspondence comes in',          # loc
-      ApplicableTransTypes => 'Correspond',
-      ExecModule           => 'AnyTransaction', },
-
-    {
-
-      Name                 => 'On Comment',                                # loc
-      Description          => 'Whenever comments come in',                 # loc
-      ApplicableTransTypes => 'Comment',
-      ExecModule           => 'AnyTransaction' },
-    {
-
-      Name                 => 'On Status Change',                          # loc
-      Description          => 'Whenever a ticket\'s status changes',       # loc
-      ApplicableTransTypes => 'Status',
-      ExecModule           => 'AnyTransaction',
-
-    },
-    {
-
-      Name                 => 'On Priority Change',                       # loc
-      Description          => 'Whenever a ticket\'s priority changes',    # loc
-      ApplicableTransTypes => 'Set',
-      ExecModule           => 'PriorityChange',
-    },
-    {
-
-      Name                 => 'On Owner Change',                           # loc
-      Description          => 'Whenever a ticket\'s owner changes',        # loc
-      ApplicableTransTypes => 'Any',
-      ExecModule           => 'OwnerChange',
-
-    },
-    {
-
-      Name                 => 'On Queue Change',                           # loc
-      Description          => 'Whenever a ticket\'s queue changes',        # loc
-      ApplicableTransTypes => 'Set',
-      ExecModule           => 'QueueChange',
-
-    },
-    {  Name                 => 'On Resolve',                               # loc
-       Description          => 'Whenever a ticket is resolved',            # loc
-       ApplicableTransTypes => 'Status',
-       ExecModule           => 'StatusChange',
-       Argument             => 'resolved'
-
-    },
-
-    {  Name                 => 'User Defined',                             # loc
-       Description          => 'Whenever a user-defined condition occurs', # loc
-       ApplicableTransTypes => 'Any',
-       ExecModule           => 'UserDefined'
-
-    },
-
-);
-
-@Templates = (
-    { Queue       => '0',
-      Name        => 'Blank',                                             # loc
-      Description => 'A blank template',                                  # loc
-      Content     => '', },
-    {  Queue       => '0',
-       Name        => 'Autoreply',                                         # loc
-       Description => 'Default Autoresponse template',                     # loc
-       Content     => 'Subject: AutoReply: {$Ticket->Subject}
-
-
-Greetings,
-
-This message has been automatically generated in response to the
-creation of a trouble ticket regarding:
-       "{$Ticket->Subject()}", 
-a summary of which appears below.
-
-There is no need to reply to this message right now.  Your ticket has been
-assigned an ID of [{$rtname} #{$Ticket->id()}].
-
-Please include the string:
-
-         [{$rtname} #{$Ticket->id}]
-
-in the subject line of all future correspondence about this issue. To do so, 
-you may reply to this message.
-
-                        Thank you,
-                        {$Ticket->QueueObj->CorrespondAddress()}
-
--------------------------------------------------------------------------
-{$Transaction->Content()}
-'
-    },
-
-    {  Queue       => '0',
-       Name        => 'Transaction',                     # loc
-       Description => 'Default transaction template',    # loc
-       Content     => 'RT-Attach-Message: yes
-
-
-{$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
-Transaction: {$Transaction->Description}
-       Queue: {$Ticket->QueueObj->Name}
-     Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject given)"}
-       Owner: {$Ticket->OwnerObj->Name}
-  Requestors: {$Ticket->RequestorAddresses}
-      Status: {$Ticket->Status}
- Ticket <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >
-
-
-{$Transaction->Content()}
-'
-    },
-
-    {
-
-      Queue       => '0',
-      Name        => 'Admin Correspondence',                     # loc
-      Description => 'Default admin correspondence template',    # loc
-      Content     => 'RT-Attach-Message: yes
-
-
-<URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >
-
-{$Transaction->Content()}
-'
-    },
-
-    {  Queue       => '0',
-       Name        => 'Correspondence',                          # loc
-       Description => 'Default correspondence template',         # loc
-       Content     => 'RT-Attach-Message: yes
-
-{$Transaction->Content()}
-'
-    },
-
-    {  Queue       => '0',
-       Name        => 'Admin Comment',                           # loc
-       Description => 'Default admin comment template',          # loc
-       Content     =>
-'Subject: [Comment] {my $s=($Transaction->Subject||$Ticket->Subject); $s =~ s/\\[Comment\\]//g; $comment =~ s/^Re//i; $s;}
-
-
-{$RT::WebURL}Ticket/Display.html?id={$Ticket->id}
-This is a comment.  It is not sent to the Requestor(s):
-
-{$Transaction->Content()}
-'
-    },
-
-    {  Queue       => '0',
-       Name        => 'Status Change',                                     # loc
-       Description => 'Ticket status changed',                             # loc
-       Content     => 'Subject: Status Changed to: {$Transaction->NewValue}
-
-
-{$RT::WebURL}Ticket/Display.html?id={$Ticket->id}
-
-{$Transaction->Content()}
-'
-    },
-
-    {
-
-      Queue       => '0',
-      Name        => 'Resolved',                 # loc
-      Description => 'Ticket Resolved',          # loc
-      Content     => 'Subject: Resolved: {$Ticket->Subject}
-
-According to our records, your request has been resolved. If you have any
-further questions or concerns, please respond to this message.
-'
-    },
-    {  Queue       => '___Approvals',
-       Name        => "New Pending Approval",    # loc
-       Description =>
-         "Notify Owners and AdminCcs of new items pending their approval", # loc
-       Content => 'Subject: New Pending Approval: {$Ticket->Subject}
-
-Greetings,
-
-There is a new item pending your approval: "{$Ticket->Subject()}", 
-a summary of which appears below.
-
-Please visit {$RT::WebURL}Approvals/Display.html?id={$Ticket->id}
-to approve or reject this ticket, or {$RT::WebURL}Approvals/ to
-batch-process all your pending approvals.
-
--------------------------------------------------------------------------
-{$Transaction->Content()}
-'
-    },
-    {  Queue       => '___Approvals',
-       Name        => "Approval Passed",    # loc
-       Description =>
-         "Notify Owner of their ticket has been approved by some approver", # loc
-       Content => 'Subject: Ticket Approved: {$Ticket->Subject}
-
-Greetings,
-
-Your ticket has been approved by { eval { $Approval->OwnerObj->Name } }.
-Other approvals may be pending.
-'
-    },
-    {  Queue       => '___Approvals',
-       Name        => "All Approvals Passed",    # loc
-       Description =>
-         "Notify Owner of their ticket has been approved by all approvers", # loc
-       Content => 'Subject: Ticket Approved: {$Ticket->Subject}
-
-Greetings,
-
-Your ticket has been approved.  Its Owner may now start to act on it.
-'
-    },
-    {  Queue       => '___Approvals',
-       Name        => "Approval Rejected",    # loc
-       Description =>
-         "Notify Owner of their rejected ticket", # loc
-       Content => 'Subject: Ticket Rejected: {$Ticket->Subject}
-
-Greetings,
-
-Your ticket has been rejected by { eval { $Approval->OwnerObj->Name } }.
-'
-    },
-);
-# }}}
-
-@Scrips = (
-    {  ScripCondition => 'On Correspond',
-       ScripAction    => 'Open Tickets',
-       Template       => 'Blank' },
-    {  ScripCondition => 'On Owner Change',
-       ScripAction    => 'Notify Owner',
-       Template       => 'Transaction' },
-    {  ScripCondition => 'On Create',
-       ScripAction    => 'AutoReply To Requestors',
-       Template       => 'AutoReply' },
-    {  ScripCondition => 'On Create',
-       ScripAction    => 'Notify AdminCcs',
-       Template       => 'Transaction' },
-    {  ScripCondition => 'On Correspond',
-       ScripAction    => 'Notify AdminCcs',
-       Template       => 'Admin Correspondence' },
-    {  ScripCondition => 'On Correspond',
-       ScripAction    => 'Notify Requestors And Ccs',
-       Template       => 'Correspondence' },
-    {  ScripCondition => 'On Correspond',
-       ScripAction    => 'Notify Other Recipients',
-       Template       => 'Correspondence' },
-    {  ScripCondition => 'On Comment',
-       ScripAction    => 'Notify AdminCcs As Comment',
-       Template       => 'Admin Comment' },
-    {  ScripCondition => 'On Comment',
-       ScripAction    => 'Notify Other Recipients As Comment',
-       Template       => 'Correspondence' },
-    {  ScripCondition => 'On Resolve',
-       ScripAction    => 'Notify Requestors',
-       Template       => 'Resolved' },
-    {  Description => "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval",    # loc
-       Queue          => '___Approvals',
-       ScripCondition => 'User Defined',
-       CustomIsApplicableCode => q[
-           $self->TicketObj->Type eq 'approval'        and
-           $self->TransactionObj->Field eq 'Status'    and
-           $self->TransactionObj->NewValue eq 'open'   and
-           eval { $T::Approving = ($self->TicketObj->AllDependedOnBy( Type => 'ticket' ))[0] }
-       ],
-       ScripAction    => 'Notify Owner',
-       Template       => 'New Pending Approval' },
-    {  Description => "If an approval is rejected, reject the original and delete pending approvals",    # loc
-       Queue            => '___Approvals',
-       ScripCondition   => 'On Status Change',
-       ScripAction      => 'User Defined',
-       CustomPrepareCode => q[
-# ------------------------------------------------------------------- #
-return(0) unless ( lc($self->TransactionObj->NewValue) eq "rejected" or
-                  lc($self->TransactionObj->NewValue) eq "deleted" );
-
-my $rejected = 0;
-my $links = $self->TicketObj->DependedOnBy;
-foreach my $link (@{ $links->ItemsArrayRef }) {
-    my $obj = $link->BaseObj;
-    if ($obj->QueueObj->IsActiveStatus($obj->Status)) {
-       if ($obj->Type eq 'ticket') {
-           $obj->Comment(
-               Content => $self->loc("Your request was rejected."),
-           );
-           $obj->SetStatus(
-               Status  => 'rejected',
-               Force   => 1,
-           );
-
-           $T::Approval = $self->TicketObj; # so we can access it inside templates
-           $self->{TicketObj} = $obj;  # we want the original id in the token line
-           $rejected = 1;
-       }
-       else {
-           $obj->SetStatus(
-               Status  => 'deleted',
-               Force   => 1,
-           );
-       }
-    }
-}
-
-$links = $self->TicketObj->DependsOn;
-foreach my $link (@{ $links->ItemsArrayRef }) {
-    my $obj = $link->TargetObj;
-    if ($obj->QueueObj->IsActiveStatus($obj->Status)) {
-       $obj->SetStatus(
-           Status      => 'deleted',
-           Force       => 1,
-       );
-    }
-}
-
-# Now magically turn myself into a Requestor Notify object...
-require RT::Action::Notify; bless($self, 'RT::Action::Notify');
-$self->{Argument} = 'Requestor'; $self->Prepare;
-
-return $rejected;
-# ------------------------------------------------------------------- #
-       ],
-       CustomCommitCode => '"never needed"',
-       Template          => 'Approval Rejected', },
-    {  Description => "When a ticket has been approved by any approver, add correspondence to the original ticket", # loc
-       Queue             => '___Approvals',
-       ScripCondition    => 'On Resolve',
-       ScripAction       => 'User Defined',
-       CustomPrepareCode => q[
-# ------------------------------------------------------------------- #
-return(0) unless ($self->TicketObj->Type eq 'approval');
-
-my $note;
-my $t = $self->TicketObj->Transactions;
-while (my $o = $t->Next) {
-    $note .= $o->Content . "\n" if $o->ContentObj
-           and $o->Content !~ /Default Approval/;
-}
-
-foreach my $obj ($self->TicketObj->AllDependedOnBy( Type => 'ticket' )) {
-    $obj->Comment(
-       Content => $self->loc( "Your request has been approved by [_1]. Other approvals may still be pending.", # loc
-           $self->TransactionObj->CreatorObj->Name,
-       ) . "\n" . $self->loc( "Approver's notes: [_1]", # loc
-           $note
-       ),
-    );
-    $T::Approval = $self->TicketObj; # so we can access it inside templates
-    $self->{TicketObj} = $obj;  # we want the original id in the token line
-}
-
-# Now magically turn myself into a Requestor Notify object...
-require RT::Action::Notify; bless($self, 'RT::Action::Notify');
-$self->{Argument} = 'Requestor'; $self->Prepare;
-
-return 1;
-# ------------------------------------------------------------------- #
-       ],
-       CustomCommitCode => '"never needed"',
-       Template => 'Approval Passed' },
-    {  Description => "When a ticket has been approved by all approvers, add correspondence to the original ticket", # loc
-       Queue             => '___Approvals',
-       ScripCondition    => 'On Resolve',
-       ScripAction       => 'User Defined',
-       CustomPrepareCode  => q[
-# ------------------------------------------------------------------- #
-# Find all the tickets that depend on this (that this is approving)
-
-my $Ticket = $self->TicketObj;
-my @TOP    = $Ticket->AllDependedOnBy( Type => 'ticket' );
-my $links  = $Ticket->DependedOnBy;
-my $passed = 0;
-
-while (my $link = $links->Next) {
-    my $obj = $link->BaseObj;
-    next if ($obj->HasUnresolvedDependencies( Type => 'approval' ));
-
-    if ($obj->Type eq 'ticket') {
-       $obj->Comment(
-           Content     => $self->loc("Your request has been approved."),
-       );
-       $T::Approval  = $Ticket;    # so we can access it inside templates
-       $self->{TicketObj} = $obj;  # we want the original id in the token line
-       $passed = 1;
-    }
-    elsif ($obj->Type eq 'approval') {
-       $obj->SetStatus( Status => 'open', Force => 1 );
-    }
-    elsif ($RT::UseCodeTickets and $obj->Type eq 'code') {
-       my $code = $obj->Transactions->First->Content;
-       my $rv;
-
-       foreach my $TOP (@TOP) {
-           local $@;
-           $rv++ if eval $code;
-           $RT::Logger->error("Cannot eval code: $@") if $@;
-       }
-
-       if ($rv or !@TOP) {
-           $obj->SetStatus( Status     => 'resolved', Force    => 1,);
-       }
-       else {
-           $obj->SetStatus( Status     => 'rejected', Force    => 1,);
-       }
-    }
-}
-
-# Now magically turn myself into a Requestor Notify object...
-require RT::Action::Notify; bless($self, 'RT::Action::Notify');
-$self->{Argument} = 'Requestor'; $self->Prepare;
-
-return 0; # ignore $passed;
-# ------------------------------------------------------------------- #
-       ],
-       CustomCommitCode => '"never needed"',
-       Template => 'All Approvals Passed', },
-
-);
-
-@ACL = (
-    { UserId => 'Nobody',      # - principalId
-      Right  => 'OwnTicket', },
-
-    { UserId => 'root',        # - principalid
-      Right  => 'SuperUser', },
-
-);
diff --git a/rt/etc/rt.spec b/rt/etc/rt.spec
deleted file mode 100644 (file)
index 14200c1..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-Summary: rt Request Tracker
-
-Name: rt
-Version: 2.0.9pre5
-Release: 1
-Group: Applications/Web
-Packager: Jesse Vincent <jesse@bestpractical.com>
-Vendor: http://www.fsck.com/projects/rt
-Requires: perl
-Requires: mod_perl > 1.22
-Requires: perl-DBI >= 1.18
-Requires: perl-DBIx-DataSource >= 0.02
-Requires: perl-DBIx-SearchBuilder >= 0.47
-Requires: perl-HTML-Parser
-Requires: perl-MLDBM
-Requires: perl-libnet
-Requires: perl-CGI.pm >= 2.78
-Requires: perl-Params-Validate >= 0.02
-Requires: perl-HTML-Mason >= 0.896
-Requires: perl-libapreq
-Requires: perl-Apache-Session >= 1.53
-Requires: perl-MIME-tools >= 5.411
-Requires: perl-MailTools >= 1.20
-Requires: perl-Getopt-Long >= 2.24
-Requires: perl-Tie-IxHash
-Requires: perl-TimeDate
-Requires: perl-Time-HiRes
-Requires: perl-Text-Wrapper
-Requires: perl-Text-Template
-Requires: perl-File-Spec >= 0.8
-Requires: perl-FreezeThaw
-Requires: perl-Storable
-Requires: perl-File-Temp
-Requires: perl-Log-Dispatch >= 1.6                     
-
-Source: http://www.fsck.com/pub/rt/release/%{name}.tar.gz
-Copyright: GPL 
-BuildRoot: /var/tmp/rt-root
-
-%description
-RT is an industrial-grade ticketing system. It lets a group
-of people intelligently and efficiently manage requests
-submitted by a community of users. RT is used by systems
-administrators, customer support staffs, NOCs, developers
-and even marketing departments at over a thousand sites
-around the world. 
-
-%prep
-groupadd rt || true
-%setup -q -n %{name}
-
-%build
-
-%install
-
-if [ x$RPM_BUILD_ROOT != x ]; then
-rm -rf $RPM_BUILD_ROOT
-fi
-
-#
-# Perform all the non-site specfic steps whilst building the package
-#
-make dirs libs-install html-install bin-install  DESTDIR=$RPM_BUILD_ROOT
-#
-# fixperms needs these, so make fake empty files
-touch $RPM_BUILD_ROOT/opt/rt2/etc/insertdata $RPM_BUILD_ROOT/opt/rt2/etc/config.pm
-make fixperms insert-install WEB_USER=www DESTDIR=$RPM_BUILD_ROOT
-
-#
-# Copy in the files needed again after install
-#
-mkdir -p $RPM_BUILD_ROOT/opt/rt2/postinstall/bin
-cp -rp Makefile etc tools $RPM_BUILD_ROOT/opt/rt2/postinstall
-cp -rp bin/initacls.* $RPM_BUILD_ROOT/opt/rt2/postinstall/bin
-
-# logging in /var/log/rt2
-mkdir -p $RPM_BUILD_ROOT/var/log/rt2
-chown www $RPM_BUILD_ROOT/var/log/rt2
-chgrp rt $RPM_BUILD_ROOT/var/log/rt2
-chmod ug=rwx,o= $RPM_BUILD_ROOT/var/log/rt2
-
-%clean
-if [ x$RPM_BUILD_ROOT != x ]; then
-rm -rf $RPM_BUILD_ROOT
-fi
-
-#
-# A new rt groups is required
-#
-%pre
-groupadd rt || true
-
-#
-# Show the user the site specific steps required after install
-#
-%post
-cat <<EOF
------------------------------------------------------------------------
-rt2 installation is complete. Now create the rt2 database by running:
------------------------------------------------------------------------
-
-# cd /opt/rt2/postinstall
-# make config-replace initialize.mysql insert RT_LOG_PATH=/var/log/rt2 DB_RT_PASS=new_rt_user_password
-
-Choose your own new_rt_user_password. You will need the mysql root password.
-You can try Pg or Oracle instead of mysql - untested.
-
-Review and configure your site specific details in /opt/rt2/etc/config.pm
-EOF
-
-%preun
-
-%files
-%dir /opt/rt2
-/opt/rt2/bin
-/opt/rt2/WebRT
-/opt/rt2/lib
-/opt/rt2/local
-/opt/rt2/man
-/opt/rt2/postinstall
-%dir /opt/rt2/etc
-/opt/rt2/etc/insertdata
-%config /opt/rt2/etc/config.pm
-%dir /var/log/rt2
-
-%changelog
-* Mon Sep 24 2001 Jesse Vincent <jesse@bestpractical.com>
-  Switch to rt DESTDIR support
-* Fri Sep 14 2001 Cris Bailiff <c.bailiff@devsecure.com>
-  Fix permissions on created /var/log/rt2 and roll in 2.0.7
-* Tue Sep 4 2001 Cris Bailiff <c.bailiff@devsecure.com>
-- created initial spec file
-* Tue Sep 4 2001 Cris Bailiff <c.bailiff@devsecure.com>
-- created initial spec file
-* Tue Sep 4 2001 Cris Bailiff <c.bailiff@devsecure.com>
-- created initial spec file
diff --git a/rt/etc/schema.Informix b/rt/etc/schema.Informix
deleted file mode 100644 (file)
index 6a4e533..0000000
+++ /dev/null
@@ -1,364 +0,0 @@
--- This schema was adopted from the oracle schema by
--- Andre Koppel. 
--- Version 0.2 Date 2003.10.21
--- The work is still in progress
-
-CREATE TABLE Attachments (
-       id              SERIAL,
-       TransactionId   INTEGER NOT NULL,
-       Parent          INTEGER DEFAULT 0 NOT NULL, 
-       MessageId       VARCHAR(160),
-       Subject         VARCHAR(255),
-       Filename        VARCHAR(255),
-       ContentType     VARCHAR(80),
-       ContentEncoding VARCHAR(80),
-       Content         BYTE,
-       Headers         BYTE,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-); 
-CREATE INDEX Attachments1 ON Attachments (Parent);
-CREATE INDEX Attachments2 ON Attachments (TransactionId);
-CREATE INDEX Attachments3 ON Attachments (Parent, TransactionId);
-
-
-CREATE TABLE Queues (
-       id                      SERIAL,
-       Name                    VARCHAR(200) DEFAULT '' NOT NULL,
-       Description             VARCHAR(255) DEFAULT NULL,
-       CorrespondAddress       VARCHAR(120) DEFAULT NULL,
-       CommentAddress          VARCHAR(120) DEFAULT NULL,
-       InitialPriority         INTEGER DEFAULT 0 NOT NULL,
-       FinalPriority           INTEGER DEFAULT 0 NOT NULL,
-       DefaultDueIn            INTEGER DEFAULT 0 NOT NULL,
-       Creator                 INTEGER DEFAULT 0 NOT NULL,
-       Created                 DATETIME YEAR TO SECOND,
-       LastUpdatedBy           INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated             DATETIME YEAR TO SECOND,
-       Disabled                INTEGER DEFAULT 0 NOT NULL,
-        PRIMARY KEY (id)
-);
-CREATE UNIQUE INDEX Queues1 ON Queues (Name);
-CREATE INDEX Queues2 ON Queues (Disabled);
-
-
-CREATE TABLE Links (
-       id              SERIAL,
-       Base            VARCHAR(240) DEFAULT NULL,
-       Target          VARCHAR(240) DEFAULT NULL,
-       Type            VARCHAR(20) DEFAULT '' NOT NULL,
-       LocalTarget     INTEGER DEFAULT 0 NOT NULL,
-       LocalBase       INTEGER DEFAULT 0 NOT NULL,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated     DATETIME YEAR TO SECOND,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
--- CREATE UNIQUE INDEX Links1 ON Links (Base, Target, Type);
-CREATE INDEX Links2 ON Links (Base, Type);
-CREATE INDEX Links3 ON Links (Target, Type);
-CREATE INDEX Links4 ON Links(Type,LocalBase);
-
-
-CREATE TABLE Principals (
-       id              SERIAL,
-       PrincipalType   VARCHAR(16) DEFAULT '' NOT NULL,
-       ObjectId        INTEGER DEFAULT 0,
-       Disabled        INTEGER DEFAULT 0 NOT NULL,
-        PRIMARY KEY (id)
-);
-CREATE INDEX Principals2 ON Principals (ObjectId);
-
-
-CREATE TABLE Groups (
-       id              SERIAL,
-       Name            VARCHAR(200) DEFAULT NULL,
-       Description     VARCHAR(255) DEFAULT NULL,
-       Domain          VARCHAR(64) DEFAULT '',
-       Type            VARCHAR(64) DEFAULT '',
-       Instance        INTEGER DEFAULT 0 NOT NULL,
---     Instance        VARCHAR(64) DEFAULT '' NOT NULL,
-        PRIMARY KEY (id)
-);
-CREATE INDEX Groups1 ON Groups (Domain, Instance, Type, id);
-CREATE INDEX Groups2 ON Groups (Type, Instance, Domain);
-
-
-CREATE TABLE ScripConditions (
-       id                      SERIAL,
-       Name                    VARCHAR(200),
-       Description             VARCHAR(255),
-       ExecModule              VARCHAR(60),
-       Argument                VARCHAR(255),
-       ApplicableTransTypes    VARCHAR(60),
-       Creator                 INTEGER DEFAULT 0 NOT NULL,
-       Created                 DATETIME YEAR TO SECOND,
-       LastUpdatedBy           INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated             DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
-
-
-CREATE TABLE Transactions (
-       id                      SERIAL,
-       ObjectType              VARCHAR(255),
-       ObjectId                INTEGER DEFAULT 0 NOT NULL,
-       TimeTaken               INTEGER DEFAULT 0 NOT NULL,
-       Type                    VARCHAR(20),
-       Field                   VARCHAR(40),
-       OldValue                VARCHAR(255),
-       NewValue                VARCHAR(255),
-       ReferenceType           VARCHAR(255),
-       OldReference            INTEGER DEFAULT 0,
-       NewReference            INTEGER DEFAULT 0,
-       Data                    VARCHAR(255),
-       Creator                 INTEGER DEFAULT 0 NOT NULL,
-       Created                 DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
-CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
-
-
-CREATE TABLE Scrips (
-       id              SERIAL, 
-       Description     VARCHAR(255) DEFAULT '',
-       ScripCondition  INTEGER DEFAULT 0 NOT NULL,
-       ScripAction     INTEGER DEFAULT 0 NOT NULL,
-       ConditionRules  BYTE,
-       ActionRules     BYTE,
-       CustomIsApplicableCode  BYTE,
-       CustomPrepareCode       BYTE,
-       CustomCommitCode        BYTE,
-       Stage           VARCHAR(32),
-       Queue           INTEGER DEFAULT 0 NOT NULL,
-       Template        INTEGER DEFAULT 0 NOT NULL,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated     DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
-
-
-CREATE TABLE ACL (
-       id              SERIAL,
-       PrincipalType   VARCHAR(25) NOT NULL,
-       PrincipalId     INTEGER NOT NULL,
-       RightName       VARCHAR(25) NOT NULL,
-       ObjectType      VARCHAR(25) NOT NULL,
-       ObjectId        INTEGER DEFAULT 0 NOT NULL,
-       DelegatedBy     INTEGER DEFAULT 0 NOT NULL,
-       DelegatedFrom   INTEGER DEFAULT 0 NOT NULL,
-        PRIMARY KEY (id)
-);
-CREATE INDEX ACL1 ON ACL(RightName, ObjectType, ObjectId, PrincipalType, PrincipalId);
-
-
-CREATE TABLE GroupMembers (
-       id              SERIAL,
-       GroupId         INTEGER DEFAULT 0 NOT NULL,
-       MemberId        INTEGER DEFAULT 0 NOT NULL,
-        PRIMARY KEY (id)
-);
-CREATE UNIQUE INDEX GroupMembers1 ON GroupMembers (GroupId, MemberId);
-
-
-CREATE TABLE CachedGroupMembers (
-       id              SERIAL,
-       GroupId         INTEGER DEFAULT 0,
-       MemberId        INTEGER DEFAULT 0,
-       Via             INTEGER DEFAULT 0,
-       ImmediateParentId       INTEGER DEFAULT 0,
-       Disabled        INTEGER DEFAULT 0 NOT NULL,
-        PRIMARY KEY (id)
-);
-CREATE INDEX DisGrouMem ON CachedGroupMembers (GroupId, MemberId, Disabled);
-CREATE INDEX GrouMem ON CachedGroupMembers (GroupId, MemberId);
-
-
-CREATE TABLE Users (
-       id                      SERIAL,
-       Name                    VARCHAR(200) NOT NULL,
-       Password                VARCHAR(40),
-       Comments                BYTE,
-       Signature               BYTE,
-       EmailAddress            VARCHAR(120),
-       FreeFormContactInfo     BYTE,
-       Organization            VARCHAR(200),
-       RealName                VARCHAR(120),
-       NickName                VARCHAR(16),
-       Lang                    VARCHAR(16),
-       EmailEncoding           VARCHAR(16),
-       WebEncoding             VARCHAR(16),
-       ExternalContactInfoId   VARCHAR(100),
-       ContactInfoSystem       VARCHAR(30),
-       ExternalAuthId          VARCHAR(100),
-       AuthSystem              VARCHAR(30),
-       Gecos                   VARCHAR(16),
-       HomePhone               VARCHAR(30),
-       WorkPhone               VARCHAR(30),
-       MobilePhone             VARCHAR(30),
-       PagerPhone              VARCHAR(30),
-       Address1                VARCHAR(200),
-       Address2                VARCHAR(200),
-       City                    VARCHAR(100),
-       State                   VARCHAR(100),
-       Zip                     VARCHAR(16),
-       Country                 VARCHAR(50),
-       Timezone                VARCHAR(50),
-       PGPKey                  BYTE,
-       Creator                 INTEGER DEFAULT 0 NOT NULL,
-       Created                 DATETIME YEAR TO SECOND,
-       LastUpdatedBy           INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated             DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
--- CREATE UNIQUE INDEX Users1 ON Users (Name);
-CREATE INDEX Users2 ON Users (Name);
-CREATE INDEX Users3 ON Users (id, EmailAddress);
-CREATE INDEX Users4 ON Users (EmailAddress);
-
-
-CREATE TABLE Tickets (
-       id                      SERIAL,
-       EffectiveId             INTEGER DEFAULT 0 NOT NULL,
-       Queue                   INTEGER DEFAULT 0 NOT NULL,
-       Type                    VARCHAR(16),            
-       IssueStatement          INTEGER DEFAULT 0 NOT NULL,
-       Resolution              INTEGER DEFAULT 0 NOT NULL,
-       Owner                   INTEGER DEFAULT 0 NOT NULL,
-       Subject                 VARCHAR(200) DEFAULT '[no subject]', 
-       InitialPriority         INTEGER DEFAULT 0 NOT NULL,
-       FinalPriority           INTEGER DEFAULT 0 NOT NULL,
-       Priority                INTEGER DEFAULT 0 NOT NULL,
-       TimeEstimated           INTEGER DEFAULT 0 NOT NULL,
-       TimeWorked              INTEGER DEFAULT 0 NOT NULL,
-       Status                  VARCHAR(10),            
-       TimeLeft                INTEGER DEFAULT 0 NOT NULL,
-       Told                    DATETIME YEAR TO SECOND,
-       Starts                  DATETIME YEAR TO SECOND,
-       Started                 DATETIME YEAR TO SECOND,
-       Due                     DATETIME YEAR TO SECOND,
-       Resolved                DATETIME YEAR TO SECOND,
-       LastUpdatedBy           INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated             DATETIME YEAR TO SECOND,
-       Creator                 INTEGER DEFAULT 0 NOT NULL,
-       Created                 DATETIME YEAR TO SECOND,
-       Disabled                INTEGER DEFAULT 0 NOT NULL,
-        PRIMARY KEY (id)
-);
-CREATE INDEX Tickets1 ON Tickets (Queue, Status);
-CREATE INDEX Tickets2 ON Tickets (Owner);
-CREATE INDEX Tickets3 ON Tickets (EffectiveId);
-CREATE INDEX Tickets4 ON Tickets (id, Status);
-CREATE INDEX Tickets5 ON Tickets (id, EffectiveId);
-CREATE INDEX Tickets6 ON Tickets (EffectiveId, Type);
-
-
-CREATE TABLE ScripActions (
-  id           SERIAL,
-  Name         VARCHAR(200),
-  Description  VARCHAR(255),
-  ExecModule   VARCHAR(60),
-  Argument     VARCHAR(255),
-  Creator      INTEGER DEFAULT 0 NOT NULL,
-  Created      DATETIME YEAR TO SECOND,
-  LastUpdatedBy        INTEGER DEFAULT 0 NOT NULL,
-  LastUpdated  DATETIME YEAR TO SECOND,
-  PRIMARY KEY (id)
-);
-
-
-CREATE TABLE Templates (
-       id              SERIAL,
-       Queue           INTEGER DEFAULT 0 NOT NULL,
-       Name            VARCHAR(200) NOT NULL,
-       Description     VARCHAR(255),
-       Type            VARCHAR(16),
-       Language        VARCHAR(16), 
-       TranslationOf   INTEGER DEFAULT 0 NOT NULL,
-       Content         BYTE,
-       LastUpdated     DATETIME YEAR TO SECOND,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
-
-
-CREATE TABLE TicketCustomFieldValues (
-       id              SERIAL,
-       Ticket          INTEGER NOT NULL,
-       CustomField     INTEGER NOT NULL,
-       Content         VARCHAR(255),
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated     DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
-
-CREATE INDEX TicketCustomFieldValues1 ON TicketCustomFieldValues (CustomField,Ticket,Content); 
-CREATE INDEX TicketCustomFieldValues2 ON TicketCustomFieldValues (CustomField,Ticket); 
-
-CREATE TABLE CustomFields (
-       id              SERIAL,
-       Name            VARCHAR(200),
-       Type            VARCHAR(200),
-       MaxValues       INTEGER DEFAULT 0 NOT NULL,
-       Pattern         VARCHAR(255),
-       LookupType      VARCHAR(255),
-       Description     VARCHAR(255),
-       SortOrder       INTEGER DEFAULT 0 NOT NULL,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated     DATETIME YEAR TO SECOND,
-       Disabled        SMALLINT DEFAULT 0 NOT NULL,
-        PRIMARY KEY (id)
-);
-
-
-CREATE TABLE CustomFieldValues (
-       id              SERIAL,
-       CustomField     INTEGER NOT NULL,
-       Name            VARCHAR(200),
-       Description     VARCHAR(255),
-       SortOrder       INTEGER DEFAULT 0 NOT NULL,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated     DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
-
-CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField);
-
-CREATE TABLE Attributes (
-       id              SERIAL,
-       Name                    VARCHAR(255) DEFAULT '' NOT NULL,
-       Description             VARCHAR(255) DEFAULT NULL,
-       Content         BYTE,
-       ContentType     VARCHAR(16),
-       ObjectType      VARCHAR(25) NOT NULL,
-       ObjectId        INTEGER DEFAULT 0 NOT NULL,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated     DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-); 
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
-
-CREATE TABLE sessions (
-       id              VARCHAR(32) NOT NULL,
-       a_session       BYTE,
-       LastUpdated     DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-);
-
diff --git a/rt/etc/schema.Pg b/rt/etc/schema.Pg
deleted file mode 100755 (executable)
index 2d45a94..0000000
+++ /dev/null
@@ -1,636 +0,0 @@
-------------------------------------------------------------------
--- My2Pg 1.23 translated dump
---
-------------------------------------------------------------------
-
-
-
---
--- Sequences for table ATTACHMENTS
---
-
-CREATE SEQUENCE attachments_id_seq;
-
--- {{{ Attachments
-
-CREATE TABLE Attachments (
-  id INTEGER DEFAULT nextval('attachments_id_seq'),
-  TransactionId integer NOT NULL  ,
-  Parent integer NOT NULL DEFAULT 0  ,
-  MessageId varchar(160) NULL  ,
-  Subject varchar(255) NULL  ,
-  Filename varchar(255) NULL  ,
-  ContentType varchar(80) NULL  ,
-  ContentEncoding varchar(80) NULL  ,
-  Content text NULL  ,
-  Headers text NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
-CREATE INDEX Attachments1 ON Attachments (Parent) ;
-CREATE INDEX Attachments2 ON Attachments (TransactionId) ;
-CREATE INDEX Attachments3 ON Attachments (Parent, TransactionId) ;
--- }}}
-
--- {{{ Queues
-
-
---
--- Sequences for table QUEUES
---
-
-CREATE SEQUENCE queues_id_seq;
-
-CREATE TABLE Queues (
-  id INTEGER DEFAULT nextval('queues_id_seq'),
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  CorrespondAddress varchar(120) NULL  ,
-  CommentAddress varchar(120) NULL  ,
-  InitialPriority integer NOT NULL DEFAULT 0  ,
-  FinalPriority integer NOT NULL DEFAULT 0  ,
-  DefaultDueIn integer NOT NULL DEFAULT 0  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  Disabled integer NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-
-);
-CREATE UNIQUE INDEX Queues1 ON Queues (Name) ;
-
--- }}}
-
--- {{{ Links
-
-
-
---
--- Sequences for table LINKS
---
-
-CREATE SEQUENCE links_id_seq;
-
-CREATE TABLE Links (
-  id INTEGER DEFAULT nextval('links_id_seq'),
-  Base varchar(240) NULL  ,
-  Target varchar(240) NULL  ,
-  Type varchar(20) NOT NULL  ,
-  LocalTarget integer NOT NULL DEFAULT 0  ,
-  LocalBase integer NOT NULL DEFAULT 0  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-CREATE UNIQUE INDEX Links1 ON Links (Base, Target, Type) ;
-CREATE INDEX Links4 ON Links(Type,LocalBase);
-
--- }}}
-
--- {{{ Principals
-
-
-
---
--- Sequences for table PRINCIPALS
---
-
-CREATE SEQUENCE principals_id_seq;
-
-CREATE TABLE Principals (
-        id INTEGER DEFAULT nextval('principals_id_seq') not null,
-        PrincipalType VARCHAR(16) not null,
-        ObjectId integer, 
-        Disabled integer NOT NULL DEFAULT 0 ,
-        PRIMARY KEY (id)
-
-);
-
-CREATE INDEX Principals2 ON Principals (ObjectId);
-
-
--- }}}
-
--- {{{ Groups
-
-
-
---
--- Sequences for table GROUPS
---
-
-CREATE SEQUENCE groups_id_seq;
-
-CREATE TABLE Groups (
-  id INTEGER DEFAULT nextval('groups_id_seq'),
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  Domain varchar(64),
-  Type varchar(64),
-  Instance integer,
-  PRIMARY KEY (id)
-
-);
-CREATE UNIQUE INDEX Groups1 ON Groups (Domain,Instance,Type,id, Name);
-CREATE INDEX Groups2 On Groups  (Type, Instance, Domain);
-
-
--- }}}
-
--- {{{ ScripConditions
-
-
-
---
--- Sequences for table SCRIPCONDITIONS
---
-
-CREATE SEQUENCE scripconditions_id_seq;
-
-CREATE TABLE ScripConditions (
-  id INTEGER DEFAULT nextval('scripconditions_id_seq'),
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  ApplicableTransTypes varchar(60) NULL  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
--- }}}
-
--- {{{ Transactions
-
-
---
--- Sequences for table TRANSACTIONS
---
-
-CREATE SEQUENCE transactions_id_seq;
-
-CREATE TABLE Transactions (
-  id INTEGER DEFAULT nextval('transactions_id_seq'),
-  ObjectType varchar(255) NOT NULL  ,
-  ObjectId integer NOT NULL DEFAULT 0  ,
-  TimeTaken integer NOT NULL DEFAULT 0  ,
-  Type varchar(20) NULL  ,
-  Field varchar(40) NULL  ,
-  OldValue varchar(255) NULL  ,
-  NewValue varchar(255) NULL  ,
-  ReferenceType varchar(255) NULL,
-  OldReference integer NULL  ,
-  NewReference integer NULL  ,
-  Data varchar(255) NULL  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
-
--- }}}
-
--- {{{ Scrips 
-
-
-
---
--- Sequences for table SCRIPS
---
-
-CREATE SEQUENCE scrips_id_seq;
-
-CREATE TABLE Scrips (
-  id INTEGER DEFAULT nextval('scrips_id_seq'),
-  Description varchar(255),
-  ScripCondition integer NOT NULL DEFAULT 0  ,
-  ScripAction integer NOT NULL DEFAULT 0  ,
-  ConditionRules text NULL  ,
-  ActionRules text NULL  ,
-  CustomIsApplicableCode text NULL  ,
-  CustomPrepareCode text NULL  ,
-  CustomCommitCode text NULL  ,
-  Stage varchar(32) NULL  ,
-  Queue integer NOT NULL DEFAULT 0  ,
-  Template integer NOT NULL DEFAULT 0  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
--- }}}
-
--- {{{ ACL
-
-
---
--- Sequences for table ACL
---
-
-CREATE SEQUENCE acl_id_seq;
-
-CREATE TABLE ACL (
-  id INTEGER DEFAULT nextval('acl_id_seq'),
-  PrincipalType varchar(25) NOT NULL, 
-
-  PrincipalId integer NOT NULL  , 
-  RightName varchar(25) NOT NULL  ,
-  ObjectType varchar(25) NOT NULL  ,
-  ObjectId integer NOT NULL DEFAULT 0,
-  DelegatedBy integer NOT NULL DEFAULT 0, 
-  DelegatedFrom integer NOT NULL DEFAULT 0, 
-  PRIMARY KEY (id)
-
-);
-
-CREATE INDEX  ACL1 on ACL(RightName, ObjectType, ObjectId,PrincipalType,PrincipalId);
-
-
--- }}}
-
--- {{{ GroupMembers 
-
-
-
---
--- Sequences for table GROUPMEMBERS
---
-
-CREATE SEQUENCE groupmembers_id_seq;
-
-CREATE TABLE GroupMembers (
-  id INTEGER DEFAULT nextval('groupmembers_id_seq'),
-  GroupId integer NOT NULL DEFAULT 0,
-  MemberId integer NOT NULL DEFAULT 0,  
-  PRIMARY KEY (id)
-
-);
-
--- }}}
-
--- {{{ GroupMembersCache
-
-
-
---
--- Sequences for table CACHEDGROUPMEMBERS
---
-
-CREATE SEQUENCE cachedgroupmembers_id_seq;
-
-CREATE TABLE CachedGroupMembers (
-        id int DEFAULT nextval('cachedgroupmembers_id_seq'),
-        GroupId int, 
-        MemberId int, 
-        Via int, 
-        ImmediateParentId int, 
-        Disabled integer NOT NULL DEFAULT 0 , 
-        PRIMARY KEY (id)
-
-);
-
-CREATE INDEX CachedGroupMembers2 on CachedGroupMembers (MemberId);
-CREATE INDEX CachedGroupMembers3 on CachedGroupMembers (GroupId);
-CREATE INDEX DisGrouMem  on CachedGroupMembers (GroupId,MemberId,Disabled); 
-
--- }}}
-
--- {{{ Users
-
-
-
---
--- Sequences for table USERS
---
-
-CREATE SEQUENCE users_id_seq;
-
-CREATE TABLE Users (
-  id INTEGER DEFAULT nextval('users_id_seq'),
-  Name varchar(200) NOT NULL  ,
-  Password varchar(40) NULL  ,
-  Comments text NULL  ,
-  Signature text NULL  ,
-  EmailAddress varchar(120) NULL  ,
-  FreeformContactInfo text NULL  ,
-  Organization varchar(200) NULL  ,
-  RealName varchar(120) NULL  ,
-  NickName varchar(16) NULL  ,
-  Lang varchar(16) NULL  ,
-  EmailEncoding varchar(16) NULL  ,
-  WebEncoding varchar(16) NULL  ,
-  ExternalContactInfoId varchar(100) NULL  ,
-  ContactInfoSystem varchar(30) NULL  ,
-  ExternalAuthId varchar(100) NULL  ,
-  AuthSystem varchar(30) NULL  ,
-  Gecos varchar(16) NULL  ,
-  HomePhone varchar(30) NULL  ,
-  WorkPhone varchar(30) NULL  ,
-  MobilePhone varchar(30) NULL  ,
-  PagerPhone varchar(30) NULL  ,
-  Address1 varchar(200) NULL  ,
-  Address2 varchar(200) NULL  ,
-  City varchar(100) NULL  ,
-  State varchar(100) NULL  ,
-  Zip varchar(16) NULL  ,
-  Country varchar(50) NULL  ,
-  Timezone varchar(50) NULL  ,
-  PGPKey text NULL,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
-
-CREATE UNIQUE INDEX Users1 ON Users (Name) ;
-CREATE INDEX Users2 ON Users (Name);
-CREATE INDEX Users3 ON Users (id, EmailAddress);
-CREATE INDEX Users4 ON Users (EmailAddress);
-
-
--- }}}
-
--- {{{ Tickets
-
-
-
---
--- Sequences for table TICKETS
---
-
-CREATE SEQUENCE tickets_id_seq;
-
-CREATE TABLE Tickets (
-  id INTEGER DEFAULT nextval('tickets_id_seq'),
-  EffectiveId integer NOT NULL DEFAULT 0  ,
-  Queue integer NOT NULL DEFAULT 0  ,
-  Type varchar(16) NULL  ,
-  IssueStatement integer NOT NULL DEFAULT 0  ,
-  Resolution integer NOT NULL DEFAULT 0  ,
-  Owner integer NOT NULL DEFAULT 0  ,
-  Subject varchar(200) NULL DEFAULT '[no subject]' ,
-  InitialPriority integer NOT NULL DEFAULT 0  ,
-  FinalPriority integer NOT NULL DEFAULT 0  ,
-  Priority integer NOT NULL DEFAULT 0  ,
-  TimeEstimated integer NOT NULL DEFAULT 0  ,
-  TimeWorked integer NOT NULL DEFAULT 0  ,
-  Status varchar(10) NULL  ,
-  TimeLeft integer NOT NULL DEFAULT 0  ,
-  Told TIMESTAMP NULL  ,
-  Starts TIMESTAMP NULL  ,
-  Started TIMESTAMP NULL  ,
-  Due TIMESTAMP NULL  ,
-  Resolved TIMESTAMP NULL  ,
-
-
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  Disabled integer NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-
-);
-
-CREATE INDEX Tickets1 ON Tickets (Queue, Status) ;
-CREATE INDEX Tickets2 ON Tickets (Owner) ;
-CREATE INDEX Tickets3 ON Tickets (EffectiveId) ;
-CREATE INDEX Tickets4 ON Tickets (id, Status) ;
-CREATE INDEX Tickets5 ON Tickets (id, EffectiveId) ;
-
--- }}}
-
--- {{{ ScripActions
-
-
-
---
--- Sequences for table SCRIPACTIONS
---
-
-CREATE SEQUENCE scripactions_id_seq;
-
-CREATE TABLE ScripActions (
-  id INTEGER DEFAULT nextval('scripactions_id_seq'),
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
--- }}}
-
--- {{{ Templates
-
-
-
---
--- Sequences for table TEMPLATES
---
-
-CREATE SEQUENCE templates_id_seq;
-
-CREATE TABLE Templates (
-  id INTEGER DEFAULT nextval('templates_id_seq'),
-  Queue integer NOT NULL DEFAULT 0 ,
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Type varchar(16) NULL  ,
-  Language varchar(16) NULL  ,
-  TranslationOf integer NOT NULL DEFAULT 0  ,
-  Content text NULL  ,
-  LastUpdated TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
--- }}}
-
--- {{{ ObjectCustomFieldValues 
-
-
-
---
--- Sequences for table TICKETCUSTOMFIELDVALUES
---
-
-CREATE SEQUENCE objectcustomfieldvalues_id_s;
-
-CREATE TABLE ObjectCustomFieldValues (
-  id INTEGER DEFAULT nextval('objectcustomfieldvalues_id_s'),
-  CustomField int NOT NULL  ,
-  ObjectType varchar(255) NULL  ,
-  ObjectId int NOT NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Content varchar(255) NULL  ,
-  LargeContent text NULL,
-  ContentType varchar(80) NULL,
-  ContentEncoding varchar(80) NULL  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  Disabled integer NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-
-);
-
-CREATE INDEX ObjectCustomFieldValues1 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId,Content); 
-CREATE INDEX ObjectCustomFieldValues2 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId); 
-
--- }}}
-
--- {{{ CustomFields
-
-
-
---
--- Sequences for table CUSTOMFIELDS
---
-
-CREATE SEQUENCE customfields_id_seq;
-
-CREATE TABLE CustomFields (
-  id INTEGER DEFAULT nextval('customfields_id_seq'),
-  Name varchar(200) NULL  ,
-  Type varchar(200) NULL  ,
-  MaxValues integer NOT NULL DEFAULT 0  ,
-  Repeated integer NOT NULL DEFAULT 0 , 
-  Pattern varchar(255) NULL  ,
-  LookupType varchar(255) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  Disabled integer NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-
-);
-
--- }}}
-
--- {{{ ObjectCustomFields 
-
-CREATE SEQUENCE objectcustomfields_id_s;
-
-CREATE TABLE ObjectCustomFields (
-  id INTEGER DEFAULT nextval('objectcustomfields_id_s'),
-  CustomField integer NOT NULL,
-  ObjectId integer NOT NULL,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
--- }}}
-
--- {{{ CustomFieldValues 
-
-
-
---
--- Sequences for table CUSTOMFIELDVALUES
---
-
-CREATE SEQUENCE customfieldvalues_id_seq;
-
-CREATE TABLE CustomFieldValues (
-  id INTEGER DEFAULT nextval('customfieldvalues_id_seq'),
-  CustomField int NOT NULL  ,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
-CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField);
-
--- }}}
-
-
--- {{{ Attributes
-
-CREATE SEQUENCE attributes_id_seq;
-
-CREATE TABLE Attributes (
-  id INTEGER DEFAULT nextval('attributes_id_seq'),
-  Name varchar(255) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Content text,
-  ContentType varchar(16),
-  ObjectType varchar(64),
-  ObjectId integer, 
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
--- }}}
-
--- {{{ Sessions
-
--- sessions is used by Apache::Session to keep sessions in the database.
--- We should have a reaper script somewhere.
-
-CREATE TABLE sessions (
-    id char(32) NOT NULL,
-    a_session bytea,
-    LastUpdated TIMESTAMP not null default current_timestamp,
-    PRIMARY KEY (id)
-
-);
-
--- }}}
-
diff --git a/rt/etc/schema.SQLite b/rt/etc/schema.SQLite
deleted file mode 100644 (file)
index 8791bb4..0000000
+++ /dev/null
@@ -1,442 +0,0 @@
---- {{{ Attachments
-
-CREATE TABLE Attachments (
-  id INTEGER PRIMARY KEY  ,
-  TransactionId INTEGER  ,
-  Parent integer NULL  ,
-  MessageId varchar(160) NULL  ,
-  Subject varchar(255) NULL  ,
-  Filename varchar(255) NULL  ,
-  ContentType varchar(80) NULL  ,
-  ContentEncoding varchar(80) NULL  ,
-  Content LONGTEXT NULL  ,
-  Headers LONGTEXT NULL  ,
-  Creator integer NULL  ,
-  Created DATETIME NULL 
-  
-) ;
-
-CREATE INDEX Attachments1 ON Attachments (Parent) ;
-CREATE INDEX Attachments2 ON Attachments (TransactionId) ;
-CREATE INDEX Attachments3 ON Attachments (Parent, TransactionId) ;
---- }}}
-
---- {{{ Queues
-CREATE TABLE Queues (
-  id INTEGER PRIMARY KEY  ,
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  CorrespondAddress varchar(120) NULL  ,
-  CommentAddress varchar(120) NULL  ,
-  InitialPriority integer NULL  ,
-  FinalPriority integer NULL  ,
-  DefaultDueIn integer NULL  ,
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0 
-) ;
-CREATE UNIQUE INDEX Queues1 ON Queues (Name) ;
-
---- }}}
-
---- {{{ Links
-
-CREATE TABLE Links (
-  id INTEGER PRIMARY KEY  ,
-  Base varchar(240) NULL  ,
-  Target varchar(240) NULL  ,
-  Type varchar(20) NOT NULL  ,
-  LocalTarget integer NULL  ,
-  LocalBase integer NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  ,
-  Creator integer NULL  ,
-  Created DATETIME NULL  
-  
-) ;
-CREATE UNIQUE INDEX Links1 ON Links (Base, Target, Type) ;
-CREATE INDEX Links4 ON Links(Type,LocalBase);
-
---- }}}
-
---- {{{ Principals
-
-CREATE TABLE Principals (
-        id INTEGER PRIMARY KEY,
-        PrincipalType VARCHAR(16) not null,
-        ObjectId integer,
-        Disabled int2 NOT NULL DEFAULT 0 
-        
-) ;
-
---- }}}
-
---- {{{ Groups
-
-CREATE TABLE Groups (
-  id INTEGER ,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  Domain varchar(64),
-  Type varchar(64),
-  Instance integer
-  
-) ;
-
-CREATE UNIQUE INDEX Groups1 ON Groups (Name,Domain,Type,Instance) ;
-
---- }}}
-
---- {{{ ScripConditions
-
-CREATE TABLE ScripConditions (
-  id INTEGER PRIMARY KEY  ,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  ApplicableTransTypes varchar(60) NULL  ,
-
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  
-  
-) ;
-
---- }}}
-
---- {{{ Transactions
-CREATE TABLE Transactions (
-  id INTEGER PRIMARY KEY  ,
-  ObjectType varchar(255) NULL  ,
-  ObjectId integer NULL  ,
-  TimeTaken integer NULL  ,
-  Type varchar(20) NULL  ,
-  Field varchar(40) NULL  ,
-  OldValue varchar(255) NULL  ,
-  NewValue varchar(255) NULL  ,
-  ReferenceType varchar(255) NULL  ,
-  OldReference integer NULL  ,
-  NewReference integer NULL  ,
-  Data varchar(255) NULL  ,
-
-  Creator integer NULL  ,
-  Created DATETIME NULL  
-  
-) ;
-CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
-
---- }}}
-
---- {{{ Scrips 
-
-CREATE TABLE Scrips (
-  id INTEGER PRIMARY KEY  ,
-  Description varchar(255),
-  ScripCondition integer NULL  ,
-  ScripAction integer NULL  ,
-  ConditionRules text NULL  ,
-  ActionRules text NULL  ,
-  CustomIsApplicableCode text NULL  ,
-  CustomPrepareCode text NULL  ,
-  CustomCommitCode text NULL  ,
-  Stage varchar(32) NULL  ,
-  Queue integer NULL  ,
-  Template integer NULL  ,
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  
-  
-) ;
-
---- }}}
-
---- {{{ ACL
-CREATE TABLE ACL (
-  id INTEGER PRIMARY KEY  ,
-  PrincipalType varchar(25) NOT NULL,
-
-  PrincipalId INTEGER,
-  RightName varchar(25) NOT NULL  ,
-  ObjectType varchar(25) NOT NULL  ,
-  ObjectId INTEGER default 0,
-  DelegatedBy integer NOT NULL default 0, 
-  DelegatedFrom integer NOT NULL default 0
-  
-) ;
-
-
---- }}}
-
---- {{{ GroupMembers 
-
-CREATE TABLE GroupMembers (
-  id INTEGER PRIMARY KEY  ,
-  GroupId integer NULL,
-  MemberId integer NULL
-  
-) ;
-
---- }}}
-
---- {{{ CachedGroupMembers
-
-create table CachedGroupMembers (
-        id integer primary key ,
-        GroupId int, 
-        MemberId int, 
-        Via int, 
-        ImmediateParentId int,
-        Disabled int2 NOT NULL DEFAULT 0  # if this cached group member is a member of this group by way of a disabled
-                                           # group or this group is disabled, this will be set to 1
-                                           # this allows us to not find members of disabled subgroups when listing off
-                                           # group members recursively.
-                                           # Also, this allows us to have the ACL system elide members of disabled groups
-
-        
-) ;
-
---- }}}
-
---- {{{ Users
-
-CREATE TABLE Users (
-  id INTEGER ,
-  Name varchar(200) NOT NULL  ,
-  Password varchar(40) NULL  ,
-  Comments blob NULL  ,
-  Signature blob NULL  ,
-  EmailAddress varchar(120) NULL  ,
-  FreeformContactInfo blob NULL  ,
-  Organization varchar(200) NULL  ,
-  RealName varchar(120) NULL  ,
-  NickName varchar(16) NULL  ,
-  Lang varchar(16) NULL  ,
-  EmailEncoding varchar(16) NULL  ,
-  WebEncoding varchar(16) NULL  ,
-  ExternalContactInfoId varchar(100) NULL  ,
-  ContactInfoSystem varchar(30) NULL  ,
-  ExternalAuthId varchar(100) NULL  ,
-  AuthSystem varchar(30) NULL  ,
-  Gecos varchar(16) NULL  ,
-  HomePhone varchar(30) NULL  ,
-  WorkPhone varchar(30) NULL  ,
-  MobilePhone varchar(30) NULL  ,
-  PagerPhone varchar(30) NULL  ,
-  Address1 varchar(200) NULL  ,
-  Address2 varchar(200) NULL  ,
-  City varchar(100) NULL  ,
-  State varchar(100) NULL  ,
-  Zip varchar(16) NULL  ,
-  Country varchar(50) NULL  ,
-  Timezone char(50) NULL  ,
-  PGPKey text NULL,
-
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  
-  
-) ;
-
-
-CREATE UNIQUE INDEX Users1 ON Users (Name) ;
-CREATE INDEX Users2 ON Users (Name);
-CREATE INDEX Users3 ON Users (id, EmailAddress);
-CREATE INDEX Users4 ON Users (EmailAddress);
-
-
---- }}}
-
---- {{{ Tickets
-
-CREATE TABLE Tickets (
-  id INTEGER PRIMARY KEY  ,
-  EffectiveId integer NULL  ,
-  Queue integer NULL  ,
-  Type varchar(16) NULL  ,
-  IssueStatement integer NULL  ,
-  Resolution integer NULL  ,
-  Owner integer NULL  ,
-  Subject varchar(200) NULL DEFAULT '[no subject]' ,
-  InitialPriority integer NULL  ,
-  FinalPriority integer NULL  ,
-  Priority integer NULL  ,
-  TimeEstimated integer NULL  ,
-  TimeWorked integer NULL  ,
-  Status varchar(10) NULL  ,
-  TimeLeft integer NULL  ,
-  Told DATETIME NULL  ,
-  Starts DATETIME NULL  ,
-  Started DATETIME NULL  ,
-  Due DATETIME NULL  ,
-  Resolved DATETIME NULL  ,
-
-
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  ,
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0
-  
-) ;
-
-CREATE INDEX Tickets1 ON Tickets (Queue, Status) ;
-CREATE INDEX Tickets2 ON Tickets (Owner) ;
-CREATE INDEX Tickets3 ON Tickets (EffectiveId) ;
-CREATE INDEX Tickets4 ON Tickets (id, Status) ;
-CREATE INDEX Tickets5 ON Tickets (id, EffectiveId) ;
-
---- }}}
-
---- {{{ ScripActions
-
-CREATE TABLE ScripActions (
-  id INTEGER PRIMARY KEY  ,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  
-  
-) ;
-
---- }}}
-
---- {{{ Templates
-
-CREATE TABLE Templates (
-  id INTEGER PRIMARY KEY  ,
-  Queue integer NOT NULL DEFAULT 0 ,
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Type varchar(16) NULL  ,
-  Language varchar(16) NULL  ,
-  TranslationOf integer NULL  ,
-  Content blob NULL  ,
-  LastUpdated DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  Creator integer NULL  ,
-  Created DATETIME NULL  
-  
-) ;
-
---- }}}
-
-
-
-# {{{ ObjectCustomFieldValues 
-
-CREATE TABLE ObjectCustomFieldValues (
-  id INTEGER NOT NULL  ,
-  CustomField int NOT NULL  ,
-  ObjectType varchar(255) NOT NULL,        # Final target of the Object
-  ObjectId int NOT NULL  ,                 # New -- Replaces Ticket
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Content varchar(255) NULL  ,
-  LargeContent LONGTEXT NULL,              # New -- to hold 255+ strings
-  ContentType varchar(80) NULL,                    # New -- only text/* gets searched
-  ContentEncoding varchar(80) NULL  ,      # New -- for binary Content
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX ObjectCustomFieldValues1 ON ObjectCustomFieldValues (Content); 
-CREATE INDEX ObjectCustomFieldValues2 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId); 
-
-# }}}
-
-# {{{ CustomFields
-
-CREATE TABLE CustomFields (
-  id INTEGER NOT NULL  ,
-  Name varchar(200) NULL  ,
-  Type varchar(200) NULL  ,    # Changed -- 'Single' and 'Multiple' is moved out
-  MaxValues integer,           # New -- was 'Single'(1) and 'Multiple'(0)
-  Pattern varchar(255) NULL  , # New -- Must validate against this
-  Repeated int2 NOT NULL DEFAULT 0 , # New -- repeated table entry
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-  LookupType varchar(255) NOT NULL,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-) ;
-
-# }}}
-
-# {{{ ObjectCustomFields 
-
-CREATE TABLE ObjectCustomFields (
-  id INTEGER NOT NULL  ,
-  CustomField int NOT NULL  ,
-  ObjectId integer NOT NULL,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-# }}}
-
-# {{{ CustomFieldValues 
-
-CREATE TABLE CustomFieldValues (
-  id INTEGER NOT NULL  ,
-  CustomField int NOT NULL  ,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField);
-# }}}
-
---- {{{ Attributes
-CREATE TABLE Attributes (
-  id INTEGER PRIMARY KEY  ,
-  Name varchar(255) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Content LONGTEXT NULL  ,
-  ContentType varchar(16),
-  ObjectType varchar(25) NOT NULL  ,
-  ObjectId INTEGER default 0,
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  
-) ;
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
---- }}}
-
diff --git a/rt/etc/schema.Sybase b/rt/etc/schema.Sybase
deleted file mode 100644 (file)
index 67a411d..0000000
+++ /dev/null
@@ -1,444 +0,0 @@
-# {{{ Attachments
-
-CREATE TABLE rt3.Attachments (
-  id numeric(38,0) identity,
-  TransactionId integer NOT NULL  ,
-  Parent integer NOT NULL   ,
-  MessageId varchar(160) NULL  ,
-  Subject varchar(255) NULL  ,
-  Filename varchar(255) NULL  ,
-  ContentType varchar(80) NULL  ,
-  ContentEncoding varchar(80) NULL  ,
-  Content TEXT NULL  ,
-  Headers TEXT NULL  ,
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX Attachments1 ON Attachments (Parent) ;
-CREATE INDEX Attachments2 ON Attachments (TransactionId) ;
-CREATE INDEX Attachments3 ON Attachments (Parent, TransactionId) ;
-# }}}
-
-# {{{ Queues
-CREATE TABLE rt3.Queues (
-  id numeric(38,0) identity,
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  CorrespondAddress varchar(120) NULL  ,
-  CommentAddress varchar(120) NULL  ,
-  InitialPriority integer NOT NULL   ,
-  FinalPriority integer NOT NULL   ,
-  DefaultDueIn integer NOT NULL   ,
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  Disabled numeric(1) NOT NULL  ,
-  PRIMARY KEY (id)
-) ;
-CREATE UNIQUE INDEX Queues1 ON Queues (Name) ;
-CREATE INDEX Queues2 ON Queues (Disabled) ;
-
-# }}}
-
-# {{{ Links
-
-CREATE TABLE rt3.Links (
-  id numeric(38,0) identity,
-  Base varchar(240) NULL  ,
-  Target varchar(240) NULL  ,
-  Type varchar(20) NOT NULL  ,
-  LocalTarget integer NOT NULL   ,
-  LocalBase integer NOT NULL   ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE UNIQUE INDEX Links1 ON Links (Base, Target, Type) ;
-CREATE INDEX Links2 ON Links (Base,  Type) ;
-CREATE INDEX Links3 ON Links (Target,  Type) ;
-CREATE INDEX Links4 ON Links(Type,LocalBase);
-
-# }}}
-
-# {{{ Principals
-
-CREATE TABLE rt3.Principals (
-      id numeric(38,0) identity,
-        PrincipalType VARCHAR(16) not null,
-        ObjectId integer,         Disabled numeric(1) NOT NULL  ,
-        PRIMARY KEY (id)
-) ;
-
-CREATE INDEX Principals2 ON Principals (ObjectId);
-
-# }}}
-
-# {{{ Groups
-
-CREATE TABLE rt3.Groups (
-  id numeric(38,0) identity,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  Domain varchar(64),
-  Type varchar(64),
-  Instance integer,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX Groups1 ON Groups (Domain,Instance,Type,id);
-CREATE INDEX Groups2 On Groups  (Type, Instance, Domain);   
-
-# }}}
-
-# {{{ ScripConditions
-
-CREATE TABLE rt3.ScripConditions (
-  id numeric(38,0) identity,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  ApplicableTransTypes varchar(60) NULL  ,
-
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-# }}}
-
-# {{{ Transactions
-CREATE TABLE rt3.Transactions (
-  id numeric(38,0) identity,
-  EffectiveTicket integer NOT NULL   ,
-  Ticket integer NOT NULL   ,
-  TimeTaken integer NOT NULL   ,
-  Type varchar(20) NULL  ,
-  Field varchar(40) NULL  ,
-  OldValue varchar(255) NULL  ,
-  NewValue varchar(255) NULL  ,
-  Data varchar(255) NULL  ,
-
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-CREATE INDEX Transactions1 ON Transactions (Ticket);
-CREATE INDEX Transactions2 ON Transactions (EffectiveTicket);
-
-# }}}
-
-# {{{ Scrips 
-
-CREATE TABLE rt3.Scrips (
-  id numeric(38,0) identity,
-  Description varchar(255),
-  ScripCondition integer NOT NULL   ,
-  ScripAction integer NOT NULL   ,
-  ConditionRules text NULL  ,
-  ActionRules text NULL  ,
-  CustomIsApplicableCode text NULL  ,
-  CustomPrepareCode text NULL  ,
-  CustomCommitCode text NULL  ,
-  Stage varchar(32) NULL  ,
-  Queue integer NOT NULL   ,
-  Template integer NOT NULL   ,
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-# }}}
-
-# {{{ ACL
-CREATE TABLE rt3.ACL (
-  id numeric(38,0) identity,
-  PrincipalType varchar(25) NOT NULL, #"User" "Group", "Owner", "Cc" "AdminCc", "Requestor", "Requestor" 
-
-  PrincipalId integer NOT NULL  , #Foreign key to principals
-  RightName varchar(25) NOT NULL  ,
-  ObjectType varchar(25) NOT NULL  ,
-  ObjectId integer NOT NULL ,
-  DelegatedBy integer NOT NULL , #foreign key to principals with a userid
-  DelegatedFrom integer NOT NULL , #foreign key to ACL
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX  ACL1 on ACL(RightName, ObjectType, ObjectId,PrincipalType,PrincipalId);
-
-# }}}
-
-# {{{ GroupMembers 
-
-CREATE TABLE rt3.GroupMembers (
-  id numeric(38,0) identity,
-  GroupId integer NOT NULL ,
-  MemberId integer NOT NULL ,  #Foreign key to Principals
-  PRIMARY KEY (id)
-) ;
-CREATE UNIQUE INDEX GroupMembers1 on GroupMembers (GroupId, MemberId);
-
-
-# }}}
-
-# {{{ GroupMembersCache
-
-CREATE TABLE rt3.CachedGroupMembers (
-  id numeric(38,0) identity,
-        GroupId int, # foreign key to Principals
-        MemberId int, # foreign key to Principals
-        Via int, #foreign key to CachedGroupMembers. (may point to $self->id)
-        ImmediateParentId int, #foreign key to prinicpals.         
-                               # this points to the group that the member is
-                               # a member of, for ease of deletes.
-        Disabled numeric(1) NOT NULL  , # if this cached group member is a member of this group by way of a disabled
-                                           # group or this group is disabled, this will be set to 1
-                                           # this allows us to not find members of disabled subgroups when listing off
-                                           # group members recursively.
-                                           # Also, this allows us to have the ACL system elide members of disabled groups
-        PRIMARY KEY (id)
-) ;
-
-CREATE INDEX DisGrouMem  on CachedGroupMembers (GroupId,MemberId,Disabled);
-CREATE INDEX GrouMem  on CachedGroupMembers (GroupId,MemberId);
-
-# }}}
-
-# {{{ Users
-
-CREATE TABLE rt3.Users (
-  id numeric(38,0) identity,
-  Name varchar(200) NOT NULL  ,
-  Password varchar(40) NULL  ,
-  Comments text NULL  ,
-  Signature text NULL  ,
-  EmailAddress varchar(120) NULL  ,
-  FreeformContactInfo text NULL  ,
-  Organization varchar(200) NULL  ,
-  RealName varchar(120) NULL  ,
-  NickName varchar(16) NULL  ,
-  Lang varchar(16) NULL  ,
-  EmailEncoding varchar(16) NULL  ,
-  WebEncoding varchar(16) NULL  ,
-  ExternalContactInfoId varchar(100) NULL  ,
-  ContactInfoSystem varchar(30) NULL  ,
-  ExternalAuthId varchar(100) NULL  ,
-  AuthSystem varchar(30) NULL  ,
-  Gecos varchar(16) NULL  ,
-  HomePhone varchar(30) NULL  ,
-  WorkPhone varchar(30) NULL  ,
-  MobilePhone varchar(30) NULL  ,
-  PagerPhone varchar(30) NULL  ,
-  Address1 varchar(200) NULL  ,
-  Address2 varchar(200) NULL  ,
-  City varchar(100) NULL  ,
-  State varchar(100) NULL  ,
-  Zip varchar(16) NULL  ,
-  Country varchar(50) NULL  ,
-  Timezone varchar(50) NULL  ,
-  PGPKey text NULL,
-
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-
-CREATE UNIQUE INDEX Users1 ON Users (Name) ;
-CREATE INDEX Users2 ON Users (Name);
-CREATE INDEX Users3 ON Users (id, EmailAddress);
-CREATE INDEX Users4 ON Users (EmailAddress);
-
-
-# }}}
-
-# {{{ Tickets
-
-CREATE TABLE rt3.Tickets (
-  id numeric(38,0) identity,
-  EffectiveId integer NOT NULL   ,
-  Queue integer NOT NULL   ,
-  Type varchar(16) NULL  ,
-  IssueStatement integer NOT NULL   ,
-  Resolution integer NOT NULL   ,
-  Owner integer NOT NULL   ,
-  Subject varchar(200) NULL,
-  InitialPriority integer NOT NULL   ,
-  FinalPriority integer NOT NULL   ,
-  Priority integer NOT NULL   ,
-  TimeEstimated integer NOT NULL   ,
-  TimeWorked integer NOT NULL   ,
-  Status varchar(10) NULL  ,
-  TimeLeft integer NOT NULL   ,
-  Told DATETIME NULL  ,
-  Starts DATETIME NULL  ,
-  Started DATETIME NULL  ,
-  Due DATETIME NULL  ,
-  Resolved DATETIME NULL  ,
-
-
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  Disabled numeric(1) NOT NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX Tickets1 ON Tickets (Queue, Status) ;
-CREATE INDEX Tickets2 ON Tickets (Owner) ;
-CREATE INDEX Tickets3 ON Tickets (EffectiveId) ;
-CREATE INDEX Tickets4 ON Tickets (id, Status) ;
-CREATE INDEX Tickets5 ON Tickets (id, EffectiveId) ;
-CREATE INDEX Tickets6 ON Tickets (EffectiveId, Type) ;
-
-# }}}
-
-# {{{ ScripActions
-
-CREATE TABLE rt3.ScripActions (
-  id numeric(38,0) identity,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-# }}}
-
-# {{{ Templates
-
-CREATE TABLE rt3.Templates (
-  id numeric(38,0) identity,
-  Queue integer NOT NULL  ,
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Type varchar(16) NULL  ,
-  Language varchar(16) NULL  ,
-  TranslationOf integer NOT NULL   ,
-  Content text NULL  ,
-  LastUpdated DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-# }}}
-
-# {{{ TicketCustomFieldValues 
-
-CREATE TABLE rt3.TicketCustomFieldValues (
-  id numeric(38,0) identity,
-  Ticket int NOT NULL  ,
-  CustomField int NOT NULL  ,
-  Content varchar(255) NULL  ,
-
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX TicketCustomFieldValues1 ON TicketCustomFieldValues (CustomField,Ticket,Content); 
-CREATE INDEX TicketCustomFieldValues2 ON TicketCustomFieldValues (CustomField,Ticket); 
-
-# }}}
-
-# {{{ CustomFields
-
-CREATE TABLE rt3.CustomFields (
-  id numeric(38,0) identity,
-  Name varchar(200) NULL  ,
-  Type varchar(200) NULL  ,
-  Queue integer NOT NULL  ,
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL   ,
-
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  Disabled numeric(1) NOT NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX CustomFields1 on CustomFields (Disabled, Queue);
-
-
-# }}}
-
-# {{{ CustomFieldValues 
-
-CREATE TABLE rt3.CustomFieldValues (
-  id numeric(38,0) identity,
-  CustomField int NOT NULL  ,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL   ,
-
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField);
-# }}}
-
-
-# {{{ Attributes
-
-CREATE TABLE rt3.Attributes (
-  id numeric(38,0) identity,
-  Name varchar(255) NULL  ,
-  Description varchar(255) NULL  ,
-  Content text,
-  ContentType varchar(16),
-  ObjectType varchar(64),
-  ObjectId integer, # foreign key to anything
-  Creator integer NOT NULL   ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL   ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) ;
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
-# }}}
-
-# {{{ Sessions
-
-# sessions is used by Apache::Session to keep sessions in the database.
-# We should have a reaper script somewhere.
-
-CREATE TABLE rt3.sessions (
-    id char(32) NOT NULL,
-    a_session TEXT,
-    LastUpdated DATETIME,
-    PRIMARY KEY (id)
-);
-
-# }}}
diff --git a/rt/etc/schema.mysql b/rt/etc/schema.mysql
deleted file mode 100755 (executable)
index 60f1aba..0000000
+++ /dev/null
@@ -1,464 +0,0 @@
-# {{{ Attachments
-
-CREATE TABLE Attachments (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  TransactionId integer NOT NULL  ,
-  Parent integer NOT NULL DEFAULT 0  ,
-  MessageId varchar(160) NULL  ,
-  Subject varchar(255) NULL  ,
-  Filename varchar(255) NULL  ,
-  ContentType varchar(80) NULL  ,
-  ContentEncoding varchar(80) NULL  ,
-  Content LONGTEXT NULL  ,
-  Headers LONGTEXT NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX Attachments2 ON Attachments (TransactionId) ;
-CREATE INDEX Attachments3 ON Attachments (Parent, TransactionId) ;
-# }}}
-
-# {{{ Queues
-CREATE TABLE Queues (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  CorrespondAddress varchar(120) NULL  ,
-  CommentAddress varchar(120) NULL  ,
-  InitialPriority integer NOT NULL DEFAULT 0  ,
-  FinalPriority integer NOT NULL DEFAULT 0  ,
-  DefaultDueIn integer NOT NULL DEFAULT 0  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-CREATE UNIQUE INDEX Queues1 ON Queues (Name) ;
-CREATE INDEX Queues2 ON Queues (Disabled) ;
-
-# }}}
-
-# {{{ Links
-
-CREATE TABLE Links (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Base varchar(240) NULL  ,
-  Target varchar(240) NULL  ,
-  Type varchar(20) NOT NULL  ,
-  LocalTarget integer NOT NULL DEFAULT 0  ,
-  LocalBase integer NOT NULL DEFAULT 0  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE UNIQUE INDEX Links1 ON Links (Base, Target, Type) ;
-CREATE INDEX Links2 ON Links (Base,  Type) ;
-CREATE INDEX Links3 ON Links (Target,  Type) ;
-CREATE INDEX Links4 ON Links (Type,LocalBase);
-
-# }}}
-
-# {{{ Principals
-
-CREATE TABLE Principals (
-        id INTEGER  AUTO_INCREMENT not null,
-        PrincipalType VARCHAR(16) not null,
-        ObjectId integer, # foreign key to Users or Groups, depending
-        Disabled int2 NOT NULL DEFAULT 0 ,
-        PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX Principals2 ON Principals (ObjectId);
-
-# }}}
-
-# {{{ Groups
-
-CREATE TABLE Groups (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  Domain varchar(64),
-  Type varchar(64),
-  Instance integer,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX Groups1 ON Groups (Domain,Instance,Type,id);
-CREATE INDEX Groups2 On Groups (Type, Instance);   
-
-# }}}
-
-# {{{ ScripConditions
-
-CREATE TABLE ScripConditions (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  ApplicableTransTypes varchar(60) NULL  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-# }}}
-
-# {{{ Transactions
-CREATE TABLE Transactions (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  ObjectType varchar(64) NOT NULL,
-  ObjectId integer NOT NULL DEFAULT 0  ,
-  TimeTaken integer NOT NULL DEFAULT 0  ,
-  Type varchar(20) NULL  ,
-  Field varchar(40) NULL  ,
-  OldValue varchar(255) NULL  ,
-  NewValue varchar(255) NULL  ,
-  ReferenceType varchar(255) NULL,
-  OldReference integer NULL  ,
-  NewReference integer NULL  ,
-  Data varchar(255) NULL  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
-
-# }}}
-
-# {{{ Scrips 
-
-CREATE TABLE Scrips (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Description varchar(255),
-  ScripCondition integer NOT NULL DEFAULT 0  ,
-  ScripAction integer NOT NULL DEFAULT 0  ,
-  ConditionRules text NULL  ,
-  ActionRules text NULL  ,
-  CustomIsApplicableCode text NULL  ,
-  CustomPrepareCode text NULL  ,
-  CustomCommitCode text NULL  ,
-  Stage varchar(32) NULL  ,
-  Queue integer NOT NULL DEFAULT 0  ,
-  Template integer NOT NULL DEFAULT 0  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-# }}}
-
-# {{{ ACL
-CREATE TABLE ACL (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  PrincipalType varchar(25) NOT NULL, #"User" "Group", "Owner", "Cc" "AdminCc", "Requestor", "Requestor" 
-
-  PrincipalId integer NOT NULL  , #Foreign key to principals
-  RightName varchar(25) NOT NULL  ,
-  ObjectType varchar(25) NOT NULL  ,
-  ObjectId integer NOT NULL default 0,
-  DelegatedBy integer NOT NULL default 0, #foreign key to principals with a userid
-  DelegatedFrom integer NOT NULL default 0, #foreign key to ACL
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX  ACL1 on ACL(RightName, ObjectType, ObjectId,PrincipalType,PrincipalId);
-
-# }}}
-
-# {{{ GroupMembers 
-
-CREATE TABLE GroupMembers (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  GroupId integer NOT NULL DEFAULT 0,
-  MemberId integer NOT NULL DEFAULT 0,  #Foreign key to Principals
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-CREATE UNIQUE INDEX GroupMembers1 on GroupMembers (GroupId, MemberId);
-
-
-# }}}
-
-# {{{ GroupMembersCache
-
-create table CachedGroupMembers (
-        id int auto_increment,
-        GroupId int, # foreign key to Principals
-        MemberId int, # foreign key to Principals
-        Via int, #foreign key to CachedGroupMembers. (may point to $self->id)
-        ImmediateParentId int, #foreign key to prinicpals.         
-                               # this points to the group that the member is
-                               # a member of, for ease of deletes.
-        Disabled int2 NOT NULL DEFAULT 0 , # if this cached group member is a member of this group by way of a disabled
-                                           # group or this group is disabled, this will be set to 1
-                                           # this allows us to not find members of disabled subgroups when listing off
-                                           # group members recursively.
-                                           # Also, this allows us to have the ACL system elide members of disabled groups
-        PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX DisGrouMem  on CachedGroupMembers (GroupId,MemberId,Disabled);
-
-# }}}
-
-# {{{ Users
-
-CREATE TABLE Users (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(200) NOT NULL  ,
-  Password varchar(40) NULL  ,
-  Comments blob NULL  ,
-  Signature blob NULL  ,
-  EmailAddress varchar(120) NULL  ,
-  FreeformContactInfo blob NULL  ,
-  Organization varchar(200) NULL  ,
-  RealName varchar(120) NULL  ,
-  NickName varchar(16) NULL  ,
-  Lang varchar(16) NULL  ,
-  EmailEncoding varchar(16) NULL  ,
-  WebEncoding varchar(16) NULL  ,
-  ExternalContactInfoId varchar(100) NULL  ,
-  ContactInfoSystem varchar(30) NULL  ,
-  ExternalAuthId varchar(100) NULL  ,
-  AuthSystem varchar(30) NULL  ,
-  Gecos varchar(16) NULL  ,
-  HomePhone varchar(30) NULL  ,
-  WorkPhone varchar(30) NULL  ,
-  MobilePhone varchar(30) NULL  ,
-  PagerPhone varchar(30) NULL  ,
-  Address1 varchar(200) NULL  ,
-  Address2 varchar(200) NULL  ,
-  City varchar(100) NULL  ,
-  State varchar(100) NULL  ,
-  Zip varchar(16) NULL  ,
-  Country varchar(50) NULL  ,
-  Timezone varchar(50) NULL  ,
-  PGPKey text NULL,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-
-CREATE UNIQUE INDEX Users1 ON Users (Name) ;
-CREATE INDEX Users4 ON Users (EmailAddress);
-
-
-# }}}
-
-# {{{ Tickets
-
-CREATE TABLE Tickets (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  EffectiveId integer NOT NULL DEFAULT 0  ,
-  Queue integer NOT NULL DEFAULT 0  ,
-  Type varchar(16) NULL  ,
-  IssueStatement integer NOT NULL DEFAULT 0  ,
-  Resolution integer NOT NULL DEFAULT 0  ,
-  Owner integer NOT NULL DEFAULT 0  ,
-  Subject varchar(200) NULL DEFAULT '[no subject]' ,
-  InitialPriority integer NOT NULL DEFAULT 0  ,
-  FinalPriority integer NOT NULL DEFAULT 0  ,
-  Priority integer NOT NULL DEFAULT 0  ,
-  TimeEstimated integer NOT NULL DEFAULT 0  ,
-  TimeWorked integer NOT NULL DEFAULT 0  ,
-  Status varchar(10) NULL  ,
-  TimeLeft integer NOT NULL DEFAULT 0  ,
-  Told DATETIME NULL  ,
-  Starts DATETIME NULL  ,
-  Started DATETIME NULL  ,
-  Due DATETIME NULL  ,
-  Resolved DATETIME NULL  ,
-
-
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX Tickets1 ON Tickets (Queue, Status) ;
-CREATE INDEX Tickets2 ON Tickets (Owner) ;
-CREATE INDEX Tickets6 ON Tickets (EffectiveId, Type) ;
-
-# }}}
-
-# {{{ ScripActions
-
-CREATE TABLE ScripActions (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  ExecModule varchar(60) NULL  ,
-  Argument varchar(255) NULL  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-# }}}
-
-# {{{ Templates
-
-CREATE TABLE Templates (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Queue integer NOT NULL DEFAULT 0 ,
-  Name varchar(200) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Type varchar(16) NULL  ,
-  Language varchar(16) NULL  ,
-  TranslationOf integer NOT NULL DEFAULT 0  ,
-  Content blob NULL  ,
-  LastUpdated DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-# }}}
-
-# {{{ ObjectCustomFieldValues 
-
-CREATE TABLE ObjectCustomFieldValues (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  CustomField int NOT NULL  ,
-  ObjectType varchar(255) NOT NULL,        # Final target of the Object
-  ObjectId int NOT NULL  ,                 # New -- Replaces Ticket
-  SortOrder integer NOT NULL DEFAULT 0  ,   # New -- ordering for multiple values
-
-  Content varchar(255) NULL  ,
-  LargeContent LONGTEXT NULL,              # New -- to hold 255+ strings
-  ContentType varchar(80) NULL,                    # New -- only text/* gets searched
-  ContentEncoding varchar(80) NULL  ,      # New -- for binary Content
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0 ,        # New -- whether the value was current
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX ObjectCustomFieldValues1 ON ObjectCustomFieldValues (Content); 
-CREATE INDEX ObjectCustomFieldValues2 ON ObjectCustomFieldValues (CustomField,ObjectType,ObjectId); 
-
-# }}}
-
-# {{{ CustomFields
-
-CREATE TABLE CustomFields (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(200) NULL  ,
-  Type varchar(200) NULL  ,    # Changed -- 'Single' and 'Multiple' is moved out
-  MaxValues integer,           # New -- was 'Single'(1) and 'Multiple'(0)
-  Pattern varchar(255) NULL  , # New -- Must validate against this
-  Repeated int2 NOT NULL DEFAULT 0 , # New -- repeated table entry
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-  LookupType varchar(255) NOT NULL,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  Disabled int2 NOT NULL DEFAULT 0 ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-# }}}
-
-# {{{ ObjectCustomFields 
-
-CREATE TABLE ObjectCustomFields (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  CustomField int NOT NULL  ,
-  ObjectId integer NOT NULL,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-# }}}
-
-# {{{ CustomFieldValues 
-
-CREATE TABLE CustomFieldValues (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  CustomField int NOT NULL  ,
-  Name varchar(200) NULL  ,
-  Description varchar(255) NULL  ,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField);
-# }}}
-
-
-# {{{ Attributes
-
-CREATE TABLE Attributes (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(255) NULL  ,
-  Description varchar(255) NULL  ,
-  Content text,
-  ContentType varchar(16),
-  ObjectType varchar(64),
-  ObjectId integer, # foreign key to anything
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
-# }}}
-
-# {{{ Sessions
-
-# sessions is used by Apache::Session to keep sessions in the database.
-# We should have a reaper script somewhere.
-
-CREATE TABLE sessions (
-    id char(32) NOT NULL,
-    a_session LONGTEXT,
-    LastUpdated TIMESTAMP,
-    PRIMARY KEY (id)
-);
-
-# }}}
diff --git a/rt/etc/upgrade/3.1.0/acl.Informix b/rt/etc/upgrade/3.1.0/acl.Informix
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.1.0/acl.Oracle b/rt/etc/upgrade/3.1.0/acl.Oracle
deleted file mode 100755 (executable)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.1.0/acl.Pg b/rt/etc/upgrade/3.1.0/acl.Pg
deleted file mode 100755 (executable)
index 809e99a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-sub acl {
-    my $dbh = shift;
-
-    my @acls;
-
-    my @tables = qw (
-      attributes_id_seq
-      attributes
-    );
-
-    foreach my $table (@tables) {
-        push @acls,
-          "GRANT SELECT, INSERT, UPDATE, DELETE ON $table to "
-          . $RT::DatabaseUser . ";";
-
-    }
-    return (@acls);
-}
-1;
diff --git a/rt/etc/upgrade/3.1.0/acl.SQLite b/rt/etc/upgrade/3.1.0/acl.SQLite
deleted file mode 100755 (executable)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.1.0/acl.mysql b/rt/etc/upgrade/3.1.0/acl.mysql
deleted file mode 100755 (executable)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.1.0/content b/rt/etc/upgrade/3.1.0/content
deleted file mode 100644 (file)
index 3117daf..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# nothing to do
-1;
diff --git a/rt/etc/upgrade/3.1.0/schema.Informix b/rt/etc/upgrade/3.1.0/schema.Informix
deleted file mode 100644 (file)
index 722eb70..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-CREATE TABLE Attributes (
-       id              SERIAL,
-       Name                    VARCHAR(255) DEFAULT '' NOT NULL,
-       Description             VARCHAR(255) DEFAULT NULL,
-       Content         BYTE,
-       ContentType     VARCHAR(16),
-       ObjectType      VARCHAR(25) NOT NULL,
-       ObjectId        INTEGER DEFAULT 0 NOT NULL,
-       Creator         INTEGER DEFAULT 0 NOT NULL,
-       Created         DATETIME YEAR TO SECOND,
-       LastUpdatedBy   INTEGER DEFAULT 0 NOT NULL,
-       LastUpdated     DATETIME YEAR TO SECOND,
-        PRIMARY KEY (id)
-); 
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
diff --git a/rt/etc/upgrade/3.1.0/schema.Oracle b/rt/etc/upgrade/3.1.0/schema.Oracle
deleted file mode 100644 (file)
index a8aae18..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-CREATE SEQUENCE ATTRIBUTES_seq;
-CREATE TABLE Attributes (
-       id                      NUMBER(11,0) PRIMARY KEY,
-       Name                    VARCHAR2(255) NOT NULL,
-       Description             VARCHAR2(255),
-       Content         CLOB,
-    ContentType VARCHAR(16),
-       ObjectType      VARCHAR2(25) NOT NULL,
-       ObjectId        NUMBER(11,0) DEFAULT 0 NOT NULL,
-       Creator                 NUMBER(11,0) DEFAULT 0 NOT NULL,
-       Created                 DATE,
-       LastUpdatedBy           NUMBER(11,0) DEFAULT 0 NOT NULL,
-       LastUpdated             DATE
-);
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
diff --git a/rt/etc/upgrade/3.1.0/schema.Pg b/rt/etc/upgrade/3.1.0/schema.Pg
deleted file mode 100755 (executable)
index 94c3fe7..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
--- {{{ Attributes
-
-CREATE SEQUENCE attributes_id_seq;
-
-CREATE TABLE Attributes (
-  id INTEGER DEFAULT nextval('attributes_id_seq'),
-  Name varchar(255) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Content text,
-  ContentType varchar(16),
-  ObjectType varchar(64),
-  ObjectId integer, 
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
--- }}}
-
diff --git a/rt/etc/upgrade/3.1.0/schema.SQLite b/rt/etc/upgrade/3.1.0/schema.SQLite
deleted file mode 100644 (file)
index 1dd466f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- {{{ Attributes
-CREATE TABLE Attributes (
-  id INTEGER PRIMARY KEY  ,
-  Name varchar(255) NOT NULL  ,
-  Description varchar(255) NULL  ,
-  Content LONGTEXT NULL  ,
-  ContentType varchar(16),
-  ObjectType varchar(25) NOT NULL  ,
-  ObjectId INTEGER default 0,
-  Creator integer NULL  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NULL  ,
-  LastUpdated DATETIME NULL  
-) ;
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
---- }}}
-
diff --git a/rt/etc/upgrade/3.1.0/schema.mysql b/rt/etc/upgrade/3.1.0/schema.mysql
deleted file mode 100755 (executable)
index c4a345d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-# {{{ Attributes
-
-CREATE TABLE Attributes (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  Name varchar(255) NULL  ,
-  Description varchar(255) NULL  ,
-  Content text,
-  ContentType varchar(16),
-  ObjectType varchar(64),
-  ObjectId integer, # foreign key to anything
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-CREATE INDEX Attributes1 on Attributes(Name);
-CREATE INDEX Attributes2 on Attributes(ObjectType, ObjectId);
-
-# }}}
diff --git a/rt/etc/upgrade/3.1.15/content b/rt/etc/upgrade/3.1.15/content
deleted file mode 100644 (file)
index d23125a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-@Scrips = (
-    {  ScripCondition => 'On Owner Change',
-       ScripAction    => 'Notify Owner',
-       Template       => 'Transaction' },
-);
-
-1;
diff --git a/rt/etc/upgrade/3.1.17/content b/rt/etc/upgrade/3.1.17/content
deleted file mode 100644 (file)
index 1d648d8..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-@ScripActions = (
-    { Name        => 'Notify Ccs as Comment',              # loc
-      Description => 'Sends mail to the Ccs as a comment', # loc
-      ExecModule  => 'NotifyAsComment',
-      Argument    => 'Cc' },
-    { Name        => 'Notify Ccs',                                   # loc
-      Description => 'Sends mail to the Ccs',                        # loc
-      ExecModule  => 'Notify',
-      Argument    => 'Cc' },
-);
-
-
-@ScripConditions = (
-    {
-      Name                 => 'On Priority Change',                       # loc
-      Description          => 'Whenever a ticket\'s priority changes',    # loc
-      ApplicableTransTypes => 'Set',
-      ExecModule           => 'PriorityChange',
-    },
-);
-
-1;
diff --git a/rt/etc/upgrade/3.3.0/acl.Informix b/rt/etc/upgrade/3.3.0/acl.Informix
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.0/acl.Oracle b/rt/etc/upgrade/3.3.0/acl.Oracle
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.0/acl.Pg b/rt/etc/upgrade/3.3.0/acl.Pg
deleted file mode 100644 (file)
index 2069a19..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-sub acl {
-    my $dbh = shift;
-
-    my @acls;
-
-    my @tables = qw (
-    objectcustomfieldvalues
-    objectcustomfields_id_s
-    objectcustomfields
-    );
-
-    foreach my $table (@tables) {
-        push @acls,
-          "GRANT SELECT, INSERT, UPDATE, DELETE ON $table to "
-          . $RT::DatabaseUser . ";";
-
-    }
-    return (@acls);
-}
-1;
diff --git a/rt/etc/upgrade/3.3.0/acl.SQLite b/rt/etc/upgrade/3.3.0/acl.SQLite
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.0/acl.mysql b/rt/etc/upgrade/3.3.0/acl.mysql
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.0/content b/rt/etc/upgrade/3.3.0/content
deleted file mode 100644 (file)
index 0afc604..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1;
diff --git a/rt/etc/upgrade/3.3.0/schema.Oracle b/rt/etc/upgrade/3.3.0/schema.Oracle
deleted file mode 100644 (file)
index f81feeb..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-alter Table Transactions ADD ObjectType VARCHAR2(64);
-UPDATE Transactions set ObjectType = 'RT::Ticket';
-ALTER TABLE Transactions modify ObjectType NOT NULL;
-ALTER TABLE Transactions drop column EffectiveTicket;
-ALTER TABLE Transactions ADD ReferenceType VARCHAR2(255) NULL;
-ALTER TABLE Transactions ADD OldReference NUMBER(11,0) NULL;      
-ALTER TABLE Transactions ADD NewReference NUMBER(11,0) NULL;
-DROP INDEX transactions1;            
-ALTER TABLE Transactions rename column Ticket to ObjectId;
-CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
-
-ALTER TABLE TicketCustomFieldValues rename to ObjectCustomFieldValues;
-ALTER TABLE ObjectCustomFieldValues  rename column Ticket to ObjectId;
-ALTER TABLE ObjectCustomFieldValues ADD ObjectType VARCHAR2(255);
-UPDATE ObjectCustomFieldValues set ObjectType = 'RT::Ticket';
-ALTER TABLE ObjectCustomFieldValues MODIFY ObjectType NOT NULL;
-ALTER TABLE ObjectCustomFieldValues ADD Disabled NUMBER(11,0);
-ALTER TABLE ObjectCustomFieldValues MODIFY Disabled  default 0;  
-UPDATE ObjectCustomFieldValues SET Disabled = 0;
-ALTER TABLE ObjectCustomFieldValues MODIFY Disabled NOT NULL;
-ALTER TABLE ObjectCustomFieldValues ADD LargeContent CLOB NULL;
-ALTER TABLE ObjectCustomFieldValues ADD ContentType VARCHAR2(80) NULL;
-ALTER TABLE ObjectCustomFieldValues ADD ContentEncoding VARCHAR2(80) NULL;
-ALTER TABLE ObjectCustomFieldValues ADD SortOrder NUMBER(11,0) DEFAULT 0 NOT NULL;
-
-
-
-CREATE INDEX ObjectCustomFieldValues1 on ObjectCustomFieldValues (CustomField,ObjectType,ObjectId,Content); 
-CREATE INDEX ObjectCustomFieldValues2  on ObjectCustomFieldValues (CustomField,ObjectType,ObjectId); 
-
-
-
-CREATE SEQUENCE OBJECTCUSTOMFIELDS_seq;
-CREATE TABLE ObjectCustomFields (
-        id              NUMBER(11,0)
-                 CONSTRAINT ObjectCustomFields_Key PRIMARY KEY,
-        CustomField       NUMBER(11,0)  NOT NULL,
-        ObjectId              NUMBER(11,0)  NOT NULL,
-        SortOrder       NUMBER(11,0) DEFAULT 0 NOT NULL,
-        Creator         NUMBER(11,0) DEFAULT 0 NOT NULL,
-        Created         DATE,
-        LastUpdatedBy   NUMBER(11,0) DEFAULT 0 NOT NULL,
-        LastUpdated     DATE
-);
-
-
-INSERT into ObjectCustomFields (id, CustomField, ObjectId, SortOrder, Creator, LastUpdatedBy) SELECT  objectcustomfields_seq.nextval, id, Queue, SortOrder, Creator, LastUpdatedBy from CustomFields;
-
-ALTER TABLE CustomFields ADD LookupType VARCHAR2(255);
-ALTER TABLE CustomFields ADD Repeated NUMBER(11,0);
-ALTER TABLE CustomFields ADD Pattern VARCHAR2(255) NULL;
-ALTER TABLE CustomFields ADD MaxValues NUMBER(11,0);
-
-UPDATE CustomFields SET MaxValues = 0 WHERE Type LIKE '%Multiple';
-UPDATE CustomFields SET MaxValues = 1 WHERE Type LIKE '%Single';
-UPDATE CustomFields SET Type = 'Select' WHERE Type LIKE 'Select%';
-UPDATE CustomFields SET Type = 'Freeform' WHERE Type LIKE 'Freeform%';
-UPDATE CustomFields Set LookupType = 'RT::Queue-RT::Ticket';
-ALTER TABLE CustomFields MODIFY LookupType NOT NULL;
-UPDATE CustomFields Set Repeated = 0;
-ALTER TABLE CustomFields MODIFY Repeated DEFAULT 0;
-ALTER TABLE CustomFields MODIFY Repeated  NOT NULL;
-ALTER TABLE CustomFields drop column Queue; 
-
-
diff --git a/rt/etc/upgrade/3.3.0/schema.Pg b/rt/etc/upgrade/3.3.0/schema.Pg
deleted file mode 100644 (file)
index 427eae7..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-alter Table Transactions ADD Column ObjectType varchar(64);
-update Transactions set ObjectType = 'RT::Ticket';
-ALTER TABLE Transactions ALTER COLUMN ObjectType SET NOT NULL;
-alter table Transactions drop column EffectiveTicket;
-alter table Transactions add column ReferenceType varchar(255) NULL;
-alter table Transactions add column OldReference integer NULL;      
-alter table Transactions add column NewReference integer NULL;
-drop index transactions1;            
-alter table Transactions rename column Ticket to ObjectId;
-
-
-CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
-
-alter table TicketCustomFieldValues rename to ObjectCustomFieldValues;
-
-alter table ObjectCustomFieldValues  rename column Ticket to ObjectId;
-
-alter table objectcustomfieldvalues add column ObjectType varchar(255);
-
-update objectcustomfieldvalues set ObjectType = 'RT::Ticket';
-
-ALTER TABLE objectcustomfieldvalues ALTER COLUMN ObjectType SET NOT NULL;
-
-alter table objectcustomfieldvalues add column Current int;
-
-alter table objectcustomfieldvalues alter column Current SET  default 1;  
-
-UPDATE objectcustomfieldvalues SET Current = 1;
-
-alter table objectcustomfieldvalues add column LargeContent TEXT NULL;
-
-alter table objectcustomfieldvalues add column ContentType varchar(80) NULL;
-
-alter table objectcustomfieldvalues add column ContentEncoding varchar(80) NULL;
-
-create index ObjectCustomFieldValues1 on objectcustomfieldvalues (CustomField,ObjectType,ObjectId,Content); 
-
-create index ObjectCustomFieldValues2  on objectcustomfieldvalues (CustomField,ObjectType,ObjectId); 
-
-
-CREATE SEQUENCE objectcustomfields_id_s;
-
-CREATE TABLE ObjectCustomFields (
-  id INTEGER DEFAULT nextval('objectcustomfields_id_s'),
-  CustomField integer NOT NULL,
-  ObjectId integer NOT NULL,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created TIMESTAMP NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated TIMESTAMP NULL  ,
-  PRIMARY KEY (id)
-
-);
-
-
-INSERT into ObjectCustomFields (CustomField, ObjectId, SortOrder, Creator, LastUpdatedBy) SELECT  id, Queue, SortOrder, Creator, LastUpdatedBy from CustomFields;
-
-alter table CustomFields add column LookupType varchar(255);
-alter table CustomFields add column Repeated int2;
-alter table CustomFields add column Pattern varchar(255) NULL;
-alter table CustomFields add column MaxValues integer;
-
-UPDATE CustomFields SET MaxValues = 0 WHERE Type LIKE '%Multiple';
-UPDATE CustomFields SET MaxValues = 1 WHERE Type LIKE '%Single';
-UPDATE CustomFields SET Type = 'Select' WHERE Type LIKE 'Select%';
-UPDATE CustomFields SET Type = 'Freeform' WHERE Type LIKE 'Freeform%';
-UPDATE CustomFields Set LookupType = 'RT::Queue-RT::Ticket';
-ALTER TABLE CustomFields ALTER COLUMN LookupType SET NOT NULL;
-UPDATE CustomFields Set Repeated = 0;
-ALTER TABLE CustomFields ALTER COLUMN Repeated SET DEFAULT 0;
-ALTER TABLE CustomFields ALTER COLUMN Repeated SET NOT NULL;
-alter table CustomFields drop column Queue; 
diff --git a/rt/etc/upgrade/3.3.0/schema.mysql b/rt/etc/upgrade/3.3.0/schema.mysql
deleted file mode 100644 (file)
index 0e33a28..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-alter Table Transactions ADD Column (ObjectType varchar(64) not null);
-update Transactions set ObjectType = 'RT::Ticket';
-alter table Transactions drop column EffectiveTicket;
-alter table Transactions add column ReferenceType varchar(255) NULL;
-alter table Transactions add column OldReference integer NULL;      
-alter table Transactions add column NewReference integer NULL;
-alter table Transactions drop index transactions1;            
-alter table Transactions change Ticket ObjectId integer NOT NULL DEFAULT 0  ;
-
-CREATE INDEX Transactions1 ON Transactions (ObjectType, ObjectId);
-
-alter table TicketCustomFieldValues rename ObjectCustomFieldValues;
-
-alter table ObjectCustomFieldValues  change Ticket ObjectId integer NOT NULL DEFAULT 0  ;
-
-alter table ObjectCustomFieldValues add column ObjectType varchar(255) not null;
-
-update ObjectCustomFieldValues set ObjectType = 'RT::Ticket';
-
-alter table ObjectCustomFieldValues add column Current bool default 1;  
-
-alter table ObjectCustomFieldValues add column LargeContent LONGTEXT NULL;
-
-alter table ObjectCustomFieldValues add column ContentType varchar(80) NULL;
-
-alter table ObjectCustomFieldValues add column ContentEncoding varchar(80) NULL;
-
-# These could fail if there's no such index and there's no "drop index if exists" syntax
-#alter table ObjectCustomFieldValues drop index ticketcustomfieldvalues1;
-#alter table ObjectCustomFieldValues drop index ticketcustomfieldvalues2;
-
-alter table ObjectCustomFieldValues add index ObjectCustomFieldValues1 (Content); 
-
-alter table ObjectCustomFieldValues add index ObjectCustomFieldValues2 (CustomField,ObjectType,ObjectId); 
-
-
-CREATE TABLE ObjectCustomFields (
-  id INTEGER NOT NULL  AUTO_INCREMENT,
-  CustomField int NOT NULL  ,
-  ObjectId integer NOT NULL,
-  SortOrder integer NOT NULL DEFAULT 0  ,
-
-  Creator integer NOT NULL DEFAULT 0  ,
-  Created DATETIME NULL  ,
-  LastUpdatedBy integer NOT NULL DEFAULT 0  ,
-  LastUpdated DATETIME NULL  ,
-  PRIMARY KEY (id)
-) TYPE=InnoDB;
-
-
-INSERT into ObjectCustomFields (id, CustomField, ObjectId, SortOrder, Creator, LastUpdatedBy) SELECT  null, id, Queue, SortOrder, Creator, LastUpdatedBy from CustomFields;
-
-alter table CustomFields add column LookupType varchar(255) NOT NULL;
-alter table CustomFields add column Repeated int2 NOT NULL DEFAULT 0 ;
-alter table CustomFields add column Pattern varchar(255) NULL;
-alter table CustomFields add column MaxValues integer;
-# See above
-# alter table CustomFields drop index CustomFields1;
-
-UPDATE CustomFields SET MaxValues = 0 WHERE Type LIKE '%Multiple';
-UPDATE CustomFields SET MaxValues = 1 WHERE Type LIKE '%Single';
-UPDATE CustomFields SET Type = 'Select' WHERE Type LIKE 'Select%';
-UPDATE CustomFields SET Type = 'Freeform' WHERE Type LIKE 'Freeform%';
-UPDATE CustomFields Set LookupType = 'RT::Queue-RT::Ticket';
-alter table CustomFields drop column Queue; 
diff --git a/rt/etc/upgrade/3.3.11/acl.Oracle b/rt/etc/upgrade/3.3.11/acl.Oracle
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.11/acl.Pg b/rt/etc/upgrade/3.3.11/acl.Pg
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.11/acl.SQLite b/rt/etc/upgrade/3.3.11/acl.SQLite
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.11/acl.mysql b/rt/etc/upgrade/3.3.11/acl.mysql
deleted file mode 100644 (file)
index 73c16ae..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-sub acl {
-    return ();
-}
-1;
diff --git a/rt/etc/upgrade/3.3.11/content b/rt/etc/upgrade/3.3.11/content
deleted file mode 100644 (file)
index 0afc604..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1;
diff --git a/rt/etc/upgrade/3.3.11/schema.Oracle b/rt/etc/upgrade/3.3.11/schema.Oracle
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/rt/etc/upgrade/3.3.11/schema.Pg b/rt/etc/upgrade/3.3.11/schema.Pg
deleted file mode 100644 (file)
index 6ab5d65..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-ALTER TABLE ObjectCustomFieldValues ADD COLUMN SortOrder INTEGER;
-UPDATE ObjectCustomFieldValues SET SortOrder = 0;
-ALTER TABLE ObjectCustomFieldValues ALTER COLUMN SortOrder SET DEFAULT 0;
-ALTER TABLE ObjectCustomFieldValues ALTER COLUMN SortOrder SET NOT NULL;
-ALTER TABLE ObjectCustomFieldValues ADD COLUMN Disabled INTEGER;
-UPDATE ObjectCustomFieldValues SET Disabled = 1 WHERE Current = 0;
-UPDATE ObjectCustomFieldValues SET Disabled = 0 WHERE Current != 0;
-ALTER TABLE ObjectCustomFieldValues ALTER COLUMN Disabled SET DEFAULT 0;
-ALTER TABLE ObjectCustomFieldValues ALTER COLUMN Disabled SET NOT NULL;
-
-ALTER TABLE ObjectCustomFieldValues DROP COLUMN Current;
diff --git a/rt/etc/upgrade/3.3.11/schema.SQLite b/rt/etc/upgrade/3.3.11/schema.SQLite
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/rt/etc/upgrade/3.3.11/schema.mysql b/rt/etc/upgrade/3.3.11/schema.mysql
deleted file mode 100644 (file)
index cc35d40..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-ALTER TABLE ObjectCustomFieldValues ADD COLUMN SortOrder INTEGER NOT NULL DEFAULT 0;
-ALTER TABLE ObjectCustomFieldValues ADD COLUMN Disabled int2 NOT NULL DEFAULT 0;
-
-UPDATE ObjectCustomFieldValues SET Disabled = 1 WHERE Current = 0;
-ALTER TABLE ObjectCustomFieldValues DROP COLUMN Current;
diff --git a/rt/html/Admin/CustomFields/GroupRights.html b/rt/html/Admin/CustomFields/GroupRights.html
deleted file mode 100644 (file)
index 380fee4..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/CustomFieldTabs,
-    id => $id,
-    current_tab => "Admin/CustomFields/GroupRights.html?id=".$id,
-    Title => $title
-&>
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="GroupRights.html">
-    <INPUT TYPE=HIDDEN NAME=id VALUE="<% $CustomFieldObj->id %>">
-      
-      
-<h1><&|/l&>System groups</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToSystemInternalGroups();
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% loc($Group->Type) %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object => $CustomFieldObj  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-<h1><&|/l&>User defined groups</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToUserDefinedGroups();    
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $Group->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object => $CustomFieldObj  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-            
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-
-
-
-  
-
-if (!defined $id) {
-    $m->comp("/Elements/Error", Why => loc("No CustomField defined"));
-}
-
-my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'});
-$CustomFieldObj->Load($id) || $m->comp("/Elements/Error", Why => loc("Couldn't load CustomField [_1]",$id));
-
-my $Groups;
-  
-  my ( $ACL, @results );
-
-    foreach my $arg (keys %ARGS) {
-        if ($arg =~ /GrantRight-(\d+)-(.*?)-(\d+)$/) {
-            my $principal_id = $1;
-            my $object_type = $2;
-            my $object_id = $3;
-            my $rights = $ARGS{$arg};
-
-            my $principal = RT::Principal->new($session{'CurrentUser'});
-            $principal->Load($principal_id);
-            my $obj;
-
-            if ($object_type eq 'RT::CustomField') {
-                $obj = RT::CustomField->new($session{'CurrentUser'});
-                $obj->Load($object_id);
-            } else {
-                push (@results, loc("System Error").
-                                loc("Rights could not be granted for [_1]", $object_type));
-                next;
-            }
-
-            my @rights = ref($ARGS{$arg}) eq 'ARRAY' ? @{$ARGS{$arg}} : ($ARGS{$arg});
-            foreach my $right (@rights) {
-                next unless ($right);
-                my ($val, $msg) = $principal->GrantRight(Object => $obj, Right => $right);
-                push (@results, $msg);
-            }
-        }
-     elsif ($arg =~ /RevokeRight-(\d+)-(.*?)-(\d+)-(.*?)$/) {
-            my $principal_id = $1;
-            my $object_type = $2;
-            my $object_id = $3;
-            my $right = $4;
-
-            my $principal = RT::Principal->new($session{'CurrentUser'});
-            $principal->Load($principal_id);
-            next unless ($right);
-            my $obj;
-
-            if ($object_type eq 'RT::CustomField') {
-                $obj = RT::CustomField->new($session{'CurrentUser'});
-                $obj->Load($object_id);
-            } else {
-                push (@results, loc("System Error").
-                                loc("Rights could not be revoked for [_1]", $object_type));
-                next;
-            }
-            my ($val, $msg) = $principal->RevokeRight(Object => $obj, Right => $right);
-            push (@results, $msg);
-        }
-} 
-
-my $title = loc('Modify group rights for custom field [_1]', $CustomFieldObj->Name);
-    
-</%INIT>
-
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/CustomFields/Modify.html b/rt/html/Admin/CustomFields/Modify.html
deleted file mode 100644 (file)
index 4c3c921..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/CustomFieldTabs,
-    id => $CustomFieldObj->Id ,
-    current_tab => $current_tab,
-    Title => $title &>
-<& /Elements/ListActions, actions => \@results &>
-
-
-<FORM METHOD="POST" ACTION="Modify.html" NAME="ModifyCustomField">
-<INPUT TYPE=HIDDEN NAME="id" VALUE="<%$id %>">
-<table>
-<tr>
-<td class="label"><&|/l&>Name</&></td>
-<td><input name="Name" VALUE="<%$CustomFieldObj->Name%>" SIZE=20></td></tr>
-<tr>
-<td class="label"><&|/l&>Description</&></td>
-<td><input name="Description" VALUE="<%$CustomFieldObj->Description%>" SIZE=80></td>
-</tr>
-
-<tr>
-<td class="label"><&|/l&>Type</&></td>
-<td><& /Admin/Elements/SelectCustomFieldType, 
-        Name => "TypeComposite", 
-        Default => $CustomFieldObj->TypeComposite, &>
-</td>
-</tr>
-<tr>
-<td class="label"><&|/l&>Applies to</&></td>
-<td><& /Admin/Elements/SelectCustomFieldLookupType, 
-        Name => "LookupType", 
-        Default => $CustomFieldObj->LookupType, &>
-</td>
-</tr>
-<tr>
-<td class="label">&nbsp;</td>
-<td>
-<INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
-<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>> <&|/l&>Enabled (Unchecking this box disables this custom field)</&>
-</td>
-</tr>
-</table>
-<BR>
-% if ($CustomFieldObj->Id && $CustomFieldObj->Type =~ /^Select/i) {
-<H2><&|/l&>Values</&></H2>
-<div>
-<& /Admin/Elements/EditCustomFieldValues, CustomField => $CustomFieldObj &>
-<& /Admin/Elements/AddCustomFieldValue, CustomField => $CustomFieldObj &>
-</div>
-% }
-<&/Elements/Submit&>
-</FORM>
-
-
-
-<%INIT>
-
-
-
-my $CustomFieldObj = RT::CustomField->new( $session{'CurrentUser'} );
-my ( $title, @results, $EnabledChecked, $Disabled);
-$EnabledChecked = "CHECKED";
-
-if ( !$id ) {
-    $title = loc("Create a CustomField");
-    $id    = 'new';
-}
-else {
-
-    if ( $id eq 'new' ) {
-        my ( $val, $msg ) = $CustomFieldObj->Create(Name        => $Name,
-                                                    TypeComposite => $TypeComposite,
-                                                    LookupType => $LookupType,
-                                                    Description => $Description,);
-        $m->comp("/Elements/Error", Why =>  loc( "Could not create CustomField", $msg ) ) unless ($val);
-        push @results, $msg;
-        $title = loc( 'Created CustomField [_1]', $CustomFieldObj->Name() );
-    }
-    else {
-        $CustomFieldObj->Load($id) || $m->comp("/Elements/Error", Why =>  loc('No CustomField') );
-        $title = loc( 'Editing CustomField [_1]', $CustomFieldObj->Name() );
-
-        my @attribs = qw( Name TypeComposite LookupType Description);
-        my @aresults = UpdateRecordObject( AttributesRef => \@attribs,
-                                           Object        => $CustomFieldObj,
-                                           ARGSRef       => \%ARGS );
-
-        push @results, @aresults;
-
-       #we're asking about enabled on the web page but really care about disabled.
-       if ($Enabled == 1) {
-           $Disabled = 0;
-       }       
-       else {
-           $Disabled = 1;
-       }
-       if  ( ($SetEnabled) and ( $Disabled != $CustomFieldObj->Disabled) ) { 
-           my  ($code, $msg) = $CustomFieldObj->SetDisabled($Disabled);
-           push @results, loc('Enabled status: [_1]', loc_fuzzy($msg));
-       }
-       
-       if ($CustomFieldObj->Disabled()) {
-           $EnabledChecked ="";
-       }
-    }
-
-    $id = $CustomFieldObj->id;
-}
-
-
-
-
-my $paramtag = "CustomField-".$CustomFieldObj->Id."-Value-";
-# Delete any fields that want to be deleted
-foreach my $key (keys %ARGS) {
-       
-       next unless ($key =~ /^Delete-$paramtag(\d+)$/);
-       my ($val, $msg) = $CustomFieldObj->DeleteValue($1);
-       push (@results, $msg);
-
-
-}
-# Update any existing values
-my $values = $CustomFieldObj->ValuesObj;
-while (my $value = $values->Next) {
-       foreach my $attr qw(Name Description SortOrder) {
-       my $param = $paramtag.$value->Id."-".$attr;
-
-       if ( $ARGS{$param} && ($value->$attr() ne $ARGS{$param}))  {
-               my $mutator = "Set$attr";
-               my ($id, $msg) = $value->$mutator($ARGS{$param});
-        push (@results, $msg);
-               }
-       }
-
-
-}
-
-
-
-# Add any new values
-if ($ARGS{$paramtag."new-Name"}) {
-       my ($id, $msg) = $CustomFieldObj->AddValue ( Name => $ARGS{$paramtag."new-Name"},
-                                                Description => $ARGS{$paramtag."new-Description"},
-                                                SortOrder => $ARGS{$paramtag."new-SortOrder"});
-       push (@results, $msg);
-}
-
-my $current_tab;
-if ($ARGS{'Create'}){ 
-    $current_tab = "Admin/CustomFields/Modify.html?Create=1";
-} else {
-    $current_tab = "Admin/CustomFields/Modify.html?id=".$id;
-    }
-
-
-</%INIT>
-<%ARGS>
-$id => undef
-$TypeComposite => undef
-$LookupType => undef
-$MaxValues => undef
-$SortOrder => undef
-$Description => undef
-$Name => undef
-$SetEnabled => undef
-$Enabled => undef
-</%ARGS>
diff --git a/rt/html/Admin/CustomFields/Objects.html b/rt/html/Admin/CustomFields/Objects.html
deleted file mode 100644 (file)
index 8f9e365..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/CustomFieldTabs,
-    id => $id,
-    current_tab => "Admin/CustomFields/Objects.html?id=".$id,
-    Title => $title
-    &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM ACTION="Objects.html" METHOD=POST>
-<INPUT TYPE=HIDDEN NAME="id" VALUE="<% $id %>">
-<INPUT TYPE=HIDDEN NAME="UpdateObjs" VALUE="1">
-
-<h2><&|/l&>Selected objects</&></h2>
-<& /Admin/Elements/PickObjects, Objects => \@AssignedObjs, id => $id, Checked => 1 &>
-<h2><&|/l&>Unselected objects</&></h2>
-<& /Admin/Elements/PickObjects, Objects => \@UnassignedObjs, id => $id &>
-
-<& /Elements/Submit, CheckAll => 1, ClearAll => 1 &>
-</FORM>
-
-<%INIT>
-my $CF = RT::CustomField->new($session{'CurrentUser'});
-$CF->Load($id) or Abort(loc("Could not load CustomField [_1]"), $id);
-my $LookupType = $CF->LookupType;
-$LookupType =~ /^(.*?)-/ ||
-     Abort(loc("Object of type [_1] cannot take custom fields", $LookupType));
-
-my $Class = $1;
-my $CollectionClass;
-if (UNIVERSAL::can($Class.'Collection', 'new') ) {
-$CollectionClass = $Class.'Collection';
-
-} elsif (UNIVERSAL::can($Class.'es', 'new') ) {
-    $CollectionClass = $Class.'es';
-
-} elsif (UNIVERSAL::can($Class.'s', 'new') ) {
-    $CollectionClass = $Class.'s';
-
-} else {
-    Abort(loc("Can't find a collection class for '[_1]'", $Class));
-}
-
-
-my $title = loc('Modify associated objects for [_1]', $CF->Name);
-
-my $Objects = $CollectionClass->new($session{'CurrentUser'});
-my (@results);
-my (@AssignedObjs, @UnassignedObjs);
-
-$Objects->UnLimit;
-$Objects->OrderBy( FIELD => 'Name' );
-
-
-my $ObjectCFs;
-$ObjectCFs = RT::ObjectCustomFields->new($session{'CurrentUser'});
-$ObjectCFs->UnLimit;
-$ObjectCFs->LimitToCustomField($id);
-
-my %seen;
-while (my $OCF = $ObjectCFs->Next) {
-    $seen{$OCF->ObjectId}++;
-}
-
-while (my $obj = $Objects->Next) { 
-    my $obj_id = $obj->Id;
-
-    if ($UpdateObjs) {
-       # Go through and delete all the custom field relationships that this object
-       # no longer has
-       my $key = "Object-$obj_id-CF-$id";
-       if ($ARGS{$key}) {
-           if (!$seen{$obj_id}) {
-               my ($val, $msg) = $CF->AddToObject($obj);
-               push (@results, $msg);
-               push @UnassignedObjs, $obj if !$val;
-           }
-       }
-       else {
-           push @UnassignedObjs, $obj;
-           if ($seen{$obj_id}) {
-               my ($val, $msg) = $CF->RemoveFromObject($obj);
-               push (@results, $msg);
-               pop @UnassignedObjs if !$val;
-           }
-       }
-    }
-    elsif (!$seen{$obj_id}) {
-       push @UnassignedObjs, $obj;
-    }
-    next if @UnassignedObjs and $UnassignedObjs[-1] == $obj;
-    push @AssignedObjs, $obj;
-}
-
-</%INIT>
-<%ARGS>
-$id => undef
-$FindDisabledObjects => 0
-$UpdateObjs => 0
-</%ARGS>
diff --git a/rt/html/Admin/CustomFields/UserRights.html b/rt/html/Admin/CustomFields/UserRights.html
deleted file mode 100644 (file)
index e2df3a0..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/CustomFieldTabs, id => $id, 
-current_tab => "Admin/CustomFields/UserRights.html?id=".$id,
-Title => $title, &>
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="UserRights.html">
-    <INPUT TYPE=HIDDEN NAME=id VALUE="<% $CustomFieldObj->id %>">
-      
-      
-<TABLE>
-        
-%      while (my $Member = $Users->Next()) {
-% my $UserObj = $Member->MemberObj->Object();
-% my $group = RT::Group->new($session{'CurrentUser'});
-% $group->LoadACLEquivalenceGroup($Member->MemberObj);
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $UserObj->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId=> $group->PrincipalId,
-        Object => $CustomFieldObj  &>
-         </TD>
-       </TR>
-% }
-      </TABLE>
-            
-      <& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-  #Update the acls.
-  my @results;
-foreach my $arg (keys %ARGS) {
-        if ($arg =~ /GrantRight-(\d+)-(.*?)-(\d+)$/) {
-            my $principal_id = $1;
-            my $object_type = $2;
-            my $object_id = $3;
-            my $rights = $ARGS{$arg};
-
-            my $principal = RT::Principal->new($session{'CurrentUser'});
-            $principal->Load($principal_id);
-            my $obj;
-
-            if ($object_type eq 'RT::CustomField') {
-                $obj = RT::CustomField->new($session{'CurrentUser'});
-                $obj->Load($object_id);
-
-            } else {
-                push (@results, loc("System Error").
-                                loc("Rights could not be granted for [_1]",
-$object_type));
-                next;
-            }
-
-            my @rights = ref($ARGS{$arg}) eq 'ARRAY' ? @{$ARGS{$arg}} :
-($ARGS{$arg});
-            foreach my $right (@rights) {
-                next unless ($right);
-                my ($val, $msg) = $principal->GrantRight(Object => $obj, Right
-=> $right);
-                push (@results, $msg);
-            }
-        }
-     elsif ($arg =~ /RevokeRight-(\d+)-(.*?)-(\d+)-(.*?)$/) {
-            my $principal_id = $1;
-            my $object_type = $2;
-            my $object_id = $3;
-            my $right = $4;
-
-            my $principal = RT::Principal->new($session{'CurrentUser'});
-            $principal->Load($principal_id);
-            next unless ($right);
-            my $obj;
-
-            if ($object_type eq 'RT::CustomField') {
-                $obj = RT::CustomField->new($session{'CurrentUser'});
-                $obj->Load($object_id);
-            } else {
-                push (@results, loc("System Error").
-                                loc("Rights could not be revoked for [_1]",
-$object_type));
-                next;
-            }
-            my ($val, $msg) = $principal->RevokeRight(Object => $obj, Right =>
-$right);
-            push (@results, $msg);
-        }
-} 
-  
-
-# {{{ Deal with setting up the display of current rights.
-
-
-
-if (!defined $id) {
-    $m->comp("/Elements/Error", Why => loc("No Class defined"));
-}
-
-my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'});
-$CustomFieldObj->Load($id) || $m->comp("/Elements/Error", Why => loc("Couldn't load Class [_1]",$id));
-
-# Find out which users we want to display ACL selects for
-my $Privileged = RT::Group->new($session{'CurrentUser'});
-$Privileged->LoadSystemInternalGroup('Privileged');
-my $Users = $Privileged->MembersObj();
-
-    
-my $title = loc('Modify user rights for custom field [_1]', $CustomFieldObj->Name);
-  
-# }}}
-    
-</%INIT>
-
-<%ARGS>
-$id => undef
-$UserString => undef
-$UserOp => undef
-$UserField => undef
-</%ARGS>
diff --git a/rt/html/Admin/CustomFields/index.html b/rt/html/Admin/CustomFields/index.html
deleted file mode 100644 (file)
index 9854fb0..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Select a Custom Field') &>
-<& /Admin/Elements/CustomFieldTabs,
-    current_tab => 'Admin/CustomFields/', 
-    Title => loc('Select a Custom Field') &>
-
-% my $prev_lookup = '';
-% while (my $CustomFieldObj = $CustomFields->Next) { 
-%    $CustomFieldObj->CurrentUserHasRight('AdminCustomField') or next;
-%    my $lookup = $CustomFieldObj->FriendlyLookupType;
-%    if ($lookup ne $prev_lookup) {
-%        if ($prev_lookup) {
-</UL>
-%        }
-<H2><% loc("Custom Fields for [_1]", $lookup) %></H2>
-<UL>
-%        $prev_lookup = $lookup;
-%    }
-%    
-<LI>
-<A HREF="Modify.html?id=<%$CustomFieldObj->id()%>"><%$CustomFieldObj->Name%>: <%$CustomFieldObj->Description%></a>
-</LI>
-% }
-% if ($prev_lookup) {
-</UL>
-% }
-
-<%INIT>
-my $CustomFields = RT::CustomFields->new($session{'CurrentUser'});
-$CustomFields->UnLimit();
-$CustomFields->OrderByCols( { FIELD => 'LookupType' }, { FIELD => 'Name' } );
-</%INIT>
diff --git a/rt/html/Admin/Elements/AddCustomFieldValue b/rt/html/Admin/Elements/AddCustomFieldValue
deleted file mode 100644 (file)
index 3e3f414..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<b><&|/l&>Add Value</&></b></b></b></b>
-<TABLE BORDER="0">
-<TR><TD><small>
-<&|/l&>Sort</&>:<br>
-<input size=3 name="CustomField-<%$CustomField->Id%>-Value-new-SortOrder" >
-</TD>
-<TD><small>
-<&|/l&>Name</&>:<br>
-<input type="text" size=30 name="CustomField-<%$CustomField->Id%>-Value-new-Name" >
-</TD>
-<TD><small>
-<&|/l&>Description</&>:<br>
-<input type="text" size=50 name="CustomField-<%$CustomField->Id%>-Value-new-Description">
-</TD></TR>
-</TABLE>
-
-<%init>
-</%init>
-<%args>
-$CustomField => undef
-</%args>
diff --git a/rt/html/Admin/Elements/CreateUserCalled b/rt/html/Admin/Elements/CreateUserCalled
deleted file mode 100644 (file)
index 0dc6ac7..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<FORM METHOD=get ACTION="<% $RT::WebPath %>/Admin/Users/Create.html">
-<&|/l&>New user called</&> <INPUT NAME="Name" size=10><input type=submit value="<&|/l&>Create</&>">
-</form>
diff --git a/rt/html/Admin/Elements/CustomFieldTabs b/rt/html/Admin/Elements/CustomFieldTabs
deleted file mode 100644 (file)
index d7acf33..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Tabs, 
-    current_tab => 'Admin/CustomFields/',
-    subtabs => $tabs, 
-    current_subtab => $current_tab, 
-    Title => $Title &>
-<%INIT>
-my $tabs;
-
-if ($id) {
-    my $cf = RT::CustomField->new( $session{'CurrentUser'} );
-    $cf->Load($id);
-    $tabs = {
-        this => {
-            title => $cf->Name,
-            path  => "Admin/CustomFields/Modify.html?id=" . $id,
-            current_subtab => $current_tab,
-
-            subtabs => {
-
-                C => { title => loc('Basics'),
-                       path  => "Admin/CustomFields/Modify.html?id=" . $id,
-                },
-                F => { title => loc('Group Rights'),
-                       path  => "Admin/CustomFields/GroupRights.html?id="
-                         . $id, },
-                G => {
-                    title => loc('User Rights'),
-                    path => "Admin/CustomFields/UserRights.html?id=" . $id,
-                },
-
-            } }
-
-    };
-
-
-    if ($cf->LookupType =~ /^RT::Queue/io) {
-       $tabs->{'this'}->{subtabs}->{D} = {
-       title => loc('Applies to'),
-           path  => "Admin/CustomFields/Objects.html?id=" . $id,
-       };
-    }
-}
-
-if ($session{'CurrentUser'}->HasRight( Object => $RT::System, Right => 'AdminCustomField')) {
-  $tabs->{"A"} = { title => loc('Select custom field'),
-                        path => "Admin/CustomFields/",
-                           };
-  $tabs->{"B"} = { title => loc('New custom field'),
-                        path => "Admin/CustomFields/Modify.html?Create=1",
-                        separator => 1,
-                           };
-}
-
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-
-foreach my $tab (sort keys %{$tabs->{'this'}->{'subtabs'}}) {
-    if ($tabs->{'this'}->{'subtabs'}->{$tab}->{'path'} eq $current_tab) {
-       $tabs->{'this'}->{'subtabs'}->{$tab}->{'subtabs'} = $subtabs;
-       $tabs->{'this'}->{'subtabs'}->{$tab}->{'current_subtab'} = $current_subtab;
-    }
-}
-if( $id ) { $current_tab = "Admin/CustomFields/Modify.html?id=" . $id }
-</%INIT>
-<%ARGS>
-$Title => undef
-$id => undef
-$current_tab => undef
-$subtabs => undef
-$current_subtab => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/EditCustomField b/rt/html/Admin/Elements/EditCustomField
deleted file mode 100644 (file)
index d8c5b29..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/ListActions, actions => \@results &>
-
-
-<FORM METHOD=POST ACTION="CustomField.html">
-<INPUT TYPE=HIDDEN NAME="CustomField" VALUE="<%$id %>">
-<INPUT TYPE=HIDDEN name="Queue" value="<%$Queue%>">
-
-<TABLE WIDTH="100%" BORDER="0">
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Name</&>:
-</TD><TD>
-<input name="Name" VALUE="<%$CustomFieldObj->Name%>" SIZE=20>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Description</&>:
-</TD><TD>
-<input name="Description" VALUE="<%$CustomFieldObj->Description%>" SIZE=80>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Type</&>:
-</TD><TD>
-<& /Admin/Elements/SelectCustomFieldType, Name => "Type", Default => $CustomFieldObj->Type &>
-</TD></TR>
-<TR><TD>
-</TD><TD>
-<INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
-<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>> <&|/l&>Enabled (Unchecking this box disables this custom field)</&>
-</TD></TR>
-</TABLE>
-
-<P>
-% if ($CustomFieldObj->Id and $CustomFieldObj->Type =~ /Select/) {
-<h2><&|/l&>Values</&></h2>
-<font size=-1>
-<& /Admin/Elements/EditCustomFieldValues, CustomField => $CustomFieldObj &>
-<& /Admin/Elements/AddCustomFieldValue, CustomField => $CustomFieldObj &>
-</font>
-% }
-<&/Elements/Submit, Label => loc('Create') &>
-</FORM>
-
-
-
-<%INIT>
-
-my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'});
-my $EnabledChecked = "CHECKED";
-my (@results);
-
-if (! $CustomField ) { 
-  $title = loc("Create a CustomField");
-  $id = 'new';
-} else {
-
-    if ($CustomField eq 'new') {
-      my ($val, $msg) =  $CustomFieldObj->Create(Queue => $Queue, 
-                                                 Name => $Name, 
-                                                 Type => $Type,
-                                                 Description => $Description,
-                                                );
-      
-      # if there is an error, then abort.  But since at this point there's
-      # stuff already printed, clear it out.
-      # (This only works in conjunction with temporarily turning autoflush
-      #  off in the files that use this component.)
-      unless ($val) {
-         $m->clear_buffer;
-         Abort(loc("Could not create CustomField: [_1]", $msg));
-      }
-      push @results, $msg;
-      $CustomFieldObj->SetSortOrder($CustomFieldObj->id);
-      $title = loc('Created CustomField [_1]', $CustomFieldObj->Name()); 
-    } else {
-      $CustomFieldObj->Load($CustomField) || Abort(loc('No CustomField'));
-      $title = loc('Editing CustomField [_1]', $CustomFieldObj->Name()); 
-
-      my @aresults = ProcessCustomFieldUpdates ( 
-                        CustomFieldObj => $CustomFieldObj,
-                        ARGSRef => \%ARGS );
-      push @results, @aresults;
-    }
-
-
-$id = $CustomFieldObj->id;
-
-  #we're asking about enabled on the web page but really care about disabled.
-  my $Disabled = ($Enabled ? 0 : 1);
-
-  if  ( ($SetEnabled) and ( $Disabled != $CustomFieldObj->Disabled) ) { 
-      my  ($code, $msg) = $CustomFieldObj->SetDisabled($Disabled);
-      push @results, loc('Enabled status [_1]', loc_fuzzy($msg));
-  }
-  
-  if ($CustomFieldObj->Disabled()) {
-      $EnabledChecked ="";
-  }
-
-}
-
-
-</%INIT>
-<%ARGS>
-$id => undef
-$title => undef
-$Queue => undef
-$CustomField => undef
-$Type => undef
-$Description => undef
-$Name => undef
-$SetEnabled => undef
-$Enabled => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/EditCustomFieldValues b/rt/html/Admin/Elements/EditCustomFieldValues
deleted file mode 100644 (file)
index 9cc3858..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if (!$values->Count) {
-<p><em><&|/l&>(no values)</&></em></p>
-%    return;
-% }
-<i><&|/l&>(Check box to delete)</&></i>
-<table>
-<tr>
-<td>&nbsp;</td>
-<td><&|/l&>Sort</&></td>
-<td><&|/l&>Name</&></td>
-<td><&|/l&>Description</&></td>
-</tr>
-% while (my $value = $values->Next) {
-<tr>
-<td>
-<input type="checkbox" name="Delete-CustomField-<%$CustomField->Id%>-Value-<%$value->Id%>">
-</td>
-<td>
-<input size=3 name="CustomField-<%$CustomField->Id%>-Value-<%$value->Id%>-SortOrder" value="<%$value->SortOrder%>">
-</td>
-<td>
-<input type="text" size=30 name="CustomField-<%$CustomField->Id%>-Value-<%$value->Id%>-Name" value="<%$value->Name%>">
-</td>
-<td>
-<font size="-1">
-<input type="text" size=50 name="CustomField-<%$CustomField->Id%>-Value-<%$value->Id%>-Description" value="<%$value->Description%>">
-</font>
-</td>
-</tr>
-% }
-</table>
-<%init>
-
-my $values = $CustomField->ValuesObj();
-
-</%init>
-<%args>
-$CustomField => undef
-</%args>
diff --git a/rt/html/Admin/Elements/EditCustomFields b/rt/html/Admin/Elements/EditCustomFields
deleted file mode 100644 (file)
index 1cd3df5..0000000
+++ /dev/null
@@ -1,189 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM ACTION="<%$RT::WebPath%><% $m->request_comp->path |n %>" METHOD="POST" NAME="EditCustomFields">
-<INPUT TYPE=HIDDEN NAME="id" VALUE="<% $Object->Id %>"/>
-<INPUT TYPE=HIDDEN NAME="ObjectType" VALUE="<% $ObjectType %>"/>
-<INPUT TYPE=HIDDEN NAME="SubType" VALUE="<% $SubType %>"/>
-<INPUT TYPE=HIDDEN NAME="UpdateCFs" VALUE="1"/>
-
-% if ($Object->Id) {
-<h2><&|/l&>Global Custom Fields</&></h2>
-<& PickCustomFields, CustomFields => \@GlobalCFs, ReadOnly => 1, id => $id, SubType => $SubType &>
-% }
-<h2><&|/l&>Selected Custom Fields</&></h2>
-<& PickCustomFields, CustomFields => [$ObjectCFs->CustomFields], id => $id, Checked => 1, SubType => $SubType &>
-<h2><&|/l&>Unselected Custom Fields</&></h2>
-<& PickCustomFields, CustomFields => \@UnassignedCFs, id => $id, SubType => $SubType &>
-
-<& /Elements/Submit, CheckAll => 1, ClearAll => 1 &>
-</FORM>
-
-
-<%INIT>
-my $CustomFields = RT::CustomFields->new($session{'CurrentUser'});
-my @results;
-my (@GlobalCFs, @UnassignedCFs);
-
-my $id = $Object->Id;
-if ($id and !$Object->CurrentUserHasRight('AssignCustomFields')) {
-    $m->out('<P><i>', loc('(No custom fields)'), '</i></P>');
-    return;
-}
-
-my $lookup = $ObjectType;
-$lookup .= "-$SubType" if $SubType;
-
-$CustomFields->LimitToLookupType($lookup);
-$CustomFields->OrderBy( FIELD => 'Name' );
-
-
-my ($GlobalCFs, $ObjectCFs);
-$ObjectCFs = RT::ObjectCustomFields->new($session{'CurrentUser'});
-$ObjectCFs->UnLimit;
-$ObjectCFs->LimitToObjectId($id);
-$ObjectCFs->LimitToLookupType($lookup);
-
-# {{{ deal with moving sortorder of custom fields
-if ($CustomField and $Move) {
-    my $SourceObj = RT::ObjectCustomField->new($session{'CurrentUser'});
-    $SourceObj->LoadByCols( ObjectId => $id, CustomField => $CustomField );
-
-    my $TargetObj;
-    my $target_order = $SourceObj->SortOrder + $Move;
-    while (my $ObjectCF = $ObjectCFs->Next) { 
-       my $this_order = $ObjectCF->SortOrder;
-
-       # if we have an exact match, finish the loop now
-       ($TargetObj = $ObjectCF, last) if $this_order == $target_order;
-
-       # otherwise, we need to apropos toward the general direction
-       # ... first, check the sign is correct
-       next unless ($this_order - $SourceObj->SortOrder) * $Move > 0;
-
-       # ... next, see if we already have a candidate
-       if ($TargetObj) {
-           # ... if yes, compare the delta and choose the smaller one
-           my $orig_delta = abs($TargetObj->SortOrder - $target_order);
-           my $this_delta = abs($this_order - $target_order);
-           next if $orig_delta < $this_delta;
-       }
-
-       $TargetObj = $ObjectCF;
-    }
-
-    if ($TargetObj) {
-       # swap their sort order
-       my ($s, $t) = ($SourceObj->SortOrder, $TargetObj->SortOrder);
-       $TargetObj->SetSortOrder($s);
-       $SourceObj->SetSortOrder($t);
-       # because order changed, we must redo search for subsequent uses
-    }
-
-    $ObjectCFs->GotoFirstItem;
-}
-# }}}
-
-if ($id) {
-    $GlobalCFs = RT::ObjectCustomFields->new($session{'CurrentUser'});
-    $GlobalCFs->LimitToObjectId(0);
-    $GlobalCFs->LimitToLookupType($lookup);
-}
-
-while (my $cf = $CustomFields->Next) { 
-    my $cf_id = $cf->Id;
-
-    if ($GlobalCFs and $GlobalCFs->HasEntryForCustomField($cf_id)) {
-       push @GlobalCFs, $cf;
-       next;
-    }
-
-    if ($UpdateCFs) {
-       # Go through and delete all the custom field relationships that this object
-       # no longer has
-       my $key = "Object-$id-CF-$cf_id";
-       if ($ARGS{$key}) {
-           if (!$ObjectCFs->HasEntryForCustomField($cf_id)) {
-               my ($val, $msg) = $cf->AddToObject($Object);
-               push (@results, $msg);
-               push @UnassignedCFs, $cf if !$val;
-           }
-       }
-       else {
-           push @UnassignedCFs, $cf;
-           if ($ObjectCFs->HasEntryForCustomField($cf_id)) {
-               my ($val, $msg) = $cf->RemoveFromObject($Object);
-               push (@results, $msg);
-               pop @UnassignedCFs if !$val;
-           }
-       }
-    }
-    elsif (!$ObjectCFs->HasEntryForCustomField($cf_id)) {
-       push @UnassignedCFs, $cf;
-    }
-        else {
-        }
-}
-
-# redo search...
-$ObjectCFs = RT::ObjectCustomFields->new($session{'CurrentUser'});
-$ObjectCFs->UnLimit;
-$ObjectCFs->LimitToObjectId($id);
-$ObjectCFs->LimitToLookupType($lookup);
-
-</%INIT>
-<%ARGS>
-$title => undef
-$Move => undef
-$Source => undef
-$CustomField => undef
-$FindDisabledCustomFields => undef
-$UpdateCFs => 0
-$Object
-$ObjectType
-$SubType => ''
-</%ARGS>
diff --git a/rt/html/Admin/Elements/EditQueueWatchers b/rt/html/Admin/Elements/EditQueueWatchers
deleted file mode 100644 (file)
index c93bf81..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%if ($Members->Count == 0 ) {
-<ul>
-<li><i><&|/l&>none</&></i>
-% } else {
-<i><&|/l&>(Check box to delete)</&></i><br><BR>
-<ul>
-% while (my $watcher=$Members->Next) {
-<li>
-<INPUT TYPE=CHECKBOX NAME="Queue-<%$QueueObj->Id%>-DeleteWatcher-Type-<%$Watchers->Type%>-Principal-<%$watcher->MemberId%>" value="1"
-        UNCHECKED>
-% if ($watcher->MemberObj->IsUser) { 
-<a href="<%$RT::WebPath%>/Admin/Users/Modify.html?id=<%$watcher->MemberObj->ObjectId%>">
-% } else {
-<a href="<%$RT::WebPath%>/Admin/Groups/Modify.html?id=<%$watcher->MemberObj->ObjectId%>">
-% }
-<%$watcher->MemberObj->Object->Name%></a>
-% }
-% }
-</ul>
-
-<%INIT>
-my $Members = $Watchers->MembersObj;
-</%INIT>
-
-<%ARGS>
-$QueueObj => undef
-$Watchers => undef
-</%ARGS>
-
-
-
diff --git a/rt/html/Admin/Elements/EditScrip b/rt/html/Admin/Elements/EditScrip
deleted file mode 100644 (file)
index 907ae9a..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/ListActions, actions => \@actions &>
-
-  
-<FORM METHOD=POST ACTION="Scrip.html">
-<input type="hidden" name="id" value="<%$id%>">
-<input type="hidden" name="Queue" value="<%$Queue%>">
-<& /Elements/TitleBoxStart, title => loc('Scrip Fields') &>
-<TABLE>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Description</&>:
-</TD>
-<TD>
-<input Name="Scrip-<%$id%>-Description" value="<%$scrip->Description%>">
-</TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Condition</&>:
-</TD>
-<TD>
-<& /Admin/Elements/SelectScripCondition, Name => "Scrip-$id-ScripCondition", Default => $scrip->ConditionObj->Id &><BR>
-</TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Action</&>:
-</TD>
-<TD>
-<& /Admin/Elements/SelectScripAction, Name => "Scrip-$id-ScripAction", Default => $scrip->ActionObj->Id &>
-</TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Template</&>: 
-</TD>
-<TD>
-<& /Admin/Elements/SelectTemplate, Name => "Scrip-$id-Template", Default => $scrip->TemplateObj->Id, Queue => $Queue &>
-</TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Stage</&>: 
-</TD>
-<TD>
-<& /Admin/Elements/SelectStage, Name => "Scrip-$id-Stage", Default => $scrip->Stage &>
-</TD>
-</TR>
-</table>
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, Caption => loc("Be sure to save your changes"), Reset => 1 &>
-
-<br>
-<& /Elements/TitleBoxStart, title => loc('User Defined conditions and actions') &>
-<table>
-<TR>
-<TD colspan=2>
-<i><&|/l&>(Use these fields when you choose 'User Defined' for a condition or action)</&></i>
-</TD>
-</TR>
-<TR>
-<TD class=labeltop>
-<&|/l&>Custom condition</&>:
-</TD>
-<TD>
-<TEXTAREA COLS=80 ROWS=5 NAME="Scrip-<%$id%>-CustomIsApplicableCode"><%$scrip->CustomIsApplicableCode%></TEXTAREA>
-</TD>
-</TR>
-<TR>
-<TD class=labeltop>
-<&|/l&>Custom action preparation code</&>:
-</TD>
-<TD>
-<TEXTAREA COLS=80 ROWS=5 NAME="Scrip-<%$id%>-CustomPrepareCode"><%$scrip->CustomPrepareCode%></TEXTAREA>
-</TD>
-</TR>
-<TR>
-<TD class=labeltop>
-<&|/l&>Custom action cleanup code</&>:
-</TD>
-<TD>
-<TEXTAREA COLS=80 ROWS=5 NAME="Scrip-<%$id%>-CustomCommitCode"><%$scrip->CustomCommitCode%></TEXTAREA>
-</TD>
-</TR>
-</table>
-<& /Elements/TitleBoxEnd &>
-
-<& /Elements/Submit, Label => loc('Create'), Reset => 1 &>
-
-</FORM>
-<%init>
-my (@actions);
-
-
-my $scrip = new RT::Scrip($session{'CurrentUser'});
-
-if ( $id eq 'new' ) {
-
-    my ( $retval, $msg ) = $scrip->Create(
-            Queue                  => $Queue,
-            ScripAction            => $ARGS{"Scrip-new-ScripAction"},
-            ScripCondition         => $ARGS{"Scrip-new-ScripCondition"},
-            Template               => $ARGS{"Scrip-new-Template"},
-            Description            => $ARGS{"Scrip-new-Description"},
-            CustomPrepareCode      => $ARGS{"Scrip-new-CustomPrepareCode"},
-            CustomCommitCode       => $ARGS{"Scrip-new-CustomCommitCode"},
-            CustomIsApplicableCode => $ARGS{"Scrip-new-CustomIsApplicableCode"},
-    );
-    if ( defined $retval ) {
-        push @actions, $msg;
-        $id = $scrip->id;
-    }
-    else {
-        Abort( $msg);
-    }
-}
-elsif ($id) {
-    my ($val,$msg) =$scrip->Load($id);
-    if  ($val) {
-        $id = $scrip->id;
-    } else {
-       Abort ($msg);
-    }
-    my @attribs = qw (
-      Queue
-      ScripAction
-      ScripCondition
-      Template
-      Stage
-      Description
-      CustomPrepareCode
-      CustomCommitCode
-      CustomIsApplicableCode
-    );
-    my @results = UpdateRecordObject( AttributesRef => \@attribs,
-                                      AttributePrefix => 'Scrip-'.$scrip->Id,
-                                      Object        => $scrip,
-                                      ARGSRef       => \%ARGS );
-    push (@actions, @results);
-}
-
-elsif ($ARGS{'create'}) {
-    $id = 'new';
-}
-
-# }}}
-</%init>
-
-<%ARGS>
-$id => undef
-$title => undef
-$Queue => 0
-</%ARGS>
diff --git a/rt/html/Admin/Elements/EditScrips b/rt/html/Admin/Elements/EditScrips
deleted file mode 100644 (file)
index 9526118..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/ListActions, actions => \@actions &>
-
-<form action="Scrips.html" method="post">
-<input type="hidden" name="id" value="<%$id%>">
-
-<h2><&|/l&>Current Scrips</&></h2>
-% if ($Scrips->Count == 0 ) {
-<P><i><&|/l&>(No scrips)</&></i></P>
-% } else {
-<TABLE>
-<P><i><&|/l&>(Check box to delete)</&></i></P>
-
-%   while (my $scrip = $Scrips->Next ) {
-<TR>
-<TD>
-<input type="checkbox" name="DeleteScrip-<%$scrip->Id%>" value="1">
-</TD>
-<TD>
-<a href="Scrip.html?id=<%$scrip->Id%>&Queue=<%$id%>"><% $scrip->Description || "<i>(".loc('no value').")</i>" |n %></a><br>
-<small><&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name) &>[_1] [_2] with template [_3]</&></small>
-</TD>
-</TR>
-%   }
-
-</TABLE>
-
-% }
-<& /Elements/Submit, 
-       Caption => loc("Delete selected scrips"), 
-       Label => loc("Delete") &>
-</form>
-<%init>
-my (@actions);
-
-my $Scrips = RT::Scrips->new($session{'CurrentUser'});
-
-
-my $QueueObj = RT::Queue->new($session{'CurrentUser'});
-if ($id)  {
-        $QueueObj->Load($id);                        
-}
-
-if ($QueueObj->id) {                         
-       $Scrips->LimitToQueue($id);
-}                                            
-else {                                       
-        $Scrips->LimitToGlobal();
-}                                           
-
-
-
-
-# {{{ deal with modifying and deleting existing scrips
-foreach my $key (keys %ARGS) {
-  # {{{ if we're trying to delete the scrip
-  if ($key =~ /^DeleteScrip-(\d+)/) {
-    my $id = $1;
-    my $scrip = new RT::Scrip($session{'CurrentUser'});
-    $scrip->Load($id);
-    my ($retval, $msg) = $scrip->Delete;
-    if ($retval) {
-      push @actions, loc("Scrip deleted");
-    }
-    else {
-      push @actions, $msg;
-    }
-  }
-  # }}}
-}
-# }}}
-</%init>
-
-<%ARGS>
-$id => undef
-$title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/EditTemplates b/rt/html/Admin/Elements/EditTemplates
deleted file mode 100644 (file)
index 207ffd0..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/ListActions, actions => \@actions &>
-
-<FORM METHOD=GET ACTION="Templates.html">
-<INPUT TYPE="Hidden" NAME="id" VALUE="<%$id%>">
-
-% if ($Templates->Count == 0 ) {
-<P><i><&|/l&>(No templates)</&></i></P>
-% } else {
-<TABLE>
-<TR>
-<TH>
-<i><&|/l&>(Check box to delete)</&></i>
-</TH>
-<TH>
-</TH>
-</TR>
-% my $count;
-% while (my $TemplateObj = $Templates->Next) { 
-<TR>
-<TD>
-<input type="checkbox" name="DeleteTemplate-<%$TemplateObj->Id%>" value="1">
-</TD>
-<TD>
-<A HREF="Template.html?Queue=<%$id%>&Template=<%$TemplateObj->id()%>">
-<B><% loc($TemplateObj->Name) %></B></A>
-<br><% loc($TemplateObj->Description) %>
-</TD>
-</TR>
-
-% }
-</TABLE>
-% }
-
-<& /Elements/Submit, Label => loc('Delete Template') &>
-</FORM>
-
-<%INIT>
-my $Templates = RT::Templates->new($session{'CurrentUser'});
-my $QueueObj = RT::Queue->new($session{'CurrentUser'});
-my @actions;
-
-if ($id)  {
-        $QueueObj->Load($id);                        
-}
-
-if ($QueueObj->id) {
-       $Templates->LimitToQueue($id);
-}                                            
-else {                                       
-        $Templates->LimitToGlobal();
-}                                           
-
-# Now let callbacks add their extra limits
-$m->comp('/Elements/Callback', Templates => $Templates, %ARGS);
-
-# {{{ deal with deleting existing templates
-foreach my $key (keys %ARGS) {
-  # {{{ if we're trying to delete the template
-  if ($key =~ /^DeleteTemplate-(\d+)/) {
-    my $id = $1;
-    my $TemplateObj = RT::Template->new($session{'CurrentUser'});
-    $TemplateObj->Load($id);
-    my ($retval, $msg) = $TemplateObj->Delete;
-    if ($retval) {
-      push @actions, loc("Template deleted");
-    }
-    else {
-      push @actions, $msg;
-    }
-  }
-  # }}}
-}
-# }}}
-</%INIT>
-<%ARGS>
-$id => 0
-$title => undef
-$Move => undef
-$Source => undef
-$Template => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/EditUserComments b/rt/html/Admin/Elements/EditUserComments
deleted file mode 100644 (file)
index fb96dc0..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => "Comments about $name" &>
-<&|/l&>These comments aren't generally visible to the user</&>:<br>
-<input type="hidden" name="id" value="<%$id%>">
-<TEXTAREA COLS=60 ROWS=15 WRAP=SOFT NAME="Comments"><% $UserObj->Comments %></TEXTAREA>
-</FORM>
-
-<%ARGS>
-$UserObj => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/GlobalCustomFieldTabs b/rt/html/Admin/Elements/GlobalCustomFieldTabs
deleted file mode 100755 (executable)
index 8d4eaca..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/SystemTabs, subtabs => $tabs, 
-    current_tab => 'Admin/Global/CustomFields/index.html', 
-    current_subtab => $current_tab, 
-    Title => $Title &>
-<%INIT>
-
-
-  my $tabs = {
-                
-               A => { title => loc('Users'),
-                           text => loc('Modify scrips which apply to all queues'),
-                           path => 'Admin/Global/CustomFields/Users.html',
-                         },
-               B => { title => loc('Groups'),
-                        text => loc('Edit system templates'),
-                        path => 'Admin/Global/CustomFields/Groups.html',
-                      },
-              
-                F => { title => loc('Tickets'),
-                text => loc('Modify global custom fields'),
-                        path => 'Admin/Global/CustomFields/Queue-Tickets.html',
-                        },
-
-                        G => { title => loc('Ticket Transactions'),
-                                text => loc('Modify global group rights'),
-                                path => 'Admin/Global/CustomFields/Queue-Transactions.html',
-                      },
-};
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-
-  foreach my $tab (sort keys %{$tabs}) {
-    if ($tabs->{$tab}->{'path'} eq $current_tab) {
-      $tabs->{$tab}->{"subtabs"} = $subtabs;
-      $tabs->{$tab}->{"current_subtab"} = $current_subtab;
-    }
-  }
-</%INIT>
-
-  
-<%ARGS>
-$id => undef
-$current_tab => undef
-$subtabs => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/GroupTabs b/rt/html/Admin/Elements/GroupTabs
deleted file mode 100644 (file)
index 60edda4..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Tabs, 
-    subtabs => $tabs, 
-    current_tab => 'Admin/Groups/', 
-    current_subtab => $current_tab, 
-    Title => $Title &>
-<%INIT>
-my $tabs;
-
-if ( $GroupObj and $GroupObj->id ) {
-$tabs->{"this"} = { class => "currentnav",                                                           
-                    path  => "Admin/Groups/Modify.html?id=" . $GroupObj->id,
-                    title => $GroupObj->Name,
-                    current_subtab => $current_subtab,
-        subtabs => {
-        C => { title => loc('Basics'),
-               path  => "Admin/Groups/Modify.html?id=" . $GroupObj->id },
-
-        D => { title => loc('Members'),
-               path  => "Admin/Groups/Members.html?id=" . $GroupObj->id },
-
-        F => { title => loc('Group Rights'),
-               path  => "Admin/Groups/GroupRights.html?id=" . $GroupObj->id, },
-        G => { title => loc('User Rights'),
-               path  => "Admin/Groups/UserRights.html?id=" . $GroupObj->id, },
-        H => { title => loc('History'),
-               path  => "Admin/Groups/History.html?id=" . $GroupObj->id },
-    }
-}
-}
-$tabs->{"A"} = { title => loc('Select group'),
-                 path  => "Admin/Groups/", };
-$tabs->{"B"} = { title     => loc('New group'),
-                 path      => "Admin/Groups/Modify.html?Create=1",
-                separator => 1, };
-
-# Now let callbacks add their extra tabs
-$m->comp( '/Elements/Callback', tabs => $tabs, %ARGS );
-foreach my $tab ( sort keys %{$tabs->{'this'}->{'subtabs'}} ) {  
-    if ( $tabs->{'this'}->{'subtabs'}->{$tab}->{'path'} eq $current_tab ) {
-        $tabs->{'this'}->{'subtabs'}->{$tab}->{"subtabs"}        = $subtabs; 
-        $tabs->{'this'}->{'subtabs'}->{$tab}->{"current_subtab"} = $current_subtab; 
-    }                                                                           
-}   
-        $tabs->{'this'}->{"current_subtab"} = $current_tab; 
-        $current_tab = "Admin/Groups/Modify.html?id=".$GroupObj->id if $GroupObj;
-
-</%INIT>
-<%ARGS>
-$GroupObj => undef
-$subtabs => undef
-$current_subtab => undef
-$current_tab => undef
-$Title => undef
-</%ARGS>
-
diff --git a/rt/html/Admin/Elements/Header b/rt/html/Admin/Elements/Header
deleted file mode 100644 (file)
index b809080..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, %ARGS &>
-
-<%ARGS>
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/ListGlobalCustomFields b/rt/html/Admin/Elements/ListGlobalCustomFields
deleted file mode 100644 (file)
index 3df9d62..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%   my $count = 0;
-%   while (my $CustomFieldObj = $CustomFields->Next) { 
-%   $count++;
-<font size="-1"><%$CustomFieldObj->id%>/<% loc($CustomFieldObj->Type) %>/<%$CustomFieldObj->Name%>: <%$CustomFieldObj->Description%></font>
-<BR>
-%   }
-%   if (!$count) {
-<font size="-1"><&|/l&>(No custom fields)</&></font>
-%   }
-
-<%init>
-my $CustomFields = new RT::CustomFields ($session{'CurrentUser'});
-$CustomFields->LimitToGlobal();
-</%INIT>
diff --git a/rt/html/Admin/Elements/ListGlobalScrips b/rt/html/Admin/Elements/ListGlobalScrips
deleted file mode 100644 (file)
index 2e37912..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-
-% if ($Scrips->Count == 0) {
-
-<P><i><&|/l&>(No scrips)</&></i></P>
-
-% } else {
-
-<UL>
-
-%   while (my $scrip = $Scrips->Next ) {
-<LI>
-<a href="<%$RT::WebPath%>/Admin/Global/Scrip.html?id=<%$scrip->Id%>&Queue=<%0%>">
-% if ($scrip->Description) {
-<%   $scrip->Description %> 
-% } else {
-<i>(<&|/l, $scrip->Id&>Scrip #[_1]</&>)</i>
-% }
-</a><br>
-<small><&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name) &>[_1] [_2] with template [_3]</&></small>
-</LI>
-%   }
-
-</UL>
-
-% }
-
-<%init>
-my $Scrips = new RT::Scrips ($session{'CurrentUser'});
-$Scrips->LimitToGlobal();
-</%INIT>
diff --git a/rt/html/Admin/Elements/ModifyTemplate b/rt/html/Admin/Elements/ModifyTemplate
deleted file mode 100644 (file)
index 6749f3e..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Name</&>:
-</TD>
-<TD>
-<input name="Name" VALUE="<%$Name%>" SIZE=20><BR>
-</TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Description</&>: 
-</TD>
-<TD>
-<input name="Description" VALUE="<%$Description%>" SIZE=80><BR>
-</TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT VALIGN=TOP>
-<&|/l&>Content</&>:<BR>
-</TD>
-<TD>
-<TEXTAREA NAME=Content ROWS=25 COLS=80 WRAP=SOFT>
-<%$Content%></TEXTAREA>
-</TD>
-</TR>
-</TABLE>
-
-<%INIT>
-
-</%INIT>
-
-<%ARGS>
-$Name => undef
-$Description => undef
-$Content => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/ObjectCustomFields b/rt/html/Admin/Elements/ObjectCustomFields
deleted file mode 100644 (file)
index a87e157..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& $ObjectTabs,
-$id ? (
-    id => $Object->id, 
-    current_tab => "Admin/$Types/CustomFields.html?$sub_type_url&id=".$id, 
-    current_subtab => "Admin/$Types/CustomFields.html?$sub_type_url&id=".$id, 
-    "${Type}Obj" => $Object,
-) : (
-    current_tab => "Admin/Global/CustomFields/${QualifiedType}s.html",
-),
-    Title => $title
-    &>
-
-<& /Admin/Elements/EditCustomFields, %ARGS, title => $title, Object => $Object &>
-<%INIT>
-# XXX TODO: Validate here?
-#$ObjectType =~ /^RT::(Queue|User|Group)$/
-#    or Abort(loc("Object of type [_1] cannot take custom fields", $ObjectType));
-
-
-
-my $Type = $1;
-my $Types = $Type.'s';
-my $ObjectTabs;
-my $Object = $ObjectType->new($session{'CurrentUser'});
-
-
-my $QualifiedType;
-my $FriendlySubTypes;
-if ($SubType =~/^RT::(.*)$/)  {
-    $FriendlySubTypes = RT::CustomField->new($session{'CurrentUser'})->FriendlyLookupType($Object->CustomFieldLookupType);
-   $QualifiedType = "$Type-$1"; 
-} else {
-    $QualifiedType = $Type;
-}
-
-if ($id) { 
-    $Object->Load($id) || Abort(loc("Couldn't load object [_1]", $id));
-    $ObjectTabs = "/Admin/Elements/${Type}Tabs";
-} else {
-    $ObjectTabs = "/Admin/Elements/GlobalCustomFieldTabs";
-
-} 
-
-my $title; 
-if ($id) {
-$title =  loc('Edit Custom Fields for [_1]', $Object->Name);
-}
-elsif ($SubType) {
-
-    $title=   loc("Modify Custom Fields which apply to [_1] for all [_2]", loc(lc($FriendlySubTypes)), loc(lc($Types)));
-} else {
- $title =loc("Modify Custom Fields which apply to all [_1]", loc(lc($Types)));
-
-}
-my $sub_type_url;
-$sub_type_url = "SubType=$SubType" if $SubType;
-
-</%INIT>
-<%ARGS>
-$id => undef
-$ObjectType
-$SubType => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/PickCustomFields b/rt/html/Admin/Elements/PickCustomFields
deleted file mode 100644 (file)
index c2a30f9..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if (@CustomFields == 0) {
-<p><i><&|/l&>(None)</&></i></p>
-% } else {
-<TABLE cellspacing=0 cellpadding=2>
-% my $count;
-% foreach my $CustomFieldObj (@CustomFields) {
-<TR>
-%   if (!$ReadOnly) {
-  <TD valign="TOP">
-<input type="checkbox" name="Object-<%$id%>-CF-<%$CustomFieldObj->Id%>" value="1" <% $Checked ? 'CHECKED' : '' %>
->
-  </TD>
-%   }
-  <TD valign="TOP">
-    <A HREF="<%$RT::WebPath%>/Admin/CustomFields/Modify.html?id=<%$CustomFieldObj->id()%>">
-% if ($CustomFieldObj->Name) {
-<b><%$CustomFieldObj->Name%></b>
-% } else {
-<i>(<&|/l&>no name</&>)</i>
-% }
-</a><br>
-    <%$CustomFieldObj->Description%>
-  </TD>
-  <TD valign="TOP">
-    <i><% $CustomFieldObj->FriendlyTypeComposite %></i>
-  </TD>
-%  # show 'move up' unless it's the first item
-%  if ($count++ and $Checked) {
-  <TD valign="TOP">
-    [<a href="<%$RT::WebPath%><% $m->request_comp->path |n %>?id=<%$id%>&SubType=<%$SubType%>&CustomField=<%$CustomFieldObj->id%>&Move=-1"><&|/l&>Move up</&></a>]
-%  } else {
-  <TD valign="TOP" ALIGN=RIGHT>
-%  }
-
-%  # show 'move down' unless it's the last item
-%  if ($count != @CustomFields and $Checked) {
-%  $m->print(' | ') if $count > 1;
-    [<a href="<%$RT::WebPath%><% $m->request_comp->path |n %>?id=<%$id%>&SubType=<%$SubType%>&CustomField=<%$CustomFieldObj->id%>&Move=1"><&|/l&>Move down</&></a>]
-%  }
-  </TD>
-</TR>
-% }
-</TABLE>
-% }
-<%ARGS>
-@CustomFields
-$id
-$ReadOnly => 0
-$Checked => 0
-$SubType
-</%ARGS>
diff --git a/rt/html/Admin/Elements/PickObjects b/rt/html/Admin/Elements/PickObjects
deleted file mode 100644 (file)
index b07a882..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if (@Objects == 0) {
-<P><i><&|/l&>(None)</&></i></P>
-% } else {
-<TABLE cellspacing=0 cellpadding=2>
-% my $count;
-% foreach my $Object (@Objects) {
-<TR>
-%   if (!$ReadOnly) {
-  <TD valign="TOP">
-<input type="checkbox" name="Object-<%$Object->id%>-CF-<%$id%>" value="1" <% $Checked ? 'CHECKED' : ''%>
->
-  </TD>
-%   }
-  <TD valign="TOP">
-% if ($Object->Name) {
-    <b><%$Object->Name%></b><br>
-% } else {
-    <i>(<%loc("no name")%>)</i><br>
-% }
-    <%$Object->can('Description') && $Object->Description%>
-  </TD>
-%#  <TD valign="TOP">
-%#    <i><% $CustomFieldObj->FriendlyTypeComposite %></i>
-%#  </TD>
-  </TD>
-</TR>
-% }
-</TABLE>
-% }
-<%ARGS>
-@Objects
-$id
-$ReadOnly => 0
-$Checked => 0
-</%ARGS>
diff --git a/rt/html/Admin/Elements/QueueRightsForUser b/rt/html/Admin/Elements/QueueRightsForUser
deleted file mode 100644 (file)
index 01f294a..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<UL>
-%while(my $ACE = $ACL->Next) {
-
-<LI><checkbox name="delete_ace_<%$ACE->id%>" value="1"> <% loc($ACE->RightName) %> (<%$ACE->UserObj->RealName%>)
-
-%}
-</UL>
-
-<%INIT>
-my $ACL = new RT::ACL($session{'CurrentUser'});
-$ACL->LimitToQueue($QueueObj->id);
-$ACL->LimitPrincipalToUser($PrincipalId);
-</%INIT>
-<%ARGS>
-$PrincipalId => undef
-$QueueObj => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/QueueTabs b/rt/html/Admin/Elements/QueueTabs
deleted file mode 100644 (file)
index 93522d0..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Tabs, 
-    subtabs => $tabs, 
-    current_tab => 'Admin/Queues/', 
-    current_subtab => $current_tab, 
-    Title => $Title &>
-
-<%INIT>
-my $tabs;
-if ($id) {
-  $tabs->{'this'}  = {
-                title => $QueueObj->Name,
-                       path => "Admin/Queues/Modify.html?id=".$id,
-                    current_subtab => $current_tab,     
-                subtabs => {
-                C => { title => loc('Basics'),
-                       path => "Admin/Queues/Modify.html?id=".$id,
-                          },
-                D => { title => loc('Watchers'),
-                       path => "Admin/Queues/People.html?id=".$id,
-                     },
-
-                E => { title => loc('Scrips'),
-                            path => "Admin/Queues/Scrips.html?id=".$id,
-                          },
-                F => { title => loc('Templates'),
-                               path => "Admin/Queues/Templates.html?id=".$id,
-                             },
-
-                 G1 => { title => loc('Ticket Custom Fields'),
-                        path => 'Admin/Queues/CustomFields.html?SubType=RT::Ticket&id='.$id,
-                        },
-
-                 G2 => { title => loc('Transaction Custom Fields'),
-                        path => 'Admin/Queues/CustomFields.html?SubType=RT::Ticket-RT::Transaction&id='.$id,
-                        },
-
-                H => { title => loc('Group Rights'),
-                         path => "Admin/Queues/GroupRights.html?id=".$id,
-                       },      
-                I => { title => loc('User Rights'),
-                         path => "Admin/Queues/UserRights.html?id=".$id,
-                       }
-        }
-        };
-}
-if ($session{'CurrentUser'}->HasRight( Object => $RT::System, Right => 'AdminQueue')) {
-  $tabs->{"A"} = { title => loc('Select queue'),
-                       path => "Admin/Queues/",
-                          };
-  $tabs->{"B"} = { title => loc('New queue'),
-                       path => "Admin/Queues/Modify.html?Create=1",
-                separator => 1, };
-}
-
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-foreach my $tab ( sort keys %{$tabs->{'this'}->{'subtabs'}} ) {  
-    if ( $tabs->{'this'}->{'subtabs'}->{$tab}->{'path'} eq $current_tab ) {
-        $tabs->{'this'}->{'subtabs'}->{$tab}->{"subtabs"}        = $subtabs; 
-        $tabs->{'this'}->{'subtabs'}->{$tab}->{"current_subtab"} = $current_subtab; 
-    }                                                                           
-}   
-                       $current_tab = "Admin/Queues/Modify.html?id=".$id if $id;
-</%INIT>
-  
-<%ARGS>
-$QueueObj => undef
-$id => undef
-$subtabs => undef
-$current_subtab => undef
-$current_tab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectCustomFieldLookupType b/rt/html/Admin/Elements/SelectCustomFieldLookupType
deleted file mode 100644 (file)
index ec9f740..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-%for my $option ($cf->LookupTypes) {
-<OPTION VALUE="<%$option%>" <%$option eq $Default && "SELECTED"%>><% $cf->FriendlyLookupType($option) %></OPTION>
-%}
-</SELECT>
-<%INIT>
-my $cf = RT::CustomField->new($session{'CurrentUser'});
-
-</%INIT>
-<%ARGS>
-$Default=>undef
-$Name => 'LookupType'
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectCustomFieldType b/rt/html/Admin/Elements/SelectCustomFieldType
deleted file mode 100644 (file)
index 3f25b8e..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-%for my $option ($cf->TypeComposites) {
-<OPTION VALUE="<%$option%>" <%$option eq $Default && "SELECTED"%>><% $cf->FriendlyTypeComposite($option) %></OPTION>
-%}
-</SELECT>
-<%INIT>
-my $cf = RT::CustomField->new($session{'CurrentUser'});
-
-</%INIT>
-<%ARGS>
-$Default=>undef
-$Name => 'TypeComposite'
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectGroups b/rt/html/Admin/Elements/SelectGroups
deleted file mode 100644 (file)
index 92bd475..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT MULTIPLE NAME="<%$Name%>"  SIZE=10>
-%while (my $group = $groups->Next) {
-<OPTION VALUE="<%$group->id%>"><%$group->Name%>
-%}
-</SELECT>
-
-<%INIT>
-my $groups = new RT::Groups($session{'CurrentUser'});
-$groups->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => $Domain);
-
-</%INIT>
-<%ARGS>
-$Name => 'groups'
-$Domain => 'UserDefined';
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectModifyGroup b/rt/html/Admin/Elements/SelectModifyGroup
deleted file mode 100644 (file)
index 272e1f0..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%while ( $Group = $Groups->Next) {
-<A HREF="Modify.html?id=<%$Group->id%>"><%$Group->id%>: <%$Group->Name%></a><BR>
-%}
-<%INIT>
-my ($Group);
-my $Groups = new RT::Groups($session{'CurrentUser'});
-$Groups->UnLimit;
-</%INIT>
-<%ARGS>
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectModifyQueue b/rt/html/Admin/Elements/SelectModifyQueue
deleted file mode 100644 (file)
index 3a30d09..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%while ( $queue = $queues->Next) {
-<A HREF="Modify.html?id=<%$queue->id%>"><%$queue->id%>: <%$queue->Name%></a><BR>
-%}
-<%INIT>
-my ($queue);
-my $queues = new RT::Queues($session{'CurrentUser'});
-$queues->UnLimit;
-</%INIT>
-<%ARGS>
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectModifyUser b/rt/html/Admin/Elements/SelectModifyUser
deleted file mode 100644 (file)
index fc6c012..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%while ( $user = $users->Next) {
-<A HREF="Modify.html?id=<%$user->id%>"><%$user->id%>: <%$user->Name%></a><BR>
-%}
-<%INIT>
-my ($user);
-my $users = new RT::Users($session{'CurrentUser'});
-$users->Limit(FIELD => 'id',
-              VALUE => $RT::SystemUser->id,
-              OPERATOR => '!=' );
-
-if (defined $IdLike) {
-$users->Limit(FIELD => 'Name',
-              VALUE => $IdLike,
-              OPERATOR => 'LIKE' );
-}
-if (defined $EmailLike) {
-$users->Limit(FIELD => 'EmailAddress',
-              VALUE => $EmailLike,
-              OPERATOR => 'LIKE');
-
-}
-</%INIT>
-<%ARGS>
-$IdLike => undef
-$EmailLike => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectNewGroupMembers b/rt/html/Admin/Elements/SelectNewGroupMembers
deleted file mode 100644 (file)
index 95056ae..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($Show ne 'Groups') {
-<b><&|/l&>Users</&></b>
-<SELECT MULTIPLE NAME="<%$Name%>Users"  SIZE=10>
-%while (my $user = $users->Next) {
-<OPTION VALUE="User-<%$user->id%>"><%$user->Name%></OPTION>
-%}
-</SELECT>
-<br>
-% }
-% if ($Show ne 'Users') {
-<b><&|/l&>Groups</&></b>
-<SELECT MULTIPLE NAME="<%$Name%>Groups"  SIZE=10>
-%while (my $group = $groups->Next) {
-<OPTION VALUE="Group-<%$group->id%>"><%$group->Name%></OPTION>
-%}
-</SELECT>
-% }
-
-<%INIT>
-my $users = new RT::Users($session{'CurrentUser'});
-
-$users->Limit(
-    FIELD           => 'id',
-    VALUE           => $RT::SystemUser->id,
-    OPERATOR        => '!=',
-    ENTRYAGGREGATOR => 'AND'
-);
-$users->Limit(
-    FIELD           => 'id',
-    VALUE           => $RT::Nobody->id,
-    OPERATOR        => '!=',
-    ENTRYAGGREGATOR => 'AND'
-);
-$users->LimitToPrivileged();
-
-my $groups = new RT::Groups($session{'CurrentUser'});
-
-# self-recursive group membership considered harmful!
-$groups->Limit(FIELD => 'id', VALUE => $Group->id, OPERATOR => '!=' );
-$groups->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'UserDefined');
-
-
-</%INIT>
-<%ARGS>
-$Name => 'Users'
-$Show => 'All'
-$Group
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectRights b/rt/html/Admin/Elements/SelectRights
deleted file mode 100644 (file)
index 3e61d50..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<INPUT TYPE=HIDDEN NAME="CheckACL"  VALUE="<%$ACLDesc%>">
-     <TABLE BORDER=0>
-<TR>
-<TD valign=top width="180" align="left"> 
-%  my %current_rights;
-<h3><&|/l&>Current rights</&></h3>
-% if ($ACLObj->Count() == 0) {
-<i><&|/l&>No rights granted.</&></i> <BR>    
-% } else {
-<i>(<&|/l&>Check box to revoke right</&>)</i> <BR>
-% while (my $right = $ACLObj->Next()) {
-% if ($right->RightName) {
-% $current_rights{$right->RightName} = 1;
-<input type=checkbox value="<%$right->Id%>" name="RevokeRight-<%$ACLDesc%>-<%$right->RightName%>"> <% loc($right->RightName) %><br>
-% }
-%  }
-% }
-</TD>
-<TD valign=top>
-<h3><&|/l&>New rights</&></h3> 
-<SELECT SIZE=5  MULTIPLE  NAME="GrantRight-<%$ACLDesc%>">
-% foreach $right (sort keys %Rights) {
-% next if $current_rights{$right};
-      <OPTION VALUE="<%$right%>"  
-       ><% loc($right) %></OPTION>
-% }
-<OPTION VALUE="" SELECTED><&|/l&>(no value)</&></OPTION>
-</SELECT>
-</TD>
-</TR>
-</TABLE>
-<%INIT>
-    my ($right, $ACLDesc, $AppliesTo, %Rights);
-
-    # if the principal id points to a user, we really want to point
-    # to their ACL equivalence group. The machinations we're going through
-    # lead me to start to suspect that we really want users and groups
-    # to just be the same table. or _maybe_ that we want an object db.
-    my $princ = RT::Principal->new($RT::SystemUser);
-    $princ->Load($PrincipalId);
-    if ($princ->PrincipalType eq 'User') {
-    my $group = RT::Group->new($RT::SystemUser);
-        $group->LoadACLEquivalenceGroup($princ);
-        $PrincipalId = $group->PrincipalId;
-    }
-
-
-    my $ACLObj = new RT::ACL($session{'CurrentUser'});
-    my $ACE = new RT::ACE($session{'CurrentUser'});
-
-
-    $ACLObj->LimitToObject( $Object);
-    $ACLObj->LimitToPrincipal( Id => $PrincipalId);
-    $ACLObj->OrderBy(FIELD=>'RightName'); 
-
-    if (ref($Object) && UNIVERSAL::can($Object, 'AvailableRights')) { 
-        %Rights = %{$Object->AvailableRights};
-    } 
-
-        else {
-                %Rights = ( loc('System Error') => loc("No rights found") );
-        }
-        
-    $ACLDesc = "$PrincipalId-".ref($Object)."-".$Object->Id;
-</%INIT>
-    
-<%ARGS>
-$PrincipalType => undef
-$PrincipalId => undef
-$Object =>undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectScrip b/rt/html/Admin/Elements/SelectScrip
deleted file mode 100644 (file)
index a9e9796..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME=<%$Name%>>
-<OPTION VALUE="" 
-<% $Default eq undef && 'SELECTED' %>
->-</OPTION>
-%while  (my $Scrip = $Scrips->Next) {
-<OPTION VALUE=<% $Scrip->Id %>
-<% $Scrip->Id == $Default && 'SELECTED' %>
-><% loc($Scrip->Name) %>
-</OPTION>
-%}
-</SELECT>
-
-<%INIT>
-my $Scrips = RT::Scrips->new($session{'CurrentUser'});
-$Scrips->UnLimit;
-
-
-
-</%INIT>
-<%ARGS>
-
-$Default => undef
-$Name => 'Scrip'
-
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectScripAction b/rt/html/Admin/Elements/SelectScripAction
deleted file mode 100644 (file)
index 8d88d64..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME=<%$Name%>>
-<OPTION VALUE="" 
-<% ! defined $Default && 'SELECTED' %>
->-</OPTION>
-%while  (my $ScripAction = $ScripActions->Next) {
-<OPTION VALUE=<%$ScripAction->Id%>
-<% defined $Default && $ScripAction->Id == $Default && 'SELECTED' %>
-><% loc($ScripAction->Name) %>
-</OPTION>
-%}
-</SELECT>
-
-<%INIT>
-my $ScripActions = RT::ScripActions->new($session{'CurrentUser'});
-$ScripActions->UnLimit;
-
-
-
-</%INIT>
-<%ARGS>
-
-$Default => undef
-$Name => 'ScripAction'
-
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectScripCondition b/rt/html/Admin/Elements/SelectScripCondition
deleted file mode 100644 (file)
index faa99fd..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME=<%$Name%>>
-<OPTION VALUE="" 
-<% ! defined $Default && 'SELECTED' %>
->-</OPTION>
-%while  (my $ScripCondition = $ScripConditions->Next) {
-<OPTION VALUE=<%$ScripCondition->Id%>
-<% defined $Default && $ScripCondition->Id == $Default && 'SELECTED' %>
-><% loc($ScripCondition->Name) %>
-</OPTION>
-%}
-</SELECT>
-
-<%INIT>
-my $ScripConditions = RT::ScripConditions->new($session{'CurrentUser'});
-$ScripConditions->UnLimit;
-
-
-
-</%INIT>
-<%ARGS>
-
-$Default => undef
-$Name => 'ScripCondition'
-
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectSingleOrMultiple b/rt/html/Admin/Elements/SelectSingleOrMultiple
deleted file mode 100644 (file)
index 5716950..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-  <select name="<%$Name%>">
-    <option value="1" <%$SingleDefault%>><&|/l&>Single</&></option>
-    <option value="0" <%$MultipleDefault%>><&|/l&>Multiple</&></option>
-  </select>    
-
-
-<%INIT>
-my ($SingleDefault, $MultipleDefault);
-if ($Default == 1) {
-    $SingleDefault = "SELECTED";
-}
-elsif ($Default == 0 ) {
-    $MultipleDefault = "SELECTED";
-}
-
-</%INIT>
-<%ARGS>
-$Name => 'Single'
-$Default => 1
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectStage b/rt/html/Admin/Elements/SelectStage
deleted file mode 100644 (file)
index 0fbf5c6..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME=<%$Name%>>
-% foreach my $stage (@stages) {
-<OPTION VALUE=<%$stage%>
-<% ($stage eq $Default) && 'SELECTED' %>
-><% loc($stage) %>
-</OPTION>
-% }
-<%INIT>
-if ($Default eq '') {
-    $Default = 'TransactionCreate';
-}
-my @stages = 'TransactionCreate';
-push @stages, 'TransactionBatch' if $RT::UseTransactionBatch;
-push @stages, 'Disabled';
-</%INIT>
-<%ARGS>
-$Default => 'TransactionCreate'
-$Name => 'Stage'
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectTemplate b/rt/html/Admin/Elements/SelectTemplate
deleted file mode 100644 (file)
index 7d83b67..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME=<%$Name%>>
-<OPTION VALUE="" 
-<% $Default eq 'none' && 'SELECTED' %>
->-</OPTION>
-%while  (my $Template = $PrimaryTemplates->Next) {
-<OPTION VALUE=<%$Template->Id%>
-<% ($Template->Id == $Default) && 'SELECTED' %>
-><% loc($Template->Name) %>
-</OPTION>
-%}
-%while  (my $Template = $OtherTemplates->Next) {
-<OPTION VALUE=<%$Template->Id%>
-<% ($Template->Id == $Default)  && 'SELECTED'%>
-><&|/l, loc($Template->Name) &>Global template: [_1]</&>
-</OPTION>
-%}
-</SELECT>
-
-<%INIT>
-
-
-my $PrimaryTemplates = RT::Templates->new($session{'CurrentUser'});
-if ($Queue != 0) {
-$PrimaryTemplates->LimitToQueue($Queue);
-}
-
-my $OtherTemplates = RT::Templates->new($session{'CurrentUser'});
-$OtherTemplates->LimitToGlobal($DefaultQueue);
-
-</%INIT>
-<%ARGS>
-
-$Queue => undef
-$Default => 'none'
-$DefaultQueue => undef
-$Name => 'Template'
-
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SelectUsers b/rt/html/Admin/Elements/SelectUsers
deleted file mode 100644 (file)
index a88aa8f..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT MULTIPLE NAME="<%$Name%>"  SIZE=10>
-%while (my $user = $users->Next) {
-<OPTION VALUE="<%$user->id%>"><%$user->Name%>
-%}
-</SELECT>
-
-<%INIT>
-my $users = new RT::Users($session{'CurrentUser'});
-
-$users->Limit(FIELD => 'id', VALUE => $RT::SystemUser->id, OPERATOR => '!=' );
-$users->Limit(FIELD => 'id', VALUE => $RT::Nobody->id, OPERATOR => '!=' );
-$users->LimitToPrivileged();
-
-</%INIT>
-<%ARGS>
-$Name => 'Users'
-</%ARGS>
diff --git a/rt/html/Admin/Elements/SystemTabs b/rt/html/Admin/Elements/SystemTabs
deleted file mode 100644 (file)
index 646f552..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Tabs, subtabs => $tabs, 
-    current_tab => 'Admin/Global/', 
-    current_subtab => $current_tab, 
-    Title => $Title &>
-
-<%INIT>
-  my $tabs = {
-                
-               A => { title => loc('Scrips'),
-                           path => 'Admin/Global/Scrips.html',
-                         },
-               B => { title => loc('Templates'),
-                        path => 'Admin/Global/Templates.html',
-                      },
-              
-                F => { title => loc('Custom Fields'),
-                        path => 'Admin/Global/CustomFields/index.html',
-                        },
-
-                G => { title => loc('Group Rights'),
-                                path => 'Admin/Global/GroupRights.html',
-                      },
-                H => { title => loc('User Rights'),
-                                path => 'Admin/Global/UserRights.html',
-                      }
-
-};
-
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-
-  foreach my $tab (sort keys %{$tabs}) {
-    if ($tabs->{$tab}->{'path'} eq $current_tab) {
-      $tabs->{$tab}->{"subtabs"} = $subtabs;
-      $tabs->{$tab}->{"current_subtab"} = $current_subtab;
-    }
-  }
-</%INIT>
-
-  
-<%ARGS>
-$id => undef
-$current_tab => undef
-$subtabs => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/Tabs b/rt/html/Admin/Elements/Tabs
deleted file mode 100644 (file)
index f90a629..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Tabs, 
-    tabs => $tabs, 
-    current_toptab => 'Admin/', 
-    current_tab => $current_tab, 
-    Title => $Title &>
-
-<%INIT>
-  my $tabs = { A => { title => loc('Users'),
-                         path => 'Admin/Users/',
-                       },
-              B => { title => loc('Groups'),
-                          path => 'Admin/Groups/',
-                        },
-              C => { title => loc('Queues'),
-                          path => 'Admin/Queues/',
-                        },
-              D => { 'title' => loc('Custom Fields'),
-                          path => 'Admin/CustomFields/',
-                        },
-              E => { 'title' => loc('Global'),
-                          path => 'Admin/Global/',
-                        },
-              F => { 'title' => loc('Tools'),
-                          path => 'Admin/Tools/',
-                        },
-            };
-
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-
-  foreach my $tab (sort keys %{$tabs}) {
-    if ($tabs->{$tab}->{'path'} eq $current_tab) {
-      $tabs->{$tab}->{"subtabs"} = $subtabs;
-      $tabs->{$tab}->{"current_subtab"} = $current_subtab;
-    }
-  }
-
-</%INIT>
-
-
-<%ARGS>
-$subtabs => undef
-$current_tab => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/ToolTabs b/rt/html/Admin/Elements/ToolTabs
deleted file mode 100755 (executable)
index 773b810..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Tabs, subtabs => $tabs, 
-    current_tab => 'Admin/Tools/', 
-    current_subtab => $current_tab, 
-    Title => $Title &>
-
-<%INIT>
-  my $tabs = {
-                
-               A => { title => loc('System Configuration'),
-                           path => 'Admin/Tools/Configuration.html',
-                      }
-
-};
-
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-
-  foreach my $tab (sort keys %{$tabs}) {
-    if ($tabs->{$tab}->{'path'} eq $current_tab) {
-      $tabs->{$tab}->{"subtabs"} = $subtabs;
-      $tabs->{$tab}->{"current_subtab"} = $current_subtab;
-    }
-  }
-</%INIT>
-
-  
-<%ARGS>
-$id => undef
-$current_tab => undef
-$subtabs => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Elements/UserTabs b/rt/html/Admin/Elements/UserTabs
deleted file mode 100644 (file)
index 0ffd29b..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Tabs, 
-    subtabs => $tabs,
-    current_tab => 'Admin/Users/', 
-    current_subtab => $current_tab, 
-    Title => $Title &>
-<%INIT>
-my $tabs;
-if ($id) {
-$tabs->{'this'} = { title => eval { $UserObj->Name },
-
-               path => "Admin/Users/Modify.html?id=".$id,
-subtabs => {
-              Basics => { title => loc('Basics'),
-                               path => "Admin/Users/Modify.html?id=".$id
-                       },
-              Memberships => { title => loc('Memberships'),
-                          path => "Admin/Users/Memberships.html?id=".$id
-                        },
-              History => { title => loc('History'),
-                          path => "Admin/Users/History.html?id=".$id
-                        },
-#             Scrips => { title => loc('Rights'),
-#                         path => "Admin/Users/Rights.html?id=".$id
-#                       }
-              
-       }
-}
-}
-if ($session{'CurrentUser'}->HasRight( Object => $RT::System, Right => 'AdminUsers')) {
-  $tabs->{"A"} = { title => loc('Select user'),
-                       path => "Admin/Users/",
-                          };
-  $tabs->{"B"} = { title => loc('New user'),
-                       path => "Admin/Users/Modify.html?Create=1",
-               separator => 1,
-       };
-}
-
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-                                                                                
-#foreach my $tab ( sort keys %{$tabs} ) {                                        
-#    if ( $tabs->{$tab}->{'path'} eq $current_subtab ) {                         
-#        $tabs->{$tab}->{"current_subtab"} = $current_subtab;                    
-#    }                                                                           
-#}                                                                               
-foreach my $tab ( sort keys %{$tabs->{'this'}->{'subtabs'}} ) {  
-    if ( $tabs->{'this'}->{'subtabs'}->{$tab}->{'path'} eq $current_tab ) {
-        $tabs->{'this'}->{'subtabs'}->{$tab}->{"subtabs"}        = $subtabs; 
-        $tabs->{'this'}->{'subtabs'}->{$tab}->{"current_subtab"} = $current_subtab; 
-    }                                                                           
-}   
-$tabs->{'this'}->{"current_subtab"} = $current_tab; 
-$current_tab = "Admin/Users/Modify.html?id=".$id if $id;
-</%INIT>
-<%ARGS>
-$UserObj => undef
-$id => undef
-$current_tab => undef
-$subtabs => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Admin/Global/CustomFields/Groups.html b/rt/html/Admin/Global/CustomFields/Groups.html
deleted file mode 100644 (file)
index bffde01..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/GlobalCustomFieldTabs,
-    current_tab => "Admin/Global/CustomFields/Groups.html",
-    current_subtab => "Admin/Global/CustomFields/Groups.html",
-    Title => $title
-    &>
-    <& /Admin/Elements/EditCustomFields, %ARGS, title => $title, ObjectType => 'RT::Group', Object=> $object &>
-<%INIT>
-  my $title = loc( 'Edit Custom Fields for all groups');
-  my $object = RT::Group->new($session{'CurrentUser'});
-</%INIT>
diff --git a/rt/html/Admin/Global/CustomFields/Queue-Tickets.html b/rt/html/Admin/Global/CustomFields/Queue-Tickets.html
deleted file mode 100755 (executable)
index 396559a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/GlobalCustomFieldTabs,
-    current_tab => "Admin/Global/CustomFields/Queue-Tickets.html",
-    current_subtab => "Admin/Global/CustomFields/Queue-Tickets.html",
-    Title => $title
-    &>
-    <& /Admin/Elements/EditCustomFields, %ARGS, title => $title, ObjectType => 'RT::Queue', Object=> $object, SubType => 'RT::Ticket' &>
-<%INIT>
-  my $title = loc( 'Edit Custom Fields for tickets in all queues');
-  my $object = RT::Queue->new($session{'CurrentUser'});
-</%INIT>
diff --git a/rt/html/Admin/Global/CustomFields/Queue-Transactions.html b/rt/html/Admin/Global/CustomFields/Queue-Transactions.html
deleted file mode 100755 (executable)
index 63b4cfe..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/GlobalCustomFieldTabs,
-    current_tab => "Admin/Global/CustomFields/Queue-Transactions.html",
-    current_subtab => "Admin/Global/CustomFields/Queue-Transactions.html",
-    Title => $title
-    &>
-    <& /Admin/Elements/EditCustomFields, %ARGS, title => $title, ObjectType => 'RT::Queue', Object=> $object, SubType => 'RT::Ticket-RT::Transaction' &>
-<%INIT>
-  my $title = loc( 'Edit Custom Fields for tickets in all queues');
-  my $object = RT::Queue->new($session{'CurrentUser'});
-</%INIT>
diff --git a/rt/html/Admin/Global/CustomFields/Users.html b/rt/html/Admin/Global/CustomFields/Users.html
deleted file mode 100644 (file)
index 6b79743..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/GlobalCustomFieldTabs,
-    current_tab => "Admin/Global/CustomFields/Users.html",
-    current_subtab => "Admin/Global/CustomFields/Users.html",
-    Title => $title
-    &>
-    <& /Admin/Elements/EditCustomFields, %ARGS, title => $title, ObjectType => 'RT::User', Object=> $object &>
-<%INIT>
-  my $title = loc( 'Edit Custom Fields for all users');
-  my $object = RT::User->new($session{'CurrentUser'});
-</%INIT>
diff --git a/rt/html/Admin/Global/CustomFields/index.html b/rt/html/Admin/Global/CustomFields/index.html
deleted file mode 100644 (file)
index 9cdcfd5..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Callback, tabs => $tabs, %ARGS &>
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/GlobalCustomFieldTabs, Title => $title &>
-
-<ul>
-% foreach my $key (sort keys %$tabs) {
-<li><font size="+2"><a href="<% $tabs->{$key}{path} %>"><% $tabs->{$key}{title} %></a></font><br>
-<% $tabs->{$key}{text} %>
-</li>
-% }
-</ul>
-
-<%INIT>
-my $title = loc("Global custom field configuration");
-
-my $tabs = {
-
-    A => {
-        title => loc('Users'),
-        text  => loc('Select custom fields for all users'),
-        path  => 'Users.html',
-    },
-    B => {
-        title => loc('Groups'),
-        text  => loc('Select custom fields for all user groups'),
-        path  => 'Groups.html',
-    },
-
-    F => {
-        title => loc('Tickets'),
-        text  => loc('Select custom fields for tickets in all queues'),
-        path  => 'Queue-Tickets.html',
-    },
-
-    G => {
-        title => loc('Ticket Transactions'),
-        text  =>
-          loc('Select custom fields for transactions on tickets in all queues'),
-        path => 'Queue-Transactions.html',
-    },
-
-};
-
-
-$m->comp('/Elements/Callback', tabs => $tabs);
-</%INIT>
diff --git a/rt/html/Admin/Global/GroupRights.html b/rt/html/Admin/Global/GroupRights.html
deleted file mode 100644 (file)
index 8d71432..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Modify global group rights') &>
-<& /Admin/Elements/SystemTabs, 
-    current_tab => 'Admin/Global/GroupRights.html', 
-    Title => loc('Modify global group rights') &>  
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="GroupRights.html">
-      
-<& /Elements/TitleBoxStart, title => loc('Modify global group rights.')&>
-      
-<h1><&|/l&>System groups</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToSystemInternalGroups();
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% loc($Group->Type) %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object  =>$RT::System &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-<h1><&|/l&>Roles</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToRolesForSystem();
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% loc($Group->Type) %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object  => $RT::System &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-<h1><&|/l&>User defined groups</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToUserDefinedGroups();    
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $Group->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object  => $RT::System &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-            
-      <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Label => loc('Modify Group Rights'), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-  #Update the acls.
-  my @results =  ProcessACLChanges(\%ARGS);
-
-
-my $Groups;
-    
-</%INIT>
-
-<%ARGS>
-</%ARGS>
diff --git a/rt/html/Admin/Global/Scrip.html b/rt/html/Admin/Global/Scrip.html
deleted file mode 100644 (file)
index 4e0c1f4..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title  &>
-<& /Admin/Elements/SystemTabs, 
-    current_tab => 'Admin/Global/Scrips.html', 
-    current_subtab => $current_subtab, 
-    subtabs => $subtabs, 
-    Title => $title &>
-
-<& /Admin/Elements/EditScrip, title => $title,  %ARGS &>
-
-<%init>
-my ($title, $current_subtab);
-my $subtabs = {
-                A => { title => loc('Select scrip'),
-                       path => "Admin/Global/Scrips.html",
-                          },
-                B => { title => loc('New scrip'),
-                       path => "Admin/Global/Scrip.html?create=1&Queue=0",
-                       separator => 1,
-                          }
-             };
-
-if ($ARGS{'id'}) {
-    $current_subtab = "Admin/Global/Scrip.html?id=".$ARGS{'id'}."&Queue=0";
-    $title = loc("Modify a scrip which applies to all queues");
-    $subtabs->{"C"} = { title => loc('Scrip #[_1]', $ARGS{'id'}),
-                       path => "Admin/Global/Scrip.html?id=".$ARGS{'id'}."&Queue=0"
-                          }
-}
-else {
-    $current_subtab = "Admin/Global/Scrip.html?create=1&Queue=0";
-    $title = loc("Add a scrip which will apply to all queues");
-}
-</%init>
diff --git a/rt/html/Admin/Global/Scrips.html b/rt/html/Admin/Global/Scrips.html
deleted file mode 100644 (file)
index dcfa6ff..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title  &>
-<& /Admin/Elements/SystemTabs, 
-    current_tab => 'Admin/Global/Scrips.html', 
-    current_subtab => 'Admin/Global/Scrips.html', 
-    subtabs => $subtabs, 
-    Title => $title &>
-<& /Admin/Elements/EditScrips, title => $title, id => $id, %ARGS &>
-</form>
-<%init>
-
-my $subtabs = {
-                A => { title => loc('Select scrip'),
-                       path => "Admin/Global/Scrips.html",
-                          },
-                B => { title => loc('New scrip'),
-                       path => "Admin/Global/Scrip.html?create=1&Queue=0",
-                       separator => 1,
-                          }
-             };
-my $title = loc("Modify scrips which apply to all queues");
-
-my (@actions);
-
-</%init>
-
-
-
-<%ARGS>
-$id => 0
-</%ARGS>
diff --git a/rt/html/Admin/Global/Template.html b/rt/html/Admin/Global/Template.html
deleted file mode 100644 (file)
index 17da59b..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc("Modify template [_1]", $TemplateObj->id)  &>
-<& /Admin/Elements/SystemTabs, 
-    current_tab => 'Admin/Global/Templates.html', 
-    current_subtab => $current_subtab, 
-    subtabs => $subtabs, 
-    Title => loc("Modify template [_1]", $TemplateObj->id) &>
-<& /Elements/ListActions, actions => \@results &>
-
-
-<FORM METHOD=POST ACTION="Template.html">
-%if ($Create ) {
-<INPUT TYPE=HIDDEN NAME="Template" VALUE="new">
-% } else {
-<INPUT TYPE=HIDDEN NAME="Template" VALUE="<%$TemplateObj->Id%>">
-% }
-
-%# hang onto the queue id
-<INPUT TYPE=HIDDEN name="Queue" value="<%$Queue%>">
-
-<& /Admin/Elements/ModifyTemplate, Name => $TemplateObj->Name, Description => $TemplateObj->Description, Content => $TemplateObj->Content &>
-
-<& /Elements/Submit, Label => loc('Save Changes'), Reset => 1 &>
-</FORM>
-
-
-
-<%INIT>
-
-my $TemplateObj = new RT::Template($session{'CurrentUser'});
-my  ($title, @results, $current_subtab);
-
-my $subtabs = {
-                A => { title => loc('Select template'),
-                       path => "Admin/Global/Templates.html"
-                          },
-                B => { title => loc('New template'),
-                       path => "Admin/Global/Template.html?Create=1&Queue=0",
-                       separator => 1,
-                          }
-             };
-
-
-if ($Create) {
-  $current_subtab = "Admin/Global/Template.html?Create=1&Queue=0";
-  $title = loc("Create a template");
-}
-
-else {
-  if ($Template eq 'new') {
-      my ($val, $msg) =  $TemplateObj->Create(Queue => $Queue, Name => $Name);
-      Abort(loc("Could not create template: [_1]", $msg)) unless ($val);
-     push @results, $msg;
-    }
-    else {
-       $TemplateObj->Load($Template) || Abort(loc('No Template'));
-    }
-      $title = loc('Modify template [_1]', loc($TemplateObj->Name())); 
-  
-    
-}
-if ($TemplateObj->Id()) {
-  my @attribs = qw( Description Content Queue Name);
-  my @aresults = UpdateRecordObject( AttributesRef => \@attribs, 
-                                    Object => $TemplateObj, 
-                                    ARGSRef => \%ARGS);
-  $current_subtab = "Admin/Global/Template.html?Queue=0&Template=".$TemplateObj->Id();
-  $subtabs->{"C"} = { title => loc('Template #[_1]', $TemplateObj->Id()),
-                       path => "Admin/Global/Template.html?Queue=0&Template=".$TemplateObj->Id(),
-                       };
-  push @results, @aresults;
-}
-</%INIT>
-<%ARGS>
-$Queue => undef
-$Template => undef
-$Create => undef
-$Name => undef
-</%ARGS>
diff --git a/rt/html/Admin/Global/Templates.html b/rt/html/Admin/Global/Templates.html
deleted file mode 100644 (file)
index 387326c..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title, FeedURI => 'templates' &>
-<& /Admin/Elements/SystemTabs, 
-    current_tab => 'Admin/Global/Templates.html', 
-    current_subtab => 'Admin/Global/Templates.html', 
-    subtabs => $subtabs, 
-    Title => $title &>
-<& /Admin/Elements/EditTemplates, title => $title, %ARGS &>
-</form>
-<%init>
-
-my $subtabs = {
-                A => { title => loc('Select template'),
-                       path => "Admin/Global/Templates.html"
-                          },
-                B => { title => loc('New template'),
-                       path => "Admin/Global/Template.html?Create=1&Queue=0",
-                       separator => 1,
-                          }
-             };
-my $title = loc("Modify templates which apply to all queues");
-
-my (@actions);
-
-</%init>
-
-
-
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Global/UserRights.html b/rt/html/Admin/Global/UserRights.html
deleted file mode 100644 (file)
index 14a4de3..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Modify global user rights') &>
-<& /Admin/Elements/SystemTabs, 
-    current_tab => 'Admin/Global/UserRights.html',
-    Title => loc('Modify global user rights') &>  
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="UserRights.html">
-      
-<& /Elements/TitleBoxStart, title => loc('Modify global user rights.') &>
-      
-<TABLE>
-        
-%      while (my $Member = $Users->Next()) {
-% my $UserObj = $Member->MemberObj->Object();
-% my $group = RT::Group->new($session{'CurrentUser'});
-% $group->LoadACLEquivalenceGroup($Member->MemberObj);
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $UserObj->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $group->PrincipalId,
-        Object => $RT::System  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-            
-      <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Label => loc('Modify User Rights'), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-  #Update the acls.
-  my @results =  ProcessACLChanges(\%ARGS);
-
-# {{{ Deal with setting up the display of current rights.
-
-
-# Find out which users we want to display ACL selects for
-my $Privileged = RT::Group->new($session{'CurrentUser'});
-$Privileged->LoadSystemInternalGroup('Privileged');
-my $Users = $Privileged->MembersObj();
-
-    
-  
-# }}}
-    
-</%INIT>
-
-<%ARGS>
-</%ARGS>
diff --git a/rt/html/Admin/Global/index.html b/rt/html/Admin/Global/index.html
deleted file mode 100644 (file)
index af7a9dd..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Callback, tabs => $tabs, %ARGS &>
-<& /Admin/Elements/Header, Title => loc('Admin/Global configuration') &>
-<& /Admin/Elements/SystemTabs, 
-    Title => loc('Admin/Global configuration') &>
-
-<ul>
-% foreach my $key (sort keys %$tabs) {
-<li><font size="+2"><a href="<% $tabs->{$key}{path} %>"><% $tabs->{$key}{title} %></a></font><br>
-<% $tabs->{$key}{text} %>
-</li>
-% }
-</ul>
-
-<%INIT>
-  my $tabs = {
-                
-               A => { title => loc('Scrips'),
-                           text => loc('Modify scrips which apply to all queues'),
-                           path => 'Scrips.html',
-                         },
-               B => { title => loc('Templates'),
-                        text => loc('Edit system templates'),
-                        path => 'Templates.html',
-                      },
-              
-                F => { title => loc('Custom Fields'),
-                text => loc('Modify global custom fields'),
-                        path => 'CustomFields/index.html',
-                        },
-
-                G => { title => loc('Group Rights'),
-                                text => loc('Modify global group rights'),
-                                path => 'GroupRights.html',
-                      },
-                H => { title => loc('User Rights'),
-                                text => loc('Modify global user rights'),
-                                path => 'UserRights.html',
-                      }
-
-};
-</%INIT>
diff --git a/rt/html/Admin/Groups/CustomFields.html b/rt/html/Admin/Groups/CustomFields.html
deleted file mode 100644 (file)
index c2336b0..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/ObjectCustomFields, %ARGS, ObjectType => 'RT::Group' &>
diff --git a/rt/html/Admin/Groups/GroupRights.html b/rt/html/Admin/Groups/GroupRights.html
deleted file mode 100644 (file)
index d95bdae..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Modify group rights for group [_1]', $GroupObj->Name) &>
-<& /Admin/Elements/GroupTabs, 
-    GroupObj => $GroupObj, 
-    current_tab => 'Admin/Groups/GroupRights.html?id='.$id, 
-    Title => loc('Modify group rights for group [_1]', $GroupObj->Name) &>
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="GroupRights.html">
-    <INPUT TYPE=HIDDEN NAME=id VALUE="<% $GroupObj->id %>">
-      
-<& /Elements/TitleBoxStart, title => loc('Modify group rights for group [_1]', $GroupObj->Name) &>
-      
-<h1><&|/l&>System groups</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToSystemInternalGroups();
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% loc($Group->Type) %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        PrincipalType => 'Group',
-        Object => $GroupObj  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-<h1><&|/l&>User defined groups</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToUserDefinedGroups();    
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $Group->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        PrincipalType => 'Group',
-        Object => $GroupObj  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-            
-      <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Label => loc('Modify Group Rights'), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-  #Update the acls.
-  my @results =  ProcessACLChanges(\%ARGS);
-
-
-if (!defined $id) {
-    Abort(loc("No Group defined"));
-}
-
-my $GroupObj = RT::Group->new($session{'CurrentUser'});
-$GroupObj->Load($id) || Abort(loc("Couldn't load group [_1]",$id));
-
-my $Groups;
-    
-</%INIT>
-
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Groups/History.html b/rt/html/Admin/Groups/History.html
deleted file mode 100644 (file)
index 40dab46..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title  &>
-<& /Admin/Elements/GroupTabs, 
-    id => $id, 
-    GroupObj => $GroupObj,
-    current_subtab => $current_tab, 
-    Title => $title &>
-
-<& /Ticket/Elements/ShowHistory,
-    Ticket => $GroupObj,
-    ShowHeaderModes => 0,
-&>
-
-<%INIT>
-my $current_tab = 'Admin/Groups/History.html?id='.$id;
-my $GroupObj = new RT::Group($session{'CurrentUser'});
-$GroupObj->Load($id) || Abort("Couldn't load group '$id'");
-my $title = loc("History of the group [_1]", $GroupObj->Name);
-</%INIT>
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Groups/Members.html b/rt/html/Admin/Groups/Members.html
deleted file mode 100644 (file)
index fd25b2d..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => "RT/Admin/Edit the group ". $Group->Name &>
-<& /Admin/Elements/GroupTabs, GroupObj => $Group, 
-    current_tab => 'Admin/Groups/Members.html?id='.$id, 
-    Title => "RT/Admin/Edit the group ". $Group->Name &>
-<& /Elements/ListActions, actions => \@results &>
-
-
-<& /Elements/TitleBoxStart, title => loc('Editing membership for group [_1]', $Group->Name) &>
-
-<FORM ACTION="<%$RT::WebPath%>/Admin/Groups/Members.html" METHOD=POST>
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Group->Id%>">
-<TABLE WIDTH="100%">
-<TR>
-<TD>
-<h3><&|/l&>Current members</&></h3>
-</TD>
-<TD>
-<h3><&|/l&>Add members</&></h3>
-</TD>
-</TR>
-
-<TR>
-<TD VALIGN=TOP>
-
-% if ($Group->MembersObj->Count == 0 ) {
-<i><&|/l&>(No members)</&></i>
-% } else {
-<i><&|/l&>(Check box to delete)</&></i>
-<br>
-<br>
-<&|/l&>Users</&>
-% my $UserMembers = $Group->MembersObj;
-% $UserMembers->LimitToUsers();
-<UL>
-% while (my $member = $UserMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
-<%$member->MemberObj->Object->Name%> (<%$member->MemberObj->Object->RealName%>)
-% }
-</ul>
-<&|/l&>Groups</&>
-<ul>
-% my $GroupMembers = $Group->MembersObj;
-% $GroupMembers->LimitToGroups();
-% while (my $member = $GroupMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
-<%$member->MemberObj->Object->Name%>
-% }
-% }
-</UL>
-</TD>
-<TD VALIGN=TOP>
-<& /Admin/Elements/SelectNewGroupMembers, Name => "AddMembers", Group => $Group &>
-</TD>
-</TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, Label => loc('Modify Members'), Reset => 1 &>
-</form>
-
-
-<%INIT>
-
-my $Group = new RT::Group($session{'CurrentUser'});
-$Group->Load($id) || Abort(loc('Could not load group'));
-
-my (@results);
-
-my $key;
-foreach $key (keys %ARGS) {
-
-if ($key =~ /^DeleteMember-(\d+)$/) {
-    my $id = $1; 
-    my ($val,$msg) = $Group->DeleteMember($id);
-    push (@results, $msg);
-}
-}
-
-# Make sure AddMembers is always an array
-my @AddMembers = (
-    ((ref $AddMembersUsers eq 'ARRAY') ? @{$AddMembersUsers} : ($AddMembersUsers)),
-    ((ref $AddMembersGroups eq 'ARRAY') ? @{$AddMembersGroups} : ($AddMembersGroups)),
-);
-
-foreach my $member (@AddMembers) {
-    next unless ($member);
-
-    my $principal;
-
-    if ($member =~ /^Group-(\d+)$/) {
-        $principal = RT::Group->new($session{'CurrentUser'});
-        $principal->Load($1);
-    } elsif ($member =~ /^User-(\d+)$/) {
-        $principal = RT::User->new($session{'CurrentUser'});
-        $principal->Load($1);
-    } else {
-        next;
-    }
-
-
-    my ($val, $msg) = $Group->AddMember($principal->PrincipalId);
-    push (@results, $msg);
-}
-
-
-</%INIT>
-
-<%ARGS>
-$AddMembersUsers  => undef
-$AddMembersGroups => undef
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Groups/Modify.html b/rt/html/Admin/Groups/Modify.html
deleted file mode 100644 (file)
index 94c0203..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title  &>
-
-<& /Admin/Elements/GroupTabs, 
-    GroupObj => $Group, 
-    current_tab => $current_tab, 
-    Title => $title &>
-<& /Elements/ListActions, actions => \@results &>
-
-
-
-<FORM ACTION="<%$RT::WebPath%>/Admin/Groups/Modify.html" METHOD=POST ENCTYPE="multipart/form-data">
-
-%unless ($Group->Id) {
-<INPUT TYPE=HIDDEN NAME=id VALUE="new">
-% } else {
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Group->Id%>">
-% }
-<TABLE>
-<TR><TD ALIGN=RIGHT>
-<&|/l&>Name</&>:
-</TD>
-<TD><INPUT name="Name" value="<%$Group->Name%>"></TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Description</&>:</TD><TD COLSPAN=3><INPUT name="Description" value="<%$Group->Description%>" size=60></TD>
-</TR>
-% my $CFs = $Group->CustomFields;
-% while (my $CF = $CFs->Next) {
-<TR VALIGN="TOP"><TD ALIGN="RIGHT">
-<% $CF->Name %>:
-</TD><TD>
-<& /Elements/EditCustomField, CustomField => $CF, Object => $Group &>
-</TD></TR>
-% }
-<TR>
-<TD COLSPAN=2>
-<INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
-<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>> <&|/l&>Enabled (Unchecking this box disables this group)</&><BR>
-</TR>
-<& /Elements/Callback, GroupObj => $Group, results => \@results, %ARGS &>
-</TABLE>
-<& /Elements/Submit, Label => loc('Save Changes'), Reset => 1 &>
-</form>
-<%INIT>
-
-my $current_tab;
-my  ($title, @results, $Disabled, $EnabledChecked);
-
-my $Group = RT::Group->new($session{'CurrentUser'});
-
-if ($Create) {
-    $current_tab = 'Admin/Groups/Modify.html?Create=1';
-    $title = loc("Create a new group");
-} 
-
-else {
-    $current_tab = 'Admin/Groups/Modify.html?id='.$id;
-    if ($id eq 'new' ) {
-       
-       my ($create_id, $create_msg) = $Group->CreateUserDefinedGroup(Name =>
-    "$Name");
-        unless ($create_id) {
-            Abort (loc("Group could not be created: [_1]", $create_msg));
-     }
-       $id = $Group->Id;
-    }
-    else {
-       $Group->Load($id) || Abort('Could not load group');
-    }
-
-
-    if ($id) {
-       $title = loc("Modify the group [_1]", $Group->Name);
-
-    }  
-
-    # If the create failed
-    else {
-       $title = loc("Create a new group");
-       $Create = 1;
-    }    
-    
-}
-
-if ($id) {
-    
-    my @fields = qw(Description Name );
-    my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields,
-                                           Object => $Group,
-                                           ARGSRef => \%ARGS );
-    push (@results,@fieldresults);
-    push @results, ProcessObjectCustomFieldUpdates( ARGSRef => \%ARGS, Object => $Group );
-}
-
-#we're asking about enabled on the web page but really care about disabled.
-if ($Enabled == 1) {
-    $Disabled = 0;
-}      
-else {
-    $Disabled = 1;
-}
-if  ( ($SetEnabled) and ( $Disabled != $Group->Disabled) ) { 
-    my  ($code, $msg) = $Group->SetDisabled($Disabled);
-    push @results, loc('Enabled status [_1]', loc_fuzzy($msg));
-}
-
-unless ($Group->Disabled()) {
-    $EnabledChecked ="CHECKED";
-}
-
-
-</%INIT>
-
-
-<%ARGS>
-$Create => undef
-$Name => undef
-$Description => undef
-$SetEnabled => undef
-$Enabled => undef
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Groups/UserRights.html b/rt/html/Admin/Groups/UserRights.html
deleted file mode 100644 (file)
index 5237b15..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Modify user rights for group [_1]', $GroupObj->Name) &>
-<& /Admin/Elements/GroupTabs, 
-    GroupObj => $GroupObj, 
-    current_tab => 'Admin/Groups/UserRights.html?id='.$id, 
-    Title => loc('Modify user rights for group [_1]', $GroupObj->Name) &>  
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="UserRights.html">
-    <INPUT TYPE=HIDDEN NAME=id VALUE="<% $GroupObj->id %>">
-      
-<& /Elements/TitleBoxStart, title => loc('Modify user rights for group [_1]', $GroupObj->Name) &>
-      
-<TABLE>
-        
-%      while (my $Member = $Users->Next()) {
-% my $UserObj = $Member->MemberObj->Object();
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $UserObj->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Member->MemberObj->Id,
-        PrincipalType => 'User', 
-        Object => $GroupObj  &>
-         </TD>
-       </TR>
-% }
-      </TABLE>
-            
-      <& /Elements/TitleBoxEnd &>
-      <& /Elements/Submit, Label => loc('Modify User Rights'), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-  #Update the acls.
-  my @results =  ProcessACLChanges(\%ARGS);
-
-# {{{ Deal with setting up the display of current rights.
-
-
-#Define vars used in html above
-
-
-if (!defined $id) {
-    Abort(loc("No Group defined"));
-}
-
-my $GroupObj = RT::Group->new($session{'CurrentUser'});
-$GroupObj->Load($id) || Abort(loc("Couldn't load group [_1]",$id));
-
-# Find out which users we want to display ACL selects for
-my $Privileged = RT::Group->new($session{'CurrentUser'});
-$Privileged->LoadSystemInternalGroup('Privileged');
-my $Users = $Privileged->MembersObj();
-
-    
-  
-# }}}
-    
-</%INIT>
-
-<%ARGS>
-$id => undef
-$UserString => undef
-$UserOp => undef
-$UserField => undef
-</%ARGS>
diff --git a/rt/html/Admin/Groups/index.html b/rt/html/Admin/Groups/index.html
deleted file mode 100644 (file)
index 0734406..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/GroupTabs, current_tab => 'Admin/Groups/',
-    current_subtab => 'Admin/Groups/', 
-    Title => $title &>
-<%$caption%>:<BR> <UL> 
-%if ($Groups->Count == 0) {
-<LI> <i><&|/l&>No groups matching search criteria found.</&></i>
-% }
-%my @ids;
-%while ( my $Group = $Groups->Next) {
-%    push @ids, $Group->Id;
-<LI><A HREF="Modify.html?id=<%$Group->id%>"><%$Group->Name || loc('(empty)')%></a><BR>
-%}
-</UL>
-%if (my $ids = join(',', @ids)) {
-<em>(<a href="<%$RT::WebPath%>/Download/Tabular/Group/<% $ids %>/Groups.tsv"><&|/l&>Download as a tab-delimited file</&></a>)</em><br>
-%}
-<br><br>
-<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Groups/index.html">
-<input type="checkbox" name="FindDisabledGroups" value="1"> <&|/l&>Include disabled groups in listing.</&>
-<BR>
-<div align=right><input type=submit value="<&|/l&>Go!</&>"></div> 
-</FORM>
-
-<br><br>
-<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Groups/index.html">
-<&|/l&>Find groups whose</&> <& /Elements/SelectGroups &><BR>
-<div align=right><input type=submit value="<&|/l&>Go!</&>"></div> 
-</FORM>
-<%INIT>
-my $Groups = RT::Groups->new($session{'CurrentUser'});
-$Groups->LimitToUserDefinedGroups();
-my $title = loc('Select a group');
-my $caption;
-
-if (length $GroupString) {
-    $caption = loc("Groups matching search criteria");
-    if ($GroupField =~ /^CustomField-(\d+)/) {
-       $Groups->LimitCustomField(
-           CUSTOMFIELD => $1,
-           OPERATOR => $GroupOp,
-           VALUE => $GroupString,
-       ); 
-    }
-    else {
-       $Groups->Limit(
-           FIELD => $GroupField,
-           OPERATOR => $GroupOp,
-           VALUE => $GroupString,
-       ); 
-    }
-}
-else {
-    $caption = loc("User-defined groups");
-}
-</%INIT>
-<%ARGS>
-$GroupString => undef
-$GroupOp => '='
-$GroupField => 'Name'
-$FindDisabledGroups => 0
-</%ARGS>
diff --git a/rt/html/Admin/Queues/CustomField.html b/rt/html/Admin/Queues/CustomField.html
deleted file mode 100644 (file)
index 5beba58..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/QueueTabs, id => $QueueObj->Id, 
-    QueueObj => $QueueObj,                                                      
-    current_tab => 'Admin/Queues/CustomFields.html?id='.$QueueObj->id, 
-    current_subtab => $current_subtab, 
-    subtabs => $subtabs, 
-    Title => $title &>
-
-<& /Admin/Elements/EditCustomField, title => $title, %ARGS &>
-
-<%INIT>
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
-$QueueObj->Load($Queue);
-
-my ($title, $current_subtab);
-
-unless($QueueObj->id) {
-    Abort(loc("Queue [_1] not found", $Queue));
-}
-if ($CustomField) {
-    $title = loc('Modify a CustomField for queue [_1]', $QueueObj->Name()); 
-}else {
-    $current_subtab = "Admin/Queues/CustomField.html?create=1&Queue=".$QueueObj->id;
-    $title = loc('Create a CustomField for queue [_1]', $QueueObj->Name()); 
-}
-
-my $subtabs = {
-                A => { title => loc('New custom field'),
-                       path => "Admin/Queues/CustomField.html?create=1&Queue=".$QueueObj->id
-                          }
-             };
-
-</%INIT>
-<%ARGS>
-$CustomField => undef
-$Queue => 0
-</%ARGS>
-<%ATTR>
-AutoFlush => 0
-</%ATTR>
diff --git a/rt/html/Admin/Queues/CustomFields.html b/rt/html/Admin/Queues/CustomFields.html
deleted file mode 100644 (file)
index 4d7e088..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<&    /Admin/Elements/QueueTabs,
-    id => $Object->id, 
-    current_tab => "Admin/Queues/CustomFields.html?SubType=$SubType&id=$id", 
-    current_subtab => "Admin/Queues/CustomFields.html?SubType=$SubType&id=$id", 
-    QueueObj => $Object,
-    Title => $title
-    &>
-
-    <& /Admin/Elements/EditCustomFields, %ARGS, title => $title, Object => $Object, ObjectType => 'RT::Queue' &>
-<%INIT>
-my $Object = RT::Queue->new( $session{'CurrentUser'} );
-
-$Object->Load($id) || Abort( loc( "Couldn't load object [_1]", $id ) );
-my $FriendlySubTypes =
-  RT::CustomField->new( $session{'CurrentUser'} )
-  ->FriendlyLookupType( $Object->CustomFieldLookupType );
-
-my $title = loc( 'Edit Custom Fields for [_1]', $Object->Name );
-
-</%INIT>
-<%ARGS>
-$id => undef
-$SubType => 'RT::Queue-RT::Ticket'
-</%ARGS>
diff --git a/rt/html/Admin/Queues/GroupRights.html b/rt/html/Admin/Queues/GroupRights.html
deleted file mode 100644 (file)
index c5a12bf..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Modify group rights for queue [_1]', $QueueObj->Name) &>
-<& /Admin/Elements/QueueTabs, id => $id, 
-    QueueObj => $QueueObj,                                                      
-    current_tab => $current_tab, 
-    Title => loc('Modify group rights for queue [_1]', $QueueObj->Name) &>
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="GroupRights.html">
-    <INPUT TYPE=HIDDEN NAME=id VALUE="<% $QueueObj->id %>">
-      
-      
-<h1><&|/l&>System groups</&></h1>
-<TABLE>
-<& /Elements/Callback, QueueObj => $QueueObj, results => \@results, %ARGS &>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToSystemInternalGroups();
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% loc($Group->Type) %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object => $QueueObj  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-<h1><&|/l&>Roles</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToRolesForQueue($QueueObj->Id);
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% loc($Group->Type) %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object => $QueueObj  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-<h1><&|/l&>User defined groups</&></h1>
-<TABLE>
-% $Groups = RT::Groups->new($session{'CurrentUser'});
-% $Groups->LimitToUserDefinedGroups();    
-%      while (my $Group = $Groups->Next()) {
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $Group->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId => $Group->PrincipalId,
-        Object => $QueueObj  &>
-         </TD>
-       </TR>
-% }
-</TABLE>
-            
-      <& /Elements/Submit, Label => loc('Modify Group Rights'), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-  #Update the acls.
-  my @results =  ProcessACLChanges(\%ARGS);
-
-
-if (!defined $id) {
-    Abort(loc("No Queue defined"));
-}
-
-my $QueueObj = RT::Queue->new($session{'CurrentUser'});
-$QueueObj->Load($id) || Abort(loc("Couldn't load queue [_1]",$id));
-
-my $Groups;
-my $current_tab;
-$current_tab = 'Admin/Queues/GroupRights.html?id='.$QueueObj->id;
-    
-</%INIT>
-
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Queues/Modify.html b/rt/html/Admin/Queues/Modify.html
deleted file mode 100644 (file)
index 5517a80..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/QueueTabs, id => $QueueObj->id, 
-    QueueObj => $QueueObj,
-    current_tab => $current_tab, 
-    Title => $title &>
-<& /Elements/ListActions, actions => \@results &>
-
-
-
-<FORM ACTION="<%$RT::WebPath%>/Admin/Queues/Modify.html" METHOD=POST>
-%if ($Create ) { 
-<INPUT TYPE=HIDDEN NAME=id VALUE="new">
-% } else {
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$QueueObj->Id%>">
-% }
-
-<TABLE>
-<TR><TD ALIGN=RIGHT>
-<&|/l&>Queue Name</&>: 
-</TD>
-<TD><INPUT name="Name" value="<% ($Create) ? "" : $QueueObj->Name %>"></TD>
-</TR><TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Description</&>:</TD><TD COLSPAN=3><INPUT name="Description" value="<% ($Create) ? "" : $QueueObj->Description %>" size=60></TD></TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Reply Address</&>:
-</TD><TD>
-<INPUT name="CorrespondAddress" value="<% ($Create) ? "" : $QueueObj->CorrespondAddress %>">
-<BR><font size="-1"><i><&|/l , $RT::CorrespondAddress&>(If left blank, will default to [_1])</&></i></font>
-</TD>
-<TD ALIGN=RIGHT>
-
-<&|/l&>Comment Address</&>: </TD><TD>
-<INPUT NAME="CommentAddress" value="<% ($Create) ? "" : $QueueObj->CommentAddress %>">
-<BR><font size="-1"><i><&|/l , $RT::CommentAddress&>(If left blank, will default to [_1])</&></i></font>
-</TD>
-</TR><TR>
-
-<TD ALIGN=RIGHT>
-<&|/l&>Priority starts at</&>: 
-</TD><TD><INPUT NAME="InitialPriority" value="<% ($Create) ? "" : $QueueObj->InitialPriority %>">
-</TD>
-<TD ALIGN=RIGHT>
-<&|/l&>Over time, priority moves toward</&>:
-</TD><TD><INPUT NAME="FinalPriority" value="<% ($Create) ? "" : $QueueObj->FinalPriority %>">
-</TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Requests should be due in</&>:
-</TD><TD>
-<INPUT NAME="DefaultDueIn" VALUE="<% ($Create) ? "" : $QueueObj->DefaultDueIn%>"> <&|/l&>days</&>.
-</TD>
-</TR>
-<TR>
-<TD>
-</TD>
-<TD COLSPAN=4><INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
-<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>> <&|/l&>Enabled (Unchecking this box disables this queue)</&><BR>
-<& /Elements/Callback, QueueObj => $QueueObj, results => \@results, %ARGS &>
-</TD>
-</TR>
-
-</TABLE>
-<& /Elements/Submit, Label => loc('Save Changes') &>
-</form>
-
-
-
-<%INIT>
-my $current_tab;
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
-$QueueObj->Load($id);
-my  ($title, @results, $Disabled, $EnabledChecked);
-$EnabledChecked = "CHECKED";
-
-if ($Create) {
-    $current_tab = 'Admin/Queues/Modify.html?Create=1';
-    $title = loc("Create a queue");
-} else {
-    if ($id eq 'new') {
-       my ($val, $msg) =  $QueueObj->Create(Name => $Name);
-       delete $session{'create_in_queues'};
-       if ($val == 0 ) {
-           Abort("$msg");
-       }
-       else {
-               push @results, $msg;
-       }    
-     }
-     else {
-        $QueueObj->Load($id) || $QueueObj->Load($Name) || Abort("Couldn't load queue '$Name'");
-    }
-        $title = loc('Editing Configuration for queue [_1]', $QueueObj->Name);
-    
-    $current_tab = 'Admin/Queues/Modify.html?id='.$QueueObj->id;
-}
-if ($QueueObj->Id()) {
-    delete $session{'create_in_queues'};
-my @attribs= qw(Description CorrespondAddress CommentAddress Name 
-                InitialPriority FinalPriority DefaultDueIn);
-
-  @results = UpdateRecordObject( AttributesRef => \@attribs, 
-                                   Object => $QueueObj, 
-                                   ARGSRef => \%ARGS);
-
-  #we're asking about enabled on the web page but really care about disabled.
-  if ($Enabled == 1) {
-      $Disabled = 0;
-  }    
-  else {
-      $Disabled = 1;
-  }
-  if  ( ($SetEnabled) and ( $Disabled != $QueueObj->Disabled) ) { 
-      my  ($code, $msg) = $QueueObj->SetDisabled($Disabled);
-      push @results, loc('Enabled status: [_1]', loc_fuzzy($msg));
-  }
-  
-  if ($QueueObj->Disabled()) {
-      $EnabledChecked ="";
-  }
-
-    my @linkresults;
-    $m->comp('/Elements/Callback', results => \@linkresults, 
-            RecordObj => $QueueObj, ARGSRef => \%ARGS, 
-            _CallbackName => 'ProcessLinks');
-    push @results, @linkresults;
-}
-</%INIT>
-
-
-<%ARGS>
-$id => undef
-$result => undef
-$Name => undef
-$Create => undef
-$Description => undef
-$CorrespondAddress => undef
-$CommentAddress => undef
-$InitialPriority => undef
-$FinalPriority => undef
-$DefaultDueIn => undef
-$SetEnabled => undef
-$Enabled => undef
-</%ARGS>
diff --git a/rt/html/Admin/Queues/People.html b/rt/html/Admin/Queues/People.html
deleted file mode 100644 (file)
index e29b9d3..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc('Modify people related to queue [_1]', $QueueObj->Name) &>
-<& /Admin/Elements/QueueTabs, id => $id, 
-    QueueObj => $QueueObj,                                                      
-    current_tab => $current_tab, 
-    Title => loc('Modify people related to queue [_1]', $QueueObj->Name) &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM METHOD=POST ACTION="People.html">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$QueueObj->Id%>">
-
-<TABLE WIDTH=100%>
-<TR>
-<TD VALIGN=TOP >
-
-<h3><&|/l&>Current watchers</&></h3>
-
-
-<&|/l&>Cc</&>:
-
-<& /Admin/Elements/EditQueueWatchers, QueueObj => $QueueObj, Watchers => $QueueObj->Cc &>
-
-<&|/l&>Administrative Cc</&>:
-
-<& /Admin/Elements/EditQueueWatchers, QueueObj => $QueueObj, Watchers => $QueueObj->AdminCc &>
-
-
-</TD>
-<TD VALIGN=TOP>
-<h3><&|/l&>New watchers</&></h3>
-
-<&|/l&>Find people whose</&><BR>
-<& /Elements/SelectUsers &>
-<input type=submit name="OnlySearchForPeople" value="<&|/l&>Go!</&>">
-<BR>
-<&|/l&>Find groups whose</&><BR>
-<& /Elements/SelectGroups &>
-<input type=submit name="OnlySearchForGroup" value="<&|/l&>Go!</&>">
-
-<p>
-<&|/l&>Add new watchers</&>:<br>
-<p>
-<b><&|/l&>Users</&></b>
-% if ($user_msg) {
-<br>
-<i><%$user_msg%></i>
-% } elsif ($Users) {
-<ul>
-% while (my $u = $Users->Next ) {
-<li><&/Elements/SelectWatcherType, Scope=>'queue', Name =>
-"Queue-AddWatcher-Principal-".$u->PrincipalId &> <%$u->Name%>
-(<%$u->RealName%>)
-% }
-</ul>
-% }
-
-<p>
-<b><&|/l&>Groups</&></b>
-
-% if ($group_msg) {
-<br>
-<i><%$group_msg%></i>
-% } elsif ($Groups) {
-<ul>
-% while (my $g = $Groups->Next ) {
-<li><&/Elements/SelectWatcherType, Scope=>'queue', Name =>
-"Queue-AddWatcher-Principal-".$g->PrincipalId &> <%$g->Name%>
-(<%$g->Description%>)
-% }
-</ul>
-% }
-
-</TD>
-</TR>
-</TABLE>
-
-
-
-
-<& /Elements/Submit, Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), Reset => 1 &>
-</form>
-
-<%INIT>
-
-my $current_tab;
-my ($field, @results, $User, $Users, $Groups, $watcher, $user_msg, $group_msg);
-
-# {{{ Load the queue
-#If we get handed two ids, mason will make them an array. bleck.
-# We want teh first one. Just because there's no other sensible way
-# to deal
-
-
-
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
-$QueueObj->Load($id) || Abort(loc("Couldn't load queue", $id));
-# }}}
-
-# {{{ Delete deletable watchers
-
-foreach my $key (keys %ARGS) {
-        my $id = $QueueObj->Id;
-
-    if (($key =~ /^Queue-$id-DeleteWatcher-Type-(.*?)-Principal-(\d*)$/)) {;
-           my ($code, $msg) = $QueueObj->DeleteWatcher(Type => $1,
-                                                    PrincipalId => $2);
-           push @results, $msg;
-    }
-}
-# }}}
-
-# {{{ Add new watchers
-foreach my  $key (keys %ARGS) {
-    #They're in this order because otherwise $1 gets clobbered :/
-    if ( ($ARGS{$key} =~ /^(AdminCc|Cc)$/) and
-        ($key =~ /^Queue-AddWatcher-Principal-(\d*)$/) ) {
-       $RT::Logger->debug("Adding a watcher $1 to ".$ARGS{$key}."\n");
-       my ($code, $msg) = $QueueObj->AddWatcher(Type => $ARGS{$key},
-                                                            PrincipalId => $1);
-       push @results, $msg;
-    }
-}
-
-# }}}
-
-
-if (!length $ARGS{'UserString'}) {
-$user_msg = loc("No principals selected.");
- }
-else {
-    $Users = new RT::Users($session{'CurrentUser'});
-    $Users->Limit(FIELD => $ARGS{'UserField'},
-                 VALUE => $ARGS{'UserString'},
-                 OPERATOR => $ARGS{'UserOp'});
-     }
-
-if (!length $ARGS{'GroupString'}) {
-$group_msg = loc("No principals selected.");
- }
-else {
-$Groups = new RT::Groups($session{'CurrentUser'});
-$Groups->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'UserDefined');
-$Groups->Limit(FIELD => $ARGS{'GroupField'},
-               VALUE => $ARGS{'GroupString'},
-               OPERATOR => $ARGS{'GroupOp'});
-     }
-
-$current_tab = 'Admin/Queues/People.html?id='.$QueueObj->id;
-</%INIT>
-
-<%ARGS>
-$UserField => 'Name'
-$UserOp => '='
-$UserString => undef
-$GroupField => 'Name'
-$GroupOp => '='
-$GroupString => undef
-$Type => undef
-$id => undef
-</%ARGS>
-
diff --git a/rt/html/Admin/Queues/Scrip.html b/rt/html/Admin/Queues/Scrip.html
deleted file mode 100644 (file)
index 1223fbf..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/QueueTabs, id => $QueueObj->Id, 
-    QueueObj => $QueueObj,                                                      
-    current_tab => 'Admin/Queues/Scrips.html?id='.$QueueObj->id, 
-    current_subtab => $current_subtab, 
-    subtabs => $subtabs, 
-    Title => $title &>
-
-<& /Admin/Elements/EditScrip, title => $title,  %ARGS &>
-<%init>
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
-$QueueObj->Load($Queue);
-
-my ($title, $current_subtab);
-my $subtabs = {                                                                               
-     A => { title => loc('Select scrip'),                                                     
-            path => "Admin/Queues/Scrips.html?id=".$QueueObj->id,
-               },                                                                             
-     B => { title => loc('New scrip'),                                                        
-            path => "Admin/Queues/Scrip.html?create=1&Queue=".$QueueObj->id,
-            separator => 1,                                                                   
-               }, 
-          };   
-
-unless($QueueObj->id) {
-    Abort(loc("Queue [_1] not found",$id));
-}
-if ($id) {
-    $current_subtab = "Admin/Queues/Scrip.html?id=".$id."&Queue=".$QueueObj->id;
-    $title = loc("Modify a scrip for queue [_1]", $QueueObj->Name);
-    $subtabs->{"C"} = { title => loc("Scrip #[_1]",$id),
-                       path => "Admin/Queues/Scrip.html?id=$id&Queue=".$QueueObj->id };
-} else {
-    $current_subtab = "Admin/Queues/Scrip.html?create=1&Queue=".$QueueObj->id;
-    $title = loc("Create a scrip for queue [_1]", $QueueObj->Name);
-}
-                                                                                             
-
-</%init>
-
-<%ARGS>
-$id => undef  
-$Queue => undef
-</%ARGS>
diff --git a/rt/html/Admin/Queues/Scrips.html b/rt/html/Admin/Queues/Scrips.html
deleted file mode 100644 (file)
index e7092fb..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/QueueTabs, id => $QueueObj->id, 
-    QueueObj => $QueueObj,                                                      
-    current_tab => 'Admin/Queues/Scrips.html?id='.$id, 
-    current_subtab => 'Admin/Queues/Scrips.html?id='.$id, 
-    subtabs => $subtabs, 
-    Title => $title &>
-
-% if (!$QueueObj->Disabled) { # Global scrips does not apply to disabled queues
-<h2><&|/l&>Scrips which apply to all queues</&></h2>
-<& /Admin/Elements/ListGlobalScrips &>
-<BR> 
-% }
-<& /Admin/Elements/EditScrips, title => $title, %ARGS &>
-<%init>
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
-$QueueObj->Load($id);
-
-my $title;
-
-if ($QueueObj->id) {
-    $title = loc("Modify scrips for queue [_1]", $QueueObj->Name);
-} else {
-    Abort(loc("Queue [_1] not found",$id));
-}
-
-my $subtabs = {
-        A => { title => loc('Select scrip'),
-               path => "Admin/Queues/Scrips.html?id=".$id,
-                          },
-        B => { title => loc('New scrip'),
-               path => "Admin/Queues/Scrip.html?create=1&Queue=".$id,
-            separator => 1,
-                          }
-             };
-</%init>
-
-<%ARGS>
-$id => undef         #some identifier that a Queue could 
-</%ARGS>
diff --git a/rt/html/Admin/Queues/Template.html b/rt/html/Admin/Queues/Template.html
deleted file mode 100644 (file)
index c60a909..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/QueueTabs, id => $Queue, 
-    QueueObj => $QueueObj,
-     current_tab => 'Admin/Queues/Templates.html?id='.$Queue,
-     current_subtab => $current_subtab, 
-     subtabs => $subtabs, 
-     Title => $title &>
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM METHOD=POST ACTION="Template.html">
-%if ($Create ) {
-<INPUT TYPE=HIDDEN NAME="Template" VALUE="new">
-% } else {
-<INPUT TYPE=HIDDEN NAME="Template" VALUE="<%$TemplateObj->Id%>">
-% }
-
-%# hang onto the queue id
-<INPUT TYPE=HIDDEN name="Queue" value="<%$Queue%>">
-<& /Admin/Elements/ModifyTemplate, Name => $TemplateObj->Name, Description =>
-$TemplateObj->Description, Content => $TemplateObj->Content &> 
-<& /Elements/Submit, Label => loc('Create'), Reset => 1 &>
-</FORM>
-
-
-<%INIT>
-
-my $TemplateObj = new RT::Template($session{'CurrentUser'});
-my  ($title, @results, $current_subtab);
-
-my $subtabs = {
-                A => { title => loc('Select template'),
-                       path => "Admin/Queues/Templates.html?id=$Queue"
-                          },
-                B => { title => loc('New template'),
-                       path => "Admin/Queues/Template.html?Create=1&Queue=$Queue",
-                       separator => 1,
-                          }
-             };
-
-if ($Create) {
-  $title = loc("Create a template");
-  $current_subtab = "Admin/Queues/Template.html?Create=1&Queue=".$Queue;
-}
-
-else {
-  if ($Template eq 'new') {
-      my ($val, $msg) =  $TemplateObj->Create(Queue => $Queue, Name => $Name);
-      Abort(loc("Could not create template: [_1]", $msg)) unless ($val);
-     push @results, $msg;
-    }
-    else {
-       $TemplateObj->Load($Template) || Abort(loc('No Template'));
-    }
-     $title = loc('Modify template [_1]', loc($TemplateObj->Name())); 
-  
-    
-}
-my $QueueObj;
-if ($TemplateObj->Id()) {
-  $Queue = $TemplateObj->Queue;
-  $QueueObj = $TemplateObj->QueueObj;
-
-  my @attribs = qw( Description Content Queue Name);
-  my @aresults = UpdateRecordObject( AttributesRef => \@attribs, 
-                                    Object => $TemplateObj, 
-                                    ARGSRef => \%ARGS);
-  $current_subtab = "Admin/Queues/Template.html?Queue=$Queue&Template=".$TemplateObj->Id();
-  $subtabs->{"C"} = { title => loc('Template #[_1]', $TemplateObj->Id()),
-                       path => "Admin/Queues/Template.html?Queue=$Queue&Template=".$TemplateObj->Id(),
-                       };
-  push @results, @aresults;
-} else {
-  $QueueObj = RT::Queue->new($session{'CurrentUser'});
-  $QueueObj->Load($Queue);
-}
-
-</%INIT>
-<%ARGS>
-$Queue => undef
-$Template => undef
-$Create => undef
-$Name => undef
-</%ARGS>
diff --git a/rt/html/Admin/Queues/Templates.html b/rt/html/Admin/Queues/Templates.html
deleted file mode 100644 (file)
index 888fdbc..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/QueueTabs, id => $QueueObj->id, 
-    current_tab => 'Admin/Queues/Templates.html?id='.$id, 
-    current_subtab => 'Admin/Queues/Templates.html?id='.$id, 
-        QueueObj => $QueueObj,
-    subtabs => $subtabs, 
-    Title => $title &>
-
-<& /Admin/Elements/EditTemplates, title => $title, %ARGS &>
-
-<%INIT>
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
-$QueueObj->Load($id);
-
-my ($title, $current_subtab);
-
-if ($QueueObj->id) {
-    $title = loc("Edit Templates for queue [_1]", $QueueObj->Name);
-} else {
-    Abort(loc("Queue [_1] not found",$id));
-}
-my $subtabs = {
-        A => { title => loc('Select template'),
-               path => "Admin/Queues/Templates.html?id=".$id,
-                  },
-        B => { title => loc('New template'),
-               path => "Admin/Queues/Template.html?Create=1&Queue=".$id,
-                  }
-             };
-
-</%INIT>
-<%ARGS>
-$id => undef         #some identifier that a Queue could 
-</%ARGS>
diff --git a/rt/html/Admin/Queues/UserRights.html b/rt/html/Admin/Queues/UserRights.html
deleted file mode 100644 (file)
index 399992a..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Modify user rights for queue [_1]', $QueueObj->Name) &>
-<& /Admin/Elements/QueueTabs, id => $id,
-    QueueObj => $QueueObj,                                                      
-    current_tab => $current_tab, 
-    Title => loc('Modify user rights for queue [_1]', $QueueObj->Name) &>
-<& /Elements/ListActions, actions => \@results &>
-
-  <FORM METHOD=POST ACTION="UserRights.html">
-    <INPUT TYPE=HIDDEN NAME=id VALUE="<% $QueueObj->id %>">
-      
-      
-<TABLE>
-<& /Elements/Callback, QueueObj => $QueueObj, results => \@results, %ARGS &>
-%      while (my $Member = $Users->Next()) {
-% my $UserObj = $Member->MemberObj->Object();
-% my $group = RT::Group->new($session{'CurrentUser'});
-% $group->LoadACLEquivalenceGroup($Member->MemberObj);
-  <TR ALIGN=RIGHT> 
-       <TD VALIGN=TOP>
-           <% $UserObj->Name %>
-                 </TD>
-         <TD>
-           <& /Admin/Elements/SelectRights, PrincipalId=> $group->PrincipalId,
-        Object => $QueueObj  &>
-         </TD>
-       </TR>
-% }
-      </TABLE>
-            
-      <& /Elements/Submit, Label => loc('Modify User Rights'), Reset => 1 &>
-      
-  </FORM>
-  
-<%INIT>
-  #Update the acls.
-  my @results =  ProcessACLChanges(\%ARGS);
-
-# {{{ Deal with setting up the display of current rights.
-
-
-
-if (!defined $id) {
-    Abort(loc("No Queue defined"));
-}
-
-my $QueueObj = RT::Queue->new($session{'CurrentUser'});
-$QueueObj->Load($id) || Abort(loc("Couldn't load queue [_1]",$id));
-
-# Find out which users we want to display ACL selects for
-my $Privileged = RT::Group->new($session{'CurrentUser'});
-$Privileged->LoadSystemInternalGroup('Privileged');
-my $Users = $Privileged->MembersObj();
-
-    
-  
-# }}}
-my $current_tab;
-$current_tab = 'Admin/Queues/UserRights.html?id='.$QueueObj->id;
-</%INIT>
-
-<%ARGS>
-$id => undef
-$UserString => undef
-$UserOp => undef
-$UserField => undef
-</%ARGS>
diff --git a/rt/html/Admin/Queues/index.html b/rt/html/Admin/Queues/index.html
deleted file mode 100644 (file)
index 28adf53..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc("Admin queues") &>
-<& /Admin/Elements/QueueTabs, current_tab => 'Admin/Queues/', 
-    current_subtab => 'Admin/Queues/', 
-    Title => loc("Admin queues") &>
-
-
-
-<h1><%$caption%></h1>
-<p><&|/l&>Select a queue</&>:</p>
-<UL>
-%if ($queues->Count == 0) {
-<li><i><&|/l&>No queues matching search criteria found.</&></i></li>
-% }
-%while ( $queue = $queues->Next) {
-<li><A HREF="Modify.html?id=<%$queue->id%>"><%$queue->Name%></a></li>
-%}
-</UL>
-<BR>
-<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Queues/index.html">
-<input type="checkbox" name="FindDisabledQueues" value="1"> <&|/l&>Include disabled queues in listing.</&>
-<div align=right><input type=submit value="<&|/l&>Go!</&>"></div> 
-</FORM>
-
-<%INIT>
-my ($queue, $caption);
-my $queues = new RT::Queues($session{'CurrentUser'});
-$queues->UnLimit();
-
-if ($FindDisabledQueues) {
-        $caption = loc("All Queues");
-        $queues->{'find_disabled_rows'} = 1;
-} else {
-    $caption = loc("Enabled Queues");
-}
-
-</%INIT>
-<%ARGS>
-$FindDisabledQueues => 0
-</%ARGS>
diff --git a/rt/html/Admin/Tools/Configuration.html b/rt/html/Admin/Tools/Configuration.html
deleted file mode 100644 (file)
index bc5ca69..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-require  Module::Versions::Report;
-my $title = loc('System Configuration');
-unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'SuperUser')) {
- Abort(loc('This feature is only available to system administrators'));
-} 
-
-
-</%init>
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/ToolTabs, 
-    current_tab => 'Admin/Tools/Configuration.html',
-    current_subtab => 'Admin/Tools/Configuration.html', 
-    Title => $title &>
-
-
-
-
-<h2><&|/l&>Loaded perl modules</&></h2>
-<pre>
-% my $report =  Module::Versions::Report::report();
-% my @report = grep { /v\d/ } split("\n",$report);
-<%join('<br>', @report)|n%>
-
-
-</pre>
-
-<h2><&|/l&>RT Variables</&></h2>
-<table>
-%{
-%no strict qw/refs/;
-
-%foreach my $key (sort keys %{*RT::}) {
-% next unless (${'RT::'.$key} );
-% next if (ref ${'RT::'.$key} );
-<tr><td>RT::<%$key%></td>
-<td>
-% if ($key =~ /Password(?!Length)/i) { 
-<i>Password not printed</i>
-% } else {
-<%${'RT::'.$key} %>
-% }
-</td>
-</tr>
-% }
-%}
-</table>
-
-<h2><&|/l&>Perl configuration</&></h2>
-% require Config;
-<pre>
-<%Config::myconfig()%>
-</pre>
diff --git a/rt/html/Admin/Tools/index.html b/rt/html/Admin/Tools/index.html
deleted file mode 100644 (file)
index 49cfac3..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-my $title = loc('System Tools');
-</%init>
-<& /Admin/Elements/Header, Title => $title &>
-<& /Admin/Elements/ToolTabs, 
-    current_tab => 'Admin/Tools/index.html',
-    current_subtab => 'Admin/Tools/Configuration.html', 
-    Title => $title &>
diff --git a/rt/html/Admin/Users/CustomFields.html b/rt/html/Admin/Users/CustomFields.html
deleted file mode 100644 (file)
index 5662c6c..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title &>
-<&    /Admin/Elements/UserTabs,
-    id => $Object->id, 
-    current_tab => "Admin/Users/CustomFields.html?$id=".$id, 
-    current_subtab => "Admin/Users/CustomFields.html?id=".$id, 
-    UserObj => $Object,
-    Title => $title
-    &>
-
-    <& /Admin/Elements/EditCustomFields, %ARGS, title => $title, Object => $Object, ObjectType => 'RT::User' &>
-<%INIT>
-my $Object = RT::User->new( $session{'CurrentUser'} );
-
-$Object->Load($id) || Abort( loc( "Couldn't load object [_1]", $id ) );
-my $FriendlySubTypes =
-  RT::CustomField->new( $session{'CurrentUser'} )
-  ->FriendlyLookupType( $Object->CustomFieldLookupType );
-
-my $title = loc( 'Edit Custom Fields for [_1]', $Object->Name );
-
-</%INIT>
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Users/History.html b/rt/html/Admin/Users/History.html
deleted file mode 100644 (file)
index 024a90b..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title  &>
-<& /Admin/Elements/UserTabs, 
-    id => $id, 
-    UserObj => $UserObj,
-    current_tab => $current_tab, 
-    Title => $title &>
-
-<& /Ticket/Elements/ShowHistory,
-    Ticket => $UserObj,
-    ShowHeaderModes => 0,
-&>
-
-<%INIT>
-my $current_tab = 'Admin/Users/History.html?id='.$id;
-my $UserObj = new RT::User($session{'CurrentUser'});
-$UserObj->Load($id) || Abort("Couldn't load user '$id'");
-my $title = loc("History of the user [_1]", $UserObj->Name);
-</%INIT>
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Users/Memberships.html b/rt/html/Admin/Users/Memberships.html
deleted file mode 100644 (file)
index 3e63239..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title  &>
-<& /Admin/Elements/UserTabs, 
-    id => $id, 
-    UserObj => $UserObj,
-    current_tab => $current_tab, 
-    Title => $title &>
-
-<h2><&|/l&>Groups</&></h2>
-
-<& /Elements/ShowMemberships, UserObj => $UserObj &>
-
-<%INIT>
-my $UserObj = RT::User->new($session{'CurrentUser'});
-$UserObj->Load($id) || Abort("Couldn't load user '$id'");
-my $title = loc("Memberships of the user [_1]", $UserObj->Name);
-my $current_tab = 'Admin/Users/Memberships.html?id='.$id;
-</%INIT>
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Admin/Users/Modify.html b/rt/html/Admin/Users/Modify.html
deleted file mode 100644 (file)
index 8a24f9c..0000000
+++ /dev/null
@@ -1,421 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => $title  &>
-<& /Admin/Elements/UserTabs, 
-    id => $id, 
-    UserObj => $UserObj,
-    current_tab => $current_tab, 
-    Title => $title &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM ACTION="<%$RT::WebPath%>/Admin/Users/Modify.html" METHOD=POST ENCTYPE="multipart/form-data">
-%if ($Create) {
-<INPUT TYPE=HIDDEN NAME=id VALUE="new">
-% } else {
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$UserObj->Id%>">
-% }
-<TABLE WIDTH=100% BORDER=0>
-<TR>
-
-<TD VALIGN=TOP class="boxcontainer">
-<& /Elements/TitleBoxStart, title => loc('Identity') &>
-
-<TABLE>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Username</&>:
-</TD><TD>
-<input name="Name" value="<%$UserObj->Name%>"> <b><&|/l&>(required)</&></b>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Email</&>:
-</TD><TD>
-<input name="EmailAddress" value="<%$UserObj->EmailAddress%>">
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Real Name</&>: 
-</TD><TD>
-<input name="RealName" value="<%$UserObj->RealName%>">
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Nickname</&>: 
-</TD><TD>
-<input name="NickName" value="<%$UserObj->NickName%>">
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Unix login</&>: 
-</TD><TD>
-<input name="Gecos" value="<%$UserObj->Gecos%>">
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Language</&>: 
-</TD><TD>
-<& /Elements/SelectLang, Name => 'Lang', Default => $UserObj->Lang &>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Extra info</&>: 
-</TD><TD>
-<textarea name="FreeformContactInfo" cols=20 rows=5><%$UserObj->FreeformContactInfo%></TEXTAREA>
-</TD></TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<br>
-<& /Elements/TitleBoxStart, title => loc('Access control') &>
-<INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
-<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>>
-<&|/l&>Let this user access RT</&><BR>
-
-
-<INPUT TYPE=HIDDEN NAME="SetPrivileged" VALUE="1">
-<INPUT TYPE=CHECKBOX NAME="Privileged" VALUE="1" <%$PrivilegedChecked%>> <&|/l&>Let this user be granted rights</&><BR>
-                   
-% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-<TABLE>
-<TR>
-<TD ALIGN=RIGHT>
-<&|/l&>New Password</&>:
-</TD>
-<TD ALIGN=LEFT>
-<input type=password name="Pass1">
-</TD>
-</TR>
-<TR><TD ALIGN=RIGHT>
-<&|/l&>Retype Password</&>:
-</TD>
-<TD>
-<input type=password name="Pass2">
-</TD>
-</TR>
-</TABLE>
-% }
-<& /Elements/TitleBoxEnd &>
-</TD>
-
-<TD VALIGN=TOP class="boxcontainer">
-<& /Elements/TitleBoxStart, title => loc('Location') &>
-<TABLE>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Organization</&>: 
-</TD><TD>
-<input name="Organization" value="<%$UserObj->Organization%>">
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Address1</&>: 
-</TD><TD>
-<input name="Address1" value="<%$UserObj->Address1%>">
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Address2</&>: 
-</TD><TD>
-<input name="Address2" value="<%$UserObj->Address2%>">
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>City</&>: 
-</TD><TD>
-<input name="City" value="<%$UserObj->City%>" size=14>
-
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>State</&>: 
-</TD><TD>
-<input name="State" value="<%$UserObj->State%>" size=3>
-
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Zip</&>: 
-</TD><TD>
-<input name="Zip" value="<%$UserObj->Zip%>" size=9>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Country</&>: 
-</TD><TD>
-<input name="Country" value="<%$UserObj->Country%>">
-</TD></TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<br>
-<& /Elements/TitleBoxStart, title => loc('Phone numbers') &>
-<TABLE>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Residence</&>: 
-</TD><TD>
-<input name="HomePhone" value="<%$UserObj->HomePhone%>" size=13><br>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Work</&>: 
-</TD><TD>
-<input name="WorkPhone" value="<%$UserObj->WorkPhone%>" size=13><br>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Mobile</&>: 
-</TD><TD>
-<input name="MobilePhone" value="<%$UserObj->MobilePhone%>" size=13><br>
-</TD></TR>
-<TR><TD ALIGN="RIGHT">
-<&|/l&>Pager</&>: 
-</TD><TD>
-<input name="PagerPhone" value="<%$UserObj->PagerPhone%>" size=13><br>
-<& /Elements/TitleBoxEnd &>
-</TD>
-
-<TR>
-</TR>
-</TABLE>
-<BR>
-<& /Elements/TitleBoxStart, title => loc('Custom Fields') &>
-<TABLE>
-% my $CFs = $UserObj->CustomFields;
-% while (my $CF = $CFs->Next) {
-<TR VALIGN="TOP"><TD ALIGN="RIGHT">
-<% $CF->Name %>:
-</TD><TD>
-<& /Elements/EditCustomField, %ARGS, Object => $UserObj, CustomField => $CF &>
-</TD></TR>
-% }
-<TR>
-</TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<TR>
-<TD colspan="2">
-<& /Elements/TitleBoxStart, title => loc('Comments about this user') &>
-<TEXTAREA class="comments" name="Comments" COLS=80 ROWS=5 WRAP=VIRTUAL><%$UserObj->Comments%></TEXTAREA>
-<& /Elements/TitleBoxEnd &>
-%if ($UserObj->Privileged) {
-<BR>
-<& /Elements/TitleBoxStart, title => loc('Signature') &>
-<TEXTAREA class="signature" COLS=80 ROWS=5 name="Signature" WRAP=HARD><%$UserObj->Signature%></TEXTAREA>
-<& /Elements/TitleBoxEnd &>
-% }
-
-</TD>
-</TR>
-</TABLE>
-
-<& /Elements/Submit, Label => loc('Save Changes') &>
-</form>
-
-<%INIT>
-
-my $current_tab;
-my $UserObj = new RT::User($session{'CurrentUser'});
-my ($title, $PrivilegedChecked, $EnabledChecked, $Disabled, $result, @results);
-
-my ($val, $msg);
-
-if ($Create) {
-    $current_tab = 'Admin/Users/Modify.html?Create=1';
-    $title = loc("Create a new user");
-} 
-else {
-
-    $current_tab = 'Admin/Users/Modify.html?id='.$id;
-    if ($id eq 'new') {
-       ( $val, $msg ) = $UserObj->Create(
-           Name                  => $Name,
-           EmailAddress          => $ARGS{'EmailAddress'},
-           Name                  => $ARGS{'Name'},
-           Comments              => $ARGS{'Comments'},
-           Signature             => $ARGS{'Signature'},
-           EmailAddress          => $ARGS{'EmailAddress'},
-           FreeformContactInfo   => $ARGS{'FreeformContactInfo'},
-           Organization          => $ARGS{'Organization'},
-           RealName              => $ARGS{'RealName'},
-           NickName              => $ARGS{'NickName'},
-           Lang                  => $ARGS{'Lang'},
-           EmailEncoding         => $ARGS{'EmailEncoding'},
-           WebEncoding           => $ARGS{'WebEncoding'},
-           ExternalContactInfoId => $ARGS{'ExternalContactInfoId'},
-           ContactInfoSystem     => $ARGS{'ContactInfoSystem'},
-           Gecos                 => $ARGS{'Gecos'},
-           ExternalAuthId        => $ARGS{'ExternalAuthId'},
-           AuthSystem            => $ARGS{'AuthSystem'},
-           HomePhone             => $ARGS{'HomePhone'},
-           WorkPhone             => $ARGS{'WorkPhone'},
-           MobilePhone           => $ARGS{'MobilePhone'},
-           PagerPhone            => $ARGS{'PagerPhone'},
-           Address1              => $ARGS{'Address1'},
-           Address2              => $ARGS{'Address2'},
-           City                  => $ARGS{'City'},
-           State                 => $ARGS{'State'},
-           Zip                   => $ARGS{'Zip'},
-           Country               => $ARGS{'Country'},
-           Privileged           => $ARGS{'Privileged'},
-           Disabled            => ($ARGS{'Enabled'} ? 0 : 1)
-       );
-
-       if ($val) {
-               push @results, $msg;
-       } else {
-               push @results, loc('User could not be created: [_1]', $msg);
-       }
-    } else {
-       $UserObj->Load($id) || $UserObj->Load($Name) || Abort("Couldn't load user '$Name'");
-       $val = $UserObj->Id();
-    }
-
-    if ($val) {
-       $title = loc("Modify the user [_1]", $UserObj->Name);
-    }
-
-    # If the create failed
-    else {
-       $title = loc("Create a new user");
-       $Create = 1;
-    }
-}
-
-
-
-
-# If we have a user to modify, lets try. 
-if ($UserObj->Id && $id ne 'new') {
-
-    my @fields = qw(Name Comments Signature EmailAddress FreeformContactInfo 
-                   Organization RealName NickName Lang EmailEncoding WebEncoding 
-                   ExternalContactInfoId ContactInfoSystem Gecos ExternalAuthId 
-                   AuthSystem HomePhone WorkPhone MobilePhone PagerPhone Address1
-                   Address2 City State Zip Country 
-                  );
-
-    my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields,
-                                           Object => $UserObj,
-                                           ARGSRef => \%ARGS );
-    push (@results,@fieldresults);
-    push @results, ProcessObjectCustomFieldUpdates( ARGSRef => \%ARGS, Object => $UserObj );
-
-
-    # {{{ Deal with special fields: Privileged, Enabled
-    if  ( $SetPrivileged and $Privileged != $UserObj->Privileged ) {
-         my ($code, $msg) = $UserObj->SetPrivileged($Privileged);
-         push @results, loc('Privileged status: [_1]', loc_fuzzy($msg));
-    }
-
-    #we're asking about enabled on the web page but really care about disabled.
-    $Disabled = $Enabled ? 0 : 1;
-
-    if  ( ($SetEnabled) and ( $Disabled != $UserObj->Disabled) ) { 
-        my  ($code, $msg) = $UserObj->SetDisabled($Disabled);
-        push @results, loc('Enabled status [_1]', loc_fuzzy($msg));
-    }
-
-
-    # }}}
-}
-
-if ( $UserObj->Id ) {
-    my $password_not_set;
-    # Deal with Password field
-    if ( !$Pass1 and !$Pass2 ) {
-       $password_not_set = 1;
-    } elsif ( $Pass1 ne $Pass2 ) {
-       $password_not_set = 1;
-        push @results, loc("Passwords do not match.");
-    } elsif ( $Pass1 eq $Pass2 and !$UserObj->IsPassword($Pass1) ) {
-        my ($code, $msg) = $UserObj->SetPassword($Pass1);
-        push @results, loc_fuzzy($msg);
-       $password_not_set = 1 unless $code;
-    }
-    if ($id eq 'new' and $password_not_set) {
-       push @results, loc("A password was not set, so user won't be able to login.");
-    } 
-}
-
-
-# {{{ Do some setup for the ui
-unless ($UserObj->Disabled()) {
-    $EnabledChecked ="CHECKED";
-}
-
-if ($UserObj->Privileged()) {  
-    $PrivilegedChecked = "CHECKED";
-}
-
-# }}}
-
-# set the id, so the the menu will have the right info, this needs to
-# be done here to avoid creating and then modifying a user
-$id = $UserObj->Id;
-
-</%INIT>
-
-
-<%ARGS>
-$id => undef
-$Name  => undef
-$Comments  => undef
-$Signature  => undef
-$EmailAddress  => undef
-$FreeformContactInfo => undef
-$Organization  => undef
-$RealName  => undef
-$NickName  => undef
-$Privileged => undef
-$SetPrivileged => undef
-$Enabled => undef
-$SetEnabled => undef
-$Lang  => undef
-$EmailEncoding  => undef
-$WebEncoding => undef
-$ExternalContactInfoId  => undef
-$ContactInfoSystem  => undef
-$Gecos => undef
-$ExternalAuthId  => undef
-$AuthSystem  => undef
-$HomePhone => undef
-$WorkPhone  => undef
-$MobilePhone  => undef
-$PagerPhone  => undef
-$Address1 => undef
-$Address2  => undef
-$City  => undef
-$State  => undef
-$Zip  => undef
-$Country => undef
-$Pass1 => undef
-$Pass2=> undef
-$Create=> undef
-</%ARGS>
diff --git a/rt/html/Admin/Users/index.html b/rt/html/Admin/Users/index.html
deleted file mode 100644 (file)
index 1bbe867..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('Select a user') &>
-<& /Admin/Elements/UserTabs, current_tab => 'Admin/Users/', 
-    current_subtab => 'Admin/Users/',
-    Title => loc('Select a user') &>
-
-<h1><%$caption%></h1>
-<p><&|/l&>Select a user</&>:</p>
-<ul>
-%if ($users->Count == 0) {
-<li><i><&|/l&>No users matching search criteria found.</&></i></li>
-% }
-%my @ids;
-%while ( $user = $users->Next) {
-%    push @ids, $user->Id;
-<LI><A HREF="Modify.html?id=<%$user->id%>"><%$user->Name || loc('(no name listed)')%></a></LI>
-%}
-</UL>
-%if (my $ids = join(',', @ids)) {
-<em>(<a href="<%$RT::WebPath%>/Download/Tabular/User/<% $ids %>/Users.tsv"><&|/l&>Download as a tab-delimited file</&></a>)</em><br>
-%}
-
-<br><br>
-<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Users/index.html">
-
-<&|/l&>Find people whose</&> <& /Elements/SelectUsers &><BR>
-<input type="checkbox" name="FindDisabledUsers" value="1"> <&|/l&>Include disabled users in search.</&>
-<BR>
-<div align=right><input type=submit value="<&|/l&>Go!</&>"></div> 
-</FORM>
-
-<%INIT>
-my ($user, $caption);
-my $users = new RT::Users($session{'CurrentUser'});
-
-if ($FindDisabledUsers) {
-       $users->{'find_disabled_rows'} = 1;
-}
-
-if (length $UserString) {
-    $caption = loc("Users matching search criteria");
-    if ($UserField =~ /^CustomField-(\d+)/) {
-       $users->LimitCustomField(
-           CUSTOMFIELD => $1,
-           OPERATOR => $UserOp,
-           VALUE => $UserString,
-       ); 
-    }
-    else {
-       $users->Limit(
-           FIELD => $UserField,
-           OPERATOR => $UserOp,
-           VALUE => $UserString,
-       ); 
-    }
-}
-else {
-    $caption = loc("Privileged users");
-    $users->LimitToPrivileged;
-}
-</%INIT>
-<%ARGS>
-$UserString => undef
-$UserOp => '='
-$UserField => 'Name'
-$IdLike => undef
-$EmailLike => undef
-$FindDisabledUsers => 0
-</%ARGS>
diff --git a/rt/html/Admin/autohandler b/rt/html/Admin/autohandler
deleted file mode 100644 (file)
index def6101..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-$m->call_next(%ARGS) if $session{'CurrentUser'}->UserObj->HasRight(
-    Right => 'ShowConfigTab',
-    Object => $RT::System,
-);
-</%init>
\ No newline at end of file
diff --git a/rt/html/Admin/index.html b/rt/html/Admin/index.html
deleted file mode 100644 (file)
index 01ba24d..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices),
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.),
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Admin/Elements/Header, Title => loc('RT Administration') &>
-<& /Admin/Elements/Tabs, Title => loc('RT Administration') &>
-
-<ul>
-%    foreach my $key (sort keys %$tabs) {
-<li><font size="+2"><a href="<%$RT::WebPath%>/<%$tabs->{$key}->{'path'}|n %>"><%$tabs->{$key} ->{'title'}%></a></font><br>
-<%$tabs->{$key}->{description}%>
-</li>
-%}
-</ul>
-<%init>
-
-
-
-my $tabs = {
-    A => {
-        title       => loc('Users'),
-        path        => 'Admin/Users/index.html',
-        description => loc('Manage users and passwords'),
-    },
-    B => {
-        title => loc('Groups'),
-        path  => 'Admin/Groups/index.html',
-        description => loc('Manage groups and group membership'),
-    },
-    C => {
-        title       => loc('Queues'),
-        path        => 'Admin/Queues/index.html',
-        description => loc('Manage queues and queue-specific properties'),
-    },
-    D => {
-        'title'     => loc('Custom Fields'),
-        description => loc('Manage custom fields and custom field values'),
-          path      => 'Admin/CustomFields/index.html',
-    },
-    E => {
-        'title'     => loc('Global'),
-        path        => 'Admin/Global/index.html',
-        description =>
-          loc('Manage properties and configuration which apply to all queues'),
-    },
-    F => {
-        'title'     => loc('Tools'),
-        path        => 'Admin/Tools/index.html',
-        description => loc('Use other RT administrative tools')
-    },
-};
-
-  $m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
-
-
-
-
-</%init>
diff --git a/rt/html/Approvals/Display.html b/rt/html/Approvals/Display.html
deleted file mode 100644 (file)
index d9d6df5..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title =>  $title &>
-
-<& Elements/Tabs, 
-    current_tab => "Approvals/Display.html", 
-    Title =>  $title &>
-<form method=post action="<%$RT::WebPath%>/Approvals/index.html">
-
-<& /Elements/TitleBoxStart, title => $title &>
-<& /Ticket/Elements/ShowHistory , Ticket => $Ticket, Collapsed => 0, ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0 &>
-<hr>
-<table width=100%>
-<& Elements/Approve, ticket => $Ticket, ShowApproving => 0 &>
-</table>
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit&>
-</form>
-<& Elements/ShowDependency, Ticket => $Ticket &>
-
-<%init>
-my $Ticket = LoadTicket($id);
-
-my $title = loc("Approval #[_1]: [_2]", $Ticket->Id, $Ticket->Subject);
-
-</%init>
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Approvals/Elements/Approve b/rt/html/Approvals/Elements/Approve
deleted file mode 100644 (file)
index bf786fb..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<tr bgcolor="#b9b9ff">
-<td colspan=2><font size="3">
-<a href="<%$RT::WebPath%>/Approvals/Display.html?id=<%$ticket->Id%>"><% loc("#[_1]: [_2]", $ticket->Id, $ticket->Subject) %></a> (<%loc($ticket->Status)%>)</font></td>
-</tr>
-% if ($ShowApproving) {
-%     foreach my $approving ( $ticket->AllDependedOnBy( Type => 'ticket' ) ) {
-<tr bgcolor="#e9e9e9">
-<td colspan=2>
-<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<% $approving->Id %>"><&|/l, $approving->Id, $approving->Subject &>Originating ticket: #[_1]</&></a>
-</td>
-</tr>
-<tr><td colspan=2>
-<& /Ticket/Elements/ShowCustomFields, Ticket => $approving &>
-<& /Ticket/Elements/ShowHistory, Ticket => $approving, Collapsed => 0, ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0 &>
-</td></tr>
-%     }
-% }
-<tr <%$class && "class=\"$class\""%>>
-<td valign=top>
-<input type="radio" name="Approval-<%$ticket->Id%>-Action" value="approve"><&|/l&>Approve</&><br>
-<input type="radio" name="Approval-<%$ticket->Id%>-Action" value="deny"><&|/l&>Deny</&><br>
-<input type="radio" name="Approval-<%$ticket->Id%>-Action" value="none" checked><&|/l&>No action</&>
-</td>
-<td>
-<&|/l&>Notes</&><br>
-<textarea name="Approval-<%$ticket->Id%>-Notes" rows=2 cols=70></textarea>
-</td>
-</tr>
-<%ARGS>
-$ShowApproving => 1
-$ticket => undef
-$class => undef
-</%ARGS>
diff --git a/rt/html/Approvals/Elements/PendingMyApproval b/rt/html/Approvals/Elements/PendingMyApproval
deleted file mode 100644 (file)
index f13ddf0..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table width="100%">
-% my ($i, $class);
-% my %done;
-% foreach ($tickets, $group_tickets) {
-%   while (my $ticket = $_->Next() ) {
-%     next if !$ARGS{'ShowDependent'} and $ticket->HasUnresolvedDependencies( Type => 'approval' );
-%     next if $done{$ticket->Id}++; # don't show duplicate tickets
-%     $i++; 
-%     $class = ($i%2) ?  "oddline" : "evenline";
-<& Approve, ticket => $ticket, class => $class &>
-%   }
-% }
-</table>
-
-<& /Elements/TitleBoxStart, title => loc("Search for approvals") &>
-<input type=checkbox value="1" name="ShowPending"
-        <%((!$ARGS{'ShowRejected'} && !$ARGS{'ShowResolved'}) ||
-         $ARGS{'ShowPending'})
-        && "checked"%>> <&|/l&>Show pending requests</&><br>
-<input type=checkbox value="1" name="ShowResolved" <%$ARGS{'ShowResolved'} && "checked"%>> <&|/l&>Show approved requests</&><br>
-<input type=checkbox value="1" name="ShowRejected" <%$ARGS{'ShowRejected'} && "checked"%>> <&|/l&>Show denied requests</&><br>
-<input type=checkbox value="1" name="ShowDependent" <%$ARGS{'ShowDependent'} && "checked"%>> <&|/l&>Show requests awaiting other approvals</&><br>
-
-<&|/l,"<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>"&>Only show approvals for requests created before [_1]</&><br>
-
-<&|/l, "<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>"&>Only show approvals for requests created after [_1]</&>
-<& /Elements/TitleBoxEnd &>
-
-<%init>
-my $tickets = RT::Tickets->new( $session{'CurrentUser'} );
-$tickets->LimitOwner( VALUE => $session{'CurrentUser'}->Id );
-
-# also consider AdminCcs as potential approvers.
-my $group_tickets = RT::Tickets->new( $session{'CurrentUser'} );
-
-my $created_before = RT::Date->new( $session{'CurrentUser'} );
-my $created_after = RT::Date->new( $session{'CurrentUser'} );
-
-foreach ($tickets, $group_tickets) {
-    $_->Limit( FIELD      => 'Type', VALUE => 'approval' );
-
-    if ( $ARGS{'ShowResolved'} ) {
-       $_->LimitStatus( VALUE => 'resolved' );
-    }
-    if ( $ARGS{'ShowRejected'} ) {
-       $_->LimitStatus( VALUE => 'rejected' );
-    }
-    if ( $ARGS{'ShowPending'} || ( !$ARGS{'ShowRejected'} && !$ARGS{'Resolved'} ) ) {
-       $_->LimitStatus( VALUE => 'open' );
-       $_->LimitStatus( VALUE => 'new' );
-       $_->LimitStatus( VALUE => 'stalled' );
-    }
-
-    if ( $ARGS{'CreatedBefore'} ) {
-       $created_before->Set( Format => 'unknown', Value => $ARGS{'CreatedBefore'} );
-       $_->LimitCreated( OPERATOR => "<=", VALUE => $created_before->ISO );
-    }
-    if ( $ARGS{'CreatedAfter'} ) {
-       $created_after->Set( Format => 'unknown', Value => $ARGS{'CreatedAfter'} );
-       $_->LimitCreated( OPERATOR => ">=", VALUE => $created_after->ISO );
-    }
-}
-
-</%init>
diff --git a/rt/html/Approvals/Elements/ShowDependency b/rt/html/Approvals/Elements/ShowDependency
deleted file mode 100644 (file)
index e8d0b00..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% my $approving = $Ticket->DependedOnBy();
-% if ($approving->Count) {
-<h3><&|/l&>Tickets which depend on this approval:</&></h3>
-
-<table width=100%>
-<TR>
-<TD WIDTH="25" bgcolor="#999999">&nbsp;</TD><TD>
-<%PERL>
-my %show;
-while (my $link = $approving->Next()) {
-    next unless ($link->BaseURI->IsLocal());
-    my $text = '<a name="' . $link->BaseObj->Id . '">';
-    my $head = '';
-    my $type = $link->BaseObj->Type;
-    my $dep  = $m->scomp('ShowDependency', Ticket => $link->BaseObj, _seen => $_seen);
-
-    if ($type eq 'approval') {
-       $head .= $m->scomp('/Elements/TitleBoxStart', title => loc("Approval #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
-       $text .= $head;
-       $text .= $m->scomp('/Ticket/Elements/ShowCustomFields', Ticket => $link->BaseObj);
-    } elsif ($type eq 'ticket') {
-       $head .= $m->scomp('/Elements/TitleBoxStart', title => loc("Ticket #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
-       $text .= $head;
-       $text .= $m->scomp('/Ticket/Elements/ShowSummary', Ticket => $link->BaseObj);
-    } else {
-       $head .= $m->scomp('/Elements/TitleBoxStart', title => loc("#[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
-       $text .= $head;
-    }
-
-    $text .= $m->scomp('/Ticket/Elements/ShowHistory' , Ticket => $link->BaseObj, Collapsed => ($type ne 'ticket'), ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0);
-
-    $head .= $m->scomp('/Elements/TitleBoxEnd');
-    $text .= $m->scomp('/Elements/TitleBoxEnd');
-    $text .= $dep;
-    $text .= '</a>';
-    $show{$link->BaseObj->Id} = {
-       text => $text,
-       head => $head,
-    };
-}
-
-my $refer;
-foreach my $id (sort keys %show) {
-    if ($_seen->{$id}++) {
-       $refer .= "<a href='#txn-$id'>" . $show{$id}{head} . "</a>";
-       next;
-    }
-
-    $m->print($show{$id}{text});
-}
-$m->print($refer);
-
-</%PERL>
-</TD>
-</TR>
-</TABLE>
-
-% }
-<%ARGS>
-$Ticket
-$_seen => {}
-</%ARGS>
diff --git a/rt/html/Approvals/Elements/Tabs b/rt/html/Approvals/Elements/Tabs
deleted file mode 100644 (file)
index 03bdc26..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Tabs,
-    tabs => $tabs, 
-    current_toptab => 'Approvals/', 
-    current_tab => $current_tab, 
-    Title => $Title &>
-
-<%ARGS>
-$tabs => undef
-$current_tab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Approvals/index.html b/rt/html/Approvals/index.html
deleted file mode 100644 (file)
index 88c277c..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("My approvals") &>
-<& /Approvals/Elements/Tabs, Title => loc("My approvals") &>
-
-<& /Elements/ListActions, actions => \@actions &>
-<form method="post">
-<& Elements/PendingMyApproval, %ARGS &>
-<& /Elements/Submit, Label => loc('Show Approvals') &>
-</form>
-<%init>
-
-my (@actions);
-foreach my $arg ( keys %ARGS ) {
-
-    next unless ( $arg =~ /Approval-(\d+)-Action/ );
-
-    my ( $notesval, $notesmsg );
-
-    my $ticket = LoadTicket($1);
-
-    if ( $ARGS{ "Approval-" . $ticket->Id . "-Notes" } ) {
-        my $notes = MIME::Entity->build(
-           Data => [ $ARGS{ "Approval-" . $ticket->Id . "-Notes" } ]
-       );
-       RT::I18N::SetMIMEEntityToUTF8($notes); # convert text parts into utf-8
-
-        my ( $notesval, $notesmsg ) = $ticket->Correspond( MIMEObj => $notes );
-        if ($notesval) {
-                push ( @actions, loc("Approval #[_1]: Notes recorded",$ticket->Id ));
-        } else {
-                push ( @actions, loc("Approval #[_1]: Notes not recorded due to a system error",$ticket->Id ));
-        }
-    }
-
-    my ($val, $msg);
-    if ( $ARGS{$arg} eq 'deny' ) {
-         ( $val, $msg ) = $ticket->SetStatus('rejected');
-    }
-    elsif ( $ARGS{$arg} eq 'approve' ) {
-         ( $val, $msg ) = $ticket->SetStatus('resolved');
-    }
-    push ( @actions, loc("Approval #[_1]: [_2]",$ticket->id, $msg )) if ($msg);
-}
-</%init>
diff --git a/rt/html/Download/CustomFieldValue/dhandler b/rt/html/Download/CustomFieldValue/dhandler
deleted file mode 100644 (file)
index 5219680..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%perl>
-my $id;
-my $arg = $m->dhandler_arg;                # get rest of path
-if ($arg =~ /^(\d+)\//) {
-    $id = $1;
-}
-else {
-    Abort("Corrupted customfieldvalue URL.");
-}
-my $OCFV = RT::ObjectCustomFieldValue->new($session{'CurrentUser'});
-$OCFV->Load($id) || Abort("OCFV '$id' could not be loaded");
-
-unless ($OCFV->id) {
-    Abort("Bad OCFV id. Couldn't find OCFV '$id'\n");
-}
-
-my $content_type = $OCFV->ContentType || 'text/plain';
-    
-unless ($RT::TrustHTMLAttachments) {
-    $content_type = 'text/plain' if ($content_type =~ /^text\/html/i);
-}
-
-$r->content_type( $content_type );
-$m->clear_buffer();
-$m->out($OCFV->LargeContent);
-$m->abort; 
-</%perl>
-<%attr>
-AutoFlush => 0
-</%attr>
diff --git a/rt/html/Download/Tabular/dhandler b/rt/html/Download/Tabular/dhandler
deleted file mode 100644 (file)
index 3965a99..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%perl>
-my ($class, $filename, @ids);
-my $arg = $m->dhandler_arg;                # get rest of path
-if ($arg =~ /^(\w+)\/([,\d]+)(?:\/([^\/]+))?/) {
-    $class = "RT::$1";
-    $filename = $3 || "$1s.tsv";
-    @ids = sort split(/,+/, $2);
-}
-else {
-    Abort("Corrupted tabular URL.");
-}
-
-my @cols = $class->BasicColumns or return;
-
-#$r->content_type( 'application/octet-stream' );
-$r->content_type( 'text/plain' );
-$r->headers_out->{'Content-Disposition'} = "attachment; filename=$filename";
-$m->clear_buffer();
-$m->out(join("\t", "Id", map $_->[1], @cols), "\n");
-foreach my $id (@ids) {
-    my $obj = $class->new;
-    $obj->Load($id) or next;
-    $m->out(join("\t", map $obj->$_, "Id", map $_->[0], @cols), "\n");
-}
-$m->abort; 
-</%perl>
-<%attr>
-AutoFlush => 0
-</%attr>
diff --git a/rt/html/Elements/BevelBoxRaisedEnd b/rt/html/Elements/BevelBoxRaisedEnd
deleted file mode 100644 (file)
index e1d1edb..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-  </TD>
-</TR>
-</table>
diff --git a/rt/html/Elements/BevelBoxRaisedStart b/rt/html/Elements/BevelBoxRaisedStart
deleted file mode 100644 (file)
index 6c5a613..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table cellspacing=0 cellpadding=0 width=100% height=100%>
-      <TR>
-        <TD width=100% height=100%> 
diff --git a/rt/html/Elements/Callback b/rt/html/Elements/Callback
deleted file mode 100644 (file)
index 937e923..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%once>
-my %cache;
-</%once>
-<%init>
-$Page = $m->callers(1)->path unless ($Page);
-
-my $CacheKey = "Callback--$Page--$_CallbackName";
-my $callbacks = $cache{$CacheKey} || $m->notes($CacheKey);
-
-if (!$callbacks) {
-    my $path  = "/Callbacks/*$Page/$_CallbackName";
-
-    # Due to API changes after Mason 1.28, we have to check for which
-    # version we're running when getting the component roots
-    my @roots = map { $_->[1] }
-                    $HTML::Mason::VERSION <= 1.28
-                        ? $m->interp->resolver->comp_root_array
-                        : $m->interp->comp_root_array;
-    
-    my %seen;
-    
-    for my $root (@roots) {
-        push @$callbacks,
-            # Skip backup files, files without a leading package name,
-            # and files we've already seen
-            grep {     !/^\.|~$/
-                   and $_ ne "/Callbacks/$Page/$_CallbackName"
-                   and not $seen{$_}++ }
-                 $m->interp->resolver->glob_path($path, $root);
-    }
-    
-    $m->notes($CacheKey => $callbacks);
-    $cache{$Page,$_CallbackName} = $callbacks if !$RT::DevelMode;
-}
-
-my @rv;
-foreach my $comp (sort @$callbacks) {
-    push @rv, $m->comp($comp, %ARGS);
-}
-return @rv;
-</%init>
-<%args>
-$_CallbackName => 'Default'
-$Page => undef
-</%args>
diff --git a/rt/html/Elements/Checkbox b/rt/html/Elements/Checkbox
deleted file mode 100644 (file)
index f2256fb..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<INPUT TYPE="Checkbox" NAME="<%$Name%>" value="1" <%$IsChecked%>>
-
-<%ARGS>
-$Name => undef
-$Default => undef
-$True => undef
-$False => undef
-$IsChecked => undef
-</%ARGS>
-
-<%INIT>
-$IsChecked = 
-  ($Default && $Default =~ /checked/i)
-    ? " CHECKED " : "";
-1;
-</%INIT>
diff --git a/rt/html/Elements/CollectionAsTable/Header b/rt/html/Elements/CollectionAsTable/Header
deleted file mode 100644 (file)
index 9ed4be8..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%ARGS>
-@Format => undef
-$FormatString => undef
-$AllowSorting => undef
-$Order=>undef
-$BaseURL => undef
-$Query => undef
-$Rows => undef
-$Page => undef
-$maxitems => undef
-</%ARGS>
-<TR class="collection-as-table">
-<%perl>
-
-my %generic_query_args = ( Query => $Query, Rows => $Rows, Page => $Page, Format => $FormatString );
-
-my $item = 0;
-foreach my $col (@Format) {
-    $item++;
-    if ( $col->{title} eq 'NEWLINE' ) {
-        while ( $item < $maxitems ) {
-            $m->out(qq{<th class="collection-as-table">&nbsp;</th>\n});
-            $item++;
-        }
-
-        $item = 0;
-        $m->out(qq{</TR>\n<TR class="collection-as-table">});
-    }
-    else {
-        $m->out('<TH class="collection-as-table">');
-        my $title = $col->{title};
-        $title =~ s/^__(.*)__$/$1/o;
-        $title = (
-            $m->comp(
-                '/Elements/RT__Ticket/ColumnMap',
-                Name => $title,
-                Attr => 'title'
-              )
-              || $title
-        );
-        if (
-               $AllowSorting
-            && $col->{'attribute'}
-            && $m->comp(
-                '/Elements/RT__Ticket/ColumnMap',
-                Name => $col->{'attribute'},
-                Attr => 'attribute'
-            )
-          )
-        {
-
-            $m->out(
-                '<a href="' . $BaseURL
-                  . $m->comp(
-                    '/Elements/QueryString',
-                    %generic_query_args,
-                    OrderBy => (
-                        $m->comp(
-                            '/Elements/RT__Ticket/ColumnMap',
-                            Name => $col->{'attribute'},
-                            Attr => 'attribute'
-                          )
-                          || $col->{'attribute'}
-                    ),
-                    Order => ( $ARGS{'Order'} eq 'ASC' ? 'DESC' : 'ASC' )
-                  )
-                  . '">'
-                  . loc($title) . '</a>'
-            );
-        }
-        else {
-            $m->out( loc($title) );
-        }
-        $m->out('</TH>');
-    }
-}
-</%perl>
-</TR>
diff --git a/rt/html/Elements/CollectionAsTable/ParseFormat b/rt/html/Elements/CollectionAsTable/ParseFormat
deleted file mode 100644 (file)
index 57434ef..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%ARGS>
-$Format
-</%ARGS>
-
-<%init>
-use Regexp::Common;
-my @Columns;
-
-while ($Format =~ /($RE{delimited}{-delim=>qq{\'"}}|[{}\w.]+)/go) {
-    my $col = $1;
-
-    if ($col =~ /^$RE{quoted}$/o) {
-        substr($col,0,1) = "";
-        substr($col,-1,1) = "";
-    }
-
-    my $colref;
-
-    if ( $col =~ s!/STYLE:([^/]+)!!io ) {
-        $colref->{'style'} = $1;
-    }
-    if ( $col =~ s!/CLASS:([^/]+)!!io ) {
-        $colref->{'class'} = $1;
-    }
-    if ( $col =~ s!/TITLE:([^/]+)!!io ) {
-        $colref->{'title'} = $1;
-    }
-    if ( $col =~ s!/ALIGN:([^\/]+)!!io ) {
-        $colref->{'align'} = $1;
-    }
-    if ( $col =~ /__(.*?)__/gio ) {
-        my @subcols;
-        while ( $col =~ s/^(.*?)__(.*?)__//o ) {
-            push ( @subcols, $1 ) if ($1);
-            push ( @subcols, "__$2__" );
-            $colref->{'attribute'} = $2;
-        }
-        push ( @subcols, $col );
-        @{ $colref->{'output'} } = @subcols;
-    }
-    else {
-        @{ $colref->{'output'} } = ( "__" . $col . "__" );
-        $colref->{'attribute'} = $col;
-    }
-    
-    if ( !$colref->{'title'} && grep { /^__(.*?)__$/io }
-        @{ $colref->{'output'} } )
-    {   
-        $colref->{'title'}     = $1;
-        $colref->{'attribute'} = $1;
-    }
-
-
-    push @Columns, $colref;
-}
-    return(@Columns);
-</%init>
diff --git a/rt/html/Elements/CollectionAsTable/Row b/rt/html/Elements/CollectionAsTable/Row
deleted file mode 100644 (file)
index 3316bc0..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%ARGS>
-$i => undef
-@Format => undef
-$record => undef
-$maxitems => undef
-$Depth => undef
-$Warning => undef
-</%ARGS>
-
-<%PERL>
-$m->out('<TR class="' . ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >' );
-my $item;
-foreach my $column (@Format) {
-    if ( $column->{title} eq 'NEWLINE' ) {
-        while ( $item < $maxitems ) {
-            $m->out(qq{<td class="collection-as-table">&nbsp;</td>\n});
-            $item++;
-        }
-        $item = 0;
-        $m->out('</TR>');
-        $m->out('<TR class="'
-              . ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' )
-              . '" >' );
-        next;
-    }
-    $item++;
-    $m->out('<td class="collection-as-table" ');
-    $m->out( 'align="' . $column->{align} . '"' ) if ( $column->{align} );
-    $m->out('>');
-    foreach my $subcol ( @{ $column->{output} } ) {
-        if ( $subcol =~ /^__(.*?)__$/o ) {
-            my $col   = $1;
-            my $value = $m->comp(
-                '/Elements/RT__Ticket/ColumnMap',
-                Name => $col,
-                Attr => 'value'
-            );
-            my @out;
-
-            if ( $value && ref($value) ) {
-
-                # All HTML snippets are returned by the callback function
-                # as scalar references.  Data fetched from the objects are
-                # plain scalars, and needs to be escaped properly.
-                @out =
-                    map {
-                        ref($_) ? $$_ : $m->interp->apply_escapes( $_ => 'h' )
-                      } &{$value}( $record, $i )
-                ;
-            }
-            else {
-
-                # Simple value; just escape it.
-                @out = $m->interp->apply_escapes( $value => 'h' );
-            }
-            s/\n/<br>/gs for @out;
-            $m->out( @out );
-        }
-        else {
-            $m->out($subcol);
-        }
-    }
-    $m->out('</td>');
-}
-$m->out('</TR>');
-</%PERL>
diff --git a/rt/html/Elements/CreateTicket b/rt/html/Elements/CreateTicket
deleted file mode 100644 (file)
index bd60bbd..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<FORM ACTION="<% $RT::WebPath %>/Ticket/Create.html" NAME="CreateTicketInQueue">
-<&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" value="New ticket in">&nbsp;[_1]</&>
-</FORM>
diff --git a/rt/html/Elements/EditCustomField b/rt/html/Elements/EditCustomField
deleted file mode 100644 (file)
index d2398c9..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%INIT>
-my $Values;
-if ($Object) {
-    $Values = $Object->CustomFieldValues($CustomField->id);
-    $Values->Columns( qw( id CustomField ObjectType ObjectId Disabled Content ContentType ContentEncoding ) );
-    $NamePrefix ||= join('-', 'Object', ref($Object), $Object->Id, 'CustomField', '');
-}
-my $Type = $CustomField->Type;
-
-return unless ($Type); # if we can't see the type, all hell will break loose.
-
-my $MaxValues = $CustomField->MaxValues;
-if ($MaxValues == 1 and $Object and $Values) {
-    # what exactly is this doing?  Without the "unless" it breaks RTFM
-    # transaction extraction into articles.
-    $Default = ($Values->First ? $Values->First->Content : '') unless $Default;
-    $Values->GotoFirstItem;
-}
-# The "Magic" hidden input causes RT to know that we were trying to edit the field, even if 
-# we don't see a value later, since browsers aren't compelled to submit empty form fields
-$m->out("\n".'<input type="hidden" name="'.$NamePrefix.$CustomField->Id.'-Values-Magic" value="1">'."\n");
-
-return $m->comp(
-    "EditCustomField$Type",
-    %ARGS,
-    Rows => $Rows,
-    Cols => $Cols,
-    Default => $Default,
-    Object => $Object,
-    Values => $Values,
-    MaxValues => $MaxValues,
-    Multiple => ($MaxValues != 1),
-    NamePrefix => $NamePrefix,
-    CustomField => $CustomField,
-);
-</%INIT>
-<%ARGS>
-$Object => undef
-$CustomField => undef
-$NamePrefix => undef
-$Rows => 5
-$Cols => 15
-$Default => undef
-</%ARGS>
diff --git a/rt/html/Elements/EditCustomFieldBinary b/rt/html/Elements/EditCustomFieldBinary
deleted file mode 100644 (file)
index 0028256..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% while ($Values and my $value = $Values->Next ) {
-%# XXX - let user download the file(s) here?
-<input type="checkbox" name="<%$NamePrefix%><%$CustomField->Id%>-DeleteValueIds" value="<% $value->Id %>"><a href="<%$RT::WebPath%>/Download/CustomFieldValue/<% $value->Id %>/<% $value->Content %>"><% $value->Content %></a><br>
-% }
-% if (!$MaxValues or !$Values or $Values->Count < $MaxValues) {
-<input type="file" name="<%$NamePrefix%><%$CustomField->Id%>-Upload">
-% }
-<%ARGS>
-$Object => undef
-$CustomField => undef
-$NamePrefix => undef
-$Default => undef
-$Values => undef
-$MaxValues => undef
-</%ARGS>
diff --git a/rt/html/Elements/EditCustomFieldFreeform b/rt/html/Elements/EditCustomFieldFreeform
deleted file mode 100644 (file)
index c097ee0..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($Multiple) {
-<textarea cols=<%$Cols%> rows=<%$Rows%> name="<%$NamePrefix%><%$CustomField->Id%>-Values"><%$Default%></textarea>
-% } else {
-<input name="<%$NamePrefix%><%$CustomField->Id%>-Value" size="<%$Cols%>" value="<%$Default ? $Default : ''%>">
-% }
-<%INIT>
-if ($Multiple and $Values) {
-    $Default = '';
-    while (my $value = $Values->Next ) {
-       $Default .= $value->Content."\n";
-    }
-}
-</%INIT>
-<%ARGS>
-$Object => undef
-$CustomField => undef
-$NamePrefix => undef
-$Default => undef
-$Values => undef
-$Multiple => undef
-$Cols
-$Rows
-</%ARGS>
diff --git a/rt/html/Elements/EditCustomFieldImage b/rt/html/Elements/EditCustomFieldImage
deleted file mode 100644 (file)
index b378cea..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% while ($Values and my $value = $Values->Next ) {
-<input type="checkbox" name="<%$NamePrefix%><%$CustomField->Id%>-DeleteValueIds" value="<% $value->Id %>"><& ShowCustomFieldImage, Object => $value &>
-<br>
-% }
-% if (!$MaxValues or !$Values or $Values->Count < $MaxValues) {
-<input type="file" name="<%$NamePrefix%><%$CustomField->Id%>-Upload">
-% }
-<%ARGS>
-$Object => undef
-$CustomField => undef
-$NamePrefix => undef
-$Default => undef
-$Values => undef
-$MaxValues => undef
-</%ARGS>
diff --git a/rt/html/Elements/EditCustomFieldSelect b/rt/html/Elements/EditCustomFieldSelect
deleted file mode 100644 (file)
index db33a68..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-      <select name="<%$NamePrefix%><%$CustomField->Id%>-Values"
-        size="<%$Rows%>"
-        <% $Multiple && 'MULTIPLE' %>>
-% my $selected;
-% my $CFVs = $CustomField->Values;
-% while ($CFVs and my $value = $CFVs->Next ) {
-        <option value="<%$value->Name%>" 
-% if ($Values) {
-            <% $Values->HasEntry($value->Name) && ($selected = 1) && 'SELECTED' %>
-% } elsif ($Default) {
-            <% ($Default eq $value->Name) && ($selected = 1) && 'SELECTED' %>
-% }
-            ><% $value->Name%></option>
-% }
-        <option value="" <% !$selected && 'SELECTED' %>><&|/l&>(no value)</&></option>
-      </select>
-<%ARGS>
-$Object => undef
-$CustomField => undef
-$NamePrefix => undef
-$Default => undef
-$Values => undef
-$Multiple => 0
-$Cols
-$Rows
-</%ARGS>
diff --git a/rt/html/Elements/EditCustomFieldText b/rt/html/Elements/EditCustomFieldText
deleted file mode 100644 (file)
index 1aac328..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% while ($Values and my $value = $Values->Next ) {
-<textarea cols=<%$Cols%> rows=<%$Rows%> name="<%$NamePrefix%><%$CustomField->Id%>-Values"><% $value->Content %></textarea><br>
-% }
-% if (!$MaxValues or !$Values or $Values->Count < $MaxValues) {
-<textarea cols=<%$Cols%> rows=<%$Rows%> name="<%$NamePrefix%><%$CustomField->Id%>-Values"><% $Default %></textarea>
-% }
-<%INIT>
-# XXX - MultiValue textarea is for now outlawed.
-$MaxValues = 1;
-</%INIT>
-<%ARGS>
-$Object => undef
-$CustomField => undef
-$NamePrefix => undef
-$Default => undef
-$Values => undef
-$MaxValues => undef
-$Cols
-$Rows
-</%ARGS>
diff --git a/rt/html/Elements/EditCustomFieldWikitext b/rt/html/Elements/EditCustomFieldWikitext
deleted file mode 100644 (file)
index 1aac328..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% while ($Values and my $value = $Values->Next ) {
-<textarea cols=<%$Cols%> rows=<%$Rows%> name="<%$NamePrefix%><%$CustomField->Id%>-Values"><% $value->Content %></textarea><br>
-% }
-% if (!$MaxValues or !$Values or $Values->Count < $MaxValues) {
-<textarea cols=<%$Cols%> rows=<%$Rows%> name="<%$NamePrefix%><%$CustomField->Id%>-Values"><% $Default %></textarea>
-% }
-<%INIT>
-# XXX - MultiValue textarea is for now outlawed.
-$MaxValues = 1;
-</%INIT>
-<%ARGS>
-$Object => undef
-$CustomField => undef
-$NamePrefix => undef
-$Default => undef
-$Values => undef
-$MaxValues => undef
-$Cols
-$Rows
-</%ARGS>
diff --git a/rt/html/Elements/EditLinks b/rt/html/Elements/EditLinks
deleted file mode 100755 (executable)
index 68c08dd..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE width=100%>
-  <TR>
-    <TD VALIGN=TOP WIDTH=50%>
-      <h3><&|/l&>Current Links</&></h3>
-
-<table>
-  <tr>
-    <td></td>
-    <td><i><&|/l&>(Check box to delete)</&></i></td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Depends on</&>:</td>
-    <td class="value">
-% while (my $link = $Object->DependsOn->Next) {
-      <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>" value="1">
-        <& ShowLink, URI => $link->TargetURI &><br>
-% }
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Depended on by</&>:</td>
-    <td class="value">
-% while (my $link = $Object->DependedOnBy->Next) {
-% my $member = $link->BaseObj;
-      <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-" value="1">
-        <& ShowLink, URI => $link->BaseURI &><br>
-% }
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Parents</&>:</td>
-    <td class="value">
-% while (my $link = $Object->MemberOf->Next) {
-      <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>" value="1">
-        <& ShowLink, URI => $link->TargetURI &><br>
-% }
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Children</&>:</td>
-    <td class="value">
-% while (my $link = $Object->Members->Next) {
-      <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-" value="1">
-        <& ShowLink, URI => $link->BaseURI &><br>
-% }
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Refers to</&>:</td>
-    <td class="value">
-% while (my $link = $Object->RefersTo->Next) {
-      <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>" value="1">
-        <& ShowLink, URI => $link->TargetURI &><br>
-%}
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Referred to by</&>:</td>
-    <td class="value">
-% while (my $link = $Object->ReferredToBy->Next) {
-      <INPUT TYPE=CHECKBOX NAME="DeleteLink-<%$link->Base%>-<%$link->Type%>-" value="1">
-        <& ShowLink, URI => $link->BaseURI &><br>
-% }
-    </td>
-  </tr>
-</table>
-                           
-</TD>
-<TD VALIGN=TOP>
-<h3><&|/l&>New Links</&></h3>
-% if (ref($Object) eq 'RT::Ticket') {
-<i><&|/l&>Enter tickets or URIs to link tickets to. Separate multiple entries with spaces.</&>
-<& /Elements/Callback, _CallbackName => 'ExtraLinkInstructions' &>
-</i><br>
-% } elsif (ref($Object) eq 'RT::Queue') {
-<i><&|/l&>Enter queues or URIs to link queues to. Separate multiple entries with spaces.</&>
-</i><br>
-% } else {
-<i><&|/l&>Enter objects or URIs to link objects to. Separate multiple entries with spaces.</&></i><br>
-% }
-<TABLE>
-% if ($Merge) {
-  <TR>
-    <TD class="label"><&|/l&>Merge into</&>:</TD>
-    <TD class="entry"><input name="<%$id%>-MergeInto"> <i><&|/l&>(only one ticket)</&></i></TD>
-  </TR>
-% }
-  <TR>
-    <TD class="label"><&|/l&>Depends on</&>:</TD>
-    <TD class="entry"><input name="<%$id%>-DependsOn"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Depended on by</&>:</TD>
-    <TD class="entry"><input name="DependsOn-<%$id%>"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Parents</&>:</TD>
-    <TD class="entry"><input name="<%$id%>-MemberOf"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Children</&>:</TD>
-    <TD class="entry"> <input name="MemberOf-<%$id%>"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Refers to</&>:</TD>
-    <TD class="entry"><input name="<%$id%>-RefersTo"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Referred to by</&>:</TD>
-    <TD class="entry"> <input name="RefersTo-<%$id%>"></TD>
-  </TR>
-</TABLE>
-</TD>
-</TR>
-</TABLE>
-
-<%INIT>
-my $id;
-if ($Object && $Object->Id) {
-    $id = $Object->Id;
-} else {
-    $id = 'new';
-}
-</%INIT>
-      
-<%ARGS>
-$Object => undef
-$Merge => 0
-</%ARGS>
diff --git a/rt/html/Elements/Error b/rt/html/Elements/Error
deleted file mode 100644 (file)
index bc5a188..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Callback, %ARGS, error => $error &>
-<& /Elements/Header, Code => $Code, Why => $Why &>
-<& /Elements/Tabs &>
-<& /Elements/TitleBoxStart, class=> "error",  title => $Title &>
-<%$Why%>
-<br>
-<font size=-1>
-<%$Details%>
-</font>
-<& /Elements/TitleBoxEnd &>
-
-<%cleanup>
-$m->comp('/Elements/Footer');
-$m->abort();
-</%cleanup>
-
-<%args>
-$Code => undef
-$Details => undef
-$Title => loc("RT Error")
-$Why => loc("the calling component did not specify why")
-</%args>
-
-<%INIT>
-my $error = "WebRT: $Why ($Details)";
-
-# TODO: Log::Dispatch isn't UTF-8 safe. Autrijus needs to talk to dave rolsky about getting this fixed
-if ($] >= 5.007001) {
-    require Encode;
-    Encode::_utf8_off($error);
-}
-
-$RT::Logger->error($error);
-
-if ( $session{'SessionType'} eq 'REST' ) {
-    $r->content_type('text/plain');
-    $m->out( "Error: " . $Why . "\n" );
-    $m->out( $Details . "\n" );
-    $m->abort();
-}
-</%INIT>
diff --git a/rt/html/Elements/Footer b/rt/html/Elements/Footer
deleted file mode 100644 (file)
index 78a116f..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($Menu) {
-</td>
-</tr>
-<tr>
-<td>
-% }
-<& /Elements/Callback, %ARGS &>
-<!--
-<div class="bpscredits">
-<&|/l,     '&#187;&#124;&#171;', $RT::VERSION, '2005', '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>', &>[_1] RT [_2] Copyright 1996-[_3] [_4].</&><br>
-% if (!$Menu) {
-<&|/l&>Distributed under version 2 <a href="http://www.gnu.org/copyleft/gpl.html"> of the GNU GPL.</a></&><br>
-<&|/l, '<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>' &>To inquire about support, training, custom development or licensing, please contact [_1].</&><br>
-% }
-</div>
--->
-% if ($Debug >= 2 ) {
-% require Data::Dumper;
-% my $d = Data::Dumper->new([\%ARGS], [qw(%ARGS)]);
-<pre>
-<%$d->Dump() %>
-</pre>
-% }
-<div class="page-stats"><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%></div>
-% if ($Menu) {
-</TD>
-</TR>
-</TABLE>
-</TD>
-</TR>
-</TABLE>
-% }
-</BODY>
-</HTML>
-% $m->abort();
-
-<%ARGS>
-$Debug => 0
-$Menu => 1
-</%ARGS>
diff --git a/rt/html/Elements/GotoTicket b/rt/html/Elements/GotoTicket
deleted file mode 100644 (file)
index 869d57e..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<FORM ACTION="<%$RT::WebPath%>/Ticket/Display.html"><input type=submit value="<&|/l&>Goto ticket</&>">&nbsp;<input size=5 name=id accesskey="0"></FORM>
diff --git a/rt/html/Elements/Header b/rt/html/Elements/Header
deleted file mode 100644 (file)
index a2563fe..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%#<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<HTML>
-<HEAD>
-<TITLE><%$Title%></TITLE>
-% if ($Refresh > 0) {
-<META HTTP-EQUIV="REFRESH" CONTENT="<%$Refresh%>">
-% }
-
-<link rel="shortcut icon" href="<%$RT::WebImagesURL%>/favicon.png" type="image/png">
-<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/webrt.css" type="text/css">
-<script>
-function hideshow(num) {
-    idstring = "element-" + num;
-    chunk = document.getElementById(idstring);
-    if ( chunk.style.display == "none")  {
-    chunk.style.display = chunk.style.tag;
-    } else {
-        chunk.style.tag = chunk.style.display;
-        chunk.style.display = "none";
-    }
-}   
-</script>
-<& /Elements/Callback, _CallbackName => 'Head', %ARGS &>
-</HEAD>
-<BODY BGCOLOR="<%$BgColor%>"
-% if ($Focus) {
-ONLOAD="
-    var tmp = (document.getElementsByName('<% $Focus %>'));
-    if (tmp.length > 0) tmp[tmp.length-1].focus();
-"
-% }
->
-<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
-  <tr> 
-    <td colspan=2 rowspan=2><img border=0 alt="freeside" src="<%$RT::WebImagesURL%>/small-logo.png" width="92" height="62"></td>
-    <td align="left" rowspan=2><font size=6><% &RT::URI::freeside::FreesideGetConfig('company_name') %> Ticketing</font></td>
-    <td align="right" valign="top">
-% if ($session{'CurrentUser'} && $session{'CurrentUser'}->Id && $LoggedIn) {
-<SPAN STYLE="display: none"><A HREF="#skipnav"><&|/l&>Skip Menu</&></A> |</SPAN>
-%if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', Object => $RT::System )) {
-<A  HREF="<%$RT::WebPath%><% $Prefs %>" ><&|/l&>Preferences</&></A>
-% }
-<& /Elements/Callback, %ARGS &>
-% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-| <A  HREF="<%$RT::WebPath%>/NoAuth/Logout.html<%$URL ? "?URL=".$URL : ''%>"><&|/l&>Logout</&></a>
-% }
-<BR>
-<&|/l, "<b>".$session{'CurrentUser'}->Name."</b>" &>Logged in as [_1]</&>
-% } else {
-<&|/l&>Not logged in.</&>
-% }
-    </td>
-
-  </tr>
-  <tr>
-
-    <td align=right valign=bottom>
-      <table>
-        <tr>
-          <td align=right>
-            <FONT SIZE="-3">
-              <A HREF="http://www.sisd.com/freeside">Freeside</A>&nbsp;v<% &RT::URI::freeside::FreesideVersion() %><BR>
-             <A HREF="../docs/">Documentation</A><BR>
-            </FONT>
-          </td>
-          <td bgcolor=#000000></td>
-          <td align=left>
-            <FONT SIZE="-3">
-             <A HREF="http://www.bestpractical.com/rt">RT</A>&nbsp;v<% $RT::VERSION %><BR>
-             <A HREF="http://wiki.bestpractical.com/">Documentation</A><BR>
-            </FONT>
-          </td>
-
-        </tr>
-      </table>
-    </td>
-
-  </tr>
-</table>
-<%INIT>
-
-$r->headers_out->{'Pragma'} = 'no-cache';
-$r->headers_out->{'Cache-control'} = 'no-cache';
-require RT::URI::freeside;
-</%INIT>
-
-<%ARGS>
-$Prefs => '/User/Prefs.html'
-$Focus => 'focus'
-$Title =>  'RT'
-$Code => undef
-$Refresh => 0
-$Why => undef
-$BgColor => '#ffffff'
-$ShowBar => 1
-$LoggedIn => 1
-$URL => undef
-</%ARGS>
diff --git a/rt/html/Elements/ListActions b/rt/html/Elements/ListActions
deleted file mode 100644 (file)
index 8433d17..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($actions[0] ) {
-<& /Elements/TitleBoxStart, title => loc('Results') &>
-<UL>
-% foreach my $action (@actions) {
-% next unless ($action);
-% my $skip = 0;
-% $m->comp('/Elements/Callback', _CallbackName => 'ModifyRow', row => \$action, skip => \$skip, %ARGS);
-% next if $skip;
-<LI><%$action%></LI>
-% }
-</UL>
-<& /Elements/TitleBoxEnd &>
-<BR>
-% }
-<%init>
-@actions = grep (/./,@actions);
-</%init>
-<%ARGS>
-@actions => undef
-</%ARGS>
diff --git a/rt/html/Elements/Login b/rt/html/Elements/Login
deleted file mode 100644 (file)
index 1d4bfd5..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%INIT>
-if ($m->request_comp->path =~ '^/REST/\d+\.\d+/') {
-    $r->content_type("text/plain");
-    $m->error_format("text");
-    $m->out("RT/$RT::VERSION 401 Credentials required\n");
-    $m->out("\n$Error\n") if $Error;
-    $m->abort;
-}
-</%INIT>
-
-<& /Elements/Callback, %ARGS, _CallbackName => 'Header' &>
-<& /Elements/Header, Title => loc('Login'), Focus => 'user' &>
-
-<DIV ALIGN=CENTER>
-% if ($Error) {
-<& /Elements/TitleBoxStart, title => loc('Error') &>
-<% $Error %>
-<& /Elements/TitleBoxEnd &>
-% }
-<BR>
-<& /Elements/TitleBoxStart, width=> "40%", titleright => loc("RT [_1]", $RT::VERSION), title => loc('Login') ,
-contentbg=>"#cccccc" &>
-
-% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-<FORM id="login" name="login" METHOD=POST ACTION="<% (UNIVERSAL::can($r, 'uri') && ($r->uri) =~ m!.*/(.*)!) %>" >
-<TABLE BORDER=0 WIDTH=100%>
-<TR ALIGN=RIGHT>
-<TD ALIGN=RIGHT><&|/l&>Username</&>:</TD><TD ALIGN=LEFT><input name=user value="<%$user%>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Password</&>:</TD><TD ALIGN=LEFT><input type=password name=pass></TD></TR>
-<TR><TD colspan=2 align=right>
-<input type=submit Value="<&|/l&>Login</&>">
-</TD></TR>
-</TABLE>
-
-%# Give callbacks a chance to add more control elements
-<& /Elements/Callback, %ARGS &>
-
-<&/Elements/TitleBoxEnd&>
-% # From mason 1.0.1 forward, this doesn't work. in fact, it breaks things.
-% # But on Mason 1.15 it's fixed again, so we still use it.
-% # The code below iterates through everything in the passed in arguments
-% # Preserving all the old parameters
-% # This would be easier, except mason is 'smart' and calls multiple values
-% # arrays rather than multiple hash keys
-% my $key; my $val;
-% foreach $key (keys %ARGS) {
-%  if (($key ne 'user') and ($key ne 'pass')) {
-%      if (ref($ARGS{$key}) =~ /ARRAY/) {
-%              foreach $val (@{$ARGS{$key}}) {
-<input type=hidden name="<%$key %>" value="<% $val %>">
-%              }
-%      }
-%      else {
-<input type="hidden" name="<% $key %>" value="<% $ARGS{$key} %>">
-%      }
-%  }
-% }
-</FORM>
-% }
-</DIV>
-
-<BR>
-<!-- TODO: not yet implemented
-If you've forgotten your username or password, RT can <A
-href="/NoAuth/Reminder.html">send you a reminder</a>.
--->
-<BR>
-<BR>
-<BR>
-<HR>
-<& /Elements/Footer, Menu => 0 &>
-<%ARGS>
-$user => ""
-$pass => undef
-$goto => undef
-$Error => undef
-</%ARGS>
diff --git a/rt/html/Elements/Menu b/rt/html/Elements/Menu
deleted file mode 100644 (file)
index 398e3ab..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# font size depends on level
-% if ($level ge 3) {
-%   $size = $basesize-(6);
-% } elsif ($level gt 0) {
-%   $size = $basesize-($level * 2);
-%   $padding = 2;
-% }
-%  else {
-%   $size = $basesize;
-%   $padding = 5;
-% }
-<ul class="topnav" >
-% my $sep=0;
-% my $accesskey="1";
-% foreach $tab (sort keys %{$toptabs}) {
-% my $current = $current_toptab || "";
-% my $path = $toptabs->{$tab}->{'path'} || "";
-% $path =~ s#/index.html$##gi;
-% $current =~ s#/index.html$##gi;
-% if ( $path eq $current) {
-%     $class="currenttopnav"
-% } else {
-%     $class="topnav"
-% } 
-% my $style="";
-% if ($sep) {
-% $style="minor";
-% } elsif ($level == 0 ) {
-% $style="major";
-% }
-% if ($toptabs->{$tab}->{'separator'}) {
-% $sep=1;
-% } else {
-% $sep=0;
-% }
-% my $url = $toptabs->{$tab}->{'path'} =~ /^https?:/i ? $toptabs->{$tab}->{'path'} : $RT::WebPath . "/" . $toptabs->{$tab}->{'path'};
-<li class="<%$class%>-<%$level%>-<%$style%>"><A HREF="<% $url %>" class="<%$class%>-<%$level%>" 
-<%($class eq 'currenttopnav') ? "name='focus'" : ""|n %> 
-<% !$level && "accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></A>
-%# Second-level items
-%# if ($current_toptab eq $toptabs->{$tab}->{'path'}) {
-%# commented out by jesse on 4 jan 2003 so that tickets/search and ticket/# can
-%# both have menu items
-% if ($toptabs->{$tab}->{'subtabs'}) {
-        <& /Elements/Menu, level => $level+1, 
-                current_toptab => $toptabs->{$tab}->{'current_subtab'},
-                toptabs => $toptabs->{$tab}->{'subtabs'} &></li>
-% }
-%# }
-% }
-</ul>
-
-<%INIT>
-my ($tab, $subtab, $class, $size, $padding);
-my $basesize=16;
-
-</%INIT>
-
-<%ARGS>
-$current_toptab => ""
-$toptabs => undef
-$level => 0
-</%ARGS>
diff --git a/rt/html/Elements/MessageBox b/rt/html/Elements/MessageBox
deleted file mode 100644 (file)
index dd48bec..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<textarea class="messagebox" COLS=<%$Width%> ROWS=<%$Height%> WRAP=<%$Wrap%> NAME="<%$Name%>"><& /Elements/Callback, %ARGS &><% $Default %><%$message%><%$IncludeSignature ? $signature : ''%></textarea>
-<%INIT>
-
-my ($message);
-
-if ($QuoteTransaction) {
-    my $transaction=RT::Transaction->new($session{'CurrentUser'});
-    $transaction->Load($QuoteTransaction);
-    $message=$transaction->Content(Quote => 1);
-}
-
-my $signature = '';
-if ($IncludeSignature && $session{'CurrentUser'}->UserObj->Signature) {
-       $signature = "-- \n".$session{'CurrentUser'}->UserObj->Signature;
-}
-
-</%INIT>
-<%ARGS>
-$QuoteTransaction => undef
-$Name => 'Content'
-$Default => ''
-$Width => $RT::MessageBoxWidth || 72
-$Height => $RT::MessageBoxHeight || 15
-$Wrap => $RT::MessageBoxWrap || 'HARD'
-$IncludeSignature => 1
-</%ARGS>
-
diff --git a/rt/html/Elements/MyRequests b/rt/html/Elements/MyRequests
deleted file mode 100644 (file)
index 172b4a4..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<&|/Elements/TitleBox, 
-        title => loc("[_1] newest unowned tickets", $rows),
-       title_href => "Search/Results.html".$QueryString &>
-<& /Elements/TicketList, 
-        Format => "'<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', QueueName, ExtendedStatus, CreatedRelative, '<A HREF=\"$RT::WebPath/Ticket/Display.html?Action=Take&id=__id__\">".loc('Take')."</a>/TITLE:&nbsp;' ",
-        Query => $Query,
-        OrderBy => 'Created',
-        Order => 'DESC',
-        ShowNavigation => 0,
-        Rows => $rows
-
-        &>
-</&>
-<%init>
-my $rows = $RT::MyRequestsLength;
-
-my $Query = "Owner = 'Nobody' AND ( Status = 'new' OR Status = 'open')";
-
-my $QueryString = "";
-$QueryString = '?' . $m->comp('/Elements/QueryString', 
-                              Query => $Query,
-                              Order => 'DESC',
-                              OrderBy => 'Priority') if ($Query);
-
-</%init>
diff --git a/rt/html/Elements/MyTickets b/rt/html/Elements/MyTickets
deleted file mode 100644 (file)
index cf5225a..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<&|/Elements/TitleBox, 
-       title => loc('[_1] highest priority tickets I own', $rows),
-       title_href => "Search/Results.html".$QueryString &>
-<& /Elements/TicketList, 
-        Format => "'<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', Priority, QueueName, ExtendedStatus",
-
-        Query => $Query,
-        OrderBy => 'Priority',
-        Order => 'DESC',
-        Rows => $rows,
-        ShowNavigation => 0
-        &>
-</&> 
-<%init>
-my $rows = $RT::MyTicketsLength;
-
-my $Query = " Owner = '".$session{'CurrentUser'}->Id."' AND ( Status = 'new' OR Status = 'open')";
-
-my $QueryString = "";
-$QueryString = '?' . $m->comp('/Elements/QueryString', 
-                              Query => $Query,
-                              Order => 'DESC',
-                              OrderBy => 'Priority') if ($Query);
-
-</%init>
-
diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout
deleted file mode 100644 (file)
index 94bdbe1..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table class="lightgray" border=0 cellspacing=0 cellpadding=0 width="100%">
-  <th class="lightgray" align="left" width=42%><span class="rtname"><%$AppName%></span>
-  </th>
-      <span class="topactions">
-% foreach my $action (sort keys %{$topactions}) {
-        <td class="lightgrayright">
-        <%$topactions->{"$action"}->{'html'} |n %>
-        </td>
-% }
-      </span>
-</table>
-<table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%">
-%# Vertical menu
-<TR height="100%">
-<TD valign="top" width="140" class="lightgray">
-          <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
-</TD>
-<td valign="top">
-<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
-<tr>
-  <td class="mediumgray" valign="top">
-    <span class="title"><%$title%></span>
-</td>
-</tr>
-<tr>
-<td class="mediumgrayright" valign="top">
-    <span class="nav"> 
-% if ($actions) {
-% my @actions;
-% foreach my $action (sort keys %{$actions}) {
-% if ($actions->{"$action"}->{'html'}) {
-% push @actions, $actions->{"$action"}->{'html'}; 
-% } else {
-% push @actions,  qq|<a class="nav" href="|.$RT::WebPath."/".$actions->{$action}->{'path'}.qq|">|.$actions->{$action}->{'title'}."</a>";
-% }
-%  }
-%#<% join(" | ", @actions) | n %>
-<% '['. join("] [", @actions). ']' | n %>
-% if ($subactions) {
-% my @actions;
-% foreach my $action (sort keys %{$subactions}) {
-% push @actions, $subactions->{"$action"}->{'html'}; 
-%  }
-<% join(" | ", @actions) | n %>
-% }
-% }
-    </span>
-  </td>
-</tr>
-<TR valign="top">
-<TD valign="top" width="100%" height="100%" class="mainbody" >
-<& /Elements/Callback, _CallbackName => 'BeforeBody',  %ARGS &>
-%$m->flush_buffer(); # we've got the page laid out, let's flush the buffer;
-<%INIT>
-
-  foreach my $tab (sort keys %{$toptabs}) {
-    if ($current_toptab && $toptabs->{$tab}->{'path'} eq $current_toptab) {
-      $toptabs->{$tab}->{"subtabs"} = $tabs;
-      $toptabs->{$tab}->{"current_subtab"} = $current_tab;
-    }
-  }
-
-if (! defined($AppName)) {
-  $AppName = loc("RT for [_1]", $RT::rtname);
-}
-
-</%INIT>
-<%ARGS>
-$current_toptab => undef
-$current_tab => undef
-$toptabs => undef
-$topactions => undef
-$tabs => undef
-$actions => undef
-$subactions => undef
-$title => $m->callers(-1)->path
-$AppName => ''
-</%ARGS>
diff --git a/rt/html/Elements/QueryString b/rt/html/Elements/QueryString
deleted file mode 100644 (file)
index 7d41f15..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-my @params;
-while ( (my $key, my $value) = each %ARGS ){
-       push @params, $key."=".$m->interp->apply_escapes($value,'u');
-}
-return(join('&',@params));
-</%init>
diff --git a/rt/html/Elements/QuickCreate b/rt/html/Elements/QuickCreate
deleted file mode 100644 (file)
index 0d2489c..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc('Quick ticket creation') &>
-<form method="post" action="<%$RT::WebPath%>/index.html">
-<input type="hidden" name="QuickCreate" value="1">
-<table>
-<tr>
-<td>
-<font size="-2"><&|/l&>Subject</&>:<br><input size="15" name="Subject"></font>
-</td>
-<td>
-<font size="-2"><&|/l&>Queue</&>:<br><& /Elements/SelectQueue, Name => 'Queue', ShowNullOption => 0 &></font>
-</td>
-<td>
-<font size="-2"><&|/l&>Owner</&>:<br>
-<select type="select" name="Owner">  
-<option value="<%$session{'CurrentUser'}->id%>" SELECTED><%$session{'CurrentUser'}->Name %></option>
-<option value="<%$RT::Nobody->id%>"><%loc('Nobody')%></option>
-</select>
-</font>
-</td>
-</tr>
-%#<tr><td colspan="3"><font size="-2"><textarea cols="50" rows="3"></textarea></font></td></tr>
-</table>
-<div align="right"><input type="submit" value="<%loc('Create')%>"></div>
-</form>
-<& /Elements/TitleBoxEnd &>
diff --git a/rt/html/Elements/Quicksearch b/rt/html/Elements/Quicksearch
deleted file mode 100644 (file)
index d54f72e..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc("Quick search"), bodyclass => "" &>
-
-<TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH=100%>                       
-<tr>                                                                          
-       <th class="collection-as-table" align=left><&|/l&>Queue</&></th>                                         
-       <th class="collection-as-table" align=right><&|/l&>New</&></th>
-       <th class="collection-as-table" align=right><&|/l&>Open</&></th>          
-</tr>
-
-<%PERL>
-my $i;
-while (my $queue = $Queues->Next) {
-  next unless ($queue->CurrentUserHasRight('ShowTicket'));
-
-  my $name = $queue->Name;
-  $name =~ s|(['\\])|\\$1|g;
-  
-  my $new_q = "Queue = '$name' AND Status = 'new'";
-  my $open_q = "Queue = '$name' AND Status = 'open'";
-  my $all_q = "Queue = '$name' AND (Status = 'open' OR Status = 'new')";
-
-  $Tickets->FromSQL($open_q);
-  my $open = $Tickets->Count();
-
-  $Tickets->FromSQL($new_q);
-  my $new = $Tickets->Count();
-
-  $i++;
-</%PERL>
-<TR class="<% $i%2 ? 'oddline' : 'evenline'%>" >                                
-<td><A HREF="<% $RT::WebPath%>/Search/Results.html?Query=<%$all_q |nu%>&Rows=50" TITLE="<% $queue->Description %>"><%$queue->Name%></a></TD>
-<td align="right"><A HREF="<% $RT::WebPath%>/Search/Results.html?Query=<%$new_q |nu%>&Rows=50"><%$new%></a></TD>
-<td align="right"><A HREF="<% $RT::WebPath%>/Search/Results.html?Query=<%$open_q |nu%>&Rows=50"><%$open%></a></TD>
-</TR>
-% }
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-
-<%INIT>
-my $Queues = RT::Queues->new($session{'CurrentUser'}); 
-$Queues->UnLimit();
-my $Tickets = RT::Tickets->new($session{'CurrentUser'});
-</%INIT>
diff --git a/rt/html/Elements/RT__Ticket/ColumnMap b/rt/html/Elements/RT__Ticket/ColumnMap
deleted file mode 100644 (file)
index dade914..0000000
+++ /dev/null
@@ -1,300 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%ARGS>
-$Name => undef
-$Attr => undef
-</%ARGS>
-
-
-<%ONCE>
-our ( $COLUMN_MAP );
-
-sub ColumnMap {
-    my $name = shift;
-    my $attr = shift;
-
-    # First deal with the simple things from the map
-    if ( $COLUMN_MAP->{$name} ) {
-        return ( $COLUMN_MAP->{$name}->{$attr} );
-    }
-
-    # now, let's deal with harder things, like Custom Fields
-
-    elsif ( $name =~ /^(?:CF|CustomField)\.\{(.+)\}$/ ) {
-        my $field = $1;
-
-        if ( $attr eq 'attribute' ) {
-            return (undef);
-        }
-        elsif ( $attr eq 'title' ) {
-            return ( $field );
-        }
-        elsif ( $attr eq 'value' ) {
-           # Display custom field contents, separated by newlines.
-            # For Image custom fields we also show a thumbnail here.
-            return sub {
-                my $values = $_[0]->CustomFieldValues($field);
-                return map {
-                    (
-                        ($_->CustomFieldObj->Type eq 'Image')
-                            ? \($m->scomp( '/Elements/ShowCustomFieldImage', Object => $_ ))
-                            : $_->Content
-                    ),
-                    \'<br>',
-                } @{ $values->ItemsArrayRef }
-           };
-        }
-    }
-}
-
-sub LinkCallback {
-    my $method = shift;
-
-    my $mode            = $RT::Ticket::LINKTYPEMAP{$method}{Mode};
-    my $type            = $RT::Ticket::LINKTYPEMAP{$method}{Type};
-    my $mode_uri        = $mode.'URI';
-    my $local_type      = 'Local'.$mode;
-
-    return sub {
-        map {
-            \'<A HREF="',
-            $_->$mode_uri->Resolver->HREF,
-            \'">',
-            ( $_->$mode_uri->IsLocal ? $_->$local_type : $_->$mode ),
-            \'</A><BR>',
-        } @{ $_[0]->Links($mode,$type)->ItemsArrayRef }
-    }
-}
-
-$COLUMN_MAP = {
-    QueueName => {
-        attribute => 'Queue',
-        title     => 'Queue',
-        value     => sub { return $_[0]->QueueObj->Name }
-    },
-    OwnerName => {
-        title     => 'Owner',
-        attribute => 'Owner',
-        value     => sub { return $_[0]->OwnerObj->Name }
-    },
-    id => {
-        attribute => 'id',
-        align     => 'right',
-        value     => sub { return $_[0]->id }
-    },
-    Status => {
-        attribute => 'Status',
-        value     => sub { return loc($_[0]->Status) }
-    },
-    Subject => {
-        attribute => 'Subject',
-        value => sub { return $_[0]->Subject || "(" . loc('No subject') . ")" }
-    },
-    ExtendedStatus => {
-        title     => 'Status',
-        attribute => 'Status',
-        value     => sub {
-            my $Ticket = shift;
-
-            if ( $Ticket->HasUnresolvedDependencies ) {
-                if (   $Ticket->HasUnresolvedDependencies( Type => 'approval' )
-                    or $Ticket->HasUnresolvedDependencies( Type => 'code' ) )
-                {
-                    return \'<em>', loc('(pending approval)'), \'</em>';
-                }
-                else {
-                    return \'<em>', loc('(pending other Collection)'), \'</em>';
-                }
-            }
-            else {
-                return loc( $Ticket->Status );
-            }
-
-          }
-    },
-    Priority => {
-        attribute => 'Priority',
-        value     => sub { return $_[0]->Priority }
-    },
-    InitialPriority => {
-        attribute => 'InitialPriority',
-        name => 'Initial Priority',
-        value     => sub { return $_[0]->InitialPriority }
-    },
-    FinalPriority => {
-        attribute => 'FinalPriority',
-        name => 'Final Priority',
-        value     => sub { return $_[0]->FinalPriority }
-    },
-    EffectiveId => {
-        attribute => 'EffectiveId',
-        value     => sub { return $_[0]->EffectiveId }
-    },
-    Type => {
-        attribute => 'Type',
-        value     => sub { return $_[0]->Type }
-    },
-    TimeWorked => {
-        attribute => 'TimeWorked',
-        title => 'Time Worked',
-        value     => sub { return $_[0]->TimeWorked }
-    },
-    TimeLeft => {
-        attribute => 'TimeLeft',
-        title     => 'Time Left',
-        value     => sub { return $_[0]->TimeLeft }
-    },
-    TimeEstimated => {
-        attribute => 'TimeEstimated',
-        title => 'Time Estimated',
-        value     => sub { return $_[0]->TimeEstimated }
-    },
-    Requestors => {
-        value => sub { return $_[0]->Requestors->MemberEmailAddressesAsString }
-    },
-    Cc => {
-        value => sub { return $_[0]->Cc->MemberEmailAddressesAsString }
-    },
-    AdminCc => {
-        value => sub { return $_[0]->AdminCc->MemberEmailAddressesAsString }
-    },
-    StartsRelative => {
-        title     => 'Starts',
-        attribute => 'Starts',
-        value     => sub { return $_[0]->StartsObj->AgeAsString }
-    },
-    StartedRelative => {
-        title     => 'Started',
-        attribute => 'Started',
-        value     => sub { return $_[0]->StartedObj->AgeAsString }
-    },
-    CreatedRelative => {
-        title     => 'Created',
-        attribute => 'Created',
-        value     => sub { return $_[0]->CreatedObj->AgeAsString }
-    },
-    LastUpdatedRelative => {
-        title     => 'Last Updated',
-        attribute => 'LastUpdated',
-        value     => sub { return $_[0]->LastUpdatedObj->AgeAsString }
-    },
-    ToldRelative => {
-        title     => 'Told',
-        attribute => 'Told',
-        value     => sub { return $_[0]->ToldObj->AgeAsString }
-    },
-    DueRelative => {
-        title     => 'Due',
-        attribute => 'Due',
-        value     => sub { 
-           my $date = $_[0]->DueObj;
-           if ($date && $date->Unix > 0 && $date->Unix < time()) {
-               return (\'<span class="overdue">' , $date->AgeAsString , \'</span>');
-           } else {
-               return $date->AgeAsString;
-           }
-       }
-    },
-    ResolvedRelative => {
-        title     => 'Resolved',
-        attribute => 'Resolved',
-        value     => sub { return $_[0]->ResolvedObj->AgeAsString }
-    },
-    Starts => {
-        attribute => 'Starts',
-        value     => sub { return $_[0]->StartsObj->AsString }
-    },
-    Started => {
-        attribute => 'Started',
-        value     => sub { return $_[0]->StartedObj->AsString }
-    },
-    Created => {
-        attribute => 'Created',
-        value     => sub { return $_[0]->CreatedObj->AsString }
-    },
-    CreatedBy => {
-        attribute => 'CreatedBy',
-        title => 'Created By',
-        value     => sub { return $_[0]->CreatorObj->Name }
-    },
-    LastUpdated => {
-        attribute => 'LastUpdated',
-        title     => 'Last Updated',
-        value     => sub { return $_[0]->LastUpdatedObj->AsString }
-    },
-    LastUpdatedBy => {
-        attribute => 'LastUpdatedBy',
-        title     => 'Last Updated By',
-        value     => sub { return $_[0]->LastUpdatedByObj->Name }
-    },
-    Told => {
-        attribute => 'Told',
-        value     => sub { return $_[0]->ToldObj->AsString }
-    },
-    Due => {
-        attribute => 'Due',
-        value     => sub { return $_[0]->DueObj->AsString }
-    },
-    Resolved => {
-        attribute => 'Resolved',
-        value     => sub { return $_[0]->ResolvedObj->AsString }
-    },
-
-    # Everything from LINKTYPEMAP
-    (map {
-        $_ => { value => LinkCallback( $_ ) }
-    } keys %RT::Ticket::LINKTYPEMAP),
-
-    '_CLASS' => {
-        value => sub { return $_[1] % 2 ? 'oddline' : 'evenline' }
-    },
-
-};
-</%ONCE>
-<%init>
-$m->comp( '/Elements/Callback', COLUMN_MAP    => $COLUMN_MAP, _CallbackName => 'ColumnMap');
-return ColumnMap($Name, $Attr);
-</%init>
diff --git a/rt/html/Elements/Refresh b/rt/html/Elements/Refresh
deleted file mode 100644 (file)
index 9f241d2..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-<OPTION VALUE="-1"
-%unless ($Default) {
- SELECTED
-%}
-><&|/l&>Don't refresh this page.</&></OPTION>
-%foreach my $value (@refreshevery) {
-<OPTION VALUE="<%$value%>"
-% if  ( $Default && ($value == $Default)) {
-SELECTED 
-% }
-><&|/l, $value/60 &>Refresh this page every [_1] minutes.</&></OPTION>
-%}
-</SELECT>
-
-<%INIT>
-my @refreshevery = qw(120 300 600 1200 3600 7200);
-</%INIT>
-<%ARGS>
-$Name => undef
-$Default => 0
-</%ARGS>
diff --git a/rt/html/Elements/ScrubHTML b/rt/html/Elements/ScrubHTML
deleted file mode 100644 (file)
index 94a7299..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-my $scrubber = HTML::Scrubber->new();
-
-$scrubber->default(
-    0,
-    {
-        '*'    => 0,
-        id     => 1,
-        class  => 1,
-        href   => qr{^(?:http:|ftp:|https:|/)}i, 
-        # Match http, ftp and relative urls
-        face   => 1,
-        size   => 1,
-        target => 1
-    }
-);
-
-$scrubber->deny(qw[*]);
-$scrubber->allow(
-    qw[A B U P BR I HR BR SMALL EM FONT SPAN DIV UL OL LI DL DT DD]);
-$scrubber->comment(0);
-return ( $scrubber->scrub($Content) );
-</%init>
-<%args>
-$Content => undef
-</%args>
diff --git a/rt/html/Elements/Section b/rt/html/Elements/Section
deleted file mode 100644 (file)
index afbb9cf..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE WIDTH=100%>
-<TR>
-<TD>
-<font size=+4><%$title%></font>
-</TD>
-</TR>
-</TABLE>
-
-<%ARGS>
-$title => undef
-</%ARGS>
diff --git a/rt/html/Elements/SelectAttachmentField b/rt/html/Elements/SelectAttachmentField
deleted file mode 100644 (file)
index ea1528c..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-<OPTION VALUE="Subject"><&|/l&>Subject</&></OPTION>
-<OPTION VALUE="Content"><&|/l&>Content</&></OPTION>
-<OPTION VALUE="ContentType"><&|/l&>Content-Type</&></OPTION>
-<OPTION VALUE="Filename"><&|/l&>Filename</&></OPTION>
-</SELECT>
-<%ARGS>
-$Name => 'AttachmentField'
-</%ARGS>
diff --git a/rt/html/Elements/SelectBoolean b/rt/html/Elements/SelectBoolean
deleted file mode 100644 (file)
index a3f08fd..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-<OPTION VALUE="<%$TrueVal%>" <%$TrueDefault%>><%$True%></OPTION>
-<OPTION VALUE="<%$FalseVal%>" <%$FalseDefault%>><%$False%></OPTION>
-</SELECT>
-
-<%ARGS>
-$Name => undef
-$True => loc("is")
-$Default => 'true'
-$TrueVal => 1
-$FalseVal => 0
-$False => loc("isn't")
-</%ARGS>
-
-<%INIT>
-my ($TrueDefault, $FalseDefault);
-if ($Default && $Default !~ /true/i) {
-       $FalseDefault = "SELECTED";
-}
-else {
-       $TrueDefault = "SELECTED";
-}
-</%INIT>
diff --git a/rt/html/Elements/SelectCustomFieldOperator b/rt/html/Elements/SelectCustomFieldOperator
deleted file mode 100644 (file)
index 8f7ea61..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-% while (my $option = shift @Options) {
-% my $value = shift @Values;
-<OPTION VALUE="<%$value%>"
-% if ($Default eq $value) {
-SELECTED
-% }
-><%$option%></OPTION>
-% }
-</SELECT>
-
-<%ARGS>
-$Name => undef
-@Options => ( loc('contains'), loc("doesn't contain"), loc('is'), loc("isn't"), loc('less than'), loc('greater than'))
-@Values => ('LIKE', 'NOT LIKE', '=', '!=', '<', '>')
-$Default => undef
-</%ARGS>
diff --git a/rt/html/Elements/SelectCustomFieldValue b/rt/html/Elements/SelectCustomFieldValue
deleted file mode 100644 (file)
index 27d6c49..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Callback, %ARGS &>
-% if ($CustomField->Type =~ /Select/i) {
-% my $values = $CustomField->Values;
-<select name="<%$Name%>">
-<option value="" SELECTED>-</option>
-<option value="NULL"><&|/l&>(no value)</&></option>
-% while (my $value = $values->Next) {
-<option value="<%$value->Name%>"><%$value->Name%></option>
-% }
-</select>
-% }
-% else {
-<input name="<%$Name%>" size="20">
-% }
-<%args>
-$Name => undef
-$CustomField =>undef
-</%args>
diff --git a/rt/html/Elements/SelectDate b/rt/html/Elements/SelectDate
deleted file mode 100644 (file)
index d381579..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<INPUT NAME="<%$Name%>" VALUE="<%$Default%>" size=<%$Size%>> 
-
-<%init>
-unless ((defined $Default) or 
-       ($current <= 0)) {
-       my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
-                                            localtime($current);
-        $Default = sprintf("%04d-%02d-%02d %02d:%02d",                         
-                           $year+1900,$mon+1,$mday,                            
-                           $hour,$min);   
-}
-
-unless ($Name) {
-       $Name = $menu_prefix. "_Date";
-}
-</%init>
-
-<%args>
-
-$ShowTime => undef
-$menu_prefix=>''
-$current=>time
-$Default => undef
-$Name => undef
-$Size => 16
-</%args>
diff --git a/rt/html/Elements/SelectDateRelation b/rt/html/Elements/SelectDateRelation
deleted file mode 100644 (file)
index ccf0c11..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-<OPTION VALUE="&lt;"><%$Before%></OPTION>
-<OPTION VALUE="="><%$On%></OPTION>
-<OPTION VALUE="&gt;"><%$After%></OPTION>
-</SELECT>
-
-<%ARGS>
-$Name => undef
-$Default => undef
-$Before => loc('Before')
-$On =>         loc('On')
-$After => loc('After')
-</%ARGS>
diff --git a/rt/html/Elements/SelectDateType b/rt/html/Elements/SelectDateType
deleted file mode 100644 (file)
index 7b3f099..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-<OPTION VALUE="Created"><&|/l&>Created</&></OPTION>
-<OPTION VALUE="Started"><&|/l&>Started</&></OPTION>
-<OPTION VALUE="Resolved"><&|/l&>Resolved</&></OPTION>
-<OPTION VALUE="Told"><&|/l&>Last Contacted</&></OPTION>
-<OPTION VALUE="LastUpdated"><&|/l&>Last Updated</&></OPTION>
-<OPTION VALUE="Starts"><&|/l&>Starts</&></OPTION>
-<OPTION VALUE="Due"><&|/l&>Due</&></OPTION>
-<OPTION VALUE="Updated"><&|/l&>Updated</&></OPTION>
-</SELECT>
-<%ARGS>
-$Name => 'DateType'
-</%ARGS>
diff --git a/rt/html/Elements/SelectEqualityOperator b/rt/html/Elements/SelectEqualityOperator
deleted file mode 100644 (file)
index 0f8deea..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-% while (my $option = shift @Options) {
-% my $value = shift @Values;
-<OPTION VALUE="<%$value%>"
-% if ($Default eq $value) {
-SELECTED
-% }
-><%$option%></OPTION>
-% }
-</SELECT>
-
-<%ARGS>
-$Name => undef
-@Options => (loc('less than'), loc('equal to'), loc('greater than'), loc('not equal to'))
-@Values => qw(< = > !=)
-$Default =>'' 
-</%ARGS>
diff --git a/rt/html/Elements/SelectGroups b/rt/html/Elements/SelectGroups
deleted file mode 100644 (file)
index bc37fd6..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<select name="GroupField">
-% foreach my $col (RT::Group->BasicColumns) {
-<option value="<% $col->[0] %>"><% loc($col->[1]) %>
-% }
-% while (my $CF = $CFs->Next) {
-<option value="CustomField-<% $CF->Id %>"><&|/l&>CustomField</&>: <% $CF->Name %>
-% }
-</select>
-<& /Elements/SelectMatch, Name=> 'GroupOp' &>
-<input size=8 name="GroupString">
-<%INIT>
-my $CFs = RT::CustomFields->new($session{'CurrentUser'});
-$CFs->LimitToChildType('RT::Group');
-$CFs->OrderBy( FIELD => 'Name' );
-</%INIT>
diff --git a/rt/html/Elements/SelectLang b/rt/html/Elements/SelectLang
deleted file mode 100644 (file)
index a439ea3..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-% if ($ShowNullOption) {
-<OPTION VALUE="">-</OPTION>
-% }
-% foreach my $lang (@lang) {
-<OPTION VALUE="<%$lang%>" <%($Default && ($lang eq $Default)) && 'SELECTED'%>><% $lang_to_desc{$lang} %>
-%   if (($Verbose) and (my $description = I18N::LangTags::List::native_name($lang)) ){
-(<%$description%>)
-%  }
-</OPTION>
-% }
-</SELECT>
-<%ARGS>
-$ShowNullOption => 1
-$ShowAllQueues => 1
-$Name => undef
-$Verbose => undef
-$Default => 0
-$Lite => 0
-</%ARGS>
-
-<%ONCE>
-use I18N::LangTags::List;
-my (@lang, %lang_to_desc);
-foreach my $lang (map { s/:://; s/_/-/g; $_ } grep { /^\w+::$/ } keys %RT::I18N::) {
-    next if $lang =~ /i-default|en-us/;
-    my $desc = I18N::LangTags::List::name($lang);
-    next unless ($desc);
-    $desc =~ s/(.*) (.*)/$2 ($1)/;
-    $lang_to_desc{$lang} = $desc;
-}
-@lang = sort { $lang_to_desc{$a} cmp $lang_to_desc{$b} } keys %lang_to_desc;
-</%ONCE>
diff --git a/rt/html/Elements/SelectLinkType b/rt/html/Elements/SelectLinkType
deleted file mode 100644 (file)
index 28cb441..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-<OPTION VALUE="MemberOf"><&|/l&>Member of</&></OPTION>
-<OPTION VALUE="DependsOn"><&|/l&>Depends on</&></OPTION>
-<OPTION VALUE="RefersTo"><&|/l&>Refers to</&></OPTION>
-</SELECT>
-
-<%ARGS>
-$Name => "LinkType"
-$Default => undef
-</%ARGS>
-
-<%INIT>
-# TODO handle Default
-</%INIT>
diff --git a/rt/html/Elements/SelectMatch b/rt/html/Elements/SelectMatch
deleted file mode 100644 (file)
index 60949d9..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-<OPTION VALUE="LIKE" <%$LikeDefault%>><%$Like%></OPTION>
-<OPTION VALUE="NOT LIKE" <%$NotLikeDefault%>><%$NotLike%></OPTION>
-<OPTION VALUE="=" <%$TrueDefault%>><%$True%></OPTION>
-<OPTION VALUE="!=" <%$FalseDefault%>><%$False%></OPTION>
-</SELECT>
-
-<%ARGS>
-$Name => undef
-$Like => loc('contains')
-$NotLike => loc("doesn't contain")
-$True => loc('is')
-$False => loc("isn't")
-$Default => undef
-</%ARGS>
-<%INIT>
-
-my $TrueDefault = '';
-my $FalseDefault='';
-my $LikeDefault=''; 
-my $NotLikeDefault ='';
-
-if ($Default && $Default =~ /false/i) {
-       $FalseDefault = "SELECTED";
-}
-elsif ($Default && $Default =~ /true/i) {
-       $TrueDefault = "SELECTED";
-} 
-elsif ($Default && $Default =~ /notlike/i) {
-       $NotLikeDefault = "SELECTED";
-}
-else {
-       $LikeDefault = "SELECTED";
-}
-</%INIT>
diff --git a/rt/html/Elements/SelectNewTicketQueue b/rt/html/Elements/SelectNewTicketQueue
deleted file mode 100644 (file)
index d47b58a..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<LABEL ACCESSKEY="9">
-<SELECT NAME ="<%$Name%>">
-% foreach my $queue (@{$session{'create_in_queues'}}) {
-<OPTION 
-    VALUE="<%$queue->{'id'}%>" 
-    <%$Default && ($queue->{'id'} == $Default) && 'SELECTED'%>>
-<%$queue->{'Name'}%>
-%   if (($Verbose) and ($queue->{'Description'}) ){
-(<%$queue->{'Description'}%>)
-%  }
-</OPTION>
-% }
-</SELECT>
-</LABEL>
-
-<%INIT>
-unless ($session{'create_in_queues'}) { 
-
-@{$session{'create_in_queues'}} = ();
-my $q=new RT::Queues($session{'CurrentUser'});
-$q->UnLimit;
-while (my $queue=$q->Next) {
-        if ($queue->CurrentUserHasRight('CreateTicket')) {
-                my $ds = { Name => $queue->Name, Description => $queue->Description, id => $queue->id };
-                push (@{$session{'create_in_queues'}}, $ds);
-        }        
-}
-}
-</%INIT>
-
-
-<%ARGS>
-$Name => 'Queue'
-$Verbose =>  0
-$Default => 0
-</%ARGS>
diff --git a/rt/html/Elements/SelectOwner b/rt/html/Elements/SelectOwner
deleted file mode 100644 (file)
index 85843e5..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-%if ($DefaultValue) {
-<OPTION <% !$Default ? "SELECTED" : '' %> VALUE=""><%$DefaultLabel%></OPTION>
-%}
-%foreach my $User ( @users)  {
-<OPTION <% ($User->Id == $Default) ? "SELECTED" : ''%>
-%if ($ValueAttribute eq 'id') {
-    value="<%$User->id%>"
-%} elsif ($ValueAttribute eq 'Name') {
-    value="<%$User->Name%>"
-%}
-><%$User->Name()%></OPTION>
-%}
-</SELECT>
-<%INIT>
-my @objects;
-my @users;
-
-if ($TicketObj) {
-        @objects = ($TicketObj);
-}
-elsif ($QueueObj) {
-        @objects = ($QueueObj);
-} 
-elsif ($cfqueues) {
-       @objects = keys %{$cfqueues};
-}
-else {
-    # Let's check rights on an empty queue object. that will do a search for any queue.
-    my $queue = RT::Queue->new($session{'CurrentUser'});
-             push( @objects, $queue );
-}
-
-my %user_uniq_hash;
-
-
-foreach my $object (@objects) {
-       my $Users = RT::Users->new($session{CurrentUser});
-        $Users->WhoHaveRight(Right => 'OwnTicket', Object => $object, IncludeSystemRights => 1, IncludeSuperusers => 0); 
-        while (my $User = $Users->Next()) {
-                next if ($User->id == $RT::Nobody->id); # skip nobody here, so we can make them first later
-             $user_uniq_hash{$User->Id()} = $User;
-        }
-}
-
-@users = sort { uc($a->Name) cmp uc($b->Name) } values %user_uniq_hash; 
-unshift(@users, $RT::Nobody);
-
-
-
-</%INIT>
-
-<%ARGS>
-$QueueObj => undef
-$Name => undef
-$Default => 0
-$User => undef
-$TicketObj => undef
-$DefaultValue => 1
-$DefaultLabel => "-"
-$ValueAttribute => 'id'
-$cfqueues => undef
-</%ARGS>
diff --git a/rt/html/Elements/SelectQueue b/rt/html/Elements/SelectQueue
deleted file mode 100644 (file)
index 56aede8..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($Lite) {
-% my $d = new RT::Queue($session{'CurrentUser'});
-% $d->Load($Default);
-<INPUT NAME="<%$Name%>" size=25 DEFAULT="<%$d->Name%>">
-% } else {
-<SELECT NAME ="<%$Name%>">
-% if ($ShowNullOption) {
-<OPTION VALUE="">-</OPTION>
-% }
-% while (my $queue=$q->Next) {
-% if ($ShowAllQueues || $queue->CurrentUserHasRight($CheckQueueRight)) {
-<OPTION VALUE="<%($NamedValues ? $queue->Name : $queue->Id) %>" <%( $queue->Id eq $Default ? 'SELECTED' : '')%>><%$queue->Name%>
-%   if (($Verbose) and ($queue->Description) ){
-(<%$queue->Description%>)
-%  }
-</OPTION>
-% }
-% }
-</SELECT>
-% }
-<%ARGS>
-$CheckQueueRight => 'CreateTicket'
-$ShowNullOption => 1
-$ShowAllQueues => 1
-$Name => undef
-$Verbose => undef
-$NamedValues => 0
-$Default => 0
-$Lite => 0
-</%ARGS>
-
-<%INIT>
-
-my $q=new RT::Queues($session{'CurrentUser'});
-$q->UnLimit;
-
-</%INIT>
diff --git a/rt/html/Elements/SelectResultsPerPage b/rt/html/Elements/SelectResultsPerPage
deleted file mode 100644 (file)
index 65ed536..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# TODO: Better default handling
-
-<SELECT NAME ="<%$Name%>">
-% foreach my $value (@values) {
-<OPTION VALUE="<%$value%>" <% $value == $Default && 'SELECTED' %>>
-<% shift @labels %>
-</OPTION>
-% }
-</SELECT>
-
-<%INIT>
-my @values = qw(0 10 25 50 100);
-my @labels = (loc('Unlimited'), qw(10 25 50 100));
-</%INIT>
-<%ARGS>
-
-$Name => undef
-$Default => 50
-
-</%ARGS>
diff --git a/rt/html/Elements/SelectSortOrder b/rt/html/Elements/SelectSortOrder
deleted file mode 100644 (file)
index f6dd70d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-%foreach my $order (@orders) {
-<OPTION VALUE="<%$order%>" <%$order eq $Default && 'SELECTED' %>>
-<% shift @order_names %>
-</OPTION>
-% }
-</SELECT>
-
-<%INIT>
-my @orders = qw (ASC DESC);
-my @order_names = (loc('Ascending'), loc('Descending'));
-
-</%INIT>
-
-<%ARGS>
-$Name => 'SortOrder'
-$Default => 'ASC'
-</%ARGS>
diff --git a/rt/html/Elements/SelectStatus b/rt/html/Elements/SelectStatus
deleted file mode 100644 (file)
index fa76a3e..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-%if ($DefaultValue) {
-<OPTION <% !$Default && "SELECTED" %> VALUE=""><%$DefaultLabel%></OPTION>
-%}
-%foreach my $status (@status) {
-%next if ($SkipDeleted && $status eq 'deleted');
-<OPTION <% ($status eq $Default) && "SELECTED" %> VALUE="<%$status%>"><%loc($status)%></OPTION>
-% }
-</SELECT>
-<%ONCE>
-my $queue = new RT::Queue($session{'CurrentUser'});
-my @status = $queue->StatusArray();
-</%ONCE>
-<%ARGS>
-$Name => undef
-$Default => ''
-$SkipDeleted => 0
-$DefaultValue => 1
-$DefaultLabel => "-"
-</%ARGS>
diff --git a/rt/html/Elements/SelectTicketSortBy b/rt/html/Elements/SelectTicketSortBy
deleted file mode 100644 (file)
index 3e05dcc..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-% foreach my $field (@sortfields) {
-<OPTION VALUE="<%$field%>" <% $field eq $Default && 'SELECTED'%>><% loc($field) %></OPTION>
-% }
-</SELECT>
-
-<%INIT>
-my $tickets = new RT::Tickets($session{'CurrentUser'});
-my @sortfields = $tickets->SortFields();
-
-</%INIT>
-<%ARGS>
-$Name => 'SortTicketsBy'
-$Default => 'id'
-</%ARGS>
diff --git a/rt/html/Elements/SelectTicketTypes b/rt/html/Elements/SelectTicketTypes
deleted file mode 100644 (file)
index a905f60..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-%foreach (@Types) {
-<OPTION VALUE="<% $_ %>" <% ($_ eq $Default) && "SELECTED" %>><&|/l&><% $_ %></&>
-%}
-</SELECT>
-
-<%ARGS>
-$Name => 'TickType'
-$Default => undef
-@Types => qw(Approval Ticket)
-</%ARGS>
diff --git a/rt/html/Elements/SelectUsers b/rt/html/Elements/SelectUsers
deleted file mode 100644 (file)
index dfe816e..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<select name="UserField">
-% foreach my $col (RT::User->BasicColumns) {
-<option value="<% $col->[0] %>"><% loc($col->[1]) %>
-% }
-% while (my $CF = $CFs->Next) {
-<option value="CustomField-<% $CF->Id %>"><&|/l&>CustomField</&>: <% $CF->Name %>
-% }
-</select>
-<& /Elements/SelectMatch, Name=> 'UserOp' &>
-<input size=8 name="UserString">
-<%INIT>
-my $CFs = RT::CustomFields->new($session{'CurrentUser'});
-$CFs->LimitToChildType('RT::User');
-$CFs->OrderBy( FIELD => 'Name' );
-</%INIT>
diff --git a/rt/html/Elements/SelectWatcherType b/rt/html/Elements/SelectWatcherType
deleted file mode 100644 (file)
index 6ba9c7a..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-% if ($AllowNull) {
-<OPTION VALUE="">-</OPTION>
-% }
-%for my $option (@types) {
-<OPTION VALUE="<%$option%>" <%$option eq $Default && "SELECTED"%>><%loc($option)%></OPTION>
-%}
-</SELECT>
-
-<%INIT>
-my @types;
-if ($Scope =~ 'queue') {
-   @types = qw(Cc AdminCc);
-}
-else { 
-   @types = qw(Requestor Cc AdminCc);
-}
-</%INIT>
-<%ARGS>
-$AllowNull => 1
-$Default=>undef
-$Scope => 'ticket'
-$Name => 'WatcherType'
-</%ARGS>
diff --git a/rt/html/Elements/SetupSessionCookie b/rt/html/Elements/SetupSessionCookie
deleted file mode 100644 (file)
index bd78613..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-return if $m->is_subrequest; # avoid reentrancy, as suggested by masonbook
-
-my %cookies = CGI::Cookie->fetch();
-my $cookiename = "RT_SID_".$RT::rtname.".".$ENV{'SERVER_PORT'};
-my %backends = (
-    mysql      => 'Apache::Session::MySQL',
-    Pg         => 'Apache::Session::Postgres',
-#    Oracle    => 'Apache::Session::Oracle',
-) unless $RT::WebSessionClass;
-my $session_class = $RT::WebSessionClass || $backends{$RT::DatabaseType} || 'Apache::Session::File';
-my $pm = "$session_class.pm"; $pm =~ s|::|/|g; require $pm;
-
-    # morning bug avoidance attempt -- pdh 20030815
-    unless ($RT::Handle->dbh && $RT::Handle->dbh->ping) {
-        $RT::Handle->Connect();
-    }
-    eval {
-        tie %session, $session_class,
-          $SessionCookie || ( $cookies{$cookiename} ? $cookies{$cookiename}->value() : undef ),
-          $backends{$RT::DatabaseType} ? {
-            Handle     => $RT::Handle->dbh,
-            LockHandle => $RT::Handle->dbh,
-          } : {
-            Directory     => $RT::MasonSessionDir,
-            LockDirectory => $RT::MasonSessionDir,
-          };
-    };
-    if ($@) {
-
-        # If the session is invalid, create a new session.
-        if ( $@ =~ /Object does not/i ) {
-            tie %session, $session_class, undef, $backends{$RT::DatabaseType}
-              ? {
-                Handle     => $RT::Handle->dbh,
-                LockHandle => $RT::Handle->dbh,
-              }
-              : {
-                Directory     => $RT::MasonSessionDir,
-                LockDirectory => $RT::MasonSessionDir,
-              };
-            undef $cookies{$cookiename};
-        }
-        else {
-            die loc("RT couldn't store your session.") . "\n"
-              . loc(
-"This may mean that that the directory '[_1]' isn't writable or a database table is missing or corrupt.",
-                $RT::MasonSessionDir
-              )
-              . "\n\n"
-              . $@;
-        }
-    }
-
-    if ( !$cookies{$cookiename} ) {
-        my $cookie = new CGI::Cookie(
-            -name  => $cookiename,
-            -value => $session{_session_id},
-            -path  => '/',
-        );
-        $r->headers_out->{'Set-Cookie'} = $cookie->as_string;
-
-    } 
-
-    return();
-</%init>
-<%args>
-$SessionCookie => ''
-</%args>
diff --git a/rt/html/Elements/ShowCustomFieldBinary b/rt/html/Elements/ShowCustomFieldBinary
deleted file mode 100644 (file)
index ea9e5ae..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<a href="<%$RT::WebPath%>/Download/CustomFieldValue/<% $Object->Id %>/<% $Object->Content %>"><% $Object->Content %></a>
-<%ARGS>
-$Object => undef
-</%ARGS>
diff --git a/rt/html/Elements/ShowCustomFieldImage b/rt/html/Elements/ShowCustomFieldImage
deleted file mode 100644 (file)
index 7fa5e46..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%    my $url = $RT::WebPath . "/Download/CustomFieldValue/".$Object->Id.'/'.$Object->Content;
-<a href="<% $url %>"><% $Object->Content %></a>
-<img type="<% $Object->ContentType %>" height=64 src="<% $url %>" align="middle">
-<%ARGS>
-$Object
-</%ARGS>
diff --git a/rt/html/Elements/ShowCustomFieldWikitext b/rt/html/Elements/ShowCustomFieldWikitext
deleted file mode 100644 (file)
index ab7c27b..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% my $content = $Object->LargeContent || $Object->Content;
-% $content = $m->comp('/Elements/ScrubHTML', Content => $content);
-% my $wiki_content = Text::WikiFormat::format( $content."\n" , {}, { extended => 1, absolute_links => 1 });
-<%$wiki_content|n%>
-<%init>
-use Text::WikiFormat;
-</%init>
-<%ARGS>
-$Object
-</%ARGS>
diff --git a/rt/html/Elements/ShowCustomFields b/rt/html/Elements/ShowCustomFields
deleted file mode 100644 (file)
index 7591fa3..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table>
-% my @entry_fields;
-% while (my $CustomField = $CustomFields->Next()) {
-% my $Values = $Object->CustomFieldValues($CustomField->Id);
-  <tr>
-    <td class="label"><%$CustomField->Name%>:</td>
-    <td class="value">
-<ul>
-% while (my $Value = $Values->Next()) {
-<li>
-% my $comp = "ShowCustomField".$CustomField->Type;
-% if ($m->comp_exists($comp)) {
-<& $comp, Object => $Value &>
-%   } else {
-<%$Value->Content%>
-%   }
-</li>
-% }
-% unless ($Values->Count()) {
-<li><i><&|/l&>(no value)</&></i></li>
-% }
-</ul>
-    </td>
-  </tr>
-% }
-</table>
-<%INIT>
-my $CustomFields = $Object->CustomFields;
-</%INIT>
-<%ARGS>
-$Object => undef
-</%ARGS>
diff --git a/rt/html/Elements/ShowLink b/rt/html/Elements/ShowLink
deleted file mode 100644 (file)
index 5929a96..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<A href="<%$URI->Resolver->HREF%>">
-% if ($URI->IsLocal) {
-% my $member = $URI->Object;
-% if (UNIVERSAL::isa($member, "RT::Ticket")) {
-<%$member->Id%>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> [<% loc($member->Status) %>]
-% } elsif ( UNIVERSAL::can($member, 'Name')) {
-<%$URI->Resolver->AsString%>: <%$member->Name%>
-% } else {
-<%$URI->Resolver->AsString%>
-% }
-% } else {
-<%$URI->Resolver->AsString%>
-% }
-</a>
-<%ARGS>
-$URI => undef
-</%ARGS>
diff --git a/rt/html/Elements/ShowLinks b/rt/html/Elements/ShowLinks
deleted file mode 100755 (executable)
index c9279a5..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table>
-  <tr>
-    <td class="labeltop"><&|/l&>Depends on</&>:</td>
-    <td class="value">
-<ul>
-% while (my $Link = $Ticket->DependsOn->Next) {
-<li><& ShowLink, URI => $Link->TargetURI &>
-% }
-</ul>
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Depended on by</&>:</td>
-    <td class="value">
-<ul>
-% while (my $Link = $Ticket->DependedOnBy->Next) {
-<li><& ShowLink, URI => $Link->BaseURI &>
-% }
-</ul>
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Parents</&>:</td>
-    <td class="value">
-<ul>
-% while (my $Link = $Ticket->MemberOf->Next) {
-<li><& ShowLink, URI => $Link->TargetURI &>
-% }
-</ul>
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Children</&>:</td>
-    <td class="value"><& /Ticket/Elements/ShowMembers, Ticket => $Ticket &></td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Refers to</&>:</td>
-    <td class="value">
-<ul>
-% while (my $Link = $Ticket->RefersTo->Next) {
-<li><& ShowLink, URI => $Link->TargetURI &>
-% }
-</ul>
-    </td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Referred to by</&>:</td>
-    <td class="value">
-    <ul>
-% while (my $Link = $Ticket->ReferredToBy->Next) {
-<li><& ShowLink, URI => $Link->BaseURI &>
-% }
-</ul>
-    </td>
-  </tr>
-
-% # Allow people to add more rows to the table                                                                                                                           
-%  $m->comp('/Elements/Callback', %ARGS );
-
-</table>
-
-<%ARGS>
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Elements/ShowMemberships b/rt/html/Elements/ShowMemberships
deleted file mode 100644 (file)
index 3936d50..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<ul>
-% while ( my $GroupMember = $GroupMembers->Next ) {
-%    my $Group = RT::Group->new($session{'CurrentUser'});
-%    $Group->Load($GroupMember->GroupId) or next;
-%    if ($Group->Domain eq 'UserDefined') {
-<li><a href="<%$RT::WebPath%>/Admin/Groups/Modify.html?id=<% $Group->Id %>"><% $Group->Name %></a></li>
-%    } elsif ($Group->Domain eq 'SystemInternal') {
-<li><em><% loc($Group->Type) %></em></li>
-%    }
-% }
-</ul>
-<%INIT>
-my $GroupMembers = RT::GroupMembers->new($session{'CurrentUser'});
-$GroupMembers->Limit( FIELD => 'MemberId', VALUE => $UserObj->Id );
-my $alias = $GroupMembers->Join(
-    TYPE       => 'left',
-    ALIAS1     => 'main',
-    FIELD1     => 'GroupId',
-    TABLE2     => 'Groups',
-    FIELD2     => 'id'
-);
-$GroupMembers->Limit(
-    ALIAS      => $alias,
-    FIELD      => 'Domain',
-    OPERATOR   => '=',
-    VALUE      => 'SystemInternal',
-);
-$GroupMembers->Limit(
-    ALIAS      => $alias,
-    FIELD      => 'Domain',
-    OPERATOR   => '=',
-    VALUE      => 'UserDefined',
-);
-$GroupMembers->OrderByCols(
-    { ALIAS => $alias, FIELD => 'Domain' },
-    { ALIAS => $alias, FIELD => 'Name' },
-);
-</%INIT>
-<%ARGS>
-$UserObj
-</%ARGS>
diff --git a/rt/html/Elements/SimpleSearch b/rt/html/Elements/SimpleSearch
deleted file mode 100644 (file)
index e76f801..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<form action="<% $RT::WebPath %>/index.html">
-<input size="12" name="q" autocomplete="off" accesskey="0">
-<input type="submit" value="<&|/l&>Search tickets</&>">&nbsp;
-</form>
diff --git a/rt/html/Elements/Submit b/rt/html/Elements/Submit
deleted file mode 100644 (file)
index 9d8dca2..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($CheckAll or $ClearAll) {
-<script><!--
-function set_checkbox (obj, val) {
-    var i;
-    var myfield = obj.form.getElementsByTagName('input');
-    for (i = 0; i < myfield.length; i++) {
-       if (myfield[i].type == 'checkbox') {
-           myfield[i].checked = val;
-       }
-    }
-}
---></script>
-% }
-<TABLE WIDTH=100% BGCOLOR="<%$color%>" CELLSPACING=0 BORDER=0 CELLPADDING=0 >
-<TR>
-<TD>
-% if ($CheckAll) {
-<INPUT TYPE=BUTTON VALUE="<%$CheckAllLabel%>" ONCLICK="set_checkbox(this, true)">
-% }
-% if ($ClearAll) {
-<INPUT TYPE=BUTTON VALUE="<%$ClearAllLabel%>" ONCLICK="set_checkbox(this, false)">
-% }
-% if ($Reset) {
-<INPUT TYPE=RESET VALUE="<%$ResetLabel%>">
-%}
-</TD>
-<TD>
-&nbsp;
-</TD>
-<TD ALIGN=RIGHT VALIGN=CENTER><FONT COLOR=#ffd800>
-% if ($AlternateLabel) {
-<B><%$AlternateCaption%>
-<INPUT TYPE=SUBMIT
-%if ($Name) {
-NAME="<%$Name%>"
-%}
-VALUE='<%$AlternateLabel%>'></B>
-% }
-<B><%$Caption%> <INPUT TYPE=SUBMIT
-%if ($Name) {
-NAME="<%$Name%>"
-% }
- VALUE='<%$Label%>'></B></FONT>
-</TD>
-</TR>
-</TABLE>
-<%ARGS>
-$color => "#336699"
-$Caption => ''
-$AlternateCaption => undef
-$AlternateLabel => undef
-$Label => loc('Submit')
-$Name => undef
-$CheckAll => undef
-$CheckAllLabel => loc('Check All')
-$ClearAll => undef
-$ClearAllLabel => loc('Clear All')
-$Reset => undef
-$ResetLabel => loc('Reset')
-</%ARGS>
diff --git a/rt/html/Elements/Tabs b/rt/html/Elements/Tabs
deleted file mode 100644 (file)
index f5839a9..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/PageLayout,
-    current_toptab => $current_toptab,
-    current_tab => $current_tab,
-    toptabs => $toptabs,
-    topactions => $topactions,
-    tabs => $tabs,
-    actions => $actions,
-    subactions => $subactions,
-    title => $Title
-&>
-<a name="skipnav" id="skipnav" accesskey="8"></a>
-<%INIT>
-my $action;
-my $basetopactions = {
-       A => { html => $m->scomp('/Elements/CreateTicket')      
-               },
-       B => { html => $m->scomp('/Elements/SimpleSearch') 
-               }
-       };
-my $basetabs = {
-                  ' A'=> { title => 'Billing Main',
-                           path  => &RT::URI::freeside::FreesideURL(),
-                         },
-                    A => { #title => loc('Homepage'),
-                           title => 'Ticketing Main',
-                           path => '',
-                         },
-                    B => { title => loc('Tickets'),
-                        path => 'Search/Build.html'
-                      },
-                    C => { title => loc('Tools'),
-                           path => 'Tools/Offline.html'
-                         },
-                    P => { title => loc('Approval'),
-                           path => 'Approvals/'
-                         },
-                 };
-
-if ($session{'CurrentUser'}->HasRight( Right => 'ShowConfigTab', 
-                                      Object => $RT::System )) {
-    $basetabs->{E} = { title => loc('Configuration'),
-                       path => 'Admin/',
-                    };
-}
-
-if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf', 
-                                      Object => $RT::System )) {
-    $basetabs->{K} = { title => loc('Preferences'),
-                       path => 'User/Prefs.html'
-                    };
-}
-
-if (!defined $toptabs) {
-   $toptabs = $basetabs;
-}
-if (!defined $topactions) {
-   $topactions = $basetopactions;
-}
-
-  require RT::URI::freeside;
-                    
-  # Now let callbacks add their extra tabs
-  $m->comp('/Elements/Callback', 
-    topactions => $topactions, 
-    toptabs => $toptabs, %ARGS);
-
-</%INIT>
-<%ARGS>
-$current_toptab => undef
-$current_tab => undef
-$toptabs => undef
-$topactions => undef
-$tabs => undef
-$actions => undef
-$subactions => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Elements/TicketList b/rt/html/Elements/TicketList
deleted file mode 100644 (file)
index 1a53127..0000000
+++ /dev/null
@@ -1,154 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH=100%>
-
-% if ($ShowHeader) {
-<& /Elements/CollectionAsTable/Header, 
-    Format => \@Format, 
-    FormatString => $Format,
-    AllowSorting => $AllowSorting, 
-    Order => $Order, 
-    Query => $Query,
-    Rows => $Rows,
-    Page => $Page,
-    OrderBy => $OrderBy , 
-    BaseURL => $BaseURL,
-    maxitems => $maxitems &> 
-% }
-
-%   my $i;
-%   while (my $record = $Collection->Next) {
-%   $i++;
-% # Every ten rows, flush the buffer and put something on the page.
-% $m->flush_buffer() unless ($i % 10);
-<&   /Elements/CollectionAsTable/Row, Format => \@Format, i => $i, record => $record, maxitems => $maxitems &>
-%   }
-
-</TABLE>
-
-% if ($Rows && $ShowNavigation) {
-<hr>
-% my $oddRows;
-% if (($TotalFound % $Rows) == 0) {
-% $oddRows = 0;
-% } else { $oddRows = 1; }
-<&|/l, $Page, int($TotalFound/$Rows)+$oddRows&>Page [_1] of [_2]</&>
-
-<%perl>
-my $prev = $m->comp(
-    '/Elements/QueryString',
-    Query   => $Query,
-    Format  => $Format,
-    Rows    => $Rows,
-    OrderBy => $OrderBy,
-    Order   => $Order,
-    Page    => ( $Page - 1 )
-);
-my $next = $m->comp(
-    '/Elements/QueryString',
-    Query   => $Query,
-    Format  => $Format,
-    Rows    => $Rows,
-    OrderBy => $OrderBy,
-    Order   => $Order,
-    Page    => ( $Page + 1 )
-);
-</%perl>
-% if ($Page > 1) {
-<A href="<%$BaseURL%><%$prev%>"><&|/l&>Previous Page</&></a>
-% }
-% if (($Page * $Rows) < $TotalFound) {
-<A href="<%$BaseURL%><%$next%>"><&|/l&>Next Page</&></a>
-% }
-% }
-<%INIT>
-my $maxitems = 0;
-
-$Format ||= $RT::DefaultSearchResultFormat;
-# Scrub the html of the format string to remove any potential nasties.
-$Format = $m->comp('/Elements/ScrubHTML', Content => $Format);
-
-
-unless ($Collection) {
-        $Collection = RT::Tickets->new($session{'CurrentUser'});
-        $Collection->FromSQL($Query);
-}
-
-my (@Format) = $m->comp('/Elements/CollectionAsTable/ParseFormat', Format => $Format);
-
-# Find the maximum number of items in any row, so we can pad the table.
-my $item = 0;
-foreach my $col (@Format) {
-    $item++;
-    if ( $col->{title} eq 'NEWLINE' ) {
-        $item = 0;
-    }
-    else {
-        $maxitems = $item if $item > $maxitems;
-    }
-}
-
-
-$Collection->OrderBy(FIELD => $OrderBy, ORDER => $Order); 
-$Collection->RowsPerPage($Rows) if ($Rows);
-$Collection->GotoPage($Page-1); # SB uses page 0 as the first page
-my $TotalFound =  $Collection->CountAll();
-
-</%INIT>
-<%ARGS>
-$Query => undef
-$Rows => 50
-$Page => 1
-$Title => 'Ticket Search'
-$Collection => undef
-$AllowSorting => undef
-$Order => undef
-$OrderBy => undef
-$BaseURL => undef
-$Format => $RT::DefaultSearchResultFormat
-$ShowNavigation => 1
-$ShowHeader => 1
-</%ARGS>
diff --git a/rt/html/Elements/TitleBox b/rt/html/Elements/TitleBox
deleted file mode 100644 (file)
index 3c638e2..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& TitleBoxStart, %ARGS&><%$m->content|n%><& TitleBoxEnd&>
diff --git a/rt/html/Elements/TitleBoxEnd b/rt/html/Elements/TitleBoxEnd
deleted file mode 100644 (file)
index d791e3a..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-    </TD>
-  </TR>
-</TABLE>
-% #Manually flush the content buffer after each titlebox is displayed
-% $m->flush_buffer();
-
-<%ARGS>
-$title => undef
-$content => undef
-</%ARGS>
-
diff --git a/rt/html/Elements/TitleBoxStart b/rt/html/Elements/TitleBoxStart
deleted file mode 100644 (file)
index 804e5cf..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE CLASS="box <%$class|n%>" 
-        BGCOLOR="<%$color%>" 
-        CELLSPACING=0
-        BORDER=0
-        WIDTH="<%$width%>"
-        CELLPADDING="0">
-
-  <TR>
-    <TH 
-        <%$color && "style=\"color: $color;\""|n%>
-        <%$class ? "class=\"$class\"" : "class=\"titlebox\""|n%>>
-      <span class="titleboxclose">
-        <a href="#" onClick="hideshow('<%$id%>')">X</A></span>&nbsp;
-      <span class="titleboxtitle">
-        <b><% $title_href && "<A $title_class HREF=\"$title_href\">"|n%><%$title |n %><%  $title_href && "</A>" |n%></b>
-      </span>
-    </TH>
-    <TH  
-         <%$color && "style=\"color: $color;\""|n%>
-         <%$class ? "class=\"$class\"": "class=\"titleboxright\""|n%>>
-      <span class="titleboxright"><%$titleright ? $titleright : '&nbsp;' |n %></span>
-    </TH>
-  </TR>
-  <tr id="element-<%$id%>">
-    <td bgcolor="<%$contentbg%>" colspan="3" class="<%defined($bodyclass) ? $bodyclass :  $class|n%>">
-<%ARGS>
-$width => "100%"
-$class =>  undef
-$bodyclass => undef
-$title_href => undef
-$title => undef
-$title_class => ''
-
-$titleright_href => undef
-$titleright => undef
-$contentbg => "#dddddd"
-$color => "#336699"
-</%ARGS>
-<%init>
-my $id = rand(2000);
-
-$title_class = "CLASS=\"$title_class\"" if $title_class;
-</%init>
diff --git a/rt/html/NoAuth/Logout.html b/rt/html/NoAuth/Logout.html
deleted file mode 100644 (file)
index b6a238b..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<HTML>
-<HEAD>
-<TITLE>RT: Logout</TITLE>
- <META HTTP-EQUIV="Refresh" CONTENT="0;URL=<%$URL%>">
-</HEAD>
-<BODY>
-<p><&|/l&>You have been logged out of RT.</&>
-
-<br>
-<br>
-<A HREF="<%$URL%>"><&|/l&>You're welcome to login again</&></a>
-
-
-<%PERL>
-if (defined %session) {
-       tied(%session)->delete;
-}
-$m->abort();
-</%PERL>
-
-<%ARGS>
-$URL => $RT::WebPath."/"
-</%ARGS>
diff --git a/rt/html/NoAuth/Reminder.html b/rt/html/NoAuth/Reminder.html
deleted file mode 100644 (file)
index 0793f6c..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => loc('Password Reminder') &>
-
-<&|/l&>Not yet implemented.</&>
diff --git a/rt/html/NoAuth/images/autohandler b/rt/html/NoAuth/images/autohandler
deleted file mode 100644 (file)
index 2e428c1..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<%init>
-
-# This autohandler will spit out RT's images if the user hasn't 
-# properly configured their webserver to stop RT from passing 
-# images through the mason handler.
-
-my $file = $m->base_comp->source_file;
-my $type = "application/octet-stream";
-
-if ($file =~ /\.(gif|png|jpe?g)$/i) {
-    $type = "image/$1";
-    $type =~ s/jpg/jpeg/gi;
-}
-
-die unless (-f $file && -r $file);
-$r->content_type($type);
-open (FILE, "<$file") || die;
-{
-    local $/ = \16384;
-    $m->out($_) while (<FILE>);
-    close(FILE);
-}
-$m->abort;
-</%init>
diff --git a/rt/html/NoAuth/images/bplogo.gif b/rt/html/NoAuth/images/bplogo.gif
deleted file mode 100644 (file)
index e2cf49c..0000000
Binary files a/rt/html/NoAuth/images/bplogo.gif and /dev/null differ
diff --git a/rt/html/NoAuth/images/favicon.png b/rt/html/NoAuth/images/favicon.png
deleted file mode 100644 (file)
index ed1ee37..0000000
Binary files a/rt/html/NoAuth/images/favicon.png and /dev/null differ
diff --git a/rt/html/NoAuth/images/small-logo.png b/rt/html/NoAuth/images/small-logo.png
deleted file mode 100644 (file)
index 1e415e6..0000000
Binary files a/rt/html/NoAuth/images/small-logo.png and /dev/null differ
diff --git a/rt/html/NoAuth/images/space.gif b/rt/html/NoAuth/images/space.gif
deleted file mode 100644 (file)
index 1d11fa9..0000000
Binary files a/rt/html/NoAuth/images/space.gif and /dev/null differ
diff --git a/rt/html/NoAuth/webrt.css b/rt/html/NoAuth/webrt.css
deleted file mode 100644 (file)
index bc688ac..0000000
+++ /dev/null
@@ -1,675 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-SPAN.nav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-%#      color: #FFFFFF;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-.nav2 {         font-size: 10px;
-        white-space: nowrap}
-.nav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 13px;
-%#      font-weight: normal;
-        font-weight: bold;
-%#      color: #FFFFFF;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-.currentnav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 13px;
-         font-weight: bold;
-        color: #FFFF66;
-        text-decoration: none;
-        white-space: nowrap}
-.topnav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 16px;
-        font-weight: normal;
-%#      color: #FFFFFF;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-
-%# .topnav is the original RT class for the sidebar navigation tabs.
-%# Font-sizing by level depth was originally hard-coded into Elements/Menu.
-%# This modification sets a different class name for each level, allowing
-%# style sheet control over the formats.
-
-a.topnav-0 {  font-family: Verdana, sans-serif;
-        font-size: 16px;
-        font-weight: normal;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-a.topnav-1 {  font-family: Verdana, sans-serif;
-        font-size: 14px;
-        font-weight: normal;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-a.topnav-2 {  font-family: Verdana, sans-serif;
-        font-size: 12px;
-        font-weight: normal;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-a.topnav-3 {  font-family: Verdana, sans-serif;
-        font-size: 11px;
-        font-weight: normal;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-a.topnav-4 {  font-family: Verdana, sans-serif;
-        font-size: 11px;
-        font-weight: normal;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-a.topnav-5 {  font-family: Verdana, sans-serif;
-        font-size: 11px;
-        font-weight: normal;
-        color: #000000;
-        text-decoration: none;
-        white-space: nowrap}
-li.topnav-0-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.topnav-1-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.topnav-2-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.topnav-3-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.topnav-4-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.topnav-5-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.topnav-0-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.topnav-1-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.topnav-2-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.topnav-3-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.topnav-4-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.topnav-5-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-
-.currenttopnav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 16px;
-         font-weight: bold;
-%#      color: #FFFF66;
-        color: #000000; background-color: #cccccc;
-        text-decoration: none;
-        white-space: nowrap}
-
-%# .currenttopnav is the original RT class for the sidebar navigation tabs.
-%# Font-sizing by level depth was originally hard-coded into Elements/Menu.
-%# This modification sets a different class name for each level, allowing
-%# style sheet control over the formats
-
-a.currenttopnav-0 {  font-family: Verdana, sans-serif;
-        font-size: 16px;
-         font-weight: bold;
-        color: #000000; background-color: #cccccc;
-        text-decoration: none;
-        white-space: nowrap}
-a.currenttopnav-1 {  font-family: Verdana, sans-serif;
-        font-size: 14px;
-         font-weight: bold;
-        color: #000000; background-color: #cccccc;
-        text-decoration: none;
-        white-space: nowrap}
-a.currenttopnav-2 {  font-family: Verdana, sans-serif;
-        font-size: 12px;
-         font-weight: normal;
-        color: #000000; background-color: #cccccc;
-        text-decoration: none;
-        white-space: nowrap}
-a.currenttopnav-3 {  font-family: Verdana, sans-serif;
-        font-size: 11px;
-         font-weight: normal;
-        color: #000000; background-color: #cccccc;
-        text-decoration: none;
-        white-space: nowrap}
-a.currenttopnav-4 {  font-family: Verdana, sans-serif;
-        font-size: 11px;
-         font-weight: normal;
-        color: #000000; background-color: #cccccc;
-        text-decoration: none;
-        white-space: nowrap}
-a.currenttopnav-5 {  font-family: Verdana, sans-serif;
-        font-size: 11px;
-         font-weight: normal;
-        color: #000000; background-color: #cccccc;
-        text-decoration: none;
-        white-space: nowrap}
-li.currenttopnav-0-minor {
-        border-top: solid #999999 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.currenttopnav-1-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.currenttopnav-2-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.currenttopnav-3-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.currenttopnav-4-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.currenttopnav-5-minor {
-        border-top: solid #777777 1px;
-        padding-top: .1em;
-        margin-top: .5em;
-}
-li.currenttopnav-0-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.currenttopnav-1-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.currenttopnav-2-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.currenttopnav-3-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.currenttopnav-4-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-li.currenttopnav-5-major {
-        border-bottom: solid black 1px;
-        padding-top: .25em;
-        padding-bottom: .5em;
-}
-
-.topactions {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 10px;
-        color: #FFFFFF;
-        text-decoration: none;
-        white-space: nowrap}
-.subnav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 11px;
-        font-weight: normal;
-        color: #FFFFFF;
-        text-decoration: none;
-        white-space: nowrap}
-.currentsubnav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 11px;
-         font-weight: bold;
-        color: #FFFF66;
-        text-decoration: none;
-        white-space: nowrap}
-.error {  background-color: #ff0000;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-.oldblue {  background-color: #0066CC;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-.blue {
-        background-color: #4682B4;
-%#      background-color: #eeeeee;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-%# Actually the "topactions" section
-.blueright {  background-color: #4682B4;
-        background-position: left top;
-        vertical-align: top;
-        text-align: right;
-         padding-right: 1em;
-         }
-.olddarkblue {  background-color: #003399;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-.darkblue {
-        background-color: #000080;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-.darkblueright { 
-        background-color: #000080;
-        background-position: left top;
-        vertical-align: top;
-        text-align: right;
-         }
-.lightgray {
-        background-color: #eeeeee;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-.lightgrayright { 
-        background-color: #eeeeee;
-        background-position: left top;
-        vertical-align: top;
-        text-align: right;
-         }
-.mediumgray {
-        background-color: #cccccc;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-.mediumgrayright { 
-        background-color: #cccccc;
-        background-position: left top;
-        vertical-align: top;
-        text-align: right;
-         }
-.white {
-        background-color: #ffffff;
-        background-position: left top;
-        vertical-align: top;
-        text-align: left;
-         }
-.whiteright { 
-        background-color: #ffffff;
-        background-position: left top;
-        vertical-align: top;
-        text-align: right;
-         }
-.overdue {
-        color: red;
-}
-
-div.messagebody {
-    padding: 2em; 
-
-}
-
-
-div.downloadattachment {
-    font-size: 10px;
-    text-align: right;
-
-}
-
-
-td {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 11px;
-        background-position: left top;
-         }
-.black { background-color: #000000;
-        background-position: left top;
-         }
-span.rtname {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        font-weight: normal;
-        color: #ffffff}
-span.title {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 20px;
-        font-weight: bold;
-        color: #ffffff}
-.header {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        font-weight: bold;
-        color: #0066CC}
-.subheader { font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 11px;
-        font-weight: bold;
-        color: #0066CC }
-.value {       font-weight: bold; }
-.entry {       font-weight: normal; }
-.label {       font-weight: normal;
-              text-align: right; }
-.labeltop {       font-weight: normal;
-              text-align: right;
-              vertical-align: top }
-.productnav {  font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 11px;
-        color: #000000;
-        text-align: center;
-        vertical-align: middle;
-        text-decoration: none}
-.rtblue { background-color: #3399FF;
-         margin-top: 0.2em;
-        background-position: left top;
-        vertical-align: top }
-
-
-.currenttab { margin: 0.2em; background: #336699; }
-.othertab { margin: 0.2em; background: #efefef; }
-.oddline { background-color : #ccccee; }
-
-UL.topnav LI :focus { text-decoration: underline; }
-
-TD.mainbody {
-        padding-top: 0.5em;
-        padding-left: 1em;
-        padding-right: 1em;
-        margin-left: 1em;
-        margin-right: 1em;
-}
-
-td.boxcontainer + td.boxcontainer {
-       margin-left: 1em;
-       padding-left: 1em;
-       border-collapse: collapse;
-}
-
-th.ticketheader { font-size: 80%;
-     font-weight: bold;
-     color: #336699;
-     background: #cccccc; 
-}
-
-th.titlebox {
-        text-align: left;
-        padding-left: 0.5em;
-        padding-right: 0.5em;
-        margin-left: 0.5em;
-        margin-right: 0.5em;
-        border-top: solid black 1px;
-        border-bottom: solid black 1px;
-}    
-th.titleboxright {
-        text-align: right;
-        padding-left: 0.5em;
-        padding-right: 0.5em;
-        margin-left: 0.5em;
-        margin-right: 0.5em;
-        border-top: solid black 1px;
-        border-bottom: solid black 1px;
-}    
-
-TD.titlebox {
-        padding-left: 1em;
-        padding-right: 1em;
-        padding-top: 1em;
-        padding-bottom: 1em;
-}
-
-SPAN.message {
-       font-size: 100%;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-
-BODY {
-  color: #000;
-  background: #FFFFFF;
-  font-family: "Helvetica", sans-serif;
-  margin-top: 0px;
-  margin-bottom: 0px;
-  margin-left: 0px;
-  margin-right: 0px;
-  border-top: 0px;
-  border-bottom: 0px;
-  border-left: 0px;
-  border-right: 0px;
-}
-
-
-TR.oddline { 
-    background-color : #ffffff;
-}
-
-TR.evenline { 
-    background-color : #ccccee;
-}
-
-H1, H2, H3 { 
-  margin-top: 0.2em;
-  color: #336699;
-  font-family: "Helvetica", sans-serif;
-
-  clear: both;
-}
-
-
-DIV.endmatter { margin-left: -7% }
-.bpscredits {margin-top: 1em;
-             text-align: right; 
-             color: #666666;
-             }
-
-
-A { font-weight: bold; color: #000000;
-            }
-
-.currenttab { color: #ffffff;}
-.othertab { color: #336699; }
-
-.inverse { color: #ffffff; }
-
-
-
-A:link IMG, A:visited IMG { border-style: none }
-a:focus {text-decoration: underline }
-A IMG { color: white } /* The only way to hide the border in NS 4.x */
-
-a:link {  text-decoration: none}
-a:visited {  text-decoration: none}  
-a:hover {  text-decoration: underline}
-/* a:focus { background-color: #ccccee } */
-
-.hide {
-  display: none;
-  color: white;
-}
-
-SPAN.date { font-size: 0.8em }
-
-span.title { font-size: 1.6em;
-            vertical-align: middle;
-%#          color: #ffffff;
-             color: #000000;
-           }
-span.productname { font-size: 2em;
-             color: #0066cc;}
-SPAN.titleboxtitle, SPAN.titleboxclose {
-        font-size: 80%;
-        color: #ffffff;
-        vertical-align: middle;
-        text-align: left;
-        }
-SPAN.titleboxtitle a {
-        color: #ffffff;
-}
-SPAN.titleboxtitle a:after {
-       content: "...";
-}
-
-SPAN.titleboxright {
-        font-size: 0.8em;
-        color: #ffffff;
-        vertical-align: middle;
-        text-align: right;
-        }
-
-SPAN.attribution {
-  font-weight: bold;
-}
-
-SPAN.label { font-size: 0.8em; 
-}
-
-DIV.page-stats { font-size: 0.8em;
-                  color: #cccccc;
-                  text-align: right;
-              }
-
-
-BLOCKQUOTE {
-  font-style: italic;
-}
-
-.emphasized {
-  font-weight: bold
-}
-
-
-.oddline { 
-        background-color : #ccccee;
-}
-
-ul.topnav {
-       list-style: none;
-       margin-left: 0;
-       margin-right: 0.25em;           
-       padding-left: 0.25em;
-       padding-bottom: 0;      
-       padding-top:0;
-       margin-top: 0;
-       margin-bottom:0;
-}
-
-.menu-major-separator {
-       border-bottom: solid white 1px;
-       padding-top: .25em;
-       padding-bottom: .5em;
-}
-
-.menu-minor-separator {
-        border-top: solid #999999 1px;
-       padding-top: .1em;
-       margin-top: .5em;
-}
-
-TH.collection-as-table {  text-align: center;
-                          font-size: 0.8em; 
-                          padding-left: .5em;
-                          padding-right: .5em;
-                          color: #333333;
-                          background-color: #cccccc;
-                          white-space: nowrap;
-                  }
-
-TD.collection-as-table {  text-align: left;
-                          padding-left: .5em;
-                          padding-right: .5em;
-                        }
-
-textarea.signature {
-    width: 100%;
-}
-textarea.comments {
-    width: 100%;
-}
-
-textarea.messagebox {
-    width: 100%;
-}
-
-%# Provide a callback for adding/modifying the style sheet.
-%# http://www.w3.org/TR/REC-CSS1 - section 3.2, says:
-%#   "latter specified rule wins"
-<& /Elements/Callback &>
-<%flags>
-inherit => undef
-</%flags>
-<%init>
-$r->content_type('text/css');
-#$r->headers_out->{'Expires'} = '+30m';
-</%init>
diff --git a/rt/html/REST/1.0/Forms/queue/default b/rt/html/REST/1.0/Forms/queue/default
deleted file mode 100644 (file)
index c87c33c..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/queue/default
-%#
-<%ARGS>
-$id
-$format => 's'
-$changes => {}
-</%ARGS>
-<%perl>
-my @comments;
-my ($c, $o, $k, $e) = ("", [], {}, 0);
-my %data = %$changes;
-my $queue = new RT::Queue $session{CurrentUser};
-my @fields = qw(Name Description CorrespondAddress CommentAddress
-                InitialPriority FinalPriority DefaultDueIn);
-my %fields = map { lc $_ => $_ } @fields;
-
-if ($id ne 'new') {
-    $queue->Load($id);
-    if (!$queue->Id) {
-        return [ "# Queue $id does not exist.", [], {}, 1 ];
-    }
-}
-else {
-    if (%data == 0) {
-        return [
-            "# Required: Name",
-            [ "id", @fields ],
-            {
-                id => 'queue/new',
-                Name => '<queue name>',
-                Description => "",
-                CommentAddress => "",
-                CorrespondAddress => "",
-                InitialPriority => "",
-                FinalPriority => "",
-                DefaultDueIn => "",
-            },
-            0
-        ];
-    }
-    else {
-        my %v;
-        my %create = %fields;
-
-        foreach my $k (keys %data) {
-            if (exists $create{lc $k}) {
-                $v{$create{lc $k}} = delete $data{$k};
-            }
-        }
-
-        if ($v{Name} eq '<queue name>') {
-            my %o = keys %$changes;
-            delete @o{"id", @fields};
-            return [
-                "# Please set the queue name.",
-                [ "id", @fields, keys %o ], $changes, 1
-            ];
-        }
-
-        $queue->Create(%v);
-        unless ($queue->Id) {
-            return [ "# Could not create queue.", [], {}, 1 ];
-        }
-
-        delete $data{id};
-        $id = $queue->Id;
-        push(@comments, "# Queue $id created.");
-        goto DONE if %data == 0;
-    }
-}
-
-if (%data == 0) {
-    my @data;
-
-    push @data, [ id => "queue/".$queue->Id ];
-    foreach my $key (@fields) {
-        push @data, [ $key => $queue->$key ];
-    }
-
-    my %k = map {@$_} @data;
-    $o = [ map {$_->[0]} @data ];
-    $k = \%k;
-}
-else {
-    my ($get, $set, $key, $val, $n, $s);
-
-    foreach $key (keys %data) {
-        $val = $data{$key};
-        $key = lc $key;
-        $n = 1;
-
-        if (exists $fields{$key}) {
-            $key = $fields{$key};
-            $set = "Set$key";
-
-            next if $val eq $queue->$key;
-            ($n, $s) = $queue->$set($val);
-        }
-        elsif ($key ne 'id') {
-            $n = 0;
-            $s = "Unknown field.";
-        }
-
-    SET:
-        if ($n == 0) {
-            $e = 1;
-            push @comments, "# $key: $s";
-            unless (@$o) {
-                my %o = keys %$changes;
-                delete @o{"id", @fields};
-                @$o = ("id", @fields, keys %o);
-                $k = $changes;
-            }
-        }
-    }
-
-    push(@comments, "# Queue $id updated.") unless $n == 0;
-}
-
-DONE:
-$c ||= join("\n", @comments) if @comments;
-return [ $c, $o, $k, $e ];
-</%perl>
diff --git a/rt/html/REST/1.0/Forms/queue/ns b/rt/html/REST/1.0/Forms/queue/ns
deleted file mode 100644 (file)
index b0ba003..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/queue/ns
-%#
-<%ARGS>
-$id
-</%ARGS>
-<%perl>
-use RT::Queues;
-
-my $queues = new RT::Queues $session{CurrentUser};
-$queues->Limit(FIELD => 'Name', OPERATOR => '=', VALUE => $id);
-if ($queues->Count == 0) {
-    return (0, "No queue named $id exists.");
-}
-return $queues->Next->Id;
-</%perl>
diff --git a/rt/html/REST/1.0/Forms/ticket/attachments b/rt/html/REST/1.0/Forms/ticket/attachments
deleted file mode 100644 (file)
index ca75ce0..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/ticket/attachments
-%#
-<%ARGS>
-$id
-$args => undef
-</%ARGS>
-<%perl>
-my @data;
-my ($c, $o, $k, $e) = ("", [], {}, "");
-my $ticket = new RT::Ticket $session{CurrentUser};
-
-$ticket->Load($id);
-unless ($ticket->Id) {
-    return [ "# Ticket $id does not exist.", [], {}, 1 ];
-}
-
-my @arglist = split('/', $args);
-my ($aid, $content);
-
-if ($arglist[1] eq 'content') {
-    $aid = $arglist[0];
-    $content = 1;
-} else {
-    $aid = $args;
-    $content = 0;
-}
-
-if ($aid) {
-    unless ($aid =~ /^\d+$/) {
-        return [ "# Invalid attachment id: $aid", [], {}, 1 ];
-    }
-    my $attachment = new RT::Attachment $session{CurrentUser};
-    $attachment->Load($aid);
-    unless ($attachment->Id eq $aid) {
-        return [ "# Invalid attachment id: $aid", [], {}, 1 ];
-    }
-    if ($content) {
-       $c = $attachment->OriginalContent;
-    } else {
-       my @data;
-       push @data, [ id    => $attachment->Id   ];
-       push @data, [ Subject    => $attachment->Subject   ];
-       push @data, [ Creator    => $attachment->Creator   ];
-       push @data, [ Created    => $attachment->Created   ];
-       push @data, [ Transaction    => $attachment->TransactionId   ];
-       push @data, [ Parent    => $attachment->Parent   ];
-       push @data, [ MessageId    => $attachment->MessageId   ];
-       push @data, [ Filename    => $attachment->Filename   ];
-       push @data, [ ContentType    => $attachment->ContentType   ];
-       push @data, [ ContentEncoding    => $attachment->ContentEncoding   ];
-       push @data, [ Headers    => $attachment->Headers   ];
-       push @data, [ Content    => $attachment->Content   ];
-
-       my %k = map {@$_} @data;
-       $o = [ map {$_->[0]} @data ];
-       $k = \%k;
-    }
-
-}
-else {
-    my @attachments;
-    my $transactions = $ticket->Transactions;
-    while (my $t = $transactions->Next) {
-        my $attachments = $t->Attachments;
-        while (my $a = $attachments->Next) {
-            my $size = length($a->Content);
-            if ($size > 1024) { $size  = int($size/102.4)/10 . "k" }
-            else              { $size .= "b" }
-            push @attachments, $a->Id.": ".$a->Filename." (".$a->ContentType . " / ".$size.")";
-        }
-    }
-
-    if (@attachments) {
-        $o = [ "id", "Attachments" ];
-        $k = {
-            id => "ticket/".$ticket->Id."/attachments",
-            Attachments => \@attachments
-        };
-    }
-}
-
-return [ $c, $o, $k, $e ];
-</%perl>
diff --git a/rt/html/REST/1.0/Forms/ticket/default b/rt/html/REST/1.0/Forms/ticket/default
deleted file mode 100644 (file)
index 78f6c95..0000000
+++ /dev/null
@@ -1,298 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/ticket/default
-%#
-<%ARGS>
-$id
-$changes => {}
-$fields => undef
-</%ARGS>
-<%perl>
-use MIME::Entity;
-
-my @comments;
-my ($c, $o, $k, $e) = ("", [], {}, 0);
-my %data   = %$changes;
-my $ticket = new RT::Ticket $session{CurrentUser};
-my @dates  = qw(Created Starts Started Due Resolved Told);
-my @people = qw(Requestors Cc AdminCc);
-my @create = qw(Queue Requestor Subject Cc AdminCc Owner Status Priority
-                InitialPriority FinalPriority TimeEstimated TimeWorked
-                TimeLeft Starts Started Due Resolved);
-my @simple = qw(Subject Status Priority Disabled TimeEstimated TimeWorked
-                TimeLeft InitialPriority FinalPriority);
-my %dates  = map {lc $_ => $_} @dates;
-my %people = map {lc $_ => $_} @people;
-my %create = map {lc $_ => $_} @create;
-my %simple = map {lc $_ => $_} @simple;
-
-# Are we dealing with an existing ticket?
-if ($id ne 'new') {
-    $ticket->Load($id);
-    if (!$ticket->Id) {
-        return [ "# Ticket $id does not exist.", [], {}, 1 ];
-    }
-    elsif (!$ticket->CurrentUserHasRight('ShowTicket') ||
-           (%data && !$ticket->CurrentUserHasRight('ModifyTicket')))
-    {
-        my $act = %data ? "modify" : "display";
-        return [ "# You are not allowed to $act ticket $id.", [], {}, 1 ];
-    }
-}
-else {
-    if (%data == 0) {
-        # GET ticket/new: Return a suitable default form.
-        # We get defaults from queue/1 (XXX: What if it isn't there?).
-        my $due = new RT::Date $session{CurrentUser};
-        my $queue = new RT::Queue $session{CurrentUser};
-        my $starts = new RT::Date $session{CurrentUser};
-        $queue->Load(1);
-        $due->SetToNow;
-        $due->AddDays($queue->DefaultDueIn) if $queue->DefaultDueIn;
-        $starts->SetToNow;
-
-        return [
-            "# Required: Queue, Requestor, Subject",
-            [ qw(id Queue Requestor Subject Cc AdminCc Owner Status Priority
-                 InitialPriority FinalPriority TimeEstimated Starts Due Text) ],
-            {
-                id               => "ticket/new",
-                Queue            => $queue->Name,
-                Requestor        => $session{CurrentUser}->Name,
-                Subject          => "",
-                Cc               => [],
-                AdminCc          => [],
-                Owner            => "",
-                Status           => "new",
-                Priority         => $queue->InitialPriority,
-                InitialPriority  => $queue->InitialPriority,
-                FinalPriority    => $queue->FinalPriority,
-                TimeEstimated    => 0,
-                Starts           => $starts->ISO,
-                Due              => $due->ISO,
-                Text             => "",
-            },
-            0
-        ];
-    }
-    else {
-        # We'll create a new ticket, and fall through to set fields that
-        # can't be set in the call to Create().
-        my (%v, $text);
-
-        foreach my $k (keys %data) {
-            if (exists $create{lc $k}) {
-                $v{$create{lc $k}} = delete $data{$k};
-            }
-            elsif (lc $k eq 'text') {
-                $text = delete $data{$k};
-            }
-        }
-
-        if ($text) {
-            $v{MIMEObj} =
-                MIME::Entity->build(
-                    From => $session{CurrentUser}->EmailAddress,
-                    Subject => $v{Subject},
-                    Data => $text
-                );
-        }
-
-        $ticket->Create(%v);
-        unless ($ticket->Id) {
-            return [ "# Could not create ticket.", [], {}, 1 ];
-        }
-
-        delete $data{id};
-        $id = $ticket->Id;
-        push(@comments, "# Ticket $id created.");
-        goto DONE if %data == 0;
-    }
-}
-
-# Now we know we're dealing with an existing ticket.
-if (%data == 0) {
-    my ($time, $key, $val, @data);
-
-    push @data, [ id    => "ticket/".$ticket->Id   ];
-    push @data, [ Queue => $ticket->QueueObj->Name ] 
-       if (!%$fields || exists $fields->{lc 'Queue'});
-    push @data, [ Owner => $ticket->OwnerObj->Name ]
-       if (!%$fields || exists $fields->{lc 'Owner'});
-    push @data, [ Creator => $ticket->CreatorObj->Name ]
-       if (!%$fields || exists $fields->{lc 'Creator'});
-
-    foreach (qw(Subject Status Priority InitialPriority FinalPriority)) {
-       next unless (!%$fields || (exists $fields->{lc $_}));
-        push @data, [$_ => $ticket->$_ ];
-    }
-
-    foreach $key (@people) {
-       next unless (!%$fields || (exists $fields->{lc $key}));
-        push @data, [ $key => [ $ticket->$key->MemberEmailAddresses ] ];
-    }
-
-    $time = new RT::Date ($session{CurrentUser});
-    foreach $key (@dates) {
-       next unless (!%$fields || (exists $fields->{lc $key}));
-        $time->Set(Format => 'sql', Value => $ticket->$key);
-        push @data, [ $key => $time->AsString ];
-    }
-
-    $time = new RT::Date ($session{CurrentUser});
-    foreach $key (qw(TimeEstimated TimeWorked TimeLeft)) {
-       next unless (!%$fields || (exists $fields->{lc $key}));
-        $val = $ticket->$key || 0;
-        $val = $time->DurationAsString($val*60) if $val;
-        push @data, [ $key => $val ];
-    }
-
-    my %k = map {@$_} @data;
-    $o = [ map {$_->[0]} @data ];
-    $k = \%k;
-}
-else {
-    my ($get, $set, $key, $val, $n, $s);
-
-    foreach $key (keys %data) {
-        $val = $data{$key};
-        $key = lc $key;
-        $n = 1;
-
-        if (ref $val eq 'ARRAY') {
-            unless ($key =~ /^(?:Requestors|Cc|AdminCc)$/i) {
-                $n = 0;
-                $s = "$key may have only one value.";
-                goto SET;
-            }
-        }
-
-        if ($key =~ /^queue$/i) {
-            next if $val eq $ticket->QueueObj->Name;
-            ($n, $s) = $ticket->SetQueue($val);
-        }
-        elsif ($key =~ /^owner$/i) {
-            next if $val eq $ticket->OwnerObj->Name;
-            ($n, $s) = $ticket->SetOwner($val);
-        }
-        elsif (exists $simple{$key}) {
-            $key = $simple{$key};
-            $set = "Set$key";
-
-            next if (($val eq $ticket->$key)|| ($ticket->$key =~ /^\d+$/ && $val == $ticket->$key));
-            ($n, $s) = $ticket->$set("$val");
-        }
-        elsif (exists $dates{$key}) {
-            $key = $dates{$key};
-            $set = "Set$key";
-
-            my $time = new RT::Date $session{CurrentUser};
-            $time->Set(Format => 'sql', Value => $ticket->$key);
-            next if ($val =~ /^not set$/i || $val eq $time->AsString);
-            ($n, $s) = $ticket->$set($val);
-        }
-        elsif (exists $people{$key}) {
-            $key = $people{$key};
-            my ($p, @msgs);
-
-            my %new  = map {$_=>1} @{ vsplit($val) };
-            my %old  = map {$_=>1} $ticket->$key->MemberEmailAddresses;
-            my $type = $key eq 'Requestors' ? 'Requestor' : $key;
-
-            foreach $p (keys %old) {
-                unless (exists $new{$p}) {
-                    ($s, $n) = $ticket->DeleteWatcher(Type => $type,
-                                                      Email => $p);
-                    push @msgs, [ $s, $n ];
-                }
-            }
-            foreach $p (keys %new) {
-                # XXX: This is a stupid test.
-                unless ($p =~ /^[\w.+-]+\@([\w.-]+\.)*\w+.?$/) {
-                    $s = 0;
-                    $n = "$p is not a valid email address.";
-                    push @msgs, [ $s, $n ];
-                    next;
-                }
-                unless ($ticket->IsWatcher(Type => $type, Email => $p)) {
-                    ($s, $n) = $ticket->AddWatcher(Type => $type,
-                                                   Email => $p);
-                    push @msgs, [ $s, $n ];
-                }
-            }
-
-            $n = 1;
-            if (@msgs = grep {$_->[0] == 0} @msgs) {
-                $n = 0;
-                $s = join "\n", map {"# ".$_->[1]} @msgs;
-                $s =~ s/^# //;
-            }
-        }
-        elsif ($key ne 'id' && $key ne 'type' && $key ne 'creator') {
-            $n = 0;
-            $s = "Unknown field.";
-        }
-
-    SET:
-        if ($n == 0) {
-            $e = 1;
-            push @comments, "# $key: $s";
-            unless (@$o) {
-                my %o = keys %$changes;
-                delete $o{id};
-                @$o = ("id", keys %o);
-                $k = $changes;
-            }
-        }
-    }
-    push(@comments, "# Ticket ".$ticket->id." updated.") unless $n == 0;
-}
-
-DONE:
-$c ||= join("\n", @comments) if @comments;
-return [$c, $o, $k, $e];
-
-</%perl>
diff --git a/rt/html/REST/1.0/Forms/ticket/history b/rt/html/REST/1.0/Forms/ticket/history
deleted file mode 100644 (file)
index 4663e97..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/ticket/history
-%#
-<%ARGS>
-$id
-$args => undef
-$format => undef
-$fields => undef
-</%ARGS>
-<%perl>
-my $ticket = new RT::Ticket $session{CurrentUser};
-my ($c, $o, $k, $e) = ("", [], {}, "");
-
-$ticket->Load($id);
-unless ($ticket->Id) {
-    return [ "# Ticket $id does not exist.", [], {}, 1 ];
-}
-
-my $trans = $ticket->Transactions();
-my $total = $trans->Count();
-
-chomp $args;
-my @arglist = split('/', $args);
-my ($type, $tid);
-
-if ($arglist[0] eq 'type') {
-    $type = $arglist[1];
-} elsif ($arglist[0] eq 'id') {
-    $tid = $arglist[1];
-} else {
-    $type = $args;
-}
-
-if ($type) {
-    # Create, Set, Status, Correspond, Comment, Give, Steal, Take, Told
-    # CustomField, AddLink, DeleteLink, AddWatcher, DelWatcher
-    if ($args =~ /^links?$/) {
-        $trans->Limit(FIELD => 'Type', OPERATOR => 'LIKE', VALUE => '%Link');
-    }
-    elsif ($args =~ /^watchers?$/) {
-        $trans->Limit(FIELD => 'Type', OPERATOR => 'LIKE', VALUE => '%Watcher');
-    }
-    else {
-        $trans->Limit(FIELD => 'Type', OPERATOR => '=', VALUE => $type);
-    }
-} elsif ($tid) {
-    $trans->Limit(FIELD => 'Id', OPERATOR => '=', VALUE => $tid);
-}
-
-if ($tid) {
-    my @data;
-    my $t = new RT::Transaction $session{CurrentUser};
-    $t->Load($tid);
-
-    push @data, [ id    => $t->Id   ];
-    push @data, [ Ticket    => $t->Ticket   ]
-       if (!%$fields || exists $fields->{lc 'Ticket'});
-    push @data, [ TimeTaken    => $t->TimeTaken   ]
-       if (!%$fields || exists $fields->{lc 'TimeTaken'});
-    push @data, [ Type    => $t->Type   ]
-       if (!%$fields || exists $fields->{lc 'Type'});
-    push @data, [ Field    => $t->Field   ]
-       if (!%$fields || exists $fields->{lc 'Field'});
-    push @data, [ OldValue    => $t->OldValue   ]
-       if (!%$fields || exists $fields->{lc 'OldValue'});
-    push @data, [ NewValue    => $t->NewValue   ]
-       if (!%$fields || exists $fields->{lc 'NewValue'});
-    push @data, [ Data    => $t->Data   ]
-       if (!%$fields || exists $fields->{lc 'Data'});
-    push @data, [ Description    => $t->Description   ]
-       if (!%$fields || exists $fields->{lc 'Description'});
-    push @data, [ Content    => $t->Content   ]
-       if (!%$fields || exists $fields->{lc 'Content'});
-
-
-    if (!%$fields || exists $fields->{lc 'Content'}) {    
-       my $creator = new RT::User $session{CurrentUser};
-       $creator->Load($t->Creator);
-       push @data, [ Creator    => $creator->Name   ];
-    }
-    push @data, [ Created    => $t->Created   ]
-       if (!%$fields || exists $fields->{lc 'Created'});
-
-    if (!%$fields || exists $fields->{lc 'Attachments'}) {
-       my $attachlist;
-       my $attachments = $t->Attachments;
-       while (my $a = $attachments->Next) {
-           my $size = length($a->Content);
-           if ($size > 1024) { $size  = int($size/102.4)/10 . "k" }
-           else              { $size .= "b" }
-           $attachlist .= "\n" . $a->Id.": ".($a->Filename || "untitled")." (".$size.")";
-       }
-       
-       push @data, [Attachments => $attachlist];
-    }
-
-    my %k = map {@$_} @data;
-    $o = [ map {$_->[0]} @data ];
-    $k = \%k;
-
-} else {
-    my (@data, $tids);
-    $format ||= "s";
-    $format = "l" if (%$fields);
-
-    while (my $t = $trans->Next) {
-       my $tid = $t->Id;
-
-       if ($format eq "l") {
-           $tids .= "," if $tids;
-           $tids .= $tid;
-       } else {
-           push @$o, $tid;
-           $k->{$tid} = $t->Description;
-       }
-    }
-
-    if ($format eq "l") {
-       my @tid;
-       push @tid, "ticket/$id/history/id/$tids";
-       my $fieldstring;
-       foreach my $key (keys %$fields) {
-           $fieldstring .= "," if $fieldstring;
-           $fieldstring .= $key;
-       }
-       my ($content, $forms);
-
-       $m->subexec("$RT::WebPath/REST/1.0/show", 
-                   id => \@tid, 
-                   format => $format,
-                    fields => $fieldstring);
-       return [ $c, $o, $k, $e ];
-    }
-}
-
-if (!$c) {
-    my $sub = $trans->Count();
-    $c = "# $sub/$total ($args/total)";
-}
-
-return [ $c, $o, $k, $e ];
-
-</%perl>
diff --git a/rt/html/REST/1.0/Forms/ticket/links b/rt/html/REST/1.0/Forms/ticket/links
deleted file mode 100644 (file)
index 9f14da4..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/ticket/links
-%#
-<%ARGS>
-$id
-$format => 's'
-$changes => undef
-</%ARGS>
-<%perl>
-my @data;
-my $ticket = new RT::Ticket $session{CurrentUser};
-
-$ticket->Load($id);
-if (!$ticket->Id) {
-    return [ "# Ticket $id does not exist.", [], {}, 1 ];
-}
-
-my ($c, $o, $k, $e) = ("", [], {}, 0);
-my @fields = qw(DependsOn DependedOnBy RefersTo ReferredToBy Members MemberOf);
-my %fields = map { lc $_ => $_ } @fields;
-
-my %lfields = (
-    Members      => { Type => 'MemberOf',  Mode => 'Base'   },
-    ReferredToBy => { Type => 'RefersTo',  Mode => 'Base'   },
-    DependedOnBy => { Type => 'DependsOn', Mode => 'Base'   },
-    MemberOf     => { Type => 'MemberOf',  Mode => 'Target' },
-    RefersTo     => { Type => 'RefersTo',  Mode => 'Target' },
-    DependsOn    => { Type => 'DependsOn', Mode => 'Target' },
-);
-
-if ($changes) {
-    my ($get, $set, $key, $val, $n, $s);
-    my %data = %$changes;
-    my @comments;
-
-    foreach $key (keys %data) {
-        $val = $data{$key};
-        $key = lc $key;
-        $n = 1;
-
-        if (exists $fields{$key}) {
-            $key = $fields{$key};
-
-            my %old;
-            my $field = $lfields{$key}->{Mode};
-            while (my $link = $ticket->$key->Next) {
-                $old{$link->$field} = 1;
-            }
-
-            my %new;
-            foreach my $nkey (@{vsplit($val)}) {
-                if ($nkey =~ /^\d+$/) {
-                    my $uri = new RT::URI $session{CurrentUser};
-                    my $tick = new RT::Ticket $session{CurrentUser};
-                    $tick->Load($nkey);
-                    if ($tick->Id) {
-                        $nkey = $uri->FromObject($tick);
-                    }
-                    else {
-                        $n = 0;
-                        $s = "Ticket $nkey does not exist.";
-                        goto SET;
-                    }
-                }
-                $new{$nkey} = 1;
-            }
-
-            foreach my $u (keys %old) {
-                if (exists $new{$u}) {
-                    delete $new{$u};
-                }
-                else {
-                    my $type = $lfields{$key}->{Type};
-                    my $mode = $lfields{$key}->{Mode};
-                    ($n, $s) = $ticket->DeleteLink(Type => $type, $mode => $u);
-                    goto SET;
-                }
-            }
-            foreach my $u (keys %new) {
-                my $type = $lfields{$key}->{Type};
-                my $mode = $lfields{$key}->{Mode};
-                ($n, $s) = $ticket->AddLink(Type => $type, $mode => $u);
-                goto SET;
-            }
-        }
-        elsif ($key ne 'id' && $key ne 'type') {
-            $n = 0;
-            $s = "Unknown field: $key";
-        }
-
-    SET:
-        if ($n == 0) {
-            $e = 1;
-            push @comments, "# $key: $s";
-            unless (@$o) {
-                @$o = ("id", @fields);
-                %$k = %data;
-            }
-        }
-    }
-
-    push(@comments, "# Links for ticket $id updated.") unless @comments;
-    $c = join("\n", @comments) if @comments;
-}
-else {
-    my @data;
-
-    push @data, [ id => "ticket/".$ticket->Id."/links" ];
-    foreach my $key (@fields) {
-        my @val;
-
-        my $field = $lfields{$key}->{Mode};
-        while (my $link = $ticket->$key->Next) {
-            push @val, $link->$field;
-        }
-        push(@val, "") if (@val == 0 && $format eq 'l');
-        push @data, [ $key => [ @val ] ] if @val;
-    }
-
-    my %k = map {@$_} @data;
-    $o = [ map {$_->[0]} @data ];
-    $k = \%k;
-}
-
-return [ $c, $o, $k, $e ];
-</%perl>
diff --git a/rt/html/REST/1.0/Forms/user/default b/rt/html/REST/1.0/Forms/user/default
deleted file mode 100644 (file)
index ad2ebd5..0000000
+++ /dev/null
@@ -1,186 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/user/default
-%#
-<%ARGS>
-$id
-$format => 's'
-$changes => {}
-</%ARGS>
-<%perl>
-my @comments;
-my ($c, $o, $k, $e) = ("", [], {}, 0);
-my %data = %$changes;
-my $user = new RT::User $session{CurrentUser};
-my @fields = qw(RealName NickName Gecos Organization Address1 Address2 City
-                State Zip Country HomePhone WorkPhone MobilePhone PagerPhone
-                FreeformContactInfo Comments Signature Lang EmailEncoding
-                WebEncoding ExternalContactInfoId ContactInfoSystem
-                ExternalAuthId AuthSystem);
-my %fields = map { lc $_ => $_ } @fields;
-
-if ($id ne 'new') {
-    $user->Load($id);
-    if (!$user->Id) {
-        return [ "# User $id does not exist.", [], {}, 1 ];
-    }
-}
-else {
-    if (%data == 0) {
-        return [
-            "# Required: Name, EmailAddress",
-            [ qw(id Name EmailAddress Organization Password Comments) ],
-            {
-                id => "user/new",
-                Name => "",
-                EmailAddress => "",
-                Organization => "",
-                Password => "",
-                Comments => ""
-            },
-            0
-        ];
-    }
-    else {
-        my %v;
-        my %create = %fields;
-        $create{name}         = "Name";
-        $create{password}     = "Password";
-        $create{emailaddress} = "EmailAddress";
-        $create{contactinfo}  = "FreeformContactInfo";
-        # Do any fields need to be excluded here?
-
-        foreach my $k (keys %data) {
-            if (exists $create{lc $k}) {
-                $v{$create{lc $k}} = delete $data{$k};
-            }
-        }
-
-        $user->Create(%v);
-        unless ($user->Id) {
-            return [ "# Could not create user.", [], {}, 1 ];
-        }
-
-        $id = $user->Id;
-        delete $data{id};
-        push(@comments, "# User $id created.");
-        goto DONE if %data == 0;
-    }
-}
-
-if (%data == 0) {
-    my @data;
-
-    push @data, [ id => "user/".$user->Id ];
-    push @data, [ Name => $user->Name ];
-    push @data, [ Password => '********' ];
-    push @data, [ EmailAddress => $user->EmailAddress ];
-
-    foreach my $key (@fields) {
-        my $val = $user->$key;
-
-        if ($format eq 'l' || (defined $val && $val ne '')) {
-            $key = "ContactInfo" if $key eq 'FreeformContactInfo';
-            push @data, [ $key => $val ];
-        }
-    }
-
-    my %k = map {@$_} @data;
-    $o = [ map {$_->[0]} @data ];
-    $k = \%k;
-}
-else {
-    my ($get, $set, $key, $val, $n, $s);
-
-    foreach $key (keys %data) {
-        $val = $data{$key};
-        $key = lc $key;
-        $n = 1;
-
-        if ($key eq 'name' || $key eq 'emailaddress' ||
-            $key eq 'contactinfo' || exists $fields{$key})
-        {
-            if (exists $fields{$key}) {
-                $key = $fields{$key};
-            }
-            else {
-                $key = "FreeformContactInfo" if $key eq 'contactinfo';
-                $key = "EmailAddress" if $key eq 'emailaddress';
-                $key = "Name" if $key eq 'name';
-            }
-            $set = "Set$key";
-
-            next if $val eq $user->$key;
-            ($n, $s) = $user->$set($val);
-        }
-        elsif ($key eq 'password') {
-            ($n, $s) = $user->SetPassword($val) unless $val =~ /^\**$/;
-        }
-        elsif ($key ne 'id') {
-            $n = 0;
-            $s = "Unknown field.";
-        }
-
-    SET:
-        if ($n == 0) {
-            $e = 1;
-            push @comments, "# $key: $s";
-            unless (@$o) {
-                my %o = keys %$changes;
-                delete @o{"id", @fields};
-                @$o = ("id", @fields, keys %o);
-                $k = $changes;
-            }
-        }
-    }
-
-    push(@comments, "# User $id updated.") unless $n == 0;
-}
-
-DONE:
-$c ||= join("\n", @comments) if @comments;
-return [ $c, $o, $k, $e ];
-</%perl>
diff --git a/rt/html/REST/1.0/Forms/user/ns b/rt/html/REST/1.0/Forms/user/ns
deleted file mode 100644 (file)
index 4061563..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/Forms/user/ns
-%#
-<%ARGS>
-$id
-</%ARGS>
-<%perl>
-use RT::Users;
-
-my $field = "Name";
-$field = "EmailAddress" if $id =~ /\@/;
-
-my $users = new RT::Users $session{CurrentUser};
-$users->Limit(FIELD => $field, OPERATOR => '=', VALUE => $id);
-if ($users->Count == 0) {
-    return (0, "No user named $id exists.");
-}
-return $users->Next->Id;
-</%perl>
diff --git a/rt/html/REST/1.0/NoAuth/mail-gateway b/rt/html/REST/1.0/NoAuth/mail-gateway
deleted file mode 100644 (file)
index 5252c19..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%flags>
-inherit => undef # inhibit UTF8 conversion done in /autohandler
-</%flags>
-<%ARGS>
-$queue => 1
-$action => "correspond"
-$ticket => undef
-</%ARGS>
-<%init>
-use RT::Interface::Email; 
-$r->content_type('text/plain; charset=utf-8');
-$m->error_format('text');
-my ( $status, $error, $Ticket ) = RT::Interface::Email::Gateway(\%ARGS);
- if ($status == -75 ) {
-$m->out("temporary failure - ". $error);
- }
-    elsif ($status == 1) {
-$m->out('ok');
-        if ( $Ticket->Id ) {
-$m->out('Ticket: '. $Ticket->Id);
-$m->out('Queue: '. $Ticket->QueueObj->Name );
-$m->out('Owner: '. $Ticket->OwnerObj->Name);
-$m->out('Status: '. $Ticket->Status );
-$m->out('Subject: '. $Ticket->Subject );
-$m->out('Requestor: '. $Ticket->Requestors->MemberEmailAddressesAsString );
-        }
- }   else { 
-$m->out('not ok - '.$error);
- }
-
-$m->abort();
-</%init>
diff --git a/rt/html/REST/1.0/autohandler b/rt/html/REST/1.0/autohandler
deleted file mode 100644 (file)
index 8e3fb16..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/autohandler
-%#
-<%INIT>
-use RT::Interface::REST;
-$r->content_type('text/plain; charset=utf-8');
-$m->error_format('text');
-$m->call_next();
-$m->abort();
-</%INIT>
diff --git a/rt/html/REST/1.0/dhandler b/rt/html/REST/1.0/dhandler
deleted file mode 100644 (file)
index 6cf45b0..0000000
+++ /dev/null
@@ -1,309 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/dhandler
-%#
-<%ARGS>
-@id => ()
-$fields => undef
-$format => undef
-$content => undef
-</%ARGS>
-<%INIT>
-use RT::Interface::REST;
-
-my $output = "";
-my $status = "200 Ok";
-my $object = $m->dhandler_arg;
-
-my $name   = qr{[\w.-]+};
-my $list   = '(?:(?:\d+-)?\d+,)*(?:\d+-)?\d+';
-my $label  = '[a-zA-Z0-9@_.+-]+';
-my $field  = '[a-zA-Z][a-zA-Z0-9_-]*';
-my $labels = "(?:$label,)*$label";
-
-# We must handle requests such as the following:
-#
-# 1. http://.../REST/1.0/show (with a list of object specifications).
-# 2. http://.../REST/1.0/edit (with a self-contained list of forms).
-# 3. http://.../REST/1.0/ticket/show (implicit type specification).
-#    http://.../REST/1.0/ticket/edit
-# 4. http://.../REST/1.0/ticket/nn (all possibly with a single form).
-#    http://.../REST/1.0/ticket/nn/history
-#    http://.../REST/1.0/ticket/nn/attachment/1
-#
-# Objects are specified by their type, and either a unique numeric ID,
-# or a unique name (e.g. ticket/1, queue/foo). Multiple objects of the
-# same type may be specified by a comma-separated list of identifiers
-# (e.g., user/ams,rai or ticket/1-3,5-7).
-#
-# Ultimately, we want a list of object specifications to operate upon.
-# The URLs in (4) provide enough information to identify an object. We
-# will assemble submitted information into that format in other cases.
-#
-my (@objects, $forms);
-my $utype;
-
-if ($object eq 'show' ||                                # $REST/show
-    (($utype) = ($object =~ m{^($name)/show$})))        # $REST/ticket/show
-{
-    # We'll convert type/range specifications ("ticket/1-3,7-9/history")
-    # into a list of singular object specifications ("ticket/1/history").
-    # If the URL specifies a type, we'll accept only that one.
-    foreach my $id (@id) {
-        $id =~ s|^(?:$utype/)?|$utype/| if $utype;
-        if (my ($type, $oids, $extra) =
-            ($id =~ m#^($name)/($list|$labels)(?:(/.*))?$#o))
-        {
-           foreach my $oid (expand_list($oids)) {
-               if ($extra =~ m{^(?:/($name)(?:/(.*))?)?$}o) {
-                   my ($attr, $args) = ($1, $2);
-                   # expand transaction and attachment range specifications
-                   # (if applicable)
-                   my $tids;
-                   if ($attr eq 'history' && $args =~ m#id/(\d.*)#o) {
-                       $tids = $1;
-                   }
-                   if ($tids) {
-                       push(@objects, "$type/$oid/$attr/id/$_") for expand_list($tids);
-                   } else {
-                       push(@objects, "$type/$oid$extra");
-                   }
-               }
-           }
-       }
-        else {
-            $status = "400 Bad Request";
-            $output = "Invalid object ID specified: '$id'";
-            goto OUTPUT;
-        }
-    }
-}
-elsif ($object eq 'edit' ||                             # $REST/edit
-    (($utype) = ($object =~ m{^($name)/edit$})))        # $REST/ticket/edit
-{
-    # We'll make sure each of the submitted forms is syntactically valid
-    # and sufficiently identifies an object to operate upon, then add to
-    # the object list as above.
-    my @output;
-
-    $forms = form_parse($content);
-    foreach my $form (@$forms) {
-        my ($c, $o, $k, $e) = @$form;
-
-        if ($e) {
-            push @output, [ "# Syntax error.", $o, $k, $e ];
-        }
-        else {
-            my ($type, $id);
-
-            # Look for matching types in the ID, form, and URL.
-            $type = exists $k->{type} ? $k->{type} : $utype;
-            $type =~ s|^(?:$utype)?|$utype/| if $utype;
-            $type =~ s|/$||;
-
-            if (exists $k->{id}) {
-                $id = $k->{id};
-                $id =~ s|^(?:$type/)?|$type/| if $type;
-
-                if ($id =~ m#^$name/(?:$label|\d+)(?:/.*)?#o) {
-                    push @objects, $id;
-                }
-                else {
-                    push @output, [ "# Invalid object ID: '$id'", $o, $k, $e ];
-                }
-            }
-            else {
-                push @output, [ "# No object ID specified.", $o, $k, $e ];
-            }
-        }
-    }
-    # If we saw any errors at this stage, we won't process any part of
-    # the submitted data.
-    if (@output) {
-        unshift @output, [ "# Please resubmit with errors corrected." ];
-        $status = "409 Syntax Error";
-        $output = form_compose(\@output);
-        goto OUTPUT;
-    }
-}
-else {
-    # We'll assume that this is in the correct format already. Otherwise
-    # it will be caught by the loop below.
-    push @objects, $object;
-
-    if ($content) {
-        $forms = form_parse($content);
-
-        if (@$forms > 1) {
-            $status = "400 Bad Request";
-            $output = "You may submit only one form to this object.";
-            goto OUTPUT;
-        }
-
-        my ($c, $o, $k, $e) = @{ $forms->[0] };
-        if ($e) {
-            $status = "409 Syntax Error";
-            $output = form_compose([ ["# Syntax error.", $o, $k, $e] ]);
-            goto OUTPUT;
-        }
-    }
-}
-
-# Make sure we have something to do.
-unless (@objects) {
-    $status = "400 Bad Request";
-    $output = "No objects specified.";
-    goto OUTPUT;
-}
-
-# Parse and validate any field specifications.
-my (%fields, @fields);
-if ($fields) {
-    unless ($fields =~ /^(?:$field,)*$field$/) {
-        $status = "400 Bad Request";
-        $output = "Invalid field specification: $fields";
-        goto OUTPUT;
-    }
-    @fields = map lc, split /,/, $fields;
-    @fields{@fields} = ();
-    unless (exists $fields{id}) {
-        unshift @fields, "id";
-        $fields{id} = ();
-    }
-}
-
-my (@comments, @output);
-
-foreach $object (@objects) {
-    my ($handler, $type, $id, $attr, $args);
-    my ($c, $o, $k, $e) = ("", ["id"], {id => $object}, 0);
-
-    my $i = 0;
-    if ($object =~ m{^($name)/(\d+|$label)(?:/($name)(?:/(.*))?)?$}o ||
-        $object =~ m{^($name)/(new)$}o)
-    {
-        ($type, $id, $attr, $args) = ($1, $2, ($3 || 'default'), $4);
-        $handler = "Forms/$type/$attr";
-
-        unless ($m->comp_exists($handler)) {
-            $args = "$attr/$args";
-            $handler = "Forms/$type/default";
-
-            unless ($m->comp_exists($handler)) {
-                $i = 2;
-                $c = "# Unknown object type: $type";
-            }
-        }
-        elsif ($id ne 'new' && $id !~ /^\d+$/) {
-            my $ns = "Forms/$type/ns";
-
-            # Can we resolve named objects?
-            unless ($m->comp_exists($ns)) {
-                $i = 3;
-                $c = "# Objects of type $type must be specified by numeric id.";
-            }
-            else {
-                my ($n, $s) = $m->comp("Forms/$type/ns", id => $id);
-                if ($n <= 0) { $i = 4; $c = "# $s"; }
-                else         { $i = 0; $id = $n;    }
-            }
-        }
-        else {
-            $i = 0;
-        }
-    }
-    else {
-        $i = 1;
-        $c = "# Invalid object specification: '$object'";
-    }
-
-    if ($i != 0) {
-        if ($content) {
-            (undef, $o, $k, $e) = @{ shift @$forms };
-        }
-        push @output, [ $c, $o, $k ];
-        next;
-    }
-
-    unless ($content) {
-        my $d = $m->comp($handler, id => $id, args => $args, format => $format, fields => \%fields);
-        my ($c, $o, $k, $e) = @$d;
-
-        if (!$e && @$o && keys %fields) {
-            my %lk = map { lc $_ => $_ } keys %$k;
-            @$o = map { $lk{$_} } @fields;
-            foreach my $key (keys %$k) {
-                delete $k->{$key} unless exists $fields{lc $key};
-            }
-        }
-        push(@output, [ $c, $o, $k ]) if ($c || @$o || keys %$k);
-    }
-    else {
-        my ($c, $o, $k, $e) = @{ shift @$forms };
-        my $d = $m->comp($handler, id => $id, args => $args, format => $format,
-                         changes => $k);
-        ($c, $o, $k, $e) = @$d;
-
-        # We won't pass $e through to compose, trusting instead that the
-        # handler added suitable comments for the user.
-        if ($e) {
-            $status = "409 Syntax Error" if @$o;
-            push @output, [ $c, $o, $k ];
-        }
-        else {
-            push @comments, $c;
-        }
-    }
-}
-
-unshift(@output, [ join "\n", @comments ]) if @comments;
-$output = form_compose(\@output);
-
-OUTPUT:
-</%INIT>
-RT/<% $RT::VERSION %> <% $status %>
-
-<% $output |n %>
diff --git a/rt/html/REST/1.0/logout b/rt/html/REST/1.0/logout
deleted file mode 100644 (file)
index 470cb09..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%PERL>
-tied(%session)->delete if (defined %session);
-</%PERL>
-RT/<% $RT::VERSION %> 200 Ok
diff --git a/rt/html/REST/1.0/search/dhandler b/rt/html/REST/1.0/search/dhandler
deleted file mode 100644 (file)
index 1915a46..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/search/dhandler
-%#
-<%INIT>
-my $status = "500 Server Error";
-my $output = "Unsupported object type.";
-</%INIT>
-RT/<% $RT::VERSION %> <% $status %>
-
-<% $output |n %>
diff --git a/rt/html/REST/1.0/search/ticket b/rt/html/REST/1.0/search/ticket
deleted file mode 100644 (file)
index d0ab59e..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/search/ticket
-%#
-<%ARGS>
-$query
-$format => undef
-$orderby => undef
-$fields => undef
-</%ARGS>
-<%INIT>
-my $output = "";
-my $status = "200 Ok";
-my $tickets = new RT::Tickets $session{CurrentUser};
-
-# Parse and validate any field specifications.
-my $field  = '[a-zA-Z][a-zA-Z0-9_-]*';
-my (%fields, @fields);
-if ($fields) {
-    $format = "l";
-    unless ($fields =~ /^(?:$field,)*$field$/) {
-        $status = "400 Bad Request";
-        $output = "Invalid field specification: $fields";
-        goto OUTPUT;
-    }
-    @fields = map lc, split /,/, $fields;
-    @fields{@fields} = ();
-    unless (exists $fields{id}) {
-        unshift @fields, "id";
-        $fields{id} = ();
-    }
-}
-
-$format ||= "s";
-if ($format !~ /^[isl]$/) {
-    $status = "400 Bad request";
-    $output = "Unknown listing format: $format. (Use i, s, or l.)\n";
-    goto OUTPUT;
-}
-
-my ($n, $s);
-eval {
-    ($n, $s) = $tickets->FromSQL($query);
-};
-my $sortstring = "";
-if ($orderby) {
-    $sortstring = 'FIELD => ';
-    my $order = substr($orderby, 0, 1);
-    if ($order eq '+' || $order eq '-') {
-       $sortstring .= 'substr($orderby, 1)';
-       if ($order eq '+') {
-           $sortstring .= ", ORDER => 'ASC'";
-       } elsif ($order eq '-') {
-           $sortstring .= ", ORDER => 'DESC'";
-       }
-    } else {
-       $sortstring .= '$orderby';
-    }
-    my $foo = 'FIELD => ';
-    $foo .= '$orderby';
-    $tickets->OrderBy(eval $sortstring);
-}
-if ($@ || $n == 0) {
-    $s ||= $@;
-    $status = "400 Bad request";
-    $output = "Invalid query: '$s'.\n";
-    goto OUTPUT;
-}
-
-$n = 0;
-my @output;
-while (my $ticket = $tickets->Next) {
-    $n++;
-
-    if ($format eq "i") {
-        $output .= "ticket/" . $ticket->Id . "\n";
-    }
-    elsif ($format eq "s") {
-        $output .= $ticket->Id . ": ". $ticket->Subject . "\n";
-    }
-    else {
-       my $id = $ticket->Id;
-        my $d = $m->comp("$RT::WebPath/REST/1.0/Forms/ticket/default", id => $id, format => $format, fields => \%fields);
-        my ($c, $o, $k, $e) = @$d;
-       push @output, [ $c, $o, $k ];
-    }
-}
-if ($n == 0 && $format ne "i") {
-    $output = "No matching results.\n";
-}
-
-$output = form_compose(\@output) if @output;
-
-OUTPUT:
-$m->out("RT/". $RT::VERSION . " " . $status ."\n\n");
-
-$m->out($output );
-</%INIT>
diff --git a/rt/html/REST/1.0/ticket/comment b/rt/html/REST/1.0/ticket/comment
deleted file mode 100644 (file)
index e27bfcc..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/ticket/comment
-%#
-<%ARGS>
-$content
-</%ARGS>
-<%INIT>
-use MIME::Entity;
-use LWP::MediaTypes;
-use RT::Interface::REST;
-use File::Temp qw(tempfile);
-
-my $ticket = new RT::Ticket $session{CurrentUser};
-my $object = $r->path_info;
-my $status = "200 Ok";
-my $output;
-my $action;
-
-# http://.../REST/1.0/ticket/comment/1
-my ($c, $o, $k, $e) = @{ form_parse($content)->[0] };
-if ($e || !$o) {
-    if (!$o) {
-        $output = "Empty form submitted.\n";
-    }
-    else {
-        $c = "# Syntax error.";
-        $output = form_compose([[$c, $o, $k, $e]]);
-    }
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-
-$object =~ s#^/##;
-$object ||= $k->{Ticket};
-unless ($object =~ /^\d+/) {
-    $output = "Invalid ticket id: `$object'.\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-if ($k->{Ticket} && $object ne $k->{Ticket}) {
-    $output = "The submitted form and URL specify different tickets.\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-
-($action = $k->{Action}) =~ s/^(.)(.*)$/\U$1\L$2\E/;
-unless ($action =~ /^(?:Comment|Correspond)$/) {
-    $output = "Invalid action: `$action'.\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-
-my $text = $k->{Text};
-my @atts = @{ vsplit($k->{Attachment}) };
-
-if (!$k->{Text} && @atts == 0) {
-        $status = "400 Bad Request";
-        $output = "Empty comment with no attachments submitted.\n";
-        goto OUTPUT;
-}
-
-my $cgi = $m->cgi_object;
-my $ent = MIME::Entity->build(Type => "multipart/mixed");
-$ent->attach(Data => $k->{Text}) if $k->{Text};
-
-my $i = 1;
-foreach my $att (@atts) {
-    local $/=undef;
-    my $file = $att;
-    $file =~ s#^.*[\\/]##;
-
-    my $fh = $cgi->upload("attachment_$i");
-    if ($fh) {
-        my $buf;
-        my ($w, $tmp) = tempfile();
-        my $info = $cgi->uploadInfo();
-
-        while (sysread($fh, $buf, 8192)) {
-            syswrite($w, $buf);
-        }
-
-        $ent->attach(
-            Path => $tmp,
-            Type => $info->{'Content-Type'} || guess_media_type($tmp),
-            Filename => $file,
-            Disposition => "attachment"
-        );
-    }
-    else {
-        $status = "400 Bad Request";
-        $output = "No attachment for $att.\n";
-        goto OUTPUT;
-    }
-
-    $i++;
-}
-
-$ticket->Load($object);
-unless ($ticket->Id) {
-    $output = "Couldn't load ticket id: `$object'.\n";
-    $status = "404 Ticket not found";
-    goto OUTPUT;
-}
-unless ($ticket->CurrentUserHasRight('ModifyTicket') ||
-        ($action eq "Comment" &&
-         $ticket->CurrentUserHasRight("CommentOnTicket")) ||
-        ($action eq "Correspond" &&
-         $ticket->CurrentUserHasRight("ReplyToTicket")))
-{
-    $output = "You are not allowed to $action on ticket $object.\n";
-    $status = "403 Permission denied";
-    goto OUTPUT;
-}
-
-my $cc = join ", ", @{ vsplit($k->{Cc}) };
-my $bcc = join ", ", @{ vsplit($k->{Bcc}) };
-my ($n, $s) = $ticket->$action(MIMEObj => $ent,
-                               CcMessageTo => $cc,
-                               BccMessageTo => $bcc,
-                               TimeTaken => $k->{TimeWorked} || 0);
-$output = $s;
-if ($k->{Status}) {
-   my  ($status_n, $status_s) = $ticket->SetStatus($k->{'Status'} );   
-  $output .= "\n".$status_s;
-}
-
-OUTPUT:
-</%INIT>
-RT/<% $RT::VERSION %> <% $status %>
-
-<% $output |n %>
diff --git a/rt/html/REST/1.0/ticket/link b/rt/html/REST/1.0/ticket/link
deleted file mode 100644 (file)
index 6556a5e..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/ticket/link
-%#
-<%ARGS>
-$id => undef
-$del => 0
-$rel
-$to
-</%ARGS>
-<%INIT>
-use RT::Interface::REST;
-
-my $output;
-my $status = "200 Ok";
-my $ticket = new RT::Ticket $session{CurrentUser};
-my $object = $r->path_info;
-
-my @fields = qw(DependsOn DependedOnBy RefersTo ReferredToBy HasMember MemberOf);
-my %fields = map { lc $_ => $_ } @fields;
-my %lfields = (
-    HasMember    => { Type => 'MemberOf',  Mode => 'Base'   },
-    ReferredToBy => { Type => 'RefersTo',  Mode => 'Base'   },
-    DependedOnBy => { Type => 'DependsOn', Mode => 'Base'   },
-    MemberOf     => { Type => 'MemberOf',  Mode => 'Target' },
-    RefersTo     => { Type => 'RefersTo',  Mode => 'Target' },
-    DependsOn    => { Type => 'DependsOn', Mode => 'Target' },
-);
-
-# http://.../REST/1.0/ticket/link/1
-
-$object =~ s#^/##;
-if ($id && $object && $id != $object) {
-    $output = "Different ids in URL (`$object') and submitted form (`$id').\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-$id ||= $object;
-unless ($id =~ /^\d+$/ && $to =~ /^\d+$/) {
-    my $bad = ($id !~ /^\d+$/) ? $id : $to;
-    $output = $r->path_info. "\n";
-    $output .= "Invalid ticket id: '$bad'.\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-unless (exists $fields{lc $rel}) {
-    $output = "Invalid link: '$rel'.\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-$rel = $fields{lc $rel};
-
-$ticket->Load($id);
-unless ($ticket->Id) {
-    $output = "Couldn't load ticket id: '$id'.\n";
-    $status = "404 Ticket not found";
-    goto OUTPUT;
-}
-
-my $type = $lfields{$rel}->{Type};
-my $mode = $lfields{$rel}->{Mode};
-
-my $n = 1;
-my $op = $del ? "DeleteLink" : "AddLink";
-
-($n, $output) = $ticket->$op(Type => $type, $mode => $to);
-if ($n == 0) {
-    $status = "500 Error";
-}
-
-OUTPUT:
-</%INIT>
-RT/<% $RT::VERSION %> <% $status %>
-
-<% $output |n %>
diff --git a/rt/html/REST/1.0/ticket/merge b/rt/html/REST/1.0/ticket/merge
deleted file mode 100644 (file)
index 3db5211..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# REST/1.0/ticket/merge
-%#
-<%ARGS>
-$id => undef
-$into
-</%ARGS>
-<%INIT>
-use RT::Interface::REST;
-
-my $output;
-my $status = "200 Ok";
-my $ticket = new RT::Ticket $session{CurrentUser};
-my $object = $r->path_info;
-
-# http://.../REST/1.0/ticket/merge/1
-
-$object =~ s#^/##;
-if ($id && $object && $id != $object) {
-    $output = "Different ids in URL (`$object') and submitted form (`$id').\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-$id ||= $object;
-unless ($id =~ /^\d+$/ && $into =~ /^\d+$/) {
-    my $bad = ($id !~ /^\d+$/) ? $id : $into;
-    $output = $r->path_info. "\n";
-    $output .= "Invalid ticket id: `$bad'.\n";
-    $status = "400 Bad Request";
-    goto OUTPUT;
-}
-
-$ticket->Load($id);
-unless ($ticket->Id) {
-    $output = "Couldn't load ticket id: `$id'.\n";
-    $status = "404 Ticket not found";
-    goto OUTPUT;
-}
-unless ($ticket->CurrentUserHasRight('ModifyTicket')) {
-    $output = "You are not allowed to modify ticket $id.\n";
-    $status = "403 Permission denied";
-    goto OUTPUT;
-}
-
-my ($n, $s) = $ticket->MergeInto($into);
-
-if ($n == 0) {
-    $status = "500 Error";
-}
-$output = $s;
-
-OUTPUT:
-</%INIT>
-RT/<% $RT::VERSION %> <% $status %>
-
-<% $output |n %>
diff --git a/rt/html/Search/Build.html b/rt/html/Search/Build.html
deleted file mode 100644 (file)
index cb64626..0000000
+++ /dev/null
@@ -1,849 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%#
-%# Data flow here:
-%#   The page receives a Query from the previous page, and maybe arguments
-%#   corresponding to actions.  (If it doesn't get a Query argument, it pulls
-%#   one out of the session hash.  Also, it could be getting just a raw query from
-%#   Build/Edit.html (Advanced).)
-%#
-%#   After doing some stuff with default arguments and saved searches, the ParseQuery
-%#   function (which is similar to, but not the same as, _parser in RT/Tickets_Overlay_SQL)
-%#   converts the Query into a RT::Interface::Web::QueryBuilder::Tree.  This mason file
-%#   then adds stuff to or modifies the tree based on the actions that had been requested
-%#   by clicking buttons.  It then calls GetQueryAndOptionList on the tree to generate
-%#   the SQL query (which is saved as a hidden input) and the option list for the Clauses
-%#   box in the top right corner.
-%#
-%#   Worthwhile refactoring: the tree manipulation code for the actions could use some cleaning
-%#   up.  The node-adding code is different in the "add" actions from in ParseQuery, which leads
-%#   to things like ParseQuery correctly not quoting numbers in numerical fields, while the "add"
-%#   action does quote it (this breaks SQLite).
-%#
-<& /Elements/Header, Title => $title &>
-<& /Ticket/Elements/Tabs, 
-    current_tab => "Search/Build.html".$QueryString, 
-    Title => $title,
-    Format => $Format,
-    Query => $Query,
-    Order => $Order,
-    OrderBy => $OrderBy,
-    Rows => $RowsPerPage
-&>
-
-<FORM METHOD="POST" ACTION="Build.html" NAME="BuildQuery">
-<input type=hidden name=SearchId value="<%$SearchId%>">
-<input type=hidden name=Query value="<%$Query%>">
-<input type=hidden name=Format value="<%$Format%>">
-<table width=100% border="0" cellpadding="5">
-<tr valign="top">
-<td class="boxcontainer" rowspan="2" width="65%">
-<& Elements/PickCriteria, query => $Query, cfqueues => $queues &>
-<& /Elements/Submit, Caption => loc('Add additional criteria'), Label => loc('Add'), Name => 'AddClause'&>
-</td>
-
-<td>
-<& Elements/EditQuery,
-    %ARGS,
-    actions => \@actions,
-    optionlist => $optionlist,
-    Description => $Description &>
-</td>
-</tr>
-
-<tr valign="top">
-<td>
-<& Elements/EditSearches, CurrentSearch => $search_hash, Dirty => $dirty, SearchId => $SearchId &>
-</td>
-</tr>
-
-<tr>
-<td colspan=2 class="boxcontainer">
-
-<& Elements/DisplayOptions, %ARGS, Format=> $Format,
-AvailableColumns => $AvailableColumns,  CurrentFormat => $CurrentFormat, RowsPerPage => $RowsPerPage, OrderBy => $OrderBy, Order => $Order &>
-</td>
-</tr>
-<tr>
-<td colspan=2 class="boxcontainer">
-<& /Elements/Submit, Caption => loc("Do the Search"), Label => loc('Search'), Name => 'DoSearch'&>
-</td>
-</tr>
-</table>
-</FORM>
-
-<%INIT>
-use RT::Interface::Web::QueryBuilder;
-use RT::Interface::Web::QueryBuilder::Tree;
-
-my $search_hash = {};
-my $search;
-my $title = loc("Query Builder");
-
-# {{{ Clear out unwanted data
-if ( $NewQuery or $ARGS{'Delete'} ) {
-
-    # Wipe all data-carrying variables clear if we want a new
-    # search, or we're deleting an old one..
-    $Query       = '';
-    $Format      = '';
-    $Description = '';
-    $SearchId    = '';
-    $Order       = '';
-    $OrderBy     = '';
-    $RowsPerPage = '';
-
-    # ($search hasn't been set yet; no need to clear)
-
-    # ..then wipe the session out..
-    undef $session{'CurrentSearchHash'};
-
-    # ..and the search results.
-    $session{'tickets'}->CleanSlate() if defined $session{'tickets'};
-}
-
-# }}}
-
-# {{{ Attempt to load what we can from the session, set defaults
-
-# We don't read or write to the session again until the end
-$search_hash = $session{'CurrentSearchHash'};
-
-# These variables are what define a search_hash; this is also
-# where we give sane defaults.
-$Query       ||= $search_hash->{'Query'};
-$Format      ||= $search_hash->{'Format'};
-$Description ||= $search_hash->{'Description'};
-$SearchId    ||= $search_hash->{'SearchId'} || 'new';
-$Order       ||= $search_hash->{'Order'} || 'ASC';
-$OrderBy     ||= $search_hash->{'OrderBy'} || 'id';
-$RowsPerPage = ( $search_hash->{'RowsPerPage'} || 50 )
-  unless defined($RowsPerPage);
-$search ||= $search_hash->{'Object'};
-
-# }}}
-
-my @actions = ();
-
-# Clean unwanted junk from the format
-$Format = $m->comp( '/Elements/ScrubHTML', Content => $Format ) if ($Format);
-
-# {{{ If we're asked to delete the current search, make it go away and reset the search parameters
-if ( $ARGS{'Delete'} ) {
-
-    # We set $SearchId to 'new' above already, so peek into the %ARGS
-    if ( $ARGS{'SearchId'} =~ /^(.*?)-(\d+)-SavedSearch-(\d+)$/ ) {
-        my $obj_type  = $1;
-        my $obj_id    = $2;
-        my $search_id = $3;
-
-        my $container_object;
-        if ( $obj_type eq 'RT::User' && $obj_id == $session{'CurrentUser'}->Id )
-        {
-            $container_object = $session{'CurrentUser'}->UserObj;
-        }
-        elsif ( $obj_type eq 'RT::Group' ) {
-            $container_object = RT::Group->new( $session{'CurrentUser'} );
-            $container_object->Load($obj_id);
-        }
-
-        if ( $container_object->id ) {
-
-            # We have the object the entry is an attribute on; delete
-            # the entry..
-            $container_object->Attributes->DeleteEntry(
-                Name => 'SavedSearch',
-                id   => $search_id
-            );
-        }
-
-    }
-}
-
-# }}}
-
-# {{{ If the user wants to copy a search, uncouple from the one that this was based on, but don't erase the $Query or $Format
-if ( $ARGS{'CopySearch'} ) {
-    $SearchId    = 'new';
-    $search      = undef;
-    $Description = loc( "[_1] copy", $Description );
-}
-
-# }}}
-
-# {{{ if we're asked to revert the current search, we just want to load it
-if ( $ARGS{'Revert'} ) {
-    $ARGS{'LoadSavedSearch'} = $SearchId;
-}
-
-# }}}
-
-# {{{ if we're asked to load a search, load it.
-
-if ( $ARGS{'LoadSavedSearch'} =~ /^(.*?)-(\d+)-SavedSearch-(\d+)$/ ) {
-    my $obj_type  = $1;
-    my $obj_id    = $2;
-    my $search_id = $3;
-
-    # We explicitly list out the available types (user and group) and
-    # don't trust user input here
-    if (   ( $obj_type eq 'RT::User' )
-        && ( $obj_id == $session{'CurrentUser'}->id ) )
-    {
-        $search =
-          $session{'CurrentUser'}->UserObj->Attributes->WithId($search_id);
-
-    }
-    elsif ( $obj_type eq 'RT::Group' ) {
-        my $group = RT::Group->new( $session{'CurrentUser'} );
-        $group->Load($obj_id);
-        $search = $group->Attributes->WithId($search_id);
-    }
-
-    # We have a $search and now; import the others
-    $SearchId    = $ARGS{'LoadSavedSearch'};
-    $Description = $search->Description;
-    $Format      = $search->SubValue('Format');
-    $Query       = $search->SubValue('Query');
-    $Order       = $search->SubValue('Order');
-    $OrderBy     = $search->SubValue('OrderBy');
-    $RowsPerPage = $search->SubValue('RowsPerPage');
-}
-
-# }}}
-
-# {{{ Parse the query
-my $tree;
-ParseQuery( $Query, \$tree, \@actions );
-
-# if parsing went poorly, send them to the edit page to fix it
-if ( $actions[0] ) {
-    $m->comp( "Edit.html", Query => $Query, actions => \@actions );
-    $m->abort();
-}
-
-$Query  = "";
-
-my @options = $tree->GetDisplayedNodes;
-
-my @current_values = grep { defined } @options[@clauses];
-
-# {{{ Try to find if we're adding a clause
-foreach my $arg ( keys %ARGS ) {
-    if (
-        $arg =~ m/^ValueOf(.+)/
-        && ( ref $ARGS{$arg} eq "ARRAY"
-            ? grep { $_ ne "" } @{ $ARGS{$arg} }
-            : $ARGS{$arg} ne "" )
-      )
-    {
-
-        # We're adding a $1 clause
-        my $field = $1;
-        my ( $keyword, $op, $value );
-
-        #figure out if it's a grouping
-        if ( $ARGS{ $field . "Field" } ) {
-            $keyword = $ARGS{ $field . "Field" };
-        }
-        else {
-            $keyword = $field;
-        }
-
-        my ( @ops, @values );
-        if ( ref $ARGS{ 'ValueOf' . $field } eq "ARRAY" ) {
-
-            # we have many keys/values to iterate over, because there is
-            # more than one CF with the same name.
-            @ops    = @{ $ARGS{ $field . 'Op' } };
-            @values = @{ $ARGS{ 'ValueOf' . $field } };
-        }
-        else {
-            @ops    = ( $ARGS{ $field . 'Op' } );
-            @values = ( $ARGS{ 'ValueOf' . $field } );
-        }
-        $RT::Logger->error("Bad Parameters passed into Query Builder")
-          unless @ops == @values;
-
-        for my $i ( 0 .. @ops - 1 ) {
-            my ( $op, $value ) = ( $ops[$i], $values[$i] );
-            next if $value eq "";
-
-            if ( $value eq 'NULL' && $op =~ /=/ ) {
-                if ( $op eq '=' ) {
-                    $op = "IS";
-                }
-                elsif ( $op eq '!=' ) {
-                    $op = "IS NOT";
-                }
-
-                # This isn't "right", but...
-                # It has to be this way until #5182 is fixed
-                $value = "'NULL'";
-            }
-            else {
-                $value = "'$value'";
-            }
-
-            my $clause = {
-                Key   => $keyword,
-                Op    => $op,
-                Value => $value
-            };
-
-            my $newnode = RT::Interface::Web::QueryBuilder::Tree->new($clause);
-            if (@current_values) {
-                foreach my $value (@current_values) {
-                    my $newindex = $value->getIndex() + 1;
-                    $value->insertSibling( $newindex, $newnode );
-                    $value = $newnode;
-                }
-            }
-            else {
-                $tree->getChild(0)->addChild($newnode);
-                @current_values = $newnode;
-            }
-            $newnode->getParent()->setNodeValue( $ARGS{'AndOr'} );
-        }
-    }
-}
-
-# }}}
-
-# {{{ Move things around
-if ( $ARGS{"Up"} ) {
-    if (@current_values) {
-        foreach my $value (@current_values) {
-            my $index = $value->getIndex();
-            if ( $value->getIndex() > 0 ) {
-                my $parent = $value->getParent();
-                $parent->removeChild($index);
-                $parent->insertChild( $index - 1, $value );
-                $value = $parent->getChild( $index - 1 );
-            }
-            else {
-                push( @actions, [ loc("error: can't move up"), -1 ] );
-            }
-        }
-    }
-    else {
-        push( @actions, [ loc("error: nothing to move"), -1 ] );
-    }
-}
-elsif ( $ARGS{"Down"} ) {
-    if (@current_values) {
-        foreach my $value (@current_values) {
-            my $index  = $value->getIndex();
-            my $parent = $value->getParent();
-            if ( $value->getIndex() < ( $parent->getChildCount - 1 ) ) {
-                $parent->removeChild($index);
-                $parent->insertChild( $index + 1, $value );
-                $value = $parent->getChild( $index + 1 );
-            }
-            else {
-                push( @actions, [ loc("error: can't move down"), -1 ] );
-            }
-        }
-    }
-    else {
-        push( @actions, [ loc("error: nothing to move"), -1 ] );
-    }
-}
-elsif ( $ARGS{"Left"} ) {
-    if (@current_values) {
-        foreach my $value (@current_values) {
-            my $parent      = $value->getParent();
-            my $grandparent = $parent->getParent();
-            if ( !$grandparent->isRoot ) {
-                my $index = $parent->getIndex();
-                $parent->removeChild($value);
-                $grandparent->insertChild( $index, $value );
-                if ( $parent->isLeaf() ) {
-                    $grandparent->removeChild($parent);
-                }
-            }
-            else {
-                push( @actions, [ loc("error: can't move left"), -1 ] );
-            }
-        }
-    }
-    else {
-        push( @actions, [ loc("error: nothing to move"), -1 ] );
-    }
-}
-elsif ( $ARGS{"Right"} ) {
-    if (@current_values) {
-        foreach my $value (@current_values) {
-            my $parent = $value->getParent();
-            my $index  = $value->getIndex();
-            my $newparent;
-            if ( $index > 0 ) {
-                my $sibling = $parent->getChild( $index - 1 );
-                if ( ref( $sibling->getNodeValue ) ) {
-                    $parent->removeChild($value);
-                    my $newtree = RT::Interface::Web::QueryBuilder::Tree->new( 'AND', $parent );
-                    $newtree->addChild($value);
-                }
-                else {
-                    $parent->removeChild($index);
-                    $sibling->addChild($value);
-                }
-            }
-            else {
-                $parent->removeChild($value);
-                $newparent = RT::Interface::Web::QueryBuilder::Tree->new( 'AND', $parent );
-                $newparent->addChild($value);
-            }
-        }
-    }
-    else {
-        push( @actions, [ loc("error: nothing to move"), -1 ] );
-    }
-}
-elsif ( $ARGS{"DeleteClause"} ) {
-    if (@current_values) {
-        $_->getParent()->removeChild($_) for @current_values;
-    }
-    else {
-        push( @actions, [ loc("error: nothing to delete"), -1 ] );
-    }
-}
-elsif ( $ARGS{"Toggle"} ) {
-    my $ea;
-    if (@current_values) {
-        foreach my $value (@current_values) {
-            my $parent = $value->getParent();
-
-            if ( $parent->getNodeValue eq 'AND' ) {
-                $parent->setNodeValue('OR');
-            }
-            else {
-                $parent->setNodeValue('AND');
-            }
-        }
-    }
-    else {
-        push( @actions, [ loc("error: nothing to toggle"), -1 ] );
-    }
-}
-
-$tree->PruneChildlessAggregators;
-
-# }}}
-
-# {{{ Rebuild $Query based on the additions / movements
-$Query      = "";
-my $optionlist_arrayref;
-
-($Query, $optionlist_arrayref) = $tree->GetQueryAndOptionList(\@current_values);
-  
-my $optionlist = join "\n", map { qq(<option value="$_->{INDEX}" $_->{SELECTED}>) 
-                                  . ("&nbsp;" x (5 * $_->{DEPTH}))
-                                  . $m->interp->apply_escapes($_->{TEXT}, 'h') . qq(</option>) } @$optionlist_arrayref;
-
-
-
-
-use Regexp::Common qw /delimited/;
-
-# States
-use constant VALUE   => 1;
-use constant AGGREG  => 2;
-use constant OP      => 4;
-use constant PAREN   => 8;
-use constant KEYWORD => 16;
-
-sub ParseQuery {
-    my $string  = shift;
-    my $tree    = shift;
-    my @actions = shift;
-    my $want    = KEYWORD | PAREN;
-    my $last    = undef;
-
-    my $depth = 1;
-
-    # make a tree root
-    $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
-    my $root       = RT::Interface::Web::QueryBuilder::Tree->new( 'AND', $$tree );
-    my $lastnode   = $root;
-    my $parentnode = $root;
-
-    # get the FIELDS from Tickets_Overlay
-    my $tickets = new RT::Tickets( $session{'CurrentUser'} );
-    my %FIELDS  = %{ $tickets->FIELDS };
-
-    # Lower Case version of FIELDS, for case insensitivity
-    my %lcfields = map { ( lc($_) => $_ ) } ( keys %FIELDS );
-
-    my @tokens     = qw[VALUE AGGREG OP PAREN KEYWORD];
-    my $re_aggreg  = qr[(?i:AND|OR)];
-    my $re_value   = qr[$RE{delimited}{-delim=>qq{\'\"}}|\d+];
-    my $re_keyword = qr[$RE{delimited}{-delim=>qq{\'\"}}|(?:\{|\}|\w|\.)+];
-    my $re_op      =
-      qr[=|!=|>=|<=|>|<|(?i:IS NOT)|(?i:IS)|(?i:NOT LIKE)|(?i:LIKE)]
-      ;    # long to short
-    my $re_paren = qr'\(|\)';
-
-    # assume that $ea is AND if it is not set
-    my ( $ea, $key, $op, $value ) = ( "AND", "", "", "" );
-
-    # order of matches in the RE is important.. op should come early,
-    # because it has spaces in it.  otherwise "NOT LIKE" might be parsed
-    # as a keyword or value.
-
-    while (
-        $string =~ /(
-                      $re_aggreg
-                      |$re_op
-                      |$re_keyword
-                      |$re_value
-                      |$re_paren
-                     )/igx
-      )
-    {
-        my $val     = $1;
-        my $current = 0;
-
-        # Highest priority is last
-        $current = OP    if _match( $re_op,    $val );
-        $current = VALUE if _match( $re_value, $val );
-        $current = KEYWORD
-          if _match( $re_keyword, $val ) && ( $want & KEYWORD );
-        $current = AGGREG if _match( $re_aggreg, $val );
-        $current = PAREN  if _match( $re_paren,  $val );
-
-        unless ( $current && $want & $current ) {
-
-            # Error
-            # FIXME: I will only print out the highest $want value
-            my $token = $tokens[ ( ( log $want ) / ( log 2 ) ) ];
-            push @actions,
-              [
-                loc(
-"current: $current, want $want, Error near ->$val<- expecting a "
-                      . $token
-                      . " in '$string'\n"
-                ),
-                -1
-              ];
-        }
-
-        # State Machine:
-        my $parentdepth = $depth;
-
-        # Parens are highest priority
-        if ( $current & PAREN ) {
-            if ( $val eq "(" ) {
-                $depth++;
-
-                # make a new node that the clauses can be children of
-                $parentnode = RT::Interface::Web::QueryBuilder::Tree->new( $ea, $parentnode );
-            }
-            else {
-                $depth--;
-                $parentnode = $parentnode->getParent();
-                $lastnode   = $parentnode;
-            }
-
-            $want = KEYWORD | PAREN | AGGREG;
-        }
-        elsif ( $current & AGGREG ) {
-            $ea   = $val;
-            $want = KEYWORD | PAREN;
-        }
-        elsif ( $current & KEYWORD ) {
-            $key  = $val;
-            $want = OP;
-        }
-        elsif ( $current & OP ) {
-            $op   = $val;
-            $want = VALUE;
-        }
-        elsif ( $current & VALUE ) {
-            $value = $val;
-
-            # Remove surrounding quotes from $key, $val
-            # (in future, simplify as for($key,$val) { action on $_ })
-            if ( $key =~ /$RE{delimited}{-delim=>qq{\'\"}}/ ) {
-                substr( $key, 0,  1 ) = "";
-                substr( $key, -1, 1 ) = "";
-            }
-            if ( $val =~ /$RE{delimited}{-delim=>qq{\'\"}}/ ) {
-                substr( $val, 0,  1 ) = "";
-                substr( $val, -1, 1 ) = "";
-            }
-
-            # Unescape escaped characters
-            $key =~ s!\\(.)!$1!g;
-            $val =~ s!\\(.)!$1!g;
-
-            my $class;
-            if ( exists $lcfields{ lc $key } ) {
-                $key   = $lcfields{ lc $key };
-                $class = $FIELDS{$key}->[0];
-            }
-            if ( $class ne 'INT' ) {
-                $val = "'$val'";
-            }
-
-            push @actions, [ loc("Unknown field: $key"), -1 ] unless $class;
-
-            $want = PAREN | AGGREG;
-        }
-        else {
-            push @actions, [ loc("I'm lost"), -1 ];
-        }
-
-        if ( $current & VALUE ) {
-            if ( $key =~ /^CF./ ) {
-                $key = "'" . $key . "'";
-            }
-            my $clause = {
-                Key   => $key,
-                Op    => $op,
-                Value => $val
-            };
-
-            # explicity add a child to it
-            $lastnode = RT::Interface::Web::QueryBuilder::Tree->new( $clause, $parentnode );
-            $lastnode->getParent()->setNodeValue($ea);
-
-            ( $ea, $key, $op, $value ) = ( "", "", "", "" );
-        }
-
-        $last = $current;
-    }    # while
-
-    push @actions, [ loc("Incomplete query"), -1 ]
-      unless ( ( $want | PAREN ) || ( $want | KEYWORD ) );
-
-    push @actions, [ loc("Incomplete Query"), -1 ]
-      unless ( $last && ( $last | PAREN ) || ( $last || VALUE ) );
-
-    # This will never happen, because the parser will complain
-    push @actions, [ loc("Mismatched parentheses"), -1 ]
-      unless $depth == 1;
-}
-
-sub _match {
-
-    # Case insensitive equality
-    my ( $y, $x ) = @_;
-    return 1 if $x =~ /^$y$/i;
-
-    #  return 1 if ((lc $x) eq (lc $y)); # Why isnt this equiv?
-    return 0;
-}
-
-sub debug {
-    my $message = shift;
-    $m->print( $message . "<br>" );
-}
-
-# }}}
-
-# }}}
-
-my $queues = $tree->GetReferencedQueues;
-
-# {{{ Deal with format changes
-my ( $AvailableColumns, $CurrentFormat );
-( $Format, $AvailableColumns, $CurrentFormat ) = $m->comp(
-    'Elements/BuildFormatString',
-    cfqueues => $queues,
-    %ARGS, Format => $Format
-);
-
-# }}}
-
-# {{{ if we're asked to save the current search, save it
-if ( $ARGS{'Save'} ) {
-
-    if ( $search && $search->id ) {
-
-        # This search is based on a previously loaded search -- so
-        # just update the current search object with new values
-        $search->SetSubValues(
-            Format      => $Format,
-            Query       => $Query,
-            Order       => $Order,
-            OrderBy     => $OrderBy,
-            RowsPerPage => $RowsPerPage,
-        );
-        $search->SetDescription($Description);
-
-    }
-    elsif ( $SearchId eq 'new' && $ARGS{'Owner'} =~ /^(.*?)-(\d+)$/ ) {
-
-        # We're saving a new search
-        my $obj_type = $1;
-        my $obj_id   = $2;
-
-        # Find out if we're saving on the user, or a group
-        my $container_object;
-        if ( $obj_type eq 'RT::User' && $obj_id == $session{'CurrentUser'}->Id )
-        {
-            $container_object = $session{'CurrentUser'}->UserObj;
-        }
-        elsif ( $obj_type eq 'RT::Group' ) {
-            $container_object = RT::Group->new( $session{'CurrentUser'} );
-            $container_object->Load($obj_id);
-        }
-
-        if ( $container_object->id ) {
-
-            # If we got one or the other, add the saerch
-            my ( $search_id, $search_msg ) = $container_object->AddAttribute(
-                Name        => 'SavedSearch',
-                Description => $Description,
-                Content     => {
-                    Format      => $Format,
-                    Query       => $Query,
-                    Order       => $Order,
-                    OrderBy     => $OrderBy,
-                    RowsPerPage => $RowsPerPage,
-                }
-            );
-            $search =
-              $session{'CurrentUser'}->UserObj->Attributes->WithId($search_id);
-
-            # Build new SearchId
-            $SearchId =
-                ref( $session{'CurrentUser'}->UserObj ) . '-'
-              . $session{'CurrentUser'}->UserObj->Id
-              . '-SavedSearch-'
-              . $search->Id;
-        }
-        unless ( $search->id ) {
-            push @actions, [ loc("Can't find a saved search to work with"), 0 ];
-        }
-
-    }
-    else {
-        push @actions, [ loc("Can't save this search"), 0 ];
-    }
-
-}
-
-# }}}
-
-# {{{ If we're modifying an old query, check if it has changed
-my $dirty = 0;
-$dirty = 1
-  if defined $search
-  and ($search->SubValue('Format') ne $Format
-    or $search->SubValue('Query')       ne $Query
-    or $search->SubValue('Order')       ne $Order
-    or $search->SubValue('OrderBy')     ne $OrderBy
-    or $search->SubValue('RowsPerPage') ne $RowsPerPage );
-
-# }}}
-
-# {{{ Push the updates into the session so we don't loose 'em
-$search_hash->{'SearchId'}    = $SearchId;
-$search_hash->{'Format'}      = $Format;
-$search_hash->{'Query'}       = $Query;
-$search_hash->{'Description'} = $Description;
-$search_hash->{'Object'}      = $search;
-$search_hash->{'Order'}       = $Order;
-$search_hash->{'OrderBy'}     = $OrderBy;
-$search_hash->{'RowsPerPage'} = $RowsPerPage;
-
-$session{'CurrentSearchHash'} = $search_hash;
-
-# }}}
-
-# {{{ Show the results, if we were asked.
-if ( $ARGS{"DoSearch"} ) {
-    $m->comp(
-        "Results.html",
-        Query   => $Query,
-        Format  => $Format,
-        Order   => $Order,
-        OrderBy => $OrderBy,
-        Rows    => $RowsPerPage
-    );
-    $m->abort();
-}
-
-# }}}
-
-# {{{ Build a querystring for the tabs
-
-my $QueryString;
-if ($NewQuery) {
-    $QueryString = '?NewQuery=1';
-}
-else {
-    $QueryString = '?'
-      . $m->comp(
-        '/Elements/QueryString',
-        Query   => $Query,
-        Format  => $Format,
-        Order   => $Order,
-        OrderBy => $OrderBy,
-        Rows    => $RowsPerPage
-      )
-      if ($Query);
-}
-
-# }}}
-
-</%INIT>
-
-<%ARGS>
-$NewQuery => 0
-$SearchId => undef
-$Query => undef
-$Format => undef 
-$Description => undef
-$Order => undef
-$OrderBy => undef
-$RowsPerPage => undef
-$HideResults => 0
-@clauses => ()
-</%ARGS>
-
diff --git a/rt/html/Search/Bulk.html b/rt/html/Search/Bulk.html
deleted file mode 100644 (file)
index f9eef26..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Bulk ticket update") &>
-<& /Elements/Tabs, Title => loc("Bulk ticket update") &>
-
-<& /Elements/ListActions, actions => \@results &>
-<FORM METHOD="POST" ACTION="<%$RT::WebPath%>/Search/Bulk.html" >
-<input type="hidden" name="Query" value="<%$ARGS{'Query'}%>">
-<TABLE WIDTH=100% border=0 cellpadding=3 CELLSPACING=0>
-<TR>
-<TH><&|/l&>Update</&></TH>
-%foreach my $col (@cols) {
-% my $colalias = $col;
-% $colalias =~ s/(Obj\-\>|)(Name|AsString)//;
-
-<TH><% loc($colalias) %>&nbsp;</TH>
-%}
-</TR>
-
-<%PERL>
-
-my $i;
-
-$Tickets->RedoSearch();
-while (my $Ticket = $Tickets->Next) {
- $i++;
- if ($i % 2) {
-     $bgcolor = "#dddddd";
- }
- else {
-     $bgcolor = "#ffffff";
- }
-      </%PERL>
-<TR bgcolor="<%$bgcolor%>">
-<TD><input type=checkbox name="UpdateTicket<%$Ticket->Id%>" value="1" CHECKED></TD>
-%foreach my $col (@cols) {
-<TD>
-% if ($col eq 'id') {
-<A HREF="<% $RT::WebPath%>/Ticket/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id()%></A>
-% }
-%else {
-<% eval "\$Ticket->$col()" %>&nbsp;
-%}
-</TD>
-%}
-</TR>
-%}
-
-
-
-</TABLE>
-
-<HR>
-
-
-<& /Elements/TitleBoxStart, title => loc('Update selected tickets') &>
-<TABLE>
-<TR>
-<TD VALIGN=TOP>
-<table>
-<tr><td class=label> <&|/l&>Make Owner</&>: </td>
-<td class=value> <& /Elements/SelectOwner, Name => "Owner" &> (<input type=checkbox name="ForceOwnerChange"> <&|/l&>Force change</&>) </td></tr>
-<tr><td class=label> <&|/l&>Add Requestor</&>: </td>
-<td class=value> <INPUT Name="AddRequestor" SIZE=20> </td></tr>
-<tr><td class=label> <&|/l&>Remove Requestor</&>: </td>
-<td class=value> <INPUT Name="DeleteRequestor" SIZE=20> </td></tr>
-<tr><td class=label> <&|/l&>Add Cc</&>: </td>
-<td class=value> <INPUT Name="AddCc" SIZE=20> </td></tr>
-<tr><td class=label> <&|/l&>Remove Cc</&>: </td>
-<td class=value> <INPUT Name="DeleteCc" SIZE=20> </td></tr>
-<tr><td class=label> <&|/l&>Add AdminCc</&>: </td>
-<td class=value> <INPUT Name="AddAdminCc" SIZE=20> </td></tr>
-<tr><td class=label> <&|/l&>Remove AdminCc</&>: </td>
-<td class=value> <INPUT Name="DeleteAdminCc" SIZE=20> </td></tr>
-</table>
-</TD>
-<TD VALIGN=TOP>
-<table>
-<tr><td class=label> <&|/l&>Make subject</&>: </td>
-<td class=value> <INPUT Name="Subject" SIZE=20> </td></tr>
-<tr><td class=label> <&|/l&>Make priority</&>: </td>
-<td class=value> <INPUT Name="Priority" SIZE=4> </td></tr>
-<tr><td class=label> <&|/l&>Make queue</&>: </td>
-<td class=value> <& /Elements/SelectQueue, Name => "Queue" &> </td></tr>
-<tr><td class=label> <&|/l&>Make Status</&>: </td>
-<td class=value> <& /Elements/SelectStatus, Name => "Status" &> </td></tr>
-<tr><td class=label> <&|/l&>Make date Starts</&>: </td>
-<td class=value> <& /Elements/SelectDate, Name => "Starts_Date", ShowTime => 0, Default => '' &> </td></tr>
-<tr><td class=label> <&|/l&>Make date Started</&>: </td>
-<td class=value> <& /Elements/SelectDate, Name => "Started_Date", ShowTime => 0, Default => '' &> </td></tr>
-<tr><td class=label> <&|/l&>Make date Told</&>: </td>
-<td class=value> <& /Elements/SelectDate, Name => "Told_Date", ShowTime => 0, Default => '' &> </td></tr>
-<tr><td class=label> <&|/l&>Make date Due</&>: </td>
-<td class=value> <& /Elements/SelectDate, Name => "Due_Date", ShowTime => 0, Default => '' &> </td></tr>
-<tr><td class=label> <&|/l&>Make date Resolved</&>: </td>
-<td class=value> <& /Elements/SelectDate, Name => "Resolved_Date", ShowTime => 0, Default => '' &> </td></tr>
-</table>
-
-</TD>
-</TR>
-</table>
-<& /Elements/TitleBoxEnd&>
-<& /Elements/TitleBoxStart, title => loc('Add comments or replies to selected tickets') &>
-<table>
-<tr><td align=right><&|/l&>Update Type</&>:</td>
-<td><select name="UpdateType">
-  <option value="private" ><&|/l&>Comments (not sent to requestors)</&></option>
-<option value="response" ><&|/l&>Reply to requestors</&></option>
-</select> 
-</td></tr>
-<tr><td align=right><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size=60 value=""></td></tr>
-% while (my $CF = $TxnCFs->Next()) {
-<TR>
-<TD ALIGN=RIGHT><% $CF->Name %>:</TD>
-<TD><& /Elements/EditCustomField, 
-    CustomField => $CF, 
-    NamePrefix => "Object-RT::Transaction--CustomField-"
-    &><em><% $CF->FriendlyType %></em></TD>
-</TD></TR>
-% } # end if while
- <tr><td align=right><&|/l&>Attach</&>:</td><td><input name="UpdateAttachment" type="file"></td></tr>
- <tr><td class=labeltop><&|/l&>Message</&>:</td><td>
- <& /Elements/MessageBox, Name=>"UpdateContent"&>
- </td></tr>
- </table>
-
-<& /Elements/TitleBoxEnd &>
-
-
-<& /Elements/TitleBoxStart, title => loc('Edit Links'), color => "#336633"&>
-<i><&|/l&>Enter tickets or URIs to link tickets to. Separate multiple entries with spaces.</&></i><br>
-<& /Ticket/Elements/BulkLinks &>
-<& /Elements/TitleBoxEnd &>
-
-<& /Elements/Submit, Label => loc('Update All') &>
-
-
-</FORM>
-<%INIT>
-
-# Iterate through the ARGS hash and remove anything with a null value.
-map ($ARGS{$_} =~ /^$/ && (delete $ARGS{$_}), keys %ARGS);
-
-my ($bgcolor, @results);
-my @cols = qw(id Status Priority Subject QueueObj->Name OwnerObj->Name RequestorAddresses DueAsString );
-
-
-my $Tickets = RT::Tickets->new($session{'CurrentUser'});
-$Tickets->FromSQL($ARGS{'Query'});
-
-Abort(loc("No search to operate on.")) unless ($Tickets);
-
-my %allcfs;
-my %cfqnames;
-my %cfqs;
-my $count = 0;
-while (my $Ticket = $Tickets->Next) {
-    my $cfq = $Ticket->QueueObj;
-    my $cfqid = $cfq->Id;
-    my $cfqn = $cfq->Name;
-    unless ( exists $cfqs{$cfqid} ) {
-       $cfqs{$cfqid} = 1;
-       $count++;
-       my $cfs = $cfq->TicketCustomFields;
-       while (my $cf = $cfs->Next) {
-           $allcfs{$cf->Id} = $cf;
-           $cfqnames{$cf->Id} = $cfqn;
-       }
-    }
-}
-
-my $do_comment_reply=0;
-# Prepare for ticket updates
-$ARGS{'UpdateContent'} =~ s/\r\n/\n/g;
-chomp ($ARGS{'UpdateContent'}) ;
-
-if ($ARGS{'UpdateContent'} &&
-    $ARGS{'UpdateContent'} ne '' &&
-    $ARGS{'UpdateContent'} ne  "-- \n" .
-    $session{'CurrentUser'}->UserObj->Signature) {
-            $do_comment_reply=1;
-}
-
-#Iterate through each ticket we've been handed
-my @linkresults;
-my %queues;
-
-$Tickets->RedoSearch();
-while (my $Ticket = $Tickets->Next) {
-    $queues{$Ticket->QueueObj->Id}++;
-    $RT::Logger->debug( "Checking Ticket ".$Ticket->Id ."\n");
-    next unless ($ARGS{"UpdateTicket".$Ticket->Id});
-    $RT::Logger->debug ("Matched\n");
-    my @updateresults; 
-    if ($do_comment_reply) {
-       ProcessUpdateMessage(TicketObj => $Ticket, ARGSRef => \%ARGS, Actions => \@updateresults); 
-    }
-
-    #Update the basics.
-    my @basicresults = ProcessTicketBasics(TicketObj => $Ticket, ARGSRef => \%ARGS);
-    my @dateresults = ProcessTicketDates(TicketObj => $Ticket, ARGSRef => \%ARGS);
-    #Update the watchers
-    my @watchresults = ProcessTicketWatchers(TicketObj => $Ticket, ARGSRef => \%ARGS);    
-
-
-    #Update the links
-    $ARGS{'id'} = $Ticket;
-    $ARGS{$Ticket->Id.'-MergeInto'} = $ARGS{'Ticket-MergeInto'};
-    $ARGS{$Ticket->Id.'-DependsOn'} = $ARGS{'Ticket-DependsOn'};
-    $ARGS{'DependsOn-'.$Ticket->Id} = $ARGS{'DependsOn-Ticket'};
-    $ARGS{$Ticket->Id.'-MemberOf'} = $ARGS{'Ticket-MemberOf'};
-    $ARGS{'MemberOf-'.$Ticket->Id} = $ARGS{'MemberOf-Ticket'};
-    $ARGS{$Ticket->Id.'-RefersTo'} = $ARGS{'Ticket-RefersTo'};
-    $ARGS{'RefersTo-'.$Ticket->Id} = $ARGS{'RefersTo-Ticket'};
-    @linkresults = ProcessTicketLinks( TicketObj => $Ticket, ARGSRef => \%ARGS);
-    delete $ARGS{'id'};
-    delete $ARGS{$Ticket->Id.'-MergeInto'};
-    delete $ARGS{$Ticket->Id.'-DependsOn'};
-    delete $ARGS{'DependsOn-'.$Ticket->Id};
-    delete $ARGS{$Ticket->Id.'-MemberOf'};
-    delete $ARGS{'MemberOf-'.$Ticket->Id};
-    delete $ARGS{$Ticket->Id.'-RefersTo'};
-    delete $ARGS{'RefersTo-'.$Ticket->Id};
-    my @tempresults = (@watchresults, @basicresults, @dateresults,
-    @updateresults, @linkresults);
-    @tempresults = map { loc("Ticket [_1]: [_2]",$Ticket->Id,$_) } @tempresults;
-
-    @results = (@results, @tempresults);
-}
-
-my $TxnCFs = RT::CustomFields->new($session{CurrentUser});
-$TxnCFs->LimitToLookupType("RT::Queue-RT::Ticket-RT::Transaction");
-$TxnCFs->LimitToGlobalOrObjectId(sort keys %queues);
-
-</%INIT>
diff --git a/rt/html/Search/Edit.html b/rt/html/Search/Edit.html
deleted file mode 100755 (executable)
index 16e8a0e..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => $title&>
-<& /Ticket/Elements/Tabs, 
-    current_tab => "Search/Edit.html?".$QueryString, 
-    Title => $title,
-    Format => $Format,
-    Query => $Query,
-    Rows => $ARGS{'Rows'},
-    OrderBy => $ARGS{'OrderBy'},
-    Order => $ARGS{'Order'} &>
-
-<& Elements/NewListActions, actions => \@actions &>
-
-<form method="post" action="Build.html">
-<input type="hidden" name="SearchId" value="<%$SearchId%>">
-<textarea name="Query" rows="8" cols="72"><%$Query%></textarea>
-<br>
-<textarea name="Format" rows="8" cols="72"><%$Format%></textarea>
-<br>
-<& /Elements/Submit, Label => loc("Apply"), Reset => 1, Caption => loc("Apply your changes")&>
-</form>
-
-<%INIT>
-my $title = loc("Edit Query");
-$Format = $m->comp('/Elements/ScrubHTML', Content => $Format);
-my $QueryString = $m->comp('/Elements/QueryString',
-                           Query   => $Query,
-                           Format  => $Format,
-                           Rows    => $ARGS{'Rows'},
-                           OrderBy => $ARGS{'OrderBy'},
-                           Order   => $ARGS{'Order'},
-                          );
-
-</%INIT>
-
-
-<%ARGS>
-$Query => undef
-$Format => undef
-$SearchId => 'new'
-@actions => undef
-</%ARGS>
diff --git a/rt/html/Search/Elements/BuildFormatString b/rt/html/Search/Elements/BuildFormatString
deleted file mode 100644 (file)
index 639e62c..0000000
+++ /dev/null
@@ -1,243 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%args>
-$Format => undef
-%cfqueues => undef
-$Face => undef
-$Size => undef
-$Link => undef
-$Title => undef
-$AddCol => undef
-$RemoveCol => undef
-$ColUp => undef
-$ColDown => undef
-$SelectDisplayColumns => undef
-$CurrentDisplayColumns => undef
-</%args>
-<%init>
-
-unless ($Format) {         
-    $Format = $RT::DefaultSearchResultFormat;
-}   
-   
-
-# All the things we can display in the format string by default
-my @fields = qw(
-  id
-  Status
-  ExtendedStatus
-  Subject
-  QueueName
-  OwnerName
-  Priority
-  InitialPriority
-  FinalPriority
-  Type
-  TimeWorked
-  TimeLeft
-  TimeEstimated
-  CreatedBy
-  LastUpdatedBy
-  Requestors
-  Cc
-  AdminCc
-  Starts
-  StartsRelative
-  Started
-  StartedRelative
-  Created
-  CreatedRelative
-  LastUpdated
-  LastUpdatedRelative
-  Told
-  ToldRelative
-  Due
-  DueRelative
-  Resolved
-  ResolvedRelative
-  RefersTo
-  ReferredToBy
-  DependsOn
-  DependedOnBy
-  MemberOf
-  Members
-  Parents
-  Children
-  NEWLINE
-);
-
-my $CustomFields = RT::CustomFields->new( $session{'CurrentUser'});
-foreach my $id (keys %cfqueues) {
-    # What does this _do_? What are the keys to cfqueues
-    $id =~ s/^.'*(.*).'*$/$1/;
-    # Gotta load up the $queue object, since queues get stored by name now.
-    my $queue = RT::Queue->new($session{'CurrentUser'});
-    $queue->Load($id);
-    $CustomFields->LimitToQueue($queue->Id);
-}
-$CustomFields->LimitToGlobal;
-
-while ( my $CustomField = $CustomFields->Next ) {
-    my $queuestr;
-    if ($CustomField->QueueObj && $CustomField->QueueObj->Id != 0) {
-       $queuestr = $CustomField->QueueObj->Name . ".";
-    }
-    push @fields, "CustomField." . $queuestr . "{" . $CustomField->Name . "}";
-}
-
-my ( @seen);
-
-my @format = split( /,\s*/, $Format );
-foreach my $field (@format) {
-    my %column = ();
-    $field =~ s/'(.*)'/$1/;
-    my ( $prefix, $suffix );
-    if ( $field =~ m/(.*)__(.*)__(.*)/ ) {
-        $prefix = $1;
-        $suffix = $3;
-        $field  = $2;
-    }
-    $field = "<blank>" if !$field;
-    $column{Prefix} = $prefix;
-    $column{Suffix} = $suffix;
-    $field =~ s/\s*(.*)\s*/$1/;
-    $column{Column} = $field;
-    push @seen, \%column;
-}
-
-if ( $RemoveCol ) {
-    my $index  = $CurrentDisplayColumns;
-    my $column = $seen[$index];
-    if ($index) {
-        delete $seen[$index];
-        my @temp = @seen;
-        @seen = ();
-        foreach my $element (@temp) {
-            next unless $element;
-            push @seen, $element;
-        }
-    }
-}
-elsif ( $AddCol ) {
-    if ( defined $SelectDisplayColumns ) {
-       my $selected = $SelectDisplayColumns;
-       my @columns;
-       if (ref($selected) eq 'ARRAY') {
-           @columns = @$selected;
-       } else {
-           push @columns, $selected;
-       }
-       foreach my $col (@columns) {
-           my %column = ();
-           $column{Column} = $col;
-
-    if ( $Face eq "Bold" ) {
-        $column{Prefix} .= "<B>";
-        $column{Suffix} .= "</B>";
-    }
-    if ( $Face eq "Italic" ) {
-        $column{Prefix} .= "<I>";
-        $column{Suffix} .= "</I>";
-    }
-    if ($Size) {
-        $column{Prefix} .= "<" . $m->interp->apply_escapes( $Size,  'h' ) . ">";
-        $column{Suffix} .= "</" . $m->interp->apply_escapes( $Size, 'h' ) . ">";
-    }
-    if ( $Link eq "Display" ) {
-        $column{Prefix} .=
-          "<A HREF=\"" . $RT::WebPath . "/Ticket/Display.html?id=__id__\">";
-        $column{Suffix} .= "</a>";
-    }
-    elsif ( $Link eq "Take" ) {
-        $column{Prefix} .= "<A HREF=\"" . $RT::WebPath
-          . "/Ticket/Display.html?Action=Take&id=__id__\">";
-        $column{Suffix} .= "</a>";
-    }
-
-    if ($Title) {
-        $column{Suffix} .= "/TITLE:" . $m->interp->apply_escapes( $Title, 'h' );
-    }
-    push @seen, \%column;
-}
-}
-}
-elsif ( $ColUp ) {
-    my $index = $CurrentDisplayColumns;
-    if ( defined $index && ( $index - 1 ) >= 0 ) {
-        my $column = $seen[$index];
-        $seen[$index]       = $seen[ $index - 1 ];
-        $seen[ $index - 1 ] = $column;
-        $CurrentDisplayColumns     = $index - 1;
-    }
-}
-elsif ( $ColDown ) {
-    my $index = $CurrentDisplayColumns;
-    if ( defined $index && ( $index + 1 ) < scalar @seen ) {
-        my $column = $seen[$index];
-        $seen[$index]       = $seen[ $index + 1 ];
-        $seen[ $index + 1 ] = $column;
-        $CurrentDisplayColumns     = $index + 1;
-    }
-}
-
-
-my @format_string;
-foreach my $field (@seen) {
-    next unless $field;
-    my $row = "'" . $field->{Prefix};
-    $row .= "__" . $m->interp->apply_escapes( $field->{Column}, 'h' ) . "__"
-      unless ( $field->{Column} eq "<blank>" );
-    $row .= $field->{Suffix} . "'";
-    push( @format_string, $row );
-}
-
-$Format = join(",\n", @format_string);
-
-
-return($Format, \@fields, \@seen);
-
-</%init>
-
diff --git a/rt/html/Search/Elements/DisplayOptions b/rt/html/Search/Elements/DisplayOptions
deleted file mode 100644 (file)
index 43a9d99..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc("Display Columns") &>
-<table>
-<tr>
-<td>
-<& EditFormat, %ARGS &>
-</td>
-<td valign=top>
-<table valign=top>
-<tr>
-<td class=label>
-<&|/l&>Order by</&>:
-</td><td class=value>
-<select name="OrderBy">
-% foreach my $field (keys %fields) {
-%    next unless $field;
-<option value=<%$field%>
-% if ($field =~ /^$OrderBy$/i) {
-SELECTED
-% }
-><&|/l&><%$field%></&></option>
-% }
-</select>
-<select name="Order">
-<option value="ASC"
-% if ($Order eq "ASC") {
-SELECTED
-% }
-><&|/l&>Ascending</&></option>
-<option value="DESC"
-% if ($Order eq "DESC") {
-SELECTED
-% }
-><&|/l&>Descending</&></option>
-</select>
-</td>
-</tr>
-<td class=label>
-<&|/l&>Rows per page</&>:
-</td><td class="value">
-<& /Elements/SelectResultsPerPage, 
-    Name => "RowsPerPage", 
-    Default => $RowsPerPage &>
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-<& /Elements/TitleBoxEnd &>
-
-<%INIT>
-my $tickets = new RT::Tickets($session{'CurrentUser'});
-my %fields = %{$tickets->FIELDS};
-map { $fields{$_}->[0] =~ /^(?:ENUM|INT|DATE|STRING)$/ || delete $fields{$_} } keys %fields;
-delete $fields{'EffectiveId'};
-
-
-</%INIT>
-
-<%ARGS>
-$Order => undef
-$OrderBy => undef
-$RowsPerPage => undef
-$Format => undef
-</%ARGS>
diff --git a/rt/html/Search/Elements/EditFormat b/rt/html/Search/Elements/EditFormat
deleted file mode 100644 (file)
index dc8720f..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table>
-<tr>
-<td>
-<&|/l&>Add Columns</&>:
-</td>
-<td>
-<&|/l&>Format</&>:
-</td>
-<td></td>
-<td>
-<&|/l&>Show Columns</&>:
-</td>
-<tr>
-<td valign=top>
-<select size="6" name="SelectDisplayColumns" multiple>
-% foreach my $field ( @$AvailableColumns) {
-<option value="<%$field%>"><% loc( $field) %></option>
-%# $m->comp( '/Elements/RT__Ticket/ColumnMap', Name => $field, Attr => 'title') || 
-% }
-</select>
-</td>
-<td>
-<&|/l&>Link</&>:
-<select name="Link">
-<option value="None">-</option>
-<option value="Display"><&|/l&>Display</&></option>
-<option value="Take"><&|/l&>Take</&></option>
-</select>
-<br><&|/l&>Title</&>: <input name="Title" size=10>
-<br><&|/l&>Size</&>:
-<select name="Size">
-<option value="">-</option>
-<option value="Small"><&|/l&>Small</&></option>
-<option value="Large"><&|/l&>Large</&></option>
-</select>
-<br><&|/l&>Style</&>:
-<select name="Face">
-<option value="">-</option>
-<option value="Bold"><&|/l&>Bold</&></option>
-<option value="Italic"><&|/l&>Italic</&></option>
-</select>
-</td>
-<td>
-<input type=submit name="AddCol" value="->">
-</td>
-<td valign=top>
-<select size=4 name="CurrentDisplayColumns">
-% my $i=0;
-% foreach my $field (@$CurrentFormat) {
-<option value="<%$i++%>><%$field->{Column}%>">
-<%loc( $field->{Column}) %></option>
-% }
-</select>
-<br>
-<center>
-<input type="submit" name="ColUp" value="^">
-<input type="submit" name="ColDown" value="v">
-<input type="submit" name="RemoveCol" value="<%loc('Delete')%>">
-</center>
-</td>
-<td colspan=3 align=center>
-</td>
-</tr>
-</table>
-
-<%ARGS>
-$CurrentFormat => undef
-$AvailableColumns => undef
-</%ARGS>
diff --git a/rt/html/Search/Elements/EditQuery b/rt/html/Search/Elements/EditQuery
deleted file mode 100644 (file)
index 783541a..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& NewListActions, actions => $actions &>
-<& /Elements/TitleBoxStart, title => join(': ', grep defined, loc("Query"), $Description) &>
-<select size="10" name="clauses" style="width: 100%" multiple>
-% $m->out($optionlist);
-</select>
-<p align="center">
-<input type=submit name="Up" value="^">
-<input type=submit name="Down" value="v">
-<input type=submit name="Left" value="<">
-<input type=submit name="Right" value=">">
-<input type=submit name="Toggle" value="<&|/l&>And/Or</&>">
-<input type=submit name="DeleteClause" value="<&|/l&>Delete</&>">
-%#<input type=submit name="EditQuery" value="Advanced">
-</p>
-<& /Elements/TitleBoxEnd &>
-<%ARGS>
-$Description
-$optionlist
-$actions
-</%ARGS>
diff --git a/rt/html/Search/Elements/EditSearches b/rt/html/Search/Elements/EditSearches
deleted file mode 100644 (file)
index bc6b80e..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc('Saved searches') &>
-%# Hide all the save functionality if the user shouldn't see it.
-% if ($session{'CurrentUser'}->HasRight( Right => 'CreateSavedSearch',
-%                                       Object=> $RT::System )) {
-<&|/l&>Privacy:</&>
-% if ($CurrentSearch->{'Object'} && $CurrentSearch->{'Object'}->id) {
-<& SearchPrivacy, Object => $CurrentSearch->{'Object'}->Object &><br>
-% } else {
-<& SelectSearchObject, Name => 'Owner', Objects => \@Objects &><br>
-% }
-<&|/l&>Description</&>:<br>
-<font size="-1"><input size="25" name="Description" value="<%$CurrentSearch->{'Description'}%>"></font>
-<nobr>
-% if ($SearchId ne 'new') {
-% if ($Dirty) {
-<input type="submit" name="Revert" value="<%loc('Revert')%>">
-% }
-<input type="submit" name="Delete" value="<%loc('Delete')%>">
-<input type="submit" name="CopySearch" value="<%loc('Copy')%>">
-</nobr>
-
-% }
-
-% if ($Dirty or $SearchId eq 'new') {
-<input type="submit" name="Save" value="<%loc('Save')%>">
-% }
-<hr>
-% }
-<&|/l&>Load saved search:</&><br>
-<& SelectSearchesForObjects, Name => 'LoadSavedSearch', Objects => \@Objects&>
-<input value="<%loc('Load')%>" type="submit">
-<& /Elements/TitleBoxEnd &>
-
-<%init>
-
-unless ($session{'CurrentUser'}->HasRight( Right => 'LoadSavedSearch',
-                                          Object=> $RT::System )) {
-    return;
-}
-my @Objects;
-
-push @Objects,  $session{CurrentUser}->UserObj;
-
-my $groups = RT::Groups->new($session{'CurrentUser'});
-
-$groups->LimitToUserDefinedGroups;
-$groups->WithMember(PrincipalId => $session{'CurrentUser'}->Id,
-                    Recursively => 1);
-
-                    push (@Objects, @{$groups->ItemsArrayRef()});
-</%INIT>
-
-<%ARGS>
-$SearchId => undef
-$CurrentSearch => undef
-$Description => undef
-$HideResults => 0
-$Dirty => 0
-</%ARGS>
diff --git a/rt/html/Search/Elements/NewListActions b/rt/html/Search/Elements/NewListActions
deleted file mode 100644 (file)
index eb82544..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($actions[0] ) {
-<b><%loc('Results')%></b><br>
-% foreach my $action (@actions) {
-% next unless ($action);
-% my @item = @$action;
-% if ($item[1] < 0) {
-<font color=red> 
-% }
-&nbsp;<%$item[0]%><BR>
-% if ($item[1] < 0) {
-</font>
-% }
-% }
-<BR>
-% }
-<%init>
-@actions = grep (/./,@actions);
-</%init>
-<%ARGS>
-@actions => undef
-</%ARGS>
diff --git a/rt/html/Search/Elements/PickBasics b/rt/html/Search/Elements/PickBasics
deleted file mode 100644 (file)
index 8a48f6b..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<tr>
-<td class="label">
-<&|/l&>id</&>
-</td><td>
-<& /Elements/SelectEqualityOperator, Name => "idOp" &>
-</td><td>
-<INPUT Name="ValueOfid" SIZE=5>
-</td>
-</tr>
-
-<tr><td align=right>
-<& /Elements/SelectAttachmentField, Name => 'AttachmentField' &>
-</td><td>
-<& /Elements/SelectBoolean, Name => "AttachmentOp", 
-                           True => loc("matches"), 
-                           False => loc("does not match"), 
-                           TrueVal => 'LIKE', 
-                           FalseVal => 'NOT LIKE' 
-&> 
-</td><td>
-<Input Name="ValueOfAttachment" Size=20>
-</td>
-</tr>
-<tr>
-<td class="label">
-<&|/l&>Queue</&>
-</td><td>
-<& /Elements/SelectBoolean,  Name => "QueueOp" , 
-                                       True => loc("is"), 
-                                       False => loc("isn't"), 
-                                       TrueVal=> '=', 
-                                       FalseVal => '!=' &>
-</td><td>
-<& /Elements/SelectQueue, 
-    Name => "ValueOfQueue", 
-    NamedValues => 1, 
-    CheckQueueRight => 'ShowTicket' &>
-</td>
-</tr>
-<tr>
-<td class="label">
-<&|/l&>Status</&>
-</td><td>
-<& /Elements/SelectBoolean, Name => "StatusOp", 
-                           True => loc("is"), 
-                           False => loc("isn't"), 
-                           TrueVal=> '=', 
-                           FalseVal => '!=' 
-&>  
-</td><td>
-<& /Elements/SelectStatus, Name => "ValueOfStatus", SkipDeleted => 1 &>
-</td>
-</tr>
-<tr><td class="label">
-<SELECT NAME="ActorField">
-<OPTION VALUE="Owner"><&|/l&>Owner</&></OPTION>
-<OPTION VALUE="Creator"><&|/l&>Creator</&></OPTION>
-<OPTION VALUE="LastUpdatedBy"><&|/l&>LastUpdatedBy</&></OPTION>
-</SELECT>
-</td><td>
-<& /Elements/SelectBoolean, Name => "ActorOp", 
-                                         TrueVal=> '=', 
-                                         FalseVal => '!=' 
-&> 
-</td><td>
-<& /Elements/SelectOwner, Name => "ValueOfActor", ValueAttribute => 'Name' &>
-</td>
-</tr>
-<tr>
-<td class="label">
-<& SelectPersonType, Name => 'WatcherField', Default => 'Requestor' &>
-</td><td>
-<& /Elements/SelectMatch, Name => "WatcherOp" &>
-</td><td>
-<Input Name="ValueOfWatcher" Size=20>
-</tr>
-<tr>
-<td class="label">
-<& SelectPersonType, Name => 'WatcherGroupField', Default => 'RequestorGroup', Suffix => 'Group' &>
-</td><td>
-<& /Elements/SelectBoolean, Name => "WatcherGroupOp", 
-                                         True=> loc('belongs to'), 
-                                         False=> loc('does not belong to'), 
-                                         TrueVal=> '=', 
-                                         FalseVal => '!='
-&>
-</td><td>
-<& SelectGroup, Name => 'ValueOfWatcherGroup' &>
-</td> 
-</tr>
-<tr>
-<td class="label">
-<& /Elements/SelectDateType, Name=>"DateField" &>
-</td><td>
-<& /Elements/SelectDateRelation, Name=>"DateOp" &>
-</td><td>
-<& /Elements/SelectDate, Name => "ValueOfDate", ShowTime => 0, Default => '' &>
-</td></tr>
-<tr>
-<td class="label">
-<SELECT NAME="TimeField">
-<OPTION VALUE="TimeWorked"><&|/l&>Time Worked</&></OPTION>
-<OPTION VALUE="TimeEstimated"><&|/l&>Time Estimated</&></OPTION>
-<OPTION VALUE="TimeLeft"><&|/l&>Time Left</&></OPTION>
-</SELECT>
-</td><td>
-<& /Elements/SelectEqualityOperator, Name => "TimeOp" &>
-</td><td>
-<INPUT Name="ValueOfTime" SIZE=5>
-</td>
-</tr>
-<tr>
-<td class="label">
-<SELECT NAME="PriorityField">
-<OPTION VALUE="Priority"><&|/l&>Priority</&></OPTION>
-<OPTION VALUE="InitialPriority"><&|/l&>Initial Priority</&></OPTION>
-<OPTION VALUE="FinalPriority"><&|/l&>Final Priority</&></OPTION>
-</SELECT>
-</td><td>
-<& /Elements/SelectEqualityOperator, Name => "PriorityOp" &>
-</td><td>
-<INPUT Name="ValueOfPriority" SIZE=5>
-</td>
-</tr>
-<tr>
-<td class="label">
-<& SelectLinks, Name=>"LinksField" &>
-</td><td>
-<& /Elements/SelectBoolean, Name => "LinksOp", 
-                           True => loc("is"), 
-                           False => loc("isn't"), 
-                           TrueVal=> '=', 
-                           FalseVal => '!=' &>  
-</td><td>
-<INPUT Name="ValueOfLinks" value="" SIZE=5>
-</td></tr>
-<%INIT>
-my @people = ('Actor',
-             'Watcher',
-             'WatcherGroup',
-             );
-</%INIT>
diff --git a/rt/html/Search/Elements/PickCFs b/rt/html/Search/Elements/PickCFs
deleted file mode 100644 (file)
index 435a07a..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% while ( my $CustomField = $CustomFields->Next ) {
-% my $name = "'CF.{" . $CustomField->Name . "}'";
-<tr><td class="label">
-<% $CustomField->Name %> 
-</td>
-<td>
-        <& /Elements/SelectCustomFieldOperator, Name => $name . "Op", 
-                                    True => loc("is"), 
-                                    False => loc("isn't"), 
-                                    TrueVal=> '=', FalseVal => '!=' &>
-</td>
-<td>
-<& /Elements/SelectCustomFieldValue, Name => "ValueOf" . $name,
-                            CustomField => $CustomField,
-                            &>
-</td></tr>
-% }
-<%INIT>
-my $CustomFields = RT::CustomFields->new( $session{'CurrentUser'});
-foreach my $id (keys %cfqueues) {
-    $id =~ s/^.'*(.*).'*$/$1/;
-    # Gotta load up the $queue object, since queues get stored by name now. my $id
-    my $queue = RT::Queue->new($session{'CurrentUser'});
-    $queue->Load($id);
-    $CustomFields->LimitToQueue($queue->Id);
-}
-$CustomFields->LimitToGlobal();
-
-</%INIT>
-
-<%ARGS>
-%cfqueues => undef
-</%ARGS>
diff --git a/rt/html/Search/Elements/PickCriteria b/rt/html/Search/Elements/PickCriteria
deleted file mode 100644 (file)
index 1293444..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title => loc('Add Criteria')&>
-<table width=100% cellspacing=0 cellpadding=0 border=0>
-  <tr>
-    <td>
-      <table cellspacing=0 border=0>
-        <tr><td class=label>
-        <&|/l&>Aggregator</&>:
-        </td>
-        <td><& SelectAndOr, Name => "AndOr" &>
-        </td></tr>
-      </table>
-    </td></tr>
-  <tr>
-    <td>
-      <hr>
-    </td>
-  </tr>
-  <tr>
-    <td valign=top>
-      <table cellspacing=0 border=0>
-      <& PickBasics &>
-    <& PickCFs, cfqueues => \%cfqueues &>
-    </table>
-    </td>
-  </tr>
-  <tr><td>&nbsp;</td></tr>
-</table>
-
-<& /Elements/TitleBoxEnd &>
-
-<%ARGS>
-$addquery => 0
-$query => undef
-%cfqueues => undef
-</%ARGS>
diff --git a/rt/html/Search/Elements/SearchPrivacy b/rt/html/Search/Elements/SearchPrivacy
deleted file mode 100644 (file)
index 270e1ba..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%args>
-$Object => undef
-</%args>
-% if (ref($Object) eq 'RT::User' && $Object->id == $session{'CurrentUser'}->Id) {
-<&|/l&>My saved searches</&>
-% } else {
-<&|/l, $Object->Name&>[_1]'s saved searches</&>
-% }
diff --git a/rt/html/Search/Elements/SelectAndOr b/rt/html/Search/Elements/SelectAndOr
deleted file mode 100644 (file)
index 2f3c704..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<input type=radio NAME="<%$Name%>" CHECKED VALUE="AND"><&|/l&>AND</&></input>
-<input type=radio NAME="<%$Name%>" VALUE="OR"><&|/l&>OR</&></input>
-
-<%ARGS>
-$Name => "Operator"
-</%ARGS>
diff --git a/rt/html/Search/Elements/SelectGroup b/rt/html/Search/Elements/SelectGroup
deleted file mode 100644 (file)
index edd5371..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-% if ($AllowNull) {
-<OPTION VALUE="">-</OPTION>
-% }
-%while (my $group = $groups->Next) {
-<OPTION VALUE="<%$group->id%>" <%$group->id eq $Default && "SELECTED"%>><%$group->Name%></OPTION>
-%}
-</SELECT>
-
-<%INIT>
-my $groups = new RT::Groups($session{'CurrentUser'});
-$groups->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => $Domain);
-
-</%INIT>
-<%ARGS>
-$AllowNull => 1
-$Default=> ''
-$Name => 'Group'
-$Domain => 'UserDefined';
-</%ARGS>
diff --git a/rt/html/Search/Elements/SelectLinks b/rt/html/Search/Elements/SelectLinks
deleted file mode 100644 (file)
index 00ec80b..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME="<%$Name%>">
-% foreach (@fields) {
-<OPTION VALUE="<%$_%>"><&|/l&><%$_%></&></OPTION>
-% }
-</SELECT>
-<%ARGS>
-$Name => 'LinksField'
-</%ARGS>
-
-<%INIT>
-my @fields = ('HasMember',
-             'MemberOf',
-             'DependsOn',
-             'DependedOnBy',
-             'RefersTo',
-             'ReferredToBy',
-             'LinkedTo',
-             );
-</%INIT>
diff --git a/rt/html/Search/Elements/SelectPersonType b/rt/html/Search/Elements/SelectPersonType
deleted file mode 100644 (file)
index d4127c9..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<SELECT NAME ="<%$Name%>">
-% if ($AllowNull) {
-<OPTION VALUE="">-</OPTION>
-% }
-% for my $option (@types) {
-%  if ($Suffix) {
-<OPTION VALUE="<% $option %><% $Suffix %>" <%$option eq $Default && "SELECTED"%> ><%loc($option)%></OPTION>
-%   next;
-%  }
-%  foreach my $subtype (@subtypes) {
-<OPTION VALUE="<%"$option.$subtype"%>" <%$option eq $Default && $subtype eq 'EmailAddress' && "SELECTED"%> ><% loc($option) %> <% loc($subtype) %></OPTION>
-%  }
-% }
-</SELECT>
-
-<%INIT>
-my @types;
-if ($Scope =~ 'queue') {
-   @types = qw(Cc AdminCc);
-}
-elsif ($Suffix eq 'Group') {
-   @types = qw(Requestor Cc AdminCc Watcher);
-}
-else { 
-   @types = qw(Requestor Cc AdminCc Watcher Owner);
-}
-
-my @subtypes = qw(EmailAddress Name RealName Nickname Organization Address1 Address2 WorkPhone HomePhone MobilePhone PagerPhone);
-
-</%INIT>
-<%ARGS>
-$AllowNull => 1
-$Suffix => ''
-$Default=>undef
-$Scope => 'ticket'
-$Name => 'WatcherType'
-</%ARGS>
diff --git a/rt/html/Search/Elements/SelectSearchObject b/rt/html/Search/Elements/SelectSearchObject
deleted file mode 100644 (file)
index e9df517..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%args>
-@Objects => undef
-$Name => undef
-</%args>
-<select name="<%$Name%>">
-% foreach my $object (@Objects) {
-% if (ref($object) eq 'RT::User' && $object->id == $session{'CurrentUser'}->Id) {
-<option value="<%ref($object)%>-<%$object->id%>"><&|/l&>My saved searches</&></option>
-% } else {
-<option value="<%ref($object)%>-<%$object->id%>"><&|/l, $object->Name&>[_1]'s saved searches</&></option>
-% }
-% }
-</select>
diff --git a/rt/html/Search/Elements/SelectSearchesForObjects b/rt/html/Search/Elements/SelectSearchesForObjects
deleted file mode 100644 (file)
index e6be66a..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%args>
-@Objects => undef
-$Name => undef
-</%args>
-<select name="<%$Name%>">
-% foreach my $object (@Objects) {
-% if (ref($object) eq 'RT::User' && $object->id == $session{'CurrentUser'}->Id) {
-<option value=""><&|/l&>My saved searches</&></option>
-% } else {
-<option value=""></option>
-<option value=""><&|/l, $object->Name&>[_1]'s saved searches</&></option>
-% }
-% my @searches = $object->Attributes->Named('SavedSearch');
-% foreach my $search (@searches) { 
-%     # Skip it if it is not a ticket search.
-%     next if ($search->SubValue('SearchType')
-%              && $search->SubValue('SearchType') ne 'Ticket');
-<option value="<%ref($object)%>-<%$object->id%>-SavedSearch-<%$search->Id%>"> -<%$search->Description||loc('Unnamed search')%></option>
-% }
-% }
-</select>
diff --git a/rt/html/Search/Results.html b/rt/html/Search/Results.html
deleted file mode 100755 (executable)
index 5849378..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => $title, Refresh => $session{'tickets_refresh_interval'} &>
-<& /Ticket/Elements/Tabs, 
-    current_tab => "Search/Results.html".$QueryString, 
-    Title => $title,
-    Format => $Format,
-    Query => $Query,
-    Rows => $Rows,
-    OrderBy => $OrderBy,
-    Order => $Order &>
-<& /Elements/TicketList, 
-    Query => $Query,
-    AllowSorting => 1,
-    OrderBy => $OrderBy,
-    Order => $Order,
-    Rows => $Rows,
-    Page => $Page,
-    Format => $Format,
-    BaseURL => $RT::WebPath."/Search/Results.html?"
-
-   &>
-<div align=right>
-<form method=get action="<%$RT::WebPath%>/Search/Results.html">
-<input type="hidden" name="Query" value="<%$Query%>" />
-<input type="hidden" name="Format" value="<%$Format%>" />
-<input type="hidden" name="HideResults" value="<%$HideResults%>" />
-<input type="hidden" name="Rows" value="<%$Rows%>" />
-<input type="hidden" name="Page" value="<%$Page%>" />
-<input type="hidden" name="OrderBy" value="<%$OrderBy%>" />
-<input type="hidden" name="Order" value="<%$Order%>" />
-<& /Elements/Refresh, Name => 'TicketsRefreshInterval', Default => $session {'tickets_refresh_interval'} &>
-<input type=submit value="<&|/l&>Go!</&>">
-</form>
-</div>
-<div align=right>
-<a href="<%$RT::WebPath%>/Search/Bulk.html<%$QueryString%>"><&|/l&>Update multiple tickets</&></a><br>
-<a href="<%$RT::WebPath%>/Search/Results.html<%$QueryString%>"><&|/l&>Bookmarkable link</&></a><br>
-<a href="<%$RT::WebPath%>/Search/Results.tsv<%$QueryString%>"><&|/l&>spreadsheet</&></a> |
-<a href="<%$RT::WebPath%>/Search/Results.rdf<%$ShortQueryString%>"><&|/l&>RSS</&></a> |
-<a href="<%$RT::WebPath%>/Tools/Offline.html<%$ShortQueryString%>"><&|/l&>Work offline</&></a><br>
-<& /Elements/Callback, _CallbackName => 'SearchActions', QueryString => $QueryString&>
-</div>
-<%INIT>
-my ($title, $ticketcount);
-$session{'i'}++;
-$session{'tickets'} = RT::Tickets->new($session{'CurrentUser'}) ;
-$session{'tickets'}->FromSQL($Query) if ($Query);
-$session{'tickets'}->OrderBy(FIELD => $OrderBy, ORDER => $Order); 
-
-
-$session{'CurrentSearchHash'} = {
-    Format      => $Format,
-    Query       => $Query,
-    Order       => $Order,
-    OrderBy     => $OrderBy,
-    RowsPerPage => $Rows
-    };
-
-
-
-if ( $session{'tickets'}->Query()) {
-    $ticketcount = $session{tickets}->CountAll();
-    $title = loc('Found [quant,_1,ticket]', $ticketcount);
-} else {
-    $title = loc("Find tickets");
-}
-
-my $QueryString = "?".$m->comp('/Elements/QueryString',
-                               Query => $Query,
-                               Format => $Format,
-                               Rows => $Rows,
-                               OrderBy => $OrderBy,
-                               Order => $Order,
-                               Page => $Page);
-
-my $ShortQueryString = "?".$m->comp('/Elements/QueryString', Query => $Query);
-
-if ($ARGS{'TicketsRefreshInterval'}) {
-       $session{'tickets_refresh_interval'} = $ARGS{'TicketsRefreshInterval'};
-}
-
-</%INIT>
-<%CLEANUP>
-$session{'tickets'}->PrepForSerialization();
-</%CLEANUP>
-<%ARGS>
-$Query => undef
-$Format => undef 
-$HideResults => 0
-$Rows => 50
-$Page => 1
-$OrderBy => 'id'
-$Order => 'ASC'
-</%ARGS>
diff --git a/rt/html/Search/Results.rdf b/rt/html/Search/Results.rdf
deleted file mode 100644 (file)
index ee71fea..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%INIT>
-
-my $Tickets = RT::Tickets->new($session{'CurrentUser'});
-$Tickets->FromSQL($ARGS{'Query'});
-$r->content_type('application/rdf+xml');
-
-
-
-        # create an RSS 1.0 file (http://purl.org/rss/1.0/)
-        use XML::RSS;
-        my $rss = new XML::RSS (version => '1.0');
-        $rss->channel(
-          title        => "$RT::rtname: Syndicated Search",
-          link         => $RT::WebURL,
-          description  => "",
-          dc => {
-          },
-          syn => {
-            updatePeriod     => "hourly",
-            updateFrequency  => "1",
-            updateBase       => "1901-01-01T00:00+00:00",
-          },
-        );
-
-
-    while ( my $Ticket = $Tickets->Next()) {
-       my $row;
-        $rss->add_item(
-          title       =>  $Ticket->Subject,
-          link        => $RT::WebURL."/Ticket/Display.html?id=".$Ticket->id,
-          description => $Ticket->Transactions->First->Content,
-          dc => {
-            subject  => $Ticket->Subject,
-            creator  => $Ticket->CreatorObj->RealName . "<".$Ticket->CreatorObj->EmailAddress.">",
-          },
-        );
-    }
-$m->out($rss->as_string);
-$m->abort();
-</%INIT>
diff --git a/rt/html/Search/Results.tsv b/rt/html/Search/Results.tsv
deleted file mode 100644 (file)
index 17aa88a..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%INIT>
-
-my $Tickets = RT::Tickets->new($session{'CurrentUser'});
-$Tickets->FromSQL($ARGS{'Query'});
-
-my @rows;
-my %known_cfs;
-
-my @attrs = qw( id QueueObj->Name Subject Status TimeEstimated TimeWorked TimeLeft Priority FinalPriority OwnerObj->Name 
-                Requestors->MemberEmailAddressesAsString DueObj->ISO ToldObj->ISO
-                CreatedObj->ISO ResolvedObj->ISO );
-
-    $r->content_type('application/vnd.ms-excel');
-    while ( my $Ticket = $Tickets->Next()) {
-       my $row;
-       foreach my $attr (@attrs) {
-                my $method = '$Ticket->'.$attr.'()';
-           $row->{$attr} = eval $method;
-            if ($@) {die "Failed to find $attr - ". $@}; 
-       }
-
-        my $cfs = $Ticket->QueueObj->CustomFields();
-        while (my $cf = $cfs->Next) {
-                my @content;
-               my $values = $Ticket->CustomFieldValues($cf->Id);
-               while (my $value = $values->Next) {
-                       push @content, $value->Content;
-               }
-                $row->{'CustomField-'.$cf->Id} = join(', ',@content);
-                if ($row->{'CustomField-'.$cf->Id}) {
-                        $known_cfs{$cf->Id} = $cf->Name;
-                }
-        }
-        push @rows, $row;
-
-
-    }
-{ 
-my @header;
-    foreach my $attr (@attrs) {
-        my $label = $attr;
-        $label =~ s'Obj-.(?:AsString|Name|ISO)''g;
-        $label =~ s'-\>MemberEmailAddressesAsString''g;
-       push @header, $label;
-    }
-    foreach my $id (sort keys %known_cfs) {
-        push @header, $known_cfs{$id}; 
-    }
-
-$m->out(join("\t", @header));
-$m->out("\n");
-}
-foreach my $row (@rows) {
-        my @row;
-        foreach my $attr(@attrs) {
-                push @row, $row->{"$attr"};
-        }
-        foreach my $id (sort keys %known_cfs) {
-               my $val = $row->{'CustomField-'.$id};
-                $val =~ s/(\n|\r)//g;
-                push @row, $val;
-        }
-        
-        $m->out(join("\t",@row));
-        $m->out("\n");
-}
-
-
-$m->abort();
-</%INIT>
diff --git a/rt/html/SelfService/Attachment/dhandler b/rt/html/SelfService/Attachment/dhandler
deleted file mode 100644 (file)
index f953c24..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-$m->comp('/Ticket/Attachment/dhandler', %ARGS);
-$m->abort;
-</%init>
diff --git a/rt/html/SelfService/Closed.html b/rt/html/SelfService/Closed.html
deleted file mode 100644 (file)
index 2d49a68..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /SelfService/Elements/Header, Title => loc('Closed tickets') &>
-
-<& /SelfService/Elements/MyRequests, status => ['rejected', 'resolved'], friendly_status =>
-loc('closed') &>
diff --git a/rt/html/SelfService/Create.html b/rt/html/SelfService/Create.html
deleted file mode 100644 (file)
index d60ae26..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& Elements/Header, Title => loc("Create a ticket") &>
-
-<FORM ACTION="Display.html" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE=HIDDEN Name="id" VALUE="new">
-
-<TABLE>
-<TR>
-<TD class="label">
-<&|/l&>Queue</&>:
-</td>
-<td class="value">
-    <input type="hidden" name="Queue" value="<%$queue_obj->id%>">
-    <b><%$queue_obj->Name%></b> (<%$queue_obj->Description%>)
-</TD>
-</TR>
-<TR>
-<TD class="label">
-<&|/l&>Requestors</&>:
-</TD>
-<TD class="value">
-<INPUT Name="Requestors" Value="<%$session{CurrentUser}->EmailAddress%>" SIZE=20>
-</TD>
-</TR>
-<TR>
-<TD class="label">
-<&|/l&>Cc</&>:
-</TD>
-<TD class="value">
- <INPUT NAME="Cc" SIZE=20>
-</TD>
-</TR>
-<TR>
-<TD class="label">
-<&|/l&>Subject</&>:
-</TD>
-<TD class="value">
-<INPUT Name="Subject" SIZE=60 MAXSIZE=100 value="">
-</TD>
-</TR>
-<tr>
-    <td colspan="2">
-        <& /Ticket/Elements/EditCustomFields, QueueObj => $queue_obj &>
-    </td>
-</tr>
-<tr>
-<TD class="label">
-<&|/l&>Attach file</&>:
-</TD>
-<TD class="value">
-<INPUT Name="Attach" type="file">
-</TD>
-</TR>
-<TR>
-<TD COLSPAN=2>
-<&|/l&>Describe the issue below</&>:<br>
-<& /Elements/MessageBox &>
-</TD>
-</TR>
-</TABLE>
-<& /Elements/Submit, Label => loc("Create ticket")&>
-
-
-</FORM>
-<%args>
-$Queue => undef
-</%args>
-<%init>
-my $queue_obj = RT::Queue->new($session{'CurrentUser'});
-$queue_obj->Load($Queue);
-</%init>
diff --git a/rt/html/SelfService/CreateTicketInQueue.html b/rt/html/SelfService/CreateTicketInQueue.html
deleted file mode 100755 (executable)
index 5e89736..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& Elements/Header, Title => loc("Create a ticket") &>
-
-<h1><&|/l&>Select a queue for your new ticket</&></h1>
-
-<dl>
-% while (my $queue = $queues->Next) {    
-% next unless $queue->CurrentUserHasRight('CreateTicket');
-
-<dt><a href="<%$RT::WebPath%>/SelfService/Create.html?Queue=<%$queue->id%>"><%$queue->Name%></a></dt>
-<dd><%$queue->Description%></dd>
-% }
-</dl>
-<%init>
-my $queues = RT::Queues->new($session{'CurrentUser'});
-$queues->UnLimit;
-</%init>
diff --git a/rt/html/SelfService/Display.html b/rt/html/SelfService/Display.html
deleted file mode 100644 (file)
index f7140df..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /SelfService/Elements/Header, Title => loc('#[_1]: [_2]', $Ticket->id, $Ticket->Subject) &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-  <TABLE WIDTH="100%" class="ticketsummary" >
-      <TR>
-        <TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
-          <& /Elements/TitleBoxStart, title => loc('The Basics'), 
-                title_class=> 'inverse',  
-                color => "#993333" &>
-                <& /Ticket/Elements/ShowBasics, Ticket => $Ticket &>
-                <& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>
-          <& /Elements/TitleBoxEnd &>
-</TD>
-        <TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
-          <& /Elements/TitleBoxStart, title => loc("Dates"),
-                title_class=> 'inverse',
-                 color => "#663366" &>
-          <& /Ticket/Elements/ShowDates, Ticket => $Ticket, UpdatedLink => 0 &>
-          <& /Elements/TitleBoxEnd &>
-</TD>
-</TR>
-</TABLE>
-
-
-
-%#!!pape: selfservice_find_attachments.patch {{
-<& /Ticket/Elements/ShowHistory, 
-      Ticket => $Ticket, 
-      URIFile => "Display.html", 
-      ShowHeaders => $ARGS{'ShowHeaders'},
-      AttachPath => "Attachment", 
-      Attachments => $attachments, 
-      UpdatePath => "Update.html" 
-&>
-%#!!pape: selfservice_find_attachments.patch }}
-
-
-
-<%INIT>
-
-my ( $field, @results );
-
-# {{{ Load the ticket
-#If we get handed two ids, mason will make them an array. bleck.
-# We want teh first one. Just because there's no other sensible way
-# to deal
-my @id = ( ref $id eq 'ARRAY' ) ? @{$id} : ($id);
-
-my $Ticket = new RT::Ticket( $session{'CurrentUser'} );
-
-# store the uploaded attachment in session
-if ( $ARGS{'Attach'} ) {    # attachment?
-    $session{'Attachments'} = {} unless defined $session{'Attachments'};
-
-    my $subject = "$ARGS{'Attach'}";
-
-    # since CGI.pm deutf8izes the magic field, we need to add it back.
-    Encode::_utf8_on($subject);
-
-    # strip leading directories
-    $subject =~ s#^.*[\\/]##;
-
-    my $attachment = MakeMIMEEntity(
-        Subject             => $subject,
-        Body                => "",
-        AttachmentFieldName => 'Attach'
-    );
-
-    $session{'Attachments'} =
-    { %{ $session{'Attachments'} || {} },
-        $ARGS{'Attach'} => $attachment };
-}
-
-if ( $id[0] eq 'new' ) {
-
-    # {{{ Create a new ticket
-
-    my $Queue = new RT::Queue( $session{'CurrentUser'} );
-    unless ( $Queue->Load( $ARGS{'Queue'} ) ) {
-        $m->comp( 'Error.html', Why => loc('Queue not found') );
-        $m->abort;
-    }
-
-    unless ( $Queue->CurrentUserHasRight('CreateTicket') ) {
-        $m->comp( 'Error.html',
-            Why =>
-              loc('You have no permission to create tickets in that queue.') );
-        $m->abort;
-    }
-
-
-    ( $Ticket, @results ) =
-    CreateTicket( Attachments => $session{'Attachments'}, %ARGS, Status => 'new' );
-
-    unless ( $Ticket->id ) {
-        $m->comp( 'Error.html', Why => join( "\n", @results ));
-              $m->abort();
-        }
-
-        # }}}
-
-        # delete temporary storage entry to make WebUI clean
-        unless ( keys %{ $session{'Attachments'} } and $ARGS{'UpdateAttach'} ) {
-            delete $session{'Attachments'};
-        }
-
-        # }}}
-    }
-    else {
-        unless ( $Ticket->Load( $id[0] ) ) {
-            $m->comp( 'Error.html',
-                Why => loc( "Couldn't load ticket '[_1]'", $id ) );
-            $m->abort();
-        }
-    }
-
-    # }}}
-
-    unless ( $Ticket->CurrentUserHasRight('ShowTicket') ) {
-        $m->comp( 'Error.html',
-            Why => loc("No permission to display that ticket") );
-        $m->abort();
-    }
-
-    my ( $code, $msg );
-
-    #Update the status
-    if (    ( defined $ARGS{'Status'} )
-        and $ARGS{'Status'}
-        and ( $ARGS{'Status'} ne $Ticket->Status ) )
-    {
-        ( $code, $msg ) = $Ticket->SetStatus( $ARGS{'Status'} );
-        push @results, "$msg";
-    }
-
-    # }}}
-
-    if (
-        $session{'Attachments'}
-        || (   $ARGS{'UpdateContent'} ne ''
-            && $ARGS{'UpdateContent'} ne "-- \n"
-            . $session{'CurrentUser'}->UserObj->Signature )
-      )
-    {
-        $ARGS{UpdateAttachments} = $session{'Attachments'};
-    }
-    ProcessUpdateMessage(
-        ARGSRef   => \%ARGS,
-        Actions   => \@results,
-        TicketObj => $Ticket
-    );
-
-    # delete temporary storage entry to make WebUI clean
-    unless ( keys %{ $session{'Attachments'} } and $ARGS{'UpdateAttach'} ) {
-        delete $session{'Attachments'};
-    }
-
-    my @cfupdates = ProcessObjectCustomFieldUpdates(Object => $Ticket, ARGSRef => \%ARGS);
-    push (@results, @cfupdates);
-
-    # }}}
-
-    my $Transactions = $Ticket->Transactions;
-
-    my $attachments =
-      $m->comp( '/Ticket/Elements/FindAttachments', Ticket => $Ticket );
-
-</%INIT>
-
-
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/SelfService/Elements/GotoTicket b/rt/html/SelfService/Elements/GotoTicket
deleted file mode 100644 (file)
index 50efaa2..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<FORM ACTION="<%$RT::WebPath%>/SelfService/Display.html"><input type=submit value="<&|/l&>Goto ticket</&>">&nbsp;<input size=4 name=id></FORM>
diff --git a/rt/html/SelfService/Elements/Header b/rt/html/SelfService/Elements/Header
deleted file mode 100644 (file)
index c7e6a91..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, %ARGS, Prefs => '/SelfService/Prefs.html' &>
-<& /SelfService/Elements/Tabs, %ARGS &>
diff --git a/rt/html/SelfService/Elements/MyRequests b/rt/html/SelfService/Elements/MyRequests
deleted file mode 100644 (file)
index 2df8ce8..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/TitleBoxStart, title =>  $title &>
-<TABLE BORDER=0 cellspacing=1 cellpadding=1 BGCOLOR="#eeeeee" WIDTH=100%>
-<TR>
-<TH><&|/l&>Subject</&></TH>
-<TH><&|/l&>Status</&></TH>
-<TH><&|/l&>Owner</&></TH>
-</TR>
-<TR>
-% while (my $Ticket = $MyTickets->Next) {
-<TR>
-<TD>
-<a href="<%$RT::WebPath%>/SelfService/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id%>: <%$Ticket->Subject%></a>
-</TD>
-<TD>
-<%loc($Ticket->Status)%>
-</TD><TD>
-<%$Ticket->OwnerObj->Name%>
-</TR>
-% }
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-
-
-<%INIT>
-$title ||= loc("My [_1] tickets", $friendly_status);
-my $MyTickets;
-$MyTickets = new RT::Tickets ($session{'CurrentUser'});
-$MyTickets->LimitWatcher(TYPE => 'Requestor', VALUE => $session{'CurrentUser'}->EmailAddress);
-$MyTickets->OrderBy(FIELD => 'id', ORDER => 'ASC');
-
-foreach my $status (@status) {
-
-        $MyTickets->LimitStatus(VALUE => $status);
-}
-</%INIT>
-<%ARGS>
-$title => undef
-$friendly_status => loc('open')
-@status => ('open', 'new', 'stalled')
-</%ARGS>
diff --git a/rt/html/SelfService/Elements/Tabs b/rt/html/SelfService/Elements/Tabs
deleted file mode 100644 (file)
index 802fd65..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/PageLayout,
-    current_toptab => $current_toptab,
-    current_tab => $current_tab,
-    toptabs => $tabs,
-    topactions => $actions,
-    title => $Title
-&>
-<a name="skipnav" id="skipnav" accesskey="8"></a>
-<%INIT>
-
-if ($Title) {
-$Title = loc ("RT Self Service") . " / " . $Title;
-} else {
-$Title = loc ("RT Self Service");
-
-}
-my ($tab);
-my $tabs = { A  => { title => loc('Open tickets'),
-                        path => 'SelfService/',
-                      },
-             B => { title => loc('Closed tickets'),
-                         path => 'SelfService/Closed.html',
-                       },
-             C => { title => loc('New ticket'),
-                    path => 'SelfService/CreateTicketInQueue.html'
-                    }
-           };
-if ($session{'CurrentUser'}->HasRight( Right => 'ModifySelf',
-                                      Object => $RT::System )) {
-       $tabs->{Z} = { title => loc('Preferences'),
-                      path => 'SelfService/Prefs.html'
-                      };
-}
-
-my $actions = {
-       B => { html => $m->scomp('GotoTicket') 
-               }
-       };
-</%INIT>
-<%ARGS>
-$Title => undef
-$current_toptab => undef
-$current_tab => undef
-</%ARGS>
-
diff --git a/rt/html/SelfService/Error.html b/rt/html/SelfService/Error.html
deleted file mode 100644 (file)
index 8ac9f81..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /SelfService/Elements/Header, Title => loc('Error') &>
-<h2 class="title"><%loc('Error')%></h2>
-<& /Elements/TitleBoxStart, title => $Title &>
-<%$Why%>
-<br>
-<font size=-1>
-<%$Details%>
-</font>
-<& /Elements/TitleBoxEnd &>
-</body>
-</HTML>
-
-
-<%args>
-$Code => undef
-$Details => undef
-$Title => loc("RT Error")
-$Why => loc("the calling component did not specify why")
-</%args>
-
-<%INIT>
-$RT::Logger->error("WebRT: $Why ($Details)");
-</%INIT>
diff --git a/rt/html/SelfService/Prefs.html b/rt/html/SelfService/Prefs.html
deleted file mode 100644 (file)
index 3913203..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /SelfService/Elements/Header, Title => loc('Preferences') &>
-
-<& /Elements/ListActions, actions => \@results &>
-<form method=post>
-
-% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-<& /Elements/TitleBoxStart, title => loc('Change password')  &>
-<&|/l&>New password</&>: <input type=password name="NewPass1" size=16>
-<&|/l&>Confirm</&>: <input type=password name="NewPass2" size=16>
-<& /Elements/TitleBoxEnd &>
-<BR>
-% }
-<& /Elements/Submit, Label => loc('Save Changes') &>
-         </form>
-
-
-<%INIT>
-my @results;
-
-if ($NewPass1) {
-    if ($NewPass1 ne $NewPass2) {
-       push (@results, "Passwords did not match.");
-    }  
-    else {
-       my ($val, $msg)=$session{'CurrentUser'}->UserObj->SetPassword($NewPass1);
-       push (@results, "Password: ".$msg);
-    }  
-}
-if ($Signature) {
-    $Signature =~ s/(\r\n|\r)/\n/g;
-    if ($Signature ne $session{'CurrentUser'}->UserObj->Signature) {
-       my ($val, $msg)=$session{'CurrentUser'}->UserObj->SetSignature($Signature);
-       push (@results, "Signature: ".$msg);
-    }
-}
-#A hack to make sure that session gets rewritten.
-
-$session{'i'}++;
-</%INIT>
-
-<%ARGS>
-$Signature => undef
-$NewPass1 => undef
-$NewPass2 => undef
-</%ARGS>
diff --git a/rt/html/SelfService/Update.html b/rt/html/SelfService/Update.html
deleted file mode 100644 (file)
index 816a610..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /SelfService/Elements/Header, 
-    Title =>loc('Update ticket #[_1]', $Ticket->id) 
-&>
-
-
-<FORM ACTION="Display.html" METHOD=POST ENCTYPE="multipart/form-data">
-<input type=hidden name="UpdateType" value="response">
-<input TYPE="hidden" NAME="id" VALUE="<%$Ticket->Id%>">
-<table>
-    <tr>
-        <td class="label">
-            <&|/l&>Status</&>
-        </td>
-        <td class="value">
-            <& /Elements/SelectStatus, Name=>"Status", DefaultLabel => loc("[_1] (Unchanged)",loc($DefaultStatus)) &>
-        </td>
-    </tr>
-    <tr>
-        <td class="label">
-            <&|/l&>Subject</&>
-        </td>
-        <td class="value">
-            <input name="UpdateSubject" size=60 value="<% $Ticket->Subject %>">
-        </td>
-
-    </tr>
-% if (exists $session{'Attachments'}) {
-<tr>
-    <TD class="label">
-    <&|/l&>Attached file</&>
-    </TD>
-    <TD COLSPAN=5 class="value">
-    <&|/l&>Check box to delete</&><BR>
-% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-    <input type="checkbox" name="DeleteAttach-<%$attach_name%>" value="1"><%$attach_name%><BR>
-% } # end of foreach
-    </TD>
-</TR>
-% } # end of if
-<tr>
-    <td class"label">
-        <&|/l&>Attach</&>
-    </td>
-    <td class="value">
-            <input name="Attach" type="file">
-            <input type="hidden" name="UpdateAttach" value="1">
-    </td>
-  </tr>
-</table>
-<& /Ticket/Elements/EditCustomFields,  TicketObj => $Ticket &>
-<& /Elements/MessageBox, 
-    Name => "UpdateContent", 
-    QuoteTransaction => $ARGS{QuoteTransaction} 
-    &>
-    <br>
-
-
-<& /Elements/Submit &>
-  </FORM>
-
-
-
-<%INIT>
-
-my $Ticket = LoadTicket($id);
-
-my $title = loc( "Update ticket #[_1]", $Ticket->id );
-
-$DefaultStatus = $Ticket->Status() unless ($DefaultStatus);
-
-
-Abort( loc("No permission to view update ticket") )
-  unless ( $Ticket->CurrentUserHasRight('ReplyToTicket')
-    or $Ticket->CurrentUserHasRight('ModifyTicket') );
-
-</%INIT>
-
-<%ARGS>
-$id => undef
-$Action => undef
-$DefaultStatus => undef
-</%ARGS>
diff --git a/rt/html/SelfService/index.html b/rt/html/SelfService/index.html
deleted file mode 100644 (file)
index f3ccb85..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /SelfService/Elements/Header, Title => undef &>
-
-<& /SelfService/Elements/MyRequests &>
diff --git a/rt/html/Ticket/Attachment/dhandler b/rt/html/Ticket/Attachment/dhandler
deleted file mode 100644 (file)
index 584fd72..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%perl>
-     my ($ticket, $trans,$attach, $filename);
-     my $arg = $m->dhandler_arg;                # get rest of path
-     if ($arg =~ '^(\d+)/(\d+)') {
-        $trans = $1;
-        $attach = $2;
-     }
-    else {
-        Abort("Corrupted attachment URL.");
-        }
-     my $AttachmentObj = new RT::Attachment($session{'CurrentUser'});
-     $AttachmentObj->Load($attach) || Abort("Attachment '$attach' could not be loaded");
-
-
-     unless ($AttachmentObj->id) {
-        Abort("Bad attachment id. Couldn't find attachment '$attach'\n");
-    }
-     unless ($AttachmentObj->TransactionId() == $trans ) {
-        Abort("Bad transaction number for attachment. $trans should be".$AttachmentObj->TransactionId() ."\n");
-
-     }
-
-     my $content_type = $AttachmentObj->ContentType || 'text/plain';
-        
-     unless ($RT::TrustHTMLAttachments) {
-         $content_type = 'text/plain' if ($content_type =~ /^text\/html/i);
-     }
-
-     if (my $enc = $AttachmentObj->OriginalEncoding) {
-       # normalize Encode.pm convention with IANA ones
-        $enc = 'big5'  if $enc eq 'big5-eten';
-        $enc = 'utf-8' if $enc eq 'utf8';
-       $content_type .= ";charset=$enc";
-     }
-
-     # unless ($RT::TrustMIMEAttachments) {
-     #     $content_type = 'application/octet-stream';
-     # }
-
-     $r->content_type( $content_type );
-     $m->clear_buffer();
-     $m->out($AttachmentObj->OriginalContent);
-     $m->abort; 
-</%perl>
-<%attr>
-AutoFlush => 0
-</%attr>
diff --git a/rt/html/Ticket/Create.html b/rt/html/Ticket/Create.html
deleted file mode 100644 (file)
index b547242..0000000
+++ /dev/null
@@ -1,300 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Create a new ticket") &>
-<& /Elements/Tabs, 
-    current_toptab => "Ticket/Create.html", 
-    Title => loc("Create a new ticket") &>
-<FORM ACTION="<%$RT::WebPath%>/Ticket/Create.html" METHOD="POST" ENCTYPE="multipart/form-data" NAME="TicketCreate">
-<INPUT TYPE=HIDDEN Name="id" VALUE="new">
-<A NAME="top">
-       
-       
-[<a class="currenttab"><&|/l&>Show basics</&></a>] [<A HREF="#detail"><&|/l&>Show details</&></a>]
-<BR>
-<& /Elements/TitleBoxStart, contentbg => "#cccccc", title => loc("Create a new ticket") &>
-<TABLE border=0 cellpadding=0 cellspacing=0>
-<TR><TD class=label><&|/l&>Queue</&>:</TD>
-<TD class=value><% $QueueObj->Name %>
-<INPUT TYPE=HIDDEN NAME=Queue Value="<%$QueueObj->Name%>">
-</TD>
-<TD class=label><&|/l&>Status</&>:
-</TD>
-<TD class=value>
-<& /Elements/SelectStatus, Name => "Status", Default => $ARGS{Status}||'new', DefaultValue => 0 &>
-</TD>
-<TD class=label>
-<&|/l&>Owner</&>:
-</TD>
-<TD class=value>
-<& /Elements/SelectOwner, Name => "Owner", QueueObj => $QueueObj, Default => $ARGS{Owner}||$RT::Nobody->Id, DefaultValue => 0 &>
-</TD>
-</TR>
-<TR>
-<TD class=label>
-<&|/l&>Requestors</&>:
-</TD>
-<TD class=value COLSPAN=5>
-<INPUT Name="Requestors" Value="<% ($ARGS{Requestors}) || $session{CurrentUser}->EmailAddress %>" SIZE=40>
-</TD>
-</TR>
-<TR>
-<TD class=labeltop>
-<&|/l&>Cc</&>:
-</TD>
-<TD class=value COLSPAN=5>
-<INPUT NAME="Cc" SIZE=40 VALUE="<% $ARGS{Cc} %>"><BR>
-<i><font size=-2>
-<&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)</&></font></i>
-</TD>
-</TR>
-<TR>
-<TD class=labeltop>
-<&|/l&>Admin Cc</&>:
-</TD>
-<TD class=value COLSPAN=5>
-<INPUT NAME="AdminCc" SIZE=40 VALUE="<% $ARGS{AdminCc} %>"><BR>
-<i><font size=-2>
-<&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)</&></font></i>
-</TD>
-</TR>
-<TR>
-<TD class=label>
-<&|/l&>Subject</&>:
-</TD>
-<TD class=value COLSPAN=5>
-<INPUT Name="Subject" SIZE=60 MAXSIZE=100 value="<%$ARGS{Subject} || ''%>">
-</TD>
-</TR>
-<TR>
-<TD COLSPAN=6>
-<& /Ticket/Elements/EditCustomFields, QueueObj => $QueueObj &>
-</TD>
-</TR>
-% if ($TxnCFs->Count) {
-% while (my $CF = $TxnCFs->Next()) {
-<TR>
-<TD ALIGN=RIGHT><% $CF->Name %>:</TD>
-<TD><& /Elements/EditCustomField, CustomField => $CF, NamePrefix =>
-    "Object-RT::Transaction--CustomField-" &><em><% $CF->FriendlyType %></em></TD>
-</TD></TR>
-% }
-% }
-<TR>
-% if (exists $session{'Attachments'}) {
-<TD class=label>
-<&|/l&>Attached file</&>:
-</TD>
-<TD COLSPAN=5>
-<&|/l&>Check box to delete</&><BR>
-% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-<input type="checkbox" name="DeleteAttach-<%$attach_name%>" value="1"><%$attach_name%><BR>
-% } # end of foreach
-</TD>
-</TR>
-<TR>
-% } # end of if
-<TD>
-<&|/l&>Attach file</&>:
-</TD>
-<TD class=value COLSPAN=5>
-<INPUT TYPE=FILE NAME="Attach">
-<INPUT TYPE=SUBMIT NAME="AddMoreAttach" VALUE="<&|/l&>Add More Files</&>">
-</TD>
-</TR>
-<TR>
-<TD COLSPAN=6>
-<&|/l&>Describe the issue below</&>:<br>
-% if (exists $ARGS{Content}) {
-<& /Elements/MessageBox, Default => $ARGS{Content}, IncludeSignature => 0 &>
-% } else {
-<& /Elements/MessageBox, QuoteTransaction => $QuoteTransaction &>
-%}
-
-<BR>
-</TD>
-</TR>
-<TR>
-<TD ALIGN=RIGHT COLSPAN=2>
-</TD>
-</TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, Label => loc("Create")&>
-
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-
-<A NAME="detail">
-       [<A HREF="#top"><&|/l&>Show basics</&></a>] [<a class="currenttab"><&|/l&>Show details</&></a>]
-<BR>
-<TABLE WIDTH="100%" BORDER=0>
-<TR>
-<TD WIDTH="50%" VALIGN=TOP>
-
-         <& /Elements/TitleBoxStart, title => loc('The Basics'), 
-               title_class=> 'inverse',  
-               color => "#993333" &>
-<TABLE BORDER=0>
-<TR><TD ALIGN=RIGHT><&|/l&>Priority</&>:</TD><TD><input size=3 name="InitialPriority" value="<% $ARGS{InitialPriority} ? $ARGS{InitialPriority} : $QueueObj->InitialPriority %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Final Priority</&>:</TD><TD><input size=3 name="FinalPriority" value="<% $ARGS{FinalPriority} ? $ARGS{FinalPriority} : $QueueObj->FinalPriority %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Time Worked</&>:</TD><TD><&|/l,'<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">'&>[_1] min</&></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Time Left</&>:</TD><TD><&|/l,'<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">'&>[_1] min</&></TD></TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<br>
-<& /Elements/TitleBoxStart, title => loc("Dates"),
-               title_class=> 'inverse',  
-                color => "#663366" &>
-
-<TABLE BORDER=0>
-<TR><TD ALIGN=RIGHT><&|/l&>Starts</&>:</TD><TD><input size=10 name="Starts" value="<% $ARGS{Starts} %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Due</&>:</TD><TD><input size=10 name="Due" value="<%
-$ARGS{Due}%>"></TD></TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<BR>
-</TD>
-
-<TD VALIGN="TOP">
-<& /Elements/TitleBoxStart, title => loc('Links'), 
-       title_class=> 'inverse',  
-       titleright => '', color=> "#336633" &>
-
-<i><&|/l&>(Enter ticket ids or URLs, separated with spaces)</&></i>
-<TABLE BORDER=0>
-<TR><TD ALIGN=RIGHT><&|/l&>Depends on</&></TD><TD><input size=10 name="new-DependsOn" value="<% $ARGS{'new-DependsOn'} %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Depended on by</&></TD><TD><input size=10 name="DependsOn-new" value="<% $ARGS{'DependsOn-new'} %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Parents</&></TD><TD><input size=10 name="new-MemberOf" value="<% $ARGS{'new-MemberOf'} %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Children</&></TD><TD><input size=10 name="MemberOf-new" value="<% $ARGS{'MemberOf-new'} %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Refers to</&></TD><TD><input size=10 name="new-RefersTo" value="<% $ARGS{'new-RefersTo'} %>"></TD></TR>
-<TR><TD ALIGN=RIGHT><&|/l&>Referred to by</&></TD><TD><input size=10 name="RefersTo-new" value="<% $ARGS{'RefersTo-new'} %>"></TD></TR>
-
-
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-<BR>
-
-</TD>
-</TR>
-</TABLE>
-<& /Elements/Submit, Label => loc("Create") &>
-</FORM>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
-
-<%INIT>
-
-
-
-my $QueueObj = new RT::Queue($session{'CurrentUser'});
-$QueueObj->Load($Queue) || Abort(loc("Queue could not be loaded."));
-my $CFs = $QueueObj->TicketCustomFields();
-my $TxnCFs = $QueueObj->TicketTransactionCustomFields();
-
-# if no due date has been set explicitly, then use the
-# queue's default if it exists
-if ($QueueObj->DefaultDueIn && !$ARGS{'Due'}) {
-    my $default_due = RT::Date->new($session{'CurrentUser'});
-    $default_due->SetToNow();
-    $default_due->AddDays($QueueObj->DefaultDueIn);
-    $ARGS{'Due'} = $default_due->ISO();
-}
-
-# {{{ deal with deleting uploaded attachments
-foreach my $key (keys %ARGS) {
-    if ($key =~ m/^DeleteAttach-(.+)$/) {
-       delete $session{'Attachments'}{$1};
-    }
-    $session{'Attachments'} = { %{$session{'Attachments'} || {}} };
-}
-
-# {{{ store the uploaded attachment in session
-if ($ARGS{'Attach'}) {                 # attachment?
-    $session{'Attachments'} = {} unless defined $session{'Attachments'};
-
-    my $subject = "$ARGS{'Attach'}";
-
-    # strip leading directories
-    $subject =~ s#^.*[\\/]##;
-
-    my $attachment = MakeMIMEEntity(
-        Subject             => $subject,
-        Body                => "",
-        AttachmentFieldName => 'Attach'
-    );
-
-    $session{'Attachments'} = { %{$session{'Attachments'} || {}},
-                               $ARGS{'Attach'} => $attachment };
-}
-# }}}
-
-# delete temporary storage entry to make WebUI clean
-unless (keys %{$session{'Attachments'}} and $ARGS{'id'} eq 'new') {
-    delete $session{'Attachments'};
-}
-
-
-# }}}
-
-if ((!exists $ARGS{'AddMoreAttach'}) && ($ARGS{'id'} eq 'new')) { # new ticket?
-    $m->comp('Display.html', %ARGS);
-    return();
-}
-</%INIT>
-
-<%ARGS>
-$DependsOn => undef
-$DependedOnBy => undef
-$MemberOf => undef
-$QuoteTransaction => undef
-$Queue => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Display.html b/rt/html/Ticket/Display.html
deleted file mode 100644 (file)
index dd4c093..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, 
-    Title => loc("#[_1]: [_2]", $TicketObj->Id, $TicketObj->Subject) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $TicketObj, 
-    current_tab => 'Ticket/Display.html?id='.$TicketObj->id,
-    Title => loc("#[_1]: [_2]", $TicketObj->Id, $TicketObj->Subject) &>
-
-<& /Elements/ListActions, actions => \@Actions &>
-
-<& /Elements/TitleBoxStart, title => loc('Ticket metadata'), contentbg =>
-'#ffffff' &>
-<& /Ticket/Elements/ShowSummary,  Ticket => $TicketObj, Attachments => $attachments &>
-<& /Elements/TitleBoxEnd &>
-
-<BR>
-
-<& /Elements/Callback, _CallbackName => 'BeforeShowHistory', Ticket => $TicketObj, %ARGS &>
-
-<& /Ticket/Elements/ShowHistory , 
-      Ticket => $TicketObj, 
-      Tickets => $Tickets, 
-      Collapsed => $ARGS{'Collapsed'}, 
-      ShowHeaders => $ARGS{'ShowHeaders'},
-      Attachments => $attachments,
-      AttachmentContent => $attachment_content
-      
-      &> 
-
-  
-<%ARGS>
-$id => undef
-$Create => undef
-$ShowHeaders => 0
-$Collapsed => undef
-$TicketObj => undef
-</%ARGS>
-
-<%INIT>
-
-$m->comp('/Elements/Callback', _CallbackName => 'Initial', TicketObj => $TicketObj, ARGSRef => \%ARGS);
-
-my ($linkid, $message, $tid, @Actions, $Tickets);  
-
-unless ($id || $TicketObj) {
-    Abort('No ticket specified');
-}
-
-if ($ARGS{'id'} eq 'new') {
-    # {{{ Create a new ticket
-    
-    my $Queue = new RT::Queue($session{'CurrentUser'});        
-    unless ($Queue->Load($ARGS{'Queue'})) {
-       Abort('Queue not found');
-    }
-    
-    unless ($Queue->CurrentUserHasRight('CreateTicket')) {
-       Abort('You have no permission to create tickets in that queue.');
-    }
-    ($TicketObj, @Actions) =
-       CreateTicket(Attachments => $session{'Attachments'}, %ARGS);
-    delete $session{'Attachments'};
-    unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
-       Abort("No permission to view newly created ticket #".$TicketObj->id.".");
-       }
-    # }}}
-} else { 
-    if (!$TicketObj) {
-
-       $TicketObj = RT::Ticket->new($session{'CurrentUser'});
-
-       $TicketObj = LoadTicket($ARGS{'id'});
-       unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
-           Abort("No permission to view ticket");
-       }
-    }
-
-    if (defined $ARGS{'Action'}) {
-       if ($ARGS{'Action'} =~ /^(Steal|Kill|Take|SetTold)$/) {
-           my $action = $1;
-           my ($res, $msg)=$TicketObj->$action();
-           push(@Actions, $msg);
-       }
-    }
-
-    $ARGS{'UpdateContent'} =~ s/\r\n/\n/g if defined $ARGS{'UpdateContent'};
-    if ( $ARGS{'UpdateTimeWorked'} ||
-        $session{'Attachments'} || 
-        (   defined $ARGS{'UpdateContent'}
-             && $ARGS{'UpdateContent'} ne ''
-            && $ARGS{'UpdateContent'} ne "-- \n"
-            . $session{'CurrentUser'}->UserObj->Signature )) {
-       $ARGS{UpdateAttachments} = $session{'Attachments'};
-       ProcessUpdateMessage( ARGSRef   => \%ARGS,
-                             Actions   => \@Actions,
-                             TicketObj => $TicketObj );
-       delete $session{'Attachments'};
-    }
-    #Process status updates
-    my @BasicActions = ProcessTicketBasics(ARGSRef => \%ARGS, TicketObj=>$TicketObj);
-    my @results = ProcessTicketLinks( TicketObj => $TicketObj, ARGSRef => \%ARGS);
-
-    push (@Actions, @BasicActions, @results);
-}
-
-
-
-$m->comp('/Elements/Callback', _CallbackName => 'BeforeDisplay',
-        TicketObj => \$TicketObj, Tickets => \$Tickets, ARGSRef => \%ARGS);
-
-
-my $attachments = $m->comp('Elements/FindAttachments', Ticket => $TicketObj, Tickets => $Tickets);
-my $attachment_content = $m->comp('Elements/LoadTextAttachments', Ticket => $TicketObj);
-
-</%INIT>
diff --git a/rt/html/Ticket/Elements/AddCustomers b/rt/html/Ticket/Elements/AddCustomers
deleted file mode 100644 (file)
index 01c7367..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-%# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-<BR>
-<%$msg%><br>
-
-% if (@Customers) {
-
-<br><i>(Check box to link)<i>
-<table>
-% foreach my $customer (@Customers) {
-<tr>
-  <td>
-    <input type="checkbox" name="Ticket-AddCustomer-<% $customer->{'custnum'} %>" VALUE="1" <% scalar(@Customers) == 1 ? 'CHECKED' : '' %>>
-    <A HREF="<%$freeside_url%>/view/cust_main.cgi?<% $customer->{'custnum'} %>"><% &RT::URI::freeside::small_custview($customer->{'custnum'}, &RT::URI::freeside::FreesideGetConfig('countrydefault'), 1) |n %>
-  </td>
-</tr>
-% }
-
-% }
-
-<%INIT>
-my ($msg);
-
-my $freeside_url = &RT::URI::freeside::FreesideURL();
-
-my @Customers = ();
-if ( $CustomerString ) {
-    @Customers = &RT::URI::freeside::smart_search( 'search' => $CustomerString );
-}
-
-my @Services = ();
-if ($ServiceString) {
-    @Services = (); #service_search();
-}
-
-</%INIT>
-
-<%ARGS>
-$CustomerString => undef
-$ServiceString => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/AddWatchers b/rt/html/Ticket/Elements/AddWatchers
deleted file mode 100644 (file)
index 98314b9..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<BR>
-<%$msg%><br>
-
-<&|/l&>Add new watchers</&>:<br>
-
-<table>
-% if ($Users and $Users->Count) {
-<tr><td>
-<&|/l&>Type</&>
-</td><td>
-<&|/l&>Username</&>
-</td></tr>
-% while (my $u = $Users->Next ) {
-<tr><td><&/Elements/SelectWatcherType, Name => "Ticket-AddWatcher-Principal-".$u->PrincipalId &></td><td><%$u->Name%> (<%$u->RealName%>)</td></tr>
-% }
-% }
-
-% if ($Groups and $Groups->Count) {
-<tr><td>
-<&|/l&>Type</&>
-</td><td>
-<&|/l&>Group</&>
-</td></tr>
-% while (my $g = $Groups->Next ) {
-<tr><td><&/Elements/SelectWatcherType, Name => "Ticket-AddWatcher-Principal-".$g->PrincipalId, Scope => 'queue' &></td><td><%$g->Name%> (<%$g->Description%>)</td></tr>
-% }
-% }
-
-<tr><td>
-<&|/l&>Type</&>
-</td><td>
-<&|/l&>Email</&>
-</td></tr>
-<tr><td>
-<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail1" &>
-</td><td>
-<input name="WatcherAddressEmail1" size=15>
-</td></tr>
-<tr><td>
-<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail2" &> 
-</td><td>
-<input name="WatcherAddressEmail2" size=15>
-</td></tr>
-<tr><td>
-<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail3" &>
-</td><td>
-<input name="WatcherAddressEmail3" size=15>
-</td></tr>
-</table>
-
-<%INIT>
-my ($msg, $Users, $Groups);
-
-if ($UserString) {
-    $Users = RT::Users->new($session{'CurrentUser'});
-    $Users->Limit(FIELD => $UserField, VALUE => $UserString, OPERATOR => $UserOp);
-    $Users->LimitToPrivileged if $PrivilegedOnly;
-     }
-
-if ($GroupString) {
-    $Groups = RT::Groups->new($session{'CurrentUser'});
-    $Groups->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'UserDefined');
-    $Groups->Limit(FIELD => $GroupField, VALUE => $GroupString, OPERATOR => $GroupOp);
-     }
-
-</%INIT>
-
-<%ARGS>
-$UserField => 'Name'
-$UserOp => '='
-$UserString => undef
-$GroupField => 'Name'
-$GroupOp => '='
-$GroupString => undef
-$PrivilegedOnly => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/BulkLinks b/rt/html/Ticket/Elements/BulkLinks
deleted file mode 100644 (file)
index 6a3859a..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE>
-  <TR>
-    <TD class="label"><&|/l&>Merge into</&>:</TD>
-    <TD class="entry"><input name="Ticket-MergeInto"> <i><&|/l&>(only one ticket)</&></i></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Depends on</&>:</TD>
-    <TD class="entry"><input name="Ticket-DependsOn"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Depended on by</&>:</TD>
-    <TD class="entry"><input name="DependsOn-Ticket"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Parents</&>:</TD>
-    <TD class="entry"><input name="Ticket-MemberOf"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Children</&>:</TD>
-    <TD class="entry"> <input name="MemberOf-Ticket"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Refers to</&>:</TD>
-    <TD class="entry"><input name="Ticket-RefersTo"></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Referred to by</&>:</TD>
-    <TD class="entry"> <input name="RefersTo-Ticket"></TD>
-  </TR>
-</TABLE>
diff --git a/rt/html/Ticket/Elements/EditBasics b/rt/html/Ticket/Elements/EditBasics
deleted file mode 100644 (file)
index 7156851..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE>
-  <TR>
-      <td class="label"><&|/l&>Subject</&>:</td>
-      <td class="value"><input name=Subject value="<%$TicketObj->Subject|h%>" SIZE=50></td>
-    </TR>
-
-  <TR>
-      <td class="label"><&|/l&>Status</&>:</td>
-      <td class="value"><%$SelectStatus|n%></td>
-    </TR>
-  <TR>
-      <td class="label"><&|/l&>Queue</&>:</td>
-      <td class="value"><%$SelectQueue|n%></td>
-    </TR>
-  <TR>
-      <td class="label"><&|/l&>Time Estimated</&>:</td>
-      <td class="value"><input name=TimeEstimated value="<%$TicketObj->TimeEstimated|h%>" SIZE="5"></td>
-    </TR>
-  <TR>
-      <td class="label"><&|/l&>Time Worked</&>:</td>
-      <td class="value"><input name=TimeWorked value="<%$TicketObj->TimeWorked|h%>" SIZE="5"></td>
-    </TR>
-  <TR>
-      <td class="label"><&|/l&>Time Left</&>:</td>
-      <td class="value"><input name=TimeLeft value="<%$TicketObj->TimeLeft|h%>" SIZE="5"></td>
-    </TR>
-
-  <TR>
-      <td class="label"><&|/l&>Priority</&>:</td>
-      <td class="value"><input name=Priority value="<%$TicketObj->Priority|h%>" SIZE="5"></td>
-    </TR>
-
-  <TR>
-      <td class="label"><&|/l&>Final Priority</&>:</td>
-      <td class="value"><input name=FinalPriority value="<%$TicketObj->FinalPriority|h%>" SIZE="5"></td>
-    </TR>
-<& /Elements/Callback, _CallbackName => 'EndOfList', TicketObj => $TicketObj, %ARGS &>
-</TABLE>
-
-<%INIT>
-#It's hard to do this inline, so we'll preload the html of the selectstatus in here.
-my $SelectStatus = $m->scomp("/Elements/SelectStatus", Name => 'Status', DefaultLabel => loc("[_1] (Unchanged)",loc($TicketObj->Status)));
-my $SelectQueue = $m->scomp("/Elements/SelectQueue", Name => 'Queue', Default =>$TicketObj->QueueObj->Id);
-
-</%INIT>
-<%ARGS>
-
-$TicketObj => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/EditCustomField b/rt/html/Ticket/Elements/EditCustomField
deleted file mode 100644 (file)
index 63687ac..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
-
-# RT 3.2 API compatibility glue
-
-$RT::Logger->debug("Ticket/Elements/EditCustomField is deprecated in RT 3.4 and will be removed in 3.6.");
-
-$ARGS{'NamePrefix'} =~ s/^Ticket-/Object-RT::Ticket-/;
-$ARGS{'NamePrefix'} =~ s/^CustomField-/Object-RT::Ticket--CustomField-/;
-$m->comp('/Elements/EditCustomField', %ARGS, Object=> $ARGS{'TicketObj'});
-</%init>
diff --git a/rt/html/Ticket/Elements/EditCustomFields b/rt/html/Ticket/Elements/EditCustomFields
deleted file mode 100644 (file)
index d566f4e..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table>
-<tr>
-<td valign="top" width="50%">
-<table>
-
-% my @entry_fields;
-% my $i;
-% my $cfcount = $CustomFields->Count;
-%  $cfcount++ if ($cfcount % 2) ; # if we have an odd number of 
-% #custom fields, fudge it so we know where to put in the table break
-% while (my $CustomField = $CustomFields->Next()) {
-% if ($cfcount == 2 * $i) {
-</table>
-</td>
-<td valign="top" width="50%">
-<table>
-% }
-% $i++;
-  <tr>
-    <td class="labeltop">
-      <b><%$CustomField->Name%></b><br>
-      <i><%$CustomField->FriendlyType%></i>
-    </td>
-    <td class="entry"><& /Elements/EditCustomField, 
-        Object => $TicketObj, 
-        CustomField => $CustomField, 
-        NamePrefix => $NamePrefix 
-        &></td>
-  </tr>
-% }
-</table>
-</td>
-</tr>
-</table>
-
-<%INIT>
-my $CustomFields;
-my $NamePrefix;
-
-if ($TicketObj) {
- $CustomFields = $TicketObj->CustomFields();
-  $NamePrefix = "Object-RT::Ticket-".$TicketObj->Id."-CustomField-";
-
-} else {
- $CustomFields = $QueueObj->TicketCustomFields();
-  $NamePrefix = "Object-RT::Ticket--CustomField-";
-}
-
-
-
-</%INIT>
-<%ARGS>
-$TicketObj => undef
-$QueueObj => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/EditCustomers b/rt/html/Ticket/Elements/EditCustomers
deleted file mode 100644 (file)
index 47d1aa2..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-%# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-<TABLE width=100%>
-  <TR>
-    <TD VALIGN=TOP WIDTH=50%>
-      <h3><&|/l&>Current Customers</&></h3>
-
-<table>
-  <tr>
-    <td><i><&|/l&>(Check box to disassociate)</&></i></td>
-  </tr>
-  <tr>
-    <td class="value">
-% #while (my $link = $Ticket->MemberOf->Next) {
-% foreach my $link (
-%   grep { $_->TargetURI->Resolver->{'fstable'} eq 'cust_main' }
-%   grep { $_->TargetURI->Scheme eq 'freeside' }
-%        @{ $Ticket->_Links('Base')->ItemsArrayRef }
-% ) {
-
-      <INPUT TYPE=CHECKBOX NAME="DeleteLink--<%$link->Type%>-<%$link->Target%>">
-%#        <& ShowLink, URI => $link->TargetURI &><br>
-        <A HREF="<% $link->TargetURI->Resolver->HREF %>"><% $link->TargetURI->Resolver->AsStringLong |n %></A>
-      <BR>
-% }
-    </td>
-  </tr>
-</table>
-                           
-</TD>
-
-<TD VALIGN=TOP>
-<h3><&|/l&>New Customer Links</&></h3>
-<&|/l&>Find customer</&><BR>
-<input name="CustomerString">
-<input type=submit name="OnlySearchForCustomers" value="<&|/l&>Go!</&>">
-<br><i>cust #, last name, or company</i>
-<BR>
-%#<BR>
-%#<&|/l&>Find service</&><BR>
-%#<input name="ServiceString">
-%#<input type=submit name="OnlySearchForServices" value="<&|/l&>Go!</&>">
-%#<br><i>username, username@domain, domain, or IP address</i>
-%#<BR>
-
-<& AddCustomers, Ticket         => $Ticket,
-                 CustomerString => $CustomerString,
-                 ServiceString  => $ServiceString,  &>
-
-</TD>
-</TR>
-</TABLE>
-      
-<%ARGS>
-$CustomerString => undef
-$ServiceString => undef
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/EditDates b/rt/html/Ticket/Elements/EditDates
deleted file mode 100644 (file)
index a197741..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE>
-  <TR>
-    <TD class="label"><&|/l&>Starts</&>:</TD>
-    <TD class="entry"><& /Elements/SelectDate, menu_prefix => 'Starts', current => 0 &> 
-        (<% $TicketObj->StartsObj->AsString %>)</TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Started</&>:</TD>
-    <TD class="entry"><& /Elements/SelectDate, menu_prefix => 'Started', current => 0 &> (<%$TicketObj->StartedObj->AsString %>)</TD>
-  </TR>
-
-  <TR>
-    <TD class="label">
-      <&|/l&>Last Contact</&>:
-    </TD>
-    <TD class="entry">
-      <& /Elements/SelectDate, menu_prefix => 'Told', current => 0 &> (<% $TicketObj->ToldObj->AsString %>)
-    </TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Due</&>:</TD>
-    <TD class="entry">
-      <& /Elements/SelectDate, menu_prefix => 'Due', current => 0 &> (<% $TicketObj->DueObj->AsString %>)
-    </TD>
-  </TR>
-</TABLE>
-<%ARGS>
-$TicketObj => undef
-</%ARGS>
-
diff --git a/rt/html/Ticket/Elements/EditPeople b/rt/html/Ticket/Elements/EditPeople
deleted file mode 100644 (file)
index 055d7ba..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE>
-<TR>
-<TD VALIGN=TOP>
-
-<h3><&|/l&>New watchers</&></h3>
-<&|/l&>Find people whose</&><BR>
-<& /Elements/SelectUsers &>
-<input type=submit name="OnlySearchForPeople" value="<&|/l&>Go!</&>">
-<BR>
-<&|/l&>Find groups whose</&><BR>
-<& /Elements/SelectGroups &>
-<input type=submit name="OnlySearchForGroup" value="<&|/l&>Go!</&>">
-
-<& AddWatchers, Ticket => $Ticket, UserString => $UserString,
-        UserOp => $UserOp, UserField => $UserField,
-       GroupString => $GroupString, GroupOp => $GroupOp,
-       GroupField => $GroupField, PrivilegedOnly => $PrivilegedOnly &> 
-</TD><TD VALIGN=TOP>
-<h3><&|/l&>Owner</&></h3>
-<&|/l&>Owner</&>: <& /Elements/SelectOwner, Name => 'Owner', QueueObj => $Ticket->QueueObj, TicketObj => $Ticket, Default => $Ticket->OwnerObj->Id, DefaultValue => 0&>
-<h3><&|/l&>Current watchers</&></h3>
-<&|/l&>(Check box to delete)</&><br>
-
-<&|/l&>Requestors</&>:
-<& EditWatchers, TicketObj => $Ticket, Watchers => $Ticket->Requestors &>
-
-<&|/l&>Cc</&>:
-<& EditWatchers, TicketObj => $Ticket, Watchers => $Ticket->Cc &>
-
-<&|/l&>Administrative Cc</&>:
-<& EditWatchers, TicketObj => $Ticket, Watchers => $Ticket->AdminCc &>
-
-</TD>
-</TR>
-</TABLE>
-
-<%ARGS>
-$UserField => undef
-$UserOp => undef
-$UserString => undef
-$GroupField => undef
-$GroupOp => undef
-$GroupString => undef
-$PrivilegedOnly => undef
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/EditWatchers b/rt/html/Ticket/Elements/EditWatchers
deleted file mode 100644 (file)
index 0089932..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<ul>
-%# Print out a placeholder if there are none.
-%if ($Members->Count == 0 ) {
-<li><i><&|/l&>none</&></i>
-% }
-
-
-%while (my $watcher=$Members->Next) {
-<li>
-<INPUT TYPE=CHECKBOX NAME="Ticket-DeleteWatcher-Type-<%$Watchers->Type%>-Principal-<%$watcher->MemberId%>" value="1" UNCHECKED>
-%if ($watcher->MemberObj->IsUser) { 
-<a href="<%$RT::WebPath%>/Admin/Users/Modify.html?id=<%$watcher->MemberObj->Object->id%>">
-<%$watcher->MemberObj->Object->Name%></a>
-%} else {
-<a href="<%$RT::WebPath%>/Admin/Groups/Modify.html?id=<%$watcher->MemberObj->Object->id%>">
-<%$watcher->MemberObj->Object->Name%></a>
-%}
-% }
-</ul>
-<%INIT>
-my $Members = $Watchers->MembersObj;
-</%INIT>
-<%ARGS>
-$TicketObj => undef
-$Watchers => undef
-</%ARGS>
-
-
-
diff --git a/rt/html/Ticket/Elements/FindAttachments b/rt/html/Ticket/Elements/FindAttachments
deleted file mode 100755 (executable)
index 017c772..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%INIT>
-my %documents;
-
-#A default implementation here loops through all transactions and pulls out all their attachments.
-# We end up doing an end-run around that to get a bit more performance
-
-# We force the cache of ticket transactions to get populated up front. otherwise, the 
-# code that looks at attachments will look at each one in turn.
-my $attachments = RT::Attachments->new( $session{'CurrentUser'} );
-
-$attachments->Columns( qw( Id Filename ContentType Headers Subject Parent ContentEncoding ContentType TransactionId Created));
-
-my $transactions = $attachments->NewAlias('Transactions');
-$attachments->Join( ALIAS1 => 'main',
-                   FIELD1 => 'TransactionId',
-                   ALIAS2 => $transactions,
-                   FIELD2 => 'id' );
-    
-my $tickets = $attachments->NewAlias('Tickets');
-
-  $attachments->Join( ALIAS1 => $transactions,                         
-                        FIELD1 => 'ObjectId',
-                        ALIAS2 => $tickets,
-                        FIELD2 => 'id' );
-    
-    $attachments->Limit( ALIAS => $transactions,
-                         FIELD => 'ObjectType',
-                        VALUE => 'RT::Ticket');
-if ($Tickets) {
-    while ($Ticket = $Tickets->Next) {
-       $attachments->Limit( ALIAS => $tickets,
-                            FIELD => 'EffectiveId',
-                            VALUE => $Ticket->id() );
-    }
-} else {
-    $attachments->Limit( ALIAS => $tickets,
-                        FIELD => 'EffectiveId',
-                        VALUE => $Ticket->id() );
-}
-
-
-return ($attachments);
-</%INIT>
-<%ARGS>
-$Ticket => undef
-$Tickets => undef
-</%ARGS>
-
diff --git a/rt/html/Ticket/Elements/LoadTextAttachments b/rt/html/Ticket/Elements/LoadTextAttachments
deleted file mode 100755 (executable)
index 943568f..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%INIT>
-
-my $attachments = RT::Attachments->new( $session{'CurrentUser'} );
-
-$attachments->Columns( qw(id Content ContentType TransactionId ContentEncoding));
-
-if ( $Ticket->CurrentUserHasRight('ShowTicket') ) {
-    my $transactions = $attachments->NewAlias('Transactions');
-    $attachments->Join( ALIAS1 => 'main',
-                                           FIELD1 => 'TransactionId',
-                                           ALIAS2 => $transactions,
-                                           FIELD2 => 'id' );
-    
-    my $tickets = $attachments->NewAlias('Tickets');
-
-
-    $attachments->Join( ALIAS1 => $transactions,
-                        FIELD1 => 'ObjectId',
-                        ALIAS2 => $tickets,
-                        FIELD2 => 'id' );
-
-    $attachments->Limit( ALIAS => $transactions,
-                         FIELD => 'ObjectType',
-                        VALUE => 'RT::Ticket');
-
-
-    $attachments->Limit( ALIAS => $tickets,
-                         FIELD => 'EffectiveId',
-                         VALUE => $Ticket->id() );
-    # if the user may not see comments do not return them
-    unless ( $Ticket->CurrentUserHasRight('ShowTicketComments') ) {
-        $attachments->Limit( ALIAS    => $transactions, FIELD    => 'Type', OPERATOR => '!=', VALUE    => "Comment" );
-    }
-
-    $attachments->Limit ( FIELD => 'ContentType', OPERATOR => '=', VALUE => 'text/plain');
-    $attachments->Limit ( FIELD => 'ContentType', OPERATOR => 'STARTSWITH', VALUE => 'message/');
-    $attachments->Limit ( FIELD => 'ContentType', OPERATOR => '=', VALUE => 'text');
-
-}
-return ($attachments);
-</%INIT>
-<%ARGS>
-$Ticket => undef
-</%ARGS>
-
diff --git a/rt/html/Ticket/Elements/PreviewScrips b/rt/html/Ticket/Elements/PreviewScrips
deleted file mode 100755 (executable)
index a3492b7..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%args>
-$TicketObj => undef
-
-</%args>
-<%init>
-
-my $arg = 'Ticket-'.$TicketObj->Id.'-SquelchMailTo';
-my @squelchto = ref($ARGS{$arg}) eq 'ARRAY' ? @{$ARGS{$arg}} : ($ARGS{$arg});
-
-foreach my $address (@squelchto) {
-        $TicketObj->SquelchMailTo($address) if ($address);
-}
-
-
-$arg = 'Ticket-'.$TicketObj->Id.'-UnsquelchMailTo';
-my @unsquelchto = ref($ARGS{$arg}) eq 'ARRAY' ? @{$ARGS{$arg}} : ($ARGS{$arg});
-
-foreach my $address (@unsquelchto) {
-        $TicketObj->UnsquelchMailTo($address) if ($address);
-}
-
-
-my $action;
-
-if (( $ARGS{'UpdateType'} eq 'response' ) || ($ARGS{'Action'} eq 'Respond' )) {
-    $action = 'Correspond';
-}
-else {
-    $action = 'Comment';
-}
-
-my $Message = MakeMIMEEntity(
-    Subject => $ARGS{'UpdateSubject'},
-    Body    => $ARGS{'UpdateContent'},
-);
-
-my ( $Transaction, $Description, $Object ) = $TicketObj->$action(
-    CcMessageTo  => $ARGS{'UpdateCc'},
-    BccMessageTo => $ARGS{'UpdateBcc'},
-    MIMEObj      => $Message,
-    TimeTaken    => $ARGS{'UpdateTimeWorked'},
-    DryRun       => 1
-);
-
-
-my @non_recipients = $TicketObj->SquelchMailTo;
-</%init>
-<h2><&|/l&>This message will be sent to...</&></h2>
-<i><&|/l&>(Check boxes to disable notifications to the listed recipients)</&></i><br>
-% foreach my $scrip (@{$Object->Scrips->Prepared}) {
-% next unless $scrip->ActionObj->Action->isa('RT::Action::SendEmail');
-<b><%$scrip->Description%></b><br>
-<&|/l, loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name)&>[_1] [_2] with template [_3]</&>
-<br>
-%foreach my $type qw(To Cc Bcc) {
-%my @addresses =  $scrip->ActionObj->Action->$type();
-<ul>
-%foreach my $addr (@addresses) {
-<li> <b><%loc($type)%></b>: <input type="checkbox" name="Ticket-<%$TicketObj->id%>-SquelchMailTo" value="<%$addr->address%>"> <%$addr->address%>
-% }
-</ul>
-% }
-% if ($RT::PreviewScripMessages) {
-<textarea cols=80 rows="5">
-<%$scrip->ActionObj->TemplateObj->MIMEObj->as_string%>
-</textarea>
-% }
-%}
-<br>
-<h2><&|/l&>Messages about this ticket will not be sent to...</&></h2>
-<i><&|/l&>(Check boxes to enable notifications to the listed recipients)</&></i>
-<br>
-<ul>
-% foreach my $recipient (@non_recipients) {
-<li><input type="checkbox" name="Ticket-<%$TicketObj->id%>-UnsquelchMailTo" value="<%$recipient->Content%>">
-<% $recipient->Content %>
-% }
-</ul>
-<& /Elements/Submit, Value => 'UpdatePreview', Label => loc('Save changes')&>  
diff --git a/rt/html/Ticket/Elements/ShowAttachments b/rt/html/Ticket/Elements/ShowAttachments
deleted file mode 100644 (file)
index 82028dd..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if (keys %documents) {
-<& /Elements/TitleBoxStart, title => loc('Attachments'), 
-        title_class=> 'inverse',  
-        color => "#336699" &>
-
-% foreach my $key (keys %documents) {
-
-<%$key%><br>
-<ul>
-% foreach my $rev (@{$documents{$key}}) {
-
-<%PERL>
-my $size = $rev->ContentLength;
-
-if ($size) {
-    if ($size > 1024) {
-        $size = int($size/102.4)/10 . "k";
-    }
-    else {
-        $size = $size ."b";
-    }
-
-</%PERL>
-
-<li><font size="-2">
-<A HREF="<%$RT::WebPath%>/Ticket/Attachment/<%$rev->TransactionId%>/<%$rev->Id%>/<%$rev->Filename | u%>">
-<&|/l, $rev->CreatedAsString, $size, $rev->CreatorObj->Name &>[_1] ([_2]) by [_3]</&>
-</a>
-</font></li>
-% }
-% }
-</ul>
-
-% }
-<& /Elements/TitleBoxEnd &>
-<BR>
-% }
-
-<%INIT>
-
-# If we haven't been passed in an Attachments object (through the precaching mechanism)
-# then we need to find one
-$Attachments ||= $m->comp('FindAttachments', Ticket => $Ticket);
-
-my %documents;
-while ( my $attach = $Attachments->Next() ) {
-    next unless ($attach->Filename());
-   unshift( @{ $documents{ $attach->Filename } }, $attach );
-}
-
-</%INIT>
-<%ARGS>
-$Ticket => undef
-$Attachments => undef
-</%ARGS>
-
diff --git a/rt/html/Ticket/Elements/ShowBasics b/rt/html/Ticket/Elements/ShowBasics
deleted file mode 100644 (file)
index 00ed3cc..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table>
-  <tr>
-    <td class="label"><&|/l&>Id</&>:</td>
-    <td class="value"><%$Ticket->Id %></td>
-  </tr>
-  <tr>
-    <td class="label"><&|/l&>Status</&>:</td>
-    <td class="value"><&|/l&><% $Ticket->Status%></&></td>
-  </tr>
-% if ($Ticket->TimeEstimated) {
-  <tr>
-    <td class="label"><&|/l&>Estimated</&>:</td>
-    <td class="value"><&|/l, $Ticket->TimeEstimated &>[_1] min</&></td>
-  </tr>
-% }
-% if ($Ticket->TimeWorked) {
-  <tr>
-    <td class="label"><&|/l&>Worked</&>:</td>
-    <td class="value"><&|/l, $Ticket->TimeWorked &>[_1] min</&></td>
-  </tr>
-% }
-  <tr>
-    <td class="label"><&|/l&>Left</&>:</td>
-    <td class="value"><&|/l, $Ticket->TimeLeft &>[_1] min</&></td>
-  </tr>
-  <tr>
-    <td class="label"><&|/l&>Priority</&>:</td>
-    <td class="value"><%$Ticket->Priority%>/<%$Ticket->FinalPriority %></td>
-  </tr>
-  <tr>
-    <td class="label"><&|/l&>Queue</&>:</td>
-    <td class="value"><%$Ticket->QueueObj->Name%></td>
-  </tr>
-<& /Elements/Callback, _CallbackName => 'EndOfList', TicketObj => $Ticket, %ARGS &>
-</table>
-<%ARGS>
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowCustomFields b/rt/html/Ticket/Elements/ShowCustomFields
deleted file mode 100644 (file)
index eb49212..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/ShowCustomFields, Object => $Ticket &>
-<%ARGS>
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowCustomers b/rt/html/Ticket/Elements/ShowCustomers
deleted file mode 100644 (file)
index 612727e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-%# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
-%#
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-<table>
-% my $cust = 0;
-% foreach my $customerURI (
-%   grep { $_->Resolver->{'fstable'} eq 'cust_main' }
-%   grep { $_->Scheme eq 'freeside' }
-%    map { $_->TargetURI }
-%        @{ $Ticket->_Links('Base')->ItemsArrayRef }
-% ) {
-%   $cust++;
-%   my $cust_main = '';
-  <tr>
-    <td class="value">
-      <A HREF="<% $customerURI->Resolver->HREF %>"><% $customerURI->Resolver->AsStringLong |n %></A>
-    </td>
-  </tr>
-% }
-% unless ( $cust ) {
-  <tr>
-    <td class="labeltop">
-      <i>(none)<i>
-    </td>
-  </tr>
-
-% }
-</table>
-<%ARGS>
-$Ticket => undef
-</%ARGS>
-
diff --git a/rt/html/Ticket/Elements/ShowDates b/rt/html/Ticket/Elements/ShowDates
deleted file mode 100644 (file)
index 2ccbb3f..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TABLE>
-  <TR>
-    <TD class="label"><&|/l&>Created</&>:</TD>
-    <TD class="value"><% $Ticket->CreatedObj->AsString %></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Starts</&>:</TD>
-    <TD class="value"><% $Ticket->StartsObj->AsString %></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Started</&>:</TD>
-    <TD class="value"><% $Ticket->StartedObj->AsString %></TD>
-  </TR>
-  <TR>
-    <TD class="label"><a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$Ticket->id%>&Action=SetTold"><&|/l&>Last Contact</&></a>:</TD>
-    <TD class="value"><% $Ticket->ToldObj->AsString %></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Due</&>:</TD>
-    <TD class="value"><% $Ticket->DueObj->AsString  %></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Closed</&>:</TD>
-    <TD class="value"><% $Ticket->ResolvedObj->AsString  %></TD>
-  </TR>
-  <TR>
-    <TD class="label"><&|/l&>Updated</&>:</TD>
-% my $UpdatedString = $Ticket->LastUpdated ? (loc("[_1] by [_2]", $Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)) : loc("Never");
-% if ($UpdatedLink) {
-    <TD class="value"><A HREF="#lasttrans"><% $UpdatedString | h %></a></TD>
-% } else {
-    <TD class="value"><% $UpdatedString | h %></TD>
-% }
-  </TR>
-</TABLE>
-<%ARGS>
-$Ticket => undef
-$UpdatedLink => 1
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowDependencies b/rt/html/Ticket/Elements/ShowDependencies
deleted file mode 100644 (file)
index f276bc9..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<&|/l&>Depends on</&>:<BR>
-% while (my $Link = $Ticket->DependsOn->Next) {
-% my $member = $Link->TargetObj;
-<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%>
-[<%$member->Status%>]
- <br>
-% }
-<&|/l&>Depended on by</&>:<BR>
-% while (my $Link = $Ticket->DependedOnBy->Next) {
-% my $member = $Link->TargetObj;
-<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> 
-[<%$member->Status%>]
- <br>
-% }
-
-<%ARGS>
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowGroupMembers b/rt/html/Ticket/Elements/ShowGroupMembers
deleted file mode 100644 (file)
index 1fdb79a..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# Released under the terms of version 2 of the GNU Public License
-
-% my $UserMembers = $Group->UserMembersObj;
-% while (my $member = $UserMembers->Next()) {
-<& ShowUserEntry, User => $member &><br>
-% }
-% my $GroupMembers = $Group->MembersObj;
-% $GroupMembers->LimitToGroups();
-% while (my $member = $GroupMembers->Next()) {
-<&|/l&>Group</&>: <%$member->MemberObj->Object->Name%><br>
-% }
-
-<%ARGS>
-$Group => undef
-</%ARGS>
\ No newline at end of file
diff --git a/rt/html/Ticket/Elements/ShowHistory b/rt/html/Ticket/Elements/ShowHistory
deleted file mode 100644 (file)
index 75e3477..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%perl>
- if ($ShowDisplayModes or $ShowTitle) {
-my $title;
-my $titleright;
-if ($ShowTitle) {
-    $title = loc('History');
-}
-else {
-    $title = '&nbsp;';
-}
-$titleright = loc('Display mode') . ":";
-if ($ShowHeaders) {
-    $titleright .= "[<A HREF=\"" . $URIFile . "?id="
-      . $Ticket->id . "\">"
-      . loc("Brief headers")
-      . "</a>] <b>["
-      . loc("Full headers") . "]</b>";
-}
-else {
-    $titleright .= "<b>["
-      . loc("Brief headers")
-      . "]</b> [<A HREF=\""
-      . $URIFile
-      . "?ShowHeaders=1"
-      . "&id="
-      . $Ticket->id . "\">"
-      . loc("Full headers") . "</a>]";
-}
-</%perl>
-<& /Elements/TitleBoxStart, title => $title, titleright => $titleright, bodyclass=> ''&>
-% }
-
-<TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0>
-<%perl>
-my @attachments = @{$Attachments->ItemsArrayRef()};
-my @attachment_content = @{$AttachmentContent->ItemsArrayRef()};
-
-
-
-
-
-while ( my $Transaction = $Transactions->Next ) {
-    my $skip = 0;
-    $m->comp( '/Elements/Callback',
-              _CallbackName => 'SkipTransaction',
-              Transaction   => $Transaction,
-              skip          => \$skip,
-              %ARGS );
-    next if $skip;
-    $i++;
-
-    my @trans_attachments = grep { $_->TransactionId == $Transaction->Id } @attachments;
-
-    my $trans_content = {};
-    grep { ($_->TransactionId == $Transaction->Id ) && ($trans_content->{$_->Id} = $_)  } @attachment_content;
-
-   
-    #Args is first because we're clobbering the "Attachments" parameter 
-    $m->comp( 'ShowTransaction',
-            %ARGS,
-
-              AttachPath           => $AttachPath,
-              UpdatePath           => $UpdatePath,
-              Ticket               => $Ticket,
-              Transaction          => $Transaction,
-              ShowHeaders          => $ShowHeaders,
-              Collapsed            => $Collapsed,
-              RowNum               => $i,
-              ShowTitleBarCommands => $ShowTitleBarCommands,
-              Attachments          => \@trans_attachments,
-              AttachmentContent    => $trans_content,
-              LastTransaction      => $Transactions->IsLast
- );
-
-# manually flush the content buffer after each txn, so the user sees
-# some update
-$m->flush_buffer(); 
-}
-
-</%perl>
-</TABLE>
-% if ($ShowDisplayModes or $ShowTitle) {
-<& /Elements/TitleBoxEnd &>
-% }
-<%INIT>
-my $Transactions = new RT::Transactions($session{'CurrentUser'});
-if ($Tickets) {
-    while (my $t = $Tickets->Next) {
-        $Transactions->LimitToTicket($t->id);
-    }
-} else {
-    $Transactions = $Ticket->Transactions;
-}
-my $i;
-
-$Attachments ||=  $m->comp('/Ticket/Elements/FindAttachments', Ticket => $Ticket, Tickets => $Tickets || undef);
-$AttachmentContent ||= $m->comp('/Ticket/Elements/LoadTextAttachments', Ticket => $Ticket);
-
-</%INIT>
-<%ARGS>
-$URIFile => $RT::WebPath."/Ticket/Display.html"
-$Ticket => undef
-$Tickets => undef
-$Attachments => undef
-$AttachmentContent => undef
-$ShowHeaders => undef
-$Collapsed => undef
-$ShowTitle => 1
-$ShowDisplayModes => 1
-$ShowTitleBarCommands => 1
-$AttachPath => $RT::WebPath."/Ticket/Attachment"
-$UpdatePath => $RT::WebPath."/Ticket/Update.html"
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowMemberOf b/rt/html/Ticket/Elements/ShowMemberOf
deleted file mode 100644 (file)
index e443132..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<UL>
-% my $memberof = $Ticket->MemberOf;
-% while (my $member_of = $memberof->Next) {
-<LI><a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member_of->Id%>"><%$member_of->Id%></a>: <%$member_of->Subject%> [<%$member_of->Status%>]
-% }
-</UL>
-
-<%INIT>
-</%INIT>
-<%ARGS>
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowMembers b/rt/html/Ticket/Elements/ShowMembers
deleted file mode 100644 (file)
index f4fec1c..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if ($members->Count) {
-<UL>
-% while (my $link = $members->Next) {
-% my $member= $link->BaseObj;
-<LI><a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: <%$member->Subject%> [<%loc($member->Status)%>]<br>
-% if ($depth < 8) {
-<&/Ticket/Elements/ShowMembers, Ticket => $member, depth => ($depth+1) &> 
-% }
-% }
-</UL>
-% }
-
-<%INIT>
-
-my $members = $Ticket->Members;
-
-</%INIT>
-
-<%ARGS>
-$Ticket => undef
-$depth => 1
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowMessageHeaders b/rt/html/Ticket/Elements/ShowMessageHeaders
deleted file mode 100644 (file)
index 8dc76ba..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% use Data::Dumper;
-<table>
-% foreach my $header (@headers) {
-% next unless ($display_headers{'_all'} || $display_headers{lc($header->{'Tag'})});
-<tr>
-<td align="right" class="message-header-key"><%$header->{'Tag'}%>:</td>
-<td class="message-header-value"><%$header->{'Value'} | n%></td>
-</tr>
-% }
-</table>
-<%INIT>
-my $content = $Headers;
-$m->comp('/Elements/Callback', content => \$content, %ARGS);
-
-# apply html escaping on the original content
-# we'll display the value without escaping later (for MakeClicky et al.)
-$content = $m->interp->apply_escapes($content, 'h');
-
-my @lines = split (/\n/,$content);
-my $in_header = 0;
-my @headers =();
-foreach (@lines) {
-    if (/^(\S+):\s+(.*)$/) {
-        push (@headers, { Tag => $1, Value => $2} ); 
-    } elsif ($headers[-1]) {
-        $headers[-1]->{'Value'} .= $_;
-    } else {
-
-        push (@headers, { Tag => $_, Value => ''} ); 
-    }
-}
-
-my %display_headers;
-
-map { $display_headers{lc($_)} = 1 } @$DisplayHeaders;
-
-$m->comp('/Elements/Callback', _CallbackName => 'Headers', content => \$content, headers => \@headers, display_headers => \%display_headers, %ARGS);
-
-</%INIT>
-<%ARGS>
-$Headers => undef
-$DisplayHeaders => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowMessageStanza b/rt/html/Ticket/Elements/ShowMessageStanza
deleted file mode 100644 (file)
index eaf551d..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-% if (ref($Message)) {
-<font color="<%$colors[$Depth]%>">
-<%perl>
-foreach my $stanza (@$Message) {
-    if ( ref $stanza eq "ARRAY" ) {
-        $m->comp( 'ShowMessageStanza',
-                  Depth   => $Depth + 1,
-                  Transaction => $Transaction,
-                  Message => $stanza );
-    }
-    elsif ( ref $stanza eq "HASH" ) {
-        my $content = $stanza->{raw};
-        RT::Interface::Web::EscapeUTF8(\$content);
-        $m->comp('/Elements/Callback', content => \$content, %ARGS);
-                $content =~ s/\n/<br>/gi if defined $content;
-
-</%perl>
-<%$content |n%><br>
-%       }
-% } # end foreach
-</font>
-% } else {
-% my $content = $Message;
-%        RT::Interface::Web::EscapeUTF8(\$content);
-%        $m->comp('/Elements/Callback', content => \$content, %ARGS);
-%                $content =~ s/\n/<br>/gi;
-<%$content |n%><br>
-% }
-<%INIT>
-use URI::URL;
-my $server = 'fsck.com';
-my @colors = ('#000000', '#660000', '#006600', '#000066', '#cc0000', '#00cc00', '#0000cc', '#ff0000', '#00ff00', '#0000ff');
-</%INIT>
-<%ARGS>
-$Message => undef
-$Depth => 0
-$Transaction => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowPeople b/rt/html/Ticket/Elements/ShowPeople
deleted file mode 100644 (file)
index dbec939..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<table>
-  <tr>
-    <td class="label"><&|/l&>Owner</&>:</td>
-    <td class="value"><& ShowUserEntry, User => $Ticket->OwnerObj &></td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Requestors</&>:</td>
-    <td class="value"><& ShowGroupMembers, Group => $Ticket->Requestors &></td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Cc</&>:</td>
-    <td class="value"><& ShowGroupMembers, Group => $Ticket->Cc &></td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>AdminCc</&>:</td>
-    <td class="value"><& ShowGroupMembers, Group => $Ticket->AdminCc &></td>
-  </tr>
-</table>
-<%ARGS>
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowReferences b/rt/html/Ticket/Elements/ShowReferences
deleted file mode 100644 (file)
index bb323f6..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<UL>
-% while (my $Link = $Ticket->RefersTo->Next) {
-<LI>
-% if ($Link->TargetURI->IsLocal) {
-% my $member = $Link->TargetObj;
-
-<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> [<%$member->Status%>]<br>
-% } else {
-<A HREF="<%$Link->TargetURI->HREF%>"><%$Link->Target%></A>
-% }
-%}
-
-
-
-% while (my $Link = $Ticket->ReferredToBy->Next) {
-<LI>
-% if ($Link->BaseURI->IsLocal) {
-% my $member = $Link->BaseObj;
-<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> [<%$member->Status%>]<br>
-% } else {
-<A HREF="<%$Link->BaseURI->HREF%>"><%$Link->Base%></A>
-%}
-% }
-</UL>
-<%ARGS>
-$Ticket => undef
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowRequestor b/rt/html/Ticket/Elements/ShowRequestor
deleted file mode 100644 (file)
index 421d38e..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%PERL>
-my $rows = 10;
-my $people = $Ticket->Requestors->UserMembersObj;
-while (my $requestor=$people->Next) {
-my $name=$requestor->RealName || $requestor->EmailAddress;     
-my $tickets = RT::Tickets->new($session{'CurrentUser'});
-$tickets->LimitWatcher(TYPE => 'Requestor', VALUE => $requestor->EmailAddress );
-$tickets->LimitStatus( VALUE => 'open');
-$tickets->LimitStatus( VALUE => 'new');
-$tickets->RowsPerPage($rows);
-$tickets->OrderBy(FIELD => 'Priority',
-                 ORDER => 'DESC');
-</%PERL>
-
-% unless ($requestor->Privileged) {
-<& /Elements/TitleBoxStart, 
-       title => "<a class='inverse' href=\"$RT::WebPath/Admin/Users/Modify.html?id=".$requestor->id."\">".loc("More about [_1]", $name)."</a>" &>
-
-%# Additional information about this user.  Empty by default.
-<& /Elements/Callback, _CallbackName => 'AboutThisUser', requestor => $requestor, %ARGS &>
-
-<&|/l&>Comments about this user</&>:<BR>
-<B><% ($requestor->Comments || loc("No comment entered about this user")) %></B><BR>
-
-<&|/l, $rows &>This user's [_1] highest priority tickets</&>:<BR>
-<UL>
-%while (my $w=$tickets->Next) {
-<LI><a href="<%$RT::WebPath%><%$DisplayPath%>?id=<%$w->id%>"><%$w->Id%>: <%$w->Subject%></a> (<%$w->Status%>)
-%}
-</UL>
-
-<&|/l&>Groups this user belongs to</&>:<BR>
-
-<& /Elements/ShowMemberships, UserObj => $requestor &>
-
-<& /Elements/TitleBoxEnd &>
-
-% }
-%}
-<%ARGS>
-$Ticket=>undef
-$DisplayPath => "/Ticket/Display.html"
-</%ARGS>
diff --git a/rt/html/Ticket/Elements/ShowSummary b/rt/html/Ticket/Elements/ShowSummary
deleted file mode 100644 (file)
index 5a6e7e0..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-      <TABLE WIDTH="100%" class="ticketsummary" >
-      <TR>
-       <TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
-         <& /Elements/TitleBoxStart, title => loc('The Basics'), 
-               title_href =>"$RT::WebPath/Ticket/Modify.html?id=".$Ticket->Id, 
-               title_class=> 'inverse',  
-               color => "#993333" &>
-               <& /Ticket/Elements/ShowBasics, Ticket => $Ticket &>
-         <& /Elements/TitleBoxEnd &>
-          <br>
-% if ($Ticket->QueueObj->TicketCustomFields->First) {
-         <& /Elements/TitleBoxStart, title => loc('Custom Fields'), 
-               title_href =>"$RT::WebPath/Ticket/Modify.html?id=".$Ticket->Id, 
-               title_class=> 'inverse',  
-               color => "#993333" &>
-               <& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>
-         <& /Elements/TitleBoxEnd &>
-
-<br>
-% }
-         <& /Elements/TitleBoxStart, title => loc('People'), 
-               title_href =>"$RT::WebPath/Ticket/ModifyPeople.html?id=".$Ticket->Id, 
-               title_class=> 'inverse',  
-               color => "#333399" &>
-         <& /Ticket/Elements/ShowPeople, Ticket => $Ticket &>
-         <& /Elements/TitleBoxEnd &>
-         <br>
-
-         <& /Elements/TitleBoxStart, title => loc('Customers'),
-               title_href =>"$RT::WebPath/Ticket/ModifyCustomers.html?id=".$Ticket->Id,
-               title_class=> 'inverse',
-               color => "#7f007b" &>
-          <& /Ticket/Elements/ShowCustomers, Ticket => $Ticket &>
-          <& /Elements/TitleBoxEnd &>
-
-       <BR>
-       </TD>
-       <TD VALIGN=TOP WIDTH="50%" class="boxcontainer">
-
-         <& /Elements/TitleBoxStart, title => loc("Dates"),
-               title_href =>"$RT::WebPath/Ticket/ModifyDates.html?id=".$Ticket->Id, 
-               title_class=> 'inverse',  
-                color => "#663366" &>
-         <& /Ticket/Elements/ShowDates, Ticket => $Ticket &>
-         <& /Elements/TitleBoxEnd &>
-       <BR>  
-         <& /Elements/TitleBoxStart, title => loc('Links'), 
-               title_href => "$RT::WebPath/Ticket/ModifyLinks.html?id=".$Ticket->Id, 
-               title_class=> 'inverse',  
-               titleright => '', color=> "#336633" &>
-               <& /Elements/ShowLinks, Ticket => $Ticket &>
-       <& /Elements/TitleBoxEnd &>
-        <BR>
-         <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, Attachments => $Attachments &>
-
-         <& /Ticket/Elements/ShowRequestor, Ticket => $Ticket &>
-
-
-       </TD>
-      </TR>
-    </TABLE>
-<%ARGS>
-$Ticket => undef
-$Attachments => undef
-</%ARGS>
-
-
-
-
diff --git a/rt/html/Ticket/Elements/ShowTransaction b/rt/html/Ticket/Elements/ShowTransaction
deleted file mode 100644 (file)
index 8bf589d..0000000
+++ /dev/null
@@ -1,186 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<TR class="<% $RowNum%2 ? 'oddline' : 'evenline'%>" >
-<TD rowspan="2" valign="top" bgcolor="<%$bgcolor%>"><A NAME="txn-<%$Transaction->Id%>" href="<% $DisplayPath %>#txn-<%$Transaction->Id%>">#</A><% $LastTransaction ? '<a name="lasttrans">&nbsp;</a>' : '&nbsp;' |n %></TD>
-<TD>&nbsp&nbsp;</TD>
-<TD><font size=-2><% $transdate|n %></font>&nbsp;</TD>
-% my $desc = $Transaction->BriefDescription;
-% $m->comp('/Elements/Callback', _CallbackName => 'ModifyDisplay', text => \$desc, Transaction => $Transaction, %ARGS);
-<TD ALIGN="LEFT"><b><%$Transaction->CreatorObj->Name%> - <%$TicketString%> <%$desc%>
-
-</b></TD>
-<TD><%$TimeTaken%>&nbsp;</TD>
-<TD ALIGN="RIGHT"><font size=-1><%$titlebar_commands|n%></font></TD>
-</TR>
-<TR class="<% $RowNum%2 ? 'oddline' : 'evenline'%>"><TD colspan=5>
-% if ($Transaction->CustomFieldValues->Count) {
-<& /Elements/ShowCustomFields, Object => $Transaction &>
-% }
-% $m->comp('ShowTransactionAttachments', %ARGS, Parent => 0) unless ($Collapsed ||!$ShowBody);
-</TD>
-</TR>
-
-<%ARGS>
-$Ticket => undef
-$Transaction => undef
-$ShowHeaders => 0
-$Collapsed => undef
-$ShowTitleBarCommands => 1
-$RowNum => 1
-$DisplayPath => $RT::WebPath."/Ticket/Display.html?id=".$Ticket->id
-$AttachPath => $RT::WebPath."/Ticket/Attachment"
-$UpdatePath => $RT::WebPath."/Ticket/Update.html"
-$EmailRecordPath => $RT::WebPath."/Ticket/ShowEmailRecord.html"
-$Attachments => undef
-$AttachmentContent => undef
-$ShowBody => 1
-$LastTransaction => 0
-</%ARGS>
-
-<%INIT>
-
-my ( $TimeTaken, $TicketString, $bgcolor );
-
-my $transdate = $Transaction->CreatedAsString();
-$transdate =~ s/\s/&nbsp;/g;
-
-if ( $Transaction->Type =~ /^(Create|Correspond|Comment$)/ ) {
-    if ( $Transaction->IsInbound ) {
-        $bgcolor = "#336699";
-    }
-    else {
-        $bgcolor = "#339999";
-    }
-}
-elsif (    ( $Transaction->Field =~ /^Owner$/ )
-        or ( $Transaction->Type =~ /^(AddWatcher|DelWatcher)$/ ) ) {
-    $bgcolor = "#333399";
-
-}
-elsif ( $Transaction->Type =~ /^(AddLink|DeleteLink)$/ ) {
-    $bgcolor = "#336633";
-}
-elsif ( $Transaction->Type =~ /^(Status|Set|Told)$/ ) {
-    if ( $Transaction->Field =~ /^(Told|Starts|Started|Due)$/ ) {
-        $bgcolor = "#663366";
-    }
-    else {
-        $bgcolor = "#993333";
-    }
-}
-else {
-    $bgcolor = "#cccccc";
-}
-
-if ( $Ticket->Id != $Transaction->Ticket ) {
-    $TicketString = "Ticket " . $Transaction->Ticket . ": ";
-}
-$TicketString ||= '';
-
-if ( $Transaction->TimeTaken != 0 ) {
-    $TimeTaken = $Transaction->TimeTaken . " min";
-} else {
-    $TimeTaken = '';
-}
-
-unless ($Attachments) { 
-    my $attachments = $Transaction->Attachments;
-    $attachments->Columns( qw( Id Filename ContentType Headers Subject Parent ContentEncoding ContentType TransactionId) );
-    $Attachments = $attachments->ItemsArrayRef();
-}
-my $titlebar_commands = '&nbsp;';
-
-my @DisplayHeaders=qw ( _all);
-
-if ( $Transaction->Type =~ /EmailRecord$/ ) {
-    @DisplayHeaders = qw(To Cc Bcc);
-
-    $titlebar_commands .=
-        "[<a target=\"_blank\" href=\"$EmailRecordPath?id="
-      . $Transaction->Ticket
-      . "&Transaction="
-      . $Transaction->Id
-      . "&Attachment="
-      . (    $Transaction->Attachments->First
-          && $Transaction->Attachments->First->Id )
-
-      . '">' . loc('Show') . "</a>]&nbsp;";
-    $ShowBody = 0;
-}
-
-
-# If the transaction has anything attached to it at all
-else {
-
-    unless ( $ShowHeaders ) {
-        @DisplayHeaders = qw(To From RT-Send-Cc Cc Bcc Date Subject);
-    }
-
-    if ( $Attachments->[0] && $ShowTitleBarCommands ) {
-        if ( $Transaction->TicketObj->CurrentUserHasRight('ReplyToTicket')
-             or $Transaction->TicketObj->CurrentUserHasRight('ModifyTicket')) {
-            $titlebar_commands .=
-                "[<a href=\"".$UpdatePath."?id="
-              . $Transaction->Ticket
-              . "&QuoteTransaction="
-              . $Transaction->Id
-              . "&Action=Respond\">"
-              . loc('Reply')
-              . "</a>]&nbsp;";
-        }
-        if ( $Transaction->TicketObj->CurrentUserHasRight('CommentOnTicket')
-             or $Transaction->TicketObj->CurrentUserHasRight('ModifyTicket')) {
-            $titlebar_commands .=
-                "[<a href=\"".$UpdatePath."?id="
-              . $Transaction->Ticket
-              . "&QuoteTransaction="
-              . $Transaction->Id
-              . "&Action=Comment\">"
-              . loc('Comment') . "</a>]";
-        }
-    }
-}
-</%INIT>
diff --git a/rt/html/Ticket/Elements/ShowTransactionAttachments b/rt/html/Ticket/Elements/ShowTransactionAttachments
deleted file mode 100644 (file)
index 8dabff4..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%perl>
-# Find all the attachments which have parent $Parent
-# For each of these attachments
-foreach my $message ( grep { $_->Parent == $Parent } @$Attachments ) {
-
-    # {{{    show the headers
-    my $headers = $message->Headers;
-    chomp $headers;
-
-    # localize the common headers (like 'Subject:'), too.
-    $headers =~ s/^([^:]+)(?=:)/loc($1)/em;
-    $m->comp(
-        'ShowMessageHeaders',
-        Headers        => $headers,
-        Transaction    => $Transaction,
-        DisplayHeaders => \@DisplayHeaders
-    );
-
-    # }}}
-    # {{{ if there's any size at all, show the download link
-    my $size = $message->ContentLength;
-    if ($size) {
-        
-</%perl> 
-<div class="downloadattachment">
-<%perl>
-
-     #     show a download link
-     if ( $size > 1024 ) {
-         $size = loc( "[_1]k", int( $size / 102.4 ) / 10 );
-     }
-     else {
-        $size = loc( "[_1]b", $size );
-     }
-        
-</%PERL> 
-<A HREF="<%$AttachPath%>/<%$Transaction->Id%>/<%$message->Id%>/<%$message->Filename | u%>"><&|/l&>Download</&> <%$message->Filename || loc('(untitled)') %></a> 
-<div class="downloadcontenttype">
-<%$message->ContentType%> <% $size %> 
-</div> 
-</div>
-% }
-% # }}}
-<div class="messagebody">
-<%perl>
-# {{{   if it has a content-disposition: attachment, don't show inline
-unless ( $message->GetHeader('Content-Disposition') =~ /attachment/i ) {
-
-    my $content;
-
-    # If it's text
-    if (   $message->ContentType =~ m{^(text|message)}i
-        && $size <= $RT::MaxInlineBody )
-    {
-
-        if (
-
-            # it's a toplevel object
-            !$ParentObj
-
-            # or its parent isn't a multipart alternative
-            || ( $ParentObj->ContentType !~ m{^multipart/alternative$}i )
-
-            # or it's of our prefered alterative type
-            || (
-                (
-                    $RT::PreferRichText
-                    && ( $message->ContentType =~ m{^text/(?:html|enriched)$} )
-                )
-                || ( !$RT::PreferRichText
-                    && ( $message->ContentType !~ m{^text/(?:html|enriched)$} )
-                )
-            )
-          )
-        {
-
-            if ( $AttachmentContent->{ $message->id } ) {
-                $content = $AttachmentContent->{ $message->id }->Content;
-            }
-            else {
-                $content = $message->Content;
-            }
-
-            # if it's a text/html clean the body and show it
-            if ( $message->ContentType =~ m{^text/(?:html|enriched)$}i ) {
-                $content =
-                  $m->comp( '/Elements/ScrubHTML', Content => $content );
-                $m->out($content);
-            }
-
-            # if it's a text/plain show the body
-            elsif ( $message->ContentType =~ m{^(text|message|text)}i ) {
-
-                eval { $content = Text::Quoted::extract($content); };
-                if ($@) { 1; }
-
-                $m->comp(
-                    'ShowMessageStanza',
-                    Depth       => 0,
-                    Message     => $content,
-                    Transaction => $Transaction
-                );
-            }
-        }
-
-    }
-
-    # if it's an image, show it as an image
-    elsif ( $message->ContentType =~ /^image\//i ) {
-        $m->out('<img src="'
-              . $AttachPath . '/'
-              . $Transaction->Id . '/'
-              . $message->Id
-              . '/">' );
-    }
-}
-
-# }}}
-
-$m->comp(
-    'ShowTransactionAttachments', %ARGS,
-    Parent    => $message->id,
-    ParentObj => $message
-);
-
-}
-</%PERL>
-</div>
-<%ARGS>
-$Ticket => undef
-$Transaction => undef
-$ShowHeaders => 0
-$Collapsed => undef
-$ShowTitleBarCommands => 1
-$RowNum => 1
-$AttachPath => $RT::WebPath."/Ticket/Attachment"
-$UpdatePath => $RT::WebPath."/Ticket/Update.html"
-$EmailRecordPath => $RT::WebPath."/Ticket/ShowEmailRecord.html"
-$Attachments => undef
-$AttachmentContent => undef
-$ShowBody => 1
-$Parent => 0
-$ParentObj => 0
-</%ARGS>
-<%INIT>
-my @DisplayHeaders=qw( _all);
-
-if ( $Transaction->Type =~ /EmailRecord$/ ) {
-    @DisplayHeaders = qw(To Cc Bcc);
-}
-
-# If the transaction has anything attached to it at all
-elsif (!$ShowHeaders)  {
-        @DisplayHeaders = qw(To From RT-Send-Cc Cc Bcc Date Subject);
-}
-</%INIT>
diff --git a/rt/html/Ticket/Elements/ShowUserEntry b/rt/html/Ticket/Elements/ShowUserEntry
deleted file mode 100644 (file)
index 163bcbd..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-%# Released under the terms of version 2 of the GNU Public License
-
-<%$User->Name%>
-% if ($User->EmailAddress && $User->EmailAddress ne $User->Name) {
-&lt;<%$User->EmailAddress%>&gt;
-% }
-
-<%ARGS>
-$User => undef
-</%ARGS>
\ No newline at end of file
diff --git a/rt/html/Ticket/Elements/Tabs b/rt/html/Ticket/Elements/Tabs
deleted file mode 100644 (file)
index 46e1d4a..0000000
+++ /dev/null
@@ -1,220 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Callback, Ticket => $Ticket, actions=> $actions, tabs => $tabs, %ARGS &>
-<& /Elements/Tabs, 
-    tabs => $tabs, 
-    actions => $actions, 
-    current_tab => $current_tab, 
-    current_toptab => $current_toptab,
-    Title => $Title &> 
-<%INIT>
-
-my $tabs = {};
-my $current_toptab = "Search/Build.html",
-my $searchtabs = {};
-my $actions;
-
-if ( $Ticket) {
-       
-my $id   = $Ticket->id();
-
-if ( defined $session{'tickets'} ) {
-
-        # we have to update session data if we get new ItemMap
-        my $updatesession = 1 unless($session{'tickets'}->{'item_map'});
-
-        my $item_map = $session{'tickets'}->ItemMap;
-
-        if ($updatesession) {
-                $session{'i'}++;
-               $session{'tickets'}->PrepForSerialization();
-        }
-
-        # Don't display prev links if we're on the first ticket
-        if ($item_map->{$Ticket->Id}->{prev}) {
-                $searchtabs->{'_a'} = {
-                            class => "nav",
-                            path => "Ticket/Display.html?id=" . $item_map->{first},
-                            title => '<< ' . loc('First') };
-                $searchtabs->{"_b"} = { class => "nav",
-                            path => "Ticket/Display.html?id=" . $item_map->{$Ticket->Id}->{prev},
-                                  title => '< ' . loc('Prev') };
-       } 
-
-
-        # Don't display next links if we're on the last ticket
-        if ($item_map->{$Ticket->Id}->{next}) {
-            $searchtabs->{'d'} = { class => "nav",
-                            path => "Ticket/Display.html?id=" . $item_map->{$Ticket->Id}->{next},
-                             title => loc('Next') . ' >' };
-            $searchtabs->{'e'} = {
-                           class => "nav",
-                           path => "Ticket/Display.html?id=" . $item_map->{last},
-                           title => loc('Last') . ' >>' };
-        }
-}
-
-
-
-$tabs->{"this"} = { class => "currentnav",
-                    path  => "Ticket/Display.html?id=" . $Ticket->id,
-                    title => "#" . $id,
-                    current_subtab => $current_subtab };
-
-my $ticket_page_tabs = {
-    _A => { title => loc('Display'),
-            path  => "Ticket/Display.html?id=" . $id, },
-
-    _Ab => { title => loc('History'),
-             path  => "Ticket/History.html?id=" . $id, },
-    _B => { title => loc('Basics'),
-            path  => "Ticket/Modify.html?id=" . $id, },
-
-    _C => { title => loc('Dates'),
-            path  => "Ticket/ModifyDates.html?id=" . $id, },
-    _D =>
-      { title => loc('People'), path => "Ticket/ModifyPeople.html?id=" . $id, },
-    _E => { title => loc('Links'),
-            path  => "Ticket/ModifyLinks.html?id=" . $id, },
-    _Eb=> { title => loc('Customers'),
-            path  => "Ticket/ModifyCustomers.html?id=" . $id, },
-    _F => { title => loc('Jumbo'),
-            path  => "Ticket/ModifyAll.html?id=" . $id,
-            separator => 1
- },
-
-};
-
-foreach my $tab ( sort keys %{$ticket_page_tabs} ) {
-    if ( $ticket_page_tabs->{$tab}->{'path'} eq $current_tab ) {
-        $ticket_page_tabs->{$tab}->{"subtabs"}        = $subtabs;
-        $tabs->{'this'}->{"current_subtab"}        = 
-        $ticket_page_tabs->{$tab}->{"path"};
-    }
-}
-$tabs->{'this'}->{"subtabs"} = $ticket_page_tabs;
-$current_tab = "Ticket/Display.html?id=" . $id;
-
-
-
-
-
-if (    $Ticket->CurrentUserHasRight('ModifyTicket')
-     or $Ticket->CurrentUserHasRight('ReplyToTicket') ) {
-    $actions->{'A'} = { title => loc('Reply'),
-                        path  => "Ticket/Update.html?Action=Respond&id=" . $id,
-    };
-}
-
-if ( $Ticket->CurrentUserHasRight('ModifyTicket') ) {
-    if ( $Ticket->Status ne 'resolved' ) {
-        $actions->{'B'} = {
-
-            path => "Ticket/Update.html?Action=Comment&DefaultStatus=resolved&id=" . $id,
-            title => loc('Resolve') };
-    }
-    if ( $Ticket->Status ne 'open' ) {
-        $actions->{'C'} = { path => "Ticket/Display.html?Status=open&id=" . $id,
-                            title => loc('Open it') };
-    }
-}
-
-if ( $Ticket->CurrentUserHasRight('OwnTicket') ) {
-    if ( $Ticket->OwnerObj->id == $RT::Nobody->id ) {
-        $actions->{'D'} = { path => "Ticket/Display.html?Action=Take&id=" . $id,
-                            title => loc('Take') };
-    }
-    elsif ( $Ticket->OwnerObj->id != $session{CurrentUser}->id ) {
-        $actions->{'E'} = {path => "Ticket/Display.html?Action=Steal&id=" . $id,
-                           title => loc('Steal') };
-    }
-}
-
-if (    $Ticket->CurrentUserHasRight('ModifyTicket')
-     or $Ticket->CurrentUserHasRight('CommentOnTicket') ) {
-    $actions->{'F'} = { title => loc('Comment'),
-                        path  => "Ticket/Update.html?Action=Comment&id=" . $id,
-    };
-}
-}
-
-my $args = "?" . $m->comp(
-    '/Elements/QueryString',
-    Query   => $ARGS{'Query'}   || $session{'CurrentSearchHash'}->{'Query'},
-    Format  => $ARGS{'Format'}  || $session{'CurrentSearchHash'}->{'Format'},
-    OrderBy => $ARGS{'OrderBy'} || $session{'CurrentSearchHash'}->{'OrderBy'},
-    Order   => $ARGS{'Order'}   || $session{'CurrentSearchHash'}->{'Order'},
-    Rows    => $ARGS{'Rows'},
-  ) if ($ARGS{'Query'} or $session{'CurrentSearchHash'}->{'Query'});
-$args ||= '';
-
-$tabs->{"f"} = { path      => "Search/Build.html?NewQuery=1",
-                 title     => loc('New Query')};
-$tabs->{"g"} = { path      => "Search/Build.html$args",
-                 title     => loc('Query Builder')};
-$tabs->{"h"} = { path      => "Search/Edit.html$args",
-                 title     => loc('Advanced'),
-                 separator => 1 };
-if (defined $session{'tickets'} and $session{'tickets'}->Count) {
-  $tabs->{"i"} = { path      => "Search/Results.html$args",
-                   title     => loc('Show Results'),
-                   separator => 1,
-                   subtabs   => $searchtabs };
-  if ($current_tab =~  "Search/Results.html") {
-    $current_tab = "Search/Results.html$args";
-  }
-}
-
-</%INIT>
-
-  
-<%ARGS>
-$Ticket => undef
-$subtabs => undef
-$current_tab => ''
-$current_subtab => ''
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Ticket/History.html b/rt/html/Ticket/History.html
deleted file mode 100644 (file)
index a80cd00..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Ticket History # [_1] [_2]", $Ticket->Id, $Ticket->Subject) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $Ticket, current_tab => 'Ticket/History.html?id='.$Ticket->id, 
-    Title => loc("Ticket History # [_1] [_2]", $Ticket->Id, $Ticket->Subject) &>
-
-<BR>
-      
-<& /Ticket/Elements/ShowHistory , 
-    Ticket => $Ticket, 
-    ShowHeaders => $ARGS{'ShowHeaders'}, 
-    URIFile => 'History.html', 
-    Attachments => $attachments,
-    AttachmentContent => $attachment_content
-    &> 
-
-
-<%ARGS>
-$id => undef
-</%ARGS>
-
-<%INIT>
-
-  
-
-my $Ticket = LoadTicket ($id);
-
-unless ($Ticket->CurrentUserHasRight('ShowTicket')) {
-       Abort("No permission to view ticket");
-}
-
-my $attachments = $m->comp('Elements/FindAttachments', Ticket => $Ticket);
-my $attachment_content = $m->comp('Elements/LoadTextAttachments', Ticket =>
-$Ticket);
-
-
-</%INIT>
-
-
-
-
diff --git a/rt/html/Ticket/Modify.html b/rt/html/Ticket/Modify.html
deleted file mode 100644 (file)
index a6c3161..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc('Modify ticket #[_1]', $TicketObj->Id) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $TicketObj, current_subtab => "Ticket/Modify.html?id=".$TicketObj->Id, 
-    Title => loc('Modify ticket #[_1]', $TicketObj->Id) &>
-
-<& /Elements/ListActions, actions => \@results &>
-<FORM METHOD=POST ACTION="Modify.html" ENCTYPE="multipart/form-data">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>">
-
-<& /Elements/TitleBoxStart, title => loc('Modify ticket #[_1]',$TicketObj->Id),   color=> "#993333", width => "100%" &>
-<& Elements/EditBasics, TicketObj => $TicketObj &>
-<& Elements/EditCustomFields, TicketObj => $TicketObj &>
-<& /Elements/TitleBoxEnd &>
-
-<& /Elements/Submit, Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#993333" &>
-</form>
-<%INIT>
-  
-my $TicketObj = LoadTicket($id);
-my $CustomFields = $TicketObj->QueueObj->TicketCustomFields();
-
-# Now let callbacks have a chance at editing %ARGS
-$m->comp('/Elements/Callback', TicketObj => $TicketObj, CustomFields => $CustomFields, %ARGS);
-
-my @results = ProcessTicketBasics(TicketObj => $TicketObj, ARGSRef => \%ARGS);
-my @cf_results = ProcessObjectCustomFieldUpdates(Object => $TicketObj, ARGSRef => \%ARGS);
-push (@results, @cf_results);
-
-# TODO: display the results, even if we can't display the ticket
-
-unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
-    Abort("No permission to view ticket");
-} 
-
-</%INIT>
-
-
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Ticket/ModifyAll.html b/rt/html/Ticket/ModifyAll.html
deleted file mode 100644 (file)
index 23cd935..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Ticket #[_1] Jumbo update: [_2]", $Ticket->Id, $Ticket->Subject) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $Ticket, 
-    current_tab => "Ticket/ModifyAll.html?id=".$Ticket->Id, 
-    Title => loc("Ticket #[_1] Jumbo update: [_2]", $Ticket->Id, $Ticket->Subject) &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM METHOD=POST ACTION="ModifyAll.html" ENCTYPE="multipart/form-data">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
-
-
-<& /Elements/TitleBoxStart, title => loc('Modify ticket # [_1]', $Ticket->Id),   color=> "#993333", width => "100%" &>
-<& Elements/EditBasics, TicketObj => $Ticket &>
-<& Elements/EditCustomFields, TicketObj => $Ticket &>
-<& /Elements/TitleBoxEnd &>
-
-<BR>
-
-<& /Elements/TitleBoxStart, title => loc('Dates'),  width => "100%", color => "#663366"  &>
-<& Elements/EditDates, TicketObj => $Ticket &>
-<& /Elements/TitleBoxEnd &>
-
-<BR>
-
-
-<& /Elements/TitleBoxStart, title => loc('People'),width => "100%", color=> "#333399" &>
-<& Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp &>
-<& /Elements/TitleBoxEnd &>
-
-<BR>
-
-<& /Elements/TitleBoxStart, title => loc('Links'), color => "#336633"&>
-<& /Elements/EditLinks, Object => $Ticket, Merge => 1 &>
-<& /Elements/TitleBoxEnd &>
-
-<BR>
-
-<& /Elements/TitleBoxStart, title => loc('Update ticket') &>
-<table>
-  <tr>
-    <td class="label"><&|/l&>Update Type</&>:</td>
-    <td class="entry">
-      <select name="UpdateType">
-% if ($CanComment) {
-        <option value="private" ><&|/l&>Comments (Not sent to requestors)</&></option>
-% }
-% if ($CanRespond) {
-        <option value="response"><&|/l&>Reply to requestors</&></option>
-% }
-      </select> 
-    </td>
-  </tr>
-  <tr>
-    <td class="label"><&|/l&>Subject</&>:</td>
-    <td class="entry"><input name="UpdateSubject" size=60 value="<%$Ticket->Subject%>"></td>
-  </tr>
-% if (my $TxnCFs = $Ticket->TransactionCustomFields) {
-%    while (my $CF = $TxnCFs->Next()) {
-<TR>
-<TD class="label"><% $CF->Name %>:</TD>
-<TD class="entry"><& /Elements/EditCustomField, 
-    CustomField => $CF, 
-    NamePrefix => "Object-RT::Transaction--CustomField-"
-    &><em><% $CF->FriendlyType %></em></TD>
-</TD></TR>
-%    } # end if while
-% } # end of if
-  <tr>
-    <td class="label"><&|/l&>Attach</&>:</td>
-    <td class="entry"><input name="UpdateAttachment" type=file></td>
-  </tr>
-  <tr>
-    <td class="labeltop"><&|/l&>Content</&>:</td>
-    <td class="entry"><& /Elements/MessageBox, Name=>"UpdateContent", QuoteTransaction=>$ARGS{QuoteTransaction} &></td>
-  </tr>
-</table>
-<& /Elements/TitleBoxEnd &>
-  
-
-<& /Elements/Submit, 
-    Label => loc('Save Changes'), 
-    Caption => loc("If you've updated anything above, be sure to"), color => "#333399" &>
-</form>
-
-<%INIT>
-
-
-
-my $Ticket = LoadTicket($id);
-
-my $CanRespond = 0;
-my $CanComment = 0;
-
-
-$CanRespond = 1 if ( $Ticket->CurrentUserHasRight('ReplyToTicket') or
-                     $Ticket->CurrentUserHasRight('ModifyTicket') ); 
-
-$CanComment = 1 if ( $Ticket->CurrentUserHasRight('CommentOnTicket') or
-                     $Ticket->CurrentUserHasRight('ModifyTicket') );
-
-
-my (@wresults, @results,  @dresults, @lresults, @cf_results);
-
-unless ($OnlySearchForPeople) {
-    @wresults = ProcessTicketWatchers( TicketObj => $Ticket, ARGSRef => \%ARGS);
- @cf_results = ProcessObjectCustomFieldUpdates( Object => $Ticket, ARGSRef => \%ARGS);
-    @dresults = ProcessTicketDates( TicketObj => $Ticket, ARGSRef => \%ARGS);
-    @lresults = ProcessTicketLinks( TicketObj => $Ticket, ARGSRef => \%ARGS);
-
-    if ($ARGS{'UpdateAttachment'}) {
-        my $subject = "$ARGS{'UpdateAttachment'}";
-        # since CGI.pm deutf8izes the magic field, we need to add it back.
-        Encode::_utf8_on($subject);
-        # strip leading directories
-        $subject =~ s#^.*[\\/]##;
-
-        my $attachment = MakeMIMEEntity(
-           Subject             => $subject,
-           Body                => "",
-           AttachmentFieldName => 'UpdateAttachment'
-        );
-       delete $ARGS{'UpdateAttachment'};
-       $ARGS{'UpdateAttachments'}->{ $subject } = $attachment;
-    }
-
-    $ARGS{'UpdateContent'} =~ s/\r+\n/\n/g;
-
-    if ($ARGS{'UpdateAttachments'} || ( $ARGS{'UpdateContent'} && $ARGS{'UpdateContent'} ne  "-- \n" . 
-                               $session{'CurrentUser'}->UserObj->Signature)) {
-        ProcessUpdateMessage(TicketObj => $Ticket, ARGSRef=>\%ARGS, Actions=>\@results);
-       }
-    @results = ProcessTicketBasics( TicketObj => $Ticket, ARGSRef => \%ARGS);
-}
-push @results, @wresults;
-push @results, @dresults;
-push @results, @lresults;
-push @results, @cf_results;
-
-# If they've gone and moved the ticket to somewhere they can't see, etc...
-# TODO: display the results, even if we can't display the ticket.
-
-unless ($Ticket->CurrentUserHasRight('ShowTicket')) {
-   Abort("No permission to view ticket");
-}
-
-
-</%INIT>
-
-
-
-<%ARGS>
-$OnlySearchForPeople => undef
-$UserField => undef
-$UserOp => undef
-$UserString => undef
-$id => undef
-</%ARGS>
-
diff --git a/rt/html/Ticket/ModifyCustomers.html b/rt/html/Ticket/ModifyCustomers.html
deleted file mode 100644 (file)
index 72d103b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-%# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
-%#
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-<& /Elements/Header, Title => loc("Customers for ticket #[_1]", $Ticket->Id) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $Ticket, 
-    current_tab => "Ticket/ModifyCustomers.html?id=".$Ticket->Id, 
-    Title => loc("Customers for ticket #[_1]", $Ticket->Id) &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<form action="ModifyCustomers.html" method="post">
-<input type="hidden" name="id" value="<%$Ticket->id%>">
-
-<& /Elements/TitleBoxStart, title => loc('Edit Customer Links'), color => "#7f007b"&>
-<& Elements/EditCustomers, Ticket => $Ticket, CustomerString => $CustomerString, ServiceString => $ServiceString &>
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, color => "#7f007b", Label => loc('Save Changes') &>
-</form>
-
-
-<%INIT>
-
-my @results = ();
-my $Ticket = LoadTicket($id);
-
-# if we're trying to search for customers/services and nothing else
-unless ( $OnlySearchForCustomers || $OnlySearchForServices) {
-   @results = ProcessTicketCustomers( TicketObj => $Ticket, ARGSRef => \%ARGS);
-}
-    
-</%INIT>
-
-
-<%ARGS>
-$OnlySearchForCustomers => undef
-$OnlySearchForServices => undef
-$CustomerString => undef
-$ServiceString => undef
-$id => undef
-</%ARGS>
diff --git a/rt/html/Ticket/ModifyDates.html b/rt/html/Ticket/ModifyDates.html
deleted file mode 100644 (file)
index a4f68f2..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc('Modify dates for #[_1]', $TicketObj->Id) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $TicketObj, 
-    current_tab => "Ticket/ModifyDates.html?id=".$TicketObj->Id, 
-    Title => loc('Modify dates for #[_1]', $TicketObj->Id) &> 
-
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM METHOD=POST ACTION="ModifyDates.html">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>">
-<& /Elements/TitleBoxStart, title => loc('Modify dates for ticket # [_1]', $TicketObj->Id),  width => "100%", color => "#663366"  &>
-
-<& Elements/EditDates, TicketObj => $TicketObj &>
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, Label => loc('Save Changes'), color => "#663366" &>
-</form>
-
-
-<%INIT>
-
-my $TicketObj = LoadTicket($id);
-my @results = ProcessTicketDates( TicketObj => $TicketObj, ARGSRef => \%ARGS);
-
-</%INIT>
-
-
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Ticket/ModifyLinks.html b/rt/html/Ticket/ModifyLinks.html
deleted file mode 100644 (file)
index 150597d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Link ticket #[_1]", $Ticket->Id) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $Ticket, 
-    current_tab => "Ticket/ModifyLinks.html?id=".$Ticket->Id, 
-    Title => loc("Link ticket #[_1]", $Ticket->Id) &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<form action="ModifyLinks.html" method="post">
-<input type="hidden" name="id" value="<%$Ticket->id%>">
-
-<& /Elements/TitleBoxStart, title => loc('Edit Links'), color => "#336633"&>
-<& /Elements/EditLinks, Object => $Ticket, Merge => 1 &>
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, color => "#336633", Label => loc('Save Changes') &>
-</form>
-
-
-
-
-<%INIT>
-  
-my $Ticket = LoadTicket($id);
-my @results = ProcessTicketLinks( TicketObj => $Ticket, ARGSRef => \%ARGS);
-    
-</%INIT>
-      
-      
-<%ARGS>
-$id => undef
-</%ARGS>
diff --git a/rt/html/Ticket/ModifyPeople.html b/rt/html/Ticket/ModifyPeople.html
deleted file mode 100644 (file)
index 61cbe6c..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc('Modify people related to ticket #[_1]', $Ticket->id) &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $Ticket, 
-    current_tab => "Ticket/ModifyPeople.html?id=".$Ticket->Id, 
-    Title => loc('Modify people related to ticket #[_1]', $Ticket->id) &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM METHOD=POST ACTION="ModifyPeople.html">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
-<& /Elements/TitleBoxStart, title => loc('Modify people related to ticket #[_1]', $Ticket->Id),   width => "100%", color=> "#333399" &>
-<& Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp, GroupString => $GroupString, GroupOp => $GroupOp, GroupField => $GroupField &> 
-<& /Elements/TitleBoxEnd &>
-<& /Elements/Submit, Label => loc('Save Changes'), Caption => loc("If you've updated anything above, be sure to"), color => "#333399" &>
-</form>
-
-<%INIT>
-
-my (@results, @wresults);
-
-my $Ticket = LoadTicket($id);
-
-# if we're trying to search for watchers and nothing else
-unless ($OnlySearchForPeople or $OnlySearchForGroup) {
-    @results = ProcessTicketBasics( TicketObj => $Ticket, ARGSRef => \%ARGS);
-    @wresults = ProcessTicketWatchers( TicketObj => $Ticket, ARGSRef => \%ARGS);
-}
-
-push @results, @wresults;
-</%INIT>
-
-
-
-<%ARGS>
-$OnlySearchForPeople => undef
-$OnlySearchForGroup => undef
-$UserField => undef
-$UserOp => undef
-$UserString => undef
-$GroupField => undef
-$GroupOp => undef
-$GroupString => undef
-$id => undef
-</%ARGS>
-
diff --git a/rt/html/Ticket/ShowEmailRecord.html b/rt/html/Ticket/ShowEmailRecord.html
deleted file mode 100644 (file)
index 38eddd3..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%args>
-$Attachment => undef
-$Transaction => undef
-</%ARGS>
-<%init>
-     my $AttachmentObj = new RT::Attachment($session{'CurrentUser'});
-     $AttachmentObj->Load($Attachment) || Abort(loc("Attachment '[_1]' could not be loaded", $Attachment));
-
-
-     unless ($AttachmentObj->id) {
-        Abort(loc("Attachment '[_1]' could not be loaded", $Attachment));
-    }
-     unless ($AttachmentObj->TransactionId() == $Transaction ) {
-        Abort(loc("Attachment '[_1]' could not be loaded", $Attachment));
-     }
-
-</%init>
-<& /Elements/Header, ShowBar => 0 &>
-<pre>
-<%$AttachmentObj->Headers%>
-
-<%$AttachmentObj->Content%>
-</pre>
-</body>
-</html>
-%$m->abort;
diff --git a/rt/html/Ticket/Update.html b/rt/html/Ticket/Update.html
deleted file mode 100644 (file)
index df739c9..0000000
+++ /dev/null
@@ -1,224 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => $title &>
-<& /Ticket/Elements/Tabs, 
-    Ticket => $TicketObj, 
-    Title=> $title &>
-
-<FORM ACTION="Update.html" NAME="TicketUpdate" 
-       METHOD=POST enctype="multipart/form-data">
-<input type="hidden" name="QuoteTransaction" value="<% $ARGS{QuoteTransaction} %>">
-<input type="hidden" name="DefaultStatus" value="<% $DefaultStatus %>">
-<input type="hidden" name="Action" value="<% $ARGS{Action} %>">
-
-<TABLE BORDER=0>
-
-<tr><td align=right><&|/l&>Status</&>:</td>
-<td>
-<& /Elements/SelectStatus, Name=>"Status", DefaultLabel => loc("[_1] (Unchanged)", loc($TicketObj->Status)), Default => $ARGS{'Status'} || ($TicketObj->Status eq $DefaultStatus ? undef : $DefaultStatus)&>
-<&|/l&>Owner</&>:  
-<& /Elements/SelectOwner, Name=>"Owner", DefaultLabel => loc("[_1] (Unchanged)", $TicketObj->OwnerObj->Name()), QueueObj => $TicketObj->QueueObj, TicketObj => $TicketObj, Default => $ARGS{'Owner'} &>
-<&|/l&>Worked</&>: <input size=4 name="UpdateTimeWorked" value="<% $ARGS{UpdateTimeWorked}%>"> <&|/l&>minutes</&></td></tr>
-% my $skip;
-<& /Elements/Callback, _CallbackName => 'BeforeUpdateType', skip => \$skip, %ARGS &>
-% if (!$skip) {
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>"><br>
-% }
-<tr><td align=right><&|/l&>Update Type</&>:</td>
-<td><select name="UpdateType">
-% if ($CanComment) {
-  <option value="private" <%$ARGS{'UpdateType'} eq "private" ? "SELECTED" : !$ARGS{'UpdateType'}&&$CommentDefault%>><&|/l&>Comments (Not sent to requestors)</&></option>
-% }
-% if ($CanRespond) {
-   <option value="response" <%$ARGS{'UpdateType'} eq "response" ? "SELECTED" : !$ARGS{'UpdateType'}&&$ResponseDefault%>><&|/l&>Reply to requestors</&></option>
-% }
-</select> 
-</td></tr>
-<tr><td align=right><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size=60 value="<% $ARGS{UpdateSubject} || $TicketObj->Subject()%>"></td></tr>
-<tr><td align=right><&|/l&>Cc</&>:</td><td> <input name="UpdateCc" size=60
-value="<% $ARGS{UpdateCc} %>"><BR>
-<i><font size=-2>
-<&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)</&></font></i>
-</td></tr>
-<tr><td align=right><&|/l&>Bcc</&>:</td><td> <input name="UpdateBcc" size=60 VALUE="<%$ARGS{UpdateBcc}%>"><BR>
-<i><font size=-2>
-<&|/l&>(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)</&></font></i>
-</td></tr>
-% if (exists $session{'Attachments'}) {
-<TD>
-<&|/l&>Attached file</&>:
-</TD>
-<TD COLSPAN=5>
-<&|/l&>Check box to delete</&><BR>
-% foreach my $attach_name (keys %{$session{'Attachments'}}) {
-<input type="checkbox" name="DeleteAttach-<%$attach_name%>" value="1"><%$attach_name%><BR>
-% } # end of foreach
-</TD>
-</TR>
-<TR>
-% } # end of if
-
-% if (my $TxnCFs = $TicketObj->TransactionCustomFields) {
-%    while (my $CF = $TxnCFs->Next()) {
-<TR>
-<TD ALIGN=RIGHT><% $CF->Name %>:</TD>
-<TD><& /Elements/EditCustomField, CustomField => $CF, NamePrefix =>
-    "Object-RT::Transaction--CustomField-" &><em><% $CF->FriendlyType %></em></TD>
-</TR>
-%    } # end if while
-% } # end of if
-
-<tr><td align=right><&|/l&>Attach</&>:</td><td><input name="Attach" type="file"><INPUT TYPE=SUBMIT NAME="AddMoreAttach" VALUE="<&|/l&>Add More Files</&>"><input type="hidden" name="UpdateAttach" value="1">
-</td></tr>
-<tr><td align="right" valign="top"><&|/l&>Message</&>:</td><td>
-<& /Elements/Callback, _CallbackName => 'BeforeMessageBox', %ARGS &>
-% if (exists $ARGS{UpdateContent}) {
-% # preserve QuoteTransaction so we can use it to set up sane references/in/reply to
-% my $temp = $ARGS{'QuoteTransaction'};
-% delete $ARGS{'QuoteTransaction'};
-<& /Elements/MessageBox, Name=>"UpdateContent", Default=>$ARGS{UpdateContent}, IncludeSignature => 0, %ARGS&>
-% $ARGS{'QuoteTransaction'} = $temp;
-% } else {
-<& /Elements/MessageBox, Name=>"UpdateContent", %ARGS &>
-% }
-</td></tr>
-</table>
-
-
-
-
-<& /Elements/Submit, Label => loc('Update Ticket'), Name => 'SubmitTicket' &>
-% if ($TicketObj->CurrentUserHasRight('ShowOutgoingEmail')) {
-<& /Ticket/Elements/PreviewScrips, TicketObj => $TicketObj, %ARGS &>
-% }
-</FORM>
-<%INIT>
-my $CanRespond = 0;
-my $CanComment = 0;
-my $title;
-
-my $TicketObj = LoadTicket($id);
-
-unless($DefaultStatus){
-    $DefaultStatus=($ARGS{'Status'} ||$TicketObj->Status());
-}
-
-if ($DefaultStatus =~ '^new$'){
-        $DefaultStatus='open';
-}
-
-if ($DefaultStatus eq 'resolved') {
-    $title = loc("Resolve ticket #[_1] ([_2])", $TicketObj->id, $TicketObj->Subject);
-} else {
-    $title = loc("Update ticket #[_1] ([_2])", $TicketObj->id, $TicketObj->Subject);
-}
-
-# Things needed in the template - we'll do the processing here, just
-# for the convenience:
-
-my ($CommentDefault, $ResponseDefault);
-if ($Action ne 'Respond') {
-   $CommentDefault = "SELECTED"; 
-} else {
-    $ResponseDefault = "SELECTED";
-}
-
-
-$CanRespond = 1 if ( $TicketObj->CurrentUserHasRight('ReplyToTicket') or
-                     $TicketObj->CurrentUserHasRight('ModifyTicket') ); 
-
-$CanComment = 1 if ( $TicketObj->CurrentUserHasRight('CommentOnTicket') or
-                     $TicketObj->CurrentUserHasRight('ModifyTicket') ); 
-
-
-# {{{ deal with deleting uploaded attachments
-foreach my $key (keys %ARGS) {
-    if ($key =~ m/^DeleteAttach-(.+)$/) {
-       delete $session{'Attachments'}{$1};
-    }
-    $session{'Attachments'} = { %{$session{'Attachments'} || {}} };
-}
-# }}}
-
-# {{{ store the uploaded attachment in session
-if ($ARGS{'Attach'}) {                 # attachment?
-    $session{'Attachments'} = {} unless defined $session{'Attachments'};
-
-    my $subject = "$ARGS{'Attach'}";
-    # since CGI.pm deutf8izes the magic field, we need to add it back.
-    Encode::_utf8_on($subject);
-    # strip leading directories
-    $subject =~ s#^.*[\\/]##;
-
-    my $attachment = MakeMIMEEntity(
-        Filename             => $subject,
-        Body                => "",
-        AttachmentFieldName => 'Attach'
-    );
-
-    $session{'Attachments'} = { %{$session{'Attachments'} || {}},
-                               $ARGS{'Attach'} => $attachment };
-}
-# }}}
-
-# delete temporary storage entry to make WebUI clean
-unless (keys %{$session{'Attachments'}} and $ARGS{'UpdateAttach'}) {
-    delete $session{'Attachments'};
-}
-# }}}
-
-if ( exists $ARGS{SubmitTicket} ) {
-    $m->comp('Display.html', TicketObj => $TicketObj, %ARGS);
-    return;
-}
-
-</%INIT>
-
-<%ARGS>
-$id => undef
-$Action => undef
-$DefaultStatus => undef
-</%ARGS>
diff --git a/rt/html/Tools/Elements/Tabs b/rt/html/Tools/Elements/Tabs
deleted file mode 100644 (file)
index fc4153b..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Tabs, 
-    tabs => $tabs, 
-    current_toptab => 'Tools/Offline.html', 
-    current_tab => $current_tab, 
-    Title => $Title &>
-
-<%INIT>
-  my $tabs = { a => { title => loc('Offline'),
-                         path => 'Tools/Offline.html',
-                       },
-            };
-
-  foreach my $tab (sort keys %{$tabs}) {
-    if ($tabs->{$tab}->{'path'} eq $current_tab) {
-      $tabs->{$tab}->{"subtabs"} = $subtabs;
-      $tabs->{$tab}->{"current_subtab"} = $current_subtab;
-    }
-  }
-</%INIT>
-
-
-<%ARGS>
-$subtabs => undef
-$current_tab => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/Tools/MyDay.html b/rt/html/Tools/MyDay.html
deleted file mode 100644 (file)
index a20209c..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, title => "What I did today" &>
-(displaying new and open tickets for <%$session{'CurrentUser'}->Name%>)
-<FORM METHOD=POST ACTION="MyDay.html">
-<TABLE width=100% cellpadding=0 cellspacing=0>
-% while ( my $Ticket = $Tickets->Next()) {
-% my $class;
-% $i++;
-% if ($i % 2 ) {
-%  $class = 'class="oddline"';
-% }
-<TR <%$class|n%>><TD COLSPAN=2><h2><A
-HREF="<%$RT::WebPath%>/Ticket/Display.html?id=<%$Ticket->Id%>"><%$Ticket->Id%>:
-<%$Ticket->Subject%></A></h2></td></tr>
-<TR <%$class|n%>><TD><SPAN CLASS=label>Worked:</SPAN><input size=3 name="UpdateTimeWorked-<%$Ticket->Id%>"> minutes
-</TD>
-<TD ROWSPAN=2><SPAN CLASS=label>Comments:<br></SPAN><textarea name="UpdateContent-<%$Ticket->Id%>" rows=5
-cols=60></textarea></TD></TR>
-<TR <%$class|n%>>
-<TD><SPAN CLASS="label">Status:</SPAN> <& /Elements/SelectStatus, Name=> 'UpdateStatus-'.$Ticket->Id, 
-                                 DefaultLabel => loc("[_1] (Unchanged)",loc($Ticket->Status())) &></TD>
-                  </TR>
-
-% }
-</TABLE>
-<& /Elements/Submit, Label => "Record all updates" ,  Reset => 'Clear'&>
-</FORM>
-</HTML>
-
-<%INIT>
-
-my $i = 0;
-
-my $Tickets = RT::Tickets->new($session{'CurrentUser'});
-$Tickets->LimitOwner(VALUE => $session{'CurrentUser'}->Id);
-$Tickets->LimitStatus( VALUE => 'open' );
-$Tickets->LimitStatus ( VALUE => 'new');
-$Tickets->OrderBy ( FIELD => 'Priority', ORDER => 'DESC');
-
-while (my $Ticket = $Tickets->Next()) {
-       #Process updates        
-       
-
-}
-
-</%INIT>
-
diff --git a/rt/html/Tools/Offline.html b/rt/html/Tools/Offline.html
deleted file mode 100644 (file)
index 8b12784..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Offline upload") &>
-<& Elements/Tabs, 
-    current_tab => "Tools/Offline.html", 
-    Title => loc("Offline edits") &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<& /Elements/Callback, Requestor => \$requestoraddress,
-    Queue => \$qname, %ARGS &>
-
-<FORM ACTION="Offline.html" NAME="TicketUpdate" 
-       METHOD=POST enctype="multipart/form-data">
-<table>
-<tr>
-<td class=label>
-<&|/l&>Default Queue</&>:
-</td>
-<td>
-<& /Elements/SelectQueue, Name => "qname", NamedValues => 1 &>
-<i><&|/l&>If no queue is specified, create tickets in this queue.</&></i>
-</td>
-</tr>
-<tr>
-<td class=label>
-<&|/l&>Default Requestor</&>:
-</td>
-<td>
-<input name=requestoraddress value=<%$requestoraddress%>>
-<i><&|/l&>If no Requestor is specified, create tickets with this requestor.</&></i>
-</td>
-</tr>
-<tr><td class=labeltop>
-<&|/l&>Template</&>:
-</td>
-<td colspan=2>
-<textarea name=string cols=80 rows=30>
-<%$string%>
-</textarea>
-</td>
-</tr>
-<tr><td class=label>
-<&|/l&>Get template from file</&>:
-</td>
-<td>
-<input name="Template" type="file" value="foo">
-<INPUT TYPE=SUBMIT NAME="Parse" VALUE="<&|/l&>Go</&>">
-</td>
-</tr>
-</table>
-<& /Elements/Submit, Name => 'UpdateTickets', Label => loc('Upload'), Caption => loc("Upload your changes"), color => "#993333" &>
-
-</FORM>
-<%args>
-$requestoraddress => undef
-$qname => undef
-$string => undef
-</%args>
-<%INIT>
-
-my @results;
-use RT::Action::CreateTickets;
-my $action = RT::Action::CreateTickets->new(CurrentUser => $session{'CurrentUser'});
-;
-if ($ARGS{'Parse'} && $ARGS{'Template'}) {
-    $string = "";
-    my $cgi_object = $m->cgi_object;
-    my $fh = $cgi_object->upload('Template');
-    my $filename = "$fh";
-
-    my ($buffer, $template);
-    while ( my $bytesread = read( $fh, $buffer, 4096 ) ) {
-           $template .= $buffer;
-    }
-    $template =~ s/\r\n/\n/gs;
-    $action->Parse(Content => $template, Queue => $qname, Requestor => $requestoraddress);
-    foreach ( @{ $action->{'create_tickets'} } ) {
-        my $id = $_;
-        $id =~ s/^create\-//;
-        $string .= "===Create-Ticket: $id\n";
-        $string .= $action->{'templates'}->{$_} . "\n";
-    }
-    foreach ( @{ $action->{'update_tickets'} } ) {
-        my $id = $_;
-        $id =~ s/^update\-//;
-        $string .= "===Update-Ticket: $id\n";
-        $string .= $action->{'templates'}->{$_} . "\n";
-    }
-
-
-} elsif ($ARGS{'UpdateTickets'}) {
-    $action->Parse(Content => $ARGS{string}, Queue => $qname, Requestor=> $requestoraddress);
-    push @results, $action->CreateByTemplate();
-    push @results, $action->UpdateByTemplate();
-} else {
-    if ($ARGS{'Query'}) {
-       my $Tickets = RT::Tickets->new($session{'CurrentUser'});
-       $Tickets->FromSQL($ARGS{'Query'});
-       
-       while (my $t = $Tickets->Next) {
-           $string .= "===Update-Ticket: " . $t->Id . "\n";
-           $string .= $action->GetUpdateTemplate($t);
-           $string .= "" . "\n";
-       }
-       
-       $string .= "" . "\n";
-       $string .= "===# DO NOT EDIT BELOW THIS LINE#===\n";
-       $string .= "" . "\n";
-       
-       while (my $t = $Tickets->Next) {
-           $string .= "===# DO NOT EDIT #===\n";
-               $string .= "===Base-Ticket: " . $t->Id . "\n";
-           $string .= $action->GetBaseTemplate($t);
-           $string .= "===# DO NOT EDIT #===\n";
-               $string .= "" . "\n";
-       }
-    } else {
-       $string .= "===Create-Ticket: ticket1\n";
-       $string .= $action->GetCreateTemplate();
-    }
-}
-</%INIT>
diff --git a/rt/html/User/Delegation.html b/rt/html/User/Delegation.html
deleted file mode 100644 (file)
index 3347fda..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc("Delegate rights") &>
-<& /User/Elements/Tabs, 
-    current_tab => 'User/Delegation.html', 
-    Title => loc("Delegate rights") &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<form method="post">
-<& Elements/DelegateRights, personalgroups => $personalgroups, objects => $objects, ObjectType => 'RT::System' &>
-<& Elements/DelegateRights, personalgroups => $personalgroups, objects => $objects, ObjectType => 'RT::Queue' &>
-<& Elements/DelegateRights, personalgroups => $personalgroups, objects => $objects, ObjectType => 'RT::Group' &>
-
-<& /Elements/Submit, Label => loc('Modify Rights') &>
-</form>
-<%INIT>
-
-my (@results, $arg);
-foreach $arg (keys %ARGS) {
-    next unless ($arg =~ /^Delegate-Existing-ACE-(\d+)-to-(\d+)-as-(\d+)$/);
-       my $parent = $1;
-       my $principal = $2;
-       my $delegation = $3;
-       unless ($ARGS{"Delegate-ACE-$1-to-$2"}) {
-            my $ace_to_del = RT::ACE->new($session{'CurrentUser'});
-            $ace_to_del->Load($delegation);
-            my ($delval, $delmsg) = $ace_to_del->Delete();
-            push (@results, $delmsg);
-       }
-}
-
-foreach $arg (keys %ARGS) { 
-    next unless ($arg =~ /^Delegate-ACE-(\d+)-to-(\d+)$/);
-    my $parent = $1;
-    my $principal = $2;
-    # if we already delegate it, we just don't care
-    next if (grep /^Delegate-Existing-ACE-$parent-to-$principal-/, keys %ARGS);
-    my $ace = RT::ACE->new($session{'CurrentUser'});
-    $ace->Load($1);
-    unless ($ace->Id) {
-        push (@results, loc('Right not found'));
-        next;
-    }
-    my ($delid, $delmsg) = $ace->Delegate(PrincipalId => $principal);
-    push (@results, $delmsg);
-}
-
-my $personalgroups = RT::Groups->new($session{'CurrentUser'});
-$personalgroups->LimitToPersonalGroupsFor($session{'CurrentUser'}->PrincipalId);
-
-my $objects;
-my $acl = RT::ACL->new ($session{'CurrentUser'});
-$acl->ExcludeDelegatedRights();
-$acl->LimitToPrincipal(Id => $session{'CurrentUser'}->PrincipalId, 
-                       IncludeGroupMembership => 1
-                       );
-
-while(my $right = $acl->Next) {
-       push @{$objects->{$right->ObjectType}{$right->ObjectId}},$right;
-}
-</%INIT>
diff --git a/rt/html/User/Elements/DelegateRights b/rt/html/User/Elements/DelegateRights
deleted file mode 100644 (file)
index 79ecb59..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<h2><%$sectionheading%></h2>
-<%perl>
-
-foreach my $object (keys %{$objects->{$ObjectType}}) {
-unless ($ObjectType eq 'RT::System') {
-my $object_obj = @{$objects->{$ObjectType}{$object}}[0]->Object;
-
-</%perl>
-<h3><% $object_obj->Name %></h3>
-% }
-<table width="100%" border="0" cellspacing="0" cellpadding="3">
-<tr>
-        <th width=15%><&|/l&>Personal groups:</&></th>
-% while (my $pg = $personalgroups->Next) {
-<th><%$pg->Name%></th>
-% }
-</tr>
-<%perl>
-my $i;
-foreach my $right (@{$objects->{$ObjectType}{$object}}) {
-my $delegations = RT::ACL->new($session{'CurrentUser'});
-$delegations->DelegatedBy( Id => $session{'CurrentUser'}->PrincipalId);
-$delegations->DelegatedFrom ( Id => $right->Id);
-
-my $del_hash = {};
-while ( my $delegation = $delegations->Next) {
-        $del_hash->{$delegation->PrincipalId} = $delegation;
-}
-</%perl>
-% $i++;
-%
-<tr class="<%($i%2) && 'oddline'%>">
-<td>
-<% loc($right->RightName) %><br>
-<div align=right><font size="-2" color="#999999"><&|/l, $right->PrincipalObj->Object->SelfDescription &>as granted to [_1]</&></font></div>
-       </td>
-% while (my $pg = $personalgroups->Next) {
-<td align=center>
-        <input name="Delegate-ACE-<% $right->Id %>-to-<% $pg->PrincipalId%>" type=checkbox value="1" <%$ del_hash->{$pg->PrincipalId} && 'CHECKED' %>>
-% if ( $del_hash->{$pg->PrincipalId}) {
-<input type=hidden name="Delegate-Existing-ACE-<% $right->Id %>-to-<% $pg->PrincipalId%>-as-<%$del_hash->{$pg->PrincipalId}->Id%>">
-% }
-</td>
-% }
-<td>&nbsp;</td>
-</tr>
-%}
-</table> 
-% }
-<%init>
-
-my $sectionheading = loc("[_1] rights", loc($ObjectType =~ /^RT::(.*)$/));
-# 'System' # loc
-# 'Group'  # loc
-# 'Queue'  # loc
-
-</%init>
-<%args>
-$ObjectType => undef
-$objects => undef
-$personalgroups => undef
-</%args>
diff --git a/rt/html/User/Elements/GroupTabs b/rt/html/User/Elements/GroupTabs
deleted file mode 100644 (file)
index 2e79df2..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /User/Elements/Tabs, 
-    subtabs => $tabs, 
-    current_tab => 'User/Groups/', 
-    current_subtab => $current_subtab, 
-    Title => $Title &>
-
-<%INIT>
-my $tabs;
-if ( $GroupObj and $GroupObj->id ) {
-    $tabs->{"this"} = {
-        title   => $GroupObj->Name,
-        path    => "User/Groups/Modify.html?id=" . $GroupObj->id,
-        subtabs => {
-            Basics => { title => loc('Basics'),
-                        path  => "User/Groups/Modify.html?id=" . $GroupObj->id
-            },
-
-            Members => { title => loc('Members'),
-                         path  => "User/Groups/Members.html?id=" . $GroupObj->id
-            },
-
-        } };
-        $tabs->{'this'}->{'current_subtab'} = $current_subtab;
-         $current_subtab = "User/Groups/Modify.html?id=" . $GroupObj->id,
-}
-$tabs->{"A"} = { title => loc('Select group'),
-                 path  => "User/Groups/index.html" };
-$tabs->{"B"} = { title     => loc('New group'),
-                 path      => "User/Groups/Modify.html?Create=1",
-                 separator => 1 };
-
-</%INIT>
-<%ARGS>
-$GroupObj => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/User/Elements/Tabs b/rt/html/User/Elements/Tabs
deleted file mode 100644 (file)
index 1d25fb9..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Tabs, 
-    tabs => $tabs, 
-    current_toptab => 'User/Prefs.html', 
-    current_tab => $current_tab, 
-    Title => $Title &>
-
-<%INIT>
-  my $tabs = { a => { title => loc('About me'),
-                         path => 'User/Prefs.html',
-                       },
-              g => { title => loc('Personal Groups'),
-                          path => 'User/Groups/',
-                        },
-              h => { title => loc('Delegation'),
-                          path => 'User/Delegation.html',
-                        },
-            };
-
-  foreach my $tab (sort keys %{$tabs}) {
-    if ($tabs->{$tab}->{'path'} eq $current_tab) {
-      $tabs->{$tab}->{"subtabs"} = $subtabs;
-      $tabs->{$tab}->{"current_subtab"} = $current_subtab;
-    }
-  }
-</%INIT>
-
-
-<%ARGS>
-$subtabs => undef
-$current_tab => undef
-$current_subtab => undef
-$Title => undef
-</%ARGS>
diff --git a/rt/html/User/Groups/Members.html b/rt/html/User/Groups/Members.html
deleted file mode 100644 (file)
index 2068e5a..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => $title &>
-<& /User/Elements/GroupTabs, 
-    GroupObj => $Group, 
-    current_subtab => "User/Groups/Members.html?id=".$Group->id, 
-    Title => $title &>
-<& /Elements/ListActions, actions => \@results &>
-
-
-
-<FORM ACTION="<%$RT::WebPath%>/User/Groups/Members.html" METHOD="POST">
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Group->Id%>">
-<TABLE WIDTH="100%">
-<TR>
-<TD>
-<&|/l&>Add members</&>
-</TD>
-<TD>
-<&|/l&>Current members</&>
-</TD>
-</TR>
-
-<TR>
-<TD VALIGN=TOP>
-<& /Admin/Elements/SelectNewGroupMembers, Name => "AddMembers", Group => $Group &>
-</TD>
-<TD VALIGN=TOP>
-
-% if ($Group->MembersObj->Count == 0 ) {
-<i><&|/l&>(No members)</&></i>
-% } else {
-<i><&|/l&>(Check box to delete)</&></i>
-<br>
-<br>
-<&|/l&>Users</&>
-% my $UserMembers = $Group->MembersObj;
-% $UserMembers->LimitToUsers();
-<UL>
-% while (my $member = $UserMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
-<%$member->MemberObj->Object->Name%> (<%$member->MemberObj->Object->RealName%>)
-% }
-</ul>
-<&|/l&>Groups</&>
-<ul>
-% my $GroupMembers = $Group->MembersObj;
-% $GroupMembers->LimitToGroups();
-% while (my $member = $GroupMembers->Next()) {
-<LI><INPUT TYPE=CHECKBOX Name="DeleteMember-<%$member->MemberId%>" value="1">
-<%$member->MemberObj->Object->Name%>
-% }
-% }
-</UL>
-</TD>
-</TR>
-</TABLE>
-<& /Elements/Submit, Label => loc('Modify Members') &>
-</form>
-
-
-<%INIT>
-
-my $Group = new RT::Group($session{'CurrentUser'});
-$Group->Load($id) ;
-
-unless ($Group->id) {
-    Abort(loc('Could not load group'));
-}
-
-my (@results);
-
-foreach my $key (keys %ARGS) {
-
-if ($key =~ /^DeleteMember-(\d+)$/) {
-    my $mem_id = $1; 
-    my ($val,$msg) = $Group->DeleteMember($mem_id);
-    push (@results, $msg);
-}
-}
-
-# Make sure AddMembers is always an array
-my @AddMembersUsers = (ref $AddMembersUsers eq 'ARRAY') ? @{$AddMembersUsers} : ($AddMembersUsers);
-my @AddMembersGroups = (ref $AddMembersGroups eq 'ARRAY') ? @{$AddMembersGroups} : ($AddMembersGroups);
-
-foreach my $member (@AddMembersUsers, @AddMembersGroups) {
-    next unless ($member);
-
-    my $principal;
-
-    if ($member =~ /^Group-(\d+)$/) {
-        $principal = RT::Group->new($session{'CurrentUser'});
-        $principal->Load($1);
-    } elsif ($member =~ /^User-(\d+)$/) {
-        $principal = RT::User->new($session{'CurrentUser'});
-        $principal->Load($1);
-    } else {
-        next;
-    }
-
-
-    my ($val, $msg) = $Group->AddMember($principal->PrincipalId);
-    push (@results, $msg);
-}
-
-
-my $title = loc('Editing membership for personal group [_1]', $Group->Name);
-
-</%INIT>
-
-<%ARGS>
-$AddMembersUsers => undef
-$AddMembersGroups => undef
-$id => undef
-</%ARGS>
diff --git a/rt/html/User/Groups/Modify.html b/rt/html/User/Groups/Modify.html
deleted file mode 100644 (file)
index c0e9ce5..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => $title &>
-
-<& /User/Elements/GroupTabs, 
-    GroupObj => $Group, 
-    current_subtab => $current_tab, 
-    Title => $title &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-
-<FORM ACTION="<%$RT::WebPath%>/User/Groups/Modify.html" METHOD=POST>
-
-%unless ($Group->Id) {
-<INPUT TYPE=HIDDEN NAME=id VALUE="new">
-% } else {
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Group->Id%>">
-% }
-<TABLE>
-<TR><TD ALIGN=RIGHT>
-<&|/l&>Name</&>:
-</TD>
-<TD><INPUT name="Name" value="<%$Group->Name%>"></TD>
-</TR><TR>
-<TD ALIGN=RIGHT>
-<&|/l&>Description</&>:</TD><TD COLSPAN=3><INPUT name="Description" value="<%$Group->Description%>" size=60></TD>
-</TR><TR>
-<TD COLSPAN=2>
-<INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
-<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>> <&|/l&>Enabled (Unchecking this box disables this group)</&><BR>
-</TR>
-</TABLE>
-<& /Elements/Submit, Label => loc('Save Changes'), Reset => 1 &>
-</form>
-<%INIT>
-
-my $current_tab;
-my  ($title, @results, $Disabled, $EnabledChecked);
-
-my $Group = RT::Group->new($session{'CurrentUser'});
-
-if ($Create) {
-    $current_tab = 'User/Groups/Modify.html?Create=1';
-    $title = loc("Create a new personal group");
-} 
-else {
-    if ( $id eq 'new' ) {
-
-        my ( $id, $msg ) = $Group->CreatePersonalGroup(
-                             Name        => "$Name",
-                             PrincipalId => $session{'CurrentUser'}->PrincipalId
-        );
-        unless ($id) {
-            Abort( loc("Could not create group") );
-        }
-        $id = $Group->Id;
-    }
-    else {
-        $Group->Load($id) || Abort( loc('Could not load group') );
-    }
-
-    if ($id) {
-        $title = loc( "Modify the group [_1]", $Group->Name );
-
-    }
-
-    # If the create failed
-    else {
-        $title  = loc("Create a new personal group");
-        $Create = 1;
-    }
-
-    $current_tab = 'User/Groups/Modify.html?id=' . $Group->Id;
-}
-
-if ($id) {
-    
-    my @fields = qw(Description Name );
-    my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields,
-                                           Object => $Group,
-                                           ARGSRef => \%ARGS );
-    push (@results,@fieldresults);
-}
-
-#we're asking about enabled on the web page but really care about disabled.
-if ($Enabled == 1) {
-    $Disabled = 0;
-}      
-else {
-    $Disabled = 1;
-}
-if  ( ($SetEnabled) and ( $Disabled != $Group->Disabled) ) { 
-    my  ($code, $msg) = $Group->SetDisabled($Disabled);
-    push @results, loc('Enabled status [_1]', loc_fuzzy($msg));
-}
-
-unless ($Group->Disabled()) {
-    $EnabledChecked ="CHECKED";
-}
-
-</%INIT>
-
-
-<%ARGS>
-$Create => undef
-$Name => undef
-$Description => undef
-$SetEnabled => undef
-$Enabled => undef
-$id => undef
-</%ARGS>
diff --git a/rt/html/User/Groups/index.html b/rt/html/User/Groups/index.html
deleted file mode 100644 (file)
index 6d2e15d..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => $title &>
-<& /User/Elements/GroupTabs, 
-    current_subtab => 'User/Groups/index.html', 
-    Title => $title &>
-
-<&|/l&>Personal groups</&>:<BR>
-<UL>
-%while ( my $Group = $Groups->Next) {
-<LI><A HREF="Modify.html?id=<%$Group->id%>"><%$Group->Name || loc('(empty)')%></a><BR>
-%}
-</UL>
-
-<%INIT>
-my $Groups = RT::Groups->new($session{'CurrentUser'});
-$Groups->LimitToPersonalGroupsFor($session{'CurrentUser'}->PrincipalId());
-my $title = loc('Personal groups');
-
-</%INIT>
-<%ARGS>
-</%ARGS>
diff --git a/rt/html/User/Prefs.html b/rt/html/User/Prefs.html
deleted file mode 100644 (file)
index f1c7558..0000000
+++ /dev/null
@@ -1,279 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title=>loc("Preferences") &>
-<& /User/Elements/Tabs, 
-    current_tab => 'User/Prefs.html', 
-    Title=>loc("Preferences") &>
-
-<& /Elements/ListActions, actions => \@results &>
-
-<FORM ACTION="<%$RT::WebPath%>/User/Prefs.html" METHOD=POST>
-<INPUT TYPE=HIDDEN NAME=id VALUE="<%$UserObj->Id%>">
-
-<TABLE WIDTH=100% BORDER=0>
-<TR>
-
-<TD VALIGN=TOP class="boxcontainer">
-<& /Elements/TitleBoxStart, title => loc('Identity') &>
-
-<input type=hidden name="Name" value="<%$UserObj->Name%>">
-<table callspacing=0 cellpadding=0>
-  <tr>
-    <td class=label><&|/l&>Email</&>: </td>
-    <td class=value><input name="EmailAddress" value="<%$UserObj->EmailAddress%>"></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Real Name</&>:</td>
-    <td class=value><input name="RealName" value="<%$UserObj->RealName%>"></td>  </tr>
-  <tr>
-    <td class=label><&|/l&>Nickname</&>:</td>
-    <td class=value><input name="NickName" value="<%$UserObj->NickName%>"></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Language</&>:</td>
-    <td class=value><& /Elements/SelectLang, Name => 'Lang', Default => $UserObj->Lang &></td>
-  </tr>
-</table>
-<& /Elements/TitleBoxEnd &>
-<br>
-<& /Elements/TitleBoxStart, title => loc('Phone numbers') &>
-<table callspacing=0 cellpadding=0>
-  <tr>
-    <td class=label><&|/l&>Residence</&>:</td>
-    <td class=value><input name="HomePhone" value="<%$UserObj->HomePhone%>" size=13></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Work</&>:</td>
-    <td class=value><input name="WorkPhone" value="<%$UserObj->WorkPhone%>" size=13></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Mobile</&>:</td>
-    <td class=value><input name="MobilePhone" value="<%$UserObj->MobilePhone%>" size=13></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Pager</&>:</td>
-    <td class=value><input name="PagerPhone" value="<%$UserObj->PagerPhone%>" size=13></td>
-  </tr>
-</table>
-<& /Elements/TitleBoxEnd &>
-</TD>
-<TD VALIGN=TOP class="boxcontainer">
-% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
-<& /Elements/TitleBoxStart, title => loc('Password') &>
-<TABLE>
-<TR>
-<TD class=label>
-<&|/l&>New Password</&>:
-</TD>
-<TD class=value>
-<input type=password name="Pass1">
-</TD>
-</TR>
-<TR><TD class=label>
-<&|/l&>Retype Password</&>:
-</TD>
-<TD class=value>
-<input type=password name="Pass2">
-</TD>
-</TR>
-</TABLE>
-<& /Elements/TitleBoxEnd &>
-% }
-
-<& /Elements/TitleBoxStart, title => loc('Location') &>
-<table callspacing=0 cellpadding=0>
-  <tr>
-    <td class=label><&|/l&>Organization</&>:</td>
-    <td class=value><input name="Organization" value="<%$UserObj->Organization%>"></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Address1</&>:</td>
-    <td class=value><input name="Address1" value="<%$UserObj->Address1%>"></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Address2</&>:</td>
-    <td class=value><input name="Address2" value="<%$UserObj->Address2%>"></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>City</&>:</td>
-    <td><input name="City" value="<%$UserObj->City%>" size=14></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>State</&>:</td>
-    <td class=value><input name="State" value="<%$UserObj->State%>" size=3></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Zip</&>:</td>
-    <td class=value><input name="Zip" value="<%$UserObj->Zip%>" size=9></td>
-  </tr>
-  <tr>
-    <td class=label><&|/l&>Country</&>:</td>
-    <td class=value><input name="Country" value="<%$UserObj->Country%>"></td>
-  </tr>
-</table>
-<& /Elements/TitleBoxEnd &>
-</TD>
-</TR>
-<TR>
-
-
-
-<TD COLSPAN=2 VALIGN=TOP class="boxcontainer">
-%if ($UserObj->Privileged) {
-<BR>
-<& /Elements/TitleBoxStart, title => loc('Signature') &>
-<TEXTAREA COLS=80 ROWS=5 name="Signature" class="signature" WRAP=HARD>
-<%$UserObj->Signature%></TEXTAREA>
-<& /Elements/TitleBoxEnd &>
-% }
-
-</TD>
-
-</TR>
-</TABLE>
-
-
-<& /Elements/Submit, Label => loc('Save Preferences') &>
-</form>
-
-
-<%INIT>
-
-my $UserObj = new RT::User($session{'CurrentUser'});
-my ($title, $PrivilegedChecked, $EnabledChecked, $Disabled, $result, @results);
-
-my ($val, $msg);
-
-
-       $UserObj->Load($id) || $UserObj->Load($Name) || Abort("Couldn't load user '$Name'");
-       $val = $UserObj->Id();
-    
-
-
-
-
-
-# If we have a user to modify, lets try. 
-if ($UserObj->Id) {
-    
-    my @fields = qw(Name Comments Signature EmailAddress FreeformContactInfo 
-                   Organization RealName NickName Lang EmailEncoding WebEncoding 
-                   ExternalContactInfoId ContactInfoSystem Gecos ExternalAuthId 
-                   AuthSystem HomePhone WorkPhone MobilePhone PagerPhone Address1
-               Address2 City State Zip Country Lang
-                  );
-    
-    my @fieldresults = UpdateRecordObject ( AttributesRef => \@fields,
-                                           Object => $UserObj,
-                                           ARGSRef => \%ARGS );
-    if ($Lang) {
-       $session{'CurrentUser'}->LanguageHandle($Lang);
-       $session{'CurrentUser'} = $session{'CurrentUser'}; # force writeback
-    }
-
-    push (@results,@fieldresults);
-
-
-# {{{ Deal with special fields: Privileged, Enabled and Password
-if  ( ($SetPrivileged) and ( $Privileged != $UserObj->Privileged) ) {
-my  ($code, $msg) = $UserObj->SetPrivileged($Privileged);
-     push @results, loc('Privileged status: [_1]', loc_fuzzy($msg));
-}
-
-
-
-#TODO: make this report errors properly
-if ((defined $Pass1) and ($Pass1 ne '') and ($Pass1 eq $Pass2) and (!$UserObj->IsPassword($Pass1))) {
-    my ($code, $msg);
-    ($code, $msg) = $UserObj->SetPassword($Pass1);
-    push @results, loc('Password: [_1]', loc_fuzzy($msg));
-} elsif ( $Pass1 && ($Pass1 ne $Pass2)) {
-    push @results, loc("Passwords do not match. Your password has not been changed");
-}
-
-# }}}
-}
-
-
-</%INIT>
-
-
-<%ARGS>
-$id => $session{'CurrentUser'}->Id
-$Name  => undef
-$Comments  => undef
-$Signature  => undef
-$EmailAddress  => undef
-$FreeformContactInfo => undef
-$Organization  => undef
-$RealName  => undef
-$NickName  => undef
-$Privileged => undef
-$SetPrivileged => undef
-$Enabled => undef
-$SetEnabled => undef
-$Lang  => undef
-$EmailEncoding  => undef
-$WebEncoding => undef
-$ExternalContactInfoId  => undef
-$ContactInfoSystem  => undef
-$Gecos => undef
-$ExternalAuthId  => undef
-$AuthSystem  => undef
-$HomePhone => undef
-$WorkPhone  => undef
-$MobilePhone  => undef
-$PagerPhone  => undef
-$Address1 => undef
-$Address2  => undef
-$City  => undef
-$State  => undef
-$Zip  => undef
-$Country => undef
-$Pass1 => undef
-$Pass2=> undef
-$Create=> undef
-</%ARGS>
diff --git a/rt/html/autohandler b/rt/html/autohandler
deleted file mode 100644 (file)
index c854c2b..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%INIT>
-
-# Roll back any dangling transactions from a previous failed connection
-$RT::Handle->ForceRollback() if $RT::Handle->TransactionDepth;
-
-
-local *session unless $m->is_subrequest; # avoid reentrancy, as suggested by masonbook
-
-# Disable AutoFlush using an attribute
-if ($m->request_comp->attr_exists('AutoFlush')) {
-    $m->autoflush($m->request_comp->attr('AutoFlush'));
-}
-
-%ARGS = map {
-    # if they've passed multiple values, they'll be an array. if they've 
-    # passed just one, a scalar whatever they are, mark them as utf8
-    my $type = ref($_);
-    (!$type)
-       ? Encode::is_utf8($_) ? $_ : Encode::decode(utf8 => $_, Encode::FB_PERLQQ) :
-       ($type eq 'ARRAY')
-       ? [ map { (ref($_) or Encode::is_utf8($_)) ? $_ : Encode::decode(utf8 => $_, Encode::FB_PERLQQ) } @$_ ] :
-       ($type eq 'HASH')
-       ? { map { (ref($_) or Encode::is_utf8($_)) ? $_ : Encode::decode(utf8 => $_, Encode::FB_PERLQQ) } %$_ } : $_
-    } %ARGS;
-
-$m->{'rt_base_time'} = [Time::HiRes::gettimeofday()];
-        
-$m->comp('/Elements/SetupSessionCookie', %ARGS);
-
-unless ($session{'CurrentUser'} && $session{'CurrentUser'}->Id) {
-    $session{'CurrentUser'} = RT::CurrentUser->new();
-}
-
-# Set the proper encoding for the current language handle
-$r->content_type("text/html; charset=utf-8");
-
-# If it's a noauth file, don't ask for auth.
-if ($m->base_comp->path =~ $RT::WebNoAuthRegex )
-{
-    $m->call_next(%ARGS);
-    $m->abort();
-}
-
-# If RT is configured for external auth, let's go through and get REMOTE_USER
-elsif ( $RT::WebExternalAuth ) {
-
-    # do we actually have a REMOTE_USER equivlent?
-    if ( RT::Interface::Web::WebCanonicalizeInfo() ) {
-
-       my $orig_user = $user;
-       
-       $user = RT::Interface::Web::WebCanonicalizeInfo();
-       $session{'CurrentUser'} = RT::CurrentUser->new();
-       my $load_method = $RT::WebExternalGecos ? 'LoadByGecos' : 'Load';
-       
-       if ($^O eq 'MSWin32' and $RT::WebExternalGecos) {
-           my $NodeName = Win32::NodeName();
-           $user =~ s/^\Q$NodeName\E\\//i;
-       }
-       
-       $session{'CurrentUser'}->$load_method($user);
-       
-       if ($RT::WebExternalAuto and !$session{'CurrentUser'}->Id() ) {
-           # Create users on-the-fly
-           
-           my $UserObj = RT::User->new(RT::CurrentUser->new('RT_System'));
-           
-           my ($val, $msg) = $UserObj->Create(
-                                              %{ref($RT::AutoCreate) ? $RT::AutoCreate : {}},
-                                              Name   => $user,
-                                              Gecos  => $user,
-                                              );
-           
-           if ($val) {
-               
-               # now get user specific information, to better create our user.
-               my $new_user_info = RT::Interface::Web::WebExternalAutoInfo($user);
-               
-               # set the attributes that have been defined.
-               # FIXME: this is a horrible kludge. I'm sure there's something cleaner
-               foreach my $attribute ('Name', 'Comments', 'Signature', 'EmailAddress',
-                                      'PagerEmailAddress', 'FreeformContactInfo',
-                                      'Organization', 'Disabled', 'Privileged',
-                                      'RealName', 'NickName', 'Lang', 'EmailEncoding',
-                                      'WebEncoding', 'ExternalContactInfoId',
-                                      'ContactInfoSystem', 'ExternalAuthId', 'Gecos',
-                                      'HomePhone', 'WorkPhone', 'MobilePhone',
-                                      'PagerPhone', 'Address1', 'Address2', 'City',
-                                      'State', 'Zip', 'Country') {
-               $m->comp('/Elements/Callback', %ARGS, _CallbackName => 'NewUser');
-                   
-                   my $method = "Set$attribute";
-                   $UserObj->$method($new_user_info->{$attribute}) 
-                       if( defined $new_user_info->{$attribute} );
-               }           
-               $session{'CurrentUser'}->Load($user);
-           }
-           else {
-               # we failed to successfully create the user. abort abort abort.
-               delete $session{'CurrentUser'};
-               $m->abort() unless $RT::WebFallbackToInternalAuth;
-               $m->comp('/Elements/Login', %ARGS, 
-                        Error=> loc('Cannot create user: [_1]', $msg));
-           }
-       }
-       
-       unless ( $session{'CurrentUser'}->Id() ) {
-           delete $session{'CurrentUser'};
-           $user = $orig_user;
-           
-           if ( $RT::WebExternalOnly ) {               
-               $m->comp('/Elements/Login', %ARGS, 
-                        Error=> loc('You are not an authorized user'));
-               $m->abort();
-           }
-       }
-    }
-    elsif ($RT::WebFallbackToInternalAuth) {
-       unless (defined($session{'CurrentUser'})) {
-               $m->comp('/Elements/Login', %ARGS,
-                         Error=> loc('You are not an authorized user'));
-                $m->abort();
-       }
-    } else {
-       # WebExternalAuth is set, but we don't have a REMOTE_USER. abort
-       delete $session{'CurrentUser'} if defined $session{'CurrentUser'};
-    }
-}
-
-delete $session{'CurrentUser'}
-    unless $session{'CurrentUser'} and defined $session{'CurrentUser'}->Id;
-
-
-# Process per-page authentication callbacks
-$m->comp('/Elements/Callback', %ARGS, _CallbackName => 'Auth');
-
-# If the user is logging in, let's authenticate
-if (!$session{'CurrentUser'} && defined ($user) && defined ($pass) ){
-    $session{'CurrentUser'} = RT::CurrentUser->new();
-    $session{'CurrentUser'}->Load($user);
-
-    if (!$session{'CurrentUser'}->id() ||
-        !$session{'CurrentUser'}->IsPassword($pass))
-    {
-        delete $session{'CurrentUser'};
-       $RT::Logger->error("FAILED LOGIN for $user from $ENV{'REMOTE_ADDR'}");
-        $m->comp('/Elements/Login', %ARGS,
-                 Error => loc('Your username or password is incorrect'));
-        $m->abort();
-    }
-    else {
-       $RT::Logger->info("Successful login for $user from $ENV{'REMOTE_ADDR'}");
-    }
-}
-  
-# If we've got credentials, let's serve the file up.
-if ( (defined $session{'CurrentUser'}) and 
-     ( $session{'CurrentUser'}->Id) ) {
-    
-    # Process per-page global callbacks
-    $m->comp('/Elements/Callback', %ARGS);
-
-    # If the user isn't privileged, they can only see SelfService
-    if ((! $session{'CurrentUser'}->Privileged) and
-       ($m->base_comp->path !~ '^(/+)SelfService/') ) {
-       $m->comp('/SelfService/index.html');
-       $m->abort();
-    }
-    else {
-       $m->call_next(%ARGS);
-    }
-}
-
-# If we have no credentials
-else {
-    $m->comp('/Elements/Login', %ARGS);
-    $m->abort();
-}
-</%INIT>
-<& /Elements/Footer, %ARGS &>
-<%ARGS>
-$user => undef
-$pass => undef
-$menu => undef
-</%ARGS>
diff --git a/rt/html/index.html b/rt/html/index.html
deleted file mode 100644 (file)
index 04d48ec..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-<!--
-% $m->out('--'.'>');
-% if (0) {
-%# -->
-<html><head>
-<META HTTP-EQUIV=Refresh CONTENT="3; URL=http://bestpractical.com/rt/rt-broken-install.html">
-<title>Almost there!</title></head>
-<body>
-
-<img src="http://www.bestpractical.com/images/unconfigured-rtlogo.jpg">
-<br><br>
-<h1>You're almost there!</h1>
-You haven't yet configured your webserver to run RT.
-
-You appear to have installed RT's web interface correctly, but haven't yet configured your web
-server to "run" the RT server which powers the web interface.
-
-The next step is to edit your webserver's configuration file to instruct it to use
-RT's <b>mod_perl</b>, <b>fastcgi</b> or <b>speedycgi</b> handler.
-
-If you need commercial support, please contact us at sales@bestpractical.com.
-
-
-<!--
-% }
-
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title=>loc("RT at a glance"), Refresh => $session{'home_refresh_interval'} &>
-<& /Elements/Tabs, 
-    current_toptab => '', 
-    Title=>loc("RT at a glance") &>
-<& /Elements/ListActions, actions => \@results &>    
-<TABLE BORDER=0 WIDTH=100%>
-<TR VALIGN=TOP>
-<TD WIDTH=70% class="boxcontainer">
-<& /Elements/MyTickets &>
-<BR>
-<& /Elements/MyRequests &>
-<BR>
-<& /Elements/QuickCreate &>
-</TD>
-<TD class="boxcontainer">
-<& /Elements/Quicksearch &>
-<BR>
-<form method=get action="<%$RT::WebPath%>/index.html">
-<& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session {'home_refresh_interval'} &>
-<div align=right><input type=submit value="<&|/l&>Go!</&>"></div>
-</form>
-</TD>
-</TR>
-</TABLE>
-<%init>
-
-my @results;
-
-if ($ARGS{'QuickCreate'} ) {
-    my $ticket = RT::Ticket->new($session{'CurrentUser'});
-    my ($tid, $trans, $tmsg) = $ticket->Create(Queue => $ARGS{'Queue'},
-                    Owner => $ARGS{'Owner'},
-                    Subject => $ARGS{'Subject'});
-
-
-    push (@results, $tmsg);
-}
-
-
-if ( $ARGS{'q'} ) {
-    my $query = $ARGS{'q'};
-
-   if ( $query =~ m/^\s*(\d+)\s*$/ ) {
-        $m->comp("/Ticket/Display.html" , id=> $1);
-        return();
-    }
-
-    if ($m->comp('/Elements/Callback', _CallbackName => 'SearchPreFilter', 
-                query => $query, %ARGS)) {
-       return();
-    }
-
-    $session{'tickets'} = RT::Tickets->new( $session{'CurrentUser'} );
-
-    if ( $query =~ m/\@/ ) {
-        $m->comp("/Search/Results.html", Query => "Requestor = '$query'");
-
-        return();
-    }
-
-    #
-    # Any search on queue name or subject will be for new/open tickets
-    # only.
-    #
-
-    my $status = "Status = 'new' OR Status = 'open'";
-
-    my $queue = RT::Queue->new( $session{'CurrentUser'} );
-    if ( $queue->Load($query) && $queue->Id ) {
-        $m->comp("/Search/Results.html", Query => "Queue = '" . $queue->Id . "' AND ($status)");
-        return();
-    }
-
-    $m->comp("/Search/Results.html", Query => "Subject LIKE '$query' AND ($status)");
-    return();
-
-}
-
-if ($ARGS{'HomeRefreshInterval'}) {
-       $session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'};
-}
-
-</%init>
-
-%# --></body></html>
diff --git a/rt/html/l b/rt/html/l
deleted file mode 100644 (file)
index dbd146e..0000000
--- a/rt/html/l
+++ /dev/null
@@ -1,50 +0,0 @@
-%# BEGIN BPS TAGGED BLOCK {{{
-%# 
-%# COPYRIGHT:
-%#  
-%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-%#                                          <jesse@bestpractical.com>
-%# 
-%# (Except where explicitly superseded by other copyright notices)
-%# 
-%# 
-%# LICENSE:
-%# 
-%# This work is made available to you under the terms of Version 2 of
-%# the GNU General Public License. A copy of that license should have
-%# been provided with this software, but in any event can be snarfed
-%# from www.gnu.org.
-%# 
-%# This work is distributed in the hope that it will be useful, but
-%# WITHOUT ANY WARRANTY; without even the implied warranty of
-%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-%# General Public License for more details.
-%# 
-%# You should have received a copy of the GNU General Public License
-%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-%# 
-%# 
-%# CONTRIBUTION SUBMISSION POLICY:
-%# 
-%# (The following paragraph is not intended to limit the rights granted
-%# to you to modify and distribute this software under the terms of
-%# the GNU General Public License and is only of importance to you if
-%# you choose to contribute your changes and enhancements to the
-%# community by submitting them to Best Practical Solutions, LLC.)
-%# 
-%# By intentionally submitting any modifications, corrections or
-%# derivatives to this work, or any other work intended for use with
-%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-%# you are the copyright holder for those contributions and you grant
-%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-%# royalty-free, perpetual, license to use, copy, create derivative
-%# works based on those contributions, and sublicense and distribute
-%# those contributions and any derivatives thereof.
-%# 
-%# END BPS TAGGED BLOCK }}}
-<%init>
- my $hand = ($session{'CurrentUser'} ||= RT::CurrentUser->new)->LanguageHandle;
- $m->print($hand->maketext($m->content,@_));
- return(1);
-</%init>
diff --git a/rt/install-sh b/rt/install-sh
deleted file mode 100644 (file)
index 11870f1..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-#!/bin/sh
-#
-# install - install a program, script, or datafile
-# This comes from X11R5 (mit/util/scripts/install.sh).
-#
-# Copyright 1991 by the Massachusetts Institute of Technology
-#
-# Permission to use, copy, modify, distribute, and sell this software and its
-# documentation for any purpose is hereby granted without fee, provided that
-# the above copyright notice appear in all copies and that both that
-# copyright notice and this permission notice appear in supporting
-# documentation, and that the name of M.I.T. not be used in advertising or
-# publicity pertaining to distribution of the software without specific,
-# written prior permission.  M.I.T. makes no representations about the
-# suitability of this software for any purpose.  It is provided "as is"
-# without express or implied warranty.
-#
-# Calling this script install-sh is preferred over install.sh, to prevent
-# `make' implicit rules from creating a file called install from it
-# when there is no Makefile.
-#
-# This script is compatible with the BSD install script, but was written
-# from scratch.  It can only install one file at a time, a restriction
-# shared with many OS's install programs.
-
-
-# set DOITPROG to echo to test this script
-
-# Don't use :- since 4.3BSD and earlier shells don't like it.
-doit="${DOITPROG-}"
-
-
-# put in absolute paths if you don't have them in your path; or use env. vars.
-
-mvprog="${MVPROG-mv}"
-cpprog="${CPPROG-cp}"
-chmodprog="${CHMODPROG-chmod}"
-chownprog="${CHOWNPROG-chown}"
-chgrpprog="${CHGRPPROG-chgrp}"
-stripprog="${STRIPPROG-strip}"
-rmprog="${RMPROG-rm}"
-mkdirprog="${MKDIRPROG-mkdir}"
-
-transformbasename=""
-transform_arg=""
-instcmd="$mvprog"
-chmodcmd="$chmodprog 0755"
-chowncmd=""
-chgrpcmd=""
-stripcmd=""
-rmcmd="$rmprog -f"
-mvcmd="$mvprog"
-src=""
-dst=""
-dir_arg=""
-
-while [ x"$1" != x ]; do
-    case $1 in
-       -c) instcmd="$cpprog"
-           shift
-           continue;;
-
-       -d) dir_arg=true
-           shift
-           continue;;
-
-       -m) chmodcmd="$chmodprog $2"
-           shift
-           shift
-           continue;;
-
-       -o) chowncmd="$chownprog $2"
-           shift
-           shift
-           continue;;
-
-       -g) chgrpcmd="$chgrpprog $2"
-           shift
-           shift
-           continue;;
-
-       -s) stripcmd="$stripprog"
-           shift
-           continue;;
-
-       -t=*) transformarg=`echo $1 | sed 's/-t=//'`
-           shift
-           continue;;
-
-       -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
-           shift
-           continue;;
-
-       *)  if [ x"$src" = x ]
-           then
-               src=$1
-           else
-               # this colon is to work around a 386BSD /bin/sh bug
-               :
-               dst=$1
-           fi
-           shift
-           continue;;
-    esac
-done
-
-if [ x"$src" = x ]
-then
-       echo "install:  no input file specified"
-       exit 1
-else
-       :
-fi
-
-if [ x"$dir_arg" != x ]; then
-       dst=$src
-       src=""
-       
-       if [ -d $dst ]; then
-               instcmd=:
-               chmodcmd=""
-       else
-               instcmd=$mkdirprog
-       fi
-else
-
-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
-# might cause directories to be created, which would be especially bad 
-# if $src (and thus $dsttmp) contains '*'.
-
-       if [ -f "$src" ] || [ -d "$src" ]
-       then
-               :
-       else
-               echo "install:  $src does not exist"
-               exit 1
-       fi
-       
-       if [ x"$dst" = x ]
-       then
-               echo "install:  no destination specified"
-               exit 1
-       else
-               :
-       fi
-
-# If destination is a directory, append the input filename; if your system
-# does not like double slashes in filenames, you may need to add some logic
-
-       if [ -d $dst ]
-       then
-               dst="$dst"/`basename $src`
-       else
-               :
-       fi
-fi
-
-## this sed command emulates the dirname command
-dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
-
-# Make sure that the destination directory exists.
-#  this part is taken from Noah Friedman's mkinstalldirs script
-
-# Skip lots of stat calls in the usual case.
-if [ ! -d "$dstdir" ]; then
-defaultIFS='
-       '
-IFS="${IFS-${defaultIFS}}"
-
-oIFS="${IFS}"
-# Some sh's can't handle IFS=/ for some reason.
-IFS='%'
-set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
-IFS="${oIFS}"
-
-pathcomp=''
-
-while [ $# -ne 0 ] ; do
-       pathcomp="${pathcomp}${1}"
-       shift
-
-       if [ ! -d "${pathcomp}" ] ;
-        then
-               $mkdirprog "${pathcomp}"
-       else
-               :
-       fi
-
-       pathcomp="${pathcomp}/"
-done
-fi
-
-if [ x"$dir_arg" != x ]
-then
-       $doit $instcmd $dst &&
-
-       if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
-       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
-       if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
-       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
-else
-
-# If we're going to rename the final executable, determine the name now.
-
-       if [ x"$transformarg" = x ] 
-       then
-               dstfile=`basename $dst`
-       else
-               dstfile=`basename $dst $transformbasename | 
-                       sed $transformarg`$transformbasename
-       fi
-
-# don't allow the sed command to completely eliminate the filename
-
-       if [ x"$dstfile" = x ] 
-       then
-               dstfile=`basename $dst`
-       else
-               :
-       fi
-
-# Make a temp file name in the proper directory.
-
-       dsttmp=$dstdir/#inst.$$#
-
-# Move or copy the file name to the temp name
-
-       $doit $instcmd $src $dsttmp &&
-
-       trap "rm -f ${dsttmp}" 0 &&
-
-# and set any options; do chmod last to preserve setuid bits
-
-# If any of these fail, we abort the whole thing.  If we want to
-# ignore errors from any of these, just make sure not to ignore
-# errors from the above "$doit $instcmd $src $dsttmp" command.
-
-       if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
-       if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
-       if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
-       if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
-
-# Now rename the file to the real destination.
-
-       $doit $rmcmd -f $dstdir/$dstfile &&
-       $doit $mvcmd $dsttmp $dstdir/$dstfile 
-
-fi &&
-
-
-exit 0
diff --git a/rt/lib/RT.pm b/rt/lib/RT.pm
deleted file mode 100644 (file)
index 7e941a2..0000000
+++ /dev/null
@@ -1,323 +0,0 @@
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2002 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-
-package RT;
-use strict;
-use RT::I18N;
-use RT::CurrentUser;
-use RT::System;
-
-use vars qw($VERSION $System $SystemUser $Nobody $Handle $Logger
-        $CORE_CONFIG_FILE
-        $SITE_CONFIG_FILE
-        $VENDOR_CONFIG_FILE
-        $BasePath
-        $EtcPath
-        $VarPath
-        $LocalPath
-        $LocalEtcPath
-        $LocalLexiconPath
-        $LogDir
-        $MasonComponentRoot
-        $MasonLocalComponentRoot
-        $MasonDataDir
-        $MasonSessionDir
-);
-
-$VERSION = '3.0.9';
-$CORE_CONFIG_FILE = "/opt/rt3/etc/RT_Config.pm";
-$SITE_CONFIG_FILE = "/opt/rt3/etc/RT_SiteConfig.pm";
-
-$BasePath = '/opt/rt3';
-
-$EtcPath = '/opt/rt3/etc';
-$VarPath = '/opt/rt3/var';
-$LocalPath = '/opt/rt3/local';
-$LocalEtcPath = '/opt/rt3/local/etc';
-$LocalLexiconPath = '/opt/rt3/local/po';
-
-# $MasonComponentRoot is where your rt instance keeps its mason html files
-
-$MasonComponentRoot = '/opt/rt3/share/html';
-
-# $MasonLocalComponentRoot is where your rt instance keeps its site-local
-# mason html files.
-
-$MasonLocalComponentRoot = '/opt/rt3/local/html';
-
-# $MasonDataDir Where mason keeps its datafiles
-
-$MasonDataDir = '/opt/rt3/var/mason_data';
-
-# RT needs to put session data (for preserving state between connections
-# via the web interface)
-$MasonSessionDir = '/opt/rt3/var/session_data';
-
-
-
-=head1 NAME
-
-       RT - Request Tracker
-
-=head1 SYNOPSIS
-
-       A fully featured request tracker package
-
-=head1 DESCRIPTION
-
-
-=cut
-
-=item LoadConfig
-
-Load RT's config file. First, go after the core config file. 
-After that, try to load the vendor config.
-After that, go after the site config.
-
-=cut
-
-sub LoadConfig {
-     local *Set = sub { $_[0] = $_[1] unless defined $_[0] }; 
-    if ( -f "$SITE_CONFIG_FILE" ) {
-        require $SITE_CONFIG_FILE
-          || die ("Couldn't load RT config file  '$SITE_CONFIG_FILE'\n$@");
-    }
-    require $CORE_CONFIG_FILE
-      || die ("Couldn't load RT config file '$CORE_CONFIG_FILE'\n$@");
-    RT::I18N->Init;
-}
-
-=item Init
-
-    Conenct to the database, set up logging.
-    
-=cut
-
-sub Init {
-
-    #Get a database connection
-    ConnectToDatabase();
-
-    #RT's system user is a genuine database user. its id lives here
-    $SystemUser = new RT::CurrentUser();
-    $SystemUser->LoadByName('RT_System');
-    
-    #RT's "nobody user" is a genuine database user. its ID lives here.
-    $Nobody = new RT::CurrentUser();
-    $Nobody->LoadByName('Nobody');
-  
-    $System = RT::System->new();
-
-   InitLogging(); 
-}
-
-  
-=head2 ConnectToDatabase
-
-Get a database connection
-
-=cut
-sub ConnectToDatabase {
-    require RT::Handle;
-    unless ($Handle && $Handle->dbh && $Handle->dbh->ping) {
-        $Handle = RT::Handle->new();
-    } 
-    $Handle->Connect();
-}
-    
-=head2 InitLogging
-
-Create the RT::Logger object. 
-
-=cut
-sub InitLogging {
-
-    # We have to set the record seperator ($, man perlvar)
-    # or Log::Dispatch starts getting
-    # really pissy, as some other module we use unsets it.
-
-    $, = '';
-    use Log::Dispatch 1.6;
-
-    unless ($RT::Logger) {
-
-    $RT::Logger=Log::Dispatch->new();
-    
-    if ($RT::LogToFile) {
-
-    unless (-d $RT::LogDir && -w $RT::LogDir) {
-        # localizing here would be hard when we don't have a current user yet
-        # die $self->loc("Log directory [_1] not found or couldn't be written.\n RT can't run.", $RT::LogDir);
-        die ("Log directory $RT::LogDir not found or couldn't be written.\n RT can't run.");
-    }
-
-       my $filename;
-       if ($RT::LogToFileNamed =~ m![/\\]!) {
-           # looks like an absolute path.
-           $filename = $RT::LogToFileNamed;
-       }
-       else {
-           $filename = "$RT::LogDir/$RT::LogToFileNamed";
-       }
-    require Log::Dispatch::File;
-
-
-         $RT::Logger->add(Log::Dispatch::File->new
-                      ( name=>'rtlog',
-                        min_level=> $RT::LogToFile,
-                        filename=> $filename,
-                        mode=>'append',
-                        callbacks => sub { my %p = @_;
-                                my ($package, $filename, $line) = caller(5);
-                                return "[".gmtime(time)."] [".$p{level}."]: $p{message} ($filename:$line)\n"}
-             
-             
-             
-                      ));
-    }
-    if ($RT::LogToScreen) {
-       require Log::Dispatch::Screen;
-       $RT::Logger->add(Log::Dispatch::Screen->new
-                    ( name => 'screen',
-                      min_level => $RT::LogToScreen,
-                        callbacks => sub { my %p = @_;
-                                my ($package, $filename, $line) = caller(5);
-                                return "[".gmtime(time)."] [".$p{level}."]: $p{message} ($filename:$line)\n"
-                               },
-             
-                      stderr => 1
-                    ));
-    }
-    if ($RT::LogToSyslog) {
-       require Log::Dispatch::Syslog;
-       $RT::Logger->add(Log::Dispatch::Syslog->new
-                    ( name => 'syslog',
-                       ident => 'RT',
-                      min_level => $RT::LogToSyslog,
-                        callbacks => sub { my %p = @_;
-                                my ($package, $filename, $line) = caller(5);
-
-                               # syswrite() cannot take utf8; turn it off here.
-                               Encode::_utf8_off($p{message});
-
-                               if ($p{level} eq 'debug') {
-
-                                return "$p{message}\n" }
-                               else {
-                                return "$p{message} ($filename:$line)\n"}
-                               },
-             
-                      stderr => 1
-                    ));
-    }
-
-    }
-
-# {{{ Signal handlers
-
-## This is the default handling of warnings and die'ings in the code
-## (including other used modules - maybe except for errors catched by
-## Mason).  It will log all problems through the standard logging
-## mechanism (see above).
-
-$SIG{__WARN__} = sub {$RT::Logger->warning($_[0])};
-
-#When we call die, trap it and log->crit with the value of the die.
-
-$SIG{__DIE__}  = sub {
-    unless ($^S || !defined $^S ) {
-        $RT::Handle->Rollback();
-        $RT::Logger->crit("$_[0]");
-        exit(-1);
-    }
-    else {
-        #Get out of here if we're in an eval
-        die $_[0];
-    }
-};
-
-# }}}
-
-}
-
-# }}}
-
-
-sub SystemUser {
-    return($SystemUser);
-}      
-
-sub Nobody {
-    return ($Nobody);
-}
-
-
-=head2 DropSetGIDPermissions
-
-Drops setgid permissions.
-
-=cut
-
-sub DropSetGIDPermissions {
-    # Now that we got the config read in, we have the database 
-    # password and don't need to be setgid
-    # make the effective group the real group
-    $) = $(;
-}
-
-
-=head1 SYNOPSIS
-
-=head1 BUGS
-
-Please report them to rt-3.0-bugs@fsck.com, if you know what's broken and have at least some idea of what needs to be fixed.
-If you're not sure what's going on, report them rt-devel@lists.fsck.com.
-
-=head1 SEE ALSO
-
-L<RT::StyleGuide>
-L<DBIx::SearchBuilder>
-
-
-
-=begin testing
-
-
-ok ($RT::Nobody->Name() eq 'Nobody', "Nobody is nobody");
-ok ($RT::Nobody->Name() ne 'root', "Nobody isn't named root");
-ok ($RT::SystemUser->Name() eq 'RT_System', "The system user is RT_System");
-ok ($RT::SystemUser->Name() ne 'noname', "The system user isn't noname");
-
-
-=end testing
-
-=cut
-
-eval "require RT_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT_Local.pm});
-
-1;
diff --git a/rt/lib/RT.pm.in b/rt/lib/RT.pm.in
deleted file mode 100644 (file)
index f7c882b..0000000
+++ /dev/null
@@ -1,369 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT;
-use strict;
-use RT::I18N;
-use RT::CurrentUser;
-use RT::System;
-
-use vars qw($VERSION $System $SystemUser $Nobody $Handle $Logger
-        $CORE_CONFIG_FILE
-        $SITE_CONFIG_FILE
-        $BasePath
-        $EtcPath
-        $VarPath
-        $LocalPath
-        $LocalEtcPath
-        $LocalLexiconPath
-        $LogDir
-        $BinPath
-        $MasonComponentRoot
-        $MasonLocalComponentRoot
-        $MasonDataDir
-        $MasonSessionDir
-);
-
-$VERSION = '@RT_VERSION_MAJOR@.@RT_VERSION_MINOR@.@RT_VERSION_PATCH@';
-$CORE_CONFIG_FILE = "@CONFIG_FILE_PATH@/RT_Config.pm";
-$SITE_CONFIG_FILE = "@CONFIG_FILE_PATH@/RT_SiteConfig.pm";
-
-@DATABASE_ENV_PREF@
-
-$BasePath = '@RT_PATH@';
-
-$EtcPath = '@RT_ETC_PATH@';
-$BinPath = '@RT_BIN_PATH@';
-$VarPath = '@RT_VAR_PATH@';
-$LocalPath = '@RT_LOCAL_PATH@';
-$LocalEtcPath = '@LOCAL_ETC_PATH@';
-$LocalLexiconPath = '@LOCAL_LEXICON_PATH@';
-
-# $MasonComponentRoot is where your rt instance keeps its mason html files
-
-$MasonComponentRoot = '@MASON_HTML_PATH@';
-
-# $MasonLocalComponentRoot is where your rt instance keeps its site-local
-# mason html files.
-
-$MasonLocalComponentRoot = '@MASON_LOCAL_HTML_PATH@';
-
-# $MasonDataDir Where mason keeps its datafiles
-
-$MasonDataDir = '@MASON_DATA_PATH@';
-
-# RT needs to put session data (for preserving state between connections
-# via the web interface)
-$MasonSessionDir = '@MASON_SESSION_PATH@';
-
-
-
-=head1 NAME
-
-RT - Request Tracker
-
-=head1 SYNOPSIS
-
-A fully featured request tracker package
-
-=head1 DESCRIPTION
-
-=head2 LoadConfig
-
-Load RT's config file.  First, the site configuration file
-(C<RT_SiteConfig.pm>) is loaded, in order to establish overall site
-settings like hostname and name of RT instance.  Then, the core
-configuration file (C<RT_Config.pm>) is loaded to set fallback values
-for all settings; it bases some values on settings from the site
-configuration file.
-
-In order for the core configuration to not override the site's
-settings, the function C<Set> is used; it only sets values if they
-have not been set already.
-
-=cut
-
-sub LoadConfig {
-     local *Set = sub { $_[0] = $_[1] unless defined $_[0] }; 
-    if ( -f "$SITE_CONFIG_FILE" ) {
-        require $SITE_CONFIG_FILE
-          || die ("Couldn't load RT config file  '$SITE_CONFIG_FILE'\n$@");
-    }
-    require $CORE_CONFIG_FILE
-      || die ("Couldn't load RT config file '$CORE_CONFIG_FILE'\n$@");
-    RT::I18N->Init;
-}
-
-=head2 Init
-
-Conenct to the database, set up logging.
-
-=cut
-
-sub Init {
-
-    #Get a database connection
-    ConnectToDatabase();
-
-    #RT's system user is a genuine database user. its id lives here
-    $SystemUser = new RT::CurrentUser();
-    $SystemUser->LoadByName('RT_System');
-    
-    #RT's "nobody user" is a genuine database user. its ID lives here.
-    $Nobody = new RT::CurrentUser();
-    $Nobody->LoadByName('Nobody');
-  
-    $System = RT::System->new();
-
-    InitClasses();
-    InitLogging(); 
-}
-
-  
-=head2 ConnectToDatabase
-
-Get a database connection
-
-=cut
-
-sub ConnectToDatabase {
-    require RT::Handle;
-    unless ($Handle && $Handle->dbh && $Handle->dbh->ping) {
-        $Handle = RT::Handle->new();
-    } 
-    $Handle->Connect();
-}
-    
-=head2 InitLogging
-
-Create the RT::Logger object. 
-
-=cut
-
-sub InitLogging {
-
-    # We have to set the record separator ($, man perlvar)
-    # or Log::Dispatch starts getting
-    # really pissy, as some other module we use unsets it.
-
-    $, = '';
-    use Log::Dispatch 1.6;
-
-    unless ($RT::Logger) {
-
-    $RT::Logger=Log::Dispatch->new();
-    
-    if ($RT::LogToFile) {
-       my ($filename, $logdir);
-       if ($RT::LogToFileNamed =~ m![/\\]!) {
-           # looks like an absolute path.
-           $filename = $RT::LogToFileNamed;
-           ($logdir) = $RT::LogToFileNamed =~ m!^(.*[/\\])!;
-       }
-       else {
-           $filename = "$RT::LogDir/$RT::LogToFileNamed";
-           $logdir = $RT::LogDir;
-       }
-
-    unless ( -d $logdir && ( ( -f $filename && -w $filename ) || -w $logdir ) ) {
-        # localizing here would be hard when we don't have a current user yet
-        # die $self->loc("Log directory [_1] not found or couldn't be written.\n RT can't run.", $RT::LogDir);
-        die ("Log file $filename couldn't be written or created.\n RT can't run.");
-    }
-
-    package Log::Dispatch::File;
-    require Log::Dispatch::File;
-
-
-         $RT::Logger->add(Log::Dispatch::File->new
-                      ( name=>'rtlog',
-                        min_level=> $RT::LogToFile,
-                        filename=> $filename,
-                        mode=>'append',
-                        callbacks => sub { my %p = @_;
-                                my ($package, $filename, $line) = caller(5);
-                                return "[".gmtime(time)."] [".$p{level}."]: $p{message} ($filename:$line)\n"}
-             
-             
-             
-                      ));
-    }
-    if ($RT::LogToScreen) {
-       package Log::Dispatch::Screen;
-       require Log::Dispatch::Screen;
-       $RT::Logger->add(Log::Dispatch::Screen->new
-                    ( name => 'screen',
-                      min_level => $RT::LogToScreen,
-                        callbacks => sub { my %p = @_;
-                                my ($package, $filename, $line) = caller(5);
-                                return "[".gmtime(time)."] [".$p{level}."]: $p{message} ($filename:$line)\n"
-                               },
-             
-                      stderr => 1
-                    ));
-    }
-    if ($RT::LogToSyslog) {
-       package Log::Dispatch::Syslog;
-       require Log::Dispatch::Syslog;
-       $RT::Logger->add(Log::Dispatch::Syslog->new
-                    ( name => 'syslog',
-                       ident => 'RT',
-                      min_level => $RT::LogToSyslog,
-                        callbacks => sub { my %p = @_;
-                                my ($package, $filename, $line) = caller(5);
-
-                               # syswrite() cannot take utf8; turn it off here.
-                               Encode::_utf8_off($p{message});
-
-                               if ($p{level} eq 'debug') {
-
-                                return "$p{message}\n" }
-                               else {
-                                return "$p{message} ($filename:$line)\n"}
-                               },
-             
-                      stderr => 1,
-               @RT::LogToSyslogConf
-                    ));
-    }
-
-    }
-
-# {{{ Signal handlers
-
-## This is the default handling of warnings and die'ings in the code
-## (including other used modules - maybe except for errors catched by
-## Mason).  It will log all problems through the standard logging
-## mechanism (see above).
-
-$SIG{__WARN__} = sub {
-    my $w = shift;
-    $w =~ s/(?:\r*\n)+$//;
-    # The 'wide character' warnings has to be silenced for now, at least
-    # until HTML::Mason offers a sane way to process both raw output and
-    # unicode strings.
-    $RT::Logger->warning($w) if index($w, 'Wide character in ') != 0;
-};
-
-#When we call die, trap it and log->crit with the value of the die.
-
-$SIG{__DIE__}  = sub {
-    unless ($^S || !defined $^S ) {
-        $RT::Handle->Rollback();
-        $RT::Logger->crit("$_[0]");
-        exit(-1);
-    }
-    else {
-        #Get out of here if we're in an eval
-        die $_[0];
-    }
-};
-
-# }}}
-
-}
-
-=head2 InitClasses
-
-Load all modules that define base classes
-
-=cut
-
-sub InitClasses {
-    require RT::Tickets;
-    require RT::Transactions;
-    require RT::Users;
-    require RT::CurrentUser;
-    require RT::Templates;
-    require RT::Queues;
-    require RT::ScripActions;
-    require RT::ScripConditions;
-    require RT::Scrips;
-    require RT::Groups;
-    require RT::GroupMembers;
-    require RT::CustomFields;
-    require RT::CustomFieldValues;
-    require RT::ObjectCustomFields;
-    require RT::ObjectCustomFieldValues;
-}
-
-# }}}
-
-
-sub SystemUser {
-    return($SystemUser);
-}      
-
-sub Nobody {
-    return ($Nobody);
-}
-
-=head1 BUGS
-
-Please report them to rt-bugs@fsck.com, if you know what's broken and have at least 
-some idea of what needs to be fixed.
-
-If you're not sure what's going on, report them rt-devel@lists.bestpractical.com.
-
-=head1 SEE ALSO
-
-L<RT::StyleGuide>
-L<DBIx::SearchBuilder>
-
-=begin testing
-
-ok ($RT::Nobody->Name() eq 'Nobody', "Nobody is nobody");
-ok ($RT::Nobody->Name() ne 'root', "Nobody isn't named root");
-ok ($RT::SystemUser->Name() eq 'RT_System', "The system user is RT_System");
-ok ($RT::SystemUser->Name() ne 'noname', "The system user isn't noname");
-
-=end testing
-
-=cut
-
-eval "require RT_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT_Local.pm});
-
-1;
diff --git a/rt/lib/RT/ACE.pm b/rt/lib/RT/ACE.pm
deleted file mode 100755 (executable)
index 9073b02..0000000
+++ /dev/null
@@ -1,326 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::ACE
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::ACE;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('ACL');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(25) 'PrincipalType'.
-  int(11) 'PrincipalId'.
-  varchar(25) 'RightName'.
-  varchar(25) 'ObjectType'.
-  int(11) 'ObjectId'.
-  int(11) 'DelegatedBy'.
-  int(11) 'DelegatedFrom'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                PrincipalType => '',
-                PrincipalId => '0',
-                RightName => '',
-                ObjectType => '',
-                ObjectId => '0',
-                DelegatedBy => '0',
-                DelegatedFrom => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         PrincipalType => $args{'PrincipalType'},
-                         PrincipalId => $args{'PrincipalId'},
-                         RightName => $args{'RightName'},
-                         ObjectType => $args{'ObjectType'},
-                         ObjectId => $args{'ObjectId'},
-                         DelegatedBy => $args{'DelegatedBy'},
-                         DelegatedFrom => $args{'DelegatedFrom'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 PrincipalType
-
-Returns the current value of PrincipalType. 
-(In the database, PrincipalType is stored as varchar(25).)
-
-
-
-=head2 SetPrincipalType VALUE
-
-
-Set PrincipalType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, PrincipalType will be stored as a varchar(25).)
-
-
-=cut
-
-
-=head2 PrincipalId
-
-Returns the current value of PrincipalId. 
-(In the database, PrincipalId is stored as int(11).)
-
-
-
-=head2 SetPrincipalId VALUE
-
-
-Set PrincipalId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, PrincipalId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 RightName
-
-Returns the current value of RightName. 
-(In the database, RightName is stored as varchar(25).)
-
-
-
-=head2 SetRightName VALUE
-
-
-Set RightName to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, RightName will be stored as a varchar(25).)
-
-
-=cut
-
-
-=head2 ObjectType
-
-Returns the current value of ObjectType. 
-(In the database, ObjectType is stored as varchar(25).)
-
-
-
-=head2 SetObjectType VALUE
-
-
-Set ObjectType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectType will be stored as a varchar(25).)
-
-
-=cut
-
-
-=head2 ObjectId
-
-Returns the current value of ObjectId. 
-(In the database, ObjectId is stored as int(11).)
-
-
-
-=head2 SetObjectId VALUE
-
-
-Set ObjectId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 DelegatedBy
-
-Returns the current value of DelegatedBy. 
-(In the database, DelegatedBy is stored as int(11).)
-
-
-
-=head2 SetDelegatedBy VALUE
-
-
-Set DelegatedBy to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, DelegatedBy will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 DelegatedFrom
-
-Returns the current value of DelegatedFrom. 
-(In the database, DelegatedFrom is stored as int(11).)
-
-
-
-=head2 SetDelegatedFrom VALUE
-
-
-Set DelegatedFrom to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, DelegatedFrom will be stored as a int(11).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        PrincipalType => 
-               {read => 1, write => 1, sql_type => 12, length => 25,  is_blob => 0,  is_numeric => 0,  type => 'varchar(25)', default => ''},
-        PrincipalId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        RightName => 
-               {read => 1, write => 1, sql_type => 12, length => 25,  is_blob => 0,  is_numeric => 0,  type => 'varchar(25)', default => ''},
-        ObjectType => 
-               {read => 1, write => 1, sql_type => 12, length => 25,  is_blob => 0,  is_numeric => 0,  type => 'varchar(25)', default => ''},
-        ObjectId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        DelegatedBy => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        DelegatedFrom => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::ACE_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ACE_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ACE_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ACE_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ACE_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ACE_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ACE_Overlay, RT::ACE_Vendor, RT::ACE_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ACE_Overlay.pm b/rt/lib/RT/ACE_Overlay.pm
deleted file mode 100644 (file)
index 75e39d0..0000000
+++ /dev/null
@@ -1,958 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 SYNOPSIS
-
-  use RT::ACE;
-  my $ace = new RT::ACE($CurrentUser);
-
-
-=head1 DESCRIPTION
-
-
-
-=head1 METHODS
-
-=begin testing
-
-ok(require RT::ACE);
-
-=end testing
-
-=cut
-
-
-package RT::ACE;
-
-use strict;
-no warnings qw(redefine);
-use RT::Principals;
-use RT::Queues;
-use RT::Groups;
-
-use vars qw (
-  %LOWERCASERIGHTNAMES
-  %OBJECT_TYPES
-  %TICKET_METAPRINCIPALS
-);
-
-
-# {{{ Descriptions of rights
-
-=head1 Rights
-
-# Queue rights are the sort of queue rights that can only be granted
-# to real people or groups
-
-
-=begin testing
-
-my $Queue = RT::Queue->new($RT::SystemUser);
-
-is ($Queue->AvailableRights->{'DeleteTicket'} , 'Delete tickets', "Found the delete ticket right");
-is ($RT::System->AvailableRights->{'SuperUser'},  'Do anything and everything', "Found the superuser right");
-
-
-=end testing
-
-=cut
-
-
-
-
-# }}}
-
-# {{{ Descriptions of principals
-
-%TICKET_METAPRINCIPALS = (
-    Owner     => 'The owner of a ticket',                             # loc_pair
-    Requestor => 'The requestor of a ticket',                         # loc_pair
-    Cc        => 'The CC of a ticket',                                # loc_pair
-    AdminCc   => 'The administrative CC of a ticket',                 # loc_pair
-);
-
-# }}}
-
-
-# {{{ sub LoadByValues
-
-=head2 LoadByValues PARAMHASH
-
-Load an ACE by specifying a paramhash with the following fields:
-
-              PrincipalId => undef,
-              PrincipalType => undef,
-             RightName => undef,
-
-        And either:
-
-             Object => undef,
-
-            OR
-
-             ObjectType => undef,
-             ObjectId => undef
-
-=cut
-
-sub LoadByValues {
-    my $self = shift;
-    my %args = ( PrincipalId   => undef,
-                 PrincipalType => undef,
-                 RightName     => undef,
-                 Object    => undef,
-                 ObjectId    => undef,
-                 ObjectType    => undef,
-                 @_ );
-
-    my $princ_obj;
-    ( $princ_obj, $args{'PrincipalType'} ) =
-      $self->_CanonicalizePrincipal( $args{'PrincipalId'},
-                                     $args{'PrincipalType'} );
-
-    unless ( $princ_obj->id ) {
-        return ( 0,
-                 $self->loc( 'Principal [_1] not found.', $args{'PrincipalId'} )
-        );
-    }
-
-    my ($object, $object_type, $object_id) = $self->_ParseObjectArg( %args );
-    unless( $object ) {
-       return ( 0, $self->loc("System error. Right not granted.") );
-    }
-
-    $self->LoadByCols( PrincipalId   => $princ_obj->Id,
-                       PrincipalType => $args{'PrincipalType'},
-                       RightName     => $args{'RightName'},
-                       ObjectType    => $object_type,
-                       ObjectId      => $object_id);
-
-    #If we couldn't load it.
-    unless ( $self->Id ) {
-        return ( 0, $self->loc("ACE not found") );
-    }
-
-    # if we could
-    return ( $self->Id, $self->loc("Right Loaded") );
-
-}
-
-# }}}
-
-# {{{ sub Create
-
-=head2 Create <PARAMS>
-
-PARAMS is a parameter hash with the following elements:
-
-   PrincipalId => The id of an RT::Principal object
-   PrincipalType => "User" "Group" or any Role type
-   RightName => the name of a right. in any case
-   DelegatedBy => The Principal->Id of the user delegating the right
-   DelegatedFrom => The id of the ACE which this new ACE is delegated from
-
-
-    Either:
-
-   Object => An object to create rights for. ususally, an RT::Queue or RT::Group
-             This should always be a DBIx::SearchBuilder::Record subclass
-
-        OR
-
-   ObjectType => the type of the object in question (ref ($object))
-   ObjectId => the id of the object in question $object->Id
-
-
-
-   Returns a tuple of (STATUS, MESSAGE);  If the call succeeded, STATUS is true. Otherwise it's false.
-
-
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = ( PrincipalId   => undef,
-                 PrincipalType => undef,
-                 RightName     => undef,
-                 Object        => undef,
-                 @_ );
-    #if we haven't specified any sort of right, we're talking about a global right
-    if (!defined $args{'Object'} && !defined $args{'ObjectId'} && !defined $args{'ObjectType'}) {
-        $args{'Object'} = $RT::System;
-    }
-    ($args{'Object'}, $args{'ObjectType'}, $args{'ObjectId'}) = $self->_ParseObjectArg( %args );
-    unless( $args{'Object'} ) {
-       return ( 0, $self->loc("System error. Right not granted.") );
-    }
-
-    # {{{ Validate the principal
-    my $princ_obj;
-    ( $princ_obj, $args{'PrincipalType'} ) =
-      $self->_CanonicalizePrincipal( $args{'PrincipalId'},
-                                     $args{'PrincipalType'} );
-
-    unless ( $princ_obj->id ) {
-        return ( 0,
-                 $self->loc( 'Principal [_1] not found.', $args{'PrincipalId'} )
-        );
-    }
-
-    # }}}
-
-    # {{{ Check the ACL
-
-    if (ref( $args{'Object'}) eq 'RT::Group' ) {
-        unless ( $self->CurrentUser->HasRight( Object => $args{'Object'},
-                                                  Right => 'AdminGroup' )
-          ) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-    }
-
-    else {
-        unless ( $self->CurrentUser->HasRight( Object => $args{'Object'}, Right => 'ModifyACL' )) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-    }
-    # }}}
-
-    # {{{ Canonicalize and check the right name
-    unless ( $args{'RightName'} ) {
-        return ( 0, $self->loc('Invalid right') );
-    }
-
-    $args{'RightName'} = $self->CanonicalizeRightName( $args{'RightName'} );
-
-    #check if it's a valid RightName
-    if ( ref ($args{'Object'} eq 'RT::Queue'  )) {
-        unless ( exists $args{'Object'}->AvailableRights->{ $args{'RightName'} } ) {
-            $RT::Logger->warning("Couldn't validate right name". $args{'RightName'});
-            return ( 0, $self->loc('Invalid right') );
-        }
-    }
-    elsif ( ref ($args{'Object'} eq 'RT::Group'  )) {
-        unless ( exists $args{'Object'}->AvailableRights->{ $args{'RightName'} } ) {
-            $RT::Logger->warning("Couldn't validate group right name". $args{'RightName'});
-            return ( 0, $self->loc('Invalid right') );
-        }
-    }
-    elsif ( ref ($args{'Object'} eq 'RT::System'  )) {
-        my $q = RT::Queue->new($self->CurrentUser);
-        my $g = RT::Group->new($self->CurrentUser);
-
-        unless (( exists $g->AvailableRights->{ $args{'RightName'} } )
-        || ( exists $g->AvailableRights->{ $args{'RightName'} } )
-        || ( exists $RT::System->AvailableRights->{ $args{'RightName'} } ) ) {
-            $RT::Logger->warning("Couldn't validate system right name - ". $args{'RightName'});
-            return ( 0, $self->loc('Invalid right') );
-        }
-    }
-
-    # }}}
-
-    # Make sure the right doesn't already exist.
-    $self->LoadByCols( PrincipalId   => $princ_obj->id,
-                       PrincipalType => $args{'PrincipalType'},
-                       RightName     => $args{'RightName'},
-                       ObjectType    => $args{'ObjectType'},
-                       ObjectId      => $args{'ObjectId'},
-                       DelegatedBy   => 0,
-                       DelegatedFrom => 0 );
-    if ( $self->Id ) {
-        return ( 0, $self->loc('That principal already has that right') );
-    }
-
-    my $id = $self->SUPER::Create( PrincipalId   => $princ_obj->id,
-                                   PrincipalType => $args{'PrincipalType'},
-                                   RightName     => $args{'RightName'},
-                                   ObjectType    => ref( $args{'Object'} ),
-                                   ObjectId      => $args{'Object'}->id,
-                                   DelegatedBy   => 0,
-                                   DelegatedFrom => 0 );
-
-    #Clear the key cache. TODO someday we may want to just clear a little bit of the keycache space. 
-    RT::Principal->InvalidateACLCache();
-
-    if ( $id > 0 ) {
-        return ( $id, $self->loc('Right Granted') );
-    }
-    else {
-        return ( 0, $self->loc('System error. Right not granted.') );
-    }
-}
-
-# }}}
-
-# {{{ sub Delegate
-
-=head2 Delegate <PARAMS>
-
-This routine delegates the current ACE to a principal specified by the
-B<PrincipalId>  parameter.
-
-Returns an error if the current user doesn't have the right to be delegated
-or doesn't have the right to delegate rights.
-
-Always returns a tuple of (ReturnValue, Message)
-
-=begin testing
-
-use_ok(RT::User);
-my $user_a = RT::User->new($RT::SystemUser);
-$user_a->Create( Name => 'DelegationA', Privileged => 1);
-ok ($user_a->Id, "Created delegation user a");
-
-my $user_b = RT::User->new($RT::SystemUser);
-$user_b->Create( Name => 'DelegationB', Privileged => 1);
-ok ($user_b->Id, "Created delegation user b");
-
-
-use_ok(RT::Queue);
-my $q = RT::Queue->new($RT::SystemUser);
-$q->Create(Name =>'DelegationTest');
-ok ($q->Id, "Created a delegation test queue");
-
-
-#------ First, we test whether a user can delegate a right that's been granted to him personally 
-my ($val, $msg) = $user_a->PrincipalObj->GrantRight(Object => $RT::System, Right => 'AdminOwnPersonalGroups');
-ok($val, $msg);
-
-($val, $msg) = $user_a->PrincipalObj->GrantRight(Object =>$q, Right => 'OwnTicket');
-ok($val, $msg);
-
-ok($user_a->HasRight( Object => $RT::System, Right => 'AdminOwnPersonalGroups')    ,"user a has the right 'AdminOwnPersonalGroups' directly");
-
-my $a_delegates = RT::Group->new($user_a);
-$a_delegates->CreatePersonalGroup(Name => 'Delegates');
-ok( $a_delegates->Id   ,"user a creates a personal group 'Delegates'");
-ok( $a_delegates->AddMember($user_b->PrincipalId)   ,"user a adds user b to personal group 'delegates'");
-
-ok( !$user_b->HasRight(Right => 'OwnTicket', Object => $q)    ,"user b does not have the right to OwnTicket' in queue 'DelegationTest'");
-ok(  $user_a->HasRight(Right => 'OwnTicket', Object => $q)  ,"user a has the right to 'OwnTicket' in queue 'DelegationTest'");
-ok(!$user_a->HasRight( Object => $RT::System, Right => 'DelegateRights')    ,"user a does not have the right 'delegate rights'");
-
-
-my $own_ticket_ace = RT::ACE->new($user_a);
-my $user_a_equiv_group = RT::Group->new($user_a);
-$user_a_equiv_group->LoadACLEquivalenceGroup($user_a->PrincipalObj);
-ok ($user_a_equiv_group->Id, "Loaded the user A acl equivalence group");
-my $user_b_equiv_group = RT::Group->new($user_b);
-$user_b_equiv_group->LoadACLEquivalenceGroup($user_b->PrincipalObj);
-ok ($user_b_equiv_group->Id, "Loaded the user B acl equivalence group");
-$own_ticket_ace->LoadByValues( PrincipalType => 'Group', PrincipalId => $user_a_equiv_group->PrincipalId, Object=>$q, RightName => 'OwnTicket');
-
-ok ($own_ticket_ace->Id, "Found the ACE we want to test with for now");
-
-
-($val, $msg) = $own_ticket_ace->Delegate(PrincipalId => $a_delegates->PrincipalId)  ;
-ok( !$val ,"user a tries and fails to delegate the right 'ownticket' in queue 'DelegationTest' to personal group 'delegates' - $msg");
-
-
-($val, $msg) = $user_a->PrincipalObj->GrantRight( Right => 'DelegateRights');
-ok($val, "user a is granted the right to 'delegate rights' - $msg");
-
-ok($user_a->HasRight( Object => $RT::System, Right => 'DelegateRights')    ,"user a has the right 'AdminOwnPersonalGroups' directly");
-
-($val, $msg) = $own_ticket_ace->Delegate(PrincipalId => $a_delegates->PrincipalId) ;
-
-ok( $val    ,"user a tries and succeeds to delegate the right 'ownticket' in queue 'DelegationTest' to personal group 'delegates' - $msg");
-ok(  $user_b->HasRight(Right => 'OwnTicket', Object => $q)  ,"user b has the right to own tickets in queue 'DelegationTest'");
-my $delegated_ace = RT::ACE->new($user_a);
-$delegated_ace->LoadByValues ( Object => $q, RightName => 'OwnTicket', PrincipalType => 'Group',
-PrincipalId => $a_delegates->PrincipalId, DelegatedBy => $user_a->PrincipalId, DelegatedFrom => $own_ticket_ace->Id);
-ok ($delegated_ace->Id, "Found the delegated ACE");
-
-ok(    $a_delegates->DeleteMember($user_b->PrincipalId)  ,"user a removes b from pg 'delegates'");
-ok(  !$user_b->HasRight(Right => 'OwnTicket', Object => $q)  ,"user b does not have the right to own tickets in queue 'DelegationTest'");
-ok(  $a_delegates->AddMember($user_b->PrincipalId)    ,"user a adds user b to personal group 'delegates'");
-ok(   $user_b->HasRight(Right => 'OwnTicket', Object=> $q) ,"user b has the right to own tickets in queue 'DelegationTest'");
-ok(   $delegated_ace->Delete ,"user a revokes pg 'delegates' right to 'OwnTickets' in queue 'DelegationTest'");
-ok( ! $user_b->HasRight(Right => 'OwnTicket', Object => $q)   ,"user b does not have the right to own tickets in queue 'DelegationTest'");
-
-($val, $msg) = $own_ticket_ace->Delegate(PrincipalId => $a_delegates->PrincipalId)  ;
-ok(  $val  ,"user a delegates pg 'delegates' right to 'OwnTickets' in queue 'DelegationTest' - $msg");
-
-ok( $user_a->HasRight(Right => 'OwnTicket', Object => $q)    ,"user a does not have the right to own tickets in queue 'DelegationTest'");
-
-($val, $msg) = $user_a->PrincipalObj->RevokeRight(Object=>$q, Right => 'OwnTicket');
-ok($val, "Revoked user a's right to own tickets in queue 'DelegationTest". $msg);
-
-ok( !$user_a->HasRight(Right => 'OwnTicket', Object => $q)    ,"user a does not have the right to own tickets in queue 'DelegationTest'");
-
- ok( !$user_b->HasRight(Right => 'OwnTicket', Object => $q)   ,"user b does not have the right to own tickets in queue 'DelegationTest'");
-
-($val, $msg) = $user_a->PrincipalObj->GrantRight(Object=>$q, Right => 'OwnTicket');
-ok($val, $msg);
-
- ok( $user_a->HasRight(Right => 'OwnTicket', Object => $q)   ,"user a has the right to own tickets in queue 'DelegationTest'");
-
- ok(  !$user_b->HasRight(Right => 'OwnTicket', Object => $q)  ,"user b does not have the right to own tickets in queue 'DelegationTest'");
-
-# {{{ get back to a known clean state 
-($val, $msg) = $user_a->PrincipalObj->RevokeRight( Object => $q, Right => 'OwnTicket');
-ok($val, "Revoked user a's right to own tickets in queue 'DelegationTest -". $msg);
-ok( !$user_a->HasRight(Right => 'OwnTicket', Object => $q)    ,"make sure that user a can't own tickets in queue 'DelegationTest'");
-# }}}
-
-
-# {{{ Set up some groups and membership
-my $del1 = RT::Group->new($RT::SystemUser);
-($val, $msg) = $del1->CreateUserDefinedGroup(Name => 'Del1');
-ok( $val   ,"create a group del1 - $msg");
-
-my $del2 = RT::Group->new($RT::SystemUser);
-($val, $msg) = $del2->CreateUserDefinedGroup(Name => 'Del2');
-ok( $val   ,"create a group del2 - $msg");
-($val, $msg) = $del1->AddMember($del2->PrincipalId);
-ok( $val,"make del2 a member of del1 - $msg");
-
-my $del2a = RT::Group->new($RT::SystemUser);
-($val, $msg) = $del2a->CreateUserDefinedGroup(Name => 'Del2a');
-ok( $val   ,"create a group del2a - $msg");
-($val, $msg) = $del2->AddMember($del2a->PrincipalId);  
-ok($val    ,"make del2a a member of del2 - $msg");
-
-my $del2b = RT::Group->new($RT::SystemUser);
-($val, $msg) = $del2b->CreateUserDefinedGroup(Name => 'Del2b');
-ok( $val   ,"create a group del2b - $msg");
-($val, $msg) = $del2->AddMember($del2b->PrincipalId);  
-ok($val    ,"make del2b a member of del2 - $msg");
-
-($val, $msg) = $del2->AddMember($user_a->PrincipalId) ;
-ok($val,"make 'user a' a member of del2 - $msg");
-
-($val, $msg) = $del2b->AddMember($user_a->PrincipalId) ;
-ok($val,"make 'user a' a member of del2b - $msg");
-
-# }}}
-
-# {{{ Grant a right to a group and make sure that a submember can delegate the right and that it does not get yanked
-# when a user is removed as a submember, when they're a sumember through another path 
-($val, $msg) = $del1->PrincipalObj->GrantRight( Object=> $q, Right => 'OwnTicket');
-ok( $val   ,"grant del1  the right to 'OwnTicket' in queue 'DelegationTest' - $msg");
-
-ok(  $user_a->HasRight(Right => 'OwnTicket', Object => $q)  ,"make sure that user a can own tickets in queue 'DelegationTest'");
-
-my $group_ace= RT::ACE->new($user_a);
-$group_ace->LoadByValues( PrincipalType => 'Group', PrincipalId => $del1->PrincipalId, Object => $q, RightName => 'OwnTicket');
-
-ok ($group_ace->Id, "Found the ACE we want to test with for now");
-
-($val, $msg) = $group_ace->Delegate(PrincipalId => $a_delegates->PrincipalId);
-
-ok( $val   ,"user a tries and succeeds to delegate the right 'ownticket' in queue 'DelegationTest' to personal group 'delegates' - $msg");
-ok(  $user_b->HasRight(Right => 'OwnTicket', Object => $q)  ,"user b has the right to own tickets in queue 'DelegationTest'");
-
-
-($val, $msg) = $del2b->DeleteMember($user_a->PrincipalId);
-ok( $val   ,"remove user a from group del2b - $msg");
-ok(  $user_a->HasRight(Right => 'OwnTicket', Object => $q)  ,"user a has the right to own tickets in queue 'DelegationTest'");
-ok( $user_b->HasRight(Right => 'OwnTicket', Object => $q)    ,"user b has the right to own tickets in queue 'DelegationTest'");
-
-# }}}
-
-# {{{ When a  user is removed froom a group by the only path they're in there by, make sure the delegations go away
-($val, $msg) = $del2->DeleteMember($user_a->PrincipalId);
-ok( $val   ,"remove user a from group del2 - $msg");
-ok(  !$user_a->HasRight(Right => 'OwnTicket', Object => $q)  ,"user a does not have the right to own tickets in queue 'DelegationTest' ");
-ok(  !$user_b->HasRight(Right => 'OwnTicket', Object => $q)  ,"user b does not have the right to own tickets in queue 'DelegationTest' ");
-# }}}
-
-($val, $msg) = $del2->AddMember($user_a->PrincipalId);
-ok( $val   ,"make user a a member of group del2 - $msg");
-
-($val, $msg) = $del2->PrincipalObj->GrantRight(Object=>$q, Right => 'OwnTicket');
-ok($val, "grant the right 'own tickets' in queue 'DelegationTest' to group del2 - $msg");
-
-my $del2_right = RT::ACE->new($user_a);
-$del2_right->LoadByValues( PrincipalId => $del2->PrincipalId, PrincipalType => 'Group', Object => $q, RightName => 'OwnTicket');
-ok ($del2_right->Id, "Found the right");
-
-($val, $msg) = $del2_right->Delegate(PrincipalId => $a_delegates->PrincipalId);
-ok( $val   ,"user a tries and succeeds to delegate the right 'ownticket' in queue 'DelegationTest' gotten via del2 to personal group 'delegates' - $msg");
-
-# They have it via del1 and del2
-ok( $user_a->HasRight(Right => 'OwnTicket', Object => $q)   ,"user b has the right to own tickets in queue 'DelegationTest'");
-
-
-($val, $msg) = $del2->PrincipalObj->RevokeRight(Object=>$q, Right => 'OwnTicket');
-ok($val, "revoke the right 'own tickets' in queue 'DelegationTest' to group del2 - $msg");
-ok(  $user_a->HasRight(Right => 'OwnTicket', Object => $q)  ,"user a does has the right to own tickets in queue 'DelegationTest' via del1");
-ok(  !$user_b->HasRight(Right => 'OwnTicket', Object => $q)   ,"user b does not have the right to own tickets in queue 'DelegationTest'");
-
-($val, $msg) = $del2->PrincipalObj->GrantRight(Object=>$q, Right => 'OwnTicket');
-ok($val, "grant the right 'own tickets' in queue 'DelegationTest' to group del2 - $msg");
-
-
-$group_ace= RT::ACE->new($user_a);
-$group_ace->LoadByValues( PrincipalType => 'Group', PrincipalId => $del1->PrincipalId, Object=>$q, RightName => 'OwnTicket');
-
-ok ($group_ace->Id, "Found the ACE we want to test with for now");
-
-($val, $msg) = $group_ace->Delegate(PrincipalId => $a_delegates->PrincipalId);
-
-ok( $val   ,"user a tries and succeeds to delegate the right 'ownticket' in queue 'DelegationTest' to personal group 'delegates' - $msg");
-
-ok( $user_b->HasRight(Right => 'OwnTicket', Object => $q)    ,"user b has the right to own tickets in queue 'DelegationTest'");
-
-($val, $msg) = $del2->DeleteMember($user_a->PrincipalId);
-ok( $val   ,"remove user a from group del2 - $msg");
-
-ok(  !$user_a->HasRight(Right => 'OwnTicket', Object => $q)  ,"user a does not have the right to own tickets in queue 'DelegationTest'");
-
-ok(  !$user_b->HasRight(Right => 'OwnTicket', Object => $q)   ,"user b does not have the right to own tickets in queue 'DelegationTest'");
-
-
-
-=end testing
-
-=cut
-
-sub Delegate {
-    my $self = shift;
-    my %args = ( PrincipalId => undef,
-                 @_ );
-
-    unless ( $self->Id ) {
-        return ( 0, $self->loc("Right not loaded.") );
-    }
-    my $princ_obj;
-    ( $princ_obj, $args{'PrincipalType'} ) =
-      $self->_CanonicalizePrincipal( $args{'PrincipalId'},
-                                     $args{'PrincipalType'} );
-
-    unless ( $princ_obj->id ) {
-        return ( 0,
-                 $self->loc( 'Principal [_1] not found.', $args{'PrincipalId'} )
-        );
-    }
-
-    # }}}
-
-    # {{{ Check the ACL
-
-    # First, we check to se if the user is delegating rights and
-    # they have the permission to
-    unless ( $self->CurrentUser->HasRight(Right => 'DelegateRights', Object => $self->Object) ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    unless ( $self->PrincipalObj->IsGroup ) {
-        return ( 0, $self->loc("System Error") );
-    }
-    unless ( $self->PrincipalObj->Object->HasMemberRecursively(
-                                                $self->CurrentUser->PrincipalObj
-             )
-      ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    # }}}
-
-    my $concurrency_check = RT::ACE->new($RT::SystemUser);
-    $concurrency_check->Load( $self->Id );
-    unless ( $concurrency_check->Id ) {
-        $RT::Logger->crit(
-                   "Trying to delegate a right which had already been deleted");
-        return ( 0, $self->loc('Permission Denied') );
-    }
-
-    my $delegated_ace = RT::ACE->new( $self->CurrentUser );
-
-    # Make sure the right doesn't already exist.
-    $delegated_ace->LoadByCols( PrincipalId   => $princ_obj->Id,
-                                PrincipalType => 'Group',
-                                RightName     => $self->__Value('RightName'),
-                                ObjectType    => $self->__Value('ObjectType'),
-                                ObjectId      => $self->__Value('ObjectId'),
-                                DelegatedBy => $self->CurrentUser->PrincipalId,
-                                DelegatedFrom => $self->id );
-    if ( $delegated_ace->Id ) {
-        return ( 0, $self->loc('That principal already has that right') );
-    }
-    my $id = $delegated_ace->SUPER::Create(
-        PrincipalId   => $princ_obj->Id,
-        PrincipalType => 'Group',          # do we want to hardcode this?
-        RightName     => $self->__Value('RightName'),
-        ObjectType    => $self->__Value('ObjectType'),
-        ObjectId      => $self->__Value('ObjectId'),
-        DelegatedBy   => $self->CurrentUser->PrincipalId,
-        DelegatedFrom => $self->id );
-
-    #Clear the key cache. TODO someday we may want to just clear a little bit of the keycache space. 
-    # TODO what about the groups key cache?
-    RT::Principal->InvalidateACLCache();
-
-    if ( $id > 0 ) {
-        return ( $id, $self->loc('Right Delegated') );
-    }
-    else {
-        return ( 0, $self->loc('System error. Right not delegated.') );
-    }
-}
-
-# }}}
-
-# {{{ sub Delete 
-
-=head2 Delete { InsideTransaction => undef}
-
-Delete this object. This method should ONLY ever be called from RT::User or RT::Group (or from itself)
-If this is being called from within a transaction, specify a true value for the parameter InsideTransaction.
-Really, DBIx::SearchBuilder should use and/or fake subtransactions
-
-This routine will also recurse and delete any delegations of this right
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-    unless ( $self->Id ) {
-        return ( 0, $self->loc('Right not loaded.') );
-    }
-
-    # A user can delete an ACE if the current user has the right to modify it and it's not a delegated ACE
-    # or if it's a delegated ACE and it was delegated by the current user
-    unless (
-         (    $self->CurrentUser->HasRight(Right => 'ModifyACL', Object => $self->Object)
-           && $self->__Value('DelegatedBy') == 0 )
-         || ( $self->__Value('DelegatedBy') == $self->CurrentUser->PrincipalId )
-      ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-    $self->_Delete(@_);
-}
-
-# Helper for Delete with no ACL check
-sub _Delete {
-    my $self = shift;
-    my %args = ( InsideTransaction => undef,
-                 @_ );
-
-    my $InsideTransaction = $args{'InsideTransaction'};
-
-    $RT::Handle->BeginTransaction() unless $InsideTransaction;
-
-    my $delegated_from_this = RT::ACL->new($RT::SystemUser);
-    $delegated_from_this->Limit( FIELD    => 'DelegatedFrom',
-                                 OPERATOR => '=',
-                                 VALUE    => $self->Id );
-
-    my $delete_succeeded = 1;
-    my $submsg;
-    while ( my $delegated_ace = $delegated_from_this->Next ) {
-        ( $delete_succeeded, $submsg ) =
-          $delegated_ace->_Delete( InsideTransaction => 1 );
-        last unless ($delete_succeeded);
-    }
-
-    unless ($delete_succeeded) {
-        $RT::Handle->Rollback() unless $InsideTransaction;
-        return ( 0, $self->loc('Right could not be revoked') );
-    }
-
-    my ( $val, $msg ) = $self->SUPER::Delete(@_);
-
-    # If we're revoking delegation rights (see above), we may need to
-    # revoke all rights delegated by the recipient.
-    if ($val and ($self->RightName() eq 'DelegateRights' or
-                 $self->RightName() eq 'SuperUser')) {
-       $val = $self->PrincipalObj->_CleanupInvalidDelegations( InsideTransaction => 1 );
-    }
-
-    if ($val) {
-       #Clear the key cache. TODO someday we may want to just clear a little bit of the keycache space. 
-       # TODO what about the groups key cache?
-       RT::Principal->InvalidateACLCache();
-        $RT::Handle->Commit() unless $InsideTransaction;
-        return ( $val, $self->loc('Right revoked') );
-    }
-
-    $RT::Handle->Rollback() unless $InsideTransaction;
-    return ( 0, $self->loc('Right could not be revoked') );
-}
-
-# }}}
-
-# {{{ sub _BootstrapCreate 
-
-=head2 _BootstrapCreate
-
-Grant a right with no error checking and no ACL. this is _only_ for 
-installation. If you use this routine without the author's explicit 
-written approval, he will hunt you down and make you spend eternity
-translating mozilla's code into FORTRAN or intercal.
-
-If you think you need this routine, you've mistaken. 
-
-=cut
-
-sub _BootstrapCreate {
-    my $self = shift;
-    my %args = (@_);
-
-    # When bootstrapping, make sure we get the _right_ users
-    if ( $args{'UserId'} ) {
-        my $user = RT::User->new( $self->CurrentUser );
-        $user->Load( $args{'UserId'} );
-        delete $args{'UserId'};
-        $args{'PrincipalId'}   = $user->PrincipalId;
-        $args{'PrincipalType'} = 'User';
-    }
-
-    my $id = $self->SUPER::Create(%args);
-
-    if ( $id > 0 ) {
-        return ($id);
-    }
-    else {
-        $RT::Logger->err('System error. right not granted.');
-        return (undef);
-    }
-
-}
-
-# }}}
-
-# {{{ sub CanonicalizeRightName
-
-=head2 CanonicalizeRightName <RIGHT>
-
-Takes a queue or system right name in any case and returns it in
-the correct case. If it's not found, will return undef.
-
-=cut
-
-sub CanonicalizeRightName {
-    my $self  = shift;
-    my $right = shift;
-    $right = lc $right;
-    if ( exists $LOWERCASERIGHTNAMES{"$right"} ) {
-        return ( $LOWERCASERIGHTNAMES{"$right"} );
-    }
-    else {
-        return (undef);
-    }
-}
-
-# }}}
-
-
-# {{{ sub Object
-
-=head2 Object
-
-If the object this ACE applies to is a queue, returns the queue object. 
-If the object this ACE applies to is a group, returns the group object. 
-If it's the system object, returns undef. 
-
-If the user has no rights, returns undef.
-
-=cut
-
-
-
-
-sub Object {
-    my $self = shift;
-
-    my $appliesto_obj;
-
-    if ($self->__Value('ObjectType') && $OBJECT_TYPES{$self->__Value('ObjectType')} ) {
-        $appliesto_obj =  $self->__Value('ObjectType')->new($self->CurrentUser);
-        unless (ref( $appliesto_obj) eq $self->__Value('ObjectType')) {
-            return undef;
-        }
-        $appliesto_obj->Load( $self->__Value('ObjectId') );
-        return ($appliesto_obj);
-     }
-    else {
-        $RT::Logger->warning( "$self -> Object called for an object "
-                              . "of an unknown type:"
-                              . $self->ObjectType );
-        return (undef);
-    }
-}
-
-# }}}
-
-# {{{ sub PrincipalObj
-
-=head2 PrincipalObj
-
-Returns the RT::Principal object for this ACE. 
-
-=cut
-
-sub PrincipalObj {
-    my $self = shift;
-
-    my $princ_obj = RT::Principal->new( $self->CurrentUser );
-    $princ_obj->Load( $self->__Value('PrincipalId') );
-
-    unless ( $princ_obj->Id ) {
-        $RT::Logger->err(
-                   "ACE " . $self->Id . " couldn't load its principal object" );
-    }
-    return ($princ_obj);
-
-}
-
-# }}}
-
-# {{{ ACL related methods
-
-# {{{ sub _Set
-
-sub _Set {
-    my $self = shift;
-    return ( 0, $self->loc("ACEs can only be created and deleted.") );
-}
-
-# }}}
-
-# {{{ sub _Value
-
-sub _Value {
-    my $self = shift;
-
-    if ( $self->__Value('DelegatedBy') eq $self->CurrentUser->PrincipalId ) {
-        return ( $self->__Value(@_) );
-    }
-    elsif ( $self->PrincipalObj->IsGroup
-            && $self->PrincipalObj->Object->HasMemberRecursively(
-                                                $self->CurrentUser->PrincipalObj
-            )
-      ) {
-        return ( $self->__Value(@_) );
-    }
-    elsif ( $self->CurrentUser->HasRight(Right => 'ShowACL', Object => $self->Object) ) {
-        return ( $self->__Value(@_) );
-    }
-    else {
-        return undef;
-    }
-}
-
-# }}}
-
-
-# }}}
-
-# {{{ _CanonicalizePrincipal 
-
-=head2 _CanonicalizePrincipal (PrincipalId, PrincipalType)
-
-Takes a principal id and a principal type.
-
-If the principal is a user, resolves it to the proper acl equivalence group.
-Returns a tuple of  (RT::Principal, PrincipalType)  for the principal we really want to work with
-
-=cut
-
-sub _CanonicalizePrincipal {
-    my $self       = shift;
-    my $princ_id   = shift;
-    my $princ_type = shift;
-
-    my $princ_obj = RT::Principal->new($RT::SystemUser);
-    $princ_obj->Load($princ_id);
-
-    unless ( $princ_obj->Id ) {
-        use Carp;
-        $RT::Logger->crit(Carp::cluck);
-        $RT::Logger->crit("Can't load a principal for id $princ_id");
-        return ( $princ_obj, undef );
-    }
-
-    # Rights never get granted to users. they get granted to their 
-    # ACL equivalence groups
-    if ( $princ_type eq 'User' ) {
-        my $equiv_group = RT::Group->new( $self->CurrentUser );
-        $equiv_group->LoadACLEquivalenceGroup($princ_obj);
-        unless ( $equiv_group->Id ) {
-            $RT::Logger->crit(
-                 "No ACL equiv group for princ " . $self->__Value('ObjectId') );
-            return ( 0, $self->loc('System error. Right not granted.') );
-        }
-        $princ_obj  = $equiv_group->PrincipalObj();
-        $princ_type = 'Group';
-
-    }
-    return ( $princ_obj, $princ_type );
-}
-
-sub _ParseObjectArg {
-    my $self = shift;
-    my %args = ( Object    => undef,
-                 ObjectId    => undef,
-                 ObjectType    => undef,
-                 @_ );
-
-    if( $args{'Object'} && ($args{'ObjectId'} || $args{'ObjectType'}) ) {
-       $RT::Logger->crit( "Method called with an ObjectType or an ObjectId and Object args" );
-       return ();
-    } elsif( $args{'Object'} && !UNIVERSAL::can($args{'Object'},'id') ) {
-       $RT::Logger->crit( "Method called called Object that has no id method" );
-       return ();
-    } elsif( $args{'Object'} ) {
-       my $obj = $args{'Object'};
-       return ($obj, ref $obj, $obj->id);
-    } elsif ( $args{'ObjectType'} ) {
-       my $obj =  $args{'ObjectType'}->new( $self->CurrentUser );
-       $obj->Load( $args{'ObjectId'} );
-       return ($obj, ref $obj, $obj->id);
-    } else {
-       $RT::Logger->crit( "Method called with wrong args" );
-       return ();
-    }
-}
-
-
-# }}}
-1;
diff --git a/rt/lib/RT/ACL.pm b/rt/lib/RT/ACL.pm
deleted file mode 100755 (executable)
index aafc1d2..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::ACL -- Class Description
-=head1 SYNOPSIS
-
-  use RT::ACL
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::ACL;
-
-use RT::SearchBuilder;
-use RT::ACE;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'ACL';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::ACE item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::ACE->new($self->CurrentUser));
-}
-
-        eval "require RT::ACL_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ACL_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ACL_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ACL_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ACL_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ACL_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ACL_Overlay, RT::ACL_Vendor, RT::ACL_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ACL_Overlay.pm b/rt/lib/RT/ACL_Overlay.pm
deleted file mode 100644 (file)
index c20bfd3..0000000
+++ /dev/null
@@ -1,372 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::ACL - collection of RT ACE objects
-
-=head1 SYNOPSIS
-
-  use RT::ACL;
-my $ACL = new RT::ACL($CurrentUser);
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok(require RT::ACL);
-
-=end testing
-
-=cut
-
-
-package RT::ACL;
-
-use strict;
-no warnings qw(redefine);
-
-
-=head2 Next
-
-Hand out the next ACE that was found
-
-=cut
-
-
-# {{{ LimitToObject 
-
-=head2 LimitToObject $object
-
-Limit the ACL to rights for the object $object. It needs to be an RT::Record class.
-
-=cut
-
-sub LimitToObject {
-    my $self = shift;
-    my $obj  = shift;
-    unless ( defined($obj)
-        && ref($obj)
-        && UNIVERSAL::can( $obj, 'id' )
-        && $obj->id )
-    {
-        return undef;
-    }
-    $self->Limit(
-        FIELD           => 'ObjectType',
-        OPERATOR        => '=',
-        VALUE           => ref($obj),
-        ENTRYAGGREGATOR => 'OR'
-    );
-    $self->Limit(
-        FIELD           => 'ObjectId',
-        OPERATOR        => '=',
-        VALUE           => $obj->id,
-        ENTRYAGGREGATOR => 'OR',
-        QUOTEVALUE      => 0
-    );
-
-}
-
-# }}}
-
-# {{{ LimitNotObject
-
-=head2 LimitNotObject $object
-
-Limit the ACL to rights NOT on the object $object.  $object needs to be
-an RT::Record class.
-
-=cut
-
-sub LimitNotObject {
-    my $self = shift;
-    my $obj  = shift;
-    unless ( defined($obj)
-        && ref($obj)
-        && UNIVERSAL::can( $obj, 'id' )
-        && $obj->id )
-    {
-        return undef;
-    }
-    $self->Limit( FIELD => 'ObjectType',
-                 OPERATOR => '!=',
-                 VALUE => ref($obj),
-                 ENTRYAGGREGATOR => 'OR',
-                 SUBCLAUSE => $obj->id
-               );
-    $self->Limit( FIELD => 'ObjectId',
-                 OPERATOR => '!=',
-                 VALUE => $obj->id,
-                 ENTRYAGGREGATOR => 'OR',
-                 QUOTEVALUE => 0,
-                 SUBCLAUSE => $obj->id
-               );
-}
-
-# }}}
-
-# {{{ LimitToPrincipal 
-
-=head2 LimitToPrincipal { Type => undef, Id => undef, IncludeGroupMembership => undef }
-
-Limit the ACL to the principal with PrincipalId Id and PrincipalType Type
-
-Id is not optional.
-Type is.
-
-if IncludeGroupMembership => 1 is specified, ACEs which apply to the principal due to group membership will be included in the resultset.
-
-
-=cut
-
-sub LimitToPrincipal {
-    my $self = shift;
-    my %args = ( Type                               => undef,
-                 Id                                 => undef,
-                 IncludeGroupMembership => undef,
-                 @_ );
-    if ( $args{'IncludeGroupMembership'} ) {
-        my $cgm = $self->NewAlias('CachedGroupMembers');
-        $self->Join( ALIAS1 => 'main',
-                     FIELD1 => 'PrincipalId',
-                     ALIAS2 => $cgm,
-                     FIELD2 => 'GroupId' );
-        $self->Limit( ALIAS           => $cgm,
-                      FIELD           => 'MemberId',
-                      OPERATOR        => '=',
-                      VALUE           => $args{'Id'},
-                      ENTRYAGGREGATOR => 'OR' );
-    }
-    else {
-        if ( defined $args{'Type'} ) {
-            $self->Limit( FIELD           => 'PrincipalType',
-                          OPERATOR        => '=',
-                          VALUE           => $args{'Type'},
-                          ENTRYAGGREGATOR => 'OR' );
-        }
-    # if the principal id points to a user, we really want to point
-    # to their ACL equivalence group. The machinations we're going through
-    # lead me to start to suspect that we really want users and groups
-    # to just be the same table. or _maybe_ that we want an object db.
-    my $princ = RT::Principal->new($RT::SystemUser);
-    $princ->Load($args{'Id'});
-    if ($princ->PrincipalType eq 'User') {
-    my $group = RT::Group->new($RT::SystemUser);
-        $group->LoadACLEquivalenceGroup($princ);
-        $args{'Id'} = $group->PrincipalId;
-    }
-        $self->Limit( FIELD           => 'PrincipalId',
-                      OPERATOR        => '=',
-                      VALUE           => $args{'Id'},
-                      ENTRYAGGREGATOR => 'OR' );
-    }
-}
-
-# }}}
-
-
-
-# {{{ ExcludeDelegatedRights
-
-=head2 ExcludeDelegatedRights 
-
-Don't list rights which have been delegated.
-
-=cut
-
-sub ExcludeDelegatedRights {
-    my $self = shift;
-    $self->DelegatedBy(Id => 0);
-    $self->DelegatedFrom(Id => 0);
-}
-# }}}
-
-# {{{ DelegatedBy 
-
-=head2 DelegatedBy { Id => undef }
-
-Limit the ACL to rights delegated by the principal whose Principal Id is
-B<Id>
-
-Id is not optional.
-
-=cut
-
-sub DelegatedBy {
-    my $self = shift;
-    my %args = (
-        Id => undef,
-        @_
-    );
-    $self->Limit(
-        FIELD           => 'DelegatedBy',
-        OPERATOR        => '=',
-        VALUE           => $args{'Id'},
-        ENTRYAGGREGATOR => 'OR'
-    );
-
-}
-
-# }}}
-
-# {{{ DelegatedFrom 
-
-=head2 DelegatedFrom { Id => undef }
-
-Limit the ACL to rights delegate from the ACE which has the Id specified 
-by the Id parameter.
-
-Id is not optional.
-
-=cut
-
-sub DelegatedFrom {
-    my $self = shift;
-    my %args = (
-                 Id => undef,
-                 @_);
-    $self->Limit(FIELD => 'DelegatedFrom', OPERATOR=> '=', VALUE => $args{'Id'}, ENTRYAGGREGATOR => 'OR');
-
-}
-
-# }}}
-
-
-# {{{ sub Next 
-sub Next {
-    my $self = shift;
-
-    my $ACE = $self->SUPER::Next();
-    if ( ( defined($ACE) ) and ( ref($ACE) ) ) {
-
-        if ( $self->CurrentUser->HasRight( Right  => 'ShowACL',
-                                           Object => $ACE->Object )
-             or $self->CurrentUser->HasRight( Right  => 'ModifyACL',
-                                              Object => $ACE->Object )
-          ) {
-            return ($ACE);
-        }
-
-        #If the user doesn't have the right to show this ACE
-        else {
-            return ( $self->Next() );
-        }
-    }
-
-    #if there never was any ACE
-    else {
-        return (undef);
-    }
-
-}
-
-# }}}
-
-
-
-#wrap around _DoSearch  so that we can build the hash of returned
-#values 
-sub _DoSearch {
-    my $self = shift;
-   # $RT::Logger->debug("Now in ".$self."->_DoSearch");
-    my $return = $self->SUPER::_DoSearch(@_);
-  #  $RT::Logger->debug("In $self ->_DoSearch. return from SUPER::_DoSearch was $return\n");
-    $self->_BuildHash();
-    return ($return);
-}
-
-
-#Build a hash of this ACL's entries.
-sub _BuildHash {
-    my $self = shift;
-
-    while (my $entry = $self->Next) {
-       my $hashkey = $entry->ObjectType . "-" .  $entry->ObjectId . "-" .  $entry->RightName . "-" .  $entry->PrincipalId . "-" .  $entry->PrincipalType;
-
-        $self->{'as_hash'}->{"$hashkey"} =1;
-
-    }
-}
-
-
-# {{{ HasEntry
-
-=head2 HasEntry
-
-=cut
-
-sub HasEntry {
-
-    my $self = shift;
-    my %args = ( RightScope => undef,
-                 RightAppliesTo => undef,
-                 RightName => undef,
-                 PrincipalId => undef,
-                 PrincipalType => undef,
-                 @_ );
-
-    #if we haven't done the search yet, do it now.
-    $self->_DoSearch();
-
-    if ($self->{'as_hash'}->{ $args{'RightScope'} . "-" .
-                             $args{'RightAppliesTo'} . "-" . 
-                             $args{'RightName'} . "-" .
-                             $args{'PrincipalId'} . "-" .
-                             $args{'PrincipalType'}
-                            } == 1) {
-       return(1);
-    }
-    else {
-       return(undef);
-    }
-}
-
-# }}}
-1;
diff --git a/rt/lib/RT/Action/AutoOpen.pm b/rt/lib/RT/Action/AutoOpen.pm
deleted file mode 100644 (file)
index 3423db9..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# This Action will open the BASE if a dependent is resolved.
-
-package RT::Action::AutoOpen;
-require RT::Action::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA=qw(RT::Action::Generic);
-
-#Do what we need to do and send it out.
-
-#What does this type of Action does
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return (ref $self );
-}
-# }}}
-
-
-# {{{ sub Prepare 
-sub Prepare {
-    my $self = shift;
-
-    # if the ticket is already open or the ticket is new and the message is more mail from the
-    # requestor, don't reopen it.
-
-    if ( ( $self->TicketObj->Status eq 'open' )
-         || ( ( $self->TicketObj->Status eq 'new' )
-              && $self->TransactionObj->IsInbound )
-         || ( defined $self->TransactionObj->Message->First
-              && $self->TransactionObj->Message->First->GetHeader('RT-Control') =~ /\bno-autoopen\b/i )
-      ) {
-
-        return undef;
-    }
-    else {
-        return (1);
-    }
-}
-# }}}
-
-sub Commit {
-    my $self = shift;
-      my $oldstatus = $self->TicketObj->Status();
-        $self->TicketObj->__Set( Field => 'Status', Value => 'open' );
-        $self->TicketObj->_NewTransaction(
-                         Type     => 'Status',
-                         Field    => 'Status',
-                         OldValue => $oldstatus,
-                         NewValue => 'open',
-                         Data => 'Ticket auto-opened on incoming correspondence'
-        );
-
-
-    return(1);
-}
-
-eval "require RT::Action::AutoOpen_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/AutoOpen_Vendor.pm});
-eval "require RT::Action::AutoOpen_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/AutoOpen_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/Autoreply.pm b/rt/lib/RT/Action/Autoreply.pm
deleted file mode 100755 (executable)
index c1ac5f8..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Action::Autoreply;
-require RT::Action::SendEmail;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::SendEmail);
-
-=head2 Prepare
-
-Set up the relevant recipients, then call our parent.
-
-=cut
-
-
-sub Prepare {
-    my $self = shift;
-    $self->SetRecipients();
-    $self->SUPER::Prepare();
-}
-
-# {{{ sub SetRecipients
-
-=head2 SetRecipients
-
-Sets the recipients of this message to this ticket's Requestor.
-
-=cut
-
-
-sub SetRecipients {
-    my $self=shift;
-
-    push(@{$self->{'To'}}, $self->TicketObj->Requestors->MemberEmailAddresses);
-    
-    return(1);
-}
-
-# }}}
-
-
-# {{{ sub SetReturnAddress 
-
-=head2 SetReturnAddress
-
-Set this message\'s return address to the apropriate queue address
-
-=cut
-
-sub SetReturnAddress {
-    my $self = shift;
-    my %args = ( is_comment => 0,
-                @_
-              );
-    
-    my $replyto;
-    if ($args{'is_comment'}) { 
-       $replyto = $self->TicketObj->QueueObj->CommentAddress || 
-                    $RT::CommentAddress;
-    }
-    else {
-       $replyto = $self->TicketObj->QueueObj->CorrespondAddress ||
-                    $RT::CorrespondAddress;
-    }
-    
-    unless ($self->TemplateObj->MIMEObj->head->get('From')) {
-       if ($RT::UseFriendlyFromLine) {
-           my $friendly_name = $self->TicketObj->QueueObj->Description ||
-                   $self->TicketObj->QueueObj->Name;
-           $friendly_name =~ s/"/\\"/g;
-           $self->SetHeader( 'From',
-                       sprintf($RT::FriendlyFromLineFormat, 
-                $self->MIMEEncodeString( $friendly_name, $RT::EmailOutputEncoding ), $replyto),
-           );
-       }
-       else {
-           $self->SetHeader( 'From', $replyto );
-       }
-    }
-    
-    unless ($self->TemplateObj->MIMEObj->head->get('Reply-To')) {
-       $self->SetHeader('Reply-To', "$replyto");
-    }
-    
-}
-  
-# }}}
-
-eval "require RT::Action::Autoreply_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Autoreply_Vendor.pm});
-eval "require RT::Action::Autoreply_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Autoreply_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/CreateTickets.pm b/rt/lib/RT/Action/CreateTickets.pm
deleted file mode 100644 (file)
index b708f2e..0000000
+++ /dev/null
@@ -1,1341 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Action::CreateTickets;
-require RT::Action::Generic;
-
-use strict;
-use warnings;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::Generic);
-
-use MIME::Entity;
-
-=head1 NAME
-
- RT::Action::CreateTickets
-
-Create one or more tickets according to an externally supplied template.
-
-
-=head1 SYNOPSIS
-
- ===Create-Ticket codereview
- Subject: Code review for {$Tickets{'TOP'}->Subject}
- Depended-On-By: TOP
- Content: Someone has created a ticket. you should review and approve it,
- so they can finish their work
- ENDOFCONTENT
-
-=head1 DESCRIPTION
-
-
-Using the "CreateTickets" ScripAction and mandatory dependencies, RT now has 
-the ability to model complex workflow. When a ticket is created in a queue
-that has a "CreateTickets" scripaction, that ScripAction parses its "Template"
-
-
-
-=head2 FORMAT
-
-CreateTickets uses the template as a template for an ordered set of tickets 
-to create. The basic format is as follows:
-
-
- ===Create-Ticket: identifier
- Param: Value
- Param2: Value
- Param3: Value
- Content: Blah
- blah
- blah
- ENDOFCONTENT
- ===Create-Ticket: id2
- Param: Value
- Content: Blah
- ENDOFCONTENT
-
-
-Each ===Create-Ticket: section is evaluated as its own 
-Text::Template object, which means that you can embed snippets
-of perl inside the Text::Template using {} delimiters, but that 
-such sections absolutely can not span a ===Create-Ticket boundary.
-
-After each ticket is created, it's stuffed into a hash called %Tickets
-so as to be available during the creation of other tickets during the same 
-ScripAction.  The hash is prepopulated with the ticket which triggered the 
-ScripAction as $Tickets{'TOP'}; you can also access that ticket using the
-shorthand TOP.
-
-A simple example:
-
- ===Create-Ticket: codereview
- Subject: Code review for {$Tickets{'TOP'}->Subject}
- Depended-On-By: TOP
- Content: Someone has created a ticket. you should review and approve it,
- so they can finish their work
- ENDOFCONTENT
-
-
-
-A convoluted example
-
- ===Create-Ticket: approval
- { # Find out who the administrators of the group called "HR" 
-   # of which the creator of this ticket is a member
-    my $name = "HR";
-   
-    my $groups = RT::Groups->new($RT::SystemUser);
-    $groups->LimitToUserDefinedGroups();
-    $groups->Limit(FIELD => "Name", OPERATOR => "=", VALUE => "$name");
-    $groups->WithMember($TransactionObj->CreatorObj->Id);
-    my $groupid = $groups->First->Id;
-    my $adminccs = RT::Users->new($RT::SystemUser);
-    $adminccs->WhoHaveRight(
-       Right => "AdminGroup",
-       Object =>$groups->First,
-       IncludeSystemRights => undef,
-       IncludeSuperusers => 0,
-       IncludeSubgroupMembers => 0,
-    );
-     my @admins;
-     while (my $admin = $adminccs->Next) {
-         push (@admins, $admin->EmailAddress); 
-     }
- }
- Queue: ___Approvals
- Type: approval
- AdminCc: {join ("\nAdminCc: ",@admins) }
- Depended-On-By: TOP
- Refers-To: TOP
- Subject: Approval for ticket: {$Tickets{"TOP"}->Id} - {$Tickets{"TOP"}->Subject}
- Due: {time + 86400}
- Content-Type: text/plain
- Content: Your approval is requested for the ticket {$Tickets{"TOP"}->Id}: {$Tickets{"TOP"}->Subject}
- Blah
- Blah
- ENDOFCONTENT
- ===Create-Ticket: two
- Subject: Manager approval
- Depended-On-By: TOP
- Refers-On: {$Tickets{"approval"}->Id}
- Queue: ___Approvals
- Content-Type: text/plain
- Content: 
- Your approval is requred for this ticket, too.
- ENDOFCONTENT
-=head2 Acceptable fields
-
-A complete list of acceptable fields for this beastie:
-
-
-    *  Queue           => Name or id# of a queue
-       Subject         => A text string
-     ! Status          => A valid status. defaults to 'new'
-       Due             => Dates can be specified in seconds since the epoch
-                          to be handled literally or in a semi-free textual
-                          format which RT will attempt to parse.
-                        
-                          
-                          
-       Starts          => 
-       Started         => 
-       Resolved        => 
-       Owner           => Username or id of an RT user who can and should own 
-                          this ticket
-   +   Requestor       => Email address
-   +   Cc              => Email address 
-   +   AdminCc         => Email address 
-       TimeWorked      => 
-       TimeEstimated   => 
-       TimeLeft        => 
-       InitialPriority => 
-       FinalPriority   => 
-       Type            => 
-    +! DependsOn       => 
-    +! DependedOnBy    =>
-    +! RefersTo        =>
-    +! ReferredToBy    => 
-    +! Members         =>
-    +! MemberOf        => 
-       Content         => content. Can extend to multiple lines. Everything
-                          within a template after a Content: header is treated
-                          as content until we hit a line containing only 
-                          ENDOFCONTENT
-       ContentType     => the content-type of the Content field
-       CustomField-<id#> => custom field value
-
-Fields marked with an * are required.
-
-Fields marked with a + may have multiple values, simply
-by repeating the fieldname on a new line with an additional value.
-
-Fields marked with a ! are postponed to be processed after all
-tickets in the same actions are created.  Except for 'Status', those
-field can also take a ticket name within the same action (i.e.
-the identifiers after ==Create-Ticket), instead of raw Ticket ID
-numbers.
-
-When parsed, field names are converted to lowercase and have -s stripped.
-Refers-To, RefersTo, refersto, refers-to and r-e-f-er-s-tO will all 
-be treated as the same thing.
-
-
-=begin testing
-
-ok (require RT::Action::CreateTickets);
-use_ok(RT::Scrip);
-use_ok(RT::Template);
-use_ok(RT::ScripAction);
-use_ok(RT::ScripCondition);
-use_ok(RT::Ticket);
-
-my $approvalsq = RT::Queue->new($RT::SystemUser);
-$approvalsq->Create(Name => 'Approvals');
-ok ($approvalsq->Id, "Created Approvals test queue");
-
-
-my $approvals = 
-'===Create-Ticket: approval
-Queue: ___Approvals
-Type: approval
-AdminCc: {join ("\nAdminCc: ",@admins) }
-Depended-On-By: {$Tickets{"TOP"}->Id}
-Refers-To: TOP 
-Subject: Approval for ticket: {$Tickets{"TOP"}->Id} - {$Tickets{"TOP"}->Subject}
-Due: {time + 86400}
-Content-Type: text/plain
-Content: Your approval is requested for the ticket {$Tickets{"TOP"}->Id}: {$Tickets{"TOP"}->Subject}
-Blah
-Blah
-ENDOFCONTENT
-===Create-Ticket: two
-Subject: Manager approval.
-Depended-On-By: approval
-Queue: ___Approvals
-Content-Type: text/plain
-Content: 
-Your minion approved ticket {$Tickets{"TOP"}->Id}. you ok with that?
-ENDOFCONTENT
-';
-
-ok ($approvals =~ /Content/, "Read in the approvals template");
-
-my $apptemp = RT::Template->new($RT::SystemUser);
-$apptemp->Create( Content => $approvals, Name => "Approvals", Queue => "0");
-
-ok ($apptemp->Id);
-
-my $q = RT::Queue->new($RT::SystemUser);
-$q->Create(Name => 'WorkflowTest');
-ok ($q->Id, "Created workflow test queue");
-
-my $scrip = RT::Scrip->new($RT::SystemUser);
-my ($sval, $smsg) =$scrip->Create( ScripCondition => 'On Transaction',
-                ScripAction => 'Create Tickets',
-                Template => 'Approvals',
-                Queue => $q->Id);
-ok ($sval, $smsg);
-ok ($scrip->Id, "Created the scrip");
-ok ($scrip->TemplateObj->Id, "Created the scrip template");
-ok ($scrip->ConditionObj->Id, "Created the scrip condition");
-ok ($scrip->ActionObj->Id, "Created the scrip action");
-
-my $t = RT::Ticket->new($RT::SystemUser);
-my($tid, $ttrans, $tmsg) = $t->Create(Subject => "Sample workflow test",
-           Owner => "root",
-           Queue => $q->Id);
-
-ok ($tid,$tmsg);
-
-my $deps = $t->DependsOn;
-is ($deps->Count, 1, "The ticket we created depends on one other ticket");
-my $dependson= $deps->First->TargetObj;
-ok ($dependson->Id, "It depends on a real ticket");
-unlike ($dependson->Subject, qr/{/, "The subject doesn't have braces in it. that means we're interpreting expressions");
-is ($t->ReferredToBy->Count,1, "It's only referred to by one other ticket");
-is ($t->ReferredToBy->First->BaseObj->Id,$t->DependsOn->First->TargetObj->Id, "The same ticket that depends on it refers to it.");
-use RT::Action::CreateTickets;
-my $action =  RT::Action::CreateTickets->new( CurrentUser => $RT::SystemUser);;
-
-# comma-delimited templates
-my $commas = <<"EOF";
-id,Queue,Subject,Owner,Content
-ticket1,General,"foo, bar",root,blah
-ticket2,General,foo bar,root,blah
-ticket3,General,foo' bar,root,blah'boo
-ticket4,General,foo' bar,,blah'boo
-EOF
-
-
-# Comma delimited templates with missing data
-my $sparse_commas = <<"EOF";
-id,Queue,Subject,Owner,Requestor
-ticket14,General,,,bobby
-ticket15,General,,,tommy
-ticket16,General,,suzie,tommy
-ticket17,General,Foo "bar" baz,suzie,tommy
-ticket18,General,'Foo "bar" baz',suzie,tommy
-ticket19,General,'Foo bar' baz,suzie,tommy
-EOF
-
-
-# tab-delimited templates
-my $tabs = <<"EOF";
-id\tQueue\tSubject\tOwner\tContent
-ticket10\tGeneral\t"foo' bar"\troot\tblah'
-ticket11\tGeneral\tfoo, bar\troot\tblah
-ticket12\tGeneral\tfoo' bar\troot\tblah'boo
-ticket13\tGeneral\tfoo' bar\t\tblah'boo
-EOF
-
-my %expected;
-
-$expected{ticket1} = <<EOF;
-Queue: General
-Subject: foo, bar
-Owner: root
-Content: blah
-ENDOFCONTENT
-EOF
-
-$expected{ticket2} = <<EOF;
-Queue: General
-Subject: foo bar
-Owner: root
-Content: blah
-ENDOFCONTENT
-EOF
-
-$expected{ticket3} = <<EOF;
-Queue: General
-Subject: foo' bar
-Owner: root
-Content: blah'boo
-ENDOFCONTENT
-EOF
-
-$expected{ticket4} = <<EOF;
-Queue: General
-Subject: foo' bar
-Owner: 
-Content: blah'boo
-ENDOFCONTENT
-EOF
-
-$expected{ticket10} = <<EOF;
-Queue: General
-Subject: foo' bar
-Owner: root
-Content: blah'
-ENDOFCONTENT
-EOF
-
-$expected{ticket11} = <<EOF;
-Queue: General
-Subject: foo, bar
-Owner: root
-Content: blah
-ENDOFCONTENT
-EOF
-
-$expected{ticket12} = <<EOF;
-Queue: General
-Subject: foo' bar
-Owner: root
-Content: blah'boo
-ENDOFCONTENT
-EOF
-
-$expected{ticket13} = <<EOF;
-Queue: General
-Subject: foo' bar
-Owner: 
-Content: blah'boo
-ENDOFCONTENT
-EOF
-
-
-$expected{'ticket14'} = <<EOF;
-Queue: General
-Subject: 
-Owner: 
-Requestor: bobby
-EOF
-$expected{'ticket15'} = <<EOF;
-Queue: General
-Subject: 
-Owner: 
-Requestor: tommy
-EOF
-$expected{'ticket16'} = <<EOF;
-Queue: General
-Subject: 
-Owner: suzie
-Requestor: tommy
-EOF
-$expected{'ticket17'} = <<EOF;
-Queue: General
-Subject: Foo "bar" baz
-Owner: suzie
-Requestor: tommy
-EOF
-$expected{'ticket18'} = <<EOF;
-Queue: General
-Subject: Foo "bar" baz
-Owner: suzie
-Requestor: tommy
-EOF
-$expected{'ticket19'} = <<EOF;
-Queue: General
-Subject: 'Foo bar' baz
-Owner: suzie
-Requestor: tommy
-EOF
-
-
-
-
-$action->Parse(Content =>$commas);
-$action->Parse(Content =>$sparse_commas);
-$action->Parse(Content => $tabs);
-
-my %got;
-foreach (@{ $action->{'create_tickets'} }) {
-  $got{$_} = $action->{'templates'}->{$_};
-}
-
-foreach my $id ( sort keys %expected ) {
-    ok(exists($got{"create-$id"}), "template exists for $id");
-    is($got{"create-$id"}, $expected{$id}, "template is correct for $id");
-}
-
-=end testing
-
-
-=head1 AUTHOR
-
-Jesse Vincent <jesse@bestpractical.com> 
-
-=head1 SEE ALSO
-
-perl(1).
-
-=cut
-
-my %LINKTYPEMAP = (
-    MemberOf => {
-        Type => 'MemberOf',
-        Mode => 'Target',
-    },
-    Parents => {
-        Type => 'MemberOf',
-        Mode => 'Target',
-    },
-    Members => {
-        Type => 'MemberOf',
-        Mode => 'Base',
-    },
-    Children => {
-        Type => 'MemberOf',
-        Mode => 'Base',
-    },
-    HasMember => {
-        Type => 'MemberOf',
-        Mode => 'Base',
-    },
-    RefersTo => {
-        Type => 'RefersTo',
-        Mode => 'Target',
-    },
-    ReferredToBy => {
-        Type => 'RefersTo',
-        Mode => 'Base',
-    },
-    DependsOn => {
-        Type => 'DependsOn',
-        Mode => 'Target',
-    },
-    DependedOnBy => {
-        Type => 'DependsOn',
-        Mode => 'Base',
-    },
-
-);
-
-# {{{ Scrip methods (Commit, Prepare)
-
-# {{{ sub Commit
-#Do what we need to do and send it out.
-sub Commit {
-    my $self = shift;
-
-    # Create all the tickets we care about
-    return (1) unless $self->TicketObj->Type eq 'ticket';
-
-    $self->CreateByTemplate( $self->TicketObj );
-    $self->UpdateByTemplate( $self->TicketObj );
-    return (1);
-}
-
-# }}}
-
-# {{{ sub Prepare
-
-sub Prepare {
-    my $self = shift;
-
-    unless ( $self->TemplateObj ) {
-        $RT::Logger->warning("No template object handed to $self\n");
-    }
-
-    unless ( $self->TransactionObj ) {
-        $RT::Logger->warning("No transaction object handed to $self\n");
-
-    }
-
-    unless ( $self->TicketObj ) {
-        $RT::Logger->warning("No ticket object handed to $self\n");
-
-    }
-
-    $self->Parse( Content => $self->TemplateObj->Content, _ActiveContent => 1);
-    return 1;
-
-}
-
-# }}}
-
-# }}}
-
-sub CreateByTemplate {
-    my $self = shift;
-    my $top  = shift;
-
-    $RT::Logger->debug("In CreateByTemplate");
-
-    my @results;
-
-    # XXX: cargo cult programming that works. i'll be back.
-    use bytes;
-
-    local %T::Tickets = %T::Tickets;
-    local $T::TOP = $T::TOP;
-    local $T::ID = $T::ID;
-    $T::Tickets{'TOP'} = $T::TOP = $top if $top;
-
-    my $ticketargs;
-    my ( @links, @postponed );
-    foreach my $template_id ( @{ $self->{'create_tickets'} } ) {
-        $RT::Logger->debug("Workflow: processing $template_id of $T::TOP")
-          if $T::TOP;
-
-        $T::ID    = $template_id;
-        @T::AllID = @{ $self->{'create_tickets'} };
-
-        ( $T::Tickets{$template_id}, $ticketargs ) =
-          $self->ParseLines( $template_id, \@links, \@postponed );
-
-        # Now we have a %args to work with.
-        # Make sure we have at least the minimum set of
-        # reasonable data and do our thang
-
-        my ( $id, $transid, $msg ) =
-          $T::Tickets{$template_id}->Create(%$ticketargs);
-
-        foreach my $res ( split( '\n', $msg ) ) {
-            push @results,
-              $T::Tickets{$template_id}
-              ->loc( "Ticket [_1]", $T::Tickets{$template_id}->Id ) . ': '
-              . $res;
-        }
-        if ( !$id ) {
-            if ( $self->TicketObj ) {
-                $msg =
-                    "Couldn't create related ticket $template_id for "
-                  . $self->TicketObj->Id . " "
-                  . $msg;
-            }
-            else {
-                $msg = "Couldn't create ticket $template_id " . $msg;
-            }
-
-            $RT::Logger->error($msg);
-            next;
-        }
-
-        $RT::Logger->debug("Assigned $template_id with $id");
-        $T::Tickets{$template_id}->SetOriginObj( $self->TicketObj )
-          if $self->TicketObj
-          && $T::Tickets{$template_id}->can('SetOriginObj');
-
-    }
-
-    $self->PostProcess( \@links, \@postponed );
-
-    return @results;
-}
-
-sub UpdateByTemplate {
-    my $self = shift;
-    my $top  = shift;
-
-    # XXX: cargo cult programming that works. i'll be back.
-    use bytes;
-
-    my @results;
-    local %T::Tickets = %T::Tickets;
-    local $T::ID = $T::ID;
-
-    my $ticketargs;
-    my ( @links, @postponed );
-    foreach my $template_id ( @{ $self->{'update_tickets'} } ) {
-        $RT::Logger->debug("Update Workflow: processing $template_id");
-
-        $T::ID    = $template_id;
-        @T::AllID = @{ $self->{'update_tickets'} };
-
-        ( $T::Tickets{$template_id}, $ticketargs ) =
-          $self->ParseLines( $template_id, \@links, \@postponed );
-
-        # Now we have a %args to work with.
-        # Make sure we have at least the minimum set of
-        # reasonable data and do our thang
-
-        my @attribs = qw(
-          Subject
-          FinalPriority
-          Priority
-          TimeEstimated
-          TimeWorked
-          TimeLeft
-          Status
-          Queue
-          Due
-          Starts
-          Started
-          Resolved
-        );
-
-        my $id = $template_id;
-        $id =~ s/update-(\d+).*/$1/;
-        $T::Tickets{$template_id}->Load($id);
-
-        my $msg;
-        if ( !$T::Tickets{$template_id}->Id ) {
-            $msg = "Couldn't update ticket $template_id " . $msg;
-
-            $RT::Logger->error($msg);
-            next;
-        }
-
-        my $current = $self->GetBaseTemplate( $T::Tickets{$template_id} );
-
-        $template_id =~ m/^update-(.*)/;
-        my $base_id = "base-$1";
-        my $base    = $self->{'templates'}->{$base_id};
-        if ($base) {
-        $base    =~ s/\r//g;
-        $base    =~ s/\n+$//;
-        $current =~ s/\n+$//;
-
-        # If we have no base template, set what we can.
-        if ($base ne $current)  {
-            push @results,
-              "Could not update ticket "
-              . $T::Tickets{$template_id}->Id
-              . ": Ticket has changed";
-            next;
-        }
-        }
-        push @results, $T::Tickets{$template_id}->Update(
-            AttributesRef => \@attribs,
-            ARGSRef       => $ticketargs
-        );
-
-        push @results,
-          $self->UpdateWatchers( $T::Tickets{$template_id}, $ticketargs );
-
-        next unless exists $ticketargs->{'UpdateType'};
-        if ( $ticketargs->{'UpdateType'} =~ /^(private|public)$/ ) {
-            my ( $Transaction, $Description, $Object ) =
-              $T::Tickets{$template_id}->Comment(
-                CcMessageTo  => $ticketargs->{'Cc'},
-                BccMessageTo => $ticketargs->{'Bcc'},
-                MIMEObj      => $ticketargs->{'MIMEObj'},
-                TimeTaken    => $ticketargs->{'TimeWorked'}
-              );
-            push( @results,
-                $T::Tickets{$template_id}
-                  ->loc( "Ticket [_1]", $T::Tickets{$template_id}->id ) . ': '
-                  . $Description );
-        }
-        elsif ( $ticketargs->{'UpdateType'} eq 'response' ) {
-            my ( $Transaction, $Description, $Object ) =
-              $T::Tickets{$template_id}->Correspond(
-                CcMessageTo  => $ticketargs->{'Cc'},
-                BccMessageTo => $ticketargs->{'Bcc'},
-                MIMEObj      => $ticketargs->{'MIMEObj'},
-                TimeTaken    => $ticketargs->{'TimeWorked'}
-              );
-            push( @results,
-                $T::Tickets{$template_id}
-                  ->loc( "Ticket [_1]", $T::Tickets{$template_id}->id ) . ': '
-                  . $Description );
-        }
-        else {
-            push( @results,
-                $T::Tickets{$template_id}
-                  ->loc("Update type was neither correspondence nor comment.")
-                  . " "
-                  . $T::Tickets{$template_id}->loc("Update not recorded.") );
-        }
-    }
-
-    $self->PostProcess( \@links, \@postponed );
-
-    return @results;
-}
-
-=head2 Parse  TEMPLATE_CONTENT, DEFAULT_QUEUE, DEFAULT_REQEUESTOR ACTIVE
-
-Parse a template from TEMPLATE_CONTENT
-
-If $active is set to true, then we'll use Text::Template to parse the templates,
-allowing you to embed active perl in your templates.
-
-=cut
-
-sub Parse {
-    my $self          = shift;
-    my %args = ( Content => undef,
-                 Queue => undef,
-                 Requestor => undef,
-                 _ActiveContent => undef,
-                @_);
-
-    if ($args{'_ActiveContent'}) {
-        $self->{'UsePerlTextTemplate'} =1;
-    } else {
-
-        $self->{'UsePerlTextTemplate'} = 0;
-    }
-
-    my @template_order;
-    my $template_id;
-    my ( $queue, $requestor );
-    if ( substr( $args{'Content'}, 0, 3 ) eq '===' ) {
-        $RT::Logger->debug("Line: ===");
-        foreach my $line ( split( /\n/, $args{'Content'} ) ) {
-            $line =~ s/\r$//;
-            $RT::Logger->debug("Line: $line");
-            if ( $line =~ /^===/ ) {
-                if ( $template_id && !$queue && $args{'Queue'} ) {
-                    $self->{'templates'}->{$template_id} .= "Queue: $args{'Queue'}\n";
-                }
-                if ( $template_id && !$requestor && $args{'Requestor'} ) {
-                    $self->{'templates'}->{$template_id} .=
-                      "Requestor: $args{'Requestor'}\n";
-                }
-                $queue     = 0;
-                $requestor = 0;
-            }
-            if ( $line =~ /^===Create-Ticket: (.*)$/ ) {
-                $template_id = "create-$1";
-                $RT::Logger->debug("****  Create ticket: $template_id");
-                push @{ $self->{'create_tickets'} }, $template_id;
-            }
-            elsif ( $line =~ /^===Update-Ticket: (.*)$/ ) {
-                $template_id = "update-$1";
-                $RT::Logger->debug("****  Update ticket: $template_id");
-                push @{ $self->{'update_tickets'} }, $template_id;
-            }
-            elsif ( $line =~ /^===Base-Ticket: (.*)$/ ) {
-                $template_id = "base-$1";
-                $RT::Logger->debug("****  Base ticket: $template_id");
-                push @{ $self->{'base_tickets'} }, $template_id;
-            }
-            elsif ( $line =~ /^===#.*$/ ) {    # a comment
-                next;
-            }
-            else {
-                if ( $line =~ /^Queue:(.*)/i ) {
-                    $queue = 1;
-                    my $value = $1;
-                    $value =~ s/^\s//;
-                    $value =~ s/\s$//;
-                    if ( !$value && $args{'Queue'}) {
-                        $value = $args{'Queue'};
-                        $line  = "Queue: $value";
-                    }
-                }
-                if ( $line =~ /^Requestor:(.*)/i ) {
-                    $requestor = 1;
-                    my $value = $1;
-                    $value =~ s/^\s//;
-                    $value =~ s/\s$//;
-                    if ( !$value && $args{'Requestor'}) {
-                        $value = $args{'Requestor'};
-                        $line  = "Requestor: $value";
-                    }
-                }
-                $self->{'templates'}->{$template_id} .= $line . "\n";
-            }
-        }
-       if ( $template_id && !$queue && $args{'Queue'} ) {
-           $self->{'templates'}->{$template_id} .= "Queue: $args{'Queue'}\n";
-       }
-    }
-    elsif ( substr( $args{'Content'}, 0, 2 ) =~ /^id$/i ) {
-        $RT::Logger->debug("Line: id");
-        use Regexp::Common qw(delimited);
-        my $first = substr( $args{'Content'}, 0, index( $args{'Content'}, "\n" ) );
-        $first =~ s/\r$//;
-
-        my $delimiter;
-        if ( $first =~ /\t/ ) {
-            $delimiter = "\t";
-        }
-        else {
-            $delimiter = ',';
-        }
-        my @fields    = split( /$delimiter/, $first );
-        
-
-        my $delimiter_re = qr[$delimiter];
-
-        my $delimited = qr[[^$delimiter]+];
-        my $empty     = qr[^[$delimiter](?=[$delimiter])];
-        my $justquoted = qr[$RE{quoted}];
-
-        $args{'Content'} = substr( $args{'Content'}, index( $args{'Content'}, "\n" ) + 1 );
-        $RT::Logger->debug("First: $first");
-
-        my $queue;
-        foreach my $line ( split( /\n/, $args{'Content'} ) ) {
-            next unless $line;
-            $RT::Logger->debug("Line: $line");
-
-            # first item is $template_id
-            my $i = 0;
-            my $template_id;
-            while ($line && $line =~ s/^($justquoted|.*?)(?:$delimiter_re|$)//ix) {
-                if ( $i == 0 ) {
-                    $queue     = 0;
-                    $requestor = 0;
-                    my $tid = $1;
-                    $tid =~ s/^\s//;
-                    $tid =~ s/\s$//;
-                    next unless $tid;
-                   
-                     
-                    if ($tid =~ /^\d+$/) {
-                        $template_id = 'update-' . $tid;
-                        push @{ $self->{'update_tickets'} }, $template_id;
-
-                    } elsif ($tid =~ /^#base-(\d+)$/) {
-
-                        $template_id = 'base-' . $1;
-                        push @{ $self->{'base_tickets'} }, $template_id;
-
-                    } else {
-                        $template_id = 'create-' . $tid;
-                        push @{ $self->{'create_tickets'} }, $template_id;
-                    }
-                    $RT::Logger->debug("template_id: $tid");
-                }
-                else {
-                    my $value = $1;
-                    $value = '' if ( $value =~ /^$delimiter$/ );
-                    if ($value =~ /^$RE{delimited}{-delim=>qq{\'\"}}$/) {
-                        substr($value,0,1) = "";
-                    substr($value,-1,1) = "";
-                    }
-                    my $field = $fields[$i];
-                    next unless $field;
-                    $field =~ s/^\s//;
-                    $field =~ s/\s$//;
-                    if (   $field =~ /Body/i
-                        || $field =~ /Data/i
-                        || $field =~ /Message/i )
-                    {
-                        $field = 'Content';
-                    }
-                    if ( $field =~ /Summary/i ) {
-                        $field = 'Subject';
-                    }
-                    if ( $field =~ /Queue/i ) {
-                        $queue = 1;
-                        if ( !$value && $args{'Queue'} ) {
-                            $value = $args{'Queue'};
-                        }
-                    }
-                    if ( $field =~ /Requestor/i ) {
-                        $requestor = 1;
-                        if ( !$value && $args{'Requestor'} ) {
-                            $value = $args{'Requestor'};
-                        }
-                    }
-                    $self->{'templates'}->{$template_id} .= $field . ": ";
-                    $self->{'templates'}->{$template_id} .= $value || "";
-                    $self->{'templates'}->{$template_id} .= "\n";
-                    $self->{'templates'}->{$template_id} .= "ENDOFCONTENT\n"
-                      if $field =~ /content/i;
-                }
-                $i++;
-            }
-            if ( !$queue && $args{'Queue'} ) {
-                $self->{'templates'}->{$template_id} .= "Queue: $args{'Queue'}\n";
-            }
-            if ( !$requestor && $args{'Requestor'} ) {
-                $self->{'templates'}->{$template_id} .=
-                  "Requestor: $args{'Requestor'}\n";
-            }
-        }
-    }
-}
-
-sub ParseLines {
-    my $self        = shift;
-    my $template_id = shift;
-    my $links       = shift;
-    my $postponed   = shift;
-
-
-    my $content = $self->{'templates'}->{$template_id};
-
-    if ( $self->{'UsePerlTextTemplate'} ) {
-
-        $RT::Logger->debug(
-            "Workflow: evaluating\n$self->{templates}{$template_id}");
-
-        my $template = Text::Template->new(
-            TYPE   => 'STRING',
-            SOURCE => $content
-        );
-
-        my $err;
-        $content = $template->fill_in(
-            PACKAGE => 'T',
-            BROKEN  => sub {
-                $err = {@_}->{error};
-            }
-        );
-
-        $RT::Logger->debug("Workflow: yielding\n$content");
-
-        if ($err) {
-            $RT::Logger->error( "Ticket creation failed: " . $err );
-            while ( my ( $k, $v ) = each %T::X ) {
-                $RT::Logger->debug(
-                    "Eliminating $template_id from ${k}'s parents.");
-                delete $v->{$template_id};
-            }
-            next;
-        }
-    }
-    
-    my $TicketObj ||= RT::Ticket->new($self->CurrentUser);
-
-    my %args;
-    my @lines = ( split( /\n/, $content ) );
-    while ( defined( my $line = shift @lines ) ) {
-        if ( $line =~ /^(.*?):(?:\s+)(.*?)(?:\s*)$/ ) {
-            my $value = $2;
-            my $tag   = lc($1);
-            $tag =~ s/-//g;
-
-            if ( ref( $args{$tag} ) )
-            {    #If it's an array, we want to push the value
-                push @{ $args{$tag} }, $value;
-            }
-            elsif ( defined( $args{$tag} ) )
-            {    #if we're about to get a second value, make it an array
-                $args{$tag} = [ $args{$tag}, $value ];
-            }
-            else {    #if there's nothing there, just set the value
-                $args{$tag} = $value;
-            }
-
-            if ( $tag eq 'content' ) {    #just build up the content
-                                          # convert it to an array
-                $args{$tag} = defined($value) ? [ $value . "\n" ] : [];
-                while ( defined( my $l = shift @lines ) ) {
-                    last if ( $l =~ /^ENDOFCONTENT\s*$/ );
-                    push @{ $args{'content'} }, $l . "\n";
-                }
-            }
-            else {
-
-                # if it's not content, strip leading and trailing spaces
-                if ( $args{$tag} ) {
-                    $args{$tag} =~ s/^\s+//g;
-                    $args{$tag} =~ s/\s+$//g;
-                }
-            }
-        }
-    }
-
-    foreach my $date qw(due starts started resolved) {
-        my $dateobj = RT::Date->new($self->CurrentUser);
-        next unless $args{$date};
-        if ( $args{$date} =~ /^\d+$/ ) {
-            $dateobj->Set( Format => 'unix', Value => $args{$date} );
-        }
-        else {
-            $dateobj->Set( Format => 'unknown', Value => $args{$date} );
-        }
-        $args{$date} = $dateobj->ISO;
-    }
-
-    $args{'requestor'} ||= $self->TicketObj->Requestors->MemberEmailAddresses
-      if $self->TicketObj;
-
-    $args{'type'} ||= 'ticket';
-
-    my %ticketargs = (
-        Queue           => $args{'queue'},
-        Subject         => $args{'subject'},
-        Status          => 'new',
-        Due             => $args{'due'},
-        Starts          => $args{'starts'},
-        Started         => $args{'started'},
-        Resolved        => $args{'resolved'},
-        Owner           => $args{'owner'},
-        Requestor       => $args{'requestor'},
-        Cc              => $args{'cc'},
-        AdminCc         => $args{'admincc'},
-        TimeWorked      => $args{'timeworked'},
-        TimeEstimated   => $args{'timeestimated'},
-        TimeLeft        => $args{'timeleft'},
-        InitialPriority => $args{'initialpriority'} || 0,
-        FinalPriority   => $args{'finalpriority'} || 0,
-        Type            => $args{'type'},
-    );
-
-    if ($args{content}) {
-        my $mimeobj = MIME::Entity->new();
-        $mimeobj->build(
-            Type => $args{'contenttype'},
-            Data => $args{'content'}
-        );
-        $ticketargs{MIMEObj} = $mimeobj;
-        $ticketargs{UpdateType} = $args{'updatetype'} if $args{'updatetype'};
-    }
-
-    foreach my $key ( keys(%args) ) {
-        $key =~ /^customfield(\d+)$/ or next;
-        $ticketargs{ "CustomField-" . $1 } = $args{$key};
-    }
-
-    $self->GetDeferred( \%args, $template_id, $links, $postponed );
-
-    return $TicketObj, \%ticketargs;
-}
-
-sub GetDeferred {
-    my $self      = shift;
-    my $args      = shift;
-    my $id        = shift;
-    my $links     = shift;
-    my $postponed = shift;
-
-    # Deferred processing
-    push @$links,
-      (
-        $id,
-        {
-            DependsOn    => $args->{'dependson'},
-            DependedOnBy => $args->{'dependedonby'},
-            RefersTo     => $args->{'refersto'},
-            ReferredToBy => $args->{'referredtoby'},
-            Children     => $args->{'children'},
-            Parents      => $args->{'parents'},
-        }
-      );
-
-    push @$postponed, (
-
-        # Status is postponed so we don't violate dependencies
-        $id, { Status => $args->{'status'}, }
-    );
-}
-
-sub GetUpdateTemplate {
-    my $self = shift;
-    my $t    = shift;
-
-    my $string;
-    $string .= "Queue: " . $t->QueueObj->Name . "\n";
-    $string .= "Subject: " . $t->Subject . "\n";
-    $string .= "Status: " . $t->Status . "\n";
-    $string .= "UpdateType: response\n";
-    $string .= "Content: \n";
-    $string .= "ENDOFCONTENT\n";
-    $string .= "Due: " . $t->DueObj->AsString . "\n";
-    $string .= "Starts: " . $t->StartsObj->AsString . "\n";
-    $string .= "Started: " . $t->StartedObj->AsString . "\n";
-    $string .= "Resolved: " . $t->ResolvedObj->AsString . "\n";
-    $string .= "Owner: " . $t->OwnerObj->Name . "\n";
-    $string .= "Requestor: " . $t->RequestorAddresses . "\n";
-    $string .= "Cc: " . $t->CcAddresses . "\n";
-    $string .= "AdminCc: " . $t->AdminCcAddresses . "\n";
-    $string .= "TimeWorked: " . $t->TimeWorked . "\n";
-    $string .= "TimeEstimated: " . $t->TimeEstimated . "\n";
-    $string .= "TimeLeft: " . $t->TimeLeft . "\n";
-    $string .= "InitialPriority: " . $t->Priority . "\n";
-    $string .= "FinalPriority: " . $t->FinalPriority . "\n";
-
-    foreach my $type ( sort keys %LINKTYPEMAP ) {
-
-        # don't display duplicates
-        if (   $type eq "HasMember"
-            || $type eq "Members"
-            || $type eq "MemberOf" )
-        {
-            next;
-        }
-        $string .= "$type: ";
-
-        my $mode   = $LINKTYPEMAP{$type}->{Mode};
-        my $method = $LINKTYPEMAP{$type}->{Type};
-
-        my $links;
-        while ( my $link = $t->$method->Next ) {
-            $links .= ", " if $links;
-
-            my $object = $mode . "Obj";
-            my $member = $link->$object;
-            $links .= $member->Id if $member;
-        }
-        $string .= $links;
-        $string .= "\n";
-    }
-
-    return $string;
-}
-
-sub GetBaseTemplate {
-    my $self = shift;
-    my $t    = shift;
-
-    my $string;
-    $string .= "Queue: " . $t->Queue . "\n";
-    $string .= "Subject: " . $t->Subject . "\n";
-    $string .= "Status: " . $t->Status . "\n";
-    $string .= "Due: " . $t->DueObj->Unix . "\n";
-    $string .= "Starts: " . $t->StartsObj->Unix . "\n";
-    $string .= "Started: " . $t->StartedObj->Unix . "\n";
-    $string .= "Resolved: " . $t->ResolvedObj->Unix . "\n";
-    $string .= "Owner: " . $t->Owner . "\n";
-    $string .= "Requestor: " . $t->RequestorAddresses . "\n";
-    $string .= "Cc: " . $t->CcAddresses . "\n";
-    $string .= "AdminCc: " . $t->AdminCcAddresses . "\n";
-    $string .= "TimeWorked: " . $t->TimeWorked . "\n";
-    $string .= "TimeEstimated: " . $t->TimeEstimated . "\n";
-    $string .= "TimeLeft: " . $t->TimeLeft . "\n";
-    $string .= "InitialPriority: " . $t->Priority . "\n";
-    $string .= "FinalPriority: " . $t->FinalPriority . "\n";
-
-    return $string;
-}
-
-sub GetCreateTemplate {
-    my $self = shift;
-
-    my $string;
-
-    $string .= "Queue: General\n";
-    $string .= "Subject: \n";
-    $string .= "Status: new\n";
-    $string .= "Content: \n";
-    $string .= "ENDOFCONTENT\n";
-    $string .= "Due: \n";
-    $string .= "Starts: \n";
-    $string .= "Started: \n";
-    $string .= "Resolved: \n";
-    $string .= "Owner: \n";
-    $string .= "Requestor: \n";
-    $string .= "Cc: \n";
-    $string .= "AdminCc:\n";
-    $string .= "TimeWorked: \n";
-    $string .= "TimeEstimated: \n";
-    $string .= "TimeLeft: \n";
-    $string .= "InitialPriority: \n";
-    $string .= "FinalPriority: \n";
-
-    foreach my $type ( keys %LINKTYPEMAP ) {
-
-        # don't display duplicates
-        if (   $type eq "HasMember"
-            || $type eq 'Members'
-            || $type eq 'MemberOf' )
-        {
-            next;
-        }
-        $string .= "$type: \n";
-    }
-    return $string;
-}
-
-sub UpdateWatchers {
-    my $self   = shift;
-    my $ticket = shift;
-    my $args   = shift;
-
-    my @results;
-
-    foreach my $type qw(Requestor Cc AdminCc) {
-        my $method  = $type . 'Addresses';
-        my $oldaddr = $ticket->$method;
-    
-    
-        # Skip unless we have a defined field
-        next unless defined $args->{$type};
-        my $newaddr = $args->{$type};
-
-        my @old = split( ', ', $oldaddr );
-        my @new = split( ', ', $newaddr );
-        my %oldhash = map { $_ => 1 } @old;
-        my %newhash = map { $_ => 1 } @new;
-
-        my @add    = grep( !defined $oldhash{$_}, @new );
-        my @delete = grep( !defined $newhash{$_}, @old );
-
-        foreach (@add) {
-            my ( $val, $msg ) = $ticket->AddWatcher(
-                Type  => $type,
-                Email => $_
-            );
-
-            push @results,
-              $ticket->loc( "Ticket [_1]", $ticket->Id ) . ': ' . $msg;
-        }
-
-        foreach (@delete) {
-            my ( $val, $msg ) = $ticket->DeleteWatcher(
-                Type  => $type,
-                Email => $_
-            );
-            push @results,
-              $ticket->loc( "Ticket [_1]", $ticket->Id ) . ': ' . $msg;
-        }
-    }
-    return @results;
-}
-
-sub PostProcess {
-    my $self      = shift;
-    my $links     = shift;
-    my $postponed = shift;
-
-    # postprocessing: add links
-
-    while ( my $template_id = shift(@$links) ) {
-        my $ticket = $T::Tickets{$template_id};
-        $RT::Logger->debug( "Handling links for " . $ticket->Id );
-        my %args = %{ shift(@$links) };
-
-        foreach my $type ( keys %LINKTYPEMAP ) {
-            next unless ( defined $args{$type} );
-            foreach my $link (
-                ref( $args{$type} ) ? @{ $args{$type} } : ( $args{$type} ) )
-            {
-                next unless $link;
-
-                if ($link =~ /^TOP$/i) {
-                    $RT::Logger->debug( "Building $type link for $link: " . $T::Tickets{TOP}->Id );
-                    $link = $T::Tickets{TOP}->Id;
-
-                } 
-                elsif ( $link !~ m/^\d+$/ ) {
-                    my $key = "create-$link";
-                    if ( !exists $T::Tickets{$key} ) {
-                        $RT::Logger->debug( "Skipping $type link for $key (non-existent)");
-                        next;
-                    }
-                    $RT::Logger->debug( "Building $type link for $link: " . $T::Tickets{$key}->Id );
-                    $link = $T::Tickets{$key}->Id;
-                }
-                else {
-                    $RT::Logger->debug("Building $type link for $link");
-                }
-
-                my ( $wval, $wmsg ) = $ticket->AddLink(
-                    Type => $LINKTYPEMAP{$type}->{'Type'},
-                    $LINKTYPEMAP{$type}->{'Mode'} => $link,
-                    Silent                        => 1
-                );
-
-                $RT::Logger->warning("AddLink thru $link failed: $wmsg")
-                  unless $wval;
-
-                # push @non_fatal_errors, $wmsg unless ($wval);
-            }
-
-        }
-    }
-
-    # postponed actions -- Status only, currently
-    while ( my $template_id = shift(@$postponed) ) {
-        my $ticket = $T::Tickets{$template_id};
-        $RT::Logger->debug("Handling postponed actions for ".$ticket->id);
-        my %args = %{ shift(@$postponed) };
-        $ticket->SetStatus( $args{Status} ) if defined $args{Status};
-    }
-
-}
-
-eval "require RT::Action::CreateTickets_Vendor";
-die $@ if ( $@ && $@ !~ qr{^Can't locate RT/Action/CreateTickets_Vendor.pm} );
-eval "require RT::Action::CreateTickets_Local";
-die $@ if ( $@ && $@ !~ qr{^Can't locate RT/Action/CreateTickets_Local.pm} );
-
-1;
-
diff --git a/rt/lib/RT/Action/EscalatePriority.pm b/rt/lib/RT/Action/EscalatePriority.pm
deleted file mode 100644 (file)
index c549921..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Action::EscalatePriority
-
-=head1 DESCRIPTION
-
-EscalatePriority is a ScripAction which is NOT intended to be called
-per transaction. It's intended to be called by an RT escalation tool.
-One such tool is called rt-crontool and is located in $RTHOME/bin (see
-C<rt-crontool -h> for more details)
-
-EsclatePriority uses the following formula to change a ticket's priority:
-
-    Priority = Priority +  (( FinalPriority - Priority ) / ( DueDate-Today))
-
-Unless the duedate is past, in which case priority gets bumped straight
-to final priority.
-
-In this way, priority is either increased or decreased toward the final priority
-as the ticket heads toward its due date.
-
-
-=cut
-
-
-package RT::Action::EscalatePriority;
-require RT::Action::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA=qw(RT::Action::Generic);
-
-#Do what we need to do and send it out.
-
-#What does this type of Action does
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return (ref $self . " will move a ticket's priority toward its final priority.");
-}
-# }}}
-       
-
-# {{{ sub Prepare 
-sub Prepare  {
-    my $self = shift;
-    
-    if ($self->TicketObj->Priority() == $self->TicketObj->FinalPriority()) {
-       # no update necessary.
-       return 0;
-    }
-   
-    #compute the number of days until the ticket is due
-    my $due = $self->TicketObj->DueObj();
-    
-
-    # If we don't have a due date, adjust the priority by one
-    # until we hit the final priority
-    if ($due->Unix() < 1) {
-       if ( $self->TicketObj->Priority > $self->TicketObj->FinalPriority ){
-           $self->{'prio'} = ($self->TicketObj->Priority - 1);
-           return 1;
-       }
-       elsif ( $self->TicketObj->Priority < $self->TicketObj->FinalPriority ){
-           $self->{'prio'} = ($self->TicketObj->Priority + 1);
-           return 1;
-       }
-       # otherwise the priority is at the final priority. we don't need to
-       # Continue
-       else {
-           return 0;
-       }
-    }
-
-    # we've got a due date. now there are other things we should do
-    else { 
-       my $diff_in_seconds = $due->Diff(time());    
-       my $diff_in_days = int( $diff_in_seconds / 86400);    
-       
-       #if we haven't hit the due date yet
-       if ($diff_in_days > 0 ) {       
-           
-           # compute the difference between the current priority and the
-           # final priority
-           
-           my $prio_delta = 
-             $self->TicketObj->FinalPriority() - $self->TicketObj->Priority;
-           
-           my $inc_priority_by = int( $prio_delta / $diff_in_days );
-           
-           #set the ticket's priority to that amount
-           $self->{'prio'} = $self->TicketObj->Priority + $inc_priority_by;
-           
-       }
-       #if $days is less than 1, set priority to final_priority
-       else {  
-           $self->{'prio'} = $self->TicketObj->FinalPriority();
-       }
-
-    }
-    return 1;
-}
-# }}}
-
-sub Commit {
-    my $self = shift;
-   my ($val, $msg) = $self->TicketObj->SetPriority($self->{'prio'});
-
-   unless ($val) {
-       $RT::Logger->debug($self . " $msg\n"); 
-   }
-}
-
-eval "require RT::Action::EscalatePriority_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/EscalatePriority_Vendor.pm});
-eval "require RT::Action::EscalatePriority_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/EscalatePriority_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/Generic.pm b/rt/lib/RT/Action/Generic.pm
deleted file mode 100755 (executable)
index cf7600a..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Action::Generic - a generic baseclass for RT Actions
-
-=head1 SYNOPSIS
-
-  use RT::Action::Generic;
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=begin testing
-
-ok (require RT::Action::Generic);
-
-=end testing
-
-=cut
-
-package RT::Action::Generic;
-
-use strict;
-use Scalar::Util;
-
-use base qw/RT::Base/;
-
-# {{{ sub new 
-sub new  {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self  = {};
-  bless ($self, $class);
-  $self->_Init(@_);
-  return $self;
-}
-# }}}
-
-# {{{ sub _Init 
-sub _Init  {
-  my $self = shift;
-  my %args = ( Argument => undef,
-               CurrentUser => undef,
-               ScripActionObj => undef,
-               ScripObj => undef,
-               TemplateObj => undef,
-               TicketObj => undef,
-               TransactionObj => undef,
-               Type => undef,
-
-               @_ );
-
-  $self->{'Argument'} = $args{'Argument'};
-  $self->CurrentUser( $args{'CurrentUser'});
-  $self->{'ScripActionObj'} = $args{'ScripActionObj'};
-  $self->{'ScripObj'} = $args{'ScripObj'};
-  $self->{'TemplateObj'} = $args{'TemplateObj'};
-  $self->{'TicketObj'} = $args{'TicketObj'};
-  $self->{'TransactionObj'} = $args{'TransactionObj'};
-  $self->{'Type'} = $args{'Type'};
-
-  Scalar::Util::weaken($self->{'ScripActionObj'});
-  Scalar::Util::weaken($self->{'ScripObj'});
-  Scalar::Util::weaken($self->{'TemplateObj'});
-  Scalar::Util::weaken($self->{'TicketObj'});
-  Scalar::Util::weaken($self->{'TransactionObj'});
-
-}
-# }}}
-
-# Access Scripwide data
-
-# {{{ sub Argument 
-sub Argument  {
-  my $self = shift;
-  return($self->{'Argument'});
-}
-# }}}
-
-# {{{ sub TicketObj
-sub TicketObj  {
-  my $self = shift;
-  return($self->{'TicketObj'});
-}
-# }}}
-
-# {{{ sub TransactionObj
-sub TransactionObj  {
-  my $self = shift;
-  return($self->{'TransactionObj'});
-}
-# }}}
-
-# {{{ sub TemplateObj
-sub TemplateObj  {
-  my $self = shift;
-  return($self->{'TemplateObj'});
-}
-# }}}
-
-# {{{ sub ScripObj
-sub ScripObj  {
-  my $self = shift;
-  return($self->{'ScripObj'});
-}
-# }}}
-
-# {{{ sub ScripActionObj
-sub ScripActionObj  {
-  my $self = shift;
-  return($self->{'ScripActionObj'});
-}
-# }}}
-
-# {{{ sub Type
-sub Type  {
-  my $self = shift;
-  return($self->{'Type'});
-}
-# }}}
-
-
-# Scrip methods
-
-#Do what we need to do and send it out.
-
-# {{{ sub Commit 
-sub Commit  {
-  my $self = shift;
-  return(0, $self->loc("Commit Stubbed"));
-}
-# }}}
-
-
-#What does this type of Action does
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return $self->loc("No description for [_1]", ref $self);
-}
-# }}}
-
-
-#Parse the templates, get things ready to go.
-
-# {{{ sub Prepare 
-sub Prepare  {
-  my $self = shift;
-  return (0, $self->loc("Prepare Stubbed"));
-}
-# }}}
-
-
-#If this rule applies to this transaction, return true.
-
-# {{{ sub IsApplicable 
-sub IsApplicable  {
-  my $self = shift;
-  return(undef);
-}
-# }}}
-
-# {{{ sub DESTROY
-sub DESTROY {
-    my $self = shift;
-
-    # We need to clean up all the references that might maybe get
-    # oddly circular
-    $self->{'ScripActionObj'} = undef;
-    $self->{'ScripObj'} = undef;
-    $self->{'TemplateObj'} =undef
-    $self->{'TicketObj'} = undef;
-    $self->{'TransactionObj'} = undef;
-}
-
-# }}}
-
-eval "require RT::Action::Generic_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Generic_Vendor.pm});
-eval "require RT::Action::Generic_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Generic_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/Notify.pm b/rt/lib/RT/Action/Notify.pm
deleted file mode 100755 (executable)
index 0daaa55..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-#
-package RT::Action::Notify;
-require RT::Action::SendEmail;
-use Mail::Address;
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::SendEmail);
-
-
-=head2 Prepare
-
-Set up the relevant recipients, then call our parent.
-
-=cut
-
-
-sub Prepare {
-    my $self = shift;
-    $self->SetRecipients();
-    $self->SUPER::Prepare();
-}
-
-# {{{ sub SetRecipients
-
-=head2 SetRecipients
-
-Sets the recipients of this meesage to Owner, Requestor, AdminCc, Cc or All. 
-Explicitly B<does not> notify the creator of the transaction by default
-
-=cut
-
-sub SetRecipients {
-    my $self = shift;
-
-    my $arg = $self->Argument;
-
-    $arg =~ s/\bAll\b/Owner,Requestor,AdminCc,Cc/;
-
-    my ( @To, @PseudoTo, @Cc, @Bcc );
-
-
-    if ( $arg =~ /\bOtherRecipients\b/ ) {
-        if ( $self->TransactionObj->Attachments->First ) {
-            my @cc_addresses = Mail::Address->parse($self->TransactionObj->Attachments->First->GetHeader('RT-Send-Cc'));
-            foreach my $addr (@cc_addresses) {
-                  push @Cc, $addr->address;
-            }
-            my @bcc_addresses = Mail::Address->parse($self->TransactionObj->Attachments->First->GetHeader('RT-Send-Bcc'));
-
-            foreach my $addr (@bcc_addresses) {
-                  push @Bcc, $addr->address;
-            }
-
-        }
-    }
-
-    if ( $arg =~ /\bRequestor\b/ ) {
-        push ( @To, $self->TicketObj->Requestors->MemberEmailAddresses  );
-    }
-
-    
-
-    if ( $arg =~ /\bCc\b/ ) {
-
-        #If we have a To, make the Ccs, Ccs, otherwise, promote them to To
-        if (@To) {
-            push ( @Cc, $self->TicketObj->Cc->MemberEmailAddresses );
-            push ( @Cc, $self->TicketObj->QueueObj->Cc->MemberEmailAddresses  );
-        }
-        else {
-            push ( @Cc, $self->TicketObj->Cc->MemberEmailAddresses  );
-            push ( @To, $self->TicketObj->QueueObj->Cc->MemberEmailAddresses  );
-        }
-    }
-
-    if ( ( $arg =~ /\bOwner\b/ )
-        && ( $self->TicketObj->OwnerObj->id != $RT::Nobody->id ) )
-    {
-
-        # If we're not sending to Ccs or requestors, 
-        # then the Owner can be the To.
-        if (@To) {
-            push ( @Bcc, $self->TicketObj->OwnerObj->EmailAddress );
-        }
-        else {
-            push ( @To, $self->TicketObj->OwnerObj->EmailAddress );
-        }
-
-    }
-
-    if ( $arg =~ /\bAdminCc\b/ ) {
-        push ( @Bcc, $self->TicketObj->AdminCc->MemberEmailAddresses  );
-        push ( @Bcc, $self->TicketObj->QueueObj->AdminCc->MemberEmailAddresses  );
-    }
-
-    if ($RT::UseFriendlyToLine) {
-        unless (@To) {
-            push (
-               @PseudoTo,
-               sprintf($RT::FriendlyToLineFormat, $arg, $self->TicketObj->id),
-           );
-        }
-    }
-
-    my $creator = $self->TransactionObj->CreatorObj->EmailAddress();
-
-    #Strip the sender out of the To, Cc and AdminCc and set the 
-    # recipients fields used to build the message by the superclass.
-    # unless a flag is set 
-    if ($RT::NotifyActor) {
-        @{ $self->{'To'} }  = @To;
-        @{ $self->{'Cc'} }  = @Cc;
-        @{ $self->{'Bcc'} } = @Bcc;
-    }
-    else {
-        @{ $self->{'To'} }  = grep ( lc $_ ne lc $creator, @To );
-        @{ $self->{'Cc'} }  = grep ( lc $_ ne lc $creator, @Cc );
-        @{ $self->{'Bcc'} } = grep ( lc $_ ne lc $creator, @Bcc );
-    }
-    @{ $self->{'PseudoTo'} } = @PseudoTo;
-
-
-}
-
-# }}}
-
-eval "require RT::Action::Notify_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Notify_Vendor.pm});
-eval "require RT::Action::Notify_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/Notify_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/NotifyAsComment.pm b/rt/lib/RT/Action/NotifyAsComment.pm
deleted file mode 100755 (executable)
index f7cc875..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Action::NotifyAsComment;
-require RT::Action::Notify;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::Notify);
-
-
-=head2 SetReturnAddress
-
-Tell SendEmail that this message should come out as a comment. 
-Calls SUPER::SetReturnAddress.
-
-=cut
-
-sub SetReturnAddress {
-       my $self = shift;
-       
-       # Tell RT::Action::SendEmail that this should come 
-       # from the relevant comment email address.
-       $self->{'comment'} = 1;
-       
-       return($self->SUPER::SetReturnAddress(is_comment => 1));
-}
-
-eval "require RT::Action::NotifyAsComment_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/NotifyAsComment_Vendor.pm});
-eval "require RT::Action::NotifyAsComment_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/NotifyAsComment_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Action/RecordComment.pm b/rt/lib/RT/Action/RecordComment.pm
deleted file mode 100644 (file)
index d9740dc..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Action::RecordComment;
-require RT::Action::Generic;
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::Generic);
-
-=head1 NAME
-
-RT::Action::RecordComment - An Action which can be used from an
-external tool, or in any situation where a ticket transaction has not
-been started, to make a comment on the ticket.
-
-=head1 SYNOPSIS
-
-my $action_obj = RT::Action::RecordComment->new('TicketObj'   => $ticket_obj,
-                                               'TemplateObj' => $template_obj,
-                                               );
-my $result = $action_obj->Prepare();
-$action_obj->Commit() if $result;
-
-=head1 METHODS
-
-=head2 Prepare
-
-Check for the existence of a Transaction.  If a Transaction already
-exists, and is of type "Comment" or "Correspond", abort because that
-will give us a loop.
-
-=cut
-
-
-sub Prepare {
-    my $self = shift;
-    if (defined $self->{'TransactionObj'} &&
-       $self->{'TransactionObj'}->Type =~ /^(Comment|Correspond)$/) {
-       return undef;
-    }
-    return 1;
-}
-
-=head2 Commit
-
-Create a Transaction by calling the ticket's Comment method on our
-parsed Template, which may have an RT-Send-Cc or RT-Send-Bcc header.
-The Transaction will be of type Comment.  This Transaction can then be
-used by the scrips that actually send the email.
-
-=cut
-
-sub Commit {
-    my $self = shift;
-    $self->CreateTransaction();
-}
-
-sub CreateTransaction {
-    my $self = shift;
-
-    my ($result, $msg) = $self->{'TemplateObj'}->Parse(
-       TicketObj => $self->{'TicketObj'});
-    return undef unless $result;
-    
-    my ($trans, $desc, $transaction) = $self->{'TicketObj'}->Comment(
-       MIMEObj => $self->TemplateObj->MIMEObj);
-    $self->{'TransactionObj'} = $transaction;
-}
-    
-
-eval "require RT::Action::RecordComment_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/RecordComment_Vendor.pm});
-eval "require RT::Action::RecordComment_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/RecordComment_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/RecordCorrespondence.pm b/rt/lib/RT/Action/RecordCorrespondence.pm
deleted file mode 100644 (file)
index 62255ec..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Action::RecordCorrespondence;
-require RT::Action::Generic;
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::Generic);
-
-=head1 NAME
-
-RT::Action::RecordCorrespondence - An Action which can be used from an
-external tool, or in any situation where a ticket transaction has not
-been started, to make a comment on the ticket.
-
-=head1 SYNOPSIS
-
-my $action_obj = RT::Action::RecordCorrespondence->new(
-                       'TicketObj'   => $ticket_obj,
-                       'TemplateObj' => $template_obj,
-                       );
-my $result = $action_obj->Prepare();
-$action_obj->Commit() if $result;
-
-=head1 METHODS
-
-=head2 Prepare
-
-Check for the existence of a Transaction.  If a Transaction already
-exists, and is of type "Comment" or "Correspond", abort because that
-will give us a loop.
-
-=cut
-
-
-sub Prepare {
-    my $self = shift;
-    if (defined $self->{'TransactionObj'} &&
-       $self->{'TransactionObj'}->Type =~ /^(Comment|Correspond)$/) {
-       return undef;
-    }
-    return 1;
-}
-
-=head2 Commit
-
-Create a Transaction by calling the ticket's Correspond method on our
-parsed Template, which may have an RT-Send-Cc or RT-Send-Bcc header.
-The Transaction will be of type Correspond.  This Transaction can then
-be used by the scrips that actually send the email.
-
-=cut
-
-sub Commit {
-    my $self = shift;
-    $self->CreateTransaction();
-}
-
-sub CreateTransaction {
-    my $self = shift;
-
-    my ($result, $msg) = $self->{'TemplateObj'}->Parse(
-       TicketObj => $self->{'TicketObj'});
-    return undef unless $result;
-    
-    my ($trans, $desc, $transaction) = $self->{'TicketObj'}->Correspond(
-       MIMEObj => $self->TemplateObj->MIMEObj);
-    $self->{'TransactionObj'} = $transaction;
-}
-    
-
-eval "require RT::Action::RecordCorrespondence_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/RecordCorrespondence_Vendor.pm});
-eval "require RT::Action::RecordCorrespondence_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/RecordCorrespondence_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/ResolveMembers.pm b/rt/lib/RT/Action/ResolveMembers.pm
deleted file mode 100644 (file)
index 0081318..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# This Action will resolve all members of a resolved group ticket
-
-package RT::Action::ResolveMembers;
-require RT::Action::Generic;
-require RT::Links;
-
-use strict;
-use vars qw/@ISA/;
-@ISA=qw(RT::Action::Generic);
-
-#Do what we need to do and send it out.
-
-#What does this type of Action does
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return $self->loc("[_1] will resolve all members of a resolved group ticket.", ref $self);
-}
-# }}}
-
-
-# {{{ sub Prepare 
-sub Prepare  {
-    # nothing to prepare
-    return 1;
-}
-# }}}
-
-sub Commit {
-    my $self = shift;
-
-    my $Links=RT::Links->new($RT::SystemUser);
-    $Links->Limit(FIELD => 'Type', VALUE => 'MemberOf');
-    $Links->Limit(FIELD => 'Target', VALUE => $self->TicketObj->id);
-
-    while (my $Link=$Links->Next()) {
-       # Todo: Try to deal with remote URIs as well
-       next unless $Link->BaseURI->IsLocal;
-       my $base=RT::Ticket->new($self->TicketObj->CurrentUser);
-       # Todo: Only work if Base is a plain ticket num:
-       $base->Load($Link->Base);
-       # I'm afraid this might be a major bottleneck if ResolveGroupTicket is on.
-        $base->Resolve;
-    }
-}
-
-
-# Applicability checked in Commit.
-
-# {{{ sub IsApplicable 
-sub IsApplicable  {
-  my $self = shift;
-  1;  
-  return 1;
-}
-# }}}
-
-eval "require RT::Action::ResolveMembers_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/ResolveMembers_Vendor.pm});
-eval "require RT::Action::ResolveMembers_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/ResolveMembers_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Action/SendEmail.pm b/rt/lib/RT/Action/SendEmail.pm
deleted file mode 100755 (executable)
index 3c70dc4..0000000
+++ /dev/null
@@ -1,904 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Portions Copyright 2000 Tobias Brox <tobix@cpan.org>
-
-package RT::Action::SendEmail;
-require RT::Action::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::Generic);
-
-use MIME::Words qw(encode_mimeword);
-
-use RT::EmailParser;
-use Mail::Address;
-
-=head1 NAME
-
-RT::Action::SendEmail - An Action which users can use to send mail 
-or can subclassed for more specialized mail sending behavior. 
-RT::Action::AutoReply is a good example subclass.
-
-=head1 SYNOPSIS
-
-  require RT::Action::SendEmail;
-  @ISA  = qw(RT::Action::SendEmail);
-
-
-=head1 DESCRIPTION
-
-Basically, you create another module RT::Action::YourAction which ISA
-RT::Action::SendEmail.
-
-=begin testing
-
-ok (require RT::Action::SendEmail);
-
-=end testing
-
-
-=head1 AUTHOR
-
-Jesse Vincent <jesse@bestpractical.com> and Tobias Brox <tobix@cpan.org>
-
-=head1 SEE ALSO
-
-perl(1).
-
-=cut
-
-# {{{ Scrip methods (_Init, Commit, Prepare, IsApplicable)
-
-
-# {{{ sub Commit
-
-sub Commit {
-    my $self = shift;
-
-    return($self->SendMessage($self->TemplateObj->MIMEObj));
-}
-
-# }}}
-
-# {{{ sub Prepare
-
-sub Prepare {
-    my $self = shift;
-
-    my ( $result, $message ) = $self->TemplateObj->Parse(
-        Argument       => $self->Argument,
-        TicketObj      => $self->TicketObj,
-        TransactionObj => $self->TransactionObj
-    );
-    if ( !$result ) {
-        return (undef);
-    }
-
-    my $MIMEObj = $self->TemplateObj->MIMEObj;
-
-    # Header
-    $self->SetRTSpecialHeaders();
-
-    $self->RemoveInappropriateRecipients();
-
-    # Go add all the Tos, Ccs and Bccs that we need to to the message to
-    # make it happy, but only if we actually have values in those arrays.
-
-    # TODO: We should be pulling the recipients out of the template and shove them into To, Cc and Bcc
-
-    $self->SetHeader( 'To', join ( ', ', @{ $self->{'To'} } ) )
-      if ( ! $MIMEObj->head->get('To') &&  $self->{'To'} && @{ $self->{'To'} } );
-    $self->SetHeader( 'Cc', join ( ', ', @{ $self->{'Cc'} } ) )
-      if ( !$MIMEObj->head->get('Cc') && $self->{'Cc'} && @{ $self->{'Cc'} } );
-    $self->SetHeader( 'Bcc', join ( ', ', @{ $self->{'Bcc'} } ) )
-      if ( !$MIMEObj->head->get('Bcc') && $self->{'Bcc'} && @{ $self->{'Bcc'} } );
-
-    # PseudoTo (fake to headers) shouldn't get matched for message recipients.
-    # If we don't have any 'To' header (but do have other recipients), drop in
-    # the pseudo-to header.
-    $self->SetHeader( 'To', join ( ', ', @{ $self->{'PseudoTo'} } ) )
-      if ( $self->{'PseudoTo'} && ( @{ $self->{'PseudoTo'} } )
-        and ( !$MIMEObj->head->get('To') ) ) and ( $MIMEObj->head->get('Cc') or $MIMEObj->head->get('Bcc'));
-
-    # We should never have to set the MIME-Version header
-    $self->SetHeader( 'MIME-Version', '1.0' );
-
-    # try to convert message body from utf-8 to $RT::EmailOutputEncoding
-    $self->SetHeader( 'Content-Type', 'text/plain; charset="utf-8"' );
-
-    # fsck.com #5959: Since RT sends 8bit mail, we should say so.
-    $self->SetHeader( 'Content-Transfer-Encoding','8bit');
-
-
-    RT::I18N::SetMIMEEntityToEncoding( $MIMEObj, $RT::EmailOutputEncoding,
-        'mime_words_ok' );
-    $self->SetHeader( 'Content-Type', 'text/plain; charset="' . $RT::EmailOutputEncoding . '"' );
-
-    # Build up a MIME::Entity that looks like the original message.
-    $self->AddAttachments() if ( $MIMEObj->head->get('RT-Attach-Message') );
-
-    return $result;
-
-}
-
-# }}}
-
-# }}}
-
-
-
-=head2 To
-
-Returns an array of Mail::Address objects containing all the To: recipients for this notification
-
-=cut
-
-sub To {
-    my $self = shift;
-    return ($self->_AddressesFromHeader('To'));
-}
-
-=head2 Cc
-
-Returns an array of Mail::Address objects containing all the Cc: recipients for this notification
-
-=cut
-
-sub Cc { 
-    my $self = shift;
-    return ($self->_AddressesFromHeader('Cc'));
-}
-
-=head2 Bcc
-
-Returns an array of Mail::Address objects containing all the Bcc: recipients for this notification
-
-=cut
-
-
-sub Bcc {
-    my $self = shift;
-    return ($self->_AddressesFromHeader('Bcc'));
-
-}
-
-sub _AddressesFromHeader  {
-    my $self = shift;
-    my $field = shift;
-    my $header = $self->TemplateObj->MIMEObj->head->get($field);
-    my @addresses = Mail::Address->parse($header);
-
-    return (@addresses);
-}
-
-
-# {{{ SendMessage
-
-=head2 SendMessage MIMEObj
-
-sends the message using RT's preferred API.
-TODO: Break this out to a separate module
-
-=cut
-
-sub SendMessage {
-    my $self    = shift;
-    my $MIMEObj = shift;
-
-    my $msgid = $MIMEObj->head->get('Message-ID');
-    chomp $msgid;
-
-    $self->ScripActionObj->{_Message_ID}++;
-    
-    $RT::Logger->info( $msgid . " #"
-        . $self->TicketObj->id . "/"
-        . $self->TransactionObj->id
-        . " - Scrip "
-        . $self->ScripObj->id . " "
-        . $self->ScripObj->Description );
-
-    #If we don't have any recipients to send to, don't send a message;
-    unless ( $MIMEObj->head->get('To')
-        || $MIMEObj->head->get('Cc')
-        || $MIMEObj->head->get('Bcc') )
-    {
-        $RT::Logger->info( $msgid . " No recipients found. Not sending.\n" );
-        return (1);
-    }
-
-
-    if ( $RT::MailCommand eq 'sendmailpipe' ) {
-        eval {
-            open( MAIL, "|$RT::SendmailPath $RT::SendmailArguments" ) || die $!;
-            print MAIL $MIMEObj->as_string;
-            close(MAIL);
-        };
-        if ($@) {
-            $RT::Logger->crit( $msgid . "Could not send mail. -" . $@ );
-        }
-    }
-    else {
-        my @mailer_args = ($RT::MailCommand);
-
-        local $ENV{MAILADDRESS};
-
-        if ( $RT::MailCommand eq 'sendmail' ) {
-            push @mailer_args, split(/\s+/, $RT::SendmailArguments);
-        }
-        elsif ( $RT::MailCommand eq 'smtp' ) {
-            $ENV{MAILADDRESS} = $RT::SMTPFrom || $MIMEObj->head->get('From');
-            push @mailer_args, ( Server => $RT::SMTPServer );
-            push @mailer_args, ( Debug  => $RT::SMTPDebug );
-        }
-        else {
-            push @mailer_args, $RT::MailParams;
-        }
-
-        unless ( $MIMEObj->send(@mailer_args) ) {
-            $RT::Logger->crit( $msgid . "Could not send mail." );
-            return (0);
-        }
-    }
-
-    my $success =
-      ( $msgid
-      . " sent To: "
-      . $MIMEObj->head->get('To') . " Cc: "
-      . $MIMEObj->head->get('Cc') . " Bcc: "
-      . $MIMEObj->head->get('Bcc') );
-    $success =~ s/\n//gi;
-
-    $self->RecordOutgoingMailTransaction($MIMEObj) if ($RT::RecordOutgoingEmail);
-
-    $RT::Logger->info($success);
-
-    return (1);
-}
-
-# }}}
-
-# {{{ AddAttachments 
-
-=head2 AddAttachments
-
-Takes any attachments to this transaction and attaches them to the message
-we're building.
-
-=cut
-
-
-sub AddAttachments {
-    my $self = shift;
-
-    my $MIMEObj = $self->TemplateObj->MIMEObj;
-
-    $MIMEObj->head->delete('RT-Attach-Message');
-
-    my $attachments = RT::Attachments->new($RT::SystemUser);
-    $attachments->Limit(
-        FIELD => 'TransactionId',
-        VALUE => $self->TransactionObj->Id
-    );
-    $attachments->OrderBy('id');
-
-    my $transaction_content_obj = $self->TransactionObj->ContentObj;
-
-    # attach any of this transaction's attachments
-    while ( my $attach = $attachments->Next ) {
-
-        # Don't attach anything blank
-        next unless ( $attach->ContentLength );
-
-# We want to make sure that we don't include the attachment that's being sued as the "Content" of this message"
-        next
-          if ( $transaction_content_obj
-            && $transaction_content_obj->Id == $attach->Id
-            && $transaction_content_obj->ContentType =~ qr{text/plain}i );
-        $MIMEObj->make_multipart('mixed');
-        $MIMEObj->attach(
-            Type     => $attach->ContentType,
-            Charset  => $attach->OriginalEncoding,
-            Data     => $attach->OriginalContent,
-            Filename => $self->MIMEEncodeString( $attach->Filename,
-                $RT::EmailOutputEncoding ),
-            'RT-Attachment:' => $self->TicketObj->Id."/".$self->TransactionObj->Id."/".$attach->id,
-            Encoding => '-SUGGEST'
-        );
-    }
-
-}
-
-# }}}
-
-# {{{ RecordOutgoingMailTransaction
-
-=head2 RecordOutgoingMailTransaction MIMEObj
-
-Record a transaction in RT with this outgoing message for future record-keeping purposes
-
-=cut
-
-
-
-sub RecordOutgoingMailTransaction {
-    my $self = shift;
-    my $MIMEObj = shift;
-           
-
-    my @parts = $MIMEObj->parts;
-    my @attachments;
-    my @keep;
-    foreach my $part (@parts) {
-        my $attach = $part->head->get('RT-Attachment');
-        if ($attach) {
-            $RT::Logger->debug("We found an attachment. we want to not record it.");
-            push @attachments, $attach;
-        } else {
-            $RT::Logger->debug("We found a part. we want to record it.");
-            push @keep, $part;
-        }
-    }
-    $MIMEObj->parts(\@keep);
-    foreach my $attachment (@attachments) {
-        $MIMEObj->head->add('RT-Attachment', $attachment);
-    }
-
-    RT::I18N::SetMIMEEntityToEncoding( $MIMEObj, 'utf-8', 'mime_words_ok' );
-
-    my $transaction = RT::Transaction->new($self->TransactionObj->CurrentUser);
-
-    # XXX: TODO -> Record attachments as references to things in the attachments table, maybe.
-
-    my $type;
-    if ($self->TransactionObj->Type eq 'Comment') {
-        $type = 'CommentEmailRecord';
-    } else {
-        $type = 'EmailRecord';
-    }
-
-    my $msgid = $MIMEObj->head->get('Message-ID');
-    chomp $msgid;
-
-    my ( $id, $msg ) = $transaction->Create(
-        Ticket         => $self->TicketObj->Id,
-        Type           => $type,
-        Data           => $msgid,
-        MIMEObj        => $MIMEObj,
-        ActivateScrips => 0
-    );
-
-
-}
-
-# }}}
-#
-
-# {{{ sub SetRTSpecialHeaders
-
-=head2 SetRTSpecialHeaders 
-
-This routine adds all the random headers that RT wants in a mail message
-that don't matter much to anybody else.
-
-=cut
-
-sub SetRTSpecialHeaders {
-    my $self = shift;
-
-    $self->SetSubject();
-    $self->SetSubjectToken();
-    $self->SetHeaderAsEncoding( 'Subject', $RT::EmailOutputEncoding )
-      if ($RT::EmailOutputEncoding);
-    $self->SetReturnAddress();
-    $self->SetReferencesHeaders();
-
-    unless ($self->TemplateObj->MIMEObj->head->get('Message-ID')) {
-      # Get Message-ID for this txn
-      my $msgid = "";
-      $msgid = $self->TransactionObj->Message->First->GetHeader("RT-Message-ID")
-        || $self->TransactionObj->Message->First->GetHeader("Message-ID")
-        if $self->TransactionObj->Message && $self->TransactionObj->Message->First;
-
-      # If there is one, and we can parse it, then base our Message-ID on it
-      if ($msgid 
-          and $msgid =~ s/<(rt-.*?-\d+-\d+)\.(\d+-0-0)\@$RT::Organization>$/
-                         "<$1." . $self->TicketObj->id
-                          . "-" . $self->ScripObj->id
-                          . "-" . $self->ScripActionObj->{_Message_ID}
-                          . "@" . $RT::Organization . ">"/eg
-          and $2 == $self->TicketObj->id) {
-        $self->SetHeader( "Message-ID" => $msgid );
-      } else {
-        $self->SetHeader( 'Message-ID',
-            "<rt-"
-            . $RT::VERSION . "-"
-            . $$ . "-"
-            . CORE::time() . "-"
-            . int(rand(2000)) . '.'
-            . $self->TicketObj->id . "-"
-            . $self->ScripObj->id . "-"  # Scrip
-            . $self->ScripActionObj->{_Message_ID} . "@"  # Email sent
-            . $RT::Organization
-            . ">" );
-      }
-    }
-
-    $self->SetHeader( 'Precedence', "bulk" )
-      unless ( $self->TemplateObj->MIMEObj->head->get("Precedence") );
-
-    $self->SetHeader( 'X-RT-Loop-Prevention', $RT::rtname );
-    $self->SetHeader( 'RT-Ticket',
-        $RT::rtname . " #" . $self->TicketObj->id() );
-    $self->SetHeader( 'Managed-by',
-        "RT $RT::VERSION (http://www.bestpractical.com/rt/)" );
-
-    $self->SetHeader( 'RT-Originator',
-        $self->TransactionObj->CreatorObj->EmailAddress );
-
-}
-
-# }}}
-
-
-# }}}
-
-# {{{ RemoveInappropriateRecipients
-
-=head2 RemoveInappropriateRecipients
-
-Remove addresses that are RT addresses or that are on this transaction's blacklist
-
-=cut
-
-sub RemoveInappropriateRecipients {
-    my $self = shift;
-
-    my @blacklist;
-
-    my @types = qw/To Cc Bcc/;
-
-    # Weed out any RT addresses. We really don't want to talk to ourselves!
-    foreach my $type (@types) {
-        @{ $self->{$type} } =
-          RT::EmailParser::CullRTAddresses( "", @{ $self->{$type} } );
-    }
-
-    # If there are no recipients, don't try to send the message.
-    # If the transaction has content and has the header RT-Squelch-Replies-To
-
-    if ( $self->TransactionObj->Attachments->First() ) {
-        if (
-            $self->TransactionObj->Attachments->First->GetHeader(
-                'RT-DetectedAutoGenerated')
-          )
-        {
-
-            # What do we want to do with this? It's probably (?) a bounce
-            # caused by one of the watcher addresses being broken.
-            # Default ("true") is to redistribute, for historical reasons.
-
-            if ( !$RT::RedistributeAutoGeneratedMessages ) {
-
-                # Don't send to any watchers.
-                @{ $self->{'To'} }  = ();
-                @{ $self->{'Cc'} }  = ();
-                @{ $self->{'Bcc'} } = ();
-
-            }
-            elsif ( $RT::RedistributeAutoGeneratedMessages eq 'privileged' ) {
-
-                # Only send to "privileged" watchers.
-                #
-
-                foreach my $type (@types) {
-
-                    foreach my $addr ( @{ $self->{$type} } ) {
-                        my $user = RT::User->new($RT::SystemUser);
-                        $user->LoadByEmail($addr);
-                        @{ $self->{$type} } =
-                          grep ( !/^\Q$addr\E$/, @{ $self->{$type} } )
-                          if ( !$user->Privileged );
-
-                    }
-                }
-
-            }
-
-        }
-
-        my $squelch =
-          $self->TransactionObj->Attachments->First->GetHeader(
-            'RT-Squelch-Replies-To');
-
-        if ($squelch) {
-            @blacklist = split( /,/, $squelch );
-        }
-    }
-
-    # Let's grab the SquelchMailTo attribue and push those entries into the @blacklist
-    my @non_recipients = $self->TicketObj->SquelchMailTo;
-    foreach my $attribute (@non_recipients) {
-        push @blacklist, $attribute->Content;
-    }
-
-    # Cycle through the people we're sending to and pull out anyone on the
-    # system blacklist
-
-    foreach my $person_to_yank (@blacklist) {
-        $person_to_yank =~ s/\s//g;
-        foreach my $type (@types) {
-            @{ $self->{$type} } =
-              grep ( !/^\Q$person_to_yank\E$/, @{ $self->{$type} } );
-        }
-    }
-}
-
-# }}}
-# {{{ sub SetReturnAddress
-
-=head2 SetReturnAddress is_comment => BOOLEAN
-
-Calculate and set From and Reply-To headers based on the is_comment flag.
-
-=cut
-
-sub SetReturnAddress {
-
-    my $self = shift;
-    my %args = (
-        is_comment => 0,
-        @_
-    );
-
-    # From and Reply-To
-    # $args{is_comment} should be set if the comment address is to be used.
-    my $replyto;
-
-    if ( $args{'is_comment'} ) {
-        $replyto = $self->TicketObj->QueueObj->CommentAddress
-          || $RT::CommentAddress;
-    }
-    else {
-        $replyto = $self->TicketObj->QueueObj->CorrespondAddress
-          || $RT::CorrespondAddress;
-    }
-
-    unless ( $self->TemplateObj->MIMEObj->head->get('From') ) {
-        if ($RT::UseFriendlyFromLine) {
-            my $friendly_name = $self->TransactionObj->CreatorObj->RealName;
-            if ( $friendly_name =~ /^"(.*)"$/ ) {    # a quoted string
-                $friendly_name = $1;
-            }
-
-            $friendly_name =~ s/"/\\"/g;
-            $self->SetHeader(
-                'From',
-                sprintf(
-                    $RT::FriendlyFromLineFormat,
-                    $self->MIMEEncodeString( $friendly_name,
-                        $RT::EmailOutputEncoding ),
-                    $replyto
-                ),
-            );
-        }
-        else {
-            $self->SetHeader( 'From', $replyto );
-        }
-    }
-
-    unless ( $self->TemplateObj->MIMEObj->head->get('Reply-To') ) {
-        $self->SetHeader( 'Reply-To', "$replyto" );
-    }
-
-}
-
-# }}}
-
-# {{{ sub SetHeader
-
-=head2 SetHeader FIELD, VALUE
-
-Set the FIELD of the current MIME object into VALUE.
-
-=cut
-
-sub SetHeader {
-    my $self  = shift;
-    my $field = shift;
-    my $val   = shift;
-
-    chomp $val;
-    chomp $field;
-    $self->TemplateObj->MIMEObj->head->fold_length( $field, 10000 );
-    $self->TemplateObj->MIMEObj->head->replace( $field,     $val );
-    return $self->TemplateObj->MIMEObj->head->get($field);
-}
-
-# }}}
-
-
-# {{{ sub SetSubject
-
-=head2 SetSubject
-
-This routine sets the subject. it does not add the rt tag. that gets done elsewhere
-If $self->{'Subject'} is already defined, it uses that. otherwise, it tries to get
-the transaction's subject.
-
-=cut 
-
-sub SetSubject {
-    my $self = shift;
-    my $subject;
-
-    my $message = $self->TransactionObj->Attachments;
-    if ( $self->TemplateObj->MIMEObj->head->get('Subject') ) {
-        return ();
-    }
-    if ( $self->{'Subject'} ) {
-        $subject = $self->{'Subject'};
-    }
-    elsif ( ( $message->First() ) && ( $message->First->Headers ) ) {
-        my $header = $message->First->Headers();
-        $header =~ s/\n\s+/ /g;
-        if ( $header =~ /^Subject: (.*?)$/m ) {
-            $subject = $1;
-        }
-        else {
-            $subject = $self->TicketObj->Subject();
-        }
-
-    }
-    else {
-        $subject = $self->TicketObj->Subject();
-    }
-
-    $subject =~ s/(\r\n|\n|\s)/ /gi;
-
-    chomp $subject;
-    $self->SetHeader( 'Subject', $subject );
-
-}
-
-# }}}
-
-# {{{ sub SetSubjectToken
-
-=head2 SetSubjectToken
-
-This routine fixes the RT tag in the subject. It's unlikely that you want to overwrite this.
-
-=cut
-
-sub SetSubjectToken {
-    my $self = shift;
-    my $tag  = "[$RT::rtname #" . $self->TicketObj->id . "]";
-    my $sub  = $self->TemplateObj->MIMEObj->head->get('Subject');
-    unless ( $sub =~ /\Q$tag\E/ ) {
-        $sub =~ s/(\r\n|\n|\s)/ /gi;
-        chomp $sub;
-        $self->TemplateObj->MIMEObj->head->replace( 'Subject', "$tag $sub" );
-    }
-}
-
-# }}}
-
-=head2 SetReferencesHeaders
-
-Set References and In-Reply-To headers for this message.
-
-=cut
-
-sub SetReferencesHeaders {
-
-    my $self = shift;
-    my ( @in_reply_to, @references, @msgid );
-
-    my $attachments = $self->TransactionObj->Message;
-
-    if ( my $top = $attachments->First() ) {
-        @in_reply_to = split(/\s+/m, $top->GetHeader('In-Reply-To') || '');  
-        @references = split(/\s+/m, $top->GetHeader('References') || '' );  
-        @msgid = split(/\s+/m, $top->GetHeader('Message-ID') || ''); 
-    }
-    else {
-        return (undef);
-    }
-
-    # There are two main cases -- this transaction was created with
-    # the RT Web UI, and hence we want to *not* append its Message-ID
-    # to the References and In-Reply-To.  OR it came from an outside
-    # source, and we should treat it as per the RFC
-    if ( "@msgid" =~ /<(rt-.*?-\d+-\d+)\.(\d+-0-0)\@$RT::Organization>/) {
-
-      # Make all references which are internal be to version which we
-      # have sent out
-      for (@references, @in_reply_to) {
-        s/<(rt-.*?-\d+-\d+)\.(\d+-0-0)\@$RT::Organization>$/
-          "<$1." . $self->TicketObj->id .
-             "-" . $self->ScripObj->id .
-             "-" . $self->ScripActionObj->{_Message_ID} .
-             "@" . $RT::Organization . ">"/eg
-      }
-
-      # In reply to whatever the internal message was in reply to
-      $self->SetHeader( 'In-Reply-To', join( " ",  ( @in_reply_to )));
-
-      # Default the references to whatever we're in reply to
-      @references = @in_reply_to unless @references;
-
-      # References are unchanged from internal
-    } else {
-      # In reply to that message
-      $self->SetHeader( 'In-Reply-To', join( " ",  ( @msgid )));
-
-      # Default the references to whatever we're in reply to
-      @references = @in_reply_to unless @references;
-
-      # Push that message onto the end of the references
-      push @references, @msgid;
-    }
-
-    # Push pseudo-ref to the front
-    my $pseudo_ref = $self->PseudoReference;
-    @references = ($pseudo_ref, grep { $_ ne $pseudo_ref } @references);
-
-    # If there are more than 10 references headers, remove all but the
-    # first four and the last six (Gotta keep this from growing
-    # forever)
-    splice(@references, 4, -6) if ($#references >= 10);
-
-    # Add on the references
-    $self->SetHeader( 'References', join( " ",   @references) );
-    $self->TemplateObj->MIMEObj->head->fold_length( 'References', 80 );
-
-}
-
-# }}}
-
-=head2 PseudoReference
-
-Returns a fake Message-ID: header for the ticket to allow a base level of threading
-
-=cut
-
-sub PseudoReference {
-
-    my $self = shift;
-    my $pseudo_ref =  '<RT-Ticket-'.$self->TicketObj->id .'@'.$RT::Organization .'>';
-    return $pseudo_ref;
-}
-
-
-# {{{ SetHeadingAsEncoding
-
-=head2 SetHeaderAsEncoding($field_name, $charset_encoding)
-
-This routine converts the field into specified charset encoding.
-
-=cut
-
-sub SetHeaderAsEncoding {
-    my $self = shift;
-    my ( $field, $enc ) = ( shift, shift );
-
-    if ($field eq 'From' and $RT::SMTPFrom) {
-        $self->TemplateObj->MIMEObj->head->replace( $field, $RT::SMTPFrom );
-       return;
-    }
-
-    my $value = $self->TemplateObj->MIMEObj->head->get($field);
-
-    # don't bother if it's us-ascii
-
-    # See RT::I18N, 'NOTES:  Why Encode::_utf8_off before Encode::from_to'
-
-    $value =  $self->MIMEEncodeString($value, $enc);
-
-    $self->TemplateObj->MIMEObj->head->replace( $field, $value );
-
-
-} 
-# }}}
-
-# {{{ MIMEEncodeString
-
-=head2 MIMEEncodeString STRING ENCODING
-
-Takes a string and a possible encoding and returns the string wrapped in MIME goo.
-
-=cut
-
-sub MIMEEncodeString {
-    my  $self = shift;
-    my $value = shift;
-    # using RFC2047 notation, sec 2.
-    # encoded-word = "=?" charset "?" encoding "?" encoded-text "?="
-    my $charset = shift;
-    my $encoding = 'B';
-    # An 'encoded-word' may not be more than 75 characters long
-    #
-    # MIME encoding increases 4/3*(number of bytes), and always in multiples
-    # of 4. Thus we have to find the best available value of bytes available
-    # for each chunk.
-    #
-    # First we get the integer max which max*4/3 would fit on space.
-    # Then we find the greater multiple of 3 lower or equal than $max.
-    my $max = int(((75-length('=?'.$charset.'?'.$encoding.'?'.'?='))*3)/4);
-    $max = int($max/3)*3;
-
-    chomp $value;
-    return ($value) unless $value =~ /[^\x20-\x7e]/;
-
-    $value =~ s/\s*$//;
-    Encode::_utf8_off($value);
-    my $res = Encode::from_to( $value, "utf-8", $charset );
-   
-    if ($max > 0) {
-      # copy value and split in chuncks
-      my $str=$value;
-      my @chunks = unpack("a$max" x int(length($str)/$max 
-                                  + ((length($str) % $max) ? 1:0)), $str);
-      # encode an join chuncks
-      $value = join " ", 
-                     map encode_mimeword( $_, $encoding, $charset ), @chunks ;
-      return($value); 
-    } else {
-      # gives an error...
-      $RT::Logger->crit("Can't encode! Charset or encoding too big.\n");
-    }
-}
-
-# }}}
-
-eval "require RT::Action::SendEmail_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/SendEmail_Vendor.pm});
-eval "require RT::Action::SendEmail_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/SendEmail_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Action/SetPriority.pm b/rt/lib/RT/Action/SetPriority.pm
deleted file mode 100644 (file)
index c129bf0..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Action::SetPriority;
-require RT::Action::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA=qw(RT::Action::Generic);
-
-#Do what we need to do and send it out.
-
-#What does this type of Action does
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return (ref $self . " will set a ticket's priority to the argument provided.");
-}
-# }}}
-
-
-# {{{ sub Prepare 
-sub Prepare  {
-    # nothing to prepare
-    return 1;
-}
-# }}}
-
-sub Commit {
-    my $self = shift;
-    $self->TicketObj->SetPriority($self->Argument);
-
-}
-
-eval "require RT::Action::SetPriority_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/SetPriority_Vendor.pm});
-eval "require RT::Action::SetPriority_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/SetPriority_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Action/UserDefined.pm b/rt/lib/RT/Action/UserDefined.pm
deleted file mode 100644 (file)
index 90653f6..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-package RT::Action::UserDefined;
-use RT::Action::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Action::Generic);
-
-=head2 Prepare
-
-This happens on every transaction. it's always applicable
-
-=cut
-
-sub Prepare {
-    my $self = shift;
-    my $retval = eval $self->ScripObj->CustomPrepareCode;
-    if ($@) {
-        $RT::Logger->error("Scrip ".$self->ScripObj->Id. " Prepare failed: ".$@);
-        return (undef);
-    }
-    return ($retval);
-}
-
-=head2 Commit
-
-This happens on every transaction. it's always applicable
-
-=cut
-
-sub Commit {
-    my $self = shift;
-    my $retval = eval $self->ScripObj->CustomCommitCode;
-    if ($@) {
-        $RT::Logger->error("Scrip ".$self->ScripObj->Id. " Commit failed: ".$@);
-        return (undef);
-    }
-    return ($retval);
-}
-
-eval "require RT::Action::UserDefined_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/UserDefined_Vendor.pm});
-eval "require RT::Action::UserDefined_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/UserDefined_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Attachment.pm b/rt/lib/RT/Attachment.pm
deleted file mode 100755 (executable)
index 2a09b12..0000000
+++ /dev/null
@@ -1,394 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Attachment
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Attachment;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Attachments');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'TransactionId'.
-  int(11) 'Parent'.
-  varchar(160) 'MessageId'.
-  varchar(255) 'Subject'.
-  varchar(255) 'Filename'.
-  varchar(80) 'ContentType'.
-  varchar(80) 'ContentEncoding'.
-  longtext 'Content'.
-  longtext 'Headers'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                TransactionId => '0',
-                Parent => '0',
-                MessageId => '',
-                Subject => '',
-                Filename => '',
-                ContentType => '',
-                ContentEncoding => '',
-                Content => '',
-                Headers => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         TransactionId => $args{'TransactionId'},
-                         Parent => $args{'Parent'},
-                         MessageId => $args{'MessageId'},
-                         Subject => $args{'Subject'},
-                         Filename => $args{'Filename'},
-                         ContentType => $args{'ContentType'},
-                         ContentEncoding => $args{'ContentEncoding'},
-                         Content => $args{'Content'},
-                         Headers => $args{'Headers'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 TransactionId
-
-Returns the current value of TransactionId. 
-(In the database, TransactionId is stored as int(11).)
-
-
-
-=head2 SetTransactionId VALUE
-
-
-Set TransactionId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, TransactionId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Parent
-
-Returns the current value of Parent. 
-(In the database, Parent is stored as int(11).)
-
-
-
-=head2 SetParent VALUE
-
-
-Set Parent to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Parent will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 MessageId
-
-Returns the current value of MessageId. 
-(In the database, MessageId is stored as varchar(160).)
-
-
-
-=head2 SetMessageId VALUE
-
-
-Set MessageId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, MessageId will be stored as a varchar(160).)
-
-
-=cut
-
-
-=head2 Subject
-
-Returns the current value of Subject. 
-(In the database, Subject is stored as varchar(255).)
-
-
-
-=head2 SetSubject VALUE
-
-
-Set Subject to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Subject will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Filename
-
-Returns the current value of Filename. 
-(In the database, Filename is stored as varchar(255).)
-
-
-
-=head2 SetFilename VALUE
-
-
-Set Filename to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Filename will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 ContentType
-
-Returns the current value of ContentType. 
-(In the database, ContentType is stored as varchar(80).)
-
-
-
-=head2 SetContentType VALUE
-
-
-Set ContentType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ContentType will be stored as a varchar(80).)
-
-
-=cut
-
-
-=head2 ContentEncoding
-
-Returns the current value of ContentEncoding. 
-(In the database, ContentEncoding is stored as varchar(80).)
-
-
-
-=head2 SetContentEncoding VALUE
-
-
-Set ContentEncoding to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ContentEncoding will be stored as a varchar(80).)
-
-
-=cut
-
-
-=head2 Content
-
-Returns the current value of Content. 
-(In the database, Content is stored as longtext.)
-
-
-
-=head2 SetContent VALUE
-
-
-Set Content to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Content will be stored as a longtext.)
-
-
-=cut
-
-
-=head2 Headers
-
-Returns the current value of Headers. 
-(In the database, Headers is stored as longtext.)
-
-
-
-=head2 SetHeaders VALUE
-
-
-Set Headers to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Headers will be stored as a longtext.)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        TransactionId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Parent => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        MessageId => 
-               {read => 1, write => 1, sql_type => 12, length => 160,  is_blob => 0,  is_numeric => 0,  type => 'varchar(160)', default => ''},
-        Subject => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Filename => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        ContentType => 
-               {read => 1, write => 1, sql_type => 12, length => 80,  is_blob => 0,  is_numeric => 0,  type => 'varchar(80)', default => ''},
-        ContentEncoding => 
-               {read => 1, write => 1, sql_type => 12, length => 80,  is_blob => 0,  is_numeric => 0,  type => 'varchar(80)', default => ''},
-        Content => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'longtext', default => ''},
-        Headers => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'longtext', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::Attachment_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attachment_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attachment_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attachment_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attachment_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attachment_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Attachment_Overlay, RT::Attachment_Vendor, RT::Attachment_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Attachment_Overlay.pm b/rt/lib/RT/Attachment_Overlay.pm
deleted file mode 100644 (file)
index fe189e3..0000000
+++ /dev/null
@@ -1,614 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 SYNOPSIS
-
-  use RT::Attachment;
-
-
-=head1 DESCRIPTION
-
-This module should never be instantiated directly by client code. it's an internal 
-module which should only be instantiated through exported APIs in Ticket, Queue and other 
-similar objects.
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Attachment);
-
-=end testing
-
-=cut
-
-
-package RT::Attachment;
-
-use strict;
-no warnings qw(redefine);
-
-use MIME::Base64;
-use MIME::QuotedPrint;
-
-
-# {{{ sub _OverlayAccessible 
-sub _OverlayAccessible {
-    {
-    TransactionId   => { 'read'=>1, 'public'=>1, 'write' => 0 },
-    MessageId       => { 'read'=>1, 'write' => 0 },
-    Parent          => { 'read'=>1, 'write' => 0 },
-    ContentType     => { 'read'=>1, 'write' => 0 },
-    Subject         => { 'read'=>1, 'write' => 0 },
-    Content         => { 'read'=>1, 'write' => 0 },
-    ContentEncoding => { 'read'=>1, 'write' => 0 },
-    Headers         => { 'read'=>1, 'write' => 0 },
-    Filename        => { 'read'=>1, 'write' => 0 },
-    Creator         => { 'read'=>1, 'auto'=>1, },
-    Created         => { 'read'=>1, 'auto'=>1, },
-  };
-}
-# }}}
-
-# {{{ sub TransactionObj 
-
-=head2 TransactionObj
-
-Returns the transaction object asscoiated with this attachment.
-
-=cut
-
-sub TransactionObj {
-    require RT::Transaction;
-    my $self=shift;
-    unless (exists $self->{_TransactionObj}) {
-       $self->{_TransactionObj}=RT::Transaction->new($self->CurrentUser);
-       $self->{_TransactionObj}->Load($self->TransactionId);
-    }
-    unless ($self->{_TransactionObj}->Id) {
-        $RT::Logger->crit("Attachment ".$self->id." can't find transaction ".$self->TransactionId." which it is ostensibly part of. That's bad");
-    }
-    return $self->{_TransactionObj};
-}
-
-# }}}
-
-# {{{ sub Create 
-
-=head2 Create
-
-Create a new attachment. Takes a paramhash:
-    
-    'Attachment' Should be a single MIME body with optional subparts
-    'Parent' is an optional Parent RT::Attachment object
-    'TransactionId' is the mandatory id of the Transaction this attachment is associated with.;
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my ($id);
-    my %args = ( id            => 0,
-                 TransactionId => 0,
-                 Parent        => 0,
-                 Attachment    => undef,
-                 @_ );
-
-    #For ease of reference
-    my $Attachment = $args{'Attachment'};
-
-           #if we didn't specify a ticket, we need to bail
-           if ( $args{'TransactionId'} == 0 ) {
-        $RT::Logger->crit( "RT::Attachment->Create couldn't, as you didn't specify a transaction\n" );
-        return (0);
-
-    }
-
-    #If we possibly can, collapse it to a singlepart
-    $Attachment->make_singlepart;
-
-    #Get the subject
-    my $Subject = $Attachment->head->get( 'subject', 0 );
-    defined($Subject) or $Subject = '';
-    chomp($Subject);
-
-    #Get the Message-ID
-    my $MessageId = $Attachment->head->get( 'Message-ID', 0 );
-    defined($MessageId) or $MessageId = '';
-    chomp ($MessageId);
-    $MessageId =~ s/^<(.*)>$/$1/go;
-
-
-    #Get the filename
-    my $Filename = $Attachment->head->recommended_filename || eval {
-       ${ $Attachment->head->{mail_hdr_hash}{'Content-Disposition'}[0] }
-           =~ /^.*\bfilename="(.*)"$/ ? $1 : ''
-    };
-
-    # If a message has no bodyhandle, that means that it has subparts (or appears to)
-    # and we should act accordingly.  
-    unless ( defined $Attachment->bodyhandle ) {
-
-        $id = $self->SUPER::Create(
-            TransactionId => $args{'TransactionId'},
-            Parent        => 0,
-            ContentType   => $Attachment->mime_type,
-            Headers => $Attachment->head->as_string,
-            MessageId => $MessageId,
-            Subject => $Subject);
-        
-        unless ($id) {
-            $RT::Logger->crit("Attachment insert failed - ".$RT::Handle->dbh->errstr);
-
-        }
-
-        foreach my $part ( $Attachment->parts ) {
-            my $SubAttachment = new RT::Attachment( $self->CurrentUser );
-            $SubAttachment->Create(
-                TransactionId => $args{'TransactionId'},
-                Parent        => $id,
-                Attachment    => $part,
-                ContentType   => $Attachment->mime_type,
-
-            );
-        }
-        return ($id);
-    }
-
-    #If it's not multipart
-    else {
-
-       my ($ContentEncoding, $Body) = $self->_EncodeLOB($Attachment->bodyhandle->as_string, $Attachment->mime_type);
-        my $id = $self->SUPER::Create( TransactionId => $args{'TransactionId'},
-                                       ContentType   => $Attachment->mime_type,
-                                       ContentEncoding => $ContentEncoding,
-                                       Parent          => $args{'Parent'},
-                                                  Headers       =>  $Attachment->head->as_string,
-                                       Subject       =>  $Subject,
-                                       Content         => $Body,
-                                       Filename => $Filename, 
-                                        MessageId => $MessageId
-                                    );
-        unless ($id) {
-            $RT::Logger->crit("Attachment insert failed - ".$RT::Handle->dbh->errstr);
-        }
-
-        return ($id);
-    }
-}
-
-# }}}
-
-
-=head2 Import
-
-Create an attachment exactly as specified in the named parameters.
-
-=cut
-
-
-sub Import {
-    my $self = shift;
-    my %args = ( ContentEncoding => 'none',
-
-                @_ );
-
-
- ($args{'ContentEncoding'}, $args{'Content'}) = $self->_EncodeLOB($args{'Content'}, $args{'MimeType'});
-
-    return($self->SUPER::Create(%args));
-}
-
-# {{{ sub Content
-
-=head2 Content
-
-Returns the attachment's content. if it's base64 encoded, decode it 
-before returning it.
-
-=cut
-
-sub Content {
-  my $self = shift;
-   $self->_DecodeLOB($self->ContentType, $self->ContentEncoding, $self->_Value('Content', decode_utf8 => 0));
-}
-
-
-# }}}
-
-
-# {{{ sub OriginalContent
-
-=head2 OriginalContent
-
-Returns the attachment's content as octets before RT's mangling.
-Currently, this just means restoring text content back to its
-original encoding.
-
-=cut
-
-sub OriginalContent {
-  my $self = shift;
-
-  return $self->Content unless (
-     $self->ContentType =~ qr{^(text/plain|message/rfc822)$}i) ;
-  my $enc = $self->OriginalEncoding;
-
-  my $content;
-  if ( $self->ContentEncoding eq 'none' || ! $self->ContentEncoding ) {
-      $content = $self->_Value('Content', decode_utf8 => 0);
-  } elsif ( $self->ContentEncoding eq 'base64' ) {
-      $content = MIME::Base64::decode_base64($self->_Value('Content', decode_utf8 => 0));
-  } elsif ( $self->ContentEncoding eq 'quoted-printable' ) {
-      return MIME::QuotedPrint::decode($self->_Value('Content', decode_utf8 => 0));
-  } else {
-      return( $self->loc("Unknown ContentEncoding [_1]", $self->ContentEncoding));
-  }
-
-  # Encode::_utf8_on($content);
-  if (!$enc || $enc eq '' ||  $enc eq 'utf8' || $enc eq 'utf-8') {
-    # If we somehow fail to do the decode, at least push out the raw bits
-    eval {return( Encode::decode_utf8($content))} || return ($content);
-  }
-  
-  eval { Encode::from_to($content, 'utf8' => $enc);};
-  if ($@) {
-       $RT::Logger->error("Could not convert attachment from assumed utf8 to '$enc' :".$@);
-  }
-  return $content;
-}
-
-# }}}
-
-
-# {{{ sub OriginalEncoding
-
-=head2 OriginalEncoding
-
-Returns the attachment's original encoding.
-
-=cut
-
-sub OriginalEncoding {
-  my $self = shift;
-  return $self->GetHeader('X-RT-Original-Encoding');
-}
-
-# }}}
-
-# {{{ sub Children
-
-=head2 Children
-
-  Returns an RT::Attachments object which is preloaded with all Attachments objects with this Attachment\'s Id as their 'Parent'
-
-=cut
-
-sub Children {
-    my $self = shift;
-    
-    my $kids = new RT::Attachments($self->CurrentUser);
-    $kids->ChildrenOf($self->Id);
-    return($kids);
-}
-
-# }}}
-
-# {{{ UTILITIES
-
-# {{{ sub Quote 
-
-
-
-sub Quote {
-    my $self=shift;
-    my %args=(Reply=>undef, # Prefilled reply (i.e. from the KB/FAQ system)
-             @_);
-
-    my ($quoted_content, $body, $headers);
-    my $max=0;
-
-    # TODO: Handle Multipart/Mixed (eventually fix the link in the
-    # ShowHistory web template?)
-    if ($self->ContentType =~ m{^(text/plain|message)}i) {
-       $body=$self->Content;
-
-       # Do we need any preformatting (wrapping, that is) of the message?
-
-       # Remove quoted signature.
-       $body =~ s/\n-- \n(.*)$//s;
-
-       # What's the longest line like?
-       foreach (split (/\n/,$body)) {
-           $max=length if ( length > $max);
-       }
-
-       if ($max>76) {
-           require Text::Wrapper;
-           my $wrapper=new Text::Wrapper
-               (
-                columns => 70, 
-                body_start => ($max > 70*3 ? '   ' : ''),
-                par_start => ''
-                );
-           $body=$wrapper->wrap($body);
-       }
-
-       $body =~ s/^/> /gm;
-
-       $body = '[' . $self->TransactionObj->CreatorObj->Name() . ' - ' . $self->TransactionObj->CreatedAsString()
-                   . "]:\n\n"
-               . $body . "\n\n";
-
-    } else {
-       $body = "[Non-text message not quoted]\n\n";
-    }
-    
-    $max=60 if $max<60;
-    $max=70 if $max>78;
-    $max+=2;
-
-    return (\$body, $max);
-}
-# }}}
-
-# {{{ sub NiceHeaders - pulls out only the most relevant headers
-
-=head2 NiceHeaders
-
-Returns a multi-line string of the To, From, Cc, Date and Subject headers.
-
-=cut
-
-sub NiceHeaders {
-    my $self = shift;
-    my $hdrs = "";
-    my @hdrs = $self->_SplitHeaders;
-    while (my $str = shift @hdrs) {
-           next unless $str =~ /^(To|From|RT-Send-Cc|Cc|Bcc|Date|Subject):/i;
-           $hdrs .= $str . "\n";
-           $hdrs .= shift( @hdrs ) . "\n" while ($hdrs[0] =~ /^[ \t]+/);
-    }
-    return $hdrs;
-}
-# }}}
-
-# {{{ sub Headers
-
-=head2 Headers
-
-Returns this object's headers as a string.  This method specifically
-removes the RT-Send-Bcc: header, so as to never reveal to whom RT sent a Bcc.
-We need to record the RT-Send-Cc and RT-Send-Bcc values so that we can actually send
-out mail. (The mailing rules are separated from the ticket update code by
-an abstraction barrier that makes it impossible to pass this data directly
-
-=cut
-
-sub Headers {
-    my $self = shift;
-    my $hdrs="";
-    my @headers =  grep { !/^RT-Send-Bcc/i } $self->_SplitHeaders;
-    return join("\n",@headers);
-
-}
-
-
-# }}}
-
-# {{{ sub GetHeader
-
-=head2 GetHeader ( 'Tag')
-
-Returns the value of the header Tag as a string. This bypasses the weeding out
-done in Headers() above.
-
-=cut
-
-sub GetHeader {
-    my $self = shift;
-    my $tag = shift;
-    foreach my $line ($self->_SplitHeaders) {
-        if ($line =~ /^\Q$tag\E:\s+(.*)$/si) { #if we find the header, return its value
-            return ($1);
-        }
-    }
-    
-    # we found no header. return an empty string
-    return undef;
-}
-# }}}
-
-# {{{ sub SetHeader
-
-=head2 SetHeader ( 'Tag', 'Value' )
-
-Replace or add a Header to the attachment's headers.
-
-=cut
-
-sub SetHeader {
-    my $self = shift;
-    my $tag = shift;
-    my $newheader = '';
-
-    foreach my $line ($self->_SplitHeaders) {
-        if (defined $tag and $line =~ /^\Q$tag\E:\s+(.*)$/i) {
-           $newheader .= "$tag: $_[0]\n";
-           undef $tag;
-        }
-       else {
-           $newheader .= "$line\n";
-       }
-    }
-
-    $newheader .= "$tag: $_[0]\n" if defined $tag;
-    $self->__Set( Field => 'Headers', Value => $newheader);
-}
-# }}}
-
-# {{{ sub _Value 
-
-=head2 _Value
-
-Takes the name of a table column.
-Returns its value as a string, if the user passes an ACL check
-
-=cut
-
-sub _Value {
-
-    my $self  = shift;
-    my $field = shift;
-
-    #if the field is public, return it.
-    if ( $self->_Accessible( $field, 'public' ) ) {
-        return ( $self->__Value( $field, @_ ) );
-    }
-
-    #If it's a comment, we need to be extra special careful
-    elsif ( $self->TransactionObj->Type =~ /^Comment/ ) {
-        if ( $self->TransactionObj->CurrentUserHasRight('ShowTicketComments') )
-        {
-            return ( $self->__Value( $field, @_ ) );
-        }
-    }
-    elsif ( $self->TransactionObj->CurrentUserHasRight('ShowTicket') ) {
-        return ( $self->__Value( $field, @_ ) );
-    }
-
-    #if they ain't got rights to see, don't let em
-    else {
-        return (undef);
-    }
-
-}
-
-# }}}
-
-=head2 _SplitHeaders
-
-Returns an array of this attachment object's headers, with one header 
-per array entry. multiple lines are folded.
-
-=begin testing
-
-my $test1 = "From: jesse";
-my @headers = RT::Attachment->_SplitHeaders($test1);
-is ($#headers, 0, $test1 );
-
-my $test2 = qq{From: jesse
-To: bobby
-Subject: foo
-};
-
-@headers = RT::Attachment->_SplitHeaders($test2);
-is ($#headers, 2, "testing a bunch of singline multiple headers" );
-
-
-my $test3 = qq{From: jesse
-To: bobby,
- Suzie,
-    Sally,
-    Joey: bizzy,
-Subject: foo
-};
-
-@headers = RT::Attachment->_SplitHeaders($test3);
-is ($#headers, 2, "testing a bunch of singline multiple headers" );
-
-
-=end testing
-
-=cut
-
-sub _SplitHeaders {
-    my $self = shift;
-    my $headers = (shift || $self->SUPER::Headers());
-    my @headers;
-    for (split(/\n(?=\w|\z)/,$headers)) {
-        push @headers, $_;
-
-    }
-    return(@headers);
-}
-
-
-sub ContentLength {
-    my $self = shift;
-
-    unless ( (($self->TransactionObj->CurrentUserHasRight('ShowTicketComments')) and
-            ($self->TransactionObj->Type eq 'Comment') )  or
-           ($self->TransactionObj->CurrentUserHasRight('ShowTicket'))) {
-       return undef;
-    }
-
-    if (my $len = $self->GetHeader('Content-Length')) {
-       return $len;
-    }
-
-    {
-       use bytes;
-       my $len = length($self->Content);
-       $self->SetHeader('Content-Length' => $len);
-       return $len;
-    }
-}
-
-# }}}
-
-# Transactions don't change. by adding this cache congif directiove, we don't lose pathalogically on long tickets.
-sub _CacheConfig {
-    {
-        'cache_p'         => 1,
-          'fast_update_p' => 1,
-          'cache_for_sec' => 180,
-    }
-}
-
-1;
diff --git a/rt/lib/RT/Attachments.pm b/rt/lib/RT/Attachments.pm
deleted file mode 100755 (executable)
index aedd7ad..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Attachments -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Attachments
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Attachments;
-
-use RT::SearchBuilder;
-use RT::Attachment;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Attachments';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Attachment item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Attachment->new($self->CurrentUser));
-}
-
-        eval "require RT::Attachments_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attachments_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attachments_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attachments_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attachments_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attachments_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Attachments_Overlay, RT::Attachments_Vendor, RT::Attachments_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Attachments_Overlay.pm b/rt/lib/RT/Attachments_Overlay.pm
deleted file mode 100644 (file)
index 1ea56e4..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Attachments - a collection of RT::Attachment objects
-
-=head1 SYNOPSIS
-
-  use RT::Attachments;
-
-=head1 DESCRIPTION
-
-This module should never be called directly by client code. it's an internal module which
-should only be accessed through exported APIs in Ticket, Queue and other similar objects.
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Attachments);
-
-=end testing
-
-=cut
-
-
-package RT::Attachments;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub _Init  
-sub _Init   {
-  my $self = shift;
-  $self->{'table'} = "Attachments";
-  $self->{'primary_key'} = "id";
-  return ( $self->SUPER::_Init(@_));
-}
-# }}}
-
-
-# {{{ sub ContentType
-
-=head2 ContentType (VALUE => 'text/plain', ENTRYAGGREGATOR => 'OR', OPERATOR => '=' ) 
-
-Limit result set to attachments of ContentType 'TYPE'...
-
-=cut
-
-
-sub ContentType  {
-  my $self = shift;
-  my %args = ( VALUE => 'text/plain',
-              OPERATOR => '=',
-              ENTRYAGGREGATOR => 'OR',
-              @_);
-
-  $self->Limit ( FIELD => 'ContentType',
-                VALUE => $args{'VALUE'},
-                OPERATOR => $args{'OPERATOR'},
-                ENTRYAGGREGATOR => $args{'ENTRYAGGREGATOR'});
-}
-# }}}
-
-# {{{ sub ChildrenOf 
-
-=head2 ChildrenOf ID
-
-Limit result set to children of Attachment ID
-
-=cut
-
-
-sub ChildrenOf  {
-  my $self = shift;
-  my $attachment = shift;
-  $self->Limit ( FIELD => 'Parent',
-                VALUE => $attachment);
-}
-# }}}
-
-# {{{ sub NewItem 
-sub NewItem  {
-  my $self = shift;
-
-  use RT::Attachment;
-  my $item = new RT::Attachment($self->CurrentUser);
-  return($item);
-}
-# }}}
-
-# {{{ sub Next
-sub Next {
-    my $self = shift;
-       
-    my $Attachment = $self->SUPER::Next();
-    if ((defined($Attachment)) and (ref($Attachment))) {
-       if ($Attachment->TransactionObj->__Value('Type') =~ /^Comment/ && 
-           $Attachment->TransactionObj->TicketObj->CurrentUserHasRight('ShowTicketComments')) {
-           return($Attachment);
-       } elsif ($Attachment->TransactionObj->__Value('Type') !~ /^Comment/ && 
-                $Attachment->TransactionObj->TicketObj->CurrentUserHasRight('ShowTicket')) {
-           return($Attachment);
-       }
-
-       #If the user doesn't have the right to show this ticket
-       else {  
-           return($self->Next());
-       }
-    }
-
-    #if there never was any ticket
-    else {
-       return(undef);
-    }  
-}
-# }}}
-
-  1;
-
-
-
-
diff --git a/rt/lib/RT/Attribute.pm b/rt/lib/RT/Attribute.pm
deleted file mode 100644 (file)
index a46f4d8..0000000
+++ /dev/null
@@ -1,347 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Attribute
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Attribute;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Attributes');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(255) 'Name'.
-  varchar(255) 'Description'.
-  text 'Content'.
-  varchar(16) 'ContentType'.
-  varchar(64) 'ObjectType'.
-  int(11) 'ObjectId'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Description => '',
-                Content => '',
-                ContentType => '',
-                ObjectType => '',
-                ObjectId => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Description => $args{'Description'},
-                         Content => $args{'Content'},
-                         ContentType => $args{'ContentType'},
-                         ObjectType => $args{'ObjectType'},
-                         ObjectId => $args{'ObjectId'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(255).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Content
-
-Returns the current value of Content. 
-(In the database, Content is stored as text.)
-
-
-
-=head2 SetContent VALUE
-
-
-Set Content to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Content will be stored as a text.)
-
-
-=cut
-
-
-=head2 ContentType
-
-Returns the current value of ContentType. 
-(In the database, ContentType is stored as varchar(16).)
-
-
-
-=head2 SetContentType VALUE
-
-
-Set ContentType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ContentType will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 ObjectType
-
-Returns the current value of ObjectType. 
-(In the database, ObjectType is stored as varchar(64).)
-
-
-
-=head2 SetObjectType VALUE
-
-
-Set ObjectType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectType will be stored as a varchar(64).)
-
-
-=cut
-
-
-=head2 ObjectId
-
-Returns the current value of ObjectId. 
-(In the database, ObjectId is stored as int(11).)
-
-
-
-=head2 SetObjectId VALUE
-
-
-Set ObjectId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Content => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
-        ContentType => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        ObjectType => 
-               {read => 1, write => 1, sql_type => 12, length => 64,  is_blob => 0,  is_numeric => 0,  type => 'varchar(64)', default => ''},
-        ObjectId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::Attribute_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attribute_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attribute_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attribute_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attribute_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attribute_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Attribute_Overlay, RT::Attribute_Vendor, RT::Attribute_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Attribute_Overlay.pm b/rt/lib/RT/Attribute_Overlay.pm
deleted file mode 100644 (file)
index ead842e..0000000
+++ /dev/null
@@ -1,464 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Attribute;
-
-use strict;
-no warnings qw(redefine);
-use Storable qw/nfreeze thaw/;
-use MIME::Base64;
-
-
-=head1 NAME
-
-  RT::Attribute_Overlay 
-
-=head1 Content
-
-=cut
-
-# the acl map is a map of "name of attribute" and "what right the user must have on the associated object to see/edit it
-
-our $ACL_MAP = {
-    SavedSearch => { create => 'EditSavedSearches',
-                     update => 'EditSavedSearches',
-                     delete => 'EditSavedSearches',
-                     display => 'ShowSavedSearches' },
-
-};
-
-# There are a number of attributes that users should be able to modify for themselves, such as saved searches
-#  we could do this with a different set of "modify" rights, but that gets very hacky very fast. this is even faster and even
-# hackier. we're hardcoding that a different set of rights are needed for attributes on oneself
-our $PERSONAL_ACL_MAP = { 
-    SavedSearch => { create => 'ModifySelf',
-                     update => 'ModifySelf',
-                     delete => 'ModifySelf',
-                     display => 'allow' },
-
-};
-
-=head2 LookupObjectRight { ObjectType => undef, ObjectId => undef, Name => undef, Right => { create, update, delete, display } }
-
-Returns the right that the user needs to have on this attribute's object to perform the related attribute operation. Returns "allow" if the right is otherwise unspecified.
-
-=cut
-
-sub LookupObjectRight { 
-    my $self = shift;
-    my %args = ( ObjectType => undef,
-                 ObjectId => undef,
-                 Right => undef,
-                 Name => undef,
-                 @_);
-
-    # if it's an attribute on oneself, check the personal acl map
-    if (($args{'ObjectType'} eq 'RT::User') && ($args{'ObjectId'} eq $self->CurrentUser->Id)) {
-    return('allow') unless ($PERSONAL_ACL_MAP->{$args{'Name'}});
-    return('allow') unless ($PERSONAL_ACL_MAP->{$args{'Name'}}->{$args{'Right'}});
-    return($PERSONAL_ACL_MAP->{$args{'Name'}}->{$args{'Right'}}); 
-
-    }
-   # otherwise check the main ACL map
-    else {
-    return('allow') unless ($ACL_MAP->{$args{'Name'}});
-    return('allow') unless ($ACL_MAP->{$args{'Name'}}->{$args{'Right'}});
-    return($ACL_MAP->{$args{'Name'}}->{$args{'Right'}}); 
-    }
-}
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(255) 'Content'.
-  varchar(16) 'ContentType',
-  varchar(64) 'ObjectType'.
-  int(11) 'ObjectId'.
-
-You may pass a C<Object> instead of C<ObjectType> and C<ObjectId>.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Description => '',
-                Content => '',
-                ContentType => '',
-                Object => undef,
-                 @_);
-
-    if ($args{Object} and UNIVERSAL::can($args{Object}, 'Id')) {
-           $args{ObjectType} = ref($args{Object});
-           $args{ObjectId} = $args{Object}->Id;
-    } else {
-        return(0, $self->loc("Required parameter '[_1]' not specified", 'Object'));
-
-    }
-   
-    # object_right is the right that the user has to have on the object for them to have $right on this attribute
-    my $object_right = $self->LookupObjectRight(
-        Right      => 'create',
-        ObjectId   => $args{'ObjectId'},
-        ObjectType => $args{'ObjectType'},
-        Name       => $args{'Name'}
-    );
-    if ($object_right eq 'deny') { 
-        return (0, $self->loc('Permission Denied'));
-    } 
-    elsif ($object_right eq 'allow') {
-        # do nothing, we're ok
-    }
-    elsif (!$self->CurrentUser->HasRight( Object => $args{Object}, Right => $object_right)) {
-        return (0, $self->loc('Permission Denied'));
-    }
-
-   
-    if (ref ($args{'Content'}) ) { 
-        eval  {$args{'Content'} = $self->_SerializeContent($args{'Content'}); };
-        if ($@) {
-         return(0, $@);
-        }
-        $args{'ContentType'} = 'storable';
-    }
-
-    
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Content => $args{'Content'},
-                         ContentType => $args{'ContentType'},
-                         Description => $args{'Description'},
-                         ObjectType => $args{'ObjectType'},
-                         ObjectId => $args{'ObjectId'},
-);
-
-}
-
-
-# {{{ sub LoadByNameAndObject
-
-=head2  LoadByNameAndObject (Object => OBJECT, Name => NAME)
-
-Loads the Attribute named NAME for Object OBJECT.
-
-=cut
-
-sub LoadByNameAndObject {
-    my $self = shift;
-    my %args = (
-        Object => undef,
-        Name  => undef,
-        @_,
-    );
-
-    return (
-       $self->LoadByCols(
-           Name => $args{'Name'},
-           ObjectType => ref($args{'Object'}),
-           ObjectId => $args{'Object'}->Id,
-       )
-    );
-
-}
-
-# }}}
-
-
-=head2 _DeserializeContent
-
-DeserializeContent returns this Attribute's "Content" as a hashref.
-
-
-=cut
-
-sub _DeserializeContent {
-    my $self = shift;
-    my $content = shift;
-
-    my $hashref;
-    eval {$hashref  = thaw(decode_base64($content))} ; 
-    if ($@) {
-        $RT::Logger->error("Deserialization of attribute ".$self->Id. " failed");
-    }
-
-    return($hashref);
-
-}
-
-
-=head2 Content
-
-Returns this attribute's content. If it's a scalar, returns a scalar
-If it's data structure returns a ref to that data structure.
-
-=cut
-
-sub Content {
-    my $self = shift;
-    # Here we call _Value to get the ACL check.
-    my $content = $self->_Value('Content');
-    if ($self->__Value('ContentType') eq 'storable') {
-        eval {$content = $self->_DeserializeContent($content); };
-        if ($@) {
-            $RT::Logger->error("Deserialization of content for attribute ".$self->Id. " failed. Attribute was: ".$content);
-        }
-    } 
-
-    return($content);
-
-}
-
-sub _SerializeContent {
-    my $self = shift;
-    my $content = shift;
-        return( encode_base64(nfreeze($content))); 
-}
-
-
-sub SetContent {
-    my $self = shift;
-    my $content = shift;
-    
-    # Call __Value to avoid ACL check.
-    if ($self->__Value('ContentType') eq 'storable') {
-    # We eval the serialization because it will lose on a coderef.
-    eval  {$content = $self->_SerializeContent($content); };
-    if ($@) {
-        $RT::Logger->error("For some reason, content couldn't be frozen");
-        return(0, $@);
-    }
-    }
-    return ($self->SUPER::SetContent($content));
-}
-
-=head2 SubValue KEY
-
-Returns the subvalue for $key.
-
-=begin testing
-
-my $user = $RT::SystemUser;
-my ($id, $msg) =  $user->AddAttribute(Name => 'SavedSearch', Content => { Query => 'Foo'} );
-ok ($id, $msg);
-my $attr = RT::Attribute->new($RT::SystemUser);
-$attr->Load($id);
-ok($attr->Name eq 'SavedSearch');
-$attr->SetSubValues( Format => 'baz');
-
-my $format = $attr->SubValue('Format');
-is ($format , 'baz');
-
-$attr->SetSubValues( Format => 'bar');
-$format = $attr->SubValue('Format');
-is ($format , 'bar');
-
-$attr->DeleteAllSubValues();
-$format = $attr->SubValue('Format');
-is ($format, undef);
-
-$attr->SetSubValues(Format => 'This is a format');
-
-my $attr2 = RT::Attribute->new($RT::SystemUser);
-$attr2->Load($id);
-is ($attr2->SubValue('Format'), 'This is a format');
-
-
-=end testing
-
-=cut
-
-sub SubValue {
-    my $self = shift;
-    my $key = shift;
-    my $values = $self->Content();
-    return undef unless ref($values);
-    return($values->{$key});
-}
-
-=head2 DeleteSubValue NAME
-
-Deletes the subvalue with the key NAME
-
-=cut
-
-sub DeleteSubValue {
-    my $self = shift;
-    my $key = shift;
-    my %values = $self->Content();
-    delete $values{$key};
-    $self->SetContent(%values);
-
-    
-
-}
-
-
-=head2 DeleteAllSubValues 
-
-Deletes all subvalues for this attribute
-
-=cut
-
-
-sub DeleteAllSubValues {
-    my $self = shift; 
-    $self->SetContent({});
-}
-
-=head2 SetSubValues  {  }
-
-Takes a hash of keys and values and stores them in the content of this attribute.
-
-Each key B<replaces> the existing key with the same name
-
-Returns a tuple of (status, message)
-
-=cut
-
-
-sub SetSubValues {
-   my $self = shift;
-   my %args = (@_); 
-   my $values = ($self->Content() || {} );
-   foreach my $key (keys %args) {
-    $values->{$key} = $args{$key};
-   }
-
-   $self->SetContent($values);
-
-}
-
-
-sub Object {
-    my $self = shift;
-    my $object_type = $self->__Value('ObjectType');
-    my $object;
-    eval { $object = $object_type->new($self->CurrentUser) };
-    unless(UNIVERSAL::isa($object, $object_type)) {
-        $RT::Logger->error("Attribute ".$self->Id." has a bogus object type - $object_type (".$@.")");
-        return(undef);
-     }
-    $object->Load($self->__Value('ObjectId'));
-
-    return($object);
-
-}
-
-
-sub Delete {
-    my $self = shift;
-    unless ($self->CurrentUserHasRight('delete')) {
-        return (0,$self->loc('Permission Denied'));
-    }
-    return($self->SUPER::Delete(@_));
-}
-
-
-sub _Value {
-    my $self = shift;
-    unless ($self->CurrentUserHasRight('display')) {
-        return (0,$self->loc('Permission Denied'));
-    }
-
-    return($self->SUPER::_Value(@_));
-
-
-}
-
-
-sub _Set {
-    my $self = shift;
-    unless ($self->CurrentUserHasRight('modify')) {
-
-        return (0,$self->loc('Permission Denied'));
-    }
-    return($self->SUPER::_Set(@_));
-
-}
-
-
-=head2 CurrentUserHasRight
-
-One of "display" "modify" "delete" or "create" and returns 1 if the user has that right for attributes of this name for this object.Returns undef otherwise.
-
-=cut
-
-sub CurrentUserHasRight {
-    my $self = shift;
-    my $right = shift;
-
-    # object_right is the right that the user has to have on the object for them to have $right on this attribute
-    my $object_right = $self->LookupObjectRight(
-        Right      => $right,
-        ObjectId   => $self->__Value('ObjectId'),
-        ObjectType => $self->__Value('ObjectType'),
-        Name       => $self->__Value('Name')
-    );
-   
-    return (1) if ($object_right eq 'allow');
-    return (0) if ($object_right eq 'deny');
-    return(1) if ($self->CurrentUser->HasRight( Object => $self->Object, Right => $object_right));
-    return(0);
-
-}
-
-
-=head1 TODO
-
-We should be deserializing the content on load and then enver again, rather than at every access
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Attributes.pm b/rt/lib/RT/Attributes.pm
deleted file mode 100644 (file)
index bb63b81..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Attributes -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Attributes
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Attributes;
-
-use RT::SearchBuilder;
-use RT::Attribute;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Attributes';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Attribute item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Attribute->new($self->CurrentUser));
-}
-
-        eval "require RT::Attributes_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attributes_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attributes_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attributes_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Attributes_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Attributes_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Attributes_Overlay, RT::Attributes_Vendor, RT::Attributes_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Attributes_Overlay.pm b/rt/lib/RT/Attributes_Overlay.pm
deleted file mode 100644 (file)
index 0e79df1..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Attributes - collection of RT::Attribute objects
-
-=head1 SYNOPSIS
-
-  use RT:Attributes;
-my $Attributes = new RT::Attributes($CurrentUser);
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-
-package RT::Attributes;
-
-use strict;
-no warnings qw(redefine);
-
-
-sub _DoSearch {
-    my $self = shift;
-    $self->SUPER::_DoSearch();
-    $self->_BuildAccessTable();
-}
-
-
-sub _BuildAccessTable {
-    my $self = shift;
-    delete $self->{'attr'};
-    while (my $attr = $self->Next) {
-        push @{$self->{'attr'}->{$attr->Name}}, $attr;
-    }
-}
-
-
-sub _AttrHash {
-    my $self = shift;
-    $self->_DoSearch if ($self->{'must_redo_search'});
-    unless ($self->{'attr'}) {
-        $self->{'attr'}->{'__none'} = RT::Attribute->new($self->CurrentUser);
-    }
-    return ($self->{'attr'});
-}
-
-=head2 Names
-
-Returns a list of the Names of all attributes for this object. 
-
-=cut
-
-sub Names {
-    my $self = shift;
-    my @keys =  keys %{$self->_AttrHash};
-    return(@keys);
-
-
-}
-
-=head2 Named STRING
-
-Returns an array of all the RT::Attribute objects with the name STRING
-
-=cut
-
-sub Named {
-    my $self = shift;
-    my $name = shift;
-    my @attributes; 
-    if ($self->_AttrHash) {
-        @attributes = @{($self->_AttrHash->{$name}||[])};
-    }
-    return (@attributes);   
-}
-
-=head2 WithId ID
-
-Returns the RT::Attribute objects with the id ID
-
-XXX TODO XXX THIS NEEDS A BETTER ACL CHECK
-
-=cut
-
-sub WithId {
-    my $self = shift;
-    my $id = shift;
-
-    my $attr = RT::Attribute->new($self->CurrentUser);
-    $attr->LoadByCols( id => $id );
-    return($attr);
-}
-
-=head2 DeleteEntry { Name =>   Content => , id => }
-
-Deletes attributes with
-    the matching name 
- and the matching content or id
-
-If Content and id are both undefined, delete all attributes with
-the matching name.
-
-=cut
-
-
-sub DeleteEntry {
-    my $self = shift;
-    my %args = ( Name => undef,
-                 Content => undef,
-                 id => undef,
-                 @_);
-    my $found = 0;
-    foreach my $attr ($self->Named($args{'Name'})){ 
-      if ((!defined $args{'id'} and !defined $args{'Content'})
-          or (defined $args{'id'} and $attr->id eq $args{'id'})
-          or (defined $args{'Content'} and $attr->Content eq $args{'Content'})) {
-        my ($id, $msg) = $attr->Delete;
-        return ($id, $msg) unless $id;
-        $found = 1;
-      }
-    }
-    return (0, "No entry found") unless $found;
-    $self->_DoSearch();
-    return (1, $self->loc('Attribute Deleted'));
-}
-
-
-# {{{ LimitToObject 
-
-=head2 LimitToObject $object
-
-Limit the Attributes to rights for the object $object. It needs to be an RT::Record class.
-
-=cut
-
-sub LimitToObject {
-    my $self = shift;
-    my $obj = shift;
-    unless (defined($obj) && ref($obj) && UNIVERSAL::can($obj, 'id') && $obj->id) {
-    return undef;
-    }
-    $self->Limit(FIELD => 'ObjectType', OPERATOR=> '=', VALUE => ref($obj), ENTRYAGGREGATOR => 'OR');
-    $self->Limit(FIELD => 'ObjectId', OPERATOR=> '=', VALUE => $obj->id, ENTRYAGGREGATOR => 'OR', QUOTEVALUE => 0);
-
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/RT/Base.pm b/rt/lib/RT/Base.pm
deleted file mode 100644 (file)
index f329221..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Base;
-use Carp;
-use Scalar::Util;
-
-use strict;
-use vars qw(@EXPORT);
-
-@EXPORT=qw(loc CurrentUser);
-
-=head1 NAME
-
-RT::Base
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 FUNCTIONS
-
-=cut
-
-# {{{ sub CurrentUser 
-
-=head2 CurrentUser
-
-If called with an argument, sets the current user to that user object.
-This will affect ACL decisions, etc.  
-Returns the current user
-
-=cut
-
-sub CurrentUser {
-    my $self = shift;
-
-    if (@_) {
-        $self->{'original_user'} = $self->{'user'};
-        $self->{'user'} = shift;
-        # We need to weaken the CurrentUser ($self->{'user'}) reference
-        # if the object in question is the currentuser object.
-        # This avoids memory leaks.
-        Scalar::Util::weaken($self->{'user'}) if (ref($self->{'user'}) &&
-                                                    $self->{'user'} == $self );
-    }
-
-    unless ( ref( $self->{'user'}) ) {
-        $RT::Logger->err( "$self was created without a CurrentUser\n" . Carp::cluck() );
-        return (0);
-    }
-    return ( $self->{'user'} );
-}
-
-# }}}
-
-sub OriginalUser {
-    my $self = shift;
-
-    if (@_) {
-        $self->{'original_user'} = shift;
-        Scalar::Util::weaken($self->{'original_user'})
-            if (ref($self->{'original_user'}) && $self->{'original_user'} == $self );
-    }
-    return ( $self->{'original_user'} || $self->{'user'} );
-}
-
-
-=head2 loc LOC_STRING
-
-l is a method which takes a loc string
-to this object's CurrentUser->LanguageHandle for localization. 
-
-you call it like this:
-
-    $self->loc("I have [quant,_1,concrete mixer].", 6);
-
-In english, this would return:
-    I have 6 concrete mixers.
-
-
-=cut
-
-sub loc {
-    my $self = shift;
-    if (my $user = $self->OriginalUser) {
-        return $user->loc(@_);
-    }
-    else {
-        use Carp;
-        Carp::confess("No currentuser");
-        return ("Critical error:$self has no CurrentUser", $self);
-    }
-}
-
-sub loc_fuzzy {
-    my $self = shift;
-    if (my $user = $self->OriginalUser) {
-        return $user->loc_fuzzy(@_);
-    }
-    else {
-        use Carp;
-        Carp::confess("No currentuser");
-        return ("Critical error:$self has no CurrentUser", $self);
-    }
-}
-
-eval "require RT::Base_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Base_Vendor.pm});
-eval "require RT::Base_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Base_Local.pm});
-
-
-1;
diff --git a/rt/lib/RT/CachedGroupMember.pm b/rt/lib/RT/CachedGroupMember.pm
deleted file mode 100644 (file)
index bc7f62e..0000000
+++ /dev/null
@@ -1,280 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::CachedGroupMember
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::CachedGroupMember;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('CachedGroupMembers');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'GroupId'.
-  int(11) 'MemberId'.
-  int(11) 'Via'.
-  int(11) 'ImmediateParentId'.
-  smallint(6) 'Disabled'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                GroupId => '',
-                MemberId => '',
-                Via => '',
-                ImmediateParentId => '',
-                Disabled => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         GroupId => $args{'GroupId'},
-                         MemberId => $args{'MemberId'},
-                         Via => $args{'Via'},
-                         ImmediateParentId => $args{'ImmediateParentId'},
-                         Disabled => $args{'Disabled'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 GroupId
-
-Returns the current value of GroupId. 
-(In the database, GroupId is stored as int(11).)
-
-
-
-=head2 SetGroupId VALUE
-
-
-Set GroupId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, GroupId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 MemberId
-
-Returns the current value of MemberId. 
-(In the database, MemberId is stored as int(11).)
-
-
-
-=head2 SetMemberId VALUE
-
-
-Set MemberId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, MemberId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Via
-
-Returns the current value of Via. 
-(In the database, Via is stored as int(11).)
-
-
-
-=head2 SetVia VALUE
-
-
-Set Via to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Via will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 ImmediateParentId
-
-Returns the current value of ImmediateParentId. 
-(In the database, ImmediateParentId is stored as int(11).)
-
-
-
-=head2 SetImmediateParentId VALUE
-
-
-Set ImmediateParentId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ImmediateParentId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Disabled
-
-Returns the current value of Disabled. 
-(In the database, Disabled is stored as smallint(6).)
-
-
-
-=head2 SetDisabled VALUE
-
-
-Set Disabled to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Disabled will be stored as a smallint(6).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        GroupId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        MemberId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Via => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        ImmediateParentId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Disabled => 
-               {read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::CachedGroupMember_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/CachedGroupMember_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CachedGroupMember_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/CachedGroupMember_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CachedGroupMember_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/CachedGroupMember_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::CachedGroupMember_Overlay, RT::CachedGroupMember_Vendor, RT::CachedGroupMember_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/CachedGroupMember_Overlay.pm b/rt/lib/RT/CachedGroupMember_Overlay.pm
deleted file mode 100644 (file)
index 15f6bd7..0000000
+++ /dev/null
@@ -1,364 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::CachedGroupMember;
-
-use strict;
-no warnings qw(redefine);
-
-=head1 NAME
-
-  RT::CachedGroupMember
-
-=head1 SYNOPSIS
-
-  use RT::CachedGroupMember;
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-# {{ Create
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  'Group' is the "top level" group we're building the cache for. This 
-  is an RT::Principal object
-
-  'Member' is the RT::Principal  of the user or group we're adding to 
-  the cache.
-
-  'ImmediateParent' is the RT::Principal of the group that this 
-  principal belongs to to get here
-
-  int(11) 'Via' is an internal reference to CachedGroupMembers->Id of
-  the "parent" record of this cached group member. It should be empty if 
-  this member is a "direct" member of this group. (In that case, it will 
-  be set to this cached group member's id after creation)
-
-  This routine should _only_ be called by GroupMember->Create
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = ( Group           => '',
-                 Member          => '',
-                 ImmediateParent => '',
-                 Via             => '0',
-                 Disabled        => '0',
-                 @_ );
-
-    unless (    $args{'Member'}
-             && UNIVERSAL::isa( $args{'Member'}, 'RT::Principal' )
-             && $args{'Member'}->Id ) {
-        $RT::Logger->debug("$self->Create: bogus Member argument");
-    }
-
-    unless (    $args{'Group'}
-             && UNIVERSAL::isa( $args{'Group'}, 'RT::Principal' )
-             && $args{'Group'}->Id ) {
-        $RT::Logger->debug("$self->Create: bogus Group argument");
-    }
-
-    unless (    $args{'ImmediateParent'}
-             && UNIVERSAL::isa( $args{'ImmediateParent'}, 'RT::Principal' )
-             && $args{'ImmediateParent'}->Id ) {
-        $RT::Logger->debug("$self->Create: bogus ImmediateParent argument");
-    }
-
-    # If the parent group for this group member is disabled, it's disabled too, along with all its children
-    if ( $args{'ImmediateParent'}->Disabled ) {
-        $args{'Disabled'} = $args{'ImmediateParent'}->Disabled;
-    }
-
-    my $id = $self->SUPER::Create(
-                              GroupId           => $args{'Group'}->Id,
-                              MemberId          => $args{'Member'}->Id,
-                              ImmediateParentId => $args{'ImmediateParent'}->Id,
-                              Disabled          => $args{'Disabled'},
-                              Via               => $args{'Via'}, );
-
-    unless ($id) {
-        $RT::Logger->warning( "Couldn't create "
-                           . $args{'Member'}
-                           . " as a cached member of "
-                           . $args{'Group'}->Id . " via "
-                           . $args{'Via'} );
-        return (undef);  #this will percolate up and bail out of the transaction
-    }
-    if ( $self->__Value('Via') == 0 ) {
-        my ( $vid, $vmsg ) = $self->__Set( Field => 'Via', Value => $id );
-        unless ($vid) {
-            $RT::Logger->warning( "Due to a via error, couldn't create "
-                               . $args{'Member'}
-                               . " as a cached member of "
-                               . $args{'Group'}->Id . " via "
-                               . $args{'Via'} );
-            return (undef)
-              ;          #this will percolate up and bail out of the transaction
-        }
-    }
-
-    if ( $args{'Member'}->IsGroup() ) {
-        my $GroupMembers = $args{'Member'}->Object->MembersObj();
-        while ( my $member = $GroupMembers->Next() ) {
-            my $cached_member =
-              RT::CachedGroupMember->new( $self->CurrentUser );
-            my $c_id = $cached_member->Create(
-                                             Group  => $args{'Group'},
-                                             Member => $member->MemberObj,
-                                             ImmediateParent => $args{'Member'},
-                                             Disabled => $args{'Disabled'},
-                                             Via      => $id );
-            unless ($c_id) {
-                return (undef);    #percolate the error upwards.
-                     # the caller will log an error and abort the transaction
-            }
-
-        }
-    }
-
-    return ($id);
-
-}
-
-# }}}
-
-# {{{ Delete
-
-=head2 Delete
-
-Deletes the current CachedGroupMember from the group it's in and cascades 
-the delete to all submembers. This routine could be completely excised if
-mysql supported foreign keys with cascading deletes.
-
-=cut 
-
-sub Delete {
-    my $self = shift;
-
-    
-    my $member = $self->MemberObj();
-    if ( $member->IsGroup ) {
-        my $deletable = RT::CachedGroupMembers->new( $self->CurrentUser );
-
-        $deletable->Limit( FIELD    => 'id',
-                           OPERATOR => '!=',
-                           VALUE    => $self->id );
-        $deletable->Limit( FIELD    => 'Via',
-                           OPERATOR => '=',
-                           VALUE    => $self->id );
-
-        while ( my $kid = $deletable->Next ) {
-            my $kid_err = $kid->Delete();
-            unless ($kid_err) {
-                $RT::Logger->error(
-                              "Couldn't delete CachedGroupMember " . $kid->Id );
-                return (undef);
-            }
-        }
-    }
-    my $err = $self->SUPER::Delete();
-    unless ($err) {
-        $RT::Logger->error( "Couldn't delete CachedGroupMember " . $self->Id );
-        return (undef);
-    }
-
-    # Unless $self->GroupObj still has the member recursively $self->MemberObj
-    # (Since we deleted the database row above, $self no longer counts)
-    unless ( $self->GroupObj->Object->HasMemberRecursively( $self->MemberObj ) ) {
-
-
-        #   Find all ACEs granted to $self->GroupId
-        my $acl = RT::ACL->new($RT::SystemUser);
-        $acl->LimitToPrincipal( Id => $self->GroupId );
-
-
-        while ( my $this_ace = $acl->Next() ) {
-            #       Find all ACEs which $self-MemberObj has delegated from $this_ace
-            my $delegations = RT::ACL->new($RT::SystemUser);
-            $delegations->DelegatedFrom( Id => $this_ace->Id );
-            $delegations->DelegatedBy( Id => $self->MemberId );
-
-            # For each delegation 
-            while ( my $delegation = $delegations->Next ) {
-                # WHACK IT
-                my $del_ret = $delegation->_Delete(InsideTransaction => 1);
-                unless ($del_ret) {
-                    $RT::Logger->crit("Couldn't delete an ACL delegation that we know exists ". $delegation->Id);
-                    return(undef);
-                }
-            }
-        }
-    }
-    return ($err);
-}
-
-# }}}
-
-# {{{ SetDisabled
-
-=head2 SetDisabled
-
-SetDisableds the current CachedGroupMember from the group it's in and cascades 
-the SetDisabled to all submembers. This routine could be completely excised if
-mysql supported foreign keys with cascading SetDisableds.
-
-=cut 
-
-sub SetDisabled {
-    my $self = shift;
-    my $val = shift;
-    # if it's already disabled, we're good.
-    return {1} if ($self->__Value('Disabled') == $val);
-    my $err = $self->SUPER::SetDisabled($val);
-    my ($retval, $msg) = $err->as_array();
-    unless ($retval) {
-        $RT::Logger->error( "Couldn't SetDisabled CachedGroupMember " . $self->Id .": $msg");
-        return ($err);
-    }
-    
-    my $member = $self->MemberObj();
-    if ( $member->IsGroup ) {
-        my $deletable = RT::CachedGroupMembers->new( $self->CurrentUser );
-
-        $deletable->Limit( FIELD    => 'Via', OPERATOR => '=', VALUE    => $self->id );
-        $deletable->Limit( FIELD    => 'id', OPERATOR => '!=', VALUE    => $self->id );
-
-        while ( my $kid = $deletable->Next ) {
-            my $kid_err = $kid->SetDisabled($val );
-            unless ($kid_err) {
-                $RT::Logger->error( "Couldn't SetDisabled CachedGroupMember " . $kid->Id );
-                return ($kid_err);
-            }
-        }
-    }
-
-    # Unless $self->GroupObj still has the member recursively $self->MemberObj
-    # (Since we SetDisabledd the database row above, $self no longer counts)
-    unless ( $self->GroupObj->Object->HasMemberRecursively( $self->MemberObj ) ) {
-        #   Find all ACEs granted to $self->GroupId
-        my $acl = RT::ACL->new($RT::SystemUser);
-        $acl->LimitToPrincipal( Id => $self->GroupId );
-
-        while ( my $this_ace = $acl->Next() ) {
-            #       Find all ACEs which $self-MemberObj has delegated from $this_ace
-            my $delegations = RT::ACL->new($RT::SystemUser);
-            $delegations->DelegatedFrom( Id => $this_ace->Id );
-            $delegations->DelegatedBy( Id => $self->MemberId );
-
-            # For each delegation,  blow away the delegation
-            while ( my $delegation = $delegations->Next ) {
-                # WHACK IT
-                my $del_ret = $delegation->_Delete(InsideTransaction => 1);
-                unless ($del_ret) {
-                    $RT::Logger->crit("Couldn't delete an ACL delegation that we know exists ". $delegation->Id);
-                    return(undef);
-                }
-            }
-        }
-    }
-    return ($err);
-}
-
-# }}}
-
-# {{{ GroupObj
-
-=head2 GroupObj  
-
-Returns the RT::Principal object for this group Group
-
-=cut
-
-sub GroupObj {
-    my $self      = shift;
-    my $principal = RT::Principal->new( $self->CurrentUser );
-    $principal->Load( $self->GroupId );
-    return ($principal);
-}
-
-# }}}
-
-# {{{ ImmediateParentObj
-
-=head2 ImmediateParentObj  
-
-Returns the RT::Principal object for this group ImmediateParent
-
-=cut
-
-sub ImmediateParentObj {
-    my $self      = shift;
-    my $principal = RT::Principal->new( $self->CurrentUser );
-    $principal->Load( $self->ImmediateParentId );
-    return ($principal);
-}
-
-# }}}
-
-# {{{ MemberObj
-
-=head2 MemberObj  
-
-Returns the RT::Principal object for this group member
-
-=cut
-
-sub MemberObj {
-    my $self      = shift;
-    my $principal = RT::Principal->new( $self->CurrentUser );
-    $principal->Load( $self->MemberId );
-    return ($principal);
-}
-
-# }}}
-1;
diff --git a/rt/lib/RT/CachedGroupMembers.pm b/rt/lib/RT/CachedGroupMembers.pm
deleted file mode 100644 (file)
index 5ed35e6..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::CachedGroupMembers -- Class Description
-=head1 SYNOPSIS
-
-  use RT::CachedGroupMembers
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::CachedGroupMembers;
-
-use RT::SearchBuilder;
-use RT::CachedGroupMember;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'CachedGroupMembers';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::CachedGroupMember item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::CachedGroupMember->new($self->CurrentUser));
-}
-
-        eval "require RT::CachedGroupMembers_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/CachedGroupMembers_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CachedGroupMembers_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/CachedGroupMembers_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CachedGroupMembers_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/CachedGroupMembers_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::CachedGroupMembers_Overlay, RT::CachedGroupMembers_Vendor, RT::CachedGroupMembers_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/CachedGroupMembers_Overlay.pm b/rt/lib/RT/CachedGroupMembers_Overlay.pm
deleted file mode 100644 (file)
index e83dab4..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::CachedGroupMembers - a collection of RT::GroupMember objects
-
-=head1 SYNOPSIS
-
-  use RT::CachedGroupMembers;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::CachedGroupMembers);
-
-=end testing
-
-=cut
-
-
-package RT::CachedGroupMembers;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ LimitToUsers
-
-=head2 LimitToUsers
-
-Limits this search object to users who are members of this group
-This is really useful when you want to have your UI separate out
-groups from users for display purposes
-
-=cut
-
-sub LimitToUsers {
-    my $self = shift;
-
-    my $principals = $self->NewAlias('Principals');
-    $self->Join( ALIAS1 => 'main', FIELD1 => 'MemberId',
-                 ALIAS2 => $principals, FIELD2 =>'id');
-
-    $self->Limit(       ALIAS => $principals,
-                         FIELD => 'PrincipalType',
-                         VALUE => 'User',
-                         ENTRYAGGREGATOR => 'OR',
-                         );
-}
-
-# }}}
-
-
-# {{{ LimitToGroups
-
-=head2 LimitToGroups
-
-Limits this search object to Groups who are members of this group
-This is really useful when you want to have your UI separate out
-groups from users for display purposes
-
-=cut
-
-sub LimitToGroups {
-    my $self = shift;
-
-    my $principals = $self->NewAlias('Principals');
-    $self->Join( ALIAS1 => 'main', FIELD1 => 'MemberId',
-                 ALIAS2 => $principals, FIELD2 =>'id');
-
-    $self->Limit(       ALIAS => $principals,
-                         FIELD => 'PrincipalType',
-                         VALUE => 'Group',
-                         ENTRYAGGREGATOR => 'OR',
-                         );
-}
-
-# }}}
-
-# {{{ sub LimitToMembersOfGroup
-
-=head2 LimitToMembersOfGroup PRINCIPAL_ID
-
-Takes a Principal Id as its only argument. 
-Limits the current search principals which are _directly_ members
-of the group which has PRINCIPAL_ID as its principal id.
-
-=cut
-
-sub LimitToMembersOfGroup {
-    my $self = shift;
-    my $group = shift;
-
-    return ($self->Limit( 
-                         VALUE => $group,
-                         FIELD => 'GroupId',
-                         ENTRYAGGREGATOR => 'OR',
-                         ));
-
-}
-# }}}
-
-# {{{ sub LimitToGroupsWithMember
-
-=head2 LimitToGroupsWithMember PRINCIPAL_ID
-
-Takes a Principal Id as its only argument. 
-Limits the current search to groups which contain PRINCIPAL_ID as a member  or submember.
-This function gets used by GroupMember->Create to populate subgroups
-
-=cut
-
-sub LimitToGroupsWithMember {
-    my $self = shift;
-    my $member = shift;
-
-    
-
-    return ($self->Limit( 
-                         VALUE => $member || '0',
-                         FIELD => 'MemberId',
-                         ENTRYAGGREGATOR => 'OR',
-                                   QUOTEVALUE => 0
-                         ));
-
-}
-# }}}
-1;
diff --git a/rt/lib/RT/Condition/AnyTransaction.pm b/rt/lib/RT/Condition/AnyTransaction.pm
deleted file mode 100644 (file)
index 6685e27..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-package RT::Condition::AnyTransaction;
-require RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-This happens on every transaction. it's always applicable
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    return(1);
-}
-
-eval "require RT::Condition::AnyTransaction_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/AnyTransaction_Vendor.pm});
-eval "require RT::Condition::AnyTransaction_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/AnyTransaction_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Condition/BeforeDue.pm b/rt/lib/RT/Condition/BeforeDue.pm
deleted file mode 100644 (file)
index d5e371e..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Condition::BeforeDue;
-require RT::Condition::Generic;
-
-use RT::Date;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-sub IsApplicable {
-    my $self = shift;
-
-    # Parse date string.  Format is "1d2h3m4s" for 1 day and 2 hours
-    # and 3 minutes and 4 seconds.
-    my %e;
-    foreach (qw(d h m s)) {
-       my @vals = $self->Argument =~ m/(\d+)$_/;
-       $e{$_} = pop @vals || 0;
-    }
-    my $elapse = $e{'d'} * 24*60*60 + $e{'h'} * 60*60 + $e{'m'} * 60 + $e{'s'};
-
-    my $cur = new RT::Date( $RT::SystemUser );
-    $cur->SetToNow();
-    my $due = $self->TicketObj->DueObj;
-    return (undef) if $due->Unix <= 0;
-
-    my $diff = $due->Diff($cur);
-    if ( $diff >= 0 and $diff <= $elapse ) {
-        return(1);
-    } else {
-        return(undef);
-    }
-}
-
-eval "require RT::Condition::BeforeDue_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/BeforeDue_Vendor.pm});
-eval "require RT::Condition::BeforeDue_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/BeforeDue_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Condition/Generic.pm b/rt/lib/RT/Condition/Generic.pm
deleted file mode 100755 (executable)
index cdde9ee..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Condition::Generic - ;
-
-=head1 SYNOPSIS
-
-    use RT::Condition::Generic;
-    my $foo = new RT::Condition::IsApplicable( 
-               TransactionObj => $tr, 
-               TicketObj => $ti, 
-               ScripObj => $scr, 
-               Argument => $arg, 
-               Type => $type);
-
-    if ($foo->IsApplicable) {
-          # do something
-    }
-
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Condition::Generic);
-
-=end testing
-
-
-=cut
-
-package RT::Condition::Generic;
-
-use strict;
-use base qw/RT::Base/;
-
-# {{{ sub new 
-sub new  {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self  = {};
-  bless ($self, $class);
-  $self->_Init(@_);
-  return $self;
-}
-# }}}
-
-# {{{ sub _Init 
-sub _Init  {
-  my $self = shift;
-  my %args = ( TransactionObj => undef,
-              TicketObj => undef,
-              ScripObj => undef,
-              TemplateObj => undef,
-              Argument => undef,
-              ApplicableTransTypes => undef,
-           CurrentUser => undef,
-              @_ );
-  
-  $self->{'Argument'} = $args{'Argument'};
-  $self->{'ScripObj'} = $args{'ScripObj'};
-  $self->{'TicketObj'} = $args{'TicketObj'};
-  $self->{'TransactionObj'} = $args{'TransactionObj'};
-  $self->{'ApplicableTransTypes'} = $args{'ApplicableTransTypes'};
-  $self->CurrentUser($args{'CurrentUser'});
-}
-# }}}
-
-# Access Scripwide data
-
-# {{{ sub Argument 
-
-=head2 Argument
-
-Return the optional argument associated with this ScripCondition
-
-=cut
-
-sub Argument  {
-  my $self = shift;
-  return($self->{'Argument'});
-}
-# }}}
-
-# {{{ sub TicketObj
-
-=head2 TicketObj
-
-Return the ticket object we're talking about
-
-=cut
-
-sub TicketObj  {
-  my $self = shift;
-  return($self->{'TicketObj'});
-}
-# }}}
-
-# {{{ sub ScripObj
-
-=head2 ScripObj
-
-Return the Scrip object we're talking about
-
-=cut
-
-sub ScripObj  {
-  my $self = shift;
-  return($self->{'ScripObj'});
-}
-# }}}
-# {{{ sub TransactionObj
-
-=head2 TransactionObj
-
-Return the transaction object we're talking about
-
-=cut
-
-sub TransactionObj  {
-  my $self = shift;
-  return($self->{'TransactionObj'});
-}
-# }}}
-
-# {{{ sub Type
-
-=head2 Type 
-
-
-
-=cut
-
-sub ApplicableTransTypes  {
-  my $self = shift;
-  return($self->{'ApplicableTransTypes'});
-}
-# }}}
-
-
-# Scrip methods
-
-
-#What does this type of Action does
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return ($self->loc("No description for [_1]", ref $self));
-}
-# }}}
-
-
-#Parse the templates, get things ready to go.
-
-#If this rule applies to this transaction, return true.
-
-# {{{ sub IsApplicable 
-sub IsApplicable  {
-  my $self = shift;
-  return(undef);
-}
-# }}}
-
-# {{{ sub DESTROY
-sub DESTROY {
-    my $self = shift;
-
-    # We need to clean up all the references that might maybe get
-    # oddly circular
-    $self->{'TemplateObj'} =undef
-    $self->{'TicketObj'} = undef;
-    $self->{'TransactionObj'} = undef;
-    $self->{'ScripObj'} = undef;
-     
-}
-
-# }}}
-
-eval "require RT::Condition::Generic_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Vendor.pm});
-eval "require RT::Condition::Generic_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Generic_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Condition/Overdue.pm b/rt/lib/RT/Condition/Overdue.pm
deleted file mode 100644 (file)
index 877db40..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-
-=head1 NAME
-
-RT::Condition::Overdue
-
-=head1 DESCRIPTION
-
-Returns true if the ticket we're operating on is overdue
-
-=cut
-
-package RT::Condition::Overdue;
-require RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-If the due date is before "now" return true
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    if ($self->TicketObj->DueObj->Unix > 0 and
-       $self->TicketObj->DueObj->Unix < time())  {
-       return(1);
-    } 
-    else {
-       return(undef);
-    }
-}
-
-eval "require RT::Condition::Overdue_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Overdue_Vendor.pm});
-eval "require RT::Condition::Overdue_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/Overdue_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Condition/OwnerChange.pm b/rt/lib/RT/Condition/OwnerChange.pm
deleted file mode 100644 (file)
index 5fbc6b2..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-
-package RT::Condition::OwnerChange;
-require RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-If we're changing the owner return true, otherwise return false
-
-=begin testing
-
-my $q = RT::Queue->new($RT::SystemUser);
-$q->Create(Name =>'ownerChangeTest');
-
-ok($q->Id, "Created a scriptest queue");
-
-my $s1 = RT::Scrip->new($RT::SystemUser);
-my ($val, $msg) =$s1->Create( Queue => $q->Id,
-             ScripAction => 'User Defined',
-             ScripCondition => 'On Owner Change',
-             CustomIsApplicableCode => '',
-             CustomPrepareCode => 'return 1',
-             CustomCommitCode => '
-                    $self->TicketObj->SetPriority($self->TicketObj->Priority+1);
-                return(1);
-            ',
-             Template => 'Blank'
-    );
-ok($val,$msg);
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my ($tv,$ttv,$tm) = $ticket->Create(Queue => $q->Id,
-                                    Subject => "hair on fire",
-                                    InitialPriority => '20'
-                                    );
-ok($tv, $tm);
-ok($ticket->SetOwner('root'));
-is ($ticket->Priority , '21', "Ticket priority is set right");
-ok($ticket->Steal);
-is ($ticket->Priority , '22', "Ticket priority is set right");
-ok($ticket->Untake);
-is ($ticket->Priority , '23', "Ticket priority is set right");
-ok($ticket->Take);
-is ($ticket->Priority , '24', "Ticket priority is set right");
-
-
-
-
-
-=end testing
-
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    if ($self->TransactionObj->Field eq 'Owner') {
-       return(1);
-    } 
-    else {
-       return(undef);
-    }
-}
-
-eval "require RT::Condition::OwnerChange_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/OwnerChange_Vendor.pm});
-eval "require RT::Condition::OwnerChange_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/OwnerChange_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Condition/PriorityChange.pm b/rt/lib/RT/Condition/PriorityChange.pm
deleted file mode 100644 (file)
index 101c388..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-
-package RT::Condition::PriorityChange;
-require RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-If the argument passed in is equivalent to the new value of
-the Priority Obj
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    if ($self->TransactionObj->Field eq 'Priority') {
-       return(1);
-    } 
-    else {
-       return(undef);
-    }
-}
-
-eval "require RT::Condition::PriorityChange_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/PriorityChange_Vendor.pm});
-eval "require RT::Condition::PriorityChange_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/PriorityChange_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Condition/PriorityExceeds.pm b/rt/lib/RT/Condition/PriorityExceeds.pm
deleted file mode 100644 (file)
index b811c72..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-
-package RT::Condition::PriorityExceeds;
-require RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-If the priority exceeds the argument value
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    if ($self->TicketObj->Priority > $self->Argument)  {
-       return(1);
-    } 
-    else {
-       return(undef);
-    }
-}
-
-eval "require RT::Condition::PriorityExceeds_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/PriorityExceeds_Vendor.pm});
-eval "require RT::Condition::PriorityExceeds_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/PriorityExceeds_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Condition/QueueChange.pm b/rt/lib/RT/Condition/QueueChange.pm
deleted file mode 100644 (file)
index 7a3ede9..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-
-package RT::Condition::QueueChange;
-require RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-If the queue has changed.
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    if ($self->TransactionObj->Field eq 'Queue') {
-           return(1);
-    } 
-    else {
-           return(undef);
-    }
-}
-
-eval "require RT::Condition::QueueChange_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/QueueChange_Vendor.pm});
-eval "require RT::Condition::QueueChange_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/QueueChange_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Condition/StatusChange.pm b/rt/lib/RT/Condition/StatusChange.pm
deleted file mode 100644 (file)
index 902bf2a..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-
-package RT::Condition::StatusChange;
-require RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-If the argument passed in is equivalent to the new value of
-the Status Obj
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    if (($self->TransactionObj->Field eq 'Status') and 
-    ($self->Argument eq $self->TransactionObj->NewValue())) {
-       return(1);
-    } 
-    else {
-       return(undef);
-    }
-}
-
-eval "require RT::Condition::StatusChange_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/StatusChange_Vendor.pm});
-eval "require RT::Condition::StatusChange_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/StatusChange_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/Condition/UserDefined.pm b/rt/lib/RT/Condition/UserDefined.pm
deleted file mode 100644 (file)
index f6d077d..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-package RT::Condition::UserDefined;
-
-use RT::Condition::Generic;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Condition::Generic);
-
-
-=head2 IsApplicable
-
-This happens on every transaction. it's always applicable
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    my $retval = eval $self->ScripObj->CustomIsApplicableCode;
-    if ($@) {
-        $RT::Logger->error("Scrip ".$self->ScripObj->Id. " IsApplicable failed: ".$@);
-        return (undef);
-    }
-    return ($retval);
-}
-
-eval "require RT::Condition::UserDefined_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/UserDefined_Vendor.pm});
-eval "require RT::Condition::UserDefined_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Condition/UserDefined_Local.pm});
-
-1;
-
diff --git a/rt/lib/RT/CurrentUser.pm b/rt/lib/RT/CurrentUser.pm
deleted file mode 100755 (executable)
index 8e28801..0000000
+++ /dev/null
@@ -1,477 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::CurrentUser - an RT object representing the current user
-
-=head1 SYNOPSIS
-
-  use RT::CurrentUser
-
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::CurrentUser);
-
-=end testing
-
-=cut
-
-
-package RT::CurrentUser;
-
-use RT::Record;
-use RT::I18N;
-
-use strict;
-use base qw/RT::Record/;
-
-# {{{ sub _Init 
-
-#The basic idea here is that $self->CurrentUser is always supposed
-# to be a CurrentUser object. but that's hard to do when we're trying to load
-# the CurrentUser object
-
-sub _Init {
-    my $self = shift;
-    my $User = shift;
-
-    $self->{'table'} = "Users";
-
-    if ( defined($User) ) {
-
-        if (   UNIVERSAL::isa( $User, 'RT::User' )
-            || UNIVERSAL::isa( $User, 'RT::CurrentUser' ) )
-        {
-            $self->Load( $User->id );
-
-        }
-        elsif ( ref($User) ) {
-            $RT::Logger->crit(
-                "RT::CurrentUser->new() called with a bogus argument: $User");
-        }
-        else {
-            $self->Load($User);
-        }
-    }
-
-    $self->_BuildTableAttributes();
-
-}
-# }}}
-
-# {{{ sub Create
-
-sub Create {
-    my $self = shift;
-    return (0, $self->loc('Permission Denied'));
-}
-
-# }}}
-
-# {{{ sub Delete
-
-sub Delete {
-    my $self = shift;
-    return (0, $self->loc('Permission Denied'));
-}
-
-# }}}
-
-# {{{ sub UserObj
-
-=head2 UserObj
-
-  Returns the RT::User object associated with this CurrentUser object.
-
-=cut
-
-sub UserObj {
-    my $self = shift;
-    
-       use RT::User;
-       my $user = RT::User->new($self);
-
-       unless ($user->Load($self->Id)) {
-           $RT::Logger->err($self->loc("Couldn't load [_1] from the users database.\n", $self->Id));
-       }
-    return ($user);
-}
-# }}}
-
-# {{{ sub PrincipalObj 
-
-=head2 PrincipalObj
-
-    Returns this user's principal object.  this is just a helper routine for
-    $self->UserObj->PrincipalObj
-
-=cut
-
-sub PrincipalObj {
-    my $self = shift;
-    return($self->UserObj->PrincipalObj);
-}
-
-
-# }}}
-
-
-# {{{ sub PrincipalId 
-
-=head2 PrincipalId
-
-    Returns this user's principal Id.  this is just a helper routine for
-    $self->UserObj->PrincipalId
-
-=cut
-
-sub PrincipalId {
-    my $self = shift;
-    return($self->UserObj->PrincipalId);
-}
-
-
-# }}}
-
-
-# {{{ sub _Accessible 
-
-
- sub _CoreAccessible  {
-     {
-         Name           => { 'read' => 1 },
-           Gecos        => { 'read' => 1 },
-           RealName     => { 'read' => 1 },
-           Lang     => { 'read' => 1 },
-           Password     => { 'read' => 0, 'write' => 0 },
-          EmailAddress => { 'read' => 1, 'write' => 0 }
-     };
-  
-}
-# }}}
-
-# {{{ sub LoadByEmail
-
-=head2 LoadByEmail
-
-Loads a User into this CurrentUser object.
-Takes the email address of the user to load.
-
-=cut
-
-sub LoadByEmail  {
-    my $self = shift;
-    my $identifier = shift;
-
-    $identifier = RT::User::CanonicalizeEmailAddress(undef, $identifier);
-        
-    $self->LoadByCol("EmailAddress",$identifier);
-    
-}
-# }}}
-
-# {{{ sub LoadByGecos
-
-=head2 LoadByGecos
-
-Loads a User into this CurrentUser object.
-Takes a unix username as its only argument.
-
-=cut
-
-sub LoadByGecos  {
-    my $self = shift;
-    my $identifier = shift;
-        
-    $self->LoadByCol("Gecos",$identifier);
-    
-}
-# }}}
-
-# {{{ sub LoadByName
-
-=head2 LoadByName
-
-Loads a User into this CurrentUser object.
-Takes a Name.
-
-=cut
-
-sub LoadByName {
-    my $self = shift;
-    my $identifier = shift;
-    $self->LoadByCol("Name",$identifier);
-    
-}
-# }}}
-
-# {{{ sub Load 
-
-=head2 Load
-
-Loads a User into this CurrentUser object.
-Takes either an integer (users id column reference) or a Name
-The latter is deprecated. Instead, you should use LoadByName.
-Formerly, this routine also took email addresses. 
-
-=cut
-
-sub Load  {
-  my $self = shift;
-  my $identifier = shift;
-
-  #if it's an int, load by id. otherwise, load by name.
-  if ($identifier !~ /\D/) {
-    $self->SUPER::LoadById($identifier);
-  }
-
-  elsif (UNIVERSAL::isa($identifier,"RT::User")) {
-         # DWIM if they pass a user in
-         $self->SUPER::LoadById($identifier->Id);
-  } 
-  else {
-      # This is a bit dangerous, we might get false authen if somebody
-      # uses ambigous userids or real names:
-      $self->LoadByCol("Name",$identifier);
-  }
-}
-
-# }}}
-
-# {{{ sub IsPassword
-
-=head2 IsPassword
-
-Takes a password as a string.  Passes it off to IsPassword in this
-user's UserObj.  If it is the user's password and the user isn't
-disabled, returns 1.
-
-Otherwise, returns undef.
-
-=cut
-
-sub IsPassword { 
-  my $self = shift;
-  my $value = shift;
-  
-  return ($self->UserObj->IsPassword($value)); 
-}
-
-# }}}
-
-# {{{ sub Privileged
-
-=head2 Privileged
-
-Returns true if the current user can be granted rights and be
-a member of groups.
-
-=cut
-
-sub Privileged {
-    my $self = shift;
-    return ($self->UserObj->Privileged());
-}
-
-# }}}
-
-
-# {{{ sub HasRight
-
-=head2 HasRight
-
-calls $self->UserObj->HasRight with the arguments passed in
-
-=cut
-
-sub HasRight {
-  my $self = shift;
-  return ($self->UserObj->HasRight(@_));
-}
-
-# }}}
-
-# {{{ Localization
-
-=head2 LanguageHandle
-
-Returns this current user's langauge handle. Should take a language
-specification. but currently doesn't
-
-=begin testing
-
-ok (my $cu = RT::CurrentUser->new('root'));
-ok (my $lh = $cu->LanguageHandle('en-us'));
-ok ($lh != undef);
-ok ($lh->isa('Locale::Maketext'));
-is ($cu->loc('TEST_STRING'), "Concrete Mixer", "Localized TEST_STRING into English");
-ok ($lh = $cu->LanguageHandle('fr'));
-is ($cu->loc('Before'), "Avant", "Localized TEST_STRING into Frenc");
-
-=end testing
-
-=cut 
-
-sub LanguageHandle {
-    my $self = shift;
-    if (   ( !defined $self->{'LangHandle'} )
-        || ( !UNIVERSAL::can( $self->{'LangHandle'}, 'maketext' ) )
-        || (@_) ) {
-        if ( !$RT::SystemUser or ($self->id || 0) == $RT::SystemUser->id() ) {
-            @_ = qw(en-US);
-        }
-
-        elsif ( $self->Lang ) {
-            push @_, $self->Lang;
-        }
-        $self->{'LangHandle'} = RT::I18N->get_handle(@_);
-    }
-
-    # Fall back to english.
-    unless ( $self->{'LangHandle'} ) {
-        die "We couldn't get a dictionary. Nye mogu naidti slovar. No puedo encontrar dictionario.";
-    }
-    return ( $self->{'LangHandle'} );
-}
-
-sub loc {
-    my $self = shift;
-    return '' if $_[0] eq '';
-
-    my $handle = $self->LanguageHandle;
-
-    if (@_ == 1) {
-       # pre-scan the lexicon hashes to return _AUTO keys verbatim,
-       # to keep locstrings containing '[' and '~' from tripping over Maketext
-       return $_[0] unless grep { exists $_->{$_[0]} } @{ $handle->_lex_refs };
-    }
-
-    return $handle->maketext(@_);
-}
-
-sub loc_fuzzy {
-    my $self = shift;
-    return '' if (!$_[0] ||  $_[0] eq '');
-
-    # XXX: work around perl's deficiency when matching utf8 data
-    return $_[0] if Encode::is_utf8($_[0]);
-    my $result = $self->LanguageHandle->maketext_fuzzy(@_);
-
-    return($result);
-}
-# }}}
-
-
-=head2 CurrentUser
-
-Return  the current currentuser object
-
-=cut
-
-sub CurrentUser {
-    my $self = shift;
-    return($self);
-
-}
-
-=head2 Authenticate
-
-Takes $password, $created and $nonce, and returns a boolean value
-representing whether the authentication succeeded.
-
-If both $nonce and $created are specified, validate $password against:
-
-    encode_base64(sha1(
-       $nonce .
-       $created .
-       sha1_hex( "$username:$realm:$server_pass" )
-    ))
-
-where $server_pass is the md5_hex(password) digest stored in the
-database, $created is in ISO time format, and $nonce is a random
-string no longer than 32 bytes.
-
-=cut
-
-sub Authenticate { 
-    my ($self, $password, $created, $nonce, $realm) = @_;
-
-    require Digest::MD5;
-    require Digest::SHA1;
-    require MIME::Base64;
-
-    my $username = $self->UserObj->Name or return;
-    my $server_pass = $self->UserObj->__Value('Password') or return;
-    my $auth_digest = MIME::Base64::encode_base64(Digest::SHA1::sha1(
-       $nonce .
-       $created .
-       Digest::MD5::md5_hex("$username:$realm:$server_pass")
-    ));
-
-    chomp($password);
-    chomp($auth_digest);
-
-    return ($password eq $auth_digest);
-}
-
-# }}}
-
-
-eval "require RT::CurrentUser_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/CurrentUser_Vendor.pm});
-eval "require RT::CurrentUser_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/CurrentUser_Local.pm});
-
-1;
diff --git a/rt/lib/RT/CustomField.pm b/rt/lib/RT/CustomField.pm
deleted file mode 100644 (file)
index 212e594..0000000
+++ /dev/null
@@ -1,419 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::CustomField
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::CustomField;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('CustomFields');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(200) 'Type'.
-  int(11) 'MaxValues'.
-  varchar(255) 'Pattern'.
-  smallint(6) 'Repeated'.
-  varchar(255) 'Description'.
-  int(11) 'SortOrder'.
-  varchar(255) 'LookupType'.
-  smallint(6) 'Disabled'.
-
-  'LookupType' is generally the result of either 
-  RT::Ticket->CustomFieldLookupType or RT::Transaction->CustomFieldLookupType
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Type => '',
-                MaxValues => '',
-                Pattern => '',
-                Repeated => '0',
-                Description => '',
-                SortOrder => '0',
-                LookupType => '',
-                Disabled => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Type => $args{'Type'},
-                         MaxValues => $args{'MaxValues'},
-                         Pattern => $args{'Pattern'},
-                         Repeated => $args{'Repeated'},
-                         Description => $args{'Description'},
-                         SortOrder => $args{'SortOrder'},
-                         LookupType => $args{'LookupType'},
-                         Disabled => $args{'Disabled'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Type
-
-Returns the current value of Type. 
-(In the database, Type is stored as varchar(200).)
-
-
-
-=head2 SetType VALUE
-
-
-Set Type to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Type will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 MaxValues
-
-Returns the current value of MaxValues. 
-(In the database, MaxValues is stored as int(11).)
-
-
-
-=head2 SetMaxValues VALUE
-
-
-Set MaxValues to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, MaxValues will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Pattern
-
-Returns the current value of Pattern. 
-(In the database, Pattern is stored as varchar(255).)
-
-
-
-=head2 SetPattern VALUE
-
-
-Set Pattern to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Pattern will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Repeated
-
-Returns the current value of Repeated. 
-(In the database, Repeated is stored as smallint(6).)
-
-
-
-=head2 SetRepeated VALUE
-
-
-Set Repeated to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Repeated will be stored as a smallint(6).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 SortOrder
-
-Returns the current value of SortOrder. 
-(In the database, SortOrder is stored as int(11).)
-
-
-
-=head2 SetSortOrder VALUE
-
-
-Set SortOrder to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, SortOrder will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 LookupType
-
-Returns the current value of LookupType. 
-(In the database, LookupType is stored as varchar(255).)
-
-
-
-=head2 SetLookupType VALUE
-
-
-Set LookupType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, LookupType will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-=head2 Disabled
-
-Returns the current value of Disabled. 
-(In the database, Disabled is stored as smallint(6).)
-
-
-
-=head2 SetDisabled VALUE
-
-
-Set Disabled to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Disabled will be stored as a smallint(6).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Type => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        MaxValues => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Pattern => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Repeated => 
-               {read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        SortOrder => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LookupType => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Disabled => 
-               {read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::CustomField_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomField_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomField_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomField_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomField_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomField_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::CustomField_Overlay, RT::CustomField_Vendor, RT::CustomField_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/CustomFieldValue.pm b/rt/lib/RT/CustomFieldValue.pm
deleted file mode 100644 (file)
index 105ac40..0000000
+++ /dev/null
@@ -1,316 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::CustomFieldValue
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::CustomFieldValue;
-use RT::Record; 
-use RT::CustomField;
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('CustomFieldValues');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'CustomField'.
-  varchar(200) 'Name'.
-  varchar(255) 'Description'.
-  int(11) 'SortOrder'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                CustomField => '0',
-                Name => '',
-                Description => '',
-                SortOrder => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         CustomField => $args{'CustomField'},
-                         Name => $args{'Name'},
-                         Description => $args{'Description'},
-                         SortOrder => $args{'SortOrder'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 CustomField
-
-Returns the current value of CustomField. 
-(In the database, CustomField is stored as int(11).)
-
-
-
-=head2 SetCustomField VALUE
-
-
-Set CustomField to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CustomField will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 CustomFieldObj
-
-Returns the CustomField Object which has the id returned by CustomField
-
-
-=cut
-
-sub CustomFieldObj {
-       my $self = shift;
-       my $CustomField =  RT::CustomField->new($self->CurrentUser);
-       $CustomField->Load($self->__Value('CustomField'));
-       return($CustomField);
-}
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 SortOrder
-
-Returns the current value of SortOrder. 
-(In the database, SortOrder is stored as int(11).)
-
-
-
-=head2 SetSortOrder VALUE
-
-
-Set SortOrder to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, SortOrder will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        CustomField => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        SortOrder => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::CustomFieldValue_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValue_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomFieldValue_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValue_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomFieldValue_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValue_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::CustomFieldValue_Overlay, RT::CustomFieldValue_Vendor, RT::CustomFieldValue_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/CustomFieldValue_Overlay.pm b/rt/lib/RT/CustomFieldValue_Overlay.pm
deleted file mode 100644 (file)
index 322e58b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-use warnings;
-use strict;
-
-package RT::CustomFieldValue;
-
-no warnings qw/redefine/;
-
-
-=head2 ValidateName
-
-Override the default ValidateName method that stops custom field values
-from being integers.
-
-=cut
-
-
-sub ValidateName { 1 };
-
-1;
diff --git a/rt/lib/RT/CustomFieldValues.pm b/rt/lib/RT/CustomFieldValues.pm
deleted file mode 100644 (file)
index 9a55af8..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::CustomFieldValues -- Class Description
-=head1 SYNOPSIS
-
-  use RT::CustomFieldValues
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::CustomFieldValues;
-
-use RT::SearchBuilder;
-use RT::CustomFieldValue;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'CustomFieldValues';
-    $self->{'primary_key'} = 'id';
-
-
-
-  # By default, order by SortOrder
-  $self->OrderByCols(
-        { ALIAS => 'main',
-          FIELD => 'SortOrder',
-          ORDER => 'ASC' },
-        { ALIAS => 'main',
-          FIELD => 'id',
-          ORDER => 'ASC' },
-     );
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::CustomFieldValue item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::CustomFieldValue->new($self->CurrentUser));
-}
-
-        eval "require RT::CustomFieldValues_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValues_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomFieldValues_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValues_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomFieldValues_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValues_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::CustomFieldValues_Overlay, RT::CustomFieldValues_Vendor, RT::CustomFieldValues_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/CustomFieldValues_Overlay.pm b/rt/lib/RT/CustomFieldValues_Overlay.pm
deleted file mode 100644 (file)
index 3a9f5d5..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::CustomFieldValues;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub LimitToCustomField
-
-=head2 LimitToCustomField FIELD
-
-Limits the returned set to values for the custom field with Id FIELD
-
-=cut
-  
-sub LimitToCustomField {
-    my $self = shift;
-    my $cf = shift;
-    return ($self->Limit( FIELD => 'CustomField',
-                         VALUE => $cf,
-                         OPERATOR => '='));
-
-}
-
-# }}}
-
-1;
-
diff --git a/rt/lib/RT/CustomField_Overlay.pm b/rt/lib/RT/CustomField_Overlay.pm
deleted file mode 100644 (file)
index 9e0ce24..0000000
+++ /dev/null
@@ -1,1104 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::CustomField;
-
-use strict;
-no warnings qw(redefine);
-
-use vars qw(%FieldTypes $RIGHTS %FRIENDLY_OBJECT_TYPES);
-
-use RT::CustomFieldValues;
-use RT::ObjectCustomFieldValues;
-
-
-%FieldTypes = (
-    Select => [
-        'Select multiple values',      # loc
-        'Select one value',            # loc
-        'Select up to [_1] values',    # loc
-    ],
-    Freeform => [
-        'Enter multiple values',       # loc
-        'Enter one value',             # loc
-        'Enter up to [_1] values',     # loc
-    ],
-    Text => [
-        'Fill in multiple text areas', # loc
-        'Fill in one text area',       # loc
-        'Fill in up to [_1] text areas',# loc
-    ],
-    Wikitext => [
-        'Fill in multiple wikitext areas',     # loc
-        'Fill in one wikitext area',   # loc
-        'Fill in up to [_1] wikitext areas',# loc
-    ],
-    Image => [
-        'Upload multiple images',      # loc
-        'Upload one image',            # loc
-        'Upload up to [_1] images',    # loc
-    ],
-    Binary => [
-        'Upload multiple files',       # loc
-        'Upload one file',             # loc
-        'Upload up to [_1] files',     # loc
-    ],
-);
-
-
-%FRIENDLY_OBJECT_TYPES =  ();
-
-RT::CustomField->_ForObjectType( 'RT::Queue-RT::Ticket' => "Tickets", );    #loc
-RT::CustomField->_ForObjectType(
-    'RT::Queue-RT::Ticket-RT::Transaction' => "Ticket Transactions", );    #loc
-RT::CustomField->_ForObjectType( 'RT::User'  => "Users", );                           #loc
-RT::CustomField->_ForObjectType( 'RT::Group' => "Groups", );                          #loc
-
-$RIGHTS = {
-    SeeCustomField            => 'See custom fields',       # loc_pair
-    AdminCustomField          => 'Create, delete and modify custom fields',        # loc_pair
-    ModifyCustomField         => 'Add, delete and modify custom field values for objects' #loc_pair
-
-};
-
-# Tell RT::ACE that this sort of object can get acls granted
-$RT::ACE::OBJECT_TYPES{'RT::CustomField'} = 1;
-
-foreach my $right ( keys %{$RIGHTS} ) {
-    $RT::ACE::LOWERCASERIGHTNAMES{ lc $right } = $right;
-}
-
-sub AvailableRights {
-    my $self = shift;
-    return($RIGHTS);
-}
-
-=head1 NAME
-
-  RT::CustomField_Overlay 
-
-=head1 DESCRIPTION
-
-=head1 'CORE' METHODS
-
-=cut
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(200) 'Type'.
-  int(11) 'MaxValues'.
-  varchar(255) 'Pattern'.
-  smallint(6) 'Repeated'.
-  varchar(255) 'Description'.
-  int(11) 'SortOrder'.
-  varchar(255) 'LookupType'.
-  smallint(6) 'Disabled'.
-
-  'LookupType' is generally the result of either 
-  RT::Ticket->CustomFieldLookupType or RT::Transaction->CustomFieldLookupType
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Type => '',
-               MaxValues => '0',
-               Pattern  => '',
-                Description => '',
-                Disabled => '0',
-               LookupType  => '',
-               Repeated  => '0',
-
-                 @_);
-
-    unless ($self->CurrentUser->HasRight(Object => $RT::System, Right => 'AdminCustomField')) {
-        return (0, $self->loc('Permission Denied'));
-    }
-
-
-    if ($args{TypeComposite}) {
-       @args{'Type', 'MaxValues'} = split(/-/, $args{TypeComposite}, 2);
-    }
-    elsif ($args{Type} =~ s/(?:(Single)|Multiple)$//) {
-       # old style Type string
-       $args{'MaxValues'} = $1 ? 1 : 0;
-    }
-    
-    if ( !exists $args{'Queue'}) {
-       # do nothing -- things below are strictly backward compat
-    }
-    elsif (  ! $args{'Queue'} ) {
-        unless ( $self->CurrentUser->HasRight( Object => $RT::System, Right => 'AssignCustomFields') ) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-       $args{'LookupType'} = 'RT::Queue-RT::Ticket';
-    }
-    else {
-        my $queue = RT::Queue->new($self->CurrentUser);
-        $queue->Load($args{'Queue'});
-        unless ($queue->Id) {
-            return (0, $self->loc("Queue not found"));
-        }
-        unless ( $queue->CurrentUserHasRight('AssignCustomFields') ) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-       $args{'LookupType'} = 'RT::Queue-RT::Ticket';
-    }
-    my $rv = $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Type => $args{'Type'},
-                         MaxValues => $args{'MaxValues'},
-                         Pattern  => $args{'Pattern'},
-                         Description => $args{'Description'},
-                         Disabled => $args{'Disabled'},
-                        LookupType => $args{'LookupType'},
-                        Repeated => $args{'Repeated'},
-);
-
-    return $rv unless exists $args{'Queue'};
-
-    # Compat code -- create a new ObjectCustomField mapping
-    my $OCF = RT::ObjectCustomField->new($self->CurrentUser);
-    $OCF->Create(
-       CustomField => $self->Id,
-       ObjectId => $args{'Queue'},
-    );
-
-    return $rv;
-}
-
-=head2 Load ID/NAME
-
-Load a custom field.  If the value handed in is an integer, load by custom field ID. Otherwise, Load by name.
-
-=cut
-
-
-sub Load {
-    my $self = shift;
-    my $id = shift;
-
-    if ($id =~ /^\d+$/) {
-        return ($self->SUPER::Load($id));
-    } else {
-        return($self->LoadByName(Name => $id));
-    }
-}
-
-
-# {{{ sub LoadByName
-
-=head2  LoadByName (Queue => QUEUEID, Name => NAME)
-
-Loads the Custom field named NAME.
-
-If a Queue parameter is specified, only look for ticket custom fields tied to that Queue.
-
-If the Queue parameter is '0', look for global ticket custom fields.
-
-If no queue parameter is specified, look for any and all custom fields with this name.
-
-BUG/TODO, this won't let you specify that you only want user or group CFs.
-
-=cut
-
-# Compatibility for API change after 3.0 beta 1
-*LoadNameAndQueue = \&LoadByName;
-# Change after 3.4 beta.
-*LoadByNameAndQueue = \&LoadByName;
-
-sub LoadByName {
-    my $self = shift;
-    my %args = (
-        Queue => undef,
-        Name  => undef,
-        @_,
-    );
-
-    # if we're looking for a queue by name, make it a number
-    if  (defined $args{'Queue'}  &&  $args{'Queue'} !~ /^\d+$/) {
-       my $QueueObj = RT::Queue->new($self->CurrentUser);
-       $QueueObj->Load($args{'Queue'});
-       $args{'Queue'} = $QueueObj->Id;
-    }
-
-    # XXX - really naive implementation.  Slow. - not really. still just one query
-
-    my $CFs = RT::CustomFields->new($self->CurrentUser);
-
-    $CFs->Limit( FIELD => 'Name', VALUE => $args{'Name'} );
-    # Don't limit to queue if queue is 0.  Trying to do so breaks
-    # RT::Group type CFs.
-    if (defined $args{'Queue'}) {
-       $CFs->LimitToQueue( $args{'Queue'} );
-    }
-
-    # When loading by name, it's ok if they're disabled. That's not a big deal.
-    $CFs->{'find_disabled_rows'}=1;
-
-    # We only want one entry.
-    $CFs->RowsPerPage(1);
-    unless ($CFs->First) {
-        return(0);
-    }
-    return($self->Load($CFs->First->id));
-
-}
-
-# }}}
-
-# {{{ Dealing with custom field values 
-
-=begin testing
-
-use_ok(RT::CustomField);
-ok(my $cf = RT::CustomField->new($RT::SystemUser));
-ok(my ($id, $msg)=  $cf->Create( Name => 'TestingCF',
-                                 Queue => '0',
-                                 SortOrder => '1',
-                                 Description => 'A Testing custom field',
-                                 Type=> 'SelectSingle'), 'Created a global CustomField');
-ok($id != 0, 'Global custom field correctly created');
-ok ($cf->SingleValue);
-is($cf->Type, 'Select');
-is($cf->MaxValues, 1);
-
-my ($val, $msg) = $cf->SetMaxValues('0');
-ok($val, $msg);
-is($cf->Type, 'Select');
-is($cf->MaxValues, 0);
-ok(!$cf->SingleValue );
-ok(my ($bogus_val, $bogus_msg) = $cf->SetType('BogusType') , "Trying to set a custom field's type to a bogus type");
-ok($bogus_val == 0, "Unable to set a custom field's type to a bogus type");
-
-ok(my $bad_cf = RT::CustomField->new($RT::SystemUser));
-ok(my ($bad_id, $bad_msg)=  $cf->Create( Name => 'TestingCF-bad',
-                                 Queue => '0',
-                                 SortOrder => '1',
-                                 Description => 'A Testing custom field with a bogus Type',
-                                 Type=> 'SelectSingleton'), 'Created a global CustomField with a bogus type');
-ok($bad_id == 0, 'Global custom field correctly decided to not create a cf with a bogus type ');
-
-=end testing
-
-=cut
-
-# {{{ AddValue
-
-=head2 AddValue HASH
-
-Create a new value for this CustomField.  Takes a paramhash containing the elements Name, Description and SortOrder
-
-=begin testing
-
-ok(my $cf = RT::CustomField->new($RT::SystemUser));
-$cf->Load(1);
-ok($cf->Id == 1);
-ok(my ($val,$msg)  = $cf->AddValue(Name => 'foo' , Description => 'TestCFValue', SortOrder => '6'));
-ok($val != 0);
-ok (my ($delval, $delmsg) = $cf->DeleteValue($val));
-ok ($delval,"Deleting a cf value: $delmsg");
-
-=end testing
-
-=cut
-
-sub AddValue {
-       my $self = shift;
-       my %args = ( Name => undef,
-                    Description => undef,
-                    SortOrder => undef,
-                    @_ );
-
-    unless ($self->CurrentUserHasRight('AdminCustomField')) {
-        return (0, $self->loc('Permission Denied'));
-    }
-
-    unless ($args{'Name'}) {
-        return(0, $self->loc("Can't add a custom field value without a name"));
-    }
-       my $newval = RT::CustomFieldValue->new($self->CurrentUser);
-       return($newval->Create(
-                    CustomField => $self->Id,
-             Name =>$args{'Name'},
-             Description => ($args{'Description'} || ''),
-             SortOrder => ($args{'SortOrder'} || '0')
-        ));    
-}
-
-
-# }}}
-
-# {{{ DeleteValue
-
-=head2 DeleteValue ID
-
-Deletes a value from this custom field by id. 
-
-Does not remove this value for any article which has had it selected   
-
-=cut
-
-sub DeleteValue {
-       my $self = shift;
-    my $id = shift;
-    unless ($self->CurrentUserHasRight('AdminCustomField')) {
-        return (0, $self->loc('Permission Denied'));
-    }
-
-       my $val_to_del = RT::CustomFieldValue->new($self->CurrentUser);
-       $val_to_del->Load($id);
-       unless ($val_to_del->Id) {
-               return (0, $self->loc("Couldn't find that value"));
-       }
-       unless ($val_to_del->CustomField == $self->Id) {
-               return (0, $self->loc("That is not a value for this custom field"));
-       }
-
-       my $retval = $val_to_del->Delete();
-    if ($retval) {
-        return ($retval, $self->loc("Custom field value deleted"));
-    } else {
-        return(0, $self->loc("Custom field value could not be deleted"));
-    }
-}
-
-# }}}
-
-# {{{ Values
-
-=head2 Values FIELD
-
-Return a CustomFieldeValues object of all acceptable values for this Custom Field.
-
-
-=cut
-
-*ValuesObj = \&Values;
-
-sub Values {
-    my $self = shift;
-
-    my $cf_values = RT::CustomFieldValues->new($self->CurrentUser);
-    # if the user has no rights, return an empty object
-    if ($self->id && $self->CurrentUserHasRight( 'SeeCustomField') ) {
-        $cf_values->LimitToCustomField($self->Id);
-    }
-    return ($cf_values);
-}
-
-# }}}
-
-# }}}
-
-# {{{ Ticket related routines
-
-# {{{ ValuesForTicket
-
-=head2 ValuesForTicket TICKET
-
-Returns a RT::ObjectCustomFieldValues object of this Field's values for TICKET.
-TICKET is a ticket id.
-
-This is deprecated -- use ValuesForObject instead.
-
-
-=cut
-
-sub ValuesForTicket {
-       my $self = shift;
-    my $ticket_id = shift;
-    
-    $RT::Logger->debug( ref($self) . " -> ValuesForTicket deprecated in favor of ValuesForObject"); 
-    my $ticket = RT::Ticket->new($self->CurrentUser);
-    $ticket->Load($ticket_id);
-
-    return $self->ValuesForObject($ticket);
-}
-
-# }}}
-
-# {{{ AddValueForTicket
-
-=head2 AddValueForTicket HASH
-
-Adds a custom field value for a ticket. Takes a param hash of Ticket and Content
-
-This is deprecated -- use AddValueForObject instead.
-
-=cut
-
-sub AddValueForTicket {
-       my $self = shift;
-       my %args = ( Ticket => undef,
-                 Content => undef,
-                    @_ );
-    $RT::Logger->debug( ref($self) . " -> AddValueForTicket deprecated in favor of AddValueForObject"); 
-
-
-    my $ticket = RT::Ticket->new($self->CurrentUser);
-    $ticket->Load($args{'Ticket'});
-    return($self->AddValueForObject(Content => $args{'Content'}, Object => $ticket,@_));
-
-}
-
-
-# }}}
-
-# {{{ DeleteValueForTicket
-
-=head2 DeleteValueForTicket HASH
-
-Adds a custom field value for a ticket. Takes a param hash of Ticket and Content
-
-This is deprecated -- use DeleteValueForObject instead.
-
-=cut
-
-sub DeleteValueForTicket {
-       my $self = shift;
-       my %args = ( Ticket => undef,
-                 Content => undef,
-                    @_ );
-
-    $RT::Logger->debug( ref($self) . " -> DeleteValueForTicket deprecated in favor of DeleteValueForObject"); 
-
-
-    my $ticket = RT::Ticket->new($self->CurrentUser);
-    $ticket->load($args{'Ticket'});
-    return ($self->DeleteValueForObject(Object => $ticket, Content => $args{'Content'}, @_));
-
-}
-
-# }}}
-# }}}
-
-
-=head2 ValidateQueue Queue
-
-Make sure that the queue specified is a valid queue name
-
-=cut
-
-sub ValidateQueue {
-    my $self = shift;
-    my $id = shift;
-
-    if ($id eq '0') { # 0 means "Global" null would _not_ be ok.
-        return (1); 
-    }
-
-    my $q = RT::Queue->new($RT::SystemUser);
-    $q->Load($id);
-    unless ($q->id) {
-        return undef;
-    }
-    return (1);
-
-
-}
-
-
-# {{{ Types
-
-=head2 Types 
-
-Retuns an array of the types of CustomField that are supported
-
-=cut
-
-sub Types {
-       return (keys %FieldTypes);
-}
-
-# }}}
-
-
-=head2 FriendlyType [TYPE, MAX_VALUES]
-
-Returns a localized human-readable version of the custom field type.
-If a custom field type is specified as the parameter, the friendly type for that type will be returned
-
-=cut
-
-sub FriendlyType {
-    my $self = shift;
-
-    my $type = @_ ? shift : $self->Type;
-    my $max  = @_ ? shift : $self->MaxValues;
-
-    if (my $friendly_type = $FieldTypes{$type}[$max>2 ? 2 : $max]) {
-       return ( $self->loc( $friendly_type, $max ) );
-    }
-    else {
-        return ( $self->loc( $type ) );
-    }
-}
-
-sub FriendlyTypeComposite {
-    my $self = shift;
-    my $composite = shift || $self->TypeComposite;
-    return $self->FriendlyType(split(/-/, $composite, 2));
-}
-
-
-=head2 ValidateType TYPE
-
-Takes a single string. returns true if that string is a value
-type of custom field
-
-=begin testing
-
-ok(my $cf = RT::CustomField->new($RT::SystemUser));
-ok($cf->ValidateType('SelectSingle'));
-ok($cf->ValidateType('SelectMultiple'));
-ok(!$cf->ValidateType('SelectFooMultiple'));
-
-=end testing
-
-=cut
-
-sub ValidateType {
-    my $self = shift;
-    my $type = shift;
-
-    if ($type =~ s/(?:Single|Multiple)$//) {
-       $RT::Logger->warning( "Prefix 'Single' and 'Multiple' to Type deprecated, use MaxValues instead");
-    }
-
-    if( $FieldTypes{$type}) {
-        return(1);
-    }
-    else {
-        return undef;
-    }
-}
-
-
-sub SetType {
-    my $self = shift;
-    my $type = shift;
-    if ($type =~ s/(?:(Single)|Multiple)$//) {
-       warn "'Single' and 'Multiple' on SetType deprecated, use SetMaxValues instead";
-       $self->SetMaxValues($1 ? 1 : 0);
-    }
-    $self->SUPER::SetType($type);
-}
-
-# {{{ SingleValue
-
-=head2 SingleValue
-
-Returns true if this CustomField only accepts a single value. 
-Returns false if it accepts multiple values
-
-=cut
-
-sub SingleValue {
-    my $self = shift;
-    if ($self->MaxValues == 1) {
-        return 1;
-    } 
-    else {
-        return undef;
-    }
-}
-
-sub UnlimitedValues {
-    my $self = shift;
-    if ($self->MaxValues == 0) {
-        return 1;
-    } 
-    else {
-        return undef;
-    }
-}
-
-# }}}
-
-# {{{ sub CurrentUserHasRight
-
-=head2 CurrentUserHasRight RIGHT
-
-Helper function to call the custom field's queue's CurrentUserHasRight with the passed in args.
-
-=cut
-
-sub CurrentUserHasRight {
-    my $self  = shift;
-    my $right = shift;
-
-    return $self->CurrentUser->HasRight(
-       Object => $self,
-       Right  => $right,
-    );
-}
-
-# }}}
-
-# {{{ sub _Set
-
-sub _Set {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('AdminCustomField') ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-    return ( $self->SUPER::_Set(@_) );
-
-}
-
-# }}}
-
-# {{{ sub _Value 
-
-=head2 _Value
-
-Takes the name of a table column.
-Returns its value as a string, if the user passes an ACL check
-
-=cut
-
-sub _Value {
-
-    my $self  = shift;
-    my $field = shift;
-
-    # we need to do the rights check
-    unless ( $self->id && $self->CurrentUserHasRight( 'SeeCustomField') ) {
-           return (undef);
-    }
-    return ( $self->__Value($field) );
-
-}
-
-# }}}
-# {{{ sub SetDisabled
-
-=head2 SetDisabled
-
-Takes a boolean.
-1 will cause this custom field to no longer be avaialble for tickets.
-0 will re-enable this queue
-
-=cut
-
-# }}}
-
-sub Queue {
-    $RT::Logger->debug( ref($_[0]) . " -> Queue deprecated");
-    
-    return 0;
-}
-
-sub SetQueue {
-    $RT::Logger->debug( ref($_[0]) . " -> SetQueue deprecated");
-
-    return 0;
-}
-
-sub QueueObj {
-    $RT::Logger->debug( ref($_[0]) . " -> QueueObj deprecated");
-
-    return undef;
-}
-
-=head2 SetTypeComposite
-
-Set this custom field's type and maximum values as a composite value
-
-
-=cut
-
-sub SetTypeComposite {
-    my $self = shift;
-    my $composite = shift;
-    my ($type, $max_values) = split(/-/, $composite, 2);
-    $self->SetType($type);
-    $self->SetMaxValues($max_values);
-}
-
-=head2 SetLookupType
-
-Autrijus: care to doc how LookupTypes work?
-
-=cut
-
-sub SetLookupType {
-    my $self = shift;
-    my $lookup = shift;
-    if ($lookup ne $self->LookupType) {
-       # Okay... We need to invalidate our existing relationships
-       my $ObjectCustomFields = RT::ObjectCustomFields->new($self->CurrentUser);
-       $ObjectCustomFields->LimitToCustomField($self->Id);
-       $_->Delete foreach @{$ObjectCustomFields->ItemsArrayRef};
-    }
-    $self->SUPER::SetLookupType($lookup);
-}
-
-=head2 TypeComposite
-
-Returns a composite value composed of this object's type and maximum values
-
-=cut
-
-
-sub TypeComposite {
-    my $self = shift;
-    join('-', $self->Type, $self->MaxValues);
-}
-
-=head2 TypeComposites
-
-Returns an array of all possible composite values for custom fields.
-
-=cut
-
-sub TypeComposites {
-    my $self = shift;
-    return grep !/Text-0/, map { ("$_-1", "$_-0") } $self->Types;
-}
-
-=head2 LookupTypes
-
-Returns an array of LookupTypes available
-
-=cut
-
-
-sub LookupTypes {
-    my $self = shift;
-    return keys %FRIENDLY_OBJECT_TYPES;
-}
-
-my @FriendlyObjectTypes = (
-    "[_1] objects",                # loc
-    "[_1]'s [_2] objects",         # loc
-    "[_1]'s [_2]'s [_3] objects",   # loc
-);
-
-=head2 FriendlyTypeLookup
-
-=cut
-
-sub FriendlyLookupType {
-    my $self = shift;
-    my $lookup = shift || $self->LookupType;
-   
-    return ($self->loc( $FRIENDLY_OBJECT_TYPES{$lookup} ))
-                  if (defined  $FRIENDLY_OBJECT_TYPES{$lookup} );
-
-    my @types = map { s/^RT::// ? $self->loc($_) : $_ }
-      grep { defined and length }
-      split( /-/, $lookup )
-      or return;
-    return ( $self->loc( $FriendlyObjectTypes[$#types], @types ) );
-}
-
-
-=head2 AddToObject OBJECT
-
-Add this custom field as a custom field for a single object, such as a queue or group.
-
-Takes an object 
-
-=cut
-
-
-sub AddToObject {
-    my $self  = shift;
-    my $object = shift;
-    my $id = $object->Id || 0;
-
-    unless (index($self->LookupType, ref($object)) == 0) {
-       return ( 0, $self->loc('Lookup type mismatch') );
-    }
-
-    unless ( $object->CurrentUserHasRight('AssignCustomFields') ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-
-    my $ObjectCF = RT::ObjectCustomField->new( $self->CurrentUser );
-
-    $ObjectCF->LoadByCols( ObjectId => $id, CustomField => $self->Id );
-    if ( $ObjectCF->Id ) {
-        return ( 0, $self->loc("That is already the current value") );
-    }
-    my ( $id, $msg ) =
-      $ObjectCF->Create( ObjectId => $id, CustomField => $self->Id );
-
-    return ( $id, $msg );
-}
-
-
-=head2 RemoveFromObject OBJECT
-
-Remove this custom field  for a single object, such as a queue or group.
-
-Takes an object 
-
-=cut
-
-
-sub RemoveFromObject {
-    my $self = shift;
-    my $object = shift;
-    my $id = $object->Id || 0;
-
-    unless (index($self->LookupType, ref($object)) == 0) {
-       return ( 0, $self->loc('Object type mismatch') );
-    }
-
-    unless ( $object->CurrentUserHasRight('AssignCustomFields') ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-
-    my $ObjectCF = RT::ObjectCustomField->new( $self->CurrentUser );
-
-    $ObjectCF->LoadByCols( ObjectId => $id, CustomField => $self->Id );
-    unless ( $ObjectCF->Id ) {
-        return ( 0, $self->loc("This custom field does not apply to that object") );
-    }
-    my ( $id, $msg ) = $ObjectCF->Delete;
-
-    return ( $id, $msg );
-}
-
-# {{{ AddValueForObject
-
-=head2 AddValueForObject HASH
-
-Adds a custom field value for a record object of some kind. 
-Takes a param hash of 
-
-Required:
-
-    Object
-    Content
-
-Optional:
-
-    LargeContent
-    ContentType
-
-=cut
-
-sub AddValueForObject {
-    my $self = shift;
-    my %args = (
-        Object       => undef,
-        Content      => undef,
-        LargeContent => undef,
-        ContentType  => undef,
-        @_
-    );
-    my $obj = $args{'Object'} or return;
-
-    unless ( $self->CurrentUserHasRight('ModifyCustomField') ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-
-    $RT::Handle->BeginTransaction;
-
-    my $current_values = $self->ValuesForObject($obj);
-
-    if ( $self->MaxValues ) {
-        my $extra_values = ( $current_values->Count + 1 ) - $self->MaxValues;
-
-        # (The +1 is for the new value we're adding)
-
-        # If we have a set of current values and we've gone over the maximum
-        # allowed number of values, we'll need to delete some to make room.
-        # which former values are blown away is not guaranteed
-
-        while ($extra_values) {
-            my $extra_item = $current_values->Next;
-
-            unless ( $extra_item->id ) {
-                $RT::Logger->crit(
-"We were just asked to delete a custom fieldvalue that doesn't exist!"
-                );
-                $RT::Handle->Rollback();
-                return (undef);
-            }
-            $extra_item->Delete;
-            $extra_values--;
-
-        }
-    }
-    my $newval = RT::ObjectCustomFieldValue->new( $self->CurrentUser );
-    my $val    = $newval->Create(
-        ObjectType   => ref($obj),
-        ObjectId     => $obj->Id,
-        Content      => $args{'Content'},
-        LargeContent => $args{'LargeContent'},
-        ContentType  => $args{'ContentType'},
-        CustomField  => $self->Id
-    );
-
-    unless ($val) {
-        $RT::Handle->Rollback();
-        return ($val);
-    }
-
-    $RT::Handle->Commit();
-    return ($val);
-
-}
-
-# }}}
-
-# {{{ DeleteValueForObject
-
-=head2 DeleteValueForObject HASH
-
-Deletes a custom field value for a ticket. Takes a param hash of Object and Content
-
-Returns a tuple of (STATUS, MESSAGE). If the call succeeded, the STATUS is true. otherwise it's false
-
-=cut
-
-sub DeleteValueForObject {
-    my $self = shift;
-    my %args = ( Object => undef,
-                 Content => undef,
-                 Id => undef,
-                    @_ );
-
-
-    unless ($self->CurrentUserHasRight('ModifyCustomField')) {
-        return (0, $self->loc('Permission Denied'));
-    }
-
-    my $oldval = RT::ObjectCustomFieldValue->new($self->CurrentUser);
-
-    if (my $id = $args{'Id'}) {
-       $oldval->Load($id);
-    }
-    unless ($oldval->id) { 
-       $oldval->LoadByObjectContentAndCustomField(
-           Object => $args{'Object'}, 
-           Content =>  $args{'Content'}, 
-           CustomField => $self->Id,
-       );
-    }
-
-
-    # check ot make sure we found it
-    unless ($oldval->Id) {
-        return(0, $self->loc("Custom field value [_1] could not be found for custom field [_2]", $args{'Content'}, $self->Name));
-    }
-    # delete it
-
-    my $ret = $oldval->Delete();
-    unless ($ret) {
-        return(0, $self->loc("Custom field value could not be found"));
-    }
-    return($oldval->Id, $self->loc("Custom field value deleted"));
-}
-
-
-=head2 ValuesForObject OBJECT
-
-Return an RT::ObjectCustomFieldValues object containing all of this custom field's values for OBJECT 
-
-=cut
-
-sub ValuesForObject {
-       my $self = shift;
-    my $object = shift;
-
-       my $values = new RT::ObjectCustomFieldValues($self->CurrentUser);
-       unless ($self->CurrentUserHasRight('SeeCustomField')) {
-        # Return an empty object if they have no rights to see
-        return ($values);
-    }
-       
-       
-       $values->LimitToCustomField($self->Id);
-       $values->LimitToEnabled();
-    $values->LimitToObject($object);
-
-       return ($values);
-}
-
-
-=head2 _ForObjectType PATH FRIENDLYNAME
-
-Tell RT that a certain object accepts custom fields
-
-Examples:
-
-    'RT::Queue-RT::Ticket'                 => "Tickets",               # loc
-    'RT::Queue-RT::Ticket-RT::Transaction' => "Ticket Transactions",   # loc
-    'RT::User'                             => "Users",                 # loc
-    'RT::Group'                            => "Groups",                        # loc
-
-This is a class method. 
-
-=cut
-
-sub _ForObjectType {
-    my $self = shift;
-    my $path = shift;
-    my $friendly_name = shift;
-
-    $FRIENDLY_OBJECT_TYPES{$path} = $friendly_name;
-
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/RT/CustomFields.pm b/rt/lib/RT/CustomFields.pm
deleted file mode 100644 (file)
index aac2d4b..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::CustomFields -- Class Description
-=head1 SYNOPSIS
-
-  use RT::CustomFields
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::CustomFields;
-
-use RT::SearchBuilder;
-use RT::CustomField;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'CustomFields';
-    $self->{'primary_key'} = 'id';
-
-
-
-  # By default, order by SortOrder
-  $self->OrderByCols(
-        { ALIAS => 'main',
-          FIELD => 'SortOrder',
-          ORDER => 'ASC' },
-        { ALIAS => 'main',
-          FIELD => 'id',
-          ORDER => 'ASC' },
-     );
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::CustomField item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::CustomField->new($self->CurrentUser));
-}
-
-        eval "require RT::CustomFields_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFields_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomFields_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFields_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::CustomFields_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/CustomFields_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::CustomFields_Overlay, RT::CustomFields_Vendor, RT::CustomFields_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/CustomFields_Overlay.pm b/rt/lib/RT/CustomFields_Overlay.pm
deleted file mode 100644 (file)
index ca80fa2..0000000
+++ /dev/null
@@ -1,263 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::CustomFields - a collection of RT CustomField objects
-
-=head1 SYNOPSIS
-
-  use RT::CustomFields;
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::CustomFields);
-
-=end testing
-
-=cut
-
-
-package RT::CustomFields;
-
-use strict;
-no warnings qw(redefine);
-use DBIx::SearchBuilder::Unique;
-
-
-sub _OCFAlias {
-    my $self = shift;
-    unless ($self->{_sql_ocfalias}) {
-
-        $self->{'_sql_ocfalias'} = $self->NewAlias('ObjectCustomFields');
-    $self->Join( ALIAS1 => 'main',
-                FIELD1 => 'id',
-                ALIAS2 => $self->_OCFAlias,
-                FIELD2 => 'CustomField' );
-    }
-    return($self->{_sql_ocfalias});
-}
-
-
-# {{{ sub LimitToGlobalOrQueue 
-
-=head2 LimitToGlobalOrQueue QUEUEID
-
-Limits the set of custom fields found to global custom fields or those tied to the queue with ID QUEUEID 
-
-=cut
-
-sub LimitToGlobalOrQueue {
-    my $self = shift;
-    my $queue = shift;
-    $self->LimitToGlobalOrObjectId( $queue );
-    $self->LimitToLookupType( 'RT::Queue-RT::Ticket' );
-}
-
-# }}}
-
-# {{{ sub LimitToQueue 
-
-=head2 LimitToQueue QUEUEID
-
-Takes a queue id (numerical) as its only argument. Makes sure that 
-Scopes it pulls out apply to this queue (or another that you've selected with
-another call to this method
-
-=cut
-
-sub LimitToQueue  {
-   my $self = shift;
-  my $queue = shift;
-  $self->Limit (ALIAS => $self->_OCFAlias,
-                ENTRYAGGREGATOR => 'OR',
-               FIELD => 'ObjectId',
-               VALUE => "$queue")
-      if defined $queue;
-  $self->LimitToLookupType( 'RT::Queue-RT::Ticket' );
-}
-# }}}
-
-# {{{ sub LimitToGlobal
-
-=head2 LimitToGlobal
-
-Makes sure that 
-Scopes it pulls out apply to all queues (or another that you've selected with
-another call to this method or LimitToQueue
-
-=cut
-
-
-sub LimitToGlobal  {
-   my $self = shift;
-  $self->Limit (ALIAS => $self->_OCFAlias,
-                ENTRYAGGREGATOR => 'OR',
-               FIELD => 'ObjectId',
-               VALUE => 0);
-  $self->LimitToLookupType( 'RT::Queue-RT::Ticket' );
-}
-# }}}
-
-
-# {{{ sub _DoSearch 
-
-=head2 _DoSearch
-
-A subclass of DBIx::SearchBuilder::_DoSearch that makes sure that 
- _Disabled rows never get seen unless we're explicitly trying to see 
-them.
-
-=cut
-
-sub _DoSearch {
-    my $self = shift;
-    
-    #unless we really want to find disabled rows, make sure we\'re only finding enabled ones.
-    unless($self->{'find_disabled_rows'}) {
-        $self->LimitToEnabled();
-    }
-    
-    return($self->SUPER::_DoSearch(@_));
-    
-}
-
-# }}}
-
-# {{{ sub Next 
-
-=head2 Next
-
-Returns the next custom field that this user can see.
-
-=cut
-  
-sub Next {
-    my $self = shift;
-    
-    
-    my $CF = $self->SUPER::Next();
-    if ((defined($CF)) and (ref($CF))) {
-
-       if ($CF->CurrentUserHasRight('SeeCustomField')) {
-           return($CF);
-       }
-       
-       #If the user doesn't have the right to show this queue
-       else {  
-           return($self->Next());
-       }
-    }
-    #if there never was any queue
-    else {
-       return(undef);
-    }  
-    
-}
-# }}}
-
-sub LimitToLookupType  {
-    my $self = shift;
-    my $lookup = shift;
-    $self->Limit( FIELD => 'LookupType', VALUE => "$lookup" );
-}
-
-sub LimitToChildType  {
-    my $self = shift;
-    my $lookup = shift;
-    $self->Limit( FIELD => 'LookupType', VALUE => "$lookup" );
-    $self->Limit( FIELD => 'LookupType', ENDSWITH => "$lookup" );
-}
-
-sub LimitToParentType  {
-    my $self = shift;
-    my $lookup = shift;
-    $self->Limit( FIELD => 'LookupType', VALUE => "$lookup" );
-    $self->Limit( FIELD => 'LookupType', STARTSWITH => "$lookup" );
-}
-
-sub LimitToGlobalOrObjectId {
-    my $self = shift;
-    my $global_only = 1;
-
-
-    foreach my $id (@_) {
-       $self->Limit( ALIAS           => $self->_OCFAlias,
-                   FIELD           => 'ObjectId',
-                   OPERATOR        => '=',
-                   VALUE           => $id || 0,
-                   ENTRYAGGREGATOR => 'OR' );
-       $global_only = 0 if $id;
-    }
-
-    $self->Limit( ALIAS           => $self->_OCFAlias,
-                 FIELD           => 'ObjectId',
-                 OPERATOR        => '=',
-                 VALUE           => 0,
-                 ENTRYAGGREGATOR => 'OR' ) unless $global_only;
-
-    $self->OrderByCols(
-       { ALIAS => $self->_OCFAlias, FIELD => 'ObjectId' },
-       { ALIAS => $self->_OCFAlias, FIELD => 'SortOrder' },
-    );
-    
-    # This doesn't work on postgres. 
-    #$self->OrderBy( ALIAS => $class_cfs , FIELD => "SortOrder", ORDER => 'ASC');
-
-}
-  
-1;
-
diff --git a/rt/lib/RT/Date.pm b/rt/lib/RT/Date.pm
deleted file mode 100644 (file)
index 620acc7..0000000
+++ /dev/null
@@ -1,602 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Date - a simple Object Oriented date.
-
-=head1 SYNOPSIS
-
-  use RT::Date
-
-=head1 DESCRIPTION
-
-RT Date is a simple Date Object designed to be speedy and easy for RT to use
-
-The fact that it assumes that a time of 0 means "never" is probably a bug.
-
-=begin testing
-
-ok (require RT::Date);
-
-=end testing
-
-=head1 METHODS
-
-=cut
-
-
-package RT::Date;
-
-use Time::Local;
-
-use RT::Base;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw/RT::Base/;
-
-use vars qw($MINUTE $HOUR $DAY $WEEK $MONTH $YEAR);
-
-$MINUTE = 60;
-$HOUR   = 60 * $MINUTE;
-$DAY    = 24 * $HOUR;
-$WEEK   = 7 * $DAY;
-$MONTH  = 4 * $WEEK;
-$YEAR   = 365 * $DAY;
-
-# {{{ sub new 
-
-sub new  {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self  = {};
-  bless ($self, $class);
-  $self->CurrentUser(@_);
-  $self->Unix(0);
-  return $self;
-}
-
-# }}}
-
-# {{{ sub Set
-
-=head2 sub Set
-
-takes a param hash with the fields 'Format' and 'Value'
-
-if $args->{'Format'} is 'unix', takes the number of seconds since the epoch 
-
-If $args->{'Format'} is ISO, tries to parse an ISO date.
-
-If $args->{'Format'} is 'unknown', require Time::ParseDate and make it figure
-things out. This is a heavyweight operation that should never be called from
-within RT's core. But it's really useful for something like the textbox date
-entry where we let the user do whatever they want.
-
-If $args->{'Value'}  is 0, assumes you mean never.
-
-=begin testing
-
-use_ok(RT::Date);
-my $date = RT::Date->new($RT::SystemUser);
-$date->Set(Format => 'unix', Value => '0');
-ok ($date->ISO eq '1970-01-01 00:00:00', "Set a date to midnight 1/1/1970 GMT");
-
-=end testing
-
-=cut
-
-sub Set {
-    my $self = shift;
-    my %args = ( Format => 'unix',
-                 Value  => time,
-                 @_ );
-    if ( !$args{'Value'}
-         || ( ( $args{'Value'} =~ /^\d*$/ ) and ( $args{'Value'} == 0 ) ) ) {
-        $self->Unix(-1);
-        return ( $self->Unix() );
-    }
-
-    if ( $args{'Format'} =~ /^unix$/i ) {
-        $self->Unix( $args{'Value'} );
-    }
-
-    elsif ( $args{'Format'} =~ /^(sql|datemanip|iso)$/i ) {
-       $args{'Value'} =~ s!/!-!g;
-
-        if (( $args{'Value'} =~ /^(\d{4}?)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/ )
-            || ( $args{'Value'} =~
-                 /^(\d{4}?)-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)$/ )
-            || ( $args{'Value'} =~
-                 /^(\d{4}?)-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)\+00$/ )
-            || ($args{'Value'} =~ /^(\d{4}?)(\d\d)(\d\d)(\d\d):(\d\d):(\d\d)$/ )
-          ) {
-
-            my $year  = $1;
-            my $mon   = $2;
-            my $mday  = $3;
-            my $hours = $4;
-            my $min   = $5;
-            my $sec   = $6;
-
-            #timegm expects month as 0->11
-            $mon--;
-
-            #now that we've parsed it, deal with the case where everything
-            #was 0
-            if ( $mon == -1 ) {
-                $self->Unix(-1);
-            }
-            else {
-
-                #Dateamnip strings aren't in GMT.
-                if ( $args{'Format'} =~ /^datemanip$/i ) {
-                    $self->Unix(
-                          timelocal( $sec, $min, $hours, $mday, $mon, $year ) );
-                }
-
-                #ISO and SQL dates are in GMT
-                else {
-                    $self->Unix(
-                             timegm( $sec, $min, $hours, $mday, $mon, $year ) );
-                }
-
-                $self->Unix(-1) unless $self->Unix;
-            }
-        }
-        else {
-            use Carp;
-            Carp::cluck;
-            $RT::Logger->debug(
-                     "Couldn't parse date $args{'Value'} as a $args{'Format'}");
-
-        }
-    }
-    elsif ( $args{'Format'} =~ /^unknown$/i ) {
-        require Time::ParseDate;
-
-        #Convert it to an ISO format string
-
-       my $date = Time::ParseDate::parsedate($args{'Value'},
-                       UK => $RT::DateDayBeforeMonth,
-                       PREFER_PAST => $RT::AmbiguousDayInPast,
-                       PREFER_FUTURE => !($RT::AmbiguousDayInPast));
-
-        #This date has now been set to a date in the _local_ timezone.
-        #since ISO dates are known to be in GMT (for RT's purposes);
-
-        $RT::Logger->debug( "RT::Date used date::parse to make "
-                            . $args{'Value'}
-                            . " $date\n" );
-
-        return ( $self->Set( Format => 'unix', Value => "$date" ) );
-    }
-    else {
-        die "Unknown Date format: " . $args{'Format'} . "\n";
-    }
-
-    return ( $self->Unix() );
-}
-
-# }}}
-
-# {{{ sub SetToMidnight 
-
-=head2 SetToMidnight
-
-Sets the date to midnight (at the beginning of the day) GMT
-Returns the unixtime at midnight.
-
-=cut
-
-sub SetToMidnight {
-    my $self = shift;
-    
-    use Time::Local;
-    my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = gmtime($self->Unix);
-    $self->Unix(timegm (0,0,0,$mday,$mon,$year,$wday,$yday));
-    
-    return ($self->Unix);
-    
-    
-}
-
-
-# }}}
-
-# {{{ sub SetToNow
-sub SetToNow {
-       my $self = shift;
-       return($self->Set(Format => 'unix', Value => time))
-}
-# }}}
-
-# {{{ sub Diff
-
-=head2 Diff
-
-Takes either an RT::Date object or the date in unixtime format as a string
-
-Returns the differnce between $self and that time as a number of seconds
-
-=cut
-
-sub Diff {
-    my $self = shift;
-    my $other = shift;
-
-    if (ref($other) eq 'RT::Date') {
-       $other=$other->Unix;
-    }
-    return ($self->Unix - $other);
-}
-# }}}
-
-# {{{ sub DiffAsString
-
-=head2 sub DiffAsString
-
-Takes either an RT::Date object or the date in unixtime format as a string
-
-Returns the differnce between $self and that time as a number of seconds as
-as string fit for human consumption
-
-=cut
-
-sub DiffAsString {
-    my $self = shift;
-    my $other = shift;
-
-
-    if ($other < 1) {
-       return ("");
-    }
-    if ($self->Unix < 1) {
-       return("");
-    }
-    my $diff = $self->Diff($other);
-
-    return ($self->DurationAsString($diff));
-}
-# }}}
-
-# {{{ sub DurationAsString
-
-
-=head2 DurationAsString
-
-Takes a number of seconds. returns a string describing that duration
-
-=cut
-
-sub DurationAsString {
-
-    my $self     = shift;
-    my $duration = shift;
-
-    my ( $negative, $s );
-
-    $negative = 1 if ( $duration < 0 );
-
-    $duration = abs($duration);
-
-    my $time_unit;
-    if ( $duration < $MINUTE ) {
-        $s         = $duration;
-        $time_unit = $self->loc("sec");
-    }
-    elsif ( $duration < ( 2 * $HOUR ) ) {
-        $s         = int( $duration / $MINUTE );
-        $time_unit = $self->loc("min");
-    }
-    elsif ( $duration < ( 2 * $DAY ) ) {
-        $s         = int( $duration / $HOUR );
-        $time_unit = $self->loc("hours");
-    }
-    elsif ( $duration < ( 2 * $WEEK ) ) {
-        $s         = int( $duration / $DAY );
-        $time_unit = $self->loc("days");
-    }
-    elsif ( $duration < ( 2 * $MONTH ) ) {
-        $s         = int( $duration / $WEEK );
-        $time_unit = $self->loc("weeks");
-    }
-    elsif ( $duration < $YEAR ) {
-        $s         = int( $duration / $MONTH );
-        $time_unit = $self->loc("months");
-    }
-    else {
-        $s         = int( $duration / $YEAR );
-        $time_unit = $self->loc("years");
-    }
-
-    if ($negative) {
-        return $self->loc( "[_1] [_2] ago", $s, $time_unit );
-    }
-    else {
-        return $self->loc( "[_1] [_2]", $s, $time_unit );
-    }
-}
-
-# }}}
-
-# {{{ sub AgeAsString
-
-=head2 sub AgeAsString
-
-Takes nothing
-
-Returns a string that's the differnce between the time in the object and now
-
-=cut
-
-sub AgeAsString {
-    my $self = shift;
-    return ($self->DiffAsString(time));
-    }
-# }}}
-
-# {{{ sub AsString
-
-=head2 sub AsString
-
-Returns the object\'s time as a string with the current timezone.
-
-=cut
-
-sub AsString {
-    my $self = shift;
-    return ($self->loc("Not set")) if ($self->Unix <= 0);
-
-    my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($self->Unix);
-
-    return $self->loc("[_1] [_2] [_3] [_4]:[_5]:[_6] [_7]", $self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900));
-}
-# }}}
-
-# {{{ GetWeekday
-
-=head2 GetWeekday DAY
-
-Takes an integer day of week and returns a localized string for that day of week
-
-=cut
-
-sub GetWeekday {
-    my $self = shift;
-    my $dow = shift;
-    
-    return $self->loc('Mon.') if ($dow == 1);
-    return $self->loc('Tue.') if ($dow == 2);
-    return $self->loc('Wed.') if ($dow == 3);
-    return $self->loc('Thu.') if ($dow == 4);
-    return $self->loc('Fri.') if ($dow == 5);
-    return $self->loc('Sat.') if ($dow == 6);
-    return $self->loc('Sun.') if ($dow == 0);
-}
-
-# }}}
-
-# {{{ GetMonth
-
-=head2 GetMonth DAY
-
-Takes an integer month and returns a localized string for that month 
-
-=cut
-
-sub GetMonth {
-    my $self = shift;
-   my $mon = shift;
-
-    # We do this rather than an array so that we don't call localize 12x what we need to
-    return $self->loc('Jan.') if ($mon == 0);
-    return $self->loc('Feb.') if ($mon == 1);
-    return $self->loc('Mar.') if ($mon == 2);
-    return $self->loc('Apr.') if ($mon == 3);
-    return $self->loc('May.') if ($mon == 4);
-    return $self->loc('Jun.') if ($mon == 5);
-    return $self->loc('Jul.') if ($mon == 6);
-    return $self->loc('Aug.') if ($mon == 7);
-    return $self->loc('Sep.') if ($mon == 8);
-    return $self->loc('Oct.') if ($mon == 9);
-    return $self->loc('Nov.') if ($mon == 10);
-    return $self->loc('Dec.') if ($mon == 11);
-}
-
-# }}}
-
-# {{{ sub AddSeconds
-
-=head2 sub AddSeconds
-
-Takes a number of seconds as a string
-
-Returns the new time
-
-=cut
-
-sub AddSeconds {
-    my $self = shift;
-    my $delta = shift;
-    
-    $self->Set(Format => 'unix', Value => ($self->Unix + $delta));
-    
-    return ($self->Unix);
-    
-
-}
-
-# }}}
-
-# {{{ sub AddDays
-
-=head2 AddDays $DAYS
-
-Adds 24 hours * $DAYS to the current time
-
-=cut
-
-sub AddDays {
-    my $self = shift;
-    my $days = shift;
-    $self->AddSeconds($days * $DAY);
-    
-}
-
-# }}}
-
-# {{{ sub AddDay
-
-=head2 AddDay
-
-Adds 24 hours to the current time
-
-=cut
-
-sub AddDay {
-    my $self = shift;
-    $self->AddSeconds($DAY);
-    
-}
-
-# }}}
-
-# {{{ sub Unix
-
-=head2 sub Unix [unixtime]
-
-Optionally takes a date in unix seconds since the epoch format.
-Returns the number of seconds since the epoch
-
-=cut
-
-sub Unix {
-    my $self = shift;
-    
-    $self->{'time'} = shift if (@_);
-    
-    return ($self->{'time'});
-}
-# }}}
-
-# {{{ sub ISO
-
-=head2 ISO
-
-Takes nothing
-
-Returns the object's date in ISO format
-
-=cut
-
-sub ISO {
-    my $self=shift;
-    my    ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst, $date) ;
-    
-    return ('1970-01-01 00:00:00') if ($self->Unix == -1);
-
-    #  0    1    2     3     4    5     6     7     8
-    ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($self->Unix);
-    #make the year YYYY
-    $year+=1900;
-
-    #the month needs incrementing, as gmtime returns 0-11
-    $mon++;
-        
-    $date = sprintf("%04d-%02d-%02d %02d:%02d:%02d", $year,$mon,$mday, $hour,$min,$sec);
-    
-    return ($date);
-}
-
-# }}}
-
-# {{{ sub W3CDTF
-
-=head2 W3CDTF
-
-Takes nothing
-
-Returns the object's date in W3C DTF format
-
-=cut
-
-sub W3CDTF {
-    my $self = shift;
-    my $date = $self->ISO . 'Z';
-    $date =~ s/ /T/;
-    return $date;
-};
-
-# }}}
-
-# {{{ sub LocalTimezone 
-
-=head2 LocalTimezone
-
-  Returns the current timezone. For now, draws off a system timezone, RT::Timezone. Eventually, this may
-pull from a 'Timezone' attribute of the CurrentUser
-
-=cut
-
-sub LocalTimezone {
-    my $self = shift;
-
-    return $self->CurrentUser->Timezone
-       if $self->CurrentUser and $self->CurrentUser->can('Timezone');
-
-    return ($RT::Timezone);
-}
-
-# }}}
-
-eval "require RT::Date_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Date_Vendor.pm});
-eval "require RT::Date_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Date_Local.pm});
-
-1;
diff --git a/rt/lib/RT/EmailParser.pm b/rt/lib/RT/EmailParser.pm
deleted file mode 100644 (file)
index 3a99e5a..0000000
+++ /dev/null
@@ -1,634 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::EmailParser;
-
-
-use base qw/RT::Base/;
-
-use strict;
-use Mail::Address;
-use MIME::Entity;
-use MIME::Head;
-use MIME::Parser;
-use File::Temp qw/tempdir/;
-
-=head1 NAME
-
-  RT::EmailParser - helper functions for parsing parts from incoming
-  email messages
-
-=head1 SYNOPSIS
-
-
-=head1 DESCRIPTION
-
-
-=begin testing
-
-ok(require RT::EmailParser);
-
-=end testing
-
-
-=head1 METHODS
-
-=head2 new
-
-Returns a new RT::EmailParser object
-
-=cut
-
-sub new  {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self  = {};
-  bless ($self, $class);
-  return $self;
-}
-
-
-# {{{ sub SmartParseMIMEEntityFromScalar
-
-=head2 SmartParseMIMEEntityFromScalar { Message => SCALAR_REF, Decode => BOOL }
-
-Parse a message stored in a scalar from scalar_ref
-
-=cut
-
-sub SmartParseMIMEEntityFromScalar {
-    my $self = shift;
-    my %args = ( Message => undef, Decode => 1, @_ );
-
-    my ( $fh, $temp_file );
-    eval {
-
-        for ( 1 .. 10 ) {
-
-            # on NFS and NTFS, it is possible that tempfile() conflicts
-            # with other processes, causing a race condition. we try to
-            # accommodate this by pausing and retrying.
-            last
-              if ( $fh, $temp_file ) =
-              eval { File::Temp::tempfile( undef, UNLINK => 0 ) };
-            sleep 1;
-        }
-        if ($fh) {
-
-            #thank you, windows                      
-            binmode $fh;
-            $fh->autoflush(1);
-            print $fh $args{'Message'};
-            close($fh);
-            if ( -f $temp_file ) {
-
-                # We have to trust the temp file's name -- untaint it
-                $temp_file =~ /(.*)/;
-                $self->ParseMIMEEntityFromFile( $1, $args{'Decode'} );
-                unlink($1);
-            }
-        }
-    };
-
-    #If for some reason we weren't able to parse the message using a temp file
-    # try it with a scalar
-    if ( $@ || !$self->Entity ) {
-        $self->ParseMIMEEntityFromScalar( $args{'Message'}, $args{'Decode'} );
-    }
-
-}
-
-# }}}
-
-# {{{ sub ParseMIMEEntityFromSTDIN
-
-=head2 ParseMIMEEntityFromSTDIN
-
-Parse a message from standard input
-
-=cut
-
-sub ParseMIMEEntityFromSTDIN {
-    my $self = shift;
-    my $postprocess = (@_ ? shift : 1);
-    return $self->ParseMIMEEntityFromFileHandle(\*STDIN, $postprocess);
-}
-
-# }}}
-
-# {{{ ParseMIMEEntityFromScalar
-
-=head2 ParseMIMEEntityFromScalar  $message
-
-Takes either a scalar or a reference to a scalr which contains a stringified MIME message.
-Parses it.
-
-Returns true if it wins.
-Returns false if it loses.
-
-=cut
-
-sub ParseMIMEEntityFromScalar {
-    my $self = shift;
-    my $message = shift;
-    my $postprocess = (@_ ? shift : 1);
-    $self->_ParseMIMEEntity($message,'parse_data', $postprocess);
-}
-
-# }}}
-
-# {{{ ParseMIMEEntityFromFilehandle *FH
-
-=head2 ParseMIMEEntityFromFilehandle *FH
-
-Parses a mime entity from a filehandle passed in as an argument
-
-=cut
-
-sub ParseMIMEEntityFromFileHandle {
-    my $self = shift;
-    my $filehandle = shift;
-    my $postprocess = (@_ ? shift : 1);
-    $self->_ParseMIMEEntity($filehandle,'parse', $postprocess);
-}
-
-# }}}
-
-# {{{ ParseMIMEEntityFromFile
-
-=head2 ParseMIMEEntityFromFile 
-
-Parses a mime entity from a filename passed in as an argument
-
-=cut
-
-sub ParseMIMEEntityFromFile {
-    my $self = shift;
-    my $file = shift;
-    my $postprocess = (@_ ? shift : 1);
-    $self->_ParseMIMEEntity($file,'parse_open',$postprocess);
-}
-
-# }}}
-
-# {{{ _ParseMIMEEntity
-sub _ParseMIMEEntity {
-    my $self = shift;
-    my $message = shift;
-    my $method = shift;
-    my $postprocess = shift;
-    # Create a new parser object:
-
-    my $parser = MIME::Parser->new();
-    $self->_SetupMIMEParser($parser);
-
-
-    # TODO: XXX 3.0 we really need to wrap this in an eval { }
-    unless ( $self->{'entity'} = $parser->$method($message) ) {
-        $RT::Logger->crit("Couldn't parse MIME stream and extract the submessages");
-        # Try again, this time without extracting nested messages
-        $parser->extract_nested_messages(0);
-        unless ( $self->{'entity'} = $parser->$method($message) ) {
-            $RT::Logger->crit("couldn't parse MIME stream");
-            return ( undef);
-        }
-    }
-    if ($postprocess) {
-    $self->_PostProcessNewEntity() ;
-    }
-
-}
-
-# }}}
-
-# {{{ _PostProcessNewEntity 
-
-=head2 _PostProcessNewEntity
-
-cleans up and postprocesses a newly parsed MIME Entity
-
-=cut
-
-sub _PostProcessNewEntity {
-    my $self = shift;
-
-    #Now we've got a parsed mime object. 
-
-    # Unfold headers that are have embedded newlines
-    #  Better do this before conversion or it will break
-    #  with multiline encoded Subject (RFC2047) (fsck.com #5594)
-    
-    $self->Head->unfold;
-
-
-    # try to convert text parts into utf-8 charset
-    RT::I18N::SetMIMEEntityToEncoding($self->{'entity'}, 'utf-8');
-
-
-
-
-}
-
-# }}}
-
-# {{{ sub ParseTicketId 
-
-sub ParseTicketId {
-    my $self = shift;
-    $RT::Logger->warnings("RT::EmailParser->ParseTicketId deprecated. You should be using RT::Interface::Email");
-
-    require RT::Interface::Email;
-    RT::Interface::Email::ParseTicketId(@_);
-}
-
-# }}}
-
-
-
-# {{{ ParseCcAddressesFromHead 
-
-=head2 ParseCcAddressesFromHead HASHREF
-
-Takes a hashref object containing QueueObj, Head and CurrentUser objects.
-Returns a list of all email addresses in the To and Cc 
-headers b<except> the current Queue\'s email addresses, the CurrentUser\'s 
-email address  and anything that the $RTAddressRegexp matches.
-
-=cut
-
-sub ParseCcAddressesFromHead {
-
-    my $self = shift;
-
-    my %args = (
-        QueueObj    => undef,
-        CurrentUser => undef,
-        @_
-    );
-
-    my (@Addresses);
-
-    my @ToObjs = Mail::Address->parse( $self->Head->get('To') );
-    my @CcObjs = Mail::Address->parse( $self->Head->get('Cc') );
-
-    foreach my $AddrObj ( @ToObjs, @CcObjs ) {
-        my $Address = $AddrObj->address;
-        my $user = RT::User->new($RT::SystemUser);
-        $Address = $user->CanonicalizeEmailAddress($Address);
-        next if ( lc $args{'CurrentUser'}->EmailAddress   eq lc $Address );
-        next if ( lc $args{'QueueObj'}->CorrespondAddress eq lc $Address );
-        next if ( lc $args{'QueueObj'}->CommentAddress    eq lc $Address );
-        next if ( $self->IsRTAddress($Address) );
-
-        push ( @Addresses, $Address );
-    }
-    return (@Addresses);
-}
-
-# }}}
-
-# {{{ ParseSenderAdddressFromHead
-
-=head2 ParseSenderAddressFromHead
-
-Takes a MIME::Header object. Returns a tuple: (user@host, friendly name) 
-of the From (evaluated in order of Reply-To:, From:, Sender)
-
-=cut
-
-sub ParseSenderAddressFromHead {
-    my $self = shift;
-
-    #Figure out who's sending this message.
-    my $From = $self->Head->get('Reply-To')
-      || $self->Head->get('From')
-      || $self->Head->get('Sender');
-    return ( $self->ParseAddressFromHeader($From) );
-}
-
-# }}}
-
-# {{{ ParseErrorsToAdddressFromHead
-
-=head2 ParseErrorsToAddressFromHead
-
-Takes a MIME::Header object. Return a single value : user@host
-of the From (evaluated in order of Errors-To:,Reply-To:, From:, Sender)
-
-=cut
-
-sub ParseErrorsToAddressFromHead {
-    my $self = shift;
-
-    #Figure out who's sending this message.
-
-    foreach my $header ( 'Errors-To', 'Reply-To', 'From', 'Sender' ) {
-
-        # If there's a header of that name
-        my $headerobj = $self->Head->get($header);
-        if ($headerobj) {
-            my ( $addr, $name ) = $self->ParseAddressFromHeader($headerobj);
-
-            # If it's got actual useful content...
-            return ($addr) if ($addr);
-        }
-    }
-}
-
-# }}}
-
-# {{{ ParseAddressFromHeader
-
-=head2 ParseAddressFromHeader ADDRESS
-
-Takes an address from $self->Head->get('Line') and returns a tuple: user@host, friendly name
-
-=cut
-
-sub ParseAddressFromHeader {
-    my $self = shift;
-    my $Addr = shift;
-
-    # Perl 5.8.0 breaks when doing regex matches on utf8
-    Encode::_utf8_off($Addr) if $] == 5.008;
-    my @Addresses = Mail::Address->parse($Addr);
-
-    my $AddrObj = $Addresses[0];
-
-    unless ( ref($AddrObj) ) {
-        return ( undef, undef );
-    }
-
-    my $Name = ( $AddrObj->phrase || $AddrObj->comment || $AddrObj->address );
-
-    #Lets take the from and load a user object.
-    my $Address = $AddrObj->address;
-
-    return ( $Address, $Name );
-}
-
-# }}}
-
-# {{{ IsRTAddress
-
-=head2 IsRTaddress ADDRESS
-
-Takes a single parameter, an email address. 
-Returns true if that address matches the $RTAddressRegexp.  
-Returns false, otherwise.
-
-=begin testing
-
-is(RT::EmailParser::IsRTAddress("","rt\@example.com"),1, "Regexp matched rt address" );
-is(RT::EmailParser::IsRTAddress("","frt\@example.com"),undef, "Regexp didn't match non-rt address" );
-
-=end testing
-
-=cut
-
-sub IsRTAddress {
-    my $self = shift;
-    my $address = shift;
-
-    # Example: the following rule would tell RT not to Cc 
-    #   "tickets@noc.example.com"
-    if ( defined($RT::RTAddressRegexp) &&
-                       $address =~ /$RT::RTAddressRegexp/ ) {
-        return(1);
-    } else {
-        return (undef);
-    }
-}
-
-# }}}
-
-
-# {{{ CullRTAddresses
-
-=head2 CullRTAddresses ARRAY
-
-Takes a single argument, an array of email addresses.
-Returns the same array with any IsRTAddress()es weeded out.
-
-=begin testing
-
-@before = ("rt\@example.com", "frt\@example.com");
-@after = ("frt\@example.com");
-ok(eq_array(RT::EmailParser::CullRTAddresses("",@before),@after), "CullRTAddresses only culls RT addresses");
-
-=end testing
-
-=cut
-
-sub CullRTAddresses {
-    my $self = shift;
-    my @addresses= (@_);
-    my @addrlist;
-
-    foreach my $addr( @addresses ) {
-                                 # We use the class instead of the instance
-                                 # because sloppy code calls this method
-                                 # without a $self
-      push (@addrlist, $addr)    unless RT::EmailParser->IsRTAddress($addr);
-    }
-    return (@addrlist);
-}
-
-# }}}
-
-
-# {{{ LookupExternalUserInfo
-
-
-# LookupExternalUserInfo is a site-definable method for synchronizing
-# incoming users with an external data source. 
-#
-# This routine takes a tuple of EmailAddress and FriendlyName
-#   EmailAddress is the user's email address, ususally taken from
-#       an email message's From: header.
-#   FriendlyName is a freeform string, ususally taken from the "comment" 
-#       portion of an email message's From: header.
-#
-# If you define an AutoRejectRequest template, RT will use this   
-# template for the rejection message.
-
-
-=head2 LookupExternalUserInfo
-
- LookupExternalUserInfo is a site-definable method for synchronizing
- incoming users with an external data source. 
-
- This routine takes a tuple of EmailAddress and FriendlyName
-    EmailAddress is the user's email address, ususally taken from
-        an email message's From: header.
-    FriendlyName is a freeform string, ususally taken from the "comment" 
-        portion of an email message's From: header.
-
- It returns (FoundInExternalDatabase, ParamHash);
-
-   FoundInExternalDatabase must  be set to 1 before return if the user 
-   was found in the external database.
-
-   ParamHash is a Perl parameter hash which can contain at least the 
-   following fields. These fields are used to populate RT's users 
-   database when the user is created.
-
-    EmailAddress is the email address that RT should use for this user.  
-    Name is the 'Name' attribute RT should use for this user. 
-         'Name' is used for things like access control and user lookups.
-    RealName is what RT should display as the user's name when displaying 
-         'friendly' names
-
-=cut
-
-sub LookupExternalUserInfo {
-  my $self = shift;
-  my $EmailAddress = shift;
-  my $RealName = shift;
-
-  my $FoundInExternalDatabase = 1;
-  my %params;
-
-  #Name is the RT username you want to use for this user.
-  $params{'Name'} = $EmailAddress;
-  $params{'EmailAddress'} = $EmailAddress;
-  $params{'RealName'} = $RealName;
-
-  # See RT's contributed code for examples.
-  # http://www.fsck.com/pub/rt/contrib/
-  return ($FoundInExternalDatabase, %params);
-}
-
-# }}}
-
-# {{{ Accessor methods for parsed email messages
-
-=head2 Head
-
-Return the parsed head from this message
-
-=cut
-
-sub Head {
-    my $self = shift;
-    return $self->Entity->head;
-}
-
-=head2 Entity 
-
-Return the parsed Entity from this message
-
-=cut
-
-sub Entity {
-    my $self = shift;
-    return $self->{'entity'};
-}
-
-# }}}
-
-# {{{ _SetupMIMEParser 
-
-=head2 _SetupMIMEParser $parser
-
-A private instance method which sets up a mime parser to do its job
-
-=cut
-
-
-    ## TODO: Does it make sense storing to disk at all?  After all, we
-    ## need to put each msg as an in-core scalar before saving it to
-    ## the database, don't we?
-
-    ## At the same time, we should make sure that we nuke attachments 
-    ## Over max size and return them
-
-sub _SetupMIMEParser {
-    my $self   = shift;
-    my $parser = shift;
-    
-    # Set up output directory for files:
-
-    my $tmpdir = File::Temp::tempdir( TMPDIR => 1, CLEANUP => 1 );
-    push ( @{ $self->{'AttachmentDirs'} }, $tmpdir );
-    $parser->output_dir($tmpdir);
-    $parser->filer->ignore_filename(1);
-
-    #If someone includes a message, extract it
-    $parser->extract_nested_messages(1);
-
-    $parser->extract_uuencode(1);    ### default is false
-
-    # Set up the prefix for files with auto-generated names:
-    $parser->output_prefix("part");
-
-    # do _not_ store each msg as in-core scalar;
-
-    $parser->output_to_core(0);
-
-    # From the MIME::Parser docs:
-    # "Normally, tmpfiles are created when needed during parsing, and destroyed automatically when they go out of scope"
-    # Turns out that the default is to recycle tempfiles
-    # Temp files should never be recycled, especially when running under perl taint checking
-    
-    $parser->tmp_recycling(0);
-
-}
-
-# }}}
-
-sub DESTROY {
-    my $self = shift;
-    File::Path::rmtree([@{$self->{'AttachmentDirs'}}],0,1);
-}
-
-
-
-eval "require RT::EmailParser_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/EmailParser_Vendor.pm});
-eval "require RT::EmailParser_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/EmailParser_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Group.pm b/rt/lib/RT/Group.pm
deleted file mode 100755 (executable)
index 04c3076..0000000
+++ /dev/null
@@ -1,280 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Group
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Group;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Groups');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(255) 'Description'.
-  varchar(64) 'Domain'.
-  varchar(64) 'Type'.
-  int(11) 'Instance'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Description => '',
-                Domain => '',
-                Type => '',
-                Instance => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Description => $args{'Description'},
-                         Domain => $args{'Domain'},
-                         Type => $args{'Type'},
-                         Instance => $args{'Instance'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Domain
-
-Returns the current value of Domain. 
-(In the database, Domain is stored as varchar(64).)
-
-
-
-=head2 SetDomain VALUE
-
-
-Set Domain to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Domain will be stored as a varchar(64).)
-
-
-=cut
-
-
-=head2 Type
-
-Returns the current value of Type. 
-(In the database, Type is stored as varchar(64).)
-
-
-
-=head2 SetType VALUE
-
-
-Set Type to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Type will be stored as a varchar(64).)
-
-
-=cut
-
-
-=head2 Instance
-
-Returns the current value of Instance. 
-(In the database, Instance is stored as int(11).)
-
-
-
-=head2 SetInstance VALUE
-
-
-Set Instance to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Instance will be stored as a int(11).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Domain => 
-               {read => 1, write => 1, sql_type => 12, length => 64,  is_blob => 0,  is_numeric => 0,  type => 'varchar(64)', default => ''},
-        Type => 
-               {read => 1, write => 1, sql_type => 12, length => 64,  is_blob => 0,  is_numeric => 0,  type => 'varchar(64)', default => ''},
-        Instance => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-
- }
-};
-
-
-        eval "require RT::Group_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Group_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Group_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Group_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Group_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Group_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Group_Overlay, RT::Group_Vendor, RT::Group_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/GroupMember.pm b/rt/lib/RT/GroupMember.pm
deleted file mode 100755 (executable)
index 692303a..0000000
+++ /dev/null
@@ -1,211 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::GroupMember
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::GroupMember;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('GroupMembers');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'GroupId'.
-  int(11) 'MemberId'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                GroupId => '0',
-                MemberId => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         GroupId => $args{'GroupId'},
-                         MemberId => $args{'MemberId'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 GroupId
-
-Returns the current value of GroupId. 
-(In the database, GroupId is stored as int(11).)
-
-
-
-=head2 SetGroupId VALUE
-
-
-Set GroupId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, GroupId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 MemberId
-
-Returns the current value of MemberId. 
-(In the database, MemberId is stored as int(11).)
-
-
-
-=head2 SetMemberId VALUE
-
-
-Set MemberId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, MemberId will be stored as a int(11).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        GroupId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        MemberId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::GroupMember_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/GroupMember_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::GroupMember_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/GroupMember_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::GroupMember_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/GroupMember_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::GroupMember_Overlay, RT::GroupMember_Vendor, RT::GroupMember_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/GroupMember_Overlay.pm b/rt/lib/RT/GroupMember_Overlay.pm
deleted file mode 100644 (file)
index d824dc4..0000000
+++ /dev/null
@@ -1,389 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::GroupMember - a member of an RT Group
-
-=head1 SYNOPSIS
-
-RT::GroupMember should never be called directly. It should ONLY
-only be accessed through the helper functions in RT::Group;
-
-If you're operating on an RT::GroupMember object yourself, you B<ARE>
-doing something wrong.
-
-=head1 DESCRIPTION
-
-
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::GroupMember);
-
-=end testing
-
-
-=cut
-
-
-package RT::GroupMember;
-
-use strict;
-no warnings qw(redefine);
-use RT::CachedGroupMembers;
-
-# {{{ sub Create
-
-=head2 Create { Group => undef, Member => undef }
-
-Add a Principal to the group Group.
-if the Principal is a group, automatically inserts all
-members of the principal into the cached members table recursively down.
-
-Both Group and Member are expected to be RT::Principal objects
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = (
-        Group  => undef,
-        Member => undef,
-        InsideTransaction => undef,
-        @_
-    );
-
-    unless ($args{'Group'} &&
-            UNIVERSAL::isa($args{'Group'}, 'RT::Principal') &&
-            $args{'Group'}->Id ) {
-
-        $RT::Logger->warning("GroupMember::Create called with a bogus Group arg");
-        return (undef);
-    }
-
-    unless($args{'Group'}->IsGroup) {
-        $RT::Logger->warning("Someone tried to add a member to a user instead of a group");
-        return (undef);
-    }
-
-    unless ($args{'Member'} && 
-            UNIVERSAL::isa($args{'Member'}, 'RT::Principal') &&
-            $args{'Member'}->Id) {
-        $RT::Logger->warning("GroupMember::Create called with a bogus Principal arg");
-        return (undef);
-    }
-
-
-    #Clear the key cache. TODO someday we may want to just clear a little bit of the keycache space. 
-    # TODO what about the groups key cache?
-    RT::Principal->InvalidateACLCache();
-
-    $RT::Handle->BeginTransaction() unless ($args{'InsideTransaction'});
-
-    # We really need to make sure we don't add any members to this group
-    # that contain the group itself. that would, um, suck. 
-    # (and recurse infinitely)  Later, we can add code to check this in the 
-    # cache and bail so we can support cycling directed graphs
-
-    if ($args{'Member'}->IsGroup) {
-        my $member_object = $args{'Member'}->Object;
-        if ($member_object->HasMemberRecursively($args{'Group'})) {
-            $RT::Logger->debug("Adding that group would create a loop");
-            return(undef);
-        }
-        elsif ( $args{'Member'}->Id == $args{'Group'}->Id) {
-            $RT::Logger->debug("Can't add a group to itself");
-            return(undef);
-        }
-    }
-
-
-    my $id = $self->SUPER::Create(
-        GroupId  => $args{'Group'}->Id,
-        MemberId => $args{'Member'}->Id
-    );
-
-    unless ($id) {
-        $RT::Handle->Rollback() unless ($args{'InsideTransaction'});
-        return (undef);
-    }
-
-    my $cached_member = RT::CachedGroupMember->new( $self->CurrentUser );
-    my $cached_id     = $cached_member->Create(
-        Member          => $args{'Member'},
-        Group           => $args{'Group'},
-        ImmediateParent => $args{'Group'},
-        Via             => '0'
-    );
-
-
-    #When adding a member to a group, we need to go back
-    #and popuplate the CachedGroupMembers of all the groups that group is part of .
-
-    my $cgm = RT::CachedGroupMembers->new( $self->CurrentUser );
-
-    # find things which have the current group as a member. 
-    # $group is an RT::Principal for the group.
-    $cgm->LimitToGroupsWithMember( $args{'Group'}->Id );
-
-    while ( my $parent_member = $cgm->Next ) {
-        my $parent_id = $parent_member->MemberId;
-        my $via       = $parent_member->Id;
-        my $group_id  = $parent_member->GroupId;
-
-          my $other_cached_member =
-          RT::CachedGroupMember->new( $self->CurrentUser );
-        my $other_cached_id = $other_cached_member->Create(
-            Member          => $args{'Member'},
-                      Group => $parent_member->GroupObj,
-            ImmediateParent => $parent_member->MemberObj,
-            Via             => $parent_member->Id
-        );
-        unless ($other_cached_id) {
-            $RT::Logger->err( "Couldn't add " . $args{'Member'}
-                  . " as a submember of a supergroup" );
-            $RT::Handle->Rollback() unless ($args{'InsideTransaction'});
-            return (undef);
-        }
-    } 
-
-    unless ($cached_id) {
-        $RT::Handle->Rollback() unless ($args{'InsideTransaction'});
-        return (undef);
-    }
-
-    $RT::Handle->Commit() unless ($args{'InsideTransaction'});
-
-    return ($id);
-}
-
-# }}}
-
-# {{{ sub _StashUser
-
-=head2 _StashUser PRINCIPAL
-
-Create { Group => undef, Member => undef }
-
-Creates an entry in the groupmembers table, which lists a user
-as a member of himself. This makes ACL checks a whole bunch easier.
-This happens once on user create and never ever gets yanked out.
-
-PRINCIPAL is expected to be an RT::Principal object for a user
-
-This routine expects to be called inside a transaction by RT::User->Create
-
-=cut
-
-sub _StashUser {
-    my $self = shift;
-    my %args = (
-        Group  => undef,
-        Member => undef,
-        @_
-    );
-
-    #Clear the key cache. TODO someday we may want to just clear a little bit of the keycache space. 
-    # TODO what about the groups key cache?
-    RT::Principal->InvalidateACLCache();
-
-
-    # We really need to make sure we don't add any members to this group
-    # that contain the group itself. that would, um, suck. 
-    # (and recurse infinitely)  Later, we can add code to check this in the 
-    # cache and bail so we can support cycling directed graphs
-
-    my $id = $self->SUPER::Create(
-        GroupId  => $args{'Group'}->Id,
-        MemberId => $args{'Member'}->Id,
-    );
-
-    unless ($id) {
-        return (undef);
-    }
-
-    my $cached_member = RT::CachedGroupMember->new( $self->CurrentUser );
-    my $cached_id     = $cached_member->Create(
-        Member          => $args{'Member'},
-        Group           => $args{'Group'},
-        ImmediateParent => $args{'Group'},
-        Via             => '0'
-    );
-
-    unless ($cached_id) {
-        return (undef);
-    }
-
-    return ($id);
-}
-
-# }}}
-
-# {{{ sub Delete
-
-=head2 Delete
-
-Takes no arguments. deletes the currently loaded member from the 
-group in question.
-
-Expects to be called _outside_ a transaction
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-
-    $RT::Handle->BeginTransaction();
-
-    # Find all occurrences of this member as a member of this group
-    # in the cache and nuke them, recursively.
-
-    # The following code will delete all Cached Group members
-    # where this member's group is _not_ the primary group 
-    # (Ie if we're deleting C as a member of B, and B happens to be 
-    # a member of A, will delete C as a member of A without touching
-    # C as a member of B
-
-    my $cached_submembers = RT::CachedGroupMembers->new( $self->CurrentUser );
-
-    $cached_submembers->Limit(
-        FIELD    => 'MemberId',
-        OPERATOR => '=',
-        VALUE    => $self->MemberObj->Id
-    );
-
-    $cached_submembers->Limit(
-        FIELD    => 'ImmediateParentId',
-        OPERATOR => '=',
-        VALUE    => $self->GroupObj->Id
-    );
-
-
-
-
-
-    while ( my $item_to_del = $cached_submembers->Next() ) {
-        my $del_err = $item_to_del->Delete();
-        unless ($del_err) {
-            $RT::Handle->Rollback();
-            $RT::Logger->warning("Couldn't delete cached group submember ".$item_to_del->Id);
-            return (undef);
-        }
-    }
-
-    my ($err, $msg) = $self->SUPER::Delete();
-    unless ($err) {
-            $RT::Logger->warning("Couldn't delete cached group submember ".$self->Id);
-        $RT::Handle->Rollback();
-        return (undef);
-    }
-
-    # Since this deletion may have changed the former member's
-    # delegation rights, we need to ensure that no invalid delegations
-    # remain.
-    $err = $self->MemberObj->_CleanupInvalidDelegations(InsideTransaction => 1);
-    unless ($err) {
-       $RT::Logger->warning("Unable to revoke delegated rights for principal ".$self->Id);
-       $RT::Handle->Rollback();
-       return (undef);
-    }
-
-    #Clear the key cache. TODO someday we may want to just clear a little bit of the keycache space. 
-    # TODO what about the groups key cache?
-    RT::Principal->InvalidateACLCache();
-
-    $RT::Handle->Commit();
-    return ($err);
-
-}
-
-# }}}
-
-# {{{ sub MemberObj
-
-=head2 MemberObj
-
-Returns an RT::Principal object for the Principal specified by $self->PrincipalId
-
-=cut
-
-sub MemberObj {
-    my $self = shift;
-    unless ( defined( $self->{'Member_obj'} ) ) {
-        $self->{'Member_obj'} = RT::Principal->new( $self->CurrentUser );
-        $self->{'Member_obj'}->Load( $self->MemberId ) if ($self->MemberId);
-    }
-    return ( $self->{'Member_obj'} );
-}
-
-# }}}
-
-# {{{ sub GroupObj
-
-=head2 GroupObj
-
-Returns an RT::Principal object for the Group specified in $self->GroupId
-
-=cut
-
-sub GroupObj {
-    my $self = shift;
-    unless ( defined( $self->{'Group_obj'} ) ) {
-        $self->{'Group_obj'} = RT::Principal->new( $self->CurrentUser );
-        $self->{'Group_obj'}->Load( $self->GroupId );
-    }
-    return ( $self->{'Group_obj'} );
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/RT/GroupMembers.pm b/rt/lib/RT/GroupMembers.pm
deleted file mode 100755 (executable)
index 2cf2cd3..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::GroupMembers -- Class Description
-=head1 SYNOPSIS
-
-  use RT::GroupMembers
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::GroupMembers;
-
-use RT::SearchBuilder;
-use RT::GroupMember;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'GroupMembers';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::GroupMember item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::GroupMember->new($self->CurrentUser));
-}
-
-        eval "require RT::GroupMembers_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/GroupMembers_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::GroupMembers_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/GroupMembers_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::GroupMembers_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/GroupMembers_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::GroupMembers_Overlay, RT::GroupMembers_Vendor, RT::GroupMembers_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/GroupMembers_Overlay.pm b/rt/lib/RT/GroupMembers_Overlay.pm
deleted file mode 100644 (file)
index 1b6f931..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::GroupMembers - a collection of RT::GroupMember objects
-
-=head1 SYNOPSIS
-
-  use RT::GroupMembers;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::GroupMembers);
-
-=end testing
-
-=cut
-
-
-package RT::GroupMembers;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ LimitToUsers
-
-=head2 LimitToUsers
-
-Limits this search object to users who are members of this group.
-This is really useful when you want to have your UI separate out
-groups from users for display purposes
-
-=cut
-
-sub LimitToUsers {
-    my $self = shift;
-
-    my $principals = $self->NewAlias('Principals');
-    $self->Join( ALIAS1 => 'main', FIELD1 => 'MemberId',
-                 ALIAS2 => $principals, FIELD2 =>'id');
-
-    $self->Limit(       ALIAS => $principals,
-                         FIELD => 'PrincipalType',
-                         VALUE => 'User',
-                         ENTRYAGGREGATOR => 'OR',
-                         );
-}
-
-# }}}
-
-
-# {{{ LimitToGroups
-
-=head2 LimitToGroups
-
-Limits this search object to Groups who are members of this group.
-This is really useful when you want to have your UI separate out
-groups from users for display purposes
-
-=cut
-
-sub LimitToGroups {
-    my $self = shift;
-
-    my $principals = $self->NewAlias('Principals');
-    $self->Join( ALIAS1 => 'main', FIELD1 => 'MemberId',
-                 ALIAS2 => $principals, FIELD2 =>'id');
-
-    $self->Limit(       ALIAS => $principals,
-                         FIELD => 'PrincipalType',
-                         VALUE => 'Group',
-                         ENTRYAGGREGATOR => 'OR',
-                         );
-}
-
-# }}}
-
-# {{{ sub LimitToMembersOfGroup
-
-=head2 LimitToMembersOfGroup PRINCIPAL_ID
-
-Takes a Principal Id as its only argument. 
-Limits the current search principals which are _directly_ members
-of the group which has PRINCIPAL_ID as its principal id.
-
-=cut
-
-sub LimitToMembersOfGroup {
-    my $self = shift;
-    my $group = shift;
-
-    return ($self->Limit( 
-                         VALUE => $group,
-                         FIELD => 'GroupId',
-                         ENTRYAGGREGATOR => 'OR',
-                                    QUOTEVALUE => 0
-                         ));
-
-}
-# }}}
-
-1;
diff --git a/rt/lib/RT/Group_Overlay.pm b/rt/lib/RT/Group_Overlay.pm
deleted file mode 100644 (file)
index 41cf497..0000000
+++ /dev/null
@@ -1,1381 +0,0 @@
-
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Released under the terms of version 2 of the GNU Public License
-
-=head1 NAME
-
-  RT::Group - RT\'s group object
-
-=head1 SYNOPSIS
-
-use RT::Group;
-my $group = new RT::Group($CurrentUser);
-
-=head1 DESCRIPTION
-
-An RT group object.
-
-=head1 METHODS
-
-
-=begin testing
-
-# {{{ Tests
-ok (require RT::Group);
-
-ok (my $group = RT::Group->new($RT::SystemUser), "instantiated a group object");
-ok (my ($id, $msg) = $group->CreateUserDefinedGroup( Name => 'TestGroup', Description => 'A test group',
-                    ), 'Created a new group');
-ok ($id != 0, "Group id is $id");
-ok ($group->Name eq 'TestGroup', "The group's name is 'TestGroup'");
-my $ng = RT::Group->new($RT::SystemUser);
-
-ok($ng->LoadUserDefinedGroup('TestGroup'), "Loaded testgroup");
-ok(($ng->id == $group->id), "Loaded the right group");
-
-
-ok (($id,$msg) = $ng->AddMember('1'), "Added a member to the group");
-ok($id, $msg);
-ok (($id,$msg) = $ng->AddMember('2' ), "Added a member to the group");
-ok($id, $msg);
-ok (($id,$msg) = $ng->AddMember('3' ), "Added a member to the group");
-ok($id, $msg);
-
-# Group 1 now has members 1, 2 ,3
-
-my $group_2 = RT::Group->new($RT::SystemUser);
-ok (my ($id_2, $msg_2) = $group_2->CreateUserDefinedGroup( Name => 'TestGroup2', Description => 'A second test group'), , 'Created a new group');
-ok ($id_2 != 0, "Created group 2 ok- $msg_2 ");
-ok (($id,$msg) = $group_2->AddMember($ng->PrincipalId), "Made TestGroup a member of testgroup2");
-ok($id, $msg);
-ok (($id,$msg) = $group_2->AddMember('1' ), "Added  member RT_System to the group TestGroup2");
-ok($id, $msg);
-
-# Group 2 how has 1, g1->{1, 2,3}
-
-my $group_3 = RT::Group->new($RT::SystemUser);
-ok (($id_3, $msg) = $group_3->CreateUserDefinedGroup( Name => 'TestGroup3', Description => 'A second test group'), 'Created a new group');
-ok ($id_3 != 0, "Created group 3 ok - $msg");
-ok (($id,$msg) =$group_3->AddMember($group_2->PrincipalId), "Made TestGroup a member of testgroup2");
-ok($id, $msg);
-
-# g3 now has g2->{1, g1->{1,2,3}}
-
-my $principal_1 = RT::Principal->new($RT::SystemUser);
-$principal_1->Load('1');
-
-my $principal_2 = RT::Principal->new($RT::SystemUser);
-$principal_2->Load('2');
-
-ok (($id,$msg) = $group_3->AddMember('1' ), "Added  member RT_System to the group TestGroup2");
-ok($id, $msg);
-
-# g3 now has 1, g2->{1, g1->{1,2,3}}
-
-ok($group_3->HasMember($principal_2) == undef, "group 3 doesn't have member 2");
-ok($group_3->HasMemberRecursively($principal_2), "group 3 has member 2 recursively");
-ok($ng->HasMember($principal_2) , "group ".$ng->Id." has member 2");
-my ($delid , $delmsg) =$ng->DeleteMember($principal_2->Id);
-ok ($delid !=0, "Sucessfully deleted it-".$delid."-".$delmsg);
-
-#Gotta reload the group objects, since we've been messing with various internals.
-# we shouldn't need to do this.
-#$ng->LoadUserDefinedGroup('TestGroup');
-#$group_2->LoadUserDefinedGroup('TestGroup2');
-#$group_3->LoadUserDefinedGroup('TestGroup');
-
-# G1 now has 1, 3
-# Group 2 how has 1, g1->{1, 3}
-# g3 now has  1, g2->{1, g1->{1, 3}}
-
-ok(!$ng->HasMember($principal_2)  , "group ".$ng->Id." no longer has member 2");
-ok($group_3->HasMemberRecursively($principal_2) == undef, "group 3 doesn't have member 2");
-ok($group_2->HasMemberRecursively($principal_2) == undef, "group 2 doesn't have member 2");
-ok($ng->HasMember($principal_2) == undef, "group 1 doesn't have member 2");;
-ok($group_3->HasMemberRecursively($principal_2) == undef, "group 3 has member 2 recursively");
-
-# }}}
-
-=end testing
-
-
-
-=cut
-
-
-package RT::Group;
-
-use strict;
-no warnings qw(redefine);
-
-use RT::Users;
-use RT::GroupMembers;
-use RT::Principals;
-use RT::ACL;
-
-use vars qw/$RIGHTS/;
-
-$RIGHTS = {
-    AdminGroup           => 'Modify group metadata or delete group',  # loc_pair
-    AdminGroupMembership =>
-      'Modify membership roster for this group',                      # loc_pair
-    ModifyOwnMembership => 'Join or leave this group',                 # loc_pair
-    EditSavedSearches => 'Edit saved searches for this group',        # loc_pair
-    ShowSavedSearches => 'Display saved searches for this group',        # loc_pair
-    SeeGroup => 'Make this group visible to user',                    # loc_pair
-};
-
-# Tell RT::ACE that this sort of object can get acls granted
-$RT::ACE::OBJECT_TYPES{'RT::Group'} = 1;
-
-
-#
-
-# TODO: This should be refactored out into an RT::ACLedObject or something
-# stuff the rights into a hash of rights that can exist.
-
-foreach my $right ( keys %{$RIGHTS} ) {
-    $RT::ACE::LOWERCASERIGHTNAMES{ lc $right } = $right;
-}
-
-
-=head2 AvailableRights
-
-Returns a hash of available rights for this object. The keys are the right names and the values are a description of what the rights do
-
-=cut
-
-sub AvailableRights {
-    my $self = shift;
-    return($RIGHTS);
-}
-
-
-# {{{ sub SelfDescription
-
-=head2 SelfDescription
-
-Returns a user-readable description of what this group is for and what it's named.
-
-=cut
-
-sub SelfDescription {
-       my $self = shift;
-       if ($self->Domain eq 'ACLEquivalence') {
-               my $user = RT::Principal->new($self->CurrentUser);
-               $user->Load($self->Instance);
-               return $self->loc("user [_1]",$user->Object->Name);
-       }
-       elsif ($self->Domain eq 'UserDefined') {
-               return $self->loc("group '[_1]'",$self->Name);
-       }
-       elsif ($self->Domain eq 'Personal') {
-               my $user = RT::User->new($self->CurrentUser);
-               $user->Load($self->Instance);
-               return $self->loc("personal group '[_1]' for user '[_2]'",$self->Name, $user->Name);
-       }
-       elsif ($self->Domain eq 'RT::System-Role') {
-               return $self->loc("system [_1]",$self->Type);
-       }
-       elsif ($self->Domain eq 'RT::Queue-Role') {
-               my $queue = RT::Queue->new($self->CurrentUser);
-               $queue->Load($self->Instance);
-               return $self->loc("queue [_1] [_2]",$queue->Name, $self->Type);
-       }
-       elsif ($self->Domain eq 'RT::Ticket-Role') {
-               return $self->loc("ticket #[_1] [_2]",$self->Instance, $self->Type);
-       }
-       elsif ($self->Domain eq 'SystemInternal') {
-               return $self->loc("system group '[_1]'",$self->Type);
-       }
-       else {
-               return $self->loc("undescribed group [_1]",$self->Id);
-       }
-}
-
-# }}}
-
-# {{{ sub Load 
-
-=head2 Load ID
-
-Load a group object from the database. Takes a single argument.
-If the argument is numerical, load by the column 'id'. Otherwise, 
-complain and return.
-
-=cut
-
-sub Load {
-    my $self       = shift;
-    my $identifier = shift || return undef;
-
-    #if it's an int, load by id. otherwise, load by name.
-    if ( $identifier !~ /\D/ ) {
-        $self->SUPER::LoadById($identifier);
-    }
-    else {
-        $RT::Logger->crit("Group -> Load called with a bogus argument");
-        return undef;
-    }
-}
-
-# }}}
-
-# {{{ sub LoadUserDefinedGroup 
-
-=head2 LoadUserDefinedGroup NAME
-
-Loads a system group from the database. The only argument is
-the group's name.
-
-
-=cut
-
-sub LoadUserDefinedGroup {
-    my $self       = shift;
-    my $identifier = shift;
-
-        $self->LoadByCols( "Domain" => 'UserDefined',
-                           "Name" => $identifier );
-}
-
-# }}}
-
-# {{{ sub LoadACLEquivalenceGroup 
-
-=head2 LoadACLEquivalenceGroup  PRINCIPAL
-
-Loads a user's acl equivalence group. Takes a principal object.
-ACL equivalnce groups are used to simplify the acl system. Each user
-has one group that only he is a member of. Rights granted to the user
-are actually granted to that group. This greatly simplifies ACL checks.
-While this results in a somewhat more complex setup when creating users
-and granting ACLs, it _greatly_ simplifies acl checks.
-
-
-
-=cut
-
-sub LoadACLEquivalenceGroup {
-    my $self       = shift;
-    my $princ = shift;
-
-        $self->LoadByCols( "Domain" => 'ACLEquivalence',
-                            "Type" => 'UserEquiv',
-                           "Instance" => $princ->Id);
-}
-
-# }}}
-
-# {{{ sub LoadPersonalGroup 
-
-=head2 LoadPersonalGroup {Name => NAME, User => USERID}
-
-Loads a personal group from the database. 
-
-=cut
-
-sub LoadPersonalGroup {
-    my $self       = shift;
-    my %args =  (   Name => undef,
-                    User => undef,
-                    @_);
-
-        $self->LoadByCols( "Domain" => 'Personal',
-                           "Instance" => $args{'User'},
-                           "Type" => '',
-                           "Name" => $args{'Name'} );
-}
-
-# }}}
-
-# {{{ sub LoadSystemInternalGroup 
-
-=head2 LoadSystemInternalGroup NAME
-
-Loads a Pseudo group from the database. The only argument is
-the group's name.
-
-
-=cut
-
-sub LoadSystemInternalGroup {
-    my $self       = shift;
-    my $identifier = shift;
-
-        $self->LoadByCols( "Domain" => 'SystemInternal',
-                           "Type" => $identifier );
-}
-
-# }}}
-
-# {{{ sub LoadTicketRoleGroup 
-
-=head2 LoadTicketRoleGroup  { Ticket => TICKET_ID, Type => TYPE }
-
-Loads a ticket group from the database. 
-
-Takes a param hash with 2 parameters:
-
-    Ticket is the TicketId we're curious about
-    Type is the type of Group we're trying to load: 
-        Requestor, Cc, AdminCc, Owner
-
-=cut
-
-sub LoadTicketRoleGroup {
-    my $self       = shift;
-    my %args = (Ticket => '0',
-                Type => undef,
-                @_);
-        $self->LoadByCols( Domain => 'RT::Ticket-Role',
-                           Instance =>$args{'Ticket'}, 
-                           Type => $args{'Type'}
-                           );
-}
-
-# }}}
-
-# {{{ sub LoadQueueRoleGroup 
-
-=head2 LoadQueueRoleGroup  { Queue => Queue_ID, Type => TYPE }
-
-Loads a Queue group from the database. 
-
-Takes a param hash with 2 parameters:
-
-    Queue is the QueueId we're curious about
-    Type is the type of Group we're trying to load: 
-        Requestor, Cc, AdminCc, Owner
-
-=cut
-
-sub LoadQueueRoleGroup {
-    my $self       = shift;
-    my %args = (Queue => undef,
-                Type => undef,
-                @_);
-        $self->LoadByCols( Domain => 'RT::Queue-Role',
-                           Instance =>$args{'Queue'}, 
-                           Type => $args{'Type'}
-                           );
-}
-
-# }}}
-
-# {{{ sub LoadSystemRoleGroup 
-
-=head2 LoadSystemRoleGroup  Type
-
-Loads a System group from the database. 
-
-Takes a single param: Type
-
-    Type is the type of Group we're trying to load: 
-        Requestor, Cc, AdminCc, Owner
-
-=cut
-
-sub LoadSystemRoleGroup {
-    my $self       = shift;
-    my $type = shift;
-        $self->LoadByCols( Domain => 'RT::System-Role',
-                           Type => $type
-                           );
-}
-
-# }}}
-
-# {{{ sub Create
-
-=head2 Create
-
-You need to specify what sort of group you're creating by calling one of the other
-Create_____ routines.
-
-=cut
-
-sub Create {
-    my $self = shift;
-    $RT::Logger->crit("Someone called RT::Group->Create. this method does not exist. someone's being evil");
-    return(0,$self->loc('Permission Denied'));
-}
-
-# }}}
-
-# {{{ sub _Create
-
-=head2 _Create
-
-Takes a paramhash with named arguments: Name, Description.
-
-Returns a tuple of (Id, Message).  If id is 0, the create failed
-
-=cut
-
-sub _Create {
-    my $self = shift;
-    my %args = (
-        Name        => undef,
-        Description => undef,
-        Domain      => undef,
-        Type        => undef,
-        Instance    => '0',
-        InsideTransaction => undef,
-        _RecordTransaction => 1,
-        @_
-    );
-
-    $RT::Handle->BeginTransaction() unless ($args{'InsideTransaction'});
-    # Groups deal with principal ids, rather than user ids.
-    # When creating this group, set up a principal Id for it.
-    my $principal    = RT::Principal->new( $self->CurrentUser );
-    my $principal_id = $principal->Create(
-        PrincipalType => 'Group',
-        ObjectId      => '0'
-    );
-    $principal->__Set(Field => 'ObjectId', Value => $principal_id);
-
-
-    $self->SUPER::Create(
-        id          => $principal_id,
-        Name        => $args{'Name'},
-        Description => $args{'Description'},
-        Type        => $args{'Type'},
-        Domain      => $args{'Domain'},
-        Instance    => ($args{'Instance'} || '0')
-    );
-    my $id = $self->Id;
-    unless ($id) {
-        return ( 0, $self->loc('Could not create group') );
-    }
-
-    # If we couldn't create a principal Id, get the fuck out.
-    unless ($principal_id) {
-        $RT::Handle->Rollback() unless ($args{'InsideTransaction'});
-        $self->crit( "Couldn't create a Principal on new user create. Strange things are afoot at the circle K" );
-        return ( 0, $self->loc('Could not create group') );
-    }
-
-    # Now we make the group a member of itself as a cached group member
-    # this needs to exist so that group ACL checks don't fall over.
-    # you're checking CachedGroupMembers to see if the principal in question
-    # is a member of the principal the rights have been granted too
-
-    # in the ordinary case, this would fail badly because it would recurse and add all the members of this group as 
-    # cached members. thankfully, we're creating the group now...so it has no members.
-    my $cgm = RT::CachedGroupMember->new($self->CurrentUser);
-    $cgm->Create(Group =>$self->PrincipalObj, Member => $self->PrincipalObj, ImmediateParent => $self->PrincipalObj);
-
-
-    if ( $args{'_RecordTransaction'} ) {
-       $self->_NewTransaction( Type => "Create" );
-    }
-
-    $RT::Handle->Commit() unless ($args{'InsideTransaction'});
-
-    return ( $id, $self->loc("Group created") );
-}
-
-# }}}
-
-# {{{ CreateUserDefinedGroup
-
-=head2 CreateUserDefinedGroup { Name => "name", Description => "Description"}
-
-A helper subroutine which creates a system group 
-
-Returns a tuple of (Id, Message).  If id is 0, the create failed
-
-=cut
-
-sub CreateUserDefinedGroup {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('AdminGroup') ) {
-        $RT::Logger->warning( $self->CurrentUser->Name
-              . " Tried to create a group without permission." );
-        return ( 0, $self->loc('Permission Denied') );
-    }
-
-    return($self->_Create( Domain => 'UserDefined', Type => '', Instance => '', @_));
-}
-
-# }}}
-
-# {{{ _CreateACLEquivalenceGroup
-
-=head2 _CreateACLEquivalenceGroup { Principal }
-
-A helper subroutine which creates a group containing only 
-an individual user. This gets used by the ACL system to check rights.
-Yes, it denormalizes the data, but that's ok, as we totally win on performance.
-
-Returns a tuple of (Id, Message).  If id is 0, the create failed
-
-=cut
-
-sub _CreateACLEquivalenceGroup { 
-    my $self = shift;
-    my $princ = shift;
-      my $id = $self->_Create( Domain => 'ACLEquivalence', 
-                           Type => 'UserEquiv',
-                           Name => 'User '. $princ->Object->Id,
-                           Description => 'ACL equiv. for user '.$princ->Object->Id,
-                           Instance => $princ->Id,
-                           InsideTransaction => 1);
-      unless ($id) {
-        $RT::Logger->crit("Couldn't create ACL equivalence group");
-        return undef;
-      }
-    
-       # We use stashuser so we don't get transactions inside transactions
-       # and so we bypass all sorts of cruft we don't need
-       my $aclstash = RT::GroupMember->new($self->CurrentUser);
-       my ($stash_id, $add_msg) = $aclstash->_StashUser(Group => $self->PrincipalObj,
-                                             Member => $princ);
-
-      unless ($stash_id) {
-        $RT::Logger->crit("Couldn't add the user to his own acl equivalence group:".$add_msg);
-        # We call super delete so we don't get acl checked.
-        $self->SUPER::Delete();
-        return(undef);
-      }
-    return ($id);
-}
-
-# }}}
-
-# {{{ CreatePersonalGroup
-
-=head2 CreatePersonalGroup { PrincipalId => PRINCIPAL_ID, Name => "name", Description => "Description"}
-
-A helper subroutine which creates a personal group. Generally,
-personal groups are used for ACL delegation and adding to ticket roles
-PrincipalId defaults to the current user's principal id.
-
-Returns a tuple of (Id, Message).  If id is 0, the create failed
-
-=cut
-
-sub CreatePersonalGroup {
-    my $self = shift;
-    my %args = (
-        Name        => undef,
-        Description => undef,
-        PrincipalId => $self->CurrentUser->PrincipalId,
-        @_
-    );
-
-    if ( $self->CurrentUser->PrincipalId == $args{'PrincipalId'} ) {
-
-        unless ( $self->CurrentUserHasRight('AdminOwnPersonalGroups') ) {
-            $RT::Logger->warning( $self->CurrentUser->Name
-                  . " Tried to create a group without permission." );
-            return ( 0, $self->loc('Permission Denied') );
-        }
-
-    }
-    else {
-        unless ( $self->CurrentUserHasRight('AdminAllPersonalGroups') ) {
-            $RT::Logger->warning( $self->CurrentUser->Name
-                  . " Tried to create a group without permission." );
-            return ( 0, $self->loc('Permission Denied') );
-        }
-
-    }
-
-    return (
-        $self->_Create(
-            Domain      => 'Personal',
-            Type        => '',
-            Instance    => $args{'PrincipalId'},
-            Name        => $args{'Name'},
-            Description => $args{'Description'}
-        )
-    );
-}
-
-# }}}
-
-# {{{ CreateRoleGroup 
-
-=head2 CreateRoleGroup { Domain => DOMAIN, Type =>  TYPE, Instance => ID }
-
-A helper subroutine which creates a  ticket group. (What RT 2.0 called Ticket watchers)
-Type is one of ( "Requestor" || "Cc" || "AdminCc" || "Owner") 
-Domain is one of (RT::Ticket-Role || RT::Queue-Role || RT::System-Role)
-Instance is the id of the ticket or queue in question
-
-This routine expects to be called from {Ticket||Queue}->CreateTicketGroups _inside of a transaction_
-
-Returns a tuple of (Id, Message).  If id is 0, the create failed
-
-=cut
-
-sub CreateRoleGroup {
-    my $self = shift;
-    my %args = ( Instance => undef,
-                 Type     => undef,
-                 Domain   => undef,
-                 @_ );
-    unless ( $args{'Type'} =~ /^(?:Cc|AdminCc|Requestor|Owner)$/ ) {
-        return ( 0, $self->loc("Invalid Group Type") );
-    }
-
-
-    return ( $self->_Create( Domain            => $args{'Domain'},
-                             Instance          => $args{'Instance'},
-                             Type              => $args{'Type'},
-                             InsideTransaction => 1 ) );
-}
-
-# }}}
-
-# {{{ sub Delete
-
-=head2 Delete
-
-Delete this object
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('AdminGroup') ) {
-        return ( 0, 'Permission Denied' );
-    }
-
-    $RT::Logger->crit("Deleting groups violates referential integrity until we go through and fix this");
-    # TODO XXX 
-   
-    # Remove the principal object
-    # Remove this group from anything it's a member of.
-    # Remove all cached members of this group
-    # Remove any rights granted to this group
-    # remove any rights delegated by way of this group
-
-    return ( $self->SUPER::Delete(@_) );
-}
-
-# }}}
-
-=head2 SetDisabled BOOL
-
-If passed a positive value, this group will be disabled. No rights it commutes or grants will be honored.
-It will not appear in most group listings.
-
-This routine finds all the cached group members that are members of this group  (recursively) and disables them.
-
-=cut 
-
- # }}}
-
- sub SetDisabled {
-     my $self = shift;
-     my $val = shift;
-    if ($self->Domain eq 'Personal') {
-               if ($self->CurrentUser->PrincipalId == $self->Instance) {
-               unless ( $self->CurrentUserHasRight('AdminOwnPersonalGroups')) {
-                       return ( 0, $self->loc('Permission Denied') );
-               }
-       } else {
-               unless ( $self->CurrentUserHasRight('AdminAllPersonalGroups') ) {
-                        return ( 0, $self->loc('Permission Denied') );
-               }
-       }
-       }
-       else {
-        unless ( $self->CurrentUserHasRight('AdminGroup') ) {
-                 return (0, $self->loc('Permission Denied'));
-    }
-    }
-    $RT::Handle->BeginTransaction();
-    $self->PrincipalObj->SetDisabled($val);
-
-
-
-
-    # Find all occurrences of this member as a member of this group
-    # in the cache and nuke them, recursively.
-
-    # The following code will delete all Cached Group members
-    # where this member's group is _not_ the primary group 
-    # (Ie if we're deleting C as a member of B, and B happens to be 
-    # a member of A, will delete C as a member of A without touching
-    # C as a member of B
-
-    my $cached_submembers = RT::CachedGroupMembers->new( $self->CurrentUser );
-
-    $cached_submembers->Limit( FIELD    => 'ImmediateParentId', OPERATOR => '=', VALUE    => $self->Id);
-
-    #Clear the key cache. TODO someday we may want to just clear a little bit of the keycache space. 
-    # TODO what about the groups key cache?
-    RT::Principal->InvalidateACLCache();
-
-
-
-    while ( my $item = $cached_submembers->Next() ) {
-        my $del_err = $item->SetDisabled($val);
-        unless ($del_err) {
-            $RT::Handle->Rollback();
-            $RT::Logger->warning("Couldn't disable cached group submember ".$item->Id);
-            return (undef);
-        }
-    }
-
-    $RT::Handle->Commit();
-    return (1, $self->loc("Succeeded"));
-
-}
-
-# }}}
-
-
-
-sub Disabled {
-    my $self = shift;
-    $self->PrincipalObj->Disabled(@_);
-}
-
-
-# {{{ DeepMembersObj
-
-=head2 DeepMembersObj
-
-Returns an RT::CachedGroupMembers object of this group's members,
-including all members of subgroups.
-
-=cut
-
-sub DeepMembersObj {
-    my $self = shift;
-    my $members_obj = RT::CachedGroupMembers->new( $self->CurrentUser );
-
-    #If we don't have rights, don't include any results
-    # TODO XXX  WHY IS THERE NO ACL CHECK HERE?
-    $members_obj->LimitToMembersOfGroup( $self->PrincipalId );
-
-    return ( $members_obj );
-
-}
-
-# }}}
-
-# {{{ UserMembersObj
-
-=head2 UserMembersObj
-
-Returns an RT::Users object of this group's members, including
-all members of subgroups
-
-=cut
-
-sub UserMembersObj {
-    my $self = shift;
-
-    my $users = RT::Users->new($self->CurrentUser);
-
-    #If we don't have rights, don't include any results
-    # TODO XXX  WHY IS THERE NO ACL CHECK HERE?
-
-    my $cached_members = $users->NewAlias('CachedGroupMembers');
-    $users->Join(ALIAS1 => $cached_members, FIELD1 => 'MemberId',
-                 ALIAS2 => $users->PrincipalsAlias, FIELD2 => 'id');
-    $users->Limit(ALIAS => $cached_members, 
-                  FIELD => 'GroupId',
-                  OPERATOR => '=',
-                  VALUE => $self->PrincipalId);
-
-    return ( $users);
-
-}
-
-# }}}
-
-# {{{ MembersObj
-
-=head2 MembersObj
-
-Returns an RT::GroupMembers object of this group's direct members.
-
-=cut
-
-sub MembersObj {
-    my $self = shift;
-    my $members_obj = RT::GroupMembers->new( $self->CurrentUser );
-
-    #If we don't have rights, don't include any results
-    # TODO XXX  WHY IS THERE NO ACL CHECK HERE?
-    $members_obj->LimitToMembersOfGroup( $self->PrincipalId );
-
-    return ( $members_obj );
-
-}
-
-# }}}
-
-# {{{ MemberEmailAddresses
-
-=head2 MemberEmailAddresses
-
-Returns an array of the email addresses of all of this group's members
-
-
-=cut
-
-sub MemberEmailAddresses {
-    my $self = shift;
-
-    my %addresses;
-    my $members = $self->UserMembersObj();
-    while (my $member = $members->Next) {
-        $addresses{$member->EmailAddress} = 1;
-    }
-    return(sort keys %addresses);
-}
-
-# }}}
-
-# {{{ MemberEmailAddressesAsString
-
-=head2 MemberEmailAddressesAsString
-
-Returns a comma delimited string of the email addresses of all users 
-who are members of this group.
-
-=cut
-
-
-sub MemberEmailAddressesAsString {
-    my $self = shift;
-    return (join(', ', $self->MemberEmailAddresses));
-}
-
-# }}}
-
-# {{{ AddMember
-
-=head2 AddMember PRINCIPAL_ID
-
-AddMember adds a principal to this group.  It takes a single principal id.
-Returns a two value array. the first value is true on successful 
-addition or 0 on failure.  The second value is a textual status msg.
-
-=cut
-
-sub AddMember {
-    my $self       = shift;
-    my $new_member = shift;
-
-
-
-    if ($self->Domain eq 'Personal') {
-               if ($self->CurrentUser->PrincipalId == $self->Instance) {
-               unless ( $self->CurrentUserHasRight('AdminOwnPersonalGroups')) {
-                       return ( 0, $self->loc('Permission Denied') );
-               }
-       } else {
-               unless ( $self->CurrentUserHasRight('AdminAllPersonalGroups') ) {
-                        return ( 0, $self->loc('Permission Denied') );
-               }
-       }
-       }
-       
-       else {  
-    # We should only allow membership changes if the user has the right 
-    # to modify group membership or the user is the principal in question
-    # and the user has the right to modify his own membership
-    unless ( ($new_member == $self->CurrentUser->PrincipalId &&
-             $self->CurrentUserHasRight('ModifyOwnMembership') ) ||
-             $self->CurrentUserHasRight('AdminGroupMembership') ) {
-        #User has no permission to be doing this
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-       } 
-    $self->_AddMember(PrincipalId => $new_member);
-}
-
-# A helper subroutine for AddMember that bypasses the ACL checks
-# this should _ONLY_ ever be called from Ticket/Queue AddWatcher
-# when we want to deal with groups according to queue rights
-# In the dim future, this will all get factored out and life
-# will get better      
-
-# takes a paramhash of { PrincipalId => undef, InsideTransaction }
-
-sub _AddMember {
-    my $self = shift;
-    my %args = ( PrincipalId => undef,
-                 InsideTransaction => undef,
-                 @_);
-    my $new_member = $args{'PrincipalId'};
-
-    unless ($self->Id) {
-        $RT::Logger->crit("Attempting to add a member to a group which wasn't loaded. 'oops'");
-        return(0, $self->loc("Group not found"));
-    }
-
-    unless ($new_member =~ /^\d+$/) {
-        $RT::Logger->crit("_AddMember called with a parameter that's not an integer.");
-    }
-
-
-    my $new_member_obj = RT::Principal->new( $self->CurrentUser );
-    $new_member_obj->Load($new_member);
-
-
-    unless ( $new_member_obj->Id ) {
-        $RT::Logger->debug("Couldn't find that principal");
-        return ( 0, $self->loc("Couldn't find that principal") );
-    }
-
-    if ( $self->HasMember( $new_member_obj ) ) {
-
-        #User is already a member of this group. no need to add it
-        return ( 0, $self->loc("Group already has member") );
-    }
-    if ( $new_member_obj->IsGroup &&
-         $new_member_obj->Object->HasMemberRecursively($self->PrincipalObj) ) {
-
-        #This group can't be made to be a member of itself
-        return ( 0, $self->loc("Groups can't be members of their members"));
-    }
-
-
-    my $member_object = RT::GroupMember->new( $self->CurrentUser );
-    my $id = $member_object->Create(
-        Member => $new_member_obj,
-        Group => $self->PrincipalObj,
-        InsideTransaction => $args{'InsideTransaction'}
-    );
-    if ($id) {
-        return ( 1, $self->loc("Member added") );
-    }
-    else {
-        return(0, $self->loc("Couldn't add member to group"));
-    }
-}
-# }}}
-
-# {{{ HasMember
-
-=head2 HasMember RT::Principal
-
-Takes an RT::Principal object returns a GroupMember Id if that user is a 
-member of this group.
-Returns undef if the user isn't a member of the group or if the current
-user doesn't have permission to find out. Arguably, it should differentiate
-between ACL failure and non membership.
-
-=cut
-
-sub HasMember {
-    my $self    = shift;
-    my $principal = shift;
-
-
-    unless (UNIVERSAL::isa($principal,'RT::Principal')) {
-        $RT::Logger->crit("Group::HasMember was called with an argument that".
-                          "isn't an RT::Principal. It's $principal");
-        return(undef);
-    }
-
-    unless ($principal->Id) {
-        return(undef);
-    }
-
-    my $member_obj = RT::GroupMember->new( $self->CurrentUser );
-    $member_obj->LoadByCols( MemberId => $principal->id, 
-                             GroupId => $self->PrincipalId );
-
-    #If we have a member object
-    if ( defined $member_obj->id ) {
-        return ( $member_obj->id );
-    }
-
-    #If Load returns no objects, we have an undef id. 
-    else {
-        #$RT::Logger->debug($self." does not contain principal ".$principal->id);
-        return (undef);
-    }
-}
-
-# }}}
-
-# {{{ HasMemberRecursively
-
-=head2 HasMemberRecursively RT::Principal
-
-Takes an RT::Principal object and returns true if that user is a member of 
-this group.
-Returns undef if the user isn't a member of the group or if the current
-user doesn't have permission to find out. Arguably, it should differentiate
-between ACL failure and non membership.
-
-=cut
-
-sub HasMemberRecursively {
-    my $self    = shift;
-    my $principal = shift;
-
-    unless (UNIVERSAL::isa($principal,'RT::Principal')) {
-        $RT::Logger->crit("Group::HasMemberRecursively was called with an argument that".
-                          "isn't an RT::Principal. It's $principal");
-        return(undef);
-    }
-    my $member_obj = RT::CachedGroupMember->new( $self->CurrentUser );
-    $member_obj->LoadByCols( MemberId => $principal->Id,
-                             GroupId => $self->PrincipalId ,
-                             Disabled => 0
-                             );
-
-    #If we have a member object
-    if ( defined $member_obj->id ) {
-        return ( 1);
-    }
-
-    #If Load returns no objects, we have an undef id. 
-    else {
-        return (undef);
-    }
-}
-
-# }}}
-
-# {{{ DeleteMember
-
-=head2 DeleteMember PRINCIPAL_ID
-
-Takes the principal id of a current user or group.
-If the current user has apropriate rights,
-removes that GroupMember from this group.
-Returns a two value array. the first value is true on successful 
-addition or 0 on failure.  The second value is a textual status msg.
-
-=cut
-
-sub DeleteMember {
-    my $self   = shift;
-    my $member_id = shift;
-
-
-    # We should only allow membership changes if the user has the right 
-    # to modify group membership or the user is the principal in question
-    # and the user has the right to modify his own membership
-
-    if ($self->Domain eq 'Personal') {
-               if ($self->CurrentUser->PrincipalId == $self->Instance) {
-               unless ( $self->CurrentUserHasRight('AdminOwnPersonalGroups')) {
-                       return ( 0, $self->loc('Permission Denied') );
-               }
-       } else {
-               unless ( $self->CurrentUserHasRight('AdminAllPersonalGroups') ) {
-                        return ( 0, $self->loc('Permission Denied') );
-               }
-       }
-       }
-       else {
-    unless ( (($member_id == $self->CurrentUser->PrincipalId) &&
-             $self->CurrentUserHasRight('ModifyOwnMembership') ) ||
-             $self->CurrentUserHasRight('AdminGroupMembership') ) {
-        #User has no permission to be doing this
-        return ( 0, $self->loc("Permission Denied") );
-    }
-       }
-    $self->_DeleteMember($member_id);
-}
-
-# A helper subroutine for DeleteMember that bypasses the ACL checks
-# this should _ONLY_ ever be called from Ticket/Queue  DeleteWatcher
-# when we want to deal with groups according to queue rights
-# In the dim future, this will all get factored out and life
-# will get better      
-
-sub _DeleteMember {
-    my $self = shift;
-    my $member_id = shift;
-
-    my $member_obj =  RT::GroupMember->new( $self->CurrentUser );
-    
-    $member_obj->LoadByCols( MemberId  => $member_id,
-                             GroupId => $self->PrincipalId);
-
-
-    #If we couldn't load it, return undef.
-    unless ( $member_obj->Id() ) {
-        $RT::Logger->debug("Group has no member with that id");
-        return ( 0,$self->loc( "Group has no such member" ));
-    }
-
-    #Now that we've checked ACLs and sanity, delete the groupmember
-    my $val = $member_obj->Delete();
-
-    if ($val) {
-        return ( $val, $self->loc("Member deleted") );
-    }
-    else {
-        $RT::Logger->debug("Failed to delete group ".$self->Id." member ". $member_id);
-        return ( 0, $self->loc("Member not deleted" ));
-    }
-}
-
-# }}}
-
-# {{{ sub _CleanupInvalidDelegations
-
-=head2 _CleanupInvalidDelegations { InsideTransaction => undef }
-
-Revokes all ACE entries delegated by members of this group which are
-inconsistent with their current delegation rights.  Does not perform
-permission checks.  Should only ever be called from inside the RT
-library.
-
-If called from inside a transaction, specify a true value for the
-InsideTransaction parameter.
-
-Returns a true value if the deletion succeeded; returns a false value
-and logs an internal error if the deletion fails (should not happen).
-
-=cut
-
-# XXX Currently there is a _CleanupInvalidDelegations method in both
-# RT::User and RT::Group.  If the recursive cleanup call for groups is
-# ever unrolled and merged, this code will probably want to be
-# factored out into RT::Principal.
-
-sub _CleanupInvalidDelegations {
-    my $self = shift;
-    my %args = ( InsideTransaction => undef,
-                 @_ );
-
-    unless ( $self->Id ) {
-       $RT::Logger->warning("Group not loaded.");
-       return (undef);
-    }
-
-    my $in_trans = $args{InsideTransaction};
-
-    # TODO: Can this be unrolled such that the number of DB queries is constant rather than linear in exploded group size?
-    my $members = $self->DeepMembersObj();
-    $members->LimitToUsers();
-    $RT::Handle->BeginTransaction() unless $in_trans;
-    while ( my $member = $members->Next()) {
-       my $ret = $member->MemberObj->_CleanupInvalidDelegations(InsideTransaction => 1,
-                                                                Object => $args{Object});
-       unless ($ret) {
-           $RT::Handle->Rollback() unless $in_trans;
-           return (undef);
-       }
-    }
-    $RT::Handle->Commit() unless $in_trans;
-    return(1);
-}
-
-# }}}
-
-# {{{ ACL Related routines
-
-# {{{ sub _Set
-sub _Set {
-    my $self = shift;
-    my %args = (
-        Field => undef,
-        Value => undef,
-       TransactionType   => 'Set',
-       RecordTransaction => 1,
-        @_
-    );
-
-       if ($self->Domain eq 'Personal') {
-               if ($self->CurrentUser->PrincipalId == $self->Instance) {
-               unless ( $self->CurrentUserHasRight('AdminOwnPersonalGroups')) {
-                       return ( 0, $self->loc('Permission Denied') );
-               }
-       } else {
-               unless ( $self->CurrentUserHasRight('AdminAllPersonalGroups') ) {
-                        return ( 0, $self->loc('Permission Denied') );
-               }
-       }
-       }
-       else {
-       unless ( $self->CurrentUserHasRight('AdminGroup') ) {
-               return ( 0, $self->loc('Permission Denied') );
-       }
-       }
-
-    my $Old = $self->SUPER::_Value("$args{'Field'}");
-    
-    my ($ret, $msg) = $self->SUPER::_Set( Field => $args{'Field'},
-                                         Value => $args{'Value'} );
-    
-    #If we can't actually set the field to the value, don't record
-    # a transaction. instead, get out of here.
-    if ( $ret == 0 ) { return ( 0, $msg ); }
-
-    if ( $args{'RecordTransaction'} == 1 ) {
-
-        my ( $Trans, $Msg, $TransObj ) = $self->_NewTransaction(
-                                               Type => $args{'TransactionType'},
-                                               Field     => $args{'Field'},
-                                               NewValue  => $args{'Value'},
-                                               OldValue  => $Old,
-                                               TimeTaken => $args{'TimeTaken'},
-        );
-        return ( $Trans, scalar $TransObj->Description );
-    }
-    else {
-        return ( $ret, $msg );
-    }
-}
-
-# }}}
-
-
-
-
-=head2 CurrentUserHasRight RIGHTNAME
-
-Returns true if the current user has the specified right for this group.
-
-
-    TODO: we don't deal with membership visibility yet
-
-=cut
-
-
-sub CurrentUserHasRight {
-    my $self = shift;
-    my $right = shift;
-
-
-
-    if ($self->Id && 
-               $self->CurrentUser->HasRight( Object => $self,
-                                                                                  Right => $right )) {
-        return(1);
-   }
-    elsif ( $self->CurrentUser->HasRight(Object => $RT::System, Right =>  $right )) {
-               return (1);
-    } else {
-        return(undef);
-    }
-
-}
-
-# }}}
-
-
-
-
-# {{{ Principal related routines
-
-=head2 PrincipalObj
-
-Returns the principal object for this user. returns an empty RT::Principal
-if there's no principal object matching this user. 
-The response is cached. PrincipalObj should never ever change.
-
-=begin testing
-
-ok(my $u = RT::Group->new($RT::SystemUser));
-ok($u->Load(4), "Loaded the first user");
-ok($u->PrincipalObj->ObjectId == 4, "user 4 is the fourth principal");
-ok($u->PrincipalObj->PrincipalType eq 'Group' , "Principal 4 is a group");
-
-=end testing
-
-=cut
-
-
-sub PrincipalObj {
-    my $self = shift;
-    unless ($self->{'PrincipalObj'} &&
-            ($self->{'PrincipalObj'}->ObjectId == $self->Id) &&
-            ($self->{'PrincipalObj'}->PrincipalType eq 'Group')) {
-
-            $self->{'PrincipalObj'} = RT::Principal->new($self->CurrentUser);
-            $self->{'PrincipalObj'}->LoadByCols('ObjectId' => $self->Id,
-                                                'PrincipalType' => 'Group') ;
-            }
-    return($self->{'PrincipalObj'});
-}
-
-
-=head2 PrincipalId  
-
-Returns this user's PrincipalId
-
-=cut
-
-sub PrincipalId {
-    my $self = shift;
-    return $self->Id;
-}
-
-# }}}
-
-sub BasicColumns {
-    (
-       [ Name => 'Name' ],
-       [ Description => 'Description' ],
-    );
-}
-
-1;
-
-=head1 AUTHOR
-
-Jesse Vincent, jesse@bestpractical.com
-
-=head1 SEE ALSO
-
-RT
-
diff --git a/rt/lib/RT/Groups.pm b/rt/lib/RT/Groups.pm
deleted file mode 100755 (executable)
index 46337f7..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Groups -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Groups
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Groups;
-
-use RT::SearchBuilder;
-use RT::Group;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Groups';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Group item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Group->new($self->CurrentUser));
-}
-
-        eval "require RT::Groups_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Groups_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Groups_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Groups_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Groups_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Groups_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Groups_Overlay, RT::Groups_Vendor, RT::Groups_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Groups_Overlay.pm b/rt/lib/RT/Groups_Overlay.pm
deleted file mode 100644 (file)
index cf29114..0000000
+++ /dev/null
@@ -1,513 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Groups - a collection of RT::Group objects
-
-=head1 SYNOPSIS
-
-  use RT::Groups;
-  my $groups = $RT::Groups->new($CurrentUser);
-  $groups->UnLimit();
-  while (my $group = $groups->Next()) {
-     print $group->Id ." is a group id\n";
-  }
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Groups);
-
-=end testing
-
-=cut
-
-
-package RT::Groups;
-
-use strict;
-no warnings qw(redefine);
-
-
-# {{{ sub _Init
-
-sub _Init { 
-  my $self = shift;
-  $self->{'table'} = "Groups";
-  $self->{'primary_key'} = "id";
-
-  $self->OrderBy( ALIAS => 'main',
-                 FIELD => 'Name',
-                 ORDER => 'ASC');
-
-
-  return ( $self->SUPER::_Init(@_));
-}
-# }}}
-
-# {{{ LimiToSystemInternalGroups
-
-=head2 LimitToSystemInternalGroups
-
-Return only SystemInternal Groups, such as "privileged" "unprivileged" and "everyone" 
-
-=cut
-
-
-sub LimitToSystemInternalGroups {
-    my $self = shift;
-    $self->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'SystemInternal');
-    # All system internal groups have the same instance. No reason to limit down further
-    #$self->Limit(FIELD => 'Instance', OPERATOR => '=', VALUE => '0');
-}
-
-
-# }}}
-
-# {{{ LimiToUserDefinedGroups
-
-=head2 LimitToUserDefined Groups
-
-Return only UserDefined Groups
-
-=cut
-
-
-sub LimitToUserDefinedGroups {
-    my $self = shift;
-    $self->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'UserDefined');
-    # All user-defined groups have the same instance. No reason to limit down further
-    #$self->Limit(FIELD => 'Instance', OPERATOR => '=', VALUE => '');
-}
-
-
-# }}}
-
-# {{{ LimiToPersonalGroups
-
-=head2 LimitToPersonalGroupsFor PRINCIPAL_ID
-
-Return only Personal Groups for the user whose principal id 
-is PRINCIPAL_ID
-
-=cut
-
-
-sub LimitToPersonalGroupsFor {
-    my $self = shift;
-    my $princ = shift;
-
-    $self->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'Personal');
-    $self->Limit(   FIELD => 'Instance',   
-                    OPERATOR => '=', 
-                    VALUE => $princ);
-}
-
-
-# }}}
-
-# {{{ LimitToRolesForQueue
-
-=head2 LimitToRolesForQueue QUEUE_ID
-
-Limits the set of groups found to role groups for queue QUEUE_ID
-
-=cut
-
-sub LimitToRolesForQueue {
-    my $self = shift;
-    my $queue = shift;
-    $self->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'RT::Queue-Role');
-    $self->Limit(FIELD => 'Instance', OPERATOR => '=', VALUE => $queue);
-}
-
-# }}}
-
-# {{{ LimitToRolesForTicket
-
-=head2 LimitToRolesForTicket Ticket_ID
-
-Limits the set of groups found to role groups for Ticket Ticket_ID
-
-=cut
-
-sub LimitToRolesForTicket {
-    my $self = shift;
-    my $Ticket = shift;
-    $self->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'RT::Ticket-Role');
-    $self->Limit(FIELD => 'Instance', OPERATOR => '=', VALUE => '$Ticket');
-}
-
-# }}}
-
-# {{{ LimitToRolesForSystem
-
-=head2 LimitToRolesForSystem System_ID
-
-Limits the set of groups found to role groups for System System_ID
-
-=cut
-
-sub LimitToRolesForSystem {
-    my $self = shift;
-    $self->Limit(FIELD => 'Domain', OPERATOR => '=', VALUE => 'RT::System-Role');
-}
-
-# }}}
-
-=head2 WithMember {PrincipalId => PRINCIPAL_ID, Recursively => undef}
-
-Limits the set of groups returned to groups which have
-Principal PRINCIPAL_ID as a member
-   
-=begin testing
-
-my $u = RT::User->new($RT::SystemUser);
-$u->Create(Name => 'Membertests');
-my $g = RT::Group->new($RT::SystemUser);
-my ($id, $msg) = $g->CreateUserDefinedGroup(Name => 'Membertests');
-ok ($id,$msg);
-
-my ($aid, $amsg) =$g->AddMember($u->id);
-ok ($aid, $amsg);
-ok($g->HasMember($u->PrincipalObj),"G has member u");
-
-my $groups = RT::Groups->new($RT::SystemUser);
-$groups->LimitToUserDefinedGroups();
-$groups->WithMember(PrincipalId => $u->id);
-ok ($groups->Count == 1,"found the 1 group - " . $groups->Count);
-ok ($groups->First->Id == $g->Id, "it's the right one");
-
-
-
-
-=end testing
-
-
-=cut
-
-sub WithMember {
-    my $self = shift;
-    my %args = ( PrincipalId => undef,
-                 Recursively => undef,
-                 @_);
-    my $members;
-
-    if ($args{'Recursively'}) {
-        $members = $self->NewAlias('CachedGroupMembers');
-    } else {
-        $members = $self->NewAlias('GroupMembers');
-    }
-    $self->Join(ALIAS1 => 'main', FIELD1 => 'id',
-                ALIAS2 => $members, FIELD2 => 'GroupId');
-
-    $self->Limit(ALIAS => $members, FIELD => 'MemberId', OPERATOR => '=', VALUE => $args{'PrincipalId'});
-}
-
-
-=head2 WithRight { Right => RIGHTNAME, Object => RT::Record, IncludeSystemRights => 1, IncludeSuperusers => 0, EquivObjects => [ ] }
-
-
-Find all groups which have RIGHTNAME for RT::Record. Optionally include global rights and superusers. By default, include the global rights, but not the superusers.
-
-=begin testing
-
-my $q = RT::Queue->new($RT::SystemUser);
-my ($id, $msg) =$q->Create( Name => 'GlobalACLTest');
-ok ($id, $msg);
-
-my $testuser = RT::User->new($RT::SystemUser);
-($id,$msg) = $testuser->Create(Name => 'JustAnAdminCc');
-ok ($id,$msg);
-
-my $global_admin_cc = RT::Group->new($RT::SystemUser);
-$global_admin_cc->LoadSystemRoleGroup('AdminCc');
-ok($global_admin_cc->id, "Found the global admincc group");
-my $groups = RT::Groups->new($RT::SystemUser);
-$groups->WithRight(Right => 'OwnTicket', Object => $q);
-is($groups->Count, 1);
-($id, $msg) = $global_admin_cc->PrincipalObj->GrantRight(Right =>'OwnTicket', Object=> $RT::System);
-ok ($id,$msg);
-ok (!$testuser->HasRight(Object => $q, Right => 'OwnTicket') , "The test user does not have the right to own tickets in the test queue");
-($id, $msg) = $q->AddWatcher(Type => 'AdminCc', PrincipalId => $testuser->id);
-ok($id,$msg);
-ok ($testuser->HasRight(Object => $q, Right => 'OwnTicket') , "The test user does have the right to own tickets now. thank god.");
-
-$groups = RT::Groups->new($RT::SystemUser);
-$groups->WithRight(Right => 'OwnTicket', Object => $q);
-ok ($id,$msg);
-is($groups->Count, 2);
-
-my $RTxGroup = RT::Group->new($RT::SystemUser);
-($id, $msg) = $RTxGroup->CreateUserDefinedGroup( Name => 'RTxGroup', Description => "RTx extension group");
-ok ($id,$msg);
-
-my $RTxSysObj = {};
-bless $RTxSysObj, 'RTx::System';
-*RTx::System::Id = sub { 1; };
-*RTx::System::id = *RTx::System::Id;
-my $ace = RT::Record->new($RT::SystemUser);
-$ace->Table('ACL');
-$ace->_BuildTableAttributes unless ($_TABLE_ATTR->{ref($self)});
-($id, $msg) = $ace->Create( PrincipalId => $RTxGroup->id, PrincipalType => 'Group', RightName => 'RTxGroupRight', ObjectType => 'RTx::System', ObjectId  => 1);
-ok ($id, "ACL for RTxSysObj created");
-
-my $RTxObj = {};
-bless $RTxObj, 'RTx::System::Record';
-*RTx::System::Record::Id = sub { 4; };
-*RTx::System::Record::id = *RTx::System::Record::Id;
-
-$groups = RT::Groups->new($RT::SystemUser);
-$groups->WithRight(Right => 'RTxGroupRight', Object => $RTxSysObj);
-is($groups->Count, 1, "RTxGroupRight found for RTxSysObj");
-
-$groups = RT::Groups->new($RT::SystemUser);
-$groups->WithRight(Right => 'RTxGroupRight', Object => $RTxObj);
-is($groups->Count, 0, "RTxGroupRight not found for RTxObj");
-
-$groups = RT::Groups->new($RT::SystemUser);
-$groups->WithRight(Right => 'RTxGroupRight', Object => $RTxObj, EquivObjects => [ $RTxSysObj ]);
-is($groups->Count, 1, "RTxGroupRight found for RTxObj using EquivObjects");
-
-$ace = RT::Record->new($RT::SystemUser);
-$ace->Table('ACL');
-$ace->_BuildTableAttributes unless ($_TABLE_ATTR->{ref($self)});
-($id, $msg) = $ace->Create( PrincipalId => $RTxGroup->id, PrincipalType => 'Group', RightName => 'RTxGroupRight', ObjectType => 'RTx::System::Record', ObjectId  => 5 );
-ok ($id, "ACL for RTxObj created");
-
-my $RTxObj2 = {};
-bless $RTxObj2, 'RTx::System::Record';
-*RTx::System::Record::Id = sub { 5; };
-
-$groups = RT::Groups->new($RT::SystemUser);
-$groups->WithRight(Right => 'RTxGroupRight', Object => $RTxObj2);
-is($groups->Count, 1, "RTxGroupRight found for RTxObj2");
-
-$groups = RT::Groups->new($RT::SystemUser);
-$groups->WithRight(Right => 'RTxGroupRight', Object => $RTxObj2, EquivObjects => [ $RTxSysObj ]);
-is($groups->Count, 1, "RTxGroupRight found for RTxObj2");
-
-
-
-=end testing
-
-
-=cut
-
-
-sub WithRight {
-    my $self = shift;
-    my %args = ( Right                  => undef,
-                 Object =>              => undef,
-                 IncludeSystemRights    => 1,
-                 IncludeSuperusers      => undef,
-                 EquivObjects           => [ ],
-                 @_ );
-
-    my $acl        = $self->NewAlias('ACL');
-
-    # {{{ Find only rows where the right granted is the one we're looking up or _possibly_ superuser 
-    $self->Limit( ALIAS           => $acl,
-                  FIELD           => 'RightName',
-                  OPERATOR        => ($args{Right} ? '=' : 'IS NOT'),
-                  VALUE           => $args{Right} || 'NULL',
-                  ENTRYAGGREGATOR => 'OR' );
-
-    if ( $args{'IncludeSuperusers'} and $args{'Right'} ) {
-        $self->Limit( ALIAS           => $acl,
-                      FIELD           => 'RightName',
-                      OPERATOR        => '=',
-                      VALUE           => 'SuperUser',
-                      ENTRYAGGREGATOR => 'OR' );
-    }
-    # }}}
-
-    my ($or_check_ticket_roles, $or_check_roles);
-    my $which_object = "$acl.ObjectType = 'RT::System'";
-
-    if ( defined $args{'Object'} ) {
-        if ( ref($args{'Object'}) eq 'RT::Ticket' ) {
-            $or_check_ticket_roles =
-                " OR ( main.Domain = 'RT::Ticket-Role' AND main.Instance = " . $args{'Object'}->Id . ") ";
-
-            # If we're looking at ticket rights, we also want to look at the associated queue rights.
-            # this is a little bit hacky, but basically, now that we've done the ticket roles magic,
-            # we load the queue object and ask all the rest of our questions about the queue.
-            $args{'Object'}   = $args{'Object'}->QueueObj;
-        }
-        # TODO XXX This really wants some refactoring
-        if ( ref($args{'Object'}) eq 'RT::Queue' ) {
-            $or_check_roles =
-                " OR ( ( (main.Domain = 'RT::Queue-Role' AND main.Instance = " .
-                $args{'Object'}->Id . ") $or_check_ticket_roles ) " .
-                " AND main.Type = $acl.PrincipalType) ";
-        }
-
-       if ( $args{'IncludeSystemRights'} ) {
-           $which_object .= ' OR ';
-       }
-       else {
-           $which_object = '';
-       }
-        foreach my $obj ( @{ $args{'EquivObjects'} } ) {
-             next unless ( UNIVERSAL::can( $obj, 'id' ) );
-             $which_object .= "($acl.ObjectType = '" . ref( $obj ) . "' AND $acl.ObjectId = " . $obj->id . ") OR ";
-         }
-        $which_object .=
-            " ($acl.ObjectType = '" . ref($args{'Object'}) . "'" .
-            " AND $acl.ObjectId = " . $args{'Object'}->Id . ") ";
-    }
-
-    $self->_AddSubClause( "WhichObject", "($which_object)" );
-
-    $self->_AddSubClause( "WhichGroup",
-        qq{
-          ( (    $acl.PrincipalId = main.id
-             AND $acl.PrincipalType = 'Group'
-             AND (   main.Domain = 'SystemInternal'
-                  OR main.Domain = 'UserDefined'
-                  OR main.Domain = 'ACLEquivalence'))
-           $or_check_roles)
-        }
-    );
-}
-
-# {{{ sub LimitToEnabled
-
-=head2 LimitToEnabled
-
-Only find items that haven\'t been disabled
-
-=cut
-
-sub LimitToEnabled {
-    my $self = shift;
-    
-    my $alias = $self->Join(
-       TYPE   => 'left',
-       ALIAS1 => 'main',
-       FIELD1 => 'id',
-       TABLE2 => 'Principals',
-       FIELD2 => 'id'
-    );
-
-    $self->Limit( ALIAS => $alias,
-                 FIELD => 'Disabled',
-                 VALUE => '0',
-                 OPERATOR => '=' );
-}
-# }}}
-
-# {{{ sub LimitToDisabled
-
-=head2 LimitToDeleted
-
-Only find items that have been deleted.
-
-=cut
-
-sub LimitToDeleted {
-    my $self = shift;
-    
-    my $alias = $self->Join(
-       TYPE   => 'left',
-       ALIAS1 => 'main',
-       FIELD1 => 'id',
-       TABLE2 => 'Principals',
-       FIELD2 => 'id'
-    );
-
-    $self->{'find_disabled_rows'} = 1;
-    $self->Limit( ALIAS => $alias,
-                 FIELD => 'Disabled',
-                 OPERATOR => '=',
-                 VALUE => '1'
-               );
-}
-# }}}
-
-# {{{ sub Next
-
-sub Next {
-    my $self = shift;
-
-    # Don't show groups which the user isn't allowed to see.
-
-    my $Group = $self->SUPER::Next();
-    if ((defined($Group)) and (ref($Group))) {
-       unless ($Group->CurrentUserHasRight('SeeGroup')) {
-           return $self->Next();
-       }
-       
-       return $Group;
-    }
-    else {
-       return undef;
-    }
-}
-
-
-
-sub _DoSearch {
-    my $self = shift;
-    
-    #unless we really want to find disabled rows, make sure we\'re only finding enabled ones.
-    unless($self->{'find_disabled_rows'}) {
-       $self->LimitToEnabled();
-    }
-    
-    return($self->SUPER::_DoSearch(@_));
-    
-}
-
-1;
-
diff --git a/rt/lib/RT/Handle.pm b/rt/lib/RT/Handle.pm
deleted file mode 100644 (file)
index 21ca1ac..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Handle - RT's database handle
-
-=head1 SYNOPSIS
-
-  use RT::Handle;
-
-=head1 DESCRIPTION
-
-=begin testing
-
-ok(require RT::Handle);
-
-=end testing
-
-=head1 METHODS
-
-=cut
-
-package RT::Handle;
-
-use strict;
-use vars qw/@ISA/;
-
-eval "use DBIx::SearchBuilder::Handle::$RT::DatabaseType;
-\@ISA= qw(DBIx::SearchBuilder::Handle::$RT::DatabaseType);";
-
-if ($@) {
-    die "Unable to load DBIx::SearchBuilder database handle for '$RT::DatabaseType'.".
-        "\n".
-        "Perhaps you've picked an invalid database type or spelled it incorrectly.".
-        "\n". $@;
-}
-
-=head2 Connect
-
-Connects to RT's database handle.
-Takes nothing. Calls SUPER::Connect with the needed args
-
-=cut
-
-sub Connect {
-    my $self = shift;
-
-    if ($RT::DatabaseType eq 'Oracle') {
-        $ENV{'NLS_LANG'} = "AMERICAN_AMERICA.AL32UTF8";
-        $ENV{'NLS_NCHAR'} = "AL32UTF8";
-        
-    }
-
-    $self->SUPER::Connect(
-                        User => $RT::DatabaseUser,
-                        Password => $RT::DatabasePassword,
-                       );
-
-    $self->dbh->{LongReadLen} = $RT::MaxAttachmentSize;
-   
-}
-
-=head2 BuildDSN
-
-Build the DSN for the RT database. doesn't take any parameters, draws all that
-from the config file.
-
-=cut
-
-use File::Spec;
-
-sub BuildDSN {
-    my $self = shift;
-# Unless the database port is a positive integer, we really don't want to pass it.
-$RT::DatabasePort = undef unless (defined $RT::DatabasePort && $RT::DatabasePort =~ /^(\d+)$/);
-$RT::DatabaseHost = undef unless (defined $RT::DatabaseHost && $RT::DatabaseHost ne '');
-$RT::DatabaseName = File::Spec->catfile($RT::VarPath, $RT::DatabaseName)
-    if ($RT::DatabaseType eq 'SQLite') and
-       not File::Spec->file_name_is_absolute($RT::DatabaseName);
-
-
-    $self->SUPER::BuildDSN(Host => $RT::DatabaseHost, 
-                        Database => $RT::DatabaseName, 
-                        Port => $RT::DatabasePort,
-                        Driver => $RT::DatabaseType,
-                        RequireSSL => $RT::DatabaseRequireSSL,
-             DisconnectHandleOnDestroy => 1
-                       );
-   
-
-}
-
-eval "require RT::Handle_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Handle_Vendor.pm});
-eval "require RT::Handle_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Handle_Local.pm});
-
-1;
diff --git a/rt/lib/RT/I18N.pm b/rt/lib/RT/I18N.pm
deleted file mode 100644 (file)
index affff98..0000000
+++ /dev/null
@@ -1,476 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-RT::I18N - a base class for localization of RT
-
-=cut
-
-package RT::I18N;
-
-use strict;
-use Locale::Maketext 1.04;
-use Locale::Maketext::Lexicon 0.25;
-use base ('Locale::Maketext::Fuzzy');
-use vars qw( %Lexicon );
-
-#If we're running on 5.6, we desperately need Encode::compat. But if we're on 5.8, we don't really need it.
-BEGIN { if ($] < 5.007001) {
-require Encode::compat;
-} }
-use Encode;
-
-use MIME::Entity;
-use MIME::Head;
-
-# I decree that this project's first language is English.
-
-%Lexicon = (
-   'TEST_STRING' => 'Concrete Mixer',
-
-    '__Content-Type' => 'text/plain; charset=utf-8',
-
-  '_AUTO' => 1,
-  # That means that lookup failures can't happen -- if we get as far
-  #  as looking for something in this lexicon, and we don't find it,
-  #  then automagically set $Lexicon{$key} = $key, before possibly
-  #  compiling it.
-  
-  # The exception is keys that start with "_" -- they aren't auto-makeable.
-
-);
-# End of lexicon.
-
-=head2 Init
-
-Initializes the lexicons used for localization.
-
-=begin testing
-
-use_ok (RT::I18N);
-ok(RT::I18N->Init);
-
-=end testing
-
-=cut
-
-sub Init {
-    require File::Glob;
-
-    # Load language-specific functions
-    foreach my $language ( File::Glob::bsd_glob(substr(__FILE__, 0, -3) . "/*.pm")) {
-        if ($language =~ /^([-\w\s.\/\\~:]+)$/) {
-            require $1;
-        }
-        else {
-           warn("$language is tainted. not loading");
-        } 
-    }
-
-    my @lang = @RT::LexiconLanguages;
-    @lang = ('*') unless @lang;
-
-    # Acquire all .po files and iterate them into lexicons
-    Locale::Maketext::Lexicon->import({
-       _decode => 1, map {
-           $_  => [
-               Gettext => (substr(__FILE__, 0, -3) . "/$_.po"),
-               Gettext => "$RT::LocalLexiconPath/*/$_.po",
-               Gettext => "$RT::LocalLexiconPath/$_.po",
-           ],
-       } @lang
-    });
-
-    return 1;
-}
-
-=head2 encoding
-
-Returns the encoding of the current lexicon, as yanked out of __ContentType's "charset" field.
-If it can't find anything, it returns 'ISO-8859-1'
-
-=begin testing
-
-ok(my $chinese = RT::I18N->get_handle('zh_tw'));
-ok(UNIVERSAL::can($chinese, 'maketext'));
-ok($chinese->maketext('__Content-Type') =~ /utf-8/i, "Found the utf-8 charset for traditional chinese in the string ".$chinese->maketext('__Content-Type'));
-ok($chinese->encoding eq 'utf-8', "The encoding is 'utf-8' -".$chinese->encoding);
-
-ok(my $en = RT::I18N->get_handle('en'));
-ok(UNIVERSAL::can($en, 'maketext'));
-ok($en->encoding eq 'utf-8', "The encoding ".$en->encoding." is 'utf-8'");
-
-=end testing
-
-
-=cut
-
-
-sub encoding { 'utf-8' }
-
-# {{{ SetMIMEEntityToUTF8
-
-=head2 SetMIMEEntityToUTF8 $entity
-
-An utility method which will try to convert entity body into utf8.
-It's now a wrap-up of SetMIMEEntityToEncoding($entity, 'utf-8').
-
-=cut
-
-sub SetMIMEEntityToUTF8 {
-    RT::I18N::SetMIMEEntityToEncoding(shift, 'utf-8');
-}
-
-# }}}
-
-# {{{ SetMIMEEntityToEncoding
-
-=head2 SetMIMEEntityToEncoding $entity, $encoding
-
-An utility method which will try to convert entity body into specified
-charset encoding (encoded as octets, *not* unicode-strings).  It will
-iterate all the entities in $entity, and try to convert each one into
-specified charset if whose Content-Type is 'text/plain'.
-
-This method doesn't return anything meaningful.
-
-=cut
-
-sub SetMIMEEntityToEncoding {
-    my ( $entity, $enc, $preserve_words ) = ( shift, shift, shift );
-
-    #if ( $entity->is_multipart ) {
-    #$RT::Logger->crit("This entity is a multipart " . $entity->head->as_string);
-       SetMIMEEntityToEncoding( $_, $enc, $preserve_words ) foreach $entity->parts;
-    #}
-
-    my $charset = _FindOrGuessCharset($entity) or return;
-    # one and only normalization
-    $charset = 'utf-8' if $charset =~ /^utf-?8$/i;
-    $enc     = 'utf-8' if $enc     =~ /^utf-?8$/i;
-
-    SetMIMEHeadToEncoding(
-       $entity->head,
-       _FindOrGuessCharset($entity, 1) => $enc,
-       $preserve_words
-    );
-
-    my $head = $entity->head;
-
-    # convert at least MIME word encoded attachment filename
-    foreach my $attr (qw(content-type.name content-disposition.filename)) {
-       if ( my $name = $head->mime_attr($attr) and !$preserve_words ) {
-           $head->mime_attr( $attr => DecodeMIMEWordsToUTF8($name) );
-       }
-    }
-
-    # If this is a textual entity, we'd need to preserve its original encoding
-    $head->add( "X-RT-Original-Encoding" => $charset )
-       if $head->mime_attr('content-type.charset') or $head->mime_type =~ /^text/;
-
-
-    return unless ( $head->mime_type =~ qr{^(text/plain|message/rfc822)$}i  );
-    
-
-    my $body = $entity->bodyhandle;
-
-    if ( $enc ne $charset && $body) {
-       my @lines = $body->as_lines or return;
-
-       # {{{ Convert the body
-       eval {
-           $RT::Logger->debug("Converting '$charset' to '$enc' for ". $head->mime_type . " - ". $head->get('subject'));
-
-           # NOTE:: see the comments at the end of the sub.
-           Encode::_utf8_off( $lines[$_] ) foreach ( 0 .. $#lines );
-           Encode::from_to( $lines[$_], $charset => $enc ) for ( 0 .. $#lines );
-       };
-
-       if ($@) {
-           $RT::Logger->error( "Encoding error: " . $@ . " defaulting to ISO-8859-1 -> UTF-8" );
-           eval {
-               Encode::from_to( $lines[$_], 'iso-8859-1' => $enc ) foreach ( 0 .. $#lines );
-           };
-           if ($@) {
-               $RT::Logger->crit( "Totally failed to convert to utf-8: " . $@ . " I give up" );
-           }
-       }
-       # }}}
-
-        my $new_body = MIME::Body::InCore->new( \@lines );
-
-        # set up the new entity
-        $head->mime_attr( "content-type" => 'text/plain' )
-          unless ( $head->mime_attr("content-type") );
-        $head->mime_attr( "content-type.charset" => $enc );
-        $entity->bodyhandle($new_body);
-    }
-}
-
-# NOTES:  Why Encode::_utf8_off before Encode::from_to
-#
-# All the strings in RT are utf-8 now.  Quotes from Encode POD:
-#
-# [$length =] from_to($octets, FROM_ENC, TO_ENC [, CHECK])
-# ... The data in $octets must be encoded as octets and not as
-# characters in Perl's internal format. ...
-#
-# Not turning off the UTF-8 flag in the string will prevent the string
-# from conversion.
-
-# }}}
-
-# {{{ DecodeMIMEWordsToUTF8
-
-=head2 DecodeMIMEWordsToUTF8 $raw
-
-An utility method which mimics MIME::Words::decode_mimewords, but only
-limited functionality.  This function returns an utf-8 string.
-
-It returns the decoded string, or the original string if it's not
-encoded.  Since the subroutine converts specified string into utf-8
-charset, it should not alter a subject written in English.
-
-Why not use MIME::Words directly?  Because it fails in RT when I
-tried.  Maybe it's ok now.
-
-=cut
-
-sub DecodeMIMEWordsToUTF8 {
-    my $str = shift;
-    DecodeMIMEWordsToEncoding($str, 'utf-8');
-}
-
-sub DecodeMIMEWordsToEncoding {
-    my $str = shift;
-    my $enc = shift;
-
-   
-    @_ = $str =~ m/([^=]*)=\?([^?]+)\?([QqBb])\?([^?]+)\?=([^=]*)/g;
-
-    return ($str) unless (@_);
-
-    $str = "";
-    while (@_) {
-       my ($prefix, $charset, $encoding, $enc_str, $trailing) =
-           (shift, shift, shift, shift, shift);
-
-        $trailing =~ s/\s?\t?$//;               # Observed from Outlook Express
-
-       if ($encoding eq 'Q' or $encoding eq 'q') {
-           use MIME::QuotedPrint;
-           $enc_str =~ tr/_/ /;                # Observed from Outlook Express
-           $enc_str = decode_qp($enc_str);
-       } elsif ($encoding eq 'B' or $encoding eq 'b') {
-           use MIME::Base64;
-           $enc_str = decode_base64($enc_str);
-       } else {
-           $RT::Logger->warning("RT::I18N::DecodeMIMEWordsToCharset got a " .
-                             "strange encoding: $encoding.");
-       }
-
-       # now we have got a decoded subject, try to convert into the encoding
-       unless ($charset eq $enc) {
-           eval { Encode::from_to($enc_str, $charset,  $enc) };
-           if ($@) {
-               $charset = _GuessCharset( $enc_str );
-               Encode::from_to($enc_str, $charset, $enc);
-           }
-       }
-
-        # XXX TODO: RT doesn't currently do the right thing with mime-encoded headers
-        # We _should_ be preserving them encoded until after parsing is completed and
-        # THEN undo the mime-encoding.
-        #
-        # This routine should be translating the existing mimeencoding to utf8 but leaving
-        # things encoded.
-        #
-        # It's legal for headers to contain mime-encoded commas and semicolons which
-        # should not be treated as address separators. (Encoding == quoting here)
-        #
-        # until this is fixed, we must escape any string containing a comma or semicolon
-        # this is only a bandaid
-
-        $enc_str = qq{"$enc_str"} if ($enc_str =~ /[,;]/);                                     
-       $str .= $prefix . $enc_str . $trailing;
-    }
-
-    return ($str)
-}
-
-# }}}
-
-# {{{ _FindOrGuessCharset
-
-=head2 _FindOrGuessCharset MIME::Entity, $head_only
-
-When handed a MIME::Entity will first attempt to read what charset the message is encoded in. Failing that, will use Encode::Guess to try to figure it out
-
-If $head_only is true, only guesses charset for head parts.  This is because header's encoding (e.g. filename="...") may be different from that of body's.
-
-=cut
-
-sub _FindOrGuessCharset {
-    my $entity = shift;
-    my $head_only = shift;
-    my $head = $entity->head;
-
-    if ($head->mime_attr("content-type.charset")) {
-       return $head->mime_attr("content-type.charset");
-    }
-
-    if ( !$head_only and $head->mime_type =~ m{^text/}) {
-       my $body = $entity->bodyhandle or return;
-       return _GuessCharset( $body->as_string );
-    }
-    else {
-       # potentially binary data -- don't guess the body
-       return _GuessCharset( $head->as_string );
-    }
-}
-
-# }}}
-
-# {{{ _GuessCharset
-
-=head2 _GuessCharset STRING
-
-use Encode::Guess to try to figure it out the string's encoding.
-
-=cut
-
-sub _GuessCharset {
-    my $fallback = 'iso-8859-1';
-    my $charset;
-
-    if ( @RT::EmailInputEncodings and eval { require Encode::Guess; 1 } ) {
-       Encode::Guess->set_suspects(@RT::EmailInputEncodings);
-       my $decoder = Encode::Guess->guess( $_[0] );
-
-       if ( ref $decoder ) {
-           $charset = $decoder->name;
-           $RT::Logger->debug("Guessed encoding: $charset");
-           return $charset;
-       }
-       elsif ($decoder =~ /(\S+ or .+)/) {
-           my %matched = map { $_ => 1 } split(/ or /, $1);
-           return 'utf-8' if $matched{'utf8'}; # one and only normalization
-
-           foreach my $suspect (@RT::EmailInputEncodings) {
-               next unless $matched{$suspect};
-               $RT::Logger->debug("Encode::Guess ambiguous ($decoder); using $suspect");
-               $charset = $suspect;
-               last;
-           }
-       }
-       else {
-           $RT::Logger->warning("Encode::Guess failed: $decoder; fallback to $fallback");
-       }
-    }
-    else {
-       $RT::Logger->warning("Cannot Encode::Guess; fallback to $fallback");
-    }
-
-    return($charset || $fallback);
-}
-
-# }}}
-
-# {{{ SetMIMEHeadToEncoding
-
-=head2 SetMIMEHeadToEncoding HEAD OLD_CHARSET NEW_CHARSET
-
-Converts a MIME Head from one encoding to another. This totally violates the RFC.
-We should never need this. But, Surprise!, MUAs are badly broken and do this kind of stuff
-all the time
-
-
-=cut
-
-sub SetMIMEHeadToEncoding {
-    my ( $head, $charset, $enc, $preserve_words ) = ( shift, shift, shift, shift );
-
-    $charset = 'utf-8' if $charset eq 'utf8';
-    $enc     = 'utf-8' if $enc     eq 'utf8';
-
-    return if $charset eq $enc and $preserve_words;
-
-    foreach my $tag ( $head->tags ) {
-        next unless $tag; # seen in wild: headers with no name
-        my @values = $head->get_all($tag);
-        $head->delete($tag);
-        foreach my $value (@values) {
-            if ( $charset ne $enc ) {
-
-                eval {
-                    Encode::_utf8_off($value);
-                    Encode::from_to( $value, $charset => $enc );
-                };
-                if ($@) {
-                    $RT::Logger->error( "Encoding error: " . $@
-                                       . " defaulting to ISO-8859-1 -> UTF-8" );
-                    eval { Encode::from_to( $value, 'iso-8859-1' => $enc ) };
-                    if ($@) {
-                        $RT::Logger->crit( "Totally failed to convert to utf-8: " . $@ . " I give up" );
-                    }
-                }
-            }
-            $value = DecodeMIMEWordsToEncoding( $value, $enc ) unless $preserve_words;
-            $head->add( $tag, $value );
-        }
-    }
-
-}
-# }}}
-
-eval "require RT::I18N_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/I18N_Vendor.pm});
-eval "require RT::I18N_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/I18N_Local.pm});
-
-1;  # End of module.
-
diff --git a/rt/lib/RT/I18N/cs.pm b/rt/lib/RT/I18N/cs.pm
deleted file mode 100644 (file)
index 10ece32..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::I18N::cs;
-
-# # CZECH TRANSLATORS COMMENTS see Locale::Maketext::TPJ13
-# Obecne parametry musi byt docela slozite (v pripade Slavistickych jazyku)
-# typu pocet, slovo, pad a rod 
-#
-#pad 1., rod muzsky:
-#0 krecku
-#1 krecek
-#2..4 krecci
-#5.. krecku (nehodi se zde resit pravidlo mod 1,2,3,4 krom mod 11,12,13,14)
-#
-#0 kabatu
-#1 kabat
-#2..4 kabaty
-#5 kabatu
-#
-# => Vyplati se udelat quant s parametry typu pocet, slovo1, slovo2..4, slovo5 a slovo0
-#
-
-sub quant {
-  my($handle, $num, @forms) = @_;
-
-  return $num if @forms == 0; # what should this mean?
-  return $forms[3] if @forms > 3 and $num == 0; # special zeroth case
-
-  # Normal case:
-  # Note that the formatting of $num is preserved.
-  #return( $handle->numf($num) . ' ' . $handle->numerate($num, @forms) );
-  return( $handle->numerate($num, @forms) );
-   # Most human languages put the number phrase before the qualified phrase.
-}
-
-
-sub numerate {
- # return this lexical item in a form appropriate to this number
-  my($handle, $num, @forms) = @_;
-  my $s = ($num == 1);
-
-  return '' unless @forms;
-  return
-   $s ? $forms[0] :
-   ( $num > 1 && $num < 5 ) ? $forms[1] :
-   $forms[2];
-}
-
-#--------------------------------------------------------------------------
-
-sub numf {
-  my($handle, $num) = @_[0,1];
-  if($num < 10_000_000_000 and $num > -10_000_000_000 and $num == int($num)) {
-    $num += 0;  # Just use normal integer stringification.
-         # Specifically, don't let %G turn ten million into 1E+007
-  } else {
-    $num = CORE::sprintf("%G", $num);
-     # "CORE::" is there to avoid confusion with the above sub sprintf.
-  }
-  while( $num =~ s/^([-+]?\d+)(\d{3})/$1,$2/s ) {1}  # right from perlfaq5
-   # The initial \d+ gobbles as many digits as it can, and then we
-   #  backtrack so it un-eats the rightmost three, and then we
-   #  insert the comma there.
-
-  $num =~ tr<.,><,.> if ref($handle) and $handle->{'numf_comma'};
-   # This is just a lame hack instead of using Number::Format
-  return $num;
-}
-
-1;
diff --git a/rt/lib/RT/I18N/cs.po b/rt/lib/RT/I18N/cs.po
deleted file mode 100644 (file)
index 224a316..0000000
+++ /dev/null
@@ -1,5760 +0,0 @@
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 3.2.2\n"
-"POT-Creation-Date: 2002-05-02 11:36+0800\n"
-"PO-Revision-Date: 2005-01-21 00:00+0100\n"
-"Last-Translator: Jan Okrouhly <okrouhly@civ.zcu.cz>\n"
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "#%1"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %3.%2.%7 %4:%5:%6"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 přidáno"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "- %1 %2"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 změněno na %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 smazáno"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 se vzorem %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 tento požadavek\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""%1 (%2) vytvořil %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (Nezměněn)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "%1. až %2. zobrazený"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - argument k předání %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Výstupní stav jde do STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Jaký akční modul chcete použít"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Jaký podmínkový modul chcete použít"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Jaký vyhledávací modul chcete použít"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "ScripAction %1 nahrána"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 přidáno jako hodnota pro %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1 aliasy vyžadují k činnosti TicketId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1 aliasy vyžadují k činnosti TicketId (odesílatel %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 vypadá jako lokální objekt, ale není v databázi"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 uživatelem %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 změněno z %2 na %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "kopie %1"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 nemůže být nastaveno na %2."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 nemůže začít transakci (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 nemůže nastavit stav na vyřešen. RT databáze může být nekonzistentní."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "%1 nejdůležitějších požadavků, které vlastním"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 nejdůležitějších požadavků, které žádám..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 je nástroj zpracující požadavky z vnějšího plánovacího nástroje jako je cron"
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 již není %2 této fronty."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 již není %2 tohoto požadavku."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 již není hodnotou uživatelské položky %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 není platným identifikátorem fronty."
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 %quant(%1,minuta,minuty,minut,minut)"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "%1 nejnovějších nevlastněných požadavků"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 nezobrazeno"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "práva %1"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 provedeno\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "typ %1 neznámý pro $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "typ %1 neznámý pro %2"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 vyřeší všechny členy skupiny vyřešeného požadavku."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 odloží [místní] BÁZI, je-li závislá [či členem] na spjatém požadavku."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "uložené dotazy %1"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: neudána příloha"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1 B"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1 kB"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "%1 je neplatnou hodnotou pro stav"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "%1 je neznámá akce."
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Zatrhněte pro smazání scripu)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Zatrhněte pro smazání)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Zatrhněte pro zakázání upozorňování uvedených příjemců)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Zatrhněte pro povolení upozorňování uvedených příjemců)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Zadejte identifikátory či URL požadavku, oddělené mezerami)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Pro prázdné pole se použije %1)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Žádné uživatelské položky)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Žádní členové)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "Žádné scripy"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Žádné vzory)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Zašle skrytou kopii této aktualizace čárkami oddělenému seznamu e-mail adres. <b>Neovlivňuje</b> příjemce budoucích aktualizací.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Zašle skrytou kopii této aktualizace čárkami oddělenému seznamu e-mail adres. <b>Neovlivňuje</b> příjemce budoucích aktualizací.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Zašle kopii této aktualizace čárkami oddělenému seznamu e-mail adres. Tito lidé <b>budou</b> dostávat budoucí aktualizace.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Zašle kopii této aktualizace čárkami oddělenému seznamu e-mail adres. <b>Nemění</b> příjemce budoucích aktualizací"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Zašle kopii této aktualizace čárkami oddělenému seznamu e-mail adres. <b>Neovlivňuje</b> příjemce budoucích aktualizací.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Zašle kopii této aktualizace čárkami oddělenému seznamu e-mail adres. Tito lidé <b>budou</b> dostávat budoucí aktualizace.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(Použijte tyto formuláře v případě výběru Uživatelen definované podmínky či akce)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(prázdná)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "žádné jméno nebylo vypsáno"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(bez předmětu)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(bez hodnoty)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr ""
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(jen jeden požadavek)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(očekávájící schválení)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(probíhá jiná Sbírka)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(jiné očekávající požadavky)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(povinné)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(nepojmenováno)"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr ""
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Nový požadavek v\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Prázdný vzor"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE nenalezeno"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACE mohou být jen vytvářeny nebo rušeny."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Přerušeno k zamezení nežádoucích změn požadavku.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "O mně"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Řízení přístupu"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Akce"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Akce %1 nenalezena"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Akce provedena."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Akce připravena..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Přidat"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Přidat AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Přidat Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Přidat podmínku"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Přidat další soubory"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Přidat Žadatele"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Přidat hodnotu"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Přidat nový globální scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Přidat scrip k této frontě"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Přidat scrip do všech front"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "Přidat dodatečnou podmínku"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Přidat komentáře či odpovědi k vybraným požadavkům"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Přidat členy"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Přidat nové pozorovatele"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "PřidatDalšíStav"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Uživatel přidán do této fronty jako %1"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Uživatel přidán k tomuto požadavku jako %1"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Adresa1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Adresa2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Administrativní komentář"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Administrativní korespondence"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Správa/Front"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Správa/Uživatelů"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Správa/Globální konfigurace"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Správa/Skupin"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Správa/Front/Základních údajů"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "Spravovat všechny osobní skupiny"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "AdminComment"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "AdminCorrespondence"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "Spravovat uživatelem definované položky"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "Spravovat skupinu"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "Spravovat členství ve skupinách"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "Spravovat vlastní osobní skupiny"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "Spravovat frontu"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "Spravovat uživatele"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Administrativní Cc"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Pokročilé"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Pokročilé Vyhledávání"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Po"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Stáří"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Všechna schvalování prošla"
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Všechny uživatelské položky"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Všechny Fronty"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Vždy posílá zprávu žadatelům nezávisle na odesílateli"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Provést"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Provést změny"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Schvalování"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Schválení #%1: $2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Schválení #$1: Poznámky neuloženy kvůli systémové chybě"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Schválení #%1: Poznámky uloženy"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Detaily schválení"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Schvalování prošlo"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Schvalování odmítnuto"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Schvalovací diagram"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Schválit"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Poznámky schvalovatele: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "dub"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Vzestupně"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Přiložit"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Připojit soubor"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Připojený soubor"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Příloha '%1' nemůže být nahrána"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Příloha vytvořena"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Jméno souboru přílohy"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Přílohy"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Atribut smazán"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "srp"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "AuthSystem"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Automatická odpověď"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Automaticky odpověz žadatelům"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "Automatická odpověď žadatelům"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Columns"
-msgstr "Dostupné položky"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Chybná PGP signatura: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Chybný identifikátor přílohy. Nelze nalézt přílohu'%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Chybná data v %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Chybné číslo transakce u přílohy. %1 má být %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Základní údaje"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Neopomeňte uložit vaše změny"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Před"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Začátek schvalování"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Prázdný"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "Uložitelný odkaz"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Zkrácené hlavičky"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Hromadná úprava požadavků"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Nelze měnit systémové uživatele"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Může tento uživatel vidět tuto frontu"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Uživatelské položce nelze přidat hodnotu beze jména"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Nelze nalézt uložený dotaz ke zpracování"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Požadavek nelze svázat se sebou samým"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Nelze sloučit do sloučeného požadavku. To by se vám nemělo nikdy stát."
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Tento dotaz nelze uložit"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Nelze zadat zároveň zdroj i cíl"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Nelze vytvořit uživatele: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Změna hesla"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Zašrtnutím odstraníte"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Zatrhněte k odebrání práva"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Potomci"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Město"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Vyřešeno"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "Uzavřené požadavky"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Uzavřené požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Neznámý příkaz!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Komentovat"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Adresa pro komentáře"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Komentář nezaznamenán"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Komentovat požadavky"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "Komentovat požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Poznámky"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Komentář (Neposílá se žadatelům)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Komentář (nepošle se žadatelům)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Poznámky o %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Poznámky o tomto uživateli"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Komentáře přidány"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Commit v zárodku"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Omezení překladu"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Podmínka"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Podmínky splněny..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Podmínka nenalezena"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Správa"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Potvrzení"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "Kontaktní informační systém"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Datum kontaktu '%1' nemůže být rozpoznáno"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Obsah"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Kopírovat"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Korespondence"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Adresa pro korespondenci"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Korespondence zaznamenána"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Korespondence nebyla zaznamenána"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Nelze přidat novou hodnotu uživatelské položky požadavku. "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Nelze změnit vlastníka. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Nelze vytvořit Uživatelskou položku"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Nelze vytvořit skupinu"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Nelze vytvořit vzor: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Nelze vytvořit požadavek. Nenastavena fronta"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Nelze vytvořit uživatele"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Nelze nalézt požadavek s identifikátorem %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Nelze nalézt skupinu %1."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Tohoto uživatele nelze nalézt nebo vytvořit"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Nelze naléze tohoto uživatele"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Nelze nalézt uživatele %1."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Nelze načíst skupinu"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Tento uživatel nemůže být %1 této fronty"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Tento uživatel nemůže být %1 tohoto požadavku"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Tento uživatel nemůže být odstraněn jako %1 této fronty"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Tento uživatel nemůže být odstraněn jako %1 tohoto požadavku"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Nelze nastavit uživatelské informace"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Do skupiny nelze přidat člena"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Nelze vytvořit transakci: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Nelze zjistit co dělat s gpg odpovědí\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Skupinu nelze nalézt\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Nemohu nalézt sloupec"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Tohoto uživatele nelze nalézt"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Tuto hodnotu nelze nalézt"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Uživatele nelze nalézt\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Z uživatelské databáze nelze načíst %1.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Konfigurační soubor RT '%1'nelze načíst %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Scripy nelze načíst."
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Skupinu %1 nelze načíst"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Vazbu nelze načíst"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr ""
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Frontu nelze načíst"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Frontu %1 nelze načíst"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Scrip nelze načíst"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Vzor nelze načíst"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Uživatele (%1) nelze načíst"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Požadavek '%1' nelze načíst"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Země"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Vytvořit"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Vytvořit požadavky"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Vytvořit uživatelskou položku"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Vytvoření uživatelské položky pro frontu %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Vytvoření uživatelské položky pro všechny front"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Vytvořit novou uživatelskou položku"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Vytvořit nový globální scrip"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Vytvořit novou skupinu"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Vytvořit novou vlastní skupinu"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Vytvořit novou frontu"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Vytvořit nový scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Vytvořit nový vzor"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Vytvoření nového požadavku"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Vytvořit nového uživatele"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Vytvořit frontu"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Vytvořit frontu nazvanou"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Vytvořit požadavek"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Vytvořit scrips pro frontu %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Vytvořit vzor"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Vytvořit požadavek"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Vytvářet požadavky podle toho vzoru scripu"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Vytvořit požadavek"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Vytvářet požadavky v této frontě"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Vytvářet, mazat a měnit uživatelen definované položky"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Vytvářet, mazat a měnit fronty"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Vytvářet, mazat a měnit členy uživatelských osobních skupin"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Vytvářet, mazat a měnit členy osobních skupin"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Vytvářen, mazat a měnit uživatele"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "Vytvořit požadavek"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Vytvořeno"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Uživatelská položka %1 vytvořena"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Vzor %1 vytvořen"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Tvůrce"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Aktuální relace"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Aktuální scripy"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Aktuální členové"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Aktuální práva"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Aktuální vyhledávací podmínky"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Aktuální pozorovatelé"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Uživatelská položka #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Uživatelské položky"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Čistící kód uživatelské akce"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Přípravný kód uživatelské akce"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Uživatelská podmínka"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Užitavelská položka %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Uživatelská položka %1 má hodnotu."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Uživatelská položka %1 nemá hodnotu."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Uživatelská položka %1 nenalezena"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Uživatelská položka smazána"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Uživatelská položka nenalezena"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Hodnota %1 nemůže být nalezena v uživatelské položce %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Hodnota uživatelské položky změněna z %1 na %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Hodnota uživatelské položky nemůže být smazána"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Hodnota uživatelské položky nemůže být nalezena"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Hodnota uživatelské položky smazána"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "Uživatelská položka"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Datumy"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "pro"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Implicitní vzor automatické odpovědi"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Implicitní fronta"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Implicitní žadatel"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Implicitní vzor administrativního komentáře"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Implicitní vzor administrativní korespondence"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Implicitní korespondenční vzor"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Implicitní transakční vzor"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Defaulní: %1/%2 změněno z %3 na %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Delegovat práva"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Delegovat specifická práva, která vám byla poskytnuta."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "Delegovat práva"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Pověření"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Smazat"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Smazat vzor"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Smazat vybrané scripy"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Mazat požadavky"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "Smazat požadavek"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Smazání tohoto objektu mohlo porušit referenční integritu"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Smazání tohoto objektu by mohlo porušit referenční integritu"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Smazání tohoto objektu by mohlo narušit referenční integritu"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Zamítnout"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Je rekvizitou pro"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Závistlosti: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Přidána závislost %1"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Závislost %1 smazána"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Přidána závislost na %1"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Závislost na %1 smazána"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Závisející na"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Sestupně"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Popište případ níže"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Popis"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Podrobnosti"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Zobrazit"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Zobrazit přístupová práva"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Zobrazované položky"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Zobrazovat scrips vzory pro tuto frontu"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Zobrazovat scripy pro tuto frontu"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Režim zobrazení"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "Zobraz uložené dotazy pro tuto skupinu"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "Šířeno pod verzí 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> GNU GPL.</a>"
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Dělat cokoli a všechno"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Neobčerstvovat tuto stránku."
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Stáhnout"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Termín dokončení"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Datum termínu dokončení '%1' nemůže být rozpoznán"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "CHYBA: Nelze načíst požadavek '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Upravit"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Upravit uživatelské položky pro %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Upravit relace"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Upravit dotaz"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Upravit vzory pro frontu %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Úprava systémových vzorů"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Upravit vzory pro %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "Upravit Uložené Dotazy"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Úprava konfigurace pro frontu %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Úprava konfigurace pro uživatele %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Úprava uživatelské položky %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Úprava členství ve skupině %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Úprava členství ve vlastní skupině %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Úprava vzoru %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Zdroj či cíl musí být zadány"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Email"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Email adresa je použita"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "Email adresa"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "Kódování emailu"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Povolena (zrušením zatrhnutí zablokujete tuto uživatelskou položky)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Povolena (zrušením zatrhnutí zablokujete tuto skupinu)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Povoleno (zrušení zatrhnutí zablokuje tuto frontu)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Povolené uživatelské položky"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Povolené fronty"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Povolen stav %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Vyplnit více hodnot"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Zadejte objekty či URI k provázání. Více položek oddělujte mezerami."
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Vyplnit jednu hodnotu"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Zadejte fronty či URI k provázání. Více položek oddělujte mezerami."
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Zadejte požadavky či URI k provázání. Více položek oddělujte mezerami."
-
-#: NOT FOUND IN SOURCE
-msgid "Enter tickets or URIs to link tickets to. Seperate multiple entries with spaces."
-msgstr "Zadejte požadavky či URI se nimiž požadavky svázat. Oddělte více položek mezerami."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Chyba"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Chyba v parametrech do Queue->AddWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Chyba v parametrech do Queue->DeleteWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Chyba v parametrech do Ticket->AddWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Chyba v parametrech do Ticket->DeleteWatcher"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Eskalovat požadavky"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Odhadovaný"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Kdokoli"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Příklad:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "Identifikátor externí autentizace"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "Identifikátor externího kontaktu"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Doplňkové údaje"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Nepovedlo se nalézt uživatele 'Privilegované' pseudoskupiny."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Nepovedlo se nalézt uživatele 'Neprivilegované' pseudoskupiny"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Nepovedlo se nahrát modul %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "úno"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Název souboru"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Kon"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Koncová priorita"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "Koncová priorita"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Najít skupiny které"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Najít nové/otevřené požadavky"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Najít ty, jejichž"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Nalézt požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Záverečné schválení"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "První"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "První stránka"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Vynutit změnu"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Nalezen%quant(%1,,y,o) %numf(%1) %quant(%1,požadavek,požadavky,požadavků)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Nalezen objekt"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "Kontaktní údaje ve volné podobě"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "Volná forma vícenásobně"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "Volná formu jedinkrát"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "pá"
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Celé hlavičky"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Vzít vzor ze souboru"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Dán %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Globální"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Globální vzor: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Provést"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Spusť!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Správný PGP podpis od %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Přejít na stránku"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Přejít na požadavek"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Skupina"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Skupina %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Práva skupiny"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Skupina již má člena"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Skupina nemůže být založena: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Skupina vytvořena"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Skupina nemá takového člena"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Skupina nenalezena"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Skupina nenalezena.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Skupina neudána.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Skupiny"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Skupiny nemohou být svými členy"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Ahoj!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Ahoj, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historie"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "Telefon domů"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Domovská stránka"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Mám %quant(%1,míchačka,míchačky,míchaček)"
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "I have [quant,_1,concrete mixer]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#msgstr "Mám [quant,_1,Míchačku na beton,Míchačky na beton,Míchaček na beton]."
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Identifikátor"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identita"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Odmítni původce a zruš stávající schválení, bylo-li zamítnuto schválení"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "Nebyl-li zadán Žadatel, vytvářej požadavky jako tento žadatel"
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Nebyla-li zadána fronta, vytvářej požadavky v této frontě"
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Byl-li tento nástroj setgid, místní uživatel jej mohl použit k získaní administrativního přístupu k RT"
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Pokud jste změnili cokoli nahoře, nezapomeňte"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Neplatná hodnota pro %1"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Neměnitelná položka"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Zahrnout do výpisu blokované uživatelské položky"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Zahrnout blokované skupiny ve výpisu."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Zahrnout blokované fronty do výpisu."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Zahrnout blokované uživatele do vyhledávání."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Počáteční priorita"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "Počáteční priorita"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Chyba na vstupu"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Vnitřní chyba"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Vnitřní chyba: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Neplatný typ skupiny"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Neplatné právo"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Neplatná data"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Neplatný vlastník. Použije se 'nobody'."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Neplatná fronta"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Neplatné právo"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Neplatná hodnota pro %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Neplatná hodnota pro uživatelskou položku"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Neplatná hodnota pro stav"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Je velmi důležité, aby neprivilegovaní uživatelé nemohli spustit tento nástroj."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Pro spuštění tohoto nástroje se doporučuje založení neprivilegovaného UNIX uživatele se správným skupinovým členstvím a přístupem do RT."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Používá několik parametrů:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Věci očekávající mé schválení"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "led"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Přidat se či odebrat z této skupiny"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "čec"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Maxi"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "čen"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Klíčové slovo"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Jazyk"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Jazyk"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Poslední"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Poslední kontakt"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Naposled kontaktován"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Naposled upozorněn"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Naposled aktualizován"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "NaposledAktualizoval(a)"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Zbývá"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Umožnit tomuto uživateli přístup k RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Umožnit dávat tomuto uživateli práva"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Vlastník omezen na %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Fronta omezena na %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Vazba již existuje"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Vazba nemůže být vytvořena"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Vazba vytvořena (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Vazba zrušena (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Vazba nenalezena"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Svázat požadavek #%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Vazby"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Načíst"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Načíst uložený dotaz:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Načtené perlovské moduly"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Umístění"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Záznamový adresář %1 nenalezen nebo doň nemůže být zapisováno.\\ RT nemůže běžet."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Přihlášen jako %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Přihlásit"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Odhlásit"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Nastavit vlastníka"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Nastavit stav"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Nastavit datum termínu dokončení"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Nastavit datum vyřešení"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Nastavit datum, kdy začal"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Nastavit datum, kdy začne"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Nastavit datum posledního kontaktu"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Nastavit prioritu"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Nastavit frontu"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Nastavit předmět"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Správa skupin a členství v nich"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Správa vlastností a konfigurací platných ve všech frontách"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Správa front a jim příslušných vlastností"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Správa uživatelů a hesel"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "bře"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "kvě"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Člen %1 přidán"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Člen %1 odebrán"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Člen přidán"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Člen odebrán"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Člen neodebrán"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Člen"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Členové"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Členství v %1 přidáno"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Členství v %1 zrušeno"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Sloučení úspěšné"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Sloučení se nepodařilo. Nelze nastavit EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Sloučit do"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Sloučen do %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Zpráva"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "Zpráva nemůže být zaznamenána"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Zpráva zaznamenána"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "Zprávy o tomto požadavku NEBUDOU zaslány na..."
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Chybí primární klíč?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Mobilní telefon"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "Mobilní telefon"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Upravovat seznam přístupových práv"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Upravit uživatelskou položku %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Úprava uživatelských položek pro všechny fronty"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Úprava skupinových práv"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Upravit členy"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Upravit práva"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Upravovat vzory scripů této fronty"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Upravovat scripů této fronty"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Upravovat vzor %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Upravit práva uživatelů"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Upravovat uživatelskou položku pro frontu %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Upravovat uživatelskou položku pro všechny fronty"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Upravovat scrip pro frontu %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Upravovat scrip platný ve všech frontách"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Upravit datumy pro #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Úprav datumů pro požadavek # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Úprava globálních skupinových práv"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Úprava globálních skupinových práv."
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Úprava globálních scrips"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Úprava globálních uživatelských práv"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Úprava globálních uživatelských práv."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Upravovat metadata skupiny nebo smazat skupinu"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Úprava skupinových práv pro %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Úprava skupinových práv pro frontu %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Upravovat seznam členů pro tuto skupinu"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Upravovat vlastní RT účet"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Úprava uživatelů fronty %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Úprava uživatelů souvisejících s požadavkem #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Úprava scrips pro frontu %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Upravovat scripy platné ve všech frontách"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Úprava vzoru %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Upravit vzory pro všechny fronty"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Úprava skupiny %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Upravovat pozorovatele fronty"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Úprava uživatele %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Úprava požadavku # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Úprava požadavku #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Upravovat požadavky"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Úprava uživatelských práv pro skupinu %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Úprava skupinových práv pro frontu %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Úprava pozorovatelů fronty '%1'"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "Upravovat seznam přístupových práv"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "Upravovat členství ve skupině"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "Upravovat pozorovale fronty"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "Upravovat scripy"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "Upravovat sebe"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "Upravovat vzor"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "Upravovat požadavek"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "po"
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Více o %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Dát níže"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Dát výše"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Vícenásobná"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Nutno zadat atribut 'Jméno'"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "Mé požadavky ve stavu %1"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Mnou schválené"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Mnou schválené"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Mé uložené dotazy"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Jméno"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Jméno je použito"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Je třeba schválení systémového správce"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Nikdy"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Nové"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nové relace"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nové heslo"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Nová probíhající schválení"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Nový dotaz"
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Nové vyhledávání"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Vytvořit uživatelskou položku"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Založit skupinu"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nové heslo"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Oznámení nového hesla zasláno"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Vytvoření fronty"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Nový požadavek"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nová práva"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Vytovření scripu"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Nové vyhledání"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Vytvořit vzor"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Nový požadavek"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Nový požadavek neexistuje"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Vytvořit uživatele"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Nový uživatel jména"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Nový pozorovatel"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Nové nastavení okna"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Další"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Další stránka"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Další stránka"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Přezdívka"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Přezdívka"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Žádná uživatelská položka"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Nedefinována žádná skupina"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Prázdný dotaz"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Nedefinována žádná fronta"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Žádný uživatel RT nenalezen. Prosím poraďte se se správcem RT.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Žádný vzor"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Neudán požadavek. Přerušuje se požadavek "
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Neudán požadavek. Přerušují se úpravy požadavku\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "bez akce"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Neudán sloupec"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Příkaz nenalezen\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Poznámky k tomuto uživateli neudány"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Žádná připojená korespondence"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Pro %1 není popis"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Neudána skupina"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "Zpráva nepřipojena"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Heslo nenastaveno"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Nedostatek práv k vytváření front"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Nedostatek práv k vytváření požadavků ve frontě '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Nedostatek práv k vytváření uživatelů"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Nedostatek práv k zobrazení tohoto požadavku"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Nedostatek práv k zobrazení aktualizace požadavku"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Nezadán uživatel"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Nevybráni uživatelé."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Nenalezeny žádné fronty odpovídající vyhledávací podmínce."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Práva nenalezena"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Nepřidělena žádná práva."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Bez vyhledání nelze pracovat."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Žádný předmět"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Neudán identifikátor požadavku"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Neudán typ transakce"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Nenalezeni uživatelé odpovídající vyhledávací podmínce"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Nenalezen platný uživatel RT. Ovladač RT CVS uvolněn. Prosím poraďte se se svým správcem RT.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Žádná z hodnot nanastavena na _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Nikdo"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Neexistující položka"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Nepřihlášen"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Nepřihlášen."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Nenastaven"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Zatím neimplementováno."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Zatím neimplementováno..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Poznámky"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Upozornění nemůže být zasláno"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Zaslat všem AdminCc"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Zaslat všem AdminCc jako komentář"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "Upozornit Ccs"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "Upozornit Ccs jako komentář"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Zaslat ostatním příjemcům"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Zaslat ostatním příjemcům jako komentář"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Zaslat vlastníkovi"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Zaslat vlastníkovi jako komentář"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "/"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Zaslat vlastníkům a všem AdminCc nové případy očekávající jejich schválení"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Zaslat žadatelům"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Zaslat žadatelům a všem Cc"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Zaslat žadatelům a všem Cc jako komentář"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Zaslat žadatelům, všem Cc a všem AdminCc"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Zaslat žadatelům, včem Cc a včem AdminCc jako komentář"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "lis"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Objekt nemůže být vytvořen"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objekt vytvořen"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "říj"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Off-line"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Úpravy off-line"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Off-line načtení"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "Dne"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Při komentáři"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Při korespondenci"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Při založení"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Při změně vlastníka"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "Při změně priority"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Při změně fronty"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Při vyřešení"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Při změně stavu"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Při transakci"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Zobrazit jen schvalování pro požadavky založené po %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Zobrazit jen schvalování pro požadavky založení před %quant(%1)"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Otevřené"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Otevřít"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Otevřené požadavky"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Otevřené požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Otevřít požadavky (ze seznamu) v novém okně"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Otevřít požadavky (ze seznamu) v jiném okně"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Otevřít požadavky při korespondenci"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Řadit podle"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Řazení a třídění"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organizace"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Původní požadavek: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Odchozí zpráva o komentáři zaznamenána"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Odchozí zpráva zaznamenána"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Časem se priorita posouvá k"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Vlastnit požadavky"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "Vlastnit požadavek"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Vlastník"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Vlastník změněn z %1 na %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "Vlastník nemůže být nastaven."
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Vlastník nuceně změněn z %1 na %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Vlastník"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Stránka %1 z %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Pager"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Číslo pageru"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Rodiče"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Heslo"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Připomínač hesel"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Heslo příliš krátké"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Heslo: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Hesla nesouhlasí."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Hesla nesouhlasí. Vaše heslo nebylo změněno"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Uživatelé"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Provedení uživatelem definované akce"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Konfigurace Perlu"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Přístup nepovolen"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Osobní skupiny"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Vlastní skupiny"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Vlastní skupiny:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Čísla telefonů"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Zábor místa"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Nastavení"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Nastavení"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Prepare v zárodku"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Předchozí"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Předchozí stránka"
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Předchozí stránka"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Uživatel %1 nenalezen."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Priorita"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Priorita začíná na"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Vlastní:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Privilegovaný"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Privilegovaný stav: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Privilegovaní uživatelé"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudo skupina pro vnitřní použití"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Dotaz"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Tvůrce dotazu"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Fronta"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Fronta %1 nenalezena"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Fronta '%1' nenalezena\\n"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Název fronty"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Scripy fronty"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Fronta již existuje"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Fronta nemůže být vytvořena"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Fronta nemůže být načtena."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Fronta vytvořena"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Není zadána fronta."
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Fronta nenalezena"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Fronty"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Rychlé hledání"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Rychlé založení požadavku"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 pro %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 od <a href=\"http://bestpractical.com\">Best Practival Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Správa RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "Autentizační chyba RT."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT Bounce: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "Konfigurační chyba RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "Kritická chyba RT. Zpráva nezaznamenána!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Chyba RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT přijal poštu (%1) od sebe samého."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT Samoobsluha / Uzavřené požadavky"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "Proměnné RT"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT v celé své záři"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT vás nemůže autentizovat"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT nemůže nalézt žadatele přes hledání v externí databázi"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT nemůže nalézt frontu: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT nemůže ověřit tento PGP podpis. \\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT pro %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT pro %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT zpracoval vaše příkazy"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT je &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;. Šířeno pod <a href=\"http://www.gnu.org/copyleft/gpl.html\">verzí 2 GNU General Public License.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT bere tuto zprávu jako bounce"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT zpracuje tuto zprávu tak, jako by byla nepodepsaná.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "Emailový příkazový režim RT vyžaduje PGP autentizaci. Nepodepsal jste vaši zprávu nebo váš podpis nemůže být ověřen."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Skutečné jméno"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "Skutečné jméno"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Přidán odkaz z %1"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Smazán odkaz z %1"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Přidán odkaz na %1"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Smazán odkaz na %1"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Je odkazem z"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Odkazuje na"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Zjemnit"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Zjemnit vyhledání"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Obnovit tuto stránku %quant(%1,každou,každé,každých) %numf(%1) %quant(%1,minutu,minuty,minut)."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Odstranit AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Odstranit Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Odstranit žadatele"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Odpovědět"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Adresa pro odpověď"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Odpověď žadatelům"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Odpovědět na požadavky"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "Odpovídat na požadavky"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Žadatel"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Emailová adresa žadatele"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Žadatel(é)"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Žadatelé"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Požadavky mají být vyřešeny do"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Povinný parametr '%1' neudán"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Vynulovat"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Bydliště"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Vyřešit"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Vyřešení požadavku #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Vyřešen"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Odpověď žadatelům"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Výsledky"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Výsledků na stránku"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Zopakujte heslo"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Vrátit"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Nenalezeno právo %1 pro %2 %3 v mezích %4 (%5)"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Právo delegováno"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Práva přidána"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Právo načteno"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Právo nemůže být odebráno"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Právo nenalezeno"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Právo nenačteno."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Právo odebráno"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Práva"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Práva pro %1 nemohou být přidělena"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Práva nemohou být %1 odebrána"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Pravidla"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "Kořenový schvalovatel"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Řádek na stránku"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "so"
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Uložit"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Uložit změny"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Uložit nastavení"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Nezapomeňte uložit změny - "
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Uložené dotazy"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip vytvořen"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Položky scripu"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip smazán"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scripy"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Scripy fro %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scripy platné ve všech frontách"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Vyhledat"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Podmínky vyhledávání"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Vyhledávání schvalování"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Zabezpeční:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "Vidět přesnou odchozí zprávu a její příjemce"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Vidět soukromé komentáře požadavku"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Vidět sumárně požadavek"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "Vidět frontu"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Výběr skupiny"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Výběr fronty"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Výběr uživatele"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Vybrat uživatelskou položku"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Vybrat skupinu"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Vybrat více hodnot"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Vybrat jednu hodnotu"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Výběr fronty"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Výběr scripu"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Vybrat vzor"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Výběr uživatele"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "Výběr vícenásobný"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "Výbět jedinečný"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Samoobsluha"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Zaslat e-mail všem pozorovatelům"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Zaslat e-mail všem pozorovatelům jako \"komentář\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Zaslat e-mail žadatelům a všem Cc"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Zaslat e-mail žadatelům a všem Ccs jako komentář"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Posílá zprávu všem žadatelům"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Posílá e-mail všem přesně vyjmenovaným Cc a Bcc"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Posílá e-mail Ccs"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Posílá e-mail Ccs jako komentář"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Posílá e-mail všem administrativním Cc"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Posílá e-mail všem administrativním Cc jako komentář"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Posílá e-mail vlastníkovi"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "zář"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Zobrazit"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Zobrazit sloupce"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Zobrazit výsledky"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Zobrazit schválené požadavky"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Zobrazit základní údaje"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Zobrazit odepřené požadavky"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Zobrazit podrobnosti"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Zobrazit trvající požadavky"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Zobrazit požadavky čekající na jejich schválení"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Zobrazovat privátní komentáře požadavku"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Zobrazovat výsledky požadavku"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "Zobrazovat seznam přístupových práv"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "Zobrazit odchotí e-mail"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "Zobrazit uložené dotazy"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "Zobrazit scripy"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "Zobrazit vzor"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "Zobrazit požadavek"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "Zobrazit komentáře požadavku"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Být žadatelem či Cc požadavku či fronty"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Být AdminCc požadavku nebo fronty"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Podpis"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Příhlášen jako %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Jednoduchá"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Přeskočit menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Třídící klíč"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Třídit výsledky dle"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "Třídící pořadí"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Fáze"
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Odložené"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Úvodní stránka"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Započato"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Datum započetí '%1' nemůže být rozpoznáno"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Začíná"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Začíná"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Datum začínání '%1' nemůže být rozpoznáno"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Stát"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Stav"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Změna Stavu"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Stav změněn z %1 na %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "Změna stavu"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Vzít"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Vzít požadavky"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "Vzít požadavek"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Vzato %1"
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Předmět"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Předmět změněn na %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Odeslat"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Potvrdit model zpracování"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Úspěšné"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "ne"
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "Super uživatel"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Systém"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Systémová konfigurace"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Systémová chyba"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "Systémové nástroje"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Systémová chyba. Právo nedelegováno."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Systémová chyba. Právo nepřiděleno."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Systémové skupiny"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "Skupina systémovýh pravidel pro vnitřní použití"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "Míchačka na beton"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Vzít"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Vzít požadavky"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "Vzít požadavek"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Vzatý"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Vzor"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Vzor #%!"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Vzor smazán"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Vzor nenalezen"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Vzor nenalezen\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Vzor rozpoznán"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Vzory"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Vzory pro %1\\n"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Toto je již aktuální hodnota"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Toto není hodnota pro tuto uživatelskou položku"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Toto je shodná hodnota"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Tento uživatel již toto práva má"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Tento uživatel je již v této frontě %1"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Tento uživatel je již u tohoto požadavku %1"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Tento uživatel není v této frontě %1"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Tento uživatel není u tohoto požadavku %1"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Tata fronta neexistuje"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Tento požadavek má nevyřešené závislosti"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Tento uživatel již má toto právo"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Tento uživatel již tento požadavek vlastní"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Tento uživatel neexistuje"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Tento uživatel je již privilegován"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Tento uživatel je již neprivilegován"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Uživatel je nyní privilegován"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Uživatel je nyní neprivilegován"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "V této frontě nemůže tento uživatel vlastnit požadavky"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Toto není číselný identifikátor"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Základní údaje"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "Cc požadavku"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "Administrativní Cc požadavku"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Komentář byl zaznamenán"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Následující příkaz najde všechny aktivní požadavky ve frontě 'general' a nastaví jejich priority na 99, pokud nebyly tknuty poslední 4 hodiny:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "Následující příkazy nebyly zpracovány\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Nová hodnota nastavena."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Vlastník požadavku"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Žadatel požadavku"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Tyto komentáře nejsou běžně viditelné uživateli"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Tato funkce je dostupná jen správcům systému"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Tato zpráva BUDE poslána na..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Tento požadavek %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Tento nástroj umožňuje uživateli spustit libovolné perl moduly z RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Tato transakce vypadá, že nemá obsah"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "nejdůležitější%quant(%1, požadavek,požadavky,ch požadavků) tohoto uživatele"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "25 nejdůležitějších požadavků tohoto uživatele"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "čt"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Požadavek # %1 %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Maxi aktualizace požadavku #%1: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Požadavek #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Požadavek %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Požadavek %1 vytvořen ve frontě '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Požadavek %1 načten\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Požadavek %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr ""
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Historie požadavku # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Identifikátor požadavku"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Požadavek vyřešen"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Příloha požadavku"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Obsah požadavku"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Typ obsahu požadavku"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Požadaven nemůže být vytvořen pro vnitřní chybu"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Požadavek vytvořen"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Nezdařilo se vytvoření požadavku"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Požadavek smazán"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Id požadavku nenalezeno"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Metadata požadavku"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Požadavek nenalezen"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Stav požadavku změněn"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Pozorovatelé požadavku"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Požadavky %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Požadavky %1 dle %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Požadavky z %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Požadavky, které záleží na tomto schválení:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Předpokládaný čas"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Zbývající čas"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Čas práce"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Zbývající čas"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Čas k zobrazení"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Čas práce"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "Čas práce"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Vytvořit diff tohoto commitu:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "Vytvořit diff tohoto commitu:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "K získání informací o podpoře, tréninku, zákaznických úpravách či licencování kontaktujte prosím %1."
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Poslední kontakt"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Nástroje"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transakce"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transakce %1 vymazána"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transakce vytvořena"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Bez udání id požadavku nelze volat Transaction->Create"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transakce jsou neměnné"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Pokus o smazání práva: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "út"
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "typ"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Neimplementováno"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Unixový login"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Unixové uživatelské jméno"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Neznámé kódování obsahu %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Neomezeně"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Nepojmenovaný dotaz"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Neprivilegovaný"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Vrácen"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Aktualizace"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Aktualizovat všechny"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Identifikátor aktualizace"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Aktualizovat požadavek"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Typ aktualizace"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Aktualizovat společně všechny tyty požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Aktualizovat email"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Aktualizovat hromadně požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Aktualizovat jméno"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Aktualizace nezaznamenána"
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Aktualizovat vybrané požadavky"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Aktualizace podpisu"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Aktualizace požadavku"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Aktualizace požadavku # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Aktualizace požadavku #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Aktualizace požadavku #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Typ aktualizace nebyl ani korespondence ani komentář."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Aktualizováno"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Načíst"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Načíst vaše změny"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Uživatel %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Heslo uživatele %1: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "Uživatel '%1' nemůže být nalezen"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Uživatelem definované"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Uživatelem definované podmínky a akce"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "Identifikátor uživatele"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Identifikátor uživatele"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Práva uživatele"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Uživatel nemůže být vytvořen: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Uživatel vytvořen"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Uživatelem definované skupiny"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Uživatel načten"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Uživatel upozorněn"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Uživatelský pohled"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Uživatelské jméno"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Uživatelé"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Uživatelé odpovídající podmínce vyhledání"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Platný dotaz"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "Hodnota fronty"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Hodnoty"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Být pozorovatelem"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "Být AdminCc pozorovatelem"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Pozorovatelé"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "Kódování WWW"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "st"
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Přidat korespondenci k původnímu požadavku, pokud byl požadavek schválen všemi"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Přidat korespondenci k původnímu požadavku, pokud byl požadavek kýmkoli schválen"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Když je požadavek vytvořen"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Upozornit vlastníka a všechny AdminCc, jejichž schválení se očekává, při vytvoření schvalovaného požadavku"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Stane-li se cokoli"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Je-li vyřešen požadavek"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Změní-li se vlastník požadavku"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Při změně priority požadavku"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Změní-li se fronta požadavku"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Změní-li se stav požadavku"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Splní-li se uživatelská podmínka"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Přijde-li komentář"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Přijde-li korespondence"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Zaměstnání"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Pracovat off-line"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Telefon do zaměstnání"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Odpracováno"
-
-#: NOT FOUND IN SOURCE
-msgid "XXX CHANGEME You are not an authorized user"
-msgstr "XXX ZMĚNIT Nejste autorizovaný uživatel"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Požadavek již vlastníte"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Nejste autorizovaný uživatel"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Můžete přidělit pouze požadavky, které jsou vaše nebo nejsou vlastněny"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "Nemáte právo k zobrazení tohoto požadavku.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Nalezl jste %1 požadavků ve frontě %2"
-
-#??? quant
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Byl jste odhlášen od RT."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "V této frontě nemáte práva vytvářet požadavky."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "V této frontě nemůžete vytvářet požadavky."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Jste vítáni k dalšímu přihlášení"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Vašich %1 požadavků"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Váš správce RT chybně nastavil poštovní aliasy, které volají RT"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Váš požadavek byl schválen uživatelem %1. Další schválení mohou být ještě očekávána."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Váš požadavek byl schválen."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Váš požadavek byl odmítnut"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Váš požadavek byl odmítnut."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Vaše uživatelské jméno či heslo je nesprávné"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "PSČ"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "jak je dovoleno %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "uzavřen"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "obsahuje"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "obsah"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "typ obsahu"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "korespondence (zřejmě) neposlána"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "korespondence poslána"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "dnů"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "smazat"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "smazán"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "neodpovídá"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "neobsahuje"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "je rovno"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "název souboru"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "větší než"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "skupina '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "hodin"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "Identifikátor"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "je"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "není"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "menší než"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "odpovídá"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minut"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "úpravy\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "měsíců"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "nový"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "bez jména"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "znehodnotit"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "žádný"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "není rovno"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "otevřený"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "vlastní skupina '%1' pro uživatele '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "fronta %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "zamítnutý"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "vyřešený"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sek"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "odložený"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "systém %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "systémová skupina '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "volající komponenta neudala důvod"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "požadavek #%1 %2"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "nepopsaná skupina %1"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "nepopsaná skupina %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "uživatel %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "týdnů"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "se vzorem %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "roků"
-
diff --git a/rt/lib/RT/I18N/da.po b/rt/lib/RT/I18N/da.po
deleted file mode 100644 (file)
index 76e97f5..0000000
+++ /dev/null
@@ -1,5840 +0,0 @@
-msgid ""
-msgstr ""
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "#%1"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr "$prefix %1"
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 #%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%2 %1 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 tilføjet"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 siden"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 ændret til %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 slettet"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 med skabelon %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 denne ticket\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) af %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (Uændret)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "%1 - %2 vist"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Et argument til afsendelse til %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Send status opdateringer til STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Specificér den aktion du ønsker at benytte"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Specificer det betingelses modul du ønsker at benytte"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Specificer det søge modul du ønsker at benytte"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr "%1 RT %2 Copyright 1996-%3 %4."
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "%1 ScripAktion indlæst"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 tilføjet som en værdi for %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1 aliaser kræver en TicketID at arbejde på"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1 aliaser kræver en TicketID at arbejde på (fra %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 synes at være et lokalt object, men kan ikke findes i databasen"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 af %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 ændret fra %2 til %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "%1 kopier"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 kunne ikke sættes til %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 kun ikke initiere en transaktion (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 kunne ikke sætte status til løst. RT's Database er muligvis inkonsistent"
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "%1 oprettet"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "%1 slettet"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "%1 højest prioriterede tickets jeg ejer"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "%1 højest prioriterede tickets jeg ejer..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 højest prioriterede tickets jeg har anmodet om"
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 er et værktøj som reagerer på tickets fra et eksternt skedulerings værktøj såsom cron."
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 er ikke længere en %2 for denne kø"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 er ikke længere en %2 for denne ticket."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 er ikke længere en værdi for special felt %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 er ikke en lovlig kø ID"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min."
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "%1 nyeste ikke ejede tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 ikke vist"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 objekter"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 rettigheder"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 lykkedes"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1 type er ukendt for $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1 type ukendt for %2"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 vil løse samtlige alle medlemmer af en løst gruppe ticket."
-
-#MANGLER
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 vil "
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%1's %2 objekter"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr "%1's %2's %3 objekter"
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "%1's gemte søgninger"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: ingen vedhæftet fil angivet"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' er ikke en valid status værdi"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' er ikke en genkendt aktion. "
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Check box til sletning af scrip)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Check box til sletning)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Check bokse for fravalg af notificering af de listede modtagere)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Check bokse for tilvalg af notificering af de listede modtagere)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Indtast ticket ids eller URLSs, separeret af mellemrum)"
-
-#MANGLER
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Hvis ikke angivet vil defaulte til %1)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Ingen custom felter)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Ingen medlemmer)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Ingen scrips)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Ingen templates)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(Ingen)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Sender en blind karbon-kopi af denne opdatering til en komma separeret liste af e-mail adresser. Ændrer <b>IKKE</b> hvem som vil modtage fremtidige opdateringer.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Sender en blind karbon-kopi af denne opdatering til en komma separeret liste af e-mail adresser. Ændrer <b>IKKE</b> hvem som vil modtage fremtidige opdateringer.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Sender en karbon-kopi af denne opdatering til en komma separeret liste af e-mail adresser. Disse <b>vil</b> modtage fremtidige opdateringer.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Sender en karbon-kopi af denne opdatering til en komma separeret liste af e-mail adresser. Ændrer <b>IKKE</b> hvem som vil modtage fremtidige opdateringer.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Sender en karbon-kopi af denne opdatering til en komma separeret liste af e-mail adresser. Disse <b>vil</b> modtage fremtidige opdateringer.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Sender en karbon-kopi af denne opdatering til en komma separeret liste af e-mail adresser. Disse <b>vil</b> modtage fremtidige opdateringer.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(Benyt disse felter når du vælger 'Bruger Defineret' for en betingelse eller aktion"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(tom)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(intet navn listet)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(intet emne)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(ingen værdi)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(ingen værdier)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(kun en ticket)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(afventer godkendelse)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(afventer anden Samling)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(afventer andre tickets)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(obligatorisk)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(unavngiven)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "25 højest prioriterede tickets jeg ejer..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "25 højest prioriterede tickets jeg har anmodet..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr "<%$_%>"
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#MANGLER
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Ny ticket i\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "En blank template"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE ikke fundet"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACEs kan kun blive oprettet og slettet"
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr "OG"
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Afbryder for a undgå utilsigtede ticket ændringer"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Om mig"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Adgangskontrol"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Aktion"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Aktion %1 ikke fundet"
-
-#MANGLER
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Aktion "
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr "Aktion committet.\\n"
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Aktion forberedt"
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Tilføj"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Tilføj AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Tilføj Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr "Tilføj kolonner"
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Tilføj Kriterie"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Tilføj flere filer"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Tilføj Anmoder"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Tilføj værdi"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Tilføj en ny global scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Tilføj en scrip til denne kø"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Tilføj en scrip som vil virke for alle køer"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "Tilføj yderligere kriterier"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Tilføj kommentarer eller svar til valgte tickets"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Tilføj medlemmer"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Tilføj nye watchers"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr "Tilføj, slet og editer custom felt værdier for objekter"
-
-HERTIL
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "TilføjNæsteStatus"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Tilføjede principal som %1 for denne kø"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Tilføjede principal som %1 for denne ticket"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Adresse1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Adresse2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Admin Kommentar"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Admin Korrespondance"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Admin Køer"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Admin brugere"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Amin/Global konfiguration"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Admin/Grupper"
-
-#Mangler
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Admin/Køer/Basics"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "AdminAllPersonligeGrupper"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "AdminKommentar"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "AdminKorrespondance"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "AdminCustomerField"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "AdminCustomFelter"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "AdminGruppe"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "AdminGruppeMedlemskab"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "AdminEgnePersonligeGrupper"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "AdminKø"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "AdminBrugere"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Administrativ Cc"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Avanceret"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Avanceret Søgning"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Efter"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Alder"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr "Aggregator"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "All godkendelser godtaget"
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Alle custom felter"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Alle Køer"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Sender altid en besked til requestoren uafhængigt af besked afsenderen"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr "Og/Eller"
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "Gælder for"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Foretag"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Foretag dine ændringer"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Godkendelse"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Godkendelse #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Godkendelse #%1: Noter ikke gemt grundet en system fejl"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Godkendelse #%1: Noter gemt"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Godkendelses detaljer"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Godkendelse godtaget"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Godkendelse afvist"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Godkendelses diagram"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Godkend"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Apprtover's noter: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Apr."
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Stigende"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Tilføj og slet custom felter"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "TilknytCustomFelter"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Vedhæft"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Vedhæft fil"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Vedhæftet fil"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Vedhæftede fil '%1' kunne ikke indlæses"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Vedhæftet fil oprettet"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Vedhæftetfilnavn"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Vedhæftede filer"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Attribut Slet"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Aug."
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "AuthSystem"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Autosvar"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Autosvar til Requestere"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "AutoSvarTilRequestere"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Ubrugelig PGP Signatur: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Ubrugelig vedhæftelses id. Kunne ikke lokaliserer vedhæftet fil '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Dårlige data i %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Ubrugeligt transaktionsnummer for vedhæftet fil. %1 skulle være %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Basics"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Vær sikker på at gemme dine ændringer"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Før"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Påbegynd godkendelse"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "Binær"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Tom"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr "Fed"
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "URl for denne søgning som kan gemmes som bookmark"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "Bogmærkbart link"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Korte headers"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Masse-ticket opdatering"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Kan ikke modificere system brugere"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Kan denne principal se denne kø"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Kan ikke tilføje custom felt værdi uden et navn"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Kan ikke finde en gemt søgning til at arbejde med"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Kan ikke linke en ticket til den selv"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Kan ikke sammensætte ind i en sammensat ticket. Du skulle aldrig få denne fejl"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Kan ikke gemme denne søgning"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Kan ikke specificere både base og mål"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Kan ikke oprette bruger: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Skift adgangskode"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Vælg Alle"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Vælg boks for at slette"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Vælg boks for a indrage rettighed"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Børn"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "By"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Fravælg Alle"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Lukket"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "Lukkede Tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Lukkede requests"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Lukkede requests"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Kommando ikke forstået!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Kommentar"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Kommentar adresse"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Kommentar ikke skrevet"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Kommentér på tickets"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "KommenterPåTicket"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Kommentarer"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Kommentarer (ikke sendt til requestere)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Kommentarer (ikke sendt til requestere)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Kommentarer på %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Kommentarer om denne bruger"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Kommentarer tilføjet"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Commit Ryddet"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Oversættelses Restriktioner"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Betingelse"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Betingelser matcher..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Betingelse ikke fundet"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Konfiguration"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Bekræft"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "KontaktInfomationsSystem"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Dato kontaktet: '%1' kunne ikke parses"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Indhold"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "Content-Type"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Kopier"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Korrespondance"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Korrespondance adresse"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Korrenspondance tilføjet"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Korrespondance ikke gemt"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Ikke muligt at tilføje ny custom felt værdi for ticket. "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr "Kunne ikke tilføje ny custom felt værdi"
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr "Kunne ikke tilføje ny custom felt værdi. %1"
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Ikke muligt at skifte ejer"
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Ikke muligt at oprette Custom felt"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr "Kunne ikke oprette CustomField: %1"
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Ikke muligt at oprette gruppe"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Ikke muligt at oprette template: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Ikke muligt at oprette ticket. Kø ikke sat"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Ikke muligt at oprette bruger"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Ikke muligt at finde ticket med id %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Ikke muligt at finde gruppe %1"
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Ikke muligt at finde eller oprette den bruger"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Ikke muligt at finde principal"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Ikke muligt at finde bruger %1"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Kunne ikke indlæse CustomFelt %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Ikke muligt at indlæse gruppe"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Kunne ikke g¯re den principal %1 for denne k¯"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Kunne ikke g¯re den prinicipal %1 for denne ticket"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Kunne ikke fjerne den principal %1 for denne k¯"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "msgstr "Kunne ikke fjerne den principal %1 for denne ticket" "
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Kunne ikke sætte bruger info"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Kunne ikke tilf¯je medlem til gruppe"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Kunne ikke oprette en lave transaktion: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Kunne ikke afg¯re hvad som skulle foretages ud fra GPG's svar\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Kunne ikke finde gruppe\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Kunne ikke finde row"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Kunne ikke finde den principal"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Kunne ikke finde den værdi"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Kunne ikke finde bruger\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Kunne ikke indlæse %1 fra bruger database.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "Kunne ikke indlæse klasse %1"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "Kunne ikke indlæse CustomField %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Kunne ikke indlæse RT konfigurations fil '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Kunne ikke indlæse Scrips."
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Kunne ikke indlæse gruppe %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Kunne ikke indlæse link"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Kunne ikke indlæse object %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Kunne ikke indlæse k¯"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Kunne ikke indlÊse k¯ %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Kunne ikke indlÊse scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Kunne ikke indlÊse template"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Kunne ikke indlÊse den bruger (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Kunne ikke indlÊse ticket '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Land"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "opret"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "opret Tickets"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "opret et Custom felt"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "opret et Custom felt for k¯ %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "opret et Custom felt som gÊlder for alle k¯er"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "opret et nyt Custom felt"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "opret en ny global scrip"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "opret en ny gruppe"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "opret en ny personlig gruppe"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "opret en ny gruppe"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "opret en ny scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "opret en ny template"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "opret en ny ticket"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "opret en ny bruger"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "opret en ny k¯"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "opret en k¯ med navnet"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "opret en request"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "opret en scrip for k¯ %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "opret en template"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "opret en ticket"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "opret en ny ticket baseret p denne scrip's template"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "opret ticket"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "opret tickets i denne k¯"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "opret, slet og rediger custom felter"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "opret, slet og rediger k¯er"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "opret, slet og rediger medlemmerne af vilkÂrlig brugers personlige grupper"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "opret, slet og rediger medlemmernes personlie grupper"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "opret, slet og rediger brugere"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr "OpretGemtSøgning"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "OpretTicket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Oprettet"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Oprettede Customer felt %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Oprettede template %1"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Opretter"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Nuværende relationer"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Nuværende Scrips"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Nuværende medlemmer"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Nuværende rettigheder"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Nuværende søgekriterier"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Nuværende watchere"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Custom Felt #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Custom Felter"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Custom Felter for %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Custom aktion oprydnings kode"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Custom aktion forberedelses kode"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Custom betingelse"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Custom felt %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Custom felt %1 har vÊrdi."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Custom felt %1 har ingen vÊrdi."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Custom felt %1 ikke fundet"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Custom felt slettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Custom felt ikke fundet"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Custom felt vÊrdi %1 kunne ikke blive fundet for custom felt %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Custom felt vÊrdi Êndret fra %1 to %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Custom felt vÊrdi kunne ikke slettes"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Custom felt vÊrdi kunne ikke findes"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Custom felt vÊrdi slettet"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "CustomFelt"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Datoer"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Dec."
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Default Autosvars Template"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Default autosvars template"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Default Kø"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Default Requestor"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Default administrator kommentar template"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Default administrator korrespondance template"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Default korrespondance template"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Default transaktions template"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Default: %1/%2 Êndret til %3 to %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Overdrag rettigheder"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Overdrag specifikke rettigeder som er blevet tildelt til dig."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "OverdragRettigheder"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Overdragelse"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Slet"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Slet Template"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Slet valgte scrips"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Slet tickets"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "SletTicket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Sletning af dette objekt kan ¯delÊgge referentiel integritet"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Sletning af dette objekt vil ¯delÊgge referentiel integritet"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Sletning af dette objekt vil stride mod referentiel integritet"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Afvis"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Afhængighed til"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Afhængigheder: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Afhængighed til %1 tilf¯jet"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Afhængighed til %1 slettet"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Afhængighed af %1 tilf¯jet"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Afhængighed af %1 slettet"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Afhængig af"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Faldende"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Beskriv problemet nedenfor"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Beskrivelse"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Detaljer"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Vis"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Vis Adgangs Kontrol Liste"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Vis Kolonner"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Vis Scrip templates for denne kø"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Vis scrips for denne kø"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Visnings modus"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "Vis gemte søgninger fir denne gruppe"
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Vis ticket #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "Distribueret under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> af GNU GPL'en.</a>"
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Gør noget og alting"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr "Foretag Søgningen"
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Genindlæs ikke denne side-"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Vis ikke søge resultater"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Download"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "Download som en tab-opdelt fil"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Forfaldende"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Forfaldsdato '%1' kunne ikke parses"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "FEJL: Kunne ikke indlæse ticket '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Editér"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Editér customer felter for %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Editér forhold"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Editér Søgning"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Editér Templates for kø %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr "Editér gemte søgniner for denne gruppe"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Editér scrips"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Editér system templates"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Editér templates for %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "EditerGemteSøgninger"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Editér Konfiguration for kø %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Editerer Konfiguration for bruger %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Editerer Custom felt %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Editerer medlemskab for gruppe %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Editerer medlemskab for personlig gruppe %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Editerer template %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Enten base eller mål skal være specificeret"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "E-mail"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "E-mail adresse i brug"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "E-mailAdresse"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "E-mail encoding"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Aktiveret (Fravalg af denne boks deaktiverer dette custom felt)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Aktiveret (Fravalg af denne boks deaktiverer denne gruppe)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Aktiveret  (Fravalg af denne boks deaktiverer denne kø)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Aktiverede Custom felter"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Aktiverede Køer"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Aktiverede status %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "Tilvalgt status: %1"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Indtast flere værdier"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Angiv objecter eller URIs for linkning af objekter. Separér flere med mellemrum"
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Indtast en værdi"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Angiv køer eller URIs til linkning køer til. Separér flere med mellemrum"
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Indtast tickets eller URIs for linkning af tickets. Separer flere værdier med mellemrum."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Skriv op til %1 værdier"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Fejl"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Fejl i parametre til Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Fejl i parametre til Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Fejl i parametre til Queue->DeleteWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Fejl i parametre til Ticket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Fejl i parametre til Ticket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Fejl i parametre til Ticket->DeleteWatcher"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Eskalér tickets"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Estimeret"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Alle"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Eksempel:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "ExternalAuthId"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "ExternalContactInfoId"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Ekstra information"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Fejlede i lokalisering 'Priviledged' brugere pseudogruppe."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Fejlede i lokalisering af 'Unproviledged' brugere pseudogruppe"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Fejlede i indlæsningen af modul %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Feb."
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Filnavn"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "Udfyld flere tekst områder"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "Udfyld i et tekst område"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "Udfyld op til %1 tekst områder"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Slut"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Endelig Prioritet"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "EndeligPrioritet"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Find gruppe hvis"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Find grupper hvis"
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Find nye/åbne tickets"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Find folk hvis"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Find tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Afslut godkendelse"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Første"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Første side"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "gennemtving ændring"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Fandt %quant(%1,ticket)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Fandt Objekt"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "Freeform"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FreeformContactInfo"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "FreeformMultiple"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "FreeformSingle"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Fre."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Fulde headers"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Hent template fra fil"
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Henter the nuværende bruger fra en PGP signatur\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Givet til %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Global"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Globale custom felter"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Globale Scrips"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr "Global custom felt configuration"
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Global template: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Go"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Start!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "God PGP signatur fra %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Gå til side"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Gå til ticket"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Gruppe"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Gruppe %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Gruppe Rettigheder"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Gruppe har allerede medlem"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Gruppe kunne ikke blive oprettet: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Gruppe oprettet"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Gruppen har sådan et medlem"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Gruppe ikke fundet"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Gruppe ikke fundet.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Gruppe ikke angivet.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Grupper"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Grupper kan ikke være medlemmer af deres medlemmer"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "Grupper som matcher søge kriterier"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "Grupper denne bruger hører til"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Hej!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Hej, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historie"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "Historie for gruppen %1"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "Historie for brugeren %1"
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "HjemmeTelefon"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Homepage"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Jeg har %quant(%1,concrete mixer)."
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "Jeg har [quant,_1,concrete mixer]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr "jeg er fortabt"
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Id"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identitet"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Hvis en godkendelse bliver afvist, afvis den originale og slet ventede godkendelser"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "Hvis ingen Requestor er specificeret, opret da tickets med denne requestor"
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Hvis ingen kø er oprettet, opret tickets i denne kø"
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Hvis dette værktøj var setgid, kunne en fjendtlig bruger benytte dette værktøj til at opnå administrat adgang til RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Hvis du har opdateret noget ovenfor, vær da sikker på at"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Ulovlig værdi for %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Billede"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Uforanderligt felt"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Medtag deaktiverede custom felter i liste."
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Inkludér ikke tilvalgte grupper i denne liste."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Medtag deaktiverede køer i liste."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Medtag deaktiverede brugere i liste."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr "Ukomplet Søgning"
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr "Ukomplet søgning"
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Initiel Prioritet"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "InitielPrioritet"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Input fejl"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Intern Fejl"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Intern Fejl: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Ikke valid Gruppe Type"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Ikke valid Rettighed"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Ikke valide data"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Ikke valid ejer, Default'er til 'nobody'"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Ikke valid kø"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Ikke valid rettighed"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Ikke valid værdi for %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Ikke valid værdi for custom felt"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Ikke valid værdi for status"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Det er af højeste vigtighed at ikke-privilegerede brugere ikke får adgang til at køre dette værktøj."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Det anbefales at du opretter en ikke-priviligeret unix bruger med det korrekte gruppe medlemsjab og RT adgang for at benytte dette værktøj."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Det tager adskellige argumenter:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr "Kursiv"
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Elementer som afventer min godkendelse"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Jan."
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Tilslut eller forlad denne gruppe"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul."
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Jumbo"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun."
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Nøgleord"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Sprog"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Sprog"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr "Stor"
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Sidste"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Sidste kontakt"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Sidst kontaktet"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Sidst Notificeret"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Sidst Opdateret"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "SidstOpdateretAf"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Tilbage"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Lad denne bruger få adgang til RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Lad denne bruger få rettigheder"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Begrænser ejer til %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Begrænser kø til %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Link eksisterer allerede"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Link kunne ikke blive oprettet"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Link oprettet (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Link slettet (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Link ikke fundet"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Link ticket #%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Links"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Indlæs"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Indlæs gemt søgning:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr "IndlæsGemtSøgning"
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Indlæste Perl moduler"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Lokation"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Log directory %1 kunne ikke findes eller skrive til.\\n RT kan ikke køre."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Logget ind som %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Log ind"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Log ud"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "Opslagstype misforhold"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Lav Ejer"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Lav Status"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Sæt forfaldsdato"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Sæt løsnings dato"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Sæt start dato"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Sæt startes dato"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Sæt dato fortalt"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Sæt Prioritet"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Sæt kø"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Sæt emne"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr "Gør denne gruppe synlig for bruger"
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "Administrer custom felter og custom felt værdier"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Administrer grupper og gruppe medlemskab"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Administrer egenskaber og konfiguration som gælder for alle køer"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Administrer køer og kø-specifikke egenskaber"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Administrer brugere og adgangskoder"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Maj."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Medlem %1 tilføjet"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Medlem %1 slettet"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Medlem tilføjet"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Medlem slettet"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Medlem ikke slettet"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Medlem af"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Medlemmer"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Medlemskan af %1 tilføjet"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Medlemskab af %1 slettet"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Medlemskaber"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "Medlemskaber for brugeren %1"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Sammensmeltning succesfuld"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Sammensmeltning fejlede. Kunne ikke sætte EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr "Sammensmeltning mislykkedes. Kunne ikke sætte status"
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Sammensmelt med"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Sammensmeltet med %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Besked"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "Besked kunne ikke blive gemt"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Besked gemt"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "Beskeder angående denne ticket vil ikke blive sent til..."
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr "Ikke-matchende parenteser"
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Mangler en primærnøgle?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Mobil"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "MobilTelefon"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Modificér Adgangs Kontrol Liste"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Modificér Custom Felt %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr "Modificér Custom Felter som gælder for %1 for alle %2"
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Modificér Customer Felter som gælder for alle %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Modificér Custom felter som gælder for alle køer"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Modificér Gruppe Rettigheder"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Modificér Medlemmer"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Modificér Rettigheder"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Modificér Scrip templates for denne kø"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Modificér Scrips for denne kø"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Modificér Template %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Modificér Brugerrettigheder"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Modificér CustomFelt for kø %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Modificér CustomFelt som gælder for alle køer"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Modificér et scrip for kø %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Modificér et scrip som gælder for alle køer"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Modificér objekter associerede med %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Modific+er datoer for #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Modificér datoer for ticket # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr "Modificér globale custom felter"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Modificér globale gruppe rettiheder"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Modificér globale gruppe rettiheder"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Modificér globale scrips"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Modificér globale bruger rettiheder"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Modificér globake bruger rettigehder"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Modificér gruppe metadata eller slet gruppe"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Modificér gruppe rettigheder for custom felter %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Modificér gruppe rettigheder for gruppe %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Modificér gruppe rettigheder for kø %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Modificér medlemskabsliste for denne gruppe"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Modificér ens egen RT konto"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Modificér folk relateret til kø %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Modificér folk relateret til ticket #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Modificér scrips for kø %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Modificér scrips som gælder for alle køer"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Modificér template %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Modificér templates som gælder for alle køer"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Modificér gruppen %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Modificér kø watchers"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Modificer brugeren %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Modificer ticket # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Modificer ticket #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Modificer tickets"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Modificér brugerrettigheder custom felter for %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Modificer bruger rettigheder for gruppe %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Modificer bruger rettigheder for kø %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Modificer watchers for kø '%1'"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ModificerACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr "ModifyCustomField"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "ModificerEgetMedlemskab"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "ModificerQueueWatchers"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ModificerScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "ModificerSelv"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "ModificerTemplate"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "ModificerTicket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Man."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Mere om %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Flyt ned"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Flyt op"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Flere"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "'Name' attribut skal angives"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "Mine %1 tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Mine Godkendelser"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Mine godkendelser"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Mine gemte søgninger"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Navn"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Navn i brug"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Behøver godkendelse af system adminstrator"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Aldrig"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Ny"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nye relationer"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Ny adgangskode"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Ny afventende godkendelse"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Ny Søgestreng"
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Ny Søgning"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Nyt custom felt"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Ny gruppe"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Ny adgangskode"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Ny adgangskode notifikation afsendt"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Ny kø"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Ny request"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nye rettigheder"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Ny scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Ny søgning"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Ny template"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Ny ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Ny ticket eksisterer ikke"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Ny bruger"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Ny bruger kaldet"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Nye watchers"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Ny vindues indstilling"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Næste"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Næste Side"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Næste side"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "NickName"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Nickname"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "Ingen klasse defineret"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Intet Custom felt"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Intet CustomField defineret"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Ingen grupper definerede"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Ingen Søgestreng"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Ingen kø defineret"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Ingen RT bruger fundet. Kontakt venligst din RT administrator.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Ingen Template"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Ingen ticket angivet. Afbryder ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Ingen ticket angivet. Afbryder ticket ændringer\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Ingen aktion"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Ingen kolonne angivet"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Ingen kommando fundet\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Ingen kommentar inddateret for denne bruger"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Ingen korrespondance vedhæftet"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Ingen beskrivelse af %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Ingen gruppe angivet"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Ingen grupper som matcher søge kriterier fundet"
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "Ingen medelelse vedhæftet"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Ingen adgangskode sat"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Ingen rettighed til at oprette køer"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Ingen adgang til at oprette tickets i denne kø '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Ingen rettighed til at oprette brugere"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Ingen adgang til at vise denne ticket"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Ingen adgang til at vise opdater ticket"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Ingen principal angivet"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Ingen principaler valgt."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Ingen køer fundet som matcher søge kriterie."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Ingen rettigheder fundet"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Ingen rettigheder tildelt."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Ingen søgning at arbejde med."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Intet emne"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Ingen ticket id angivet"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Ingen transaktions type angivet"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Ingen brugere fundet som matcher søge kriterie"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Ingen valid RT bruger fundet. RT CVS handler frakoblet. Kontakt venligst din RT administrator.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Ingen værdi sent til _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Ingen"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Ikke eksisterende felt?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Ikke logget ind"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Ikke logget ind."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Ikke sat"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Endnu ikke implementeret."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Endnu ikke implementeret..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Noter"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Notification kunne ikke sendes"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Notificér AdminCc'ere"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Notificér AdminCc'ere som kommentar"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "Notificér Ccs"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "Notificér Ccs som Kommentarer"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Notificér andre modtagere"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Notificér andre modtagere som kommentar"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Notificér ejer"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Notificér ejer som kommentar"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "Notificér ejer om deres afviste ticket"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "Notificér ejere om deres ticket er blevet godkendt af alle Approvere"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "Notificér ejere om deres ticket som er blevet godkendt af Approver"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Notificér ejere og AdminCc'ere om nye emner som afventer deres godkendelse"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Notificér Requestere"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Notificér Requestere og Cc'ere"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Notificér Requestere og Cc'ere som kommentar"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Notificér Requestere, Cc'ere og AdminCc'ere"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Notificér Requestere, Cc'ere og AdminCc'ere som kommentar"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov."
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr "ELLER"
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Objekt kunne ikke oprettes"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr "Objekt kunne ikke slettes"
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objekt oprettet"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr "Objekt slettet"
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "Objekt af typen %1 kan ikke håndtere custom felter"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "Objekt type misforhold"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Okt."
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Offline"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Offline editeringer"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Offline upload"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "Ved"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Ved kommentar"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Ved korrespondance"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Ved oprettelse"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Ved ejerskifte"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "Ved prioritets ændring"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Ved køskifte"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Ved løsning"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Ved statusskifte"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Ved transaktion"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Vis kun godkendelser for requests oprettet efter %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Vis kun godkendelser for requests oprettet før %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Åben"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Åben den"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Åben requests"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Åben tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Åben tickets (fra liste) i et nyt vindue"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Åben tickets (fra liste) i andet vindue"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Åben tickets ved korrespondance"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Sortér efter"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Orden og sortering"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organisation"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Oprindelig ticket: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Udgående e-mail omkring en kommentar gemt"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Udgående e-mail gemt"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Tid overskredet, prioritet går mod"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Egne tickets"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "EgenTicket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Ejer"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Ejere ændret fra %1 til %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "Ejer kunne ikke defineres."
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Ejer skiftet forceret fra %1 to %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Ejer er"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Side %1 af %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Bipper"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "BipperTelefon"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Forældre"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Adgangskode"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Adgangskode husker"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr "Adgangskode ændret"
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Adgangskode for kort"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Adgangskode: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Adgangskoder matcher ikke."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Adgangskoder matcher ikke. Din adgangskode er ikke blevet skiftet"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Folk"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Udfør en bruger-defineret aktion"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Perl konfiguration"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Adgang afvist"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Personlige Grupper"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Personlige grupper"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Personlige grupper:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Telefon numre"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Placeholder"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Præferencer"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Præferencer"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Prepare ryddet"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Forr."
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Forrige Side"
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Forrige side"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Principal %1 ikke fundet."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioritet"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Prioritet starter ved"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Privat:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Priviligeret"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Priviligeret status: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Priviligerede brugere"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudogruppe til intern brug"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Søgestreng"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Søgestrengs Bygger"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Kø"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Kø %1 ikke fundet"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Kø '%1' ikke fundet\\n"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Kø Navn"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Kø Scrips"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Kø eksisterer allerede"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Kø kunne ikke oprettes"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Kø kunne ikke indlæses"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Kø oprettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Kø ikke angivet"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Kø ikke fundet"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Køer"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Kø søgning"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Kvik ticket oprettelse"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 for %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 fra <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT Administration"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "RT Authentikeringsfejl."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT Bounce: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "RT Konfigurationsfejl"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "RT Kritisk fejl. Meddelelse ikke gemt!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT Fejl"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT modtog e-mail (%1) fra sig selv"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT Selv-betjening / Lukkede Tickets"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "RT Variable"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT set fra oven"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT kunne ikke authentikere dig"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT kunne ikke finde requester via sit eksterne database opslag"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT kunne ikke finde køen: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT kunne ikke validere denne PGP signatur. \\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT for %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT for %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT har processeret dine kommandoer"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT er &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  Bliver distribueret under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 af 'GNU General Public License'.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT mener at denne besked er en afvisning"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT vil processere denne besked som var den var usigneret.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RT's e-mail kommando modus kræver PGP authentikering. Enten har du ikke signeret din besked, eller også kunne din signatur ikke verificeres."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Fulde Navn"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "FuldeNavn"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Reference fra %1 tilføjet"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Reference fra %1 slettet"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Reference til %1 tilføjet"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Reference til %1 slettet"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Referreret til af"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Refererer til"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Forfin"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Forfin søgning"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Genindlæs denne side hver %1 minutter"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Fjern AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Fjern Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Fjern Requestor"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Svar"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Svar Adresse"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Svar til requestors"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Svar på tickets"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "SvarPåTicket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Requestor"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Requestor e-mail adresse"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Requestor(s)"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Requestors"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Request skulle være forefaldende om"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Påkrævet parameter '%1' ikke specificeret"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Reset"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Residens"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Løs"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Løs ticket #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Løst"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Svar til requestors"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Resultater"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Resultater per side"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Genskriv adgangskode"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Faldtilbage"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Rettighed %1 ikke fundet for %2 %3 i scope %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Rettighed overdraget"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Rettighed Tildelt"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Rettighed Indlæst"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Rettighed kunne ikke inddrages"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Rettighed ikke fundet"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Rettighed ikke indlæst."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Rettighed inddraget"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Rettigheder"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Rettigheder kunne ikke tildeles %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Rettigheder kunne ikke inddrages for %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Roller"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "RootGodkendelse"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Rækker per side"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Lør."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Gem"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Gem Ændringer"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Gem Præferencer"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Gem Ændringer"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Gemte søgninger"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip Oprettet"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Scrip Felter"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip slettet"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrips"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Scrip for %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scrips som gælder for alle køer"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Søg"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Søgekriterier"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Søg efter godkendelser"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Sikkerhed:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Se custom felter"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "See nøjagtige udgående e-mail beskeder og deres modtagere"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Se ticket private kommentarer"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Se ticket sammenfatninger"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "SeCustomFelt"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr "SeGruppe"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "SeKø"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "Vælg"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Vælg et Custom felt"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Vælg en gruppe"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Vælg en kø"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr "Vælg en kø til din næste nye ticket"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Vælg en bruger"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Vælg custom felt"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr "Vælg custom felter for alle brugergrupper"
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr "Vælg custom felter for alle brugere"
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr "Vælg custom felter for tickets i alle køer"
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr "Vælg custom felter for transaktioner på tickets i alle køer"
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Vælg gruppe"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Vælg flere værdier"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Vælg en værdi"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Vælg kø"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Vælg scrip"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Vælg template"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Vælg op til %1 værdier"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Vælg bruger"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "VælgFlere"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "VælgEnkelt"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Valgte Custom Felter"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Valgte objekter"
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Selv-betjening"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Send e-mail til alle watchers"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Send e-mail til alle wathers som en \"kommentar\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Sender e-mail til requestors og Ccs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Sender e-mail til requestor og Ccs som en kommentar"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Sender en besked til requestorne"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Sender e-mail til explicit listede Ccs og Bccs"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Sender e-mail til Cc'ere"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Sender e-mail to Ccøere som en kommentar"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Sender e-mail til de administrative Ccs"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Sender e-mail til de administrative Cc som en kommentar"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Sender e-mail til ejeren"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep."
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Vis"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Vis Godkendelser"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Vis Kolonner"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Vis Resultater"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Vis godkendte requests"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Vis basic"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Vis afviste requests"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Vis detaljer"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Vis afventede requests"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Vis requests som afventer andre godkendelser"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Vis ticket private kommentar"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Vis ticket opsummeringer"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "VisACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr "VisKonfigurationTab"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "VisUdgåendeEmail"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "VisGemteSøgninger"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "VisScrips"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "VisTemplate"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "VisTicket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "VisTicketKommentarer"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Tilmeld som en ticket requestor eller ticket eller kø Cc"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Tilmeld som en ticket eller kø AdminCc"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Signatur"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Tilsluttet som %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Enkelt"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Skip Menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr "Lille"
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Sorter"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Sorteringsnøgle"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Sorter resultat efter"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "SorteringsOrden"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Trin"
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Stalled"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Start side"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Startet"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Startet dato '%1' kunne ikke parses"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Starter"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Starter den"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Starter dato '%1' kunne ikke parses"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Tilstand"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Status"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Status Ændring"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Status ændret fra %1 til %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "StatusÆndring"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Stjæl"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Stjæl tickets"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "StjælTicket"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Stjålet fra %1"
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Emne"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Emne ændret til %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Send"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Send Workflow"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Lykkedes"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Søn."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperBruger"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "System"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "System Konfiguration"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "System Fejl"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "System Værktøjer"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "System fejl. Rettighed ikke overdraget"
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "System fejl. Rettighed ikke tildelt"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "System grupper"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SystemRolleGruppe for intern brug"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Tag"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Tag tickets"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "TagTickets"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Taget"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Template"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Template #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Template slettet"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Template ikke fundet"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Template ikke fundet\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Template parset"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Templates"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Templates for %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Tekst"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Det er allerede den nuværende værdi"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Det er ikke værdi for dette custom felt"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Det er den samme værdi"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Den principal har allerede den rettighed"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Den principal er allerede en %1 for denne kø"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Den principal er allerede en %1 for denne ticket"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Den principal er ikke en %1 for denne kø"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Den principal er ikke en %1 for denne ticket"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Den kø eksisterer ikke"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Denne har ticket har uløste afhængigheder"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Den bruger har den rettighed"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Brugeren ejer allerede den ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Brugeren eksisterer ikke"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Brugere er allerede priviligeret"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Brugeren er allerede upriviligeret"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Brugeren er nu priviligeret"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Brugere er nu upriviligeret"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Den bruger må ikke eje tickets i den kø"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Det er ikke en numerisk værdi"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Det Grundlæggende"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "CC for en ticket"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "Den administrative CC for en ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Kommentarer er blevet gemt"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Den følgende kommando vil finde alle aktive tickets i køen 'general' og vil sætte deres prioritet til 99 hvis de ikke er blevet rørt i 4 timer:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "De følgende kommandoer blev ikke processeret:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Den nye værdi er blevet sat"
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Ejeren af en ticket"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Anmoderen af en ticket"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Disse kommentarer er ikke generelt synlige for brugeren"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "Dette custom felt gælder ikke for dette objekt"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Denne feature er kun tilgængelig for system administratorer"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Denne besked vil blive sendt til..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Denne ticket %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Dette værktøj tillader brugeren at benyttet vilkårlige Perl moduler inde fra RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Denne transaktion synes ikke at have noget indhold"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Denne brugers højest prioriterede tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "Denne bruger 25 højest prioriterede tickets"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Tors."
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "ticket # %1 %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "ticket #%1 Jumbo opdatering: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "ticket #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Ticket %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "ticket %1 oprettet i kø '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Ticket %1 indlæst\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Ticket %1 : %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Ticket Custom Felter"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Ticket Historie # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Ticket ID"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Ticket Løst"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Ticket Transaktioner"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Ticket vedhæftet fil"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Ticket indhold"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Ticket indholds type"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Ticket kunne ikke oprettes pga. en intern fejl"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Ticket oprettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Ticket oprettelse mislykkedes"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Ticket slettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Ticket ID ikke fundet"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Ticket metadata"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Ticket ikke fundet"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Ticket status ændret"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Ticket iagtagere"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr "TicketSQL søge modul"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Tickets %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Tickets %1 af %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Tickets fra %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Tickets som afhænger af denne godkendelse:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Tid Estimeret"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Resterende tid"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Tid Arbejdet"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Resterende tid"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Tid for visning"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Tid arbejdet"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "TidArbejdet"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "For at generere en diff af denne commit:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "For at generere en difference af denne commit:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "Forespørgsel ang. support, træning, special udvikling eller licensering, kontakt venligst %1"
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Fortalt"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Værktøjer"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transaktion"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transaktion %1 tømt"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transaktion Oprettet"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Transaktions Custom Felter"
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Transaktion->Opret kunne ikke gennemføres, da du ikke specificerede en ticket id"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Transaktion->Opret kunne ikke gennemføres, da du ikke specificerede en object type og id"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transaktioner er uforanderlige"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Forsøger at slette en rettighed: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Tirs."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Type"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Uimplementeret"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Unix login"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "UnixBrugernavn"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Ukendt ContentEncoding %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr "Ukendt felt: $key"
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Ubegrænset"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Unavngiven søgning"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Upriviligeret"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Ikke-valgte Custom Felter"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Ikke-valgte objekter"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Ikke-tagede"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Opdater"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Opdatér Alle"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Opdater ID"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Opdatér Ticket"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Opdatér type"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Opdatér alle disse tickets på en gang"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Opdatér email"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Opdatér flere tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Opdatér navn"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Opdatering ikke registreret"
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Opdatér valgte tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Opdatér signatur"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Opdatér ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Opdatér ticket # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Opdatér ticket #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Opdatér ticket #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Opdaterings type var hverken korrespondance eller kommentar"
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Opdateret"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Upload"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Upload flere filer"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Upload flere billeder"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Upload en fil"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Upload et billede"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "Upload op til %1 filer"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "Upload op til %1 billeder"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Upload dine ændringer"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Bruger %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Bruger %1 Adgangskode: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "Bruger '%1' kunne ikke findes"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Bruger '%1' ikke fundet"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Bruger '%1' ikke fundet\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Bruger defineret"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Bruger definerede betingelser og aktioner"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "Bruger ID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Bruger ID"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Bruger Rettigheder"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "Bruger bad om en ukent opdateringstype for custom felt %1 for %1 objekt #%3"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Bruger kunne ikke oprettes: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Brugere oprettet"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Bruger definerede grupper"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Bruger indlæst"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Bruger notificeret"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Bruger visning"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Bruger-definerede grupper"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Brugernavn"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Brugere"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Brugere som matcher søgekriterier"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Valid Søgestreng"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "KøVærdi"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Værdier"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Watch"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "WatchSomAdminCC"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Watchers"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "WebEncoding"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Ons."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Når en ticket er blevet godkendt af alle Approvers, tilføj korrespondance til den originale ticket"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Når en ticket er blevet godkendt af hvilken som helst Approver, tilføj korrespondance til den originale ticket"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Når en ticket bliver oprettet"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Når en godkendelses ticket bliver lavet, notificer Ejer og AdminCc af delen som afventer deres godkendelse"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Når hvad som helst sker"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Når en ticket bliver løst"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Når en tickets ejer ændres"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Når en ticketøs prioritet ændres"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Når en tickets kø ændres"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Når en tickets status ændres"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Når en bruger defineret betingelse opfyldes"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Når kommentarer kommer ind"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Når korrespondance ankommer"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Arbejde"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Arbejd offline"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Arbejdstelefon"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Arbejdede"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Du ejer allerede denne ticket"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Du er ikke en authoriseret bruger"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Du kan kun tildele tickets du ejer eller som ikker ejet"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "Du har ikke tilladelse til at se den ticket.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Du fandt %1 tickets i kø %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Du er blevet logget ud af RT."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Du har ikke tilladelse til at lave requests i den kø"
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Du må ikke oprette requests i den kø"
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Du er velkommen til at logge ind igen"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Din %1 anmodning"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Din RT administrator har ikke konfigureret mail aliaser som starter RT korrekt "
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Din anmodning er blevet godkendt af %1. Andre godkendelser afventer muligvis stadigvæk"
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Din anmodning er blevet godkendt"
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Din anmodning blev afvist"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Din anmodning blev afvist"
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Dit brugernavn eller adgangskode er ukorrekt"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Postnummer"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr "tillad oprettelse af gemte søgninger"
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr "tillad indlæsning af gemte søgninger"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "som givet til %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr "tilhører"
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "lukket"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "indeholder"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "indhold"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "content-type"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "korrespondance (muligvis) ikke sendt"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "korrespondance afsendt"
-
-#: NOT FOUND IN SOURCE
-msgid "current: $current, want $want, Error near ->$val<- expecting a "
-msgstr "nuværnede: $current, vil have $want, Fejl nær ->$val<- forventer "
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "dage"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "slet"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "slettet"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr "tilhører ikke"
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "matcher ikke"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "indeholder ikke"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "lig med"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr "fejl: kan ikke flytte ned"
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr "fejl: kan ikke flytte til venstre"
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr "fejl: kan ikke flytte op"
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr "fejl: intet at slette"
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr "fejl: intet at flytte"
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr "fejl: intet at skifte"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "filnavn"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "større end"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "gruppe '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "timer"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "id"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "er"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "er ikke"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "mindre end"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "matcher"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min."
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minutter"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "ændringer\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "måneder"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "ny"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "intet navn"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "ingen værdi"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "ingen"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "ikke lig med"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "åben"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "personlig gruppe '%1' for bruger '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "kø %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "afvist"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "løst"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sek."
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr "vis Konfigurations tab"
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "regneark"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "stallet"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "system %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "system gruppe '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "den kaldende komponent specificerede ikke hvorfor"
-
-#: NOT FOUND IN SOURCE
-msgid "ticket #%1"
-msgstr "ticket #%1"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "ticket #%1 %2"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "ubeskrevet gruppe %1"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "ubeskrevet gruppe %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "bruger %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "uger"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "med template %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "år"
-
diff --git a/rt/lib/RT/I18N/de.po b/rt/lib/RT/I18N/de.po
deleted file mode 100644 (file)
index 0b7f1ef..0000000
+++ /dev/null
@@ -1,4749 +0,0 @@
-# German localization catalog for Request Tracker (RT)
-# FIRST AUTHOR: Florian Bischof <flo@fxb.de>, May 2002
-# Update by Torsten Brumm <torsten.brumm@kuehne-nagel.com>
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 2.1.54\n"
-"POT-Creation-Date: 2002-06-22 06:06+0200\n"
-"PO-Revision-Date: 2003-02-20 04:47+0200\n"
-"Last-Translator: Karsten Konrad <karsten.konrad@uni-graz.at>\n"
-"Language-Team: RT German <rt@fxb.de>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr "$prefix %1"
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 #%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %3. %2 %7, %4:%5:%6"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 hinzugefügt"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "vor %1 %2"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 geändert in %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 gelöscht"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 mit der Vorlage %3"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) von %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (Unverändert)"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Ein Argument zur Übergabe an %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Statusausgabe auf STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Gibt an, welches Action-Modul benutzt werden soll"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Gibt an, welches Condition-Modul benutzt werden soll"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Gibt an, welches Search-Modul benutzt werden soll"
-
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "ScripAction %1 geladen"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 als Wert für %2 hinzugefügt"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr ""
-"%1 konnte nicht in der Datenbank gefunden werden obwohl es ein lokales "
-"Objekt zu sein scheint"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 von %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 von %2 in %3 geändert"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "%1 kopieren"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 konnte nicht auf %2 gesetzt werden."
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr ""
-"%1 konnte den Status nicht auf erledigt setzen. Die RT-Datenbank könnte "
-"inkonsistent sein."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "%1 erstellt"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "%1 gelöscht"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "Ihre %1 Anfragen höchster Priorität"
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 ist kein %2 dieses Bereichs mehr."
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 Min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "Die %1 neusten Anfragen ohne Besitzer"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 Objekte"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 Rechte"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 wird alle Mitglieder eines erledigten Gruppentickets anführen."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%1's %2 Objekte"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr "%1's %2's %3 Objekte"
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "%1's gespeicherte Suchanfragen"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: kein Anhang angegeben"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr  "'%1' ist ein ung\303\274ltiger Wert f\303\274r Status"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Auswahl wird gelöscht)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Benachrichtigung der markierten Empfänger wird unterdrückt)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Benachrichtigungen an markierte Empfänger aktivieren)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Geben Sie die Anfrage IDs oder URLs getrennt durch Leerzeichen ein)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Standardwert: %1)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Keine benutzerdefinierten Felder)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Keine Mitglieder)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Keine Scrips)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Keine Vorlagen)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(Nichts)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(Benutze diese Felder, für 'Benutzer definierte' Bedingungen oder Aktionen)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(leer)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(kein Name gelistet)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(kein Wert)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(keine Werte)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(nur eine Anfrage)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(wartet auf Freigabe)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(wartet auf andere Sammlung)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(notwendig)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(unbenannt)"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr "<%$_%>"
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Neue Anfrage in\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Eine leere Vorlage"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE nicht gefunden"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACEs können nur erstellt und gelöscht werden."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr "UND"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Über mich"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Zugriffskontrolle"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Aktion"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Aktion %1 nicht gefunden"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr "Aktion durchgeführt.\\n"
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Aktion vorbereitet..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Hinzufügen"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "AdminCC hinzufügen"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "CC hinzufügen"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr "Spalten hinzufügen"
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Kriterium hinzufügen"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Weitere Dateien anhängen"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Klient hinzufügen"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Wert hinzufügen"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Scrip erstellen, das auf alle Bereiche angewendet wird"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "zusätzliches Kriterium hinzufügen"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Füge den ausgewählten Anfragen Kommentare oder Antworten hinzu"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Mitglieder hinzufügen"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Neue Beobachter hinzufügen"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr "Hinzufügen, Löschen und Ändern von Werten benutzerdefinierter Felder von Objekten"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Rolle wurde als %1 für diesen Bereich hinzugefügt"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Rolle wurde als %1 für diese Anfrage hinzugefügt"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Adresse 1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Adresse 2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin CC"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Admin Kommentar"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Admin Korrespondenz"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Admin Bereiche"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Admin/Globale Einstellungen"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "AdminBenutzerdefiniertesFeld"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "AdminGruppe"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "AdminGruppenZugehörigkeit"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "AdminEigenePersönlicheGruppen"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "AdminBereich"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "AdminBenutzer"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Administrative CC"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Erweitert"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "nach dem"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr "Operator"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Alle Freigaben genehmigt"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Alle Bereiche"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr "Und/Oder"
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "gilt für"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "anwenden"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Änderungen anwenden"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Freigabe"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Freigabe #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Freigabe #%1: Notiz wurde aufgrund eines Systemfehlers nicht gespeichert"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Freigabe #%1: Notiz gespeichert"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Freigabe genehmigt"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Freigabe abgelehnt"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Freigeben"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Notizen des Freigebenden: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Apr."
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "aufsteigend"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Zuweisen und Entfernen von benutzerdefinierten Feldern"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "BenutzerdefiniertesFeldZuweisen"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Anhängen"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Datei anhängen"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Dateianhang"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Anhang '%1' konnte nicht geladen werden"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Anhang erstellt"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Dateiname des Anhangs"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Anhänge"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Attribut gelöscht"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Aug."
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Automatische Antwort"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Automatische Antwort an Klienten"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Grundlagen"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "BCC"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Änderungen speichern"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "vor dem"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "Binär"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Leer"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr "Fett"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "Speicherbarer Link"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Kurze Kopfzeilen"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Massen Anfrageaktualisierung"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Kann Systembenutzer nicht ändern"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Kann diese Rolle diesen Bereich sehen"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Kann kein benutzerdefiniertes Feld ohne Namen hinzufügen"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Kann keine gespeicherte Suche finden"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Kann kein Anfrage auf sich selbst verweisen lassen!"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Kann diese Suche nicht speichern"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Sie können Basis und Ziel nicht gleichzeitig angeben"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Kann Benutzer nicht anlegen: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "CC"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Passwort ändern"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Alle auswählen"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Zum Löschen anwählen"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Zum Entziehen einer Berechtigung anwählen"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Kinder"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Stadt"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Alles löschen"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Geschlossen"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Geschlossene Anfragen"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Kommentar"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Kommentaradresse"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Kommentiere Anfragen"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "AnfrageKommentieren"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Kommentare (werden nicht an Klienten geschickt)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Kommentare (werden nicht an Klienten geschickt)"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Kommentare zu diesem Benutzer"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Kommentar hinzugefügt"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Commit Stumpf ausgeführt"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Bedingung"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Bedingung trifft zu..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Bedingung nicht gefunden"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Konfiguration"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Bestätigen"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Inhalt"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "Inhaltstyp"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Kopie"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Korrespondenz"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Korrespondenz hinzugefügt"
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr "Konnte keinen neuen benutzerdefinierten Wert hinzufügen"
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr "Konnte kein neuen benutzerdefinierten Wert hinzufügen. %1 "
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Konnte den Besitzer nicht ändern. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Konnte benutzerdefiniertes Feld nicht erzeugen"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr "Konnte benutzerdefiniertes Feld nicht erzeugen: %1"
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Konnte Gruppe nicht anlegen"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Konnte Vorlage nicht anlegen: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Konnte Anfrage nicht anlegen. Bereich nicht angegeben"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Konnte Benutzer nicht anlegen"
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Konnte diesen Benutzer nicht finden oder anlegen"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Konnte diese Rolle nicht finden"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Konnte benutzerdefiniertes Feld %1 nicht laden"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Konnte die Gruppe nicht laden"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Konnte diese Rolle nicht zu einen %1 dieses Bereichs machen"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Konnte diese Rolle nicht zu einem %1 dieses Anfragen machen"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Konnte diese Rolle nicht als %1 dieses Bereichs entfernen"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Konnte Benutzerinformation nicht speichern"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Konnte Benutzer nicht der Gruppe hinzufügen"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Konnte die Transaktion nicht anlegen: %1"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Konnte Zeile nicht finden"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Konnte diese Rolle nicht finden"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Konnte diesen Wert nicht finden"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Konnte %1 nicht aus der Benutzerdatenbank laden.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "Konnte die Klasse %1 nicht laden"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "Konnte das benutzerdefinierte Feld %1 nicht laden"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Konnte Gruppe %1 nicht laden"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Konnte den Verweis nicht laden"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Konnte Objekt %1 nicht laden"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Konnte den Bereich nicht laden"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Konnte den Bereich %1 nicht laden"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Konnte das Anfrage '%1' nicht laden"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Land"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Erstellen"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Erstelle Anfragen"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Erstelle ein benutzerdefiniertes Feld"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Erstelle ein benutzerdefiniertes Feld für den Bereich %1"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Erstelle eine neue Gruppe"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Erstelle eine neue persönliche Gruppe"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Erstelle eine neue Anfrage"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Erstelle einen neuen Benutzer"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Erstelle einen Bereich"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Erstelle ein Scrip für den Bereich %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Erstelle eine Vorlage"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Neue Anfrage"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Erstelle neue Anfragen basierend auf der Vorlage dieses Scrips"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Anfrage erzeugen"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Erstelle Anfragen in diesem Bereich"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Erstellen, löschen und modifizieren von benutzerdefinierten Felder"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Erstelle, lösche und modifiziere Bereich"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Erstellen, löschen und modifizieren von Mitgliedern persönlicher Gruppen"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Erstellen, löschen und modifizieren von Benutzern"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr "GespeicherteSucheErstellen"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "AnfrageErstellen"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Angelegt"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Erstelle ein benutzerdefiniertes Feld %1"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Ersteller"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Momentane Beziehungen"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Aktuelle Scrips"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Aktuelle Mitglieder"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Aktuelle Rechte"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Aktuelle Beobachter"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Benutzerdefinierte Felder"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Benutzerdefinierte Felder für %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Benutzerdefinierter Aktions-Aufräum-Code"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Benutzerdefinierter Aktions-Vorbereitungs-Code"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Benutzerdefinierte Bedingung"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Benutzerdefiniertes Feld %1 hat einen Wert."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Benutzerdefiniertes Feld %1 hat keinen Wert."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Benutzerdefiniertes Feld %1 nicht gefunden"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Benutzerdefiniertes Feld nicht gefunden"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Wert %1 des benutzerdefinierten Feldes %2 konnte nicht gefunden werden"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Wert des benutzerdefinierten Felds konnte nicht gelöscht werden"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Wert des benutzerdefinierten Feldes konnte nicht gefunden werden"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Wert des benutzerdefinierten Feldes gelöscht"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "BenutzerdefiniertesFeld"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Datumsangaben"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Dez."
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Standard Vorlage für automatische Antworten"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Standard Bereich"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Standard Klient"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Standard Vorlage für Admin-Kommentar"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Standard Vorlage für Admin-Korrespondenz"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Standard Vorlage für Korrespondenz"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Standard Vorlage für Transaktion"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Standard: %1/%2 von \"%3\" auf \"%4\" geändert."
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Rechte weitergeben"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Ihnen gewährte Rechte weitergeben"
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "RechteWeitergabe"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Rechteweitergabe"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Löschen"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Vorlage löschen"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Ausgewähltes Script löschen"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Anfragen löschen"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "AnfrageLöschen"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-# Are these three strings really different?
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Löschen dieses Objektes würde die referenzielle Integrität verletzen"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Löschen dieses Objektes würde die referenzielle Integrität verletzen"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Löschen dieses Objektes würde die referenzielle Integrität verletzen"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Ablehnen"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Ist Voraussetzung von"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Als Voraussetzung von %1 hinzugefügt"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Als Voraussetzung von %1 gelöscht"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Setzt jetzt %1 voraus"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Setzt %1 nicht mehr voraus "
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Voraussetzungen"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "absteigend"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Beschreiben Sie hier das Problem"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Beschreibung"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Anzeige"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Zeige Zugriffskontrollliste (ACL) an"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Spalten anzeigen"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Zeige Scrip-Vorlagen für diesen Bereich"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Zeige Scrips für diesen Bereich"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Anzeigemodus"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "Gespeicherte Suchanfragen für diese Gruppe anzeigen"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Mache irgend etwas und alles"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr "Suche durchführen"
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Diese Seite nicht aktualisieren."
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Herunterladen"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "Als Tabulator separierte Datei speichern"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Fällig"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Bearbeite benutzerdefinierte Felder für %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Bearbeite Beziehungen"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Bearbeite Suche"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Bearbeite Vorlagen für den Bereich %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr "Bearbeite gespeicherte Suchanfragen für diese Gruppe"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Bearbeite Systemvorlagen"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "GespeicherteSucheEditieren"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Bearbeite Konfiguration für den Bereich %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Bearbeite benutzerdefiniertes Feld %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Bearbeite Mitgliedschaft für die Gruppe %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Bearbeite Mitgliedschaft der persönlichen Gruppe %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Es muss entweder eine Basis oder ein Ziel angegeben werden"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "E-Mail"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "E-Mail-Adresse bereits in Gebrauch"
-
-# ## muss das überhaupt übersetzt werden???
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Aktiviert (Abwählen deaktiviert dieses benutzerdefinierte Feld)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Aktiviert (Abwählen deaktiviert diese Gruppe)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Aktiviert (Abwählen deaktiviert diesen Bereich)"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Aktivierte Bereiche"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Status aktiviert: %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "Status aktiviert: %1"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Mehrere Werte eingeben"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Einen Wert eingeben"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Gib bis zu %1 Werte ein"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Fehler"
-
-# Queue->AddWatcher ist ein Code-Teil, nicht übersetzen
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Fehler in den Parametern zu Queue->AddWatcher"
-
-# Queue->DeleteWatcher ist ein Code-Teil, nicht übersetzen
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Fehler in den Parametern zu Queue->DeleteWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Fehler in den Parametern zu Ticket->AddWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Fehler in den Parametern zu Ticket->DeleteWatcher"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Anfragen eskalieren"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Geschätzt"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Jeder"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Beispiel:"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Zusatzinformationen"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Konnte die Pseudogruppe 'Privileged' nicht finden."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Konnte die Pseudogruppe 'Unprivileged' nicht finden."
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Konnte Modul %1 nicht laden. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Feb."
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Dateiname"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "Mehrere Textfelder füllen"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "Ein Textfeld füllen"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "%1 Textfelder füllen"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Endpriorität"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "EndPriorität"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Finde Gruppen dessen"
-
-msgid" Find groups whose"
-msgstr "Finde Gruppen dessen"
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Finde Leute deren"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Anfragen suchen"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Erste"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Änderung erzwingen"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "%1 Anfrage(n) gefunden"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Objekt gefunden"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "Freie Eingabe"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Fr."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Alle Kopfzeilen"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Vorlage von Datei nehmen"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "An %1 übergeben"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Global"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Globale benutzerdefinierte Felder"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr "Konfiguration globaler benutzerdefinierter Felder"
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Globale Vorlage: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Start"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Los!"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Zeige Anfrage"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Gruppe"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Gruppenrechte"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Gruppe hat bereits Mitglieder"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Gruppe konnte nicht erstellt werden: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Gruppe angelegt"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Gruppe hat kein solches Mitglied"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Gruppe nicht gefunden"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Gruppen"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Gruppen können nicht Mitglied eines ihrer Mitglieder sein"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "Gruppen auf die das Suchkriterium passt"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "Gruppen zu denen der Benutzer gehört"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Hallo!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Hallo %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Geschichte"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "Geschichte der Gruppe %1"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "Geschichte des Benutzers %1"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Start"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Ich habe %quant(%1, Betonmischer)"
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr "Ich bin verwirrt"
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Nr."
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identität"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr ""
-"Wenn eine Freigabe abgewiesen wird, weise das Original ab und lösche "
-"wartende Freigaben"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "Wenn kein Klient spezifiziert ist, dann generiere Anfragen mit diesem Klienten"
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Wenn kein Bereich spezifiziert ist, dann generiere das Anfrage in diesem Bereich"
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr ""
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Wenn Sie etwas aktualisiert haben, denken Sie daran hier zu speichern"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Unerlaubter Wert für %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Bild"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Unveränderbares Feld"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Zeige auch deaktivierte Gruppen an."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Zeige auch deaktivierte Bereiche an."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Zeige deaktivierte Benutzer auch in der Suche an."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr "Unvollständige Suche"
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr "Unvollständige Anfrage"
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Anfängliche Priorität"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "AnfänglichePriorität"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Eingabefehler"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Interner Fehler"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Interner Fehler: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Ungültige Gruppenart"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Ungültiges Recht"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Ungültige Daten"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Ungültiger Bereich"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Ungültiges Recht"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Ungültiger Wert für %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Ungültiger Wert für das benutzerdefinierte Feld"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Ungültiger Statuswert"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Es verarbeitet verschiedene Parameter:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr "kursiv"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Jan."
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Betrete oder verlasse diese Gruppe"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul."
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Alles"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun."
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Sprache"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr "Groß"
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Letzter Kontakt"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Letzter Kontakt"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Zuletzt Kontaktiert"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Zuletzt Aktualisiert"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "ZuletztBearbeitetVon"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Links"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Diesem Benutzer RT-Zugriff gewähren"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Diesem Benutzer Rechte zuweisen lassen"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Beziehung existiert bereits"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Beziehung konnte nicht erstellt werden"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Beziehung erstellt (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Beziehung gelöscht (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Beziehung nicht gefunden"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Verweise auf Anfrage #%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Beziehungen"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Laden"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Gespeicherte Suchanfragen laden"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr "GespeicherteSucheLaden"
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Geladene Perl Module"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Adresse"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr ""
-"Log-Verzeichnis %1 nicht gefunden oder kein Schreibzugriff.\\n RT kann nicht "
-"starten."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Angemeldet als %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Anmelden"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Abmelden"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "Suchtyp unpassend"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Besitzer festlegen"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Status festlegen"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Fälligkeitsdatum festlegen"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Erledigungsdatum festlegen"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Anfangsdatum festlegen"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Startdatum festlegen"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Eingangsdatum festlegen"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Priorität festlegen"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Bereich festlegen"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Betreff festlegen"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr "Diese Gruppe dem Benutzer anzeigen"
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "Verwalte benutzerdefinierte Felder und Werte"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Gruppen und Gruppenmitglieder verwalten"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Eigenschaften und Einstellungen für alle Bereiche verwalten"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Bereich und bereichspezifische Einstellungen verwalten"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Benutzer und Passworte verwalten"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mär."
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Mai"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Mitglied %1 hinzugefügt"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Mitglied %1 gelöscht"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Mitglied hinzugefügt"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Mitglied gelöscht"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Mitglied nicht gelöscht"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Mitglied von"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Mitglieder"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Mitgliedschaft in %1 hinzugefügt"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Mitgliedschaft in %1 gelöscht"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Mitgliedschaft"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "Mitgliedschaft des Benutzers %1"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Vereinigung erfolgreich"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Vereinigung fehlgeschlagen. Konnte EffectiveId nicht setzen"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr "Vereinigung fehlgeschlagen. Konnte Status nicht setzen"
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Vereinigen mit"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Vereinigt mit %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Nachricht"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "Nachricht konnte nicht gespeichert werden"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Nachricht gespeichert"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "Nachrichten über diese Anfrage werden nicht an diese Empfänger gesendet:"
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr "Unausgeglichene Klammerung"
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "%1: Fehlt ein Primärschlüssel?"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Handy"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Ändere Zugriffskontrollliste (ACL)"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr "Alle benutzerdefinierten Felder %2, die zu %1 gehören, ändern"
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Alle benutzerdefinierten Felder, die zu %1 gehören, ändern"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Gruppenrechte ändern"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Mitglieder ändern"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Rechte ändern"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Ändere Scrip-Vorlagen für diesen Bereich"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Ändere Scrips für diesen Bereich"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Ändern der Benutzerrechte"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Ändere ein benutzerdefiniertes Feld für den Bereich %1"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Ändere ein Scrip für den Bereich %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Ändere ein globales benutzerdefiniertes Feld"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Ändern der assoziierte Objekte von %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Ändere Datumsangaben für #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Ändere Datumsangaben für Anfrage #%1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr "Ändern der globalen benutzerdefinierten Felder"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Ändere globale Gruppenrechte"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Ändere globale Gruppenrechte."
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Ändere globale Benutzerrechte"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Ändere globale Benutzerrechte."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Ändere Gruppen-Metadaten oder lösche die Gruppe"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Ändere Gruppenrechte für das benutzerdefinierte Feld %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Ändere die Gruppenrechte der Gruppe %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Ändere Gruppenrechte für den Bereich %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Ändere Mitgliedsverzeichnis dieser Gruppe"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Ändert den eigenen RT-Zugang"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Ändere Personen im Zusammenhang mit diesem Bereich %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Ändere Personen der Anfragen #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Ändere Scrips für den Bereich %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Ändere auf alle Bereiche angewandte Scrips"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Ändere Vorlage %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Ändere globale Vorlagen"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Ändere Gruppe %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Ändere die Bereichsbeobachter"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Ändere Benutzer %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Ändere Anfrage #%1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Ändere Anfrage #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Ändere Anfragen"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Ändere Benutzerrechte für benutzerdefinierte Felder von %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Ändere Benutzerrechte für die Gruppe %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Ändere Benutzerrechte für den Bereich %1"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ACLBearbeiten"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr "BenutzerdefiniertesFeldBearbeiten"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "EigeneMitgliedschaftBearbeiten"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "BereichsBeobachterBearbeiten"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ScripsBearbeiten"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "SelbstBearbeiten"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "VorlageBearbeiten"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "AnfrageBearbeiten"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Mo."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Mehr über %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Hinunter verschieben"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Hinauf verschieben"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Mehrere"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Sie müssen eine Angabe bei 'Name' machen"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "Meine %1 Anfragen"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Meine Freigaben"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Meine gespeicherten Suchanfragen"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Name"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Benutzername ist bereits in Gebrauch"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Niemals"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Neu"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Neue Beziehungen"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Neues Passwort"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Neue wartende Freigaben"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Neue Suche"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Neues benutzerdefiniertes Feld"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Neue Gruppe"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Neues Passwort"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Neue Passworterinnerung wurde verschickt"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Neuer Bereich"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Neue Rechte"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Neues Scrip"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Neue Vorlage"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Neue Anfrage"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Neue Anfrage existiert nicht"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Neuer Benutzer"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Neuer Benutzer aufgerufen"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Neue Beobachter"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Nächste"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Nächste Seite"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Spitzname"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "Keine Klasse definiert"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Kein benutzerdefiniertes Feld"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Kein benutzerdefiniertes Feld definiert"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Keine Gruppe definiert"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Keine Suche"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Kein Bereich vorhanden"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr ""
-"Kein RT-Benutzer gefunden. Bitte kontaktiere Sie Ihren "
-"RT-Administrator.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Keine Vorlage"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Keine Aktion"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Keine Spalte angegeben"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Kein Kommentar zu diesem Benutzer angegeben"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Keine Beschreibung für %1 vorhanden"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Keine Gruppe angegeben"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Keine Gruppe mit diesen Kriterien gefunden"
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "Keine Nachricht angefügt"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Kein Passwort gesetzt"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Keine Erlaubnis Bereiche anzulegen"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Kein Erlaubnis um Anfragen im Bereich '%1' anzulegen"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Kein Recht Benutzer anzulegen"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Kein Recht dieses Anfrage anzuzeigen"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Kein Recht dieses Anfrage zu aktualisieren"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Keine Rolle angegeben"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Keine Rolle ausgewählt."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Keine den Suchkriterien entsprechenden Bereiche gefunden"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Keine Rechte gefunden"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Keine Rechte gewährt."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Keine Suche zu bearbeiten."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Kein Betreff"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Kein Transaktionstyp angegeben"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Keine auf die Suchkriterien passende Benutzer gefunden"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Kein Wert an _Set geschickt!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Niemand"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Nichtexistierendes Feld?"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Nicht angemeldet."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Nicht angegeben"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Noch nicht implementiert."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Bemerkungen"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Benachrichtigung konnte nicht verschickt werden"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Benachrichtige AdminCCs"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Benachrichtige AdminCCs als Kommentar"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "Benachrichtige CCs"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "Benachrichtige CCs als Kommentar"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Benachrichtige andere Empfänger"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Benachrichtige andere Empfänger als Kommentar"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Benachrichtige Besitzer"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Benachrichtige Besitzer als Kommentar"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "Besitzer über ihre abgewiesene Anfrage informieren"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-"Benachrichtige Besitzer, dass sein Anfrage von allen Entscheidungsträgern "
-"freigegeben wurde"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-"Benachrichtige Besitzer, dass sein Anfrage von einigen Entscheidungsträgern "
-"freigegeben wurde"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Benachrichtige Besitzer und AdminCCs neuer auf Freigabe wartende Anfragen"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Benachrichtige die Klienten"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Benachrichtige die Klienten und CCs"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Benachrichtige die Klienten und CCs als Kommentar"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Benachrichtige die Klienten, CCs und AdminCCs"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Benachrichtige die Klienten, CCs und AdminCCs als Kommentar"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov."
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr "Oder"
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Objekt konnte nicht erstellt werden"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr "Objekt konnte nicht gelöscht werden"
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objekt erstellt"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr "Objekt gelöscht"
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "Objekt vom Typ %1 kann keine benutzerdefinierten Felder haben"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "Objekt Typ passt nicht"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Okt."
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Offline"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Offline Bearbeitung"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Offline Upload"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "am"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Bei Kommentar"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Bei Korrespondenz"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Bei Erstellen"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Bei Besitzerwechsel"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "Bei Änderung der Priorität"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Bei Änderung des Bereichs"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Beim Erledigen"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Beim Ändern des Status"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Bei einer Transaktion"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Zeige nur Freigaben für nach dem %1 erstelle Anfragen"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Zeige nur Freigaben für vor dem %1 erstellte Anfragen"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Offen"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Öffnen"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Offene Anfragen"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Öffne Anfragen bei Korrespondenz"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Sortiert nach"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organisation"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Ursprüngliche Anfrage: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Ausgehende Mail eines Kommentars gespeichert"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Ausgehende Mail gespeichert"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Mit der Zeit steigt die Priorität auf"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Eigene Anfragen"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "EigeneAnfrage"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Besitzer"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "Besitzer konnte nicht gesetzt werden"
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Besitzer mit Gewalt von %1 in %2 geändert"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Seite %1 von %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Pager"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Eltern"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Passwort"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Passworterinnerung"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr "Passwort geändert"
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Passwort ist zu kurz"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Passwort: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Passwörter verschieden"
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Passwörter verschieden, keine Änderung"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Personen"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Führe eine benutzerdefinierte Aktion aus"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Perl Konfiguration"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Zugriff verweigert"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Persönliche Gruppen"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Persönliche Gruppen"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Persönliche Gruppen:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Telefonnummern"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Voreinstellungen"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Prepare Stumpf ausgeführt"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Vorherige"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Vorherige Seite"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Rolle %1 nicht gefunden."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Priorität"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Priorität beginnt bei"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Privatsphäre:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Privilegiert"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Privilegierungsstatus: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Privilegierte Benutzer"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudogruppe für internen Gebrauch"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Suche"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Suche erstellen"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Bereich"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Bereich %2 nicht gefunden"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Name des Bereichs"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Bereich existiert bereits"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Bereich konnte nicht angelegt werden"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Bereich konnte nicht geladen werden"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Bereich angelegt"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Bereich nicht gefunden"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Bereiche"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Schnellsuche"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Schnelle Anfrageerstellung"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 für %2"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT Administration"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT Fehler"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "RT Variablen"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT auf einen Blick"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT für %1"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Echter Name"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Referenz von %1 hinzugefügt"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Referenz von %1 gelöscht"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Referenz auf %1 hinzugefügt"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Referenz auf %1 gelöscht"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Referenziert von"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Bezieht sich auf"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Seite alle %1 Minuten aktualisieren."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Entferne AdminCC"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Entferne CC"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Entferne Klient"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Antworten"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Antwort Adresse"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Antwort an Klienten"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Antworte auf Anfragen"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "AnfrageBeantwortung"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Klient"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Klienten"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Anfragen sollten erlegt werden innerhalb"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Benötigter Parameter '%1' nicht angegeben"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Zurücksetzen"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Zuhause"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Erledigen"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Erledige Anfrage #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Erledigt"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Ergebnisse"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Passwort wiederholen"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Zurücksetzen"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Recht weitergegeben"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Recht erteilt"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Recht geladen"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Recht konnte nicht zurückgezogen werden"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Recht nicht gefunden"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Recht nicht gefunden."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Recht zurückgezogen"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Rechte"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Rechte für %1 konnten nicht gewährt werden"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Rechte für %1 konnten nicht entzogen werden"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Rollen"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Zeilen pro Seite"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sa."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Speichern"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Änderungen Sichern"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Einstellungen speichern"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Änderungen Sichern"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Gespeicherte Suchanfragen"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip angelegt"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Scrip Felder"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip gelöscht"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrips"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Auf alle Bereiche angewandte Scrips"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Suchen"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Suche nach Freigaben"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Sicherheit:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Benutzerdefinierte Felder anzeigen"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "Anzeigen der gesendeten Nachricht und deren Empfänger"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Anzeigen von anfrage-privaten Kommentaren"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Anfrage Zusammenfassungen anzeigen"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "Benutzerdefiniertes Feld anzeigen"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr "GruppeAnzeigen"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "BereichAnzeigen"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "Auswahl"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Wählen Sie ein benutzerdefiniertes Feld aus"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Wählen Sie eine Gruppe aus"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr ""
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr "Wählen Sie einen Bereich für Ihre neue Anfrage"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Wählen Sie einen Benutzer aus"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Wählen Sie ein benutzerdefiniertes Feld"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr "Wählen Sie benutzerdefinierte Felder für alle Benutzergruppen aus"
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr "Wählen Sie benutzerdefinierte Felder für alle Benutzer aus"
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr "Wählen Sie benutzerdefinierte Felder für alle Anfragen in allen Bereichen aus"
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr "Wählen Sie benutzerdefinierte Felder für Transaktionen mit Anfragen in allen Bereichen aus "
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Wählen Sie eine Gruppe aus"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Wählen Sie mehrere Werte aus"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Wählen Sie einen Wert aus"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Wählen Sie einen Bereich aus"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Wählen Sie ein Scrip aus"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Wählen Sie eine Vorlage aus"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Wählen Sie bis zu %1 Werte aus"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Wählen Sie einen Benutzer aus"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Ausgewählte Benutzerdefinierte Felder"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Ausgewählte Objekte"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Schickt eine Nachricht an alle Beobachter"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Schickt einen Kommentar an alle Beobachter"
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Schickt eine Nachricht an die Klienten und CCs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Schickt einen Kommentar an die Klienten und CCs"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Schickt eine Nachricht an die Klienten"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Schickt eine Nachricht an die direkt angegebenen CCs und BCCs"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Schickt eine Nachricht an alle CCs"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Schickt einen Kommentar an alle CCs "
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Schickt eine Nachricht an die administrativen CCs"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Schickt einen Kommentar an die administrativen CCs"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Schickt eine Nachricht an den Besitzer"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep."
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Zeige"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Zeige Freigaben"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Zeige Spalten"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Zeige Ergebnisse"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Zeige freigegebene Anfragen"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Zeige Grundlagen"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Zeige abgelehnte Anfragen"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Zeige Details"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Zeige anhängige Anfragen"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Zeige auf andere Freigaben wartende Anfragen"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "ACLAnzeigen"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr "KonfigurationsMenüAnzeigen"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "AusgehendeNachrichtenAnzeigen"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "GespeicherteSuchanfragenAnzeigen"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "ScripsAnzeigen"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "VorlagenAnzeigen"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "AnfragenAnzeigen"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "AnfrageKommentareAnzeigen"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Als Klient einer Anfrage oder Anfrage- bzw. Bereichs-CC eintragen"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Als Anfrage- oder Bereichs-AdminCC eintragen"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "E-Mail-Signatur"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Einzel"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Überspringe Menü"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr "Klein"
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Sortieren"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Phase"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Begonnen"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Beginnt"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Staat"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Status"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Statusänderung"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Status von %1 auf %2 geändert"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Übernehmen"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Anfragen übernehmen"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "AnfrageÜbernehmen"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Gestohlen von %1"
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Betreff"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Betreff wurde auf %1 geändert"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Übermitteln"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Gelungen"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "So."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperBenutzer"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "System"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "System Konfiguration"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Systemfehler"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "System Werkzeuge"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Systemfehler. Recht nicht delegiert."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Systemfehler. Recht nicht gewährt."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Systemgruppen"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SystemRolegroup für internen Gebrauch"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Übernehmen"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Anfragen übernehmen"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "AnfrageÜbernehmen"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Übernommen"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Vorlage"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Vorlage #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Vorlage gelöscht"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Vorlage nicht gefunden"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Vorlagen eingelesen"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Vorlagen"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Text"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Das ist bereits der aktuelle Wert"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Dies ist kein gültiger Wert für dieses benutzerdefinierte Feld"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Das ist der gleiche Wert"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Diese Rolle hat dieses Recht bereits"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Diese Rolle ist bereits ein %1 dieses Bereichs"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Diese Rolle ist bereits ein %1 dieser Anfrage"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Diese Rolle ist nicht ein %1 dieses Bereichs"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Dieser Bereich existiert nicht"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Diese Anfrage hat ungelöste Abhängigkeiten"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Diese Anfrage gehört bereits diesem Benutzer"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Dieser Benutzer existiert nicht"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Dieser Benutzer ist bereits privilegiert"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Dieser Benutzer ist bereits unprivilegiert"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Dieser Benutzer ist jetzt privilegiert"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Dieser Benutzer ist jetzt unprivilegiert"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Diesem Benutzer dürfen keine Anfragen aus diesen Bereich gehören"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Dies ist keine numerische ID"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Grundlagen"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "Der CC einer Anfrage"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "Der administrative CC einer Anfrage"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr ""
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Der neue Wert wurde gesetzt."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Der Besitzer einer Anfrage"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Der Klient einer Anfrage"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Diese Kommentare sind generell nicht für den Benutzer sichtbar"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "Dieses benutzerdefinierte Feld passt nicht zum Objekt"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Dieses Feature ist nur für Systemadministratoren verfügbar"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Diese Nachricht wird an folgende Empfänger gesendet:"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr ""
-"Dieses Werkzeug erlaubt es Benutzern beliebige Perl-Module von RT aus "
-"aufzurufen."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Diese Transaktion scheint keinen Inhalt zu haben"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Die %1 dringensten Anfragen dieses Benutzers"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Do."
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Anfrage #%1 Alles aktualisieren: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Anfrage #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Anfrage %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Anfrage %1 wurde im Bereich '%2' angelegt"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Anfrage %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Benutzerdefinierte Anfrage Felder"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Geschichte von Anfrage #%1 %2"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Anfrage erledigt"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Anfrage Transaktion"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Inhalt der Anfrage"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Art des Inhalts der Anfrage"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Anfrage konnte aufgrund eines internen Fehlers nicht angelegt werden"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Anfrage Metadaten"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Status der Anfrage geändert"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr "SQL Anfrage Suchmodul"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Anfragen"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Anfragen, die von dieser Freigabe abhängen:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Geschätzte Zeit"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Verbleibende Zeit"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Arbeitszeit"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Verbleibende Zeit"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr ""
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Gearbeitete Zeit"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "Arbeitszeit"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Eingegangen"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Werkzeuge"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transaktion"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transaktion %1 eliminiert"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transaktion erstellt"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Benutzerdefinierte Felder bei Transaktionen"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Transaction->Create fehlgeschlagen, da Objekttyp und ID nicht angegeben wurden"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transaktionen sind unveränderbar"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Di."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Typ"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Nicht implementiert"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Unix Login"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Unbekannte Inhaltskodierung (Content-Encoding) %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr "Unbekanntes Feld: $key"
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "unbegrenzt"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Unbenannte Suche"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Unprivilegiert"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Nichtausgewähltes benutzerdefiniertes Feld"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Nichtausgewähltes Objekte"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Zurückgegeben"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Aktualisieren"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Alles aktualisieren"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Anfrage Aktualisieren"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Aktualisierungtyp"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Mehrere Anfragen aktualisieren"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Aktualisierung nicht gespeichert."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Aktualisiere ausgewählte Anfragen"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Aktualisiere Anfrage"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Aktualisiere Anfrage #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Aktualisiere Anfrage #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Aktualisierungstyp war weder Korrespondenz noch Kommentar."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Aktualisiert"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Hochladen"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Hochladen mehrerer Dateien"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Hochladen mehrerer Bilder"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Hochladen einer Datei"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Hochladen eines Bildes"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "Hochladen von bis zu %1 Dateien"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "Hochladen von bis zu %1 Bildern"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Änderungen hochladen"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "Benutzer '%1' konnte nicht gefunden werden"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Benutzerdefiniert"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Benutzerdefinierte Konditionen und Aktionen"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Benutzerrechte"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-"Benutzer hat einen unbekannten Aktualisierungstyp für das benutzerdefinierte "
-"Feld %1 bei %2-Objekt #%3 verlangt"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Benutzer konnte nicht angelegt werden: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Benutzer angelegt"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Benutzerdefinierte Gruppe"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Benutzer geladen"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Benutzerdefinierte Gruppe"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Benutzername"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Benutzer"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Auf diese Kriterien zutreffende Benutzer"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Gültige Suche"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Werte"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Beobachte"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "BeobachteAlsAdminCc"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Beobachter"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Mi."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Wenn eine Anfrage erstellt wird"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr ""
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Wenn irgendetwas passiert"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Immer wenn eine Anfrage erledigt wird"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Immer wenn der Besitzer einer Anfrage wechselt"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Immer wenn sich die Priorität eines Anfragen ändert"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Immer wenn eine Anfrage den Bereich wechselt"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Immer wenn sich der Status einer Anfrage ändert"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Immer wenn eine benutzerdefinierte Bedingung auftritt"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Immer wenn ein neuer Kommentar eingeht"
-
-1c7f\r
-itialdata:157
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Immer wenn neue Korrespondenz eingeht"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Arbeit"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Offline arbeiten"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Arbeitszeit"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Sie sind bereits Besitzer dieser Anfrage"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Sie sind kein autorisierter Benutzer"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Sie können nur Anfragen ohne Besitzer zuweisen"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Sie haben %1 Anfragen im Bereich %2 gefunden"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Sie wurden von RT abgemeldet."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Sie haben kein Recht, Anfragen in diesem Bereich anzulegen."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Sie dürfen in diesem Bereich keine Anfragen erstellen"
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Sie können sich gerne wieder anmelden"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr ""
-"Ihre Anfrage wurde von %1 freigegeben. Andere Freigaben können noch "
-"ausstehen."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Ihre Anfrage wurde freigegeben."
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Ihre Anfrage wurde abgewiesen"
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Ihr Benutzername oder Passwort ist falsch"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "PLZ"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr "Erlaube Erstellung von gespeicherten Suchabfragen"
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr "Erlaube das Laden von gespeicherten Suchabfragen"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "wie an %1 gewährt"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr "gehört zu"
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "geschlossen"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "enthält"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "Tage"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "gelöscht"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr "gehört nicht zu"
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "enthält nicht"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "enthält nicht"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "gleich"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr "Fehler: Kann nicht hinunter bewegen"
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr "Fehler: Kann nicht nach links bewegen"
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr "Fehler: Kann nicht hinauf bewegen"
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr "Fehler: Nichts zu löschen"
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr "Fehler: Nichts zu bewegen"
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr "Fehler: Nichts zum Umschalten"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "größer als"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "Gruppe '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "Stunden"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "ID"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "ist"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "ist nicht"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "kleiner als"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "enthält"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "Min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "Minuten"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "Monate"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "neu"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "kein Name"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "kein Wert"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "keine"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "ungleich"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "offen"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "persönliche Gruppe '%1' für Benutzer '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "Bereich %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "abgewiesen"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "erledigt"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "Sek"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr "Zeige Konfigurationsmenü"
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "Tabellenkalkulation"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "zurückgestellt"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "System %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "Systemgruppe '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "die aufrufende Komponente gab nicht an warum"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "Anfrage #%1 %2"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "unbeschriebene Gruppe %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "Benutzer %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "Wochen"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "Jahre"
-
diff --git a/rt/lib/RT/I18N/en.po b/rt/lib/RT/I18N/en.po
deleted file mode 100644 (file)
index 28a8406..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Apr"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Aug"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Dec"
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Feb"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Fri"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Home"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Jan"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "May"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Mon"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Oct"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Open"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Home"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sat"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Sun"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Thu"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Tue"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Wed"
-
diff --git a/rt/lib/RT/I18N/es.po b/rt/lib/RT/I18N/es.po
deleted file mode 100644 (file)
index 87759ee..0000000
+++ /dev/null
@@ -1,6065 +0,0 @@
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 2.1.x\n"
-"POT-Creation-Date: 2002-05-02 11:36+0800\n"
-"PO-Revision-Date: 2003-03-23 12:38\n"
-"Last-Translator: Tomàs Núñez Lirola <tomasnl@dsl.upc.es>\n"
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "#%1"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %2 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "Añadido %1 %2"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "Hace %1 %2"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 ha cambiado a %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 borrado"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 con la plantilla %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 este caso\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "%1 - %2 mostrados"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Un parametro para pasar a %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - El estado de la salida actualiza STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Especifica el modulo de accion que quieres usar"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Especifica el modulo de condicion que quieres usar"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Especifica el modulo de busqueda que quieres usar"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "%1 ScripAction cargado"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "$1 añadido como un valor de %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1 alias requieren un TicketId en el que trabajar"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "%1 alias requieren un TicketId en el que trabajar "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1 alias requieren un TicketId en el que trabajar (de %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 parece ser un objeto local, pero no se encuentra en la base de datos"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 por %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 ha cambiado de %2 a %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 no se ha podido fijar a %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 no pudo iniciar una transacción (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 no pudo fijar el estado a resuelto. La base de datos de RT podría ser inconsistente."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "Los %1 tickets de mayor prioridad que poseo... "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "Los %1 tickets de mayor prioridad que he pedido"
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "$1 es una herramienta para actuar sobre los tickets con una herramienta de planificacion externa, como crom"
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 ha dejado de ser un %2 para esta cola."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 ha dejado de ser un %2 para este ticket."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 ha dejado de ser un valor para campo personalizable %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 no es un identificador de Cola válido."
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 no mostrado"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 privilegios"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 exitoso\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1 tipo desconocido para $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1 tipo desconocido para %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 se creó sin CurrentUser\\n"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 resolverá todos los miembros de un grupo de tickets resueltos."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 pondrá como pendiente una BASE [local] si es dependiente [o miembro] de una solicitud ligada."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: ningún archivo adjunto especificado"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' es un valor inválido para el estado"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' no es una acción reconocida. "
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(Marque la caja para borrar al miembro del grupo)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Marque la caja para borrar el scrip)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Marque la caja para borrar)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(Marque las cajas para borrar)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Si se deja vacio, pasara por defecto a %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(Sin Valor)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(No hay campos custom)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Sin miembros)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Sin scrips)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Sin plantillas)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Envia una copia oculta de esta actualizacion a una lista delimitada por comas de direcciones de email. <b>NO</b> cambia quien recibirá futuras actualizaciones)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Envía una copia oculta de esta actualización a una lista de direcciones de correo delimitada por comas. <b>No</b> cambia a quien recibirá futuras actualizaciones.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Envia una copia oculta de esta actualización a una lista delimitada por comas de direcciones de email administrativas. Estas personas <b>recibirán</b> las futuras actualizaciones.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Envia una copia oculta de esta actualización a una lista delimitada por comas de direcciones de email.<b>NO</b> cambia quien recibirá futuras actualizaciones."
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Manda una copia de esta actualización a una lista de direcciones de correo delimitada por comas. <b>No</b> cambia a quien recibirá futuras actualizaciones.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Envia una copia de esta actualización a una lista de direcciones de correo delimitada por comas. Estas personas <b>recibirán</b> actualizaciones futuras."
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(vacío)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(no hay nombres listados)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(sin asunto)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(sin valor)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr ""
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(solo un ticket)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(pendiente de aprobacion)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(pendiente de otros tickets)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(requerido)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(sin titulo)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "Los 25 tickets de mayor prioridad que poseo..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "Los 25 tickets de mayor prioridad que he solicitado..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Nuevo ticket en\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Una plantilla en blanco"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE Borrado"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE Cargado"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "ACE no se pudo borrar"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "ACE no se encontró"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE no encontrado"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACEs solo pueden ser creadas o borradas."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Abortando para prevenir modificaciones no intencionadas al ticket\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Sobre mi"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Control de acceso"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Acción"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Acción %1 no encontrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Action committed."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Acción preparada..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr ""
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Añadir AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Añadir Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr ""
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Añadir más archivos"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Añadir solicitante"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Add a keyword selection to this queue"
-msgstr "Añadir una seleccion de palabra clave a esta cola"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Añadir un nuevo scrip global"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Añadir un scrip a esta cola"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Añadir un scrip que se aplicará a todas las colas"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr ""
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Añadir comentarios o respuestas a los tickets seleccionados"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Añadir miembro"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Añadir nuevos observadores"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "AddNextState"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Principal ha sido añadido como %1 para esta cola"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Principal ha sido añadido como %1 para este ticket"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Dirección 1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Dirección 2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Admin Comment"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Admin Correspondence"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Administración de colas"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Administración de usuarios"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Adminsitración de la configuración global"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Administración de Grupos"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Administración de una cola"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "AdminAllPersonalGroups"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "AdminComment"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "AdminCorrespondence"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "AdminCustomFields"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "AdminGroup"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "AdminGroupMembership"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "AdminOwnPersonalGroups"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "AdminQueue"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "AdminUsers"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Cc Administrativa"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Búsqueda avanzada"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Después"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Edad"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Todos los campos custom"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Todas las colas"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Siempre envia un mensaje a los solicitantes independientemente del remitente del mensaje"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr ""
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Aprobacion"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Aprobacion #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Aprobación #%1: No se han guardado las notas debido a un error del sistema"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Aprobacion #%1: Notas guardadas"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Detalles de la aprobación"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr ""
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Diagrama de la aprobación"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Aprobar"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Notas del aprobador: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Abr."
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "Abril"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Ascendente"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Adjunto"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Adjuntar archivo"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Archivo adjunto"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Archivo adjunto '%1' no pudo ser cargado"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Archivo adjunto creado"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Nombre del archivo adjunto"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Archivos adjuntos"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr ""
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Ago."
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "Agosto"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "Sistema de autenticación"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Autorespuesta"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Autorespuesta a los solicitantes"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "AutoreplyToRequestors"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Firma PGP incorrecta: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Identificador de archivo adjunto erróneo. No se puede encontrar el archivo '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Datos incorrectos en %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Número de transacción incorrecta para el archivo adjunto. %1 debe ser %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Basicos"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Asegúrese de salvar sus cambios"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Antes"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Begin Approval"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Vacio"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "URL para guardar esta búsqueda en sus marcadores"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Encabezados breves"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Actualización de varios tickets a la vez"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "No se pueden modificar los usuarios del sistema"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Can this principal see this queue"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "No se puede agregar un campo personalizable si no tiene un nombre"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "No se puede ligar un ticket a sí mismo"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "No se puede fusionar dentro de un caso ya fusionado. Nunca deberia recibir este error"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr ""
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "No se puede especificar origen y destino al mismo tiempo"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "No se puede crear el usuario: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Cambiar contraseña"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Check box to delete"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Seleccione la caja para quitar el permiso"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Hijo"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Ciudad"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Cerrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Solicitudes cerradas"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "No se entendió el comando!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Comentario"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Dirección de comentario"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Comentario no grabado"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Comentario sobre los tickets"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "CommentOnTicket"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Comentarios"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Comentarios (no se envían a los solicitantes)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Comentarios (no se envían a los solicitantes)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Comentarios acerca de %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Comentarios acerca de este usuario"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Comentarios añadidos"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Acción realizada"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Compilar restricciones"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Condición"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "La condicion coincide..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Condición no encontrada"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Configuración"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Confirmar"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "Información de contacto"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Fecha de contacto '%1' no pudo ser leida"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Contenido"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "No se pudo crear grupo"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr ""
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Correspondencia"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Dirección de corresponencia"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Correspondencia agregada"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Correspondencia no guardada"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "No se pudo añadir un nuevo valor de campo personalizable para el ticket. "
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "No se pudo añadir un nuevo valor de campo personalizable para el ticket. %1 "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "No se pudo cambiar el propietario. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "No se puede crear un CampoPersonalizable"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "No se pudo crear el grupo"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "No se pudo crear la plantilla: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "No se pudo crear el ticket. Cola no seleccionada"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "No se pudo crear el usuario"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "No se pudo crear un observador para el solicitante"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "No se pudo encontrar un ticket con identificador $1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "No se pudo encontrar el grupo %1."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "No se pudo encontrar o crear el usuario"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "No se pudo encontrar ese principal"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "No se pudo encontrar el usuario %1."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "No se puede cargar el grupo"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "No se pudo hacer ese principal un %1 para esta cola"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "No se pudo hacer ese principal un %1 para este ticket"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "No se pudo quitar ese principal como un %1 para esta cola"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "No se pudo quitar ese principal como un %1 para este ticket"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "No se pudo agregar el miembro al grupo"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "No se pudo crear la transacción: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "No se pudo averiguar que hacer a partir de la firma gpg de la respuesta"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "No se pudo encontrar el grupo\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "No se pudo encontrar la fila"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "No pudo enconcontrar ese principal"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "No se pudo encontrar ese valor"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "No se pudo encontrar ese observador"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "No se pudo encontrar el usuario\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "No se pudo cargar %1 desde la base de datos de usuarios.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "No se pudo cargar KeywordSelects"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "No se pudo cargar el archivo de configuración de RT '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "No se pudieron cargar los Scrips."
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "No se pudo cargar el grupo %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "No se puedo cargar el enlace"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr ""
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "No se pudo cargar la cola"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "No se pudo cargar la cola %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "No se pudo cargar el scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "No se pudo cargar la plantilla"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "No se pudo cargar ese usuario (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "No se pudo cargar el ticket '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "País"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Crear"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Crear Tickets"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Crear CampoPersonalizable"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Crear un campo personalizables para la cola %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Crear un campo personalizable que se aplique a todas las colas"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Crear un nuevo campo personalizable"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Crear un nuevo scrip global"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Creat un nuevo grupo"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Crear un nuevo grupo personal"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Crear una nueva cola"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Crear un nuevo scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Crear una nueva plantilla"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Crear un nuevo ticket"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Crear un nuevo usuario"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Crear una cola"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Crear una cola llamada "
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Crear una solicitud"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Crear un scrip para la cola %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Crear una plantilla"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Creación fallida: %1 / %2 / %3 "
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "Creación fallida: %1 / %2 / %3 "
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Crear nuevos tickets basados en esta plantilla de scrip"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Crear ticket"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Crear tickets en esta cola"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Crear, borrar y modifical campos personalizables"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Crear, borrar y modificar colas"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Crear, borrar y modificar los miembros de cualquier grupo personal de usuario"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Crear, borrar y modificar los miembros de los grupos personales"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Crear, borrar y modificar usuarios"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "CreateTicket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Creado"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "CampoPersonalizable %1 creado"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Plantilla %1 creada"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr ""
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Relaciones actuales"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Scrips actuales"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Miembros actuales"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Permisos actuales"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Criterio de busqueda actual"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Observadores actuales"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Campo personalizable #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Campos personalizables"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Codigo de limpieza de accion personalizable"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Codigo de preparacion de accion personalizable"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Condicion personalizable"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Campo personalizado %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Campo personalizado %1 tiene un valor."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Campo personalizado %1 no tiene un valor."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Campo personalizado %1 no encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Campo personalizable borrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Campo personalizado no encontrado"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "El valor del campo %1 no pudo ser encontrado para el campo %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Valor del campo cambiado de %1 a %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "El valor del campo no pudo ser borrado"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "El valor del campo no pudo se encontrado"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Valor del campo borrado"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "CustomField"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "Error de datos"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Fechas"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Dic."
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "Diciembre"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Plantilla de autorespuesta por defecto"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Plantilla de autorespuesta por defect"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr ""
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr ""
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Plantilla de comentario de admin por defecto"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Plantilla de correspondencia de admin por defecto"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Plantilla de correspondencia por defecto"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Plantilla de trasacciones por defecto"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Por defecto: %1/%2 ha cambiado de %3 a %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Delegar derechos"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Delegar derechos especificos que te han sido concedidos"
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "DelegateRights"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Delegar"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Borrar"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Borrar tickets"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "DeleteTicket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Al borrar este objeto, se puede romper la integridad referencial"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Al borrar este objeto, se romperá la integridad referencial"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Al borrar este objeto, se violará la integridad referencial"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "Al borrar este objeto, se violará la integridad referencial."
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "Al borrar este objeto, se violará la integridad referencial. Eso es malo."
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Denegar"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Dependen de este ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Dependencias: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Depende de"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "DependsOn"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Descendiente"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Describa el problema debajo"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Descripción"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Detalles"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Despliegue"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Mostrar Lista de Control de Acceso"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Mostrar plantillas de scrip para esta cola"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Mostrar scrips para esta cola"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Modo de despliegue"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Despliega ticket #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Hacer cualquier cosa y todo"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "No recargar esta página"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "No mostrar los resultados de la busqueda"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Descargar"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Retraso"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "La fecha de retraso '%1' no pudo ser leida"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "ERROR: No se pudo cargar el ticket '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Editar"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Editar campos personalizados para %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Editar relaciones"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr ""
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Editar plantillas para la cola %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "Editar palabras clave"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Editar acciones"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Editar plantillas del sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Editar plantillas para %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Editando configuración para la cola %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Editando configuración para el usuario %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Editando campo %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Editando los miembros del grupo %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Editando los miembros para el grupo personal %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Editando plantilla %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "La base o el destinatario deben ser especificados"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Correo"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "La dirección de correo ya está en uso"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "Correo Electrónico"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "Codificación para el correo"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Habilitado (Desmarcar esta caja deshabilita este campo personalizable)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Habilitado (Desmarcar esta caja deshabilita este campo personalizable)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Habilitado (Desmarcar esta caja, deshabilita esta cola)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Campos Personalizables Habilitados"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Colas habilitadas"
-
-       
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Estado %1 habilitado"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Introducir multiples valores"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Introducir un valor"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Ingrese los números de ticket o las URL que llevan hacia el ticket. Separe multiples entradas con espacios"
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Error"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "Error añadiendo observador"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Error en los parámetros para Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Error en los parámetros para Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Error en los parámetros para Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Error en los parámetros para Queue->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr ""
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr ""
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Todos"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Ejemplo"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "ExternalAuthId"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "ExternalContactInfoId"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Información extra"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Problema para encontrar el pseudogrupo de usuarios 'Privileged'"
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Problema para encontrar el pseudogrupo de usuarios 'Unprivileged'"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Error al cargar el modulo %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Feb."
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "Febrero"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Fin"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Prioridad Final"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "FinalPriority"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Encontrar grupo que"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Encontrar tickets nuevos/abiertos"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Encontrar gente que"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Encontrar tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Aprobacion final"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Primero"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Primera página"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Forzar cambio"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Encontrado %quant(%1,ticket)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Objeto encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FreeformContactInfo"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "FreeformMultiple"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "FreeformSingle"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Vie."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Encabezados completos"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Obteniendo el usuario de la firma pgp"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Given to %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Global"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Global Keyword Selections"
-msgstr "Seleccion de palabras clave globales"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Acciones Globales"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Plantilla global"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr ""
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr " Ir "
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Firma pgp correcta de %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Ir a página"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Ir a ticket"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Grupo"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Grupo %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Derechos del grupo"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "El grupo ya tiene miembros"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "El grupo no se pudo crear"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "El grupo no se pudo crear: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Grupo creado"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "El grupo no tiene este miembro"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Grupo no encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Grupo no entontrado\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Grupo no especificado\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Grupos"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Los grupos no pueden ser miembros de sus propios miembros"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Hola!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Hola, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historial"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "Tel Casa"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Inicio"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Tengo %quant(%1,concrete mixer)."
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "Tengo [quant,_1,concrete mixer]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Id"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identidad"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Si una aprobacion es rechazada, rechazar la original y borrar las aprobaciones pendientes"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr ""
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr ""
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Si esta herramienta estaba setgid, un usuario hostil local podria usar esta herramienta para conseguir acceso administrativo a RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Si ha actualizado algo más arriba, no olvide"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Valor ilegal para %1"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Campo inmutable"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Incluir campos personalizables deshabilitados en el listado."
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr ""
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Incluir colas deshabilitadas en el listado"
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Incluir usuarios deshabilitados en la búsqueda"
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Prioridad inicial"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "InitialPriority"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Error de entrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Interest noted"
-msgstr "Interest noted"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Error interno"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Error interno: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Tipo de grupo inválido"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Derechos inválidos"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Tipo inválido"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Datos no válidos"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Propietario inválido. Estableciéndolo a 'nobody'."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Área inválida"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Permiso inválido"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Valor inválido para %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Valor inválido para el campo personalizable"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Valor inválido para el estado"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Es increiblemente importante que los usuarios sin privilegios no puedan ejecutar esta herramienta"
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Es recomendable crear un usuario unix sin privilegios que pertenezca al grupo correcto y que tenga aceso a ejecutar esta herramienta"
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Tiene varios parametros:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Items pendientes de mi aprobación"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Ene."
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "Enero"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Unirse o abandonar este grupo"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul."
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "Julio"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Todo"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun."
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "Junio"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Palabras clave"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Leng"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Último"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Último contacto"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Último contactado"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Se le notifico por ultima vez"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Actualizado por ultima vez"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "LastUpdated"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Izquierda"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Permitir a este usuario acceder al RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Permitir que este usuario tenga privilegios adicionales"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Limitando propietario a %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Limitando cola a %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "El vínculo ya existe"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "El vínculo no pudo ser creado"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Vínculo creado (%2)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Vínculo borrado (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Vínculo no encontrado"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Vincular caso #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "Enlazar ticket %1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Enlaces"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Direccion"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "El directorio del log %1 no pudo ser encontrado o no se pudo escribir en él.\\n RT no puede ejecutarse."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Autenticado como %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Entrar"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Salir"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Hacer propietario a"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Establecer estatus"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Establecer fecha de plazo"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Establecer fecha de resolución"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Establecer fecha de inicio"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Establecer fecha de inicio"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Establecer fecha de último cambio"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Establecer prioridad"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Establecer cola"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Establecer título"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Administrar grupos y miembros"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Administrar propiedades y configuracion que se aplique a todas las colas"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Administrar colas y propiedades especificas"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Administrar usuarios y contraseñas"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "Marzo"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "Mayo"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "May."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Miembro añadido"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Miembro borrado"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Miembro no borrado"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Miembro de"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "MemberOf"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Miembros"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Fusión exitosa"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Fusión fallida. No se pudo establecer el EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Fusionar dentro de"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr ""
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Mensaje"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Falta una clave primaria?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Movil"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "Telefono Movil"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Modificar lista de control de acceso"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Modificar el campo personalizable %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Modificar los campos personalizables que se apliquen a todas las colas"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr ""
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Modificar plantillas Sript para esta cola"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Modificar Scrips para esta cola"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "Modificar ACLs de sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Modificar plantilla %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Modificar un campo personalizable para la cola %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Modificar un campo personalizable que se aplique a todas las colas"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Modificar un scrip para la cola %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Modificar un scrip que se aplique a todas las colas"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "Modificar fechas para # %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Modificar fechas para #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Modificar fechas para ticket # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Modificar privilegios globales de grupo"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Modificar privilegios globales de grupo."
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "Modificar privilegios globales para grupos"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "Modificar privilegios globales para usuarios"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Modificar acciones globales"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Modificar derechos globales de usuario"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Modificar privilegios globales de usuario"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Modificar metadatos del grupo o borrar grupo"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Modificar privilegios de grupo para %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Modificar privilegios de grupo para la cola %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Modificar miembros de este grupo"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Modificar la propia cuenta RT"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Modificar personas relacionadas al cola %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Modificar personas relacionadas al ticket #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Modificar acciones para la cola %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Modificar scrips que se aplican a todas las colas"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Modificar plantilla %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Modificar plantillas que se aplican a todas las colas"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Modificar el grupo %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Modificar los observadores de la cola"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Modificar el usuario %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Modificar el ticket # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Modificar el ticket #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Modificar tickets"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Modificar privilegios de usuario para el grupo %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Modificar derechos de usuario para la cola %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Modificar observadores para la cola '%1'"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ModifyACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "ModifyOwnMembership"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "ModifyQueueWatchers"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ModifyScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "ModifySelf"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "ModifyTemplate"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "ModifyTicket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Lun."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Más acerca de %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Mover hacia abajo"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Move hacia arriba"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Múltiple"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Se debe especificar un nombre"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Mis aprobaciones"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Mis aprobaciones"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Nombre"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Nombre en uso"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Se necesita aprobacion del administrador del sistema"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Nunca"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Nuevo"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nuevas relaciones"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nueva contraseña"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Nueva pendiente de aprobación"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Nueva búsqueda"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Nuevo campo personalizable"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Nuevo grupo"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nueva contraseña"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Notificación de nueva contraseña enviada"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Nueva cola"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Nueva solicitud"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nuevos privilegios"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Nuevo scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Nueva búsqueda"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Nueva plantilla"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "El ticket nuevo no existe"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Nuevo usuario"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Nuevo usuario llamado"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Nuevo observador"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Establecer nueva ventana "
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Siguiente"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Siguiente página"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Alias"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Alias"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "No hay campo personalizable"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "No hay grupo definido"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "No hay cola definida"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "No se encontró el usuario. Por favor consulte al administrador.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "No hay plantilla"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "No se especificó el ticket. Abortada la transacción"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "No se especificó ticket. Abortando las modificaciones al ticket\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "No action"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "No se ha especificado ninguna columna"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Comando no encontrado\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "No hay comentarios sobre este usuario"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "No hay ningún archivo adjunto"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "No hay descripción para %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "No hay grupo especificado"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "No hay contraseña definida"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "No tiene privilegios para crear colas"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "No tiene privilegios para crear tickets en la cola '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "No tiene privilegios para crear usuarios"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "No tiene privilegios para mostrar el ticket"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Sin permiso para ver la actualización del ticket"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "No hay un principal especificado"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "No hay principales seleccionados"
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "No hay colas que concuerden con los criterios de búsqueda"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "No se encontraron derechos"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Sin privilegios concedidos"
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "No hay búsqueda sobre la que operar"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "No se especificó el identificador del ticket"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "No se especificó el tipo de transacción"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "No se especificó email o usuario"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "No se encontraron usuarios que concuerden con los criterios de búsqueda"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Usuario no encontrado. El manejador cvs está deshabilitado. Por favor consulte a su administrador.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "No se envió ningun valor a _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Nadie"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Campo no existente?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "No autenticado"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "No autenticado."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "No establecido"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "No se ha implementado."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "No está implementado..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Notas"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "La notificación no se pudo enviar"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Notificar AdminCcs"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Notificar AdminCcs como comentario"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Notificar otros destinatarios"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Notificar otros destinatarios como comentario"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Notificar al propietario"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Notificar al propietario como comentario"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Notificar propietarios y AdminCcs de nuevos items pendientes de aprobación"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Notificar solicitantes"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Notificar solicitantes y Ccs"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Notificar solicitantes y Ccs como comentario"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Notificar solicitantes, Ccs y AdminCcs"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Notificar solicitantes, Ccs y AdminCcs como comentario"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov."
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "Noviembre"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "No se pudo crear el objeto"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objeto creado"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Oct."
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "Octubre"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "en "
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Al comentar"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "On Correspond"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Al crear"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Al cambiar de propietario"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr ""
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Al cambiar de cola"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Al resolver"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Al cambiar de status"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Al hacer transaccion"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Solo muestra aprobaciones para solicitudes creadas despues de %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Solo muestra aprobaciones para solicitudes creadas antes de %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Abierto"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Abrirlo"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Solicitudes abiertas"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Tickets abiertos (del listado) en una nueva ventana"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Tickets abiertos (del listado) en otra ventana"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Open tickets on correspondence"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Ordenación y clasificación"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organización"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Ticket originario: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Pasada la fecha de gracia, la prioridad se mueve a"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Tickets poseidos"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "OwnTicket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Propietario"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Propietario cambiado de %1 a %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Propietario cambiado forzosamente de %1 a %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "El propietario es"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Buscapersonas"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Buscapersonas Tel."
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Padres"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Contraseña"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Recordatorio de contraseña"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr "Contraseña cambiado"
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Contraseña demasiado corta"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Contraseña: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr ""
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr ""
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Personas"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Realizar una acion definida por el usuario"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Permiso denegado"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Grupos personales"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Grupos personales"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Grupos personales:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Números de teléfono"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Placeholder"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Preferencias"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Prefs"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Preparación cortada"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Prev"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Página anterior"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "No se encontró el principal %1"
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioridad"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "La prioridad empieza en"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr ""
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Privilegiado"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Estado privilegiado: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Usuarios privilegiados:"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudogrupo para uso interno"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr ""
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr ""
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Cola"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Cola %1 no encontrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Cola '%1' no encontrada\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Keyword Selections"
-msgstr "Selecciones de palabras clave de la cola"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Nombre de la cola"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Acciones de la cola"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "La cola ya existe"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "La cola no se pudo crear"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "La cola no se pudo cargar"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Cola creada"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "No se especifico ninguna cola"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Cola no encontrada"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Colas"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr ""
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr ""
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 para %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 de <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Derechos reservados 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Administración del RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "Error de autenticación en RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "Rechazo del RT: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "Error de configuración del RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "Error crítico en RT. El mensaje no fue grabado!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Error del RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT recibió correo (%1) de sí mismo."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "RT recibió correo (%1) de sí mismo."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT AutoServicio / Tickets cerrados"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr ""
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT en un vistazo"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT no te pudo autenticar."
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT no pudo encontrar el solicitante a través de una busqueda a la base de datos externa"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT no pudo encontrar la cola: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT no pudo validar esta firma PGP. \\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT para %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT para %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT ha procesado tus comandos"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT es &copy; Copyright 1996-%1 de Jesse Vincent &lt;jesse@bestpractical.com&gt;.  Es distrbuido bajo <a href=\"http://www.gnu.org/copyleft/gpl.html\">la version 2 de la licencia GNU GPL (General Public License)</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT cree que este mensaje puede ser un mensaje rebotado"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT procesará este mensaje como si fuera uno no firmado\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "El modo de comandos por correo de RT requiere autenticación PGP. Ya sea que no haya firmado su mensaje, o que su firma no pueda ser verificada."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Nombre real"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "Nombre real"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Referenciado por"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Hace referencia a"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "RefersTo"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Refinar"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Refinar la búsqueda"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Refrescar esta página cada %1 minutos"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Quitar AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Quitar Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Quitar solicitante"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Responder"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr ""
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Responder a los tickets"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "ReplyToTicket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Solicitante"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Dirección de correo del solicitante"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Solicitante(s)"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "RequestorAddresses"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Solicitantes"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Las solicitudes entran en vencimiento en"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr ""
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Borrar"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Residencia"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Resolver"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Resolver ticket #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Resuelto"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Responder a los solicitantes"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Resultados"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Resultados por página"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Confirmar contraseña"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Privilegio %1 no encontrado para %2 %3 referente a %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Privilegio delegado"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Privilegio otorgado"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Privilegio cargado"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Privilegio no pudo ser revocado"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Privilegio no encontrado"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Privilegio no cargado"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Privilegio revocado"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Privilegios"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "No se pudieron conceder los privilegios a %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "No se pudieron revocar los privilegios de %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Roles"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "RootApproval"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr ""
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sab."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr ""
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Guardar Cambios"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Guardar cambios"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr ""
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Acción creada"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Acción borrada"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Acciones"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Acciones para %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Acciones que se aplican a todas las colas"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Búsqueda"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Criterios de búsqueda"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Buscar aprobaciones"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Seguridad:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "Ver cola"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Seleccione un grupo"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Seleccione una cola"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Seleccione un usuario"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Seleccionar un campo personalizable"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Seleccionar grupo"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Seleccionar valores múltiples"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Seleccionar un valor"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Seleccionar cola"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Seleccionar accion"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Selecionar plantilla"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Seleccionar usuario"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "SelectMultiple"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "SelectSingle"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Autoservicio"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Enviar mail a todos los observadores"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Enviar mail a todos los observadores como comentario"
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Enviar mail a los solicitantes y Ccs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Enviar mail a los solicitantes y Ccs como comentario"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Envia un mesaje a los solicitantes"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Enviar mail a los Ccs y Bccs listados explicitamente"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Envia mail a los Ccs administrativos"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Envia mail a los Ccs administrativos como comentario"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Enviar mail al propietario"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep."
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "Septiembre"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Mostrar resultados"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Mostrar peticiones aprobadas"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Mostrar lo básico"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Mostrar solicitudes denegadas"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Mostrar detalles"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Mostrar solicitudes pendientes"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Mostrar solicitudes esperando otras aprobaciones"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Mostrar ticket en un comentario privado"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Mostrar resumen del ticket"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "ShowACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "ShowScrips"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "ShowTemplate"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "ShowTicket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "ShowTicketComments"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Validarse como solicitante de ticket o ticket o cola Cc"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Validarse como ticket o cola AdminCc"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Firma"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Validado como %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Sencillo"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Saltar Menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Clave de ordenación"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Ordenar resultados por"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "Ordenamiento"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Pendiente"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Página de inicio"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Empezado"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "La fecha de inicio '%1' no se pudo leer"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Empieza"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Empezado por"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "La fecha de inicio '%1' no se pudo ser leer"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Estado"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Estado"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Cambio de status"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Estado cambiado de %1 a %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "StatusChange"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Robar"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Robado de %1"
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Asunto"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Asunto cambiado a %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Enviar"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Submit Workflow"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Completado"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Dom."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "Superusuario"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Sistema"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Error del sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "Error de sistema. Derecho no concedido"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "Error de sistema. Derecho no concedido"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Error del sistema. Privilegio no delegado."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Error del sistema. Privilegio no otorgado"
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "Error de sistema. Incapaz de conceder permisos"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Grupos del sistema"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SystemRolegroup for internal use"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Coger"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Cogido"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Plantilla"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Plantilla #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Plantilla borrada"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Plantilla no encontrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Plantilla no encontrada\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Plantilla procesada"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Plantillas"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Plantillas de %1\\n"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Ese es el valor actual"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Ese no es un valor para este campo personalizable"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Este es el mismo valor"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Ese principal ya es un %1 para esta cola"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Ese principal ya es un %1 para este ticket"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Ese principal no es un %1 para esta cola"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Ese principal no es un %1 para este ticket"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Esa cola no existe"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Ese ticket tiene dependencias sin resolver"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Ese usuario ya tiene ese privilegio"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Ese usuario ya posee ese ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Ese usuario no existe"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Ese usuario ya tiene privilegios"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Ese usuario ya está sin privilegios"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Ese usuario ahora tiene privilegios"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Ese usuario ya no tiene privilegios"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "Este usuario ya no tiene privilegios"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Ese usuario puede no poseer tickets en esa cola"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Ese no es un identificador numérico"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Lo básico"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "El CC de un ticket"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "El CC administrativo de un ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "El comentario ha sido grabado"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "El siguiente comando encontrará todos los tickets activos en la cola 'general' y pondra su prioridad a 99 si no han sido tocados en 4 horas:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "Los siguientes comandos no han sido procesados:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Ha sido establecido el nuevo valor"
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "El propietario de un ticket"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "El solicitante de un ticket"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Estos comentarios generalmente no están visibles para el usuario"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Este ticket %1 %2 (%3)"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Esta herramiento permite al usuario ejectutar modulos perl arbitrarios desde dentro de RT"
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Parece que esta transacción no tiene contenido"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Los %1 tickets de mayor prioridad de este usuario"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "Los 25 casos de mayor prioridad de este usuario"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Jue."
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Ticket # %1  %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "Actualizacion Jumbo para el ticket # %1: %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Actualización Jumbo para el ticket #%1: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Ticket #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Ticket %1 creado en la cola '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Ticket %1 cargado\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Ticket %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr ""
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Historial del ticket # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Id del ticket:"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Ticket resuelto"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Archivos adjuntos del ticket"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Contenido del ticket"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Tipo de contenido del ticket"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "No se pudo crear el ticket debido a un error interno"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Ticket creado"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Creación del ticket fallida"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Ticket borrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Id de ticket no encontrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "Ticket matado"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Ticket no encontrado"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Estado del ticket cambiado"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Observadores del ticket"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Tickets %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Tickets %1 por %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Tickets de %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Tickets que dependen de esta aprobación:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Tiempo Restante"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Tiempo Trabajado"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Tiempo restante"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Tiempo para mostrar"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Tiempo trabajado"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "TimeLeft"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "TimeWorked"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Para generar una comparación de este cometido:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "Para generar una comparación de este cometido:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Última actualización"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr ""
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transacción"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transacción %1 limpiada"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transacción creada"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Transaction->Create no pudo, ya no no especificó un ID de ticket"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Las transacciones son inmutables"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Intentando borrar el privilegio: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Mar."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Tipo"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "No implementado"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Usuario en Unix"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Usuario en Unix"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Codificación de contenido desconocida: %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Ilimitado"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr ""
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "No privilegiado"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "No cogido"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Actualizar"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Id de actualización"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr ""
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Tipo de actualización"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Actualizar todos estos casos al mismo tiempo"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Actualizar correo"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Actualizar nombre"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Actualización no grabada."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Actualizar tickets seleccionados"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Actualizar firma"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Actualizar ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Actualización de ticket # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Actualizar ticket #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Actualizar ticket #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "El tipo de actualización no fue ni respuesta ni comentario"
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Actualizado"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr ""
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Usuario %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Usuario %1 Contraseña: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Usuario '%1' no encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Usuario '%1' no encontrado\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Definido por el usuario"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "ID de usuario"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Id de usuario"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Privilegios de usuario"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "El usuario no pudo ser creado: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Usuario creado"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Grupos definidos por el usuario"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Usuario notificado"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Vista de usuario"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Nombre de usuario"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Usuarios"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Usuarios que concuerdan con los criterios de búsqueda"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "Valor de la cola"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Valores"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Observar"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "WatchAsAdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "Observador cargado"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Observadores"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "Codificación de Web"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Mie."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Cuando un ticket ha sido aprobado por todos los aprobadores, añadir correspondencia al ticket original"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Cuando un ticket ha sido aprobado por cualquier aprobador, añadir correspondencia al ticket original"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Cuando un ticket se crea"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Cuando una aprobacion de ticket se crea, notifica al propietario y AdminCC del item que espera su aprobación"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Cuando pasa cualquier cosa"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Siempre que un ticket este sin resolver"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Siempre que el propietario de un ticket cambie"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Siempre que la cola de un ticket cambie"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Siempre que el estado de un ticket cambie"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Siempre que ocurra una condicion definida por el usuario"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Siempre que venga algun comentario"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Siempre que venga correspondencia"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Trabajo"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Tel Trabajo"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Trabajado"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Usted ya es propietario de este caso"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Usted no es un usuario autorizado"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Usted solo puede reasignar casos que posee o que no posee nadie³"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "No tiene permiso para ver ese ticket.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Usted encontró %1 casos en la cola %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Se ha desconectado del sistema RT"
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "No tiene permiso para crear tickets en esa cola."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "No puede crear solicitudes en esa cola."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Es bienvenido a regresar en cualquier momento."
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Sus solicitudes %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Su administrador del RT ha desconfigurado el alias de correo que invoca el RT"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Su petición ha sido aprobada por %1. Otras aprobaciones pueden estar pendientes todavia"
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Su peticion ha sido aprobada."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Su petición ha sido rechazada"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Su petición ha sido rechazada"
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Nombre o contraseña de usuario incorrectos"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Zip"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[sin asunto]"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "como priviligiado para %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr ""
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "contiene"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "contenido"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "content-type"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "Respuesta (probablemente) no enviada"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "Correspondencia enviada"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "días"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "muerto"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "borrar"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "borrado"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "no coincide"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "no contiene"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "igual a"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "falso"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "nombre de archivo"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "mayor que"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "grupo '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "horas"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "id"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "es"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "no es"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "menor que"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "contiene"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minutos"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "modificaciones\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "meses"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "nuevo"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "sin valor"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "ninguno"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "no igual a"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "notlike"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "abierto"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "grupo personal '%1' para usuario '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "Cola %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "rechazado"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "resuelto"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sec"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "pendiente"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "sistema %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "grupo del sistema '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "el componente que llama no especifica por qué"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "ticket #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "verdadero"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "grupo sin descripción %1"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "grupo sin descripción %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "usuario %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "semanas"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "con plantilla %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "años"
-
diff --git a/rt/lib/RT/I18N/fi.po b/rt/lib/RT/I18N/fi.po
deleted file mode 100644 (file)
index eaac6bf..0000000
+++ /dev/null
@@ -1,5777 +0,0 @@
-# Finnish localization catalog for Request Tracker (RT)
-# First Author: Janne Pirkkanen <jp@oppipoika.net>, Jul 2002
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 2.1.x\n"
-"POT-Creation-Date: 2002-07-08 17:41+0200\n"
-"PO-Revision-Date: 2004-01-13 15:21+0200\n"
-"Last-Translator: Tuukka Vainio <tuukka.vainio@utu.fi>\n"
-"Language-Team: Finnish\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr ""
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr ""
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %3.%2 %7 %4:%5:%6"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 lisätty"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 sitten"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1: %2 muutettu arvoon %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 poistettu"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 pohjalla %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 tässä tapauksessa\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "näkyvillä %1 - %2"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr ""
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr ""
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr ""
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "ScriptAction %1 ladattu"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 lisätty arvoksi %2lle"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1 aliakset vaativat tapauksen id:n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "%1 aliakset vaativat tapauksen id:n "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1 aliakset vaativat tapauksen id:n (osoite %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 - %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 muutettu arvosta %2 arvoon %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "Arvoa %1 ei voitu asettaa arvoksi %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 ei voinut suorittaa tapahtumaa (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 ei voinut asettaa tilaa päätetyksi. RT:n tietokanta saattaa olla vioittunut."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "%1 tärkeintä omistamaani tapausta..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 tärkeintä tilaamaani tapausta..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 ei ole enää %2 tälle työjonolle"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 ei ole enää %2 tälle tapaukselle"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 ei ole enää kentän %2 arvo"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 ei ole kelvollinen työjonon id"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 ei näy"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 onnistui\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1 tyyppi tuntematon viestille $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1 tyyppi tuntematon viestille %2"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 päättää kaikki päätetyn ryhmän jäsentapaukset."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 jäädyttää [paikallisen] BASE jos se riippuu linkitetystä tapauksesta [tai on sen jäsen]."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: liitetiedostoa ei ole määritelty"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr ""
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' ei kelpaa tilan arvoksi"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' ei ole tunnettu tapahtuma."
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(Rastita laatikko poistaaksesi ryhmän jäsenen)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Rastita laatikko poistaaksesi toiminnon)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Rastita laatikko poistaaksesi)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(Rastita laatikko poistaaksesi)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Syötä tapausten numerot tai www-osoitteet, välilyönneillä erotettuina)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Jos jätetään tyhjäksi, palaa arvoon %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(Ei arvoa)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Ei kenttiä)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Ei jäseniä)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Ei toimintoja)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Ei pohjia)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Lähettää piilokopion vain tästä päivityksestä pilkulla erotettuihin sähköpostiosoitteisiin. <b>Ei lisää</b> pysyviksi vastaanottajiksi.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Lähettää piilokopion vain tästä päivityksestä pilkulla erotettuihin sähköpostiosoitteisiin. <b>Ei lisää</b> pysyviksi vastaanottajiksi.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Lähettää kopion tästä päivityksestä pilkulla erotettuihin hallinnollisiin sähköpostiosoitteisiin. <b>Lisää</b> pysyviksi vastaanottajiksi.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Lähettää kopion vain tästä päivityksestä pilkulla erotettuihin sähköpostiosoitteisiin. <b>Ei lisää</b> pysyviksi vastaanottajiksi.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Lähettää kopion vain tästä päivityksestä pilkulla erotettuihin sähköpostiosoitteisiin. <b>Ei lisää</b> pysyviksi vastaanottajiksi.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Lähettää kopion tästä päivityksestä pilkulla erotettuihin sähköpostiosoitteisiin. <b>Lisää</b> pysyviksi vastaanottajiksi.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(tyhjä)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(ei nimiä listattuna)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(ei otsikkoa)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(ei arvoa)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr ""
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(vain yksi tapaus)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(odottaa hyväksyntää)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(odottaa toisia tapauksia)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(pakollinen)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(nimetön)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "25 tärkeintä omistamaani tapausta..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "25 tärkeintä tilaamaani tapausta..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr ""
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr ""
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Uusi tapaus\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Tyhjä pohja"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE ei löytynyt"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACE:ja voi vain luoda ja poistaa."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Peruutetaan tarkoittamattomien tapausmuutosten välttämiseksi.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Omat asetukset"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Pääsynvalvonta"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Tapahtuma"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Tapahtumaa %1 ei löydetty"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr ""
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr ""
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Lisää kopio ylläpidolle"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Lisää kopio"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr ""
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Lisää useampi tiedosto"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Lisää tilaaja"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Lisää uusi yleinen toiminto"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Lisää toiminto tähän työjonoon"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Lisää kaikille työjonoille yhteinen toiminto"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr ""
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Lisää kommentteja tai vastauksia valituille tapauksille"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Lisää jäseniä"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Lisää uusia tarkkailijoita"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Lisätty toimeksiantaja %1:ksi tähän työjonoon"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Lisätty toimeksiantaja %1:ksi tälle tapaukselle"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Osoite1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Osoite2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Kopio ylläpidolle"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr ""
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr ""
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Työjonojen ylläpito"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Käyttäjien ylläpito"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Ylläpito/Yleiset asetukset"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Ylläpito/Ryhmät"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Ylläpito/Työjono/Perustiedot"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "Kopio ylläpidolle"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr ""
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr ""
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr ""
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Kopio ylläpidolle"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Tarkennettu haku"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Jälkeen"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Ikä"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Kaikki kentät"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Kaikki työjonot"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr ""
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Hyväksyntä"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr ""
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr ""
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Hyväksynnän lisätiedot"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr ""
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr ""
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Hyväksy"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Hyväksyjän merkintöjä: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "huhti"
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "huhtikuu"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Nouseva"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Liitä"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Liitä tiedosto"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Liitä tiedosto"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Liitteen '%1' lataaminen ei onnistunut"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Liitetiedosto luotu"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Liitetiedoston nimi"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Liitetiedostot"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr ""
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "elo"
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "elokuu"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr ""
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Automaattivastaus tilaajille"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Virheellinen PGP allekirjoitus: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Virheellinen liitteen numero. Liitetiedostoa '%1' ei löytynyt\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Virheellistä dataa kentässä %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Virheellinen tapahtuman numero liitetiedostolle. %1 pitäisi olla %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Perustiedot"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Piilokopio"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Muista tallentaa muutokset"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "ennen"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Tyhjä"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "Osoite tähän kyselyyn (selaimen kirjanmerkkeihin)"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Lyhyet otsikot"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Tapausten ryhmäpäivitys"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Järjestelmäkäyttäjien muokkaus ei ole sallittua"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Näkeekö toimeksiantaja tämän työjonon"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Kentän lisääminen ilman nimeä ei onnistu"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Tapausta ei voi linkittää itseensä"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Et voi yhdistää jo yhdistettyyn tapaukseen. Sinun ei pitäisi saada tätä virhettä koskaan."
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr ""
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Sekä juuren ja kohteen määritteleminen samalla ei ole mahdollista"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Käyttäjää ei voitu luoda: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Kopio"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Muuta salasana"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Valitse laatikko poistaaksesi"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Valitse laatikko peruaksesi oikeuden"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Lapset"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Kaupunki"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Suljettu"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Suljetut tapaukset"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Komentoa ei ymmärretty!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Kommentoi"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Kommenttien osoite"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Kommenttia ei tallennettu"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Kommentoi tapauksia"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Kommentit"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Kommentti (ei lähetetä tilaajille)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Kommentti (ei lähetetä tilaajille)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Kommentit kohteesta %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Kommentit tästä käyttäjästä"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Kommentit lisätty"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Suorita tumppi"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Kokoa rajoitukset"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Ehto"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Ehtoa ei löydetty"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Ylläpito"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Vahvista"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "Yhteystietojärjestelmä"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Järjestelmä ei ymmärrä päivää '%1'"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Sisältö"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr ""
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Kirjeenvaihdon osoite"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Kirjeenvaihto lisätty"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Vastausta ei tallennettu"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Uuden tiedon lisääminen kenttään epäonnistui"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "Uuden kentän lisäys tapaukselle epäonnistui. %1 "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Omistajaa ei voitu vaihtaa."
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Uuden kentän lisääminen epäonnistui"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Ryhmän luominen epäonnistui"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Pohjan luonti epäonnistui: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Tapauksen luonti epäonnistui. Työjonoa ei ole asetettu"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Käyttäjän luonti epäonnistui"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Tapausta numerolla %1 ei löytynyt."
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Ryhmää %1 ei löytynyt."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Käyttäjää ei löydetty eikä pystytty luomaan"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Tätä toimeksiantajaa ei löytynyt"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Käyttäjää %1 ei löytynyt."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Ryhmän lataaminen ei onnistunut"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Ei voinut tehdä toimeksiantajaa %1:ksi tälle työjonolle"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Ei voinut tehdä toimeksiantajaa tälle tapaukselle: %1"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Toimeksiantajaa ei voitu poistaa tältä työjonolta: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Toimeksiantajaa ei voitu poistaa tältä tapaukselta: %1"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Jäsenen lisääminen ryhmään ei onnistunut"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Tapahtuman luominen ei onnistunut: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Järjestelmä ei gpg:n vastauksesta ymmärtänyt mitä tehdä\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Ryhmää ei löytynyt\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Riviä ei löytynyt"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Toimeksiantajaa ei löytynyt"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Arvoa ei löytynyt"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "Tarkkailijaa ei löytynyt"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Käyttäjää ei löytynyt\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Ei onnistuttu lataamaan käyttäjää %1 tietokannasta.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "RT-asetustiedoston lataaminen ei onnistunut:'%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Toimintojen lataaminen ei onnistunut."
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Ryhmän %1 lataaminen ei onnistunut"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Linkin lataaminen ei onnistunut"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr ""
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Työjonon lataaminen ei onnistunut"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Työjonon %1 lataaminen ei onnistunut"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Toiminnon lataaminen ei onnistunut"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Pohjan lataaminen ei onnistunut"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Tämän käyttäjän lataaminen ei onnistunut (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Tapauksen '%1' lataaminen ei onnistunut"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Maa"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Luo"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Luo tapauksia"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Luo kenttä"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Luo kenttä työjonolle %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Luo kenttä, jota sovelletaan kaikkiin työjonoihin"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Luo uusi kenttä"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Luo uusi yleinen toiminto"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Luo uusi ryhmä"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Luo uusi henkilökohtainen ryhmä"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Luo uusi työjono"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Luo uusi toiminto"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Luo uusi pohja"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Luo uusi tapaus"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Luo uusi käyttäjä"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Luo uusi työjono"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Luo työjono nimeltään"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Luo tapaus"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Luo toiminto työjonolle %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Luo pohja"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Luonti epäonnistui %1 / %2 / %3 "
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "Luonti epäonnistui: %1/%2/%3"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Luo uusia tapauksia tämän toiminnon pohjalta"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Luo tapaus"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Luo tapauksia tähän työjonoon"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Luo, muokkaa ja poista kenttiä"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Luo, poista ja muokkaa työjonoja"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Luo, poista ja muokkaa kenen tahansa henkilökohtaisten ryhmien jäseniä"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Luo, poista ja muokkaa henkilökohtaisten ryhmien jäseniä"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Luo, poista ja muokkaa käyttäjiä"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr ""
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Luotu"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Luotu kenttä %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Luotu pohja %1"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr ""
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Tämänhetkiset suhteet"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Tämänhetkinen toiminto"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Tämänhetkiset jäsenet"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Tämänhetkiset oikeudet"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Tämänhetkiset hakumääritteet"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Tämänhetkiset tarkkailijat"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Kentät"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Kenttä %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Kentällä %1 on arvo"
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Kentällä %1 ei ole arvoa"
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Kenttää %1 ei löytynyt"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Kenttä poistettu"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Kenttää ei löytynyt"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Kentän arvoa %1 ei löytynyt kentälle %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Kentän arvo muutettu arvosta %1 arvoon"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Kentän arvoa ei pystytty poistamaan"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Kentän arvoa ei löydetty"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Kentän arvo poistettu"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr ""
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Päivät"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "joulu"
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "joulukuu"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr ""
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr ""
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr ""
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr ""
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr ""
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr ""
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Oletustapahtumapohja"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Oletus: %1/%2 muutettu arvosta %3 arvoon %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Delegoi oikeuksia"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr ""
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr ""
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Poista"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Poista tapaukset"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Tämän objektin poistaminen saattaa rikkoa tietokannan viitteet"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Tämän objektin poistaminen rikkoo tietokannan viitteet"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Tämän objektin poistaminen rikkoo tietokannan viitteet"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr ""
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Tästä tapauksesta riippuu"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Riippuvuudet: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Riippuu tapauksesta"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Laskeva"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Kuvaa tapausta"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Kuvaus"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Yksityiskohdat"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Näytä"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Näytä käyttöoikeuslista"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Näytä työjonon toimintopohjat"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Näytä työjonon toiminnot"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Näkymä"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Näytä tapaus #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Tee mitä tahansa ja kaikki"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Älä päivitä tätä sivua"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Älä näytä hakutuloksia"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Lataa"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Erääntyy"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Erääntymispäivää '%1' ei onnistuttu tulkkaamaan järjestelmälle."
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "VIRHE: Tapauksen '%1' lataaminen ei onnistunut: %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Muokkaa"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Muokkaa työjonon %1 kenttiä"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Muokkaa suhteita"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr ""
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Muokkaa työjonon %1 pohjia"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "Muokkaa avainsanoja"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Muokkaa toimintoja"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Muokkaa järjestelmäpohjia"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Muokkaa työjonon %1 pohjia"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Muokataan työjonon %1 asetuksia"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Muokataan käyttäjän %1 asetuksia"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Muokataan kenttää %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Muokataan ryhmän %1 jäseniä"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Muokataan henkilökohtaisen ryhmän %1 jäseniä"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Muokataan pohjaa %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Joko juuri tai kohde täytyy olla määritelty"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Sähköposti"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Sähköpostiosoite on jo käytössä"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "Sähköpostiosoite"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "Sähköpostin koodaus"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Aktiivinen (rastin poistaminen passivoi kentän)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Aktiivinen (rastin poistaminen passivoi ryhmän)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Aktiivinen (rastin poistaminen passivoi työjonon)"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Aktiiviset työjonot"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Aktivoitu tila %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Anna useampi arvo"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Anna yksi arvo"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Lisää tapausten numerot tai www-linkit. Erota useammat välilyönneillä."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Virhe"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Virhe parametreissa: Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Virhe parametreissa: Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Virhe parametreissa: Ticket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Virhe parametreissa: Ticket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr ""
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr ""
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Kaikki"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "Ulkoinen autentikointitunnus"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "Ulkoinen yhteystietotunnus"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Lisätieto"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "'Erioikeutettu'-valeryhmää ei löytynyt"
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "'Erioikeudeton'-valeryhmää ei löytynyt"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "helmi"
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "helmikuu"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Fin"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Loppuprioriteetti"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Etsi ryhmä, jonka"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Etsi uudet/avoimet tapaukset"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Etsi käyttäjät, joiden"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Hae tapauksia"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Ensimmäinen"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Viimeinen sivu"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr ""
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Pakota muutos"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr ""
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "Vapaamuotoiset yhteystiedot"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Pe"
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Kokonaiset otsikot"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Annettu käyttäjälle %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Yleiset"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Yleiset toiminnot"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Yleinen pohja: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr ""
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Ok!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Hyvä PGP-allekirjoitus käyttäjältä %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Siirry sivulle"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Siirry tapaukseen"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Ryhmä"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Ryhmä %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Ryhmän oikeudet"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Ryhmässä on jo jäsen"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "Ryhmää ei voitu luoda."
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Ryhmää ei voitu luoda: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Ryhmä luotu"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Ryhmässä ei ole sellaista jäsentä"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Ryhmää ei löydetty"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Ryhmää ei löydetty.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Ryhmää ei määritelty.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Ryhmät"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Ryhmät eivät voi olla jäsentensä jäseniä"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Hei!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Hei, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historia"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "Kotipuhelin"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Kotisivu"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr ""
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Numero"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identiteetti"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Jos hyväksyntä hylätään, hylkää alkuperäinen ja poista siitä riippuvat hyväksynnät"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr ""
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr ""
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr ""
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Jos olet muuttanut tietoja, muista tallentaa"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Kelpaamaton arvo %1"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Muuttumaton kenttä"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Sisällytä passiiviset kentät listaukseen"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr ""
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Sisällytä listaukseen myös passiiviset työjonot."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Sisällytä listaukseen myös passiiviset käyttäjät."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Alkuprioriteetti"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Virhe syötteessä"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Sisäinen virhe"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Sisäinen virhe: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Ryhmän tyyppi ei kelpaa"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Kelpaamaton oikeus"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Kelpaamaton tyyppi"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Kelpaamatonta dataa"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Omistaja ei kelpaa. Asetetaan oletusasetusten mukaan 'ei kukaan'"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Kelpaamaton työjono"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Kelpaamaton oikeus"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Kelpaamaton arvo kohteelle %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Kelpaamaton arvo kentälle"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Kelpaamaton arvo tilalle"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Tammi"
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "tammikuu"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Liity tai jätä ryhmä"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Heinä"
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "Heinäkuu"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Jätti"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "kesä"
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "kesäkuu"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Avainsana"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Kieli"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Viimeinen"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Viimeinen yhteydenotto"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Viimeksi otettu yhteyttä"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Viimeksi huomautettu"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Viimeksi päivitetty"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Jäljellä"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Päästä tämä käyttäjä sisään RT:iin"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Tälle käyttäjälle voidaan antaa oikeuksia"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Rajoitetaan omistajaa %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Rajoitetaan työjonoa %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Linkki on jo olemassa"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Linkkiä ei voitu luoda"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Linkki luotu (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Linkki poistettu (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Linkkiä ei löydetty"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Linkitä tapaus #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "Linkitä tapaus #%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Linkit"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Sijainti"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Lokihakemistoa %1 ei löytynyt tai kirjoittaminen ei onnistunut.\\n RT ei voi toimia."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Olet kirjautunut sisään tunnuksella %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Kirjaudu sisään"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Kirjaudu ulos"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Aseta omistaja"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Aseta tila"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Aseta erääntymisaika"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Aseta päätösaika"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Aseta aloitusaika"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Aseta alkuaika"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Aseta oltu yhteydessä -aika"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Aseta prioriteetti"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Aseta työjono"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Aseta otsikko"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Hallinnoi ryhmiä ja jäsenyyksiä"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Hallinnoi yleisiä asetuksia, jotka vaikuttavat kaikkiin työjonoihin"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Hallinnoi työjonoja ja työjonokohtaisia asetuksia"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Hallinnoi käyttäjiä ja salasanoja"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Maalis"
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "Maaliskuu"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "Toukokuu"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Touko"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Jäsen lisätty"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Jäsen poistettu"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Jäsentä ei poistettu"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Jäsen:"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Jäsenet"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Yhdistäminen onnistui"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Yhdistäminen epäonnistui. EffectiveId:n arvoa ei pystytty asettamaan"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Yhdistä"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr ""
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Viesti"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Kännykkä"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "Kännykkä"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Muokkaa käyttöoikeusluetteloa"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Muokkaa kenttää %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Muokkaa kaikkia työjonoja koskevia kenttiä"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr ""
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Muokkaa tämän työjonon toimintopohjia"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Muokkaa tämän työjonon toimintoja"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "Muokkaa järjestelmän käyttöoikeusluetteloa"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Muokkaa pohjaa %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr ""
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Muokkaa työjonon %1 toimintoa"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Muokkaa toimintoa, jota sovelletaan kaikkiin työjonoihin"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Muokkaa tapauksen #%1 päiviä"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Muokkaa tapauksen #%1 päiviä"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Muokkaa ryhmien yleisiä oikeuksia"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Muokkaa ryhmien yleisiä oikeuksia."
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Muokkaa yleisiä toimintoja"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Muokkaa yleisiä käyttäjien oikeuksia"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Muokkaa käyttäjien yleisiä oikeuksia."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Muokkaa ryhmän metatietoja tai poista ryhmä"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Muokkaa ryhmän %1 oikeuksia."
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Muokkaa ryhmän oikeuksia työjonossa %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Muokkaa tämän ryhmän jäsenlistaa"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Muokkaa omaa RT-tunnustasi"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Muokkaa työjonoon %1 liittyviä käyttäjiä"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Muokkaa tapaukseen %1 liittyviä käyttäjiä"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Muokkaa työjonoon %1 liittyviä toimintoja"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Muokkaa toimintoja, joita sovelletaan kaikkiin työjonoihin"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Muokkaa pohjaa %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Muokkaaa pohjia, joita sovelletaan kaikkiin työjonoihin"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Muokkaa ryhmää %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Muokkaa työjonon tarkkailjoita"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Muokkaa käyttäjää %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Muokkaa tapausta #%1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Muokkaa tapausta #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Muokkaa tapauksia"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Muokkaa ryhmän %1 käyttäjien oikeuksia"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Muokkaa työjonoon %1 liittyviä käyttäjien oikeuksia"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Muokkaa tapauksen %1 seuraajia"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr ""
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr ""
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Ma"
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Lisätietoa: %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Siirrä alas"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Siirrä ylös"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Monta"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "'Nimi' täytyy määritellä"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Hyväksyntäni"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Hyväksyntäni"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Nimi"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Nimi on käytössä"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Tarvitsee järjestelmän ylläpitäjän hyväksynnän"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Ei ikinä"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Uusi"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Uusi linkki"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Uusi salasana"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Uusi haku"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Uusi ryhmä"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Uusi salasana"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Uusi salasana"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Uusi työjono"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Uusi tapaus"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Uudet oikeudet"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Uusi toiminto"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Uusi haku"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Uusi pohja"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Uutta tapausta ei löydy"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Uusi käyttäjä"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Uusi käyttäjä pyydetty"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Uusi tarkkailija"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Uusi ikkunan asetus"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Seuraava"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Seuraava sivu"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Lempinimi"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Lempinimi"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Ei kenttiä"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Ryhmää ei ole määritelty"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Työjonoa ei ole määritelty"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Käyttäjää ei löydy. Ole hyvä ja ota yhteyttä RT:n ylläpitäjään.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Ei pohjaa"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Tapausta ei määritelty. Perutaan tapaus "
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Tapausta ei määritelty. Poistutaan tapauksen muokkauksesta\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr ""
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Komentoa ei löytynyt\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Käyttäjälle ei ole annettu kommentteja"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Ei kirjeenvaihtoa liitettynä"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Ei kuvausta kohteelle %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Ryhmää ei ole määritelty"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Salasanaa ei ole asetettu"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Ei oikeutta luoda työjonoja"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Ei oikeutta luoda tapauksia työjonoon '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Ei oikeutta luoda käyttäjiä"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Ei oikeutta tarkastella tätä tapausta"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Ei oikeutta päivittää tätä tapausta"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Toimeksiantajaa ei ole määritelty"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Toimeksiantajia ei ole valittu."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Yhtään hakukriteerit täyttävää tapausta ei löytynyt."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Oikeuksia ei löytynyt"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Ei myönnettyjä oikeuksia."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Ei työstettävää hakua"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Tapauksen numeroa ei ole määritelty"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Tapahtuman tyyppiä ei ole määritelty"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "Käyttäjää tai sähköpostiosoitetta ei ole määritelty"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Yhtään hakukriteerit täyttävää käyttäjää ei löytynyt."
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Ei kelpaa RT-käyttäjäksi. RT:n cvs-käsittelijä irrottautuu. Ole hyvä ja ota yhteyttä RT:n ylläpitäjään.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr ""
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Ei kukaan"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Olematon kenttä?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Sisäänkirjautumaton"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Et ole kirjautunut järjestelmään"
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Ei asetettu"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Ei vielä toteutettu."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Ei vielä toteutettu..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Merkintöjä"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Ilmoitusta ei pystytty lähettämään"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr ""
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr ""
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr ""
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr ""
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr ""
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr ""
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr ""
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr ""
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr ""
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr ""
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr ""
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Marras"
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "marraskuu"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr ""
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr ""
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Loka"
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "lokakuu"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "-"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr ""
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr ""
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr ""
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr ""
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr ""
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr ""
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr ""
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr ""
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Näytä vain pyynnöt, jotka on luotu jälkeen %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Näytä vain pyynnöt, jotka on luotu ennen %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Avoin"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Avaa"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Avoimet tapaukset"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Avoimet tapaukset (listasta) uudessa ikkunassa"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Avoimet tapaukset (listasta) toisessa ikkunassa"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Avaa tapaukset, kun esiintyy kirjeenvaihtoa"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Järjestäminen"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Laitos"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Alkuperäinen tapaus: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Ajan kuluessa prioriteetti muuttuu kohti"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Omat tapaukset"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr ""
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Omistaja"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Omistaja vaihdettu tunnuksesta %1 tunnukseen %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Omistaja pakolla vaihdettu tunnuksesta %1 tunnukseen %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Omistaja"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Hakulaite"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Hakulaite-puhelin"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Isät"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Salasana"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Salasanan muistutus"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Salasana liian lyhyt"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Salasana: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr ""
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr ""
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Käyttäjät"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Pääsy kielletty"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Omat ryhmät"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Omat ryhmät"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Omat ryhmät:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Puhelinnumerot"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Paikanpitäjä"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Asetukset"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Asetukset"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Valmistele tumppi"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Edellinen"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Edellinen sivu"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Toimeksiantajaa %1 ei löytynyt"
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioriteetti"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Prioriteetti alkaa arvosta"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr ""
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Erioikeutettu"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Erioikeutuksen tila: &1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Erioikeutetut käyttäjät"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Valeryhmä sisäiseen käyttöön"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr ""
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr ""
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Työjono"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Työjonoa %1 ei löytynyt"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Työjonoa '%1' ei löytynyt"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Työjonon nimi"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Työjonon toiminnot"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Työjono on jo olemassa"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Työjonoa ei voitu luoda"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Työjonoa ei voitu ladata."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Työjono luotu"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Työjonoa ei määritelty"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Työjonoa ei löytynyt"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Työjonot"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr ""
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr ""
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 - %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1, tekijä: <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT Ylläpito"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "RT Virhe tunnistamisessa"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT palautus: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "RT Konfiguraatiovirhe"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "RT Kriittinen virhe. Viestiä ei tallennettu!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT Virhe"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT Sai sähköpostin (%1) itseltään."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT Itsepalvelu / Suljetut tapaukset"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr ""
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT yhdellä silmäyksellä"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT Ei pystynyt tunnistamaan sinua"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT ei löytänyt tilaajaa ulkopuolisesta tietokannasta"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT ei löytänyt työjonoa: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT ei pystynyt tarkistamaan tätä PGP allekirjoitusta.\\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "%1: RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT on prosessoinut antamasi komennot"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT on tekijänoikeuslain alainen, &copy; 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;. Se on jakelussa seuraavalla lisenssillä: <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT luulee että tämä viesti on palautus"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT prosessoi tämän viestin kuten se olisi allekirjoittamaton."
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RT:n sähköpostiohjaustila vaatii PGP-tunnistamista. Et allekirjoittanut (PGP) viestiä tai allekirjoitustasi ei pystytty vahvistamaan."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Oikea nimi"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "Oikea nimi"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Viitattu jostakin"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Viittaus johonkin"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Päivitä"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Päivitä haku"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Päivitä tämä sivu %1 minuutin välein"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Poista kopio ylläpidolle"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Poista kopio"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Poista tilaaja"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Vastaa"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr ""
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Vastaa tapauksiin"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr ""
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Tilaaja"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Tilaajan sähköpostiosoite"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Tilaajat"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Tilaajat"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Tapaus tulisi suorittaa mennessä"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr ""
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Palauta"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Koti"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Päätä"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Ratkaise tapaus #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Päätetty"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Vastaus tilaajille"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Tulokset"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Tuloksia sivulle: "
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Vahvista salasana"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Oikeutta %1 ei löydetty %2  %3 laajuudessa %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Oikeus delegoitu"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Oikeus myönnetty"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Oikeus ladattu"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Oikeutta ei voitu perua"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Oikeutta ei löydetty"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Oikeutta ei ladattu"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Oikeus peruttu"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Oikeudet"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Oikeuksia ei voitu myöntää: %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Oikeuksia ei voitu perua: %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Roolit"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr ""
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "La"
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr ""
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Tallenna muutokset"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Tallenna muutokset"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr ""
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Toiminto #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Toiminto luotu"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Toiminto poistettu"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Toiminnot"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Toiminnot työjonolle %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Toiminnot, joita sovelletaan kaikkiin työjonoihin"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Hae"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Hakukriteerit"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr ""
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Valitse ryhmä"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Valitse työjono"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Valitse käyttäjä"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Valitse ryhmä"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Valitse useita arvoja"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Valitse yksi arvo"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Valitse työjono"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Valitse toiminto"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Valitse pohja"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Valitse käyttäjä"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Itsepalvelu"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr ""
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr ""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr ""
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr ""
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr ""
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr ""
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Lähettää postia omistajalle"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Syys"
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "syyskuu"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Näytä tulokset"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr ""
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Näytä perustiedot"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr ""
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Näytä yksityiskohdat"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Näytä tapauksen kommentointi"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Näytä tapausten yhteenvedot"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr ""
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Allekirjoitus"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Yksittäinen"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Järjestys"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Järjestä tulokset"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "Lajittelujärjestys"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Jäädytetty"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Etusivu"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Aloitettu"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Aloittamisaikaa '%1' ei pystytty tulkitsemaan"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Alkaa"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Alkaa mennessä"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Alkamisaikaa '%1' ei pystytty tulkitsemaan"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Tila"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Tila"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Tila muutettu arvosta %1 arvoon %2"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Kaappaa"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Kaapattu käyttäjältä %1"
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Otsikko"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Otsikko vaihdettu: %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Lähetä"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Onnistui"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Su"
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Järjestelmä"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Järjestelmävirhe"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Järjestelmävirhe. Oikeutta ei delegoitu."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Järjestelmävirhe. Oikeutta ei luovutettu."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Järjestelmäryhmät"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr ""
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TESTIMERKKIJONO"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Ota itselle"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Otettu"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Pohja"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Pohja #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Pohja poistettu"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Pohjaa ei löydetty"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Pohjaa ei löydetty\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Pohja tulkittu"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Pohjat"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Pohjat työjonolle %1\\n"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Ei ole arvo tälle kentälle"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Tämä on sama arvo"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Toimeksiantaja on jo %1 tälle työjonolle"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Toimeksiantaja on jo %1 tälle tapaukselle"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Toimeksiantaja ei ole %1 tälle työjonolle"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Toimeksiantaja ei ole %1 tälle tapaukselle"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Työjonoa ei ole olemassa"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Tapaus sisältää päättämättömiä riippuvuuksia"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Käyttäjällä on jo tuo oikeus"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Käyttäjä omistaa jo tämän tapauksen"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Käyttäjää ei ole olemassa"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Käyttäjä on jo erioikeutettu"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Käyttäjä on jo erioikeudeton"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Käyttäjä on nyt erioikeutettu"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Käyttäjä on nyt erioikeudeton"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Käyttäjä ei voi omistaa tapauksia tuossa työjonossa"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Ei ole numero"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Perustiedot"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Kommentti on tallennettu"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "Seuraavia komentoja ei suoritettu:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Uusi arvo asetettu."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Tapauksen omistaja"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Tapauksen tilaaja"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Nämä kommentit eivät ole yleisesti näkyvillä käyttäjälle"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Tämä tapaus %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Tämä tapahtuma ei näytä sisältävän mitään"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Käyttäjän %1 tärkeintä tapausta"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "Käyttäjän 25 tärkeintä tapausta"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "To"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Tapaus # %1  %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Tapauksen #%1 jättipäivitys: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Tapaus #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Tapaus %1 luotu työjonoon '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Tapaus %1 ladattu\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Tapaus %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr ""
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Tapauksen historia # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Tapauksen numero"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Tapauksen liitteen"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Tapauksen sisältö"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Tapauksen sisällön tyyppi"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Tapausta ei voitu luoda sisäisestä virheestä johtuen"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Tapaus luotu"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Tapauksen luonti epäonnistui"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Tapaus poistettu"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Tapauksen numeroa ei löytynyt"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Tapausta ei löydy"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Tapauksen tila vaihdettu"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Tapauksen tarkkailijat"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Tapaukset"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Tapaukset %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Aikaa jäljellä"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Aikaa käytetty"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Aikaa jäljellä"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Aika"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Aikaa käytetty"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Luodaksesi diffin tästä käskystä:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "To generate a diff of this commit:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Oltu yhteydessä"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr ""
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Tapahtuma %1 puhdistettu"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Tapahtuma luotu"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Tapahtumat ovat muuttumattomia"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Yritetään poistaa oikeus: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Ti"
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Tyyppi"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Toteuttamaton"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Unix login"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Käyttäjän Unix-tunnus"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Tuntematon sisällön koodaus %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Rajoittamaton"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr ""
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Erioikeudeton"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Ottamaton"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Päivitä"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Päivitä numero"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr ""
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Päivitä tyyppi"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Päivitä kaikki nämä tapaukset kerralla"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Päivitä sähköposti"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Päivitä nimi"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Päivitystä ei tallennettu"
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Päivitä valitut tapaukset"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Päivitä allekirjoitus"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Päivitä tapaus"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Päivitä tapaus # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Päivitä tapaus #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Päivitä tapaus #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Päivityksen tyyppi ei ollut kirjeenvaihto eikä kommentti."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Päivitetty"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr ""
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Käyttäjä %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Käyttäjä %1 Salasana: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Käyttäjää '%1' ei löydetty"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Käyttäjää '%1' ei löydetty\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "Käyttäjätunnus"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Käyttäjätunnus"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Käyttäjän oikeudet"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Käyttäjää ei voitu luoda: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Käyttäjä luotu"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Käyttäjän luomat ryhmät"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Käyttäjää informoitu"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Käyttäjän näkymä"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Käyttäjätunnus"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Käyttäjät"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Hakua vastaavat käyttäjät"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "Tapauksen arvo"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Arvot"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Tarkkailijat"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "Web-koodaus"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Ke"
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr ""
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr ""
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr ""
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr ""
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr ""
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr ""
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr ""
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr ""
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr ""
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Työ"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Työpuhelin"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Tehty"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Omistat jo tämän tapauksen"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Et ole valtuutettu käyttäjä"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Voit palauttaa vain tapauksia, jotka omistat itse tai jotka ovat ilman omistajaa"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "Sinulla ei ole valtuuksia tarkastella tätä tapausta.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Löysit %1 tapausta työjonosta %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Olet kirjautunut ulos RT:stä"
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Sinulla ei ole valtuuksia luoda tapauksia tähän työjonoon."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Et voi luoda tapauksia tuohon työjonoon."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Tervetuloa kirjautumaan järjestelmään uudelleen"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Sinun %1 tapaustasi"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "RT:n ylläpitäjä on konfiguroinut RT:n käynnisävät sähköpostialiakset väärin."
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr ""
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr ""
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr ""
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Käyttäjätunnuksesi tai salasanasi on väärä"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Postinumero"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "sallittu käyttäjälle %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr ""
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "sisältää"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "sisältö"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "sisällön tyyppi"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "kirjeenvaihtoa (luultavasti) ei ole lähetetty"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "kirjeenvaihto lähetetty"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "päivää"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "poista"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "poistettu"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "ei sisällä"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "ei sisällä"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "on yhtäsuuri"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "tiedostonimi"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "on suurempi kuin"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "ryhmä %1"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "tuntia"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "numero"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "on"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "ei ole"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "on pienempi kuin"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "sisältää"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minuuttia"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "muokkaukset\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "kuukausia"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "uusi"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr ""
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "ei mitään"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "on erisuuri kuin"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "avoin"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "oma ryhmä '%1' käyttäjälle '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "työjono %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "hylätty"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "päätetty"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sec"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "jäädytetty"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "järjestelmä %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "järjestelmäryhmä '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "kutsuva komponentti ei eritellyt syytä"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "tapaus #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "tosi"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "kuvailematon ryhmä %1"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "kuvailematon ryhmä %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "käyttäjä %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "viikkoa"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "pohjalla %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "vuosia"
-
diff --git a/rt/lib/RT/I18N/fr.po b/rt/lib/RT/I18N/fr.po
deleted file mode 100644 (file)
index 8d1f3c3..0000000
+++ /dev/null
@@ -1,4672 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: fr\n"
-"POT-Creation-Date: 2002-05-02 11:36+0800\n"
-"PO-Revision-Date: 2005-08-06 22:14+0200\n"
-"Last-Translator: jfenal <jfenal@free.fr>\n"
-"Language-Team:  <fr@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "n°%1: %2"
-
-#: lib/RT/Record.pm:927
-#. ($label)
-msgid "$prefix %1"
-msgstr "$prefix %1"
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 n°%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %2 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1672 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 ajouté"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "il y a %1 %2"
-
-#: lib/RT/Record.pm:1679 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 changé en %3"
-
-#: lib/RT/Record.pm:1676 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 supprimé"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 avec modèle %3"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) par %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (inchangé)"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Un paramètre à passer à %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Ecrit les mises à jour de statuts sur STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Précisez l'action que vous voulez utiliser"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Précisez la condition que vous voulez utiliser"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Précisez la recherche que vous voulez utiliser"
-
-#: html/Elements/Footer:54
-#. ('&#187;&#124;&#171;', $RT::VERSION, '2005', '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr "%1 RT %2 Copyright 1996-%3 %4."
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "ScripAction %1 chargée"
-
-#: lib/RT/Record.pm:1709
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 ajouté(e) comme valeur de %2"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 semble être un objet local, mais est introuvable dans la base de données"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 par %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 changé(e) de %2 à %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "%1 copie"
-
-#: lib/RT/Record.pm:931
-msgid "%1 could not be set to %2."
-msgstr "%1 n'a pas pu être positionné à %2"
-
-#: lib/RT/Ticket_Overlay.pm:2751
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 ne peut pas mettre le statut à résolu. La base de données RT est peut être incohérente."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "%1 créé(e)"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "%1 supprimé(e)"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "Mes %1 tickets de plus haute priorité"
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 est un outil agissant sur les tickets depuis un planificateur externe tel que cron."
-
-#: lib/RT/Queue_Overlay.pm:864
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 n'est plus un %2 pour cette file."
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "les %1 derniers tickets sans propriétaire"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 objets"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "Droits de %1"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 résoudra tous les membres d'un ticket groupé résolu."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%1 de %2 objets"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr "%1 de %2 de %3 objets"
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "Recherches sauvées de %1"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: pas d'attachement spécifié"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' est un statut invalide"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Cocher la case pour supprimer)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Cocher les cases pour désactiver les notifications aux destinataires listés)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Cocher les cases pour activer les notifications aux destinataires listés)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Entrer le numéro du ticket ou son URL, séparés par des espaces)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(sera par défaut %1 si laissé vide)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Pas de champ personnalisé)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Aucun membre)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Aucun Scrip)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Aucun modèle)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(Aucun)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Envoie une copie cachée de cette mise à jour à une liste d'adresses email séparées par des virgules. Ceci <b>ne changera pas</b> les destinataires des mises à jour suivantes.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Envoie une copie de cette mise à jour à une liste d'adresses email séparées par des virgules. Ces personnes <b>recevront</b> les mises à jour suivantes.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Envoie une copie de cette mise à jour à une liste d'adresses email séparées par des virgules. Ceci <b>ne changera pas</b> les destinataires des mises à jour suivantes.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Transmettre une copie de cette mise à jour à une liste d'adresses email séparées par des virgules. Ces personnes <b>recevront</b> les mises à jour suivantes.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(Utilisez ces champs lorsque vous sélectionnez 'User Defined' pour une condition ou une action)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(vide)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(aucun nom)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/I18N/fr.po.orig:146 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(sans information)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(aucune valeur)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(un seul ticket)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(en attente d'approbation)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(en attente d'autres Collection)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(exigé)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(sans titre)"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Statut%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr "<%$_%>"
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr "<%$field%>"
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Créer un ticket dans\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Un modèle vide"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr "L'utilisateur ne pourra se connecter car aucun mot de passe n'a été défini."
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE non trouvé"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "Les ACE peuvent seulement être créés et effacés."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr "ET"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "A propos"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "contrôle d'accès"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Action"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Action %1 non trouvée"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr "Action validée.\\n"
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Action préparée..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Ajouter"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Ajouter AdminCC"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Ajouter CC"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr "Ajouter des colonnes"
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Ajouter un critère"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Ajouter d'autres fichiers"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Ajouter Demandeur"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Ajouter une valeur"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Ajouter un scrip qui s'applique à toutes les files"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "Ajouter un critère additionnel"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Ajouter des commentaires ou des réponses aux tickets sélectionnés"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Ajouter des membres"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Ajouter de nouveaux observateurs"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr "Ajouter, retirer et modifier des champs personnalisés pour les objets"
-
-#: lib/RT/Queue_Overlay.pm:764
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Ajout groupe/utilisateur comme %1 pour cette file"
-
-#: lib/RT/Ticket_Overlay.pm:1424
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Ajout groupe/utilisateur comme %1 pour ce ticket"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Adresse1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Adresse2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Commentaire Admin"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Correspondance Admin "
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Administrateurs de files"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "configuration Gestion/Globale"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "GérerChampPersonnalisé"
-
-#: lib/RT/Group_Overlay.pm:163
-msgid "AdminGroup"
-msgstr "GérerGroupes"
-
-#: lib/RT/Group_Overlay.pm:165
-msgid "AdminGroupMembership"
-msgstr "GérerAppartenanceGroupes"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "GérerGroupesPersonnelsPropres"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "GérerFile"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "GérerUtilisateurs"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Cc Administratif"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Avancé"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Après"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr "Aggrégateur"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Toutes les approbations obtenues"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Toutes les files"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr "Et/Ou"
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "S'applique à"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Appliquer"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Appliquer vos changements"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Approbations"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Approbation n°%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Approbation n°%1: Notes non enregistrées en raison d'une erreur système"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Approbation n°%1: Notes non enregistrées"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Approbations obtenues"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Approbations refusées"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Approuver"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Notes de l'approbateur : %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Avr."
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Croissant"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Fixer et supprimer les champs personnalisés"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "FixerChampsPersonnalisés"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Attaché"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Attacher un fichier"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Fichier attaché"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Attachement '%1' ne peut pas être chargé"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Attachement créé"
-
-#: lib/RT/Tickets_Overlay.pm:1702
-msgid "Attachment filename"
-msgstr "Nom de fichier de l'attachement"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Attachements"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Attibut supprimé"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Aoû."
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "RéponseAuto"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Réponse automatique aux demandeurs"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Essentiel"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Assurez-vous de sauvegarder vos modifications"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Avant"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr "Logo d'entreprise de Best Practical Solutions, LLC"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Vide"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr "Gras"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "Lien prédéfini"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "En-têtes courts"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "modification de tickets en masse"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Les utilisateurs système ne peuvent être modifiés"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Le groupe/utilisateur peut-il voir cette file"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Impossible d'ajouter une valeur de champ personnalisé sans un nom"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr "Impossible de trouver une collection pour la classe '%1'"
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Impossible de trouver une recherche sauvée et de l'utiliser"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Un ticket ne peut être lié à lui même"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Impossible de sauver cette recherche"
-
-#: lib/RT/Record.pm:1267 lib/RT/Record.pm:1345
-msgid "Can't specifiy both base and target"
-msgstr "Impossible de spécifier à la fois la base et la cible"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Impossible de créer l'utilisateur: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Changer le mot de passe"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Tout cocher"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Cocher la case pour supprimer"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Cocher la case pour retirer le droit"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Fils"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Ville"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Tout effacer"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Fermé"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Tickets fermés"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Commenter"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Adresse de commentaire"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Commentaire sur le ticket"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "CommenterTicket"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Commentaires (non envoyés aux demandeurs)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Commentaires (non envoyés aux demandeurs)"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Commentaires sur cet utilisateur"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Commentaires ajoutés"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "tr(Commit Stubbed)"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Condition"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "La condition satisfait..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Condition non trouvée"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Configuration"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Confirmer"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Contenu"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "Type de contenu"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Copier"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Courrier"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Courrier ajouté"
-
-#: lib/RT/Record.pm:1694
-msgid "Could not add new custom field value. "
-msgstr "Impossible d'ajouter une nouvelle valeur de champ personnalisé. "
-
-#: lib/RT/Record.pm:1647
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr "Impossible d'ajouter une nouvelle valeur de champ personnalisé. %1"
-
-#: lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3020 lib/RT/Ticket_Overlay.pm:3037
-msgid "Could not change owner. "
-msgstr "Impossible de changer l'intervenant. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Impossible de créer le champ personnalisé"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr "Impossible de créer le champ personnalisé : %1"
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:494 lib/RT/Group_Overlay.pm:501
-msgid "Could not create group"
-msgstr "Impossible de créer un groupe"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Impossible de créer le modèle : %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Impossible de créer un ticket. File non indiquée"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Impossible de créer l'utilisateur"
-
-#: lib/RT/Queue_Overlay.pm:742 lib/RT/Ticket_Overlay.pm:1392
-msgid "Could not find or create that user"
-msgstr "Impossible de trouver ou créer cet utilisateur"
-
-#: lib/RT/Queue_Overlay.pm:803 lib/RT/Ticket_Overlay.pm:1473
-msgid "Could not find that principal"
-msgstr "Impossible de trouver ce groupe ou utilisateur"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Impossible de charger le champ personnalisé %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Impossible de charger ce groupe"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr "Impossible de charger l'objet pour %1"
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr "Impossible de charger l'attribut de recherche"
-
-#: lib/RT/Queue_Overlay.pm:762
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Impossible de faire de ce groupe/utilisateur un %1 pour cette file"
-
-#: lib/RT/Ticket_Overlay.pm:1413
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Impossible de faire de ce groupe/utilisateur un %1 pour ce ticket"
-
-#: lib/RT/Queue_Overlay.pm:861
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Impossible de supprimer ce groupe/utilisateur comme un %1 pour cette file"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Impossible de sauver les informations utilisateur"
-
-#: lib/RT/Group_Overlay.pm:1003
-msgid "Couldn't add member to group"
-msgstr "Impossible d'ajouter un membre à ce groupe"
-
-#: lib/RT/Record.pm:1706 lib/RT/Record.pm:1758
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Impossible de créer une transaction : %1"
-
-#: lib/RT/Record.pm:940
-msgid "Couldn't find row"
-msgstr "Colonne introuvable"
-
-#: lib/RT/Group_Overlay.pm:977
-msgid "Couldn't find that principal"
-msgstr "groupe/utilisateur introuvable"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Valeur introuvable"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Impossible de charger %1 depuis la base des utilisateurs.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "Impossible de charger la classe %1"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "Impossible de charger le champ personnalisé %1"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Impossible de charger le groupe %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Impossible de charger le lien"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Impossible de charger l'objet %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Impossible de charger la file"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Impossible de charger la file %1"
-
-#: html/SelfService/Display.html:158
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Impossible de charger le ticket '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2620
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr "Impossible de résoudre la base '%1' dans une URI."
-
-#: lib/RT/Ticket_Overlay.pm:2619
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr "Impossible de résoudre la cible '%1' dans une URI."
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Pays"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Ajouter"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Ajouter des tickets"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Ajouter un Champ Personnalisé"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Ajouter un champ personnalisé pour la file %1"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Ajouter un nouveau groupe"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Ajouter un nouveau groupe personnel"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Ajouter un nouveau ticket"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Ajouter un nouvel utilisateur"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Ajouter une file"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Ajouter un scrip pour la file %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Ajouter un modèle"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Ajouter un ticket"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Ajouter de nouveaux tickets basés sur le modèle de ce scrip"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Ajouter un ticket"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Ajouter des tickets dans cette file"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Ajouter, supprimer et modifier des champs personnalisés"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Ajouter, supprimer et modifier les files"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Ajouter, supprimer et modifier les membres d'un groupe personnel"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Ajouter, supprimer et modifier les utilisateurs"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr "CréerRechercheSauvée"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "CréerTicket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Créé"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Champ Personnalisé %1 créé"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Créateur"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Liens courants"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Scrips actuels"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Membres actuels"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Droits actuels"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Observateurs actuels"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Champs Personnalisés"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Champs personnalisés pour %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Programme de nettoyage d'action personnalisé"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Programme de préparation d'action personnalisé "
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Condition personnalisée"
-
-#: lib/RT/Tickets_Overlay.pm:2176
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Le champ personnalisé %1 a une valeur."
-
-#: lib/RT/Tickets_Overlay.pm:2172
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Le champ personnalisé %1 n'a pas de valeur."
-
-#: lib/RT/Record.pm:1580 lib/RT/Record.pm:1741
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Le champ personnalisé %1 est introuvable"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "La valeur du champ personnalisé %1 ne peut pas être trouvée pour le champ personnalisé %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "La valeur du champ personnalisé ne peut pas être effacée"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "La valeur du champ personnalisé ne peut par être trouvée"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "La valeur du champ personnalisé est effacée"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "ChampPersonnalisé"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Dates"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Déc."
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Modèle de réponse automatique par défaut"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "File par défaut"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Demandeur par défaut"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Modèle de commentaire administrateur par défaut"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Modèle de courrier administrateur par défaut"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Modèle de courrier par défaut"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Modèle de transaction par défaut"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Déléguer les droits"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Déléguer des droits spécifiques qui vous ont été accordés."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "DéléguerDroits"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Délégation"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Supprimer"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Détruire le modèle"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr "Échec de la destruction : %1"
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Supprimer les scrips sélectionnés"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Supprimer les tickets"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "SupprimerTicket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr "Recherche détruite"
-
-#: lib/RT/Queue_Overlay.pm:395
-msgid "Deleting this object would break referential integrity"
-msgstr "Effacer cet objet briserait l'intégrité référentielle"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Effacer cet objet violerait l'intégrité référentielle"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Refuser"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "En dépend"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Ajout de la dépendance par %1"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Suppression de la dépendance par %1"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Ajout de la dépendance de %1"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Suppression de la dépendance de %1"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Dépend de"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Décroissant"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Décrivez la situation ci-dessous"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Description"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Afficher"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Afficher la liste des droits"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Afficher les colonnes"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Afficher les modèles de Scrips pour cette file"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Afficher les Scrips pour cette file"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Mode d'affichage"
-
-#: lib/RT/Group_Overlay.pm:168
-msgid "Display saved searches for this group"
-msgstr "Afficher les recherches sauvegardées de ce groupe"
-
-#: html/Elements/Footer:56
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "Distribué selon les termes de la version 2 de la <a href=\"http://www.gnu.org/copyleft/gpl.html\">licence GNU GPL.</a>"
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Faire tout et n'importe quoi"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr "Lancer la recherche"
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Ne pas rafraîchir cette page."
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Télécharger"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "Télécharger en tant que fichier délimité par tabulations"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Echéance"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Modifier les champs personnalisés pour %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr "Modifier les champs personnalisés pour tous les groupes"
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr "Modifier les champs personnalisés pour tous les utilisateurs"
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr "Modifier les champs personnalisés pour les tickets de toutes les files"
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Modifier les liens"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Modifier la requête"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Modifier les modèles pour la file %1"
-
-#: lib/RT/Group_Overlay.pm:167
-msgid "Edit saved searches for this group"
-msgstr "Modifier les recherches sauvées du groupe"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Modifier les modèles système"
-
-#: lib/RT/Group_Overlay.pm:167
-msgid "EditSavedSearches"
-msgstr "ModifierRecherchesSaugardées"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Modifier la configuration de la file %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Modifier le champ personnalisé %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Modifier les membres du groupe %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Modifier les membres du groupe personnel %1"
-
-#: lib/RT/Record.pm:1282 lib/RT/Record.pm:1359
-msgid "Either base or target must be specified"
-msgstr "La base ou la cible doivent être spécifiées"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Email"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Adresse email utilisée"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Activé (Décocher cette case désactive ce champ personnalisé)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Activé (Décocher cette case désactive ce groupe)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Activé (Décocher cette case désactive cette file)"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Files actives"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "État %1 activé"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "État actif : %1"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Saisir plusieurs valeurs"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Saisir les objets ou les URI pour y lier les objets. Séparer les saisies par des espaces."
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Saisir une seule valeur"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Saisir les files ou les URI pour y lier les files. Séparer les saisies avec des espaces."
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Saisir les tickets ou URI pour y lier les tickets. Séparer les saisies par des espaces."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Saisir au plus %1 valeurs"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Erreur"
-
-#: lib/RT/Queue_Overlay.pm:673
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Erreur de paramètres pour Queue->AddWatcher"
-
-#: lib/RT/Queue_Overlay.pm:834
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Erreur dans les paramètre de Queue->DeleteWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1341
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Erreur de paramètres pour Ticket->AddWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1507
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Erreur dans les paramètres de Ticket->DeleteWatcher"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Échelonner les tickets"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Estimé"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Tout le monde"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Exemple :"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Info supplémentaire"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr "Impossible de créer l'attribut de recherche"
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Recherche du pseudo groupe d'utilisateurs 'Priviligiés' infructueuse."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Recherche du pseudo groupe d'utilisateurs 'non-privilégiés' infructueuse"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Echec de chargement du module %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr "Impossible de charger l'objet pour %1"
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Fév."
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "NomFichier"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "Saisir dans plusieurs champs de type texte"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr "Saisir plusieurs champs de type wiki"
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "Saisir dans un champ de type texte"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr "Saisir un champ de type wiki"
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "Saisir au plus %1 champs de type texte"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr "Saisir au plus %1 champs de type wiki"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1598
-msgid "Final Priority"
-msgstr "Priorité finale"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "PrioritéFinale"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Trouver les groupes dont"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Trouver les gens dont"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Rechercher des tickets"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Premier"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo !"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Forcer la modification"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr "Format"
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "%quant(%1,ticket) trouvés"
-
-#: lib/RT/Record.pm:943
-msgid "Found Object"
-msgstr "Objet trouvé"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Ven."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "En-têtes complets"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Obtenir le modèle àpartir d'un fichier"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Donné à %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Global"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Champs personnalisés globaux"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr "Configuration globale des champs personnalisés"
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Modèle global : %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Lancer"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Lancer !"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Aller au ticket"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Groupe"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Droits de groupe"
-
-#: lib/RT/Group_Overlay.pm:983
-msgid "Group already has member"
-msgstr "Le groupe a déjà un membre"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Le groupe %1 n'a pu être créé"
-
-#: lib/RT/Group_Overlay.pm:521
-msgid "Group created"
-msgstr "Groupe ajouté"
-
-#: lib/RT/Group_Overlay.pm:1155
-msgid "Group has no such member"
-msgstr "Un tel membre n'appartient pas au groupe"
-
-#: lib/RT/Group_Overlay.pm:963 lib/RT/Queue_Overlay.pm:749 lib/RT/Queue_Overlay.pm:809 lib/RT/Ticket_Overlay.pm:1399 lib/RT/Ticket_Overlay.pm:1479
-msgid "Group not found"
-msgstr "Groupe introuvable"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Groupes"
-
-#: lib/RT/Group_Overlay.pm:989
-msgid "Groups can't be members of their members"
-msgstr "Les groupes ne peuvent pas être membres de leurs membres"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "Groupes correspondant au critère de recherche"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "Cette utilisateur appartient aux groupes"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Bonjour !"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Bonjour, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historique"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "Historique du groupe %1"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "Historique de l'utilisateur %1"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Page d'accueil"
-
-#: lib/RT/Base.pm:119
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "J'ai %quant(%1, toupie à béton)."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr "Je suis perdu"
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1523
-msgid "Id"
-msgstr "Identifiant"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identité"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Si une approbation est refusée, rejette l'original et supprime les approbations en attente"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "SI aucun demandeur n'est spécifié, créer les tickets pour ce demandeur."
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Si aucune file n'est spécifée, créer les tickets dans cette file."
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Si cet outil était setgid, un utilisateur local mal intentionné pourrait l'utiliser pour obtenir un accès administrateur à RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Si vous avez fait une modification, assurez vous de"
-
-#: lib/RT/Record.pm:934
-msgid "Illegal value for %1"
-msgstr "Valeur incorrecte pour %1"
-
-#: lib/RT/Record.pm:937
-msgid "Immutable field"
-msgstr "Champ non modifiable"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Inclure les groupes inactifs dans le listage."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Afficher les files inactives."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Inclure les utilisateurs désactivés dans le résultat."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr "Requête incomplète"
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr "Requête incomplète"
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1573
-msgid "Initial Priority"
-msgstr "Priorité initiale"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "PrioritéInitiale"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Erreur à l'entrée"
-
-#: lib/RT/Ticket_Overlay.pm:3467
-msgid "Internal Error"
-msgstr "Erreur interne"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Erreur interne : %1"
-
-#: lib/RT/Group_Overlay.pm:668
-msgid "Invalid Group Type"
-msgstr "Type de groupe invalide"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Droit invalide"
-
-#: lib/RT/Record.pm:939
-msgid "Invalid data"
-msgstr "Données invalides"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "File invalide"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Droit invalide"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "File invalide pour %1"
-
-#: lib/RT/Record.pm:1598
-msgid "Invalid value for custom field"
-msgstr "Valeur incorrecte pour le champ personnalisé"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Valeur de statut invalide"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Il est extrêmement important que les utilisateurs non autorisés n'aient pas accès à cet outil."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Il est suggéré de créer un utilisateur Unix non privilégié appartenant au bon groupe et ayant accès à RT pour utiliser cet outil."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Il faut plusieurs paramètres :"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr "Italique"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Jan."
-
-#: lib/RT/Group_Overlay.pm:166
-msgid "Join or leave this group"
-msgstr "Rejoignez ou quittez ce groupe"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul."
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Tout"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun."
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Langue"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr "Grande"
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Dernier"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Dernier contact"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Date dernier contact"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Date dernière MAJ"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "DernièreMAJPar"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Restant"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Donner accès à RT à cet utilisateur"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Autoriser cet utilisateur à recevoir des droits"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr "Relation"
-
-#: lib/RT/Record.pm:1293
-msgid "Link already exists"
-msgstr "Le lien existe déja"
-
-#: lib/RT/Record.pm:1307
-msgid "Link could not be created"
-msgstr "Le lien ne peut être ajouté"
-
-#: lib/RT/Record.pm:1313
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Le lien est ajouté (%1)"
-
-#: lib/RT/Record.pm:1374
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Le lien est effacé (%1)"
-
-#: lib/RT/Record.pm:1380
-msgid "Link not found"
-msgstr "Lien introuvable"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Lier le ticket n°%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Relations"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Charger"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Charger les recherches sauvées :"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr "ChargerRechercheSauvée"
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Modules perl chargés"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr "Recherche %1 chargée"
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Localisation"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Le répertoire de journalisation %1 est introuvable ou inaccessible en écriture.\\n RT ne peut être lancé."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Connecté en tant que %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Connexion"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Déconnexion"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "Faire attention aux types différents"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Attribuer"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Appliquer Statut"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Appliquer date d'échéance"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Appliquer date de résolution"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Appliquer date de début"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Appliquer date d'ouverture"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Appliquer Age"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Appliquer priorité"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Appliquer file"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Changer le sujet"
-
-#: lib/RT/Group_Overlay.pm:169
-msgid "Make this group visible to user"
-msgstr "Malkovich Malkovich Malkovich Malkovich"
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "Gérer les champs personnalisés et leurs valeurs"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Gérer les groupes et leurs membres"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Gérer les propriétés et configurations générales des files"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Gérer les files et leurs propriétés individuelles"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Gérer les utilisateurs et mots de passe"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Mai."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Membre %1 ajouté"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Membre %1 supprimé"
-
-#: lib/RT/Group_Overlay.pm:1000
-msgid "Member added"
-msgstr "Membre ajouté"
-
-#: lib/RT/Group_Overlay.pm:1162
-msgid "Member deleted"
-msgstr "Membre supprimé"
-
-#: lib/RT/Group_Overlay.pm:1166
-msgid "Member not deleted"
-msgstr "Membre non supprimé"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Membre de"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Membres"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Appartenance à %1 ajoutée"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Appartenance à %1 supprimée"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Affiliations"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "Affiliations de l'utilisateur %1"
-
-#: lib/RT/Ticket_Overlay.pm:2857
-msgid "Merge Successful"
-msgstr "Fusion réussie"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Échec de fusion. Ne peut appliquer EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2752
-msgid "Merge failed. Couldn't set Status"
-msgstr "Échec de fusion. Ne peut appliquer Status"
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Fusionner dans"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Fusionné avec %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Message"
-
-#: lib/RT/Ticket_Overlay.pm:2414
-msgid "Message could not be recorded"
-msgstr "Le message ne peut être sauvegardé"
-
-#: lib/RT/Ticket_Overlay.pm:2417
-msgid "Message recorded"
-msgstr "Message sauvegardé"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "Les messages relatifs à ce ticket ne seront pas envoyés à..."
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr "Parenthèses non correspondantes"
-
-#: lib/RT/Record.pm:941
-msgid "Missing a primary key?: %1"
-msgstr "Clé primaire manquante ? : %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Mobile"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Modifier la liste de droits"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr "Modifier les champs personnalisés s'appliquant à %1 pour tous les %2"
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Modifier les champs personnalisés qui s'appliquent à tous les %1"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Modifier les droits du groupe"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Modifier les membres"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Modifier les droits"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Modifier les modèles de Scrips pour cette file"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Modifier les Scrips pour cette file"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Modifier les droits des usagers"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Modifier un champ personnalisé pour la file %1"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Modifier le scrip pour la file %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Modifier le scrip qui s'applique à toutes les files"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Modifier les objets associés à %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Modifier les dates pour n°%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Modifier les dates du ticket n°%1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr "Modifier globalement les champs personnalisés"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Modifier les droits de groupe globaux"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Modifier les droits de groupe globaux."
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Modifier les droits utilisateurs globaux"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Modifier les droits utilisateurs globaux."
-
-#: lib/RT/Group_Overlay.pm:163
-msgid "Modify group metadata or delete group"
-msgstr "Modifier les métadonnées ou supprimer le groupe"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Modifier les droits de groupe pour le champ personnalisé %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Modifier les droits du groupe %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Modifier les droits de groupe pour la file %1"
-
-#: lib/RT/Group_Overlay.pm:165
-msgid "Modify membership roster for this group"
-msgstr "Modifier la liste des membres pour ce groupe"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Modifier son propre profil RT"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Modifier les utilisateurs de la file %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Modifier les utilisateurs du ticket n°%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Modifier les scrips de la file %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Modifier les scrips s'appliquant à toutes les files"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Modifier le modèle %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Modifier les modèles globaux"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Modifier le groupe %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Modifier les observateurs de la file"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Modifier l'utilisateur %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Modifier le ticket n°%1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Modifier le ticket n°%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Modifier les tickets"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Modifier les droits utilisateurs pour le champ personnalisé %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Modifier les droits utilisateurs pour le groupe %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Modifier les droits utilisateurs pour la file %1"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ModifierACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr "ModifierChampPersonnalisé"
-
-#: lib/RT/Group_Overlay.pm:166
-msgid "ModifyOwnMembership"
-msgstr "ModifierPropresAppartenances"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "ModifierObservateurs"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ModifierScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "ModifierDonnéesPerso"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "ModifierModèle"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "ModifierTicket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Lun."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Plus d'informations sur %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Aller en bas"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Aller en haut"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Multiple"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Attribut 'Nom' obligatoire"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "Mes tickets %1s"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Mes approbations"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Mes recherches"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Nom"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Nom utilisé"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Jamais"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Nouveau"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nouveaux liens"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nouveau mot de passe"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Nouvelles approbations en attente"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Nouvelle requête"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Nouveau champ personnalisé"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Nouveau groupe"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nouveau mot de passe"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Notification de nouveau mot de passe envoyée"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Nouvelle file"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nouveaux droits"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Nouveau scrip"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Nouveau modèle"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Nouveau ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2721
-msgid "New ticket doesn't exist"
-msgstr "Nouveau ticket inconnu"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Nouvel utilisateur"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Nouvel utilisateur appelé"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Nouveaux observateurs"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Suivant"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Page suivante"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Surnom"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "Aucune classe définie"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Aucun champ personnalisé"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Aucun champ personnalisé défini"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Aucun groupe défini"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Aucune requête"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Aucune file définie"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Pas d'utilisateur RT trouvé. Merci de consulter votre administrateur RT.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Pas de modèle"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Pas d'action"
-
-#: lib/RT/Record.pm:936
-msgid "No column specified"
-msgstr "Aucune colonne spécifiée"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Pas de commentaires concernant cet utilisateur"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Aucune description disponible pour %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Aucun groupe spécifié"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Aucun groupe trouvé d'après le critère de recherche."
-
-#: lib/RT/Ticket_Overlay.pm:2357
-msgid "No message attached"
-msgstr "Aucun messages attachés"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Pas de mot de passe configuré"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "No permission to create queues"
-msgstr "Permission refusée pour la création de file"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Vous n'êtes pas autorisé à créer un ticket dans cette file '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Permission refusée pour la création d'utilisateurs"
-
-#: html/SelfService/Display.html:167
-msgid "No permission to display that ticket"
-msgstr "Pas de permission pour afficher ce ticket"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Pas de permission pour afficher le ticket mis à jour"
-
-#: lib/RT/Queue_Overlay.pm:796 lib/RT/Ticket_Overlay.pm:1458
-msgid "No principal specified"
-msgstr "Aucun groupe/utilisateur spécifié"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Aucun groupe/utilisateur sélectionné."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Pas de file correspondant aux critères de recherche."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Aucun droit trouvé"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Aucun droit accordé."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr "Pas de recherche chargée"
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Pas de critère de recherche."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Pas de sujet"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Aucun type de transaction spécifié"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Aucun utilisateur ne correspond aux critères de recherche."
-
-#: lib/RT/Record.pm:933
-msgid "No value sent to _Set!\\n"
-msgstr "Pas de valeur à positionner !\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Personne"
-
-#: lib/RT/Record.pm:938
-msgid "Nonexistant field?"
-msgstr "Champ inexistant ?"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Non connecté."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Non renseigné"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Fonction pas encore disponible."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Notes"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Impossible d'envoyer la notification"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Avertir les AdminCCs"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Avertir les AdminCCs par un commentaire"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "Aviser par cc"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "Aviser par cc pour commentaires"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Avertir les autres destinataires"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Avertir les autres destinataires par un commentaire"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Avertir l'intervenant"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Avertir l'intervenant par un commentaire"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "Avertir l'Intervenant du rejet de son ticket"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "Avertir l'Intervenant de l'approbation de son ticket par tous les approbateurs"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "Avertir l'Intervenant de l'approbation de son ticket par un des approbateurs"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Avertir les intervenants et les AdminCCs de nouveaux éléments attendant leur approbation"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Avertir les demandeurs"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Avertir les demandeurs et les Ccs"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Avertir les demandeurs et les CC par un commentaire"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Avertir les demandeurs, CCs et AdminCCs"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Avertir les demandeurs, CCs et AdminCCs par un commentaire"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov."
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr "OU"
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "L'objet n'a pas pu être ajouté"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr "Impossible d'effacer l'objet"
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objet ajouté"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr "Objet effacé"
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "Les objets de type %1 ne peuvent avoir de champs personnalisés"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "Le type d'objet ne correspond pas"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Oct."
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Déconnecté"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Édition hors ligne"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Téléchargement hors ligne"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "Le"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Lors d'un commentaire"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Lors d'un courrier"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Lors d'une création"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Lors d'un changement d'intervenant"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "Lors d'un changement de priorité"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Lors d'un changement de file"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Lors de la résolution/clôture"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Lors d'un changement de statut"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Lors d'une transaction"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Ne montrer que les approbations pour les demandes créées après %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Ne montrer que les approbations pour les demandes créées avant %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Ouvert"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Ouvrir"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Tickets ouverts"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Ouvrir les tickets lors d'une correspondance"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Trier par"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organisation"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Ticket source: n°%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Mail sortant suite à l'enregistrement d'un commentaire"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Mail sortant enregistré"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Temps dépassé, priorité augmentée"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Tickets propres"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "PrendreTicket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1763
-msgid "Owner"
-msgstr "Intervenant"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "Le propriétaire ne peut être sauvé."
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Intervenant forcé de %1 à %2"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Page %1 sur %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Bipeur"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Parents"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Mot de passe"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Pense-bête pour votre mot de passe"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr "Mot de passe changé"
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr "Le mot de passe doit comporter au moins %1 caractères"
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr "Mot de passe défini"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Mot de passe : %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr "Mot de passe : permission refusée"
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Les mots de passe sont différents."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Les mots de passe sont différents. Votre mot de passe n'a pas été modifié"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Personnes"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Réaliser une action définie par l'utilisateur"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Configuration de Perl"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1117 lib/RT/Group_Overlay.pm:1121 lib/RT/Group_Overlay.pm:1130 lib/RT/Group_Overlay.pm:1240 lib/RT/Group_Overlay.pm:1244 lib/RT/Group_Overlay.pm:1250 lib/RT/Group_Overlay.pm:445 lib/RT/Group_Overlay.pm:542 lib/RT/Group_Overlay.pm:620 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:726 lib/RT/Group_Overlay.pm:730 lib/RT/Group_Overlay.pm:736 lib/RT/Group_Overlay.pm:922 lib/RT/Group_Overlay.pm:926 lib/RT/Group_Overlay.pm:939 lib/RT/Queue_Overlay.pm:1055 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:658 lib/RT/Queue_Overlay.pm:668 lib/RT/Queue_Overlay.pm:682 lib/RT/Queue_Overlay.pm:820 lib/RT/Queue_Overlay.pm:829 lib/RT/Queue_Overlay.pm:842 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1326 lib/RT/Ticket_Overlay.pm:1336 lib/RT/Ticket_Overlay.pm:1350 lib/RT/Ticket_Overlay.pm:1491 lib/RT/Ticket_Overlay.pm:1501 lib/RT/Ticket_Overlay.pm:1515 lib/RT/Ticket_Overlay.pm:1632 lib/RT/Ticket_Overlay.pm:1952 lib/RT/Ticket_Overlay.pm:2090 lib/RT/Ticket_Overlay.pm:2260 lib/RT/Ticket_Overlay.pm:2310 lib/RT/Ticket_Overlay.pm:2482 lib/RT/Ticket_Overlay.pm:2585 lib/RT/Ticket_Overlay.pm:2633 lib/RT/Ticket_Overlay.pm:2712 lib/RT/Ticket_Overlay.pm:2726 lib/RT/Ticket_Overlay.pm:2950 lib/RT/Ticket_Overlay.pm:2960 lib/RT/Ticket_Overlay.pm:2965 lib/RT/Ticket_Overlay.pm:3188 lib/RT/Ticket_Overlay.pm:3192 lib/RT/Ticket_Overlay.pm:3335 lib/RT/Ticket_Overlay.pm:3461 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Accès refusé"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Groupes personnels"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Groupes personnels"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Groupes personnels:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Numéros de téléphone"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Préférences"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Préparation interrompue"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Précédent"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Page précédente"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Personne/groupe %1 non trouvé."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1547
-msgid "Priority"
-msgstr "Priorité"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "La priorité débute à "
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Privé:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Privilégié"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Statut privilégiés : %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Utilisateurs privilégiés"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudo groupe pour usage interne"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Requête"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Constructeur de requête"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1374
-msgid "Queue"
-msgstr "File"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "File %1 non trouvée"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Nom de la file"
-
-#: lib/RT/Queue_Overlay.pm:366
-msgid "Queue already exists"
-msgstr "File déjà créée"
-
-#: lib/RT/Queue_Overlay.pm:375 lib/RT/Queue_Overlay.pm:381
-msgid "Queue could not be created"
-msgstr "Impossible de créer la file"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "File ne pouvant être chargée."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:385 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "File créée"
-
-#: html/SelfService/Display.html:126 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "File inconnue"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Files"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Recherche rapide"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Création rapide de ticket"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 pour %2"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Administration RT"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Erreur RT"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "Variables de RT"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT en un coup d'œil"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr "RT ne peut enregistrer votre session."
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT pour %1"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Nom"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Ajout d'une référence par %1"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Suppression de la référence par %1"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Ajout d'une référence à %1"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Suppression d'une référence à %1"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Mentionné par"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Se rapporte à"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Rafraîchir cette page toutes les %1 minutes."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Enlever AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Enlever Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Enlever Demandeur"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Répondre"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Adresse de réponse"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Répondre aux demandeurs"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Répondre aux tickets"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "RépondreTicket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Demandeur"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Demandeurs"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Le demande doit être résolue dans"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Le paramètre requis '%1' n'est pas spécifié"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Remise à zéro"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Domicile"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Résoudre"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Résoudre le ticket n°%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Résolu"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Résultats"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Saisissez à nouveau votre mot de passe"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Annuler"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Droit délégué"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Droit accordé"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Droit activé"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Droit irrévocable"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Droit inconnu"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Droit non activé."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Droit révoqué"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Droits"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Les droits n'ont pas pu être attribués à %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Les droits n'ont pas pu être révoqués pour %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Rôles"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Lignes par pages"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sam."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Sauver"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Enregistrer les modifications"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Sauvegarder les préférences"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Enregistrer les modifications"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr "Recherche %1 sauvée"
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Recherches sauvées"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip n°%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip ajouté"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Champs de scrip"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip supprimé"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrips"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scrips s'appliquant à toutes les files"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Rechercher"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr "Impossible de charger les attributs de recherche"
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Rechercher des approbations"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr "Mise à jour de la recherche %1"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Sécurité :"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Voir les champs personnalisés"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "Voir les mails sortant et leurs destinataires"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Voir les commentaires privés du ticket"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Vue récapitulative des tickets"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "VoirChampPersonnalisé"
-
-#: lib/RT/Group_Overlay.pm:169
-msgid "SeeGroup"
-msgstr "VoirGroupe"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "VoirFile"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Choisissez un champ personnalisé"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Choisir un groupe"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Choisir une file"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr "Choisir une file pour votre nouveau ticket"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Choisir un utilisateur"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Choisir le champ personnalisé"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr "Choisir des champs personnalisés pour tous les groupes d'utilisateurs"
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr "Choisir des champs personnalisés pour tous les utilisateurs"
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr "Choisir des champs personnalisés pour toutes les files"
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr "Choisir des champs personnalisés pour les opération sur les tickets de toutes les files"
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Choisir le groupe"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Choisir plusieurs valeurs"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Choisir une valeur"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Choisir la file"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Choisir le scrip"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Choisir le modèle"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Choisir au plus %1 valeurs"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Choisir l'utilisateur"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Champs personnalisés sélectionnés"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Objets sélectionnés"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Envoyer un courrier à tous les observateurs"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Envoyer un mail de commentaire à tous les observateurs"
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Envoyer un courrier aux demandeurs et aux CCs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Envoyer un courrier aux demandeurs et aux CCs en tant que commentaire"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Envoyer un courrier aux demandeurs"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Envoyer un courrier aux CCs et Bccs explicitement indiqués"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Envoyer un courriel en cc"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Envoyer un courriel en cc pour commentaires"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Envoyer un mail aux AdminCCs"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Envoyer un mail aux AdminCCs en tant que commentaire"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Envoyer un courrier à l'intervenant"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep."
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Afficher"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Afficher les approbations"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Afficher les colonnes"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Afficher les résultats"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Afficher les requêtes approuvées"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Affichage court"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Afficher les requêtes refusées"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Affichage long"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Afficher les requêtes en attente"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Afficher les requêtes attendant d'autres approbations"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "AfficherACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr "VoirOngletConfiguration"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "AfficherEmailSortant"
-
-#: lib/RT/Group_Overlay.pm:168
-msgid "ShowSavedSearches"
-msgstr "AfficherRecherchesSauvées"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "AfficherScrips"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "AfficherModèle"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "AfficherTicket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "AfficherCommentairesTickets"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "S'identifier en tant que demandeur ou CC de file ou de ticket"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "S'identifier en tant qu'AdminCC de ticket ou de file"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Signature"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Unique"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr "Taille"
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Passer le menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr "Petite"
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Trier"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Étape"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Ouvert le"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Débute"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Etat"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1407
-msgid "Status"
-msgstr "Statut"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Changement de statut"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Voler"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Voler les tickets "
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "VolerTicket"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Volé à %1"
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr "Style"
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1489
-msgid "Subject"
-msgstr "Sujet"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Sujet modifié en %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Valider"
-
-#: lib/RT/Group_Overlay.pm:774
-msgid "Succeeded"
-msgstr "Réussi"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Dim."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperUtilisateur"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Système"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Configuration système"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Erreur système"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr "Erreur système : %1"
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "Outils système"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Erreur système. Droit non délégué."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Erreur système. Droit non accordé."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Groupes systèmes"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SystemRolegroup à usage interne"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "Chaîne_de_test"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Prendre"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Prendre les tickets"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "PrendreTicket"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Pris"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Modèle"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Modèle n°%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Modèle supprimé"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Modèle inconnu"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Modèle analysé"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Modèles"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:932
-msgid "That is already the current value"
-msgstr "Ceci est déjà la valeur actuelle"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Valeur incorrecte pour ce champ personnalisé"
-
-#: lib/RT/Ticket_Overlay.pm:1963
-msgid "That is the same value"
-msgstr "Valeur identique"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Ce groupe/utilisateur dispose déjà de ce droit"
-
-#: lib/RT/Queue_Overlay.pm:754
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Ce groupe/utilisateur est déjà un %1 pour cette file"
-
-#: lib/RT/Ticket_Overlay.pm:1404
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Ce groupe/utilisateur est déjà un %1 pour ce ticket"
-
-#: lib/RT/Queue_Overlay.pm:853
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Ce groupe/utilisateur n'est pas un %1 pour cette file"
-
-#: lib/RT/Ticket_Overlay.pm:1959
-msgid "That queue does not exist"
-msgstr "File inconnue"
-
-#: lib/RT/Ticket_Overlay.pm:3197
-msgid "That ticket has unresolved dependencies"
-msgstr "Ticket ayant des tickets fils ou dépendants non résolus"
-
-#: lib/RT/Ticket_Overlay.pm:3001
-msgid "That user already owns that ticket"
-msgstr "Cet utilisateur possède déjà ce ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2973
-msgid "That user does not exist"
-msgstr "Utilisateur inconnu"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Utilisateur possédant déjà un statut privilégié"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Utilisateur déjà sans privilèges"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Utilisateur bénéficiant à présent du statut privilégié"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Cet utilisateur est maintenant non privilégié"
-
-#: lib/RT/Ticket_Overlay.pm:2994
-msgid "That user may not own tickets in that queue"
-msgstr "Cet utilisateur peut ne pas avoir de ticket dans cette file"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Identifiant non numérique"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Éléments de base"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "Le CC d'un ticket"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "L'AdminCC d'un ticket"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Cette commande trouve tous les tickets actifs de la file 'general' et positionne leur priorité à 99 s'ils n'ont pas été touchés depuis quatre heures:"
-
-#: lib/RT/Record.pm:935
-msgid "The new value has been set."
-msgstr "La nouvelle valeur est enregistrée."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "L'intervenant d'un ticket"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Le demandeur d'un ticket"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Ces commentaires ne sont généralement pas accessibles par l'utilisateur"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "Ce champ personnalisé ne s'applique pas à cet objet"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Cet possibilité n'est offerte qu'aux administrateurs systèmes"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Ce message va être envoyé à..."
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Cet outil permet à l'utilisateur de lancer un module perl quelconque depuis RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Cette opération semble ne pas avoir de contenu"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Les %1 tickets prioritaires de cet utilisateur"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Jeu."
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Ticket n°%1 mise à jour globale : %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Ticket n°%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Ticket %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Ticket %1 créé dans la file '%2'"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Ticket %1 : %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Champs personnalisés du ticket"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Historique du ticket n°%1 %2"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Ticket résolu"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Transactions du ticket"
-
-#: lib/RT/Tickets_Overlay.pm:1677
-msgid "Ticket content"
-msgstr "Contenu du ticket"
-
-#: lib/RT/Tickets_Overlay.pm:1726
-msgid "Ticket content type"
-msgstr "Type du contenu du ticket"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Une erreur interne a empêché l'ajout du ticket"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Méta-données du ticket"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Statut de ticket modifié"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr "Module de recherche TicketSQL"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Tickets"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Tickets dépendant de cette approbation:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Temps estimé"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Temps restant"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Temps passé"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Time left"
-msgstr "Temps restant"
-
-#: html/Elements/Footer:67
-msgid "Time to display"
-msgstr "Temps de calcul"
-
-#: lib/RT/Tickets_Overlay.pm:1623
-msgid "Time worked"
-msgstr "Temps passé"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "TempsPassé"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr "Titre"
-
-#: html/Elements/Footer:57
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "Pour vous renseigner au sujet du support, de la formation, des développements spécifiques ou au sujet de la licence, merci de contacter en anglais %1."
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Annoncé"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Outils"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transaction"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "La transaction %1 est supprimée"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transaction ajoutée"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Champs personnalisées de la transaction"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Transation->Create a échoué car vous n'avez pas spécifié de type d'objet et d'id"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Les transactions ne peuvent être transférées"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Mar."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1461
-msgid "Type"
-msgstr "Type"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Fonction non disponible"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Identifiant Unix"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:848
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Type d'encodage de courrier inconnu: %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr "Champ inconnu : $key"
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Illimité"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Recherche non nommée"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Non privilégié"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Champs personnalisés non sélectionnés"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Objets non sélectionnés"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Non pris"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Mettre à jour"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Tout mettre à jour"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Mettre à jour le ticket"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Mettre à jour le type"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Mettre à jour plusieurs tickets"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Mise à jour non enregistrée"
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Mettre à jour les tickets sélectionnés"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Mettre à jour le ticket"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Mettre à jour le ticket n°%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Mettre à jour le ticket n°%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Le type de mise à jour n'était ni un commentaire ni un courrier."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Mis(e) à jour"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Uploader"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Télécharger plusieurs fichiers"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Télécharger plusieurs images"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Télécharger un fichier"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Télécharger une image"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "Télécharger un maximum de %1 fichiers"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "Télécharger au plus %1 images"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Télécharger vos changements"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr "Utiliser les autres outils d'administration de RT"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "L'utilisateur %1 ne peut être trouvé"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Utilisateur défini"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Conditions et actions définies par l'usager"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Droits utilisateurs"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "L'utilisateur a demandé un type de mise à jour non connu pour le champ personnalisé %1 de l'objet %2 n°%3"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Utilisateur ne peut pas être créé : %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Utilisateur créé"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Groupes utilisateur"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Utilisateur chargé"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Groupe définis par l'utilisateur"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Nom d'utilisateur"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Utilisateurs"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Utilisateurs correspondants aux critères de recherche"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Valider la requête"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Valeurs"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Observer"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "ObserverCommeAdminCC"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Observateurs"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Mer."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Quand un ticket a été approuvé par tous les approbateurs, ajoute le courrier au ticket source"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Quand un ticket a été approuvé par au moins un approbateur, ajoute le courrier au ticket source "
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Quand un ticket est créé"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Quand un ticket d'approbation est créé, informer l'intervenant et l'AdminCC de l'élément attendant leur approbation"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Quand quelque chose arrive"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Lorsqu'un ticket quelconque est résolu/clos"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Lorsqu'un ticket quelconque change d'intervenant"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Lorsqu'un ticket change de priorité"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Lorsqu'un ticket quelconque change de file"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Lorsqu'un ticket quelconque change de statut"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Lorsqu'une condition définie par l'utilisateur est satisfaite"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Lorsque un commentaire arrive"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Lorsque un courrier arrive"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Travail"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Travail hors ligne"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Travaillé"
-
-#: lib/RT/Ticket_Overlay.pm:3104
-msgid "You already own this ticket"
-msgstr "Vous êtes déjà intervenant de ce ticket"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Vous n'êtes pas un utilisateur autorisé"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Vous pouvez seulement réaffecter vos ticket ou ceux qui ne sont pas affectés"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "%1 tickets trouvés dans la file %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Vous avez été déconnecté de RT."
-
-#: html/SelfService/Display.html:133
-msgid "You have no permission to create tickets in that queue."
-msgstr "Vous n'avez pas l'autorisation de créer des tickets dans cette file."
-
-#: lib/RT/Ticket_Overlay.pm:1972
-msgid "You may not create requests in that queue."
-msgstr "Vous ne pouvez pas créer de demandes dans cette file."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Vous êtes invité à vous identifier à nouveau"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Votre demande a été approuvée par %1. D'autres approbations sont peut-être toujours en attente."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Votre demande a été approuvée."
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Votre demande a été rejetée."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Votre nom d'utilisateur ou votre mot de passe est incorrect"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Code Postal"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr "autorise la création de recherches sauvées"
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr "autorise le chargement de recherches sauvées"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "comme accordé à %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr "appartient à"
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "fermé"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "contient"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "jours"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "effacé"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr "n'appartient pas à"
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "ne correspond pas"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "ne contient pas"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "égal à"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr "erreur : ne peut aller plus bas"
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr "erreur : ne peut aller à gauche"
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr "erreur : ne peut aller plus haut"
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr "erreur : rien à effacer"
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr "erreur : rien à déplacer"
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr "erreur : rien à commuter"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "supérieur à"
-
-#: lib/RT/Group_Overlay.pm:214
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "groupe '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "heures"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "n°"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "est"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "n'est pas"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "inférieur à"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "correspond"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minutes"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "mois"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "nouveau"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "sans nom"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "Non renseigné"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "aucun"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "différent de"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "ouvert"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "groupe personnel '%1' pour l'utilisateur '%2'"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "file %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "rejeté"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "résolu"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sec"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr "montrer l'onglet de configuration"
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "feuille de calcul"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "bloqué"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Type)
-msgid "system %1"
-msgstr "système %1"
-
-#: lib/RT/Group_Overlay.pm:233
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "groupe système '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "le composant appelant n'a pas spécifié pourquoi"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "ticket n°%1 %2"
-
-#: lib/RT/Group_Overlay.pm:236
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "Groupe %1 non décrit"
-
-#: lib/RT/Group_Overlay.pm:211
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "utilisateur %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "semaines"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "années"
-
diff --git a/rt/lib/RT/I18N/he.po b/rt/lib/RT/I18N/he.po
deleted file mode 100644 (file)
index b3c5338..0000000
+++ /dev/null
@@ -1,5017 +0,0 @@
-# Hebrew Translation of the RT interface by Shimi.
-# Comments: shimi@shimi.net
-msgid ""
-msgstr ""
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr ""
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr ""
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr ""
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr ""
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr ""
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr ""
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr ""
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "%1 - %2 מוצגים"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr ""
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr ""
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr ""
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr ""
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr ""
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "%1 הפניות עם העדיפות הגבוהה ביותר בטיפולי..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 הפניות עם העדיפות הגבוהה ביותר שאני פתחתי..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr ""
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr ""
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "זכויות"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr ""
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr ""
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(סמן תיבה כדי למחוק חבר בקבוצה)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(סמן תיבה כדי למחוק סקריפ)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(סמן תיבה כדי למחוק)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(סמן תיבות כדי למחוק)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr ""
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr ""
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr ""
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr ""
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr ""
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(רק פנייה אחת)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr ""
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr ""
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr ""
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr ""
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"פנייה חדשה ב\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr ""
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "מידע אודותי"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr ""
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr ""
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr ""
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "הוסף העתק ניהולי"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "הוסף העתק"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr ""
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "הוסף עוד קבצים"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "הוסף מבקש"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr ""
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr ""
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr ""
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "הוסף הערות או תגובות לפניות הנבחרות"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr ""
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "הוסף צופים חדשים"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "כתובת1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "כתובת2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr ""
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr ""
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr ""
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr ""
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr ""
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "העתק ניהולי"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr ""
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr ""
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr ""
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "העתק ניהולי"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "אחרי"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr ""
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr ""
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr ""
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "אישור"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr ""
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr ""
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr ""
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr ""
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr ""
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr ""
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr ""
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "אפריל"
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "אפריל"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "עולה"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "צרף"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr ""
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "קובץ מצורף"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "קובץ צורף"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "שם קובץ מצורף"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "קבצים מצורפים"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr ""
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "אוגוסט"
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "אוגוסט"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr ""
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr ""
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "בסיסי"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "אל תשכח לשמור את השינויים"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "לפני"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "הוסף כתובת זו לספר הכתובות כדי לחזור על אותו חיפוש"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "תקציר כותרים"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "עדכון פניות מרוכז"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr ""
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr ""
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr ""
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr ""
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "העתק"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr ""
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "סמן תיבה כדי למחוק"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "סמן תיבה כדי לבטל זכות"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "ילדים"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "עיר"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "נסגר"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "הערה"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr ""
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "הערות (לא נשלחות אל המבקשים)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "הערות (לא נשלחות אל המבקשים)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "הערות לגבי %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "הערות לגבי משתמש זה"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "הערות נוספו"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr ""
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr ""
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "הגדרות"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr ""
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "תוכן"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr ""
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr ""
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr ""
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr ""
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr ""
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr ""
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr ""
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr ""
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr ""
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "ארץ"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "צור"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "צור פניות"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr ""
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr ""
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "צור קבוצה פרטית חדשה"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "צור תור חדש"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "צור סקריפ חדש"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "צור תבנית חדשה"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "צור פנייה חדשה"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "צור משתמש חדש"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "צור תור חדש"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "צור תור שנקרא"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "צור בקשה"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr ""
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr ""
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr ""
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr ""
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr ""
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr ""
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr ""
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr ""
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "נוצר"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr ""
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "יחסים נוכחיים"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr ""
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "קריטריוני החיפוש הנוכחיים"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "צופים נוכחיים"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr ""
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr ""
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr ""
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr ""
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr ""
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "תאריכים"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "דצמבר"
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "דצמבר"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr ""
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr ""
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr ""
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr ""
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr ""
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr ""
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr ""
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr ""
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr ""
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr ""
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "דלגציות"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "מחק"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr ""
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr ""
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "תלויים בו"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "תלוי ב"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "יורד"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "תיאור"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "פרטים"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "הצג"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "מצב תצוגה"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "הצג פנייה #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr ""
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "אל תרענן דף זה."
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "אל תראה את תוצאות החיפוש"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "הורד"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "תאריך יעד"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr ""
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr ""
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr ""
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr ""
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "אי-מייל"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr ""
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "מופעל (מחיקת סימון תיבה זו מבטלת את קבוצה זו)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr ""
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr ""
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr ""
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "הכנס פניות או כתובות כדי לקשר פניות אליהן. הפרד ערכים רבים באמצעות רווחים."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr ""
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr ""
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr ""
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr ""
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "פברואר"
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "פברואר"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "עדיפות סופית"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr ""
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "מצא אנשים ש"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "מצא פניות"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "עמוד ראשון"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr ""
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "הכרח שינוי"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "נמצאו %1 פניות"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr ""
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "שישי"
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "כותרים מלאים"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr ""
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "גלובאלי"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr ""
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr ""
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "חפש"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr ""
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "קבוצה"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "קבוצה %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "זכויות קבוצה"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr ""
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "קבוצות"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr ""
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "הסטוריה"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "דף הבית"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr ""
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "זהות"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr ""
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr ""
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr ""
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr ""
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "אם עדכנת משהו לעיל, אל תשכח ל"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr ""
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr ""
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr ""
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr ""
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr ""
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr ""
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr ""
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr ""
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr ""
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr ""
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "ינואר"
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "ינואר"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr ""
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "יולי"
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "יולי"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "ג'מבו"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "יוני"
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "יוני"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr ""
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "מגע אחרון"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "קשר אחרון"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "נודע לאחרונה"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "עדכון אחרון"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "נותרה"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "תן למשתמש זה לגשת ל R"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "תן אפשרות להעניק זכויות למשתמש זה"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr ""
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr ""
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr ""
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr ""
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr ""
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr ""
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "קישורים"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "מיקום"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr ""
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "מחובר כ %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "כניסה"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "יציאה"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "שנה בעלות ל"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "שנה סטטוס"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "שנה תאריך יעד"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "שנה תאריך פתרון"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "שנה תאריך 'הותחל'"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "שנה תאריך התחלה"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "שנע תאריך מגע אחרון"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "שנה עדיפות"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "שנה תור"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "שנה נושא"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "נהל קבוצות וחברות בקבוצות"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "נהל מאפיינים והגדרות שתקפים לכל התורות"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "נהל תורות ומאפיינים ספציפיים לתורות"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "נהל משתמשים וספריות"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "מרץ"
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "מרץ"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "מאי"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "מאי"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "חבר הוסף"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "חבר נמחק"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "חבר לא נמחק"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "חבר ב"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "חברים"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "מיזוג הצליח"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "מיזוג נכשל. לא יכולתי להגדיר מזהה אפקטיבי"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "מזג לתוך"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr ""
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "הודעה"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "חסר מפתח ראשי?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "נייד"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "טלפון נייד"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "שנה רשימת בקרת גישה"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr ""
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr ""
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr ""
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr ""
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr ""
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr ""
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr ""
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr ""
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr ""
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr ""
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr ""
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr ""
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr ""
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr ""
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr ""
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr ""
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "שנה פנייה מספר %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "שינוי פנוייה מספר %1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "שינוי פניות"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr ""
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr ""
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr ""
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "שני"
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "עוד לגבי %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr ""
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr ""
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr ""
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "האישורים שלי"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "האישורים שלי"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "שם"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "שם בשימוש"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr ""
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "חדש"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "יחסים חדשים"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "סיסמא חדשה"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "חיפוש חדש"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "קבוצה חדשה"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "סיסמא חדשה"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "תור חדש"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "בקשה חדשה"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "זכויות חדשות"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "סקריפ חדש"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "חיפוש חדש"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "תבנית חדשה"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "פנייה חדשה"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "פנייה חדשה לא קיימת"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "משתמש חדש"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "משתמש חדש שנקרא"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "צופים חדשים"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "הבא"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "דף הבא"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "כינוי"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "כינוי"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr ""
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr ""
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr ""
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr ""
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr ""
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr ""
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr ""
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr ""
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr ""
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr ""
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr ""
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr ""
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr ""
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr ""
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr ""
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr ""
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr ""
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr ""
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "אף אחד"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "לא בתוך המערכת"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "לא בתוך המערכת."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "לא הוזן"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr ""
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr ""
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr ""
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr ""
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr ""
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr ""
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr ""
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr ""
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr ""
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr ""
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr ""
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr ""
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr ""
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "נובמבר"
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "נובמבר"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr ""
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr ""
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "אוקטובר"
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "אוקטובר"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "ב"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr ""
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr ""
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr ""
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr ""
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr ""
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr ""
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr ""
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr ""
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "הצג רק אישורים עבור בקשות שנוצרו אחרי %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "הצג רק אישורים עבור בקשות שנוצרו לפני %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "פתוח"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "פתח"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr ""
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "סידור ומיון"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "ארגון"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr ""
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "בעלים"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "הבעלים"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "ביפר"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "הורים"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "סיסמא"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "מזכיר סיסמא"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "סיסמא קצרה מדי"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "סיסמא: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "הסיסמאות אינן תואמות"
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr ""
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "אנשים"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr ""
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "קבוצות אישיות"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "קבוצות אישיות"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "קבוצות אישיות"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "מספרי טלפון"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "מאפיינים"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "הקודם"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "דף קודם"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr ""
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "עדיפות"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr ""
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr ""
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr ""
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr ""
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr ""
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr ""
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "תור"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr ""
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr ""
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr ""
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "תורים"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "חיפוש מהיר"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr ""
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr ""
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "ניהול RT"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr ""
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT ממבט כולל"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT / %1"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "שם אמיתי"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "שם אמיתי"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "מתייחסים אליו"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "מתייחס ל"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "חדד את החיפוש"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "רענן דף זה כל %1 דקות."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "הסר העתק ניהולי"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "הסר העתק"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "הסר מבקש"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "הגב"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr ""
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "מענה לפנייה"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "מבקש"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "כתובת האי-מייל של המבקש"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "מבקש(ים)"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "כתובת הפונה"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "מבקשים"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr ""
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr ""
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "אפס נתונים"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "בית"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "פתור"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "פתור פנייה #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "נפתר"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "תגובה למבקשים"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "תוצאות"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "תוצאות לעמוד"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "הקלד שנית:"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr ""
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr ""
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr ""
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "שבת"
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr ""
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "שמור שינויים"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "שמור שינויים"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr ""
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr ""
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr ""
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "חיפוש"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr ""
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr ""
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr ""
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr ""
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "בחר קבוצה"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr ""
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr ""
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr ""
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr ""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr ""
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr ""
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr ""
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr ""
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr ""
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "ספטמבר"
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "ספטמבר"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "הצג בקשות שאושרו"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "הצג בקשות שנדחו"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "הצג בקשות ממתינות"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "הצג בקשות שממתינות לאישורים אחרים"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr ""
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "חתימה"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "סדר תוצאות על פי"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "מושהה"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "התחיל"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "מתחיל ב"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "מדינה"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "מצב"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "גנוב"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "נגנב מ %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "נגנב מ %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "נושא"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "נושא שונה ל %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "שלח"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "הצליח"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "ראשון"
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "סופר-משתמש"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "מערכת"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr ""
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr ""
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr ""
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "קח"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "נלקחה"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr ""
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr ""
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr ""
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr ""
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "מידע בסיסי"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr ""
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr ""
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr ""
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr ""
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr ""
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "חמישי"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket"
-msgstr "פנייה"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "פנייה מספר %1 עדכון ג'מבו: %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "פנייה מספר %1 עדכון ג'מבו: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr ""
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr ""
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr ""
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr ""
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "מצורף לפנייה"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr ""
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "פנייה נוצרה"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "פנייה נמחקה"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "מזהה פנייה לא נמצא"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "פנייה נמחקה"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "פנייה לא נמצאה"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "סטטוס פנייה שונה"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "צופי הפנייה"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "פניות"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "זמן נותר"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "זמן עבודה"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "זמן נותר"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "זמן להציג"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "זמן עבודה"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr ""
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr ""
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr ""
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "שלישי"
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "סוג"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "לא מייושם"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr ""
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr ""
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "לא מוגבל"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr ""
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr ""
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "עדכן"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr ""
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr ""
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "סוג עדכון"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "עדכן את כל הפניות לעיל בבת אחת"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "עדכן אי-מייל"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "עדכן שם"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr ""
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "עדכן פניות נבחרות"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "עדכן חתימה"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "עדכן פנייה"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr ""
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr ""
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr ""
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "עודכן"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr ""
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr ""
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "מזהה המשתמש"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "מזהה המשתמש"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "זכויות המשתמש"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr ""
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "שם משתמש"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "משתמשים"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr ""
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr ""
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "רביעי"
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr ""
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr ""
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "בכל פעם שדבר כלשהוא קורה"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "בכל פעם שפנייה נסגרת"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "בכל פעם שבעלי הפנייה משתנה"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "בכל מצב שתור הפנייה משתנה"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "בכל פעם שמצב הפנייה משתנה"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "בכל פעם שמצב מוגדר על ידי משתמש קורה"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "בכל פעם שהערה מגיעה ב"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "בכל פעם שתכתובת מגיעה ב"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "עבודה"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "טלפון בעבודה"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "זמן טיפול"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "אתה כבר הבעלים של פנייה זו"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "אינך משתמש מורשה"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "אתה יכול להציב פניה רק אם אתה הבעלים שלה, או שאין לה בעלים"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "אין לך הרשאה כדי לראות את פנייה זו.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "מצאת %1 פניות בתור %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "התנתקת מהמערכת."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "אין לך הרשאות ליצור פניות בתור זה."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "אינך מורשה ליצור פניות בתור זה."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "הנך מוזמן להיכנס שנית"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "%1 הבקשות שלך"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "מנהל המערכת לא הגדיר את כתובות הדואר שמפעילות את התוכנה כמו שצריך"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "בקשתך אושרה על ידי %1. ייתכן שאישורים נוספים עדיין ממתינים."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "בקשתך אושרה."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "בקשתך נדחתה"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "בקשתך נדחתה."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "שם המשתמש ו/או הסיסמא אינם נכונים"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "מיקוד"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[ללא נושא]"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "שהוענק ל%1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "סגור"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "מכיל"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "תוכן"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "סוג התוכן"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "התכתבות (כנראה) לא נשלחה"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "התכתבות נשלחה"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "ימים"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "מחק"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "מחוק"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "לא מכיל"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "לא מכיל"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "שווה ל"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "שם קובץ"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "גדול מ"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "קבוצה %1"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "שעות"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "מזהה"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "הוא"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "הוא לא"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "פחות מ"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "מכיל"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "דקות"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "דקות"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "חודשים"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "חדש"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "אין ערך"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "אין"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "לא שווה ל"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "פתוח"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "נדחה"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "פתור"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr ""
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "מושהה"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr ""
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr ""
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr ""
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr ""
-
diff --git a/rt/lib/RT/I18N/hu.po b/rt/lib/RT/I18N/hu.po
deleted file mode 100644 (file)
index 8573508..0000000
+++ /dev/null
@@ -1,4721 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 3.0.7\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2002-06-22 06:06+0200\n"
-"PO-Revision-Date: 2003-12-01 11:26+0100\n"
-"Last-Translator: Attila K. Mergl <mergl@astron.hu>\n"
-"Language-Team: Hungarian <hu@gnome.hu>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %7. %2 %3 %4:%5:%6"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "[%1] mezõbe '%2' érték felvétele"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 változtatása: '%2' --> '%3'"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 törölve"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 a %3 sablonnal"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (változatlan)"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - %2-nek átadandó argumentum"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Státuszfrissítés kiíratása a STDOUT-ra"
-
-# msgstr "%1 - Schreibe Statusupdates nach STDOUT"
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Adja meg a használandó akciómodult!"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Adja meg a használandó kondiciómodult!"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Adja meg a használandó keres?modult!"
-
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "ScripAction %1 betöltve"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 értéke hozzáadva %2 höz"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 nem találhato az adatbázisban, pedig helyi objektumnak látszik"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1  (%2)"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 változtatása: '%2' --> '%3'"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 nem állítható %2 re."
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr ""
-"%1 nem tudta a státuszt lezártra állítani. Az RT adatbázisa talán "
-"inkonzisztens."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "%1 létrehozva"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "%1 törölve"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "A %1 nekem kiosztott, legsürgõsebb probléma..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "Ennek a sornak %1 már nem %2-je."
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 perc"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "%1 legújabb gazdátlan probléma"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 jogok"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: Nincs melléklet megadva!"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' nem lehet státusz érték"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Törléshez kiválasztandó!)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Szóközökkel elválasztva adható meg a problémák sorszáma vagy URL-je.)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Ha üresen marad: %1)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Nincs egyéni mezõ)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Nincsenek tagok)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Nincs Scrip)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Nincs sablon)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(nincs név)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(üres)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(Nincs név a listában)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(nincs adat)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(nincs adat)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "<br>(Csak egy probléma adható meg!)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr ""
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(szükséges)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(névtelen)"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr ""
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr ""
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Új probléma\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Üres sablon"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE nem található"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACE-k csak létrehozhatók és törölhetõk."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr "ÉS"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Magamról"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Hozzáférés ellenõrzése"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Akció"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "%1 akció nem található"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr "Akció végrehajtva.\\n"
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Akció elõkészítve..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Hozzáad"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Adminisztratív tájékotatást kapó hozzáadása"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Tájékotatást kapó hozzáadása"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr "Mezõk hozzáadása"
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Bõvített keresési feltételek"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "További fájlok csatolása"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Beküldõ hozáadása"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Értékek hozzáadása"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Minden sorra vonatkozó Scrip hozzáadása"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "További feltételek hozzáadása"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "A kiválasztott problémákhoz válasz vagy kiegészítés hozzáadása"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Tagfelvétel"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Új résztvevõk hozzáadása"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr "Egyéni mezõk lehetséges értékeinek létrehozása, módosítása, törlése"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Hozzendelt egy vezetõt mint %1 ehhez a sorhoz"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Hozzárendelt egy vezetõt mint %1 ehhez a problémához"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Utca, házszám"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Postafiók"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Adminisztratív tájékoztatást kap"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Adminisztratív megjegyzés"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr ""
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Válasszon sort!"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Konfiguráció / Általános beállítások"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "Adminisztratív tájékoztatást kap"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr ""
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr ""
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr ""
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Adminisztratív tájékoztatást kap"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Kézi lekérdezés"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "után"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr ""
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Minden sor"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr "ÉS/VAGY"
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Mentés"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "A változtatás mentése"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Lezárás"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Engedélyezés #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Engedélyezés #%1: A megjegyzés rendszerhiba miatt nem rögzíthetõ"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Engedélyezés #%1: Megjegyzés rögzítve"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Lezárás rendben"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Lezárás visszautasítva"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Lezár"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Az engedélyezõ megjegyzése: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "ápr."
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "növekvõ"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Egyéni mezõ hozzárendelése vagy törlése"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Csatol"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Fájl csatolása"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Csatolt fájl"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "A csatolt '%1' nem betölthetõ"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Csatolt fájl létrehozva"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Csatolt fájl neve"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Csatolt fájlok"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr ""
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "aug."
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Automatikus válasz"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Automatikus válasz a beküldõnek"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Alapadatok módosítása"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "BCC"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr ""
-"Ha valamit módosított ne felejtsen el ide kattintani, hogy megtörténjen a"
-
-# ## wieder - Duzen???
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "elõtt"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Üres"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr "Félkövér"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Tömör fejléc"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Tömeges problémafrissítés"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Rendszerfelhasználó nem módosítható"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Ez a vezetõ nem láthatja ezt a sort"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Egyéni mehzõ név nélkül nem hozzáadható"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "A problémát nem lehet önmagához kapcsolni!"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Ezt a lekérdezést nem lehet lementeni"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Nem adhat meg egyszerre bázist és célt"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "A felhasználó nem hozható létre: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Tájékoztatást kap"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Jelszó-változtatás"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Törléshez bejelölni"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Jog megvonásához megjelölni"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Leszármazottak"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Város"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Lezárva"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Lezárt problémák"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Kiegészít"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Kiegészitõcím"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr ""
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Kiegészítés (a beküldõ nem kapja meg!))"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Kiegészítés (a beküldõ nem kapja meg!)"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Kiegészítés ehhez a felhasználóhoz"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Kiegészítés hozzáfûzése"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Feltétel"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "A feltétel nem található"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Konfiguráció"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Igazolás"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Tartalom"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Másol"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Válasz"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Válasz hozzáfûzése"
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr "Az egyéni mezõt nem sikerült hozzáadni."
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr "Az egyéni mezõértéket nem sikerült hozzáadni a #%1 problémához"
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Nem sikerült a tulajdonost megváltoztatni! "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Nem sikerült létrehozni az egyéni mezõt"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr "Nem sikerült létrehozni a(z) %1 egyéni mezõt"
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Nem sikerült létrehozni a csoportot"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "A sablom nem jött létre: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Nem jött létre a probléma. A sor nincs meghatározva"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "A felhasználó nem jött létre"
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "A felhasználót nem sikerült megtalálni vagy létrehozni"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "A vezetõ nem található"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "A(z) %1 egyéni mezõ nem betölthetõ"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "A csoport nem betölthetõ"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "A vezetõ nem lehet  %1-e a sornak"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "A vezetõ nem lehet %1-e a problémának"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "A vezetõt nem lehet mint a sor %1-ét eltávolítani"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "A felhasználó adatait nem sikerült elmenteni"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "A tagot nem lehet a csoporthoz adni"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "A tanzakció nem létrehozható: %1"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "A sor nem található"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "A csoport/felhasználó nem található"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Az érték nem található"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr ""
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "A(z) %1 egyéni mezõ nem betölthetõ"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "%1 csoport nem betölthetõ"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "%1 objektum nem betölthetõ"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "A sor nem betölthetõ"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "%1 sor nem betölthetõ"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "A(z) '%1' nem betölthetõ"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Ország"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Felvesz"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Probléma megadása"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Hozzon létre egy új egyéni mezõt!"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Hozzon létre egy egyéni mezõt a(z) %1 sorhoz"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Hozzon létre új csoportot!"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Hozzon létre egy új saját csoportot!"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Új probléma felvétele"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Hozzon létre egy új felhasználót!"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Hozzon létre egy sort!"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Hozzon létre egy scrip-et a(z) %1 sorhoz!"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Hozzon létre egy sablont!"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Új probléma"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Hozzon létre egy új problémát ennek a sablonnak scripjeire alapozva"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Létrehozás"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Hozzon létre problémákat ebben a sorban!"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Egyéni mezõk létrehozása, módosítása, törlése"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Sor létrehozása, módosítása, törlése"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr ""
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Felhasználók létrehozása, módosítása, törlése"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr ""
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Felvéve"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Létrehozó"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Jelenlegi kapcsolatok"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Jelenlegi  Scripek"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Jelenlegi tagok"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Jelenlegi jogok"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Jelenlegi résztvevõk"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Egyéni mezõk"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "%1 egyéni mezõi"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Az akcióhoz rendelt egyéni lezáró kód"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Az akcióhoz rendelt egyéni elõkészítõ kód"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Egyéni feltétel"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Egyéni mezõ %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "[%1] egyéni mezõnek van értéke."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "[%1] egyéni mezõnek nincs értéke."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "[%1] egyéni mezõ nem található"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Egyéni mezõ nem található"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "A(z) %2 egyéni mezõ %1értéke nem található"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Az egyéni mezõ értéke nem található"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Az egyéni mezõ értéke nem található"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Az egyéni mezõ értéke törölve"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr ""
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Idõpontok"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "dec."
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr ""
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Alapértlemezett sor"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Alapértelmezett beküldõ"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr ""
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr ""
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr ""
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr ""
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Jogok továbbadása"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr ""
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr ""
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Jogok továbbadása"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Töröl"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Sablon törlése"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Kiválasztott Scrip törlése"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Problémák törlése"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr ""
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Elutasítva"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Ettõl függnek"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "A következõktõl függ"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "csökkenõ"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "A probléma szabatos leírása"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Leírás"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Mutat"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Mezõk kiválasztása"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Láthatóak legyenek az ehhez a sorhoz tartozó scrip sablonok"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Láthatóak legyen a sorhoz tartozó scripek"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Megjelenítési mód"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr ""
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr "Keresés indítása"
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Ne frissítse ezt az oldalt."
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Letölt"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Határidõ"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Módosítsa %1 egyéni mezõit!"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Kapcsolatok módosítása"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Lekérdezés szerkesztése kézzel"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Módosítsa a(z) %1 sor sablonjait!"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Módosítsa a rendszersablonokat!"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Módosítsa a(z) %1 csoport tagságát!"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr ""
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Meg kell adni a bázist vagy a célt"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "E-mail cím"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "E-Mail-cím már foglalt"
-
-# ## muss das Ã¼berhaupt Ã¼bersetzt werden???
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Aktivált (kiválasztása letiltja ezt az egyéni mezõt)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Aktivált (Kiválasztása letiltja ezt a csoportot)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Aktivált (Kiválasztása letiltja ezt a sort)"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Aktív sorok"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Status %1 aktiviert"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Adjon meg több értéket!"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Objektum vagy URI. Szóközzel elválasztva több is megadható"
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Adjon meg egy értéket!"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Sor vagy URI. Szóközzel elválasztva több is megadható"
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Probléma szám vagy URI. Szóközzel elválasztva több is megadható"
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Adjon meg egy értéket!"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Hiba"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Hiba a sor paraméterezésében ->AddWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Hiba a sor paraméterezésében->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Hiba a probléma paraméterezésében -> AddWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Hiba a probléma paraméterezésében->DelWatcher"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Becsült"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Mindenki"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Például:"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Kiegészítõ információk"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr ""
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "A %1 Modul nem betölthetõ. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "feb."
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "fájlnév"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Végsõ prioritás"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr ""
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Találjon olyan csoportot, amelyiknél a"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Találj olyan embereket, akiknél a"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Problémák keresése"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Elsõ"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr ""
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "A változtatás kikényszerítése"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "%quant(%1) problémát találtam"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr ""
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "P"
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Teljes fejléc"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "%1 felhasználónak adva"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Általános"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Globális egyéni mezõ"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr "Egyéni mezõk általános beállításai"
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Általános probléma: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Hajrá!"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Hajrá!"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Mutassa a problémát"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Csoport"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Csoportjogok"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Csoportnak már vannak tagjai"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "A csoportot nem lehetett létrehozni: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Csoport létrehozva"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "A csoportnak már van ilyen tagja"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Csoport nem található"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Csoportok"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Csoportok nem lehetnek a saját tagjaik tagjai!"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "A keresési feltételeknek megfeleõ csoportok"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Hallo!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Hallo %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Részletes történet"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "A %1 csoport története"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "%1 felhasználó története"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Kezdõlap"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr ""
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Sorszám"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Személy"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr ""
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "Ha a beküldõ ismeretlen, ezzel legyen az új probléma beküldõje"
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Ha nincs megadva sor, ebbe a sorba kerüljenek az új problémák"
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr ""
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr ""
-"Ha valamit módosított, ne felejtsen el ide kattintani, hogy megtörténjen a"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Érvénytelen érték %1-nek"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Kép"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Nem változtatható mezõ"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Láthatóak legyenek a letiltott sorok is."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Láthatóak legyenek a letiltott sorok is."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Keresés a letiltott felhasználók között is."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Kezdõ prioritás"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Input hiba"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Belsõ hiba"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Belsõ hiba: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Érvénytelen csoportfajta"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Érvénytelen jog"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Érvénytelen dátum"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Érvénytelen sor"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Érvénytelen jog"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Érvénytelen érték %1-nek"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Érvénytelen érték az egyéni mezõhöz"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Érvénytelen státuszérték"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "jan."
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr ""
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "júl."
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Minden módosítása"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "jún."
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Nyelv"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr "Nagy"
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Utolsó"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Utolsó kapcsolat"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Utoljára foglalkoztak vele"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Utoljára aktualizálva"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "Utoljára aktualizálta"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Felhasználónak RT-hozzáférés engedélyezése"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Felhasználónak több jog engedélyezése"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Kapcsolat már létezik"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Kapcsolat nem hozható létre"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Kapcsolat létrehozva (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Kapcsolat törölve (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Kapcsolat nem található"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "%1. számú probléma kapcsolatainak módosítása"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Kapcsolatok módosítása"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Lekérdezés betöltése"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Cím"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr ""
-"Log-könyvtár %1 nem található, vagy nincs írási joga.\\n Az RT tud elindulni."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "%1-ként van bejelentkezve"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Bejelentkezés"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Kijelentkezés"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Legyen a tulajdonos"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Státusz változtatása"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Határidõ változtatása"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Megoldási dátum változtatása"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Hozzáfogás dátumának változtatása"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Kiosztás dátumának változtatása"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Bejelentés dátumának változtatása"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Prioritás állítása"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Sor változtatása"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Tárgy változtatása"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Csoportok és tagjaik kezelése"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Minden sorra vonatkozó tulajdonságok és beállítások kezelése"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Sorok és a sorokra jellemzõ beállítások kezelése"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Felhasználók és jelszavaik kezelése"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "már."
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "máj."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Tag hozzáadva"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Tag törölve"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Tag hozzáadva"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Tag törölve"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Tag nincs törölve"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Tagja a"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Tagok"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "%1 tag hozzáadva"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "%1-beli tagság törölve"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Tagságok"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "%1 felhasználó tagságai"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Beolvasztás sikeres"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Beolvasztás sikertelen Konnte EffectiveId nicht setztn"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr "Beolvasztás sikertelen Konnte EffectiveId nicht setztn"
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Beolvasztani ebbe"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Beolvasztva %1-be"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Üzenet szövege"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "A sor nem hozható létre"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Üzenet rögzítve"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Mobil"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Változtassa meg a %1-re vonatkozó egyéni mezõket!"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Csoportjogok módosítása"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Tagok módosítása"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Jogok módosítása"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr ""
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Felhasználói jogok módosítása"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Változtassa meg a(z) %1 sor egyéni mezõjét!"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr ""
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "%1. számú probléma idõadatainak módosítása"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "%1. számú probléma idõadatainak módosítása"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Változtassa meg az általános csoportjogokat!"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Változtassa meg az általános csoportjogokat!"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Változtassa meg az általános felhasználói jogokat!"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Változtassa meg az általános felhasználói jogokat!"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Változztassa meg a(z) %1 sor csoportjogait!"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Módosítsa a(z) %1 csoport jogait"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Változtassa meg a %1 sor csoportjogait!"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr ""
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr ""
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Változtassa meg a %1 sorhoz tarozó részvevõket!"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "A %1. számú problémában érintett személyek változtatása"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Változtassa meg a(z) %1 sor Scripjeit"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Változtassa meg a minden sorra vonatkozó scripeket!"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Hozzon létre egy sablont!"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Változtassa meg az általános sablonokat!"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "A %1 csoport módosítása"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "%1 felhasználó módosítása"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "%1. számú probléma adatainak módosítása"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "%1. számú probléma alapadatainak módosítása"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr ""
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Változtassa meg a(z) %1 csoport jogait!"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Változtassa meg a(z) %1 sor felhasználói jogait!"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr ""
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr ""
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "H"
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "További részletek %1 felhasználóról"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Lefelé mozgatni"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Felfelé mozgatni"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr ""
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "%1 problémáim"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Lezárás"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Saját lekérdezések"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Név"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "A felhasználói név már foglalt"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Soha"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Új"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Új kapcsolatok"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Új jelszó"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Új lekérdezés"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Új egyéni mezõ"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Új csoport"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Új jelszó"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Új sor"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Új jogok"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Új Scrip"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Új sablon"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Új probléma"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Az új probléma nem létezik"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Új felhasználó"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr ""
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Új résztvevõk"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Következõ"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Következõ oldal"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Becenév"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Nincs egyéni mezõ"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Nincs egyéni mezõ meghatározva"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Nincs csoport meghatározva"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Nincs sor meghatározva"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr ""
-"RT-felhasználó nem található. Vegyew fel a kapcsolatot az RT-"
-"adminisztrátorral.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Nincs sablon"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr ""
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Nincs <b>sor</b> megadva!"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Nincs kiegészítés tárolva"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Nincs leírás a(z) %1-hez"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Nincs <b>csoport</b> megadva!"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Nincs a keresési feltételeknek megfeleõ csoport."
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Nincs jelszó megadva"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Nincs joga sort létrehozni"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Nincs joga a(z) '%1' sorban problémát létrehozni"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Nincs joga felhasználót létrehozni"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr ""
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Nincs joga ezt a problémát aktualizálni"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Nincs <b>felelõs</b> megadva!"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Nincs vezetõ kiválasztva."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Nem található a keresési fletételeknek megfelelõ sor"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Nem találhatók jogok"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Nincsenek jogok engedélyezve."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Nincs feldolgozható keresési lista."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "(nincs tárgy)"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Nincs <b>értesítési típus</b> megadva!"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Nincs a keresési feltételeknek megfeleõ felhasználó."
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr ""
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Senki"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Nem létezõ mezõ?"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Nincs bejelentkezve."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Nincs megadva"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr ""
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Megjegyzések"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Értesítést nem sikerült elküldeni."
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "AdminCCs értesítése"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "AdminCCs értesítése kiegészítésként"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Más címzettek értesítése"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Más címzettek értesítése kiegészítésként"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "A tulajdonos értesítése"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "A tulajdonos értesítése kiegészítésként"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr ""
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Beküldõ értesítése"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "A beküldõ és a tájékoztatást kapó értesítése"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "A beküldõ és a tájékoztatást kapó értesítése kiegészítésként"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Minden résztvevõ tájékozatatása"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Minden résztvevõ értesítése kiegészítésként"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "nov."
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr "VAGY"
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Objekum nem hozható létre"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr "Az objekumot nem sikerült törölni"
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objektum létehozva"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr "Objektum törölve"
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "okt."
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "e napon"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Kiegészítéskor"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Válaszoláskor"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Létrehozáskor"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Tulajdonos változásakor"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "Prioritás változásakor"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Sor megváltozásakor"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Megoldáskor"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Státusz megváltozásakor"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Tranzakciónál"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Csak a(z) %1 után létrejött poblémák engedélyezései legyenek láthatóak"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr ""
-"Csak a(z) %1 elõtt létrejött problémák engedélyezései legyenek láthatóak"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Nyitott"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Megnyit"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Nyitott problémák"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Rendezés"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Cég, szervezet"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Prioritás idõvel emelkedik"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Saját problémák"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr ""
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Tulajdonos"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Erõszakos tulajdonosváltás: %1 --> %2"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "%1/%2 oldal"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr ""
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Felmenõk"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Jelszó"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Jelszó-emlékeztetõ"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr "Jelszó megváltoztatva"
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "A jelszó túl rövid!"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Jelszó: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "A jelszavak nem egyeznek."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr ""
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Résztvevõk"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Perl konfiguráció"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Hozzáférés visszautasítva"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Saját Csoportok"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Saját csoportok"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Saját csoportok:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Telefonszámok"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Beállításaim"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Elõzõ"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Elõzõ oldal"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "%1 vezetõ nem található."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioritás"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Prioritás kezdõ értéke"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr ""
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Kiemelt"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr ""
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Kiemelt felhasználók:"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr ""
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Lekérdezés"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Lekérdezésszerkesztõ"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Sor"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "%2 sor nem található"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "A sor neve"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Sor már létezik"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "A sor nem hozható létre"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "a sor nem tölthetõ be."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "A sor létrehozva"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "A sor nem található"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Sorok"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Gyors lekérdezés"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Probléma felvétele (gyors)"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 %2-nek"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Konfiguráció"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT Hiba"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr ""
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "Áttekintés"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr " %1  --  Request Tracker "
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Valódi név"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "%1 hivatkozás törölve"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "A következõk kapcsolódnak hozzá"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "A következõkhöz kapcsolódik"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "%1 percenként frissítse ezt az oldalt."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Adminisztratív tájékoztatást kapó eltávolítása"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Tájékoztatást kapó eltávolítása"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Beküldõ eltávolítása"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Válaszol"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Válaszcím"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Válasz a beküldõknek"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Válasz a problémákra"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr ""
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Beküldõ"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Beküldõ"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "A problémát meg kell oldani"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr ""
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Visszaállít"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Otthoni"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Megold"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "%1. (%2) probléma lezárása"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Megoldva"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Változtatások eredménye"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Jelszó megismételve"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "A jog megosztva"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "A jog betöltve"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "A jog nem vonnható vissza"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "A jog nem található"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "A jog nem található."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Jog visszavonva"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Jogok"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr " %1 jogai nem vonhatók vissza"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Szerepek"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Sorok száma oldalanként"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Szo"
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Mentés"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Változtatások mentése"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Beállítások mentése"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Változtatások mentése"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Elmentett lekérdezés"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip létrehozva"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Scrip mezök"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip törölve"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrips"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Minden sorhoz érvényes Scripek"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Keresés"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Engedélyezések keresése"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Biztonság:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Eyéni mezõk"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr ""
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Válasszon egy egyéni mezõt!"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Válasszon csoportot!"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr ""
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Válasszon felhasználót!"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Válasszon egy egyéni mezõt!"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr "Válasszon egy egyéni mezõt!"
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Válasszon csoportot!"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Válasszon több értéket!"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Válasszon értéket!"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Válasszon sort!"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Válasszon Scripet!"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Válasszon sablont!"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Válasszon (legfeljebb %1) értéket!"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Válasszon felhasználót"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Kiválasztott egy egyéni mezõk"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Kiválasztott problémák"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr ""
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr ""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr ""
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr ""
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr ""
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr ""
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr ""
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "szep."
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Lezárások"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Látható mezõk"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Lekérdezés eredménye"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Láthatóak legyenek a felszabadított problémák"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Problémaleírás"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "láthatóak legyenek az elutasított problémák"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Attribútumok"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Láthatóak legyenek a folyamatban levõ problémák"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Láthatóak legyenek a mások engedélyezésére váró problémák"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr ""
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Aláírás (e-mail-hez)"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr "Kicsi"
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Rendezés"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Elkezdve"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Kiosztva"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Állam"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Státusz"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Státusz változtatása: '%1' --> '%2'"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Elcsen"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Problémák elcsenése"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Probléma elcsenése %1 tulajdonostól"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Probléma elcsenése %1 tulajdonostól "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Tárgy"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr ""
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Mentés"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Sikerült"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "V"
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Rendszer"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Rendszerkonfiguráció"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Rendszerhiba"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "Rendszerkonfiguráció"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Rendszerhiba. Jog nem delegálható ."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Rendszerhiba. Jog nem adható."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Rendszercsoportok"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr ""
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr ""
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Atvesz"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Problémák átvétele"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Átvéve"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Sablon"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Sablon #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Sablon törölve"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Sablon nem található"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Sablon beolvasva"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Sablonok"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Szöveg"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Már ez az aktuális érték"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Egyéni mezõhöz érvénytelen értek"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Ez ugyanaz az érték"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "A felhasználónak/csoportnak mát van ilyen joga"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "A vezetõ már %1-a a sornak"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "A vezetõ már %1-a a problémának"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "A vezetõ már nem %1-a a sornak"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Ez a sor nem létezik"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Már ez a felhasználó a tulajdonos!"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Ilyen felhasználó nem létezik"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "A felhasználó már kiemelt"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "A felhasználó már nem kiemelt"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "A felhasználó mostantól kiemelt"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "A felhasználó mostantól nem kiemelt"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "a felhasználóhoz nem tartozhatnak problémák ebbõl a sorból"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr ""
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Alapadatok"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr ""
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr ""
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr ""
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr ""
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Diese Transaktion scheint keinen Inhalt zu haben"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "A felhasználó által felvetett %1 legsürgõsebb probléma"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Cs"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "%1. számú (%2) probléma jellemzõinek módosítása"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Probléma. %1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "%1. probléma"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr ""
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Probléma %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Probléma egyéni mezõi"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr ""
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Pobléma megoldva"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Probléma tranzakciói"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "A probléma tartalma"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr ""
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Probléma metadata"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr ""
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Problémák"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Maradék idõ"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Ráfordított munkaidõ"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Maradék idõ"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr ""
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Munkaidõ"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "Ráfordított munkaidõ"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Beérkezett"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Eszközök"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Tranzakció egyéni mezõi"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr ""
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "K"
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Típus"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr ""
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr ""
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "korlátlan"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Névtelen lekérdezés"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Nem kiemelt"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Inaktív egyéni mezõk"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Inaktív objektumok"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Probléma visszaadása"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Frissít"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Mindet frissíti"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Probléma frissítése"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Frissítés típusa"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "A kiválasztott problémák frissítése"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr ""
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "A kiválasztott problémák frissítése"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr ""
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr ""
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "%1. számú (%2) probléma aktualizálása"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr ""
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Frissítve"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Feltöltés"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Több fájl feltöltése egyszerre"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Több kép feltöltése egyszerre"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Egy fájl feltöltése"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Egy kép feltöltése"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Módosítások feltöltése"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "'%1' felhasználó nem található"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Felhasználó által meghatározott"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Felhasználói jogok"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Felhasználó létrehozva"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Felhasználó által definiált csoport"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Felhasználó betöltve"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Felhasználó által definiált csoportok"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Felhasználó"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Felhasználók"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr ""
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Értékek"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Résztvevõk"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Sze"
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr ""
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr ""
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr ""
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr ""
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr ""
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr ""
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr ""
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr ""
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr ""
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Munkahelyi"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Munkaidõ"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Már az öné ez a probléma"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "%1 Problémát talált a %2 sorban"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Kilépett a Request Tracker programból."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Nincs joga létrehozni problémákat ebben a sorban"
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Nem hozhat létre problémákat ebben a sorban"
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Itt ismét bejelentkezhetsz!"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr ""
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "A problémája engedélyezve."
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "A problémája elutasítva."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "A begépelt felhasználói név vagy jelszó hibás!"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Irányítószám"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr "létrehozhat saját lekérdezéseket"
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr "betölthet saját lekérdezéseket"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "%1nak engedélyezve"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "Lezárt"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "tartalmazza"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "napja"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "törölve"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "nem"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "nem tartalmazza"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "egyenlõ"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr "hiba: nincs mit törölni"
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "nagyobb mint"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr " '%1' csopot"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "órája"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "Sorszám"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr " == "
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr " nem "
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "kisebb mint"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "=="
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "perce"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "perc"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "hónapja"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "új"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "(nincs név)"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "Nincs érték"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "senki"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "nem egyenlõ"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "Nyitott"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "Stapel %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "elutasítva"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "megoldva"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sec"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "várakozik"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "rendszer %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr ""
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "probléma #%1 %2"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "felhasználó %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "hete"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "éve"
-
diff --git a/rt/lib/RT/I18N/i_default.pm b/rt/lib/RT/I18N/i_default.pm
deleted file mode 100644 (file)
index 28082af..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::I18N::i_default;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::I18N);
-
-eval "require RT::I18N::i_default_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/I18N/i_default_Vendor.pm});
-eval "require RT::I18N::i_default_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/I18N/i_default_Local.pm});
-
-1;
-
-__END__
-
-This class just zero-derives from the project base class, which
-is English for this project.  i-default is "English at least".  It
-wouldn't be a bad idea to make our i-default messages be English
-plus, say, French -- i-default is meant to /contain/ English, not
-be /just/ English.  If you have all your English messages in
-Whatever::en and all your French messages in Whatever::fr, it
-would be straightforward to define Whatever::i_default's as a subclass
-of Whatever::en, but for every case where a key gets you a string
-(as opposed to a coderef) from %Whatever::en::Lexicon and
-%Whatever::fr::Lexicon, you could make %Whatever::i_default::Lexicon 
-be the concatenation of them both.  So: "file '[_1]' not found.\n" and
-"fichier '[_1]' non trouve\n" could make for an
-%Whatever::i_default::Lexicon entry of
-"file '[_1]' not found\nfichier '[_1]' non trouve.\n".
-
-There may be entries, however, where that is undesirable.
-And in any case, it's not feasable once you have an _AUTO lexicon
-in the mix, as wo do here.
-
-
-
-RFC 2277 says: 
-
-4.5.  Default Language
-
-   When human-readable text must be presented in a context where the
-   sender has no knowledge of the recipient's language preferences (such
-   as login failures or E-mailed warnings, or prior to language
-   negotiation), text SHOULD be presented in Default Language.
-
-   Default Language is assigned the tag "i-default" according to the
-   procedures of RFC 1766. It is not a specific language, but rather
-   identifies the condition where the language preferences of the user
-   cannot be established.
-
-   Messages in Default Language MUST be understandable by an English-
-   speaking person, since English is the language which, worldwide, the
-   greatest number of people will be able to get adequate help in
-   interpreting when working with computers.
-
-   Note that negotiating English is NOT the same as Default Language;
-   Default Language is an emergency measure in otherwise unmanageable
-   situations.
-
-   In many cases, using only English text is reasonable; in some cases,
-   the English text may be augumented by text in other languages.
-
-
diff --git a/rt/lib/RT/I18N/id.po b/rt/lib/RT/I18N/id.po
deleted file mode 100644 (file)
index f532848..0000000
+++ /dev/null
@@ -1,5047 +0,0 @@
-# Copyright (c) 2002 Jesse Vincent <jesse@bestpractical.com>
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: \n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2005-06-03\n"
-"Last-Translator: James <james@actionmessage.com>\n"
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=US-ASCII\n"
-"Content-Transfer-Encoding: 7bit\n"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr "$Awalan %1"
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 #%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %2 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 sudah ditambah"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 yang lalu"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 diganti menjadi %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 sudah dihapus"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 gunakan template %3"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) oleh %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "(Belum diubah)"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Sebuah penjelasan untuk dilewati ke %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - status Output diperbaharui menjadi STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - menetapkan modul aksi yang ingin digunakan oleh anda"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - menetapkan moduk kondisi yang ingin digunakan oleh anda"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - menetapkan modul pencarian yang ingin digunakan oleh anda"
-
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr "%1 RT %2 Hak Cipta 1996-%3 %4."
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "%1 Memanggil AksiScrip"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 ditambahkan sebagai nilai untuk %2"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 ditampilkan sebagai objek lokal, tetapi tidak dapat ditemukan di dalam database"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 oleh %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 sudah diganti dari %2 ke %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "%1 ditiru"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 tidak bisa diatur ke %2."
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 tidak dapat mengatur status untuk diselesaikan. Database RT's mungkin tidak konsisten."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "%1 sudah dibuat"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "%1 sudah dihapus"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "%1 Tiket dengan prioritas paling tinggi yang saya miliki"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 Tiket dengan prioritas paling tinggi yang saya minta..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 adalah sebuah alat yang berfungsi pada tiket dari alat penjadwalan eksternal, seperti Cron."
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 tidak lagi menjadi %2 untuk antrian ini."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 tidak lagi menjadi nilai untuk kolom kustom %2"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 menit"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "%1 tiket terbaru yang belum dimiliki"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 newest unowned tickets..."
-msgstr "%1 tiket terbaru yang belum dimiliki..."
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 objek"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "hak-hak %1"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 akan memecahkan semua anggota dari grup tiket yang dipecahkan."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%1's %2 objek"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr "%1's %2's %3 objek"
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "%1's pencarian disimpan"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: tidak ada lampiran yang ditentukan"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' adalah nilai yang tidak valid untuk status"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Klik kotak ini untuk hapus)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Klik kotak ini untuk menon-aktifkan pemberitahuan kepada penerima yang sudah terdaftar)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Klik kotak ini untuk mengaktifkan pemberitahuan kepada penerima yang sudah terdaftar)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Masukkan ID Tiket atau URL, dipisahkan dengan spasi)"
-
-#: NOT FOUND IN SOURCE
-msgid "(If left blank, will default to %1"
-msgstr "(Jika ditinggalkan kosong, default akan diatur menjadi %1"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Jika ditinggalkan kosong, default akan menjadi %1)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Tidak ada kolom kustom)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Tidak ada anggota)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Tidak ada scrip)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Tidak ada template)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(Tidak satu pun)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Kirim salinan tembusan untuk memperbaharui daftar alamat email yang dibatasi dengan koma. <b>Tidak</b> akan mengubah siapakah yang akan menerima pembaharuan di masa datang.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Kirim salinan tembusan untuk memperbaharui daftar alamat administrasi email. Orang-orang ini <b>akan</b> menerima pembaharuan di masa datang.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Kirim salinan tembusan untuk memperbaharui daftar alamat email. <b>Tidak</b> akan mengubah siapakah yang akan menerima pembaharuan di masa datang.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Kirim salinan tembusan untuk memperbaharui daftar alamat email. Orang-orang ini <b>akan</b> menerima pembaharuan di masa datang.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "Gunakan kolom ini ketika anda memilih 'Definisikan Pengguna' untuk sebuah kondisi atau aksi"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(kosong)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(tidak ada nama yang terdaftar)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(Tidak ada nilai)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(Tidak ada nilai-nilai)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(hanya satu Tiket)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(izin ditunda)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(Koleksi yang lain ditunda)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(diperlukan)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(tidak ada judul)"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Tiket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr "<%$_%>"
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr "<%$kolom%>"
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<Tipe input=\"submit\" nilai=\"Tiket Baru di dalam \">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Template kosong"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE tidak ditemukan"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACE hanya dapat dibuat dan dihapus."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr "DAN"
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Dibatalkan untuk menghindari modifikasi tiket yang tidak diharapkan.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Tentang Aku"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Kontrol Akses"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Aksi"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Aksi %1 tidak ditemukan"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Aksi dijalankan."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr "Aksi dijalankan."
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Aksi disiapkan..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Tambah"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Tambah AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Tambah Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr "Tambah Kolom"
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Tambah Kriteria"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Tambah File Lagi"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Tambah Pemohon"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Tambah Nilai"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Tambah scrip yang akan digunakan di semua antrian"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "Tambahkan kriteria tambahan"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Tambah Komentar atau balas ke tiket yang sudah dipilih"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Tambah Anggota"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Tambah Pengamat Baru"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr "Tambah, hapus dan ubah nilai kolom kustom untuk objek"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Tambahkan prinsipal sebagai %1 untuk antrian ini"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Tambahkan prinsipal sebagai %1 untuk Tiket ini"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Alamat1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Alamat2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Komentar Admin"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Korespondensi Admin"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Antrian Admin"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Konfigurasi Admin/Global"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "Kolom Kustom Admin"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "Grup Admin"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "Keanggotaan Grup Admin"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "Milik Grup Pribadi Admin"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "Antrian Admin"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "Pengguna Admin"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Cc Administrasi"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Lanjutan"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Setelah"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr "Kumpulan"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Semua Izin terlewati"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Semua Antrian"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr "Dan/Atau"
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "Digunakan untuk"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Digunakan"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Digunakan untuk perubahan anda"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Izin"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Izin #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Izin #%1: Catatan yang tidak dicatat karena kesalahan sistem"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Izin #%1: Catatan yang dicatat"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Izin dilewati"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Izin ditolak"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Disetujui"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Catatan Pemberi Persetujuan: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Apr."
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Naik"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Menentukan dan memindahkan kolom kustom"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "Menentukan Kolom Kustom"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Melampirkan"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Melampirkan file"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "File dilampirkan"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Lampiran '%1' tidak dapat dipanggil"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Lampiran dibuat"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Nama File Lampiran"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Lampiran-lampiran"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Attribut sudah dihapus"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Agst."
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "Sistem Otorisasi"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Balas Otomatis"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Balas Otomatis ke Pemohon"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Columns"
-msgstr "Kolom Tersedia "
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Data buruk di dalam %1"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Dasar-dasar"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Pastikanlah untuk menyimpan setiap perubahan anda"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Sebelum"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr "Pemecahan Praktis yang terbaik, Logo bisnis LLC"
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "Binary"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Kosong"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr "Diberi huruf tebal"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "Menyimpan penunjuk link"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Catatan Atas Singkat"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Memperbaharui tiket dengan jumlah banyak pada waktu yang sama"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Tidak dapat mengubah sistem pengguna"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Dapatkah prinsipal melihat antrian ini"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Tidak dapat menambah nilai kolom kustom tanpa nama"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr "Tidak dapat menemukan kelas koleksi untuk '%'"
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Tidak dapat menemukan pencarian yang disimpan untuk bekerja dengan"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Tidak dapat menghubungkan tiket tersebut dengan dirinya sendiri"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Tidak dapat digabungkan ke dalam tiket gabungan. Anda seharusnya tidak pernah mendapatkan kesalahan ini."
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Tidak dapat menyimpan pencarian ini"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Tidak dapat menentukan baik dasar dan sasaran"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Tidak dapat membuat pengguna: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Ubah Sandi"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Periksa Semua"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Klik kotak ini untuk hapus"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Klik kotak ini untuk menghilangkan hak-hak"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Anak"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Kota"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Hapus Semua"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Ditutup"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Tiket sudah ditutup"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Komentar"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Alamat Komentar"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Komentar pada Tiket"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "Komentar Pada Tiket"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Komentar"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Komentar (Tidak dikirim ke pemohon)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Komentar (tidak dikirim ke pemohon)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Komentar mengenai %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Komentar tentang pengguna ini"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Komentar sudah ditambahkan"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Potongan Tiket Dijalankan"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Kondisi"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Kondisi sesuai dengan ..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Kondisi tidak ditemukan"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Konfigurasi"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Konfirmasi"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "Hubungi Sistem Info"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Isi"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "Tipe - Isi"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Tiru"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Korespondensi"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Korespondensi sudah ditambah"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Tidak dapat menambah nilai kolom kustom baru untuk tiket."
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr "Tidak dapat menambah nilai kolom kustom baru"
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr "Tidak dapat menambah nilai kolom kustom baru"
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Tidak dapat mengubah pemilik tiket. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Tidak dapat membuat Kolom Kustom"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr "Tidak dapat membuat Kolom Kustom:%1 "
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Tidak dapat membuat grup"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Tidak dapat membuat template: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Tidak dapat membuat tiket. Antrian tidak dapat diatur"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Tidak dapat membuat pengguna"
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Tidak dapat menemukan atau membuat pengguna tersebut"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Tidak dapat menemukan prinsipal tersebut"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Tidak dapat memanggil KolomKustom %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Tidak dapat memanggil grup"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr "Tidak dapat memanggil objek untuk %1"
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr "Tidak dapat memanggil attribut pencarian"
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Tidak dapat membuat prinsipal tersebut %1 untuk antrian ini"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Tidak dapat membuat prinsipal tersebut %1 untuk Tiket ini"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Tidak dapat menghapus prinsipal tersebut sebagai  %1 untuk antrian ini"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Tidak dapat mengatur informasi pengguna"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Tidak dapat menambah anggota ke grup"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Tidak dapat membuat transaksi: %1"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Tidak dapat menemukan baris"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Tidak dapat menemukan prinsipal tersebut"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Tidak dapat menemukan nilai tersebut"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Tidak dapat memanggil %1 dari database pengguna.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "Tidak dapat memanggil Kelas %1"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "Tidak dapat memanggil Kolom Kustom %1"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Tidak dapat memanggil grup %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Tidak dapat memanggil link"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Tidak dapat memanggil objek %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Tidak dapat memanggil antrian"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Tidak dapat memanggil antrian %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Tidak dapat memanggil pengguna tersebut (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Tidak dapat memanggil Tiket '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Negara"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Dibuat"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Buat Tiket"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Buat Kolom Kustom"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Buat Kolom Kustom untuk antrian %1"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Buat grup baru"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Buat grup pribadi baru"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Buat tiket baru"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Buat pengguna baru"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Buat antrian"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Buat scrip untuk antrian %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Buat template"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Buat Tiket"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Buat Tiket baru berdasarkan pada template scrip ini"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Buat Tiket"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Buat tiket untuk antrian ini"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Buat, hapus dan ubah kolom kustom"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Buat, hapus dan ubah antrian"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Buat, hapus dan ubah anggota dari grup pribadi"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Buat, hapus dan ubah pengguna"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr "Buat Pencarian yang Disimpan"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "Buat Tiket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "sudah Dibuat"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Kolom Kustom sudah dibuat %1"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Pencipta"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Link yang sekarang"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Relationships"
-msgstr "Hubungan Sekarang"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Scrips Sekarang "
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Anggota Sekarang"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Hak-hak Sekarang"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Kriteria pencarian sekarang"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Pengamat sekarang"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Kolom Kustom"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Kolom Kustom untuk %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Aksi kustom membersihkan kode"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Aksi kustom menyiapkan kode"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Kondisi kustom"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Kolom kustom %1 %2 %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 does not apply to this object"
-msgstr "Kolom kustom %1 tidak dapat digunakan untuk objek ini"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Kolom kustom %1 memiliki nilai."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Kolom kustom %1 tidak memiliki nilai."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Kolom kustom %1 tidak ditemukan"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Kolom kustom tidak ditemukan"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Nilai kolom kustom %1 tidak dapat ditemukan untuk kolom kustom %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Nilai kolom kustom tidak dapat dihapus"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Nilai kolom kustom tidak dapat ditemukan"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Nilai kolom kustom sudah dihapus"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "Kolom kustom"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Tanggal"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Des."
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Default template Balas Otomatis"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Default Antrian"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Default Pemohon"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Default template komentar admin"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Default template korespondensi admin"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Default template korespondensi"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Default template transaksi"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Default: %1/%2 diganti dari %3 ke %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Hak-hak Utusan"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Hak-hak spesifik utusan yang sudah diberikan kepada anda."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "Hak-hak Utusan"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Delegasi"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Hapus"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Hapus Template"
-
-#: NOT FOUND IN SOURCE
-msgid "Delete article #%1"
-msgstr "Hapus artikel #%1"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr "Gagal dihapus: %1"
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Hapus scrip yang sudah dipilih"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Hapus tiket"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "Hapus tiket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr "Pencarian dihapus"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Menghapuskan objek ini dapat memutuskan integrasi referensial"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Menghapuskan objek ini dapat memutuskan integrasi referensial"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Menghapuskan objek ini dapat melanggar integrasi referensial"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Ditolak"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Bergantung oleh"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Ketergantungan oleh %1 sudah ditambah"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Ketergantungan oleh %1 sudah dihapus"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Ketergantungan oleh %1 sudah dihapus"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Ketergantungan oleh %1 sudah dihapus"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Bergantung pada"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Turun"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Gambarkan persoalan dibawah ini"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Deskripsi"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Tampilkan"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Tampilkan Daftar Kontrol Akses"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Tampilkan Kolom"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Tampilkan template Scrip untuk antrian ini"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Tampilkan Scrip untuk antrian ini"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Tampilkan mode"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "Tampilkan pencarian yang disimpan untuk grup ini"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "Didistribusikan dibawah versi 2 dari <a href=\"http://www.gnu.org/copyleft/gpl.html\"> GNU GPL.</a>"
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Lakukan apa saja dan semuanya"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr "Lakukan Pencarian"
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Jangan refresh halaman ini."
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Jangan tampilkan hasil pencarian"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Download"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "Download sebagai file yang dibatasi dengan tab"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Batas Waktu"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "KESALAHAN: Tidak dapat memanggil Tiket '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Ubah"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Ubah Kolom Kustom untuk %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr "Ubah Kolom Kustom untuk semua grup"
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr "Ubah Kolom Kustom untuk semua pengguna"
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr "Ubah Kolom Kustom untuk tiket di dalam semua antrian"
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Ubah Link"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Ubah Query"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Relationships"
-msgstr "Ubah Hubungan"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Ubah Templates untuk antrian %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr "Ubah pencarian yang disimpan untuk grup ini"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Ubah template sistem"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "Ubah Pencarian yang Disimpan"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Mengubah Konfigurasi untuk antrian %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Mengubah Konfigurasi untuk pengguna %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Mengubah Kolom Kustom %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Mengubah keanggotaan untuk grup ini %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Mengubah keanggotaan untuk grup pribadi %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Baik dasar ataupun sasaran harus ditentukan"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Email"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Alamat Email yang digunakan"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "Alamat Email"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "Set Karakter Email"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Mengaktifkan (Klik kotak ini untuk menon-aktifkan kolom kustom)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Mengaktifkan (Klik kotak ini untuk menon-aktifkan grup ini)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Mengaktifkan (Klik kotak ini untuk menon-aktifkan antrian ini)"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Mengaktifkan Antrian"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Mengaktifkan status %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "Mengaktifkan status: %1"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Masukkan beberapa nilai"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Masukan objek atau URI untuk menghubungkan object tersebut. Pisahkan beberapa input tersebut dengan spasi."
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Masukkan satu nilai"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Masukkan antrian atau URIs untuk menghubungkan antrian tersebut. Pisahkan beberapa input dengan spasi."
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Masukkan tiket atau URIs untuk menghubungkan Tiket tersebut. Pisahkan beberapa input dengan spasi."
-
-#: NOT FOUND IN SOURCE
-msgid "Enter tickets or URIs to link tickets to. Seperate multiple entries with spaces."
-msgstr "Masukkan tiket atau URIs  untuk menghubungkan Tiket tersebut. Pisahkan beberapa input dengan spasi."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Masukkan sampai %1 nilai"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Kesalahan"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Kesalahan di dalam parameter ke Antrian->Tambah Pengamat"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Kesalahan di dalam parameter Ke Antrian->Hapus Pengamat"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Kesalahan di dalam parameter ke Antrian->Hapus Pengamat"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Kesalahan di dalam parameter ke Tiket->Tambah Pengamat"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Kesalahan di dalam parameter ke Tiket->Hapus Pengamat"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Kesalahan di dalam parameter ke Ticket->Hapus Pengamat"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Meningkatkan Prioritas Tiket"
-
-#: NOT FOUND IN SOURCE
-msgid "Estimate"
-msgstr "Perkiraan"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Diperkirakan"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Setiap Orang"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Contoh:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "AuthID Eksternal"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr " Kontak Info ID Eksternal"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Info Tambahan"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr "Gagal untuk membuat atribut pencarian"
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Gagal untuk menemukan pengguna pseudogroup yang memiliki 'Hak-hak Istimewa'."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Gagal untuk menemukan pengguna pseudogroup yang tidak memiliki  'Hak-Hak Istimewa.'"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Gagal untuk memanggil modul %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr "Gagal memanggil objek untuk %1"
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Feb."
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Nama File"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "Isilah di dalam beberapa area teks"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr "Isilah di dalam beberapa area wikiteks"
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "Isilah di dalam satu area teks"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr "Isilah di dalam satu area wikiteks"
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "Isilah sampai %1 area teks"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr "Isilah sampai %1 area wikiteks"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Prioritas Akhir"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "Prioritas Akhir"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Cari grup yang"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Cari orang yang"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Cari tiket"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Pertama"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Diubah dengan paksa"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr "Format"
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Ditemukan % quant(%1,tiket)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Objek ditemukan"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "Freeform"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FreeformContactInfo"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Jum."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Catatan Atas Lengkap"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Ambil template dari file"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Berikan ke %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Global"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Kolom Kustom Global"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr "Konfigurasi kolom kustom global"
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Template Global: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Ambil"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Ambil!"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Ambil tiket"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Grup"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Hak Grup"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Grup sudah memiliki anggota"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Grup tidak dapat dibuat: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Grup sudah dibuat"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Grup tidak memiliki anggota terseperti ini"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Grup tidak ditemukan"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Grup"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Grup tidak bisa menjadi anggota dari mereka"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "Grup sesuai dengan kriteria pencarian"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "Pengguna ini milik grup"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Halo!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Halo, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historis"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "Historis grup %1"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "Historis pengguna %1"
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "Telepon Rumah"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Homepage"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Saya memiliki %quant (%1,concrete mixer)."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr "Saya tersesat"
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Id"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identitas"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Jika izin ditolak, tolak izin yang asli dan hapus izin yang masih ditunda"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "Jika tidak ada pemohon yang ditentukan, buat tiket dengan pemohon ini."
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Jika tidak ada antrian yang ditentukan, buat tiket untuk antrian ini."
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Jika alat ini adalah setgid, hostile local user dapat menggunakan alat ini untuk mendapatkan akses administrasi ke RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Jika anda memperbaharui apapun diatas, pastikanlah untuk"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Nilai Ilegal untuk %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Gambar"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Kolom yang tetap"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Termasuk menon-aktifkan grup di dalam daftar."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Termasuk menon-aktifkan antrian di dalam daftar."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Termasuk menon-aktifkan pengguna di dalam pencarian."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr "Query tidak lengkap"
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr "query tidak lengkap"
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Prioritas Awal"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "Prioritas Awal"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Kesalahan Input"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Kesalahan Internal"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Kesalahan Internal: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Tipe Grup tidak valid"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Hak-hak tidak valid"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Data tidak valid"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Antrian tidak valid"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Hak tidak valid"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Nilai tidak valid untuk %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Nilai tidak valid untuk kolom kustom"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Nilai tidak valid untuk status"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Hal ini sangat penting bahwa pengguna yang tidak memiliki hak-hak istimewa tidak dapat diizinkan untuk menjalankan program ini."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Sangat disarankan bahwa anda membuat pengguna unix yang tidak memiliki hak-hak istimewa dengan keanggotaan grup yang benar dan akses RT untuk menjalankan alat ini."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Hal ini memerlukan beberapa penjelasan:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr "Diberi huruf miring"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Jan."
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Bergabung atau tinggalkan grup ini"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul."
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Jumbo"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun."
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Bhs"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Bahasa"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr "Besar"
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Akhir"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Kontak Terakhir"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Kontak Terakhir"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Pemberitahuan Terakhir"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Pembaharuan Terakhir"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "Pembaharuan Terakhir Oleh"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Kirim"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Biarkan pengguna ini mengakses RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Biarlah pengguna ini diberi hak-hak"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr "Link"
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Link sudah ada"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Link tidak dapat dibuat"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Link sudah dibuat (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Link sudah dihapus (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Link tidak ditemukan"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Link tiket #%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Link-link"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Memanggil"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Memanggil pencarian yang disimpan:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr "Memanggil pencarian yang disimpan"
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Memanggil modul perl"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr "Memanggil pencarian %1"
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Lokasi"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Direktori Log %1 tidak ditemukan atau tidak dapat ditulis.\\n RT tidak dapat dijalankan."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Masuk sebagai %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Login"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Logout"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "Mencari tipe yang tidak sesuai (mismatch)"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Buat Pemilik"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Buat Status"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Buat Tanggal Batas Waktu"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Buat Tanggal Penyelesaian"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Buat Tanggal Mulai"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Buat Tanggal Mulai"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Buat Tanggal Pemberitahuan"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Buat prioritas"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Buat antrian"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Buat subjek"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr "Buat agar grup ini terlihat pada sisi pengguna"
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "Mengatur kolom kustom dan nilai kolom kustom"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Mengatur grup dan keanggotaan grup"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Mengatur propertis dan konfigurasi yang akan digunakan di setiap antrian"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Mengatur antrian dan propertis antrian tertentu"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Mengatur pengguna dan sandi"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Mei."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Anggota %1 sudah ditambah"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Anggota %1 sudah dihapus"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Anggota sudah ditambah"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Anggota sudah dihapus"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Anggota tidak dihapus"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Anggota dari"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Anggota-anggota"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Keanggotaan di dalam %1 sudah ditambah"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Keanggotaan di dalam %1 sudah dihapus"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Keanggotaan"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "Keanggotaan dari pengguna %1"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Penggabungan Berhasil"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Penggabungan gagal. Tidak dapat mengatur EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr "Penggabungan gagal. Tidak dapat mengatur Status"
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Bergabung ke dalam"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Bergabung ke dalam %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Pesan"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "Pesan tidak dapat dicatat"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Pesan sudah dicatat"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "Pesan mengenai Tiket ini tidak akan dikirim ke..."
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr "tanda kurung tidak sama"
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Kunci utama tidak ditemukan?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Hp"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "Handphone"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Mengubah Daftar Kontrol Akses"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr "Ubah Kolom Kustom yang digunakan untuk %1 untuk semua %2"
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Mengatur Kolom Kustom yang dapat digunakan untuk seluruh %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Mengatur Kolom Kustom yang dapat digunakan di seluruh antrian"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Ubah Hak Grup"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Ubah Anggota"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Ubah Hak-hak"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Mengubah template Scrip untuk antrian ini"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Mengubah Scrip untuk antrian ini"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Ubah Hak Pengguna"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Mengubah Kolom Kustom untuk antrian %1"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Mengubah scrip untuk antrian %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Mengubah scrip  yang dapat digunakan di seluruh antrian"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Mengubah objek-objek yang berhubungan untuk %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Mengubah tanggal untuk #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Mengubah tanggal untuk tiket # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr "Mengubah kolom kustom global"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Mengubah hak grup global"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Mengubah hak grup global."
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Mengubah hak pengguna global"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Mengubah hak pengguna global."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Mengubah grup metadata atau menghapus grup"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Mengubah hak grup untuk kolom kustom %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Mengubah hak grup untuk grup %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Mengubah hak grup untuk antrian %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Mengubah daftar nama keanggotaan untuk grup ini"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Mengubah pemilik account RT"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Mengubah orang-orang yang berhubungan dengan antrian %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Mengubah orang-orang yang berhubungan dengan tiket #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Mengubah scrip untuk antrian %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Mengubah scrip yang dapat digunakan di seluruh antrian"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Mengubah template %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Mengubah template yang dapat digunakan di seluruh antrian"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Mengubah grup %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Mengubah pengamat antrian"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Mengubah pengguna %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Mengubah tiket # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Mengubah tiket #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Mengubah tiket-tiket"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Mengubah hak pengguna untuk kolom kustom %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Mengubah hak pengguna untuk grup %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Mengubah hak pengguna untuk antrian %1"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "Mengubah ACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr "Mengubah Kolom Kustom"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "Mengubah Milik Keanggotaan"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "Mengubah Pengamat Antrian"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "Mengubah Scrip"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "Mengubah Sendiri"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "Mengubah Template"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "Mengubah Tiket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Sen."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Lebih mengenai %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Move"
-msgstr "Pindah"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Pindah ke bawah"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Pindah ke atas"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Beberapa"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Harus menentukan 'Nama' attribut"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "%1 tiketku"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Izinku"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Pencarian yang kusimpan"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Nama"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Nama yang digunakan"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Tidak pernah"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Baru"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Link Baru"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Sandi Baru"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Izin Baru yang Ditunda"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Query Baru"
-
-#: NOT FOUND IN SOURCE
-msgid "New Relationships"
-msgstr "Hubungan Baru"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Kolom Kustom Baru"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Grup Baru"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Sandi Baru"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Kirim Pemberitahuan Sandi Baru"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Antrian Baru"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Hak-hak Baru"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Scrip Baru"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Template Baru"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Tiket Baru"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Tidak ada Tiket baru"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Pengguna Baru"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Pengguna Baru disebut"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Pengamat Baru"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Setting Window Baru"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Berikutnya"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Halaman Berikutnya"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Nama Panggilan"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Nama Panggilan"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "Tidak ada Kelas yang didefinisikan"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Tidak ada Kolom Kustom"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Tidak ada Kolom Kustom yang didefinisikan"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Tidak ada Grup yang didefinisikan"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Tidak ada Query"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Tidak ada Antrian yang didefinisikan"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Tidak ada pengguna RT yang ditemukan. Silakan berkonsultasi dengan administrator RT anda.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Tidak ada Template"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Tidak ada Tiket yang ditentukan. Batalkan tiket "
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Tidak ada aksi"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Tidak ada kolom yang ditentukan"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Tidak ada komentar yang dimasukkan mengenai pengguna ini"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Tidak ada deskripsi untuk %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Tidak ada grup yang ditentukan"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Grup yang sesuai dengan kriteria pencarian tidak ditemukan."
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "Tidak ada pesan yang dilampirkan"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Tidak ada pengaturan Sandi"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Tidak ada izin untuk membuat antrian"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Tidak ada izin untuk membuat tiket ini di dalam antrian '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Tidak ada izin untuk membuat pengguna"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Tidak ada izin untuk menampilkan tiket tersebut"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Tidak ada izin untuk menampilkan tiket yang sudah diperbaharui"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Tidak ada prinsipal yang ditentukan"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Tidak ada prinsipal yang dipilih."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Antrian yang sesuai dengan kriteria pencarian tidak ditemukan."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Tidak ada hak-hak yang ditemukan"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Tidak ada hak-hak yang diberikan."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr "Tidak ada pencarian yang dipanggil"
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Tidak ada pencarian untuk dijalankan di."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Tidak ada subjek"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Tidak ada tipe transaksi yang ditentukan"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Pengguna yang sesuai dengan kriteria pencarian tidak ditemukan."
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Tidak ada pengguna RT yang valid ditemukan. RT cvs handler dilepaskan. Silakan berkonsultasi dengan administrator RT anda.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Tidak ada nilai yang dikirim ke _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Tidak seorangpun"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Kolom kosong?"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Belum log in"
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Belum diatur"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Belum diimplementasikan."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Catatan"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Pemberitahuan tidak dapat dikirimkan"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Beritahu AdminCcs"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Beritahu AdminCcs dengan komentar"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "Beritahu Ccs"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "Beritahu Ccs dengan komentar"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Beritahu Penerima Lain"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Beritahu Penerima Lain dengan komentar"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Beritahu Pemilik"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Beritahu Pemilik dengan komentar"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "Beritahu pemilik bahwa tiketnya ditolak"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "Beritahu Pemilik bahwa tiketnya sudah disetujui oleh seluruh pemberi persetujuan"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "Beritahu Pemilik bahwa tiketnya sudah disetujui oleh beberapa pemberi persetujuan"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Beritahu Pemilik dan AdminCcs mengenai izin item baru yang ditunda"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Beritahu Pemohon"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Beritahu Pemohon dan Ccs"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Beritahu Pemohon dan Ccs dengan komentar"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Beritahu Pemohon, Ccs dan AdminCcs"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Beritahu Pemohon, Ccs dan AdminCcs dengan komentar"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nop."
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr "ATAU"
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Objek tidak dapat dibuat"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr "Objek tidak dapat dihapus"
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Object sudah dibuat"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr "Objek sudah dihapus"
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "Tipe Objek %1 tidak dapat mengambil kolom kustom"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "Tipe Objek tidak sesuai (mismatch)"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Okt."
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Offline"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Ubah Offline"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Upload Offline"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "Pada"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Pada Komentar"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Pada Hubungan"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Pada Pembuatan"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Pada Perubahan Pemilik"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "Pada Perubahan Prioritas"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Pada Perubahan Antrian"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Pada Penyelesaian"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Pada Perubahan Status"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Pada Transaksi"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Hanya menampilkan izin untuk permintaan yang dibuat sesudah %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Hanya menampilkan izin untuk permintaan yang dibuat sebelum %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Buka"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Buka ini"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Buka tiket"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Buka tiket (dari daftar) di window yang baru"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Buka tiket (dari daftar)  di window yang lain"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Buka tiket pada korespondensi"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Diurutkan sesuai"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Diurutkan dan disortir"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organisasi"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Tiket Awal: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Email yang keluar mengenai komentar yang dicatat"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Email keluar yang dicatat"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Lewat Batas waktu, prioritas pindah ke arah"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Memiliki tiket-tiket"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "Memiliki tiket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Pemilik"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "Pemilik tidak dapat diatur."
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Pemilik secara paksa digantikan dari %1 ke %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Pemilik adalah"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Halaman %1 dari %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Pager"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Pager"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Induk "
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Sandi"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Pengingat Sandi"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr "Sandi sudah diubah"
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr "Minimal sandi memerlukan paling sedikit %1 karakter"
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Sandi terlalu singkat"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Sandi: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Sandi tidak sesuai."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Sandi tidak sesuai. Sandi anda belum diganti"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Orang-Orang"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Menampilkan aksi pengguna yang belum didefinisikan"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Konfigurasi Perl"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Izin ditolak"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Grup Pribadi"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Grup pribadi"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Grup pribadi:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Nomor Telepon"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Pilihan"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Siapkan Potongan Tiket"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Sebelumnya"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Halaman Sebelumnya"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Prinsipal %1 tidak ditemukan."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioritas"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Prioritas dimulai pada"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Pribadi:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Hak-hak Istimewa"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Status Hak-hak Istimewa: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Pengguna Hak-hak Istimewa"
-
-#: NOT FOUND IN SOURCE
-msgid "Projects"
-msgstr "Proyek-Proyek"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudogroup digunakan untuk internal"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Query"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Pembuat Query"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Antrian"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Antrian %1 tidak ditemukan"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Nama Antrian"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Antrian sudah ada"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Antrian tidak dapat dibuat"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Antrian tidak dapat dipanggil."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Antrian sudah dibuat"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Antrian tidak dapat ditemukan"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Antrian-antrian"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Pencarian Cepat"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Pembuatan Tiket Cepat"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 untuk %2"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Administrasi RT"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Kesalahan RT"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "Variable RT "
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "Sekilas RT"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr "RT tidak dapat menyimpan sesi anda"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT untuk %1"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Nama Asli"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "Nama Asli"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Referensi oleh %1 sudah ditambah"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Referensi oleh %1 sudah dihapus"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Referensi ke %1 sudah ditambah"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Referensi ke %1 sudah dihapus"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Diserahkan oleh"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Diserahkan ke"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Membersihkan pencarian"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Refresh halaman ini setiap %1 menit."
-
-#: NOT FOUND IN SOURCE
-msgid "Relationships"
-msgstr "Hubungan"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Hapus AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Hapus Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Hapus Pemohon"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Balas"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Balas ke Alamat"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Balas ke Pemohon"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Balas ke tiket"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "Balas ke Tiket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Pemohon"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Pemohon"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "permintaan akan melewati batas waktu dalam"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Parameter yang diperlukan '%1' tidak didefinisikan"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Ulangi"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Tempat Tinggal"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Penyelesaian"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Penyelesaian tiket #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Sudah Diselesaikan"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Balas ke pemohon"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Hasil"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Hasil per halaman"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Ketik Ulang Sandi"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Kembali pada"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Hak-hak Utusan"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Memberikan Hak-hak"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Memanggil Hak-hak"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Hak-hak tidak dapat dihilangkan"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Hak-hak tidak ditemukan"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Hak-hak tidak dapat dipanggil."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Hak-hak tidak dapat dihilangkan"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Hak-hak"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Hak-hak tidak dapat diberikan untuk %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Hak-hak tidak dapat dihilangkan untuk %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Aturan"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Baris per halaman"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sab."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Simpan"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Simpan Perubahan"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Simpan Pilihan"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Simpan perubahaan"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr "Simpan pencarian %1"
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Simpan pencarian"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip sudah dibuat"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Kolom Scrip"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip sudah dihapus"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrip"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scrip yang digunakan di seluruh antrian"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Pencarian"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr "Gagal memanggil atribut pencarian"
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Pencarian untuk izin"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr "Perbaharui Pencarian: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Searches can't be associated with that kind of object"
-msgstr "Pencarian tidak dapat dihubungkan dengan objek yang seperti ini"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Keamanan:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Lihat kolom kustom"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "Lihat pesan email yang keluar dan semua penerimanya dengan tepat"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Lihat Penjelasan Tiket Pribadi"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Lihat Ringkasan Tiket"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "Lihat Kolom Kustom"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr "Lihat Grup"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "Lihat Antrian"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "Pilih"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Pilih Kolom Kustom"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Pilih grup"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Pilih antrian"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr "Pilih antrian untuk tiket baru anda"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Pilih Pengguna"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Pilih kolom kustom"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr "Pilih kolom kustom untuk seluruh grup pengguna"
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr "Pilih kolom kustom untuk seluruh pengguna"
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr "Pilih kolom kustom untuk tiket di seluruh antrian"
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr "Pilih kolom kustom untuk transaksi pada tiket di dalam seluruh antrian"
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Pilih grup"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Pilih beberapa nilai"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Pilih satu nilai"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Pilih antrian"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Pilih scrip"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Pilih template"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Pilih sampai %1 nilai"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Pilih pengguna"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Kolom Kustom yang dipilih"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Objek yang dipilih"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Kirim pesan ke seluruh pengamat"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Kirim pesan ke seluruh pengamat dengan \"komentar\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Kirim pesan ke pemohon dan Ccs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Kirim pesan ke pemohon dan Ccs dengan komentar"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Kirim pesan ke pemohon"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Kirim pesan ke Ccs and Bccs yang terdaftar dengan jelas"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Kirim pesan ke Ccs"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Kirim pesan ke Ccs dengan komentar"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Kirim pesan ke Ccs administrasi"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Kirim pesan ke Ccs administrasi dengan komentar"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Kirim pesan ke pemilik"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep."
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Tampilkan"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Tampilkan Izin"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Tampilkan Kolom"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Tampilkan Hasil"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Tamplikan permintaan yang disetujui"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Tampilkan dasar-dasar"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Tampilkan permintaan yang ditolak"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Tampilkan detil"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Tampilkan permintaan yang ditunda"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Tampilkan permintaan izin lain yang ditunggu"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "Tampilkan ACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr "Tampilkan Tab Config"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "Tampilkan Email yang Keluar"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "Tampilkan Pencarian yang Disimpan"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "Tampilkan Scrip"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "Tampilkan Template"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "Tampilkan Tiket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "Tampilkan Komentar Tiket"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Daftar sebagai pemohon tiket atau tiket atau antrian Cc"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Daftar sebagai tiket atau antrian AdminCc"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Tanda Tangan"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Tunggal"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr "Ukuran"
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Lewati Menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr "Kecil"
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Sortir"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Sortir hasil dengan"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Tingkat"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Sudah dimulai"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Mulai"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Negara"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Status"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Status Diubah"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Status diubah dari %1 ke %2"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Curi"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Curi tiket"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "Curi Tiket"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Dicuri dari %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Dicuri dari %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr "Gaya"
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Subjek"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Subjek diganti menjadi %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Submit"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Berhasil"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Min."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "PenggunaSuper"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Sistem"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Konfigurasi Sistem"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Kesalahan Sistem"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr "Kesalahan sistem: %1"
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "Peralatan Sistem"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Kesalahan sistem. Hak-hak tidak dapat diserahkan."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Kesalahan sistem. Hak-hak tidak dapat diberikan."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Grup Sistem"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr " GrupAturanSistem yang digunakan untuk internal"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TES_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Ambil"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Ambil tiket"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "Ambil Tiket"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Diambil"
-
-#: NOT FOUND IN SOURCE
-msgid "Task"
-msgstr "Tugas"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Template"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Template #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Template sudah dihapus"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Template tidak ditemukan"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Template parsed"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Template-template"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Teks"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Ini adalah nilai yang sekarang"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Ini bukan nilai untuk kolom kustom ini"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Ini adalah nilai yang sama"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Prinsipal ini sudah memiliki hak-hak tersebut"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Prinsipal ini sudah %1 untuk antrian ini"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Prinsipal ini sudah %1 untuk tiket ini"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Prinsipal ini bukan %1 untuk antrian ini"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Antrian ini tidak ada"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Tiket ini mempunyai ketergantungan yang belum dapat diselesaikan"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Pengguna ini sudah memiliki tiket tersebut"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Pengguna ini tidak ada"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Pengguna ini sudah memiliki hak-hak istimewa"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Pengguna ini sudah tidak memiliki hak-hak istimewa"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Pengguna tersebut sekarang memiliki hak-hak istimewa"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Pengguna tersebut sekarang tidak memiliki hak-hak istimewa"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Pengguna tersebut mungkin tidak memiliki tiket di dalam antrian tersebut"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Ini bukan menurut angka ID"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Dasar-dasar"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "CC tiket"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "CC tiket administrasi"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Perintah berikut ini akan menemukan seluruh tiket yang aktif di dalam antrian 'umum' dan mengatur prioritas mereka ke 99 jika mereka tidak digunakan dalam waktu  4 jam:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "Perintah berikut ini tidak akan dijalankan:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Nilai baru sudah diatur."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Pemilik tiket"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Pemohon tiket"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Komentar ini umumnya tidak jelas bagi pengguna"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "Kolom kustom ini tidak dapat digunakan pada objek tersebut"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Fitur ini hanya tersedia untuk sistem administrator"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Pesan ini akan dikirim ke..."
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Alat ini mengijinkan pengguna untuk menjalankan modul perl yang berubah-ubah dari dalam RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Transaksi ini tampaknya tidak memiliki isi"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Pengguna ini memiliki %1 tiket dengan prioritas tertinggi"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Kms."
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Tiket #%1 Perbaharui Jumbo: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Tiket #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Tiket %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Tiket %1 sudah dibuat di dalam antrian '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Tiket %1 sudah dipanggil\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Tiket %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Tiket Kolom Kustom"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Historis Tiket # %1 %2"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Tiket sudah diselesaikan"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Transaksi Tiket"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Lampiran Tiket"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Isi Tiket"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Tipe isi Tiket"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Tiket tidak dapat dibuat karena ada kesalahan internal"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Metadata Tiket"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Status tiket sudah diubah"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr "Pencarian modul Tiket SQL"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Tiket-tiket"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Tiket %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Tiket %1 oleh %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Tiket dari %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Tiket yang bergantung dengan izin ini:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Perkiraan Waktu"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Sisa Waktu"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Waktu Kerja"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Sisa waktu"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Waktu untuk ditampilkan"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Waktu kerja"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "Waktu Kerja"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr "Judul"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "To generate a diff of this commit:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "To generate a diff of this commit:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "Untuk menanyakan tentang bantuan, latihan, perkembangan kustom atau izin, silakan hubungi %1."
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Memberitahukan"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "alat-alat"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transaksi"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transaksi %1 sudah dibersihkan"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transaksi sudah dibuat"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Kolom Kustom Transaksi"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Transaksi->Tidak dapat dibuat, karena anda tidak menentukan tipe objek dan id"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transaksi yang tetap"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Sel."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Tipe"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Belum diimplementasikan"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Login Unix"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Nama Pengguna Unix"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Content Encoding tidak dikenali%1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr "Kolom tidak dikenali: $key"
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Tidak terbatas"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Pencarian tidak dikenal"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Tidak memiliki hak-hak istimewa"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Kolom Kustom tidak dipilih"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Objek tidak dipilih"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Belum diambil"
-
-#: NOT FOUND IN SOURCE
-msgid "Untitled search"
-msgstr "Pencarian yang tidak memiliki judul"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Perbaharui"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Perbahurui Semua"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Perbaharui ID"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Perbaharui Tiket"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Perbaharui Tipe"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Perbaharui seluruh tiket ini pada saat yang sama"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Perbaharui email"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Perbaharui beberapa tiket"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Perbaharui nama"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Perbaharui tidak dicatat."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Perbaharui tiket yang terpilih"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Perbaharui tanda tangan"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Perbaharui tiket"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Perbaharui tiket #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Perbaharui tiket #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr " Memperbarui tipe baik korespondensi ataupun  penjelasan."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Sudah diperbaharui"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Upload"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Upload beberapa file"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Upload beberapa gambar"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Upload satu file"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Upload satu gambar"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "Upload sampai %1 file"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "Upload sampai %1 gambar"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Upload perubahan anda"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr "Gunakan alat administrative RT yang lain"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "Pengguna '%1' tidak dapat ditemukan."
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Pengguna didefinisikan"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Pengguna mendefinisikan kondisi dan aksi"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "ID Pengguna"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Hak Pengguna"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "Pengguna akan ditanya mengenai tipe pembaharuan yang tidak dikenal untuk kolom kustom %1 untuk %2 objek #%3"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Pengguna tidak dapat dibuat: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Pengguna sudah dibuat"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Pengguna mendefinisikan grup"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Pengguna sudah dipanggil"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Lihat Pengguna"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Definisi Grup Pengguna"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Nama Pengguna"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Pengguna"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Pengguna sesuai dengan kriteria pencarian"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Query yang valid"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Nilai-nilai"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Amati"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "Amati Sebagai AdminCc"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Pengamat"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "WebEncoding"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Rabu."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Kalau tiket sudah disetujui oleh semua pemberi persetujuan, tambahkan korespondesi ke tiket yang asli"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Kalau tiket sudah disetujui oleh beberapa pemberi persetujuan, tambahkan korespondensi ke tiket yang asli"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Kalau tiket sudah dibuat"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Kalau tiket persetujuan sudah dibuat, beritahukan pemilik dan AdminCc dari item yang sedang ditunggu persetujuannya"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Kalau sesuatu terjadi"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Setiap saat tiket dapat diselesaikan"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Setiap saat pemilik tiket dapat diubah"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Setiap saat prioritas tiket dapat diubah"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Setiap saat antrian tiket dapat diubah"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Setiap saat status tiket dapat diubah"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Setiap saat kondisi yang didefinisikan oleh pengguna terjadi"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Setiap saat komentar dapat masuk"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Setiap saat korespondensi dapat masuk"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Bekerja"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Bekerja offline"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Telepon Kantor"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Sedang Bekerja"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Anda sudah memiliki tiket ini"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Anda bukanlah pengguna yang sah"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Anda hanya bisa menugaskan kembali tiket yang anda miliki atau yang belum anda miliki"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Anda menemukan %1 tiket di dalam antrian ini %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Anda sudah log out dari RT."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Anda tidak memiliki izin untuk membuat tiket di dalam antrian tersebut."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Anda mungkin tidak akan membuat permintaan di dalam antrian ini."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Anda dapat login kembali"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Permintaan anda sudah disetujui oleh. Persetujuan yang lain mungkin masih ditunda."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Permintaan anda sudah disetujui."
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Permintaan anda sudah ditolak."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Nama pengguna dan sandi anda tidak sama"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Zip"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr "mengijinkan pembuatan pencarian yang disimpan"
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr "mengijinkan memanggil pencarian yang disimpan"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "sudah diberikan ke %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr "Milik"
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "sudah ditutup"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "berisi"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "hari"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "sudah dihapus"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr "Bukan milik"
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "tidak sama"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "tidak berisi"
-
-#: NOT FOUND IN SOURCE
-msgid "email address"
-msgstr "alamat email"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "sama dengan"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr "kesalahan: tidak dapat dipindahkan ke bawah"
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr "kesalahan: tidak dapat dipindahkan ke kiri"
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr "kesalahan: tidak dapat dipindahkan ke atas"
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr "kesalahan: tidak ada apapun yang dapat dihapus"
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr "kesalahan: tidak ada apapun yang dapat dipindahkan"
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr "kesalahan: tidak ada apapun yang dapat dihubungkan"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "lebih dari"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "grup '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "jam"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "id"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "adalah"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "tidak"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "kurang dari"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "sama"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "mnt"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "menit"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "perubahan\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "bulan"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "baru"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "tidak ada nama"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "tidak ada nilai"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "tidak satupun"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "tidak sama dengan"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "buka"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "grup pribadi '%1' untuk pengguna '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "antrian %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "sudah ditolak"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "sudah diselesaikan"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "dtk"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr "tampilkan tab konfigurasi"
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "lembar kerja"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "alasan"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "sistem %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "grup sistem '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "Pemanggilan komponent tidak menetapkan mengapa"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "tiket #%1 %2"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "grup yang belum dijelaskan %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "pengguna %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "minggu"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "tahun"
-
diff --git a/rt/lib/RT/I18N/it.po b/rt/lib/RT/I18N/it.po
deleted file mode 100644 (file)
index 95d8c18..0000000
+++ /dev/null
@@ -1,6189 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 3.4.1\n"
-"POT-Creation-Date: 2002-05-02 11:36+0800\n"
-"PO-Revision-Date: 2005-02-12 02:00+0800\n"
-"Last-Translator: Angelo Turetta <aturetta@bestunion.it>\n"
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "n°"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "n°%1"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "n°%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 n°%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %3 %2 %7 %4:%5:%6"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "Aggiunto %1 %2"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 fa"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 cambiato in %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 eliminato"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 of group %3"
-msgstr "%1 %2 del gruppo %3"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 con il modello %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 questo ticket\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) da %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (invariato)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "Mostrati da %1 a %2"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Un parametro da passare a %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Visualizza aggiornamenti dello stato su STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Specificare l'azione che si vuole eseguire"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Specificare la condizione che si vuole utilizzare"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Specificare la ricerca che si vuole utilizzare"
-
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "ScripAction %1 caricato"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 aggiunto come valore di %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "gli alias %1 necessitano di un TicketId su cui lavorare"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "gli alias %1 necessitano di un TicketId su cui lavorare"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "gli alias %1 necessitano di un TicketId per lavorare con (da %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 sembra essere un oggetto locale, ma non è presente nel database"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 da %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 cambiato da %2 a %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "copia di %1"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 non può essere impostato a %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 non ha potuto iniziare una transazione (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 non ho potuto mettere lo stato a risolto. Il database RT potrebbe essere corrotto."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "creato %1"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "eliminato %1"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "I %1 ticket a maggior priorità che ho in carico"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "I %1 ticket a maggior priorità che ho in carico..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "I %1 ticket a maggior priorità che ho richiesto..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 è uno strumento per agire sui ticket da uno schedulatore esterno, per esempio cron."
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 non è più un %2 per questa coda."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 non è più un %2 per questo ticket."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 non è più un valore per il campo personalizzato %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 non è un identificativo di coda valido"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "I %1 ticket più recenti non ancora assegnati"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 non mostrato"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 oggetti"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "Diritti su %1"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 riuscito\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "Tipo %1 sconosciuto per $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "Tipo %1 sconosciuto per %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 è stato creato senza un CurrentUser\\n"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 risolverà tutti i membri di un gruppo di ticket risolto."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 bloccherà una BASE [locale] se dipende da [o è membro di] una richiesta collegata."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%2 oggetti di %1"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr "%3 oggetti di %2 di %1"
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "ricerche salvate di %1"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: nessun allegato specificato"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' è uno stato non valido"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' non è un'azione conosciuta. "
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(spunta la casella per rimuovere un appartenente dal gruppo)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(spunta la casella per cancellare uno scrip)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(spunta la casella per cancellare)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(spunta le caselle per cancellare)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(i destinatari con la casella spuntata non ricevono la notifica)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(solo i destinatari con la casella spuntata ricevono la notifica)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(inserire i numeri o gli URL dei ticket, separati da spazi)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(se non specificato usa: %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(nessun valore)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(nessun campo personalizzato)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(nessun appartenente)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(nessuno Scrip)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(nessun modello)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(nessuno)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(invia copia silente di questo aggiornamento ad una lista di indirizzi email separati da virgole. Ciò <b>non cambierà</b> i destinatari dei successivi aggiornamenti.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(invia copia silente di questo aggiornamento ad una lista di indirizzi email separati da virgole. Ciò <b>non cambierò</b> i destinatari dei successivi aggiornamenti.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(invia copia per conoscenza di questo aggiornamento ad una lista di indirizzi email amministrativi separati da virgole. Queste persone <b>riceveranno</b> i successivi aggiornamenti.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(invia copia per conoscenza di questo aggiornamento ad una lista di indirizzi email separati da virgole. Ciò <b>non cambierà</b> i destinatari dei successivi aggiornamenti.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(invia copia per conoscenza di questo aggiornamento ad una lista di indirizzi email separati da virgole. Ciò <b>non cambierà</b> i destinatari dei successivi aggiornamenti.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(invia copia per conoscenza di questo aggiornamento ad una lista di indirizzi email separati da virgole. Queste persone <b>riceveranno</b> i successivi aggiornamenti.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(usa questi campi se si sceglie 'Definito dall'utente' come condizione o azione)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(vuoto)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(nessun nome in elenco)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(nessun oggetto)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(nessun valore)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(nessun valore)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(un solo ticket)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(in attesa di approvazione)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(in attesa di un'altra Raccolta)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other ticket)"
-msgstr "(in attesa di altri ticket)"
-
-#: NOT FOUND IN SOURCE
-msgid "(requestor's group)"
-msgstr "(gruppo del richiedente)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(richiesto)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(senza titolo)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "I 25 ticket con priorità più alta che ho in carico..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "I 25 ticket con priorità più alta da me richiesti..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr ""
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr ""
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Crea un ticket in\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Un modello vuoto"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE eliminata"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE caricata"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "impossibile eliminare l'ACE"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "impossibile trovare l'ACE"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE non trovata"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "Le ACE possono essere solo create e cancellate."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Interruzione per evitare modifiche di ticket involontarie.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Informazioni personali"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Controllo di Accesso"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Azione"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Azione %1 non trovata"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Azione eseguita."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr "Azione eseguita.\\n"
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Azione preparata..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Aggiungi"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Aggiungi AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Aggiungi Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr "Aggiungi colonne"
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Aggiungi criterio"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Aggiungi altri file"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Next State"
-msgstr "Aggiungi prossimo stato"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Aggiungi il richiedente"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Aggiungi un valore"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a keyword selection to this queue"
-msgstr "Aggiungi una selezione di parole chiave a questa coda"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Aggiungi un nuovo scrip globale"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Aggiungi uno scrip a questa coda"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Aggiungi uno scrip da applicare a tutte le code"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "Aggiungi criteri addizionali"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Aggiungere commenti o repliche ai ticket selezionati"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Aggiungi appartenenti"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Aggiungi nuovi osservatori"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr "Aggiungi, cancella o modifica il valore dei campi personalizzati per gli oggetti"
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "AggiunguProssimoStato"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Aggiunto gruppo/utente come %1 per questa coda"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Aggiunto gruppo/utente come %1 per questo ticket"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Indirizzo1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Indirizzo2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Cc amministrativo"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Commento Amministrativo"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Corrispondenza Amministrativa"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Gestione delle code"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Gestione degli utenti"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Amministra/Configurazione globale"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Gestione/Gruppi"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Gestione/Code/Base"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "GestisciTuttiGruppiPersonali"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "GestisciCommenti"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "GestisciCorrispondenza"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "GestisciCampoPers."
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "GestisciCampiPers."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "GestisciGruppo"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "GestisciAppartenenzaGruppo"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "GestisciGruppiPersonali"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "GestisciCoda"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "GestisciUtenti"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "Admins"
-msgstr "Amministratori"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Avanzata"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Ricerca avanzata"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "dopo il"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Età"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr "Aggregatore"
-
-#: NOT FOUND IN SOURCE
-msgid "Alias for"
-msgstr "Alias per"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Ottenute tutte le approvazioni"
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Tutti i campi personalizzati"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Tutte le code"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Invia comunque un messaggio al richiedente, anche se è lui stesso il mittente"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "Si applica a"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Applica"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Applica modifiche"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Approvazione"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Approvazione n°%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Approvazione n°%1: Note non registrate a causa di un errore di sistema"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Approvazione n°%1: Note registrate"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Dettagli dell'approvazione"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Approvazione ottenuta"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Approvazione rifiutata"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Diagramma dell'approvazione"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Approva"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Note dell'approvatore: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Apr."
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "Aprile"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Crescente"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Assegna e rimuovi campi personalizzati"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "AssegnaCampiPers."
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Allega"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Allega un file"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "File allegato"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Impossibile caricare l'allegato '%1'"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Allegato creato"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Nome file dell'allegato"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Allegati"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Attributo cancellato"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Ago."
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "Agosto"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "SistemaAutorizzazioni"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "RispostaAutomatica"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Risposta automatica ai richiedenti"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "RispostaAutomaticaAiRichiedenti"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Firma PGP invalida: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Identificativo allegato errato. Impossibile trovare l'allegato '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Dati incorretti in %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Numero di transazione incorretto per l'allegato. %1 dovrebbe essere %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Dati base"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Se hai aggiornato qualche impostazione, assicurati di premere"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "prima del"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Inizia approvazione"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr "Logo Best Practical Solutions, LLC"
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "Binario"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Vuoto"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr "Grassetto"
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "URL assoluto per questa ricerca"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "Link assoluto"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Intestazione breve"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Modifica di ticket in blocco"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Gli utenti di sistema non possono essere modificati"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Può il gruppo/utente vedere questa coda"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Impossibile aggiungere un valore di campo personalizzato senza un nome"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr "Impossibile trovare una classe collection per '%1'"
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Impossibile trovare una ricerca salvata su cui lavorare"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Non è possibile collegare un ticket a se stesso"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Impossibile unire un ticket ad un ticket già unito. Questo errore non dovrebbe mai verificarsi"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Impossibile salvare questa ricerca"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Impossibile specificare sia la base che il target"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Impossibile creare l'utente: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Cambia la password"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Spunta tutte le caselle"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Spunta la casella per cancellare"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Spunta la casella per revocare i diritti"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Derivati"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Città"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Azzera"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Chiuso"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "Ticket chiusi"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Richieste chiuse"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Ticket chiusi"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Comando non riconosciuto!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Commento"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Inidirizzo per i commenti"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Commento non registrato"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Aggiunta di commenti ai ticket"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "AggiungiCommentiAlTicket"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Commenti"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Commenti (non inviati ai richiedenti)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Commenti (non inviati ai richiedenti)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Commenti su %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Commenti su questo utente"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Aggiunto commento"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Restrizioni di compilazione"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Condizione"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "La condizione è soddisfatta..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Condizione non trovata"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Configurazione"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Conferma"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "ContactInfoSystem"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Impossibile interpretare la data di contatto '%1'"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Contenuto"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "Impossibile creare il gruppo"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Copia"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Corrispondenza"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Inidirizzo di corrispondenza"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Aggiunta corrispondenza"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Corrispondenza non registrata"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Impossibile aggiungere un nuovo valore di campo personalizzato al ticket. "
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "Impossibile aggiungere un nuovo valore di campo personalizzato al ticket. %1 "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr "Impossibile aggiungere un nuovo valore di campo personalizzato. "
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr "Impossibile aggiungere un nuovo valore di campo personalizzato. %1 "
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Impossibile cambiare l'incaricato. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Impossibile creare il campo personalizzato"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr "Impossibile creare il campo personalizzato: %1"
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Impossibile creare il gruppo"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Impossibile creare il modello: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Impossibile creare il ticket. Queue non impostata"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Impossibile creare l'utente"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "Impossibile creare l'osservatore per il richiedente"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Impossibile trovare il ticket numero %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Impossibile trovare il gruppo %1."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Impossibile trovare o creare questo utente"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Impossibile trovare questo gruppo/utente"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Impossibile trovare l'utente %1."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Impossibile caricare il campo personalizzato %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Impossibile caricare questo gruppo"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr "Impossibile caricare l'oggetto per %1"
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr "Impossibile caricare un attributo della ricerca"
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Impossibile rendere questo gruppo/utente un %1 per questa coda"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Impossibile rendere questo gruppo/utente un %1 per questo ticket"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Impossibile rimuovere questo gruppo/utente come un %1 per questa coda"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Impossibile rimuovere questo gruppo/utente come un %1 per questo ticket"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Impossibile impostare le informazioni dell'utente"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Impossibile aggiungere un appartenente al gruppo"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Impossibile creare una transazione: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Impossibile capire che cosa fare con questa risposta gpg\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Impossibile trovare il gruppo\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Impossibile trovare la riga"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Impossibile trovare questo gruppo/utente"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Impossibile trovare questo valore"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "Impossibile trovare questo osservatore"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Impossibile trovare l'utente\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Impossibile caricare %1 dal database degli utenti.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "Impossibile caricare la classe %1"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "Impossibile caricare ilcampo personalizzato %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "Impossibile caricare KeywordSelects"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Impossibile caricare il file di configurazione RT '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Impossibile caricare gli Scrips"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Impossibile caricare il gruppo %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Impossibile caricare il collegamento"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Impossibile caricare l'oggetto %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Impossibile caricare la coda"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Impossibile caricare la coda %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Impossibile caricare lo Scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Impossibile caricare il modello"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Impossibile caricare questo utente (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Impossibile caricare il ticket '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Nazione"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Crea"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Crea ticket"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Crea un campo Personalizzato"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Crea un campo personalizzato per la coda %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Crea un campo personalizzato valido per tutte le code"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Crea un nuovo campo personalizzato"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Crea un nuovo scrip globale"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Crea un nuovo gruppo"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Crea un nuovo gruppo personale"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Crea una nuova coda"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Crea un nuovo scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Crea un nuovo modello"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Crea un nuovo ticket"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Crea un nuovo utente"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Crea una coda"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Crea una nuova coda di nome"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Crea una richiesta"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Crea uno scrip per la coda %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Crea un modello"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Nuovo ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Creazione fallita: %1 / %2 / %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "Creazione fallita: %1/%2/%3"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Creare nuovi ticket basati su questo modello di scrip"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Crea il ticket"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Crea nuovi ticket in questa coda"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Crea, elimina e modifica campi personalizzati"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Crea, elimina e modifica le code"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Crea, elimina e modifica gli appartenenti ai gruppi personali di un qualunque utente"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Crea, elimina e modifica gli appartenenti ai gruppi personali "
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Crea, elimina e modifica gli utenti"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr "CreaRichiestaSalvata"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "CreaTicket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Creato"
-
-#: NOT FOUND IN SOURCE
-msgid "Created By"
-msgstr "Creato da"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Campo personalizzato %1 creato"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Modello %1 creato"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "CreatoDa"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Collegamenti attuali"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Scrips attuali"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Appartenenti attuali"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Diritti attuali"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Criterio di ricerca attuale"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Osservatori attuali"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Campo personalizzato n°%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Campi personalizzati"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Campi personalizzati per %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Programma di pulizia dell'azione personalizzata"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Programma di preparazione dell'azione personalizzata"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Condizione personalizzata"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Campi personalizzati %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Il campo personalizzato %1 ha un valore."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Il campo personalizzato %1 non ha valore."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Campo personalizzato %1 non trovato"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Campo personalizzato cancellato"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Campo personalizzato %1 non trovato"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Impossibile trovare il valore %1 per il campo personalizzato %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Valore del campo personalizzato cambiato da %1 a %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Impossibile cancellare il valore del campo personalizzato"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Valore del campo personalizzato non trovato"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Il valore del vampo personalizzato è stato eliminato"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "CampoPersonalizzato"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "Errore nei dati"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Date"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Dic."
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "Dicembre"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Modello di default per la risposta automatica"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Modello di default per la risposta automatica"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Coda di default"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Richiedente di default"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Modello di default per il commento amministrativo"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Modello di default per la corrispondenza amministrativa"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Modello di default per la corrispondenza"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Modello di default per la transazione"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Default: %1/%2 modificato da %3 a %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Delega i diritti"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Delega diritti specifici tra quelli che ti sono stati accordati"
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "DelegaDiritti"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Delega"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Cancella"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Cancella modello"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr "Cancellazione fallita: %1"
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Cancella gli scrips selezionati"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Cancella ticket"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "CancellaTicket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr "Ricerca cancellata"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "La cancellazione di quest'oggetto può danneggiare l'integrità referenziale"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "La cancellazione di quest'oggetto danneggerebbe l'integrità referenziale"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "La cancellazione di quest'oggetto violerebbe l'integrità referenziale"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "La cancellazione di quest'oggetto violerebbe l'integrità referenziale"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "La cancellazione di quest'oggetto violerebbe l'integrità referenziale. Ciò è male!"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Nega"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "È una dipendenza per"
-
-#: NOT FOUND IN SOURCE
-msgid "DependedOnBy"
-msgstr "DipendenzaPer"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Dipendenze: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Aggiunta dipendenza da parte di %1"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Cancellata dipendenza da parte di %1"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Aggiunta dipendenza da %1"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Cancellata dipendenza da %1"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Dipende da"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "DipendeDa"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Decrescente"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Descrivi il problema qui sotto"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Descrizione"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Dettagli"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Visualizza"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Visualizza la Lista Controllo Accessi (ACL)"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Visualizza colonne"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Visualizza i modelli di Scrips per questa coda"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Visualizza gli Scrips per questa coda"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Modalità visualizzazione"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "Visualizza le ricerche salvate per questo gruppo"
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Visualizza il ticket n°%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "Distribuito in accordo con la versione 2 della <a href=\"http://www.gnu.org/copyleft/gpl.html\">GNU GPL</a>."
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Fai di tutto e di più"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr "Esegui la ricerca"
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Non aggiornare questa pagina."
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Non mostrare i risultati della ricerca"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Download"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "Scarica come file separato da TAB"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Scadenza"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Impossibile interpretare la data di scadenza '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "ERRORE: impossibile caricare il ticket '%1' : %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Modifica"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Conditions"
-msgstr "Modifica condizioni"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Modifica i campi personalizzati per %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr "Modifica i campi personalizzati per tutti i gruppi"
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr "Modifica i campi personalizzati per tutti gli utenti"
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr "Modifica i campi personalizzati per tutte le code"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Custom Fields for transactions on tickets in all queues"
-msgstr "Modifica i campi personalizzati per le transazioni sui ticket in tutte le code"
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Modifica collegamenti"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Modifica query"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Modifica i modelli per la coda %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "Modifica parole chiave"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr "Modifica ricerche salvate per questo gruppo"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Modifica scrips"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Modifca i modelli di sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Modifica i modelli per %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "ModificaRicercheSalvate"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Modifica della configurazione per la coda %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Modifica della configurazione per l'utente %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Modifica del campo personalizzato %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Modifica degli appartenenti al gruppo %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Modifica degli appartenenti al gruppo personale %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Modifica del modello %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "È necessario specificare base o target"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Email"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Inidirizzo email in uso"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "IndirizzoEmail"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "CodificaEmail"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Abilitato (togliere il segno di spunta per disabilitare questo campo personalizzato)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Abilitato (togliere il segno di spunta per disabilitare questo gruppo)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Abilitato (togliere il segno di spunta per disabilitare questa coda)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Campi personalizzati abilitati"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Code abilitate"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Stato %1 abilitato"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "Stato abilitato: %1"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Valori multipli"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Inserire, separati da spazio, gli oggetti (o URI di oggetti) da collegare."
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Valore singolo"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Inserire, separati da spazio, le code (o URI di code) da collegare."
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Inserire, separati da spazio, i ticket (o URI di ticket) da collegare."
-
-#: NOT FOUND IN SOURCE
-msgid "Enter tickets or URIs to link tickets to. Seperate multiple entries with spaces."
-msgstr "Inserire, separati da spazio, i ticket (o URI di ticket) da collegare."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Inserimento di un massimo di %1 valori"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Errore"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "Errore durante l'aggiunta di un osservatore"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Errore nei parametri passati a Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Errore nei parametri passati a Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Errore nei parametri passati a Queue->DeleteWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Errore nei parametri passati a Ticket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Errore nei parametri passati a Ticket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Errore nei parametri passati a Ticket->DeleteWatcher"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Propaga ticket"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Stima"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Chiunque"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Esempio:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExtendedStatus"
-msgstr "StatoAggiuntivo"
-
-#: NOT FOUND IN SOURCE
-msgid "QueueName"
-msgstr "NomeCoda"
-
-#: NOT FOUND IN SOURCE
-msgid "OwnerName"
-msgstr "NomeIncaricato"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeEstimated"
-msgstr "TempoStimato"
-
-#: NOT FOUND IN SOURCE
-msgid "CreatedBy"
-msgstr "CreatoDa"
-
-#: NOT FOUND IN SOURCE
-msgid "StartsRelative"
-msgstr "TempoDaInizioPrevisto"
-
-#: NOT FOUND IN SOURCE
-msgid "StartedRelative"
-msgstr "TempoDaInizio"
-
-#: NOT FOUND IN SOURCE
-msgid "CreatedRelative"
-msgstr "TempoDaCreazione"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdatedRelative"
-msgstr "TempoDaUltimoAggiornamento"
-
-#: NOT FOUND IN SOURCE
-msgid "ToldRelative"
-msgstr "TempoDaUltimoContattoRichiedente"
-
-#: NOT FOUND IN SOURCE
-msgid "DueRelative"
-msgstr "TempoDaScadenza"
-
-#: NOT FOUND IN SOURCE
-msgid "ResolvedRelative"
-msgstr "TempoDaRisoluzione"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "IdAutorizEsterno"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "IdContattoEsterno"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Informazioni aggiuntive"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr "Impossibile creare un attributo della ricerca"
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Impossibile trovare il pseudogruppo di utenti 'Privilegiato'."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Impossibile trovare il pseudogruppo di utenti 'Non Privilegiato'."
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Errore nel caricamento del modulo %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr "Impossibile caricare un oggetto per %1"
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Feb."
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "Febbraio"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Nome file"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "Testi multipli"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr "Testi WIKI multipli"
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "Testo singolo"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr "Testo WIKI singolo"
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "Testi multipli (max. %1)"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr "Testi WIKI multipli (max. %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Fin"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Priorità finale"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "PrioritaFinale"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Cerca il gruppo in cui"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Cerca i gruppi in cui"
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Cerca ticket nuovi/aperti"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Cerca le persone in cui"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Ricerca ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Completa approvazione"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Primo"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Prima pagina"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Tizio Caio Sempronio"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Tizio!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Forza la modifica"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr "Opzioni colonna"
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Trovati %quant(%1,ticket)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Trovato Oggetto"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "Testo libero"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FreeformContactInfo"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "FreeformMultiple"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "FreeformSingle"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Ven."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Intestazione completa"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Carica da file un modello compilato"
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Sto individuando l'utente corrente da una firma pgp\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Assegnato a %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Globale"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Campi personalizzati globali"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Keyword Selections"
-msgstr "Selezione globale delle parole chiave"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Scrips globali"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr "Configurazione globale campi personalizzati"
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Modello globale: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Vai"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Vai!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Firma pgp valida da %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Vai a pagina"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Vai al ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Grand"
-msgstr "Grand"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Gruppo"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Gruppo %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Diritti di gruppo"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Appartiene già al gruppo"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "Impossibile creare il gruppo."
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Impossibile creare il gruppo: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Gruppo creato"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Non appartiene al gruppo"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Gruppo non trovato"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Gruppo non trovato.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Gruppo non specificato.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Gruppi"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "I gruppi non possono appartenere a gruppi che sono già loro appartenenti"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "Gruppi che corrispondono ai criteri di ricerca"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "L'utente appartiene ai gruppi"
-
-#: NOT FOUND IN SOURCE
-msgid "HasMember"
-msgstr "HaUnAppartenente"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Ciao!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Ciao, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Cronologia"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "Cronologia del gruppo %1"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "Cronologia dell'utente %1"
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "TelefonoCasa"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Homepage"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Ho %quant(%1,concrete mixer)."
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "Ho [quant,_1,concrete mixer]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr "Mi sono perso..."
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Id"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identità"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Se un'approvazione viene negata, respingi l'originale e elimina le approvazioni accodate"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "(per i nuovi ticket in cui non viene specificato un richiedente)"
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "(per i nuovi ticket in cui non viene specificata una coda)"
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Se questo strumento viene ha il flag setgid, un utente locale malintenzionato potrebbe usarlo per ottenere accesso amministrativo a RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Se hai aggiornato qualche impostazione, assicurati di premere"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Valore non valido per %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Immagine"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Campo immutabile"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Elenca anche i campi personalizzati disabilitati."
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Elenca anche i gruppi disabilitati."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Elenca anche le code disabilitate."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Includi nella ricerca gli utenti disabilitati."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr "Query incompleta"
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr "Query incompleta"
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Priorità iniziale"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "PrioritaIniziale"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Errore in input"
-
-#: NOT FOUND IN SOURCE
-msgid "Interest noted"
-msgstr "Interesse annotato"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Errore interno"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Errore interno: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Tipo di gruppo non valido"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Diritto non valido"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Tipo non valido"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Dati non validi"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Incaricato non valido. Uso il default 'nessuno'."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Coda non valida"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Diritto non valido"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Valore non valido per %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Valore non valido per il campo personalizzato"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Valore non valido per lo stato"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "È estremamente importante che agli utenti non previlegiati non sia consentita l'esecuzione di questo strumento."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Per eseguire questo strumento, si suggerisce di creare un utente unix non privilegiato appartenente al gruppo corretto e con i necessari diritti in RT."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Accetta svariati argomenti:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr "Corsivo"
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Oggetti in attesa della mia approvazione"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Gen."
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "Gennaio"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Cambia appartenenza a questo gruppo"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Lug."
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "Luglio"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Jumbo"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Giu."
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "Giugno"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Parola chiave"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Lingua"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Lingua"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr "Grande"
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Ultimo"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Ultima comunicazione a richiedenti"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Ultima comunicazione a richiedenti"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Ultima notifica"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Ultima modifica"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Updated By"
-msgstr "Modificato Da"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "UltimaModifica"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "ModificatoPerUltimoDa"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Rimasti"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Consenti a questo utente di accedere a RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Consenti la concessione di diritti espliciti a questo utente"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Limitare l'incaricato a %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Limitare la coda a %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr "Collegamento"
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Il collegamento esiste già"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Il collegamento non può essere creato"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Collegamento creato (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Collegamento cancellato (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Collegamento non trovato"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Collega ticket n°%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "Collega ticket %1"
-
-#: NOT FOUND IN SOURCE
-msgid "LinkedTo"
-msgstr "CollegatoA"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Collegamenti"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Carica"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Carica ricerca salvata:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr "CaricaRicercheSalvate"
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Moduli perl caricati"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr "Caricata ricerca %1"
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Domicilio"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Impossibile trovare la directory di log %1 (oppure mancano i permessi di scrittura).\\n RT non può essere eseguito."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Accesso effettuato come %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Accedi"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Esci"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "Tipo di ricerca sbagliato"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Nuovo incaricato"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Nuovo stato"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Nuova data scadenza"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Nuova data risoluzione"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Nuova data iniziato"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Nuova data inizio previsto"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Nuova data ultimo contatto"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Nuova priorità"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Nuova coda"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Nuovo oggetto"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr "Rendi questo gruppo visibile all'utente"
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "Gestione campi personalizzati e relativi valori"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Gestione di gruppi e appartenenze"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Gestione di proprietà e configurazioni che si applicano a tutte le code"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Gestione delle code e delle propietà specifiche delle code"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Gestione di utenti e password"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "Marzo"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "Maggio"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Mag."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Aggiunto appartenente %1"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Rimosso appartenente %1"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Aggiunto appartenente"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Rimosso appartenente"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Appartenente non rimosso"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Appartenente a"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "AppartenteA"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Appartenenti"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Aggiunta appartenenza al gruppo %1"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Rimossa appartenenza al gruppo %1"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Appartenenza a gruppi"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "Appartenenza a gruppi per l'utente %1"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Unione avvenuta con Successo"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Unione fallita. Impossibile impostare EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr "Unione fallita. Impossibile impostare Stato"
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Unisci a"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Unito a %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Messaggio"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "Impossibile registrare il messaggio"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Messaggio registrato"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "I messaggi riguardanti questo ticket non saranno inviati a..."
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr "Parentesi non bilanciate"
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Manca una chiave primaria?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Cellulare"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "TelefonoCellulare"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Modifica la Lista Controllo Accessi (ACL)"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Modifica il campo personalizzato %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr "Modifica campi personalizzati applicabili a %1 per ogni %2"
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Modifica i campi personalizzati applicabili a tutti %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Modifica i Campi Personalizzati validi per tutte le code"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Modifica diritti del gruppo"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Modifica appartenenti al gruppo"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Modifica diritti"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Modifica i modelli di Scrips per questa coda"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Modifica gli Scrips per questa coda"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "Modifica le ACL di Sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Modifica il modello %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Modifica diritti utente"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Modifica un campo personalizzato per la coda %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Modifica un campo personalizzato valido per tutte le code"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Modifica uno scrip per la coda %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Modifica uno scrip valido per tutte le code"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Modifica oggetti associati a %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "Modifica le date per n° %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Modifica le date per n°%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Modifica le date per il ticket n° %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr "Modifica campi personalizzati globali"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Modifica i diritti di gruppo globali"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Modifica i diritti di gruppo globali."
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "Modifica i diritti di gruppo globali"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "Modifica i diritti globali per gli utenti"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Modifica gli scrips globali"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Modifica i diritti globali per gli utenti"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Modifica i diritti globali per gli utenti."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Modifica i metadati del gruppo o elimina un gruppo"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Modifica i diritti di gruppo per il campo personalizzato %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Modifica i diritti di gruppo per il gruppo %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Modifica i diritti di gruppo per la coda %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Modifica gli appartenenti a questo gruppo"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Modifica il proprio account RT"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Modifica le persone collegate alla coda %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Modifica le persone collegate al ticket n°%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Modifica gli scrips per la coda %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Modifica gli scrips validi per tutte le code"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Modifica modello %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Modifica i modelli validi per tutte le code"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Modifica il gruppo %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Modifica gli osservatori della coda"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Modifica l'utente %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Modifica il ticket n° %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Modifica il ticket n°%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Modifica i ticket"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Modifica i diritti utente per il il campo personalizzato %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Modifica i diritti utente per il gruppo %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Modifica i diritti utente per la coda %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Modifica gli osservatori per la coda '%1'"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ModificaACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr "ModificaCampoPers."
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "ModificaPropriaAppartenenzaAlGruppo"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "ModificaOsservatoriDellaCoda"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ModificaScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "ModificaSuoiDati"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "ModificaModello"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "ModificaTicket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Lun."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Maggiori informazioni su %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Sposta in basso"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Sposta in alto"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Multiplo"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "L'attributo 'name' deve essere specificato"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "I miei ticket in stato: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Le mie richieste di approvazione"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Le mie richieste di approvazione"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Le mie ricerche salvate"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Nome"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Nome già usato"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "È richiesta l'approvazione da parte del system administrator"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Mai"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Nuovo"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nuovi collegamenti"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nuova Password"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Nuove approvazioni pendenti"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Nuova query"
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Nuova Ricerca"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Nuovo campo personalizzato"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Nuovo gruppo"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nuova password"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Inviata notifica della nuova password"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Nuova coda"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Nuova richiesta"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nuovi diritti"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Nuovo scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Nuova ricerca"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Nuovo modello"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Nuovo ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Il nuovo ticket non esiste"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Nuovo utente"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Nuovo utente di nome"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Nuovo osservatore"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Impostazioni nuova finestra"
-
-#: NOT FOUND IN SOURCE
-msgid "NEWLINE"
-msgstr "NUOVA_RIGA"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Seguente"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Pagina seguente"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Pagina seguente"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Nomignolo"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Nomignolo"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "Nessuna classe definita"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Nessun campo personalizzato"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Nessun campo personalizzato definito"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Nessun gruppo definito"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Nessuna query"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Nessuna coda definita"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Nessun utente RT trovato. Consulta il tuo amministratore di RT.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Nessun Modello"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Nessun ticket specificato. Annullo il ticket"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Nessuna azione"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Nessuna colonna specificata"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Nessun comando trovato\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Nessun commento su questo utente"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Nessuna corrispondenza allegata"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Nessuna descrizione per %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Nessun gruppo specificato"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Nessun gruppo corrisponde ai criteri di ricerca."
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "Nessun messaggio allegato"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Nessuna password impostata"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Manca il permesso per creare code"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Manca il permesso per creare ticket nella coda '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Manca il permesso per creare utenti"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Manca il permesso per visualizzare il ticket"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Manca il permesso per aggiornare il ticket"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Nessun utente/gruppo specificato"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Nessun utente/gruppo selezionato."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Nessuna coda soddisfa i criteri di ricerca."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Nessun diritto trovato"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Nessun diritto concesso."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr "Nessuna ricerca caricata"
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Nessuna ricerca su cui operare."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Senza oggetto"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Nessun identificativo di ticket specificato"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Nessun tipo transazione specificato"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "Nessun utente o indirizzo email specificato"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Nessuna utente soddisfa i criteri di ricerca."
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Nessun valore inviato a _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Nessuno"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Campo inesistente?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Accesso non effettuato"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Accesso non effettuato."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Non impostato"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Non ancora implementato."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Non ancora implementato...."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Note"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Impossibile inviare la notifica"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "invia notifica agli AdminCc"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "invia notifica agli AdminCc come commento"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "invia notifica ai Cc"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "invia notifica ai Cc come commento"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "invia notifica agli altri destinatari"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "invia notifica agli altri destinatari come commento"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "invia notifica all'incaricato"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "invia notifica all'incaricato come commento"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "invia notifica all'incaricato del ticket respinto"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "invia notifica all'incaricato del ticket che tutte le approvazioni sono state concesse"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "invia notifica all'incaricato del ticket che alcune approvazioni sono state concesse"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "invia notifica agli incaricati e AdminCc quando è necessario richiedere nuove approvazione"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "invia notifica al richiedente"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "invia notifica ai richiedenti e ai Cc"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "invia notifica ai richiedenti e ai Cc come commento"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "invia notifica ai richiedenti, Cc e AdminCc"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "invia notifica ai richiedenti, Cc a AdminCc come commento"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov."
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "Novembre"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr "OR"
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "L'oggetto non può essere creato"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr "L'oggetto non può essere cancellato"
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Oggetto creato"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr "Oggetto cancellato"
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "Oggetto di tipo %1 non accetta campi personalizzati"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "Tipo oggetto non corrisponde"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Oct."
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "Ottobre"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Offline"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Modifiche offline"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Upload richiesta offline"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "il"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "All'arrivo di un commento"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "All'arrivo di una corrispondenza"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Alla creazione"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Al cambio dell'incaricato"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "Al cambio della priorità"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Al cambio di coda"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Alla risoluzione"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Al cambio di stato"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Ad ogni transazione"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Mostra le approvazioni solo per le richieste create dopo il %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Mostra le approvazioni solo per le richieste create prima del %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Aperto"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Apri"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Richieste aperte"
-
-#: NOT FOUND IN SOURCE
-msgid "Open ticket"
-msgstr "Apri ticket"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Ticket aperti"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Apre ticket (dalla lista) in una nuova finestra"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Apre ticket (dalla lista) in un'altra finestra"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Apri i ticket all'arrivo di corrispondenza"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Ordina per"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Ordinamento"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Azienda"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Ticket originario: n°%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Registrata email in uscita riguardante un commento"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Registrata email in uscita"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Al passare del tempo, la priorità cresce fino a"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Prende in carico ticket"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "PrendeInCaricoTicket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Incaricato"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Cambiato incaricato da %1 a %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "L'incaricato non può essere impostato."
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Cambiato forzatamente l'incaricato da %1 a %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "In carico a"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Pagina %1 di %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Cercapersone"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Cercapersone"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "DerivaDa"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Password"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Promemoria password"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr "Password cambiata"
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr "La password deve essere lunga almeno %1 caratteri"
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Password troppo corta"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Password: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Le passwords non corrispondono."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Le password non corrispondono. La password non è stata cambiata"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Persone"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Esegui un'azione personalizzata"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Configurazione perl"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Operazione non consentita"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Gruppi personali"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Gruppi personali"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Gruppi personali:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Numeri telefonici"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Segnaposto"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Preferenze"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Prefs"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Preparazione non necessaria"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Precedente"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Pagina precedente"
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Pagina precedente"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Utente/gruppo %1 not trovato."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Priorità"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "La priorità inizia da"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Riservatezza:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Privilegiato"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Stato previlegiato: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Utenti privilegiati"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudogruppo per uso interno"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Query"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Costruttore di query"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Coda"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Coda %1 non trovata"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Coda '%1' non trovata\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Keyword Selections"
-msgstr "Selezione delle parole chiave per la coda"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Nome della coda"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Scrips della coda"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "La coda esiste già"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Impossibile creare la coda"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Impossibile caricare la coda."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Coda creata"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Coda non specificata."
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Coda non trovata"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Code"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Ricerca veloce"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Creazione veloce di un ticket"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 per %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 da <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Amministrazione di RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "Errore di autenticazione RT."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT Bounce: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "Errore nella configurazione di RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "Errore critico. Messaggio not registrato!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Errore RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT ha ricevuto email (%1) da se stesso."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "RT ha ricevuto email (%1) da se stesso."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT Self Service / Ticket chiusi"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "Variabili RT"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "Quadro d'insieme"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT non ha potuto autenticarti"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT non è riuscito a trovare il richiedente consultando in database esterno"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT non ha trovato la coda: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr "RT non può memorizzare la tua sessione"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT non può verificare questa firma PGP. \\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT / %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT / %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT ha eseguito i comandi"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  RT viene distribuito con la <a href=\"http://www.gnu.org/copyleft/gpl.html\">Versione 2 della GNU General Public License.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT is &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  RT viene distribuito con la <a href=\"http://www.gnu.org/copyleft/gpl.html\">Versione 2 della GNU General Public License.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT thinks this message may be a bounce"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT will process this message as if it were unsigned.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Nome reale"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "NomeReale"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Aggiunto riferimento da %1"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Cancellato riferimento da %1"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Aggiunto riferimento a %1"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Cancellato riferimento a %1"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "È un riferimento per"
-
-#: NOT FOUND IN SOURCE
-msgid "ReferredToBy"
-msgstr "RiferimentoPer"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Fa riferimento a"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "FaRiferimentoA"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Rifinisci"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Rifinisci la ricerca"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Aggiorna questa pagina ogni %1 minuti."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Rimuovi AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Rimuovi Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Rimuovi richiedente"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Risposta"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Indirizzo a cui indirizzare le risposte"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Rispondi ai richiedenti"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Rispondi ai ticket"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "RispondiAlTicket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Richiedente"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Indirizzo email del richiedente"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Richiedente(i)"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "IndirizzoRichiedente"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Richiedenti"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Le richieste devono essere soddisfatte entro"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Il parametro obbligatorio '%1' non è stato specificato"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Azzera"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Casa"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Risolvi"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Risolvi il ticket n°%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Risolto"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Risposta ai richiedenti"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Risultati"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Risultati per pagina"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Ridigita Password"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Annulla modifiche"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Diritto %1 non trovato per %2  %3 limitatamente a %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Diritto delegato"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Diritto concesso"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Diritto caricato"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Il diritto non può essere revocato"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Diritto non trovato"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Diritto non caricato."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Diritto revocato"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Diritti"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "I diritti per %1 non possono essere concessi"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "I diritti per %1 non possono essere revocati"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Ruoli"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "ApprovazioneAmministratore"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Righe per pagina"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sab."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Salva"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Salva modifiche"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Salva preferenze"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Salva modifiche"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr "Ricerca %1 salvata"
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Ricerche salvate"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip n°%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip creato"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Campi dello scrip"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip eliminato"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrips"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Scrips per %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scrips che si applicano a tutte le code"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Ricerca"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Criteri di ricerca"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr "Errore nel caricamento degli attributi della ricerca"
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Ricerca le richieste di approvazione"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr "Aggiornamento della ricerca: %1"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Protezione:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Vedi campi personalizzati"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "Vedi letteralmente i messaggi in uscita e i loro destinatari"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Vedi commenti privati del ticket"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Vedi riassunto dei ticket"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "VediCampoPers."
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr "VediGruppo"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "VediCoda"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "Seleziona"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Scegli un campo personalizzato"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Seleziona un gruppo"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Seleziona una coda"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr "Scegli una coda per il nuovo ticket"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Seleziona un utente"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Seleziona un campo personalizzato"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr "Seleziona i campi personalizzati per tutti i gruppi degli utenti"
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr "Seleziona i campi personalizzati per tutti gli utenti"
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr "Seleziona i campi personalizzati per i ticket in tutte le code"
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr "Seleziona i campi personalizzati per le transazioni relative ai ticket in tutte le code"
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Seleziona il gruppo"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Elenco a selezione multipla"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Elenco a selezione singola"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Seleziona la coda"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Seleziona lo scrip"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Seleziona il modello"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Seleziona un massimo di %1 valori"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Seleziona l'utente"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "SelezioneMultipla"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "SelezioneSingola"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Campi personalizzati selezionati"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Oggetti selezionati"
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Self Service"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Invia una mail a tutti gli osservatori"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Invia una mail atutti gli osservatori come \"commento\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Invia mail ai richiedenti e Ccs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Invia mail come commento a richiedenti e Cc"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Invia un messaggio ai richiedenti"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Invia mail a Cc e Bcc esplicitamente elencati"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Invia mail ai Cc"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Invia mail ai Cc come commento"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Invia mail ai Cc amministrativi"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Invia mail ai Cc amministrativi come commento"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Invia mail all'incaricato"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Set."
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "Settembre"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Mostra"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Mostra richieste di approvazione"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Mostra colonne"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Mostra i risultati"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Mostra le richieste approvate"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Mostra info di base"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Mostra le richieste negate"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Mostra i dettagli"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Mostra le richieste in attesa"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Mostra le richieste in attesa di altre approvazioni"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Mostra commenti privati del ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Mostra riassunto dei ticket"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "MostraACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr "MostraTabConfigurazione"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "MostraEmailUscente"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "MostraRicercheSalvate"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "MostraScrips"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "MostraModello"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "MostraTicket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "MostraCommentiAlTicket"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Registra come richiede o come Cc del ticket o della coda"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Registra come AdminCc del ticket o della coda"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Firma"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Accesso effettuato come %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Singolo"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr "Carattere"
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Salta menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr "Piccolo"
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Ordinamento"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Chiave di ordinamento"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Ordina i risultati per"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "Ordinamento"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "In stallo"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Pagina iniziale"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Iniziato"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Impossibile interpretare data inizio '%1'"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "InizioPrevisto"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Inizio previsto il"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Impossibile interpretare data inizio previsto '%1'"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Provincia"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Stato"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Cambiamento di stato"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Cambiato lo stato da %1 a %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "CambiamentoStato"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Sottrai"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Sottrae ticket"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "SottraeTicket"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Sottratto da %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Sottratto da %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr "Stile"
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Oggetto"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "L'oggetto diventa %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Invia"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Imposta workflow"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Completato con successo"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Dom."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperUtente"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Sistema"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Configurazione del sistema"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Errore di sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "Errore di sistema. Diritto non concesso."
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "Errore di sistema. Diritto non concesso"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr "Errore di sistema: %1"
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "Strumenti di sistema"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Errore di sistema. Diritto non delegato."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Errore di sistema. Diritto non concesso."
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "Errore di sistema. Impossibile concedere i diritti."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Gruppi di sistema"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SystemRolegroup per uso interno"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Prendi in carico"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Prendi in carico ticket"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "PrendiInCaricoTicket"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Preso in carico"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Modello"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Modello n°%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Modello eliminato"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Modello non trovato"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Modello non trovato\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Modello elaborato"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Modelli"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Modelli per %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Testo"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Il valore attuale è già questo"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Questo campo personalizzato non ammette questo valore"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Il valore è lo stesso"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Questo utente/gruppo ha già questo diritto"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Questo utente/gruppo è già %1 per questa coda"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Questo utente/gruppo è già %1 per questo ticket"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Questo utente/gruppo non è %1 per questa coda"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Questo utente/gruppo non è %1 per questo ticket"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "La coda non esiste"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Il ticket ha dipendenze non risolte"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "L'utente ha già questo diritto"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "L'utente ha già il ticket in carico"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "L'utente non esiste"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "L'utente è già previlegiato"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "L'utente è già non previlegiato"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Ora l'utente è previlegiato"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Ora l'utente è non previlegiato"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "Ora l'utente è non previlegiato"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "L'utente non può prendere in carico ticket da questa coda"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Non è un identificativo numerico"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Dati di base"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "Il Cc di un ticket"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "Il Cc amministrativo di un ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Il commento è stato registrato"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Il comando seguente troverà tutti i ticket attivi nella coda 'general' e ne imposterà la priorità a 99 se nessuno li ha toccati nelle ultime 4 ore:"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Il nuovo valore è stato impostato."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "L'incaricato del ticket"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Il richiedente del ticket"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Questi commenti non vengono normalmente mostrati all'utente"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "L'oggetto non ammette questo campo personalizzato"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Questa funzionalità è riservata agli amministratori di sistema"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Il messaggio sarà inviato a..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Il ticket %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Questo strumento permette di eseguire qualsiasi modulo perl da dentro RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "La transazione sembra non avere alcun contenuto"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "I %1 ticket a maggior priorità richiesti da questo utente"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "I 25 ticket a maggior priorità richiesti da questo utente"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Gio."
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Ticket n° %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "Ticket n° %1 aggiornamento Jumbo: %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Ticket n°%1 aggiornamento Jumbo: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Ticket n°%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Creato ticket %1 nella coda '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Caricato ticket %1\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Ticket %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Campi personalizzati del ticket"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Cronologia del ticket n° %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Identificativo ticket"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Ticket risolto"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Transazioni sul ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Allegato al ticket"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Contenuto del ticket"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Tipo del contenuto del ticket"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "A causa di un errore interno non è stato possibile creare il ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Ticket creato"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Creazione del ticket fallita"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Ticket eliminato"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Identificativo del ticket non trovato"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "Ticket eliminato"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Metadati del ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Ticket non trovato"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Stato del ticket cambiato"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Osservatori del ticket"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr "Modulo di ricerca TicketSQL"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Ticket %1 da %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Ticket da %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Ticket che dipendono da questa approvazione:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Tempo stimato"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Tempo rimasto"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Tempo lavorato"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Tempo rimanente"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Tempo impiegato per l'elaborazione"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Tempo impiegato"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "TempoRimanente"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "TempoImpiegato"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr "Titolo"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Per generare una diff dopo il commit:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "Per generare una diff dopo il commit:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "Per richieste di supporto, formazione, personalizzazioni o acquisto di licenze, si prega di contattare %1."
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "UltimaComunicazioneARichiedenti"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Strumenti"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transazioni"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transazione %1 ripulita"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transazione creata"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Campi personalizzati della transazione"
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Transaction->Create fallita, devi specificare l'identificativo dell'oggetto"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Transaction->Create fallita, devi specificare il tipo e l'identificativo dell'oggetto"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Le transazioni sono immutabili"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Provo a eliminare un diritto: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Mar."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Tipo"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "NonImplementato"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Username unix"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "UsernameUnix"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "ContentEncoding sconosciuto %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr "Campo sconosciuto: $key"
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Illimitato"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Ricerca senza nome"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "NonPrevilegiato"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Campi personalizzati non selezionati"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Oggetti non selezionati"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "NonPreso"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Aggiornamento"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Aggiorna tutti"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Identificativo aggiornamento"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Aggiorna ticket"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Tipo aggiornamento"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Aggiorna tutti questi ticket contemporaneamente"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Aggiorna email"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Aggiorna ticket multipli"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Aggiorna nome"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Aggiornamento non registrato."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Aggiorna i ticket selezionati"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Aggiorna la firma"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Aggiorna il ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Aggiorna il ticket n° %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Aggiorna il ticket n°%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Aggiorna il ticket n°%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Il tipo aggiornamento non era ne' corrispondenza ne' commento."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Aggiornato"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Upload"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Upload file multipli"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Upload immagini multiple"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Upload file singolo"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Upload immagine singola"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "Upload fino a %1 file"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "Upload fino a %1 immagini"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Upload delle modifiche"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr "Usa altri strumenti di amministrazione di RT"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Utente %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Utente %1 Password: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "Impossibile trovare l'utente '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Utente '%1' non trovato"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Utente '%1' non trovato\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Definito dall'utente"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Condizioni e azioni definite dall'utente"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "Username"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Username"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Diritti dell'utente"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "L'utente ha richiesto un aggiornamento di tipo sconosciuto sul campo personalizzato %1 per %2 l'oggetto n°%3"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Impossibile creare l'utente: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Utente creato"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Gruppi definiti dall'utente"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Utente caricato"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Utente notificato"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "User view"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Gruppi definiti dall'utente"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Username"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Utenti"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Utenti che soddisfano il criterio di ricerca"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Query valida"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "ValoreDellaCoda"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Valori"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Osserva"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "OsservaComeAdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher"
-msgstr "Osservatore"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "Osservatore caricato"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Osservatori"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "WebEncoding"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Mer."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Quando un ticket ha ricevuto tutte le approvazioni richieste, aggiungi una corrispondenza al ticket originale"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Quando un ticket riceve una qualsiasi delle approvazioni richieste, aggiungi una corrispondenza al ticket originale"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Quando viene creato un ticket"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Quando una richiesta di approvazione viene creata, notifica chi ha in carico il ticket e gli AdminCc che devono approvarlo"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Quando succede qualsiasi cosa"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Quando un ticket viene risolto"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Quando cambia colui che ha in carico il ticket"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Quando cambia la priorità di un ticket"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Quando il ticket si sposta in un'altra coda"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Quando cambia lo stato di un ticket"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Quando si verifica una condizione definita dall'utente"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Quando arrivano commenti"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Quando arrivano corrispondenze"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Lavoro"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Lavoro offline"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "TelefonoLavoro"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Impiegato"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Hai già in carico questo ticket"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Non sei un utente autorizzato"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Puoi solo riassegnare ticket che hai in carico, o che non sono ancora assegnati"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "Non hai i permessi per visualizzare questo ticket.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Hai trovato %1 ticket nella coda %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Ti sei scollegato da RT."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Non hai l'autorizzazione per creare ticket in questa coda."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Non puoi creare ticket in questa coda."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Collegati di nuovo"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Le tue %1 richieste"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "L'amministratore RT non ha configurato correttamente l'alias di email che invoca RT"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "La tua richiesta è stata approvata da %1. Potrebbero essere necessarie altre approvazioni."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "La tua richiesta è stata approvata."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Your request was rejected"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "La tua richiesta è stata respinta."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Il tuo username o la tua password non sono corretti"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "CAP"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[senza oggetto]"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr "permetti la creazione di ricerche salvate"
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr "permetti il caricamento di ricerche salvate"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "come concesso a %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr "appartiene a"
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "chiuso"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "contiene"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "contenuto"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "content-type"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "corrispondenza (probabilmente) non inviata"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "corrispondenza inviata"
-
-#: NOT FOUND IN SOURCE
-msgid "current: $current, want $want, Error near ->$val<- expecting a "
-msgstr "attuale: $current, richiesto $want, Errore vicino a ->$val<- mi aspettavo "
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "giorni"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "morto"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "cancella"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "cancellato"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr "non appartiene a"
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "non corrisponde a"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "non contiene"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "uguale a"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr "errore: impossibile spostare in basso"
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr "errore: impossibile spostare a sinistra"
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr "errore: impossibile spostare in alto"
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr "errore: niente da cancellare"
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr "errore: niente da spostare"
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr "errore: niente da invertire"
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "falso"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "nome file"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "maggiore di"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "gruppo '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "ore"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "Codice"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "uguale a"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "diverso da"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "minore di"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "corrisponde a"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minuti"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "mesi"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "nuovo"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "nessun nome"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "nessun valore"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "nessuno"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "diverso da"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "diverso da"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "aperto"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "Gruppo personale '%1' per l'utente '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "coda %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "respinto"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "risolto"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sec"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr "Mostra configurazione"
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "foglio di calcolo"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "in stallo"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "sistema %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "gruppo di sistema '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "il componente chiamante non ha specificato il perché"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "ticket n°%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "vero"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "gruppo %1 senza descrizione"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "gruppo %1 senza descrizione"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "utente %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "settimane"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "con il modello %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "anni"
-
diff --git a/rt/lib/RT/I18N/ja.po b/rt/lib/RT/I18N/ja.po
deleted file mode 100644 (file)
index 259f857..0000000
+++ /dev/null
@@ -1,5557 +0,0 @@
-# Japanese translation by Interactive Artists LLC 
-# 0.1 2002 08 15
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 2.1.x\n"
-"POT-Creation-Date: 2002-05-02 11:36+0800\n"
-"PO-Revision-Date: 2002-05-13 02:00+0800\n"
-"Last-Translator: Jesse Vincent <jesse@bestpractical.com>\n"
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr ""
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr ""
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %2 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr ""
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr ""
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%3に変更された%1 %2 "
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 このチケット\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr ""
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr ""
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr ""
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr ""
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "%1スクリプトアクションロードしました"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%2と同じバリューの%1が追加されました"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1aliasesを動かすためにチケットIDが必要です"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "%1aliasesを動かすためにチケットIDが必要です "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1aliasesを動かすためにチケットIDが必要です(%2から) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%2による%1"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1は%2から%3に変更されました"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1はトランザクションをはじめることができませんでした(%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1は分解するステータスを設定できませんでした。RTのデータベースに一貫性がない可能性があります。"
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr ""
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1はこのキューでは%2ではありません"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1はこのチケットでは%2ではありません"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1はカスタムフィールド%2のバリューはありません"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1は有効なキューIDではありません。"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1分"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1表示されません"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 成功しました\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1タイプは$MessageIdIDでは不明です"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1タイプは%2では不明です"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1は分解されたグループチケットのすべてのメンバーを分解します。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1がもしリンクされたリクエストの従属者(もしくはメンバー)であると、[ローカル]ベースを行き詰まらせることになります。"
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1:アタッチメントが特定できません"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr ""
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "%1'はステータスに無効名バリューです"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "%1' アクションを認識できませんでした。"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(スクリプトを削除するためのチェックボックス)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(削除のためのチェックボックス)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(メンバーなし)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(スクリプトなし)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr ""
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Eメールアドレスにおけるカンマで区切られたリストへの正確なアップデートのブラインドコピーを送る。今後のアップデートを誰が受信するかは<b>変更できません</b>)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Eメールアドレスにおけるカンマで区切られたリストへの正確なアップデートのコピーを送る。今後のアップデートを誰が受信するかは<b>変更できません</b>)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(空)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(サブジェクトなし)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(バリューなし)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr ""
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(ひとつのチケットのみ)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr ""
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(必要です)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "私が所有している25の最も重要な優先権"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "私がリクエストした25の最も重要な優先権"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr ""
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr ""
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"新しいチケット\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "エースはみつかりません"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "エースは作成、削除のみです。"
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "意図的でないチケットの修正を防ぐために強制終了します。\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "アクセスコントロール"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "アクション"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "アクション%1は見つかりません"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr ""
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr ""
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "管理Ccを追加する"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Ccを追加する"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr ""
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr ""
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "リクエストする人をを追加する"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "新しいグローバルスクリプトを追加する"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "このキューにスクリプトを追加する"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "すべてのキューに適応するスクリプトを追加する"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr ""
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "選択されたチケットへのコメントまたは返事を追加する"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "メンバーを追加する"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "新しいウォッチャーを追加する"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "このキューに%1の責任者を追加しました"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "このチケットに%1の責任者を追加しました"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "住所1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "住所2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "管理Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr ""
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr ""
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "管理キュー"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "管理ユーザー"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "管理/グローバル設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "管理/グループ"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "管理/キュー/基本"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "管理Cc"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr ""
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr ""
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr ""
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "管理者Cc"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "絞込み検索"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "後"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr ""
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "すべてのキュー"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr ""
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr ""
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr ""
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr ""
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr ""
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr ""
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr ""
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr ""
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr ""
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "四月"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "昇順"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "添付"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "添付ファイル"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr ""
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "添付ファイル%1は見つかりません"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "添付ファイルが作成されました"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "添付ファイル名"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "添付ファイル"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr ""
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "八月"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "自動システム"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr ""
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "悪いPGP署名: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "悪い添付IDです。添付ファイルが見つかりません'%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "%1の悪いデータです"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "添付ファイルにとって悪いトランザクションナンバーです。%1は%2\\nのはずです"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "基本"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "本当に変更を保存してもよろしいですか"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "前"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "この検索にブックマークのできるURLです"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "短いヘッダー"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "チケットの一括アップデート"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "システムユーザーを修正できません"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "氏名なしにカスタムフィールドバリューの追加はできません"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "チケット自体にはリンクできません"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "すでに結合したチケットには結合できません。このエラーは決して出さないでください"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr ""
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "ベースとターゲットを特定できません"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "ユーザー: %1を作成できません"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "パスワードを変更する"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr ""
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "権利を無効にするチェックボックス"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "子供"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "町"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "終了したリクエストです"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "理解していないコマンド!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "コメント"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "コメントアドレス"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "記録されていないコメント"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "コメント"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "コメント(リクエスとした人には送信されません)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "コメント(リクエスとした人には送信されません)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "%1についてのコメント"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "このユーザーについてのコメント"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "コメントが追加されました"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "コメントが短くされました"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "コンパイル規制"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "コンディション"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "コンディションが見つかりません"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "設定"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "確認"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "コンタクト情報"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "コンタクトされた日にち'%1'を解析できませんでした"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "情報"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr ""
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "メールアドレス"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "通信が追加されました"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "記録されていない通信"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "チケットの新しいカスタムフィールドバリューを追加できませんでした"
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "オーナー変更ができませんでした"
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "カスタムフィールドの作成ができませんでした"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "グループの作成ができませんでした"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "テンプレート: %1の作成ができませんでした"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "チケットの作成ができませんでした。キューがセットされていません"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "ユーザーの作成ができませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "チケットとそのID%1が見つかりませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "グループ %1が見つかりませんでした"
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "そのユーザーを作成または見つけることができませんでした"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "その責任者を見つけることができませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "ユーザー%1を見つけることができませんでした"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "グループをロードできませんでした"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "このキューでその責任者を%1にすることができませんでした"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "このチケットでその責任者を%1にすることができませんでした"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "このキューでその責任者を%1として削除することができませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "このチケットでその責任者を%1として削除することができませんでした"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "グループにメンバーの追加ができませんでした"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "トランザクション: %1の作成ができませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "GPGの返事\\nから何を行ったらよいのかわかりませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "グループ\\nが見つかりませんでした"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "責任者が見つかりませんでした"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "そのバリューが見つかりませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "ユーザー\\nが見つかりませんでした"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "ユーザーデータベース\\nから%1をロードできませんでした"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "RT設定ファイル'%1' %2をロードできませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "スクリプトをロードできませんでした"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "グループ%1をロードできませんでした"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "リンクをロードできませんでした"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr ""
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "キューをロードできませんでした"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "キュー%1をロードできませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "スクリプトをロードできませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "テンプレートをロードできませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "そのユーザー(%1)をロードできませんでした"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "チケット'%1'をロードできませんでした"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "国"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "作成"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "カスタムフィールドの作成"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "新しいカスタムフィールドの作成"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "新しいグローバルスクリプトの作成"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "新しいグループの作成"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "新しい個人グループの作成"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "新しいキューの作成"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "新しいテンプレートの作成"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "新しいチケットの作成"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "新しいユーザーの作成"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "キューの作成"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "呼び出されたキューの作成"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "リクエストの作成"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr ""
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "テンプレートの作成"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr ""
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr ""
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "チケットの作成"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr ""
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr ""
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr ""
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr ""
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "作成しました"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "カスタムフィールド%1を作成しました"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "テンプレート%1を作成しました"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr ""
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "現在の関係"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "現在のメンバー"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "現在の権利"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "現在のウォッチャー"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "カスタムフィールド"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "カスタムフィールド%1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "カスタムフィールド%1はバリューがあります"
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "カスタムフィールド%1はバリューがありません"
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "カスタムフィールド%1が見つかりません"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "カスタムフィールドが見つかりません"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "カスタムフィールド%2のためのカスタムフィールドバリュー%1が見つかりません"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "カスタムフィールドが%1から%2に変更されました"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "カスタムフィールドバリューは削除されません"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "カスタムフィールドバリューが見つかりません"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "カスタムフィールドバリューが削除されました"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr ""
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "日付"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "十二月"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr ""
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr ""
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr ""
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr ""
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr ""
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr ""
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr ""
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "代表者の権利"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr ""
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr ""
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "削除"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "このオブジェクトを削除すると指示の完全性がくずされる可能性があります"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "このオブジェクトを削除すると指示の完全性がくずされます"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "このオブジェクトを削除すると指示の完全性が妨害されます"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr ""
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "次のもの次第である"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "従属チケット: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "による"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "降順する"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "下の問題点を表す"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "記述"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "詳細"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "表す"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "モードを表す"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "チケット#%1を表す"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr ""
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "このページを更新しないでください"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "ダウンロード"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "期限切れ"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "期限が切れる日'%1'は解析されません"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "ERROR: はチケット '%1': %2.\\nをロードできませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "編集"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "%1のカスタムフィールドを編集する"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "関係を編集する"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr ""
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "スクリプトを編集する"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "システムテンプレートを編集する"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "%1のテンプレートを編集する"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "キュー%1の設定を編集する"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "ユーザー%1の設定を編集する"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "カスタムフィールド%1を編集する"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "グループ%1の会員を編集する"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "個人グループ%1の会員を編集する"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "テンプレート%1を編集する"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "ベースもしくはターゲットを特定しなければなりません"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Eメール"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "お使いのEメールアドレス"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "Eメールアドレス"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "Eメールエンコーディング"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr ""
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "有効になりました(もう一度このボックスをチェックするとこのキューは有効でなくなります)"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "有効なキュー"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "有効なステータス%1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr ""
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr ""
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "チケットをリンクするチケットまたはURLsを入力してください。入力する項目がいくつかある場合にはスペースで区切ってください。"
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "エラー"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "パラメーターのエラーQueue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "パラメーターのエラーQueue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "パラメーターのエラーTicket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "パラメーターのエラーTicket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr ""
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr ""
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr ""
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "外部の認証ID"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "外部のコンタクト情報ID"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "その他の情報"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "'特権のある'ユーザーの擬似グループの検索が失敗しました"
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "'特権のない'ユーザーの擬似グループの検索が失敗しました"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "二月"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "終了"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "最終優先順位"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr ""
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "新しい/開くチケットを見つける"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "人々を見つける"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "最初の"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "最初のページ"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "ばか!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "変更を強制します"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr ""
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "フリーフォームコンタクト情報"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "金曜日"
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "フルヘッダー"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "pgp sig\\nから現在のユーザーを得る"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr ""
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "グローバル"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "グローバルスクリプト"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr ""
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr ""
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "行く!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "%1\\nからの良いpgp sig"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "ページへ行く"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "チケットに行く"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "グループ%1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "グループ権利"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "グループにはすでにメンバーがいます"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "グループが作成されました"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "グループが見つかりません"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "グループが見つかりません。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "グループが特定できません。\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "グループ"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "グループは彼らのメンバーにはなれません"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "こんにちは!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "こんにちは、%1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "ヒストリー"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "自宅の電話"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "ホームページ"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "私は[quant,_1,concrete mixer]があります。"
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "ID"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "身分証明書"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr ""
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr ""
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr ""
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr ""
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "上の何かをアップデートしたなら、次のことを確認してください"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr ""
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr ""
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "リストの無効なキューを含む"
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "検索の無効なユーザーを含む"
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "最初の優先権"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "入力エラー"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr ""
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "無効なグループタイプです"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr ""
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "無効なオーナーです。 '誰でもない'に初期設定します."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "無効なキューです"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "無効な権利です"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "%1には無効なバリューです"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "カスタムフィールドには無効なバリューです"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "ステータスには無効なバリューです"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr ""
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "一月"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr ""
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "七月"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "大きい"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "六月"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "キーワード"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "長い"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "最後の"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "最後のコンタクト"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "最後にコンタクトした"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "最後にアップデートした"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "残った"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "このユーザーをRTにアクセスします"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "このユーザーの権利を認めます"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "オーナーを%1 %2に制限します"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "キューを%1 %2に制限します"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "リンクはすでに存在しています"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "リンクが作成されませんでした"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "リンクが作成されました(%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "リンクが削除されました(%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "リンクが見つかりません"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "リンクチケット#%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "リンク"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "場所"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "ログディレクトリー%1が見つからない、または書き出せません。\\n RTが動きません"
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "%1としてサインする"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "ログイン"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "ログアウト"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "オーナーを決める"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "ステータスを決める"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "期限期日を決める"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "解析期日を決める"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "開始した日を決める"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "開始日を決める"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "いわれた日を決める"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "優先順位を決める"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "キューを決める"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "サブジェクトを決める"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr ""
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr ""
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr ""
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr ""
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "三月"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "五月"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "メンバーが追加されました"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "メンバーが削除されました"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "メンバーが削除されていません"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "のメンバー"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "メンバー"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "結合が成功しました"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "結合が失敗しました。有効なIDが設定できませんでした"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "に結合"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr ""
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "携帯"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "携帯電話"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "カスタムフィールド%1を修正する"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr ""
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr ""
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr ""
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr ""
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "#%1の期日を修正する"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "チケット#%1の期日を修正する"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "グローバルグループの権利を修正する"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "グローバルグループの権利を修正する"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "グローバルスクリプトを修正する"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr ""
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "グローバルユーザーの権利を修正する"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "%1のグループ権利を修正する"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "キュー%1のグループ権利を修正する"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr ""
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr ""
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "キュー%1に関係のある人々を修正する"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "チケット#%1に関係のある人々を修正する"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "キュー%1のスクリプトを修正する"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr ""
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "テンプレート%1を修正する"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr ""
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "グループ%1を修正する"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "ユーザー%1を修正する"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "チケット# %1を修正する"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "チケット#%1を修正する"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr ""
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "グループ%1のユーザー権利を修正する"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "キュー%1のユーザー権利を修正する"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "キュー'%1'のウォッチャーを修正する"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr ""
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr ""
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "月曜日"
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "さらに%1について"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr ""
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr ""
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "多くの"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "'名前'の属性を特定してください"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr ""
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "名前"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "現在お使いの名前"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr ""
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "新しい"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "新しい関係"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "新しいパスワード"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr ""
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr ""
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "新しいパスワード"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "新しいパスワード情報が送られました"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "新しいリクエスト"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "新しい権利"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "新しい検索"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr ""
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "新しいチケットはありません"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr ""
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "新しいユーザーが呼ばれました"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "新しいウォッチャー"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "新しいウインドウ設定"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "次へ"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "次のページ"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "ニックネーム"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "カスタムフィールドがありません"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "グループが定義されません"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "キューが定義されません"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "RTユーザーが見つかりません。RT管理者に相談してください。\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "テンプレートがありません"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "チケットが特定できません。チケットを終了します"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "チケットが特定できません。チケットの修正を終了します\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr ""
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "コマンドが見つかりません\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "このユーザーに関してのコメントは入力されていません"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "通信文書の添付はありません"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "%1記述はありません"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "グループが特定できません"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "パスワードが設定されません"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "キューを作成する許可がされていません"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "ユーザーを作成する許可がされていません"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "そのチケットを表示する許可がありません"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "アップデートチケットを見る許可がさありません"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "責任者が特定できません"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "責任者が選択されていません"
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "検索基準にあったキューが見つかりません"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr ""
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "権利が許可されていません"
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "操作のための検索ができません"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "チケットIDが特定できません"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "トランザクションタイプが特定できません"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "検索基準にあったユーザーが見つかりません"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "有効なRTユーザーが見つかりません。RT cvcハンドラが分離しています。RT管理者に相談してください。\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr ""
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr ""
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr ""
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "ログインできません"
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "セットできません"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "まだ実行できません"
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "まだ実行できません。。。"
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "お知らせを送ることができませんでした"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr ""
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr ""
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr ""
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr ""
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr ""
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr ""
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr ""
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr ""
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr ""
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr ""
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr ""
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "十一月"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr ""
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr ""
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "十月"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "に"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr ""
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr ""
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr ""
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr ""
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr ""
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr ""
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr ""
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr ""
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr ""
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "開く"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "それを開く"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "リクエストを開く"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "チケットを(リストから)新しいウインドウから開く"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "チケットを(リストから)ほかのウインドウから開く"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "整列と並び替え"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "組織"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "時間切れです、優先順位がうつりました"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr ""
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "オーナー"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "オーナーは強制的に%1から%2を変更しました"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "オーナーは"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "ポケットベル"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "ポケットベル電話"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "両親"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "パスワード"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "パスワードのお知らせ"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "パスワードが短すぎます"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "パスワード: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr ""
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr ""
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "人々"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "許可が下りませんでした"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr ""
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "個人グループ"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "個人グループ:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "電話番号"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "代替物"
-
-#: NOT FOUND IN SOURCE
-msgid "Pref"
-msgstr "お気に入り"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "お気に入り"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Prepare Stubbed"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "前の"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "前のページ"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "優先権"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr ""
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "優先権"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "優先順位は次のように始まります"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr ""
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "特権ステータス: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "特権のあるユーザー"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr ""
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr ""
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr ""
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "キュー"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "キュー'%1'は見つかりませんでした\\n"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "キューの名前"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "キュースクリプト"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "キューはすでに存在しています"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "キューの作成ができませんでした"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "キューのロードができませんでした"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "キューが作成されました"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "キューが見つかりません"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "キュー"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr ""
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr ""
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "%2のRT %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "<a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>からのRT%1。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT管理"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "RT認証エラー"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RTバウンス:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "RT設定エラー"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "RT重大なエラー。メッセージが記録されません"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RTエラー"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT受信メール(%1)自身からのメール "
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RTセルフサービス/クローズされたチケット"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr ""
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RTでは、ただいまお使いの方の認証ができませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RTは外部のデータベースルックアップを使ってリクエストする人を見つけることができませんでした"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RTはキュー: %1を見つけることができませんでした"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RTはこのPGPサインを有効にすることができませんでした。\\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RTはあなたののコマンドを処理しました"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RTは&コピー; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;。これは<a href=\"http://www.gnu.org/copyleft/gpl.html\">GNUジェネラルパブリックライセンスのバージョン2で配信されています。</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RTによるとこのメッセージはバウンスする可能性があります"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RTはこのメッセージがまるでサインされていないように処理します。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RTのEメールコマンドモードではPGP認証が必要になります。貴方のメッセージにサインしなかった、もしくははサインが有効でありません"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "本名"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "本名"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "次のものによって参照した"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "参照する"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "絞り込む"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "絞込み検索"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "このページを%1分おきに更新してください"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "管理Ccを削除する"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Ccを削除する"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "リクエストする人を削除する"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "返信"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr ""
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr ""
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "リクエストする人"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "リクエストする人のEメールアドレス"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "リクエストする人"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "リクエストは次の日までに行われなければなりません"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr ""
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "リセット"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "住所"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "分解する"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr ""
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "分解した"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "リクエストする人に返答する"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "結果"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "ページごとの結果"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "パスワードの再入力"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "%2 %3の権利%1が領域%4 %5\\nで見つかりませんでした"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "権利が委託されました"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "権利が許可されました"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "権利がロードされました"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "権利を無効にできませんでした"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "権利が見つかりませんでした"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "権利がロードできませんでした"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "権利が無効になりました"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "権利"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr ""
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "役割"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr ""
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "土曜日"
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr ""
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "変更を保存する"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "変更を保存する"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr ""
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "スクリプトが作成されました"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "スクリプト"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "%1\\nのスクリプト"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr ""
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "検索"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "検索基準"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr ""
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "グループの選択"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "キューの選択"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "ユーザーの選択"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr ""
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr ""
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "セルフサービス"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr ""
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr ""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr ""
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr ""
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr ""
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr ""
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr ""
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "九月"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "結果を見る"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr ""
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "基本を見る"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr ""
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "詳細を見る"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr ""
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "サイン"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "ひとつの"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "並べ替えのキー"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "次の項目ごとの並び替え"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "並び順"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "停止しています"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "開始ページ"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "開始した"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "開始日'%1'は見つかりませんでした"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "開始する"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "次の日時までに開始する"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "開始日'%1'を解析できませんでした"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "状態"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "ステータス"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "ステータスが%1から%2に変更されました"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "盗用する"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "%1から盗用した"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "%1から盗用した "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "サブジェクト"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr ""
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "提出"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr ""
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "日曜日"
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr ""
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "システムエラー"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "システムエラー。権利が委任されていません"
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "システムエラー。権利が認可されていません"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "システムグループ"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr ""
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "テスト_ストリング"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "とる"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "とられた"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "テンプレート"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr ""
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr ""
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "テンプレートが見つかりません"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "テンプレートが見つかりません\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "テンプレートが解析されました"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "テンプレート"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "%1\\nのテンプレート"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "それはこのカスタムフィールドのバリューではありません"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "それは同じバリューです"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "その責任者はすでにこのキューの%1です"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "その責任者はすでにこのチケットの%1です"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "その責任者はこのキューの%1ではありません"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "その責任者はこのチケットの%1ではありません"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "そのキューはありません"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "そのチケットは従属物をすでに分解しました"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "そのユーザーはすでに権利があります"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "そのユーザーはすでにチケットを所有しています"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "そのユーザーは存在しません"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "そのユーザーはすでに特権が与えられています"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "そのユーザーにはすでに特権がありません"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "そのユーザーは今特権を与えられました"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "そのユーザーは今特権を失いました"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "そのユーザーはこのキューではチケットを所有していない可能性があります"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "それは数字のIDではありません"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "基本"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "コメントは記録されました"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "次のコマンドは処理されませんでした:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr ""
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "それらのコメントは実際ユーザーには見ることができません"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "このチケット%1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "このトランザクションにはコンテンツがありません"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "このユーザーの25のもっとも高い優先チケット"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "木曜日"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "チケット# %1  %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "チケット #%1 大きいアップデート: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr ""
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "チケット %1がキュー '%2'で作成されました"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "チケット%1がロードされました\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "チケット %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr ""
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "チケットヒストリー # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "チケットID"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "チケット添付"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "チケットコンテンツ"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "チケットコンテンツタイプ"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "チケットが作成されました"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "チケットの作成が失敗しました"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "チケットが削除されました"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr ""
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "チケットウォッチャー"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "%1からのチケット"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "時間が残っています"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "使った時間"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "残っている時間"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "表示する時間"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "使った時間"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "このコミットのディフをつくるために:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "このコミットのディフをつくるために:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "言った"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr ""
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "トランザクション%1が消去されました"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "トランザクションが作成されました"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "トランザクションは変更されることはありません"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "権利: %1を削除しています"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "火曜日"
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "タイプ"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "導入されていない"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Unixログイン"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Unixユーザーネーム"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "不明なコンテンツエンコーディング%1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "制限されていない"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr ""
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr ""
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "とられていない"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "アップデート"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "アップデートID"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr ""
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "アップデートタイプ"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "すべてのチケットを一度にアップデートする"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "アップデートEメール"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "アップデートネーム"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "アップデートは記録されませんでした"
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "選択されたチケットをアップデートする"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "サインをアップデートする"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "チケットをアップデートする"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "アップデートチケット # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "アップデートチケット #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr ""
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "アップデートタイプは通知でもコメントでもありません"
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "アップデートしました"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr ""
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "ユーザー%1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "ユーザー%1パスワード: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "ユーザー'%1'が見つかりません"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "ユーザー'%1'が見つかりません\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "ユーザーID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "ユーザーID"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "ユーザー権利"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "ユーザーを作成することができませんでした: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "ユーザーが作成されました"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "ユーザーがグループを決定しました"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "ユーザーに通告されました"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "ユーザービュー"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "ユーザーネーム"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "ユーザー"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "ユーザーが検索基準にあっています"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "キューのバリュー"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "バリュー"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "ウォッチャー"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "ウェブエンコーディング"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "水曜日"
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr ""
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr ""
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr ""
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr ""
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr ""
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr ""
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr ""
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr ""
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr ""
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr ""
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "仕事"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "仕事先の電話"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Worked"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "あなたはすでにこのチケットを所有しています"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "あなたは認証されたユーザーではありません"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "あなたは所有、または所有されていないチケットのみを止めることができます"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "あなたはそのチケットを見る許可がありません。\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "あなたは%2でチケット%1を見つけました"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "あなたはRTからログアウトしたままです"
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "あなたはこのキューでチケット作成の許可がありません"
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "あなたはこのキューでリクエストの作成ができるでしょう"
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "ぜひまたログインしてください"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "あなたの%1のリクエスト"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "あなたのRT管理者はRTを呼び出すメールaliasesを設定できませんでした"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr ""
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr ""
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr ""
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "あなたののユーザーネームとパスワードが間違っています"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "ジップ"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "%1への許可"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr ""
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "含む"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "通知は(おそらく)送信されていません"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "通知が送信されました"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "日"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "削除"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "削除された"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "あいません"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "含みません"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "等しい"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "より大きい"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "グループ'%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "時間"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "ID"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "です"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "でない"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "より少ない"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "合う"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "最低"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "分"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "修正\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "月"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "新しい"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr ""
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "なし"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "等しくない"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "開く"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "ユーザー '%2' のパーソナルグループ '%1' "
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "キュー %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "拒否されました"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "分解されました"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "秒"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "止まりました"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "システム %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "システムグループ '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "呼び出しているコンポーネントがなぜ次のようなことが起こるのか特定できませんでした"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "チケット #%1 %2"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "表示されないグループ %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "ユーザー %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "週"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "テンプレート %1と"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "年"
-
diff --git a/rt/lib/RT/I18N/nl.po b/rt/lib/RT/I18N/nl.po
deleted file mode 100644 (file)
index 91547c8..0000000
+++ /dev/null
@@ -1,5827 +0,0 @@
-msgid ""
-msgstr ""
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "msgstr "" "
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %2 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 toegevoegd"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 geleden"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 veranderd naar %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 verwijderd"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 met sjabloon %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 dit ticket\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr ""
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Een argument om door te geven aan %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Uitvoer status herzieningen naar STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Specificeer de actie module die u wenst te gebruiken"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Specificeer de conditie module die u wenst te gebruiken"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Specificeer de zoek module die u wenst te gebruiken"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "%1 ScripAction geladen"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 toegevoegd als waarde voor %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1 aliassen hebben een TicketId nodig om mee te werken"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "%1 aliassen hebben een TicketId nodig om mee te werken"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1 aliassen hebben een TicketId nodig om mee te werken (van %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 lijkt een lokaal object te zijn maar kan niet gelokaliseerd worden in de database"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 door %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 veranderd van %2 naar %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 kon niet veranderd worden naar %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 kon geen transactie initiëren (%2)"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 kon status niet veranderen naar opgelost. RT's Database zou inconsistent kunnen zijn"
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "De %1 hoogste prioriteit tickets die ik bezit..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "De %1 hoogste prioriteit tickets waar ik om verzocht heb..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 is een gereedschap om te reageren op tickets van een extern rooster programma, zoals cron"
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 is niet langer een %2 voor deze rij"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 is niet langer een %2 voor dit ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 is niet langer een waarde voor specifiek veld %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 is niet een geldig Rij id"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 niet afgebeeld"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 objecten"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 rechten"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 gelukt\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1 type onbekend voor $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1 type onbekend voor %2"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 zal alle leden van een opgelost groep ticket omzetten."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: geen aanhechting gespecificeerd"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1 is een ongeldige waarde voor status"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' onherkende actie. "
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Vink hokje af om te verwijderen)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Markeer hokje om notificaties voor de genoemde ontvangers uit te zetten)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Markeer hokje om notificaties voor de genoemde ontvangers aan te zetten)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Indien leeggelaten, wordt voorzien van %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(Geen Waarde)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Geen eigen velden)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Geen Leden)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Geen scrips)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Geen slablonen)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Stuurt een blinde carbon copy van deze herziening naar een comma gescheiden lijst van email adressen. Wie er toekomstige herzieningen zal ontvangen, zal <b>niet</b> veranderen.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr ""
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Stuurt een carbon copy van deze herziening naar een comma gescheiden lijst van email adressen. Wie er toekomstige herzieningen zal ontvangen, zal <b>niet</b> veranderen.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Stuurt een kopie van deze herziening naar een door komma's gescheiden lijst van email-adressen. Deze personen zullen toekomstige herzieningen <b>blijven</b> ontvangen.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(leeg)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(geen onderwerp)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(geen waarde)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(geen waarden)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(slechts één ticket)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(wacht op goedkeuring)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(wacht op andere Collection)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(wacht op andere tickets)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(verplicht)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(zonder titel)"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Nieuw ticket in\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Een leeg sjabloon"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE Verwijderd"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE Geladen"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE niet gevonden"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACEs kunnen allen gecreëerd of verwijderd worden."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Afbraak om ongewenste ticket aanpassing te voorkomen.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Over mezelf"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Toegangscontrole"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Actie"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Actie %1 niet gevonden"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Actie uitgevoerd."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Actie voorbereid..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Voeg toe"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Voeg AdminCc toe"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Voeg Cc toe"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr ""
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Voeg Meer Bestanden Toe"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Voeg Verzoeker Toe"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip to this queue"
-msgstr "Voeg een Scrip toe aan deze rij"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Voeg een Scrip toe dat voor alle rijen zal gelden"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr ""
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Voeg commentaar of reacties toe aan geselecteerde tickets"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Voeg leden toe"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Voeg nieuwe toeschouwers toe"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "VoegVolgendeStaatToe"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Hoofd toegevoegd als %1 voor deze rij"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Hoofd toegevoegd als %1 voor dit ticket"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Adres1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Adres2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Beheerder Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr ""
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr ""
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Beheerder rijen"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Beheerdergebruikers"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Beheerder/Globale configuratie"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Beheerder/Groepen"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Beheerder/Rij/Basis"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "BeheerderCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "BeheerderCommentaar"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "BeheerderCorrespondentie"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "BeheerderSpecifiekVeld"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "BeheerderSpecifiekeVelden"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "BeheerderGroep"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "BeheerderGroepLidmaatschap"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "BeheerderBezitPersoonlijkeGroepen"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "BeheerderRij"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "BeheerderGebruikers"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Administratieve Cc"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Geavanceerd"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Uitgebreid Zoeken"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Nadat"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Leeftijd"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Alle Gegeven Goedkeuringen"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Alle Rijen"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Stuurt altijd een bericht naar de verzoekers ongeacht de verzender van het bericht"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr ""
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Goedkeuring"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Goedkeuring #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Goedkeuring #%1: Notities niet bewaard vanwege een systeem fout"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Goedkeuring #%1: Notities bewaard"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Goedkeuring Details"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr ""
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Goedkeuring diagram"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Goedkeuring"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Notities van de goedkeurer: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Ggk."
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "april"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Oplopend"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "WijsSpecifiekeVeldenToe"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Aanhechten"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Hecht bestand aan"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Aangehecht bestand"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Aanhechting '%1' kon niet geladen worden"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Aanhechting gecreëerd"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Aanhechting bestandsnaam"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Aanhechtingen"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Attribuut Verwijderd"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "aug."
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "augustus"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "AuthenticatieSysteem"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Automatisch-antwoord"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Automatisch-antwoord aan Verzoekers"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "Automatisch-antwoordAanVerzoekers"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Columns"
-msgstr "Beschikbare Kolommen"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Ongeldige PGP Signature: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Ongeldig aanhechtings id. Kon aanhechting '%1' niet vinden\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Ongeldige data in %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Ongeldig transactienummer voor aanhechting. %1 zou %2 moeten zijn\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Basis"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Zorg ervoor dat u uw veranderingen bewaard"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Voorheen"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Begin Goedkeuring"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Blanco"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "URL voor deze zoekopdracht, geschikt als bookmark"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Korte koppen"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Bulk ticketherziening"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Kan systeemgebruikers niet wijzigen"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Kan dit hoofd deze rij zien"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Kan geen specifiek veld toevoegen zonder een naam"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Kan geen bewaarde zoekopdracht vinden om mee te werken"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Kan een ticket niet koppelen aan zichzelf"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Kan niet samenvoegen met een reeds samengevoegd ticket. U zou deze boodschap nooit mogen krijgen"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Kan deze zoekopdracht niet opslaan"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Kan niet zowel basis als doel specificeren"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Kan gebruiker %1 niet aanmaken"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Wijzig wachtwoord"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Alle Markeren"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Vink hokje af om te verwijderen"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Vink hokje af om recht te verwijderen"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Kinderen"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Stad"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Alle Wissen"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Gesloten"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Gesloten verzoeken"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Commando niet begrepen!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Commentaar"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Commentaar Adres"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Commentaar niet bewaard"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Commentaar op tickets"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "CommentaarOpTicket"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Commentaar"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Commentaar (Wordt niet verstuurd aan verzoekers)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Commentaar (Wordt niet verstuurd aan verzoekers)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Commentaar over %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Commentaar over deze gebruiker"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Commentaar toegevoegd"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Compilatie Restricties"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Voorwaarde"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Voorwaarde komt overeen..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Voorwaarde niet gevonden"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Configuratie"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Bevestig"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "ContactInfoSysteem"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Contact datum '%1' kon niet ontleed worden"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Inhoud"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr ""
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Correspondentie"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Correspondentieadres"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Correspondentie toegevoegd"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Correspondentie niet bewaard"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Kon nieuw specifiek veld niet toevoegen voor dit ticket. "
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "Kon nieuw specifiek veld niet toevoegen voor dit ticket. %1"
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Kon eigenaar niet wijzigen. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Kon SpecifiekVeld niet creëren"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Kon groep niet creëren"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Kon sjabloon niet creëren: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Kon ticket niet creëren. Rij niet ingesteld"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Kon gebruiker niet creëren"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "Kon toeschouwer niet creëren voor verzoeker"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Kon geen ticket vinden met id %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Kon groep %1 niet vinden. "
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Kon deze gebruiker niet vinden of creëren"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Kon dat hoofd niet vinden"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Kon gebruiker %1 niet vinden."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Kon SpecifiekVeld %1 niet laden"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Kon groep niet laden"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Kon dat hoofd geen %1 maken voor deze rij"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Kon dat hoofd geen %1 maken voor dit ticket"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Kon dat hoofd niet verwijderen als %1 voor deze rij"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Kon dat hoofd niet verwijderen als %1 voor dit ticket"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Kan gebruikersinformatie niet toewijzen"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Kon lid niet toevoegen aan groep"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Kon geen transactie creëren: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Kon niet bepalen welke actie te ondernemen aan de hand van gpg's antwoord\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Kon groep niet vinden\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Kon rij niet vinden"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Kon dat hoofd niet vinden"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Kon die waarde niet vinden"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "Kon die toeschouwer niet vinden"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Kon gebruiker niet vinden\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Kon %1 niet laden uit de gebruikersdatabase.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "Kon KeywordSelects niet laden."
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Kon RT configuratie bestand niet laden '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Kon Scrips niet laden"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Kon groep %1 niet laden"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Kon link niet laden"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Kon object %1 niet laden"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Kon rij niet laden"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Kon rij %1 niet laden "
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Kon scrip niet laden"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Kon sjabloon niet laden"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Kon die gebruiker (%1) niet laden"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Kon ticket '%1' niet laden"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Land"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Creëer"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Creëer Tickets"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Creëer een SpecifiekVeld"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Creëer een niuew Specifiek Veld"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global Scrip"
-msgstr "Creëer een nieuw globaal Scrip"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Creëer een nieuwe groep"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Creëer een nieuwe persoonlijke groep"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Creëer een nieuwe rij"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Creëer een nieuw scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Creëer een nieuw template"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Creëer een nieuw ticket"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Creëer een nieuwe gebruiker"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Creëer een rij"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Creëer een rij genaamd"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Creëer een verzoek"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Creëer een scrip voor rij %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Creëer een sjabloon"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Maak een ticket aan"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Creatie mislukt: %1 / %2 / %3 "
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Creëer nieuwe tickets gebaseerd op het sjabloon van dit scrip"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Creëer ticket"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Creëer tickets in deze rij"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Creëer, verwijder en wijzig specifieke velden"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Creëer, verwijder en wijzig rijen"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Creëer, verwijder en wijzig de leden van persoonlijke groepen"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Creëer, verwijder en wijzig gebruikers"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "CreëerTicket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Gecreëerd"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "SpecifiekVeld %1 gecreëerd"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Sjabloon %1 Gecreëerd"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Creator"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Huidige Relaties"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Huidige Scrips"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Huidige leden"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Huidige rechten"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Huidige zoekcriteria"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Huidige toeschouwers"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Specifieke Velden"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Specifieke Velden voor %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Specifieke actie opruim code"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Specifieke actie voorbereidings code"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Specifieke voorwaarde"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Specifiek veld %1 %2 %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 does not apply to this object"
-msgstr "Specifiek Veld %1 is niet van toepassing op dit object"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Specifiek veld %1 heeft een waarde."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Specifiek veld %1 heeft geen waarde."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Specifiek veld %1 niet gevonden"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Specifiek veld niet gevonden"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Specifiek veld waarde %1 kon niet gevonden worden voor specifiek veld %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Specifiek veld waarde veranderd van %1 naar %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Specifiek veld waarde kon niet verwijderd worden"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Specifiek veld waarde kon niet gevonden worden"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Specifiek veld waarde verwijderd"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "SpecifiekVeld"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "Data fout"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Data"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "dec."
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "december"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Standaard Auto-antwoord Sjabloon"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr ""
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr ""
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr ""
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Standaard admin commentaar sjabloon"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Standaard admin correspondentie sjabloon"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Standaard correspondentie sjabloon"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Standaard transactie sjabloon"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Standaard: %1/%2 verandered van %3 naar %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Delegeer rechten"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Delegeer specifieke rechten die aan u verleend zijn."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "DelegeerRechten"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr ""
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Verwijder tickets"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "VerwijderTicket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Het verwijderen van dit object zou de referentiële integriteit kunnen ondermijnen"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Het verwijderen van dit object zou de referentiële integriteit ondermijnen"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Het verwijderen van dit object zou de referentiële integriteit ondermijnen"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "Het verwijderen van dit object zou de referentiële integriteit ondermijnen"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Wijs af"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Afhankelijkheid van"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Afhankelijkheden: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Is afhankelijk van"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Aflopend"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Omschrijf onderstaande kwestie"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Omschrijving"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Details"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Toon"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Toon Toegangs Controle Lijst"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Toon Kolommen"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Toon Scrip sjablonen voor deze rij"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Toon Scrips voor deze rij"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Toon modus"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "Toon bewaarde zoekopdrachten voor deze groep"
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Toon ticket #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Doe iets en alles"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Ververs deze pagina niet"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Toon zoekresultaten niet"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Download"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "Download als een door tabs gescheiden databestand"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Verwacht"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Verwachte datum '%1' kon niet ontleed worden"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "FOUT: Kon ticket '%1' niet laden: %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Wijzig"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Wijzig Specifieke Velden voor %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Wijzig Relaties"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Wijzig Zoekopdracht"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Wijzig systeem sjablonen"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Wijzig sjablonen voor %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "WijzigOpgeslagenZoekopdrachten"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Bezig met wijzigen van de configuratie voor rij %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Bezit met het wijzigen van de configuratie voor gebruiker %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Bezit met het wijzigen van SpecifiekVeld %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Bezit met het wijzigen van lidmaatschap voor groep %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Bezit met het wijzigen van lidmaatschap voor persoonlijke groep %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Bezit met het wijzigen van sjabloon %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Of basis of doel moeten gespecificeerd zijn"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "E-mail"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "E-mailadres in gebruik"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "E-mailAdres"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "E-mailCodering"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr ""
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Actief (Het uitvinken van dit hokje zal deze rij deactiveren)"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Actieve Rijen"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Actieve status %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr ""
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr ""
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Vul tickets of URIs in om deze tickets aan te koppelen. Scheidt meerdere elementen met spaties."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Fout"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Fout in paramaters naar Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Fout in paramaters naar Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Fout in paramaters naar Ticket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Fout in paramaters naar Ticket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr ""
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr ""
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Iedereen"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Voorbeeld:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "ExternAuteurId"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "ExternContactInfoId"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Extra informatie"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Kon de gebruikers pseudogroep 'Privileged' niet vinden."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Kon de gebruikers pseudogroep 'Unprivileged' niet vinden."
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Kon module %1 niet laden. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "feb."
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Bestandsnaam"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Uiteindelijke Prioriteit"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "UiteindelijkePrioriteit"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Zoek nieuwe/open tickets"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Zoek mensen wier"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Beëindig Goedkeuring"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Eerste"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Eerste pagina"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Aap Noot Mies"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Aap!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr ""
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Gevonden Object"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "Vrije vorm"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "VrijevormContactInfo"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "VrijevormMeerdere"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Vr."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Volledige Kop"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Vul sjabloon uit bestand"
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Bezig met het ophalen van de huidige gebruiker middels een pgp handtekening"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Aan %1 gegeven"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Globaal"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Globaal Specifieke Velden"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Globaal sjabloon: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Ga"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Ga!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Goede pgp handtekening van %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Ga naar pagina"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Ga naar ticket"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Groep"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Groep %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Groeps rechten"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Groep heeft al een lid"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Groep kon niet gecreërd worden: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Groep gecreërd"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Groep heeft geen lid onder die naam"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Groep niet gevonden"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Groep niet gevonden.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Groep niet gespecificeerd.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Groepen"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Groepen kunnen geen leden zijn van hun leden"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "Groepen waar deze gebruiker deel van uitmaakt"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Hallo!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Hallo, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Geschiedenis"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "ThuisNummer"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Homepage"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Ik heb %quant(%1,betonmixer)."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Id"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identiteit"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Als een goedkeuring afgewezen is, wijs het origineel af en verwijder hangende goedkeuringen"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr ""
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Cre\91er tickets in deze rij indien geen rij is opgegeven."
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Als dit gereedschap setgid zou zijn, zou een kwaadwillende lokale gebruiker dit gereedschap kunnen gebruiken om administratieve toegang te verkrijgen tot RT"
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Als u een van de bovenstaande elemented ververst heeft, zorg dan dat u"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Illegale waarde voor %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Afbeelding"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Niet-wijzigbaar veld"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Neem inactieve groepen op in de weergave."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Neem inactieve rijen op in de weergave."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Neem inactieve gebruiker op in de zoek opdracht"
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Initiële Prioriteit"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "InitiëlePrioriteit"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Invoer fout"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Interne Fout"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Interne Fout: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Ongeldig Groep Type"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Ongeldig Recht"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Ongeldig Type"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Ongeldige data"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Ongeldige eigenaar. Val terug op 'nobody'."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Ongeldige rij"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Ongeldige recht"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Ongeldige waarde voor %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Ongeldige waarde voor specifiek veld"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Ongeldige waarde voor status"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Het is ontzettend belangrijk dat onbevoorrechtigde gebruikers geen toestemming hebben om dit gereedschap te gebruiken."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "We stellen voor dat u een onbevoorrechtigde unix gebruiker aanmaakt met het juiste groep lidmaatschap en RT toegang om dit gereedschap te gebruiken."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Het accepteerd meerdere argumenten:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Zaken die wachten op mijn goedkeuring"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "jan."
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "januari"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Sluit u aan of verlaat deze groep"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "jul."
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Jumbo"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "jun."
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Sleutelwoord"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Taal"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Laatste"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Laatste Contact"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Laatst Gecontacteerd"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Laatst Bericht"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Laatst Ververst"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "LaatstVerverstDoor"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Over"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Geef deze gebruiker toegang tot RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Geef deze gebruiker rechten"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Eigenaar wordt gelimieteerd tot %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Rij wordt gelimiteerd tot %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Koppeling bestaat al"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Koppeling kon niet gecreëerd worden"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Koppeling gecreëerd (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Koppelink verwijderd (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Koppeling niet gevonden"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Koppel ticket #%1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Koppelingen"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Locatie"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Log folder %1 niet gevonden of niet toegankelijk.\\n RT kan niet starten."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Aangemeld als %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Aanmelden"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Afmelden"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "Lookup type komt niet overeen"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Maak Eigenaar"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Maak Status"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Maak verwachtingsdatum"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Make oplossingsdatum"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Maak startdatum"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Maak datum gestart"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Maak datum gemeld"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Maak prioriteit"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Maak rij"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Maak onderwerp"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "Beheer specifieke velden en waarden daarvan"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Beheer groepen en groeplidmaatschap"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Beheer eigenschappen en configuraties welke betrekking hebben op alle rijen"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Beheer rijen en rij-specifieke eigenschappen"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Beheer gebruikers en wachtwoorden"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "maa."
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "maart"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "mei"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "mei."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Lid toegevoegd"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Lid verwijderd"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Lid niet verwijderd"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Lid van"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "LidVan"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Leden"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Samenvoeging Succesvol"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Samenvoeging mislukt. Kon EffectiefId niet instellen"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Voeg samen in"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Samengevoegd tot %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Bericht"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Mist primaire sleutel?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Mobiel"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "MobieleTelefoon"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Wijzig Toegangs Controle Lijst"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Wijzig Specifiek Veld %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr ""
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Wijzit Scrip sjabloon voor deze rij"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Wijzig Scrips voor deze rij"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Wijzig Sjabloon %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Wijzig een Specifiek Veld voor deze rij %1"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Wijzig een scrip voor deze rij %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Wijzig een scrip welke betrekking heeft op alle rijen"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Wijzig objecten geassocieerd aan %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "Wijzig data voor # %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Wijzig data voor #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Wijzig data voor ticket # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Wijzig globale groepsrechten"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Wijzig globale groepsrechten"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Wijzig globale gebruikersrechten"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Wijzig globale gebruikersrechten"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Wijzig groepsmetadata of verwijder groep"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Wijzig groepsrechten voor specifiek veld %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Wijzig groepsrechten voor groep %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Wijzig groepsrechten voor rij %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Wijzig lidmaatschap rooster voor dze groep"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Wijzig uw eigen RT "
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Wijzig mensen gekoppeld aan rij %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Wijzig mensen gekoppeld aan ticket #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Wijzig scrips voor rij %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Wijzig scrips welke betrekking hebben op alle rijen"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Wijzig sjabloon %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Wijzig sjablonen die van toepassing zijn op alle rijen"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Wijzig de groep %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Wijzig de toeschouwers van de rij"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Wijzig de gebruiker %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Wijzig ticket # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Wijzig ticket #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Wijzig tickets"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Wijzig gebruikersrechten voor specifiek veld %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Wijzig gebruikersrechten voor groep %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Wijzig gebruikersrechten voor rij %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Wijzig toeschouwers voor rij '%1'"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "WijzigACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "WijzigEigenLidmaatschap"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "WijzigRijToeschouwers"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "WijzigScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "WijzigZelf"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "WijzigSjabloon"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "WijzigTicket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Ma."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Meer over %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr ""
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr ""
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Meerdere"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Specificeren van 'Naam' attribuut verplicht"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "Mijn %1 tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Mijn Goedkeuringen"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Mijn goedkeuringen"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Mijn bewaarde zoekopdrachten"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Naam"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Naam in gebruik"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Goedkeuring benodigd van de systeem beheerder"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Nooit"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Nieuw"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nieuwe Relaties"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nieuw Wachtwoord"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Nieuwe Hangende Goedkeuring"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Nieuwe Zoekopdracht"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr ""
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nieuw wachtwoord"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Bericht voor nieuw wachtwoord verzonden"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Nieuwe rij"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Nieuw verzoek"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nieuwe rechten"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Nieuw scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Nieuwe zoekopdracht"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Nieuw sjabloon"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Nieuw ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Nieuw ticket bestaat niet"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Nieuwe gebruiker"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Nieuwe gebruiker genaamd"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Nieuwe toeschouwers"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Nieuwe venster instelling"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Volgende"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Volgende pagina"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Volgende pagina"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Bijnaam"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Bijnaam"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "Geen Klasse gedefinieerd"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Geen SpecifiekVeld"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Geen SpecifiekVeld gedefinieerd"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Geen Groep gedefinieerd"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Geen Zoekopdracht"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Geen Rij gedefinieerd"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Geen RT-gebruiker gevonden. Raadpleeg uw RT-beheerder.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Geen Sjabloon"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Geen ticket gespecificeerd. Ticket afgebroken "
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Geen ticket gespecificeerd. Ticket wijzigingen afgebroken\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Geen actie"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Geen kolom gespecificeerd"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Geen commando gevonden\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Geen commentaar ingevuld over deze gebruiker"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Geen correspondentie aangehecht"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Geen omschrijving voor %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Geen groep gespecificeerd"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Geen wachtwoord ingesteld"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Geen rechten om rijen te creëren"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Geen rechten om tickets te creëren in de rij '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Geen rechten om gebruikers te creëren"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Geen rechten om dat ticket te tonen"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Geen rechten om verversing ticket te bekijken"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Geen hoofd gespecificeerd"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Geen hoofden geselecteerd"
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Geen rijen gevonden die aan de zoekcriteria voldoen"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Geen rechten gevonden"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Geen rechten toegekend"
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Geen zoek opdracht om uit te voeren."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Geen onderwerp"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Geen ticket id gespecificeerd"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Geen transactie type gespecificeerd"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "Geen gebruiker of email-adres gespecificeerd"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Geen gebruikers gevonden die aan de zoekcriteria voldoen"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Geen geldige RT gebruiker gevonden. RT cvs behandelaar losgemaakt. Neemt u alstublieft contact op met uw RT beheerder.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Geen waarde gestuurd naar _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Niemand"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Nietbestaand veld?"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Niet aangemeld."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Niet gezet"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Nog niet geïmplementeerd."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Nog niet geïmplementeerd...."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Notities"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Bericht kon niet verstuurd worden"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Bericht AdminCcs"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Bericht AdminCcs als Commentaar"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Bericht Andere Ontvangers"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Bericht Andere Ontvangers als Commentaar"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Bericht Eigenaar"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Bericht Eigenaar als Commentaar"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Bericht Eigenaars en AdminCcs van nieuwe zaken welke hangende hun goedkeuring zijn"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Bericht Aanvragers"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Bericht Aanvragers en Ccs"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Bericht Aanvragers en Ccs als Commentaar"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Bericht Aanvragers, Ccs en AdminCcs"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Bericht Aanvragers, Ccs en AdminCcs als Commentaar"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "nov."
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Object kon niet gecreëerd worden"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Object gecreëerd"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "oct."
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "Bij"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Bij Commentaar"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Bij Overeenkomst"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Bij Creatie"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Bij Eigenaarwijziging"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr ""
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Bij Rijwijziging"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Bij Oplossing"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Bij Statuswijziging"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Bij Transactie"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Toon alleen goedkeuringen voor verzoeken gecreëerd na %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Toon alleen goedkeuringen voor verzoeken gecreëerd voor %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Open"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Open"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Open verzoeken"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Open tickets (van lijst) in een nieuw venster"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Open tickets (van lijst) in een ander venster"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Open ticket bij correspondentie"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Sorteer op"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Ordening en sortering"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organisatie"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Voortgekomen uit ticket: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Naar mate de tijd vordert, verschuift de prioriteit richting"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Eigen tickets"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "EigenTicket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Eigenaar"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Eigenaar veranderd van %1 naar %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Eigenaar gedwongen veranderd van %1 naar %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Eigenaar is"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Pagina %1 van %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Pieper"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Pieper"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Ouders"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Wachtwoord"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Wachtwoord Herinnering"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Wachtwoord te kort"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Wachtwoord: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr ""
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr ""
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Mensen"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Verricht een gebruiker gedefiniëerde actie"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Perl-configuratie"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Toestemming Geweigerd"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Persoonlijke Groepen"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Persoonlijke groepen"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Persoonlijke groepen:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Telefoonnummers"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Plaatshouder"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Voorkeuren"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Voorkeuren"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Bereid Plaatshouder Voor"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Vorige"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Vorige pagina"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Hoofd %1 niet gevonden."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioriteit"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Prioriteit begint bij"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Privacy:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Gerechtigd"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Gerechtigde status: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Gerechtigde gebruikers"
-
-#: NOT FOUND IN SOURCE
-msgid "Projects"
-msgstr "Projecten"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseudogroep voor intern gebruik"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr ""
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr ""
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Rij"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Rij %1 niet gevonden"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Rij '%1' niet gevonden\\n"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Rij Naam"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Rij Scrips"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Rij bestaat al"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Rij kon niet aangemaakt worden"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Rij kon niet geladen worden."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Rij aangemaakt"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Rij is niet gespecificeerd"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Rij niet gevonden"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Rijen"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr ""
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr ""
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 voor %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 van <a href=\"http://bestpractical.com/\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT Beheer"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "RT Authenticatie fout"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT Doorgestuurd: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "RT Configuratie fout"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "RT Kritieke fout: Bericht niet bewaard!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT Fout"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT Ontving mail (%1) van zichzelf."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT Zelfbediening / Afgesloten Tickets"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "RT Variabelen"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT in een oogopslag"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT kon u niet authenticeren"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT kon de verzoeker niet vinden in zijn interne database"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT kon de rij %1 niet vinden"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT kon deze PGP signatuur niet valideren. \\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT voor %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT voor %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT heeft uw commando's verwerkt"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  Het is gedistribueerd onder <a href=\"http://www.gnu.org/copyleft/gpl.html\">Versie 2 van de GNU General Public License.</a>""
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT denkt dat dit bericht onbestelbaar zou kunnen zijn"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT zal dit bericht verwerken als of het ongesigneerd is.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RT's email commando modus vereist PGP authenticatie.  Of u heeft uw bericht niet gesigneerd, of uw signatuur kon niet geverifieerd worden."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Echte Naam"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "EchteNaam"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Naar gerefeerd door"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Refereert aan"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Verfijn"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Verfijn Zoekopdracht"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Ververs deze pagina elke %1 minuten."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Verwijder AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Verwijder Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Verwijder Verzoeker"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Antwoord"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Antwoord naar adres"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Antwoord naar verzoekers"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Antwoord op tickets"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "AntwoordOpTicket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Verzoeker"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Verzoeker email adres"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Verzoeker(s)"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Verzoekers"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Verzoek is terug verwacht"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Verplichte parameter '%1' ontbreekt"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Herstel"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Woonplaats"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Los op"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Los ticket #%1 (%2) op"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Opgelost"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Antwoord aan verzoekers"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Resultaten"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Resultaten per pagina"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Geef wachtwoord opnieuw"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Herstel"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Recht %1 niet gevonden voor %2  %3 in bereik %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Recht Gedelegeerd"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Recht Toegekend"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Recht Geladen"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Recht kon niet afgenomen worden"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Recht niet gevonden"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Recht niet geladen"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Recht ingetrokken"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Rechten"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr ""
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Rollen"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "RootGoedkeuring"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr ""
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Za."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Bewaar"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Bewaarwijzigingen"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Bewaar wijzigingen"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Opgeslagen zoekopdrachten"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip aangemaakt"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Script verwijderd"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrips"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Scrips voor %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scrips welke betrekking hebben op alle rijen"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Zoek"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Zoek Criteria"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Searches can't be associated with that kind of object"
-msgstr "Zoekopdrachten kunnen niet met dat type object geassocieerd worden"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Veiligheid"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "ZieRij"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Selecteer een groep"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Selecteer een rij"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Selecteer een gebruiker"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr ""
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr ""
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr ""
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "SelecteerMeerdere"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "SelecteerEnkele"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Zelfbediening"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Stuurt mail naar alle toeschouwers"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Stuurt mail naar alle toeschouwers als een \"commentaar\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Stuurt mail naar alle verzoekers en Ccs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Stuurt mail naar alle verzoekers en Ccs als een \"commentaar\""
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Stuurt een bericht aan de verzoekers"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Stuurt mail aan expliciet genoemde Ccs en Bccs"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Stuurt mail aan de administratieve Ccs"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Stuurt mail aan de administratieve Ccs als een \"commentaar\""
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Stuurt mail aan de eigenaar"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep."
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Toon Resultaten"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Toon goedgekeurde verzoeken"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Toon beginselen"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Toon afgewezen verzoeken"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Toon details"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Toon hangende verzoeken"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Toon verzoeken die wachten op andere goedkeuringen"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Toon ticket privé commentaar"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Toon ticket samenvattingen"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "ToonACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "ToonUitgaandeEmail"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "ToonOpgeslagenZoekopdrachten"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "ToonScrips"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "ToonSjabloon"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "ToonTicket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "ToonTicketCommentaar"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Schrijf in als een ticket Verzoeker of ticket of rij Cc"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Schrijf in als een ticket of rij AdminCc"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Signatuur"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Enkel"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Sorteer sleutel"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Sorteer resultaten op"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "SorteerVolgorde"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Stadium"
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Is blijven steken"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Start pagina"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Gestart"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Startum '%1' kon niet ontleed worden"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Begint"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Begint op"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Begindatum '%1' kon niet ontleed worden"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Staat"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Status"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Status veranderd van %1 naar %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "StatusVerandering"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Steel"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Steel ticket"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "SteelTicket"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Gestolen van %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Gestolen van %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Onderwerp"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Onderwerp veranderd naar %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Registreer"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Registreer Workflow"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Gelukt"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Zo."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperGebruiker"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Systeem"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Systeemconfiguratie"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Systeem Fout"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Systeem fout. Recht niet gedelegeerd."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Systeem fout. Recht niet toegekend."
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "Systeem fout. Niet mogelijk om rechten toe te kennen"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Systeem groepen"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SysteemRolgroep voor intern gebruik"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Neem"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Neem ticket"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "NeemTicket"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Genomen"
-
-#: NOT FOUND IN SOURCE
-msgid "Task"
-msgstr "Taak"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Sjabloon"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr ""
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Sjabloon verwijderd"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Sjabloon niet gevonden"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Sjabloon niet gevonden\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Sjabloon ontleed"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Sjablonen"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Sjablonen voor %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Tekst"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Dat is al de huidige waarde"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Dat is geen waarde voor dit specifieke veld"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Dat is de zelfde waarde"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Dat hoofd heeft reeds dat recht"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Dat hoofd is reeds een %1 voor deze rij"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Dat hoofd is reeds een %1 voor dit ticket"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Dat hoofd is geen %1 voor deze rij"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Dat hoofd is geen %1 voor dit ticket"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Die rij bestaat niet"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Dat ticket heeft onopgeloste afhankelijkheden"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Die gebruiker heeft dat recht reeds"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Die gebruiker is al eigenaar van dat ticket"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Die gebruiker bestaat niet"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Die gebruiker is al gerechtigd"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Die gebruiker is reeds ontrechtigd"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Die gebruiker is nu gerechtigd"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Die gebruiker is nu ontrechtigd"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Die gebruiker mag geen eigenaar zijn van tickets in die rij"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Dat is niet een numeriek ID"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "De Beginselen"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "De CC van een ticket"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "De administratieve CC van een ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Het commentaar is bewaard"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Het volgende commando zal alle actieve tickets in de rij 'general' vinden en hun prioriteit op 99 zetten als ze meer dan 4 uur niet aangeraakt zijn:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "De volgende commando's zijn niet verwerkt:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "De waarde is gezet."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "De eigenaar van een ticket"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "De verzoeker van een ticket"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Dit commentaar is gewoonlijk niet zichtbaar voor de gebruiker"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "Dit specifieke veld is niet van toepassing op dat object"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Dit onderdeel is alleen beschikbaar voor systeembeheerders"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Dit bericht zal verstuurd worden aan..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Dit ticket %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Dit gereedschap stelt de gebruiker in staat arbitraire perl modules te gebruiken vanuit RT"
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Het lijkt erop alsof deze transactie geen inhoud heeft"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "De %1 tickets met hoogste prioriteit van deze gebruiker"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "De 25 hoogste prioriteit tickets van deze gebruiker"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Do."
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Ticket #%1 Jumbo actualisering: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Ticket #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Ticket %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Ticket %1 aangemaakt in rij '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Toclet %1 geladen\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Ticket %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Ticket-Specifieke Velden"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Ticket Historie # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Ticket Id"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Ticket Opgelost"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Ticket Transacties"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Ticket aanhechting"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Ticket inhoud"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Ticket inhoud type"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Ticket kong niet aangemaakt worden vanwege een interne fout"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Ticket aangemaakt"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Ticket aanmaken gefaald"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Ticket verwijderd"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Ticket id niet gevonden"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Ticket metagegevens"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Ticket niet gevonden"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Ticket status gewijzigd"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Ticket toeschouwers"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Tickets %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Tickets %1 door %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Tickets van %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Tickets welke afhankelijk zijn van deze goedkeuring"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Geschatte Tijd"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Tijd Over"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Tijd Gewerkt"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Tijd over"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Tijd om te tonen"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Tijd gewerkt"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "TijdOver"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "TijdGewerkt"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Om een diff van deze uitvoering te genereren:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "Om een diff van deze uitvoering te genereren:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "Voor vragen over support, training, bedrijfsspecifieke software-ontwikkeling of licentieovereenkomsten, gelieve contact op te nemen met %1."
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Verteld"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Hulpstukken"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transactie"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transactie %1 gezuiverd"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transactie Gecreëerd"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Transactie Specifieke Velden"
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Transactie->Creëer kon niet, aangezien u geen ticket id gespecificeerd heeft"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Transactie->Cre\91r kon niet aangezien er geen objectttype en -id gespecificeerd is"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transacties zijn onwijzigbaar"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Tracht een recht te verwijderen: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Di."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Type"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Niet geïmplementeerd"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Unix aanmelden"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "UnixGebruikersnaam"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Onbekende InhoudCodering %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Ongelimiteerd"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Onbenoemde zoekopdracht"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Ongerechtigd"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Vrij"
-
-#: NOT FOUND IN SOURCE
-msgid "Untitled search"
-msgstr "Naamloze zoekopdracht"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Ververs"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Ververs ID"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr ""
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Ververs Type"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Ververs al deze tickets in eens"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Ververs email"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Ververs meer dan \8e\8en ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Ververs naam"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Verversing niet opgeslagen."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Ververs geselecteerde tickets"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Ververs signatuur"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Ververs ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Ververs ticket # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Ververs ticket #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Ververs ticket #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Verversingstype was noch correspondentie, noch commentaar"
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Ververst"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr ""
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Gebruiker %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Gebruiker %1 Wachtwoord: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Gebruiker '%1' niet gevonden"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Gebruiker '%1' niet gevonden\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Gebruiker Gedifiniëerd"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "GebruikersID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Gebruiker Id"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Gebruikersrechten"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "De gebruiker vroeg om een onbekende aanpassing van specifiek veld %1 voor %2 object #%3"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Gebruiker kon niet aangemaakt worden: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Gebruiker aangemaakt"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Door gebruiker gedefiniëerde groepen"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Gebruiker opgehaald"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Gebruiker verwittigd"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Gebruikers aanzicht"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Door gebruiker gedefinieerde groepen"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Gebruikersnaam"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Gebruikers"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Gebruikers die voldoen aan de zoek criteria"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Geldige Zoekopdracht"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "WaardeVanRij"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Waarden"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Schouw toe"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "SchouwToeAlsAdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "Toeschouwer geladen"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Toeschouwers"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "WebCodering"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Wo."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Wanneer een ticket goedgekeurd is door alle goedkeurders, voeg correspondentie toe aan het orginele ticket"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Wanneer een ticket goedgekeurd is door een goedkeurder, voeg correspondentie toe aan het orginele ticket"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Wanneer een ticket is aangemaakt"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Wanneer een goedkeuringsticket is aangemaakts, verwittig de Eigenaar en de AdminCc van het onderwerp dat op hun goedkeuring wacht"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Wanneer iets gebeurt"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Wanneer een ticket is opgelost"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Wanneer de eigenaar van een ticket verandert"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Wanneer de rij van een ticket verandert"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Wanneer de status van een ticket verandert"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Wanneer een door de gebruiker gedifiniëerde voorwaarde gebeurt"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Wanneer commentaar binnenkomt"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Wanneer correspondentie binnenkomt"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Werk"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "WerkTelefoon"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Gewerkt"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "U bent al eigenaar van dit ticket"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "U bent geen geauthorizeerde gebruiker"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "U kunt alleen tickets opnieuw toebedelen die van u zijn, of van niemand"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "U heeft geen toestemming om dat ticket te bekijken"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "U vond %1 tickets in rij %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "U bent afgemeld bij RT"
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "U heeft geen toestemming om tickets aan te maken in die rij."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "U mag geen verzoeken aanmaken in die rij"
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "U mag zich weer aanmelden"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Uw %1 verzoeken"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Uw RT beheerder heeft de mail-aliasses welke RT aanroepen verkeerd geconfigureerd"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Uw verzoek is goedgekeurd door %1. Er zijn wellicht nog andere hangende goedkeuringen."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Uw verzoek is goedgekeurd."
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Uw verzoek was geweigerd."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Uw gebruikersnaam of wachtwoord zijn onjuist"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Postcode"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "zoals gegeven aan %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr ""
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "bevat"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "inhoud"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "inhoud-type"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "correspondentie (waarschijnlijk) niet verstuurd"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "correspondentie verstuurd"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "dagen"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "dood"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "verwijder"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "verwijderd"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "voldoet niet aan"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "bevat niet"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "gelijk aan"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "bestandsnaam"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "groter dan"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "groep '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "uren"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "id"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "is"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "is niet"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "minder dan"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "voldoet aan"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minuten"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "wijzigingen\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "maanden"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "nieuw"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr ""
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "geen"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "niet gelijk aan"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "open"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "persoonlijke groep '%1' voor gebruiker '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "rij %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "geweigerd"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "opgelost"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sec"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "bleef steken"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "systeem %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "systeem groep '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "het aanroepende component specificeerde niet waarom"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "ticket #%1 %2"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "onbeschreven groep %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "gebruiker %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "weken"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "met sjabloon %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "jaren"
-
diff --git a/rt/lib/RT/I18N/no.po b/rt/lib/RT/I18N/no.po
deleted file mode 100644 (file)
index 995ab78..0000000
+++ /dev/null
@@ -1,6147 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 3.0.11\n"
-"POT-Creation-Date: 2003-04-01 06:06+0200\n"
-"PO-Revision-Date: 2003-05-01 04:47+0200\n"
-"Last-Translator: Ronny Pettersen <ronny.pettersen@edb.com>\n"
-"Language-Team: RT Norwegian <rt@thefeed.no>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "#%1"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %3. %2 %7 %4:%5:%6"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 lagt til"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 siden"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 ble endret til %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 slettet"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 of group %3"
-msgstr "%1 %2 av gruppen %3"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 med mal %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 denne saken\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "%1 - %2 vist"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Et parameter til %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Viser statusoppdateringer til STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Oppgi kommandomodulen du ønsker å bruke"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Oppgi betingelsesmodulen du ønsker å bruke"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Oppgi søkemodulen du ønsker å bruke"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "%1 KommandoScript lastet"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 ble lagt til som verdi for %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1 alias trenger en ReferanseId å jobbe mot"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "%1 alias trenger en saksnummer å jobbe mot "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1 alias trenger et saksnummer å jobbe mot (fra %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 ser ut til å være et lokalt objekt, men kan ikke finnes i databasen"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 av %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 ble endret fra %2 til %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 kunne ikke settes til %2."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 kunne ikke starte en transaksjon (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 kunne ikke sette status til løst. RT-basen kan være inkonsistent."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "Mine %1 høyst prioriterte saker..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "Mine %1 høyst prioriterte forespørsler..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 er et verktøy for å behandle saker fra eksterne verktøy, slik som cron."
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 er ikke lenger en %2 for denne køen."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 er ikke lenger en %2 for denne saken."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 er ikke lenger en verdi for fleksifeltet %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 er ikke et gyldig saksnummer."
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 vises ikke"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 rettigheter"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 var velykket\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1 er ukjent type for $saksnummer"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1 er ukjent type for %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 ble opprettet uten en aktiv bruker\\n"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 vil løse alle medlemmer av en løst gruppesak."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 vil stoppe en [lokal] BASE hvis den er avhengig av/medlem av en tilkoblet sak."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: ingen vedlegg oppgitt"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' er en ugyldig statusverdi"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' er ikke en kjent handling"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(Merk for å slette gruppemedlem)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Merk for å slette Scrip)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Merk for å slette)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(Merk boksene for å slette)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Skriv inn referansenummer eller URler, separert med mellomrom)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Settes til standard %1 hvis blank)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(Ingen Verdi)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Ingen fleksifelt)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Ingen medlemmer)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Ingen scrips)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Ingen maler)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Sender en kopi av denne oppdateringen til en kommaseparert liste med epostaddresser. Endrer <b>ikke</b> hvem som vil motta fremtidige oppdatreinger.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Sender en kopi av denne oppdateringen til en kommaseparert liste med epostaddresser. Endrer <b>ikke</b> hvem som vil motta fremtidige oppdateringer.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Sender en kopi av denne oppdateringen til en kommaseparert liste av administrative epostaddresser. Disse vil <b>vil</b> motta fremtidige oppdateringer.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Sender en kopi av denne oppdateringen til en komma-separert liste av epostaddresser. Endrer <b>ikke</b> hvem som vil motta fremtidige oppdateringer.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Sender en kopi av denne oppdateringen til en kommaseparert liste med epost-addresser. Endrer <b->ikke</b> hvem som vi motta fremtige utfordrer dere nå."
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Sender en kopi av dette oppdateringen til en kommaseparert liste med epostaddresser. Disse <b>vill</b> motta fremtidige oppdateringer.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(tom)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(navn ikke oppgitt)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(ingen overskrift)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(ingen verdi)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr ""
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(bare en sak)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(Venter på godkjenning)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(venter på andre saker)"
-
-#: NOT FOUND IN SOURCE
-msgid "(requestor's group)"
-msgstr "(kundens gruppe)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(nødvendig)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(ingen tittel)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "Mine 25 høyst prioriterte saker..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "Mine 25 høyst priorterte forespørsler..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket-:Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Ny sak i\">&nbsp;%1"
-
-#: NOT FOUND IN SOURCE
-msgid "??????"
-msgstr "??????"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "En tom mal"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE slettet"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE lastet"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "ACE kunne ikke slettes"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "fant ikke ACE"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE ikke funnet"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACEr kan bare opprettes og slettes."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Avbryter for å ungå uånsket saksendring"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Om meg"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Aksesskontroll"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Handling"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Handling %1 finnes ikke"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Handling skrevet."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Handling forberedt"
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr ""
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Legg til AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Legg til Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr ""
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Legg til flere filer"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Next State"
-msgstr "Legg til neste status"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Legg til kunde"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Legg til verdi"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip to this queue"
-msgstr "Legg til Scrip i denne køen"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip which will apply to all queues"
-msgstr "Legg til et Scrip som gjelder for alle køer"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a keyword selection to this queue"
-msgstr "Legg til et nøkkelordvalg på denne køen"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Legg til et globalt Scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Legg til et Scrip til denne køen"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Legg til et Scrip som vil gjelde for alle køer"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr ""
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Legg til kommentarer eller svar til denne saken"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Legg til medlemmer"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Legg til overvåkere"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "AddNextState"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "La til primær som en %1 for denne køen"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "La til primær som en %1 for denne saken"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Adresse1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Adresse2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Admin Kommentar"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Admin-korrespondanse"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Adminkøer"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Adminbrukere"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Admin/Global konfigurasjon"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Admin/Grupper"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Admin/Køer/Grunnleggende"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "AdminAllePersonalGrupper"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "AdminKommentar"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "AdminKorrespondanse"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "AdminFleksifelt"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "AdminGruppe"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "AdminGruppeMedlemskap"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "AdminEgnePersonligeGrupper"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "AdminKø"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "AdminBrukere"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Administrativ Cc"
-
-#: NOT FOUND IN SOURCE
-msgid "Admins"
-msgstr "Admin"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Avansert Søk"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Etter"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Alder"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Alias"
-msgstr "Alias"
-
-#: NOT FOUND IN SOURCE
-msgid "Alias for"
-msgstr "Alias for"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Alle Fleksifelt"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Alle køer"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Send alltid en melding til kunden uavhengig av meldingssender"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr ""
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Godkjennelse"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Godkjennelse #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Godkjenning # %1: Notater kunne ikke lagres pga. systemfeil"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Godkjenning #%1: Notater lagret"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Godkjenning - Detaljer"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr ""
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Godkjenningsdiagram"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Godkjenn"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Godkjenners notater: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Apr."
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "April"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Stigende"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Legg Ved"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Legg ved fil"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Vedlagt fil"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Vedlegg '%1' kunne ikke lastes"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Vedlegg opprettet"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Vedleggsnavn"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Vedlegg"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr ""
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Aug."
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "August"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "AutSystem"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Autosvar"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Autosvar Til Kunde"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "AutosvarTilKunde"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Ugyldig PGP-signatur: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Ugyldig vedleggsid. Kunne ikke finne vedlegg '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Ugyldig data i %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Ugyldig transaksjonsnummer for vedlegg. %1 skulle vært %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Detaljer"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Sørg for å lagre endringene dine"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Før"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Begynn Godkjenning"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Blank"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "URL som kan brukes som bokmerke for dette søket"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Begrens headere"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Masseoppdatering av saker"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Kan ikke endre systembrukere"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Kan denne primæren se denne køen"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Kan ikke legge til en verdi for et fleksifelt uten navn"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Kan ikke koble en sak til seg selv"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Kan ikke flette inn i en flettet sak. Denne meldingen bør ikke forekomme"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr ""
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Kan ikke spesifisere både base og mål."
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Kunne ikke oprette bruker: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Endre passord"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Merk for å slette"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Merk for å trekke tilbake rettighet"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Barn"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "By"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Lukket"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "Lukkede Saker"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Lukkede forespørsler"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Lukkede saker"
-
-#: NOT FOUND IN SOURCE
-msgid "Code"
-msgstr "Kode"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Kunne ikke tolke kommando!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Kommenter"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Kommentaraddresse"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Kommentaren ble ikke lagret"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Kommenter saker"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "KommenterSak"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Kommentarer"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Kommentarer (Ikke send til kunder)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Kommentarer (ikke sendt til kunder)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Kommentarer til %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Kommentarer om denne brukeren"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "La til kommentarer "
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Lagring forkortet"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Kompilatorrestriksjoner"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Forutsetning"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Forutsetning gjelder..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Forutsetning ikke funnet"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Konfigurasjon"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Bekreft"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "KontaktInfoSystem"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Kontatdato '%1' kunne ikke tolkes"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Innhold"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "Kunne ikke opprette gruppen"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr ""
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Korrespondanse"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Korrespondanseaddresse"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Korrespondanse lagt til"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Korrespondansen ble ikke lagret"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Kunne ikke legge til nye fleksifeltverdier for saken. "
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "Kunne ikke legge til nye fleksifeltverdier for saken. %1 "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Kunne ikke endre eier. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Kunne ikke opprette fleksifelt"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Kunne ikke opprette gruppe"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Kunne ikke opprette mal: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Kunne ikke opprette sak. Kø ikke satt"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Kunne ikke opprette bruker"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "Kunne ikke opprette overvåker for kunde"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Kunne ikke finne en sak med id %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Kunne ikke finne gruppen %1."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Kunne ikke finne eller lage den brukeren"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Kunne ikke finne den primæren"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Kunne ikke finne brukeren %1."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Kunne ikke hente gruppen"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Kunne ikke sette den primæren som %1 for denne køen"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Kunne ikke sette den primæren som %1 for denne saken"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Kunne ikke fjerne den primæren som %1 for denne køen"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Knne ikke fjære den primæren som %1 for denne saken"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Kunne ikke legge til medlemmmer i gruppen"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Kunne ikke opprette en transaksjon: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Kunne ikke tolke gpgs svar\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Kunne ikke finne gruppen\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Kunne ikke finne raden"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Kunne ikke finne primæren"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Kunne ikke finne verdien"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "Kunne ikke finne den overvåkern"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Kunne ikke finne bruker\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Kunne ikke laste %1 fra brukerdatabasen.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "Kunne ikke laste NøkkelordValg."
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Kunne ikke laste RTs konfigurasjonsfil '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Kunne ikke laste Scripsene."
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Kunne ikke laste gruppen %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Kunne ikke laste linken"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr ""
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Kunne ikke laste køen"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Kunne ikke laste køen %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Kunne ikke laste scripet"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Kunne ikke finne mal"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Kunne ikke laste den brukeren (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Kunne ikke laste saken '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Land"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Opprett"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Opprett Saker"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Oprett et fleksifelt"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Opprett et fleksifelt for køen %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Opprett et fleksifelt for alle køer"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Opprett et nytt fleksifelt"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global Scrip"
-msgstr "Opprett et globalt Scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Opprett et nytt globalt scrip"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Opprett en ny gruppe"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Opprett en ny personlig gruppe"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Opprett en ny kø"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Opprett et nytt scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Opprett en ny mal"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Opprett en ny sak"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Opprett en ny bruker"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Opprett en ny kø"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Opprett en kø kalt"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Opprett en forespørsel"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Opprett et scrip for køen %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Opprett en mal"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Opprett en sak"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Opprettelse feilet: %1 / %2 / %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "Opprettelse feilet: %1/%2/%3"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Opprett nye saker basert på dette scripets mal"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Opprett sak"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Opprett saker i denne køen"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Opprett, slett og modifiser fleksifelt"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Opprett, slett og endre køer"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Opprett, slett og modifiser medlemmene av en brukers personlige grupper"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Opprett, slett og modifiser medlemmene av personlige grupper"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Opprett, slett og modifiser brukere"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "OpprettSak"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Opprettet"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Opprettet Fleksifelt %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Opprettet malen %1"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr ""
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Eksisterende Forhold"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Eksisterende Scrips"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Eksisterende medlemmer"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Eksisterende rettigheter"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Eksisterende søkekriterier"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Eksisterende overvåkere"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Fleksifeltet #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Fleksifelt"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Avsluttningskode"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Forberedelseskode"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Forutsetning"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Fleksifeltet %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Fleksifeltet %1 har en verdi."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Fleksifeltet %1 har ingen verdi."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Fleksifeltet %1 kunne ikke finnes"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Fleksifeltet slettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Fleksifeltet kunne ikke finnes"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Verdien %1 for fleksifeltet %2 kunne ikke finnes"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Fleksifeltets verdi endret fra %1 til %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Fleksifeltets verdi kunne ikke slettes"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Fleksifeltets verdi kunne ikke finnes"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Fleksifeltverdi slettet"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "FleksiFelt"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "Datafeil"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Datoer"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Des."
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "Desember"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Standard Autosvarmal"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Standard Autosvarmal"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr ""
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr ""
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Standard Adminkommentarmal"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Standard Adminkorrespondensemal"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Standard korrespondensemal"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Standard transaksjonsmal"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Standard: %1/%2 endret seg fra %3 til %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Deleger rettigheter"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Deleger spesifikke rettigheter som har blitt gitt til deg."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "DelegerRettigheter"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Delegering"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Slett"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Slett saker"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "SlettSak"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Sletting av dette objektet kan føre til inkonsistens"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Sletting av dette objektet vil føre til inkonsistens"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Sletting av dette objektet ville føre til inkonsistens"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "Sletting av dette objektet ville føre til inkonsisistens."
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "Sletting av dette objektet ville føre til inkonsistens. Det er uheldig."
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Nekt"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Avhengighet fra"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Avhengigheter: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Avhengig av"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "AvhengigAv"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Synkende"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Beskriv problemet under"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Beskrivelse"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Detaljer"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Vis"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Vis Rettigheter"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Vis Scrip-maler for denne køen"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Vis Scrip-maler for denne køen"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Visningsmodus"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Vis saken #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Gjør hva som helst"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Ikke last denne siden på nytt"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Ikke vis søkeresultat"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Last ned"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Innen"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Innendato '%1' kunne ikke tolkes"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "FEIL: Kunne ikke laste sak '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Rediger"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Conditions"
-msgstr "Rediger Forhold"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Rediger fleksifelt for %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Rediger Forhold"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr ""
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Rediger Maler for køen %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "Rediger nøkkelord"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Rediger scrips"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Rediger systemmal"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Rediger maler for %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Rediger Konfigurasjon for køen %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Redigerer Konfigurasjonen av brukern %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Redigerer Fleksifeltet %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Redigerer medlemsskap for gruppen %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Redigerer medlemsskap for den personlige gruppen %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Redigerer malen %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Enten base eller mål må oppgis"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Epost"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Epostaddresse i bruk"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "EpostAddresse"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "EpostFormat"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Aktivt (Fjern merkingen for å deaktivere dette fleksifeltet)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Aktiv (Fjern merkingen for å deaktivere denne gruppen)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Aktiv (Fjern merkingen for å deaktivere denne køen)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Aktive Fleksifelt"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Aktive Køer"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Aktiv status %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Skriv multiple verdier"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Skriv en verdi"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Skriv saker og/eller URIer som det skal linkes til. Separer dem med mellomrom"
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Feil"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "Feilet ved opprettelse av Overvåker"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Feil i parameterne til Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Feil i parameterne til Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Feil i parameterne til Ticket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Feil i parameterne til Ticket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr ""
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr ""
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Alle"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Eksempel:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "EksternAutId"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "EksternKontaktInfoId"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Ekstra info"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Kunne ikke finne pseudogruppen 'Privilgerte' brukere."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Kunne ikke finne 'pseudogruppen 'Upriviligerte' brukere"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Kunne ikke laste modulen %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Feb."
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "Februar"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "End"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Endelig Prioritet"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "EndeligPrioritet"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Finn grupper hvor"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Finn nye/åpne saker"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Finn folk hvor"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Finn saker"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Fullfør godkjennelse"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Først"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Første side"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Tving gjennom endring"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Fant %quant(%1) sak(er)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Fant Objektet"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FriforkKontaktInfo"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "FriformMultipel"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "FriformSingel"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Fre."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Fulle headere"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Henter brukerinfo fra pgp signatur\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Gitt til %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Global"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Global Keyword Selections"
-msgstr "Globale Nøkkelordvalg"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Globale Scrip"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Globale maler: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr ""
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Start!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Gyldig pgp sig fra %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Gå til siden"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Gå til saken"
-
-#: NOT FOUND IN SOURCE
-msgid "Grand"
-msgstr "Stor"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Gruppe"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Gruppen %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Grupperettigheter"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Alt medlem av gruppen"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "Gruppen kunne ikke lastes."
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Gruppen kunne ikke opprettes: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Gruppen opprettet"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Gruppen har ikke det medlemmet"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Fant ikke gruppen"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Fant ikke gruppen.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Ikke spesifisert gruppe.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Grupper"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Grupper kan ikke være medlemmer av sine medlemmer"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Hallo!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Hallo, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historikk"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "HjemmeTelefon"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Hjemmeside"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Jeg har %quant(%1, sementblandere)."
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "Jeg har [quant,_1,sementblandere]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Id"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identitet"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Hvis en godkjenner blir avvist, avvis orginalen, og slett ventende godkjenninger"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr ""
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr ""
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Hvis dette verktøyet var setgid kunne en fiendtlig lokal bruker bruke dette verktøyet for å oppnå administrativ tilgang til RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Hvis du har oppdatert noe over, sørg for at"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Ugyldig verdig for %1"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Låst felt"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Inkluder deaktiverte fleksifelt i listen."
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr ""
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Inkluder deaktiverte køer i listen."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Inkluder deaktiverte brukere i søket."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Startprioritet"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "StartPrioritet"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Feil i inntasting"
-
-#: NOT FOUND IN SOURCE
-msgid "Interest noted"
-msgstr "Interesse registrert"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Intern Feil"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Intern Feil: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Ugyldig gruppetype"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Ugyldige rettigheter"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Ugyldig Type"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Ugyldig data"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Ugydlig eier. Setter til 'nobody'."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Ugyldig kø"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Ugyldige rettigheter"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Ugyldig verdi for %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Ugyldig verdi for fleksifeltet."
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Ugyldig verdi for status"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Det er ekstremt viktig at ikkepriviligerte brukere ikke har tilgang til dette verktøyet."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Det er anbefalt at du oppretter en upriviligert unixbruker med korrekt gruppemedlemsskap og tilgang til RT for Â kjøre dette verktøyet."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Det tar flere parametere:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Ting som venter på min godkjenning"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Jan."
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "Januar"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Bli med i eller forlat denne gruppen"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul."
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "Juli"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Total"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun."
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "Juni"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Nøkkelord"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Språk"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Siste"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Siste Kontakt"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Sist kontaktet"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Sist Informert"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Sist Oppdatert"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "SistOppdatert"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Igjen"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "La denne brukeren få tilgang til RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "La denne brukeren få rettigheter"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Begrenser eier til %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Begrenser køen til %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Lenke finnes alt"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Lenke kunne ikke opprettes"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Lenke opprettet (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Lenke slettet (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Lenke ble ikke funnet"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Knytt sak #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "Knytt sak %1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Lenker"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Lokasjon"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Logkatalogen %1 ble ikke funnet eller kunne ikke skrives til.\\nRT kan ikke kjøre."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Logget inn som %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Innlogging"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Logg av"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Sett Eier"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Sett Status"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "msgstr "Sett tidsfrist" "
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Sett løsningsdato"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Sett startdato"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Sett startdato"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Sett informert dato"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Sett prioritet"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Sett Kø"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Sett Emne"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Sett grupper og gruppemedlemsskap"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Rediger egenskaper og konfigurasjon som gjelder for alle køer"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Rediger køer og kø-spesifike egenskaper"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Rediger brukere og passord"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "Mars"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "Mai"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Mai."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Medlem lagt til"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Medlem slettet"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Medlem ikke slettet"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Medlem av"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "MedlemAv"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Medlemmer"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Fletting vellykket"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Fletting feilet. Kunne ikke sette EffektivId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Flett inn i"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr ""
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Melding"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Mangler en primærnøkkel?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Mobil"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "MobilTelefon"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Endre Tilgangslister"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Endre Fleksifeltet %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Endre Fleksifelt som gjelder for alle køer"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr ""
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Endre Scripmaler for denne køen"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Endre Scrips for denne køen"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "Endre SystemACLer"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Endre Malen %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Endre et fleksifelt for køen %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Endre et fleksifelt som gjelder for alle køer"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Endre et scrip for køen %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Endre et scrip som gjelder for alle køer"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "Endre datoer for # %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Endre datoer for #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Endre datoer for sak # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Endre globale grupperettigheter"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Endre globale grupperettigheter"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "Endre globale rettigheter for grupper"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "Endre globale rettigheter for brukere"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Endre globale scrips"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Endre globale brukerrettigheter"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Endre globale brukerrettigheter"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Endre gruppens metadata eller slette gruppen"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Endre grupperettigheter for %1 gruppen"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Endre grupperettigheter %1 køen"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Endre medlemsliste for denne gruppen"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Endre sin egen RT konto"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Endre hvem som er relatert til %1 køen"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Endre hvem som er relater til sak #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Endre scrips for %1 køen"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Endre scrips som gjelder alle køer"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Endre mal %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Endre maler som gjelder for alle køer"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Endre gruppen %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Endre overvåkere for køen"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Endre brukeren %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Endre sak # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Endre sak #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Endre saker"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Endre brukerrettigheter for %1 gruppen"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Endre brukerrettigheter for %1 køen"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Endre overvåkere for '%1' køen"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "EndreACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "EndreEgetMedlemskap"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "EndreKøOvervåkere"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "EndreScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "EndreSegSelv"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "EndreMal"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "EndreSak"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Man."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Mer om %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Flytt ned"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Flytt opp"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Flere"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Må spesifisere attributten 'Navn'"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "Mine %1 saker"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Mine saker til godkjenning"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Mine saker til godkjenning"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Navn"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Navnet er i bruk"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Trenger godkjennelse fra systemadministrator"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Aldri"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Ny"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nye forhold"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nytt Passord"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Ny, Venter på Godkjennelse"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Nytt Søk"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Nytt fleksifelt"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Ny gruppe"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nytt passord"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Melding om nytt passord sendt"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Ny kø"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Ny forespørsel"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nye rettigheter"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Nytt scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Nytt søk"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Ny mal"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Ny sak"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Ny sak eksistere ikke"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Ny bruker"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Ny bruker kalt"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Ny overvåker"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Instillinger for nytt vindu"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Neste"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Neste side"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "KalleNavn"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Kallenavn"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Ingen FleksiFelt"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Ingen grupper definert"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Ingen kø definert"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Ingen RT bruker funnet. Vennligst referer til manualen.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Ingen Mal"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Ingen sak oppgitt. Avbryter sak "
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Ingen Sak oppgitt. Avbryter saksendring\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Ingen handling"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Ingen kolonne spesifisert"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Ingen kommando funnet\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Ingen kommentar skrevet om denne brukeren"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Ingen korrespondanse vedlagt"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Ingen beskrivelse for %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Ingen gruppe spesifisert"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Passordet er ikke satt"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Ingen tilgang til å opprette køer"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Ikke tilgang til å opprette saker for køen '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Ikke tilgang til å opprette brukere"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Ikke tilgang til å vise den saken"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Ingen tilgang til å se oppdatering av saken"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Ingen primær spesifisert"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Ingen primære spesifisert"
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Det er ingen køer som matcher søkekriteriet"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Ingen rettigheter funnet"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Ingen rettigheter tildelt"
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Ingen søk å behandle"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Ingen saksid oppgitt"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Transaksjonstype ikke spesifisert"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "Ingen bruker eller epostaddresse oppgitt"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Fant ingen brukere som treffer søkekriteriene."
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Fant ingen gyldig RT bruker. RT cvs handler avstengt. Kontakt din RT administrator.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Ingen verdi sendt til _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Ingen"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Ukjent felt?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Ikke logget inn"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Ikke logget inn."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Ikke satt"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Ikke implementert enda."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Ikke implementert enda...."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Notater"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Melding kunne ikke sendes"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Raporter til AdminCc"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Rapporter til AdminCc som kommentar"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Rapporter til andre mottakere"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Rapporter til andre mottakere som kommentar"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Rapporter til eier"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Rapportert til eier som kommentar"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Rapporter til Eiere og AdminCc om nye ting som venter på godkjenning"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Rapporter til kunde"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Rapporter til Kunder og Cc"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Rapporter til Kunder og Cc som kommentar"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Rapporter til Kunder Cc og AdminCc"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Rapporter til Kunder Cc og AdminCc som Kommentar"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov."
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "November"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Objekter kunne ikke opprettes"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objektet ble opprettet"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Okt."
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "Oktober"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "Ved"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Ved Kommentar"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Ved Korrespondanse"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Ved Opprettelse"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Ved Eierskifte"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr ""
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Ved Køendring"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Ved Løsning"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Ved statusendring"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Ved Transaksjon"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Vis kun godkjennelse for saker opprettet etter %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Bare vis godkjennelse for saker opprettet før %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Åpne"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Åpne den"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Åpne forespørsler"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Åpne saker"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Åpne saker (fra utlisting) i et nytt vindu"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Åpne saker (fra utlisting) it et annet vinud"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Åpne saker ved korrespondanse"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Rekkefølge og sortering"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organisasjon"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Opprinnelig sak: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Over tid beveger prioriteten seg mot"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Eie saker"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "EieSak"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Eier"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Eier endret fra %1 til %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Eier ble tvunget til å endres fra %1 til %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Eier er"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Personsøker"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "PersonSøker"
-
-#: NOT FOUND IN SOURCE
-msgid "Parent"
-msgstr "Forelder"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Foreldre"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Passord"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Passordhint"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "For kort passord"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Passord: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Passordene stemmer ikke overens."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Passordene stemmer ikke overrens. Passordet ble ikke endret"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Personer"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Kjør en brukerdefinert handling"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Ingen Tilgang"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Personlige Grupper"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Personlige grupper"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Personlige grupper:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Telefonnummer"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Stedholder"
-
-#: NOT FOUND IN SOURCE
-msgid "Pref"
-msgstr "Pref"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Instillinger"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Pref"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Klargjør Forkortet"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Forrige"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Forrige side"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Primær %1 ikke funnet."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioritet"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Prioritet starter på"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr ""
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Priviligert"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Priviligert status: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Priviligerte brukere"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Pseduogruppe for intern bruk"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr ""
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr ""
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Kø"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Køen %1 kunne ikke finnes"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Køen '%1' ikke funnet\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Keyword Selections"
-msgstr "Nøkkelordvalg for kø"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Kønavn"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Køscrip"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Køen eksisterer allerede"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Køen kunne ikke opprettes"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Køen kunne ikke lastes."
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Køen opprettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Køen er ikke oppgitt."
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Køen ikke funnet"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Køer"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Raskt søk"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr ""
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 for %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 fra <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT-administrasjon"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "RT Autentiseringsfeil."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT Avvisning: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "RT Konfigurasjonsfeil"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "Kritisk RT feil. Meldingen ble ikke lagret!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT Feil"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT Mottok mail (%1) fra seg selv."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "RT Mottok mail (%1) fra seg selv."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT Selvbetjening / Lukkede Saker"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr ""
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT oversikt"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT kunne ikke autentisere deg"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT kunne ikke finne kunde via sitt eksterne databaseoppslag"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT kunne ikke finne køen: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "msgstr "RT kunne ikke validere denne PGP signaturen. \\n" "
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT for %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT for %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT har behandlet dine kommandoer"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT er &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;. Den er distribuert under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT er &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;. Den er distribuert under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT tror denne meldingen kan være en returmail"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT vil behandle denne meldingen som om den var usignert"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RT's epost kommandomodus krever PGP autentisering. Meldingen din var enten ikke signert, eller signaturen din kunne ikke bekreftes."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Ekte Navn"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "EkteNavn"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Referert til av"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Refererer til"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "RefererTil"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Redefiner"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Redefiner søket"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Last siden på nytt hvert %1 minutt."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Fjern AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Fjern Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Fjern Kunde"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Svar"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr ""
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Svar på sak"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "SvarPåSak"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Kunde"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Kundens epostaddresse"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Kunde(r)"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "KundeAddresser"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Kunder"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Forespørsler skal være behandlet innen"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr ""
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Reset"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Hjemme"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Løs"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Løs saknr #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Løst"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Svar til kunder"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Resultater"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Resultater per side"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Skriv Passord igjen"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Rettighet %1 kunne ikke finnes for %2  %3 in scope %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Rettighet Deligert"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Rettighet Tildelt"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Rettighet lastet"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Rettigheten kunne ikke trekkes tilbake"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Rettighet ikke funnet"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Rettighet ikke lastet."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Rettighet fjernet"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Rettigheter"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Rettigheter kunne ikke tildeles for %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Rettigheter kunne ikke trekkes tilbake for %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Roller"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "RootGodkjenning"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr ""
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Lør."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr ""
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Lagre Endringer"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Lage endringer"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr ""
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip Opprettet"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip slettet"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Scrip for %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scrip som gjelder for alle køer"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Søk"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Søkekriteria"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Søk etter godkjenninger"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Sikkerhet:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "SeKø"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Velg en gruppe"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Velg en kø"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Velg en bruker"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Velg fleksifelt"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Velg gruppe"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Velg flere verdier"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Velg en verdi"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Velg kø"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Velg scrip"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Velg mal"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Velg bruker"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "VelgFlere"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "VelgEnkelt"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Selvbetjening"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Send epost til alle overvåkere"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Send epost til alle overvåkere som \"kommentar\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Send epost til kunder og Cc"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Send epost til kunder og Cc som kommentar"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Sender en melding til kundene"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Send epost til eksplisit oppgitte Ccer og Bccer"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Send epost til Administrative Ccer"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Sender epost til de administrative Ccene som kommentar"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Sender epost til eieren"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Sep."
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "September"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Vis Resultater"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Vis godkjente forespørsler"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Vis basisinfo"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Vis avviste forespørsler"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Vis detaljer"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Vis ventende forespørsler"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Vis forespørsler som venter på andre godkjenninger"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Vis sakens private kommentarer"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Vis sakssammendrag"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "VisACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "VisScrip"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "VisMal"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "VisSak"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "VisSaksKommentarer"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Meld deg på som saksforespørrer eller sak/kø Cc"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Meld deg på som sak/kø AdminCc"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Signatur"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Logget inn som %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Enkel"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Dropp Meny"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Sorter"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Sorter nøkkel"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Sorter resultater etter"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "SorteringsRekkefølge"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Pauset"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Startside"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Startet"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Startdato '%1' kunne ikke tolkes"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Starter"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Starter Etter"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Startdato '%1' kunne ikke tolkes"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Stat"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Status"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Statusendring"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Status endret fra %1 til %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "EndreStatus"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Stjel"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Stjålet fra %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Stjålet fra %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Emne"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Endre emne til %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Oppdater"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Send Arbeidsflyt"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Lykkes"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Søn."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperBruker"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "System"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Systemfeil"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "Systemfeil. Rettighet ikke tildelt."
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "Systemfeil. rettigheter ikke tildelt"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Systemfeil. Rettighet ikke tildelt."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Systemfeil. Rettighet ikke tildelt."
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "Systemfeil. Kunne ikke tildele rettigheter."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Systemgrupper"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SystemRollegruppe for intern bruk"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRENG"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Ta"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Tatt"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Mal"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Mal #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Mal slettet"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Kunne ikke finne mal"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Kunne ikke finne mal\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Mal tolket"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Maler"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Maler for %1\\n"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Verdien er allerede satt"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Det er ikke en verdi for dette fleksifeltet"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Det er den samme verdien"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Den primæren har allerede den rettigheten"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Den primæren er allerede en %1 for denne køen"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Den primæren er allerede en %1 for denne køen"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Den primæren er ikke en %1 for denne køen"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Den primæren er ikke en %1 for denne saken"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Den køen eksisterer ikke"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Denne saken har uløste avhengigheter"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Den brukeren har allerede den rettigheten"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Den brukeren eier allerede den saken"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Den brukeren finnes ikke"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Den brukeren er allerede priviligert"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Den brukeren er allerede upriviligert"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Denne brukeren er nå priviligert"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Dette brukeren er nå upriviligert"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "Den brukeren er allerede upriviligert"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Den brukeren kan ikke eie saker i den køen"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Dette er ikke en numerisk id"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Detaljer"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "CCen til en sak"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "Administrative CCer for en sak"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Kommentarer er lagret"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "De følgende kommandoene vil finne alle aktive saker i køen 'general' og sette deres prioritet til 99 hvis de ikke har blitt rørt de siste 4 timene:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "De følgende kommandoene ble ikke behandlet:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Den nye verdien har blitt satt."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Eieren av en sak"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Forespørren av en sak"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Disse kommentarene er generelt ikke synlig for brukeren"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Denne saken %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Dette verktøyet tillater brukeren  å kjøre perlmoduler fra inni RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Denne transaksjonen ser ikke ut til å ha noe innhold"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Denne brukerens %1 høyst prioriterte saker"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "Denne brukerens 23 høys prioriterte saker"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Tor."
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket"
-msgstr "Sak"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Sak # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "Sak $ %1 Jumbo oppdater: %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Sak #%1 Jumbo oppdatering: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Sak #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Sak %1 opprettet i '%2' køen"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Sak %1 lastet\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Sak %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr ""
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Sakshistorikk # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "SaksId"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Løst Sak"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Saks-vedlegg"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Saks-innhold"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Sakens innholdstype"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Saken kunne ikke opprettes på grunn av en intern feil"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Sak opprettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Saksopprettelse feilet"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Sak slettet"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Saksid ikke funnet"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "Sak drept"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Sak ikke funnet"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Saksstatus endret"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Saksovervåkere"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Saker"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Saker %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Saker %1 av %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Saker fra %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Saker som er avhengige av denne godkjennelsen:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Tid Igjen"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Arbeidstid"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Tid igjen"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Tid å vise"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Arbeidstid"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "TidIgjen"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "ArbeidsTid"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "For å generere en diff av denne bekreftelsen:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "For å genere en diff av denne bekreftelsen"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Fortalt"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr ""
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transaksjon"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transaksjon %1 slettet"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transaksjon Opprettet"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Transaction->Create kunne ikke, siden du ikke spesifiserte en saksid"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transaksjoner er låst"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Prøver å slette en rettighet: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Tir."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Type"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Uimplementert"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Unix login"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "UnixBrukerNavn"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Ukjent InnholdsFormatering %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Ubegrenset"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr ""
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Upriviligert"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Ikke tatt"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Oppdater"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Oppdater ID"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr ""
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Oppdater Type"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Oppdater alle disse sakene samtidig"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Oppdater epost"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Oppdater navn"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Oppdatering ikke lagret."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Oppdater valgte saker"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Oppdater signatur"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Oppdater sak"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Ooppdater sak # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Oppdater sak #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Oppdater sak #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Oppdateringstype var verken korrespondanse eller kommentar."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Oppdatert"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr ""
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Bruker %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Bruker %1 Passord: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Brukeren '%1' ble ikke funnet"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Brukeren '%1' ble ikke funnet"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Bruker Definert"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "BrukerID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "BrukerId"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Brukerrettigheter"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Bruker kunne ikke opprettes: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Bruker opprettet"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Brukerdefinerte grupper"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Bruker informert"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Brukervisning"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Brukernavn"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Brukere"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Brukere som treffer søkekriteria"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "KøVerdi"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Verdier"
-
-#: NOT FOUND IN SOURCE
-msgid "VrijevormEnkele"
-msgstr "VrijevormEnkele"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Overvåk"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "OvervåkSomAdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "Overvåker lastet"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Overvåkere"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "WebFormatering"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Ons."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Når en sak har blitt godkjent av alle godkjennere, legg til korrespondanse for den opprinnelige saken"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Når en sak har blitt godkjent av en godkjenner, legg til korrespondanse til den orginale saken"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Når er sak er opprettet"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Når er godkjennelsessak blir opprettet, gi melding til Eier og AdminCc om saken som venter på deres godkjenning"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Når noe skjer"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Når en sak er løst"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Når en sak får ny eier"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Når en sak flyttes til en ny kø"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Når en saks status endres"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Når brukerdefinerte forhold intreffer"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Når kommentarer kommer inn"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Når korrespondanse kommer inn"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Arbeid"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "ArbeidsTelefon"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Arbeidet"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Du eier allerede denne saken"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Du er ikke en autorisert bruker"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Du kan bare omfordele saker som du eier eller som ikke har en eier"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "Du har ikke tilgang til å se den saken.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Du fant %1 saker i %2 køen"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr ""
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Du har ikke tilgang til å opprette saker i den køen."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Du kan ikke opprette forespørsler i den køen."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Velkommen tilbake"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Dine %1 forespørsler"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Din RT administrastor har feilkonfigurert mail aliasene som kaller RT"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Din forespørsel har blitt godkjent av %1. Andre godkjennelser avventer kanskje fortsatt"
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Din forespørsel ble godkjent."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Din forespørsel ble avvist"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Din forespørsel ble avvist"
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Ditt brukernavn/passord er ugyldig"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Zip"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[ikke noe emne]"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "som tildelt til %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "lukket"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "inneholder"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "innhold"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "innholdstype"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "korrespondanse (sansynligvis) ikke sendt"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "korrespondanse sendt"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "dager"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "død"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "slett"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "slettet"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "treffer ikke"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "inneholder ikke"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "lik som"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "usant"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "filnavn"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "større enn"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "gruppe '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "timer"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "id"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "er"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "er ikke"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "mindre enn"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "treffer"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minutter"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "endringer\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "måneder"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "ny"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "ingen verdi"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "ingen"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "ikke lik som"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "ikkelik"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "åpen"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "personlig gruppe '%1' for bruker '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "kø %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "avvist"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "løst"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sek"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "pauset"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "system %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "systemgruppe '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "den kallende komponenten oppga ikke hvorfor"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "sak #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "sant"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "ubeskrevet gruppe %1"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "ubeskrevet gruppe %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "bruker %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "uker"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "med malen %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "år"
-
diff --git a/rt/lib/RT/I18N/pl.po b/rt/lib/RT/I18N/pl.po
deleted file mode 100644 (file)
index 3faa4ec..0000000
+++ /dev/null
@@ -1,6436 +0,0 @@
-# Copyright (c) 2002 Jesse Vincent <jesse@bestpractical.com>
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 3.2.2\n"
-"POT-Creation-Date: 2007-01-18 11:36+0800\n"
-"PO-Revision-Date: 2005-01-18 02:00+0800\n"
-"Last-Translator: Piotr Śliwa <piotr.sliwa@comarch.pl>\n"
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "Nr"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 nr%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %3 %2 %7, %4:%5:%6"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 zostały dodane"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "przed %1 %2"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 zostało zamienione na %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 zostało usunięte"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 of group %3"
-msgstr "%1 %2 z groupy %3"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 wg szablonu %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 tego zgłoszenia\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) przez %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (Niezmienione)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "wyświetlone %1 - %2"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - warunek przejścia na %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Status wyjściowy zaktualizowany na STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Określ moduł działań, którego chcesz użyć"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Określ moduł warunków, którego chcesz użyć"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Określ moduł wyszukiwania, którego chcesz użyć"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr "%1 RT %2 Wszelkie prawa zastrzeżone 1996-%3 %4"
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "Skrypt %1 został załadowany"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "dodano %1 jako wartość dla %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "do określenia aliasów dla %1 wymagany numer zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "do określenia aliasów dla %1 wymagany numer zgłoszenia "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "do określenia aliasów dla %1 wymagany numer zgłoszenia (od %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "Wydaje się, że %1 to obiekt lokalny, ale nie udało się wyszukać go w bazie danych"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 przez %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 zmieniło się z %2 na %3"
-
-# Nie jestem pewien!
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "kopia %1"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "nie udało się ustawić %1 na %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 nie udało się rozpocząć transakcji (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 nie udało się ustawić statusu na zamknięty. Baza danych RT może być niespójna"
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "%1 crĂŠĂŠ(e)"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "%1 supprimĂŠ(e)"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "%1 zgłoszeń o najwyższym priorytecie, których jestem właścicielem"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "%1 zgłoszeń o najwyższym priorytecie, których właścicielem jest użytkownik..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 zgłoszeń o najwyższym priorytecie zarejestrowanych przez użytkownika..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 jest narzędziem umożliwiającym obsługę zgłoszeń z zewnętrznej aplikacji do sporządzania wykazów, takiej jak cron."
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 nie jest już %2 dla tej kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 nie jest już %2 dla tego zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 nie jest już wartością pola %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 nie jest aktualnie obowiązującym Id kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 matches"
-msgstr "%1 pasuje"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 most recently updated articles"
-msgstr "%1 ostatnio zaktualizowanych artykułów"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 newest articles"
-msgstr "%1 najnowszych artykułów"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "%1 zgłoszeń bez właściciela"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 nie zostało wyświetlone"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 objets"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 - uprawnienia"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 udało się"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1 to nieznany typ Id wiadomości ($MessageId)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1 to nieznany typ dla %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 a ĂŠtĂŠ crĂŠĂŠ sans utilisateur courant\\n"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 zamknie wszystkie części zamykanego zgłoszenia grupowego."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 zamknie bazę lokalną, jeśli jest powiązana z podłączonym zgłoszeniem (lub jest jego częścią)"
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "Zapisane zapytania %1"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: nie określono załącznika"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' to nieprawidłowa wartość statusu"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' n'est pas une action connue. "
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(Zaznacz pole, aby usunąć element z grupy)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Zaznacz pole, aby usunąć skrypt)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Zaznacz pole, aby usunąć)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(Zaznacz pola, aby usunąć)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Zaznacz pola przy odbiorcach na liście, aby zablokować wysyłanie powiadomień)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Zaznacz pola przy odbiorcach na liście, aby uruchomić wysyłanie powiadomień)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Wprowadź numery lub adresy URL zgłoszeń, oddzielone spacjami)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Enter ticket ids or URLs, seperated with spaces)"
-msgstr "(Wprowadź numery lub adresy URL zgłoszeń, oddzielone spacjami)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Jeśli pozostawisz puste, domyślnie zostanie ustawione na %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(Non renseignĂŠ)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Brak pól definiowanych przez użytkownika)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Brak członków grupy)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Brak skryptów)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Brak szablonów)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(Aucun)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Wysyła kopię zgłoszenia na listę adresów mailowych oddzielonych przecinkami, umieszczonych w polu BCC.<b> Nie zmienia</b> tego, kto będzie otrzymywał informacje o stanie zgłoszenia)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Wysyła kopię zgłoszenia na listę adresów mailowych oddzielonych przecinkami, umieszczonych w polu BCC. <b>Nie zmienia</b> tego, kto będzie otrzymywał informacje o stanie zgłoszenia)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Wysyła kopię zgłoszenia na listę administracyjnych adresów mailowych oddzielonych przecinkami. Te osoby <b> będą</b> otrzymywać informacje o stanie zgłoszenia)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Wysyła kopię zgłoszenia na listę adresów mailowych oddzielonych przecinkami. <b>Nie</b> zmienia tego, kto będzie otrzymywał informacje o stanie zgłoszenia)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Wysyła kopię zgłoszenia na listę adresów mailowych oddzielonych przecinkami. <b>Nie</b> zmienia tego, kto będzie otrzymywał informacje o stanie zgłoszenia)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Wysyła kopię zgłoszenia na listę adresów mailowych oddzielonych przecinkami. Te osoby <b>będą</b> otrzymywać informacje o stanie zgłoszenia)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(Skorzystaj z tych pól jeśli wybrano 'Definiowany przez użytkownika' w atrybutach warunku lub operacji)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(pusta)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no Summary)"
-msgstr "(brak streszczenia)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(brak listy użytkowników)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no name)"
-msgstr "(brak nazwy)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(brak tematu)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(brak wartości)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(aucune valeur)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(tylko jedno zgłoszenie)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(oczekuje na zatwierdzenie)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(oczekuje na inną Kolekcję)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(oczekuje na inne zgłoszenia)"
-
-#: NOT FOUND IN SOURCE
-msgid "(requestor's group)"
-msgstr "(groupe du demandeur)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(wymagana)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(nienazwany)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "25 zgłoszeń o najwyższym priorytecie, których właścicielem jest użytkownik..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "25 zgłoszeń o najwyższym priorytecie zarejestrowanych przez użytkownika..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Nowe zgłoszenie w\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Pusty szablon"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE SupprimĂŠ"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE ChargĂŠ"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "l'ACE n'a pu ĂŞtre supprimĂŠ"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "l'ACE n'a pu ĂŞtre trouvĂŠ"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "Nie udało się odnaleźć ACE"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACE mogą być tylko utworzone lub usunięte."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Przerwanie operacji, aby uniknąć niezamierzonych modyfikacji zgłoszenia.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Użytkownika"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Kontrola dostępu"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Operacja"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Operacja %1 nie została odnaleziona"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Operacja została zatwierdzona"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Operacja została przygotowana..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Dodaj"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Dodaj AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Dodaj Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Dodaj kryterium"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Dodaj więcej plików"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Next State"
-msgstr "Ajouter ĂŠtape suivant"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Dodaj zgłaszającego"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Dodaj wartość"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a keyword selection to this queue"
-msgstr "Ajouter une sĂŠlection de mots clĂŠ Ă  cette queue"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Dodaj nowy skrypt globalny"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Dodaj skrypt dla tej kolejki"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Dodaj skrypt, który będzie dotyczył wszystkich kolejek"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "Dodaj kolejne kryterium"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Dodaj komentarze lub odpowiedzi do wybranych zgłoszeń"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Dodaj członków grupy"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Dodaj nowych obserwatorów"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "Dodaj następny status"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Został dodany zarządzający %1 dla tej kolejki"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Został dodany zarządzający %1 dla tego zgłoszenia"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Adres 1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Adres 2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Administracja komentarzami"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Administracja korespondencją"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Administracja kolejkami"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Administracja użytkownikami"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Globalna konfiguracja - administracja"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Grupy - administracja"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Administracja kolejkami . podstawowe informacje"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "AdminAllPersonalGroups"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "AdminComment"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "AdminCorrespondence"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "AdminPolamiUżytk"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "AdminCustomFields"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "AdminGroup"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "AdminGroupMembership"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "AdminOwnPersonalGroups"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "AdminQueue"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "AdminUsers"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Administracyjne Cc"
-
-#: NOT FOUND IN SOURCE
-msgid "Admins"
-msgstr "Administrateurs"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Zaawansowane"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Wyszukiwanie zaawansowane"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search Criteria"
-msgstr "Kryteria wyszukiwania zaawansowanego"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "po"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Wiek"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Alias for"
-msgstr "Alias pour"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Wszystkie warunki poprawności spełnione"
-
-#: NOT FOUND IN SOURCE
-msgid "All Classes"
-msgstr "Wszystkie klasy"
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Wszystkie pola definiowane przez użytkownika"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Wszystkie kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Zawsze wysyła wiadomość do zgłaszających niezależnie od nadawcy wiadomości"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "S'applique Ă "
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Zastosuj"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Zastosuj zmiany"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Potwierdzenia"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Potwierdzenie #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Potwierdzenie #%1: Uwagi nie zostały zapisane z powodu błędu systemu"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Potwierdzenie #%1: Uwagi zostały zapisane"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Szczegóły zatwierdzenia"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Zatwierdzone"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Odrzucone"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Diagram potwierdzenia"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Zatwierdź"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Uwagi zatwierdzającego: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Kwi."
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "Kwiecień"
-
-#: NOT FOUND IN SOURCE
-msgid "Are you sure you want to delete this article?"
-msgstr "Czy jestes pewien, że chcesz usunąć ten artykuł?"
-
-#: NOT FOUND IN SOURCE
-msgid "Article #%1 deleted"
-msgstr "Artykuł #%1 został usunięty"
-
-#: NOT FOUND IN SOURCE
-msgid "Article #%1: %2"
-msgstr "Artykuł #%1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Article not found"
-msgstr "Artykuł nie został odnaleziony"
-
-#: NOT FOUND IN SOURCE
-msgid "Articles"
-msgstr "Artykuły"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Rosnąco"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Fixer et supprimer les champs personnalisĂŠs"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "FixerChampsPersonnalisĂŠs"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Załączniki"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Załącz plik"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Plik został załączony"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Nie udało się dodać załącznika '%1'"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Załącznik został utworzony"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Nazwa pliku załącznika"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Załączniki"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Atrybut usunięty"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Sie."
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "Sierpień"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "AuthSystem"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Automatyczna odpowiedź"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Automatyczna odpowiedź wysyłana do zgłaszających"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "Automatyczna odpowiedź wysyłana do zgłaszających"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Columns"
-msgstr "Dostępne kolumny"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Niewłaściwy podpis PGP: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Niewłaściwy numer id załącznika. Nie udało się wyszukać załącznika '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Niewłaściwe dane w %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Niewłaściwy numer transakcji dla załącznika. %1 należy zastąpić przez %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Podst. informacje"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Pamiętaj, aby zapisać zmiany"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "przed"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Rozpocznij zatwierdzanie"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "Binaire"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Pusty"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "Adres URL do zapamiętania dla tego wyszukiwania"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "URL do zapamiętania"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Krótkie nagłówki"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Hurtowa aktualizacja zgłoszeń"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Nie można zmienić użytkowników systemu"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Czy ten zarządzający widzi tę kolejkę"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Nie można wprowadzić wartości pola bez nazwy"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Nie można połączyć zgłoszenia z tym samym zgłoszeniem"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Niemożliwe połączenie w jedno zgłoszenie"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Niemożliwe jest zapisanie tego zapytania"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Niemożliwe określenie jednocześnie podstaw i celu"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Niemożliwe utworzenie użytkownika: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Zmień hasło"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Tout vĂŠrifier"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Zaznacz pole, aby usunąć"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Zaznacz pole, aby odebrać uprawnienie"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Zgłoszenia podrzędne"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Miasto"
-
-#: NOT FOUND IN SOURCE
-msgid "Class"
-msgstr "Klasa"
-
-#: NOT FOUND IN SOURCE
-msgid "Class Name"
-msgstr "Nazwa klasy"
-
-#: NOT FOUND IN SOURCE
-msgid "Class is"
-msgstr "Klasą jest"
-
-#: NOT FOUND IN SOURCE
-msgid "Classes"
-msgstr "Klasy"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Tout effacer"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Zamknięte"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "Zamknięte zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Demandes closes"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Zamknięte zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Niezrozumiałe polecenie!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Komentuj"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Adres komentarza"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Komentarz nie został zapisany"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Komentarz do zgłoszeń"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "CommentOnTicket"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Komentarze"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Komentarze (które nie zostaną wysłane zgłaszającym)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Komentarze (które nie zostały wysłane zgłaszającym)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Komentarze dotyczące %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Uwagi dotyczące użytkownika"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Komentarze zostały dodane"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "Potwierdzenie wysłane do zgłaszającego"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Ograniczenia kompilacji"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Warunek"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Warunek zgadza się z ..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Warunek nie został odnaleziony"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Konfiguracja"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Potwierdź"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "ContactInfoSystem"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Nie udało się rozpoznać daty modyfikacji'%1'"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Zawartość"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "Typ zawartości"
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "Le groupe n'a pas pu ĂŞtre crĂŠĂŠ"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Kopiuj"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Korespondencja"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Adres korespondencyjny"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Korespondencja została dodana"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Korespondencja nie została zapisana"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Nie udało się wprowadzić nowej wartości pola dla zgłoszenia."
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "La valeur de champ personnalisĂŠ n'a pas pu ĂŞtre ajoutĂŠe. %1"
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Nie udało się zmienić właściciela."
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Nie udało się utworzyć pola definiowanego przez użytkownika"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Nie udało się utworzyć grupy"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Nie udało się utworzyć szablonu: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Nie udało się utworzyć zgłoszenia. Nie określono kolejki"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Nie udało się utworzyć użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "L'observateur n'a pas pu ĂŞtre crĂŠe pour le demandeur"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Nie udało się wyszukać zgłoszenia o numerze %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Nie udało się wyszukać grupy %1."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Nie udało się wyszukać ani utworzyć tego użytkownika"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Nie udało się wyszukać tego zarządzającego"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Nie udało się wyszukać użytkownika %1."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Impossible de charger le champ personnalisĂŠ %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Nie udało się załadować grupy"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Nie udało się przypisać tego zarządzającego jako %1 dla tej kolejki"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Nie udało się przypisać tego zarządzającego jako %1 dla tego zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Nie udało się usunąć tego zarządzającego jako %1 dla tej kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Nie udało się usunąć tego zarządzającego jako %1 dla tego zgłoszenia"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Niemożliwe było zapisanie danych użytkownika"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Nie udało się dodać nowego członka grupy"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Nie udało się utworzyć transakcji: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Nie udało się ustalić, co zrobić na podstawie odpowiedzi z gpg\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Nie udało się wyszukać grupy\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Nie udało się wyszukać wiersza"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Nie udało się wyszukać tego zarządzającego"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Nie udało się wyszukać tej wartości"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "L'observateur n'a pas pu ĂŞtre trouvĂŠ"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Nie udało się wyszukać użytkownika\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Nie udało się załadować %1 z bazy użytkowników.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "Nie udało się załadować klasy %1"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "Nie udało się załadować pola %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "KeywordSelects n'a pas pu ĂŞtre chargĂŠ"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Nie udało się załadować pliku konfiguracji RT '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Nie udało się załadować skryptów"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Nie udało się załadować grupy %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Nie udało się załadować połączenia"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Impossible de charger l'objet %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Nie udało się załadować kolejki"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr " Nie udało się załadować kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Nie udało się załadować skryptu"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Nie udało się załadować szablonu"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Nie udało się załadować użytkownika (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Nie udało się załadować zgłoszenia '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Kraj"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Utwórz"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Utwórz zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a Class"
-msgstr "Utwórz klasę"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Utwórz pole definiowane przez użytkownika"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Utwórz pole dla kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Utwórz pole, które dotyczy wszystkich kolejek"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Utwórz nowe pole definiowane przez użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new article"
-msgstr "Utwórz nowy artykuł"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Utwórz nowy skrypt globalny"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Utwórz nową grupę"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Utwórz nową grupę prywatną"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Utwórz nową kolejkę"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Utwórz nowy skrypt"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Utwórz nowy szablon"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Utwórz nowe zgłoszenie"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Utwórz nowego użytkownika"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Utwórz kolejkę"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Utwórz kolejkę nazwaną"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Utwórz zgłoszenie"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Utwórz skrypt dla kolejki %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Utwórz szablon"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Utwórz zgłoszenie"
-
-#: NOT FOUND IN SOURCE
-msgid "Create an article"
-msgstr "Utwórz artykuł"
-
-#: NOT FOUND IN SOURCE
-msgid "Create an article in class..."
-msgstr "Utwórz artykuł w ramach klasy..."
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Echec Ă  la crĂŠation de: %1 / %2 / %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "Echec Ă  la crĂŠation de: %1/%2/%3"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Utwórz nowe zgłoszenia na podstawie szablonu tego skryptu"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Utwórz zgłoszenie"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Utwórz zgłoszenia w tej kolejce"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Utwórz, usuń i zmodyfikuj pola def. przez użytkownika"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Utwórz, usuń i zmodyfikuj kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Utwórz, usuń i zmodyfikuj członków którejś z prywatnych grup użytkownika"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr " Utwórz, usuń i zmodyfikuj członków prywatnych grup"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Utwórz, usuń i zmodyfikuj użytkowników"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "CreateTicket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Zarejestrowane"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Pole %1 zostało utworzone"
-
-#: NOT FOUND IN SOURCE
-msgid "Created by"
-msgstr "Utworzony przez"
-
-#: NOT FOUND IN SOURCE
-msgid "Created during"
-msgstr "Utworzony podczas"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Szablon %1 został utworzony"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Zgłaszający"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Aktualne powiązania"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Relationships"
-msgstr "Aktualne powiązania"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Aktualne skrypty"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Aktualni członkowie"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Aktualne uprawnienia"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Aktualne kryteria wyszukiwania"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Aktualni obserwatorzy"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Pole def. przez użytkownika #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Pola def. przez użytkownika"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Champs personnalisĂŠs pour %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Treść procedury czyszczenia definiowana przez użytkownika"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Treść procedury definiowana przez użytkownika"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Warunek definiowany przez użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Pole definiowane przez użytkownika %1 %2 %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 does not apply to this object"
-msgstr "Le champ personnalisĂŠ %1 ne s'applique pas Ă  cet objet"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Pole %1 definiowane przez użytkownika ma wartość."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Brak wartości w polu %1 definiowanym przez użytkownika."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Nie udało się wyszukać pola %1 definiowanego przez użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Pole definiowane przez użytkownika zostało usunięte"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Nie udało się wyszukać pola definiowanego przez użytkownika"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Nie udało się wyszukać wartości %1 dla pola %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Wartość pola zmieniła się z %1 na %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Nie można usunąć wartości pola"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Nie udało się wyszukać wartości pola"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Wartość pola została usunięta"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "Pole"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "Erreur de donnĂŠes"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Daty"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Gru."
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "Grudzień"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Domyślnie wybierany szablon odpowiedzi wysyłanej automatycznie"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Domyślnie wybierany szablon odpowiedzi wysyłanej automatycznie"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Domyślna kolejka"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Domyślny zgłaszający"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Domyślnie wybierany szablon komentarza administratora"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Domyślnie wybierany szablon korespondencji administratora"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Domyślnie wybierany szablon korespondencji"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Domyślnie wybierany szablon transakcji"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Domyślnie: %1/%2 zmieniane z \"%3\" na \"%4\""
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Przekaż uprawnienia"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Przekaż specyficzne uprawnienia, które zostały Ci przyznane"
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "DelegateRights"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Przekazywanie uprawnień"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Usuń"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Usuń szablon"
-
-#: NOT FOUND IN SOURCE
-msgid "Delete article #%1"
-msgstr "Usuń artykuł #%1"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Usuń zaznaczone skrypty"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Usuń zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "DeleteTicket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Usunięcie tego obiektu mogło spowodować brak spójności"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Usunięcie tego obiektu spowoduje brak spójności"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Usunięcie tego obiektu naruszy spójność"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "Effacer cet objet violerait l'intĂŠgritĂŠ rĂŠfĂŠrentielle"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "Effacer cet objet violerait l'intĂŠgritĂŠ rĂŠfĂŠrentielle, c'est serait facheux!"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Odrzucić"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Zgłoszenia zależne"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Zależności"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Zależność %1 dodana"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Zależność %1 usunięta"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Zależność od %1 dodana"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Zależność od %1 usunięta"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Zależy od"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "ZależyOd"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Malejąco"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Opis zgłoszenia"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Opis"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Szczegóły"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Wyświetl"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Wyświetl Listę Praw Dostępu"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Wybierz kolumny"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Wyświetl szablony skryptów dla tej kolejki"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Wyświetl skrypty dla tej kolejki"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Tryb wyświetlania"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Wyświetl zgłoszenie #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "Rozpowszechniane na mocy wersji 2 licencji GNU GPL <a href=\"http://www.gnu.org/copyleft/gpl.html\">."
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Zrób cokolwiek i wszystko"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Nie odświeżaj tej strony."
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Nie wyświetlaj wyników wyszukiwania"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Pobierz "
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "TĂŠlĂŠcharger en tant que fichier dĂŠlimitĂŠ par tabulations"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Termin realizacji"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Termin realizacji '%1' nie może być rozpoznany"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "BŁĄD: Nie udało się załadować zgłoszenia: '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Edytuj"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Conditions"
-msgstr "Modifier les conditions"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Edytuj pola dla kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Custom Fields for Class %1"
-msgstr "Edytuj pola dla klasy %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Edytuj powiązania"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Zmodyfikuj zapytanie"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Relationships"
-msgstr "Edytuj powiązania"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Edytuj szablony kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "Modifier les mots clĂ"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Edytuj skrypty"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Edytuj szablony systemowe"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Edytuj szablony dla %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "EdytujZapisaneZapytania"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for Class %1"
-msgstr "Edytuj konfigurację klasy %1"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Edytuj konfigurację kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Edytuj konfigurację użytkownika %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Edytuj pole %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Edytuj listę członków grupy %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Edytuj listę członków prywatnej grupy %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Edytuj szablon %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Podstawy lub cel muszą być określone"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "e-mail"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Używany adres e-mail "
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "adres e-mail"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "kodowanie e-maila"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled (Unchecking this box disables this Class)"
-msgstr "Udostępniona (nieoznaczenie tego pola spowoduje, że klasa będzie niedostępna)"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Udostępnione (nieoznaczenie tego pola spowoduje, że pole będzie niedostępne)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Udostępniona (nieoznaczenie tego pola spowoduje, że grupa będzie niedostępna)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Udostępniona (nieoznaczenie tego pola spowoduje, że kolejka będzie niedostępna)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Classes"
-msgstr "Dostępne klasy"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Dostępne pola definiowane przez użytkownika"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Dostępne kolejki"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Dostępny status %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "Statut actif: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Enter Articles or URIs to link Articles to. Seperate multiple entries with spaces."
-msgstr "Aby powiązać artykuły, wprowadź artykuły lub URI oddzielone spacjami."
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Wprowadzanie wielu wartości"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Aby powiązać obiekty, wprowadź URI obiektów oddzielone spacjami."
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Wprowadzanie jednej wartości"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Aby powiązać kolejki, wprowadź URI kolejek oddzielone spacjamii."
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Aby powiązać zgłoszenia, wprowadź numery zgłoszeń lub URI oddzielone spacjami."
-
-#: NOT FOUND IN SOURCE
-msgid "Enter tickets or URIs to link tickets to. Seperate multiple entries with spaces."
-msgstr "Aby powiązać zgłoszenia, wprowadź numery zgłoszeń lub URI oddzielone spacjami."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Saisir %1 valeurs maximum"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Błąd"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "Erreur Ă  l'ajout de l'observateur"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Błąd w określeniu parametrów kolejki->Dodaj Obserwatora"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Błąd w określeniu parametrów kolejki -> Usuń Obserwatora"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Błąd w określeniu parametrów kolejki -> Usuń Obserwatora"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Błąd w określeniu parametrów zgłoszenia -> Dodaj Obserwatora"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr " Błąd w określeniu parametrów zgłoszenia -> Usuń Obserwatora"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Błąd w określeniu parametrów Zgłoszenia-> Usuń Obserwatora"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Eskaluj zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Estimate"
-msgstr "Estimer"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Szacowane"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Wszyscy"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Przykład:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "Zewnętrzne AuthId"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "ExternalContactInfoId"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Informacje dodatkowe"
-
-#: NOT FOUND IN SOURCE
-msgid "Extract article from ticket #%1"
-msgstr "Wydziel artykuł ze zgłoszenia #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Extract article from ticket #%1 into class %2"
-msgstr "Wydziel artykuł ze zgłoszenia #%1 w klasie %2"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Nie udało się wyszukać członków grupy 'Uprawnieni'"
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Nie udało się wyszukać członków grupy 'Nieuprawnieni'"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Nie udało się załadować modułu %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Lut."
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "Luty"
-
-# Nie jestem pewien: jedno słowo!
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Nazwa pliku"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "Saisir dans plusieurs champs de type texte"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "Saisir dans un champ de type texte"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "Saisir dans %1 champs de type texte maximum"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Koniec"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Końcowy priorytet"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "Końcowy priorytet"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Wyszukaj grupę, której"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Trouver les groupes dont"
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Wyszykaj nowe/otwarte zgłoszenia"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Wyszukaj użytkowników, których"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Wyszukaj zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Zakończ zatwierdzanie"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Pierwsze"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Pierwsza strona"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Ble ble"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "ble ble"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Wymuś zmianę"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Wyszukano %1 zgłoszeń"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Wyszukany obiekt"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "FormulaireLibre"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FreeformContactInfo"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "FreeformMultiple"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "FreeformSingle"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Pt."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Pełne nagłówki"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Pobierz szablon z pliku"
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Uzyskanie aktualnego użytkownika na podstawie podpisu pgp\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Nadany dla %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Globalna"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Champs personnalisĂŠs globaux"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Keyword Selections"
-msgstr "Mots clĂŠ globaux"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Skrypty globalne"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Szablon globalny: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Pobierz"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Start!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Poprawny podpis pgp dla %1\\n "
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Przejdź do strony"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Przejdź do zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Grand"
-msgstr "Accorder"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Grupa"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Grupa %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Uprawnienia grupowe"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Grupa ma już członka"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "Le groupe n'a pas pu ĂŞtre crĂŠĂŠ"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Nie udało się utworzyć grupy: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Grupa została utworzona"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "Nie ma takiego członka grupy"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Nie udało się wyszukać grupy"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Nie udało się wyszukać grupy.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Grupa nie została określona.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Grupy"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Nie można przypisac grup jako członków tych grup"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "Groupes correspondant au critère de recherche"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "Cette utilisateur appartient aux groupes"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Witaj!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Witaj, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Historia"
-
-#: NOT FOUND IN SOURCE
-msgid "History for article #%1"
-msgstr "Historia artykułu #%1"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "Historique du groupe %1"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "Historique de l'utilisateur %1"
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "Tel. domowy"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Start"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Posiadam %quant(%1,concrete mixer)."
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "I have [quant,_1,concrete mixer]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Nr "
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identyfikacja użytkownika"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Jeśli potwierdzenie zostało odrzucone, odrzuć oryginał i usuń oczekujące potwierdzenia"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "Jeśli zgłaszający nie został określony, twórz zgłoszenia dla tego użytkownika."
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Jeśli kolejka nie została określona, twórz zgłoszenia w tej kolejce."
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Jeśli ta aplikacja została zachwiana, obcy lokalny użytkownik mógł używać tej aplikacji, aby uzyskać do RT dostęp na prawach administratora"
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Jeśli zmodyfikowałeś coś powyżej"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Niedopuszczalna wartość dla %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Image"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Pole, które nie może być powielane"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled classes in listing."
-msgstr "Uwzględnij na liście nieaktywne klasy"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Uwzględnij na liście nieaktywne pola."
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Uwzględnij na liście nieaktywne grupy."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Uwzględnij na liście nieaktywne kolejki."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Uwzględnij w wyszukiwaniu nieaktywnych użytkowników."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Początkowy priorytet"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "Początkowy priorytet"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Błąd na wejściu"
-
-#: NOT FOUND IN SOURCE
-msgid "Interest noted"
-msgstr "Votre intĂŠret est notĂŠ"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Błąd wewnętrzny"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Błąd wewnętrzny: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Nieprawidłowy typ grupy"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Nieprawidłowe uprawnienie"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Type invalide"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Nieprawidłowe dane"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Nieprawidłowy właściciel. Domyślnie 'nikt'"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Nieprawidłowa kolejka"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Nieprawidłowe uprawnienie"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Nieprawidłowa wartość dla %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Nieprawidłowa wartość pola"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Nieprawidłowy status"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Bardzo ważne, aby nieuprawnieni użytkownicy nie posiadali uprawnień do uruchomienia tej aplikacji."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Sugeruje się, aby utworzyć nieuprawnionego użytkownika w odpowiedniej grupie o odpowiednim dostępie do RT, aby uruchomić tę aplikację"
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Wymaga kilku argumentów:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Pozycje oczekujące na moje zatwierdzenie"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Sty."
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "Styczeń"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Dołącz albo opuść tę grupę"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Lip."
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "Lipiec"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Wszystko"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Cze."
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "Czerwiec"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Słowo kluczowe"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Język"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Język"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Ostatnie"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Ostatnia modyfikacja"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Ostatnio modyfikowane"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Ostatnio powiadomiony"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Ostatnio zaktualizowane"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "OstAktualiz"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "OstAktPrzez"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Pozostały"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Udostępnij temu użytkownikowi RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Przydziel uprawnienia temu użytkownikowi"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Ograniczenie właściciela do %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Ograniczenie kolejki do %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Połączenie już istnieje"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Nie udało się utworzyć połączenia"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Połączenie zostało utworzone (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Połączenie zostało usunięte (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Połączenie nie zostało odnalezione"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Powiąż zgłoszenie #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "Lier au ticket %1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Powiązania"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Załaduj"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Załaduj zapisane zapytanie:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Załadowane moduły PERL"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Lokalizacja"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Ścieżka logowania %1 nie została odnaleziona lub nie mógła być zapisana.\\n Nie udało się uruchomić RT"
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Zalogowano jako %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Zaloguj się"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Wyloguj się"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "Faire attention aux types diffĂŠrents"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Wprowadź właściciela"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Wprowadź status"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Wprowadź termin realizacji"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Wprowadź datę zamknięcia"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Wprowadź datę rozpoczęcia realizacji"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Wprowadź datę rozpoczęcia realizacji"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Wprowadź datę wpływu"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Wprowadź priorytet"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Wprowadź kolejkę"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Wprowadź temat"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "GĂŠrer les champs personnalisĂŠs et leur valeurs"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Administracja grupami i członkami grup"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Administracja właściwościami i konfiguracją, które dotyczą wszystkich kolejek"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Administracja kolejkami i specyficznymi właściwościami kolejek"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Administracja użytkownikami i hasłami"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "Marzec"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "Maj"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Maj"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Członek %1 dodany"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Członek %1 usunięty"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Członek grupy został dodany"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Członek grupy został usunięty"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Członek grupy nie został usunięty"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Członek grupy"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "CzłonekGrupy"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Członkowie grup"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Członkowstwo w %1 dodane"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Członkowstwo w %1 usunięte"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Affiliations"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "Affiliations de l'utilisateur %1"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Udało się połączyć"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Nie udało się połączyć. Nie udało się ustawić efektywnego Id"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Połączyć w"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Połączono z %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Wiadomość"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "Wiadomość nie mogła zostać zapisana"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Wiadomość zapisana"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "Powiadomienie o tym zgłoszeniu nie zostanie wysłane do..."
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Brakujący klucz główny?: %1:"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Tel. komórkowy"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "Tel. komórkowy"
-
-#: NOT FOUND IN SOURCE
-msgid "Modified"
-msgstr "Zmieniony"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify"
-msgstr "Zmodyfikuj"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Modyfikuj Listę Praw Dostępu"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Modyfikuj pole %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Modifier les champs personnalisĂŠs qui s'appliquent Ă  tous les %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Modyfikuj pola, które dotyczą wszystkich kolejek"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Zmodyfikuj uprawnienia grup"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Modyfikuj Członków"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Zapisz uprawnienia"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Modyfikuj szablony skryptów dla tej kolejki"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Modyfikuj skrypty dla tej kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "Modifier ACLs système"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Modyfikuj szablon %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Zmodyfikuj uprawnienia użytkowników"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Modyfikuj pole dla kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Modyfikuj pole, które dotyczy wszystkich kolejek"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Modyfikuj skrypt dla kolejki %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Modyfikuj skrypt, który dotyczy wszystkich kolejek"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify article #%1"
-msgstr "Modyfikuj artykuł #%1"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Modifier les objets associĂŠs Ă  %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "Modifier les dates pur n°%1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Modyfikuj daty dla #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Modyfikuj daty dla zgłoszenia # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Modyfikuj globalne uprawnienia grupowe"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Modyfikuj globalne uprawnienia grupowe"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "Modifier les droits globaux des groupes"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "Modifier les droits globaux des utilisateurs"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Modyfikuj globalne skrypty"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Modyfikuj globalne uprawnienia użytkowników"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Modyfikuj globalne uprawnienia użytkowników."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Modyfikuj grupowe dane pośrednie lub usuń grupę"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Modyfikuj uprawnienia grupowe dla pola %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Modyfikuj uprawnienia grupowe dla grupy %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Modyfikuj uprawnienia grupowe dla kolejki %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Modyfikuj listę członków tej grupy"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Modyfikuj konto w RT"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Modyfikuj użytkowników powiązanych z kolejką %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Modyfikuj użytkowników powiązanych ze zgłoszeniem %1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Modyfikuj skrypty dla kolejki %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Modyfikuj skrypty, które dotyczą wszystkich kolejek"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Edytuj szablon %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Modyfikuj szablony, które dotyczą wszystkich kolejek"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Modyfikuj grupę %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Modyfikuj obserwatorów kolejki"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Modyfikuj użytkownika %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Modyfikuj zgłoszenie %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Modyfikuj zgłoszenie %1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Modyfikuj zgłoszenia"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Modifier les droits utilisateurs pour le champ personnalisĂŠ %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Modyfikuj uprawnienia użytkowników dla grupy %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Modyfikuj uprawnienia użytkowników dla kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Modyfikuj obserwatorów kolejki %1"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ModifyACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "ModifyOwnMembership"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "ModifyQueueWatchers"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ModifyScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "ModifySelf"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "ModifyTemplate"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "ModifyTicket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Pon."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Więcej o %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Move"
-msgstr "DĂŠplacer"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Przesuń w dół"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Przesuń w górę"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Wielokrotny"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Należy określić atrybut 'Nazwa'"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "%1 moich zgłoszeń"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Moje potwierdzenia"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Moje potwierdzenia"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Moje zapytania"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Nazwa"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Używana nazwa"
-
-#: NOT FOUND IN SOURCE
-msgid "Name matches"
-msgstr "Nazwa zgadza się z"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Wymagane potwierdzenie od administratora systemu"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Nigdy"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Nowe"
-
-#: NOT FOUND IN SOURCE
-msgid "New Article"
-msgstr "Nowy artykuł"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Nowe powiązania"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nowe hasło"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Nowe zgłoszenie oczekujące na zatwierdzenie"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Nowe zapytanie"
-
-#: NOT FOUND IN SOURCE
-msgid "New Relationships"
-msgstr "Nowe powiązania"
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Nowe wyszukiwanie"
-
-#: NOT FOUND IN SOURCE
-msgid "New class"
-msgstr "Nowa klasa"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Nowe pole def. przez użytkownika"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Nowa grupa"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nowe hasło"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Nowe hasło zostało wysłane"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Nowa kolejka"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Nouvelle demande"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Nowe uprawnienia"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Nowy skrypt"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Nowe wyszukiwanie"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Nowy szablon"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Nowe zgłoszenie"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Nowe zgłoszenie nie istnieje"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Nowy użytkownik"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Nowy użytkownik został nazwany"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Nowi obserwatorzy"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Nowe ustawienia okna"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Następne"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Następna strona"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Następna strona"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Pseudonim"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Pseudonim"
-
-#: NOT FOUND IN SOURCE
-msgid "No"
-msgstr "Nie"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "Nie zdefiniowano klasy"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Brak pola definiowanego przez użytkownika"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Nie zdefiniowano pola def. przez użytkownika"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Nie zdefiniowano grupy"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Brak zapytania"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Nie zdefiniowano kolejki"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Nie odnaleziono użytkownika RT. Proszę skontaktować się z administratorem RT.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Brak szablonu"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Nie określono zgłoszenia. Odrzucenie zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Nie określono zgłoszenia. Odrzucenie modyfikacji zgłoszenia\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Zawieszenie operacji"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Nie określono kolumny"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Nie udało się wyszukać polecenia\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Nie wprowadzono komentarza dotyczącego tego użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Nie załączono korespondencji"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Brak opisu dla %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Nie określono grupy"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Aucun groupe trouvĂŠ d'après le critère de recherche."
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "Brak załączonej wiadomości"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Nie ustawiono hasła"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Brak uprawnień do tworzenia kolejek"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Brak uprawnień do tworzenia zgłoszeń w kolejce '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Brak uprawnień do tworzenia użytkowników"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Brak uprawnień do wyświetlenia tego zgłoszenia"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Brak uprawnień do przeglądania aktualizacji zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Nie określono zarządzającego"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Nie wybrano zarządzających."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Brak kolejek odpowiadających kryteriom wyszukiwania"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Nie udało się wyszukać uprawnień"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Nie przyznano uprawnień."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Brak kryteriów wyszukiwania"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Brak tematu"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Nie określono numeru zgłoszenia"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Nie określono typu transakcji"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "Aucun utilisateur ou adresse email spĂŠcifiĂŠ"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Brak użytkowników odpowiadających kryteriom wyszukiwania"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Brak aktualnego użytkownika RT. Proszę skontaktować się z administratorem RT.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Nie wysłano wartości do zestawu!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Nikt"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Nieistniejące pole?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Nie udało się zalogować"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Nie udało się zalogować."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Nie ustawiona"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Jeszcze nie zaimplementowane."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Jeszcze nie zaimplementowane..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Uwagi"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Powiadomienie nie może zostać wysłane"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Wyślij powiadomienie do osób o uprawnieniach AdminCc"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Wyślij powiadomienie do osób o uprawnieniach AdminCc jako komentarz"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "Wyślij powiadomienia do osób o uprawnieniach Cc"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "Wyślij powiadomienia do osób o uprawnieniach Cc jako komentarz"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Wyślij powiadomienie do innych odbiorców"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Wyślij powiadomienie do innych odbiorców jako komentarz"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Wyślij powiadomienie do właściciela"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Wyślij powiadomienie do właściciela jako komentarz"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "Powiadom Właściciela o odrzuceniu jego zgłoszenia"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "Powiadom Zgłaszającego o zatwierdzeniu jego zgłoszenia przez wszystkich zatwierdzających"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "Powiadom Zgłaszającego o zatwierdzeniu jego zgłoszenia przez niektórych zatwierdzających"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Wyślij powiadomienie do właścicieli i osób o uprawnieniach AdminCc o nowych pozycjach oczekujących na zatwierdzenie przez nich"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Wyślij powiadomienie do zgłaszających"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Wyślij powiadomienie do zgłaszających i osób o uprawnieniach Cc"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Wyślij powiadomienie do zgłaszających i osób o uprawnieniach Cc jako komentarz"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Wyślij powiadomienie do zgłaszających oraz osób o uprawnieniach Cc i AdminCc"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Wyślij powiadomienie do zgłaszających oraz osób o uprawnieniach Cc i  AdminCC jako komentarz"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Lis."
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "Listopad"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Nie udało się utworzyć obiektu"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Obiekt został utworzony"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "Les objets de type %1 ne peuvent avoir de champs personnalisĂŠs"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "Le type d'objet ne correspond pas"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Paź."
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "Październik"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Praca zdalna"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Zdalne modyfikacje"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Załaduj modyfikowane zdalnie"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "dnia"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "w przypadku komentarza"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "w przypadku korespondencji"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "w przypadku rejestracji zgłoszeń"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "w przypadku zmiany właściciela"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "w przypadku zmiany priorytetu"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "w przypadku zmiany kolejki"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "w przypadku zamykania zgłoszeń"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "w przypadku zmiany statusu"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "w przypadku transakcji"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Wyświetl tylko potwierdzenia dotyczące zgłoszeń zarejestrowanych po %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Wyświetl tylko potwierdzenia dotyczące zgłoszeń zarejestrowanych przed %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Otwarte"
-
-#: NOT FOUND IN SOURCE
-msgid "Open Tickets"
-msgstr "Otwórz zgłoszenia"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Otwórz"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Ouvrir les demandes"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Otwórz zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Otwórz zgłoszenia (z listy) w nowym oknie"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Otwórz zgłoszenia (z listy) w innym oknie"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Otwórz zgłoszenia, które są w trakcie ustalania (wymiany korespondencji)"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Uporządkuj wg"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Porządkowanie i sortowanie"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Firma"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Zgłoszenie źródłowe: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Mail sortant suite Ă  l'enregistrement d'un commentaire"
-msgstr "Zarejestrowano wychodzącą wiadomość o komentarzu"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Zarejestrowano wiadomość wychodzącą"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Z upływem czasu priorytet wzrasta do"
-
-#: NOT FOUND IN SOURCE
-msgid "Overview"
-msgstr "Przegląd"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Moje zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "OwnTicket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Właściciel"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Właściciel zmienił się z %1 na %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "Właściciel nie mógł być ustanowiony."
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Wymuszono zmianę właściciela z %1 na %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Właścicielem"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Strona %1 z %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Pager"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Nr pager'a"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Zgłoszenia nadrzędne"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Hasło"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Przypomnienie o haśle"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Hasło jest zbyt krótkie"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Hasło: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Hasła są różne."
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Hasła są różne. Twoje hasło nie zostało zmienione."
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Osoby"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Wykonaj operację zdefiniowaną przez użytkownika"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Konfiguracja PERL"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Odmowa dostępu"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Grupy prywatne"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Grupy prywatne"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Grupy prywatne:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Numery tel."
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Placeholder"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Właściwości"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Właściwości"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Informacja o przygotowaniu została wysłana do zgłaszającego"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Poprzednie"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Poprzednia strona"
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Poprzednia strona"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Poprzedni"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Nie udało się wyszukać zarządzającego %1."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Priorytet"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Priorytet rozpoczyna się od"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Prywatne:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Uprawnieni"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Uprawniony status: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Uprawnieni użytkownicy"
-
-#: NOT FOUND IN SOURCE
-msgid "Projects"
-msgstr "Projets"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Grupa do użytku wewnętrznego"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Zapytanie"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Kreator zapytań"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Kolejka "
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Nie udało się wyszukać kolejki %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Nie udało się wyszukać kolejki '%1 '\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Keyword Selections"
-msgstr "SĂŠlection des mots clĂŠ de queue"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Nazwa kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Skrypty kolejki"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Kolejka już istnieje"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Nie udało się utworzyć kolejki"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Nie udało się załadować kolejki"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Kolejka została utworzona"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Kolejka nie została określona."
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Nie udało się wyszukać kolejki"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Kolejki"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Szybkie wyszukiwanie"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Szybkie tworzenie zgłoszeń"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS (XML)"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 dla %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 wyprodukowany przez <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Administracja RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "Błąd autoryzacji w RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "Odbicie zgłoszenia przez RT: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "Błąd konfiguracji RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "Błąd krytyczny RT. Nie udało się zapisać wiadomości!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Błąd RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT otrzymał e-mail (%1) z RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "RT a reçu du courrier (%1) de lui mĂŞme"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service"
-msgstr "Samoobsługa RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT Self Service / Tickets rĂŠsolus"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "Zmienne RT"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT - przegląd podstawowych informacji"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "Nieudana autoryzacja w RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "Nie udało się wyszukać zgłaszającego przez przejrzenie zewnętrznej bazy"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "Nie udało się wyszukać kolejki: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "Nie udało się zatwierdzić tego podpisu PGP.\\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT dla %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT dla %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT wykonał twoje polecenia"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  Jest dystrybuowane jako <a href=\"http://www.gnu.org/copyleft/gpl.html\">Wersja 2 GNU General Public License.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT est &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;. DistribuĂŠ sous <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 de la licence gĂŠnĂŠrale GNU.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "Wg RT ta wiadomość może być informacją odbitą"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT będzie postępował z tą wiadomością tak, jakby była niepodpisana.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "Email w RT wymaga autoryzacji podpisu PGP. Albo nie podpisałeś wiadomości, albo Twój podpis nie może być zweryfikowany."
-
-#: NOT FOUND IN SOURCE
-msgid "RTFM Error"
-msgstr "Błąd RTFM"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Imię i nazwisko"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "RealName"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Powiązanie %1 dodane"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Powiązanie %1 usunięte"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Powiązanie z %1 dodane"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Powiązanie z %1 usunięte"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Zgłoszenia powiązane"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Powiązane z"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "PowiązaneZ"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Popraw"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Wprowadź szczegółowe kryteria wyszukiwania"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Odświeżaj tę stronę co %1 minut."
-
-#: NOT FOUND IN SOURCE
-msgid "Relationships"
-msgstr "Powiązania"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Usuń AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Usuń Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Usuń zgłaszającego"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Odpowiedz"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Adres odpowiedzi"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Odpowiedz zgłaszającym"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Odpowiedz na zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "ReplyToTicket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Zgłaszający"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Adres e-mail zgłaszającego"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Zgłaszający"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "AdresZgłaszającego"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Zgłaszający"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Zgłoszenia powinny być zrealizowane w ciągu"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Wymagany atrybut '%1' nie został określony"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Zresetuj"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Tel. domowy"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Zamknij"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Zamknij zgłoszenie nr %1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Zamknięte"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Odpowiedź dla zgłaszających"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Wyniki"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Wyniki - liczba na stronę"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Wpisz ponownie hasło"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Przywróć"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Uprawnienie %1 nie zostało wyszukane dla %2 %3 w zakresie %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Uprawnienie zostało przekazane"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Uprawnienie zostało przyznane"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Uprawnienie zostało załadowane"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Uprawnienie nie może być odebrane"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Nie udało się wyszukać uprawnienia"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Nie udało się załadować uprawnienia"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Uprawnienie zostało odebrane"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Uprawnienia"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Nie udało się przydzielić uprawnień dla %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Nie udało się odebrać uprawnień dla %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Role"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "RootApproval"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Linii na stronie"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sob."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Zapisz"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Zapisz zmiany"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Zapisz"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Zapisz zmiany"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Zapisane zapytania"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Skrypt #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Skrypt został utworzony"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Atrybuty skryptu"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Skrypt został usunięty"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Skrypty"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Skrypty dla %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Skrypty, które dotyczą wszystkich kolejek"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Wyszukaj"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Kryteria wyszukiwania"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-# nie jestem pewien!
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Wyszukaj oczekujące potwierdzenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Search for articles"
-msgstr "Wyszukaj artykuły"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Searches can't be associated with that kind of object"
-msgstr "Les recherches ne peuvent ĂŞtre associĂŠes Ă  ce type d'objet"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Zabezpieczenie:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Voir les champs personnalisĂŠs"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "Zobacz dosłowne wiadomości wychodzące i ich odbiorców"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Zobacz prywatne komentarze do zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Zobacz podsumowania zgłoszeń"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "DostDoPólUżytk"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "SeeQueue"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "Selectionner"
-
-#: NOT FOUND IN SOURCE
-msgid "Select a Class"
-msgstr "Wybierz klasę"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Wybierz pole definiowane przez użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "Select a Custom Fields"
-msgstr "Wybierz pole definiowane przez użytkownika"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Wybierz grupę"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Wybierz kolejkę"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Wybierz użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "Select class"
-msgstr "Wybierz klasę"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Wybierz pole"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Wybierz grupę"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Wybór wielu wartości"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Wybór jednej wartości"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Wybierz kolejkę"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Wybierz skrypt"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Wybierz szablon"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Choisir un maximum de %1 valeurs "
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Wybierz użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "Wybór wielu wartości"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "Wybór jednej wartości"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Champs personnalisĂŠs sĂŠlectionnĂŠs"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Objets sĂŠlectionnĂŠs"
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Samoobsługa"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Wyślij e-mail do wszystkich obserwatorów"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Wyślij e-mail do wszystkich obserwatorów jako \"komentarz\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Wyślij e-mail do zgłaszających i osób o uprawnieniach Cc""
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Wyślij e-mail do zgłaszających i osób o uprawnieniach Cc jako komentarz"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Wysyła wiadomość do zgłaszających"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Wysyła e-mail do osób wymienionych w Cc i Bcc "
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Wysyła e-mail do użytkowników o uprawnieniach CC"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Wysyła e-mail jako komentarz do użytkowników o uprawnieniach CC"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Wysyła e-mail do osób wymienionych w administracyjnym Cc"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Wysyła e-mail do osób wymienionych w administracyjnym Cc jako komentarz"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Wysyła e-mail do właściciela"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Wrz."
-
-#: NOT FOUND IN SOURCE
-msgid "Seperate multiple URLs with spaces"
-msgstr "Oddziel spacjami adresy URL"
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "Wrzesień"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Pokaż"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Pokazuj potwierdzenia"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Wyświetlane kolumny"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Wyświetl wyniki"
-
-#: NOT FOUND IN SOURCE
-msgid "Show advanced search options..."
-msgstr "Wyświetl zaawansowane opcje wyszukiwania..."
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Wyświetl zatwierdzone zgłoszenia"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Wyświetl podstawowe informacje"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Wyświetl odrzucone zgłoszenia"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Wyświetl szczegóły"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Wyświetl zgłoszenia oczekujące na zatwierdzenie"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Wyświetl zgłoszenia oczekujące na pozostałe zatwierdzenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Wyświetl prywatny komentarz do zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Wyświetl streszczenia zgłoszeń"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "ShowACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "PodglądPocztyWychodz"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "PodglądZapytańZapis"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "ShowScrips"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "ShowTemplate"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "ShowTicket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "ShowTicketComments"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Podpisz jako zgłaszający lub osoba o uprawnieniach Cc dla zgłoszenia lub kolejki"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Podpisz jako osoba o uprawnieniach AdminCc dla zgłoszenia lub kolejki"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Podpis"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Wpisany jako %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Pojedynczy"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Pomiń menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Sortuj"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort Order"
-msgstr "Kryterium sortowania"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Klucz sortowania"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Sortuj wyniki wg"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "SortOrder"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Etap"
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Zamrożone"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Strona powitalna"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Realizacja rozpoczęta"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Data rozpoczęcia realizacji '%1' nie może być rozpoznana"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Początek realizacji"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Początek realizacji od"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Data rozpoczęcia realizacji '%1' nie może być rozpoznana"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Województwo"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Status "
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Zmiana statusu"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Status zmieniony z %1 na %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "Zmiana statusu"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Przejmij"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Przejmij zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "PrzejecieZgloszen"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Przejęte od %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Przejęte od %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Temat"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Temat został zmieniony na %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Zastosuj"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Query"
-msgstr "Wykonaj zapytanie"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Wprowadź obieg (Workflow)"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Powiodło się"
-
-#: NOT FOUND IN SOURCE
-msgid "Summary"
-msgstr "Streszczenie"
-
-#: NOT FOUND IN SOURCE
-msgid "Summary matches"
-msgstr "Streszczenie zgadza się z"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Nie."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperUser"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "System"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Konfiguracja systemu"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Błąd systemowy"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "Erreur Système. Droit non dĂŠlĂŠguĂŠ."
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "Erreur Système. Droit non dĂŠlĂŠguĂŠ"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "Narzędzia systemowe"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Błąd systemowy. Uprawnienie nie zostało przekazane"
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Błąd systemowy. Uprawnienie nie zostało przydzielone"
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "Erreur Système. Imposible de dĂŠlĂŠguer les droits"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Grupy systemowe"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "Grupa ról systemowych do użytku wewnętrznego"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Przyjmij"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Przyjmij zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "PrzyjęcieZgłoszeń"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Przyjęty"
-
-#: NOT FOUND IN SOURCE
-msgid "Task"
-msgstr "Tâche"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Szablon"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Szablon #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Szablon został usunięty"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Nie udało się wyszukać szablonu"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Nie udało się wyszukać szablonu\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Szablon nie został rozpoznany"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Szablony"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Szablony dla %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Texte"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "To już jest aktualna wartość"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "To nie jest wartość tego pola"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "To jest ta sama wartość"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Ten użytkownik/ grupa już dysponują tym prawem"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Ten zarządzający jest już %1 dla tej kolejki"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Ten zarządzający jest już %1 dla tego zgłoszenia"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Ten zarządzający nie jest %1 dla tej kolejki"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Ten zarządzający nie jest %1 dla tego zgłoszenia"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Ta kolejka nie istnieje"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "To zgłoszenie ma niewykonane zgłoszenia zależne"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Ten użytkownik już posiada to uprawnienie"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Ten użytkownik już jest właścicielem tego zgłoszenia"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Taki użytkownik nie istnieje"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Ten użytkownik już posiada to uprawnienie"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Ten użytkownik nie jest uprawniony"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Ten użytkownik jest już uprawniony"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Ten użytkownik jest teraz nieuprawniony"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "Cet utilisateur a perdu ses droits"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Ten użytkownik może nie posiadać zgłoszeń w tej kolejce"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "To nie jest id typu liczbowego"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Podstawowe informacje"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "CC zgłoszenia"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "Administracyjne CC zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Komentarz został zapisany"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Następujące polecenie wyszuka wszystkie aktywne zgłoszenia w kolejce głównej i ustawi ich priorytet na 99, jeśli nie zostały zmodyfikowane w ciągu ostatnich 4 godzin:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "Następujące polecenia nie zostały wykonane:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Ustawiono nową wartość."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Właściciel zgłoszenia"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Zgłaszający"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Te komentarze nie są generalnie widoczne dla użytkownika"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "Ce champ personnalisĂŠ ne s'applique pas Ă  cet objet"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Ta funkcja jest dostępna tylko dla administratora systemu"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Ta wiadomość zostanie wysłana do..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "To zgłoszenie %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Ta aplikacja pozwala użytkownikowi na przypadkowe uruchomienie tzw. perl modułów z RT"
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Nie określono zawartości tej transakcji"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "%1 zgłoszeń tego użytkownika o najwyższym priorytecie"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "25 zgłoszeń tego użytkownika o najwyższym priorytecie"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Czw."
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Zgłoszenie nr %1  %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "Ticket n°%1 Jumbo update: %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Pełna aktualizacja: %2 zgłoszenia nr %1"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Zgłoszenie nr %1  %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Zgłoszenie %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Zgłoszenie %1 zostało utworzone w kolejce '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Zgłoszenie %1 zostało załadowane\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Zgłoszenie %1:  %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Champs personnalisĂŠs du ticket"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Historia zgłoszenia nr %1  %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Nr zgłoszenia"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Zgłoszenie zamknięte"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Transactions du ticket"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Załącznik do zgłoszenia, którego"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Zawartość zgłoszenia"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Typ zawartości zgłoszenia"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Nie udało się utworzyć zgłoszenia z powodu wewnętrznego błędu"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Zgłoszenie zostało utworzone"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Nie udało się utworzyć zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Zgłoszenie zostało usunięte"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Nie udało się wyszukać numeru zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "Ticket effacĂŠ"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Meta-dane zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Nie udało się wyszukać zgłoszenia"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Zmienił się status zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Obserwatorzy zgłoszenia"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Zgłoszenia %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Zgłoszenia %1 do %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Zgłoszenia od %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Zgłoszenia, które zależą od tego zatwierdzenia:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Szacowany czas"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Pozostały czas"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Czas realizacji"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Pozostały czas"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Wyświetlany czas"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Czas realizacji"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "PozostałyCzas"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "Czas realizacji"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Aby wygenerować różnice tego zatwierdzenia:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "Aby wygenerować różnice tego zatwierdzenia:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "Więcej o wsparciu, szkoleniach, rozwoju i licencjonowaniu dostępne jest w %1."
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Wpłynęło"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Narzędzia"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transakcja"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transakcja %1 została wyczyszczona"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transakcja została utworzona"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Champs personnalisĂŠes de la transaction"
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Transakcja-> Nie udało się utworzyć, ponieważ nie określono numeru zgłoszenia"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Transation->Create a ĂŠchouĂŠ car vous n'avez pas spĂŠcifiĂŠ de type d'objet et d'id"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transakcje nie są możliwe do powielenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Próba usunięcia uprawnienia: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Wto."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Typ"
-
-#: NOT FOUND IN SOURCE
-msgid "Unable to load article"
-msgstr "Nie udało się załadować artykułu"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Niezaimplementowane"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr " Unix login"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Nazwa użytkownika typu 'unix'"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Nieznany Typ Zawartości %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Nieograniczona"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Zapytanie bezimienne"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Nieuprawnieni"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Champs personnalisĂŠs non sĂŠlectionnĂŠs"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Objets non sĂŠlectionnĂŠs"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Niepobrany"
-
-#: NOT FOUND IN SOURCE
-msgid "Untitled search"
-msgstr "Recherche sans titre"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Zaktualizuj"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Zaktualizuj wszystko"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Zaktualizuj ID"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Zaktualizuj zgłoszenie"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Zaktualizuj typ"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Zaktualizuj wszystkie te zgłoszenia jednocześnie"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Zaktualizuj e-mail"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Zaktualizuj wiele zgłoszeń jednocześnie"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Zaktualizuj nazwę"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Aktualizacja nie została zapisana."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Zaktualizuj wybrane zgłoszenia"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Zaktualizuj podpis"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Zaktualizuj zgłoszenie"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Zaktualizuj zgłoszenie nr %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Zaktualizuj zgłoszenie nr %1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Zaktualizuj zgłoszenie nr %1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Aktualizacja nie dotyczyła korespondencji ani komentarza."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Zaktualizowane"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Zapisz"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Uploader plusieurs fichiers"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Uploader plusieurs images"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Uploader un fichier"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Uploader une image"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "Uploader un maximum de %1 fichiers"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "Uploader un maximum de %1 images"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Zapisz swoje zmiany"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Use the dropdown menus to select which transactions you want to extract into a new RTFM article"
-msgstr "Użyj rozwijalnych list, aby wybrać transakcje, z których chcesz utworzyć nowy artykuł RTFM"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Użytkownik %1 %2: %3 \\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Hasło użytkownika %1: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "Nie można znaleźć użytkownika %1."
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Nie udało się wyszukać użytkownika '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Nie udało się wyszukać użytkownika '%1'\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Definiowany przez użytkownika"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Warunki i operacje zdefiniowane przez użytkownika"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "Id"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Id"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Uprawnienia użytkowników"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "L'utilisateur a demandĂŠ un type de mise Ă  jour non connu pour le champ personnalisĂŠ %1 de l'objet %2Â%3"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Nie udało się utworzyć użytkownika: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Użytkownik został utworzony"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Grupy def. przez użytkownika"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Użytkownik załadowany"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Użytkownik został powiadomiony"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Widok użytkownika"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Groupe dĂŠfinis par l'utilisateur"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Nazwa"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Użytkownicy"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Użytkownicy odpowiadający kryteriom wyszukiwania"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Sprawdź zapytanie"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "Wartość kolejki"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Wartości"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Obserwuj"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "WatchAsAdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "Observateur chargĂŠ"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Obserwatorzy"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "Web-kodowanie"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Śro."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Po zatwierdzeniu zgłoszenia przez wszystkich zatwierdzających, dodaj korespondencję do oryginalnego zgłoszenia"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Po zatwierdzeniu zgłoszenia przez któregokolwiek z zatwierdzających, dodaj korespondencję do oryginalnego zgłoszenia"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Po utworzeniu zgłoszenia"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Po utworzeniu zgłoszenia podlegającego zatwierdzeniu, powiadom właściciela i osoby o uprawnieniach AdminCc o zadaniu oczekującym zatwierdzenie przez nich"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Jeśli cokolwiek się wydarzy"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Zawsze gdy zgłoszenie będzie zamykane"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Zawsze gdy zmieni się właściciel zgłoszenia"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Zawsze gdy zmieni się priorytet zgłoszenia"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Zawsze gdy zmieni się kolejka zgłoszenia"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Zawsze gdy zmieni się status zgłoszenia"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Zawsze gdy wystąpi warunek definiowany przez użytkownika"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Zawsze gdy wystąpią komentarze"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Zawsze gdy wpłynie korespondencja"
-
-#: NOT FOUND IN SOURCE
-msgid "Which are referred to by "
-msgstr "Które są zgłoszeniami powiązanymi"
-
-#: NOT FOUND IN SOURCE
-msgid "Which refer to"
-msgstr "Które dotyczą"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Praca"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Praca zdalna"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Tel. do pracy"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Czas pracy"
-
-#: NOT FOUND IN SOURCE
-msgid "XXX CHANGEME You are not an authorized user"
-msgstr "XXX CHANGEME Nie jesteś użytkownikiem z uprawnieniami"
-
-#: NOT FOUND IN SOURCE
-msgid "Yes"
-msgstr "Tak"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Jesteś już właścicielem tego zgłoszenia"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Nie jesteś autoryzowanym użytkownikiem"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Możesz ponownie przydzielić tylko te zgłoszenia, których jesteś właścicielem lub te, które nie mają właściciela"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "Nie masz uprawnień do przeglądania tego zgłoszenia.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Wyszukałeś zgłoszenia %1 w kolejce %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Zostałeś wylogowany z RT"
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Nie masz uprawnień do rejestrowania zgłoszeń w tej kolejce."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Nie możesz rejestrować zgłoszeń w tej kolejce."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Proszę zalogować się ponownie"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Twoje zgłoszenia %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Administrator RT niewłaściwie skonfigurował aliasy maila, które wywołują RT"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Twoje zgłoszenie zostało zatwierdzone przez %1. Może nadal oczekiwać na inne zatwierdzenia."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Twoje zgłoszenie zostało zatwierdzone."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Twoje zgłoszenie zostało odrzucone"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Twoje zgłoszenie zostało odrzucone"
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Nazwa użytkownika lub hasło jest nieprawidłowe"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Kod pocztowy"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[Pas de sujet]"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "and is not"
-msgstr "i nie jest"
-
-#: NOT FOUND IN SOURCE
-msgid "and not"
-msgstr "i nie"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "tak jak przydzielone dla %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "zamknięte"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "zawiera"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "zawartość"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "typ zawartości"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "korespondencja (prawdopodobnie) nie została wysłana"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "korespondencja została wysłana"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "dniami"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "effacĂŠ"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "usuń"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "usunięte"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "nie zgadza się z"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "nie zawiera"
-
-#: NOT FOUND IN SOURCE
-msgid "email address"
-msgstr "adresse email"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "równy"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "faux"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "nazwa pliku"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "większy od"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "grupy '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "godz."
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "Numer"
-
-#: NOT FOUND IN SOURCE
-msgid "in class %1"
-msgstr "w ramach klasy %1"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "jest"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "nie jest"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "mniejszy od"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "zgadza się z"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min."
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minuty"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "modyfikacje\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "miesiącami"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "nowe"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "bez nazwy"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "brak wartości"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "żaden"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "różny od"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "necontientpas"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "otwarte"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "prywatna grupa '%1' użytkownika '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "kolejka %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "odrzucone"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "zamknięte"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "sek."
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "Arkusz kalk."
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "zamrożone"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "system %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "grupy systemowej '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "przywoływany komponent nie określił powodu"
-
-#: NOT FOUND IN SOURCE
-msgid "ticket #%1"
-msgstr "ticket n°%1"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "zgłoszenie #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "till"
-msgstr "do"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "vrai"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "nieopisana grupa %1"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "nieopisana grupa %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "użytkownika %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "tygodniami"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "wg szablonu %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "rokiem/latami"
-
diff --git a/rt/lib/RT/I18N/pt_br.po b/rt/lib/RT/I18N/pt_br.po
deleted file mode 100644 (file)
index cbf92c5..0000000
+++ /dev/null
@@ -1,6116 +0,0 @@
-# $Id: pt_br.po,v 1.1.1.4 2005-10-15 09:10:38 ivan Exp $
-msgid ""
-msgstr ""
-"Project-Id-Version: RT 2.1.x\n"
-"POT-Creation-Date: 2002-05-02 11:36+0800\n"
-"PO-Revision-Date: 2002-12-07 23:20-02:00\n"
-"Last-Translator: Gustavo Chaves <gustavo@cpqd.com.br>\n"
-"Language-Team: rt-devel <rt-devel@lists.fsck.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %2 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 adicionado"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 atrás"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 alterado para %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 removido"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 of group %3"
-msgstr "%1 %2 do grupo %3"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 com modelo %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 este tíquete\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "%1 - %2 apresentados"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Um argumento para passar para %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - Mostra atualizações de estado no STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - Especifica o módulo de ação que você quer usar"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - Especifica o módulo de condição que você quer usar"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - Especifica o módulo de busca que você quer usar"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "ScripAction %1 carregado"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 usado como um valor de %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "Aliases %1 requerem um TicketId no qual trabalhar"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "Aliases %1 requerem um TicketId no qual trabalhar "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "Aliases %1 requerem um TicketId no qual trabalhar (de %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 parece ser um objeto local, mas não pode ser encontrado no banco de dados"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 por %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 alterado de %2 para %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr ""
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 não pôde ser alterado para %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 não pôde iniciar uma transação (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 não pôde alterar estado para resolvido.  O banco de dados do RT pode estar inconsistente."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr ""
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "%1 tíquetes de mais alta prioridade que eu possuo..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 tíquetes de mais alta prioridade que eu requeri..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 é uma ferramenta para modificar tíquetes a partir de uma ferramenta de agenda externa, como o cron."
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 não é mais um %2 para esta fila."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 não é mais um %2 para este tíquete."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 não é mais um valor para o campo personalizado %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 não é um identificador de fila válido."
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 min"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 não mostrado"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1 direitos"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 teve sucesso\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "Tipo %1 desconhecido para $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "Tipo %1 desconhecido para %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 foi criado sem um CurrentUser\\n"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 resolverá todos os membros de um grupo de tíquetes resolvidos."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 colocará como pendente uma BASE [local] se for dependente [ou membro] de uma requisição ligada."
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: nenhum arquivo anexo especificado"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1b"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' é um valor inválido para o estado"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' não é uma ação reconhecida."
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(Assinale para remover o membro do grupo)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Assinale para remover o scrip)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Assinale para remover)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(Assinale para remover)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr ""
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Se deixado em branco, será entendido como %)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(Sem Valor)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Nenhum campo personalizado)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Sem membros)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Sem scrips)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Nenhum esquema)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr ""
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Envia uma cópia-cega (Bcc) desta atualização para uma lista de endereços de email separados por vírgula.  <b>Não</b> altera quem vai receber atualizações futuras.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Envia uma cópia-cega (Bcc) desta atualização para uma lista de endereços eletrônicos separados por vírgulas. <b>Não</b> altera o destinatário de atualizações futuras.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Envia uma cópia-cega (Bcc) desta atualização para uma lista de endereços eletrônicos separados por vírgulas. <b>Não</b> altera o destinatário de atualizações futuras.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Envia uma cópia-cega (Bcc) desta atualização para uma lista de endereços eletrônicos separados por vírgulas. <b>Não</b> altera o destinatário de atualizações futuras.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Envia uma cópia desta atualização para uma lista de endereços eletrônicos separados por vírgulas. <b>Não</b> altera o destinatário de atualizações futuras.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Envia uma cópia desta atualização para uma lista de endereços eletrônicos separados por vírgulas. Estas pessoas <b>receberão</b> as atualizações futuras.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr ""
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(vazio)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(nenhum nome listado)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(Sem assunto)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(sem valor)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr ""
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(somente um tíquete)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(aguardando aprovação)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(aguardando outros tíquetes)"
-
-#: NOT FOUND IN SOURCE
-msgid "(requestor's group)"
-msgstr "(grupo do requisitante)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(requerido)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(sem título)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "25 tíquetes mais prioritários que possuo..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "25 tíquetes mais prioritários que requisitei..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Novo tíquete em\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Um modelo vazio"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE Removida"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE Carregada"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "ACE não pôde ser removida"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "ACE não pode ser encontrada"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE não encontrado"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACEs só podem ser criados e removidos."
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Abortando para evitar modificações indesejadas no tíquete.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Sobre mim"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Controle de acesso"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Ação"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Ação %1 não encontrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Ação confirmada."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Ação preparada..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr ""
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Adicionar AdminCc"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Adicionar Cc"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr ""
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Adicionar Mais Arquivos"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Next State"
-msgstr "Adicionar Próximo Estado"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Adicionar Requisitante"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip to this queue"
-msgstr "Adicionar um Scrip nesta fila"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip which will apply to all queues"
-msgstr "Adicionar um Scrip que será aplicado a todas as filas"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a keyword selection to this queue"
-msgstr "Adicionar uma seleção de teclado a esta fila"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Adicionar um novo scrip global"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Adicionar um scrip a esta fila"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Adicionar um scrip que se aplicará a todas as filas"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr ""
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Adicionar comentários ou respostas aos tíquetes selecionados"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Adicionar membros"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Adicionar novos observadores"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "AddNextState"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Principal adicionado como um %1 para esta fila"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Principal adicionado como um %1 para este tíquete"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Endereço 1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Endereço 2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Admin Cc"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Comentário do Administrador"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Correspondência do Administrador"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Administração de filas"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Administração de usuários"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Administração da configuração global"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Administração de Grupos"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Administração de uma fila"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "AdminAllPersonalGroups"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "AdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "AdminComment"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "AdminCorrespondence"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "AdminCustomFields"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "AdminGroup"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "AdminGroupMembership"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "AdminOwnPersonalGroups"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "AdminQueue"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "AdminUsers"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Cc Administrativo"
-
-#: NOT FOUND IN SOURCE
-msgid "Admins"
-msgstr "Administradores"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Busca avançada"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "Depois"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Idade"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Alias for"
-msgstr "Alias para"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Todos os Campos Personalizados"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Todas as filas"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Sempre envia uma mensagem para os requisitantes independentemente do remetente"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr ""
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr ""
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Aprovação"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Aprovação #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Aprovação #%1: Notas não registradas devido a um erro de sistema"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Aprovação #%1: Notas registradas"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Detalhes da Aprovação"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr ""
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Diagrama da aprovação"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Aprove"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Notas do aprovador: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Abr."
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "Abril"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "Ascendente"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr ""
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Anexar"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Anexar arquivo"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Arquivo anexado"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Arquivo anexo '%1' não pôde ser carregado"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Arquivo anexo criado"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Nome do arquivo anexo"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Arquivos anexos"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr ""
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Ago."
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "Agosto"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "Sistema de autenticação"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Autoreply"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Autoreply para Requisitantes"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "AutoreplyToRequestors"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Assinatura PGP inválida: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Identificador de arquivo anexo inválido.  Não pude encontrar o arquivo '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Dados inválidos em %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Número inválido de transação para o arquivo anexo.  %1 deveria ser %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Básicos"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Bcc"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Não se esqueça de salvar suas alterações"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "Antes"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Incício da Aprovação"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Vazio"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "URL para guardar esta busca em seus marcadores"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr ""
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Cabeçalhos resumidos"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Atualização de tíquetes em lote"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Não posso modificar os usuários do sistema"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Este principal pode ver esta fila"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Não posso adicionar um valor de campo personalizado sem um nome"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr ""
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Não posso ligar um tíquete a ele mesmo"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Não posso unir a um tíquete já unido.  Você nunca deve obter este erro"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr ""
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Não especifique origem e destino simultaneamente"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Não posso criar o usuário: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Cc"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Mudar a senha"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr ""
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Assinale para remover"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Assinalar para revogar o direito de acesso"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Filhos"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Cidade"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr ""
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Fechado"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Requisições fechadas"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Code"
-msgstr "Código"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Comando não entendido!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Comentário"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Endereço de Comentário"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Comentário não registrado"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Comente sobre os tíquetes"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "CommentOnTicket"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Comentários"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Comentários (não enviados aos requisitantes)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Comentários (não enviados aos requisitantes)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Comentários sobre %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Comentários sobre este usuário"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Comentários adicionados"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Compilar restrições"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Condição"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Condição satisfeita..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Condição não encontrada"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Configuração"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Confirmar"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "Informação de contato"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Data de contato '%1' não pôde ser entendida"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Conteúdo"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "Não pude criar o grupo"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr ""
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Correspondência"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Endereço de correspondência"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Correspondência adicionada"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Correspondência não registrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Não pude adicionar novo valor de campo personalizado para o tíquete. "
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "Não pude adicionar novo valor de campo personalizado para o tíquete. %1"
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Não pude alterar o proprietário. "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Não pude criar CampoPersonalizado"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Não pude criar o grupo"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Não pude criar o modelo: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Não pude criar o tíquete. Fila não selecionada"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Não pude criar o usuário"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "Não pude criar um observador para o requisitante"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Não pude encontrar um tíquete com identificador %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Não pude encontrar o grupo %1."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Não pude encontrar ou criar o usuário"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Não pude encontrar este principal"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Não pude encontrar o usuário %1."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Não pude carregar o grupo"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Não pude fazer este principal um %1 para esta fila"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Não pude fazer este principal um %1 para este tíquete"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Não pude remover este principal como um %1 para esta fila"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Não pude remover este principal como um %1 para este tíquete"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Não pude adicionar o membro no grupo"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Não pude criar uma transação: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Não sei o que fazer com a resposta do gpg\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Não encontrei o grupo\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Não pude encontrar o registro"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Não encontrei este principal"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Não encontrei este valor"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "Não pude encontrar este observador"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Não pude encontrar o usuário\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Não pude carregar %1 do banco de dados de usuários.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "Não pude carregar os KeywordSelects."
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Não pude carregar o arquivo de configuração do RT '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Não pude carregar os Scrips."
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Não pude carregar o grupo %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Não pude carregar a ligação"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr ""
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Não pude carregar a fila"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Não pude carregar a fila %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Não pude carregar o scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Não pude carregar o modelo"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Não pude carregar este usuário (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Não pude carregar o tíquete '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "País"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Criar"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Criar Tíquetes"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Criar um CampoPersonalizado"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Criar um Campo Personalizado para a fila %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Criar um Campo Personalizado para todas as filas"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Criar um novo Campo Personalizado"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global Scrip"
-msgstr "Criar um novo Scrip global"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Criar um novo scrip global"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Criar um novo grupo"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Criar um novo grupo pessoal"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Criar uma nova fila"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Criar um novo scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Criar um novo modelo"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Criar um novo tíquete"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Criar um novo usuário"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Criar uma fila"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Criar uma fila chamada"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Criar uma requisição"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Criar um scrip para a fila %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Criar um modelo"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Criação falhou: %1 / %2 / %3 "
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "Criação falhou: %1/%2/%3"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Criar novos tíquetes baseados no esquema deste scrip"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Criar um tíquete"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Criar tíquetes nesta fila"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Criar, remover e modificar campos personalizados"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Criar, remover e modificar filas"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Criar, remover e modificar os membros dos grupos pessoais de qualquer usuário"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Criar, remover e modificar os membros de grupos pessoais"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Criar, remover e modificar usuários"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "CreateTicket"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Criado"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "CampoPersonalizado %1 criado"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Modelo %1 criado"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr ""
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Relações atuais"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Scrips correntes"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Membros atuais"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Direitos de acesso atuais"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Critério de busca atual"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Observadores atuais"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Campo Personalizado #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Campos Personalizados"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Código de finalização da ação customizada"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Código de preparação da ação customizada"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Condição customizada"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Campo personalizado %1 %2 %3"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "O campo personalizado %1 tem um valor."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "O campo personalizado %1 não tem valor."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Campo personalizado %1 não encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Campo personalizado removido"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Campo personalizado não encontrado"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "O valor de campo %1 não pôde ser encontrado para o campo personalizado %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "O valor do campo personalizado foi alterado de %1 para %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "O valor do campo personalizado não pôde ser removido"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "O valor de campo personalizado não pôde ser encontrado"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Valor do campo personalizado removido"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "Erro de dado"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Datas"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Dez."
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "Dezembro"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Esquema Padrão de Autoresposta"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Esquema padrão de Autoresposta"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr ""
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr ""
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Esquema padrão de comentário administrativo"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Esquema padrão de correspondência administrativa"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Esquema padrão de correspondência"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Esquema padrão de transação"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Padrão: %1/%2 mudou de %3 para %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Delegar direitos de acesso"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Delegar direitos específicos que foram outorgados a você."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "DelegateRights"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Delegação"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Remover"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Remover tíquetes"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "DeleteTicket"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Ao remover este objeto você pode quebrar a integridade referencial"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Ao remover este objeto você quebra a integridade referencial"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Ao remover este objeto você viola a integridade referencial"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "Remover este objeto violaria a integridade referencial"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "Remover este objeto violaria a integridade referencial.  Isto é mau."
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Negue"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "Dependem deste tíquete"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Dependências: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Depende de"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "DependsOn"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "Descendente"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Descreva o problema abaixo"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Descrição"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Detalhes"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Apresentação"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Mostrar Lista de Controle de Acesso"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Mostras os esquemas de Scrip para esta fila"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Mostrar os Scrips para esta fila"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Modo de apresentação"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Apresentar o tíquete #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr ""
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Fazer qualquer coisa"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Não recarregar esta página."
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Não mostrar resultados da busca"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Baixar"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr ""
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Vencido"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "A data de vencimento '%1' não pôde ser entendida"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "ERRO: Não pude carregar o tíquete '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Editar"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Conditions"
-msgstr "Editar Condições"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Editar Campos Personalizados para %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Editar Relacionamentos"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr ""
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Editar Esquemas para a fila %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "Editar palavras chave"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Editar scrips"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Editar os modelos do sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Editar os modelos para %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Editando a configuração para a fila %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Editando a configuração para o usuário %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Editando o campo %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Editando os membros do grupo %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Editando os membros do grupo pessoal %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Editando o modelo %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Você deve especificar a origem ou o destinatário"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Email"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "O endereço de email já está em uso"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "Correio Eletrônico"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "Codificação de Email"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Habilitado (Deselecionando este ítem desabilita este campo personalizado)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Habilitado (Deselecionando este ítem desabilita este grupo)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Habilitado (desassinalando desabilita esta fila)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Campos Personalizados Habilitados"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Filas Habilitadas"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Estado %1 habilitado"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Entre com múltiplos valores"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Entre com um valor"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr ""
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Entre com identificadores de tíquete ou URIs que levam ao tíquete.  Separe entradas múltiplas com espaços."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr ""
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Erro"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "Erro ao adicionar um observador"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Erro nos parâmetros para Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Erro nos parâmetros para Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Erro nos parâmetros para Ticket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Erro nos parâmetros para Ticket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr ""
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr ""
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Todos"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Exemplo:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "ExternalAuthId"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "ExternalContactInfoId"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Informação adicional"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Não pude encontrar o pseudogrupo de usuários 'Privileged'."
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Não pude encontrar o pseudogrupo de usuários 'Unprivileged'"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Falhou ao carregar o módulo %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Fev."
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "Fevereiro"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Fin"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Prioridade Final"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "FinalPriority"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Encontrar o grupo cujo"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Encontrar tíquetes novos/abertos"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Encontrar pessoas que"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Encontrar tíquetes"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Terminar Aprovação"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Primeiro"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Primeira página"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Force alteração"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Encontrado %quant(%1,tíquete)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Objeto Encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FreeformContactInfo"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "FreeformMultiple"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "FreeformSingle"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Sex."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Cabeçalhos completos"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Obtendo o usuário corrente a partir de uma assinatura pgp\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Dado a %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Global"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Global Keyword Selections"
-msgstr "Seleções de Palavras Chave Globais"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Scrips Globais"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Esquema global: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr ""
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Ir!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Assinatura pgp válida de %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Ir para a página"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Ir para o tíquete"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Grupo"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Grupo %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Direitos de Acesso do Grupo"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "O grupo já tem um membro"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "O grupo não pôde ser criado."
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "O grupo não pôde ser criado: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Grupo criado"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "O grupo não contém este membro"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Grupo não encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Grupo não encontrado.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Grupo não especificado.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Grupos"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Grupos não podem ser membros de seus próprios membros"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr ""
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr ""
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Olá!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Olá, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "Histórico"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr ""
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "Telefone Residencial"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "Homepage"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Eu tenho %quant(%1,concrete mixer)."
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "Tenho [quant,_1,concrete mixer]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Identificador"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Identidade"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Se uma aprovação é rejeitada, rejeite a original e remova as aprovações pendentes"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr ""
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr ""
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Se esta ferramenta fosse setgid, um usuário local mal-intencionado poderia usá-la para obter acesso administrativo ao RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "Se você alterou qualquer coisa acima, não se esqueça de"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Valor ilegal para %1"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Campo imutável"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Incluir campoas personalizados desabilitados na listagem."
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr ""
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Incluir filas desabilitadas na listagem."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Incluir usuários desabilitados na busca."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Prioridade Inicial"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "InitialPriority"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Erro de entrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Interest noted"
-msgstr "Interesse notado"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Erro Interno"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Erro Interno: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Tipo Inválido de Grupo"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Direito Inválido"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Tipo Inválido"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Dado inválido"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Proprietário inválido.  Usando 'nobody'."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Fila inválida"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Direito de acesso inválido"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Valor inválido para %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Valor inválido para o campo personalizado"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Valor inválido para o estado"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "É extremamente importante que usuários não privilegiados não possam executar esta ferramenta."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Sugere-se que você crie um usuário UNIX não privilegiado com o grupo e acesso RT corretos para executar esta ferramenta."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Requer vários argumentos:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Itens requerendo minha aprovação"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Jan."
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "Janeiro"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Entre ou deixe este grupo"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Jul."
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "Julho"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Jumbo"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Jun."
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "Junho"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Palavra chave"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Líng"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Último"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Último Contato"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Contactado em"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Notificado em"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Atualizado em"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "LastUpdated"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Resta"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Deixar este usuário acessar RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Deixar este usuário receber direitos de acesso adicionais"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Limitando proprietário a %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Limitando fila a %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "A ligação já existe"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "A ligação não pôde ser criada"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Ligação criada (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Ligação removida (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Ligação não encontrada"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Ligar o tíquete #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "Ligar o tíquete %1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Ligações"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Localização"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "O diretório de log %1 não foi encontrado ou não pôde ser alterado.\\n RT não pode funcionar desta maneira."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Assinado como %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Entrar"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Sair"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Definir como proprietário"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Definir o estado"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Definir o prazo final"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Definir a data de resolução"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Definir a data de iniciado"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Definir a data início"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Definir a data de última alteração"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Definir a prioridade"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Definir a fila"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Definir o assunto"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr ""
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Administrar grupos e seus membros"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Administrar propriedades e configurações aplicáveis a todas as filas"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Administrar filas e suas propriedades específicas"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Administrar usuários e senhas"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Mar."
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "Março"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "Maio"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Mai."
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Membro adicionado"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Membro removido"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Membro não removido"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Membro de"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "MemberOf"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Membros"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr ""
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "União bem sucedida"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "União falhou. Não pude definir o EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Unir a"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr ""
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Mensagem"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr ""
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Faltando uma chave primária?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Móvel"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "Celular"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Modificar Lista de Controle de Acesso"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Modificar o campo personalizado %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Modificar Campos Personalizados que se aplicam a todas as filas"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr ""
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr ""
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Modificar esquemas de Scrip para esta fila"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Modificar Scrips para esta fila"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "Modificar ACLs do Sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Modificar Esquema %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr ""
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Modificar um Campo Personalizado para a fila %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Modificar um Campo Personalizado que se aplica a todas as filas"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Modificar um scrip para a fila %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Modificar um scrip aplicável a todas as filas"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "Modificar datas para # %1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Modificar as datas para #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Modificar as datas para o tíquete # %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Modificar direitos de acesso globais de grupo"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Modificar direitos de acesso globais de grupo."
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "Modificar direitos globais para grupos"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "Modificar direitos globais para usuários"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Modificar scrips globais"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Modificar direitos de acesso globais de usuário"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Modificar direitos de acesso globais de usuário."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Modificar metadados do grupo ou removê-lo"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Modificar os direitos de acesso do grupo %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Modificar os direitos de acesso de grupo para a fila %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Modificar lista de membros deste grupo"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Modificar sua própria conta RT"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Modificar as pessoas relacionadas à fila %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Modificar as pessoas relacionadas ao tíquete #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Modificar os scrips da fila %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Modificar scrips aplicáveis a todas as filas"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Modificar o modelo %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Modificar esquemas que se aplicam a todas as filas"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Modificar o grupo %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Modificar os observadores da fila"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Modificar o usuário %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Modificar o tíquete # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Modificar o tíquete #%1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Modificar tíquetes"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr ""
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Modificar os direitos de acesso de usuário para o grupo %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Modificar os direitos de acesso de usuário para a fila %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Modificar os observadores para a fila '%1'"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ModifyACL"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "ModifyOwnMembership"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "ModifyQueueWatchers"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ModifyScrips"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "ModifySelf"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "ModifyTemplate"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "ModifyTicket"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Seg."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Mais sobre %1"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Descer"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Subir"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Múltiplo"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "O atributo 'Name' deve ser especificado"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Minhas Aprovações"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Minhas aprovações"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Nome"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Nome em uso"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Precisa de aprovação do administrador do sistema"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Nunca"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Novo"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Novos Relacionamentos"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Nova Senha"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Nova Aprovação Pendente"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Nova busca"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Novo campo personalizado"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Novo grupo"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Nova senha"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Notificação de nova senha enviada"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Nova fila"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Nova requisição"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Novos direitos de acesso"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Novo scrip"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Nova busca"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Novo esquema"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "O novo tíquete não existe"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Novo usuário"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Novo usuário chamado"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Novos observadores"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Abrir nova janela"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Próximo"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Próxima página"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Apelido"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Apelido"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Não há Campo Personalizado"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr ""
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Não há Grupo definido"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr ""
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Não há Fila definida"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Nenhum usuário RT foi encontrado. Favor consultar o administrador do RT.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Não há Modelo"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Não há Tíquete especificado.  Abortando o tíquete "
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Não há Tíquete especificado. Abortando modificações no tíquete\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Não há ação"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Não há coluna especificada"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Comando não encontrado\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Não há comentário sobre este usuário"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Não há nenhum arquivo anexado"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Não há descrição para %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Não há grupo especificado"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Não há senha especificada"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Não há permissão para criar filas"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Sem permissão para criar tíquetes na fila '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Sem permissão para criar usuários"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Sem permissão para mostrar o tíquete"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "sem permissão para ver modificar o tíquete"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Não há principal especificado"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Não há principal selecionado."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Não há fila satisfazendo o critério de busca."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Nenhum direito encontrado"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Nenhum direito outorgado."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Não há busca a realizar"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Não há identificador de tíquete especificado"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Não há tipo de transação especificada"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "Não há usuário ou endereço de email especificado"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Nenhum usuário satisfazendo o critério de busca foi encontrado."
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Nenhum usuário RT válido foi encontrado. O tratador de CVS do RT está desabilitado. Por favor, consulte o administrador do RT.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Nenhum valor enviado a _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Ninguém"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Campo inexistente?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Não logado"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Não entrou."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Não definido"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Ainda não implementado."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Ainda não implementado..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Notas"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "A notificação não pôde ser enviada"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Notificar AdminCcs"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Notificar AdminCcs como Comentário"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr ""
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr ""
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Notificar Outros Destinatários"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Notificar Outros Destinatários como Comentário"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Notificar Proprietário"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Notificar Proprietário como Comentário"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr ""
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr ""
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr ""
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Notificar Proprietários e AdminCcs sobre novos itens pendendo suas aprovações"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Notificar Requisitantes"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Notificar Requisitantes e Ccs"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Notificar Requisitantes e Ccs como Comentário"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Notificar Requisitantes, Ccs e AdminCcs"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Notificar Requisitantes, Ccs e AdminCcs como Comentário"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Nov."
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "Novembro"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Objeto não pôde ser criado"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Objeto criado"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr ""
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Out."
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "Outubro"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr ""
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr ""
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr ""
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "Em"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "Sobre Comentário"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "Sobre Correspondência"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "Sobre Criação"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "Sobre Mudança de Propriedade"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr ""
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "Sobre Mudança de Fila"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "Sobre Resolução"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "Sobre Mudança de Estado"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "Sobre Transação"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Só mostrar aprovações para requisições criadas depois de %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Só mostrar aprovações para requisições criadas antes de %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Aberto"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Abrir"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Requisições abertas"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Abrir tíquetes (da listagem) em uma nova janela"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Abrir tíquetes (da listagem) em outra janela"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Abrir tíquetes na correspondência"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Requisitando e ordenando"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Organização"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Tíquete originador: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr ""
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Após a data, a prioridade tende a"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Próprios tíquetes"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "OwnTicket"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Proprietário"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Proprietário mudou de %1 para %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Proprietário alterado à força de %1 para %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "O proprietário é"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Pager"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Telefone do Pager"
-
-#: NOT FOUND IN SOURCE
-msgid "Parent"
-msgstr "Pai"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Pais"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Senha"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Lembrete de Senha"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Senha muito curta"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Senha: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr ""
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr ""
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Pessoas"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Realizar uma ação definida pelo usuário"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Permissão Negada"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Grupoas Pessoais"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Grupos pessoais"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Grupos pessoais:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Telefones"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Preferências"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Prefs"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Anterior"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Página anterior"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Pri"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Principal %1 não encontrado."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Prioridade"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "A prioridade inicia em"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr ""
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Privilegiado"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Estado privilegiado: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Usuários privilegiados"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Falso-grupo para uso interno"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr ""
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr ""
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Fila"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Fila %1 não encontrada"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "A fila '%1' não foi encontrada\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Keyword Selections"
-msgstr "Seleções de Palavras-chave da Fila"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Nome da Fila"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Scrips da Fila"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "A fila já existe"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "A fila não pôde ser criada"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "A fila não pôde ser carregada"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Fila criada"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "A fila não foi especificada."
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Fila não encontrada"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Filas"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr ""
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr ""
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 para %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 por <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Direitos reservados 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Direitos reservados 1996-2002 Jesse Vincent <jesse\\\\@bestpractical.com>\\\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Adiministração do RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "Erro de autenticação no RT."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "Ricocheteio do RT: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "Erro de configuração do RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "Erro crítico no RT.  A mensagem não foi registrada!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Erro no RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "O RT recebeu email (%1) dele próprio."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "O RT recebeu email (%1) de si próprio."
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "Auto-serviço do RT / Tíquetes Fechados"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr ""
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT por alto"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "O RT não pôde autenticá-lo"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "O RT não pôde encontrar o requisitante através de consulta ao banco de dados externo"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "O RT não pôde encontrar a fila: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "O RT não pôde validar esta assinatura PGP. \\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT para %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT para %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "O RT processou seus comandos"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT tem &copy; Direitos Reservados 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  Ele é distribuído sob a <a href=\"http://www.gnu.org/copyleft/gpl.html\">Versão 2 da Licença Pública Geral GNU (GPL).</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT tem &copy; Direitos Reservados 1996-%1 por Jesse Vincent &lt;jesse@bestpractical.com&gt;.  Ele é distribuído sob a <a href=\\\"http://www.gnu.org/copyleft/gpl.html\\\">Versão 2 da Licença Pública Geral GNU (GPL).</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "O RT crê que esta mensagem seja um ricochete"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "O RT vai processar esta mensagem como se não fosse assinada.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "O modo de comandos por email do RT requer autenticação PGP. Ou você não assinou sua mensagem ou sua assinatura não pôde ser verificada."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Nome real"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "Nome real"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr ""
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "Referenciado por"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Faz referência a"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "RefersTo"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Refinar"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Refinar a Busca"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Recarregar esta página a cada %1 minutos."
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Remover AdminCc"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Remover Cc"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Remover Requisitante"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Responder"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr ""
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Responder aos tíquetes"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "ReplyToTicket"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Requisitante"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Endereço eletrônico do requisitante"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Requisitante(s)"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "RequestorAddresses"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Requisitantes"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "A requisições vencem em"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr ""
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Restaurar"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Residência"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Resolver"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Resolver tíquete #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Resolvido"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Resposta aos requisitantes"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Resultados"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Resultados por página"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Confirmar a Senha"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Direito de acesso %1 não encontrado para %2  %3 referente a %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Direito de Acesso Delegado"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Direito de Acesso Outorgado"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Direito de Acesso Carregado"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Direito de acesso não pôde ser revogado"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Direito de acesso não encontrado"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Direito de acesso não carregado."
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Direito de acesso revogado"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Direitos de Acesso"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Direitos de acesso não puderam ser outorgados a %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Direitos de acesso não puderam ser revogados de %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Papéis"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "RootApproval"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr ""
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Sáb."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr ""
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Salvar as Alterações"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Salvar as alterações"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr ""
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Scrip #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Scrip Criado"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Scrip removido"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Scrips"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Scrips para %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Scrips aplicáveis a todas as filas"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Buscar"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Critérios de Busca"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Buscar por aprovações"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Segurança:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "SeeQueue"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr ""
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Selecionar um grupo"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Selecionar uma fila"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Selecionar um usuário"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Selecionar um campo personalizado"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Selecionar um grupo"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Selecionar múltiplos valores"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Selecionar um valor"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Selecionar uma fila"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Selecionar um scrip"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Selecionar um esquema"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr ""
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Selecionar um usuário"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "SelectMultiple"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "SelectSingle"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Auto-serviço"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Enviar mensagem a todos os observadores"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Enviar mensagem a todos os observadores como um \"comentário\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Enviar mensagem aos requisitantes e Ccs"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Enviar mensagem aos requisitantes e Ccs como um comentário"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Envia uma mensagem aos requisitantes"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Envia uma mensagem aos Ccs e Bccs explicitamente listados"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr ""
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr ""
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Envia uma mensagem aos Ccs administrativos"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Envia uma mensagem aos Ccs administrativos como um comentário"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Envia uma mensagem ao proprietário"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Set."
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "Setembro"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr ""
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr ""
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Mostrar os Resultados"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Mostrar requisições aprovadas"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Mostrar o sumário"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Mostrar requisições negadas"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Mostrar os detalhes"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Mostrar requisições pendentes"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Mostrar requisições aguardando outras aprovações"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Mostrar comentário privado do tíquete"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Mostrar sumários do tíquete"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "ShowACL"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "ShowScrips"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "ShowTemplate"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "ShowTicket"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "ShowTicketComments"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Cadastrar como um Requisitante de tíquete ou um Cc de tíquete ou fila"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Cadastrar como um AdminCC de tíquete ou fila"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Assinatura"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Assinado como %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Único"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Saltar Menu"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Chave de ordenação"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Ordenar os resultados por"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "Ordenação"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Pendente"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Página inicial"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Iniciado"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "A data de iníciado '%1' não pôde ser compreendida"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Inicia"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Inicia Por"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "A data de início '%1' não pôde ser compreendida"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Estado"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Estado"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Mudança de Estado"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Estado alterado de %1 para %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "StatusChange"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Roubar"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Roubado de %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Roubado de %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Assunto"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Assunto modou para %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Enviar"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Enviar Workflow"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Deu certo"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Dom."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "SuperUser"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Sistema"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Erro do Sistema"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "Erro de sistema.  Direito não outorgado."
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "Erro de sistema.  direito não outorgado"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr ""
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Erro do sistema. Direito de acesso não delegado."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Erro do sistema. Direito de acesso não outorgado."
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "Erro de sistema.  Não posso outorgar direitos de acesso."
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Grupos do sistema"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "SystemRolegroup para uso interno"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Tomar"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Tomado"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Modelo"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Esquema #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Esquema removido"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Modelo não encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Modelo não encontrado\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Modelo processado"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Modelos"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Modelos de %1\\n"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Este já é o valor atual"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Este não é um valor para este campo personalizado"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Este é o mesmo valor"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Este principal já é um %1 para esta fila"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Este principal já é um %1 para este tíquete"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Este principal não é um %1 para esta fila"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Este principal não é um %1 para este tíquete"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Esta fila não existe"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Este tíquete tem dependências não resolvidas"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Este usuário já tem este direito de acesso"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Este usuário já possui este tíquete"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Este usuário não existe"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Este usuário já tem privilégios"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Este usuário já não tem privilégios"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Este usuário agora tem privilégios"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Este usuário agora não tem privilégios"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "Este usuário agora é não privilegiado"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Este usuário não pode possuir tíquetes nesta fila"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Este não é um identificador numérico"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Sumário"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "O CC de um tíquete"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "O CC administrativo de um tíquete"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "O comentário foi registrado"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "O seguinte comando procurará por todos os tíquetes ativos na fila 'geral' e alterar sua prioridade para 99 se eles não tiverem sido alterados em 4 horas:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "Os seguintes comandos não foram processados:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "O novo valor foi atribuído."
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "O proprietário de um tíquete"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "O requisitante de um tíquete"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Estes comandos geralmente não estão visíveis para o usuário"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr ""
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Este tíquete %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Esta ferramenta permite o usuário invocar módulos Perl arbitrários de dentro do RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Parece que esta transação não tem conteúdo"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "Os %1 tíquetes mais prioritários deste usuário"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "Os 25 tíquetes de mais alta prioridade deste usuário"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Qui."
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket"
-msgstr "Tíquete"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Tíquete # %1  %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "Tíquete # %1 atualização jumbo: %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Tíquete #%1 Atualização jumbo: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Tíquete #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Tíquete %1 criado na fila '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Tíquete %1 carregado\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Tíquete %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr ""
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "Histórico do Tíquete # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Identificador do tíquete"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Tíquete Resolvido"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Arquivo anexo do tíquete"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Conteúdo do tíquete"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Tipo do conteúdo do tíquete"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "O tíquete não pôde ser criado devido a um erro interno"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Tíquete criado"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "A criação do tíquete falhou"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Tíquete removido"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Id de tíquete não encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "Tíquete destruído"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Tíquete não encontrado"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "O estado do tíquete mudou"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Observadores do tíquete"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Tíquetes"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Tíquetes %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Tíquetes %1 por %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Tíquetes de %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "Tíquetes dependentes desta aprovação:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Tempo Restante"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Tempo Trabalhado"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Tempo restante"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Tempo de apresentação"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Tempo trabalhado"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "TimeLeft"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "TimeWorked"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Para gerar as diferenças desta transação"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "Para gerar as diferenças desta transação:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Última atualização"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr ""
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Transação"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Transação %1 removida"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Transação Criada"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Transaction->Create não pôde, já que você não especificou um id de tíquete"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Transações são imutáveis"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Tentando remover um direito de acesso: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Ter."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Tipo"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Não implementado"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Usuário Unix"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Usuário Unix"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Codificação de conteúdo desconhecida %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Ilimitado"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr ""
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Não privilegiado"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr ""
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Não tomado"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Atualizar"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Identificador de atualização"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr ""
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Tipo de atualização"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Atualizar todos estes tíquetes de uma vez"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Atualizar email"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Atualizar nome"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Atualização não registrada."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Atualizar os tíquetes selecionados"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Atualizar assinatura"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Atualizar o tíquete"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Atualizar o tíquete # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Atualizar o tíquete #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Atualizar tíquete #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "O tipo da atualização não foi nem correspondência e nem comentário."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Atualizado"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr ""
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr ""
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Usuário %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Usuário %1 Senha: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Usuário '%1' não encontrado"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Usuário '%1' não encontrado\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Definido pelo Usuário"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "Identificador de usuário"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Identificador do usuário"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Direitos de Acesso de Usuário"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "O usuário não pôde ser criado: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Usuário criado"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Grupos definidos pelo usuário"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Usuário notificado"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Visualização de usuário"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Nome de usuário"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Usuários"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Usuários que satisfazem o critério de busca"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "Valor da fila"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Valores"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Observar"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "WatchAsAdminCc"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "Observador carregado"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Observadores"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "Codificação de Web"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Qua."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Quando um tíquete for aprovado por todos os aprovadores, adicione uma correspondência ao tíquete original"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Quando um tíquete for aprovado por qualquer aprovador, adicione uma correspondência ao tíquete original"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Quando um tíquete é criado"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "Quando um tíquete de aprovação é criado, notificar o Proprietário e o AdminCc do item aguardando sua aprovação"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Quando acontecer qualquer coisa"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Sempre que um tíquete for resolvido"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Sempre que mudar o proprietário de um tíquete"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr ""
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Sempre que um tíquete mudar de fila"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Sempre que o estado de um tíquete mudar"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Sempre que ocorrer uma condição definida por usuário"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Sempre que um novo comentário é adicionado"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Sempre que uma nova correspondência é adicionada"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Trabalho"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Telefone de trabalho"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "Trabalhado"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Você já é proprietário deste tíquete"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Você não é um usuário autorizado"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Você só pode reatribuir seus próprios tíquetes ou aqueles que não têm dono"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "Você não tem permissão para ver este tíquete.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Você encontrou %1 tíquetes na fila %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Você foi desconectado do RT."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "Você não tem permissão para criar tíquetes nesta fila."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Você não pode criar requisições nesta fila."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Volte sempre"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Suas %1 requisições"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Seu administrador do RT configurou erradamente os endereços eletrônicos que invocam o RT"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Sua requisição foi aprovada por %1.  Outras aprovações ainda podem estar pendentes."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Sua requisição foi aprovada."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Sua requisição foi rejeitada"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Sua requisição foi rejeitada."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Nome de usuário ou senha incorretos"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "CEP"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[sem assunto]"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "como outorgado a %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr ""
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "contém"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "content"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "content-type"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "correspondência (provavelmente) não enviada"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "correspondência enviada"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "dias"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "morto"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "remover"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "removido"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "não satisfaz"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "não contém"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "igual a"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "falso"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "filename"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "maior que"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "grupo '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "horas"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "identificador"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "é"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "não é"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "menor que"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "satisfaz"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "min"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "minutos"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "modificações\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "meses"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "novo"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "sem valor"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "nenhum"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "diferente de"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "diferente"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "aberto"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "grupo pessoal '%1' para o usuário '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "fila %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "rejeitado"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "resolvido"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "seg"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "pendente"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "sistema %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "grupo do sistema '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "o componente chamador não especificou por que"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "tíquete #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "verdadeiro"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "grupo %1 não descrito"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "grupo sem descrição %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "usuário %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "semanas"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "com modelo %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "anos"
-
diff --git a/rt/lib/RT/I18N/ru.po b/rt/lib/RT/I18N/ru.po
deleted file mode 100644 (file)
index cd93e04..0000000
+++ /dev/null
@@ -1,6272 +0,0 @@
-# translation of ru-nortfm.po to Russian
-# translation of ru.po to Russian
-# Andrew Kornilov <andy@eva.dp.ua>, 2004, 2005.
-msgid ""
-msgstr ""
-"Last-Translator: Andrew Kornilov <andy@eva.dp.ua>\n"
-"PO-Revision-Date: 2005-03-11 15:38+0200\n"
-"Language-Team: Russian <ru@li.org>\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.9.1\n"
-"Project-Id-Version: ru\n"
-"MIME-Version: 1.0\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "&#8470;"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr ""
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr ""
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr ""
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr ""
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%1 %2 %3 %4:%5:%6 %7"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%1 %2 добавлен"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 назад"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 %2 изменено на %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%1 %2 удален"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 of group %3"
-msgstr "%1 %2 of group %3"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "%1 %2 с шаблоном %3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 эта заявка\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr ""
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (Не менять)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "%1 - %2 показано"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - Аргумент для передачи в %2"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr ""
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr ""
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr ""
-
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr ""
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "%1 СкриплетНаДействие загружен"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "%1 добавлено как значение для %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "%1 псевдонимы требуют идентификатор заявки для продолжения работы"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "%1 псевдонимы требуют идентификатор заявки для продолжения работы "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "%1 псевдонимы требуют идентификатор заявки для продолжения работы над (от %2) %3"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 является локальным объектом, но не найден в базе данных"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 пользователем %2"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 изменена с %2 на %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "%1 копия"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "%1 невозможно установить в %2."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 не может инициировать транзакцию (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 не может изменить статус на Решено. Возможно, база данных RT испорчена."
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "%1 создана"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "%1 удалена"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "%1 ваших заявок с наивысшими приоритетами"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "%1 ваших заявок с наивысшими приоритетами..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "%1 заявок с наивысшими приоритетами, созданных вами..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 больше не является %2 для этой очереди."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 больше не является %2 для этой заявки."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 больше не является значением для дополнительного поля %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 неверный идентификатор очереди."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 matches"
-msgstr "%1 совпадений"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 мин"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "%1 последних неназначенных заявок"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "%1 не отображается"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 объектов"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "Права %1"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 успешно произведено\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "%1 тип не известен для $MessageId"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "%1 тип не известен для %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 была создана без ТекущегоПользователя\\n"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 решит все заявки, входящие в групповой запрос"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "%1 приостановит заявки, которые зависят от запроса или включены в него"
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%1 %2 объектов"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr ""
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "%1 сохраненных запросов"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1: без вложений"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1б"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1к"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' является неверным значением статуса"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1' не является зарегистрированным действием."
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(Выделите пользователей для исключения из группы)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(Выделите скриплеты для удаления)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(Выделите пункты для удаления)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(Выделите пункты для удаления)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(Выделите получателей для исключения из списка уведомляемых)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(Выделите получателей для включения в список уведомляемых)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(Введите идентификаторы или ссылки на заявки, разделенные пробелами)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Enter ticket ids or URLs, seperated with spaces)"
-msgstr "(Введите идентификаторы или ссылки на заявки, разделенные пробелами)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(Если пустое, то по-умолчанию равно %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(Нет значения)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(Нет дополнительных полей)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(Нет пользователей)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(Нет скриплетов)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "(Нет шаблонов)"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(Нет)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Отправить скрытую копию сообщения об этом обновлении на эти адреса [разделяются запятой]. Список получателей, которые в дальнейшем будут получать скрытые копии сообщения об обновлениях, <b>не</b> будет изменен.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Отправить скрытую копию сообщения об этом обновлении на эти адреса [разделяются запятой]. Список получателей, которые в дальнейшем будут получать скрытые копии сообщения об обновлениях, <b>не</b> будет изменен.)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Отправить копию сообщения об этом обновлении на эти адреса [разделяются запятой]. Эти получатели в дальнейшем <b>будут</b> получать копии сообщения об обновлениях.)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(Отправить копию сообщения об этом обновлении на эти адреса [разделяются запятой]. Список получателей, которые в дальнейшем будут получать копии сообщения об обновлениях, <b>не</b> будет изменен.)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(Отправить копию сообщения об этом обновлении на эти адреса [разделяются запятой]. Список получателей, которые в дальнейшем будут получать копии сообщения об обновлениях, <b>не</b> будет изменен.)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(Отправить копию сообщения об этом обновлении на эти адреса [разделяются запятой]. Эти получатели в дальнейшем <b>будут</b> получать копии сообщения об обновлениях.)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(Используйте эти поля при выборе 'Задано пользователем' для уловий или действий)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(пусто)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no Summary)"
-msgstr "(нет сводной информации)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(имена не указаны)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no name)"
-msgstr "(нет имени)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(нет темы)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(нет значения)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(нет значений)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(только одна заявка)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(в ожидании подтверждения)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(в ожидании решения связанных заявок)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(в ожидании других заявок)"
-
-#: NOT FOUND IN SOURCE
-msgid "(requestor's group)"
-msgstr "(группа автора заявки)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(требуется)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(без названия)"
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I own..."
-msgstr "25 ваших заявок с наивысшими приоритетами..."
-
-#: NOT FOUND IN SOURCE
-msgid "25 highest priority tickets I requested..."
-msgstr "25 заявок с наивысшими приоритетами, созданные ваши..."
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr ""
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr ""
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr ""
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"Создать заявку в очереди\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "Пустой шаблон"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "Невозможно удалить ACE"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "Невозможно найти ACE"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "ACE не найден"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "ACEы можно только создавать и удалять"
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "Прекращаем работу во избежание нежелательного изменения заявки.\\n"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "Обо мне"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "Права доступа"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "Действие"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "Действие %1 не найдено"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "Действие принято."
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "Действие подготовлено..."
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "Добавить"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "Добавить АдминистративнуюКопию"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "Добавить Копию"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "Добавить критерий"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "Добавить еще файлы"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Next State"
-msgstr "Добавить следующее состояние"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "Добавить автора заявки"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "Добавить значение"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip to this queue"
-msgstr "Добавить скриплет для этой очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip which will apply to all queues"
-msgstr "Добавить скриплет, который будет действовать на все очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "Добавить новый глобальный скриплет"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "Добавить скриплет для этой очереди"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "Добавить скриплет, который будет действовать на все очереди"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "Добавить дополнительный критерий"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "Добавить комментарии или ответы на выбранные заявки"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "Добавить пользователей"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "Добавить наблюдателей"
-
-# Manual merge by Andrew Kornilov <andy@eva.dp.ua>
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr "Добавить, удалить или изменить значения дополнительных полей для объектов"
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "ДобавлятьСледующееСостояние"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "Пользователь добавлен как %1 для этой очереди"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "Пользователь добавлен как %1 для этой заявки"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "Адрес1"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "Адрес2"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "Административная Копия"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "Административный Комментарий"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "Административная Корреспонденция"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "Управление очередями"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "Управление пользователями"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "Общие настройки"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "Управление группами"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "Основные параметры очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "АдминистрироватьВсеПерсональныеГруппы"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "АдминистративнаяКопия"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "АдминистрироватьКомментарий"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "АдминистрироватьКорреспонденцию"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "АдминистрироватьДополнительноеПоле"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "АдминистрироватьДополнительныеПоля"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "АдминистрироватьГруппу"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "АдминистрироватьЧленствоВГруппах"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "АдминистрироватьСобственныеГруппы"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "АдминистрироватьОчередь"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "АдминистрироватьПользователей"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "Административная Копия"
-
-#: NOT FOUND IN SOURCE
-msgid "Admins"
-msgstr "Администраторы"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "Дополнительно"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "Расширенный поиск"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search Criteria"
-msgstr "Критерии расширенного поиска"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "После"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "Возраст"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Alias"
-msgstr "Псевдоним"
-
-#: NOT FOUND IN SOURCE
-msgid "Alias for"
-msgstr "Псевдоним для"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "Все подтверждения получены"
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "Все дополнительные поля"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "Все очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "Всегода отправлять сообщения авторам заявок независимо от отправителя сообщения"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "Применяется к"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "Применить"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "Применить ваши изменения"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "Подтверждения"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "Подтверждение #%1: %2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "Подтверждение #%1: Примечания не сохранены из-за системной ошибки"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "Подтверждение #%1: Примечания записаны"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "Детали подтверждения"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "Подтверждение получено"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "Подтверждение отклонено"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "Диаграмма подтверждений"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "Подтвердить"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "Примечания подтвердившего: %1"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "Апр."
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "Апрель"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "В порядке возрастания"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "Назначение и удаление дополнительных полей"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "НазначатьДополнительныеПоля"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "Вложение"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "Вложить файл"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "Вложенный файл"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "Вложение '%1' не может быть загружено"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "Вложение создано"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "Имя файла для вложения"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "Вложения"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "Атрибут удален"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "Авг."
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "Август"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "Тип регистрации"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "Автоответ"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "Автоответ Авторам Заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "АвтоответАвторатЗаявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Columns"
-msgstr "Доступные колонки"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "Неправильная подпись PGP: %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "Неверный идентификатор вложения. Невозможно найти вложение '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "Неправильная дата в %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "Неправильный номер транзакции для вложения. %1 должен быть %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "Основное"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "Скрытая копия"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "Не забудьте сохранить настройки"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "До"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "Начать подтверждение"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "Двоичный"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "Пустой"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "Ссылка на этот запрос для добавления в избранное"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "Ссылка для добавления в избранное"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "Сокращенные заголовки"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "Множественное обновление заявки"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "Невомзожно изменить системных пользователей"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "Может ли данный пользователь просматривать эту очередь"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "Невозможно добавление значения допольнительного поля без наименования"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "Невозможно найти сохраненный запрос для работы с ним"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "Невозможно связать заявку саму с собой"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "Невозможно объединить с объединенной заявкой (эта ошибка никогда не должна происходить)."
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "Невозможно сохранить этот запрос"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "Невозможно указывать одновременно и источник и адрес назначения"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "Невозможно создать пользователя: %1"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "Копия"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "Изменить пароль"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "Выбрать все"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "Выделите пункты для удаления"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "Выделите права, которые хотите отозвать"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "Потомки"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "Город"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "Очистить все"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "Закрыто"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "Закрытые заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed requests"
-msgstr "Закрытые запросы"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "Закрытые заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Code"
-msgstr "Код"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "Команда не распознана!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "Комментировать"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "Адрес для комментариев"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "Комментарий не записан"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "Комментарии заявки"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "КомментироватьЗаявку"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "Комментарии"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "Комментарии (Не отправляются авторам заявки)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "Комментарии (Не отправляются авторам заявки)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "Комментарии о %1"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "Комментарии об этом пользователе"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "Комментарии добавлены"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "Применить ограничения"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "Условие"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "Подходящее условие..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "Условие не найдено"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "Конфигурация"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "Подтвердить"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "Контактная информация"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "Невезможно идентифицировать дату последнего контакта '%1'"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "Содержимое"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "Тип-Содержания"
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "Невозможно создать группу"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "Копия"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "Корреспонденция"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "Адрес для корреспонденции"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "Корреспонденция добавлена"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "Корреспонденция не записана"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "Невозможно добавить новое значение дополнительного поля заявки."
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "Невозможно добавить новое значение дополнительного поля заявки. %1"
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr "Ошибка добавления нового значения для дополнительного поля. %1"
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "Невозможно изменить ответственного."
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "Невозможно создать дополнительное поле"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "Невозможно создать группу"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "Невозможно создать шаблон: %1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "Невозможно создать заявку. Не задана очередь."
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "Невозможно создать пользователя"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "Невозможно создать наблюдателя для автора заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "Невозможно найти заявку с идентификатором %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "Невозможно найти группу %1."
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "Невозможно найти или создать этого пользователя"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "Невозможно найти этого пользователя"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "Невозможно найти пользователя %1."
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "Невозможно загрузить дополнительное поле %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "Невозможно загрузить группу"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "Невозможно назначить этого пользователя %1 для этой очереди"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "Невозможно назначить этого пользователя %1 для этой заявки"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "Невозможно отозвать функции у пользователя как %1 для этой очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "Невозможно отозвать функции у пользователя как %1 для этой заявки"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "Невозможно установить информацию о пользователе"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "Невозможно добавить пользователя в группу"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "Невозможно создать транзакцию: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "Невозможно определить дальнейшие действия из ответа gpg\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "Невезможно найти группу\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "Невозможно найти строку"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "Невозможно найти этого пользователя"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "Невозможно найти это значение"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "Невозможно найти этого наблюдателя"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "Невозможно найти пользователя\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "Невозможно загрузить %1 из базы пользователей.\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr ""
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "Невозможно загрузить дополнительное поле %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "Невозможно загрузить файл настроек RT '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "Невозможно загрузить скриплеты."
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "Невозможно загрузить группу %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "Невозможно загрузить ссылку"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "Невозможно загрузить объект %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "Невозможно загрузить очередь"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "Невозможно загрузить очередь %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "Невозможно загрузить скриплет"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "Невозможно загрузить шаблон"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "Невозможно загрузить этого пользователя (%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "Невозможно загрузить заявку '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "Страна"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "Создать"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "Создать заявки"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "Создать дополнительное поле"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "Создать дополнительное поле для очереди 1"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "Создать дополнительное поле для всех очередей"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "Добавить новое дополнительное поле"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global Scrip"
-msgstr "Создать новый глобальный скриплет"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "Создать новый глобальный скриплет"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "Создать новую группу"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "Создать новую личную группу"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "Создать новую очередь"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "Создать новый скриплет"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "Создать новый шаблон"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "Создать новую заявку"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "Создать нового пользователя"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "Создать очередь"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "Создать очередь с именем"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "Создать запрос"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "Создать скриплет для очереди %1"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "Создать шаблон"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "Создать заявку"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "Ошибка создания: %1 / %2 / %3 "
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "Ошибка создания: %1/%2/%3"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "Создать новые заявки на основе этого шаблона скриплета"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "Создать заявку"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "Создать заявки в этой очереди"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "Создать, удалить или изменить дополнительные поля"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "Создать, удалить или изменить очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "Создать, удалить или изменить членов любой пользовательской персональной группы"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "Создать, удалить или изменить членов персональных групп"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "Создать, удалить или изменить пользователей"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "Создать Заявку"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "Создана"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "Создано дополнительное поле %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Created by"
-msgstr "Создано пользователем"
-
-#: NOT FOUND IN SOURCE
-msgid "Created during"
-msgstr "Создано во время"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "Создан шаблон %1"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "Автор заявки"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "Текущие связи"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Relationships"
-msgstr "Текущие взаимосвязи"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "Текущие скриплеты"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "Текущие пользователи"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "Текущие права"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "Текущие критерии поиска"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "Текущие наблюдатели"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "Дополнительное поле #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "Дополнительные поля"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "Дополнительные поля для %1"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "Пользовательский код очистки действия"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "Пользовательский код подготовки действия"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "Пользовательское условие"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "Дополнительное поле %1 %2 %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 does not apply to this object"
-msgstr "Дополнительное поле %1 не относится к этому объекту"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "Дополнительное поле %1 имеет значение."
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "Дополнительное поле %1 не имеет значения."
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "Невозможно найти дополнительное поле %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "Дополнительное поле удалено"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "Невозможно найти дополнительное поле"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "Невозможно найти значение %1 дополнительного поля %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "Значение дополнительного поля изменено с %1 на %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "Невозможно удалить значение дополнительного поля"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "Невозможно найти значение дополнительного поля "
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "Значение дополнительного поля удалено"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "ДополнительноеПоле"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "Ошибка данных"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "Даты"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "Дек."
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "Декабрь"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "Шаблон автоответа по умолчанию"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "Шаблон автоответа по умолчанию"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "Очередь по умолчанию"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "Автор заявки по умолчанию"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "Шаблон административного комментария по умолчанию"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "Шаблон административной корреспонденции по умолчанию"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "Шаблон корреспонденции по умолчанию"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "Шаблон транзакции по умолчанию"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "Умолчание: %1/%2 изменено с %3 на %4"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "Делегирование прав"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "Делегирование отдельных прав, которые выданы вам."
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "ДелегироватьПрава"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "Делегирование прав"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "Удалить"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "Удалить шаблон"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "Удалить выбранные скриплеты"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "Удалить заявки"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "УдалятьЗаявку"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "Удаление этого объекта может нарушить ссылочную целостность"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "Удаление этого объекта нарушит ссылочную целостность"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "Удаление этого объекта нарушит ссылочную целостность"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "Удаление этого объекта нарушит ссылочную целостность."
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "Удаление этого объекта нарушит ссылочную целостность."
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "Отказать"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "От неё зависят"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "Зависимости: \\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "Добавлено требование заявкой %1"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "Удалено требование заявкой %1"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "Добавлена зависимость от %1"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "Удалена зависимость от %1"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "Зависит от"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "Зависит от"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "В порядке убывания"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "Опишите проблему"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "Описание"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "Подробности"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "Показать"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "Показать список прав доступа"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "Показать колонки"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "Показать шаблоны скриплетов для этой очереди"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "Показать скриплеты для этой очереди"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "Режим отображения"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "Показать сохраненные запросы для этой группы"
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "Показать заявку #%1"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "Распространяется по версии 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> GNU GPL.</a>"
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "Делать все и везде"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "Не обновлять эту страницу"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "Не показывать результаты поиска"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "Загрузить"
-
-#: NOT FOUND IN SOURCE
-msgid "Download all the tickets as a tab delimited file"
-msgstr "Загрузить все заявки как файл со значениями, разделенными табуляцией"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "Загрузить как файл со значениями, разделенными табуляцией"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "Дан срок"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "Невозможно разобрать срок решения проблемы '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "ОШИБКА: Невозможно загрузить заявку '%1': %2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "Редактировать"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Conditions"
-msgstr "Редактировать условия"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "Редактирование дополнительных полей для %1"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "Редактировать связи"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "Редактировать запрос"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Relationships"
-msgstr "Редактировать взаимосвязи"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "Редактировать шаблоны для очереди %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "Редактировать ключевые слова"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr "Редактировать сохраненные запросы этой группы"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "Редактировать скриплеты"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "Редактировать системные шаблоны"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "Редактирование шаблонов для %1"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "РедактироватьСохраненныеЗапросы"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "Редактирование настроек очереди %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "Редактирование настроек пользователя %1"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "Редактирование поля %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "Редактирование списка пользователей группы %1"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "Редактирование списка пользователей персональной группы %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "Редактирование шаблона %1"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "Нужно указать либо источник, либо адрес назначения"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "Email"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "Email адрес уже занят"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "EmailAddress"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "EmailEncoding"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "Используется (снятие отметки отключает использование этого дополнительного поля)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "Используется (снятие отметки отключает использование этой группы)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "Используется (снятие отметки отключает использование этой очереди)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "Используемые дополнительные поля"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "Используемые очереди"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "Активирован статус %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "Активирован статус: %1"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "Введите несколько значений"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "Введите объекты или ссылки на объекты. Значения разделяются пробелами."
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "Введите одно значение"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "Введите оxthtlb или ссылки на оxthtlb. Значения разделяются пробелами."
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "Введите заявки или ссылки на заявки. Значения разделяются пробелами."
-
-#: NOT FOUND IN SOURCE
-msgid "Enter tickets or URIs to link tickets to. Seperate multiple entries with spaces."
-msgstr "Введите заявки или ссылки на заявки. Значения разделяются пробелами."
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "Введите до %1 значений"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "Ошибка"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "Ошибка добавления наблюдателя"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "Ошибка в параметрах Queue->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Queue->DelWatcher"
-msgstr "Ошибка в параметрах Queue->DelWatcher"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "Ошибка в параметрах Queue->DeleteWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "Ошибка в параметрах Ticket->AddWatcher"
-
-#: NOT FOUND IN SOURCE
-msgid "Error in parameters to Ticket->DelWatcher"
-msgstr "Ошибка в параметрах Ticket->DelWatcher"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "Ошибка в параметрах Ticket->DeleteWatcher"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "Расширить заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Estimate"
-msgstr "Расчетно"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "Расчетное"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "Все"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "Пример:"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "ExternalAuthId"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "ExternalContactInfoId"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "Дополнительная информация"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "Невозможно найти псевдо-группу 'Привилегированные'"
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "Невозможно найти псевдо-группу 'Непривилегированные'"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "Ошибка загрузки модуля %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "Фев."
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "Февраль"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "Имя файла"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "Заполнить несколько текстовых полей"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "Заполнить одно текстоввое поле"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "Заполнить до %1 текстовых полей"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "Конец"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "Конечный приоритет"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "Конечный приоритет"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "Найти группы, которые"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "Найти группы, которые"
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "Найти новые/открытые заявки"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "Найти пользователей, у которых"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "Поиск заявок"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "Подтвердить"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "Начало"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "Первая страница"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "Foo Bar Baz"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "Foo!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "Изменить принудительно"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "Найдено %quant(%1,ticket)"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "Найден объект"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "FreeformContactInfo"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "Птн."
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "Все заголовки"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "Взять шаблон из файла"
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "Берем текущего пользователя из pgp подписи\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "Назначено %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "Общие"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "Общие дополнительные поля"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "Общие скриплеты"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "Общий шаблон: %1"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "Отправить"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "Отправить!"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "Правильная pgp подпись от %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "Перейти на страницу"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "Показать заявку"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "Групповые"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "Группа %1 %2: %3"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "Права группы"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "Пользователь уже входит в группу"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "Невозможно создать группу."
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "Невозможно создать группу: %1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "Группа создана"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "В группе нет такого пользователя"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "Группа не найдена"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "Группа не найдена.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "Не задана группа.\\n"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "Группы"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "Группы не могут быть членами входящих в них пользователей"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "Группы, удовлетворяющие условию поиска"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "Группы, в которых состоит этот пользователь"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "Здравствуйте!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "Здравствуйте, %1"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "История"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "История группы %1"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "История пользователя %1"
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "Домашний телефон"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "В начало"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "Имеется %quant(%1,concrete mixer)."
-
-#: NOT FOUND IN SOURCE
-msgid "I have [quant,_1,concrete mixer]."
-msgstr "Имеется [quant,_1,concrete mixer]."
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "Заявка"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "Личность"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "Если подтверждение отклонено, отклонить заявку-первоисточник и удалить ожидающие подтверждения"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "Если не указан Автор, создать заявки от имени этого Автора."
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "Если очередь не указана, то создавать заявки в этой очереди."
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "Если бы эта программа имела установленный бит setgid, то зловредный пользователь мог бы воспользоваться этим для получения административных полномочий в RT."
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "После любых изменений необходимо"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "Недопустимое значение для %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "Изображение"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "Неизменяемое поле"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "Показывать неиспользуемые дополнительные поля."
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "Показывать неиспользуемые группы."
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "Показывать неиспользуемые очереди."
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "Показывать отключенных пользователей."
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "Начальный приоритет"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "Начальный приоритет"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "Ошибка ввода"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "Внутренняя ошибка"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "Внутренняя ошибка: %1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "Недопустимый тип группы"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "Недопустимое право"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "Недопустимый тип"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "Недопустимые данные"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "Несуществующий ответственный. Используем 'nobody'."
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "Недопустимая очередь"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "Недопустимое право"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "Недопустимое значение для %1"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "Недопустимое значение дополнительного поля"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "Недопустимое значение статуса"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "Обратите внимание, что непривилегированные пользователи не имеют права запускать эту программу."
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "Предполагается, что для запуска этой программы вы должны создать непривилегированную учетную запись пользователя Unix с корректными установками групп и доступом к RT."
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "Это требует несколько параметров:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "Заявки, ожидающие вашего подтверждения"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "Янв."
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "Январь"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "Присоединиться или покинуть эту группу"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "Июл."
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "Июль"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "Все данные"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "Июн."
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "Июнь"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "Ключевое слово"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "Язык"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "Язык"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "Конец"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "Последний контакт"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Contact</a>"
-msgstr "Последний контакт</a>"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "Последний контакт"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "Последнее уведомление"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "Последнее обновление"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "Последнее обновление"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "Последний раз обновлено"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "Осталось"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "Разрешить доступ к RT"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "Предоставить пользователю права"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "Ограничиваем ответственного для %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "Ограничиваем очередь для %1 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "Связь уже существует"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "Невозможно создать связь"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "Связь создана (%1)"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "Связь удалена (%1)"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "Связь не найдена"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "Связать заявку #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "Связать заявку %1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "Связи"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "Загрузить"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "Загрузить сохраненный запрос:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "Загруженные модули perl"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "Местонахождение"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "Не найден каталог для протоколирования %1 или не доступен на запись.\\n RT не может продолжить работу."
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "Зарегистрирован как %1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "Войти"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "Выйти"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr ""
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "Назначить ответственного"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "Установить статус"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "Установить конечный срок"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "Установить дату решения"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "Установить дату 'Начато'"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "Установить дату 'Начинается'"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "Установить дату последнего контакта"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "Установить приоритет"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "Назначить очередь"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "Установить тему"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "Управление дополнительными полями и их значениями"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "Управление группами и членами групп"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "Управление свойствами и настройками, которые применяются ко всем очередям"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "Управление очередями и их параметрами"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "Управление пользователями и паролями"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "Мар."
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "Март"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "Май"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "Май"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "Участник %1 добавлен"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "Участник %1 удален"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "Пользователь добавлен в группу"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "Пользователь удален из группы"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "Пользователь не удален из группы"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "Состоит в"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "Состоит в"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "Участники"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "Участие в %1 добавлено"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "Участие в %1 удалено"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "Участие в группах"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "Участие в группах данного пользователя %1"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "Заявки успешно объединены"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "Ошибка объединения. Невозможно установить идентификатор заявки."
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "Объединить с заявкой"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "Объединено в %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "Сообщение"
-
-#: NOT FOUND IN SOURCE
-msgid "Message body not shown because it is too large or is not plain text."
-msgstr "Тело сообщения не показано потому, что оно или слишком большое или не является текстом."
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "Невозможно записать сообщение"
-
-#: NOT FOUND IN SOURCE
-msgid "Message recipients"
-msgstr "Получатели сообщения"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "Сообщение записано"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "Сообщения об этой заявке не будет отправлены..."
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "Пропущен первичный ключ?: %1"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "Мобильный"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "Мобильный телефон"
-
-#: NOT FOUND IN SOURCE
-msgid "Modified"
-msgstr "Изменено"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify"
-msgstr "Изменить"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "Изменить список контроля доступа"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Field %1"
-msgstr "Изменить дополнительное поле %1"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "Изменить дополнительные поля, применяемые ко всем %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "Изменить дополнительные поля, применяемые ко всем очередям"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "Изменить права группы"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "Изменить участников"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "Изменить права"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "Изменить шаблоны скриплетов для данной очереди"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "Изменить скриплеты для данной очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "Изменить системные права доступа"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "Изменить шаблон %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "Изменить права пользователя"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "Изменить дополнительное поле для очереди %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "Изменить дополнительное поле, которое применяется ко всем очередям"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "Изменить скриплет для очереди %1"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "Изменить скриплет, который действует для всех очередей"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "Изменить ассоциированные объекты для %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "Изменить даты заявки #%1"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "Изменить даты заявки #%1"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "Изменить даты заявки #%1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "Изменить общие права группы"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "Изменить общие права группы."
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "Изменить общие права для групп"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "Изменить общие права для пользователей"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "Изменить общие скриплеты"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "Изменить общие права пользователя"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "Изменить общие права пользователя."
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "Изменить метаданные группы или удалить ее"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "Изменить права группы на дополнительное поле %1"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "Изменить права группы на группу %1"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "Изменить права группы на очередь %1"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "Изменить список участников этой группы"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "Изменить собственную учетную запись RT"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "Изменить пользователей, относящихся к очереди %1"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "Изменить пользователей, относящихся к заявке #%1"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "Изменить скриплеты для очереди %1"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "Изменить скриплеты, которые действуют на все очереди"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "Изменить шаблон %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "Изменить шаблоны, которые применяются ко всем очередям"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "Изменить группу %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "Изменить очередь наблюдателей"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "Изменить пользователя %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "Изменить заявку # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "Изменить заявку # %1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "Изменить заявки"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "Изменить права пользователя на дополнительное поле %1"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "Изменить права пользователей группы %1"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "Изменить права пользователя на очередь %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "Изменить наблюдателей очереди '%1'"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "ИзменятьПраваДоступа"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr "ИзменятьДополнительноеПоле"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "ИзменятьСобственноеУчастиеВГруппах"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "ИзменятьНаблюдателейОчереди"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "ИзменятьСкриплеты"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "ИзменятьСебя"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "ИзменятьШаблон"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "ИзменятьЗаявку"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "Пнд."
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "Информация о %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Move"
-msgstr "Переместить"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "Переместить вниз"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "Переместить вверх"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "Несколько значений"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "Вы должны указать Имя"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "%1 ваших заявок"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "Ваши подтверждения"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "Ваши подтверждения"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "Ваши сохраненные запросы"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "Имя"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "Имя уже используется"
-
-#: NOT FOUND IN SOURCE
-msgid "Name matches"
-msgstr "Совпадение имен"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "Необходимо подтверждение системного администратора"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "Никогда"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "Новых"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "Новые связи"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "Новый пароль"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "Новое ожидающее подтверждение"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "Новый запрос"
-
-#: NOT FOUND IN SOURCE
-msgid "New Relationships"
-msgstr "Новые связи"
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "Новый поиск"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "Новое дополнительное поле"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "Новая группа"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "Новый пароль"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "Отправлено сообщение с новым паролем"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "Новая очередь"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "Новый запрос"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "Новые права"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "Новый скриплет"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "Новый поиск"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "Новый шаблон"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "Новая заявка"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "Новая заявка не существует"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "Новый пользователь"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "Добавить пользователя с именем"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "Новые наблюдатели"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "Новые настройки окна"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "Вперед"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "Следующая страница"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "Следующая страница"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "Псевдоним"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "Псевдоним"
-
-#: NOT FOUND IN SOURCE
-msgid "No"
-msgstr "Нет"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr ""
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "Нет дополнительного поля"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "Дополнительное поле не указано"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "Группа не указана"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "Нет запроса"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "Очередь не указана"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "Пользователь RT не найден. Пожалуйста, обратитесь к вашему администратору RT.\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "Нет шаблона"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "Заявка не указана. Отмена."
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "Заявка не указана. Отменяем изменения заявки\\n\\n"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "Нет действия"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "Колонка не указана"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "Команда не найдена\\n"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "Нет комментариев о пользователе"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "Пустое сообщение"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "Нет описания для %1"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "Не указана группа"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "Группы, удовелятворяющие условию поиска, не найдены."
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "Нет присоединенных сообщений"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "Пароль не установлен"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "Нет прав для создания очередей"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "Нет прав для создания заявок в очереди '%1'"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "Нет прав для создания пользователей"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "Нет прав для просмотра этой заявки"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "Нет прав для просмотра обновлений этой заявки"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "Пользователь не указан"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "Пользователи не выбраны."
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "Очереди, удовелятворяющие условию поиска, не найдены."
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "Права не найдены"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "Права не выданы."
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "Нет запроса для поиска."
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "Нет темы"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "Идентификатор заявки не указан"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "Тип транзакции не указан"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "Пользователь или адрес email не указан"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "Пользователи, удовелятворяющие условию поиска, не найдены."
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "Не найден пользователь RT. Обработчик CVS отключен. Обратитесь к администратору RT.\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "Никакое значение не отправлено _Set!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "Никто"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "Несуществующее поле?"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "Не зарегистрирован"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "Не зарегистрирован."
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "Не установлено"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "Еще не реализовано."
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "Еще не реализовано..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "Примечания"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "Невозможно отправить уведомление"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "Уведомлять АдминистративныеКопии"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "Уведомлять АдминистративныеКопии как Комментарий"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "Уведомлять Копии"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "Уведомлять Копии как Комментарий"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "Уведомлять других Получателей"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "Уведомлять других Получателей как Комментарий"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "Уведомлять Ответственного"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "Уведомлять Ответственного как Комментарий"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "Уведомлять Ответственного об отклонении заявки"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "Уведомлять Ответственного о подтверждении заявки всеми подтверждающими"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "Уведомлять Ответственного о подтверждении заявки одним из подтверждающих"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "Уведомлять Ответственных и АдминистративныеКопии о новых, ожидающих их подтверждениях"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "Уведомлять АвторовЗаявки"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "Уведомлять АвторовЗаявки и Копии"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "Уведомлять АвторовЗаявки и Копии как Комментарий"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "Уведомлять Авторов заявки, Копии и АдминистративныеКопии"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "Уведомлять Авторов заявки, Копии и АдминистративныеКопии как Комментарии"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "Ноя."
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "Ноябрь"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "Невозможно создать объект"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "Объект создан"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "Тип объекта %1 не может содержать дополнительные поля"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "Несовпадение типа объекта"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "Окт."
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "Октябрь"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "Автономно"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "Автономное редактирование"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "Автономная закачка"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "На"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "На комментарий"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "При Корреспонденции"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "При Создании"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "При Изменении Ответственного"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "При Изменении Приоритета"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "При Изменении Очереди"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "При Решении"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "При Изменении Статуса"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "При Транзакции"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "Показывать подтверждения только для запросов, созданных после %1"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "Показывать подтверждения только для запросов созданных до %1"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "Открытых"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "Открыть"
-
-#: NOT FOUND IN SOURCE
-msgid "Open requests"
-msgstr "Открыть запросы"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "Открыть заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "Открыть заявки (из списка) в новом окне"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "Открыть заявки (из списка) в другом окне"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "Открыть заявки при корреспонденции"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "Сортировать по"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "Порядок и сортировка"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "Организация"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "Заявка-первоисточник: #%1"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "Исходящая почта о комментарии записана"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "Исходящая почта записана"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "Со временем поднять приоритет до"
-
-#: NOT FOUND IN SOURCE
-msgid "Overview"
-msgstr "Обзор"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "Назначить себя"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "БытьОтветственнымЗаЗаявку"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "Ответственный"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "Ответственный изменен с %1 на %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "Ответственный не может быть назначен"
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "Ответственный принудительно изменен с %1 на %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "Ответственный"
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "Страница %1 из %2"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "Пейджер"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "Телефон пейджера"
-
-#: NOT FOUND IN SOURCE
-msgid "Parent"
-msgstr "Предок"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "Предки"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "Пароль"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "Подсказка к паролю"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "Пароль слишком короткий"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "Пароль: %1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "Пароли не совпадают"
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "Пароли не совпадают. Ваш пароль не был изменен"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "Пользователи"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "Выволнить действие, указанное пользователем"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Конфигурация Perl"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "Нет доступа"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "Личные группы"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "Личные группы"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "Личные группы:"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "Номера телефонов"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "Заполнитель"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "Настройки"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "Настройки"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "Подготовка не реализована"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "Назад"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "Предыдущая страница"
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "Предыдущая страница"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "Приоритет"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "Пользователь %1 не найден."
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "Приоритет"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "Приоритет начинается с"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "Конфиденциальность:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "Привилегированные"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "Состояние привилегий: %1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "Привилегированные пользователи"
-
-#: NOT FOUND IN SOURCE
-msgid "Projects"
-msgstr "Проекты"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "Псевдогруппы для внутреннего использования"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "Запрос"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "Построитель запроса"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "Очередь"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "Очередь %1 не найдена"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "Очередь '%1' не найдена\\n"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "Наименование очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "Скриплеты очереди"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "Очередь уже существует"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "Невозможно создать очередь"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "Невозможно загрузить очередь"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "Очередь создана"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "Очередь не указана."
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "Очередь не найдена"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "Очереди"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "Быстрый поиск"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "Быстрое создание заявки"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr ""
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "RT %1 для %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 от <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "Настройка RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "Ошибка регистрации в RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "Письмо возвращено RT: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "Ошибка конфигурации RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "Критическая ошибка RT: Сообщение не было сохранено!"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "Ошибка RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT получил свое собственное сообщение (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "RT получил свое собственное сообщение (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service"
-msgstr "Самообслуживание RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "Самообслуживание RT / Закрытые заявки"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "Переменные RT"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "Обзор RT"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT не может зарегистрировать вас"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT не смог найти автора заявки во внешней базе данных"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT не может найти очередь: %1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT не может проверить эту подпись PGP. \\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "RT для %1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "RT для %1: %2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT выполнил ваши команды"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "Все права на RT защищены и охраняются законом.  &copy; 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  ПО распространяется под <a href=\"http://www.gnu.org/copyleft/gpl.html\">Стандартной Общественной Лицензией GNU Версии 2.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent <jesse@bestpractical.com>.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "Все права на RT защищены и охраняются законом.  &copy; 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  ПО распространяется под <a href=\"http://www.gnu.org/copyleft/gpl.html\">Стандартной Общественной Лицензией GNU Версии 2.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-2002 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "Все права на RT защищены и охраняются законом.  &copy; 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  ПО распространяется под <a href=\"http://www.gnu.org/copyleft/gpl.html\">Стандартной Общественной Лицензией GNU Версии 2.</a>"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT считает, что это сообщение может быть возвратом"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT будет обрабатывать это сообщение как неподписанное.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "Командный режим RT email требует использования подписи .PGP. Вы либо не подписали сообщение, либо ваша подпись не может быть проверена."
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "Полное имя"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "Полное имя"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "Ссылка на заявку заявки %1 добавлена"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "Ссылка на заявку заявки %1 удалена"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "Ссылка на %1 добавлена"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "Ссылка на %1 удалена"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "На неё ссылаются"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "Ссылается на"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "Ссылается на"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "Очистить"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "Очистить запрос"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "Обновлять эту страницу каждые %1 минут."
-
-#: NOT FOUND IN SOURCE
-msgid "Relationships"
-msgstr "Связи"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "Удалить административную копию"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "Удалить копию"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "Удалить Автора Заявки"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "Ответить"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "Адрес для ответа"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "Отвечать авторам заявки"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "Отвечать на заявки"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "ОтвечатьНаЗаявку"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "Автор заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "Email автора заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "Автор(-ы)"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "Адрес Автора заявки"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "Авторы заявок"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "Запросы должны быть обработаны за"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "Необходимый параметр '%1' не указан"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "Очистить"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "Домашний"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "Решить"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "Решить заявка #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "Решено"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "Ответ авторам заявки"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "Результаты"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "Результатов на странице"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "Повторите пароль"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "Обратить"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "Право %1 не найдено для %2  %3 в рамках %4 (%5)\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "Право делегировано"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "Право выдано"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "Право загружено"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "Право не может быть отозвано"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "Право не найдено"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "Право не загружено"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "Право отозвано"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "Права"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "Невозможно выдать права для %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "Невозможно отозвать права %1"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "Псевдо-группы"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "Строк на странице"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "Суб."
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "Сохранить"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "Сохранить изменения"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "Сохранить настройки"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "Сохранить изменения"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "Сохраненные запросы"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "Скриплет #%1"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "Скриплет создан"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "Поля скриплетов"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "Скриплет удален"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "Скриплеты"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "Скриплеты для %1\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "Скриплеты, которые действуют для всех очередей"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "Поиск"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "Критерии поиска"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "Поиск подтверждений"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Searches can't be associated with that kind of object"
-msgstr "Запросы не могут быть ассоциированы с таким типом объекта"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "Безопасность:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "Просмотреть дополнительные поля"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "Просмотреть полностью исходящую почту и ее получателей"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "Просмотреть конфиденциальный комментарий заявки"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "Просмотреть сводную информацию заявки"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "ПросматриватьДополнительныеПоля"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "ПросмативатьОчередь"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "Выбрать"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "Выберите дополнительное поле"
-
-#: NOT FOUND IN SOURCE
-msgid "Select a Custom Fields"
-msgstr "Выберите дополнительные поля"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "Выберите группу"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "Выберите очередь"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr "Выберите очередь для вашей новой заявки"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "Выберите пользователя"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "Выберите дополнительное поле"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "Выберите группу"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "Выбрать несколько значений"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "Выбрать одно значение"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "Выберите очередь"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "Выберите скриплет"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "Выберите шаблон"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "Выберите до %1 значений"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "Выберите пользователя"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "Выбрать несколько"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "Выбрать одно"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "Выбранные дополнительные поля"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "Выбранные объекты"
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "Самообслуживание"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "Отправить сообщение всем наблюдателям"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "Отправить сообщение всем наблюдателям как \"комментарий\""
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "Отправить сообщение всем Авторам заявки и Копиям"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "Отправить сообщение всем Авторам заявки и Копиям"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "Отправляет сообщение авторам заявки"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "Отправлять почту явно указанным Копиям и СкрытымКопиям"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "Отправлять почту Копиям"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "Отправлять почту Копиям как комментарий"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "Отправлять почту АдминистративнымКопиям"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "Отправлять почту АдминистративнымКопиям как комментарий"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "Отправлять почту Ответственному"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "Сен."
-
-#: NOT FOUND IN SOURCE
-msgid "Seperate multiple URLs with spaces"
-msgstr "Разделяйте несколько ссылок пробелами"
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "Сентябрь"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "Показать"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "Показать подтверждения"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "Показать колонки"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "Показать результаты"
-
-#: NOT FOUND IN SOURCE
-msgid "Show advanced search options..."
-msgstr "Показать дополнительные параметры поиска..."
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "Показать подтвержденные запросы"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "Показать основное"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "Показать отклоненные запросы"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "Показать подробности"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "Показать ожидающие запросы"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "Показать запросы, ждущие других подтверждений"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "Показать конфиденциальный комментарий заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "Показать сводную информацию заявки"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "ПоказыватьПраваДоступа"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "ПоказыватьИсходящуюПочту"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "ПоказыватьСохраненныеЗапросы"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "ПоказыватьСкриплеты"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "ПоказыватьШаблон"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "ПоказыватьЗаявку"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "ПоказыватьКомментарииЗаявки"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "Подписаться как Автор заявки или Копия заявки или очереди"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "Подписаться как АдминистративнаяКопия заявки или очереди"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "Подпись"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "Зарегистрирован как %1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "Одно значение"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "Пропустить меню"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "Сортировка"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort Order"
-msgstr "Метод сортировки"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "Ключ для сортировки"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "Сортировать по полю"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "Порядок сортировки"
-
-#: NOT FOUND IN SOURCE
-msgid "Squelched message recipients"
-msgstr "Скрытые получатели сообщения"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "Стадия"
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "Приостановленных"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "Начальная страница"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "Начался"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "Не могу разобрать дату 'Начался': '%1'"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "Начнется"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "Начато"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "Не могу разобрать дату 'Начато': '%1'"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "Состояние"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "Статус"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "Изменение статуса"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "Статус изменен с %1 на %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "ИзменятьСтатус"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "Переназначать себе"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "Переназначить заявки себе"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "ПереназначатьЗаявкуСебе"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "Ответственный переназначен с %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "Ответственный переназначен с %1 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "Тема"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "Тема изменена на %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "Отправить"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Query"
-msgstr "Отправить запрос"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "Отправить последовательность действий"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "Успешно"
-
-#: NOT FOUND IN SOURCE
-msgid "Summary"
-msgstr "Сводная информация"
-
-#: NOT FOUND IN SOURCE
-msgid "Summary matches"
-msgstr "Всего совпадений"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "Вск."
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "Администратор"
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "Системные"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "Системная конфигурация"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "Системная ошибка"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "Системная ошибка. Право не выдано"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "Системная ошибка. Право не выдано"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "Системные утилиты"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "Системная ошибка. Право не делегировано."
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "Cистемная ошибка. Право не выдано."
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "Системная ошибка. Невозможно выдать права"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "Системные группы"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "Системная псевдо-группа для внутреннего использования"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "Взять себе"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "Взять заявки себя"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "БратьЗаявкуСебе"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "Взята"
-
-#: NOT FOUND IN SOURCE
-msgid "Task"
-msgstr "Задача"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "Шаблон"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "Шаблон #%1"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "Шаблон удален"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "Шаблон не найден"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "Шаблон не найден\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "Шаблон обработан"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "Шаблоны"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "Шаблоны для %1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "Текст"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "Это уже текущее значение"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "Это поле не может иметь такого значения"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "Значение не изменилось"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "Этот пользователь уже имеет это право."
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "Этот пользователь уже %1 для этой очереди"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "Этот пользователь уже %1 для этой заявки "
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "Этот пользователь не %1 для этой очереди"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "Этот пользователь не %1 для этой заявки"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "Эта очередь не существует"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "Эта заявка имеет неразрешенные зависимости"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "Пользователь уже имеет это право"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "Пользователь уже ответственен за эту заявку"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "Пользователь не существует"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "Этот пользователь уже привилегированный"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "Этот пользователь уже непривилегированный"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "Этот пользователь теперь привилегированный"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "Этот пользователь теперь непривилегированный"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "Пользователь теперь непривилегированный"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "Этот пользователь не может быть ответственным за заявки в этой очереди"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "Это не числовой идентификатор"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "Основное"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "Копия заявки"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "Административная копия заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "Комментарий записан"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "Нижеследующая команда найдет все активные заявки в очереди 'Основная' и установит им приоритет 99, если в них небыло активности более 4-х часов:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "Эти команды не были выполнены:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "Новое значение установлено"
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "Ответственный за заявку"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "Автор заявки"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "Эти комментарии не показываются обыкновенному пользователю"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "Это дополнительное поле не относится к этому объекту"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "Это возможность доступна только для системных администраторов."
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "Это сообщение будет отправлено..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "Эта заявка %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "Этот инструмент позволяет пользователю запускать некоторые модули Perl из RT."
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "Похоже, что эта транзакция не имеет содержимого"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "%1 заявок максимального приоритета этого пользователя"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "25 важнейших заявок пользователя..."
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "Чтв."
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket"
-msgstr "Заявка"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "Заявка # %1  %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "Заявка # %1 Изменение всех данных: %2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "Заявка #%1 Изменение всех данных: %2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "Заявка #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "Заявка %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "Заявка %1 создана в очереди '%2'"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "Заявка %1 загружена\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "Заявка %1: %2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "Дополнительные поля заявки"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "История заявки # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "Заявка #"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "Заявка решена"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "Транзакции заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "Вложения заявки"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "Содержимое заявки"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "Тип данных содержимого заявки"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "Заявка не может быть создана из-за внутренней ошибки"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "Заявка создана"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "Невомзожно создать заявку"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "Заявка удалена"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "Идентификатор заявки не найден"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "Заявка уничтожена"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "Метаданные заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "Заявка не найдена"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "Статус заявки изменен"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "Наблюдатели за заявкой"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "Поиск заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "Заявки %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "Заявки %1 пользователя %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "Заявки от %1"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "От этого подтверждения зависят следующие заявки:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "Расчётное время"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "Осталось времени"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "Время в работе"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "Осталось времени"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "Время для показа"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "Время в работе"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "Осталось времени"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "Время в работе"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "Для генерации изменений этого коммита:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "Для генерации изменений этого коммита:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "Для запроса поддержки, обучения, разработки на заказ или лицензирования обращайтесь %1."
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "Контакт"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "Утилиты"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "Транзакция"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "Транзакция %1 удалена"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "Транзакция создана"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "Дополнительные поля транзакции"
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "Транзакция->Создать невозможно, так как вы не указали идентификатор заявки"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "Транзакция->Создать невозможно, так как вы не указали тип объекта и идентификатор"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "Неизменяемые транзакции"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "Пытаемся удалить право: %1"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "Втр."
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "Тип"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "Не реализовано"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "Логин UNIX"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "Имя пользователя UNIX"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "Неизвестная кодировка %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "Не ограничено"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "Безымянный запрос"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "Непривилегированный"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "Невыбранные дополнительные поля"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "Невыбранные объекты"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "Не взята"
-
-#: NOT FOUND IN SOURCE
-msgid "Untitled search"
-msgstr "Безымянный запрос"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "Обновить"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "Обновить все"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "Обновить идентификатор"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "Обновить заявку"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "Обновить тип"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "Изменить все эти заявки одновременно"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "Обновить e-mail"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "Обновить несколько заявок"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "Обновить имя"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "Обновление не записано."
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "Обновить выбранные заявки"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "Обновить подпись"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "Обновить заявку"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "Обновление заявки # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "Обновление заявки #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "Обновление заявки #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "Обновление не было ни сообщением, ни комментарием."
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "Обновлена"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "Загрузить"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "Загрузить несколько файлов"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "Загрузить несколько изображений"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "Загрузить один файл"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "Загрузить одно изображение"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "Закачать до %1 файлов"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "Закачать до %1 изображений"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "Загрузить ваши изменения."
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "Пользователь %1 %2: %3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "Пользователь %1 Пароль: %2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "Пользователь '%1' не найден."
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "Пользователь '%1' не найден"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "Пользователь '%1' не найден\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "Задано пользователем"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "Заданные пользователем условия и действия"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "Логин"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "Логин"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "Права пользователя"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "Пользователь запросил обновление неизвестного типа для дополнительного поля %1 для объекта %2  #%3"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "Невозможно создать пользователя: %1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "Пользователь создан"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "Группы, определенные пользователем"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "Пользовать загружен"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "Пользователю отправлено напоминание"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "Пользовательские настройки"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "Группы, заданные пользователем"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "Имя пользователя"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "Пользователи"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "Пользователи, удовлетворяющие критериям поиска"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "Проверить запрос"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "Значение запроса"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "Значения"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "Наблюдать"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "НаблюдатьАдминистративнойКопией"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "Наблюдатель загружен"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "Наблюдатели"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "WebEncoding"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "Срд."
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "Когда заявка подтверждена всеми подтверждающими, добавить запись в оригинальную заявку"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "Когда заявка подтверждена любым из подтверждающих, добавить запись в оригинальную заявку"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "Когда заявка создана"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "При создании заявки подтверждения уведомлять Ответственного и АдминистративнуюКопию заявкиAdminCc of the item awaiting their approval, ожидающей подтверждения"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "Когда что-либо произойдет"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "Каждый раз при решении заявки"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "Каждый раз при изменении ответственного заявки"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "Каждый раз при изменении приоритета заявки"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "Каждый раз при изменении очереди очереди"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "Каждый раз при изменении статуса заявки"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "Каждый раз при срабатывании условия, заданного пользователем"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "Каждый раз при добавлении комментария"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "Каждый раз при приходе корреспонденции"
-
-#: NOT FOUND IN SOURCE
-msgid "Which are referred to by "
-msgstr "Которая связана пользователем"
-
-#: NOT FOUND IN SOURCE
-msgid "Which refer to"
-msgstr "Которая ссылается на"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "Рабочий"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "Работать автономно"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "Рабочий"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "В работе"
-
-#: NOT FOUND IN SOURCE
-msgid "Yes"
-msgstr "Да"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "Вы уже ответственный за эту заявку"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "Вы незарегистрированный пользователь"
-
-#: NOT FOUND IN SOURCE
-msgid "You can access it with the Download button on the right."
-msgstr "Вы можете получить это, нажав справа кнопку Загрузить"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "Вы можете назначать ответственного только для своих или ничьих заявок."
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "У вас нет права на просмотр этой заявки.\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "Найдено %1 заявок в очереди %2"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "Вы вышли из RT."
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "У вас нет права создавать заявки в этой очереди."
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "Вы не должны создавать запросы в этой очереди."
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "Заходите еще"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "Ваши запросы: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "Администратор RT неправильно настроил почтовые алиасы"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "Ваш запрос подтвердил %1. Другие подтверждения могут продолжать находиться в ожидании."
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "Ваш запрос подтвержден."
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "Ваш запрос отклонен"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "Ваш запрос отклонен."
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "Имя пользователя или пароль неверные"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "Индекс"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[нет темы]"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "and is not"
-msgstr "и не является"
-
-#: NOT FOUND IN SOURCE
-msgid "and not"
-msgstr "и не"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "с правами %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "закрыто"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "содержит"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "содержимое"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "тип данных"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "корреспонденция (возможно) не отправлена"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "корреспонденция отправлена"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "дней"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "удалить"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "удалена"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "не совпадает"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "не содержит"
-
-#: NOT FOUND IN SOURCE
-msgid "email address"
-msgstr "адрес email"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "равняется"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "ложь"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "имя файла"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "больше чем"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "группа '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "часов"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "идентификатор"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "является"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "не является"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "меньше чем"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "совпадает"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "мин"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "минут"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "изменения\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "месяцев"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "новая"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "нет имени"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "нет значения"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "нет"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "не равно"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "неравно"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "открыта"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "личная группа '%1' для пользователя '%2'"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "очередь %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "отклонена"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "решена"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "сек"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "электронная таблица (.xls)"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "приостановлена"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "система %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "системная группа '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "вызывающий компонент не указал причину"
-
-#: NOT FOUND IN SOURCE
-msgid "ticket #%1"
-msgstr "заявка #%1"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "заявка #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "till"
-msgstr "пока"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "истина"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "группа без описания: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "undescripbed group %1"
-msgstr "группа без описания: %1"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "пользователь %1"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "недель"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "с шаблоном %1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "лет"
-
diff --git a/rt/lib/RT/I18N/zh_cn.po b/rt/lib/RT/I18N/zh_cn.po
deleted file mode 100644 (file)
index 1f87998..0000000
+++ /dev/null
@@ -1,7908 +0,0 @@
-# Chinese localization catalog for Request Tracker (RT)
-msgid ""
-msgstr ""
-"Last-Translator: Autrijus Tang <autrijus@autrijus.org>\n"
-"Language-Team: Chinese <members@ourinet.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "#%1"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr "$prefix %1"
-
-#: NOT FOUND IN SOURCE
-msgid "%*(%1,group ticket)"
-msgstr "%*(%1) 件参与的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "%*(%1,ticket) due"
-msgstr "%*(%1) 件限期完成的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "%*(%1,unresolved ticket)"
-msgstr "%*(%1) 件尚未解决的申请单"
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 #%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%7-%2-%3 %4:%5:%6 %1"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%2 已新增为 %1"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 之前"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 已从 %2 改为 %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%2 已自 %1 删除"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 of group %3"
-msgstr "%3 群组的 %1 %2"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "条件:%1 | 动作:%2 | 模板:%3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 这份申请单\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) - %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (未更改)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "显示第 %1 - %2 笔"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - 传递给 %2 的一个参数"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - 将更新状态输出到 STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - 指定欲使用的动作模块"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - 指定欲使用的条件模块"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - 指定欲使用的查询模块"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr "%1 RT %2 版,%4 版权所有,1996-%3。"
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "加载手续 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 Total"
-msgstr "共 %1 笔"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "新增 %1 作为 %2 的值"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "别名 %1 需要可用的申请单编号"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "别名 %1 需要可用的申请单编号 "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "别名 %1 需要可用的申请单编号以处理 %3(出自 %2)"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 看来是个本地对象,却不在数据库里"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 (%2)"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 的值从 %2 改为 %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "%1 复制"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "无法将 %1 设定为 %2。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 无法初始更新 (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 无法将现况设成已解决。RT 数据库内容可能不一致。"
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "已建立 %1"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "已删除 %1"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "前 %1 份待处理申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "前 %1 份待处理申请单..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "前 %1 份送出的申请单..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets pending my approval..."
-msgstr "前 %1 份待签核申请单..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 是从外部排程程序(如 cron)来对申请单进行操作的工具。"
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 已不再是此表单的 %2。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 已不再是此申请单的 %2。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 已不再是自订字段 %2 的值。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 不是一个合法的表单编号。"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 分钟"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "前 %1 份待认领的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "没有显示 %1"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 对象"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 recent tickets I own..."
-msgstr "最新 %1 份待处理申请单..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 recent tickets I requested..."
-msgstr "最新 %1 份送出的申请单..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 result(s) found"
-msgstr "找到 %1 项结果"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1权限"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 完成\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "不知道 $MessageID 的 %1 类别"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "不知道 %2 的 %1 类别"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 新增时未指定现行使用者"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 会解决在已解决群组里成员的申请单。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "如果 %1 起始申请单依赖于某个链接,或是某个链接的成员,它将会被延宕。"
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%1 内的 %2 对象"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr "%1 内的 %2 的 %3 对象"
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "%1 已储存的查询"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1:未指定附件"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1 字节"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k 字节"
-
-#: NOT FOUND IN SOURCE
-msgid "%quant(%1,result) found"
-msgstr "找到 %1 项结果"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' 不是一个合法的状态值"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1'为无法辨识的动作。 "
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(点选欲删除的成员)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(点选欲删除的手续)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(点选欲删除的项目)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(点选欲删除的项目)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(点选欲停用通知的收件人)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(点选欲启用通知的收件人)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(键入申请单编号或网址,以空白分隔)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(如果留白, 则预设为 %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(没有值)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(没有自订字段)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(没有成员)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(没有手续)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "没有模板"
-
-#: NOT FOUND IN SOURCE
-msgid "(No workflows)"
-msgstr "没有流程"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(无)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(送出本份更新的密件副本给名单上以逗号隔开的电子邮件地址。这<b>不会</b>更改后续的收件者名单。)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(送出本份更新的密件副本给名单上以逗号隔开的电子邮件地址。这<b>不会</b>更改后续的收件者名单。)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(送出本份更新的副本给名单上以逗号隔开的管理员电子邮件地址。这<b>将会</b>更改后续的收件者名单。)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(送出本份更新的副本给名单上以逗号隔开的电子邮件地址。这<b>不会</b>更改后续的收件者名单。)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(送出本份更新的副本给名单上以逗号隔开的电子邮件地址。这<b>不会</b>更改后续的收件者名单。)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(送出本份更新的副本给名单上以逗号隔开的电子邮件地址。这<b>将会</b>更改后续的收件者名单。)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(当条件或动作设为‘使用者自订’时,请填入这些字段)"
-
-#: NOT FOUND IN SOURCE
-msgid "(default delegate)"
-msgstr "(预设代理人)"
-
-#: NOT FOUND IN SOURCE
-msgid "(delete)"
-msgstr "(删除)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(空白)"
-
-#: NOT FOUND IN SOURCE
-msgid "(new)"
-msgstr "(新增)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(没有列出姓名)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(没有主题)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(无)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(没有值)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(仅能指定一份申请单)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(等待签核)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(等待其它集合)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(等待其它申请单)"
-
-#: NOT FOUND IN SOURCE
-msgid "(requestor's group)"
-msgstr "(申请人所属)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(必填)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(未命名)"
-
-#: NOT FOUND IN SOURCE
-msgid "*"
-msgstr "★"
-
-#: NOT FOUND IN SOURCE
-msgid ":"
-msgstr ":"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr "<%$_%>"
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr "<%$field%>"
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"提出申请单\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "空白模板"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE 已删除"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE 已加载"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "无法删除 ACE"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "找不到 ACE"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "找不到 ACE 设定"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "祇能新增或删除 ACE 设定。"
-
-#: NOT FOUND IN SOURCE
-msgid "ACLEquivalence"
-msgstr "ACLEquivalence"
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "离开以免不小心更改到申请单。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "About Me"
-msgstr "个人信息"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "个人信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Access Right"
-msgstr "系统使用登录权限"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "存取权限"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "动作"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "动作 %1 找不到"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "动作执行完毕"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "动作准备完毕..."
-
-#: NOT FOUND IN SOURCE
-msgid "Activated Date"
-msgstr "申请激活时间"
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "新增"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "新增管理员副本收件人"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "新增副本收件人"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "新增条件"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Entry"
-msgstr "新增列"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "新增更多附件"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Next State"
-msgstr "新增下一项关卡"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "新增申请人"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "新增字段值"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip to this queue"
-msgstr "新增此表单的手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip which will apply to all queues"
-msgstr "新增适用于所有表单的手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a keyword selection to this queue"
-msgstr "新增此表单的关键词"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "新增全域手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "新增一道手续到此表单"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "新增一道用于所有表单的手续"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "新增查询条件"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "新增评论或回复到指定的申请单"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "新增成员"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "新增视察员"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "新增下一项关卡"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "单位已新增为此表单的 %1"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "单位已新增为此申请单的 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Additional Hints"
-msgstr "额外提示"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "住址"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "住址(续)"
-
-#: NOT FOUND IN SOURCE
-msgid "Adjust Blinking Rate"
-msgstr "调整闪烁速度快慢"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin"
-msgstr "管理员"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "管理员副本"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "管理员评论"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "管理员回复"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin Rights"
-msgstr "管理员权限"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "表单管理"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "使用者管理"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "管理/全域设定"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "管理/群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "管理/表单/基本信息"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAddress"
-msgstr "管理员 Email"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "管理所有代理人群组"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "管理员副本"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "管理员评论"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "管理员回复"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "管理自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "管理自订字段"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "管理群组"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupDescription"
-msgstr "管理群组描述"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "管理群组成员"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupName"
-msgstr "管理群组名称"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupPermission"
-msgstr "管理群组权限"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupStatus"
-msgstr "管理群组状态"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "管理代理人群组"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "管理表单"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "管理使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Administrative"
-msgstr "行政类"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "管理员副本"
-
-#: NOT FOUND IN SOURCE
-msgid "Admins"
-msgstr "主管"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "进阶"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "进阶查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search Criteria"
-msgstr "进阶查询条件"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "晚于"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "经历时间"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Alias"
-msgstr "执行其它流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Alias for"
-msgstr "相当于"
-
-#: NOT FOUND IN SOURCE
-msgid "All"
-msgstr "全部"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "完成全部签核"
-
-#: NOT FOUND IN SOURCE
-msgid "All Condition"
-msgstr "所有条件"
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "所有自订字段"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "所有表单"
-
-#: NOT FOUND IN SOURCE
-msgid "All Users"
-msgstr "全体员工"
-
-#: NOT FOUND IN SOURCE
-msgid "All done!  Now you can proceed to %1."
-msgstr "处理完毕!您现在可以继续进行 %1。"
-
-#: NOT FOUND IN SOURCE
-msgid "Allowance Request"
-msgstr "福利补助申请"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "无论寄件来源为何,一律寄信给申请人"
-
-#: NOT FOUND IN SOURCE
-msgid "Amount"
-msgstr "数额"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Any Condition"
-msgstr "任意条件"
-
-#: NOT FOUND IN SOURCE
-msgid "Applies To"
-msgstr "套用于"
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "套用于"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "套用"
-
-#: NOT FOUND IN SOURCE
-msgid "Apply Template"
-msgstr "引用模板"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "套用更动"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "签核"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "签核单 #%1:%2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "签核单 #%1:系统错误,记录失败"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "签核单 #%1:记录完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "签核细节"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Due"
-msgstr "签核时限"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Notes"
-msgstr "签核意见"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "完成某项签核"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "驳回某项签核"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Result"
-msgstr "签核结果"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Status"
-msgstr "核准结果"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Type"
-msgstr "签核种类"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "签核流程"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "核准"
-
-#: NOT FOUND IN SOURCE
-msgid "Approver"
-msgstr "签核人"
-
-#: NOT FOUND IN SOURCE
-msgid "Approver Setting"
-msgstr "执行签核人设定"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "签核备注:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Apr"
-msgstr "四月"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "04"
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "四月"
-
-#: NOT FOUND IN SOURCE
-msgid "Are you sure to delete checked items?"
-msgstr "您确定要删除?"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "递增"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "指派及移除自订字段"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "指派自订字段"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "附件"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "附加档案"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "现有附件"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "无法加载附件 '%1'"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "附件新增完毕"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "附件档名"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "附件"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "已删除该属性"
-
-#: NOT FOUND IN SOURCE
-msgid "Attributes"
-msgstr "属性"
-
-#: NOT FOUND IN SOURCE
-msgid "Aug"
-msgstr "八月"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "08"
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "八月"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "认证方式"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoReject"
-msgstr "自动驳回表单"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoResolve"
-msgstr "自动完成表单处理"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "自动回复"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "自动对申请人回复"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "自动对申请人回复"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Columns"
-msgstr "可用的字段:"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Rights:"
-msgstr "权限项目列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Back to Homepage"
-msgstr "回到首页"
-
-#: NOT FOUND IN SOURCE
-msgid "Back to Previous"
-msgstr "回上页"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "错误的 PGP 签章:%1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "错误的附件编号。无法找到附件 '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "%1 的数据错误"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "附件的处理号码错误。%1 应为 %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "基本信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Batch Approval"
-msgstr "批次签核"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "密件副本"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "请别忘了储存修改。"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "早于"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "开始签核"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin From "
-msgstr "起始日"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "档案"
-
-#: NOT FOUND IN SOURCE
-msgid "Birthday"
-msgstr "生日"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "空白模板"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "将查询结果转为可放入书签的网址"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "可放入书签的网址"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "精简标头档"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "更新整批申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Business Unit"
-msgstr "事业部"
-
-#: NOT FOUND IN SOURCE
-msgid "Business Unit:"
-msgstr "事业部:"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "无法更改系统使用者"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "该单位是否能查阅此表单"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "不能新增没有名称的自订字段值"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "找不到已储存的查询"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "申请单不能链接自己。"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "不能整合进已整合过的申请单。这个错误不该发生。"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "无法储存此项查询"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "不能同时指定起始申请单与目的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Cancel"
-msgstr "取消"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "无法新增使用者:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Cannot login: Your system clock differs from server's by %1 seconds!"
-msgstr "您的系统时钟和服务器相差 %1 秒,无法登入!"
-
-#: NOT FOUND IN SOURCE
-msgid "Card No."
-msgstr "卡号"
-
-#: NOT FOUND IN SOURCE
-msgid "Categories"
-msgstr "分类管理"
-
-#: NOT FOUND IN SOURCE
-msgid "Category"
-msgstr "分类"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "副本"
-
-#: NOT FOUND IN SOURCE
-msgid "Cc Type"
-msgstr "副本类别"
-
-#: NOT FOUND IN SOURCE
-msgid "Chairperson's Office"
-msgstr "董事长室"
-
-#: NOT FOUND IN SOURCE
-msgid "Change Ticket"
-msgstr "修改申请单"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "更改口令"
-
-#: NOT FOUND IN SOURCE
-msgid "ChangeOwnerUI"
-msgstr "可否选择表单承办人"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "全部选取"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "选择欲删除的项目"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "选择欲撤消的权利"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "子申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Chinese Name"
-msgstr "中文姓名"
-
-#: NOT FOUND IN SOURCE
-msgid "Chinese/English"
-msgstr "中英文"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "所在城市"
-
-#: NOT FOUND IN SOURCE
-msgid "ClassicUI"
-msgstr "传统接口"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "全部清除"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "已解决"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "已解决的申请单"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "已解决的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Code"
-msgstr "执行程序码"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "指令无法辨识!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "评论"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "评论电子邮件地址"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "评论未被纪录"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "对申请单提出评论"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "评论申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "评论"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "评论(不送给申请人)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "评论(不送给申请人)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "对 %1 的评论"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "使用者描述"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "新增评论完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "Commit"
-msgstr "确认"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "消除更动完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "Company Name"
-msgstr "公司名称"
-
-#: NOT FOUND IN SOURCE
-msgid "CompanySpecific"
-msgstr "各公司独立显示"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "设定查询条件"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "条件"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "符合条件..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "未找到符合的现况"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "设定"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "确认口令"
-
-#: NOT FOUND IN SOURCE
-msgid "Confirm Password"
-msgstr "口令确认"
-
-#: NOT FOUND IN SOURCE
-msgid "Confirm Submit"
-msgstr "确定送出"
-
-#: NOT FOUND IN SOURCE
-msgid "Contact System Administrator"
-msgstr "连络系统管理员"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "连络信息系统"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "无法解读联络日期 '%1'"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "内容"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "内容类型"
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "无法新增群组"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "复制"
-
-#: NOT FOUND IN SOURCE
-msgid "Copy Field From:"
-msgstr "欲复制字段:"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "回复"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "申请单回复地址"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "新增申请单回复"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "未纪录申请单回复"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "不能新增自订字段的值 "
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "不能新增自订字段的值。%1 "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "不能更改承办人。 "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "无法新增自订字段"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create Scrip"
-msgstr "无法建立讯息通知"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create Template"
-msgstr "无法建立通知模板"
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "无法新增群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create item"
-msgstr "无法新增项目"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "无法新增模板:%1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "无法新增申请单。尚未指定表单。"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "无法新增使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "无法为申请人新增视察员"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create workflow: %1"
-msgstr "无法新增流程:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "找不到编号 %1 的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "找不到群组 %1。"
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "找不到或无法新增该名使用者"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "找不到该单位"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "找不到使用者 %1。"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "无法加载字段 %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "无法加载群组"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "无法将该单位设为此表单的 %1。"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "无法将该单位设为此申请单的 %1。"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "无法将单位 %1 从表单移除。"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "无法将单位 %1 从申请单移除。"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "无法设定使用者信息"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "无法新增成员至群组"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "无法新增更动报告"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "无法从 gpg 回函辨识出该采取的行动\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "找不到群组\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "找不到此列数据"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "找不到该单位"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "找不到该值"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "找不到该视察员"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "找不到使用者\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "无法从使用者数据库加载 %1。\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "无法加载类别 %1"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "无法加载自订字段 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "无法加载 KeywordSelects。"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "无法加载 RT 设定档 '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "无法加载手续。"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "无法加载手续 %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "无法加载链接。"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "无法加载对象 %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "无法加载表单"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "无法加载表单 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "无法加载手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "无法加载模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "无法加载该名使用者(%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "无法加载申请单 '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "国家"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "新增"
-
-#: NOT FOUND IN SOURCE
-msgid "Create Subgroup:"
-msgstr "新增子群组:"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "新增申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Create User:"
-msgstr "新增成员:"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "新增自订字段"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "为 %1 表单新增自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "为 %1 表单新增自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "新增自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global Scrip"
-msgstr "新增全域手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "新增全域手续"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "新增群组"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "新增代理人群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "新增表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "新增手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "新增模板"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "新增申请单"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "新增使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new workflow"
-msgstr "新增流程"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "新增表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "新增表单名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "提出申请"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "为 %1 表单新增手续"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "新增模板"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "提出申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a workflow"
-msgstr "新增流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "新增失败:%1 / %2 / %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "新增失败:%1/%2/%3"
-
-#: NOT FOUND IN SOURCE
-msgid "Create new item"
-msgstr "建立新项目"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "依据此项手续内的模版,新增申请单"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "新增申请单"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "在此表单中新增申请单"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "新增、删除及更改自订字段"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "新增、删除及更改表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "新增、删除及更改任何使用者的代理人群组"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "新增、删除及更改代理人群组"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "新增、删除及更改使用者"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "新增申请单"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "新增日"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "自订字段 %1 新增成功"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "模板 %1 新增成功"
-
-#: NOT FOUND IN SOURCE
-msgid "Created workflow %1"
-msgstr "流程 %1 新增成功"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "建立者"
-
-#: NOT FOUND IN SOURCE
-msgid "Currency"
-msgstr "币别"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Approval Info"
-msgstr "截至目前签核信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Custom Fields"
-msgstr "现有自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Groups:"
-msgstr "现有群组列表:"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "现有关系"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Rights:"
-msgstr "现有权限:"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "现有手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Status"
-msgstr "目前状态"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Templates"
-msgstr "现有模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Watchers"
-msgstr "现有视察员"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "现有成员"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "现有权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "现有查询条件"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "现有视察员"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "自订字段 #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "自订字段"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "%1 的自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Fields which apply to all queues"
-msgstr "适用于所有表单的自订字段"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "动作后执行程序"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "动作前执行程序"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "自订条件"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "自订字段 %1 %2 %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 does not apply to this object"
-msgstr "自订字段 %1 不适用于此对象"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "自订字段 %1 已有值"
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "自订字段 %1 没有值"
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "找不到自订字段 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "自订字段已删除"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "找不到自订字段"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "无法从自订字段 %2 中找到 %1 这个字段值"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "自订字段值从 %1 改为 %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "无法删除自订字段值"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "找不到自订字段值"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "自订字段值删除成功"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "数据错误"
-
-#: NOT FOUND IN SOURCE
-msgid "DatabaseBindRemote"
-msgstr "容许外部联机"
-
-#: NOT FOUND IN SOURCE
-msgid "DatabaseName"
-msgstr "MySQL数据库"
-
-#: NOT FOUND IN SOURCE
-msgid "Date of Departure"
-msgstr "出发日期"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Dec"
-msgstr "十二月"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "12"
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "十二月"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Approval"
-msgstr "预设签核"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "预设自动响应模板"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "预设自动响应模板"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "预设表单"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "预设申请人"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Value"
-msgstr "预设值"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "预设管理员评论模板"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "预设管理员回复模板"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "预设回复模板"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "预设更动模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "预设:%1/%2 已自 %3 改为 %4"
-
-#: NOT FOUND IN SOURCE
-msgid "DefaultApproval"
-msgstr "预设签核"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "代理人权限"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "将拥有的权限委托他人代理"
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "设定代理人"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Approval"
-msgstr "代理签核"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Queue"
-msgstr "代理表单名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Queue:"
-msgstr "代理表单:"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Type"
-msgstr "代理表单种类"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates"
-msgstr "代理人"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Enabled Status"
-msgstr "代理激活状态"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Info"
-msgstr "代理人信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Period"
-msgstr "代理期间"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Permission Setting"
-msgstr "代理权限设定"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Permission:"
-msgstr "代理权限:"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Setting"
-msgstr "代理人设定"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Status"
-msgstr "代理状态"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "代理人权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegation Groups"
-msgstr "代理人群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegation Rights"
-msgstr "代理人权限"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "删除"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "删除模板"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "删除指定的手续"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "删除申请单"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "删除申请单"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "删除此对象可能破坏参考完整性"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "删除此对象可能破坏参考完整性"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "删除此对象会违反参考完整性"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "删除此对象会违反参考完整性"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "删除此对象会违反参考完整性"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "驳回"
-
-#: NOT FOUND IN SOURCE
-msgid "Department"
-msgstr "部门"
-
-#: NOT FOUND IN SOURCE
-msgid "Department ID"
-msgstr "部门代码"
-
-#: NOT FOUND IN SOURCE
-msgid "Department Name"
-msgstr "部门名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Department's"
-msgstr "部门之"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure Details"
-msgstr "差旅明细"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure From"
-msgstr "差旅起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure Request"
-msgstr "请假单"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure Until"
-msgstr "差旅截止日"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "可接续处理的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "附属性:\\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "已加入可接续处理的申请单 %1"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "已移除可接续处理的申请单 %1"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "已加入需先处理的申请单 %1"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "已移除需先处理的申请单 %1"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "需先处理"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "需先处理"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "递减"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "在以下字段描述主题"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Description of Responsibility"
-msgstr "经办业务说明"
-
-#: NOT FOUND IN SOURCE
-msgid "Description:"
-msgstr "描述:"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "细节"
-
-#: NOT FOUND IN SOURCE
-msgid "Direct"
-msgstr "直接"
-
-#: NOT FOUND IN SOURCE
-msgid "Disability"
-msgstr "残障身分"
-
-#: NOT FOUND IN SOURCE
-msgid "Disability Type"
-msgstr "残障类别"
-
-#: NOT FOUND IN SOURCE
-msgid "Disabled"
-msgstr "停用"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "显示内容"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "显示权限控制清单"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "显示字段"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "显示此表单的模板"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "显示此表单的手续"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "显示模式"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "显示此群组已储存的查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "显示第%1号申请单"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "依 <a href=\"http://www.gnu.org/copyleft/gpl.html\">GNU 通用公共授权</a> 第二版散布。"
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "允许一切操作"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "不更新此页面。"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "不显示查询结果"
-
-#: NOT FOUND IN SOURCE
-msgid "Done"
-msgstr "完成"
-
-#: NOT FOUND IN SOURCE
-msgid "Down"
-msgstr "下一页"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "下载"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "下载以 Tab 分隔的档案"
-
-#: NOT FOUND IN SOURCE
-msgid "Dr."
-msgstr "博士"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "到期日"
-
-#: NOT FOUND IN SOURCE
-msgid "Due Date"
-msgstr "截止日"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "无法解读日期 '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "无法加载申请单 '%1':%2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "编辑"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Conditions"
-msgstr "编辑前置条件"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "编辑 %1 的自订字段"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Custom Fields for queue %1"
-msgstr "编辑表单 %1 的自订字段"
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "编辑申请单关系"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "编辑查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Subgroups"
-msgstr "新增/维护子群组"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "编辑表单 %1 的模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Workflows for queue %1"
-msgstr "编辑表单 %1 的流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "编辑关键词"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr "编辑此群组已储存的查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "编辑手续"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "编辑全域模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit system workflows"
-msgstr "编辑全域流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "编辑 %1 的模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit workflows for %1"
-msgstr "编辑 %1 的流程"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "编辑已储存的查询"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "编辑表单 %1 的设定"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "编辑使用者 %1 的设定"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "编辑自订字段 %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "编辑群组 %1 的成员信息"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "编辑代理人群组 %1 的成员信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "编辑模板 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing workflow %1"
-msgstr "编辑流程 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Education"
-msgstr "最高学历"
-
-#: NOT FOUND IN SOURCE
-msgid "EffectiveId"
-msgstr "有效编号"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "需要指定起始申请单或目的申请单"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "电子邮件信箱"
-
-#: NOT FOUND IN SOURCE
-msgid "Email Address"
-msgstr "电子邮件信箱"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "此电子邮件信箱已被使用"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "电子邮件信箱地址"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "电子邮件文字编码方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Embark Date"
-msgstr "外籍员工入境日"
-
-#: NOT FOUND IN SOURCE
-msgid "Embarked Date"
-msgstr "抵达日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Embarked Location"
-msgstr "抵达地点"
-
-#: NOT FOUND IN SOURCE
-msgid "Enable Delegates"
-msgstr "代理激活"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "启用(取消勾选将停用此自订字段)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "启用(取消勾选将停用此群组)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "启用(取消勾选将停用此表单)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "已启用的自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Date"
-msgstr "启用日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Date:"
-msgstr "激活日期:"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "已启用的表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Status"
-msgstr "启用状态"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "启用状态 %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "启用状态: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "End of Trial"
-msgstr "试用期满日"
-
-#: NOT FOUND IN SOURCE
-msgid "English Name"
-msgstr "英文姓名"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "键入多重项目"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "键入欲将对象连结至的对象或 URI。项目之间请以空白隔开。"
-
-#: NOT FOUND IN SOURCE
-msgid "Enter one or more conditions below to search for users"
-msgstr "键入下列单一或复式条件,查询用户数据"
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "键入单一项目"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "键入欲将表单连结至的对象或 URI。项目之间请以空白隔开。"
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "键入申请单可链接到的申请单编号或网址。项目之间请以空白隔开。"
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "键入最多 %1 个值"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryBoolean"
-msgstr "是非填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryDate"
-msgstr "日期填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryExternal"
-msgstr "系统填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryFreeform"
-msgstr "输入填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryMultiple"
-msgstr "多选填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryNumber"
-msgstr "数值填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntrySelect"
-msgstr "单选填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryTime"
-msgstr "时间填表"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "错误"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "新增视察员失败"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "表单->新增视察员的参数有误"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "表单->删除视察员的参数有误"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "申请单->新增视察员的参数有误"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "申请单->删除视察员的参数有误"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "调整申请单优先等级"
-
-#: NOT FOUND IN SOURCE
-msgid "Estimate"
-msgstr "预计"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "预计"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "所有人"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "范例:"
-
-#: NOT FOUND IN SOURCE
-msgid "Existing user renamed from %1 to %2"
-msgstr "现有使用者 %1 已改名为 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Export"
-msgstr "汇出"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "外部认证帐号"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "外部联络方式帐号"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalDatabaseDSN"
-msgstr "外部数据库连结字符串"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalDatabasePass"
-msgstr "外部数据库口令"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalDatabaseUser"
-msgstr "外部数据库用户"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalURL"
-msgstr "外部接口网址"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "备注"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "找不到‘内部成员’虚拟群组的使用者。"
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "找不到‘非内部成员’虚拟群组的使用者。"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "无法加载模块 %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Feb"
-msgstr "二月"
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "02"
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "二月"
-
-#: NOT FOUND IN SOURCE
-msgid "Female"
-msgstr "女"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Content:"
-msgstr "字段内容:"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Description"
-msgstr "字段描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Name"
-msgstr "字段名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Type"
-msgstr "字段类别"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "档名"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "填入多个文字框"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "填入一个文字框"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "填入最多 %1 个文字框"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Filter"
-msgstr "筛选"
-
-#: NOT FOUND IN SOURCE
-msgid "Filter people"
-msgstr "对象筛选"
-
-#: NOT FOUND IN SOURCE
-msgid "Filtered list:"
-msgstr "筛选列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "最终"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "最终顺位"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "最终顺位"
-
-#: NOT FOUND IN SOURCE
-msgid "Financial Department:"
-msgstr "财务部:"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "寻找群组的"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "寻找群组的"
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "寻找/开启申请单"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "寻找人员的"
-
-#: NOT FOUND IN SOURCE
-msgid "Find queues whose"
-msgstr "寻找表单的"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "寻找申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "签核完毕"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "第一项"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "第一页"
-
-#: NOT FOUND IN SOURCE
-msgid "First-"
-msgstr "一"
-
-#: NOT FOUND IN SOURCE
-msgid "First-level Admins"
-msgstr "一阶主管"
-
-#: NOT FOUND IN SOURCE
-msgid "First-level Users"
-msgstr "一阶主管员工"
-
-#: NOT FOUND IN SOURCE
-msgid "Fixed shift"
-msgstr "固定班"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "甲 乙 丙"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "甲!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "强制更换"
-
-#: NOT FOUND IN SOURCE
-msgid "Form Processing"
-msgstr "电子表单作业区"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "找到 %1 张申请单"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "已找到对象"
-
-#: NOT FOUND IN SOURCE
-msgid "Fourth-"
-msgstr "四"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "输入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "联络方式"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformDate"
-msgstr "日期输入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformExternal"
-msgstr "系统字段"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "多重输入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformNumber"
-msgstr "数值输入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformPassword"
-msgstr "口令输入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "单一输入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformTime"
-msgstr "时间输入"
-
-#: NOT FOUND IN SOURCE
-msgid "Fri"
-msgstr "星期五"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "星期五"
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "完整标头档"
-
-#: NOT FOUND IN SOURCE
-msgid "Gecos"
-msgstr "登入帐号"
-
-#: NOT FOUND IN SOURCE
-msgid "Gender"
-msgstr "性别"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "取出档案里的模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "取得目前使用者的 pgp 签章\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "交予 %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "全域设定"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Approval"
-msgstr "全域签核"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "全域自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Keyword Selections"
-msgstr "全域关键词选取"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Rights:"
-msgstr "拥有全域权限列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "全域手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Setup"
-msgstr "全域设定"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "全域模板:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "GlobalApproval"
-msgstr "全域签核"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "执行"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "执行"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "%1 的 pgp 签章是正确的\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "到页面"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "跳到申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Grand"
-msgstr "上"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "群组 %1 %2:%3"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Admin"
-msgstr "群组管理员"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Description"
-msgstr "群组描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Management"
-msgstr "群组管理"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Members"
-msgstr "群组成员"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Name"
-msgstr "群组名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Name:"
-msgstr "群组名称:"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "群组权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Rights:"
-msgstr "拥有群组权限列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Setup"
-msgstr "群组设定"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Status"
-msgstr "群组状态"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "群组内已有此成员"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "无法新增群组"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "无法新增群组:%1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "群组新增完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "Group created: %1"
-msgstr "群组 %1 新增完毕"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "群组没有这个成员"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "找不到群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "找不到群组。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "未指定群组。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group redescribed from %1 to %2"
-msgstr "群组描述 %1 已改为 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Group renamed from %1 to %2"
-msgstr "群组 %1 已改名为 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Group with Queue Rights"
-msgstr "拥有表单权限群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Group's"
-msgstr "群组之"
-
-#: NOT FOUND IN SOURCE
-msgid "Group:"
-msgstr "群组:"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "群组"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "不能将群组设为群组内成员"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "符合查询条件的群组"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "使用者所属的群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Groups with Global Rights"
-msgstr "拥有全域权限群组"
-
-#: NOT FOUND IN SOURCE
-msgid "HRMSDefined"
-msgstr "组织架构"
-
-#: NOT FOUND IN SOURCE
-msgid "HTML Attributes"
-msgstr "HTML 属性"
-
-#: NOT FOUND IN SOURCE
-msgid "Health Insurance"
-msgstr "健保补助身份"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "嗨!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "嗨,%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Help"
-msgstr "说明"
-
-#: NOT FOUND IN SOURCE
-msgid "Help Desks"
-msgstr "各项业务窗口"
-
-#: NOT FOUND IN SOURCE
-msgid "Hidden"
-msgstr "隐藏"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "纪录"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "群组 %1 的纪录"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "使用者 %1 的纪录"
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "住处电话"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "主页"
-
-#: NOT FOUND IN SOURCE
-msgid "Hotel Expense"
-msgstr "住宿费"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "我有 %quant(%1,份固体搅拌器)。"
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ID Number"
-msgstr "身分证号"
-
-#: NOT FOUND IN SOURCE
-msgid "ID Type"
-msgstr "身分类别"
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "编号"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "身份"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "若签核单遭到驳回,则连带驳回原申请单,并删除其它相关的待签核事项"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "若没有指定申请者,则以此使用者作为申请者"
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "申请单若没有指定表单,则将它新增在此表单内"
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "如果此工具程序为 setgid,恶意的本地端用户即能由此取得 RT 的管理员权限。"
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "若您已更新以上数据,请记得按一下"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "%1 的值错误"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "图片"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "此字段值不可更动"
-
-#: NOT FOUND IN SOURCE
-msgid "Import"
-msgstr "汇入"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "列出停用的自订字段"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "列出停用的群组"
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "列出停用的表单"
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "列出停用的使用者"
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Indirect Employee"
-msgstr "直接/间接员工"
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "初始优先顺位"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "初始优先顺位"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "输入错误"
-
-#: NOT FOUND IN SOURCE
-msgid "Interest noted"
-msgstr "登记成功"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "内部错误"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "内部错误:%1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "错误的群组类别"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "错误的权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "错误的类型"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "错误的数据"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "错误的承办人。改为预设承办人‘nobody’。"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "错误的表单"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "错误的权限"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "%1 的值错误"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "错误的自订字段值"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "错误的状态值"
-
-#: NOT FOUND IN SOURCE
-msgid "IssueStatement"
-msgstr "送出陈述"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "请绝对不要让未具权限的使用者执行此工具程序。"
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "建议您新增一个隶属于正确群组的低权限系统使用者,并以该身份执行此工具程序。"
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "它接受下列参数:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Item Name"
-msgstr "品名"
-
-#: NOT FOUND IN SOURCE
-msgid "Items"
-msgstr "笔"
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "待签核项目"
-
-#: NOT FOUND IN SOURCE
-msgid "Jan"
-msgstr "一月"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "01"
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "一月"
-
-#: NOT FOUND IN SOURCE
-msgid "Job"
-msgstr "职称"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "加入或离开此群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Jul"
-msgstr "七月"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "07"
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "七月"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "全部信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Jun"
-msgstr "六月"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "06"
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "六月"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "关键词"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelAttachments"
-msgstr "附件卷标"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelContent"
-msgstr "内容卷标"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelSubject"
-msgstr "主题卷标"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelURL"
-msgstr "链接卷标"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "使用语言"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "语言"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "上次更新"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "上次联络"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "上次联络日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "上次通知"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "上次更新"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "上次更新"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "上次更新者"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "剩馀时间"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "允许这名使用者登入"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "内部成员(具有个人权限)"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "限制承办人为 %1 到%2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "限制表单为 %1 到 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Link a Queue"
-msgstr "申请表单连结"
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "此链接已存在"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "无法新增链接"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "链接(%1)新增完毕"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "链接(%1)删除完毕"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "找不到链接"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "链接申请单 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "链接申请单 %1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "链接"
-
-#: NOT FOUND IN SOURCE
-msgid "List All Users"
-msgstr "列出所有用户数据"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "加载"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "加载已储存的查询:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "已加载的 Perl 模块"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "位置"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "登入目录 %1 找不到或无法写入\\n。无法执行 RT。"
-
-#: NOT FOUND IN SOURCE
-msgid "LogToFile"
-msgstr "纪录等级"
-
-#: NOT FOUND IN SOURCE
-msgid "LogToFileNamed"
-msgstr "纪录档名"
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "使用者:%1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "登入"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "注销"
-
-#: NOT FOUND IN SOURCE
-msgid "Long-term contractor"
-msgstr "长期契约员工"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "对应的类别不符"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "新增承办人"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "新增现况"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "新增到期日"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "新增解决日期"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "新增实际起始日期"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "新增应起始日期"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "新增报告日期"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "新增优先顺位"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "新增表单"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "新增主题"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Male"
-msgstr "男"
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "管理自订字段及字段值"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "管理群组及所属成员"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "管理适用于所有表单的属性与设定"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "管理各表单及相关属性"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "管理使用者与口令"
-
-#: NOT FOUND IN SOURCE
-msgid "Manager"
-msgstr "经理"
-
-#: NOT FOUND IN SOURCE
-msgid "Mar"
-msgstr "三月"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "03"
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "三月"
-
-#: NOT FOUND IN SOURCE
-msgid "Marketing Department"
-msgstr "行销部"
-
-#: NOT FOUND IN SOURCE
-msgid "Match Pattern"
-msgstr "符合样式"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "五月"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "05"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "成员 %1 新增完毕"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "成员 %1 删除完毕"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "新增成员完毕"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "成员已删除"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "成员未删除"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "隶属于"
-
-#: NOT FOUND IN SOURCE
-msgid "Member since"
-msgstr "注册日期"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "隶属于"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "成员"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "所属群组 %1 加入完毕"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "所属群组 %1 移除完毕"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "所属群组"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "使用者 %1 的所属群组"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "整合完毕"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "整合失败。无法设定 EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "整合进"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "已整合进 %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "讯息"
-
-#: NOT FOUND IN SOURCE
-msgid "Message body not shown because it is too large or is not plain text."
-msgstr "信件内文不是纯文字,因此无法显示。"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "无法纪录讯息"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "讯息纪录成功"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "此申请单的相关讯息不会寄送给..."
-
-#: NOT FOUND IN SOURCE
-msgid "Misc. Expense"
-msgstr "杂费"
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "缺少主键值?(%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Missing mandatory fields"
-msgstr "缺少必填字段"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "行动电话"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "行动电话"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "更改权限控制清单"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "更改适用于所有%1的自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "更改适用于所有表单的自订字段"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "更改群组权限"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "更改成员"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "更改权限"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "更改此表单的模板"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "更改此表单的手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "更改系统权限清单"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "更改模板 %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "更改使用者权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Workflow"
-msgstr "更改流程"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "更改 %1 表单内的自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "更改适用于所有表单的自订字段"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "更改 %1 表单内的手续"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "更改适用于所有表单的手续"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "更改适用 %1 的对象"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "更改 # %1 的日期"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "更改 #%1 的日期"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "更改申请单 # %1 的日期"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "更改全域设定的群组权限"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "更改全域设定的群组权限。"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "更改全域设定的群组权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "更改全域设定的使用者权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "更改全域手续"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "更改全域设定的使用者权限"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "更改全域设定的使用者权限。"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "更改群组数据及删除群组"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "更改自订字段 %1 的群组权限"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "更改群组 %1 的群组权限"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "更改表单 %1 的群组权限"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "更改此群组的成员名单"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "更改个人的帐号信息"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "更改链接到表单 %1 的人员"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "更改申请单 #%1 链接到的人员"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "更改表单 %1 的手续"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "更改适用于所有表单的手续"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "更改模板 %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "更改适用于所有表单的模板"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "更改群组 %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "更改表单视察员"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "更改使用者 %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "更改申请单 # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "更改申请单 # %1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "更改申请单"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "更改自订字段 %1 的使用者权限"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "更改群组 %1 的使用者权限"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "更改表单 %1 的使用者权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "更改 '%1' 的视察员"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify workflow %1"
-msgstr "更改流程 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify workflows which apply to all queues"
-msgstr "更改适用于所有表单的流程"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "更改权限清单"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "更改自己是否属于某群组"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "更改表单视察员"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "更改手续"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "更改个人帐号"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "更改模板"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "更改申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Mon"
-msgstr "星期一"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "星期一"
-
-#: NOT FOUND IN SOURCE
-msgid "More"
-msgstr "更多"
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "关于 %1 的进一步信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Morning Shift"
-msgstr "早班"
-
-#: NOT FOUND IN SOURCE
-msgid "Move"
-msgstr "移动"
-
-#: NOT FOUND IN SOURCE
-msgid "Move All"
-msgstr "全移"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "下移"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "上移"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "多重"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "必须指定 'Name' 的属性"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "我的 %1 申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "表单签核"
-
-#: NOT FOUND IN SOURCE
-msgid "My Requests"
-msgstr "表单申请追踪"
-
-#: NOT FOUND IN SOURCE
-msgid "My Tickets"
-msgstr "表单处理"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "表单签核"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "我已储存的查询"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "名称"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "帐号已有人使用"
-
-#: NOT FOUND IN SOURCE
-msgid "Nationality"
-msgstr "国籍"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "需先由系统管理员进行批准"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "从未更动"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "新建立"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "新增关系"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "新的口令"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "新的待签核事项"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "新增查询"
-
-#: NOT FOUND IN SOURCE
-msgid "New Request"
-msgstr "表单申请"
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "新增查询"
-
-#: NOT FOUND IN SOURCE
-msgid "New Watchers"
-msgstr "新增视察员"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "新增自订字段"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "新增群组"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "新的口令"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "送出新口令通知"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "新增表单"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "提出申请单"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "新增权限"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "新增手续"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "重新查询"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "新增模板"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "提出申请单"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "没有新申请单"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "新增使用者"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "新使用者名字"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "新视察员"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "更新窗口设定"
-
-#: NOT FOUND IN SOURCE
-msgid "New workflow"
-msgstr "新增流程"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "下一项"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "下一页"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "下一页"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "昵称"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "昵称"
-
-#: NOT FOUND IN SOURCE
-msgid "Night Shift"
-msgstr "小夜班"
-
-#: NOT FOUND IN SOURCE
-msgid "No"
-msgstr "否"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "尚未定义类别"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "无自订字段"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "尚未定义自订字段"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "尚未定义群组"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "没有查询"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "尚未定义表单"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "找不到 RT 使用者。请向 RT 管理员查询。\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "没有模板"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "未指定申请单。退出申请单 "
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "未指定申请单。退出申请单更改\\n\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "No Workflow"
-msgstr "没有流程"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "暂不处理"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "未指定字段"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "找不到命令"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "没有对这名使用者的评论"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "没有附上申请单回复"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "没有对 %1 的描述"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "未指定群组"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "找不到符合查询条件的群组。"
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "没有附上讯息"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "没有设定口令"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "没有新增表单的权限"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "没有在表单 '%1' 新增申请单的权限"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "没有新增使用者的权限"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "没有显示该申请单的权限"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "没有检视申请单更新的权限"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "未指定单位"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "未指定单位。"
-
-#: NOT FOUND IN SOURCE
-msgid "No protocol specified in %1"
-msgstr "%1 内未指定协议"
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "找不到符合查询条件的表单。"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "找不到权限"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "没有选定权限"
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "没有要进行的查询"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "没有标题"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "未指定申请单编号"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "未指定更动报告类别"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "未指定使用者或电子邮件地址"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "找不到符合查询条件的使用者。"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "找不到合格的 RT 使用者。RT cvs 处理器已停用。请向 RT 管理者询问。\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "_Set 没有收到任何值!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "没有人"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "字段不存在?"
-
-#: NOT FOUND IN SOURCE
-msgid "Normal Users"
-msgstr "一般用户群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Not configured to fetch the content from a %1 in %2"
-msgstr "未设定成从 %2 内撷取 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "尚未登入"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "尚未登入"
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "尚未设定"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "尚未完工。"
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "尚未完工..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "备注"
-
-#: NOT FOUND IN SOURCE
-msgid "Notes:"
-msgstr "备注:"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "无法送出通知"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "通知管理员副本收件人"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "以评论方式通知管理员副本收件人"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "通知副本收件人"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "以评论方式通知副本收件人"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "通知其它收件人"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "以评论方式通知其它收件人"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "通知承办人"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "以评论方式通知承办人"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "通知承办人申请单已驳回"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "通知承办人申请单已完成全部签核"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "通知承办人申请单已完成某项签核"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "整理待签核事项,通知承办人及管理员副本收件人"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "通知申请人"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "通知申请人及副本收件人"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "以评论方式通知申请人及副本收件人"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "通知申请人、副本及管理员副本收件人"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "以评论方式通知申请人、副本及管理员副本收件人"
-
-#: NOT FOUND IN SOURCE
-msgid "Notify people:"
-msgstr "通知对象"
-
-#: NOT FOUND IN SOURCE
-msgid "Nov"
-msgstr "十一月"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "11"
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "十一月"
-
-#: NOT FOUND IN SOURCE
-msgid "OIN104"
-msgstr "104eHRMS 接口"
-
-#: NOT FOUND IN SOURCE
-msgid "OK"
-msgstr "确定"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "无法新增对象"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "对象新增完毕"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "自订字段不适用于类别为 %1 的对象"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "对象类别不符"
-
-#: NOT FOUND IN SOURCE
-msgid "Occupation Status"
-msgstr "在职状态"
-
-#: NOT FOUND IN SOURCE
-msgid "Oct"
-msgstr "十月"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "10"
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "十月"
-
-#: NOT FOUND IN SOURCE
-msgid "Office Phone"
-msgstr "办公室电话"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "离线"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "离线编辑"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "离线上载"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "等于"
-
-#: NOT FOUND IN SOURCE
-msgid "On Change"
-msgstr "更改申请单时"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "评论时"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "回复申请单时"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "新增申请单时"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "承办人改变时"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "优先顺位改变时"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "表单改变时"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "解决申请单时"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "现况改变时"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "发生更动时"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "仅显示 %1 之后新增的申请单"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "仅显示 %1 之前新增的申请单"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "开启"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "开启"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "开启的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "在新窗口开启(列表的)申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "在另一个窗口开启(列表的)申请单"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "收到回复时即开启申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Opened Tickets"
-msgstr "已申请运行中表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Opinion"
-msgstr "意见"
-
-#: NOT FOUND IN SOURCE
-msgid "Option Description"
-msgstr "选项描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Option Name"
-msgstr "选项名称"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "排序方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "顺序与排序方式"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "组织名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Organization:"
-msgstr "组织:"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "原申请单:#%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Other comma-delimited email addresses"
-msgstr "其它e-mail帐号 (仅e-mail通知;多笔帐号请用逗号','区隔)"
-
-#: NOT FOUND IN SOURCE
-msgid "Out of range"
-msgstr "期限外"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "已纪录发送的评论邮件"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "已纪录发送的邮件"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "优先顺位随时间增加调整为"
-
-#: NOT FOUND IN SOURCE
-msgid "Override current custom fields with fields from %1"
-msgstr "以 %1 表单的自订字段取代现有字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Override global rights"
-msgstr "取代全域权限"
-
-#: NOT FOUND IN SOURCE
-msgid "OverrideGlobalACL status %1"
-msgstr "取代全域权限 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Overview"
-msgstr "总览"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "承办申请单"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "承办申请单"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "承办人"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "承办人已从 %1 改为 %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "无法设定承办人。"
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "强制将承办人从 %1 改为 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "承办人"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner's Phone"
-msgstr "承办人电话"
-
-#: NOT FOUND IN SOURCE
-msgid "Page #"
-msgstr " "
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "第 %1/%2 页"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "呼叫器"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "呼叫器号码"
-
-#: NOT FOUND IN SOURCE
-msgid "Parameter"
-msgstr "呼叫参数"
-
-#: NOT FOUND IN SOURCE
-msgid "Parent"
-msgstr "上级"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "母申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Park Space"
-msgstr "停车位申请"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "口令"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "口令提示"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "口令太短"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "口令:%1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "口令确认失败。"
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "口令确认失败。您的口令并未改变。"
-
-#: NOT FOUND IN SOURCE
-msgid "Pelase select a queue"
-msgstr "请选择表单名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Pending Approval"
-msgstr "等待签核"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "人员"
-
-#: NOT FOUND IN SOURCE
-msgid "People with Queue Rights"
-msgstr "拥有表单权限人员"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "执行使用者自订的动作"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Perl 设定"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "权限不足"
-
-#: NOT FOUND IN SOURCE
-msgid "Permission Settings"
-msgstr "权限设定"
-
-#: NOT FOUND IN SOURCE
-msgid "Permitted Queues:"
-msgstr "拥有权限表单列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Personal"
-msgstr "代理人群组"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "代理人群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Personal Homepage"
-msgstr "个人首页"
-
-#: NOT FOUND IN SOURCE
-msgid "Personal Todo"
-msgstr "私人待办事项"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "代理人群组"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "代理人群组:"
-
-#: NOT FOUND IN SOURCE
-msgid "PersonalHomepage"
-msgstr "个人首页"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 1: Create/Rename Groups (%1)"
-msgstr "第一阶段:群组建立及改名 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 2: Disable/Enable Groups (%1)"
-msgstr "第二阶段:群组停用及启用 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 3: Create/Rename Users (%1)"
-msgstr "第三阶段:使用者建立及改名 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 4: Disable/Enable Users (%1)"
-msgstr "第四阶段:使用者停用及启用 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phone"
-msgstr "电话"
-
-#: NOT FOUND IN SOURCE
-msgid "Phone number"
-msgstr "电话号码"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "电话号码"
-
-#: NOT FOUND IN SOURCE
-msgid "Pick"
-msgstr "挑选"
-
-#: NOT FOUND IN SOURCE
-msgid "Place of Departure"
-msgstr "出发地点"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "尚未完工"
-
-#: NOT FOUND IN SOURCE
-msgid "Please Select"
-msgstr "请选择"
-
-#: NOT FOUND IN SOURCE
-msgid "Please check items to be deleted first."
-msgstr "请先选中要删除的对象"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select a group"
-msgstr "请选择群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select a queue's workflow"
-msgstr "请选择表单流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select one of the category types above."
-msgstr "请从上面选择一项分类。"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select role"
-msgstr "请选择角色"
-
-#: NOT FOUND IN SOURCE
-msgid "Policy"
-msgstr "经营规章"
-
-#: NOT FOUND IN SOURCE
-msgid "Position"
-msgstr "职务"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Level"
-msgstr "职等"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Name"
-msgstr "职务名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Number"
-msgstr "职务代码"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Rank"
-msgstr "职级"
-
-#: NOT FOUND IN SOURCE
-msgid "Pref"
-msgstr "偏好"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "偏好"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "个人信息"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "预备动作完毕"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "上一项"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "上一页"
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "前一页"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "优先顺位"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "找不到单位 %1。"
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "优先顺位"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "优先顺位起始值"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "隐私设定:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "内部成员"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "内部成员状态:%1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "内部成员"
-
-#: NOT FOUND IN SOURCE
-msgid "Process Status"
-msgstr "处理状态"
-
-#: NOT FOUND IN SOURCE
-msgid "Project"
-msgstr "项目"
-
-#: NOT FOUND IN SOURCE
-msgid "Project Name"
-msgstr "项目名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Projects"
-msgstr "项目"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "内部用的虚拟群组"
-
-#: NOT FOUND IN SOURCE
-msgid "Public Description"
-msgstr "公开说明"
-
-#: NOT FOUND IN SOURCE
-msgid "Public Info"
-msgstr "公开信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Public Service"
-msgstr "公共事务区"
-
-#: NOT FOUND IN SOURCE
-msgid "Purging stale data: %1"
-msgstr "移除过期数据: %1"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "查询"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "建立查询"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "表单"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "找不到表单 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "找不到表单 '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Keyword Selections"
-msgstr "表单关键词选取"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "表单名称"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Owner"
-msgstr "业务承办人"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Priority"
-msgstr "优先等级"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Rights"
-msgstr "表单权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "表单手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Setup"
-msgstr "表单设定"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "表单已存在"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "无法新增表单"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "无法加载表单"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "表单新增完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "未指定表单。"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "找不到表单"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Quick Search"
-msgstr "表单现况"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "表单一览"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "快速建立申请单"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "%2:RT %1 版"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 版,<a href=\"http://bestpractical.com\">Best Practical Solutions 公司</a>出品。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1。版权所有 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1。版权所有 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT 管理页面"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "RT 认证错误。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT 退信:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "RT 设定错误"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "RT 致命错误。讯息未被纪录。"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT 错误"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT 收到从自己寄出的邮件 (%1)。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "RT 收到从自己寄出的邮件 (%1)。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT 自助服务/已解决的申请单"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "RT 的变数"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT 一览"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT 无法认证您的身份"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT 无法从外部数据库查询找到申请人信息"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT 找不到表单:%1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT 无法确认这个 PGP 签章。\\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "%1 专用流程系统"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "%1 专用 RT 系统:%2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT 已执行您的命令"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT 版权所有 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;。<br>本软体依 <a href=\"http://www.gnu.org/copyleft/gpl.html\">GNU 通用公共授权第二版</a> 散布。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT 认为这可能是退信"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT 以未签章方式处理这封邮件。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RT 的电子邮件命令模式须要 PGP 认证。您可能没有签章,或是您的签章无法辨识。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT::Queue-Role"
-msgstr "表单运行角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RT::System-Role"
-msgstr "系统运行角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RT::Ticket-Role"
-msgstr "申请单运行角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RT_System"
-msgstr "系统讯息"
-
-#: NOT FOUND IN SOURCE
-msgid "Read Only"
-msgstr "只读"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "真实姓名"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "真实姓名"
-
-#: NOT FOUND IN SOURCE
-msgid "Really reject this ticket?"
-msgstr "您确定要驳回这张申请单吗?"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "已加入 %1 为参考本申请单"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "已移除 %1 为参考本申请单"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "已加入参考申请单 %1"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "已移除参考申请单 %1"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "被参考"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "参考"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "参考"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "在结果范围内查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "调整查询条件"
-
-#: NOT FOUND IN SOURCE
-msgid "Refresh"
-msgstr "更新"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "每 %1 分钟更新页面"
-
-#: NOT FOUND IN SOURCE
-msgid "Remove"
-msgstr "移除"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "移除管理员副本"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "移除副本"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "移除申请人"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "回复"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "回复地址"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "回复申请人"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "对申请单进行回复"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "回复申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Report to Duty"
-msgstr "上下班刷卡"
-
-#: NOT FOUND IN SOURCE
-msgid "Reported on"
-msgstr "到职日期"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "申请人"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "申请人电子邮件信箱地址"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor's"
-msgstr "申请人所属之第上"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor's Dept."
-msgstr "申请人所属部门之"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor's Phone"
-msgstr "申请人电话"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "申请人"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "申请人地址"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "申请人"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "申请单处理期限"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "未指定必要的参数‘%1’"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "重设"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "住处"
-
-#: NOT FOUND IN SOURCE
-msgid "Resolution"
-msgstr "解决状态"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "解决"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "解决申请单 #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "已解决"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "回复申请人"
-
-#: NOT FOUND IN SOURCE
-msgid "Responsibility Type"
-msgstr "责任区分"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "结果"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "每页列出几笔结果"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "再次输入口令"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "复原"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "在 %4 (%5) 的范围内找不到 %2 %3 的 %1 权限\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "权限代理完毕"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "权限设定完毕"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "权限加载完毕"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "无法撤消权限"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "找不到权限"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "权限并未加载。"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "权限撤消完毕"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "权限及代理人"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "无法将权限赋予 %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "无法撤消 %1 的权限"
-
-#: NOT FOUND IN SOURCE
-msgid "Role Members"
-msgstr "角色成员"
-
-#: NOT FOUND IN SOURCE
-msgid "Role Name"
-msgstr "角色名称"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "交由系统管理员签核"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "每页笔数"
-
-#: NOT FOUND IN SOURCE
-msgid "Run Approval"
-msgstr "签核执行"
-
-#: NOT FOUND IN SOURCE
-msgid "SMTPDebug"
-msgstr "SMTP 侦错纪录"
-
-#: NOT FOUND IN SOURCE
-msgid "SMTPFrom"
-msgstr "SMTP 寄件地址"
-
-#: NOT FOUND IN SOURCE
-msgid "SMTPServer"
-msgstr "SMTP 服务器"
-
-#: NOT FOUND IN SOURCE
-msgid "Sat"
-msgstr "星期六"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "星期六"
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "储存"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "储存更改"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "储存偏好"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "储存更改"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "已储存的查询"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "手续 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrip Action"
-msgstr "讯息通知动作"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrip Condition"
-msgstr "讯息通知条件"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "手续新增完毕"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "手续字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrip Name"
-msgstr "讯息名称"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "手续删除完毕"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "手续"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips "
-msgstr "讯息通知"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "%1 的手续\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "适用于所有表单的手续"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "查询条件"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "签核单查询"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Searches can't be associated with that kind of object"
-msgstr "不能对此类对象进行查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Second-"
-msgstr "二"
-
-#: NOT FOUND IN SOURCE
-msgid "Second-level Users"
-msgstr "二阶主管员工"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "安全性:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "查阅自订字段"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "查阅送出的电子邮件及收件人"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "查阅申请单内的私人评论"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "查阅申请单总览"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "查阅自订字段"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "查阅表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "选择"
-
-#: NOT FOUND IN SOURCE
-msgid "Select All"
-msgstr "全选"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "选择自订字段"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "选择群组"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "选择表单"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Select a queue to link to"
-msgstr "请选择欲连结表单"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "选择使用者"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "选择自订字段"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "选择群组"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "选择多重项目"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "选择单一项目"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "选择表单"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "选择手续"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "选择模板"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "选择最多 %1 个值"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "选择使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Select workflow"
-msgstr "选择流程"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectExternal"
-msgstr "系统选项"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "多重选项"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "单一选项"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "已选取的自订字段"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "已选取的对象"
-
-#: NOT FOUND IN SOURCE
-msgid "Selected users:"
-msgstr "新增对象:"
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "自助服务"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "寄信给所有视察员"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "以评论方式寄信给所有视察员"
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "寄信给申请人及副本收件人"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "以评论方式寄信给申请人及副本收件人"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "寄信给申请人"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "寄信给特定的副本及密件副本收件人"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "寄信给副本收件人"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "以评论方式寄信给副本收件人"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "寄信给管理员副本收件人"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "以评论寄信给管理员副本收件人"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "寄信给申请人"
-
-#: NOT FOUND IN SOURCE
-msgid "Sep"
-msgstr "九月"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "09"
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "九月"
-
-#: NOT FOUND IN SOURCE
-msgid "Setting %1's 'Disabled' property to %2"
-msgstr "%1 的‘停用’属性已设为 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Shift Type"
-msgstr "班别属性"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "显示"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "显示待签核申请单"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "显示字段"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "显示结果"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "显示已批准的签核单"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "显示基本信息"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "显示已驳回的签核单"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "显示细节"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "显示待处理的签核单"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "显示尚待他人批准的签核单"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "显示申请单内的私人评论"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "显示申请单摘要"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "显示权限清单"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "显示寄送邮件"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "显示已储存的查询"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "显示手续"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "显示模板"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "显示申请单"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "显示申请单的评论"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "登记成为申请人或副本收件人"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "登记成为管理员副本收件人"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "签名档"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "使用者:%1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "单一"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "略过选单"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "顺序"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "排序方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "结果排序方式"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "排序顺序"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "关卡"
-
-#: NOT FOUND IN SOURCE
-msgid "Stage Action"
-msgstr "关卡运行动作"
-
-#: NOT FOUND IN SOURCE
-msgid "Stage Condition"
-msgstr "关卡运行条件"
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "延宕"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "首页"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "实际起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "无法解读起始日期 '%1"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "应起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "应起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "无法解读起始日期 '%1"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "州"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "现况"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "现况改变时"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "现况从 %1 改为 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "现况改变时"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "强制更换承办人"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "强制承办申请单"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "强制承办申请单"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "承办人从 %1 强制更换"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "承办人从 %1 强制更换 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Subgroup"
-msgstr "子群组"
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "主题"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "标题已改为 %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "送出"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "送出流程"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "设定成功"
-
-#: NOT FOUND IN SOURCE
-msgid "Sun"
-msgstr "星期日"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "星期日"
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "系统管理员"
-
-#: NOT FOUND IN SOURCE
-msgid "Sync now"
-msgstr "执行同步"
-
-#: NOT FOUND IN SOURCE
-msgid "Sync104HRMS"
-msgstr "自动同步104HRMS"
-
-#: NOT FOUND IN SOURCE
-msgid "Synchronizing HRMS data.  This may take a while..."
-msgstr "正在同步化 HRMS 人事系统数据。请稍待..."
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "系统"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "系统设定"
-
-#: NOT FOUND IN SOURCE
-msgid "System Defined"
-msgstr "系统定义"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "系统错误"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "系统错误。设定权限失败。"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "系统错误。设定权限失败。"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "System Rights"
-msgstr "系统权限"
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "系统工具"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "系统错误。权限代理失败。"
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "系统错误。设定权限失败。"
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "系统错误。无法设定权限。"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "系统群组"
-
-#: NOT FOUND IN SOURCE
-msgid "SystemInternal"
-msgstr "系统内部用"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "内部使用的系统角色群组"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: NOT FOUND IN SOURCE
-msgid "TabbedUI"
-msgstr "页签接口"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "受理"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "自行承办申请单"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "自行承办申请单"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "已受理"
-
-#: NOT FOUND IN SOURCE
-msgid "Task"
-msgstr "工作事项"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "模板"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "模板 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Template Content"
-msgstr "通知模板内容"
-
-#: NOT FOUND IN SOURCE
-msgid "Template Description"
-msgstr "通知模板描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Template Name"
-msgstr "通知模板名称"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "模板已删除"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "找不到模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "找不到模板\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "模板剖析完毕"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates "
-msgstr "通知模板"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "找不到 %1 的模板\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "文字"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "已经是目前字段的值"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "这不是该自订字段的值"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "同样的值"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "这项单位已经拥有该权限"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "这项单位已经是这个表单的 %1"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "这项单位已经是这份申请单的 %1"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "这项单位不是这个表单的 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "这项单位不是这份申请单的 %1"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "此表单不存在"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "这份申请单有尚未解决的附属申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "使用者已具有该项权限"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "该使用者已经承办这份申请单"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "使用者不存在"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "这名使用者已经是内部成员"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "这名使用者属于非内部成员群组"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "使用者加入内部成员群组完毕"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "这名使用者已加入非内部成员群组"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "这名使用者已加入非内部成员群组"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "使用者可能没有承办表单里的申请单"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "这不是一个数字编号"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "基本信息"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "申请单的副本收件人"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "申请单的管理员副本收件人"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "评论已被纪录"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "下列命令会找到 'general' 表单内所有运作中的申请单,并将其中 4 小时内未处理的申请单优先程度设为 99:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "以下命令未被执行:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "新的字段值设定完成。"
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "申请单的承办人"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "申请单的申请人"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "该使用者不会看见这些评论"
-
-#: NOT FOUND IN SOURCE
-msgid "Third-"
-msgstr "三"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "此自订字段不适用于该对象"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "此项功能仅限系统管理员使用"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "此讯息会寄给..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "申请单 %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "此工具程序会让使用者经由 RT 执行任意命令。"
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "此项更动报告没有内容"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "使用者送出的前 %1 份优先处理申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "使用者送出的前 25 份优先处理申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Thu"
-msgstr "星期四"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "星期四"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket"
-msgstr "申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "申请单 # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "更新申请单 # %1 的全部信息:%2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "更新申请单 #%1 的全部信息:%2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "申请单 #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "申请单 %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "申请单 #%1 成功新增于 '%2' 表单"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "加载申请单 %1\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "申请单 %1:%2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "申请单的自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Due"
-msgstr "表单处理期限"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "申请单处理纪录 # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket ID"
-msgstr "单号"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "申请单编号"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Processing Due"
-msgstr "表单运行期限"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "申请单已解决"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "申请单的更动"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Type"
-msgstr "表单种类"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "申请单附件"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "申请单内容"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "申请单内容类别"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "内部错误,无法新增申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "申请单新增完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "申请单新增失败"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "申请单删除完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "找不到申请单编号"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "申请单删除完毕"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "申请单的描述信息"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "找不到申请单"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "申请单现况已改变"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "申请单视察员"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "申请单 %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "申请单 %1 (%2)"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets I own"
-msgstr "待处理的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets I requested"
-msgstr "送出的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "%1 的申请单"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "批准之后,可接续处理:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "预计时间"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "剩馀时间"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "处理时间"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "剩馀时间"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "显示时间"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "已处理时间"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "剩馀时间"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "已处理时间"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "产生这次更动的差异档:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "产生这次更动的差异档:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "如果有支持、教育训练及定制开发的需要,请连络 %1。"
-
-#: NOT FOUND IN SOURCE
-msgid "Todo"
-msgstr "待办事项"
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "告知日期"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "工具"
-
-#: NOT FOUND IN SOURCE
-msgid "Total"
-msgstr "页"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "更动"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "清除更动报告 %1"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "更动报告已新增"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "更动的自订字段"
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "未指定申请单编号,无法新增更动"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "未指定对象类别及编号,无法新增更动"
-
-#: NOT FOUND IN SOURCE
-msgid "TransactionBatch"
-msgstr "批次更动时"
-
-#: NOT FOUND IN SOURCE
-msgid "TransactionCreate"
-msgstr "新增更动时"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "不可更改更动报告"
-
-#: NOT FOUND IN SOURCE
-msgid "Transfer to"
-msgstr "移交给"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "试图删除某项权限:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Tue"
-msgstr "星期二"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "星期二"
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "类别"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "尚无实作"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "外部系统登入帐号"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "外部系统登入帐号"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "不可解的内容文字编码方式 %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "全数显示"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "未命名的查询"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "非内部成员"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "未选取的自订字段"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "未选取的对象"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "未被受理"
-
-#: NOT FOUND IN SOURCE
-msgid "Untitled search"
-msgstr "未命名的查询"
-
-#: NOT FOUND IN SOURCE
-msgid "Up"
-msgstr "上一页"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "处理"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "全部更新"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "更新编号"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "更新申请单"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "更新类别"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "整批更新申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "更新电子邮件信箱"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "批次更新申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "更新帐号"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "更新未被记录"
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "更新选择的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "更新签章"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "更新申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "更新申请单 # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "更新申请单 #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "更新申请单 #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "更新的内容并非申请单回复也不是评论"
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "前次更新"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "上载"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "上载多个档案"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "上载多份图片"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "上载一个档案"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "上载一份图片"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "上载最多 %1 个档案"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "上载最多 %1 份图片"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "上载您的更动"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User"
-msgstr "使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "使用者 %1 %2:%3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "使用者 %1 口令:%2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "找不到使用者 '%1'。"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "找不到使用者 '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "找不到使用者 '%1'\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "使用者自订"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "使用者自订的条件及动作"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "使用者 ID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "使用者 ID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Number"
-msgstr "员工编号"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "使用者权限"
-
-#: NOT FOUND IN SOURCE
-msgid "User Setup"
-msgstr "使用者设定"
-
-#: NOT FOUND IN SOURCE
-msgid "User Shift"
-msgstr "员工班别"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "使用者试图在 %2 对象 #%3 的自订字段 %1 上执行未知的更新操作"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "无法新增使用者:%1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "使用者新增完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "User created: %1"
-msgstr "使用者 %1 新增完毕"
-
-#: NOT FOUND IN SOURCE
-msgid "User created: %1 (%2)"
-msgstr "使用者 %1 (%2) 新增完毕"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "使用者定义的群组"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "已加载使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "已通知使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "User renamed from %1 to %2"
-msgstr "使用者 %1 已改名为 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "使用者私人数据"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "使用者自定群组"
-
-#: NOT FOUND IN SOURCE
-msgid "UserDefined"
-msgstr "使用者自定"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "帐号"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "使用者"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "符合查询条件的使用者"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "合理的查询"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "选择表单"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "字段值"
-
-#: NOT FOUND IN SOURCE
-msgid "View log"
-msgstr "检视纪录档"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "视察"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "以管理员副本收件人身份视察"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "成功加载视察员信息"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "视察员"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "网页文字编码方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Wed"
-msgstr "星期三"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "星期三"
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "当申请单通过所有签核后,将此讯息回复到原申请单"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "当申请单通过某项签核后,将此讯息回复到原申请单"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "新增申请单时"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "签核单新增之后,通知应受理的承办人及管理员副本收件人"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "当任何事情发生时"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "当申请单解决时"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "当申请单更换承办人时"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "当申请单的优先顺序改变时"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "当申请单更换表单时"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "当申请单更新现况时"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "当使用者自订的情况发生时"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "当评论送达时"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "当回复送达时"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "公司"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "离线工作"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "公司电话"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "处理时间"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow #%1"
-msgstr "流程 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow Begin"
-msgstr "流程开始"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow End"
-msgstr "流程结束"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow deleted"
-msgstr "流程已删除"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflows"
-msgstr "流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Writable"
-msgstr "可读写"
-
-#: NOT FOUND IN SOURCE
-msgid "XXX CHANGEME You are not an authorized user"
-msgstr "XXX CHANGEME 您是未经授权的使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Yes"
-msgstr "是"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "您已是这份申请单的承办人"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "您不是被授权的使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "You can access it with the Download button on the right."
-msgstr "您可以按右方的‘下载’键来取得。"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "祇能重新指派您所承办或是没有承办人的申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "您没有看那份申请单的权限。\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "您会在表单 %2 找到 %1 的申请单"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "您已注销 RT。"
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "您没有在该表单新增申请单的权限。"
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "您不能在该表单中提出申请。"
-
-#: NOT FOUND IN SOURCE
-msgid "You need to restart the Request Tracker service for saved changes to take effect."
-msgstr "您必须重新激活 Request Tracker 服务,储存的更动才会生效。"
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "欢迎下次再来"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "您提出的 %1 申请单"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "RT 管理员可能设错了由 RT 寄出的邮件收件人标头档"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "申请单已由 %1 批准。可能还有其它待签核的步骤。"
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "您的申请单已完成签核程序。"
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "您的申请单已被驳回"
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected by %1."
-msgstr "您的申请单已被 %1 驳回。"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "您的申请单已被驳回。"
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "您的帐号或口令有误"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "邮政编码"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[没有标题]"
-
-#: NOT FOUND IN SOURCE
-msgid "ago"
-msgstr "过期"
-
-#: NOT FOUND IN SOURCE
-msgid "alert"
-msgstr "急讯"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "approving"
-msgstr "待签核"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "权限同 %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "已解决"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "包含"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "内容"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "类型"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "申请单回复(可能)未送出"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "申请单回复已送出"
-
-#: NOT FOUND IN SOURCE
-msgid "critical"
-msgstr "严重"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "天"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "拒绝处理"
-
-#: NOT FOUND IN SOURCE
-msgid "debug"
-msgstr "侦错"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "删除"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "已删除"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "不符合"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "不包含"
-
-#: NOT FOUND IN SOURCE
-msgid "email address"
-msgstr "电子邮件信箱"
-
-#: NOT FOUND IN SOURCE
-msgid "emergency"
-msgstr "危难"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "等于"
-
-#: NOT FOUND IN SOURCE
-msgid "error"
-msgstr "错误"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "假"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "档名"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "大于"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "群组 '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "小时"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "编号"
-
-#: NOT FOUND IN SOURCE
-msgid "info"
-msgstr "信息"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "是"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "不是"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "小于"
-
-#: NOT FOUND IN SOURCE
-msgid "level Admin"
-msgstr "层主管"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "符合"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "分"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "分钟"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "更改\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "月"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "新建立"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "没有名称"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "没有值"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "无"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "不等于"
-
-#: NOT FOUND IN SOURCE
-msgid "notice"
-msgstr "提示"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "不符合"
-
-#: NOT FOUND IN SOURCE
-msgid "number"
-msgstr "号"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "开启"
-
-#: NOT FOUND IN SOURCE
-msgid "opened"
-msgstr "已开启"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "使用者‘%2’的‘%1’代理人群组"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "表单 %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "已驳回"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "已处理"
-
-#: NOT FOUND IN SOURCE
-msgid "rtname"
-msgstr "服务器名称"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "秒"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "电子表格"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "延宕"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "系统 %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "系统群组 '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "呼叫组件未指明原因"
-
-#: NOT FOUND IN SOURCE
-msgid "ticket #%1"
-msgstr "申请单 #%1"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "申请单 #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "till"
-msgstr "至"
-
-#: NOT FOUND IN SOURCE
-msgid "to"
-msgstr "到"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "真"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "没有描述的群组 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "unresolved"
-msgstr "未处理"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "使用者 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "warning"
-msgstr "警告"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "周"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "模板:%1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "年"
-
diff --git a/rt/lib/RT/I18N/zh_tw.po b/rt/lib/RT/I18N/zh_tw.po
deleted file mode 100644 (file)
index 7fbda21..0000000
+++ /dev/null
@@ -1,7908 +0,0 @@
-# Chinese localization catalog for Request Tracker (RT)
-msgid ""
-msgstr ""
-"Last-Translator: Autrijus Tang <autrijus@autrijus.org>\n"
-"Language-Team: Chinese <members@ourinet.com>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: NOT FOUND IN SOURCE
-msgid "#"
-msgstr "#"
-
-#: NOT FOUND IN SOURCE
-msgid "#%1"
-msgstr "#%1"
-
-#: html/Approvals/Elements/Approve:48 html/Approvals/Elements/ShowDependency:71 html/SelfService/Display.html:46 html/Ticket/Display.html:47 html/Ticket/Display.html:51
-#. ($Ticket->id, $Ticket->Subject)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-#. ($ticket->Id, $ticket->Subject)
-#. ($TicketObj->Id, $TicketObj->Subject)
-msgid "#%1: %2"
-msgstr "#%1: %2"
-
-#: lib/RT/Record.pm:926
-#. ($label)
-msgid "$prefix %1"
-msgstr "$prefix %1"
-
-#: NOT FOUND IN SOURCE
-msgid "%*(%1,group ticket)"
-msgstr "%*(%1) 件參與的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "%*(%1,ticket) due"
-msgstr "%*(%1) 件限期完成的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "%*(%1,unresolved ticket)"
-msgstr "%*(%1) 件尚未解決的申請單"
-
-#: lib/RT/URI/fsck_com_rt.pm:257
-#. ($self->ObjectType, $self->Object->Id)
-msgid "%1 #%2"
-msgstr "%1 #%2"
-
-#: lib/RT/Date.pm:361
-#. ($s, $time_unit)
-msgid "%1 %2"
-msgstr "%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 %3"
-msgstr "%1 %2 %3"
-
-#: lib/RT/Date.pm:397
-#. ($self->GetWeekday($wday), $self->GetMonth($mon), map {sprintf "%02d", $_} ($mday, $hour, $min, $sec), ($year+1900))
-msgid "%1 %2 %3 %4:%5:%6 %7"
-msgstr "%7-%2-%3 %4:%5:%6 %1"
-
-#: lib/RT/Record.pm:1671 lib/RT/Transaction_Overlay.pm:636 lib/RT/Transaction_Overlay.pm:679
-#. ($cf->Name, $new_value->Content)
-#. ($field, $self->NewValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 added"
-msgstr "%2 已新增為 %1"
-
-#: lib/RT/Date.pm:358
-#. ($s, $time_unit)
-msgid "%1 %2 ago"
-msgstr "%1 %2 之前"
-
-#: lib/RT/Record.pm:1678 lib/RT/Transaction_Overlay.pm:643
-#. ($cf->Name, $old_content,                $new_value->Content)
-#. ($field, $self->OldValue, $self->NewValue)
-msgid "%1 %2 changed to %3"
-msgstr "%1 已從 %2 改為 %3"
-
-#: lib/RT/Record.pm:1675 lib/RT/Transaction_Overlay.pm:639 lib/RT/Transaction_Overlay.pm:685
-#. ($cf->Name, $old_value->Content)
-#. ($field, $self->OldValue)
-#. ($self->Field, $principal->Object->Name)
-msgid "%1 %2 deleted"
-msgstr "%2 已自 %1 刪除"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 %2 of group %3"
-msgstr "%3 群組的 %1 %2"
-
-#: html/Admin/Elements/EditScrips:65 html/Admin/Elements/ListGlobalScrips:64 html/Ticket/Elements/PreviewScrips:98
-#. (loc($scrip->ConditionObj->Name), loc($scrip->ActionObj->Name), loc($scrip->TemplateObj->Name))
-msgid "%1 %2 with template %3"
-msgstr "條件:%1 | 動作:%2 | 範本:%3"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 (%2) %3 this ticket\\n"
-msgstr "%1 (%2) %3 這份申請單\\n"
-
-#: html/Ticket/Elements/ShowAttachments:72
-#. ($rev->CreatedAsString, $size, $rev->CreatorObj->Name)
-msgid "%1 (%2) by %3"
-msgstr "%1 (%2) - %3"
-
-#: html/SelfService/Update.html:60 html/Ticket/Elements/EditBasics:87 html/Ticket/Update.html:61 html/Ticket/Update.html:63 html/Tools/MyDay.html:65
-#. (loc($DefaultStatus))
-#. (loc($TicketObj->Status))
-#. ($TicketObj->OwnerObj->Name())
-#. (loc($Ticket->Status()))
-msgid "%1 (Unchanged)"
-msgstr "%1 (未更改)"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 - %2 shown"
-msgstr "顯示第 %1 - %2 筆"
-
-#: bin/rt-crontool:194 bin/rt-crontool:201 bin/rt-crontool:207
-#. ("--search-argument", "--search")
-#. ("--condition-argument", "--condition")
-#. ("--action-argument", "--action")
-msgid "%1 - An argument to pass to %2"
-msgstr "%1 - 傳遞給 %2 的一個參數"
-
-#: bin/rt-crontool:210
-#. ("--verbose")
-msgid "%1 - Output status updates to STDOUT"
-msgstr "%1 - 將更新狀態輸出到 STDOUT"
-
-#: bin/rt-crontool:204
-#. ("--action")
-msgid "%1 - Specify the action module you want to use"
-msgstr "%1 - 指定欲使用的動作模組"
-
-#: bin/rt-crontool:198
-#. ("--condition")
-msgid "%1 - Specify the condition module you want to use"
-msgstr "%1 - 指定欲使用的條件模組"
-
-#: bin/rt-crontool:191
-#. ("--search")
-msgid "%1 - Specify the search module you want to use"
-msgstr "%1 - 指定欲使用的查詢模組"
-
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2004', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-#: html/Elements/Footer:58
-#. ('&#187;&#124;&#171;', 
-     $RT::VERSION, 
-     '2005', 
-    '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>',)
-msgid "%1 RT %2 Copyright 1996-%3 %4."
-msgstr "%1 RT %2 版,%4 版權所有,1996-%3。"
-
-#: lib/RT/ScripAction_Overlay.pm:151
-#. ($self->Id)
-msgid "%1 ScripAction loaded"
-msgstr "載入手續 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 Total"
-msgstr "共 %1 筆"
-
-#: lib/RT/Record.pm:1708
-#. ($args{'Value'}, $cf->Name)
-msgid "%1 added as a value for %2"
-msgstr "新增 %1 作為 %2 的值"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on"
-msgstr "別名 %1 需要可用的申請單編號"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on "
-msgstr "別名 %1 需要可用的申請單編號 "
-
-#: NOT FOUND IN SOURCE
-msgid "%1 aliases require a TicketId to work on (from %2) %3"
-msgstr "別名 %1 需要可用的申請單編號以處理 %3(出自 %2)"
-
-#: lib/RT/Link_Overlay.pm:145 lib/RT/Link_Overlay.pm:152
-#. ($args{'Base'})
-#. ($args{'Target'})
-msgid "%1 appears to be a local object, but can't be found in the database"
-msgstr "%1 看來是個本地物件,卻不在資料庫裡"
-
-#: html/Ticket/Elements/ShowDates:73 lib/RT/Transaction_Overlay.pm:520
-#. ($self->BriefDescription , $self->CreatorObj->Name)
-#. ($Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name)
-msgid "%1 by %2"
-msgstr "%1 (%2)"
-
-#: lib/RT/Transaction_Overlay.pm:777 lib/RT/Transaction_Overlay.pm:786 lib/RT/Transaction_Overlay.pm:789
-#. ($self->Field , $q1->Name , $q2->Name)
-#. ($self->Field, $t2->AsString, $t1->AsString)
-#. ($self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'")
-msgid "%1 changed from %2 to %3"
-msgstr "%1 的值從 %2 改為 %3"
-
-#: html/Search/Build.html:212
-#. ($Description)
-msgid "%1 copy"
-msgstr "%1 複製"
-
-#: lib/RT/Record.pm:930
-msgid "%1 could not be set to %2."
-msgstr "無法將 %1 設定為 %2。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 couldn't init a transaction (%2)\\n"
-msgstr "%1 無法初始更新 (%2)\\n"
-
-#: lib/RT/Ticket_Overlay.pm:2743
-#. ($self)
-msgid "%1 couldn't set status to resolved. RT's Database may be inconsistent."
-msgstr "%1 無法將現況設成已解決。RT 資料庫內容可能不一致。"
-
-#: lib/RT/Transaction_Overlay.pm:560
-#. ($obj_type)
-msgid "%1 created"
-msgstr "已建立 %1"
-
-#: lib/RT/Transaction_Overlay.pm:565
-#. ($obj_type)
-msgid "%1 deleted"
-msgstr "已刪除 %1"
-
-#: html/Elements/MyTickets:47
-#. ($rows)
-msgid "%1 highest priority tickets I own"
-msgstr "前 %1 份待處理申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I own..."
-msgstr "前 %1 份待處理申請單..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets I requested..."
-msgstr "前 %1 份送出的申請單..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 highest priority tickets pending my approval..."
-msgstr "前 %1 份待簽核申請單..."
-
-#: bin/rt-crontool:186
-#. ($0)
-msgid "%1 is a tool to act on tickets from an external scheduling tool, such as cron."
-msgstr "%1 是從外部排程程式(如 cron)來對申請單進行操作的工具。"
-
-#: lib/RT/Queue_Overlay.pm:860
-#. ($principal->Object->Name, $args{'Type'})
-msgid "%1 is no longer a %2 for this queue."
-msgstr "%1 已不再是此表單的 %2。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a %2 for this ticket."
-msgstr "%1 已不再是此申請單的 %2。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 is no longer a value for custom field %2"
-msgstr "%1 已不再是自訂欄位 %2 的值。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 isn't a valid Queue id."
-msgstr "%1 不是一個合法的表單編號。"
-
-#: html/Ticket/Create.html:186 html/Ticket/Create.html:187 html/Ticket/Elements/ShowBasics:58 html/Ticket/Elements/ShowBasics:64 html/Ticket/Elements/ShowBasics:69
-#. ('<input size=3 name="TimeWorked" value="'.$ARGS{TimeWorked}.'">')
-#. ('<input size=3 name="TimeLeft" value="'.$ARGS{TimeLeft}.'">')
-#. ($Ticket->TimeEstimated)
-#. ($Ticket->TimeWorked)
-#. ($Ticket->TimeLeft)
-msgid "%1 min"
-msgstr "%1 分鐘"
-
-#: html/Elements/MyRequests:47
-#. ($rows)
-msgid "%1 newest unowned tickets"
-msgstr "前 %1 份待認領的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 not shown"
-msgstr "沒有顯示 %1"
-
-#: lib/RT/CustomField_Overlay.pm:827
-msgid "%1 objects"
-msgstr "%1 物件"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 recent tickets I own..."
-msgstr "最新 %1 份待處理申請單..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 recent tickets I requested..."
-msgstr "最新 %1 份送出的申請單..."
-
-#: NOT FOUND IN SOURCE
-msgid "%1 result(s) found"
-msgstr "找到 %1 項結果"
-
-#: html/User/Elements/DelegateRights:97
-#. (loc($ObjectType =~ /^RT::(.*)$/))
-msgid "%1 rights"
-msgstr "%1權限"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 succeeded\\n"
-msgstr "%1 完成\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for $MessageId"
-msgstr "不知道 $MessageID 的 %1 類別"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 type unknown for %2"
-msgstr "不知道 %2 的 %1 類別"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 was created without a CurrentUser\\n"
-msgstr "%1 新增時未指定現行使用者"
-
-#: lib/RT/Action/ResolveMembers.pm:63
-#. (ref $self)
-msgid "%1 will resolve all members of a resolved group ticket."
-msgstr "%1 會解決在已解決群組裡成員的申請單。"
-
-#: NOT FOUND IN SOURCE
-msgid "%1 will stall a [local] BASE if it's dependent [or member] of a linked up request."
-msgstr "如果 %1 起始申請單依賴於某個鏈結,或是某個鏈結的成員,它將會被延宕。"
-
-#: lib/RT/CustomField_Overlay.pm:828
-msgid "%1's %2 objects"
-msgstr "%1 內的 %2 物件"
-
-#: lib/RT/CustomField_Overlay.pm:829
-msgid "%1's %2's %3 objects"
-msgstr "%1 內的 %2 的 %3 物件"
-
-#: html/Search/Elements/SearchPrivacy:52 html/Search/Elements/SelectSearchObject:55 html/Search/Elements/SelectSearchesForObjects:56
-#. ($object->Name)
-#. ($Object->Name)
-msgid "%1's saved searches"
-msgstr "%1 已儲存的查詢"
-
-#: lib/RT/Transaction_Overlay.pm:470
-#. ($self)
-msgid "%1: no attachment specified"
-msgstr "%1:未指定附件"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:78
-#. ($size)
-msgid "%1b"
-msgstr "%1 位元組"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:75
-#. (int( $size / 102.4 ) / 10)
-msgid "%1k"
-msgstr "%1k 位元組"
-
-#: NOT FOUND IN SOURCE
-msgid "%quant(%1,result) found"
-msgstr "找到 %1 項結果"
-
-#: lib/RT/Ticket_Overlay.pm:1118
-#. ($args{'Status'})
-msgid "'%1' is an invalid value for status"
-msgstr "'%1' 不是一個合法的狀態值"
-
-#: NOT FOUND IN SOURCE
-msgid "'%1' not a recognized action. "
-msgstr "'%1'為無法辨識的動作。 "
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete group member)"
-msgstr "(點選欲刪除的成員)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check box to delete scrip)"
-msgstr "(點選欲刪除的手續)"
-
-#: html/Admin/Elements/EditCustomFieldValues:50 html/Admin/Elements/EditQueueWatchers:50 html/Admin/Elements/EditScrips:56 html/Admin/Elements/EditTemplates:57 html/Admin/Groups/Members.html:73 html/Elements/EditLinks:54 html/Ticket/Elements/EditPeople:67 html/User/Groups/Members.html:76
-msgid "(Check box to delete)"
-msgstr "(點選欲刪除的項目)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Check boxes to delete)"
-msgstr "(點選欲刪除的項目)"
-
-#: html/Ticket/Elements/PreviewScrips:94
-msgid "(Check boxes to disable notifications to the listed recipients)"
-msgstr "(點選欲停用通知的收件人)"
-
-#: html/Ticket/Elements/PreviewScrips:116
-msgid "(Check boxes to enable notifications to the listed recipients)"
-msgstr "(點選欲啟用通知的收件人)"
-
-#: html/Ticket/Create.html:209
-msgid "(Enter ticket ids or URLs, separated with spaces)"
-msgstr "(鍵入申請單編號或網址,以空白分隔)"
-
-#: html/Admin/Queues/Modify.html:75 html/Admin/Queues/Modify.html:81
-#. ($RT::CorrespondAddress)
-#. ($RT::CommentAddress)
-msgid "(If left blank, will default to %1)"
-msgstr "(如果留白, 則預設為 %1)"
-
-#: NOT FOUND IN SOURCE
-msgid "(No Value)"
-msgstr "(沒有值)"
-
-#: html/Admin/Elements/EditCustomFields:74 html/Admin/Elements/ListGlobalCustomFields:53
-msgid "(No custom fields)"
-msgstr "(沒有自訂欄位)"
-
-#: html/Admin/Groups/Members.html:71 html/User/Groups/Members.html:74
-msgid "(No members)"
-msgstr "(沒有成員)"
-
-#: html/Admin/Elements/EditScrips:53 html/Admin/Elements/ListGlobalScrips:49
-msgid "(No scrips)"
-msgstr "(沒有手續)"
-
-#: html/Admin/Elements/EditTemplates:52
-msgid "(No templates)"
-msgstr "沒有範本"
-
-#: NOT FOUND IN SOURCE
-msgid "(No workflows)"
-msgstr "沒有流程"
-
-#: html/Admin/Elements/PickCustomFields:47 html/Admin/Elements/PickObjects:47
-msgid "(None)"
-msgstr "(無)"
-
-#: html/Ticket/Update.html:88
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(送出本份更新的密件副本給名單上以逗號隔開的電子郵件位址。這<b>不會</b>更改後續的收件者名單。)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(送出本份更新的密件副本給名單上以逗號隔開的電子郵件位址。這<b>不會</b>更改後續的收件者名單。)"
-
-#: html/Ticket/Create.html:100
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(送出本份更新的副本給名單上以逗號隔開的管理員電子郵件位址。這<b>將會</b>更改後續的收件者名單。)"
-
-#: html/Ticket/Update.html:84
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will receive future updates.)"
-msgstr "(送出本份更新的副本給名單上以逗號隔開的電子郵件位址。這<b>不會</b>更改後續的收件者名單。)"
-
-#: NOT FOUND IN SOURCE
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <b>not</b> change who will recieve future updates.)"
-msgstr "(送出本份更新的副本給名單上以逗號隔開的電子郵件位址。這<b>不會</b>更改後續的收件者名單。)"
-
-#: html/Ticket/Create.html:90
-msgid "(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)"
-msgstr "(送出本份更新的副本給名單上以逗號隔開的電子郵件位址。這<b>將會</b>更改後續的收件者名單。)"
-
-#: html/Admin/Elements/EditScrip:102
-msgid "(Use these fields when you choose 'User Defined' for a condition or action)"
-msgstr "(當條件或動作設為「使用者自訂」時,請填入這些欄位)"
-
-#: NOT FOUND IN SOURCE
-msgid "(default delegate)"
-msgstr "(預設代理人)"
-
-#: NOT FOUND IN SOURCE
-msgid "(delete)"
-msgstr "(刪除)"
-
-#: html/Admin/Groups/index.html:57 html/User/Groups/index.html:54
-msgid "(empty)"
-msgstr "(空白)"
-
-#: NOT FOUND IN SOURCE
-msgid "(new)"
-msgstr "(新增)"
-
-#: html/Admin/Users/index.html:60
-msgid "(no name listed)"
-msgstr "(沒有列出姓名)"
-
-#: NOT FOUND IN SOURCE
-msgid "(no subject)"
-msgstr "(沒有主題)"
-
-#: html/Admin/Elements/SelectRights:72 html/Elements/EditCustomFieldSelect:60 html/Elements/SelectCustomFieldValue:51 html/Elements/ShowCustomFields:65 lib/RT/Transaction_Overlay.pm:580
-msgid "(no value)"
-msgstr "(無)"
-
-#: html/Admin/Elements/EditCustomFieldValues:47
-msgid "(no values)"
-msgstr "(沒有值)"
-
-#: html/Elements/EditLinks:130 html/Ticket/Elements/BulkLinks:49
-msgid "(only one ticket)"
-msgstr "(僅能指定一份申請單)"
-
-#: html/Elements/RT__Ticket/ColumnMap:146
-msgid "(pending approval)"
-msgstr "(等待簽核)"
-
-#: html/Elements/RT__Ticket/ColumnMap:149
-msgid "(pending other Collection)"
-msgstr "(等待其他集合)"
-
-#: NOT FOUND IN SOURCE
-msgid "(pending other tickets)"
-msgstr "(等待其他申請單)"
-
-#: NOT FOUND IN SOURCE
-msgid "(requestor's group)"
-msgstr "(申請人所屬)"
-
-#: html/Admin/Users/Modify.html:71
-msgid "(required)"
-msgstr "(必填)"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "(untitled)"
-msgstr "(未命名)"
-
-#: NOT FOUND IN SOURCE
-msgid "*"
-msgstr "★"
-
-#: NOT FOUND IN SOURCE
-msgid ":"
-msgstr ":"
-
-#: html/Ticket/Elements/ShowBasics:53
-msgid "<% $Ticket->Status%>"
-msgstr "<% $Ticket->Status%>"
-
-#: html/Elements/SelectTicketTypes:48
-msgid "<% $_ %>"
-msgstr "<% $_ %>"
-
-#: html/Search/Elements/SelectLinks:48
-msgid "<%$_%>"
-msgstr "<%$_%>"
-
-#: html/Search/Elements/DisplayOptions:65
-msgid "<%$field%>"
-msgstr "<%$field%>"
-
-#: docs/design_docs/string-extraction-guide.txt:54 html/Elements/CreateTicket:47 lib/RT/StyleGuide.pod:787
-#. ($m->scomp('/Elements/SelectNewTicketQueue'))
-msgid "<input type=\"submit\" value=\"New ticket in\">&nbsp;%1"
-msgstr "<input type=\"submit\" value=\"提出申請單\">&nbsp;%1"
-
-#: etc/initialdata:218
-msgid "A blank template"
-msgstr "空白範本"
-
-#: html/Admin/Users/Modify.html:363
-msgid "A password was not set, so user won't be able to login."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Deleted"
-msgstr "ACE 已刪除"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE Loaded"
-msgstr "ACE 已載入"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be deleted"
-msgstr "無法刪除 ACE"
-
-#: NOT FOUND IN SOURCE
-msgid "ACE could not be found"
-msgstr "找不到 ACE"
-
-#: lib/RT/ACE_Overlay.pm:175 lib/RT/Principal_Overlay.pm:219
-msgid "ACE not found"
-msgstr "找不到 ACE 設定"
-
-#: lib/RT/ACE_Overlay.pm:854
-msgid "ACEs can only be created and deleted."
-msgstr "祇能新增或刪除 ACE 設定。"
-
-#: NOT FOUND IN SOURCE
-msgid "ACLEquivalence"
-msgstr "ACLEquivalence"
-
-#: html/Search/Elements/SelectAndOr:46
-msgid "AND"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Aborting to avoid unintended ticket modifications.\\n"
-msgstr "離開以免不小心更改到申請單。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "About Me"
-msgstr "個人資訊"
-
-#: html/User/Elements/Tabs:53
-msgid "About me"
-msgstr "個人資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Access Right"
-msgstr "系統使用登錄權限"
-
-#: html/Admin/Users/Modify.html:106
-msgid "Access control"
-msgstr "存取權限"
-
-#: html/Admin/Elements/EditScrip:71
-msgid "Action"
-msgstr "動作"
-
-#: lib/RT/Scrip_Overlay.pm:173
-#. ($args{'ScripAction'})
-msgid "Action %1 not found"
-msgstr "動作 %1 找不到"
-
-#: NOT FOUND IN SOURCE
-msgid "Action committed."
-msgstr "動作執行完畢"
-
-#: bin/rt-crontool:148
-msgid "Action committed.\\n"
-msgstr ""
-
-#: bin/rt-crontool:144
-msgid "Action prepared..."
-msgstr "動作準備完畢..."
-
-#: NOT FOUND IN SOURCE
-msgid "Activated Date"
-msgstr "申請啟動時間"
-
-#: html/Search/Build.html:85
-msgid "Add"
-msgstr "新增"
-
-#: html/Search/Bulk.html:114
-msgid "Add AdminCc"
-msgstr "新增管理員副本收件人"
-
-#: html/Search/Bulk.html:110
-msgid "Add Cc"
-msgstr "新增副本收件人"
-
-#: html/Search/Elements/EditFormat:49
-msgid "Add Columns"
-msgstr ""
-
-#: html/Search/Elements/PickCriteria:46
-msgid "Add Criteria"
-msgstr "新增條件"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Entry"
-msgstr "新增列"
-
-#: html/Ticket/Create.html:144 html/Ticket/Update.html:114
-msgid "Add More Files"
-msgstr "新增更多附件"
-
-#: NOT FOUND IN SOURCE
-msgid "Add Next State"
-msgstr "新增下一項關卡"
-
-#: html/Search/Bulk.html:106
-msgid "Add Requestor"
-msgstr "新增申請人"
-
-#: html/Admin/Elements/AddCustomFieldValue:46
-msgid "Add Value"
-msgstr "新增欄位值"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip to this queue"
-msgstr "新增此表單的手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a Scrip which will apply to all queues"
-msgstr "新增適用於所有表單的手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a keyword selection to this queue"
-msgstr "新增此表單的關鍵字"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a new a global scrip"
-msgstr "新增全域手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Add a scrip to this queue"
-msgstr "新增一道手續到此表單"
-
-#: html/Admin/Global/Scrip.html:76
-msgid "Add a scrip which will apply to all queues"
-msgstr "新增一道用於所有表單的手續"
-
-#: html/Search/Build.html:85
-msgid "Add additional criteria"
-msgstr "新增查詢條件"
-
-#: html/Search/Bulk.html:146
-msgid "Add comments or replies to selected tickets"
-msgstr "新增評論或回覆到指定的申請單"
-
-#: html/Admin/Groups/Members.html:63 html/User/Groups/Members.html:60
-msgid "Add members"
-msgstr "新增成員"
-
-#: html/Admin/Queues/People.html:87 html/Ticket/Elements/AddWatchers:49
-msgid "Add new watchers"
-msgstr "新增視察員"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "Add, delete and modify custom field values for objects"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "AddNextState"
-msgstr "新增下一項關卡"
-
-#: lib/RT/Queue_Overlay.pm:760
-#. ($args{'Type'})
-msgid "Added principal as a %1 for this queue"
-msgstr "單位已新增為此表單的 %1"
-
-#: lib/RT/Ticket_Overlay.pm:1416
-#. ($self->loc($args{'Type'}))
-msgid "Added principal as a %1 for this ticket"
-msgstr "單位已新增為此申請單的 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Additional Hints"
-msgstr "額外提示"
-
-#: html/Admin/Users/Modify.html:146 html/User/Prefs.html:133
-msgid "Address1"
-msgstr "住址"
-
-#: html/Admin/Users/Modify.html:151 html/User/Prefs.html:137
-msgid "Address2"
-msgstr "住址(續)"
-
-#: NOT FOUND IN SOURCE
-msgid "Adjust Blinking Rate"
-msgstr "調整閃爍速度快慢"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin"
-msgstr "管理員"
-
-#: html/Ticket/Create.html:95
-msgid "Admin Cc"
-msgstr "管理員副本"
-
-#: etc/initialdata:295
-msgid "Admin Comment"
-msgstr "管理員評論"
-
-#: etc/initialdata:274
-msgid "Admin Correspondence"
-msgstr "管理員回覆"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin Rights"
-msgstr "管理員權限"
-
-#: html/Admin/Queues/index.html:46 html/Admin/Queues/index.html:49
-msgid "Admin queues"
-msgstr "表單管理"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin users"
-msgstr "使用者管理"
-
-#: html/Admin/Global/index.html:47 html/Admin/Global/index.html:49
-msgid "Admin/Global configuration"
-msgstr "管理/全域設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Groups"
-msgstr "管理/群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Admin/Queue/Basics"
-msgstr "管理/表單/基本資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAddress"
-msgstr "管理員 Email"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminAllPersonalGroups"
-msgstr "管理所有代理人群組"
-
-#: etc/initialdata:56 html/Ticket/Elements/ShowPeople:60 lib/RT/ACE_Overlay.pm:114
-msgid "AdminCc"
-msgstr "管理員副本"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminComment"
-msgstr "管理員評論"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCorrespondence"
-msgstr "管理員回覆"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "AdminCustomField"
-msgstr "管理自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminCustomFields"
-msgstr "管理自訂欄位"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "AdminGroup"
-msgstr "管理群組"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupDescription"
-msgstr "管理群組描述"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "AdminGroupMembership"
-msgstr "管理群組成員"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupName"
-msgstr "管理群組名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupPermission"
-msgstr "管理群組權限"
-
-#: NOT FOUND IN SOURCE
-msgid "AdminGroupStatus"
-msgstr "管理群組狀態"
-
-#: lib/RT/System.pm:81
-msgid "AdminOwnPersonalGroups"
-msgstr "管理代理人群組"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "AdminQueue"
-msgstr "管理表單"
-
-#: lib/RT/System.pm:82
-msgid "AdminUsers"
-msgstr "管理使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Administrative"
-msgstr "行政類"
-
-#: html/Admin/Queues/People.html:69 html/Ticket/Elements/EditPeople:75
-msgid "Administrative Cc"
-msgstr "管理員副本"
-
-#: NOT FOUND IN SOURCE
-msgid "Admins"
-msgstr "主管"
-
-#: html/Ticket/Elements/Tabs:197
-msgid "Advanced"
-msgstr "進階"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search"
-msgstr "進階查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Advanced Search Criteria"
-msgstr "進階查詢條件"
-
-#: html/Elements/SelectDateRelation:57
-msgid "After"
-msgstr "晚於"
-
-#: NOT FOUND IN SOURCE
-msgid "Age"
-msgstr "經歷時間"
-
-#: html/Search/Elements/PickCriteria:52
-msgid "Aggregator"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Alias"
-msgstr "執行其他流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Alias for"
-msgstr "相當於"
-
-#: NOT FOUND IN SOURCE
-msgid "All"
-msgstr "全部"
-
-#: etc/initialdata:363
-msgid "All Approvals Passed"
-msgstr "完成全部簽核"
-
-#: NOT FOUND IN SOURCE
-msgid "All Condition"
-msgstr "所有條件"
-
-#: NOT FOUND IN SOURCE
-msgid "All Custom Fields"
-msgstr "所有自訂欄位"
-
-#: html/Admin/Queues/index.html:75
-msgid "All Queues"
-msgstr "所有表單"
-
-#: NOT FOUND IN SOURCE
-msgid "All Users"
-msgstr "全體員工"
-
-#: NOT FOUND IN SOURCE
-msgid "All done!  Now you can proceed to %1."
-msgstr "處理完畢!您現在可以繼續進行 %1。"
-
-#: NOT FOUND IN SOURCE
-msgid "Allowance Request"
-msgstr "福利補助申請"
-
-#: NOT FOUND IN SOURCE
-msgid "Always sends a message to the requestors independent of message sender"
-msgstr "無論寄件來源為何,一律寄信給申請人"
-
-#: NOT FOUND IN SOURCE
-msgid "Amount"
-msgstr "數額"
-
-#: html/Search/Elements/EditQuery:56
-msgid "And/Or"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Any Condition"
-msgstr "任意條件"
-
-#: NOT FOUND IN SOURCE
-msgid "Applies To"
-msgstr "套用於"
-
-#: html/Admin/CustomFields/Modify.html:73 html/Admin/Elements/CustomFieldTabs:83
-msgid "Applies to"
-msgstr "套用於"
-
-#: html/Search/Edit.html:64
-msgid "Apply"
-msgstr "套用"
-
-#: NOT FOUND IN SOURCE
-msgid "Apply Template"
-msgstr "引用範本"
-
-#: html/Search/Edit.html:64
-msgid "Apply your changes"
-msgstr "套用更動"
-
-#: html/Elements/Tabs:74
-msgid "Approval"
-msgstr "簽核"
-
-#: html/Approvals/Display.html:67 html/Approvals/Elements/ShowDependency:63 html/Approvals/index.html:86
-#. ($Ticket->Id, $Ticket->Subject)
-#. ($ticket->id, $msg)
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Approval #%1: %2"
-msgstr "簽核單 #%1:%2"
-
-#: html/Approvals/index.html:75
-#. ($ticket->Id)
-msgid "Approval #%1: Notes not recorded due to a system error"
-msgstr "簽核單 #%1:系統錯誤,記錄失敗"
-
-#: html/Approvals/index.html:73
-#. ($ticket->Id)
-msgid "Approval #%1: Notes recorded"
-msgstr "簽核單 #%1:記錄完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Details"
-msgstr "簽核細節"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Due"
-msgstr "簽核時限"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Notes"
-msgstr "簽核意見"
-
-#: etc/initialdata:351
-msgid "Approval Passed"
-msgstr "完成某項簽核"
-
-#: etc/initialdata:374
-msgid "Approval Rejected"
-msgstr "駁回某項簽核"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Result"
-msgstr "簽核結果"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Status"
-msgstr "核准結果"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval Type"
-msgstr "簽核種類"
-
-#: NOT FOUND IN SOURCE
-msgid "Approval diagram"
-msgstr "簽核流程"
-
-#: html/Approvals/Elements/Approve:65
-msgid "Approve"
-msgstr "核准"
-
-#: NOT FOUND IN SOURCE
-msgid "Approver"
-msgstr "簽核人"
-
-#: NOT FOUND IN SOURCE
-msgid "Approver Setting"
-msgstr "執行簽核人設定"
-
-#: etc/initialdata:504
-msgid "Approver's notes: %1"
-msgstr "簽核備註:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Apr"
-msgstr "四月"
-
-#: lib/RT/Date.pm:440
-msgid "Apr."
-msgstr "04"
-
-#: NOT FOUND IN SOURCE
-msgid "April"
-msgstr "四月"
-
-#: NOT FOUND IN SOURCE
-msgid "Are you sure to delete checked items?"
-msgstr "您確定要刪除?"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:73
-msgid "Ascending"
-msgstr "遞增"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "Assign and remove custom fields"
-msgstr "指派及移除自訂欄位"
-
-#: lib/RT/Queue_Overlay.pm:97
-msgid "AssignCustomFields"
-msgstr "指派自訂欄位"
-
-#: html/Search/Bulk.html:164 html/SelfService/Update.html:87 html/Ticket/ModifyAll.html:115 html/Ticket/Update.html:114
-msgid "Attach"
-msgstr "附件"
-
-#: html/SelfService/Create.html:92 html/Ticket/Create.html:140
-msgid "Attach file"
-msgstr "附加檔案"
-
-#: html/SelfService/Update.html:75 html/Ticket/Create.html:128 html/Ticket/Update.html:92
-msgid "Attached file"
-msgstr "現有附件"
-
-#: html/Ticket/ShowEmailRecord.html:52 html/Ticket/ShowEmailRecord.html:56 html/Ticket/ShowEmailRecord.html:59
-#. ($Attachment)
-msgid "Attachment '%1' could not be loaded"
-msgstr "無法載入附件 '%1'"
-
-#: lib/RT/Transaction_Overlay.pm:478
-msgid "Attachment created"
-msgstr "附件新增完畢"
-
-#: lib/RT/Tickets_Overlay.pm:1673
-msgid "Attachment filename"
-msgstr "附件檔名"
-
-#: html/Ticket/Elements/ShowAttachments:47
-msgid "Attachments"
-msgstr "附件"
-
-#: lib/RT/Attributes_Overlay.pm:172
-msgid "Attribute Deleted"
-msgstr "已刪除該屬性"
-
-#: NOT FOUND IN SOURCE
-msgid "Attributes"
-msgstr "屬性"
-
-#: NOT FOUND IN SOURCE
-msgid "Aug"
-msgstr "八月"
-
-#: lib/RT/Date.pm:444
-msgid "Aug."
-msgstr "08"
-
-#: NOT FOUND IN SOURCE
-msgid "August"
-msgstr "八月"
-
-#: NOT FOUND IN SOURCE
-msgid "AuthSystem"
-msgstr "認證方式"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoReject"
-msgstr "自動駁回表單"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoResolve"
-msgstr "自動完成表單處理"
-
-#: etc/initialdata:221
-msgid "Autoreply"
-msgstr "自動回覆"
-
-#: etc/initialdata:72
-msgid "Autoreply To Requestors"
-msgstr "自動對申請人回覆"
-
-#: NOT FOUND IN SOURCE
-msgid "AutoreplyToRequestors"
-msgstr "自動對申請人回覆"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Columns"
-msgstr "可用的欄位:"
-
-#: NOT FOUND IN SOURCE
-msgid "Available Rights:"
-msgstr "權限項目列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Back to Homepage"
-msgstr "回到首頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Back to Previous"
-msgstr "回上頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad PGP Signature: %1\\n"
-msgstr "錯誤的 PGP 簽章:%1\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad attachment id. Couldn't find attachment '%1'\\n"
-msgstr "錯誤的附件編號。無法找到附件 '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad data in %1"
-msgstr "%1 的資料錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "Bad transaction number for attachment. %1 should be %2\\n"
-msgstr "附件的處理號碼錯誤。%1 應為 %2\\n"
-
-#: html/Admin/Elements/CustomFieldTabs:65 html/Admin/Elements/GroupTabs:60 html/Admin/Elements/QueueTabs:60 html/Admin/Elements/UserTabs:58 html/Ticket/Elements/Tabs:113 html/User/Elements/GroupTabs:59
-msgid "Basics"
-msgstr "基本資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Batch Approval"
-msgstr "批次簽核"
-
-#: html/Ticket/Update.html:86
-msgid "Bcc"
-msgstr "密件副本"
-
-#: html/Admin/CustomFields/GroupRights.html:91 html/Admin/CustomFields/UserRights.html:74 html/Admin/Elements/EditScrip:95
-msgid "Be sure to save your changes"
-msgstr "請別忘了儲存修改。"
-
-#: html/Elements/SelectDateRelation:55 lib/RT/CurrentUser.pm:360
-msgid "Before"
-msgstr "早於"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin Approval"
-msgstr "開始簽核"
-
-#: NOT FOUND IN SOURCE
-msgid "Begin From "
-msgstr "起始日"
-
-#: html/Elements/Header:80
-msgid "Best Practical Solutions, LLC corporate logo"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Binary"
-msgstr "檔案"
-
-#: NOT FOUND IN SOURCE
-msgid "Birthday"
-msgstr "生日"
-
-#: etc/initialdata:217
-msgid "Blank"
-msgstr "空白範本"
-
-#: html/Search/Elements/EditFormat:84
-msgid "Bold"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Bookmarkable URL for this search"
-msgstr "將查詢結果轉為可放入書籤的網址"
-
-#: html/Search/Results.html:81
-msgid "Bookmarkable link"
-msgstr "可放入書籤的網址"
-
-#: html/Ticket/Elements/ShowHistory:60 html/Ticket/Elements/ShowHistory:66
-msgid "Brief headers"
-msgstr "精簡標頭檔"
-
-#: html/Search/Bulk.html:46 html/Search/Bulk.html:47
-msgid "Bulk ticket update"
-msgstr "更新整批申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Business Unit"
-msgstr "事業部"
-
-#: NOT FOUND IN SOURCE
-msgid "Business Unit:"
-msgstr "事業部:"
-
-#: lib/RT/User_Overlay.pm:1722
-msgid "Can not modify system users"
-msgstr "無法更改系統使用者"
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "Can this principal see this queue"
-msgstr "該單位是否能查閱此表單"
-
-#: lib/RT/CustomField_Overlay.pm:370
-msgid "Can't add a custom field value without a name"
-msgstr "不能新增沒有名稱的自訂欄位值"
-
-#: html/Admin/CustomFields/Objects.html:86
-#. ($Class)
-msgid "Can't find a collection class for '%1'"
-msgstr ""
-
-#: html/Search/Build.html:761
-msgid "Can't find a saved search to work with"
-msgstr "找不到已儲存的查詢"
-
-#: lib/RT/Link_Overlay.pm:160
-msgid "Can't link a ticket to itself"
-msgstr "申請單不能鏈結自己。"
-
-#: NOT FOUND IN SOURCE
-msgid "Can't merge into a merged ticket. You should never get this error"
-msgstr "不能整合進已整合過的申請單。這個錯誤不該發生。"
-
-#: html/Search/Build.html:766
-msgid "Can't save this search"
-msgstr "無法儲存此項查詢"
-
-#: lib/RT/Record.pm:1266 lib/RT/Record.pm:1344
-msgid "Can't specifiy both base and target"
-msgstr "不能同時指定起始申請單與目的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Cancel"
-msgstr "取消"
-
-#: html/autohandler:148
-#. ($msg)
-msgid "Cannot create user: %1"
-msgstr "無法新增使用者:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Cannot login: Your system clock differs from server's by %1 seconds!"
-msgstr "您的系統時鐘和伺服器相差 %1 秒,無法登入!"
-
-#: NOT FOUND IN SOURCE
-msgid "Card No."
-msgstr "卡號"
-
-#: NOT FOUND IN SOURCE
-msgid "Categories"
-msgstr "分類管理"
-
-#: NOT FOUND IN SOURCE
-msgid "Category"
-msgstr "分類"
-
-#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:85 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:81 lib/RT/ACE_Overlay.pm:113
-msgid "Cc"
-msgstr "副本"
-
-#: NOT FOUND IN SOURCE
-msgid "Cc Type"
-msgstr "副本類別"
-
-#: NOT FOUND IN SOURCE
-msgid "Chairperson's Office"
-msgstr "董事長室"
-
-#: NOT FOUND IN SOURCE
-msgid "Change Ticket"
-msgstr "修改申請單"
-
-#: html/SelfService/Prefs.html:52
-msgid "Change password"
-msgstr "更改密碼"
-
-#: NOT FOUND IN SOURCE
-msgid "ChangeOwnerUI"
-msgstr "可否選擇表單承辦人"
-
-#: html/Elements/Submit:100
-msgid "Check All"
-msgstr "全部選取"
-
-#: html/SelfService/Update.html:78 html/Ticket/Create.html:131 html/Ticket/Update.html:95
-msgid "Check box to delete"
-msgstr "選擇欲刪除的項目"
-
-#: html/Admin/Elements/SelectRights:55
-msgid "Check box to revoke right"
-msgstr "選擇欲撤消的權利"
-
-#: html/Elements/EditLinks:146 html/Elements/EditLinks:85 html/Elements/ShowLinks:78 html/Ticket/Create.html:214 html/Ticket/Elements/BulkLinks:64
-msgid "Children"
-msgstr "子申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Chinese Name"
-msgstr "中文姓名"
-
-#: NOT FOUND IN SOURCE
-msgid "Chinese/English"
-msgstr "中英文"
-
-#: html/Admin/Users/Modify.html:156 html/User/Prefs.html:141
-msgid "City"
-msgstr "所在城市"
-
-#: NOT FOUND IN SOURCE
-msgid "ClassicUI"
-msgstr "傳統介面"
-
-#: html/Elements/Submit:102
-msgid "Clear All"
-msgstr "全部清除"
-
-#: html/Ticket/Elements/ShowDates:68
-msgid "Closed"
-msgstr "已解決"
-
-#: NOT FOUND IN SOURCE
-msgid "Closed Tickets"
-msgstr "已解決的申請單"
-
-#: html/SelfService/Closed.html:46 html/SelfService/Elements/Tabs:66
-msgid "Closed tickets"
-msgstr "已解決的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Code"
-msgstr "執行程式碼"
-
-#: NOT FOUND IN SOURCE
-msgid "Command not understood!\\n"
-msgstr "指令無法辨識!\\n"
-
-#: html/Ticket/Elements/ShowTransaction:182 html/Ticket/Elements/Tabs:176
-msgid "Comment"
-msgstr "評論"
-
-#: html/Admin/Queues/Modify.html:79
-msgid "Comment Address"
-msgstr "評論電子郵件地址"
-
-#: NOT FOUND IN SOURCE
-msgid "Comment not recorded"
-msgstr "評論未被紀錄"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "Comment on tickets"
-msgstr "對申請單提出評論"
-
-#: lib/RT/Queue_Overlay.pm:112
-msgid "CommentOnTicket"
-msgstr "評論申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments"
-msgstr "評論"
-
-#: html/Ticket/ModifyAll.html:91 html/Ticket/Update.html:73
-msgid "Comments (Not sent to requestors)"
-msgstr "評論(不送給申請人)"
-
-#: html/Search/Bulk.html:150
-msgid "Comments (not sent to requestors)"
-msgstr "評論(不送給申請人)"
-
-#: NOT FOUND IN SOURCE
-msgid "Comments about %1"
-msgstr "對 %1 的評論"
-
-#: html/Admin/Users/Modify.html:224 html/Ticket/Elements/ShowRequestor:67
-msgid "Comments about this user"
-msgstr "使用者描述"
-
-#: lib/RT/Transaction_Overlay.pm:623
-msgid "Comments added"
-msgstr "新增評論完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "Commit"
-msgstr "確認"
-
-#: lib/RT/Action/Generic.pm:176
-msgid "Commit Stubbed"
-msgstr "消除更動完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "Company Name"
-msgstr "公司名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "CompanySpecific"
-msgstr "各公司獨立顯示"
-
-#: NOT FOUND IN SOURCE
-msgid "Compile Restrictions"
-msgstr "設定查詢條件"
-
-#: html/Admin/Elements/EditScrip:63
-msgid "Condition"
-msgstr "條件"
-
-#: bin/rt-crontool:131
-msgid "Condition matches..."
-msgstr "符合條件..."
-
-#: lib/RT/Scrip_Overlay.pm:189
-msgid "Condition not found"
-msgstr "未找到符合的現況"
-
-#: html/Elements/Tabs:81
-msgid "Configuration"
-msgstr "設定"
-
-#: html/SelfService/Prefs.html:54
-msgid "Confirm"
-msgstr "確認密碼"
-
-#: NOT FOUND IN SOURCE
-msgid "Confirm Password"
-msgstr "密碼確認"
-
-#: NOT FOUND IN SOURCE
-msgid "Confirm Submit"
-msgstr "確定送出"
-
-#: NOT FOUND IN SOURCE
-msgid "Contact System Administrator"
-msgstr "連絡系統管理員"
-
-#: NOT FOUND IN SOURCE
-msgid "ContactInfoSystem"
-msgstr "連絡資訊系統"
-
-#: NOT FOUND IN SOURCE
-msgid "Contacted date '%1' could not be parsed"
-msgstr "無法解讀聯絡日期 '%1'"
-
-#: html/Admin/Elements/ModifyTemplate:65 html/Elements/SelectAttachmentField:48 html/Ticket/ModifyAll.html:119
-msgid "Content"
-msgstr "內容"
-
-#: html/Elements/SelectAttachmentField:49
-msgid "Content-Type"
-msgstr "內容類型"
-
-#: NOT FOUND IN SOURCE
-msgid "Coould not create group"
-msgstr "無法新增群組"
-
-#: html/Search/Elements/EditSearches:64
-msgid "Copy"
-msgstr "複製"
-
-#: NOT FOUND IN SOURCE
-msgid "Copy Field From:"
-msgstr "欲複製欄位:"
-
-#: etc/initialdata:286
-msgid "Correspondence"
-msgstr "回覆"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence Address"
-msgstr "申請單回覆地址"
-
-#: lib/RT/Transaction_Overlay.pm:619
-msgid "Correspondence added"
-msgstr "新增申請單回覆"
-
-#: NOT FOUND IN SOURCE
-msgid "Correspondence not recorded"
-msgstr "未紀錄申請單回覆"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. "
-msgstr "不能新增自訂欄位的值 "
-
-#: NOT FOUND IN SOURCE
-msgid "Could not add new custom field value for ticket. %1 "
-msgstr "不能新增自訂欄位的值。%1 "
-
-#: lib/RT/Record.pm:1693
-msgid "Could not add new custom field value. "
-msgstr ""
-
-#: lib/RT/Record.pm:1646
-#. (, $value_msg)
-msgid "Could not add new custom field value. %1 "
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:3004 lib/RT/Ticket_Overlay.pm:3012 lib/RT/Ticket_Overlay.pm:3029
-msgid "Could not change owner. "
-msgstr "不能更改承辦人。 "
-
-#: html/Admin/CustomFields/Modify.html:119
-#. ($msg)
-msgid "Could not create CustomField"
-msgstr "無法新增自訂欄位"
-
-#: html/Admin/Elements/EditCustomField:113
-#. ($msg)
-msgid "Could not create CustomField: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create Scrip"
-msgstr "無法建立訊息通知"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create Template"
-msgstr "無法建立通知範本"
-
-#: html/User/Groups/Modify.html:98 lib/RT/Group_Overlay.pm:502 lib/RT/Group_Overlay.pm:509
-msgid "Could not create group"
-msgstr "無法新增群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create item"
-msgstr "無法新增項目"
-
-#: html/Admin/Global/Template.html:96 html/Admin/Queues/Template.html:93
-#. ($msg)
-msgid "Could not create template: %1"
-msgstr "無法新增範本:%1"
-
-#: lib/RT/Ticket_Overlay.pm:1051 lib/RT/Ticket_Overlay.pm:396
-msgid "Could not create ticket. Queue not set"
-msgstr "無法新增申請單。尚未指定表單。"
-
-#: lib/RT/User_Overlay.pm:256 lib/RT/User_Overlay.pm:270 lib/RT/User_Overlay.pm:279 lib/RT/User_Overlay.pm:288 lib/RT/User_Overlay.pm:297 lib/RT/User_Overlay.pm:311 lib/RT/User_Overlay.pm:321 lib/RT/User_Overlay.pm:497
-msgid "Could not create user"
-msgstr "無法新增使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create watcher for requestor"
-msgstr "無法為申請人新增視察員"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not create workflow: %1"
-msgstr "無法新增流程:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find a ticket with id %1"
-msgstr "找不到編號 %1 的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find group %1."
-msgstr "找不到群組 %1。"
-
-#: lib/RT/Queue_Overlay.pm:738 lib/RT/Ticket_Overlay.pm:1384
-msgid "Could not find or create that user"
-msgstr "找不到或無法新增該名使用者"
-
-#: lib/RT/Queue_Overlay.pm:799 lib/RT/Ticket_Overlay.pm:1465
-msgid "Could not find that principal"
-msgstr "找不到該單位"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not find user %1."
-msgstr "找不到使用者 %1。"
-
-#: html/Admin/CustomFields/Objects.html:69
-msgid "Could not load CustomField %1"
-msgstr "無法載入欄位 %1"
-
-#: html/Admin/Groups/Members.html:109 html/User/Groups/Members.html:111 html/User/Groups/Modify.html:103
-msgid "Could not load group"
-msgstr "無法載入群組"
-
-#: lib/RT/SavedSearch.pm:120
-#. ($privacy)
-msgid "Could not load object for %1"
-msgstr ""
-
-#: lib/RT/SavedSearch.pm:188
-msgid "Could not load search attribute"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:758
-#. ($args{'Type'})
-msgid "Could not make that principal a %1 for this queue"
-msgstr "無法將該單位設為此表單的 %1。"
-
-#: lib/RT/Ticket_Overlay.pm:1405
-#. ($self->loc($args{'Type'}))
-msgid "Could not make that principal a %1 for this ticket"
-msgstr "無法將該單位設為此申請單的 %1。"
-
-#: lib/RT/Queue_Overlay.pm:857
-#. ($args{'Type'})
-msgid "Could not remove that principal as a %1 for this queue"
-msgstr "無法將單位 %1 從表單移除。"
-
-#: NOT FOUND IN SOURCE
-msgid "Could not remove that principal as a %1 for this ticket"
-msgstr "無法將單位 %1 從申請單移除。"
-
-#: lib/RT/User_Overlay.pm:192
-msgid "Could not set user info"
-msgstr "無法設定使用者資訊"
-
-#: lib/RT/Group_Overlay.pm:1011
-msgid "Couldn't add member to group"
-msgstr "無法新增成員至群組"
-
-#: lib/RT/Record.pm:1705 lib/RT/Record.pm:1757
-#. ($Msg)
-msgid "Couldn't create a transaction: %1"
-msgstr "無法新增更動報告"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't figure out what to do from gpg's reply\\n"
-msgstr "無法從 gpg 回函辨識出該採取的行動\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find group\\n"
-msgstr "找不到群組\\n"
-
-#: lib/RT/Record.pm:939
-msgid "Couldn't find row"
-msgstr "找不到此列資料"
-
-#: lib/RT/Group_Overlay.pm:985
-msgid "Couldn't find that principal"
-msgstr "找不到該單位"
-
-#: lib/RT/CustomField_Overlay.pm:404
-msgid "Couldn't find that value"
-msgstr "找不到該值"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find that watcher"
-msgstr "找不到該視察員"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't find user\\n"
-msgstr "找不到使用者\\n"
-
-#: lib/RT/CurrentUser.pm:146
-#. ($self->Id)
-msgid "Couldn't load %1 from the users database.\\n"
-msgstr "無法從使用者資料庫載入 %1。\\n"
-
-#: html/Admin/CustomFields/UserRights.html:149
-#. ($id)
-msgid "Couldn't load Class %1"
-msgstr "無法載入類別 %1"
-
-#: html/Admin/CustomFields/GroupRights.html:107
-#. ($id)
-msgid "Couldn't load CustomField %1"
-msgstr "無法載入自訂欄位 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load KeywordSelects."
-msgstr "無法載入 KeywordSelects。"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load RT config file '%1' %2"
-msgstr "無法載入 RT 設定檔 '%1' %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load Scrips."
-msgstr "無法載入手續。"
-
-#: html/Admin/Groups/GroupRights.html:109 html/Admin/Groups/UserRights.html:96
-#. ($id)
-msgid "Couldn't load group %1"
-msgstr "無法載入手續 %1"
-
-#: lib/RT/Link_Overlay.pm:203 lib/RT/Link_Overlay.pm:212 lib/RT/Link_Overlay.pm:239
-msgid "Couldn't load link"
-msgstr "無法載入鏈結。"
-
-#: html/Admin/Elements/ObjectCustomFields:83 html/Admin/Queues/CustomFields.html:59 html/Admin/Users/CustomFields.html:59
-#. ($id)
-msgid "Couldn't load object %1"
-msgstr "無法載入物件 %1"
-
-#: html/Admin/Queues/People.html:142
-#. ($id)
-msgid "Couldn't load queue"
-msgstr "無法載入表單"
-
-#: html/Admin/Queues/GroupRights.html:122 html/Admin/Queues/UserRights.html:93
-#. ($id)
-msgid "Couldn't load queue %1"
-msgstr "無法載入表單 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load scrip"
-msgstr "無法載入手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load template"
-msgstr "無法載入範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Couldn't load that user (%1)"
-msgstr "無法載入該名使用者(%1)"
-
-#: html/SelfService/Display.html:156
-#. ($id)
-msgid "Couldn't load ticket '%1'"
-msgstr "無法載入申請單 '%1'"
-
-#: lib/RT/Ticket_Overlay.pm:2612
-#. ($args{'Base'})
-msgid "Couldn't resolve base '%1' into a URI."
-msgstr ""
-
-#: lib/RT/Ticket_Overlay.pm:2611
-#. ($args{'Target'})
-msgid "Couldn't resolve target '%1' into a URI."
-msgstr ""
-
-#: html/Admin/Users/Modify.html:173 html/User/Prefs.html:153
-msgid "Country"
-msgstr "國家"
-
-#: html/Admin/Elements/CreateUserCalled:47 html/Admin/Elements/EditCustomField:84 html/Admin/Elements/EditScrip:132 html/Admin/Queues/Template.html:66 html/Elements/QuickCreate:68 html/Ticket/Create.html:165 html/Ticket/Create.html:226
-msgid "Create"
-msgstr "新增"
-
-#: NOT FOUND IN SOURCE
-msgid "Create Subgroup:"
-msgstr "新增子群組:"
-
-#: etc/initialdata:135
-msgid "Create Tickets"
-msgstr "新增申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Create User:"
-msgstr "新增成員:"
-
-#: html/Admin/CustomFields/Modify.html:109 html/Admin/Elements/EditCustomField:96
-msgid "Create a CustomField"
-msgstr "新增自訂欄位"
-
-#: html/Admin/Queues/CustomField.html:69
-#. ($QueueObj->Name())
-msgid "Create a CustomField for queue %1"
-msgstr "為 %1 表單新增自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a CustomField which applies to all queues"
-msgstr "為 %1 表單新增自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new Custom Field"
-msgstr "新增自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global Scrip"
-msgstr "新增全域手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new global scrip"
-msgstr "新增全域手續"
-
-#: html/Admin/Groups/Modify.html:125 html/Admin/Groups/Modify.html:99
-msgid "Create a new group"
-msgstr "新增群組"
-
-#: html/User/Groups/Modify.html:113 html/User/Groups/Modify.html:88
-msgid "Create a new personal group"
-msgstr "新增代理人群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new queue"
-msgstr "新增表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new scrip"
-msgstr "新增手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new template"
-msgstr "新增範本"
-
-#: html/Ticket/Create.html:46 html/Ticket/Create.html:49 html/Ticket/Create.html:57
-msgid "Create a new ticket"
-msgstr "新增申請單"
-
-#: html/Admin/Users/Modify.html:251 html/Admin/Users/Modify.html:306
-msgid "Create a new user"
-msgstr "新增使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a new workflow"
-msgstr "新增流程"
-
-#: html/Admin/Queues/Modify.html:125
-msgid "Create a queue"
-msgstr "新增表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a queue called"
-msgstr "新增表單名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a request"
-msgstr "提出申請"
-
-#: html/Admin/Queues/Scrip.html:80
-#. ($QueueObj->Name)
-msgid "Create a scrip for queue %1"
-msgstr "為 %1 表單新增手續"
-
-#: html/Admin/Global/Template.html:90 html/Admin/Queues/Template.html:86
-msgid "Create a template"
-msgstr "新增範本"
-
-#: html/SelfService/Create.html:46 html/SelfService/CreateTicketInQueue.html:46
-msgid "Create a ticket"
-msgstr "提出申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Create a workflow"
-msgstr "新增流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1 / %2 / %3 "
-msgstr "新增失敗:%1 / %2 / %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Create failed: %1/%2/%3"
-msgstr "新增失敗:%1/%2/%3"
-
-#: NOT FOUND IN SOURCE
-msgid "Create new item"
-msgstr "建立新項目"
-
-#: etc/initialdata:137
-msgid "Create new tickets based on this scrip's template"
-msgstr "依據此項手續內的模版,新增申請單"
-
-#: html/SelfService/Create.html:105
-msgid "Create ticket"
-msgstr "新增申請單"
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "Create tickets in this queue"
-msgstr "在此表單中新增申請單"
-
-#: lib/RT/CustomField_Overlay.pm:101
-msgid "Create, delete and modify custom fields"
-msgstr "新增、刪除及更改自訂欄位"
-
-#: lib/RT/Queue_Overlay.pm:93
-msgid "Create, delete and modify queues"
-msgstr "新增、刪除及更改表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Create, delete and modify the members of any user's personal groups"
-msgstr "新增、刪除及更改任何使用者的代理人群組"
-
-#: lib/RT/System.pm:81
-msgid "Create, delete and modify the members of personal groups"
-msgstr "新增、刪除及更改代理人群組"
-
-#: lib/RT/System.pm:82
-msgid "Create, delete and modify users"
-msgstr "新增、刪除及更改使用者"
-
-#: lib/RT/System.pm:88
-msgid "CreateSavedSearch"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:110
-msgid "CreateTicket"
-msgstr "新增申請單"
-
-#: html/Elements/SelectDateType:47 html/Ticket/Elements/ShowDates:48 lib/RT/Ticket_Overlay.pm:1145
-msgid "Created"
-msgstr "新增日"
-
-#: html/Admin/CustomFields/Modify.html:121 html/Admin/Elements/EditCustomField:117
-#. ($CustomFieldObj->Name())
-msgid "Created CustomField %1"
-msgstr "自訂欄位 %1 新增成功"
-
-#: NOT FOUND IN SOURCE
-msgid "Created template %1"
-msgstr "範本 %1 新增成功"
-
-#: NOT FOUND IN SOURCE
-msgid "Created workflow %1"
-msgstr "流程 %1 新增成功"
-
-#: html/Search/Elements/PickBasics:102
-msgid "Creator"
-msgstr "建立者"
-
-#: NOT FOUND IN SOURCE
-msgid "Currency"
-msgstr "幣別"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Approval Info"
-msgstr "截至目前簽核資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Custom Fields"
-msgstr "現有自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Groups:"
-msgstr "現有群組列表:"
-
-#: html/Elements/EditLinks:49
-msgid "Current Links"
-msgstr "現有關係"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Rights:"
-msgstr "現有權限:"
-
-#: html/Admin/Elements/EditScrips:51
-msgid "Current Scrips"
-msgstr "現有手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Status"
-msgstr "目前狀態"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Templates"
-msgstr "現有範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Current Watchers"
-msgstr "現有視察員"
-
-#: html/Admin/Groups/Members.html:60 html/User/Groups/Members.html:63
-msgid "Current members"
-msgstr "現有成員"
-
-#: html/Admin/Elements/SelectRights:51
-msgid "Current rights"
-msgstr "現有權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Current search criteria"
-msgstr "現有查詢條件"
-
-#: html/Admin/Queues/People.html:62 html/Ticket/Elements/EditPeople:66
-msgid "Current watchers"
-msgstr "現有視察員"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Field #%1"
-msgstr "自訂欄位 #%1"
-
-#: html/Admin/Elements/SystemTabs:61 html/Admin/Elements/Tabs:62 html/Admin/Global/index.html:71 html/Admin/Users/Modify.html:208 html/Admin/index.html:77 html/Ticket/Elements/ShowSummary:57
-msgid "Custom Fields"
-msgstr "自訂欄位"
-
-#: html/Admin/CustomFields/index.html:59
-#. ($lookup)
-msgid "Custom Fields for %1"
-msgstr "%1 的自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom Fields which apply to all queues"
-msgstr "適用於所有表單的自訂欄位"
-
-#: html/Admin/Elements/EditScrip:123
-msgid "Custom action cleanup code"
-msgstr "動作後執行程式"
-
-#: html/Admin/Elements/EditScrip:115
-msgid "Custom action preparation code"
-msgstr "動作前執行程式"
-
-#: html/Admin/Elements/EditScrip:107
-msgid "Custom condition"
-msgstr "自訂條件"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 %2 %3"
-msgstr "自訂欄位 %1 %2 %3"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field %1 does not apply to this object"
-msgstr "自訂欄位 %1 不適用於此物件"
-
-#: lib/RT/Tickets_Overlay.pm:2147
-#. ($CF->Name)
-msgid "Custom field %1 has a value."
-msgstr "自訂欄位 %1 已有值"
-
-#: lib/RT/Tickets_Overlay.pm:2143
-#. ($CF->Name)
-msgid "Custom field %1 has no value."
-msgstr "自訂欄位 %1 沒有值"
-
-#: lib/RT/Record.pm:1579 lib/RT/Record.pm:1740
-#. ($args{'Field'})
-msgid "Custom field %1 not found"
-msgstr "找不到自訂欄位 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field deleted"
-msgstr "自訂欄位已刪除"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field not found"
-msgstr "找不到自訂欄位"
-
-#: lib/RT/CustomField_Overlay.pm:1041
-#. ($args{'Content'}, $self->Name)
-msgid "Custom field value %1 could not be found for custom field %2"
-msgstr "無法從自訂欄位 %2 中找到 %1 這個欄位值"
-
-#: NOT FOUND IN SOURCE
-msgid "Custom field value changed from %1 to %2"
-msgstr "自訂欄位值從 %1 改為 %2"
-
-#: lib/RT/CustomField_Overlay.pm:414
-msgid "Custom field value could not be deleted"
-msgstr "無法刪除自訂欄位值"
-
-#: lib/RT/CustomField_Overlay.pm:1047
-msgid "Custom field value could not be found"
-msgstr "找不到自訂欄位值"
-
-#: lib/RT/CustomField_Overlay.pm:1049 lib/RT/CustomField_Overlay.pm:412
-msgid "Custom field value deleted"
-msgstr "自訂欄位值刪除成功"
-
-#: html/Elements/SelectGroups:51 html/Elements/SelectUsers:51 lib/RT/Transaction_Overlay.pm:627
-msgid "CustomField"
-msgstr "自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Data error"
-msgstr "資料錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "DatabaseBindRemote"
-msgstr "容許外部連線"
-
-#: NOT FOUND IN SOURCE
-msgid "DatabaseName"
-msgstr "MySQL資料庫"
-
-#: NOT FOUND IN SOURCE
-msgid "Date of Departure"
-msgstr "出發日期"
-
-#: html/SelfService/Display.html:61 html/Ticket/Create.html:191 html/Ticket/Elements/ShowSummary:76 html/Ticket/Elements/Tabs:116 html/Ticket/ModifyAll.html:65
-msgid "Dates"
-msgstr "日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Dec"
-msgstr "十二月"
-
-#: lib/RT/Date.pm:448
-msgid "Dec."
-msgstr "12"
-
-#: NOT FOUND IN SOURCE
-msgid "December"
-msgstr "十二月"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Approval"
-msgstr "預設簽核"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Autoresponse Template"
-msgstr "預設自動回應範本"
-
-#: etc/initialdata:222
-msgid "Default Autoresponse template"
-msgstr "預設自動回應範本"
-
-#: html/Tools/Offline.html:61
-msgid "Default Queue"
-msgstr "預設表單"
-
-#: html/Tools/Offline.html:70
-msgid "Default Requestor"
-msgstr "預設申請人"
-
-#: NOT FOUND IN SOURCE
-msgid "Default Value"
-msgstr "預設值"
-
-#: etc/initialdata:296
-msgid "Default admin comment template"
-msgstr "預設管理員評論範本"
-
-#: etc/initialdata:275
-msgid "Default admin correspondence template"
-msgstr "預設管理員回覆範本"
-
-#: etc/initialdata:287
-msgid "Default correspondence template"
-msgstr "預設回覆範本"
-
-#: etc/initialdata:253
-msgid "Default transaction template"
-msgstr "預設更動範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Default: %1/%2 changed from %3 to %4"
-msgstr "預設:%1/%2 已自 %3 改為 %4"
-
-#: NOT FOUND IN SOURCE
-msgid "DefaultApproval"
-msgstr "預設簽核"
-
-#: html/User/Delegation.html:46 html/User/Delegation.html:49
-msgid "Delegate rights"
-msgstr "代理人權限"
-
-#: lib/RT/System.pm:85
-msgid "Delegate specific rights which have been granted to you."
-msgstr "將擁有的權限委託他人代理"
-
-#: lib/RT/System.pm:85
-msgid "DelegateRights"
-msgstr "設定代理人"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Approval"
-msgstr "代理簽核"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Queue"
-msgstr "代理表單名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Queue:"
-msgstr "代理表單:"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegated Type"
-msgstr "代理表單種類"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates"
-msgstr "代理人"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Enabled Status"
-msgstr "代理啟動狀態"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Info"
-msgstr "代理人資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Period"
-msgstr "代理期間"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Permission Setting"
-msgstr "代理權限設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Permission:"
-msgstr "代理權限:"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Setting"
-msgstr "代理人設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegates Status"
-msgstr "代理狀態"
-
-#: html/User/Elements/Tabs:59
-msgid "Delegation"
-msgstr "代理人權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegation Groups"
-msgstr "代理人群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Delegation Rights"
-msgstr "代理人權限"
-
-#: html/Admin/Elements/EditScrips:75 html/Search/Elements/EditFormat:103 html/Search/Elements/EditQuery:57 html/Search/Elements/EditSearches:63
-msgid "Delete"
-msgstr "刪除"
-
-#: html/Admin/Elements/EditTemplates:79
-msgid "Delete Template"
-msgstr "刪除範本"
-
-#: lib/RT/SavedSearch.pm:211
-#. ($msg)
-msgid "Delete failed: %1"
-msgstr ""
-
-#: html/Admin/Elements/EditScrips:74
-msgid "Delete selected scrips"
-msgstr "刪除指定的手續"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "Delete tickets"
-msgstr "刪除申請單"
-
-#: lib/RT/Queue_Overlay.pm:115
-msgid "DeleteTicket"
-msgstr "刪除申請單"
-
-#: lib/RT/SavedSearch.pm:209
-msgid "Deleted search"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object could break referential integrity"
-msgstr "刪除此物件可能破壞參考完整性"
-
-#: lib/RT/Queue_Overlay.pm:391
-msgid "Deleting this object would break referential integrity"
-msgstr "刪除此物件可能破壞參考完整性"
-
-#: lib/RT/User_Overlay.pm:513
-msgid "Deleting this object would violate referential integrity"
-msgstr "刪除此物件會違反參考完整性"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity."
-msgstr "刪除此物件會違反參考完整性"
-
-#: NOT FOUND IN SOURCE
-msgid "Deleting this object would violate referential integrity. That's bad."
-msgstr "刪除此物件會違反參考完整性"
-
-#: html/Approvals/Elements/Approve:66
-msgid "Deny"
-msgstr "駁回"
-
-#: NOT FOUND IN SOURCE
-msgid "Department"
-msgstr "部門"
-
-#: NOT FOUND IN SOURCE
-msgid "Department ID"
-msgstr "部門代碼"
-
-#: NOT FOUND IN SOURCE
-msgid "Department Name"
-msgstr "部門名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Department's"
-msgstr "部門之"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure Details"
-msgstr "差旅明細"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure From"
-msgstr "差旅起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure Request"
-msgstr "請假單"
-
-#: NOT FOUND IN SOURCE
-msgid "Departure Until"
-msgstr "差旅截止日"
-
-#: html/Elements/EditLinks:138 html/Elements/EditLinks:66 html/Elements/ShowLinks:58 html/Ticket/Create.html:212 html/Ticket/Elements/BulkLinks:56 html/Ticket/Elements/ShowDependencies:53
-msgid "Depended on by"
-msgstr "可接續處理的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Dependencies: \\n"
-msgstr "附屬性:\\n"
-
-#: lib/RT/Transaction_Overlay.pm:707
-#. ($value)
-msgid "Dependency by %1 added"
-msgstr "已加入可接續處理的申請單 %1"
-
-#: lib/RT/Transaction_Overlay.pm:747
-#. ($value)
-msgid "Dependency by %1 deleted"
-msgstr "已移除可接續處理的申請單 %1"
-
-#: lib/RT/Transaction_Overlay.pm:704
-#. ($value)
-msgid "Dependency on %1 added"
-msgstr "已加入需先處理的申請單 %1"
-
-#: lib/RT/Transaction_Overlay.pm:744
-#. ($value)
-msgid "Dependency on %1 deleted"
-msgstr "已移除需先處理的申請單 %1"
-
-#: html/Elements/EditLinks:134 html/Elements/EditLinks:57 html/Elements/SelectLinkType:48 html/Elements/ShowLinks:48 html/Ticket/Create.html:211 html/Ticket/Elements/BulkLinks:52 html/Ticket/Elements/ShowDependencies:46
-msgid "Depends on"
-msgstr "需先處理"
-
-#: NOT FOUND IN SOURCE
-msgid "DependsOn"
-msgstr "需先處理"
-
-#: html/Elements/SelectSortOrder:56 html/Search/Elements/DisplayOptions:78
-msgid "Descending"
-msgstr "遞減"
-
-#: html/SelfService/Create.html:100 html/Ticket/Create.html:149
-msgid "Describe the issue below"
-msgstr "在以下欄位描述主題"
-
-#: html/Admin/CustomFields/Modify.html:61 html/Admin/Elements/AddCustomFieldValue:57 html/Admin/Elements/EditCustomField:60 html/Admin/Elements/EditCustomFieldValues:56 html/Admin/Elements/EditScrip:56 html/Admin/Elements/ModifyTemplate:57 html/Admin/Groups/Modify.html:71 html/Admin/Queues/Modify.html:69 html/Search/Elements/EditSearches:56 html/User/Groups/Modify.html:70
-msgid "Description"
-msgstr "描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Description of Responsibility"
-msgstr "經辦業務說明"
-
-#: NOT FOUND IN SOURCE
-msgid "Description:"
-msgstr "描述:"
-
-#: NOT FOUND IN SOURCE
-msgid "Details"
-msgstr "細節"
-
-#: NOT FOUND IN SOURCE
-msgid "Direct"
-msgstr "直接"
-
-#: NOT FOUND IN SOURCE
-msgid "Disability"
-msgstr "殘障身分"
-
-#: NOT FOUND IN SOURCE
-msgid "Disability Type"
-msgstr "殘障類別"
-
-#: NOT FOUND IN SOURCE
-msgid "Disabled"
-msgstr "停用"
-
-#: html/Search/Elements/EditFormat:71 html/Ticket/Elements/Tabs:108
-msgid "Display"
-msgstr "顯示內容"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "Display Access Control List"
-msgstr "顯示權限控制清單"
-
-#: html/Search/Elements/DisplayOptions:46
-msgid "Display Columns"
-msgstr "顯示欄位"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "Display Scrip templates for this queue"
-msgstr "顯示此表單的範本"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "Display Scrips for this queue"
-msgstr "顯示此表單的手續"
-
-#: html/Ticket/Elements/ShowHistory:56
-msgid "Display mode"
-msgstr "顯示模式"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "Display saved searches for this group"
-msgstr "顯示此群組已儲存的查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Display ticket #%1"
-msgstr "顯示第%1號申請單"
-
-#: html/Elements/Footer:60
-msgid "Distributed under version 2 <a href=\"http://www.gnu.org/copyleft/gpl.html\"> of the GNU GPL.</a>"
-msgstr "依 <a href=\"http://www.gnu.org/copyleft/gpl.html\">GNU 通用公共授權</a> 第二版散布。"
-
-#: lib/RT/System.pm:76
-msgid "Do anything and everything"
-msgstr "允許一切操作"
-
-#: html/Search/Build.html:112
-msgid "Do the Search"
-msgstr ""
-
-#: html/Elements/Refresh:51
-msgid "Don't refresh this page."
-msgstr "不更新此頁面。"
-
-#: NOT FOUND IN SOURCE
-msgid "Don't show search results"
-msgstr "不顯示查詢結果"
-
-#: NOT FOUND IN SOURCE
-msgid "Done"
-msgstr "完成"
-
-#: NOT FOUND IN SOURCE
-msgid "Down"
-msgstr "下一頁"
-
-#: html/Ticket/Elements/ShowTransactionAttachments:82
-msgid "Download"
-msgstr "下載"
-
-#: html/Admin/Groups/index.html:61 html/Admin/Users/index.html:64
-msgid "Download as a tab-delimited file"
-msgstr "下載以 Tab 分隔的檔案"
-
-#: NOT FOUND IN SOURCE
-msgid "Dr."
-msgstr "博士"
-
-#: html/Elements/SelectDateType:53 html/Ticket/Create.html:197 html/Ticket/Elements/EditDates:66 html/Ticket/Elements/ShowDates:64 lib/RT/Ticket_Overlay.pm:1149
-msgid "Due"
-msgstr "到期日"
-
-#: NOT FOUND IN SOURCE
-msgid "Due Date"
-msgstr "截止日"
-
-#: NOT FOUND IN SOURCE
-msgid "Due date '%1' could not be parsed"
-msgstr "無法解讀日期 '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "ERROR: Couldn't load ticket '%1': %2.\\n"
-msgstr "無法載入申請單 '%1':%2.\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit"
-msgstr "編輯"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Conditions"
-msgstr "編輯前置條件"
-
-#: html/Admin/Elements/ObjectCustomFields:92 html/Admin/Queues/CustomFields.html:64 html/Admin/Users/CustomFields.html:64
-#. ($Object->Name)
-msgid "Edit Custom Fields for %1"
-msgstr "編輯 %1 的自訂欄位"
-
-#: html/Admin/Global/CustomFields/Groups.html:9
-msgid "Edit Custom Fields for all groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/Users.html:9
-msgid "Edit Custom Fields for all users"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Custom Fields for queue %1"
-msgstr "編輯表單 %1 的自訂欄位"
-
-#: html/Admin/Global/CustomFields/Queue-Tickets.html:9 html/Admin/Global/CustomFields/Queue-Transactions.html:9
-msgid "Edit Custom Fields for tickets in all queues"
-msgstr ""
-
-#: html/Search/Bulk.html:173 html/Ticket/ModifyLinks.html:57
-msgid "Edit Links"
-msgstr "編輯申請單關係"
-
-#: html/Search/Edit.html:68
-msgid "Edit Query"
-msgstr "編輯查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Subgroups"
-msgstr "新增/維護子群組"
-
-#: html/Admin/Queues/Templates.html:63
-#. ($QueueObj->Name)
-msgid "Edit Templates for queue %1"
-msgstr "編輯表單 %1 的範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit Workflows for queue %1"
-msgstr "編輯表單 %1 的流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit keywords"
-msgstr "編輯關鍵字"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "Edit saved searches for this group"
-msgstr "編輯此群組已儲存的查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit scrips"
-msgstr "編輯手續"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:60 html/Admin/Global/index.html:67
-msgid "Edit system templates"
-msgstr "編輯全域範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit system workflows"
-msgstr "編輯全域流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit templates for %1"
-msgstr "編輯 %1 的範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Edit workflows for %1"
-msgstr "編輯 %1 的流程"
-
-#: lib/RT/Group_Overlay.pm:175
-msgid "EditSavedSearches"
-msgstr "編輯已儲存的查詢"
-
-#: html/Admin/Queues/Modify.html:140
-#. ($QueueObj->Name)
-msgid "Editing Configuration for queue %1"
-msgstr "編輯表單 %1 的設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing Configuration for user %1"
-msgstr "編輯使用者 %1 的設定"
-
-#: html/Admin/CustomFields/Modify.html:125 html/Admin/Elements/EditCustomField:120
-#. ($CustomFieldObj->Name())
-msgid "Editing CustomField %1"
-msgstr "編輯自訂欄位 %1"
-
-#: html/Admin/Groups/Members.html:53
-#. ($Group->Name)
-msgid "Editing membership for group %1"
-msgstr "編輯群組 %1 的成員資訊"
-
-#: html/User/Groups/Members.html:150
-#. ($Group->Name)
-msgid "Editing membership for personal group %1"
-msgstr "編輯代理人群組 %1 的成員資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing template %1"
-msgstr "編輯範本 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Editing workflow %1"
-msgstr "編輯流程 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Education"
-msgstr "最高學歷"
-
-#: NOT FOUND IN SOURCE
-msgid "EffectiveId"
-msgstr "有效編號"
-
-#: lib/RT/Record.pm:1281 lib/RT/Record.pm:1358
-msgid "Either base or target must be specified"
-msgstr "需要指定起始申請單或目的申請單"
-
-#: html/Admin/Users/Modify.html:74 html/Ticket/Elements/AddWatchers:77 html/User/Prefs.html:65
-msgid "Email"
-msgstr "電子郵件信箱"
-
-#: NOT FOUND IN SOURCE
-msgid "Email Address"
-msgstr "電子郵件信箱"
-
-#: lib/RT/User_Overlay.pm:236
-msgid "Email address in use"
-msgstr "此電子郵件信箱已被使用"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailAddress"
-msgstr "電子郵件信箱位址"
-
-#: NOT FOUND IN SOURCE
-msgid "EmailEncoding"
-msgstr "電子郵件文字編碼方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Embark Date"
-msgstr "外籍員工入境日"
-
-#: NOT FOUND IN SOURCE
-msgid "Embarked Date"
-msgstr "抵達日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Embarked Location"
-msgstr "抵達地點"
-
-#: NOT FOUND IN SOURCE
-msgid "Enable Delegates"
-msgstr "代理啟動"
-
-#: html/Admin/CustomFields/Modify.html:83 html/Admin/Elements/EditCustomField:72
-msgid "Enabled (Unchecking this box disables this custom field)"
-msgstr "啟用(取消勾選將停用此自訂欄位)"
-
-#: html/Admin/Groups/Modify.html:84 html/User/Groups/Modify.html:74
-msgid "Enabled (Unchecking this box disables this group)"
-msgstr "啟用(取消勾選將停用此群組)"
-
-#: html/Admin/Queues/Modify.html:105
-msgid "Enabled (Unchecking this box disables this queue)"
-msgstr "啟用(取消勾選將停用此表單)"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Custom Fields"
-msgstr "已啟用的自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Date"
-msgstr "啟用日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Date:"
-msgstr "啟動日期:"
-
-#: html/Admin/Queues/index.html:78
-msgid "Enabled Queues"
-msgstr "已啟用的表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Enabled Status"
-msgstr "啟用狀態"
-
-#: html/Admin/Elements/EditCustomField:136 html/Admin/Groups/Modify.html:150 html/Admin/Users/Modify.html:342 html/User/Groups/Modify.html:138
-#. (loc_fuzzy($msg))
-msgid "Enabled status %1"
-msgstr "啟用狀態 %1"
-
-#: html/Admin/CustomFields/Modify.html:143 html/Admin/Queues/Modify.html:162
-#. (loc_fuzzy($msg))
-msgid "Enabled status: %1"
-msgstr "啟用狀態: %1"
-
-#: NOT FOUND IN SOURCE
-msgid "End of Trial"
-msgstr "試用期滿日"
-
-#: NOT FOUND IN SOURCE
-msgid "English Name"
-msgstr "英文姓名"
-
-#: lib/RT/CustomField_Overlay.pm:64
-msgid "Enter multiple values"
-msgstr "鍵入多重項目"
-
-#: html/Elements/EditLinks:124
-msgid "Enter objects or URIs to link objects to. Separate multiple entries with spaces."
-msgstr "鍵入欲將物件連結至的物件或 URI。項目之間請以空白隔開。"
-
-#: NOT FOUND IN SOURCE
-msgid "Enter one or more conditions below to search for users"
-msgstr "鍵入下列單一或複式條件,查詢用戶資料"
-
-#: lib/RT/CustomField_Overlay.pm:65
-msgid "Enter one value"
-msgstr "鍵入單一項目"
-
-#: html/Elements/EditLinks:121
-msgid "Enter queues or URIs to link queues to. Separate multiple entries with spaces."
-msgstr "鍵入欲將表單連結至的物件或 URI。項目之間請以空白隔開。"
-
-#: html/Elements/EditLinks:117 html/Search/Bulk.html:174
-msgid "Enter tickets or URIs to link tickets to. Separate multiple entries with spaces."
-msgstr "鍵入申請單可鏈結到的申請單編號或網址。項目之間請以空白隔開。"
-
-#: lib/RT/CustomField_Overlay.pm:66
-msgid "Enter up to %1 values"
-msgstr "鍵入最多 %1 個值"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryBoolean"
-msgstr "是非填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryDate"
-msgstr "日期填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryExternal"
-msgstr "系統填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryFreeform"
-msgstr "輸入填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryMultiple"
-msgstr "多選填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryNumber"
-msgstr "數值填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntrySelect"
-msgstr "單選填表"
-
-#: NOT FOUND IN SOURCE
-msgid "EntryTime"
-msgstr "時間填表"
-
-#: html/Elements/Login:61 html/SelfService/Error.html:46 html/SelfService/Error.html:47
-msgid "Error"
-msgstr "錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "Error adding watcher"
-msgstr "新增視察員失敗"
-
-#: lib/RT/Queue_Overlay.pm:669
-msgid "Error in parameters to Queue->AddWatcher"
-msgstr "表單->新增視察員的參數有誤"
-
-#: lib/RT/Queue_Overlay.pm:830
-msgid "Error in parameters to Queue->DeleteWatcher"
-msgstr "表單->刪除視察員的參數有誤"
-
-#: lib/RT/Ticket_Overlay.pm:1333
-msgid "Error in parameters to Ticket->AddWatcher"
-msgstr "申請單->新增視察員的參數有誤"
-
-#: lib/RT/Ticket_Overlay.pm:1499
-msgid "Error in parameters to Ticket->DeleteWatcher"
-msgstr "申請單->刪除視察員的參數有誤"
-
-#: bin/rt-crontool:233
-msgid "Escalate tickets"
-msgstr "調整申請單優先等級"
-
-#: NOT FOUND IN SOURCE
-msgid "Estimate"
-msgstr "預計"
-
-#: html/Ticket/Elements/ShowBasics:57
-msgid "Estimated"
-msgstr "預計"
-
-#: etc/initialdata:20
-msgid "Everyone"
-msgstr "所有人"
-
-#: bin/rt-crontool:219
-msgid "Example:"
-msgstr "範例:"
-
-#: NOT FOUND IN SOURCE
-msgid "Existing user renamed from %1 to %2"
-msgstr "現有使用者 %1 已改名為 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Export"
-msgstr "匯出"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalAuthId"
-msgstr "外部認證帳號"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalContactInfoId"
-msgstr "外部聯絡方式帳號"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalDatabaseDSN"
-msgstr "外部資料庫連結字串"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalDatabasePass"
-msgstr "外部資料庫密碼"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalDatabaseUser"
-msgstr "外部資料庫用戶"
-
-#: NOT FOUND IN SOURCE
-msgid "ExternalURL"
-msgstr "外部介面網址"
-
-#: html/Admin/Users/Modify.html:99
-msgid "Extra info"
-msgstr "備註"
-
-#: lib/RT/SavedSearch.pm:165
-msgid "Failed to create search attribute"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:377
-msgid "Failed to find 'Privileged' users pseudogroup."
-msgstr "找不到「內部成員」虛擬群組的使用者。"
-
-#: lib/RT/User_Overlay.pm:384
-msgid "Failed to find 'Unprivileged' users pseudogroup"
-msgstr "找不到「非內部成員」虛擬群組的使用者。"
-
-#: bin/rt-crontool:163
-#. ($modname, $@)
-msgid "Failed to load module %1. (%2)"
-msgstr "無法載入模組 %1. (%2)"
-
-#: lib/RT/SavedSearch.pm:168
-#. ($privacy)
-msgid "Failed to load object for %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Feb"
-msgstr "二月"
-
-#: lib/RT/Date.pm:438
-msgid "Feb."
-msgstr "02"
-
-#: NOT FOUND IN SOURCE
-msgid "February"
-msgstr "二月"
-
-#: NOT FOUND IN SOURCE
-msgid "Female"
-msgstr "女"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Content:"
-msgstr "欄位內容:"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Description"
-msgstr "欄位描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Name"
-msgstr "欄位名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Field Type"
-msgstr "欄位類別"
-
-#: html/Elements/SelectAttachmentField:50
-msgid "Filename"
-msgstr "檔名"
-
-#: lib/RT/CustomField_Overlay.pm:69
-msgid "Fill in multiple text areas"
-msgstr "填入多個文字框"
-
-#: lib/RT/CustomField_Overlay.pm:74
-msgid "Fill in multiple wikitext areas"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:70
-msgid "Fill in one text area"
-msgstr "填入一個文字框"
-
-#: lib/RT/CustomField_Overlay.pm:75
-msgid "Fill in one wikitext area"
-msgstr ""
-
-#: lib/RT/CustomField_Overlay.pm:71
-msgid "Fill in up to %1 text areas"
-msgstr "填入最多 %1 個文字框"
-
-#: lib/RT/CustomField_Overlay.pm:76
-msgid "Fill in up to %1 wikitext areas"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Filter"
-msgstr "篩選"
-
-#: NOT FOUND IN SOURCE
-msgid "Filter people"
-msgstr "對象篩選"
-
-#: NOT FOUND IN SOURCE
-msgid "Filtered list:"
-msgstr "篩選列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Fin"
-msgstr "最終"
-
-#: html/Search/Elements/PickBasics:162 html/Ticket/Create.html:185 html/Ticket/Elements/EditBasics:79 lib/RT/Tickets_Overlay.pm:1569
-msgid "Final Priority"
-msgstr "最終順位"
-
-#: lib/RT/Ticket_Overlay.pm:1140
-msgid "FinalPriority"
-msgstr "最終順位"
-
-#: NOT FOUND IN SOURCE
-msgid "Financial Department:"
-msgstr "財務部:"
-
-#: NOT FOUND IN SOURCE
-msgid "Find group whose"
-msgstr "尋找群組的"
-
-#: html/Admin/Groups/index.html:72 html/Admin/Queues/People.html:82 html/Ticket/Elements/EditPeople:55
-msgid "Find groups whose"
-msgstr "尋找群組的"
-
-#: NOT FOUND IN SOURCE
-msgid "Find new/open tickets"
-msgstr "尋找/開啟申請單"
-
-#: html/Admin/Queues/People.html:78 html/Admin/Users/index.html:70 html/Ticket/Elements/EditPeople:51
-msgid "Find people whose"
-msgstr "尋找人員的"
-
-#: NOT FOUND IN SOURCE
-msgid "Find queues whose"
-msgstr "尋找表單的"
-
-#: html/Search/Results.html:109
-msgid "Find tickets"
-msgstr "尋找申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Finish Approval"
-msgstr "簽核完畢"
-
-#: html/Ticket/Elements/Tabs:81
-msgid "First"
-msgstr "第一項"
-
-#: NOT FOUND IN SOURCE
-msgid "First page"
-msgstr "第一頁"
-
-#: NOT FOUND IN SOURCE
-msgid "First-"
-msgstr "一"
-
-#: NOT FOUND IN SOURCE
-msgid "First-level Admins"
-msgstr "一階主管"
-
-#: NOT FOUND IN SOURCE
-msgid "First-level Users"
-msgstr "一階主管員工"
-
-#: NOT FOUND IN SOURCE
-msgid "Fixed shift"
-msgstr "固定班"
-
-#: docs/design_docs/string-extraction-guide.txt:33 lib/RT/StyleGuide.pod:766
-msgid "Foo Bar Baz"
-msgstr "甲 乙 丙"
-
-#: docs/design_docs/string-extraction-guide.txt:24 lib/RT/StyleGuide.pod:757
-msgid "Foo!"
-msgstr "甲!"
-
-#: html/Search/Bulk.html:105
-msgid "Force change"
-msgstr "強制更換"
-
-#: NOT FOUND IN SOURCE
-msgid "Form Processing"
-msgstr "電子表單作業區"
-
-#: html/Search/Elements/EditFormat:52
-msgid "Format"
-msgstr ""
-
-#: html/Search/Results.html:107
-#. ($ticketcount)
-msgid "Found %quant(%1,ticket)"
-msgstr "找到 %1 張申請單"
-
-#: lib/RT/Record.pm:942
-msgid "Found Object"
-msgstr "已找到物件"
-
-#: NOT FOUND IN SOURCE
-msgid "Fourth-"
-msgstr "四"
-
-#: NOT FOUND IN SOURCE
-msgid "Freeform"
-msgstr "輸入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformContactInfo"
-msgstr "聯絡方式"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformDate"
-msgstr "日期輸入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformExternal"
-msgstr "系統欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformMultiple"
-msgstr "多重輸入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformNumber"
-msgstr "數值輸入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformPassword"
-msgstr "密碼輸入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformSingle"
-msgstr "單一輸入"
-
-#: NOT FOUND IN SOURCE
-msgid "FreeformTime"
-msgstr "時間輸入"
-
-#: NOT FOUND IN SOURCE
-msgid "Fri"
-msgstr "星期五"
-
-#: lib/RT/Date.pm:417
-msgid "Fri."
-msgstr "星期五"
-
-#: html/Ticket/Elements/ShowHistory:62 html/Ticket/Elements/ShowHistory:72
-msgid "Full headers"
-msgstr "完整標頭檔"
-
-#: NOT FOUND IN SOURCE
-msgid "Gecos"
-msgstr "登入帳號"
-
-#: NOT FOUND IN SOURCE
-msgid "Gender"
-msgstr "性別"
-
-#: html/Tools/Offline.html:87
-msgid "Get template from file"
-msgstr "取出檔案裡的範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Getting the current user from a pgp sig\\n"
-msgstr "取得目前使用者的 pgp 簽章\\n"
-
-#: lib/RT/Transaction_Overlay.pm:673
-#. ($New->Name)
-msgid "Given to %1"
-msgstr "交予 %1"
-
-#: html/Admin/Elements/Tabs:65 html/Admin/index.html:82
-msgid "Global"
-msgstr "全域設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Approval"
-msgstr "全域簽核"
-
-#: html/Admin/Elements/EditCustomFields:55
-msgid "Global Custom Fields"
-msgstr "全域自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Keyword Selections"
-msgstr "全域關鍵字選取"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Rights:"
-msgstr "擁有全域權限列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Scrips"
-msgstr "全域手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Global Setup"
-msgstr "全域設定"
-
-#: html/Admin/Global/CustomFields/index.html:59
-msgid "Global custom field configuration"
-msgstr ""
-
-#: html/Admin/Elements/SelectTemplate:59
-#. (loc($Template->Name))
-msgid "Global template: %1"
-msgstr "全域範本:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "GlobalApproval"
-msgstr "全域簽核"
-
-#: html/Tools/Offline.html:91
-msgid "Go"
-msgstr "執行"
-
-#: html/Admin/Groups/index.html:67 html/Admin/Groups/index.html:73 html/Admin/Queues/People.html:80 html/Admin/Queues/People.html:84 html/Admin/Queues/index.html:66 html/Admin/Users/index.html:73 html/Search/Results.html:76 html/Ticket/Elements/EditPeople:53 html/Ticket/Elements/EditPeople:57 html/index.html:91
-msgid "Go!"
-msgstr "執行"
-
-#: NOT FOUND IN SOURCE
-msgid "Good pgp sig from %1\\n"
-msgstr "%1 的 pgp 簽章是正確的\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Goto page"
-msgstr "到頁面"
-
-#: html/Elements/GotoTicket:46 html/SelfService/Elements/GotoTicket:46
-msgid "Goto ticket"
-msgstr "跳到申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Grand"
-msgstr "上"
-
-#: html/Ticket/Elements/AddWatchers:67 html/Ticket/Elements/ShowGroupMembers:55 html/User/Elements/DelegateRights:99
-msgid "Group"
-msgstr "群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Group %1 %2: %3"
-msgstr "群組 %1 %2:%3"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Admin"
-msgstr "群組管理員"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Description"
-msgstr "群組描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Management"
-msgstr "群組管理"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Members"
-msgstr "群組成員"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Name"
-msgstr "群組名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Name:"
-msgstr "群組名稱:"
-
-#: html/Admin/Elements/CustomFieldTabs:68 html/Admin/Elements/GroupTabs:66 html/Admin/Elements/QueueTabs:82 html/Admin/Elements/SystemTabs:65 html/Admin/Global/index.html:76
-msgid "Group Rights"
-msgstr "群組權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Rights:"
-msgstr "擁有群組權限列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Setup"
-msgstr "群組設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Group Status"
-msgstr "群組狀態"
-
-#: lib/RT/Group_Overlay.pm:991
-msgid "Group already has member"
-msgstr "群組內已有此成員"
-
-#: NOT FOUND IN SOURCE
-msgid "Group could not be created."
-msgstr "無法新增群組"
-
-#: html/Admin/Groups/Modify.html:109
-#. ($create_msg)
-msgid "Group could not be created: %1"
-msgstr "無法新增群組:%1"
-
-#: lib/RT/Group_Overlay.pm:529
-msgid "Group created"
-msgstr "群組新增完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "Group created: %1"
-msgstr "群組 %1 新增完畢"
-
-#: lib/RT/Group_Overlay.pm:1163
-msgid "Group has no such member"
-msgstr "群組沒有這個成員"
-
-#: lib/RT/Group_Overlay.pm:971 lib/RT/Queue_Overlay.pm:745 lib/RT/Queue_Overlay.pm:805 lib/RT/Ticket_Overlay.pm:1391 lib/RT/Ticket_Overlay.pm:1471
-msgid "Group not found"
-msgstr "找不到群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not found.\\n"
-msgstr "找不到群組。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group not specified.\\n"
-msgstr "未指定群組。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Group redescribed from %1 to %2"
-msgstr "群組描述 %1 已改為 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Group renamed from %1 to %2"
-msgstr "群組 %1 已改名為 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Group with Queue Rights"
-msgstr "擁有表單權限群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Group's"
-msgstr "群組之"
-
-#: NOT FOUND IN SOURCE
-msgid "Group:"
-msgstr "群組:"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:59 html/Admin/Elements/SelectNewGroupMembers:56 html/Admin/Elements/Tabs:56 html/Admin/Global/CustomFields/index.html:69 html/Admin/Groups/Members.html:85 html/Admin/Queues/People.html:104 html/Admin/Users/Memberships.html:53 html/Admin/index.html:67 html/User/Groups/Members.html:88 lib/RT/CustomField_Overlay.pm:1088
-msgid "Groups"
-msgstr "群組"
-
-#: lib/RT/Group_Overlay.pm:997
-msgid "Groups can't be members of their members"
-msgstr "不能將群組設為群組內成員"
-
-#: html/Admin/Groups/index.html:82
-msgid "Groups matching search criteria"
-msgstr "符合查詢條件的群組"
-
-#: html/Ticket/Elements/ShowRequestor:77
-msgid "Groups this user belongs to"
-msgstr "使用者所屬的群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Groups with Global Rights"
-msgstr "擁有全域權限群組"
-
-#: NOT FOUND IN SOURCE
-msgid "HRMSDefined"
-msgstr "組織架構"
-
-#: NOT FOUND IN SOURCE
-msgid "HTML Attributes"
-msgstr "HTML 屬性"
-
-#: NOT FOUND IN SOURCE
-msgid "Health Insurance"
-msgstr "健保補助身份"
-
-#: lib/RT/Interface/CLI.pm:94 lib/RT/Interface/CLI.pm:94
-msgid "Hello!"
-msgstr "嗨!"
-
-#: docs/design_docs/string-extraction-guide.txt:40 lib/RT/StyleGuide.pod:773
-#. ($name)
-msgid "Hello, %1"
-msgstr "嗨,%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Help"
-msgstr "說明"
-
-#: NOT FOUND IN SOURCE
-msgid "Help Desks"
-msgstr "各項業務窗口"
-
-#: NOT FOUND IN SOURCE
-msgid "Hidden"
-msgstr "隱藏"
-
-#: html/Admin/Elements/GroupTabs:70 html/Admin/Elements/UserTabs:64 html/Ticket/Elements/ShowHistory:51 html/Ticket/Elements/Tabs:111
-msgid "History"
-msgstr "紀錄"
-
-#: html/Admin/Groups/History.html:62
-#. ($GroupObj->Name)
-msgid "History of the group %1"
-msgstr "群組 %1 的紀錄"
-
-#: html/Admin/Users/History.html:62
-#. ($UserObj->Name)
-msgid "History of the user %1"
-msgstr "使用者 %1 的紀錄"
-
-#: NOT FOUND IN SOURCE
-msgid "HomePhone"
-msgstr "住處電話"
-
-#: html/Elements/Tabs:65
-msgid "Homepage"
-msgstr "主頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Hotel Expense"
-msgstr "住宿費"
-
-#: lib/RT/Base.pm:110
-#. (6)
-msgid "I have %quant(%1,concrete mixer)."
-msgstr "我有 %quant(%1,份固體攪拌器)。"
-
-#: html/Search/Build.html:637
-msgid "I'm lost"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "ID Number"
-msgstr "身分證號"
-
-#: NOT FOUND IN SOURCE
-msgid "ID Type"
-msgstr "身分類別"
-
-#: html/Ticket/Elements/ShowBasics:48 lib/RT/Tickets_Overlay.pm:1494
-msgid "Id"
-msgstr "編號"
-
-#: html/Admin/Users/Modify.html:65 html/User/Prefs.html:60
-msgid "Identity"
-msgstr "身份"
-
-#: etc/initialdata:429
-msgid "If an approval is rejected, reject the original and delete pending approvals"
-msgstr "若簽核單遭到駁回,則連帶駁回原申請單,並刪除其他相關的待簽核事項"
-
-#: html/Tools/Offline.html:74
-msgid "If no Requestor is specified, create tickets with this requestor."
-msgstr "若沒有指定申請者,則以此使用者作為申請者"
-
-#: html/Tools/Offline.html:65
-msgid "If no queue is specified, create tickets in this queue."
-msgstr "申請單若沒有指定表單,則將它新增在此表單內"
-
-#: bin/rt-crontool:215
-msgid "If this tool were setgid, a hostile local user could use this tool to gain administrative access to RT."
-msgstr "如果此工具程式為 setgid,惡意的本地端用戶即能由此取得 RT 的管理員權限。"
-
-#: html/Admin/Queues/People.html:126 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:128 html/Ticket/ModifyPeople.html:59
-msgid "If you've updated anything above, be sure to"
-msgstr "若您已更新以上資料,請記得按一下"
-
-#: lib/RT/Record.pm:933
-msgid "Illegal value for %1"
-msgstr "%1 的值錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "Image"
-msgstr "圖片"
-
-#: lib/RT/Record.pm:936
-msgid "Immutable field"
-msgstr "此欄位值不可更動"
-
-#: NOT FOUND IN SOURCE
-msgid "Import"
-msgstr "匯入"
-
-#: NOT FOUND IN SOURCE
-msgid "Include disabled custom fields in listing."
-msgstr "列出停用的自訂欄位"
-
-#: html/Admin/Groups/index.html:65
-msgid "Include disabled groups in listing."
-msgstr "列出停用的群組"
-
-#: html/Admin/Queues/index.html:65
-msgid "Include disabled queues in listing."
-msgstr "列出停用的表單"
-
-#: html/Admin/Users/index.html:71
-msgid "Include disabled users in search."
-msgstr "列出停用的使用者"
-
-#: html/Search/Build.html:663
-msgid "Incomplete Query"
-msgstr ""
-
-#: html/Search/Build.html:660
-msgid "Incomplete query"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Indirect Employee"
-msgstr "直接/間接員工"
-
-#: html/Search/Elements/PickBasics:161 lib/RT/Tickets_Overlay.pm:1544
-msgid "Initial Priority"
-msgstr "初始優先順位"
-
-#: lib/RT/Ticket_Overlay.pm:1139 lib/RT/Ticket_Overlay.pm:1141
-msgid "InitialPriority"
-msgstr "初始優先順位"
-
-#: lib/RT/ScripAction_Overlay.pm:134
-msgid "Input error"
-msgstr "輸入錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "Interest noted"
-msgstr "登記成功"
-
-#: lib/RT/Ticket_Overlay.pm:3454
-msgid "Internal Error"
-msgstr "內部錯誤"
-
-#: lib/RT/Record.pm:305
-#. ($id->{error_message})
-msgid "Internal Error: %1"
-msgstr "內部錯誤:%1"
-
-#: lib/RT/Group_Overlay.pm:676
-msgid "Invalid Group Type"
-msgstr "錯誤的群組類別"
-
-#: lib/RT/Principal_Overlay.pm:161
-msgid "Invalid Right"
-msgstr "錯誤的權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid Type"
-msgstr "錯誤的類型"
-
-#: lib/RT/Record.pm:938
-msgid "Invalid data"
-msgstr "錯誤的資料"
-
-#: NOT FOUND IN SOURCE
-msgid "Invalid owner. Defaulting to 'nobody'."
-msgstr "錯誤的承辦人。改為預設承辦人「nobody」。"
-
-#: lib/RT/Scrip_Overlay.pm:158 lib/RT/Template_Overlay.pm:276
-msgid "Invalid queue"
-msgstr "錯誤的表單"
-
-#: lib/RT/ACE_Overlay.pm:265 lib/RT/ACE_Overlay.pm:274 lib/RT/ACE_Overlay.pm:280 lib/RT/ACE_Overlay.pm:291
-msgid "Invalid right"
-msgstr "錯誤的權限"
-
-#: lib/RT/Record.pm:280
-#. ($key)
-msgid "Invalid value for %1"
-msgstr "%1 的值錯誤"
-
-#: lib/RT/Record.pm:1597
-msgid "Invalid value for custom field"
-msgstr "錯誤的自訂欄位值"
-
-#: lib/RT/Ticket_Overlay.pm:413
-msgid "Invalid value for status"
-msgstr "錯誤的狀態值"
-
-#: NOT FOUND IN SOURCE
-msgid "IssueStatement"
-msgstr "送出陳述"
-
-#: bin/rt-crontool:216
-msgid "It is incredibly important that nonprivileged users not be allowed to run this tool."
-msgstr "請絕對不要讓未具權限的使用者執行此工具程式。"
-
-#: bin/rt-crontool:217
-msgid "It is suggested that you create a non-privileged unix user with the correct group membership and RT access to run this tool."
-msgstr "建議您新增一個隸屬於正確群組的低權限系統使用者,並以該身份執行此工具程式。"
-
-#: bin/rt-crontool:188
-msgid "It takes several arguments:"
-msgstr "它接受下列參數:"
-
-#: html/Search/Elements/EditFormat:85
-msgid "Italic"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Item Name"
-msgstr "品名"
-
-#: NOT FOUND IN SOURCE
-msgid "Items"
-msgstr "筆"
-
-#: NOT FOUND IN SOURCE
-msgid "Items pending my approval"
-msgstr "待簽核項目"
-
-#: NOT FOUND IN SOURCE
-msgid "Jan"
-msgstr "一月"
-
-#: lib/RT/Date.pm:437
-msgid "Jan."
-msgstr "01"
-
-#: NOT FOUND IN SOURCE
-msgid "January"
-msgstr "一月"
-
-#: NOT FOUND IN SOURCE
-msgid "Job"
-msgstr "職稱"
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "Join or leave this group"
-msgstr "加入或離開此群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Jul"
-msgstr "七月"
-
-#: lib/RT/Date.pm:443
-msgid "Jul."
-msgstr "07"
-
-#: NOT FOUND IN SOURCE
-msgid "July"
-msgstr "七月"
-
-#: html/Ticket/Elements/Tabs:122
-msgid "Jumbo"
-msgstr "全部資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Jun"
-msgstr "六月"
-
-#: lib/RT/Date.pm:442
-msgid "Jun."
-msgstr "06"
-
-#: NOT FOUND IN SOURCE
-msgid "June"
-msgstr "六月"
-
-#: NOT FOUND IN SOURCE
-msgid "Keyword"
-msgstr "關鍵字"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelAttachments"
-msgstr "附件標籤"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelContent"
-msgstr "內容標籤"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelSubject"
-msgstr "主題標籤"
-
-#: NOT FOUND IN SOURCE
-msgid "LabelURL"
-msgstr "鏈結標籤"
-
-#: NOT FOUND IN SOURCE
-msgid "Lang"
-msgstr "使用語言"
-
-#: html/Admin/Users/Modify.html:94 html/User/Prefs.html:76
-msgid "Language"
-msgstr "語言"
-
-#: html/Search/Elements/EditFormat:79
-msgid "Large"
-msgstr ""
-
-#: html/Ticket/Elements/Tabs:96
-msgid "Last"
-msgstr "上次更新"
-
-#: html/Ticket/Elements/EditDates:59 html/Ticket/Elements/ShowDates:60
-msgid "Last Contact"
-msgstr "上次聯絡"
-
-#: html/Elements/SelectDateType:50
-msgid "Last Contacted"
-msgstr "上次聯絡日期"
-
-#: NOT FOUND IN SOURCE
-msgid "Last Notified"
-msgstr "上次通知"
-
-#: html/Elements/SelectDateType:51
-msgid "Last Updated"
-msgstr "上次更新"
-
-#: NOT FOUND IN SOURCE
-msgid "LastUpdated"
-msgstr "上次更新"
-
-#: html/Search/Elements/PickBasics:103
-msgid "LastUpdatedBy"
-msgstr "上次更新者"
-
-#: html/Ticket/Elements/ShowBasics:68
-msgid "Left"
-msgstr "剩餘時間"
-
-#: html/Admin/Users/Modify.html:109
-msgid "Let this user access RT"
-msgstr "允許這名使用者登入"
-
-#: html/Admin/Users/Modify.html:113
-msgid "Let this user be granted rights"
-msgstr "內部成員(具有個人權限)"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting owner to %1 %2"
-msgstr "限制承辦人為 %1 到%2"
-
-#: NOT FOUND IN SOURCE
-msgid "Limiting queue to %1 %2"
-msgstr "限制表單為 %1 到 %2"
-
-#: html/Search/Elements/EditFormat:68
-msgid "Link"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Link a Queue"
-msgstr "申請表單連結"
-
-#: lib/RT/Record.pm:1292
-msgid "Link already exists"
-msgstr "此鏈結已存在"
-
-#: lib/RT/Record.pm:1306
-msgid "Link could not be created"
-msgstr "無法新增鏈結"
-
-#: lib/RT/Record.pm:1312
-#. ($TransString)
-msgid "Link created (%1)"
-msgstr "鏈結(%1)新增完畢"
-
-#: lib/RT/Record.pm:1373
-#. ($TransString)
-msgid "Link deleted (%1)"
-msgstr "鏈結(%1)刪除完畢"
-
-#: lib/RT/Record.pm:1379
-msgid "Link not found"
-msgstr "找不到鏈結"
-
-#: html/Ticket/ModifyLinks.html:46 html/Ticket/ModifyLinks.html:50
-#. ($Ticket->Id)
-msgid "Link ticket #%1"
-msgstr "鏈結申請單 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Link ticket %1"
-msgstr "鏈結申請單 %1"
-
-#: html/Ticket/Create.html:205 html/Ticket/Elements/ShowSummary:83 html/Ticket/Elements/Tabs:120 html/Ticket/ModifyAll.html:78
-msgid "Links"
-msgstr "鏈結"
-
-#: NOT FOUND IN SOURCE
-msgid "List All Users"
-msgstr "列出所有用戶資料"
-
-#: html/Search/Elements/EditSearches:76
-msgid "Load"
-msgstr "載入"
-
-#: html/Search/Elements/EditSearches:74
-msgid "Load saved search:"
-msgstr "載入已儲存的查詢:"
-
-#: lib/RT/System.pm:87
-msgid "LoadSavedSearch"
-msgstr ""
-
-#: html/Admin/Tools/Configuration.html:64
-msgid "Loaded perl modules"
-msgstr "已載入的 Perl 模組"
-
-#: lib/RT/SavedSearch.pm:112
-#. ($self->Name)
-msgid "Loaded search %1"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:138 html/User/Prefs.html:126
-msgid "Location"
-msgstr "位置"
-
-#: lib/RT.pm:212
-#. ($RT::LogDir)
-msgid "Log directory %1 not found or couldn't be written.\\n RT can't run."
-msgstr "登入目錄 %1 找不到或無法寫入\\n。無法執行 RT。"
-
-#: NOT FOUND IN SOURCE
-msgid "LogToFile"
-msgstr "紀錄等級"
-
-#: NOT FOUND IN SOURCE
-msgid "LogToFileNamed"
-msgstr "紀錄檔名"
-
-#: html/Elements/Header:94
-#. ("<b>".$session{'CurrentUser'}->Name."</b>")
-msgid "Logged in as %1"
-msgstr "使用者:%1"
-
-#: docs/design_docs/string-extraction-guide.txt:71 html/Elements/Login:57 html/Elements/Login:66 html/Elements/Login:76 lib/RT/StyleGuide.pod:797
-msgid "Login"
-msgstr "登入"
-
-#: html/Elements/Header:91
-msgid "Logout"
-msgstr "登出"
-
-#: NOT FOUND IN SOURCE
-msgid "Long-term contractor"
-msgstr "長期契約員工"
-
-#: lib/RT/CustomField_Overlay.pm:866
-msgid "Lookup type mismatch"
-msgstr "對應的類別不符"
-
-#: html/Search/Bulk.html:104
-msgid "Make Owner"
-msgstr "新增承辦人"
-
-#: html/Search/Bulk.html:128
-msgid "Make Status"
-msgstr "新增現況"
-
-#: html/Search/Bulk.html:136
-msgid "Make date Due"
-msgstr "新增到期日"
-
-#: html/Search/Bulk.html:138
-msgid "Make date Resolved"
-msgstr "新增解決日期"
-
-#: html/Search/Bulk.html:132
-msgid "Make date Started"
-msgstr "新增實際起始日期"
-
-#: html/Search/Bulk.html:130
-msgid "Make date Starts"
-msgstr "新增應起始日期"
-
-#: html/Search/Bulk.html:134
-msgid "Make date Told"
-msgstr "新增報告日期"
-
-#: html/Search/Bulk.html:124
-msgid "Make priority"
-msgstr "新增優先順位"
-
-#: html/Search/Bulk.html:126
-msgid "Make queue"
-msgstr "新增表單"
-
-#: html/Search/Bulk.html:122
-msgid "Make subject"
-msgstr "新增主題"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "Make this group visible to user"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Male"
-msgstr "男"
-
-#: html/Admin/index.html:78
-msgid "Manage custom fields and custom field values"
-msgstr "管理自訂欄位及欄位值"
-
-#: html/Admin/index.html:69
-msgid "Manage groups and group membership"
-msgstr "管理群組及所屬成員"
-
-#: html/Admin/index.html:85
-msgid "Manage properties and configuration which apply to all queues"
-msgstr "管理適用於所有表單的屬性與設定"
-
-#: html/Admin/index.html:74
-msgid "Manage queues and queue-specific properties"
-msgstr "管理各表單及相關屬性"
-
-#: html/Admin/index.html:64
-msgid "Manage users and passwords"
-msgstr "管理使用者與密碼"
-
-#: NOT FOUND IN SOURCE
-msgid "Manager"
-msgstr "經理"
-
-#: NOT FOUND IN SOURCE
-msgid "Mar"
-msgstr "三月"
-
-#: lib/RT/Date.pm:439
-msgid "Mar."
-msgstr "03"
-
-#: NOT FOUND IN SOURCE
-msgid "March"
-msgstr "三月"
-
-#: NOT FOUND IN SOURCE
-msgid "Marketing Department"
-msgstr "行銷部"
-
-#: NOT FOUND IN SOURCE
-msgid "Match Pattern"
-msgstr "符合樣式"
-
-#: NOT FOUND IN SOURCE
-msgid "May"
-msgstr "五月"
-
-#: lib/RT/Date.pm:441
-msgid "May."
-msgstr "05"
-
-#: lib/RT/Transaction_Overlay.pm:720
-#. ($value)
-msgid "Member %1 added"
-msgstr "成員 %1 新增完畢"
-
-#: lib/RT/Transaction_Overlay.pm:760
-#. ($value)
-msgid "Member %1 deleted"
-msgstr "成員 %1 刪除完畢"
-
-#: lib/RT/Group_Overlay.pm:1008
-msgid "Member added"
-msgstr "新增成員完畢"
-
-#: lib/RT/Group_Overlay.pm:1170
-msgid "Member deleted"
-msgstr "成員已刪除"
-
-#: lib/RT/Group_Overlay.pm:1174
-msgid "Member not deleted"
-msgstr "成員未刪除"
-
-#: html/Elements/SelectLinkType:47
-msgid "Member of"
-msgstr "隸屬於"
-
-#: NOT FOUND IN SOURCE
-msgid "Member since"
-msgstr "註冊日期"
-
-#: NOT FOUND IN SOURCE
-msgid "MemberOf"
-msgstr "隸屬於"
-
-#: html/Admin/Elements/GroupTabs:63 html/User/Elements/GroupTabs:63
-msgid "Members"
-msgstr "成員"
-
-#: lib/RT/Transaction_Overlay.pm:717
-#. ($value)
-msgid "Membership in %1 added"
-msgstr "所屬群組 %1 加入完畢"
-
-#: lib/RT/Transaction_Overlay.pm:757
-#. ($value)
-msgid "Membership in %1 deleted"
-msgstr "所屬群組 %1 移除完畢"
-
-#: html/Admin/Elements/UserTabs:61
-msgid "Memberships"
-msgstr "所屬群組"
-
-#: html/Admin/Users/Memberships.html:60
-#. ($UserObj->Name)
-msgid "Memberships of the user %1"
-msgstr "使用者 %1 的所屬群組"
-
-#: lib/RT/Ticket_Overlay.pm:2849
-msgid "Merge Successful"
-msgstr "整合完畢"
-
-#: lib/RT/Ticket_Overlay.pm:2736
-msgid "Merge failed. Couldn't set EffectiveId"
-msgstr "整合失敗。無法設定 EffectiveId"
-
-#: lib/RT/Ticket_Overlay.pm:2744
-msgid "Merge failed. Couldn't set Status"
-msgstr ""
-
-#: html/Elements/EditLinks:129 html/Ticket/Elements/BulkLinks:48
-msgid "Merge into"
-msgstr "整合進"
-
-#: lib/RT/Transaction_Overlay.pm:723
-#. ($value)
-msgid "Merged into %1"
-msgstr "已整合進 %1"
-
-#: html/Search/Bulk.html:165 html/Ticket/Update.html:116
-msgid "Message"
-msgstr "訊息"
-
-#: NOT FOUND IN SOURCE
-msgid "Message body not shown because it is too large or is not plain text."
-msgstr "信件內文不是純文字,因此無法顯示。"
-
-#: lib/RT/Ticket_Overlay.pm:2406
-msgid "Message could not be recorded"
-msgstr "無法紀錄訊息"
-
-#: lib/RT/Ticket_Overlay.pm:2409
-msgid "Message recorded"
-msgstr "訊息紀錄成功"
-
-#: html/Ticket/Elements/PreviewScrips:115
-msgid "Messages about this ticket will not be sent to..."
-msgstr "此申請單的相關訊息不會寄送給..."
-
-#: NOT FOUND IN SOURCE
-msgid "Misc. Expense"
-msgstr "雜費"
-
-#: html/Search/Build.html:667
-msgid "Mismatched parentheses"
-msgstr ""
-
-#: lib/RT/Record.pm:940
-msgid "Missing a primary key?: %1"
-msgstr "缺少主鍵值?(%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Missing mandatory fields"
-msgstr "缺少必填欄位"
-
-#: html/Admin/Users/Modify.html:193 html/User/Prefs.html:93
-msgid "Mobile"
-msgstr "行動電話"
-
-#: NOT FOUND IN SOURCE
-msgid "MobilePhone"
-msgstr "行動電話"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "Modify Access Control List"
-msgstr "更改權限控制清單"
-
-#: html/Admin/Elements/ObjectCustomFields:96
-#. (loc(lc($FriendlySubTypes)), loc(lc($Types)))
-msgid "Modify Custom Fields which apply to %1 for all %2"
-msgstr ""
-
-#: html/Admin/Elements/ObjectCustomFields:98
-#. (loc(lc($Types)))
-msgid "Modify Custom Fields which apply to all %1"
-msgstr "更改適用於所有%1的自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Custom Fields which apply to all queues"
-msgstr "更改適用於所有表單的自訂欄位"
-
-#: html/Admin/Global/GroupRights.html:106 html/Admin/Groups/GroupRights.html:94 html/Admin/Queues/GroupRights.html:107
-msgid "Modify Group Rights"
-msgstr "更改群組權限"
-
-#: html/Admin/Groups/Members.html:102 html/User/Groups/Members.html:101
-msgid "Modify Members"
-msgstr "更改成員"
-
-#: html/User/Delegation.html:58
-msgid "Modify Rights"
-msgstr "更改權限"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "Modify Scrip templates for this queue"
-msgstr "更改此表單的範本"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "Modify Scrips for this queue"
-msgstr "更改此表單的手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify System ACLS"
-msgstr "更改系統權限清單"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Template %1"
-msgstr "更改範本 %1"
-
-#: html/Admin/Global/UserRights.html:75 html/Admin/Groups/UserRights.html:76 html/Admin/Queues/UserRights.html:75
-msgid "Modify User Rights"
-msgstr "更改使用者權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify Workflow"
-msgstr "更改流程"
-
-#: html/Admin/Queues/CustomField.html:66
-#. ($QueueObj->Name())
-msgid "Modify a CustomField for queue %1"
-msgstr "更改 %1 表單內的自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify a CustomField which applies to all queues"
-msgstr "更改適用於所有表單的自訂欄位"
-
-#: html/Admin/Queues/Scrip.html:75
-#. ($QueueObj->Name)
-msgid "Modify a scrip for queue %1"
-msgstr "更改 %1 表單內的手續"
-
-#: html/Admin/Global/Scrip.html:69
-msgid "Modify a scrip which applies to all queues"
-msgstr "更改適用於所有表單的手續"
-
-#: html/Admin/CustomFields/Objects.html:90
-#. ($CF->Name)
-msgid "Modify associated objects for %1"
-msgstr "更改適用 %1 的物件"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify dates for # %1"
-msgstr "更改 # %1 的日期"
-
-#: html/Ticket/ModifyDates.html:46 html/Ticket/ModifyDates.html:50
-#. ($TicketObj->Id)
-msgid "Modify dates for #%1"
-msgstr "更改 #%1 的日期"
-
-#: html/Ticket/ModifyDates.html:56
-#. ($TicketObj->Id)
-msgid "Modify dates for ticket # %1"
-msgstr "更改申請單 # %1 的日期"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:65 html/Admin/Global/index.html:72
-msgid "Modify global custom fields"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:70 html/Admin/Global/GroupRights.html:46 html/Admin/Global/GroupRights.html:49 html/Admin/Global/index.html:77
-msgid "Modify global group rights"
-msgstr "更改全域設定的群組權限"
-
-#: html/Admin/Global/GroupRights.html:54
-msgid "Modify global group rights."
-msgstr "更改全域設定的群組權限。"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for groups"
-msgstr "更改全域設定的群組權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global rights for users"
-msgstr "更改全域設定的使用者權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify global scrips"
-msgstr "更改全域手續"
-
-#: html/Admin/Global/UserRights.html:46 html/Admin/Global/UserRights.html:49 html/Admin/Global/index.html:81
-msgid "Modify global user rights"
-msgstr "更改全域設定的使用者權限"
-
-#: html/Admin/Global/UserRights.html:54
-msgid "Modify global user rights."
-msgstr "更改全域設定的使用者權限。"
-
-#: lib/RT/Group_Overlay.pm:171
-msgid "Modify group metadata or delete group"
-msgstr "更改群組資料及刪除群組"
-
-#: html/Admin/CustomFields/GroupRights.html:164
-#. ($CustomFieldObj->Name)
-msgid "Modify group rights for custom field %1"
-msgstr "更改自訂欄位 %1 的群組權限"
-
-#: html/Admin/Groups/GroupRights.html:46 html/Admin/Groups/GroupRights.html:50 html/Admin/Groups/GroupRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify group rights for group %1"
-msgstr "更改群組 %1 的群組權限"
-
-#: html/Admin/Queues/GroupRights.html:46 html/Admin/Queues/GroupRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify group rights for queue %1"
-msgstr "更改表單 %1 的群組權限"
-
-#: lib/RT/Group_Overlay.pm:173
-msgid "Modify membership roster for this group"
-msgstr "更改此群組的成員名單"
-
-#: lib/RT/System.pm:83
-msgid "Modify one's own RT account"
-msgstr "更改個人的帳號資訊"
-
-#: html/Admin/Queues/People.html:46 html/Admin/Queues/People.html:50
-#. ($QueueObj->Name)
-msgid "Modify people related to queue %1"
-msgstr "更改鏈結到表單 %1 的人員"
-
-#: html/Ticket/ModifyPeople.html:46 html/Ticket/ModifyPeople.html:50 html/Ticket/ModifyPeople.html:56
-#. ($Ticket->id)
-#. ($Ticket->Id)
-msgid "Modify people related to ticket #%1"
-msgstr "更改申請單 #%1 鏈結到的人員"
-
-#: html/Admin/Queues/Scrips.html:67
-#. ($QueueObj->Name)
-msgid "Modify scrips for queue %1"
-msgstr "更改表單 %1 的手續"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:56 html/Admin/Global/Scrips.html:65 html/Admin/Global/index.html:63
-msgid "Modify scrips which apply to all queues"
-msgstr "更改適用於所有表單的手續"
-
-#: html/Admin/Global/Template.html:102 html/Admin/Global/Template.html:46 html/Admin/Global/Template.html:51 html/Admin/Queues/Template.html:99
-#. (loc($TemplateObj->Name()))
-#. ($TemplateObj->id)
-msgid "Modify template %1"
-msgstr "更改範本 %1"
-
-#: html/Admin/Global/Templates.html:65
-msgid "Modify templates which apply to all queues"
-msgstr "更改適用於所有表單的範本"
-
-#: html/Admin/Groups/Modify.html:119 html/User/Groups/Modify.html:107
-#. ($Group->Name)
-msgid "Modify the group %1"
-msgstr "更改群組 %1"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "Modify the queue watchers"
-msgstr "更改表單視察員"
-
-#: html/Admin/Users/Modify.html:301
-#. ($UserObj->Name)
-msgid "Modify the user %1"
-msgstr "更改使用者 %1"
-
-#: html/Ticket/ModifyAll.html:58
-#. ($Ticket->Id)
-msgid "Modify ticket # %1"
-msgstr "更改申請單 # %1"
-
-#: html/Ticket/Modify.html:46 html/Ticket/Modify.html:49 html/Ticket/Modify.html:55
-#. ($TicketObj->Id)
-msgid "Modify ticket #%1"
-msgstr "更改申請單 # %1"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "Modify tickets"
-msgstr "更改申請單"
-
-#: html/Admin/CustomFields/UserRights.html:157
-#. ($CustomFieldObj->Name)
-msgid "Modify user rights for custom field %1"
-msgstr "更改自訂欄位 %1 的使用者權限"
-
-#: html/Admin/Groups/UserRights.html:46 html/Admin/Groups/UserRights.html:50 html/Admin/Groups/UserRights.html:56
-#. ($GroupObj->Name)
-msgid "Modify user rights for group %1"
-msgstr "更改群組 %1 的使用者權限"
-
-#: html/Admin/Queues/UserRights.html:46 html/Admin/Queues/UserRights.html:50
-#. ($QueueObj->Name)
-msgid "Modify user rights for queue %1"
-msgstr "更改表單 %1 的使用者權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify watchers for queue '%1'"
-msgstr "更改 '%1' 的視察員"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify workflow %1"
-msgstr "更改流程 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Modify workflows which apply to all queues"
-msgstr "更改適用於所有表單的流程"
-
-#: lib/RT/Queue_Overlay.pm:95
-msgid "ModifyACL"
-msgstr "更改權限清單"
-
-#: lib/RT/CustomField_Overlay.pm:103
-msgid "ModifyCustomField"
-msgstr ""
-
-#: lib/RT/Group_Overlay.pm:174
-msgid "ModifyOwnMembership"
-msgstr "更改自己是否屬於某群組"
-
-#: lib/RT/Queue_Overlay.pm:96
-msgid "ModifyQueueWatchers"
-msgstr "更改表單視察員"
-
-#: lib/RT/Queue_Overlay.pm:101
-msgid "ModifyScrips"
-msgstr "更改手續"
-
-#: lib/RT/System.pm:83
-msgid "ModifySelf"
-msgstr "更改個人帳號"
-
-#: lib/RT/Queue_Overlay.pm:98
-msgid "ModifyTemplate"
-msgstr "更改範本"
-
-#: lib/RT/Queue_Overlay.pm:114
-msgid "ModifyTicket"
-msgstr "更改申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Mon"
-msgstr "星期一"
-
-#: lib/RT/Date.pm:413
-msgid "Mon."
-msgstr "星期一"
-
-#: NOT FOUND IN SOURCE
-msgid "More"
-msgstr "更多"
-
-#: html/Ticket/Elements/ShowRequestor:62
-#. ($name)
-msgid "More about %1"
-msgstr "關於 %1 的進一步資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Morning Shift"
-msgstr "早班"
-
-#: NOT FOUND IN SOURCE
-msgid "Move"
-msgstr "移動"
-
-#: NOT FOUND IN SOURCE
-msgid "Move All"
-msgstr "全移"
-
-#: html/Admin/Elements/PickCustomFields:83
-msgid "Move down"
-msgstr "下移"
-
-#: html/Admin/Elements/PickCustomFields:75
-msgid "Move up"
-msgstr "上移"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:48
-msgid "Multiple"
-msgstr "多重"
-
-#: lib/RT/User_Overlay.pm:227
-msgid "Must specify 'Name' attribute"
-msgstr "必須指定 'Name' 的屬性"
-
-#: html/SelfService/Elements/MyRequests:70
-#. ($friendly_status)
-msgid "My %1 tickets"
-msgstr "我的 %1 申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "My Approvals"
-msgstr "表單簽核"
-
-#: NOT FOUND IN SOURCE
-msgid "My Requests"
-msgstr "表單申請追蹤"
-
-#: NOT FOUND IN SOURCE
-msgid "My Tickets"
-msgstr "表單處理"
-
-#: html/Approvals/index.html:46 html/Approvals/index.html:47
-msgid "My approvals"
-msgstr "表單簽核"
-
-#: html/Search/Elements/SearchPrivacy:50 html/Search/Elements/SelectSearchObject:53 html/Search/Elements/SelectSearchesForObjects:53
-msgid "My saved searches"
-msgstr "我已儲存的查詢"
-
-#: html/Admin/CustomFields/Modify.html:58 html/Admin/Elements/AddCustomFieldValue:53 html/Admin/Elements/EditCustomField:55 html/Admin/Elements/EditCustomFieldValues:55 html/Admin/Elements/ModifyTemplate:49 html/Admin/Groups/Modify.html:65 html/User/Groups/Modify.html:65
-msgid "Name"
-msgstr "名稱"
-
-#: lib/RT/User_Overlay.pm:234
-msgid "Name in use"
-msgstr "帳號已有人使用"
-
-#: NOT FOUND IN SOURCE
-msgid "Nationality"
-msgstr "國籍"
-
-#: NOT FOUND IN SOURCE
-msgid "Need approval from system administrator"
-msgstr "需先由系統管理員進行批准"
-
-#: html/Ticket/Elements/ShowDates:73
-msgid "Never"
-msgstr "從未更動"
-
-#: html/Elements/Quicksearch:51
-msgid "New"
-msgstr "新建立"
-
-#: html/Elements/EditLinks:115
-msgid "New Links"
-msgstr "新增關係"
-
-#: html/Admin/Users/Modify.html:119 html/User/Prefs.html:109
-msgid "New Password"
-msgstr "新的密碼"
-
-#: etc/initialdata:332
-msgid "New Pending Approval"
-msgstr "新的待簽核事項"
-
-#: html/Ticket/Elements/Tabs:193
-msgid "New Query"
-msgstr "新增查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "New Request"
-msgstr "表單申請"
-
-#: NOT FOUND IN SOURCE
-msgid "New Search"
-msgstr "新增查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "New Watchers"
-msgstr "新增視察員"
-
-#: html/Admin/Elements/CustomFieldTabs:93 html/Admin/Queues/CustomField.html:73
-msgid "New custom field"
-msgstr "新增自訂欄位"
-
-#: html/Admin/Elements/GroupTabs:77 html/User/Elements/GroupTabs:73
-msgid "New group"
-msgstr "新增群組"
-
-#: html/SelfService/Prefs.html:53
-msgid "New password"
-msgstr "新的密碼"
-
-#: lib/RT/User_Overlay.pm:817
-msgid "New password notification sent"
-msgstr "送出新密碼通知"
-
-#: html/Admin/Elements/QueueTabs:95
-msgid "New queue"
-msgstr "新增表單"
-
-#: NOT FOUND IN SOURCE
-msgid "New request"
-msgstr "提出申請單"
-
-#: html/Admin/Elements/SelectRights:65
-msgid "New rights"
-msgstr "新增權限"
-
-#: html/Admin/Global/Scrip.html:61 html/Admin/Global/Scrips.html:60 html/Admin/Queues/Scrip.html:64 html/Admin/Queues/Scrips.html:76
-msgid "New scrip"
-msgstr "新增手續"
-
-#: NOT FOUND IN SOURCE
-msgid "New search"
-msgstr "重新查詢"
-
-#: html/Admin/Global/Template.html:81 html/Admin/Global/Templates.html:60 html/Admin/Queues/Template.html:79 html/Admin/Queues/Templates.html:71
-msgid "New template"
-msgstr "新增範本"
-
-#: html/SelfService/Elements/Tabs:69
-msgid "New ticket"
-msgstr "提出申請單"
-
-#: lib/RT/Ticket_Overlay.pm:2713
-msgid "New ticket doesn't exist"
-msgstr "沒有新申請單"
-
-#: html/Admin/Elements/UserTabs:78
-msgid "New user"
-msgstr "新增使用者"
-
-#: html/Admin/Elements/CreateUserCalled:47
-msgid "New user called"
-msgstr "新使用者名字"
-
-#: html/Admin/Queues/People.html:76 html/Ticket/Elements/EditPeople:50
-msgid "New watchers"
-msgstr "新視察員"
-
-#: NOT FOUND IN SOURCE
-msgid "New window setting"
-msgstr "更新視窗設定"
-
-#: NOT FOUND IN SOURCE
-msgid "New workflow"
-msgstr "新增流程"
-
-#: html/Ticket/Elements/Tabs:92
-msgid "Next"
-msgstr "下一項"
-
-#: html/Elements/TicketList:104
-msgid "Next Page"
-msgstr "下一頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Next page"
-msgstr "下一頁"
-
-#: NOT FOUND IN SOURCE
-msgid "NickName"
-msgstr "暱稱"
-
-#: html/Admin/Users/Modify.html:84 html/User/Prefs.html:72
-msgid "Nickname"
-msgstr "暱稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Night Shift"
-msgstr "小夜班"
-
-#: NOT FOUND IN SOURCE
-msgid "No"
-msgstr "否"
-
-#: html/Admin/CustomFields/UserRights.html:145
-msgid "No Class defined"
-msgstr "尚未定義類別"
-
-#: html/Admin/CustomFields/Modify.html:124 html/Admin/Elements/EditCustomField:119
-msgid "No CustomField"
-msgstr "無自訂欄位"
-
-#: html/Admin/CustomFields/GroupRights.html:103
-msgid "No CustomField defined"
-msgstr "尚未定義自訂欄位"
-
-#: html/Admin/Groups/GroupRights.html:105 html/Admin/Groups/UserRights.html:92
-msgid "No Group defined"
-msgstr "尚未定義群組"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:477
-msgid "No Query"
-msgstr "沒有查詢"
-
-#: html/Admin/Queues/GroupRights.html:118 html/Admin/Queues/UserRights.html:89
-msgid "No Queue defined"
-msgstr "尚未定義表單"
-
-#: bin/rt-crontool:73
-msgid "No RT user found. Please consult your RT administrator.\\n"
-msgstr "找不到 RT 使用者。請向 RT 管理員查詢。\\n"
-
-#: html/Admin/Global/Template.html:100 html/Admin/Queues/Template.html:97
-msgid "No Template"
-msgstr "沒有範本"
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket "
-msgstr "未指定申請單。退出申請單 "
-
-#: NOT FOUND IN SOURCE
-msgid "No Ticket specified. Aborting ticket modifications\\n\\n"
-msgstr "未指定申請單。退出申請單更改\\n\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "No Workflow"
-msgstr "沒有流程"
-
-#: html/Approvals/Elements/Approve:67
-msgid "No action"
-msgstr "暫不處理"
-
-#: lib/RT/Record.pm:935
-msgid "No column specified"
-msgstr "未指定欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "No command found\\n"
-msgstr "找不到命令"
-
-#: html/Ticket/Elements/ShowRequestor:68
-msgid "No comment entered about this user"
-msgstr "沒有對這名使用者的評論"
-
-#: NOT FOUND IN SOURCE
-msgid "No correspondence attached"
-msgstr "沒有附上申請單回覆"
-
-#: lib/RT/Action/Generic.pm:186 lib/RT/Condition/Generic.pm:198 lib/RT/Search/ActiveTicketsInQueue.pm:78 lib/RT/Search/Generic.pm:135
-#. (ref $self)
-msgid "No description for %1"
-msgstr "沒有對 %1 的描述"
-
-#: lib/RT/Users_Overlay.pm:185
-msgid "No group specified"
-msgstr "未指定群組"
-
-#: html/Admin/Groups/index.html:52
-msgid "No groups matching search criteria found."
-msgstr "找不到符合查詢條件的群組。"
-
-#: lib/RT/Ticket_Overlay.pm:2349
-msgid "No message attached"
-msgstr "沒有附上訊息"
-
-#: lib/RT/User_Overlay.pm:1035
-msgid "No password set"
-msgstr "沒有設定密碼"
-
-#: lib/RT/Queue_Overlay.pm:358
-msgid "No permission to create queues"
-msgstr "沒有新增表單的權限"
-
-#: lib/RT/Ticket_Overlay.pm:409
-#. ($QueueObj->Name)
-msgid "No permission to create tickets in the queue '%1'"
-msgstr "沒有在表單 '%1' 新增申請單的權限"
-
-#: lib/RT/User_Overlay.pm:187
-msgid "No permission to create users"
-msgstr "沒有新增使用者的權限"
-
-#: html/SelfService/Display.html:165
-msgid "No permission to display that ticket"
-msgstr "沒有顯示該申請單的權限"
-
-#: html/SelfService/Update.html:117
-msgid "No permission to view update ticket"
-msgstr "沒有檢視申請單更新的權限"
-
-#: lib/RT/Queue_Overlay.pm:792 lib/RT/Ticket_Overlay.pm:1450
-msgid "No principal specified"
-msgstr "未指定單位"
-
-#: html/Admin/Queues/People.html:175 html/Admin/Queues/People.html:185
-msgid "No principals selected."
-msgstr "未指定單位。"
-
-#: NOT FOUND IN SOURCE
-msgid "No protocol specified in %1"
-msgstr "%1 內未指定協定"
-
-#: html/Admin/Queues/index.html:57
-msgid "No queues matching search criteria found."
-msgstr "找不到符合查詢條件的表單。"
-
-#: html/Admin/Elements/SelectRights:106
-msgid "No rights found"
-msgstr "找不到權限"
-
-#: html/Admin/Elements/SelectRights:53
-msgid "No rights granted."
-msgstr "沒有選定權限"
-
-#: lib/RT/SavedSearch.pm:187
-msgid "No search loaded"
-msgstr ""
-
-#: html/Search/Bulk.html:194
-msgid "No search to operate on."
-msgstr "沒有要進行的查詢"
-
-#: html/Elements/RT__Ticket/ColumnMap:134
-msgid "No subject"
-msgstr "沒有標題"
-
-#: NOT FOUND IN SOURCE
-msgid "No ticket id specified"
-msgstr "未指定申請單編號"
-
-#: lib/RT/Transaction_Overlay.pm:517 lib/RT/Transaction_Overlay.pm:554
-msgid "No transaction type specified"
-msgstr "未指定更動報告類別"
-
-#: NOT FOUND IN SOURCE
-msgid "No user or email address specified"
-msgstr "未指定使用者或電子郵件地址"
-
-#: html/Admin/Users/index.html:55
-msgid "No users matching search criteria found."
-msgstr "找不到符合查詢條件的使用者。"
-
-#: NOT FOUND IN SOURCE
-msgid "No valid RT user found. RT cvs handler disengaged. Please consult your RT administrator.\\n"
-msgstr "找不到合格的 RT 使用者。RT cvs 處理器已停用。請向 RT 管理者詢問。\\n"
-
-#: lib/RT/Record.pm:932
-msgid "No value sent to _Set!\\n"
-msgstr "_Set 沒有收到任何值!\\n"
-
-#: html/Elements/QuickCreate:61
-msgid "Nobody"
-msgstr "沒有人"
-
-#: lib/RT/Record.pm:937
-msgid "Nonexistant field?"
-msgstr "欄位不存在?"
-
-#: NOT FOUND IN SOURCE
-msgid "Normal Users"
-msgstr "一般用戶群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Not configured to fetch the content from a %1 in %2"
-msgstr "未設定成從 %2 內擷取 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Not logged in"
-msgstr "尚未登入"
-
-#: html/Elements/Header:96
-msgid "Not logged in."
-msgstr "尚未登入"
-
-#: lib/RT/Date.pm:393
-msgid "Not set"
-msgstr "尚未設定"
-
-#: html/NoAuth/Reminder.html:48
-msgid "Not yet implemented."
-msgstr "尚未完工。"
-
-#: NOT FOUND IN SOURCE
-msgid "Not yet implemented...."
-msgstr "尚未完工..."
-
-#: html/Approvals/Elements/Approve:70
-msgid "Notes"
-msgstr "備註"
-
-#: NOT FOUND IN SOURCE
-msgid "Notes:"
-msgstr "備註:"
-
-#: lib/RT/User_Overlay.pm:820
-msgid "Notification could not be sent"
-msgstr "無法送出通知"
-
-#: etc/initialdata:101
-msgid "Notify AdminCcs"
-msgstr "通知管理員副本收件人"
-
-#: etc/initialdata:97
-msgid "Notify AdminCcs as Comment"
-msgstr "以評論方式通知管理員副本收件人"
-
-#: etc/initialdata:93 etc/upgrade/3.1.17/content:6
-msgid "Notify Ccs"
-msgstr "通知副本收件人"
-
-#: etc/initialdata:89 etc/upgrade/3.1.17/content:2
-msgid "Notify Ccs as Comment"
-msgstr "以評論方式通知副本收件人"
-
-#: etc/initialdata:128
-msgid "Notify Other Recipients"
-msgstr "通知其他收件人"
-
-#: etc/initialdata:124
-msgid "Notify Other Recipients as Comment"
-msgstr "以評論方式通知其他收件人"
-
-#: etc/initialdata:85
-msgid "Notify Owner"
-msgstr "通知承辦人"
-
-#: etc/initialdata:81
-msgid "Notify Owner as Comment"
-msgstr "以評論方式通知承辦人"
-
-#: etc/initialdata:376
-msgid "Notify Owner of their rejected ticket"
-msgstr "通知承辦人申請單已駁回"
-
-#: etc/initialdata:365
-msgid "Notify Owner of their ticket has been approved by all approvers"
-msgstr "通知承辦人申請單已完成全部簽核"
-
-#: etc/initialdata:353
-msgid "Notify Owner of their ticket has been approved by some approver"
-msgstr "通知承辦人申請單已完成某項簽核"
-
-#: etc/initialdata:334
-msgid "Notify Owners and AdminCcs of new items pending their approval"
-msgstr "整理待簽核事項,通知承辦人及管理員副本收件人"
-
-#: etc/initialdata:77
-msgid "Notify Requestors"
-msgstr "通知申請人"
-
-#: etc/initialdata:111
-msgid "Notify Requestors and Ccs"
-msgstr "通知申請人及副本收件人"
-
-#: etc/initialdata:106
-msgid "Notify Requestors and Ccs as Comment"
-msgstr "以評論方式通知申請人及副本收件人"
-
-#: etc/initialdata:120
-msgid "Notify Requestors, Ccs and AdminCcs"
-msgstr "通知申請人、副本及管理員副本收件人"
-
-#: etc/initialdata:116
-msgid "Notify Requestors, Ccs and AdminCcs as Comment"
-msgstr "以評論方式通知申請人、副本及管理員副本收件人"
-
-#: NOT FOUND IN SOURCE
-msgid "Notify people:"
-msgstr "通知對象"
-
-#: NOT FOUND IN SOURCE
-msgid "Nov"
-msgstr "十一月"
-
-#: lib/RT/Date.pm:447
-msgid "Nov."
-msgstr "11"
-
-#: NOT FOUND IN SOURCE
-msgid "November"
-msgstr "十一月"
-
-#: NOT FOUND IN SOURCE
-msgid "OIN104"
-msgstr "104eHRMS 介面"
-
-#: NOT FOUND IN SOURCE
-msgid "OK"
-msgstr "確定"
-
-#: html/Search/Elements/SelectAndOr:47
-msgid "OR"
-msgstr ""
-
-#: lib/RT/Record.pm:319
-msgid "Object could not be created"
-msgstr "無法新增物件"
-
-#: lib/RT/Record.pm:124
-msgid "Object could not be deleted"
-msgstr ""
-
-#: lib/RT/Record.pm:338
-msgid "Object created"
-msgstr "物件新增完畢"
-
-#: lib/RT/Record.pm:121
-msgid "Object deleted"
-msgstr ""
-
-#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
-#. ($ObjectType)
-#. ($LookupType)
-msgid "Object of type %1 cannot take custom fields"
-msgstr "自訂欄位不適用於類別為 %1 的物件"
-
-#: lib/RT/CustomField_Overlay.pm:901
-msgid "Object type mismatch"
-msgstr "物件類別不符"
-
-#: NOT FOUND IN SOURCE
-msgid "Occupation Status"
-msgstr "在職狀態"
-
-#: NOT FOUND IN SOURCE
-msgid "Oct"
-msgstr "十月"
-
-#: lib/RT/Date.pm:446
-msgid "Oct."
-msgstr "10"
-
-#: NOT FOUND IN SOURCE
-msgid "October"
-msgstr "十月"
-
-#: NOT FOUND IN SOURCE
-msgid "Office Phone"
-msgstr "辦公室電話"
-
-#: html/Tools/Elements/Tabs:53
-msgid "Offline"
-msgstr "離線"
-
-#: html/Tools/Offline.html:49
-msgid "Offline edits"
-msgstr "離線編輯"
-
-#: html/Tools/Offline.html:46
-msgid "Offline upload"
-msgstr "離線上載"
-
-#: html/Elements/SelectDateRelation:56
-msgid "On"
-msgstr "等於"
-
-#: NOT FOUND IN SOURCE
-msgid "On Change"
-msgstr "更改申請單時"
-
-#: etc/initialdata:163
-msgid "On Comment"
-msgstr "評論時"
-
-#: etc/initialdata:156
-msgid "On Correspond"
-msgstr "回覆申請單時"
-
-#: etc/initialdata:145
-msgid "On Create"
-msgstr "新增申請單時"
-
-#: etc/initialdata:184
-msgid "On Owner Change"
-msgstr "承辦人改變時"
-
-#: etc/initialdata:177 etc/upgrade/3.1.17/content:15
-msgid "On Priority Change"
-msgstr "優先順位改變時"
-
-#: etc/initialdata:192
-msgid "On Queue Change"
-msgstr "表單改變時"
-
-#: etc/initialdata:198
-msgid "On Resolve"
-msgstr "解決申請單時"
-
-#: etc/initialdata:169
-msgid "On Status Change"
-msgstr "現況改變時"
-
-#: etc/initialdata:150
-msgid "On Transaction"
-msgstr "發生更動時"
-
-#: html/Approvals/Elements/PendingMyApproval:71
-#. ("<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter'>")
-msgid "Only show approvals for requests created after %1"
-msgstr "僅顯示 %1 之後新增的申請單"
-
-#: html/Approvals/Elements/PendingMyApproval:69
-#. ("<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore'>")
-msgid "Only show approvals for requests created before %1"
-msgstr "僅顯示 %1 之前新增的申請單"
-
-#: html/Elements/Quicksearch:52
-msgid "Open"
-msgstr "開啟"
-
-#: html/Ticket/Elements/Tabs:159
-msgid "Open it"
-msgstr "開啟"
-
-#: html/SelfService/Elements/Tabs:63
-msgid "Open tickets"
-msgstr "開啟的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in a new window"
-msgstr "在新視窗開啟(列表的)申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Open tickets (from listing) in another window"
-msgstr "在另一個視窗開啟(列表的)申請單"
-
-#: etc/initialdata:140
-msgid "Open tickets on correspondence"
-msgstr "收到回覆時即開啟申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Opened Tickets"
-msgstr "已申請運行中表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Opinion"
-msgstr "意見"
-
-#: NOT FOUND IN SOURCE
-msgid "Option Description"
-msgstr "選項描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Option Name"
-msgstr "選項名稱"
-
-#: html/Search/Elements/DisplayOptions:56
-msgid "Order by"
-msgstr "排序方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Ordering and sorting"
-msgstr "順序與排序方式"
-
-#: html/Admin/Users/Modify.html:141 html/User/Prefs.html:129
-msgid "Organization"
-msgstr "組織名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Organization:"
-msgstr "組織:"
-
-#: html/Approvals/Elements/Approve:54
-#. ($approving->Id, $approving->Subject)
-msgid "Originating ticket: #%1"
-msgstr "原申請單:#%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Other comma-delimited email addresses"
-msgstr "其他e-mail帳號 (僅e-mail通知;多筆帳號請用逗號','區隔)"
-
-#: NOT FOUND IN SOURCE
-msgid "Out of range"
-msgstr "期限外"
-
-#: lib/RT/Transaction_Overlay.pm:611
-msgid "Outgoing email about a comment recorded"
-msgstr "已紀錄發送的評論郵件"
-
-#: lib/RT/Transaction_Overlay.pm:615
-msgid "Outgoing email recorded"
-msgstr "已紀錄發送的郵件"
-
-#: html/Admin/Queues/Modify.html:90
-msgid "Over time, priority moves toward"
-msgstr "優先順位隨時間增加調整為"
-
-#: NOT FOUND IN SOURCE
-msgid "Override current custom fields with fields from %1"
-msgstr "以 %1 表單的自訂欄位取代現有欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Override global rights"
-msgstr "取代全域權限"
-
-#: NOT FOUND IN SOURCE
-msgid "OverrideGlobalACL status %1"
-msgstr "取代全域權限 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Overview"
-msgstr "總覽"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "Own tickets"
-msgstr "承辦申請單"
-
-#: lib/RT/Queue_Overlay.pm:113
-msgid "OwnTicket"
-msgstr "承辦申請單"
-
-#: etc/initialdata:38 html/Elements/QuickCreate:58 html/Search/Elements/PickBasics:101 html/SelfService/Elements/MyRequests:51 html/Ticket/Create.html:69 html/Ticket/Elements/EditPeople:64 html/Ticket/Elements/EditPeople:65 html/Ticket/Elements/ShowPeople:48 html/Ticket/Update.html:62 lib/RT/ACE_Overlay.pm:111 lib/RT/Tickets_Overlay.pm:1734
-msgid "Owner"
-msgstr "承辦人"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner changed from %1 to %2"
-msgstr "承辦人已從 %1 改為 %2"
-
-#: lib/RT/Ticket_Overlay.pm:495
-msgid "Owner could not be set."
-msgstr "無法設定承辦人。"
-
-#: lib/RT/Transaction_Overlay.pm:661
-#. ($Old->Name , $New->Name)
-msgid "Owner forcibly changed from %1 to %2"
-msgstr "強制將承辦人從 %1 改為 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner is"
-msgstr "承辦人"
-
-#: NOT FOUND IN SOURCE
-msgid "Owner's Phone"
-msgstr "承辦人電話"
-
-#: NOT FOUND IN SOURCE
-msgid "Page #"
-msgstr " "
-
-#: html/Elements/TicketList:78
-#. ($Page, int($TotalFound/$Rows)+$oddRows)
-msgid "Page %1 of %2"
-msgstr "第 %1/%2 頁"
-
-#: html/Admin/Users/Modify.html:198 html/User/Prefs.html:97
-msgid "Pager"
-msgstr "呼叫器"
-
-#: NOT FOUND IN SOURCE
-msgid "PagerPhone"
-msgstr "呼叫器號碼"
-
-#: NOT FOUND IN SOURCE
-msgid "Parameter"
-msgstr "呼叫參數"
-
-#: NOT FOUND IN SOURCE
-msgid "Parent"
-msgstr "上級"
-
-#: html/Elements/EditLinks:142 html/Elements/EditLinks:76 html/Elements/ShowLinks:68 html/Ticket/Create.html:213 html/Ticket/Elements/BulkLinks:60
-msgid "Parents"
-msgstr "母申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Park Space"
-msgstr "停車位申請"
-
-#: html/Elements/Login:74 html/User/Prefs.html:105
-msgid "Password"
-msgstr "密碼"
-
-#: html/NoAuth/Reminder.html:46
-msgid "Password Reminder"
-msgstr "密碼提示"
-
-#: lib/RT/Transaction_Overlay.pm:770 lib/RT/User_Overlay.pm:1046
-msgid "Password changed"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1038 lib/RT/User_Overlay.pm:215
-#. ($RT::MinimumPasswordLength)
-msgid "Password needs to be at least %1 characters long"
-msgstr ""
-
-#: lib/RT/User_Overlay.pm:1045
-msgid "Password set"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Password too short"
-msgstr "密碼太短"
-
-#: html/User/Prefs.html:232
-#. (loc_fuzzy($msg))
-msgid "Password: %1"
-msgstr "密碼:%1"
-
-#: lib/RT/User_Overlay.pm:1031
-msgid "Password: Permission Denied"
-msgstr ""
-
-#: html/Admin/Users/Modify.html:356
-msgid "Passwords do not match."
-msgstr "密碼確認失敗。"
-
-#: html/User/Prefs.html:234
-msgid "Passwords do not match. Your password has not been changed"
-msgstr "密碼確認失敗。您的密碼並未改變。"
-
-#: NOT FOUND IN SOURCE
-msgid "Pelase select a queue"
-msgstr "請選擇表單名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Pending Approval"
-msgstr "等待簽核"
-
-#: html/Ticket/Elements/ShowSummary:66 html/Ticket/Elements/Tabs:119 html/Ticket/ModifyAll.html:72
-msgid "People"
-msgstr "人員"
-
-#: NOT FOUND IN SOURCE
-msgid "People with Queue Rights"
-msgstr "擁有表單權限人員"
-
-#: etc/initialdata:133
-msgid "Perform a user-defined action"
-msgstr "執行使用者自訂的動作"
-
-#: html/Admin/Tools/Configuration.html:94
-msgid "Perl configuration"
-msgstr "Perl 設定"
-
-#: lib/RT/ACE_Overlay.pm:252 lib/RT/ACE_Overlay.pm:258 lib/RT/ACE_Overlay.pm:581 lib/RT/ACE_Overlay.pm:591 lib/RT/ACE_Overlay.pm:601 lib/RT/ACE_Overlay.pm:666 lib/RT/Attribute_Overlay.pm:158 lib/RT/Attribute_Overlay.pm:164 lib/RT/Attribute_Overlay.pm:402 lib/RT/Attribute_Overlay.pm:411 lib/RT/Attribute_Overlay.pm:424 lib/RT/CurrentUser.pm:117 lib/RT/CurrentUser.pm:126 lib/RT/CustomField_Overlay.pm:1022 lib/RT/CustomField_Overlay.pm:167 lib/RT/CustomField_Overlay.pm:184 lib/RT/CustomField_Overlay.pm:195 lib/RT/CustomField_Overlay.pm:366 lib/RT/CustomField_Overlay.pm:398 lib/RT/CustomField_Overlay.pm:697 lib/RT/CustomField_Overlay.pm:870 lib/RT/CustomField_Overlay.pm:905 lib/RT/CustomField_Overlay.pm:950 lib/RT/Group_Overlay.pm:1125 lib/RT/Group_Overlay.pm:1129 lib/RT/Group_Overlay.pm:1138 lib/RT/Group_Overlay.pm:1248 lib/RT/Group_Overlay.pm:1252 lib/RT/Group_Overlay.pm:1258 lib/RT/Group_Overlay.pm:453 lib/RT/Group_Overlay.pm:550 lib/RT/Group_Overlay.pm:628 lib/RT/Group_Overlay.pm:636 lib/RT/Group_Overlay.pm:734 lib/RT/Group_Overlay.pm:738 lib/RT/Group_Overlay.pm:744 lib/RT/Group_Overlay.pm:930 lib/RT/Group_Overlay.pm:934 lib/RT/Group_Overlay.pm:947 lib/RT/Queue_Overlay.pm:1051 lib/RT/Queue_Overlay.pm:141 lib/RT/Queue_Overlay.pm:159 lib/RT/Queue_Overlay.pm:654 lib/RT/Queue_Overlay.pm:664 lib/RT/Queue_Overlay.pm:678 lib/RT/Queue_Overlay.pm:816 lib/RT/Queue_Overlay.pm:825 lib/RT/Queue_Overlay.pm:838 lib/RT/Scrip_Overlay.pm:150 lib/RT/Scrip_Overlay.pm:161 lib/RT/Scrip_Overlay.pm:226 lib/RT/Scrip_Overlay.pm:540 lib/RT/Template_Overlay.pm:112 lib/RT/Template_Overlay.pm:118 lib/RT/Template_Overlay.pm:309 lib/RT/Ticket_Overlay.pm:1318 lib/RT/Ticket_Overlay.pm:1328 lib/RT/Ticket_Overlay.pm:1342 lib/RT/Ticket_Overlay.pm:1483 lib/RT/Ticket_Overlay.pm:1493 lib/RT/Ticket_Overlay.pm:1507 lib/RT/Ticket_Overlay.pm:1624 lib/RT/Ticket_Overlay.pm:1944 lib/RT/Ticket_Overlay.pm:2082 lib/RT/Ticket_Overlay.pm:2252 lib/RT/Ticket_Overlay.pm:2302 lib/RT/Ticket_Overlay.pm:2474 lib/RT/Ticket_Overlay.pm:2577 lib/RT/Ticket_Overlay.pm:2625 lib/RT/Ticket_Overlay.pm:2704 lib/RT/Ticket_Overlay.pm:2718 lib/RT/Ticket_Overlay.pm:2942 lib/RT/Ticket_Overlay.pm:2952 lib/RT/Ticket_Overlay.pm:2957 lib/RT/Ticket_Overlay.pm:3180 lib/RT/Ticket_Overlay.pm:3184 lib/RT/Ticket_Overlay.pm:3327 lib/RT/Ticket_Overlay.pm:3448 lib/RT/Transaction_Overlay.pm:505 lib/RT/Transaction_Overlay.pm:512 lib/RT/Transaction_Overlay.pm:540 lib/RT/Transaction_Overlay.pm:547 lib/RT/User_Overlay.pm:1184 lib/RT/User_Overlay.pm:1725 lib/RT/User_Overlay.pm:370 lib/RT/User_Overlay.pm:736 lib/RT/User_Overlay.pm:775
-msgid "Permission Denied"
-msgstr "權限不足"
-
-#: NOT FOUND IN SOURCE
-msgid "Permission Settings"
-msgstr "權限設定"
-
-#: NOT FOUND IN SOURCE
-msgid "Permitted Queues:"
-msgstr "擁有權限表單列表:"
-
-#: NOT FOUND IN SOURCE
-msgid "Personal"
-msgstr "代理人群組"
-
-#: html/User/Elements/Tabs:56
-msgid "Personal Groups"
-msgstr "代理人群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Personal Homepage"
-msgstr "個人首頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Personal Todo"
-msgstr "私人待辦事項"
-
-#: html/User/Groups/index.html:51 html/User/Groups/index.html:61
-msgid "Personal groups"
-msgstr "代理人群組"
-
-#: html/User/Elements/DelegateRights:58
-msgid "Personal groups:"
-msgstr "代理人群組:"
-
-#: NOT FOUND IN SOURCE
-msgid "PersonalHomepage"
-msgstr "個人首頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 1: Create/Rename Groups (%1)"
-msgstr "第一階段:群組建立及改名 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 2: Disable/Enable Groups (%1)"
-msgstr "第二階段:群組停用及啟用 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 3: Create/Rename Users (%1)"
-msgstr "第三階段:使用者建立及改名 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phase 4: Disable/Enable Users (%1)"
-msgstr "第四階段:使用者停用及啟用 (%1)"
-
-#: NOT FOUND IN SOURCE
-msgid "Phone"
-msgstr "電話"
-
-#: NOT FOUND IN SOURCE
-msgid "Phone number"
-msgstr "電話號碼"
-
-#: html/Admin/Users/Modify.html:180 html/User/Prefs.html:82
-msgid "Phone numbers"
-msgstr "電話號碼"
-
-#: NOT FOUND IN SOURCE
-msgid "Pick"
-msgstr "挑選"
-
-#: NOT FOUND IN SOURCE
-msgid "Place of Departure"
-msgstr "出發地點"
-
-#: NOT FOUND IN SOURCE
-msgid "Placeholder"
-msgstr "尚未完工"
-
-#: NOT FOUND IN SOURCE
-msgid "Please Select"
-msgstr "請選擇"
-
-#: NOT FOUND IN SOURCE
-msgid "Please check items to be deleted first."
-msgstr "請先選中要刪除的對象"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select a group"
-msgstr "請選擇群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select a queue's workflow"
-msgstr "請選擇表單流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select one of the category types above."
-msgstr "請從上面選擇一項分類。"
-
-#: NOT FOUND IN SOURCE
-msgid "Please select role"
-msgstr "請選擇角色"
-
-#: NOT FOUND IN SOURCE
-msgid "Policy"
-msgstr "經營規章"
-
-#: NOT FOUND IN SOURCE
-msgid "Position"
-msgstr "職務"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Level"
-msgstr "職等"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Name"
-msgstr "職務名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Number"
-msgstr "職務代碼"
-
-#: NOT FOUND IN SOURCE
-msgid "Position Rank"
-msgstr "職級"
-
-#: NOT FOUND IN SOURCE
-msgid "Pref"
-msgstr "偏好"
-
-#: html/Elements/Header:87 html/Elements/Tabs:88 html/SelfService/Elements/Tabs:75 html/SelfService/Prefs.html:46 html/User/Prefs.html:46 html/User/Prefs.html:49
-msgid "Preferences"
-msgstr "偏好"
-
-#: NOT FOUND IN SOURCE
-msgid "Prefs"
-msgstr "個人資訊"
-
-#: lib/RT/Action/Generic.pm:196
-msgid "Prepare Stubbed"
-msgstr "預備動作完畢"
-
-#: html/Ticket/Elements/Tabs:84
-msgid "Prev"
-msgstr "上一項"
-
-#: html/Elements/TicketList:101
-msgid "Previous Page"
-msgstr "上一頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Previous page"
-msgstr "前一頁"
-
-#: NOT FOUND IN SOURCE
-msgid "Pri"
-msgstr "優先順位"
-
-#: lib/RT/ACE_Overlay.pm:158 lib/RT/ACE_Overlay.pm:240 lib/RT/ACE_Overlay.pm:570
-#. ($args{'PrincipalId'})
-msgid "Principal %1 not found."
-msgstr "找不到單位 %1。"
-
-#: html/Search/Elements/PickBasics:160 html/Ticket/Create.html:184 html/Ticket/Elements/EditBasics:74 html/Ticket/Elements/ShowBasics:72 lib/RT/Tickets_Overlay.pm:1518
-msgid "Priority"
-msgstr "優先順位"
-
-#: html/Admin/Queues/Modify.html:86
-msgid "Priority starts at"
-msgstr "優先順位起始值"
-
-#: html/Search/Elements/EditSearches:50
-msgid "Privacy:"
-msgstr "隱私設定:"
-
-#: etc/initialdata:25
-msgid "Privileged"
-msgstr "內部成員"
-
-#: html/Admin/Users/Modify.html:334 html/User/Prefs.html:223
-#. (loc_fuzzy($msg))
-msgid "Privileged status: %1"
-msgstr "內部成員狀態:%1"
-
-#: html/Admin/Users/index.html:102
-msgid "Privileged users"
-msgstr "內部成員"
-
-#: NOT FOUND IN SOURCE
-msgid "Process Status"
-msgstr "處理狀態"
-
-#: NOT FOUND IN SOURCE
-msgid "Project"
-msgstr "專案"
-
-#: NOT FOUND IN SOURCE
-msgid "Project Name"
-msgstr "專案名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Projects"
-msgstr "專案"
-
-#: etc/initialdata:23 etc/initialdata:29 etc/initialdata:35 etc/initialdata:59
-msgid "Pseudogroup for internal use"
-msgstr "內部用的虛擬群組"
-
-#: NOT FOUND IN SOURCE
-msgid "Public Description"
-msgstr "公開說明"
-
-#: NOT FOUND IN SOURCE
-msgid "Public Info"
-msgstr "公開資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Public Service"
-msgstr "公共事務區"
-
-#: NOT FOUND IN SOURCE
-msgid "Purging stale data: %1"
-msgstr "移除過期資料: %1"
-
-#: html/Search/Elements/EditQuery:47
-msgid "Query"
-msgstr "查詢"
-
-#: html/Search/Build.html:124 html/Ticket/Elements/Tabs:195
-msgid "Query Builder"
-msgstr "建立查詢"
-
-#: html/Elements/QuickCreate:55 html/Elements/Quicksearch:50 html/Search/Elements/PickBasics:71 html/SelfService/Create.html:54 html/Ticket/Create.html:59 html/Ticket/Elements/EditBasics:57 html/Ticket/Elements/ShowBasics:76 html/User/Elements/DelegateRights:101 lib/RT/Tickets_Overlay.pm:1345
-msgid "Queue"
-msgstr "表單"
-
-#: html/Admin/Queues/CustomField.html:63 html/Admin/Queues/Scrip.html:71 html/Admin/Queues/Scrips.html:69 html/Admin/Queues/Templates.html:65
-#. ($Queue)
-#. ($id)
-msgid "Queue %1 not found"
-msgstr "找不到表單 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue '%1' not found\\n"
-msgstr "找不到表單 '%1'\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Keyword Selections"
-msgstr "表單關鍵字選取"
-
-#: html/Admin/Queues/Modify.html:64
-msgid "Queue Name"
-msgstr "表單名稱"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Owner"
-msgstr "業務承辦人"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Priority"
-msgstr "優先等級"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Rights"
-msgstr "表單權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Scrips"
-msgstr "表單手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue Setup"
-msgstr "表單設定"
-
-#: lib/RT/Queue_Overlay.pm:362
-msgid "Queue already exists"
-msgstr "表單已存在"
-
-#: lib/RT/Queue_Overlay.pm:371 lib/RT/Queue_Overlay.pm:377
-msgid "Queue could not be created"
-msgstr "無法新增表單"
-
-#: html/Ticket/Create.html:239 lib/t/regression/01ticket_link_searching.t:17
-msgid "Queue could not be loaded."
-msgstr "無法載入表單"
-
-#: docs/design_docs/string-extraction-guide.txt:83 lib/RT/Queue_Overlay.pm:381 lib/RT/StyleGuide.pod:809
-msgid "Queue created"
-msgstr "表單新增完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "Queue is not specified."
-msgstr "未指定表單。"
-
-#: html/SelfService/Display.html:102 lib/RT/CustomField_Overlay.pm:192
-msgid "Queue not found"
-msgstr "找不到表單"
-
-#: html/Admin/Elements/Tabs:59 html/Admin/index.html:72
-msgid "Queues"
-msgstr "表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Quick Search"
-msgstr "表單現況"
-
-#: html/Elements/Quicksearch:46
-msgid "Quick search"
-msgstr "表單一覽"
-
-#: html/Elements/QuickCreate:46
-msgid "Quick ticket creation"
-msgstr "快速建立申請單"
-
-#: html/Search/Results.html:83
-msgid "RSS"
-msgstr "RSS"
-
-#: html/Elements/Login:66
-#. ($RT::VERSION)
-msgid "RT %1"
-msgstr "RT %1"
-
-#: docs/design_docs/string-extraction-guide.txt:70 lib/RT/StyleGuide.pod:796
-#. ($RT::VERSION, $RT::rtname)
-msgid "RT %1 for %2"
-msgstr "%2:RT %1 版"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1 from <a href=\"http://bestpractical.com\">Best Practical Solutions, LLC</a>."
-msgstr "RT %1 版,<a href=\"http://bestpractical.com\">Best Practical Solutions 公司</a>出品。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1。版權所有 1996-%1 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT %1. Copyright 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-msgstr "RT %1。版權所有 1996-2002 Jesse Vincent <jesse\\@bestpractical.com>\\n"
-
-#: html/Admin/index.html:46 html/Admin/index.html:47
-msgid "RT Administration"
-msgstr "RT 管理頁面"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Authentication error."
-msgstr "RT 認證錯誤。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Bounce: %1"
-msgstr "RT 退信:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Configuration error"
-msgstr "RT 設定錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Critical error. Message not recorded!"
-msgstr "RT 致命錯誤。訊息未被紀錄。"
-
-#: html/Elements/Error:65 html/SelfService/Error.html:62
-msgid "RT Error"
-msgstr "RT 錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Received mail (%1) from itself."
-msgstr "RT 收到從自己寄出的郵件 (%1)。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Recieved mail (%1) from itself."
-msgstr "RT 收到從自己寄出的郵件 (%1)。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT Self Service / Closed Tickets"
-msgstr "RT 自助服務/已解決的申請單"
-
-#: html/Admin/Tools/Configuration.html:73
-msgid "RT Variables"
-msgstr "RT 的變數"
-
-#: html/index.html:72 html/index.html:75
-msgid "RT at a glance"
-msgstr "RT 一覽"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't authenticate you"
-msgstr "RT 無法認證您的身份"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find requestor via its external database lookup"
-msgstr "RT 無法從外部資料庫查詢找到申請人資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't find the queue: %1"
-msgstr "RT 找不到表單:%1"
-
-#: html/Elements/SetupSessionCookie:90
-msgid "RT couldn't store your session."
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "RT couldn't validate this PGP signature. \\n"
-msgstr "RT 無法確認這個 PGP 簽章。\\n"
-
-#: html/Elements/PageLayout:108
-#. ($RT::rtname)
-msgid "RT for %1"
-msgstr "%1 專用流程系統"
-
-#: NOT FOUND IN SOURCE
-msgid "RT for %1: %2"
-msgstr "%1 專用 RT 系統:%2"
-
-#: NOT FOUND IN SOURCE
-msgid "RT has proccessed your commands"
-msgstr "RT 已執行您的命令"
-
-#: NOT FOUND IN SOURCE
-msgid "RT is &copy; Copyright 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;.  It is distributed under <a href=\"http://www.gnu.org/copyleft/gpl.html\">Version 2 of the GNU General Public License.</a>"
-msgstr "RT 版權所有 1996-%1 Jesse Vincent &lt;jesse@bestpractical.com&gt;。<br>本軟體依 <a href=\"http://www.gnu.org/copyleft/gpl.html\">GNU 通用公共授權第二版</a> 散佈。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT thinks this message may be a bounce"
-msgstr "RT 認為這可能是退信"
-
-#: NOT FOUND IN SOURCE
-msgid "RT will process this message as if it were unsigned.\\n"
-msgstr "RT 以未簽章方式處理這封郵件。\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "RT's email command mode requires PGP authentication.  Either you didn't sign your message, or your signature could not be verified."
-msgstr "RT 的電子郵件命令模式須要 PGP 認證。您可能沒有簽章,或是您的簽章無法辨識。"
-
-#: NOT FOUND IN SOURCE
-msgid "RT::Queue-Role"
-msgstr "表單運行角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RT::System-Role"
-msgstr "系統運行角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RT::Ticket-Role"
-msgstr "申請單運行角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RT_System"
-msgstr "系統訊息"
-
-#: NOT FOUND IN SOURCE
-msgid "Read Only"
-msgstr "唯讀"
-
-#: html/Admin/Users/Modify.html:79 html/User/Prefs.html:69
-msgid "Real Name"
-msgstr "真實姓名"
-
-#: NOT FOUND IN SOURCE
-msgid "RealName"
-msgstr "真實姓名"
-
-#: NOT FOUND IN SOURCE
-msgid "Really reject this ticket?"
-msgstr "您確定要駁回這張申請單嗎?"
-
-#: lib/RT/Transaction_Overlay.pm:714
-#. ($value)
-msgid "Reference by %1 added"
-msgstr "已加入 %1 為參考本申請單"
-
-#: lib/RT/Transaction_Overlay.pm:754
-#. ($value)
-msgid "Reference by %1 deleted"
-msgstr "已移除 %1 為參考本申請單"
-
-#: lib/RT/Transaction_Overlay.pm:711
-#. ($value)
-msgid "Reference to %1 added"
-msgstr "已加入參考申請單 %1"
-
-#: lib/RT/Transaction_Overlay.pm:751
-#. ($value)
-msgid "Reference to %1 deleted"
-msgstr "已移除參考申請單 %1"
-
-#: html/Elements/EditLinks:103 html/Elements/EditLinks:154 html/Elements/ShowLinks:92 html/Ticket/Create.html:216 html/Ticket/Elements/BulkLinks:72
-msgid "Referred to by"
-msgstr "被參考"
-
-#: html/Elements/EditLinks:150 html/Elements/EditLinks:94 html/Elements/SelectLinkType:49 html/Elements/ShowLinks:82 html/Ticket/Create.html:215 html/Ticket/Elements/BulkLinks:68
-msgid "Refers to"
-msgstr "參考"
-
-#: NOT FOUND IN SOURCE
-msgid "RefersTo"
-msgstr "參考"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine"
-msgstr "在結果範圍內查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Refine search"
-msgstr "調整查詢條件"
-
-#: NOT FOUND IN SOURCE
-msgid "Refresh"
-msgstr "更新"
-
-#: html/Elements/Refresh:57
-#. ($value/60)
-msgid "Refresh this page every %1 minutes."
-msgstr "每 %1 分鐘更新頁面"
-
-#: NOT FOUND IN SOURCE
-msgid "Remove"
-msgstr "移除"
-
-#: html/Search/Bulk.html:116
-msgid "Remove AdminCc"
-msgstr "移除管理員副本"
-
-#: html/Search/Bulk.html:112
-msgid "Remove Cc"
-msgstr "移除副本"
-
-#: html/Search/Bulk.html:108
-msgid "Remove Requestor"
-msgstr "移除申請人"
-
-#: html/Ticket/Elements/ShowTransaction:171 html/Ticket/Elements/Tabs:145
-msgid "Reply"
-msgstr "回覆"
-
-#: html/Admin/Queues/Modify.html:72
-msgid "Reply Address"
-msgstr "回覆地址"
-
-#: html/Search/Bulk.html:151 html/Ticket/ModifyAll.html:94 html/Ticket/Update.html:76
-msgid "Reply to requestors"
-msgstr "回覆申請人"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "Reply to tickets"
-msgstr "對申請單進行回覆"
-
-#: lib/RT/Queue_Overlay.pm:111
-msgid "ReplyToTicket"
-msgstr "回覆申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Report to Duty"
-msgstr "上下班刷卡"
-
-#: NOT FOUND IN SOURCE
-msgid "Reported on"
-msgstr "到職日期"
-
-#: etc/initialdata:44 lib/RT/ACE_Overlay.pm:112
-msgid "Requestor"
-msgstr "申請人"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor email address"
-msgstr "申請人電子郵件信箱位址"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor's"
-msgstr "申請人所屬之第上"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor's Dept."
-msgstr "申請人所屬部門之"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor's Phone"
-msgstr "申請人電話"
-
-#: NOT FOUND IN SOURCE
-msgid "Requestor(s)"
-msgstr "申請人"
-
-#: NOT FOUND IN SOURCE
-msgid "RequestorAddresses"
-msgstr "申請人地址"
-
-#: html/SelfService/Create.html:63 html/Ticket/Create.html:77 html/Ticket/Elements/EditPeople:69 html/Ticket/Elements/ShowPeople:52
-msgid "Requestors"
-msgstr "申請人"
-
-#: html/Admin/Queues/Modify.html:96
-msgid "Requests should be due in"
-msgstr "申請單處理期限"
-
-#: lib/RT/Attribute_Overlay.pm:146
-#. ('Object')
-msgid "Required parameter '%1' not specified"
-msgstr "未指定必要的參數「%1」"
-
-#: html/Elements/Submit:104
-msgid "Reset"
-msgstr "重設"
-
-#: html/Admin/Users/Modify.html:183 html/User/Prefs.html:85
-msgid "Residence"
-msgstr "住處"
-
-#: NOT FOUND IN SOURCE
-msgid "Resolution"
-msgstr "解決狀態"
-
-#: html/Ticket/Elements/Tabs:155
-msgid "Resolve"
-msgstr "解決"
-
-#: html/Ticket/Update.html:154
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Resolve ticket #%1 (%2)"
-msgstr "解決申請單 #%1 (%2)"
-
-#: etc/initialdata:323 html/Elements/SelectDateType:49 lib/RT/Ticket_Overlay.pm:1148
-msgid "Resolved"
-msgstr "已解決"
-
-#: NOT FOUND IN SOURCE
-msgid "Response to requestors"
-msgstr "回覆申請人"
-
-#: NOT FOUND IN SOURCE
-msgid "Responsibility Type"
-msgstr "責任區分"
-
-#: html/Elements/ListActions:47 html/Search/Elements/NewListActions:47
-msgid "Results"
-msgstr "結果"
-
-#: NOT FOUND IN SOURCE
-msgid "Results per page"
-msgstr "每頁列出幾筆結果"
-
-#: html/Admin/Users/Modify.html:126 html/User/Prefs.html:116
-msgid "Retype Password"
-msgstr "再次輸入密碼"
-
-#: html/Search/Elements/EditSearches:61
-msgid "Revert"
-msgstr "復原"
-
-#: NOT FOUND IN SOURCE
-msgid "Right %1 not found for %2  %3 in scope %4 (%5)\\n"
-msgstr "在 %4 (%5) 的範圍內找不到 %2 %3 的 %1 權限\\n"
-
-#: lib/RT/ACE_Overlay.pm:631
-msgid "Right Delegated"
-msgstr "權限代理完畢"
-
-#: lib/RT/ACE_Overlay.pm:321
-msgid "Right Granted"
-msgstr "權限設定完畢"
-
-#: lib/RT/ACE_Overlay.pm:179
-msgid "Right Loaded"
-msgstr "權限載入完畢"
-
-#: lib/RT/ACE_Overlay.pm:696 lib/RT/ACE_Overlay.pm:717
-msgid "Right could not be revoked"
-msgstr "無法撤消權限"
-
-#: html/User/Delegation.html:85
-msgid "Right not found"
-msgstr "找不到權限"
-
-#: lib/RT/ACE_Overlay.pm:561 lib/RT/ACE_Overlay.pm:656
-msgid "Right not loaded."
-msgstr "權限並未載入。"
-
-#: lib/RT/ACE_Overlay.pm:713
-msgid "Right revoked"
-msgstr "權限撤消完畢"
-
-#: html/Admin/Elements/UserTabs:67
-msgid "Rights"
-msgstr "權限及代理人"
-
-#: html/Admin/CustomFields/GroupRights.html:129 lib/RT/Interface/Web.pm:901
-#. ($object_type)
-msgid "Rights could not be granted for %1"
-msgstr "無法將權限賦予 %1"
-
-#: html/Admin/CustomFields/GroupRights.html:156 lib/RT/Interface/Web.pm:930
-#. ($object_type)
-msgid "Rights could not be revoked for %1"
-msgstr "無法撤消 %1 的權限"
-
-#: NOT FOUND IN SOURCE
-msgid "Role Members"
-msgstr "角色成員"
-
-#: NOT FOUND IN SOURCE
-msgid "Role Name"
-msgstr "角色名稱"
-
-#: html/Admin/Global/GroupRights.html:72 html/Admin/Queues/GroupRights.html:74
-msgid "Roles"
-msgstr "角色"
-
-#: NOT FOUND IN SOURCE
-msgid "RootApproval"
-msgstr "交由系統管理員簽核"
-
-#: html/Search/Elements/DisplayOptions:83
-msgid "Rows per page"
-msgstr "每頁筆數"
-
-#: NOT FOUND IN SOURCE
-msgid "Run Approval"
-msgstr "簽核執行"
-
-#: NOT FOUND IN SOURCE
-msgid "SMTPDebug"
-msgstr "SMTP 偵錯紀錄"
-
-#: NOT FOUND IN SOURCE
-msgid "SMTPFrom"
-msgstr "SMTP 寄件位址"
-
-#: NOT FOUND IN SOURCE
-msgid "SMTPServer"
-msgstr "SMTP 伺服器"
-
-#: NOT FOUND IN SOURCE
-msgid "Sat"
-msgstr "星期六"
-
-#: lib/RT/Date.pm:418
-msgid "Sat."
-msgstr "星期六"
-
-#: html/Search/Elements/EditSearches:70
-msgid "Save"
-msgstr "儲存"
-
-#: html/Admin/Global/Template.html:67 html/Admin/Groups/Modify.html:88 html/Admin/Queues/Modify.html:111 html/Admin/Queues/People.html:126 html/Admin/Users/Modify.html:238 html/SelfService/Prefs.html:58 html/Ticket/Modify.html:60 html/Ticket/ModifyAll.html:127 html/Ticket/ModifyDates.html:60 html/Ticket/ModifyLinks.html:60 html/Ticket/ModifyPeople.html:59 html/User/Groups/Modify.html:77
-msgid "Save Changes"
-msgstr "儲存更改"
-
-#: html/User/Prefs.html:179
-msgid "Save Preferences"
-msgstr "儲存偏好"
-
-#: html/Ticket/Elements/PreviewScrips:124
-msgid "Save changes"
-msgstr "儲存更改"
-
-#: lib/RT/SavedSearch.pm:162
-#. ($name)
-msgid "Saved search %1"
-msgstr ""
-
-#: html/Search/Elements/EditSearches:46
-msgid "Saved searches"
-msgstr "已儲存的查詢"
-
-#: html/Admin/Elements/ListGlobalScrips:61 html/Admin/Global/Scrip.html:70 html/Admin/Queues/Scrip.html:76
-#. ($scrip->Id)
-#. ($id)
-#. ($ARGS{'id'})
-msgid "Scrip #%1"
-msgstr "手續 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrip Action"
-msgstr "訊息通知動作"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrip Condition"
-msgstr "訊息通知條件"
-
-#: lib/RT/Scrip_Overlay.pm:205
-msgid "Scrip Created"
-msgstr "手續新增完畢"
-
-#: html/Admin/Elements/EditScrip:52
-msgid "Scrip Fields"
-msgstr "手續欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrip Name"
-msgstr "訊息名稱"
-
-#: html/Admin/Elements/EditScrips:107
-msgid "Scrip deleted"
-msgstr "手續刪除完畢"
-
-#: html/Admin/Elements/QueueTabs:67 html/Admin/Elements/SystemTabs:54 html/Admin/Global/index.html:62
-msgid "Scrips"
-msgstr "手續"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips "
-msgstr "訊息通知"
-
-#: NOT FOUND IN SOURCE
-msgid "Scrips for %1\\n"
-msgstr "%1 的手續\\n"
-
-#: html/Admin/Queues/Scrips.html:55
-msgid "Scrips which apply to all queues"
-msgstr "適用於所有表單的手續"
-
-#: html/Elements/SimpleSearch:48 html/Search/Build.html:112
-msgid "Search"
-msgstr "查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Search Criteria"
-msgstr "查詢條件"
-
-#: lib/RT/SavedSearch.pm:116
-msgid "Search attribute load failure"
-msgstr ""
-
-#: html/Approvals/Elements/PendingMyApproval:60
-msgid "Search for approvals"
-msgstr "簽核單查詢"
-
-#: lib/RT/SavedSearch.pm:194
-#. ($msg)
-msgid "Search update: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Searches can't be associated with that kind of object"
-msgstr "不能對此類物件進行查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Second-"
-msgstr "二"
-
-#: NOT FOUND IN SOURCE
-msgid "Second-level Users"
-msgstr "二階主管員工"
-
-#: bin/rt-crontool:213
-msgid "Security:"
-msgstr "安全性:"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "See custom fields"
-msgstr "查閱自訂欄位"
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "See exact outgoing email messages and their recipeients"
-msgstr "查閱送出的電子郵件及收件人"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "See ticket private commentary"
-msgstr "查閱申請單內的私人評論"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "See ticket summaries"
-msgstr "查閱申請單總覽"
-
-#: lib/RT/CustomField_Overlay.pm:100
-msgid "SeeCustomField"
-msgstr "查閱自訂欄位"
-
-#: lib/RT/Group_Overlay.pm:177
-msgid "SeeGroup"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:92
-msgid "SeeQueue"
-msgstr "查閱表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Select"
-msgstr "選擇"
-
-#: NOT FOUND IN SOURCE
-msgid "Select All"
-msgstr "全選"
-
-#: html/Admin/CustomFields/index.html:46 html/Admin/CustomFields/index.html:49
-msgid "Select a Custom Field"
-msgstr "選擇自訂欄位"
-
-#: html/Admin/Groups/index.html:78
-msgid "Select a group"
-msgstr "選擇群組"
-
-#: html/Admin/Queues/index.html:54
-msgid "Select a queue"
-msgstr "選擇表單"
-
-#: html/SelfService/CreateTicketInQueue.html:48
-msgid "Select a queue for your new ticket"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Select a queue to link to"
-msgstr "請選擇欲連結表單"
-
-#: html/Admin/Users/index.html:46 html/Admin/Users/index.html:49 html/Admin/Users/index.html:52
-msgid "Select a user"
-msgstr "選擇使用者"
-
-#: html/Admin/Elements/CustomFieldTabs:90
-msgid "Select custom field"
-msgstr "選擇自訂欄位"
-
-#: html/Admin/Global/CustomFields/index.html:70
-msgid "Select custom fields for all user groups"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:65
-msgid "Select custom fields for all users"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:76
-msgid "Select custom fields for tickets in all queues"
-msgstr ""
-
-#: html/Admin/Global/CustomFields/index.html:83
-msgid "Select custom fields for transactions on tickets in all queues"
-msgstr ""
-
-#: html/Admin/Elements/GroupTabs:75 html/User/Elements/GroupTabs:71
-msgid "Select group"
-msgstr "選擇群組"
-
-#: lib/RT/CustomField_Overlay.pm:59
-msgid "Select multiple values"
-msgstr "選擇多重項目"
-
-#: lib/RT/CustomField_Overlay.pm:60
-msgid "Select one value"
-msgstr "選擇單一項目"
-
-#: html/Admin/Elements/QueueTabs:92
-msgid "Select queue"
-msgstr "選擇表單"
-
-#: html/Admin/Global/Scrip.html:58 html/Admin/Global/Scrips.html:57 html/Admin/Queues/Scrip.html:61 html/Admin/Queues/Scrips.html:73
-msgid "Select scrip"
-msgstr "選擇手續"
-
-#: html/Admin/Global/Template.html:78 html/Admin/Global/Templates.html:57 html/Admin/Queues/Template.html:76 html/Admin/Queues/Templates.html:68
-msgid "Select template"
-msgstr "選擇範本"
-
-#: lib/RT/CustomField_Overlay.pm:61
-msgid "Select up to %1 values"
-msgstr "選擇最多 %1 個值"
-
-#: html/Admin/Elements/UserTabs:75
-msgid "Select user"
-msgstr "選擇使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Select workflow"
-msgstr "選擇流程"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectExternal"
-msgstr "系統選項"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectMultiple"
-msgstr "多重選項"
-
-#: NOT FOUND IN SOURCE
-msgid "SelectSingle"
-msgstr "單一選項"
-
-#: html/Admin/Elements/EditCustomFields:58
-msgid "Selected Custom Fields"
-msgstr "已選取的自訂欄位"
-
-#: html/Admin/CustomFields/Objects.html:59
-msgid "Selected objects"
-msgstr "已選取的物件"
-
-#: NOT FOUND IN SOURCE
-msgid "Selected users:"
-msgstr "新增對象:"
-
-#: NOT FOUND IN SOURCE
-msgid "Self Service"
-msgstr "自助服務"
-
-#: etc/initialdata:121
-msgid "Send mail to all watchers"
-msgstr "寄信給所有視察員"
-
-#: etc/initialdata:117
-msgid "Send mail to all watchers as a \"comment\""
-msgstr "以評論方式寄信給所有視察員"
-
-#: etc/initialdata:112
-msgid "Send mail to requestors and Ccs"
-msgstr "寄信給申請人及副本收件人"
-
-#: etc/initialdata:107
-msgid "Send mail to requestors and Ccs as a comment"
-msgstr "以評論方式寄信給申請人及副本收件人"
-
-#: etc/initialdata:78
-msgid "Sends a message to the requestors"
-msgstr "寄信給申請人"
-
-#: etc/initialdata:125 etc/initialdata:129
-msgid "Sends mail to explicitly listed Ccs and Bccs"
-msgstr "寄信給特定的副本及密件副本收件人"
-
-#: etc/initialdata:94 etc/upgrade/3.1.17/content:7
-msgid "Sends mail to the Ccs"
-msgstr "寄信給副本收件人"
-
-#: etc/initialdata:90 etc/upgrade/3.1.17/content:3
-msgid "Sends mail to the Ccs as a comment"
-msgstr "以評論方式寄信給副本收件人"
-
-#: etc/initialdata:102
-msgid "Sends mail to the administrative Ccs"
-msgstr "寄信給管理員副本收件人"
-
-#: etc/initialdata:98
-msgid "Sends mail to the administrative Ccs as a comment"
-msgstr "以評論寄信給管理員副本收件人"
-
-#: etc/initialdata:82 etc/initialdata:86
-msgid "Sends mail to the owner"
-msgstr "寄信給申請人"
-
-#: NOT FOUND IN SOURCE
-msgid "Sep"
-msgstr "九月"
-
-#: lib/RT/Date.pm:445
-msgid "Sep."
-msgstr "09"
-
-#: NOT FOUND IN SOURCE
-msgid "September"
-msgstr "九月"
-
-#: NOT FOUND IN SOURCE
-msgid "Setting %1's 'Disabled' property to %2"
-msgstr "%1 的「停用」屬性已設為 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Shift Type"
-msgstr "班別屬性"
-
-#: html/Ticket/Elements/ShowTransaction:150
-msgid "Show"
-msgstr "顯示"
-
-#: html/Approvals/index.html:52
-msgid "Show Approvals"
-msgstr "顯示待簽核申請單"
-
-#: html/Search/Elements/EditFormat:56
-msgid "Show Columns"
-msgstr "顯示欄位"
-
-#: html/Ticket/Elements/Tabs:201
-msgid "Show Results"
-msgstr "顯示結果"
-
-#: html/Approvals/Elements/PendingMyApproval:65
-msgid "Show approved requests"
-msgstr "顯示已批准的簽核單"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show basics"
-msgstr "顯示基本資訊"
-
-#: html/Approvals/Elements/PendingMyApproval:66
-msgid "Show denied requests"
-msgstr "顯示已駁回的簽核單"
-
-#: html/Ticket/Create.html:174 html/Ticket/Create.html:55
-msgid "Show details"
-msgstr "顯示細節"
-
-#: html/Approvals/Elements/PendingMyApproval:64
-msgid "Show pending requests"
-msgstr "顯示待處理的簽核單"
-
-#: html/Approvals/Elements/PendingMyApproval:67
-msgid "Show requests awaiting other approvals"
-msgstr "顯示尚待他人批准的簽核單"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket private commentary"
-msgstr "顯示申請單內的私人評論"
-
-#: NOT FOUND IN SOURCE
-msgid "Show ticket summaries"
-msgstr "顯示申請單摘要"
-
-#: lib/RT/Queue_Overlay.pm:94
-msgid "ShowACL"
-msgstr "顯示權限清單"
-
-#: lib/RT/System.pm:86
-msgid "ShowConfigTab"
-msgstr ""
-
-#: lib/RT/Queue_Overlay.pm:107
-msgid "ShowOutgoingEmail"
-msgstr "顯示寄送郵件"
-
-#: lib/RT/Group_Overlay.pm:176
-msgid "ShowSavedSearches"
-msgstr "顯示已儲存的查詢"
-
-#: lib/RT/Queue_Overlay.pm:103
-msgid "ShowScrips"
-msgstr "顯示手續"
-
-#: lib/RT/Queue_Overlay.pm:100
-msgid "ShowTemplate"
-msgstr "顯示範本"
-
-#: lib/RT/Queue_Overlay.pm:104
-msgid "ShowTicket"
-msgstr "顯示申請單"
-
-#: lib/RT/Queue_Overlay.pm:105
-msgid "ShowTicketComments"
-msgstr "顯示申請單的評論"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Sign up as a ticket Requestor or ticket or queue Cc"
-msgstr "登記成為申請人或副本收件人"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "Sign up as a ticket or queue AdminCc"
-msgstr "登記成為管理員副本收件人"
-
-#: html/Admin/Users/Modify.html:229 html/User/Prefs.html:167
-msgid "Signature"
-msgstr "簽名檔"
-
-#: NOT FOUND IN SOURCE
-msgid "Signed in as %1"
-msgstr "使用者:%1"
-
-#: html/Admin/Elements/SelectSingleOrMultiple:47
-msgid "Single"
-msgstr "單一"
-
-#: html/Search/Elements/EditFormat:75
-msgid "Size"
-msgstr ""
-
-#: html/Elements/Header:85
-msgid "Skip Menu"
-msgstr "略過選單"
-
-#: html/Search/Elements/EditFormat:78
-msgid "Small"
-msgstr ""
-
-#: html/Admin/Elements/AddCustomFieldValue:49 html/Admin/Elements/EditCustomFieldValues:54
-msgid "Sort"
-msgstr "順序"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort key"
-msgstr "排序方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Sort results by"
-msgstr "結果排序方式"
-
-#: NOT FOUND IN SOURCE
-msgid "SortOrder"
-msgstr "排序順序"
-
-#: html/Admin/Elements/EditScrip:87
-msgid "Stage"
-msgstr "關卡"
-
-#: NOT FOUND IN SOURCE
-msgid "Stage Action"
-msgstr "關卡運行動作"
-
-#: NOT FOUND IN SOURCE
-msgid "Stage Condition"
-msgstr "關卡運行條件"
-
-#: NOT FOUND IN SOURCE
-msgid "Stalled"
-msgstr "延宕"
-
-#: NOT FOUND IN SOURCE
-msgid "Start page"
-msgstr "首頁"
-
-#: html/Elements/SelectDateType:48 html/Ticket/Elements/EditDates:53 html/Ticket/Elements/ShowDates:56
-msgid "Started"
-msgstr "實際起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Started date '%1' could not be parsed"
-msgstr "無法解讀起始日期 '%1"
-
-#: html/Elements/SelectDateType:52 html/Ticket/Create.html:196 html/Ticket/Elements/EditDates:48 html/Ticket/Elements/ShowDates:52
-msgid "Starts"
-msgstr "應起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts By"
-msgstr "應起始日"
-
-#: NOT FOUND IN SOURCE
-msgid "Starts date '%1' could not be parsed"
-msgstr "無法解讀起始日期 '%1"
-
-#: html/Admin/Users/Modify.html:162 html/User/Prefs.html:145
-msgid "State"
-msgstr "州"
-
-#: html/Search/Elements/PickBasics:87 html/SelfService/Elements/MyRequests:50 html/SelfService/Update.html:57 html/Ticket/Create.html:63 html/Ticket/Elements/EditBasics:53 html/Ticket/Elements/ShowBasics:52 html/Ticket/Update.html:59 lib/RT/Ticket_Overlay.pm:1142 lib/RT/Tickets_Overlay.pm:1378
-msgid "Status"
-msgstr "現況"
-
-#: etc/initialdata:309
-msgid "Status Change"
-msgstr "現況改變時"
-
-#: NOT FOUND IN SOURCE
-msgid "Status changed from %1 to %2"
-msgstr "現況從 %1 改為 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "StatusChange"
-msgstr "現況改變時"
-
-#: html/Ticket/Elements/Tabs:170
-msgid "Steal"
-msgstr "強制更換承辦人"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "Steal tickets"
-msgstr "強制承辦申請單"
-
-#: lib/RT/Queue_Overlay.pm:118
-msgid "StealTicket"
-msgstr "強制承辦申請單"
-
-#: lib/RT/Transaction_Overlay.pm:667
-#. ($Old->Name)
-msgid "Stolen from %1"
-msgstr "承辦人從 %1 強制更換"
-
-#: NOT FOUND IN SOURCE
-msgid "Stolen from %1 "
-msgstr "承辦人從 %1 強制更換 "
-
-#: html/Search/Elements/EditFormat:81
-msgid "Style"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "Subgroup"
-msgstr "子群組"
-
-#: html/Elements/QuickCreate:52 html/Elements/SelectAttachmentField:47 html/Search/Bulk.html:154 html/SelfService/Create.html:79 html/SelfService/Elements/MyRequests:49 html/SelfService/Update.html:65 html/Ticket/Create.html:105 html/Ticket/Elements/EditBasics:48 html/Ticket/ModifyAll.html:100 html/Ticket/Update.html:80 lib/RT/Ticket_Overlay.pm:1138 lib/RT/Tickets_Overlay.pm:1460
-msgid "Subject"
-msgstr "主題"
-
-#: docs/design_docs/string-extraction-guide.txt:89 lib/RT/StyleGuide.pod:815 lib/RT/Transaction_Overlay.pm:689
-#. ($self->Data)
-msgid "Subject changed to %1"
-msgstr "標題已改為 %1"
-
-#: html/Elements/Submit:97
-msgid "Submit"
-msgstr "送出"
-
-#: NOT FOUND IN SOURCE
-msgid "Submit Workflow"
-msgstr "送出流程"
-
-#: lib/RT/Group_Overlay.pm:782
-msgid "Succeeded"
-msgstr "設定成功"
-
-#: NOT FOUND IN SOURCE
-msgid "Sun"
-msgstr "星期日"
-
-#: lib/RT/Date.pm:419
-msgid "Sun."
-msgstr "星期日"
-
-#: lib/RT/System.pm:76
-msgid "SuperUser"
-msgstr "系統管理員"
-
-#: NOT FOUND IN SOURCE
-msgid "Sync now"
-msgstr "執行同步"
-
-#: NOT FOUND IN SOURCE
-msgid "Sync104HRMS"
-msgstr "自動同步104HRMS"
-
-#: NOT FOUND IN SOURCE
-msgid "Synchronizing HRMS data.  This may take a while..."
-msgstr "正在同步化 HRMS 人事系統資料。請稍待..."
-
-#: html/User/Elements/DelegateRights:98
-msgid "System"
-msgstr "系統"
-
-#: html/Admin/Elements/ToolTabs:54 html/Admin/Tools/Configuration.html:48
-msgid "System Configuration"
-msgstr "系統設定"
-
-#: NOT FOUND IN SOURCE
-msgid "System Defined"
-msgstr "系統定義"
-
-#: html/Admin/CustomFields/GroupRights.html:128 html/Admin/CustomFields/GroupRights.html:155 html/Admin/CustomFields/UserRights.html:128 html/Admin/CustomFields/UserRights.html:98 html/Admin/Elements/SelectRights:106 lib/RT/ACE_Overlay.pm:585 lib/RT/Interface/Web.pm:900 lib/RT/Interface/Web.pm:929
-msgid "System Error"
-msgstr "系統錯誤"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. Right not granted."
-msgstr "系統錯誤。設定權限失敗。"
-
-#: NOT FOUND IN SOURCE
-msgid "System Error. right not granted"
-msgstr "系統錯誤。設定權限失敗。"
-
-#: lib/RT/Transaction_Overlay.pm:215 lib/RT/Transaction_Overlay.pm:221
-#. ($msg)
-msgid "System Error: %1"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "System Rights"
-msgstr "系統權限"
-
-#: html/Admin/Tools/index.html:47
-msgid "System Tools"
-msgstr "系統工具"
-
-#: lib/RT/ACE_Overlay.pm:634
-msgid "System error. Right not delegated."
-msgstr "系統錯誤。權限代理失敗。"
-
-#: lib/RT/ACE_Overlay.pm:164 lib/RT/ACE_Overlay.pm:229 lib/RT/ACE_Overlay.pm:324 lib/RT/ACE_Overlay.pm:921
-msgid "System error. Right not granted."
-msgstr "系統錯誤。設定權限失敗。"
-
-#: NOT FOUND IN SOURCE
-msgid "System error. Unable to grant rights."
-msgstr "系統錯誤。無法設定權限。"
-
-#: html/Admin/CustomFields/GroupRights.html:58 html/Admin/Global/GroupRights.html:56 html/Admin/Groups/GroupRights.html:58 html/Admin/Queues/GroupRights.html:57
-msgid "System groups"
-msgstr "系統群組"
-
-#: NOT FOUND IN SOURCE
-msgid "SystemInternal"
-msgstr "系統內部用"
-
-#: etc/initialdata:41 etc/initialdata:47 etc/initialdata:53
-msgid "SystemRolegroup for internal use"
-msgstr "內部使用的系統角色群組"
-
-#: lib/RT/CurrentUser.pm:358
-msgid "TEST_STRING"
-msgstr "TEST_STRING"
-
-#: NOT FOUND IN SOURCE
-msgid "TabbedUI"
-msgstr "頁籤介面"
-
-#: html/Elements/MyRequests:50 html/Search/Elements/EditFormat:72 html/Ticket/Elements/Tabs:166
-msgid "Take"
-msgstr "受理"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "Take tickets"
-msgstr "自行承辦申請單"
-
-#: lib/RT/Queue_Overlay.pm:116
-msgid "TakeTicket"
-msgstr "自行承辦申請單"
-
-#: lib/RT/Transaction_Overlay.pm:652
-msgid "Taken"
-msgstr "已受理"
-
-#: NOT FOUND IN SOURCE
-msgid "Task"
-msgstr "工作事項"
-
-#: html/Admin/Elements/EditScrip:79 html/Tools/Offline.html:78
-msgid "Template"
-msgstr "範本"
-
-#: html/Admin/Global/Template.html:112 html/Admin/Queues/Template.html:113
-#. ($TemplateObj->Id())
-msgid "Template #%1"
-msgstr "範本 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Template Content"
-msgstr "通知範本內容"
-
-#: NOT FOUND IN SOURCE
-msgid "Template Description"
-msgstr "通知範本描述"
-
-#: NOT FOUND IN SOURCE
-msgid "Template Name"
-msgstr "通知範本名稱"
-
-#: html/Admin/Elements/EditTemplates:110
-msgid "Template deleted"
-msgstr "範本已刪除"
-
-#: lib/RT/Scrip_Overlay.pm:181
-msgid "Template not found"
-msgstr "找不到範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Template not found\\n"
-msgstr "找不到範本\\n"
-
-#: lib/RT/Template_Overlay.pm:376
-msgid "Template parsed"
-msgstr "範本剖析完畢"
-
-#: html/Admin/Elements/QueueTabs:70 html/Admin/Elements/SystemTabs:57 html/Admin/Global/index.html:66
-msgid "Templates"
-msgstr "範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates "
-msgstr "通知範本"
-
-#: NOT FOUND IN SOURCE
-msgid "Templates for %1\\n"
-msgstr "找不到 %1 的範本\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "Text"
-msgstr "文字"
-
-#: lib/RT/CustomField_Overlay.pm:877 lib/RT/Record.pm:931
-msgid "That is already the current value"
-msgstr "已經是目前欄位的值"
-
-#: lib/RT/CustomField_Overlay.pm:407
-msgid "That is not a value for this custom field"
-msgstr "這不是該自訂欄位的值"
-
-#: lib/RT/Ticket_Overlay.pm:1955
-msgid "That is the same value"
-msgstr "同樣的值"
-
-#: lib/RT/ACE_Overlay.pm:306 lib/RT/ACE_Overlay.pm:615
-msgid "That principal already has that right"
-msgstr "這項單位已經擁有該權限"
-
-#: lib/RT/Queue_Overlay.pm:750
-#. ($args{'Type'})
-msgid "That principal is already a %1 for this queue"
-msgstr "這項單位已經是這個表單的 %1"
-
-#: lib/RT/Ticket_Overlay.pm:1396
-#. ($self->loc($args{'Type'}))
-msgid "That principal is already a %1 for this ticket"
-msgstr "這項單位已經是這份申請單的 %1"
-
-#: lib/RT/Queue_Overlay.pm:849
-#. ($args{'Type'})
-msgid "That principal is not a %1 for this queue"
-msgstr "這項單位不是這個表單的 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "That principal is not a %1 for this ticket"
-msgstr "這項單位不是這份申請單的 %1"
-
-#: lib/RT/Ticket_Overlay.pm:1951
-msgid "That queue does not exist"
-msgstr "此表單不存在"
-
-#: lib/RT/Ticket_Overlay.pm:3189
-msgid "That ticket has unresolved dependencies"
-msgstr "這份申請單有尚未解決的附屬申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "That user already has that right"
-msgstr "使用者已具有該項權限"
-
-#: lib/RT/Ticket_Overlay.pm:2993
-msgid "That user already owns that ticket"
-msgstr "該使用者已經承辦這份申請單"
-
-#: lib/RT/Ticket_Overlay.pm:2965
-msgid "That user does not exist"
-msgstr "使用者不存在"
-
-#: lib/RT/User_Overlay.pm:390
-msgid "That user is already privileged"
-msgstr "這名使用者已經是內部成員"
-
-#: lib/RT/User_Overlay.pm:411
-msgid "That user is already unprivileged"
-msgstr "這名使用者屬於非內部成員群組"
-
-#: lib/RT/User_Overlay.pm:403
-msgid "That user is now privileged"
-msgstr "使用者加入內部成員群組完畢"
-
-#: lib/RT/User_Overlay.pm:424
-msgid "That user is now unprivileged"
-msgstr "這名使用者已加入非內部成員群組"
-
-#: NOT FOUND IN SOURCE
-msgid "That user is now unprivilegedileged"
-msgstr "這名使用者已加入非內部成員群組"
-
-#: lib/RT/Ticket_Overlay.pm:2986
-msgid "That user may not own tickets in that queue"
-msgstr "使用者可能沒有承辦表單裡的申請單"
-
-#: lib/RT/Link_Overlay.pm:234
-msgid "That's not a numerical id"
-msgstr "這不是一個數字編號"
-
-#: html/SelfService/Display.html:53 html/Ticket/Create.html:180 html/Ticket/Elements/ShowSummary:49
-msgid "The Basics"
-msgstr "基本資訊"
-
-#: lib/RT/ACE_Overlay.pm:113
-msgid "The CC of a ticket"
-msgstr "申請單的副本收件人"
-
-#: lib/RT/ACE_Overlay.pm:114
-msgid "The administrative CC of a ticket"
-msgstr "申請單的管理員副本收件人"
-
-#: NOT FOUND IN SOURCE
-msgid "The comment has been recorded"
-msgstr "評論已被紀錄"
-
-#: bin/rt-crontool:223
-msgid "The following command will find all active tickets in the queue 'general' and set their priority to 99 if they haven't been touched in 4 hours:"
-msgstr "下列命令會找到 'general' 表單內所有運作中的申請單,並將其中 4 小時內未處理的申請單優先程度設為 99:"
-
-#: NOT FOUND IN SOURCE
-msgid "The following commands were not proccessed:\\n\\n"
-msgstr "以下命令未被執行:\\n\\n"
-
-#: lib/RT/Record.pm:934
-msgid "The new value has been set."
-msgstr "新的欄位值設定完成。"
-
-#: lib/RT/ACE_Overlay.pm:111
-msgid "The owner of a ticket"
-msgstr "申請單的承辦人"
-
-#: lib/RT/ACE_Overlay.pm:112
-msgid "The requestor of a ticket"
-msgstr "申請單的申請人"
-
-#: html/Admin/Elements/EditUserComments:47
-msgid "These comments aren't generally visible to the user"
-msgstr "該使用者不會看見這些評論"
-
-#: NOT FOUND IN SOURCE
-msgid "Third-"
-msgstr "三"
-
-#: lib/RT/CustomField_Overlay.pm:912
-msgid "This custom field does not apply to that object"
-msgstr "此自訂欄位不適用於該物件"
-
-#: html/Admin/Tools/Configuration.html:50
-msgid "This feature is only available to system administrators"
-msgstr "此項功能僅限系統管理員使用"
-
-#: html/Ticket/Elements/PreviewScrips:93
-msgid "This message will be sent to..."
-msgstr "此訊息會寄給..."
-
-#: NOT FOUND IN SOURCE
-msgid "This ticket %1 %2 (%3)\\n"
-msgstr "申請單 %1 %2 (%3)\\n"
-
-#: bin/rt-crontool:214
-msgid "This tool allows the user to run arbitrary perl modules from within RT."
-msgstr "此工具程式會讓使用者經由 RT 執行任意命令。"
-
-#: lib/RT/Transaction_Overlay.pm:288
-msgid "This transaction appears to have no content"
-msgstr "此項更動報告沒有內容"
-
-#: html/Ticket/Elements/ShowRequestor:70
-#. ($rows)
-msgid "This user's %1 highest priority tickets"
-msgstr "使用者送出的前 %1 份優先處理申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "This user's 25 highest priority tickets"
-msgstr "使用者送出的前 25 份優先處理申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Thu"
-msgstr "星期四"
-
-#: lib/RT/Date.pm:416
-msgid "Thu."
-msgstr "星期四"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket"
-msgstr "申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1  %2"
-msgstr "申請單 # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket # %1 Jumbo update: %2"
-msgstr "更新申請單 # %1 的全部資訊:%2"
-
-#: html/Ticket/ModifyAll.html:46 html/Ticket/ModifyAll.html:50
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket #%1 Jumbo update: %2"
-msgstr "更新申請單 #%1 的全部資訊:%2"
-
-#: html/Approvals/Elements/ShowDependency:67
-#. ($link->BaseObj->Id, $link->BaseObj->Subject)
-msgid "Ticket #%1: %2"
-msgstr "申請單 #%1: %2"
-
-#: lib/RT/Action/CreateTickets.pm:1258 lib/RT/Action/CreateTickets.pm:1267 lib/RT/Action/CreateTickets.pm:595 lib/RT/Action/CreateTickets.pm:716 lib/RT/Action/CreateTickets.pm:729
-#. ($T::Tickets{$template_id}->Id)
-#. ($T::Tickets{$template_id}->id)
-#. ($ticket->Id)
-msgid "Ticket %1"
-msgstr "申請單 %1"
-
-#: lib/RT/Ticket_Overlay.pm:731 lib/RT/Ticket_Overlay.pm:751
-#. ($self->Id, $QueueObj->Name)
-msgid "Ticket %1 created in queue '%2'"
-msgstr "申請單 #%1 成功新增於 '%2' 表單"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket %1 loaded\\n"
-msgstr "載入申請單 %1\\n"
-
-#: html/Search/Bulk.html:269
-#. ($Ticket->Id,$_)
-msgid "Ticket %1: %2"
-msgstr "申請單 %1:%2"
-
-#: html/Admin/Elements/QueueTabs:74
-msgid "Ticket Custom Fields"
-msgstr "申請單的自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Due"
-msgstr "表單處理期限"
-
-#: html/Ticket/History.html:46 html/Ticket/History.html:49
-#. ($Ticket->Id, $Ticket->Subject)
-msgid "Ticket History # %1 %2"
-msgstr "申請單處理紀錄 # %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket ID"
-msgstr "單號"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Id"
-msgstr "申請單編號"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Processing Due"
-msgstr "表單運行期限"
-
-#: etc/initialdata:324
-msgid "Ticket Resolved"
-msgstr "申請單已解決"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:69 html/Admin/Global/CustomFields/index.html:81 lib/RT/CustomField_Overlay.pm:1085
-msgid "Ticket Transactions"
-msgstr "申請單的更動"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket Type"
-msgstr "表單種類"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket attachment"
-msgstr "申請單附件"
-
-#: lib/RT/Tickets_Overlay.pm:1648
-msgid "Ticket content"
-msgstr "申請單內容"
-
-#: lib/RT/Tickets_Overlay.pm:1697
-msgid "Ticket content type"
-msgstr "申請單內容類別"
-
-#: lib/RT/Ticket_Overlay.pm:593 lib/RT/Ticket_Overlay.pm:607 lib/RT/Ticket_Overlay.pm:618 lib/RT/Ticket_Overlay.pm:739
-msgid "Ticket could not be created due to an internal error"
-msgstr "內部錯誤,無法新增申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket created"
-msgstr "申請單新增完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket creation failed"
-msgstr "申請單新增失敗"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket deleted"
-msgstr "申請單刪除完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket id not found"
-msgstr "找不到申請單編號"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket killed"
-msgstr "申請單刪除完畢"
-
-#: html/Ticket/Display.html:55
-msgid "Ticket metadata"
-msgstr "申請單的描述資訊"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket not found"
-msgstr "找不到申請單"
-
-#: etc/initialdata:310
-msgid "Ticket status changed"
-msgstr "申請單現況已改變"
-
-#: NOT FOUND IN SOURCE
-msgid "Ticket watchers"
-msgstr "申請單視察員"
-
-#: lib/RT/Search/FromSQL.pm:83
-#. (ref $self)
-msgid "TicketSQL search module"
-msgstr ""
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:64 html/Admin/Global/CustomFields/index.html:75 html/Elements/Tabs:68 lib/RT/CustomField_Overlay.pm:1084
-msgid "Tickets"
-msgstr "申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 %2"
-msgstr "申請單 %1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets %1 by %2"
-msgstr "申請單 %1 (%2)"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets I own"
-msgstr "待處理的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets I requested"
-msgstr "送出的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Tickets from %1"
-msgstr "%1 的申請單"
-
-#: html/Approvals/Elements/ShowDependency:48
-msgid "Tickets which depend on this approval:"
-msgstr "批准之後,可接續處理:"
-
-#: html/Search/Elements/PickBasics:148 html/Ticket/Elements/EditBasics:61
-msgid "Time Estimated"
-msgstr "預計時間"
-
-#: html/Search/Elements/PickBasics:149 html/Ticket/Create.html:187 html/Ticket/Elements/EditBasics:69
-msgid "Time Left"
-msgstr "剩餘時間"
-
-#: html/Search/Elements/PickBasics:147 html/Ticket/Create.html:186 html/Ticket/Elements/EditBasics:65
-msgid "Time Worked"
-msgstr "處理時間"
-
-#: lib/RT/Tickets_Overlay.pm:1619
-msgid "Time left"
-msgstr "剩餘時間"
-
-#: html/Elements/Footer:71
-msgid "Time to display"
-msgstr "顯示時間"
-
-#: lib/RT/Tickets_Overlay.pm:1594
-msgid "Time worked"
-msgstr "已處理時間"
-
-#: NOT FOUND IN SOURCE
-msgid "TimeLeft"
-msgstr "剩餘時間"
-
-#: lib/RT/Ticket_Overlay.pm:1143
-msgid "TimeWorked"
-msgstr "已處理時間"
-
-#: html/Search/Elements/EditFormat:74
-msgid "Title"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:"
-msgstr "產生這次更動的差異檔:"
-
-#: NOT FOUND IN SOURCE
-msgid "To generate a diff of this commit:\\n"
-msgstr "產生這次更動的差異檔:\\n"
-
-#: html/Elements/Footer:61
-#. ('<a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>')
-msgid "To inquire about support, training, custom development or licensing, please contact %1."
-msgstr "如果有支援、教育訓練及定製開發的需要,請連絡 %1。"
-
-#: NOT FOUND IN SOURCE
-msgid "Todo"
-msgstr "待辦事項"
-
-#: lib/RT/Ticket_Overlay.pm:1146
-msgid "Told"
-msgstr "告知日期"
-
-#: html/Admin/Elements/Tabs:68 html/Admin/index.html:88 html/Elements/Tabs:71
-msgid "Tools"
-msgstr "工具"
-
-#: NOT FOUND IN SOURCE
-msgid "Total"
-msgstr "頁"
-
-#: etc/initialdata:252
-msgid "Transaction"
-msgstr "更動"
-
-#: lib/RT/Transaction_Overlay.pm:794
-#. ($self->Data)
-msgid "Transaction %1 purged"
-msgstr "清除更動報告 %1"
-
-#: lib/RT/Transaction_Overlay.pm:174
-msgid "Transaction Created"
-msgstr "更動報告已新增"
-
-#: html/Admin/Elements/QueueTabs:78
-msgid "Transaction Custom Fields"
-msgstr "更動的自訂欄位"
-
-#: NOT FOUND IN SOURCE
-msgid "Transaction->Create couldn't, as you didn't specify a ticket id"
-msgstr "未指定申請單編號,無法新增更動"
-
-#: lib/RT/Transaction_Overlay.pm:125
-msgid "Transaction->Create couldn't, as you didn't specify an object type and id"
-msgstr "未指定物件類別及編號,無法新增更動"
-
-#: NOT FOUND IN SOURCE
-msgid "TransactionBatch"
-msgstr "批次更動時"
-
-#: NOT FOUND IN SOURCE
-msgid "TransactionCreate"
-msgstr "新增更動時"
-
-#: lib/RT/Transaction_Overlay.pm:838
-msgid "Transactions are immutable"
-msgstr "不可更改更動報告"
-
-#: NOT FOUND IN SOURCE
-msgid "Transfer to"
-msgstr "移交給"
-
-#: NOT FOUND IN SOURCE
-msgid "Trying to delete a right: %1"
-msgstr "試圖刪除某項權限:%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Tue"
-msgstr "星期二"
-
-#: lib/RT/Date.pm:414
-msgid "Tue."
-msgstr "星期二"
-
-#: html/Admin/CustomFields/Modify.html:66 html/Admin/Elements/EditCustomField:65 html/Ticket/Elements/AddWatchers:54 html/Ticket/Elements/AddWatchers:65 html/Ticket/Elements/AddWatchers:75 lib/RT/Ticket_Overlay.pm:1144 lib/RT/Tickets_Overlay.pm:1432
-msgid "Type"
-msgstr "類別"
-
-#: lib/RT/ScripCondition_Overlay.pm:129
-msgid "Unimplemented"
-msgstr "尚無實作"
-
-#: html/Admin/Users/Modify.html:89
-msgid "Unix login"
-msgstr "外部系統登入帳號"
-
-#: NOT FOUND IN SOURCE
-msgid "UnixUsername"
-msgstr "外部系統登入帳號"
-
-#: lib/RT/Attachment_Overlay.pm:290 lib/RT/Record.pm:847
-#. ($self->ContentEncoding)
-#. ($ContentEncoding)
-msgid "Unknown ContentEncoding %1"
-msgstr "不可解的內容文字編碼方式 %1"
-
-#: html/Search/Build.html:632
-msgid "Unknown field: $key"
-msgstr ""
-
-#: html/Elements/SelectResultsPerPage:58
-msgid "Unlimited"
-msgstr "全數顯示"
-
-#: html/Search/Elements/SelectSearchesForObjects:63
-msgid "Unnamed search"
-msgstr "未命名的查詢"
-
-#: etc/initialdata:32
-msgid "Unprivileged"
-msgstr "非內部成員"
-
-#: html/Admin/Elements/EditCustomFields:60
-msgid "Unselected Custom Fields"
-msgstr "未選取的自訂欄位"
-
-#: html/Admin/CustomFields/Objects.html:61
-msgid "Unselected objects"
-msgstr "未選取的物件"
-
-#: lib/RT/Transaction_Overlay.pm:648
-msgid "Untaken"
-msgstr "未被受理"
-
-#: NOT FOUND IN SOURCE
-msgid "Untitled search"
-msgstr "未命名的查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "Up"
-msgstr "上一頁"
-
-#: html/Search/Bulk.html:54
-msgid "Update"
-msgstr "處理"
-
-#: html/Search/Bulk.html:178
-msgid "Update All"
-msgstr "全部更新"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ID"
-msgstr "更新編號"
-
-#: html/Ticket/Update.html:133
-msgid "Update Ticket"
-msgstr "更新申請單"
-
-#: html/Search/Bulk.html:148 html/Ticket/ModifyAll.html:87 html/Ticket/Update.html:70
-msgid "Update Type"
-msgstr "更新類別"
-
-#: NOT FOUND IN SOURCE
-msgid "Update all these tickets at once"
-msgstr "整批更新申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Update email"
-msgstr "更新電子郵件信箱"
-
-#: html/Search/Results.html:80
-msgid "Update multiple tickets"
-msgstr "批次更新申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Update name"
-msgstr "更新帳號"
-
-#: lib/RT/Action/CreateTickets.pm:737 lib/RT/Interface/Web.pm:524
-msgid "Update not recorded."
-msgstr "更新未被記錄"
-
-#: html/Search/Bulk.html:99
-msgid "Update selected tickets"
-msgstr "更新選擇的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Update signature"
-msgstr "更新簽章"
-
-#: html/Ticket/ModifyAll.html:84
-msgid "Update ticket"
-msgstr "更新申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Update ticket # %1"
-msgstr "更新申請單 # %1"
-
-#: html/SelfService/Update.html:112 html/SelfService/Update.html:47
-#. ($Ticket->id)
-msgid "Update ticket #%1"
-msgstr "更新申請單 #%1"
-
-#: html/Ticket/Update.html:156
-#. ($TicketObj->id, $TicketObj->Subject)
-msgid "Update ticket #%1 (%2)"
-msgstr "更新申請單 #%1 (%2)"
-
-#: lib/RT/Action/CreateTickets.pm:735 lib/RT/Interface/Web.pm:523
-msgid "Update type was neither correspondence nor comment."
-msgstr "更新的內容並非申請單回覆也不是評論"
-
-#: html/Elements/SelectDateType:54 html/Ticket/Elements/ShowDates:72 lib/RT/Ticket_Overlay.pm:1147
-msgid "Updated"
-msgstr "前次更新"
-
-#: html/Tools/Offline.html:95
-msgid "Upload"
-msgstr "上載"
-
-#: lib/RT/CustomField_Overlay.pm:84
-msgid "Upload multiple files"
-msgstr "上載多個檔案"
-
-#: lib/RT/CustomField_Overlay.pm:79
-msgid "Upload multiple images"
-msgstr "上載多份圖片"
-
-#: lib/RT/CustomField_Overlay.pm:85
-msgid "Upload one file"
-msgstr "上載一個檔案"
-
-#: lib/RT/CustomField_Overlay.pm:80
-msgid "Upload one image"
-msgstr "上載一份圖片"
-
-#: lib/RT/CustomField_Overlay.pm:86
-msgid "Upload up to %1 files"
-msgstr "上載最多 %1 個檔案"
-
-#: lib/RT/CustomField_Overlay.pm:81
-msgid "Upload up to %1 images"
-msgstr "上載最多 %1 份圖片"
-
-#: html/Tools/Offline.html:95
-msgid "Upload your changes"
-msgstr "上載您的更動"
-
-#: html/Admin/index.html:90
-msgid "Use other RT administrative tools"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "User"
-msgstr "使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 %2: %3\\n"
-msgstr "使用者 %1 %2:%3\\n"
-
-#: NOT FOUND IN SOURCE
-msgid "User %1 Password: %2\\n"
-msgstr "使用者 %1 密碼:%2\\n"
-
-#: lib/RT/Ticket_Overlay.pm:496
-#. ($args{'Owner'})
-msgid "User '%1' could not be found."
-msgstr "找不到使用者 '%1'。"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found"
-msgstr "找不到使用者 '%1'"
-
-#: NOT FOUND IN SOURCE
-msgid "User '%1' not found\\n"
-msgstr "找不到使用者 '%1'\\n"
-
-#: etc/initialdata:132 etc/initialdata:206
-msgid "User Defined"
-msgstr "使用者自訂"
-
-#: html/Admin/Elements/EditScrip:98
-msgid "User Defined conditions and actions"
-msgstr "使用者自訂的條件及動作"
-
-#: NOT FOUND IN SOURCE
-msgid "User ID"
-msgstr "使用者 ID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Id"
-msgstr "使用者 ID"
-
-#: NOT FOUND IN SOURCE
-msgid "User Number"
-msgstr "員工編號"
-
-#: html/Admin/Elements/CustomFieldTabs:72 html/Admin/Elements/GroupTabs:68 html/Admin/Elements/QueueTabs:85 html/Admin/Elements/SystemTabs:68 html/Admin/Global/index.html:80
-msgid "User Rights"
-msgstr "使用者權限"
-
-#: NOT FOUND IN SOURCE
-msgid "User Setup"
-msgstr "使用者設定"
-
-#: NOT FOUND IN SOURCE
-msgid "User Shift"
-msgstr "員工班別"
-
-#: lib/RT/Interface/Web.pm:1283
-#. ($cf->Name, $class, $Object->id)
-msgid "User asked for an unknown update type for custom field %1 for %2 object #%3"
-msgstr "使用者試圖在 %2 物件 #%3 的自訂欄位 %1 上執行未知的更新操作"
-
-#: html/Admin/Users/Modify.html:293
-#. ($msg)
-msgid "User could not be created: %1"
-msgstr "無法新增使用者:%1"
-
-#: lib/RT/User_Overlay.pm:331
-msgid "User created"
-msgstr "使用者新增完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "User created: %1"
-msgstr "使用者 %1 新增完畢"
-
-#: NOT FOUND IN SOURCE
-msgid "User created: %1 (%2)"
-msgstr "使用者 %1 (%2) 新增完畢"
-
-#: html/Admin/CustomFields/GroupRights.html:74 html/Admin/Global/GroupRights.html:88 html/Admin/Groups/GroupRights.html:75 html/Admin/Queues/GroupRights.html:90
-msgid "User defined groups"
-msgstr "使用者定義的群組"
-
-#: lib/RT/User_Overlay.pm:593 lib/RT/User_Overlay.pm:613
-msgid "User loaded"
-msgstr "已載入使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "User notified"
-msgstr "已通知使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "User renamed from %1 to %2"
-msgstr "使用者 %1 已改名為 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "User view"
-msgstr "使用者私人資料"
-
-#: html/Admin/Groups/index.html:99
-msgid "User-defined groups"
-msgstr "使用者自定群組"
-
-#: NOT FOUND IN SOURCE
-msgid "UserDefined"
-msgstr "使用者自定"
-
-#: html/Admin/Users/Modify.html:69 html/Elements/Login:73 html/Ticket/Elements/AddWatchers:56
-msgid "Username"
-msgstr "帳號"
-
-#: html/Admin/Elements/GlobalCustomFieldTabs:55 html/Admin/Elements/SelectNewGroupMembers:47 html/Admin/Elements/Tabs:53 html/Admin/Global/CustomFields/index.html:64 html/Admin/Groups/Members.html:76 html/Admin/Queues/People.html:89 html/Admin/index.html:62 html/User/Groups/Members.html:79 lib/RT/CustomField_Overlay.pm:1086
-msgid "Users"
-msgstr "使用者"
-
-#: html/Admin/Users/index.html:85
-msgid "Users matching search criteria"
-msgstr "符合查詢條件的使用者"
-
-#: lib/RT/Tickets_Overlay_SQL.pm:523
-msgid "Valid Query"
-msgstr "合理的查詢"
-
-#: NOT FOUND IN SOURCE
-msgid "ValueOfQueue"
-msgstr "選擇表單"
-
-#: html/Admin/CustomFields/Modify.html:89 html/Admin/Elements/EditCustomField:78
-msgid "Values"
-msgstr "欄位值"
-
-#: NOT FOUND IN SOURCE
-msgid "View log"
-msgstr "檢視紀錄檔"
-
-#: lib/RT/Queue_Overlay.pm:108
-msgid "Watch"
-msgstr "視察"
-
-#: lib/RT/Queue_Overlay.pm:109
-msgid "WatchAsAdminCc"
-msgstr "以管理員副本收件人身份視察"
-
-#: NOT FOUND IN SOURCE
-msgid "Watcher loaded"
-msgstr "成功載入視察員資訊"
-
-#: html/Admin/Elements/QueueTabs:63
-msgid "Watchers"
-msgstr "視察員"
-
-#: NOT FOUND IN SOURCE
-msgid "WebEncoding"
-msgstr "網頁文字編碼方式"
-
-#: NOT FOUND IN SOURCE
-msgid "Wed"
-msgstr "星期三"
-
-#: lib/RT/Date.pm:415
-msgid "Wed."
-msgstr "星期三"
-
-#: etc/initialdata:521
-msgid "When a ticket has been approved by all approvers, add correspondence to the original ticket"
-msgstr "當申請單通過所有簽核後,將此訊息回覆到原申請單"
-
-#: etc/initialdata:485
-msgid "When a ticket has been approved by any approver, add correspondence to the original ticket"
-msgstr "當申請單通過某項簽核後,將此訊息回覆到原申請單"
-
-#: etc/initialdata:146
-msgid "When a ticket is created"
-msgstr "新增申請單時"
-
-#: etc/initialdata:418
-msgid "When an approval ticket is created, notify the Owner and AdminCc of the item awaiting their approval"
-msgstr "簽核單新增之後,通知應受理的承辦人及管理員副本收件人"
-
-#: etc/initialdata:151
-msgid "When anything happens"
-msgstr "當任何事情發生時"
-
-#: etc/initialdata:199
-msgid "Whenever a ticket is resolved"
-msgstr "當申請單解決時"
-
-#: etc/initialdata:185
-msgid "Whenever a ticket's owner changes"
-msgstr "當申請單更換承辦人時"
-
-#: etc/initialdata:178 etc/upgrade/3.1.17/content:16
-msgid "Whenever a ticket's priority changes"
-msgstr "當申請單的優先順序改變時"
-
-#: etc/initialdata:193
-msgid "Whenever a ticket's queue changes"
-msgstr "當申請單更換表單時"
-
-#: etc/initialdata:170
-msgid "Whenever a ticket's status changes"
-msgstr "當申請單更新現況時"
-
-#: etc/initialdata:207
-msgid "Whenever a user-defined condition occurs"
-msgstr "當使用者自訂的情況發生時"
-
-#: etc/initialdata:164
-msgid "Whenever comments come in"
-msgstr "當評論送達時"
-
-#: etc/initialdata:157
-msgid "Whenever correspondence comes in"
-msgstr "當回覆送達時"
-
-#: html/Admin/Users/Modify.html:188 html/User/Prefs.html:89
-msgid "Work"
-msgstr "公司"
-
-#: html/Search/Results.html:84
-msgid "Work offline"
-msgstr "離線工作"
-
-#: NOT FOUND IN SOURCE
-msgid "WorkPhone"
-msgstr "公司電話"
-
-#: html/Ticket/Elements/ShowBasics:63 html/Ticket/Update.html:64
-msgid "Worked"
-msgstr "處理時間"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow #%1"
-msgstr "流程 #%1"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow Begin"
-msgstr "流程開始"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow End"
-msgstr "流程結束"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflow deleted"
-msgstr "流程已刪除"
-
-#: NOT FOUND IN SOURCE
-msgid "Workflows"
-msgstr "流程"
-
-#: NOT FOUND IN SOURCE
-msgid "Writable"
-msgstr "可讀寫"
-
-#: NOT FOUND IN SOURCE
-msgid "XXX CHANGEME You are not an authorized user"
-msgstr "XXX CHANGEME 您是未經授權的使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "Yes"
-msgstr "是"
-
-#: lib/RT/Ticket_Overlay.pm:3096
-msgid "You already own this ticket"
-msgstr "您已是這份申請單的承辦人"
-
-#: html/autohandler:158 html/autohandler:166
-msgid "You are not an authorized user"
-msgstr "您不是被授權的使用者"
-
-#: NOT FOUND IN SOURCE
-msgid "You can access it with the Download button on the right."
-msgstr "您可以按右方的「下載」鍵來取得。"
-
-#: lib/RT/Ticket_Overlay.pm:2978
-msgid "You can only reassign tickets that you own or that are unowned"
-msgstr "祇能重新指派您所承辦或是沒有承辦人的申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "You don't have permission to view that ticket.\\n"
-msgstr "您沒有看那份申請單的權限。\\n"
-
-#: docs/design_docs/string-extraction-guide.txt:47 lib/RT/StyleGuide.pod:780
-#. ($num, $queue)
-msgid "You found %1 tickets in queue %2"
-msgstr "您會在表單 %2 找到 %1 的申請單"
-
-#: html/NoAuth/Logout.html:52
-msgid "You have been logged out of RT."
-msgstr "您已登出 RT。"
-
-#: html/SelfService/Display.html:109
-msgid "You have no permission to create tickets in that queue."
-msgstr "您沒有在該表單新增申請單的權限。"
-
-#: lib/RT/Ticket_Overlay.pm:1964
-msgid "You may not create requests in that queue."
-msgstr "您不能在該表單中提出申請。"
-
-#: NOT FOUND IN SOURCE
-msgid "You need to restart the Request Tracker service for saved changes to take effect."
-msgstr "您必須重新啟動 Request Tracker 服務,儲存的更動纔會生效。"
-
-#: html/NoAuth/Logout.html:56
-msgid "You're welcome to login again"
-msgstr "歡迎下次再來"
-
-#: NOT FOUND IN SOURCE
-msgid "Your %1 requests"
-msgstr "您提出的 %1 申請單"
-
-#: NOT FOUND IN SOURCE
-msgid "Your RT administrator has misconfigured the mail aliases which invoke RT"
-msgstr "RT 管理員可能設錯了由 RT 寄出的郵件收件人標頭檔"
-
-#: etc/initialdata:502
-msgid "Your request has been approved by %1. Other approvals may still be pending."
-msgstr "申請單已由 %1 批准。可能還有其他待簽核的步驟。"
-
-#: etc/initialdata:540
-msgid "Your request has been approved."
-msgstr "您的申請單已完成簽核程序。"
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected"
-msgstr "您的申請單已被駁回"
-
-#: NOT FOUND IN SOURCE
-msgid "Your request was rejected by %1."
-msgstr "您的申請單已被 %1 駁回。"
-
-#: etc/initialdata:445
-msgid "Your request was rejected."
-msgstr "您的申請單已被駁回。"
-
-#: html/autohandler:193
-msgid "Your username or password is incorrect"
-msgstr "您的帳號或密碼有誤"
-
-#: html/Admin/Users/Modify.html:168 html/User/Prefs.html:149
-msgid "Zip"
-msgstr "郵遞區號"
-
-#: NOT FOUND IN SOURCE
-msgid "[no subject]"
-msgstr "[沒有標題]"
-
-#: NOT FOUND IN SOURCE
-msgid "ago"
-msgstr "過期"
-
-#: NOT FOUND IN SOURCE
-msgid "alert"
-msgstr "急訊"
-
-#: lib/RT/System.pm:88
-msgid "allow creation of saved searches"
-msgstr ""
-
-#: lib/RT/System.pm:87
-msgid "allow loading of saved searches"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "approving"
-msgstr "待簽核"
-
-#: html/User/Elements/DelegateRights:80
-#. ($right->PrincipalObj->Object->SelfDescription)
-msgid "as granted to %1"
-msgstr "權限同 %1"
-
-#: html/Search/Elements/PickBasics:127
-msgid "belongs to"
-msgstr ""
-
-#: html/SelfService/Closed.html:49
-msgid "closed"
-msgstr "已解決"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:55
-msgid "contains"
-msgstr "包含"
-
-#: NOT FOUND IN SOURCE
-msgid "content"
-msgstr "內容"
-
-#: NOT FOUND IN SOURCE
-msgid "content-type"
-msgstr "類型"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence (probably) not sent"
-msgstr "申請單回覆(可能)未送出"
-
-#: NOT FOUND IN SOURCE
-msgid "correspondence sent"
-msgstr "申請單回覆已送出"
-
-#: NOT FOUND IN SOURCE
-msgid "critical"
-msgstr "嚴重"
-
-#: html/Admin/Queues/Modify.html:98 lib/RT/Date.pm:342
-msgid "days"
-msgstr "天"
-
-#: NOT FOUND IN SOURCE
-msgid "dead"
-msgstr "拒絕處理"
-
-#: NOT FOUND IN SOURCE
-msgid "debug"
-msgstr "偵錯"
-
-#: NOT FOUND IN SOURCE
-msgid "delete"
-msgstr "刪除"
-
-#: lib/RT/Queue_Overlay.pm:88
-msgid "deleted"
-msgstr "已刪除"
-
-#: html/Search/Elements/PickBasics:128
-msgid "does not belong to"
-msgstr ""
-
-#: html/Search/Elements/PickBasics:61
-msgid "does not match"
-msgstr "不符合"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:56
-msgid "doesn't contain"
-msgstr "不包含"
-
-#: NOT FOUND IN SOURCE
-msgid "email address"
-msgstr "電子郵件信箱"
-
-#: NOT FOUND IN SOURCE
-msgid "emergency"
-msgstr "危難"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "equal to"
-msgstr "等於"
-
-#: NOT FOUND IN SOURCE
-msgid "error"
-msgstr "錯誤"
-
-#: html/Search/Build.html:387
-msgid "error: can't move down"
-msgstr ""
-
-#: html/Search/Build.html:409
-msgid "error: can't move left"
-msgstr ""
-
-#: html/Search/Build.html:368
-msgid "error: can't move up"
-msgstr ""
-
-#: html/Search/Build.html:451
-msgid "error: nothing to delete"
-msgstr ""
-
-#: html/Search/Build.html:373 html/Search/Build.html:392 html/Search/Build.html:414 html/Search/Build.html:443
-msgid "error: nothing to move"
-msgstr ""
-
-#: html/Search/Build.html:469
-msgid "error: nothing to toggle"
-msgstr ""
-
-#: NOT FOUND IN SOURCE
-msgid "false"
-msgstr "假"
-
-#: NOT FOUND IN SOURCE
-msgid "filename"
-msgstr "檔名"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "greater than"
-msgstr "大於"
-
-#: lib/RT/Group_Overlay.pm:222
-#. ($self->Name)
-msgid "group '%1'"
-msgstr "群組 '%1'"
-
-#: lib/RT/Date.pm:338
-msgid "hours"
-msgstr "小時"
-
-#: html/Search/Elements/PickBasics:48
-msgid "id"
-msgstr "編號"
-
-#: NOT FOUND IN SOURCE
-msgid "info"
-msgstr "資訊"
-
-#: html/Elements/SelectBoolean:53 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:57 html/Search/Elements/PickBasics:175 html/Search/Elements/PickBasics:74 html/Search/Elements/PickBasics:90 html/Search/Elements/PickCFs:53
-msgid "is"
-msgstr "是"
-
-#: html/Elements/SelectBoolean:57 html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectMatch:58 html/Search/Elements/PickBasics:176 html/Search/Elements/PickBasics:75 html/Search/Elements/PickBasics:91 html/Search/Elements/PickCFs:54
-msgid "isn't"
-msgstr "不是"
-
-#: html/Elements/SelectCustomFieldOperator:59 html/Elements/SelectEqualityOperator:59
-msgid "less than"
-msgstr "小於"
-
-#: NOT FOUND IN SOURCE
-msgid "level Admin"
-msgstr "層主管"
-
-#: html/Search/Elements/PickBasics:60
-msgid "matches"
-msgstr "符合"
-
-#: lib/RT/Date.pm:334
-msgid "min"
-msgstr "分"
-
-#: html/Ticket/Update.html:64
-msgid "minutes"
-msgstr "分鐘"
-
-#: NOT FOUND IN SOURCE
-msgid "modifications\\n\\n"
-msgstr "更改\\n\\n"
-
-#: lib/RT/Date.pm:350
-msgid "months"
-msgstr "月"
-
-#: lib/RT/Queue_Overlay.pm:83
-msgid "new"
-msgstr "新建立"
-
-#: html/Admin/Elements/PickCustomFields:64 html/Admin/Elements/PickObjects:63
-msgid "no name"
-msgstr "沒有名稱"
-
-#: html/Admin/Elements/EditScrips:64
-msgid "no value"
-msgstr "沒有值"
-
-#: html/Admin/Elements/EditQueueWatchers:48 html/Ticket/Elements/EditWatchers:49
-msgid "none"
-msgstr "無"
-
-#: html/Elements/SelectEqualityOperator:59
-msgid "not equal to"
-msgstr "不等於"
-
-#: NOT FOUND IN SOURCE
-msgid "notice"
-msgstr "提示"
-
-#: NOT FOUND IN SOURCE
-msgid "notlike"
-msgstr "不符合"
-
-#: NOT FOUND IN SOURCE
-msgid "number"
-msgstr "號"
-
-#: html/SelfService/Elements/MyRequests:83 lib/RT/Queue_Overlay.pm:84
-msgid "open"
-msgstr "開啟"
-
-#: NOT FOUND IN SOURCE
-msgid "opened"
-msgstr "已開啟"
-
-#: lib/RT/Group_Overlay.pm:227
-#. ($self->Name, $user->Name)
-msgid "personal group '%1' for user '%2'"
-msgstr "使用者「%2」的「%1」代理人群組"
-
-#: lib/RT/Group_Overlay.pm:235
-#. ($queue->Name, $self->Type)
-msgid "queue %1 %2"
-msgstr "表單 %1 %2"
-
-#: lib/RT/Queue_Overlay.pm:87
-msgid "rejected"
-msgstr "已駁回"
-
-#: lib/RT/Queue_Overlay.pm:86
-msgid "resolved"
-msgstr "已處理"
-
-#: NOT FOUND IN SOURCE
-msgid "rtname"
-msgstr "伺服器名稱"
-
-#: lib/RT/Date.pm:330
-msgid "sec"
-msgstr "秒"
-
-#: lib/RT/System.pm:86
-msgid "show Configuration tab"
-msgstr ""
-
-#: html/Search/Results.html:82
-msgid "spreadsheet"
-msgstr "試算表"
-
-#: lib/RT/Queue_Overlay.pm:85
-msgid "stalled"
-msgstr "延宕"
-
-#: lib/RT/Group_Overlay.pm:230
-#. ($self->Type)
-msgid "system %1"
-msgstr "系統 %1"
-
-#: lib/RT/Group_Overlay.pm:241
-#. ($self->Type)
-msgid "system group '%1'"
-msgstr "系統群組 '%1'"
-
-#: html/Elements/Error:66 html/SelfService/Error.html:63
-msgid "the calling component did not specify why"
-msgstr "呼叫元件未指明原因"
-
-#: NOT FOUND IN SOURCE
-msgid "ticket #%1"
-msgstr "申請單 #%1"
-
-#: lib/RT/Group_Overlay.pm:238
-#. ($self->Instance, $self->Type)
-msgid "ticket #%1 %2"
-msgstr "申請單 #%1 %2"
-
-#: NOT FOUND IN SOURCE
-msgid "till"
-msgstr "至"
-
-#: NOT FOUND IN SOURCE
-msgid "to"
-msgstr "到"
-
-#: NOT FOUND IN SOURCE
-msgid "true"
-msgstr "真"
-
-#: lib/RT/Group_Overlay.pm:244
-#. ($self->Id)
-msgid "undescribed group %1"
-msgstr "沒有描述的群組 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "unresolved"
-msgstr "未處理"
-
-#: lib/RT/Group_Overlay.pm:219
-#. ($user->Object->Name)
-msgid "user %1"
-msgstr "使用者 %1"
-
-#: NOT FOUND IN SOURCE
-msgid "warning"
-msgstr "警告"
-
-#: lib/RT/Date.pm:346
-msgid "weeks"
-msgstr "週"
-
-#: NOT FOUND IN SOURCE
-msgid "with template %1"
-msgstr "範本:%1"
-
-#: lib/RT/Date.pm:354
-msgid "years"
-msgstr "年"
-
diff --git a/rt/lib/RT/Interface/CLI.pm b/rt/lib/RT/Interface/CLI.pm
deleted file mode 100644 (file)
index 8c93295..0000000
+++ /dev/null
@@ -1,268 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-use strict;
-
-use RT;
-package RT::Interface::CLI;
-
-
-
-BEGIN {
-    use Exporter ();
-    use vars qw ($VERSION  @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
-    
-    # set the version for version checking
-    $VERSION = do { my @r = (q$Revision: 1.1.1.3 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; # must be all one line, for MakeMaker
-    
-    @ISA         = qw(Exporter);
-    
-    # your exported package globals go here,
-    # as well as any optionally exported functions
-    @EXPORT_OK   = qw(&CleanEnv 
-                     &GetCurrentUser &GetMessageContent &debug &loc);
-}
-
-=head1 NAME
-
-  RT::Interface::CLI - helper functions for creating a commandline RT interface
-
-=head1 SYNOPSIS
-
-  use lib "/path/to/rt/libraries/";
-
-  use RT::Interface::CLI  qw(CleanEnv 
-                          GetCurrentUser GetMessageContent loc);
-
-  #Clean out all the nasties from the environment
-  CleanEnv();
-
-  #let's talk to RT'
-  use RT;
-
-  #Load RT's config file
-  RT::LoadConfig();
-
-  # Connect to the database. set up loggign
-  RT::Init();
-
-  #Get the current user all loaded
-  my $CurrentUser = GetCurrentUser();
-
-  print loc('Hello!'); # Synonym of $CuurentUser->loc('Hello!');
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok(require RT::Interface::CLI);
-
-=end testing
-
-=cut
-
-
-=head2 CleanEnv
-
-Removes some of the nastiest nasties from the user\'s environment.
-
-=cut
-
-sub CleanEnv {
-    $ENV{'PATH'} = '/bin:/usr/bin';    # or whatever you need
-    $ENV{'CDPATH'} = '' if defined $ENV{'CDPATH'};
-    $ENV{'SHELL'} = '/bin/sh' if defined $ENV{'SHELL'};
-    $ENV{'ENV'} = '' if defined $ENV{'ENV'};
-    $ENV{'IFS'} = ''           if defined $ENV{'IFS'};
-}
-
-
-
-
-{
-
-    my $CurrentUser; # shared betwen GetCurrentUser and loc
-
-# {{{ sub GetCurrentUser 
-
-=head2 GetCurrentUser
-
-  Figures out the uid of the current user and returns an RT::CurrentUser object
-loaded with that user.  if the current user isn't found, returns a copy of RT::Nobody.
-
-=cut
-
-sub GetCurrentUser  {
-    
-    require RT::CurrentUser;
-    
-    #Instantiate a user object
-    
-    my $Gecos= ($^O eq 'MSWin32') ? Win32::LoginName() : (getpwuid($<))[0];
-
-    #If the current user is 0, then RT will assume that the User object
-    #is that of the currentuser.
-
-    $CurrentUser = new RT::CurrentUser();
-    $CurrentUser->LoadByGecos($Gecos);
-    
-    unless ($CurrentUser->Id) {
-       $RT::Logger->debug("No user with a unix login of '$Gecos' was found. ");
-    }
-
-    return($CurrentUser);
-}
-# }}}
-
-
-# {{{ sub loc 
-
-=head2 loc
-
-  Synonym of $CurrentUser->loc().
-
-=cut
-
-sub loc {
-    die "No current user yet" unless $CurrentUser ||= RT::CurrentUser->new;
-    return $CurrentUser->loc(@_);
-}
-# }}}
-
-}
-
-
-# {{{ sub GetMessageContent
-
-=head2 GetMessageContent
-
-Takes two arguments a source file and a boolean "edit".  If the source file
-is undef or "", assumes an empty file.  Returns an edited file as an 
-array of lines.
-
-=cut
-
-sub GetMessageContent {
-    my %args = (  Source => undef,
-                 Content => undef,
-                 Edit => undef,
-                 CurrentUser => undef,
-                @_);
-    my $source = $args{'Source'};
-
-    my $edit = $args{'Edit'};
-    
-    my $currentuser = $args{'CurrentUser'};
-    my @lines;
-
-    use File::Temp qw/ tempfile/;
-    
-    #Load the sourcefile, if it's been handed to us
-    if ($source) {
-       open (SOURCE, "<$source");
-       @lines = (<SOURCE>);
-       close (SOURCE);
-    }
-    elsif ($args{'Content'}) {
-       @lines = split('\n',$args{'Content'});
-    }
-    #get us a tempfile.
-    my ($fh, $filename) = tempfile();
-       
-    #write to a tmpfile
-    for (@lines) {
-       print $fh $_;
-    }
-    close ($fh);
-    
-    #Edit the file if we need to
-    if ($edit) {       
-
-       unless ($ENV{'EDITOR'}) {
-           $RT::Logger->crit('No $EDITOR variable defined'. "\n");
-           return undef;
-       }
-       system ($ENV{'EDITOR'}, $filename);
-    }  
-    
-    open (READ, "<$filename");
-    my @newlines = (<READ>);
-    close (READ);
-
-    unlink ($filename) unless (debug());
-    return(\@newlines);
-    
-}
-
-# }}}
-
-# {{{ sub debug
-
-sub debug {
-    my $val = shift;
-    my ($debug);
-    if ($val) {
-       $RT::Logger->debug($val."\n");
-       if ($debug) {
-           print STDERR "$val\n";
-       }
-    }
-    if ($debug) {
-       return(1);
-    }  
-}
-
-# }}}
-
-
-eval "require RT::Interface::CLI_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/CLI_Vendor.pm});
-eval "require RT::Interface::CLI_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/CLI_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Interface/Email.pm b/rt/lib/RT/Interface/Email.pm
deleted file mode 100755 (executable)
index 5db7c8a..0000000
+++ /dev/null
@@ -1,883 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Interface::Email;
-
-use strict;
-use Mail::Address;
-use MIME::Entity;
-use RT::EmailParser;
-use File::Temp;
-
-BEGIN {
-    use Exporter ();
-    use vars qw ($VERSION  @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
-    
-    # set the version for version checking
-    $VERSION = do { my @r = (q$Revision: 1.1.1.5 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; # must be all one line, for MakeMaker
-    
-    @ISA         = qw(Exporter);
-    
-    # your exported package globals go here,
-    # as well as any optionally exported functions
-    @EXPORT_OK   = qw(
-              &CreateUser
-              &GetMessageContent
-              &CheckForLoops 
-              &CheckForSuspiciousSender
-              &CheckForAutoGenerated 
-              &MailError 
-              &ParseCcAddressesFromHead
-              &ParseSenderAddressFromHead 
-              &ParseErrorsToAddressFromHead
-              &ParseAddressFromHeader
-              &Gateway);
-
-}
-
-=head1 NAME
-
-  RT::Interface::Email - helper functions for parsing email sent to RT
-
-=head1 SYNOPSIS
-
-  use lib "!!RT_LIB_PATH!!";
-  use lib "!!RT_ETC_PATH!!";
-
-  use RT::Interface::Email  qw(Gateway CreateUser);
-
-=head1 DESCRIPTION
-
-
-=begin testing
-
-ok(require RT::Interface::Email);
-
-=end testing
-
-
-=head1 METHODS
-
-=cut
-
-
-# {{{ sub CheckForLoops 
-
-sub CheckForLoops  {
-    my $head = shift;
-    
-    #If this instance of RT sent it our, we don't want to take it in
-    my $RTLoop = $head->get("X-RT-Loop-Prevention") || "";
-    chomp ($RTLoop); #remove that newline
-    if ($RTLoop eq "$RT::rtname") {
-       return (1);
-    }
-    
-    # TODO: We might not trap the case where RT instance A sends a mail
-    # to RT instance B which sends a mail to ...
-    return (undef);
-}
-
-# }}}
-
-# {{{ sub CheckForSuspiciousSender
-
-sub CheckForSuspiciousSender {
-    my $head = shift;
-
-    #if it's from a postmaster or mailer daemon, it's likely a bounce.
-    
-    #TODO: better algorithms needed here - there is no standards for
-    #bounces, so it's very difficult to separate them from anything
-    #else.  At the other hand, the Return-To address is only ment to be
-    #used as an error channel, we might want to put up a separate
-    #Return-To address which is treated differently.
-    
-    #TODO: search through the whole email and find the right Ticket ID.
-
-    my ($From, $junk) = ParseSenderAddressFromHead($head);
-    
-    if (($From =~ /^mailer-daemon\@/i) or
-       ($From =~ /^postmaster\@/i)){
-       return (1);
-       
-    }
-    
-    return (undef);
-
-}
-
-# }}}
-
-# {{{ sub CheckForAutoGenerated
-sub CheckForAutoGenerated {
-    my $head = shift;
-    
-    my $Precedence = $head->get("Precedence") || "" ;
-    if ($Precedence =~ /^(bulk|junk)/i) {
-       return (1);
-    }
-    
-    # First Class mailer uses this as a clue.
-    my $FCJunk = $head->get("X-FC-Machinegenerated") || "";
-    if ($FCJunk =~ /^true/i) {
-        return (1);
-    }
-
-    return (0);
-}
-
-# }}}
-
-# {{{ IsRTAddress
-
-=head2 IsRTAddress ADDRESS
-
-Takes a single parameter, an email address. 
-Returns true if that address matches the $RTAddressRegexp.  
-Returns false, otherwise.
-
-=cut
-
-sub IsRTAddress {
-    my $address = shift || '';
-
-    # Example: the following rule would tell RT not to Cc 
-    #   "tickets@noc.example.com"
-    if ( defined($RT::RTAddressRegexp) &&
-                       $address =~ /$RT::RTAddressRegexp/ ) {
-        return(1);
-    } else {
-        return (undef);
-    }
-}
-
-# }}}
-
-# {{{ CullRTAddresses
-
-=head2 CullRTAddresses ARRAY
-
-Takes a single argument, an array of email addresses.
-Returns the same array with any IsRTAddress()es weeded out.
-
-=cut
-
-sub CullRTAddresses {
-    return (grep { IsRTAddress($_) } @_);
-}
-
-# }}}
-
-# {{{ sub MailError 
-sub MailError {
-    my %args = (To => $RT::OwnerEmail,
-               Bcc => undef,
-               From => $RT::CorrespondAddress,
-               Subject => 'There has been an error',
-               Explanation => 'Unexplained error',
-               MIMEObj => undef,
-        Attach => undef,
-               LogLevel => 'crit',
-               @_);
-
-
-    $RT::Logger->log(level => $args{'LogLevel'}, 
-                    message => $args{'Explanation'}
-                   );
-    my $entity = MIME::Entity->build( Type  =>"multipart/mixed",
-                                     From => $args{'From'},
-                                     Bcc => $args{'Bcc'},
-                                     To => $args{'To'},
-                                     Subject => $args{'Subject'},
-                                     Precedence => 'bulk',
-                                     'X-RT-Loop-Prevention' => $RT::rtname,
-                                   );
-
-    $entity->attach(  Data => $args{'Explanation'}."\n");
-    
-    my $mimeobj = $args{'MIMEObj'};
-    if ($mimeobj) {
-        $mimeobj->sync_headers();
-        $entity->add_part($mimeobj);
-    }
-   
-    if ($args{'Attach'}) {
-        $entity->attach(Data => $args{'Attach'}, Type => 'message/rfc822');
-
-    }
-
-    if ($RT::MailCommand eq 'sendmailpipe') {
-        open (MAIL, "|$RT::SendmailPath $RT::SendmailArguments") || return(0);
-        print MAIL $entity->as_string;
-        close(MAIL);
-    }
-    else {
-       $entity->send($RT::MailCommand, $RT::MailParams);
-    }
-}
-
-# }}}
-
-# {{{ Create User
-
-sub CreateUser {
-    my ($Username, $Address, $Name, $ErrorsTo, $entity) = @_;
-    my $NewUser = RT::User->new($RT::SystemUser);
-
-    my ($Val, $Message) = 
-      $NewUser->Create(Name => ($Username || $Address),
-                       EmailAddress => $Address,
-                       RealName => $Name,
-                       Password => undef,
-                       Privileged => 0,
-                       Comments => 'Autocreated on ticket submission'
-                      );
-    
-    unless ($Val) {
-        
-        # Deal with the race condition of two account creations at once
-        #
-        if ($Username) {
-            $NewUser->LoadByName($Username);
-        }
-        
-        unless ($NewUser->Id) {
-            $NewUser->LoadByEmail($Address);
-        }
-        
-        unless ($NewUser->Id) {  
-            MailError( To => $ErrorsTo,
-                       Subject => "User could not be created",
-                       Explanation => "User creation failed in mailgateway: $Message",
-                       MIMEObj => $entity,
-                       LogLevel => 'crit'
-                     );
-        }
-    }
-
-    #Load the new user object
-    my $CurrentUser = RT::CurrentUser->new();
-    $CurrentUser->LoadByEmail($Address);
-
-    unless ($CurrentUser->id) {
-            $RT::Logger->warning("Couldn't load user '$Address'.".  "giving up");
-                MailError( To => $ErrorsTo,
-                           Subject => "User could not be loaded",
-                           Explanation => "User  '$Address' could not be loaded in the mail gateway",
-                           MIMEObj => $entity,
-                           LogLevel => 'crit'
-                     );
-    }
-
-    return $CurrentUser;
-}
-# }}}
-
-# {{{ ParseCcAddressesFromHead 
-
-=head2 ParseCcAddressesFromHead HASHREF
-
-Takes a hashref object containing QueueObj, Head and CurrentUser objects.
-Returns a list of all email addresses in the To and Cc 
-headers b<except> the current Queue\'s email addresses, the CurrentUser\'s 
-email address  and anything that the configuration sub RT::IsRTAddress matches.
-
-=cut
-  
-sub ParseCcAddressesFromHead {
-    my %args = ( Head => undef,
-                QueueObj => undef,
-                CurrentUser => undef,
-                @_ );
-    
-    my (@Addresses);
-        
-    my @ToObjs = Mail::Address->parse($args{'Head'}->get('To'));
-    my @CcObjs = Mail::Address->parse($args{'Head'}->get('Cc'));
-    
-    foreach my $AddrObj (@ToObjs, @CcObjs) {
-       my $Address = $AddrObj->address;
-       $Address = $args{'CurrentUser'}->UserObj->CanonicalizeEmailAddress($Address);
-       next if ($args{'CurrentUser'}->EmailAddress =~ /^\Q$Address\E$/i);
-       next if ($args{'QueueObj'}->CorrespondAddress =~ /^\Q$Address\E$/i);
-       next if ($args{'QueueObj'}->CommentAddress =~ /^\Q$Address\E$/i);
-       next if (RT::EmailParser->IsRTAddress($Address));
-       
-       push (@Addresses, $Address);
-    }
-    return (@Addresses);
-}
-
-
-# }}}
-
-# {{{ ParseSenderAdddressFromHead
-
-=head2 ParseSenderAddressFromHead
-
-Takes a MIME::Header object. Returns a tuple: (user@host, friendly name) 
-of the From (evaluated in order of Reply-To:, From:, Sender)
-
-=cut
-
-sub ParseSenderAddressFromHead {
-    my $head = shift;
-    #Figure out who's sending this message.
-    my $From = $head->get('Reply-To') || 
-      $head->get('From') || 
-       $head->get('Sender');
-    return (ParseAddressFromHeader($From));
-}
-# }}}
-
-# {{{ ParseErrorsToAdddressFromHead
-
-=head2 ParseErrorsToAddressFromHead
-
-Takes a MIME::Header object. Return a single value : user@host
-of the From (evaluated in order of Errors-To:,Reply-To:, From:, Sender)
-
-=cut
-
-sub ParseErrorsToAddressFromHead {
-    my $head = shift;
-    #Figure out who's sending this message.
-
-    foreach my $header ('Errors-To' , 'Reply-To', 'From', 'Sender' ) {
-       # If there's a header of that name
-       my $headerobj = $head->get($header);
-       if ($headerobj) {
-               my ($addr, $name ) = ParseAddressFromHeader($headerobj);
-               # If it's got actual useful content...
-               return ($addr) if ($addr);
-       }
-    }
-}
-# }}}
-
-# {{{ ParseAddressFromHeader
-
-=head2 ParseAddressFromHeader ADDRESS
-
-Takes an address from $head->get('Line') and returns a tuple: user@host, friendly name
-
-=cut
-
-
-sub ParseAddressFromHeader{
-    my $Addr = shift;
-    
-    # Perl 5.8.0 breaks when doing regex matches on utf8
-    Encode::_utf8_off($Addr) if $] == 5.008;
-    my @Addresses = Mail::Address->parse($Addr);
-    
-    my $AddrObj = $Addresses[0];
-
-    unless (ref($AddrObj)) {
-       return(undef,undef);
-    }
-    my $Name =  ($AddrObj->phrase || $AddrObj->comment || $AddrObj->address);
-    
-    #Lets take the from and load a user object.
-    my $Address = $AddrObj->address;
-
-    return ($Address, $Name);
-}
-# }}}
-
-# {{{ sub ParseTicketId 
-
-
-sub ParseTicketId {
-    my $Subject = shift;
-    my $id;
-
-    my $test_name = $RT::EmailSubjectTagRegex || qr/\Q$RT::rtname\E/;
-
-    if ( $Subject =~ s/\[$test_name\s+\#(\d+)\s*\]//i ) {
-        my $id = $1;
-        $RT::Logger->debug("Found a ticket ID. It's $id");
-        return ($id);
-    }
-    else {
-        return (undef);
-    }
-}
-
-# }}}
-
-
-=head2 Gateway ARGSREF
-
-
-Takes parameters:
-
-    action
-    queue
-    message
-
-
-This performs all the "guts" of the mail rt-mailgate program, and is
-designed to be called from the web interface with a message, user
-object, and so on.
-
-Can also take an optional 'ticket' parameter; this ticket id overrides
-any ticket id found in the subject.
-
-Returns:
-
-    An array of:
-    
-    (status code, message, optional ticket object)
-
-    status code is a numeric value.
-
-      for temporary failures, the status code should be -75
-
-      for permanent failures which are handled by RT, the status code 
-      should be 0
-    
-      for succces, the status code should be 1
-
-
-
-=cut
-
-sub Gateway {
-    my $argsref = shift;
-
-    my %args = %$argsref;
-
-    # Set some reasonable defaults
-    $args{'action'} ||= 'correspond';
-    $args{'queue'}  ||= '1';
-
-    # Validate the action
-    my ($status, @actions) = IsCorrectAction( $args{'action'} );
-    unless ( $status ) {
-
-        # Can't safely loc this. What object do we loc around?
-        $RT::Logger->crit("Mail gateway called with an invalid action paramenter '".$actions[0]."' for queue '".$args{'queue'}."'");
-
-        return ( -75, "Invalid 'action' parameter", undef );
-    }
-
-    my $parser = RT::EmailParser->new();
-
-    $parser->SmartParseMIMEEntityFromScalar( Message => $args{'message'});
-
-    if (!$parser->Entity()) {
-        MailError(
-            To          => $RT::OwnerEmail,
-            Subject     => "RT Bounce: Unparseable message",
-            Explanation => "RT couldn't process the message below",
-            Attach     => $args{'message'}
-        );
-
-        return(0,"Failed to parse this message. Something is likely badly wrong with the message");
-    }
-
-    my $Message = $parser->Entity();
-    my $head    = $Message->head;
-
-    my ( $CurrentUser, $AuthStat, $error );
-
-    # Initalize AuthStat so comparisons work correctly
-    $AuthStat = -9999999;
-
-    my $ErrorsTo = ParseErrorsToAddressFromHead($head);
-
-    my $MessageId = $head->get('Message-ID')
-      || "<no-message-id-" . time . rand(2000) . "\@.$RT::Organization>";
-
-    #Pull apart the subject line
-    my $Subject = $head->get('Subject') || '';
-    chomp $Subject;
-
-    $args{'ticket'} ||= ParseTicketId($Subject);
-
-    my $SystemTicket;
-    my $Right = 'CreateTicket';
-    if ( $args{'ticket'} ) {
-        $SystemTicket = RT::Ticket->new($RT::SystemUser);
-        $SystemTicket->Load( $args{'ticket'} );
-       # if there's an existing ticket, this must be a reply
-       $Right = 'ReplyToTicket';
-    }
-
-    #Set up a queue object
-    my $SystemQueueObj = RT::Queue->new($RT::SystemUser);
-    $SystemQueueObj->Load( $args{'queue'} );
-
-    # We can safely have no queue of we have a known-good ticket
-    unless ( $args{'ticket'} || $SystemQueueObj->id ) {
-        return ( -75, "RT couldn't find the queue: " . $args{'queue'}, undef );
-    }
-
-    # Authentication Level
-    # -1 - Get out.  this user has been explicitly declined
-    # 0 - User may not do anything (Not used at the moment)
-    # 1 - Normal user
-    # 2 - User is allowed to specify status updates etc. a la enhanced-mailgate
-
-    push @RT::MailPlugins, "Auth::MailFrom" unless @RT::MailPlugins;
-
-    # Since this needs loading, no matter what
-
-    foreach (@RT::MailPlugins) {
-        my $Code;
-        my $NewAuthStat;
-        if ( ref($_) eq "CODE" ) {
-            $Code = $_;
-        }
-        else {
-            $_ = "RT::Interface::Email::".$_ unless $_ =~ /^RT::Interface::Email::/;
-            eval "require $_;";
-            if ($@) {
-                $RT::Logger->crit("Couldn't load module '$_': $@");
-                next;
-            }
-            no strict 'refs';
-            if ( !defined( $Code = *{ $_ . "::GetCurrentUser" }{CODE} ) ) {
-                $RT::Logger->crit("No GetCurrentUser code found in $_ module");
-                next;
-            }
-        }
-
-       foreach my $action ( @actions ) {
-
-            ( $CurrentUser, $NewAuthStat ) = $Code->(
-                Message     => $Message,
-                RawMessageRef => \$args{'message'},
-                CurrentUser => $CurrentUser,
-                AuthLevel   => $AuthStat,
-                Action      => $action,
-                Ticket      => $SystemTicket,
-                Queue       => $SystemQueueObj
-            );
-
-
-            # If a module returns a "-1" then we discard the ticket, so.
-            $AuthStat = -1 if $NewAuthStat == -1;
-
-            # You get the highest level of authentication you were assigned.
-            $AuthStat = $NewAuthStat if $NewAuthStat > $AuthStat;
-
-            last if $AuthStat == -1;
-       }
-
-        last if $AuthStat == -1;
-    }
-
-    # {{{ If authentication fails and no new user was created, get out.
-    if ( !$CurrentUser or !$CurrentUser->Id or $AuthStat == -1 ) {
-
-        # If the plugins refused to create one, they lose.
-        unless ( $AuthStat == -1 ) {
-
-            # Notify the RT Admin of the failure.
-            # XXX Should this be configurable?
-            MailError(
-                To          => $RT::OwnerEmail,
-                Subject     => "Could not load a valid user",
-                Explanation => <<EOT,
-RT could not load a valid user, and RT's configuration does not allow
-for the creation of a new user for this email ($ErrorsTo).
-
-You might need to grant 'Everyone' the right '$Right' for the
-queue @{[$args{'queue'}]}.
-
-EOT
-                MIMEObj  => $Message,
-                LogLevel => 'error'
-            );
-
-            # Also notify the requestor that his request has been dropped.
-            MailError(
-                To          => $ErrorsTo,
-                Subject     => "Could not load a valid user",
-                Explanation => <<EOT,
-RT could not load a valid user, and RT's configuration does not allow
-for the creation of a new user for your email.
-
-EOT
-                MIMEObj  => $Message,
-                LogLevel => 'error'
-            );
-        }
-        return ( 0, "Could not load a valid user", undef );
-    }
-
-    # }}}
-
-    # {{{ Lets check for mail loops of various sorts.
-    my $IsAutoGenerated = CheckForAutoGenerated($head);
-
-    my $IsSuspiciousSender = CheckForSuspiciousSender($head);
-
-    my $IsALoop = CheckForLoops($head);
-
-    my $SquelchReplies = 0;
-
-    #If the message is autogenerated, we need to know, so we can not
-    # send mail to the sender
-    if ( $IsSuspiciousSender || $IsAutoGenerated || $IsALoop ) {
-        $SquelchReplies = 1;
-        $ErrorsTo       = $RT::OwnerEmail;
-    }
-
-    # }}}
-
-    # {{{ Drop it if it's disallowed
-    if ( $AuthStat == 0 ) {
-        MailError(
-            To          => $ErrorsTo,
-            Subject     => "Permission Denied",
-            Explanation => "You do not have permission to communicate with RT",
-            MIMEObj     => $Message
-        );
-    }
-
-    # }}}
-    # {{{ Warn someone  if it's a loop
-
-    # Warn someone if it's a loop, before we drop it on the ground
-    if ($IsALoop) {
-        $RT::Logger->crit("RT Recieved mail ($MessageId) from itself.");
-
-        #Should we mail it to RTOwner?
-        if ($RT::LoopsToRTOwner) {
-            MailError(
-                To          => $RT::OwnerEmail,
-                Subject     => "RT Bounce: $Subject",
-                Explanation => "RT thinks this message may be a bounce",
-                MIMEObj     => $Message
-            );
-        }
-
-        #Do we actually want to store it?
-        return ( 0, "Message Bounced", undef ) unless ($RT::StoreLoops);
-    }
-
-    # }}}
-
-    # {{{ Squelch replies if necessary
-    # Don't let the user stuff the RT-Squelch-Replies-To header.
-    if ( $head->get('RT-Squelch-Replies-To') ) {
-        $head->add(
-            'RT-Relocated-Squelch-Replies-To',
-            $head->get('RT-Squelch-Replies-To')
-        );
-        $head->delete('RT-Squelch-Replies-To');
-    }
-
-    if ($SquelchReplies) {
-
-        # Squelch replies to the sender, and also leave a clue to
-        # allow us to squelch ALL outbound messages. This way we
-        # can punt the logic of "what to do when we get a bounce"
-        # to the scrip. We might want to notify nobody. Or just
-        # the RT Owner. Or maybe all Privileged watchers.
-        my ( $Sender, $junk ) = ParseSenderAddressFromHead($head);
-        $head->add( 'RT-Squelch-Replies-To', $Sender );
-        $head->add( 'RT-DetectedAutoGenerated', 'true' );
-    }
-
-    # }}}
-
-    my $Ticket = RT::Ticket->new($CurrentUser);
-
-    # {{{ If we don't have a ticket Id, we're creating a new ticket
-    if ( (!$SystemTicket || !$SystemTicket->Id) && 
-           grep /^(comment|correspond)$/, @actions ) {
-
-        # {{{ Create a new ticket
-
-        my @Cc;
-        my @Requestors = ( $CurrentUser->id );
-
-        if ($RT::ParseNewMessageForTicketCcs) {
-            @Cc = ParseCcAddressesFromHead(
-                Head        => $head,
-                CurrentUser => $CurrentUser,
-                QueueObj    => $SystemQueueObj
-            );
-        }
-
-        my ( $id, $Transaction, $ErrStr ) = $Ticket->Create(
-            Queue     => $SystemQueueObj->Id,
-            Subject   => $Subject,
-            Requestor => \@Requestors,
-            Cc        => \@Cc,
-            MIMEObj   => $Message
-        );
-        if ( $id == 0 ) {
-            MailError(
-                To          => $ErrorsTo,
-                Subject     => "Ticket creation failed",
-                Explanation => $ErrStr,
-                MIMEObj     => $Message
-            );
-            $RT::Logger->error("Create failed: $id / $Transaction / $ErrStr ");
-            return ( 0, "Ticket creation failed", $Ticket );
-        }
-       # strip comments&corresponds from the actions we don't need record twice
-       @actions = grep !/^(comment|correspond)$/, @actions;
-       $args{'ticket'} = $id;
-
-        # }}}
-    }
-
-    $Ticket->Load( $args{'ticket'} );
-    unless ( $Ticket->Id ) {
-        my $message = "Could not find a ticket with id " . $args{'ticket'};
-        MailError(
-            To          => $ErrorsTo,
-            Subject     => "Message not recorded",
-            Explanation => $message,
-            MIMEObj     => $Message
-        );
-    
-        return ( 0, $message );
-    }
-
-    # }}}
-    foreach my $action( @actions ) {
-        #   If the action is comment, add a comment.
-        if ( $action =~ /^(comment|correspond)$/i ) {
-            my ( $status, $msg );
-            if ( $action =~ /^correspond$/i ) {
-                ( $status, $msg ) = $Ticket->Correspond( MIMEObj => $Message );
-            }
-            else {
-                ( $status, $msg ) = $Ticket->Comment( MIMEObj => $Message );
-            }
-            unless ($status) {
-    
-                #Warn the sender that we couldn't actually submit the comment.
-                MailError(
-                    To          => $ErrorsTo,
-                    Subject     => "Message not recorded",
-                    Explanation => $msg,
-                    MIMEObj     => $Message
-                );
-                return ( 0, "Message not recorded", $Ticket );
-            }
-        }
-        elsif ($RT::UnsafeEmailCommands && $action =~ /^take$/i ) {
-            my ( $status, $msg ) = $Ticket->SetOwner( $CurrentUser->id );
-            unless ($status) {
-    
-                #Warn the sender that we couldn't actually submit the comment.
-                MailError(
-                    To          => $ErrorsTo,
-                    Subject     => "Ticket not taken",
-                    Explanation => $msg,
-                    MIMEObj     => $Message
-                );
-                return ( 0, "Ticket not taken", $Ticket );
-            }
-        }
-        elsif ( $RT::UnsafeEmailCommands && $action =~ /^resolve$/i ) {
-            my ( $status, $msg ) = $Ticket->SetStatus( 'resolved' );
-            unless ($status) {
-                #Warn the sender that we couldn't actually submit the comment.
-                MailError(
-                    To          => $ErrorsTo,
-                    Subject     => "Ticket not resolved",
-                    Explanation => $msg,
-                    MIMEObj     => $Message
-                );
-                return ( 0, "Ticket not resolved", $Ticket );
-            }
-        }
-    
-        else {
-    
-            #Return mail to the sender with an error
-            MailError(
-                To          => $ErrorsTo,
-                Subject     => "RT Configuration error",
-                Explanation => "'"
-                  . $args{'action'}
-                  . "' not a recognized action."
-                  . " Your RT administrator has misconfigured "
-                  . "the mail aliases which invoke RT",
-                MIMEObj => $Message
-            );
-            $RT::Logger->crit( $args{'action'} . " type unknown for $MessageId" );
-            return (
-                -75,
-                "Configuration error: "
-                  . $args{'action'}
-                  . " not a recognized action",
-                $Ticket
-            );
-    
-        }
-    }
-
-    return ( 1, "Success", $Ticket );
-}
-
-sub IsCorrectAction
-{
-       my $action = shift;
-       my @actions = split /-/, $action;
-       foreach ( @actions ) {
-               return (0, $_) unless /^(?:comment|correspond|take|resolve)$/;
-       }
-       return (1, @actions);
-}
-
-
-eval "require RT::Interface::Email_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Email_Vendor.pm});
-eval "require RT::Interface::Email_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Email_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Interface/Email/Auth/GnuPG.pm b/rt/lib/RT/Interface/Email/Auth/GnuPG.pm
deleted file mode 100755 (executable)
index 2dfada7..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-#
-package RT::Interface::Email::Auth::GnuPG;
-use Mail::GnuPG;
-
-=head2 GetCurrentUser
-
-To use the gnupg-secured mail gateway, you need to do the following:
-
-Set up a gnupgp key directory with a pubring containing only the keys
-you care about and specify the following in your SiteConfig.pm
-
-Set($RT::GPGKeyDir, "/path/to/keyring-directory");
-@RT::MailPlugins = qw(Auth::MailFrom Auth::GnuPG Filter::TakeAction);
-
-
-
-=cut
-
-
-
-sub GetCurrentUser {
-    my %args = (
-        Message     => undef,
-        RawMessageRef     => undef,
-        CurrentUser => undef,
-        AuthLevel   => undef,
-        Ticket      => undef,
-        Queue       => undef,
-        Action      => undef,
-        @_
-    );
-
-    my ( $val, $key, $address,$gpg );
-
-    eval {
-
-        my $parser = RT::EmailParser->new();
-        $parser->SmartParseMIMEEntityFromScalar(Message => ${$args{'RawMessageRef'}}, Decode => 0);
-        $gpg = Mail::GnuPG->new( keydir => $RT::GPGKeyDir );
-        my $entity = $parser->Entity;
-        ( $val, $key, $address ) = $gpg->verify( $parser->Entity);
-          $RT::Logger->crit("Got $val - $key - $address");
-      };
-    
-        if ($@) {
-            $RT::Logger->crit($@);
-        }
-
-      unless ($address) {
-        $RT::Logger->crit( "Couldn't find a valid signature" . join ( "\n", @{ $gpg->{'last_message'} } ) );
-        return ( $args{'CurrentUser'}, $args{'AuthLevel'} );
-    }
-
-    my @addrs = Mail::Address->parse($address);
-    $address = $addrs[0]->address();
-
-    my $CurrentUser = RT::CurrentUser->new();
-    $CurrentUser->LoadByEmail($address);
-
-    if ( $CurrentUser->Id ) {
-        $RT::Logger->crit($address . " authenticated via PGP signature");
-        return ( $CurrentUser, 2 );
-    }
-
-}
-
-eval "require RT::Interface::Email::Auth::GnuPG_Vendor";
-die $@
-  if ( $@
-    && $@ !~ qr{^Can't locate RT/Interface/Email/Auth/GnuPG_Vendor.pm} );
-eval "require RT::Interface::Email::Auth::GnuPG_Local";
-die $@
-  if ( $@
-    && $@ !~ qr{^Can't locate RT/Interface/Email/Auth/GnuPG_Local.pm} );
-
-1;
diff --git a/rt/lib/RT/Interface/Email/Auth/MailFrom.pm b/rt/lib/RT/Interface/Email/Auth/MailFrom.pm
deleted file mode 100644 (file)
index ef315dd..0000000
+++ /dev/null
@@ -1,182 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Interface::Email::Auth::MailFrom;
-use RT::Interface::Email qw(ParseSenderAddressFromHead CreateUser);
-
-# This is what the ordinary, non-enhanced gateway does at the moment.
-
-sub GetCurrentUser {
-    my %args = ( Message     => undef,
-                 CurrentUser => undef,
-                 AuthLevel   => undef,
-                 Ticket      => undef,
-                 Queue       => undef,
-                 Action      => undef,
-                 @_ );
-
-
-    # We don't need to do any external lookups
-    my ( $Address, $Name ) = ParseSenderAddressFromHead( $args{'Message'}->head );
-    my $CurrentUser = RT::CurrentUser->new();
-    $CurrentUser->LoadByEmail($Address);
-
-    unless ( $CurrentUser->Id ) {
-        $CurrentUser->LoadByName($Address);
-    }
-
-    if ( $CurrentUser->Id ) {
-        return ( $CurrentUser, 1 );
-    }
-    
-
-
-    # If the user can't be loaded, we may need to create one. Figure out the acl situation.
-    my $unpriv = RT::Group->new($RT::SystemUser);
-    $unpriv->LoadSystemInternalGroup('Unprivileged');
-    unless ( $unpriv->Id ) {
-        $RT::Logger->crit( "Auth::MailFrom couldn't find the 'Unprivileged' internal group" );
-        return ( $args{'CurrentUser'}, -1 );
-    }
-
-    my $everyone = RT::Group->new($RT::SystemUser);
-    $everyone->LoadSystemInternalGroup('Everyone');
-    unless ( $everyone->Id ) {
-        $RT::Logger->crit( "Auth::MailFrom couldn't find the 'Everyone' internal group");
-        return ( $args{'CurrentUser'}, -1 );
-    }
-
-    # but before we do that, we need to make sure that the created user would have the right
-    # to do what we're doing.
-    if ( $args{'Ticket'} && $args{'Ticket'}->Id ) {
-        # We have a ticket. that means we're commenting or corresponding
-        if ( $args{'Action'} =~ /^comment$/i ) {
-
-            # check to see whether "Everyone" or "Unprivileged users" can comment on tickets
-            unless ( $everyone->PrincipalObj->HasRight(
-                                                      Object => $args{'Queue'},
-                                                      Right => 'CommentOnTicket'
-                     )
-                     || $unpriv->PrincipalObj->HasRight(
-                                                      Object => $args{'Queue'},
-                                                      Right => 'CommentOnTicket'
-                     )
-              ) {
-                return ( $args{'CurrentUser'}, 0 );
-            }
-        }
-        elsif ( $args{'Action'} =~ /^correspond$/i ) {
-
-            # check to see whether "Everybody" or "Unprivileged users" can correspond on tickets
-            unless ( $everyone->PrincipalObj->HasRight(Object => $args{'Queue'},
-                                                       Right  => 'ReplyToTicket'
-                     )
-                     || $unpriv->PrincipalObj->HasRight(
-                                                       Object => $args{'Queue'},
-                                                       Right  => 'ReplyToTicket'
-                     )
-              ) {
-                return ( $args{'CurrentUser'}, 0 );
-            }
-
-        }
-        elsif ( $args{'Action'} =~ /^take$/i ) {
-
-            # check to see whether "Everybody" or "Unprivileged users" can correspond on tickets
-            unless ( $everyone->PrincipalObj->HasRight(Object => $args{'Queue'},
-                                                       Right  => 'OwnTicket'
-                     )
-                     || $unpriv->PrincipalObj->HasRight(
-                                                       Object => $args{'Queue'},
-                                                       Right  => 'OwnTicket'
-                     )
-              ) {
-                return ( $args{'CurrentUser'}, 0 );
-            }
-
-        }
-        elsif ( $args{'Action'} =~ /^resolve$/i ) {
-
-            # check to see whether "Everybody" or "Unprivileged users" can correspond on tickets
-            unless ( $everyone->PrincipalObj->HasRight(Object => $args{'Queue'},
-                                                       Right  => 'ModifyTicket'
-                     )
-                     || $unpriv->PrincipalObj->HasRight(
-                                                       Object => $args{'Queue'},
-                                                       Right  => 'ModifyTicket'
-                     )
-              ) {
-                return ( $args{'CurrentUser'}, 0 );
-            }
-
-        }
-        else {
-            return ( $args{'CurrentUser'}, 0 );
-        }
-    }
-
-    # We're creating a ticket
-    elsif ( $args{'Queue'} && $args{'Queue'}->Id ) {
-
-        # check to see whether "Everybody" or "Unprivileged users" can create tickets in this queue
-        unless ( $everyone->PrincipalObj->HasRight( Object => $args{'Queue'},
-                                                    Right  => 'CreateTicket' )
-          ) {
-            return ( $args{'CurrentUser'}, 0 );
-        }
-
-    }
-
-    $CurrentUser = CreateUser( undef, $Address, $Name, $Address, $args{'Message'} );
-
-    return ( $CurrentUser, 1 );
-}
-
-eval "require RT::Interface::Email::Auth::MailFrom_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Email/Auth/MailFrom_Vendor.pm});
-eval "require RT::Interface::Email::Auth::MailFrom_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Email/Auth/MailFrom_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Interface/Email/Filter/SpamAssassin.pm b/rt/lib/RT/Interface/Email/Filter/SpamAssassin.pm
deleted file mode 100644 (file)
index c552d76..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Interface::Email::Filter::SpamAssassin;
-
-use Mail::SpamAssassin;
-my $spamtest = Mail::SpamAssassin->new();
-
-sub GetCurrentUser {
-    my %args = (
-        Message     => undef,
-        CurrentUser => undef,
-        AuthLevel   => undef,
-        @_
-    );
-    my $status = $spamtest->check( $args{'Message'} );
-    return ( $args{'CurrentUser'}, $args{'AuthLevel'} )
-      unless $status->is_spam();
-
-    eval { $status->rewrite_mail() };
-    if ( $status->get_hits > $status->get_required_hits() * 1.5 ) {
-
-        # Spammy indeed
-        return ( $args{'CurrentUser'}, -1 );
-    }
-    return ( $args{'CurrentUser'}, $args{'AuthLevel'} );
-
-}
-
-=head1 NAME
-
-RT::Interface::Email::Filter::SpamAssassin - Spam filter for RT
-
-=head1 SYNOPSIS
-
-    @RT::MailPlugins = ("Filter::SpamAssassin", ...);
-
-=head1 DESCRIPTION
-
-This plugin checks to see if an incoming mail is spam (using
-C<spamassassin>) and if so, rewrites its headers. If the mail is very
-definitely spam - 1.5x more hits than required - then it is dropped on
-the floor; otherwise, it is passed on as normal.
-
-=cut
-
-eval "require RT::Interface::Email::Filter::SpamAssassin_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Email/Filter/SpamAssassin_Vendor.pm});
-eval "require RT::Interface::Email::Filter::SpamAssassin_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Email/Filter/SpamAssassin_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Interface/REST.pm b/rt/lib/RT/Interface/REST.pm
deleted file mode 100644 (file)
index 279ddf4..0000000
+++ /dev/null
@@ -1,274 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# lib/RT/Interface/REST.pm
-#
-
-package RT::Interface::REST;
-use strict;
-use RT;
-
-BEGIN {
-    use Exporter ();
-    use vars qw($VERSION @ISA @EXPORT);
-
-    $VERSION = do { my @r = (q$Revision: 1.1.1.3 $ =~ /\d+/g); sprintf "%d."."%02d"x$#r, @r };
-
-    @ISA = qw(Exporter);
-    @EXPORT = qw(expand_list form_parse form_compose vpush vsplit);
-}
-
-my $field = '[a-zA-Z][a-zA-Z0-9_-]*';
-
-sub expand_list {
-    my ($list) = @_;
-    my ($elt, @elts, %elts);
-
-    foreach $elt (split /,/, $list) {
-        if ($elt =~ /^(\d+)-(\d+)$/) { push @elts, ($1..$2) }
-        else                         { push @elts, $elt }
-    }
-
-    @elts{@elts}=();
-    return sort {$a<=>$b} keys %elts;
-}
-
-# Returns a reference to an array of parsed forms.
-sub form_parse {
-    my $state = 0;
-    my @forms = ();
-    my @lines = split /\n/, $_[0];
-    my ($c, $o, $k, $e) = ("", [], {}, "");
-
-    LINE:
-    while (@lines) {
-        my $line = shift @lines;
-
-        next LINE if $line eq '';
-
-        if ($line eq '--') {
-            # We reached the end of one form. We'll ignore it if it was
-            # empty, and store it otherwise, errors and all.
-            if ($e || $c || @$o) {
-                push @forms, [ $c, $o, $k, $e ];
-                $c = ""; $o = []; $k = {}; $e = "";
-            }
-            $state = 0;
-        }
-        elsif ($state != -1) {
-            if ($state == 0 && $line =~ /^#/) {
-                # Read an optional block of comments (only) at the start
-                # of the form.
-                $state = 1;
-                $c = $line;
-                while (@lines && $lines[0] =~ /^#/) {
-                    $c .= "\n".shift @lines;
-                }
-                $c .= "\n";
-            }
-            elsif ($state <= 1 && $line =~ /^($field):(?:\s+(.*))?$/) {
-                # Read a field: value specification.
-                my $f  = $1;
-                my @v  = ($2 || ());
-
-                # Read continuation lines, if any.
-                while (@lines && ($lines[0] eq '' || $lines[0] =~ /^\s+/)) {
-                    push @v, shift @lines;
-                }
-                pop @v while (@v && $v[-1] eq '');
-
-                # Strip longest common leading indent from text.
-                my ($ws, $ls) = ("");
-                foreach $ls (map {/^(\s+)/} @v[1..$#v]) {
-                    $ws = $ls if (!$ws || length($ls) < length($ws));
-                }
-                s/^$ws// foreach @v;
-
-                push(@$o, $f) unless exists $k->{$f};
-                vpush($k, $f, join("\n", @v));
-
-                $state = 1;
-            }
-            elsif ($line !~ /^#/) {
-                # We've found a syntax error, so we'll reconstruct the
-                # form parsed thus far, and add an error marker. (>>)
-                $state = -1;
-                $e = form_compose([[ "", $o, $k, "" ]]);
-                $e.= $line =~ /^>>/ ? "$line\n" : ">> $line\n";
-            }
-        }
-        else {
-            # We saw a syntax error earlier, so we'll accumulate the
-            # contents of this form until the end.
-            $e .= "$line\n";
-        }
-    }
-    push(@forms, [ $c, $o, $k, $e ]) if ($e || $c || @$o);
-
-    my $l;
-    foreach $l (keys %$k) {
-        $k->{$l} = vsplit($k->{$l}) if (ref $k->{$l} eq 'ARRAY');
-    }
-
-    return \@forms;
-}
-
-# Returns text representing a set of forms.
-sub form_compose {
-    my ($forms) = @_;
-    my (@text, $form);
-
-    foreach $form (@$forms) {
-        my ($c, $o, $k, $e) = @$form;
-        my $text = "";
-
-        if ($c) {
-            $c =~ s/\n*$/\n/;
-            $text = "$c\n";
-        }
-        if ($e) {
-            $text .= $e;
-        }
-        elsif ($o) {
-            my (@lines, $key);
-
-            foreach $key (@$o) {
-                my ($line, $sp, $v);
-                my @values = (ref $k->{$key} eq 'ARRAY') ?
-                               @{ $k->{$key} } :
-                                  $k->{$key};
-
-                $sp = " "x(length("$key: "));
-                $sp = " "x4 if length($sp) > 16;
-
-                foreach $v (@values) {
-                    if ($v =~ /\n/) {
-                        $v =~ s/^/$sp/gm;
-                        $v =~ s/^$sp//;
-
-                        if ($line) {
-                            push @lines, "$line\n\n";
-                            $line = "";
-                        }
-                        elsif (@lines && $lines[-1] !~ /\n\n$/) {
-                            $lines[-1] .= "\n";
-                        }
-                        push @lines, "$key: $v\n\n";
-                    }
-                    elsif ($line &&
-                           length($line)+length($v)-rindex($line, "\n") >= 70)
-                    {
-                        $line .= ",\n$sp$v";
-                    }
-                    else {
-                        $line = $line ? "$line, $v" : "$key: $v";
-                    }
-                }
-
-                $line = "$key:" unless @values;
-                if ($line) {
-                    if ($line =~ /\n/) {
-                        if (@lines && $lines[-1] !~ /\n\n$/) {
-                            $lines[-1] .= "\n";
-                        }
-                        $line .= "\n";
-                    }
-                    push @lines, "$line\n";
-                }
-            }
-
-            $text .= join "", @lines;
-        }
-        else {
-            chomp $text;
-        }
-        push @text, $text;
-    }
-
-    return join "\n--\n\n", @text;
-}
-
-# Add a value to a (possibly multi-valued) hash key.
-sub vpush {
-    my ($hash, $key, $val) = @_;
-    my @val = ref $val eq 'ARRAY' ? @$val : $val;
-
-    if (exists $hash->{$key}) {
-        unless (ref $hash->{$key} eq 'ARRAY') {
-            my @v = $hash->{$key} ne '' ? $hash->{$key} : ();
-            $hash->{$key} = \@v;
-        }
-        push @{ $hash->{$key} }, @val;
-    }
-    else {
-        $hash->{$key} = $val;
-    }
-}
-
-# "Normalise" a hash key that's known to be multi-valued.
-sub vsplit {
-    my ($val) = @_;
-    my ($line, $word, @words);
-
-    foreach $line (map {split /\n/} (ref $val eq 'ARRAY') ? @$val : $val)
-    {
-        # XXX: This should become a real parser, à la Text::ParseWords.
-        $line =~ s/^\s+//;
-        $line =~ s/\s+$//;
-        push @words, split /\s*,\s*/, $line;
-    }
-
-    return \@words;
-}
-
-1;
-
-=head1 NAME
-
-  RT::Interface::REST - helper functions for the REST interface.
-
-=head1 SYNOPSIS
-
-  Only the REST should use this module.
diff --git a/rt/lib/RT/Interface/Web.pm b/rt/lib/RT/Interface/Web.pm
deleted file mode 100644 (file)
index 724d7e5..0000000
+++ /dev/null
@@ -1,1548 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-## Portions Copyright 2000 Tobias Brox <tobix@fsck.com>
-
-## This is a library of static subs to be used by the Mason web
-## interface to RT
-
-
-=head1 NAME
-
-RT::Interface::Web
-
-=begin testing
-
-use_ok(RT::Interface::Web);
-
-=end testing
-
-=cut
-
-
-package RT::Interface::Web;
-use strict;
-
-
-
-# {{{ EscapeUTF8
-
-=head2 EscapeUTF8 SCALARREF
-
-does a css-busting but minimalist escaping of whatever html you're passing in.
-
-=cut
-
-sub EscapeUTF8  {
-        my  $ref = shift;
-        return unless defined $$ref;
-        my $val = $$ref;
-        use bytes;
-        $val =~ s/&/&#38;/g;
-        $val =~ s/</&lt;/g; 
-        $val =~ s/>/&gt;/g;
-        $val =~ s/\(/&#40;/g;
-        $val =~ s/\)/&#41;/g;
-        $val =~ s/"/&#34;/g;
-        $val =~ s/'/&#39;/g;
-        $$ref = $val;
-        Encode::_utf8_on($$ref);
-
-
-}
-
-# }}}
-
-# {{{ EscapeURI
-
-=head2 EscapeURI SCALARREF
-
-Escapes URI component according to RFC2396
-
-=cut
-
-use Encode qw();
-sub EscapeURI {
-    my $ref = shift;
-    $$ref = Encode::encode_utf8( $$ref );
-    $$ref =~ s/([^a-zA-Z0-9_.!~*'()-])/uc sprintf("%%%02X", ord($1))/eg;
-    Encode::_utf8_on( $$ref );
-}
-
-# }}}
-
-# {{{ WebCanonicalizeInfo
-
-=head2 WebCanonicalizeInfo();
-
-Different web servers set different environmental varibles. This
-function must return something suitable for REMOTE_USER. By default,
-just downcase $ENV{'REMOTE_USER'}
-
-=cut
-
-sub WebCanonicalizeInfo {
-    my $user;
-
-    if ( defined $ENV{'REMOTE_USER'} ) {
-       $user = lc ( $ENV{'REMOTE_USER'} ) if( length($ENV{'REMOTE_USER'}) );
-    }
-
-    return $user;
-}
-
-# }}}
-
-# {{{ WebExternalAutoInfo
-
-=head2 WebExternalAutoInfo($user);
-
-Returns a hash of user attributes, used when WebExternalAuto is set.
-
-=cut
-
-sub WebExternalAutoInfo {
-    my $user = shift;
-
-    my %user_info;
-
-    $user_info{'Privileged'} = 1;
-
-    if ($^O !~ /^(?:riscos|MacOS|MSWin32|dos|os2)$/) {
-       # Populate fields with information from Unix /etc/passwd
-
-       my ($comments, $realname) = (getpwnam($user))[5, 6];
-       $user_info{'Comments'} = $comments if defined $comments;
-       $user_info{'RealName'} = $realname if defined $realname;
-    }
-    elsif ($^O eq 'MSWin32' and eval 'use Net::AdminMisc; 1') {
-       # Populate fields with information from NT domain controller
-    }
-
-    # and return the wad of stuff
-    return {%user_info};
-}
-
-# }}}
-
-
-package HTML::Mason::Commands;
-use strict;
-use vars qw/$r $m %session/;
-
-
-# {{{ loc
-
-=head2 loc ARRAY
-
-loc is a nice clean global routine which calls $session{'CurrentUser'}->loc()
-with whatever it's called with. If there is no $session{'CurrentUser'}, 
-it creates a temporary user, so we have something to get a localisation handle
-through
-
-=cut
-
-sub loc {
-
-    if ($session{'CurrentUser'} && 
-        UNIVERSAL::can($session{'CurrentUser'}, 'loc')){
-        return($session{'CurrentUser'}->loc(@_));
-    }
-    elsif ( my $u = eval { RT::CurrentUser->new($RT::SystemUser->Id) } ) {
-        return ($u->loc(@_));
-    }
-    else {
-       # pathetic case -- SystemUser is gone.
-       return $_[0];
-    }
-}
-
-# }}}
-
-
-# {{{ loc_fuzzy
-
-=head2 loc_fuzzy STRING
-
-loc_fuzzy is for handling localizations of messages that may already
-contain interpolated variables, typically returned from libraries
-outside RT's control.  It takes the message string and extracts the
-variable array automatically by matching against the candidate entries
-inside the lexicon file.
-
-=cut
-
-sub loc_fuzzy {
-    my $msg  = shift;
-    
-    if ($session{'CurrentUser'} && 
-        UNIVERSAL::can($session{'CurrentUser'}, 'loc')){
-        return($session{'CurrentUser'}->loc_fuzzy($msg));
-    }
-    else  {
-        my $u = RT::CurrentUser->new($RT::SystemUser->Id);
-        return ($u->loc_fuzzy($msg));
-    }
-}
-
-# }}}
-
-
-# {{{ sub Abort
-# Error - calls Error and aborts
-sub Abort {
-
-    if ($session{'ErrorDocument'} && 
-        $session{'ErrorDocumentType'}) {
-        $r->content_type($session{'ErrorDocumentType'});
-        $m->comp($session{'ErrorDocument'} , Why => shift);
-        $m->abort;
-    } 
-    else  {
-        $m->comp("/Elements/Error" , Why => shift);
-        $m->abort;
-    }
-}
-
-# }}}
-
-# {{{ sub CreateTicket 
-
-=head2 CreateTicket ARGS
-
-Create a new ticket, using Mason's %ARGS.  returns @results.
-
-=cut
-
-sub CreateTicket {
-    my %ARGS = (@_);
-
-    my (@Actions);
-
-    my $Ticket = new RT::Ticket( $session{'CurrentUser'} );
-
-    my $Queue = new RT::Queue( $session{'CurrentUser'} );
-    unless ( $Queue->Load( $ARGS{'Queue'} ) ) {
-        Abort('Queue not found');
-    }
-
-    unless ( $Queue->CurrentUserHasRight('CreateTicket') ) {
-        Abort('You have no permission to create tickets in that queue.');
-    }
-
-    my $due = new RT::Date( $session{'CurrentUser'} );
-    $due->Set( Format => 'unknown', Value => $ARGS{'Due'} );
-    my $starts = new RT::Date( $session{'CurrentUser'} );
-    $starts->Set( Format => 'unknown', Value => $ARGS{'Starts'} );
-
-    my @Requestors = split ( /\s*,\s*/, $ARGS{'Requestors'} );
-    my @Cc         = split ( /\s*,\s*/, $ARGS{'Cc'} );
-    my @AdminCc    = split ( /\s*,\s*/, $ARGS{'AdminCc'} );
-
-    my $MIMEObj = MakeMIMEEntity(
-        Subject             => $ARGS{'Subject'},
-        From                => $ARGS{'From'},
-        Cc                  => $ARGS{'Cc'},
-        Body                => $ARGS{'Content'},
-    );
-
-    if ($ARGS{'Attachments'}) {
-        $MIMEObj->make_multipart;
-        $MIMEObj->add_part($_) foreach values %{$ARGS{'Attachments'}};
-    }
-
-    my %create_args = (
-        Type            => $ARGS{'Type'} || 'ticket',
-        Queue           => $ARGS{'Queue'},
-        Owner           => $ARGS{'Owner'},
-        InitialPriority => $ARGS{'InitialPriority'},
-        FinalPriority   => $ARGS{'FinalPriority'},
-        TimeLeft        => $ARGS{'TimeLeft'},
-        TimeEstimated        => $ARGS{'TimeEstimated'},
-        TimeWorked      => $ARGS{'TimeWorked'},
-        Requestor       => \@Requestors,
-        Cc              => \@Cc,
-        AdminCc         => \@AdminCc,
-        Subject         => $ARGS{'Subject'},
-        Status          => $ARGS{'Status'},
-        Due             => $due->ISO,
-        Starts          => $starts->ISO,
-        MIMEObj         => $MIMEObj
-    );
-    foreach my $arg (keys %ARGS) {
-            my $cfid = $1;
-
-            next if ($arg =~ /-Magic$/);
-       #Object-RT::Ticket--CustomField-3-Values
-        if ($arg =~ /^Object-RT::Transaction--CustomField-/) {
-            $create_args{$arg} = $ARGS{$arg};
-        }
-        elsif ($arg =~ /^Object-RT::Ticket--CustomField-(\d+)(.*?)$/) {
-            my $cfid = $1;
-            my $cf = RT::CustomField->new( $session{'CurrentUser'});
-            $cf->Load($cfid);
-
-            if ( $cf->Type eq 'Freeform' && ! $cf->SingleValue) {
-                $ARGS{$arg} =~ s/\r\n/\n/g;
-                $ARGS{$arg} = [split('\n', $ARGS{$arg})];
-            }
-
-            if ( $cf->Type =~ /text/i) { # Catch both Text and Wikitext
-                $ARGS{$arg} =~ s/\r//g;
-            }
-
-            if ( $arg =~ /-Upload$/ ) {
-                $create_args{"CustomField-".$cfid} = _UploadedFile($arg);
-            }
-            else {
-                $create_args{"CustomField-".$cfid} = $ARGS{"$arg"};
-            }
-        }
-    }
-
-
-    # XXX TODO This code should be about six lines. and badly needs refactoring.
-    # {{{ turn new link lists into arrays, and pass in the proper arguments
-    my (@dependson, @dependedonby, @parents, @children, @refersto, @referredtoby);
-
-    foreach my $luri ( split ( / /, $ARGS{"new-DependsOn"} ) ) {
-       $luri =~ s/\s*$//;    # Strip trailing whitespace
-       push @dependson, $luri;
-    }
-    $create_args{'DependsOn'} = \@dependson;
-
-    foreach my $luri ( split ( / /, $ARGS{"DependsOn-new"} ) ) {
-       push @dependedonby, $luri;
-    }
-    $create_args{'DependedOnBy'} = \@dependedonby;
-
-    foreach my $luri ( split ( / /, $ARGS{"new-MemberOf"} ) ) {
-       $luri =~ s/\s*$//;    # Strip trailing whitespace
-       push @parents, $luri;
-    }
-    $create_args{'Parents'} = \@parents;
-
-    foreach my $luri ( split ( / /, $ARGS{"MemberOf-new"} ) ) {
-       push @children, $luri;
-    }
-    $create_args{'Children'} = \@children;
-
-    foreach my $luri ( split ( / /, $ARGS{"new-RefersTo"} ) ) {
-       $luri =~ s/\s*$//;    # Strip trailing whitespace
-       push @refersto, $luri;
-    }
-    $create_args{'RefersTo'} = \@refersto;
-
-    foreach my $luri ( split ( / /, $ARGS{"RefersTo-new"} ) ) {
-       push @referredtoby, $luri;
-    }
-    $create_args{'ReferredToBy'} = \@referredtoby;
-    # }}}
-  
-    my ( $id, $Trans, $ErrMsg ) = $Ticket->Create(%create_args);
-    unless ( $id && $Trans ) {
-        Abort($ErrMsg);
-    }
-
-    push ( @Actions, split("\n", $ErrMsg) );
-    unless ( $Ticket->CurrentUserHasRight('ShowTicket') ) {
-        Abort( "No permission to view newly created ticket #"
-            . $Ticket->id . "." );
-    }
-    return ( $Ticket, @Actions );
-
-}
-
-# }}}
-
-# {{{ sub LoadTicket - loads a ticket
-
-=head2  LoadTicket id
-
-Takes a ticket id as its only variable. if it's handed an array, it takes
-the first value.
-
-Returns an RT::Ticket object as the current user.
-
-=cut
-
-sub LoadTicket {
-    my $id = shift;
-
-    if ( ref($id) eq "ARRAY" ) {
-        $id = $id->[0];
-    }
-
-    unless ($id) {
-        Abort("No ticket specified");
-    }
-
-    my $Ticket = RT::Ticket->new( $session{'CurrentUser'} );
-    $Ticket->Load($id);
-    unless ( $Ticket->id ) {
-        Abort("Could not load ticket $id");
-    }
-    return $Ticket;
-}
-
-# }}}
-
-# {{{ sub ProcessUpdateMessage
-
-sub ProcessUpdateMessage {
-
-    #TODO document what else this takes.
-    my %args = (
-        ARGSRef   => undef,
-        Actions   => undef,
-        TicketObj => undef,
-        @_
-    );
-
-    #Make the update content have no 'weird' newlines in it
-    if (   $args{ARGSRef}->{'UpdateTimeWorked'}
-        || $args{ARGSRef}->{'UpdateContent'}
-        || $args{ARGSRef}->{'UpdateAttachments'} )
-    {
-
-        if (
-            $args{ARGSRef}->{'UpdateSubject'} eq $args{'TicketObj'}->Subject() )
-        {
-            $args{ARGSRef}->{'UpdateSubject'} = undef;
-        }
-
-        my $Message = MakeMIMEEntity(
-            Subject => $args{ARGSRef}->{'UpdateSubject'},
-            Body    => $args{ARGSRef}->{'UpdateContent'},
-        );
-
-        $Message->head->add( 'Message-ID' => 
-              "<rt-"
-              . $RT::VERSION . "-"
-              . $$ . "-"
-              . CORE::time() . "-"
-              . int(rand(2000)) . "."
-              . $args{'TicketObj'}->id . "-"
-              . "0" . "-"  # Scrip
-              . "0" . "@"  # Email sent
-              . $RT::Organization
-              . ">" );
-        my $old_txn = RT::Transaction->new( $session{'CurrentUser'} );
-        if ( $args{ARGSRef}->{'QuoteTransaction'} ) {
-            $old_txn->Load( $args{ARGSRef}->{'QuoteTransaction'} );
-        }
-        else {
-            $old_txn = $args{TicketObj}->Transactions->First();
-        }
-
-        if ( $old_txn->Message && $old_txn->Message->First ) {
-            my @in_reply_to = split(/\s+/m, $old_txn->Message->First->GetHeader('In-Reply-To') || '');  
-            my @references = split(/\s+/m, $old_txn->Message->First->GetHeader('References') || '' );  
-            my @msgid = split(/\s+/m,$old_txn->Message->First->GetHeader('Message-ID') || ''); 
-            my @rtmsgid = split(/\s+/m,$old_txn->Message->First->GetHeader('RT-Message-ID') || ''); 
-
-            $Message->head->replace( 'In-Reply-To', join (' ', @rtmsgid ? @rtmsgid : @msgid));
-            $Message->head->replace( 'References', join(' ', @references, @msgid, @rtmsgid));
-        }
-
-    if ( $args{ARGSRef}->{'UpdateAttachments'} ) {
-        $Message->make_multipart;
-        $Message->add_part($_)
-          foreach values %{ $args{ARGSRef}->{'UpdateAttachments'} };
-    }
-
-    ## TODO: Implement public comments
-    if ( $args{ARGSRef}->{'UpdateType'} =~ /^(private|public)$/ ) {
-        my ( $Transaction, $Description, $Object ) = $args{TicketObj}->Comment(
-            CcMessageTo  => $args{ARGSRef}->{'UpdateCc'},
-            BccMessageTo => $args{ARGSRef}->{'UpdateBcc'},
-            MIMEObj      => $Message,
-            TimeTaken    => $args{ARGSRef}->{'UpdateTimeWorked'}
-        );
-        push( @{ $args{Actions} }, $Description );
-        $Object->UpdateCustomFields( ARGSRef => $args{ARGSRef} ) if $Object;
-    }
-    elsif ( $args{ARGSRef}->{'UpdateType'} eq 'response' ) {
-        my ( $Transaction, $Description, $Object ) =
-          $args{TicketObj}->Correspond(
-            CcMessageTo  => $args{ARGSRef}->{'UpdateCc'},
-            BccMessageTo => $args{ARGSRef}->{'UpdateBcc'},
-            MIMEObj      => $Message,
-            TimeTaken    => $args{ARGSRef}->{'UpdateTimeWorked'}
-          );
-        push( @{ $args{Actions} }, $Description );
-        $Object->UpdateCustomFields( ARGSRef => $args{ARGSRef} ) if $Object;
-    }
-    else {
-        push(
-            @{ $args{'Actions'} },
-            loc("Update type was neither correspondence nor comment.") . " "
-              . loc("Update not recorded.")
-        );
-    }
-}
-}
-
-# }}}
-
-# {{{ sub MakeMIMEEntity
-
-=head2 MakeMIMEEntity PARAMHASH
-
-Takes a paramhash Subject, Body and AttachmentFieldName.
-
-  Returns a MIME::Entity.
-
-=cut
-
-sub MakeMIMEEntity {
-
-    #TODO document what else this takes.
-    my %args = (
-        Subject             => undef,
-        From                => undef,
-        Cc                  => undef,
-        Body                => undef,
-        AttachmentFieldName => undef,
-#        map Encode::encode_utf8($_), @_,
-        @_,
-    );
-
-    #Make the update content have no 'weird' newlines in it
-
-    $args{'Body'} =~ s/\r\n/\n/gs;
-    my $Message;
-    {
-        # MIME::Head is not happy in utf-8 domain.  This only happens
-        # when processing an incoming email (so far observed).
-        no utf8;
-        use bytes;
-        $Message = MIME::Entity->build(
-            Subject => $args{'Subject'} || "",
-            From    => $args{'From'},
-            Cc      => $args{'Cc'},
-            Charset => 'utf8',
-            Data    => [ $args{'Body'} ]
-        );
-    }
-
-    my $cgi_object = $m->cgi_object;
-
-    if (my $filehandle = $cgi_object->upload( $args{'AttachmentFieldName'} ) ) {
-
-
-
-    use File::Temp qw(tempfile tempdir);
-
-    #foreach my $filehandle (@filenames) {
-
-    my ( $fh, $temp_file );
-    for ( 1 .. 10 ) {
-        # on NFS and NTFS, it is possible that tempfile() conflicts
-        # with other processes, causing a race condition. we try to
-        # accommodate this by pausing and retrying.
-        last if ($fh, $temp_file) = eval { tempfile( UNLINK => 1) };
-        sleep 1;
-    }
-
-    binmode $fh;    #thank you, windows
-    my ($buffer);
-    while ( my $bytesread = read( $filehandle, $buffer, 4096 ) ) {
-        print $fh $buffer;
-    }
-
-    my $uploadinfo = $cgi_object->uploadInfo($filehandle);
-
-    # Prefer the cached name first over CGI.pm stringification.
-    my $filename = $RT::Mason::CGI::Filename;
-    $filename = "$filehandle" unless defined($filename);
-                   
-    $filename =~ s#^.*[\\/]##;
-
-    $Message->attach(
-        Path     => $temp_file,
-        Filename => Encode::decode_utf8($filename),
-        Type     => $uploadinfo->{'Content-Type'},
-    );
-    close($fh);
-
-    #   }
-
-    }
-
-    $Message->make_singlepart();
-    RT::I18N::SetMIMEEntityToUTF8($Message); # convert text parts into utf-8
-
-    return ($Message);
-
-}
-
-# }}}
-
-# {{{ sub ProcessSearchQuery
-
-=head2 ProcessSearchQuery
-
-  Takes a form such as the one filled out in webrt/Search/Elements/PickRestriction and turns it into something that RT::Tickets can understand.
-
-TODO Doc exactly what comes in the paramhash
-
-
-=cut
-
-sub ProcessSearchQuery {
-    my %args = @_;
-
-    ## TODO: The only parameter here is %ARGS.  Maybe it would be
-    ## cleaner to load this parameter as $ARGS, and use $ARGS->{...}
-    ## instead of $args{ARGS}->{...} ? :)
-
-    #Searches are sticky.
-    if ( defined $session{'tickets'} ) {
-
-        # Reset the old search
-        $session{'tickets'}->GotoFirstItem;
-    }
-    else {
-
-        # Init a new search
-        $session{'tickets'} = RT::Tickets->new( $session{'CurrentUser'} );
-    }
-
-    #Import a bookmarked search if we have one
-    if ( defined $args{ARGS}->{'Bookmark'} ) {
-        $session{'tickets'}->ThawLimits( $args{ARGS}->{'Bookmark'} );
-    }
-
-    # {{{ Goto next/prev page
-    if ( $args{ARGS}->{'GotoPage'} eq 'Next' ) {
-        $session{'tickets'}->NextPage;
-    }
-    elsif ( $args{ARGS}->{'GotoPage'} eq 'Prev' ) {
-        $session{'tickets'}->PrevPage;
-    }
-    elsif ( $args{ARGS}->{'GotoPage'} > 0 ) {
-        $session{'tickets'}->GotoPage( $args{ARGS}->{GotoPage} - 1 );
-    }
-
-    # }}}
-
-    # {{{ Deal with limiting the search
-
-    if ( $args{ARGS}->{'RefreshSearchInterval'} ) {
-        $session{'tickets_refresh_interval'} =
-          $args{ARGS}->{'RefreshSearchInterval'};
-    }
-
-    if ( $args{ARGS}->{'TicketsSortBy'} ) {
-        $session{'tickets_sort_by'}    = $args{ARGS}->{'TicketsSortBy'};
-        $session{'tickets_sort_order'} = $args{ARGS}->{'TicketsSortOrder'};
-        $session{'tickets'}->OrderBy(
-            FIELD => $args{ARGS}->{'TicketsSortBy'},
-            ORDER => $args{ARGS}->{'TicketsSortOrder'}
-        );
-    }
-
-    # }}}
-
-    # {{{ Set the query limit
-    if ( defined $args{ARGS}->{'RowsPerPage'} ) {
-        $RT::Logger->debug(
-            "limiting to " . $args{ARGS}->{'RowsPerPage'} . " rows" );
-
-        $session{'tickets_rows_per_page'} = $args{ARGS}->{'RowsPerPage'};
-        $session{'tickets'}->RowsPerPage( $args{ARGS}->{'RowsPerPage'} );
-    }
-
-    # }}}
-    # {{{ Limit priority
-    if ( $args{ARGS}->{'ValueOfPriority'} ne '' ) {
-        $session{'tickets'}->LimitPriority(
-            VALUE    => $args{ARGS}->{'ValueOfPriority'},
-            OPERATOR => $args{ARGS}->{'PriorityOp'}
-        );
-    }
-
-    # }}}
-    # {{{ Limit owner
-    if ( $args{ARGS}->{'ValueOfOwner'} ne '' ) {
-        $session{'tickets'}->LimitOwner(
-            VALUE    => $args{ARGS}->{'ValueOfOwner'},
-            OPERATOR => $args{ARGS}->{'OwnerOp'}
-        );
-    }
-
-    # }}}
-    # {{{ Limit requestor email
-     if ( $args{ARGS}->{'ValueOfWatcherRole'} ne '' ) {
-         $session{'tickets'}->LimitWatcher(
-             TYPE     => $args{ARGS}->{'WatcherRole'},
-             VALUE    => $args{ARGS}->{'ValueOfWatcherRole'},
-             OPERATOR => $args{ARGS}->{'WatcherRoleOp'},
-
-        );
-    }
-
-    # }}}
-    # {{{ Limit Queue
-    if ( $args{ARGS}->{'ValueOfQueue'} ne '' ) {
-        $session{'tickets'}->LimitQueue(
-            VALUE    => $args{ARGS}->{'ValueOfQueue'},
-            OPERATOR => $args{ARGS}->{'QueueOp'}
-        );
-    }
-
-    # }}}
-    # {{{ Limit Status
-    if ( $args{ARGS}->{'ValueOfStatus'} ne '' ) {
-        if ( ref( $args{ARGS}->{'ValueOfStatus'} ) ) {
-            foreach my $value ( @{ $args{ARGS}->{'ValueOfStatus'} } ) {
-                $session{'tickets'}->LimitStatus(
-                    VALUE    => $value,
-                    OPERATOR => $args{ARGS}->{'StatusOp'},
-                );
-            }
-        }
-        else {
-            $session{'tickets'}->LimitStatus(
-                VALUE    => $args{ARGS}->{'ValueOfStatus'},
-                OPERATOR => $args{ARGS}->{'StatusOp'},
-            );
-        }
-
-    }
-
-    # }}}
-    # {{{ Limit Subject
-    if ( $args{ARGS}->{'ValueOfSubject'} ne '' ) {
-            my $val = $args{ARGS}->{'ValueOfSubject'};
-        if ($args{ARGS}->{'SubjectOp'} =~ /like/) {
-            $val = "%".$val."%";
-        }
-        $session{'tickets'}->LimitSubject(
-            VALUE    => $val,
-            OPERATOR => $args{ARGS}->{'SubjectOp'},
-        );
-    }
-
-    # }}}    
-    # {{{ Limit Dates
-    if ( $args{ARGS}->{'ValueOfDate'} ne '' ) {
-        my $date = ParseDateToISO( $args{ARGS}->{'ValueOfDate'} );
-        $args{ARGS}->{'DateType'} =~ s/_Date$//;
-
-        if ( $args{ARGS}->{'DateType'} eq 'Updated' ) {
-            $session{'tickets'}->LimitTransactionDate(
-                                            VALUE    => $date,
-                                            OPERATOR => $args{ARGS}->{'DateOp'},
-            );
-        }
-        else {
-            $session{'tickets'}->LimitDate( FIELD => $args{ARGS}->{'DateType'},
-                                            VALUE => $date,
-                                            OPERATOR => $args{ARGS}->{'DateOp'},
-            );
-        }
-    }
-
-    # }}}    
-    # {{{ Limit Content
-    if ( $args{ARGS}->{'ValueOfAttachmentField'} ne '' ) {
-        my $val = $args{ARGS}->{'ValueOfAttachmentField'};
-        if ($args{ARGS}->{'AttachmentFieldOp'} =~ /like/) {
-            $val = "%".$val."%";
-        }
-        $session{'tickets'}->Limit(
-            FIELD   => $args{ARGS}->{'AttachmentField'},
-            VALUE    => $val,
-            OPERATOR => $args{ARGS}->{'AttachmentFieldOp'},
-        );
-    }
-
-    # }}}   
-
- # {{{ Limit CustomFields
-
-    foreach my $arg ( keys %{ $args{ARGS} } ) {
-        my $id;
-        if ( $arg =~ /^CustomField(\d+)$/ ) {
-            $id = $1;
-        }
-        else {
-            next;
-        }
-        next unless ( $args{ARGS}->{$arg} );
-
-        my $form = $args{ARGS}->{$arg};
-        my $oper = $args{ARGS}->{ "CustomFieldOp" . $id };
-        foreach my $value ( ref($form) ? @{$form} : ($form) ) {
-            my $quote = 1;
-            if ($oper =~ /like/i) {
-                $value = "%".$value."%";
-            }
-            if ( $value =~ /^null$/i ) {
-
-                #Don't quote the string 'null'
-                $quote = 0;
-
-                # Convert the operator to something apropriate for nulls
-                $oper = 'IS'     if ( $oper eq '=' );
-                $oper = 'IS NOT' if ( $oper eq '!=' );
-            }
-            $session{'tickets'}->LimitCustomField( CUSTOMFIELD => $id,
-                                                   OPERATOR    => $oper,
-                                                   QUOTEVALUE  => $quote,
-                                                   VALUE       => $value );
-        }
-    }
-
-    # }}}
-
-
-}
-
-# }}}
-
-# {{{ sub ParseDateToISO
-
-=head2 ParseDateToISO
-
-Takes a date in an arbitrary format.
-Returns an ISO date and time in GMT
-
-=cut
-
-sub ParseDateToISO {
-    my $date = shift;
-
-    my $date_obj = RT::Date->new($session{'CurrentUser'});
-    $date_obj->Set(
-        Format => 'unknown',
-        Value  => $date
-    );
-    return ( $date_obj->ISO );
-}
-
-# }}}
-
-# {{{ sub ProcessACLChanges
-
-sub ProcessACLChanges {
-    my $ARGSref = shift;
-
-    my %ARGS     = %$ARGSref;
-
-    my ( $ACL, @results );
-
-
-    foreach my $arg (keys %ARGS) {
-        if ($arg =~ /GrantRight-(\d+)-(.*?)-(\d+)$/) {
-            my $principal_id = $1;
-            my $object_type = $2;
-            my $object_id = $3;
-            my $rights = $ARGS{$arg};
-
-            my $principal = RT::Principal->new($session{'CurrentUser'});
-            $principal->Load($principal_id);
-
-            my $obj;
-
-             if ($object_type eq 'RT::System') {
-                $obj = $RT::System;
-           } elsif ($RT::ACE::OBJECT_TYPES{$object_type}) {
-                $obj = $object_type->new($session{'CurrentUser'});
-                $obj->Load($object_id);      
-            } else {
-                push (@results, loc("System Error"). ': '.
-                                loc("Rights could not be granted for [_1]", $object_type));
-                next;
-            }
-
-            my @rights = ref($ARGS{$arg}) eq 'ARRAY' ? @{$ARGS{$arg}} : ($ARGS{$arg});
-            foreach my $right (@rights) {
-                next unless ($right);
-                my ($val, $msg) = $principal->GrantRight(Object => $obj, Right => $right);
-                push (@results, $msg);
-            }
-        }
-       elsif ($arg =~ /RevokeRight-(\d+)-(.*?)-(\d+)-(.*?)$/) {
-            my $principal_id = $1;
-            my $object_type = $2;
-            my $object_id = $3;
-            my $right = $4;
-
-            my $principal = RT::Principal->new($session{'CurrentUser'});
-            $principal->Load($principal_id);
-            next unless ($right);
-            my $obj;
-
-             if ($object_type eq 'RT::System') {
-                $obj = $RT::System;
-           } elsif ($RT::ACE::OBJECT_TYPES{$object_type}) {
-                $obj = $object_type->new($session{'CurrentUser'});
-                $obj->Load($object_id);      
-            } else {
-                push (@results, loc("System Error"). ': '.
-                                loc("Rights could not be revoked for [_1]", $object_type));
-                next;
-            }
-            my ($val, $msg) = $principal->RevokeRight(Object => $obj, Right => $right);
-            push (@results, $msg);
-        }
-
-
-    }
-
-    return (@results);
-
-    }
-
-# }}}
-
-# {{{ sub UpdateRecordObj
-
-=head2 UpdateRecordObj ( ARGSRef => \%ARGS, Object => RT::Record, AttributesRef => \@attribs)
-
-@attribs is a list of ticket fields to check and update if they differ from the  B<Object>'s current values. ARGSRef is a ref to HTML::Mason's %ARGS.
-
-Returns an array of success/failure messages
-
-=cut
-
-sub UpdateRecordObject {
-    my %args = (
-        ARGSRef       => undef,
-        AttributesRef => undef,
-        Object        => undef,
-        AttributePrefix => undef,
-        @_
-    );
-
-    my $Object = $args{'Object'};
-    my @results = $Object->Update(AttributesRef => $args{'AttributesRef'},
-                                 ARGSRef       => $args{'ARGSRef'},
-                  AttributePrefix => $args{'AttributePrefix'}
-                                 );
-
-    return (@results);
-}
-
-# }}}
-
-# {{{ Sub ProcessCustomFieldUpdates
-
-sub ProcessCustomFieldUpdates {
-    my %args = (
-        CustomFieldObj => undef,
-        ARGSRef        => undef,
-        @_
-    );
-
-    my $Object  = $args{'CustomFieldObj'};
-    my $ARGSRef = $args{'ARGSRef'};
-
-    my @attribs = qw( Name Type Description Queue SortOrder);
-    my @results = UpdateRecordObject(
-        AttributesRef => \@attribs,
-        Object        => $Object,
-        ARGSRef       => $ARGSRef
-    );
-
-    if ( $ARGSRef->{ "CustomField-" . $Object->Id . "-AddValue-Name" } ) {
-
-        my ( $addval, $addmsg ) = $Object->AddValue(
-            Name =>
-              $ARGSRef->{ "CustomField-" . $Object->Id . "-AddValue-Name" },
-            Description => $ARGSRef->{ "CustomField-"
-                  . $Object->Id
-                  . "-AddValue-Description" },
-            SortOrder => $ARGSRef->{ "CustomField-"
-                  . $Object->Id
-                  . "-AddValue-SortOrder" },
-        );
-        push ( @results, $addmsg );
-    }
-    my @delete_values = (
-        ref $ARGSRef->{ 'CustomField-' . $Object->Id . '-DeleteValue' } eq
-          'ARRAY' )
-      ? @{ $ARGSRef->{ 'CustomField-' . $Object->Id . '-DeleteValue' } }
-      : ( $ARGSRef->{ 'CustomField-' . $Object->Id . '-DeleteValue' } );
-    foreach my $id (@delete_values) {
-        next unless defined $id;
-        my ( $err, $msg ) = $Object->DeleteValue($id);
-        push ( @results, $msg );
-    }
-
-    my $vals = $Object->Values();
-    while (my $cfv = $vals->Next()) {
-        if (my $so = $ARGSRef->{ 'CustomField-' . $Object->Id . '-SortOrder' . $cfv->Id }) {
-            if ($cfv->SortOrder != $so) {
-                my ( $err, $msg ) = $cfv->SetSortOrder($so);
-                push ( @results, $msg );
-            }
-        }
-    }
-
-    return (@results);
-}
-
-# }}}
-
-# {{{ sub ProcessTicketBasics
-
-=head2 ProcessTicketBasics ( TicketObj => $Ticket, ARGSRef => \%ARGS );
-
-Returns an array of results messages.
-
-=cut
-
-sub ProcessTicketBasics {
-
-    my %args = (
-        TicketObj => undef,
-        ARGSRef   => undef,
-        @_
-    );
-
-    my $TicketObj = $args{'TicketObj'};
-    my $ARGSRef   = $args{'ARGSRef'};
-
-    # {{{ Set basic fields 
-    my @attribs = qw(
-      Subject
-      FinalPriority
-      Priority
-      TimeEstimated
-      TimeWorked
-      TimeLeft
-      Type
-      Status
-      Queue
-    );
-
-    if ( $ARGSRef->{'Queue'} and ( $ARGSRef->{'Queue'} !~ /^(\d+)$/ ) ) {
-        my $tempqueue = RT::Queue->new($RT::SystemUser);
-        $tempqueue->Load( $ARGSRef->{'Queue'} );
-        if ( $tempqueue->id ) {
-            $ARGSRef->{'Queue'} = $tempqueue->Id();
-        }
-    }
-
-
-   # Status isn't a field that can be set to a null value.
-   # RT core complains if you try
-    delete $ARGSRef->{'Status'} unless ($ARGSRef->{'Status'});
-    
-    my @results = UpdateRecordObject(
-        AttributesRef => \@attribs,
-        Object        => $TicketObj,
-        ARGSRef       => $ARGSRef
-    );
-
-    # We special case owner changing, so we can use ForceOwnerChange
-    if ( $ARGSRef->{'Owner'} && ( $TicketObj->Owner != $ARGSRef->{'Owner'} ) ) {
-        my ($ChownType);
-        if ( $ARGSRef->{'ForceOwnerChange'} ) {
-            $ChownType = "Force";
-        }
-        else {
-            $ChownType = "Give";
-        }
-
-        my ( $val, $msg ) =
-          $TicketObj->SetOwner( $ARGSRef->{'Owner'}, $ChownType );
-        push ( @results, $msg );
-    }
-
-    # }}}
-
-    return (@results);
-}
-
-# }}}
-
-sub ProcessTicketCustomFieldUpdates {
-    my %args = @_;
-    $args{'Object'} = delete $args{'TicketObj'};
-    my $ARGSRef = { %{ $args{'ARGSRef'} } };
-
-    # Build up a list of objects that we want to work with
-    my %custom_fields_to_mod;
-    foreach my $arg ( keys %$ARGSRef ) {
-        if ( $arg =~ /^Ticket-(\d+-.*)/) {
-           $ARGSRef->{"Object-RT::Ticket-$1"} = delete $ARGSRef->{$arg};
-       }
-        elsif ( $arg =~ /^CustomField-(\d+-.*)/) {
-           $ARGSRef->{"Object-RT::Ticket--$1"} = delete $ARGSRef->{$arg};
-       }
-    }
-
-    return ProcessObjectCustomFieldUpdates(%args, ARGSRef => $ARGSRef);
-}
-
-sub ProcessObjectCustomFieldUpdates {
-    my %args = @_;
-    my $ARGSRef = $args{'ARGSRef'};
-    my @results;
-
-    # Build up a list of objects that we want to work with
-    my %custom_fields_to_mod;
-    foreach my $arg ( keys %$ARGSRef ) {
-        if ( $arg =~ /^Object-([\w:]+)-(\d*)-CustomField-(\d+)-/ ) {
-            # For each of those objects, find out what custom fields we want to work with.
-            $custom_fields_to_mod{$1}{$2 || $args{'Object'}->Id}{$3} = 1;
-        }
-    }
-
-    # For each of those objects
-    foreach my $class ( keys %custom_fields_to_mod ) {
-       foreach my $id ( keys %{$custom_fields_to_mod{$class}} ) {
-           my $Object = $args{'Object'};
-           if (!$Object or ref($Object) ne $class or $Object->id != $id) {
-               $Object = $class->new( $session{'CurrentUser'} );
-               $Object->Load($id);
-       }
-
-           # For each custom field  
-           foreach my $cf ( keys %{ $custom_fields_to_mod{$class}{$id} } ) {
-           my $CustomFieldObj = RT::CustomField->new($session{'CurrentUser'});
-           $CustomFieldObj->LoadById($cf);
-
-               foreach my $arg ( keys %{$ARGSRef} ) {
-                   # Only interested in args for the current CF:
-                   next unless ( $arg =~ /^Object-$class-(?:$id)?-CustomField-$cf-/ );
-
-                   # since http won't pass in a form element with a null value, we need
-                   # to fake it
-                   if ($arg =~ /^(.*?)-Values-Magic$/ ) {
-                       # We don't care about the magic, if there's really a values element;
-                       next if ($ARGSRef->{$1.'-Value'} || $ARGSRef->{$1.'-Values'}) ;
-
-                        # "Empty" values does not mean anything for Image and Binary fields
-                        next if $CustomFieldObj->Type =~ /^(?:Image|Binary)$/;
-
-                       $arg = $1."-Values";
-                       $ARGSRef->{$1."-Values"} = undef;
-                   
-                   }
-                   my @values = ();
-                   if (ref( $ARGSRef->{$arg} ) eq 'ARRAY' ) {
-                       @values = @{ $ARGSRef->{$arg} };
-                   } elsif ($CustomFieldObj->Type =~ /text/i) { # Both Text and Wikitext
-                       @values = ($ARGSRef->{$arg});
-                   } else {
-                       @values = split /\n/, $ARGSRef->{$arg};
-                   }
-                   
-                   if ( ($CustomFieldObj->Type eq 'Freeform' 
-                         && ! $CustomFieldObj->SingleValue) ||
-                         $CustomFieldObj->Type =~ /text/i) {
-                       foreach my $val (@values) {
-                           $val =~ s/\r//g;
-                       }
-                   }
-
-                   if ( ( $arg =~ /-AddValue$/ ) || ( $arg =~ /-Value$/ ) ) {
-                       foreach my $value (@values) {
-                           next unless length($value);
-                           my ( $val, $msg ) = $Object->AddCustomFieldValue(
-                               Field => $cf,
-                               Value => $value
-                           );
-                           push ( @results, $msg );
-                       }
-                   }
-                   elsif ( $arg =~ /-Upload$/ ) {
-                        my $value_hash = _UploadedFile($arg) or next;
-
-                       my ( $val, $msg ) = $Object->AddCustomFieldValue(
-                            %$value_hash,
-                            Field => $cf,
-                       );
-                       push ( @results, $msg );
-                   }
-                   elsif ( $arg =~ /-DeleteValues$/ ) {
-                       foreach my $value (@values) {
-                           next unless length($value);
-                           my ( $val, $msg ) = $Object->DeleteCustomFieldValue(
-                               Field => $cf,
-                               Value => $value
-                           );
-                           push ( @results, $msg );
-                       }
-                   }
-                   elsif ( $arg =~ /-DeleteValueIds$/ ) {
-                       foreach my $value (@values) {
-                           next unless length($value);
-                           my ( $val, $msg ) = $Object->DeleteCustomFieldValue(
-                               Field => $cf,
-                               ValueId => $value,
-                           );
-                           push ( @results, $msg );
-                       }
-                   }
-                   elsif ( $arg =~ /-Values$/ and !$CustomFieldObj->Repeated) {
-                       my $cf_values = $Object->CustomFieldValues($cf);
-
-                       my %values_hash;
-                       foreach my $value (@values) {
-                           next unless length($value);
-
-                           # build up a hash of values that the new set has
-                           $values_hash{$value} = 1;
-
-                           unless ( $cf_values->HasEntry($value) ) {
-                               my ( $val, $msg ) = $Object->AddCustomFieldValue(
-                                   Field => $cf,
-                                   Value => $value
-                               );
-                               push ( @results, $msg );
-                           }
-
-                       }
-                       while ( my $cf_value = $cf_values->Next ) {
-                           unless ( $values_hash{ $cf_value->Content } == 1 ) {
-                               my ( $val, $msg ) = $Object->DeleteCustomFieldValue(
-                                   Field => $cf,
-                                   Value => $cf_value->Content
-                               );
-                               push ( @results, $msg);
-
-                           }
-                       }
-                   }
-                   elsif ( $arg =~ /-Values$/ ) {
-                       my $cf_values = $Object->CustomFieldValues($cf);
-
-                   # keep everything up to the point of difference, delete the rest
-                   my $delete_flag;
-                   foreach my $old_cf (@{$cf_values->ItemsArrayRef}) {
-                       if (!$delete_flag and @values and $old_cf->Content eq $values[0]) {
-                           shift @values;
-                           next;
-                       }
-
-                       $delete_flag ||= 1;
-                       $old_cf->Delete;
-                   }
-
-                   # now add/replace extra things, if any
-                   foreach my $value (@values) {
-                           my ( $val, $msg ) = $Object->AddCustomFieldValue(
-                           Field => $cf,
-                           Value => $value
-                       );
-                       push ( @results, $msg );
-                   }
-               }
-                   else {
-                       push ( @results, loc("User asked for an unknown update type for custom field [_1] for [_2] object #[_3]", $cf->Name, $class, $Object->id ) );
-                   }
-               }
-           }
-           return (@results);
-       }
-    }
-}
-
-# {{{ sub ProcessTicketWatchers
-
-=head2 ProcessTicketWatchers ( TicketObj => $Ticket, ARGSRef => \%ARGS );
-
-Returns an array of results messages.
-
-=cut
-
-sub ProcessTicketWatchers {
-    my %args = (
-        TicketObj => undef,
-        ARGSRef   => undef,
-        @_
-    );
-    my (@results);
-
-    my $Ticket  = $args{'TicketObj'};
-    my $ARGSRef = $args{'ARGSRef'};
-
-    # {{{ Munge watchers
-
-    foreach my $key ( keys %$ARGSRef ) {
-
-        # {{{ Delete deletable watchers
-        if ( ( $key =~ /^Ticket-DeleteWatcher-Type-(.*)-Principal-(\d+)$/ )  ) {
-            my ( $code, $msg ) = 
-                $Ticket->DeleteWatcher(PrincipalId => $2,
-                                       Type => $1);
-            push @results, $msg;
-        }
-
-        # Delete watchers in the simple style demanded by the bulk manipulator
-        elsif ( $key =~ /^Delete(Requestor|Cc|AdminCc)$/ ) {       
-            my ( $code, $msg ) = $Ticket->DeleteWatcher( Email => $ARGSRef->{$key}, Type => $1 );
-            push @results, $msg;
-        }
-
-        # }}}
-
-        # Add new wathchers by email address      
-        elsif ( ( $ARGSRef->{$key} =~ /^(AdminCc|Cc|Requestor)$/ )
-            and ( $key =~ /^WatcherTypeEmail(\d*)$/ ) )
-        {
-
-            #They're in this order because otherwise $1 gets clobbered :/
-            my ( $code, $msg ) = $Ticket->AddWatcher(
-                Type  => $ARGSRef->{$key},
-                Email => $ARGSRef->{ "WatcherAddressEmail" . $1 }
-            );
-            push @results, $msg;
-        }
-
-        #Add requestors in the simple style demanded by the bulk manipulator
-        elsif ( $key =~ /^Add(Requestor|Cc|AdminCc)$/ ) {
-            my ( $code, $msg ) = $Ticket->AddWatcher(
-                Type  => $1,
-                Email => $ARGSRef->{$key}
-            );
-            push @results, $msg;
-        }
-
-        # Add new  watchers by owner
-        elsif ( ( $ARGSRef->{$key} =~ /^(AdminCc|Cc|Requestor)$/ )
-            and ( $key =~ /^Ticket-AddWatcher-Principal-(\d*)$/ ) ) {
-
-            #They're in this order because otherwise $1 gets clobbered :/
-            my ( $code, $msg ) =
-              $Ticket->AddWatcher( Type => $ARGSRef->{$key}, PrincipalId => $1 );
-            push @results, $msg;
-        }
-    }
-
-    # }}}
-
-    return (@results);
-}
-
-# }}}
-
-# {{{ sub ProcessTicketDates
-
-=head2 ProcessTicketDates ( TicketObj => $Ticket, ARGSRef => \%ARGS );
-
-Returns an array of results messages.
-
-=cut
-
-sub ProcessTicketDates {
-    my %args = (
-        TicketObj => undef,
-        ARGSRef   => undef,
-        @_
-    );
-
-    my $Ticket  = $args{'TicketObj'};
-    my $ARGSRef = $args{'ARGSRef'};
-
-    my (@results);
-
-    # {{{ Set date fields
-    my @date_fields = qw(
-      Told
-      Resolved
-      Starts
-      Started
-      Due
-    );
-
-    #Run through each field in this list. update the value if apropriate
-    foreach my $field (@date_fields) {
-        my ( $code, $msg );
-
-        my $DateObj = RT::Date->new( $session{'CurrentUser'} );
-
-        #If it's something other than just whitespace
-        if ( $ARGSRef->{ $field . '_Date' } ne '' ) {
-            $DateObj->Set(
-                Format => 'unknown',
-                Value  => $ARGSRef->{ $field . '_Date' }
-            );
-            my $obj = $field . "Obj";
-            if ( ( defined $DateObj->Unix )
-                and ( $DateObj->Unix ne $Ticket->$obj()->Unix() ) )
-            {
-                my $method = "Set$field";
-                my ( $code, $msg ) = $Ticket->$method( $DateObj->ISO );
-                push @results, "$msg";
-            }
-        }
-    }
-
-    # }}}
-    return (@results);
-}
-
-# }}}
-
-# {{{ sub ProcessTicketLinks
-
-=head2 ProcessTicketLinks ( TicketObj => $Ticket, ARGSRef => \%ARGS );
-
-Returns an array of results messages.
-
-=cut
-
-sub ProcessTicketLinks {
-    my %args = ( TicketObj => undef,
-                 ARGSRef   => undef,
-                 @_ );
-
-    my $Ticket  = $args{'TicketObj'};
-    my $ARGSRef = $args{'ARGSRef'};
-
-
-    my (@results) = ProcessRecordLinks(RecordObj => $Ticket,
-                                      ARGSRef => $ARGSRef);
-
-    #Merge if we need to
-    if ( $ARGSRef->{ $Ticket->Id . "-MergeInto" } ) {
-        my ( $val, $msg ) =
-          $Ticket->MergeInto( $ARGSRef->{ $Ticket->Id . "-MergeInto" } );
-        push @results, $msg;
-    }
-
-    return (@results);
-}
-
-# }}}
-
-sub ProcessRecordLinks {
-    my %args = ( RecordObj => undef,
-                 ARGSRef   => undef,
-                 @_ );
-
-    my $Record  = $args{'RecordObj'};
-    my $ARGSRef = $args{'ARGSRef'};
-
-    my (@results);
-
-    # Delete links that are gone gone gone.
-    foreach my $arg ( keys %$ARGSRef ) {
-        if ( $arg =~ /DeleteLink-(.*?)-(DependsOn|MemberOf|RefersTo)-(.*)$/ ) {
-            my $base   = $1;
-            my $type   = $2;
-            my $target = $3;
-
-            push @results,
-              "Trying to delete: Base: $base Target: $target  Type $type";
-            my ( $val, $msg ) = $Record->DeleteLink( Base   => $base,
-                                                     Type   => $type,
-                                                     Target => $target );
-
-            push @results, $msg;
-
-        }
-
-    }
-
-    my @linktypes = qw( DependsOn MemberOf RefersTo );
-
-    foreach my $linktype (@linktypes) {
-        if ( $ARGSRef->{ $Record->Id . "-$linktype" } ) {
-            for my $luri ( split ( / /, $ARGSRef->{ $Record->Id . "-$linktype" } ) ) {
-                $luri =~ s/\s*$//;    # Strip trailing whitespace
-                my ( $val, $msg ) = $Record->AddLink( Target => $luri,
-                                                      Type   => $linktype );
-                push @results, $msg;
-            }
-        }
-        if ( $ARGSRef->{ "$linktype-" . $Record->Id } ) {
-
-            for my $luri ( split ( / /, $ARGSRef->{ "$linktype-" . $Record->Id } ) ) {
-                my ( $val, $msg ) = $Record->AddLink( Base => $luri,
-                                                      Type => $linktype );
-
-                push @results, $msg;
-            }
-        } 
-    }
-
-    return (@results);
-}
-
-
-=head2 _UploadedFile ( $arg );
-
-Takes a CGI parameter name; if a file is uploaded under that name,
-return a hash reference suitable for AddCustomFieldValue's use:
-C<( Value => $filename, LargeContent => $content, ContentType => $type )>.
-
-Returns C<undef> if no files were uploaded in the C<$arg> field.
-
-=cut
-
-sub _UploadedFile {
-    my $arg = shift;
-    my $cgi_object = $m->cgi_object;
-    my $fh = $cgi_object->upload($arg) or return undef;
-    my $upload_info = $cgi_object->uploadInfo($fh);
-
-    my $filename = "$fh";
-    $filename =~ s#^.*[\\/]##;
-    binmode($fh);
-
-    return {
-        Value => $filename,
-        LargeContent => do { local $/; scalar <$fh> },
-        ContentType => $upload_info->{'Content-Type'},
-    };
-}
-
-eval "require RT::Interface::Web_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Web_Vendor.pm});
-eval "require RT::Interface::Web_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Web_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Interface/Web/Handler.pm b/rt/lib/RT/Interface/Web/Handler.pm
deleted file mode 100644 (file)
index ce92225..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-package RT::Interface::Web::Handler;
-
-use CGI qw/-private_tempfiles/;
-use MIME::Entity;
-use Text::Wrapper;
-use CGI::Cookie;
-use Time::ParseDate;
-use Time::HiRes;
-use HTML::Entities;
-use HTML::Scrubber;
-use Text::Quoted;
-use RT::Interface::Web::Handler;
-use File::Path qw( rmtree );
-use File::Glob qw( bsd_glob );
-use File::Spec::Unix;
-
-sub DefaultHandlerArgs  { (
-    comp_root => [
-        [ local    => $RT::MasonLocalComponentRoot ],
-        [ standard => $RT::MasonComponentRoot ]
-    ],
-    default_escape_flags => 'h',
-    data_dir             => "$RT::MasonDataDir",
-    allow_globals        => [qw(%session)],
-    # Turn off static source if we're in developer mode.
-    static_source        => ($RT::DevelMode ? '0' : '1'), 
-    use_object_files     => ($RT::DevelMode ? '0' : '1'), 
-    autoflush            => 0
-) };
-
-# {{{ sub new 
-
-=head2 new
-
-  Constructs a web handler of the appropriate class.
-  Takes options to pass to the constructor.
-
-=cut
-
-sub new {
-    my $class = shift;
-    $class->InitSessionDir;
-
-    if ( $mod_perl::VERSION && $mod_perl::VERSION >= 1.9908 ) {
-#        require Apache::RequestUtil;
-#        no warnings 'redefine';
-#        my $sub = *Apache::request{CODE};
-#        *Apache::request = sub {
-#            my $r;
-#            eval { $r = $sub->('Apache'); };
-#
-#            # warn $@ if $@;
-#            return $r;
-#        };
-        goto &NewApacheHandler;
-    }
-    elsif ($CGI::MOD_PERL) {
-        goto &NewApacheHandler;
-    }
-    else {
-        goto &NewCGIHandler;
-    }
-}
-
-sub InitSessionDir {
-    # Activate the following if running httpd as root (the normal case).
-    # Resets ownership of all files created by Mason at startup.
-    # Note that mysql uses DB for sessions, so there's no need to do this.
-    unless ( $RT::DatabaseType =~ /(?:mysql|Pg)/ ) {
-
-        # Clean up our umask to protect session files
-        umask(0077);
-
-        if ($CGI::MOD_PERL) {
-            chown( Apache->server->uid, Apache->server->gid,
-                $RT::MasonSessionDir )
-            if Apache->server->can('uid');
-        }
-
-        # Die if WebSessionDir doesn't exist or we can't write to it
-        stat($RT::MasonSessionDir);
-        die "Can't read and write $RT::MasonSessionDir"
-        unless ( ( -d _ ) and ( -r _ ) and ( -w _ ) );
-    }
-
-}
-
-# }}}
-
-# {{{ sub NewApacheHandler 
-
-=head2 NewApacheHandler
-
-  Takes extra options to pass to HTML::Mason::ApacheHandler->new
-  Returns a new Mason::ApacheHandler object
-
-=cut
-
-sub NewApacheHandler {
-    require HTML::Mason::ApacheHandler;
-    return NewHandler('HTML::Mason::ApacheHandler', args_method => "CGI", @_);
-}
-
-# }}}
-
-# {{{ sub NewApache2Handler 
-
-=head2 NewApache2Handler
-
-  Takes extra options to pass to MasonX::Apache2Handler->new
-  Returns a new MasonX::Apache2Handler object
-
-=cut
-
-sub NewApache2Handler {
-    require MasonX::Apache2Handler;
-    return NewHandler('MasonX::Apache2Handler', args_method => "CGI", @_);
-}
-
-# }}}
-
-# {{{ sub NewCGIHandler 
-
-=head2 NewCGIHandler
-
-  Returns a new Mason::CGIHandler object
-
-=cut
-
-sub NewCGIHandler {
-    require HTML::Mason::CGIHandler;
-    return NewHandler('HTML::Mason::CGIHandler', @_);
-}
-
-sub NewHandler {
-    my $class = shift;
-    my $handler = $class->new(
-        DefaultHandlerArgs(),
-        @_
-    );
-  
-    $handler->interp->set_escape( h => \&RT::Interface::Web::EscapeUTF8 );
-    $handler->interp->set_escape( u => \&RT::Interface::Web::EscapeURI  );
-    return($handler);
-}
-
-=head2 CleanupRequest
-
-Rollback any uncommitted transaction.
-Flush the ACL cache
-Flush the searchbuilder query cache
-
-=cut
-
-sub CleanupRequest {
-
-    if ( $RT::Handle->TransactionDepth ) {
-        $RT::Handle->ForceRollback;
-        $RT::Logger->crit(
-            "Transaction not committed. Usually indicates a software fault."
-            . "Data loss may have occurred" );
-    }
-
-    # Clean out the ACL cache. the performance impact should be marginal.
-    # Consistency is imprived, too.
-    RT::Principal->InvalidateACLCache();
-    DBIx::SearchBuilder::Record::Cachable->FlushCache
-      if ( $RT::WebFlushDbCacheEveryRequest
-        and UNIVERSAL::can(
-            'DBIx::SearchBuilder::Record::Cachable' => 'FlushCache' ) );
-
-}
-# }}}
-
-1;
diff --git a/rt/lib/RT/Interface/Web/QueryBuilder.pm b/rt/lib/RT/Interface/Web/QueryBuilder.pm
deleted file mode 100755 (executable)
index b7526b3..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Interface::Web::QueryBuilder;
-
-use strict;
-use warnings;
-
-eval "require RT::Interface::Web::QueryBuilder_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Web/QueryBuilder_Vendor.pm});
-eval "require RT::Interface::Web::QueryBuilder_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Web/QueryBuilder_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Interface/Web/QueryBuilder/Tree.pm b/rt/lib/RT/Interface/Web/QueryBuilder/Tree.pm
deleted file mode 100755 (executable)
index 67b7283..0000000
+++ /dev/null
@@ -1,245 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Interface::Web::QueryBuilder::Tree;
-
-use strict;
-use warnings;
-
-use base qw/Tree::Simple/;
-
-=head1 NAME
-
-  RT::Interface::Web::QueryBuilder::Tree - subclass of Tree::Simple used in Query Builder
-
-=head1 DESCRIPTION
-
-This class provides support functionality for the Query Builder (Search/Build.html).
-It is a subclass of L<Tree::Simple>.
-
-=head1 METHODS
-
-=head2 TraversePrePost PREFUNC POSTFUNC
-
-Traverses the tree depth-first.  Before processing the node's children,
-calls PREFUNC with the node as its argument; after processing all of the
-children, calls POSTFUNC with the node as its argument.
-
-(Note that unlike Tree::Simple's C<traverse>, it actually calls its functions
-on the root node passed to it.)
-
-=cut
-
-sub TraversePrePost {
-   my ($self, $prefunc, $postfunc) = @_;
-
-   $prefunc->($self);
-   
-   foreach my $child ($self->getAllChildren()) { 
-           $child->TraversePrePost($prefunc, $postfunc);
-   }
-   
-   $postfunc->($self);
-}
-
-=head2 GetReferencedQueues
-
-Returns a hash reference with keys each queue name referenced in a clause in
-the key (even if it's "Queue != 'Foo'"), and values all 1.
-
-=cut
-
-sub GetReferencedQueues {
-    my $self = shift;
-
-    my $queues = {};
-
-    $self->traverse(
-        sub {
-            my $node = shift;
-
-            return if $node->isRoot;
-
-            my $clause = $node->getNodeValue();
-         
-            if ( ref($clause) and $clause->{Key} eq 'Queue' ) {
-                $queues->{ $clause->{Value} } = 1;
-            };
-        }
-    );
-
-    return $queues;
-}
-
-=head2 GetQueryAndOptionList SELECTED_NODES
-
-Given an array reference of tree nodes that have been selected by the user,
-traverses the tree and returns the equivalent SQL query and a list of hashes
-representing the "clauses" select option list.  Each has contains the keys
-TEXT, INDEX, SELECTED, and DEPTH.  TEXT is the displayed text of the option
-(including parentheses, not including indentation); INDEX is the 0-based
-index of the option in the list (also used as its CGI parameter); SELECTED
-is either 'SELECTED' or '', depending on whether the node corresponding
-to the select option was in the SELECTED_NODES list; and DEPTH is the
-level of indentation for the option.
-
-=cut 
-
-sub GetQueryAndOptionList {
-    my $self           = shift;
-    my $selected_nodes = shift;
-
-    my $optionlist = [];
-
-    my $i = 0;
-
-    $self->TraversePrePost(
-        sub { # This is called before recursing to the node's children.
-            my $node = shift;
-
-            return if $node->isRoot or $node->getParent->isRoot;
-
-            my $clause = $node->getNodeValue();
-            my $str = ' ';
-            my $aggregator_context = $node->getParent()->getNodeValue();
-            $str = $aggregator_context . " " if $node->getIndex() > 0;
-
-            if ( ref($clause) ) { # ie, it's a leaf              
-                $str .=
-                  $clause->{Key} . " " . $clause->{Op} . " " . $clause->{Value};
-            }
-
-            unless ($node->getParent->getParent->isRoot) {
-        #        used to check !ref( $parent->getNodeValue() ) )
-                if ( $node->getIndex() == 0 ) {
-                    $str = '( ' . $str;
-                }
-            }
-
-            push @$optionlist, {
-                TEXT     => $str,
-                INDEX    => $i,
-                SELECTED => (grep { $_ == $node } @$selected_nodes) ? 'SELECTED' : '',
-                DEPTH    => $node->getDepth() - 1,
-            };
-
-            $i++;
-        }, sub {
-            # This is called after recursing to the node's children.
-            my $node = shift;
-
-            return if $node->isRoot or $node->getParent->isRoot or $node->getParent->getParent->isRoot;
-
-            # Only do this for the rightmost child.
-            return unless $node->getIndex == $node->getParent->getChildCount - 1;
-
-            $optionlist->[-1]{TEXT} .= ' )';
-        }
-    );
-
-    return (join ' ', map { $_->{TEXT} } @$optionlist), $optionlist;
-}
-
-=head2 PruneChildLessAggregators
-
-If tree manipulation has left it in a state where there are ANDs, ORs,
-or parenthesizations with no children, get rid of them.
-
-=cut
-
-sub PruneChildlessAggregators {
-    my $self = shift;
-
-    $self->TraversePrePost(
-        sub {
-        },
-        sub {
-            my $node = shift;
-
-            return if $node->isRoot or $node->getParent->isRoot;
-            
-            # We're only looking for aggregators (AND/OR)
-            return if ref $node->getNodeValue;
-            
-            return if $node->getChildCount != 0;
-            
-            # OK, this is a childless aggregator.  Remove self.
-            
-            $node->getParent->removeChild($node);
-            
-            # Deal with circular refs
-            $node->DESTROY;
-        }
-    );
-}
-
-=head2 GetDisplayedNodes
-
-This function returns a list of the nodes of the tree in depth-first
-order which correspond to options in the "clauses" multi-select box.
-In fact, it's all of them but the root and its child.
-
-=cut
-
-sub GetDisplayedNodes {
-    my $self = shift;
-    my @lines;
-
-    $self->traverse(sub {
-        my $node = shift;
-
-        push @lines, $node unless $node->isRoot or $node->getParent->isRoot;
-    });
-
-    return @lines;
-}
-
-
-eval "require RT::Interface::Web::QueryBuilder::Tree_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Web/QueryBuilder/Tree_Vendor.pm});
-eval "require RT::Interface::Web::QueryBuilder::Tree_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Interface/Web/QueryBuilder/Tree_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Interface/Web/Standalone.pm b/rt/lib/RT/Interface/Web/Standalone.pm
deleted file mode 100755 (executable)
index bc2423e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-package RT::Interface::Web::Standalone;
-
-use strict;
-use base 'HTTP::Server::Simple::Mason';
-use RT::Interface::Web::Handler;
-use RT::Interface::Web;
-
-sub handler_class { "RT::Interface::Web::Handler" }
-
-sub setup_escapes {
-    my $self = shift;
-    my $handler = shift;
-
-    # Override HTTP::Server::Simple::Mason's version of this method to do
-    # nothing.  (RT::Interface::Web::Handler does this already for us in
-    # NewHandler.)
-} 
-
-sub default_mason_config {
-    return @RT::MasonParameters;
-} 
-
-sub handle_request {
-
-    my $self = shift;
-    my $cgi = shift;
-
-    Module::Refresh->refresh if $RT::DevelMode;
-
-    $self->SUPER::handle_request($cgi);
-    $RT::Logger->crit($@) if ($@);
-
-    RT::Interface::Web::Handler->CleanupRequest();
-
-}
-
-1;
diff --git a/rt/lib/RT/Interface/Web_Vendor.pm b/rt/lib/RT/Interface/Web_Vendor.pm
deleted file mode 100644 (file)
index 5be20e6..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am>
-#
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-
-=head1 NAME
-
-RT::Interface::Web_Vendor
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-Freeside vendor overlay for RT::Interface::Web.
-
-=begin testing
-
-use_ok(RT::Interface::Web_Vendor);
-
-=end testing
-
-=cut
-
-#package RT::Interface::Web;
-#use strict;
-
-package HTML::Mason::Commands;
-use strict;
-
-=head2 ProcessTicketCustomers 
-
-=cut
-
-sub ProcessTicketCustomers {
-    my %args = (
-        TicketObj => undef,
-        ARGSRef   => undef,
-        @_
-    );
-    my @results = ();
-
-    my $Ticket  = $args{'TicketObj'};
-    my $ARGSRef = $args{'ARGSRef'};
-
-    ### false laziness w/RT::Interface::Web::ProcessTicketLinks
-    # Delete links that are gone gone gone.
-    foreach my $arg ( keys %$ARGSRef ) {
-        if ( $arg =~ /DeleteLink-(.*?)-(DependsOn|MemberOf|RefersTo)-(.*)$/ ) {
-            my $base   = $1;
-            my $type   = $2;
-            my $target = $3;
-
-            push @results,
-              "Trying to delete: Base: $base Target: $target  Type $type";
-            my ( $val, $msg ) = $Ticket->DeleteLink( Base   => $base,
-                                                     Type   => $type,
-                                                     Target => $target );
-
-            push @results, $msg;
-
-        }
-
-    }
-    ###
-
-    my @delete_custnums =
-      map  { /^Ticket-AddCustomer-(\d+)$/; $1 }
-      grep { /^Ticket-AddCustomer-(\d+)$/ && $ARGSRef->{$_} }
-      keys %$ARGSRef;
-
-    my @custnums = map  { /^Ticket-AddCustomer-(\d+)$/; $1 }
-                   grep { /^Ticket-AddCustomer-(\d+)$/ && $ARGSRef->{$_} }
-                   keys %$ARGSRef;
-
-    foreach my $custnum ( @custnums ) {
-      my( $val, $msg ) =
-        $Ticket->AddLink( 'Type'   => 'MemberOf',
-                          'Target' => "freeside://freeside/cust_main/$custnum",
-                        );
-      push @results, $msg;
-    }
-
-    return @results;
-
-}
-
-1;
-
diff --git a/rt/lib/RT/Link.pm b/rt/lib/RT/Link.pm
deleted file mode 100644 (file)
index cc68aa6..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Link
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Link;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Links');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(240) 'Base'.
-  varchar(240) 'Target'.
-  varchar(20) 'Type'.
-  int(11) 'LocalTarget'.
-  int(11) 'LocalBase'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Base => '',
-                Target => '',
-                Type => '',
-                LocalTarget => '0',
-                LocalBase => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         Base => $args{'Base'},
-                         Target => $args{'Target'},
-                         Type => $args{'Type'},
-                         LocalTarget => $args{'LocalTarget'},
-                         LocalBase => $args{'LocalBase'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Base
-
-Returns the current value of Base. 
-(In the database, Base is stored as varchar(240).)
-
-
-
-=head2 SetBase VALUE
-
-
-Set Base to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Base will be stored as a varchar(240).)
-
-
-=cut
-
-
-=head2 Target
-
-Returns the current value of Target. 
-(In the database, Target is stored as varchar(240).)
-
-
-
-=head2 SetTarget VALUE
-
-
-Set Target to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Target will be stored as a varchar(240).)
-
-
-=cut
-
-
-=head2 Type
-
-Returns the current value of Type. 
-(In the database, Type is stored as varchar(20).)
-
-
-
-=head2 SetType VALUE
-
-
-Set Type to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Type will be stored as a varchar(20).)
-
-
-=cut
-
-
-=head2 LocalTarget
-
-Returns the current value of LocalTarget. 
-(In the database, LocalTarget is stored as int(11).)
-
-
-
-=head2 SetLocalTarget VALUE
-
-
-Set LocalTarget to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, LocalTarget will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 LocalBase
-
-Returns the current value of LocalBase. 
-(In the database, LocalBase is stored as int(11).)
-
-
-
-=head2 SetLocalBase VALUE
-
-
-Set LocalBase to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, LocalBase will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Base => 
-               {read => 1, write => 1, sql_type => 12, length => 240,  is_blob => 0,  is_numeric => 0,  type => 'varchar(240)', default => ''},
-        Target => 
-               {read => 1, write => 1, sql_type => 12, length => 240,  is_blob => 0,  is_numeric => 0,  type => 'varchar(240)', default => ''},
-        Type => 
-               {read => 1, write => 1, sql_type => 12, length => 20,  is_blob => 0,  is_numeric => 0,  type => 'varchar(20)', default => ''},
-        LocalTarget => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LocalBase => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::Link_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Link_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Link_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Link_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Link_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Link_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Link_Overlay, RT::Link_Vendor, RT::Link_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Link_Overlay.pm b/rt/lib/RT/Link_Overlay.pm
deleted file mode 100644 (file)
index 28143cf..0000000
+++ /dev/null
@@ -1,389 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Link - an RT Link object
-
-=head1 SYNOPSIS
-
-  use RT::Link;
-
-=head1 DESCRIPTION
-
-This module should never be called directly by client code. it's an internal module which
-should only be accessed through exported APIs in Ticket other similar objects.
-
-=head1 METHODS
-
-
-=begin testing
-
-
-use RT::Link;
-my $link = RT::Link->new($RT::SystemUser);
-
-
-ok (ref $link);
-ok (UNIVERSAL::isa($link, 'RT::Link'));
-ok (UNIVERSAL::isa($link, 'RT::Base'));
-ok (UNIVERSAL::isa($link, 'RT::Record'));
-ok (UNIVERSAL::isa($link, 'DBIx::SearchBuilder::Record'));
-
-=end testing
-
-=cut
-
-
-package RT::Link;
-
-use strict;
-no warnings qw(redefine);
-
-
-use Carp;
-use RT::URI;
-
-
-# {{{ sub Create 
-
-=head2 Create PARAMHASH
-
-Create a new link object. Takes 'Base', 'Target' and 'Type'.
-Returns undef on failure or a Link Id on success.
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = ( Base   => undef,
-                 Target => undef,
-                 Type   => undef,
-                 @_ );
-
-    my $base = RT::URI->new( $self->CurrentUser );
-    $base->FromURI( $args{'Base'} );
-
-    unless ( $base->Resolver && $base->Scheme ) {
-       my $msg = $self->loc("Couldn't resolve base '[_1]' into a URI.", 
-                            $args{'Base'});
-        $RT::Logger->warning( "$self $msg\n" );
-
-       if (wantarray) {
-           return(undef, $msg);
-       } else {
-           return (undef);
-       }
-    }
-
-    my $target = RT::URI->new( $self->CurrentUser );
-    $target->FromURI( $args{'Target'} );
-
-    unless ( $target->Resolver ) {
-       my $msg = $self->loc("Couldn't resolve target '[_1]' into a URI.", 
-                            $args{'Target'});
-        $RT::Logger->warning( "$self $msg\n" );
-
-       if (wantarray) {
-           return(undef, $msg);
-       } else {
-           return (undef);
-       }
-    }
-
-    my $base_id   = 0;
-    my $target_id = 0;
-
-
-
-
-    if ( $base->IsLocal ) {
-        unless (UNIVERSAL::can($base->Object, 'Id')) {
-            return (undef, $self->loc("[_1] appears to be a local object, but can't be found in the database", $args{'Base'}));
-        
-        }
-        $base_id = $base->Object->Id;
-    }
-    if ( $target->IsLocal ) {
-        unless (UNIVERSAL::can($target->Object, 'Id')) {
-            return (undef, $self->loc("[_1] appears to be a local object, but can't be found in the database", $args{'Target'}));
-        
-        }
-        $target_id = $target->Object->Id;
-    }
-
-    # {{{ We don't want references to ourself
-    if ( $base->URI eq $target->URI ) {
-        return ( 0, $self->loc("Can't link a ticket to itself") );
-    }
-
-    # }}}
-
-    my ( $id, $msg ) = $self->SUPER::Create( Base        => $base->URI,
-                                             Target      => $target->URI,
-                                             LocalBase   => $base_id,
-                                             LocalTarget => $target_id,
-                                             Type        => $args{'Type'} );
-    return ( $id, $msg );
-}
-
-# }}}
- # {{{ sub LoadByParams
-
-=head2 LoadByParams
-
-  Load an RT::Link object from the database.  Takes three parameters
-  
-  Base => undef,
-  Target => undef,
-  Type =>undef
-  Base and Target are expected to be integers which refer to Tickets or URIs
-  Type is the link type
-
-=cut
-
-sub LoadByParams {
-    my $self = shift;
-    my %args = ( Base   => undef,
-                 Target => undef,
-                 Type   => undef,
-                 @_ );
-
-    my $base = RT::URI->new($self->CurrentUser);
-    $base->FromURI( $args{'Base'} );
-
-    my $target = RT::URI->new($self->CurrentUser);
-    $target->FromURI( $args{'Target'} );
-    
-    unless ($base->Resolver && $target->Resolver) {
-        return ( 0, $self->loc("Couldn't load link") );
-    }
-
-
-    my ( $id, $msg ) = $self->LoadByCols( Base   => $base->URI,
-                                          Type   => $args{'Type'},
-                                          Target => $target->URI );
-
-    unless ($id) {
-        return ( 0, $self->loc("Couldn't load link") );
-    }
-}
-
-# }}}
-# {{{ sub Load 
-
-=head2 Load
-
-  Load an RT::Link object from the database.  Takes one parameter, the id of an entry in the links table.
-
-
-=cut
-
-sub Load {
-    my $self       = shift;
-    my $identifier = shift;
-
-
-
-
-    if ( $identifier !~ /^\d+$/ ) {
-        return ( 0, $self->loc("That's not a numerical id") );
-    }
-    else {
-        my ( $id, $msg ) = $self->LoadById($identifier);
-        unless ( $self->Id ) {
-            return ( 0, $self->loc("Couldn't load link") );
-        }
-        return ( $id, $msg );
-    }
-}
-
-# }}}
-
-
-# {{{ TargetURI
-
-=head2 TargetURI
-
-returns an RT::URI object for the "Target" of this link.
-
-=cut
-
-sub TargetURI {
-    my $self = shift;
-    my $URI = RT::URI->new($self->CurrentUser);
-    $URI->FromURI($self->Target);
-    return ($URI);
-}
-
-# }}}
-# {{{ sub TargetObj 
-
-=head2 TargetObj
-
-=cut
-
-sub TargetObj {
-  my $self = shift;
-   return $self->TargetURI->Object;
-}
-# }}}
-
-# {{{ BaseURI
-
-=head2 BaseURI
-
-returns an RT::URI object for the "Base" of this link.
-
-=cut
-
-sub BaseURI {
-    my $self = shift;
-    my $URI = RT::URI->new($self->CurrentUser);
-    $URI->FromURI($self->Base);
-    return ($URI);
-}
-
-# }}}
-# {{{ sub BaseObj
-
-=head2 BaseObj
-
-=cut
-
-sub BaseObj {
-  my $self = shift;
-  return $self->BaseURI->Object;
-}
-# }}}
-
-
-
-# Static methods:
-
-# {{{ sub BaseIsLocal
-
-=head2 BaseIsLocal
-
-Returns true if the base of this link is a local ticket
-
-=cut
-
-sub BaseIsLocal {
-  my $self = shift;
-  $RT::Logger->crit("Link::BaseIsLocal is deprecated in favor of Link->BaseURI->IsLocal");
-  return $self->BaseURI->IsLocal;
-}
-
-# }}}
-
-# {{{ sub TargetIsLocal
-
-=head2 TargetIsLocal
-
-Returns true if the target of this link is a local ticket
-
-=cut
-
-sub TargetIsLocal {
-  my $self = shift;
-  $RT::Logger->crit("Link::BaseIsLocal is deprecated in favor of Link->BaseURI->IsLocal");
-  return $self->TargetURI->IsLocal;
-}
-
-# }}}
-
-
-# {{{ sub BaseAsHREF 
-
-=head2 BaseAsHREF
-
-Returns an HTTP url to access the base of this link
-
-=cut
-
-sub BaseAsHREF {
-  my $self = shift;
-  $RT::Logger->crit("Link::BaseAsHREF deprecated in favor of ->BaseURI->AsHREF");
-  return $self->BaseURI->HREF;
-}
-# }}}
-
-# {{{ sub TargetAsHREF 
-
-=head2 TargetAsHREF
-
-return an HTTP url to access the target of this link
-
-=cut
-
-sub TargetAsHREF {
-  my $self = shift;
-  $RT::Logger->crit("Link::TargetAsHREF deprecated in favor of ->TargetURI->AsHREF");
-  return $self->TargetURI->HREF;
-}
-# }}}
-
-# {{{ sub AsHREF - Converts Link URIs to HTTP URLs
-
-=head2 URI
-
-Takes a URI and returns an http: url to access that object.
-
-=cut
-
-
-sub AsHREF {
-    my $self=shift;
-   
-    $RT::Logger->crit("AsHREF is gone. look at URI::HREF to figure out what to do with \$URI");
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/RT/Links.pm b/rt/lib/RT/Links.pm
deleted file mode 100644 (file)
index 3626e22..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Links -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Links
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Links;
-
-use RT::SearchBuilder;
-use RT::Link;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Links';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Link item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Link->new($self->CurrentUser));
-}
-
-        eval "require RT::Links_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Links_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Links_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Links_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Links_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Links_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Links_Overlay, RT::Links_Vendor, RT::Links_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Links_Overlay.pm b/rt/lib/RT/Links_Overlay.pm
deleted file mode 100644 (file)
index 203b60a..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Links - A collection of Link objects
-
-=head1 SYNOPSIS
-
-  use RT::Links;
-  my $links = new RT::Links($CurrentUser);
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Links);
-
-=end testing
-
-=cut
-
-
-package RT::Links;
-
-use strict;
-no warnings qw(redefine);
-use RT::URI;
-
-# {{{ sub Limit 
-sub Limit  {
-    my $self = shift;
-    my %args = ( ENTRYAGGREGATOR => 'AND',
-                OPERATOR => '=',
-                @_);
-    
-    #if someone's trying to search for tickets, try to resolve the uris for searching.
-    
-    if (  ( $args{'OPERATOR'} eq '=') and
-         ( $args{'FIELD'}  eq 'Base') or ($args{'FIELD'} eq 'Target')
-       ) {
-         my $dummy = RT::URI->new($self->CurrentUser);
-          $dummy->FromURI($args{'VALUE'});
-          # $uri = $dummy->URI;
-    }
-
-
-    # If we're limiting by target, order by base
-    # (Order by the thing that's changing)
-
-    if ( ($args{'FIELD'} eq 'Target') or 
-        ($args{'FIELD'} eq 'LocalTarget') ) {
-       $self->OrderBy (ALIAS => 'main',
-                       FIELD => 'Base',
-                       ORDER => 'ASC');
-    }
-    elsif ( ($args{'FIELD'} eq 'Base') or 
-           ($args{'FIELD'} eq 'LocalBase') ) {
-       $self->OrderBy (ALIAS => 'main',
-                       FIELD => 'Target',
-                       ORDER => 'ASC');
-    }
-    
-
-    $self->SUPER::Limit(%args);
-}
-# }}}
-
-# {{{ LimitRefersTo 
-
-=head2 LimitRefersTo URI
-
-find all things that refer to URI
-
-=cut
-
-sub LimitRefersTo {
-    my $self = shift;
-    my $URI = shift;
-
-    $self->Limit(FIELD => 'Type', VALUE => 'RefersTo');
-    $self->Limit(FIELD => 'Target', VALUE => $URI);
-}
-
-# }}}
-# {{{ LimitReferredToBy
-
-=head2 LimitReferredToBy URI
-
-find all things that URI refers to
-
-=cut
-
-sub LimitReferredToBy {
-    my $self = shift;
-    my $URI = shift;
-
-    $self->Limit(FIELD => 'Type', VALUE => 'RefersTo');
-    $self->Limit(FIELD => 'Base', VALUE => $URI);
-}
-
-# }}}
-
-
-# {{{ Next
-sub Next {
-    my $self = shift;
-       
-    my $Link = $self->SUPER::Next();
-    if ((defined($Link)) and (ref($Link))) {
-        # Skip links to local objects thast are deleted
-        if      ($Link->TargetURI->IsLocal and UNIVERSAL::isa($Link->TargetObj,"RT::Ticket")
-                 and $Link->TargetObj->__Value('status') eq "deleted") {
-            return $self->Next;
-        } elsif ($Link->BaseURI->IsLocal   and UNIVERSAL::isa($Link->BaseObj,"RT::Ticket")
-                 and $Link->BaseObj->__Value('status') eq "deleted") {
-            return $self->Next;
-        } else {
-            return $Link;
-        }
-    } else {
-        return undef;
-    }
-}
-
-# }}}
-1;
-
diff --git a/rt/lib/RT/ObjectCustomField.pm b/rt/lib/RT/ObjectCustomField.pm
deleted file mode 100644 (file)
index 89c59c6..0000000
+++ /dev/null
@@ -1,293 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::ObjectCustomField
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::ObjectCustomField;
-use RT::Record; 
-use RT::CustomField;
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('ObjectCustomFields');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'CustomField'.
-  int(11) 'ObjectId'.
-  int(11) 'SortOrder'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                CustomField => '0',
-                ObjectId => '0',
-                SortOrder => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         CustomField => $args{'CustomField'},
-                         ObjectId => $args{'ObjectId'},
-                         SortOrder => $args{'SortOrder'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 CustomField
-
-Returns the current value of CustomField. 
-(In the database, CustomField is stored as int(11).)
-
-
-
-=head2 SetCustomField VALUE
-
-
-Set CustomField to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CustomField will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 CustomFieldObj
-
-Returns the CustomField Object which has the id returned by CustomField
-
-
-=cut
-
-sub CustomFieldObj {
-       my $self = shift;
-       my $CustomField =  RT::CustomField->new($self->CurrentUser);
-       $CustomField->Load($self->__Value('CustomField'));
-       return($CustomField);
-}
-
-=head2 ObjectId
-
-Returns the current value of ObjectId. 
-(In the database, ObjectId is stored as int(11).)
-
-
-
-=head2 SetObjectId VALUE
-
-
-Set ObjectId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 SortOrder
-
-Returns the current value of SortOrder. 
-(In the database, SortOrder is stored as int(11).)
-
-
-
-=head2 SetSortOrder VALUE
-
-
-Set SortOrder to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, SortOrder will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        CustomField => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        ObjectId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        SortOrder => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::ObjectCustomField_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomField_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomField_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomField_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomField_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomField_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ObjectCustomField_Overlay, RT::ObjectCustomField_Vendor, RT::ObjectCustomField_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ObjectCustomFieldValue.pm b/rt/lib/RT/ObjectCustomFieldValue.pm
deleted file mode 100644 (file)
index 5b80906..0000000
+++ /dev/null
@@ -1,431 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::ObjectCustomFieldValue
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::ObjectCustomFieldValue;
-use RT::Record; 
-use RT::CustomField;
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('ObjectCustomFieldValues');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'CustomField'.
-  varchar(255) 'ObjectType'.
-  int(11) 'ObjectId'.
-  int(11) 'SortOrder'.
-  varchar(255) 'Content'.
-  longtext 'LargeContent'.
-  varchar(80) 'ContentType'.
-  varchar(80) 'ContentEncoding'.
-  smallint(6) 'Disabled'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                CustomField => '0',
-                ObjectType => '',
-                ObjectId => '0',
-                SortOrder => '0',
-                Content => '',
-                LargeContent => '',
-                ContentType => '',
-                ContentEncoding => '',
-                Disabled => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         CustomField => $args{'CustomField'},
-                         ObjectType => $args{'ObjectType'},
-                         ObjectId => $args{'ObjectId'},
-                         SortOrder => $args{'SortOrder'},
-                         Content => $args{'Content'},
-                         LargeContent => $args{'LargeContent'},
-                         ContentType => $args{'ContentType'},
-                         ContentEncoding => $args{'ContentEncoding'},
-                         Disabled => $args{'Disabled'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 CustomField
-
-Returns the current value of CustomField. 
-(In the database, CustomField is stored as int(11).)
-
-
-
-=head2 SetCustomField VALUE
-
-
-Set CustomField to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CustomField will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 CustomFieldObj
-
-Returns the CustomField Object which has the id returned by CustomField
-
-
-=cut
-
-sub CustomFieldObj {
-       my $self = shift;
-       my $CustomField =  RT::CustomField->new($self->CurrentUser);
-       $CustomField->Load($self->__Value('CustomField'));
-       return($CustomField);
-}
-
-=head2 ObjectType
-
-Returns the current value of ObjectType. 
-(In the database, ObjectType is stored as varchar(255).)
-
-
-
-=head2 SetObjectType VALUE
-
-
-Set ObjectType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectType will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 ObjectId
-
-Returns the current value of ObjectId. 
-(In the database, ObjectId is stored as int(11).)
-
-
-
-=head2 SetObjectId VALUE
-
-
-Set ObjectId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 SortOrder
-
-Returns the current value of SortOrder. 
-(In the database, SortOrder is stored as int(11).)
-
-
-
-=head2 SetSortOrder VALUE
-
-
-Set SortOrder to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, SortOrder will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Content
-
-Returns the current value of Content. 
-(In the database, Content is stored as varchar(255).)
-
-
-
-=head2 SetContent VALUE
-
-
-Set Content to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Content will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 LargeContent
-
-Returns the current value of LargeContent. 
-(In the database, LargeContent is stored as longtext.)
-
-
-
-=head2 SetLargeContent VALUE
-
-
-Set LargeContent to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, LargeContent will be stored as a longtext.)
-
-
-=cut
-
-
-=head2 ContentType
-
-Returns the current value of ContentType. 
-(In the database, ContentType is stored as varchar(80).)
-
-
-
-=head2 SetContentType VALUE
-
-
-Set ContentType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ContentType will be stored as a varchar(80).)
-
-
-=cut
-
-
-=head2 ContentEncoding
-
-Returns the current value of ContentEncoding. 
-(In the database, ContentEncoding is stored as varchar(80).)
-
-
-
-=head2 SetContentEncoding VALUE
-
-
-Set ContentEncoding to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ContentEncoding will be stored as a varchar(80).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-=head2 Disabled
-
-Returns the current value of Disabled. 
-(In the database, Disabled is stored as smallint(6).)
-
-
-
-=head2 SetDisabled VALUE
-
-
-Set Disabled to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Disabled will be stored as a smallint(6).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        CustomField => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        ObjectType => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        ObjectId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        SortOrder => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Content => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        LargeContent => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'longtext', default => ''},
-        ContentType => 
-               {read => 1, write => 1, sql_type => 12, length => 80,  is_blob => 0,  is_numeric => 0,  type => 'varchar(80)', default => ''},
-        ContentEncoding => 
-               {read => 1, write => 1, sql_type => 12, length => 80,  is_blob => 0,  is_numeric => 0,  type => 'varchar(80)', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Disabled => 
-               {read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::ObjectCustomFieldValue_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValue_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomFieldValue_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValue_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomFieldValue_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValue_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ObjectCustomFieldValue_Overlay, RT::ObjectCustomFieldValue_Vendor, RT::ObjectCustomFieldValue_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ObjectCustomFieldValue_Overlay.pm b/rt/lib/RT/ObjectCustomFieldValue_Overlay.pm
deleted file mode 100644 (file)
index 9b753e8..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::ObjectCustomFieldValue;
-
-use strict;
-no warnings qw(redefine);
-
-
-sub Create {
-    my $self = shift;
-    my %args = (
-                CustomField => '0',
-                ObjectType => '',
-                ObjectId => '0',
-                Disabled => '0',
-                Content => '',
-                LargeContent => '',
-                ContentType => '',
-                ContentEncoding => '',
-
-          @_);
-
-   
-    if( $args{'Content'} && length($args{'Content'}) > 255 && !$args{'LargeContent'} ) {
-
-        $args{'LargeContent'} = $args{'Content'};
-        $args{'Content'} = '';
-        $args{'ContentType'} = 'text/plain';
-    }
-
-    ( $args{'ContentEncoding'}, $args{'LargeContent'} ) =
-      $self->_EncodeLOB( $args{'LargeContent'}, $args{'ContentType'} )
-      if ( $args{'LargeContent'} );
-
-    $self->SUPER::Create(
-                         CustomField => $args{'CustomField'},
-                         ObjectType => $args{'ObjectType'},
-                         ObjectId => $args{'ObjectId'},
-                         Disabled => $args{'Disabled'},
-                         Content => $args{'Content'},
-                         LargeContent => $args{'LargeContent'},
-                         ContentType => $args{'ContentType'},
-                         ContentEncoding => $args{'ContentEncoding'},
-);
-
-
-
-}
-
-
-sub LargeContent {
-    my $self = shift;
-    $self->_DecodeLOB( $self->ContentType, $self->ContentEncoding,
-        $self->_Value( 'LargeContent', decode_utf8 => 0 ) );
-
-}
-
-
-
-
-=head2 LoadByTicketContentAndCustomField { Ticket => TICKET, CustomField => CUSTOMFIELD, Content => CONTENT }
-
-Loads a custom field value by Ticket, Content and which CustomField it's tied to
-
-=cut
-
-
-sub LoadByTicketContentAndCustomField {
-    my $self = shift;
-    my %args = ( Ticket => undef,
-                CustomField => undef,
-                Content => undef,
-                @_
-                );
-
-
-    $self->LoadByCols( Content => $args{'Content'},
-                         CustomField => $args{'CustomField'},
-                         ObjectType => 'RT::Ticket',
-                         ObjectId => $args{'Ticket'},
-                        Disabled => 0
-                        );
-
-    
-}
-
-sub LoadByObjectContentAndCustomField {
-    my $self = shift;
-    my %args = ( Object => undef,
-                CustomField => undef,
-                Content => undef,
-                @_
-                );
-
-    my $obj = $args{'Object'} or return;
-
-    $self->LoadByCols( Content => $args{'Content'},
-                         CustomField => $args{'CustomField'},
-                         ObjectType => ref($obj),
-                         ObjectId => $obj->Id,
-                        Disabled => 0
-                        );
-
-}
-
-
-=head2 Content
-
-Return this custom field's content. If there's no "regular"
-content, try "LargeContent"
-
-=cut
-
-
-sub Content {
-    my $self = shift;
-    my $content = $self->SUPER::Content;
-    if (!$content && $self->ContentType eq 'text/plain') {
-       return $self->LargeContent(); 
-    } else {
-        return $content;
-    }
-}
-
-
-sub Delete {
-    my $self = shift;
-    $self->SetDisabled(1);
-}
-
-1;
diff --git a/rt/lib/RT/ObjectCustomFieldValues.pm b/rt/lib/RT/ObjectCustomFieldValues.pm
deleted file mode 100644 (file)
index 296a925..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::ObjectCustomFieldValues -- Class Description
-=head1 SYNOPSIS
-
-  use RT::ObjectCustomFieldValues
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::ObjectCustomFieldValues;
-
-use RT::SearchBuilder;
-use RT::ObjectCustomFieldValue;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'ObjectCustomFieldValues';
-    $self->{'primary_key'} = 'id';
-
-
-
-  # By default, order by SortOrder
-  $self->OrderByCols(
-        { ALIAS => 'main',
-          FIELD => 'SortOrder',
-          ORDER => 'ASC' },
-        { ALIAS => 'main',
-          FIELD => 'id',
-          ORDER => 'ASC' },
-     );
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::ObjectCustomFieldValue item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::ObjectCustomFieldValue->new($self->CurrentUser));
-}
-
-        eval "require RT::ObjectCustomFieldValues_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValues_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomFieldValues_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValues_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomFieldValues_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFieldValues_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ObjectCustomFieldValues_Overlay, RT::ObjectCustomFieldValues_Vendor, RT::ObjectCustomFieldValues_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ObjectCustomFieldValues_Overlay.pm b/rt/lib/RT/ObjectCustomFieldValues_Overlay.pm
deleted file mode 100644 (file)
index 315c16f..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::ObjectCustomFieldValues;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub LimitToCustomField
-
-=head2 LimitToCustomField FIELD
-
-Limits the returned set to values for the custom field with Id FIELD
-
-=cut
-  
-sub LimitToCustomField {
-    my $self = shift;
-    my $cf = shift;
-    return ($self->Limit( FIELD => 'CustomField',
-                         VALUE => $cf,
-                         OPERATOR => '='));
-
-}
-
-# }}}
-
-# {{{ sub LimitToTicket
-
-=head2 LimitToTicket TICKETID
-
-Limits the returned set to values for the ticket with Id TICKETID
-
-=cut
-  
-sub LimitToTicket {
-    my $self = shift;
-    my $ticket = shift;
-
-
-    $RT::Logger->warning(ref($self) . " -> LimitToTicket deprecated in favor of LimitToObject");
-
-    $self->Limit( FIELD => 'ObjectType',
-                 VALUE => 'RT::Ticket',
-                 OPERATOR => '=');
-    return ($self->Limit( FIELD => 'ObjectId',
-                         VALUE => $ticket,
-                         OPERATOR => '='));
-
-}
-
-# }}}
-
-
-sub LimitToObject {
-    my $self = shift;
-    my $object = shift;
-    $self->Limit( FIELD => 'ObjectType',
-                 VALUE => ref($object),
-                 OPERATOR => '=');
-    return ($self->Limit( FIELD => 'ObjectId',
-                         VALUE => $object->Id,
-                         OPERATOR => '='));
-
-}
-
-=sub HasEntry VALUE
-
-Returns true if this CustomFieldValues collection has an entry with content that eq VALUE
-
-=cut
-
-
-sub HasEntry {
-    my $self = shift;
-    my $value = shift;
-
-    #TODO: this could cache and optimize a fair bit.
-    foreach my $item (@{$self->ItemsArrayRef}) {
-        return(1) if ($item->Content eq $value);  
-    }
-    return undef;
-
-}
-
-sub _DoSearch {
-    my $self = shift;
-    
-    #unless we really want to find disabled rows, make sure we\'re only finding enabled ones.
-    unless($self->{'find_expired_rows'}) {
-        $self->LimitToEnabled();
-    }
-    
-    return($self->SUPER::_DoSearch(@_));
-    
-}
-
-sub _DoCount {
-    my $self = shift;
-    
-    #unless we really want to find disabled rows, make sure we\'re only finding enabled ones.
-    unless($self->{'find_expired_rows'}) {
-        $self->LimitToEnabled();
-    }
-    
-    return($self->SUPER::_DoCount(@_));
-    
-}
-
-1;
-
diff --git a/rt/lib/RT/ObjectCustomField_Overlay.pm b/rt/lib/RT/ObjectCustomField_Overlay.pm
deleted file mode 100644 (file)
index e1dc7e2..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::ObjectCustomField;
-
-use strict;
-no warnings qw(redefine);
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                CustomField => '0',
-                ObjectId => '0',
-               SortOrder => undef,
-                 @_);
-
-    if (!defined $args{SortOrder}) {
-       my $CF = $self->CustomFieldObj($args{'CustomField'});
-       my $ObjectCFs = RT::ObjectCustomFields->new($self->CurrentUser);
-       $ObjectCFs->LimitToObjectId($args{'ObjectId'});
-       $ObjectCFs->LimitToLookupType($CF->LookupType);
-
-       $args{SortOrder} = $ObjectCFs->Count + 1;
-    }
-
-    $self->SUPER::Create(
-                         CustomField => $args{'CustomField'},
-                         ObjectId => $args{'ObjectId'},
-                         SortOrder => $args{'SortOrder'},
-                    );
-}
-
-sub Delete {
-    my $self = shift;
-
-    my $ObjectCFs = RT::ObjectCustomFields->new($self->CurrentUser);
-    $ObjectCFs->LimitToObjectId($self->ObjectId);
-    $ObjectCFs->LimitToLookupType($self->CustomFieldObj->LookupType);
-
-    # Move everything below us up
-    my $sort_order = $self->SortOrder;
-    while (my $OCF = $ObjectCFs->Next) {
-       my $this_order = $OCF->SortOrder;
-       next if $this_order <= $sort_order; 
-       $OCF->SetSortOrder($this_order - 1);
-    }
-
-    $self->SUPER::Delete;
-}
-
-sub CustomFieldObj {
-    my $self = shift;
-    my $id = shift || $self->CustomField;
-    my $CF = RT::CustomField->new($self->CurrentUser);
-    $CF->Load($id) or die "Cannot load CustomField $id";
-    return $CF;
-}
-
-1;
diff --git a/rt/lib/RT/ObjectCustomFields.pm b/rt/lib/RT/ObjectCustomFields.pm
deleted file mode 100644 (file)
index fcbf332..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::ObjectCustomFields -- Class Description
-=head1 SYNOPSIS
-
-  use RT::ObjectCustomFields
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::ObjectCustomFields;
-
-use RT::SearchBuilder;
-use RT::ObjectCustomField;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'ObjectCustomFields';
-    $self->{'primary_key'} = 'id';
-
-
-
-  # By default, order by SortOrder
-  $self->OrderByCols(
-        { ALIAS => 'main',
-          FIELD => 'SortOrder',
-          ORDER => 'ASC' },
-        { ALIAS => 'main',
-          FIELD => 'id',
-          ORDER => 'ASC' },
-     );
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::ObjectCustomField item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::ObjectCustomField->new($self->CurrentUser));
-}
-
-        eval "require RT::ObjectCustomFields_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFields_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomFields_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFields_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ObjectCustomFields_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ObjectCustomFields_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ObjectCustomFields_Overlay, RT::ObjectCustomFields_Vendor, RT::ObjectCustomFields_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ObjectCustomFields_Overlay.pm b/rt/lib/RT/ObjectCustomFields_Overlay.pm
deleted file mode 100644 (file)
index a496c4b..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::ObjectCustomFields;
-
-use strict;
-no warnings qw(redefine);
-
-sub LimitToCustomField {
-    my $self = shift;
-    my $id = shift;
-    $self->Limit( FIELD => 'CustomField', VALUE => $id );
-}
-
-sub LimitToObjectId {
-    my $self = shift;
-    my $id = shift || 0;
-    $self->Limit( FIELD => 'ObjectId', VALUE => $id );
-}
-
-sub LimitToLookupType {
-    my $self = shift;
-    my $lookup = shift;
-    unless ($self->{'_cfs_alias'}) {
-        $self->{'_cfs_alias'}  = $self->NewAlias('CustomFields');
-    }
-    $self->Join( ALIAS1 => 'main',
-                FIELD1 => 'CustomField',
-                ALIAS2 => $self->{'_cfs_alias'},
-                FIELD2 => 'id' );
-    $self->Limit( ALIAS           => $self->{'_cfs_alias'},
-                 FIELD           => 'LookupType',
-                 OPERATOR        => '=',
-                 VALUE           => $lookup );
-}
-
-sub HasEntryForCustomField {
-    my $self = shift;
-    my $id = shift;
-
-    my @items = grep {$_->CustomField == $id } @{$self->ItemsArrayRef};
-
-    if ($#items > 1) {
-       die "$self HasEntry had a list with more than one of $id in it. this can never happen";
-    }
-    if ($#items == -1 ) {
-       return undef;
-    }
-    else {
-       return ($items[0]);
-    }  
-}
-
-sub CustomFields {
-    my $self = shift;
-    my %seen;
-    map { $_->CustomFieldObj } @{$self->ItemsArrayRef};
-}
-
-sub _DoSearch {
-    my $self = shift;
-    if ($self->{'_cfs_alias'}) {
-    $self->Limit( ALIAS           => $self->{'_cfs_alias'},
-                 FIELD           => 'Disabled',
-                 OPERATOR        => '!=',
-                 VALUE           =>  1);
-    }
-    $self->SUPER::_DoSearch()
-}
-
-1;
diff --git a/rt/lib/RT/Principal.pm b/rt/lib/RT/Principal.pm
deleted file mode 100644 (file)
index da0c669..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Principal
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Principal;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Principals');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(16) 'PrincipalType'.
-  int(11) 'ObjectId'.
-  smallint(6) 'Disabled'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                PrincipalType => '',
-                ObjectId => '',
-                Disabled => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         PrincipalType => $args{'PrincipalType'},
-                         ObjectId => $args{'ObjectId'},
-                         Disabled => $args{'Disabled'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 PrincipalType
-
-Returns the current value of PrincipalType. 
-(In the database, PrincipalType is stored as varchar(16).)
-
-
-
-=head2 SetPrincipalType VALUE
-
-
-Set PrincipalType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, PrincipalType will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 ObjectId
-
-Returns the current value of ObjectId. 
-(In the database, ObjectId is stored as int(11).)
-
-
-
-=head2 SetObjectId VALUE
-
-
-Set ObjectId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Disabled
-
-Returns the current value of Disabled. 
-(In the database, Disabled is stored as smallint(6).)
-
-
-
-=head2 SetDisabled VALUE
-
-
-Set Disabled to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Disabled will be stored as a smallint(6).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        PrincipalType => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        ObjectId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Disabled => 
-               {read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::Principal_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Principal_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Principal_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Principal_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Principal_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Principal_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Principal_Overlay, RT::Principal_Vendor, RT::Principal_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Principal_Overlay.pm b/rt/lib/RT/Principal_Overlay.pm
deleted file mode 100644 (file)
index 4783c5c..0000000
+++ /dev/null
@@ -1,587 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-#
-
-package RT::Principal;
-
-use strict;
-use warnings;
-
-no warnings qw(redefine);
-
-use Cache::Simple::TimedExpiry;
-
-
-
-use RT::Group;
-use RT::User;
-
-# Set up the ACL cache on startup
-our $_ACL_CACHE;
-InvalidateACLCache();
-
-# {{{ IsGroup
-
-=head2 IsGroup
-
-Returns true if this principal is a group. 
-Returns undef, otherwise
-
-=cut
-
-sub IsGroup {
-    my $self = shift;
-    if ($self->PrincipalType eq 'Group') {
-        return(1);
-    }
-    else {
-        return undef;
-    }
-}
-
-# }}}
-
-# {{{ IsUser
-
-=head2 IsUser 
-
-Returns true if this principal is a User. 
-Returns undef, otherwise
-
-=cut
-
-sub IsUser {
-    my $self = shift;
-    if ($self->PrincipalType eq 'User') {
-        return(1);
-    }
-    else {
-        return undef;
-    }
-}
-
-# }}}
-
-# {{{ Object
-
-=head2 Object
-
-Returns the user or group associated with this principal
-
-=cut
-
-sub Object {
-    my $self = shift;
-
-    unless ($self->{'object'}) {
-    if ($self->IsUser) {
-       $self->{'object'} = RT::User->new($self->CurrentUser);
-    }
-    elsif ($self->IsGroup) {
-        $self->{'object'}  = RT::Group->new($self->CurrentUser);
-    }
-    else { 
-        $RT::Logger->crit("Found a principal (".$self->Id.") that was neither a user nor a group");
-        return(undef);
-    }
-    $self->{'object'}->Load($self->ObjectId());
-    }
-    return ($self->{'object'});
-
-
-}
-# }}} 
-
-# {{{ ACL Related routines
-
-# {{{ GrantRight 
-
-=head2 GrantRight  { Right => RIGHTNAME, Object => undef }
-
-A helper function which calls RT::ACE->Create
-
-
-
-   Returns a tuple of (STATUS, MESSAGE);  If the call succeeded, STATUS is true. Otherwise it's 
-   false.
-
-=cut
-
-sub GrantRight {
-    my $self = shift;
-    my %args = ( Right => undef,
-                Object => undef,
-                @_);
-
-
-    unless ($args{'Right'}) {
-        return(0, $self->loc("Invalid Right"));
-    }
-
-
-    #ACL check handled in ACE.pm
-    my $ace = RT::ACE->new( $self->CurrentUser );
-
-
-    my $type = $self->_GetPrincipalTypeForACL();
-
-    # If it's a user, we really want to grant the right to their 
-    # user equivalence group
-        return ( $ace->Create(RightName => $args{'Right'},
-                          Object => $args{'Object'},
-                          PrincipalType =>  $type,
-                          PrincipalId => $self->Id
-                          ) );
-}
-# }}}
-
-# {{{ RevokeRight
-
-=head2 RevokeRight { Right => "RightName", Object => "object" }
-
-Delete a right that a user has 
-
-
-   Returns a tuple of (STATUS, MESSAGE);  If the call succeeded, STATUS is true. Otherwise it's 
-      false.
-
-
-=cut
-
-sub RevokeRight {
-
-    my $self = shift;
-    my %args = (
-        Right      => undef,
-        Object => undef,
-        @_
-    );
-
-    #if we haven't specified any sort of right, we're talking about a global right
-    if (!defined $args{'Object'} && !defined $args{'ObjectId'} && !defined $args{'ObjectType'}) {
-        $args{'Object'} = $RT::System;
-    }
-    #ACL check handled in ACE.pm
-    my $type = $self->_GetPrincipalTypeForACL();
-
-    my $ace = RT::ACE->new( $self->CurrentUser );
-    $ace->LoadByValues(
-        RightName     => $args{'Right'},
-        Object    => $args{'Object'},
-        PrincipalType => $type,
-        PrincipalId   => $self->Id
-    );
-
-    unless ( $ace->Id ) {
-        return ( 0, $self->loc("ACE not found") );
-    }
-    return ( $ace->Delete );
-}
-
-# }}}
-
-# {{{ sub _CleanupInvalidDelegations
-
-=head2 sub _CleanupInvalidDelegations { InsideTransaction => undef }
-
-Revokes all ACE entries delegated by this principal which are
-inconsistent with this principal's current delegation rights.  Does
-not perform permission checks, but takes no action and returns success
-if this principal still retains DelegateRights.  Should only ever be
-called from inside the RT library.
-
-If this principal is a group, recursively calls this method on each
-cached user member of itself.
-
-If called from inside a transaction, specify a true value for the
-InsideTransaction parameter.
-
-Returns a true value if the deletion succeeded; returns a false value
-and logs an internal error if the deletion fails (should not happen).
-
-=cut
-
-# This is currently just a stub for the methods of the same name in
-# RT::User and RT::Group.
-
-sub _CleanupInvalidDelegations {
-    my $self = shift;
-    unless ( $self->Id ) {
-       $RT::Logger->warning("Principal not loaded.");
-       return (undef);
-    }
-    return ($self->Object->_CleanupInvalidDelegations(@_));
-}
-
-# }}}
-
-# {{{ sub HasRight
-
-=head2 sub HasRight (Right => 'right' Object => undef)
-
-
-Checks to see whether this principal has the right "Right" for the Object
-specified. If the Object parameter is omitted, checks to see whether the 
-user has the right globally.
-
-This still hard codes to check to see if a user has queue-level rights
-if we ask about a specific ticket.
-
-
-This takes the params:
-
-    Right => name of a right
-
-    And either:
-
-    Object => an RT style object (->id will get its id)
-
-
-
-
-Returns 1 if a matching ACE was found.
-
-Returns undef if no ACE was found.
-
-=cut
-
-sub HasRight {
-
-    my $self = shift;
-    my %args = (
-        Right        => undef,
-        Object       => undef,
-        EquivObjects => undef,
-        @_
-    );
-
-    if ( $self->Disabled ) {
-        $RT::Logger->err( "Disabled User:  "
-              . $self->id
-              . " failed access check for "
-              . $args{'Right'} );
-        return (undef);
-    }
-
-    if ( !defined $args{'Right'} ) {
-        $RT::Logger->crit("HasRight called without a right");
-        return (undef);
-    }
-
-    if (   defined( $args{'Object'} )
-        && UNIVERSAL::can( $args{'Object'}, 'id' )
-        && $args{'Object'}->id )
-    {
-        push( @{ $args{'EquivObjects'} }, $args{Object} );
-    }
-    else {
-        $RT::Logger->crit("$self HasRight called with no valid object");
-        return (undef);
-    }
-
-    # If this object is a ticket, we care about ticket roles and queue roles
-    if ( ( ref( $args{'Object'} ) eq 'RT::Ticket' ) && $args{'Object'}->Id ) {
-
-# this is a little bit hacky, but basically, now that we've done the ticket roles magic, we load the queue object
-# and ask all the rest of our questions about the queue.
-        push( @{ $args{'EquivObjects'} }, $args{'Object'}->QueueObj );
-
-    }
-
-    # {{{ If we've cached a win or loss for this lookup say so
-
-    # {{{ Construct a hashkey to cache decisions in
-    my $hashkey = do {
-        no warnings 'uninitialized';
-
-        # We don't worry about the hash ordering, as this is only
-        # temporarily used; also if the key changes it would be
-        # invalidated anyway.
-        join(
-            ";:;",
-            $self->Id,
-            map {
-                $_,    # the key of each arguments
-                  ( $_ eq 'EquivObjects' )    # for object arrayref...
-                  ? map( _ReferenceId($_), @{ $args{$_} } )    # calculate each
-                  : _ReferenceId( $args{$_} )    # otherwise just the value
-              } keys %args
-        );
-    };
-
-    # }}}
-
-    # {{{ if we've cached a positive result for this query, return 1
-
-    my $cached_answer = $_ACL_CACHE->fetch($hashkey);
-
-    # Returns undef on cache miss
-    if ( defined $cached_answer ) {
-        if ( $cached_answer == 1 ) {
-            return (1);
-        }
-        elsif ( $cached_answer == -1 ) {
-            return (0);
-        }
-    }
-
-    my ( $or_look_at_object_rights, $or_check_roles );
-    my $right = $args{'Right'};
-
-    # {{{ Construct Right Match
-
-    # If an object is defined, we want to look at rights for that object
-
-    my @look_at_objects;
-    push( @look_at_objects, "ACL.ObjectType = 'RT::System'" )
-      unless $self->can('_IsOverrideGlobalACL')
-      and $self->_IsOverrideGlobalACL( $args{Object} );
-
-    foreach my $obj ( @{ $args{'EquivObjects'} } ) {
-        next unless ( UNIVERSAL::can( $obj, 'id' ) );
-        my $type = ref($obj);
-        my $id   = $obj->id;
-
-        unless ($id) {
-            use Carp;
-            Carp::cluck(
-                "Trying to check $type rights for an unspecified $type");
-            $RT::Logger->crit(
-                "Trying to check $type rights for an unspecified $type");
-        }
-        push @look_at_objects,
-          "(ACL.ObjectType = '$type' AND ACL.ObjectId = '$id')";
-    }
-
-    # }}}
-
-    # {{{ Build that honkin-big SQL query
-
-    my $query_base =
-      "SELECT ACL.id from ACL, Groups, Principals, CachedGroupMembers WHERE  " .
-
-      # Only find superuser or rights with the name $right
-      "(ACL.RightName = 'SuperUser' OR  ACL.RightName = '$right') " .
-
-      # Never find disabled groups.
-      "AND Principals.Disabled = 0 "
-      . "AND CachedGroupMembers.Disabled = 0  "
-      . "AND Principals.id = Groups.id "
-      .    # We always grant rights to Groups
-
-# See if the principal is a member of the group recursively or _is the rightholder_
-# never find recursively disabled group members
-# also, check to see if the right is being granted _directly_ to this principal,
-#  as is the case when we want to look up group rights
-"AND  Principals.id = CachedGroupMembers.GroupId AND CachedGroupMembers.MemberId = '"
-      . $self->Id . "' "
-      .
-
-  # Make sure the rights apply to the entire system or to the object in question
-      "AND ( " . join( ' OR ', @look_at_objects ) . ") ";
-
-# The groups query does the query based on group membership and individual user rights
-
-    my $groups_query = $query_base .
-
-# limit the result set to groups of types ACLEquivalence (user)  UserDefined, SystemInternal and Personal
-"AND ( (  ACL.PrincipalId = Principals.id AND ACL.PrincipalType = 'Group' AND "
-      . "(Groups.Domain = 'SystemInternal' OR Groups.Domain = 'UserDefined' OR Groups.Domain = 'ACLEquivalence' OR Groups.Domain = 'Personal'))"
-      .
-
-      " ) ";
-    $self->_Handle->ApplyLimits( \$groups_query, 1 );    #only return one result
-
-    my @roles;
-    foreach my $object ( @{ $args{'EquivObjects'} } ) {
-        push( @roles, $self->_RolesForObject( ref($object), $object->id ) );
-    }
-
-    # The roles query does the query based on roles
-    my $roles_query;
-    if (@roles) {
-        $roles_query =
-            $query_base . "AND " . " ( ("
-          . join( ' OR ', @roles ) . " ) "
-          . " AND Groups.Type = ACL.PrincipalType AND Groups.Id = Principals.id AND Principals.PrincipalType = 'Group') ";
-        $self->_Handle->ApplyLimits( \$roles_query, 1 ); #only return one result
-
-    }
-
-    # }}}
-
-    # {{{ Actually check the ACL by performing an SQL query
-    #   $RT::Logger->debug("Now Trying $groups_query");
-    my $hitcount = $self->_Handle->FetchResult($groups_query);
-
-    # }}}
-
-    # {{{ if there's a match, the right is granted
-    if ($hitcount) {
-        $_ACL_CACHE->set( $hashkey => 1 );
-        return (1);
-    }
-
-    # Now check the roles query
-    $hitcount = $self->_Handle->FetchResult($roles_query);
-
-    if ($hitcount) {
-        $_ACL_CACHE->set( $hashkey => 1 );
-        return (1);
-    }
-
-    # We failed to find an acl hit
-    $_ACL_CACHE->set( $hashkey => -1 );
-    return (undef);
-}
-
-# }}}
-
-# {{{ _RolesForObject
-
-
-
-=head2 _RolesForObject( $object_type, $object_id)
-
-Returns an SQL clause finding role groups for Objects
-
-=cut
-
-
-sub _RolesForObject {
-    my $self = shift;
-    my $type = shift;
-    my $id = shift;
-
-    unless ($id) {
-       $id = '0';
-   }
-
-   # This should never be true.
-   unless ($id =~ /^\d+$/) {
-       $RT::Logger->crit("RT::Prinicipal::_RolesForObject called with type $type and a non-integer id: '$id'");
-       $id = "'$id'";
-   }
-
-    my $clause = "(Groups.Domain = '".$type."-Role' AND Groups.Instance = $id) ";
-
-    return($clause);
-}
-
-# }}}
-
-# }}}
-
-# {{{ ACL caching
-
-
-# {{{ InvalidateACLCache
-
-=head2 InvalidateACLCache
-
-Cleans out and reinitializes the user rights cache
-
-=cut
-
-sub InvalidateACLCache {
-    $_ACL_CACHE = Cache::Simple::TimedExpiry->new();
-    $_ACL_CACHE->expire_after($RT::ACLCacheLifetime||60);
-
-}
-
-# }}}
-
-# }}}
-
-
-# {{{ _GetPrincipalTypeForACL
-
-=head2 _GetPrincipalTypeForACL
-
-Gets the principal type. if it's a user, it's a user. if it's a role group and it has a Type, 
-return that. if it has no type, return group.
-
-=cut
-
-sub _GetPrincipalTypeForACL {
-    my $self = shift;
-    my $type;    
-    if ($self->PrincipalType eq 'Group' && $self->Object->Domain =~ /Role$/) {
-        $type = $self->Object->Type;
-    }
-    else {
-        $type = $self->PrincipalType;
-    }
-
-    return($type);
-}
-
-# }}}
-
-# {{{ _ReferenceId
-
-=head2 _ReferenceId
-
-Returns a list uniquely representing an object or normal scalar.
-
-For scalars, its string value is returned; for objects that has an
-id() method, its class name and Id are returned as a string separated by a "-".
-
-=cut
-
-sub _ReferenceId {
-    my $scalar = shift;
-
-    # just return the value for non-objects
-    return $scalar unless UNIVERSAL::can($scalar, 'id');
-
-    # an object -- return the class and id
-    return(ref($scalar)."-". $scalar->id);
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/RT/Principals.pm b/rt/lib/RT/Principals.pm
deleted file mode 100644 (file)
index a61cfb9..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Principals -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Principals
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Principals;
-
-use RT::SearchBuilder;
-use RT::Principal;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Principals';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Principal item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Principal->new($self->CurrentUser));
-}
-
-        eval "require RT::Principals_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Principals_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Principals_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Principals_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Principals_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Principals_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Principals_Overlay, RT::Principals_Vendor, RT::Principals_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Principals_Overlay.pm b/rt/lib/RT/Principals_Overlay.pm
deleted file mode 100644 (file)
index c06b9c6..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Principals - a collection of RT::Principal objects
-
-=head1 SYNOPSIS
-
-  use RT::Principals;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Principals);
-
-=end testing
-
-=cut
-
-
-package RT::Principals;
-
-use strict;
-no warnings qw(redefine);
-
-
-
-
-1;
diff --git a/rt/lib/RT/Queue.pm b/rt/lib/RT/Queue.pm
deleted file mode 100755 (executable)
index 23839d4..0000000
+++ /dev/null
@@ -1,393 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Queue
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Queue;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Queues');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(255) 'Description'.
-  varchar(120) 'CorrespondAddress'.
-  varchar(120) 'CommentAddress'.
-  int(11) 'InitialPriority'.
-  int(11) 'FinalPriority'.
-  int(11) 'DefaultDueIn'.
-  smallint(6) 'Disabled'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Description => '',
-                CorrespondAddress => '',
-                CommentAddress => '',
-                InitialPriority => '0',
-                FinalPriority => '0',
-                DefaultDueIn => '0',
-                Disabled => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Description => $args{'Description'},
-                         CorrespondAddress => $args{'CorrespondAddress'},
-                         CommentAddress => $args{'CommentAddress'},
-                         InitialPriority => $args{'InitialPriority'},
-                         FinalPriority => $args{'FinalPriority'},
-                         DefaultDueIn => $args{'DefaultDueIn'},
-                         Disabled => $args{'Disabled'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 CorrespondAddress
-
-Returns the current value of CorrespondAddress. 
-(In the database, CorrespondAddress is stored as varchar(120).)
-
-
-
-=head2 SetCorrespondAddress VALUE
-
-
-Set CorrespondAddress to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CorrespondAddress will be stored as a varchar(120).)
-
-
-=cut
-
-
-=head2 CommentAddress
-
-Returns the current value of CommentAddress. 
-(In the database, CommentAddress is stored as varchar(120).)
-
-
-
-=head2 SetCommentAddress VALUE
-
-
-Set CommentAddress to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CommentAddress will be stored as a varchar(120).)
-
-
-=cut
-
-
-=head2 InitialPriority
-
-Returns the current value of InitialPriority. 
-(In the database, InitialPriority is stored as int(11).)
-
-
-
-=head2 SetInitialPriority VALUE
-
-
-Set InitialPriority to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, InitialPriority will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 FinalPriority
-
-Returns the current value of FinalPriority. 
-(In the database, FinalPriority is stored as int(11).)
-
-
-
-=head2 SetFinalPriority VALUE
-
-
-Set FinalPriority to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, FinalPriority will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 DefaultDueIn
-
-Returns the current value of DefaultDueIn. 
-(In the database, DefaultDueIn is stored as int(11).)
-
-
-
-=head2 SetDefaultDueIn VALUE
-
-
-Set DefaultDueIn to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, DefaultDueIn will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-=head2 Disabled
-
-Returns the current value of Disabled. 
-(In the database, Disabled is stored as smallint(6).)
-
-
-
-=head2 SetDisabled VALUE
-
-
-Set Disabled to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Disabled will be stored as a smallint(6).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        CorrespondAddress => 
-               {read => 1, write => 1, sql_type => 12, length => 120,  is_blob => 0,  is_numeric => 0,  type => 'varchar(120)', default => ''},
-        CommentAddress => 
-               {read => 1, write => 1, sql_type => 12, length => 120,  is_blob => 0,  is_numeric => 0,  type => 'varchar(120)', default => ''},
-        InitialPriority => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        FinalPriority => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        DefaultDueIn => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Disabled => 
-               {read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::Queue_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Queue_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Queue_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Queue_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Queue_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Queue_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Queue_Overlay, RT::Queue_Vendor, RT::Queue_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Queue_Overlay.pm b/rt/lib/RT/Queue_Overlay.pm
deleted file mode 100644 (file)
index 2f180fc..0000000
+++ /dev/null
@@ -1,1136 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Queue - an RT Queue object
-
-=head1 SYNOPSIS
-
-  use RT::Queue;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing 
-
-use RT::Queue;
-
-=end testing
-
-=cut
-
-
-package RT::Queue;
-
-use strict;
-no warnings qw(redefine);
-
-use vars qw(@DEFAULT_ACTIVE_STATUS @DEFAULT_INACTIVE_STATUS $RIGHTS);
-
-use RT::Groups;
-use RT::ACL;
-use RT::Interface::Email;
-
-@DEFAULT_ACTIVE_STATUS = qw(new open stalled);
-@DEFAULT_INACTIVE_STATUS = qw(resolved rejected deleted);  
-
-# $self->loc('new'); # For the string extractor to get a string to localize
-# $self->loc('open'); # For the string extractor to get a string to localize
-# $self->loc('stalled'); # For the string extractor to get a string to localize
-# $self->loc('resolved'); # For the string extractor to get a string to localize
-# $self->loc('rejected'); # For the string extractor to get a string to localize
-# $self->loc('deleted'); # For the string extractor to get a string to localize
-
-
-$RIGHTS = {
-    SeeQueue            => 'Can this principal see this queue',       # loc_pair
-    AdminQueue          => 'Create, delete and modify queues',        # loc_pair
-    ShowACL             => 'Display Access Control List',             # loc_pair
-    ModifyACL           => 'Modify Access Control List',              # loc_pair
-    ModifyQueueWatchers => 'Modify the queue watchers',               # loc_pair
-    AssignCustomFields  => 'Assign and remove custom fields',         # loc_pair
-    ModifyTemplate      => 'Modify Scrip templates for this queue',   # loc_pair
-    ShowTemplate        => 'Display Scrip templates for this queue',  # loc_pair
-
-    ModifyScrips => 'Modify Scrips for this queue',                   # loc_pair
-    ShowScrips   => 'Display Scrips for this queue',                  # loc_pair
-
-    ShowTicket         => 'See ticket summaries',                    # loc_pair
-    ShowTicketComments => 'See ticket private commentary',           # loc_pair
-    ShowOutgoingEmail => 'See exact outgoing email messages and their recipeients',           # loc_pair
-
-    Watch => 'Sign up as a ticket Requestor or ticket or queue Cc',   # loc_pair
-    WatchAsAdminCc  => 'Sign up as a ticket or queue AdminCc',        # loc_pair
-    CreateTicket    => 'Create tickets in this queue',                # loc_pair
-    ReplyToTicket   => 'Reply to tickets',                            # loc_pair
-    CommentOnTicket => 'Comment on tickets',                          # loc_pair
-    OwnTicket       => 'Own tickets',                                 # loc_pair
-    ModifyTicket    => 'Modify tickets',                              # loc_pair
-    DeleteTicket    => 'Delete tickets',                              # loc_pair
-    TakeTicket      => 'Take tickets',                                # loc_pair
-    StealTicket     => 'Steal tickets',                               # loc_pair
-
-};
-
-# Tell RT::ACE that this sort of object can get acls granted
-$RT::ACE::OBJECT_TYPES{'RT::Queue'} = 1;
-
-# TODO: This should be refactored out into an RT::ACLedObject or something
-# stuff the rights into a hash of rights that can exist.
-
-foreach my $right ( keys %{$RIGHTS} ) {
-    $RT::ACE::LOWERCASERIGHTNAMES{ lc $right } = $right;
-}
-    
-
-sub AddLink {
-    my $self = shift;
-    my %args = ( Target => '',
-                 Base   => '',
-                 Type   => '',
-                 Silent => undef,
-                 @_ );
-
-    unless ( $self->CurrentUserHasRight('ModifyQueue') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    return $self->SUPER::_AddLink(%args);
-}
-
-sub DeleteLink {
-    my $self = shift;
-    my %args = (
-        Base   => undef,
-        Target => undef,
-        Type   => undef,
-        @_
-    );
-
-    #check acls
-    unless ( $self->CurrentUserHasRight('ModifyQueue') ) {
-        $RT::Logger->debug("No permission to delete links\n");
-        return ( 0, $self->loc('Permission Denied'))
-    }
-
-    return $self->SUPER::_DeleteLink(%args);
-}
-
-=head2 AvailableRights
-
-Returns a hash of available rights for this object. The keys are the right names and the values are a description of what the rights do
-
-=cut
-
-sub AvailableRights {
-    my $self = shift;
-    return($RIGHTS);
-}
-
-# {{{ ActiveStatusArray
-
-=head2 ActiveStatusArray
-
-Returns an array of all ActiveStatuses for this queue
-
-=cut
-
-sub ActiveStatusArray {
-    my $self = shift;
-    if (@RT::ActiveStatus) {
-       return (@RT::ActiveStatus)
-    } else {
-        $RT::Logger->warning("RT::ActiveStatus undefined, falling back to deprecated defaults");
-        return (@DEFAULT_ACTIVE_STATUS);
-    }
-}
-
-# }}}
-
-# {{{ InactiveStatusArray
-
-=head2 InactiveStatusArray
-
-Returns an array of all InactiveStatuses for this queue
-
-=cut
-
-sub InactiveStatusArray {
-    my $self = shift;
-    if (@RT::InactiveStatus) {
-       return (@RT::InactiveStatus)
-    } else {
-        $RT::Logger->warning("RT::InactiveStatus undefined, falling back to deprecated defaults");
-        return (@DEFAULT_INACTIVE_STATUS);
-    }
-}
-
-# }}}
-
-# {{{ StatusArray
-
-=head2 StatusArray
-
-Returns an array of all statuses for this queue
-
-=cut
-
-sub StatusArray {
-    my $self = shift;
-    return ($self->ActiveStatusArray(), $self->InactiveStatusArray());
-}
-
-# }}}
-
-# {{{ IsValidStatus
-
-=head2 IsValidStatus VALUE
-
-Returns true if VALUE is a valid status.  Otherwise, returns 0.
-
-=begin testing
-
-my $q = RT::Queue->new($RT::SystemUser);
-ok($q->IsValidStatus('new')== 1, 'New is a valid status');
-ok($q->IsValidStatus('f00')== 0, 'f00 is not a valid status');
-
-=end testing
-
-=cut
-
-sub IsValidStatus {
-    my $self  = shift;
-    my $value = shift;
-
-    my $retval = grep ( $_ eq $value, $self->StatusArray );
-    return ($retval);
-
-}
-
-# }}}
-
-# {{{ IsActiveStatus
-
-=head2 IsActiveStatus VALUE
-
-Returns true if VALUE is a Active status.  Otherwise, returns 0
-
-=begin testing
-
-my $q = RT::Queue->new($RT::SystemUser);
-ok($q->IsActiveStatus('new')== 1, 'New is a Active status');
-ok($q->IsActiveStatus('rejected')== 0, 'Rejected is an inactive status');
-ok($q->IsActiveStatus('f00')== 0, 'f00 is not a Active status');
-
-=end testing
-
-=cut
-
-sub IsActiveStatus {
-    my $self  = shift;
-    my $value = shift;
-
-    my $retval = grep ( $_ eq $value, $self->ActiveStatusArray );
-    return ($retval);
-
-}
-
-# }}}
-
-# {{{ IsInactiveStatus
-
-=head2 IsInactiveStatus VALUE
-
-Returns true if VALUE is a Inactive status.  Otherwise, returns 0
-
-=begin testing
-
-my $q = RT::Queue->new($RT::SystemUser);
-ok($q->IsInactiveStatus('new')== 0, 'New is a Active status');
-ok($q->IsInactiveStatus('rejected')== 1, 'rejeected is an Inactive status');
-ok($q->IsInactiveStatus('f00')== 0, 'f00 is not a Active status');
-
-=end testing
-
-=cut
-
-sub IsInactiveStatus {
-    my $self  = shift;
-    my $value = shift;
-
-    my $retval = grep ( $_ eq $value, $self->InactiveStatusArray );
-    return ($retval);
-
-}
-
-# }}}
-
-
-# {{{ sub Create
-
-
-
-
-=head2 Create(ARGS)
-
-Arguments: ARGS is a hash of named parameters.  Valid parameters are:
-
-  Name (required)
-  Description
-  CorrespondAddress
-  CommentAddress
-  InitialPriority
-  FinalPriority
-  DefaultDueIn
-If you pass the ACL check, it creates the queue and returns its queue id.
-
-=begin testing
-
-my $queue = RT::Queue->new($RT::SystemUser);
-my ($id, $val) = $queue->Create( Name => 'Test1');
-ok($id, $val);
-
-($id, $val) = $queue->Create( Name => '66');
-ok(!$id, $val);
-
-=end testing
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = (
-        Name              => undef,
-        CorrespondAddress => '',
-        Description       => '',
-        CommentAddress    => '',
-        InitialPriority   => "0",
-        FinalPriority     => "0",
-        DefaultDueIn      => "0",
-        @_
-    );
-
-    unless ( $self->CurrentUser->HasRight(Right => 'AdminQueue', Object => $RT::System) )
-    {    #Check them ACLs
-        return ( 0, $self->loc("No permission to create queues") );
-    }
-
-    unless ( $self->ValidateName( $args{'Name'} ) ) {
-        return ( 0, $self->loc('Queue already exists') );
-    }
-
-    #TODO better input validation
-    $RT::Handle->BeginTransaction();
-
-    my $id = $self->SUPER::Create(%args);
-    unless ($id) {
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc('Queue could not be created') );
-    }
-
-    my $create_ret = $self->_CreateQueueGroups();
-    unless ($create_ret) {
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc('Queue could not be created') );
-    }
-
-    $RT::Handle->Commit();
-    return ( $id, $self->loc("Queue created") );
-}
-
-# }}}
-
-# {{{ sub Delete 
-
-sub Delete {
-    my $self = shift;
-    return ( 0,
-        $self->loc('Deleting this object would break referential integrity') );
-}
-
-# }}}
-
-# {{{ sub SetDisabled
-
-=head2 SetDisabled
-
-Takes a boolean.
-1 will cause this queue to no longer be available for tickets.
-0 will re-enable this queue.
-
-=cut
-
-# }}}
-
-# {{{ sub Load 
-
-=head2 Load
-
-Takes either a numerical id or a textual Name and loads the specified queue.
-
-=cut
-
-sub Load {
-    my $self = shift;
-
-    my $identifier = shift;
-    if ( !$identifier ) {
-        return (undef);
-    }
-
-    if ( $identifier =~ /^(\d+)$/ ) {
-        $self->SUPER::LoadById($identifier);
-    }
-    else {
-        $self->LoadByCols( Name => $identifier );
-    }
-
-    return ( $self->Id );
-
-}
-
-# }}}
-
-# {{{ sub ValidateName
-
-=head2 ValidateName NAME
-
-Takes a queue name. Returns true if it's an ok name for
-a new queue. Returns undef if there's already a queue by that name.
-
-=cut
-
-sub ValidateName {
-    my $self = shift;
-    my $name = shift;
-
-    my $tempqueue = new RT::Queue($RT::SystemUser);
-    $tempqueue->Load($name);
-
-    #If this queue exists, return undef
-    if ( $tempqueue->Name() && $tempqueue->id != $self->id)  {
-        return (undef);
-    }
-
-    #If the queue doesn't exist, return 1
-    else {
-        return ($self->SUPER::ValidateName($name));
-    }
-
-}
-
-# }}}
-
-# {{{ sub Templates
-
-=head2 Templates
-
-Returns an RT::Templates object of all of this queue's templates.
-
-=cut
-
-sub Templates {
-    my $self = shift;
-
-    my $templates = RT::Templates->new( $self->CurrentUser );
-
-    if ( $self->CurrentUserHasRight('ShowTemplate') ) {
-        $templates->LimitToQueue( $self->id );
-    }
-
-    return ($templates);
-}
-
-# }}}
-
-# {{{ Dealing with custom fields
-
-# {{{  CustomField
-
-=head2 CustomField NAME
-
-Load the queue-specific custom field named NAME
-
-=cut
-
-sub CustomField {
-    my $self = shift;
-    my $name = shift;
-    my $cf = RT::CustomField->new($self->CurrentUser);
-    $cf->LoadByNameAndQueue(Name => $name, Queue => $self->Id); 
-    return ($cf);
-}
-
-
-# {{{ CustomFields
-
-=head2 CustomFields
-
-Returns an RT::CustomFields object containing all global custom fields, as well as those tied to this queue
-
-=cut
-
-# XXX TODO - this should become TicketCustomFields
-
-sub CustomFields {
-    my $self = shift;
-    warn "Queue->CustomFields is deprecated, use Queue->TicketCustomFields instead";
-    return $self->TicketCustomFields(@_);
-}
-
-sub TicketCustomFields {
-    my $self = shift;
-
-    my $cfs = RT::CustomFields->new( $self->CurrentUser );
-    if ( $self->CurrentUserHasRight('SeeQueue') ) {
-       $cfs->LimitToGlobalOrObjectId( $self->Id );
-       $cfs->LimitToLookupType( 'RT::Queue-RT::Ticket' );
-    }
-    return ($cfs);
-}
-
-sub TicketTransactionCustomFields {
-    my $self = shift;
-
-    my $cfs = RT::CustomFields->new( $self->CurrentUser );
-    if ( $self->CurrentUserHasRight('SeeQueue') ) {
-       $cfs->LimitToGlobalOrObjectId( $self->Id );
-       $cfs->LimitToLookupType( 'RT::Queue-RT::Ticket-RT::Transaction' );
-    }
-    return ($cfs);
-}
-
-# }}}
-
-# }}}
-
-
-# {{{ Routines dealing with watchers.
-
-# {{{ _CreateQueueGroups 
-
-=head2 _CreateQueueGroups
-
-Create the ticket groups and links for this ticket. 
-This routine expects to be called from Ticket->Create _inside of a transaction_
-
-It will create four groups for this ticket: Requestor, Cc, AdminCc and Owner.
-
-It will return true on success and undef on failure.
-
-=begin testing
-
-my $Queue = RT::Queue->new($RT::SystemUser); my ($id, $msg) = $Queue->Create(Name => "Foo",
-                );
-ok ($id, "Foo $id was created");
-ok(my $group = RT::Group->new($RT::SystemUser));
-ok($group->LoadQueueRoleGroup(Queue => $id, Type=> 'Cc'));
-ok ($group->Id, "Found the requestors object for this Queue");
-
-
-ok ((my $add_id, $add_msg) = $Queue->AddWatcher(Type => 'Cc', Email => 'bob@fsck.com'), "Added bob at fsck.com as a requestor");
-ok ($add_id, "Add succeeded: ($add_msg)");
-ok(my $bob = RT::User->new($RT::SystemUser), "Creating a bob rt::user");
-$bob->LoadByEmail('bob@fsck.com');
-ok($bob->Id,  "Found the bob rt user");
-ok ($Queue->IsWatcher(Type => 'Cc', PrincipalId => $bob->PrincipalId), "The Queue actually has bob at fsck.com as a requestor");;
-ok ((my $add_id, $add_msg) = $Queue->DeleteWatcher(Type =>'Cc', Email => 'bob@fsck.com'), "Added bob at fsck.com as a requestor");
-ok (!$Queue->IsWatcher(Type => 'Cc', Principal => $bob->PrincipalId), "The Queue no longer has bob at fsck.com as a requestor");;
-
-
-$group = RT::Group->new($RT::SystemUser);
-ok($group->LoadQueueRoleGroup(Queue => $id, Type=> 'Cc'));
-ok ($group->Id, "Found the cc object for this Queue");
-$group = RT::Group->new($RT::SystemUser);
-ok($group->LoadQueueRoleGroup(Queue => $id, Type=> 'AdminCc'));
-ok ($group->Id, "Found the AdminCc object for this Queue");
-
-=end testing
-
-=cut
-
-
-sub _CreateQueueGroups {
-    my $self = shift;
-
-    my @types = qw(Cc AdminCc Requestor Owner);
-
-    foreach my $type (@types) {
-        my $type_obj = RT::Group->new($self->CurrentUser);
-        my ($id, $msg) = $type_obj->CreateRoleGroup(Instance => $self->Id, 
-                                                     Type => $type,
-                                                     Domain => 'RT::Queue-Role');
-        unless ($id) {
-            $RT::Logger->error("Couldn't create a Queue group of type '$type' for ticket ".
-                               $self->Id.": ".$msg);
-            return(undef);
-        }
-     }
-    return(1);
-   
-}
-
-
-# }}}
-
-# {{{ sub AddWatcher
-
-=head2 AddWatcher
-
-AddWatcher takes a parameter hash. The keys are as follows:
-
-Type        One of Requestor, Cc, AdminCc
-
-PrinicpalId The RT::Principal id of the user or group that's being added as a watcher
-Email       The email address of the new watcher. If a user with this 
-            email address can't be found, a new nonprivileged user will be created.
-
-If the watcher you\'re trying to set has an RT account, set the Owner paremeter to their User Id. Otherwise, set the Email parameter to their Email address.
-
-Returns a tuple of (status/id, message).
-
-=cut
-
-sub AddWatcher {
-    my $self = shift;
-    my %args = (
-        Type  => undef,
-        PrincipalId => undef,
-        Email => undef,
-        @_
-    );
-
-    # {{{ Check ACLS
-    #If the watcher we're trying to add is for the current user
-    if ( $self->CurrentUser->PrincipalId  eq $args{'PrincipalId'}) {
-        #  If it's an AdminCc and they don't have 
-        #   'WatchAsAdminCc' or 'ModifyTicket', bail
-        if ( $args{'Type'} eq 'AdminCc' ) {
-            unless ( $self->CurrentUserHasRight('ModifyQueueWatchers')
-                or $self->CurrentUserHasRight('WatchAsAdminCc') ) {
-                return ( 0, $self->loc('Permission Denied'))
-            }
-        }
-
-        #  If it's a Requestor or Cc and they don't have
-        #   'Watch' or 'ModifyTicket', bail
-        elsif ( ( $args{'Type'} eq 'Cc' ) or ( $args{'Type'} eq 'Requestor' ) ) {
-
-            unless ( $self->CurrentUserHasRight('ModifyQueueWatchers')
-                or $self->CurrentUserHasRight('Watch') ) {
-                return ( 0, $self->loc('Permission Denied'))
-            }
-        }
-     else {
-            $RT::Logger->warning( "$self -> AddWatcher got passed a bogus type");
-            return ( 0, $self->loc('Error in parameters to Queue->AddWatcher') );
-        }
-    }
-
-    # If the watcher isn't the current user 
-    # and the current user  doesn't have 'ModifyQueueWatcher'
-    # bail
-    else {
-        unless ( $self->CurrentUserHasRight('ModifyQueueWatchers') ) {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-    }
-
-    # }}}
-
-    return ( $self->_AddWatcher(%args) );
-}
-
-#This contains the meat of AddWatcher. but can be called from a routine like
-# Create, which doesn't need the additional acl check
-sub _AddWatcher {
-    my $self = shift;
-    my %args = (
-        Type   => undef,
-        Silent => undef,
-        PrincipalId => undef,
-        Email => undef,
-        @_
-    );
-
-
-    my $principal = RT::Principal->new($self->CurrentUser);
-    if ($args{'PrincipalId'}) {
-        $principal->Load($args{'PrincipalId'});
-    }
-    elsif ($args{'Email'}) {
-
-        my $user = RT::User->new($self->CurrentUser);
-        $user->LoadByEmail($args{'Email'});
-
-        unless ($user->Id) {
-            $user->Load($args{'Email'});
-        }
-        if ($user->Id) { # If the user exists
-            $principal->Load($user->PrincipalId);
-        } else {
-
-        # if the user doesn't exist, we need to create a new user
-             my $new_user = RT::User->new($RT::SystemUser);
-
-            my ( $Address, $Name ) =  
-               RT::Interface::Email::ParseAddressFromHeader($args{'Email'});
-
-            my ( $Val, $Message ) = $new_user->Create(
-                Name => $Address,
-                EmailAddress => $Address,
-                RealName     => $Name,
-                Privileged   => 0,
-                Comments     => 'Autocreated when added as a watcher');
-            unless ($Val) {
-                $RT::Logger->error("Failed to create user ".$args{'Email'} .": " .$Message);
-                # Deal with the race condition of two account creations at once
-                $new_user->LoadByEmail($args{'Email'});
-            }
-            $principal->Load($new_user->PrincipalId);
-        }
-    }
-    # If we can't find this watcher, we need to bail.
-    unless ($principal->Id) {
-        return(0, $self->loc("Could not find or create that user"));
-    }
-
-
-    my $group = RT::Group->new($self->CurrentUser);
-    $group->LoadQueueRoleGroup(Type => $args{'Type'}, Queue => $self->Id);
-    unless ($group->id) {
-        return(0,$self->loc("Group not found"));
-    }
-
-    if ( $group->HasMember( $principal)) {
-
-        return ( 0, $self->loc('That principal is already a [_1] for this queue', $args{'Type'}) );
-    }
-
-
-    my ($m_id, $m_msg) = $group->_AddMember(PrincipalId => $principal->Id);
-    unless ($m_id) {
-        $RT::Logger->error("Failed to add ".$principal->Id." as a member of group ".$group->Id."\n".$m_msg);
-
-        return ( 0, $self->loc('Could not make that principal a [_1] for this queue', $args{'Type'}) );
-    }
-    return ( 1, $self->loc('Added principal as a [_1] for this queue', $args{'Type'}) );
-}
-
-# }}}
-
-# {{{ sub DeleteWatcher
-
-=head2 DeleteWatcher { Type => TYPE, PrincipalId => PRINCIPAL_ID, Email => EMAIL_ADDRESS }
-
-
-Deletes a queue  watcher.  Takes two arguments:
-
-Type  (one of Requestor,Cc,AdminCc)
-
-and one of
-
-PrincipalId (an RT::Principal Id of the watcher you want to remove)
-    OR
-Email (the email address of an existing wathcer)
-
-
-=cut
-
-
-sub DeleteWatcher {
-    my $self = shift;
-
-    my %args = ( Type => undef,
-                 PrincipalId => undef,
-                 @_ );
-
-    unless ($args{'PrincipalId'} ) {
-        return(0, $self->loc("No principal specified"));
-    }
-    my $principal = RT::Principal->new($self->CurrentUser);
-    $principal->Load($args{'PrincipalId'});
-
-    # If we can't find this watcher, we need to bail.
-    unless ($principal->Id) {
-        return(0, $self->loc("Could not find that principal"));
-    }
-
-    my $group = RT::Group->new($self->CurrentUser);
-    $group->LoadQueueRoleGroup(Type => $args{'Type'}, Queue => $self->Id);
-    unless ($group->id) {
-        return(0,$self->loc("Group not found"));
-    }
-
-    # {{{ Check ACLS
-    #If the watcher we're trying to add is for the current user
-    if ( $self->CurrentUser->PrincipalId  eq $args{'PrincipalId'}) {
-        #  If it's an AdminCc and they don't have 
-        #   'WatchAsAdminCc' or 'ModifyQueue', bail
-  if ( $args{'Type'} eq 'AdminCc' ) {
-            unless ( $self->CurrentUserHasRight('ModifyQueueWatchers')
-                or $self->CurrentUserHasRight('WatchAsAdminCc') ) {
-                return ( 0, $self->loc('Permission Denied'))
-            }
-        }
-
-        #  If it's a Requestor or Cc and they don't have
-        #   'Watch' or 'ModifyQueue', bail
-        elsif ( ( $args{'Type'} eq 'Cc' ) or ( $args{'Type'} eq 'Requestor' ) ) {
-            unless ( $self->CurrentUserHasRight('ModifyQueueWatchers')
-                or $self->CurrentUserHasRight('Watch') ) {
-                return ( 0, $self->loc('Permission Denied'))
-            }
-        }
-        else {
-            $RT::Logger->warning( "$self -> DeleteWatcher got passed a bogus type");
-            return ( 0, $self->loc('Error in parameters to Queue->DeleteWatcher') );
-        }
-    }
-
-    # If the watcher isn't the current user 
-    # and the current user  doesn't have 'ModifyQueueWathcers' bail
-    else {
-        unless ( $self->CurrentUserHasRight('ModifyQueueWatchers') ) {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-    }
-
-    # }}}
-
-
-    # see if this user is already a watcher.
-
-    unless ( $group->HasMember($principal)) {
-        return ( 0,
-        $self->loc('That principal is not a [_1] for this queue', $args{'Type'}) );
-    }
-
-    my ($m_id, $m_msg) = $group->_DeleteMember($principal->Id);
-    unless ($m_id) {
-        $RT::Logger->error("Failed to delete ".$principal->Id.
-                           " as a member of group ".$group->Id."\n".$m_msg);
-
-        return ( 0,    $self->loc('Could not remove that principal as a [_1] for this queue', $args{'Type'}) );
-    }
-
-    return ( 1, $self->loc("[_1] is no longer a [_2] for this queue.", $principal->Object->Name, $args{'Type'} ));
-}
-
-# }}}
-
-# {{{ AdminCcAddresses
-
-=head2 AdminCcAddresses
-
-returns String: All queue AdminCc email addresses as a string
-
-=cut
-
-sub AdminCcAddresses {
-    my $self = shift;
-    
-    unless ( $self->CurrentUserHasRight('SeeQueue') ) {
-        return undef;
-    }   
-    
-    return ( $self->AdminCc->MemberEmailAddressesAsString )
-    
-}   
-
-# }}}
-
-# {{{ CcAddresses
-
-=head2 CcAddresses
-
-returns String: All queue Ccs as a string of email addresses
-
-=cut
-
-sub CcAddresses {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('SeeQueue') ) {
-        return undef;
-    }
-
-    return ( $self->Cc->MemberEmailAddressesAsString);
-
-}
-# }}}
-
-
-# {{{ sub Cc
-
-=head2 Cc
-
-Takes nothing.
-Returns an RT::Group object which contains this Queue's Ccs.
-If the user doesn't have "ShowQueue" permission, returns an empty group
-
-=cut
-
-sub Cc {
-    my $self = shift;
-
-    my $group = RT::Group->new($self->CurrentUser);
-    if ( $self->CurrentUserHasRight('SeeQueue') ) {
-        $group->LoadQueueRoleGroup(Type => 'Cc', Queue => $self->Id);
-    }
-    return ($group);
-
-}
-
-# }}}
-
-# {{{ sub AdminCc
-
-=head2 AdminCc
-
-Takes nothing.
-Returns an RT::Group object which contains this Queue's AdminCcs.
-If the user doesn't have "ShowQueue" permission, returns an empty group
-
-=cut
-
-sub AdminCc {
-    my $self = shift;
-
-    my $group = RT::Group->new($self->CurrentUser);
-    if ( $self->CurrentUserHasRight('SeeQueue') ) {
-        $group->LoadQueueRoleGroup(Type => 'AdminCc', Queue => $self->Id);
-    }
-    return ($group);
-
-}
-
-# }}}
-
-# {{{ IsWatcher, IsCc, IsAdminCc
-
-# {{{ sub IsWatcher
-# a generic routine to be called by IsRequestor, IsCc and IsAdminCc
-
-=head2 IsWatcher { Type => TYPE, PrincipalId => PRINCIPAL_ID }
-
-Takes a param hash with the attributes Type and PrincipalId
-
-Type is one of Requestor, Cc, AdminCc and Owner
-
-PrincipalId is an RT::Principal id 
-
-Returns true if that principal is a member of the group Type for this queue
-
-
-=cut
-
-sub IsWatcher {
-    my $self = shift;
-
-    my %args = ( Type  => 'Cc',
-        PrincipalId    => undef,
-        @_
-    );
-
-    # Load the relevant group. 
-    my $group = RT::Group->new($self->CurrentUser);
-    $group->LoadQueueRoleGroup(Type => $args{'Type'}, Queue => $self->id);
-    # Ask if it has the member in question
-
-    my $principal = RT::Principal->new($self->CurrentUser);
-    $principal->Load($args{'PrincipalId'});
-    unless ($principal->Id) {
-        return (undef);
-    }
-
-    return ($group->HasMemberRecursively($principal));
-}
-
-# }}}
-
-
-# {{{ sub IsCc
-
-=head2 IsCc PRINCIPAL_ID
-
-Takes an RT::Principal id.
-Returns true if the principal is a requestor of the current queue.
-
-
-=cut
-
-sub IsCc {
-    my $self = shift;
-    my $cc   = shift;
-
-    return ( $self->IsWatcher( Type => 'Cc', PrincipalId => $cc ) );
-
-}
-
-# }}}
-
-# {{{ sub IsAdminCc
-
-=head2 IsAdminCc PRINCIPAL_ID
-
-Takes an RT::Principal id.
-Returns true if the principal is a requestor of the current queue.
-
-=cut
-
-sub IsAdminCc {
-    my $self   = shift;
-    my $person = shift;
-
-    return ( $self->IsWatcher( Type => 'AdminCc', PrincipalId => $person ) );
-
-}
-
-# }}}
-
-
-# }}}
-
-
-
-
-
-# }}}
-
-# {{{ ACCESS CONTROL
-
-# {{{ sub _Set
-sub _Set {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('AdminQueue') ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-    return ( $self->SUPER::_Set(@_) );
-}
-
-# }}}
-
-# {{{ sub _Value
-
-sub _Value {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('SeeQueue') ) {
-        return (undef);
-    }
-
-    return ( $self->__Value(@_) );
-}
-
-# }}}
-
-# {{{ sub CurrentUserHasRight
-
-=head2 CurrentUserHasRight
-
-Takes one argument. A textual string with the name of the right we want to check.
-Returns true if the current user has that right for this queue.
-Returns undef otherwise.
-
-=cut
-
-sub CurrentUserHasRight {
-    my $self  = shift;
-    my $right = shift;
-
-    return (
-        $self->HasRight(
-            Principal => $self->CurrentUser,
-            Right     => "$right"
-          )
-    );
-
-}
-
-# }}}
-
-# {{{ sub HasRight
-
-=head2 HasRight
-
-Takes a param hash with the fields 'Right' and 'Principal'.
-Principal defaults to the current user.
-Returns true if the principal has that right for this queue.
-Returns undef otherwise.
-
-=cut
-
-# TAKES: Right and optional "Principal" which defaults to the current user
-sub HasRight {
-    my $self = shift;
-    my %args = (
-        Right     => undef,
-        Principal => $self->CurrentUser,
-        @_
-    );
-    unless ( defined $args{'Principal'} ) {
-        $RT::Logger->debug("Principal undefined in Queue::HasRight");
-
-    }
-    return (
-        $args{'Principal'}->HasRight(
-            Object => $self->Id ? $self : $RT::System,
-            Right    => $args{'Right'}
-          )
-    );
-}
-
-# }}}
-
-# }}}
-
-1;
diff --git a/rt/lib/RT/Queues.pm b/rt/lib/RT/Queues.pm
deleted file mode 100755 (executable)
index a702081..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Queues -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Queues
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Queues;
-
-use RT::SearchBuilder;
-use RT::Queue;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Queues';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Queue item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Queue->new($self->CurrentUser));
-}
-
-        eval "require RT::Queues_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Queues_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Queues_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Queues_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Queues_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Queues_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Queues_Overlay, RT::Queues_Vendor, RT::Queues_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Queues_Overlay.pm b/rt/lib/RT/Queues_Overlay.pm
deleted file mode 100644 (file)
index 06e3e12..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Queues - a collection of RT::Queue objects
-
-=head1 SYNOPSIS
-
-  use RT::Queues;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Queues);
-
-=end testing
-
-=cut
-
-
-package RT::Queues;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub _Init
-sub _Init { 
-  my $self = shift;
-  $self->{'table'} = "Queues";
-  $self->{'primary_key'} = "id";
-
-  # By default, order by name
-  $self->OrderBy( ALIAS => 'main',
-                 FIELD => 'Name',
-                 ORDER => 'ASC');
-
-  return ($self->SUPER::_Init(@_));
-}
-# }}}
-
-# {{{ sub _DoSearch 
-
-=head2 _DoSearch
-
-  A subclass of DBIx::SearchBuilder::_DoSearch that makes sure that _Disabled rows never get seen unless
-we're explicitly trying to see them.
-
-=cut
-
-sub _DoSearch {
-    my $self = shift;
-    
-    #unless we really want to find disabled rows, make sure we\'re only finding enabled ones.
-    unless($self->{'find_disabled_rows'}) {
-       $self->LimitToEnabled();
-    }
-    
-    return($self->SUPER::_DoSearch(@_));
-    
-}
-
-# }}}
-  
-
-# {{{ sub Limit 
-sub Limit  {
-  my $self = shift;
-  my %args = ( ENTRYAGGREGATOR => 'AND',
-              @_);
-  $self->SUPER::Limit(%args);
-}
-# }}}
-
-# {{{ sub Next 
-
-=head2 Next
-
-Returns the next queue that this user can see.
-
-=cut
-  
-sub Next {
-    my $self = shift;
-    
-    
-    my $Queue = $self->SUPER::Next();
-    if ((defined($Queue)) and (ref($Queue))) {
-
-       if ($Queue->CurrentUserHasRight('SeeQueue')) {
-           return($Queue);
-       }
-       
-       #If the user doesn't have the right to show this queue
-       else {  
-           return($self->Next());
-       }
-    }
-    #if there never was any queue
-    else {
-       return(undef);
-    }  
-    
-}
-# }}}
-
-1;
-
diff --git a/rt/lib/RT/Record.pm b/rt/lib/RT/Record.pm
deleted file mode 100755 (executable)
index d3a8268..0000000
+++ /dev/null
@@ -1,1871 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Record - Base class for RT record objects
-
-=head1 SYNOPSIS
-
-
-=head1 DESCRIPTION
-
-
-=begin testing
-
-ok (require RT::Record);
-
-=end testing
-
-=head1 METHODS
-
-=cut
-
-package RT::Record;
-use RT::Date;
-use RT::User;
-use RT::Attributes;
-use RT::Base;
-use DBIx::SearchBuilder::Record::Cachable;
-
-use strict;
-use vars qw/@ISA $_TABLE_ATTR/;
-
-@ISA = qw(RT::Base);
-
-if ($RT::DontCacheSearchBuilderRecords ) {
-    push (@ISA, 'DBIx::SearchBuilder::Record');
-} else {
-    push (@ISA, 'DBIx::SearchBuilder::Record::Cachable');
-
-}
-
-# {{{ sub _Init 
-
-sub _Init {
-    my $self = shift;
-    $self->_BuildTableAttributes unless ($_TABLE_ATTR->{ref($self)});
-    $self->CurrentUser(@_);
-}
-
-# }}}
-
-# {{{ _PrimaryKeys
-
-=head2 _PrimaryKeys
-
-The primary keys for RT classes is 'id'
-
-=cut
-
-sub _PrimaryKeys {
-    my $self = shift;
-    return ( ['id'] );
-}
-
-# }}}
-
-=head2 Delete
-
-Delete this record object from the database.
-
-=cut
-
-sub Delete {
-    my $self = shift;
-    my ($rv) = $self->SUPER::Delete;
-    if ($rv) {
-        return ($rv, $self->loc("Object deleted"));
-    } else {
-
-        return(0, $self->loc("Object could not be deleted"))
-    } 
-}
-
-=head2 ObjectTypeStr
-
-Returns a string which is this object's type.  The type is the class,
-without the "RT::" prefix.
-
-=begin testing
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my $group = RT::Group->new($RT::SystemUser);
-is($ticket->ObjectTypeStr, 'Ticket', "Ticket returns correct typestring");
-is($group->ObjectTypeStr, 'Group', "Group returns correct typestring");
-
-=end testing
-
-=cut
-
-sub ObjectTypeStr {
-    my $self = shift;
-    if (ref($self) =~ /^.*::(\w+)$/) {
-       return $self->loc($1);
-    } else {
-       return $self->loc(ref($self));
-    }
-}
-
-=head2 Attributes
-
-Return this object's attributes as an RT::Attributes object
-
-=cut
-
-sub Attributes {
-    my $self = shift;
-    
-    unless ($self->{'attributes'}) {
-        $self->{'attributes'} = RT::Attributes->new($self->CurrentUser);     
-       $self->{'attributes'}->LimitToObject($self); 
-    }
-    return ($self->{'attributes'}); 
-
-}
-
-
-=head2 AddAttribute { Name, Description, Content }
-
-Adds a new attribute for this object.
-
-=cut
-
-sub AddAttribute {
-    my $self = shift;
-    my %args = ( Name        => undef,
-                 Description => undef,
-                 Content     => undef,
-                 @_ );
-
-    my $attr = RT::Attribute->new( $self->CurrentUser );
-    my ( $id, $msg ) = $attr->Create( 
-                                      Object    => $self,
-                                      Name        => $args{'Name'},
-                                      Description => $args{'Description'},
-                                      Content     => $args{'Content'} );
-
-                                     
-    # XXX TODO: Why won't RedoSearch work here?                                     
-    $self->Attributes->_DoSearch;
-    
-    return ($id, $msg);
-}
-
-
-=head2 SetAttribute { Name, Description, Content }
-
-Like AddAttribute, but replaces all existing attributes with the same Name.
-
-=cut
-
-sub SetAttribute {
-    my $self = shift;
-    my %args = ( Name        => undef,
-                 Description => undef,
-                 Content     => undef,
-                 @_ );
-
-    my @AttributeObjs = $self->Attributes->Named( $args{'Name'} )
-        or return $self->AddAttribute( %args );
-
-    my $AttributeObj = pop( @AttributeObjs );
-    $_->Delete foreach @AttributeObjs;
-
-    $AttributeObj->SetDescription( $args{'Description'} );
-    $AttributeObj->SetContent( $args{'Content'} );
-
-    $self->Attributes->RedoSearch;
-    return 1;
-}
-
-=head2 DeleteAttribute NAME
-
-Deletes all attributes with the matching name for this object.
-
-=cut
-
-sub DeleteAttribute {
-    my $self = shift;
-    my $name = shift;
-    return $self->Attributes->DeleteEntry( Name => $name );
-}
-
-=head2 FirstAttribute NAME
-
-Returns the value of the first attribute with the matching name
-for this object, or C<undef> if no such attributes exist.
-
-=cut
-
-sub FirstAttribute {
-    my $self = shift;
-    my $name = shift;
-    return ($self->Attributes->Named( $name ))[0];
-}
-
-
-# {{{ sub _Handle 
-sub _Handle {
-    my $self = shift;
-    return ($RT::Handle);
-}
-
-# }}}
-
-# {{{ sub Create 
-
-=head2  Create PARAMHASH
-
-Takes a PARAMHASH of Column -> Value pairs.
-If any Column has a Validate$PARAMNAME subroutine defined and the 
-value provided doesn't pass validation, this routine returns
-an error.
-
-If this object's table has any of the following atetributes defined as
-'Auto', this routine will automatically fill in their values.
-
-=cut
-
-sub Create {
-    my $self    = shift;
-    my %attribs = (@_);
-    foreach my $key ( keys %attribs ) {
-        my $method = "Validate$key";
-        unless ( $self->$method( $attribs{$key} ) ) {
-            if (wantarray) {
-                return ( 0, $self->loc('Invalid value for [_1]', $key) );
-            }
-            else {
-                return (0);
-            }
-        }
-    }
-    my $now = RT::Date->new( $self->CurrentUser );
-    $now->Set( Format => 'unix', Value => time );
-    $attribs{'Created'} = $now->ISO() if ( $self->_Accessible( 'Created', 'auto' ) && !$attribs{'Created'});
-
-    if ($self->_Accessible( 'Creator', 'auto' ) && !$attribs{'Creator'}) {
-         $attribs{'Creator'} = $self->CurrentUser->id || '0'; 
-    }
-    $attribs{'LastUpdated'} = $now->ISO()
-      if ( $self->_Accessible( 'LastUpdated', 'auto' ) && !$attribs{'LastUpdated'});
-
-    $attribs{'LastUpdatedBy'} = $self->CurrentUser->id || '0'
-      if ( $self->_Accessible( 'LastUpdatedBy', 'auto' ) && !$attribs{'LastUpdatedBy'});
-
-    my $id = $self->SUPER::Create(%attribs);
-    if ( UNIVERSAL::isa( $id, 'Class::ReturnValue' ) ) {
-        if ( $id->errno ) {
-            if (wantarray) {
-                return ( 0,
-                    $self->loc( "Internal Error: [_1]", $id->{error_message} ) );
-            }
-            else {
-                return (0);
-            }
-        }
-    }
-    # If the object was created in the database, 
-    # load it up now, so we're sure we get what the database 
-    # has.  Arguably, this should not be necessary, but there
-    # isn't much we can do about it.
-
-   unless ($id) { 
-    if (wantarray) {
-        return ( $id, $self->loc('Object could not be created') );
-    }
-    else {
-        return ($id);
-    }
-
-   }
-
-    if  (UNIVERSAL::isa('errno',$id)) {
-        exit(0);
-       warn "It's here!";
-        return(undef);
-    }
-
-    $self->Load($id) if ($id);
-
-
-
-    if (wantarray) {
-        return ( $id, $self->loc('Object created') );
-    }
-    else {
-        return ($id);
-    }
-
-}
-
-# }}}
-
-# {{{ sub LoadByCols
-
-=head2 LoadByCols
-
-Override DBIx::SearchBuilder::LoadByCols to do case-insensitive loads if the 
-DB is case sensitive
-
-=cut
-
-sub LoadByCols {
-    my $self = shift;
-    my %hash = (@_);
-
-    # We don't want to hang onto this
-    delete $self->{'attributes'};
-
-    # If this database is case sensitive we need to uncase objects for
-    # explicit loading
-    if ( $self->_Handle->CaseSensitive ) {
-        my %newhash;
-        foreach my $key ( keys %hash ) {
-
-            # If we've been passed an empty value, we can't do the lookup. 
-            # We don't need to explicitly downcase integers or an id.
-            if ( $key =~ '^id$'
-                || !defined( $hash{$key} )
-                || $hash{$key} =~ /^\d+$/
-                 )
-            {
-                $newhash{$key} = $hash{$key};
-            }
-            else {
-                my ($op, $val, $func);
-                ($key, $op, $val, $func) = $self->_Handle->_MakeClauseCaseInsensitive($key, '=', $hash{$key});
-                $newhash{$key}->{operator} = $op;
-                $newhash{$key}->{value} = $val;
-                $newhash{$key}->{function} = $func;
-            }
-        }
-
-        # We've clobbered everything we care about. bash the old hash
-        # and replace it with the new hash
-        %hash = %newhash;
-    }
-    $self->SUPER::LoadByCols(%hash);
-}
-
-# }}}
-
-# {{{ Datehandling
-
-# There is room for optimizations in most of those subs:
-
-# {{{ LastUpdatedObj
-
-sub LastUpdatedObj {
-    my $self = shift;
-    my $obj  = new RT::Date( $self->CurrentUser );
-
-    $obj->Set( Format => 'sql', Value => $self->LastUpdated );
-    return $obj;
-}
-
-# }}}
-
-# {{{ CreatedObj
-
-sub CreatedObj {
-    my $self = shift;
-    my $obj  = new RT::Date( $self->CurrentUser );
-
-    $obj->Set( Format => 'sql', Value => $self->Created );
-
-    return $obj;
-}
-
-# }}}
-
-# {{{ AgeAsString
-#
-# TODO: This should be deprecated
-#
-sub AgeAsString {
-    my $self = shift;
-    return ( $self->CreatedObj->AgeAsString() );
-}
-
-# }}}
-
-# {{{ LastUpdatedAsString
-
-# TODO this should be deprecated
-
-sub LastUpdatedAsString {
-    my $self = shift;
-    if ( $self->LastUpdated ) {
-        return ( $self->LastUpdatedObj->AsString() );
-
-    }
-    else {
-        return "never";
-    }
-}
-
-# }}}
-
-# {{{ CreatedAsString
-#
-# TODO This should be deprecated 
-#
-sub CreatedAsString {
-    my $self = shift;
-    return ( $self->CreatedObj->AsString() );
-}
-
-# }}}
-
-# {{{ LongSinceUpdateAsString
-#
-# TODO This should be deprecated
-#
-sub LongSinceUpdateAsString {
-    my $self = shift;
-    if ( $self->LastUpdated ) {
-
-        return ( $self->LastUpdatedObj->AgeAsString() );
-
-    }
-    else {
-        return "never";
-    }
-}
-
-# }}}
-
-# }}} Datehandling
-
-# {{{ sub _Set 
-#
-sub _Set {
-    my $self = shift;
-
-    my %args = (
-        Field => undef,
-        Value => undef,
-        IsSQL => undef,
-        @_
-    );
-
-    #if the user is trying to modify the record
-    # TODO: document _why_ this code is here
-
-    if ( ( !defined( $args{'Field'} ) ) || ( !defined( $args{'Value'} ) ) ) {
-        $args{'Value'} = 0;
-    }
-
-    my $old_val = $self->__Value($args{'Field'});
-     $self->_SetLastUpdated();
-    my $ret = $self->SUPER::_Set(
-        Field => $args{'Field'},
-        Value => $args{'Value'},
-        IsSQL => $args{'IsSQL'}
-    );
-        my ($status, $msg) =  $ret->as_array();
-
-        # @values has two values, a status code and a message.
-
-    # $ret is a Class::ReturnValue object. as such, in a boolean context, it's a bool
-    # we want to change the standard "success" message
-    if ($status) {
-        $msg =
-          $self->loc(
-            "[_1] changed from [_2] to [_3]",
-            $args{'Field'},
-            ( $old_val ? "'$old_val'" : $self->loc("(no value)") ),
-            '"' . $self->__Value( $args{'Field'}) . '"' 
-          );
-      } else {
-
-          $msg = $self->CurrentUser->loc_fuzzy($msg);
-    }
-    return wantarray ? ($status, $msg) : $ret;     
-
-}
-
-# }}}
-
-# {{{ sub _SetLastUpdated
-
-=head2 _SetLastUpdated
-
-This routine updates the LastUpdated and LastUpdatedBy columns of the row in question
-It takes no options. Arguably, this is a bug
-
-=cut
-
-sub _SetLastUpdated {
-    my $self = shift;
-    use RT::Date;
-    my $now = new RT::Date( $self->CurrentUser );
-    $now->SetToNow();
-
-    if ( $self->_Accessible( 'LastUpdated', 'auto' ) ) {
-        my ( $msg, $val ) = $self->__Set(
-            Field => 'LastUpdated',
-            Value => $now->ISO
-        );
-    }
-    if ( $self->_Accessible( 'LastUpdatedBy', 'auto' ) ) {
-        my ( $msg, $val ) = $self->__Set(
-            Field => 'LastUpdatedBy',
-            Value => $self->CurrentUser->id
-        );
-    }
-}
-
-# }}}
-
-# {{{ sub CreatorObj 
-
-=head2 CreatorObj
-
-Returns an RT::User object with the RT account of the creator of this row
-
-=cut
-
-sub CreatorObj {
-    my $self = shift;
-    unless ( exists $self->{'CreatorObj'} ) {
-
-        $self->{'CreatorObj'} = RT::User->new( $self->CurrentUser );
-        $self->{'CreatorObj'}->Load( $self->Creator );
-    }
-    return ( $self->{'CreatorObj'} );
-}
-
-# }}}
-
-# {{{ sub LastUpdatedByObj
-
-=head2 LastUpdatedByObj
-
-  Returns an RT::User object of the last user to touch this object
-
-=cut
-
-sub LastUpdatedByObj {
-    my $self = shift;
-    unless ( exists $self->{LastUpdatedByObj} ) {
-        $self->{'LastUpdatedByObj'} = RT::User->new( $self->CurrentUser );
-        $self->{'LastUpdatedByObj'}->Load( $self->LastUpdatedBy );
-    }
-    return $self->{'LastUpdatedByObj'};
-}
-
-# }}}
-
-# {{{ sub URI 
-
-=head2 URI
-
-Returns this record's URI
-
-=cut
-
-sub URI {
-    my $self = shift;
-    my $uri = RT::URI::fsck_com_rt->new($self->CurrentUser);
-    return($uri->URIForObject($self));
-}
-
-# }}}
-
-=head2 ValidateName NAME
-
-Validate the name of the record we're creating. Mostly, just make sure it's not a numeric ID, which is invalid for Name
-
-=cut
-
-sub ValidateName {
-    my $self = shift;
-    my $value = shift;
-    if ($value && $value=~ /^\d+$/) {
-        return(0);
-    } else  {
-         return (1);
-    }
-}
-
-
-
-=head2 SQLType attribute
-
-return the SQL type for the attribute 'attribute' as stored in _ClassAccessible
-
-=cut
-
-sub SQLType {
-    my $self = shift;
-    my $field = shift;
-
-    return ($self->_Accessible($field, 'type'));
-
-
-}
-
-require Encode::compat if $] < 5.007001;
-require Encode;
-
-
-
-
-sub __Value {
-    my $self  = shift;
-    my $field = shift;
-    my %args = ( decode_utf8 => 1,
-                 @_ );
-
-    unless (defined $field && $field) {
-        $RT::Logger->error("$self __Value called with undef field");
-    }
-    my $value = $self->SUPER::__Value($field);
-
-    return('') if ( !defined($value) || $value eq '');
-
-    return Encode::decode_utf8($value) || $value if $args{'decode_utf8'};
-    return $value;
-}
-
-# Set up defaults for DBIx::SearchBuilder::Record::Cachable
-
-sub _CacheConfig {
-  {
-     'cache_p'        => 1,
-     'cache_for_sec'  => 30,
-  }
-}
-
-
-
-sub _BuildTableAttributes {
-    my $self = shift;
-
-    my $attributes;
-    if ( UNIVERSAL::can( $self, '_CoreAccessible' ) ) {
-       $attributes = $self->_CoreAccessible();
-    } elsif ( UNIVERSAL::can( $self, '_ClassAccessible' ) ) {
-       $attributes = $self->_ClassAccessible();
-
-    }
-
-    foreach my $column (%$attributes) {
-        foreach my $attr ( %{ $attributes->{$column} } ) {
-            $_TABLE_ATTR->{ref($self)}->{$column}->{$attr} = $attributes->{$column}->{$attr};
-        }
-    }
-    if ( UNIVERSAL::can( $self, '_OverlayAccessible' ) ) {
-        $attributes = $self->_OverlayAccessible();
-
-        foreach my $column (%$attributes) {
-            foreach my $attr ( %{ $attributes->{$column} } ) {
-                $_TABLE_ATTR->{ref($self)}->{$column}->{$attr} = $attributes->{$column}->{$attr};
-            }
-        }
-    }
-    if ( UNIVERSAL::can( $self, '_VendorAccessible' ) ) {
-        $attributes = $self->_VendorAccessible();
-
-        foreach my $column (%$attributes) {
-            foreach my $attr ( %{ $attributes->{$column} } ) {
-                $_TABLE_ATTR->{ref($self)}->{$column}->{$attr} = $attributes->{$column}->{$attr};
-            }
-        }
-    }
-    if ( UNIVERSAL::can( $self, '_LocalAccessible' ) ) {
-        $attributes = $self->_LocalAccessible();
-
-        foreach my $column (%$attributes) {
-            foreach my $attr ( %{ $attributes->{$column} } ) {
-                $_TABLE_ATTR->{ref($self)}->{$column}->{$attr} = $attributes->{$column}->{$attr};
-            }
-        }
-    }
-
-}
-
-
-=head2 _ClassAccessible 
-
-Overrides the "core" _ClassAccessible using $_TABLE_ATTR. Behaves identical to the version in
-DBIx::SearchBuilder::Record
-
-=cut
-
-sub _ClassAccessible {
-    my $self = shift;
-    return $_TABLE_ATTR->{ref($self)};
-}
-
-=head2 _Accessible COLUMN ATTRIBUTE
-
-returns the value of ATTRIBUTE for COLUMN
-
-
-=cut 
-
-sub _Accessible  {
-  my $self = shift;
-  my $column = shift;
-  my $attribute = lc(shift);
-  return 0 unless defined ($_TABLE_ATTR->{ref($self)}->{$column});
-  return $_TABLE_ATTR->{ref($self)}->{$column}->{$attribute} || 0;
-
-}
-
-=head2 _EncodeLOB BODY MIME_TYPE
-
-Takes a potentially large attachment. Returns (ContentEncoding, EncodedBody) based on system configuration and selected database
-
-=cut
-
-sub _EncodeLOB {
-        my $self = shift;
-        my $Body = shift;
-        my $MIMEType = shift;
-
-        my $ContentEncoding = 'none';
-
-        #get the max attachment length from RT
-        my $MaxSize = $RT::MaxAttachmentSize;
-
-        #if the current attachment contains nulls and the
-        #database doesn't support embedded nulls
-
-        if ( $RT::AlwaysUseBase64 or
-             ( !$RT::Handle->BinarySafeBLOBs ) && ( $Body =~ /\x00/ ) ) {
-
-            # set a flag telling us to mimencode the attachment
-            $ContentEncoding = 'base64';
-
-            #cut the max attchment size by 25% (for mime-encoding overhead.
-            $RT::Logger->debug("Max size is $MaxSize\n");
-            $MaxSize = $MaxSize * 3 / 4;
-        # Some databases (postgres) can't handle non-utf8 data
-        } elsif (    !$RT::Handle->BinarySafeBLOBs
-                  && $MIMEType !~ /text\/plain/gi
-                  && !Encode::is_utf8( $Body, 1 ) ) {
-              $ContentEncoding = 'quoted-printable';
-        }
-
-        #if the attachment is larger than the maximum size
-        if ( ($MaxSize) and ( $MaxSize < length($Body) ) ) {
-
-            # if we're supposed to truncate large attachments
-            if ($RT::TruncateLongAttachments) {
-
-                # truncate the attachment to that length.
-                $Body = substr( $Body, 0, $MaxSize );
-
-            }
-
-            # elsif we're supposed to drop large attachments on the floor,
-            elsif ($RT::DropLongAttachments) {
-
-                # drop the attachment on the floor
-                $RT::Logger->info( "$self: Dropped an attachment of size " . length($Body) . "\n" . "It started: " . substr( $Body, 0, 60 ) . "\n" );
-                return ("none", "Large attachment dropped" );
-            }
-        }
-
-        # if we need to mimencode the attachment
-        if ( $ContentEncoding eq 'base64' ) {
-
-            # base64 encode the attachment
-            Encode::_utf8_off($Body);
-            $Body = MIME::Base64::encode_base64($Body);
-
-        } elsif ($ContentEncoding eq 'quoted-printable') {
-            Encode::_utf8_off($Body);
-            $Body = MIME::QuotedPrint::encode($Body);
-        }
-
-
-        return ($ContentEncoding, $Body);
-
-}
-
-sub _DecodeLOB {
-    my $self            = shift;
-    my $ContentType     = shift;
-    my $ContentEncoding = shift;
-    my $Content         = shift;
-
-    if ( $ContentEncoding eq 'base64' ) {
-        $Content = MIME::Base64::decode_base64($Content);
-    }
-    elsif ( $ContentEncoding eq 'quoted-printable' ) {
-        $Content = MIME::QuotedPrint::decode($Content);
-    }
-    elsif ( $ContentEncoding && $ContentEncoding ne 'none' ) {
-        return ( $self->loc( "Unknown ContentEncoding [_1]", $ContentEncoding ) );
-    }
-    if ( $ContentType eq 'text/plain' ) {
-       $Content = Encode::decode_utf8($Content) unless Encode::is_utf8($Content);
-    }
-        return ($Content);
-}
-
-# {{{ LINKDIRMAP
-# A helper table for links mapping to make it easier
-# to build and parse links between tickets
-
-use vars '%LINKDIRMAP';
-
-%LINKDIRMAP = (
-    MemberOf => { Base => 'MemberOf',
-                  Target => 'HasMember', },
-    RefersTo => { Base => 'RefersTo',
-                Target => 'ReferredToBy', },
-    DependsOn => { Base => 'DependsOn',
-                   Target => 'DependedOnBy', },
-    MergedInto => { Base => 'MergedInto',
-                   Target => 'MergedInto', },
-
-);
-
-sub Update {
-    my $self = shift;
-
-    my %args = (
-        ARGSRef         => undef,
-        AttributesRef   => undef,
-        AttributePrefix => undef,
-        @_
-    );
-
-    my $attributes = $args{'AttributesRef'};
-    my $ARGSRef    = $args{'ARGSRef'};
-    my @results;
-
-    foreach my $attribute (@$attributes) {
-        my $value;
-        if ( defined $ARGSRef->{$attribute} ) {
-            $value = $ARGSRef->{$attribute};
-        }
-        elsif (
-            defined( $args{'AttributePrefix'} )
-            && defined(
-                $ARGSRef->{ $args{'AttributePrefix'} . "-" . $attribute }
-            )
-          ) {
-            $value = $ARGSRef->{ $args{'AttributePrefix'} . "-" . $attribute };
-
-        }
-        else {
-            next;
-        }
-
-        $value =~ s/\r\n/\n/gs;
-
-
-        # If Queue is 'General', we want to resolve the queue name for
-        # the object.
-
-        # This is in an eval block because $object might not exist.
-        # and might not have a Name method. But "can" won't find autoloaded
-        # items. If it fails, we don't care
-        eval {
-            my $object = $attribute . "Obj";
-            next if ($self->$object->Name eq $value);
-        };
-        next if ( $value eq $self->$attribute() );
-        my $method = "Set$attribute";
-        my ( $code, $msg ) = $self->$method($value);
-        my ($prefix) = ref($self) =~ /RT::(\w+)/;
-
-        # Default to $id, but use name if we can get it.
-        my $label = $self->id;
-        $label = $self->Name if (UNIVERSAL::can($self,'Name'));
-        push @results, $self->loc( "$prefix [_1]", $label ) . ': '. $msg;
-
-=for loc
-
-                                   "[_1] could not be set to [_2].",       # loc
-                                   "That is already the current value",    # loc
-                                   "No value sent to _Set!\n",             # loc
-                                   "Illegal value for [_1]",               # loc
-                                   "The new value has been set.",          # loc
-                                   "No column specified",                  # loc
-                                   "Immutable field",                      # loc
-                                   "Nonexistant field?",                   # loc
-                                   "Invalid data",                         # loc
-                                   "Couldn't find row",                    # loc
-                                   "Missing a primary key?: [_1]",         # loc
-                                   "Found Object",                         # loc
-
-=cut
-
-    }
-
-    return @results;
-}
-
-# {{{ Routines dealing with Links
-
-# {{{ Link Collections
-
-# {{{ sub Members
-
-=head2 Members
-
-  This returns an RT::Links object which references all the tickets 
-which are 'MembersOf' this ticket
-
-=cut
-
-sub Members {
-    my $self = shift;
-    return ( $self->_Links( 'Target', 'MemberOf' ) );
-}
-
-# }}}
-
-# {{{ sub MemberOf
-
-=head2 MemberOf
-
-  This returns an RT::Links object which references all the tickets that this
-ticket is a 'MemberOf'
-
-=cut
-
-sub MemberOf {
-    my $self = shift;
-    return ( $self->_Links( 'Base', 'MemberOf' ) );
-}
-
-# }}}
-
-# {{{ RefersTo
-
-=head2 RefersTo
-
-  This returns an RT::Links object which shows all references for which this ticket is a base
-
-=cut
-
-sub RefersTo {
-    my $self = shift;
-    return ( $self->_Links( 'Base', 'RefersTo' ) );
-}
-
-# }}}
-
-# {{{ ReferredToBy
-
-=head2 ReferredToBy
-
-  This returns an RT::Links object which shows all references for which this ticket is a target
-
-=cut
-
-sub ReferredToBy {
-    my $self = shift;
-    return ( $self->_Links( 'Target', 'RefersTo' ) );
-}
-
-# }}}
-
-# {{{ DependedOnBy
-
-=head2 DependedOnBy
-
-  This returns an RT::Links object which references all the tickets that depend on this one
-
-=cut
-
-sub DependedOnBy {
-    my $self = shift;
-    return ( $self->_Links( 'Target', 'DependsOn' ) );
-}
-
-# }}}
-
-
-
-=head2 HasUnresolvedDependencies
-
-  Takes a paramhash of Type (default to '__any').  Returns true if
-$self->UnresolvedDependencies returns an object with one or more members
-of that type.  Returns false otherwise
-
-
-=begin testing
-
-my $t1 = RT::Ticket->new($RT::SystemUser);
-my ($id, $trans, $msg) = $t1->Create(Subject => 'DepTest1', Queue => 'general');
-ok($id, "Created dep test 1 - $msg");
-
-my $t2 = RT::Ticket->new($RT::SystemUser);
-my ($id2, $trans, $msg2) = $t2->Create(Subject => 'DepTest2', Queue => 'general');
-ok($id2, "Created dep test 2 - $msg2");
-my $t3 = RT::Ticket->new($RT::SystemUser);
-my ($id3, $trans, $msg3) = $t3->Create(Subject => 'DepTest3', Queue => 'general', Type => 'approval');
-ok($id3, "Created dep test 3 - $msg3");
-my ($addid, $addmsg);
-ok (($addid, $addmsg) =$t1->AddLink( Type => 'DependsOn', Target => $t2->id));
-ok ($addid, $addmsg);
-ok (($addid, $addmsg) =$t1->AddLink( Type => 'DependsOn', Target => $t3->id));
-
-ok ($addid, $addmsg);
-my $link = RT::Link->new($RT::SystemUser);
-my ($rv, $msg) = $link->Load($addid);
-ok ($rv, $msg);
-ok ($link->LocalTarget == $t3->id, "Link LocalTarget is correct");
-ok ($link->LocalBase   == $t1->id, "Link LocalBase   is correct");
-
-ok ($t1->HasUnresolvedDependencies, "Ticket ".$t1->Id." has unresolved deps");
-ok (!$t1->HasUnresolvedDependencies( Type => 'blah' ), "Ticket ".$t1->Id." has no unresolved blahs");
-ok ($t1->HasUnresolvedDependencies( Type => 'approval' ), "Ticket ".$t1->Id." has unresolved approvals");
-ok (!$t2->HasUnresolvedDependencies, "Ticket ".$t2->Id." has no unresolved deps");
-;
-
-my ($rid, $rmsg)= $t1->Resolve();
-ok(!$rid, $rmsg);
-my ($rid2, $rmsg2) = $t2->Resolve();
-ok ($rid2, $rmsg2);
-($rid, $rmsg)= $t1->Resolve();
-ok(!$rid, $rmsg);
-my ($rid3,$rmsg3) = $t3->Resolve;
-ok ($rid3,$rmsg3);
-($rid, $rmsg)= $t1->Resolve();
-ok($rid, $rmsg);
-
-
-=end testing
-
-=cut
-
-sub HasUnresolvedDependencies {
-    my $self = shift;
-    my %args = (
-        Type   => undef,
-        @_
-    );
-
-    my $deps = $self->UnresolvedDependencies;
-
-    if ($args{Type}) {
-        $deps->Limit( FIELD => 'Type', 
-              OPERATOR => '=',
-              VALUE => $args{Type}); 
-    }
-    else {
-           $deps->IgnoreType;
-    }
-
-    if ($deps->Count > 0) {
-        return 1;
-    }
-    else {
-        return (undef);
-    }
-}
-
-
-# {{{ UnresolvedDependencies 
-
-=head2 UnresolvedDependencies
-
-Returns an RT::Tickets object of tickets which this ticket depends on
-and which have a status of new, open or stalled. (That list comes from
-RT::Queue->ActiveStatusArray
-
-=cut
-
-
-sub UnresolvedDependencies {
-    my $self = shift;
-    my $deps = RT::Tickets->new($self->CurrentUser);
-
-    my @live_statuses = RT::Queue->ActiveStatusArray();
-    foreach my $status (@live_statuses) {
-        $deps->LimitStatus(VALUE => $status);
-    }
-    $deps->LimitDependedOnBy($self->Id);
-
-    return($deps);
-
-}
-
-# }}}
-
-# {{{ AllDependedOnBy
-
-=head2 AllDependedOnBy
-
-Returns an array of RT::Ticket objects which (directly or indirectly)
-depends on this ticket; takes an optional 'Type' argument in the param
-hash, which will limit returned tickets to that type, as well as cause
-tickets with that type to serve as 'leaf' nodes that stops the recursive
-dependency search.
-
-=cut
-
-sub AllDependedOnBy {
-    my $self = shift;
-    my $dep = $self->DependedOnBy;
-    my %args = (
-        Type   => undef,
-       _found => {},
-       _top   => 1,
-        @_
-    );
-
-    while (my $link = $dep->Next()) {
-       next unless ($link->BaseURI->IsLocal());
-       next if $args{_found}{$link->BaseObj->Id};
-
-       if (!$args{Type}) {
-           $args{_found}{$link->BaseObj->Id} = $link->BaseObj;
-           $link->BaseObj->AllDependedOnBy( %args, _top => 0 );
-       }
-       elsif ($link->BaseObj->Type eq $args{Type}) {
-           $args{_found}{$link->BaseObj->Id} = $link->BaseObj;
-       }
-       else {
-           $link->BaseObj->AllDependedOnBy( %args, _top => 0 );
-       }
-    }
-
-    if ($args{_top}) {
-       return map { $args{_found}{$_} } sort keys %{$args{_found}};
-    }
-    else {
-       return 1;
-    }
-}
-
-# }}}
-
-# {{{ DependsOn
-
-=head2 DependsOn
-
-  This returns an RT::Links object which references all the tickets that this ticket depends on
-
-=cut
-
-sub DependsOn {
-    my $self = shift;
-    return ( $self->_Links( 'Base', 'DependsOn' ) );
-}
-
-# }}}
-
-
-
-
-# {{{ sub _Links 
-
-=head2 Links DIRECTION TYPE 
-
-return links to/from this object. 
-
-=cut
-
-*Links = \&_Links;
-
-sub _Links {
-    my $self = shift;
-
-    #TODO: Field isn't the right thing here. but I ahave no idea what mnemonic ---
-    #tobias meant by $f
-    my $field = shift;
-    my $type  = shift || "";
-
-    unless ( $self->{"$field$type"} ) {
-        $self->{"$field$type"} = new RT::Links( $self->CurrentUser );
-            # at least to myself
-            $self->{"$field$type"}->Limit( FIELD => $field,
-                                           VALUE => $self->URI,
-                                           ENTRYAGGREGATOR => 'OR' );
-            $self->{"$field$type"}->Limit( FIELD => 'Type',
-                                           VALUE => $type )
-              if ($type);
-    }
-    return ( $self->{"$field$type"} );
-}
-
-# }}}
-
-# }}}
-
-# {{{ sub _AddLink
-
-=head2 _AddLink
-
-Takes a paramhash of Type and one of Base or Target. Adds that link to this ticket.
-
-
-=cut
-
-
-sub _AddLink {
-    my $self = shift;
-    my %args = ( Target => '',
-                 Base   => '',
-                 Type   => '',
-                 Silent => undef,
-                 @_ );
-
-
-    # Remote_link is the URI of the object that is not this ticket
-    my $remote_link;
-    my $direction;
-
-    if ( $args{'Base'} and $args{'Target'} ) {
-        $RT::Logger->debug( "$self tried to create a link. both base and target were specified\n" );
-        return ( 0, $self->loc("Can't specifiy both base and target") );
-    }
-    elsif ( $args{'Base'} ) {
-        $args{'Target'} = $self->URI();
-       my $class = ref($self);
-        $remote_link    = $args{'Base'};
-        $direction      = 'Target';
-    }
-    elsif ( $args{'Target'} ) {
-        $args{'Base'} = $self->URI();
-       my $class = ref($self);
-        $remote_link  = $args{'Target'};
-        $direction    = 'Base';
-    }
-    else {
-        return ( 0, $self->loc('Either base or target must be specified') );
-    }
-
-    # {{{ Check if the link already exists - we don't want duplicates
-    use RT::Link;
-    my $old_link = RT::Link->new( $self->CurrentUser );
-    $old_link->LoadByParams( Base   => $args{'Base'},
-                             Type   => $args{'Type'},
-                             Target => $args{'Target'} );
-    if ( $old_link->Id ) {
-        $RT::Logger->debug("$self Somebody tried to duplicate a link");
-        return ( $old_link->id, $self->loc("Link already exists"), 0 );
-    }
-
-    # }}}
-
-
-    # Storing the link in the DB.
-    my $link = RT::Link->new( $self->CurrentUser );
-    my ($linkid, $linkmsg) = $link->Create( Target => $args{Target},
-                                  Base   => $args{Base},
-                                  Type   => $args{Type} );
-
-    unless ($linkid) {
-        $RT::Logger->error("Link could not be created: ".$linkmsg);
-        return ( 0, $self->loc("Link could not be created") );
-    }
-
-    my $TransString =
-      "Record $args{'Base'} $args{Type} record $args{'Target'}.";
-
-    return ( $linkid, $self->loc( "Link created ([_1])", $TransString ) );
-}
-
-# }}}
-
-# {{{ sub _DeleteLink 
-
-=head2 _DeleteLink
-
-Delete a link. takes a paramhash of Base, Target and Type.
-Either Base or Target must be null. The null value will 
-be replaced with this ticket\'s id
-
-=cut 
-
-sub _DeleteLink {
-    my $self = shift;
-    my %args = (
-        Base   => undef,
-        Target => undef,
-        Type   => undef,
-        @_
-    );
-
-    #we want one of base and target. we don't care which
-    #but we only want _one_
-
-    my $direction;
-    my $remote_link;
-
-    if ( $args{'Base'} and $args{'Target'} ) {
-        $RT::Logger->debug("$self ->_DeleteLink. got both Base and Target\n");
-        return ( 0, $self->loc("Can't specifiy both base and target") );
-    }
-    elsif ( $args{'Base'} ) {
-        $args{'Target'} = $self->URI();
-       $remote_link = $args{'Base'};
-       $direction = 'Target';
-    }
-    elsif ( $args{'Target'} ) {
-        $args{'Base'} = $self->URI();
-       $remote_link = $args{'Target'};
-        $direction='Base';
-    }
-    else {
-        $RT::Logger->debug("$self: Base or Target must be specified\n");
-        return ( 0, $self->loc('Either base or target must be specified') );
-    }
-
-    my $link = new RT::Link( $self->CurrentUser );
-    $RT::Logger->debug( "Trying to load link: " . $args{'Base'} . " " . $args{'Type'} . " " . $args{'Target'} . "\n" );
-
-
-    $link->LoadByParams( Base=> $args{'Base'}, Type=> $args{'Type'}, Target=>  $args{'Target'} );
-    #it's a real link. 
-    if ( $link->id ) {
-
-        my $linkid = $link->id;
-        $link->Delete();
-
-        my $TransString = "Record $args{'Base'} no longer $args{Type} record $args{'Target'}.";
-        return ( 1, $self->loc("Link deleted ([_1])", $TransString));
-    }
-
-    #if it's not a link we can find
-    else {
-        $RT::Logger->debug("Couldn't find that link\n");
-        return ( 0, $self->loc("Link not found") );
-    }
-}
-
-# }}}
-
-# }}}
-
-# {{{ Routines dealing with transactions
-
-# {{{ sub _NewTransaction
-
-=head2 _NewTransaction  PARAMHASH
-
-Private function to create a new RT::Transaction object for this ticket update
-
-=cut
-
-sub _NewTransaction {
-    my $self = shift;
-    my %args = (
-        TimeTaken => undef,
-        Type      => undef,
-        OldValue  => undef,
-        NewValue  => undef,
-        OldReference  => undef,
-        NewReference  => undef,
-        ReferenceType => undef,
-        Data      => undef,
-        Field     => undef,
-        MIMEObj   => undef,
-        ActivateScrips => 1,
-        CommitScrips => 1,
-        @_
-    );
-
-    my $old_ref = $args{'OldReference'};
-    my $new_ref = $args{'NewReference'};
-    my $ref_type = $args{'ReferenceType'};
-    if ($old_ref or $new_ref) {
-       $ref_type ||= ref($old_ref) || ref($new_ref);
-       if (!$ref_type) {
-           $RT::Logger->error("Reference type not specified for transaction");
-           return;
-       }
-       $old_ref = $old_ref->Id if ref($old_ref);
-       $new_ref = $new_ref->Id if ref($new_ref);
-    }
-
-    require RT::Transaction;
-    my $trans = new RT::Transaction( $self->CurrentUser );
-    my ( $transaction, $msg ) = $trans->Create(
-       ObjectId  => $self->Id,
-       ObjectType => ref($self),
-        TimeTaken => $args{'TimeTaken'},
-        Type      => $args{'Type'},
-        Data      => $args{'Data'},
-        Field     => $args{'Field'},
-        NewValue  => $args{'NewValue'},
-        OldValue  => $args{'OldValue'},
-        NewReference  => $new_ref,
-        OldReference  => $old_ref,
-        ReferenceType => $ref_type,
-        MIMEObj   => $args{'MIMEObj'},
-        ActivateScrips => $args{'ActivateScrips'},
-        CommitScrips => $args{'CommitScrips'},
-    );
-
-    # Rationalize the object since we may have done things to it during the caching.
-    $self->Load($self->Id);
-
-    $RT::Logger->warning($msg) unless $transaction;
-
-    $self->_SetLastUpdated;
-
-    if ( defined $args{'TimeTaken'} ) {
-        $self->_UpdateTimeTaken( $args{'TimeTaken'} );
-    }
-    if ( $RT::UseTransactionBatch and $transaction ) {
-           push @{$self->{_TransactionBatch}}, $trans;
-    }
-    return ( $transaction, $msg, $trans );
-}
-
-# }}}
-
-# {{{ sub Transactions 
-
-=head2 Transactions
-
-  Returns an RT::Transactions object of all transactions on this record object
-
-=cut
-
-sub Transactions {
-    my $self = shift;
-
-    use RT::Transactions;
-    my $transactions = RT::Transactions->new( $self->CurrentUser );
-
-    #If the user has no rights, return an empty object
-    $transactions->Limit(
-        FIELD => 'ObjectId',
-        VALUE => $self->id,
-    );
-    $transactions->Limit(
-        FIELD => 'ObjectType',
-        VALUE => ref($self),
-    );
-
-    return ($transactions);
-}
-
-# }}}
-# }}}
-#
-# {{{ Routines dealing with custom fields
-
-sub CustomFields {
-    my $self = shift;
-    my $cfs  = RT::CustomFields->new( $self->CurrentUser );
-
-    # XXX handle multiple types properly
-    $cfs->LimitToLookupType( $self->CustomFieldLookupType );
-    $cfs->LimitToGlobalOrObjectId(
-        $self->_LookupId( $self->CustomFieldLookupType ) );
-
-    return $cfs;
-}
-
-# TODO: This _only_ works for RT::Class classes. it doesn't work, for example, for RT::FM classes.
-
-sub _LookupId {
-    my $self = shift;
-    my $lookup = shift;
-    my @classes = ($lookup =~ /RT::(\w+)-/g);
-
-    my $object = $self;
-    foreach my $class (reverse @classes) {
-       my $method = "${class}Obj";
-       $object = $object->$method;
-    }
-
-    return $object->Id;
-}
-
-
-=head2 CustomFieldLookupType 
-
-Returns the path RT uses to figure out which custom fields apply to this object.
-
-=cut
-
-sub CustomFieldLookupType {
-    my $self = shift;
-    return ref($self);
-}
-
-#TODO Deprecated API. Destroy in 3.6
-sub _LookupTypes { 
-    my  $self = shift;
-    $RT::Logger->warning("_LookupTypes call is deprecated. Replace with CustomFieldLookupType");
-    $RT::Logger->warning("Besides, it was a private API. Were you doing using it?");
-
-    return($self->CustomFieldLookupType);
-
-}
-
-# {{{ AddCustomFieldValue
-
-=head2 AddCustomFieldValue { Field => FIELD, Value => VALUE }
-
-VALUE should be a string.
-FIELD can be a CustomField object OR a CustomField ID.
-
-
-Adds VALUE as a value of CustomField FIELD.  If this is a single-value custom field,
-deletes the old value. 
-If VALUE is not a valid value for the custom field, returns 
-(0, 'Error message' ) otherwise, returns (1, 'Success Message')
-
-=cut
-
-sub AddCustomFieldValue {
-    my $self = shift;
-    $self->_AddCustomFieldValue(@_);
-}
-
-sub _AddCustomFieldValue {
-    my $self = shift;
-    my %args = (
-        Field             => undef,
-        Value             => undef,
-        RecordTransaction => 1,
-        @_
-    );
-
-    my $cf = $self->LoadCustomFieldByIdentifier($args{'Field'});
-
-    unless ( $cf->Id ) {
-        return ( 0, $self->loc( "Custom field [_1] not found", $args{'Field'} ) );
-    }
-
-    my $OCFs = $self->CustomFields;
-    $OCFs->Limit( FIELD => 'id', VALUE => $cf->Id );
-    unless ( $OCFs->Count ) {
-        return (
-            0,
-            $self->loc(
-                "Custom field [_1] does not apply to this object",
-                $args{'Field'}
-            )
-        );
-    }
-    # Load up a ObjectCustomFieldValues object for this custom field and this ticket
-    my $values = $cf->ValuesForObject($self);
-
-    unless ( $cf->ValidateValue( $args{'Value'} ) ) {
-        return ( 0, $self->loc("Invalid value for custom field") );
-    }
-
-    # If the custom field only accepts a certain # of values, delete the existing
-    # value and record a "changed from foo to bar" transaction
-    unless ( $cf->UnlimitedValues) {
-
- # We need to whack any old values here.  In most cases, the custom field should
- # only have one value to delete.  In the pathalogical case, this custom field
- # used to be a multiple and we have many values to whack....
-        my $cf_values = $values->Count;
-
-        if ( $cf_values > $cf->MaxValues ) {
-            my $i = 0;   #We want to delete all but the max we can currently have , so we can then
-                 # execute the same code to "change" the value from old to new
-            while ( my $value = $values->Next ) {
-                $i++;
-                if ( $i < $cf_values ) {
-                    my ( $val, $msg ) = $cf->DeleteValueForObject(
-                        Object  => $self,
-                        Content => $value->Content
-                    );
-                    unless ($val) {
-                        return ( 0, $msg );
-                    }
-                    my ( $TransactionId, $Msg, $TransactionObj ) =
-                      $self->_NewTransaction(
-                        Type         => 'CustomField',
-                        Field        => $cf->Id,
-                        OldReference => $value,
-                      );
-                }
-            }
-        }
-
-        my ( $old_value, $old_content );
-        if ( $old_value = $cf->ValuesForObject($self)->First ) {
-            $old_content = $old_value->Content();
-            return (1) if( $old_content eq $args{'Value'} && $old_value->LargeContent eq $args{'LargeContent'});;
-        }
-
-        my ( $new_value_id, $value_msg ) = $cf->AddValueForObject(
-            Object       => $self,
-            Content      => $args{'Value'},
-            LargeContent => $args{'LargeContent'},
-            ContentType  => $args{'ContentType'},
-        );
-
-        unless ($new_value_id) {
-            return ( 0, $self->loc( "Could not add new custom field value. [_1] ",, $value_msg));
-        }
-
-        my $new_value = RT::ObjectCustomFieldValue->new( $self->CurrentUser );
-        $new_value->Load($new_value_id);
-
-        # now that adding the new value was successful, delete the old one
-        if ($old_value) {
-            my ( $val, $msg ) = $old_value->Delete();
-            unless ($val) {
-                return ( 0, $msg );
-            }
-        }
-
-        if ( $args{'RecordTransaction'} ) {
-            my ( $TransactionId, $Msg, $TransactionObj ) =
-              $self->_NewTransaction(
-                Type         => 'CustomField',
-                Field        => $cf->Id,
-                OldReference => $old_value,
-                NewReference => $new_value,
-              );
-        }
-
-        if ( $old_value eq '' ) {
-            return ( 1, $self->loc( "[_1] [_2] added", $cf->Name, $new_value->Content ));
-        }
-        elsif ( $new_value->Content eq '' ) {
-            return ( 1,
-                $self->loc( "[_1] [_2] deleted", $cf->Name, $old_value->Content ) );
-        }
-        else {
-            return ( 1, $self->loc( "[_1] [_2] changed to [_3]", $cf->Name, $old_content,                $new_value->Content));
-        }
-
-    }
-
-    # otherwise, just add a new value and record "new value added"
-    else {
-        my ($new_value_id) = $cf->AddValueForObject(
-            Object       => $self,
-            Content      => $args{'Value'},
-            LargeContent => $args{'LargeContent'},
-            ContentType  => $args{'ContentType'},
-        );
-
-        unless ($new_value_id) {
-            return ( 0, $self->loc("Could not add new custom field value. ") );
-        }
-        if ( $args{'RecordTransaction'} ) {
-            my ( $TransactionId, $Msg, $TransactionObj ) =
-              $self->_NewTransaction(
-                Type          => 'CustomField',
-                Field         => $cf->Id,
-                NewReference  => $new_value_id,
-                ReferenceType => 'RT::ObjectCustomFieldValue',
-              );
-            unless ($TransactionId) {
-                return ( 0,
-                    $self->loc( "Couldn't create a transaction: [_1]", $Msg ) );
-            }
-        }
-        return ( 1, $self->loc( "[_1] added as a value for [_2]", $args{'Value'}, $cf->Name));
-    }
-
-}
-
-# }}}
-
-# {{{ DeleteCustomFieldValue
-
-=head2 DeleteCustomFieldValue { Field => FIELD, Value => VALUE }
-
-Deletes VALUE as a value of CustomField FIELD. 
-
-VALUE can be a string, a CustomFieldValue or a ObjectCustomFieldValue.
-
-If VALUE is not a valid value for the custom field, returns 
-(0, 'Error message' ) otherwise, returns (1, 'Success Message')
-
-=cut
-
-sub DeleteCustomFieldValue {
-    my $self = shift;
-    my %args = (
-        Field   => undef,
-        Value   => undef,
-        ValueId => undef,
-        @_
-    );
-
-    my $cf = $self->LoadCustomFieldByIdentifier($args{'Field'});
-
-    unless ( $cf->Id ) {
-        return ( 0, $self->loc( "Custom field [_1] not found", $args{'Field'} ) );
-    }
-    my ( $val, $msg ) = $cf->DeleteValueForObject(
-        Object  => $self,
-        Id      => $args{'ValueId'},
-        Content => $args{'Value'},
-    );
-    unless ($val) {
-        return ( 0, $msg );
-    }
-    my ( $TransactionId, $Msg, $TransactionObj ) = $self->_NewTransaction(
-        Type          => 'CustomField',
-        Field         => $cf->Id,
-        OldReference  => $val,
-        ReferenceType => 'RT::ObjectCustomFieldValue',
-    );
-    unless ($TransactionId) {
-        return ( 0, $self->loc( "Couldn't create a transaction: [_1]", $Msg ) );
-    }
-
-    return (
-        $TransactionId,
-        $self->loc(
-            "[_1] is no longer a value for custom field [_2]",
-            $TransactionObj->OldValue, $cf->Name
-        )
-    );
-}
-
-# }}}
-
-# {{{ FirstCustomFieldValue
-
-=head2 FirstCustomFieldValue FIELD
-
-Return the content of the first value of CustomField FIELD for this ticket
-Takes a field id or name
-
-=cut
-
-sub FirstCustomFieldValue {
-    my $self = shift;
-    my $field = shift;
-    my $values = $self->CustomFieldValues($field);
-    if ($values->First) {
-        return $values->First->Content;
-    } else {
-        return undef;
-    }
-
-}
-
-
-
-# {{{ CustomFieldValues
-
-=head2 CustomFieldValues FIELD
-
-Return a ObjectCustomFieldValues object of all values of the CustomField whose 
-id or Name is FIELD for this record.
-
-Returns an RT::ObjectCustomFieldValues object
-
-=cut
-
-sub CustomFieldValues {
-    my $self  = shift;
-    my $field = shift;
-
-    if ($field) {
-        my $cf = $self->LoadCustomFieldByIdentifier($field);
-
-        # we were asked to search on a custom field we couldn't fine
-        unless ( $cf->id ) {
-            return RT::ObjectCustomFieldValues->new( $self->CurrentUser );
-        }
-        return ( $cf->ValuesForObject($self) );
-    }
-
-    # we're not limiting to a specific custom field;
-    my $ocfs = RT::ObjectCustomFieldValues->new( $self->CurrentUser );
-    $ocfs->LimitToObject($self);
-    return $ocfs;
-
-}
-
-=head2 CustomField IDENTIFER
-
-Find the custom field has id or name IDENTIFIER for this object.
-
-If no valid field is found, returns an empty RT::CustomField object.
-
-=cut
-
-sub LoadCustomFieldByIdentifier {
-    my $self = shift;
-    my $field = shift;
-    
-    my $cf = RT::CustomField->new($self->CurrentUser);
-
-    if ( UNIVERSAL::isa( $field, "RT::CustomField" ) ) {
-        $cf->LoadById( $field->id );
-    }
-    elsif ($field =~ /^\d+$/) {
-        $cf = RT::CustomField->new($self->CurrentUser);
-        $cf->Load($field); 
-    } else {
-
-        my $cfs = $self->CustomFields($self->CurrentUser);
-        $cfs->Limit(FIELD => 'Name', VALUE => $field);
-        $cf = $cfs->First || RT::CustomField->new($self->CurrentUser);
-    }
-    return $cf;
-}
-
-
-# }}}
-
-# }}}
-
-# }}}
-
-sub BasicColumns {
-}
-
-eval "require RT::Record_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Record_Vendor.pm});
-eval "require RT::Record_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Record_Local.pm});
-
-1;
diff --git a/rt/lib/RT/SavedSearch.pm b/rt/lib/RT/SavedSearch.pm
deleted file mode 100644 (file)
index 65411a7..0000000
+++ /dev/null
@@ -1,327 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::SavedSearch - an API for saving and retrieving search form values.
-
-=head1 SYNOPSIS
-
-  use RT::SavedSearch
-
-=head1 DESCRIPTION
-
-  SavedSearch is an object that can belong to either an RT::User or an
-  RT::Group.  It consists of an ID, a description, and a number of
-  search parameters.
-
-=head1 METHODS
-
-=begin testing
-
-use_ok(RT::SavedSearch);
-
-# Real tests are in lib/t/20savedsearch.t
-
-=end testing
-
-=cut
-
-package RT::SavedSearch;
-
-use RT::Base;
-use RT::Attribute;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw/RT::Base/;
-
-sub new  {
-    my $proto = shift;
-    my $class = ref($proto) || $proto;
-    my $self  = {};
-    $self->{'Id'} = 0;
-    bless ($self, $class);
-    $self->CurrentUser(@_);
-    return $self;
-}
-
-=head2 Load
-
-Takes a privacy specification, an object ID, and a search ID.  Loads
-the given search ID if it belongs to the stated user or group.
-Returns a tuple of status and message, where status is true on
-success.
-
-=cut
-
-sub Load {
-    my $self = shift;
-    my ($privacy, $id) = @_;
-    my $object = $self->_GetObject($privacy);
-
-    if ($object) {
-       $self->{'Attribute'} = $object->Attributes->WithId($id);
-       if ($self->{'Attribute'}->Id) {
-           $self->{'Id'} = $self->{'Attribute'}->Id;
-           $self->{'Privacy'} = $privacy;
-           $self->{'Type'} = $self->{'Attribute'}->SubValue('SearchType');
-           return (1, $self->loc("Loaded search [_1]", $self->Name));
-       } else {
-           $RT::Logger->error("Could not load attribute " . $id
-                              . " for object " . $privacy);
-           return (0, $self->loc("Search attribute load failure"));
-       }
-    } else {
-       $RT::Logger->error("Could not load object $privacy when loading search");
-       return (0, $self->loc("Could not load object for [_1]", $privacy));
-    }
-
-}
-
-=head2 Save
-
-Takes a privacy, an optional type, a name, and a hashref containing the
-search parameters.  Saves the given parameters to the appropriate user/
-group object, and loads the resulting search.  Returns a tuple of status
-and message, where status is true on success.  Defaults are:
-  Privacy:      undef
-  Type:         Ticket
-  Name:         "new search"
-  SearchParams: (empty hash)
-
-=cut
-
-sub Save {
-    my $self = shift;
-    my %args = ('Privacy' => 'RT::User-' . $self->CurrentUser->Id,
-               'Type' => 'Ticket',
-               'Name' => 'new search',
-               'SearchParams' => {},
-               @_);
-    my $privacy = $args{'Privacy'};
-    my $type = $args{'Type'};
-    my $name = $args{'Name'};
-    my %params = %{$args{'SearchParams'}};
-
-    $params{'SearchType'} = $type;
-    my $object = $self->_GetObject($privacy);
-    if ($object) {
-       my ($att_id, $att_msg) = $object->AddAttribute(
-                                                      'Name' => 'SavedSearch',
-                                                      'Description' => $name,
-                                                      'Content' => \%params);
-       if ($att_id) {
-           $self->{'Attribute'} = $object->Attributes->WithId($att_id);
-           $self->{'Id'} = $att_id;
-           $self->{'Privacy'} = $privacy;
-           $self->{'Type'} = $type;
-           return (1, $self->loc("Saved search [_1]", $name));
-       } else {
-           $RT::Logger->error("SavedSearch save failure: $att_msg");
-           return (0, $self->loc("Failed to create search attribute"));
-       }
-    } else {
-       return (0, $self->loc("Failed to load object for [_1]", $privacy));
-    }
-}
-
-=head2 Update
-
-Updates the parameters of an existing search.  Takes the arguments
-"Name" and "SearchParams"; SearchParams should be a hashref containing
-the new parameters of the search.  If Name is not specified, the name
-will not be changed.
-
-=cut
-
-sub Update {
-    my $self = shift;
-    my %args = ('Name' => '',
-               'SearchParams' => {},
-               @_);
-    
-    return(0, $self->loc("No search loaded")) unless $self->Id;
-    return(0, $self->loc("Could not load search attribute"))
-       unless $self->{'Attribute'}->Id;
-    my ($status, $msg) = $self->{'Attribute'}->SetSubValues(%{$args{'SearchParams'}});
-    if ($status && $args{'Name'}) {
-       ($status, $msg) = $self->{'Attribute'}->SetDescription($args{'Name'});
-    }
-    return ($status, $self->loc("Search update: [_1]", $msg));
-}
-
-=head2 Delete
-    
-Deletes the existing search.  Returns a tuple of status and message,
-where status is true upon success.
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-    my ($status, $msg) = $self->{'Attribute'}->Delete;
-    if ($status) {
-       return (1, $self->loc("Deleted search"));
-    } else {
-       return (0, $self->loc("Delete failed: [_1]", $msg));
-    }
-}
-       
-
-### Accessor methods
-
-=head2 Name
-
-Returns the name of the search.
-
-=cut
-
-sub Name {
-    my $self = shift;
-    return unless ref($self->{'Attribute'}) eq 'RT::Attribute';
-    return $self->{'Attribute'}->Description();
-}
-
-=head2 GetParameter
-
-Returns the given named parameter of the search, e.g. 'Query', 'Format'.
-
-=cut
-
-sub GetParameter {
-    my $self = shift;
-    my $param = shift;
-    return unless ref($self->{'Attribute'}) eq 'RT::Attribute';
-    return $self->{'Attribute'}->SubValue($param);
-}
-
-=head2 Id
-
-Returns the numerical id of this search.
-
-=cut
-
-sub Id {
-     my $self = shift;
-     return $self->{'Id'};
-}
-
-=head2 Privacy
-
-Returns the principal object to whom this search belongs, in a string
-"<class>-<id>", e.g. "RT::Group-16".
-
-=cut
-
-sub Privacy {
-    my $self = shift;
-    return $self->{'Privacy'};
-}
-
-=head2 Type
-
-Returns the type of this search, e.g. 'Ticket'.  Useful for denoting the
-saved searches that are relevant to a particular search page.
-
-=cut
-
-sub Type {
-    my $self = shift;
-    return $self->{'Type'};
-}
-
-### Internal methods
-
-# _GetObject: helper routine to load the correct object whose parameters
-#  have been passed.
-
-sub _GetObject {
-    my $self = shift;
-    my $privacy = shift;
-
-    my ($obj_type, $obj_id) = split(/\-/, $privacy);
-    unless ($obj_type eq 'RT::User' || $obj_type eq 'RT::Group') {
-       $RT::Logger->error("Tried to load a search belonging to an $obj_type, which is neither a user nor a group");
-       return undef;
-    }
-
-    my $object;
-    eval "
-         require $obj_type;
-         \$object = $obj_type->new(\$self->CurrentUser);
-         \$object->Load(\$obj_id);
-    ";
-    unless (ref($object) eq $obj_type) {
-       $RT::Logger->error("Could not load object of type $obj_type with ID $obj_id");
-       return undef;
-    }
-    
-    # Do not allow the loading of a user object other than the current
-    # user, or of a group object of which the current user is not a member.
-
-    if ($obj_type eq 'RT::User' 
-       && $object->Id != $self->CurrentUser->UserObj->Id()) {
-       $RT::Logger->debug("Permission denied for user other than self");
-       return undef;
-    }
-    if ($obj_type eq 'RT::Group' &&
-       !$object->HasMemberRecursively($self->CurrentUser->PrincipalObj)) {
-       $RT::Logger->debug("Permission denied, ".$self->CurrentUser->Name.
-                          " is not a member of group");
-       return undef;
-    }
-
-    return $object;
-}
-
-eval "require RT::SavedSearch_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/SavedSearch_Vendor.pm});
-eval "require RT::SavedSearch_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/SavedSearch_Local.pm});
-
-1;
diff --git a/rt/lib/RT/SavedSearches.pm b/rt/lib/RT/SavedSearches.pm
deleted file mode 100644 (file)
index 262bfa8..0000000
+++ /dev/null
@@ -1,206 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::SavedSearches - a pseudo-collection for SavedSearch objects.
-
-=head1 SYNOPSIS
-
-  use RT::SavedSearch
-
-=head1 DESCRIPTION
-
-  SavedSearches is an object consisting of a number of SavedSearch objects.
-  It works more or less like a DBIx::SearchBuilder collection, although it
-  is not.
-
-=head1 METHODS
-
-=begin testing
-
-use_ok(RT::SavedSearches);
-
-# The real tests are in lib/t/20savedsearch.t
-
-=end testing
-
-=cut
-
-package RT::SavedSearches;
-
-use RT::Base;
-use RT::SavedSearch;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw/RT::Base/;
-
-sub new  {
-    my $proto = shift;
-    my $class = ref($proto) || $proto;
-    my $self  = {};
-    bless ($self, $class);
-    $self->CurrentUser(@_);
-    $self->{'idx'} = 0;
-    $self->{'objects'} = [];
-    return $self;
-}
-
-=head2 LimitToPrivacy
-
-Takes two argumets: a privacy string, of the format "<class>-<id>", as
-produced by RT::SavedSearch::Privacy(); and a type string, as produced
-by RT::SavedSearch::Type().  The SavedSearches object will load the
-searches belonging to that user or group that are of the type
-specified.  If no type is specified, all the searches belonging to the
-user/group will be loaded.  Repeated calls to the same object should DTRT.
-
-=cut
-
-sub LimitToPrivacy {
-    my $self = shift;
-    my $privacy = shift;
-    my $type = shift;
-
-    my $object = $self->_GetObject($privacy);
-
-    if ($object) {
-       $self->{'objects'} = [];
-       my @search_atts = $object->Attributes->Named('SavedSearch');
-       foreach my $att (@search_atts) {
-           my $search = RT::SavedSearch->new($self->CurrentUser);
-           $search->Load($privacy, $att->Id);
-           next if $type && $search->Type ne $type;
-           push(@{$self->{'objects'}}, $search);
-       }
-    } else {
-       $RT::Logger->error("Could not load object $privacy");
-    }
-}
-
-### Accessor methods
-
-=head2 Next
-
-Returns the next object in the collection.
-
-=cut
-
-sub Next {
-    my $self = shift;
-    my $search = $self->{'objects'}->[$self->{'idx'}];
-    if ($search) {
-       $self->{'idx'}++;
-    } else {
-       # We have run out of objects; reset the counter.
-       $self->{'idx'} = 0;
-    }
-    return $search;
-}
-
-=head2 Count
-
-Returns the number of search objects found.
-
-=cut
-
-sub Count {
-    my $self = shift;
-    return scalar @{$self->{'objects'}};
-}
-
-### Internal methods
-
-# _GetObject: helper routine to load the correct object whose parameters
-#  have been passed.
-
-sub _GetObject {
-    my $self = shift;
-    my $privacy = shift;
-
-    my ($obj_type, $obj_id) = split(/\-/, $privacy);
-    unless ($obj_type eq 'RT::User' || $obj_type eq 'RT::Group') {
-       $RT::Logger->error("Tried to load a search belonging to an $obj_type, which is neither a user nor a group");
-       return undef;
-    }
-
-    my $object;
-    eval "
-         require $obj_type;
-         \$object = $obj_type->new(\$self->CurrentUser);
-         \$object->Load($obj_id);
-    ";
-    unless (ref($object) eq $obj_type) {
-       $RT::Logger->error("Could not load object of type $obj_type with ID $obj_id");
-       return undef;
-    }
-    
-    # Do not allow the loading of a user object other than the current
-    # user, or of a group object of which the current user is not a member.
-
-    if ($obj_type eq 'RT::User'
-       && $object->Id != $self->CurrentUser->UserObj->Id()) {
-       $RT::Logger->error('Requested user ' . $object->Id 
-                          . 'is not current user');
-       return undef;
-    }
-    if ($obj_type eq 'RT::Group'
-       && !$object->HasMemberRecursively($self->CurrentUser->PrincipalObj)) {
-       $RT::Logger->error('Current user does not belong to requested group ' 
-                          . $object->Id);
-       return undef;
-    }
-
-    return $object;
-}
-
-eval "require RT::SavedSearches_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/SavedSearches_Vendor.pm});
-eval "require RT::SavedSearches_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/SavedSearches_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Scrip.pm b/rt/lib/RT/Scrip.pm
deleted file mode 100755 (executable)
index 85fe6a8..0000000
+++ /dev/null
@@ -1,522 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Scrip
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Scrip;
-use RT::Record; 
-use RT::Queue;
-use RT::Template;
-use RT::ScripCondition;
-use RT::ScripAction;
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Scrips');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(255) 'Description'.
-  int(11) 'ScripCondition'.
-  int(11) 'ScripAction'.
-  text 'ConditionRules'.
-  text 'ActionRules'.
-  text 'CustomIsApplicableCode'.
-  text 'CustomPrepareCode'.
-  text 'CustomCommitCode'.
-  varchar(32) 'Stage'.
-  int(11) 'Queue'.
-  int(11) 'Template'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Description => '',
-                ScripCondition => '0',
-                ScripAction => '0',
-                ConditionRules => '',
-                ActionRules => '',
-                CustomIsApplicableCode => '',
-                CustomPrepareCode => '',
-                CustomCommitCode => '',
-                Stage => '',
-                Queue => '0',
-                Template => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         Description => $args{'Description'},
-                         ScripCondition => $args{'ScripCondition'},
-                         ScripAction => $args{'ScripAction'},
-                         ConditionRules => $args{'ConditionRules'},
-                         ActionRules => $args{'ActionRules'},
-                         CustomIsApplicableCode => $args{'CustomIsApplicableCode'},
-                         CustomPrepareCode => $args{'CustomPrepareCode'},
-                         CustomCommitCode => $args{'CustomCommitCode'},
-                         Stage => $args{'Stage'},
-                         Queue => $args{'Queue'},
-                         Template => $args{'Template'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 ScripCondition
-
-Returns the current value of ScripCondition. 
-(In the database, ScripCondition is stored as int(11).)
-
-
-
-=head2 SetScripCondition VALUE
-
-
-Set ScripCondition to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ScripCondition will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 ScripConditionObj
-
-Returns the ScripCondition Object which has the id returned by ScripCondition
-
-
-=cut
-
-sub ScripConditionObj {
-       my $self = shift;
-       my $ScripCondition =  RT::ScripCondition->new($self->CurrentUser);
-       $ScripCondition->Load($self->__Value('ScripCondition'));
-       return($ScripCondition);
-}
-
-=head2 ScripAction
-
-Returns the current value of ScripAction. 
-(In the database, ScripAction is stored as int(11).)
-
-
-
-=head2 SetScripAction VALUE
-
-
-Set ScripAction to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ScripAction will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 ScripActionObj
-
-Returns the ScripAction Object which has the id returned by ScripAction
-
-
-=cut
-
-sub ScripActionObj {
-       my $self = shift;
-       my $ScripAction =  RT::ScripAction->new($self->CurrentUser);
-       $ScripAction->Load($self->__Value('ScripAction'));
-       return($ScripAction);
-}
-
-=head2 ConditionRules
-
-Returns the current value of ConditionRules. 
-(In the database, ConditionRules is stored as text.)
-
-
-
-=head2 SetConditionRules VALUE
-
-
-Set ConditionRules to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ConditionRules will be stored as a text.)
-
-
-=cut
-
-
-=head2 ActionRules
-
-Returns the current value of ActionRules. 
-(In the database, ActionRules is stored as text.)
-
-
-
-=head2 SetActionRules VALUE
-
-
-Set ActionRules to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ActionRules will be stored as a text.)
-
-
-=cut
-
-
-=head2 CustomIsApplicableCode
-
-Returns the current value of CustomIsApplicableCode. 
-(In the database, CustomIsApplicableCode is stored as text.)
-
-
-
-=head2 SetCustomIsApplicableCode VALUE
-
-
-Set CustomIsApplicableCode to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CustomIsApplicableCode will be stored as a text.)
-
-
-=cut
-
-
-=head2 CustomPrepareCode
-
-Returns the current value of CustomPrepareCode. 
-(In the database, CustomPrepareCode is stored as text.)
-
-
-
-=head2 SetCustomPrepareCode VALUE
-
-
-Set CustomPrepareCode to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CustomPrepareCode will be stored as a text.)
-
-
-=cut
-
-
-=head2 CustomCommitCode
-
-Returns the current value of CustomCommitCode. 
-(In the database, CustomCommitCode is stored as text.)
-
-
-
-=head2 SetCustomCommitCode VALUE
-
-
-Set CustomCommitCode to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, CustomCommitCode will be stored as a text.)
-
-
-=cut
-
-
-=head2 Stage
-
-Returns the current value of Stage. 
-(In the database, Stage is stored as varchar(32).)
-
-
-
-=head2 SetStage VALUE
-
-
-Set Stage to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Stage will be stored as a varchar(32).)
-
-
-=cut
-
-
-=head2 Queue
-
-Returns the current value of Queue. 
-(In the database, Queue is stored as int(11).)
-
-
-
-=head2 SetQueue VALUE
-
-
-Set Queue to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Queue will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 QueueObj
-
-Returns the Queue Object which has the id returned by Queue
-
-
-=cut
-
-sub QueueObj {
-       my $self = shift;
-       my $Queue =  RT::Queue->new($self->CurrentUser);
-       $Queue->Load($self->__Value('Queue'));
-       return($Queue);
-}
-
-=head2 Template
-
-Returns the current value of Template. 
-(In the database, Template is stored as int(11).)
-
-
-
-=head2 SetTemplate VALUE
-
-
-Set Template to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Template will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 TemplateObj
-
-Returns the Template Object which has the id returned by Template
-
-
-=cut
-
-sub TemplateObj {
-       my $self = shift;
-       my $Template =  RT::Template->new($self->CurrentUser);
-       $Template->Load($self->__Value('Template'));
-       return($Template);
-}
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        ScripCondition => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        ScripAction => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        ConditionRules => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
-        ActionRules => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
-        CustomIsApplicableCode => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
-        CustomPrepareCode => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
-        CustomCommitCode => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
-        Stage => 
-               {read => 1, write => 1, sql_type => 12, length => 32,  is_blob => 0,  is_numeric => 0,  type => 'varchar(32)', default => ''},
-        Queue => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Template => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::Scrip_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Scrip_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Scrip_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Scrip_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Scrip_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Scrip_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Scrip_Overlay, RT::Scrip_Vendor, RT::Scrip_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ScripAction.pm b/rt/lib/RT/ScripAction.pm
deleted file mode 100755 (executable)
index 075162f..0000000
+++ /dev/null
@@ -1,301 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::ScripAction
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::ScripAction;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('ScripActions');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(255) 'Description'.
-  varchar(60) 'ExecModule'.
-  varchar(255) 'Argument'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Description => '',
-                ExecModule => '',
-                Argument => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Description => $args{'Description'},
-                         ExecModule => $args{'ExecModule'},
-                         Argument => $args{'Argument'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 ExecModule
-
-Returns the current value of ExecModule. 
-(In the database, ExecModule is stored as varchar(60).)
-
-
-
-=head2 SetExecModule VALUE
-
-
-Set ExecModule to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ExecModule will be stored as a varchar(60).)
-
-
-=cut
-
-
-=head2 Argument
-
-Returns the current value of Argument. 
-(In the database, Argument is stored as varchar(255).)
-
-
-
-=head2 SetArgument VALUE
-
-
-Set Argument to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Argument will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        ExecModule => 
-               {read => 1, write => 1, sql_type => 12, length => 60,  is_blob => 0,  is_numeric => 0,  type => 'varchar(60)', default => ''},
-        Argument => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::ScripAction_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripAction_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripAction_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripAction_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripAction_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripAction_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ScripAction_Overlay, RT::ScripAction_Vendor, RT::ScripAction_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ScripAction_Overlay.pm b/rt/lib/RT/ScripAction_Overlay.pm
deleted file mode 100644 (file)
index 76e047f..0000000
+++ /dev/null
@@ -1,284 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::ScripAction - RT Action object
-
-=head1 SYNOPSIS
-
-  use RT::ScripAction;
-
-
-=head1 DESCRIPTION
-
-This module should never be called directly by client code. it's an internal module which
-should only be accessed through exported APIs in other modules.
-
-
-=begin testing
-
-ok (require RT::ScripAction);
-
-=end testing
-
-=head1 METHODS
-
-=cut
-
-
-package RT::ScripAction;
-
-use strict;
-no warnings qw(redefine);
-use RT::Template;
-
-# {{{ sub _Accessible 
-sub _Accessible  {
-    my $self = shift;
-    my %Cols = ( Name  => 'read',
-                Description => 'read',
-                ExecModule  => 'read',
-                Argument  => 'read',
-                Creator => 'read/auto',
-                Created => 'read/auto',
-                LastUpdatedBy => 'read/auto',
-                LastUpdated => 'read/auto'
-       );
-    return($self->SUPER::_Accessible(@_, %Cols));
-}
-# }}}
-
-# {{{ sub Create 
-
-=head2 Create
-
-Takes a hash. Creates a new Action entry.  should be better
-documented.
-
-=cut
-
-sub Create  {
-    my $self = shift;
-    #TODO check these args and do smart things.
-    return($self->SUPER::Create(@_));
-}
-# }}}
-
-# {{{ sub Delete 
-sub Delete  {
-    my $self = shift;
-    
-    return (0, "ScripAction->Delete not implemented");
-}
-# }}}
-
-# {{{ sub Load 
-
-=head2 Load IDENTIFIER
-
-Loads an action by its Name.
-
-Returns: Id, Error Message
-
-=cut
-
-sub Load  {
-    my $self = shift;
-    my $identifier = shift;
-    
-    if (!$identifier) {
-       return (0, $self->loc('Input error'));
-    }      
-    
-    if ($identifier !~ /\D/) {
-       $self->SUPER::Load($identifier);
-    }
-    else {
-       $self->LoadByCol('Name', $identifier);
-       
-    }
-
-    if (@_) {
-       # Set the template Id to the passed in template    
-       my $template = shift;
-       
-       $self->{'Template'} = $template;
-    }
-    return ($self->Id, ($self->loc('[_1] ScripAction loaded', $self->Id)));
-}
-# }}}
-
-# {{{ sub LoadAction 
-
-=head2 LoadAction HASH
-
-  Takes a hash consisting of TicketObj and TransactionObj.  Loads an RT::Action:: module.
-
-=cut
-
-sub LoadAction  {
-    my $self = shift;
-    my %args = ( TransactionObj => undef,
-                TicketObj => undef,
-                @_ );
-
-    $self->{_TicketObj} = $args{TicketObj};
-    
-    #TODO: Put this in an eval  
-    $self->ExecModule =~ /^(\w+)$/;
-    my $module = $1;
-    my $type = "RT::Action::". $module;
-    eval "require $type" || die "Require of $type failed.\n$@\n";
-    
-    $self->{'Action'}  = $type->new ( Argument => $self->Argument,
-                                      CurrentUser => $self->CurrentUser,
-                                      ScripActionObj => $self, 
-                                      ScripObj => $args{'ScripObj'},
-                                      TemplateObj => $self->TemplateObj,
-                                      TicketObj => $args{'TicketObj'},
-                                      TransactionObj => $args{'TransactionObj'},
-                                   );
-}
-# }}}
-
-# {{{ sub TemplateObj
-
-=head2 TemplateObj
-
-Return this action's template object
-
-TODO: Why are we not using the Scrip's template object?
-
-
-=cut
-
-sub TemplateObj {
-    my $self = shift;
-    return undef unless $self->{Template};
-    if ( !$self->{'TemplateObj'} ) {
-        $self->{'TemplateObj'} = RT::Template->new( $self->CurrentUser );
-        $self->{'TemplateObj'}->LoadById( $self->{'Template'} );
-
-        if ( ( $self->{'TemplateObj'}->__Value('Queue') == 0 )
-            && $self->{'_TicketObj'} ) {
-            my $tmptemplate = RT::Template->new( $self->CurrentUser );
-            my ( $ok, $err ) = $tmptemplate->LoadQueueTemplate(
-                Queue => $self->{'_TicketObj'}->QueueObj->id,
-                Name  => $self->{'TemplateObj'}->Name);
-
-            if ( $tmptemplate->id ) {
-                # found the queue-specific template with the same name
-                $self->{'TemplateObj'} = $tmptemplate;
-            }
-        }
-
-    }
-
-    return ( $self->{'TemplateObj'} );
-}
-# }}}
-
-# The following methods call the action object
-
-# {{{ sub Prepare 
-
-sub Prepare  {
-    my $self = shift;
-    $self->{_Message_ID} = 0;
-    return ($self->Action->Prepare());
-  
-}
-# }}}
-
-# {{{ sub Commit 
-sub Commit  {
-    my $self = shift;
-    return($self->Action->Commit());
-    
-    
-}
-# }}}
-
-# {{{ sub Describe 
-sub Describe  {
-    my $self = shift;
-    return ($self->Action->Describe());
-    
-}
-# }}}
-
-=head2 Action
-
-Return the actual RT::Action object for this scrip.
-
-=cut
-
-sub Action {
-    my $self = shift;
-    return ($self->{'Action'});
-}
-
-# {{{ sub DESTROY
-sub DESTROY {
-    my $self=shift;
-    $self->{'_TicketObj'} = undef;
-    $self->{'Action'} = undef;
-    $self->{'TemplateObj'} = undef;
-}
-# }}}
-
-=head2 TODO
-
-Between this, RT::Scrip and RT::Action::*, we need to be able to get rid of a 
-class. This just reeks of too much complexity -- jesse
-
-=cut
-
-1;
-
-
diff --git a/rt/lib/RT/ScripActions.pm b/rt/lib/RT/ScripActions.pm
deleted file mode 100755 (executable)
index c34e52f..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::ScripActions -- Class Description
-=head1 SYNOPSIS
-
-  use RT::ScripActions
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::ScripActions;
-
-use RT::SearchBuilder;
-use RT::ScripAction;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'ScripActions';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::ScripAction item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::ScripAction->new($self->CurrentUser));
-}
-
-        eval "require RT::ScripActions_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripActions_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripActions_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripActions_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripActions_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripActions_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ScripActions_Overlay, RT::ScripActions_Vendor, RT::ScripActions_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ScripActions_Overlay.pm b/rt/lib/RT/ScripActions_Overlay.pm
deleted file mode 100644 (file)
index 9c29d4c..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::ScripActions - Collection of Action objects
-
-=head1 SYNOPSIS
-
-  use RT::ScripActions;
-
-
-=head1 DESCRIPTION
-
-
-=begin testing
-
-ok (require RT::ScripActions);
-
-=end testing
-
-=head1 METHODS
-
-=cut
-
-
-package RT::ScripActions;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub _Init
-sub _Init { 
-  my $self = shift;
-  $self->{'table'} = "ScripActions";
-  $self->{'primary_key'} = "id";
-  return ( $self->SUPER::_Init(@_));
-}
-# }}}
-
-# {{{ sub LimitToType 
-sub LimitToType  {
-  my $self = shift;
-  my $type = shift;
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Type',
-               VALUE => "$type")
-      if defined $type;
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Type',
-               VALUE => "Correspond")
-      if $type eq "Create";
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Type',
-               VALUE => 'any');
-  
-}
-# }}}
-
-# {{{ sub NewItem 
-sub NewItem  {
-  my $self = shift;
-  return(RT::ScripAction->new($self->CurrentUser));
-
-}
-# }}}
-
-
-1;
-
diff --git a/rt/lib/RT/ScripCondition.pm b/rt/lib/RT/ScripCondition.pm
deleted file mode 100755 (executable)
index bf2c560..0000000
+++ /dev/null
@@ -1,324 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::ScripCondition
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::ScripCondition;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('ScripConditions');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(255) 'Description'.
-  varchar(60) 'ExecModule'.
-  varchar(255) 'Argument'.
-  varchar(60) 'ApplicableTransTypes'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Description => '',
-                ExecModule => '',
-                Argument => '',
-                ApplicableTransTypes => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Description => $args{'Description'},
-                         ExecModule => $args{'ExecModule'},
-                         Argument => $args{'Argument'},
-                         ApplicableTransTypes => $args{'ApplicableTransTypes'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 ExecModule
-
-Returns the current value of ExecModule. 
-(In the database, ExecModule is stored as varchar(60).)
-
-
-
-=head2 SetExecModule VALUE
-
-
-Set ExecModule to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ExecModule will be stored as a varchar(60).)
-
-
-=cut
-
-
-=head2 Argument
-
-Returns the current value of Argument. 
-(In the database, Argument is stored as varchar(255).)
-
-
-
-=head2 SetArgument VALUE
-
-
-Set Argument to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Argument will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 ApplicableTransTypes
-
-Returns the current value of ApplicableTransTypes. 
-(In the database, ApplicableTransTypes is stored as varchar(60).)
-
-
-
-=head2 SetApplicableTransTypes VALUE
-
-
-Set ApplicableTransTypes to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ApplicableTransTypes will be stored as a varchar(60).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        ExecModule => 
-               {read => 1, write => 1, sql_type => 12, length => 60,  is_blob => 0,  is_numeric => 0,  type => 'varchar(60)', default => ''},
-        Argument => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        ApplicableTransTypes => 
-               {read => 1, write => 1, sql_type => 12, length => 60,  is_blob => 0,  is_numeric => 0,  type => 'varchar(60)', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::ScripCondition_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripCondition_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripCondition_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripCondition_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripCondition_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripCondition_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ScripCondition_Overlay, RT::ScripCondition_Vendor, RT::ScripCondition_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ScripCondition_Overlay.pm b/rt/lib/RT/ScripCondition_Overlay.pm
deleted file mode 100644 (file)
index 4424657..0000000
+++ /dev/null
@@ -1,237 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::ScripCondition - RT scrip conditional
-
-=head1 SYNOPSIS
-
-  use RT::ScripCondition;
-
-
-=head1 DESCRIPTION
-
-This module should never be called directly by client code. it's an internal module which
-should only be accessed through exported APIs in other modules.
-
-
-=begin testing
-
-ok (require RT::ScripCondition);
-
-=end testing
-
-=head1 METHODS
-
-=cut
-
-
-package RT::ScripCondition;
-
-use strict;
-no warnings qw(redefine);
-
-
-# {{{  sub _Init 
-sub _Init  {
-    my $self = shift; 
-    $self->{'table'} = "ScripConditions";
-    return ($self->SUPER::_Init(@_));
-}
-# }}}
-
-# {{{ sub _Accessible 
-sub _Accessible  {
-    my $self = shift;
-    my %Cols = ( Name  => 'read',
-                Description => 'read',
-                ApplicableTransTypes    => 'read',
-                ExecModule  => 'read',
-                Argument  => 'read',
-                Creator => 'read/auto',
-                Created => 'read/auto',
-                LastUpdatedBy => 'read/auto',
-                LastUpdated => 'read/auto'
-              );
-    return($self->SUPER::_Accessible(@_, %Cols));
-}
-# }}}
-
-# {{{ sub Create 
-
-=head2 Create
-  
-  Takes a hash. Creates a new Condition entry.
-  should be better documented.
-
-=cut
-
-sub Create  {
-    my $self = shift;
-    return($self->SUPER::Create(@_));
-}
-# }}}
-
-# {{{ sub Delete 
-
-=head2 Delete
-
-No API available for deleting things just yet.
-
-=cut
-
-sub Delete  {
-    my $self = shift;
-    return(0, $self->loc('Unimplemented'));
-}
-# }}}
-
-# {{{ sub Load 
-
-=head2 Load IDENTIFIER
-
-Loads a condition takes a name or ScripCondition id.
-
-=cut
-
-sub Load  {
-    my $self = shift;
-    my $identifier = shift;
-    
-    unless (defined $identifier) {
-       return (undef);
-    }      
-    
-    if ($identifier !~ /\D/) {
-       return ($self->SUPER::LoadById($identifier));
-    }
-    else {
-       return ($self->LoadByCol('Name', $identifier));
-    }
-}
-# }}}
-
-# {{{ sub LoadCondition 
-
-=head2 LoadCondition  HASH
-
-takes a hash which has the following elements:  TransactionObj and TicketObj.
-Loads the Condition module in question.
-
-=cut
-
-
-sub LoadCondition  {
-    my $self = shift;
-    my %args = ( TransactionObj => undef,
-                TicketObj => undef,
-                @_ );
-    
-    #TODO: Put this in an eval  
-    $self->ExecModule =~ /^(\w+)$/;
-    my $module = $1;
-    my $type = "RT::Condition::". $module;
-    
-    eval "require $type" || die "Require of $type failed.\n$@\n";
-    
-    $self->{'Condition'}  = $type->new ( 'ScripConditionObj' => $self, 
-                                        'TicketObj' => $args{'TicketObj'},
-                                        'ScripObj' => $args{'ScripObj'},
-                                        'TransactionObj' => $args{'TransactionObj'},
-                                        'Argument' => $self->Argument,
-                                    'ApplicableTransTypes' => $self->ApplicableTransTypes,
-                     CurrentUser => $self->CurrentUser 
-                                      );
-}
-# }}}
-
-# {{{ The following methods call the Condition object
-
-
-# {{{ sub Describe 
-
-=head2 Describe 
-
-Helper method to call the condition module\'s Describe method.
-
-=cut
-
-sub Describe  {
-    my $self = shift;
-    return ($self->{'Condition'}->Describe());
-    
-}
-# }}}
-
-# {{{ sub IsApplicable 
-
-=head2 IsApplicable
-
-Helper method to call the condition module\'s IsApplicable method.
-
-=cut
-
-sub IsApplicable  {
-    my $self = shift;
-    return ($self->{'Condition'}->IsApplicable());
-    
-}
-# }}}
-
-# }}}
-
-# {{{ sub DESTROY
-sub DESTROY {
-    my $self=shift;
-    $self->{'Condition'} = undef;
-}
-# }}}
-
-
-1;
-
-
diff --git a/rt/lib/RT/ScripConditions.pm b/rt/lib/RT/ScripConditions.pm
deleted file mode 100755 (executable)
index 99bde7d..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::ScripConditions -- Class Description
-=head1 SYNOPSIS
-
-  use RT::ScripConditions
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::ScripConditions;
-
-use RT::SearchBuilder;
-use RT::ScripCondition;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'ScripConditions';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::ScripCondition item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::ScripCondition->new($self->CurrentUser));
-}
-
-        eval "require RT::ScripConditions_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripConditions_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripConditions_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripConditions_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::ScripConditions_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/ScripConditions_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::ScripConditions_Overlay, RT::ScripConditions_Vendor, RT::ScripConditions_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/ScripConditions_Overlay.pm b/rt/lib/RT/ScripConditions_Overlay.pm
deleted file mode 100644 (file)
index 7670d58..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::ScripConditions - Collection of Action objects
-
-=head1 SYNOPSIS
-
-  use RT::ScripConditions;
-
-
-=head1 DESCRIPTION
-
-
-
-=begin testing
-
-ok (require RT::ScripConditions);
-
-=end testing
-
-=head1 METHODS
-
-=cut
-
-
-package RT::ScripConditions;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub _Init
-sub _Init { 
-  my $self = shift;
-  $self->{'table'} = "ScripConditions";
-  $self->{'primary_key'} = "id";
-  return ( $self->SUPER::_Init(@_));
-}
-# }}}
-
-# {{{ sub LimitToType 
-sub LimitToType  {
-  my $self = shift;
-  my $type = shift;
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Type',
-               VALUE => "$type")
-      if defined $type;
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Type',
-               VALUE => "Correspond")
-      if $type eq "Create";
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Type',
-               VALUE => 'any');
-  
-}
-# }}}
-
-# {{{ sub NewItem 
-sub NewItem  {
-  my $self = shift;
-  return(RT::ScripCondition->new($self->CurrentUser));
-}
-# }}}
-
-
-1;
-
diff --git a/rt/lib/RT/Scrip_Overlay.pm b/rt/lib/RT/Scrip_Overlay.pm
deleted file mode 100644 (file)
index ae2782a..0000000
+++ /dev/null
@@ -1,616 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Scrip - an RT Scrip object
-
-=head1 SYNOPSIS
-
-  use RT::Scrip;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok (require RT::Scrip);
-
-
-my $q = RT::Queue->new($RT::SystemUser);
-$q->Create(Name => 'ScripTest');
-ok($q->Id, "Created a scriptest queue");
-
-my $s1 = RT::Scrip->new($RT::SystemUser);
-my ($val, $msg) =$s1->Create( Queue => $q->Id,
-             ScripAction => 'User Defined',
-             ScripCondition => 'User Defined',
-             CustomIsApplicableCode => 'if ($self->TicketObj->Subject =~ /fire/) { return (1);} else { return(0)}',
-             CustomPrepareCode => 'return 1',
-             CustomCommitCode => '$self->TicketObj->SetPriority("87");',
-             Template => 'Blank'
-    );
-ok($val,$msg);
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my ($tv,$ttv,$tm) = $ticket->Create(Queue => $q->Id,
-                                    Subject => "hair on fire",
-                                    );
-ok($tv, $tm);
-
-ok ($ticket->Priority == '87', "Ticket priority is set right");
-
-
-my $ticket2 = RT::Ticket->new($RT::SystemUser);
-my ($t2v,$t2tv,$t2m) = $ticket2->Create(Queue => $q->Id,
-                                    Subject => "hair in water",
-                                    );
-ok($t2v, $t2m);
-
-ok ($ticket2->Priority != '87', "Ticket priority is set right");
-
-
-=end testing
-
-=cut
-
-
-package RT::Scrip;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub Create
-
-=head2 Create
-
-Creates a new entry in the Scrips table. Takes a paramhash with:
-
-        Queue                  => 0,
-        Description            => undef,
-        Template               => undef,
-        ScripAction            => undef,
-        ScripCondition         => undef,
-        CustomPrepareCode      => undef,
-        CustomCommitCode       => undef,
-        CustomIsApplicableCode => undef,
-
-
-
-
-Returns (retval, msg);
-retval is 0 for failure or scrip id.  msg is a textual description of what happened.
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = (
-        Queue                  => 0,
-        Template               => 0,                     # name or id
-        ScripAction            => 0,                     # name or id
-        ScripCondition         => 0,                     # name or id
-        Stage                  => 'TransactionCreate',
-        Description            => undef,
-        CustomPrepareCode      => undef,
-        CustomCommitCode       => undef,
-        CustomIsApplicableCode => undef,
-
-        @_ );
-
-    if ( !$args{'Queue'} ) {
-        unless ( $self->CurrentUser->HasRight( Object => $RT::System,
-                                               Right  => 'ModifyScrips' )
-          ) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-        $args{'Queue'} = 0;    # avoid undef sneaking in
-    }
-    else {
-        my $QueueObj = new RT::Queue( $self->CurrentUser );
-        $QueueObj->Load( $args{'Queue'} );
-        unless ( $QueueObj->id() ) {
-            return ( 0, $self->loc('Invalid queue') );
-        }
-        unless ( $QueueObj->CurrentUserHasRight('ModifyScrips') ) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-        $args{'Queue'} = $QueueObj->id();
-    }
-
-    #TODO +++ validate input
-
-    require RT::ScripAction;
-    my $action = new RT::ScripAction( $self->CurrentUser );
-    if ( $args{'ScripAction'} ) {
-        $action->Load( $args{'ScripAction'} );
-    }
-    return ( 0, $self->loc( "Action [_1] not found", $args{'ScripAction'} ) )
-      unless $action->Id;
-
-    require RT::Template;
-    my $template = new RT::Template( $self->CurrentUser );
-    if ( $args{'Template'} ) {
-        $template->Load( $args{'Template'} );
-    }
-    return ( 0, $self->loc('Template not found') ) unless $template->Id;
-
-    require RT::ScripCondition;
-    my $condition = new RT::ScripCondition( $self->CurrentUser );
-    if ( $args{'ScripCondition'} ) {
-        $condition->Load( $args{'ScripCondition'} );
-    }
-    unless ( $condition->Id ) {
-        return ( 0, $self->loc('Condition not found') );
-    }
-
-    my ( $id, $msg ) = $self->SUPER::Create(
-        Queue                  => $args{'Queue'},
-        Template               => $template->Id,
-        ScripCondition         => $condition->id,
-        Stage                  => $args{'Stage'},
-        ScripAction            => $action->Id,
-        Description            => $args{'Description'},
-        CustomPrepareCode      => $args{'CustomPrepareCode'},
-        CustomCommitCode       => $args{'CustomCommitCode'},
-        CustomIsApplicableCode => $args{'CustomIsApplicableCode'},
-
-    );
-    if ($id) {
-        return ( $id, $self->loc('Scrip Created') );
-    }
-    else {
-        return ( $id, $msg );
-    }
-}
-
-# }}}
-
-# {{{ sub Delete
-
-=head2 Delete
-
-Delete this object
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('ModifyScrips') ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-
-    return ( $self->SUPER::Delete(@_) );
-}
-
-# }}}
-
-# {{{ sub QueueObj
-
-=head2 QueueObj
-
-Retuns an RT::Queue object with this Scrip\'s queue
-
-=cut
-
-sub QueueObj {
-    my $self = shift;
-
-    if ( !$self->{'QueueObj'} ) {
-        require RT::Queue;
-        $self->{'QueueObj'} = RT::Queue->new( $self->CurrentUser );
-        $self->{'QueueObj'}->Load( $self->__Value('Queue') );
-    }
-    return ( $self->{'QueueObj'} );
-}
-
-# }}}
-
-# {{{ sub ActionObj
-
-=head2 ActionObj
-
-Retuns an RT::Action object with this Scrip\'s Action
-
-=cut
-
-sub ActionObj {
-    my $self = shift;
-
-    unless ( defined $self->{'ScripActionObj'} ) {
-        require RT::ScripAction;
-
-        $self->{'ScripActionObj'} = RT::ScripAction->new( $self->CurrentUser );
-
-        #TODO: why are we loading Actions with templates like this.
-        # two separate methods might make more sense
-        $self->{'ScripActionObj'}->Load( $self->ScripAction, $self->Template );
-    }
-    return ( $self->{'ScripActionObj'} );
-}
-
-# }}}
-
-# {{{ sub ConditionObj
-
-=head2 ConditionObj
-
-Retuns an RT::ScripCondition object with this Scrip's IsApplicable
-
-=cut
-
-sub ConditionObj {
-    my $self = shift;
-
-    unless ( defined $self->{'ScripConditionObj'} ) {
-        require RT::ScripCondition;
-        $self->{'ScripConditionObj'} =
-          RT::ScripCondition->new( $self->CurrentUser );
-        if ( $self->ScripCondition ) {
-            $self->{'ScripConditionObj'}->Load( $self->ScripCondition );
-        }
-    }
-    return ( $self->{'ScripConditionObj'} );
-}
-
-# }}}
-
-# {{{ sub TemplateObj
-
-=head2 TemplateObj
-
-Retuns an RT::Template object with this Scrip\'s Template
-
-=cut
-
-sub TemplateObj {
-    my $self = shift;
-
-    unless ( defined $self->{'TemplateObj'} ) {
-        require RT::Template;
-        $self->{'TemplateObj'} = RT::Template->new( $self->CurrentUser );
-        $self->{'TemplateObj'}->Load( $self->Template );
-    }
-    return ( $self->{'TemplateObj'} );
-}
-
-# }}}
-
-# {{{ Dealing with this instance of a scrip
-
-# {{{ sub Apply
-
-=head2 Apply { TicketObj => undef, TransactionObj => undef}
-
-This method instantiates the ScripCondition and ScripAction objects for a
-single execution of this scrip. it then calls the IsApplicable method of the 
-ScripCondition.
-If that succeeds, it calls the Prepare method of the
-ScripAction. If that succeeds, it calls the Commit method of the ScripAction.
-
-Usually, the ticket and transaction objects passed to this method
-should be loaded by the SuperUser role
-
-=cut
-
-
-# XXX TODO : This code appears to be obsoleted in favor of similar code in Scrips->Apply.
-# Why is this here? Is it still called?
-
-sub Apply {
-    my $self = shift;
-    my %args = ( TicketObj      => undef,
-                 TransactionObj => undef,
-                 @_ );
-
-    $RT::Logger->debug("Now applying scrip ".$self->Id . " for transaction ".$args{'TransactionObj'}->id);
-
-    my $ApplicableTransactionObj = $self->IsApplicable( TicketObj      => $args{'TicketObj'},
-                                                        TransactionObj => $args{'TransactionObj'} );
-    unless ( $ApplicableTransactionObj ) {
-        return undef;
-    }
-
-    if ( $ApplicableTransactionObj->id != $args{'TransactionObj'}->id ) {
-        $RT::Logger->debug("Found an applicable transaction ".$ApplicableTransactionObj->Id . " in the same batch with transaction ".$args{'TransactionObj'}->id);
-    }
-
-    #If it's applicable, prepare and commit it
-    $RT::Logger->debug("Now preparing scrip ".$self->Id . " for transaction ".$ApplicableTransactionObj->id);
-    unless ( $self->Prepare( TicketObj      => $args{'TicketObj'},
-                             TransactionObj => $ApplicableTransactionObj )
-      ) {
-        return undef;
-    }
-
-    $RT::Logger->debug("Now commiting scrip ".$self->Id . " for transaction ".$ApplicableTransactionObj->id);
-    unless ( $self->Commit( TicketObj => $args{'TicketObj'},
-                            TransactionObj => $ApplicableTransactionObj)
-      ) {
-        return undef;
-    }
-
-    $RT::Logger->debug("We actually finished scrip ".$self->Id . " for transaction ".$ApplicableTransactionObj->id);
-    return (1);
-
-}
-
-# }}}
-
-# {{{ sub IsApplicable
-
-=head2 IsApplicable
-
-Calls the  Condition object\'s IsApplicable method
-
-Upon success, returns the applicable Transaction object.
-Otherwise, undef is returned.
-
-If the Scrip is in the TransactionCreate Stage (the usual case), only test
-the associated Transaction object to see if it is applicable.
-
-For Scrips in the TransactionBatch Stage, test all Transaction objects
-created during the Ticket object's lifetime, and returns the first one
-that is applicable.
-
-=cut
-
-sub IsApplicable {
-    my $self = shift;
-    my %args = ( TicketObj      => undef,
-                 TransactionObj => undef,
-                 @_ );
-
-    my $return;
-    eval {
-
-       my @Transactions;
-
-        if ( $self->Stage eq 'TransactionCreate') {
-           # Only look at our current Transaction
-           @Transactions = ( $args{'TransactionObj'} );
-        }
-        elsif ( $self->Stage eq 'TransactionBatch') {
-           # Look at all Transactions in this Batch
-            @Transactions = @{ $args{'TicketObj'}->TransactionBatch || [] };
-        }
-       else {
-           $RT::Logger->error( "Unknown Scrip stage:" . $self->Stage );
-           return (undef);
-       }
-       my $ConditionObj = $self->ConditionObj;
-       foreach my $TransactionObj ( @Transactions ) {
-           # in TxnBatch stage we can select scrips that are not applicable to all txns
-           my $txn_type = $TransactionObj->Type;
-           next unless( $ConditionObj->ApplicableTransTypes =~ /(?:^|,)(?:Any|\Q$txn_type\E)(?:,|$)/i );
-           # Load the scrip's Condition object
-           $ConditionObj->LoadCondition(
-               ScripObj       => $self,
-               TicketObj      => $args{'TicketObj'},
-               TransactionObj => $TransactionObj,
-           );
-
-            if ( $ConditionObj->IsApplicable() ) {
-               # We found an application Transaction -- return it
-                $return = $TransactionObj;
-                last;
-            }
-       }
-    };
-    if ($@) {
-        $RT::Logger->error( "Scrip IsApplicable " . $self->Id . " died. - " . $@ );
-        return (undef);
-    }
-
-            return ($return);
-
-}
-
-# }}}
-
-# {{{ SUb Prepare
-
-=head2 Prepare
-
-Calls the action object's prepare method
-
-=cut
-
-sub Prepare {
-    my $self = shift;
-    my %args = ( TicketObj      => undef,
-                 TransactionObj => undef,
-                 @_ );
-
-    my $return;
-    eval {
-        $self->ActionObj->LoadAction( ScripObj       => $self,
-                                      TicketObj      => $args{'TicketObj'},
-                                      TransactionObj => $args{'TransactionObj'},
-        );
-
-        $return = $self->ActionObj->Prepare();
-    };
-    if ($@) {
-        $RT::Logger->error( "Scrip Prepare " . $self->Id . " died. - " . $@ );
-        return (undef);
-    }
-        unless ($return) {
-        }
-        return ($return);
-}
-
-# }}}
-
-# {{{ sub Commit
-
-=head2 Commit
-
-Calls the action object's commit method
-
-=cut
-
-sub Commit {
-    my $self = shift;
-    my %args = ( TicketObj      => undef,
-                 TransactionObj => undef,
-                 @_ );
-
-    my $return;
-    eval {
-        $return = $self->ActionObj->Commit();
-    };
-
-#Searchbuilder caching isn't perfectly coherent. got to reload the ticket object, since it
-# may have changed
-    $args{'TicketObj'}->Load( $args{'TicketObj'}->Id );
-
-    if ($@) {
-        $RT::Logger->error( "Scrip Commit " . $self->Id . " died. - " . $@ );
-        return (undef);
-    }
-
-    # Not destroying or weakening hte Action and Condition here could cause a
-    # leak
-
-    return ($return);
-}
-
-# }}}
-
-# }}}
-
-# {{{ ACL related methods
-
-# {{{ sub _Set
-
-# does an acl check and then passes off the call
-sub _Set {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('ModifyScrips') ) {
-        $RT::Logger->debug(
-                 "CurrentUser can't modify Scrips for " . $self->Queue . "\n" );
-        return ( 0, $self->loc('Permission Denied') );
-    }
-    return $self->__Set(@_);
-}
-
-# }}}
-
-# {{{ sub _Value
-# does an acl check and then passes off the call
-sub _Value {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('ShowScrips') ) {
-        $RT::Logger->debug( "CurrentUser can't modify Scrips for "
-                            . $self->__Value('Queue')
-                            . "\n" );
-        return (undef);
-    }
-
-    return $self->__Value(@_);
-}
-
-# }}}
-
-# {{{ sub CurrentUserHasRight
-
-=head2 CurrentUserHasRight
-
-Helper menthod for HasRight. Presets Principal to CurrentUser then 
-calls HasRight.
-
-=cut
-
-sub CurrentUserHasRight {
-    my $self  = shift;
-    my $right = shift;
-    return ( $self->HasRight( Principal => $self->CurrentUser->UserObj,
-                              Right     => $right ) );
-
-}
-
-# }}}
-
-# {{{ sub HasRight
-
-=head2 HasRight
-
-Takes a param-hash consisting of "Right" and "Principal"  Principal is 
-an RT::User object or an RT::CurrentUser object. "Right" is a textual
-Right string that applies to Scrips.
-
-=cut
-
-sub HasRight {
-    my $self = shift;
-    my %args = ( Right     => undef,
-                 Principal => undef,
-                 @_ );
-
-    if (     ( defined $self->SUPER::_Value('Queue') )
-         and ( $self->SUPER::_Value('Queue') != 0 ) ) {
-        return ( $args{'Principal'}->HasRight( Right  => $args{'Right'},
-                                               Object => $self->QueueObj ) );
-
-    }
-    else {
-        return ( $args{'Principal'}
-                 ->HasRight( Object => $RT::System, Right => $args{'Right'} ) );
-    }
-}
-
-# }}}
-
-# }}}
-
-1;
-
diff --git a/rt/lib/RT/Scrips.pm b/rt/lib/RT/Scrips.pm
deleted file mode 100755 (executable)
index 9605a64..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Scrips -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Scrips
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Scrips;
-
-use RT::SearchBuilder;
-use RT::Scrip;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Scrips';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Scrip item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Scrip->new($self->CurrentUser));
-}
-
-        eval "require RT::Scrips_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Scrips_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Scrips_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Scrips_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Scrips_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Scrips_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Scrips_Overlay, RT::Scrips_Vendor, RT::Scrips_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Scrips_Overlay.pm b/rt/lib/RT/Scrips_Overlay.pm
deleted file mode 100644 (file)
index 0f606c8..0000000
+++ /dev/null
@@ -1,362 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Scrips - a collection of RT Scrip objects
-
-=head1 SYNOPSIS
-
-  use RT::Scrips;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Scrips);
-
-=end testing
-
-=cut
-
-
-package RT::Scrips;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub LimitToQueue 
-
-=head2 LimitToQueue
-
-Takes a queue id (numerical) as its only argument. Makes sure that 
-Scopes it pulls out apply to this queue (or another that you've selected with
-another call to this method
-
-=cut
-
-sub LimitToQueue  {
-   my $self = shift;
-  my $queue = shift;
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Queue',
-               VALUE => "$queue")
-      if defined $queue;
-  
-}
-# }}}
-
-# {{{ sub LimitToGlobal
-
-=head2 LimitToGlobal
-
-Makes sure that 
-Scopes it pulls out apply to all queues (or another that you've selected with
-another call to this method or LimitToQueue
-
-=cut
-
-
-sub LimitToGlobal  {
-   my $self = shift;
-  $self->Limit (ENTRYAGGREGATOR => 'OR',
-               FIELD => 'Queue',
-               VALUE => 0);
-  
-}
-# }}}
-
-# {{{ sub NewItem 
-sub NewItem  {
-  my $self = shift;
-  
-  return(new RT::Scrip($self->CurrentUser));
-}
-# }}}
-
-# {{{ sub Next 
-
-=head2 Next
-
-Returns the next scrip that this user can see.
-
-=cut
-  
-sub Next {
-    my $self = shift;
-    
-    
-    my $Scrip = $self->SUPER::Next();
-    if ((defined($Scrip)) and (ref($Scrip))) {
-
-       if ($Scrip->CurrentUserHasRight('ShowScrips')) {
-           return($Scrip);
-       }
-       
-       #If the user doesn't have the right to show this scrip
-       else {  
-           return($self->Next());
-       }
-    }
-    #if there never was any scrip
-    else {
-       return(undef);
-    }  
-    
-}
-# }}}
-
-=head2 Apply
-
-Run through the relevant scrips. 
-
-=cut
-
-sub Apply {
-    my $self = shift;
-
-    my %args = ( TicketObj      => undef,
-                 Ticket         => undef,
-                 Transaction    => undef,
-                 TransactionObj => undef,
-                 Stage          => undef,
-                 Type           => undef,
-                 @_ );
-
-    $self->Prepare(%args);
-    $self->Commit();
-
-}
-
-=head2 Commit
-
-Commit all of this object's prepared scrips
-
-=cut
-
-sub Commit {
-    my $self = shift;
-
-    
-    foreach my $scrip (@{$self->Prepared}) {
-
-        $scrip->Commit( TicketObj      => $self->{'TicketObj'},
-                        TransactionObj => $self->{'TransactionObj'} );
-    }
-}
-
-
-=head2 Prepare
-
-Only prepare the scrips, returning an array of the scrips we're interested in
-in order of preparation, not execution
-
-=cut
-
-sub Prepare { 
-    my $self = shift;
-    my %args = ( TicketObj      => undef,
-                 Ticket         => undef,
-                 Transaction    => undef,
-                 TransactionObj => undef,
-                 Stage          => undef,
-                 Type           => undef,
-                 @_ );
-
-    #We're really going to need a non-acled ticket for the scrips to work
-    $self->_SetupSourceObjects( TicketObj      => $args{'TicketObj'},
-                                Ticket         => $args{'Ticket'},
-                                TransactionObj => $args{'TransactionObj'},
-                                Transaction    => $args{'Transaction'} );
-
-
-    $self->_FindScrips( Stage => $args{'Stage'}, Type => $args{'Type'} );
-
-
-    #Iterate through each script and check it's applicability.
-    while ( my $scrip = $self->Next() ) {
-
-        next
-          unless ( $scrip->IsApplicable(
-                                     TicketObj      => $self->{'TicketObj'},
-                                     TransactionObj => $self->{'TransactionObj'}
-                   ) );
-
-        #If it's applicable, prepare and commit it
-        next
-          unless ( $scrip->Prepare( TicketObj      => $self->{'TicketObj'},
-                                    TransactionObj => $self->{'TransactionObj'}
-                   ) );
-        push @{$self->{'prepared_scrips'}}, $scrip;
-
-    }
-
-    return (@{$self->Prepared});
-
-};
-
-=head2 Prepared
-
-Returns an arrayref of the scrips this object has prepared
-
-
-=cut
-
-sub Prepared {
-    my $self = shift;
-    return ($self->{'prepared_scrips'} || []);
-}
-
-
-# {{{ sup _SetupSourceObjects
-
-=head2  _SetupSourceObjects { TicketObj , Ticket, Transaction, TransactionObj }
-
-Setup a ticket and transaction for this Scrip collection to work with as it runs through the 
-relevant scrips.  (Also to figure out which scrips apply)
-
-Returns: nothing
-
-=cut
-
-
-sub _SetupSourceObjects {
-
-    my $self = shift;
-    my %args = ( 
-            TicketObj => undef,
-            Ticket => undef,
-            Transaction => undef,
-            TransactionObj => undef,
-            @_ );
-
-    if ( ( $self->{'TicketObj'} = $args{'TicketObj'} ) ) {
-        $self->{'TicketObj'}->CurrentUser( $self->CurrentUser );
-    }
-    else {
-        $self->{'TicketObj'} = RT::Ticket->new( $self->CurrentUser );
-        $self->{'TicketObj'}->Load( $args{'Ticket'} )
-          || $RT::Logger->err("$self couldn't load ticket $args{'Ticket'}\n");
-    }
-
-    if ( ( $self->{'TransactionObj'} = $args{'TransactionObj'} ) ) {
-        $self->{'TransactionObj'}->CurrentUser( $self->CurrentUser );
-    }
-    else {
-        $self->{'TransactionObj'} = RT::Transaction->new( $self->CurrentUser );
-        $self->{'TransactionObj'}->Load( $args{'Transaction'} )
-          || $RT::Logger->err( "$self couldn't load transaction $args{'Transaction'}\n");
-    }
-} 
-
-# }}}
-
-# {{{ sub _FindScrips;
-
-=head2 _FindScrips
-
-Find only the apropriate scrips for whatever we're doing now
-
-=cut
-
-sub _FindScrips {
-    my $self = shift;
-    my %args = (
-                 Stage => undef,
-                 Type => undef,
-                 @_ );
-
-
-    $self->LimitToQueue( $self->{'TicketObj'}->QueueObj->Id )
-      ;    #Limit it to  $Ticket->QueueObj->Id
-    $self->LimitToGlobal();
-      # or to "global"
-
-    $self->Limit( FIELD => "Stage", VALUE => $args{'Stage'} );
-
-    my $ConditionsAlias = $self->NewAlias('ScripConditions');
-
-    $self->Join(
-        ALIAS1 => 'main',
-        FIELD1 => 'ScripCondition',
-        ALIAS2 => $ConditionsAlias,
-        FIELD2 => 'id'
-    );
-
-    #We only want things where the scrip applies to this sort of transaction
-    # TransactionBatch stage can define list of transaction
-    foreach( split /\s*,\s*/, ($args{'Type'} || '') ) {
-       $self->Limit(
-           ALIAS           => $ConditionsAlias,
-           FIELD           => 'ApplicableTransTypes',
-           OPERATOR        => 'LIKE',
-           VALUE           => $_,
-           ENTRYAGGREGATOR => 'OR',
-       )
-    }
-
-    # Or where the scrip applies to any transaction
-    $self->Limit(
-        ALIAS           => $ConditionsAlias,
-        FIELD           => 'ApplicableTransTypes',
-        OPERATOR        => 'LIKE',
-        VALUE           => "Any",
-        ENTRYAGGREGATOR => 'OR',
-    );
-
-    $RT::Logger->debug("Found ".$self->Count. " scrips");
-}
-
-# }}}
-
-1;
-
diff --git a/rt/lib/RT/Search/ActiveTicketsInQueue.pm b/rt/lib/RT/Search/ActiveTicketsInQueue.pm
deleted file mode 100644 (file)
index 9f9dac7..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Search::ActiveTicketsInQueue
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-Find all active tickets in the queue named in the argument passed in
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Search::Generic);
-
-=end testing
-
-
-=cut
-
-package RT::Search::ActiveTicketsInQueue;
-
-use strict;
-use base qw(RT::Search::Generic);
-
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return ($self->loc("No description for [_1]", ref $self));
-}
-# }}}
-
-# {{{ sub Prepare
-sub Prepare  {
-  my $self = shift;
-
-  $self->TicketsObj->LimitQueue(VALUE => $self->Argument);
-
-  foreach my $status (RT::Queue->ActiveStatusArray()) {
-        $self->TicketsObj->LimitStatus(VALUE => $status);
-  }
-
-  return(1);
-}
-# }}}
-
-eval "require RT::Search::ActiveTicketsInQueue_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/ActiveTicketsInQueue_Vendor.pm});
-eval "require RT::Search::ActiveTicketsInQueue_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/ActiveTicketsInQueue_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Search/FromSQL.pm b/rt/lib/RT/Search/FromSQL.pm
deleted file mode 100644 (file)
index 3842bb6..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Search::FromSQL
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-Find all tickets described by the SQL statement passed as an argument
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Search::Generic);
-
-=end testing
-
-
-=cut
-
-package RT::Search::FromSQL;
-
-use strict;
-use base qw(RT::Search::Generic);
-
-=head2 Describe
-
-Returns a localized string describing the module's function.
-
-=cut
-
-# {{{ sub Describe 
-sub Describe  {
-    my $self = shift;
-    return ($self->loc("TicketSQL search module", ref $self));
-}
-# }}}
-
-=head2 Prepare
-
-The meat of the module.  Runs a search on its Tickets object, using
-the SQL string described in its Argument object.  The Tickets object
-is reduced to those tickets matching the SQL query.
-
-=cut
-
-# {{{ sub Prepare
-sub Prepare  {
-    my $self = shift;
-
-    $self->TicketsObj->FromSQL($self->Argument);
-    return(1);
-}
-# }}}
-
-eval "require RT::Search::FromSQL_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/FromSQL_Vendor.pm});
-eval "require RT::Search::FromSQL_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/FromSQL_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Search/Generic.pm b/rt/lib/RT/Search/Generic.pm
deleted file mode 100644 (file)
index 3f3aa83..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Search::Generic - ;
-
-=head1 SYNOPSIS
-
-    use RT::Search::Generic;
-    my $tickets = RT::Tickets->new($CurrentUser);
-    my $foo = RT::Search::Generic->new(Argument => $arg,
-                                       TicketsObj => $tickets);
-    $foo->Prepare();
-    while ( my $ticket = $foo->Next ) {
-        # Do something with each ticket we've found
-    }
-
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::Search::Generic);
-
-=end testing
-
-
-=cut
-
-package RT::Search::Generic;
-
-use strict;
-
-# {{{ sub new 
-sub new  {
-  my $proto = shift;
-  my $class = ref($proto) || $proto;
-  my $self  = {};
-  bless ($self, $class);
-  $self->_Init(@_);
-  return $self;
-}
-# }}}
-
-# {{{ sub _Init 
-sub _Init  {
-  my $self = shift;
-  my %args = ( 
-           TicketsObj => undef,
-              Argument => undef,
-              @_ );
-  
-  $self->{'TicketsObj'} = $args{'TicketsObj'}; 
-  $self->{'Argument'} = $args{'Argument'};
-}
-# }}}
-
-# {{{ sub Argument 
-
-=head2 Argument
-
-Return the optional argument associated with this Search
-
-=cut
-
-sub Argument  {
-  my $self = shift;
-  return($self->{'Argument'});
-}
-# }}}
-
-
-=head2 TicketsObj 
-
-Return the Tickets object passed into this search
-
-=cut
-
-sub TicketsObj {
-    my $self = shift;
-    return($self->{'TicketsObj'});
-}
-
-# {{{ sub Describe 
-sub Describe  {
-  my $self = shift;
-  return ($self->loc("No description for [_1]", ref $self));
-}
-# }}}
-
-# {{{ sub Prepare
-sub Prepare  {
-  my $self = shift;
-  return(1);
-}
-# }}}
-
-eval "require RT::Search::Generic_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/Generic_Vendor.pm});
-eval "require RT::Search::Generic_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/Search/Generic_Local.pm});
-
-1;
diff --git a/rt/lib/RT/SearchBuilder.pm b/rt/lib/RT/SearchBuilder.pm
deleted file mode 100644 (file)
index 3de9fc2..0000000
+++ /dev/null
@@ -1,388 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::SearchBuilder - a baseclass for RT collection objects
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-
-=begin testing
-
-ok (require RT::SearchBuilder);
-
-=end testing
-
-
-=cut
-
-package RT::SearchBuilder;
-
-use RT::Base;
-use DBIx::SearchBuilder;
-
-use strict;
-use vars qw(@ISA);
-@ISA = qw(DBIx::SearchBuilder RT::Base);
-
-# {{{ sub _Init 
-sub _Init  {
-    my $self = shift;
-    
-    $self->{'user'} = shift;
-    unless(defined($self->CurrentUser)) {
-       use Carp;
-       Carp::confess("$self was created without a CurrentUser");
-       $RT::Logger->err("$self was created without a CurrentUser");
-       return(0);
-    }
-    $self->SUPER::_Init( 'Handle' => $RT::Handle);
-}
-# }}}
-
-# {{{ sub LimitToEnabled
-
-=head2 LimitToEnabled
-
-Only find items that haven\'t been disabled
-
-=cut
-
-sub LimitToEnabled {
-    my $self = shift;
-    
-    $self->Limit( FIELD => 'Disabled',
-                 VALUE => '0',
-                 OPERATOR => '=' );
-}
-# }}}
-
-# {{{ sub LimitToDisabled
-
-=head2 LimitToDeleted
-
-Only find items that have been deleted.
-
-=cut
-
-sub LimitToDeleted {
-    my $self = shift;
-    
-    $self->{'find_disabled_rows'} = 1;
-    $self->Limit( FIELD => 'Disabled',
-                 OPERATOR => '=',
-                 VALUE => '1'
-               );
-}
-# }}}
-
-# {{{ sub LimitAttribute
-
-=head2 LimitAttribute PARAMHASH
-
-Takes NAME, OPERATOR and VALUE to find records that has the
-matching Attribute.
-
-If EMPTY is set, also select rows with an empty string as
-Attribute's Content.
-
-If NULL is set, also select rows without the named Attribute.
-
-=cut
-
-my %Negate = qw(
-    =          !=
-    !=         =
-    >          <=
-    <          >=
-    >=         <
-    <=         >
-    LIKE       NOT LIKE
-    NOT LIKE   LIKE
-    IS         IS NOT
-    IS NOT     IS
-);
-
-sub LimitAttribute {
-    my ($self, %args) = @_;
-    my $clause = 'ALIAS';
-    my $operator = ($args{OPERATOR} || '=');
-    
-    if ($args{NULL} and exists $args{VALUE}) {
-       $clause = 'LEFTJOIN';
-       $operator = $Negate{$operator};
-    }
-    elsif ($args{NEGATE}) {
-       $operator = $Negate{$operator};
-    }
-    
-    my $alias = $self->Join(
-       TYPE   => 'left',
-       ALIAS1 => $args{ALIAS} || 'main',
-       FIELD1 => 'id',
-       TABLE2 => 'Attributes',
-       FIELD2 => 'ObjectId'
-    );
-
-    my $type = ref($self);
-    $type =~ s/(?:s|Collection)$//; # XXX - Hack!
-
-    $self->Limit(
-       $clause    => $alias,
-       FIELD      => 'ObjectType',
-       OPERATOR   => '=',
-       VALUE      => $type,
-    );
-    $self->Limit(
-       $clause    => $alias,
-       FIELD      => 'Name',
-       OPERATOR   => '=',
-       VALUE      => $args{NAME},
-    ) if exists $args{NAME};
-
-    return unless exists $args{VALUE};
-
-    $self->Limit(
-       $clause    => $alias,
-       FIELD      => 'Content',
-       OPERATOR   => $operator,
-       VALUE      => $args{VALUE},
-    );
-
-    # Capture rows with the attribute defined as an empty string.
-    $self->Limit(
-       $clause    => $alias,
-       FIELD      => 'Content',
-       OPERATOR   => '=',
-       VALUE      => '',
-       ENTRYAGGREGATOR => $args{NULL} ? 'AND' : 'OR',
-    ) if $args{EMPTY};
-
-    # Capture rows without the attribute defined
-    $self->Limit(
-       %args,
-       ALIAS      => $alias,
-       FIELD      => 'id',
-       OPERATOR   => ($args{NEGATE} ? 'IS NOT' : 'IS'),
-       VALUE      => 'NULL',
-    ) if $args{NULL};
-}
-# }}}
-
-# {{{ sub LimitCustomField
-
-=head2 LimitCustomField
-
-Takes a paramhash of key/value pairs with the following keys:
-
-=over 4
-
-=item CUSTOMFIELD - CustomField id. Optional
-
-=item OPERATOR - The usual Limit operators
-
-=item VALUE - The value to compare against
-
-=back
-
-=cut
-
-sub _SingularClass {
-    my $self = shift;
-    my $class = ref($self);
-    $class =~ s/s$// or die "Cannot deduce SingularClass for $class";
-    return $class;
-}
-
-sub LimitCustomField {
-    my $self = shift;
-    my %args = ( VALUE        => undef,
-                 CUSTOMFIELD  => undef,
-                 OPERATOR     => '=',
-                 @_ );
-
-    my $alias = $self->Join(
-       TYPE       => 'left',
-       ALIAS1     => 'main',
-       FIELD1     => 'id',
-       TABLE2     => 'ObjectCustomFieldValues',
-       FIELD2     => 'ObjectId'
-    );
-    $self->Limit(
-       ALIAS      => $alias,
-       FIELD      => 'CustomField',
-       OPERATOR   => '=',
-       VALUE      => $args{'CUSTOMFIELD'},
-    ) if ($args{'CUSTOMFIELD'});
-    $self->Limit(
-       ALIAS      => $alias,
-       FIELD      => 'ObjectType',
-       OPERATOR   => '=',
-       VALUE      => $self->_SingularClass,
-    );
-    $self->Limit(
-       ALIAS      => $alias,
-       FIELD      => 'Content',
-       OPERATOR   => $args{'OPERATOR'},
-       VALUE      => $args{'VALUE'},
-    );
-}
-
-# {{{ sub FindAllRows
-
-=head2 FindAllRows
-
-Find all matching rows, regardless of whether they are disabled or not
-
-=cut
-
-sub FindAllRows {
-    shift->{'find_disabled_rows'} = 1;
-}
-
-# {{{ sub Limit 
-
-=head2 Limit PARAMHASH
-
-This Limit sub calls SUPER::Limit, but defaults "CASESENSITIVE" to 1, thus
-making sure that by default lots of things don't do extra work trying to 
-match lower(colname) agaist lc($val);
-
-=cut
-
-sub Limit {
-    my $self = shift;
-    my %args = ( CASESENSITIVE => 1,
-                 @_ );
-
-    return $self->SUPER::Limit(%args);
-}
-
-# }}}
-
-# {{{ sub ItemsOrderBy
-
-=head2 ItemsOrderBy
-
-If it has a SortOrder attribute, sort the array by SortOrder.
-Otherwise, if it has a "Name" attribute, sort alphabetically by Name
-Otherwise, just give up and return it in the order it came from the
-db.
-
-=cut
-
-sub ItemsOrderBy {
-    my $self = shift;
-    my $items = shift;
-  
-    if ($self->NewItem()->_Accessible('SortOrder','read')) {
-        $items = [ sort { $a->SortOrder <=> $b->SortOrder } @{$items} ];
-    }
-    elsif ($self->NewItem()->_Accessible('Name','read')) {
-        $items = [ sort { lc($a->Name) cmp lc($b->Name) } @{$items} ];
-    }
-
-    return $items;
-}
-
-# }}}
-
-# {{{ sub ItemsArrayRef
-
-=head2 ItemsArrayRef
-
-Return this object's ItemsArray, in the order that ItemsOrderBy sorts
-it.
-
-=begin testing
-
-use_ok(RT::Queues);
-ok(my $queues = RT::Queues->new($RT::SystemUser), 'Created a queues object');
-ok( $queues->UnLimit(),'Unlimited the result set of the queues object');
-my $items = $queues->ItemsArrayRef();
-my @items = @{$items};
-
-ok($queues->NewItem->_Accessible('Name','read'));
-my @sorted = sort {lc($a->Name) cmp lc($b->Name)} @items;
-ok (@sorted, "We have an array of queues, sorted". join(',',map {$_->Name} @sorted));
-
-ok (@items, "We have an array of queues, raw". join(',',map {$_->Name} @items));
-my @sorted_ids = map {$_->id } @sorted;
-my @items_ids = map {$_->id } @items;
-
-is ($#sorted, $#items);
-is ($sorted[0]->Name, $items[0]->Name);
-is ($sorted[-1]->Name, $items[-1]->Name);
-is_deeply(\@items_ids, \@sorted_ids, "ItemsArrayRef sorts alphabetically by name");;
-
-
-=end testing
-
-=cut
-
-sub ItemsArrayRef {
-    my $self = shift;
-    my @items;
-    
-    return $self->ItemsOrderBy($self->SUPER::ItemsArrayRef());
-}
-
-# }}}
-
-eval "require RT::SearchBuilder_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/SearchBuilder_Vendor.pm});
-eval "require RT::SearchBuilder_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/SearchBuilder_Local.pm});
-
-1;
-
-
diff --git a/rt/lib/RT/StyleGuide.pod b/rt/lib/RT/StyleGuide.pod
deleted file mode 100644 (file)
index f0d1d15..0000000
+++ /dev/null
@@ -1,922 +0,0 @@
-=head1 NAME
-
-RT::StyleGuide - RT Style Guide
-
-=head1 INTRODUCTION
-
-All code and documentation that is submitted to be included in the RT
-distribution should follow the style in this document.  This is not to
-try to stifle your creativity, but to make life easier for everybody who
-has to work with your code, and to aid those who are not quite sure how
-to do something.
-
-These conventions below apply to perl modules, web programs, and
-command-line programs, specifically, but also might apply to some
-degree to any Perl code written for use in RT.
-
-Note that these are all guidelines, not unbreakable rules.  If you have
-a really good need to break one of the rules herein, however, then it is
-best to ask on the B<rt-devel> mailing list first.
-
-Note that with much of this document, it is not so much the Right Way as
-it is Our Way.  We need to have conventions in order to make life easier
-for everyone.  So don't gripe, and just follow it, because you didn't
-get a good grade in "Plays Well With Others" in kindergarten and you
-want to make up for it now.
-
-If you have any questions, please ask us on the B<rt-devel> mailing list:
-
-       http://www.bestpractical.com/rt/lists.html
-
-We don't always follow this guide.  We are making changes throughout
-our code to be in line with it.  But just because we didn't do
-it yet, that is no excuse.  Do it anyway.  :-)
-
-This document is subject to change at the whims of the core RT team.
-We hope to add any significant changes at the bottom of the document.
-
-
-=head1 CODING PRINCIPLES
-
-=head2 Perl Version
-
-We code everything to perl 5.6.1. Some features require advanced unicode
-features in perl 5.8.0. It is acceptable that unicode features work only for 
-US-ASCII on perl 5.6.1. 
-
-
-=head2 Documentation
-
-All modules will be documented using the POD examples in the module
-boilerplate.  The function, purpose, use of the module will be
-explained, and each public API will be documented with name,
-description, inputs, outputs, side effects, etc.
-
-If an array or hash reference is returned, document the size of the
-array (including what each element is, as appropriate) and name each key
-in the hash.  For complex data structures, map out the structure as
-appropriate (e.g., name each field returned for each column from a DB
-call; yes, this means you shouldn't use "SELECT *", which you shouldn't
-use anyway).
-
-Also document what kind of data returned values are.  Is it an integer,
-a block of HTML, a boolean?
-
-All command-line program options will be documented using the
-boilerplate code for command-line programs, which doesn't yet exist.
-Each available function, switch, etc. should be documented, along
-with a statement of function, purpose, use of the program.  Do not
-use the same options as another program, for a different purpose.
-
-All web templates should be documented with a statement of function,
-purpose, and use in a mason comment block.
-
-Any external documents, and documentation for command-line programs and
-modules, should be written in POD, where appropriate. From there, they
-can be translated to many formats with the various pod2* translators. 
-Read the perlpod manpage before writing any POD, because although POD is
-not difficult, it is not what most people are used to.  It is not a
-regular markup language; it is just a way to make easy documentation
-for translating to other formats.  Read, and understand, the perlpod
-manpage, and ask us or someone else who knows if you have any questions.
-
-
-=head2 Version
-
-Our distribution versions use tuples, where the first number is the
-major revision, the second number is the version, and third
-number is the subversion.  Odd-numbered versions are development
-versions.  Examples:
-
-       1.0.0           First release of RT 1
-       1.0.1           Second release of RT 1.0
-       1.0.10          etc.
-       1.1.0           First development release of RT 1.2 (or 2.0)
-       2.0.0           First release of RT 2
-
-Versions can be modified with a hyphen followed by some text, for
-special versions, or to give extra information.  Examples:
-
-       2.0.0-pre1      Notes that this is not final, but preview
-
-In perl 5.6.0, you can have versions like C<v2.0.0>, but this is not
-allowed in previous versions of perl.  So to convert a tuple version
-string to a string to use with $VERSION, use a regular integer for
-the revision, and three digits for version and subversion.  Examples:
-
-       1.1.6   ->      1.001006
-       2.0.0   ->      2.000000
-
-This way, perl can use the version strings in greater-than and
-less-than comparisons.
-
-
-=head2 Comments
-
-All code should be self-documenting as much as possible.  Only include
-necessary comments.  Use names like "$ticket_count", so you don't need to
-do something like:
-
-       # ticket count
-       my $tc = 0;
-
-Include any comments that are, or might be, necessary in order for
-someone else to understand the code.  Sometimes a simple one-line
-comment is good to explain what the purpose of the following code is
-for.  Sometimes each line needs to be commented because of a complex
-algorithm.  Read Kernighan & Pike's I<Practice of Programming> about
-commenting.  Good stuff, Maynard.
-
-
-=head2 Warnings and Strict
-
-All code must compile and run cleanly with "use strict" enabled and the
-perl "-w" (warnings) option on.  If you must do something that -w or
-strict complains about, there are workarounds, but the chances that you
-really need to do it that way are remote.
-
-=head2 Lexical Variables
-
-Use only lexical variables, except for special global variables
-($VERSION, %ENV, @ISA, $!, etc.) or very special circumstances (see
-%HTML::Mason::Commands::session ).  Global variables
-for regular use are never appropriate.  When necessary, "declare"
-globals with "use vars" or "our()".
-
-A lexical variable is created with my().  A global variable is
-pre-existing (if it is a special variable), or it pops into existence
-when it is used.  local() is used to tell perl to assign a temporary
-value to a variable.  This should only be used with special variables,
-like $/, or in special circumstances.  If you must assign to any global
-variable, consider whether or not you should use local().
-
-local() may also be used on elements of arrays and hashes, though there
-is seldom a need to do it, and you shouldn't.
-
-
-=head2 Exporting
-
-Do not export anything from a module by default.  Feel free to put
-anything you want to in @EXPORT_OK, so users of your modules can
-explicitly ask for symbols (e.g., "use Something::Something qw(getFoo
-setFoo)"), but do not export them by default.
-
-
-=head2 Pass by Reference
-
-Arrays and hashes should be passed to and from functions by reference
-only.  Note that a list and an array are NOT the same thing.  This
-is perfectly fine:
-
-       return($user, $form, $constants);
-
-An exception might be a temporary array of discrete arguments:
-
-       my @return = ($user, $form);
-       push @return, $constants if $flag;
-       return @return;
-
-Although, usually, this is better (faster, easier to read, etc.):
-
-       if ($flag) {
-               return($user, $form, $constants);
-       } else {
-               return($user, $form);
-       }
-
-We need to talk about Class::ReturnValue here.
-
-
-=head2 Garbage Collection
-
-Perl does pretty good garbage collection for you.  It will automatically
-clean up lexical variables that have gone out of scope and objects whose
-references have gone away.  Normally you don't need to worry about
-cleaning up after yourself, if using lexicals.
-
-However, some glue code, code compiled in C and linked to Perl, might
-not automatically clean up for you.  In such cases, clean up for
-yourself.  If there is a method in that glue to dispose or destruct,
-then use it as appropriate.
-
-Also, if you have a long-running function that has a large data
-structure in it, it is polite to free up the memory as soon as you are
-done with it, if possible.
-
-       my $huge_data_structure = get_huge_data_structure();
-       do_something_with($huge_data_structure);
-       undef $huge_data_structure;
-
-=head2 DESTROY
-
-All object classes must provide a DESTROY method.  If it won't do
-anything, provide it anyway:
-
-       sub DESTROY { }
-
-
-
-=head2 die() and exit()
-
-Don't do it.  Do not die() or exit() from a web template or module.  Do
-not call C<kill 9, $$>.  Don't do it.
-
-In command-line programs, do as you please.
-
-
-=head2 shift and @_
-
-Do not use @_.  Use shift.  shift may take more lines, but Jesse thinks it 
-leads to cleaner code.
-
-       my $var = shift;                        # right
-       my($var) = @_;                          # ick. no
-       sub foo { uc $_[0] }                    # icky. sometimes ok.
-
-
-       my($var1, $var2) = (shift, shift);      # Um, no.
-
-        my $var1 = shift;                       # right
-        my $var2 = shift;                       
-
-=head2 Method parameters
-
-If a method takes exactly one mandatory argument, the argument should be
-passed in a straightforward manner:
-
-        my $self = shift;
-        my $id = shift;
-
-In all other cases, the method needs to take named parameters, usually
-using a C<%args> hash to store them:
-
-        my $self = shift;
-        my %args = ( Name => undef,
-                     Description => undef,
-                     @_ );
-
-You may specify defaults to those named parameters instead of using
-C<undef> above, as long as it is documented as such.
-
-It is worth noting that the existing RT codebase had not followed this
-style perfectly; we are trying to fix it without breaking exsiting APIs.
-
-=head2 Tests
-
-Modules should provide test code, with documentation on how to use
-it. Test::Inline allows tests to be embedded in code. Test::More makes it 
-easy to create tests. Any code you write should have a testsuite.
-Any code you alter should have a test suite. If a patch comes in without
-tests, there is something wrong.
-
-When altering code, you must run the test harness before submitting a patch
-or committing code to the repository. 
-
-"make regression" will extract inline tests, blow away the system database
-and run the test suite.
-
-"make regression-quiet" will do all that and not print the "ok" lines.
-
-
-
-=head2 STDIN/STDOUT
-
-Always report errors using $RT::Logger. It's a Log::Dispatch object.
-Unlike message meant for the user, log messages are not to be
-internationalized.
-
-There are several different levels ($RT::Logger methods) of logging:
-
-=over 4
-
-=item debug
-
-Used for messages only needed during system debugging.
-
-=item info
-
-Should be used to describe "system-critical" events which aren't errors.
-Examples: creating users, deleting users, creating tickets, creating queues,
-sending email (message id, time, recipients), recieving mail, changing
-passwords, changing access control, superuser logins)
-
-=item error
-
-Used for RT-generated failures during execution.
-
-=item crit
-
-Should be used for messages when an action can not be completed due to some
-error condition beyond our control.
-
-=back
-
-In the web UI and modules, never print directly to STDERR.  Do not print
-directly to STDOUT, unless you need to print directly to the user's console.
-
-In command-line programs, feel free to print to STDERR and STDOUT as
-needed for direct console communication. But for actual error reporting,
-use the logging API.
-
-
-=head2 System Calls
-
-Always check return values from system calls, including open(),
-close(), mkdir(), or anything else that talks directly to the system. 
-Perl built-in system calls return the error in $!; some functions in
-modules might return an error in $@ or some other way, so read the module's
-documentation if you don't know.  Always do something, even if it is
-just calling $RT::Logger->warning(), when the return value is not what you'd expect.
-
-
-
-=head1 STYLE
-
-Much of the style section is taken from the perlsyle manpage.  We make
-some changes to it here, but it wouldn't be a bad idea to read that
-document, too.
-
-=head2 Terminology
-
-=over 4
-
-=item RT the name
-
-"RT" is the name of the project.  "RT" is, optionally, the
-specific name for the actual file distribution.  That's it. 
-
-While we sometimes use "RT2" or "RT3", that's shortand that's really
-not recommended. The name of the project is "RT".
-
-To specify a major version, use "RT 3.0".
-To specify a specific release, use "RT 3.0.12"
-
-=item function vs. sub(routine) vs. method
-
-Just because it is the Perl Way (not necessarily right for all
-languages, but the documented terminology in the perl documentation),
-"method" should be used only to refer to a subroutine that are object
-methods or class methods; that is, these are functions that are used
-with OOP that always take either an object or a class as the first
-argument. Regular subroutines, ones that are not object or class
-methods, are functions.  Class methods that create and return an object
-are optionally called constructors.
-
-=item Users
-
-"users" are normally users of RT, the ones hitting the site; if using
-it in any other context, specify.  
-"system users" are user
-names on the operating system.  "database users" are the user names in
-the database server.  None of these needs to be capitalized.
-
-=back
-
-
-=head2 Names
-
-Don't use single-character variables, except as iterator variables.
-
-Don't use two-character variables just to spite us over the above rule.
-
-Constants are in all caps; these are variables whose value will I<never>
-change during the course of the program.
-
-       $Minimum = 10;          # wrong
-       $MAXIMUM = 50;          # right
-
-Other variables are lowercase, with underscores separating the words. 
-They words used should, in general, form a noun (usually singular),
-unless the variable is a flag used to denote some action that should be
-taken, in which case they should be verbs (or gerunds, as appropriate)
-describing that action.
-
-       $thisVar      = 'foo';  # wrong
-       $this_var     = 'foo';  # right
-       $work_hard    = 1;      # right, verb, boolean flag
-       $running_fast = 0;      # right, gerund, boolean flag
-
-Arrays and hashes should be plural nouns, whether as regular arrays and
-hashes or array and hash references.  Do not name references with "ref"
-or the data type in the name.
-
-       @stories     = (1, 2, 3);      # right
-       $comment_ref = [4, 5, 6];      # wrong
-       $comments    = [4, 5, 6];      # right
-       $comment     = $comments->[0]; # right
-
-Make the name descriptive.  Don't use variables like "$sc" when you
-could call it "$story_count".  See L<"Comments">.
-
-There are several variables in RT that are used throughout the code,
-that you should use in your code.  Do not use these variable names for
-anything other than how they are normally used, and do not use any
-other variable names in their place.  Some of these are:
-
-       $self           # first named argument in object method
-
-Subroutines (except for special cases, like AUTOLOAD and simple accessors)
-begin with a verb, with words following to complete the action.  Accessors
-don't start with "Get" if they're just the name of the attribute.
-
-Accessors which return an object should end with the suffix Obj.
-
-This section needs clarification for RT.
-
-Words begin with a capital letter.  They
-should as clearly as possible describe the activity to be peformed, and
-the data to be returned. 
-
-
-
-       Load();         # good
-       LoadByName();   # good
-       LoadById();             # good
-
-Subroutines beginning with C<_> are special: they are not to be used
-outside the current object.  There is not to be enforced by the code
-itself, but by someone very big and very scary.
-
-For large for() loops, do not use $_, but name the variable.
-Do not use $_ (or assume it) except for when it is absolutely
-clear what is going on, or when it is required (such as with
-map() and grep()).
-
-       for (@list) {
-               print;                  # OK; everyone knows this one
-               print uc;               # wrong; few people know this
-               print uc $_;            # better
-       }
-
-Note that the special variable C<_> I<should> be used when possible.
-It is a placeholder that can be passed to stat() and the file test
-operators, that saves perl a trip to re-stat the file.  In the
-example below, using C<$file> over for each file test, instead of
-C<_> for subsequent uses, is a performance hit.  You should be
-careful that the last-tested file is what you think it is, though.
-
-       if (-d $file) {         # $file is a directory
-               # ...
-       } elsif (-l _) {        # $file is a symlink
-               # ...
-       }
-
-Package names begin with a capital letter in each word, followed by
-lower case letters (for the most part).  Multiple words should be StudlyCapped.
-
-       RT::User                        # good
-       RT::Database::MySQL             # proper name
-       RT::Display::Provider           # good
-       RT::CustomField                 # not so good, but OK
-
-Plugin modules should begin with "RTx::", followed by the name
-of the plugin.  
-
-=head1 Code formatting
-
-Use perltidy. Anything we say here is wrong if it conflicts with what
-perltidy does. Your perltidyrc should read:
-
--lp -vt=2 -vtc=2 -nsfs -bar                                                                                             
-
-=head2 Indents and Blank Space
-
-All indents should be tabs.  Set your tab stops whatever you want them
-to be; I use 8 spaces per tabs.
-
-No space before a semicolon that closes a statement.
-
-       foo(@bar) ;     # wrong
-       foo(@bar);      # right
-
-Line up corresponding items vertically.
-
-       my $foo   = 1;
-       my $bar   = 2;
-       my $xyzzy = 3;
-
-       open(FILE, $fh)   or die $!;
-       open(FILE2, $fh2) or die $!;
-
-       $rot13 =~ tr[abcedfghijklmnopqrstuvwxyz]
-                   [nopqrstuvwxyzabcdefghijklm];
-
-       # note we use a-mn-z instead of a-z,
-       # for readability
-       $rot13 =~ tr[a-mn-z]
-                   [n-za-m];
-
-Put blank lines between groups of code that do different things.  Put
-blank lines after your variable declarations.  Put a blank line before a
-final return() statement.  Put a blank line following a block (and
-before, with the exception of comment lines).
-
-An example:
-
-       # this is my function!
-       sub foo {
-                my $val = shift;
-               my $obj = new Constructor;
-               my($var1, $var2);
-
-               $obj->SetFoo($val);
-               $var1 = $obj->Foo();
-
-
-               return($val);
-       }
-
-       print 1;
-
-
-=head2 Parentheses
-
-For control structures, there is a space between the keyword and opening
-parenthesis.  For functions, there is not.
-
-       for(@list)      # wrong
-       for (@list)     # right
-
-       my ($ref)       # wrong
-       my($ref)        # right
-
-Be careful about list vs. scalar context with parentheses!
-
-       my @array = ('a', 'b', 'c');
-       my($first_element) = @array;            # a
-       my($first_element) = ('a', 'b', 'c');   # a
-       my $element_count  = @array;            # 3
-       my $last_element   = ('a', 'b', 'c');   # c
-
-Always include parentheses after functions, even if there are no arguments.
-There are some exceptions, such as list operators (like print) and unary
-operators (like undef, delete, uc).
-
-There is no space inside the parentheses, unless it is needed for
-readability.
-
-       for ( map { [ $_, 1 ] } @list ) # OK
-       for ( @list )                   # not really OK, not horrible
-
-On multi-line expressions, match up the closing parenthesis with either
-the opening statement, or the opening parenthesis, whichever works best.
-Examples:
-
-       @list = qw(
-               bar
-               baz
-       );                      # right
-
-       if ($foo && $bar && $baz
-                && $buz && $xyzzy
-       ) {
-               print $foo;
-       }
-
-Whether or not there is space following a closing parenthesis is
-dependent on what it is that follows.
-
-       print foo(@bar), baz(@buz) if $xyzzy;
-
-Note also that parentheses around single-statement control expressions,
-as in C<if $xyzzy>, are optional (and discouraged) C<if> it is I<absolutely>
-clear -- to a programmer -- what is going on.  There is absolutely no
-need for parentheses around C<$xyzzy> above, so leaving them out enhances
-readability.  Use your best discretion.  Better to include them, if
-there is any question.
-
-The same essentially goes for perl's built-in functions, when there is
-nothing confusing about what is going on (for example, there is only one
-function call in the statement, or the function call is separated by a
-flow control operator).  User-supplied functions must always include
-parentheses.
-
-       print 1, 2, 3;                          # good
-       delete $hash{key} if isAnon($uid);      # good
-
-
-However, if there is any possible confusion at all, then include the
-parentheses.  Remember the words of Larry Wall in the perlstyle manpage:
-
-       When in doubt, parenthesize.  At the very least it will
-       let some poor schmuck bounce on the % key in vi.
-
-       Even if you aren't in doubt, consider the mental welfare
-       of the person who has to maintain the code after you, and
-       who will probably put parens in the wrong place.
-
-So leave them out when it is absoutely clear to a programmer, but if
-there is any question, leave them in.
-
-
-=head2 Braces
-
-(This is about control braces, not hash/data structure braces.)
-
-There is always a space befor the opening brace.
-
-       while (<$fh>){  # wrong
-       while (<$fh>) { # right
-
-A one-line block may be put on one line, and the semicolon may be
-omitted.
-
-       for (@list) { print }
-
-Otherwise, finish each statement with a semicolon, put the keyword and
-opening curly on the first line, and the ending curly lined up with the
-keyword at the end.
-
-       for (@list) {
-               print;
-               smell();
-       }
-
-Generally, we prefer "uncuddled elses":
-
-       if ($foo) {
-               print;
-       }
-       else {
-               die;
-       }
-
-_If_ the if statement is very brief, sometimes "cuddling" the else makes code more readable. Feel free to cuddle them in that case:
-
-
-       if ($foo) {
-               print;
-       } else {
-               die;
-       }
-
-=head2 Operators
-
-Put space around most operators.  The primary exception is the for
-aesthetics; e.g., sometimes the space around "**" is ommitted,
-and there is never a space before a ",", but always after.
-
-       print $x , $y;  # wrong
-       print $x, $y;   # right
-
-       $x = 2 >> 1;    # good
-       $y = 2**2;      # ok
-
-Note that "&&" and "||" have a higher precedence than "and" and "or". 
-Other than that, they are exactly the same.  It is best to use the lower
-precedence version for control, and the higher for testing/returning
-values.  Examples:
-
-       $bool = $flag1 or $flag2;       # WRONG (doesn't work)
-       $value = $foo || $bar;          # right
-       open(FILE, $file) or die $!;
-
-       $true  = foo($bar) && baz($buz);
-       foo($bar) and baz($buz);
-
-Note that "and" is seldom ever used, because the statement above is
-better written using "if":
-
-       baz($buz) if foo($bar);
-
-Most of the time, the confusion between and/&&, or/|| can be alleviated
-by using parentheses.  If you want to leave off the parentheses then you
-I<must> use the proper operator.  But if you use parentheses -- and
-normally, you should, if there is any question at all -- then it doesn't
-matter which you use.  Use whichever is most readable and aesthetically
-pleasing to you at the time, and be consistent within your block of code.
-
-Break long lines AFTER operators, except for "and", "or", "&&", "||".
-Try to keep the two parts to a binary operator (an operator that
-has two operands) together when possible.
-
-       print "foo" . "bar" . "baz"
-               . "buz";                        # wrong
-
-       print "foo" . "bar" . "baz" .
-               "buz";                          # right
-
-       print $foo unless $x == 3 && $y ==
-               4 && $z == 5;                   # wrong
-
-       print $foo unless $x == 3 && $y == 4
-               && $z == 5;                     # right
-
-
-=head2 Other
-
-Put space around a complex subscript inside the brackets or braces.
-
-       $foo{$bar{baz}{buz}};   # OK
-       $foo{ $bar{baz}{buz} }; # better
-
-In general, use single-quotes around literals, and double-quotes
-when the text needs to be interpolated. 
-
-It is OK to omit quotes around names in braces and when using
-the => operator, but be careful not to use a name that doubles as
-a function; in that case, quote.
-
-       $what{'time'}{it}{is} = time();
-
-When making compound statements, put the primary action first.
-
-       open(FILE, $fh) or die $!;      # right
-       die $! unless open(FILE, $fh);  # wrong
-
-       print "Starting\n" if $verbose; # right
-       $verbose && print "Starting\n"; # wrong
-
-
-Use here-docs instead of repeated print statements.
-
-               print <<EOT;
-       This is a whole bunch of text.
-       I like it.  I don't need to worry about messing
-       with lots of print statements and lining them up.
-       EOT
-
-Just remember that unless you put single quotes around your here-doc
-token (<<'EOT'), the text will be interpolated, so escape any "$" or "@"
-as needed.
-
-=head1 INTERNATIONALIZATION
-
-
-=head2 String extraction styleguide
-
-=over 4
-
-=item Web templates
-
-Templates should use the /l filtering component to call the localisation
-framework
-
-The string             Foo!
-
-Should become          <&|/l&>Foo!</&>
-
-All newlines should be removed from localized strings, to make it easy to 
-grep the codebase for strings to be localized
-
-The string             Foo
-                       Bar
-                       Baz
-                       
-Should become          <&|/l&>Foo Bar Baz</&>
-
-
-Variable subsititutions should be moved to Locale::MakeText format
-
-The string             Hello, <%$name %>
-
-should become          <&|/l, $name &>Hello, [_1]</&>  
-
-
-Multiple variables work just like single variables
-The string             You found <%$num%> tickets in queue <%$queue%>
-
-should become          <&|/l, $num, $queue &>You found [_1] tickets in queue [_2]</&>
-
-When subcomponents are called in the middle of a phrase, they need to be escaped
-too:
-
-The string              <input type="submit" value="New ticket in">&nbsp<& /Elements/SelectNewTicketQueue&>
-
-should become          <&|/l, $m->scomp('/Elements/SelectNewTicketQueue')&><input type="submit" value="New ticket in">&nbsp;[_1]</&>
-
-
-
-
-The string     <& /Elements/TitleBoxStart, width=> "40%", titleright => "RT $RT::VERSION for   $RT::rtname", title => 'Login' &>
-
-should become  <& /Elements/TitleBoxStart, 
-                       width=> "40%",
-                       titleright => loc("RT [_1] for [_2]",$RT::VERSION, $RT::rtname),
-                       title => loc('Login'),
-               &>
-       
-
-=item Library code                     
-
-
-
-Within RT's core code, every module has a localization handle available through the 'loc' method:
-
-The code       return ( $id, "Queue created" );
-
-should become  return ( $id, $self->loc("Queue created") );    
-
-When returning or localizing a single string, the "extra" set of parenthesis () should be omitted.
-
-The code       return ("Subject changed to ". $self->Data );
-
-should become   return $self->loc( "Subject changed to [_1]", $self->Data );
-
-
-It is important not to localize  the names of rights or statuses within RT's core, as there is logic that depends on them as string identifiers.  The proper place to localize these values is when they're presented for display in the web or commandline interfaces.
-
-
-=back 4
-
-=head1 CODING PRCEDURE
-
-This is for new programs, modules, specific APIs, or anything else.
-
-=over 4
-
-=item Present idea to rt-devel
-
-We may know of a better way to approach the problem, or know of an
-existing way to deal with it, or know someone else is working on it. 
-This is mostly informal, but a fairly complete explanation for the need
-and use of the code should be provided.
-
-
-=item Present complete specs to rt-devel
-
-The complete proposed API  should be submitted for
-approval and discussion.  For web and command-line programs, present the
-functionality and interface (op codes, command-lin switches, etc.).
-
-The best way to do this is to take the documentation portion of the
-boilerplate and fill it in.  You can make changes later if necessary,
-but fill it in as much as you can.
-
-
-
-=item Prepare for code review
-
-When you are done, the code will undergo a code review by a member of
-the core team, or someone picked by the core team.  This is not to
-belittle you (that's just a nice side effect), it is to make sure that
-you understand your code, that we understand your code, that it won't
-break other code, that it follows the documentation and existing
-proposal.  It is to check for possible optimizations or better ways of
-doing it.
-
-Note that all code is expected to follow the coding principles and style
-guide contained in this document.
-
-
-=item Finish it up
-
-After the code is done (possibly going through multiple code reviews),
-if you do not have repository access, submit it to rt-<major-version>-bugs@fsck.com as a unified diff. From that point on, it'll be handled by someone with repository access.
-
-=back
-
-
-=head1 BUG REPORTS, PATCHES
-
-Use rt-<major-version>-bugs@fsck.com for I<any> bug that is not
-being fixed immediately.  If it is not in RT, there
-is a good chance it will not be dealt with.
-
-Send patches to rt-<major-version>-bugs@fsck.com, too.  Use C<diff
--u> for patches.
-
-=head1 SCHEMA DESIGN
-
-RT uses a convention to denote the foreign key status in its tables.
-The rule of thumb is:
-
-=over 4
-
-=item When it references to another table, always use the table name
-
-For example, the C<Template> field in the C<Scrips> table refers to
-the C<Id> of the same-named C<Template> table.
-
-=item Otherwise, always use the C<Id> suffix
-
-For example, the C<ObjectId> field in the C<ACL> table can refer
-to any object, so it has the C<Id> suffix.
-
-=back
-
-There are some legacy fields that did not follow this rule, namely
-C<ACL.PrincipalId>, C<GroupMembers.GroupId> and C<Attachments.TransactionId>,
-but new tables are expected to be consistent.
-
-=head1 TO DO
-
-Talk about DBIx::SearchBuilder
-
-Talk about mason
-        component style
-        cascading style sheets
-         
-Talk about adding a new translation
-
-Talk more about logging
-
-=head1 CHANGES
-
-        Adapted from Slash Styleguide by jesse - 20 Dec, 2002
-
-
-=head1 VERSION
-
-0.1 
diff --git a/rt/lib/RT/System.pm b/rt/lib/RT/System.pm
deleted file mode 100644 (file)
index 515e3a4..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME 
-
-RT::System
-
-=head1 DESCRIPTION
-
-RT::System is a simple global object used as a focal point for things
-that are system-wide.
-
-It works sort of like an RT::Record, except it's really a single object that has
-an id of "1" when instantiated.
-
-This gets used by the ACL system so that you can have rights for the scope "RT::System"
-
-In the future, there will probably be other API goodness encapsulated here.
-
-=cut
-
-
-package RT::System;
-use base qw /RT::Base/;
-use strict;
-
-use RT::ACL;
-use vars qw/ $RIGHTS/;
-
-# System rights are rights granted to the whole system
-# XXX TODO Can't localize these outside of having an object around.
-$RIGHTS = {
-    SuperUser              => 'Do anything and everything',           # loc_pair
-    AdminAllPersonalGroups =>
-      "Create, delete and modify the members of any user's personal groups"
-    ,                                                                 # loc_pair
-    AdminOwnPersonalGroups =>
-      'Create, delete and modify the members of personal groups',     # loc_pair
-    AdminUsers     => 'Create, delete and modify users',              # loc_pair
-    ModifySelf     => "Modify one's own RT account",                  # loc_pair
-    DelegateRights =>
-      "Delegate specific rights which have been granted to you.",     # loc_pair
-    ShowConfigTab => "show Configuration tab",     # loc_pair
-    LoadSavedSearch => "allow loading of saved searches",     # loc_pair
-    CreateSavedSearch => "allow creation of saved searches",      # loc_pair
-};
-
-# Tell RT::ACE that this sort of object can get acls granted
-$RT::ACE::OBJECT_TYPES{'RT::System'} = 1;
-
-foreach my $right ( keys %{$RIGHTS} ) {
-    $RT::ACE::LOWERCASERIGHTNAMES{ lc $right } = $right;
-}
-
-
-=head2 AvailableRights
-
-Returns a hash of available rights for this object. The keys are the right names and the values are a description of what the rights do
-
-=begin testing
-
-my $s = RT::System->new($RT::SystemUser);
-my $rights = $s->AvailableRights;
-ok ($rights, "Rights defined");
-ok ($rights->{'AdminUsers'},"AdminUsers right found");
-ok ($rights->{'CreateTicket'},"CreateTicket right found");
-ok ($rights->{'AdminGroupMembership'},"ModifyGroupMembers right found");
-ok (!$rights->{'CasdasdsreateTicket'},"bogus right not found");
-
-
-
-=end testing
-
-
-=cut
-
-sub AvailableRights {
-    my $self = shift;
-
-    my $queue = RT::Queue->new($RT::SystemUser);
-    my $group = RT::Group->new($RT::SystemUser);
-    my $cf    = RT::CustomField->new($RT::SystemUser);
-
-    my $qr =$queue->AvailableRights();
-    my $gr = $group->AvailableRights();
-    my $cr = $cf->AvailableRights();
-
-    # Build a merged list of all system wide rights, queue rights and group rights.
-    my %rights = (%{$RIGHTS}, %{$gr}, %{$qr}, %{$cr});
-    return(\%rights);
-}
-
-
-=head2 new
-
-Create a new RT::System object. Really, you should be using $RT::System
-
-=cut
-
-                         
-sub new {
-    my $proto = shift;
-    my $class = ref($proto) || $proto;
-    my $self  = {};
-    bless( $self, $class );
-
-
-    return ($self);
-}
-
-=head2 id
-
-Returns RT::System's id. It's 1. 
-
-
-=begin testing
-
-use RT::System;
-my $sys = RT::System->new();
-is( $sys->Id, 1);
-is ($sys->id, 1);
-
-=end testing
-
-
-=cut
-
-*Id = \&id;
-
-sub id {
-    return (1);
-}
-
-=head2 Load
-
-Since this object is pretending to be an RT::Record, we need a load method.
-It does nothing
-
-=cut
-
-sub Load {
-       return (1);
-}
-
-eval "require RT::System_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/System_Vendor.pm});
-eval "require RT::System_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/System_Local.pm});
-
-1;
diff --git a/rt/lib/RT/Template.pm b/rt/lib/RT/Template.pm
deleted file mode 100755 (executable)
index 4f7aacb..0000000
+++ /dev/null
@@ -1,385 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Template
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Template;
-use RT::Record; 
-use RT::Queue;
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Templates');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'Queue'.
-  varchar(200) 'Name'.
-  varchar(255) 'Description'.
-  varchar(16) 'Type'.
-  varchar(16) 'Language'.
-  int(11) 'TranslationOf'.
-  blob 'Content'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Queue => '0',
-                Name => '',
-                Description => '',
-                Type => '',
-                Language => '',
-                TranslationOf => '0',
-                Content => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         Queue => $args{'Queue'},
-                         Name => $args{'Name'},
-                         Description => $args{'Description'},
-                         Type => $args{'Type'},
-                         Language => $args{'Language'},
-                         TranslationOf => $args{'TranslationOf'},
-                         Content => $args{'Content'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Queue
-
-Returns the current value of Queue. 
-(In the database, Queue is stored as int(11).)
-
-
-
-=head2 SetQueue VALUE
-
-
-Set Queue to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Queue will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 QueueObj
-
-Returns the Queue Object which has the id returned by Queue
-
-
-=cut
-
-sub QueueObj {
-       my $self = shift;
-       my $Queue =  RT::Queue->new($self->CurrentUser);
-       $Queue->Load($self->__Value('Queue'));
-       return($Queue);
-}
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Description
-
-Returns the current value of Description. 
-(In the database, Description is stored as varchar(255).)
-
-
-
-=head2 SetDescription VALUE
-
-
-Set Description to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Description will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Type
-
-Returns the current value of Type. 
-(In the database, Type is stored as varchar(16).)
-
-
-
-=head2 SetType VALUE
-
-
-Set Type to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Type will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 Language
-
-Returns the current value of Language. 
-(In the database, Language is stored as varchar(16).)
-
-
-
-=head2 SetLanguage VALUE
-
-
-Set Language to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Language will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 TranslationOf
-
-Returns the current value of TranslationOf. 
-(In the database, TranslationOf is stored as int(11).)
-
-
-
-=head2 SetTranslationOf VALUE
-
-
-Set TranslationOf to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, TranslationOf will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Content
-
-Returns the current value of Content. 
-(In the database, Content is stored as blob.)
-
-
-
-=head2 SetContent VALUE
-
-
-Set Content to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Content will be stored as a blob.)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Queue => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Description => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Type => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        Language => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        TranslationOf => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Content => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::Template_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Template_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Template_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Template_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Template_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Template_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Template_Overlay, RT::Template_Vendor, RT::Template_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Template_Overlay.pm b/rt/lib/RT/Template_Overlay.pm
deleted file mode 100644 (file)
index bfff0f0..0000000
+++ /dev/null
@@ -1,444 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Portions Copyright 2000 Tobias Brox <tobix@cpan.org> 
-
-=head1 NAME
-
-  RT::Template - RT's template object
-
-=head1 SYNOPSIS
-
-  use RT::Template;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok(require RT::Template);
-
-=end testing
-
-=cut
-
-
-package RT::Template;
-
-use strict;
-no warnings qw(redefine);
-
-use Text::Template;
-use MIME::Entity;
-use MIME::Parser;
-use File::Temp qw /tempdir/;
-
-
-# {{{ sub _Accessible 
-
-sub _Accessible {
-    my $self = shift;
-    my %Cols = (
-        id            => 'read',
-        Name          => 'read/write',
-        Description   => 'read/write',
-        Type          => 'read/write',    #Type is one of Action or Message
-        Content       => 'read/write',
-        Queue         => 'read/write',
-        Creator       => 'read/auto',
-        Created       => 'read/auto',
-        LastUpdatedBy => 'read/auto',
-        LastUpdated   => 'read/auto'
-    );
-    return $self->SUPER::_Accessible( @_, %Cols );
-}
-
-# }}}
-
-# {{{ sub _Set
-
-sub _Set {
-    my $self = shift;
-
-    # use super::value or we get acl blocked
-    if ( ( defined $self->SUPER::_Value('Queue') )
-        && ( $self->SUPER::_Value('Queue') == 0 ) )
-    {
-        unless ( $self->CurrentUser->HasRight( Object => $RT::System, Right => 'ModifyTemplate') ) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-    }
-    else {
-
-        unless ( $self->CurrentUserHasQueueRight('ModifyTemplate') ) {
-            return ( 0, $self->loc('Permission Denied') );
-        }
-    }
-    return ( $self->SUPER::_Set(@_) );
-
-}
-
-# }}}
-
-# {{{ sub _Value 
-
-=head2 _Value
-
-Takes the name of a table column.
-Returns its value as a string, if the user passes an ACL check
-
-
-=begin testing
-
-my $t = RT::Template->new($RT::SystemUser);
-$t->Create(Name => "Foo", Queue => 1);
-my $t2 = RT::Template->new($RT::Nobody);
-$t2->Load($t->Id);
-ok($t2->QueueObj->id, "Got the template's queue objet");
-
-=end testing
-
-
-
-=cut
-
-sub _Value {
-
-    my $self  = shift;
-    my $field = shift;
-
-   
-    #If the current user doesn't have ACLs, don't let em at it.  
-    #use super::value or we get acl blocked
-    if ( ( !defined $self->__Value('Queue') )
-        || ( $self->__Value('Queue') == 0 ) )
-    {
-        unless ( $self->CurrentUser->HasRight( Object => $RT::System, Right => 'ShowTemplate') ) {
-            return (undef);
-        }
-    }
-    else {
-        unless ( $self->CurrentUserHasQueueRight('ShowTemplate') ) {
-            return (undef);
-        }
-    }
-    return ( $self->__Value($field) );
-
-}
-
-# }}}
-
-# {{{ sub Load
-
-=head2 Load <identifer>
-
-Load a template, either by number or by name
-
-=cut
-
-sub Load {
-    my $self       = shift;
-    my $identifier = shift;
-
-    if ( !$identifier ) {
-        return (undef);
-    }
-
-    if ( $identifier !~ /\D/ ) {
-        $self->SUPER::LoadById($identifier);
-    }
-    else {
-        $self->LoadByCol( 'Name', $identifier );
-
-    }
-}
-
-# }}}
-
-# {{{ sub LoadGlobalTemplate
-
-=head2 LoadGlobalTemplate NAME
-
-Load the global tempalte with the name NAME
-
-=cut
-
-sub LoadGlobalTemplate {
-    my $self = shift;
-    my $id   = shift;
-
-    return ( $self->LoadQueueTemplate( Queue => 0, Name => $id ) );
-}
-
-# }}}
-
-# {{{ sub LoadQueueTemplate
-
-=head2  LoadQueueTemplate (Queue => QUEUEID, Name => NAME)
-
-Loads the Queue template named NAME for Queue QUEUE.
-
-=cut
-
-sub LoadQueueTemplate {
-    my $self = shift;
-    my %args = (
-        Queue => undef,
-        Name  => undef,
-        @_
-    );
-
-    return ( $self->LoadByCols( Name => $args{'Name'}, Queue => $args{'Queue'} ) );
-
-}
-
-# }}}
-
-# {{{ sub Create
-
-=head2 Create
-
-Takes a paramhash of Content, Queue, Name and Description.
-Name should be a unique string identifying this Template.
-Description and Content should be the template's title and content.
-Queue should be 0 for a global template and the queue # for a queue-specific 
-template.
-
-Returns the Template's id # if the create was successful. Returns undef for
-unknown database failure.
-
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = (
-        Content     => undef,
-        Queue       => 0,
-        Description => '[no description]',
-        Type => 'Action',    #By default, template are 'Action' templates
-        Name => undef,
-        @_
-    );
-
-    if ( !$args{'Queue'}  ) {
-        unless ( $self->CurrentUser->HasRight(Right =>'ModifyTemplate', Object => $RT::System) ) {
-            return (undef);
-        }
-        $args{'Queue'} = 0;
-    }
-    else {
-        my $QueueObj = new RT::Queue( $self->CurrentUser );
-        $QueueObj->Load( $args{'Queue'} ) || return ( 0, $self->loc('Invalid queue') );
-    
-        unless ( $QueueObj->CurrentUserHasRight('ModifyTemplate') ) {
-            return (undef);
-        }
-        $args{'Queue'} = $QueueObj->Id;
-    }
-
-    my $result = $self->SUPER::Create(
-        Content => $args{'Content'},
-        Queue   =>  $args{'Queue'},
-        Description => $args{'Description'},
-        Name        => $args{'Name'}
-    );
-
-    return ($result);
-
-}
-
-# }}}
-
-# {{{ sub Delete
-
-=head2 Delete
-
-Delete this template.
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasQueueRight('ModifyTemplate') ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-
-    return ( $self->SUPER::Delete(@_) );
-}
-
-# }}}
-
-# {{{ sub MIMEObj
-sub MIMEObj {
-    my $self = shift;
-    return ( $self->{'MIMEObj'} );
-}
-
-# }}}
-
-# {{{ sub Parse 
-
-=head2 Parse
-
- This routine performs Text::Template parsing on the template and then
- imports the results into a MIME::Entity so we can really use it
-
- Takes a hash containing Argument, TicketObj, and TransactionObj.
-
- It returns a tuple of (val, message)
- If val is 0, the message contains an error message
-
-=cut
-
-sub Parse {
-    my $self = shift;
-
-    #We're passing in whatever we were passed. it's destined for _ParseContent
-    my $content = $self->_ParseContent(@_);
-
-    #Lets build our mime Entity
-
-    my $parser = MIME::Parser->new();
-
-        # On some situations TMPDIR is non-writable. sad but true.
-        $parser->output_to_core(1);
-        $parser->tmp_to_core(1);
-
-    #If someone includes a message, don't extract it
-    $parser->extract_nested_messages(1);
-
-    # Set up the prefix for files with auto-generated names:
-    $parser->output_prefix("part");
-
-    # If content length is <= 50000 bytes, store each msg as in-core scalar;
-    # Else, write to a disk file (the default action):
-    $parser->output_to_core(50000);
-
-    ### Should we forgive normally-fatal errors?
-    $parser->ignore_errors(1);
-    $self->{'MIMEObj'} = eval { $parser->parse_data($content) };
-    my $error = ( $@ || $parser->last_error );
-
-    if ($error) {
-        $RT::Logger->error("$error");
-        return ( 0, $error );
-    }
-
-    # Unfold all headers
-    $self->{'MIMEObj'}->head->unfold();
-
-    return ( 1, $self->loc("Template parsed") );
-
-}
-
-# }}}
-
-# {{{ sub _ParseContent
-
-# Perform Template substitutions on the template
-
-sub _ParseContent {
-    my $self = shift;
-    my %args = (
-        Argument       => undef,
-        TicketObj      => undef,
-        TransactionObj => undef,
-        @_
-    );
-
-    no warnings 'redefine';
-    $T::Ticket      = $args{'TicketObj'};
-    $T::Transaction = $args{'TransactionObj'};
-    $T::Argument    = $args{'Argument'};
-    $T::Requestor   = eval { $T::Ticket->Requestors->UserMembersObj->First->Name };
-    $T::rtname      = $RT::rtname;
-    *T::loc         = sub { $T::Ticket->loc(@_) };
-
-    # We need to untaint the content of the template, since we'll be working
-    # with it
-    my $content = $self->Content();
-    $content =~ s/^(.*)$/$1/;
-    my $template = Text::Template->new(
-        TYPE   => 'STRING',
-        SOURCE => $content
-    );
-
-    my $is_broken = 0;
-    my $retval = $template->fill_in( PACKAGE => 'T', BROKEN => sub {
-        my (%args) = @_;
-        $RT::Logger->error("Template parsing error: $args{error}")
-           unless $args{error} =~ /^Died at /; # ignore intentional die()
-        $is_broken++;
-       return undef;
-    } );
-    return undef if $is_broken;
-
-    # MIME::Parser has problems dealing with high-bit utf8 data.
-    Encode::_utf8_off($retval);
-    return ($retval);
-}
-
-# }}}
-
-# {{{ sub CurrentUserHasQueueRight
-
-=head2 CurrentUserHasQueueRight
-
-Helper function to call the template's queue's CurrentUserHasQueueRight with the passed in args.
-
-=cut
-
-sub CurrentUserHasQueueRight {
-    my $self = shift;
-    return ( $self->QueueObj->CurrentUserHasRight(@_) );
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/RT/Templates.pm b/rt/lib/RT/Templates.pm
deleted file mode 100755 (executable)
index 6271b97..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Templates -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Templates
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Templates;
-
-use RT::SearchBuilder;
-use RT::Template;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Templates';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Template item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Template->new($self->CurrentUser));
-}
-
-        eval "require RT::Templates_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Templates_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Templates_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Templates_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Templates_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Templates_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Templates_Overlay, RT::Templates_Vendor, RT::Templates_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Templates_Overlay.pm b/rt/lib/RT/Templates_Overlay.pm
deleted file mode 100644 (file)
index f5e8ce5..0000000
+++ /dev/null
@@ -1,202 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Templates - a collection of RT Template objects
-
-=head1 SYNOPSIS
-
-  use RT::Templates;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok (require RT::Templates);
-
-=end testing
-
-=cut
-
-
-package RT::Templates;
-
-use strict;
-no warnings qw(redefine);
-
-
-# {{{ sub _Init
-
-=head2 _Init
-
-  Returns RT::Templates specific init info like table and primary key names
-
-=cut
-
-sub _Init {
-    
-    my $self = shift;
-    $self->{'table'} = "Templates";
-    $self->{'primary_key'} = "id";
-    return ($self->SUPER::_Init(@_));
-}
-# }}}
-
-# {{{ LimitToNotInQueue
-
-=head2 LimitToNotInQueue
-
-Takes a queue id # and limits the returned set of templates to those which 
-aren't that queue's templates.
-
-=cut
-
-sub LimitToNotInQueue {
-    my $self = shift;
-    my $queue_id = shift;
-    $self->Limit(FIELD => 'Queue',
-                 VALUE => "$queue_id",
-                 OPERATOR => '!='
-                );
-}
-# }}}
-
-# {{{ LimitToGlobal
-
-=head2 LimitToGlobal
-
-Takes no arguments. Limits the returned set to "Global" templates
-which can be used with any queue.
-
-=cut
-
-sub LimitToGlobal {
-    my $self = shift;
-    my $queue_id = shift;
-    $self->Limit(FIELD => 'Queue',
-                 VALUE => "0",
-                 OPERATOR => '='
-                );
-}
-# }}}
-
-# {{{ LimitToQueue
-
-=head2 LimitToQueue
-
-Takes a queue id # and limits the returned set of templates to that queue's
-templates
-
-=cut
-
-sub LimitToQueue {
-    my $self = shift;
-    my $queue_id = shift;
-    $self->Limit(FIELD => 'Queue',
-                 VALUE => "$queue_id",
-                 OPERATOR => '='
-                );
-}
-# }}}
-
-# {{{ sub NewItem 
-
-=head2 NewItem
-
-Returns a new empty Template object
-
-=cut
-
-sub NewItem  {
-  my $self = shift;
-
-  use RT::Template;
-  my $item = new RT::Template($self->CurrentUser);
-  return($item);
-}
-# }}}
-
-# {{{ sub Next 
-
-=head2 Next
-
-Returns the next template that this user can see.
-
-=cut
-  
-sub Next {
-    my $self = shift;
-    
-    
-    my $templ = $self->SUPER::Next();
-    if ((defined($templ)) and (ref($templ))) {
-        
-        # If it's part of a queue, and the user can read templates in
-        # that queue, or the user can globally read templates, show it
-        if ($templ->Queue && $templ->CurrentUserHasQueueRight('ShowTemplate') or
-            $templ->CurrentUser->HasRight(Object => $RT::System, Right => 'ShowTemplate')) {
-           return($templ);
-       }
-       
-       #If the user doesn't have the right to show this template
-       else {  
-           return($self->Next());
-       }
-    }
-    #if there never was any template
-    else {
-       return(undef);
-    }  
-    
-}
-# }}}
-
-1;
-
diff --git a/rt/lib/RT/Ticket.pm b/rt/lib/RT/Ticket.pm
deleted file mode 100755 (executable)
index 905ae8f..0000000
+++ /dev/null
@@ -1,684 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Ticket
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Ticket;
-use RT::Record; 
-use RT::Queue;
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Tickets');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  int(11) 'EffectiveId'.
-  int(11) 'Queue'.
-  varchar(16) 'Type'.
-  int(11) 'IssueStatement'.
-  int(11) 'Resolution'.
-  int(11) 'Owner'.
-  varchar(200) 'Subject' defaults to '[no subject]'.
-  int(11) 'InitialPriority'.
-  int(11) 'FinalPriority'.
-  int(11) 'Priority'.
-  int(11) 'TimeEstimated'.
-  int(11) 'TimeWorked'.
-  varchar(10) 'Status'.
-  int(11) 'TimeLeft'.
-  datetime 'Told'.
-  datetime 'Starts'.
-  datetime 'Started'.
-  datetime 'Due'.
-  datetime 'Resolved'.
-  smallint(6) 'Disabled'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                EffectiveId => '0',
-                Queue => '0',
-                Type => '',
-                IssueStatement => '0',
-                Resolution => '0',
-                Owner => '0',
-                Subject => '[no subject]',
-                InitialPriority => '0',
-                FinalPriority => '0',
-                Priority => '0',
-                TimeEstimated => '0',
-                TimeWorked => '0',
-                Status => '',
-                TimeLeft => '0',
-                Told => '',
-                Starts => '',
-                Started => '',
-                Due => '',
-                Resolved => '',
-                Disabled => '0',
-
-                 @_);
-    $self->SUPER::Create(
-                         EffectiveId => $args{'EffectiveId'},
-                         Queue => $args{'Queue'},
-                         Type => $args{'Type'},
-                         IssueStatement => $args{'IssueStatement'},
-                         Resolution => $args{'Resolution'},
-                         Owner => $args{'Owner'},
-                         Subject => $args{'Subject'},
-                         InitialPriority => $args{'InitialPriority'},
-                         FinalPriority => $args{'FinalPriority'},
-                         Priority => $args{'Priority'},
-                         TimeEstimated => $args{'TimeEstimated'},
-                         TimeWorked => $args{'TimeWorked'},
-                         Status => $args{'Status'},
-                         TimeLeft => $args{'TimeLeft'},
-                         Told => $args{'Told'},
-                         Starts => $args{'Starts'},
-                         Started => $args{'Started'},
-                         Due => $args{'Due'},
-                         Resolved => $args{'Resolved'},
-                         Disabled => $args{'Disabled'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 EffectiveId
-
-Returns the current value of EffectiveId. 
-(In the database, EffectiveId is stored as int(11).)
-
-
-
-=head2 SetEffectiveId VALUE
-
-
-Set EffectiveId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, EffectiveId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Queue
-
-Returns the current value of Queue. 
-(In the database, Queue is stored as int(11).)
-
-
-
-=head2 SetQueue VALUE
-
-
-Set Queue to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Queue will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 QueueObj
-
-Returns the Queue Object which has the id returned by Queue
-
-
-=cut
-
-sub QueueObj {
-       my $self = shift;
-       my $Queue =  RT::Queue->new($self->CurrentUser);
-       $Queue->Load($self->__Value('Queue'));
-       return($Queue);
-}
-
-=head2 Type
-
-Returns the current value of Type. 
-(In the database, Type is stored as varchar(16).)
-
-
-
-=head2 SetType VALUE
-
-
-Set Type to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Type will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 IssueStatement
-
-Returns the current value of IssueStatement. 
-(In the database, IssueStatement is stored as int(11).)
-
-
-
-=head2 SetIssueStatement VALUE
-
-
-Set IssueStatement to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, IssueStatement will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Resolution
-
-Returns the current value of Resolution. 
-(In the database, Resolution is stored as int(11).)
-
-
-
-=head2 SetResolution VALUE
-
-
-Set Resolution to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Resolution will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Owner
-
-Returns the current value of Owner. 
-(In the database, Owner is stored as int(11).)
-
-
-
-=head2 SetOwner VALUE
-
-
-Set Owner to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Owner will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Subject
-
-Returns the current value of Subject. 
-(In the database, Subject is stored as varchar(200).)
-
-
-
-=head2 SetSubject VALUE
-
-
-Set Subject to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Subject will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 InitialPriority
-
-Returns the current value of InitialPriority. 
-(In the database, InitialPriority is stored as int(11).)
-
-
-
-=head2 SetInitialPriority VALUE
-
-
-Set InitialPriority to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, InitialPriority will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 FinalPriority
-
-Returns the current value of FinalPriority. 
-(In the database, FinalPriority is stored as int(11).)
-
-
-
-=head2 SetFinalPriority VALUE
-
-
-Set FinalPriority to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, FinalPriority will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Priority
-
-Returns the current value of Priority. 
-(In the database, Priority is stored as int(11).)
-
-
-
-=head2 SetPriority VALUE
-
-
-Set Priority to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Priority will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 TimeEstimated
-
-Returns the current value of TimeEstimated. 
-(In the database, TimeEstimated is stored as int(11).)
-
-
-
-=head2 SetTimeEstimated VALUE
-
-
-Set TimeEstimated to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, TimeEstimated will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 TimeWorked
-
-Returns the current value of TimeWorked. 
-(In the database, TimeWorked is stored as int(11).)
-
-
-
-=head2 SetTimeWorked VALUE
-
-
-Set TimeWorked to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, TimeWorked will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Status
-
-Returns the current value of Status. 
-(In the database, Status is stored as varchar(10).)
-
-
-
-=head2 SetStatus VALUE
-
-
-Set Status to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Status will be stored as a varchar(10).)
-
-
-=cut
-
-
-=head2 TimeLeft
-
-Returns the current value of TimeLeft. 
-(In the database, TimeLeft is stored as int(11).)
-
-
-
-=head2 SetTimeLeft VALUE
-
-
-Set TimeLeft to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, TimeLeft will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Told
-
-Returns the current value of Told. 
-(In the database, Told is stored as datetime.)
-
-
-
-=head2 SetTold VALUE
-
-
-Set Told to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Told will be stored as a datetime.)
-
-
-=cut
-
-
-=head2 Starts
-
-Returns the current value of Starts. 
-(In the database, Starts is stored as datetime.)
-
-
-
-=head2 SetStarts VALUE
-
-
-Set Starts to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Starts will be stored as a datetime.)
-
-
-=cut
-
-
-=head2 Started
-
-Returns the current value of Started. 
-(In the database, Started is stored as datetime.)
-
-
-
-=head2 SetStarted VALUE
-
-
-Set Started to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Started will be stored as a datetime.)
-
-
-=cut
-
-
-=head2 Due
-
-Returns the current value of Due. 
-(In the database, Due is stored as datetime.)
-
-
-
-=head2 SetDue VALUE
-
-
-Set Due to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Due will be stored as a datetime.)
-
-
-=cut
-
-
-=head2 Resolved
-
-Returns the current value of Resolved. 
-(In the database, Resolved is stored as datetime.)
-
-
-
-=head2 SetResolved VALUE
-
-
-Set Resolved to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Resolved will be stored as a datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 Disabled
-
-Returns the current value of Disabled. 
-(In the database, Disabled is stored as smallint(6).)
-
-
-
-=head2 SetDisabled VALUE
-
-
-Set Disabled to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Disabled will be stored as a smallint(6).)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        EffectiveId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Queue => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Type => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        IssueStatement => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Resolution => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Owner => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Subject => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => '[no subject]'},
-        InitialPriority => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        FinalPriority => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Priority => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        TimeEstimated => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        TimeWorked => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Status => 
-               {read => 1, write => 1, sql_type => 12, length => 10,  is_blob => 0,  is_numeric => 0,  type => 'varchar(10)', default => ''},
-        TimeLeft => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Told => 
-               {read => 1, write => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Starts => 
-               {read => 1, write => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Started => 
-               {read => 1, write => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Due => 
-               {read => 1, write => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Resolved => 
-               {read => 1, write => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        Disabled => 
-               {read => 1, write => 1, sql_type => 5, length => 6,  is_blob => 0,  is_numeric => 1,  type => 'smallint(6)', default => '0'},
-
- }
-};
-
-
-        eval "require RT::Ticket_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Ticket_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Ticket_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Ticket_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Ticket_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Ticket_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Ticket_Overlay, RT::Ticket_Vendor, RT::Ticket_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Ticket_Overlay.pm b/rt/lib/RT/Ticket_Overlay.pm
deleted file mode 100644 (file)
index d04ecec..0000000
+++ /dev/null
@@ -1,3740 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# {{{ Front Material 
-
-=head1 SYNOPSIS
-
-  use RT::Ticket;
-  my $ticket = new RT::Ticket($CurrentUser);
-  $ticket->Load($ticket_id);
-
-=head1 DESCRIPTION
-
-This module lets you manipulate RT\'s ticket object.
-
-
-=head1 METHODS
-
-=begin testing
-
-use_ok ( RT::Queue);
-ok(my $testqueue = RT::Queue->new($RT::SystemUser));
-ok($testqueue->Create( Name => 'ticket tests'));
-ok($testqueue->Id != 0);
-use_ok(RT::CustomField);
-ok(my $testcf = RT::CustomField->new($RT::SystemUser));
-my ($ret, $cmsg) = $testcf->Create( Name => 'selectmulti',
-                    Queue => $testqueue->id,
-                               Type => 'SelectMultiple');
-ok($ret,"Created the custom field - ".$cmsg);
-($ret,$cmsg) = $testcf->AddValue ( Name => 'Value1',
-                        SortOrder => '1',
-                        Description => 'A testing value');
-
-ok($ret, "Added a value - ".$cmsg);
-
-ok($testcf->AddValue ( Name => 'Value2',
-                        SortOrder => '2',
-                        Description => 'Another testing value'));
-ok($testcf->AddValue ( Name => 'Value3',
-                        SortOrder => '3',
-                        Description => 'Yet Another testing value'));
-                       
-ok($testcf->Values->Count == 3);
-
-use_ok(RT::Ticket);
-
-my $u = RT::User->new($RT::SystemUser);
-$u->Load("root");
-ok ($u->Id, "Found the root user");
-ok(my $t = RT::Ticket->new($RT::SystemUser));
-ok(my ($id, $msg) = $t->Create( Queue => $testqueue->Id,
-               Subject => 'Testing',
-               Owner => $u->Id
-              ));
-ok($id != 0);
-ok ($t->OwnerObj->Id == $u->Id, "Root is the ticket owner");
-ok(my ($cfv, $cfm) =$t->AddCustomFieldValue(Field => $testcf->Id,
-                           Value => 'Value1'));
-ok($cfv != 0, "Custom field creation didn't return an error: $cfm");
-ok($t->CustomFieldValues($testcf->Id)->Count == 1);
-ok($t->CustomFieldValues($testcf->Id)->First &&
-    $t->CustomFieldValues($testcf->Id)->First->Content eq 'Value1');;
-
-ok(my ($cfdv, $cfdm) = $t->DeleteCustomFieldValue(Field => $testcf->Id,
-                        Value => 'Value1'));
-ok ($cfdv != 0, "Deleted a custom field value: $cfdm");
-ok($t->CustomFieldValues($testcf->Id)->Count == 0);
-
-ok(my $t2 = RT::Ticket->new($RT::SystemUser));
-ok($t2->Load($id));
-is($t2->Subject, 'Testing');
-is($t2->QueueObj->Id, $testqueue->id);
-ok($t2->OwnerObj->Id == $u->Id);
-
-my $t3 = RT::Ticket->new($RT::SystemUser);
-my ($id3, $msg3) = $t3->Create( Queue => $testqueue->Id,
-                                Subject => 'Testing',
-                                Owner => $u->Id);
-my ($cfv1, $cfm1) = $t->AddCustomFieldValue(Field => $testcf->Id,
- Value => 'Value1');
-ok($cfv1 != 0, "Adding a custom field to ticket 1 is successful: $cfm");
-my ($cfv2, $cfm2) = $t3->AddCustomFieldValue(Field => $testcf->Id,
- Value => 'Value2');
-ok($cfv2 != 0, "Adding a custom field to ticket 2 is successful: $cfm");
-my ($cfv3, $cfm3) = $t->AddCustomFieldValue(Field => $testcf->Id,
- Value => 'Value3');
-ok($cfv3 != 0, "Adding a custom field to ticket 1 is successful: $cfm");
-ok($t->CustomFieldValues($testcf->Id)->Count == 2,
-   "This ticket has 2 custom field values");
-ok($t3->CustomFieldValues($testcf->Id)->Count == 1,
-   "This ticket has 1 custom field value");
-
-=end testing
-
-=cut
-
-
-package RT::Ticket;
-
-use strict;
-no warnings qw(redefine);
-
-use RT::Queue;
-use RT::User;
-use RT::Record;
-use RT::Links;
-use RT::Date;
-use RT::CustomFields;
-use RT::Tickets;
-use RT::Transactions;
-use RT::URI::fsck_com_rt;
-use RT::URI;
-use MIME::Entity;
-
-=begin testing
-
-
-ok(require RT::Ticket, "Loading the RT::Ticket library");
-
-=end testing
-
-=cut
-
-# }}}
-
-# {{{ LINKTYPEMAP
-# A helper table for links mapping to make it easier
-# to build and parse links between tickets
-
-use vars '%LINKTYPEMAP';
-
-%LINKTYPEMAP = (
-    MemberOf => { Type => 'MemberOf',
-                  Mode => 'Target', },
-    Parents => { Type => 'MemberOf',
-                Mode => 'Target', },
-    Members => { Type => 'MemberOf',
-                 Mode => 'Base', },
-    Children => { Type => 'MemberOf',
-                 Mode => 'Base', },
-    HasMember => { Type => 'MemberOf',
-                   Mode => 'Base', },
-    RefersTo => { Type => 'RefersTo',
-                  Mode => 'Target', },
-    ReferredToBy => { Type => 'RefersTo',
-                      Mode => 'Base', },
-    DependsOn => { Type => 'DependsOn',
-                   Mode => 'Target', },
-    DependedOnBy => { Type => 'DependsOn',
-                      Mode => 'Base', },
-    MergedInto => { Type => 'MergedInto',
-                   Mode => 'Target', },
-
-);
-
-# }}}
-
-# {{{ LINKDIRMAP
-# A helper table for links mapping to make it easier
-# to build and parse links between tickets
-
-use vars '%LINKDIRMAP';
-
-%LINKDIRMAP = (
-    MemberOf => { Base => 'MemberOf',
-                  Target => 'HasMember', },
-    RefersTo => { Base => 'RefersTo',
-                Target => 'ReferredToBy', },
-    DependsOn => { Base => 'DependsOn',
-                   Target => 'DependedOnBy', },
-    MergedInto => { Base => 'MergedInto',
-                   Target => 'MergedInto', },
-
-);
-
-# }}}
-
-sub LINKTYPEMAP   { return \%LINKTYPEMAP   }
-sub LINKDIRMAP   { return \%LINKDIRMAP   }
-
-# {{{ sub Load
-
-=head2 Load
-
-Takes a single argument. This can be a ticket id, ticket alias or 
-local ticket uri.  If the ticket can't be loaded, returns undef.
-Otherwise, returns the ticket id.
-
-=cut
-
-sub Load {
-    my $self = shift;
-    my $id   = shift;
-
-    #TODO modify this routine to look at EffectiveId and do the recursive load
-    # thing. be careful to cache all the interim tickets we try so we don't loop forever.
-
-
-    #If it's a local URI, turn it into a ticket id
-    if ( $id =~ /^$RT::TicketBaseURI(\d+)$/ ) {
-        $id = $1;
-    }
-
-    #If it's a remote URI, we're going to punt for now
-    elsif ( $id =~ '://' ) {
-        return (undef);
-    }
-
-    #If we have an integer URI, load the ticket
-    if ( $id =~ /^\d+$/ ) {
-        my ($ticketid,$msg) = $self->LoadById($id);
-
-        unless ($self->Id) {
-            $RT::Logger->crit("$self tried to load a bogus ticket: $id\n");
-            return (undef);
-        }
-    }
-
-    #It's not a URI. It's not a numerical ticket ID. Punt!
-    else {
-        $RT::Logger->warning("Tried to load a bogus ticket id: '$id'");
-        return (undef);
-    }
-
-    #If we're merged, resolve the merge.
-    if ( ( $self->EffectiveId ) and ( $self->EffectiveId != $self->Id ) ) {
-        $RT::Logger->debug ("We found a merged ticket.". $self->id ."/".$self->EffectiveId);
-        return ( $self->Load( $self->EffectiveId ) );
-    }
-
-    #Ok. we're loaded. lets get outa here.
-    return ( $self->Id );
-
-}
-
-# }}}
-
-# {{{ sub LoadByURI
-
-=head2 LoadByURI
-
-Given a local ticket URI, loads the specified ticket.
-
-=cut
-
-sub LoadByURI {
-    my $self = shift;
-    my $uri  = shift;
-
-    if ( $uri =~ /^$RT::TicketBaseURI(\d+)$/ ) {
-        my $id = $1;
-        return ( $self->Load($id) );
-    }
-    else {
-        return (undef);
-    }
-}
-
-# }}}
-
-# {{{ sub Create
-
-=head2 Create (ARGS)
-
-Arguments: ARGS is a hash of named parameters.  Valid parameters are:
-
-  id 
-  Queue  - Either a Queue object or a Queue Name
-  Requestor -  A reference to a list of  email addresses or RT user Names
-  Cc  - A reference to a list of  email addresses or Names
-  AdminCc  - A reference to a  list of  email addresses or Names
-  Type -- The ticket\'s type. ignore this for now
-  Owner -- This ticket\'s owner. either an RT::User object or this user\'s id
-  Subject -- A string describing the subject of the ticket
-  Priority -- an integer from 0 to 99
-  InitialPriority -- an integer from 0 to 99
-  FinalPriority -- an integer from 0 to 99
-  Status -- any valid status (Defined in RT::Queue)
-  TimeEstimated -- an integer. estimated time for this task in minutes
-  TimeWorked -- an integer. time worked so far in minutes
-  TimeLeft -- an integer. time remaining in minutes
-  Starts -- an ISO date describing the ticket\'s start date and time in GMT
-  Due -- an ISO date describing the ticket\'s due date and time in GMT
-  MIMEObj -- a MIME::Entity object with the content of the initial ticket request.
-  CustomField-<n> -- a scalar or array of values for the customfield with the id <n>
-
-
-Returns: TICKETID, Transaction Object, Error Message
-
-
-=begin testing
-
-my $t = RT::Ticket->new($RT::SystemUser);
-
-ok( $t->Create(Queue => 'General', Due => '2002-05-21 00:00:00', ReferredToBy => 'http://www.cpan.org', RefersTo => 'http://fsck.com', Subject => 'This is a subject'), "Ticket Created");
-
-ok ( my $id = $t->Id, "Got ticket id");
-ok ($t->RefersTo->First->Target =~ /fsck.com/, "Got refers to");
-ok ($t->ReferredToBy->First->Base =~ /cpan.org/, "Got referredtoby");
-ok ($t->ResolvedObj->Unix == -1, "It hasn't been resolved - ". $t->ResolvedObj->Unix);
-
-=end testing
-
-=cut
-
-sub Create {
-    my $self = shift;
-
-    my %args = (
-        id                 => undef,
-        EffectiveId        => undef,
-        Queue              => undef,
-        Requestor          => undef,
-        Cc                 => undef,
-        AdminCc            => undef,
-        Type               => 'ticket',
-        Owner              => undef,
-        Subject            => '',
-        InitialPriority    => undef,
-        FinalPriority      => undef,
-        Priority           => undef,
-        Status             => 'new',
-        TimeWorked         => "0",
-        TimeLeft           => 0,
-        TimeEstimated      => 0,
-        Due                => undef,
-        Starts             => undef,
-        Started            => undef,
-        Resolved           => undef,
-        MIMEObj            => undef,
-        _RecordTransaction => 1,
-        @_
-    );
-
-    my ( $ErrStr, $Owner, $resolved );
-    my (@non_fatal_errors);
-
-    my $QueueObj = RT::Queue->new($RT::SystemUser);
-
-    if ( ( defined( $args{'Queue'} ) ) && ( !ref( $args{'Queue'} ) ) ) {
-        $QueueObj->Load( $args{'Queue'} );
-    }
-    elsif ( ref( $args{'Queue'} ) eq 'RT::Queue' ) {
-        $QueueObj->Load( $args{'Queue'}->Id );
-    }
-    else {
-        $RT::Logger->debug( $args{'Queue'} . " not a recognised queue object." );
-    }
-
-    #Can't create a ticket without a queue.
-    unless ( defined($QueueObj) && $QueueObj->Id ) {
-        $RT::Logger->debug("$self No queue given for ticket creation.");
-        return ( 0, 0, $self->loc('Could not create ticket. Queue not set') );
-    }
-
-    #Now that we have a queue, Check the ACLS
-    unless (
-        $self->CurrentUser->HasRight(
-            Right  => 'CreateTicket',
-            Object => $QueueObj
-        )
-      )
-    {
-        return (
-            0, 0,
-            $self->loc( "No permission to create tickets in the queue '[_1]'", $QueueObj->Name));
-    }
-
-    unless ( $QueueObj->IsValidStatus( $args{'Status'} ) ) {
-        return ( 0, 0, $self->loc('Invalid value for status') );
-    }
-
-    #Since we have a queue, we can set queue defaults
-    #Initial Priority
-
-    # If there's no queue default initial priority and it's not set, set it to 0
-    $args{'InitialPriority'} = ( $QueueObj->InitialPriority || 0 )
-      unless ( $args{'InitialPriority'} );
-
-    #Final priority
-
-    # If there's no queue default final priority and it's not set, set it to 0
-    $args{'FinalPriority'} = ( $QueueObj->FinalPriority || 0 )
-      unless ( $args{'FinalPriority'} );
-
-    # Priority may have changed from InitialPriority, for the case
-    # where we're importing tickets (eg, from an older RT version.)
-    my $priority = $args{'Priority'} || $args{'InitialPriority'};
-
-    # {{{ Dates
-    #TODO we should see what sort of due date we're getting, rather +
-    # than assuming it's in ISO format.
-
-    #Set the due date. if we didn't get fed one, use the queue default due in
-    my $Due = new RT::Date( $self->CurrentUser );
-
-    if ( $args{'Due'} ) {
-        $Due->Set( Format => 'ISO', Value => $args{'Due'} );
-    }
-    elsif ( $QueueObj->DefaultDueIn ) {
-        $Due->SetToNow;
-        $Due->AddDays( $QueueObj->DefaultDueIn );
-    }
-
-    my $Starts = new RT::Date( $self->CurrentUser );
-    if ( defined $args{'Starts'} ) {
-        $Starts->Set( Format => 'ISO', Value => $args{'Starts'} );
-    }
-
-    my $Started = new RT::Date( $self->CurrentUser );
-    if ( defined $args{'Started'} ) {
-        $Started->Set( Format => 'ISO', Value => $args{'Started'} );
-    }
-
-    my $Resolved = new RT::Date( $self->CurrentUser );
-    if ( defined $args{'Resolved'} ) {
-        $Resolved->Set( Format => 'ISO', Value => $args{'Resolved'} );
-    }
-
-    #If the status is an inactive status, set the resolved date
-    if ( $QueueObj->IsInactiveStatus( $args{'Status'} ) && !$args{'Resolved'} )
-    {
-        $RT::Logger->debug( "Got a "
-              . $args{'Status'}
-              . "ticket with a resolved of "
-              . $args{'Resolved'} );
-        $Resolved->SetToNow;
-    }
-
-    # }}}
-
-    # {{{ Dealing with time fields
-
-    $args{'TimeEstimated'} = 0 unless defined $args{'TimeEstimated'};
-    $args{'TimeWorked'}    = 0 unless defined $args{'TimeWorked'};
-    $args{'TimeLeft'}      = 0 unless defined $args{'TimeLeft'};
-
-    # }}}
-
-    # {{{ Deal with setting the owner
-
-    if ( ref( $args{'Owner'} ) eq 'RT::User' ) {
-        $Owner = $args{'Owner'};
-    }
-
-    #If we've been handed something else, try to load the user.
-    elsif ( $args{'Owner'} ) {
-        $Owner = RT::User->new( $self->CurrentUser );
-        $Owner->Load( $args{'Owner'} );
-
-        push( @non_fatal_errors,
-                $self->loc("Owner could not be set.") . " "
-              . $self->loc( "User '[_1]' could not be found.", $args{'Owner'} )
-          )
-          unless ( $Owner->Id );
-    }
-
-    #If we have a proposed owner and they don't have the right
-    #to own a ticket, scream about it and make them not the owner
-    if (
-            ( defined($Owner) )
-        and ( $Owner->Id )
-        and ( $Owner->Id != $RT::Nobody->Id )
-        and (
-            !$Owner->HasRight(
-                Object => $QueueObj,
-                Right  => 'OwnTicket'
-            )
-        )
-      )
-    {
-
-        $RT::Logger->warning( "User "
-              . $Owner->Name . "("
-              . $Owner->id
-              . ") was proposed "
-              . "as a ticket owner but has no rights to own "
-              . "tickets in "
-              . $QueueObj->Name );
-
-        push @non_fatal_errors,
-          $self->loc( "Owner '[_1]' does not have rights to own this ticket.",
-            $Owner->Name
-          );
-
-        $Owner = undef;
-    }
-
-    #If we haven't been handed a valid owner, make it nobody.
-    unless ( defined($Owner) && $Owner->Id ) {
-        $Owner = new RT::User( $self->CurrentUser );
-        $Owner->Load( $RT::Nobody->Id );
-    }
-
-    # }}}
-
-# We attempt to load or create each of the people who might have a role for this ticket
-# _outside_ the transaction, so we don't get into ticket creation races
-    foreach my $type ( "Cc", "AdminCc", "Requestor" ) {
-        next unless ( defined $args{$type} );
-        foreach my $watcher (
-            ref( $args{$type} ) ? @{ $args{$type} } : ( $args{$type} ) )
-        {
-            my $user = RT::User->new($RT::SystemUser);
-            $user->LoadOrCreateByEmail($watcher)
-              if ( $watcher && $watcher !~ /^\d+$/ );
-        }
-    }
-
-    $RT::Handle->BeginTransaction();
-
-    my %params = (
-        Queue           => $QueueObj->Id,
-        Owner           => $Owner->Id,
-        Subject         => $args{'Subject'},
-        InitialPriority => $args{'InitialPriority'},
-        FinalPriority   => $args{'FinalPriority'},
-        Priority        => $priority,
-        Status          => $args{'Status'},
-        TimeWorked      => $args{'TimeWorked'},
-        TimeEstimated   => $args{'TimeEstimated'},
-        TimeLeft        => $args{'TimeLeft'},
-        Type            => $args{'Type'},
-        Starts          => $Starts->ISO,
-        Started         => $Started->ISO,
-        Resolved        => $Resolved->ISO,
-        Due             => $Due->ISO
-    );
-
-# Parameters passed in during an import that we probably don't want to touch, otherwise
-    foreach my $attr qw(id Creator Created LastUpdated LastUpdatedBy) {
-        $params{$attr} = $args{$attr} if ( $args{$attr} );
-    }
-
-    # Delete null integer parameters
-    foreach my $attr
-      qw(TimeWorked TimeLeft TimeEstimated InitialPriority FinalPriority) {
-        delete $params{$attr}
-          unless ( exists $params{$attr} && $params{$attr} );
-    }
-
-    # Delete the time worked if we're counting it in the transaction
-    delete $params{TimeWorked} if $args{'_RecordTransaction'};
-    
-    my ($id,$ticket_message) = $self->SUPER::Create( %params);
-    unless ($id) {
-        $RT::Logger->crit( "Couldn't create a ticket: " . $ticket_message );
-        $RT::Handle->Rollback();
-        return ( 0, 0,
-            $self->loc("Ticket could not be created due to an internal error")
-        );
-    }
-
-    #Set the ticket's effective ID now that we've created it.
-    my ( $val, $msg ) = $self->__Set(
-        Field => 'EffectiveId',
-        Value => ( $args{'EffectiveId'} || $id )
-    );
-
-    unless ($val) {
-        $RT::Logger->crit("$self ->Create couldn't set EffectiveId: $msg\n");
-        $RT::Handle->Rollback();
-        return ( 0, 0,
-            $self->loc("Ticket could not be created due to an internal error")
-        );
-    }
-
-    my $create_groups_ret = $self->_CreateTicketGroups();
-    unless ($create_groups_ret) {
-        $RT::Logger->crit( "Couldn't create ticket groups for ticket "
-              . $self->Id
-              . ". aborting Ticket creation." );
-        $RT::Handle->Rollback();
-        return ( 0, 0,
-            $self->loc("Ticket could not be created due to an internal error")
-        );
-    }
-
-# Set the owner in the Groups table
-# We denormalize it into the Ticket table too because doing otherwise would
-# kill performance, bigtime. It gets kept in lockstep thanks to the magic of transactionalization
-
-    $self->OwnerGroup->_AddMember(
-        PrincipalId       => $Owner->PrincipalId,
-        InsideTransaction => 1
-    );
-
-    # {{{ Deal with setting up watchers
-
-    foreach my $type ( "Cc", "AdminCc", "Requestor" ) {
-        next unless ( defined $args{$type} );
-        foreach my $watcher (
-            ref( $args{$type} ) ? @{ $args{$type} } : ( $args{$type} ) )
-        {
-
-            # If there is an empty entry in the list, let's get out of here.
-            next unless $watcher;
-
-            # we reason that all-digits number must be a principal id, not email
-            # this is the only way to can add
-            my $field = 'Email';
-            $field = 'PrincipalId' if $watcher =~ /^\d+$/;
-
-            my ( $wval, $wmsg );
-
-            if ( $type eq 'AdminCc' ) {
-
-        # Note that we're using AddWatcher, rather than _AddWatcher, as we
-        # actually _want_ that ACL check. Otherwise, random ticket creators
-        # could make themselves adminccs and maybe get ticket rights. that would
-        # be poor
-                ( $wval, $wmsg ) = $self->AddWatcher(
-                    Type   => $type,
-                    $field => $watcher,
-                    Silent => 1
-                );
-            }
-            else {
-                ( $wval, $wmsg ) = $self->_AddWatcher(
-                    Type   => $type,
-                    $field => $watcher,
-                    Silent => 1
-                );
-            }
-
-            push @non_fatal_errors, $wmsg unless ($wval);
-        }
-    }
-
-    # }}}
-    # {{{ Deal with setting up links
-
-    foreach my $type ( keys %LINKTYPEMAP ) {
-        next unless ( defined $args{$type} );
-        foreach my $link (
-            ref( $args{$type} ) ? @{ $args{$type} } : ( $args{$type} ) )
-        {
-            my ( $wval, $wmsg ) = $self->_AddLink(
-                Type                          => $LINKTYPEMAP{$type}->{'Type'},
-                $LINKTYPEMAP{$type}->{'Mode'} => $link,
-                Silent                        => 1
-            );
-
-            push @non_fatal_errors, $wmsg unless ($wval);
-        }
-    }
-
-    # }}}
-
-    # {{{ Add all the custom fields
-
-    foreach my $arg ( keys %args ) {
-        next unless ( $arg =~ /^CustomField-(\d+)$/i );
-        my $cfid = $1;
-        foreach
-          my $value ( UNIVERSAL::isa( $args{$arg} => 'ARRAY' ) ? @{ $args{$arg} } : ( $args{$arg} ) )
-        {
-            next unless ( length($value) );
-
-            # Allow passing in uploaded LargeContent etc by hash reference
-            $self->_AddCustomFieldValue(
-                (UNIVERSAL::isa( $value => 'HASH' )
-                    ? %$value
-                    : (Value => $value)
-                ),
-                Field             => $cfid,
-                RecordTransaction => 0,
-            );
-        }
-    }
-
-    # }}}
-
-    if ( $args{'_RecordTransaction'} ) {
-
-        # {{{ Add a transaction for the create
-        my ( $Trans, $Msg, $TransObj ) = $self->_NewTransaction(
-                                                     Type      => "Create",
-                                                     TimeTaken => $args{'TimeWorked'},
-                                                     MIMEObj => $args{'MIMEObj'}
-        );
-
-        if ( $self->Id && $Trans ) {
-
-            $TransObj->UpdateCustomFields(ARGSRef => \%args);
-
-            $RT::Logger->info( "Ticket " . $self->Id . " created in queue '" . $QueueObj->Name . "' by " . $self->CurrentUser->Name );
-            $ErrStr = $self->loc( "Ticket [_1] created in queue '[_2]'", $self->Id, $QueueObj->Name );
-            $ErrStr = join( "\n", $ErrStr, @non_fatal_errors );
-        }
-        else {
-            $RT::Handle->Rollback();
-
-            $ErrStr = join( "\n", $ErrStr, @non_fatal_errors );
-            $RT::Logger->error("Ticket couldn't be created: $ErrStr");
-            return ( 0, 0, $self->loc( "Ticket could not be created due to an internal error"));
-        }
-
-        $RT::Handle->Commit();
-        return ( $self->Id, $TransObj->Id, $ErrStr );
-
-        # }}}
-    }
-    else {
-
-        # Not going to record a transaction
-        $RT::Handle->Commit();
-        $ErrStr = $self->loc( "Ticket [_1] created in queue '[_2]'", $self->Id, $QueueObj->Name );
-        $ErrStr = join( "\n", $ErrStr, @non_fatal_errors );
-        return ( $self->Id, $0, $ErrStr );
-
-    }
-}
-
-
-# }}}
-
-
-# {{{ UpdateFrom822 
-
-=head2 UpdateFrom822 $MESSAGE
-
-Takes an RFC822 format message as a string and uses it to make a bunch of changes to a ticket.
-Returns an um. ask me again when the code exists
-
-
-=begin testing
-
-my $simple_update = <<EOF;
-Subject: target
-AddRequestor: jesse\@example.com
-EOF
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my ($id,$msg) =$ticket->Create(Subject => 'first', Queue => 'general');
-ok($ticket->Id, "Created the test ticket - ".$id ." - ".$msg);
-$ticket->UpdateFrom822($simple_update);
-is($ticket->Subject, 'target', "changed the subject");
-my $jesse = RT::User->new($RT::SystemUser);
-$jesse->LoadByEmail('jesse@example.com');
-ok ($jesse->Id, "There's a user for jesse");
-ok($ticket->Requestors->HasMember( $jesse->PrincipalObj), "It has the jesse principal object as a requestor ");
-
-=end testing
-
-
-=cut
-
-sub UpdateFrom822 {
-        my $self = shift;
-        my $content = shift;
-        my %args = $self->_Parse822HeadersForAttributes($content);
-
-        
-    my %ticketargs = (
-        Queue           => $args{'queue'},
-        Subject         => $args{'subject'},
-        Status          => $args{'status'},
-        Due             => $args{'due'},
-        Starts          => $args{'starts'},
-        Started         => $args{'started'},
-        Resolved        => $args{'resolved'},
-        Owner           => $args{'owner'},
-        Requestor       => $args{'requestor'},
-        Cc              => $args{'cc'},
-        AdminCc         => $args{'admincc'},
-        TimeWorked      => $args{'timeworked'},
-        TimeEstimated   => $args{'timeestimated'},
-        TimeLeft        => $args{'timeleft'},
-        InitialPriority => $args{'initialpriority'},
-        Priority => $args{'priority'},
-        FinalPriority   => $args{'finalpriority'},
-        Type            => $args{'type'},
-        DependsOn       => $args{'dependson'},
-        DependedOnBy    => $args{'dependedonby'},
-        RefersTo        => $args{'refersto'},
-        ReferredToBy    => $args{'referredtoby'},
-        Members         => $args{'members'},
-        MemberOf        => $args{'memberof'},
-        MIMEObj         => $args{'mimeobj'}
-    );
-
-    foreach my $type qw(Requestor Cc Admincc) {
-
-        foreach my $action ( 'Add', 'Del', '' ) {
-
-            my $lctag = lc($action) . lc($type);
-            foreach my $list ( $args{$lctag}, $args{ $lctag . 's' } ) {
-
-                foreach my $entry ( ref($list) ? @{$list} : ($list) ) {
-                    push @{$ticketargs{ $action . $type }} , split ( /\s*,\s*/, $entry );
-                }
-
-            }
-
-            # Todo: if we're given an explicit list, transmute it into a list of adds/deletes
-
-        }
-    }
-
-    # Add custom field entries to %ticketargs.
-    # TODO: allow named custom fields
-    map {
-        /^customfield-(\d+)$/
-          && ( $ticketargs{ "CustomField-" . $1 } = $args{$_} );
-    } keys(%args);
-
-# for each ticket we've been told to update, iterate through the set of
-# rfc822 headers and perform that update to the ticket.
-
-
-    # {{{ Set basic fields 
-    my @attribs = qw(
-      Subject
-      FinalPriority
-      Priority
-      TimeEstimated
-      TimeWorked
-      TimeLeft
-      Status
-      Queue
-      Type
-    );
-
-
-    # Resolve the queue from a name to a numeric id.
-    if ( $ticketargs{'Queue'} and ( $ticketargs{'Queue'} !~ /^(\d+)$/ ) ) {
-        my $tempqueue = RT::Queue->new($RT::SystemUser);
-        $tempqueue->Load( $ticketargs{'Queue'} );
-        $ticketargs{'Queue'} = $tempqueue->Id() if ( $tempqueue->id );
-    }
-
-    my @results;
-
-    foreach my $attribute (@attribs) {
-        my $value = $ticketargs{$attribute};
-
-        if ( $value ne $self->$attribute() ) {
-
-            my $method = "Set$attribute";
-            my ( $code, $msg ) = $self->$method($value);
-
-            push @results, $self->loc($attribute) . ': ' . $msg;
-
-        }
-    }
-
-    # We special case owner changing, so we can use ForceOwnerChange
-    if ( $ticketargs{'Owner'} && ( $self->Owner != $ticketargs{'Owner'} ) ) {
-        my $ChownType = "Give";
-        $ChownType = "Force" if ( $ticketargs{'ForceOwnerChange'} );
-
-        my ( $val, $msg ) = $self->SetOwner( $ticketargs{'Owner'}, $ChownType );
-        push ( @results, $msg );
-    }
-
-    # }}}
-# Deal with setting watchers
-
-
-# Acceptable arguments:
-#  Requestor
-#  Requestors
-#  AddRequestor
-#  AddRequestors
-#  DelRequestor
- foreach my $type qw(Requestor Cc AdminCc) {
-
-        # If we've been given a number of delresses to del, do it.
-                foreach my $address (@{$ticketargs{'Del'.$type}}) {
-                my ($id, $msg) = $self->DeleteWatcher( Type => $type, Email => $address);
-                push (@results, $msg) ;
-                }
-
-        # If we've been given a number of addresses to add, do it.
-                foreach my $address (@{$ticketargs{'Add'.$type}}) {
-                $RT::Logger->debug("Adding $address as a $type");
-                my ($id, $msg) = $self->AddWatcher( Type => $type, Email => $address);
-                push (@results, $msg) ;
-
-        }
-
-
-}
-
-
-}
-# }}}
-
-# {{{ _Parse822HeadersForAttributes Content
-
-=head2 _Parse822HeadersForAttributes Content
-
-Takes an RFC822 style message and parses its attributes into a hash.
-
-=cut
-
-sub _Parse822HeadersForAttributes {
-    my $self    = shift;
-    my $content = shift;
-    my %args;
-
-    my @lines = ( split ( /\n/, $content ) );
-    while ( defined( my $line = shift @lines ) ) {
-        if ( $line =~ /^(.*?):(?:\s+(.*))?$/ ) {
-            my $value = $2;
-            my $tag   = lc($1);
-
-            $tag =~ s/-//g;
-            if ( defined( $args{$tag} ) )
-            {    #if we're about to get a second value, make it an array
-                $args{$tag} = [ $args{$tag} ];
-            }
-            if ( ref( $args{$tag} ) )
-            {    #If it's an array, we want to push the value
-                push @{ $args{$tag} }, $value;
-            }
-            else {    #if there's nothing there, just set the value
-                $args{$tag} = $value;
-            }
-        } elsif ($line =~ /^$/) {
-
-            #TODO: this won't work, since "" isn't of the form "foo:value"
-
-                while ( defined( my $l = shift @lines ) ) {
-                    push @{ $args{'content'} }, $l;
-                }
-            }
-        
-    }
-
-    foreach my $date qw(due starts started resolved) {
-        my $dateobj = RT::Date->new($RT::SystemUser);
-        if ( $args{$date} =~ /^\d+$/ ) {
-            $dateobj->Set( Format => 'unix', Value => $args{$date} );
-        }
-        else {
-            $dateobj->Set( Format => 'unknown', Value => $args{$date} );
-        }
-        $args{$date} = $dateobj->ISO;
-    }
-    $args{'mimeobj'} = MIME::Entity->new();
-    $args{'mimeobj'}->build(
-        Type => ( $args{'contenttype'} || 'text/plain' ),
-        Data => ($args{'content'} || '')
-    );
-
-    return (%args);
-}
-
-# }}}
-
-# {{{ sub Import
-
-=head2 Import PARAMHASH
-
-Import a ticket. 
-Doesn\'t create a transaction. 
-Doesn\'t supply queue defaults, etc.
-
-Returns: TICKETID
-
-=cut
-
-sub Import {
-    my $self = shift;
-    my ( $ErrStr, $QueueObj, $Owner );
-
-    my %args = (
-        id              => undef,
-        EffectiveId     => undef,
-        Queue           => undef,
-        Requestor       => undef,
-        Type            => 'ticket',
-        Owner           => $RT::Nobody->Id,
-        Subject         => '[no subject]',
-        InitialPriority => undef,
-        FinalPriority   => undef,
-        Status          => 'new',
-        TimeWorked      => "0",
-        Due             => undef,
-        Created         => undef,
-        Updated         => undef,
-        Resolved        => undef,
-        Told            => undef,
-        @_
-    );
-
-    if ( ( defined( $args{'Queue'} ) ) && ( !ref( $args{'Queue'} ) ) ) {
-        $QueueObj = RT::Queue->new($RT::SystemUser);
-        $QueueObj->Load( $args{'Queue'} );
-
-        #TODO error check this and return 0 if it\'s not loading properly +++
-    }
-    elsif ( ref( $args{'Queue'} ) eq 'RT::Queue' ) {
-        $QueueObj = RT::Queue->new($RT::SystemUser);
-        $QueueObj->Load( $args{'Queue'}->Id );
-    }
-    else {
-        $RT::Logger->debug(
-            "$self " . $args{'Queue'} . " not a recognised queue object." );
-    }
-
-    #Can't create a ticket without a queue.
-    unless ( defined($QueueObj) and $QueueObj->Id ) {
-        $RT::Logger->debug("$self No queue given for ticket creation.");
-        return ( 0, $self->loc('Could not create ticket. Queue not set') );
-    }
-
-    #Now that we have a queue, Check the ACLS
-    unless (
-        $self->CurrentUser->HasRight(
-            Right    => 'CreateTicket',
-            Object => $QueueObj
-        )
-      )
-    {
-        return ( 0,
-            $self->loc("No permission to create tickets in the queue '[_1]'"
-              , $QueueObj->Name));
-    }
-
-    # {{{ Deal with setting the owner
-
-    # Attempt to take user object, user name or user id.
-    # Assign to nobody if lookup fails.
-    if ( defined( $args{'Owner'} ) ) {
-        if ( ref( $args{'Owner'} ) ) {
-            $Owner = $args{'Owner'};
-        }
-        else {
-            $Owner = new RT::User( $self->CurrentUser );
-            $Owner->Load( $args{'Owner'} );
-            if ( !defined( $Owner->id ) ) {
-                $Owner->Load( $RT::Nobody->id );
-            }
-        }
-    }
-
-    #If we have a proposed owner and they don't have the right 
-    #to own a ticket, scream about it and make them not the owner
-    if (
-        ( defined($Owner) )
-        and ( $Owner->Id != $RT::Nobody->Id )
-        and (
-            !$Owner->HasRight(
-                Object => $QueueObj,
-                Right    => 'OwnTicket'
-            )
-        )
-      )
-    {
-
-        $RT::Logger->warning( "$self user "
-              . $Owner->Name . "("
-              . $Owner->id
-              . ") was proposed "
-              . "as a ticket owner but has no rights to own "
-              . "tickets in '"
-              . $QueueObj->Name . "'\n" );
-
-        $Owner = undef;
-    }
-
-    #If we haven't been handed a valid owner, make it nobody.
-    unless ( defined($Owner) ) {
-        $Owner = new RT::User( $self->CurrentUser );
-        $Owner->Load( $RT::Nobody->UserObj->Id );
-    }
-
-    # }}}
-
-    unless ( $self->ValidateStatus( $args{'Status'} ) ) {
-        return ( 0, $self->loc("'[_1]' is an invalid value for status", $args{'Status'}) );
-    }
-
-    $self->{'_AccessibleCache'}{Created}       = { 'read' => 1, 'write' => 1 };
-    $self->{'_AccessibleCache'}{Creator}       = { 'read' => 1, 'auto'  => 1 };
-    $self->{'_AccessibleCache'}{LastUpdated}   = { 'read' => 1, 'write' => 1 };
-    $self->{'_AccessibleCache'}{LastUpdatedBy} = { 'read' => 1, 'auto'  => 1 };
-
-    # If we're coming in with an id, set that now.
-    my $EffectiveId = undef;
-    if ( $args{'id'} ) {
-        $EffectiveId = $args{'id'};
-
-    }
-
-    my $id = $self->SUPER::Create(
-        id              => $args{'id'},
-        EffectiveId     => $EffectiveId,
-        Queue           => $QueueObj->Id,
-        Owner           => $Owner->Id,
-        Subject         => $args{'Subject'},           # loc
-        InitialPriority => $args{'InitialPriority'},   # loc
-        FinalPriority   => $args{'FinalPriority'},     # loc
-        Priority        => $args{'InitialPriority'},   # loc
-        Status          => $args{'Status'},            # loc
-        TimeWorked      => $args{'TimeWorked'},                # loc
-        Type            => $args{'Type'},              # loc
-        Created         => $args{'Created'},           # loc
-        Told            => $args{'Told'},              # loc
-        LastUpdated     => $args{'Updated'},           # loc
-        Resolved        => $args{'Resolved'},          # loc
-        Due             => $args{'Due'},               # loc
-    );
-
-    # If the ticket didn't have an id
-    # Set the ticket's effective ID now that we've created it.
-    if ( $args{'id'} ) {
-        $self->Load( $args{'id'} );
-    }
-    else {
-        my ( $val, $msg ) =
-          $self->__Set( Field => 'EffectiveId', Value => $id );
-
-        unless ($val) {
-            $RT::Logger->err(
-                $self . "->Import couldn't set EffectiveId: $msg\n" );
-        }
-    }
-
-    my $create_groups_ret = $self->_CreateTicketGroups();
-    unless ($create_groups_ret) {
-        $RT::Logger->crit(
-            "Couldn't create ticket groups for ticket " . $self->Id );
-    }
-
-    $self->OwnerGroup->_AddMember( PrincipalId => $Owner->PrincipalId );
-
-    my $watcher;
-    foreach $watcher ( @{ $args{'Cc'} } ) {
-        $self->_AddWatcher( Type => 'Cc', Email => $watcher, Silent => 1 );
-    }
-    foreach $watcher ( @{ $args{'AdminCc'} } ) {
-        $self->_AddWatcher( Type => 'AdminCc', Email => $watcher,
-            Silent => 1 );
-    }
-    foreach $watcher ( @{ $args{'Requestor'} } ) {
-        $self->_AddWatcher( Type => 'Requestor', Email => $watcher,
-            Silent => 1 );
-    }
-
-    return ( $self->Id, $ErrStr );
-}
-
-# }}}
-
-# {{{ Routines dealing with watchers.
-
-# {{{ _CreateTicketGroups 
-
-=head2 _CreateTicketGroups
-
-Create the ticket groups and links for this ticket. 
-This routine expects to be called from Ticket->Create _inside of a transaction_
-
-It will create four groups for this ticket: Requestor, Cc, AdminCc and Owner.
-
-It will return true on success and undef on failure.
-
-=begin testing
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my ($id, $msg) = $ticket->Create(Subject => "Foo",
-                Owner => $RT::SystemUser->Id,
-                Status => 'open',
-                Requestor => ['jesse@example.com'],
-                Queue => '1'
-                );
-ok ($id, "Ticket $id was created");
-ok(my $group = RT::Group->new($RT::SystemUser));
-ok($group->LoadTicketRoleGroup(Ticket => $id, Type=> 'Requestor'));
-ok ($group->Id, "Found the requestors object for this ticket");
-
-ok(my $jesse = RT::User->new($RT::SystemUser), "Creating a jesse rt::user");
-$jesse->LoadByEmail('jesse@example.com');
-ok($jesse->Id,  "Found the jesse rt user");
-
-
-ok ($ticket->IsWatcher(Type => 'Requestor', PrincipalId => $jesse->PrincipalId), "The ticket actually has jesse at fsck.com as a requestor");
-ok ((my $add_id, $add_msg) = $ticket->AddWatcher(Type => 'Requestor', Email => 'bob@fsck.com'), "Added bob at fsck.com as a requestor");
-ok ($add_id, "Add succeeded: ($add_msg)");
-ok(my $bob = RT::User->new($RT::SystemUser), "Creating a bob rt::user");
-$bob->LoadByEmail('bob@fsck.com');
-ok($bob->Id,  "Found the bob rt user");
-ok ($ticket->IsWatcher(Type => 'Requestor', PrincipalId => $bob->PrincipalId), "The ticket actually has bob at fsck.com as a requestor");;
-ok ((my $add_id, $add_msg) = $ticket->DeleteWatcher(Type =>'Requestor', Email => 'bob@fsck.com'), "Added bob at fsck.com as a requestor");
-ok (!$ticket->IsWatcher(Type => 'Requestor', Principal => $bob->PrincipalId), "The ticket no longer has bob at fsck.com as a requestor");;
-
-
-$group = RT::Group->new($RT::SystemUser);
-ok($group->LoadTicketRoleGroup(Ticket => $id, Type=> 'Cc'));
-ok ($group->Id, "Found the cc object for this ticket");
-$group = RT::Group->new($RT::SystemUser);
-ok($group->LoadTicketRoleGroup(Ticket => $id, Type=> 'AdminCc'));
-ok ($group->Id, "Found the AdminCc object for this ticket");
-$group = RT::Group->new($RT::SystemUser);
-ok($group->LoadTicketRoleGroup(Ticket => $id, Type=> 'Owner'));
-ok ($group->Id, "Found the Owner object for this ticket");
-ok($group->HasMember($RT::SystemUser->UserObj->PrincipalObj), "the owner group has the member 'RT_System'");
-
-=end testing
-
-=cut
-
-
-sub _CreateTicketGroups {
-    my $self = shift;
-    
-    my @types = qw(Requestor Owner Cc AdminCc);
-
-    foreach my $type (@types) {
-        my $type_obj = RT::Group->new($self->CurrentUser);
-        my ($id, $msg) = $type_obj->CreateRoleGroup(Domain => 'RT::Ticket-Role',
-                                                       Instance => $self->Id, 
-                                                       Type => $type);
-        unless ($id) {
-            $RT::Logger->error("Couldn't create a ticket group of type '$type' for ticket ".
-                               $self->Id.": ".$msg);     
-            return(undef);
-        }
-     }
-    return(1);
-    
-}
-
-# }}}
-
-# {{{ sub OwnerGroup
-
-=head2 OwnerGroup
-
-A constructor which returns an RT::Group object containing the owner of this ticket.
-
-=cut
-
-sub OwnerGroup {
-    my $self = shift;
-    my $owner_obj = RT::Group->new($self->CurrentUser);
-    $owner_obj->LoadTicketRoleGroup( Ticket => $self->Id,  Type => 'Owner');
-    return ($owner_obj);
-}
-
-# }}}
-
-
-# {{{ sub AddWatcher
-
-=head2 AddWatcher
-
-AddWatcher takes a parameter hash. The keys are as follows:
-
-Type        One of Requestor, Cc, AdminCc
-
-PrinicpalId The RT::Principal id of the user or group that's being added as a watcher
-
-Email       The email address of the new watcher. If a user with this 
-            email address can't be found, a new nonprivileged user will be created.
-
-If the watcher you\'re trying to set has an RT account, set the Owner paremeter to their User Id. Otherwise, set the Email parameter to their Email address.
-
-=cut
-
-sub AddWatcher {
-    my $self = shift;
-    my %args = (
-        Type  => undef,
-        PrincipalId => undef,
-        Email => undef,
-        @_
-    );
-
-    # {{{ Check ACLS
-    #If the watcher we're trying to add is for the current user
-    if ( $self->CurrentUser->PrincipalId  eq $args{'PrincipalId'}) {
-        #  If it's an AdminCc and they don't have 
-        #   'WatchAsAdminCc' or 'ModifyTicket', bail
-        if ( $args{'Type'} eq 'AdminCc' ) {
-            unless ( $self->CurrentUserHasRight('ModifyTicket')
-                or $self->CurrentUserHasRight('WatchAsAdminCc') ) {
-                return ( 0, $self->loc('Permission Denied'))
-            }
-        }
-
-        #  If it's a Requestor or Cc and they don't have
-        #   'Watch' or 'ModifyTicket', bail
-        elsif ( ( $args{'Type'} eq 'Cc' ) or ( $args{'Type'} eq 'Requestor' ) ) {
-
-            unless ( $self->CurrentUserHasRight('ModifyTicket')
-                or $self->CurrentUserHasRight('Watch') ) {
-                return ( 0, $self->loc('Permission Denied'))
-            }
-        }
-        else {
-            $RT::Logger->warning( "$self -> AddWatcher got passed a bogus type");
-            return ( 0, $self->loc('Error in parameters to Ticket->AddWatcher') );
-        }
-    }
-
-    # If the watcher isn't the current user 
-    # and the current user  doesn't have 'ModifyTicket'
-    # bail
-    else {
-        unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-    }
-
-    # }}}
-
-    return ( $self->_AddWatcher(%args) );
-}
-
-#This contains the meat of AddWatcher. but can be called from a routine like
-# Create, which doesn't need the additional acl check
-sub _AddWatcher {
-    my $self = shift;
-    my %args = (
-        Type   => undef,
-        Silent => undef,
-        PrincipalId => undef,
-        Email => undef,
-        @_
-    );
-
-
-    my $principal = RT::Principal->new($self->CurrentUser);
-    if ($args{'Email'}) {
-        my $user = RT::User->new($RT::SystemUser);
-        my ($pid, $msg) = $user->LoadOrCreateByEmail($args{'Email'});
-       # If we can't load the user by email address, let's try to load by username     
-       unless ($pid) { 
-               ($pid,$msg) = $user->Load($args{'Email'})
-       }
-        if ($pid) {
-            $args{'PrincipalId'} = $pid; 
-        }
-    }
-    if ($args{'PrincipalId'}) {
-        $principal->Load($args{'PrincipalId'});
-    } 
-
-    # If we can't find this watcher, we need to bail.
-    unless ($principal->Id) {
-            $RT::Logger->error("Could not load create a user with the email address '".$args{'Email'}. "' to add as a watcher for ticket ".$self->Id);
-        return(0, $self->loc("Could not find or create that user"));
-    }
-
-
-    my $group = RT::Group->new($self->CurrentUser);
-    $group->LoadTicketRoleGroup(Type => $args{'Type'}, Ticket => $self->Id);
-    unless ($group->id) {
-        return(0,$self->loc("Group not found"));
-    }
-
-    if ( $group->HasMember( $principal)) {
-
-        return ( 0, $self->loc('That principal is already a [_1] for this ticket', $self->loc($args{'Type'})) );
-    }
-
-
-    my ( $m_id, $m_msg ) = $group->_AddMember( PrincipalId => $principal->Id,
-                                               InsideTransaction => 1 );
-    unless ($m_id) {
-        $RT::Logger->error("Failed to add ".$principal->Id." as a member of group ".$group->Id."\n".$m_msg);
-
-        return ( 0, $self->loc('Could not make that principal a [_1] for this ticket', $self->loc($args{'Type'})) );
-    }
-
-    unless ( $args{'Silent'} ) {
-        $self->_NewTransaction(
-            Type     => 'AddWatcher',
-            NewValue => $principal->Id,
-            Field    => $args{'Type'}
-        );
-    }
-
-        return ( 1, $self->loc('Added principal as a [_1] for this ticket', $self->loc($args{'Type'})) );
-}
-
-# }}}
-
-
-# {{{ sub DeleteWatcher
-
-=head2 DeleteWatcher { Type => TYPE, PrincipalId => PRINCIPAL_ID, Email => EMAIL_ADDRESS }
-
-
-Deletes a Ticket watcher.  Takes two arguments:
-
-Type  (one of Requestor,Cc,AdminCc)
-
-and one of
-
-PrincipalId (an RT::Principal Id of the watcher you want to remove)
-    OR
-Email (the email address of an existing wathcer)
-
-
-=cut
-
-
-sub DeleteWatcher {
-    my $self = shift;
-
-    my %args = ( Type        => undef,
-                 PrincipalId => undef,
-                 Email       => undef,
-                 @_ );
-
-    unless ( $args{'PrincipalId'} || $args{'Email'} ) {
-        return ( 0, $self->loc("No principal specified") );
-    }
-    my $principal = RT::Principal->new( $self->CurrentUser );
-    if ( $args{'PrincipalId'} ) {
-
-        $principal->Load( $args{'PrincipalId'} );
-    }
-    else {
-        my $user = RT::User->new( $self->CurrentUser );
-        $user->LoadByEmail( $args{'Email'} );
-        $principal->Load( $user->Id );
-    }
-
-    # If we can't find this watcher, we need to bail.
-    unless ( $principal->Id ) {
-        return ( 0, $self->loc("Could not find that principal") );
-    }
-
-    my $group = RT::Group->new( $self->CurrentUser );
-    $group->LoadTicketRoleGroup( Type => $args{'Type'}, Ticket => $self->Id );
-    unless ( $group->id ) {
-        return ( 0, $self->loc("Group not found") );
-    }
-
-    # {{{ Check ACLS
-    #If the watcher we're trying to add is for the current user
-    if ( $self->CurrentUser->PrincipalId eq $args{'PrincipalId'} ) {
-
-        #  If it's an AdminCc and they don't have
-        #   'WatchAsAdminCc' or 'ModifyTicket', bail
-        if ( $args{'Type'} eq 'AdminCc' ) {
-            unless (    $self->CurrentUserHasRight('ModifyTicket')
-                     or $self->CurrentUserHasRight('WatchAsAdminCc') ) {
-                return ( 0, $self->loc('Permission Denied') );
-            }
-        }
-
-        #  If it's a Requestor or Cc and they don't have
-        #   'Watch' or 'ModifyTicket', bail
-        elsif ( ( $args{'Type'} eq 'Cc' ) or ( $args{'Type'} eq 'Requestor' ) )
-        {
-            unless (    $self->CurrentUserHasRight('ModifyTicket')
-                     or $self->CurrentUserHasRight('Watch') ) {
-                return ( 0, $self->loc('Permission Denied') );
-            }
-        }
-        else {
-            $RT::Logger->warn("$self -> DeleteWatcher got passed a bogus type");
-            return ( 0,
-                     $self->loc('Error in parameters to Ticket->DeleteWatcher') );
-        }
-    }
-
-    # If the watcher isn't the current user
-    # and the current user  doesn't have 'ModifyTicket' bail
-    else {
-        unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-    }
-
-    # }}}
-
-    # see if this user is already a watcher.
-
-    unless ( $group->HasMember($principal) ) {
-        return ( 0,
-                 $self->loc( 'That principal is not a [_1] for this ticket',
-                             $args{'Type'} ) );
-    }
-
-    my ( $m_id, $m_msg ) = $group->_DeleteMember( $principal->Id );
-    unless ($m_id) {
-        $RT::Logger->error( "Failed to delete "
-                            . $principal->Id
-                            . " as a member of group "
-                            . $group->Id . "\n"
-                            . $m_msg );
-
-        return (0,
-                $self->loc(
-                    'Could not remove that principal as a [_1] for this ticket',
-                    $args{'Type'} ) );
-    }
-
-    unless ( $args{'Silent'} ) {
-        $self->_NewTransaction( Type     => 'DelWatcher',
-                                OldValue => $principal->Id,
-                                Field    => $args{'Type'} );
-    }
-
-    return ( 1,
-             $self->loc( "[_1] is no longer a [_2] for this ticket.",
-                         $principal->Object->Name,
-                         $args{'Type'} ) );
-}
-
-
-
-# }}}
-
-
-=head2 SquelchMailTo [EMAIL]
-
-Takes an optional email address to never email about updates to this ticket.
-
-
-Returns an array of the RT::Attribute objects for this ticket's 'SquelchMailTo' attributes.
-
-=begin testing
-
-my $t = RT::Ticket->new($RT::SystemUser);
-ok($t->Create(Queue => 'general', Subject => 'SquelchTest'));
-
-is($#{$t->SquelchMailTo}, -1, "The ticket has no squelched recipients");
-
-my @returned = $t->SquelchMailTo('nobody@example.com');
-
-is($#returned, 0, "The ticket has one squelched recipients");
-
-my @names = $t->Attributes->Names;
-is(shift @names, 'SquelchMailTo', "The attribute we have is SquelchMailTo");
-@returned = $t->SquelchMailTo('nobody@example.com');
-
-
-is($#returned, 0, "The ticket has one squelched recipients");
-
-@names = $t->Attributes->Names;
-is(shift @names, 'SquelchMailTo', "The attribute we have is SquelchMailTo");
-
-
-my ($ret, $msg) = $t->UnsquelchMailTo('nobody@example.com');
-ok($ret, "Removed nobody as a squelched recipient - ".$msg);
-@returned = $t->SquelchMailTo();
-is($#returned, -1, "The ticket has no squelched recipients". join(',',@returned));
-
-
-=end testing
-
-=cut
-
-sub SquelchMailTo {
-    my $self = shift;
-    if (@_) {
-        unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-            return undef;
-        }
-        my $attr = shift;
-        $self->AddAttribute( Name => 'SquelchMailTo', Content => $attr )
-          unless grep { $_->Content eq $attr }
-          $self->Attributes->Named('SquelchMailTo');
-
-    }
-    unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-        return undef;
-    }
-    my @attributes = $self->Attributes->Named('SquelchMailTo');
-    return (@attributes);
-}
-
-
-=head2 UnsquelchMailTo ADDRESS
-
-Takes an address and removes it from this ticket's "SquelchMailTo" list. If an address appears multiple times, each instance is removed.
-
-Returns a tuple of (status, message)
-
-=cut
-
-sub UnsquelchMailTo {
-    my $self = shift;
-
-    my $address = shift;
-    unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    my ($val, $msg) = $self->Attributes->DeleteEntry ( Name => 'SquelchMailTo', Content => $address);
-    return ($val, $msg);
-}
-
-
-# {{{ a set of  [foo]AsString subs that will return the various sorts of watchers for a ticket/queue as a comma delineated string
-
-=head2 RequestorAddresses
-
- B<Returns> String: All Ticket Requestor email addresses as a string.
-
-=cut
-
-sub RequestorAddresses {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-        return undef;
-    }
-
-    return ( $self->Requestors->MemberEmailAddressesAsString );
-}
-
-
-=head2 AdminCcAddresses
-
-returns String: All Ticket AdminCc email addresses as a string
-
-=cut
-
-sub AdminCcAddresses {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-        return undef;
-    }
-
-    return ( $self->AdminCc->MemberEmailAddressesAsString )
-
-}
-
-=head2 CcAddresses
-
-returns String: All Ticket Ccs as a string of email addresses
-
-=cut
-
-sub CcAddresses {
-    my $self = shift;
-
-    unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-        return undef;
-    }
-
-    return ( $self->Cc->MemberEmailAddressesAsString);
-
-}
-
-# }}}
-
-# {{{ Routines that return RT::Watchers objects of Requestors, Ccs and AdminCcs
-
-# {{{ sub Requestors
-
-=head2 Requestors
-
-Takes nothing.
-Returns this ticket's Requestors as an RT::Group object
-
-=cut
-
-sub Requestors {
-    my $self = shift;
-
-    my $group = RT::Group->new($self->CurrentUser);
-    if ( $self->CurrentUserHasRight('ShowTicket') ) {
-        $group->LoadTicketRoleGroup(Type => 'Requestor', Ticket => $self->Id);
-    }
-    return ($group);
-
-}
-
-# }}}
-
-# {{{ sub Cc
-
-=head2 Cc
-
-Takes nothing.
-Returns an RT::Group object which contains this ticket's Ccs.
-If the user doesn't have "ShowTicket" permission, returns an empty group
-
-=cut
-
-sub Cc {
-    my $self = shift;
-
-    my $group = RT::Group->new($self->CurrentUser);
-    if ( $self->CurrentUserHasRight('ShowTicket') ) {
-        $group->LoadTicketRoleGroup(Type => 'Cc', Ticket => $self->Id);
-    }
-    return ($group);
-
-}
-
-# }}}
-
-# {{{ sub AdminCc
-
-=head2 AdminCc
-
-Takes nothing.
-Returns an RT::Group object which contains this ticket's AdminCcs.
-If the user doesn't have "ShowTicket" permission, returns an empty group
-
-=cut
-
-sub AdminCc {
-    my $self = shift;
-
-    my $group = RT::Group->new($self->CurrentUser);
-    if ( $self->CurrentUserHasRight('ShowTicket') ) {
-        $group->LoadTicketRoleGroup(Type => 'AdminCc', Ticket => $self->Id);
-    }
-    return ($group);
-
-}
-
-# }}}
-
-# }}}
-
-# {{{ IsWatcher,IsRequestor,IsCc, IsAdminCc
-
-# {{{ sub IsWatcher
-# a generic routine to be called by IsRequestor, IsCc and IsAdminCc
-
-=head2 IsWatcher { Type => TYPE, PrincipalId => PRINCIPAL_ID, Email => EMAIL }
-
-Takes a param hash with the attributes Type and either PrincipalId or Email
-
-Type is one of Requestor, Cc, AdminCc and Owner
-
-PrincipalId is an RT::Principal id, and Email is an email address.
-
-Returns true if the specified principal (or the one corresponding to the
-specified address) is a member of the group Type for this ticket.
-
-XX TODO: This should be Memoized. 
-
-=cut
-
-sub IsWatcher {
-    my $self = shift;
-
-    my %args = ( Type  => 'Requestor',
-        PrincipalId    => undef,
-        Email          => undef,
-        @_
-    );
-
-    # Load the relevant group. 
-    my $group = RT::Group->new($self->CurrentUser);
-    $group->LoadTicketRoleGroup(Type => $args{'Type'}, Ticket => $self->id);
-
-    # Find the relevant principal.
-    my $principal = RT::Principal->new($self->CurrentUser);
-    if (!$args{PrincipalId} && $args{Email}) {
-        # Look up the specified user.
-        my $user = RT::User->new($self->CurrentUser);
-        $user->LoadByEmail($args{Email});
-        if ($user->Id) {
-            $args{PrincipalId} = $user->PrincipalId;
-        }
-        else {
-            # A non-existent user can't be a group member.
-            return 0;
-        }
-    }
-    $principal->Load($args{'PrincipalId'});
-
-    # Ask if it has the member in question
-    return ($group->HasMember($principal));
-}
-
-# }}}
-
-# {{{ sub IsRequestor
-
-=head2 IsRequestor PRINCIPAL_ID
-  
-  Takes an RT::Principal id
-  Returns true if the principal is a requestor of the current ticket.
-
-
-=cut
-
-sub IsRequestor {
-    my $self   = shift;
-    my $person = shift;
-
-    return ( $self->IsWatcher( Type => 'Requestor', PrincipalId => $person ) );
-
-};
-
-# }}}
-
-# {{{ sub IsCc
-
-=head2 IsCc PRINCIPAL_ID
-
-  Takes an RT::Principal id.
-  Returns true if the principal is a requestor of the current ticket.
-
-
-=cut
-
-sub IsCc {
-    my $self = shift;
-    my $cc   = shift;
-
-    return ( $self->IsWatcher( Type => 'Cc', PrincipalId => $cc ) );
-
-}
-
-# }}}
-
-# {{{ sub IsAdminCc
-
-=head2 IsAdminCc PRINCIPAL_ID
-
-  Takes an RT::Principal id.
-  Returns true if the principal is a requestor of the current ticket.
-
-=cut
-
-sub IsAdminCc {
-    my $self   = shift;
-    my $person = shift;
-
-    return ( $self->IsWatcher( Type => 'AdminCc', PrincipalId => $person ) );
-
-}
-
-# }}}
-
-# {{{ sub IsOwner
-
-=head2 IsOwner
-
-  Takes an RT::User object. Returns true if that user is this ticket's owner.
-returns undef otherwise
-
-=cut
-
-sub IsOwner {
-    my $self   = shift;
-    my $person = shift;
-
-    # no ACL check since this is used in acl decisions
-    # unless ($self->CurrentUserHasRight('ShowTicket')) {
-    #  return(undef);
-    #   }      
-
-    #Tickets won't yet have owners when they're being created.
-    unless ( $self->OwnerObj->id ) {
-        return (undef);
-    }
-
-    if ( $person->id == $self->OwnerObj->id ) {
-        return (1);
-    }
-    else {
-        return (undef);
-    }
-}
-
-# }}}
-
-# }}}
-
-# }}}
-
-# {{{ Routines dealing with queues 
-
-# {{{ sub ValidateQueue
-
-sub ValidateQueue {
-    my $self  = shift;
-    my $Value = shift;
-
-    if ( !$Value ) {
-        $RT::Logger->warning( " RT:::Queue::ValidateQueue called with a null value. this isn't ok.");
-        return (1);
-    }
-
-    my $QueueObj = RT::Queue->new( $self->CurrentUser );
-    my $id       = $QueueObj->Load($Value);
-
-    if ($id) {
-        return (1);
-    }
-    else {
-        return (undef);
-    }
-}
-
-# }}}
-
-# {{{ sub SetQueue  
-
-sub SetQueue {
-    my $self     = shift;
-    my $NewQueue = shift;
-
-    #Redundant. ACL gets checked in _Set;
-    unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    my $NewQueueObj = RT::Queue->new( $self->CurrentUser );
-    $NewQueueObj->Load($NewQueue);
-
-    unless ( $NewQueueObj->Id() ) {
-        return ( 0, $self->loc("That queue does not exist") );
-    }
-
-    if ( $NewQueueObj->Id == $self->QueueObj->Id ) {
-        return ( 0, $self->loc('That is the same value') );
-    }
-    unless (
-        $self->CurrentUser->HasRight(
-            Right    => 'CreateTicket',
-            Object => $NewQueueObj
-        )
-      )
-    {
-        return ( 0, $self->loc("You may not create requests in that queue.") );
-    }
-
-    unless (
-        $self->OwnerObj->HasRight(
-            Right    => 'OwnTicket',
-            Object => $NewQueueObj
-        )
-      )
-    {
-        $self->Untake();
-    }
-
-    return ( $self->_Set( Field => 'Queue', Value => $NewQueueObj->Id() ) );
-
-}
-
-# }}}
-
-# {{{ sub QueueObj
-
-=head2 QueueObj
-
-Takes nothing. returns this ticket's queue object
-
-=cut
-
-sub QueueObj {
-    my $self = shift;
-
-    my $queue_obj = RT::Queue->new( $self->CurrentUser );
-
-    #We call __Value so that we can avoid the ACL decision and some deep recursion
-    my ($result) = $queue_obj->Load( $self->__Value('Queue') );
-    return ($queue_obj);
-}
-
-# }}}
-
-# }}}
-
-# {{{ Date printing routines
-
-# {{{ sub DueObj
-
-=head2 DueObj
-
-  Returns an RT::Date object containing this ticket's due date
-
-=cut
-
-sub DueObj {
-    my $self = shift;
-
-    my $time = new RT::Date( $self->CurrentUser );
-
-    # -1 is RT::Date slang for never
-    if ( $self->Due ) {
-        $time->Set( Format => 'sql', Value => $self->Due );
-    }
-    else {
-        $time->Set( Format => 'unix', Value => -1 );
-    }
-
-    return $time;
-}
-
-# }}}
-
-# {{{ sub DueAsString 
-
-=head2 DueAsString
-
-Returns this ticket's due date as a human readable string
-
-=cut
-
-sub DueAsString {
-    my $self = shift;
-    return $self->DueObj->AsString();
-}
-
-# }}}
-
-# {{{ sub ResolvedObj
-
-=head2 ResolvedObj
-
-  Returns an RT::Date object of this ticket's 'resolved' time.
-
-=cut
-
-sub ResolvedObj {
-    my $self = shift;
-
-    my $time = new RT::Date( $self->CurrentUser );
-    $time->Set( Format => 'sql', Value => $self->Resolved );
-    return $time;
-}
-
-# }}}
-
-# {{{ sub SetStarted
-
-=head2 SetStarted
-
-Takes a date in ISO format or undef
-Returns a transaction id and a message
-The client calls "Start" to note that the project was started on the date in $date.
-A null date means "now"
-
-=cut
-
-sub SetStarted {
-    my $self = shift;
-    my $time = shift || 0;
-
-    unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-        return ( 0, self->loc("Permission Denied") );
-    }
-
-    #We create a date object to catch date weirdness
-    my $time_obj = new RT::Date( $self->CurrentUser() );
-    if ( $time != 0 ) {
-        $time_obj->Set( Format => 'ISO', Value => $time );
-    }
-    else {
-        $time_obj->SetToNow();
-    }
-
-    #Now that we're starting, open this ticket
-    #TODO do we really want to force this as policy? it should be a scrip
-
-    #We need $TicketAsSystem, in case the current user doesn't have
-    #ShowTicket
-    #
-    my $TicketAsSystem = new RT::Ticket($RT::SystemUser);
-    $TicketAsSystem->Load( $self->Id );
-    if ( $TicketAsSystem->Status eq 'new' ) {
-        $TicketAsSystem->Open();
-    }
-
-    return ( $self->_Set( Field => 'Started', Value => $time_obj->ISO ) );
-
-}
-
-# }}}
-
-# {{{ sub StartedObj
-
-=head2 StartedObj
-
-  Returns an RT::Date object which contains this ticket's 
-'Started' time.
-
-=cut
-
-sub StartedObj {
-    my $self = shift;
-
-    my $time = new RT::Date( $self->CurrentUser );
-    $time->Set( Format => 'sql', Value => $self->Started );
-    return $time;
-}
-
-# }}}
-
-# {{{ sub StartsObj
-
-=head2 StartsObj
-
-  Returns an RT::Date object which contains this ticket's 
-'Starts' time.
-
-=cut
-
-sub StartsObj {
-    my $self = shift;
-
-    my $time = new RT::Date( $self->CurrentUser );
-    $time->Set( Format => 'sql', Value => $self->Starts );
-    return $time;
-}
-
-# }}}
-
-# {{{ sub ToldObj
-
-=head2 ToldObj
-
-  Returns an RT::Date object which contains this ticket's 
-'Told' time.
-
-=cut
-
-sub ToldObj {
-    my $self = shift;
-
-    my $time = new RT::Date( $self->CurrentUser );
-    $time->Set( Format => 'sql', Value => $self->Told );
-    return $time;
-}
-
-# }}}
-
-# {{{ sub ToldAsString
-
-=head2 ToldAsString
-
-A convenience method that returns ToldObj->AsString
-
-TODO: This should be deprecated
-
-=cut
-
-sub ToldAsString {
-    my $self = shift;
-    if ( $self->Told ) {
-        return $self->ToldObj->AsString();
-    }
-    else {
-        return ("Never");
-    }
-}
-
-# }}}
-
-# {{{ sub TimeWorkedAsString
-
-=head2 TimeWorkedAsString
-
-Returns the amount of time worked on this ticket as a Text String
-
-=cut
-
-sub TimeWorkedAsString {
-    my $self = shift;
-    return "0" unless $self->TimeWorked;
-
-    #This is not really a date object, but if we diff a number of seconds 
-    #vs the epoch, we'll get a nice description of time worked.
-
-    my $worked = new RT::Date( $self->CurrentUser );
-
-    #return the  #of minutes worked turned into seconds and written as
-    # a simple text string
-
-    return ( $worked->DurationAsString( $self->TimeWorked * 60 ) );
-}
-
-# }}}
-
-# }}}
-
-# {{{ Routines dealing with correspondence/comments
-
-# {{{ sub Comment
-
-=head2 Comment
-
-Comment on this ticket.
-Takes a hashref with the following attributes:
-If MIMEObj is undefined, Content will be used to build a MIME::Entity for this
-commentl
-
-MIMEObj, TimeTaken, CcMessageTo, BccMessageTo, Content, DryRun
-
-If DryRun is defined, this update WILL NOT BE RECORDED. Scrips will not be committed.
-They will, however, be prepared and you'll be able to access them through the TransactionObj
-
-Returns: Transaction id, Error Message, Transaction Object
-(note the different order from Create()!)
-
-=cut
-
-sub Comment {
-    my $self = shift;
-
-    my %args = ( CcMessageTo  => undef,
-                 BccMessageTo => undef,
-                 MIMEObj      => undef,
-                 Content      => undef,
-                 TimeTaken => 0,
-                 DryRun     => 0, 
-                 @_ );
-
-    unless (    ( $self->CurrentUserHasRight('CommentOnTicket') )
-             or ( $self->CurrentUserHasRight('ModifyTicket') ) ) {
-        return ( 0, $self->loc("Permission Denied"), undef );
-    }
-    $args{'NoteType'} = 'Comment';
-
-    if ($args{'DryRun'}) {
-        $RT::Handle->BeginTransaction();
-        $args{'CommitScrips'} = 0;
-    }
-
-    my @results = $self->_RecordNote(%args);
-    if ($args{'DryRun'}) {
-        $RT::Handle->Rollback();
-    }
-
-    return(@results);
-}
-# }}}
-
-# {{{ sub Correspond
-
-=head2 Correspond
-
-Correspond on this ticket.
-Takes a hashref with the following attributes:
-
-
-MIMEObj, TimeTaken, CcMessageTo, BccMessageTo, Content, DryRun
-
-if there's no MIMEObj, Content is used to build a MIME::Entity object
-
-If DryRun is defined, this update WILL NOT BE RECORDED. Scrips will not be committed.
-They will, however, be prepared and you'll be able to access them through the TransactionObj
-
-Returns: Transaction id, Error Message, Transaction Object
-(note the different order from Create()!)
-
-
-=cut
-
-sub Correspond {
-    my $self = shift;
-    my %args = ( CcMessageTo  => undef,
-                 BccMessageTo => undef,
-                 MIMEObj      => undef,
-                 Content      => undef,
-                 TimeTaken    => 0,
-                 @_ );
-
-    unless (    ( $self->CurrentUserHasRight('ReplyToTicket') )
-             or ( $self->CurrentUserHasRight('ModifyTicket') ) ) {
-        return ( 0, $self->loc("Permission Denied"), undef );
-    }
-
-    $args{'NoteType'} = 'Correspond'; 
-    if ($args{'DryRun'}) {
-        $RT::Handle->BeginTransaction();
-        $args{'CommitScrips'} = 0;
-    }
-
-    my @results = $self->_RecordNote(%args);
-
-    #Set the last told date to now if this isn't mail from the requestor.
-    #TODO: Note that this will wrongly ack mail from any non-requestor as a "told"
-    $self->_SetTold unless ( $self->IsRequestor($self->CurrentUser->id));
-
-    if ($args{'DryRun'}) {
-        $RT::Handle->Rollback();
-    }
-
-    return (@results);
-
-}
-
-# }}}
-
-# {{{ sub _RecordNote
-
-=head2 _RecordNote
-
-the meat of both comment and correspond. 
-
-Performs no access control checks. hence, dangerous.
-
-=cut
-
-sub _RecordNote {
-
-    my $self = shift;
-    my %args = ( CcMessageTo  => undef,
-                 BccMessageTo => undef,
-                 MIMEObj      => undef,
-                 Content      => undef,
-                 TimeTaken    => 0,
-                 CommitScrips => 1,
-                 @_ );
-
-    unless ( $args{'MIMEObj'} || $args{'Content'} ) {
-            return ( 0, $self->loc("No message attached"), undef );
-    }
-    unless ( $args{'MIMEObj'} ) {
-            $args{'MIMEObj'} = MIME::Entity->build( Data => (
-                                                          ref $args{'Content'}
-                                                          ? $args{'Content'}
-                                                          : [ $args{'Content'} ]
-                                                    ) );
-        }
-
-    # convert text parts into utf-8
-    RT::I18N::SetMIMEEntityToUTF8( $args{'MIMEObj'} );
-
-# If we've been passed in CcMessageTo and BccMessageTo fields,
-# add them to the mime object for passing on to the transaction handler
-# The "NotifyOtherRecipients" scripAction will look for RT-Send-Cc: and RT-Send-Bcc:
-# headers
-
-    $args{'MIMEObj'}->head->add( 'RT-Send-Cc', RT::User::CanonicalizeEmailAddress(
-                                                     undef, $args{'CcMessageTo'}
-                                 ) )
-      if defined $args{'CcMessageTo'};
-    $args{'MIMEObj'}->head->add( 'RT-Send-Bcc',
-                                 RT::User::CanonicalizeEmailAddress(
-                                                    undef, $args{'BccMessageTo'}
-                                 ) )
-      if defined $args{'BccMessageTo'};
-
-    # If this is from an external source, we need to come up with its
-    # internal Message-ID now, so all emails sent because of this
-    # message have a common Message-ID
-    unless ($args{'MIMEObj'}->head->get('Message-ID')
-            =~ /<(rt-.*?-\d+-\d+)\.(\d+-0-0)\@$RT::Organization>/) {
-        $args{'MIMEObj'}->head->set( 'RT-Message-ID',
-            "<rt-"
-            . $RT::VERSION . "-"
-            . $$ . "-"
-            . CORE::time() . "-"
-            . int(rand(2000)) . '.'
-            . $self->id . "-"
-            . "0" . "-"  # Scrip
-            . "0" . "@"  # Email sent
-            . $RT::Organization
-            . ">" );
-    }
-
-    #Record the correspondence (write the transaction)
-    my ( $Trans, $msg, $TransObj ) = $self->_NewTransaction(
-             Type => $args{'NoteType'},
-             Data => ( $args{'MIMEObj'}->head->get('subject') || 'No Subject' ),
-             TimeTaken => $args{'TimeTaken'},
-             MIMEObj   => $args{'MIMEObj'}, 
-             CommitScrips => $args{'CommitScrips'},
-    );
-
-    unless ($Trans) {
-        $RT::Logger->err("$self couldn't init a transaction $msg");
-        return ( $Trans, $self->loc("Message could not be recorded"), undef );
-    }
-
-    return ( $Trans, $self->loc("Message recorded"), $TransObj );
-}
-
-# }}}
-
-# }}}
-
-# {{{ sub _Links 
-
-sub _Links {
-    my $self = shift;
-
-    #TODO: Field isn't the right thing here. but I ahave no idea what mnemonic ---
-    #tobias meant by $f
-    my $field = shift;
-    my $type  = shift || "";
-
-    unless ( $self->{"$field$type"} ) {
-        $self->{"$field$type"} = new RT::Links( $self->CurrentUser );
-        if ( $self->CurrentUserHasRight('ShowTicket') ) {
-            # Maybe this ticket is a merged ticket
-            my $Tickets = new RT::Tickets( $self->CurrentUser );
-            # at least to myself
-            $self->{"$field$type"}->Limit( FIELD => $field,
-                                           VALUE => $self->URI,
-                                           ENTRYAGGREGATOR => 'OR' );
-            $Tickets->Limit( FIELD => 'EffectiveId',
-                             VALUE => $self->EffectiveId );
-            while (my $Ticket = $Tickets->Next) {
-                $self->{"$field$type"}->Limit( FIELD => $field,
-                                               VALUE => $Ticket->URI,
-                                               ENTRYAGGREGATOR => 'OR' );
-            }
-            $self->{"$field$type"}->Limit( FIELD => 'Type',
-                                           VALUE => $type )
-              if ($type);
-        }
-    }
-    return ( $self->{"$field$type"} );
-}
-
-# }}}
-
-# {{{ sub DeleteLink 
-
-=head2 DeleteLink
-
-Delete a link. takes a paramhash of Base, Target and Type.
-Either Base or Target must be null. The null value will 
-be replaced with this ticket\'s id
-
-=cut 
-
-sub DeleteLink {
-    my $self = shift;
-    my %args = (
-        Base   => undef,
-        Target => undef,
-        Type   => undef,
-        @_
-    );
-
-    #check acls
-    unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-        $RT::Logger->debug("No permission to delete links\n");
-        return ( 0, $self->loc('Permission Denied'))
-
-    }
-
-    my ($val, $Msg) = $self->SUPER::_DeleteLink(%args);
-
-    if ( !$val ) {
-        $RT::Logger->debug("Couldn't find that link\n");
-        return ( 0, $Msg );
-    }
-
-    my ($direction, $remote_link);
-
-    if ( $args{'Base'} ) {
-       $remote_link = $args{'Base'};
-       $direction = 'Target';
-    }
-    elsif ( $args{'Target'} ) {
-       $remote_link = $args{'Target'};
-        $direction='Base';
-    }
-
-    if ( $val ) {
-       my $remote_uri = RT::URI->new( $RT::SystemUser );
-       $remote_uri->FromURI( $remote_link );
-
-        my ( $Trans, $Msg, $TransObj ) = $self->_NewTransaction(
-            Type      => 'DeleteLink',
-            Field => $LINKDIRMAP{$args{'Type'}}->{$direction},
-           OldValue =>  $remote_uri->URI || $remote_link,
-            TimeTaken => 0
-        );
-
-        return ( $Trans, $Msg );
-    }
-}
-
-# }}}
-
-# {{{ sub AddLink
-
-=head2 AddLink
-
-Takes a paramhash of Type and one of Base or Target. Adds that link to this ticket.
-
-=begin testing 
-
-my $q1 = RT::Queue->new($RT::SystemUser);
-my ($id,$msg) = $q1->Create(Name => 'LinkTest1');
-ok ($id,$msg);
-my $q2 = RT::Queue->new($RT::SystemUser);
-($id,$msg) = $q2->Create(Name => 'LinkTest2');
-ok ($id,$msg);
-
-my $u1 = RT::User->new($RT::SystemUser);
-($id,$msg) =$u1->Create(Name => 'LinkTestUser');
-
-ok ($id,$msg);
-
-($id,$msg) = $u1->PrincipalObj->GrantRight ( Object => $q1, Right => 'CreateTicket');
-ok ($id,$msg);
-($id,$msg) = $u1->PrincipalObj->GrantRight ( Object => $q1, Right => 'ModifyTicket');
-ok ($id,$msg);
-
-my $tid;
-
-my $creator = RT::CurrentUser->new($u1->id);
-
-my $ticket = RT::Ticket->new( $creator);
-ok($ticket->isa('RT::Ticket'));
-($id,$tid, $msg) = $ticket->Create(Subject => 'Link test 1', Queue => $q1->id);
-ok ($id,$msg);
-
-
-my $ticket2 = RT::Ticket->new($RT::SystemUser);
-($id, $tid, $msg) = $ticket2->Create(Subject => 'Link test 2', Queue => $q2->id);
-ok ($id, $msg);
-
-($id,$msg) =$ticket->AddLink(Type => 'RefersTo', Target => $ticket2->id);
-ok(!$id,$msg);
-($id,$msg) = $u1->PrincipalObj->GrantRight ( Object => $q2, Right => 'CreateTicket');
-ok ($id,$msg);
-($id,$msg) = $u1->PrincipalObj->GrantRight ( Object => $q2, Right => 'ModifyTicket');
-ok ($id,$msg);
-($id,$msg) =$ticket->AddLink(Type => 'RefersTo', Target => $ticket2->id);
-ok($id,$msg);
-($id,$msg) =$ticket->AddLink(Type => 'RefersTo', Target => -1);
-ok(!$id,$msg);
-
-=end testing 
-
-=cut
-
-sub AddLink {
-    my $self = shift;
-    my %args = ( Target => '',
-                 Base   => '',
-                 Type   => '',
-                 Silent => undef,
-                 @_ );
-
-
-    unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-
-    $self->_AddLink(%args);
-}
-
-=head2 _AddLink  
-
-Private non-acled variant of AddLink so that links can be added during create.
-
-=cut
-
-sub _AddLink {
-    my $self = shift;
-    my %args = ( Target => '',
-                 Base   => '',
-                 Type   => '',
-                 Silent => undef,
-                 @_ );
-
-    # {{{ If the other URI is an RT::Ticket, we want to make sure the user
-    # can modify it too...
-    my $other_ticket_uri = RT::URI->new($self->CurrentUser);
-
-    if ( $args{'Target'} ) {
-        $other_ticket_uri->FromURI( $args{'Target'} );
-
-    }
-    elsif ( $args{'Base'} ) {
-        $other_ticket_uri->FromURI( $args{'Base'} );
-    }
-
-    unless ( $other_ticket_uri->Resolver && $other_ticket_uri->Scheme ) {
-       my $msg = $args{'Target'} ? $self->loc("Couldn't resolve target '[_1]' into a URI.", $args{'Target'})
-          : $self->loc("Couldn't resolve base '[_1]' into a URI.", $args{'Base'});
-        $RT::Logger->warning( "$self $msg\n" );
-
-        return( 0, $msg );
-    }
-
-    if ( $other_ticket_uri->Resolver->Scheme eq 'fsck.com-rt') {
-        my $object = $other_ticket_uri->Resolver->Object;
-
-        if (   UNIVERSAL::isa( $object, 'RT::Ticket' )
-            && $object->id
-            && !$object->CurrentUserHasRight('ModifyTicket') )
-        {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-
-    }
-
-    # }}}
-
-    my ($val, $Msg) = $self->SUPER::_AddLink(%args);
-
-    if (!$val) {
-       return ($val, $Msg);
-    }
-
-    my ($direction, $remote_link);
-    if ( $args{'Target'} ) {
-        $remote_link  = $args{'Target'};
-        $direction    = 'Base';
-    } elsif ( $args{'Base'} ) {
-        $remote_link  = $args{'Base'};
-        $direction    = 'Target';
-    }
-
-    # Don't write the transaction if we're doing this on create
-    if ( $args{'Silent'} ) {
-        return ( $val, $Msg );
-    }
-    else {
-       my $remote_uri = RT::URI->new( $RT::SystemUser );
-       $remote_uri->FromURI( $remote_link );
-
-        #Write the transaction
-        my ( $Trans, $Msg, $TransObj ) = 
-           $self->_NewTransaction(Type  => 'AddLink',
-                                  Field => $LINKDIRMAP{$args{'Type'}}->{$direction},
-                                  NewValue =>  $remote_uri->URI || $remote_link,
-                                  TimeTaken => 0 );
-        return ( $val, $Msg );
-    }
-
-}
-
-# }}}
-
-
-# {{{ sub MergeInto
-
-=head2 MergeInto
-
-MergeInto take the id of the ticket to merge this ticket into.
-
-
-=begin testing
-
-my $t1 = RT::Ticket->new($RT::SystemUser);
-$t1->Create ( Subject => 'Merge test 1', Queue => 'general', Requestor => 'merge1@example.com');
-my $t1id = $t1->id;
-my $t2 = RT::Ticket->new($RT::SystemUser);
-$t2->Create ( Subject => 'Merge test 2', Queue => 'general', Requestor => 'merge2@example.com');
-my $t2id = $t2->id;
-my ($msg, $val) = $t1->MergeInto($t2->id);
-ok ($msg,$val);
-$t1 = RT::Ticket->new($RT::SystemUser);
-is ($t1->id, undef, "ok. we've got a blank ticket1");
-$t1->Load($t1id);
-
-is ($t1->id, $t2->id);
-
-is ($t1->Requestors->MembersObj->Count, 2);
-
-
-=end testing
-
-=cut
-
-sub MergeInto {
-    my $self      = shift;
-    my $ticket_id = shift;
-
-    unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    # Load up the new ticket.
-    my $MergeInto = RT::Ticket->new($RT::SystemUser);
-    $MergeInto->Load($ticket_id);
-
-    # make sure it exists.
-    unless ( $MergeInto->Id ) {
-        return ( 0, $self->loc("New ticket doesn't exist") );
-    }
-
-    # Make sure the current user can modify the new ticket.
-    unless ( $MergeInto->CurrentUserHasRight('ModifyTicket') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    $RT::Handle->BeginTransaction();
-
-    # We use EffectiveId here even though it duplicates information from
-    # the links table becasue of the massive performance hit we'd take
-    # by trying to do a separate database query for merge info everytime 
-    # loaded a ticket. 
-
-    #update this ticket's effective id to the new ticket's id.
-    my ( $id_val, $id_msg ) = $self->__Set(
-        Field => 'EffectiveId',
-        Value => $MergeInto->Id()
-    );
-
-    unless ($id_val) {
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc("Merge failed. Couldn't set EffectiveId") );
-    }
-
-    my ( $status_val, $status_msg ) = $self->__Set( Field => 'Status', Value => 'resolved');
-
-    unless ($status_val) {
-        $RT::Handle->Rollback();
-        $RT::Logger->error( $self->loc("[_1] couldn't set status to resolved. RT's Database may be inconsistent.", $self) );
-        return ( 0, $self->loc("Merge failed. Couldn't set Status") );
-    }
-
-
-    # update all the links that point to that old ticket
-    my $old_links_to = RT::Links->new($self->CurrentUser);
-    $old_links_to->Limit(FIELD => 'Target', VALUE => $self->URI);
-
-    my %old_seen;
-    while (my $link = $old_links_to->Next) {
-        if (exists $old_seen{$link->Base."-".$link->Type}) {
-            $link->Delete;
-        }   
-        elsif ($link->Base eq $MergeInto->URI) {
-            $link->Delete;
-        } else {
-            # First, make sure the link doesn't already exist. then move it over.
-            my $tmp = RT::Link->new($RT::SystemUser);
-            $tmp->LoadByCols(Base => $link->Base, Type => $link->Type, LocalTarget => $MergeInto->id);
-            if ($tmp->id)   {
-                    $link->Delete;
-            } else { 
-                $link->SetTarget($MergeInto->URI);
-                $link->SetLocalTarget($MergeInto->id);
-            }
-            $old_seen{$link->Base."-".$link->Type} =1;
-        }
-
-    }
-
-    my $old_links_from = RT::Links->new($self->CurrentUser);
-    $old_links_from->Limit(FIELD => 'Base', VALUE => $self->URI);
-
-    while (my $link = $old_links_from->Next) {
-        if (exists $old_seen{$link->Type."-".$link->Target}) {
-            $link->Delete;
-        }   
-        if ($link->Target eq $MergeInto->URI) {
-            $link->Delete;
-        } else {
-            # First, make sure the link doesn't already exist. then move it over.
-            my $tmp = RT::Link->new($RT::SystemUser);
-            $tmp->LoadByCols(Target => $link->Target, Type => $link->Type, LocalBase => $MergeInto->id);
-            if ($tmp->id)   {
-                    $link->Delete;
-            } else { 
-                $link->SetBase($MergeInto->URI);
-                $link->SetLocalBase($MergeInto->id);
-                $old_seen{$link->Type."-".$link->Target} =1;
-            }
-        }
-
-    }
-
-    # Update time fields
-    foreach my $type qw(TimeEstimated TimeWorked TimeLeft) {
-
-        my $mutator = "Set$type";
-        $MergeInto->$mutator(
-            ( $MergeInto->$type() || 0 ) + ( $self->$type() || 0 ) );
-
-    }
-#add all of this ticket's watchers to that ticket.
-    foreach my $watcher_type qw(Requestors Cc AdminCc) {
-
-        my $people = $self->$watcher_type->MembersObj;
-        my $addwatcher_type =  $watcher_type;
-        $addwatcher_type  =~ s/s$//;
-
-        while ( my $watcher = $people->Next ) {
-            
-           my ($val, $msg) =  $MergeInto->_AddWatcher(
-                Type        => $addwatcher_type,
-                Silent => 1,
-                PrincipalId => $watcher->MemberId
-            );
-            unless ($val) {
-                $RT::Logger->warning($msg);
-            }
-    }
-
-    }
-
-    #find all of the tickets that were merged into this ticket. 
-    my $old_mergees = new RT::Tickets( $self->CurrentUser );
-    $old_mergees->Limit(
-        FIELD    => 'EffectiveId',
-        OPERATOR => '=',
-        VALUE    => $self->Id
-    );
-
-    #   update their EffectiveId fields to the new ticket's id
-    while ( my $ticket = $old_mergees->Next() ) {
-        my ( $val, $msg ) = $ticket->__Set(
-            Field => 'EffectiveId',
-            Value => $MergeInto->Id()
-        );
-    }
-
-    #make a new link: this ticket is merged into that other ticket.
-    $self->AddLink( Type   => 'MergedInto', Target => $MergeInto->Id());
-
-    $MergeInto->_SetLastUpdated;    
-
-    $RT::Handle->Commit();
-    return ( 1, $self->loc("Merge Successful") );
-}
-
-# }}}
-
-# }}}
-
-# {{{ Routines dealing with ownership
-
-# {{{ sub OwnerObj
-
-=head2 OwnerObj
-
-Takes nothing and returns an RT::User object of 
-this ticket's owner
-
-=cut
-
-sub OwnerObj {
-    my $self = shift;
-
-    #If this gets ACLed, we lose on a rights check in User.pm and
-    #get deep recursion. if we need ACLs here, we need
-    #an equiv without ACLs
-
-    my $owner = new RT::User( $self->CurrentUser );
-    $owner->Load( $self->__Value('Owner') );
-
-    #Return the owner object
-    return ($owner);
-}
-
-# }}}
-
-# {{{ sub OwnerAsString 
-
-=head2 OwnerAsString
-
-Returns the owner's email address
-
-=cut
-
-sub OwnerAsString {
-    my $self = shift;
-    return ( $self->OwnerObj->EmailAddress );
-
-}
-
-# }}}
-
-# {{{ sub SetOwner
-
-=head2 SetOwner
-
-Takes two arguments:
-     the Id or Name of the owner 
-and  (optionally) the type of the SetOwner Transaction. It defaults
-to 'Give'.  'Steal' is also a valid option.
-
-=begin testing
-
-my $root = RT::User->new($RT::SystemUser);
-$root->Load('root');
-ok ($root->Id, "Loaded the root user");
-my $t = RT::Ticket->new($RT::SystemUser);
-$t->Load(1);
-$t->SetOwner('root');
-is ($t->OwnerObj->Name, 'root' , "Root owns the ticket");
-$t->Steal();
-is ($t->OwnerObj->id, $RT::SystemUser->id , "SystemUser owns the ticket");
-my $txns = RT::Transactions->new($RT::SystemUser);
-$txns->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$txns->Limit(FIELD => 'ObjectId', VALUE => '1');
-$txns->Limit(FIELD => 'ObjectType', VALUE => 'RT::Ticket');
-my $steal  = $txns->First;
-ok($steal->OldValue == $root->Id , "Stolen from root");
-ok($steal->NewValue == $RT::SystemUser->Id , "Stolen by the systemuser");
-
-=end testing
-
-=cut
-
-sub SetOwner {
-    my $self     = shift;
-    my $NewOwner = shift;
-    my $Type     = shift || "Give";
-
-    # must have ModifyTicket rights
-    # or TakeTicket/StealTicket and $NewOwner is self
-    # see if it's a take
-    if ( $self->OwnerObj->Id == $RT::Nobody->Id ) {
-        unless (    $self->CurrentUserHasRight('ModifyTicket')
-                 || $self->CurrentUserHasRight('TakeTicket') ) {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-    }
-
-    # see if it's a steal
-    elsif (    $self->OwnerObj->Id != $RT::Nobody->Id
-            && $self->OwnerObj->Id != $self->CurrentUser->id ) {
-
-        unless (    $self->CurrentUserHasRight('ModifyTicket')
-                 || $self->CurrentUserHasRight('StealTicket') ) {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-    }
-    else {
-        unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-            return ( 0, $self->loc("Permission Denied") );
-        }
-    }
-    my $NewOwnerObj = RT::User->new( $self->CurrentUser );
-    my $OldOwnerObj = $self->OwnerObj;
-
-    $NewOwnerObj->Load($NewOwner);
-    if ( !$NewOwnerObj->Id ) {
-        return ( 0, $self->loc("That user does not exist") );
-    }
-
-    #If thie ticket has an owner and it's not the current user
-
-    if (    ( $Type ne 'Steal' )
-        and ( $Type ne 'Force' )
-        and    #If we're not stealing
-        ( $self->OwnerObj->Id != $RT::Nobody->Id ) and    #and the owner is set
-        ( $self->CurrentUser->Id ne $self->OwnerObj->Id() )
-      ) {                                                 #and it's not us
-        return ( 0,
-                 $self->loc(
-"You can only reassign tickets that you own or that are unowned" ) );
-    }
-
-    #If we've specified a new owner and that user can't modify the ticket
-    elsif ( ( $NewOwnerObj->Id )
-            and ( !$NewOwnerObj->HasRight( Right  => 'OwnTicket',
-                                           Object => $self ) )
-      ) {
-        return ( 0, $self->loc("That user may not own tickets in that queue") );
-    }
-
-    #If the ticket has an owner and it's the new owner, we don't need
-    #To do anything
-    elsif (     ( $self->OwnerObj )
-            and ( $NewOwnerObj->Id eq $self->OwnerObj->Id ) ) {
-        return ( 0, $self->loc("That user already owns that ticket") );
-    }
-
-    $RT::Handle->BeginTransaction();
-
-    # Delete the owner in the owner group, then add a new one
-    # TODO: is this safe? it's not how we really want the API to work
-    # for most things, but it's fast.
-    my ( $del_id, $del_msg ) = $self->OwnerGroup->MembersObj->First->Delete();
-    unless ($del_id) {
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc("Could not change owner. ") . $del_msg );
-    }
-
-    my ( $add_id, $add_msg ) = $self->OwnerGroup->_AddMember(
-                                       PrincipalId => $NewOwnerObj->PrincipalId,
-                                       InsideTransaction => 1 );
-    unless ($add_id) {
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc("Could not change owner. ") . $add_msg );
-    }
-
-    # We call set twice with slightly different arguments, so
-    # as to not have an SQL transaction span two RT transactions
-
-    my ( $val, $msg ) = $self->_Set(
-                      Field             => 'Owner',
-                      RecordTransaction => 0,
-                      Value             => $NewOwnerObj->Id,
-                      TimeTaken         => 0,
-                      TransactionType   => $Type,
-                      CheckACL          => 0,                  # don't check acl
-    );
-
-    unless ($val) {
-        $RT::Handle->Rollback;
-        return ( 0, $self->loc("Could not change owner. ") . $msg );
-    }
-
-    $RT::Handle->Commit();
-
-    my ( $trans, $msg, undef ) = $self->_NewTransaction(
-                                                   Type     => $Type,
-                                                   Field    => 'Owner',
-                                                   NewValue => $NewOwnerObj->Id,
-                                                   OldValue => $OldOwnerObj->Id,
-                                                   TimeTaken => 0 );
-
-    if ($trans) {
-        $msg = $self->loc( "Owner changed from [_1] to [_2]",
-                           $OldOwnerObj->Name, $NewOwnerObj->Name );
-
-        # TODO: make sure the trans committed properly
-    }
-    return ( $trans, $msg );
-
-}
-
-# }}}
-
-# {{{ sub Take
-
-=head2 Take
-
-A convenince method to set the ticket's owner to the current user
-
-=cut
-
-sub Take {
-    my $self = shift;
-    return ( $self->SetOwner( $self->CurrentUser->Id, 'Take' ) );
-}
-
-# }}}
-
-# {{{ sub Untake
-
-=head2 Untake
-
-Convenience method to set the owner to 'nobody' if the current user is the owner.
-
-=cut
-
-sub Untake {
-    my $self = shift;
-    return ( $self->SetOwner( $RT::Nobody->UserObj->Id, 'Untake' ) );
-}
-
-# }}}
-
-# {{{ sub Steal 
-
-=head2 Steal
-
-A convenience method to change the owner of the current ticket to the
-current user. Even if it's owned by another user.
-
-=cut
-
-sub Steal {
-    my $self = shift;
-
-    if ( $self->IsOwner( $self->CurrentUser ) ) {
-        return ( 0, $self->loc("You already own this ticket") );
-    }
-    else {
-        return ( $self->SetOwner( $self->CurrentUser->Id, 'Steal' ) );
-
-    }
-
-}
-
-# }}}
-
-# }}}
-
-# {{{ Routines dealing with status
-
-# {{{ sub ValidateStatus 
-
-=head2 ValidateStatus STATUS
-
-Takes a string. Returns true if that status is a valid status for this ticket.
-Returns false otherwise.
-
-=cut
-
-sub ValidateStatus {
-    my $self   = shift;
-    my $status = shift;
-
-    #Make sure the status passed in is valid
-    unless ( $self->QueueObj->IsValidStatus($status) ) {
-        return (undef);
-    }
-
-    return (1);
-
-}
-
-# }}}
-
-# {{{ sub SetStatus
-
-=head2 SetStatus STATUS
-
-Set this ticket\'s status. STATUS can be one of: new, open, stalled, resolved, rejected or deleted.
-
-Alternatively, you can pass in a list of named parameters (Status => STATUS, Force => FORCE).  If FORCE is true, ignore unresolved dependencies and force a status change.
-
-=begin testing
-
-my $tt = RT::Ticket->new($RT::SystemUser);
-my ($id, $tid, $msg)= $tt->Create(Queue => 'general',
-            Subject => 'test');
-ok($id, $msg);
-is($tt->Status, 'new', "New ticket is created as new");
-
-($id, $msg) = $tt->SetStatus('open');
-ok($id, $msg);
-like($msg, qr/open/i, "Status message is correct");
-($id, $msg) = $tt->SetStatus('resolved');
-ok($id, $msg);
-like($msg, qr/resolved/i, "Status message is correct");
-($id, $msg) = $tt->SetStatus('resolved');
-ok(!$id,$msg);
-
-
-=end testing
-
-
-=cut
-
-sub SetStatus {
-    my $self   = shift;
-    my %args;
-
-    if (@_ == 1) {
-       $args{Status} = shift;
-    }
-    else {
-       %args = (@_);
-    }
-
-    #Check ACL
-    if ( $args{Status} eq 'deleted') {
-            unless ($self->CurrentUserHasRight('DeleteTicket')) {
-            return ( 0, $self->loc('Permission Denied') );
-       }
-    } else {
-            unless ($self->CurrentUserHasRight('ModifyTicket')) {
-            return ( 0, $self->loc('Permission Denied') );
-       }
-    }
-
-    if (!$args{Force} && ($args{'Status'} eq 'resolved') && $self->HasUnresolvedDependencies) {
-        return (0, $self->loc('That ticket has unresolved dependencies'));
-    }
-
-    my $now = RT::Date->new( $self->CurrentUser );
-    $now->SetToNow();
-
-    #If we're changing the status from new, record that we've started
-    if ( ( $self->Status =~ /new/ ) && ( $args{Status} ne 'new' ) ) {
-
-        #Set the Started time to "now"
-        $self->_Set( Field             => 'Started',
-                     Value             => $now->ISO,
-                     RecordTransaction => 0 );
-    }
-
-    #When we close a ticket, set the 'Resolved' attribute to now.
-    # It's misnamed, but that's just historical.
-    if ( $self->QueueObj->IsInactiveStatus($args{Status}) ) {
-        $self->_Set( Field             => 'Resolved',
-                     Value             => $now->ISO,
-                     RecordTransaction => 0 );
-    }
-
-    #Actually update the status
-   my ($val, $msg)= $self->_Set( Field           => 'Status',
-                          Value           => $args{Status},
-                          TimeTaken       => 0,
-                          CheckACL      => 0,
-                          TransactionType => 'Status'  );
-
-    return($val,$msg);
-}
-
-# }}}
-
-# {{{ sub Kill
-
-=head2 Kill
-
-Takes no arguments. Marks this ticket for garbage collection
-
-=cut
-
-sub Kill {
-    my $self = shift;
-    $RT::Logger->crit("'Kill' is deprecated. use 'Delete' instead.");
-    return $self->Delete;
-}
-
-sub Delete {
-    my $self = shift;
-    return ( $self->SetStatus('deleted') );
-
-    # TODO: garbage collection
-}
-
-# }}}
-
-# {{{ sub Stall
-
-=head2 Stall
-
-Sets this ticket's status to stalled
-
-=cut
-
-sub Stall {
-    my $self = shift;
-    return ( $self->SetStatus('stalled') );
-}
-
-# }}}
-
-# {{{ sub Reject
-
-=head2 Reject
-
-Sets this ticket's status to rejected
-
-=cut
-
-sub Reject {
-    my $self = shift;
-    return ( $self->SetStatus('rejected') );
-}
-
-# }}}
-
-# {{{ sub Open
-
-=head2 Open
-
-Sets this ticket\'s status to Open
-
-=cut
-
-sub Open {
-    my $self = shift;
-    return ( $self->SetStatus('open') );
-}
-
-# }}}
-
-# {{{ sub Resolve
-
-=head2 Resolve
-
-Sets this ticket\'s status to Resolved
-
-=cut
-
-sub Resolve {
-    my $self = shift;
-    return ( $self->SetStatus('resolved') );
-}
-
-# }}}
-
-# }}}
-
-       
-# {{{ Actions + Routines dealing with transactions
-
-# {{{ sub SetTold and _SetTold
-
-=head2 SetTold ISO  [TIMETAKEN]
-
-Updates the told and records a transaction
-
-=cut
-
-sub SetTold {
-    my $self = shift;
-    my $told;
-    $told = shift if (@_);
-    my $timetaken = shift || 0;
-
-    unless ( $self->CurrentUserHasRight('ModifyTicket') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    my $datetold = new RT::Date( $self->CurrentUser );
-    if ($told) {
-        $datetold->Set( Format => 'iso',
-                        Value  => $told );
-    }
-    else {
-        $datetold->SetToNow();
-    }
-
-    return ( $self->_Set( Field           => 'Told',
-                          Value           => $datetold->ISO,
-                          TimeTaken       => $timetaken,
-                          TransactionType => 'Told' ) );
-}
-
-=head2 _SetTold
-
-Updates the told without a transaction or acl check. Useful when we're sending replies.
-
-=cut
-
-sub _SetTold {
-    my $self = shift;
-
-    my $now = new RT::Date( $self->CurrentUser );
-    $now->SetToNow();
-
-    #use __Set to get no ACLs ;)
-    return ( $self->__Set( Field => 'Told',
-                           Value => $now->ISO ) );
-}
-
-# }}}
-
-=head2 TransactionBatch
-
-  Returns an array reference of all transactions created on this ticket during
-  this ticket object's lifetime, or undef if there were none.
-
-  Only works when the $RT::UseTransactionBatch config variable is set to true.
-
-=cut
-
-sub TransactionBatch {
-    my $self = shift;
-    return $self->{_TransactionBatch};
-}
-
-sub DESTROY {
-    my $self = shift;
-
-    # DESTROY methods need to localize $@, or it may unset it.  This
-    # causes $m->abort to not bubble all of the way up.  See perlbug
-    # http://rt.perl.org/rt3/Ticket/Display.html?id=17650
-    local $@;
-
-    # The following line eliminates reentrancy.
-    # It protects against the fact that perl doesn't deal gracefully
-    # when an object's refcount is changed in its destructor.
-    return if $self->{_Destroyed}++;
-
-    my $batch = $self->TransactionBatch or return;
-    require RT::Scrips;
-    RT::Scrips->new($RT::SystemUser)->Apply(
-       Stage           => 'TransactionBatch',
-       TicketObj       => $self,
-       TransactionObj  => $batch->[0],
-       Type            => join(',', (map { $_->Type } @{$batch}) )
-    );
-}
-
-# }}}
-
-# {{{ PRIVATE UTILITY METHODS. Mostly needed so Ticket can be a DBIx::Record
-
-# {{{ sub _OverlayAccessible
-
-sub _OverlayAccessible {
-    {
-        EffectiveId       => { 'read' => 1,  'write' => 1,  'public' => 1 },
-          Queue           => { 'read' => 1,  'write' => 1 },
-          Requestors      => { 'read' => 1,  'write' => 1 },
-          Owner           => { 'read' => 1,  'write' => 1 },
-          Subject         => { 'read' => 1,  'write' => 1 },
-          InitialPriority => { 'read' => 1,  'write' => 1 },
-          FinalPriority   => { 'read' => 1,  'write' => 1 },
-          Priority        => { 'read' => 1,  'write' => 1 },
-          Status          => { 'read' => 1,  'write' => 1 },
-          TimeEstimated      => { 'read' => 1,  'write' => 1 },
-          TimeWorked      => { 'read' => 1,  'write' => 1 },
-          TimeLeft        => { 'read' => 1,  'write' => 1 },
-          Told            => { 'read' => 1,  'write' => 1 },
-          Resolved        => { 'read' => 1 },
-          Type            => { 'read' => 1 },
-          Starts        => { 'read' => 1, 'write' => 1 },
-          Started       => { 'read' => 1, 'write' => 1 },
-          Due           => { 'read' => 1, 'write' => 1 },
-          Creator       => { 'read' => 1, 'auto'  => 1 },
-          Created       => { 'read' => 1, 'auto'  => 1 },
-          LastUpdatedBy => { 'read' => 1, 'auto'  => 1 },
-          LastUpdated   => { 'read' => 1, 'auto'  => 1 }
-    };
-
-}
-
-# }}}
-
-# {{{ sub _Set
-
-sub _Set {
-    my $self = shift;
-
-    my %args = ( Field             => undef,
-                 Value             => undef,
-                 TimeTaken         => 0,
-                 RecordTransaction => 1,
-                 UpdateTicket      => 1,
-                 CheckACL          => 1,
-                 TransactionType   => 'Set',
-                 @_ );
-
-    if ($args{'CheckACL'}) {
-      unless ( $self->CurrentUserHasRight('ModifyTicket')) {
-          return ( 0, $self->loc("Permission Denied"));
-      }
-   }
-
-    unless ($args{'UpdateTicket'} || $args{'RecordTransaction'}) {
-        $RT::Logger->error("Ticket->_Set called without a mandate to record an update or update the ticket");
-        return(0, $self->loc("Internal Error"));
-    }
-
-    #if the user is trying to modify the record
-
-    #Take care of the old value we really don't want to get in an ACL loop.
-    # so ask the super::_Value
-    my $Old = $self->SUPER::_Value("$args{'Field'}");
-    
-    my ($ret, $msg);
-    if ( $args{'UpdateTicket'}  ) {
-
-        #Set the new value
-        ( $ret, $msg ) = $self->SUPER::_Set( Field => $args{'Field'},
-                                                Value => $args{'Value'} );
-    
-        #If we can't actually set the field to the value, don't record
-        # a transaction. instead, get out of here.
-        if ( $ret == 0 ) { return ( 0, $msg ); }
-    }
-
-    if ( $args{'RecordTransaction'} == 1 ) {
-
-        my ( $Trans, $Msg, $TransObj ) = $self->_NewTransaction(
-                                               Type => $args{'TransactionType'},
-                                               Field     => $args{'Field'},
-                                               NewValue  => $args{'Value'},
-                                               OldValue  => $Old,
-                                               TimeTaken => $args{'TimeTaken'},
-        );
-        return ( $Trans, scalar $TransObj->BriefDescription );
-    }
-    else {
-        return ( $ret, $msg );
-    }
-}
-
-# }}}
-
-# {{{ sub _Value 
-
-=head2 _Value
-
-Takes the name of a table column.
-Returns its value as a string, if the user passes an ACL check
-
-=cut
-
-sub _Value {
-
-    my $self  = shift;
-    my $field = shift;
-
-    #if the field is public, return it.
-    if ( $self->_Accessible( $field, 'public' ) ) {
-
-        #$RT::Logger->debug("Skipping ACL check for $field\n");
-        return ( $self->SUPER::_Value($field) );
-
-    }
-
-    #If the current user doesn't have ACLs, don't let em at it.  
-
-    unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-        return (undef);
-    }
-    return ( $self->SUPER::_Value($field) );
-
-}
-
-# }}}
-
-# {{{ sub _UpdateTimeTaken
-
-=head2 _UpdateTimeTaken
-
-This routine will increment the timeworked counter. it should
-only be called from _NewTransaction 
-
-=cut
-
-sub _UpdateTimeTaken {
-    my $self    = shift;
-    my $Minutes = shift;
-    my ($Total);
-
-    $Total = $self->SUPER::_Value("TimeWorked");
-    $Total = ( $Total || 0 ) + ( $Minutes || 0 );
-    $self->SUPER::_Set(
-        Field => "TimeWorked",
-        Value => $Total
-    );
-
-    return ($Total);
-}
-
-# }}}
-
-# }}}
-
-# {{{ Routines dealing with ACCESS CONTROL
-
-# {{{ sub CurrentUserHasRight 
-
-=head2 CurrentUserHasRight
-
-  Takes the textual name of a Ticket scoped right (from RT::ACE) and returns
-1 if the user has that right. It returns 0 if the user doesn't have that right.
-
-=cut
-
-sub CurrentUserHasRight {
-    my $self  = shift;
-    my $right = shift;
-
-    return (
-        $self->HasRight(
-            Principal => $self->CurrentUser->UserObj(),
-            Right     => "$right"
-          )
-    );
-
-}
-
-# }}}
-
-# {{{ sub HasRight 
-
-=head2 HasRight
-
- Takes a paramhash with the attributes 'Right' and 'Principal'
-  'Right' is a ticket-scoped textual right from RT::ACE 
-  'Principal' is an RT::User object
-
-  Returns 1 if the principal has the right. Returns undef if not.
-
-=cut
-
-sub HasRight {
-    my $self = shift;
-    my %args = (
-        Right     => undef,
-        Principal => undef,
-        @_
-    );
-
-    unless ( ( defined $args{'Principal'} ) and ( ref( $args{'Principal'} ) ) )
-    {
-        Carp::cluck;
-        $RT::Logger->crit("Principal attrib undefined for Ticket::HasRight");
-        return(undef);
-    }
-
-    return (
-        $args{'Principal'}->HasRight(
-            Object => $self,
-            Right     => $args{'Right'}
-          )
-    );
-}
-
-# }}}
-
-# }}}
-
-# {{{ sub Transactions 
-
-=head2 Transactions
-
-  Returns an RT::Transactions object of all transactions on this ticket
-
-=cut
-
-sub Transactions {
-    my $self = shift;
-
-    my $transactions = RT::Transactions->new( $self->CurrentUser );
-
-    #If the user has no rights, return an empty object
-    if ( $self->CurrentUserHasRight('ShowTicket') ) {
-        $transactions->LimitToTicket($self->id);
-
-        # if the user may not see comments do not return them
-        unless ( $self->CurrentUserHasRight('ShowTicketComments') ) {
-            $transactions->Limit(
-                FIELD    => 'Type',
-                OPERATOR => '!=',
-                VALUE    => "Comment"
-            );
-            $transactions->Limit(
-                FIELD    => 'Type',
-                OPERATOR => '!=',
-                VALUE    => "CommentEmailRecord",
-                ENTRYAGGREGATOR => 'AND'
-            );
-
-        }
-    }
-
-    return ($transactions);
-}
-
-# }}}
-
-
-# {{{ TransactionCustomFields
-
-=head2 TransactionCustomFields
-
-    Returns the custom fields that transactions on tickets will ahve.
-
-=cut
-
-sub TransactionCustomFields {
-    my $self = shift;
-    return $self->QueueObj->TicketTransactionCustomFields;
-}
-
-# }}}
-
-# {{{ sub CustomFieldValues
-
-=head2 CustomFieldValues
-
-# Do name => id mapping (if needed) before falling back to
-# RT::Record's CustomFieldValues
-
-See L<RT::Record>
-
-=cut
-
-sub CustomFieldValues {
-    my $self  = shift;
-    my $field = shift;
-    unless ( $field =~ /^\d+$/ ) {
-        my $cf = RT::CustomField->new( $self->CurrentUser );
-        $cf->LoadByNameAndQueue( Name => $field, Queue => $self->QueueObj->Id );
-        unless ( $cf->id ) {
-            $cf->LoadByNameAndQueue( Name => $field, Queue => '0' );
-        }
-        $field = $cf->id;
-    }
-    return $self->SUPER::CustomFieldValues($field);
-}
-
-# }}}
-
-# {{{ sub CustomFieldLookupType
-
-=head2 CustomFieldLookupType
-
-Returns the RT::Ticket lookup type, which can be passed to 
-RT::CustomField->Create() via the 'LookupType' hash key.
-
-=cut
-
-# }}}
-
-sub CustomFieldLookupType {
-    "RT::Queue-RT::Ticket";
-}
-
-1;
-
-=head1 AUTHOR
-
-Jesse Vincent, jesse@bestpractical.com
-
-=head1 SEE ALSO
-
-RT
-
-=cut
-
diff --git a/rt/lib/RT/Tickets.pm b/rt/lib/RT/Tickets.pm
deleted file mode 100755 (executable)
index 0f880e1..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Tickets -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Tickets
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Tickets;
-
-use RT::SearchBuilder;
-use RT::Ticket;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Tickets';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Ticket item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Ticket->new($self->CurrentUser));
-}
-
-        eval "require RT::Tickets_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Tickets_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Tickets_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Tickets_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Tickets_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Tickets_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Tickets_Overlay, RT::Tickets_Vendor, RT::Tickets_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Tickets_Overlay.pm b/rt/lib/RT/Tickets_Overlay.pm
deleted file mode 100644 (file)
index 0e6585c..0000000
+++ /dev/null
@@ -1,2673 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Major Changes:
-
-# - Decimated ProcessRestrictions and broke it into multiple
-# functions joined by a LUT
-# - Semi-Generic SQL stuff moved to another file
-
-# Known Issues: FIXME!
-
-# - ClearRestrictions and Reinitialization is messy and unclear.  The
-# only good way to do it is to create a new RT::Tickets object.
-
-=head1 NAME
-
-  RT::Tickets - A collection of Ticket objects
-
-
-=head1 SYNOPSIS
-
-  use RT::Tickets;
-  my $tickets = new RT::Tickets($CurrentUser);
-
-=head1 DESCRIPTION
-
-   A collection of RT::Tickets.
-
-=head1 METHODS
-
-=begin testing
-
-ok (require RT::Tickets);
-ok( my $testtickets = RT::Tickets->new( $RT::SystemUser ) );
-ok( $testtickets->LimitStatus( VALUE => 'deleted' ) );
-# Should be zero until 'allow_deleted_search'
-ok( $testtickets->Count == 0 );
-
-=end testing
-
-=cut
-
-package RT::Tickets;
-
-use strict;
-
-package RT::Tickets;
-
-no warnings qw(redefine);
-use vars qw(@SORTFIELDS);
-use RT::CustomFields;
-
-# Configuration Tables:
-
-# FIELDS is a mapping of searchable Field name, to Type, and other
-# metadata.
-
-my %FIELDS = (
-    Status          => ['ENUM'],
-    Queue           => [ 'ENUM' => 'Queue', ],
-    Type            => [ 'ENUM', ],
-    Creator         => [ 'ENUM' => 'User', ],
-    LastUpdatedBy   => [ 'ENUM' => 'User', ],
-    Owner           => [ 'ENUM' => 'User', ],
-    EffectiveId     => [ 'INT', ],
-    id              => [ 'INT', ],
-    InitialPriority => [ 'INT', ],
-    FinalPriority   => [ 'INT', ],
-    Priority        => [ 'INT', ],
-    TimeLeft        => [ 'INT', ],
-    TimeWorked      => [ 'INT', ],
-    MemberOf        => [ 'LINK' => To => 'MemberOf', ],
-    DependsOn       => [ 'LINK' => To => 'DependsOn', ],
-    RefersTo        => [ 'LINK' => To => 'RefersTo', ],
-    HasMember       => [ 'LINK' => From => 'MemberOf', ],
-    DependentOn     => [ 'LINK' => From => 'DependsOn', ],
-    DependedOnBy    => [ 'LINK' => From => 'DependsOn', ],
-    ReferredToBy    => [ 'LINK' => From => 'RefersTo', ],
-    Told           => ['DATE' => 'Told',],
-    Starts         => ['DATE' => 'Starts',],
-    Started        => ['DATE' => 'Started',],
-    Due                    => ['DATE' => 'Due',],
-    Resolved       => ['DATE' => 'Resolved',],
-    LastUpdated            => ['DATE' => 'LastUpdated',],
-    Created        => ['DATE' => 'Created',],
-    Subject        => ['STRING',],
-    Content        => ['TRANSFIELD',],
-    ContentType            => ['TRANSFIELD',],
-    Filename        => ['TRANSFIELD',],
-    TransactionDate => ['TRANSDATE',],
-    Requestor       => ['WATCHERFIELD' => 'Requestor',],
-    Requestors       => ['WATCHERFIELD' => 'Requestor',],
-    Cc              => ['WATCHERFIELD' => 'Cc',],
-    AdminCc         => ['WATCHERFIELD' => 'AdminCc',],
-    Watcher        => ['WATCHERFIELD'],
-    LinkedTo       => ['LINKFIELD',],
-    CustomFieldValue =>['CUSTOMFIELD',],
-    CF              => ['CUSTOMFIELD',],
-    Updated          => [ 'TRANSDATE', ],
-    RequestorGroup   => [ 'MEMBERSHIPFIELD' => 'Requestor', ],
-    CCGroup          => [ 'MEMBERSHIPFIELD' => 'Cc', ],
-    AdminCCGroup     => [ 'MEMBERSHIPFIELD' => 'AdminCc', ],
-    WatcherGroup     => [ 'MEMBERSHIPFIELD', ],
-);
-
-# Mapping of Field Type to Function
-my %dispatch = (
-    ENUM            => \&_EnumLimit,
-    INT             => \&_IntLimit,
-    LINK            => \&_LinkLimit,
-    DATE            => \&_DateLimit,
-    STRING          => \&_StringLimit,
-    TRANSFIELD      => \&_TransLimit,
-    TRANSDATE       => \&_TransDateLimit,
-    WATCHERFIELD    => \&_WatcherLimit,
-    MEMBERSHIPFIELD => \&_WatcherMembershipLimit,
-    LINKFIELD       => \&_LinkFieldLimit,
-    CUSTOMFIELD     => \&_CustomFieldLimit,
-);
-my %can_bundle = ( WATCHERFIELD => "yeps", );
-
-# Default EntryAggregator per type
-# if you specify OP, you must specify all valid OPs
-my %DefaultEA = (
-    INT  => 'AND',
-    ENUM => {
-        '='  => 'OR',
-        '!=' => 'AND'
-    },
-    DATE => {
-        '='  => 'OR',
-        '>=' => 'AND',
-        '<=' => 'AND',
-        '>'  => 'AND',
-        '<'  => 'AND'
-    },
-    STRING => {
-        '='        => 'OR',
-        '!='       => 'AND',
-        'LIKE'     => 'AND',
-        'NOT LIKE' => 'AND'
-    },
-    TRANSFIELD   => 'AND',
-    TRANSDATE    => 'AND',
-    LINK         => 'OR',
-    LINKFIELD    => 'AND',
-    TARGET       => 'AND',
-    BASE         => 'AND',
-    WATCHERFIELD => {
-        '='        => 'OR',
-        '!='       => 'AND',
-        'LIKE'     => 'OR',
-        'NOT LIKE' => 'AND'
-    },
-
-    CUSTOMFIELD => 'OR',
-);
-
-# Helper functions for passing the above lexically scoped tables above
-# into Tickets_Overlay_SQL.
-sub FIELDS     { return \%FIELDS }
-sub dispatch   { return \%dispatch }
-sub can_bundle { return \%can_bundle }
-
-# Bring in the clowns.
-require RT::Tickets_Overlay_SQL;
-
-# {{{ sub SortFields
-
-@SORTFIELDS = qw(id Status
-  Queue Subject
-  Owner Created Due Starts Started
-  Told
-  Resolved LastUpdated Priority TimeWorked TimeLeft);
-
-=head2 SortFields
-
-Returns the list of fields that lists of tickets can easily be sorted by
-
-=cut
-
-sub SortFields {
-    my $self = shift;
-    return (@SORTFIELDS);
-}
-
-# }}}
-
-# BEGIN SQL STUFF *********************************
-
-=head1 Limit Helper Routines
-
-These routines are the targets of a dispatch table depending on the
-type of field.  They all share the same signature:
-
-  my ($self,$field,$op,$value,@rest) = @_;
-
-The values in @rest should be suitable for passing directly to
-DBIx::SearchBuilder::Limit.
-
-Essentially they are an expanded/broken out (and much simplified)
-version of what ProcessRestrictions used to do.  They're also much
-more clearly delineated by the TYPE of field being processed.
-
-=head2 _EnumLimit
-
-Handle Fields which are limited to certain values, and potentially
-need to be looked up from another class.
-
-This subroutine actually handles two different kinds of fields.  For
-some the user is responsible for limiting the values.  (i.e. Status,
-Type).
-
-For others, the value specified by the user will be looked by via
-specified class.
-
-Meta Data:
-  name of class to lookup in (Optional)
-
-=cut
-
-sub _EnumLimit {
-    my ( $sb, $field, $op, $value, @rest ) = @_;
-
-    # SQL::Statement changes != to <>.  (Can we remove this now?)
-    $op = "!=" if $op eq "<>";
-
-    die "Invalid Operation: $op for $field"
-      unless $op eq "=" or $op eq "!=";
-
-    my $meta = $FIELDS{$field};
-    if ( defined $meta->[1] ) {
-        my $class = "RT::" . $meta->[1];
-        my $o     = $class->new( $sb->CurrentUser );
-        $o->Load($value);
-        $value = $o->Id;
-    }
-    $sb->_SQLLimit(
-        FIELD    => $field,
-        VALUE    => $value,
-        OPERATOR => $op,
-        @rest,
-    );
-}
-
-=head2 _IntLimit
-
-Handle fields where the values are limited to integers.  (For example,
-Priority, TimeWorked.)
-
-Meta Data:
-  None
-
-=cut
-
-sub _IntLimit {
-    my ( $sb, $field, $op, $value, @rest ) = @_;
-
-    die "Invalid Operator $op for $field"
-      unless $op =~ /^(=|!=|>|<|>=|<=)$/;
-
-    $sb->_SQLLimit(
-        FIELD    => $field,
-        VALUE    => $value,
-        OPERATOR => $op,
-        @rest,
-    );
-}
-
-=head2 _LinkLimit
-
-Handle fields which deal with links between tickets.  (MemberOf, DependsOn)
-
-Meta Data:
-  1: Direction (From,To)
-  2: Link Type (MemberOf, DependsOn,RefersTo)
-
-=cut
-
-sub _LinkLimit {
-    my ( $sb, $field, $op, $value, @rest ) = @_;
-
-    my $meta = $FIELDS{$field};
-    die "Invalid Operator $op for $field" unless $op =~ /^(=|!=|IS)/io;
-
-    die "Incorrect Metadata for $field"
-      unless ( defined $meta->[1] and defined $meta->[2] );
-
-    my $direction = $meta->[1];
-
-    my $matchfield;
-    my $linkfield;
-    my $is_local = 1;
-    my $is_null  = 0;
-    if ( $direction eq 'To' ) {
-        $matchfield = "Target";
-        $linkfield  = "Base";
-
-    }
-    elsif ( $direction eq 'From' ) {
-        $linkfield  = "Target";
-        $matchfield = "Base";
-
-    }
-    else {
-        die "Invalid link direction '$meta->[1]' for $field\n";
-    }
-
-    if ( $op eq '=' || $op =~ /^is/oi ) {
-        if ( $value eq '' || $value =~ /^null$/io ) {
-            $is_null = 1;
-        }
-        elsif ( $value =~ /\D/o ) {
-            $is_local = 0;
-        }
-        else {
-            $is_local = 1;
-        }
-    }
-
-#For doing a left join to find "unlinked tickets" we want to generate a query that looks like this
-#    SELECT main.* FROM Tickets main
-#        LEFT JOIN Links Links_1 ON (     (Links_1.Type = 'MemberOf')
-#                                      AND(main.id = Links_1.LocalTarget))
-#        WHERE   ((main.EffectiveId = main.id))
-#            AND ((main.Status != 'deleted'))
-#            AND (Links_1.LocalBase IS NULL);
-
-    if ($is_null) {
-        my $linkalias = $sb->Join(
-            TYPE   => 'left',
-            ALIAS1 => 'main',
-            FIELD1 => 'id',
-            TABLE2 => 'Links',
-            FIELD2 => 'Local' . $linkfield
-        );
-
-        $sb->SUPER::Limit(
-            LEFTJOIN => $linkalias,
-            FIELD    => 'Type',
-            OPERATOR => '=',
-            VALUE    => $meta->[2],
-            @rest,
-        );
-
-        $sb->_SQLLimit(
-            ALIAS           => $linkalias,
-            ENTRYAGGREGATOR => 'AND',
-            FIELD           => ( $is_local ? "Local$matchfield" : $matchfield ),
-            OPERATOR        => 'IS',
-            VALUE           => 'NULL',
-            QUOTEVALUE      => '0',
-        );
-
-    }
-    else {
-
-        $sb->{_sql_linkalias} = $sb->NewAlias('Links')
-          unless defined $sb->{_sql_linkalias};
-
-        $sb->_OpenParen();
-
-        $sb->_SQLLimit(
-            ALIAS    => $sb->{_sql_linkalias},
-            FIELD    => 'Type',
-            OPERATOR => '=',
-            VALUE    => $meta->[2],
-            @rest,
-        );
-
-        $sb->_SQLLimit(
-            ALIAS           => $sb->{_sql_linkalias},
-            ENTRYAGGREGATOR => 'AND',
-            FIELD           => ( $is_local ? "Local$matchfield" : $matchfield ),
-            OPERATOR        => '=',
-            VALUE           => $value,
-        );
-
-        #If we're searching on target, join the base to ticket.id
-        $sb->_SQLJoin(
-            ALIAS1 => 'main',
-            FIELD1 => $sb->{'primary_key'},
-            ALIAS2 => $sb->{_sql_linkalias},
-            FIELD2 => 'Local' . $linkfield
-        );
-
-        $sb->_CloseParen();
-    }
-}
-
-=head2 _DateLimit
-
-Handle date fields.  (Created, LastTold..)
-
-Meta Data:
-  1: type of link.  (Probably not necessary.)
-
-=cut
-
-sub _DateLimit {
-    my ( $sb, $field, $op, $value, @rest ) = @_;
-
-    die "Invalid Date Op: $op"
-      unless $op =~ /^(=|>|<|>=|<=)$/;
-
-    my $meta = $FIELDS{$field};
-    die "Incorrect Meta Data for $field"
-      unless ( defined $meta->[1] );
-
-    use POSIX 'strftime';
-    
-    my $date = RT::Date->new($sb->CurrentUser);
-    $date->Set(Format => 'unknown', Value => $value); 
-    my $time = $date->Unix;
-
-    if ( $op eq "=" ) {
-
-        # if we're specifying =, that means we want everything on a
-        # particular single day.  in the database, we need to check for >
-        # and < the edges of that day.
-
-        my $daystart =
-          strftime( "%Y-%m-%d %H:%M", gmtime( $time - ( $time % 86400 ) ) );
-        my $dayend = strftime( "%Y-%m-%d %H:%M",
-            gmtime( $time + ( 86399 - $time % 86400 ) ) );
-
-        $sb->_OpenParen;
-
-        $sb->_SQLLimit(
-            FIELD    => $meta->[1],
-            OPERATOR => ">=",
-            VALUE    => $daystart,
-            @rest,
-        );
-
-        $sb->_SQLLimit(
-            FIELD    => $meta->[1],
-            OPERATOR => "<=",
-            VALUE    => $dayend,
-            @rest,
-            ENTRYAGGREGATOR => 'AND',
-        );
-
-        $sb->_CloseParen;
-
-    }
-    else {
-        $value = strftime( "%Y-%m-%d %H:%M", gmtime($time) );
-        $sb->_SQLLimit(
-            FIELD    => $meta->[1],
-            OPERATOR => $op,
-            VALUE    => $value,
-            @rest,
-        );
-    }
-}
-
-=head2 _StringLimit
-
-Handle simple fields which are just strings.  (Subject,Type)
-
-Meta Data:
-  None
-
-=cut
-
-sub _StringLimit {
-    my ( $sb, $field, $op, $value, @rest ) = @_;
-
-    # FIXME:
-    # Valid Operators:
-    #  =, !=, LIKE, NOT LIKE
-
-    $sb->_SQLLimit(
-        FIELD         => $field,
-        OPERATOR      => $op,
-        VALUE         => $value,
-        CASESENSITIVE => 0,
-        @rest,
-    );
-}
-
-=head2 _TransDateLimit
-
-Handle fields limiting based on Transaction Date.
-
-The inpupt value must be in a format parseable by Time::ParseDate
-
-Meta Data:
-  None
-
-=cut
-
-# This routine should really be factored into translimit.
-sub _TransDateLimit {
-    my ( $sb, $field, $op, $value, @rest ) = @_;
-
-    # See the comments for TransLimit, they apply here too
-
-    $sb->{_sql_transalias} = $sb->NewAlias('Transactions')
-        unless defined $sb->{_sql_transalias};
-    $sb->{_sql_trattachalias} = $sb->NewAlias('Attachments')
-        unless defined $sb->{_sql_trattachalias};
-
-    my $date = RT::Date->new( $sb->CurrentUser );
-    $date->Set( Format => 'unknown', Value => $value );
-    my $time = $date->Unix;
-
-    $sb->_OpenParen;
-    if ( $op eq "=" ) {
-
-        # if we're specifying =, that means we want everything on a
-        # particular single day.  in the database, we need to check for >
-        # and < the edges of that day.
-
-        my $daystart = strftime( "%Y-%m-%d %H:%M",
-            gmtime( $time - ( $time % 86400 ) ) );
-        my $dayend = strftime( "%Y-%m-%d %H:%M",
-            gmtime( $time + ( 86399 - $time % 86400 ) ) );
-
-        $sb->_SQLLimit(
-            ALIAS         => $sb->{_sql_transalias},
-            FIELD         => 'Created',
-            OPERATOR      => ">=",
-            VALUE         => $daystart,
-            CASESENSITIVE => 0,
-            @rest
-        );
-        $sb->_SQLLimit(
-            ALIAS           => $sb->{_sql_transalias},
-            FIELD           => 'Created',
-            OPERATOR        => "<=",
-            VALUE           => $dayend,
-            CASESENSITIVE   => 0,
-            @rest,
-            ENTRYAGGREGATOR => 'AND',
-        );
-
-    }
-
-    # not searching for a single day
-    else {
-
-        #Search for the right field
-        $sb->_SQLLimit(
-            ALIAS         => $sb->{_sql_transalias},
-            FIELD         => 'Created',
-            OPERATOR      => $op,
-            VALUE         => $value,
-            CASESENSITIVE => 0,
-            @rest
-        );
-    }
-
-    # Join Transactions To Attachments
-
-    $sb->_SQLJoin(
-        ALIAS1 => $sb->{_sql_trattachalias},
-        FIELD1 => 'TransactionId',
-        ALIAS2 => $sb->{_sql_transalias},
-        FIELD2 => 'id',
-    );
-
-    # Join Transactions to Tickets
-    $sb->_SQLJoin(
-        ALIAS1 => 'main',
-        FIELD1 => $sb->{'primary_key'},     # UGH!
-        ALIAS2 => $sb->{_sql_transalias},
-        FIELD2 => 'ObjectId'
-    );
-
-    $sb->SUPER::Limit(
-        ALIAS => $sb->{_sql_transalias},
-        FIELD => 'ObjectType',
-        VALUE => 'RT::Ticket'
-    );
-
-    $sb->_CloseParen;
-}
-
-=head2 _TransLimit
-
-Limit based on the Content of a transaction or the ContentType.
-
-Meta Data:
-  none
-
-=cut
-
-sub _TransLimit {
-
-    # Content, ContentType, Filename
-
-    # If only this was this simple.  We've got to do something
-    # complicated here:
-
-    #Basically, we want to make sure that the limits apply to
-    #the same attachment, rather than just another attachment
-    #for the same ticket, no matter how many clauses we lump
-    #on. We put them in TicketAliases so that they get nuked
-    #when we redo the join.
-
-    # In the SQL, we might have
-    #       (( Content = foo ) or ( Content = bar AND Content = baz ))
-    # The AND group should share the same Alias.
-
-    # Actually, maybe it doesn't matter.  We use the same alias and it
-    # works itself out? (er.. different.)
-
-    # Steal more from _ProcessRestrictions
-
-    # FIXME: Maybe look at the previous FooLimit call, and if it was a
-    # TransLimit and EntryAggregator == AND, reuse the Aliases?
-
-    # Or better - store the aliases on a per subclause basis - since
-    # those are going to be the things we want to relate to each other,
-    # anyway.
-
-    # maybe we should not allow certain kinds of aggregation of these
-    # clauses and do a psuedo regex instead? - the problem is getting
-    # them all into the same subclause when you have (A op B op C) - the
-    # way they get parsed in the tree they're in different subclauses.
-
-    my ( $self, $field, $op, $value, @rest ) = @_;
-
-    $self->{_sql_transalias} = $self->NewAlias('Transactions')
-      unless defined $self->{_sql_transalias};
-    $self->{_sql_trattachalias} = $self->NewAlias('Attachments')
-      unless defined $self->{_sql_trattachalias};
-
-    $self->_OpenParen;
-
-    #Search for the right field
-    $self->_SQLLimit(
-        ALIAS         => $self->{_sql_trattachalias},
-        FIELD         => $field,
-        OPERATOR      => $op,
-        VALUE         => $value,
-        CASESENSITIVE => 0,
-        @rest
-    );
-
-    $self->_SQLJoin(
-        ALIAS1 => $self->{_sql_trattachalias},
-        FIELD1 => 'TransactionId',
-        ALIAS2 => $self->{_sql_transalias},
-        FIELD2 => 'id'
-    );
-
-    # Join Transactions to Tickets
-    $self->_SQLJoin(
-        ALIAS1 => 'main',
-        FIELD1 => $self->{'primary_key'},     # Why not use "id" here?
-        ALIAS2 => $self->{_sql_transalias},
-        FIELD2 => 'ObjectId'
-    );
-
-    $self->SUPER::Limit(
-        ALIAS           => $self->{_sql_transalias},
-        FIELD           => 'ObjectType',
-        VALUE           => 'RT::Ticket',
-        ENTRYAGGREGATOR => 'AND'
-    );
-
-    $self->_CloseParen;
-
-}
-
-=head2 _WatcherLimit
-
-Handle watcher limits.  (Requestor, CC, etc..)
-
-Meta Data:
-  1: Field to query on
-
-
-=begin testing
-
-# Test to make sure that you can search for tickets by requestor address and
-# by requestor name.
-
-my ($id,$msg);
-my $u1 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u1->Create( Name => 'RequestorTestOne', EmailAddress => 'rqtest1@example.com');
-ok ($id,$msg);
-my $u2 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u2->Create( Name => 'RequestorTestTwo', EmailAddress => 'rqtest2@example.com');
-ok ($id,$msg);
-
-my $t1 = RT::Ticket->new($RT::SystemUser);
-my ($trans);
-($id,$trans,$msg) =$t1->Create (Queue => 'general', Subject => 'Requestor test one', Requestor => [$u1->EmailAddress]);
-ok ($id, $msg);
-
-my $t2 = RT::Ticket->new($RT::SystemUser);
-($id,$trans,$msg) =$t2->Create (Queue => 'general', Subject => 'Requestor test one', Requestor => [$u2->EmailAddress]);
-ok ($id, $msg);
-
-
-my $t3 = RT::Ticket->new($RT::SystemUser);
-($id,$trans,$msg) =$t3->Create (Queue => 'general', Subject => 'Requestor test one', Requestor => [$u2->EmailAddress, $u1->EmailAddress]);
-ok ($id, $msg);
-
-
-my $tix1 = RT::Tickets->new($RT::SystemUser);
-$tix1->FromSQL('Requestor.EmailAddress LIKE "rqtest1" OR Requestor.EmailAddress LIKE "rqtest2"');
-
-is ($tix1->Count, 3);
-
-my $tix2 = RT::Tickets->new($RT::SystemUser);
-$tix2->FromSQL('Requestor.Name LIKE "TestOne" OR Requestor.Name LIKE "TestTwo"');
-
-is ($tix2->Count, 3);
-
-
-my $tix3 = RT::Tickets->new($RT::SystemUser);
-$tix3->FromSQL('Requestor.EmailAddress LIKE "rqtest1"');
-
-is ($tix3->Count, 2);
-
-my $tix4 = RT::Tickets->new($RT::SystemUser);
-$tix4->FromSQL('Requestor.Name LIKE "TestOne" ');
-
-is ($tix4->Count, 2);
-
-# Searching for tickets that have two requestors isn't supported
-# There's no way to differentiate "one requestor name that matches foo and bar"
-# and "two requestors, one matching foo and one matching bar"
-
-# my $tix5 = RT::Tickets->new($RT::SystemUser);
-# $tix5->FromSQL('Requestor.Name LIKE "TestOne" AND Requestor.Name LIKE "TestTwo"');
-# 
-# is ($tix5->Count, 1);
-# 
-# my $tix6 = RT::Tickets->new($RT::SystemUser);
-# $tix6->FromSQL('Requestor.EmailAddress LIKE "rqtest1" AND Requestor.EmailAddress LIKE "rqtest2"');
-# 
-# is ($tix6->Count, 1);
-
-
-=end testing
-
-=cut
-
-sub _WatcherLimit {
-    my $self  = shift;
-    my $field = shift;
-    my $op    = shift;
-    my $value = shift;
-    my %rest  = (@_);
-
-    $self->_OpenParen;
-
-    # Find out what sort of watcher we're looking for
-    my $fieldname;
-    if ( ref $field ) {
-        $fieldname = $field->[0]->[0];
-    }
-    else {
-        $fieldname = $field;
-    }
-    my $meta = $FIELDS{$fieldname};
-    my $type = ( defined $meta->[1] ? $meta->[1] : undef );
-
-# We only want _one_ clause for all of requestors, cc, admincc
-# It's less flexible than what we used to do, but now it sort of actually works. (no huge cartesian products that hose the db)
-    my $groups = $self->{ 'watcherlimit_' . ('global') . "_groups" } ||=
-      $self->NewAlias('Groups');
-    my $groupmembers =
-      $self->{ 'watcherlimit_' . ('global') . "_groupmembers" } ||=
-      $self->NewAlias('CachedGroupMembers');
-    my $users = $self->{ 'watcherlimit_' . ('global') . "_users" } ||=
-      $self->NewAlias('Users');
-
-# Use regular joins instead of SQL joins since we don't want the joins inside ticketsql or we get a huge cartesian product
-    $self->SUPER::Limit(
-        ALIAS           => $groups,
-        FIELD           => 'Domain',
-        VALUE           => 'RT::Ticket-Role',
-        ENTRYAGGREGATOR => 'AND'
-    );
-    $self->Join(
-        ALIAS1 => $groups,
-        FIELD1 => 'Instance',
-        ALIAS2 => 'main',
-        FIELD2 => 'id'
-    );
-    $self->Join(
-        ALIAS1 => $groups,
-        FIELD1 => 'id',
-        ALIAS2 => $groupmembers,
-        FIELD2 => 'GroupId'
-    );
-    $self->Join(
-        ALIAS1 => $groupmembers,
-        FIELD1 => 'MemberId',
-        ALIAS2 => $users,
-        FIELD2 => 'id'
-    );
-
-    # If we're looking for multiple watchers of a given type,
-    # TicketSQL will be handing it to us as an array of clauses in
-    # $field
-    if ( ref $field ) {    # gross hack
-        $self->_OpenParen;
-        for my $chunk (@$field) {
-            ( $field, $op, $value, %rest ) = @$chunk;
-            $self->_SQLLimit(
-                ALIAS         => $users,
-                FIELD         => $rest{SUBKEY} || 'EmailAddress',
-                VALUE         => $value,
-                OPERATOR      => $op,
-                CASESENSITIVE => 0,
-                %rest
-            );
-        }
-        $self->_CloseParen;
-    }
-    else {
-        $self->_SQLLimit(
-            ALIAS         => $users,
-            FIELD         => $rest{SUBKEY} || 'EmailAddress',
-            VALUE         => $value,
-            OPERATOR      => $op,
-            CASESENSITIVE => 0,
-            %rest
-        );
-    }
-
-    $self->_SQLLimit(
-        ALIAS           => $groups,
-        FIELD           => 'Type',
-        VALUE           => $type,
-        ENTRYAGGREGATOR => 'AND'
-      )
-      if ($type);
-
-    $self->_CloseParen;
-}
-
-=head2 _WatcherMembershipLimit
-
-Handle watcher membership limits, i.e. whether the watcher belongs to a
-specific group or not.
-
-Meta Data:
-  1: Field to query on
-
-SELECT DISTINCT main.*
-FROM
-    Tickets main,
-    Groups Groups_1,
-    CachedGroupMembers CachedGroupMembers_2,
-    Users Users_3
-WHERE (
-    (main.EffectiveId = main.id)
-) AND (
-    (main.Status != 'deleted')
-) AND (
-    (main.Type = 'ticket')
-) AND (
-    (
-       (Users_3.EmailAddress = '22')
-           AND
-       (Groups_1.Domain = 'RT::Ticket-Role')
-           AND
-       (Groups_1.Type = 'RequestorGroup')
-    )
-) AND
-    Groups_1.Instance = main.id
-AND
-    Groups_1.id = CachedGroupMembers_2.GroupId
-AND
-    CachedGroupMembers_2.MemberId = Users_3.id
-ORDER BY main.id ASC
-LIMIT 25
-
-=cut
-
-sub _WatcherMembershipLimit {
-    my ( $self, $field, $op, $value, @rest ) = @_;
-    my %rest = @rest;
-
-    $self->_OpenParen;
-
-    my $groups       = $self->NewAlias('Groups');
-    my $groupmembers = $self->NewAlias('CachedGroupMembers');
-    my $users        = $self->NewAlias('Users');
-    my $memberships  = $self->NewAlias('CachedGroupMembers');
-
-    if ( ref $field ) {    # gross hack
-        my @bundle = @$field;
-        $self->_OpenParen;
-        for my $chunk (@bundle) {
-            ( $field, $op, $value, @rest ) = @$chunk;
-            $self->_SQLLimit(
-                ALIAS    => $memberships,
-                FIELD    => 'GroupId',
-                VALUE    => $value,
-                OPERATOR => $op,
-                @rest,
-            );
-        }
-        $self->_CloseParen;
-    }
-    else {
-        $self->_SQLLimit(
-            ALIAS    => $memberships,
-            FIELD    => 'GroupId',
-            VALUE    => $value,
-            OPERATOR => $op,
-            @rest,
-        );
-    }
-
-    # {{{ Tie to groups for tickets we care about
-    $self->_SQLLimit(
-        ALIAS           => $groups,
-        FIELD           => 'Domain',
-        VALUE           => 'RT::Ticket-Role',
-        ENTRYAGGREGATOR => 'AND'
-    );
-
-    $self->Join(
-        ALIAS1 => $groups,
-        FIELD1 => 'Instance',
-        ALIAS2 => 'main',
-        FIELD2 => 'id'
-    );
-
-    # }}}
-
-    # If we care about which sort of watcher
-    my $meta = $FIELDS{$field};
-    my $type = ( defined $meta->[1] ? $meta->[1] : undef );
-
-    if ($type) {
-        $self->_SQLLimit(
-            ALIAS           => $groups,
-            FIELD           => 'Type',
-            VALUE           => $type,
-            ENTRYAGGREGATOR => 'AND'
-        );
-    }
-
-    $self->Join(
-        ALIAS1 => $groups,
-        FIELD1 => 'id',
-        ALIAS2 => $groupmembers,
-        FIELD2 => 'GroupId'
-    );
-
-    $self->Join(
-        ALIAS1 => $groupmembers,
-        FIELD1 => 'MemberId',
-        ALIAS2 => $users,
-        FIELD2 => 'id'
-    );
-
-    $self->Join(
-        ALIAS1 => $memberships,
-        FIELD1 => 'MemberId',
-        ALIAS2 => $users,
-        FIELD2 => 'id'
-    );
-
-    $self->_CloseParen;
-
-}
-
-sub _LinkFieldLimit {
-    my $restriction;
-    my $self;
-    my $LinkAlias;
-    my %args;
-    if ( $restriction->{'TYPE'} ) {
-        $self->SUPER::Limit(
-            ALIAS           => $LinkAlias,
-            ENTRYAGGREGATOR => 'AND',
-            FIELD           => 'Type',
-            OPERATOR        => '=',
-            VALUE           => $restriction->{'TYPE'}
-        );
-    }
-
-    #If we're trying to limit it to things that are target of
-    if ( $restriction->{'TARGET'} ) {
-
-        # If the TARGET is an integer that means that we want to look at
-        # the LocalTarget field. otherwise, we want to look at the
-        # "Target" field
-        my ($matchfield);
-        if ( $restriction->{'TARGET'} =~ /^(\d+)$/ ) {
-            $matchfield = "LocalTarget";
-        }
-        else {
-            $matchfield = "Target";
-        }
-        $self->SUPER::Limit(
-            ALIAS           => $LinkAlias,
-            ENTRYAGGREGATOR => 'AND',
-            FIELD           => $matchfield,
-            OPERATOR        => '=',
-            VALUE           => $restriction->{'TARGET'}
-        );
-
-        #If we're searching on target, join the base to ticket.id
-        $self->_SQLJoin(
-            ALIAS1 => 'main',
-            FIELD1 => $self->{'primary_key'},
-            ALIAS2 => $LinkAlias,
-            FIELD2 => 'LocalBase'
-        );
-    }
-
-    #If we're trying to limit it to things that are base of
-    elsif ( $restriction->{'BASE'} ) {
-
-        # If we're trying to match a numeric link, we want to look at
-        # LocalBase, otherwise we want to look at "Base"
-        my ($matchfield);
-        if ( $restriction->{'BASE'} =~ /^(\d+)$/ ) {
-            $matchfield = "LocalBase";
-        }
-        else {
-            $matchfield = "Base";
-        }
-
-        $self->SUPER::Limit(
-            ALIAS           => $LinkAlias,
-            ENTRYAGGREGATOR => 'AND',
-            FIELD           => $matchfield,
-            OPERATOR        => '=',
-            VALUE           => $restriction->{'BASE'}
-        );
-
-        #If we're searching on base, join the target to ticket.id
-        $self->_SQLJoin(
-            ALIAS1 => 'main',
-            FIELD1 => $self->{'primary_key'},
-            ALIAS2 => $LinkAlias,
-            FIELD2 => 'LocalTarget'
-        );
-    }
-}
-
-=head2 KeywordLimit
-
-Limit based on Keywords
-
-Meta Data:
-  none
-
-=cut
-
-sub _CustomFieldLimit {
-    my ( $self, $_field, $op, $value, @rest ) = @_;
-
-    my %rest  = @rest;
-    my $field = $rest{SUBKEY} || die "No field specified";
-
-    # For our sanity, we can only limit on one queue at a time
-    my $queue = 0;
-
-    if ( $field =~ /^(.+?)\.{(.+)}$/ ) {
-        $queue = $1;
-        $field = $2;
-    }
-    $field = $1 if $field =~ /^{(.+)}$/;    # trim { }
-
-
-# If we're trying to find custom fields that don't match something, we
-# want tickets where the custom field has no value at all.  Note that
-# we explicitly don't include the "IS NULL" case, since we would
-# otherwise end up with a redundant clause.
-
-    my $null_columns_ok;
-    if ( ( $op =~ /^NOT LIKE$/i ) or ( $op eq '!=' ) ) {
-        $null_columns_ok = 1;
-    }
-
-    my $cfid = 0;
-    if ($queue) {
-
-        my $q = RT::Queue->new( $self->CurrentUser );
-        $q->Load($queue) if ($queue);
-
-        my $cf;
-        if ( $q->id ) {
-            $cf = $q->CustomField($field);
-        }
-        else {
-            $cf = RT::CustomField->new( $self->CurrentUser );
-            $cf->LoadByNameAndQueue( Queue => '0', Name => $field );
-        }
-
-        $cfid = $cf->id;
-
-    }
-
-    my $TicketCFs;
-    my $cfkey = $cfid ? $cfid : "$queue.$field";
-
-    # Perform one Join per CustomField
-    if ( $self->{_sql_object_cf_alias}{$cfkey} ) {
-        $TicketCFs = $self->{_sql_object_cf_alias}{$cfkey};
-    }
-    else {
-        if ($cfid) {
-            $TicketCFs = $self->{_sql_object_cf_alias}{$cfkey} = $self->Join(
-                TYPE   => 'left',
-                ALIAS1 => 'main',
-                FIELD1 => 'id',
-                TABLE2 => 'ObjectCustomFieldValues',
-                FIELD2 => 'ObjectId',
-            );
-            $self->SUPER::Limit(
-                LEFTJOIN        => $TicketCFs,
-                FIELD           => 'CustomField',
-                VALUE           => $cfid,
-                ENTRYAGGREGATOR => 'AND'
-            );
-        } else {
-            my $cfalias = $self->Join(
-                TYPE   => 'left',
-                EXPRESSION =>   "'$field'",
-                TABLE2 => 'CustomFields',
-                FIELD2 => 'Name',
-            );
-
-            $TicketCFs = $self->{_sql_object_cf_alias}{$cfkey} = $self->Join(
-                TYPE   => 'left',
-                ALIAS1 => $cfalias,
-                FIELD1 => 'id',
-                TABLE2 => 'ObjectCustomFieldValues',
-                FIELD2 => 'CustomField',
-            );
-            $self->SUPER::Limit(
-                LEFTJOIN => $TicketCFs,
-                FIELD => 'ObjectId',
-                VALUE => 'main.id',
-                QUOTEVALUE => 0,
-                ENTRYAGGREGATOR => 'AND',
-            );
-        }
-        $self->SUPER::Limit(
-            LEFTJOIN => $TicketCFs,
-            FIELD    => 'ObjectType',
-            VALUE    => ref( $self->NewItem )
-            ,    # we want a single item, not a collection
-            ENTRYAGGREGATOR => 'AND'
-        );
-        $self->SUPER::Limit(
-            LEFTJOIN => $TicketCFs,
-            FIELD    => 'Disabled',
-            OPERATOR    => '=',
-            VALUE => '0',
-            ENTRYAGGREGATOR => 'AND');
-    }
-
-    $self->_OpenParen if ($null_columns_ok);
-
-    $self->_SQLLimit(
-        ALIAS      => $TicketCFs,
-        FIELD      => 'Content',
-        OPERATOR   => $op,
-        VALUE      => $value,
-        QUOTEVALUE => 1,
-        @rest
-    );
-
-    if ($null_columns_ok) {
-        $self->_SQLLimit(
-            ALIAS           => $TicketCFs,
-            FIELD           => 'Content',
-            OPERATOR        => 'IS',
-            VALUE           => 'NULL',
-            QUOTEVALUE      => 0,
-            ENTRYAGGREGATOR => 'OR',
-        );
-    }
-    $self->_CloseParen if ($null_columns_ok);
-
-
-
-}
-
-# End Helper Functions
-
-# End of SQL Stuff -------------------------------------------------
-
-# {{{ Limit the result set based on content
-
-# {{{ sub Limit
-
-=head2 Limit
-
-Takes a paramhash with the fields FIELD, OPERATOR, VALUE and DESCRIPTION
-Generally best called from LimitFoo methods
-
-=cut
-
-sub Limit {
-    my $self = shift;
-    my %args = (
-        FIELD       => undef,
-        OPERATOR    => '=',
-        VALUE       => undef,
-        DESCRIPTION => undef,
-        @_
-    );
-    $args{'DESCRIPTION'} = $self->loc( "[_1] [_2] [_3]",
-        $args{'FIELD'}, $args{'OPERATOR'}, $args{'VALUE'} )
-      if ( !defined $args{'DESCRIPTION'} );
-
-    my $index = $self->_NextIndex;
-
- #make the TicketRestrictions hash the equivalent of whatever we just passed in;
-
-    %{ $self->{'TicketRestrictions'}{$index} } = %args;
-
-    $self->{'RecalcTicketLimits'} = 1;
-
-# If we're looking at the effective id, we don't want to append the other clause
-# which limits us to tickets where id = effective id
-    if ( $args{'FIELD'} eq 'EffectiveId' ) {
-        $self->{'looking_at_effective_id'} = 1;
-    }
-
-    if ( $args{'FIELD'} eq 'Type' ) {
-        $self->{'looking_at_type'} = 1;
-    }
-
-    return ($index);
-}
-
-# }}}
-
-=head2 FreezeLimits
-
-Returns a frozen string suitable for handing back to ThawLimits.
-
-=cut
-
-sub _FreezeThawKeys {
-    'TicketRestrictions', 'restriction_index', 'looking_at_effective_id',
-      'looking_at_type';
-}
-
-# {{{ sub FreezeLimits
-
-sub FreezeLimits {
-    my $self = shift;
-    require Storable;
-    require MIME::Base64;
-    MIME::Base64::base64_encode(
-        Storable::freeze( \@{$self}{ $self->_FreezeThawKeys } ) );
-}
-
-# }}}
-
-=head2 ThawLimits
-
-Take a frozen Limits string generated by FreezeLimits and make this tickets
-object have that set of limits.
-
-=cut
-
-# {{{ sub ThawLimits
-
-sub ThawLimits {
-    my $self = shift;
-    my $in   = shift;
-
-    #if we don't have $in, get outta here.
-    return undef unless ($in);
-
-    $self->{'RecalcTicketLimits'} = 1;
-
-    require Storable;
-    require MIME::Base64;
-
-    #We don't need to die if the thaw fails.
-    @{$self}{ $self->_FreezeThawKeys } =
-      eval { @{ Storable::thaw( MIME::Base64::base64_decode($in) ) }; };
-
-    $RT::Logger->error($@) if $@;
-
-}
-
-# }}}
-
-# {{{ Limit by enum or foreign key
-
-# {{{ sub LimitQueue
-
-=head2 LimitQueue
-
-LimitQueue takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of = or !=. (It defaults to =).
-VALUE is a queue id or Name.
-
-
-=cut
-
-sub LimitQueue {
-    my $self = shift;
-    my %args = (
-        VALUE    => undef,
-        OPERATOR => '=',
-        @_
-    );
-
-    #TODO  VALUE should also take queue names and queue objects
-    #TODO FIXME why are we canonicalizing to name, not id, robrt?
-    if ( $args{VALUE} =~ /^\d+$/ ) {
-        my $queue = new RT::Queue( $self->CurrentUser );
-        $queue->Load( $args{'VALUE'} );
-        $args{VALUE} = $queue->Name;
-    }
-
-    # What if they pass in an Id?  Check for isNum() and convert to
-    # string.
-
-    #TODO check for a valid queue here
-
-    $self->Limit(
-        FIELD       => 'Queue',
-        VALUE       => $args{VALUE},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION =>
-          join( ' ', $self->loc('Queue'), $args{'OPERATOR'}, $args{VALUE}, ),
-    );
-
-}
-
-# }}}
-
-# {{{ sub LimitStatus
-
-=head2 LimitStatus
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of = or !=.
-VALUE is a status.
-
-RT adds Status != 'deleted' until object has
-allow_deleted_search internal property set.
-$tickets->{'allow_deleted_search'} = 1;
-$tickets->LimitStatus( VALUE => 'deleted' );
-
-=cut
-
-sub LimitStatus {
-    my $self = shift;
-    my %args = (
-        OPERATOR => '=',
-        @_
-    );
-    $self->Limit(
-        FIELD       => 'Status',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Status'), $args{'OPERATOR'},
-            $self->loc( $args{'VALUE'} ) ),
-    );
-}
-
-# }}}
-
-# {{{ sub IgnoreType
-
-=head2 IgnoreType
-
-If called, this search will not automatically limit the set of results found
-to tickets of type "Ticket". Tickets of other types, such as "project" and
-"approval" will be found.
-
-=cut
-
-sub IgnoreType {
-    my $self = shift;
-
-    # Instead of faking a Limit that later gets ignored, fake up the
-    # fact that we're already looking at type, so that the check in
-    # Tickets_Overlay_SQL/FromSQL goes down the right branch
-
-    #  $self->LimitType(VALUE => '__any');
-    $self->{looking_at_type} = 1;
-}
-
-# }}}
-
-# {{{ sub LimitType
-
-=head2 LimitType
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of = or !=, it defaults to "=".
-VALUE is a string to search for in the type of the ticket.
-
-
-
-=cut
-
-sub LimitType {
-    my $self = shift;
-    my %args = (
-        OPERATOR => '=',
-        VALUE    => undef,
-        @_
-    );
-    $self->Limit(
-        FIELD       => 'Type',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION =>
-          join( ' ', $self->loc('Type'), $args{'OPERATOR'}, $args{'Limit'}, ),
-    );
-}
-
-# }}}
-
-# }}}
-
-# {{{ Limit by string field
-
-# {{{ sub LimitSubject
-
-=head2 LimitSubject
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of = or !=.
-VALUE is a string to search for in the subject of the ticket.
-
-=cut
-
-sub LimitSubject {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'Subject',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join(
-            ' ', $self->loc('Subject'), $args{'OPERATOR'}, $args{'VALUE'},
-        ),
-    );
-}
-
-# }}}
-
-# }}}
-
-# {{{ Limit based on ticket numerical attributes
-# Things that can be > < = !=
-
-# {{{ sub LimitId
-
-=head2 LimitId
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, >, < or !=.
-VALUE is a ticket Id to search for
-
-=cut
-
-sub LimitId {
-    my $self = shift;
-    my %args = (
-        OPERATOR => '=',
-        @_
-    );
-
-    $self->Limit(
-        FIELD       => 'id',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION =>
-          join( ' ', $self->loc('Id'), $args{'OPERATOR'}, $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# {{{ sub LimitPriority
-
-=head2 LimitPriority
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, >, < or !=.
-VALUE is a value to match the ticket\'s priority against
-
-=cut
-
-sub LimitPriority {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'Priority',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Priority'),
-            $args{'OPERATOR'}, $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# {{{ sub LimitInitialPriority
-
-=head2 LimitInitialPriority
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, >, < or !=.
-VALUE is a value to match the ticket\'s initial priority against
-
-
-=cut
-
-sub LimitInitialPriority {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'InitialPriority',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Initial Priority'), $args{'OPERATOR'},
-            $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# {{{ sub LimitFinalPriority
-
-=head2 LimitFinalPriority
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, >, < or !=.
-VALUE is a value to match the ticket\'s final priority against
-
-=cut
-
-sub LimitFinalPriority {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'FinalPriority',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Final Priority'),
-            $args{'OPERATOR'}, $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# {{{ sub LimitTimeWorked
-
-=head2 LimitTimeWorked
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, >, < or !=.
-VALUE is a value to match the ticket's TimeWorked attribute
-
-=cut
-
-sub LimitTimeWorked {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'TimeWorked',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Time worked'),
-            $args{'OPERATOR'}, $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# {{{ sub LimitTimeLeft
-
-=head2 LimitTimeLeft
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, >, < or !=.
-VALUE is a value to match the ticket's TimeLeft attribute
-
-=cut
-
-sub LimitTimeLeft {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'TimeLeft',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Time left'),
-            $args{'OPERATOR'}, $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# }}}
-
-# {{{ Limiting based on attachment attributes
-
-# {{{ sub LimitContent
-
-=head2 LimitContent
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, LIKE, NOT LIKE or !=.
-VALUE is a string to search for in the body of the ticket
-
-=cut
-
-sub LimitContent {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'Content',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Ticket content'),
-            $args{'OPERATOR'}, $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# {{{ sub LimitFilename
-
-=head2 LimitFilename
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, LIKE, NOT LIKE or !=.
-VALUE is a string to search for in the body of the ticket
-
-=cut
-
-sub LimitFilename {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'Filename',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Attachment filename'), $args{'OPERATOR'},
-            $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-# {{{ sub LimitContentType
-
-=head2 LimitContentType
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of =, LIKE, NOT LIKE or !=.
-VALUE is a content type to search ticket attachments for
-
-=cut
-
-sub LimitContentType {
-    my $self = shift;
-    my %args = (@_);
-    $self->Limit(
-        FIELD       => 'ContentType',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION => join( ' ',
-            $self->loc('Ticket content type'), $args{'OPERATOR'},
-            $args{'VALUE'}, ),
-    );
-}
-
-# }}}
-
-# }}}
-
-# {{{ Limiting based on people
-
-# {{{ sub LimitOwner
-
-=head2 LimitOwner
-
-Takes a paramhash with the fields OPERATOR and VALUE.
-OPERATOR is one of = or !=.
-VALUE is a user id.
-
-=cut
-
-sub LimitOwner {
-    my $self = shift;
-    my %args = (
-        OPERATOR => '=',
-        @_
-    );
-
-    my $owner = new RT::User( $self->CurrentUser );
-    $owner->Load( $args{'VALUE'} );
-
-    # FIXME: check for a valid $owner
-    $self->Limit(
-        FIELD       => 'Owner',
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        DESCRIPTION =>
-          join( ' ', $self->loc('Owner'), $args{'OPERATOR'}, $owner->Name(), ),
-    );
-
-}
-
-# }}}
-
-# {{{ Limiting watchers
-
-# {{{ sub LimitWatcher
-
-=head2 LimitWatcher
-
-  Takes a paramhash with the fields OPERATOR, TYPE and VALUE.
-  OPERATOR is one of =, LIKE, NOT LIKE or !=.
-  VALUE is a value to match the ticket\'s watcher email addresses against
-  TYPE is the sort of watchers you want to match against. Leave it undef if you want to search all of them
-
-=begin testing
-
-my $t1 = RT::Ticket->new($RT::SystemUser);
-$t1->Create(Queue => 'general', Subject => "LimitWatchers test", Requestors => \['requestor1@example.com']);
-
-=end testing
-
-=cut
-
-sub LimitWatcher {
-    my $self = shift;
-    my %args = (
-        OPERATOR => '=',
-        VALUE    => undef,
-        TYPE     => undef,
-        @_
-    );
-
-    #build us up a description
-    my ( $watcher_type, $desc );
-    if ( $args{'TYPE'} ) {
-        $watcher_type = $args{'TYPE'};
-    }
-    else {
-        $watcher_type = "Watcher";
-    }
-
-    $self->Limit(
-        FIELD       => $watcher_type,
-        VALUE       => $args{'VALUE'},
-        OPERATOR    => $args{'OPERATOR'},
-        TYPE        => $args{'TYPE'},
-        DESCRIPTION => join( ' ',
-            $self->loc($watcher_type),
-            $args{'OPERATOR'}, $args{'VALUE'}, ),
-    );
-}
-
-sub LimitRequestor {
-    my $self = shift;
-    my %args = (@_);
-    my ( $package, $filename, $line ) = caller;
-    $RT::Logger->error(
-"Tickets->LimitRequestor is deprecated. please rewrite call at  $package - $filename: $line"
-    );
-    $self->LimitWatcher( TYPE => 'Requestor', @_ );
-
-}
-
-# }}}
-
-# }}}
-
-# }}}
-
-# {{{ Limiting based on links
-
-# {{{ LimitLinkedTo
-
-=head2 LimitLinkedTo
-
-LimitLinkedTo takes a paramhash with two fields: TYPE and TARGET
-TYPE limits the sort of link we want to search on
-
-TYPE = { RefersTo, MemberOf, DependsOn }
-
-TARGET is the id or URI of the TARGET of the link
-(TARGET used to be 'TICKET'.  'TICKET' is deprecated, but will be treated as TARGET
-
-=cut
-
-sub LimitLinkedTo {
-    my $self = shift;
-    my %args = (
-        TICKET => undef,
-        TARGET => undef,
-        TYPE   => undef,
-        @_
-    );
-
-    $self->Limit(
-        FIELD       => 'LinkedTo',
-        BASE        => undef,
-        TARGET      => ( $args{'TARGET'} || $args{'TICKET'} ),
-        TYPE        => $args{'TYPE'},
-        DESCRIPTION => $self->loc(
-            "Tickets [_1] by [_2]",
-            $self->loc( $args{'TYPE'} ),
-            ( $args{'TARGET'} || $args{'TICKET'} )
-        ),
-    );
-}
-
-# }}}
-
-# {{{ LimitLinkedFrom
-
-=head2 LimitLinkedFrom
-
-LimitLinkedFrom takes a paramhash with two fields: TYPE and BASE
-TYPE limits the sort of link we want to search on
-
-
-BASE is the id or URI of the BASE of the link
-(BASE used to be 'TICKET'.  'TICKET' is deprecated, but will be treated as BASE
-
-
-=cut
-
-sub LimitLinkedFrom {
-    my $self = shift;
-    my %args = (
-        BASE   => undef,
-        TICKET => undef,
-        TYPE   => undef,
-        @_
-    );
-
-    # translate RT2 From/To naming to RT3 TicketSQL naming
-    my %fromToMap = qw(DependsOn DependentOn
-      MemberOf  HasMember
-      RefersTo  ReferredToBy);
-
-    my $type = $args{'TYPE'};
-    $type = $fromToMap{$type} if exists( $fromToMap{$type} );
-
-    $self->Limit(
-        FIELD       => 'LinkedTo',
-        TARGET      => undef,
-        BASE        => ( $args{'BASE'} || $args{'TICKET'} ),
-        TYPE        => $type,
-        DESCRIPTION => $self->loc(
-            "Tickets [_1] [_2]",
-            $self->loc( $args{'TYPE'} ),
-            ( $args{'BASE'} || $args{'TICKET'} )
-        ),
-    );
-}
-
-# }}}
-
-# {{{ LimitMemberOf
-sub LimitMemberOf {
-    my $self      = shift;
-    my $ticket_id = shift;
-    $self->LimitLinkedTo(
-        TARGET => "$ticket_id",
-        TYPE   => 'MemberOf',
-    );
-
-}
-
-# }}}
-
-# {{{ LimitHasMember
-sub LimitHasMember {
-    my $self      = shift;
-    my $ticket_id = shift;
-    $self->LimitLinkedFrom(
-        BASE => "$ticket_id",
-        TYPE => 'HasMember',
-    );
-
-}
-
-# }}}
-
-# {{{ LimitDependsOn
-
-sub LimitDependsOn {
-    my $self      = shift;
-    my $ticket_id = shift;
-    $self->LimitLinkedTo(
-        TARGET => "$ticket_id",
-        TYPE   => 'DependsOn',
-    );
-
-}
-
-# }}}
-
-# {{{ LimitDependedOnBy
-
-sub LimitDependedOnBy {
-    my $self      = shift;
-    my $ticket_id = shift;
-    $self->LimitLinkedFrom(
-        BASE => "$ticket_id",
-        TYPE => 'DependentOn',
-    );
-
-}
-
-# }}}
-
-# {{{ LimitRefersTo
-
-sub LimitRefersTo {
-    my $self      = shift;
-    my $ticket_id = shift;
-    $self->LimitLinkedTo(
-        TARGET => "$ticket_id",
-        TYPE   => 'RefersTo',
-    );
-
-}
-
-# }}}
-
-# {{{ LimitReferredToBy
-
-sub LimitReferredToBy {
-    my $self      = shift;
-    my $ticket_id = shift;
-    $self->LimitLinkedFrom(
-        BASE => "$ticket_id",
-        TYPE => 'ReferredToBy',
-    );
-
-}
-
-# }}}
-
-# }}}
-
-# {{{ limit based on ticket date attribtes
-
-# {{{ sub LimitDate
-
-=head2 LimitDate (FIELD => 'DateField', OPERATOR => $oper, VALUE => $ISODate)
-
-Takes a paramhash with the fields FIELD OPERATOR and VALUE.
-
-OPERATOR is one of > or <
-VALUE is a date and time in ISO format in GMT
-FIELD is one of Starts, Started, Told, Created, Resolved, LastUpdated
-
-There are also helper functions of the form LimitFIELD that eliminate
-the need to pass in a FIELD argument.
-
-=cut
-
-sub LimitDate {
-    my $self = shift;
-    my %args = (
-        FIELD    => undef,
-        VALUE    => undef,
-        OPERATOR => undef,
-
-        @_
-    );
-
-    #Set the description if we didn't get handed it above
-    unless ( $args{'DESCRIPTION'} ) {
-        $args{'DESCRIPTION'} =
-            $args{'FIELD'} . " "
-          . $args{'OPERATOR'} . " "
-          . $args{'VALUE'} . " GMT";
-    }
-
-    $self->Limit(%args);
-
-}
-
-# }}}
-
-sub LimitCreated {
-    my $self = shift;
-    $self->LimitDate( FIELD => 'Created', @_ );
-}
-
-sub LimitDue {
-    my $self = shift;
-    $self->LimitDate( FIELD => 'Due', @_ );
-
-}
-
-sub LimitStarts {
-    my $self = shift;
-    $self->LimitDate( FIELD => 'Starts', @_ );
-
-}
-
-sub LimitStarted {
-    my $self = shift;
-    $self->LimitDate( FIELD => 'Started', @_ );
-}
-
-sub LimitResolved {
-    my $self = shift;
-    $self->LimitDate( FIELD => 'Resolved', @_ );
-}
-
-sub LimitTold {
-    my $self = shift;
-    $self->LimitDate( FIELD => 'Told', @_ );
-}
-
-sub LimitLastUpdated {
-    my $self = shift;
-    $self->LimitDate( FIELD => 'LastUpdated', @_ );
-}
-
-#
-# {{{ sub LimitTransactionDate
-
-=head2 LimitTransactionDate (OPERATOR => $oper, VALUE => $ISODate)
-
-Takes a paramhash with the fields FIELD OPERATOR and VALUE.
-
-OPERATOR is one of > or <
-VALUE is a date and time in ISO format in GMT
-
-
-=cut
-
-sub LimitTransactionDate {
-    my $self = shift;
-    my %args = (
-        FIELD    => 'TransactionDate',
-        VALUE    => undef,
-        OPERATOR => undef,
-
-        @_
-    );
-
-    #  <20021217042756.GK28744@pallas.fsck.com>
-    #    "Kill It" - Jesse.
-
-    #Set the description if we didn't get handed it above
-    unless ( $args{'DESCRIPTION'} ) {
-        $args{'DESCRIPTION'} =
-            $args{'FIELD'} . " "
-          . $args{'OPERATOR'} . " "
-          . $args{'VALUE'} . " GMT";
-    }
-
-    $self->Limit(%args);
-
-}
-
-# }}}
-
-# }}}
-
-# {{{ Limit based on custom fields
-# {{{ sub LimitCustomField
-
-=head2 LimitCustomField
-
-Takes a paramhash of key/value pairs with the following keys:
-
-=over 4
-
-=item CUSTOMFIELD - CustomField name or id.  If a name is passed, an additional parameter QUEUE may also be passed to distinguish the custom field.
-
-=item OPERATOR - The usual Limit operators
-
-=item VALUE - The value to compare against
-
-=back
-
-=cut
-
-sub LimitCustomField {
-    my $self = shift;
-    my %args = (
-        VALUE       => undef,
-        CUSTOMFIELD => undef,
-        OPERATOR    => '=',
-        DESCRIPTION => undef,
-        FIELD       => 'CustomFieldValue',
-        QUOTEVALUE  => 1,
-        @_
-    );
-
-    my $CF = RT::CustomField->new( $self->CurrentUser );
-    if ( $args{CUSTOMFIELD} =~ /^\d+$/ ) {
-        $CF->Load( $args{CUSTOMFIELD} );
-    }
-    else {
-        $CF->LoadByNameAndQueue(
-            Name  => $args{CUSTOMFIELD},
-            Queue => $args{QUEUE}
-        );
-        $args{CUSTOMFIELD} = $CF->Id;
-    }
-
-    #If we are looking to compare with a null value.
-    if ( $args{'OPERATOR'} =~ /^is$/i ) {
-        $args{'DESCRIPTION'} ||=
-          $self->loc( "Custom field [_1] has no value.", $CF->Name );
-    }
-    elsif ( $args{'OPERATOR'} =~ /^is not$/i ) {
-        $args{'DESCRIPTION'} ||=
-          $self->loc( "Custom field [_1] has a value.", $CF->Name );
-    }
-
-    # if we're not looking to compare with a null value
-    else {
-        $args{'DESCRIPTION'} ||= $self->loc( "Custom field [_1] [_2] [_3]",
-            $CF->Name, $args{OPERATOR}, $args{VALUE} );
-    }
-
-    my $q = "";
-    if ( $CF->Queue ) {
-        my $qo = new RT::Queue( $self->CurrentUser );
-        $qo->load( $CF->Queue );
-        $q = $qo->Name;
-    }
-
-    my @rest;
-    @rest = ( ENTRYAGGREGATOR => 'AND' )
-      if ( $CF->Type eq 'SelectMultiple' );
-
-    $self->Limit(
-        VALUE => $args{VALUE},
-        FIELD => "CF."
-          . (
-              $q
-            ? $q . ".{" . $CF->Name . "}"
-            : $CF->Name
-          ),
-        OPERATOR    => $args{OPERATOR},
-        CUSTOMFIELD => 1,
-        @rest,
-    );
-
-    $self->{'RecalcTicketLimits'} = 1;
-}
-
-# }}}
-# }}}
-
-# {{{ sub _NextIndex
-
-=head2 _NextIndex
-
-Keep track of the counter for the array of restrictions
-
-=cut
-
-sub _NextIndex {
-    my $self = shift;
-    return ( $self->{'restriction_index'}++ );
-}
-
-# }}}
-
-# }}}
-
-# {{{ Core bits to make this a DBIx::SearchBuilder object
-
-# {{{ sub _Init
-sub _Init {
-    my $self = shift;
-    $self->{'table'}                   = "Tickets";
-    $self->{'RecalcTicketLimits'}      = 1;
-    $self->{'looking_at_effective_id'} = 0;
-    $self->{'looking_at_type'}         = 0;
-    $self->{'restriction_index'}       = 1;
-    $self->{'primary_key'}             = "id";
-    delete $self->{'items_array'};
-    delete $self->{'item_map'};
-    delete $self->{'columns_to_display'};
-    $self->SUPER::_Init(@_);
-
-    $self->_InitSQL;
-
-}
-
-# }}}
-
-# {{{ sub Count
-sub Count {
-    my $self = shift;
-    $self->_ProcessRestrictions() if ( $self->{'RecalcTicketLimits'} == 1 );
-    return ( $self->SUPER::Count() );
-}
-
-# }}}
-
-# {{{ sub CountAll
-sub CountAll {
-    my $self = shift;
-    $self->_ProcessRestrictions() if ( $self->{'RecalcTicketLimits'} == 1 );
-    return ( $self->SUPER::CountAll() );
-}
-
-# }}}
-
-# {{{ sub ItemsArrayRef
-
-=head2 ItemsArrayRef
-
-Returns a reference to the set of all items found in this search
-
-=cut
-
-sub ItemsArrayRef {
-    my $self = shift;
-    my @items;
-
-    unless ( $self->{'items_array'} ) {
-
-        my $placeholder = $self->_ItemsCounter;
-        $self->GotoFirstItem();
-        while ( my $item = $self->Next ) {
-            push( @{ $self->{'items_array'} }, $item );
-        }
-        $self->GotoItem($placeholder);
-        $self->{'items_array'} = $self->ItemsOrderBy( $self->{'items_array'} );
-    }
-    return ( $self->{'items_array'} );
-}
-
-# }}}
-
-# {{{ sub Next
-sub Next {
-    my $self = shift;
-
-    $self->_ProcessRestrictions() if ( $self->{'RecalcTicketLimits'} == 1 );
-
-    my $Ticket = $self->SUPER::Next();
-    if ( ( defined($Ticket) ) and ( ref($Ticket) ) ) {
-
-           if ( $Ticket->__Value('Status') eq 'deleted' &&
-                       !$self->{'allow_deleted_search'} ) {
-               return($self->Next());
-           }
-            # Since Ticket could be granted with more rights instead
-            # of being revoked, it's ok if queue rights allow
-            # ShowTicket.  It seems need another query, but we have
-            # rights cache in Principal::HasRight.
-           elsif ($Ticket->QueueObj->CurrentUserHasRight('ShowTicket') ||
-                   $Ticket->CurrentUserHasRight('ShowTicket')) {
-               return($Ticket);
-           }
-
-        if ( $Ticket->__Value('Status') eq 'deleted' ) {
-            return ( $self->Next() );
-        }
-
-        # Since Ticket could be granted with more rights instead
-        # of being revoked, it's ok if queue rights allow
-        # ShowTicket.  It seems need another query, but we have
-        # rights cache in Principal::HasRight.
-        elsif ($Ticket->QueueObj->CurrentUserHasRight('ShowTicket')
-            || $Ticket->CurrentUserHasRight('ShowTicket') )
-        {
-            return ($Ticket);
-        }
-
-        #If the user doesn't have the right to show this ticket
-        else {
-            return ( $self->Next() );
-        }
-    }
-
-    #if there never was any ticket
-    else {
-        return (undef);
-    }
-
-}
-
-# }}}
-
-# }}}
-
-# {{{ Deal with storing and restoring restrictions
-
-# {{{ sub LoadRestrictions
-
-=head2 LoadRestrictions
-
-LoadRestrictions takes a string which can fully populate the TicketRestrictons hash.
-TODO It is not yet implemented
-
-=cut
-
-# }}}
-
-# {{{ sub DescribeRestrictions
-
-=head2 DescribeRestrictions
-
-takes nothing.
-Returns a hash keyed by restriction id.
-Each element of the hash is currently a one element hash that contains DESCRIPTION which
-is a description of the purpose of that TicketRestriction
-
-=cut
-
-sub DescribeRestrictions {
-    my $self = shift;
-
-    my ( $row, %listing );
-
-    foreach $row ( keys %{ $self->{'TicketRestrictions'} } ) {
-        $listing{$row} = $self->{'TicketRestrictions'}{$row}{'DESCRIPTION'};
-    }
-    return (%listing);
-}
-
-# }}}
-
-# {{{ sub RestrictionValues
-
-=head2 RestrictionValues FIELD
-
-Takes a restriction field and returns a list of values this field is restricted
-to.
-
-=cut
-
-sub RestrictionValues {
-    my $self  = shift;
-    my $field = shift;
-    map $self->{'TicketRestrictions'}{$_}{'VALUE'}, grep {
-             $self->{'TicketRestrictions'}{$_}{'FIELD'}    eq $field
-          && $self->{'TicketRestrictions'}{$_}{'OPERATOR'} eq "="
-      }
-      keys %{ $self->{'TicketRestrictions'} };
-}
-
-# }}}
-
-# {{{ sub ClearRestrictions
-
-=head2 ClearRestrictions
-
-Removes all restrictions irretrievably
-
-=cut
-
-sub ClearRestrictions {
-    my $self = shift;
-    delete $self->{'TicketRestrictions'};
-    $self->{'looking_at_effective_id'} = 0;
-    $self->{'looking_at_type'}         = 0;
-    $self->{'RecalcTicketLimits'}      = 1;
-}
-
-# }}}
-
-# {{{ sub DeleteRestriction
-
-=head2 DeleteRestriction
-
-Takes the row Id of a restriction (From DescribeRestrictions' output, for example.
-Removes that restriction from the session's limits.
-
-=cut
-
-sub DeleteRestriction {
-    my $self = shift;
-    my $row  = shift;
-    delete $self->{'TicketRestrictions'}{$row};
-
-    $self->{'RecalcTicketLimits'} = 1;
-
-    #make the underlying easysearch object forget all its preconceptions
-}
-
-# }}}
-
-# {{{ sub _RestrictionsToClauses
-
-# Convert a set of oldstyle SB Restrictions to Clauses for RQL
-
-sub _RestrictionsToClauses {
-    my $self = shift;
-
-    my $row;
-    my %clause;
-    foreach $row ( keys %{ $self->{'TicketRestrictions'} } ) {
-        my $restriction = $self->{'TicketRestrictions'}{$row};
-
-        #use Data::Dumper;
-        #print Dumper($restriction),"\n";
-
-     # We need to reimplement the subclause aggregation that SearchBuilder does.
-     # Default Subclause is ALIAS.FIELD, and default ALIAS is 'main',
-     # Then SB AND's the different Subclauses together.
-
-        # So, we want to group things into Subclauses, convert them to
-        # SQL, and then join them with the appropriate DefaultEA.
-        # Then join each subclause group with AND.
-
-        my $field = $restriction->{'FIELD'};
-        my $realfield = $field;    # CustomFields fake up a fieldname, so
-                                   # we need to figure that out
-
-        # One special case
-        # Rewrite LinkedTo meta field to the real field
-        if ( $field =~ /LinkedTo/ ) {
-            $realfield = $field = $restriction->{'TYPE'};
-        }
-
-        # Two special case
-        # Handle subkey fields with a different real field
-        if ( $field =~ /^(\w+)\./ ) {
-            $realfield = $1;
-        }
-
-        die "I don't know about $field yet"
-          unless ( exists $FIELDS{$realfield} or $restriction->{CUSTOMFIELD} );
-
-        my $type = $FIELDS{$realfield}->[0];
-        my $op   = $restriction->{'OPERATOR'};
-
-        my $value = (
-            grep  { defined }
-              map { $restriction->{$_} } qw(VALUE TICKET BASE TARGET)
-        )[0];
-
-        # this performs the moral equivalent of defined or/dor/C<//>,
-        # without the short circuiting.You need to use a 'defined or'
-        # type thing instead of just checking for truth values, because
-        # VALUE could be 0.(i.e. "false")
-
-        # You could also use this, but I find it less aesthetic:
-        # (although it does short circuit)
-        #( defined $restriction->{'VALUE'}? $restriction->{VALUE} :
-        # defined $restriction->{'TICKET'} ?
-        # $restriction->{TICKET} :
-        # defined $restriction->{'BASE'} ?
-        # $restriction->{BASE} :
-        # defined $restriction->{'TARGET'} ?
-        # $restriction->{TARGET} )
-
-        my $ea = $restriction->{ENTRYAGGREGATOR} || $DefaultEA{$type} || "AND";
-        if ( ref $ea ) {
-            die "Invalid operator $op for $field ($type)"
-              unless exists $ea->{$op};
-            $ea = $ea->{$op};
-        }
-
-        # Each CustomField should be put into a different Clause so they
-        # are ANDed together.
-        if ( $restriction->{CUSTOMFIELD} ) {
-            $realfield = $field;
-        }
-
-        exists $clause{$realfield} or $clause{$realfield} = [];
-
-        # Escape Quotes
-        $field =~ s!(['"])!\\$1!g;
-        $value =~ s!(['"])!\\$1!g;
-        my $data = [ $ea, $type, $field, $op, $value ];
-
-        # here is where we store extra data, say if it's a keyword or
-        # something.  (I.e. "TYPE SPECIFIC STUFF")
-
-        #print Dumper($data);
-        push @{ $clause{$realfield} }, $data;
-    }
-    return \%clause;
-}
-
-# }}}
-
-# {{{ sub _ProcessRestrictions
-
-=head2 _ProcessRestrictions PARAMHASH
-
-# The new _ProcessRestrictions is somewhat dependent on the SQL stuff,
-# but isn't quite generic enough to move into Tickets_Overlay_SQL.
-
-=cut
-
-sub _ProcessRestrictions {
-    my $self = shift;
-
-    #Blow away ticket aliases since we'll need to regenerate them for
-    #a new search
-    delete $self->{'TicketAliases'};
-    delete $self->{'items_array'};
-    delete $self->{'item_map'};
-    delete $self->{'raw_rows'};
-    delete $self->{'rows'};
-    delete $self->{'count_all'};
-
-    my $sql = $self->Query;    # Violating the _SQL namespace
-    if ( !$sql || $self->{'RecalcTicketLimits'} ) {
-
-        #  "Restrictions to Clauses Branch\n";
-        my $clauseRef = eval { $self->_RestrictionsToClauses; };
-        if ($@) {
-            $RT::Logger->error( "RestrictionsToClauses: " . $@ );
-            $self->FromSQL("");
-        }
-        else {
-            $sql = $self->ClausesToSQL($clauseRef);
-            $self->FromSQL($sql);
-        }
-    }
-
-    $self->{'RecalcTicketLimits'} = 0;
-
-}
-
-=head2 _BuildItemMap
-
-    # Build up a map of first/last/next/prev items, so that we can display search nav quickly
-
-=cut
-
-sub _BuildItemMap {
-    my $self = shift;
-
-    my $items = $self->ItemsArrayRef;
-    my $prev  = 0;
-
-    delete $self->{'item_map'};
-    if ( $items->[0] ) {
-        $self->{'item_map'}->{'first'} = $items->[0]->EffectiveId;
-        while ( my $item = shift @$items ) {
-            my $id = $item->EffectiveId;
-            $self->{'item_map'}->{$id}->{'defined'} = 1;
-            $self->{'item_map'}->{$id}->{prev}      = $prev;
-            $self->{'item_map'}->{$id}->{next}      = $items->[0]->EffectiveId
-              if ( $items->[0] );
-            $prev = $id;
-        }
-        $self->{'item_map'}->{'last'} = $prev;
-    }
-}
-
-=head2 ItemMap
-
-Returns an a map of all items found by this search. The map is of the form
-
-$ItemMap->{'first'} = first ticketid found
-$ItemMap->{'last'} = last ticketid found
-$ItemMap->{$id}->{prev} = the ticket id found before $id
-$ItemMap->{$id}->{next} = the ticket id found after $id
-
-=cut
-
-sub ItemMap {
-    my $self = shift;
-    $self->_BuildItemMap()
-      unless ( $self->{'items_array'} and $self->{'item_map'} );
-    return ( $self->{'item_map'} );
-}
-
-=cut
-
-
-}
-
-
-
-# }}}
-
-# }}}
-
-=head2 PrepForSerialization
-
-You don't want to serialize a big tickets object, as the {items} hash will be instantly invalid _and_ eat lots of space
-
-=cut
-
-sub PrepForSerialization {
-    my $self = shift;
-    delete $self->{'items'};
-    $self->RedoSearch();
-}
-
-
-=head1 FLAGS
-
-RT::Tickets supports several flags which alter search behavior:
-
-
-allow_deleted_search  (Otherwise never show deleted tickets in search results)
-looking_at_type (otherwise limit to type=ticket)
-
-These flags are set by calling 
-
-$tickets->{'flagname'} = 1;
-
-BUG: There should be an API for this
-
-=cut
-
-1;
-
-
-
diff --git a/rt/lib/RT/Tickets_Overlay_SQL.pm b/rt/lib/RT/Tickets_Overlay_SQL.pm
deleted file mode 100644 (file)
index 6773917..0000000
+++ /dev/null
@@ -1,580 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::Tickets;
-
-use strict;
-use warnings;
-
-# Import configuration data from the lexcial scope of __PACKAGE__ (or
-# at least where those two Subroutines are defined.)
-
-my %FIELDS = %{FIELDS()};
-my %dispatch = %{dispatch()};
-my %can_bundle = %{can_bundle()};
-
-# Lower Case version of FIELDS, for case insensitivity
-my %lcfields = map { ( lc($_) => $_ ) } (keys %FIELDS);
-
-sub _InitSQL {
-  my $self = shift;
-
-  # How many of these do we actually still use?
-
-  # Private Member Variales (which should get cleaned)
-  $self->{'_sql_linksc'}        = 0;
-  $self->{'_sql_watchersc'}     = 0;
-  $self->{'_sql_keywordsc'}     = 0;
-  $self->{'_sql_subclause'}     = "a";
-  $self->{'_sql_first'}         = 0;
-  $self->{'_sql_opstack'}       = [''];
-  $self->{'_sql_linkalias'}    = undef;
-  $self->{'_sql_transalias'}    = undef;
-  $self->{'_sql_trattachalias'} = undef;
-  $self->{'_sql_object_cf_alias'}  = undef;
-  $self->{'_sql_depth'}         = 0;
-  $self->{'_sql_localdepth'}    = 0;
-  $self->{'_sql_query'}         = '';
-  $self->{'_sql_looking_at'}    = {};
-  $self->{'_sql_columns_to_display'} = [];
-
-}
-
-sub _SQLLimit {
-  my $self = shift;
-    my %args = (@_);
-    if ($args{'FIELD'} eq 'EffectiveId') {
-        $self->{'looking_at_effective_id'} = 1;
-    }      
-    
-    if ($args{'FIELD'} eq 'Type') {
-        $self->{'looking_at_type'} = 1;
-    }
-
-  # All SQL stuff goes into one SB subclause so we can deal with all
-  # the aggregation
-  $self->SUPER::Limit(%args,
-                      SUBCLAUSE => 'ticketsql');
-}
-
-sub _SQLJoin {
-  # All SQL stuff goes into one SB subclause so we can deal with all
-  # the aggregation
-  my $this = shift;
-
-  $this->SUPER::Join(@_,
-                    SUBCLAUSE => 'ticketsql');
-}
-
-# Helpers
-sub _OpenParen {
-  $_[0]->SUPER::_OpenParen( 'ticketsql' );
-}
-sub _CloseParen {
-  $_[0]->SUPER::_CloseParen( 'ticketsql' );
-}
-
-=head1 SQL Functions
-
-=cut
-
-=head2 Robert's Simple SQL Parser
-
-Documentation In Progress
-
-The Parser/Tokenizer is a relatively simple state machine that scans through a SQL WHERE clause type string extracting a token at a time (where a token is:
-
-  VALUE -> quoted string or number
-  AGGREGator -> AND or OR
-  KEYWORD -> quoted string or single word
-  OPerator -> =,!=,LIKE,etc..
-  PARENthesis -> open or close.
-
-And that stream of tokens is passed through the "machine" in order to build up a structure that looks like:
-
-       KEY OP VALUE
-  AND  KEY OP VALUE
-  OR   KEY OP VALUE
-
-That also deals with parenthesis for nesting.  (The parentheses are
-just handed off the SearchBuilder)
-
-=cut
-
-use Regexp::Common qw /delimited/;
-
-# States
-use constant VALUE => 1;
-use constant AGGREG => 2;
-use constant OP => 4;
-use constant OPEN_PAREN => 8;
-use constant CLOSE_PAREN => 16;
-use constant KEYWORD => 32;
-my @tokens = qw[VALUE AGGREG OP OPEN_PAREN CLOSE_PAREN KEYWORD];
-
-my $re_aggreg = qr[(?i:AND|OR)];
-my $re_delim  = qr[$RE{delimited}{-delim=>qq{\'\"}}];
-my $re_value  = qr[$re_delim|\d+|NULL];
-my $re_keyword = qr[$re_delim|(?:\{|\}|\w|\.)+];
-my $re_op     = qr[=|!=|>=|<=|>|<|(?i:IS NOT)|(?i:IS)|(?i:NOT LIKE)|(?i:LIKE)]; # long to short
-my $re_open_paren  = qr'\(';
-my $re_close_paren  = qr'\)';
-
-sub _close_bundle
-{
-  my ($self, @bundle) = @_;
-  return unless @bundle;
-  if (@bundle == 1) {
-    $bundle[0]->{dispatch}->(
-                         $self,
-                         $bundle[0]->{key},
-                         $bundle[0]->{op},
-                         $bundle[0]->{val},
-                         SUBCLAUSE =>  "",
-                         ENTRYAGGREGATOR => $bundle[0]->{ea},
-                         SUBKEY => $bundle[0]->{subkey},
-                        );
-  } else {
-    my @args;
-    for my $chunk (@bundle) {
-      push @args, [
-          $chunk->{key},
-          $chunk->{op},
-          $chunk->{val},
-          SUBCLAUSE =>  "",
-          ENTRYAGGREGATOR => $chunk->{ea},
-          SUBKEY => $chunk->{subkey},
-      ];
-    }
-    $bundle[0]->{dispatch}->(
-        $self, \@args,
-    );
-  }
-}
-
-sub _parser {
-  my ($self,$string) = @_;
-  my $want = KEYWORD | OPEN_PAREN;
-  my $last = undef;
-
-  my $depth = 0;
-  my @bundle;
-
-  my ($ea,$key,$op,$value) = ("","","","");
-
-  # order of matches in the RE is important.. op should come early,
-  # because it has spaces in it.  otherwise "NOT LIKE" might be parsed
-  # as a keyword or value.
-
-
-
-
-
-  while ($string =~ /(
-                      $re_aggreg
-                      |$re_op
-                      |$re_keyword
-                      |$re_value
-                      |$re_open_paren
-                      |$re_close_paren
-                     )/iogx ) {
-    my $val = $1;
-    my $current = 0;
-
-    # Highest priority is last
-    $current = OP          if ($want & OP)          && $val =~ /^$re_op$/io;
-    $current = VALUE       if ($want & VALUE)       && $val =~ /^$re_value$/io;
-    $current = KEYWORD     if ($want & KEYWORD)     && $val =~ /^$re_keyword$/io;
-    $current = AGGREG      if ($want & AGGREG)      && $val =~ /^$re_aggreg$/io;
-    $current = OPEN_PAREN  if ($want & OPEN_PAREN)  && $val =~ /^$re_open_paren$/io;
-    $current = CLOSE_PAREN if ($want & CLOSE_PAREN) && $val =~ /^$re_close_paren$/io;
-
-
-    unless ($current && $want & $current) {
-      # Error
-      # FIXME: I will only print out the highest $want value
-      die "Error near ->$val<- expecting a ", $tokens[((log $want)/(log 2))], " in $string\n";
-    }
-
-    # State Machine:
-
-    #$RT::Logger->debug("We've just found a '$current' called '$val'");
-
-    # Parens are highest priority
-    if ($current & OPEN_PAREN) {
-      $self->_close_bundle(@bundle);  @bundle = ();
-      $depth++;
-      $self->_OpenParen;
-
-      $want = KEYWORD | OPEN_PAREN;
-    }
-    elsif ( $current & CLOSE_PAREN ) {
-      $self->_close_bundle(@bundle);  @bundle = ();
-      $depth--;
-      $self->_CloseParen;
-
-      $want = CLOSE_PAREN | AGGREG;
-    }
-    elsif ( $current & AGGREG ) {
-      $ea = $val;
-      $want = KEYWORD | OPEN_PAREN;
-    }
-    elsif ( $current & KEYWORD ) {
-      $key = $val;
-      $want = OP;
-    }
-    elsif ( $current & OP ) {
-      $op = $val;
-      $want = VALUE;
-    }
-    elsif ( $current & VALUE ) {
-      $value = $val;
-
-      # Remove surrounding quotes from $key, $val
-      # (in future, simplify as for($key,$val) { action on $_ })
-      if ($key =~ /$re_delim/o) {
-        substr($key,0,1) = "";
-        substr($key,-1,1) = "";
-      }
-      if ($val =~ /$re_delim/o) {
-        substr($val,0,1) = "";
-        substr($val,-1,1) = "";
-      }
-      # Unescape escaped characters
-      $key =~ s!\\(.)!$1!g;
-      $val =~ s!\\(.)!$1!g;
-      #    print "$ea Key=[$key] op=[$op]  val=[$val]\n";
-
-
-   my $subkey;
-   if ($key =~ /^(.+?)\.(.+)$/) {
-     $key = $1;
-     $subkey = $2;
-   }
-
-      my $class;
-      if (exists $lcfields{lc $key}) {
-        $key = $lcfields{lc $key};
-        $class = $FIELDS{$key}->[0];
-      }
-   # no longer have a default, since CF's are now a real class, not fallthrough
-   # fixme: "default class" is not Generic.
-
-   die "Unknown field: $key" unless $class;
-
-      $self->{_sql_localdepth} = 0;
-      die "No such dispatch method: $class"
-        unless exists $dispatch{$class};
-      my $sub = $dispatch{$class} || die;;
-      if ($can_bundle{$class} &&
-          (!@bundle ||
-            ($bundle[-1]->{dispatch} == $sub &&
-             $bundle[-1]->{key} eq $key &&
-             $bundle[-1]->{subkey} eq $subkey)))
-      {
-          push @bundle, {
-              dispatch => $sub,
-              key      => $key,
-              op       => $op,
-              val      => $val,
-              ea       => $ea || "",
-              subkey   => $subkey,
-          };
-      } else {
-        $self->_close_bundle(@bundle);  @bundle = ();
-        $sub->(
-               $self,
-               $key,
-               $op,
-               $val,
-               SUBCLAUSE =>  "",  # don't need anymore
-               ENTRYAGGREGATOR => $ea || "",
-               SUBKEY => $subkey,
-              );
-      }
-
-      $self->{_sql_looking_at}{lc $key} = 1;
-  
-      ($ea,$key,$op,$value) = ("","","","");
-  
-      $want = CLOSE_PAREN | AGGREG;
-    } else {
-      die "I'm lost";
-    }
-
-    $last = $current;
-  } # while
-
-  $self->_close_bundle(@bundle);  @bundle = ();
-
-  die "Incomplete query"
-    unless (($want | CLOSE_PAREN) || ($want | KEYWORD));
-
-  die "Incomplete Query"
-    unless ($last && ($last | CLOSE_PAREN) || ($last || VALUE));
-
-  # This will never happen, because the parser will complain
-  die "Mismatched parentheses"
-    unless $depth == 0;
-
-}
-
-
-=head2 ClausesToSQL
-
-=cut
-
-sub ClausesToSQL {
-  my $self = shift;
-  my $clauses = shift;
-  my @sql;
-
-  for my $f (keys %{$clauses}) {
-    my $sql;
-    my $first = 1;
-
-    # Build SQL from the data hash
-     for my $data ( @{ $clauses->{$f} } ) {
-      $sql .= $data->[0] unless $first; $first=0;
-      $sql .= " '". $data->[2] . "' ";
-      $sql .= $data->[3] . " ";
-      $sql .= "'". $data->[4] . "' ";
-    }
-
-    push @sql, " ( " . $sql . " ) ";
-  }
-
-  return join("AND",@sql);
-}
-
-=head2 FromSQL
-
-Convert a RT-SQL string into a set of SearchBuilder restrictions.
-
-Returns (1, 'Status message') on success and (0, 'Error Message') on
-failure.
-
-
-=begin testing
-
-use RT::Tickets;
-
-
-
-my $tix = RT::Tickets->new($RT::SystemUser);
-
-my $query = "Status = 'open'";
-my ($id, $msg)  = $tix->FromSQL($query);
-
-ok ($id, $msg);
-
-
-my (@ids, @expectedids);
-
-my $t = RT::Ticket->new($RT::SystemUser);
-
-my $string = 'subject/content SQL test';
-ok( $t->Create(Queue => 'General', Subject => $string), "Ticket Created");
-
-push @ids, $t->Id;
-
-my $Message = MIME::Entity->build(
-                            Subject     => 'this is my subject',
-                            From        => 'jesse@example.com',
-                            Data        => [ $string ],
-        );
-
-ok( $t->Create(Queue => 'General', Subject => 'another ticket', MIMEObj => $Message, MemberOf => $ids[0]), "Ticket Created");
-
-push @ids, $t->Id;
-
-$query = ("Subject LIKE '$string' OR Content LIKE '$string'");
-
-my ($id, $msg) = $tix->FromSQL($query);
-
-
-ok ($id, $msg);
-
-is ($tix->Count, scalar @ids, "number of returned tickets same as entered");
-while (my $tick = $tix->Next) {
-    push @expectedids, $tick->Id;
-}
-ok (eq_array(\@ids, \@expectedids), "returned expected tickets");
-
-$query = ("id = $ids[0] OR MemberOf = $ids[0]");
-
-my ($id, $msg) = $tix->FromSQL($query);
-
-ok ($id, $msg);
-
-is ($tix->Count, scalar @ids, "number of returned tickets same as entered");
-
-@expectedids = ();
-while (my $tick = $tix->Next) {
-    push @expectedids, $tick->Id;
-}
-
-ok (eq_array(\@ids, \@expectedids), "returned expected tickets");
-
-=end testing
-
-
-=cut
-
-sub FromSQL {
-  my ($self,$query) = @_;
-
-  {
-    # preserve first_row and show_rows across the CleanSlate
-    local($self->{'first_row'}, $self->{'show_rows'});
-    $self->CleanSlate;
-  }
-  $self->_InitSQL();
-
-  return (1,$self->loc("No Query")) unless $query;
-
-  $self->{_sql_query} = $query;
-  eval { $self->_parser( $query ); };
-    if ($@) {
-        $RT::Logger->error( "Query error in <<$query>>:\n$@" );
-        return(0,$@);
-    }
-  # We only want to look at EffectiveId's (mostly) for these searches.
-  unless (exists $self->{_sql_looking_at}{'effectiveid'}) {
-  $self->SUPER::Limit( FIELD           => 'EffectiveId',
-                     ENTRYAGGREGATOR => 'AND',
-                     OPERATOR        => '=',
-                     QUOTEVALUE      => 0,
-                     VALUE           => 'main.id'
-    );    #TODO, we shouldn't be hard #coding the tablename to main.
-    }
-  # FIXME: Need to bring this logic back in
-
-  #      if ($self->_isLimited && (! $self->{'looking_at_effective_id'})) {
-  #         $self->SUPER::Limit( FIELD => 'EffectiveId',
-  #               OPERATOR => '=',
-  #               QUOTEVALUE => 0,
-  #               VALUE => 'main.id');   #TODO, we shouldn't be hard coding the tablename to main.
-  #       }
-  # --- This is hardcoded above.  This comment block can probably go.
-  # Or, we need to reimplement the looking_at_effective_id toggle.
-
-  # Unless we've explicitly asked to look at a specific Type, we need
-  # to limit to it.
-  unless ($self->{looking_at_type}) {
-    $self->SUPER::Limit( FIELD => 'Type', OPERATOR => '=', VALUE => 'ticket');
-  }
-
-  # We don't want deleted tickets unless 'allow_deleted_search' is set
-  unless( $self->{'allow_deleted_search'} ) {
-    $self->SUPER::Limit(FIELD => 'Status',
-                        OPERATOR => '!=',
-                        VALUE => 'deleted');
-  }
-
-
-  # set SB's dirty flag
-  $self->{'must_redo_search'} = 1;
-  $self->{'RecalcTicketLimits'} = 0;                                           
-
-  return (1,$self->loc("Valid Query"));
-
-}
-
-=head2 Query
-
-Returns the query that this object was initialized with
-
-=cut
-
-sub Query {
-    my $self = shift;
-    return ($self->{_sql_query}); 
-}
-
-
-
-1;
-
-=pod
-
-=head2 Exceptions
-
-Most of the RT code does not use Exceptions (die/eval) but it is used
-in the TicketSQL code for simplicity and historical reasons.  Lest you
-be worried that the dies will trigger user visible errors, all are
-trapped via evals.
-
-99% of the dies fall in subroutines called via FromSQL and then parse.
-(This includes all of the _FooLimit routines in Tickets_Overlay.pm.)
-The other 1% or so are via _ProcessRestrictions.
-
-All dies are trapped by eval {}s, and will be logged at the 'error'
-log level.  The general failure mode is to not display any tickets.
-
-=head2 General Flow
-
-Legacy Layer:
-
-   Legacy LimitFoo routines build up a RestrictionsHash
-
-   _ProcessRestrictions converts the Restrictions to Clauses
-   ([key,op,val,rest]).
-
-   Clauses are converted to RT-SQL (TicketSQL)
-
-New RT-SQL Layer:
-
-   FromSQL calls the parser
-
-   The parser calls the _FooLimit routines to do DBIx::SearchBuilder
-   limits.
-
-And then the normal SearchBuilder/Ticket routines are used for
-display/navigation.
-
-=cut
-
diff --git a/rt/lib/RT/Transaction.pm b/rt/lib/RT/Transaction.pm
deleted file mode 100755 (executable)
index cca2281..0000000
+++ /dev/null
@@ -1,440 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::Transaction
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::Transaction;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Transactions');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(64) 'ObjectType'.
-  int(11) 'ObjectId'.
-  int(11) 'TimeTaken'.
-  varchar(20) 'Type'.
-  varchar(40) 'Field'.
-  varchar(255) 'OldValue'.
-  varchar(255) 'NewValue'.
-  varchar(255) 'ReferenceType'.
-  int(11) 'OldReference'.
-  int(11) 'NewReference'.
-  varchar(255) 'Data'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                ObjectType => '',
-                ObjectId => '0',
-                TimeTaken => '0',
-                Type => '',
-                Field => '',
-                OldValue => '',
-                NewValue => '',
-                ReferenceType => '',
-                OldReference => '',
-                NewReference => '',
-                Data => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         ObjectType => $args{'ObjectType'},
-                         ObjectId => $args{'ObjectId'},
-                         TimeTaken => $args{'TimeTaken'},
-                         Type => $args{'Type'},
-                         Field => $args{'Field'},
-                         OldValue => $args{'OldValue'},
-                         NewValue => $args{'NewValue'},
-                         ReferenceType => $args{'ReferenceType'},
-                         OldReference => $args{'OldReference'},
-                         NewReference => $args{'NewReference'},
-                         Data => $args{'Data'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 ObjectType
-
-Returns the current value of ObjectType. 
-(In the database, ObjectType is stored as varchar(64).)
-
-
-
-=head2 SetObjectType VALUE
-
-
-Set ObjectType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectType will be stored as a varchar(64).)
-
-
-=cut
-
-
-=head2 ObjectId
-
-Returns the current value of ObjectId. 
-(In the database, ObjectId is stored as int(11).)
-
-
-
-=head2 SetObjectId VALUE
-
-
-Set ObjectId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ObjectId will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 TimeTaken
-
-Returns the current value of TimeTaken. 
-(In the database, TimeTaken is stored as int(11).)
-
-
-
-=head2 SetTimeTaken VALUE
-
-
-Set TimeTaken to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, TimeTaken will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Type
-
-Returns the current value of Type. 
-(In the database, Type is stored as varchar(20).)
-
-
-
-=head2 SetType VALUE
-
-
-Set Type to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Type will be stored as a varchar(20).)
-
-
-=cut
-
-
-=head2 Field
-
-Returns the current value of Field. 
-(In the database, Field is stored as varchar(40).)
-
-
-
-=head2 SetField VALUE
-
-
-Set Field to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Field will be stored as a varchar(40).)
-
-
-=cut
-
-
-=head2 OldValue
-
-Returns the current value of OldValue. 
-(In the database, OldValue is stored as varchar(255).)
-
-
-
-=head2 SetOldValue VALUE
-
-
-Set OldValue to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, OldValue will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 NewValue
-
-Returns the current value of NewValue. 
-(In the database, NewValue is stored as varchar(255).)
-
-
-
-=head2 SetNewValue VALUE
-
-
-Set NewValue to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, NewValue will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 ReferenceType
-
-Returns the current value of ReferenceType. 
-(In the database, ReferenceType is stored as varchar(255).)
-
-
-
-=head2 SetReferenceType VALUE
-
-
-Set ReferenceType to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ReferenceType will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 OldReference
-
-Returns the current value of OldReference. 
-(In the database, OldReference is stored as int(11).)
-
-
-
-=head2 SetOldReference VALUE
-
-
-Set OldReference to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, OldReference will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 NewReference
-
-Returns the current value of NewReference. 
-(In the database, NewReference is stored as int(11).)
-
-
-
-=head2 SetNewReference VALUE
-
-
-Set NewReference to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, NewReference will be stored as a int(11).)
-
-
-=cut
-
-
-=head2 Data
-
-Returns the current value of Data. 
-(In the database, Data is stored as varchar(255).)
-
-
-
-=head2 SetData VALUE
-
-
-Set Data to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Data will be stored as a varchar(255).)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        ObjectType => 
-               {read => 1, write => 1, sql_type => 12, length => 64,  is_blob => 0,  is_numeric => 0,  type => 'varchar(64)', default => ''},
-        ObjectId => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        TimeTaken => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Type => 
-               {read => 1, write => 1, sql_type => 12, length => 20,  is_blob => 0,  is_numeric => 0,  type => 'varchar(20)', default => ''},
-        Field => 
-               {read => 1, write => 1, sql_type => 12, length => 40,  is_blob => 0,  is_numeric => 0,  type => 'varchar(40)', default => ''},
-        OldValue => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        NewValue => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        ReferenceType => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        OldReference => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        NewReference => 
-               {read => 1, write => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Data => 
-               {read => 1, write => 1, sql_type => 12, length => 255,  is_blob => 0,  is_numeric => 0,  type => 'varchar(255)', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::Transaction_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Transaction_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Transaction_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Transaction_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Transaction_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Transaction_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Transaction_Overlay, RT::Transaction_Vendor, RT::Transaction_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Transaction_Overlay.pm b/rt/lib/RT/Transaction_Overlay.pm
deleted file mode 100644 (file)
index b179084..0000000
+++ /dev/null
@@ -1,1077 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Transaction - RT\'s transaction object
-
-=head1 SYNOPSIS
-
-  use RT::Transaction;
-
-
-=head1 DESCRIPTION
-
-
-Each RT::Transaction describes an atomic change to a ticket object 
-or an update to an RT::Ticket object.
-It can have arbitrary MIME attachments.
-
-
-=head1 METHODS
-
-=begin testing
-
-ok(require RT::Transaction);
-
-=end testing
-
-=cut
-
-
-package RT::Transaction;
-
-use strict;
-no warnings qw(redefine);
-
-use vars qw( %_BriefDescriptions );
-
-use RT::Attachments;
-use RT::Scrips;
-
-# {{{ sub Create 
-
-=head2 Create
-
-Create a new transaction.
-
-This routine should _never_ be called by anything other than RT::Ticket. 
-It should not be called 
-from client code. Ever. Not ever.  If you do this, we will hunt you down and break your kneecaps.
-Then the unpleasant stuff will start.
-
-TODO: Document what gets passed to this
-
-=cut
-
-sub Create {
-    my $self = shift;
-    my %args = (
-        id             => undef,
-        TimeTaken      => 0,
-        Type           => 'undefined',
-        Data           => '',
-        Field          => undef,
-        OldValue       => undef,
-        NewValue       => undef,
-        MIMEObj        => undef,
-        ActivateScrips => 1,
-        CommitScrips => 1,
-       ObjectType => 'RT::Ticket',
-       ObjectId => 0,
-       ReferenceType => undef,
-        OldReference       => undef,
-        NewReference       => undef,
-        @_
-    );
-
-    $args{ObjectId} ||= $args{Ticket};
-
-    #if we didn't specify a ticket, we need to bail
-    unless ( $args{'ObjectId'} && $args{'ObjectType'}) {
-        return ( 0, $self->loc( "Transaction->Create couldn't, as you didn't specify an object type and id"));
-    }
-
-
-
-    #lets create our transaction
-    my %params = (
-        Type      => $args{'Type'},
-        Data      => $args{'Data'},
-        Field     => $args{'Field'},
-        OldValue  => $args{'OldValue'},
-        NewValue  => $args{'NewValue'},
-        Created   => $args{'Created'},
-       ObjectType => $args{'ObjectType'},
-       ObjectId => $args{'ObjectId'},
-       ReferenceType => $args{'ReferenceType'},
-       OldReference => $args{'OldReference'},
-       NewReference => $args{'NewReference'},
-    );
-
-    # Parameters passed in during an import that we probably don't want to touch, otherwise
-    foreach my $attr qw(id Creator Created LastUpdated TimeTaken LastUpdatedBy) {
-        $params{$attr} = $args{$attr} if ($args{$attr});
-    }
-    my $id = $self->SUPER::Create(%params);
-    $self->Load($id);
-    $self->_Attach( $args{'MIMEObj'} ) if defined $args{'MIMEObj'};
-
-
-    #Provide a way to turn off scrips if we need to
-        $RT::Logger->debug('About to think about scrips for transaction #' .$self->Id);
-    if ( $args{'ActivateScrips'} and $args{'ObjectType'} eq 'RT::Ticket' ) {
-       $self->{'scrips'} = RT::Scrips->new($RT::SystemUser);
-
-        $RT::Logger->debug('About to prepare scrips for transaction #' .$self->Id); 
-
-        $self->{'scrips'}->Prepare(
-            Stage       => 'TransactionCreate',
-            Type        => $args{'Type'},
-            Ticket      => $args{'ObjectId'},
-            Transaction => $self->id,
-        );
-        if ($args{'CommitScrips'} ) {
-            $RT::Logger->debug('About to commit scrips for transaction #' .$self->Id);
-            $self->{'scrips'}->Commit();
-        }
-    }
-
-    return ( $id, $self->loc("Transaction Created") );
-}
-
-# }}}
-
-=head2 Scrips
-
-Returns the Scrips object for this transaction.
-This routine is only useful on a freshly created transaction object.
-Scrips do not get persisted to the database with transactions.
-
-
-=cut
-
-
-sub Scrips {
-    my $self = shift;
-    return($self->{'scrips'});
-}
-
-
-# {{{ sub Delete
-
-=head2 Delete
-
-Delete this transaction. Currently DOES NOT CHECK ACLS
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-
-    $RT::Handle->BeginTransaction();
-
-    my $attachments = $self->Attachments;
-
-    while (my $attachment = $attachments->Next) {
-        my ($id, $msg) = $attachment->Delete();
-        unless ($id) {
-            $RT::Handle->Rollback();
-            return($id, $self->loc("System Error: [_1]", $msg));
-        }
-    }
-    my ($id,$msg) = $self->SUPER::Delete();
-        unless ($id) {
-            $RT::Handle->Rollback();
-            return($id, $self->loc("System Error: [_1]", $msg));
-        }
-    $RT::Handle->Commit();
-    return ($id,$msg);
-}
-
-# }}}
-
-# {{{ Routines dealing with Attachments
-
-# {{{ sub Message 
-
-=head2 Message
-
-  Returns the RT::Attachments Object which contains the "top-level"object
-  attachment for this transaction
-
-=cut
-
-sub Message {
-
-    my $self = shift;
-    
-    if ( !defined( $self->{'message'} ) ) {
-
-        $self->{'message'} = new RT::Attachments( $self->CurrentUser );
-        $self->{'message'}->Limit(
-            FIELD => 'TransactionId',
-            VALUE => $self->Id
-        );
-
-        $self->{'message'}->ChildrenOf(0);
-    }
-    return ( $self->{'message'} );
-}
-
-# }}}
-
-# {{{ sub Content
-
-=head2 Content PARAMHASH
-
-If this transaction has attached mime objects, returns the first text/plain part.
-Otherwise, returns undef.
-
-Takes a paramhash.  If the $args{'Quote'} parameter is set, wraps this message 
-at $args{'Wrap'}.  $args{'Wrap'} defaults to 70.
-
-
-=cut
-
-sub Content {
-    my $self = shift;
-    my %args = (
-        Quote => 0,
-        Wrap  => 70,
-        @_
-    );
-
-    my $content;
-    my $content_obj = $self->ContentObj;
-    if ($content_obj) {
-        $content = $content_obj->Content;
-    }
-
-    # If all else fails, return a message that we couldn't find any content
-    else {
-        $content = $self->loc('This transaction appears to have no content');
-    }
-
-    if ( $args{'Quote'} ) {
-
-        # Remove quoted signature.
-        $content =~ s/\n-- \n(.*?)$//s;
-
-        # What's the longest line like?
-        my $max = 0;
-        foreach ( split ( /\n/, $content ) ) {
-            $max = length if ( length > $max );
-        }
-
-        if ( $max > 76 ) {
-            require Text::Wrapper;
-            my $wrapper = new Text::Wrapper(
-                columns    => $args{'Wrap'},
-                body_start => ( $max > 70 * 3 ? '   ' : '' ),
-                par_start  => ''
-            );
-            $content = $wrapper->wrap($content);
-        }
-
-        $content = '['
-          . $self->CreatorObj->Name() . ' - '
-          . $self->CreatedAsString() . "]:\n\n" . $content . "\n\n";
-        $content =~ s/^/> /gm;
-
-    }
-
-    return ($content);
-}
-
-# }}}
-
-# {{{ ContentObj
-
-=head2 ContentObj 
-
-Returns the RT::Attachment object which contains the content for this Transaction
-
-=cut
-
-
-
-sub ContentObj {
-
-    my $self = shift;
-
-    # If we don\'t have any content, return undef now.
-    unless ( $self->Attachments->First ) {
-        return (undef);
-    }
-
-    # Get the set of toplevel attachments to this transaction.
-    my $Attachment = $self->Attachments->First();
-
-    # If it's a message or a plain part, just return the
-    # body.
-    if ( $Attachment->ContentType() =~ '^(text/plain$|message/)' ) {
-        return ($Attachment);
-    }
-
-    # If it's a multipart object, first try returning the first
-    # text/plain part.
-
-    elsif ( $Attachment->ContentType() =~ '^multipart/' ) {
-        my $plain_parts = $Attachment->Children();
-        $plain_parts->ContentType( VALUE => 'text/plain' );
-
-        # If we actully found a part, return its content
-        if ( $plain_parts->First && $plain_parts->First->Content ne '' ) {
-            return ( $plain_parts->First );
-        }
-
-        # If that fails, return the  first text/plain or message/ part
-        # which has some content.
-
-        else {
-            my $all_parts = $Attachment->Children();
-            while ( my $part = $all_parts->Next ) {
-                if (( $part->ContentType() =~ '^(text/plain$|message/)' ) &&  $part->Content()  ) {
-                    return ($part);
-                }
-            }
-        }
-
-    }
-
-    # We found no content. suck
-    return (undef);
-}
-
-# }}}
-
-# {{{ sub Subject
-
-=head2 Subject
-
-If this transaction has attached mime objects, returns the first one's subject
-Otherwise, returns null
-  
-=cut
-
-sub Subject {
-    my $self = shift;
-    if ( $self->Attachments->First ) {
-        return ( $self->Attachments->First->Subject );
-    }
-    else {
-        return (undef);
-    }
-}
-
-# }}}
-
-# {{{ sub Attachments 
-
-=head2 Attachments
-
-  Returns all the RT::Attachment objects which are attached
-to this transaction. Takes an optional parameter, which is
-a ContentType that Attachments should be restricted to.
-
-=cut
-
-sub Attachments {
-    my $self = shift;
-
-    unless ( $self->{'attachments'} ) {
-        $self->{'attachments'} = RT::Attachments->new( $self->CurrentUser );
-
-        #If it's a comment, return an empty object if they don't have the right to see it
-        if ( $self->Type eq 'Comment' ) {
-            unless ( $self->CurrentUserHasRight('ShowTicketComments') ) {
-                return ( $self->{'attachments'} );
-            }
-        }
-
-        #if they ain't got rights to see, return an empty object
-        elsif ($self->__Value('ObjectType') eq "RT::Ticket") {
-            unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-                return ( $self->{'attachments'} );
-            }
-        }
-
-        $self->{'attachments'}->Limit( FIELD => 'TransactionId',
-                                       VALUE => $self->Id );
-
-        # Get the self->{'attachments'} in the order they're put into
-        # the database.  Arguably, we should be returning a tree
-        # of self->{'attachments'}, not a set...but no current app seems to need
-        # it.
-
-        $self->{'attachments'}->OrderBy( ALIAS => 'main',
-                                         FIELD => 'id',
-                                         ORDER => 'asc' );
-
-    }
-    return ( $self->{'attachments'} );
-
-}
-
-# }}}
-
-# {{{ sub _Attach 
-
-=head2 _Attach
-
-A private method used to attach a mime object to this transaction.
-
-=cut
-
-sub _Attach {
-    my $self       = shift;
-    my $MIMEObject = shift;
-
-    if ( !defined($MIMEObject) ) {
-        $RT::Logger->error(
-"$self _Attach: We can't attach a mime object if you don't give us one.\n"
-        );
-        return ( 0, $self->loc("[_1]: no attachment specified", $self) );
-    }
-
-    my $Attachment = new RT::Attachment( $self->CurrentUser );
-    $Attachment->Create(
-        TransactionId => $self->Id,
-        Attachment    => $MIMEObject
-    );
-    return ( $Attachment, $self->loc("Attachment created") );
-
-}
-
-# }}}
-
-# }}}
-
-# {{{ Routines dealing with Transaction Attributes
-
-# {{{ sub Description 
-
-=head2 Description
-
-Returns a text string which describes this transaction
-
-=cut
-
-sub Description {
-    my $self = shift;
-
-    #Check those ACLs
-    #If it's a comment or a comment email record,
-    #  we need to be extra special careful
-
-    if ( $self->__Value('Type') =~ /^Comment/ ) {
-        unless ( $self->CurrentUserHasRight('ShowTicketComments') ) {
-            return ( $self->loc("Permission Denied") );
-        }
-    }
-
-    #if they ain't got rights to see, don't let em
-    elsif ($self->__Value('ObjectType') eq "RT::Ticket") {
-        unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-            return ($self->loc("Permission Denied") );
-        }
-    }
-
-    if ( !defined( $self->Type ) ) {
-        return ( $self->loc("No transaction type specified"));
-    }
-
-    return ( $self->loc("[_1] by [_2]",$self->BriefDescription , $self->CreatorObj->Name ));
-}
-
-# }}}
-
-# {{{ sub BriefDescription 
-
-=head2 BriefDescription
-
-Returns a text string which briefly describes this transaction
-
-=cut
-
-sub BriefDescription {
-    my $self = shift;
-
-    #If it's a comment or a comment email record,
-    #  we need to be extra special careful
-    if ( $self->__Value('Type') =~ /^Comment/ ) {
-        unless ( $self->CurrentUserHasRight('ShowTicketComments') ) {
-            return ( $self->loc("Permission Denied") );
-        }
-    }
-
-    #if they ain't got rights to see, don't let em
-    elsif ( $self->__Value('ObjectType') eq "RT::Ticket" ) {
-        unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-            return ( $self->loc("Permission Denied") );
-        }
-    }
-
-    my $type = $self->Type;    #cache this, rather than calling it 30 times
-
-    if ( !defined($type) ) {
-        return $self->loc("No transaction type specified");
-    }
-
-    my $obj_type = $self->FriendlyObjectType;
-
-    if ( $type eq 'Create' ) {
-        return ( $self->loc( "[_1] created", $obj_type ) );
-    }
-    elsif ( $type =~ /Status/ ) {
-        if ( $self->Field eq 'Status' ) {
-            if ( $self->NewValue eq 'deleted' ) {
-                return ( $self->loc( "[_1] deleted", $obj_type ) );
-            }
-            else {
-                return (
-                    $self->loc(
-                        "Status changed from [_1] to [_2]",
-                        "'" . $self->loc( $self->OldValue ) . "'",
-                        "'" . $self->loc( $self->NewValue ) . "'"
-                    )
-                );
-
-            }
-        }
-
-        # Generic:
-        my $no_value = $self->loc("(no value)");
-        return (
-            $self->loc(
-                "[_1] changed from [_2] to [_3]",
-                $self->Field,
-                ( $self->OldValue ? "'" . $self->OldValue . "'" : $no_value ),
-                "'" . $self->NewValue . "'"
-            )
-        );
-    }
-
-    if ( my $code = $_BriefDescriptions{$type} ) {
-        return $code->($self);
-    }
-
-    return $self->loc(
-        "Default: [_1]/[_2] changed from [_3] to [_4]",
-        $type,
-        $self->Field,
-        (
-            $self->OldValue
-            ? "'" . $self->OldValue . "'"
-            : $self->loc("(no value)")
-        ),
-        "'" . $self->NewValue . "'"
-    );
-}
-
-%_BriefDescriptions = (
-    CommentEmailRecord => sub {
-        my $self = shift;
-        return $self->loc("Outgoing email about a comment recorded");
-    },
-    EmailRecord => sub {
-        my $self = shift;
-        return $self->loc("Outgoing email recorded");
-    },
-    Correspond => sub {
-        my $self = shift;
-        return $self->loc("Correspondence added");
-    },
-    Comment => sub {
-        my $self = shift;
-        return $self->loc("Comments added");
-    },
-    CustomField => sub {
-        my $self = shift;
-        my $field = $self->loc('CustomField');
-
-        if ( $self->Field ) {
-            my $cf = RT::CustomField->new( $self->CurrentUser );
-            $cf->Load( $self->Field );
-            $field = $cf->Name();
-        }
-
-        if ( $self->OldValue eq '' ) {
-            return ( $self->loc("[_1] [_2] added", $field, $self->NewValue) );
-        }
-        elsif ( $self->NewValue eq '' ) {
-            return ( $self->loc("[_1] [_2] deleted", $field, $self->OldValue) );
-
-        }
-        else {
-            return $self->loc("[_1] [_2] changed to [_3]", $field, $self->OldValue, $self->NewValue );
-        }
-    },
-    Untake => sub {
-        my $self = shift;
-        return $self->loc("Untaken");
-    },
-    Take => sub {
-        my $self = shift;
-        return $self->loc("Taken");
-    },
-    Force => sub {
-        my $self = shift;
-        my $Old = RT::User->new( $self->CurrentUser );
-        $Old->Load( $self->OldValue );
-        my $New = RT::User->new( $self->CurrentUser );
-        $New->Load( $self->NewValue );
-
-        return $self->loc("Owner forcibly changed from [_1] to [_2]" , $Old->Name , $New->Name);
-    },
-    Steal => sub {
-        my $self = shift;
-        my $Old = RT::User->new( $self->CurrentUser );
-        $Old->Load( $self->OldValue );
-        return $self->loc("Stolen from [_1]",  $Old->Name);
-    },
-    Give => sub {
-        my $self = shift;
-        my $New = RT::User->new( $self->CurrentUser );
-        $New->Load( $self->NewValue );
-        return $self->loc( "Given to [_1]",  $New->Name );
-    },
-    AddWatcher => sub {
-        my $self = shift;
-        my $principal = RT::Principal->new($self->CurrentUser);
-        $principal->Load($self->NewValue);
-        return $self->loc( "[_1] [_2] added", $self->Field, $principal->Object->Name);
-    },
-    DelWatcher => sub {
-        my $self = shift;
-        my $principal = RT::Principal->new($self->CurrentUser);
-        $principal->Load($self->OldValue);
-        return $self->loc( "[_1] [_2] deleted", $self->Field, $principal->Object->Name);
-    },
-    Subject => sub {
-        my $self = shift;
-        return $self->loc( "Subject changed to [_1]", $self->Data );
-    },
-    AddLink => sub {
-        my $self = shift;
-        my $value;
-        if ( $self->NewValue ) {
-            my $URI = RT::URI->new( $self->CurrentUser );
-            $URI->FromURI( $self->NewValue );
-            if ( $URI->Resolver ) {
-                $value = $URI->Resolver->AsString;
-            }
-            else {
-                $value = $self->NewValue;
-            }
-            if ( $self->Field eq 'DependsOn' ) {
-                return $self->loc( "Dependency on [_1] added", $value );
-            }
-            elsif ( $self->Field eq 'DependedOnBy' ) {
-                return $self->loc( "Dependency by [_1] added", $value );
-
-            }
-            elsif ( $self->Field eq 'RefersTo' ) {
-                return $self->loc( "Reference to [_1] added", $value );
-            }
-            elsif ( $self->Field eq 'ReferredToBy' ) {
-                return $self->loc( "Reference by [_1] added", $value );
-            }
-            elsif ( $self->Field eq 'MemberOf' ) {
-                return $self->loc( "Membership in [_1] added", $value );
-            }
-            elsif ( $self->Field eq 'HasMember' ) {
-                return $self->loc( "Member [_1] added", $value );
-            }
-            elsif ( $self->Field eq 'MergedInto' ) {
-                return $self->loc( "Merged into [_1]", $value );
-            }
-        }
-        else {
-            return ( $self->Data );
-        }
-    },
-    DeleteLink => sub {
-        my $self = shift;
-        my $value;
-        if ( $self->OldValue ) {
-            my $URI = RT::URI->new( $self->CurrentUser );
-            $URI->FromURI( $self->OldValue );
-            if ( $URI->Resolver ) {
-                $value = $URI->Resolver->AsString;
-            }
-            else {
-                $value = $self->OldValue;
-            }
-
-            if ( $self->Field eq 'DependsOn' ) {
-                return $self->loc( "Dependency on [_1] deleted", $value );
-            }
-            elsif ( $self->Field eq 'DependedOnBy' ) {
-                return $self->loc( "Dependency by [_1] deleted", $value );
-
-            }
-            elsif ( $self->Field eq 'RefersTo' ) {
-                return $self->loc( "Reference to [_1] deleted", $value );
-            }
-            elsif ( $self->Field eq 'ReferredToBy' ) {
-                return $self->loc( "Reference by [_1] deleted", $value );
-            }
-            elsif ( $self->Field eq 'MemberOf' ) {
-                return $self->loc( "Membership in [_1] deleted", $value );
-            }
-            elsif ( $self->Field eq 'HasMember' ) {
-                return $self->loc( "Member [_1] deleted", $value );
-            }
-        }
-        else {
-            return ( $self->Data );
-        }
-    },
-    Set => sub {
-        my $self = shift;
-        if ( $self->Field eq 'Password' ) {
-            return $self->loc('Password changed');
-        }
-        elsif ( $self->Field eq 'Queue' ) {
-            my $q1 = new RT::Queue( $self->CurrentUser );
-            $q1->Load( $self->OldValue );
-            my $q2 = new RT::Queue( $self->CurrentUser );
-            $q2->Load( $self->NewValue );
-            return $self->loc("[_1] changed from [_2] to [_3]", $self->Field , $q1->Name , $q2->Name);
-        }
-
-        # Write the date/time change at local time:
-        elsif ($self->Field =~  /Due|Starts|Started|Told/) {
-            my $t1 = new RT::Date($self->CurrentUser);
-            $t1->Set(Format => 'ISO', Value => $self->NewValue);
-            my $t2 = new RT::Date($self->CurrentUser);
-            $t2->Set(Format => 'ISO', Value => $self->OldValue);
-            return $self->loc( "[_1] changed from [_2] to [_3]", $self->Field, $t2->AsString, $t1->AsString );
-        }
-        else {
-            return $self->loc( "[_1] changed from [_2] to [_3]", $self->Field, ($self->OldValue? "'".$self->OldValue ."'" : $self->loc("(no value)")) , "'". $self->NewValue."'" );
-        }
-    },
-    PurgeTransaction => sub {
-        my $self = shift;
-        return $self->loc("Transaction [_1] purged", $self->Data);
-    },
-);
-
-# }}}
-
-# {{{ Utility methods
-
-# {{{ sub IsInbound
-
-=head2 IsInbound
-
-Returns true if the creator of the transaction is a requestor of the ticket.
-Returns false otherwise
-
-=cut
-
-sub IsInbound {
-    my $self = shift;
-    $self->ObjectType eq 'RT::Ticket' or return undef;
-    return ( $self->TicketObj->IsRequestor( $self->CreatorObj->PrincipalId ) );
-}
-
-# }}}
-
-# }}}
-
-sub _OverlayAccessible {
-    {
-
-          ObjectType => { public => 1},
-          ObjectId => { public => 1},
-
-    }
-};
-
-# }}}
-
-# }}}
-
-# {{{ sub _Set
-
-sub _Set {
-    my $self = shift;
-    return ( 0, $self->loc('Transactions are immutable') );
-}
-
-# }}}
-
-# {{{ sub _Value 
-
-=head2 _Value
-
-Takes the name of a table column.
-Returns its value as a string, if the user passes an ACL check
-
-=cut
-
-sub _Value {
-
-    my $self  = shift;
-    my $field = shift;
-
-    #if the field is public, return it.
-    if ( $self->_Accessible( $field, 'public' ) ) {
-        return ( $self->__Value($field) );
-
-    }
-
-    #If it's a comment, we need to be extra special careful
-    if ( $self->__Value('Type') eq 'Comment' ) {
-        unless ( $self->CurrentUserHasRight('ShowTicketComments') ) {
-            return (undef);
-        }
-    }
-    elsif ( $self->__Value('Type') eq 'CommentEmailRecord' ) {
-        unless ( $self->CurrentUserHasRight('ShowTicketComments')
-            && $self->CurrentUserHasRight('ShowOutgoingEmail') ) {
-            return (undef);
-        }
-
-    }
-    elsif ( $self->__Value('Type') eq 'EmailRecord' ) {
-        unless ( $self->CurrentUserHasRight('ShowOutgoingEmail')) {
-            return (undef);
-        }
-
-    }
-    # Make sure the user can see the custom field before showing that it changed
-    elsif ( ( $self->__Value('Type') eq 'CustomField' ) && $self->__Value('Field') ) {
-        my $cf = RT::CustomField->new( $self->CurrentUser );
-        $cf->Load( $self->__Value('Field') );
-        return (undef) unless ( $cf->CurrentUserHasRight('SeeCustomField') );
-    }
-
-
-    #if they ain't got rights to see, don't let em
-    elsif ($self->__Value('ObjectType') eq "RT::Ticket") {
-        unless ( $self->CurrentUserHasRight('ShowTicket') ) {
-            return (undef);
-        }
-    }
-
-    return ( $self->__Value($field) );
-
-}
-
-# }}}
-
-# {{{ sub CurrentUserHasRight
-
-=head2 CurrentUserHasRight RIGHT
-
-Calls $self->CurrentUser->HasQueueRight for the right passed in here.
-passed in here.
-
-=cut
-
-sub CurrentUserHasRight {
-    my $self  = shift;
-    my $right = shift;
-    return (
-        $self->CurrentUser->HasRight(
-            Right     => "$right",
-            Object => $self->TicketObj
-          )
-    );
-}
-
-# }}}
-
-sub Ticket {
-    my $self = shift;
-    return $self->ObjectId;
-}
-
-sub TicketObj {
-    my $self = shift;
-    return $self->Object;
-}
-
-sub OldValue {
-    my $self = shift;
-    if (my $type = $self->__Value('ReferenceType')) {
-       my $Object = $type->new($self->CurrentUser);
-       $Object->Load($self->__Value('OldReference'));
-       return $Object->Content;
-    }
-    else {
-       return $self->__Value('OldValue');
-    }
-}
-
-sub NewValue {
-    my $self = shift;
-    if (my $type = $self->__Value('ReferenceType')) {
-       my $Object = $type->new($self->CurrentUser);
-       $Object->Load($self->__Value('NewReference'));
-       return $Object->Content;
-    }
-    else {
-       return $self->__Value('NewValue');
-    }
-}
-
-sub Object {
-    my $self  = shift;
-    my $Object = $self->__Value('ObjectType')->new($self->CurrentUser);
-    $Object->Load($self->__Value('ObjectId'));
-    return($Object);
-}
-
-sub FriendlyObjectType {
-    my $self = shift;
-    my $type = $self->ObjectType or return undef;
-    $type =~ s/^RT:://;
-    return $self->loc($type);
-}
-
-=head2 UpdateCustomFields
-    
-    Takes a hash of 
-
-    CustomField-<<Id>> => Value
-        or 
-
-    Object-RT::Transaction-CustomField-<<Id>> => Value parameters to update
-    this transaction's custom fields
-
-=cut
-
-sub UpdateCustomFields {
-    my $self = shift;
-    my %args = (@_);
-
-    # This method used to have an API that took a hash of a single
-    # value "ARGSRef", which was a reference to a hash of arguments.
-    # This was insane. The next few lines of code preserve that API
-    # while giving us something saner.
-       
-
-    # TODO: 3.6: DEPRECATE OLD API
-
-    my $args; 
-
-    if ($args{'ARGSRef'}) { 
-        $args = $args{ARGSRef};
-    } else {
-        $args = \%args;
-    }
-
-    foreach my $arg ( keys %$args ) {
-        next
-          unless ( $arg =~
-            /^(?:Object-RT::Transaction--)?CustomField-(\d+)/ );
-       next if $arg =~ /-Magic$/;
-        my $cfid   = $1;
-        my $values = $args->{$arg};
-        foreach
-          my $value ( UNIVERSAL::isa( $values, 'ARRAY' ) ? @$values : $values )
-        {
-            next unless length($value);
-            $self->_AddCustomFieldValue(
-                Field             => $cfid,
-                Value             => $value,
-                RecordTransaction => 0,
-            );
-        }
-    }
-}
-
-
-
-=head2 CustomFieldValues
-
- Do name => id mapping (if needed) before falling back to RT::Record's CustomFieldValues
-
- See L<RT::Record>
-
-=cut
-
-sub CustomFieldValues {
-    my $self  = shift;
-    my $field = shift;
-
-    if ( UNIVERSAL::can( $self->Object, 'QueueObj' ) ) {
-
-        unless ( $field =~ /^\d+$/o ) {
-            my $CFs = RT::CustomFields->new( $self->CurrentUser );
-             $CFs->Limit( FIELD => 'Name', VALUE => $field);
-            $CFs->LimitToLookupType($self->CustomFieldLookupType);
-            $CFs->LimitToGlobalOrObjectId($self->Object->QueueObj->id);
-            $field = $CFs->First->id if $CFs->First;
-        }
-    }
-    return $self->SUPER::CustomFieldValues($field);
-}
-
-# }}}
-
-# {{{ sub CustomFieldLookupType
-
-=head2 CustomFieldLookupType
-
-Returns the RT::Transaction lookup type, which can 
-be passed to RT::CustomField->Create() via the 'LookupType' hash key.
-
-=cut
-
-# }}}
-
-sub CustomFieldLookupType {
-    "RT::Queue-RT::Ticket-RT::Transaction";
-}
-
-# Transactions don't change. by adding this cache congif directiove, we don't lose pathalogically on long tickets.
-sub _CacheConfig {
-  {
-     'cache_p'        => 1,
-     'fast_update_p'  => 1,
-     'cache_for_sec'  => 6000,
-  }
-}
-1;
diff --git a/rt/lib/RT/Transactions.pm b/rt/lib/RT/Transactions.pm
deleted file mode 100755 (executable)
index 351b14c..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Transactions -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Transactions
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Transactions;
-
-use RT::SearchBuilder;
-use RT::Transaction;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Transactions';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::Transaction item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::Transaction->new($self->CurrentUser));
-}
-
-        eval "require RT::Transactions_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Transactions_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Transactions_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Transactions_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Transactions_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Transactions_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Transactions_Overlay, RT::Transactions_Vendor, RT::Transactions_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Transactions_Overlay.pm b/rt/lib/RT/Transactions_Overlay.pm
deleted file mode 100644 (file)
index fe51575..0000000
+++ /dev/null
@@ -1,186 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Transactions - a collection of RT Transaction objects
-
-=head1 SYNOPSIS
-
-  use RT::Transactions;
-
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok (require RT::Transactions);
-
-=end testing
-
-=cut
-
-
-package RT::Transactions;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub _Init  
-sub _Init   {
-  my $self = shift;
-  
-  $self->{'table'} = "Transactions";
-  $self->{'primary_key'} = "id";
-  
-  # By default, order by the date of the transaction, rather than ID.
-  $self->OrderByCols( { FIELD => 'Created',
-                       ORDER => 'ASC' },
-                     { FIELD => 'id',
-                       ORDER => 'ASC' } );
-
-  return ( $self->SUPER::_Init(@_));
-}
-# }}}
-
-=head2 Limit
-
-A wrapper around SUPER::Limit to catch migration issues
-
-=cut
-
-sub Limit {
-       my $self = shift;
-       my %args = (@_);
-
-       if ($args{'FIELD'} eq 'Ticket') {
-               Carp::cluck("Historical code calling RT::Transactions::Limit with a 'Ticket'.  This deprecated API will be deleted in 3.6");
-               $self->SUPER::Limit(FIELD => 'ObjectType', OPERATOR => '=', VALUE =>'RT::Ticket');
-               $args{'FIELD'} = 'ObjectId';
-               $self->SUPER::Limit(%args);
-
-       } else {
-
-               $self->SUPER::Limit(%args);
-       }
-
-
-}
-
-
-
-=head2 LimitToTicket TICKETID 
-
-Find only transactions for the ticket whose id is TICKETID.
-
-This includes tickets merged into TICKETID.
-
-Repeated calls to this method will intelligently limit down to that set of tickets, joined with an OR
-
-
-=cut
-
-
-sub LimitToTicket {
-    my $self = shift;
-    my $tid  = shift;
-
-    unless ( $self->{'tickets_table'} ) {
-        $self->{'tickets_table'} ||= $self->NewAlias('Tickets');
-        $self->Join(
-            ALIAS1 => 'main',
-            FIELD1 => 'ObjectId',
-            ALIAS2 => $self->{'tickets_table'},
-            FIELD2 => 'id'
-        );
-        $self->Limit(
-            FIELD => 'ObjectType',
-            VALUE => 'RT::Ticket',
-        );
-    }
-    $self->Limit(
-        ALIAS           => $self->{tickets_table},
-        FIELD           => 'EffectiveId',
-        OPERATOR        => '=',
-        ENTRYAGGREGATOR => 'OR',
-        VALUE           => $tid,
-    );
-
-}
-
-
-# {{{ sub Next
-sub Next {
-    my $self = shift;
-       
-    my $Transaction = $self->SUPER::Next();
-    if ((defined($Transaction)) and (ref($Transaction))) {
-       # If the user can see the transaction's type, then they can 
-       #  see the transaction and we should hand it back.
-       if ($Transaction->Type) {
-           return($Transaction);
-       }
-
-       #If the user doesn't have the right to show this ticket
-       else {  
-           return($self->Next());
-       }
-    }
-
-    #if there never was any ticket
-    else {
-       return(undef);
-    }  
-}
-# }}}
-
-
-
-1;
-
diff --git a/rt/lib/RT/URI.pm b/rt/lib/RT/URI.pm
deleted file mode 100644 (file)
index fdbe63b..0000000
+++ /dev/null
@@ -1,271 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::URI;;
-
-use strict;
-use vars qw/@ISA/;
-@ISA = qw(RT::Base);
-
-use RT::URI::base;
-use Carp;
-
-=head1 NAME
-
-RT::URI
-
-=head1 DESCRIPTION
-
-This class provides a base class for URIs, such as those handled
-by RT::Link objects.  
-
-=head1 API
-
-
-
-=cut
-
-
-
-
-=head2 new
-
-Create a new RT::URI object.
-
-=cut
-
-                         
-sub new {
-    my $proto = shift;
-    my $class = ref($proto) || $proto;
-    my $self  = {};
-    bless( $self, $class );
-
-    $self->CurrentUser(@_);
-
-    return ($self);
-}
-
-
-
-# {{{ FromObject
-
-=head2 FromObject <Object>
-
-Given a local object, such as an RT::Ticket or an RT::FM::Article, this routine will return a URI for
-the local object
-
-=cut
-
-sub FromObject {
-    my $self = shift;
-    my $obj = shift;
-
-    return undef unless  $obj->can('URI');
-    return $self->FromURI($obj->URI);
-}
-
-# }}}
-
-# {{{ FromURI
-
-=head2 FromURI <URI>
-
-Returns a local object id for this content. You are expected to know
-what sort of object this is the Id of
-
-Returns true if everything is ok, otherwise false
-
-=cut
-
-sub FromURI {
-    my $self = shift;
-    my $uri = shift;    
-
-    return undef unless ($uri);
-
-    my $scheme;
-    # Special case: integers passed in as URIs must be ticket ids
-    if ($uri =~ /^(\d+)$/) {
-       $scheme = "fsck.com-rt";
-    } elsif ($uri =~ /^((?:\w|\.|-)+?):/) {
-       $scheme = $1;
-    }
-    else {
-        $RT::Logger->warning("$self Could not determine a URI scheme for $uri");
-               return (undef);
-    }
-     
-    # load up a resolver object for this scheme  
-    $self->_GetResolver($scheme);
-    
-    unless ($self->Resolver->ParseURI($uri)) {
-        $RT::Logger->warning("Resolver ".ref($self->Resolver)." could not parse $uri");
-        $self->{resolver} = undef; # clear resolver
-       return (undef);
-    }
-
-return(1);
-
-}
-
-# }}}
-
-# {{{ _GetResolver
-
-=private _GetResolver <scheme>
-
-Gets an RT URI resolver for the scheme <scheme>. 
-Falls back to a null resolver. RT::URI::base.
-
-=cut
-
-sub _GetResolver {
-    my $self = shift;
-    my $scheme = shift;
-
-    $scheme =~ s/(\.|-)/_/g;
-    my $resolver;
-
-    
-       eval " 
-            require RT::URI::$scheme;
-            \$resolver = RT::URI::$scheme->new(\$self->CurrentUser);
-       ";
-     
-        if ($resolver) {
-        $self->{'resolver'} = $resolver;
-        } else {
-        $self->{'resolver'} = RT::URI::base->new($self->CurrentUser); 
-        }
-
-}
-
-# }}}
-
-# {{{ Scheme
-
-=head2 Scheme
-
-Returns a local object id for this content.  You are expected to know what sort of object this is the Id 
-of 
-
-=cut
-
-sub Scheme {
-    my $self = shift;
-    return ($self->Resolver->Scheme);
-
-}
-# }}}
-# {{{ URI
-
-=head2 URI
-
-Returns a local object id for this content.  You are expected to know what sort of object this is the Id 
-of 
-
-=cut
-
-sub URI {
-    my $self = shift;
-    return ($self->Resolver->URI);
-
-}
-# }}}
-
-# {{{ Object
-
-=head2 Object
-
-Returns a local object for this content. This will usually be an RT::Ticket or somesuch
-
-=cut
-
-
-sub Object {   
-    my $self = shift;
-    return($self->Resolver->Object);
-
-}
-
-
-# }}}
-
-# {{{ IsLocal
-
-=head2 IsLocal
-
-Returns a local object for this content. This will usually be an RT::Ticket or somesuch
-
-=cut
-
-sub IsLocal {
-    my $self = shift;
-    return $self->Resolver->IsLocal;     
-}
-
-
-# }}}
-
-
-=head Resolver
-
-Returns this URI's URI resolver object
-
-=cut
-
-
-sub Resolver {
-    my $self =shift;
-    return ($self->{'resolver'});
-}
-
-eval "require RT::URI_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/URI_Vendor.pm});
-eval "require RT::URI_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/URI_Local.pm});
-
-1;
diff --git a/rt/lib/RT/URI/base.pm b/rt/lib/RT/URI/base.pm
deleted file mode 100644 (file)
index 56bfef3..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::URI::base;
-
-use strict;
-use base qw(RT::Base);
-
-=head1 NAME
-
-RT::URI::base
-
-=head1 DESCRIPTION
-
-A baseclass (and fallback) RT::URI handler. Every URI handler needs to 
-handle the API presented here
-
-=cut
-
-
-=head1 API
-
-=head2 new
-
-Create a new URI handler
-
-=cut
-
-sub new {
-    my $proto = shift;
-    my $class = ref($proto) || $proto;
-    my $self  = {};
-    bless( $self, $class );
-    $self->CurrentUser(@_);
-    return ($self);
-}
-
-sub ParseObject  {
-    my $self = shift;
-    my $obj = shift;
-    $self->{'uri'} = "unknown-object:".ref($obj);
-
-
-}
-
-
-
-sub ParseURI { 
-    my $self = shift;
-    my $uri = shift;
-
-    if ($uri =~  /^(.*?):/) { 
-        $self->{'scheme'} = $1;
-    }
-    $self->{'uri'} = $uri;
-   
-    
-}
-
-
-sub Object {
-    my $self = shift;
-    return undef;
-
-}
-
-sub URI {
-    my $self = shift;
-    return($self->{'uri'});
-}
-
-sub Scheme { 
-    my $self = shift;
-    return($self->{'scheme'});
-
-}
-
-sub HREF {
-    my $self = shift;
-    return($self->{'href'} || $self->{'uri'});
-}
-
-sub IsLocal {
-    my $self = shift;
-    return undef;
-}
-
-=head2 AsString
-
-Return a "pretty" string representing the URI object.
-
-This is meant to be used like this:
-
- % $re = $uri->Resolver;
- <A HREF="<% $re->HREF %>"><% $re->AsString %></A>
-
-=cut
-
-sub AsString {
-    my $self = shift;
-    return $self->URI;
-}
-
-eval "require RT::URI::base_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/URI/base_Vendor.pm});
-eval "require RT::URI::base_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/URI/base_Local.pm});
-
-1;
diff --git a/rt/lib/RT/URI/freeside.pm b/rt/lib/RT/URI/freeside.pm
deleted file mode 100644 (file)
index ff1d38d..0000000
+++ /dev/null
@@ -1,285 +0,0 @@
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 2004 Kristian Hoffmann <khoff@fire2wire.com>
-# Based on the original RT::URI::base and RT::URI::fsck_com_rt.
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-package RT::URI::freeside;
-
-use RT::URI::base;
-use strict;
-use vars qw(@ISA $IntegrationType $URL);
-@ISA = qw/RT::URI::base/;
-
-
-=head1 NAME
-
-RT::URI::freeside
-
-=head1 DESCRIPTION
-
-URI handler for freeside URIs.  See http://www.sisd.com/freeside/ for
-more information on freeside.
-
-
-=head1 Public subroutines
-
-=over 4
-
-=item FreesideGetConfig CONFKEY
-
-Subroutine that returns the freeside's configuration value(s) for CONFKEY
-as a scalar or list.
-
-=cut
-
-sub FreesideGetConfig { return undef; }
-
-
-=item FreesideURL
-
-Returns the URL for freeside's web interface.
-
-=cut
-
-sub FreesideURL { return $URL; }
-
-
-=item FreesideVersion
-
-Returns a string describing the freeside version being used.
-
-=cut
-
-sub FreesideVersion { return undef; }
-
-
-=item smart_search
-
-A wrapper for the FS::cust_main::smart_search subroutine.
-
-=cut
-
-sub smart_search { return undef; }
-
-
-=item small_custview
-
-A wrapper for the FS::CGI::small_custview subroutine.
-
-=cut
-
-sub small_custview { return 'Freeside integration error!</A>'; }
-
-
-=back
-
-=head1 Private methods
-
-=over 4
-
-=item _FreesideGetRecord
-
-Method returns a hashref of the freeside record referenced in the URI.
-Must be called after ParseURI.
-
-=cut
-
-sub _FreesideGetRecord { return undef; }
-
-
-=item _FreesideURIPrefix
-
-Method that returns the URI prefix for freeside URIs.
-
-=cut
-
-sub _FreesideURIPrefix {
-
-  my $self = shift;
-  return($self->Scheme . '://freeside');
-
-}
-
-=item _FreesideURILabel
-
-Method that returns a short string describing the customer referenced
-in the URI.
-
-=cut
-
-sub _FreesideURILabel {
-
-  my $self = shift;
-
-  $RT::Logger->debug("Called _FreesideURILabel()");
-
-  return unless (exists($self->{'fstable'}) and
-                 exists($self->{'fspkey'}));
-
-  my $label;
-  my ($table, $pkey) = ($self->{'fstable'}, $self->{'fspkey'});
-
-  if ($table ne 'cust_main') {
-    warn "FS::${table} not currently supported";
-    return;
-  }
-
-  my $rec = $self->_FreesideGetRecord();
-
-  if (ref($rec) eq 'HASH' and $table eq 'cust_main') {
-    my $name = $rec->{'last'} . ', ' . $rec->{'first'};
-    $name = $rec->{'company'} . " ($name)" if $rec->{'company'};
-    $label = "$pkey: $name";
-  } else {
-    $label = "$pkey: $table";
-  }
-
-  if ($label and !$@) {
-    return($label);
-  } else {
-    return;
-  }
-
-}
-
-=item _FreesideURILabelLong
-
-Method that returns a longer string describing the customer referenced
-in the URI.
-
-=cut
-
-sub _FreesideURILabelLong {
-
-  my $self = shift;
-
-  return $self->_FreesideURILabel();
-
-}
-
-=back
-
-=head1 Public methods
-
-=over 4
-
-=cut
-
-sub ParseURI { 
-    my $self = shift;
-    my $uri = shift;
-    my ($table, $pkey);
-
-    my $uriprefix = $self->_FreesideURIPrefix;
-    if ($uri =~ /^$uriprefix\/(\w+)\/(\d+)$/) {
-      $table = $1;
-      $pkey = $2;
-      $self->{'scheme'} = $self->Scheme;
-    } else {
-      return(undef);
-    }
-
-    $self->{'uri'} = "${uriprefix}/${table}/${pkey}";
-    $self->{'fstable'} = $table;
-    $self->{'fspkey'} = $pkey;
-
-
-    my $url = $self->FreesideURL();
-
-    if ($url ne '') {
-      $self->{'href'} = "${url}/view/${table}.cgi?${pkey}";
-    } else {
-      $self->{'href'} = $self->{'uri'};
-    }
-
-    $self->{'uri'};
-
-}
-
-sub Scheme { 
-    my $self = shift;
-    return('freeside');
-
-}
-
-sub HREF {
-    my $self = shift;
-    return($self->{'href'} || $self->{'uri'});
-}
-
-sub IsLocal {
-    my $self = shift;
-    return undef;
-}
-
-=item AsString
-
-Return a "pretty" string representing the URI object.
-
-This is meant to be used like this:
-
- % $re = $uri->Resolver;
- <A HREF="<% $re->HREF %>"><% $re->AsString %></A>
-
-=cut
-
-sub AsString {
-    my $self = shift;
-    my $prettystring;
-    if ($prettystring = $self->_FreesideURILabel) {
-      return $prettystring;
-    } else {
-      return $self->URI;
-    }
-}
-
-=item AsStringLong
-
-Return a longer (HTML) string representing the URI object.
-
-=cut
-
-sub AsStringLong {
-    my $self = shift;
-    my $prettystring;
-    if ($prettystring = $self->_FreesideURILabelLong || $self->_FreesideURILabel){
-      return $prettystring;
-    } else {
-      return $self->URI;
-    }
-}
-
-$IntegrationType ||= 'Internal';
-eval "require RT::URI::freeside::${RT::URI::freeside::IntegrationType}";
-warn $@ if $@;
-if ($@ &&
-    $@ !~ qr(^Can't locate RT/URI/freeside/${RT::URI::freeside::IntegrationType}.pm)) {
-  die $@;
-};
-
-=back
-
-=cut
-
-1;
diff --git a/rt/lib/RT/URI/freeside/Internal.pm b/rt/lib/RT/URI/freeside/Internal.pm
deleted file mode 100644 (file)
index 9ca0630..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 2004 Kristian Hoffmann <khoff@fire2wire.com>
-# Based on the original RT::URI::base and RT::URI::fsck_com_rt.
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-#
-use strict;
-no warnings qw(redefine);
-
-#use vars qw($conf);
-
-use FS;
-use FS::UID qw(dbh);
-use FS::CGI qw(popurl small_custview);
-use FS::Conf;
-use FS::Record qw(qsearchs qsearch dbdef);
-use FS::cust_main;
-use FS::cust_svc;
-
-=head1 NAME
-
-RT::URI::freeside::Internal
-
-=head1 DESCRIPTION
-
-Overlay for the RT::URI::freeside URI handler implementing the Internal integration type.
-
-See L<RT::URI::freeside> for public/private interface documentation.
-
-=cut
-
-
-
-sub _FreesideGetRecord {
-
-  my $self = shift;
-  my ($table, $pkey) = ($self->{'fstable'}, $self->{'fspkey'});
-
-  $RT::Logger->debug("Called _FreesideGetRecord()");
-
-  #eval "use FS::$table;";
-
-  my $dbdef = dbdef;
-  unless ($dbdef) {
-    $RT::Logger->error("Using Internal freeside integration type, ".
-                       "but it doesn't look like we're running under ".
-                       "freeside's Mason handler.");
-    return;
-  }
-
-  my $pkeyfield = $dbdef->table($table)->primary_key;
-  unless ($pkeyfield) {
-    $RT::Logger->error("No primary key for freeside table '$table'");
-    return;
-  }
-
-  my $fsrec = qsearchs($table, { $pkeyfield => $pkey });
-  unless ($fsrec) {
-    $RT::Logger->error("Record with '$pkeyfield' == '$pkey' does " .
-                       "not exist in table $table");
-    return;
-  }
-
-  return { $fsrec->hash, '_object' => $fsrec };
-
-}
-
-sub FreesideVersion {
-
-  return $FS::VERSION;
-
-}
-
-sub FreesideGetConfig {
-
-  #$conf = new FS::Conf unless ref($conf);
-  my $conf = new FS::Conf;
-
-  return scalar($conf->config(@_));
-
-}
-
-sub smart_search { #Subroutine
-
-  return map { { $_->hash } } &FS::cust_main::smart_search(@_);
-
-}
-
-sub small_custview {
-
-  return &FS::CGI::small_custview(@_);
-
-}
-
-sub _FreesideURILabelLong {
-
-  my $self = shift;
-
-  my $table = $self->{'fstable'};
-
-  if ( $table eq 'cust_main' ) {
-
-    my $rec = $self->_FreesideGetRecord();
-    return small_custview( $rec->{'_object'},
-                           scalar(FS::Conf->new->config('countrydefault')),
-                           1 #nobalance
-                         );
-
-  } else {
-
-    return $self->_FreesideURILabel();
-
-  }
-
-}
-
-1;
diff --git a/rt/lib/RT/URI/freeside/XMLRPC.pm b/rt/lib/RT/URI/freeside/XMLRPC.pm
deleted file mode 100644 (file)
index a8a731f..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 2004 Kristian Hoffmann <khoff@fire2wire.com>
-# Based on the original RT::URI::base and RT::URI::fsck_com_rt.
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-
-use strict;
-no warnings qw(redefine);
-
-use vars qw($XMLRPC_URL $_FS_VERSION);
-
-use Frontier::Client;
-
-=head1 NAME
-
-RT::URI::freeside::XMLRPC
-
-=head1 DESCRIPTION
-
-Overlay for the RT::URI::freeside URI handler implementing the XMLRPC integration type.
-
-See L<RT::URI::freeside> for public/private interface documentation.
-
-=cut
-
-
-sub _XMLRPCRequest { #Subroutine
-
-  my $method = shift;
-  my @args = @_;
-
-  my $result;
-  eval {
-    my $server = new Frontier::Client ( url => $XMLRPC_URL );
-    $result = $server->call($method, @args);
-  };
-
-  if (not $@ and ref($result) eq 'ARRAY') {
-    return (scalar(@$result) == 1) ? @$result[0] : @$result;
-  } else {
-    $RT::Logger->debug("Freeside XMLRPC: " . $result || $@);
-    return ();
-  }
-
-}
-
-sub _FreesideGetRecord {
-
-  my $self = shift;
-  my ($table, $pkey) = ($self->{'fstable'}, $self->{'fspkey'});
-  my $record;
-
-  $RT::Logger->debug("Called XMLRPC::_FreesideGetRecord()");
-
-  #FIXME: Need a better way to get primary keys.
-  # Maybe create a method for it and cache them like version?
-  my %table_pkeys = (
-    cust_main => 'custnum',
-  );
-    
-  my $method = 'Record.qsearchs';
-  my @args = ($table, { $table_pkeys{$table} => $pkey });
-  my ($record) = &_XMLRPCRequest($method, @args);
-
-  return $record;
-
-}
-
-
-sub FreesideGetConfig {
-
-  return _XMLRPCRequest('Conf.config', @_);
-
-}
-
-
-sub FreesideVersion {
-
-  return $_FS_VERSION if ($_FS_VERSION =~ /^\d+\.\d+\.\d+/);
-
-  $RT::Logger->debug("Requesting freeside version...");
-  ($_FS_VERSION) = &_XMLRPCRequest('version');
-  $RT::Logger->debug("Cached freeside version: ${_FS_VERSION}");
-  return $_FS_VERSION;
-
-}
-
-sub smart_search { #Subroutine
-
-  return _XMLRPCRequest('cust_main.smart_search', @_);
-
-}
-
-sub small_custview {
-
-  return _XMLRPCRequest('CGI.small_custview', @_);
-
-}
-
-1;
diff --git a/rt/lib/RT/URI/fsck_com_rt.pm b/rt/lib/RT/URI/fsck_com_rt.pm
deleted file mode 100644 (file)
index ba98b1d..0000000
+++ /dev/null
@@ -1,269 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-package RT::URI::fsck_com_rt;
-
-use RT::Ticket;
-
-use RT::URI::base;
-
-use strict;
-use vars qw(@ISA);
-@ISA = qw/RT::URI::base/;
-
-
-
-
-=head2 LocalURIPrefix  
-
-Returns the prefix for a local URI. 
-
-=begin testing
-
-use_ok("RT::URI::fsck_com_rt");
-my $uri = RT::URI::fsck_com_rt->new($RT::SystemUser);
-
-ok(ref($uri));
-
-use Data::Dumper;
-
-
-ok (UNIVERSAL::isa($uri,RT::URI::fsck_com_rt), "It's an RT::URI::fsck_com_rt");
-
-ok ($uri->isa('RT::URI::base'), "It's an RT::URI::base");
-ok ($uri->isa('RT::Base'), "It's an RT::Base");
-
-is ($uri->LocalURIPrefix , 'fsck.com-rt://'.$RT::Organization);
-
-=end testing
-
-
-
-=cut
-
-sub LocalURIPrefix {
-    my $self = shift;
-    
-    my $prefix = $self->Scheme. "://$RT::Organization";
-
-    return ($prefix);
-}
-
-=head2 ObjectType
-
-=cut
-
-sub ObjectType {
-    my $self = shift;
-    my $object = shift || $self->Object;
-
-    my $type = 'ticket';
-    if (ref($object) && (ref($object) ne 'RT::Ticket')) {
-            $type = ref($object);
-    }
-
-    return ($type);
-}
-
-
-
-
-=head2 URIForObject RT::Record
-
-Returns the RT URI for a local RT::Record object
-
-=begin testing
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-$ticket->Load(1);
-my $uri = RT::URI::fsck_com_rt->new($ticket->CurrentUser);
-is($uri->LocalURIPrefix. "/ticket/1" , $uri->URIForObject($ticket));
-
-=end testing
-
-=cut
-
-sub URIForObject {
-    my $self = shift;
-    my $obj = shift;
-    return ($self->LocalURIPrefix."/".$self->ObjectType($obj)."/". $obj->Id);
-}
-
-
-=head2 ParseURI URI
-
-When handed an fsck.com-rt: URI, figures out things like whether its a local record and what its ID is
-
-=cut
-
-
-sub ParseURI {
-    my $self = shift;
-    my $uri  = shift;
-
-    if ( $uri =~ /^(\d+)$/ ) {
-        my $ticket = RT::Ticket->new( $self->CurrentUser );
-        $ticket->Load($uri);
-        $self->{'uri'} = $ticket->URI;
-        $self->{'object'} = $ticket;
-        return($ticket->id);
-    }
-    else {
-        $self->{'uri'} = $uri;
-    }
-
-    #If it's a local URI, load the ticket object and return its URI
-    if ( $self->IsLocal ) {
-
-        my $local_uri_prefix = $self->LocalURIPrefix;
-        if ( $self->{'uri'} =~ /^$local_uri_prefix\/(.*?)\/(\d+)$/i ) {
-            my $type = $1;
-            my $id   = $2;
-
-            if ( $type eq 'ticket' ) { $type = 'RT::Ticket' }
-
-            # We can instantiate any RT::Record subtype. but not anything else
-
-            if ( UNIVERSAL::isa( $type, 'RT::Record' ) ) {
-                my $record = $type->new( $self->CurrentUser );
-                $record->Load($id);
-
-                if ( $record->Id ) {
-                    $self->{'object'} = $record;
-                    return ( $record->Id );
-                }
-            }
-
-        }
-    }
-    return undef;
-}
-
-=head2 IsLocal 
-
-Returns true if this URI is for a local ticket.
-Returns undef otherwise.
-
-
-
-=cut
-
-sub IsLocal {
-       my $self = shift;
-        my $local_uri_prefix = $self->LocalURIPrefix;
-       if ($self->{'uri'} =~ /^$local_uri_prefix/i) {
-               return 1;
-    }
-       else {
-               return undef;
-       }
-}
-
-
-
-=head2 Object
-
-Returns the object for this URI, if it's local. Otherwise returns undef.
-
-=cut
-
-sub Object {
-    my $self = shift;
-    return ($self->{'object'});
-
-}
-
-=head2 Scheme
-
-Return the URI scheme for RT records
-
-=cut
-
-
-sub Scheme {
-    my $self = shift;
-       return "fsck.com-rt";
-}
-
-=head2 HREF
-
-If this is a local ticket, return an HTTP url to it.
-Otherwise, return its URI
-
-=cut
-
-
-sub HREF {
-    my $self = shift;
-    if ($self->IsLocal && $self->Object && ($self->ObjectType eq 'ticket')) {
-        return ( $RT::WebURL . "Ticket/Display.html?id=".$self->Object->Id);
-    }   
-    else {
-        return ($self->URI);
-    }
-}
-
-=head2 AsString
-
-Returns either a localized string 'ticket #23' or the full URI if the object is not local
-
-=cut
-
-sub AsString {
-    my $self = shift;
-    if ($self->IsLocal && $self->Object) {
-           return $self->loc("[_1] #[_2]", $self->ObjectType, $self->Object->Id);
-    }
-    else {
-           return $self->URI;
-    }
-}
-
-eval "require RT::URI::fsck_com_rt_Vendor";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/URI/fsck_com_rt_Vendor.pm});
-eval "require RT::URI::fsck_com_rt_Local";
-die $@ if ($@ && $@ !~ qr{^Can't locate RT/URI/fsck_com_rt_Local.pm});
-
-1;
diff --git a/rt/lib/RT/URI/t.pm b/rt/lib/RT/URI/t.pm
deleted file mode 100644 (file)
index 2f95b2d..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-# BEGIN LICENSE BLOCK
-# 
-# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
-# 
-# (Except where explictly superceded by other copyright notices)
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# Unless otherwise specified, all modifications, corrections or
-# extensions to this work which alter its source code become the
-# property of Best Practical Solutions, LLC when submitted for
-# inclusion in the work.
-# 
-# 
-# END LICENSE BLOCK
-package RT::URI::t;
-
-use RT::Ticket;
-use RT::URI::base;
-
-use strict;
-use vars qw(@ISA);
-@ISA = qw/RT::URI::fsck_com_rt/;
-
-my $scheme = "t";
-
-=head2 ParseURI URI
-
-When handed an t: URI, figures out if it is an RT ticket.  This is an
-alternate short form of specifying a full ticket URI.
-
-=begin testing
-
-use_ok("RT::URI::t");
-my $uri = RT::URI::t->new($RT::SystemUser);
-ok(ref($uri), "URI object exists");
-
-my $uristr = "t:1";
-$uri->ParseURI($uristr);
-is(ref($uri->Object), "RT::Ticket", "Object loaded is a ticket");
-is($uri->Object->Id, 1, "Object loaded has correct ID");
-is($uri->URI, 'fsck.com-rt://'.$RT::Organization.'/ticket/1',
-   "URI object has correct URI string");
-
-=end testing
-
-=cut
-
-sub ParseURI { 
-    my $self = shift;
-    my $uri = shift;
-
-    # "t:<articlenum>"
-    # Pass this off to fsck_com_rt, which is equipped to deal with
-    # tickets after stripping off the t: prefix.
-
-    if ($uri =~ /^$scheme:(\d+)/) {
-       return $self->SUPER::ParseURI($1);
-    } else {
-       $self->{'uri'} = $uri;
-       return undef;
-    }
-}
-
-=head2 Scheme
-
-Return the URI scheme 
-
-=cut
-
-sub Scheme {
-  return $scheme;
-}
-
-1;
diff --git a/rt/lib/RT/User.pm b/rt/lib/RT/User.pm
deleted file mode 100755 (executable)
index 18edfd4..0000000
+++ /dev/null
@@ -1,876 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-RT::User
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package RT::User;
-use RT::Record; 
-
-
-use vars qw( @ISA );
-@ISA= qw( RT::Record );
-
-sub _Init {
-  my $self = shift; 
-
-  $self->Table('Users');
-  $self->SUPER::_Init(@_);
-}
-
-
-
-
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-  varchar(200) 'Name'.
-  varchar(40) 'Password'.
-  blob 'Comments'.
-  blob 'Signature'.
-  varchar(120) 'EmailAddress'.
-  blob 'FreeformContactInfo'.
-  varchar(200) 'Organization'.
-  varchar(120) 'RealName'.
-  varchar(16) 'NickName'.
-  varchar(16) 'Lang'.
-  varchar(16) 'EmailEncoding'.
-  varchar(16) 'WebEncoding'.
-  varchar(100) 'ExternalContactInfoId'.
-  varchar(30) 'ContactInfoSystem'.
-  varchar(100) 'ExternalAuthId'.
-  varchar(30) 'AuthSystem'.
-  varchar(16) 'Gecos'.
-  varchar(30) 'HomePhone'.
-  varchar(30) 'WorkPhone'.
-  varchar(30) 'MobilePhone'.
-  varchar(30) 'PagerPhone'.
-  varchar(200) 'Address1'.
-  varchar(200) 'Address2'.
-  varchar(100) 'City'.
-  varchar(100) 'State'.
-  varchar(16) 'Zip'.
-  varchar(50) 'Country'.
-  varchar(50) 'Timezone'.
-  text 'PGPKey'.
-
-=cut
-
-
-
-
-sub Create {
-    my $self = shift;
-    my %args = ( 
-                Name => '',
-                Password => '',
-                Comments => '',
-                Signature => '',
-                EmailAddress => '',
-                FreeformContactInfo => '',
-                Organization => '',
-                RealName => '',
-                NickName => '',
-                Lang => '',
-                EmailEncoding => '',
-                WebEncoding => '',
-                ExternalContactInfoId => '',
-                ContactInfoSystem => '',
-                ExternalAuthId => '',
-                AuthSystem => '',
-                Gecos => '',
-                HomePhone => '',
-                WorkPhone => '',
-                MobilePhone => '',
-                PagerPhone => '',
-                Address1 => '',
-                Address2 => '',
-                City => '',
-                State => '',
-                Zip => '',
-                Country => '',
-                Timezone => '',
-                PGPKey => '',
-
-                 @_);
-    $self->SUPER::Create(
-                         Name => $args{'Name'},
-                         Password => $args{'Password'},
-                         Comments => $args{'Comments'},
-                         Signature => $args{'Signature'},
-                         EmailAddress => $args{'EmailAddress'},
-                         FreeformContactInfo => $args{'FreeformContactInfo'},
-                         Organization => $args{'Organization'},
-                         RealName => $args{'RealName'},
-                         NickName => $args{'NickName'},
-                         Lang => $args{'Lang'},
-                         EmailEncoding => $args{'EmailEncoding'},
-                         WebEncoding => $args{'WebEncoding'},
-                         ExternalContactInfoId => $args{'ExternalContactInfoId'},
-                         ContactInfoSystem => $args{'ContactInfoSystem'},
-                         ExternalAuthId => $args{'ExternalAuthId'},
-                         AuthSystem => $args{'AuthSystem'},
-                         Gecos => $args{'Gecos'},
-                         HomePhone => $args{'HomePhone'},
-                         WorkPhone => $args{'WorkPhone'},
-                         MobilePhone => $args{'MobilePhone'},
-                         PagerPhone => $args{'PagerPhone'},
-                         Address1 => $args{'Address1'},
-                         Address2 => $args{'Address2'},
-                         City => $args{'City'},
-                         State => $args{'State'},
-                         Zip => $args{'Zip'},
-                         Country => $args{'Country'},
-                         Timezone => $args{'Timezone'},
-                         PGPKey => $args{'PGPKey'},
-);
-
-}
-
-
-
-=head2 id
-
-Returns the current value of id. 
-(In the database, id is stored as int(11).)
-
-
-=cut
-
-
-=head2 Name
-
-Returns the current value of Name. 
-(In the database, Name is stored as varchar(200).)
-
-
-
-=head2 SetName VALUE
-
-
-Set Name to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Name will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Password
-
-Returns the current value of Password. 
-(In the database, Password is stored as varchar(40).)
-
-
-
-=head2 SetPassword VALUE
-
-
-Set Password to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Password will be stored as a varchar(40).)
-
-
-=cut
-
-
-=head2 Comments
-
-Returns the current value of Comments. 
-(In the database, Comments is stored as blob.)
-
-
-
-=head2 SetComments VALUE
-
-
-Set Comments to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Comments will be stored as a blob.)
-
-
-=cut
-
-
-=head2 Signature
-
-Returns the current value of Signature. 
-(In the database, Signature is stored as blob.)
-
-
-
-=head2 SetSignature VALUE
-
-
-Set Signature to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Signature will be stored as a blob.)
-
-
-=cut
-
-
-=head2 EmailAddress
-
-Returns the current value of EmailAddress. 
-(In the database, EmailAddress is stored as varchar(120).)
-
-
-
-=head2 SetEmailAddress VALUE
-
-
-Set EmailAddress to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, EmailAddress will be stored as a varchar(120).)
-
-
-=cut
-
-
-=head2 FreeformContactInfo
-
-Returns the current value of FreeformContactInfo. 
-(In the database, FreeformContactInfo is stored as blob.)
-
-
-
-=head2 SetFreeformContactInfo VALUE
-
-
-Set FreeformContactInfo to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, FreeformContactInfo will be stored as a blob.)
-
-
-=cut
-
-
-=head2 Organization
-
-Returns the current value of Organization. 
-(In the database, Organization is stored as varchar(200).)
-
-
-
-=head2 SetOrganization VALUE
-
-
-Set Organization to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Organization will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 RealName
-
-Returns the current value of RealName. 
-(In the database, RealName is stored as varchar(120).)
-
-
-
-=head2 SetRealName VALUE
-
-
-Set RealName to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, RealName will be stored as a varchar(120).)
-
-
-=cut
-
-
-=head2 NickName
-
-Returns the current value of NickName. 
-(In the database, NickName is stored as varchar(16).)
-
-
-
-=head2 SetNickName VALUE
-
-
-Set NickName to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, NickName will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 Lang
-
-Returns the current value of Lang. 
-(In the database, Lang is stored as varchar(16).)
-
-
-
-=head2 SetLang VALUE
-
-
-Set Lang to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Lang will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 EmailEncoding
-
-Returns the current value of EmailEncoding. 
-(In the database, EmailEncoding is stored as varchar(16).)
-
-
-
-=head2 SetEmailEncoding VALUE
-
-
-Set EmailEncoding to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, EmailEncoding will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 WebEncoding
-
-Returns the current value of WebEncoding. 
-(In the database, WebEncoding is stored as varchar(16).)
-
-
-
-=head2 SetWebEncoding VALUE
-
-
-Set WebEncoding to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, WebEncoding will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 ExternalContactInfoId
-
-Returns the current value of ExternalContactInfoId. 
-(In the database, ExternalContactInfoId is stored as varchar(100).)
-
-
-
-=head2 SetExternalContactInfoId VALUE
-
-
-Set ExternalContactInfoId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ExternalContactInfoId will be stored as a varchar(100).)
-
-
-=cut
-
-
-=head2 ContactInfoSystem
-
-Returns the current value of ContactInfoSystem. 
-(In the database, ContactInfoSystem is stored as varchar(30).)
-
-
-
-=head2 SetContactInfoSystem VALUE
-
-
-Set ContactInfoSystem to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ContactInfoSystem will be stored as a varchar(30).)
-
-
-=cut
-
-
-=head2 ExternalAuthId
-
-Returns the current value of ExternalAuthId. 
-(In the database, ExternalAuthId is stored as varchar(100).)
-
-
-
-=head2 SetExternalAuthId VALUE
-
-
-Set ExternalAuthId to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, ExternalAuthId will be stored as a varchar(100).)
-
-
-=cut
-
-
-=head2 AuthSystem
-
-Returns the current value of AuthSystem. 
-(In the database, AuthSystem is stored as varchar(30).)
-
-
-
-=head2 SetAuthSystem VALUE
-
-
-Set AuthSystem to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, AuthSystem will be stored as a varchar(30).)
-
-
-=cut
-
-
-=head2 Gecos
-
-Returns the current value of Gecos. 
-(In the database, Gecos is stored as varchar(16).)
-
-
-
-=head2 SetGecos VALUE
-
-
-Set Gecos to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Gecos will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 HomePhone
-
-Returns the current value of HomePhone. 
-(In the database, HomePhone is stored as varchar(30).)
-
-
-
-=head2 SetHomePhone VALUE
-
-
-Set HomePhone to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, HomePhone will be stored as a varchar(30).)
-
-
-=cut
-
-
-=head2 WorkPhone
-
-Returns the current value of WorkPhone. 
-(In the database, WorkPhone is stored as varchar(30).)
-
-
-
-=head2 SetWorkPhone VALUE
-
-
-Set WorkPhone to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, WorkPhone will be stored as a varchar(30).)
-
-
-=cut
-
-
-=head2 MobilePhone
-
-Returns the current value of MobilePhone. 
-(In the database, MobilePhone is stored as varchar(30).)
-
-
-
-=head2 SetMobilePhone VALUE
-
-
-Set MobilePhone to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, MobilePhone will be stored as a varchar(30).)
-
-
-=cut
-
-
-=head2 PagerPhone
-
-Returns the current value of PagerPhone. 
-(In the database, PagerPhone is stored as varchar(30).)
-
-
-
-=head2 SetPagerPhone VALUE
-
-
-Set PagerPhone to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, PagerPhone will be stored as a varchar(30).)
-
-
-=cut
-
-
-=head2 Address1
-
-Returns the current value of Address1. 
-(In the database, Address1 is stored as varchar(200).)
-
-
-
-=head2 SetAddress1 VALUE
-
-
-Set Address1 to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Address1 will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 Address2
-
-Returns the current value of Address2. 
-(In the database, Address2 is stored as varchar(200).)
-
-
-
-=head2 SetAddress2 VALUE
-
-
-Set Address2 to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Address2 will be stored as a varchar(200).)
-
-
-=cut
-
-
-=head2 City
-
-Returns the current value of City. 
-(In the database, City is stored as varchar(100).)
-
-
-
-=head2 SetCity VALUE
-
-
-Set City to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, City will be stored as a varchar(100).)
-
-
-=cut
-
-
-=head2 State
-
-Returns the current value of State. 
-(In the database, State is stored as varchar(100).)
-
-
-
-=head2 SetState VALUE
-
-
-Set State to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, State will be stored as a varchar(100).)
-
-
-=cut
-
-
-=head2 Zip
-
-Returns the current value of Zip. 
-(In the database, Zip is stored as varchar(16).)
-
-
-
-=head2 SetZip VALUE
-
-
-Set Zip to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Zip will be stored as a varchar(16).)
-
-
-=cut
-
-
-=head2 Country
-
-Returns the current value of Country. 
-(In the database, Country is stored as varchar(50).)
-
-
-
-=head2 SetCountry VALUE
-
-
-Set Country to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Country will be stored as a varchar(50).)
-
-
-=cut
-
-
-=head2 Timezone
-
-Returns the current value of Timezone. 
-(In the database, Timezone is stored as varchar(50).)
-
-
-
-=head2 SetTimezone VALUE
-
-
-Set Timezone to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, Timezone will be stored as a varchar(50).)
-
-
-=cut
-
-
-=head2 PGPKey
-
-Returns the current value of PGPKey. 
-(In the database, PGPKey is stored as text.)
-
-
-
-=head2 SetPGPKey VALUE
-
-
-Set PGPKey to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, PGPKey will be stored as a text.)
-
-
-=cut
-
-
-=head2 Creator
-
-Returns the current value of Creator. 
-(In the database, Creator is stored as int(11).)
-
-
-=cut
-
-
-=head2 Created
-
-Returns the current value of Created. 
-(In the database, Created is stored as datetime.)
-
-
-=cut
-
-
-=head2 LastUpdatedBy
-
-Returns the current value of LastUpdatedBy. 
-(In the database, LastUpdatedBy is stored as int(11).)
-
-
-=cut
-
-
-=head2 LastUpdated
-
-Returns the current value of LastUpdated. 
-(In the database, LastUpdated is stored as datetime.)
-
-
-=cut
-
-
-
-sub _CoreAccessible {
-    {
-     
-        id =>
-               {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
-        Name => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Password => 
-               {read => 1, write => 1, sql_type => 12, length => 40,  is_blob => 0,  is_numeric => 0,  type => 'varchar(40)', default => ''},
-        Comments => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
-        Signature => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
-        EmailAddress => 
-               {read => 1, write => 1, sql_type => 12, length => 120,  is_blob => 0,  is_numeric => 0,  type => 'varchar(120)', default => ''},
-        FreeformContactInfo => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
-        Organization => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        RealName => 
-               {read => 1, write => 1, sql_type => 12, length => 120,  is_blob => 0,  is_numeric => 0,  type => 'varchar(120)', default => ''},
-        NickName => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        Lang => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        EmailEncoding => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        WebEncoding => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        ExternalContactInfoId => 
-               {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
-        ContactInfoSystem => 
-               {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
-        ExternalAuthId => 
-               {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
-        AuthSystem => 
-               {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
-        Gecos => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        HomePhone => 
-               {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
-        WorkPhone => 
-               {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
-        MobilePhone => 
-               {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
-        PagerPhone => 
-               {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
-        Address1 => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        Address2 => 
-               {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
-        City => 
-               {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
-        State => 
-               {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
-        Zip => 
-               {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
-        Country => 
-               {read => 1, write => 1, sql_type => 12, length => 50,  is_blob => 0,  is_numeric => 0,  type => 'varchar(50)', default => ''},
-        Timezone => 
-               {read => 1, write => 1, sql_type => 12, length => 50,  is_blob => 0,  is_numeric => 0,  type => 'varchar(50)', default => ''},
-        PGPKey => 
-               {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
-        Creator => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        Created => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-        LastUpdatedBy => 
-               {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
-        LastUpdated => 
-               {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
-
- }
-};
-
-
-        eval "require RT::User_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/User_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::User_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/User_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::User_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/User_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::User_Overlay, RT::User_Vendor, RT::User_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/User_Overlay.pm b/rt/lib/RT/User_Overlay.pm
deleted file mode 100644 (file)
index 27ddd4c..0000000
+++ /dev/null
@@ -1,1811 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::User - RT User object
-
-=head1 SYNOPSIS
-
-  use RT::User;
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok(require RT::User);
-
-=end testing
-
-
-=cut
-
-
-package RT::User;
-
-use strict;
-no warnings qw(redefine);
-
-use vars qw(%_USERS_KEY_CACHE);
-
-%_USERS_KEY_CACHE = ();
-
-use Digest::MD5;
-use RT::Principals;
-use RT::ACE;
-use RT::Interface::Email;
-
-
-# {{{ sub _Accessible 
-
-
-sub _OverlayAccessible {
-    {
-
-        Name                    => { public => 1,  admin => 1 },
-          Password              => { read   => 0 },
-          EmailAddress          => { public => 1 },
-          Organization          => { public => 1,  admin => 1 },
-          RealName              => { public => 1 },
-          NickName              => { public => 1 },
-          Lang                  => { public => 1 },
-          EmailEncoding         => { public => 1 },
-          WebEncoding           => { public => 1 },
-          ExternalContactInfoId => { public => 1,  admin => 1 },
-          ContactInfoSystem     => { public => 1,  admin => 1 },
-          ExternalAuthId        => { public => 1,  admin => 1 },
-          AuthSystem            => { public => 1,  admin => 1 },
-          Gecos                 => { public => 1,  admin => 1 },
-          PGPKey                => { public => 1,  admin => 1 },
-
-    }
-}
-
-
-
-# }}}
-
-# {{{ sub Create 
-
-=head2 Create { PARAMHASH }
-
-
-=begin testing
-
-# Make sure we can create a user
-
-my $u1 = RT::User->new($RT::SystemUser);
-is(ref($u1), 'RT::User');
-my ($id, $msg) = $u1->Create(Name => 'CreateTest1'.$$, EmailAddress => $$.'create-test-1@example.com');
-ok ($id, "Creating user CreateTest1 - " . $msg );
-
-# Make sure we can't create a second user with the same name
-my $u2 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u2->Create(Name => 'CreateTest1'.$$, EmailAddress => $$.'create-test-2@example.com');
-ok (!$id, $msg);
-
-
-# Make sure we can't create a second user with the same EmailAddress address
-my $u3 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u3->Create(Name => 'CreateTest2'.$$, EmailAddress => $$.'create-test-1@example.com');
-ok (!$id, $msg);
-
-# Make sure we can create a user with no EmailAddress address
-my $u4 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u4->Create(Name => 'CreateTest3'.$$);
-ok ($id, $msg);
-
-# make sure we can create a second user with no EmailAddress address
-my $u5 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u5->Create(Name => 'CreateTest4'.$$);
-ok ($id, $msg);
-
-# make sure we can create a user with a blank EmailAddress address
-my $u6 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u6->Create(Name => 'CreateTest6'.$$, EmailAddress => '');
-ok ($id, $msg);
-# make sure we can create a second user with a blankEmailAddress address
-my $u7 = RT::User->new($RT::SystemUser);
-($id, $msg) = $u7->Create(Name => 'CreateTest7'.$$, EmailAddress => '');
-ok ($id, $msg);
-
-# Can we change the email address away from from "";
-($id,$msg) = $u7->SetEmailAddress('foo@bar'.$$);
-ok ($id, $msg);
-# can we change the address back to "";  
-($id,$msg) = $u7->SetEmailAddress('');
-ok ($id, $msg);
-is ($u7->EmailAddress, '');
-
-
-=end testing
-
-=cut
-
-
-sub Create {
-    my $self = shift;
-    my %args = (
-        Privileged => 0,
-        Disabled => 0,
-        EmailAddress => '',
-        _RecordTransaction => 1,
-        @_    # get the real argumentlist
-    );
-
-    # remove the value so it does not cripple SUPER::Create
-    my $record_transaction = delete $args{'_RecordTransaction'};
-
-    #Check the ACL
-    unless ( $self->CurrentUser->HasRight(Right => 'AdminUsers', Object => $RT::System) ) {
-        return ( 0, $self->loc('No permission to create users') );
-    }
-
-
-    unless ($self->CanonicalizeUserInfo(\%args)) {
-        return ( 0, $self->loc("Could not set user info") );
-    }
-
-    $args{'EmailAddress'} = $self->CanonicalizeEmailAddress($args{'EmailAddress'});
-
-    # if the user doesn't have a name defined, set it to the email address
-    $args{'Name'} = $args{'EmailAddress'} unless ($args{'Name'});
-
-
-
-    # Privileged is no longer a column in users
-    my $privileged = $args{'Privileged'};
-    delete $args{'Privileged'};
-
-
-    if ($args{'CryptedPassword'} ) {
-        $args{'Password'} = $args{'CryptedPassword'};
-        delete $args{'CryptedPassword'};
-    }
-    elsif ( !$args{'Password'} ) {
-        $args{'Password'} = '*NO-PASSWORD*';
-    }
-    elsif ( length( $args{'Password'} ) < $RT::MinimumPasswordLength ) {
-        return ( 0, $self->loc("Password needs to be at least [_1] characters long",$RT::MinimumPasswordLength) );
-    }
-
-    else {
-        $args{'Password'} = $self->_GeneratePassword($args{'Password'});
-    }
-
-    #TODO Specify some sensible defaults.
-
-    unless ( $args{'Name'} ) {
-       use Data::Dumper;
-       $RT::Logger->crit(Dumper \%args);
-        return ( 0, $self->loc("Must specify 'Name' attribute") );
-    }
-
-    #SANITY CHECK THE NAME AND ABORT IF IT'S TAKEN
-    if ($RT::SystemUser) {   #This only works if RT::SystemUser has been defined
-        my $TempUser = RT::User->new($RT::SystemUser);
-        $TempUser->Load( $args{'Name'} );
-        return ( 0, $self->loc('Name in use') ) if ( $TempUser->Id );
-
-        return ( 0, $self->loc('Email address in use') )
-          unless ( $self->ValidateEmailAddress( $args{'EmailAddress'} ) );
-    }
-    else {
-        $RT::Logger->warning( "$self couldn't check for pre-existing users");
-    }
-
-
-    $RT::Handle->BeginTransaction();
-    # Groups deal with principal ids, rather than user ids.
-    # When creating this user, set up a principal Id for it.
-    my $principal = RT::Principal->new($self->CurrentUser);
-    my $principal_id = $principal->Create(PrincipalType => 'User',
-                                Disabled => $args{'Disabled'},
-                                ObjectId => '0');
-    # If we couldn't create a principal Id, get the fuck out.
-    unless ($principal_id) {
-        $RT::Handle->Rollback();
-        $RT::Logger->crit("Couldn't create a Principal on new user create.");
-        $RT::Logger->crit("Strange things are afoot at the circle K");
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-    $principal->__Set(Field => 'ObjectId', Value => $principal_id);
-    delete $args{'Disabled'};
-
-    $self->SUPER::Create(id => $principal_id , %args);
-    my $id = $self->Id;
-
-    #If the create failed.
-    unless ($id) {
-        $RT::Handle->Rollback();
-        $RT::Logger->error("Could not create a new user - " .join('-'. %args));
-
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-    my $aclstash = RT::Group->new($self->CurrentUser);
-    my $stash_id = $aclstash->_CreateACLEquivalenceGroup($principal);
-
-    unless ($stash_id) {
-        $RT::Handle->Rollback();
-        $RT::Logger->crit("Couldn't stash the user in groupmembers");
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-
-    my $everyone = RT::Group->new($self->CurrentUser);
-    $everyone->LoadSystemInternalGroup('Everyone');
-    unless ($everyone->id) {
-        $RT::Logger->crit("Could not load Everyone group on user creation.");
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-
-    my ($everyone_id, $everyone_msg) = $everyone->_AddMember( InsideTransaction => 1, PrincipalId => $self->PrincipalId);
-    unless ($everyone_id) {
-        $RT::Logger->crit("Could not add user to Everyone group on user creation.");
-        $RT::Logger->crit($everyone_msg);
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-
-    my $access_class = RT::Group->new($self->CurrentUser);
-    if ($privileged)  {
-        $access_class->LoadSystemInternalGroup('Privileged');
-    } else {
-        $access_class->LoadSystemInternalGroup('Unprivileged');
-    }
-
-    unless ($access_class->id) {
-        $RT::Logger->crit("Could not load Privileged or Unprivileged group on user creation");
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-
-    my ($ac_id, $ac_msg) = $access_class->_AddMember( InsideTransaction => 1, PrincipalId => $self->PrincipalId);  
-
-    unless ($ac_id) {
-        $RT::Logger->crit("Could not add user to Privileged or Unprivileged group on user creation. Aborted");
-        $RT::Logger->crit($ac_msg);
-        $RT::Handle->Rollback();
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-
-    if ( $record_transaction ) {
-       $self->_NewTransaction( Type => "Create" );
-    }
-
-    $RT::Handle->Commit;
-
-    return ( $id, $self->loc('User created') );
-}
-
-# }}}
-
-
-
-# {{{ SetPrivileged
-
-=head2 SetPrivileged BOOL
-
-If passed a true value, makes this user a member of the "Privileged"  PseudoGroup.
-Otherwise, makes this user a member of the "Unprivileged" pseudogroup. 
-
-Returns a standard RT tuple of (val, msg);
-
-=begin testing
-
-
-ok(my $user = RT::User->new($RT::SystemUser));
-ok($user->Load('root'), "Loaded user 'root'");
-ok($user->Privileged, "User 'root' is privileged");
-ok(my ($v,$m) = $user->SetPrivileged(0));
-ok ($v ==1, "Set unprivileged suceeded ($m)");
-ok(!$user->Privileged, "User 'root' is no longer privileged");
-ok(my ($v2,$m2) = $user->SetPrivileged(1));
-ok ($v2 ==1, "Set privileged suceeded ($m2");
-ok($user->Privileged, "User 'root' is privileged again");
-
-=end testing
-
-=cut
-
-sub SetPrivileged {
-    my $self = shift;
-    my $val = shift;
-
-    #Check the ACL
-    unless ( $self->CurrentUser->HasRight(Right => 'AdminUsers', Object => $RT::System) ) {
-        return ( 0, $self->loc('Permission Denied') );
-    }
-    my $priv = RT::Group->new($self->CurrentUser);
-    $priv->LoadSystemInternalGroup('Privileged');
-   
-    unless ($priv->Id) {
-        $RT::Logger->crit("Could not find Privileged pseudogroup");
-        return(0,$self->loc("Failed to find 'Privileged' users pseudogroup."));
-    }
-
-    my $unpriv = RT::Group->new($self->CurrentUser);
-    $unpriv->LoadSystemInternalGroup('Unprivileged');
-    unless ($unpriv->Id) {
-        $RT::Logger->crit("Could not find unprivileged pseudogroup");
-        return(0,$self->loc("Failed to find 'Unprivileged' users pseudogroup"));
-    }
-
-    if ($val) {
-        if ($priv->HasMember($self->PrincipalObj)) {
-            #$RT::Logger->debug("That user is already privileged");
-            return (0,$self->loc("That user is already privileged"));
-        }
-        if ($unpriv->HasMember($self->PrincipalObj)) {
-            $unpriv->_DeleteMember($self->PrincipalId);
-        } else {
-        # if we had layered transactions, life would be good
-        # sadly, we have to just go ahead, even if something
-        # bogus happened
-            $RT::Logger->crit("User ".$self->Id." is neither privileged nor ".
-                "unprivileged. something is drastically wrong.");
-        }
-        my ($status, $msg) = $priv->_AddMember( InsideTransaction => 1, PrincipalId => $self->PrincipalId);  
-        if ($status) {
-            return (1, $self->loc("That user is now privileged"));
-        } else {
-            return (0, $msg);
-        }
-    }
-    else {
-        if ($unpriv->HasMember($self->PrincipalObj)) {
-            #$RT::Logger->debug("That user is already unprivileged");
-            return (0,$self->loc("That user is already unprivileged"));
-        }
-        if ($priv->HasMember($self->PrincipalObj)) {
-            $priv->_DeleteMember( $self->PrincipalId);
-        } else {
-        # if we had layered transactions, life would be good
-        # sadly, we have to just go ahead, even if something
-        # bogus happened
-            $RT::Logger->crit("User ".$self->Id." is neither privileged nor ".
-                "unprivileged. something is drastically wrong.");
-        }
-        my ($status, $msg) = $unpriv->_AddMember( InsideTransaction => 1, PrincipalId => $self->PrincipalId);  
-        if ($status) {
-            return (1, $self->loc("That user is now unprivileged"));
-        } else {
-            return (0, $msg);
-        }
-    }
-}
-
-# }}}
-
-# {{{ Privileged
-
-=head2 Privileged
-
-Returns true if this user is privileged. Returns undef otherwise.
-
-=cut
-
-sub Privileged {
-    my $self = shift;
-    my $priv = RT::Group->new($self->CurrentUser);
-    $priv->LoadSystemInternalGroup('Privileged');
-    if ($priv->HasMember($self->PrincipalObj)) {
-        return(1);
-    }
-    else {
-        return(undef);
-    }
-}
-
-# }}}
-
-# {{{ sub _BootstrapCreate 
-
-#create a user without validating _any_ data.
-
-#To be used only on database init.
-# We can't localize here because it's before we _have_ a loc framework
-
-sub _BootstrapCreate {
-    my $self = shift;
-    my %args = (@_);
-
-    $args{'Password'} = '*NO-PASSWORD*';
-
-
-    $RT::Handle->BeginTransaction(); 
-
-    # Groups deal with principal ids, rather than user ids.
-    # When creating this user, set up a principal Id for it.
-    my $principal = RT::Principal->new($self->CurrentUser);
-    my $principal_id = $principal->Create(PrincipalType => 'User', ObjectId => '0');
-    $principal->__Set(Field => 'ObjectId', Value => $principal_id);
-   
-    # If we couldn't create a principal Id, get the fuck out.
-    unless ($principal_id) {
-        $RT::Handle->Rollback();
-        $RT::Logger->crit("Couldn't create a Principal on new user create. Strange things are afoot at the circle K");
-        return ( 0, 'Could not create user' );
-    }
-    $self->SUPER::Create(id => $principal_id, %args);
-    my $id = $self->Id;
-    #If the create failed.
-      unless ($id) {
-      $RT::Handle->Rollback();
-      return ( 0, 'Could not create user' ) ; #never loc this
-    }
-
-    my $aclstash = RT::Group->new($self->CurrentUser);
-    my $stash_id  = $aclstash->_CreateACLEquivalenceGroup($principal);
-
-    unless ($stash_id) {
-        $RT::Handle->Rollback();
-        $RT::Logger->crit("Couldn't stash the user in groupmembers");
-        return ( 0, $self->loc('Could not create user') );
-    }
-
-                                    
-    $RT::Handle->Commit();
-
-    return ( $id, 'User created' );
-}
-
-# }}}
-
-# {{{ sub Delete 
-
-sub Delete {
-    my $self = shift;
-
-    return ( 0, $self->loc('Deleting this object would violate referential integrity') );
-
-}
-
-# }}}
-
-# {{{ sub Load 
-
-=head2 Load
-
-Load a user object from the database. Takes a single argument.
-If the argument is numerical, load by the column 'id'. Otherwise, load by
-the "Name" column which is the user's textual username.
-
-=cut
-
-sub Load {
-    my $self       = shift;
-    my $identifier = shift || return undef;
-
-    #if it's an int, load by id. otherwise, load by name.
-    if ( $identifier !~ /\D/ ) {
-        $self->SUPER::LoadById($identifier);
-    }
-    else {
-        $self->LoadByCol( "Name", $identifier );
-    }
-}
-
-# }}}
-
-# {{{ sub LoadByEmail
-
-=head2 LoadByEmail
-
-Tries to load this user object from the database by the user's email address.
-
-
-=cut
-
-sub LoadByEmail {
-    my $self    = shift;
-    my $address = shift;
-
-    # Never load an empty address as an email address.
-    unless ($address) {
-        return (undef);
-    }
-
-    $address = $self->CanonicalizeEmailAddress($address);
-
-    #$RT::Logger->debug("Trying to load an email address: $address\n");
-    return $self->LoadByCol( "EmailAddress", $address );
-}
-
-# }}}
-
-# {{{ LoadOrCreateByEmail 
-
-=head2 LoadOrCreateByEmail ADDRESS
-
-Attempts to find a user who has the provided email address. If that fails, creates an unprivileged user with
-the provided email address. and loads them.
-
-Returns a tuple of the user's id and a status message.
-0 will be returned in place of the user's id in case of failure.
-
-=cut
-
-sub LoadOrCreateByEmail {
-    my $self = shift;
-    my $email = shift;
-
-        my ($val, $message);
-
-       my ( $Address, $Name ) =
-       RT::Interface::Email::ParseAddressFromHeader($email);
-       $email = $Address;
-
-        $self->LoadByEmail($email);
-        $message = $self->loc('User loaded');
-        unless ($self->Id) {
-               $self->Load($email);
-       }
-       unless($self->Id) {
-            ( $val, $message ) = $self->Create(
-                Name => $email,
-                EmailAddress => $email,
-                RealName     => $Name,
-                Privileged   => 0,
-                Comments     => 'Autocreated when added as a watcher');
-            unless ($val) {
-                # Deal with the race condition of two account creations at once
-                $self->LoadByEmail($email);
-                unless ($self->Id) {
-                    sleep 5;
-                    $self->LoadByEmail($email);
-                }
-                if ($self->Id) {
-                    $RT::Logger->error("Recovered from creation failure due to race condition");
-                    $message = $self->loc("User loaded");
-                }
-                else {
-                    $RT::Logger->crit("Failed to create user ".$email .": " .$message);
-                }
-            }
-        }
-
-        if ($self->Id) {
-            return($self->Id, $message);
-        }
-        else {
-            return(0, $message);
-        }
-
-
-    }
-
-# }}}
-
-# {{{ sub ValidateEmailAddress
-
-=head2 ValidateEmailAddress ADDRESS
-
-Returns true if the email address entered is not in use by another user or is 
-undef or ''. Returns false if it's in use. 
-
-=cut
-
-sub ValidateEmailAddress {
-    my $self  = shift;
-    my $Value = shift;
-
-    # if the email address is null, it's always valid
-    return (1) if ( !$Value || $Value eq "" );
-
-    my $TempUser = RT::User->new($RT::SystemUser);
-    $TempUser->LoadByEmail($Value);
-
-    if ( $TempUser->id && ( $TempUser->id != $self->id ) )
-    {    # if we found a user with that address
-            # it's invalid to set this user's address to it
-        return (undef);
-    }
-    else {    #it's a valid email address
-        return (1);
-    }
-}
-
-# }}}
-
-# {{{ sub CanonicalizeEmailAddress
-
-
-
-=head2 CanonicalizeEmailAddress ADDRESS
-
-CanonicalizeEmailAddress converts email addresses into canonical form.
-it takes one email address in and returns the proper canonical
-form. You can dump whatever your proper local config is in here.  Note
-that it may be called as a static method; in this case, $self may be
-undef.
-
-=cut
-
-sub CanonicalizeEmailAddress {
-    my $self = shift;
-    my $email = shift;
-    # Example: the following rule would treat all email
-    # coming from a subdomain as coming from second level domain
-    # foo.com
-    if ($RT::CanonicalizeEmailAddressMatch && $RT::CanonicalizeEmailAddressReplace ) {
-        $email =~ s/$RT::CanonicalizeEmailAddressMatch/$RT::CanonicalizeEmailAddressReplace/gi;
-    }
-    return ($email);
-}
-
-
-# }}}
-
-# {{{ sub CanonicalizeUserInfo
-
-
-
-=head2 CanonicalizeUserInfo HASH of ARGS
-
-CanonicalizeUserInfo can convert all User->Create options.
-it takes a hashref of all the params sent to User->Create and
-returns that same hash, by default nothing is done.
-
-This function is intended to allow users to have their info looked up via
-an outside source and modified upon creation.
-
-=cut
-
-sub CanonicalizeUserInfo {
-    my $self = shift;
-    my $args = shift;
-    my $success = 1;
-
-    return ($success);
-}
-
-
-# }}}
-
-
-# {{{ Password related functions
-
-# {{{ sub SetRandomPassword
-
-=head2 SetRandomPassword
-
-Takes no arguments. Returns a status code and a new password or an error message.
-If the status is 1, the second value returned is the new password.
-If the status is anything else, the new value returned is the error code.
-
-=cut
-
-sub SetRandomPassword {
-    my $self = shift;
-
-    unless ( $self->CurrentUserCanModify('Password') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-
-    my $min = ( $RT::MinimumPasswordLength > 6 ?  $RT::MinimumPasswordLength : 6);
-    my $max = ( $RT::MinimumPasswordLength > 8 ?  $RT::MinimumPasswordLength : 8);
-
-    my $pass = $self->GenerateRandomPassword( $min, $max) ;
-
-    # If we have "notify user on 
-
-    my ( $val, $msg ) = $self->SetPassword($pass);
-
-    #If we got an error return the error.
-    return ( 0, $msg ) unless ($val);
-
-    #Otherwise, we changed the password, lets return it.
-    return ( 1, $pass );
-
-}
-
-# }}}
-
-# {{{ sub ResetPassword
-
-=head2 ResetPassword
-
-Returns status, [ERROR or new password].  Resets this user\'s password to
-a randomly generated pronouncable password and emails them, using a 
-global template called "RT_PasswordChange", which can be overridden
-with global templates "RT_PasswordChange_Privileged" or "RT_PasswordChange_NonPrivileged" 
-for privileged and Non-privileged users respectively.
-
-=cut
-
-sub ResetPassword {
-    my $self = shift;
-
-    unless ( $self->CurrentUserCanModify('Password') ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-    my ( $status, $pass ) = $self->SetRandomPassword();
-
-    unless ($status) {
-        return ( 0, "$pass" );
-    }
-
-    my $template = RT::Template->new( $self->CurrentUser );
-
-    if ( $self->Privileged ) {
-        $template->LoadGlobalTemplate('RT_PasswordChange_Privileged');
-    }
-    else {
-        $template->LoadGlobalTemplate('RT_PasswordChange_NonPrivileged');
-    }
-
-    unless ( $template->Id ) {
-        $template->LoadGlobalTemplate('RT_PasswordChange');
-    }
-
-    unless ( $template->Id ) {
-        $RT::Logger->crit( "$self tried to send "
-              . $self->Name
-              . " a password reminder "
-              . "but couldn't find a password change template" );
-    }
-
-    my $notification = RT::Action::SendPasswordEmail->new(
-        TemplateObj => $template,
-        Argument    => $pass
-    );
-
-    $notification->SetHeader( 'To', $self->EmailAddress );
-
-    my ($ret);
-    $ret = $notification->Prepare();
-    if ($ret) {
-        $ret = $notification->Commit();
-    }
-
-    if ($ret) {
-        return ( 1, $self->loc('New password notification sent') );
-    }
-    else {
-        return ( 0, $self->loc('Notification could not be sent') );
-    }
-
-}
-
-# }}}
-
-# {{{ sub GenerateRandomPassword
-
-=head2 GenerateRandomPassword MIN_LEN and MAX_LEN
-
-Returns a random password between MIN_LEN and MAX_LEN characters long.
-
-=cut
-
-sub GenerateRandomPassword {
-    my $self       = shift;
-    my $min_length = shift;
-    my $max_length = shift;
-
-    #This code derived from mpw.pl, a bit of code with a sordid history
-    # Its notes: 
-
-    # Perl cleaned up a bit by Jesse Vincent 1/14/2001.
-    # Converted to perl from C by Marc Horowitz, 1/20/2000.
-    # Converted to C from Multics PL/I by Bill Sommerfeld, 4/21/86.
-    # Original PL/I version provided by Jerry Saltzer.
-
-    my ( $frequency, $start_freq, $total_sum, $row_sums );
-
-    #When munging characters, we need to know where to start counting letters from
-    my $a = ord('a');
-
-    # frequency of English digraphs (from D Edwards 1/27/66) 
-    $frequency = [
-        [
-            4, 20, 28, 52, 2,  11,  28, 4,  32, 4, 6, 62, 23, 167,
-            2, 14, 0,  83, 76, 127, 7,  25, 8,  1, 9, 1
-        ],    # aa - az
-        [
-            13, 0, 0, 0,  55, 0, 0,  0, 8, 2, 0,  22, 0, 0,
-            11, 0, 0, 15, 4,  2, 13, 0, 0, 0, 15, 0
-        ],    # ba - bz
-        [
-            32, 0, 7, 1,  69, 0,  0,  33, 17, 0, 10, 9, 1, 0,
-            50, 3, 0, 10, 0,  28, 11, 0,  0,  0, 3,  0
-        ],    # ca - cz
-        [
-            40, 16, 9, 5,  65, 18, 3,  9, 56, 0, 1, 4, 15, 6,
-            16, 4,  0, 21, 18, 53, 19, 5, 15, 0, 3, 0
-        ],    # da - dz
-        [
-            84, 20, 55, 125, 51, 40, 19, 16,  50,  1,
-            4,  55, 54, 146, 35, 37, 6,  191, 149, 65,
-            9,  26, 21, 12,  5,  0
-        ],    # ea - ez
-        [
-            19, 3, 5, 1,  19, 21, 1, 3, 30, 2, 0, 11, 1, 0,
-            51, 0, 0, 26, 8,  47, 6, 3, 3,  0, 2, 0
-        ],    # fa - fz
-        [
-            20, 4, 3, 2,  35, 1,  3, 15, 18, 0, 0, 5, 1, 4,
-            21, 1, 1, 20, 9,  21, 9, 0,  5,  0, 1, 0
-        ],    # ga - gz
-        [
-            101, 1, 3, 0, 270, 5,  1, 6, 57, 0, 0, 0, 3, 2,
-            44,  1, 0, 3, 10,  18, 6, 0, 5,  0, 3, 0
-        ],    # ha - hz
-        [
-            40, 7,  51, 23, 25, 9,   11, 3,  0, 0, 2, 38, 25, 202,
-            56, 12, 1,  46, 79, 117, 1,  22, 0, 4, 0, 3
-        ],    # ia - iz
-        [
-            3, 0, 0, 0, 5, 0, 0, 0, 1, 0, 0, 0, 0, 0,
-            4, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0
-        ],    # ja - jz
-        [
-            1, 0, 0, 0, 11, 0, 0, 0, 13, 0, 0, 0, 0, 2,
-            0, 0, 0, 0, 6,  2, 1, 0, 2,  0, 1, 0
-        ],    # ka - kz
-        [
-            44, 2, 5, 12, 62, 7,  5, 2, 42, 1, 1,  53, 2, 2,
-            25, 1, 1, 2,  16, 23, 9, 0, 1,  0, 33, 0
-        ],    # la - lz
-        [
-            52, 14, 1, 0, 64, 0, 0, 3, 37, 0, 0, 0, 7, 1,
-            17, 18, 1, 2, 12, 3, 8, 0, 1,  0, 2, 0
-        ],    # ma - mz
-        [
-            42, 10, 47, 122, 63, 19, 106, 12, 30, 1,
-            6,  6,  9,  7,   54, 7,  1,   7,  44, 124,
-            6,  1,  15, 0,   12, 0
-        ],    # na - nz
-        [
-            7,  12, 14, 17, 5,  95, 3,  5,  14, 0, 0, 19, 41, 134,
-            13, 23, 0,  91, 23, 42, 55, 16, 28, 0, 4, 1
-        ],    # oa - oz
-        [
-            19, 1, 0, 0,  37, 0, 0, 4, 8, 0, 0, 15, 1, 0,
-            27, 9, 0, 33, 14, 7, 6, 0, 0, 0, 0, 0
-        ],    # pa - pz
-        [
-            0, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0,
-            0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0
-        ],    # qa - qz
-        [
-            83, 8, 16, 23, 169, 4,  8, 8,  77, 1, 10, 5, 26, 16,
-            60, 4, 0,  24, 37,  55, 6, 11, 4,  0, 28, 0
-        ],    # ra - rz
-        [
-            65, 9,  17, 9, 73, 13,  1,  47, 75, 3, 0, 7, 11, 12,
-            56, 17, 6,  9, 48, 116, 35, 1,  28, 0, 4, 0
-        ],    # sa - sz
-        [
-            57, 22, 3,  1, 76, 5, 2, 330, 126, 1,
-            0,  14, 10, 6, 79, 7, 0, 49,  50,  56,
-            21, 2,  27, 0, 24, 0
-        ],    # ta - tz
-        [
-            11, 5,  9, 6,  9,  1,  6, 0, 9, 0, 1, 19, 5, 31,
-            1,  15, 0, 47, 39, 31, 0, 3, 0, 0, 0, 0
-        ],    # ua - uz
-        [
-            7, 0, 0, 0, 72, 0, 0, 0, 28, 0, 0, 0, 0, 0,
-            5, 0, 0, 0, 0,  0, 0, 0, 0,  0, 3, 0
-        ],    # va - vz
-        [
-            36, 1, 1, 0, 38, 0, 0, 33, 36, 0, 0, 4, 1, 8,
-            15, 0, 0, 0, 4,  2, 0, 0,  1,  0, 0, 0
-        ],    # wa - wz
-        [
-            1, 0, 2, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 0,
-            1, 5, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0
-        ],    # xa - xz
-        [
-            14, 5, 4, 2, 7,  12, 12, 6, 10, 0, 0, 3, 7, 5,
-            17, 3, 0, 4, 16, 30, 0,  0, 5,  0, 0, 0
-        ],    # ya - yz
-        [
-            1, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-        ]
-    ];    # za - zz
-
-    #We need to know the totals for each row 
-    $row_sums = [
-        map {
-            my $sum = 0;
-            map { $sum += $_ } @$_;
-            $sum;
-          } @$frequency
-    ];
-
-    #Frequency with which a given letter starts a word.
-    $start_freq = [
-        1299, 425, 725, 271, 375, 470, 93, 223, 1009, 24,
-        20,   355, 379, 319, 823, 618, 21, 317, 962,  1991,
-        271,  104, 516, 6,   16,  14
-    ];
-
-    $total_sum = 0;
-    map { $total_sum += $_ } @$start_freq;
-
-    my $length = $min_length + int( rand( $max_length - $min_length ) );
-
-    my $char = $self->_GenerateRandomNextChar( $total_sum, $start_freq );
-    my @word = ( $char + $a );
-    for ( 2 .. $length ) {
-        $char =
-          $self->_GenerateRandomNextChar( $row_sums->[$char],
-            $frequency->[$char] );
-        push ( @word, $char + $a );
-    }
-
-    #Return the password
-    return pack( "C*", @word );
-
-}
-
-#A private helper function for RandomPassword
-# Takes a row summary and a frequency chart for the next character to be searched
-sub _GenerateRandomNextChar {
-    my $self = shift;
-    my ( $all, $freq ) = @_;
-    my ( $pos, $i );
-
-    for ( $pos = int( rand($all) ), $i = 0 ;
-        $pos >= $freq->[$i] ;
-        $pos -= $freq->[$i], $i++ )
-    {
-    }
-
-    return ($i);
-}
-
-# }}}
-
-# {{{ sub SetPassword
-
-=head2 SetPassword
-
-Takes a string. Checks the string's length and sets this user's password 
-to that string.
-
-=cut
-
-sub SetPassword {
-    my $self     = shift;
-    my $password = shift;
-
-    unless ( $self->CurrentUserCanModify('Password') ) {
-        return ( 0, $self->loc('Password: Permission Denied') );
-    }
-
-    if ( !$password ) {
-        return ( 0, $self->loc("No password set") );
-    }
-    elsif ( length($password) < $RT::MinimumPasswordLength ) {
-        return ( 0, $self->loc("Password needs to be at least [_1] characters long", $RT::MinimumPasswordLength) );
-    }
-    else {
-        my $new = !$self->HasPassword;
-        $password = $self->_GeneratePassword($password);
-        my ( $val, $msg ) = $self->SUPER::SetPassword($password);
-        if ($val) {
-            return ( 1, $self->loc("Password set") ) if $new;
-            return ( 1, $self->loc("Password changed") );
-        }
-        else {
-            return ( $val, $msg );
-        }
-    }
-
-}
-
-=head2 _GeneratePassword PASSWORD
-
-returns an MD5 hash of the password passed in, in hexadecimal encoding.
-
-=cut
-
-sub _GeneratePassword {
-    my $self = shift;
-    my $password = shift;
-
-    my $md5 = Digest::MD5->new();
-    $md5->add($password);
-    return ($md5->hexdigest);
-
-}
-
-=head2 _GeneratePasswordBase64 PASSWORD
-
-returns an MD5 hash of the password passed in, in base64 encoding
-(obsoleted now).
-
-=cut
-
-sub _GeneratePasswordBase64 {
-    my $self = shift;
-    my $password = shift;
-
-    my $md5 = Digest::MD5->new();
-    $md5->add($password);
-    return ($md5->b64digest);
-
-}
-
-# }}}
-
-                                                                                
-=head2 HasPassword
-                                                                                
-Returns true if the user has a valid password, otherwise returns false.         
-                                                                               
-=cut
-
-
-sub HasPassword {
-    my $self = shift;
-    if (   ( $self->__Value('Password') eq '' )
-        || ( $self->__Value('Password') eq undef ) )
-    {
-
-        return (undef);
-    }
-    if ( $self->__Value('Password') eq '*NO-PASSWORD*' ) {
-        return undef;
-    }
-
-    return 1;
-
-}
-
-
-# {{{ sub IsPassword 
-
-=head2 IsPassword
-
-Returns true if the passed in value is this user's password.
-Returns undef otherwise.
-
-=cut
-
-sub IsPassword {
-    my $self  = shift;
-    my $value = shift;
-
-    #TODO there isn't any apparent way to legitimately ACL this
-
-    # RT does not allow null passwords 
-    if ( ( !defined($value) ) or ( $value eq '' ) ) {
-        return (undef);
-    }
-
-   if ( $self->PrincipalObj->Disabled ) {
-        $RT::Logger->info(
-            "Disabled user " . $self->Name . " tried to log in" );
-        return (undef);
-    }
-
-    unless ($self->HasPassword) {
-        return(undef);
-     }
-
-    # generate an md5 password 
-    if ($self->_GeneratePassword($value) eq $self->__Value('Password')) {
-        return(1);
-    }
-
-    #  if it's a historical password we say ok.
-    if ($self->__Value('Password') eq crypt($value, $self->__Value('Password'))
-        or $self->_GeneratePasswordBase64($value) eq $self->__Value('Password'))
-    {
-        # ...but upgrade the legacy password inplace.
-        $self->SUPER::SetPassword( $self->_GeneratePassword($value) );
-        return(1);
-    }
-
-    # no password check has succeeded. get out
-
-    return (undef);
-}
-
-# }}}
-
-# }}}
-
-# {{{ sub SetDisabled
-
-=head2 Sub SetDisabled
-
-Toggles the user's disabled flag.
-If this flag is
-set, all password checks for this user will fail. All ACL checks for this
-user will fail. The user will appear in no user listings.
-
-=cut 
-
-# }}}
-
-sub SetDisabled {
-    my $self = shift;
-    unless ( $self->CurrentUser->HasRight(Right => 'AdminUsers', Object => $RT::System) ) {
-        return (0, $self->loc('Permission Denied'));
-    }
-    return $self->PrincipalObj->SetDisabled(@_);
-}
-
-sub Disabled {
-    my $self = shift;
-    return $self->PrincipalObj->Disabled(@_);
-}
-
-
-# {{{ Principal related routines
-
-=head2 PrincipalObj 
-
-Returns the principal object for this user. returns an empty RT::Principal
-if there's no principal object matching this user. 
-The response is cached. PrincipalObj should never ever change.
-
-=begin testing
-
-ok(my $u = RT::User->new($RT::SystemUser));
-ok($u->Load(1), "Loaded the first user");
-ok($u->PrincipalObj->ObjectId == 1, "user 1 is the first principal");
-is($u->PrincipalObj->PrincipalType, 'User' , "Principal 1 is a user, not a group");
-
-=end testing
-
-=cut
-
-
-sub PrincipalObj {
-    my $self = shift;
-    unless ($self->{'PrincipalObj'} && 
-            ($self->{'PrincipalObj'}->ObjectId == $self->Id) &&
-            ($self->{'PrincipalObj'}->PrincipalType eq 'User')) {
-
-            $self->{'PrincipalObj'} = RT::Principal->new($self->CurrentUser);
-            $self->{'PrincipalObj'}->LoadByCols('ObjectId' => $self->Id,
-                                                'PrincipalType' => 'User') ;
-            }
-    return($self->{'PrincipalObj'});
-}
-
-
-=head2 PrincipalId  
-
-Returns this user's PrincipalId
-
-=cut
-
-sub PrincipalId {
-    my $self = shift;
-    return $self->Id;
-}
-
-# }}}
-
-
-
-# {{{ sub HasGroupRight
-
-=head2 HasGroupRight
-
-Takes a paramhash which can contain
-these items:
-    GroupObj => RT::Group or Group => integer
-    Right => 'Right' 
-
-
-Returns 1 if this user has the right specified in the paramhash for the Group
-passed in.
-
-Returns undef if they don't.
-
-=cut
-
-sub HasGroupRight {
-    my $self = shift;
-    my %args = (
-        GroupObj    => undef,
-        Group       => undef,
-        Right       => undef,
-        @_
-    );
-
-
-    if ( defined $args{'Group'} ) {
-        $args{'GroupObj'} = RT::Group->new( $self->CurrentUser );
-        $args{'GroupObj'}->Load( $args{'Group'} );
-    }
-
-    # {{{ Validate and load up the GroupId
-    unless ( ( defined $args{'GroupObj'} ) and ( $args{'GroupObj'}->Id ) ) {
-        return undef;
-    }
-
-    # }}}
-
-
-    # Figure out whether a user has the right we're asking about.
-    my $retval = $self->HasRight(
-        Object => $args{'GroupObj'},
-        Right     => $args{'Right'},
-    );
-
-    return ($retval);
-
-
-}
-
-# }}}
-
-# {{{ sub OwnGroups 
-
-=head2 OwnGroups
-
-Returns a group collection object containing the groups of which this
-user is a member.
-
-=cut
-
-sub OwnGroups {
-    my $self = shift;
-    my $groups = RT::Groups->new($self->CurrentUser);
-    $groups->LimitToUserDefinedGroups;
-    $groups->WithMember(PrincipalId => $self->Id, 
-                       Recursively => 1);
-    return $groups;
-}
-
-# }}}
-
-# {{{ sub Rights testing
-
-=head1 Rights testing
-
-
-=begin testing
-
-my $root = RT::User->new($RT::SystemUser);
-$root->Load('root');
-ok($root->Id, "Found the root user");
-my $rootq = RT::Queue->new($root);
-$rootq->Load(1);
-ok($rootq->Id, "Loaded the first queue");
-
-ok ($rootq->CurrentUser->HasRight(Right=> 'CreateTicket', Object => $rootq), "Root can create tickets");
-
-my $new_user = RT::User->new($RT::SystemUser);
-my ($id, $msg) = $new_user->Create(Name => 'ACLTest'.$$);
-
-ok ($id, "Created a new user for acl test $msg");
-
-my $q = RT::Queue->new($new_user);
-$q->Load(1);
-ok($q->Id, "Loaded the first queue");
-
-
-ok (!$q->CurrentUser->HasRight(Right => 'CreateTicket', Object => $q), "Some random user doesn't have the right to create tickets");
-ok (my ($gval, $gmsg) = $new_user->PrincipalObj->GrantRight( Right => 'CreateTicket', Object => $q), "Granted the random user the right to create tickets");
-ok ($gval, "Grant succeeded - $gmsg");
-
-
-ok ($q->CurrentUser->HasRight(Right => 'CreateTicket', Object => $q), "The user can create tickets after we grant him the right");
-ok (my ($gval, $gmsg) = $new_user->PrincipalObj->RevokeRight( Right => 'CreateTicket', Object => $q), "revoked the random user the right to create tickets");
-ok ($gval, "Revocation succeeded - $gmsg");
-ok (!$q->CurrentUser->HasRight(Right => 'CreateTicket', Object => $q), "The user can't create tickets anymore");
-
-
-
-
-
-# Create a ticket in the queue
-my $new_tick = RT::Ticket->new($RT::SystemUser);
-my ($tickid, $tickmsg) = $new_tick->Create(Subject=> 'ACL Test', Queue => 'General');
-ok($tickid, "Created ticket: $tickid");
-# Make sure the user doesn't have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick, Right => 'ModifyTicket'), "User can't modify the ticket without group membership");
-# Create a new group
-my $group = RT::Group->new($RT::SystemUser);
-$group->CreateUserDefinedGroup(Name => 'ACLTest'.$$);
-ok($group->Id, "Created a new group Ok");
-# Grant a group the right to modify tickets in a queue
-ok(my ($gv,$gm) = $group->PrincipalObj->GrantRight( Object => $q, Right => 'ModifyTicket'),"Granted the group the right to modify tickets");
-ok($gv,"Grant succeeed - $gm");
-# Add the user to the group
-ok( my ($aid, $amsg) = $group->AddMember($new_user->PrincipalId), "Added the member to the group");
-ok ($aid, "Member added to group: $amsg");
-# Make sure the user does have the right to modify tickets in the queue
-ok ($new_user->HasRight( Object => $new_tick, Right => 'ModifyTicket'), "User can modify the ticket with group membership");
-
-
-# Remove the user from the group
-ok( my ($did, $dmsg) = $group->DeleteMember($new_user->PrincipalId), "Deleted the member from the group");
-ok ($did,"Deleted the group member: $dmsg");
-# Make sure the user doesn't have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick, Right => 'ModifyTicket'), "User can't modify the ticket without group membership");
-
-
-my $q_as_system = RT::Queue->new($RT::SystemUser);
-$q_as_system->Load(1);
-ok($q_as_system->Id, "Loaded the first queue");
-
-# Create a ticket in the queue
-my $new_tick2 = RT::Ticket->new($RT::SystemUser);
-my ($tick2id, $tickmsg) = $new_tick2->Create(Subject=> 'ACL Test 2', Queue =>$q_as_system->Id);
-ok($tick2id, "Created ticket: $tick2id");
-is($new_tick2->QueueObj->id, $q_as_system->Id, "Created a new ticket in queue 1");
-
-
-# make sure that the user can't do this without subgroup membership
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket without group membership");
-
-# Create a subgroup
-my $subgroup = RT::Group->new($RT::SystemUser);
-$subgroup->CreateUserDefinedGroup(Name => 'Subgrouptest',$$);
-ok($subgroup->Id, "Created a new group ".$subgroup->Id."Ok");
-#Add the subgroup as a subgroup of the group
-my ($said, $samsg) =  $group->AddMember($subgroup->PrincipalId);
-ok ($said, "Added the subgroup as a member of the group");
-# Add the user to a subgroup of the group
-
-my ($usaid, $usamsg) =  $subgroup->AddMember($new_user->PrincipalId);
-ok($usaid,"Added the user ".$new_user->Id."to the subgroup");
-# Make sure the user does have the right to modify tickets in the queue
-ok ($new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can modify the ticket with subgroup membership");
-
-#  {{{ Deal with making sure that members of subgroups of a disabled group don't have rights
-
-my ($id, $msg);
-($id, $msg) =  $group->SetDisabled(1);
-ok ($id,$msg);
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket when the group ".$group->Id. " is disabled");
- ($id, $msg) =  $group->SetDisabled(0);
-ok($id,$msg);
-# Test what happens when we disable the group the user is a member of directly
-
-($id, $msg) =  $subgroup->SetDisabled(1);
- ok ($id,$msg);
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket when the group ".$subgroup->Id. " is disabled");
- ($id, $msg) =  $subgroup->SetDisabled(0);
- ok ($id,$msg);
-ok ($new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can modify the ticket without group membership");
-
-# }}}
-
-
-my ($usrid, $usrmsg) =  $subgroup->DeleteMember($new_user->PrincipalId);
-ok($usrid,"removed the user from the group - $usrmsg");
-# Make sure the user doesn't have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket without group membership");
-
-#revoke the right to modify tickets in a queue
-ok(($gv,$gm) = $group->PrincipalObj->RevokeRight( Object => $q, Right => 'ModifyTicket'),"Granted the group the right to modify tickets");
-ok($gv,"revoke succeeed - $gm");
-
-# {{{ Test the user's right to modify a ticket as a _queue_ admincc for a right granted at the _queue_ level
-
-# Grant queue admin cc the right to modify ticket in the queue 
-ok(my ($qv,$qm) = $q_as_system->AdminCc->PrincipalObj->GrantRight( Object => $q_as_system, Right => 'ModifyTicket'),"Granted the queue adminccs the right to modify tickets");
-ok($qv, "Granted the right successfully - $qm");
-
-# Add the user as a queue admincc
-ok ((my $add_id, $add_msg) = $q_as_system->AddWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Added the new user as a queue admincc");
-ok ($add_id, "the user is now a queue admincc - $add_msg");
-
-# Make sure the user does have the right to modify tickets in the queue
-ok ($new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can modify the ticket as an admincc");
-# Remove the user from the role  group
-ok ((my $del_id, $del_msg) = $q_as_system->DeleteWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Deleted the new user as a queue admincc");
-
-# Make sure the user doesn't have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket without group membership");
-
-# }}}
-
-# {{{ Test the user's right to modify a ticket as a _ticket_ admincc with the right granted at the _queue_ level
-
-# Add the user as a ticket admincc
-ok ((my $uadd_id, $uadd_msg) = $new_tick2->AddWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Added the new user as a queue admincc");
-ok ($add_id, "the user is now a queue admincc - $add_msg");
-
-# Make sure the user does have the right to modify tickets in the queue
-ok ($new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can modify the ticket as an admincc");
-
-# Remove the user from the role  group
-ok ((my $del_id, $del_msg) = $new_tick2->DeleteWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Deleted the new user as a queue admincc");
-
-# Make sure the user doesn't have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket without group membership");
-
-
-# Revoke the right to modify ticket in the queue 
-ok(my ($rqv,$rqm) = $q_as_system->AdminCc->PrincipalObj->RevokeRight( Object => $q_as_system, Right => 'ModifyTicket'),"Revokeed the queue adminccs the right to modify tickets");
-ok($rqv, "Revoked the right successfully - $rqm");
-
-# }}}
-
-
-
-# {{{ Test the user's right to modify a ticket as a _queue_ admincc for a right granted at the _system_ level
-
-# Before we start Make sure the user does not have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can not modify the ticket without it being granted");
-ok (!$new_user->HasRight( Object => $new_tick2->QueueObj, Right => 'ModifyTicket'), "User can not modify tickets in the queue without it being granted");
-
-# Grant queue admin cc the right to modify ticket in the queue 
-ok(my ($qv,$qm) = $q_as_system->AdminCc->PrincipalObj->GrantRight( Object => $RT::System, Right => 'ModifyTicket'),"Granted the queue adminccs the right to modify tickets");
-ok($qv, "Granted the right successfully - $qm");
-
-# Make sure the user can't modify the ticket before they're added as a watcher
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can not modify the ticket without being an admincc");
-ok (!$new_user->HasRight( Object => $new_tick2->QueueObj, Right => 'ModifyTicket'), "User can not modify tickets in the queue without being an admincc");
-
-# Add the user as a queue admincc
-ok ((my $add_id, $add_msg) = $q_as_system->AddWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Added the new user as a queue admincc");
-ok ($add_id, "the user is now a queue admincc - $add_msg");
-
-# Make sure the user does have the right to modify tickets in the queue
-ok ($new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can modify the ticket as an admincc");
-ok ($new_user->HasRight( Object => $new_tick2->QueueObj, Right => 'ModifyTicket'), "User can modify tickets in the queue as an admincc");
-# Remove the user from the role  group
-ok ((my $del_id, $del_msg) = $q_as_system->DeleteWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Deleted the new user as a queue admincc");
-
-# Make sure the user doesn't have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket without group membership");
-ok (!$new_user->HasRight( Object => $new_tick2->QueueObj, Right => 'ModifyTicket'), "User can't modify tickets in the queue without group membership");
-
-# }}}
-
-# {{{ Test the user's right to modify a ticket as a _ticket_ admincc with the right granted at the _queue_ level
-
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can not modify the ticket without being an admincc");
-ok (!$new_user->HasRight( Object => $new_tick2->QueueObj, Right => 'ModifyTicket'), "User can not modify tickets in the queue obj without being an admincc");
-
-
-# Add the user as a ticket admincc
-ok ((my $uadd_id, $uadd_msg) = $new_tick2->AddWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Added the new user as a queue admincc");
-ok ($add_id, "the user is now a queue admincc - $add_msg");
-
-# Make sure the user does have the right to modify tickets in the queue
-ok ($new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can modify the ticket as an admincc");
-ok (!$new_user->HasRight( Object => $new_tick2->QueueObj, Right => 'ModifyTicket'), "User can not modify tickets in the queue obj being only a ticket admincc");
-
-# Remove the user from the role  group
-ok ((my $del_id, $del_msg) = $new_tick2->DeleteWatcher(Type => 'AdminCc', PrincipalId => $new_user->PrincipalId)  , "Deleted the new user as a queue admincc");
-
-# Make sure the user doesn't have the right to modify tickets in the queue
-ok (!$new_user->HasRight( Object => $new_tick2, Right => 'ModifyTicket'), "User can't modify the ticket without being an admincc");
-ok (!$new_user->HasRight( Object => $new_tick2->QueueObj, Right => 'ModifyTicket'), "User can not modify tickets in the queue obj without being an admincc");
-
-
-# Revoke the right to modify ticket in the queue 
-ok(my ($rqv,$rqm) = $q_as_system->AdminCc->PrincipalObj->RevokeRight( Object => $RT::System, Right => 'ModifyTicket'),"Revokeed the queue adminccs the right to modify tickets");
-ok($rqv, "Revoked the right successfully - $rqm");
-
-# }}}
-
-
-
-
-# Grant "privileged users" the system right to create users
-# Create a privileged user.
-# have that user create another user
-# Revoke the right for privileged users to create users
-# have the privileged user try to create another user and fail the ACL check
-
-=end testing
-
-=cut
-
-# }}}
-
-
-# {{{ sub HasRight
-
-=head2 HasRight
-
-Shim around PrincipalObj->HasRight. See RT::Principal
-
-=cut
-
-sub HasRight {
-
-    my $self = shift;
-    return $self->PrincipalObj->HasRight(@_);
-}
-
-# }}}
-
-# {{{ sub CurrentUserCanModify
-
-=head2 CurrentUserCanModify RIGHT
-
-If the user has rights for this object, either because
-he has 'AdminUsers' or (if he\'s trying to edit himself and the right isn\'t an 
-admin right) 'ModifySelf', return 1. otherwise, return undef.
-
-=cut
-
-sub CurrentUserCanModify {
-    my $self  = shift;
-    my $right = shift;
-
-    if ( $self->CurrentUser->HasRight(Right => 'AdminUsers', Object => $RT::System) ) {
-        return (1);
-    }
-
-    #If the field is marked as an "administrators only" field, 
-    # don\'t let the user touch it.
-    elsif ( $self->_Accessible( $right, 'admin' ) ) {
-        return (undef);
-    }
-
-    #If the current user is trying to modify themselves
-    elsif ( ( $self->id == $self->CurrentUser->id )
-        and ( $self->CurrentUser->HasRight(Right => 'ModifySelf', Object => $RT::System) ) )
-    {
-        return (1);
-    }
-
-    #If we don\'t have a good reason to grant them rights to modify
-    # by now, they lose
-    else {
-        return (undef);
-    }
-
-}
-
-# }}}
-
-# {{{ sub CurrentUserHasRight
-
-=head2 CurrentUserHasRight
-  
-Takes a single argument. returns 1 if $Self->CurrentUser
-has the requested right. returns undef otherwise
-
-=cut
-
-sub CurrentUserHasRight {
-    my $self  = shift;
-    my $right = shift;
-
-    return ( $self->CurrentUser->HasRight(Right => $right, Object => $RT::System) );
-}
-
-# }}}
-
-# {{{ sub _CleanupInvalidDelegations
-
-=head2 _CleanupInvalidDelegations { InsideTransaction => undef }
-
-Revokes all ACE entries delegated by this user which are inconsistent
-with their current delegation rights.  Does not perform permission
-checks.  Should only ever be called from inside the RT library.
-
-If called from inside a transaction, specify a true value for the
-InsideTransaction parameter.
-
-Returns a true value if the deletion succeeded; returns a false value
-and logs an internal error if the deletion fails (should not happen).
-
-=cut
-
-# XXX Currently there is a _CleanupInvalidDelegations method in both
-# RT::User and RT::Group.  If the recursive cleanup call for groups is
-# ever unrolled and merged, this code will probably want to be
-# factored out into RT::Principal.
-
-sub _CleanupInvalidDelegations {
-    my $self = shift;
-    my %args = ( InsideTransaction => undef,
-                 @_ );
-
-    unless ( $self->Id ) {
-       $RT::Logger->warning("User not loaded.");
-       return (undef);
-    }
-
-    my $in_trans = $args{InsideTransaction};
-
-    return(1) if ($self->HasRight(Right => 'DelegateRights',
-                                 Object => $RT::System));
-
-    # Look up all delegation rights currently posessed by this user.
-    my $deleg_acl = RT::ACL->new($RT::SystemUser);
-    $deleg_acl->LimitToPrincipal(Type => 'User',
-                                Id => $self->PrincipalId,
-                                IncludeGroupMembership => 1);
-    $deleg_acl->Limit( FIELD => 'RightName',
-                      OPERATOR => '=',
-                      VALUE => 'DelegateRights' );
-    my @allowed_deleg_objects = map {$_->Object()}
-       @{$deleg_acl->ItemsArrayRef()};
-
-    # Look up all rights delegated by this principal which are
-    # inconsistent with the allowed delegation objects.
-    my $acl_to_del = RT::ACL->new($RT::SystemUser);
-    $acl_to_del->DelegatedBy(Id => $self->Id);
-    foreach (@allowed_deleg_objects) {
-       $acl_to_del->LimitNotObject($_);
-    }
-
-    # Delete all disallowed delegations
-    while ( my $ace = $acl_to_del->Next() ) {
-       my $ret = $ace->_Delete(InsideTransaction => 1);
-       unless ($ret) {
-           $RT::Handle->Rollback() unless $in_trans;
-           $RT::Logger->warning("Couldn't delete delegated ACL entry ".$ace->Id);
-           return (undef);
-       }
-    }
-
-    $RT::Handle->Commit() unless $in_trans;
-    return (1);
-}
-
-# }}}
-
-# {{{ sub _Set
-
-sub _Set {
-    my $self = shift;
-
-    my %args = (
-        Field => undef,
-        Value => undef,
-       TransactionType   => 'Set',
-       RecordTransaction => 1,
-        @_
-    );
-
-    # Nobody is allowed to futz with RT_System or Nobody 
-
-    if ( ($self->Id == $RT::SystemUser->Id )  || 
-         ($self->Id == $RT::Nobody->Id)) {
-        return ( 0, $self->loc("Can not modify system users") );
-    }
-    unless ( $self->CurrentUserCanModify( $args{'Field'} ) ) {
-        return ( 0, $self->loc("Permission Denied") );
-    }
-
-    my $Old = $self->SUPER::_Value("$args{'Field'}");
-    
-    my ($ret, $msg) = $self->SUPER::_Set( Field => $args{'Field'},
-                                         Value => $args{'Value'} );
-    
-    #If we can't actually set the field to the value, don't record
-    # a transaction. instead, get out of here.
-    if ( $ret == 0 ) { return ( 0, $msg ); }
-
-    if ( $args{'RecordTransaction'} == 1 ) {
-
-        my ( $Trans, $Msg, $TransObj ) = $self->_NewTransaction(
-                                               Type => $args{'TransactionType'},
-                                               Field     => $args{'Field'},
-                                               NewValue  => $args{'Value'},
-                                               OldValue  => $Old,
-                                               TimeTaken => $args{'TimeTaken'},
-        );
-        return ( $Trans, scalar $TransObj->BriefDescription );
-    }
-    else {
-        return ( $ret, $msg );
-    }
-}
-
-# }}}
-
-# {{{ sub _Value 
-
-=head2 _Value
-
-Takes the name of a table column.
-Returns its value as a string, if the user passes an ACL check
-
-=cut
-
-sub _Value {
-
-    my $self  = shift;
-    my $field = shift;
-
-    #If the current user doesn't have ACLs, don't let em at it.  
-
-    my @PublicFields = qw( Name EmailAddress Organization Disabled
-      RealName NickName Gecos ExternalAuthId
-      AuthSystem ExternalContactInfoId
-      ContactInfoSystem );
-
-    #if the field is public, return it.
-    if ( $self->_Accessible( $field, 'public' ) ) {
-        return ( $self->SUPER::_Value($field) );
-
-    }
-
-    #If the user wants to see their own values, let them
-    # TODO figure ouyt a better way to deal with this
-   elsif ( $self->CurrentUser->Id == $self->Id ) {
-        return ( $self->SUPER::_Value($field) );
-    }
-
-    #If the user has the admin users right, return the field
-    elsif ( $self->CurrentUser->HasRight(Right =>'AdminUsers', Object => $RT::System) ) {
-        return ( $self->SUPER::_Value($field) );
-    }
-    else {
-        return (undef);
-    }
-
-}
-
-# }}}
-
-sub BasicColumns {
-    (
-       [ Name => 'User Id' ],
-       [ EmailAddress => 'Email' ],
-       [ RealName => 'Name' ],
-       [ Organization => 'Organization' ],
-    );
-}
-
-1;
-
-
diff --git a/rt/lib/RT/Users.pm b/rt/lib/RT/Users.pm
deleted file mode 100755 (executable)
index abe471f..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-
-
-=head1 NAME
-
-  RT::Users -- Class Description
-=head1 SYNOPSIS
-
-  use RT::Users
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package RT::Users;
-
-use RT::SearchBuilder;
-use RT::User;
-
-use vars qw( @ISA );
-@ISA= qw(RT::SearchBuilder);
-
-
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Users';
-    $self->{'primary_key'} = 'id';
-
-
-    return ( $self->SUPER::_Init(@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new RT::User item
-
-=cut
-
-sub NewItem {
-    my $self = shift;
-    return(RT::User->new($self->CurrentUser));
-}
-
-        eval "require RT::Users_Overlay";
-        if ($@ && $@ !~ qr{^Can't locate RT/Users_Overlay.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Users_Vendor";
-        if ($@ && $@ !~ qr{^Can't locate RT/Users_Vendor.pm}) {
-            die $@;
-        };
-
-        eval "require RT::Users_Local";
-        if ($@ && $@ !~ qr{^Can't locate RT/Users_Local.pm}) {
-            die $@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows "overlay" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-RT::Users_Overlay, RT::Users_Vendor, RT::Users_Local
-
-=cut
-
-
-1;
diff --git a/rt/lib/RT/Users_Overlay.pm b/rt/lib/RT/Users_Overlay.pm
deleted file mode 100644 (file)
index 4bb9f8f..0000000
+++ /dev/null
@@ -1,467 +0,0 @@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-  RT::Users - Collection of RT::User objects
-
-=head1 SYNOPSIS
-
-  use RT::Users;
-
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=begin testing
-
-ok(require RT::Users);
-
-=end testing
-
-=cut
-
-
-package RT::Users;
-
-use strict;
-no warnings qw(redefine);
-
-# {{{ sub _Init 
-sub _Init {
-    my $self = shift;
-    $self->{'table'} = 'Users';
-        $self->{'primary_key'} = 'id';
-
-
-
-    my @result =          $self->SUPER::_Init(@_);
-    # By default, order by name
-    $self->OrderBy( ALIAS => 'main',
-                    FIELD => 'Name',
-                    ORDER => 'ASC' );
-
-    $self->{'princalias'} = $self->NewAlias('Principals');
-
-    $self->Join( ALIAS1 => 'main',
-                 FIELD1 => 'id',
-                 ALIAS2 => $self->{'princalias'},
-                 FIELD2 => 'id' );
-
-    return (@result);
-}
-
-# }}}
-
-=head2 PrincipalsAlias
-
-Returns the string that represents this Users object's primary "Principals" alias.
-
-
-=cut
-
-sub PrincipalsAlias {
-    my $self = shift;
-    return($self->{'princalias'});
-
-}
-
-
-# {{{ sub _DoSearch 
-
-=head2 _DoSearch
-
-  A subclass of DBIx::SearchBuilder::_DoSearch that makes sure that _Disabled rows never get seen unless
-we're explicitly trying to see them.
-
-=cut
-
-sub _DoSearch {
-    my $self = shift;
-
-    #unless we really want to find disabled rows, make sure we\'re only finding enabled ones.
-    unless ( $self->{'find_disabled_rows'} ) {
-        $self->LimitToEnabled();
-    }
-    return ( $self->SUPER::_DoSearch(@_) );
-
-}
-
-# }}}
-# {{{ sub LimitToEnabled
-
-=head2 LimitToEnabled
-
-Only find items that haven\'t been disabled
-
-=cut
-
-sub LimitToEnabled {
-    my $self = shift;
-
-    $self->Limit( ALIAS    => $self->{'princalias'},
-                  FIELD    => 'Disabled',
-                  VALUE    => '0',
-                  OPERATOR => '=' );
-}
-
-# }}}
-
-# {{{ LimitToEmail
-
-=head2 LimitToEmail
-
-Takes one argument. an email address. limits the returned set to
-that email address
-
-=cut
-
-sub LimitToEmail {
-    my $self = shift;
-    my $addr = shift;
-    $self->Limit( FIELD => 'EmailAddress', VALUE => "$addr" );
-}
-
-# }}}
-
-# {{{ MemberOfGroup
-
-=head2 MemberOfGroup PRINCIPAL_ID
-
-takes one argument, a group's principal id. Limits the returned set
-to members of a given group
-
-=cut
-
-sub MemberOfGroup {
-    my $self  = shift;
-    my $group = shift;
-
-    return $self->loc("No group specified") if ( !defined $group );
-
-    my $groupalias = $self->NewAlias('CachedGroupMembers');
-
-    # Join the principal to the groups table
-    $self->Join( ALIAS1 => $self->{'princalias'},
-                 FIELD1 => 'id',
-                 ALIAS2 => $groupalias,
-                 FIELD2 => 'MemberId' );
-
-    $self->Limit( ALIAS    => "$groupalias",
-                  FIELD    => 'GroupId',
-                  VALUE    => "$group",
-                  OPERATOR => "=" );
-}
-
-# }}}
-
-# {{{ LimitToPrivileged
-
-=head2 LimitToPrivileged
-
-Limits to users who can be made members of ACLs and groups
-
-=cut
-
-sub LimitToPrivileged {
-    my $self = shift;
-
-    my $priv = RT::Group->new( $self->CurrentUser );
-    $priv->LoadSystemInternalGroup('Privileged');
-    unless ( $priv->Id ) {
-        $RT::Logger->crit("Couldn't find a privileged users group");
-    }
-    $self->MemberOfGroup( $priv->PrincipalId );
-}
-
-# }}}
-
-# {{{ WhoHaveRight
-
-=head2 WhoHaveRight { Right => 'name', Object => $rt_object , IncludeSuperusers => undef, IncludeSubgroupMembers => undef, IncludeSystemRights => undef, EquivObjects => [ ] }
-
-=begin testing
-
-ok(my $users = RT::Users->new($RT::SystemUser));
-$users->WhoHaveRight(Object =>$RT::System, Right =>'SuperUser');
-ok($users->Count == 1, "There is one privileged superuser - Found ". $users->Count );
-# TODO: this wants more testing
-
-my $RTxUser = RT::User->new($RT::SystemUser);
-($id, $msg) = $RTxUser->Create( Name => 'RTxUser', Comments => "RTx extension user", Privileged => 1);
-ok ($id,$msg);
-
-my $group = RT::Group->new($RT::SystemUser);
-$group->LoadACLEquivalenceGroup($RTxUser->PrincipalObj);
-
-my $RTxSysObj = {};
-bless $RTxSysObj, 'RTx::System';
-*RTx::System::Id = sub { 1; };
-*RTx::System::id = *RTx::System::Id;
-my $ace = RT::Record->new($RT::SystemUser);
-$ace->Table('ACL');
-$ace->_BuildTableAttributes unless ($_TABLE_ATTR->{ref($self)});
-($id, $msg) = $ace->Create( PrincipalId => $group->id, PrincipalType => 'Group', RightName => 'RTxUserRight', ObjectType => 'RTx::System', ObjectId  => 1 );
-ok ($id, "ACL for RTxSysObj created");
-
-my $RTxObj = {};
-bless $RTxObj, 'RTx::System::Record';
-*RTx::System::Record::Id = sub { 4; };
-*RTx::System::Record::id = *RTx::System::Record::Id;
-
-$users = RT::Users->new($RT::SystemUser);
-$users->WhoHaveRight(Right => 'RTxUserRight', Object => $RTxSysObj);
-is($users->Count, 1, "RTxUserRight found for RTxSysObj");
-
-$users = RT::Users->new($RT::SystemUser);
-$users->WhoHaveRight(Right => 'RTxUserRight', Object => $RTxObj);
-is($users->Count, 0, "RTxUserRight not found for RTxObj");
-
-$users = RT::Users->new($RT::SystemUser);
-$users->WhoHaveRight(Right => 'RTxUserRight', Object => $RTxObj, EquivObjects => [ $RTxSysObj ]);
-is($users->Count, 1, "RTxUserRight found for RTxObj using EquivObjects");
-
-$ace = RT::Record->new($RT::SystemUser);
-$ace->Table('ACL');
-$ace->_BuildTableAttributes unless ($_TABLE_ATTR->{ref($self)});
-($id, $msg) = $ace->Create( PrincipalId => $group->id, PrincipalType => 'Group', RightName => 'RTxUserRight', ObjectType => 'RTx::System::Record', ObjectId => 5 );
-ok ($id, "ACL for RTxObj created");
-
-my $RTxObj2 = {};
-bless $RTxObj2, 'RTx::System::Record';
-*RTx::System::Record::Id = sub { 5; };
-*RTx::System::Record::id = sub { 5; };
-
-$users = RT::Users->new($RT::SystemUser);
-$users->WhoHaveRight(Right => 'RTxUserRight', Object => $RTxObj2);
-is($users->Count, 1, "RTxUserRight found for RTxObj2");
-
-$users = RT::Users->new($RT::SystemUser);
-$users->WhoHaveRight(Right => 'RTxUserRight', Object => $RTxObj2, EquivObjects => [ $RTxSysObj ]);
-is($users->Count, 1, "RTxUserRight found for RTxObj2");
-
-
-=end testing
-
-
-find all users who the right Right for this group, either individually
-or as members of groups
-
-
-If passed a queue object, with no id, it will find users who have that right for _any_ queue
-
-
-
-=cut
-
-sub WhoHaveRight {
-    my $self = shift;
-    my %args = (
-        Right                  => undef,
-        Object                 => undef,
-        IncludeSystemRights    => undef,
-        IncludeSuperusers      => undef,
-        IncludeSubgroupMembers => 1,
-        EquivObjects           => [ ],
-        @_
-    );
-
-    if ( defined $args{'ObjectType'} || defined $args{'ObjectId'} ) {
-        $RT::Logger->crit( "$self WhoHaveRight called with the Obsolete ObjectId/ObjectType API");
-        return (undef);
-    }
-    
-
-    # Find only members of groups that have the right.
-
-    my $acl       = $self->NewAlias('ACL');
-    my $groups    = $self->NewAlias('Groups');
-    my $userprinc = $self->{'princalias'};
-
-# The cachedgroupmembers table is used for unrolling group memberships to allow fast lookups
-# if we bind to CachedGroupMembers, we'll find all members of groups recursively.
-# if we don't we'll find only 'direct' members of the group in question
-    my $cgm;
-
-    if ( $args{'IncludeSubgroupMembers'} ) {
-        $cgm = $self->NewAlias('CachedGroupMembers');
-    }
-    else {
-        $cgm = $self->NewAlias('GroupMembers');
-    }
-
-#Tie the users we're returning ($userprinc) to the groups that have rights granted to them ($groupprinc)
-    $self->Join(
-        ALIAS1 => $cgm,
-        FIELD1 => 'MemberId',
-        ALIAS2 => $userprinc,
-        FIELD2 => 'id'
-    );
-
-    $self->Join(
-        ALIAS1 => $groups,
-        FIELD1 => 'id',
-        ALIAS2 => $cgm,
-        FIELD2 => 'GroupId'
-    );
-
-# {{{ Find only rows where the right granted is the one we're looking up or _possibly_ superuser
-    $self->Limit(
-        ALIAS    => $acl,
-        FIELD    => 'RightName',
-        OPERATOR => ( $args{Right} ? '=' : 'IS NOT' ),
-        VALUE => $args{Right} || 'NULL',
-        ENTRYAGGREGATOR => 'OR'
-    );
-
-    if ( $args{'IncludeSuperusers'} and $args{'Right'} ) {
-        $self->Limit(
-            ALIAS           => $acl,
-            FIELD           => 'RightName',
-            OPERATOR        => '=',
-            VALUE           => 'SuperUser',
-            ENTRYAGGREGATOR => 'OR'
-        );
-    }
-
-    # }}}
-
-    my ( $or_check_ticket_roles, $or_check_roles );
-    my $which_object = "$acl.ObjectType = 'RT::System'";
-
-    if ( defined $args{'Object'} ) {
-        if ( ref( $args{'Object'} ) eq 'RT::Ticket' ) {
-            $or_check_ticket_roles = " OR ( $groups.Domain = 'RT::Ticket-Role' AND $groups.Instance = " . $args{'Object'}->Id . ") ";
-
-# If we're looking at ticket rights, we also want to look at the associated queue rights.
-# this is a little bit hacky, but basically, now that we've done the ticket roles magic,
-# we load the queue object and ask all the rest of our questions about the queue.
-            $args{'Object'} = $args{'Object'}->QueueObj;
-        }
-
-        # TODO XXX This really wants some refactoring
-        if ( ref( $args{'Object'} ) eq 'RT::Queue' ) {
-            $or_check_roles = " OR ( ( ($groups.Domain = 'RT::Queue-Role' ";
-            $or_check_roles .= "AND $groups.Instance = " . $args{'Object'}->id if ( $args{'Object'}->id );
-            $or_check_roles .= ") $or_check_ticket_roles ) " . " AND $groups.Type = $acl.PrincipalType) ";
-        }
-        if ( $args{'IncludeSystemRights'} ) {
-            $which_object .= ' OR ';
-        }
-        else {
-            $which_object = '';
-        }
-        foreach my $obj ( @{ $args{'EquivObjects'} } ) {
-            $which_object .= "($acl.ObjectType = '" . ref( $obj ) . "' AND $acl.ObjectId = " . $obj->id . ") OR ";
-        }
-        $which_object .= " ($acl.ObjectType = '" . ref( $args{'Object'} ) . "'";
-        if ( $args{'Object'}->id ) {
-            $which_object .= " AND $acl.ObjectId = " . $args{'Object'}->id;
-        }
-
-        $which_object .=  ") ";
-    }
-    $self->_AddSubClause( "WhichObject", "($which_object)" );
-    $self->_AddSubClause(
-        "WhichGroup",
-            qq{ ( (    $acl.PrincipalId = $groups.id AND $acl.PrincipalType = 'Group' 
-                AND (   $groups.Domain = 'SystemInternal' OR $groups.Domain = 'UserDefined' OR $groups.Domain = 'ACLEquivalence')) 
-                $or_check_roles) }
-    );
-    # only include regular RT users
-    $self->LimitToEnabled;
-
-    # no system user
-    $self->Limit( ALIAS => $userprinc, FIELD => 'id', OPERATOR => '!=', VALUE => $RT::SystemUser->id);
-
-}
-# }}}
-
-# {{{ WhoBelongToGroups 
-
-=head2 WhoBelongToGroups { Groups => ARRAYREF, IncludeSubgroupMembers => 1 }
-
-=cut
-
-sub WhoBelongToGroups {
-    my $self = shift;
-    my %args = ( Groups                 => undef,
-                 IncludeSubgroupMembers => 1,
-                 @_ );
-
-    # Unprivileged users can't be granted real system rights. 
-    # is this really the right thing to be saying?
-    $self->LimitToPrivileged();
-
-    my $userprinc  = $self->{'princalias'};
-    my $cgm;
-
-    # The cachedgroupmembers table is used for unrolling group memberships to allow fast lookups 
-    # if we bind to CachedGroupMembers, we'll find all members of groups recursively.
-    # if we don't we'll find only 'direct' members of the group in question
-
-    if ( $args{'IncludeSubgroupMembers'} ) {
-        $cgm = $self->NewAlias('CachedGroupMembers');
-    }
-    else {
-        $cgm = $self->NewAlias('GroupMembers');
-    }
-
-    #Tie the users we're returning ($userprinc) to the groups that have rights granted to them ($groupprinc)
-    $self->Join( ALIAS1 => $cgm, FIELD1 => 'MemberId',
-                 ALIAS2 => $userprinc, FIELD2 => 'id' );
-
-    foreach my $groupid (@{$args{'Groups'}}) {
-        $self->Limit(ALIAS => $cgm, FIELD => 'GroupId', VALUE => $groupid, QUOTEVALUE => 0, ENTRYAGGREGATOR=> 'OR')
-
-    }
-}
-# }}}
-
-
-1;
diff --git a/rt/lib/t/00smoke.t b/rt/lib/t/00smoke.t
deleted file mode 100644 (file)
index 9e9bf4a..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/perl
-
-use Test::More qw(no_plan);
-
-use RT;
-ok(RT::LoadConfig);
-ok(RT::Init, "Basic initialization and DB connectivity");
-
-use File::Find;
-File::Find::find({wanted => \&wanted}, 'lib/');
-sub wanted { /^*\.pm\z/s && ok(require $_, "Requiring '$_'"); }
-
-
diff --git a/rt/lib/t/01harness.t b/rt/lib/t/01harness.t
deleted file mode 100644 (file)
index 98c28d2..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/perl
-
-use Test::More qw(no_plan);
-
-use lib "/opt/rt3/lib";
-use RT;
-ok(RT::LoadConfig);
-ok(RT::Init, "Basic initialization and DB connectivity");
-
-my $test = shift @ARGV;
-require $test;
-
diff --git a/rt/lib/t/02regression.t b/rt/lib/t/02regression.t
deleted file mode 100644 (file)
index 4504cc7..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/perl
-
-use Test::More qw(no_plan);
-
-use lib "/opt/rt3/lib";
-use RT;
-ok(RT::LoadConfig);
-ok(RT::Init, "Basic initialization and DB connectivity");
-
-# Create a new queue
-use_ok(RT::Queue);
-my $q = RT::Queue->new($RT::SystemUser);
-
-$q->Load('regression');
-if ($q->id != 0) {
-        die "Regression tests not starting with a clean DB. Bailing";
-}
-
-my ($id, $msg) = $q->Create( Name => 'Regression',
-            Description => 'A regression test queue',
-            CorrespondAddress => 'correspond@a',
-            CommentAddress => 'comment@a');
-
-isnt($id, 0, "Queue was created sucessfully - $msg");
-
-my $q2 = RT::Queue->new($RT::SystemUser);
-
-ok($q2->Load($id));
-is($q2->id, $id, "Sucessfully loaded the queue again");
-is($q2->Name, 'Regression');
-is($q2->Description, 'A regression test queue');
-is($q2->CorrespondAddress, 'correspond@a');
-is($q2->CommentAddress, 'comment@a');
-
-
-use File::Find;
-File::Find::find({wanted => \&wanted_autogen}, 'lib/t/autogen');
-sub wanted_autogen { /^autogen.*\.t\z/s && require $_; }
-
-File::Find::find({wanted => \&wanted_regression}, 'lib/t/regression');
-sub wanted_regression { /^*\.t\z/s && require $_; }
-
-require "/opt/rt3/lib/t/03web.pl";
-require "/opt/rt3/lib/t/04_send_email.pl";
diff --git a/rt/lib/t/03web.pl b/rt/lib/t/03web.pl
deleted file mode 100644 (file)
index 94ad3e9..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use WWW::Mechanize;
-use HTTP::Request::Common;
-use HTTP::Cookies;
-use LWP;
-use Encode;
-
-my $cookie_jar = HTTP::Cookies->new;
-my $agent = WWW::Mechanize->new();
-
-# give the agent a place to stash the cookies
-
-$agent->cookie_jar($cookie_jar);
-
-
-# get the top page
-my $url = "http://localhost".$RT::WebPath."/";
-$agent->get($url);
-
-is ($agent->{'status'}, 200, "Loaded a page");
-
-
-# {{{ test a login
-
-# follow the link marked "Login"
-
-ok($agent->{form}->find_input('user'));
-
-ok($agent->{form}->find_input('pass'));
-ok ($agent->{'content'} =~ /username:/i);
-$agent->field( 'user' => 'root' );
-$agent->field( 'pass' => 'password' );
-# the field isn't named, so we have to click link 0
-$agent->click(0);
-is($agent->{'status'}, 200, "Fetched the page ok");
-ok( $agent->{'content'} =~ /Logout/i, "Found a logout link");
-
-
-
-$agent->get($url."Ticket/Create.html?Queue=1");
-is ($agent->{'status'}, 200, "Loaded Create.html");
-$agent->form(3);
-# Start with a string containing characters in latin1
-my $string = "I18N Web Testing æøå";
-Encode::from_to($string, 'iso-8859-1', 'utf8');
-$agent->field('Subject' => "Foo");
-$agent->field('Content' => $string);
-ok($agent->submit(), "Created new ticket with $string");
-
-ok( $agent->{'content'} =~ qr{$string} , "Found the content");
-
-$agent->get($url."Ticket/Create.html?Queue=1");
-is ($agent->{'status'}, 200, "Loaded Create.html");
-$agent->form(3);
-# Start with a string containing characters in latin1
-my $string = "I18N Web Testing æøå";
-Encode::from_to($string, 'iso-8859-1', 'utf8');
-$agent->field('Subject' => $string);
-$agent->field('Content' => "BAR");
-ok($agent->submit(), "Created new ticket with $string");
-
-ok( $agent->{'content'} =~ qr{$string} , "Found the content");
-
-
-
-# }}}
-
-
-
-use File::Find;
-find ( \&wanted , 'html/');
-
-sub wanted {
-        -f  && /\.html$/ && $_ !~ /Logout.html$/  && test_get($File::Find::name);
-}       
-
-sub test_get {
-        my $file = shift;
-
-
-        $file =~ s#^html/##; 
-        ok ($agent->get("$url/$file", "GET $url/$file"));
-        is ($agent->{'status'}, 200, "Loaded $file");
-        ok( $agent->{'content'} =~ /Logout/i, "Found a logout link on $file ");
-        ok( $agent->{'content'} !~ /Not logged in/i, "Still logged in for  $file");
-        ok( $agent->{'content'} !~ /System error/i, "Didn't get a Mason compilation error on $file");
-        
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/t/04_send_email.pl b/rt/lib/t/04_send_email.pl
deleted file mode 100644 (file)
index c384eed..0000000
+++ /dev/null
@@ -1,481 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use RT::EmailParser;
-use RT::Tickets;
-use RT::Action::SendEmail;
-
-my @_outgoing_messages;
-my @scrips_fired;
-
-#We're not testing acls here.
-my $everyone = RT::Group->new($RT::SystemUser);
-$everyone->LoadSystemInternalGroup('Everyone');
-$everyone->PrincipalObj->GrantRight(Right =>'SuperUser');
-
-
-is (__PACKAGE__, 'main', "We're operating in the main package");
-
-
-{
-no warnings qw/redefine/;
-sub RT::Action::SendEmail::SendMessage {
-        my $self = shift;
-        my $MIME = shift;
-
-        main::_fired_scrip($self->ScripObj);
-        main::ok(ref($MIME) eq 'MIME::Entity', "hey, look. it's a mime entity");
-}
-
-}
-
-# instrument SendEmail to pass us what it's about to send.
-# create a regular ticket
-
-my $parser = RT::EmailParser->new();
-
-
-# Let's test to make sure a multipart/report is processed correctly
-my $content =  `cat /opt/rt3/lib/t/data/multipart-report` || die "couldn't find new content";
-# be as much like the mail gateway as possible.
-use RT::Interface::Email;
-                                  
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /The original message was received/, "It's the bounce");
-
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-
-undef @scrips_fired;
-
-
-
-
-$parser->ParseMIMEEntityFromScalar('From: root@localhost
-To: rt@example.com
-Subject: This is a test of new ticket creation as an unknown user
-
-Blah!
-Foob!');
-
-                                  
-use Data::Dumper;
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my ($id,  $tid, $msg ) = $ticket->Create(Requestor => ['root@localhost'], Queue => 'general', Subject => 'I18NTest', MIMEObj => $parser->Entity);
-ok ($id,$msg);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'I18NTest', "failed to create the new ticket from an unprivileged account");
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-# make sure it sends an autoreply
-# make sure it sends a notification to adminccs
-
-
-# we need to swap out SendMessage to test the new things we care about;
-&utf8_redef_sendmessage;
-
-# create an iso 8859-1 ticket
-@scrips_fired = ();
-
-my $content =  `cat /opt/rt3/lib/t/data/new-ticket-from-iso-8859-1` || die "couldn't find new content";
-
-
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-use RT::Interface::Email;
-                           
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /H\x{e5}vard/, "It's signed by havard. yay");
-
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-# make sure it sends an autoreply
-
-
-# make sure it sends a notification to adminccs
-
-# If we correspond, does it do the right thing to the outbound messages?
-
-$parser->ParseMIMEEntityFromScalar($content);
-my ($id, $msg) = $tick->Comment(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-$parser->ParseMIMEEntityFromScalar($content);
-($id, $msg) = $tick->Correspond(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-
-
-
-
-# we need to swap out SendMessage to test the new things we care about;
-&iso8859_redef_sendmessage;
-$RT::EmailOutputEncoding = 'iso-8859-1';
-# create an iso 8859-1 ticket
-@scrips_fired = ();
-
-my $content =  `cat /opt/rt3/lib/t/data/new-ticket-from-iso-8859-1` || die "couldn't find new content";
-# be as much like the mail gateway as possible.
-use RT::Interface::Email;
-                                  
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /H\x{e5}vard/, "It's signed by havard. yay");
-
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-# make sure it sends an autoreply
-
-
-# make sure it sends a notification to adminccs
-
-
-# If we correspond, does it do the right thing to the outbound messages?
-
-$parser->ParseMIMEEntityFromScalar($content);
-my ($id, $msg) = $tick->Comment(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-$parser->ParseMIMEEntityFromScalar($content);
-($id, $msg) = $tick->Correspond(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-
-sub _fired_scrip {
-        my $scrip = shift;
-        push @scrips_fired, $scrip;
-}       
-
-sub utf8_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval ' 
-    sub RT::Action::SendEmail::SendMessage {
-        my $self = shift;
-        my $MIME = shift;
-
-        my $scrip = $self->ScripObj->id;
-        ok(1, $self->ScripObj->ConditionObj->Name . " ".$self->ScripObj->ActionObj->Name);
-        main::_fired_scrip($self->ScripObj);
-        $MIME->make_singlepart;
-        main::ok( ref($MIME) eq \'MIME::Entity\',
-                  "hey, look. it\'s a mime entity" );
-        main::ok( ref( $MIME->head ) eq \'MIME::Head\',
-                  "its mime header is a mime header. yay" );
-        main::ok( $MIME->head->get(\'Content-Type\') =~ /utf-8/,
-                  "Its content type is utf-8" );
-        my $message_as_string = $MIME->bodyhandle->as_string();
-        use Encode;
-        $message_as_string = Encode::decode_utf8($message_as_string);
-        main::ok(
-            $message_as_string =~ /H\x{e5}vard/,
-"The message\'s content contains havard\'s name. this will fail if it\'s not utf8 out");
-
-    }';
-}
-
-sub iso8859_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval ' 
-    sub RT::Action::SendEmail::SendMessage {
-        my $self = shift;
-        my $MIME = shift;
-
-        my $scrip = $self->ScripObj->id;
-        ok(1, $self->ScripObj->ConditionObj->Name . " ".$self->ScripObj->ActionObj->Name);
-        main::_fired_scrip($self->ScripObj);
-        $MIME->make_singlepart;
-        main::ok( ref($MIME) eq \'MIME::Entity\',
-                  "hey, look. it\'s a mime entity" );
-        main::ok( ref( $MIME->head ) eq \'MIME::Head\',
-                  "its mime header is a mime header. yay" );
-        main::ok( $MIME->head->get(\'Content-Type\') =~ /iso-8859-1/,
-                  "Its content type is iso-8859-1 - " . $MIME->head->get("Content-Type") );
-        my $message_as_string = $MIME->bodyhandle->as_string();
-        use Encode;
-        $message_as_string = Encode::decode("iso-8859-1",$message_as_string);
-        main::ok(
-            $message_as_string =~ /H\x{e5}vard/, "The message\'s content contains havard\'s name. this will fail if it\'s not utf8 out");
-
-    }';
-}
-
-# {{{ test a multipart alternative containing a text-html part with an umlaut
-
-my $content =  `cat /opt/rt3/lib/t/data/multipart-alternative-with-umlaut` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&umlauts_redef_sendmessage;
-
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /causes Error/, "We recorded the content right as text-plain");
-is ($tick->Transactions->First->Attachments->Count , 3 , "Has three attachments, presumably a text-plain, a text-html and a multipart alternative");
-
-sub umlauts_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { }';
-}
-
-# }}}
-
-# {{{ test a text-html message with an umlaut
-
-my $content =  `cat /opt/rt3/lib/t/data/text-html-with-umlaut` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_html_umlauts_redef_sendmessage;
-
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Attachments->First->Content =~ /causes Error/, "We recorded the content as containing 'causes error'");
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /text\/html/, "We recorded the content as text/html");
-ok ($tick->Transactions->First->Attachments->Count ==1 , "Has one attachment, presumably a text-html and a multipart alternative");
-
-sub text_html_umlauts_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                use Data::Dumper;
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                ok (is $MIME->parts, 2, "generated correspondence mime entityis composed of three parts");
-                is ($MIME->head->mime_type , "multipart/mixed", "The first part is a multipart mixed". $MIME->head->mime_type);
-                is ($MIME->parts(0)->head->mime_type , "text/plain", "The second part is a plain");
-                is ($MIME->parts(1)->head->mime_type , "text/html", "The third part is an html ");
-                 }';
-}
-
-# }}}
-
-# {{{ test a text-html message with russian characters
-
-my $content =  `cat /opt/rt3/lib/t/data/text-html-in-russian` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_html_russian_redef_sendmessage;
-
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /text\/html/, "We recorded the content right as text-html");
-ok ($tick->Transactions->First->Attachments->Count ==1 , "Has one attachment, presumably a text-html and a multipart alternative");
-
-sub text_html_russian_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                use Data::Dumper;
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                ok (is $MIME->parts, 2, "generated correspondence mime entityis composed of three parts");
-                is ($MIME->head->mime_type , "multipart/mixed", "The first part is a multipart mixed". $MIME->head->mime_type);
-                is ($MIME->parts(0)->head->mime_type , "text/plain", "The second part is a plain");
-                is ($MIME->parts(1)->head->mime_type , "text/html", "The third part is an html ");
-                my $content_1251;
-                $content_1251 = $MIME->parts(1)->bodyhandle->as_string();
-                ok ($content_1251 =~ qr{Ó÷eáíûé Öeíòp "ÊÀÄÐÛ ÄÅËÎÂÎÃΠÌÈÐÀ" ïpèãëaøaeò ía òpeíèíã:},
-"Content matches drugim in codepage 1251" );
-                 }';
-}
-
-# }}}
-
-# {{{ test a message containing a russian subject and NO content type
-
-unshift (@RT::EmailInputEncodings, 'koi8-r');
-$RT::EmailOutputEncoding = 'koi8-r';
-my $content =  `cat /opt/rt3/lib/t/data/russian-subject-no-content-type` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_plain_russian_redef_sendmessage;
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /text\/plain/, "We recorded the content type right");
-ok ($tick->Transactions->First->Attachments->Count ==1 , "Has one attachment, presumably a text-plain");
-is ($tick->Subject, "\x{442}\x{435}\x{441}\x{442} \x{442}\x{435}\x{441}\x{442}", "Recorded the subject right");
-sub text_plain_russian_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                is ($MIME->head->mime_type , "text/plain", "The only part is text/plain ");
-                 my $subject  = $MIME->head->get("subject");
-                chomp($subject);
-                #is( $subject ,      /^=\?KOI8-R\?B\?W2V4YW1wbGUuY39tICM3XSDUxdPUINTF09Q=\?=/ , "The $subject is encoded correctly");
-               };
-                 ';
-}
-
-shift @RT::EmailInputEncodings;
-$RT::EmailOutputEncoding = 'utf-8';
-# }}}
-
-
-# {{{ test a message containing a nested RFC 822 message
-
-my $content =  `cat /opt/rt3/lib/t/data/nested-rfc-822` || die "couldn't find new content";
-ok ($content, "Loaded nested-rfc-822 to test");
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_plain_nested_redef_sendmessage;
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-is ($tick->Subject, "[Jonas Liljegren] Re: [Para] Niv\x{e5}er?");
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /multipart\/mixed/, "We recorded the content type right");
-is ($tick->Transactions->First->Attachments->Count , 5 , "Has one attachment, presumably a text-plain and a message RFC 822 and another plain");
-sub text_plain_nested_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                is ($MIME->head->mime_type , "multipart/mixed", "It is a mixed multipart");
-                 my $subject  =  $MIME->head->get("subject");
-                 $subject  = MIME::Base64::decode_base64( $subject);
-                chomp($subject);
-               # TODO, why does this test fail
-                #ok($subject =~ qr{Niv\x{e5}er}, "The subject matches the word - $subject");
-               1;
-                 }';
-}
-
-# }}}
-
-
-# {{{ test a multipart alternative containing a uuencoded mesage generated by lotus notes
-
-my $content =  `cat /opt/rt3/lib/t/data/notes-uuencoded` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&notes_redef_sendmessage;
-
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /from Lotus Notes/, "We recorded the content right");
-is ($tick->Transactions->First->Attachments->Count , 3 , "Has three attachments");
-
-sub notes_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { }';
-}
-
-# }}}
-
-# {{{ test a multipart that crashes the file-based mime-parser works
-
-my $content =  `cat /opt/rt3/lib/t/data/crashes-file-based-parser` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&crashes_redef_sendmessage;
-
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /FYI/, "We recorded the content right");
-is ($tick->Transactions->First->Attachments->Count , 5 , "Has three attachments");
-
-sub crashes_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { }';
-}
-
-
-
-# }}}
-
-# Don't taint the environment
-$everyone->PrincipalObj->RevokeRight(Right =>'SuperUser');
-1;
diff --git a/rt/lib/t/create_data.pl b/rt/lib/t/create_data.pl
deleted file mode 100644 (file)
index 35226ea..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-#!@PERL@ -w
-use strict;
-
-use Test::More qw/no_plan/;
-use Text::Lorem;
-use RT;
-RT::LoadConfig;
-RT::Init;
-
-#### Generate some number of RT accounts.  Come up with random
-#### usernames if requested, otherwise use provided ones.  Take
-#### $subdomain argument so that we can generate customer accounts,
-#### etc.  Group memberships should also be provided.
-
-=head2 create_users
-
-=over 4
-
-This subroutine creates a number of RT users, if they don't already
-exist, and places them in the specified group.  It also creates the
-group if it needs to.  Returns a ref to a list containing the user
-objects.
-
-If a list of names is specified, users with those names are created.
-Otherwise, it will make names up, checking to be sure that a user with
-the random name does not yet exist.  Each user will have an email
-address in "example.com".
-
-Takes a hash of the following arguments:
-number => How many users to create.  Default is 1.
-names => A ref to a list of usernames to use.  Optional.
-subdomain => The subdomain of example.com which should be used for
-    email addresses.
-group => The name of the group these users should belong to.  Creates
-    the group if it does not yet exist.
-privileged => Whether the users should be able to be granted rights.
-    Default is 1.
-attributes => a ref to a list of hashrefs containing the arguments for 
-    any unsupported attribute we should add to the user (for example, a 
-    user saved search.)
-
-=back
-
-=cut
-
-sub create_users {
-    my %ARGS = (number => 1,
-               subdomain => undef,
-               privileged => 1,
-               @_);
-    my $lorem = Text::Lorem->new();
-    my @users_returned;
-
-    my @usernames;
-    my $anon;
-    if ($ARGS{'users'}) {
-       @usernames = @{$ARGS{'users'}};
-       $anon = 0;
-    } else {
-       @usernames = split(/\s+/, $lorem->words($ARGS{'number'}));
-       $anon = 1;
-    }
-
-    my $domain = 'example.com';
-    $domain = $ARGS{'subdomain'} . ".$domain" if $ARGS{'subdomain'};
-
-    foreach my $user (@usernames) {
-       my $user_obj = RT::User->new($RT::SystemUser);
-       $user_obj->Load($user);
-       if ($user_obj->Id() && !$anon) {
-           # Use this user; assume we know what we're doing.  Don't
-           # modify it, other than adding it to any group specified.
-           push(@users_returned, $user_obj);
-       } elsif ($user_obj->Id()) {
-           # Oops.  Get a different username and stick it on the back
-           # of the list.
-           append(@users, $lorem->words(1));
-       } else {
-           $user_obj->Create(Name => $user,
-                             Password => $user."pass",
-                             EmailAddress => $user.'@'.$domain,
-                             RealName => "$user ipsum",
-                             Privileged => $ARGS{'privileged'},
-                             );
-           push(@users_returned, $user_obj);
-       }
-    }
-
-    # Now we have our list of users.  Did we have groups to add them
-    # to?
-
-    if ($ARGS{'groups'}) {
-       my @groups = @{$ARGS{'groups'}};
-       foreach my $group (@groups) {
-           my $group_obj = RT::Group->new();
-           $group_obj->LoadUserDefinedGroup($group);
-           unless ($group_obj->Id()) {
-               # Create it.
-               $group_obj->CreateUserDefinedGroup(
-                               Name => $group,
-                               Description => "lorem defined group $group",
-                                                  );
-           }
-           foreach (@users_returned) {
-               $group_obj->AddMember($_->Id);
-           }
-       }
-    }
-
-    # Do we have attributes to apply to the users?
-    if ($ARGS{'attributes'}) {
-       foreach my $attrib (@{$ARGS{'attributes'}}) {
-           my %attr_args = %{$attrib};
-           foreach (@users_returned) {
-               $_->AddAttribute(%attr_args);
-           }
-       }
-    }
-
-    # Return our list of users.
-    return \@users_returned;
-}
-
-#### Generate any RT groups.  These ought to be named, by function.
-#### The group names should be given either as part of user creation,
-#### or as a name with a number of subgroups which should be members.
-
-
-#### Generate some queues.  Users/groups who have permissions on
-#### queues need to be specified on this point.  Permissions can be
-#### specified by role, e.g. "client" or "staffmember" or "admin" for
-#### each queue.  If the queue should have anything special like a
-#### custom field, say so here.
-
-
-#### Generate some tickets and transactions.
diff --git a/rt/lib/t/data/8859-15-message-series/dir b/rt/lib/t/data/8859-15-message-series/dir
deleted file mode 100644 (file)
index b9f8ec3..0000000
+++ /dev/null
@@ -1,356 +0,0 @@
-Return-Path: <rt-users-admin@lists.fsck.com>
-Delivered-To: j@pallas.eruditorum.org
-Received: from pallas.eruditorum.org (localhost [127.0.0.1])
-       by pallas.eruditorum.org (Postfix) with ESMTP
-       id 72E3A111B3; Mon, 26 May 2003 14:50:14 -0400 (EDT)
-Delivered-To: rt-users@pallas.eruditorum.org
-Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42])
-       by pallas.eruditorum.org (Postfix) with ESMTP id 15E761118D
-       for <rt-users@lists.fsck.com>; Mon, 26 May 2003 14:49:56 -0400 (EDT)
-Received: from otdial-212-144-012-186.arcor-ip.net (otdial-212-144-011-024.arcor-ip.net [212.144.11.24])
-       by mail-in-02.arcor-online.net (Postfix) with ESMTP
-       id 745EE15E87; Mon, 26 May 2003 20:53:15 +0200 (CEST)
-From: Dirk Pape <pape-rt@inf.fu-berlin.de>
-To: Jesse Vincent <jesse@bestpractical.com>,
-       rt-users <rt-users@lists.fsck.com>
-Subject: Re: [rt-users] [rt-announce] Development Snapshot 3.0.2++
-Message-ID: <2147483647.1053982235@otdial-212-144-011-024.arcor-ip.net>
-In-Reply-To: <2147483647.1053974498@[10.0.255.35]>
-References: <20030523202405.GF23719@fsck.com>
- <2147483647.1053974498@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-MIME-Version: 1.0
-Content-Type: multipart/mixed; boundary="==========2147500486=========="
-Sender: rt-users-admin@lists.fsck.com
-Errors-To: rt-users-admin@lists.fsck.com
-X-BeenThere: rt-users@lists.fsck.com
-X-Mailman-Version: 2.0.12
-Precedence: bulk
-List-Help: <mailto:rt-users-request@lists.fsck.com?subject=help>
-List-Post: <mailto:rt-users@lists.fsck.com>
-List-Subscribe: <http://lists.fsck.com/mailman/listinfo/rt-users>,
-       <mailto:rt-users-request@lists.fsck.com?subject=subscribe>
-List-Id: For users of RT: Request Tracker <rt-users.lists.fsck.com>
-List-Unsubscribe: <http://lists.fsck.com/mailman/listinfo/rt-users>,
-       <mailto:rt-users-request@lists.fsck.com?subject=unsubscribe>
-List-Archive: <http://lists.fsck.com/pipermail/rt-users/>
-Date: Mon, 26 May 2003 20:50:36 +0200
-X-Spam-Status: No, hits=-2.5 required=5.0
-       tests=AWL,IN_REP_TO,KNOWN_MAILING_LIST,QUOTED_EMAIL_TEXT,
-             REFERENCES,REPLY_WITH_QUOTES
-       autolearn=ham version=2.55
-X-Spam-Level: 
-X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
-
---==========2147500486==========
-Content-Type: text/plain; charset=us-ascii; format=flowed
-Content-Transfer-Encoding: 7bit
-Content-Disposition: inline
-
-Hello,
-
-here is the digest I forgot to attach. And I also forgot to say, that these 
-were the only messages after a restart of apache.
-
-The messages in the digest are the copies which I - for testing purpose - 
-allways queue into a mailbox just befor it is queued via rt-mailgate into 
-the rt-system.
-
---Am Montag, 26. Mai 2003 18:41 Uhr +0200 schrieb Dirk Pape 
-<pape-rt@inf.fu-berlin.de>:
-
-> I attach a digest with mails I send one after another to the rt-system
-> and they get queued into one queue, each as a new ticket.
-
-
-
-
---==========2147500486==========
-Content-Type: multipart/digest; boundary="==========2147489407=========="
-
---==========2147489407==========
-Content-Type: message/rfc822; name="test _________"
-
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 27591 invoked by uid 9804); 26 May 2003 18:10:50 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:10:46 +0200
-Received: (Qmail 27575 invoked from network); 26 May 2003 18:10:46 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:10:46 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKYe-0000Yi-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:10:44 +0200
-Received: (qmail 27557 invoked by uid 9804); 26 May 2003 18:10:44 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:10:40 +0200
-Received: (Qmail 27540 invoked from network); 26 May 2003 18:10:40 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:10:40 +0200
-Date: Mon, 26 May 2003 18:11:00 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972660@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [27578] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
---==========2147489407==========
-Content-Type: message/rfc822; name="test _________"
-
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 27754 invoked by uid 9804); 26 May 2003 18:11:24 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:20 +0200
-Received: (Qmail 27704 invoked from network); 26 May 2003 18:11:19 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:19 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKZA-0000Yy-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:11:16 +0200
-Received: (qmail 27690 invoked by uid 9804); 26 May 2003 18:11:16 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:13 +0200
-Received: (Qmail 27677 invoked from network); 26 May 2003 18:11:13 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:13 +0200
-Date: Mon, 26 May 2003 18:11:32 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972692@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [27711] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
---==========2147489407==========
-Content-Type: message/rfc822; name="test _________"
-
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 27971 invoked by uid 9804); 26 May 2003 18:12:02 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:52 +0200
-Received: (Qmail 27908 invoked from network); 26 May 2003 18:11:52 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:52 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKZj-0000ZC-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:11:51 +0200
-Received: (qmail 27848 invoked by uid 9804); 26 May 2003 18:11:50 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:46 +0200
-Received: (Qmail 27809 invoked from network); 26 May 2003 18:11:45 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:45 +0200
-Date: Mon, 26 May 2003 18:12:05 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972725@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [27911] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
---==========2147489407==========
-Content-Type: message/rfc822; name="test _________"
-
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 28283 invoked by uid 9804); 26 May 2003 18:12:39 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:12:36 +0200
-Received: (Qmail 28256 invoked from network); 26 May 2003 18:12:35 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:12:35 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKaQ-0000ZQ-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:12:34 +0200
-Received: (qmail 28236 invoked by uid 9804); 26 May 2003 18:12:34 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:12:30 +0200
-Received: (Qmail 28224 invoked from network); 26 May 2003 18:12:30 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:12:30 +0200
-Date: Mon, 26 May 2003 18:12:50 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972770@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [28259] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
---==========2147489407==========
-Content-Type: message/rfc822; name="test _________"
-
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 28578 invoked by uid 9804); 26 May 2003 18:13:20 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:13:15 +0200
-Received: (Qmail 28534 invoked from network); 26 May 2003 18:13:14 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:13:14 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKb1-0000Ze-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:13:11 +0200
-Received: (qmail 28516 invoked by uid 9804); 26 May 2003 18:13:11 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:13:08 +0200
-Received: (Qmail 28479 invoked from network); 26 May 2003 18:13:07 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:13:07 +0200
-Date: Mon, 26 May 2003 18:13:27 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972807@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [28540] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
-
---==========2147489407==========
-Content-Type: message/rfc822; name="test _________"
-
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 29108 invoked by uid 9804); 26 May 2003 18:14:15 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:14:10 +0200
-Received: (Qmail 29066 invoked from network); 26 May 2003 18:14:10 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:14:10 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKbw-0000Zr-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:14:08 +0200
-Received: (qmail 29054 invoked by uid 9804); 26 May 2003 18:14:08 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:14:04 +0200
-Received: (Qmail 29036 invoked from network); 26 May 2003 18:14:04 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:14:04 +0200
-Date: Mon, 26 May 2003 18:14:24 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972864@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [29069] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
---==========2147489407==========
-Content-Type: message/rfc822; name="test _________"
-
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 29551 invoked by uid 9804); 26 May 2003 18:15:16 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:15:12 +0200
-Received: (Qmail 29521 invoked from network); 26 May 2003 18:15:12 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:15:12 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKcx-0000a4-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:15:11 +0200
-Received: (qmail 29511 invoked by uid 9804); 26 May 2003 18:15:10 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:15:07 +0200
-Received: (Qmail 29465 invoked from network); 26 May 2003 18:15:06 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:15:06 +0200
-Date: Mon, 26 May 2003 18:15:26 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972926@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [29524] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
-
---==========2147489407==========--
-
---==========2147500486==========--
-
-_______________________________________________
-rt-users mailing list
-rt-users@lists.fsck.com
-http://lists.fsck.com/mailman/listinfo/rt-users
-
-Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
-
diff --git a/rt/lib/t/data/8859-15-message-series/msg1 b/rt/lib/t/data/8859-15-message-series/msg1
deleted file mode 100644 (file)
index cc99c40..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 27591 invoked by uid 9804); 26 May 2003 18:10:50 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:10:46 +0200
-Received: (Qmail 27575 invoked from network); 26 May 2003 18:10:46 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:10:46 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKYe-0000Yi-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:10:44 +0200
-Received: (qmail 27557 invoked by uid 9804); 26 May 2003 18:10:44 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:10:40 +0200
-Received: (Qmail 27540 invoked from network); 26 May 2003 18:10:40 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:10:40 +0200
-Date: Mon, 26 May 2003 18:11:00 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972660@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [27578] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
diff --git a/rt/lib/t/data/8859-15-message-series/msg2 b/rt/lib/t/data/8859-15-message-series/msg2
deleted file mode 100644 (file)
index dc442cf..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 27754 invoked by uid 9804); 26 May 2003 18:11:24 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:20 +0200
-Received: (Qmail 27704 invoked from network); 26 May 2003 18:11:19 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:19 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKZA-0000Yy-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:11:16 +0200
-Received: (qmail 27690 invoked by uid 9804); 26 May 2003 18:11:16 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:13 +0200
-Received: (Qmail 27677 invoked from network); 26 May 2003 18:11:13 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:13 +0200
-Date: Mon, 26 May 2003 18:11:32 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972692@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [27711] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
diff --git a/rt/lib/t/data/8859-15-message-series/msg3 b/rt/lib/t/data/8859-15-message-series/msg3
deleted file mode 100644 (file)
index e23866d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 27971 invoked by uid 9804); 26 May 2003 18:12:02 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:52 +0200
-Received: (Qmail 27908 invoked from network); 26 May 2003 18:11:52 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:52 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKZj-0000ZC-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:11:51 +0200
-Received: (qmail 27848 invoked by uid 9804); 26 May 2003 18:11:50 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:11:46 +0200
-Received: (Qmail 27809 invoked from network); 26 May 2003 18:11:45 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:11:45 +0200
-Date: Mon, 26 May 2003 18:12:05 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972725@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [27911] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
diff --git a/rt/lib/t/data/8859-15-message-series/msg4 b/rt/lib/t/data/8859-15-message-series/msg4
deleted file mode 100644 (file)
index 831695c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 28283 invoked by uid 9804); 26 May 2003 18:12:39 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:12:36 +0200
-Received: (Qmail 28256 invoked from network); 26 May 2003 18:12:35 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:12:35 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKaQ-0000ZQ-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:12:34 +0200
-Received: (qmail 28236 invoked by uid 9804); 26 May 2003 18:12:34 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:12:30 +0200
-Received: (Qmail 28224 invoked from network); 26 May 2003 18:12:30 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:12:30 +0200
-Date: Mon, 26 May 2003 18:12:50 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972770@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [28259] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
diff --git a/rt/lib/t/data/8859-15-message-series/msg5 b/rt/lib/t/data/8859-15-message-series/msg5
deleted file mode 100644 (file)
index 272c93c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 28578 invoked by uid 9804); 26 May 2003 18:13:20 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:13:15 +0200
-Received: (Qmail 28534 invoked from network); 26 May 2003 18:13:14 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:13:14 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKb1-0000Ze-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:13:11 +0200
-Received: (qmail 28516 invoked by uid 9804); 26 May 2003 18:13:11 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:13:08 +0200
-Received: (Qmail 28479 invoked from network); 26 May 2003 18:13:07 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:13:07 +0200
-Date: Mon, 26 May 2003 18:13:27 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972807@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [28540] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
diff --git a/rt/lib/t/data/8859-15-message-series/msg6 b/rt/lib/t/data/8859-15-message-series/msg6
deleted file mode 100644 (file)
index 3ae9d3b..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 29108 invoked by uid 9804); 26 May 2003 18:14:15 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:14:10 +0200
-Received: (Qmail 29066 invoked from network); 26 May 2003 18:14:10 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:14:10 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKbw-0000Zr-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:14:08 +0200
-Received: (qmail 29054 invoked by uid 9804); 26 May 2003 18:14:08 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:14:04 +0200
-Received: (Qmail 29036 invoked from network); 26 May 2003 18:14:04 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:14:04 +0200
-Date: Mon, 26 May 2003 18:14:24 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972864@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [29069] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
diff --git a/rt/lib/t/data/8859-15-message-series/msg7 b/rt/lib/t/data/8859-15-message-series/msg7
deleted file mode 100644 (file)
index 6149dd6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-Return-Path: <pape@inf.fu-berlin.de>
-Delivered-To: pape-rtdoublecheck@mi.fu-berlin.de
-Received: (qmail 29551 invoked by uid 9804); 26 May 2003 18:15:16 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:15:12 +0200
-Received: (Qmail 29521 invoked from network); 26 May 2003 18:15:12 +0200
-Received: From es.inf.fu-berlin.de (160.45.110.22)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:15:12 +0200
-Received: from leibniz ([160.45.40.10] helo=math.fu-berlin.de)
-       by es.inf.fu-berlin.de with smtp (Exim 3.35 #1 (Debian))
-       id 19KKcx-0000a4-00
-       for <staff@tec.mi.fu-berlin.de>; Mon, 26 May 2003 18:15:11 +0200
-Received: (qmail 29511 invoked by uid 9804); 26 May 2003 18:15:10 +0200
-Received: from localhost (HELO math.fu-berlin.de) (127.0.0.1)
-  by localhost with SMTP; 26 May 2003 18:15:07 +0200
-Received: (Qmail 29465 invoked from network); 26 May 2003 18:15:06 +0200
-Received: From eremix.inf.fu-berlin.de (HELO eremix) (160.45.113.36)
-  by leibniz.math.fu-berlin.de with SMTP; 26 May 2003 18:15:06 +0200
-Date: Mon, 26 May 2003 18:15:26 +0200
-From: Dirk Pape <pape@inf.fu-berlin.de>
-To: staff@tec.mi.fu-berlin.de
-Subject: =?ISO-8859-15?Q?test_=E4=F6=FC=DF=C4=D6=DC=DF=A4?=
-Message-ID: <2147483647.1053972926@[10.0.255.35]>
-X-Mailer: Mulberry/3.0.3 (Mac OS X)
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Envelope-Sender: pape@inf.fu-berlin.de
-X-Virus-Scanned: by AMaViS 0.3.12pre7-U23 [29524] (NAI-uvscan@math.fu-berlin.de)
-X-Remote-IP: 160.45.110.22
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-15; FORMAT=flowed
-Content-Transfer-Encoding: quoted-printable
-Content-Disposition: inline
-
-test nochmal in anderer Queue
-test =E4=F6=FC=DF=C4=D6=DC=DF=A4
-
diff --git a/rt/lib/t/data/crashes-file-based-parser b/rt/lib/t/data/crashes-file-based-parser
deleted file mode 100644 (file)
index da1913e..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-X-Real-To: <mitya@example.com>
-Received: from [194.87.5.31] (HELO sinbin.d-s.example.com)
-  by cgp.example.com (CommuniGate Pro SMTP 4.0.6/D4)
-  with ESMTP-TLS id 125035761 for mitya@example.com; Thu, 11 Dec 2003 15:17:46 +0300
-Received: (from daemon@localhost)
-       by sinbin.d-s.example.com (8.12.9p1/8.11.6) id hBBCHjN0031595
-       for mitya@example.com; Thu, 11 Dec 2003 15:17:45 +0300 (MSK)
-       (envelope-from noc@rt3.mx.example.com)
-Received: from d-s.example.com by sinbin.d-s.example.com with ESMTP id hBBCHjar031575;
-       (8.12.9p2/D) Thu, 11 Dec 2003 15:17:45 +0300 (MSK)
-X-Real-To: <mitya@example.com>
-Sender: <noc@rt3.mx.example.com> (Network Operation Center)
-To: mitya@example.com
-Date: Thu, 11 Dec 2003 15:17:45 +0300
-Message-ID: <redirect-137509289@d-s.example.com>
-X-Original-Return-Path: <vox19@b92.d-s.example.com>
-Received: from [194.87.0.16] (HELO mail.d-s.example.com)
-  by d-s.example.com (CommuniGate Pro SMTP 4.1.5/D1)
-  with ESMTP id 120757484 for noc@rt3.mx.example.com; Mon, 27 Oct 2003 09:40:53 +0300
-Received: from [194.87.0.22] (HELO moscvax.d-s.example.com)
-  by mail.d-s.example.com (CommuniGate Pro SMTP 4.1.5/D)
-  with ESMTP-TLS id 107945800 for noc@rt3.mx.example.com; Mon, 27 Oct 2003 09:40:53 +0300
-Received: from d-s.example.com (mx.d-s.example.com [194.87.0.32])
-       by moscvax.d-s.example.com (8.12.9/8.12.9) with ESMTP id h9R6erFm062621
-       for <security@d.example.com>; Mon, 27 Oct 2003 09:40:53 +0300 (MSK)
-       (envelope-from vox19@b92.d-s.example.com)
-Received: by d-s.example.com (CommuniGate Pro PIPE 4.1.5/D1)
-  with PIPE id 120757490; Mon, 27 Oct 2003 09:40:53 +0300
-Received: from [194.87.2.108] (HELO b92.d-s.example.com)
-  by d-s.example.com (CommuniGate Pro SMTP 4.1.5/D1)
-  with ESMTP-TLS id 120757480 for security@d.example.com; Mon, 27 Oct 2003 09:40:52 +0300
-Received: from b92.d-s.example.com (localhost [127.0.0.1])
-       by b92.d-s.example.com (8.12.8p1/8.12.3) with ESMTP id h9R6eqIe014669
-       for <security@d.example.com>; Mon, 27 Oct 2003 09:40:52 +0300 (MSK)
-       (envelope-from vox19@b92.d-s.example.com)
-Received: from localhost (localhost [[UNIX: localhost]])
-       by b92.d-s.example.com (8.12.8p1/8.12.3/Submit) id h9R6epst014668
-       for security@d.example.com; Mon, 27 Oct 2003 09:40:51 +0300 (MSK)
-From: "Stanislav" <drstas@d.example.com>
-Subject: Fwd: scanning my ports
-X-Original-Date: Mon, 27 Oct 2003 10:40:51 +0400
-User-Agent: KMail/1.5.4
-X-Original-To: security@d.example.com
-MIME-Version: 1.0
-Content-Type: Multipart/Mixed;
-  boundary="Boundary-00=_z3Ln/tUeUBipHgx"
-X-Original-Message-Id: <200310270940.51758.vox19@d.example.com>
-X-Spam-Checker-Version: SpamAssassin 2.60-jumbo.demos (1.212-2003-09-23-exp)
-X-Spam-Level: 
-X-Spam-Status: No, hits=-6.8 required=5.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
-       HTML_MESSAGE,SUBJECT_RT autolearn=ham version=2.60-jumbo.demos
-X-Spam-Report: -6.8 points, 5.0 required;
-       * -3.0 SUBJECT_RT Tracking system
-       *  1.0 FROM_ENDS_IN_NUMS From: ends in numbers
-       *  0.1 HTML_MESSAGE BODY: HTML included in message
-       * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
-       *      [score: 0.0000]
-
-
---Boundary-00=_z3Ln/tUeUBipHgx
-Content-Type: text/plain;
-  charset="koi8-r"
-Content-Transfer-Encoding: 7bit
-Content-Disposition: inline
-
-
-FYI
-
-
-----------  Forwarded Message  ----------
-
-Subject: [DEMOS #12148] scanning my ports
-Date: Sunday 26 October 2003 20:19
-From: 1stwizard@isp.example.com
-To: no-reply@d-r.example.com
-
-This transaction appears to have no content
-
--------------------------------------------------------
-
-
-
--- 
-best wishes,
-
-Stanislav A. Mushkat                   
-http://www.di.example.com
-
---Boundary-00=_z3Ln/tUeUBipHgx
-Content-Type: text/plain;
-  charset="iso-8859-1";
-  name=" "
-Content-Transfer-Encoding: 7bit
-Content-Disposition: inline
-
-Somebody at IP 127.0.0.1 scanned my ports. 
---Boundary-00=_z3Ln/tUeUBipHgx
-Content-Type: text/html;
-  charset="iso-8859-1";
-  name=" "
-Content-Transfer-Encoding: 7bit
-Content-Disposition: inline
-
-<HTML><HEAD>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="IncrediMail 1.0" name=GENERATOR>
-<!--IncrdiXMLRemarkStart>
-<IncrdiX-Info>
-<X-FID>BA285063-5BCE-11D4-AF8D-0050DAC67E11</X-FID>
-<X-FVER>2.0</X-FVER>
-<X-FIT>Letter</X-FIT>
-<X-FCOL>Elegant Paper</X-FCOL>
-<X-FCAT>Stationery</X-FCAT>
-<X-FDIS>Rice Fields</X-FDIS>
-<X-Extensions>SU1CTDEsNDEsgUmBSTAkkcGNgZmVTY0wNCxNhYUoiU0kOMEoTYGBjYEoJDSZnSyFhUksSU1CTDIsMCwsSU1CTDMsMCwsVHlwZVZlcnNpb24sMywxLjAs</X-Extensions>
-<X-BG>8E549F43-079D-11D8-B0F9-00B0D0B65B96</X-BG>
-<X-BGT>repeat</X-BGT>
-<X-BGC>#eff3f7</X-BGC>
-<X-BGPX>left</X-BGPX>
-<X-BGPY>0px</X-BGPY>
-<X-ASN>ANIM3D00-NONE-0000-0000-000000000000</X-ASN>
-<X-ASNF>0</X-ASNF>
-<X-ASH>ANIM3D00-NONE-0000-0000-000000000000</X-ASH>
-<X-ASHF>1</X-ASHF>
-<X-AN>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AN>
-<X-ANF>0</X-ANF>
-<X-AP>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AP>
-<X-APF>1</X-APF>
-<X-AD>C3C52140-4147-11D4-BA3D-0050DAC68030</X-AD>
-<X-ADF>0</X-ADF>
-<X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO>
-<X-CNT>;</X-CNT>
-</IncrdiX-Info>
-<IncrdiXMLRemarkEnd-->
-</HEAD>
-<BODY style="BACKGROUND-POSITION: left 0px; FONT-SIZE: 12pt; MARGIN: 0px 10px 10px; COLOR: #00005b; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Arial" text=#00005b bgColor=#eff3f7 background=cid:8E549F43-079D-11D8-B0F9-00B0D0B65B96 scroll=yes SIGCOLOR="0" X-ADF="0" X-AD="C3C52140-4147-11D4-BA3D-0050DAC68030" X-APF="1" X-AP="6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X-ANF="0" X-AN="6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X-ASHF="1" X-ASH="ANIM3D00-NONE-0000-0000-000000000000" X-ASNF="0" X-ASN="ANIM3D00-NONE-0000-0000-000000000000" X-FVER="2.0" X-FID="BA285063-5BCE-11D4-AF8D-0050DAC67E11" X-FIT="Letter" X-FCOL="Elegant Paper" X-FCAT="Elegant Paper" X-FDIS="Rice Fields" ORGYPOS="0">
-<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
-<TBODY>
-<TR>
-<TD id=INCREDITEXTREGION style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12pt; PADDING-BOTTOM: 0px; CURSOR: auto; PADDING-TOP: 0px" vAlign=top width="100%">
-<DIV>Somebody at IP 127.0.0.1 scanned my ports. </DIV>
-<DIV>&nbsp;</DIV>
-<DIV>&nbsp;</DIV></TD></TR>
-<TR>
-<TD id=INCREDIFOOTER width="100%">
-<TABLE cellSpacing=0 cellPadding=0 width="100%">
-<TBODY>
-<TR>
-<TD width="100%"></TD>
-<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
-<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
---Boundary-00=_z3Ln/tUeUBipHgx
-Content-Type: image/jpeg;
-  charset="iso-8859-1";
-  name="BackGrnd.jpg"
-Content-Transfer-Encoding: base64
-Content-Disposition: inline; filename="BackGrnd.jpg"
-
-/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4AIUFk
-b2JlAGTAAAAAAQMAEAMCAwYAAAHbAAAC1gAABZX/2wCEABALCwsMCxAMDBAX
-Dw0PFxsUEBAUGx8XFxcXFx8eFxoaGhoXHh4jJSclIx4vLzMzLy9AQEBAQEBA
-QEBAQEBAQEABEQ8PERMRFRISFRQRFBEUGhQWFhQaJhoaHBoaJjAjHh4eHiMw
-Ky4nJycuKzU1MDA1NUBAP0BAQEBAQEBAQEBAQP/CABEIAGUAcwMBIgACEQED
-EQH/xACAAAEBAQEAAAAAAAAAAAAAAAAAAQIGAQEBAAAAAAAAAAAAAAAAAAAA
-ARABAAICAwEAAgMAAAAAAAAAAQARIQIxQRIiQDIQMFARAAICAgIBBAIDAQEA
-AAAAAAERACExQVFhcYGRobECEsHhMtHxEgEAAAAAAAAAAAAAAAAAAABQ/9oA
-DAMBAAIRAxEAAADtRZYE1ASghQFgUZoCkKSwLmhcllAEqkSkqFAlhUomoAS3
-IoJqFlDNpFEAQFE1AIVYAWIVKAJRNZpYCwVmmshKACA0CBAUCBYGwf/aAAgB
-AgABBQD8B/yP/9oACAEDAAEFAPz6/or8H//aAAgBAQABBQC2+ZeHjbD+saX6
-hwXeDW1Rg4xLLTa+m7ZiIEsI1MTiHP1dYpvFADiFM1/X6nq9byuwdPPz5oFo
-fWlEMQ9ULKrWq2ppG9Y2J6INQma9lVTRdlUKgHzXXSEECw1SYu5WsGoJPkis
-ZYpx31GvXZQ/JM3VwShzVTsp1EZbBI8LcaUSih86+s2Zl4Wp6+lAZnVsDkjd
-ku5m+lJTdXDG2SHM9M2wKX1YxsaZTTwmoVrYnqsMrM652yjs01K0mtbGAz6Y
-5dpfqNz06qpq5QNjiIjiZtbhtceNuf0jyeqGgu6rXMvI4omPWbPMYzEfMI+a
-xHnFvOP4/9oACAECAgY/AGP/2gAIAQMCBj8AY//aAAgBAQEGPwB72Yucb1Bf
-IhFEaeZ+xRXFQELN+HEUQdjU0Xn4g9gRCQcpw1yajGYsP/kFvUzvjUBWrIMF
-HI2OJQNEAjiEEFdTmfG/MTHq5RFOnpTV3kzCBx7x4YOD1AV5uYJvnqMA0hep
-jfwpYCwC4Bx3q55zeZRBCw9TkoIuHw78RdczSNH2mgqcLpRC+RASAkA3B13m
-cYd5mR84c/yOx4lWtRAZ6mGDhiP9WgXVyhWA+xDgMOWGMsTg/wBTz8SjjXrP
-8hHIlX1MZ6mDzgc/cIV/iyN1GBR0MQMKjnEzvvMz8mUkErKlfqU63iV+IKNH
-7mNZBLFQEpEDeDOV32IVn8WR4caoywqI2p695mbZzNUQIcKfk0bo+0NpCqn7
-CiQiNGXkdQen1DpjGeZ7WNw3pK+I93maCPc16+Zkf6XxMCsFwAkaiIB57vc/
-IAhZ/HqZBBbB0ZokAEOGxsYqBgPp8agQBu4VSMJdqx6SwDsGBrTmAR93uZGX
-6KePowEADAIjoX8gw459CICaW/MLGvodQfkDW71zBxRHtB3j3jC4PMIYoAgK
-NfPMCQNN7jCzvlzXPopzhQvNZY3CRya9ZrEFfRE0iCB5mscZuVYfKmAi94uE
-3Q8qfytQ7xD0svmFcmaxNPI8iMjh3pmF2HbzqeUi+YkiD/MrOl5LmbwPuWVf
-mXpv3hDH8qAjPpiZHXkRnSd6ZhB53mejzKV6US0K9TCCLyCeIhtETX5MsHBG
-JkD/ANiFkMCE2qGoCdZ8Q8AMGpYFqEhdhRIYH3CF3d1M/Mexma+4CwdQ2Ddc
-x0exAlmj04QUQd8QWLB/iB5GxmEg5TENVZqPYzFV8eHAy9T/AEc8a4n3Ov6g
-/VwvE6lpQ4VNysXzhS8esOO8w/rlF/rypjV3B5H1Knr8T//Z
-
---Boundary-00=_z3Ln/tUeUBipHgx--
-
diff --git a/rt/lib/t/data/multipart-alternative-with-umlaut b/rt/lib/t/data/multipart-alternative-with-umlaut
deleted file mode 100644 (file)
index 1ad4fe3..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-Return-Path: <gst@example.com>
-Delivered-To: j@pallas.eruditorum.org
-Received: from vis.example.com (vis.example.com [212.68.68.251])
-       by pallas.eruditorum.org (Postfix) with SMTP id 59236111C3
-       for <jesse@example.com>; Thu, 12 Jun 2003 02:14:44 -0400 (EDT)
-Received: (qmail 29541 invoked by uid 502); 12 Jun 2003 06:14:42 -0000
-Received: from sivd.example.com (HELO example.com) (192.168.42.1)
-  by 192.168.42.42 with SMTP; 12 Jun 2003 06:14:42 -0000
-Received: received from 172.20.72.174 by odie.example.com; Thu, 12 Jun 2003 08:14:27 +0200
-Received: by mailserver.example.com with Internet Mail Service (5.5.2653.19) id <LJSB7T54>; Thu, 12 Jun 2003 08:14:39 +0200
-Message-ID: <50362EC956CBD411A339009027F6257E013DD495@mailserver.example.com>
-Date: Thu, 12 Jun 2003 08:14:39 +0200
-From: "Stever, Gregor" <gst@example.com>
-MIME-Version: 1.0
-X-Mailer: Internet Mail Service (5.5.2653.19)
-To: "'jesse@example.com'" <jesse@example.com>
-Subject: RE: [rt-users] HTML-encoded mails with umlaute
-Date: Thu, 12 Jun 2003 08:14:39 +0200
-Content-Type: multipart/alternative;
-       boundary="----_=_NextPart_001_01C330A9.E7BDD590"
-X-Spam-Status: No, hits=0.0 required=5.0
-       tests=AWL,HTML_50_60,HTML_MESSAGE,INVALID_DATE
-       version=2.55
-X-Spam-Level: 
-X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
-
-------_=_NextPart_001_01C330A9.E7BDD590
-Content-Type: text/plain;
-       charset="iso-8859-1"
-Content-Transfer-Encoding: quoted-printable
-
-Hello,
-
-ist this kind of Messages, that causes rt to crash.=20
-
-Mit freundlichen Gr=FC=DFen
-Gregor Stever      ^^causes Error!!
-
-
-------_=_NextPart_001_01C330A9.E7BDD590
-Content-Type: text/html;
-       charset="iso-8859-1"
-Content-Transfer-Encoding: quoted-printable
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML><HEAD>
-<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
-1">
-
-
-<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
-<BODY>
-<DIV><FONT face=3DArial><FONT size=3D2>Hello,<BR><BR>ist this kind of Messa=
-ges, that=20
-causes rt to crash.<BR><BR>Mit freundlichen Gr=FC=DFen<BR>Gregor=20
-Stever&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^causes Error<SPAN=20
-class=3D975501206-12062003>!!</SPAN></FONT></FONT></DIV></BODY></HTML>
-
-
-------_=_NextPart_001_01C330A9.E7BDD590--
-
-
diff --git a/rt/lib/t/data/multipart-report b/rt/lib/t/data/multipart-report
deleted file mode 100644 (file)
index 538e0c8..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-Return-Path: <mailnull@example.com>
-Date: Sat, 23 Aug 2003 00:15:18 +0800 (SGT)
-From: Mail Delivery Subsystem <MAILER-DAEMON@other.example.com>
-Message-Id: <200308221615.CGA36111@mailbox.other.example.com>
-To: support@example.com
-MIME-Version: 1.0
-Content-Type: multipart/report; report-type=delivery-status;
-       boundary="CGA36111.1061568918/mailbox.other.example.com"
-Subject: Returned mail: User unknown
-Auto-Submitted: auto-generated (failure)
-
-This is a MIME-encapsulated message
-
---CGA36111.1061568918/mailbox.other.example.com
-
-The original message was received at Sat, 23 Aug 2003 00:15:18 +0800 (SGT)
-from mx12.mcis.other.example.com [10.1.1.232]
-
-   ----- The following addresses had permanent delivery errors -----
-<jesmund>
-
-
---CGA36111.1061568918/mailbox.other.example.com
-Content-Type: message/delivery-status
-
-Reporting-MTA: dns; mailbox.other.example.com
-Arrival-Date: Sat, 23 Aug 2003 00:15:18 +0800 (SGT)
-
-Final-Recipient: RFC822; jesmund@mailbox.other.example.com
-Action: failed
-Status: 5.1.1
-Remote-MTA: DNS; mail.mcis.other.example.com
-Diagnostic-Code: SMTP; 550 5.1.1 <jesmund>... User unknown
-Last-Attempt-Date: Sat, 23 Aug 2003 00:15:18 +0800 (SGT)
-
---CGA36111.1061568918/mailbox.other.example.com
-Content-Type: message/rfc822
-
-Return-Path: <support@example.com>
-Received: from mx12.other.example.com (mx12.mcis.other.example.com [10.1.1.232])
-       by mailbox.other.example.com (Mirapoint Messaging Server MOS 3.3.3-GR)
-       with ESMTP id CGA36101;
-       Sat, 23 Aug 2003 00:15:17 +0800 (SGT)
-Received: from STATION13 (rhala.dsl.pe.net [64.38.69.104])
-       by mx12.other.example.com (8.12.9/8.12.9) with ESMTP id h7MGFGac020135
-       for <jesmund@other.example.com>; Sat, 23 Aug 2003 00:15:17 +0800
-Message-Id: <200308221615.h7MGFGac020135@mx12.other.example.com>
-From: <support@example.com>
-To: <jesmund@other.example.com>
-Subject: Thank you!
-Date: Fri, 22 Aug 2003 9:15:19 --0700
-X-MailScanner: Found to be clean
-Importance: Normal
-X-Mailer: Microsoft Outlook Express 6.00.2600.0000
-X-MSMail-Priority: Normal
-X-Priority: 3 (Normal)
-MIME-Version: 1.0
-Content-Type: multipart/mixed;
-       boundary="_NextPart_000_05684DA4"
-
-
-
---_NextPart_000_05684DA4--
-
---CGA36111.1061568918/mailbox.other.example.com--
-
diff --git a/rt/lib/t/data/nested-mime-sample b/rt/lib/t/data/nested-mime-sample
deleted file mode 100644 (file)
index 8b85d94..0000000
+++ /dev/null
@@ -1,396 +0,0 @@
-Return-Path: <Xxxxxx_Yyyyyyy@some.net>
-Delivered-To: jesse@pallas.eruditorum.org
-Received: by pallas.eruditorum.org (Postfix)
-       id B5D3E1123A; Fri, 12 Jul 2002 11:35:27 -0400 (EDT)
-Delivered-To: rt-2.0-bugs@pallas.eruditorum.org
-Received: from postman.some.net (postman.some.net [193.0.0.199])
-       by pallas.eruditorum.org (Postfix) with SMTP id 2736011234
-       for <rt-2.0-bugs@fsck.com>; Fri, 12 Jul 2002 11:35:27 -0400 (EDT)
-Received: (qmail 11615 invoked by uid 0); 12 Jul 2002 15:35:26 -0000
-Received: from x22.some.net (HELO x22.some.net.some.net) (193.0.1.22)
-  by postman.some.net with SMTP; 12 Jul 2002 15:35:26 -0000
-Date: Fri, 12 Jul 2002 17:35:26 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-To: rt-0.0-bugs@fsck.com
-Subject: Example MIME within MIME within MIME message
-Message-ID: <Pine.LNX.4.44.0207121734250.25020-120000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: MULTIPART/MIXED; BOUNDARY="12654081-192303556-1026488126=:25020"
-X-Spam-Status: No, hits=4.0 required=7.0
-       tests=DOUBLE_CAPSWORD,MIME_NULL_BLOCK,MIME_MISSING_BOUNDARY
-       version=2.31
-Content-Length: 11478
-
-  This message is in MIME format.  The first part should be readable text,
-  while the remaining parts are likely unreadable without MIME-aware tools.
-  Send mail to mime@docserver.cac.washington.edu for more info.
-
---12654081-192303556-1026488126=:25020
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-MIME is fun at times.
-
-
--- 
-                             Xxxxxx Yyyyyyy                            SOME
-                   Systems/Network Engineer                             NCC
-                 www.some.net - PGP000C8B1B             Operations/Security
-
---12654081-192303556-1026488126=:25020
-Content-Type: MULTIPART/Digest; BOUNDARY="12654081-2102091261-1026488126=:25020"
-Content-ID: <Pine.LNX.4.44.0207121734322.25020@x22.some.net>
-Content-Description: Digest of 2 messages
-
-  This message is in MIME format.  The first part should be readable text,
-  while the remaining parts are likely unreadable without MIME-aware tools.
-  Send mail to mime@docserver.cac.washington.edu for more info.
-
---12654081-2102091261-1026488126=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121734320.25020@x22.some.net>
-Content-Description: first outer message (fwd)
-
-Date: Fri, 12 Jul 2002 17:32:37 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: first outer message
-Message-ID: <Pine.LNX.4.44.0207121732180.25020-120000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: MULTIPART/MIXED; BOUNDARY="12654081-113777422-1026487957=:25020"
-
-
---12654081-113777422-1026487957=:25020
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-first outer message
-
---12654081-113777422-1026487957=:25020
-Content-Type: MULTIPART/Digest; BOUNDARY="12654081-387266385-1026487957=:25020"
-Content-ID: <Pine.LNX.4.44.0207121732222.25020@x22.some.net>
-Content-Description: Digest of 2 messages
-
---12654081-387266385-1026487957=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121732220.25020@x22.some.net>
-Content-Description: middle message (fwd)
-
-Date: Fri, 12 Jul 2002 17:31:45 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: middle message
-Message-ID: <Pine.LNX.4.44.0207121731190.25020-120000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: MULTIPART/MIXED; BOUNDARY="12654081-1711788944-1026487905=:25020"
-
-
---12654081-1711788944-1026487905=:25020
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-This is the first middle message
-
-
---12654081-1711788944-1026487905=:25020
-Content-Type: MULTIPART/Digest; BOUNDARY="12654081-1221085552-1026487905=:25020"
-Content-ID: <Pine.LNX.4.44.0207121731262.25020@x22.some.net>
-Content-Description: Digest of 2 messages
-
---12654081-1221085552-1026487905=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731260.25020@x22.some.net>
-Content-Description: This is the inner-most message (fwd)
-
-Date: Fri, 12 Jul 2002 17:30:31 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: This is the inner-most message
-Message-ID: <Pine.LNX.4.44.0207121730070.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-inner-msg
-
-
-
---12654081-1221085552-1026487905=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731261.25020@x22.some.net>
-Content-Description: another inner message (need two before pine will do the mime-digest thing) (fwd)
-
-Date: Fri, 12 Jul 2002 17:31:12 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: another inner message (need two before pine will do the mime-digest
- thing)
-Message-ID: <Pine.LNX.4.44.0207121730480.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-again
-
-
-
---12654081-1221085552-1026487905=:25020--
---12654081-1711788944-1026487905=:25020--
-
---12654081-387266385-1026487957=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121732221.25020@x22.some.net>
-Content-Description: middle message (fwd)
-
-Date: Fri, 12 Jul 2002 17:32:05 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: middle message
-Message-ID: <Pine.LNX.4.44.0207121731470.25020-120000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: MULTIPART/MIXED; BOUNDARY="12654081-1731270459-1026487925=:25020"
-
-
---12654081-1731270459-1026487925=:25020
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-This is the second middle message
-
-
---12654081-1731270459-1026487925=:25020
-Content-Type: MULTIPART/Digest; BOUNDARY="12654081-128832654-1026487925=:25020"
-Content-ID: <Pine.LNX.4.44.0207121731502.25020@x22.some.net>
-Content-Description: Digest of 2 messages
-
---12654081-128832654-1026487925=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731500.25020@x22.some.net>
-Content-Description: This is the inner-most message (fwd)
-
-Date: Fri, 12 Jul 2002 17:30:31 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: This is the inner-most message
-Message-ID: <Pine.LNX.4.44.0207121730070.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-inner-msg
-
-
-
---12654081-128832654-1026487925=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731501.25020@x22.some.net>
-Content-Description: another inner message (need two before pine will do the mime-digest thing) (fwd)
-
-Date: Fri, 12 Jul 2002 17:31:12 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: another inner message (need two before pine will do the mime-digest
- thing)
-Message-ID: <Pine.LNX.4.44.0207121730480.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-again
-
-
-
---12654081-128832654-1026487925=:25020--
---12654081-1731270459-1026487925=:25020--
-
---12654081-387266385-1026487957=:25020--
---12654081-113777422-1026487957=:25020--
-
---12654081-2102091261-1026488126=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121734321.25020@x22.some.net>
-Content-Description: 2nd outer message (fwd)
-
-Date: Fri, 12 Jul 2002 17:32:54 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: 2nd outer message
-Message-ID: <Pine.LNX.4.44.0207121732380.25020-120000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: MULTIPART/MIXED; BOUNDARY="12654081-1955637437-1026487974=:25020"
-
-
---12654081-1955637437-1026487974=:25020
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-2nd outer message
-
-
---12654081-1955637437-1026487974=:25020
-Content-Type: MULTIPART/Digest; BOUNDARY="12654081-362457126-1026487974=:25020"
-Content-ID: <Pine.LNX.4.44.0207121732412.25020@x22.some.net>
-Content-Description: Digest of 2 messages
-
---12654081-362457126-1026487974=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121732410.25020@x22.some.net>
-Content-Description: middle message (fwd)
-
-Date: Fri, 12 Jul 2002 17:31:45 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: middle message
-Message-ID: <Pine.LNX.4.44.0207121731190.25020-120000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: MULTIPART/MIXED; BOUNDARY="12654081-1711788944-1026487905=:25020"
-
-
---12654081-1711788944-1026487905=:25020
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-This is the first middle message
-
-
---12654081-1711788944-1026487905=:25020
-Content-Type: MULTIPART/Digest; BOUNDARY="12654081-1221085552-1026487905=:25020"
-Content-ID: <Pine.LNX.4.44.0207121731262.25020@x22.some.net>
-Content-Description: Digest of 2 messages
-
---12654081-1221085552-1026487905=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731260.25020@x22.some.net>
-Content-Description: This is the inner-most message (fwd)
-
-Date: Fri, 12 Jul 2002 17:30:31 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: This is the inner-most message
-Message-ID: <Pine.LNX.4.44.0207121730070.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-inner-msg
-
-
-
---12654081-1221085552-1026487905=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731261.25020@x22.some.net>
-Content-Description: another inner message (need two before pine will do the mime-digest thing) (fwd)
-
-Date: Fri, 12 Jul 2002 17:31:12 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: another inner message (need two before pine will do the mime-digest
- thing)
-Message-ID: <Pine.LNX.4.44.0207121730480.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-again
-
-
-
---12654081-1221085552-1026487905=:25020--
---12654081-1711788944-1026487905=:25020--
-
---12654081-362457126-1026487974=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121732411.25020@x22.some.net>
-Content-Description: middle message (fwd)
-
-Date: Fri, 12 Jul 2002 17:32:05 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: middle message
-Message-ID: <Pine.LNX.4.44.0207121731470.25020-120000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: MULTIPART/MIXED; BOUNDARY="12654081-1731270459-1026487925=:25020"
-
-
---12654081-1731270459-1026487925=:25020
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-This is the second middle message
-
-
---12654081-1731270459-1026487925=:25020
-Content-Type: MULTIPART/Digest; BOUNDARY="12654081-128832654-1026487925=:25020"
-Content-ID: <Pine.LNX.4.44.0207121731502.25020@x22.some.net>
-Content-Description: Digest of 2 messages
-
---12654081-128832654-1026487925=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731500.25020@x22.some.net>
-Content-Description: This is the inner-most message (fwd)
-
-Date: Fri, 12 Jul 2002 17:30:31 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: This is the inner-most message
-Message-ID: <Pine.LNX.4.44.0207121730070.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-inner-msg
-
-
-
---12654081-128832654-1026487925=:25020
-Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
-Content-ID: <Pine.LNX.4.44.0207121731501.25020@x22.some.net>
-Content-Description: another inner message (need two before pine will do the mime-digest thing) (fwd)
-
-Date: Fri, 12 Jul 2002 17:31:12 +0200 (CEST)
-From: Xxxxxx Yyyyyyy <Xxxxxx_Yyyyyyy@some.net>
-X-X-Sender: bc@x22.some.net
-To: Xxxxxx_Yyyyyyy@some.net
-Subject: another inner message (need two before pine will do the mime-digest
- thing)
-Message-ID: <Pine.LNX.4.44.0207121730480.25020-100000@x22.some.net>
-MIME-Version: 1.0
-Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
-
-again
-
-
-
---12654081-128832654-1026487925=:25020--
---12654081-1731270459-1026487925=:25020--
-
---12654081-362457126-1026487974=:25020--
---12654081-1955637437-1026487974=:25020--
-
---12654081-2102091261-1026488126=:25020--
---12654081-192303556-1026488126=:25020--
-
diff --git a/rt/lib/t/data/nested-rfc-822 b/rt/lib/t/data/nested-rfc-822
deleted file mode 100644 (file)
index d4f118d..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-Return-Path: <jonas@astral.example.com>
-Delivered-To: j@pallas.eruditorum.org
-Received: from example.com (example.com [213.88.137.35])
-       by pallas.eruditorum.org (Postfix) with ESMTP id 869591115E
-       for <jesse@bestpractical.com>; Sun, 29 Jun 2003 18:04:04 -0400 (EDT)
-Received: from jonas by example.com with local (Exim 4.20)
-       id 19WkLK-0004Vr-0I
-       for jesse@bestpractical.com; Mon, 30 Jun 2003 00:08:18 +0200
-Resent-To: jesse@bestpractical.com
-Resent-From: Jonas Liljegren <jonas@example.com>
-Resent-Date: Mon, 30 Jun 2003 00:08:17 +0200
-Received: from mail by example.com with spam-scanned (Exim 4.20)
-       id 19Wayz-00068j-KO
-       for jonas@astral.example.com; Sun, 29 Jun 2003 14:08:42 +0200
-Received: from jonas by example.com with local (Exim 4.20)
-       id 19Wayz-00068g-FY
-       for red@example.com; Sun, 29 Jun 2003 14:08:37 +0200
-To: Redaktionen <red@example.com>
-Subject: [Jonas Liljegren] Re: [Para] =?iso-8859-1?q?Niv=E5er=3F?=
-From: Jonas Liljegren <jonas@example.com>
-Date: Sun, 29 Jun 2003 14:08:37 +0200
-Message-ID: <87d6gxt7ay.fsf@example.com>
-User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
-MIME-Version: 1.0
-Content-Type: multipart/mixed; boundary="=-=-="
-Sender: Jonas Liljegren <jonas@astral.example.com>
-Resent-Message-Id: <E19WkLK-0004Vr-0I@example.com>
-Resent-Sender: Jonas Liljegren <jonas@astral.example.com>
-Resent-Date: Mon, 30 Jun 2003 00:08:18 +0200
-X-Spam-Status: No, hits=-5.7 required=5.0
-       tests=AWL,BAYES_10,EMAIL_ATTRIBUTION,MAILTO_WITH_SUBJ,
-             QUOTED_EMAIL_TEXT,USER_AGENT_GNUS_UA
-       version=2.55
-X-Spam-Level: 
-X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
-
---=-=-=
-Content-Type: text/plain; charset=iso-8859-1
-Content-Transfer-Encoding: quoted-printable
-
-Material f=F6r att uppdatera texten om niv=E5er.
-
-Denna text b=F6r dessutom ligga som ett uppslagsord och inte d=E4r den ligg=
-er nu.
-
-
---=-=-=
-Content-Type: message/rfc822
-Content-Disposition: inline
-
-Return-path: <list-bounces@example.com>
-Received: from mail by example.com with spam-scanned (Exim 4.20)
-       id 19WFzq-0005i1-WE
-       for jonas@example.com; Sat, 28 Jun 2003 15:44:13 +0200
-Received: from localhost
-       ([127.0.0.1] helo=example.com ident=list)
-       by example.com with esmtp (Exim 4.20)
-       id 19WFzp-0005hf-Tz; Sat, 28 Jun 2003 15:44:05 +0200
-Received: from mail by example.com with spam-scanned (Exim 4.20)
-       id 19WFzh-0005hR-Bu
-       for list@example.com; Sat, 28 Jun 2003 15:44:03 +0200
-Received: from jonas by example.com with local (Exim 4.20)
-       id 19WFzh-0005hO-AO
-       for list@example.com; Sat, 28 Jun 2003 15:43:57 +0200
-To: list@example.com
-Subject: Re: [Para] =?iso-8859-1?q?Niv=E5er=3F?=
-References: <002701c33d62$170fb2e0$a33740d5@TELIA.COM>
-       <002301c33d66$bf6483e0$d97864d5@remotel2tu76c8>
-       <64753.217.210.4.156.1056801224.squirrel@example.com>
-From: Jonas Liljegren <jonas@example.com>
-Date: Sat, 28 Jun 2003 15:43:57 +0200
-In-Reply-To: <64753.217.210.4.156.1056801224.squirrel@example.com> (Jakob
-       Carlsson's message of "Sat, 28 Jun 2003 13:53:44 +0200 (CEST)")
-Message-ID: <877k76uxk2.fsf@example.com>
-User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
-X-BeenThere: list@example.com
-X-Mailman-Version: 2.1.2
-Precedence: list
-List-Id: &#214;ppen lista f&#246;r alla medlemmar  <list.example.com>
-List-Unsubscribe: <http://example.com/cgi-bin/mailman/listinfo/list>,
-       <mailto:list-request@example.com?subject=unsubscribe>
-List-Archive: <http://example.com/pipermail/list>
-List-Post: <mailto:list@example.com>
-List-Help: <mailto:list-request@example.com?subject=help>
-List-Subscribe: <http://example.com/cgi-bin/mailman/listinfo/list>,
-       <mailto:list-request@example.com?subject=subscribe>
-Sender: list-bounces@example.com
-Errors-To: list-bounces@example.com
-X-Spam-Status: No, hits=-7.0 required=5.0
-       tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
-             REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_GNUS_UA
-       version=2.55
-X-Spam-Level: 
-X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=iso-8859-1
-Content-Transfer-Encoding: quoted-printable
-
-"Jakob Carlsson" <esrange@example.com> writes:
-
->> Om du g=E5r in p=E5 Hemsidan och sen p=E5 Torget.
->> D=E4r ser du att det st=E5r ditt anv=E4ndarnamn och
->> bredvid det Niv=E5 5.
->> Klicka p=E5 niv=E5 5 s=E5 kommer du in p=E5 en sida som
->>  f=F6rklarar allt om niv=E5systemet.
->
-> Bra svar. Men jag k=E4nner f=F6r att ge en kort f=F6rklaring av niv=E5-sy=
-stemet.
-
-Jag skulle kunna l=E4gga en massa tid p=E5 at skriva samma sak om och om
-igen.  Fliker in h=E4r f=F6r att s=E4ga detta =E4nnu en g=E5ng...:
-
- * Det =E4r jag som hittat p=E5 det h=E4r med niv=E5system
-
- * Det =E4r en stor skillnad p=E5 hur det =E4r t=E4nkt att vara och hur det=
- =E4r
-   nu.  Jag har stora planer och en massa id=E9er jag vill genomf=F6ra.
-
- * Niv=E5systemet =E4r en =E5terkoppling f=F6r vad man gjort f=F6r webbplat=
-sen.
-   Som ett tack g=F6r hj=E4lpen.
-
- * Systemet finns som en inspiration f=F6r de som d=E5 k=E4nner f=F6r att g=
-=F6ra
-   mer.  Men jag vill inte att det ska ge en negativ influens f=F6r de
-   som inte gillar niv=E5er.  Var och en ska kunna v=E4lja att ignorera
-   niv=E5n.  Speciellt b=F6r de f=F6rst=E5 att det inte har att g=F6ra med
-   graden av andlig utveckling, esoteriska kunskaper eller n=E5got
-   s=E5dant.
-
- * Inspirationen till niv=E5erna kommer fr=E5n spel, hemliga ordenssystem,
-   kosmska hiearkier, skr=E5v=E4sen, akademier, politisk administration,
-   osv.  Det =E4r ett element av rollspel. En lek.
-
- * Olika niv=E5er motsvarar olika roller p=E5 webbplatsen.  Webbplatsen
-   webbmaster och ansvbariga har en viss niv=E5, bes=F6kare och g=E4ster har
-   en annan niv=E5.
-
- * Alla datorsystem har administrat=F6rssystem f=F6r dem som sk=F6ter
-   systemet.  Jag har valt att arrangera dessa funktioner i en skala.
-   Niv=E5n anger hur mycket av systemet du har r=E4tt att administrera.
-
- * Att ha ett niv=E5system f=F6r access g=F6r att man kan g=F6ra som p=E5 f=
-ilm;
-   att l=E5ta de med h=F6gre access komma =E5t mer information.  De med
-   riktigt h=F6g niv=E5 kan n=E5 topphemlig information.  P=E5 denna webbpl=
-ats
-   kan varje anv=E4ndae v=E4lja att h=E5lla vissa personliga uppgifter.  Har
-   du h=F6g niv=E5 har du rollen som anv=E4ndaradministrat=F6r och har
-   tillg=E5ng till dessa uppgifter.  Just nu =E4r vi tre personer med
-   denna niv=E5n.
-
- * Niv=E5systemet =E4r ett m=E5tt p=E5 p=E5litlighet.  Vi ger dig h=F6gre n=
-iv=E5 n=E4r
-   vi litar p=E5 att du inte kommer att f=F6rst=F6ra f=F6r oss.  F=F6r ju h=
-=F6gre
-   niv=E5, desto l=E4ttare kan du sabbotera inneh=E5llet.
-
- * P=E5 en h=F6gre niv=E5 beh=F6vs det inte bara att vi litar p=E5 att du v=
-ill
-   v=E4l.  Du m=E5ste =E4ven ha ett gott omd=F6me, teknisk f=F6rst=E5else,
-   intresse och logiskt t=E4nkande.  Utan detta =E4r det l=E4tt h=E4nt att =
-du
-   f=F6rst=F6r saker av misstag.
-
- * Vi vill uppmuntra medlemmarna att g=F6ra det som =E4r bra f=F6r
-   webbplatsen.  Tilldelandet av h=F6gre niv=E5 ska uppmuntra till att
-   g=F6ra det som =E4r bra.
-
- * F=F6r att minska missbruk av e-postadresser visar vi e-postadresser
-   bara f=F6r de med lite h=F6gre niv=E5.  P=E5 s=E5 vis vill vi undvika att
-   n=E5gon g=E5r med som medlem bara f=F6r att samla e-postadresser f=F6r a=
-tt
-   sedan g=F6ra reklamutskick.
-
- * Idag n=E5r du olika niv=E5er p=E5 detta vis:
-
-   0. Kom in p=E5 webbplatsen som g=E4st
-
-   1. V=E4lj anv=E4ndarnamn och ange e-postadress
-
-   2. Logga in med det l=F6senord som skickats till dig
-
-   3. Skrivit en presentation
-
-   5. Presentationen har godk=E4nts
-
-   6. Du har svarat p=E5 ett f=E5tal fr=E5gor om dina intressen
-
-   7. Du har svarat p=E5 en massa fr=E5gor om intressen och beskrivit dem
-      detaljerat
-
-  10. N=E5gon v=E4ktare tycker du f=F6rtj=E4nar h=F6gre niv=E5 f=F6r att du=
- =E4r s=E5
-      trevlig och engagerad i webbplatsen.
-
-  11. Du har gjort ett antal kopplingar mellan =E4mnen och =F6verv=E4gande
-      delan av dem har godk=E4nts av en v=E4ktare, och du accepterar att
-      b=F6rja som l=E4rling i v=E4ktarakademin (jobbet som
-      systemadministrat=F6r)
-
-  12-39. D=E5 och d=E5 tittar jag p=E5 vad du gjort i form av skrivande av
-      texter och arbetande med uppslagsverkets =E4mnen, och justerar din
-      niv=E5 i f=F6rh=E5llande till m=E4ngd och kvalit=E9 p=E5 arbetet
-
-  40. Du har full=E4ndat ett helt =E4mnesomr=E5de.  En m=E4ngd sammanl=E4nk=
-ade
-      =E4mnen med bra textinneh=E5ll.
-
-  41. F=F6rtroende att arbeta med adminstration av medlemsregistret.
-
-  42. Delaktig i utvecklandet av webbplatsens prgrammering.
-
-
- * Allts=E5.  Automatik tar dig till niv=E5 7.
-
- * Men som sagt.  Jag har en massa andra planer d=E4r mycket mer kopplas
-   till niv=E5er och d=E4r det finns systemautomatik f=F6r hela v=E4gen till
-   niv=E5 40.
-
- * 41 och 42 ligger utanf=F6r niv=E5systemet i =F6vrigt.  Den som har de
-   niv=E5erna har inte n=F6dv=E4ndigtvis tagit sig till niv=E5 40 innan. De
-   motsvaras av anv=E4ndaradministrat=F6r och systemadministrat=F6r och
-   niv=E5n speglar maktbefogenheterna snarare =E4n vad man i =F6vrigt gjort
-   f=F6r webbplatsen.
-
- * Alla texter. Allt inneh=E5ll =E4r =F6ppet f=F6r alla. =C4ven f=F6r bes=
-=F6kare som
-   inte loggar in.  Du kan till och med g=E5 in p=E5
-   administrationssidorna utan att logga in.  Vi g=F6mmer inte inneh=E5ll.
-   Det vi g=F6r =E4r att hindra dig fr=E5n att =E4ndra inneh=E5llet.  Vi d=
-=F6ljer
-   dock en del information om andra medlemmar i syfte att f=E5 s=E5 m=E5nga
-   som m=F6jligt att sj=E4lv skriva in sig och skriva en presentation.
-
---=20
-/ Jonas  -  http://jonas.example.com/myself/en/index.html
-
-_______________________________________________
-List mailing list
-List@example.com
-http://example.com/cgi-bin/mailman/listinfo/list
-
-
---=-=-=
-
-
-
--- 
-/ Jonas  -  http://jonas.example.com/myself/en/index.html
-
---=-=-=--
-
diff --git a/rt/lib/t/data/new-ticket-from-iso-8859-1 b/rt/lib/t/data/new-ticket-from-iso-8859-1
deleted file mode 100644 (file)
index 299392d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-Return-Path: <hw@nordkapp.net>
-Delivered-To: j@pallas.eruditorum.org
-Received: from sm1.nordkapp.net (sm1.nordkapp.net [62.70.54.150])
-       by pallas.eruditorum.org (Postfix) with ESMTP id 48F4E11112
-       for <jesse@bestpractical.com>; Mon,  2 Jun 2003 14:58:37 -0400 (EDT)
-Received: (qmail 3612 invoked by uid 1009); 2 Jun 2003 18:58:36 -0000
-Received: from unknown (HELO office.nordkapp.net) (213.161.186.83)
-  by 0 with SMTP; 2 Jun 2003 18:58:36 -0000
-Message-Id: <5.2.1.1.0.20030602205708.0314c5f8@mail.nordkapp.net>
-X-Sender: hw@nordkapp.net@mail.nordkapp.net
-X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
-Date: Mon, 02 Jun 2003 20:58:30 +0200
-To: Jesse Vincent <jesse@bestpractical.com>
-From: Wilhelmsen Håvard <hw@nordkapp.net>
-Subject: Re: rt-3.0.3pre1
-In-Reply-To: <20030602185607.GN10811@fsck.com>
-References: <5.2.1.1.0.20030602204834.031406d8@mail.nordkapp.net>
- <5.2.1.1.0.20030530194214.0371c988@mail.nordkapp.net>
- <5.2.1.1.0.20030530194214.0371c988@mail.nordkapp.net>
- <5.2.1.1.0.20030602204834.031406d8@mail.nordkapp.net>
-Mime-Version: 1.0
-Content-Type: text/plain; charset="iso-8859-1"; format=flowed
-Content-Transfer-Encoding: 8bit
-X-Spam-Status: No, hits=-1.9 required=5.0
-       tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
-             REFERENCES,REPLY_WITH_QUOTES
-       autolearn=ham version=2.55
-X-Spam-Level: 
-X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
-
-Håvard
diff --git a/rt/lib/t/data/new-ticket-from-iso-8859-1-full b/rt/lib/t/data/new-ticket-from-iso-8859-1-full
deleted file mode 100644 (file)
index 493ca15..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
-To: Jesse Vincent <jesse@bestpractical.com>
-From: Wilhelmsen Håvard <hw@nordkapp.net>
-Subject: Re: rt-3.0.3pre1
-X-Spam-Status: No, hits=-1.9 required=5.0
-       tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
-             REFERENCES,REPLY_WITH_QUOTES
-       autolearn=ham version=2.55
-X-Spam-Level: 
-X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
-
-At 14:56 02.06.2003 -0400, you wrote:
->> This patch didn't help us out.
->> We still got problems with auto responding e-mails sent from the system
->> when a new ticket is created.
->> The same problem appears when one of the staff replays to an new ticket.
->> All Norwegian letters is converted to strange letters like Ã¸
->>
->> We would love if this bug could be fixed. On our mail server we are 
->running
->> perl 5.6.1 since we are using debian stabel packet lists.
->
->I'd love it too. I just can't find it. Can you send me
->(jesse@bestpractical.com) a couple of email messages containing
->characters that break your RT?
-
-Hello again,
-
-Thanks for your fast replay!
-
-I don't know how this looks at your end but it is letters like: ø æ å
-If your want to make this in html it will be &oslash; &aring; and &aerlig;
-
-
--- 
-Håvard 
-
-
diff --git a/rt/lib/t/data/notes-uuencoded b/rt/lib/t/data/notes-uuencoded
deleted file mode 100644 (file)
index f27fdf8..0000000
+++ /dev/null
@@ -1,2368 +0,0 @@
-Return-Path: <mhenrion@example.com>
-Delivered-To: j@pallas.eruditorum.org
-Received: from serveurlotus.example.com (unknown [213.56.193.67])
-       by pallas.eruditorum.org (Postfix) with SMTP id C21DB113AA
-       for <jesse@vendor.example.com>; Thu, 27 Nov 2003 10:55:58 -0500 (EST)
-Received: by serveurlotus.example.com(Lotus SMTP MTA v4.6.1  (569.2 2-6-1998))  id C1256DEB.00578401 ; Thu, 27 Nov 2003 16:55:54 +0100
-X-Lotus-FromDomain: DOMAINEQZ
-From: "Maxime HENRION" <mhenrion@example.com>
-To: jesse@vendor.example.com
-Cc: support@example.com
-Message-ID: <C1256DEB.005717B5.00@serveurlotus.example.com>
-Date: Thu, 27 Nov 2003 16:55:50 +0100
-Subject: Test e-mail which exhibits problems with RT
-X-Spam-Status: No, hits=-2.6 required=7.0
-       tests=BAYES_20
-       version=2.55
-X-Spam-Level: 
-X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
-Content-Length: 144905
-
-I send you this mail from Lotus Notes to make sure it'll exhibit the
-reported symptoms (lost attachment and body).  I Cc: it to our RT address
-to verify it does cause the reported problems.  Could you please mail me
-any replies to my personal e-mail, mux@example.org ?
-
-Thanks in advance,
-Maxime
-
-(See attached file: Naz_Head.jpg)
-
-(UUEncoded file named: Naz_Head.jpg follows)
-(Its format is: JPEG File Interchange )
-
-begin 644 Naz_Head.jpg
-M_]C_X``02D9)1@`!`@(```````#__@`>04-$(%-Y<W1E;7,@1&EG:71A;"!)
-M;6%G:6YG`/_``!$(!(D#$P,!(@`"$0$#$0'_VP"$``0"`P,#`@0#`P,$!`0$
-M!@H&!@4%!@P("0<*#@P/#PX,#@T0$A<3$!$5$0T.%!L4%1<8&1H9#Q,<'AP9
-M'A<9&1@!!@8&"0<)$0D)$248%1@E)24E)24E)24E)24E)24E)24E)24E)24E
-M)24E)24E)24E)24E)24E)24E)24E)24E)?_$`*(```$%`0$!`0``````````
-M``(``0,$!08'"`D0``$#`P,"!0($!`0$!0(""P$``A$#!"$2,4$%4083(F%Q
-M@9$',J&Q%"-"P5+1X?`5,V+Q"!8D-%,7<H(U0QACDI.B)29&5%8!`0$!`0$!
-M`0`````````````!`@,$!081`0$``@(#``$%`0$!`0$````!`A$A,0,205$$
-M$R(R87$%%5*!_]H`#`,!``(1`Q$`/P#Y`NZSM9#1`&(!5%[G\U"!WW5B](U:
-M0(GDE5'DR3$]R3,K53ZB?5?D$I,JNC=`\EN#.=PHMVZH^%$6?,)R3(`R90/K
-M:AB0!LHFG"&6Q`,?*(E\^"`"3.=TC6=J`)([!0M#=1U'X3.TZ9D[X**G=6=(
-MR82\]X,ZC`&"H0X"9<3W2:(&GOWF4+VLMN7D2T[[AR*E5<YPU?>56:T,@P<X
-M3^D#'*J+3:SC(<8[92\XB/5]U7VV$E/Z=(!.459_B7`0'&2F%<EX)D]R%7!)
-M:$B1.<S^B(G-PYFQQ/*7G$P9/M!5>9,:ML)Y$]AW03FLXR78A.VY=&=IV58&
-M2!^X1-BFWO)S""S_`!#M,.,'VV2;<.(C48"JR'#&!V*>!LUV_OLBK)KO@C5)
-M_9)M=V0(GNJSAL9"7!!E066UR&X)^BD%P06DOR%2&00WG=$WYSQ[JHL&Y&>9
-MQV3ON7.;ZG:@.).%59,Y.#[)H&F7.`/QNBK;:Y#?S$XP"4(N'[:S[Y46H-8<
-M2#C.4``SZA!V")I9?5=AVO[<IA7=J)C$[DJN""8!VY"3C$;@(6+?\4_83O@)
-MZ=U4;@$YQNJ0<>')L[3G?=15_P#BG`0"[/=(W;N3NJ@/J]>8PG=M(<!P%46Q
-M<5)C5!&Z%UR0^=6_,JJZ220[',XE!J(VD@HJZZZ<3J+H)X*=]T]K1ZLGW5*G
-M+G3N$[-()F/_`,1E0TN-N7@RUY)[R<)V7=1V=1^ZH@.,F<CA$V/+F8CLJBW6
-MO'^8/4[[HA=U,^L@K/?#GB-N4Y)Y)CW15RI>5'#_`)CL>Z`7CY]1=`[$Y50&
-M1,Y]BF&^G!]I07_XRII!#JD3]E(RO<NI.KM-30T@.=P"LV`T[C]D0<?+(DD$
-MR0D5<;?59(+S)P9)2_CJN_F.)VR51=+7@S'QA($N$#9$:-.^JR/63]5(R]K.
-MP*CM1]UF'7L,=H1M=+IY0:#[ZL'R'N$#9/\`\0N`3-1Q!.8*HD..1N@]0)@@
-MQ[HK39U"J2!YA`/*3>HU9_/O]5G,+F"9@>Z?5D3Q[HC2'4*PF'9=]T_\?6!'
-M\QQ^2LZG,[R-U(3Z):<<"9A*+K.I7(<2*KA]4XZI<:R[S78YE9H))$NB?=+4
-M(C.^4&O2ZM<:Y-=^F<PXJ9W6[ME1_E5ZA!V]1P%A%T-/'NI*+M(U3J/LLU8V
-M[?KM\#_[NK,?XBI7>(+\`#^+JQ[/*P/,<'SI`]E/1D[@'.`D*V[GKMZUP>;N
-MOW`#RJEQXCZB^KJ_BJ_P*CEG]1JD5PW5D?HJC2`V8,]P>$A.&PSKO41Z'7E;
-M/_649\0]18YO_K:I@Y]9@K%:\DDM/P.4#G._J)39IT%3Q#U(48;>U9]GE*WZ
-M_P!3:=;KVMCC65@L,M],_=3C\I9@^_*IIT-GX@ZL]P<;ZK#3)EY5YWB;J9`_
-M]75`]G9*YJB-%&!@G<=T?F!K`T3'LL4=(/$_5-`TWE4#_P"Y,?%750__`-[5
-MS[KG?,U-`)..W*$N$F=QW4TKH?\`S5U?7)O:@^J3O%/5&`3>5<_]2YQS_3,D
-M90OJ%L9S[*CI'>*^JA\_QE4>VN?[)4?%76`''^/KCC\Q7-.?WG[PHR\9[\!"
-M.I/C+K8R.I7(CL\J1OC?K[!J'5KH>WF$+DC5TM&#J_="YY=].$Z'8?\`G_Q(
-MTS_QJ\$\"L[_`#1?_4;Q8T"/$-^('_SN_P`UQ.O/`(3O?Z<\JZAR[=WXG>+V
-MMQXBZB)Y-R__`#3?_4[QHV2/$W4\<?Q3_P#-<,YTD-[(7N!.70!NAR[S_P"J
-M'C(;>)NJ0.]W4_S3?_5'QII.KQ/U0@;?^I?M]UPDN()DCLE2J/%6>?8Y5X-U
-MWP_$[QDTZO\`S+U0#L;A_P#FA/XI>-1__D_5!`__`-A_^:XBK4+A#=]LJ'62
-MT@@2H;KO:?XK^.`#'BCJ7_\`'=_FI&?B]XY;G_S1U$]OY[O\UYWYA+")*;6-
-MNRJ/26_C)X]8UI_\T]1@XCSBI/\`ZT_B$W;Q5?D]O-*\R#P`#O&R$UC,SDH/
-M4*?XX?B,R)\6]1$?_M4=3\<OQ&F6^+>HB?\`]IM^B\LU.W(D$*.M7\L$-DGW
-M31MZF_\`';\2*6H'Q3U!Q(P?.V_15S^./XE:-;O%O42WDFIM^B\K#_3).0>4
-M1>-,R,YB86M0Y>HL_'+\2"X$>*NH?_Q/]%+1_'7\1FNSXHO2>_F+RG5#,F/8
-M=U(S+@Z23\)J'+VNT_\`$'^)M.W:QOBJ[@=WJ3_]8;\3_P#_`*NZ_P#WUX]0
-M/\IOJ`13_P!8_P!_1.#E)>;X.DJE4`G4&CW]U>O/2YTY/95"VD\@O(8(_-NE
-M-(*I$\#ZJ.((DP#MRC?I!,.#@3P@<YLQ@D*)T!Y=!!'V3,!(!DR-NZ/!DDS_
-M`)H=3FOU#\Q$3*`2[U;F3^J9FG5DG!VA%J&"\3VA,PC.H3]4#")SCZ[IPZ6Y
-M.?;*9Q$P1">`3L`F@0!<W48QB)RDW\W8=DM)B0,C=(G'Y3OG*H)A]7YC]TGO
-M`;J&VTI8`@$@QRF`F)A`6HZ<&,(`XM$-),HM.TR`DTC)_9`@]H'?NB(U9)D*
-M)Q`R/L"G:]K3D$_*"3`)DS'(_P`X2>0`")).=10F`,SG9*`Y^DS'9#0VZM.'
-M@0=NZ51S@XYR=PG9IF'?1!4<)QF4!`X&<E.9%3F2.Z$Z-(:!$Y30-4SL@D`]
-M<ETSPD2`X%Q$#W3.>TTQ@",3R5'[%V$1,Y\B8S&Q0:S^;4")R9@(2^`<P>T[
-M)`@^IH&GL%%2-?@B8^J;60">3]T+=C.J1O@_ND<_U8'(RJ<E))W`GE,?=Q,<
-M%+TDD@R?E-$C#A[A0$`79&/JF!<U^X^B'!YRDUOJ(*HF#AY@Q&$6KDNB%"0"
-M9!2<8.3)Y4$CW2\MF#^Z8.(;!&KZIG-P-L#A"V6F=8!/""0%I.0/<(75#/:=
-M@$.F:>8`/)3#3OJ'T*(D:[&8B=Y4C7$"&M,J)L1Q'>$3@1L8'L@8F3@1]4+G
-M&(VX2(#3^:>\%`?54P9'SNJHZ;B.^4]0D@X!(0@..QCZIR`V"7-.)0)CR6P1
-MDHFZ@-_B<H`WU1IGV3L#L0!`X)*:41=.<GX1,?\`TYA``=<C`&0EI/,90&PN
-M+IQMR437D#8PHVM)B'>VZ.>9&?T32';4C&4FN.24S!G,B.4@"7P-D4;CZ02G
-MUQM@'E,`7,D-F-TP:03#B)XW03TW0`3/=.ZHT[20HJ0(=JP<83U=1'Y??=$I
-M.>20)B/JF<\D^W<!#)DQB>$)+@3@D=@@.1J(C\RGI.TTAL`%!;@U'@&8)4U<
-M#40..%*LA!WKD@?,JQ3<*;=6J?959U`<%*HXBG,R=MU`JM05+G42#[QLF>8:
-M0V"1O)W4;):`V3G>$4@$&()W0/YA+H&$S"=Q$'E,X34D!.&MF<>_NBIZ.G5.
-M1C=6*32XZSMP56:Z#I#1/=6ZKAY8:!$;PI:1(7B!)SV0O<T[&(0BF-&<#W05
-M7:G%L8&%!,UPC`$_*?7)))4+&NF9P-@0G/R,]D!$M)DGX"3G%P`W^NZ!A;OB
-M1[R@JU"1F(;VP4!ET'TD3[("8?&,^R`O!&,&=@A($`P2.TJFAQZAK/V0U()]
-M),\A(QITP/C>$+R(+B![(IY&DQN$!U$=OE*99G;V0ZVDSVXE7:0I$@DY12W5
-MF0.P47ID%(N@03]R@.1DL'ZH<X)#L\RF$;:O]$Y8WR]0J-+I_+&?^R&A.=`G
-M'T0!\2[)*%P,1D`<(7N`@$_JB40>#_DD#^G"C!R=_NE()$'?!0$X%Q$?NF(&
-MY!&.Z;;4`24#RYH!!)]T#U7A@,\JNZ-6?ND\EYDN$]T]-[\MUX[0M!/;+?E,
-MUDQ/WW2=4TGL3V*!SAQQS*(D:WD$P?T4M+8@29W]E!J],CE'J&H`.XR$&G0<
-M!1:(&R/6WL%#1TFDTEW'9%#/\?Z)N+I/<F"1,=]7^JI5G`N(';`[*[?$.<7[
-MS]BJ=8@'&$J('2&YF3QV0`-+`XD3VY1<D$@'=`T>L@B%`B9(SQF$/&TIHT[B
-M2F;!.3'L4#N:&P[?Y*:1!WD=T\S(.3\RA,:2Z.?T3:GD%I&Y&/A*8&9CLA(S
-M$B/S8PG<V88QIQGOE$T-CV#9SB>Q&R<Z09CW(40V@#9$=IP/>%0;B#F#CW14
-MXU>QX4?]1X*3,$X(]U!,_2'0XS"%S@'20(CLAJF'#E)I!!:2J$XMS(]L(26P
-M)S[(W._EENH@3J4+FR2/902.TZCP(V[HH!!C(*A;#@)V[<J6F<R3J&,3NA3@
-MXW*8",@'(15&AQD8C.\H>8@M^"J#<1&QE-SL0.Y2(SOLE'IF<($XB<F/="8+
-M(<<3$I/TD@`SVE!I].))"@-S@1(=@I"=)SNA((80#*(/$`M:!`SE%%,`#7&$
-MCN"YT_51DNB`Z0#CA.0X_5(AQ&`23[E/L1W/"C@.).T9*3S+@1/9/\.AM!.2
-M0">$3P0[)"%VD9!D#<I./I[IL2'5$`R$!&&SQA"UQTF73/'"?.($%#8Y&3//
-MV35`XOU&)2):`?3!'U0O,M$B`>^Q02!D;F2>P0&(,[I,:XB-4B,Q"1#@=49"
-M`J9!R^3&R=Q;J$(0(GD(*A<(='U2"1V&;#_-`R(D;%,\DL$B>Z$;X!55)G48
-M1-'IS&VZ'48&#GE,<C<0@(`:\`QVDI`;[<]TP=B00G:7"<;\A`;M1:2,8R<I
-M-&0)@H0XZ(<-(B>4[2[5`(GL902`.:#ID(2,Y$D]D33Z().$(F,'ZH#:"6GU
-MB9_*F$SO]$F-)V,%(.Y`D(:'4P0`?LD`[2)D`]]B@#LX:1*<O<&ZH4$C9&YP
-M-LIW.#6R'&>Y0D02-.>ZE<\NHM`:)'/*HBDQ.=MYW2C,D[(2XN;))"32XM(!
-M@'906+-LEU4DXF(2TD$$.)3AX91:WDY0DM#?RQQNI5A]!+@3/PA<=\@HGNCT
-M_?/"AJG$#8^V$"UD8!4E,P9;G':5$"`?5()X4[6.@.VCLJ@2UT`B?E.3#`9$
-M\93:H/I/SA.P-J$``R#NH+%KAVLOD=H4I<9@SW[*(0T>EV/8)5'$N&9![K-Y
-M5+J<68(R-TTB=0P4!<-`@(`YVH24$],SF?A"]P#MQG&4&J'">$+W>H09SA%%
-MEI(D"=RA+9;D_;!3.+B\DCG9,]X(,.T@;?'R@6Y,]L94L4_X4N=Z7R(`V4.M
-MPR2W*=S@:@&P(VE5."?KTR1!)F4#LB"-LRBG<B2[L@>YH`$85"!G@'ZIG0<D
-M093'&<#@"4%0AI@D`<`=T#D1F0/N4P!!@#?>>$S8D3*L=2_@!58+)U4MTC6:
-MD3JYVX00'T[YS\I4W`\H9#G"8^`D\M#AZ9^40Y<7'@?.4#@)!R24Q,]FI$ZG
-M$_W5#XW$S'=,UHF(W0DB#DY3R0V29(W0"78)*KU':R`9]D]=^O\`*%&60\1P
-M@,#5`VGNG`:T.,9!30`!#N,I0!N(`5*.B*/G!U5ITC)&<_91N+<D-)[0FJ/D
-M:08`[H]#O+%0QI)@9S]MU`#1+A,Q^RE9'FD$'M'91@MU&-^ZD9N-.,;JHNTM
-M(I@02B]/8H:=1K6``''LB\T=C]D.%FX.EKA@B,$JE<`AT3SPKEXZ"1&?M]53
-M>!J(G`*54-6=H"B/I?MDA2U3DG&.%&]Y=!+H(/W4`N_/@&$B6R'#=)[AJ(P(
-M0-$/@"9303HF0TR/T2:06!I)E*3!$8E-K=K!``;QE`0#9`P8]L(&_(CV*<&0
-M<C.X"9Y]7QB0B">.9.4[OR['L"A<1$`A&_\`(.!.854F-(:?4?A$6AKX[;Y3
-M4G.#,[=RE.!(CNB'=&X.R8F``,)2X',0)"B)).T245(..>=L)B<D`#M`3:M(
-M!=,@)Z1!?F<'_50)K1)!Q(V[J0#3B#F,(6.;KV(Y,%)S@0UHQP54['4<?B,H
-M69)!/M/=)I(AS@8VRAD:P!CNH)<O/ID$<)F$APR?A-JAL2?NE,9P(RJ&=.H\
-M&=I1-$`N<2)4=1\F03_F4=,X$$E`SP-1$D0A$C&(/.RE(:7.<-_?A1D&8&_O
-MRHIWDZ2-1&GE)C@TN!.3^B3=&D-(`_NA,-<X!V"(E$(;S(SV1/:]CAK:1(D>
-MXX0'<B$;WZC@N(C??"*6'")R3_LIVN`S(,(&N$#VY2$G(;DX0IR3[2.R<.DF
-M!!_=(D!@')R?=-/IDD2>R!SAP),>R1Y(SV]D+V_S2V))YE,T:F@`X"J)&2UI
-M'._*1Q$&/<!,(C_JVV28(:<0.5%Z%J)!)W`R5&).!&F4;@9,Y![<*,#!,[[!
-M!)IFG)?Z@8CV0Y`T@C2A@3NG;Z3\<DJB2GOO\Y0S(`(!)[*2E2<^D][`3HR2
-MA>7:9,`;0H&WR`(.(1;;D",8*:)Q)D;F4B#.'8!GL@?+7$'OPDV"_.3.Z6"1
-MM]1E.ULSD2,90$TES#\@83M&3&W=,USA$R0=RG`T@.!WVA%Z$UQ+CB!Q[I.(
-M.`([^R<.EFW/*`DEYDX(@RB:%.8,&/V1MD8R<*,B'`[QPIV#^43D#]D`Y#H.
-MK`Y"*J#$F028DY4?YJN,`=N457!<=I&<H:,]V)X`WA'3#L'^F=OA0@2=AE3!
-MIY=$F-DIH3CJ?K(V/")H$>K/919@P1DJ5^EEO`(G(W]EEI%5(+ISE!4=D<$'
-MO"6OU1Q*:)=G!Y5036G7)VVE76.<+5S1I')=L2J;"00`.5,S\D@C2$^!JAQL
-M('LCH,<&E\@$YCZ(6-UNB7$!2@[-&`-]U*';.2#`CLE3'I$@'O/"8P!G'=%2
-M=J>9^<J*>L#$#$8P@:3DD@J5X<##?Z9)([J(?F_+)B<H'#@203@9P@GU';/9
-M,V&R0,)V9SC&4(=X<'#,R.%&3#0XC$P$3\N(`V^B&GM@XVGO^BL!C!`&GLG)
-M:W!@Q&>9E`#IG<`\2FEN=L?JB%4($Y"!Q#8&1[]TG26`Z<`;=DG0&C[HH0,R
-M<?)Y35&D.(Q!V]T\C5($@#(*C>('(.\*H?`@'O.-T+RUOIW,Y@J:XHU:5.G4
-MJTRT5&ZV3R-I^X4+H+B<Y']T`O(;Z1N.1A*GIDNP2>XE.3J('`Y"6&M^NZ:-
-M!)RYV0"G!``&DB1DH8&7'`,C"8N],ZAP)0._2XB`94%5\NTCGE27)?2+6N8X
-M:A(GLJ\`F)S^ZH8P!`R-Y3G\V)D#^Z0(&,F#O[)IY)A$&T@&08QRF=!:,$3&
-MR<^H0TD$_JHWY]!W^J!W-);!&#NG.EI!U9!VRD0)`G/"%P;$@2(0&!%0.F09
-MG*.F`#^:3O""FT$`D[X^5)1G4!@GL54K1HU8I-!F81><.Q48H]W9&,92\D?X
-MBJ<+=T&!T-,R,:>%1J!DDQ,=RKEW`<?OO$*C5/IDG._RIEVJ-_J&IW(A0OES
-MRXF(X4E0Z7&"@<1,[\DJ`'`E_ORFP=C]?9$1#@9R.Z%_]1`D%$,?R:@WV^4P
-M'IP<<RG@@>Y,X1/]1)!`&T(H6Q'..QW0^^Q]D1/],`X2!<<GY0(F""9]I*=W
-MJW,H`)P08'MF%)HSF2$03&`M(DP,D),+@(!GA"X:6D#/PF&XP280V1:><_\`
-M9,2Z?RC!X1%IRX?=,-R<G&44B#JU`$=\[)Z8]1,!/MC2<^^$FGUS*H36#5J@
-M>PF$\>HC()V2<'!V/ZNZ%WYL#G[J=D$W#=S')'9"-B=C*+,3JG[X2:#C(SW5
-M#M(U>TIB8P"!GE-F<F2.0A(P29RH@HVC?=&PZ03`)G[(2&R`"B$!XAV$#G)S
-MB.4+XU;P-]^4[MB0[9`XXU`^Q"*%QB"79C&4AAV^1^R0,#3L92<3&=T"!VEQ
-MR8PF$AH+73*0D`XG.4M0:X#2-X0/.CC"(.]6/R]X3"`<[I-;#8G<3]43_"=,
-MZAE/,M(C?NDQTMT_E'9(X;D@$HH1(/.T;)VQF<&<E-!UY)`^-U(R0)B1R)R4
-M-&:/3O,>V4[`6QB3[!%I=H+P"&SM*6HZ1'',($\PR(.3@A0P9)VCA&XNG)R<
-MPF,$02,?HB$&XD_7NF@',9[)2=CE%`'LBI#5J&6ZX`&PV48>-7JV`_5/HV@?
-M/ND02Z7?TG[H&@#W._PB@Z@):1'=.)>_)@\^Z%Q/YG8(Y0%@$@N`G$#NDTRU
-MT<\IAB3.3G>4[7"#N0).$47]43.)_1$PB(C$J,8#8@2C9,SM_9-(-@]$`X.4
-M),C`(#433@M]S*&)=&<]D!TA)S^O)4U9H;;AHDSV4%(@`;F.%+6=Z`>$#,$.
-MW]H*8DDDG;M"'S#C2,#L93R3D"2@(0'#5$B813J<6R/="P'RR22!P$S8:^)U
-M3N2I5D2'3,1B=E$^"[_5&YP:6@A19F7#"FE$`8`'.91%IJX$B!RGI_FG)C,!
-M$[\LP?8@JHC@M#OS23W1EQ\L#&IW9"XR?=3T*;=1>/\`,(:%0:6CDR)_LG<0
-MVI^:.=U-TW^&_C!_$BJ]G^&F!)/`SQ*&]=JJ%PHLI@>G0&Q`[+*HR<S!Q$1V
-M2I8,S!WRD_@^W9,Z)W.!R$$SJKV,<`2)PHF:@09&QY1-_*)SPA(&Y,$X0`:A
-MG&V^439))!B-ONF>-1R?9*EI%3+CGA`FEQ<XR/\`[=Y]U')!(P8'U1@M!_*/
-M24-2=0(CZ*APXQ$^\\(9D%HYQ*1<X52[4<\SND\Z3D$1[H'JDBCD`9W49>-,
-MF)V^4]1PT;DD\("XZC'`50@_U#A!)@S.=H.R-[A$0@#@3+>4@=[M3`"3+1&3
-MPA.6:8R,9.Z6`-1.)0D#\VK3\;H?].02[!$D)G3IG4)/[IO=HE(@@29^B:*1
-M/H+7`P=@HW5"`/T`3$Z0=1.=@%%4(+OR[[JAWU'P-1,1@=DP=#L"1L"F`]$$
-M92S)'M`0$[!!!(GE".2?L4A&LD"('=,X1!D%"<B#@(XCW2U9.-\D#,I!HX;`
-M3%IF,=Q[JAG'U`P=7NBU!QC?]4="B^L:@:6-T@N.IP'[\J(D8;R#DSNHFA`,
-MU!L'&P[%2TY:X\Z3E0@@.#IF.94K&D.#OJ51>HU7-I-;)V1^>[N5'2CRQZ47
-MI_PE39__`%9N'D/=#RP$&8Y"H5B7`Q!`5V]U$G<-E4:N9_:%:(B!I^,B5&X0
-M,G<X")Q,EHP.T*-Y.N3E3M">TF`/U2]$&"9A._5IR1"C.-B?A!:Z76MZ-;76
-MIZQ!@1.?<**Y(\USF&&N<2`,0%'J=J&`.9*62XD.^J!9($../E)PSD'YE,XD
-MNDRB+6Z))`)X'"!-B(+A(3THR2<`Y4;?2Z"W[HV^Q@^Z"S>OH5?+\FB:4,AV
-M9U'NH-!D$`CW]DAD`';W2DB1/"!'TGA(3J&4P^#M".1Y8](!)C5R@'5#N8([
-MRF$1W[A,^-A)A)L[`9/97L'3`,^J/9.08^>4(])@G$Y"<OQ''N5`4PTQ!^4$
-MD&=7"1<`-MT,Y)_=`33(R[9,'D$]BF<1H&($YRA82XG`[!!('29&%/\`RBQI
-M8\E_(55N'0I&D<2(SW0'4\P[Q'NA=ZFSR/U3%W])P=\H*C@#(&>Z*<D[G<]^
-M4GET9,'ND'-)!,@'E+C!D($W\@@DGNG]4G'/*;:8&.Y0.X02$EK<<)-/IF<C
-M"%I(<8)!/"(9B.40]$_TPG^1,80L=)V2<1,D2500D$@P!RC`_E[0%&'%QDHV
-MN.?[*`M;M&((_9`7&#Z?NC:^&;Y/":H6^6#MG:=D`L).YB?>$U,AI)+)]I0N
-M($[3[IV#4'`D-Q(0,-\B/E.2-0Y[H6D'?CB40(B/LB[."7&(`^2CDSG([(#&
-M'$Q"9CFAWM^J"0D"=+O_`,(2:0?S8'<(7?D(9/=.TC>4!'_F?&P3M<"P`M)^
-M2A:2?Z))^J<'.PCF4!O@Q`C&TIP&C+2<H:L0#&^$I`P=O9`9?-4FJ3`Q(3L(
-M$P#"C`WU$8[J0;XS/!0('21&_=&'M,G`GOR@I-+\0,]\(@2<@"0@8M:9,D@"
-M)".A3>\:PUQCF$``@G`)[C"ELW%E20.,%`U>)(,[<)FZ/,!R8X2;-2H07'/)
-M35&C9@R-R"LJ:Z?JJ2TQ.P*9CR6^H;8A`6%P&H93M(@B2/A4&7NSI,81:VBD
-MT'NA$@#!":,:AN@DID/J1$QMA7':12TM>2!C3W5>T8&F7#<9A2G2'&-H6:HF
-M$MRTQIY&(2<YIV,F<GNAV;VG8%,[4!L0$"+V!N9DA/3=@'5*9^EK1DAW/`0T
-M8TDR@DU`8!W0X)TR@^1CY10!ZCD%`TF"3$;(>Y(&??=/Z=XD#W3TV4RQQ=4T
-MXD")DJ@=,TX'U!&4G%L@D$GB.4G$EH``B(D(20!I`@2@<N;!&P[90MR<'ZG=
-M"Z)`F)Y2>R'8F3]95#U`"TZG#V0,PZ8$?*0_*3J.-P4.H3D0!PF@3F1(D%!`
-M#?2_=$]K1SO[H"V`3[\(AA^724AEN(":)$G.>4Q`!+I]D(9X$21N8^5(:C?X
-M=M(TV`M.K5SMRH@T22YQ([RHZKPY\3LJ<&J$D[8&<8E1P-8WA&]L1O\`"$M$
-MG]B@*#I/;N$AW.2D[)B?\DQ:6MW0)L3!E+2`X<#;*;=VK:$>F6R3\(A%I`R)
-M!0./H)X]RG.N8:Z!V"`G_J'Q*+L[20"6N`'*4-+IG;@SE+3ODD']$T@;$_=$
-M2!KB3!)PBI2'1D3P2@IO(;@[CDJ1FJ<F>RHO4R`P`MV]T6IO^']4%/5H$3]D
-M_J[G[(BS?.:1O/Q_=4*S@XR($*W7+M6,?14;C\Y&DGY5JHWU&%NJ(^%$7-#I
-MR0.$YVWPAR';@1P0L[#.=,D$IAM,I.P/5L4FB1#<HA\%LM.1WY2IN#!,"8Y`
-M,(>^2(14?+TDO#@Z,0-S[H!D$B3]CA/Z9P))XF4C`.WW3"`[9OP-T!:O5I.(
-M1#,9Y0-`@D'(XSE/I$3O&=T$D9R0,IJD<#`[(7B!`B$=(,\LN/YAPJ'I!U2J
-M*8DEV!">H?5$Q'=0OB=C\IV%LB0?NH%J&`,?7=$7-F2?JHW?G@`QS"?1J@9D
-MJB1L.$EWZ%,XAQP)]X0-P-!DQ[E(@3B4#D09!QP$[BTO_P`/LHR`'01(&Y[)
-M`-@@GX"@,1M(*>`!.('9,`(B-]H2>WU3)^$BCH,+@ZH&ZVL$NCA"!)W.=D`D
-M'00[W1:?^HY]T00T[$B?E+3F9$]D).ET.]/8IC_TNYG=4.W!CT@C8%%B9G[%
-M`X-<R6N.N=CLG#@&`-&D]QRBE`'YMW?JFP!,@_5`!)U%TPGR9$X*"0P693-@
-M?Z(!,Q)E2TFZJ;R)EL&%-!\0`#)[)$2-OL@,GU`PDP&),`GGLB)6Z2,3CE)C
-M!/K='O,J*($@X.^5(&.))B1SA-B2"!I$Y358!R(E#)`.R%[P70W[=D4G#TG&
-M90AI&3F4G>QWW":(W(*(-K!L-SW3U"<9P$-*9!=.$_J@DG!]]U03HTB1*%D!
-MV3RA;/<3\IVM($3R@-S9'SC*?3&<GV0L<>2=T\S)XVC=`8$"03GW1`B3.2>5
-M%Z_\7UE$9`$\\I%&X"(+H[(@V!+=O9!,M&04B3.`?NH#C5MN4[!G<?"$O=$#
-MA%ZM.K<JFSN:22<>T)P(;.#W]D`+RB),[[Y]BH!((!$<;RI`T#^J9$!"T@5`
-M73],HF/=,Y!^5*IV"&^P1.!@:1]45NUU6HUC07%YC9=5XA\,ML^@T+NWU.>/
-M^;G8(;<B\1ZHDE`]K33&"'3O*L7`)I``[;X4,$#)P@4X$[IZ;7.J0`F)$!HG
-MZE3V[?+]7/)02.>Z-,$1V3=I](*4R[5!^H2?CC(S,+*E$.YQ\IW`SB<[RDZH
-M=S$H"\:).)[H",QB8W[)I+1)Y[(=8/!TQPG-22TP2`J%F#W"9@)9'*1=+>\E
-M(&,\(!J-,B3CVV3M\H:PXEQ/Y<PA+FEI$X/ZI:R0#P/9`M3G-+-6V8"$F3I)
-M4C'28'I("C>\-&"#)[H`@DZM0'UW4FC^5)W/*`N;,@Q.QA25GD4FM+@0-E1$
-MT%(^HYA,YS8$G[%#4>W5G,>Z`J0+WP2T?*!P+1GGA"7Q//NB#M3I=$#N@%TD
-MQ!RG:USCI`)+N(3!X)[?&ZBJU@`()U`]U4*N2'Z9/V43_>$^H&3,<E,2#@DY
-M0.<F(,IR0&['*#4.47HF0!'MRJA-<2(X*1,E,7``CGLEJR<J!Y($<(0X@1Q\
-MI@8D).TM;W11&/H4],M#7`_1`(<S!QV2;!WF408(SC(0F1.(GE*!,ZM^$8-$
-M4OR&9R^2@%D-/$?*FI.=,PK_`(;O^GV;WU+KIS;MQ$4W>8YI8?V(^BJA[#<$
-MAH:'&8_LJBRS\H_-]"G^CONI*8.@:=D\.[JFCU]&K))!6=<?.RM7;W!SLM!&
-M?=4:CP!)Q&.RS5#4<<`"04#G21.4GO<&P,#V35`=>D#;.>R(:);)D92TYAQ(
-MA!K]&DXGE.^IZ]1.Z!R!,.)PF<9,R!\IB[N)^J)Q@B0W81D($^7.DD.)RF;^
-M:)@\04P))P!/$[):])!/?=%'`WGZ)W21Q'8*.G.HD;GNB:^#B`"$B#@D`0/E
-M)K3&'8Y0M?`!$%*F_.VRI$KJ!IL8\/:0\2,R1F,J-ATY_1,2.3GY3/?+G.TY
-M*BG`DSRI,MIZ=,3O[J/5&",I.>"W5'^B"322V<9V*'!=`R1^J8&<B&CV2+A#
-M06&>2/ZD0[V@B&#$X3P]N)`U;CN@U0Z2)^4J;QKEPD?/*`J8$8W3G.^.R&1C
-MD#9,7("JZ]6EV^V4I]6T=RH^W/'RGUB`!L<(I'7$YSRG+8XF,X*'40P`#,I%
-M[33].LCW0&?R`G?A.]L8&2>R%C@21$QV3Z@1IB/D[(&>),SO[I>Q$)B]H<1.
-MV)28<@%THAR8;M\J2A7?1:XL.7")W46IH:0D'M+<`Y0&T^H%PD'=&`"2"0!\
-MH&N!SF2,E.UX+>/HBBI-8714<=/[(]88``R)P8*B#MO5]$S'%I)X/?\`[()G
-M?E(#<_J@(AA`S[HO^:XBF)`R8[=U%JP1(A`[LNVVX3M:#]DVK.0!'*9KP'D[
-M(@H),`E.[:(@[Y3,(U9C&-)2>9S@1P4X4F3I):)C,)__`,4)VN&DQPA9$:9B
-M>$T'`R2'8^$;&SZ9^J'>=(,?ME%OVA`U,,#<C?ORIJ=,:H,=P%'`<^1D=R-E
-M*P@-G>4`09+@G>`3@$?(1@M!)(WY"3CB8&>4#.C@P1S")T!QS(3-=C2(SR43
-ML.:"=N`B!,1)<E'JD1!/T1:(/K*38+ITF!^B+#,<!M@\93LT3)=D;!$Q[F&6
-MN(/',J%I&F!N?E1IJ^%7@=<H/<]K!3>"3JA>B^);RA4Z'>U650PD"F`>?9>5
-M,:0[21!"MUJ]>G;MM:CB&-,D'!!*K-G*.H3Y<;25!+M1G96*CFU&@-!$;F=U
-M#6;MF)X470:;"]_J,0%9!ETM<"/=10&MW$A'Z2"1.,PI06HM9I+M^YPDYVI"
-M-(W)SPDV)&!CLHIH<3))_P`DY=-/1((!^J9^_?5]4[9PUS`9._=4`TP,#;A*
-M1K./H$;O*#X9VV/=`"0\@8/)0(@@0D-3H!2V.9(F/A!L3R$!8+#$2-\;H9(S
-MJR.`E`TQ.^Z1;Z?3QA`F/(!=@\Y3$MEWOLF([;'VW0D@$1N3,!4.T@C+FYX3
-MO=#(:Z1V0.$,G8<ISH`B2>WL$`Y_J'RFT@&>QV2<3'YLM3``3!^$#$$3$)BZ
-M&C$\)-$P(.4#W9[J@G8+CO/"K/WVS\J0R#O]"FT:<@C=$!$X''*3\")`"+2!
-M_6)[[(3ZAGO"!,@1Z8)[A(F#@#(^4Y$@-#I*1WF2/:4`N/K&!/LGT`.$I.)!
-M`;N>$Y;@B9A$[",_W3$>D0#*(&"?9,V3OP@30`22#^R0`DX3_P!)DI$``.(P
-M?;*='!I^<^Z><P)^I3:8.K_91.R9:,#.4":[,B1*GHRYP)!+?E!1`#@:@+AR
-M&F%+0:21)`GVV6D:%N'&BTAKG#O*/2__`.-WW3TZ)+!,CZE/Y/N?N5>$X5+W
-M0U\`&!LXB/T5&IVP<[;<J]>Z=;HG'?95:H<6N&J`-_4LU5>J6R=(`GA`UPU3
-MSP0C<,'T_=!I,@$1/"BE-,$:@2W8B>4PC2X:=_N$B#IEP&<PA:(+N/E1"=#6
-M:MP.$HT[Y]T0$&/NF;)!Q'P531_26@#9-@.U$Q[!.#)R,PA=F,GMOM_N4#\2
-M`#/"+2W48!RDUN9F<[SNG9^4`JA3+6M+6C3LAV<=Q"*H/5#<M]\(1EIWX4!&
-M)&F(.Z9X:#N93@&,!$]K#&)PAI&V0?T@IS);,SRAW=O`E'`#9VT^Z!-C2,`#
-MW0L#6N]61S[HR"!O^9"\^H``GZH$/RR8R=DOVC"+27F2Z"A].@"<E`XV`!W[
-MI$RR!$!/R0"/=,\0W,YY0`"9'Z)G#(AWM\IR,.)&>/9(#U`SL4#M#G"29(]\
-MH2(@29/8HV-BGJ.T[IG#TG=`-,0W&?:43@Z"1J,')3.PPC^KY39`]C@^Z!P6
-MP<;^Z;MW[IS,$AWU*0F2<!`V8G`A.W$D1E.(CY2<X&)@1&R!Q,D.(QE.);C8
-M'!GA"UL9))X1G\QB806ZUG:MZ+1O67M-]>H]S7VP:060<'WD*FP;C'R1*.LW
-M)#H!&9!0-(:XG3(CN@)T$0/J!RBTC6886G_#RHX!_-()W2)@S/\`F$!O>3F(
-MDS`$(#(/'RG:9.2?<)%OTR@1W_1$"X/:0)0T\D_NB+=9@`YW0+(G5B0G/YRX
-M#XW3D:J<$NG?;W2U$$S!&^/KR@31+-0(D',82$:-I,X"=K26''Z[IP(=!=C;
-M<_Y(IQ/L9C*)C9:!)SPE,8TS/;9/2:X#L9F5=(3@X``#'"-S8.7<*32UU*)R
-M.R'2';MF,RHIG4R,$1&^=D_I`&,C*DIM+O:<H7:FNVV32&(UAA=.>4=4`50U
-MC1,3/=,,.D`X_J*>OZB=R1G]%+RL5WODZ1W&,B$X<YIP9U[R=T[V&#J.V,('
-M-B()E72K%!Q:&N:8TYG?,JQ>75>_O*EY=NFI4RX@``G[*I1IR#@>YE2-_P"8
-M""94T@2[33,`R!A/2.LZS@#9-<5'U:HF2[8'X&%)IAH:(]/92KHC(VF>X128
-M$GU>R%V'`<\II.DP"H$]TOB?5VV2<9&J3'9-!+06DB3ND`YQ)B>#[JD+5!!^
-MIRDQVH@.<1[IIC9N/W2&",`DG<H:,20^03.^2F<0(#9^4X):`Z9B2<80@<DH
-ML$YP#1!SRD#G\T=D,``:O@2?9)\AL''8]T$]Y1J4"P/+':FBH-+@<'/W4#7D
-MR282<6C`,%VW*$D-)@&)'/*0.7G43P/9#K<1,C)W'*;?;[IL#DXW5#Z\:=1S
-MW3/)U#)CL=@F$N<&EPR([H2TAK@?J@(%T8=]$Y>7-`D1*3,?F<)2):_!@>RJ
-M&&,Q@;J#S`YP=ICV5BXKTS0TM;\E5?1,D'XE('J/$Q(@\!(U(;&H#ZIBT`3]
-M0AC$%TJAR\E\"#'.R;4!L,X3`AN(XR4(C)@[J`G.)&`W`^$['2\@C(&(*9I@
-M3!/RG8UFF9W1`EV9D8V2EQ=O*8MGMVW3Y$@1/[H'UX2:X3!/W3``M^".4VSA
-MJ]0]T!DB3`QLF>['.>R;TZ@0=^4PWD@F>`$#ZL1!@29[(FN(//P90$3,@0>"
-MEIT^D9CD(B4.'((CWW4U")]IG95F07'2I:8`]6Y$*PZ:U!X=1:9C'9'J_P"K
-M]%%;,8Z@USG"2I/*I_X@IJ)Q^%>\@2,3[\*G4]3L`EQ=/*O7H&HXP.9W56A7
-M=;W(JM]4;`JU52K&DP#W`0/!TC(R.>%(]TDDF0=T!,NF?NH!.^<@X3<;P2G&
-M"#''=.W2=6K&,(&+L'`SW2&_"8DN@0!'LF9@QD#V0.#B0V9X1,:PYTY/NASP
-M"DW?)_1!)`!@SGF4U,G3S]$1!+@&`D^PDH6983G"J'):3GYW2DS\(=68(&$1
-MP=OD%%*8$9R>$[SO'9,TPX#VYY0D^QR@7],$E/3U!TZL^R8`:9RDT9,X]T03
-MR"P;GC!W34R2X8^Z1([8Y2#@#Z.$4XG9VR0<3)SE)I!$$`9V'"0/](D"5`[7
-M'5+C!'LE4<7.`WX3&/,+@/NE4@B6SODH!;D3J/.R<[S((Y2&G5D3/,I#\\EV
-M_(0+48F1":>=H/=.XX/J@H9&0#]^4#D[N)D\IB&D>K<G$#"$D$#;4B=+J(]4
-M0<!`G:M\"4AG,#'*%ID;\(VCTZ?N@8.`YCLBWR(E,6@-[IP"0`#GL$#M/JP?
-MHB+BT1CV0AL-D;!*,R1\90'J!!).3ND"-67`-Y($H<EI$0$JA:'P!I;VF4$E
-M4L:]S*1+F#\KR()'PHBWTZL0A!!/:/='Z=1AVH#F$#`RZ=S[(R=3VAVW.5&"
-M-1D[(J=33K#`(<()*`B8,`9"=A@!TG[H9D?YI.R`$$K"?*F/9)KA,P$$^C3/
-M.#E$T`28P,*@Z>\3G[),P@88$"3^RD8)]_K*`F#\HTJ:@TEQ#),]LRE86]6X
-MJM928YQ=@87J/X=?A_YY9<WU.2=@6[)&<L_5Q'2^@WE[6:VC;N(//^PNQM/P
-MZJFS];8=`V^5[!TGPO:VM`-IT6-@1`"U&=+9Y<:`I<Y.G*Y99/G6^\$7MLXM
-M;2+O=/TWP'U"X`=4HD-'?NOHJGT&E4?E@*OV_0*#:8_EA3WA[9/F^\\`WS&%
-MS:9)VC"I6O@7JE1QFB6^T[+ZAJ]!HZ/RC[*J[H%!ACRQE/>+,LX\!L_PUJNM
-M]=1V>T#O\KG_`!7X3J=(`<8=G;_9]U]']4MF6EN8;@+R[Q9:U>J=<IT?+AC3
-M^8+/OOX8V[WMYYT_PU=W-EY[:1B"29QNL.^M7VU=S'M(B0%](])Z)2I=)#?+
-M`;IB(7E/XM]&IVMX:E,0#N`KN6-8YW;SZBW2#G!*,["#./LB<'#,R)Y4=36U
-MP(R#NHZA<[47$G/)2],2TP(2(Q+DS<M```[*J>F?3VSLDT""9,'L4+02=.T=
-MDX.D$9^2@:63J:=^)3/#0,'/'LF<(,`3'ND[6!$R`-]T41_(,XA,T`MXP/[I
-M9&(!`0C83"H<Y$'Z)$-!`)GVG`2>.8$'CLE3INU"/LIMJ8VG:W40,8F$VG!/
-M;:5.VVJ.W!RI_P"#TB"TR>W98]X[3]/E5(0[D8'"8@-(@Y[=LJ^RS#:8)$_!
-MW41LW;_V5F<,OTV<4F:-0SGLB>9=C,;'LC?;5&Y:PP.0=_=1.I.#B-,'?LM2
-MQQN&4-Z`T$S*CJN)>&C')37))=C!43B0)'9:C(G!L8@@\(2T`P<1W3-,Y<,>
-MQ2<Z`<[X506ML@$`0/H@IMR`?V0@SG(5[I5A5O*=>HQ]%C:-,N.MX;/L)W*@
-MID8D&$.!DC/:4[QB3./="#O\;2G_`%#@1.?OA$T&1/*!L3`XW`*<R&X_?"*$
-M@D$=_NEB),]DP(U29B$1AS2[,#W1#``D@\)VC&`@!DD*6UKU+>X;6HF',Y(!
-M_0_*&T9;G&VR+&C^W=-J).)!/9-+L$\]R@?2"Z&R`=I2:1ORFGN8^B=OYL">
-M4!TIF6_*E:,R-Q^JB;F"7P/A2TR"<2"#NK$:-!O\H8_4H]/M^I0VU1IH-+G-
-MGW"/73_QM^RNS:.[@SJ='SF51KENJ`(^JNWS0'&#,?,*C5B-QV2FD3C!P/NA
-M<0'3(1.D849(Y60GYV"8@!^EY"9GYM]CLGJM(JG5AWNBFEL@!(#.0CI/%-^L
-ML94'(=,(6[B-CW0(!NN#D)-_-$8&Z;!?,?5$&P/<Y]D06H:P`Z('=(G,QN4)
-M(VREZ1!C94.8)G^Z(!I.K5D[H6@'(3@%K0`,*!G$:O44B!$SONAJ`.=$A(M:
-MP01QO*H(8R4XTQM/U3AK74\[\A,2'1/`C`"&BALR"1&92(R8_P`D/]$$_HG:
-MV&]OE`4;;DI1G?U!"<`:1$_5,P'.,J`OZN\)$M+3DI?TEO$]T,$[H";$3.X3
-MC?<;(3\Q]4MAC[RJ=$6P2-0W^Z%PTG<=MD3@0W>.Y*`[$%Q^94-$./5&=TY]
-M6"YL<Y2HZ)/F:M,?TF,IFQH@$S\IM3@\DY'9&V`)P2HHQV/>43>8)RB#P7',
-M`I,,`_XB<&4V(@G*$>DY!)E!(UKC@[)SO&J!W(0M#B<S":3QF-I5!-:[:-^R
-M8[P8,)A)G@A(MG<[<HIW-!P0DT;`1!00`1,_*-HDF'8^Z&R>,Z0-]Y3M;!$P
-MA=(P(3`N/930D='E9F>R3!Z)(0N)P)Y1ET",#LJ'@AHC:.Z=F6\Y]T+"Z2.%
-M)1:[2=O9$%3:&-V$GDJS86M6XJMI,:7.<<>ZKTR3Z0)/<3*]#_"+PU4O+IMW
-M49+`9`(/^2,Y9>LVZW\*_`=O2M67-S3#ZKA.1M^B]8Z+T^G;L#13`^%'X7Z>
-M*5!C-,8[+H*-L)S"YY9;<9-\T-.V!`X/LK5&U!&6Y5FVH>D<*W3I:6KFZ2*=
-MO;!KXC!5YM$%L$;?JCI4I,E6649XW4VU%-U$`:0%!7MQH/9:IH]A@J&K2$?L
-MAIS'4^GBLTC.?9<S6\/4OXT/#?RG>%Z+7MY9$96==V6=7]E=LW%S->W%.V@!
-M>7?BY8&O:/>`1&Y"]BZE2#&$'8;KS+\5*M)G3*PQLI+I9'@]]3%.I$[<*M5'
-MI;DS[*U?5'/JN(V!RJ[W=FQV7:.J"7:I:<)Y,1@E.3#C.4.2=DL4XYVQ@X2@
-M%N9)]MD+I`PW"0=N8,G$(0Q(B-N\),#G#TR>PWE6;*SK5ZA#*9"V^G]'#-+J
-MH),<KGY/+CCV]?Z?]'GYNIPPJ5K7J$0U7*72:P$.<#';9=*VVI,8T-:,(W4Q
-M@:<+RY?J;>GU?'_Y>,_LYUG23H]69[*Q;],8QTP#P!V6Z*=,4<MR=D+:3=1V
-M6+YK7JP_1>/'J,T68G#1",6L[;K1TM),`)F@%T8F%CWKK^S)\9K[2&@C'OW0
-M&W@"1[[\K7T^DN@`*&JP.PWZ*S-,O#BQZMOI=(;+NTJI6L0]Q!$'B.5N5:32
-M)(4%1AG`77'-YL_T\O<<]<=-)+LQ*IUNG5&9'J75>6W4<`_51.H!P@M77'S7
-MZ\?D_0XWF.3-N]H/I46DY#1F5TEQ;,)TN;LJ-S:-)D-A=\?)*\/D_27'IC:3
-MO@\PCHO<UXTG'(G=6*UK!D;J$L+"?3D"#(727;RW"X]ANG:ZAT1!V#0H7ZHS
-MN.4;AR1`[$IMR&@B!WX59,R0(B$JC3H!@P=O=$X`#?[%,2"`V8[1B%$T$;&.
-M$+7$"!,?LI'L+'%A,GF#,H'QJW0#,&`#)1&"/3(^J=I9`,F1M"$`$R#E`[3!
-M@B2@$]RI-W9D]T,2^3A`GOU&3GW2:[)U`3\)/P9DIZ?Y/S$]C.R`Z8!$@?JI
-MZ,3"B:`UL$`2I*>F>%J(T:+Z8I`&E/\`^)%YE/\`^'_^=/1T>4/[(_0FDVCN
-MR&/CN=E1KM+GX`#5=O<./:?LJ=?6`!CVREYK2*N"&Y:-/=0`1O!5BYK&I3:S
-M2T>6W3@;_*KDSF!\+*[`\`"<]R$CDYA.7&#(&4P=),`(A^Y`S^Z1)!G0/A,=
-M]Q\)&#C5&$#P#Z2V9X",`!LM)'_2=T#7%K@1N<R41<XF9SQ*!C.F(,_"<-);
-M._(2#AF1/]DYB=A@<(A-(TSRD6D`&##ML)R=+<_IRDYSB!,EHVRJI.#1I.#(
-MRFCU2X9X[)$MU#&W"=S@1!;[94`2)&"B;@Q&1R2CMWTZ-4.=3#\'!)$'O]$S
-MSK)+B23V0`1F0#_FB:8;MGB4TM!RG=AOI=/?*H9QSDDG=,/4,XSR44EID8CN
-MFJ/UO+XR=XP$#[@;F#'T0N#0?E.UPTG)U<)G$8).5.@PTQ/Z)R<8.#PFF`3*
-M?TDS.$#/`QZOHA/IR8^Z,D1!^Z9SN`90"T[%I_5(CG4$<&20<\?"0'HG(A`!
-MCO/N$1+9].P3-!,G)^B,$;($((D&<;%-I([81,AN9G.R<]S'N@'$#)2:6@GD
-M)CM&"=Y2TS)]\%-!.:0V3LG;H(]3@R!RF</1._&H)R&@X/V"`>#,2B;!SB`/
-MNF8-6J8QF$YTGL([H%)B"A8)SC")FF9)D>R1&"-`^Z!FZ2!,(V#!C9`S)C`"
-MDIZ<D!`J>)&H`*:@T:B'\;94+&@G8#WV5FDT;8'U07NAV#[J]ITJ8U&HZ.Z^
-MCOPPZ"VRZ328&@$-$XB5X_\`@OTT777FU32U"G]>R^DO#EJVG;LP-EC*Z<L^
-M;IJ]+M]+0TC;W6@RB0Z>!W0VS0T",?"O-8'-Y*YTD*W;F8PK0IEPD;)K.E(R
-MKK&%K0UH$$9*EK2O18(^%<HTY;@<(64X*LTQZ/[J-:1!DQ*"I1!G4"K(:/CV
-M3$`^R&F?5I`">W"IW5'!ANZUJS`!)^%4N*;2,$PAIRW7*.JF6E>7?B%TFI>T
-MJE!LC5B3E>S=3H-=3,#9>=>-*#VO<ZEN#V4MXX23EXZS\-R\ZGW&_LJ/B?P$
-M+&U%6WJ%[HV*ZSJMWX@H5GOI4'>4WDA8W4^MUG4]%VUTQDA<9Y?)/CO/'OJO
-M-Z]I5H.TU&$9@X4-1@$P?ONO0NFVEEUB62))W6%XR\+W/3'&K2!=3<=X.%Z,
-M?-+=4]+O3EG#T0>5+:TV.J,&K$[!.:,#U'`XA36+:0K!I#H_ISRM7+AZ,/!K
-M*>SI^AVM(46QDE:1MVZ9)CYV6?TJHUE-K08+1F<J[4NB[!(@]E\O/?L_5^&8
-MS"2#K:1#0&^G$@;J!\<?HC+@3OOOVA`/S;Q!VE9D=./@BW@N.`AT@$S@QW1S
-MQJ0%PU$`[JZ2TU(@$SOV3XU;X0GY3L.8_NK(S:(&<$X0`28F?JCI^IV`#/NI
-M&-(,N(CNAPKU&X.3*K/;+B3^ZON#"X2H:M,3(:?E:QK&6*F*8`)X*%U,:O2,
-MJT6:A(S\H"P`8'ZK<KE<5%],&2,=U!6IM..ZT7MEN,2H33!DQ,+4R<<O&RJE
-ML)G2/B54NK=K3J#9G"V31+@8;!*KU:+7&'M,QN,+MCF\OD_3RL"M99]+8',E
-M4Z]%S,1)/*Z!U,ZC#3'=05*#"TRPN]EVGD>#R?I9\8);D$@X]DM.T_<K3JVK
-M"8S`56M;N!,"0NLRV\>?BN*N0-+3DGDJ,@&9;]U+5:1(((`P(49;%,N&\K3E
-MK0?2#@(FMD3^Q0AI,G^Z)K=HDQP@0`/TX2.()!`*6-X..4BW$Y^VR`<$R?OE
-M'#=>MS0?;9#_`%R<_=2>HC),#[HA4V@O`!&3B2K+:3J54L?^8;P0?V5=@+7X
-M&_<*9H((F9[+2::-$GRADHI/<IJ!FBTYVY1K)PCO8#03$DP1'"IO+7#3'&X*
-MNWAET-[[]U1J@9S@SRK5TKN.#&^V2FU`,DP>$50P)(!08#)].4`!P:9W2,'(
-M@?"1;!QM"1T[&8X4"F>('LD73N,\)$2<"$@UL[[=@AH[@W!&4\@`2AF,-$=D
-M0((/I*!1/'PGJ`#&_NAV`(^ONB@3,Q`RD*6F(S[%,(C!V1`@$1&4(.8T[?J@
-M)P&#P3PDZ"9@;X3$0X#(3;-R1WA`W<GOM"DHEC6G6P/!$"9$'OA"=)<3D3RD
-M6>G5M&=^(0(PYT`&#R2F`@S(ENV)3P,D&1$(20?2#))A`[LM.WP.4M+3`#ON
-MD/T30"[&)0.1,YVRFB&#YP$@")$_F2C3SE#1')P/CLG@;;)FQL#LG9&,F!C?
-M=`G&#!,@]D,>WU3Z(&K,3"8?E(!S*!P($Y^=TX`(._<Y0G4($F-\I`$`'7(]
-MR@=N''2GTX!.24IWGD=TL:B03E`^F'1V]TSH+AJP.4A&K#DQ'O\`=`FALP#C
-MNC/I(@QVA1P6SZH@I\H$<@R[Z]TV8+2222D8!B/HGAH;((<>QP`@;40R`1ZA
-MF0EN`(R,$IB"!NB:-I/&R!B"#N91-P"<D)1!C]$,'43DRBK8J6W_``KRO()N
-M/,U"J''#8_+'SR@#G"WT;MU3]5".YW^45/5,;3V4T@F`AVX([>ZN6=)U6JUC
-M#)<8WA4QJ#N-UT/@6W;5Z_:-J:2USQ/;<*I7M7X)>'/X/IE*K48-=4!Q/.P]
-ME[#TVDQE!HD;!<GX2ITZ-A2T@"`/V746=4'2&F5QSRY<<8U:#"2(,1NM&UI2
-M`9,'=4^FM$!QC9:UM3!`@X66XEITVC:?96*;?Y1)Q'"&G3B".%(3(`;V4K41
-M'+H!*FHR8$Y]T-.D7.!*LTF!A$Y[*:5&01$HFM&G5^ZE=3!$\)FLTM@YE%0U
-M&F/95+FG(GLK]8D^F8,*A>`G`A+1F7X]!,?*Y?JMHRO6ES!`.5T=_4+9!&.Z
-MQ+BH"7$B(&%C*FF/UNWL'VIM/+:`X:0LNX_":UZ_T\MH-(J.&".Z@N:[W^)M
-M)R`?[KU#\,NMT+6[;0K.&1&5Y/W+A=UWF&^GR?XZ\+=;_#SQ2VUNVO;2<[4U
-MYF")_P!%V'2[=OB7PT0&@E[(F)S"]6_\9%C8=:\(_P`51:UU>V]0<W>,KRK\
-M`:NJU?:U#,9S\#"WGG,M91N;T\?\7]/N.D=<K65=NG0XP8W$[K*MWO-0.&8]
-MEZG_`.(GI/\`_<MO6IL'\RG!('N5QW3^FM92:"UTC,%>F>7&8O3X?#Y//=AZ
-M?4K-HB08]E>I:B(_0\*:VM<#TG'SA7&VA#@"V9]EY,LY:^]XO'<<=519J),Y
-M/"-I>(EH6M;]-J.:!Y#B79P%J],\*W-=H?HT@;:@LSGIK/R8X3=KE1KW@Y2#
-M:T?E.>5WMGX.`<#6=,C(6W;>%K%E-H-%KL025VQ\-KP^7_T?'A>.7DP9<$C0
-MUP=QA6Z'2NHU73Y+W%QDSRO6*/ARRI^H4F`]EHVUE;,9'EB`NV/@GVO'Y/\`
-MUO\`\QY78^&.IU&RYND^ZL,\)W^DAQ:#[+U&E;T22)$=D?ETI(C$+7[.#SW_
-M`-3S?'EG_E&]TE^H'YW0N\)7;F>H@$GY7J-S3IM&1QM*K-8P.VW[J_LX)_\`
-M4\SR^X\*7S#Z:<@'$*"MX:OV"32,[X7K;J3'#\L(76M$M]7V3]C%9_ZOE^O%
-M;SI=W1,&@<;JE5H.#9#")]E[7==.MZH(-,&5F77A^S>Z/*;]E+X)\KMC_P"K
-M_P#J/'GM(RX`905*(\LN*]4OO"-BYN*<$]ES_6/"#X)MS_\`A_V%F^'+X[X_
-M^CXLN+PX"XI2,CN5"6MC@SA=+?\`AJ^I./\`+)![2L6YLJM#4'TG-+=Y!_R4
-M]<HZ_N89\RLNK3(<9`(G_94+V!S",Z09VW5RX$R"9C8*.F*8.W$K<KAGC*SZ
-MELTTY,0J-Q0(>0&Q[+<K,!(`[[J"K2!F``%N9O-Y/!*PJP+7Z2/RA,UWM"TK
-MRW#Q``(6?6IAE2(D3DE=L<MO%Y/'<48@R<X1;'<QR$5%K#J#Z@;,^J#PA<`#
-M`(`[K3D$:2,?:=U+2<`-R%&#)U'/8(@&F26^V#$%5!-<"[.2IJ)$ZR"H`&AH
-M..>5-0@$`^^%4:M`32:0#$(M+O\`"5!39%,>MR+1_P!;E4W"OC,@M.,22>ZI
-M5#L#B`K=WO+HDA4J@:79'ZK-:1O.O/W05`2X"!`'Z(X(,EP@CNHWY(P84.@N
-M@'WW3$F(Y3R0[OREJ:701`Y0"Z0\&1!Q*41#6QMV3.,NW.F4@<9&=D#_`&WV
-M*D86B3@8Q$84<B(V")D;DY0*,X_[(GY=)B-I":9($#Z;)YR1O"(?!`@2`>Z9
-MPTD2/LG!YS&WPD\!I<6@ELX*<*%HB=]L>Z?!+2XR(C'"9I/`YW31!COE`1]+
-M8WD\X2<"1Q`.R$EI@`00<E.8\LG(C]4"<T2#L/;)A*)',SOLF)$B),^R0(B?
-MR^R!#`F3V3.$.)S]4Y,C`3#!GWD\H''S@#;NG<6N@1D[(2<D@C=,XP`<24"A
-MP+FDG)@A24VDX+@,')/*!I!;O]43G"=P@3XDC;/="V2T2!ON4Y$@"4P,-Y^?
-M9`S7=C(2+A,$[8,I2#J[>Q31Z<9`]T$A@S,8&$FY(`CZ(0!(V$[3.?A%)C?<
-M(O18#?HG`+6->Z(?C[(=Q^B=Q,MD^PE$,[5P<#DIH)GDI5!#N/@)-'K$.F$!
-M.;I9)<"(G!W48G5O$G8HW3DNV03!11D-T$`@&$@[88QN"DT"&S@E*/1C;LH@
-M00\P=OA&=R!C.)0T\&(W3D'5![JZ#N/!,(V.B21GN$+0TF"G.V=D!TX)U#E;
-MGA&N+?KEO6C#'`[_``L*1O'T6ATUPIUF/R8,YPI87E]0>$KYMQTN@YCL.`./
-M@+LNBTW5-,X$;]UY5^"5S5O^ET0=F`"3/LO9NA6^BFS&?V7&SEQC7Z;2AH)X
-M[+5M@T&.V%2M6P,<]U;HNR,@?59;BU(:TYGZI4A+O;E1.S$!3VPVD*?6DU)H
-M&)4C&2-X2:T1Q,(I:,3[?"H<#2()F#RF(G`10#A,[TLD&(10.I>C5&V.RH7[
-MM+'9V"MW-7T?FC'?=9=\^=0=RH.8\27[:3RW(E4NG!UY(:/S<!0>--+:X(=R
-MH/#W6:-D]_G/`U#!*\N>?K77'';,\16'\'U`U?ZAF"LZTZQ4M[X.UF0Y:/C?
-MK-"ZJZZ+A`9!(^JXVR+ZO4`."9)7&WV:ZKM?%]Z>I^&JE*H20ZGM]%P'X:6M
-M>RZQ7-++02/U"[#J=84^D>6#)+8CZ*CX2LC1I5*C6$N>2DWKUC4NG+?B]KO.
-MJT61EC>WN5@]'Z#>73FZ:+HVD@KTR[\/_P`=U'^)JTR2T1!"UK#HK+>D`RFU
-MH[0N^'AM_L]W_P!#'PX3'"<N(Z1X.>S2^X/P`%NT/"UK3A[J;3\C_1=2VTEA
-M):.P3_P[BT""N^/AQG.GES_]'RY_63;]%MFL;I8W`X"M4[)M.G#6A:5M;9DE
-M7&6[-.6B1NNDQD>7+S99=USKK5_F3"E%M4$`K;-!NK`1?PX+IC;E:<K:QJMF
-MXM,#)0T;,S&X*WFVX.XD0B-NP"=@K-);6&VR.HN.(X4IL<2(@96KY0+@0%.R
-MCZ0`?HJCGZE@7G/"B_@M.=,KI'T1,!JBJV[7$@A6)ISC[>IO^BCKVSRXZ9A=
-M#Y!DB(X0U;<#>)A!S+J%5C9(.$#608(GE=)5M6.'TX5.I9-+L(;8E1C2[2!^
-MJ@N*`$P-^ZV+NPT9`YW55]!PG5'=-&V'5M&5'9:(&=EG]5Z!95J;@ZBP`C<!
-M=$ZFW7@?9!68'$`-SLKTLRL>:]:\#TGS4HXGC_87-=7\)7EHPN:USF^R]IK6
-M\#+1GV52O9TJK-+F@@[@J62]QVQ_4YX_7@%6UK47N\QKA'>5#7T"F8&W=>S=
-M?\,6EXPN--K701@;K@O$_@^ZM];Z#"?CLLWP[YCUX?K9>*XQ_J!=V&RJWE(.
-M;@;[+4NK*O;^FJTMA4[ILM(VCCNL3<KKGK/';*:`TGV3M<`UX+=3G#!).$SP
-M?,Q(0O'^&?HN[YUT%FG6(!$^Z,;0),(8(@9]RB.#Z096D$&QG)_93T`T/@F(
-M&R@!AAD%2TCD>J!SA-)PTZ6D4P"[CN44L_Q_J5%3<\,`#G$!/KJ=W*^IN%>;
-M%Q<X=O=4ZK6A\R3"MWC1F-]U2JD`ZHRLUI&2!(^JC<8GG^Z-T:/?Y0R`T&#*
-M:0!+3S!CE,=,X,]T[FGG,IN<?6"H!D0`""C$%\'O!S"9TMXWY*$9@@GZ(IW`
-M`;_*3?I'$)-TDAIU1.1,)V!@>700R<2J@VMP,GV[)%PWD`QLE(V$I.;F"443
-M1C3(E#4WXSPGW.!OB4+L`0B':1_LIY'F#\H'OE`W?:/=.!P<\H=E4TS$G*6)
-MTB3!W)0U`9B1&Z<!LS(C_"$#X$C8>R3_`$`01!V*$@%WM[2A($3!440+8DP>
-M_P`)-]7'LFW$@@$<).:X$#(,3"(<Q`,)C@R3LD1D28"9X$;P@0@-C5&K>$3=
-MI]D.B&CU;IZ8/.?9%.W2'1$F.4Y'9XD\H""`08![RA`)[0/=!+H`HZB]KB3^
-M4`RFQIB!\%#"<?E`+C/(*0.T3`+H]Y1:<8.$&[MOH"GWF(&(D(:2`L-/3$.D
-MYE"3G(VRG8)S*C=^;V"`B`8[\IM()X)2.`3,?W3%I:[5)&-R@,8;G890.:"[
-M`]TXUQC>3E-SEKI*`FQHQCB>R>(&#N4)V`[CE.X>GCY"!VCU2,]D[@#.\I@)
-M`EQ(`[IVF!/*(36_U"!",@:-6!/"C:7-.F)&$[LY&P/*`P&^V=RM"P8YSF@3
-M/8+.8'<NTQ^JT.CG_P!2UI."X82CZ5_`*Q90Z!0)`EPF3]%Z]8M](`_1>7_@
-MY58WHMLT<,'[!>G=/K#2#.ZY95QQC2HXW^ZN4F8&RIT'<\*U3<(X6'18IM$[
-M^RLT0`/T56F9((^JMTHP9V14S8#"XCZ*"I5/F1SW4I&(!4+J<&82K$U"H8,G
-M,IJK_>4-,:<G)2JQ'*""Y<2/U5&\`@DX/"N5G2=\CLJ%T0>0%#3A_'#'AP<)
-MB<X7"=>N"2&,)'<SLO5O$5@RO0=.>5YSXDZ.ZD7/:V2"N.?B]NFL<],FI;U/
-MX)I+IGNJ@K,MGR-QE3BI</\`Y.DG^RT_#_ANO>W#7U&G3,Y7*>'*_&O:`Z1;
-M7?5*S1I(9O\`*[OH_2&6UJT:1,=E>Z#T2C96[0&B5IOIZ6B&X7HP\4Q8N5K/
-M99TV@@`;3LH*U%C7:8"TVTGF1D(769).)*ZQBLKR#'ID\J7R/3^671@+4IV9
-MQNK%*P<2"6R5H8M&T=@Z4?\`#/#IC!X"Z&GT\\L'LI!T\NC"I(YW^#($[J6C
-M;3(^JZ.GTX!OY0C;TYK0(:$-.=_@L;;H76T#9=2;`%L`2H*G3`'9"&G/?PX:
-MV0W"C-/3,#]UT3NG']5!4Z:X@]BJ:8+J<_EYW1A@B#QPM&K8.!(TE!_!G)VQ
-ME$9KZ0&PW0NH-+<P!W5^I0]6)P@J48;M'LJC/K46Z?3RJOD>K:%JBF9(C=15
-MJ0DGE!F/HASH.QY*AK6D[#9:3:<.)_=1U</CCE$8%?I_J=$2JS[)[28;(!70
-MUJ37"0`JU1C6B9E7;.F!<4R`0YIVV*HUJ#@[6`8[!=%<V[*GJPJEQ;`43!QV
-M*2&W.UVDN`@]U5N*`J>E[9"V:E"23'W52K3@D!NRHX[Q'X9MKT.+&!K_`&Y7
-MGWB?PO<V)<X,);G9>TU6%C28A9E[:T;MQ:^#\J\7MO#RY8=/G6_MWTZQU@@[
-M0JO'8KU[QQX.I50^M;MAR\RZSTRXL:[A49!G'LM7'4W&YY)E6<W!B)([A/,N
-MV&G9/4`D3QOW2C.28696M'@@',X[*6W!U`#G*!L!HQ[94M`-<2X"(*J::--\
-M4P"V?<!%K'^`_8(:#:?E-U.@QME'II?X_P!U/:&J"Y]+BT&`<$0J56)G<<1*
-MMW3?ZI$\A57B=GP)R>RM`U6T&V;'MJEU5SB',TX`[RH!^;=$\^K!!08=.8(X
-M[J!-;_U2.R$M<)D0>Z=I@YPED`D.SW)0"]I(DB?JK+`*-E4(>TOK```;CNJY
-M+B28VY3.RV!QPH&#3&J/U2`C,'X28<29^Z?7F0<'NJ#IR':Q,QC.R%P).`#/
-M,H28.TH@2'9.-E#9Z>VYE)XW!;/:$MAV0ZR3/?94/Q[)#3W^H0Y<#`VWA,"#
-M+H(*`G279PEI,;[YQE,2!DRBD:9S\!`+MH/Z(28<"6Z@/U1-TCN/=-5<=69A
-M-*$'?LB)<,SN(3.(@P)0D@`X/RH"DY,<)'CW*8G,?=(.,Q&P0.)C3LG)(,-.
-M=Y".JRFV@VHVL'$[MY"BU:=\]E=!W%SO<C<I,&#,^T'E,'N:)82)WSNGU8D?
-MHH&,9$9E,Z!RG+R#IS'N83AP@;#W"!-D-Y^919T%QVVSRF!&Z(N;Y<;'5R@$
-M$`R/T1``N,3!V3M>TM(."$@0?A`+H!@S\H2'''[HR3IC!^0F(@F?M*H;3F2Z
-M`4OS2(!]TX(CB1PD`.,=RH%`$22DV(Y/LE@G/T3C3&((F,HAVB"1]$M#MHG2
-M<PFV(`'W3@D2/\7NBGDHBXEA:W8J-Q),$B>(1@P,X]Y0)N/G96^G/+:@)G&%
-M4P3),@^ZFH%K8,Q"#Z&_!#K!J=.I4M660-U[3T>L'4FS\[KYE_`GJM*C>>2Y
-MP&H[DKZ&Z-=--%I:<'LN.3EU77V]00.)X4VO.)PLBQN6N$3^JTK7U#<P?=9L
-M:B_;N)*NT2-,;*C1@*Y2(,2BI2Z,)4W3(*9S03C*8PTS$2BI'1&^.ZBK/$0A
-M?&C_`#4);//V2@*ASA0NIR=1W5P4H;LF%'!(4T,R\I![(E<]U?IU.H3S*ZNZ
-M8!L#*RZU#SGD?LJECDK+P_1_BB[2")76=*Z73HT!I8!"NVG3PUH<0M&WM]+`
-M%I-*3+8Z1B$S[<G@+5\K`'9*I18UA)5TK,%J`)`"E9:@P3"FJUJ5-N7"/E9_
-M4.M6U!I'F-GY6+G(U,;6C3HTPV3IPG#Z+($@#W7*7OBBBUITU6_=8=YXO9KT
-MBKGB2N67GDZ=,?%:]&JWM%HPYJB'4:6K\X`7F%UXO#&F:F!S*JT?&]`U-)JM
-M!^5SOGKI/"]=;U&F'?F&R1ZBT\[+SFS\34*K`?-!GW5ZVZY3?4TBJ%)Y:U^U
-M'=4^IM$Y4M._:\#(*Y&A>^9EKMU8%RYH_,M3R5+XXZS^)I.;^Z<5J+O3@2N7
-MI7;MR25)_%/U#2\_"W/-6?VG2>73?S]$#K)AF`/HL2EU"HSG;E6:/5SR2MSS
-M?EB^);K=/;I,#/95:UA(,"`K5/J5-[<D%6:=U1>W,`+I/)*YWQU@/LBV7053
-MN:'(;E=:ZE1>"1"K5NGTG">%N65BXZ<DZWAIE5JM$3!P%TUS8$$@`1*HU;`@
-MDQNJS8Q:E!@;@'OV5"XI>HY,!;=:W<#$3"JU[:0=059L8D!KLY"CN*;7D#A:
-M56VD$8^57\HM.1*(RZ]!H!`;"H5:$/)B%NW%$ETZ57N:`TR1*K+G[ND"TF-E
-MEUK5S27[+JW6[<N(A4KVW#@0UL2J.9K4V/I$/R2N4\6^%;?J+7/@:O;_`+KO
-M+BV:#D2JE:BSZ+4RLZ37U\\>).B5;"Z>W3(G!A8P8`2"(CB%[_XEZ%:7])S0
-MP!W=>7>,?"E6SJN?2G3RKZR\QVQ\F^*Y-K00!.VZFI?F&<IKBD*3S3$R.4=$
-MC!,++HOT0/*$X/RBTCO^J:B!Y0D@(]+?\014%T&C())[*I4(U06P1A7K@`O,
-MP>-U4>X$1@-X'*"#3/J@X0.QQ,J4O@$MVV(0.#0!ZM]S*B(R!$@E"8(C@*1[
-MB7N>3E,6^D.<TP=O=!&WW._NGJ=VDM`2[XF$CF)CX4-!!C`._='2@RV(Q,RF
-M=$3&W"9F&QGZ\*FC@$?U$GV2<8Q()*4AVY2T@$,@^Y0-)!S'NDT-G'.R*8<9
-M2&F`#@\J&@M`,F4QPX@[*2&[@?5,6^@F!.T*P1N.<9E$T`,F8C=#IAW^PC:&
-MQ`P.5%)@`IZI;OM.4!GC3D=D6`US8,[C*3P'8;P%0VG`C'LF+27]D36X#G3G
-MDIBX!T@@>Z`8&"4T0=_UW1%H.9)!0N@$_M*@:8WRGUY@?J4MX'*3&M[Q_=#1
-M$G3,QW1%Q&<Q\I@T;;$^Z3`Z8,GX0T3A@8X[ICW('Q*DTAV=1S[IJC0(TN(^
-MJIH(/$@)'8NW]TX``R0$HD&<B>ZAHFX.-N?=.TY'LD1O'";\L'<E4&(.Z;)D
-M$(1)!S]TH.H;GW"&CD`9V1..8'VWE,&EQWCY38D0=T!8+0`(*:/3L8Y1.:9R
-M1MRF`@YGW(4".!L430]L5`"T;C";?Y&Z1F2V20$31.C5(3.,-`2`=&^Z3PW2
-M,S[*KHPTC(A24JFDZH!`X,J(F#QA.-LF1[%#3;\+=2J=.ZC2K4GQ!V[+Z2_#
-MOQ'1O>ETWBL"Z,B>?NOE<&#.K]5U7@OQ;>='J-#3%/V)/]USSQ^Q+CM]8]+Z
-MB-7YC]UU/2:XJ-!#XYW7A7@?QG;=0H-+ZH;4Y;,2?NO1/#O7FD@&JT_!7&\,
-MZL[>E47M#<E6:-1O*Y.AUIAAKB!*T;?J+7'+@1\J;5T+7MYA!7JR-A[K/H7`
-M<?S?53ZQO*JI6^KW"GI4S@`_HH6.;N/NIJ=3L1CE6"4-#1.?A,UYIG5@SB"$
-M+W@'?=0U:K3/L@JW>7$CE*RMM3M1PC#=1WGV5RR8`?=6(L4[66`A05'LIDR1
-MA6ZUS3I4"=0PN"\:^(_X?4VD<[83+.2+CCMTU[U:WH-)-1N/=<OXB\;VU&D6
-M4WR1OE>:]>\0]3JEVESH/RL!]:[N'ES]><%>3/RVN^/CCM.K>.JKI#7&/E<C
-MU[Q;?.)<"\@^_P#JH6]+KOD^HS&\JQ0Z`^JPAU,GY"QWVZS4857Q5?UC'K`F
-M)@PJUQU#J3G"H*CBWVE;=;PHYM:(.G?'?[+8Z5T6EH%-S,C@C">L=/:3IA])
-M=7O:!;5)SC.ZSO$/2KRE4-6DXP.R[K_@[:%0.:W3_97*G2V5Z&DM!/=)-,^U
-MEW'GO1+R^H/%-Y,#NM^EU&XIM\S45?J=":VM(;'O""KTPAT:#'"Q8U[;;'AS
-MKS]3653@>ZZZROJ==DM(7GM&P?3:'#$+6Z76K4:@:7'"2V+K;M#5WAREIO?/
-ML%C65Q,:C'NM>@6%HV^JU*FA.JNU0)1M>X['9`Z"TY^B!WY/VRM,Z6F5W-Q)
-M@X4S+EXR'&5EE\#>5(VIZ<.A39ILTNIU6`2?U5ZWZN',+7+FJ;R2<IV/(Q*W
-M,[&,L)75"]HU!N/?*E#:-5F'#X7)&X<UI+7J2VZI4IF!4)"ZX^9ROA=#=6-/
-MR]0`^RS;FQS$?9%;=8U,`<<*V+RG5;!+9]UWQ\LKCEX[&#7LBT&`9E4;FV>!
-M,976NI4ZC<*C=V6#NNDRCE<7*.:0XR,J"Y@;-"W[BQ.LDM69=6NX`"TSID5Y
-MF(4+V@L@MB5JOM"&203"IU:0!C9&6'?48.V%0N;.6X"WZX(&P@\JG6AWHB6K
-M6T<M<T"'D`'[RLKJW3_XBD]I8#/LNON[7/RJ-S2TMTZ?N%>D[>&>-^@5:-R:
-ME*GCF%RX9I?!!@<+WCQ'TUMQ:U&.`)(PO)O%/1JEE<NFG@[0MV;YCKX\_E5*
-M#6FDTZ@/NBTM_P`8_5-0I12`!'V1^6>X^RY:CLJ.KUJ;*U*G5=396:&5`#AP
-MD'/V_14GP#`D_P":M7@;JF/]54J#B=\[JT`2UI`G_)';5*#!4%>FY^K8M,05
-M&R`PB.VR$.]4Q*E@,TF/>UM$N<7;`[J*."XHW!NJ0"UO!E"8(`.4`#Y^DIL"
-M)._;*.(.ES3(.W9,6MWDQ\H:"[V)'PD08TS(Y3@`S&!W"1`+<X*0"R2[)/NB
-MDAPW3M#=^R48VGX0`?9R=X#<@G/&Z=S00(&)A._3P#@(!#3IDN$?*>2)D[;)
-M@V#G>82!D<_912!@Y.`G=$C.`F($@$004[P)W]T`@2[*=QQ)^GRGB`29^(W3
-M:0002<?1`Q@QI^D).!F>/V3F0()(0N_,1G/'=`+B8B1',)LGW[)W?_<?IV2F
-M'#)309H=].R=I=M.#E.=.G=Q[(0V02#LBGU.+B<92$@?(W2S`D1"8S.#QL$!
-ML+IQWV3DQ$'9"P@-S)^41`P=39.,<(@9DR7#.8E2-UAD84;0-S@#V3M,#)D`
-MH#+O2&D9]E&XSB-S]D;3#?S2#&$X8"T\CN@`.],N'W3M_/+A',IRTR`8&R8,
-MW`+23PKHV>'9CG.R$.,SCX"-K8P3OCE!'IG[[J`B1(C8[2G$EI`'ND9D;93&
-M9S$H'GU&!`A,XNS`PC:"3$A`X<M."J!U9^46LZHC9!._^:(&<#/N5)`+7'5L
-M"3NC)`@X^J%\AP(B-L=D37<P,"/9-`B_@@83^81$8/*9NH@_?=-,CO[`HK3Z
-M9U2ZLG--*L\'V)7;>#/Q%NK2X:+EY<WN2??W7F[2Z03@GA2,G@F#NLW"9=KM
-M],=#\?6%^&!MP&NC8F%V?1>LFI3:X5<?*^0+2]JT'!U.J]KA/*[3PQ^)'4.G
-MT/*J.+QP7%<KX[&;C^'U3:]9VE^?E:_3NK-JL$/E?,O2?Q4\VMIJ@M;R05W_
-M`(8\=V):T^<,C8X7/5G998]OHWI(&=E,V[;OK`(W"\UH>.>G>2)KM/O*+_SI
-M;&`VN"1C&?[)N4>B5[T-F'?""A<^>,.,''RN/Z1U5_4BT,G2>2NOZ=3;2I#6
-MMR;9VNL>6'\TC]D]UU"G:T2XN&%5N:K:=-Q)^ZX[Q7U-Y8ZFUT`*97U:DVF\
-M4>,0POITWKC']5=?57>8=S*C?:/NJ^27%:%ET.'MAL^Z\F6[7IQD@;>QIW#-
-M6G)Y5BUZ'1G\@QG9;G3^G!M/0=BM.C9L:P`"/E6+_P`<]2Z12`/IB.5<M.FL
-M;_\`HP/HM@46@&0(_=)K6MSP4Z)&1<=+80?2"=YA5Z73-+I#1[0%T+FA^^_9
-M'3MVZ.,)VO3FZUI(+7MDA/0H:29&!PN@KV;8,#V*A;9@G9+"5AU+9K7!V,;J
-M,VS702``#PMNXLQH=ME56VWKF)E9K49-Q:CRS`_U06-LUY$B2MPV8>'$]E5M
-M[44JF<05&H@T.:T@#A:/3ZCO*#3NBI6S2Z2%*VV,^D?"B[2M,C8?=([R%+3I
-MP())"*E193:0R0)P.RK*HYA)QO\`LH7/(,*[59I$JI787.V1=&I5#\(C5]4!
-M0GTDD[A1O=I((,PIH6WU!I$#=0.<"R1(^%%K+G`26I`D:H)DY24T-]9S8TJ>
-MC=O8R0X[\*EL3G!4-2L6OC/PM)9MTEEU8C#C';*U[:_H5J8@B8R9W7$4WDLP
-M[Y4E"[J4LASH^5TQ\ECCEXY7;U&4ZK2&@+.N[`#(;NLNSZN6.ASX[Y6O;]1I
-M7#1Z@O3CY97GR\5C(N:)8XM((E9EQ;.+R<P5UC[9E:7`A4;RP@#&/E=Y7#+%
-MRMU0=I/99E9NA\1GA=1>VS@8`$+,OK?09Y"U&+-,>H/3J+=/UE4KVF'QZ<E:
-M-U3<7%NK2!^J@K,I@8=!"LX1SG4K,E\'DRN;\4])IW=B6%@<Z-NR[CJ%'4#I
-M[\+*N;4#&_<]U9=7;.GD%3P_58\M;L#W3?\``:W;]5Z?4Z30>\N(R>Z;_@]O
-MV"W_`!=?W*\#NZD/APSR=U4JOAT@8XY4U?\`.2,859PAW8>Y7.NVR+H.TB,%
-M,7##HC'>0FQ$B$S@`T=SQMA0V,U6;-!@C8H?,TD.8=MI0%H`F9A`(,AT^R"5
-M]8OJE[R2YYDDF24.L3JSGNA@:9!Q/^PE&(S!W0V(5#N`2"93O>#F<GD(/3R=
-MT.`"V-C\0AM*7@MD[[$RG;4&PD:0HP`>8]O9+$S.P022,DG!2#O1$X''NHY`
-M[YV2:(S.>Z`@0'0-MLIVN9D\;*,@S,XC9-`!DN@'A%'Z9U<#$HG.86CG/*BW
-M><E'JW`.3RB;.'-V=(/()V17#6MKEK*S*FQU-F-O<!009,0$HD';Y)1=I:=1
-MC7`U`'CELD<>R'6W0TM.1PHL@`0(&Y3`8,9A#:1SFAN\CO*4LC\V3R@CD8"1
-M&<X@("V$1CV*)IQ!A1Q)DGA(-,?JIHV,/;J.8!3ES"Z3IGVQ"`M(WV]D)C)G
-MX"NC:1I;F#PD).9;@[J(Z@8//9.<`'ME!(UP@B`>9*(P&@%TQNHH@9VYRDT2
-M,J&TNKT_F&/T14:C09G'90`&,?;NFC.VWNJ;62[UR#(D)FS&#C]E"&.B8._&
-M82(AOPH;3D`#?9"/SQ,R@9L3,':"A&"8P=O=4VL?TB=C[)B?4,S.)4+2YVD@
-MP!LE,;*&UAI$!TB/=`XC!^ZB'IP23W3.RT#GE71M)N![)X'$Y*A`(?F8GNG!
-M(GV]T5,WL.$F<-])A0DGO\P48,N:9G"(E#23,_24X+2!`CVC"BUG,DMQPFU8
-MR0"-LY1=IZ<9''S!2:2)$P.Q4<@/W,<Y3:SH&=_=#:>3K&))X3AQ)D;;C*AI
-MN(V.0B$ZMX]DT;3-J.;D3@YA7+?J%RT'2\YB<K.:2V"#F.Z*B20-.2EY-MBA
-MU;J#RUIN:AT["=EZ3^%5AU7J-VRK4<[R1./NN9_#SPA5OZK:U8$L]QNOH7\.
-M^@LLZ%.*8@#Z+%D[9S\GR.O\%]*9:V;!O`75@-#!(@0J73J8I4?8+.\3=6;;
-M,--A`G`6,LM,XQ7\5=6;1I%C=SV*X[1<WUQ.8[*6GYW4+HO<XQVA;=E092I;
-M+R9WV[>G&:!TKIS*(!?$K5H46X`&%%2:YYX4]'7OL>5C;K(MT6L`G2G>0'"%
-M$R3N8Y1!CC`F5-[;D.XZA&`0F;3^P1BF=)[J;R@Y@/[J=KPA\OG,*Q1;!C>$
-M@SB"/HC8P$AORKK25)I:3D`=_9(6[=)@#Z)B0-A/"-KQMA:E9TJ5:68CY4#[
-M?2"8RM%PE^P3:0Z,*5J*`I13_=4G4?YA@8'=;GDRT[2JXMP2#A9UPUM4MZ`@
-M$_JIJ5-IF0K#J):.WU0-9$08/92B(,=JP,!3-I_RSW4]&F3EQ^JE%.7#N4D&
-M959B'#!Q"J7-*#$;=EM5J30W;*HUZ4O@<;H,FNQT$D0J[R)C<[+3NZ3B-L+,
-MK-WWQRHL!4R#$9[)A4+1,92;)$&$&\JE-4<">Q]TWE!XF2/JD]P!@CZH758:
-M2W*=()K0UF#,IY;$"%!YH&"=NZ'S@';_`$2&DSAWW1T*]2B):2(XE1MJ@GF4
-M;(>V"5N,6-CIO6"QH8]Q$]EN4;FE7HX>,KAZC8!(,?W3V74*U$^EQ@<%=</)
-M<7'/QRNMNK9NIVD2LN_M"701]5-TKJ].M#:KOKW6MY5*NS4UPSLO5AY)D\F?
-MCL<1?VV@06K(J4'/J3)#5VW4["23I,'E8E]9.`)&'+MVXN<J4X>03C*KW%LW
-M20&_5:5S;Z'Z@JM5P+M)V"#--"F#!R4WD4NQ6LRC1+`2""47D4?=.%?)%<D/
-M,#.T`JN]LNQL=@58?!=),2>56?O.XXRH])J@@$.TRWLHV@@',GA&]QYR.4SO
-MRDR,<(R"1)`W^4B(V!2G>&IB3JVX[HIW:-1`.`<80.B9!(([IYDP2)[IB2)Q
-M]D#.=/(^Z)H@:L'ZH3&G#3O\)<B<E`39:,Y]QPG#1#G2,8B<E"UY`<8$GLB9
-MP"WXA`L-,&9&$],-Y=$<QND0X$AS((.QX38@J@2#N)W1-:-.<#ND#C;"=VG2
-M1[;J`,D\!(F6$&2!P4X+9&K,_1"XM#L9212@=I([)J@.K?YY2$1L?ND70TB,
-M)$,0W`)VQA,&[P41(G/ZI-B,(I@0`1PGDG)^$SC!$<]D\CB90.T'8'<[(23_
-M`$[%/J[DQNGQO*!G<9"3M)$_W2!@2'1W"0@\?K"!:6YQ$\)I@<_*)Q]&YC@'
-M9,=(=D?J@1$B!GNF:!IWA.(!F<)0W,2F@B!&9RA!&F#PC^<I/T%H`$)H,PP?
-M?E."9W28!`$P">R8B#G]$"=J(_U3M$X;B>$YD`MF0=QW3-@C+9(Y0%I;K)VC
-M8=T-0R[_`%3AH<[N!PF>-),B/8H'8).9,(!IF/;!)1$ZL>R$B,<]T#@0P'?@
-MI@9/Z).,-B4FG&V_*!P`1C/LD-0!]1CV3,.(`^,HFF),8^4#C5N/L$[9/IC,
-MY(2$@8Q^J*1(:1]$"(],0<<)J>F-DY@M$?ND(F0J&/I<5+3(,3D$IG!I!.QV
-MA.&P-ON4"(!$#E=A^'7AQW4;MKZC)8TA8/0.FOO[UC`PP2O>?PZ\/FTM6`L'
-MRLWIG+/UZ=#X.Z*RA2IT*;,-'*]+Z);MH4`-`"R?#5@U@!(B-PNB>6TZ>-EB
-MN<YY1=5Z@*%%P:1C<RN)ZC5J]1O8W"TO$UWG0WE0])HAPUN$GW7#.N^$VNV-
-M'RJ0B)A7K>F7#U)K2F2-ONKU"G!CLO/>7IQA6S`QHA3&F0"4@`'2<*1[FAN(
-M6:Z2$P"6XP5,T#&%`Q[2_)_56&'MNIMK22FUNG_52M'HQRH&$ZO2K5`#3_=6
-M4T`,,0!",LT@3^BD$.F,)G./*K*%T\H28B``GJG_`*E&7`[S`02XB)1-B9C"
-MB8X1,DX1TG09/*FQ/'I@#Y3^6,N)@CV3-)(D(Z?YC^J*!](O?`0U:`;D?16&
-M-&8'Z)ZE)KP`X2.45'08W1&".Y5@4QH,)4F'4('W4^D:)'*1*I5*0!DSE5*U
-M(:C&Q6C6:!.)A5JC6S);E18S*U"096?=6S1_3!6[7``^50K,#R3C"G2L-]')
-M)&`@\HP?9;#K=A&!@JLZD!(`0K(?3)!&WNJ]1C]/I(^@6S5H`B`,JM_#:21^
-MB:1EO;IG!*A#'ZCO'*TW6WJ,A)M!H$&$TNU&DPG?CW5BG3@;[J846L),<HF:
-M8$Q\*LVH'M.QS`55WI<9'U6D8C>)5:O2#G;;K4K"FUY:[4Q\%;/1.LN8[RWN
-MU`+*=;$B<J&M1<W:<96ION,927MZ'9W%"\H2""85#JMB8)CX7,]%ZL^V>&/<
-M1_OX7765[3O*(@CW*]/B\ORO+Y/%KIR74K0LEQ'ZK%K6O\S6Z3"[OK/3@6DM
-MV7-=4M2*1TSCL%ZIR\MX9#7M`B?U2\QO<?=,*)Y!E/Y/S]TTO#Y%K-)F71]5
-M6>0<`!6*YEQ;`&..56>1Q"E>H+@2/8)/!D2-TSMA)QV2(F'$X]D-&<,X[(2)
-M))&41`'9"X]T#$&9@&=BD9`B"2$PSMQPB<US1+AID2)Y1`$&1.Z1!X!!/&R=
-MND9<X^R8D2/[HIP)]61"(2.#'>4)@#_1%3=+80/+MR23WE-LTZ@DZ8&04TX@
-ME$.!Z9S!2W[I9#1.4I+M.?:.Z`?3S,<)`$DX=/`2AP<<X2/<[#;**>J^GJ;H
-MU;>K.Y00TGL=DY!C4[Z2D3)D'/NA#`@..GM&R0)`^>R=I+<S![)R22),H&@`
-M3E-B!E.23DY]TG0.?H@89=CZ!/.,9[I@Z,#*0)$^Z+H[-B8D]PD<MS'=-,@1
-M]@G;OB"B%@'\T=DQ[!%D[QGB4P_(80-&8.",(C@;`I-D@`&9X2&\0#V*!MAE
-M-N,\\HX)'!.^R$N&G;/[(:.&XX,?JF(,SLD)&0TY"0$MQQNH:.#B(&4BT<$'
-MW3@B-Y`V"0#]<M$&,C*!`#<\]D\M%0.C4`>4T>F"W=)L!ID?14/=.I.JEU*G
-MH:=FZIA1N]@B#26ET8:)WV0F-!Q]5`Y!<=1&!RF&Y@>^Z0(E.8!$85":V3D'
-M"<`:<#;=+4T99(/)*=H$=^Z!"1$#*<09F?HD1MRG='(DSW0T8>SI]D]-OJ@D
-M;[)@,;F?E&(&^_LBB.6P>58M[>I7<UDD@;*!NDD9,_J5VGX?]#JWMPTFF0T'
-ME&;Q'5_A/X:T-;6JLDD"%[?X8Z;%`'1"Q/`_164[:FP#``7H/3:#*-'3V6<J
-MXR;NTEK1--L]O95.LWS:--T.B%-?W+*-)V8A<AU2Z?=7&ACC!*Y99:=,<=GH
-MNJ7=QK<XD$KH>F6^&B%3Z):!K!A;MM3T`8^<KS97;TX8Z3T:(:,2`IF-QG9"
-MT@-P<!4NJ7].WIDS"Q:[1+U"Z;2!,C"R:O7*4D!T%9?5;]URYS:<Y[*G1Z/7
-MN8<7EL]ESN[>'3<C:/6FR2Q\QV5RRZR'D`N+21W6=:>'SI:,GW5D=%J-R&N!
-M"OK4]HWK6[-5FH'Z`JRR^+?S#3[K!L35M7!KP8^%J4GT[AHV"FMK&A0O&N/Y
-ME-4K!W]06-68^B8&J!V34;PZH.RSNSMJS?34>Z7%`V=63`4=&J'"094K3Z@1
-M&5N7;-@R('I&ZDH@ALB$PRTG]$3()&(5TSM-3P8S"GIM`,A1,(.5*#VQW32[
-M6*8!@2BTMG?.TJ&B1JVE66%IW"!1`P[[(RW!F4@0`)&/E-J&<H(J[/JH'4X^
-MJLN+2TF=N`JU1P#8,E18JW32-C*KADF"%;())2;2C?=.U4JC-(5=U*72X0M%
-M]+42!.%%5HC/9$9M6F&["0JM5H`)G*T+EI$P-N2J5<8/?E39I1JN]6X5.ZK%
-MA)/"N7`QJB#^ZS+MI<W)(!X4BZ05>IX(:[([JG5ZH8!UPH;\-9(:!/*R+IQ)
-M@'*9$TZ&WZDW5)=,JT.HTW-`7$UKEU/)<<=E2NNN/I,($^V84F5B7';T,WK#
-MC4/;*FIUJ+VP0"?E>3?^9;IE3,Z?=:?2O&#&U`*U32??*U,_\2^*NZOZ/]30
-M1_=6>@=0=0KBF2L;IO7;6ZIC2Z9&_P#L*=[VEVMI'>97693+IQN/RO1[6LV[
-MMPT1)&95'J=DT,((^BQO"G4SK:U[L]UV+A1N+4.!X7J\7DWQ7C\OCTXBK9-%
-M0Y_1-_!-[_HNCJ6)+S#"A_@3_@*].W#3X'N-RZ8G"KDP2"#&RL5\F&S([*"I
-MZJ8@F1B%-O2A._<#W2.H#V3NB3N1&2FJ.);OM$?"J<!P9@_KNF<"<[9A.6Q@
-MQ*8YQLHIO[[IG;03/U2(W&>R:">3\J!#,G*7S(A-M[)\=\<D(',1DR`8R433
-MG]X*`C)!G='@;<JAIGCZ%)P'"1'SC=$/RSNG8$D=\#(3">Z=P:!D^^$HD2=O
-MV0)F#R)3NB,QGNDX``9'U"1'I,<(IA^4$B>Z9\``C]D_],S!A*0/^H>R`(SB
-M<>R=@)G.Z3@``Z1GA,#/$(%IC'"49!V^4XR)/"3))$9[94"(R2(3/V_=&0#.
-M-]\JUTQ_3J=.Y%^RJ\NI$4?+,0^1!/M$JBG!C<=HW3"=6#D(FDZI`GZIRZ6P
-M2/D;H$"TN`<(2<,P)^$((@#;Y*=TD8?C_P"Y`\C3_ACLG:X@[S*;$$S@=RFU
-M9E`1)X.=D)!C"67&>P3`8,9*!`^J28'<<)R0-G<]LIB!/")C27`-&78B$"&/
-M43@IP#!,'2>3RF<V)U-@_97.FCS[6K;%S6@`U6$[D@9'U'[(*U3`$['OA"<X
-MQE.-,R,SRD[3J@;(`,C_`"3MB/5^Z3@#!VA,&R#E#9`Z3@;B-DWJGG"+9I2_
-MJS]4`QB3RB9&9F/V1%HD!IG*<-CT.G4TY:$"IZ=>DR6]P8,IB0#I&8[%.6Z9
-M;I(/,H?S/COR25%$QQ+H(1F3&G[E-0\LEQ<7#'')4]M3+W-`R51?\.]/?>7;
-M`&D@D?NO>_PS\-MHVE*:?J@25QOX.^'75`*[Z4S!R/A>[>%NG-H4VC3&%,KI
-MPROM=-+HMCY%)N`"KUU<BF,$2G>YE.F-6(7.^(;\'4QA@^Q7*UJ17\0=1=5<
-MZFUQ2Z#8N)#WY)]]E3Z=;FXN`]V5U%E1;3HC'U7FRRV]&&.EJW8&L;Z=E:%0
-M!NX5%U9K6Q(V[IA4<YN(*Y6N\BS>WK*=(Y7-7?G]0N-+7'3^RT;MCZSX.%H]
-M.LZ5"V#C^8Y6=;:WIF].Z2*;AJ))706%FP``-5>B[75@;<+5MW,ITY<8"WC'
-M/+)<M+1@:!I&%:9:4Y@M6%?^(;6U<9J"1[K/_P#.M`5L5!VR5O<CENNHN^D4
-MJK(T`#NLVXZ54MI<P$CV5OH/B"VNP/6"3[KH&TZ5Q0($%/69-XYV.1I14ECQ
-MD8(*I]0LG4W:V;>RZ+J?3#2JZV<=E5%)E1A:=QW7++'7%=\<M\QA6M5[:D1A
-M:5JX&">56NK1U*H2V?E-;EP,+E.'2S;7ID%L0$MLZH"BH$>7JG=-4>5U[<UJ
-MD\'=RFU`"`LRG4@R2K+*X(W51=IU(;&I3MJ@;'99@K09+AE%4N1$"")R5EIH
-MBI()F$+GQN539<0!D3\IZERV03G"HLNKL&^ZA<\..3E47U'.,CNIK9WJTJ-K
-M=-@+D]:0?9-3<!F$3G`CU&%649<`8]MU#7>W3A'4(+L9&RC>!&<H:4KD@M)A
-M9U8')C&T+3JL:X$!5GT@UL&,*:V,VJWDK.OFAQ(;_HM:Y87/V5.M1(.RD@Q*
-MED'DR<'.5G7UK;TY[KHZU%P8=(63=60?5.K.54<U>6C"XN#C]`L3K-E+"0S8
-MKN+BP@2!C9974NGZV$'93U-V/,>LNJT7END$#W61<U*A)>:;@!R.3\+TOJ72
-MNF^0T>5_,`AQX/NN3\06MM3)T,<Z<XG"W+)PW[[Z9W0.O5K9[6ZX`&>?[+OO
-M#GB)MT/++B';1_L+R/JE-S'DM'I.T!2^'>LU;&Z`.8Q!6KX_N+%LO%?072KK
-M14:X;E=]X6OQ5IM#SF(7C'@[KM.\HL!/JB8/_9=]X=O13<TAVZ8WZ\_DQ^5Z
-M0&L(G4,I:&?XPJ5I=TS;,/<*3^)IKU?NO+^T_/.Y=+W%I$959T`[J>M(,0(V
-MF=U7=(?&5Z;VTC<09`XY2JX`;!VS*?&L`NB3DH.=\;)0F@D3G?=,\.!S@^_*
-M:21OE(N)(!=/RH&R7<;)`ZN3D<!.R"9G,[(<;YP@6)D%WLD#@$.^Z4`F9,>P
-MA(#$?N@/`<07`\2G<X08V*%O],IW#TB!'=%(D3(Q.Z>1G.Q0_P!'O.<HL:=4
-M(AB)_JSV2,%H2<?Y@`A.0)'$A(I@.Y3F.#.,IB0#B/V2`)J$;#]40Q;G)^XW
-M2[B=TAI+^XXRFIP,@(&(EV_Y<)&0)`P$9PS!R3&$!)P3(A%+$23]$[9QF`F#
-M)P!A(@8$P@)O?^Z1:"TQ`)Q\IRUHI?F:3.R%X&D\QE`Q&./NFGD1"<`D8!A,
-M,G,Q[H'/R.Q3'!DQCE,X;QC,)VM$-<1,^_9`61C`QW2:(!.#P@(B!C[IP1.T
-MSB$!.D-$;I-QP2F@:=X]DXC7^9#9$`),:"=($SPF@2<(@&Z@9QR4$A?-'0Z(
-M&=1&4?3'`7U&HX2UC@YPC@&5"XR,$P[V3#?'&$!W`FK);OD#="-QC<X1!V`3
-MVB24S@=/^J)L,08YC!"4278,@(B#(CD(2,X/**8`8P8W3D8[X2`W))@F,IRX
-MG$J!?TB!SV2$@@B3';E/IDF)CB4;6PW/.RH0))DG+M\IH:1DF`4AJ)B2`?=.
-MT$@-YE`@PDMW(_5=E^'/AYW4;YA<UT!P,?9<_P!$Z=6O+EK&MC(SE>^_A%X:
-M%K:L?49ZW9_92UC.ZXCJ_`'0:=G0IL;3#0!L%VU.FV@WM"@Z?0IV](#:`J?6
-M^I-8TZ'?<KEEDSC#=;ZB&^EIR0>5SH=4N:Y,[G=!7J5;FK(G=:G2K4,:"3\K
-MSYY;>C#!;Z72\ILN&%>KW(IT\QLJP(`+01E*C1-5^J?NN5=I(9M1]5\SOE7:
-M;M-,9(,*2VLQL&G.ZLUK2&&!!C*QITE9U2JXU>ZN![BP1C$8*J_P[F5@8WV*
-MMTQI;D9(315RQ9Z0X1C<]UC^-.M&RM##@#NMFU>T4R-B!"\]_%-Y<2!\_.ZZ
-MXS;SY\./\5>,',8Y[ZPF<"?E<A7\>5_-.ET@']%E>/7/IW08`=)Q^Z[C\"_P
-MUZ'XDZ"[JW7*]8L-7RV4Z#@#L#)D>Z[SQX_6-^LW6A^'/CJJ^JP&J02=I^%]
-M#?AYUD7UJPN?F!SLOE?QIX9'@_\`$3^`Z=4?4MG$/ID_FTDX!@;KW7\%;ISP
-MUAF,?V7++#URX:W+'KMS2;5I;;KG[^D;:L2``"9E=-2@T&&(D+*ZU1:^FXM&
-M96?)-QT\=U6-69Y]/4(E4*E`M>8^JNL?Y;P#SA2.HM>=0V.5P[>GI3HU#^7?
-MV4E:"W/'*CKTS3<2!`05*X#(..Y5G"6`,->/A.ZH&[''RJU>LT2951]R"V`X
-M+>V%]]UIP24A>-`!!SV60^L7$29E.R9P%A6Q_&`DP2)2_BIP=OE9;6NB#REJ
-M+9.P_=%;3:NJ>ZFMG'5JGZ+$IW`!''.ZNVESD'ZJ+MO4R-`DH75`2J(NP6[I
-MZ58ND?JKM(MM<&NB=T-;).1'LHR^`)2\S8?9:A2:UN3LH:C2YY4KW`@D'/RH
-MWNS@_P"BJ*U2B`<M'OE0OHM/?93O?ZB21'LHO,SW4%2K1&F(E5&VC"XD[RM-
-MSVZ5`ZF0XN_I(51FW5NT>ENRR.IV9+3S/"Z&HTZHX56XI!P((B$B;</U&Q=4
-MEI;@[K'ZGT2CY)<\Z3W.5WMY:NF0W?*P.N=.JUIW'NKZRL[>:=<Z9T]C=)R9
-MSNN1ZI94Z3M=,F"3$<+U>\\.VOJJ5@7.))DSNN;\3=`M?))INTD;2%<<KCVW
-M;*PO`?539W+070,"%[%X=Z@*K&%KP9@@KPBO:NM;LN#@(,2O1OPYZBY[`VH[
-M((&-E<YJ^T3*;CVNQOHM*8UC92_QW_6%SMK=4A;L!)F.ZD_BJ7<_=.7+A\97
-M4$G<?[[*!PEA=!`&)!V5BX=AV?;Z*H\DN&,;A?1KA0/$R1A#48=$R43_`%'X
-M0SQL2B!`]<">Z3@!!$DSRG+CI`!PF=)`QL-^ZBFEQ)=RG@`Q)DH0X3(G*<.(
-M.)5#P8&?LG:3$1DI,)&"XP0FGW_5`8#-&"9!VXA(^IQP`$.-0DY'9'J!,.)#
-M9RE@$_\`+`G=(B!EVV(2`]6#A$0)W!$2B`R&X.4Y+HB?NG<0.,).@"/K\(&U
-M&>2>4.2#D=OE/(`:3N<)SD`@B>W"*0@.D)F@EV-Y1`C3&`)V"3G1,``H$0`Z
-M3A!$CL$3C!R`3\I`Y&=NZ!A.@-G!X3&200C=+8$C*;4)WCL.Z!MP)CY3QB9V
-M_1,2)WPD\C&-T#.DY.\II@DD`GW[IM7J[)SET[(IR9C`$#;W2`)@3!2&!@"4
-MQ+-,YDH$<>G$1E+`<(XV3-P?=.</VG"B"DZ3.9*8SJVVW3ZAH]TA&G!@JAFE
-MT&,<)Q.DG)">)!]\X2C$NR?9`P)TD'(E.R3)T_=,V"#@R>.R=A8706F3L`@0
-M)D1,S&R-XGX[(0<2/L43W"((R$`@F0`)3$SD#`12.1$A,<F.Y4"R<$!-D';"
-M-D8!X3^D@X,0J$QIU?[A/480-Y,;2K-&"S2?H.R,4QDD3_=39I4$`Y'PIK:B
-MY]1L`G40("E;2R`T&3Q*ZOP'T7^*O:9T@@D?1$MU'5?A3X9;7:RO5H[$1C?W
-M7MW0K>E8VP,M$#E<CT1]ITFR8`X-$#<_[[*'J7BHUII6[RYNTB<KGGGIRQQN
-M5V[+JO7&!NBFX2L1]:I=.EQ.5D6#JE=P<Z3,86YTZD!$S"\^63T8X:7>FT&L
-M:'$;=UH,=C?8J&BV:8#0K5K0+M^%RM=I#TF%S_>%HVC(`'9-;T&Z1)QV5FDT
-M8(*RUI9H1N["DR[!4(@;'=.7EA$<HNDAH-<2-N94;[4G\J)E729[*:C6!,G?
-M=3VTNE-UH\;3)X6!XCZ#4O!G)RNS\^D<0GI&@1F/E;QRC&4V^=OQ$\`=0K.-
-M6@PN(R&_=9/@A_C7PH*E.UI.\EQDTWM)`]P/HOI^M9V%=OJ:T\255O/#O2ZS
-M8+&2?8+K++-5C6G@W3[3J'5^HNZAU4E]=[L3.,^_"]E_"+IKZ6EY$`QQ\(AX
-M5L:;P6TVD#;"Z#HC&]/;I&D!8RR28<[=I3.FD![1\JKU!H=2,1E9(ZL(`+\#
-MW05NJZFX.3ME8RSCMCARSNHO<RYP8@JQ;U=5,&=MU2NW.JOU<3/=#;57-,$1
-M.%YYQ=O19PN]0JT_)P<K!NKD1E6.J5#!))'PLBJ`YQ]1,+6]UF22%6N'.P#A
-M`P%SMC!PG93D@QGA3T*328.YY6ML]AMK<N?);GY6I3MP&R6P0$=C0B.<*Z:?
-MIR``H2,NI3TDX]U'7I.(P%JFB!E"^BW1($*1JL"Y!IGU3E#;7<'\V%/UL!K?
-MCE<_6N7,J:0=UK3#HZ-T7P9PKUK7]_=<Q85G",K8LJI=$HK<\_\`E",Y0&M(
-M_,J>LP/TA#YT'3Q\K;*\:H([?L@J5=(D@J$.!V=[[IJSI&#*!5JL`F!["<*(
-MOD\9"'U&9W0M!C.,;**D80.<3LG>[U1Q*B<^-MR4SB=."`FTT*070<*-S!).
-MQ0PZ<G?A-#B"<_Y*RI8&HQIQ`,\E5;BU8]L1^4*VZ.^5%(D`X6MLZ<[UCII<
-MQVEL\K@O&'1:F@N8#MG/RO6ZU,/;!&%C=8LJ3@X.#=E>*SO3YSZK3K6US%0'
-MT&22/=;G@WJ#J5W3;,-D3&W"['QMT2TJT7O$!PG^ZXFPMA1OAI$M!WGW6[JQ
-MJ7;UBROV.M*;IF1O*E_C6+G+"NT6=($G#0%+_$-[E8W7-\XU]#JN#`YY*J52
-M`?1'NK5?#N!.ZK5A$C$;1"^C]<43R9/?LE$24[],3J@SV0N_)^B@8G.(2;#B
-M9@XPDT$X`^R$MAV1D(%$)",SLGW$%+2=])`]T"D:0($^R<QP"D6ZG?ETE*#'
-M&-U=!XC)/*<@:>Q]TH@"?V3M&=X^$0TDQ@8"=S1&=B)3R`-`!GNF('Y3OO**
-M;WTQ\)&#G!^4OZ)PD-\8'NB:,!)C8)$!I(TIV``;_?*8S.P^RBIKAU%PIMHT
-MG4H:`X%^K49WVPH7;[9/9.\&-XG@'=,9+AD&.Y5^AMC),I;X**1)*%D:23,H
-M'='/Q,IH&DR-]DPY=)GY3R=$G"!F@-)G;^Z0@D\A.&NXS*?4?+#8&.VZ`,!Q
-MB/A(D!I:0`/;=)P,9,2-I3<>R*(1$;'O"8M$1!'RA^3"(S&Y"@&)^B7>(!*(
-MQI&3JY28`7?YJH3)B&F`[!2#6"?4F]IPG<UP&D_*!"`"!E$6F-HGW3-;!W'N
-MGTSL,'E`@)S#1PD&@$3_`-TQ&0!E$X''Y8WE(':`W/V/=/I))@),$@Y$^YE)
-MK2!,!`SFAS9!SM\IPSN)2_,2(A$<.&,`1E1"#<D@1!3-&IOYAOPIJ;):2""1
-M_2HWB'X@HK0LZ8-,8))4[J(+<&",Y3=*!-,8!!5]E.7CL."L4Z1]-L/XBO38
-M#^8P3E>B^'*-'I%@*E0LUZ>#"Y3I56E9GS-/JX&Z;JO4;FYJ>6"X#L"8"7+7
-M3%Q]JWNI]<NKR[\JE4=H!C3.X71^&K-Y8'/G,87/>#^DNJ%M2H)F,%>@=&M6
-ML#1'/'*\^==<9\B_TRVT@'*W+2B2T0(5>RHDN&_T6U:41H!7&NV,%;4,-&RM
-MTJ3ALBH49:%9;3TK-=)!4F0-M]Q*GMV0#(F-E'1'J^BMT6SB$;]0BF=\'V*)
-MU*?@(W,=P)"E#'Z?=#U5C1&D"#(,PCIVIU=L*=K3,'=3T6:LB%E?52?;.!].
-M%&:-0#?Z+6%$N(X1FVD@IK:,;RZ\2'$0$%6K<M:`#*W76S2(&?91FS!!!:KI
-M&)Y]PT9+DS;JL<$;+2KVS0(A5:U.FSME32\*O\35=@G"=MP\'*&KH#C#=^R@
-MJ%[L?LII=M!EZQH.5'6Z@S3+?NLXL,[GZI-I^KY33-J6K7?6W,IF-$>RD`:U
-MD",**H^?3W34B;V=PEWIW"NV%`ZQC*AZ?2+W_P":W[&T@`D96:W.#VM$0`!M
-MN5:-`%L3(CNK=&UTL!")[`QIDJQ&<^F&S`V]U4NZH:R-NZL]2JM#?W6!U&X]
-M4S]%-M:VI=;K:FN`&^ZYBZ=-:/HMOJ+]605AW&*DD+6*7A=Z>X-<"?JMBV?`
-M&GNN>LZGKAI"V[)P<-BMZ8K2IO)]1V'"($&(Y5=@=C.ZFI%F))'$*[1,T&1B
-M$;((AT(?,:!L-E&*X)SLLVM2;2^ANWU"@J/DF-/R4-2K(,<>Z@:USB3G"SMJ
-M8K6(GORFIQJ@C?*9@EN94K&9!Y5BZ$6C$#(0&!,B%9IT^"AJ4A&)`5TS5&L1
-M.^_*A=`,GA37+!JGMW4%3+(!6F=&UC29$*EU1NJD((D^RM0`-Y3,8'-AQ)2,
-MY.!\3].N:E-^EARO/+VWN+/J$U&:0X[+WGJ-JQ[(`PO._'/2AJ+PW:2"%TQD
-M8]K.&+:5&FV9SCNI-;>Q_P#WE5MZ3FT6MTNP$?EN_P`+E=)IX77R_`C.ZKO`
-M$G^ZL5LDD'_55ZL`[8/=>ZUP0C,YPF>#`C9$`-)W33$S*&C#`$2F&X<,)3+I
-M!33G=0.7!SB?V3`8W,>Z33F"/[I\3DC*H+29#C!]A,I&.3E-`G3LG/I&2/F4
-MV'#0,A,<SN>Z0<(,PG)#0-L[A`A(,GG9(G&YRG).F!L$C!W,1W1##`P?HF!@
-MD(@(GLFQO)12'Y)'ZIB9;JGZ2G&TSD8^4S]Y;(4")X(@H7&#/ZS*-P)$Z8)4
-M>G)(/UX5-$UQ&0?E(?/*0!!,)X@3!0/Q";U;$[)V_E2'YIF90."9"3S@<I]G
-M1N?=`9+23)0*#I,#/[(2""#_`&1;`B29Y*4%W'L@'>$P[&81Z8(S*0;V,^Z*
-M`?XA&$33Z?=+CG[;)-V]E`^H:?RC='3+7.EY(&TJ,`!TI^<!#0W#GCW1>=-J
-M*,-`F=49*$X$<)G-!@,G43D*H0,8@?5.3D0!A#ICM@_=.TD?1021,>G?&4Q`
-M:>X3R8`:9`R,X0PX.#?U[($R7&(E$6[%KI)W'9#!$Y1,^,'L@-KO1V*`3YFH
-M\H@)`TPDS$3QN$&MT4C?A;-)M-U,Z78Y'=9/0:>JH&MS\K6KL%%FB#/*Q>S_
-M`!7J57`G\P'>5I^&[9UW>`@.C&^ZS&`UZN@-R>Z[OP/TLTRUY'N"N>66HW(Z
-MCH%B*=!GH"Z;IU!K6B&K/Z;1R#$+>Z;1B#W7GW]=,8T.FT1`)"U*%/(@0.RJ
-MV+-+1[K3MV"97.NTB:VIG3MA6&4=42E2;#8VE6Z%/GA&I$=&@)_+A6*=&?\`
-M)6:3,[05-3I@[?:$:5V40.(4C*$M]O96J5)IYW1BF&Q&Z:6549:B1.%+3HMD
-MX.%:;1Q*D9;SM,J6&T#*>WLC\LAL!6Z=N1`1&B-6VRK%40P@$\J-P(_=:3J`
-M!.,*)]($0%$VR;BGJ!G=4*]OK.0<+=KT@W,`JI7:UL]NRB,2K;1@&/A15:+`
-M!`,K0N2)G[`*G5(CU*;%5U(;DPH*M5K<3A'?W#6-C^ZS!4=7>0V3QA#6UD5"
-M]_IX5NTMGU*@)'T3=+L7ZI=RM_I]F`084M;F)=(L,R1]5OV%`#C906-NYKI#
-ML'A:5`0`8^4C5B3RVAA[PJ'4,-*OU9T[0LCJU0L80,CNE28L/JM1NDDOCV7/
-M7E4%QRM'K-7)B9*YZL^:D:E(TDNCJ9`S*R+X#(,"%L4V:QE9?5Z6G8+>+GE5
-M6Q)\[?"W^G@B).%A]-9#YX[+:Z</-K!K<*7)J8\-$/.`!,)5''5V]EI6]BUM
-M`.]LJ%]JUS\K7.F9K:L:@T1V4+GSN0!W5FK;ALZ9^JJNIN`/IF5S;#4J`"!$
-M=Y4M"LT$`'?NH7V]1QP"HJE&JW+6II6JVHTB-0^BL4-,@@Y7-BI7823("GI=
-M4=3YE7E+'347-&T)5C.Y6-9=3IO(!=G=777`&1F?=:QK-B*[;),95-_H!P%9
-MK52XA15QC!E;W$5"[>3[HF;D@_W4-W@]Q\IJ)<>?T4+$U;+28_58W7K(UZ#B
-M6SV6N#)@;?LH[MWE#N"NF-TX91Y[4L'-J%N@X*;^!?\`X"NKK,INJEQ:)*'R
-MJ7^$+ON./+Y#N3+M,$_)4%PYQ`&HD#8RK-<:B`V/5Q,0JE<-V:\P,;1*]*(Q
-MS!]T,^DA%B#F$V6ND.RTJ(`D`$PEQ[]T[AOD?"3V@#!,';"!-/JD&(]T0,NP
-MXXV*9\BL[4S3F=/9-`/,R>$$C=()F2?F$PR<X3.;#LS([[A(DY$X[JA-C3D2
-MB&G&)([\H1R"92:`>3[!`3B-6!$Y2:-3PWOW2B=,'/(3$Y@!02,)#2,04&-6
-MV$G1\^R:0!M,@*A'2TDDQ]$P(P=,Q]D0PWN@&#)P(WA%27%4UG%[PV2(,"`H
-MQI@[>Z08#OEQY2`(<"Z80+TC&)3#:0!"=H.QC*<M],_E0,-H@2G9I+@1GV2#
-M8),[)-@51)QL2@=S<P8Y2]ASV3/,&`9PFG&\F)D(AL\F4FC)WRG<"?;^Z0&8
-M!Q[J*0@F8P>2F<`<@X]RG(.G\WT";8Y$`_JJ$V)SB/=,W_ISRGTD-G'/*0C2
-M21!X'=`Y$_/LDQOJ`G/ORF!!`Q]47],0-D!%HV).>R$M@0#ORI/3_0'("/27
-M&2=D#.$1P.Z>F/5D[);#;ZA"S88WYA`8$F92@2#KR>Z>89@2A`R<">R((MD`
-MZA]$3.T'ZE-&T[=@G+73IB>%`;/2\0`83MU5*FV_8(*9),;*WT^BUQD3\(-C
-MP\?*8"X>P@*]>.#OZM@=E2IQ3<UL&#M[*Y:4C5J-;!(&\97+*\K/RN>%+(U;
-MQKVM)@\C*]1Z%;>70:V`)7(^#[-K7M<6@>\?*[_IE.=.!G]%Y\[MTD:-E1V&
-MRV[&F!`P)6?8T@&:C)_NM6RI%Q`C/=<[7;&-&U9Z1Z<+3M:8E5[2EB./=7[6
-ME#?=9=(L4:8A6Z+(XPHJ#/3D25=MV>K))114VQCG?"G93<8Y*EMZ4%6Z5(1@
-M1"U$VAHTR"9`^ZG;1U#:)1LI@'T[JU09W(CE-%J"C;Q(`R%89;D"8W4LM#AG
-M=$XC3(X2QG=1>6!QL@J,Y4T^O'U0N!T$`[J"/2(@M4-9K8]U8,=Y"AK"9VGA
-M04KPAHP2LN]+0"=EIW8AIET3W6)U.X:`YH(6+6I%.ZJ9QRLZ\KX(`SV1UJI<
-MXL;RHA:U'ND@=UF+I2<U]R\``K7Z1TF(&G=3V%BSS`0`#.P72]&L2Q@Y(.ZO
-M:ZTIV?3M+1+-EH4;4-`&GZK6I6T>F`$YMI;/*UI95*@UC3^ZL$`-D;%)M&'3
-MI@)G@AN\J-\`KO.GNL;JKO3(XY6K6.!WX67U$@L,]E$TX_KKX><PL&?,K&"M
-MOQ/N[]I6!:`FN-HE).&,FO;L)I2?HLSK8:&;[+<M@#1(*Q^N-),0(A:CGW6=
-MTN/-#"=UO]/HAE36TB%SEJ_RZX.-\9716Y-6E((QF0L6.DK?I7-)M/\`-^J=
-M]U;L'])*YRNZL/3/J'NM#I%C7J-!J$GZJ7*QOTFMIZ]\UQ<0V(Y47\4V-7EG
-MXA:]GT=I:"6@K1H](H`QH`^G^BZ3#*N.7DQCE*ES5+891)G?"@UW;G8HNCL0
-MNV-A:4A+F-'T4+J5H)/H('"Z_MW\N?[T_#BKA[J=,^=2(/PL2[O*9K:0`%W_
-M`%*QI7-,@`01D+E.K>'',<:E*,"<J7"SIO#R2]LO348T5&.Q\JWTGJTU?+J.
-M_58G4*]>WFDX.^(5>T=J.O7Z@N=GX=-_EWS:K7LF9!Y4;JD3)E8/1NH#%)YY
-MV6M4<'&6D0=H3_#1KIH(G49]D#):V=7NB![C/LG#=+=$9*U"](VN!=`&?<IZ
-MS`6.U9[05$?^87<A/5J_RR=EO'MQRBF^BPN,0F\AG8)JCZ9>200?E-KI^_W7
-M5P?'U8`%QU2,S_95JA&GXXY&5/<..HD<?15ZCGEQ$-''U7L<T;P-@`T("(.,
-M%$\C)D8.0FQZ2@1EL@[C$H,<E$8F0A=!$D\=T#@M=JG4#P1_=)HDSC=,-.DD
-MB'#MLG!`!`_50%'J@A%#2_.!'W0L(B)`.\RD"6G`G*H0:/I/V3AO)'V2:Z-C
-M[83`M$X[YE$.UHTQG.V41$#O[E,-(R.4[C/]6/9%-@N_=+2T$['^Z:1J.G9*
-M>W"`B`6D3/\`=-I$3N-MR4X@M$P=/!35B`XM!+AR=N$-A(AN$VF1@?=%4+=)
-M$1]4FX!P2@30=MCV2<W>?E(F#&\8RFG!SG9%(F!`^"D!Q/T2!`/,I2-<@$0B
-M'<-1!!@3"%['DP!MB`B);]1RB)D2XR9Y0`<-DREI$0=D\MUD@[;2B9),B".0
-MH!P03,<IBT:3!F43C,Y^R$F`?5^7"JA:-P1O[[(],4QZ@9[(0?41!*1DG),2
-M40\`'&!RD=42#[B4[)+,$9,I-,GU'`V^44Y._J1:AL"A,C(/.Z6I-(8B792-
-M-]/)!`(D2,(\AN")&4,N,R0.X"!VZM\PGI8<)_[I3`&W<RFV``.1.2@<F9`R
-M.Z,NG<GZ(6-)J`3MRE`:)!$<*"2W8Y[A^JVNG6;VMD_U+/Z6QSZLC!G,+K7V
-MWEVS06Y/`4J6LVWH5:K@P3''8+4Z?;%K@UNHYS!Q^R'IM-H9#X).<\+7Z!0#
-MZ_J$CD0N.5KIBZ?P?1:UNIQ@]IGNNSZ=1)<#`6+T.V93I"0T<X73=/IYWCX7
-MF[NVXT;*D-#<$!:_3Z.F"(@*GT^CZ=EKVC`,K-=8O6E/V5VA2`SRHK-HR`K]
-M!HD#*-Q)0IC8A7:%.(TA0V[,XV5ZWF`8E%2V[,#"M4VDC`P@I`00,0IZ$C*T
-MR36$>EW_`'4],#5'9+^K?/.$3()$;'E0-4;.3VW2`,`$R1V1.`'NG8W2Z=_?
-MNH!T`YXV2%/<SE2N`D#NI&,!&?N@JFD0"0)5>[+:8DK0KD-,3L.5S_7;P,81
-M.2LVZ63;/ZU>L@C4N>J^96JG<B5<<RI<UI()^JUNF=-$:G-$^ZY[;Z9%GTUQ
-M!<]ICC"MNMVTF_E@]H6\;=K&Q_9974=+'&9V5TDNT?3F#7LNHZ32:&C&`N;Z
-M29JY75=.+6@"-L*XM5H4:(<,`&$-2EI)@84]"JI:;0\C&ZZ\5GIFNI2/<*K=
-M-TCU2NA;:MVC!5.\M`9V'NI<5F3F[QL#&RQNI$$.]ALNAOZ8;J@RN?ZH``3V
-MS\KG>'1QGB9S1JS]UB]-@W!+5K>+B"TG;V6-T36^Z[:3]E/C&3IZ+8MS!SLL
-M?K+<Z=^5NTJ?\@>_=95_3)?EOR4E<Y&#<T?+$B)&0M+HEZ&#0\S*:O;:J<PJ
-M#0659_1:LVL_#H@UCJQ>#/;*Z+H=:EITN@G;"XVRN@)#S@>ZU;*Z-.'-/U6=
-M:JW>M.\M7-;3D\*AU_KUITZF2^HT1W(6-=>(&6]@XN<!]5XO^)GB^O6JU&-J
-MNP-@3C]5Z<.MO'GWIV_BS\2Z%,O;3K8'O_JN0J?BJ[SQ%<P8V/\`JO#?$/7K
-MVXNG`5*AD_E!.5GW1ZE9U6/NJ%:FTY&MI`(7;]JWA)I]3>&OQ#IW,!]5IG$$
-M[+N>F7]#J%MJ:09XE?'OA?KE=I:"^#N).R]P_"#Q,ZJ!1K.]0.<_*XV7"\EU
-M\=OXIZ2RJ'56B"1A>=]6\WI]SZB=(.0O6[A[:M"<&>%P_C?I+:]%[@T`1O\`
-M93/'<X=?'Y/E8]K=,JL948\2.Q72])O?.HQJ]2\ZZ9-G?FWJ$@'8<+H^CW6B
-M]:T.])[_``N%M^O3K5U'74G;F!"EID'(.>P4-L-5,3!'96*3(GNMPM0W!#7P
-M<SNH:M5NF0,*>X:&DR>%0N7RSM"Z1QR+1J]0>(*7E'_&%6\QO^RG\QO;]5UT
-MX;?(=S`,`AP[]U7J"'=YR)4]P6DQ(D<GE5ZI;`(,[X[+UUA'/&X&X49``!&Q
-M1G3)GE"8@;'X40TDP#E,,.G8A&7$L#3$`R$((&44H$D&)PD\`G?(38U2)SLC
-M/Y8QG]40P(R!]^Z<:0Z7'&^R83SMPD021P@.D01$[\I0)V&W?=,W;$@_*;82
-M52G#6C(^436MW<^,;^Z$9.R7^X0)V7D[Y3N;!.KC:$@V$S]I/^PD#Z6D1D$(
-M2UHF<E(CF9GA(-)('/RH&`U'YQW1`$?/=`"0>Y[(].F6ELGB#_DJ:"0!L#'M
-MRD(_*1F-TGD%VXPD"-,R"XJ*0'H@[CE*'3,_ZI/`(Y^J=FDND?9`@&:#).K@
-M<)23C4E5!D'(D2A8`AH36G8'/L81`[`B.Q/"%H(_F3@8[IH9)R8^TH$3`B"G
-MR6:9'>4_Y6G;`Y*%@D9)]D0S6#`GZH]()R=DP!`&84M33H])@#@JJC$`=@,`
-M),P[5!(V*1,Y,`%,W<F=^$#P[D(@TZ2-O[I1$"?HF.#Z3"`FMDY(G"9S"XR"
-M??"<#`DP1[ILCU<?V1"`]A[>Z<`.=$B?V2`#L1_V3DD`8CA3H,`<F28V[!.W
-M43E*"=L2IK5H-5K-LS*#J/`71ZMY5%31+>_?V6_XP8VW:VFT-U;=H5[\.6&C
-MTXAK,D3\+/\`&.IUZ6NF)V"XYYS?JUAX[;[52Z)0\RL=8+I@8*[+HEGH:V`-
-MYPLCPO:%T$@D[X7:],M0W3I&%P\EVZ3AI]%MA`U<KI;"B&M@9[+,Z50AHU#E
-M;UE3U$2V,+FU(O6#7:1@`K6LJ4C\H5&SIF=_JM>UI'3[^RC<6;9@:9$*];4S
-MA0T&`$*_;T8Y*-;36],`CLK5!D-'LHZ;6@*>UAPGCL5=":F`0`3/]E8IC$<0
-MHF`[*:EL!,!6"4-]0,HP!'RHV[_W4U(2)[J$`W>8(A3,9)S`A%2IAQRIPT!N
-M4T(6TQ,$\)5H8P03E2NTB?=4>HW+64YD*45>IW(IL))7+WCC<5=,D\JQU>\=
-M4):UQ*/I5`$!SQ)]UQRNZZ2:2],LVL`)9GW6DXTZ+,B!W0.<VF))B,K!Z]U-
-MP!:TF"/LIO2^NQ^)?$-O947_`,QH`]UPM;QK1N+WR65&DSM/^JI>+A<7K7_S
-M#GW*\TNJ%?I/7J=1Y(:X[Y@J7VK>&..^7T;X:K"XI"I,SW74VE2(_P!RO//P
-MVOA6L6YS_P!UW-O5D`XE7&\)9RV*50"`#A7;6L0T$D2L:C4(]2M4:OW"Z3)F
-MQLMN1IW56]N?285&M<:6D3^JI75X,@._T6KFDQ!U&JV""`9"Y[JC_28C*T;J
-MX$.AP^%E=1?JIGV7.UN<.,\6.!!D[K&Z!J%R6G'Z+>\3T=3'/VC]5B=#9%WM
-M,G"EZ+'7VXF@`<E5+F@#QMA:EC2/E@XRD:0-0J1AB/H$B%E7=!P>2W8KJJ]$
-M1$+.O+8%LP`MQ&`ZB1D'/[([>X=3<`XF#[J]5MP&$9SLJ%S1+7'>.86M;5<N
-MZ(O+:`001C=>4?BAX9NF:JUNS#1D0<[>R]/Z9=.;4#7-AOLMFKTVTZE;::C&
-MND=EK#+5<<\?KY)\,7%ET_QI:W'5Z`?;TJFI[*@X'RO6/_$'XT\$7_X?OL>G
-MT[*YO:VGR'TF-FB`X$Y&TA:?XE?A9:W=%]6VH-94`P6#_1>&>(?!W5.FU1Y[
-M/29&QD1$S]UZ\?[>^WGRQF4U^&9T6L0]I<W\OZKTW\)^HO=UIM,-($P8^JX3
-MIUAY3,,)=M'NO5/P=\-5*50755K@7&<K/FU88O9[2HYUJV=U0ZN/,HN:3L%<
-M8X4J$3LLN]N&ZCI=@<+E>(N$W>'`>+Z1H5!5:(`.3"BZ7?,?7I"#+MCP5T7B
-M.C2K6K]0W"Y#H]L*74H!($X,KAY/R]F&OKU+I%8.MV@X,+0:26R<K'Z!'ELW
-MD>ZW'M`9(/RKBEJG>G+O5CGW61>U0`8=\+2OGQ.?E<]UNNUC'&?U7?&..5X5
-M*MZX5"&D0A_CG_X@N?KW;_-=IV0?Q=3_`&%W<O6O`[D#S"7&>%5JN].D1!5N
-MX+7OEK(G8`[JM<L+':7"(X7>N2%S2,@$2)R@&>%(X3$ND(1`/?V32ASI(@I@
-M.-T<NR!]<I.+2[`COE`!,[82>T"(TDD?;V1L$B"\#G)_1!IYS]U`B#JV^R0D
-M081-`#ADHB!L'?W5@8DNW'Z0$VDGZ(X])WA)S=D#`^F,S^Z8"<1E.W:"=L)$
-M$"90(3$29W14C#FRT'V.Q33@YB.1RF(@9A`3RW=I4=:=3B'&"BS`@@2F<YP&
-MG60#N$$;OM*<3L2?H4G:NZ0S$_LBF#=YF$\3.EWNDWDDGX3Q!,$*:#$G;4G:
-M3.)38)C=(G$*AR3P283M)/=,"WE.2)B`1WV4#ZCR3&TIL[`PGYV$!,_?@]I0
-M(EP&28"%KB8!/W18#>-LYW09)[J@I))@Y"D-1SZ(IP(;[*-C9,$@>Z)H])R$
-M#$&3V[A(`B#"D;ALD84CRP6X:6#6#.J=QV326H7$XS/PF(=));]`C:9(,#/=
-M'#8@E#8!J()&0/9"3#I<V>Z.!IF"`>$PQ^5L'N@.D3.!N-TU0D-@3*3=X@9V
-ME$]D@X'R%`!(#F@".,KHO`/0J_5NIL;HEDY*PK.AYM9M,'\R]J_">SM[#IS"
-MYK=3LRN7FS]8Z>/';J.B]!I6/3?+#`-(R>ZX+QC18[K@I,=MV*]*ZSU.C0Z:
-M\AW&%Y:*K[[K3JO+BO)CSD[R:EM;_ANWAK1I=\KM.C420"6K!Z#1`<UIQ`C;
-M===TFC#`,I]<JO\`3Z1:X`C=;-K3../=5+*EM#25K6K02TD05*W%NPIY$A:=
-MMC(W5*WVQPM&U:3[?*C2Y;#8PKU!P)WA5[=@(^%88T#8*JLTCZ@)QRK-NX0?
-M3"@I`R.59IB1/*"1F'3F%,P^J)^JA;JGCY4]$9R,%3:I&@D[%3T],?""@UQC
-M;Z*5[6CA!(VII:9":I7QARJU*P!W52O<-;JSO[J6FEB]N]$S@+G.L]1)!:#O
-MV1=9OP`6@Y*Q&%U:M!,K%R=,<4ULQ]:KJ,Z>RW["GHI1!/NJ_1[<""0"%M4Z
-M;`T8CX7.1M0N*3GB<_"PNOT&LIE[H$!=:]K0"3PN3\8%S@\,)5LU-D_#A^J>
-MNJ?9<=XXZ36NJ(-,B09&%W#Z+G5O4/JAO.GBK3RS"LO&EN.KM%^$[:M&T8RH
-M22`O3K0N\L?YKA_"EJ;>H.R[6U>&@">-RL8S2Y]M"DX3$J1U9K6Y.0L\W`8"
-M2<!9/6^N4K5A+G#'NM[9TV+R^`)`<LVO>R<N"\W\2_B):VE8M=6`(]UF67XA
-MT;FM#:HRL7+ZZ8X5ZHZXU[F5%7<U\@1\K`\/=8IWK`=>>RZ&VIE\'/\`FI,C
-M+'3'ZW2!ID1PN>Z93#;T;[KM>K6Q-N[&ZYFE;Q?2-YRM6\,1NV3]-,@[*>FT
-MG)RGZ=;%U,$;J\R@`?WE,>6:SZM,021"KOH!_P#3]5JW%`$8(*A%&&G"VS6%
-M<VL&#PJ=U;`4W-Q+AN5T%Q0;JG]U4JT&G<#/*VPY*ZHFD9`(*N=$Z@^F0UQV
-MV"N]4M@>!LL>O0<QVMLA6KW.74FM3KVY!`]EQWC'PQ;7K7.\D$GL-EK=*NM1
-MTDG_`#6D]OF-@D&<JXYZXKEEAJO'*/@ZA9]2#ZM,%L\KO.A.M+2@&L`"TNL]
-M-;5S`^BQ;JS-*F&M`$<K6^>$]99RT;[J%)S(:1]UF0ZM4]!D$K+N65&F"=D5
-ME>BW?+B2`N>6=^MX82+?B"U>RS+78D+DK*FZGU(:OZ3L%U=[U)MVP,F)[K.?
-M9M%<505G/5G#4NNW0]`+6M!)(A;AJ,-'4:D'@+G>GO#6#U+294+F$$C(X*WB
-M9(>HU@1#>5QWC"[\J@:<P7X"Z7JA&@DN/U7"^)W.N.JT;=N9*]&$^O/E?BST
-MOICZEA2J%IEPG]58_P"$N_P%=?T3I8'2J`.^E6O^&-3ES]WQS5W]APJIW$`R
-M5:O=+JA<&``F855X,D@8]BO6RC>3J,[\@I2P$Z09XGLDX3).23W0/W'<;H$(
-MP3E,8G?!1`9Q"'?!_P"R!O8@GW2';!1%C@W+26S`(3.:0^1('$JAA^6(B$6\
-MG?;"%HR`"B(@Y"@+4<'@)#\LF4#<MW1-((&-^Y5#YVXY3/'<$)H)"9X).24!
-M.<!L9^B0.?9!F$T3$H)`6')&3NA?#N8'NF)SN,)MW3!'>$4HVQCW"<'./W3`
-M83!L'`4!.;!("8>[3LEI`,28`S*<`:?9`P@`04@)G"1$B-B$6F&_"H;TPGF!
-MQ]TS0=<3&.4S=Y/'NH@CEHS@)`#5ONG`(W`^)3&)[>R*?T@'T@CY03Q)E&V(
-M(WG;A,V`_@9V"(:28R8E'ID0-TY)#2UKX!W2!@QW0)H.DR["+4(@Y*#$P#NG
-M`;OPJ&D`@?NB<2`1&>$((!QD)<G5'V0&R'-C?Z)G-C))]A":D&EI#0G@C&([
-MR@>F)=)!PC,MQ*"F,F!"EIM+GC2TDSG*@N]%8'7;7`1G.%ZAX4N7&M3H:H!@
-M&%S'@SI%-U'4X&>Z[?PCT84KP5BTX&Y7F\MEX=\,O6+_`(W:VAT@PXDQB%R7
-MA.@'W7FR22>5L_B9=Z6-H!RK^!+?8N$Y[+CCQ+8U;P[+H=``-DB>5U73*>1C
-M'98O1Z0$8PNCZ53AX)V4VQ(T[)D1Q[+1H`$P!E5[1H!SSP5>H-;M*S6XMVS9
-M`,%:5N,#"J6K1I_-^JT+1L-U;A%6J$Z5:8`(]U7H@=HE6!M`$JJGIQ,*=CL1
-M.%!1VR-E8HB8,9*C6DM$?4*S1:V1.%#0:6^TJ1U4-W5V:25:[J;]-.GC<F=E
-M%=5XY_55[BY`$ZMUGW-QO!E9M)%FYNL8&8PLZYN"9R@=4)D:OHHG-+C]%BMR
-M,[J=1SGXF$NFD`^KNK56VUSB%&VV<P86+MVFKPV>G5FM``6BVKK:`#"P[*F\
-M/`+EJVI(@?ND6Q/4<\LCA974+!UP3JV6TQNJ!PIQ;-TSI]UO6V.G%U.BM827
-M#G=05K#2=L=UV%[0:&N`;E9-S1;L`5-2+.6/96K6OD"(6FU[64LIVTAO^JAN
-MA#2&\+#2IU6ZTT708,+@?%+[BZ<YH<0%V=_2?5:1)@K'N[`YU-3MJ33PSQST
-M2]JW#G4VN<)69;=+OK=C7.:6EO*]TN>F6[YU,&5D]1Z-0J/T:0>(6KG9#'*N
-M:_#?JU>C=,HUB8G&/]%[CX=N&W%HTC)/N5Y=;^'Q1K-J,:`9X7HW@FF:=%K2
-MXDQNN/,K6=F4;74&`T"#&0N9-$-ZA`&Y767PBD8,K`#`;[5L96ZY1M]-MR+<
-M1V4WDN`("L=,9_(:8X4U1OK.%TG3G6<ZE`@A0U:9#96C5I3PHJM*`<$K49K*
-MK-!/^2J7%/>/LM>K1&8'TE4[FF0#`!51AWM)L:EDWM$`D@[KH[JB(]0"RKRB
-M-41^BC6G.D/IU"YI+2M3I=X'0UYSLH[VD`2"/LJ<>55#FR"J6;=`ZFVI3G"S
-M.J6@+.ZGZ=<RT!SOD*2X<UV(P597"RQR?4K8"8"P[VB0X@$Y79]1H,<3PL*]
-MMOYI`B%N\PG#&HL<*@)V[E:#'M%/)!)&Y45S2%/U1D*M4K@-U2,=UPUJNO<;
-M%BX&)S/NM`NTLV6'T5_FD$#$[K8K5&LI29F%UPY8RX9G7*Y92<22,+B>AU#>
-M^,=.N6M.P71>+K@MMGD/CTG=9OX2VC+KK!K%N=>Y7HG3SW\O7>EVX'3Z0#?Z
-M>58\@?X5IV=LP6K`!B%)_#M[+K'E?`-Q)JDSG=5WP<RW'ZJS>.EY@0"<<JK5
-M?G!)^5VKLB<)&,DH,[`C*E<1.VWO*!Q;I(@ZIP>(4-!R3,),'I(D=Y3EPC`G
-M*$F3/]D#N)VC?A.2YP&HR>QW0!_^RG)Q&^-^Z:#9!B-NX1GU.)(P3F,)@8G;
-M/UA-)D-)$#8*AY$!K6DG^R4XVV288[#Y3N)!(TX]U`S2=XA-F8C'=&S:8QLA
-M<[.V1A`T@-T@9F9X2).F83NRT2`8"%Q((B$T'`)]1!SRF<T@Z<&1/=2LK.;E
-MI=MI^G9`]V9C`[*J$@Q^6?A-)&8*)N4S@-YE`HR"3]-D],P8C8II'=(QI'Z$
-M*!R2-FE,3&THI`&\D'9`"),H$>#.R<9]Y2!W`&4[2([_``J"#HD&"(V*8$;C
-MZX3$B,3GW3LB,$SQA1"8`23JX3ZMH/RG%0:1Z8@S,)C^>50\C5P)2)$$P/9,
-M=$A$S000XG:0BADX[)-/9.V"1.>"B,:1IC"`&"&_*?&Y@?"=X$0(CDII!,DX
-M&\)H)OOE$.^`WMLD0-YS&1[)@?5B/[J(=ADB`M#H],5+EK($SLLX1W``XE:O
-MAMS/^(4]1`$J9<19-UZ1X.L7-HTSGX'*[BT'D6VJ,`25B^#:;/X.F&Z5T=YI
-M9T^I$8;_`&7S[;M[,L9T\W\;W)N.M>6TB-41]5T?A"EY=LR2)A<E??S?$3R9
-MPZ%W/0*(9;TY'J,!:O&+'DXNG5]%&V%T?3&-P,@\K#Z'2'E`RNCL6P!@CX48
-MC1M)#8._RK]!N0"JELW`D-^5>MFR!$K-:BW:#(,+0MP!OM/=4K89VV5RD1GD
-ME%7*)C`&RFI27*O;\*S1&>))V2M1:I``S*LT0,$E04FY$J9KH&!NHJ8OTM]X
-M5*]N!,:LA/=U@![K)O*^IQB=E+5B2M<:G$`D*(ND$3E5M0D[H@2,0IMK20X^
-MB-CA`(.5&R'$#E6[>A)]E%!2]3NZLTK<$"1NI:%L"9A7;>B(`(5TOLJTK6(+
-M6Y5RWMR`)^RMV]NT1'"L,I,V5F)[(*5,1B,=U.UOHB%,RB`,DPK%.@(!W6IB
-MSMD75OJ!.!&2LJ]MW-<3NNJJ46EN6CX5.YMFO#F@#/)4RP=,<G*Z71@;*-])
-MSC,86[5Z<W48F"D;"&@=NZY>KI[1S_\`!S,A4>IV8T'V755+8`0,E9G5*/H(
-MVQ*FE<)U!OE.?MA95-CJESM,E=9>=,\^L0)AVZL]/\.`.U8.%B[IN1B6=H*F
-MEI$+J>B6XI4P1`14NF"B[;;E:%*D`P8XX*2<I:J]3>!1,[A8]@T5;V?=:/5W
-MM#2TF.%#X>M]5?61REYJ=1TMC1B@&B9C=$]FY.ZFM9%,<!'5`[_5=XXJ%1I4
-M>B2<A6:S=1C:%`6_>%4JI6G@?*HUQ.P^5I5VAQA4Z[(;I)"J1GW=.1,02LVY
-MHF3^F%MU&C3@@_*IW3&AIG[J::CF^H4C!D[%8US#:G(@[A=-?T0YC@!(6+>V
-MA#C@&5-MQ3MW.#Y!P<K0;5)9E9_ENIO@"0,Y4[7X@'C95SRA7A]&#*R[]OIG
-MGV5ZX(#9CA4*YD<@+<<K&7?,+V1)G^RY[J-9].OY;1.5TMZV-7[KF^K4GNN`
-M1,$\8A9RGTQO+H_#%*+=I(@]U9ZM4`)@^RJ]!?Y=D&@Y`0]2\VK3JN8,,;)R
-MKXYPF=<GXVO/Y6AID@[RND_!GIU6F&W#@<G405POB=YKW[:8[QDG)7J7X14Z
-MK;*DUV,`8^B[R<R.&?$>CV];31:)B`C\_P!U7&!&HI9_Q%>OT>/V?!5TT3J(
-M#>T&56J@1+3DXRK-P/YG`/;=05&>K2X<*O2K$Z9`!!^4GMTZ02<Y([(W-&WN
-MA,2>W!)4`;B,;IB,Y*>!ID83Z,$E`+A.!*9A)&Y`]D<YF8^J8@S,G[*A-;NX
-ML($Q,)#\T'[!(`<S,I1+H`_T0(&=X!"3L#<X/T*)H&C;,[IC+G:B20@9KO3C
-M.$B&G.T\=DA`W"(@;9A`.YSA,[#2/H%(X2?D90M:)(C$_9`+#C]4=Q1J4M(J
-M-`-1H>,S@[)F$MJ-J`!VGAPWA27ES7N7,\^IJ%,0T1L-X_5!`P-`,C!_5.(X
-M&R>!`<4Y:-.HC?*`($[3E-$$1RB($8R)[*ST9]K1ZE;U[VV-S;,>#4HM=H+V
-MSD3PH*PS.,A,YQU2[C`^%/<FD^ZJOH4C3IN<2QDSH$X$\X43J<F.(^R``T$8
-M(F=DP',<J0T26X!_R3FF2XC(X$E4"TPXB`0<2DW$1D1OS",L(=Q[%,6$^HN`
-M^2H&$1./ND^`8&>^488=,EPC@S"8@#5(:<1GA`+FM!'O[I-TD=C\I.:#_4`#
-MV1A@+8)&_=4"($<HZ+A3J:NV1'?A,QD"-6Z=S&B(<!B4`AH.2[)RFD2?43]$
-M>EHD:D_E,`:2_A-@&'W/=%&29.W?=/Y;/\8']T!#)F3"!L<D[[J:W>:-9KQ\
-MSV0!LMEDCZH(PX3LH=/6OPTZ[2T4Z%=X#L`2?9=IUR_I4^CU"QP&L0#*^?>G
-MWE:U>'TW?E[+;/BB[KT!2=4,;+RY^&WIZL/++_9TW2GBKU\O)D:H_5>B]*IB
-M&,#3``@RO-/`G\VY%0Y)S\Y"]0Z,"6,Q&Q7/.:X8SR]KMU'0V::;<[?JNBL6
-MRT`F,<K$Z.STMG.%OV`P#N3NL$7;8`&(5^V&`Z?H%4H,]0,>Q]U?MP<3\J-1
-M98(`D0K-%IB95<$@YV'Z*:@\GX^4VU%VB,`JU1C"K6WJ`5IK0`,J5J+`VU9"
-M:I4`:/5!0EVD8^RS[^X+=7J@!2J'J-Q!/JQLLXU2Z<SF=T%U<&H^)4=!QUP=
-ME!8:TDP"9^59H4G:<R5'0;)!!]U=I#/;W[*:78K2E+CQ')6A;TAJ$`3ONHK>
-MGD3E7Z%)P:.<YA61+4E&D&R>RL460)A-2!=@8PK%(-@3\0M*DIB`TR,J2F`7
-M)`!V&P2G9^;M"HL4Q(]E-3$-Q^JBIG/]E/3$C/PMQ*"KANP,JNX'=6ZC-\J(
-MLA^)"595>G3#B<"$]6D"V8E3,`#\B/=/6(`(^JFFMLRM1R8$86;U"WD'`6S6
-M[XB%1O=);@;KG9'25S;J.BX@C8K4L-#F`1E5NHTAKU-$'=*SJ^7$F5QZKI9N
-M+US2U<1"JW3A3IND20,*=]VSRSZA*PNMW^#DB>)2UF1G]6K&I<Z`5K^'*9#!
-M(^JP++57N)W!.ZZKI+0RFULS&%,>TRZ:U'#!S")X!&-^R"BZ![E2O`^(79R0
-M5&&9(QW4%1F8C'=6G-QOME05)F`JE5JK`!@&53>S)5^O.D\*K4VF=E44JS-!
-M)5"\!+<8E:=U!DA4;B#@G)4VU&749)(GC*S[VE`+8,E;%8-!D$*A=AIU1OOE
-M-*YZ[IN;4)B.,*`@;[$\K3O!/ITX69=L]4@^\*QJS:.JXND$<*M5T@1"FDD^
-M^RCN"-)!&58Y933*ZBZ).^E85R]KJL-'J&5O=3PUTD?*PJ[8?M))PY,JXKMC
-M6+:6(B),*OU*\++=[FGU.!!,*%U;2T,&_99_7*[OX9P$1&4PIE&+;UA5Z\V?
-M5Z^WNO:_P_I>784_3!(F>Z\2\)M?<]>:3_34X^B]Y\*L?3Z6QH&-*].$_D\W
-MFO#3?<L#R'-,C!A-_%4_\)5.L[^:['*'5[+W/%M\35H#B2#CE5JH!XF%8K1)
-M@P%`^`X:_4#N`N;VHG$Z"T_E&0/=`?B92?ZC[#8)H..(,[H&V!E)H`/_`'3O
-M:00!VF4P&0$");DP!/Z)B"6@QCO*)^<F7$<RA<XP`0"`H&W.HDRG!`9G&(W3
-MD@DN``D[#9(P)VGYA4)H]4B8Y$H@.QVW3-,[`RB$'!*!M(T@YG:2FG$2?E$T
-M8[I%IT$D2$#;@0XR1E(8&'9.$FP.9]TG;",>T)0YTD[X]D`&X+D0@-$B?HA.
-M1(R@=C?<P<I">2-LE-Q,0@:=.YQ\(">WW3`Z<R92CTS'SA(9.1L@+4Z!)3!Q
-MU'8)W`$`C*1#7-)_+`^Z@$O=J,.,)M9<6R2F,S(28UKJ@:7:9_J*JB#G`G(P
-MF!=@G<I#!P9,[IB1VE`@2#P.,)VN,&2,8RE(G_-,T2=(]1C;=0*?3G;X1AQ.
-M&D1*!PSP([E*??Z*B1I,C&R<ENG!!GW0-!:S43B8W3P)B1!4!`D`GO\`5,\G
-M5G)XDI2.\`>Z1D@095(4F/68E(NA^_QE+20(SG8]D[A#@`\N`R3L@=CM.'-D
-M1M*$.,'3NF:`1C]24I]1C"B#IG`](GY4M!H\P0/U45,8!G92VT>:-P)RBQZ)
-M^'E.&LU8C$_9>H]$;AITXP%YK^'%+66DN:.TGE>G]$IP]LU&G"\7EFZZ1U71
-M_P#EMF8XA;MF8`GY6)TMHAI6W:-,`X^JYUN-*UG`S&ZOT(`ET_'94K1I(GZ*
-MVP:>2HTG)D8)D[*2T$B!^ZAI9V<KUHP'.!\HU%RS8("L#;V_=16\-`SPC+PT
-M079[J:VJ*\J:)D\+&ZA<:I;B>5<ZE6'JTG*Q[DDN)/*R!8XET'\OPK=O3U.S
-M\JI2@>TJ]9MDC8B4T;7+1AU?FPKE$MF9D[95>@P`[1"O6H$[X*?\6+-J#J#B
-MM*W`(`GW5&DX-P#*O4*@:!ZLA6"Q2;Z"1]DS"2^",;RDVLTX$2I&:"Z9&RTL
-M'2,84[#J(,`2HZ6DN$?=3!XF`=D@D8R/ZL`*1CHV.V84#*ITZ<;J1KLC:2M"
-M<.PF$%V^/=1.?I^4[*D"<*[-)7QI)D;J*KZA&)3O?)F,)M33)4%2L#JSG*HW
-M^)P%H5R-EGWC06F2L9-XL;J-32#E8ES=Z'D-,0M?K`Q`.>"N=NZ9+BX$X7#)
-MZ<$M:^/DDZ\]ED7]TZK5#9QLFO2]F!RJUI2<ZM,<_=0L=%T"D"QN`)72=/;I
-M8,+$Z*P-IMANVZW[0[?"UBXY+=`$NF,*R6:LGLH+8^KG*M2"(E=,7.H'M(DA
-M0/$YB%9K8!C*K$R2(SRM(AJ06D'M]E3K`D?*N/@XE05&C/8<H,^X(F#B%3N6
-MMTDM_17;QH@F=\`E4:\G!/'=*U%.LT#X&%2N\B>>`KU;_P"["S[P2^`?JC3.
-MKB7$[$9^JH7%,:'<DK2N6@`DJC<B!$ITK+>0UY]E!5?+C[*6[:0XF8$K/JO`
-M>?4<JLW$-Z&$96)U!HF)^/=:]T\%N3@+&ZD[USJQ]T^//E-51KO`>0[A8OB>
-MX:*+@2&X[9`6G6,N=J<X97,^*;@.+QJ)SF5OQSEFM/\`"JFRKUD.=!@_W"]X
-MLGLH=+9IWT_V7A?X1@#J`<7""<#[+V,UGML(.T?9>GPS^3Q>>HJUZSS734C*
-M'^-I_P#R+!N6N-=YU')[H-#O\7ZKW/*^7:WY@V`3['=5J[8)])'"M7`!)*KU
-M-);.?A<'N5WD;<E#I&Y'V1G)W.$Q(TX)^J@"0';?0I$X+I(G$)P`1F04SVN`
-MQA`&HDXF$^II$"?JB(`=.1^J8P3OCW0(E@,M)]TL:I((!2(!Q'WQ*38`,EWT
-M*0.TMP&X]T[B`,Q.R=L;[RF@3B539PZ/C9(N]\;0FV.GNDYHWV0+$2#OA*I&
-MF2A`$P#$(J[FOJ:F-#1VW40AI#07&(]DB0YL`3R7<I?U>K./A,YIX./A#H+0
-M"(V^4B2T07$CLG@1G<;82<UIYD(I'8P=T(@1+D\#/JE,6R>ZH(")@X3.+=)W
-M)3_T[(7-,?FQLH%)$PF$\$%/I($2DSG2=MT#`NDG5D^Z6VQ`QLD0>=NR$P!W
-M^J51$_U2,\2GI5#3,M,&(D'9`UH.Z<@!`MR8.V8)2/M@]DT`'O\`!2`$D;_*
-M!QN<A.`(()CX30=P0B:#J.HH'+=X.R;8C$_">,Q&0DYL8@;;('#LG`@IHSF`
-M/A.1C:#O@H3ODX0$T8P`4B)$:1/>4FMS,.A)S9=@[(@F2/\`)3V7_/;C"@`X
-M*L].$5`,CX18]'\`:139(X7IW0A(;"\R\`L,,#B97J?06AM-N%X?)/Y.N^'5
-M=+@-:3QNMRR`+1DQ&%B=*@M&(6Y:B",;K%:C3MP/+YV5BGAH[2H+0"/[J<8?
-M"RTEI.@C'*T+,`JE2:(SLKE"&MW1J+3<`DE5KNL`(!QV2K5@&F52N*FL0TY4
-M$-R^2294%>JPT@UM.'3.N=PFNW$-,G94PYSZ@RB=K5`-DP9/*O6T-V!PJ-!N
-MD@;*4U-.2Y1J1KTZK0T$NA2_Q8#0)(GNN;K]2T#33,RL^ZO+UP])(:<[)MOU
-MUV[=G463ET0IJ?4Z9P'97FU"^NGW'EZX.RZ+IM"Y>`XN*;OX6W&?77TK]D@Z
-ML0K=&^8X8=E<U_!5A3U:R.52_B;BC7(!)"F5N/:XW'+IZ!97$M!+E<I%AR25
-MP=GUBJP`..GY6]TGJK7#-3]5<<I6K@Z$C`@!."X9;((4%O=TWM$'=66%I_JE
-M=8Y]&U.)R3E&S:$P`W)1@8C.%-&PAP)_,F<^.4SF&)&%&1!&5`U0^J95.]!+
-M294URYPG*KU'@CU'/99JQC]3I%TD;K%KTR)&)*W[_208"Q;W!)W]ESR=<:RK
-MVAJ'PH[:AIJ`E77Y:3*%C0'3N5AO:[T^`0MRR/I$\+$LL'?"V+(@D$'A:CG6
-MI:C$85AS@UN`%6M.8(]RIJH],S"W&$55QR=E`70"#N5)4V)!5>JTB3,%79H%
-M5\'A1/<'#(^O">J8YG]E!DDPJF@5@'-@B0J=S3GLKSF0"3^BJ5ORF/W6NS;+
-MNF.DPJ%<<1E:=WALK-KCU?KA--13N&!X^%F7Q@XV'ZK6K2LV\``D@(LK)O2W
-M<A9%T(<2!CNMB_:",+)OB6@I9LM9]S5()@0LV_?J)$3W5^ZRPZL`<+(O'#6[
-M,]HX68XY,SJ3RQCO+S\C9<;XCJ@U<Q._^\+INN5Z8:0V,\E<5URO-0EIF#E>
-MCQSEQSZ=W^"[7/ZJTN_5>N=>J"E99($!>-?@<[5>NK:X`"]!\47HJ4"P/]EZ
-MO!/Y5X/U%Y57]0I%Y))W3?Q]+N5GTM)I@D$HH9V*[^S$E?/=RQH&.>.RK/TD
-MF6\<*U6>X$_E^55KETB2`2N3U(@!JDX"&-1_9)Y)=O\`5($ENXQPB&<T9C/U
-M0F=/?W1N)`$D9V0:N1PJ&`,;_JGQ(/"=CRUI(`AV"#E,QS2!'?9#9CET9/LB
-MTZ1L1\*2N^B7@TJ98`T3J=.>3L.4S3+0[3M]D`P9V/T2$P2EK)))W]BF:X:C
-MG`0/EISRFV/*69$[#ND2,`2BF&<@Q*0!W,E$8G/Z)AC9N_,H&VD$2-X3-ATY
-M._=$8,<?)3:1N9@\DX4"&WMW"9TS.93M@DC8(G$`?"HB^=BCHN+'!['9;D'L
-MG<1/I!CLFY)@XX0/4<ZI5<][M3GYE#'L,(RYI,B"0$VIH,Y01P7/P9/LD#P?
-ME.^!$RWL4(TSOO[IH.<QD3RF'<D$I2#B-T[2'`P<CA129G)A"=AV1-(C3CV*
-M3O*X)_U5`-WA/!!W"3@`2)3P)WXR@<`#U#CND#!S]D0PZ&_E&Z0WWV[J(;?M
-M\IR(>,[^Z4,F&X!Q\)W@#TDS'(0,R(W@^Z3BX^WR4WHT[_3**6EH&G(Y!.55
-M$2#$-(')W09`AN?=)L3))QC9.<&<91#AW$X"N]*@U@=PJ;6D@$`1W6GTND&D
-M.QE9H]`_#_-8`#CE>J=`TEC,%>5?A\0;IC2['*]7Z""UC>5X\_[.KING;@<+
-M?M22T2L/I>X&WRMVT:-(GCA<ZW%VW.!A6*8+G0H:(!SL%;MF@0866XLT&0P<
-MJ1QTB04-(#Y$(+AP!@%*H:SS!(*KO=IR8E%4<#Z95>X(#42JUV^7$3A16U,%
-MP=ND]NNI`,@*8Z:5/=-$A[BJ*3,X7->)/$C+)CB7[<)>*^JTZ-LXO>`!LO)/
-M$G6!>W[J;JI%.=X6+;O4>KQ>/?->A>'_`!11N+R7/G,1_L+L_P"-H5K::?(7
-M@5O6I4&MJ4ZI#VKL?#_BNG2L]-:H!A;PMG%<O-XK>8V/$76V],OA5J&&3NM[
-MH/XA].9;-#Z[!`Y*\:_$7Q"WJ5?RJ#O2WGNN0;<U!@//W5F][CI/TTRQGMV^
-MIJ'XAV%W6;;4:S7N=L`5UO0;47E`5WMW7R1^'O5FV/B*E5K/].Q/9?6'X<]<
-ML[GIM)K:C2(WE+;E=9.'E\7[7]6A?='!;+1E46V]S:O],D+L:9I5&#U`SV*!
-M]A3JR"``LWQ_@P\UCGK+JSZ9#7DA;O3>JLJ0-2IW'A[S:T4P/E4K_I%[TT"H
-M#+0?=3^6/;M,\<G7T+AKA((A6:;Q&XA<7T[J;F0UYCY*W++J#:@`:X'X.RZ3
-M*5FXZ;3].GB56JF780,K2,$''=.XDB1"5-:15!J:>ZJW+0`3*GJ.TD@G"AKP
-MYF%C8RKQYU0`LR\;(,B/=:MY3AI)P%DW67;[_HL5O%2TG5$?5/I/,(B3&-^Z
-M"8=!^ZQIO:S0QMN%J]/.`0<E8]%P)Q@E:O3#!]E6:VK-WLIZ@!$E5:#HCD'L
-MIG.B"MQD#Q!.57K&3A2UG3,*"I).TJJK5"2["'28D[*7TAV<E`YPV_NM1FHG
-M.)&^_NJU?(CA3U7>G.55NG#20`M(IW+001NLZLT`GM[J[7<1,*C=.,F/T15.
-MY=!,RLZ_@L)!A7;DDM67=O=M,@H,^NTQ(*R;W+HB/A:5Y4`$;$+*NZX)))D*
-MEJA?._EF<!8M^ZF&;Y&X"UKYS7,W'U7-=4J$^81$#<K.OPY=L#Q!7,.8'3V(
-M)"X^_+JI?.0<96OU^L#4>`[/"PJCCHYEQR5Z_'-.'DKT7\'!Y5HXC[_5=3UI
-MI>#J)$9PLK\+K`T^@,K3EXG]5<ZS<^LM8X%TP0%Z/#.-O!YN<DEO3;Y+<\*3
-MRQW5>E5'EC40"B\UG<+>DV\%N7;-('IDY"IU6'))&#RKE8>C42T@=U4KQ,<3
-M*YO6@)B1B"F<P`'41V1.T@X(S,SPA(!F2)'=$H`)@#8<IG[_`"C'Y2.^R&`2
-M8B/<HH'!LB`?A$S0:<:I)X[)$>KO"36@/@=OE4.\$'26P0<@J>G7;3MRQE*G
-M+CE[A)^D[*`-`)./F=D0D-@$`(&`],DC!2(;J<B:T?$)B,[1]4#5(:[(V3$#
-M223'PDX;(@R8:(S(W4`B08#1(_1,_#>_`1%HG83O*8-$@$?7V0T89:?G,)X(
-M,C'9,1C';=2.CR\B%0,Z6D#&K=)Y=`U2G#89,?FV/=(M$80,9)B4(:?>$^B1
-M@0$;8TF9S[H!#009"8-_I.(1N:(=F$+FD@#4<\H&<P1!S'NHB(=)^REJ.&F`
-M[[('#83'*B@<(.^R1!=DF.,(R"'&9@]BG8T%QU:BT;P@%H+=."/A-^5^[H[J
-M2&D$"?JA=$S'TA`TR?S"#WX1%S2(@`]^Z%D1S*8;Q.P0&#Z3D"<)-TDDDXW[
-MI/:)P<;Y1.:0R2[=$"V1L[8X2))F#+DW!.K=.T`.W/T[H'@D3(2`)D<$)JAU
-M$Z73/!2:-,912CU8'^^Z/2(@B#V*`CTET@'@#E$,G5JB"J@K=LU/\UT%C1_D
-MM,0.%B]/:75=/?E=3:TW"T)(PW("YY5J1T'@`?\`JVM$"<97KG1)\IN,PO(O
-M`LBZG'SVW7KO0/\`EM)7ES_LVZ?I@@#/ZK;M1L9C&Y6/TULM!F%LV[8;.KA<
-MJW%ZCF<J_0;GD^TK/H`F#(RM.S;@9E9;2%Q#-B%4J23)5FJ[$;0H'9$'"NC:
-M%Q!R!LJEVZ9$[JQ<``0%4=)))2I"I-@:MH69XEZBRUMW0[*L]1O!0HDD@0O.
-M_%M]<]1N#:VY)DY/99SRF,>CQ>/VKCO'WB&XN*[F4G'1/=<5_P"H=4)=J))^
-MB]1;X)-2B:M7+CG*Q;OPH^WNH#-0!Y*S/),7T,)CU'-65.N6B7[9C=/=U"PP
-MYQ`[%=)5Z=</=HT&6M$``<*.MX4O:C"]M$GY*D\D^MZD<9=/<XZI,'&^ZJ5-
-M1$SD;KL7>$KL/=J88!'U4'4/#%U;VVMU+*Z8^6.>>,_+D[>L^G4EKB,[KN/`
-M7C_J'0WL8Y[WT@-B<A<;5I:7DZ1`*C:)$?7==;)DX98_*^EO#7XT6!#65ZP8
-MZ/ZCA=WX?_$WI=X6M;=TSJ'^(?YKXQ:7LR.V#W5SIW4;FVJ"K3K5&Z#OJ(4]
-M;.JX7]/C>GZ`>&NKVUZR6O!'L5J]0H"[MM+&APXY7R9^%GXM_P`$&6_4*NGC
-M43@[^Z^A/!7C_I'4K&F]M]2!C(UC_-7'/?%>?/QY8)NI]*+=1##J"S)KV57)
-MP/==1<=2L[QYJ4GM+3[[K!ZZ^@X$-<TGY6+X_L,?+9PL]/ZH*@$.RM6C<AXC
-M5MA<&XUK5WG-=Z>ZV.C]4%0:=0D?JL[LXKO-7F.ANJG:%&:GIR1\JLVL'4HE
-M`:@.)]E*:*\+3.HX65=,TM*T*YEL<*A=G$AWT6:D4:DM)(Q[*"H\`8E'<.WQ
-MD*M4J0V94;3T7CS/E;72WN(#L^ZY^W?_`#-UN])&IN^R%;5&IM`^ZD+B<'Z*
-M*W`@2,J5Q:<R%4@'1F/^R@N'%H($J4D..\*"JZ'9=ONM0JMYD/DF4!?ZIVG=
-M$\"<"`@=I@P<JQFHZCH:"3OPJM=V5-7C^DX/=5:T8$_Y%:16K'(RJ-V\3\*W
-M7=B"0,K.OW`M(!$HBE=U0V<Q&ZRKZN`XD#=6[Z9)+C)Y61?O+FNC_LK%4.H5
-M]6RS;EY,Y)"N5PTSWE9]\XMIEJM8M9G4[EM.1J]BN3\17H-+TC2)S!6WU60!
-MDX).2N.Z[>.8[:`PG(S*N$Y2ZDX875GDO<"9Y`5*@WS;UM!LET]X*>^KN=4E
-MHEP)VPM#\.;=USXIIO$PS,_0KU7C';S7F[>R^&Z!LO#5*B['IR5A=4JL-P7&
-M)GX6_P!8J.IV082`(Y7%=0JDDN(F-EZO%CK&1\_+^657V=2H!L2?NG_XE0_Q
-M?JN6>^7DR<^Z;6>Y^ZZZ:]8X2X9',G;<JK6:7$RT;8"T[H>2#Z!K/YIV'^:J
-M5:[)E[6O`P1IC[+S/4H5`X"=B@:(SOPK3G-8QX:^6NSIC*KD@B>WZ(!J%SW%
-M[@.V/]^R",_F@SO*DC;4=QE"6AQ!(^@4`$&`"?@=D_IW=O\`*<S$D;93;'V/
-MU5!@!T^G_1(M!RUV)(]T-/)B?U1,(0L,"=X`GW3M$&3M[I/<"^-(`X`3O:0=
-M+I!!RWE#02-+CS'9,"X8.W9$TM!!+2?JGJ5-1+G'/=%`!IW$RA?!='T4D>DD
-M"4QT<S@930$3L"9&R,MD#@./.R8:"8[[IHT8RF@XGD;X2SJ`)."B8!&3PB+1
-MJS.1B4T@0SW/V3B0=XX12)TI@[!$H(W[\DE)[B223]E(`#."/=`\N`TF.\HH
-M,:M\$H07$0<A.';<G9)D8!X13.U9V^J<.#1C20?NBT@R)`"8P0`<'NH@2XAT
-M-/\`9(O!.70GX!D&>83>K,"1\H&:]P)(P"$W!).4^\"82()$3@I5.3@9D'A%
-M4)D&2!P/[H&M`=C[IVN,^HC!W1#28QGX^48)W:0.P3:0,@X3L#9&H2#P#'ZJ
-M@8(=)@E.Q[PSRPYL.()!'(_[I&(Q$#&R1$G3C3V"@)@)D'2"9WY^J1!Q(]Y'
-MPF`Y..Z<CU`MB"9@H-'H30ZX)+=PNF+'MHC2L;PE0\VKS/M]5T=>GI:!N3L.
-MRXY]MQ>\#S_&R-H7K_0!#6#;"\B\$M#;_3.)V^B]=\/D:6CLN&?:NKZ61H$#
-M$+6MB2(_99'33D"`?JMBS:/3&WNN5;C2M&@C;]%HT@UK?=4[6=H5@XGWX4;.
-M\->\F<=D-=H&>>45(-&\R%#?/`9RFH6JE5TO+0=E!5.AA<?U4X#34))^JQ/$
-M]\*%`M!S\J6Z;PQW7.^-NJ$%U.CDS$?9#X/Z4W4;FHSU.S^Z;H/2JO4KXUZC
-M26S*Z\VC*%`4Z8V[+S[W=U[Y)C/6*%VVF&>6P?943TEMR\D#=;=G85:]3;=;
-M-KTSRHD9"7^79N8].:Z3X48^MYCV8/9=E;^#;+^!DDZHSA6*#&TFB!GNIA=7
-M'_*\PZ2NF,QCCE<KU7']0\.T&U7`-!,[KA_Q&Z>*'3W,IXC$KV2YL:CJ+WR`
-M<8*Y'Q7T(WC7`M)XPLWCITPRW>7R]U2VT5G`;?XEDUFAH&73)7K7BKP15I7!
-M=3:8G:%Q_4/#-Y2.H4G.S!PNF'FDXKV98XYSAR]-Q>T3.,J1N@X!,QNM"YZ3
-M5MVZGTG"/LLRK2J-,220N\RF73SY>*PJC@&2''.)'T6MT+Q'U+IM1AM;VJS$
-MEH<8^RQ'3N1'M$)WD:,8'9:NJY^M>P^&?QDO;6W#+ISW$#=I/WW6YTK\7&W_
-M`%1E#4X,.[G'_5>!!Y`#I$D3(&ZEMKFI2>"UV1V*SZZG%<_VL+\?973>HV_4
-M>EC0YI,<+.I7KK._`+S&VZ\6\`?B(ZRMA2KU':F",G??W6[?^-FWEXTL<2'<
-MA9\EEF[VY>/PY89:^/=^G7C*EN#KD0KC*HD1LN'\$]4-Q9M:7#@[_*ZNA4;I
-MR5REVWE-+I=S,A5;P#08&/V1!YU3M*KWE26D?LCE5"[AI,;*@^H3G:.5+?U#
-MF8*HEQ\S<%9K<7+,GS02<%=)TD^F`87/=+IEU0?JNGZ:`U@GG@++5:=-WIP4
-M-1QA,PB,[H*AR?=:VD(N[[%05W<3*3G9CA05'K4*%S\\QW*C>^!_JB,<S)5>
-MX<!@G"U&*BKO.HSM[JI7J;F?U4M5Y,R#]51N'N&6XG?*J`JN`)^51NS&21]%
-M-7>8D[G=9O4:@`,.CE61%;J#Y;`B?98M[6`:X=^2KMW7#3_=8O4:I>Z!WE;2
-MHJ[A$G8K(ZE5AKAJGOE7;IX;1(<[/>5SW6;EK6%PF7;DJ,=UG=;N@V3/I'9<
-M5UJX#I@2"<-E;?7[II9`P`5QO5;B:CSK)/)7;";Y9SOQ1N:LO'IDCV7:?A/;
-MG^.%PUD!HWWX*X>QMW7%ZRF&DS/&Z]L\*=(H]-Z*P-/K(EV9[_YKOK=F+R^3
-M+UQVGZ_?L<!3<<M^O9<CUV\ITNGN/G>H]QM_N5=\05A1N708U&%POBJZUO(!
-M)R9A>SC%Y<,?:B_BJE3U^:&SPEY]3_YPJ%NXFBTM+H^`CEW=WV"Y>U_+U^D=
-MGXR\-]/;3\QE,LJ'AIW7$]0Z8UCR((/*],ZXUUQU`TW?E'U4;NC6M>@T.'U7
-M.8UPGD]>WC]W1=1`U-)CF5"_2*8,[S(A>H=7\&"Z9_)<1&=ES]WX!OZ;=37A
-MXY$;*;=9GC?KC3$("<SO*Z]OA"I3=_.!!(V*AN_"=<#71W/!57VCEB0!F<I2
-M#CGNKG4NG7-G4BM3<!W"J,;)+9`GNG#1SIU[X/=+T$-TM`(W=&Z?T>G&P[I,
-MR<'[!4,79QQC9.(F7O,DIZE-["0]KFD\0F@3.<\(&!&0#)E,2.,RB:&YU`F=
-MDTCL80(#G>$PTG`$0B@2E`T[01RH'I`!DDB>ZF)HFU`'IJ-,&,Z@?V4&S!P1
-MN40B<';.RH<@#'VSDHGZ0"21)0D@SEL>R9VEP`D;=T"D$$`1/NA><!H?,)P0
-M<')X3`$/,('80T;QE-<5"][JCX)=V$)8\N5&X@C`R/=`+LQ&D0B;#3L(GE"X
-M#&1LF`':<**E!/&W*#5!+M2?<`2?9,6P"`<3L@0$\X3%N)B.(2]H'W2@MP8S
-MVR@0`#`G@AA`&"A'[>Z378.<[9*!H)VPG$#!PD!P?NEIF3.RH36@8)!E2!H<
-M,`F/=`W><%2-<6[8/SNH!:!D@$CY3:!S(/.$5327$M$#M,H#$D"3]4!M!([_
-M`*I])#])!!Y!3"-')?QV2+3.<(.H\&4PTS`&)(717=-C6^IO')6+X+HES0X+
-M<ZDUV@/.RX9]M1;\%TP+T$N$+UCH(_E-D$87E?@5A-ZQN"<KUKH;1Y;1,D+A
-MEVTZ'IHV&J%N6#1@%8O3P0=]^ZVK!IQ$@=ESK<:UH,3(PIVRX`<*O0/V^5;H
-M3IE1H4%C252N*PIU0_2UPWTNY5RZ=%,R8^%B7U:*AS"59-@OKEM.B7%WJ/9<
-MK4I5NJ=3\O<3PKW5*[GU0P$$=UM>$[*G2?YM025RSYX>O#'TFVQTKHM'I_2Y
-M;AP"IN:*M<ZFR"KW6+TN8VDQ^.<H^F6C0SS7%3+FZACQ-T_3K713D`2KF'&.
-MW"JU;JG3)9J$!5+OJ]K;-U/JM[0L[TWVTG@-9`!D=D5&EJ."!]5P'B7\0K"R
-M:[36:2/J?V7'W_XK=2)BQM2_$!SC_HF.6VYX<[-Q]!4*376Q:^X$Q.RSOXJQ
-M94?2-1I=L25\U=1_$[Q@7.:ZN:378AK1_DI?"?CV\KWX9=522[NMY7C<A/TN
-M7VO<.N6-I=UWFF`0=EC5/#=*H(\L$'V1]"ZD:U)KM0,A=/T<4[BHVF2/4N.U
-MLN,>:^+/!U&I;.#*0'NT+R+Q)X9N;*LX%AB5]8=?Z53IT6N:X%K^.RX/Q+X<
-MHW#S_+&<_"L]L:WXO+^7S1>652FZ/+/RH1:U0X^C=>T]7\$->\%M,#/`_P!%
-M?Z1^'=@*7G/I^8Y@D-=^7]EUQ\UO&G3.X2;>"5:%2GAS7=LC*K.U,<=M)^Z]
-MF_$;P>RM;:>FVK35:9FFWCM@+R:^M*E&X=2J4]+V&"'`@A>B>25QF,RFX73?
-M56;F`<+T+HMK:LZ<7ZAJB?=>>VC8,!H!'NMNRZC4#6,U&!N)6<VKX[9.7M_X
-M:W3C08V9PO1;![B!J.5Y)^$]VUP#>8WE>KV-352;F)"X8=/-Y>*O/?+("IW-
-M0EN\2CK/AF<*G7<)SF5IYZI7U0P1.Z@MP7P3GV1WCB7'&$]AETD$_5*U&QTE
-MD$%RZ*S_`"?V67TJB-`*UZ#2T`]ME%3,;Z!Q&Z"L1IV1>8,Y^?=15GG3GA6*
-M@<<^RBJ[%&^I(Q$*M4<2[E6):=[X=&?E5JQ;$20B?4P2JUQ5):)@?"TQ45P\
-M]RJ55X;JER*XJ9+MRJ-P]V2#*H"ZK9*R>H59!`/W5B]K2>0LB^J03E:D9V@N
-MZI#?4LN[<8)!W5BYJDR#.-EEW=:)DA7>F;RH=5N]!+3D+F>K7;7`AQU#D+6Z
-MS6`$G\IW]ER75GZB'`B)5QA(RNNUAJ(#L@[^ZYVYESBX!IG`!5[JM8/J.:2"
-M>\RJ=C1=5JZ&YU87IFI''+FNB_#OHW\5U-A<P1$_&Z]0ZC3=;64%T0(E8WX=
-M=*=:6HK/;ZG#D*]XPOV,MRRI`G?*Z^#'=V\?GRW=.!\3]4TN>73O`=/^BXR\
-MN]=4OW,_HM#Q;<L-PX,?,GDK$IG^9G29Q*[9WG37CQU&K0)=2:X:A/9%![N3
-M6Y`HM!,?5'+>_P"JQMWY>K6W3!<.-2X>XU%H-Z;28T`-..96YTCI8-/43G=7
-M*]FUHPI:\#EZMI4;)8^?91:'-9_,9`_=;M>@T..<+/ZRP4[7,$\*;-;85:T_
-MC+OTLAE/<R@%FTUWAK9#$[>HNMP6MI2J5;K+V/-3RW#V"LARAZST6WNF%KV"
-M7=PN(\0^%:UO4+[<2)VR?[+MZOB&B7#S*+E`_KMH]_\`,C3&Y"GK^'3'.QY7
-M6MW4ZNFH-)&(.$#6Z3(=MR%W/B2PZ=?,-2W+14W[+BKVVK6]8L<S8[PD_P!=
-M\<YET9]6K4@/J/>!MJ,P@,EQ2+\>EH$)M3HB/]56B>-O5MV3AIQ!W33[!(.,
-M[!$V<9R8$>R4NT@H2XDF44D#;]478>9G?L40&-\?"',_ZHVF#,1[;H'8#ITB
-M!_=)C!)`$^X3`N<Z`W/ZHV4JKGDMI.).ZB;@1,8@<(?ZL*=UO6:#+'`*!\ZH
-M<"JNX8<QD'A`\2["?4T"8(E,]P(](,G=#87"!!'J2:V3$'/*=CF\@DI?U;%`
-M0;'R$+@.\%&YS-,^W`0AS2W$_0*:-E3:/_Q#W3/(G@)PX#(D'YE`7!QW**9W
-MN?LG.D-RGJ5`8@#TB)0:P3)X0/$@)0?@)]0G&R3BW$?H@-P;$S,I-.DB=O9`
-M"W3$[;82U`YF(VP@>#J_*G<"3B#'NF+F@"<%$"W2<CY5#!H'])4E,'S(.!*C
-M8YNTX4U)S-;9<`/=!V_@YH;:`[GN"M+J$:2"J7A,--C(``*L7[FMSJGA>:_V
-M:G3:\!,+KO5F?=>J=$PUIC/LO./P\I:GDD;<KTSHX!(@B%QR[:=!8-#F#=;M
-MBV6[!8UBW8@X"VK+`S]I7.MQH4&D-C!5JD1$QRJ=(G?5CW*G+@UO/U*C1NH.
-MQIG98/53II.).5K/<ZH[=9'7ITZ=62=I6:Z^/'EA])HON;_(P#RNUITZ=M:#
-MXW4'A'HU/RA6>-U9\0!M"F6@X"Y:O=>GVENHSF`UKD.X'"N]6ZK3LK')&`L2
-MCU!E%I).W*X?\1O$%9[#3H.=]%-Z;F'M4WBGQZRA4>RD[4Z8@'_1<9U#K_6.
-MK.TAYIM=V_[+.Z;;NNKXU*HF3RNCI6S:8V(Q]UC+6+V888RZ8M#HQJ.#J[I)
-MXW72]'Z=;4:`UM#BW]$UG3!>T`\\!=1:VE(V>&B8F96,;<JWY<M33C>I=,H7
-M37%M(-DKF3T?^%ZH"#&<+OKRF*3W`-()Y7$>+;Q]"\:[8`Y*WC;T87EZ]^']
-MH;JFRD'0T-G==)U.>DO8\5</&/9>0^"/';+*BUKC!;B94OBWQ_5NS.LN<-HV
-MA)-37USR\65R_P`>K'Q#Y\,K5AC:2KEM9U.HTP:,OC:,KYLNO%767534HEQY
-MQ*[O\(OQ;%A<ML^L![6N(]2W,;]<O+X[C/XO3[FS-$^5<42UW8A36%"DRF0X
-M@`]U<ZUXCZ-UGIC*MK7HOJDRTL()`6795]>IIX4RGK7+&^^/*+J-K0\Y^FG@
-M\B%Y'^+'A9U6[-]0HQK)+H$?V7LKP"X&"8[Y5#Q#T^E>6I:Y@)`X"U,JL_AE
-MN/ERM;NH5M&W&$SG%A!'!7:?B%X?-A>NK"GAQ.RXVY&C):"?NNN%]GJLFMQZ
-M3^#MVYU4#)(`PO;.E5?Y`)'"\)_!>/XDQOC9>Y=.`%N.#"QCW7A_4]IKFL9P
-MJWFD.)F92KDZL$2H8=&ZUIY052Y[HTX'<J[TJB9'(/"JL`+S(6OTEA=&F%+R
-MU&QTVD6P3VX5]N)B3"BM!I8./JCJ')`D(L)SA\A5ZSW.$94PES<E07$`Y5@B
-M+AM*KU7[G.5)4(C4#E5JAF3*K-15'G3NJU9\C.?E2U'B#PJ-T=M)*L9J"O4.
-MHJG<U1!X5BN]K1G'O*SKVL)QL5J1*K7E3<+)NGSL=U9N*AEPX'*S;JIZG9$+
-M<9M4KUQ;,;+%OZT.,DRM.]?.`?N5A]5J,:TESC[*5F,?J]P\M@@QRN8Z_6;2
-MID`DK<O[F9,;#>5R'B"OYM<Z<&5UPG*Y<,BLYKZAF)/*Z#\/>E5+SJC2&RS<
-MF5D6W3:CR):<G=>N_A;T5MOTQM0@A[ARNEN^(XYSUFZZBUMJ=I8-)(V7EGXM
-M]3+'FFS(G/9>D^)KC^$L'DO&.Z\$\?=1-UU%X#@9*]N$]<=O!)[YN?KU75GE
-MSC]$]#)AT.4#!!)@94]`MU`M])YDKGMZHV+=H\AL=NZ/2/=!;$B@T3PCU.[_
-M`**.D?45M0T4Q&,*/J-.*1(.0K]-N(4?4*8-J9WA9KP1S=.F*E4DF0J/6;8U
-M(80(6U:V\`F/=4[JWKOJDM<T#X5HY>O8-&/+6)U:TA[FL!E==?VEQ@4W>HGZ
-M*B[H]:"?,:2<J[9U8XFO8F"33#C[=U4JV&J"VWJ./,-PNZ_X34UD/=3(`[*I
-M?V[Z3'4F:)(_I!E7AKVTX6XM'3Z:+A\"52O;'63K9QRNO=;>HSF3F6_Z*K6L
-M2]^DAHWB$TU,G$U^E,V#=NRIW'3:@P&Q'.<KN:G209`U$A5Z_399#HD8W33I
-M[N#JV]6G+G-/91D8,@CV7:U>E-."R6QA4KCH#:KCY8R3QNHU[1S5O;5*];12
-M:7$]EOV'ABYJTVNJ,/\`DNU\%>'+6SH.?5HZZIYA=*;5M8M92HD1R,*V:<KY
-M?P\YI>#GZ-;F&&Y(!2H^'Z#20:1WB)S^Z],N[#RK1VH9/SE5K'IE%C-3F^LP
-MI$][]<YT#H/3"]K'6GU)*ZRT\,]/`&FB,J3IEL&WD1$8E=)1I!N,1&W9,F)=
-MUSQ\,=/J`M?;-CZK+ZQX!Z7<L,4-+CF05W(9$@#*;RR?21G98;FX\0\2?AY7
-MM230!>W<>RXWJ'2+RT>0^BX#.87U`^R;4'J:"L3Q#X5M+NB6FD,[8Y3==,<_
-ME?-;VEIS@;Y0$D#!F>R](\9^`JM#55MFN,3L"8"\^O+2M;5C3JM<TCN%9DZ2
-MR]`+2&X>'2.%$Z0<'Z(BT#(G[)B,SJ)^55"X&9+OT3C3J.N8CC>4[L`2XSW"
-M"#/O/952@SB)2(.=@"EDDP=N2E!F"5-!S&H$'YGNDXX@"`G,$C(R4H,Y('8(
-M&D:<8*6(.<!.0-(,C/"8`C,-A`[M0EID>R9L`?F$)5!)&!\)RXN`DM$"!"&B
-M)VV4U#);)D_"KM!QLIK=L.;)[0@[[PN\LL8+1D0K5;0^L`=_94O#CW"PV`("
-MOV-(FZ$B<KSWMJ1V_@:CHI-.,Q*[_HU.3Q(7(^&;;R[9I;'==IT%I)!WG=>?
-MMJ.AZ:,`&/JM>U$#(!]UG63)B``5J6W&%ATBW2$-DQ*BKO!@$A$ZH6L,B<[*
-MM2FK7C@<)5BU1IC27'D;KG>M5F_\0#?Z6E=)>'R+0_\`V]UP?6;E[KXEN=.,
-M+.7$>KPX[=M9=5HT;)H:1JB-UG]2O/XPD`R5SEK6K5G`$D#Y6WTNAL9RIOV;
-MN/HJOZ:Y[#C#ED7WAAE4Z],'.05VM-@TQ"<T6:9@9"OI*Y_N91Y77\-MLZVN
-MG3@9G"HWS-+2US8/Q*]2O[:F]A!;L%Q_B7I#7-+Z8((,X7#R^.]Q[/TWGYUD
-MP.E-+GAX$`+>I533`@[X61:L%$QI,K1H5-5.<_!7#"/5Y;LUX!4<97(>-.A"
-M[I%U+<<+IKRLYK@!LJ3[C,O$3W6\;-[8FYT\O'2;NA<Z#J`"Z?H?1`ZBVK6>
-M2#C*W+NE1J'4*<&9E2L#!18QQB<+>7DV[;W!6?1+048+`0<KFO%7AGUNN;6F
-M6B3M*ZZA=0P4VF>)5_R`^U@P9R0ICDX7^-V\M\.^(NJ=!O12KU:A9.Q<5['X
-M-\56W4J+7-JC5&1J7F'C?HYKZZC&Z2V<PN;\,=7O.D=5;3\UX;J$S*ZY8S*;
-MC7KM]26EPVJV0<*VRDUX@E<;X$ZFV_Z?3J!Q)+05W/1]+HU''NN.-<?)CIP'
-MXI](\RS?Z>"05X7UND:5RX"9E?47C^WI5>GN`'J((V7SCXUM'TNKN9W<?W77
-M&ZR;\-]L=.F_!JDYM0/)[?5>SVE0>0-UY?\`A+:Z;5K]($QO]%Z53=%./9;Q
-M_+Q_J;R.J0XD\\H@TEL]E'1)>\S@?NK=)GNJ\RO0HN=5Q^RZ#I%#0T$B%1LZ
-M4OGW6Q;"&QNI)^6MKU(C3[IB<2@&1GA)VV^$#/>0<%5[I^KE%7V@*K5<"2)C
-MY5*&JXD$*O6=C*.K4$C.54N'DM*UME'<$`95*LXP7$XX4E=Y.Y52Y=#<A6<L
-MJUW5ANDF?A9ES4()SRK-P\@N_NLZ[J``\>Q6XEJO<OP<CW67=5-),00IKVZ:
-M`<B?8K-K5-1SLM6L(+BI+7%P``7/];K0,EO^BTNK5@QCX,_5<CUZ]TM=+IB4
-MDW5GY9O7;T-+F-W)[I>%^@UNI5#6<UVG>2L_IUN_J74FM@F#W7KWAFP%ITVF
-MQS0T@!/)EZ_QC>$O]JY9WAUE*HQH8#GOLN\Z#:BUZ<R&_E;M*A%JVI7'>96G
-M=N;0L]($$!=/T\W=O-^KSNM.%_%2_=2Z8\N]P#_L+P?J-P:UT]SA.>2O3/QA
-MZPQSC0.'YDYRO*ZT$EPF">^Z^CGQ)'D\,[IPX:9C8Y$J6@X:MB1QE04CISG(
-M4U$G8$D;KD[[:M&L/*;B,(_.:E0/\EOIX1R?\*;:?6]-LF..4/5`T6)(^(E3
-M`>O"BZL6_P`.&]S"S7AG;,MJ9-N9W*KW-,LIDD+5I4P:0T]E3ZE2.(Y*7LC$
-M;1+W&JX8]U'79`@">ZUC0B/A5G4QR$5C5K=[S$P-EEW5JW4=()DY*Z.ZHN/I
-M`W45O92XN<`594L<Z_IX8UQT@GGG[JC6M@7D"F#$X"ZV_I,93(@#N0N?OG_S
-M6L;!^%J7;-FF<+`5(B!.Z*MTBFYVD-(,296UTZWU09$QRIZK#J+6MGN4I.>7
-M*5^B:1E7?#GA^:HJ5J<P<"/A;K+=]2J)87-:03A;EG6ITP&BE$>VZFVN?K,;
-M:.&&T84U&W=2;JV'*U_.81D0J]=XK.AC<`9*RK'=1?6JESR8&P'"(6S7'5L5
-MI.I:<D83,I2X''O[JIJ,RU8/XX`+HJ5!Q:#Q^JR*["VZ#N/W6_THM=3`SVE-
-M<$%2M&.;*;^#@X&W"TK5D-@1'RH[JO3I#W66E;R&-9(C*I73J3<$H.I]2@$-
-MQ"R;DUZX#FEQ)/"*+J%.A5U-(:00N"\;^#;2^I/JT`&O,YC"[BA87`>7/<2#
-MPK(L6%N1/>5+(2V/F?Q!T:ZZ9<&G68=(Q,++R!!_5?1GBCPU9=2M7T:E(:\E
-MKH&\?"\+\7=&K]'ZF^A581DQ@Y"2_*[XY>S'(+78^$,N$"20#LB,9,-2](=.
-MX6V]@R9!.-TAZ20<@H\-<<80^GDJ!GD;MVE//!(^4G``CU2$B)/:!RJ'+70"
-M!B,IMP9@GZH@,.]0CLF@`X(RH!9)SR$0+L@@;93M'NT)R`08*`#.W^JFMI;4
-M`/?91[GTCVGLI[8$UFD[R,RE'9=!J.;;MP(WRM[H=$U+QI(_J!/W6'X?IOKL
-M`I@O($P,PNN\+VX_BV:A#@X#3O[KS^2M8NXZ-3BDQL8@0NOZ#3.(;(7,]-I_
-MECV76]`I;'(G9>:UN1OV3(;"T*8B3A4[1L08.(W5L;;_`"L5LUQ5TCYV1=+R
-M^8&ZI7+R*D;B5<MG>30<\[*SMJ(O%%X*=$M#L[;KCG-%2H29"T>M7/\`$WD2
-M2`=Y]U'2IB=ESSNZ^AX<?6%TZC&\86W9PT<2JEA2(C]EI4Z8+06C;*8L^6I:
-M#CJ$[>ZGJN`$3*@I@QOD(WCT223B5TCR54NH<9V!]UD=8`%)P.=X6U5I'1)[
-MK'ZO0<_N1"-8WEQ%_5-.[+'0!,J0NBC(.47BBR=3)<!)X/98_P#$5&MTF8B#
-MV7BN/K;'U,,IGC+&E0BHZ=4S[*MU:V>'C0?S=UG'J8MZT-S`R"-E;/5VU'-<
-M3'?W6'>8V78+BDZB1JW/"AJ5#(SC?"FO7F\IRPR&_<*G>-JMI8!!GA734_U-
-M9OU5&Y]MUJMOBR*>'?!7/VCJK()'/V5FGY[7E^C$R=U>9TSG)>TO6'^8QYT@
-M3*X3Q'8-;4\YH#3JE=TYS7L=KXGZ+G/$S6N<"TG=;PRU3&?':_@W=/%G!,@1
-M$[[!>O>'#YC))7BGX4/\MI&"TD<?"]K\+$&BV(V"S)RX_J`^+@W^$/!SM\+P
-M3\0:;*GB!C6B<P?NO=_&50?PS@#!*\2\16GF>)VG4YTNQ\RNF5TQ^G=K^']D
-M*=BR!B`?V74D-C3MA9OA6CY5@P_].WT"U`S4[;`77#B/%Y;NI+2E+I/)W6C2
-MIPV4%E0),1]5<;3.T;>ZUVXGLVB<#"T[<"`)RJEM2@29@JVQS6CMP5`6N9$[
-M)B_?$H7GU$YRA=F/]PB[1UR""(S.ZK57"3D*6L8=`XE5;ATR`?[*I45PX<%4
-MZKY)"EN'&<'95:E4##HSR545[MXW!]QE4+BK(._,*:\=(D'?LLZZ<1SLM1$-
-M=X$DG'*R[^J"QP`^JL75:6D?NL:[J$DMG'RM=,54N/4^2,;X56\K"G3($`_*
-MENJ@8'.]BN=ZY?8(F.P":3M3\1=1\LG0<D0N.ZI=NN*WE@;G,*WUZ[<7RXDG
-M/TRJ/1;*YNKD5-#BP$$PNLGK-M2>U]7>_A;T!FD7503,;_1>@/MJ;6P'8'9<
-MIX,O!0H-IC@!='6N@ZEK!P5Y9=VV]O1EQ1VA:VY@GZRL7\4.N4NF])J.%0-<
-M00T'X*H=8Z_3L:[YJB0"=_\`1>1_B=XG?UB[+!4FFTD8/N5]'])CJ7*OF?J?
-MYY:C!Z_U*O?WKZI>XAQ,_$K-,$`R<=D(<2<G?W39,9]EVMW>222<)A!S$1[J
-M2W$.S('N>5`S#Y))5BEE^J<!0:K':6ANO[)_,_ZRAI.)IM/MW12>WZJZ:T^N
-MZ5P`_2[!E1=5J--:FTG!5VO;LJNEV"/U697LWU+\14):-@?E3?/+PZ:%%@T2
-M"J-PT.N''LM"V86TG`G8*"G2PXD*6<D4:S(DJE7#9U#9:UQ2!]BJ=2FT/,B<
-M_1%4J5N7NSM*DKTFTV$#`.%:)8P>F>Y"J7+BYQ(!QL@Q^L-F2(CW7-R/XL@R
-M#,1WRNCZXXMI'(F#PL7HEK1JW)J57$F<`;!:Q9R:?2K1SAD>DCLM!UJ&TPP9
-M)Y[*?IC=1\M@)^FRV[7IH%*7"7.4JSABVS&V].`V4KDT=.K+2MJM94J#2YX5
-M2C:-NJWJ9Z`5!B4Z=6M7`)=H!6E3%%K`QC8`WE;#K.C2ID,:-L*O4LV:,B"4
-M5EUF-VD(6-&DJ6[MW-?#23W4894:<Y[HJM=TX.<+:Z.T?PXU3[>ZS;H$L,XA
-M:70P'4!WV*J+6IT0'!5ZM`.)+R8]U?%(D845R`QDQ/NIH8]]9TMW.`5FRL6>
-M6W2,#"&HWS@2[8<*WTTZJ!#>$4%:U]`[JK5MXD8^%K.!B")Y45:GJ&`)4(Y_
-MJ-$-,F)',+S/\;^B-K]/;>TZ8ULG41]5ZQU>EI:0N5\6VS;OH-PQPDACL`9V
-M6;TWC=5\W/;I,$B9Y0-(@AQCV5[K5NZAU"HPA^'$01PJ+V^H&<>RW.GH,?S`
-MR/2A&6Y."G<T9]1CW3L9+9!V_54*`1!@F<%,]I!'WRD`(*(N+_S'`;`Y4"9@
-MDEH'9,9#R,&.Z<M;@ZYE,UH(_,&D($))&!"FKTZ;'!M.HVH"`Z0"(/8_"B8R
-M=C(]EUWX<>!^H>)KYHI,+*,P7P/\U+=08?0^BW74KHMMZ1<UHDQE37UDZUO!
-M0<S0\8(/<%?4O@[P!T_HG074Z5(`Z,GDF%X+^+5B+;QC5#,`N)CZE8F5MTF-
-MW4?A.C4#)!@#<@PN\\(VN14)!G<KDO"]G_(8=4!T`E>A^&[4-MVSN0O/Y+RZ
-M3IO](8?,!P5VWA^A+`2,_LN4Z'3]07==$I!M`$`SN5QR;Q6Z3-.3A*X?Z8'*
-M*J0%2NGR)#MEG;8*9UW')&Y5CK;W4.GD`XC*J].!=6U$\\H/&%8LM(#MQ&ZO
-M4M;\>.\I&'9ESZI<3N>ZT;9A<X"%0Z6PZ0MRU8-$[+CV^E>(L6=(M'NKU)L&
-M%6HZME<H`XX]EK_CSY#HTB'$Q\IZS0)QGA6J8]$(+BCZ9WG*Z:T\][47@EL$
-M2J56AK!!VC"T7T^9F<(6TAIR03^R:1R/B6Q-5FV!V7'7UJ:50M<"TSNO5;NT
-M\T&`/DK#ZIT%CS,;K'DP]NG;P^;UXKS*^Z8*M,U&$XS'99CJ#V/($QL2.%Z+
-M6Z&6N=3@D$=U7'A-KGA^D_,KA<*^AA^KQDY<WT%M1M,`G<YGD+:LNE"N2X@^
-MK)"W+7H+*8$@86MT^R;3&G$RMX^+\O-Y/U/M>&%9^'62)IQRKI\.T6TSZ=^%
-MNM9#X4PIE[<@CA;F$CC?)E?K@>J=`EITLW[!<5XDZ)=4*@<X%S9WS_DO<:MF
-MPMG3)YPL3KO2*3V.+VM."5F^/['?Q_J;B\^\!:V513F(_39>Q>'+AM"RSVE>
-M?=%Z0:5\1387$NG&5UEKYC6:#+2,0N,WOEZ/+E,X+Q1>.KL>&C2`"%P%C:ON
-MO$)>[=KI_5=]U.AIZ<XXDCGX7.>'*&GJ+ZK@)G?ZJY3=C&.4QETZCI](4K=L
-MB/3'Z*]:L+GB,RJE-X>0T;+9Z31)C"[O#GVOV-,-I@$94H:"XP8]U(U@#1,=
-MT3609X*TY'8W2/\`-$^8C]T1<W3G!4<@SGX3I2,<G]4#WMCB4SB)[*O6>`"`
-M,H%6JX.)5.L\03'ZHGN#N?DJK<56Z2B(KBH!/;]EGW575($;_HCNJS9)G?"S
-M;JX`;@\PKH#=5B)$X`6=<U23B3WE'7KR<E4>HW#:=(P86Y&;=*_4:T&>RQKR
-MY$$@?)"DO+K7))^ZQKZZ9)]7^15W^&-;#U.]`:>T&%RG6+AS@XD%L;$]E<ZK
-M=M=K=J.!&ZPZ[JES6\NGZN)E;G'-:F-MU%$TVW=T*8&[@)]EZ!T2UM;#I0UA
-MLEN9^%SUMX??;VPN2(.\^\(>I7]RZU-(/(XPLV^]FG2X>N*]:]491Z@[2,3M
-M/NK'7?%3;7ISW`^K,"?9<97J&C3+G.)>>5S'B;J=2XJ>7K,-VDK>'BWEM/)Y
-M)ZGZYU^ZO[FJ35(:02<K#>_5,YY.4QD&)^@,IG.$@-Q`7M^/%KD[8&0$[RQK
-M@&O+\"3$0>R8`:9#OLA;^8`$F-U`='<XV'=3T##QNH&EI@@$"5/0_/B=UH:M
-M(#RQ.Z*&]D%%H\IN"<;A'I'^%RJOLL@&J9V"IVK1_%/<),E77B0\S&-U7Z1^
-M=YW,K,>&I+B&MTX!*<TXI0,)5Z3S6EIE1W#KH`Z::G`K78@9[*C4C)G[E6+V
-MG>53);I`506+R^:E0_"32AK/I@$:A.RI7-TQH(:`>_*T*EE2&3)/N50O*3=6
-MFFT0J.;ZW4N*N=`T9WRKG0K)CZ8].8RFZPUK7BGB5J>%J!=5;3`QW5B5O^&N
-MF-ILUEGW6U492I,U&('"*U93MK8<+-ZC<&ZJ>32&.2I2(JC?XRX@1H!^ZOT;
-M>C09@!!8VH8,1`W4M;TC3,E155[0ZH2!@*"Z:`PGG97"W0P[R51NG3,\JHS+
-MIH%6#GW3TZ>)`VRB<-50XDJQ18XMC^GV**HWUN#3EI(/96/#?J:6<C"?J\V[
-M=%5A:Z)`/94_#URX7;FAIR@Z,T_*&=EF=0>Y[M+0=,[K2%.K5:2_TM[*C?-#
-M7P%"*XI#RH4?3JGDW9IDX)5ZFV:4++ZAJHW#7C8%%;=1P#9(5=M:GD$B5:Z6
-M^E=VW$J.[M:;7X_109?7'-\B8V'*YSJ`\RRJ0W)!X6]U\.;2ADD'NL^C95;J
-MB:;&N<7!17A'COH-?S'W%*@2"XR0-\KC*E+2Z#+?HOIR\\-U*5!S*M#6'`_F
-M;*\_\5_AN;FL:MHUM.<D`0!^BF].V.?&J\?C,DR$VD:1E=]<_AS?TR22"!M'
-M_99MWX(ZE287"DYP'8+7LW,I^7)P-6P/MW2<!I@?57>H6%Q9U-->DYL<PJ;@
-M-]L;%6-!QK.>>45-OI=$']$0;(&?T75_AEX2K^(^LL9I(H`C4Z-PK>$WI9_"
-MSP1=>).I-<ZG%NPC6[[+ZF\"^%;/H]A3H4:8:&`9"@\`^&;/HW3:="A2:T@1
-MA=93<R@WW[KE>>7*Y;1=5IM9TU^G,-*^4?Q?/F^-JH@8,9XR5]5>(;@CH]4,
-MSZ297R=XOHU*WC"NYY!)J']UCZZ>.-?PI2.BFTNYE>A].IM%```+C_!EK+VQ
-M]EW=M3`8T2%PR[=&QX;I@U@/<;+M;4BG2:-H"YGPQ;RX'3]ET55NEH`Q\KCD
-MZXP=>I+`%3O'@-V$]RIFN&C:52O8\P;JQ?J[T:FXF=_W5#QDX:6,`,DP95RT
-MK&A;:R`/JL._KNONH`?TM]UG.ZFGJ_3X;RVGZ91@-$'LMJTMB0(V5/IU+T@Q
-M_9;MDP!@$+GC-O7G=!HTM+L[^RN4:)<V3QW293&J0(5NA3C<+I(\V5/0I@LV
-MDCE%6;#/RSP%+1(:T>Z50R#Q[+;A8S7L()0O:3!.`K5>GG=,&R,$I$JN:+8]
-M2J7K&M.`K]P2,;\3*H/IFH\N!='*;28LZM;ZG!WU1"FW#2-NRO5J$"&E1>3[
-M&=U-JJ5*#29`,<J*JW20&E7GL)$94;+<N<)G=2UN0-"E+`1O\J>FPATDJQ0M
-MM+,C[IZM/&\=D`Z`:9(^JSNJ4QY1['=6*M=P<03$+,ZM<GR2)5M;QQJY^'=[
-MTJTZA5IWIHL>?R/JQ&ZTO$PZ?==8\[ISF.9I&HTXTS*\RZK6)J:P3*Z3PG?A
-MMMH>^2=LKA<I?XZ>C]OUOOM9\37&FEY;")VA9W1[5P`>`02K5S2==W9=F`M+
-MI]O``(Q*J9743=,M"\@E=%84`T"1@*M8T=#0(6C1EL#=:CRV[$`V8C"*DW.>
-M43&S!3NAN%I@-0"/\E$Z&A&\Z22>5#5J>F$5#7=P"55JEP:23*.O5@02%3KU
-MH;$B40-:J(*SKJX&H]D]W7P1*R[NJ2-4[85@&]KC.5F5ZQ<?S)KJOOG"S+V[
-M`;(,+<B6Z3W=T*;")"P[Z\=5<?5A/?575!!,K/NZV@:<''"?XYU7ZE=:&D#5
-M\A874KT-8XU)&.%-U2Z#"Z'`;Y.RX[Q3U@4P0'#7V:=UT\?CW2W4375R^XN?
-M*I9<[Z+KO!'AT!@N+AGNO-?"G6:8ZLPW$%I<,_5>U=%O[:I8M=2<TM+>"L^>
-M7>OCT>*R8[G:;J5"D+8LC`&%PGB&B*1/EM[GMA=C?7M,L<'>I<=XDKZJ;I/!
-MQV6,.W3UX<QU6YHBDZ1Z@.%Q/4JC:E<EP((*V_$5PX.(;L1W7/53KGB=U[\,
-M=3;Y_DYH(`R#E)P).<E("-@3"=WYL2/JNC`=OWRG8#$YVS"<@Q,8^$PD.Q.?
-MHB':#M^ZL4V[$;;J$''OQE3VSL[X5&E0>11:(=MW1^8[L[[I4"XT6D(O7V1M
-M]F5?3;O=(&%!TMKC3)!$%7.HLTV3S,$JG9.#;2?ZE,?KYU6J4OJ;?9&]I&(2
-MLF$-DG)4CPA%.YIEPR85-],`&8A:-9IF(5"\:0[_`%05+MS!1C)*R;V&TRYW
-M/"T[W3IP?HL7JSI],S/"JL:ZEU:??'*Z_P`(6IHVGG/$2N;Z=:FXOZ=-K,DY
-M7<NI"VL0V,Q`"O42\HJ[Z]S4\JF[`W*M65JRD!OJY)2Z;;AE+5&2K3*1W=LL
-MA.`:TZ2846D$R1`4U:#`&WLA<TC\PW156X=B-XQA4*Y&5=KY&WV6;>.+JF@8
-M[H(J=,N?JB)1UZNEHILF5*QH92AIU/.V5:L[+0-=;+BJ*%*R#O75R>R+I=%M
-M/J0`:%I5:0TQ&>,JG1IM'4&NGE23E=MFLS^6LJXI!SR3]%NFGKI<Q'=9EW1(
-MJ$PHJ&VI@TX#54ZGTZI4&IHD%;%C1DR-E>;2:1D)2.8Z!3JVKWMJ,(DX5FY-
-M4U-3*9/T70"U9,EH@)5J=-E.=()^$',5+$W+@:K?HMOHW2Z5O2UAH!4EM::Z
-MWFG;MPM+'EC2<++4C&ZM0IN&6C[+`O+"FYQ$#/9=)?R\XY[JA<4/23"NDKG*
-M_014&IH#F\J,="I`8:%U/32R2QYP<*6M:,95D9:5FPCSCQ1X$L.JVCV5+=@>
-M1AP&0O"O'_@^[\/7SFOIS2=^5R^NZENWY6!XT\,6G6NG5*->DT^GE9LLNXZX
-M9ZXKY2\*]%N.K]7HVE"G)>[/LOJO\*/!MMT/HU-OE@.W)]USGX0_AU2Z/U&I
-M7>`XEV">`O7Z5$4F!K1@!:WLRRW=*8(MQ)&!R@LA4O[L!OY0>%!UFMYERVWH
-MB9Q*ZCPMTSR:#7$03[J;33.\74*=KT&H2-F%?*GB(,K>*JU3TEH<>_=?4OXO
-MW'\/T&KG=I"^4[C57ZR]Q.SID!<LKR[83AVO@JB`T:0876TZ9!$A8O@^W#+9
-MDB)726S`ZJT3A<;RZ3MTWA>D/)!`W[+6O6CRLJMX?IBG;C"N=0,49PN.3K&;
-M3J0TF8`X51[Q4K_F^B5W5TT#IF?E5+)Q<\F?F5N1<>:T.HU&LM-!,X[JETRB
-M7.UD`2E>N=4](SQNKW3[?32&%QSO+Z/AQU&A94\<+5M\-`5.PI>D2`M&DP1`
-MW2+FFI9=LK;*9T=YY4-%F0K=('3S\+>+SY(:0=,%3-9(DIJC2,!/!;DG*TS0
-M5:9[B%$:4L_+[S*FUY@_HA.,]ME6;BK/IDB"-R@-`,W$>RLB29V^J187?V*)
-MZJYH!P@Q*B?9D'MW"O4Z+FOS]T=0"0T*4TSFV8`,G*=EKZQ`C*O!AG`D!.&!
-MIWV[IK:JM6CIID\K-NM9&,GNM.[>`#E9E<@$P2LY5O#%0JAVJ7=UE=8<T&!`
-M*U+]Q;3)E8%ZXU'[K%NGJ\>&V3?6H=+A.1PBZ#1N/XEK1,3]U?9;.JNT`3*Z
-M;P[TAK*0<6C'LN4F[PZ^3*8SE/TRR8*'J;G=7+2T'F;):2RH!,`*[8N$\+M'
-M@SR34*1!5AK2$31$<RHJCBTD#A5R3C#25#4>>\!1FJ2%#4JQ*J)*M0!BIW%8
-M@;&4-Q7);^8?"HU[@Q'=5-E=W!!PJ%W7+@3C"&ZN"2086=<5_>1/":0US7,D
-MG99EY=','Z(KRO`,&%D7EP)))6I"TKRN2#J.0LFZK9,';WV3W=R).8"S:U23
-M&J2[LJQLU]=%K<&"5D=3O@*;BYT$!2=1K:)#IQE<7XJZU3:XM:2#V73#Q^R6
-MR`\3]::QI&K(D`RN'ZC>5*]Q)D@\(NIW;KBI+I@]YRJ]2A79:MN'47-I/<6M
-M?!@GM*]>.,CE:BUEKI`),]UTGAOQ=?=.:&.+BP<$E<T3OV^$+26@B,JW&9=K
-M,[CT]*_\[4*U,EQ+7G=9/5O$5*HPZ'9(7&EPB1@)M4#G[K,\6,=+Y\K-)[ZZ
-M-6K(R"JSW9D2DT^O.1[I2"0<PMN)Z=32US=+7!_^+A!J[3["43HB>/W0[R)F
-M-@@8OQIS'.4^H[Y^Z1T_[RG&?4Z8[JH=IYS]2K-&"\`X]U`(@<_"FMY#R).>
-MQ5&M1@4FC*/[I6[6^0V>W)1Z&?[*;:?:'60!8NGLLSI;?->`#("T_$.EO37$
-M%4?#M-K:0,J8_7@R:#0`(V1.`DGA$\B1G=(@:<E5%:I$E9]U!<9,#Y6C7])]
-MEE]1=`(`^R#+Z@YK)),E85>KYCB2W`*TNIESG\85-E#55#`,NQA6*N>%:?EU
-MG7+VP-Y(72VVN]J:W`AC=IY63;TVTZE.V$`'\RZ&T=3I,T,B$J)6L+3MLI*_
-M_*$X1B"W!4%5Q<=,X4$=,'6FN'0$B[2('T*@KNTMU$[(*U[5#&',$JI38(\Q
-M\DHG'S:VMQP%<Z;:_P`36#B/0TX44_2[,Z?.=)[!7*Y@:0KKF!M.&P%4J":D
-M`;>Z:@A#26`*C<TRRNUY&)6I3'&TJM?M.@G.%>CMJVH#K4$%5;IDF85SI0!L
-MT-XR,B)4O;416C<>P5RBR20H[2F="L._EL01UG-I#\RCMJ3Z[];YTC:4=&W?
-M</+W`Z6K0ITM+0&B`LUJ(A3:&`8^%4NVFC)!QVX6FZF0.RS.J.@:>Z:&:ZH7
-MOS./9*JS6R-_A2NHZQ,9Y1T&#06$`'L56637I.8Z1A7^D5#<,\MYDH.HTP6$
-M90]#FC7$P!*"Q=6]2W,\*"Y<W0&-(DK0\27-.C8$C>,+"\+"K?76MTZ0>5G3
-M5='T2S;3M-3ADH[VIY5N]^TA:=*C%O`.0,!9'7V'0VF.5*U%/PS9&ZO?.>WG
-M"[VWI>70T1$+&\.6C;>FUVDR5T$Q0D;PIIJ/)_\`Q`W?E=&J`.$EI'[+YPZ:
-M[7U02`2797N?_B7NG-LW-:?Z<_<+PCP\[7U8-``),R.5PO-KT83AZEX<<T6[
-M<1[%=#TTS7;_`'6!TBGY=LW$1M/*W^@4]=9L'E<=K([GHS!_#C&3PFZV0R@<
-M*?HC?Y#1F54\6U`RD1@#E8=(YSJ5P&LTF9*KVM=S*9(E5+^MKJ;DJ(UW0&,6
-MLOXQV\./M6_TX><\8.ZZ"TM"&3DK'\,4R6M>=B>5VMM1::(@-&-UY^Z^A;ZS
-M2I:4X;C4>,J[2IG$H&L+2,`_"L,!C,$+>G*U-0:T>DA3M#1@'=5Z32!NI6!S
-M7;Y6XYT;FP9,$(G`8(&$6B6Y.R"H9(`B$9TK5B0XZ1(0@@L@;GA2O;/Y1LH@
-M-+P)E&]"#2!WGE'0G,D_(34LMC*EIB0!QPC-@3JX$DIPP1$0C+=3_;A&&0-I
-M[^R)I$ZE@&=E6N7.#?=7GDAA`5"Y>.5;-$FU"YJ:R1"J5`T?"NUV:C,*M78`
-MTR1LN==\69U&'`MGCA8E>A#IW6S>&'23\++NWZG:0L5WQXB]X<LYJ:G9![+J
-M*<4&<".5B^'&Z*8<<0M*XJ.J8V^5O&:CR>;R;IGD5'X,\JW9,=J!/"KVE/@[
-MA:5JS2((DJO/M-3:`U1U0`XRBJU"`H'O<79A/\0-2-.#"JUZL$PY'>5`UORL
-MNYK@@@`>ZTSLKVN6YF2%G7%<:3!37=8Y=B>\K-N:I</3B-U8EIKFMJ?^;'.%
-M0O+H#`A#?W6@&0%B7U\03.5J326I;^[&3(6+>79#LE#>7;B<9G8=U3J@EI&O
-M'<IRR&I6+X("I7UPUE,D^G$RBNKC^'9ZX=I_5<IXFZN3,$@0<+>&-M+0^)^K
-MM;2=H=$#$%>>]5NG7%1SG$F3DA2]:OJM9Y`<8[`K+)).1^J]F&,QCC>:=P`X
-M$_=*<:9D'B=D!'J.)^J>9SO\+89S=($[;E)PDDZ<I.)D"`?C9"23/MOE$%IE
-MIS'L$(B<A*`&P/U*9TEW,!11/'JQ,)LANVW=,79A,?S$`G'?E$(N;IR"2=BF
-M;,X!]LI.P!$CY14ZCJ=5M0.<2PR#G=`)$',CME/`.VI7>J]6O^H4:-*[J@TZ
-M,^6QM-K`V=\-`[*@V0Z)(![JB5KCI@R/E34!/)4+7#<3CLI:3FSN?\E4;EJ/
-M_3MWV[*2/]PH[8?R&R\C&R.!_P#(FF]?X^Q_$MQ3/3G2HN@U*?D@2$7BVSI'
-MISGM,$]I5+H%G4\D'S2.<A3"SEX,ITW6@.$@X"3V@^K95F4[FF/\34?\20V*
-MC?JM=],GN0TM6+U4AK9!'NM6[N*>@N!$+F^MWU+\C#K)]U-#/N#JJ%Q=Z1[I
-M^A_S*YJ$'2W8JJYEQ6<*;6D:CL970](LQ3<VC'I&^%J<%6;*S;5)KN!#CM[*
-M:W;5H5`720KUK3U,T-`@*T^U8RD)`^JR(FW#31P<E"X-U9._NJ]>@X.EAV0T
-MZ[FXJCW!14M0MY.RSKVKYCO+;L-U)=73?RM,RH&-QI&7%`]I0=7J"DP>GDKI
-M+2W;;VX8`H>B6;:%#(EQY6@X2PJ-2*M>?RCE4Z@(82095YXSN20J5T2!IDF5
-M4I4&R-7U073&FD3P5-;M'EQ&WNBK,UL)[)2#Z'#J43E6*](YDJKT0AM9S8V.
-MRT;AL.]7=2K$=)K0R20$U*FZXJ<Z0A8QU:J&M.!N5K6ENVBV.%%D*G1:QI:,
-M#E$UA&2I`W&221NFJD-9`)^4:5[AX:R3@']%D5CY]<O$84_5:Y)+&DGA16M,
-M@#NFD/2:-(VD80WS&M];3A3R&"2Y9G6[VFR@X`B?9-)M#5J!]73/PHV`"Z9'
-M)6+;7U6I<G1)"U.EMK7%X-4Z6JT6O$6A])M,NEQ6EX-L&T:37$1*QFT7W?5M
-M,^AJ[?HMJ:=%K3@#99:BPZFW0%B]58']1IL70560#G]%S5]6/_%&9B"LZ;=3
-M96X%L-+MDGU"UCFN_53=-=JMAO$+*Z[<BC2>[4`(W1?CPO\`\2ET"7-Q!;S]
-M%XYX5<:O56D.'I(R!$;KO_\`Q#]0=7N@`8D',_"X?P#;/-1U:K^7G=>?\UZL
-M9_&/3[*NT6S079CE=7X/+7U&D@#A<1T>7,:!!^5WW@JU.L%IDKS^UJR.\Z/1
-M!I@Z<+G_`!^2!Z=EUO3:99;\97)>/P"3)V"-1P=S4_G<GV5WIU`U:D`@E8]R
-MYQN`ULR2NK\,VYTZM..ZQY;\>O\`2X\[=%T2T+*;=+,<0MZU<ZG`,_!4/1*0
-M;2:'85^LU@!=(GN"N>,^O3E=W14BW?96:5-I;@XW5!CS/$!7K=W8;KHYU/2P
-M(($*2!EW/""D,"<^RD<<;+;G]1ZCO&$+SF2/U1@-Q*BN,-#P-E&H=VV9RHW4
-MM<D1*!E36_1ME6'4W-9C9NY3M>D`8YN)Q[JRP>D2HHU1J"FI.]7J&.R%$/4R
-M9",-T-R@!C\F`FJO])@E(Q8CK/R2/LJ-:2(W5MQ#B9.ZJ.#G/ALD]E+6\8B<
-M#"S^HOAI,&0M&Y):V'`A9/4)<TQMW7.UVQC+O'G2=1Y5.V::UR/?=3=0+0T^
-MJ3PFZ+2.L%W&5,9MKRY>N+;M@&4H!5BW.NIL<*M1:Z!$96E84QB5UKYN]K=I
-M1!9)*M1I;*%C6L:-_IRFJF>R@"L\:H)^ZK5ZH:./E-7J`'*S+NX&HYF58E-?
-MW!+3GA9-:O+LE27-=VHQ^JSKBHW(QE73-I[ROS)$>ZRKVX#?ZL=D=]<-ILR=
-MN5B=1NY80TA;D8M0]2NI=^;`637K%YTS`15R:CC+C(Y[(6T);!&(A3:(:C`U
-MNJ<_*J7-0MIR,&)5RY#:5-V#LL3J-UIEI]..=U9RU&5UR](IG5L)S*\]\2]1
-M?5K.#2<]N5O>+NJ-\WRZ;I:9!65UWH%RSI+.JM:31(RX<9A>OQX^O;CEERYH
-MO<Z>?J@?^:<=MT>`=L]Y0`QOW[KLAC$>_P`I?E;`S\%(EG<?=(``R0JAA^8P
-M3('?(3.U'GY`2)S![1A(D!T#;E1=FDG8%)TET@QV3@#(!3-@NB2@88,B4B0T
-MXR"E`)(2<`<3@(!(+0'$'.<IHSZ=65;K6[J5A0KBM3?3KET-:X$M((F1N-PJ
-MP@0-D0),';]4IF.W9.UH!U3OA.UK1I=P>90)CHVWVA6*1(=C]5'+<F0`>RGH
-M#U#V*HUK:J]M!HEN.Z/SJG_3]D%`@T@8E'([+6XV^TO%;0>F.'^PL_P[_P`L
-M"9'RM/Q.#_PJH0=@L7PNZ*4#)4P^OG9]1T8P)$0HZK&/&6S*.EJ\J>.%#=7`
-MITMP(5L3;-ZI19&D$_`*P+FA3IOTM9)]UJ7UT^L_2P$D<J&G:O=#W-CM*2&U
-M3IE'37#RPN=L`5T5A9.\N7_F/94K2W)JA[!^5;-J7$!L`'=7OI!VU,4\%N%)
-M=/UB&YCL4]2?Z5`"6`EVZRU$=0P!C"SK]S9CM^JNUZH#<C99[YJ522W`053;
-MAK"XSJ5WH-K48_S:[3DX4G3K9UU<`D>@+H:5"F*`;IA/^+"H%I9C=$\>G8@'
-ME0U*;Z1EFW924ZP>!J])45&]AQ`^0LN^<-8CNM>K_P`LDDK'O/\`F'4>58E3
-MVAU`"9]U:`#V2852S,F&F%?8V&^RM2*MF!2O(F)*T;SUO;39,K)NWZ;IND[E
-M=!TBTEK:KSD]U*U!]/M6TJ7N5<#0/=$RF!Z3DI3&_P!U&P/.D&52O:H8UQ)B
-M%9KOWW"Q>HW&I^C[HBO/F/UN[\J5CS(:P%T]DK:B:D3^5:-M2938`&B?=$4*
-MEO4=3+G'3[+"Z_;,;2.9]I74=0(93);V7*]5_FG1).5-+M1Z;;AL0T">0MNU
-MJ,M*!U"'.V4-E0#&C4,!,VF;R_:&Y:-RKIEJ^&K5AJ^:3))77V09Y>.%D='L
-M138(PMRC1(9B%ETQB&](;;N)/RN=KVIJ%U4#(X6QUA[F4RW,E4@1Y!EN_*G%
-M6M3IU;18YSA<IXTO/-!IL.85]U_IHN8/A<_U:LUE&I5J?F(P25G*Z;QCPO\`
-M%*SK7G664=XSN)51EHVPLFTJ;@71F>2NLZY2:^^?7<`3Q(6#?AKZ[7'U0?C"
-M\-RWV]V/4C0\-TJH8'O81)WG=>K?A_1+@WT[KSCHM>E6+*;-Y7K?@&U#*32>
-M5F,]UV5*D!:ZH'RN%\?,+M1G`"]#T`6A/ML%PGCD-%&J=.S5:L>;63!5ZAQN
-MO0.@6[6T6X_1<+T"GYG5"\#E>D>';9U>JRBW!)A<,KNOH>''UQ=/TNQ8ZT#M
-M)(.9"H79T5BSCW76T>D5+?I[@VL-31D+D>I:?XHNR(V&RU9K289>UIJ>'#.Z
-MNVT-<`-E0H/$B2/;*M4G<R5N0K2I.D2`$!/K/J_51T7P(G/RAJ.`F)E6LQ+5
-M)$004#WX#3E/3@Q.W;NHKCTF1PC4#Y9;5D#E7&D/9I=B51:YSR!J4P=!&K,*
-M3A;-K)IC>(`3ADM47F%P``F$[7'(),)M-"B&2,PHS(:9*EIND$_NF>T8Y515
-M>9!`RBM7"F"YQ@]RGJ`#)/RH:QEQ`/PLUJ3:/K3FN#0QP)&Y"Q;L@$CLK]T0
-MT03!63U!T@Y"YY5WPFF3>>JY`X6KTNCZ!&25G6U#76!/!70V%(``Q$<PM^-Y
-M?U66[I+0H00T\K1MJ$$.^\(+6E)D@?96B"T95KS0-5VD#*JUJ@9(DJ6Y>!B1
-M]5EW]S#3G*NDM1WEP?\`%,+)OJA+B2BN[B!(.^ZSZU0N<07+4C--<5)#A@E4
-M;ZLV)$3RCNZP:T@"7'8K#ZE=#45J1BU#U.X.HRX9X6-6+S4@9A25JCZM6&B?
-MJK]I9`L#G?7*MUU$_P"L^VMI;J<,3N5*X"FWW&<K6\H4V0&[JC=4F@DF/HLR
-M*R;TC0=9@%<)XXZ@VG_*H@ESA"ZSQ%7+R*%$R]QB%9\*_AY5OO\`U=ZPF3,%
-M=/'J7;.5U-O(KSHM]7L#=&D3&1/9=YX*Z>[J7X77%G<4]3F@P7#?,KM>O=$M
-M[6Q=0\H"!M"'P-2HNZ54M:;(;D1]UZM7BUXO+G[33YDN:;J-5S"`(,*)V@.Y
-M!Y!V7:_B=X5NNG==N'T*+G43D$3C9<;4IO:8<WXE=7HQNYM'4:-P#CE#J/Y9
-MSV"<-.H"/NC#"''L.0II0`2V8^J9P&DNX]U(&^J=TY83Z=)D*B$`8TDD)0"I
-M',>UWY7`=BA<QTP6GZJ`&-U/@<IH!.)RCTD&-N<I-V$C=$`&@XDXSA)P](WQ
-M^B+)RV4@S68:/B%0#`??*>!(W&?=+DP9^J42WOW[H"C_`#^%/:'^9,[F5"(`
-M!$J:V.0=O=4C8M@/)'K(1X_^0_9-;TM5%IU0C\G_`*_U3AO3[7Z\&CIM68(A
-M<SX;K14=I&)73]6:76%03@A<;T9XI7;PX_U<*^/^UCYV7]74U*SA3C5E4KAK
-MZQU$P.5-1.MD[\JK?URZ:;#'NM,@-2E2>0P!Q4U%M2Z<&Z2!W&$NF6)?#GB!
-M[\K6IT]`A@&.%!#2HBF!3:/JK-.F*7J&8_1/38&C41G]DY(+3$**4SF/HJMS
-M5;.<$J6H^*>2J%1VIW*`*I+]R@ITW5J@IM^I4E41#0,G[K4Z/9AK-1W/=%6>
-MFVM.G2$1CW5MVT):0/3`3&<A12:!IRH:]`.RS!'NK5-LB=DY;`W164^JZF=-
-M14;\ZQJ:/HM>[HZVD`Q*Q.IM?1)$F%8E3]-/IW@JS7N#^5@U%9O3ZA<W0V2Y
-MW*V;.V#*8)R3OE6I&8^WK&NRJXXG9=3TNH/X5H)F%CW[99IB(5[H3@:0:3)4
-M:TU14$`[!"XR8!^Z1:(B("`@"0HJIU*IHHN,@%9%O3\VKJF0KG4B7U]`_52V
-MM)K&B-E`5NS```"M,8`PD;I[>F`)_1*N-+)!.>$Z5E=9J0V))_LL$TV/K!V5
-ML=6]1(G/L%G/I"F`9(`[HS0W]44Z&EL:CA:OA&RTTP]PDG*PZ+?XSJ+6@$M"
-M[GH=J&46B%2-/I]!H&0KS&CX06M.&A2O&)V*Q76,OJK`^N&G8*&[L@ZW.@YA
-M3U&.==XV5C20R#F%F1IQK[8T[QS7C=8/C)F/*;@0NP\0T]%3S&[KCO$+@0YS
-MG9A</+=1T\<Y>=^(_P"43F,96!6BJP%@D$?,K7\7GS*[H,">.5CVY<TY>(G=
-M>2UZI&WX-M3_`!3!$97N/@FWBBTD+R/P%0\V[86[2O;_``G0TVS!"2G^M.Z)
-M;;P5Y]^)#PSI]1Q/'"]!ZE#6%OLO+OQ?N!2L7:3GLF5:QFZYWP8QKW^:<">5
-MW?0JKZ->G4IG+3*X7P++[1KSSW7>=+#6,'JSW"XU].36.G=W'7VOL"`P,JN&
-M2=ER-U4UO<00?=*K</?2T`[?=5M7K)*W<O:\N6.$PG"S1V&J/NK=(G3_`&5"
-MF_\`57:#Q`<5N)8)U1S7<E$RL3APPA@.).84%5S61E0D7//(V"9[M;2!D\JJ
-M*V)G*-E?'I^J;:TG80P@$?93_G;JW]EG^=#P8RK5.I(DX/LA9I;HZ#(..RGI
-MTQ,QC]E6I2'`J:H[F8^%8Q1UH!WD'D*$N`&-@E4>(E15'2PD'=*2`JU),`J$
-M@G,IC(='[HZ/JQ$+%NW233,Z@3J*R;U[B[3_`(EN=1$'+868]@=<#G*PZ[U#
-M]*MOZHF%LVM+`&TJ.RI`4Q$+1MZ0%.0NLFGSL[NBI-T#'^B&K4&DGMV*)[]+
-M2.ZS+^XT-,.581]1K[P0L>\KZOZI*>^N'/<<_JJGYR25IBJUP79$JO5>13)F
-M25;KPUI61U&L&M):8A61+57J=Q!.5AW0=7?#3NI[ISJCHSGE6.GVLN!(@\%:
-MZ9[5^GV#F&3![K4HT3I@&(4KJ6P@8]E(P!@+B`?=9:TK730UF7K!ZY<BG2=&
-M8V6MU2XW.RJ]#Z2_J]WZAZ&E;D8RJO\`ASX9J=4ZBV]N&R`=BO7J-C2MK44V
-ML'I'94/"EC3LJ8I,:!&\!=,ZFU]&7+T>/#5W7G\F7L\L\>6_\U\",+E/!\V_
-M4JE'(ER[_P`?4--8D`0N&L6AG7`T")*]&4X>?MI=1Z+9W=9[;FG3>U^\B5S7
-M7?PNZ#U"7TJ(I./_`,<#^R[2\?Y-9A?B0I[2K2B<'NL^NXN.5G3R"]_!>W-3
-M^7>5&CW`/]E4J?@T&"6WI/R/]%[57N*+CAID=E`74W3_`$G=3T_UT_=R>.4/
-MPFHTGDU*I<!MC_16[3P!TNA5`=3U'W`_R7J51@-,N!:%G.MP^J7D3'*>C/O:
-MXRKX"Z-5;B@-7PLGK'X;6A8]U`"8P"O2J5,3D94SJ;'B"$F$/>O!^I>!ZUO.
-MJ@<C<+(/AMNK14+FQW7T-=VE%TRT97/]9Z!:W#B13$QN,+4A^[8\<=X9H/;Z
-M*Y!(C(5>Y\(W6DFE4#CM$_ZKONJ=/K650TZE,5*8YY"ITJ+`X.HO)_Z7*S%?
-MW*\^NO#G4Z+=3[<Z8P05GU+>O2=%2FX+UP.8ZF&5&9_Q`S"AN.G=,KRVX:\]
-ML$)JK^]^7DNSMM]@3LIZ.H.DC<Y(7?WOAGI+WS3>1[95&IX9I-.IKYC`3IJ>
-M25D4`31:>_\`U(])[?\`\RZ*U\.,_AVS,J3_`,N4^[D=/:/K6^:W^&>R=PO/
-MVN\KK3Z9.-2]"K@&F1R5YWXCFCXA='*N/&;Q=XUT/GGRPUF\836%)KKW^8=O
-MW5?I`<:#71+W;+6%J*3!4_J.ZW>W.=-"FP.,```*5S6LDG)4=D[^3)^Z:H35
-MJXV"BFJ/)_+LA,P,Q\*8LXC`[*"X=VQA18K7;H!]4A5V_EU&9.%([UO/8<RI
-M+*@:U4..P,!!)TRT<YPJO:MVC3#&2`HK.D&,4SW9QV4:#!U8A.T$GX29ZMU-
-M3I@-D@HIVCTB,%,=6RE:T`2>$M(,]D%2J`<1*R^MTP:;OW6R]H</A9O6:;?*
-M,E!B="TMN2'#(VE=-0:2`5S5I2TUBZ>5O=-K.<P!VVRTS$E]3/E8^471Z;O*
-MEIAREN&ZJ9(E+HIBH6QSLLM+]&I,,<(3W6EE,N'".K;@C6TY6?U2J:=$L,@E
-M3;2G2'FW!<KU*EZA"AZ=3]&J1E7J(&%4'39I:)PHKH0P[_56(],C"KWDZ8D>
-MZBL*^AMQDA4>K/#:&D8QPM#JE,MEVK*QJSG7-<,,C,>R1FM+P99E[Q4(.3RN
-M[L*(`!"Q/"]IY=HR`%T=K3TP05:UBM4F@#9#6`\MW"E8"1)05VQ3<3V6'1ET
-M\W!/NIW/8X`(K!@=4),;H[JUQJ'V4I&-U^D/X9SNP7FOB*N6U*K2=EZ=U8'R
-M'@Q,=UY'^(#C3O*@:=UP\_3KXN].`\1UVU.H&F9WX4E&G0ITVET"?U4%_3F^
-MU5G`1QW5RQMO,+.>9]E\[*[>WIW'X=T:3M#M`B5Z[T$-;;M;,%>8?A];-8YA
-MU8X"]3Z7`MQC/==<.&:;J[P6.',+Q+\=[TT:08#NX8GW7L_6'^EQ'9?.O_B+
-MOGLZA3IXC4#/U6<N>';P3>4=#X`J"ITNFX?HNYZ;4EK9`"\W_"R\+^E4A@X7
-MJ'A:C3N'?S-@)*YV;NH^A>)RF?&F<`JM4_Y@.!*T^M6].DT/ID@.X*QZKX=$
-MS/NK.*QW-Q:HN&_"M:Q&%1MX(F2IVB#Q"Z,)A5(."(]T-=X<))^@43@1L9"C
-MU.U;*+(.K^3='T]PDSO[JO6<"S!0VCB'<J-?&A4IESM6!"LT9#=]\JDRN2\>
-MD1W5NDX1M/96,W:Y;D@"5+4>-$!5Z3O2/V3U'?TCE;VP(.D=Y451X:=X33#9
-MSV4-2"9!6;6I#O?DG<*[TNDPTY<[?.5#T:R=>W0IC\NY*UNM6++"T#V&8QNL
-MR6\KE9.'.^)G-94U,)(B%F68-2IJE%UBX=6J%L[&,*ST6V)`EIRLSFL^7+6.
-MFA8LP,X^5=:0`FITFLI@`9]U%<U6M8<Y'NNCQH;ZJ&ATN'W7/]3N"3&J?JK'
-M6+S=K2L@/=4?F8/NM=,6D22.$+R&MU$P0IQI:S.ZI7CX:8._=6,U5O*YSG"Q
-M+]Y>XMU%7+VKDC.ZJ"GYE9;ZC-Y1V%MK()$_*V*%NUC,#Z)K*B`P#<A6Z3`#
-M*Q:U(B=1&@.(D=E1OB`TAIA:-V\,81C98]^_5R""M8I:S;\O?5T-`+G;0N__
-M``VZ.ZATWS'M]3LY"YKPG84Z_5&OJD`#(!"]8Z;191Z>WRF8C?9=L)NN.=X4
-MNG6>FIJ(6@]C0PCE*SI/J58+H"O/MVLI0!PO1BXUYSX_I>H_"\_<P4^N4W'&
-M5Z?^(-$&F2%YIUX>1<-K[@$+K>8X_6CXBIN?4I%DY@2M+I/36?PP<Z7%16KJ
-M=YTVC6'8&5LV,"FUHCX6,>4G6E<6-$"?+'U5>[L*4$%FGW"U_*+Z\`>GVRI;
-MJU_D$QF%K45PU\U]"OY>[95JVHM?0@@94G6+=SKO26R)S*&F*M!H:YDM[A7I
-M$-6S-,ZL?11MI@&(RM*F!5IX<,]U6O;&HT%[:GZJ+M2KL83#CMPHGT*;S@82
-MJ6M<F=4J2A;5"(.Z49O5.D4KFBYKMB(B5R'6/#->A5UT&E_QB%Z!4IO9)()A
-M05-3@<%!YY0Z=7HO]=J]I';*GI=.96U$5'!Q]LKMWTVU6!I;OP4%3I;20ZF"
-M"-T''4>@-!Q&_(W4KNENI^GRI`Y74_P=1M3(EH.R3J0#3CZ(,&VLZ`H-&DCV
-ME2?PE#L?NMIMO3+9+,^Q3_PU+_`?NIMMZY4,@8_5<%XWIZ.N-<=L2%UM1]RS
-MTN$B,$+B_'-U5;U2DXC3ZAGMNKQ[1RF]5=Z#6<VOK`):/==+:UVW%(D[A9'A
-MVG2?:MJ-.HD29Y*5:J^SK'3^4E=;^'*?XUV5''T9A6K6-/,CE9?3K@5,\E:#
-MG!E.0<D*58*XJ:9R1]54>2[`F/=)S_,?OONE6BF(F2[A1H+6^8\4:>>\+6Z?
-M1;28`&Y'95>EVX#0?ZB=UI-`:R.0%")`X-&Z0.=]T#3("-F7`1]4:'3W5EC2
-M6B3A!3IC$J<M``@;!"&.&X1#(_5,``?E)K0TG/T45'5',8^5G]5:?X=QV@+3
-M+#DJCUK_`-J8`GG*NASMF8N-,;E:[:?H#FXA9);HN`<"2M[ISM5$-$;*]QCZ
-M.A4!I:7;@)^E@"]([IZE+3+H06A'\:W.5(TWAAO$+)ZZ6N(&)Y6M2&I@B<X"
-MRNML/\8&$1\J6-%9,;H:1F%<I,&F8P2J%'S*,?X96I;%KJ0)*J`=(;$!5;LD
-M[#;]%?J@!N(GY6;<NA[M]LJ*Q^MU=-,MC)PJ72:#JMZW`W_NCZF_S;O<D-.0
-MM3PK::Z^N-MH2,NGZ/;AENW2!C"U*+3&`%7L6AM.#@J[1TG!QA+'2)J5,%LB
-M3"BO0/(*L4YV#OJJ]^#_``Y,94L:4>GP">,K18&N9&9*HVK"6<25(*CJ9VE9
-MI%3KMN!2<X@G$2O&_P`2@*5R\D1[KU[Q%=`6KAC(Y7C/XJ/;HJ.<[<1/W7#S
-M3^+KX[_)PURQS[L:1K;/YE?LXIC><QA9%A=4F/\`+<[.\A:=*H'Z"W;W7RKQ
-MR]_^/1?P\'F:)GY/T7I_3PUEO]%Y;^'E;2QDD!>@65Q-,2Z2[W7?&QBINID.
-MIOD<+YN_\2E$"_%3,2/[KZ1N`'4C.<+P#_Q,VSO(+QGU#'W4R[CO^GO\F?\`
-M@RZ;)D/QVE>O=#N3;N#VNC$+P[\&[HL:RGL/^R];Z;<>D!T_=<[Q:^E9MTEY
-M>/N1J<Z8&W"S*KOYI,_=2L<30U`@M_55+AP\S;Z>Z3EC6EVA6!<!LKDMT>DK
-M.L=P>/U5LDP%T8L2!PF2>-E'6>-/LH7EQ,;?"=C9(U<HNATX>Z,Y4[;<F%%3
-M(9L=E9HW.(.<Y"FB_P"!8QU,R1@*Q3J`C<YX3-(J20-Q$)FT7,=JX*K-6!5=
-MIR83BKB3N%6#CJ+<A.YT!HV5J:35:TMRX?9`'ET"8E0U7[@_=14GN+Q'=9M:
-MQCJ?#]-ULWSR#)X]E4\8=6?4I_P[1I`R24-'J1I6H!,:6[%8%W6=>7I$[NRE
-MRUCJ,^O.Z:QH/N*\D3)W72=/H-I40,*/HMDVE1#W#*LUR=6(`3"</)Y<_:AK
-MU&@D8D=EB=8N=#3Z@K?5KEM*F270?E<MU"Y=<5]+7$CLNCC;L%>L^I5,J2DR
-M,F?D)4:$L!/Z(JKQ386SLG:!NG13X"R+UY<2-6.,JQ?7!((D;+,N:DB)W]UN
-M33*O5ESR.ZM]/M3Z<2HJ#/4#"VNGL'DCNIE5D!3MRT`#,!,^6$P,JU5<`P25
-M1N3(,&.RS%JCU)Q+MU5I4#4N&R<?NKCJ+GD^G;:2M?POTCSZH?4'I77%C+B+
-M'A>TFYIM:S;V7H-"A%D,0LCI%E1H51`C*WZSPRV$8PO3C.7FO2.WI:&^D94D
-M.+<]E7HUB3Z1(1U+@Z8(A=)IFN9\=40^@[&87F7B6V!H.&C9>J>*:M-UL^1Z
-MEP'7J0?:O<NT<*@\)MU]&:R/RF%N6],,<'.$-`V)65X-`_AWL/!6EUJH*-H"
-M)&,KEA^!._J="@XZ0TGNHG]3>^G+0(Y"P>FU?/O-&DD2MQENP4M.B0=UOCX*
-M!J4KB[FJ`"=E:JVI%/+99"S[^DZC6EHD+0Z3U!C6-HUY@XRE@HU;-NN6%U,E
-M0W5K=END5);\KJOX>TKT=3"V2JQL:8.G4/B5!R[NG78;K:9CA!0JOI5--PR/
-M==DZSBG`V5&\Z8'`@,!:>%(U6,/(J-P0<*&I1I%D`R#PKM?H;2=36EHY$H']
-M%!8-+W-([*HQ;FTAY+3[A%:$D:2#(4W4K*[M07AY>WW""Q>RHV8AP&0B'>!/
-MJ9'NJMU39O/Z+5#6N"SNH,TUH:@&C;!U(.C='_"#L%=M:8-NP[84GE!1T=G5
-M,%<1^)=,Z6U`V8(S]UVCW>@YA<OX_+7=/(WS_FKE/KCC>6-X.ZDZF^G3<[#@
-MMN]J-KO)X&RXOHD^:]S2!IF(^BZ"TKO-#)RN^7+G)ILV#=#-3#*M-N'.(8_'
-MRJ?2ZAT@`_=7Z=%KQ),%9O"K#0P-U2-DUNPU;CS#EC3"H7KZC*C:+#(G.5I]
-M&<TM#70(WRLJT;=C6M4PR)R@:6P(B%(2!@#=1HFCCA6*#6G`G"A9)<,;<*Y1
-M#?+!P$!`0V91S+?E1ZO7@!2@<@3E%.QN<F91$1S)2:2!M/LGW=//9%"]L4R2
-M8`69=-%:K$>EONK5]4'_`"FS+C&$5&AY=#(]2@YSJE,-NM0&!LM'H9#@#V5?
-MKU,Z]1[[H_#]08`SE;G3-[;>F:4.,R(6=48:5Z"#`GE:E/+0X[1W5+JC)<'1
-MGNLUIKV;IHM(.1&0J/4ZI=?-;4;J]^58Z6X&V$G80LV_JM?UIK9D#=-<FVB:
-M;:E(`-CY0T`ZD_3/I4U/_E@!&^F'4I&Z6$!6RS$K'ZS5\NFX`Y(CX6P7#06N
-MQI7-=:>:MYY3<@&2IV54MZ1<=9,EQB5U7AV@&4FD\CA<]1+16:P8B-ETO2:G
-MH:`-A"TD:](P(E6[8:HD*A2U/<,;*W2K-IMAQ`^JRZ1>D!H"K7IFB04S;NB3
-MFHU*L]KF2""#[I8NXBLY#<I[HCRSC,*2BWT*M?/+:9:3A<ZTY7Q=U`6]-Y=L
-MW)7BWXA=9%U5?3#9:XXS\^R]-_$5TV]0AQ!C*\CZGT^G4OQ6>\D3@2O+^HRN
-MM._@QF]U@6M"I4NVN8--/N976].M&^2(&&@'4J[:5(D#$MV"U>D.;YK&U7^D
-M<!?/RG+V>VVWX<>ZCH.D@=UVW1;HN:TQD^ZY6VITQ3:X'!V70]&T!K8,X6I:
-M.B8XN89[+R'_`,2EH7]"K/#3B#^Z];MJA\L'8+S[\=[7^)\-W0&?23/T*WE>
-M-M^+C./#?PHN-/4&4W.V);O\+V?ICR:3#@[8"\%\"5C:^(RTNP'G'U7M_0[A
-MKK>F=0R%C.:R?5EX=+;52*<']%#6J%U6&[3E5_XE@I_F`.ZCH5BZH07;]BI.
-M$L;%K(:"T$_*NMAP'ZJA9$E@!*U^EVS'M+GDXX[KHY7A!;T"^I,'*.[I.8!(
-MCLMRUL0(((@Y^$U_T[6PD)IGWFW-D$OP=U(Q@!X^%+>T#2K:3N$`@OSN%&JM
-M6YTN!CV5BJ[T@1&%2`TM!:<'=3:G&C$B2M2L6!?I$GG<J%U<9'8(JKQY1&Q5
-M4M=J(;$0LVZ638JE4ET"2/W5GIU/S'YP/=5F4'/$Q(Y4[*O\,PR,0N>]UTLD
-MG`NM5!2HEHW*;PQ;^;4;5<#,[K,O+G^.O6TF8$]UU70J'D6K3$8W6I-W3S^;
-M/UQTTWD,MPP=EE]0O&4:3BXY'<JU>5M-)QD!<9XLZ@?4&N_WE=G@1=9ZJ:]<
-MTVG?;*&PH_U/YRLCHS:E>^#GB1,KI&4PRD!$'NL[VMD@:C@QF/NLV\JAP(GE
-M6>H513ENQ]BL>]K@N.DQ*Z2.=J"XK9/)F,%1T6>94!,Y.$J=)U1\1N5J].LF
-MAHG$%+=$@;:T`#7#*T&4PVF2!PC93]$!"_5&D+';>E.]?K):!!04+<N&?OW5
-MZC:ZJDD21V6AT_IY>1`5VK-MK`U*C6-;DE=9T;IE2E:^EF8W6SX4\.M?IK5&
-M9&<KIKBVH6UL1I`@+T>'"V[</)8XRRLZ_P#$@/!PM8VKS&MTA';Q4ZB8',*]
-M<4F@PT\+O)S7&J]M;TVL@#=-7MV%A@*S3IP/=-7;+8(72,5Q_BZRFW>6[[0O
-M/NJL>R@]CL`=UZKXAI3:N)W`.%Y_UNU\RC5])F"NL<,F;X*I,9YCBX%HG^R?
-MQ=<MJM%*CM[(O#E,4K>JUW_4J%"D:_5'-W:#,;KECQ;3ZO>%K$-8'O'J//*U
-MKNEI8=,XX4_3K<,H-],8E27,-89:/9:QBUS_`%!@<"1(C=/2M65[4.:WU`J>
-MJR7N!R"I+-GE&!!!6F8KT65K?U-V&X**\K^8T5&.+7#A:/EM<9PJG4+1NG6W
-M#AE(JWT^J]]JQQ,PBKO<<M=![*CT>L0UU([[JS6)TR#$%9BU%<W%=H@`%0'J
-M88"*M+`W,I7M3\Q)W&RSKC4UA+<RJRLUNH6=:)=A5+CIMK=M\VVJ`/.T'E4B
-M*51Q%003A0UZ52A%2A4<V#P5=;76DM6A>6N:E/S&C^I475!5O`'2)X6K:WUS
-M4I-:7!W!;"L46VCW@7%#23RLW_"?Z&A3:*31JX1Z&_XBM"CTN@:32RLX-(QE
-M%_PJG_\`,Y9Y::A_(3SRN0_$"H?*+)R=PNPJO#:)<<>RX#QK<"I7<W4-UTLV
-MY1SG2G>34>3C4Y;G37%^ESI(VE<S<5=->0W'<+8Z-<#0)=[+K.6'5=-)V[;+
-M4IU&M:23@#*Q^FU6BFT@F85NM4):Q@_J.5*JU:-;5KNJ1O@`K2IVNBF'L.2%
-M6L&C4UK0(`X6D'`0LJ@I5*K'^MN.ZO4:@J1ZOI*#0'M@Q]4!MW,'H)G=1II4
-M```=_E2^PPL^VN-(#*@,\K0H.8YHC,H"8R#G/U4]/#8RHFCU[X*E9@RBG,"%
-M%=5@QIB22E=56L$\H+&@:K_.J_0=E*"Z=;D@UJDEQ.)5IS<;*1H`;M[).8"F
-MFF%UVEZ"9Q\*ET,AMQ$E;'6J0=0=!("P^G'1=:"0KBSDZ>AMLHNH@&B9.45!
-M[12;D!4^IUS4864Q)VE+`NGW#W$4VF<IKZAY5XRJ<DPI/#E$M$OB?=6/$;"&
-M,J3@%9O<K4BU;N_DM/LI35TC,`%5+6LT6@?[<J"XK5:A)9L%JZC,!UZ[;0HN
-M>TY/=<Z;G42\G+E)UZX?4KB@TZC.T*3I_3*KM#WR&[G"FTLVO^&>GNN'-JU&
-MG/\`B73M;9V%`.J/:(WDPL2XZQ;=+Z<8(U,$+S#Q_P",>H7E1]"VJN8V<1*S
-ME9.VL>>(]0ZYXWZ1TYKP:["1PTA>?^(_Q5#ZSFV@)'!7G)H]0O:DU/,>3DDR
-M59L^@7-3/E.'T7.^61TF'Y=/2_$+JKJX=.Y[KUG\/NI5^J6%*K6.7"87@W_#
-M:MM5;YK2!*]I_"FH&](I0=FQ^RZX9^T8RFK'H#&M;2WX6;UHL;;N).P4C[T,
-M9I<%E=9KMKV[@'QC98M='EWXD=4)NGT6NVW*\PZ[U5[:[J=&-1W<<PNI_$^N
-M6=6JLD[[C*\\ZG5=3K/>XX(P%X/-=W3V_I\&GTF\>)>YQ+B<GV6YT>Y>ZY:X
-M;-./=<9TBX#JHU8@X`Q'Z+I["\8`-1DCL%X\YIZ;B[SI]R'4VDNR8$+KO#Y9
-MY()[+S7I-RX!CXQ[E=MX>NBZDT%PRDNT^.OI/:*<R8'NN3_%,BIT&NW?T\?!
-M6LZ[T-TD[\2L?Q1_ZGI]1LXA==[B3M\R4G&T\759)`\R9^J]>\+70?94R"XD
-M`+RKQ_1-CXKJ%HTC5(79_A[?-N+.F)F-\K.<W)7U,,IIZ`*NMH/ZJWTZ'502
-MTK';5TAH$GZK6Z&6EP)D9^5B=NG<=!8C8!I]EN=,MZ@RTYWT^RR[*`T;`KI.
-MF-IFV!`AY'YETG;CG=1+3<:='\Q#@%-3NF&A+CQ$*A4=5=4T-!(G\P17-`,M
-MYF5TE_#E<65U9X-T2,@E5<:HC*DN3+B>Z@=4@97.NLG"1E6&$DR=D+ZY#8#B
-M/E0"K+S$QM*DHTC4=),#NEIZ_DF/<YQS[RIJ$:NQ4]C;AE4ZA)C"BZO5ITVA
-MVSMOHL7=:FMZ7*-:FREZB``,E<[XAZA2UN93=SQRJW5>J"G3=+_JL7I51W4^
-MK-`)T3_=+>$O\>:ZCPA;&I7\Y^Q/^2[#S0R@&@[+-Z70IVMH-,`ANZK=0OO+
-MGU+IC-3E\WR9^]V;Q%U5M*FYH<N1NWONJ^K<'A-XHOO-N"UCIDI^BO$AKAQ,
-MJ^WQCU^M/I5NVFP.(C"L7ER&M(!V"`U6,I`A974;L:B&D%;QC&5V:_NYD$C]
-MUGL:^M5`&)/='2I/N*L@8[+5Z;9.:YIE,LM+,!=/L88#RM*E;Z&Z8YF5/;T(
-M:V.%8<R&9"Y[VUI3\LZ829;N>\`*ZRE+HCZJW;6_J`T_*"O:V<1V72^&>F>9
-M5#W``*#IMGYE1K0,=EV71K-M"DT@?HNOCP]JSGEJ+5NQMM:@8!`63UBO4J4W
-M!H^5LUJ>OTX`*I=1IT:5N[5!@+WS\1Y<O]871VN_B"\X([K0KO/F=_=1=+`-
-M1Y`D&5.`'5H4Q^I4E`%S=TJ]/TE6*;(`$H*NQ$+I&*P.O,U6[P-X7#7].75F
-MQ.Z]!ZW3BV<>X7$W0:+FJUP,96_CCDXJ_N'6=2HUN)G`*M>&:?F-\\@R3.57
-MZ_08Z_,@Y*Z+P?:4VVX:1*F?%3&?5AE9K:<.!P%!7J-,\8D3B5JW-*E!!8/A
-M9UU;4RTC;L0K"L]P!=B-U/1I8"@J4*U)X+3J:%8M:S7$-?A#0].E\#`'9'5`
-M=0@C=&\LQD05%</:QDS]$&'6?_"7VHGTDPK=6NVI1U-S.5G>)'!S-;-Y5#IU
-M>Y?3+6C9+J4DW&N\-R7X:JM:M2:XR=DS:5>H`'NW3U+*B!ZQJGA38I7-:B>!
-M"EL_+J"!D)7EC0\LPU4J5LZF^:57(&`@NNM?(JBHT0KU+16H9RY4@;A]`-D$
-MC*&UN*E"IZV$`*&FM1;IIALG"*/^IR"E>TC3!T%%_&4O\!472[U2MIH$`K@^
-MN4Q6O7@977]5JM;0).ZY&Y9I>^N2<[+KIRC&N+:F:+B2"6\!0=*<&W$.P.$]
-MPZN*C]/Y">55:]S;C!@<*XI796-;32&95_IKWU;@N)PU<[T^M-O'*VNAU)8&
-M\G<K5'3V0T4M<Y5RF[DR3[*A;N`IM;(GLK=`^H&,+-(O6YD`@25:9I)@JK:`
-M:I"L`D/S!E9:AZE"F\2!!4;15H.D$Z58IR?=3:06YB44UE7:YL..5)=W#:;/
-M2<E4;MC:3"YF'*'I_F/J!]PTZ9VE/^B_9T'UJ@JU!(!Q*U&M],`0$%L6%@TG
-M"E$`*::$T`X)PG<`&Y*>DV3V")PD^R"C?-+Z3MX7,OTT^H$KK+K\D@;^ZY7K
-M32V]R2)/9)Q4O32M"^Y(IM..5IMM:;*>1J57H3`R@T@[K5()8>ZMF^R*%DT,
-MN=(Q[*WUNCYG321N%6J?RKH%:<"O9EL[A9O,:G;`Z.36_EDX:CZ[<LM+<AN^
-MP4+'&RO*C!R56\NIU&_TD$M!W5[FV;WI'T#IK[NY_B:HD$SE:O6:].UMO+80
-M"!$A:#13M+04J;1('"S+BQ==-<YP.5G*Z61QW417OJSJ+0XR?NAZ?X(;6KBK
-M7:3.5U%'I[+>K(`!F,K4L<;F5R_;WVU/XL3IWA"RI``4FS\+5H>'K9@@4FX]
-MEL6WE@"",JVQK2TA:](UNO)_Q(L*5N_T-`@RM7\*+F:;:,F1PG_%>AZ-0V!6
-M3^&-P*75=&I3QW5,IN/4KJV+Z7R%R_B?S[2@_1+AMNNXM&"K;-/$;K'\16#:
-MM-P(A7+A9'SKX\>^O?U'N$9WW7#=;#R2X&1PO3_Q=L76E>H^F/LO+ZC_`#[@
-MAP).T+Y^<YV]_@Z#T(-%4FH1)VSLMVP<VG<M]8+1F8C*S+"S+JL.,=L;(NHV
-MM:B\/F9P#/\`9<,N:]'%^NKI]19J:UF3MA='T+J9IM`U9[+A^A4`RD'.<-16
-MYTFK-8,&0#NN?MJL:=Q2NGW#06DRK%7U6A8YVX63TZLT-`D"%:JUGD0W]%TE
-M'CGXW='>ZN^YI-<2#Q]5RG@WKU?IMTUCCI#=]2]\ZWT:AU2B6U`TDC*\T\8_
-MAM7:Y]>T'N!G_):QS]?XY=/5AE,HZ'P_U^VZA38#5:'GW78]&K-#&D.'W7S[
-M1I]6Z-7TO%0:>#*ZKPQXVK47,96+H&#J)3+#[B]>%^/?.C515J-#CCY704JX
-MIT8IN.<$+RGPSXE9<L:^E6S\KLNC]3J5ZC==01[%8EC6>-[=[TS3_#AY:-,2
-M5F=>O&"F]K#`*O65]19TUI;49$>J2N-Z_?\`G7E3089.%TO$>;#'VR-6NQD<
-MJM5N!)@JK4J9&=U&YY7.UZIC%VE5.J,Y5NC<BDW.5DBX:R"@NNHT:5$N>0/A
-M,=UG*1KWG5&`_F((&`L#K76&,8Y]2J,=RN7\5^*[>W+A1,N7+VESU'Q!?AFA
-MY8XYB``EXYJ=3<=)4ZG6ZI?BA2RR8*[WP;T@6U-M5P`<<B53\%>%Z5G;TZM1
-MGJC)*W[RY%NT-;B"LXS?->'S>7VXC4JUPRE!VC9<AXCZE%TYC3[0KG5^J:+,
-MP<A<7U&Y?7K/<Z<G"ZY7AY\9ROEOGUFOU3E:UFQE*FTD[+%Z54&C)DA7A7JU
-M7>2P$SRIA/M,N>(LW=X#+&9/R@LNG5[BL'%KH/RM+H?1'O<*E5H]Y746=G1I
-M,#6M'9:N=O$)AID=.Z2&4Q(`*T*%DUIVA7]#)`#83N89VA8_ZJLVFUH['LB%
-M(N$$85AE(`3^Z.DT:M/Z*[-(K>C#@%=H4X(`&2DUK6>H[K4\.VKKBY#W#!6L
-M>6<N&IX:L"&M>YJZ*BSTP1@)NG6X92#1B%.88W,+W^/'4>;*[0W!#:1("YKK
-M]9SY:"M?JURUK"-6.RYVX<:UQ`[KK>(Y]KG2:1;;22K-%DGOE*VIAEL`,'E6
-M;>F/S'/LIC.$O9]):T#90U`(.5<+?;"@N&@C"Z1BLKJ4&@X?NN*ZG2!OGEHE
-M=O?L_E.7(WC)OG'&ZU\<[VXCQ/1(N-78R5I^%:X#6Y/O*C\749:\Q$<JCX3K
-M?S=#G;8^5<^F,>W77;0YD@JE4;(B<JZ1KI"56<R'_E)455#3EA'NA_A*;S,`
-M?"LN8-4@*5C`!@A15!]CZ?SG[J"O9G,N)`[K5J>QW5.],TRFD8M]0I-IN@3A
-M<_3J5*%_#?R$PNDK,+CN85'J-F`TO&%=<:B3B\I:(:]D@&3RIB*9;#L$")4?
-M2ZK74])&6A2UF@L@%2<K>%*M3T&?U5.YH^OS&.WX`5[4`\M)P5!4!:#!,3A5
-M%>@\TZH!_+SG9:;6-JT0[3)'*H56,+)#H/*N=+J!A%-QP5FK%BE2:*8V1^4W
-MV5RG2E@(B"B\D^RFFW/WU4O86Q)=C=<]U5YIWE.@X8G(6[6:ZG2-3<KFNL^9
-M<WFMN"W==OKA.BZNUH9Z&8A<[=.;JB(SRN@OZI=3#"[(P5SW4SHJ$F(2<5.X
-MU.G5`VVWVPNB\+EKJ@!G&5Q?3JY#0"0/A=7X;J"=7<8RM_4EW'5:OYD`K0LW
-MS`[+$H5"XR"M6R<0T+"M:U,;#`5EIU&3F%2MWD`<CM*N4':A&T<RHU%FG^5*
-MK7%*GJ=":=+"=AW5-I==W.G.AOZJ">VINNJ_F/)T\`J^ZV8]H;`$;)6S0P`-
-M$0IVD3)32J['.MSI=,*];N#X(*A<T5-QGNA#7T7ZOZ?9/^JTF"?;W3._+NH[
-M:J'"`I*A&(&ZBHGM$9(7-^**0;7#\Y/*Z9QEAU;;+#\5TOY0.P[J43=!=JH-
-M![8RMJBWTSLL#PW4!I@?1=#2/IV6ZS&?U)I:9A6K*N&VH+B$_4:;749B%BU[
-MAS`:<X"D_#5_(>J5&UKP^6,DK4Z9:MM;85'1J=[*MT.V:]_G5`M-C?XBN*;/
-MRA9O";#;6[[FM);CX6@;1C*4"![*]96S*3!C,)ZS6DSCZ+$YY:CF^I6T5):W
-MY52E+70X8707ENTM)61=T@QVQE6+I);@1A6QKTX*HV[A$?NK5!QVU*K'*?B9
-M:5JG3G."\X\,=0?8^(*;7XET$KV3Q6UE3IKVG.%XCU.@]G67O$@,=(*Y?UR;
-M[CZ-\*UVW/3J9!F0I^I6VIAYE>7_`(=^,6V[&V]P^"T1)PO3;#J=M>V^L/!)
-M"ZW'?,9QRUQ7D?XRV+74G0T3*\9O^EOI52ZFV9.Q7TCX_P"DF]+BT%P.87GS
-MO";J]8@LQV7B\F.WHPR]7EUC8UZ3R\M!+OT1=0#C#=,M9[KNNL=!%E4TO!PN
-M>ZS;LI"8E>;R8<;=\<[:PQ7K4Z;:5$?)[+5Z+6=3:"1]5F&[IMJEI_-V0UKT
-M0-#H:,0O/=[>C3LNGWTU`7GT^Q706U1E:@W3$_JO/>FW!(:[4872=-OFTPV7
-M3([[*XUF\.@MB16R<!:-1M"M1T.:#/*Q:%85:6K5$[%.RZJ,<3J=`]]UTQ%?
-MK?@^QOR2:329DX'^2XCQE^';J-N^M9L+"-H_[+U#IM\:K@TO`'*OW;+>YMM#
-M@""IZ\[CKCY+B^;>D=4ONB]1\BJ'-T&#)*].\'^+;>X:T.<&NCD[JKXY\(4;
-MNXJ.8S29D0%Y]U/I?5.C5O,87.8W&"KN9?Y7MP\TO;W@=8\VCZ:L@C@J(W8>
-M8)V]UXOTCQG=6Q%.J\^G'JV"V:?CINQ(^04N-=98])JWD'!D;)S>4VLU%T%>
-M5U_'#G$N8=("H5O%5_>$TJ3WDGM_V4F%[I<OP]$\1>);2V#O5+EPW6?$M[U%
-MQHVVHR<`(^C>&.K]6JZZ[BUIS!7HO@OP1:V9:^I3U.[DG_-+G)QBXY>3&=N*
-M\%^#.H=6KMK7FKR]].R]:\+^&+/IM$!M,!S1(6Q:6]I9T6A@#<+.ZCU`TZA#
-M7XE9U]R>7/RW/B-2YN:5&EI]H@+G^IW,DOF8V6?U7J3R]I!CZJM<W9?:@B)*
-M991SF.@7M9U1VAVTRJ/4&-8V0<E,^Z!P5<Z3T^KU&H`1(7/W_+7JAZ%9W-P^
-M*;2X'LNY\.>'W@!]2G!]UL^#N@T+>@V6#;>%U=&UIM:`UHA;QW8S;)TPK6P>
-MUH;IP%:IV&Q=,?9:YI@&0(]D+FM;D\K<C#.-NU@P,^^R!]$<J[5J,!@E4KJY
-M8S^H)H`6-F"8/=":C*1))`]U3NKS,"?99E[6N;EXHTVNSRDT5O6%0WMZVG3<
-M2V<KO>@68H4FXX7+^!>EMMZ+:K_SD<KLZ%:E3;&J%[/#A]KS^3+XNF&[*AU.
-M\#&&#E0=0Z@T,(&_=9-5[[A\`E>K>G'LUS7+R7.,A1=.+7W.H$#Y3U[-Q$$+
-M0Z59-I4]3FB8WA3OAG_4]-[7O+,$MY5R@W$X*KLI@NW*M-U#&WNNC)WC&57J
-MC)GA3N?@M*KW)`&#NM1*S^H-!I.7(W-/_P!<XCOLNNO3_(/=<S4IZKUXC,K5
-MZ<[VYOQ51F@Z1NN.Z56-KU@:MB5Z#XEMYH.,+SCK`-&^U@[%:LW'/JO1+7^9
-M;->T[A.ZGZN,[*KX4N6W'2Z<'40%HPX[[+#:LYF2T-D<F4`8&RK<`"57JD!T
-MSNFA#5``$1*HW;FD$&%<JO`$Y5&YR_:545"WU$CCA1WC-=$A712EH)P@<P$E
-MKCC@HE8%H[RKPT\D']%<JZ9@*/K%`4ZPJM.`5(8JVPJ-@'V4ZIW%:YIP[6?W
-M3!K7,]RIW,#FC5B$%.F`X@&$%"K3-*KOZ2KMJP8)X37#`XG&45C^:)&%*L;%
-M!W\EN>$6L]T-`M\H8E%+?\*SIMS'7#_"T-'(W6/08]@-0Y:_*VO&8_D'&9X5
-M2WJ,=TP-J-`<!A=9=[<.G/7CFN>0W:>5E==93=1@CV6SU*DQO\P+%\05)MAB
-M3*L*HVE336;JTXSA=5X<J>EW^:XUSBQ[3'W70^'ZY#)X/*WWRQU7963]39!V
-M6ST]P(&#E<MTNL=/YACW71=-JCR@0%&FS1=ZA&5H42-.^5DT'ZS(!$J\*P;3
-M+CVV6=+M)=UG/<*#'23N95ZRHBE2`@@\K/Z8T%YKOW=LM:@X$"3A3_524XVD
-MR5,`(B%$V-X.RE9"*DIMB"5+`<R`HP/3,J1IG$J*A+32=K9LK%O4:YH)&2DU
-MH."9)45>D6NUL)]PBIR)S&/=9OB6GKM25?H5P6AKL%!U5GF6C@"I2,#PP\A^
-M@KJ;=PB97(]#>&WSV.X.RW[F[93H:0X2>RVST;KO4`QOEL,E8_3Z56]N(&W=
-M2/8ZXJ:1))Y6Q94*=C:`F-<96=G8+RX;:4VVU*#4/9;'1*7E6X?4&2-UC],Z
-M<ZOU$W54SR`2ND`:VAI[8PN.5VMA6W4:+ZYI!XD<2K#R'`&?C*Y#K6JPN?/I
-MOPXY6ST'J3+F@PEV2%TQU8U_5I56`M@Y6;?6[2"M34'>D$&5#>-:*>8(2QIS
-ME;^6X[@!1MO=!C)6C<6KJ[SL`HSTQ@&1*SLTSKBJ^Y)9_2N'\9=&+*AJTF3.
-M\+T6I:-9^4`:55N;!E5A%2,K&<]N6L;IXU7IU*;I`(A;OACQ3==.J-94>2S9
-M=/USPO2JM)I0#[+C.L]&KVE8RWTM*QCG<6[C,GI?0_%%EU!@8]PF,_[A;0MK
-M.K3-1L`N"\-M*M>UK:V/+7!=#TGQ?=4G>75>=/O_`-ET_CFQSCTWO'?1YHOK
-M"!"\?\4U88^F<0=Y7J/5?$'_`!"R\L.ES@N&ZIT2K<5'.#=1)PO+YO'KAW\7
-MDWV\SJ>8ZLY\&3M"EL];ZKJ;@`!GY787GA_RO4YD+&N.G,I7&L-+?A>:XZCU
-M3RRHQ7=;T#/S`1]-ZG4J7`;J,3D2J'4V.<[,CY0V3/*)>[Z<+EZZCK-6.^Z7
-M?@4@TG/`*UZ%1M2D)$D[A>?],OG/N@ULS\G9==0J.IV8<(EWNM2\.=XK>MPQ
-MFI[2/H5:97]49C]UA=*K.JB,GYY5FI=EC\DAW8JR+[).IU`XF0-^5E=7Z1;7
-ME(L<P>K*DZK=--,&23\IK*O4J.$\>ZQE_KI*X[K7X=LN-3Z(ATJI2_#6NZD&
-MAH:!S.Z];MS3%LQK@)(S*FHUJ+1,1"LEZVZ3S61X_5\"%CJ=)]-H:S^H#+OE
-M=3X=\&6=HYM3R?4-B0NHJ%E2Z!#>58K564P,PI9;Q:7RVK]E:6MK:M+:8!(Y
-M2-^QC/Y9,MX"R;SJ;74M,RJHNV`Q*MLG#G.>URYZH75C)52[NP\ZM655O&:S
-M+"<YCLLZM3>&%KB09Q*X^_QK2Q<D5-0+S*JUKC0R`X]E4N+MU(QW"CI5C7:'
-M05F_E6C86C[CU9C==YX&HLIM;+0>ZY;PM2\QH;J))7:]`L:E(X^JU).TMXT[
-M'IU2F&`#$J[YX#=\++Z?:52P1)6I9](NZ[L@@+K+\<D52]$F"H*MP\MELF5O
-MT?#C6MFJ8A&_IMO281HSPNL\.>7QB^3&.2J&XJ.@`Y3#IM>J9=NNG%I2!.EH
-M1,H-G\L+>/Z>WMB^;\,&UZ&TP7"?E:-CT2D'`BGMW"V+>BR>,*[;AH'$+T8_
-MI\8Y9>6U4M+(TV@-=MV4E>W>6@-*O4V:L@Q[*5C`)E=ICKIC;#=T^JXYRAJ4
-M*MN=0^RZ-K`L_J3FG`[K4P9M8E2\J.=!D`=@H.J>)[?I]-IJU`/;_82\075.
-MSMG/YX7E'B^[N^HO>:;"6@K>YC/;)PSMZQ>DV?X@]+J5=)KM!^O^2Z#I_7K>
-M]IAU&H#.<%?*U6G5J7]2F7O8YIG!73^#_$'4>D5!3J/+V#:5G]W&W34E?1_\
-M4',`)RHZE8/V,KB/"OBVVZBQM-]0!T97327MUT7RU=$V.]>=!@A8%)Y_CG$@
-M22KO4KE[00X$++L:[7WD#E6])]-X@;-$X^B\U\5TCYSH:!!X7J75!KHG'T7G
-MWBVVRXYP5J.=['^'%V^7473@?W78R8_U7G/@ZLZWZL!,:L'*]!+R:8(^\[K'
-M^-"J.`;D*E<D:L%25GD#=5JIY*NA'6+B,C?@*![1&0IBX.RW<;!!IDYWY01!
-MQ@B,)XU-@%3>3Z9E`69G909O5:6J@[.%1Z82&.89QMA:O48-$\@<+&L"16>$
-MO42?5DAAV'R(2:P`AP">F`XR1A3M8W3@04%&YSB)16M,@SIW4KZ<UM)D?"FI
-M4BR6G'92D6*#1Y39(E%#>X2;HC;]4O3V_59TZ.:94'4>JN8XC0P_=#U6A2I5
-M2`0.T*#I3?(NJM7,%1]7>XN:^<NS,KMJ<//]9G4*9`QD%8'5Z(#20=MPNGNO
-M5;SB=Y6!=L<*CIR2=DJN:NJC)]6Q.RV/#]0TZ,D@SD_=9'6&:+B>"5?Z0X:0
-MP5/:>ZU.F:ZBP?',+H>DW$4XQ\KDK*J`X;SW*W>G58@DXC9(O;KK!P(&=QDJ
-M6O4#M-!I!)W6=T^J74QZN%/T]X?=NJ$&!LI81OV+6M8!V5ZG^2(*SK)PF!`5
-MZF^!NHTM429W*EIB8[*O3<)B=U9;@"%%3,_+`W4C6X'WE14\22I9$1.%%/F,
-M#/RBI@_U94-2LVGDN`4)OJ0$`?571M8KVQ)U,*@KUBRF14G'*=G46:=L+/ZK
-M<NN&:*;9E/4VPK:JYO5ZK@#"T#7?7N!3&RDL.FM:34K'?DJ*Y=3;<AEL-3AV
-M4EX9URW["A3I4\Y="N4[2I49KJ?EWA#X=LGZ&UJ_(E;59H%.`V`LWGIN37:C
-MTUA!(C'"NENH22`%%0`8X@_='4JRW2"#*QC-W:3MG=5Z>+UODM@CNL=UG<])
-MKB"[RUV/3Z$`N</S)NI6=.YH%K@#'W4LU?:.LFYJJ/3;ME2B"")[*2X(JPT;
-M$K%(JV%=S7M.DGW6CTVX:^H"3LNDLRG#.M7E?I46,IP<J&XI`;`*SJ!`A/ID
-M=Y4TTRZ](&<9[JM5ID&2`MA]$OVG*J5J,&#/LH,]S/0!&#RJ?4NDT+AGJ:(*
-MU:U.)$%`YL".`LW&7M97%]8\*T:C"YC1/LN.ZQT6O:53#,-)7L7EEPP)"S.K
-M]+94!=IB=UROCUTW,M]O)J3:E%^DL,!;_1ZC'LBH`#O*Z#_@%.LXZFJG>>'Z
-MM&KJI20F[]2R?%&_Z?0N*9.D+E^K=!8ZF][6R`<GLNW?9W%)H#ME5O*#VV[Z
-M5,"'X=A8N,R[:F6GDO4^E>K2UNTJK=='<:<AI!7=WO2*QJ'33+IWPH+NV<RE
-MIJ4B#W(7&>&?EV_=KA[*W=1J@D!L8GNM6ZZEHH"'Y'=:0L*=1I&`%G]5Z:#3
-M);&3O"YY>*QN>297E?Z)>NI40YQ;!&X4M[=MK/:01)]]ED68<RB*;C):,[J&
-MO5J4ZX:""TXP5PO'#K&C4J^:[3J,3O*N6E44-.?JL>G5`:'2`!O/*EI5W5'[
-MRUJQMN.CI7CG$MG"G_B(GU3.ZR*%9E%AAPF%4N;\@N>"M^Q&ZRZ:VO@SW17E
-M?73UMW/'9<C_`![G7,AYS[K09?.--H:<_NI<MQ=:37-4AQ<#OPJ]*N[SR2X^
-MR@N*SG"2`0/=5*M<"H2TG*YMR.@L+L.J-:YVVZ;KU;R6BHT$25SM*^%*LQY=
-M$')!70731=V!<001LDE6\=L*XJ><]KFY]N5IV5`LM]>K$8PL[I]J\7D%OY<#
-M*ZNTL:E2ES'*LPW>&<LI(+PV'4ZP=.^R]6\%61NV!SMB/\UR/AGPW5K!L-7I
-M_@WIE>SI!KFQ`V^Z]7B\4MU7G\GDNN&_TKIE*E3:"`5JQ1H4Y;I4%K3?H#LA
-M!>M<&Y)7OP\>./3S7*U6N[MU1Y:W;N%4KU''!XW*FH#+DSK6K5K:H,+>^&5<
-M9,P$3`XG`6C0Z<XMET_57:'3F-W&>RD&71I.DR,*W3MW2M-EDT$G=2MMVZ<?
-M9:D%!E)P;G*)C#VA:'DC3(2%$1(51FW>IE/98=[<>6"3]ET'5"&4\[E<CXAJ
-M[M89DK7QBN7\47=2YK.IC8'[)>'NGVE>V=J:-495^WZ9K::CQ^9+H-D:5Y4`
-M/I/"X>3^4W6<IIR'5/`M.OU5]>B(U'98G7/#%U9G#-0!WA>ULLAIU-/Z*M=]
-M/;5:6/:#VE9GBUS&Y>-/":1K6=>6RQS5VW@OQFZ@YEO>.G&Y4GC7PN&36H,@
-M@SA<!U!IH52UP+7-,;K>&5Q,IM[O5JVO5;'72(DB5R5RVM9=3)$Q*X_PCXMK
-M=,K>35J33(@2=EWEA=VW5XJ4RUQB=_\`?9=]RS;EK5%_Q!M1FEXAWV7.^)F-
-MJ,>=,@G=;/7K(T3YC20?98EW7<:#V.`U'&1LND<LHY*UJ?P_4@X8@XRN_MZQ
-MJV;'-=DCNO.NI_R[N1O*ZGP_=N=9MU'("EG*R\-USCR?LH*CAM.$#'^8-SE(
-MR'&(4:`0!ZN5+3F-DWECVD^ZD9@94#U!#1F57KN]/8\*U5;Z0[,JA7=G?<]U
-M8BM=D&GI)_18ML?+O7C43/9;%T<.))E8E0D7Q[)>D:=(2V=X[*3;`5>W=``"
-MLTFF>9]U%-1:#5]0(A3/`!E$QL"2<]D-P0,_HHJ6F\!@&4_F#W4+3Z1ZH]D\
-M_P#6HUIS=9WH;3(`,969U!AT$QE2U;DFLZH1`.TJM<UBYLR"5VTX(:A(H_F^
-MBS;RF7DN=PKM=SM!XGA4ZHFE,PI5<MUUI;7#G3I!P0=DW2ZCVB7MD'^J5<ZQ
-M2Q,3RJ5H#5I.#I`&V=EJ=,ULT*Q#P2[!'!716%4:6DE<9:5=/I+7XY*Z+IUP
-M7TFB=MH*I+RZNA<%E(0Z0!PM?I`TVV3NN5H5XIM'O]UTE@_^0WX4L5NV3\9S
-M]5I6[NZP[6J`X0?JM2SJ:FR)[Y4I&A2_.3E66.TA5:3I8`%-3)U1*C46J9Q(
-M0WEVRA1DD!)BYS\0J%[5LV_P9(/LL7*8\UJ3?#8I5*%4:GU9!15KNPH`RYI7
-MF-!_B*D-&A_;A07=MX@N`Z7.SVA7W\?Y/V\^GH%]XAZ52!UO:`-LE8UYXZZ;
-M2D4(<?:?\ES'2/P\ZO?U/.O*[P#F%UG1/PVM*+PZOZOF?\UC]Z7^N+7[6O[5
-MF#Q/?]1J1286TW<E=KX*M*9#:CQJ<X<I7G0+2TZ=_)IAL)>&:S:;M$P1A:QM
-MR_LSE).G;68``;$1PIZT"F52LGZF`RI[JJ'-#1E,NEVJ5ZFFF23NI.E4C4=J
-M>=ME'6HZR)..RO\`3@&P,=LK&*XS2]28(P43FM.WZI,&(!!^JD:.\?=:;C(Z
-MYTYMQ2/^+VP%SEN]UG<EE21P%V]0!P(,$+"\1=+;4I&HQN1V7/\`K=Q;-\4U
-MI=,<T>K=7*+VD#..,KF;-[J=4TW...Y6Q;O)8,KKVQTTP6G8P.RCJL;"@IBI
-M.ZE.N((6:T@K4L3&ZJNIGX6B[20,;J)P;R/NH*@!&!A#6IMJ@#WW5I],3,?9
-M`8;N84[X7I49;,INGGNF%!M5T$81N>:C](`5R@QK&#W4OX(R.H=/%1D:<+'J
-M]/'FZ=/LNV\K53P%5J6+7/U1NL7%K;F[;HM$PXLRL[Q'X=HUJ9T4Q)W@+O:-
-MG@`C"CO;!I&V%+A%V\AN/"M1C"6@_*Y?K?3*M'4T3\+W>ZLV"@06CZKS/QI0
-M\JY=%,@$]EBX-3)Y6\/9=%A#AGE-6B"8,CLNDONF-J.+].%B7ED6/+73'[KQ
-MY^/5>G'/;+\XNJN9I<X*Y2,-D8CA3-M&ADEH'>!NJX8]I=`7++#3I,]E5N7;
-M!Q'<JA?W%1KBQI)*G;3>*IEI=K*LML*;FESV$D]UC4CK+(R+8/#C4)]+LD+6
-MIUM&F3Z>Z"[I4J,`"&G@*(.<ZEIF,)9M;EM9K7-)M$^H@E9#*IJ7!!=`'8*V
-M+2I48&.;^;F5:L.F-#=9:1ODJS$]Y(:QM&U"Q]29WA=7TI](46L.\05D6-J'
-M.#6%=7X:Z,0W6[)/9;PP<<\_R'IO2:=2Y#V,D'*[#H_098':-ALM7PKT9C0/
-M0<CE=OT7I3&LDMX7J\?B<,\]L;PG;-HU-#F1A=I9TF!H(`677L/+K:J8`6G8
-MM+:8D_*]6.,G#BM&H6F&C`5;J#I&1'PIG.;JPJ?4GM#9#I]ETTSM6K5*=&GY
-MCR%-T[K=C&EU1I(]PN+\:]5N:5`TZ3'?(E><OZIU6E<N+*M2"=I*7+#'BIK*
-M]/HAO6K,`$5&?=/_`,=LA_\`I&_=?/K.M]>B-50_=%5ZGXAB07Q]4_<\9Z9O
-M?CXBL6X\YN?^I1N\46`.:K?NOGQW4NM:CYCJP^Z.C==1?E]6H([DJ_NX)<,W
-MT+1\1V53`K-^ZF/6+73+7A?/G3KCJ8KRVN\`^ZWJ?5+UC`U]5T_*OOA4UE'I
-M?6^L4G-TM=)'995"B;EQ>X$MW7/^'?/O*\U2=*ZI[A0H!C#^JS<O>\=+)Z]J
-MM^\,864QD*'HC-%4ZOS%6J-L:KBYQGE2T:(:\F!]%G/IG2_;N](DRCTMDF<%
-M0T8$P1*DDQD[+>/,%>_MJ55A8YLA>??B#X,IW=-U6U;I?/'T7HU0@C;*JW+`
-MX$`*Y8S)9=/FCK?3[VQK&C589:2%K?A_XDK=*Z@UM;46$1GC_<KU#QKX8H]0
-MIN>U@U[X7E?6NBU>GW+@]A`G=<;[8UOC)[(:E#JW3&U*3VY$X*Y#Q#:/HM=$
-MS.ZS_P`.^O/L[@6E<S3(ALE=EXIM&W-AYU$#(7IPRV\^>.GDW52YU7,`@[K9
-M\*LJ7%N=#H@+.ZY1ASLPX'NM/\.G#SC3C!5RK.+7:+BD0"?96*3*[@,`+5K6
-M8.0`HV6[V]L;++2@:-P)!<$#FW#,3*U7"&B?U4%9NF85&;6J7.VP"S[JM7!]
-M;/LM>Y,.R`53N2UXG2$1E?QF/5QW6=4J-=?AS7<E;%U18_\`ISW6'<6T7GI/
-MT5O236VO;N&K>)Y5VAIF)^BPPRNS.DJS:7548<W'S*RK<C21G"@N'`.V*K.O
-MV@:7#]$GW%)P!F.R"VP`M">&J%CVZ!Z@G\QO<*-.$NZL^GA.`/+!=E1U634P
-M/=2L:U]/2.%V<5:H095:J=0CG967`ZCC95ZS03'ZJ:5E]8I`T-``E9UFP`.:
-M0/HM/JC9JM9V"IT*(:\P))25FHJC21#A\:5=L:CJ+@W8#@R%7SKCCOPK)IEU
-M-N-7N$&O85IK-DF"NJL:HAN9PN#L*FF[%,SA=/T^O#1"U.5=/:UB7!H^RV;*
-MI#<?J5RO3J\O,N)6]TVKKC&R6(W*-0``!6K=S7.D+-H.DB/W6@R&@`?HLUJ5
-M<:X<HJC6ED$`J"G!(_NBN*PIT_[J:VNT%X;=@@,"CL;1E:KK<T`)4*+KE^M^
-M!P%IV[(`;VV"QJ7IKI:M&-:T-T@*WH]/^JKVXSMLK;!_W6A4ZC0\RU(7+V+1
-M;]1<TCE=F]DM(7(=<I>1U`5`8DY69=9+>G4VEPQM)L<C96[`&JXE<_T>J;D1
-M&RZ;I5(LI9Y4SO.G.<I:K`&>Z&V)#O4%/5&H?Z*!PAPSE633JT:)$-RI9RJU
-MLZ6@&`58:"8[(T51H&905F![()!"F+0/<CN5&1@D`945S'B#IQIN-9@(^%5Z
-M==%I`<2/8KJKJF*C-+A([+E.OV+[>IYM,&%B7UO^+9MM6M5KP,R2.%;`$9Y7
-M,](O@3I(R-UMT*NH`@[KK6)5M]-I]E&ZU!R$;*DP.49]+20<]EC4K6V=>L-,
-M8*I-IU:C@'#'>5HO'FU2(Y[JRVB`T#3"S_D5FV])E-V<E66,&L$%2U*()QNA
-M-(@X36A("`I:36P2>55<2",8[J1E8!%70UH;`E#4:"S*A%6=M_E.'M(R<H*M
-MS;![B-*Y?Q?T*G7H.<&Y/^^RZVK4`<51ZE4%1FF-UC+':[>54>A52]S(Q*Y[
-MQ7X?NJ)+@TP3_OA>P4NFN;5-7RR0[L%'U3I-.[9#J6X[+A<-NLRT\";1J4_3
-M4$_*MV?3&5R-`A>B^(_"5%E$O:T`_94/#/0CYI#FX"Q<-\6+[:YC`M_"DT-?
-MUCLLWJ/3S0FF*9G9>K'IS@T4VTXGE"/#--_JJ,U'E+XI.B>2WMXG<]'N*KQ_
-M*<0I+3H=Q(:6GY*]J'A^V;Z13_15+SPZ)!8T1\+$\<VW^Y7F+NAOIM#N5/;]
-M-<ZG!/U7?O\`#-6J(`PK%OX4,1IRM?MQ/>N#Z'T>+F2["[CI%G2I:-3H5YGA
-M&L!+"1[PM&T\)W3J0ESI[PM8R8LY6UK]!JVK&CU`'NNCHWM!K``]H7`7W0NI
-M6DF@]Q473K;KSW'4XPO1/)XYVY^N5=U>=2MV/!+Q]%/2ZM;>0#J'W7#5>C]6
-MKN#B]TCLIZ'0^JD:75'1]4_=PV>F3H[_`*]0H_\`Z1L?*CL+\WSBX&0L^S\+
-MU:@FKJ=\K>Z7T06S!N,*_N;XD/37U%>V%K<VY#J8<3W"P3X-MZU<O\IH;VC_
-M`$7;T;-K0"3)/NK#:=-K8`!4R\<R673E+3PA9,:)I-D>P_R5O_RY9-;'D-(^
-M`N@JQ*@KN<!NK/#BERKGJWAJQ+3_`"69]@LOJ'A>U+8ITQ]%U^E]3$84M*U!
-M;D9*7Q8_#VKSEWA]U(D"F`HO_+UQ5J`Y#5Z3<65-PF(*SKLMH'3`,]E/V[\I
-M[,KI=HVQH``>H"%;HT'U'R9,J6A2=6=J<,%:-O1#0!"WC-349O/**WHPS+8^
-MJC<P"K!G*O\`EC3@*C=RVMR,K>N&:8M+78S*1,$J:MFB#'U55\SE2<5DG.TG
-MY4535F"C)$@'"9\&8*TJK5;JF2N;\3]"HW])PT#5W74%A)V0OI:FQI4N,IMX
-M7UGI]QTN])@B#Z2N\\!=7;U'I9MJSO6T`>I:7CGH-.\LR]K1K&<+S[P]<U^D
-M]:\IQ+6DP=USG\:MGM%OQYTS^%K/>UITN."%E>`JOE=4+"XYXE>@>)[6GU/H
-M@JL&0)QRO-^AAUKXA@-YA>B_U<9V]4I`.IC!P.2HW,R5-8Q4MV$DB0AK@#(4
-MBJ58.S.P4%9TM^5;J@0>52KG!C"(I7,D20J+R-6ZO5RTX"I730(`PJB"X.#(
-MGLLDLF[U`+3N7.GV673,7I(VY4O5)VO,$S_DIZ+!AT#"CI`;S$\J>FT3@J*"
-MM1IO&VRK5;5IR'*XX$-R@=!,CA-$0LM:VD14PB_A:_\`\BMTP-`S">!_B4:<
-M"XESH."$=$D3!D!0L)#<R/D*Q;Z@V8&Z[:<:BKR'%5JC0'YY[*U=CU856X(`
-M)D2%"LZX:7W3G#@PH:K);`P?E:'E11G:52JL(>2,SA155K)'<'LK-`Z</&^P
-MF%"YI#L_]U/0=K<,25>TZ)S1_$-)D&-PM.QK.:((.>5E7NJE4:YAF3$'A7K"
-MIKPX3"16]87!'($KH^DUM%,$'=<10JNI51.&KH^B7(>T'5*TS766+Y=RM:W<
-MV,RL#IM4$3NM:V>20I2-$U64J9<H+1C[NOJ(A@]U6K$UZXHM)CF%L6K12IM:
-MP<+%_#<_*9C`Q@#>$QD&0-^Q4K#QV35#`C)*:5-:N.L$G`V5ZFXG/<K.MW28
-M5Z@9$;*BP(+8`*YSQC:N>&^4W<KI*8_EX,*I>L#ZC01)W6,HTH^&+-U"V;K!
-MD[KI:+=#`J=NP`-``$*9]R&D-E8QYK&.EID'!450#5A/1JM)B4540<+I72#M
-MR!LK=%V),+/8=.T^ZN4G`MXPBQ+(WWE(Q_LI-!/;'9"T0XP5&C.`TD2J74*-
-M.I1+7<A6W&-S/LJEZ?4`.<%2P<?=6=:SNW56DZ25H],NPX`ZMEN7=FRM;:2!
-MLN5ZA:U;*O+0=)*SC=<4RF^736U8.&_"EKU(9A8/3+T.:!^ZTC6;4<!.5NLR
-MM"RICR]4F5.6>KTRH;?_`)<B!^BL4L-EWW4D:1NIR,F$!IP`K`;.=D[62X!2
-MJINIRA%"1*OE@R(`^JC-/U0.5!4%(@9PC\H1,[JP:8&#$%-H[#"FE5:E&1*J
-MBW\RN`6\[+4-,QV3]/M0ZKJ*6$2T+.F*0&D;<!17'3F/`AH^RT]/&F?92AK6
-MMG$=E-1IR'7.B.?2.`0LSIO1/)=ZFC[+MNH5&Z(T_14&^HQH4])O9MF?P#`V
-M7`>REHVC'0(5ZI:U'$P"FM[=]-TP5C*S>ED9]QTX%X@<\*:GT<.8"6+:L;37
-M4!<%K4K6F&Z>RSCA]:<H.D`-!TA2T.E0Z2V%TE:V;B!E)M(-`.5UF++,H],:
-M6B1GW1/HMH-($>ZO5:S&LW.%F79J57P-N%9C(EY0/8VK4RR<JU2M*#698)04
-M:19$@R=U,`Z<@Y34MY7F#9:TA_0$YHTFMPW*"7!V)3OU&-)*:B<B&D-``@IG
-M/(=AOV2;3/\`4EY3@XPKP:)SC&WW3EV,G]5(*9:R0/HJ=:I_,CCLLY9Z60US
-M<EHP%';.-P^`FKEDP>>ZFZ-0&LOXE<YEEMK46J%#2,C*D<`T2?U15:M.F#D+
-M.O;IS_2QR[R,6FZA=ALAOZ+.%)U6KJ>,%7*-N7G4XRK+*``@<)645O1TMPV%
-M*&CD*4@S`,)0"?=601D'Y_LJ74Z0@&/HKYDG!5?J(]`D[*I4=`:K<3!`4;J0
-MG"L=/&JC.T(W"#')6/\`4RXK.J4(<9"C-/@K1J"./E15&3D05L4_+$8RDQD-
-MSCY5O2(E1$;@B$%2XHM<TM(!E>7_`(E]'_AKD75`$23,!>JOP")E8?B^PIWE
-MBX.:"8*93<3>G,>![L7O2G4'.ES1&3[+D.J6O\)XK((_,XG]5T/@B@^TZI5I
-M%IB?@)O&]H1U>C7:`?5O]5,,MXV,Y363H>GD?P=.,X&R>XVSA*P'_HVF!D!#
-M=P`,K>*5!5V/"HW!,D#]%/6J0)!E4Z[B3+9515JCU<?=4[C\V3"N5R)!.%2J
-MD$Y^Z(JU3Z\SLJ=O+KEQ@QRKEUAITR<*IT\S6=D_52]$7&P'1'V*D9J<[T[H
-M-!C8%'0@;-GX0&[\OJ.R:F&X.K9.(G,DHBT$=CPHL.`XB92AW=&S3I$RG]/<
-MJ;C3S.W=+)[JY;5!@'8\+-MWEM*-6KO"N6;IS/W7=P6KR"1IR%0O&X#!_4<J
-MY6>($[*O0;YUPZI,M;@+-6'>P>3@Y5.L``2<=CW5\!KG$=N5!>4Y9EON$JL:
-MH)J`D$CLI:!)<``(]U)=42*0=F?904FD.F00#L"D2Q)>M:6M#@"?CE'8.#'X
-M&?V454&I4B<`<Y*>FZ'"00-B4B5IL+:A!&/E7>GW+J#X;^4\K,L7S5+85YD:
-MM)C/Z*SAJNQZ+=M?3$>PRMNG<::)*XGICWTP"PB)6W:7IJU&42XQO"U6>G4=
-M%8\36=C4M:VENY]UFV-1OE-`.!'[+1HN$3,+&FEEASE&X225%1@Y)4\0T&8!
-M4L:!)!`"M6U0$Q]%3<,GD_*DMW:'=Y1&K2)B8A-#7OGLH#6TT9$!3V)+J>HQ
-ME8S+4VK13+BJCGMJF0=BH?$UT;:UP=U1Z1<A[0=6_NIA.$C7H574G2<A:%"L
-M*C1,3^BHT--294C&.9EI6W2+FKT[;?<J>BX0J=%X=$JS2QSNHTM!P`ALGW2/
-M>4+-.F!^J*0!D*:4%:&LU$!5*`-6L29@84EZ_P!):'&45C3AD]TJIF@2#V5#
-MK-DVYI$`96BXP0(3.`TZ5,IM8X*X8^SN""#$JW:70\T21D2MOKG3V7#"=.RY
-M.X94M;C27>F=UG&WJLY3['96E753W5JG4).-AV6!TBZ#FB7+9MWR)E;TDJVP
-MR(/=3,@`S/95J!>7^IP(XQLK$<\J-G:)R#(1`<D)J8/;*D;DPI1$^F79!`4C
-M:+0WW`4K&M&#NC;N,84TJK7;I:K-C3#:<[2HZK2]P&%:8T,I:8'T2K#B!RHJ
-MSC'8J0R_`4EO1#R9E.A3;9NJD$@Y5@6+&Y(`^5ITJ(IT\H;EHTDA36U4J=$:
-MM$*9UI2+?RH*!FI,X"LZ].Y4UNJK-I%CI`,*1E<@P>RL`->T84;J(>9[%76A
-M(QP>-]E7ZA#:>#**K2=3RT_=4:M74_0\\[J\!J-)U0YF%890:!NI:+0U@&_P
-MIV!H"FOR*OD-[;G=%Y`U1"LD-F>4_I@<IHVJFW`3MH-Q"LB"-N$FAF"#":$+
-M:`)V^4A;@[[#LK!+0))CZJ)U:FW=X31LWE\8"JW%BTNU$HZ]]39L9CW69?\`
-M5M.&3E+A+V>^AW]M2;#IV04:[:=.&!0-K/N0"\DCWX4U*FP-RDQDZ2VWL%4U
-M:SX)PCIV^@[`^ZL,\L#>041@[%:TR&FP!IGA.-_A.X`#TF4$#5NJ'?G(*$3`
-M)^$SS,]PA>2UL]T!8&(S\JMU""S&2IM7V4-_`IRWZJQFGZ8TZ3&RDK$:@=H4
-M/2\-,E2UXF9P5SLX3()<")(]D#R`(*7[#*$YAP*W.E"8TX0.&9`GY4D3_4AB
-M'^RHKUJ<CTR%4N:.JD0[E:#Q.1N%6O\`_EX5B5Q=>V%IU8O:/S'^Z#Q/0\SR
-MGZ3W*UNI4`ZX#SIE4>OF&,`B9W4DUMF\E;PR@P#``4%TZ2<?JB#M5,`G<<*K
-M=/B8(GE:G#*M4)DP<*"H9&)SPI'.!F#\@J"J=.SAW1%>OEWM[JM4#OS<=E8N
-M#J]H*A<($`_=!3KM9I)DY53IP'GO),$<*Y<?D=..,*ITP.\UT']4O1%YF<1^
-MJD83$1`'NG#1,D'W'=.3+<84#.(<!!RG`[DIZ1:1/^J:L"#G"BI&_EW/V2^O
-MZ*)E1FD22$7FL[E--;>/4*CJ;]1)<.%KVM21,P>RR[?3IT.SV4],NHF=Y^Z[
-M;_+RK=P]U)AP>PRKG3F>7:^K!(G*RJU7^)N:=,8:W)6L'?R2W[*::@0"PD\(
-M+C\H$3/Z*5Y/E1$DJ/3.\[(TJ5VX`@[S*I!A95(G[K3J`D9:%0>#Y\:02HE5
-MVG_U;A)!`P%-J(.9]E#/_JR,R,;84]P"TSIGXE$Y%0<:;I#MSW6@Q[?S+*HE
-MSJ@!&^P"M^8-@[E58W.GUG>6<K2Z('U+AU:?RX7.V58Y$D!;OABJ,@DS*UV5
-MU=A<NI.&HF%MV=TVHT9SNL&U#:@$1*O4&.9!;Q[K(Z*W,MW5RG.W985G=EK@
-MT\[Y6Q:56N`,R%*U*DJ@`2H9<TR)^JM/TO@JL]L'(E94=2Y'I870MBP_Y+3.
-M!"YZDTOO6[P%T5`%M&0N67-9O;'\8--2E(_I_P!5B=&K%A,SV71==;JH'4N6
-M:UU*K.5O#BMV<.MZ96U$0>%J4CJ;PN;Z/<9`G*W;>HV`9)6S%8JLV<U'1JC`
-M(3M=Z1"&I3CU`+/3HM4W9PI'/&GC"J4:P@ZC":K6!PWE4V6H5KF-X*O4QB`J
-MW3Z`8TEW*M`9V69^6C%V0$;8(D'Z)B&XG=$&C<X0156M(((GA<YXEZ=K];1L
-MNG.^57O*8>V"-\+-QVNW#V-1U"KI=N/==!TZZ!8)/LJ/6[!K'ZX&%5L;G2^.
-MWNM2[<[-.JMZDG#L*SK$]UCV=QJY6C1>#C=-+*OL)+)E24CE5Z1ALD>TJ>B9
-M(SMP%&ED$$`;]T1_+,[**8*)YTL10T0'5YD8'=6JL0%7LBV22`K+&!SO]5EH
-M]"G!E7K6F&[0@HTP8PK--H:`"Y%AW`!D2H;HPS^RF>0!G?Y5.\)TQ/NJE0V@
-M'F&45P8YP5%9_F),[JQ<4R1A94%"M!A7:3FGZY654)IU([*S0J>D=RM)%NZT
-MZ3`&VZQ<&N8V6A7J$TX<#"S[9NJL7`*6+M:+](QPA_B-)DIBSDG'9`:8]\\J
-M@_XKD9A+^+&5`:?J@=^`F92`=D%-HE_BS)]TOXP\%0BG\I"D,%-B2I7J$1)4
-M%057XU8*L-:`$X89SB%-BF+5Q,.<?NJUW:`$20M8#95.H0"`2%=<`+:V:*(+
-M2?NC%)VTQ[RI:0!I8.GX3GL2DG`K.;4:3#DPJ/8W.1"M$#<J-S`>$1"VYP9'
-M$)V5Z9`(*9]$'X41M@#@P$1/K;O,<?*(D1CXW5*I2>T^DJ-[JH]U=C0])&-P
-MJ]_4;Y<$A5Q=N!R%6NZFL:M7W59J[TUQ<V.#LK-5I$$\JMTA[?*)F5,^H"Z)
-MPN<EJ7@)'I$3*0$"/JDXM/*0$N@25U:(0/E(029"<3&R=\#VQLH`>`#E4[PC
-M3."%8JN),-5&[<6X,JLUD=3J,;5!,?*Q.MW-.I48UI$K9ZM0UTBXN`PN.>QP
-MORTN)SS\J\:VQ]:A<!3EHX5.L_48$X/*G+O1`.0JCYUD"2K.D`[O,J"IVB.5
-M*^1&-U`_5L4$3AJV*C<V1!^BFB#(0P8@")4-J-TUVDDJOT9I-1T?NK=P?26@
-M1'NJG1!ING@_U83+HC1+0'$@9(SPA:UWY01'<<*<M'"B+PPGE`5*F!'8*.KD
-MD/E2,=$$2HG3K+CO\J0(-;`]2?2S_$G#C'"6H^R-</%;%\.&J"9V6HUPTR1(
-M&<&%B4*K34])(]IV6D:W\EK&B2XP(7:O*.U#]3ZS01G"T[.X!;H><^Z"@P,I
-M!@R.4C0TN)&^ZSTWI>)!@`(7,(4/3K@ZB'JW4#33F55BM6U:2T`'4%GO]%:)
-M(/Z+3=3BFXSNLRZ#6.)=R,+/TO2L[2ZL7N`[*\UC74X':!E5K>D#1U%NYY4U
-M":9`F0>2D$%9HHUO?=*K^77,%3WC&N]>F>ZJD#3I,P$5;L7M-,ZCQN%L]`J^
-M6S5.YY7-V=3^2X@''"U.EUY8`>/=;B1WG2K@$`D_9;UE5#V@E<3T:YD!DKI+
-M&X``$E+$Z;HIAX)8`3Q+E:M0^F1G!5+I]68]2U*+@6C"SIK:W;W`C2XY/NGJ
-MP&EP)4'D2-0W[H;ASVLT[GY6+56>F4O,?J$[K9HP*<3LJ'1O10]6>5/5KR=`
-MY7/&;J3M!U-IKO#&G"Q.K4-!CLNGMK>*9>[<[++ZQ;R#CZJUUTQNG5?+JPZ5
-MT=A5+V@`Q]5R[V^74Y"U>E7&(E=)S&.JZBW,B)'RIW?EG*S[-X+9F58K50QD
-M24TW*@OJ@;L<GCNFL&U''4Z8G9-1H&N\.=QW6A3IM:W"QW5UI.RHV!*G:X$S
-MC"IFG)D'V1`/:%6EL&3@I`D_TJNVH08E2,K-,@N@*:5*,"80U!(E(/9,RC.6
-MX<IH9?4:(>PXRN5ZA3\FXD8GW7:5@'",K`Z[:C27#CE2\%Y4^FW):()6S:5@
-M1)*Y6D]S'D=BM;I]>0`=EISZ=-;U1Y6\PK5JZ3LLFRJ2)F%HT*D[%--RKP=*
-M&L\!D3/U0-*&X+@WY45-8"3NM.U8/^ZSNEL<6:EJVH)B2/A9;6:;0.,A%(.$
-M&2-PD>$43^TRJMZ`*9(W5C;)A5;QTMP/F54J.Q:1)5MP!'!56RGZ*RXB5%5+
-MFE+I4+':7Z<J[6$@E4JC9=LB):S@:<3A06Y(>0"5)`TX(4-%T5HW,H+1[$2%
-M%IWR84CL9P4SLA`,`@;X]T@V$1_+,(3G?ZJFS?LD`",<).$#!320`-,('#<3
-MRD02(U$)]1_[II_W*!<PJ?41D9/RKA^BI]0R.?H4B4=MFF,(G1)R906CAY6D
-M.E&Z`Y(4Q)C!E-.=]TQP<[)$PJ$X1S^JC<Z793DF$$YRB$3G&2@JP3F/E$XB
-M20<J(DF<JA&FPB("I]0H-T^DB2KK=P)D>RK=1ANG/U1**RHFG0])*"X:\OU!
-M6*+HM1/*$9V"QC$O:G-5IR20=E+2KN&3LI7@")3M:TB0/NNF@S;@!LN3>=JF
-M(2JT6N,!/2HM`01OJ!K3/[JE5.H%Q..ZM7H#1M"P.M]290IEK'"0K)MFW2KX
-MEZ@RA;%K2"3[KF>G!U6H:A$F9RH^KW%:M5-1P,#Y1V5RT,R(E7.SB1B;[JV_
-M>0%`]I.VZD=7IEH@P9V4?FLF0X#W01OU<M]E&]LC;93RUSB%$\>J`0@A=CZJ
-M-X`._P!U-4B%"1G,HBM<!L8,E5>D0+I\DY/=6KD0<D#'94NED,OS/)^ZF72X
-M]M>L,X4)@G(W5BL0!$[Y5=\[?W1",QJ#20.?91U#J=+?DIR^&1_=1%X@D['&
-MZ*E#V`;):V=D#64M(EZ6BE_C4TKP6RJ.=4`)F.ZU^D5/-O9T@Z%SMN[RP3R-
-MY6OX5KZ*+]0`<YR]&GFRFG3T@-4G)]BIM&KLJ=M5)`/!PKE/5/=JPW+#OHX]
-M,`^R!M6HUVEPPIJ4M.43J9>W.Y4_XI$BJP1/NL[J@T-/I$*U4:^D^!.RI]4J
-M"H!3$R=PE4]L!_#"#S*CR:F&F%.&^4P-X]E6I:C7<9(XD8E/J?%QH#J<1,*G
-M<MBK$1*NT7'`.GZ*.[I"-8`^B56>WT%X!C'!16-=S>25#<G0YSCL@MW%M/;=
-M6,V.IZ+<D$23A=/8W&IH/*X7IMQI#9'RNBZ==MU-,_"T.WZ94=`),!;E"H"T
-M&5R72KEKFC,_5=%8U`6`YCY4L)6U;/DY".YA[QA5;1QU29A6:)UU`)GY7+.<
-M-;7A4;2MY<(1=+:*S]9.)5+J1)#6"<J_T2`P-DPL83:XS35T@-C@+.ZG3U`X
-M6HT`MB56Z@P%NTK5CK'(]0H^H]@JMI5\NL!)W6MU.D=1QA9%>F6U)3'AG*.D
-MZ;=`L!R/E60\UZX:#(Y7-VUWHI[Y6_T&IJ9YA,F5K),:VK9C6TX&X4A@;**@
-MZ1DB%)CV'PLNAJ3C)P5-3,NS*!C94C(X&%%%H8[?"B=0G,*8D:1.Z)H&TQ*:
-M7:J*;QWA-JJ,<1RK;?S1PG<QA&=PIH4W5C'K"H]3+'4CW*U*M%GL5G=4HC1$
-MH5S%W2TN+FF`FMZL8E7[RV=Y9F)6/6.A\'ORF-8KHNGW'I&5L658%H]4+D[&
-MKH`DX6[85P<`[JTE;U%TYD(;EY`B5#;O$?W37+QJ:)Y4^--KI##HR=^Q6G3`
-M')5'I&D41C)5X`D<J-Q)_3";.F9"'5"<ND(I.(D2Y5+XB-U8)Y@*C>D:A@JI
-M4]CLK#`W5E5[/##*DU2[!A9X5)5$[*K69ZIX4SW$Y`RA<)YA+5T@J,=C2J-=
-MYI5I<M72"V8(*R>M4\2-PB5<H50]LSA&X[$+(LJ^1.X6BUX>T=U;$E2@F#E-
-MQD)-&.4Q'ND4YC>4+R3]$VXG8)I;R@/)$(9XA,#`W3:H!$H@I/('LJO4/R8,
-M'MW5C5[_`'5;J1:&AP.?96)36GY.WPI`9)4-HX&EN4^J#`<2D*)YEVZ1SNY,
-M82;AI&Z!W;;H,3_FDXD&>4+B1F50G$`PA<(.^2FY]3D-0R\"9A$.YPVC/RJ-
-M\[4\-/W5RI@;Y6?=NU5P-XY3XB]3;_(!S]TB0#A$`?X<0<J!KH!!68E[/5?&
-MQ4;J^@`RFKNG?A5:ID:9D+H-%M]0T22)5.[ZU;T\%P^BR[NB]WY7D*A<=-UY
-M=4/W3<GQ-6_4W6>O"H=%&2?99++>K<O-2N70KK+"E2=,!Q]U,6^F-*>UR_Q-
-M2,'J]*FQS6!H3LLZ;J8AH4_5VS6;D8*F9I%,-VE+VDZ9=Q9-.Q`52M9N:8:Y
-MRVJNDC;E0N;JR)51CNIUV<DJ!U2LTD03[K:J#!("KOIM<"8V09;[N!F1"8W3
-M8,'"MW%!E1TD"57?9-),&$Z0-6HQP`+N.ZS*3VLZFP^_=6[FSJ`#2Y8M_3K4
-MKYICG<)>J8]NJK$%N^%"20W.RH-K5O*!T\*$WE0$M+<!2:*O/=+M(43H&)@#
-MW55E^#,H:]XS8X[JBTTG3N$\GN/NJU.O3+`0=T_G4^ZC3YZ-8L!#P<X"W>AN
-M:VBWM/)7-5W/\QI+0X.,#NMZPK^50:<^K@B/U7HG+AG/PZ?I]1KR`=S^BU6'
-M`$GZ+!Z56@@XSB5LVQ+@-UFLXK31G)4OJT@`?51")D'Z*3U&F`0LNAVL:\$N
-M"RKFBX7\TY<UJUFN#:3B<X5>PHE]$U';.*E(I/K-=Z9D]U&_\Y!,8[J2[H$5
-M"]@)X@*J'Q(,[[#9)R7<7;9N"=D;Y<PP@M]1$X@<*RP?R)0C#OV`%X))4-`@
-MTSDB%H=0IP"3&!A9MJ^:1)`P4B5<MWF=1,1PM6TN-+!!E8]"HUP,">P*FM*L
-M-`)6H1W71+@%C3JRNGZ;7D`2=UP'1K@!@`<NKZ;<-('JQW*U4=C0K&-P(5_I
-M7J.KLN>HUVB@!,:N5T/1V_\`I@[NN&<^&]KE=@(/[(NG.#'@2F+01NHZ/HJ@
-MY2<.K?H'4T$.2O6C3)W473ZC74\%3U1(D\)6XPNJ4SJE8E^P]ETO4J3BQ8=[
-M1,%PS"R5B7#GC=Q71^':Y\@#5^JYWJ3"!($?*T.AU7LIB7+<Y8Z=E;U3H`@*
-MQ3?Q*R+*L74A!_57Z#I$R5+&Y5T.,D`HV.D>RAIOYVA22`#.RC21CI.1A&3]
-ME#(#2`G:??;A%2B)WD]T61B?LHVD;''PI0#&%E35`",F0LZ_C6&@Y6C4.EA)
-M,?"S6M-6ZB9'=+T`KT/Y.DB5S/6;?2^=.W9=A480-IGE8O6:1F8GW4TE<W0J
-M:7Z286[TNJ"X96'>TRRIQ)W*L=)N0QX!=.5J<L7AV=J[4P#9$2'7+6JIT^XI
-MEDEPD[*>B[5=MC:4:CJNG@>0(_16@Z/8?*K63HH`@B5.YT`3"SIT@Y!'"37"
-M(.Z`NGLG<X"(0.3E9U[.H9(SPKU4R"!B%FW%2:H$B42KML?Y??W4X@"5!0D,
-M$%3[A2-!)$@`;)';;=(X$PD".<JAGF/3$K-ZN06F>RTA#L0L[K#0)D<=TB5E
-MT029&ZLV]32?4HNG`Y!;';*>NW2[5)3%*T:;Q(`.Z-L]BL^UK1)<-E=H5`6^
-MGE4V+3B?T0.W_P`U(_NHW$``P44B0-DP,`2GYG2?E"3/QV*B"+LQCZ*MU*#3
-M[J5[VXB(4%[4!I20K"HK7\ASGV1"=?S[J*T=Z20$;3)F$A4T3W*8$SC]4['"
-M"!PFD?EC!50GNRHW'NB>8X4;CE`_]/NHR9=(Y12W3N<(,.$Q]4`UC)A4:\&X
-M:-2NDR8./94;@`W(R$O2?6I3]5'_`#59PTO+295B@[TCD?917C3(.RG255KG
-M.ZK//T4UP02JM4B,GZ+:!JNE0U?R[?52$MX*BJ?EW05G_G3.YX1N#2<2FTG3
-MC[(C$ZP'><V))]U.S\C0[]$'6F36:[B<J4-'EB"E[2=(JS0.,%0_E=$?JK-1
-MH.)^JKU&@'4(A5$-4G6.Q05(R/V4E9DG&%$6DSW')05:V'C,IO3!AN2BKM^Q
-M0-CR\?4HB"N1.DC[+'ZV--9KNQ6PYLS[;+*ZX/3.K961%NW>U]%IC"CN:3)P
-M(!3=+<'6HD9/NBJ%PQJ6<>BH/(I%OY<_94[NU8X%TP>5>&3O!5>Z$-R95TLJ
-MJRU>&@-=A/\`PU3NK--P#``#]T^O_I6--OFRL\%U,F"),9D+2MJWE46%L25D
-M6]1QN00=4;85ZFXEY$@C<$8XRO5'/*.IZ74U071@\%=%T^JT;F5R/2JCF@`.
-M#F]PNAZ;6AVDY@;I7GG%;K2"V8B=BI'.@1S\JO0<2R(V"L`$MC$!8KK*K=2>
-M!1#`8<]7+-I9;@"1`*HN:;B_V]-,85^K+*9C'UW655(EQU?94.I4"'!S)$[K
-M3:T:9,2H7L\QV<II5.QKC4&ND'NKQ+0V=7YN52J4OYA#9!.93N<^G3:UYD=E
-M>V9P+J30ZF0YQ(CE8K612).-6(6W6+:EE+I$X*K.MVFF(:#"EFE[9MNXZH8V
-M#/)4VKR\.,_W356.%:`2)454D3[;95EVS9IL=)NF@`.)$''NNIZ1=%S!GE<!
-M85'-J`N,2<KI>F78:WTSGB5M([SIU<5+RE3F<_"[OIL-MPWO[KS+P54-QU$'
-MM&?NO2*#]+!G"XY<Y).UZFZ'$<_*&I$DSLH&U1JW4Q=J:3W2QVE6^E5G!Y#X
-M@+8IN!:N>MW0_!P%J6U:&Y,(W!7K)D1A9%]2(:0MUYUTYD!9G4&3(V^%FM.8
-MZC3_`)>)^JALJA#8$"%I=3H^@[8652@2!NK&*W^F7&T\\%;%G5U-B8"Y2WJN
-MIQN?<K8Z9<2(U#/NJDX;['[05,P@O$N,K/IOQCE6J+YRI8Z1;VA.P'^K*C![
-MYA3!T#&5+%@Y(_+*-I.2H@1DDR4GU-(.>%-+LUV^!'*"S9$N)RH*8\^MC(5Y
-MF`!P%+VLZ"Z<D<+/OJ)()B3[K1=(!Q\*L]FMI/"5'*]6H@2<>ZRV-#:@>.%T
-MW6;?4TB..%SMRPM?&PY4C-;_`$DEU$96G8!PO!/"Y[H%<L<&D@Y6[0K`74RM
-M:25V5J0&C/ZJ9SAI$K)MKN&`<*2I>0T;J.D:0?'^92U0-RL]MWJ$DS\)VW8`
-M[&47:]4?Z2>2%EUG?SQ.<J5]T`WU$?(6;4NVFY'J/Q*7I/K?H.EC<1W"E8X$
-M0-EG6UTT4]U-_%-VF%--;6R1`$?=)A$;[<*I_$9P04[:XTZIB.%=&UI[L@RJ
-M'5WRTP),*=UPSO)^50ZC4#FELB$D2U7LWB8Y*FJ-!!)&5#T\DY@*9S3D!T<J
-M155P(,S,%6[.K``,8455ON3[J%C]#@"K$:I,B1N@.(YRHJ521DJ02=R%*'J.
-MQ(,A1N,B>41`!.<>Z!T"2,2@!Y'!*@O'>C'&V5,\S_HH+LS2.\K42H+)X(R=
-MU8:9)AQSQPJ=G!,?NK3(F`T!2%2?TX3SP<2HW.(P-D[7%Q"H*3![*.I,P70B
-M).GM"#5ZT"QHW2,`1.R=WY=Q@(()!,R50!B2`250N#INACGNK9_,8(RJ-VXF
-MZ"EZ3ZTZ>6M]MD;B'TR"H6$!@/9%4=Z-RFMI5*X&DQ./=5JK3J@*W7`)SQNJ
-MS\XP4B17((.(0UL#<%2EHE1U&@B()(5$%)L@DC)3$>HC92AIG/V2+1N$1B];
-M!!F$5*'4`8"DZXTFB2,$#=5.F/#K>!CV5O;,$]PU>W)4=1@=&DX2=.J"(^$X
-M<-,;=E16KC)!W"AJ/AT$*6X/K.256J&0<Y50-8`D\*%H(YW4DRW<X4=9TNW@
-MC]5!#7(GB2L_K-+5;DM(VW5]SM39=NJUZ"ZV(/8K4[9O2ET5Y-H<G!4U:3_F
-MJG0W0]["=NY5JMB=2QCQPN78=+-BH+@SS@IV$Z\R@NL'2)GNK2!&D!/+5$TC
-M2,IY'=&]OF*PN'&H(VQ!E:UM5)=!B3@`KF[)W\SU8C8+8HU&G3!D`X*ZXW:9
-MQO\`37D/'OL/==)TZJ&!LC)W7*].<'56`20WE=!2>W0'$B=ENO-DZFTJ-=3W
-M`]E9?5TT"XC99O3Z@-,,]E)6>^K=T[<'$R5BS2XU>Z73_D:_5+E9KSH`.=\I
-M42&-T[`;IJH:XQE9TZ2A8!`!(PHJI]4@XYA2M`CDJ!Q]L<IH05/34QWR"BO@
-MVI0@-SNG?3#G2/U4=8PTMDQ""@ZMH:V@Z9)RKH>S6T2J-)@KWT$0&^ZFNFFE
-M6D"8@)WVR*]IM\T;*G=LTLD.$*[2+'TSJ'JW454!U,YSP5-::WMF$`D:'1W*
-MT^GW/I`:<=E1=1)!(`QRH:%7RFNP1GG8K4K%>G_A:\N]7_5]MUZ'YS=($PO+
-M?PGN`ZDYWO/[KNZEP=8.K[K&N7/&\MNA5EX$A7J#@6[_`%7/V-?.#]5KV521
-M\K5CO*N#TO!!*TK3348%F_F9A6.G57!\3CW6-?&]KSWN83,PH*SFU,X'=7G-
-M#V9"I7=+2/3LLUME=69%-T9`"Q6LF1L#WX6QU1Y%-P&)"SZ--II&3]D1")D@
-M&85JPK>7'=0-I%K^W*3AI=^:0KM'16MQJ8,G=7Z%3T8."N8L:Y;`U+9MJXC!
-MW5TLK8I/)&\_*F:Z,`X6?0J3_4K-*H8_-NHU*M:]B0J]W6]6D<IZM6&2J=`^
-M;6F<=E+=*T;*GIIB-^RL,&J)_=04G`"(RIFGTRI(HG-Q"C+8$QNCU"-TU0X`
-M[;(*%]2;I(.,+G.I6VDN&.ZZ>Y!..5D=3I&/RY42L2U(I58SA;W07BO<YSE8
-M56F6O[+:\&MFM(Y.ZK.G94:#-&R8T6]P5)1EH&?HD3G*CH`4&`P$G6LGF=U*
-M#&V2B=4,Q":%6M;PTP1`6;Y`_BP,F5LW+H9DY6?2<UUP$LX/JTRW@0W"-EL0
-M/4284K'8V1M,M@<*:Y57-)W'*847F<JV8W'=.".0J,^I1J#+3$*CU`O:"'2M
-MUQ]N%D]9@`DI$JK852&",JU_$M<<E5;-@T?*G--KR3D$I-B5M1N<X05=.X,R
-MHGL<T8G"!^L8""S2?I<`7`JVUP,$+*%2,D*S:UQB"G8OG2=RHJF"8,@H@X$"
-M#&-BHGX.#A`G$D08^JK7?Y#LIPX1NH:PP03NJ52LGCS")&.95L$`$%4*9T79
-M$B.ZMN</E(B0$3(.W=$"<F84(<)PI`09<1A4$T]T!,&?V1C#2-X4-4[CA0$7
-M%PPEO.$&J(A.W:`51'5Q*S;@D7329Q[+0J&'8_19UX?YX,0EZ1I4ZD,!A#<5
-M`QFZ&D\>4!^JBNAKIQRD2HVU=>=_JF/'<(;1GELR[/[J0C,I.C2*K@J,>H'(
-M"DJ\XCV40D"`(E4"X0XC.?JFJMC:8'=%$$H71O\`NB,_J@_E.!Y"Q^FU-+W-
-M@A;G4&!U,SD$+G+8Z.H$#<[JWIF=K]1LF<D]]U&\;QA3U`-*KN=N-R@@K@@C
-M]E5?CZJW7,;'(5-T$Y)PJ@7G8C`*"KR!(CNCJNTM`DPH7DO$DR0H(*IGC/=`
-M^#3/J@_*58;EI48.X=&1N%48E(MI=6+7.Y&/HM&JX3!V*S>I?R^JM>"`!RKE
-M9XJ-#@GVK>9"<8.3,(:KMYW"![W:#&Z!SG%GJ;!0@J8]`X3Q[H&5'!H&H?9/
-MYKO\0^RSPV^3`XT[@M(TP>2M*RJ!SA)&>52\04G6_57B``?=*TJG!C=:\>6X
-MZ>3%U73GAQ$'!,;K>L7:G""<87*=%KM:R9]<X706=RXU?-<07'?W7H[>/.<N
-MJZ97#1)XY6ET?34J/N"!DP(7,6%V_4*;1+G&,+JK!OE6[&`#(6,HQCVOM,D.
-MF$1F8*C;M,_1$VH($@D^RRZGJ8;@084+6@B2#[*2HYNF-C[J-KB[`B`H'8T!
-MWPHZU/T&<%2T"T3(_1-7V)SLFC;$M2?^(OC$=E=<[U$.$CNH+>F75GU=,294
-MCVN!![I.D#4ID-<YFT*NRH1NZ1[X6@W%#D^RJW5`-9J`(^BBJ]5H<):)![*I
-M>TM%)SHB1"TK<@M@`PFZC3#K5Y9G'"6Z339_"2MIH.&6GG]5VG\9J>?5/NN`
-M_#:6TCP5T3KDMNBV2IC=UQDYKJ>G7/JP2NCZ?5!I#,%<%TR['FAL[KK.DW&H
-M`+I8Z8UTMLZ`#RI@[34!&%1M:LQE7(!9@K%=8V;)X?2&4=5@.ZS>FU8=!,1P
-M5HNJ!M,PX+-;E87B"C+]`&5GFDZDP!TB.RV:X%>[WD!1WULTL,#(V)6-ZJZ8
-MU,MU[D^Y0W+9.,#N%+6I.IU%'4>-B<JHKTWEKA'ZK1LZX']1*RW`%^(^5/1>
-M0))B.RJ.AMJH+!ZE>H50(Y7.V=?.ZTZ%Q#-6T(LJ]>5Q.D&"5/T]NFG/<K)M
-MZHK7.^!RM>DX!D8@<RLWMJ+32`8V4S2(!!WX55CP#ONIJ3\YR/=54[7@C)RF
-MJ$`'8!#,F>>R3AJ.5`#H<W&96??4YY6D_`@!4[EH<TD[I1@WM(!T*[X/?IKG
-MY0W;!!D!'X7HD5R1W4G:.N95$9V(3FJ"0(5=H=M*(`$JM18UB,%(U"23(5=L
-MZ=TVH\<()+I\M(F`%0MW.-S@QE2W+SIG95+*3=:IE+T3MNL=#1'*?S.)5=A@
-M!$)F2@L:\&$XJ'`4'P$XE*HR\3@DA9G6'2KQ$YF%F=7B8!1*:P<?+A3:HB8P
-MJMD3HC]U*7>HSL/=2+5B01\I.`)[J)K]N$X=ZXVE4#4I`@Z5&T%IV*L.<2-T
-M'YO=30=M=^,?*=U8Z<@X2`;&=RC+&'$A!`;G,1]E&^X&))RI32;MA15*(&QE
-M7E%&YJQ<"(A6VO#VZEG=29IJ!P,0C8][:8$E/J-!CNY4S"2/[=UF,N8)#E:H
-MUPX`2J+<^D]U#5._!"<5!W4=4C:440=.Z?4)WV46J!$I!W(1!/P(&RS+V/-!
-M.RT:A=!!/T6=U&=8DCX3XE7J('E`C8>Z"H01&?NAMG?R(0ETG*3I:>(9)2ID
-M%N9"$N@1O\IFD:>RJ(ZL%Q`.$+\#L$3_`,RB>X]P40HR$U68PG),25$Z9,_<
-M((+PM\LCV7,51IZD-]UTET'%IPN:ZK++L.`"U>F?K5>6Z!C?NJ=4EM0S'PIJ
-M;II!P,JM>._F$@_5(@*I,F1NJQ$O#I/NCJ.)`,('.,1C*(:H6G$?JJ\Z26G8
-MJ6KC(,_"KU<9B?JFBH*NVD?=0L=O.$=PXD_YJN7DNW,!5&5UP@W#3SW5FG/E
-M`\_NJ?6S-P#LK5)W\EI:F7]B='.7GE)SF^7`@>RCJ.=(+HREK+A)<-ONI5A`
-MXPV0GD_X/T4)J'M/NF\P_P"%&]/G7\3K1U#J!JMD-/8KG+*J69:8E>A_B=:"
-MI0D4B33;F=I7FK*FG^61)#MYX7+"ZNG:?RQE;G3*HD#_`&%T?3JQ+6F3(W7)
-M=+K%WHG![E;_`$JX`IZ&G;D+UX7<T\_DCH>CU75>J-$X;P%VG3G.=I+CMC=<
-M'X8=_P"L<^",KL^F58TD#;NK7GO%;1(:R2!E%2;B8^O"AI.+QJ+I4K"XG$Y7
-M-T!4R3RFEL<[(JC2#O\`W4%0%KMP<HM6;4&#,`>R#J)T6QAVZ>D\Z(U3*@O'
-M:[BFP3[I4/2`;;-$"2)4-;43'?@*^YLB(&.RK5&Q6$;J=*B$M#02E=-'EF#&
-M%-4_F;B"%7N\-W)0X-94&NIG.4UV"V@\$3(X*DZ406D@G>([*W<40^V?,S&R
-MF71`^!7<D`;A7.O56T[X`'/RH/"-'RG2YI'9+Q93+*WF2N6-U8Y2?RJSTZZA
-M[7$C_-=?T"]&D9_5>:V]R0X=@NC\/7\.:"9GZ+TSE7IW3J^K25L4'@LCNN3Z
-M%<A])OJ"Z"SJC2#*QDWC6BTEKA&5.ZX.C1R52:^6$S$)K5X?=^HX!6-ND:ME
-M3:*>HSGNGN&G5Q$*6E&@:3'U2J@&9(E8UIT95U1#G$EJS+RA!."MVJP'_54+
-MQD-/)[*#`?-.MA&UVK\RN5K=KP21!Y5&LQS3`.`DK.DU-^G'NK#[K13^5G:_
-M?9-=51Y>J<^RW*E;O0JFHR5N,J;`F?A<GT"Y&@`GZRMVSKAS?[J:7;6ID!H,
-M$*Q3+0!*SJ3Q$R?E6:-2>?HHUM<8[U8^%)J(,JNUX.?V4DPV>Z*)[OJH*Y!,
-M']$;G=B@<&D&5!GWP]!PI?"P)J?7DJ'J`ACC)]D?AA^DR2D1T8P,Y'=$"-U&
-MRH"S@2A+@2(<C25[@,0@),GU0A<<ZB90%T$R=_=`-T_^61./=5.GNFYW$*2]
-M=_+F?N55Z:[^>2,Y5J3MNM.-T8=`_P!55UX&8]DFOG))459+S.\A)K^2?HH"
-M9P$.HPBK?F-R!CNLKJCLF"85DU#!S/LLSJ50_E,2JB2V>`TD291.?F05!;._
-MD[_5$TB?41)YV4@LM>0-YY1!\G=5R[:<)P[.=D$X?G=&Q\#C*KL>"-]D[70X
-M9^J;%EQ.-DB\]U"7\&8*<.X!_54$YY&9E`7DNVW35'@;G*&0[Z>ZNT5.HG.4
-MJ8'D[8_9-U+4!N82M_\`D`[J7L+RVDX*3:3ID(FN]4(VNAW"I`/UM[X4=2X<
-MP9G/Z*V#+5%5I-.[=]U!"VY$_P":E;<-)`U0H*M$<*$TG;#A!H>:TM]+I5/J
-M)`$G"B:VJUQSA0=2-9M/97:5I6;@:`)=$(7D`K/Z;<5?X>'`X[(GW1+O4DUH
-MJ\'`P#PA<3&VRJLNFZO[(S781C'=42U'2V3NHAOLA\YFG\WU0"H)W.564Q/I
-MRHJFQC"=U1L;J-[@6SJPFC:O=.,?(6!UO)+APMN]<TM*Q^K4]5J\YF%J,4/3
-MWZK82?LFN8`R0JW17_RBPG93W#?5CA9QZ6J[I`)[*%SR02IZ^&D[#LJCC)C[
-MK2#+@84%PYLD#[J7&DE4[N0=0VY0VCJ/F<3\JJ]Y#_S`2I7N)$@J"L?0851G
-M==)!#I,*2S?JM!_4>ZK=7ES/92=/(;:-!S\E3+N+.DI+6M)(CA"8%,$'"5:"
-MTXSPAI@^5I!!]U%@FM!;)A/H'M]T+#Z1A%/LHV\H\54&UZ%9KID-/RO)NK4'
-M4.I50T`M!R9VRO;.I4P]CG')CO@+R?Q[9NI]0>Z<3,1[KGGQE*O@O<9EKEH+
-M0=.X^%K=-K@4M((_NL*SJ/IO:`>^3PM2E6UR74Q(WC"[X7ZN4VZGPW6+*+<Y
-M)[KLNF5I#(F8_J*\]Z3<:'TFC`,;KL^A5?,8S(GWX7;6X\?DFJZJU?-,"02K
-M=-SM,`"/=9=C5@ADM='97J+IP=6T^RYV+C4U0GYA5ZF7C?\`S1N>[41OV3&2
-M3P2HT3JFEA."!N`HNG@5*KJAG?"#J-0TK8GDX1],+V6K=49[IVB_JVF=E%4$
-MG494EN\$?/":K),D;84L:B*W'J)WE07;7:S&/W5JF"!,;SRJU1NMSL\[H([3
-M4PYG)VA7GUO_`$;@,8YG"JZ((+)!XRGZA4<VQ?\`:5/B-3PPWT!\R2=T_C$.
-MQ!/J$84_A%O_`/3Z;].$WB!HJ5MH"XR<L8=N-+G,K$;*]TF]\NJV<0=Y4O5+
-M3^67,&0=UDO+J+@3E=\,ERCU#POU!II,SE=ATZNU[&Y7D/A;J1#V`E>A]!O=
-M=-I!6\HDKJC6#:;CJW]U'9U7&[!`QW6>^Y\RJVDV<K6LJ>B@)B>5RRNN(ZX_
-MEMVM<&G'>%8W&3/NLBUJZ7`$C_):-!VHCU+-CI*-S1I,`RJ=VQI?[_"O'/[*
-M"HT203)E8L:9=>FT$B"J=>CC;'*U+ML$@`RJU>GB2D1D7%N#)!R?T5&^8YM*
-M"86U780TJA?M#J#I'"L2JG3*^FGI!S^ZV>G78TCDA8%M3(!(5BA6-+>!E:E9
-MKK+6X!;DQ[*];U/2,Q*YCI]WL)_5:MI<:B#@_5+&I6W3J>H0<?*G;4`],E9M
-MM5'W4X?MWA9K6UPNU")W2<!I&?HH`_;(E23C915+JIBBXCA%X<8#!2ZEFFX1
-MB,INA/%,B-I4G:5MP(&3[HVPJXJ-/RB#C,3*TJ8]^/E!4,'>2A)!Q@%#4)V.
-M%-"O>F1OLJ_3?^;GNBOG>@J'I9]9DR9PK?B1L:A&_P`)M>(*B:XS&(A,>ZBI
-MVU1.Z(O:3,CO"JD'![^Z3@[28)E-B<OW,8Y63U:L-?I/*MR[;?V65U)SM>!R
-MK\%RS>?+!"F+O>51M"?*!,A2TZDNW*S%6'.)_IPEN,&"HW.!.1A#J'?'""P-
-M38!VB<J2F1_LJOYFWV3M.,F/JD-K#G.(QPD''<E1%_I@<)PZ!))5B)9D&4PD
-M'>9]U%YF-T@Z>51%U%WH*&S(\D9^B;J+OY1SCY4=B[^5OE*BP9!D)&0Z5&YW
-M\R9^B?428)Y06&ET`IY)89CWRHV.QI"9S^$#5=\)##8[H7G.#$IJ;G28*"5D
-M$[1]5%?-#J9D3[2B:XYXY0ULTR"58*E@QLN`:BK46.>3&>RCM'1=.!.)4]0R
-M3"D*K/H>J02F=0<6G=3EQ`"?4-)Y*ND4'4G`8)4(-459E7RX:C.Q*!S0'3CZ
-MHBD]]4&0#!*%U:H&Q!5\M#C^7Y05J8#<-'U5FRZ8M]<U!@@A4KJX+Z#A)V6Q
-M=TV$F0,]@J-S;,-)PTC/NM[K%8'3KK1=/;)WV)5\W;2(.ZSS;:>J1."5:K63
-MB-33"F]6GP5Q7'ED[PJ8JM+Y!W2K6]700"9A9U5M:F2-/RJC4+\&#]%!<P6D
-M@*@VXK,;$%*I?#\IY5@-[@UWJ^%#7<TCG&RB=<MU;IA<,=Z79^$T*76@TT-1
-M'R5'TFI_Z8MG"GZH6NMW1)"K=$$-<X1"F7PGU:.XSNG)]#C(PGU-=(+=D#IX
-M&#PI5AFL)$A/Y9]TFS&/W3Y_V5G<=7!7+8HF1@B=]EY_^(MJUU.H]HR.>Y7H
-M5=S2")XW7,^*K8U*%0;R)SPKY)N.'COKE'E#7Z*A:!B<%:%FX/8T["9A4^JT
-MO(O:E,-(@]]U-TYWY6C`:5,+N/7G&S1=H\J3G<05U7ARZ#FX<&D#OGA<E0@,
-M9]EK]*<:=1LM(;NO3A?CS>3'<>@]-JM--H[[S\+3M*Y+1,&-ES72;IKVL`)'
-MN5MT*LZ<[*6:>>72^QS#4DD[X4FN2!G[JJTOB8GLI2X8<=Q@SA8TZ2JW5'M?
-M=MI-<7'!(4U`C0&;`=E7HM-;J#JN(;C]58JC0>T_HH)Z=8!P`/U[JVW2ZGD;
-M+,HN+KAH)P5ITX-(-[CE6K#`'1@G_)02!4(GE6)`:0)PJE4^H_=1=I6YR3[R
-MHNJ`&R?C=34W32$MVPJ?6ZFBV&PEP^J6);PZ3PSZ.D4LQ#0._P!$_6&R0^9`
-MX1=!+?\`@E$[2T)^I#52U8@'"XSMQPO+.K-8^CI`XA<_URSECM.^\+HJ;'`C
-MW5>_HM-%T@+=_+O'+=(N'6U=K3JP<P5WWAOJ8\IIU;#NO/\`K5%UO<:Q@:E<
-MZ/U(TF-!='$CNNV%]HYY<5['X;J.KU14)!$KIJ-3,`_JN#\"WH-FPATF%UMK
-M5!`,Y.5BQO&_&I)#ICZA7;&K.'$`K+IO);$J:D_R^=NRPZ;;FK`G>$P@YG*J
-M6U<.&2(4X>"!$9]UG3<H*S=\!5JS);&`5<J9!RH7,$&=PLJSJ[0`=4+-ZCB@
-M[$>ZV;FFPZ@=BLKJ[!Y+@WZ*Q*SK.F8U`XF)1U*32XQ"EZ?2/D`]T=>G#HXX
-M1&<7NI'\V!Q"N6=X6ELF9S!45:D2Z`,E5JE/2[&",K4J5U%E=A])L'?]%HV]
-M66@3NN+M+MU&J`[8+>Z;?->&RX!+$E=`Q_$J859:/?A9M*J'`:73/96:3IS.
-MRPZ'OS-%P!E'TADT_A17#AY)4W29%(P0I!?;@'V1-=GE1S]$3=.)("JI(,S^
-MZ%QW#M]DY+8WW4;S`B1\H*G47``CE1],`UDCOPBZ@X!AR%%TQ_/<\*4:E-V)
-MTHO4<[*)CL"%(TXGNFC9.<`(Q/=$'PTB5&Z9G&$%28[JB34P-=.>ZR>JN:*G
-M;*OU'::1XX63U1\U0`('LH59MG#R0)&`DYWJWP5#1GRP,YY3N,.P3ME)2IQ4
-M'!^B37^M0%VT)B\@S@#A!:+AW3L><*&0<1N$F'2X23'RE%L.YF>Z;4`2?[JN
-M7^DQ*(/P)@H)=?`!^4=-X+<[RH`Y)K@,JANHP*9SB%'8QY>#LFZ@_P#DD$'Y
-M4=@[^6=]E:D67:B<NWPDTG5_=1ZCPGU'G=!8:Z`F+LG"A:21O"1=F.$$CC.[
-MH3<^ZCJ.Q]$U-V!`03TW2<(JQ;H,Y(P%`UWJE&[;O[*Q%`NB]B8DJVXR/251
-MNSINFD#G[JW3/\H.D!3Z?#N,L@1"83VR$!C48*1/JW6@-3#MDP,;Y0UIR2F9
-M')W[HB1Q`9@E0UZA((RC<<?N57>9G,951#6$_P!U4<!K<2..%:J`Y!.%#5RZ
-M08[JHP.JM\J^%08RKU-VN@UT3(W4/B.G_*\S<A-85&NLFP<A6][2='N)`('*
-MS;EDF3WV6E7/HQ]U0NYTG)A5*J&DPDM(F2H:UI3,X&5*\Z3@F9Y3N(?3+MHP
-MIH95U8AQ);QV51]K5:202#)@K8>88=,QRJ]1WJQVV5T;8M\VNRA4D$X5'I=W
-M4;4<#N"8"Z&[:W09SC*Q:%)C>H/$R'$J7>EG:9MV7&2WY4E&Z:1$[)A;L\QQ
-M@9PDVT&J1O\`NFUFEFFYI9.I%+?\85=ML^-T_P##/[K&W3U>?U'.IO`/T69>
-MO\T/#I@<+7T4WTGM>\-<!(QNLKJ5!\%P@#OV73_*\TT\X\;T!2Z@^IOJS[[K
-M*LVP!B#J6_XX:Y];.=(R>%S=*J]M00/RY/NN&/%T]TN\8WK<^EI<TNB%K6+V
-MN+3!(`[K"LJKG-`.0=BM;I]0Z@20(A>G&N&3I>FO+;A@:YP&"(."NBMKJ:@;
-M+=+<8*YKHU:=,P=(6E;^:UX>X`P9PMWAYLG46Q,B<M.1[)7]8,ID1I.V%1L;
-M@AK9,\917-8UKAK6F8=)@%8L)?BYTR6TA+8<[)5@@NR<SQV5:A5DP9AN%8ID
-MEATX6=-2HJ;=-WJ/!6C1,CZ+.>?YD.:<G>5=M7%D#@H;'6UBF2=O90522PQO
-M&P5BK4EL$*O6)R-(AR+L]&12C:5E^(7PRF`[=X!$;Y6C.BC)9!]C,K)O#YE7
-M46R`X1/=3+IFV.SZ"7'H]$$02!CA7*P+J7T5;H'_`.44]P(5UP::6VZY3MSP
-MJC5;#Q,#B945>D#D;=E<(!(&)35F12F1]%T=]N8Z[9BI,M&W*Y:Z;4MK@B3H
-M:X;KT"ZH!U-Q+<KENOV;2UX#2!*DOK5LE=/X#ZF&T:;=63&)7HG2[EKZ33(S
-M[KPSP[U#^'NPR'-CNO4_"M^*MNPZAMRNV4W'*<73MK>J(`!D[X4XJ$C$A9-K
-M7Q\8PKC*DLP9D+C765?H7!:[2=CRK]O5&D#NL4/`$SE6K.YAP`4:VU]6(E-N
-M#PH*+PX27$`YW4@>"["S6Y456F223A9G5VC0["U:SN%E]0<'5`SDE016E/3;
-M"!&.Z&H-1DC?=6PS32;.T0HG!H<?\TA5"HT:H`V]U7K,W)P>RT*K?48C?ZJ*
-MM3EL@_,J[33*?3.K41"*G6=3J`M5FK3(SLJSQ`WRK*EC9Z;?D:6..8W6S;7;
-M2!#IGW7&4ZFDB)'LK]M=EH&8@)4G#I;JN#2)D#ZJWTJN/(&09]UR]3J`>UK-
-M6^`MSI&;=N8E2\++MK^=VVV1LK>KC*H.<X")QV0FJ01+I4;:1JC$;]D+JA._
-M[J@;@-<&NJ-DG`E$:GJW'S*`>IU/1NAZ62*8,[E5NIU"6&"$73'N=2:`=^4J
-M1K4ZO!/ZHV5H'YC$JD"<P90&JX$RD%\5B[,H75M+M_NJ3*CBZ)PE5<X@Y&%5
-M7*E8%D;K'ZC7!J1/*F=4=P5FWM7^<)G!V4O2?6I0J#R1C]4G%N_'*K47#R@0
-M>)"/6",G=1I*7[ANZ1=&5`7PW!A(O^I518;5)[(M6TE56N``(")M01ML@N!P
-M@0=TXRV9"K!\B$8?!03AS28!D]D;2.3]%5UQSGV1!Y@[_P":H74'?RS$=H45
-MBXMIP"`=U'?/EARFLG2W$B$OPBTY\&-^4P=F4$CG?N@U0X[0B++7$'Y2>[B5
-M`U_<)R\[$G"HDJ.(;,IZ;QIB,PH''N8RE3)F)*@G#R3'',*<&6B`53U28W^B
-ME;4<&C*HK=5!:=4;*6SJAUL#]"HNI^JD>?[*'IK_`$P3LE2+-5^<?,RF:<@G
-M=!4(U'GV3-B-U055Q+C!PA!`;G=*<!,XB<G*(,/.G;<('@<G=(.`$S,>ZAJN
-M$$QE6%!4_.<X]U7J.;J)DQSE'4)+]XGA152V8G9:95.K--6T<`($8[E972GQ
-MKIG:=I6U<^J@0(_NL"B2SJ+VD[DI>CZOUI`(!PJ542\R(5QS<;Y*IW1C$F=E
-M652NS\QF>5%2=#H.WRK#SCW5:!)SLBCK-;HB9"INC.^^59>3IWSL0H:[=+"1
-M^Z(K5(/YLK)NJIHWIIZ1I>9)T@G[Q*UZPEL3GV67UNBXT!4$XSNEG&EG%3R"
-MT%G92VY)!(WXA4[.MKMF'^IHC=3VKH):5)>%URL!S>93ZF^ZCAO8E*&]BG#;
-MSU].##9PH:E%AR>-YQ*NG<J/AWPFWGLURX7Q'T]MS6N',88:#.%PUQ;BG7<U
-MP.Y^B]-J?^WN_P#\2\_ZO_[I_P`KCEQD]OBN\0].AKH)P1NM6T(UM:`2%E6W
-MYA\K4L_R!=I4LVZ3HWDMI:P7:B(&<#Y6[TP4_+&LDEQX,RL#I7Y`NCZ?_P`T
-M?"Z6O)FN>7%+6#('TE0=*+_.?4<##R0`<PKM/_V[_A5+7_V_W6-\Z9G3086B
-M7%P@[@*]9AKFB(G>5E'\K?A:5CO]%?B]4]=O\V3NK%$0S)GLJ];=6:/Y6_19
-MC6^3U`00.Z3@=6G.VZ=WYDF_\QORFC?*&^;IHR"1'M*RJM)PI"I/YGXE:W5/
-M^0LZO_[+_P#&%G*_$RX==T)I;TFG)G&5=R:>TJGT7_\`+6?`_966;!8P[KEC
-M"PT^Y4PIZJ$]U!5W5NG_`,KZ+HZJ5:B13.096%U2U+R8`RNDK?\`*/RLFZV*
-MS>G2.#ZO;.MK[S`3`,KJO!?5X;387Q[2L+Q9_P"X8@\'?\_ZKKX[PQGC]>Q=
-M&O&U*;3KS&RV:%0:1ZOU7(^'/RM736WY&K.4Y7%?U%WI_9)KG-=$_5#;[!)_
-MY'+G6XT+2O,`NV]U=8_TR#ORL:WV/PM*A_R6I5B6I4'EJA3FK>DQLK5S_P`L
-MJ/IGYS\KG;J-3E.6C1![1"@>V1&_NK+]C\J`_F5-*[VD/.,;[H'@.:0)^B.X
-M_*F=_P`GZ(:5*U,M!Q/RJE5AR5H5/RGZ*H[^KZIM*I5&&<843JKV'NK=;\BI
-MW'YEK:6!97?_`!5/W*[/I%QIM&#&RX1O_O&?*Z[IO_MF_16I.&UYX+2F+F$`
-MJK3_`.2/E)OY?J5C36UN*<C(U)Y^L*&G^9ORB'YOJ4L:5;]I<TY.^REZ;(IY
-M,*.[Y16FP^%/HO!TXGZI1G*C9^<IV[JU(,``R("8D:D)V1'<?"BHZ\"7+%O7
-M`W7"V7_E6#=?^^<K>D^K]*I#!&Z/63_4HJ?_`"_HC;^8_`5THR\8@)]<[2@&
-M[OA*EL4T"-4#&X"0>.^_91'_`)A3MW;\J"PUY`B81!Y.02H'?\M'0V^B"5KB
-M#*E;4QO!]E`/S?1,W<J]ANH/&G=/TXQ3,S]5!>?F^BDZ?^1+\2+#R4QC5,IG
-M[_5#4_YGV5@<.`,GZ(I,@]U$/^8%,>/HJD,YQWDIVNS$H*WY/JDS\P45('>K
-M!PI`YI&V-L*!OYDXW*J&OS%$MD0JG3':JQ$JS=_^V<J?2_\`W04I%UY_F8(3
-M.=&1V2J_G*&K_P`L*@P_T=IY0.B<F)3-_($]7=JJ%,"%%5<'-@2"B?\`D4#O
-MS'X50%0D=_E!4=+4]3\H^4Q_*541.,MX*P.I`T>HM?L"<RM]NRP_$G_-^H5^
-M)]6`Z6`MSB5%<`NSS"*V_P#;,^$U;=2=(IOB8^JJ/<6U<#G=6G_\PJI=_F"T
-MARYK21.ZA<09`4K?Z5'<_D*;57J-QMD=U!<L\R@ZF>5/PAY*#%LIIWCJ)(`)
-I("O4!#X(DJA<_P#YE_\`B6G2_P">U9ZNFXE:#I_,$^EW^,*4;)(T_]EK
-`
-end
-
-
diff --git a/rt/lib/t/data/rt-send-cc b/rt/lib/t/data/rt-send-cc
deleted file mode 100644 (file)
index da8c4da..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-From: rt@example.com
-subject: testing send-cc headers
-RT-Send-Cc: this-is-a-sample-test1e@example.com, second-this-is-a-sample-test2@example.com,  test-sample-sample-sample-test3@example.com,
-    afourthtest4@example.com,
- test5@example.com
diff --git a/rt/lib/t/data/russian-subject-no-content-type b/rt/lib/t/data/russian-subject-no-content-type
deleted file mode 100644 (file)
index 03d95b8..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-Return-Path: <mitya@fling-wing.example.com>
-X-Real-To: <mitya@second.example.com>
-Received: from [194.87.5.31] (HELO sinbin.example.com)
-  by cgp.second.example.com (CommuniGate Pro SMTP 4.0.5/D)
-  with ESMTP-TLS id 69661026 for mitya@second.example.com; Wed, 18 Jun 2003 11:14:49 +0400
-Received: (from daemon@localhost)
-       by sinbin.example.com (8.12.8/8.11.6) id h5I7EfOj096595
-       for mitya@second.example.com; Wed, 18 Jun 2003 11:14:41 +0400 (MSD)
-       (envelope-from mitya@fling-wing.example.com)
-Received: from example.com by sinbin.example.com with ESMTP id h5I7Ee8K096580;
-       (8.12.9/D) Wed, 18 Jun 2003 11:14:40 +0400 (MSD)
-X-Real-To: <mitya@second.example.com>
-Received: from [194.87.0.31] (HELO mail.example.com)
-  by example.com (CommuniGate Pro SMTP 4.1b7/D)
-  with ESMTP id 76217696 for mitya@example.com; Wed, 18 Jun 2003 11:14:40 +0400
-Received: by mail.example.com (CommuniGate Pro PIPE 4.1b7/D)
-  with PIPE id 63920083; Wed, 18 Jun 2003 11:14:40 +0400
-Received: from [194.87.5.69] (HELO fling-wing.example.com)
-  by mail.example.com (CommuniGate Pro SMTP 4.1b7/D)
-  with ESMTP-TLS id 63920055 for mitya@example.com; Wed, 18 Jun 2003 11:14:38 +0400
-Received: from fling-wing.example.com (localhost [127.0.0.1])
-       by fling-wing.example.com (8.12.9/8.12.6) with ESMTP id h5I7Ec5R000153
-       for <mitya@example.com>; Wed, 18 Jun 2003 11:14:38 +0400 (MSD)
-       (envelope-from mitya@fling-wing.example.com)
-Received: (from mitya@localhost)
-       by fling-wing.example.com (8.12.9/8.12.6/Submit) id h5I7Ec0J000152
-       for mitya@example.com; Wed, 18 Jun 2003 11:14:38 +0400 (MSD)
-Date: Wed, 18 Jun 2003 11:14:38 +0400 (MSD)
-From: "Dmitry S. Sivachenko" <mitya@fling-wing.example.com>
-Message-Id: <200306180714.h5I7Ec0J000152@fling-wing.example.com>
-To: mitya@example.com
-Subject: ÔÅÓÔ ÔÅÓÔ
-X-Spam-Checker-Version: SpamAssassin 2.60-cvs-mail.demos (1.193-2003-06-13-exp)
-X-Spam-Level: +
-X-Spam-Status: No, hits=1.0 required=5.0 tests=SUBJ_ILLEGAL_CHARS autolearn=no
-       version=2.60-cvs-mail.demos
-X-Spam-Report: * SUBJ_ILLEGAL_CHARS  1.0 (Subject contains too many raw illegal characters)
-       
-Content-Length: 6
-
-ôåóô
-
diff --git a/rt/lib/t/data/text-html-in-russian b/rt/lib/t/data/text-html-in-russian
deleted file mode 100644 (file)
index b965b1b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-From rickt@other-example.com  Tue Jun 17 20:39:13 2003
-Return-Path: <rickt@other-example.com>
-X-Original-To: info
-Delivered-To: mitya@vh.example.com
-Received: from example.com (mx.example.com [194.87.0.32])
-       by vh.example.com (Postfix) with ESMTP id 8D77B16E6BD
-       for <info>; Tue, 17 Jun 2003 20:39:05 +0400 (MSD)
-Received: from hotline@example.com
-  by example.com (CommuniGate Pro GROUP 4.1b7/D)
-  with GROUP id 76033026; Tue, 17 Jun 2003 20:38:00 +0400
-Received: by example.com (CommuniGate Pro PIPE 4.1b7/D)
-  with PIPE id 76033052; Tue, 17 Jun 2003 20:38:00 +0400
-Received: from [217.132.49.75] (HELO compuserve.com)
-  by example.com (CommuniGate Pro SMTP 4.1b7/D)
-  with SMTP id 76032971 for info@example.com; Tue, 17 Jun 2003 20:37:41 +0400
-Date: Wed, 18 Jun 2003 01:41:01 +0000
-From: Ó÷åáíûé Öåíòð <rickt@other-example.com>
-Subject: Ïðèãëàøàåì ðóêîâîäèòåëÿ, íà÷àëüíèêîâ ïîäðàçäåëåíèé íà òðåíèíã                                                         YXLWLJ3LPT9UHuLyGTzyuKQc06eIZ96Y6RVTCZFt
-To: Info <info@example.com>
-References: <0ID97EGL951H1907@example.com>
-In-Reply-To: <0ID97EGL951H1907@example.com>
-Message-ID: <HDE46LIK8GGJJ72I@other-example.com>
-MIME-Version: 1.0
-Content-Type: text/html; charset=Windows-1251
-Content-Transfer-Encoding: 8bit
-X-Spam-Flag: YES
-X-Spam-Checker-Version: SpamAssassin 2.60-cvs-jumbo.demos (1.190-2003-06-01-exp)
-X-Spam-Level: ++++++++++++++
-X-Spam-Status: Yes, hits=14.9 required=5.0 tests=BAYES_99,DATE_IN_FUTURE_06_12
-       FROM_ILLEGAL_CHARS,HTML_10_20,HTML_FONTCOLOR_UNKNOWN,HTML_FONT_BIG
-       MIME_HTML_ONLY,RCVD_IN_NJABL,SUBJ_HAS_SPACES,SUBJ_HAS_UNIQ_ID
-       SUBJ_ILLEGAL_CHARS autolearn=no version=2.60-cvs-jumbo.demos
-X-Spam-Report: 14.9 points, 5.0 required;
-       *  2.3 -- Subject contains lots of white space
-       *  1.0 -- BODY: HTML font color is unknown to us
-       *  0.3 -- BODY: FONT Size +2 and up or 3 and up
-                 [score: 1.0000]
-       *  2.8 -- BODY: Bayesian classifier spam probability is 99 to 100%
-       *  1.0 -- BODY: Message is 10% to 20% HTML
-       *  1.0 -- From contains too many raw illegal characters
-       *  1.0 -- Subject contains a unique ID
-       *  1.0 -- Subject contains too many raw illegal characters
-       *  1.2 -- Date: is 6 to 12 hours after Received: date
-                 [217.132.49.75 listed in dnsbl.njabl.org]
-       *  1.2 -- RBL: Received via a relay in dnsbl.njabl.org
-       *  2.0 -- Message only has text/html MIME parts
-Status: RO
-Content-Length: 2743
-Lines: 36
-
-<html><body><basefont face="times new roman, times, serif" size="2">
-<center>Ó÷eáíûé Öeíòp "ÊÀÄÐÛ ÄÅËÎÂÎÃΠÌÈÐÀ" ïpèãëaøaeò ía òpeíèíã:<br>
-<font size="5"><b>ÌÎÒÈÂÀÖÈß ÊÀÊ ÈÍÑÒÐÓÌÅÍÒ ÓÏÐÀÂËÅÍÈß ÏÅÐÑÎÍÀËÎÌ</b></font><br>
-<font color="red"><b>19 èþíÿ 2003 ã.</b></font><br>
-<b><i>Òpeíèíã ïpeäíaçía÷eí äëÿ âûcøeão è cpeäíeão óïpaâëeí÷ecêoão ïepcoíaëa.</i></b><br></center><br>
-<p align="justify"><b>Òpeíep: Áopìoòoâ Ïaâeë.</b> Ïpaêòè÷ecêèé ïcèõoëoã, oïûò paáoòû áoëee 10 ëeò â oáëacòè ïcèõoëoãèè è áèçíec-òpeíèíãoâ. Àâòop pÿäa ïóáëèêaöèé è ìeòoäè÷ecêèõ ïocoáèé paçëè÷íûõ íaïpaâëeíèé ïcèõoëoãèè, â òoì ÷ècëe: \93Òeõíoëoãèÿ äeëoâoão oáùeíèÿ\94\93Òeõíèêè è ïpèeìû ýôôeêòèâíûõ ïepeãoâopoâ\94\93Ñòpaòeãèè ôopìèpoâaíèÿ êopïopaòèâíoão èìèäæa\94 è äp. Çaêoí÷èë ËÃÓ ôaêóëüòeò coöèaëüíoé ïcèõoëoãèè, Ðoccèécêóþ Àêaäeìèþ ãocóäapcòâeííoé cëóæáû ïpè Ïpeçèäeíòe ÐÔ, êópcû MBA.<br><br>
-<b><u>Öeëè òpeíèíãa:</u></b><br>
-1. Îcâoèòü ïpèeìû óïpaâëeíèÿ ìoòèâaöèeé;<br>
-2. Ïoëó÷èòü ïpaêòè÷ecêèe íaâûêè ìoòèâaöèè ïepcoíaëa ê paáoòe;<br>
-3. Îcâoèòü ocíoâíûe íaâûêè êoìaíäooápaçoâaíèÿ;<br>
-4. Îâëaäeòü ïpaêòè÷ecêèìè ìeòoäaìè coçäaíèÿ è ócèëeíèÿ paáo÷eé ìoòèâaöèè, êoìaíäooápaçoâaíèÿ.<br><br>
-<b><u>Çaäa÷è òpeíèíãa:</u></b><br>
-&nbsp;- Îcâoèòü ìeòoäû ïoáóæäeíèÿ äpóãèõ ëþäeé ê âûïoëíeíèþ oïpeäeëeííoé äeÿòeëüíocòè;<br>
-&nbsp;- Íaó÷èòücÿ íaïpaâëÿòü ïoáóæäeíèÿ coòpóäíèêoâ â cooòâeòcòâèe c çaäa÷aìè opãaíèçaöèè.<br><br>
-<b><u>Ñoäepæaíèe ïpoãpaììû:</u></b><br>
-<b>I. Ìaòepèaëüíûe è íeìaòepèaëüíûe ôopìû ìoòèâaöèè:</b><br>
-1. Ìecòo è poëü ìoòèâaöèè â óïpaâëeíèè ïepcoíaëoì;<br>
-2. Ïpaêòèêa óïpaâëeíèÿ opãaíèçaöèÿìè.<br>
-<b>II. Ïpaêòè÷ecêoe ïpèìeíeíèe ìoòèâaöèè â óïpaâëeíèè ïepcoíaëoì:</b><br>
-1. Àíòèìoòèâèpóþùèe pacïopÿæeíèÿ;<br>
-2. Ìoòèâaöèÿ è oöeíêa äeÿòeëüíocòè (poëü aòòecòaöèè coòpóäíèêoâ);<br>
-3. Ìoòèâaöèÿ è ïpaêòèêa íaêaçaíèé.<br><br>
-<b><u> çaâepøeíèè ïpoãpaììû ó÷acòíèêè cìoãóò:</u></b><br>
-1. Îpèeíòèpoâaòü coòpóäíèêoâ ía äocòèæeíèe oïpeäeëeííoão peçóëüòaòa;<br>
-2. Îâëaäeòü íeoáõoäèìûìè íaâûêaìè óïpaâëeíèÿ ìoòèâaöèeé ïepcoíaëa;<br>
-3. Ïpèìeíÿòü ïoëó÷eííûe çíaíèÿ â ïpaêòèêe óïpaâëeíèÿ ïepcoíaëoì;<br>
-4. Îïpeäeëÿòü èíäèâèäóaëüíûe ocoáeííocòè (ïpeäïo÷òeíèÿ) ìoòèâaöèè coòpóäíèêoâ â opãaíèçaöèè.<br>
-<i> õoäe òpeíèíãa ècïoëüçóeòcÿ paáo÷èé è cïpaâo÷íûé ìaòepèaë ïo ìoòèâaöèè è còèìóëèpoâaíèþ ïepcoíaëa poccèécêèõ êoìïaíèé. Ïo oêoí÷aíèè âûäaeòcÿ cepòèôèêaò.</i><br><br>
-<center>Ïpoäoëæèòeëüíocòü: 1 äeíü, 8 ÷acoâ (äâa ïepepûâa, oáeä)<br>
-<b>Ñòoèìocòü ó÷acòèÿ: 4 700 póáëeé áeç ÍÄÑ.</b><br>
-921-5862, 928-4156, 928-4200, 928-5321</center><br>
-<font size=1>  Åcëè èíôopìaöèÿ ïoäoáíoão poäa Âac íe èíòepecóeò è ïo äpóãèì âoïpocaì - ïèøèòe:  <a href="mailto:motiv@mailje.nl">seminar</a></font>
-<br><font size="1" color="#ffffff">3ZkRPb60QBbiHef1IRVl</font>
-</body></html>
-
-
-
diff --git a/rt/lib/t/data/text-html-with-umlaut b/rt/lib/t/data/text-html-with-umlaut
deleted file mode 100644 (file)
index 90e5d3f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Return-Path: <gst@example.com>
-Delivered-To: j@pallas.eruditorum.org
-Received: from vis.example.com (vis.example.com [212.68.68.251])
-       by pallas.eruditorum.org (Postfix) with SMTP id 59236111C3
-       for <jesse@example.com>; Thu, 12 Jun 2003 02:14:44 -0400 (EDT)
-Received: (qmail 29541 invoked by uid 502); 12 Jun 2003 06:14:42 -0000
-Received: from sivd.example.com (HELO example.com) (192.168.42.1)
-  by 192.168.42.42 with SMTP; 12 Jun 2003 06:14:42 -0000
-Received: received from 172.20.72.174 by odie.example.com; Thu, 12 Jun 2003 08:14:27 +0200
-Received: by mailserver.example.com with Internet Mail Service (5.5.2653.19) id <LJSB7T54>; Thu, 12 Jun 2003 08:14:39 +0200
-Message-ID: <50362EC956CBD411A339009027F6257E013DD495@mailserver.example.com>
-Date: Thu, 12 Jun 2003 08:14:39 +0200
-From: "Stever, Gregor" <gst@example.com>
-MIME-Version: 1.0
-X-Mailer: Internet Mail Service (5.5.2653.19)
-To: "'jesse@example.com'" <jesse@example.com>
-Subject: An example of mail containing text-html with an umlaut in the content
-Date: Thu, 12 Jun 2003 08:14:39 +0200
-Content-Type: text/html;
-       charset="iso-8859-1"
-Content-Transfer-Encoding: quoted-printable
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML><HEAD>
-<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
-1">
-
-
-<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
-<BODY>
-<DIV><FONT face=3DArial><FONT size=3D2>Hello,<BR><BR>ist this kind of Messa=
-ges, that=20
-causes rt to crash.<BR><BR>Mit freundlichen Gr=FC=DFen<BR>Gregor=20
-Stever&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^^causes Error<SPAN=20
-class=3D975501206-12062003>!!</SPAN></FONT></FONT></DIV></BODY></HTML>
diff --git a/rt/lib/t/regression/01ticket_link_searching.t b/rt/lib/t/regression/01ticket_link_searching.t
deleted file mode 100644 (file)
index 6d10221..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-#!/usr/bin/perl -w
-
-use Test::More tests => 25;
-use strict;
-use RT;
-
-# Load the config file
-RT::LoadConfig();
-
-#Connect to the database and get RT::SystemUser and RT::Nobody loaded
-RT::Init();
-
-#Get the current user all loaded
-my $CurrentUser = $RT::SystemUser;
-
-my $queue = new RT::Queue($CurrentUser);
-$queue->Load('General') || Abort(loc("Queue could not be loaded."));
-
-my $child_ticket = new RT::Ticket( $CurrentUser );
-
-my ( $childid ) = $child_ticket->Create
-    ( Subject => 'test child',
-      Queue => $queue->Id);
-
-ok($childid != 0);
-
-my $parent_ticket = new RT::Ticket( $CurrentUser );
-
-my ( $parentid ) = $parent_ticket->Create
-    ( Subject => 'test parent',
-      Children => [$childid],
-      Queue => $queue->Id);
-
-ok($parentid != 0, "We created a parent ticket");
-
-my $Collection = RT::Tickets->new($CurrentUser);
-$Collection->LimitMemberOf ($parentid);
-
-ok ($Collection->First);
-is ($Collection->First->id, $childid, "We found the collection of all children of $parentid with Limit");
-is($Collection->Count,1, "We found only one result");
-
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->FromSQL( "MemberOf =  $parentid");
-is ($Collection->First->id, $childid, "We found the collection of all children of $parentid with TicketSQL");
-is($Collection->Count,1, "We found only one result");
-
-
-
-
-
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->LimitHasMember ($childid);
-
-ok ($Collection->First);
-is ($Collection->First->id, $parentid, "We found the collection of all parents of $childid with Limit");
-is($Collection->Count,1, "We found only one result");
-
-
-
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->FromSQL("HasMember = $childid");
-
-ok ($Collection->First);
-is ($Collection->First->id, $parentid, "We found the collection of all parents of $childid with TicketSQL");
-is($Collection->Count,1, "We found only one result");
-
-
-
-# Now we find a collection of all the tickets which have no members. they should have no children.
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->LimitHasMember('');
-# must contain child; must not contain parent
-my %has;
-while (my $t = $Collection->Next) {
-    ++$has{$t->id};
-}
-ok ($has{$childid} , "The collection has our child - $childid");
-ok( !$has{$parentid}, "The collection doesn't have our parent - $parentid");
-
-
-
-
-# Now we find a collection of all the tickets which are not members of anything. they should have no parents.
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->LimitMemberOf('');
-# must contain parent; must not contain child
-%has = ();
-while (my $t = $Collection->Next) {
-    ++$has{$t->id};
-}
-ok ($has{$parentid} , "The collection has our parent - $parentid");
-ok( !$has{$childid}, "The collection doesn't have our child - $childid");
-
-
-#  Do it all over with TicketSQL
-#
-
-
-
-# Now we find a collection of all the tickets which have no members. they should have no children.
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->FromSQL ("HasMember IS NULL");
-# must contain parent; must not contain child
- %has = ();
-while (my $t = $Collection->Next) {
-    ++$has{$t->id};
-}
-ok (!$has{$parentid} , "The collection doesn't have our parent - $parentid");
-ok( $has{$childid}, "The collection has our child - $childid");
-
-
-# Now we find a collection of all the tickets which have no members. they should have no children.
-# Alternate syntax
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->FromSQL ("HasMember = ''");
-# must contain parent; must not contain child
- %has = ();
-while (my $t = $Collection->Next) {
-    ++$has{$t->id};
-}
-ok (!$has{$parentid} , "The collection doesn't have our parent - $parentid");
-ok( $has{$childid}, "The collection has our child - $childid");
-
-
-
-# Now we find a collection of all the tickets which are not members of anything. they should have no parents.
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->FromSQL("MemberOf IS NULL");
-# must not  contain parent; must contain parent
-%has = ();
-while (my $t = $Collection->Next) {
-    ++$has{$t->id};
-}
-ok ($has{$parentid} , "The collection has our parent - $parentid");
-ok(!$has{$childid}, "The collection doesn't have our child - $childid");
-
-
-# Now we find a collection of all the tickets which are not members of anything. they should have no parents.
-$Collection = RT::Tickets->new($CurrentUser);
-$Collection->FromSQL("MemberOf = ''");
-# must not  contain parent; must contain parent
-%has = ();
-while (my $t = $Collection->Next) {
-    ++$has{$t->id};
-}
-ok ($has{$parentid} , "The collection has our parent - $parentid");
-ok(!$has{$childid}, "The collection doesn't have our child - $childid");
-
-
-
-
-1;
-
-
diff --git a/rt/lib/t/regression/02basic_web.t b/rt/lib/t/regression/02basic_web.t
deleted file mode 100644 (file)
index d3376d0..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use Test::More tests => 17;
-use WWW::Mechanize;
-use HTTP::Request::Common;
-use HTTP::Cookies;
-use LWP;
-use Encode;
-
-my $cookie_jar = HTTP::Cookies->new;
-my $agent = WWW::Mechanize->new();
-
-# give the agent a place to stash the cookies
-
-$agent->cookie_jar($cookie_jar);
-
-use RT;
-RT::LoadConfig;
-
-# get the top page
-my $url = $RT::WebURL;
-$agent->get($url);
-
-is ($agent->{'status'}, 200, "Loaded a page");
-
-
-# {{{ test a login
-
-# follow the link marked "Login"
-
-ok($agent->{form}->find_input('user'));
-
-ok($agent->{form}->find_input('pass'));
-ok ($agent->{'content'} =~ /username:/i);
-$agent->field( 'user' => 'root' );
-$agent->field( 'pass' => 'password' );
-# the field isn't named, so we have to click link 0
-$agent->click(0);
-is($agent->{'status'}, 200, "Fetched the page ok");
-ok( $agent->{'content'} =~ /Logout/i, "Found a logout link");
-
-
-
-$agent->get($url."Ticket/Create.html?Queue=1");
-is ($agent->{'status'}, 200, "Loaded Create.html");
-$agent->form(3);
-# Start with a string containing characters in latin1
-my $string = "I18N Web Testing æøå";
-Encode::from_to($string, 'iso-8859-1', 'utf8');
-$agent->field('Subject' => "Ticket with utf8 body");
-$agent->field('Content' => $string);
-ok($agent->submit(), "Created new ticket with $string as Content");
-ok( $agent->{'content'} =~ qr{$string} , "Found the content");
-$agent->get($url."Ticket/Create.html?Queue=1");
-is ($agent->{'status'}, 200, "Loaded Create.html");
-$agent->form(3);
-# Start with a string containing characters in latin1
-my $string = "I18N Web Testing æøå";
-Encode::from_to($string, 'iso-8859-1', 'utf8');
-$agent->field('Subject' => $string);
-$agent->field('Content' => "Ticket with utf8 subject");
-ok($agent->submit(), "Created new ticket with $string as Subject");
-
-ok( $agent->{'content'} =~ qr{$string} , "Found the content");
-
-
-
-# }}}
-
-# {{{ Query Builder tests
-
-my $response = $agent->get($url."Search/Build.html");
-ok( $response->is_success, "Fetched " . $url."Search/Build.html" );
-
-# Parsing TicketSQL
-#
-# Adding items
-
-# set the first value
-ok($agent->form_name('BuildQuery'));
-$agent->field("AttachmentField", "Subject");
-$agent->field("AttachmentOp", "LIKE");
-$agent->field("ValueOfAttachment", "aaa");
-$agent->submit();
-
-# set the next value
-ok($agent->form_name('BuildQuery'));
-$agent->field("AttachmentField", "Subject");
-$agent->field("AttachmentOp", "LIKE");
-$agent->field("ValueOfAttachment", "bbb");
-$agent->submit();
-
-ok($agent->form_name('BuildQuery'));
-
-# get the query
-my $query = $agent->current_form->find_input("Query")->value;
-# strip whitespace from ends
-$query =~ s/^\s*//g;
-$query =~ s/\s*$//g;
-
-# collapse other whitespace
-$query =~ s/\s+/ /g;
-
-is ($query, "Subject LIKE 'aaa' AND Subject LIKE 'bbb'");
-
-# - new items go one level down
-# - add items at currently selected level
-# - if nothing is selected, add at end, one level down
-#
-# move left
-# - error if nothing selected
-# - same item should be selected after move
-# - can't move left if you're at the top level
-#
-# move right
-# - error if nothing selected
-# - same item should be selected after move
-# - can always move right (no max depth...should there be?)
-#
-# move up
-# - error if nothing selected
-# - same item should be selected after move
-# - can't move up if you're first in the list
-#
-# move down
-# - error if nothing selected
-# - same item should be selected after move
-# - can't move down if you're last in the list
-#
-# toggle
-# - error if nothing selected
-# - change all aggregators in the grouping
-# - don't change any others
-#
-# delete
-# - error if nothing selected
-# - delete currently selected item
-# - delete all children of a grouping
-# - if delete leaves a node with no children, delete that, too
-# - what should be selected?
-#
-# Clear
-# - clears entire query
-# - clears it from the session, too
-
-# }}}
-
-
-1;
diff --git a/rt/lib/t/regression/03web_compiliation_errors.t b/rt/lib/t/regression/03web_compiliation_errors.t
deleted file mode 100644 (file)
index f2e62c9..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use Test::More qw/no_plan/;
-use WWW::Mechanize;
-use HTTP::Request::Common;
-use HTTP::Cookies;
-use LWP;
-use Encode;
-
-my $cookie_jar = HTTP::Cookies->new;
-my $agent = WWW::Mechanize->new();
-
-# give the agent a place to stash the cookies
-
-$agent->cookie_jar($cookie_jar);
-
-use RT;
-RT::LoadConfig;
-
-# get the top page
-my $url = $RT::WebURL;
-$agent->get($url);
-
-is ($agent->{'status'}, 200, "Loaded a page");
-
-
-# {{{ test a login
-
-# follow the link marked "Login"
-
-ok($agent->{form}->find_input('user'));
-
-ok($agent->{form}->find_input('pass'));
-ok ($agent->{'content'} =~ /username:/i);
-$agent->field( 'user' => 'root' );
-$agent->field( 'pass' => 'password' );
-# the field isn't named, so we have to click link 0
-$agent->click(0);
-is($agent->{'status'}, 200, "Fetched the page ok");
-ok( $agent->{'content'} =~ /Logout/i, "Found a logout link");
-
-
-use File::Find;
-find ( \&wanted , 'html/');
-
-sub wanted {
-        -f  && /\.html$/ && $_ !~ /Logout.html$/  && test_get($File::Find::name);
-}       
-
-sub test_get {
-        my $file = shift;
-
-
-        $file =~ s#^html/##; 
-        ok ($agent->get("$url/$file", "GET $url/$file"));
-        is ($agent->{'status'}, 200, "Loaded $file");
-#        ok( $agent->{'content'} =~ /Logout/i, "Found a logout link on $file ");
-        ok( $agent->{'content'} !~ /Not logged in/i, "Still logged in for  $file");
-        ok( $agent->{'content'} !~ /System error/i, "Didn't get a Mason compilation error on $file");
-        
-}
-
-# }}}
-
-1;
diff --git a/rt/lib/t/regression/04send_email.t b/rt/lib/t/regression/04send_email.t
deleted file mode 100644 (file)
index 09e6e6f..0000000
+++ /dev/null
@@ -1,511 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use Test::More tests => 137;
-use RT;
-RT::LoadConfig();
-RT::Init;
-use RT::EmailParser;
-use RT::Tickets;
-use RT::Action::SendEmail;
-
-my @_outgoing_messages;
-my @scrips_fired;
-
-#We're not testing acls here.
-my $everyone = RT::Group->new($RT::SystemUser);
-$everyone->LoadSystemInternalGroup('Everyone');
-$everyone->PrincipalObj->GrantRight(Right =>'SuperUser');
-
-
-is (__PACKAGE__, 'main', "We're operating in the main package");
-
-
-{
-no warnings qw/redefine/;
-sub RT::Action::SendEmail::SendMessage {
-        my $self = shift;
-        my $MIME = shift;
-
-        main::_fired_scrip($self->ScripObj);
-        main::ok(ref($MIME) eq 'MIME::Entity', "hey, look. it's a mime entity");
-}
-
-}
-
-# instrument SendEmail to pass us what it's about to send.
-# create a regular ticket
-
-my $parser = RT::EmailParser->new();
-
-
-# Let's test to make sure a multipart/report is processed correctly
-my $content =  `cat $RT::BasePath/lib/t/data/multipart-report` || die "couldn't find new content";
-# be as much like the mail gateway as possible.
-use RT::Interface::Email;
-                                  
-my %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-my $tick= $tickets->First();
-isa_ok($tick, "RT::Ticket", "got a ticket object");
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /The original message was received/, "It's the bounce");
-
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-
-undef @scrips_fired;
-
-
-
-
-$parser->ParseMIMEEntityFromScalar('From: root@localhost
-To: rt@example.com
-Subject: This is a test of new ticket creation as an unknown user
-
-Blah!
-Foob!');
-
-                                  
-use Data::Dumper;
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my  ($id,  undef, $msg ) = $ticket->Create(Requestor => ['root@localhost'], Queue => 'general', Subject => 'I18NTest', MIMEObj => $parser->Entity);
-ok ($id,$msg);
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'I18NTest', "failed to create the new ticket from an unprivileged account");
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-# make sure it sends an autoreply
-# make sure it sends a notification to adminccs
-
-
-# we need to swap out SendMessage to test the new things we care about;
-&utf8_redef_sendmessage;
-
-# create an iso 8859-1 ticket
-@scrips_fired = ();
-
-$content =  `cat $RT::BasePath/lib/t/data/new-ticket-from-iso-8859-1` || die "couldn't find new content";
-
-
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-use RT::Interface::Email;
-                           
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /H\x{e5}vard/, "It's signed by havard. yay");
-
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-# make sure it sends an autoreply
-
-
-# make sure it sends a notification to adminccs
-
-# If we correspond, does it do the right thing to the outbound messages?
-
-$parser->ParseMIMEEntityFromScalar($content);
-  ($id, $msg) = $tick->Comment(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-$parser->ParseMIMEEntityFromScalar($content);
-($id, $msg) = $tick->Correspond(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-
-
-
-
-# we need to swap out SendMessage to test the new things we care about;
-&iso8859_redef_sendmessage;
-$RT::EmailOutputEncoding = 'iso-8859-1';
-# create an iso 8859-1 ticket
-@scrips_fired = ();
-
- $content =  `cat $RT::BasePath/lib/t/data/new-ticket-from-iso-8859-1` || die "couldn't find new content";
-# be as much like the mail gateway as possible.
-use RT::Interface::Email;
-                                  
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /H\x{e5}vard/, "It's signed by havard. yay");
-
-
-# make sure it fires scrips.
-is ($#scrips_fired, 1, "Fired 2 scrips on ticket creation");
-# make sure it sends an autoreply
-
-
-# make sure it sends a notification to adminccs
-
-
-# If we correspond, does it do the right thing to the outbound messages?
-
-$parser->ParseMIMEEntityFromScalar($content);
- ($id, $msg) = $tick->Comment(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-$parser->ParseMIMEEntityFromScalar($content);
-($id, $msg) = $tick->Correspond(MIMEObj => $parser->Entity);
-ok ($id, $msg);
-
-
-sub _fired_scrip {
-        my $scrip = shift;
-        push @scrips_fired, $scrip;
-}       
-
-sub utf8_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval ' 
-    sub RT::Action::SendEmail::SendMessage {
-        my $self = shift;
-        my $MIME = shift;
-
-        my $scrip = $self->ScripObj->id;
-        ok(1, $self->ScripObj->ConditionObj->Name . " ".$self->ScripObj->ActionObj->Name);
-        main::_fired_scrip($self->ScripObj);
-        $MIME->make_singlepart;
-        main::ok( ref($MIME) eq \'MIME::Entity\',
-                  "hey, look. it\'s a mime entity" );
-        main::ok( ref( $MIME->head ) eq \'MIME::Head\',
-                  "its mime header is a mime header. yay" );
-        main::ok( $MIME->head->get(\'Content-Type\') =~ /utf-8/,
-                  "Its content type is utf-8" );
-        my $message_as_string = $MIME->bodyhandle->as_string();
-        use Encode;
-        $message_as_string = Encode::decode_utf8($message_as_string);
-        main::ok(
-            $message_as_string =~ /H\x{e5}vard/,
-"The message\'s content contains havard\'s name. this will fail if it\'s not utf8 out");
-
-    }';
-}
-
-sub iso8859_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval ' 
-    sub RT::Action::SendEmail::SendMessage {
-        my $self = shift;
-        my $MIME = shift;
-
-        my $scrip = $self->ScripObj->id;
-        ok(1, $self->ScripObj->ConditionObj->Name . " ".$self->ScripObj->ActionObj->Name);
-        main::_fired_scrip($self->ScripObj);
-        $MIME->make_singlepart;
-        main::ok( ref($MIME) eq \'MIME::Entity\',
-                  "hey, look. it\'s a mime entity" );
-        main::ok( ref( $MIME->head ) eq \'MIME::Head\',
-                  "its mime header is a mime header. yay" );
-        main::ok( $MIME->head->get(\'Content-Type\') =~ /iso-8859-1/,
-                  "Its content type is iso-8859-1 - " . $MIME->head->get("Content-Type") );
-        my $message_as_string = $MIME->bodyhandle->as_string();
-        use Encode;
-        $message_as_string = Encode::decode("iso-8859-1",$message_as_string);
-        main::ok(
-            $message_as_string =~ /H\x{e5}vard/, "The message\'s content contains havard\'s name. this will fail if it\'s not utf8 out");
-
-    }';
-}
-
-# {{{ test a multipart alternative containing a text-html part with an umlaut
-
- $content =  `cat $RT::BasePath/lib/t/data/multipart-alternative-with-umlaut` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&umlauts_redef_sendmessage;
-
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /causes Error/, "We recorded the content right as text-plain");
-is ($tick->Transactions->First->Attachments->Count , 3 , "Has three attachments, presumably a text-plain, a text-html and a multipart alternative");
-
-sub umlauts_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { }';
-}
-
-# }}}
-
-# {{{ test a text-html message with an umlaut
-
- $content =  `cat $RT::BasePath/lib/t/data/text-html-with-umlaut` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_html_umlauts_redef_sendmessage;
-
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Attachments->First->Content =~ /causes Error/, "We recorded the content as containing 'causes error'");
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /text\/html/, "We recorded the content as text/html");
-ok ($tick->Transactions->First->Attachments->Count ==1 , "Has one attachment, presumably a text-html and a multipart alternative");
-
-sub text_html_umlauts_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                use Data::Dumper;
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                ok (is $MIME->parts, 2, "generated correspondence mime entityis composed of three parts");
-                is ($MIME->head->mime_type , "multipart/mixed", "The first part is a multipart mixed". $MIME->head->mime_type);
-                is ($MIME->parts(0)->head->mime_type , "text/plain", "The second part is a plain");
-                is ($MIME->parts(1)->head->mime_type , "text/html", "The third part is an html ");
-                 }';
-}
-
-# }}}
-
-# {{{ test a text-html message with russian characters
-
- $content =  `cat $RT::BasePath/lib/t/data/text-html-in-russian` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_html_russian_redef_sendmessage;
-
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /text\/html/, "We recorded the content right as text-html");
-ok ($tick->Transactions->First->Attachments->Count ==1 , "Has one attachment, presumably a text-html and a multipart alternative");
-
-sub text_html_russian_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                use Data::Dumper;
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                ok (is $MIME->parts, 2, "generated correspondence mime entityis composed of three parts");
-                is ($MIME->head->mime_type , "multipart/mixed", "The first part is a multipart mixed". $MIME->head->mime_type);
-                is ($MIME->parts(0)->head->mime_type , "text/plain", "The second part is a plain");
-                is ($MIME->parts(1)->head->mime_type , "text/html", "The third part is an html ");
-                my $content_1251;
-                $content_1251 = $MIME->parts(1)->bodyhandle->as_string();
-                ok ($content_1251 =~ qr{Ó÷eáíûé Öeíòp "ÊÀÄÐÛ ÄÅËÎÂÎÃΠÌÈÐÀ" ïpèãëaøaeò ía òpeíèíã:},
-"Content matches drugim in codepage 1251" );
-                 }';
-}
-
-# }}}
-
-# {{{ test a message containing a russian subject and NO content type
-
-unshift (@RT::EmailInputEncodings, 'koi8-r');
-$RT::EmailOutputEncoding = 'koi8-r';
-$content =  `cat $RT::BasePath/lib/t/data/russian-subject-no-content-type` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_plain_russian_redef_sendmessage;
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick= $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /text\/plain/, "We recorded the content type right");
-ok ($tick->Transactions->First->Attachments->Count ==1 , "Has one attachment, presumably a text-plain");
-is ($tick->Subject, "\x{442}\x{435}\x{441}\x{442} \x{442}\x{435}\x{441}\x{442}", "Recorded the subject right");
-sub text_plain_russian_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                is ($MIME->head->mime_type , "text/plain", "The only part is text/plain ");
-                 my $subject  = $MIME->head->get("subject");
-                chomp($subject);
-                #is( $subject ,      /^=\?KOI8-R\?B\?W2V4YW1wbGUuY39tICM3XSDUxdPUINTF09Q=\?=/ , "The $subject is encoded correctly");
-               };
-                 ';
-}
-
-shift @RT::EmailInputEncodings;
-$RT::EmailOutputEncoding = 'utf-8';
-# }}}
-
-
-# {{{ test a message containing a nested RFC 822 message
-
- $content =  `cat $RT::BasePath/lib/t/data/nested-rfc-822` || die "couldn't find new content";
-ok ($content, "Loaded nested-rfc-822 to test");
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&text_plain_nested_redef_sendmessage;
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick= $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-is ($tick->Subject, "[Jonas Liljegren] Re: [Para] Niv\x{e5}er?");
-ok ($tick->Transactions->First->Attachments->First->ContentType =~ /multipart\/mixed/, "We recorded the content type right");
-is ($tick->Transactions->First->Attachments->Count , 5 , "Has one attachment, presumably a text-plain and a message RFC 822 and another plain");
-sub text_plain_nested_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { 
-                my $self = shift; 
-                my $MIME = shift; 
-                return (1) unless ($self->ScripObj->ScripActionObj->Name eq "Notify AdminCcs" );
-                is ($MIME->head->mime_type , "multipart/mixed", "It is a mixed multipart");
-                 my $subject  =  $MIME->head->get("subject");
-                 $subject  = MIME::Base64::decode_base64( $subject);
-                chomp($subject);
-               # TODO, why does this test fail
-                #ok($subject =~ qr{Niv\x{e5}er}, "The subject matches the word - $subject");
-               1;
-                 }';
-}
-
-# }}}
-
-
-# {{{ test a multipart alternative containing a uuencoded mesage generated by lotus notes
-
- $content =  `cat $RT::BasePath/lib/t/data/notes-uuencoded` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&notes_redef_sendmessage;
-
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick= $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /from Lotus Notes/, "We recorded the content right");
-is ($tick->Transactions->First->Attachments->Count , 3 , "Has three attachments");
-
-sub notes_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { }';
-}
-
-# }}}
-
-# {{{ test a multipart that crashes the file-based mime-parser works
-
- $content =  `cat $RT::BasePath/lib/t/data/crashes-file-based-parser` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-# be as much like the mail gateway as possible.
-&crashes_redef_sendmessage;
-
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick= $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-ok ($tick->Transactions->First->Content =~ /FYI/, "We recorded the content right");
-is ($tick->Transactions->First->Attachments->Count , 5 , "Has three attachments");
-
-sub crashes_redef_sendmessage {
-    no warnings qw/redefine/;
-    eval 'sub RT::Action::SendEmail::SendMessage { }';
-}
-
-
-
-# }}}
-
-# {{{ test a multi-line RT-Send-CC header
-
- $content =  `cat $RT::BasePath/lib/t/data/rt-send-cc` || die "couldn't find new content";
-
-$parser->ParseMIMEEntityFromScalar($content);
-
-
-
- %args =        (message => $content, queue => 1, action => 'correspond');
- RT::Interface::Email::Gateway(\%args);
- $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick= $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-
-my $cc = $tick->Transactions->First->Attachments->First->GetHeader('RT-Send-Cc');
-ok ($cc =~ /test1/, "Found test 1");
-ok ($cc =~ /test2/, "Found test 2");
-ok ($cc =~ /test3/, "Found test 3");
-ok ($cc =~ /test4/, "Found test 4");
-ok ($cc =~ /test5/, "Found test 5");
-
-# }}}
-
-# Don't taint the environment
-$everyone->PrincipalObj->RevokeRight(Right =>'SuperUser');
-1;
diff --git a/rt/lib/t/regression/05cronsupport.t b/rt/lib/t/regression/05cronsupport.t
deleted file mode 100644 (file)
index 8e5bd75..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-use Test::More qw/no_plan/;
-
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-### Set up some testing data.  Test the testing data because why not?
-
-# Create a user with rights, a queue, and some tickets.
-my $user_obj = RT::User->new($RT::SystemUser);
-my ($ret, $msg) = $user_obj->LoadOrCreateByEmail('tara@example.com');
-ok($ret, 'record test user creation');
-$user_obj->SetName('tara');
-$user_obj->PrincipalObj->GrantRight(Right => 'SuperUser');
-my $CurrentUser = RT::CurrentUser->new('tara');
-
-# Create our template, which will be used for tests of RT::Action::Record*.
-
-my $template_content = 'RT-Send-Cc: tla@example.com
-RT-Send-Bcc: jesse@example.com
-
-This is a content string with no content.';
-
-my $template_obj = RT::Template->new($CurrentUser);
-$template_obj->Create(Queue       => '0',
-                     Name        => 'recordtest',
-                     Description => 'testing Record actions',
-                     Content     => $template_content,
-                    );
-
-# Create a queue and some tickets.
-
-my $queue_obj = RT::Queue->new($CurrentUser);
-($ret, $msg) = $queue_obj->Create(Name => 'recordtest', Description => 'queue for Action::Record testing');
-ok($ret, 'record test queue creation');
-
-my $ticket1 = RT::Ticket->new($CurrentUser);
-my ($id, $tobj, $msg2) = $ticket1->Create(Queue    => $queue_obj,
-                                        Requestor => ['tara@example.com'],
-                                        Subject   => 'bork bork bork',
-                                        Priority  => 22,
-                                       );
-ok($id, 'record test ticket creation 1');
-my $ticket2 = RT::Ticket->new($CurrentUser);
-($id, $tobj, $msg2) = $ticket2->Create(Queue     => $queue_obj,
-                                     Requestor => ['root@localhost'],
-                                     Subject   => 'hurdy gurdy'
-                                     );
-ok($id, 'record test ticket creation 2');
-
-
-### OK.  Have data, will travel.
-
-# First test the search.
-
-ok(require RT::Search::FromSQL, "Search::FromSQL loaded");
-my $ticketsqlstr = "Requestor.EmailAddress = '" . $CurrentUser->EmailAddress .
-    "' AND Priority > '20'";
-my $search = RT::Search::FromSQL->new(Argument => $ticketsqlstr, TicketsObj => RT::Tickets->new($CurrentUser),
-                                     );
-is(ref($search), 'RT::Search::FromSQL', "search created");
-ok($search->Prepare(), "fromsql search run");
-my $counter = 0;
-while(my $t = $search->TicketsObj->Next() ) {
-    is($t->Id(), $ticket1->Id(), "fromsql search results 1");
-    $counter++;
-}
-is ($counter, 1, "fromsql search results 2");
-
-# Right.  Now test the actions.
-
-ok(require RT::Action::RecordComment);
-ok(require RT::Action::RecordCorrespondence);
-
-my ($comment_act, $correspond_act);
-ok($comment_act = RT::Action::RecordComment->new(TicketObj => $ticket1, TemplateObj => $template_obj, CurrentUser => $CurrentUser), "RecordComment created");
-ok($correspond_act = RT::Action::RecordCorrespondence->new(TicketObj => $ticket2, TemplateObj => $template_obj, CurrentUser => $CurrentUser), "RecordCorrespondence created");
-ok($comment_act->Prepare(), "Comment prepared");
-ok($correspond_act->Prepare(), "Correspond prepared");
-ok($comment_act->Commit(), "Comment committed");
-ok($correspond_act->Commit(), "Correspondence committed");
-
-# Now test for loop suppression.
-my ($trans, $desc, $transaction) = $ticket2->Comment(MIMEObj => $template_obj->MIMEObj);
-my $bogus_action = RT::Action::RecordComment->new(TicketObj => $ticket1, TemplateObj => $template_obj, TransactionObj => $transaction, CurrentUser => $CurrentUser);
-ok(!$bogus_action->Prepare(), "Comment aborted to prevent loop");
-
-1;
diff --git a/rt/lib/t/regression/06mailgateway.t b/rt/lib/t/regression/06mailgateway.t
deleted file mode 100644 (file)
index 8486aea..0000000
+++ /dev/null
@@ -1,504 +0,0 @@
-#!/usr/bin/perl -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC 
-#                                          <jesse.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-=head1 NAME
-
-rt-mailgate - Mail interface to RT3.
-
-=cut
-
-use strict;
-use Test::More tests => 57;
-use RT;
-RT::LoadConfig();
-RT::Init();
-use RT::I18N;
-# Make sure that when we call the mailgate wrong, it tempfails
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url http://this.test.for.non-connection.is.expected.to.generate.an.error"), "Opened the mailgate - The error below is expected - $@");
-print MAIL <<EOF;
-From: root\@localhost
-To: rt\@example.com
-Subject: This is a test of new ticket creation
-
-Foob!
-EOF
-close (MAIL);
-
-# Check the return value
-is ( $? >> 8, 75, "The error message above is expected The mail gateway exited with a failure. yay");
-
-
-# {{{ Test new ticket creation by root who is privileged and superuser
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: root\@localhost
-To: rt\@example.com
-Subject: This is a test of new ticket creation
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-use RT::Tickets;
-my $tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
-my $tick = $tickets->First();
-ok (UNIVERSAL::isa($tick,'RT::Ticket'));
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'This is a test of new ticket creation', "Created the ticket");
-
-# }}}
-
-
-# {{{This is a test of new ticket creation as an unknown user
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist\@example.com
-To: rt\@example.com
-Subject: This is a test of new ticket creation as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject ne 'This is a test of new ticket creation as an unknown user', "failed to create the new ticket from an unprivileged account");
-my $u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist@example.com');
-ok( $u->Id == 0, " user does not exist and was not created by failed ticket submission");
-
-
-# }}}
-
-# {{{ now everybody can create tickets.  can a random unkown user create tickets?
-
-my $g = RT::Group->new($RT::SystemUser);
-$g->LoadSystemInternalGroup('Everyone');
-ok( $g->Id, "Found 'everybody'");
-
-my ($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CreateTicket');
-ok ($val, "Granted everybody the right to create tickets - $msg");
-
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist\@example.com
-To: rt\@example.com
-Subject: This is a test of new ticket creation as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id' ,OPERATOR => '>', VALUE => '0');
-$tick = $tickets->First();
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'This is a test of new ticket creation as an unknown user', "failed to create the new ticket from an unprivileged account");
- $u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist@example.com');
-ok( $u->Id != 0, " user does not exist and was created by ticket submission");
-
-# }}}
-
-
-# {{{  can another random reply to a ticket without being granted privs? answer should be no.
-
-
-#($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CreateTicket');
-#ok ($val, "Granted everybody the right to create tickets - $msg");
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-2\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a reply as an unknown user
-
-Blah!  (Should not work.)
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-2@example.com');
-ok( $u->Id == 0, " user does not exist and was not created by ticket correspondence submission");
-# }}}
-
-
-# {{{  can another random reply to a ticket after being granted privs? answer should be yes
-
-
-($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'ReplyToTicket');
-ok ($val, "Granted everybody the right to reply to  tickets - $msg");
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-2\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a reply as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-2@example.com');
-ok( $u->Id != 0, " user exists and was created by ticket correspondence submission");
-
-# }}}
-
-# {{{  can another random comment on a ticket without being granted privs? answer should be no.
-
-
-#($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CreateTicket');
-#ok ($val, "Granted everybody the right to create tickets - $msg");
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action comment"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-3\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a comment as an unknown user
-
-Blah!  (Should not work.)
-Foob!
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-3@example.com');
-ok( $u->Id == 0, " user does not exist and was not created by ticket comment submission");
-
-# }}}
-# {{{  can another random reply to a ticket after being granted privs? answer should be yes
-
-
-($val,$msg) = $g->PrincipalObj->GrantRight(Right => 'CommentOnTicket');
-ok ($val, "Granted everybody the right to reply to  tickets - $msg");
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action comment"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: doesnotexist-3\@example.com
-To: rt\@example.com
-Subject: [example.com #@{[$tick->Id]}] This is a test of a comment as an unknown user
-
-Blah!
-Foob!
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$u = RT::User->new($RT::SystemUser);
-$u->Load('doesnotexist-3@example.com');
-ok( $u->Id != 0, " user exists and was created by ticket comment submission");
-
-# }}}
-
-# {{{ Testing preservation of binary attachments
-
-# Get a binary blob (Best Practical logo) 
-
-# Create a mime entity with an attachment
-
-use MIME::Entity;
-my $entity = MIME::Entity->build( From => 'root@localhost',
-                                 To => 'rt@localhost',
-                                Subject => 'binary attachment test',
-                                Data => ['This is a test of a binary attachment']);
-
-# currently in lib/t/autogen
-
-my $LOGO_FILE = $RT::MasonComponentRoot.'/NoAuth/images/bplogo.gif';
-
-$entity->attach(Path => $LOGO_FILE,
-                Type => 'image/gif',
-                Encoding => 'base64');
-
-# Create a ticket with a binary attachment
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-
-$entity->print(\*MAIL);
-
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-$tickets = RT::Tickets->new($RT::SystemUser);
-$tickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
- $tick = $tickets->First();
-ok (UNIVERSAL::isa($tick,'RT::Ticket'));
-ok ($tick->Id, "found ticket ".$tick->Id);
-ok ($tick->Subject eq 'binary attachment test', "Created the ticket - ".$tick->Id);
-
-my $file = `cat $LOGO_FILE`;
-ok ($file, "Read in the logo image");
-
-
-        use Digest::MD5;
-warn "for the raw file the content is ".Digest::MD5::md5_base64($file);
-
-
-
-# Verify that the binary attachment is valid in the database
-my $attachments = RT::Attachments->new($RT::SystemUser);
-$attachments->Limit(FIELD => 'ContentType', VALUE => 'image/gif');
-ok ($attachments->Count == 1, 'Found only one gif in the database');
-my $attachment = $attachments->First;
-ok($attachment->Id);
-my $acontent = $attachment->Content;
-
-        warn "coming from the  database, the content is ".Digest::MD5::md5_base64($acontent);
-
-is( $acontent, $file, 'The attachment isn\'t screwed up in the database.');
-# Log in as root
-use Getopt::Long;
-use LWP::UserAgent;
-
-
-# Grab the binary attachment via the web ui
-my $ua      = LWP::UserAgent->new();
-
-my $full_url = "$RT::WebURL/Ticket/Attachment/".$attachment->TransactionId."/".$attachment->id."/bplogo.gif?&user=root&pass=password";
-my $r = $ua->get( $full_url);
-
-
-# Verify that the downloaded attachment is the same as what we uploaded.
-is($file, $r->content, 'The attachment isn\'t screwed up in download');
-
-
-
-# }}}
-
-# {{{ Simple I18N testing
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-                                                                         
-print MAIL <<EOF;
-From: root\@localhost
-To: rtemail\@example.com
-Subject: This is a test of I18N ticket creation
-Content-Type: text/plain; charset="utf-8"
-
-2 accented lines
-\303\242\303\252\303\256\303\264\303\273
-\303\241\303\251\303\255\303\263\303\272
-bye
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-my $unitickets = RT::Tickets->new($RT::SystemUser);
-$unitickets->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$unitickets->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
-my $unitick = $unitickets->First();
-ok (UNIVERSAL::isa($unitick,'RT::Ticket'));
-ok ($unitick->Id, "found ticket ".$unitick->Id);
-ok ($unitick->Subject eq 'This is a test of I18N ticket creation', "Created the ticket - ". $unitick->Subject);
-
-
-
-my $unistring = "\303\241\303\251\303\255\303\263\303\272";
-Encode::_utf8_on($unistring);
-is ($unitick->Transactions->First->Content, $unitick->Transactions->First->Attachments->First->Content, "Content is ". $unitick->Transactions->First->Attachments->First->Content);
-ok($unitick->Transactions->First->Attachments->First->Content =~ /$unistring/i, $unitick->Id." appears to be unicode ". $unitick->Transactions->First->Attachments->First->Id);
-# supposedly I18N fails on the second message sent in.
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action correspond"), "Opened the mailgate - $@");
-                                                                         
-print MAIL <<EOF;
-From: root\@localhost
-To: rtemail\@example.com
-Subject: This is a test of I18N ticket creation
-Content-Type: text/plain; charset="utf-8"
-
-2 accented lines
-\303\242\303\252\303\256\303\264\303\273
-\303\241\303\251\303\255\303\263\303\272
-bye
-EOF
-close (MAIL);
-
-#Check the return value
-is ($? >> 8, 0, "The mail gateway exited normally. yay");
-
-my $tickets2 = RT::Tickets->new($RT::SystemUser);
-$tickets2->OrderBy(FIELD => 'id', ORDER => 'DESC');
-$tickets2->Limit(FIELD => 'id', OPERATOR => '>', VALUE => '0');
-my $tick2 = $tickets2->First();
-ok (UNIVERSAL::isa($tick2,'RT::Ticket'));
-ok ($tick2->Id, "found ticket ".$tick2->Id);
-ok ($tick2->Subject eq 'This is a test of I18N ticket creation', "Created the ticket");
-
-
-
-$unistring = "\303\241\303\251\303\255\303\263\303\272";
-Encode::_utf8_on($unistring);
-
-ok ($tick2->Transactions->First->Content =~ $unistring, "It appears to be unicode - ".$tick2->Transactions->First->Content);
-
-# }}}
-
-
-($val,$msg) = $g->PrincipalObj->RevokeRight(Right => 'CreateTicket');
-ok ($val, $msg);
-
-=for later
-
-TODO: {
-
-# {{{ Check take and resolve actions
-
-# create ticket that is owned by nobody
-use RT::Ticket;
-$tick = RT::Ticket->new($RT::SystemUser);
-my ($id) = $tick->Create( Queue => 'general', Subject => 'test');
-ok( $id, 'new ticket created' );
-is( $tick->Owner, $RT::Nobody->Id, 'owner of the new ticket is nobody' );
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action take"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: root\@localhost
-Subject: [example.com \#$id] test
-
-EOF
-close (MAIL);
-is ($? >> 8, 0, "The mail gateway exited normally");
-
-$tick = RT::Ticket->new($RT::SystemUser);
-$tick->Load( $id );
-is( $tick->Id, $id, 'load correct ticket');
-is( $tick->OwnerObj->EmailAddress, 'root@localhost', 'successfuly take ticket via email');
-
-# check that there is no text transactions writen
-is( $tick->Transactions->Count, 2, 'no superfluous transactions');
-
-my $status = '';
-($status, $msg) = $tick->SetOwner( $RT::Nobody->Id, 'Force' );
-ok( $status, 'successfuly changed owner: '. ($msg||'') );
-is( $tick->Owner, $RT::Nobody->Id, 'set owner back to nobody');
-
-
-
-    local $TODO = "Advanced mailgate actions require an unsafe configuration";
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action take-correspond"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: root\@localhost
-Subject: [example.com \#$id] correspondence
-
-test
-EOF
-close (MAIL);
-is ($? >> 8, 0, "The mail gateway exited normally");
-
-$tick = RT::Ticket->new($RT::SystemUser);
-$tick->Load( $id );
-is( $tick->Id, $id, 'load correct ticket');
-is( $tick->OwnerObj->EmailAddress, 'root@localhost', 'successfuly take ticket via email');
-my $txns = $tick->Transactions;
-$txns->Limit( FIELD => 'Type', VALUE => 'Correspond');
-is( $txns->Last->Subject, "[example.com \#$id] correspondence", 'successfuly add correspond within take via email' );
-# +1 because of auto open
-is( $tick->Transactions->Count, 6, 'no superfluous transactions');
-
-ok(open(MAIL, "|$RT::BinPath/rt-mailgate --url $RT::WebURL --queue general --action resolve"), "Opened the mailgate - $@");
-print MAIL <<EOF;
-From: root\@localhost
-Subject: [example.com \#$id] test
-
-EOF
-close (MAIL);
-is ($? >> 8, 0, "The mail gateway exited normally");
-
-DBIx::SearchBuilder::Record::Cachable->FlushCache;
-
-$tick = RT::Ticket->new($RT::SystemUser);
-$tick->Load( $id );
-is( $tick->Id, $id, 'load correct ticket');
-is( $tick->Status, 'resolved', 'successfuly resolved ticket via email');
-is( $tick->Transactions->Count, 7, 'no superfluous transactions');
-
-};
-
-=cut
-
-# }}}
-
-1;
diff --git a/rt/lib/t/regression/07acl.t b/rt/lib/t/regression/07acl.t
deleted file mode 100644 (file)
index bb1ccdc..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/usr/bin/perl -w
-
-use WWW::Mechanize;
-use HTTP::Cookies;
-
-use Test::More qw/no_plan/;
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-# Create a user with basically no rights, to start.
-my $user_obj = RT::User->new($RT::SystemUser);
-my ($ret, $msg) = $user_obj->LoadOrCreateByEmail('customer-'.$$.'@example.com');
-ok($ret, 'ACL test user creation');
-$user_obj->SetName('customer-'.$$);
-$user_obj->SetPrivileged(1);
-($ret, $msg) = $user_obj->SetPassword('customer');
-ok($ret, "ACL test password set. $msg");
-
-# Now test the web interface, making sure objects come and go as
-# required.
-
-my $cookie_jar = HTTP::Cookies->new;
-my $agent = WWW::Mechanize->new();
-
-# give the agent a place to stash the cookies
-
-$agent->cookie_jar($cookie_jar);
-
-
-# get the top page
-my $url = $RT::WebURL;
-$agent->get($url);
-
-is ($agent->{'status'}, 200, "Loaded a page - $RT::WebURL");
-# {{{ test a login
-
-# follow the link marked "Login"
-
-ok($agent->{form}->find_input('user'));
-
-ok($agent->{form}->find_input('pass'));
-ok ($agent->{'content'} =~ /username:/i);
-$agent->field( 'user' => 'customer-'.$$ );
-$agent->field( 'pass' => 'customer' );
-# the field isn't named, so we have to click link 0
-$agent->click(0);
-is($agent->{'status'}, 200, "Fetched the page ok");
-ok($agent->{'content'} =~ /Logout/i, "Found a logout link");
-
-# Test for absence of Configure and Preferences tabs.
-ok(!$agent->find_link( url => '/Admin/',
-                      text => 'Configuration'), "No config tab" );
-ok(!$agent->find_link( url => '/User/Prefs.html',
-                      text => 'Preferences'), "No prefs pane" );
-
-# Now test for their presence, one at a time.  Sleep for a bit after
-# ACL changes, thanks to the 10s ACL cache.
-$user_obj->PrincipalObj->GrantRight(Right => 'ShowConfigTab');
-$agent->reload();
-ok($agent->{'content'} =~ /Logout/i, "Reloaded page successfully");
-ok($agent->find_link( url => '/Admin/',
-                      text => 'Configuration'), "Found config tab" );
-$user_obj->PrincipalObj->RevokeRight(Right => 'ShowConfigTab');
-$user_obj->PrincipalObj->GrantRight(Right => 'ModifySelf');
-$agent->reload();
-ok($agent->{'content'} =~ /Logout/i, "Reloaded page successfully");
-ok($agent->find_link( url => '/User/Prefs.html',
-                      text => 'Preferences'), "Found prefs pane" );
-$user_obj->PrincipalObj->RevokeRight(Right => 'ModifySelf');
-
-# Good.  Now load the search page and test Load/Save Search.
-$agent->follow_link( url => '/Search/Build.html',
-                    text => 'Tickets');
-is($agent->{'status'}, 200, "Fetched search builder page");
-ok($agent->{'content'} !~ /Load saved search/i, "No search loading box");
-ok($agent->{'content'} !~ /Saved searches/i, "No saved searches box");
-
-$user_obj->PrincipalObj->GrantRight(Right => 'LoadSavedSearch');
-$agent->reload();
-ok($agent->{'content'} =~ /Load saved search/i, "Search loading box exists");
-ok($agent->{'content'} !~ /input\s+type=.submit.\s+name=.Save./i, 
-   "Still no saved searches box");
-
-$user_obj->PrincipalObj->GrantRight(Right => 'CreateSavedSearch');
-$agent->reload();
-ok($agent->{'content'} =~ /Load saved search/i, 
-   "Search loading box still exists");
-ok($agent->{'content'} =~ /input\s+type=.submit.\s+name=.Save./i, 
-   "Saved searches box exists");
-
-# Create a group, and a queue, so we can test limited user visibility
-# via SelectOwner.
-
-my $queue_obj = RT::Queue->new($RT::SystemUser);
-($ret, $msg) = $queue_obj->Create(Name => 'CustomerQueue', 
-                                 Description => 'queue for SelectOwner testing');
-ok($ret, "SelectOwner test queue creation. $msg");
-my $group_obj = RT::Group->new($RT::SystemUser);
-($ret, $msg) = $group_obj->CreateUserDefinedGroup(Name => 'CustomerGroup',
-                             Description => 'group for SelectOwner testing');
-ok($ret, "SelectOwner test group creation. $msg");
-
-# Add our customer to the customer group, and give it queue rights.
-($ret, $msg) = $group_obj->AddMember($user_obj->PrincipalObj->Id());
-ok($ret, "Added customer to its group. $msg");
-$group_obj->PrincipalObj->GrantRight(Right => 'OwnTicket',
-                                    Object => $queue_obj);
-$group_obj->PrincipalObj->GrantRight(Right => 'SeeQueue',
-                                    Object => $queue_obj);
-
-# Now.  When we look at the search page we should be able to see
-# ourself in the list of possible owners.
-
-$agent->reload();
-ok($agent->form_name('BuildQuery'), "Yep, form is still there");
-my $input = $agent->current_form->find_input('ValueOfActor');
-ok(grep(/customer-$$/, $input->value_names()), "Found self in the actor listing");
-
-1;
diff --git a/rt/lib/t/regression/07rights.t b/rt/lib/t/regression/07rights.t
deleted file mode 100644 (file)
index 4764b49..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/usr/bin/perl -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-
-use Test::More tests => 14;
-use RT;
-RT::LoadConfig();
-RT::Init();
-use RT::I18N;
-use strict;
-no warnings 'once';
-
-use RT::Queue;
-use RT::ACE;
-use RT::User;
-use RT::Group;
-use RT::Ticket;
-
-
-# clear all global right
-my $acl = RT::ACL->new($RT::SystemUser);
-$acl->Limit( FIELD => 'RightName', OPERATOR => '!=', VALUE => 'SuperUser' );
-$acl->LimitToObject( $RT::System );
-while( my $ace = $acl->Next ) {
-       $ace->Delete;
-}
-
-# create new queue to be shure we don't mess with rights
-my $queue = RT::Queue->new($RT::SystemUser);
-my ($queue_id) = $queue->Create( Name => 'rights');
-ok( $queue_id, 'queue created for rights tests' );
-
-# new privileged user to check rights
-my $user = RT::User->new( $RT::SystemUser );
-my ($user_id) = $user->Create( Name => 'rights',
-                          EmailAddress => 'rights@localhost',
-                          Privileged => 1,
-                          Password => 'qwe123',
-                        );
-ok( !$user->HasRight( Right => 'OwnTicket', Object => $queue ), "user can't own ticket" );
-ok( !$user->HasRight( Right => 'ReplyToTicket', Object => $queue ), "user can't reply to ticket" );
-
-my $group = RT::Group->new( $RT::SystemUser );
-ok( $group->LoadQueueRoleGroup( Queue => $queue_id, Type=> 'Owner' ), "load queue owners role group" );
-my $ace = RT::ACE->new( $RT::SystemUser );
-my ($ace_id, $msg) = $group->PrincipalObj->GrantRight( Right => 'ReplyToTicket', Object => $queue );
-ok( $ace_id, "Granted queue owners role group with ReplyToTicket right: $msg" );
-ok( $group->PrincipalObj->HasRight( Right => 'ReplyToTicket', Object => $queue ), "role group can reply to ticket" );
-ok( !$user->HasRight( Right => 'ReplyToTicket', Object => $queue ), "user can't reply to ticket" );
-
-# new ticket
-my $ticket = RT::Ticket->new($RT::SystemUser);
-my ($ticket_id) = $ticket->Create( Queue => $queue_id, Subject => 'test');
-ok( $ticket_id, 'new ticket created' );
-is( $ticket->Owner, $RT::Nobody->Id, 'owner of the new ticket is nobody' );
-
-my $status;
-($status, $msg) = $user->PrincipalObj->GrantRight( Object => $queue, Right => 'OwnTicket' );
-ok( $status, "successfuly granted right: $msg" );
-ok( $user->HasRight( Right => 'OwnTicket', Object => $queue ), "user can own ticket" );
-
-($status, $msg) = $ticket->SetOwner( $user_id );
-ok( $status, "successfuly set owner: $msg" );
-is( $ticket->Owner, $user_id, "set correct owner" );
-
-ok( $user->HasRight( Right => 'ReplyToTicket', Object => $ticket ), "user is owner and can reply to ticket" );
-
diff --git a/rt/lib/t/regression/08web_cf_access.t b/rt/lib/t/regression/08web_cf_access.t
deleted file mode 100644 (file)
index 012d733..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/usr/bin/perl -w
-use strict;
-
-use Test::More tests => 15;
-use RT;
-RT::LoadConfig;
-RT::Init;
-use Test::WWW::Mechanize;
-
-$RT::WebURL ||= 0; # avoid stupid warning
-my $BaseURL = $RT::WebURL;
-use constant ImageFile => $RT::MasonComponentRoot .'/NoAuth/images/bplogo.gif';
-use constant ImageFileContent => do {
-    local $/;
-    open my $fh, '<', ImageFile or die $!;
-    binmode($fh);
-    scalar <$fh>;
-};
-
-my $m = Test::WWW::Mechanize->new;
-isa_ok($m, 'Test::WWW::Mechanize');
-
-$m->get( $BaseURL."?user=root;pass=password" );
-$m->content_like(qr/Logout/, 'we did log in');
-$m->follow_link( text => 'Configuration' );
-$m->title_is(q/RT Administration/, 'admin screen');
-$m->follow_link( text => 'Custom Fields' );
-$m->title_is(q/Select a Custom Field/, 'admin-cf screen');
-$m->follow_link( text => 'New custom field' );
-$m->submit_form(
-    form_name => "ModifyCustomField",
-    fields => {
-        TypeComposite => 'Image-0',
-        LookupType => 'RT::Queue-RT::Ticket',
-        Name => 'img',
-        Description => 'img',
-    },
-);
-$m->title_is(q/Created CustomField img/, 'admin-cf created');
-$m->follow_link( text => 'Queues' );
-$m->title_is(q/Admin queues/, 'admin-queues screen');
-$m->follow_link( text => 'General' );
-$m->title_is(q/Editing Configuration for queue General/, 'admin-queue: general');
-$m->follow_link( text => 'Ticket Custom Fields' );
-
-$m->title_is(q/Edit Custom Fields for General/, 'admin-queue: general tcf');
-$m->form_name('EditCustomFields');
-
-# Sort by numeric IDs in names
-my @names = map  { $_->[1] }
-            sort { $a->[0] <=> $b->[0] }
-            map  { /Object-1-CF-(\d+)/ ? [ $1 => $_ ] : () }
-            map  $_->name, $m->current_form->inputs;
-my $tcf = pop(@names);
-$m->field( $tcf => 1 );         # Associate the new CF with this queue
-$m->field( $_ => undef ) for @names;    # ...and not any other. ;-)
-$m->submit;
-
-$m->content_like( qr/Object created/, 'TCF added to the queue' );
-
-$m->submit_form(
-    form_name => "CreateTicketInQueue",
-    fields => { Queue => 'General' },
-);
-
-$m->content_like(qr/Upload multiple images/, 'has a upload image field');
-
-$tcf =~ /(\d+)$/ or die "Hey this is impossible dude";
-my $upload_field = "Object-RT::Ticket--CustomField-$1-Upload";
-
-$m->submit_form(
-    form_name => "TicketCreate",
-    fields => {
-        $upload_field => ImageFile,
-        Subject => 'testing img cf creation',
-    },
-);
-
-$m->content_like(qr/Ticket \d+ created/, "a ticket is created succesfully");
-
-my $id = $1 if $m->content =~ /Ticket (\d+) created/;
-
-$m->title_like(qr/testing img cf creation/, "its title is the Subject");
-
-$m->follow_link( text => 'bplogo.gif' );
-$m->content_is(ImageFileContent, "it links to the uploaded image");
-
-$m->get( $BaseURL );
-
-$m->follow_link( text => 'Tickets' );
-$m->follow_link( text => 'New Query' );
-
-$m->title_is(q/Query Builder/, 'Query building');
-$m->submit_form(
-    form_name => "BuildQuery",
-    fields => {
-        idOp => '=',
-        ValueOfid => $id,
-        ValueOfQueue => 'General',
-    },
-    button => 'AddClause',
-);
-
-$m->form_name('BuildQuery');
-
-my $col = ($m->current_form->find_input('SelectDisplayColumns'))[-1];
-$col->value( ($col->possible_values)[-1] );
-
-$m->click('AddCol');
-
-$m->form_name('BuildQuery');
-$m->click('DoSearch');
-
-$m->follow_link( text_regex => qr/bplogo\.gif/ );
-$m->content_is(ImageFileContent, "it links to the uploaded image");
-
-__END__
-[FC] Bulk Update does not have custom fields.
diff --git a/rt/lib/t/regression/09record_cf_api.t b/rt/lib/t/regression/09record_cf_api.t
deleted file mode 100644 (file)
index 1428a28..0000000
+++ /dev/null
@@ -1,188 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings FATAL => 'all';
-use Test::More tests => 131;
-
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-# Before we get going, ditch all object_cfs; this will remove 
-# all custom fields systemwide;
-my $object_cfs = RT::ObjectCustomFields->new($RT::SystemUser);
-$object_cfs->UnLimit();
-while (my $ocf = $object_cfs->Next) {
-       $ocf->Delete();
-}
-
-
-my $queue = RT::Queue->new( $RT::SystemUser );
-$queue->Create( Name => 'RecordCustomFields-'.$$ );
-ok ($queue->id, "Created the queue");
-
-my $ticket = RT::Ticket->new( $RT::SystemUser );
-$ticket->Create(
-       Queue => $queue->Id,
-       Requestor => 'root@localhost',
-       Subject => 'RecordCustomFields1',
-);
-
-my $cfs = $ticket->CustomFields;
-is( $cfs->Count, 0 );
-
-# Check that record has no any CF values yet {{{
-my $cfvs = $ticket->CustomFieldValues;
-is( $cfvs->Count, 0 );
-is( $ticket->FirstCustomFieldValue, undef );
-
-my $local_cf1 = RT::CustomField->new( $RT::SystemUser );
-$local_cf1->Create( Name => 'RecordCustomFields1-'.$$, Type => 'SelectSingle', Queue => $queue->id );
-$local_cf1->AddValue( Name => 'RecordCustomFieldValues11' );
-$local_cf1->AddValue( Name => 'RecordCustomFieldValues12' );
-
-my $local_cf2 = RT::CustomField->new( $RT::SystemUser );
-$local_cf2->Create( Name => 'RecordCustomFields2-'.$$, Type => 'SelectSingle', Queue => $queue->id );
-$local_cf2->AddValue( Name => 'RecordCustomFieldValues21' );
-$local_cf2->AddValue( Name => 'RecordCustomFieldValues22' );
-
-my $global_cf3 = RT::CustomField->new( $RT::SystemUser );
-$global_cf3->Create( Name => 'RecordCustomFields3-'.$$, Type => 'SelectSingle', Queue => 0 );
-$global_cf3->AddValue( Name => 'RecordCustomFieldValues31' );
-$global_cf3->AddValue( Name => 'RecordCustomFieldValues32' );
-
-
-my @custom_fields = ($local_cf1, $local_cf2, $global_cf3);
-
-
-$cfs = $ticket->CustomFields;
-is( $cfs->Count, 3 );
-
-# Check that record has no any CF values yet {{{
-$cfvs = $ticket->CustomFieldValues;
-is( $cfvs->Count, 0 );
-is( $ticket->FirstCustomFieldValue, undef );
-
-# CF with ID -1 shouldnt exist at all
-$cfvs = $ticket->CustomFieldValues( -1 );
-is( $cfvs->Count, 0 );
-is( $ticket->FirstCustomFieldValue( -1 ), undef );
-
-$cfvs = $ticket->CustomFieldValues( 'SomeUnexpedCustomFieldName' );
-is( $cfvs->Count, 0 );
-is( $ticket->FirstCustomFieldValue( 'SomeUnexpedCustomFieldName' ), undef );
-
-for (@custom_fields) {
-       $cfvs = $ticket->CustomFieldValues( $_->id );
-       is( $cfvs->Count, 0 );
-
-       $cfvs = $ticket->CustomFieldValues( $_->Name );
-       is( $cfvs->Count, 0 );
-       is( $ticket->FirstCustomFieldValue( $_->id ), undef );
-       is( $ticket->FirstCustomFieldValue( $_->Name ), undef );
-}
-# }}}
-
-# try to add field value with fields that do not exist {{{
-my ($status, $msg) = $ticket->AddCustomFieldValue( Field => -1 , Value => 'foo' );
-ok(!$status, "shouldn't add value" );
-($status, $msg) = $ticket->AddCustomFieldValue( Field => 'SomeUnexpedCustomFieldName' , Value => 'foo' );
-ok(!$status, "shouldn't add value" );
-# }}}
-
-# {{{
-SKIP: {
-
-       skip "TODO: We want fields that are not allowed to set unexpected values", 10;
-       for (@custom_fields) {
-               ($status, $msg) = $ticket->AddCustomFieldValue( Field => $_ , Value => 'SomeUnexpectedCFValue' );
-               ok( !$status, 'value doesn\'t exist');
-       
-               ($status, $msg) = $ticket->AddCustomFieldValue( Field => $_->id , Value => 'SomeUnexpectedCFValue' );
-               ok( !$status, 'value doesn\'t exist');
-       
-               ($status, $msg) = $ticket->AddCustomFieldValue( Field => $_->Name , Value => 'SomeUnexpectedCFValue' );
-               ok( !$status, 'value doesn\'t exist');
-       }
-       
-       # Let check that we did not add value to be sure
-       # using only FirstCustomFieldValue sub because
-       # we checked other variants allready
-       for (@custom_fields) {
-               is( $ticket->FirstCustomFieldValue( $_->id ), undef );
-       }
-       
-}
-# Add some values to our custom fields
-for (@custom_fields) {
-       # this should be tested elsewhere
-       $_->AddValue( Name => 'Foo' );
-       $_->AddValue( Name => 'Bar' );
-}
-
-my $test_add_delete_cycle = sub {
-       my $cb = shift;
-       for (@custom_fields) {
-               ($status, $msg) = $ticket->AddCustomFieldValue( Field => $cb->($_) , Value => 'Foo' );
-               ok( $status, "message: $msg");
-       }
-       
-       # does it exist?
-       $cfvs = $ticket->CustomFieldValues;
-       is( $cfvs->Count, 3, "We found all three custom fields on our ticket" );
-       for (@custom_fields) {
-               $cfvs = $ticket->CustomFieldValues( $_->id );
-               is( $cfvs->Count, 1 , "we found one custom field when searching by id");
-       
-               $cfvs = $ticket->CustomFieldValues( $_->Name );
-               is( $cfvs->Count, 1 , " We found one custom field when searching by name for " . $_->Name);
-               is( $ticket->FirstCustomFieldValue( $_->id ), 'Foo' , "first value by id is foo");
-               is( $ticket->FirstCustomFieldValue( $_->Name ), 'Foo' , "first value by name is foo");
-       }
-       # because our CFs are SingleValue then new value addition should override
-       for (@custom_fields) {
-               ($status, $msg) = $ticket->AddCustomFieldValue( Field => $_ , Value => 'Bar' );
-               ok( $status, "message: $msg");
-       }
-       $cfvs = $ticket->CustomFieldValues;
-       is( $cfvs->Count, 3 );
-       for (@custom_fields) {
-               $cfvs = $ticket->CustomFieldValues( $_->id );
-               is( $cfvs->Count, 1 );
-       
-               $cfvs = $ticket->CustomFieldValues( $_->Name );
-               is( $cfvs->Count, 1 );
-               is( $ticket->FirstCustomFieldValue( $_->id ), 'Bar' );
-               is( $ticket->FirstCustomFieldValue( $_->Name ), 'Bar' );
-       }
-       # delete it
-       for (@custom_fields ) { 
-               ($status, $msg) = $ticket->DeleteCustomFieldValue( Field => $_ , Value => 'Bar' );
-               ok( $status, "Deleted a custom field value 'Bar' for field ".$_->id.": $msg");
-       }
-       $cfvs = $ticket->CustomFieldValues;
-       is( $cfvs->Count, 0, "The ticket (".$ticket->id.") no longer has any custom field values"  );
-       for (@custom_fields) {
-               $cfvs = $ticket->CustomFieldValues( $_->id );
-               is( $cfvs->Count, 0,  $ticket->id." has no values for cf  ".$_->id );
-       
-               $cfvs = $ticket->CustomFieldValues( $_->Name );
-               is( $cfvs->Count, 0 , $ticket->id." has no values for cf  '".$_->Name. "'" );
-               is( $ticket->FirstCustomFieldValue( $_->id ), undef , "There is no first custom field value when loading by id" );
-               is( $ticket->FirstCustomFieldValue( $_->Name ), undef, "There is no first custom field value when loading by Name" );
-       }
-};
-
-# lets test cycle via CF id
-$test_add_delete_cycle->( sub { return $_[0]->id } );
-# lets test cycle via CF object reference
-$test_add_delete_cycle->( sub { return $_[0] } );
-
-#SKIP: {
-#      skip "TODO: should we add CF values to objects via CF Name?", 48;
-# names are not unique
-       # lets test cycle via CF Name
-#      $test_add_delete_cycle->( sub { return $_[0]->Name } );
-#}
-
-
diff --git a/rt/lib/t/regression/10merge.t b/rt/lib/t/regression/10merge.t
deleted file mode 100644 (file)
index 8bca952..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/usr/bin/perl 
-
-use warnings;
-use strict;
-
-
-#
-# This test script validates that when merging two tickets, the comments from both tickets
-# are integrated into the new ticket
-
-use Test::More tests => 13;
-use RT;
-RT::LoadConfig;
-RT::Init;
-
-use_ok('RT::Ticket');
-use_ok('RT::Queue');
-
-my $queue = RT::Queue->new($RT::SystemUser);
-my ($id,$msg) = $queue->Create(Name => 'MergeTest-'.rand(25));
-ok ($id,$msg);
-
-my $t1 = RT::Ticket->new($RT::SystemUser);
-my ($tid,$transid, $t1msg) =$t1->Create ( Queue => $queue->Name, Subject => 'Merge test. orig');
-ok ($tid, $t1msg);
-($id, $msg) = $t1->Comment(Content => 'This is a Comment on the original');
-ok($id,$msg);
-
-my $txns = $t1->Transactions;
-my $Comments = 0;
-while (my $txn = $txns->Next) {
-$Comments++ if ($txn->Type eq 'Comment');
-}
-is($Comments,1, "our first ticket has only one Comment");
-
-my $t2 = RT::Ticket->new($RT::SystemUser);
-my ($t2id,$t2transid, $t2msg) =$t2->Create ( Queue => $queue->Name, Subject => 'Merge test. duplicate');
-ok ($t2id, $t2msg);
-
-
-
-($id, $msg) = $t2->Comment(Content => 'This is a commet on the duplicate');
-ok($id,$msg);
-
-
-$txns = $t2->Transactions;
- $Comments = 0;
-while (my $txn = $txns->Next) {
-    $Comments++ if ($txn->Type eq 'Comment');
-}
-is($Comments,1, "our second ticket has only one Comment");
-
-($id, $msg) = $t1->Comment(Content => 'This is a second  Comment on the original');
-ok($id,$msg);
-
-$txns = $t1->Transactions;
-$Comments = 0;
-while (my $txn = $txns->Next) {
-    $Comments++ if ($txn->Type eq 'Comment');
-}
-is($Comments,2, "our first ticket now has two Comments");
-
-($id,$msg) = $t2->MergeInto($t1->id);
-
-ok($id,$msg);
-$txns = $t1->Transactions;
-$Comments = 0;
-while (my $txn = $txns->Next) {
-    $Comments++ if ($txn->Type eq 'Comment');
-}
-is($Comments,3, "our first ticket now has three Comments - we merged safely");
-
diff --git a/rt/lib/t/regression/11-template-insert.t b/rt/lib/t/regression/11-template-insert.t
deleted file mode 100644 (file)
index 8681ce6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/perl
-
-use warnings;
-use strict;
-
-use Test::More tests => 7;
-
-use RT;
-RT::LoadConfig();
-RT::Init;
-
-
-# This tiny little test script triggers an interaction bug between DBD::Oracle 1.16, SB 1.15 and RT 3.4
-
-use_ok('RT::Template');
-my $template = RT::Template->new($RT::SystemUser);
-
-isa_ok($template, 'RT::Template');
-my ($val,$msg) = $template->Create(Queue => 1,
-                  Name => 'InsertTest',
-                  Content => 'This is template content');
-ok($val,$msg);
-is($template->Name, 'InsertTest');
-is($template->Content, 'This is template content', "We created the object right");
-($val, $msg) = $template->SetContent( 'This is new template content');
-ok($val,$msg);
-is($template->Content, 'This is new template content', "We managed to _Set_ the content");
diff --git a/rt/lib/t/regression/12-search.t b/rt/lib/t/regression/12-search.t
deleted file mode 100644 (file)
index 9cc4aa4..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-#!/opt/perl/bin/perl -w
-
-# tests relating to searching. Especially around custom fields, and
-# corner cases.
-
-use strict;
-use warnings;
-
-use Test::More tests => 35;
-use_ok('RT');
-RT::LoadConfig();
-RT::Init();
-
-# setup the queue
-
-my $q = RT::Queue->new($RT::SystemUser);
-my $queue = 'SearchTests-'.$$;
-$q->Create(Name => $queue);
-ok ($q->id, "Created the queue");
-
-
-# and setup the CFs
-# we believe the Type shouldn't matter.
-
-my $cf = RT::CustomField->new($RT::SystemUser);
-$cf->Create(Name => 'SearchTest', Type => 'Freeform', MaxValues => 0, Queue => $q->id);
-ok($cf->id, "Created the SearchTest CF");
-my $cflabel = "CustomField-".$cf->id;
-
-my $cf2 = RT::CustomField->new($RT::SystemUser);
-$cf2->Create(Name => 'SearchTest2', Type => 'Freeform', MaxValues => 0, Queue => $q->id);
-ok($cf2->id, "Created the SearchTest2 CF");
-my $cflabel2 = "CustomField-".$cf2->id;
-
-my $cf3 = RT::CustomField->new($RT::SystemUser);
-$cf3->Create(Name => 'SearchTest3', Type => 'Freeform', MaxValues => 0, Queue => $q->id);
-ok($cf3->id, "Created the SearchTest3 CF");
-my $cflabel3 = "CustomField-".$cf3->id;
-
-
-# setup some tickets
-# we'll need a small pile of them, to test various combinations and nulls.
-# there's probably a way to think harder and do this with fewer
-
-
-my $t1 = RT::Ticket->new($RT::SystemUser);
-my ( $id, undef $msg ) = $t1->Create(
-    Queue      => $q->id,
-    Subject    => 'SearchTest1',
-    Requestor  => ['search1@example.com'],
-    $cflabel   => 'foo1',
-    $cflabel2  => 'bar1',
-    $cflabel3  => 'qux1',
-);
-ok( $id, $msg );
-
-
-my $t2 = RT::Ticket->new($RT::SystemUser);
-( $id, undef, $msg ) = $t2->Create(
-    Queue      => $q->id,
-    Subject    => 'SearchTest2',
-    Requestor  => ['search2@example.com'],
-#    $cflabel   => 'foo2',
-    $cflabel2  => 'bar2',
-    $cflabel3  => 'qux2',
-);
-ok( $id, $msg );
-
-my $t3 = RT::Ticket->new($RT::SystemUser);
-( $id, undef, $msg ) = $t3->Create(
-    Queue      => $q->id,
-    Subject    => 'SearchTest3',
-    Requestor  => ['search3@example.com'],
-    $cflabel   => 'foo3',
-#    $cflabel2  => 'bar3',
-    $cflabel3  => 'qux3',
-);
-ok( $id, $msg );
-
-my $t4 = RT::Ticket->new($RT::SystemUser);
-( $id, undef, $msg ) = $t4->Create(
-    Queue      => $q->id,
-    Subject    => 'SearchTest4',
-    Requestor  => ['search4@example.com'],
-    $cflabel   => 'foo4',
-    $cflabel2  => 'bar4',
-#    $cflabel3  => 'qux4',
-);
-ok( $id, $msg );
-
-my $t5 = RT::Ticket->new($RT::SystemUser);
-( $id, undef, $msg ) = $t5->Create(
-    Queue      => $q->id,
-#    Subject    => 'SearchTest5',
-    Requestor  => ['search5@example.com'],
-    $cflabel   => 'foo5',
-    $cflabel2  => 'bar5',
-    $cflabel3  => 'qux5',
-);
-ok( $id, $msg );
-
-my $t6 = RT::Ticket->new($RT::SystemUser);
-( $id, undef, $msg ) = $t6->Create(
-    Queue      => $q->id,
-    Subject    => 'SearchTest6',
-#    Requestor  => ['search6@example.com'],
-    $cflabel   => 'foo6',
-    $cflabel2  => 'bar6',
-    $cflabel3  => 'qux6',
-);
-ok( $id, $msg );
-
-my $t7 = RT::Ticket->new($RT::SystemUser);
-( $id, undef, $msg ) = $t7->Create(
-    Queue      => $q->id,
-    Subject    => 'SearchTest7',
-    Requestor  => ['search7@example.com'],
-#    $cflabel   => 'foo7',
-#    $cflabel2  => 'bar7',
-    $cflabel3  => 'qux7',
-);
-ok( $id, $msg );
-
-# we have tickets. start searching
-my $tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue'");
-is($tix->Count, 7, "found all the tickets");
-
-
-# very simple searches. both CF and normal
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND CF.SearchTest = 'foo1'");
-is($tix->Count, 1, "matched identical subject");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND CF.SearchTest LIKE 'foo1'");
-is($tix->Count, 1, "matched LIKE subject");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND CF.SearchTest = 'foo'");
-is($tix->Count, 0, "IS a regexp match");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND CF.SearchTest LIKE 'foo'");
-is($tix->Count, 5, "matched LIKE subject");
-
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND CF.SearchTest IS NULL");
-    
-    is($tix->Count, 2, "IS null CF");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Requestors LIKE 'search1'");
-is($tix->Count, 1, "LIKE requestor");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Requestors = 'search1\@example.com'");
-is($tix->Count, 1, "IS requestor");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Requestors LIKE 'search'");
-is($tix->Count, 6, "LIKE requestor");
-
-TODO: {
-    
-    local $TODO = "Can't search for 'no requestor"; 
-    $tix = RT::Tickets->new($RT::SystemUser);
-    $tix->FromSQL("Queue = '$queue' AND Requestors IS NULL");
-    is($tix->Count, 1, "Search for no requestor");
-
-};
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Subject = 'SearchTest1'");
-is($tix->Count, 1, "IS subject");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Subject LIKE 'SearchTest1'");
-is($tix->Count, 1, "LIKE subject");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Subject = ''");
-is($tix->Count, 1, "found one ticket");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Subject LIKE 'SearchTest'");
-is($tix->Count, 6, "found two ticket");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND Subject LIKE 'qwerty'");
-is($tix->Count, 0, "found zero ticket");
-
-
-
-
-# various combinations
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("CF.SearchTest LIKE 'foo' AND CF.SearchTest2 LIKE 'bar1'");
-is($tix->Count, 1, "LIKE cf and LIKE cf");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("CF.SearchTest = 'foo1' AND CF.SearchTest2 = 'bar1'");
-is($tix->Count, 1, "is cf and is cf");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("CF.SearchTest = 'foo' AND CF.SearchTest2 LIKE 'bar1'");
-is($tix->Count, 0, "is cf and like cf");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("CF.SearchTest LIKE 'foo' AND CF.SearchTest2 LIKE 'bar' AND CF.SearchTest3 LIKE 'qux'");
-is($tix->Count, 3, "like cf and like cf and like cf");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("CF.SearchTest LIKE 'foo' AND CF.SearchTest2 LIKE 'bar' AND CF.SearchTest3 LIKE 'qux6'");
-is($tix->Count, 1, "like cf and like cf and is cf");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("CF.SearchTest LIKE 'foo' AND Subject LIKE 'SearchTest'");
-is($tix->Count, 4, "like cf and like subject");
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("CF.SearchTest IS NULL AND CF.SearchTest2 = 'bar2'");
-    
-    is($tix->Count, 1, "null cf and is cf");
-
-
-$tix = RT::Tickets->new($RT::SystemUser);
-$tix->FromSQL("Queue = '$queue' AND CF.SearchTest IS NULL AND CF.SearchTest2 IS NULL");
-
-        is($tix->Count, 1, "null cf and null cf"); 
-
-
diff --git a/rt/lib/t/regression/13-attribute-tests.t b/rt/lib/t/regression/13-attribute-tests.t
deleted file mode 100644 (file)
index 945bbcf..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-
-use Test::More tests => 24;
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-
-my $runid = rand(200);
-
-my $attribute = "squelch-$runid";
-
-ok(require RT::Attributes);
-
-my $user = RT::User->new($RT::SystemUser);
-ok (UNIVERSAL::isa($user, 'RT::User'));
-my ($id,$msg)  = $user->Create(Name => 'attrtest-'.$runid);
-ok ($id, $msg);
-ok($user->id, "Created a test user");
-
-ok(1, $user->Attributes->BuildSelectQuery);
-my $attr = $user->Attributes;
-
-ok(1, $attr->BuildSelectQuery);
-
-
-ok (UNIVERSAL::isa($attr,'RT::Attributes'), 'got the attributes object');
-
-($id, $msg) =  $user->AddAttribute(Name => 'TestAttr', Content => 'The attribute has content'); 
-ok ($id, $msg);
-is ($attr->Count,1, " One attr after adidng a first one");
-($id, $msg) = $attr->DeleteEntry(Name => $runid);
-ok(!$id, "Deleted non-existant entry  - $msg");
-is ($attr->Count,1, "1 attr after deleting an empty attr");
-
-my @names = $attr->Names;
-is ("@names", "TestAttr");
-
-
-($id, $msg) = $user->AddAttribute(Name => $runid, Content => "First");
-
-is ($attr->Count,2, " Two attrs after adding an attribute named $runid");
-($id, $msg) = $user->AddAttribute(Name => $runid, Content => "Second");
-ok($id, $msg);
-
-is ($attr->Count,3, " Three attrs after adding a secondvalue to $runid");
-($id, $msg) = $attr->DeleteEntry(Name => $runid, Content => "First");
-ok($id, $msg);
-is ($attr->Count,2);
-
-#$attr->_DoSearch();
-($id, $msg) = $attr->DeleteEntry(Name => $runid, Content => "Second");
-ok($id, $msg);
-is ($attr->Count,1);
-
-#$attr->_DoSearch();
-ok(1, $attr->BuildSelectQuery);
-($id, $msg) = $attr->DeleteEntry(Name => "moose");
-ok(!$id, "Deleted non-existant entry - $msg");
-is ($attr->Count,1);
-
-ok(1, $attr->BuildSelectQuery);
-@names = $attr->Names;
-is("@names", "TestAttr");
-
-
-
-1;
diff --git a/rt/lib/t/regression/14merge.t b/rt/lib/t/regression/14merge.t
deleted file mode 100644 (file)
index c916251..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-
-use Test::More  tests => '6';
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-# when you try to merge duplicate links on postgres, eveyrything goes to hell due to referential integrity constraints.
-
-
-my $t = RT::Ticket->new($RT::SystemUser);
-$t->Create(Subject => 'Main', Queue => 'general');
-
-ok ($t->id);
-my $t2 = RT::Ticket->new($RT::SystemUser);
-$t2->Create(Subject => 'Second', Queue => 'general');
-ok ($t2->id);
-
-my $t3 = RT::Ticket->new($RT::SystemUser);
-$t3->Create(Subject => 'Third', Queue => 'general');
-
-ok ($t3->id);
-
-my ($id,$val);
-($id,$val) = $t->AddLink(Type => 'DependsOn', Target => $t3->id);
-ok($id,$val);
-($id,$val) = $t2->AddLink(Type => 'DependsOn', Target => $t3->id);
-ok($id,$val);
-
-
-($id,$val) = $t->MergeInto($t2->id);
-ok($id,$val);
diff --git a/rt/lib/t/regression/15cf_single_values_are_single.t b/rt/lib/t/regression/15cf_single_values_are_single.t
deleted file mode 100644 (file)
index dcfa2e5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/perl
-use warnings;
-use strict;
-use Test::More tests => 8;
-
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-
-my $q = RT::Queue->new($RT::SystemUser);
-my ($id,$msg) =$q->Create(Name => "CF-Single-".$$);
-ok($id,$msg);
-
-my $cf = RT::CustomField->new($RT::SystemUser);
-($id,$msg) = $cf->Create(Name => 'Single-'.$$, Type => 'Select', MaxValues => '1', Queue => $q->id);
-ok($id,$msg);
-
-
-($id,$msg) =$cf->AddValue(Name => 'First');
-ok($id,$msg);
-
-($id,$msg) =$cf->AddValue(Name => 'Second');
-ok($id,$msg);
-
-
-my $t = RT::Ticket->new($RT::SystemUser);
-($id,undef,$msg) = $t->Create(Queue => $q->id,
-          Subject => 'CF Test');
-
-ok($id,$msg);
-is($t->CustomFieldValues($cf->id)->Count, 0, "No values yet");
-$t->AddCustomFieldValue(Field => $cf->id, Value => 'First');
-is($t->CustomFieldValues($cf->id)->Count, 1, "One now");
-
-$t->AddCustomFieldValue(Field => $cf->id, Value => 'Second');
-is($t->CustomFieldValues($cf->id)->Count, 1, "Still one");
-
-1;
diff --git a/rt/lib/t/regression/16-transaction_cf_tests.t b/rt/lib/t/regression/16-transaction_cf_tests.t
deleted file mode 100644 (file)
index 9e1e86c..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/usr/bin/perl
-
-use warnings;
-use strict;
-use Data::Dumper;
-use Test::More qw/no_plan/;
-
-use_ok('RT');
-use_ok('RT::Transactions');
-RT::LoadConfig();
-RT::Init();
-
-my $q = RT::Queue->new($RT::SystemUser);
-my ($id,$msg) = $q->Create( Name => 'TxnCFTest'.$$);
-ok($id,$msg);
-
-my $cf = RT::CustomField->new($RT::SystemUser);
-($id,$msg) = $cf->Create(Name => 'Txnfreeform-'.$$, Type => 'Freeform', MaxValues => '0', LookupType => RT::Transaction->CustomFieldLookupType );
-
-ok($id,$msg);
-
-($id,$msg) = $cf->AddToObject($q);
-
-ok($id,$msg);
-
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-
-my $transid;
-($id,$transid, $msg) = $ticket->Create(Queue => $q->id,
-                Subject => 'TxnCF test',
-            );
-ok($id,$msg);
-
-my $trans = RT::Transaction->new($RT::SystemUser);
-$trans->Load($transid);
-
-is($trans->ObjectId,$id);
-is ($trans->ObjectType, 'RT::Ticket');
-is ($trans->Type, 'Create');
-my $txncfs = $trans->CustomFields;
-is ($txncfs->Count, 1, "We have one custom field");
-my $txn_cf = $txncfs->First;
-is ($txn_cf->id, $cf->id, "It's the right custom field");
-my $values = $trans->CustomFieldValues($txn_cf->id);
-is ($values->Count, 0, "It has no values");
-
-# Old API
-my %cf_updates = ( 'CustomField-'.$cf->id => 'Testing');
-$trans->UpdateCustomFields( ARGSRef => \%cf_updates);
-
- $values = $trans->CustomFieldValues($txn_cf->id);
-is ($values->Count, 1, "It has one value");
-
-# New API
-
-$trans->UpdateCustomFields( 'CustomField-'.$cf->id => 'Test two');
- $values = $trans->CustomFieldValues($txn_cf->id);
-is ($values->Count, 2, "it has two values");
-
-# TODO ok(0, "Should updating custom field values remove old values?");
diff --git a/rt/lib/t/regression/17multiple_deleg_revocation.t b/rt/lib/t/regression/17multiple_deleg_revocation.t
deleted file mode 100644 (file)
index 1ed0404..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-#!/usr/bin/perl -w
-
-use Test::More qw(no_plan);
-
-use RT;
-
-ok( RT::LoadConfig, "Locating config files" );
-ok( RT::Init,       "Basic initialization and DB connectivity" );
-
-my ($u1, $g1, $pg1, $pg2, $ace, @groups, @users, @principals);
-@groups = (\$g1, \$pg1, \$pg2);
-@users = (\$u1);
-@principals = (@groups, @users);
-
-my($ret, $msg);
-
-$u1 = RT::User->new($RT::SystemUser);
-( $ret, $msg ) = $u1->LoadOrCreateByEmail('delegtest1@example.com');
-ok( $ret, "Load / Create test user 1: $msg" );
-$u1->SetPrivileged(1);
-
-$g1 = RT::Group->new($RT::SystemUser);
-( $ret, $msg) = $g1->LoadUserDefinedGroup('dg1');
-unless ($ret) {
-    ( $ret, $msg ) = $g1->CreateUserDefinedGroup( Name => 'dg1' );
-}
-$pg1 = RT::Group->new($RT::SystemUser);
-( $ret, $msg ) = $pg1->LoadPersonalGroup( Name => 'dpg1',
-                                         User => $u1->PrincipalId );
-unless ($ret) {
-    ( $ret, $msg ) = $pg1->CreatePersonalGroup( Name => 'dpg1',
-                                               PrincipalId => $u1->PrincipalId );
-}
-ok( $ret, "Load / Create test personal group 1: $msg" );
-$pg2 = RT::Group->new($RT::SystemUser);
-( $ret, $msg ) = $pg2->LoadPersonalGroup( Name => 'dpg2',
-                                         User => $u1->PrincipalId );
-unless ($ret) {
-    ( $ret, $msg ) = $pg2->CreatePersonalGroup( Name => 'dpg2',
-                                               PrincipalId => $u1->PrincipalId );
-}
-ok( $ret, "Load / Create test personal group 2: $msg" );
-
-clear_acls_and_groups();
-
-( $ret, $msg ) = $u1->PrincipalObj->GrantRight( Right => 'DelegateRights' );
-ok( $ret, "Grant DelegateRights to u1: $msg" );
-( $ret, $msg ) = $g1->PrincipalObj->GrantRight( Right => 'ShowConfigTab' );
-ok( $ret, "Grant ShowConfigTab to g1: $msg" );
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-
-$ace = RT::ACE->new($u1);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'ShowConfigTab',
-    Object        => $RT::System,
-    PrincipalType => 'Group',
-    PrincipalId   => $g1->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg1: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg2->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg2: $msg" );
-
-ok(( $pg1->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                  Object => $RT::System ) and
-     $pg2->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                  Object => $RT::System )),
-   "Test personal groups have ShowConfigTab right after delegation" );
-
-( $ret, $msg ) = $g1->DeleteMember( $u1->PrincipalId );
-ok( $ret, "Delete test user 1 from g1: $msg" );
-
-ok( not( $pg1->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                      Object => $RT::System )),
-    "Test personal group 1 lacks ShowConfigTab after user removed from g1" );
-ok( not( $pg2->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                      Object => $RT::System )),
-    "Test personal group 2 lacks ShowConfigTab after user removed from g1" );
-
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg1: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg2->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg2: $msg" );
-
-ok(( $pg1->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                  Object => $RT::System ) and
-     $pg2->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                  Object => $RT::System )),
-   "Test personal groups have ShowConfigTab right after delegation" );
-
-( $ret, $msg ) = $g1->PrincipalObj->RevokeRight( Right => 'ShowConfigTab' );
-ok( $ret, "Revoke ShowConfigTab from g1: $msg" );
-
-ok( not( $pg1->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                      Object => $RT::System )),
-    "Test personal group 1 lacks ShowConfigTab after user removed from g1" );
-ok( not( $pg2->PrincipalObj->HasRight( Right  => 'ShowConfigTab',
-                                      Object => $RT::System )),
-    "Test personal group 2 lacks ShowConfigTab after user removed from g1" );
-
-
-
-#######
-
-sub clear_acls_and_groups {
-    # Revoke all rights granted to our cast
-    my $acl = RT::ACL->new($RT::SystemUser);
-    foreach (@principals) {
-       $acl->LimitToPrincipal(Type => $$_->PrincipalObj->PrincipalType,
-                              Id => $$_->PrincipalObj->Id);
-    }
-    while (my $ace = $acl->Next()) {
-       $ace->Delete();
-    }
-
-    # Remove all group memberships
-    my $members = RT::GroupMembers->new($RT::SystemUser);
-    foreach (@groups) {
-       $members->LimitToMembersOfGroup( $$_->PrincipalId );
-    }
-    while (my $member = $members->Next()) {
-       $member->Delete();
-    }
-
-    $acl->RedoSearch();
-    ok( $acl->Count() == 0,
-       "All principals have no rights after clearing ACLs" );
-    $members->RedoSearch();
-    ok( $members->Count() == 0,
-       "All groups have no members after clearing groups" );
-}
diff --git a/rt/lib/t/regression/18stale_delegations_cleanup.t b/rt/lib/t/regression/18stale_delegations_cleanup.t
deleted file mode 100644 (file)
index 84e666e..0000000
+++ /dev/null
@@ -1,458 +0,0 @@
-#!/usr/bin/perl -w
-
-# Regression test suite for http://rt3.fsck.com/Ticket/Display.html?id=6184
-# and related corner cases related to cleanup of delegated ACEs when
-# the delegator loses the right to delegate.  This causes complexities
-# due to the fact that multiple ACEs can grant different delegation
-# rights to a principal, and because DelegateRights and SuperUser can
-# themselves be delegated.
-
-# The case where the "parent" delegated ACE is removed is handled in
-# the embedded regression tests in lib/RT/ACE_Overlay.pm .
-
-use Test::More qw(no_plan);
-
-use RT;
-
-ok( RT::LoadConfig, "Locating config files" );
-ok( RT::Init,       "Basic initialization and DB connectivity" );
-
-my ($u1, $u2, $g1, $g2, $g3, $pg1, $pg2, $ace, @groups, @users, @principals);
-@groups = (\$g1, \$g2, \$g3, \$pg1, \$pg2);
-@users = (\$u1, \$u2);
-@principals = (@groups, @users);
-
-my($ret, $msg);
-
-$u1 = RT::User->new($RT::SystemUser);
-( $ret, $msg ) = $u1->LoadOrCreateByEmail('delegtest1@example.com');
-ok( $ret, "Load / Create test user 1: $msg" );
-$u1->SetPrivileged(1);
-$u2 = RT::User->new($RT::SystemUser);
-( $ret, $msg ) = $u2->LoadOrCreateByEmail('delegtest2@example.com');
-ok( $ret, "Load / Create test user 2: $msg" );
-$u2->SetPrivileged(1);
-$g1 = RT::Group->new($RT::SystemUser);
-( $ret, $msg) = $g1->LoadUserDefinedGroup('dg1');
-unless ($ret) {
-    ( $ret, $msg ) = $g1->CreateUserDefinedGroup( Name => 'dg1' );
-}
-ok( $ret, "Load / Create test group 1: $msg" );
-$g2 = RT::Group->new($RT::SystemUser);
-( $ret, $msg) = $g2->LoadUserDefinedGroup('dg2');
-unless ($ret) {
-    ( $ret, $msg ) = $g2->CreateUserDefinedGroup( Name => 'dg2' );
-}
-ok( $ret, "Load / Create test group 2: $msg" );
-$g3 = RT::Group->new($RT::SystemUser);
-( $ret, $msg) = $g3->LoadUserDefinedGroup('dg3');
-unless ($ret) {
-    ( $ret, $msg ) = $g3->CreateUserDefinedGroup( Name => 'dg3' );
-}
-ok( $ret, "Load / Create test group 3: $msg" );
-$pg1 = RT::Group->new($RT::SystemUser);
-( $ret, $msg ) = $pg1->LoadPersonalGroup( Name => 'dpg1',
-                                         User => $u1->PrincipalId );
-unless ($ret) {
-    ( $ret, $msg ) = $pg1->CreatePersonalGroup( Name => 'dpg1',
-                                               PrincipalId => $u1->PrincipalId );
-}
-ok( $ret, "Load / Create test personal group 1: $msg" );
-$pg2 = RT::Group->new($RT::SystemUser);
-( $ret, $msg ) = $pg2->LoadPersonalGroup( Name => 'dpg2',
-                                         User => $u2->PrincipalId );
-unless ($ret) {
-    ( $ret, $msg ) = $pg2->CreatePersonalGroup( Name => 'dpg2',
-                                               PrincipalId => $u2->PrincipalId );
-}
-ok( $ret, "Load / Create test personal group 2: $msg" );
-
-
-
-# Basic case: u has global DelegateRights through g1 and ShowConfigTab
-# through g2; then u is removed from g1.
-
-clear_acls_and_groups();
-
-( $ret, $msg ) = $g1->PrincipalObj->GrantRight( Right => 'DelegateRights' );
-ok( $ret, "Grant DelegateRights to g1: $msg" );
-( $ret, $msg ) = $g2->PrincipalObj->GrantRight( Right => 'ShowConfigTab' );
-ok( $ret, "Grant ShowConfigTab to g2: $msg" );
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-ok(
-    $u1->PrincipalObj->HasRight(
-        Right  => 'DelegateRights',
-        Object => $RT::System
-    ),
-    "test user 1 has DelegateRights after joining g1"
-);
-( $ret, $msg ) = $g2->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g2: $msg" );
-ok(
-    $u1->PrincipalObj->HasRight(
-        Right  => 'ShowConfigTab',
-        Object => $RT::System
-    ),
-    "test user 1 has ShowConfigTab after joining g2"
-);
-
-$ace = RT::ACE->new($u1);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'ShowConfigTab',
-    Object        => $RT::System,
-    PrincipalType => 'Group',
-    PrincipalId   => $g2->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg1: $msg" );
-ok(
-    $pg1->PrincipalObj->HasRight(
-        Right  => 'ShowConfigTab',
-        Object => $RT::System
-    ),
-    "Test personal group 1 has ShowConfigTab right after delegation"
-);
-
-( $ret, $msg ) = $g1->DeleteMember( $u1->PrincipalId );
-ok( $ret, "Delete test user 1 from g1: $msg" );
-ok(
-    not(
-        $pg1->PrincipalObj->HasRight(
-            Right  => 'ShowConfigTab',
-            Object => $RT::System
-        )
-    ),
-    "Test personal group 1 lacks ShowConfigTab right after user removed from g1"
-);
-
-# Basic case: u has global DelegateRights through g1 and ShowConfigTab
-# through g2; then DelegateRights revoked from g1.
-
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg1: $msg" );
-( $ret, $msg ) = $g1->PrincipalObj->RevokeRight( Right => 'DelegateRights' );
-ok( $ret, "Revoke DelegateRights from g1: $msg" );
-ok(
-    not(
-        $pg1->PrincipalObj->HasRight(
-            Right  => 'ShowConfigTab',
-            Object => $RT::System
-        )
-    ),
-    "Test personal group 1 lacks ShowConfigTab right after DelegateRights revoked from g1"
-);
-
-
-
-# Corner case - restricted delegation: u has DelegateRights on pg1
-# through g1 and AdminGroup on pg1 through g2; then DelegateRights
-# revoked from g1.
-
-clear_acls_and_groups();
-
-( $ret, $msg ) = $g1->PrincipalObj->GrantRight( Right => 'DelegateRights',
-                                               Object => $pg1);
-ok( $ret, "Grant DelegateRights on pg1 to g1: $msg" );
-( $ret, $msg ) = $g2->PrincipalObj->GrantRight( Right => 'AdminGroup',
-                                               Object => $pg1);
-ok( $ret, "Grant AdminGroup on pg1 to g2: $msg" );
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-( $ret, $msg ) = $g2->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g2: $msg" );
-ok( $u1->PrincipalObj->HasRight(
-        Right  => 'DelegateRights',
-        Object => $pg1 ),
-    "test user 1 has DelegateRights on pg1 after joining g1" );
-ok( not( $u1->PrincipalObj->HasRight(
-            Right  => 'DelegateRights',
-            Object => $RT::System )),
-    "Test personal group 1 lacks global DelegateRights after joining g1" );
-$ace = RT::ACE->new($u1);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'AdminGroup',
-    Object        => $pg1,
-    PrincipalType => 'Group',
-    PrincipalId   => $g2->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate AdminGroup on pg1 to pg1: $msg" );
-ok( $pg1->PrincipalObj->HasRight(
-        Right  => 'AdminGroup',
-        Object => $pg1 ),
-    "Test personal group 1 has AdminGroup right on pg1 after delegation" );
-( $ret, $msg ) = $g1->PrincipalObj->RevokeRight ( Right => 'DelegateRights',
-                                                 Object => $pg1 );
-ok( $ret, "Revoke DelegateRights on pg1 from g1: $msg" );
-ok( not( $pg1->PrincipalObj->HasRight(
-            Right  => 'AdminGroup',
-            Object => $pg1 )),
-    "Test personal group 1 lacks AdminGroup right on pg1 after DelegateRights revoked from g1" );
-( $ret, $msg ) = $g1->PrincipalObj->GrantRight( Right => 'DelegateRights',
-                                               Object => $pg1);
-
-# Corner case - restricted delegation: u has DelegateRights on pg1
-# through g1 and AdminGroup on pg1 through g2; then u removed from g1.
-
-ok( $ret, "Grant DelegateRights on pg1 to g1: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate AdminGroup on pg1 to pg1: $msg" );
-ok( $pg1->PrincipalObj->HasRight(
-        Right  => 'AdminGroup',
-        Object => $pg1 ),
-    "Test personal group 1 has AdminGroup right on pg1 after delegation" );
-( $ret, $msg ) = $g1->DeleteMember( $u1->PrincipalId );
-ok( $ret, "Delete test user 1 from g1: $msg" );
-ok( not( $pg1->PrincipalObj->HasRight(
-            Right  => 'AdminGroup',
-            Object => $pg1 )),
-    "Test personal group 1 lacks AdminGroup right on pg1 after user removed from g1" );
-
-clear_acls_and_groups();
-
-
-
-# Corner case - multiple delegation rights: u has global
-# DelegateRights directly and DelegateRights on pg1 through g1, and
-# AdminGroup on pg1 through g2; then u removed from g1 (delegation
-# should remain); then DelegateRights revoked from u (delegation
-# should not remain).
-
-( $ret, $msg ) = $g1->PrincipalObj->GrantRight( Right => 'DelegateRights',
-                                               Object => $pg1);
-ok( $ret, "Grant DelegateRights on pg1 to g1: $msg" );
-( $ret, $msg ) = $g2->PrincipalObj->GrantRight( Right => 'AdminGroup',
-                                               Object => $pg1);
-ok( $ret, "Grant AdminGroup on pg1 to g2: $msg" );
-( $ret, $msg ) = $u1->PrincipalObj->GrantRight( Right => 'DelegateRights',
-                                              Object => $RT::System);
-ok( $ret, "Grant DelegateRights to user: $msg" );
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-( $ret, $msg ) = $g2->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g2: $msg" );
-$ace = RT::ACE->new($u1);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'AdminGroup',
-    Object        => $pg1,
-    PrincipalType => 'Group',
-    PrincipalId   => $g2->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate AdminGroup on pg1 to pg1: $msg" );
-( $ret, $msg ) = $g1->DeleteMember( $u1->PrincipalId );
-ok( $ret, "Delete test user 1 from g1: $msg" );
-ok( $pg1->PrincipalObj->HasRight(Right  => 'AdminGroup',
-                               Object => $pg1),
-    "Test personal group 1 retains AdminGroup right on pg1 after user removed from g1" );
-( $ret, $msg ) = $u1->PrincipalObj->RevokeRight( Right => 'DelegateRights',
-                                               Object => $RT::System );
-ok( not ($pg1->PrincipalObj->HasRight(Right  => 'AdminGroup',
-                                    Object => $pg1)),
-    "Test personal group 1 lacks AdminGroup right on pg1 after DelegateRights revoked");
-
-# Corner case - multiple delegation rights and selectivity: u has
-# DelegateRights globally and on g2 directly and DelegateRights on pg1
-# through g1, and AdminGroup on pg1 through g2; then global
-# DelegateRights revoked from u (delegation should remain),
-# DelegateRights on g2 revoked from u (delegation should remain), and
-# u removed from g1 (delegation should not remain).
-
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-( $ret, $msg ) = $u1->PrincipalObj->GrantRight( Right => 'DelegateRights',
-                                              Object => $RT::System);
-ok( $ret, "Grant DelegateRights to user: $msg" );
-( $ret, $msg ) = $u1->PrincipalObj->GrantRight( Right => 'DelegateRights',
-                                              Object => $g2);
-ok( $ret, "Grant DelegateRights on g2 to user: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate AdminGroup on pg1 to pg1: $msg" );
-( $ret, $msg ) = $u1->PrincipalObj->RevokeRight( Right => 'DelegateRights',
-                                               Object => $RT::System );
-ok( $pg1->PrincipalObj->HasRight(Right  => 'AdminGroup',
-                               Object => $pg1),
-    "Test personal group 1 retains AdminGroup right on pg1 after global DelegateRights revoked" );
-( $ret, $msg ) = $u1->PrincipalObj->RevokeRight( Right => 'DelegateRights',
-                                               Object => $g2 );
-ok( $pg1->PrincipalObj->HasRight(Right  => 'AdminGroup',
-                               Object => $pg1),
-    "Test personal group 1 retains AdminGroup right on pg1 after DelegateRights on g2 revoked" );
-( $ret, $msg ) = $g1->DeleteMember( $u1->PrincipalId );
-ok( $ret, "Delete test user 1 from g1: $msg" );
-ok( not ($pg1->PrincipalObj->HasRight(Right  => 'AdminGroup',
-                                    Object => $pg1)),
-    "Test personal group 1 lacks AdminGroup right on pg1 after user removed from g1");
-
-
-
-# Corner case - indirect delegation rights: u has DelegateRights
-# through g1 via g3, and ShowConfigTab via g2; then g3 removed from
-# g1.
-
-clear_acls_and_groups();
-
-( $ret, $msg ) = $g1->PrincipalObj->GrantRight( Right => 'DelegateRights' );
-ok( $ret, "Grant DelegateRights to g1: $msg" );
-( $ret, $msg ) = $g2->PrincipalObj->GrantRight( Right => 'ShowConfigTab' );
-ok( $ret, "Grant ShowConfigTab to g2: $msg" );
-( $ret, $msg ) = $g1->AddMember( $g3->PrincipalId );
-ok( $ret, "Add g3 to g1: $msg" );
-( $ret, $msg ) = $g3->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g3: $msg" );
-( $ret, $msg ) = $g2->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g2: $msg" );
-
-$ace = RT::ACE->new($u1);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'ShowConfigTab',
-    Object        => $RT::System,
-    PrincipalType => 'Group',
-    PrincipalId   => $g2->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg1: $msg" );
-
-( $ret, $msg ) = $g1->DeleteMember( $g3->PrincipalId );
-ok( $ret, "Delete g3 from g1: $msg" );
-ok( not ($pg1->PrincipalObj->HasRight(Right  => 'ShowConfigTab',
-                                    Object => $RT::System)),
-        "Test personal group 1 lacks ShowConfigTab right after g3 removed from g1");
-
-# Corner case - indirect delegation rights: u has DelegateRights
-# through g1 via g3, and ShowConfigTab via g2; then DelegateRights
-# revoked from g1.
-
-( $ret, $msg ) = $g1->AddMember( $g3->PrincipalId );
-ok( $ret, "Add g3 to g1: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg1: $msg" );
-( $ret, $msg ) = $g1->PrincipalObj->RevokeRight ( Right => 'DelegateRights' );
-ok( $ret, "Revoke DelegateRights from g1: $msg" );
-
-ok( not ($pg1->PrincipalObj->HasRight(Right  => 'ShowConfigTab',
-                                    Object => $RT::System)),
-        "Test personal group 1 lacks ShowConfigTab right after DelegateRights revoked from g1");
-
-
-
-# Corner case - delegation of DelegateRights: u1 has DelegateRights
-# via g1 and delegates DelegateRights to pg1; u2 has DelegateRights
-# via pg1 and ShowConfigTab via g2; then u1 removed from g1.
-
-clear_acls_and_groups();
-
-( $ret, $msg ) = $g1->PrincipalObj->GrantRight( Right => 'DelegateRights' );
-ok( $ret, "Grant DelegateRights to g1: $msg" );
-( $ret, $msg ) = $g2->PrincipalObj->GrantRight( Right => 'ShowConfigTab' );
-ok( $ret, "Grant ShowConfigTab to g2: $msg" );
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add test user 1 to g1: $msg" );
-$ace = RT::ACE->new($u1);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'DelegateRights',
-    Object        => $RT::System,
-    PrincipalType => 'Group',
-    PrincipalId   => $g1->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate DelegateRights to pg1: $msg" );
-
-( $ret, $msg ) = $pg1->AddMember( $u2->PrincipalId );
-ok( $ret, "Add test user 2 to pg1: $msg" );
-( $ret, $msg ) = $g2->AddMember( $u2->PrincipalId );
-ok( $ret, "Add test user 2 to g2: $msg" );
-$ace = RT::ACE->new($u2);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'ShowConfigTab',
-    Object        => $RT::System,
-    PrincipalType => 'Group',
-    PrincipalId   => $g2->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg2->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg2: $msg" );
-
-ok( $pg2->PrincipalObj->HasRight(Right  => 'ShowConfigTab',
-                                Object => $RT::System),
-    "Test personal group 2 has ShowConfigTab right after delegation");
-( $ret, $msg ) = $g1->DeleteMember( $u1->PrincipalId );
-ok( $ret, "Delete u1 from g1: $msg" );
-ok( not ($pg2->PrincipalObj->HasRight(Right  => 'ShowConfigTab',
-                                     Object => $RT::System)),
-        "Test personal group 2 lacks ShowConfigTab right after u1 removed from g1");
-
-# Corner case - delegation of DelegateRights: u1 has DelegateRights
-# via g1 and delegates DelegateRights to pg1; u2 has DelegateRights
-# via pg1 and ShowConfigTab via g2; then DelegateRights revoked from
-# g1.
-
-( $ret, $msg ) = $g1->AddMember( $u1->PrincipalId );
-ok( $ret, "Add u1 to g1: $msg" );
-$ace = RT::ACE->new($u1);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'DelegateRights',
-    Object        => $RT::System,
-    PrincipalType => 'Group',
-    PrincipalId   => $g1->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg1->PrincipalId );
-ok( $ret, "Delegate DelegateRights to pg1: $msg" );
-$ace = RT::ACE->new($u2);
-( $ret, $msg ) = $ace->LoadByValues(
-    RightName     => 'ShowConfigTab',
-    Object        => $RT::System,
-    PrincipalType => 'Group',
-    PrincipalId   => $g2->PrincipalId
-);
-ok( $ret, "Look up ACE to be delegated: $msg" );
-( $ret, $msg ) = $ace->Delegate( PrincipalId => $pg2->PrincipalId );
-ok( $ret, "Delegate ShowConfigTab to pg2: $msg" );
-
-( $ret, $msg ) = $g1->PrincipalObj->RevokeRight ( Right => 'DelegateRights' );
-ok( $ret, "Revoke DelegateRights from g1: $msg" );
-ok( not ($pg2->PrincipalObj->HasRight(Right  => 'ShowConfigTab',
-                                     Object => $RT::System)),
-        "Test personal group 2 lacks ShowConfigTab right after DelegateRights revoked from g1");
-
-
-
-
-#######
-
-sub clear_acls_and_groups {
-    # Revoke all rights granted to our cast
-    my $acl = RT::ACL->new($RT::SystemUser);
-    foreach (@principals) {
-       $acl->LimitToPrincipal(Type => $$_->PrincipalObj->PrincipalType,
-                              Id => $$_->PrincipalObj->Id);
-    }
-    while (my $ace = $acl->Next()) {
-       $ace->Delete();
-    }
-
-    # Remove all group memberships
-    my $members = RT::GroupMembers->new($RT::SystemUser);
-    foreach (@groups) {
-       $members->LimitToMembersOfGroup( $$_->PrincipalId );
-    }
-    while (my $member = $members->Next()) {
-       $member->Delete();
-    }
-
-    $acl->RedoSearch();
-    ok( $acl->Count() == 0,
-       "All principals have no rights after clearing ACLs" );
-    $members->RedoSearch();
-    ok( $members->Count() == 0,
-       "All groups have no members after clearing groups" );
-}
diff --git a/rt/lib/t/regression/19-rtname.t b/rt/lib/t/regression/19-rtname.t
deleted file mode 100644 (file)
index b654df2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/perl
-use strict;
-use warnings;
-use Test::More qw/no_plan/;
-
-use_ok("RT");
-
-RT::LoadConfig();
-RT::Init();
-
-use RT::Interface::Email;
-
-# normal use case, regexp set to rtname
-$RT::rtname = "site";
-$RT::EmailSubjectTagRegex = qr/$RT::rtname/ ;
-$RT::rtname = undef;
-is(RT::Interface::Email::ParseTicketId("[site #123] test"), 123);
-is(RT::Interface::Email::ParseTicketId("[othersite #123] test"), undef);
-
-# oops usecase, where the regexp is scragged
-$RT::rtname = "site";
-$RT::EmailSubjectTagRegex = undef;
-is(RT::Interface::Email::ParseTicketId("[site #123] test"), 123);
-is(RT::Interface::Email::ParseTicketId("[othersite #123] test"), undef);
-
-# set to a simple regexp. NOTE: we no longer match "site"
-$RT::rtname = "site";
-$RT::EmailSubjectTagRegex = qr/newsite/;
-is(RT::Interface::Email::ParseTicketId("[site #123] test"), undef);
-is(RT::Interface::Email::ParseTicketId("[newsite #123] test"), 123);
-
-# set to a more complex regexp
-$RT::rtname = "site";
-$RT::EmailSubjectTagRegex = qr/newsite||site/;
-is(RT::Interface::Email::ParseTicketId("[site #123] test"), 123);
-is(RT::Interface::Email::ParseTicketId("[newsite #123] test"), 123);
-is(RT::Interface::Email::ParseTicketId("[othersite #123] test"), undef);
-
diff --git a/rt/lib/t/regression/20savedsearch.t b/rt/lib/t/regression/20savedsearch.t
deleted file mode 100644 (file)
index f4439f9..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-use RT;
-use Test::More tests => 26;
-use RT::User;
-use RT::Group;
-use RT::Ticket;
-use RT::Queue;
-
-use_ok(RT::SavedSearch);
-use_ok(RT::SavedSearches);
-
-RT::LoadConfig();
-RT::Init();
-
-# Set up some infrastructure.  These calls are tested elsewhere.
-
-my $searchuser = RT::User->new($RT::SystemUser);
-my ($ret, $msg) = $searchuser->Create(Name => 'searchuser'.$$,
-                   Privileged => 1,
-                   EmailAddress => "searchuser\@p$$.example.com",
-                   RealName => 'Search user');
-ok($ret, "created searchuser: $msg");
-$searchuser->PrincipalObj->GrantRight(Right => 'LoadSavedSearch');
-$searchuser->PrincipalObj->GrantRight(Right => 'CreateSavedSearch');
-$searchuser->PrincipalObj->GrantRight(Right => 'ModifySelf');
-
-# This is the group whose searches searchuser should be able to see.
-my $ingroup = RT::Group->new($RT::SystemUser);
-$ingroup->CreateUserDefinedGroup(Name => 'searchgroup1'.$$);
-$ingroup->AddMember($searchuser->Id);
-$searchuser->PrincipalObj->GrantRight(Right => 'EditSavedSearches',
-                                     Object => $ingroup);
-$searchuser->PrincipalObj->GrantRight(Right => 'ShowSavedSearches',
-                                     Object => $ingroup);
-
-# This is the group whose searches searchuser should not be able to see.
-my $outgroup = RT::Group->new($RT::SystemUser);
-$outgroup->CreateUserDefinedGroup(Name => 'searchgroup2'.$$);
-$outgroup->AddMember($RT::SystemUser->Id);
-
-my $queue = RT::Queue->new($RT::SystemUser);
-$queue->Create(Name => 'SearchQueue'.$$);
-$searchuser->PrincipalObj->GrantRight(Right => 'SeeQueue', Object => $queue);
-$searchuser->PrincipalObj->GrantRight(Right => 'ShowTicket', Object => $queue);
-$searchuser->PrincipalObj->GrantRight(Right => 'OwnTicket', Object => $queue);
-
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-$ticket->Create(Queue => $queue->Id,
-               Requestor => [ $searchuser->Name ],
-               Owner => $searchuser,
-               Subject => 'saved search test');
-
-
-# Now start the search madness.
-my $curruser = RT::CurrentUser->new($searchuser);
-my $format = '\'   <b><a href="/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#\',
-\'<b><a href="/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject\',
-\'__Status__\',
-\'__QueueName__\',
-\'__OwnerName__\',
-\'__Priority__\',
-\'__NEWLINE__\',
-\'\',
-\'<small>__Requestors__</small>\',
-\'<small>__CreatedRelative__</small>\',
-\'<small>__ToldRelative__</small>\',
-\'<small>__LastUpdatedRelative__</small>\',
-\'<small>__TimeLeft__</small>\'';
-
-my ($ret, $msg);
-my $mysearch = RT::SavedSearch->new($curruser);
-($ret, $msg) = $mysearch->Save(Privacy => 'RT::User-' . $searchuser->Id,
-                              Type => 'Ticket',
-                              Name => 'owned by me',
-                              SearchParams => {'Format' => $format,
-                                               'Query' => "Owner = '" 
-                                                   . $searchuser->Name 
-                                                   . "'"});
-ok($ret, "mysearch was created");
-
-
-my $groupsearch = RT::SavedSearch->new($curruser);
-($ret, $msg) = $groupsearch->Save(Privacy => 'RT::Group-' . $ingroup->Id,
-                                 Type => 'Ticket',
-                                 Name => 'search queue',
-                                 SearchParams => {'Format' => $format,
-                                                  'Query' => "Queue = '"
-                                                      . $queue->Name . "'"});
-ok($ret, "groupsearch was created");
-
-my $othersearch = RT::SavedSearch->new($curruser);
-($ret, $msg) = $othersearch->Save(Privacy => 'RT::Group-' . $outgroup->Id,
-                                 Type => 'Ticket',
-                                 Name => 'searchuser requested',
-                                 SearchParams => {'Format' => $format,
-                                                  'Query' => 
-                                                      "Requestor.Name LIKE 'search'"});
-ok(!$ret, "othersearch NOT created");
-like($msg, qr/Failed to load object for/, "...for the right reason");
-
-$othersearch = RT::SavedSearch->new($RT::SystemUser);
-($ret, $msg) = $othersearch->Save(Privacy => 'RT::Group-' . $outgroup->Id,
-                                 Type => 'Ticket',
-                                 Name => 'searchuser requested',
-                                 SearchParams => {'Format' => $format,
-                                                  'Query' => 
-                                                      "Requestor.Name LIKE 'search'"});
-ok($ret, "othersearch created by systemuser");
-
-# Now try to load some searches.
-
-# This should work.
-my $loadedsearch1 = RT::SavedSearch->new($curruser);
-$loadedsearch1->Load('RT::User-'.$curruser->Id, $mysearch->Id);
-is($loadedsearch1->Id, $mysearch->Id, "Loaded mysearch");
-like($loadedsearch1->GetParameter('Query'), qr/Owner/, 
-     "Retrieved query of mysearch");
-# Check through the other accessor methods.
-is($loadedsearch1->Privacy, 'RT::User-' . $curruser->Id,
-   "Privacy of mysearch correct");
-is($loadedsearch1->Name, 'owned by me', "Name of mysearch correct");
-is($loadedsearch1->Type, 'Ticket', "Type of mysearch correct");
-
-# See if it can be used to search for tickets.
-my $tickets = RT::Tickets->new($curruser);
-$tickets->FromSQL($loadedsearch1->GetParameter('Query'));
-is($tickets->Count, 1, "Found a ticket");
-
-# This should fail -- wrong object.
-# my $loadedsearch2 = RT::SavedSearch->new($curruser);
-# $loadedsearch2->Load('RT::User-'.$curruser->Id, $groupsearch->Id);
-# isnt($loadedsearch2->Id, $othersearch->Id, "Didn't load groupsearch as mine");
-# ...but this should succeed.
-my $loadedsearch3 = RT::SavedSearch->new($curruser);
-$loadedsearch3->Load('RT::Group-'.$ingroup->Id, $groupsearch->Id);
-is($loadedsearch3->Id, $groupsearch->Id, "Loaded groupsearch");
-like($loadedsearch3->GetParameter('Query'), qr/Queue/,
-     "Retrieved query of groupsearch");
-# Can it get tickets?
-$tickets = RT::Tickets->new($curruser);
-$tickets->FromSQL($loadedsearch3->GetParameter('Query'));
-is($tickets->Count, 1, "Found a ticket");
-
-# This should fail -- no permission.
-my $loadedsearch4 = RT::SavedSearch->new($curruser);
-$loadedsearch4->Load($othersearch->Privacy, $othersearch->Id);
-isnt($loadedsearch4->Id, $othersearch->Id, "Did not load othersearch");
-
-# Try to update an existing search.
-$loadedsearch1->Update(        SearchParams => {'Format' => $format,
-                       'Query' => "Queue = '" . $queue->Name . "'" } );
-like($loadedsearch1->GetParameter('Query'), qr/Queue/,
-     "Updated mysearch parameter");
-is($loadedsearch1->Type, 'Ticket', "mysearch is still for tickets");
-is($loadedsearch1->Privacy, 'RT::User-'.$curruser->Id,
-   "mysearch still belongs to searchuser");
-like($mysearch->GetParameter('Query'), qr/Queue/, "other mysearch object updated");
-
-
-## Right ho.  Test the pseudo-collection object.
-
-my $genericsearch = RT::SavedSearch->new($curruser);
-$genericsearch->Save(Name => 'generic search',
-                    Type => 'all',
-                    SearchParams => {'Query' => "Queue = 'General'"});
-
-my $ticketsearches = RT::SavedSearches->new($curruser);
-$ticketsearches->LimitToPrivacy('RT::User-'.$curruser->Id, 'Ticket');
-is($ticketsearches->Count, 1, "Found searchuser's ticket searches");
-
-my $allsearches = RT::SavedSearches->new($curruser);
-$allsearches->LimitToPrivacy('RT::User-'.$curruser->Id);
-is($allsearches->Count, 2, "Found all searchuser's searches");
-
-# Delete a search.
-($ret, $msg) = $genericsearch->Delete;
-ok($ret, "Deleted genericsearch");
-$allsearches->LimitToPrivacy('RT::User-'.$curruser->Id);
-is($allsearches->Count, 1, "Found all searchuser's searches after deletion");
-
diff --git a/rt/lib/t/regression/21query-builder.t b/rt/lib/t/regression/21query-builder.t
deleted file mode 100644 (file)
index be04599..0000000
+++ /dev/null
@@ -1,204 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use Test::More tests => 31;
-use Test::WWW::Mechanize;
-use HTTP::Request::Common;
-use HTTP::Cookies;
-use LWP;
-use Encode;
-
-my $cookie_jar = HTTP::Cookies->new;
-my $agent = Test::WWW::Mechanize->new();
-
-# give the agent a place to stash the cookies
-
-$agent->cookie_jar($cookie_jar);
-
-use RT;
-RT::LoadConfig;
-
-# get the top page
-my $url = $RT::WebURL;
-$agent->get($url);
-
-is ($agent->{'status'}, 200, "Loaded a page");
-
-
-# {{{ test a login
-
-# follow the link marked "Login"
-
-ok($agent->{form}->find_input('user'));
-
-ok($agent->{form}->find_input('pass'));
-ok ($agent->{'content'} =~ /username:/i);
-$agent->field( 'user' => 'root' );
-$agent->field( 'pass' => 'password' );
-# the field isn't named, so we have to click link 0
-$agent->click(0);
-is($agent->{'status'}, 200, "Fetched the page ok");
-ok( $agent->{'content'} =~ /Logout/i, "Found a logout link");
-
-# }}}
-
-# {{{ Query Builder tests
-
-my $response = $agent->get($url."Search/Build.html");
-ok( $response->is_success, "Fetched " . $url."Search/Build.html" );
-
-# Adding items
-
-# set the first value
-ok($agent->form_name('BuildQuery'), "found the form once");
-$agent->field("ActorField", "Owner");
-$agent->field("ActorOp", "=");
-$agent->field("ValueOfActor", "Nobody");
-$agent->submit();
-
-# set the next value
-ok($agent->form_name('BuildQuery'), "found the form again");
-$agent->field("QueueOp", "!=");
-$agent->field("ValueOfQueue", "Regression");
-$agent->submit();
-
-ok($agent->form_name('BuildQuery'), "found the form a third time");
-
-sub getQueryFromForm {
-    # This pulls out the "hidden input" query from the page
-    my $q = $agent->current_form->find_input("Query")->value;
-    $q =~ s/^\s+//g;
-    $q =~ s/\s+$//g;
-    $q =~ s/\s+/ /g;
-    return $q;
-}
-
-is (getQueryFromForm, "Owner = 'Nobody' AND Queue != 'Regression'");
-
-# We're going to delete the owner
-
-$agent->select("clauses", ["0"] );
-
-$agent->click("DeleteClause");
-
-ok($agent->form_name('BuildQuery'), "found the form a fourth time");
-
-is (getQueryFromForm, "Queue != 'Regression'");
-
-$agent->field("AndOr", "OR");
-
-$agent->select("idOp", ">");
-
-$agent->field("ValueOfid" => "1234");
-
-$agent->click("AddClause");
-
-ok($agent->form_name('BuildQuery'), "found the form again");
-TODO: {
-  local $TODO = "query builder incorrectly quotes numbers";
-  is(getQueryFromForm, "Queue != 'Regression' OR id > 1234", "added something as OR, and number not quoted");
-}
-
-sub selectedClauses {
-    my @clauses = grep { defined } map { $_->value } $agent->current_form->find_input("clauses");
-    return [ @clauses ];
-}
-
-
-is_deeply(selectedClauses, ["1"], 'the id that we just entered is still selected');
-
-# Move the second one up a level
-$agent->click("Up"); 
-
-ok($agent->form_name('BuildQuery'), "found the form again");
-is(getQueryFromForm, "id > 1234 OR Queue != 'Regression'", "moved up one");
-
-is_deeply(selectedClauses, ["0"], 'the one we moved up is selected');
-
-$agent->click("Right");
-
-ok($agent->form_name('BuildQuery'), "found the form again");
-is(getQueryFromForm, "Queue != 'Regression' OR ( id > 1234 )", "moved over to the right (and down)");
-is_deeply(selectedClauses, ["2"], 'the one we moved right is selected');
-
-$agent->select("clauses", ["1"]);
-
-$agent->click("Up");
-
-ok($agent->form_name('BuildQuery'), "found the form again");
-TODO: {
-  local $TODO = "query builder incorrectly changes OR to AND";
-  is(getQueryFromForm, "( id > 1234 ) OR Queue != 'Regression'", "moved up");
-}
-
-$agent->select("clauses", ["0"]); # this is a null clause
-
-$agent->click("Up");
-
-ok($agent->form_name('BuildQuery'), "found the form again");
-
-$agent->content_like(qr/error: can\S+t move up/, "i shouldn't have been able to hit up");
-
-$agent->click("Left");
-
-ok($agent->form_name('BuildQuery'), "found the form again");
-
-$agent->content_like(qr/error: can\S+t move left/, "i shouldn't have been able to hit left");
-
-$agent->select("clauses", ["1"]);
-$agent->select("ValueOfStatus" => "stalled");
-
-$agent->submit;
-ok($agent->form_name('BuildQuery'), "found the form again");
-is_deeply(selectedClauses, ["2"], 'the one we added is selected');
-TODO: {
-  local $TODO = "query builder incorrectly changes OR to AND";
-  is(getQueryFromForm, "( id > 1234 AND Status = 'stalled' ) OR Queue != 'Regression'", "added new one");
-}
-
-
-
-# - new items go one level down
-# - add items at currently selected level
-# - if nothing is selected, add at end, one level down
-#
-# move left
-# - error if nothing selected
-# - same item should be selected after move
-# - can't move left if you're at the top level
-#
-# move right
-# - error if nothing selected
-# - same item should be selected after move
-# - can always move right (no max depth...should there be?)
-#
-# move up
-# - error if nothing selected
-# - same item should be selected after move
-# - can't move up if you're first in the list
-#
-# move down
-# - error if nothing selected
-# - same item should be selected after move
-# - can't move down if you're last in the list
-#
-# toggle
-# - error if nothing selected
-# - change all aggregators in the grouping
-# - don't change any others
-#
-# delete
-# - error if nothing selected
-# - delete currently selected item
-# - delete all children of a grouping
-# - if delete leaves a node with no children, delete that, too
-# - what should be selected?
-#
-# Clear
-# - clears entire query
-# - clears it from the session, too
-
-# }}}
-
-
-1;
diff --git a/rt/lib/t/regression/22search_tix_by_txn.t b/rt/lib/t/regression/22search_tix_by_txn.t
deleted file mode 100644 (file)
index 54dad98..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#use Test::More tests => 26;
-use Test::More qw/no_plan/;
-
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-my $SUBJECT = "Search test - ".$$;
-
-use_ok('RT::Tickets');
-my $tix = RT::Tickets->new($RT::SystemUser);
-can_ok($tix, 'FromSQL');
-$tix->FromSQL('Updated = "2005-08-05" AND Subject = "$SUBJECT"');
-
-ok(! $tix->Count, "Searching for tickets updated on a random date finds nothing" . $tix->Count);
-
-my $ticket = RT::Ticket->new($RT::SystemUser);
-$ticket->Create(Queue => 'General', Subject => $SUBJECT);
-ok ($ticket->id, "We created a ticket");
-my ($id, $txnid, $txnobj) =  $ticket->Comment( Content => 'A comment that happend on 2004-01-01');
-
-isa_ok($txnobj, 'RT::Transaction');
-
-ok($txnobj->CreatedObj->ISO);
-my ( $sid,$smsg) = $txnobj->__Set(Field => 'Created', Value => '2005-08-05 20:00:56');
-ok($sid,$smsg);
-is($txnobj->Created,'2005-08-05 20:00:56');
-is($txnobj->CreatedObj->ISO,'2005-08-05 20:00:56');
-
-$tix->FromSQL(qq{Updated = "2005-08-05" AND Subject = "$SUBJECT"});
-is( $tix->Count, 1);
-1;
diff --git a/rt/lib/t/regression/mime_tests b/rt/lib/t/regression/mime_tests
deleted file mode 100644 (file)
index 26e4dbf..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-use RT::Ticket;
-use RT::Queue;
-
-use MIME::Parser;
-use File::Temp;
-use RT::EmailParser;
-
-open (HANDLE, "data/nested-mime-sample");
-my $parser = RT::EmailParser->new()
- $parser->ParseMIMEEntityFromFileHandle(\*HANDLE);
-my $entity = $parser->Entity;
-
-my $q = RT::Queue->new($RT::SystemUser);
-$q->Load('general');
-ok ($q->Id, "Queue is loaded");
-my $Ticket = RT::Ticket->new($RT::SystemUser);
-my ($tid, $ttid, $msg) =$Ticket->Create( Queue => $q->Id, Subject => "Nested mime test", MIMEObj => $entity);
-ok ($tid, $msg);
-ok($Ticket->Id);
diff --git a/rt/lib/t/setup_regression.t b/rt/lib/t/setup_regression.t
deleted file mode 100644 (file)
index 36f809b..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/perl
-
-use Test::More qw(no_plan);
-
-use RT;
-ok(RT::LoadConfig);
-ok(RT::Init, "Basic initialization and DB connectivity");
-
-# Create a new queue
-use_ok(RT::Queue);
-my $q = RT::Queue->new($RT::SystemUser);
-
-$q->Load('regression');
-if ($q->id != 0) {
-        die "Regression tests not starting with a clean DB. Bailing";
-}
-
-my ($id, $msg) = $q->Create( Name => 'Regression',
-            Description => 'A regression test queue',
-            CorrespondAddress => 'correspond@a',
-            CommentAddress => 'comment@a');
-
-isnt($id, 0, "Queue was created sucessfully - $msg");
-
-my $q2 = RT::Queue->new($RT::SystemUser);
-
-ok($q2->Load($id));
-is($q2->id, $id, "Sucessfully loaded the queue again");
-is($q2->Name, 'Regression');
-is($q2->Description, 'A regression test queue');
-is($q2->CorrespondAddress, 'correspond@a');
-is($q2->CommentAddress, 'comment@a');
-
-
diff --git a/rt/m4/rt_enable_layout.m4 b/rt/m4/rt_enable_layout.m4
deleted file mode 100644 (file)
index cadec1c..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-dnl
-dnl @synopsis RT_ENABLE_LAYOUT()
-dnl
-dnl Enable a specific directory layout for the installation to use.
-dnl This configures a command-line parameter that can be specified
-dnl at ./configure invocation.
-dnl
-dnl The use of this feature in this way is a little hackish, but
-dnl better than a heap of options for every directory.
-dnl
-dnl This code is heavily borrowed *cough* from the Apache 2 code.
-dnl
-
-AC_DEFUN([RT_ENABLE_LAYOUT],[
-AC_ARG_ENABLE(layout,
-             AC_HELP_STRING([--enable-layout=LAYOUT],
-                            [Use a specific directory layout (Default: RT3)]),
-             LAYOUT=$enableval)
-
-if test "x$LAYOUT" = "x"; then
-       LAYOUT="RT3"
-fi
-RT_LAYOUT($srcdir/config.layout, $LAYOUT)
-AC_MSG_CHECKING(for chosen layout)
-if test "x$rt_layout_name" = "xno"; then
-       if test "x$LAYOUT" = "xno"; then
-               AC_MSG_RESULT(none)
-       else
-               AC_MSG_RESULT($LAYOUT)
-       fi
-       AC_MSG_ERROR([a valid layout must be specified (or the default used)])
-else
-       AC_SUBST(rt_layout_name)
-       AC_MSG_RESULT($rt_layout_name)
-fi
-])
diff --git a/rt/m4/rt_expand_var.m4 b/rt/m4/rt_expand_var.m4
deleted file mode 100644 (file)
index cec884a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-dnl
-dnl @synopsis  RT_EXPAND_VAR(baz, $fraz)
-dnl
-dnl Iteratively expands the second parameter, until successive iterations
-dnl yield no change. The result is then assigned to the first parameter.
-dnl
-dnl This code is heavily borrowed from the Apache 2 codebase.
-dnl
-
-AC_DEFUN([RT_EXPAND_VAR],[
-       ap_last=''
-       ap_cur='$2'
-       while test "x${ap_cur}" != "x${ap_last}"; do
-               ap_last="${ap_cur}"
-               ap_cur=`eval "echo ${ap_cur}"`
-       done
-       $1="${ap_cur}"
-])
diff --git a/rt/m4/rt_layout.m4 b/rt/m4/rt_layout.m4
deleted file mode 100644 (file)
index c92a108..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-dnl
-dnl @synopsis RT_LAYOUT(configlayout, layoutname)
-dnl
-dnl This macro reads an Apache-style layout file (specified as the
-dnl configlayout parameter), and searches for a specific layout
-dnl (named using the layoutname parameter).
-dnl
-dnl The entries for a given layout are then inserted into the
-dnl environment such that they become available as substitution
-dnl variables. In addition, the rt_layout_name variable is set
-dnl (but not exported) if the layout is valid.
-dnl
-dnl This code is heavily borrowed *cough* from the Apache 2 codebase.
-dnl
-
-AC_DEFUN([RT_LAYOUT],[
-       if test ! -f $srcdir/config.layout; then
-               AC_MSG_WARN([Layout file $srcdir/config.layout not found])
-               rt_layout_name=no
-       else
-               pldconf=./config.pld
-               $PERL  -0777 -p -e "\$layout = '$2';"  -e '
-               s/.*<Layout\s+$layout>//gims; 
-               s/<\/Layout>.*//s; 
-               s/^#.*$//gm;
-               s/^\s+//gim;
-               s/\s+$/\n/gim;
-               s/\+$/\/rt3/gim;
-               # m4 will not let us just use $1, we need @S|@1
-#              s/^((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
-               # uh, should be [:=], but m4 apparently substitutes something...
-               s/^(.*?)\s*(?::|=)\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;
-                ' < $1 > $pldconf
-
-               if test -s $pldconf; then
-                       rt_layout_name=$2
-                       . $pldconf
-                       changequote({,})
-                       for var in prefix exec_prefix bindir sbindir \
-                                sysconfdir mandir libdir datadir htmldir \
-                                localstatedir logfiledir masonstatedir \
-                                sessionstatedir customdir custometcdir customhtmldir \
-                                customlexdir customlibdir manualdir; do
-                               eval "val=\"\$$var\""
-                               val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
-                               val=`echo $val | 
-                                       sed -e 's:[\$]\([a-z_]*\):${\1}:g'`
-                               eval "$var='$val'"
-                       done
-                       changequote([,])
-               else
-                       rt_layout_name=no
-               fi
-               #rm $pldconf
-       fi
-       RT_SUBST_EXPANDED_ARG(prefix)
-       RT_SUBST_EXPANDED_ARG(exec_prefix)
-       RT_SUBST_EXPANDED_ARG(bindir)
-       RT_SUBST_EXPANDED_ARG(sbindir)
-       RT_SUBST_EXPANDED_ARG(sysconfdir)
-       RT_SUBST_EXPANDED_ARG(mandir)
-       RT_SUBST_EXPANDED_ARG(libdir)
-       RT_SUBST_EXPANDED_ARG(datadir)
-       RT_SUBST_EXPANDED_ARG(htmldir)
-       RT_SUBST_EXPANDED_ARG(manualdir)
-       RT_SUBST_EXPANDED_ARG(localstatedir)
-       RT_SUBST_EXPANDED_ARG(logfiledir)
-       RT_SUBST_EXPANDED_ARG(masonstatedir)
-       RT_SUBST_EXPANDED_ARG(sessionstatedir)
-       RT_SUBST_EXPANDED_ARG(customdir)
-       RT_SUBST_EXPANDED_ARG(custometcdir)
-       RT_SUBST_EXPANDED_ARG(customhtmldir)
-       RT_SUBST_EXPANDED_ARG(customlexdir)
-       RT_SUBST_EXPANDED_ARG(customlibdir)
-])dnl
diff --git a/rt/m4/rt_subst_expanded_arg.m4 b/rt/m4/rt_subst_expanded_arg.m4
deleted file mode 100644 (file)
index 02002b0..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-dnl
-dnl @synopsis  RT_SUBST_EXPANDED_ARG(var)
-dnl
-dnl Export (via AC_SUBST) a given variable, along with an expanded
-dnl version of the variable (same name, but with exp_ prefix).
-dnl
-dnl This code is heavily borrowed *cough* from the Apache 2 source.
-dnl
-
-AC_DEFUN([RT_SUBST_EXPANDED_ARG],[
-       RT_EXPAND_VAR(exp_$1, [$]$1)
-       AC_SUBST($1)
-       AC_SUBST(exp_$1)
-])
diff --git a/rt/sbin/extract-message-catalog b/rt/sbin/extract-message-catalog
deleted file mode 100644 (file)
index 3552afb..0000000
+++ /dev/null
@@ -1,272 +0,0 @@
-#!/usr/bin/perl -w 
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-# Portions Copyright 2002 Autrijus Tang <autrijus@autrijus.org>
-
-use strict;
-
-use File::Find;
-use File::Copy;
-use Regexp::Common;
-use Carp;
-
-use vars qw($DEBUG $FILECAT);
-
-$DEBUG = 1;
-
-@ARGV = <lib/RT/I18N/*.po> unless @ARGV;
-
-$FILECAT = {};
-
-# extract all strings and stuff them into $FILECAT
-File::Find::find( { wanted => \&extract_strings_from_code, follow => 1 }, '.' );
-
-# ensure proper escaping and [_1] => %1 transformation
-foreach my $str ( sort keys %{$FILECAT} ) {
-    my $entry = $FILECAT->{$str};
-    my $oldstr = $str;
-
-    $str =~ s/\\/\\\\/g;
-    $str =~ s/\"/\\"/g;
-    $str =~ s/((?<!~)(?:~~)*)\[_(\d+)\]/$1%$2/g;
-    $str =~ s/((?<!~)(?:~~)*)\[([A-Za-z#*]\w*),([^\]]+)\]/"$1%$2(".escape($3).")"/eg;
-    $str =~ s/~([\[\]])/$1/g;
-
-    delete $FILECAT->{$oldstr};
-    $FILECAT->{$str} = $entry;
-}
-
-# update all language dictionaries
-foreach my $dict (@ARGV) {
-    $dict = "lib/RT/I18N/$dict.po" unless -f $dict or $dict =~ m!/!;
-
-    my $lang = $dict;
-    $lang =~ s|.*/||;
-    $lang =~ s|\.po$||;
-
-    update($lang, $dict);
-}
-
-
-# {{{ pull strings out of the code.
-
-sub extract_strings_from_code {
-    my $file = $_;
-
-    local $/;
-    return if ( -d $_ );
-    return if ( $File::Find::dir =~ 'lib/blib|lib/t/autogen|var|m4|local|\.svn' );
-    return if ( /\.po$|\.bak$|~|,D|,B$|extract-message-catalog$/ );
-    return if ( /^[\.#]/ );
-    return if ( -f "$_.in" );
-
-    print "Looking at $File::Find::name\n";
-    my $filename = $File::Find::name;
-    $filename =~ s'^\./'';
-    $filename =~ s'\.in$'';
-
-    unless (open _, $file) {
-        print "Cannot open $file for reading ($!), skipping.\n";
-        return;
-    }
-
-    $_ = <_>;
-
-    # Mason filter: <&|/l>...</&>
-    my $line = 1;
-    while (m!\G.*?<&\|/l(.*?)&>(.*?)</&>!sg) {
-        my ( $vars, $str ) = ( $1, $2 );
-        $line += ( () = ( $& =~ /\n/g ) );    # cryptocontext!
-        $str =~ s/\\'/\'/g;
-        #print "STR IS $str\n";
-        push @{ $FILECAT->{$str} }, [ $filename, $line, $vars ];
-    }
-
-    # Localization function: loc(...)
-    $line = 1;
-    pos($_) = 0;
-    while (m/\G.*?\bloc$RE{balanced}{-parens=>'()'}{-keep}/sg) {
-        my $match = $1;
-        $line += ( () = ( $& =~ /\n/g ) );    # cryptocontext!
-
-        my ( $vars, $str );
-        if ( $match =~
-                /\(\s*($RE{delimited}{-delim=>q{'"}}{-keep})(.*?)\s*\)$/ ) {
-
-            $str = substr( $1, 1, -1 );       # $str comes before $vars now
-            $vars = $9;
-        }
-        else {
-            next;
-        }
-
-        $vars =~ s/[\n\r]//g;
-        $str  =~ s/\\'/\'/g;
-
-        push @{ $FILECAT->{$str} }, [ $filename, $line, $vars ];
-    }
-
-    # Comment-based mark: "..." # loc
-    $line = 1;
-    pos($_) = 0;
-    while (m/\G.*?($RE{delimited}{-delim=>q{'"}}{-keep})[\}\)\],]*\s*\#\s*loc\s*$/smg) {
-       my $str = substr($1, 1, -1);
-       $line += ( () = ( $& =~ /\n/g ) );    # cryptocontext!
-       $str  =~ s/\\'/\'/g;
-       push @{ $FILECAT->{$str} }, [ $filename, $line, '' ];
-    }
-
-    # Comment-based pair mark: "..." => "..." # loc_pair
-    $line = 1;
-    pos($_) = 0;
-    while (m/\G.*?(\w+)\s*=>\s*($RE{delimited}{-delim=>q{'"}}{-keep})[\}\)\],]*\s*\#\s*loc_pair\s*$/smg) {
-       my $key = $1;
-       my $val = substr($2, 1, -1);
-       $line += ( () = ( $& =~ /\n/g ) );    # cryptocontext!
-       $key  =~ s/\\'/\'/g;
-       $val  =~ s/\\'/\'/g;
-       push @{ $FILECAT->{$key} }, [ $filename, $line, '' ];
-       push @{ $FILECAT->{$val} }, [ $filename, $line, '' ];
-    }
-
-    close (_);
-}
-# }}} extract from strings
-
-sub update {
-    my $lang = shift;
-    my $file = shift;
-    my ( %Lexicon, %Header);
-    my $out = '';
-
-    unless (!-e $file or -w $file) {
-       warn "Can't write to $lang, skipping...\n";
-       return;
-    }
-
-    print "Updating $lang...\n";
-
-    my @lines;
-    @lines = (<LEXICON>) if open (LEXICON, $file);
-    @lines = grep { !/^(#(:|\.)\s*|$)/ } @lines;
-    while (@lines) {
-        my $msghdr = "";
-        $msghdr .= shift @lines while ( $lines[0] && $lines[0] !~ /^msgid/ );
-        
-        my $msgid  = shift @lines;
-        my $msgstr = "";
-        $msgstr .= shift @lines while ( $lines[0] && $lines[0] =~ /^(msgstr|")/ );
-
-        last unless $msgid;
-
-        chomp $msgid;
-        chomp $msgstr;
-        $msgid  =~ s/^msgid "(.*)"\s*?$/$1/ms    or warn "$msgid in $file";
-        $msgstr =~ s/^msgstr "(.*)"\s*?$/$1/ms or warn "$msgstr  in $file";
-
-        $Lexicon{$msgid} = $msgstr;
-        $Header{$msgid}  = $msghdr;
-    }
-
-    my $is_english = ( $lang =~ /^en(?:[^A-Za-z]|$)/ );
-
-    foreach my $str ( sort keys %{$FILECAT} ) {
-        $Lexicon{$str} ||= '';;
-    }
-    foreach ( sort keys %Lexicon ) {
-        my $f = join ( ' ', sort map $_->[0].":".$_->[1], @{ $FILECAT->{$_} } );
-        my $nospace = $_;
-        $nospace =~ s/ +$//;
-
-        if ( !$Lexicon{$_} and $Lexicon{$nospace} ) {
-            $Lexicon{$_} =
-              $Lexicon{$nospace} . ( ' ' x ( length($_) - length($nospace) ) );
-        }
-
-        next if !length( $Lexicon{$_} ) and $is_english;
-
-        my %seen;
-        $out .= $Header{$_} if exists $Header{$_};
-
-
-
-        next if (!$f && $_ && !$Lexicon{$_});
-        if ( $f && $f !~ /^\s+$/ ) {
-
-            $out .= "#: $f\n";
-        }
-        elsif ($_) {
-            $out .= "#: NOT FOUND IN SOURCE\n";
-        }
-        foreach my $entry ( grep { $_->[2] } @{ $FILECAT->{$_} } ) {
-            my ( $file, $line, $var ) = @{$entry};
-            $var =~ s/^\s*,\s*//;
-            $var =~ s/\s*$//;
-            $out .= "#. ($var)\n" unless $seen{$var}++;
-        }
-        $out .= "msgid \"$_\"\nmsgstr \"$Lexicon{$_}\"\n\n";
-    }
-
-    open PO, ">$file" or die $!;
-    print PO $out;
-    close PO;
-
-    return 1;
-}
-
-sub escape {
-    my $text = shift;
-    $text =~ s/\b_(\d+)/%$1/;
-    return $text;
-}
-
-__END__
-# Local variables:
-# c-indentation-style: bsd
-# c-basic-offset: 4
-# indent-tabs-mode: nil
-# End:
-# vim: expandtab shiftwidth=4:
diff --git a/rt/sbin/extract_pod_tests b/rt/sbin/extract_pod_tests
deleted file mode 100644 (file)
index 4d9d7bd..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-#!/usr/bin/perl
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-use strict;
-use vars qw($VERSION);
-$VERSION = '0.06';
-
-use Pod::Tests;
-use Symbol;
-
-=pod
-
-=head1 NAME
-
-extract_pod_tests -  RT-specific variant of pod2tests
-
-=head1 SYNOPSIS
-
-  pod2test [-Mmodule] [input [output]]
-
-=head1 DESCRIPTION
-
-B<pod2test> is a front-end for Test::Inline.  It generates the 
-"Bodies" of MakeMaker style .t testing files from embedded tests and 
-code examples.
-
-If output is not specified, the resulting .t file will go to STDOUT.
-Otherwise, it will go to the given output file.  If input is not
-given, it will draw from STDIN.
-
-If the given file contains no tests or code examples, no output will
-be given and no output file will be created.
-
-=cut
-
-my($infile, $outfile) = @ARGV;
-my($infh,$outfh);
-
-
-if( defined $infile ) {
-    $infh = gensym;
-    open($infh, $infile) or 
-      die "Can't open the POD file $infile: $!";
-}
-else {
-    $infh = \*STDIN;
-}
-
-unless ($outfile) {
-     ( my $test = $infile ) =~ s/\.(pm|pod)$//;
-            $test =~ s/^lib\W//;
-            $test =~ s/\W/-/;
-            $test =~ s/\//__/g;
-
-        $outfile = "lib/t/autogen/autogen-$test.t";
-}
-
-
-my $p = Pod::Tests->new;
-$p->parse_fh($infh);
-
-# XXX Hack to put the filename into the #line directive
-$p->{file} = $infile || '';
-
-my @tests    = $p->build_tests($p->tests);
-my @examples = $p->build_examples($p->examples);
-
-exit unless @tests or @examples;
-
-
-if( defined $outfile) {
-    $outfh = gensym;
-    open($outfh, ">$outfile") or
-      die "Can't open the test file $outfile: $!";
-}
-else {
-    $outfh = \*STDOUT;
-}
-
-
-print $outfh <<EOF;
-
-use Test::More qw/no_plan/;
-use RT;
-RT::LoadConfig();
-RT::Init();
-
-EOF
-foreach my $test (@tests, @examples) {
-    print $outfh "$test\n";
-}
-
-print $outfh "1;\n";
-
-=pod
-
-=head1 BUGS and CAVEATS
-
-This is a very simple rough cut.  It only does very rudimentary tests
-on the examples.
-
-=head1 AUTHOR
-
-
-
-Based on pod2tests by Michael G Schwern <schwern@pobox.com>
-
-=head1 SEE ALSO
-
-L<Test::Inline>
-
-=cut
-
-1;
diff --git a/rt/sbin/factory b/rt/sbin/factory
deleted file mode 100644 (file)
index 743d8b9..0000000
+++ /dev/null
@@ -1,513 +0,0 @@
-#!/usr/bin/perl -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-use strict;
-use DBI;
-
-my $database  = shift;
-my $namespace = shift;
-
-my $CollectionBaseclass = 'RT::SearchBuilder';
-my $RecordBaseclass     = 'RT::Record';
-
-my $driver   = 'mysql';
-my $hostname = 'localhost';
-my $user     = 'root';
-my $password = '';
-
-
-my $LicenseBlock = << '.';
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-.
-
-my $Attribution = << '.';
-# Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
-# WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
-# 
-# !! DO NOT EDIT THIS FILE !!
-#
-
-use strict;
-.
-
-my $dsn = "DBI:$driver:database=$database;host=$hostname";
-
-my $dbh = DBI->connect( $dsn, $user, $password );
-
-#get all tables out of database
-my @tables = $dbh->tables();
-
-my ( %tablemap, $typemap, %modulemap );
-
-foreach my $table (@tables) {
-    $table =~ s/\`//g;
-    next if ($table eq 'sessions');
-        $table = ucfirst($table);
-        $table =~ s/field/Field/;
-        $table =~ s/group/Group/;
-        $table =~ s/custom/Custom/;
-        $table =~ s/member/Member/;
-        $table =~ s/Scripaction/ScripAction/g;
-        $table =~ s/condition/Condition/g;
-        $table =~ s/value/Value/;
-        $table =~ s/Acl/ACL/g;
-    $tablemap{$table}  = $table;
-    $modulemap{$table} = $table;
-    if ( $table =~ /^(.*)s$/ ) {
-        $tablemap{$1}  = $table;
-        $modulemap{$1} = $1;
-    }
-}
-$tablemap{'CreatedBy'} = 'User';
-$tablemap{'UpdatedBy'} = 'User';
-
-my %typemap;
-$typemap{'id'}            = 'ro';
-$typemap{'Creator'}       = 'auto';
-$typemap{'Created'}       = 'auto';
-$typemap{'Updated'}       = 'auto';
-$typemap{'UpdatedBy'}     = 'auto';
-$typemap{'LastUpdated'}   = 'auto';
-$typemap{'LastUpdatedBy'} = 'auto';
-
-foreach my $table (@tables) {
-    next if ($table eq 'sessions');
-    my $tablesingle = $table;
-    $tablesingle =~ s/s$//;
-    my $tableplural = $tablesingle . "s";
-
-    if ( $tablesingle eq 'ACL' ) {
-        $tablesingle = "ACE";
-        $tableplural = "ACL";
-    }
-
-    my %requirements;
-
-    my $CollectionClassName = $namespace . "::" . $tableplural;
-    my $RecordClassName     = $namespace . "::" . $tablesingle;
-
-    my $path = $namespace;
-    $path =~ s/::/\//g;
-
-    my $RecordClassPath     = $path . "/" . $tablesingle . ".pm";
-    my $CollectionClassPath = $path . "/" . $tableplural . ".pm";
-
-    #create a collection class
-    my $CreateInParams;
-    my $CreateOutParams;
-    my $ClassAccessible = "";
-    my $FieldsPod       = "";
-    my $CreatePod       = "";
-    my $RecordInit      = "";
-    my %fields;
-
-
-    my $introspection = $dbh->prepare("SELECT * from $table where id is null");
-    $introspection->execute();
-    my @names =@{ $introspection->{'NAME'}};
-    my @types = @{$introspection->{'TYPE'}};
-    my @is_blob = @{$introspection->{'mysql_is_blob'}};
-    my @is_num = @{$introspection->{'mysql_is_num'}};
-
-    my %blobness = ();
-    my %sqltypes = ();
-    my %numeric = ();
-    foreach my $name (@names) {
-        $sqltypes{$name} = shift @types;
-        $blobness{$name} = (shift @is_blob || "0");
-        $numeric{$name} = (shift @is_num || "0");
-    }
-
-
-    my $sth = $dbh->prepare("DESCRIBE $table");
-    $sth->execute;
-
-    while ( my $row = $sth->fetchrow_hashref() ) {
-        my $field   = $row->{'Field'};
-        my $type    = $row->{'Type'};
-        my $default = $row->{'Default'};
-        my $length = 0;
-        if ($type =~ /^(?:.*?)\((\d+)\)$/) {
-                $length = $1; 
-        }
-        $fields{$field} = 1;
-
-        #generate the 'accessible' datastructure
-
-        no warnings 'uninitialized';
-
-        if ( $typemap{$field} eq 'auto' ) {
-            $ClassAccessible .= "        $field => 
-               {read => 1, auto => 1,";
-        }
-        elsif ( $typemap{$field} eq 'ro' ) {
-            $ClassAccessible .= "        $field =>
-               {read => 1,";
-        }
-        else {
-            $ClassAccessible .= "        $field => 
-               {read => 1, write => 1,";
-
-        }
-        $ClassAccessible .= " sql_type => $sqltypes{$field}, length => $length,  is_blob => $blobness{$field},  is_numeric => $numeric{$field}, ";
-        $ClassAccessible .= " type => '$type', default => '$default'},\n";
-
-        #generate pod for the accessible fields
-        $FieldsPod .= "
-=head2 $field
-
-Returns the current value of $field. 
-(In the database, $field is stored as $type.)
-
-";
-
-        unless ( exists $typemap{$field} && ( $typemap{$field} eq 'auto' || $typemap{$field} eq 'ro' )) {
-            $FieldsPod .= "
-
-=head2 Set$field VALUE
-
-
-Set $field to VALUE. 
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, $field will be stored as a $type.)
-
-";
-        }
-
-        $FieldsPod .= "
-=cut
-
-";
-
-        if ( $modulemap{$field} ) {
-            $FieldsPod .= "
-=head2 ${field}Obj
-
-Returns the $modulemap{$field} Object which has the id returned by $field
-
-
-=cut
-
-sub ${field}Obj {
-       my \$self = shift;
-       my \$$field =  ${namespace}::$modulemap{$field}->new(\$self->CurrentUser);
-       \$$field->Load(\$self->__Value('$field'));
-       return(\$$field);
-}
-";
-            $requirements{ $tablemap{$field} } =
-              "use ${namespace}::$modulemap{$field};";
-
-        }
-
-        unless ( $typemap{$field} eq 'auto' || $field eq 'id' ) {
-
-            #generate create statement
-            $CreateInParams .= "                $field => '$default',\n";
-            $CreateOutParams .=
-              "                         $field => \$args{'$field'},\n";
-
-            #gerenate pod for the create statement     
-            $CreatePod .= "  $type '$field'";
-            $CreatePod .= " defaults to '$default'" if ($default);
-            $CreatePod .= ".\n";
-
-        }
-
-    }
-
-    my $Create = "
-sub Create {
-    my \$self = shift;
-    my \%args = ( 
-$CreateInParams
-                 \@_);
-    \$self->SUPER::Create(
-$CreateOutParams);
-
-}
-";
-    $CreatePod .= "\n=cut\n\n";
-
-    my $CollectionClass = $LicenseBlock . $Attribution .
-
-      "
-
-=head1 NAME
-
-  $CollectionClassName -- Class Description
-=head1 SYNOPSIS
-
-  use $CollectionClassName
-
-=head1 DESCRIPTION
-
-
-=head1 METHODS
-
-=cut
-
-package $CollectionClassName;
-
-use $CollectionBaseclass;
-use $RecordClassName;
-
-use vars qw( \@ISA );
-\@ISA= qw($CollectionBaseclass);
-
-
-sub _Init {
-    my \$self = shift;
-    \$self->{'table'} = '$table';
-    \$self->{'primary_key'} = 'id';
-
-";
-
-    if ( $fields{'SortOrder'} ) {
-
-        $CollectionClass .= "
-
-  # By default, order by SortOrder
-  \$self->OrderByCols(
-        { ALIAS => 'main',
-          FIELD => 'SortOrder',
-          ORDER => 'ASC' },
-        { ALIAS => 'main',
-          FIELD => 'id',
-          ORDER => 'ASC' },
-     );
-";
-    }
-    $CollectionClass .= "
-    return ( \$self->SUPER::_Init(\@_) );
-}
-
-
-=head2 NewItem
-
-Returns an empty new $RecordClassName item
-
-=cut
-
-sub NewItem {
-    my \$self = shift;
-    return($RecordClassName->new(\$self->CurrentUser));
-}
-" . MagicImport($CollectionClassName);
-
-    my $RecordClassHeader = $Attribution . "
-
-=head1 NAME
-
-$RecordClassName
-
-
-=head1 SYNOPSIS
-
-=head1 DESCRIPTION
-
-=head1 METHODS
-
-=cut
-
-package $RecordClassName;
-use $RecordBaseclass; 
-";
-
-    foreach my $key ( keys %requirements ) {
-        $RecordClassHeader .= $requirements{$key} . "\n";
-    }
-    $RecordClassHeader .= "
-
-use vars qw( \@ISA );
-\@ISA= qw( $RecordBaseclass );
-
-sub _Init {
-  my \$self = shift; 
-
-  \$self->Table('$table');
-  \$self->SUPER::_Init(\@_);
-}
-
-";
-
-    my $RecordClass = $LicenseBlock .  $RecordClassHeader . "
-
-$RecordInit
-
-=head2 Create PARAMHASH
-
-Create takes a hash of values and creates a row in the database:
-
-$CreatePod
-
-$Create
-
-$FieldsPod
-
-sub _CoreAccessible {
-    {
-     
-$ClassAccessible
- }
-};
-
-" . MagicImport($RecordClassName);
-
-    print "About to make $RecordClassPath, $CollectionClassPath\n";
-    `mkdir -p $path`;
-
-    open( RECORD, ">$RecordClassPath" );
-    print RECORD $RecordClass;
-    close(RECORD);
-
-    open( COL, ">$CollectionClassPath" );
-    print COL $CollectionClass;
-    close(COL);
-
-}
-
-sub MagicImport {
-    my $class = shift;
-
-    #if (exists \$warnings::{unimport})  {
-    #        no warnings qw(redefine);
-
-    my $path = $class;
-    $path =~ s#::#/#gi;
-
-
-    my $content = "
-        eval \"require @{[$class]}_Overlay\";
-        if (\$@ && \$@ !~ qr{^Can't locate ".$path."_Overlay.pm}) {
-            die \$@;
-        };
-
-        eval \"require @{[$class]}_Vendor\";
-        if (\$@ && \$@ !~ qr{^Can't locate ".$path."_Vendor.pm}) {
-            die \$@;
-        };
-
-        eval \"require @{[$class]}_Local\";
-        if (\$@ && \$@ !~ qr{^Can't locate ".$path."_Local.pm}) {
-            die \$@;
-        };
-
-
-
-
-=head1 SEE ALSO
-
-This class allows \"overlay\" methods to be placed
-into the following files _Overlay is for a System overlay by the original author,
-_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
-
-These overlay files can contain new subs or subs to replace existing subs in this module.
-
-Each of these files should begin with the line 
-
-   no warnings qw(redefine);
-
-so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
-
-@{[$class]}_Overlay, @{[$class]}_Vendor, @{[$class]}_Local
-
-=cut
-
-
-1;
-";
-
-    return $content;
-}
-
-# }}}
-
diff --git a/rt/sbin/license_tag b/rt/sbin/license_tag
deleted file mode 100644 (file)
index 906d349..0000000
+++ /dev/null
@@ -1,239 +0,0 @@
-#!/usr/bin/perl
-
-
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-my $LICENSE  = <<'EOL';
-
-COPYRIGHT:
-This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-                                         <jesse@bestpractical.com>
-
-(Except where explicitly superseded by other copyright notices)
-
-
-LICENSE:
-
-This work is made available to you under the terms of Version 2 of
-the GNU General Public License. A copy of that license should have
-been provided with this software, but in any event can be snarfed
-from www.gnu.org.
-
-This work is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-
-CONTRIBUTION SUBMISSION POLICY:
-
-(The following paragraph is not intended to limit the rights granted
-to you to modify and distribute this software under the terms of
-the GNU General Public License and is only of importance to you if
-you choose to contribute your changes and enhancements to the
-community by submitting them to Best Practical Solutions, LLC.)
-
-By intentionally submitting any modifications, corrections or
-derivatives to this work, or any other work intended for use with
-Request Tracker, to Best Practical Solutions, LLC, you confirm that
-you are the copyright holder for those contributions and you grant
-Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-royalty-free, perpetual, license to use, copy, create derivative
-works based on those contributions, and sublicense and distribute
-those contributions and any derivatives thereof.
-
-EOL
-
-use File::Find;
-
-my @MAKE = qw(Makefile);
-
-File::Find::find({ no_chdir => 1, wanted => \&tag_pm}, 'lib');
-File::Find::find({ no_chdir => 1, wanted => \&tag_mason}, 'html');
-File::Find::find({ no_chdir => 1, wanted => \&tag_script}, 'sbin');
-File::Find::find({ no_chdir => 1, wanted => \&tag_script}, 'bin');
-tag_makefile ('Makefile.in');
-tag_makefile ('README');
-
-
-sub tag_mason {
-        my $pm = $_;
-        next unless (-f $pm);
-        next if ($pm =~ /images/);
-        open(FILE,"<$pm") || die "Failed to open $pm";
-        my $file = (join "", <FILE>); 
-        close (FILE);
-        my $pmlic = $LICENSE;
-        $pmlic =~ s/^/%# /mg;
-
-
-        print "$pm - ";
-        if ($file =~ /^%# BEGIN BPS TAGGED BLOCK {{{/ms) {
-                print "has license section";
-             $file =~ s/^%# BEGIN BPS TAGGED BLOCK {{{(.*?)%# END BPS TAGGED BLOCK }}}/%# BEGIN BPS TAGGED BLOCK {{{\n$pmlic%# END BPS TAGGED BLOCK }}}/ms;
-             
-
-        } else {
-                print "no license section";
-             $file ="%# BEGIN BPS TAGGED BLOCK {{{\n$pmlic%# END BPS TAGGED BLOCK }}}\n". $file;
-        }
-        $file =~ s/%# END BPS TAGGED BLOCK }}}(\n+)/%# END BPS TAGGED BLOCK }}}\n/mg;
-        print "\n";
-        
-        
-
-
-        open (FILE, ">$pm") || die "couldn't write new file";
-        print FILE $file;
-        close FILE;
-
-}
-
-
-sub tag_makefile {
-        my $pm = shift;
-        open(FILE,"<$pm") || die "Failed to open $pm";
-        my $file = (join "", <FILE>); 
-        close (FILE);
-        my $pmlic = $LICENSE;
-        $pmlic =~ s/^/# /mg;
-
-
-        print "$pm - ";
-        if ($file =~ /^# BEGIN BPS TAGGED BLOCK {{{/ms) {
-                print "has license section";
-             $file =~ s/^# BEGIN BPS TAGGED BLOCK {{{(.*?)# END BPS TAGGED BLOCK }}}/# BEGIN BPS TAGGED BLOCK {{{\n$pmlic# END BPS TAGGED BLOCK }}}/ms;
-             
-
-        } else {
-                print "no license section";
-             $file ="# BEGIN BPS TAGGED BLOCK {{{\n$pmlic# END BPS TAGGED BLOCK }}}\n". $file;
-        }
-        $file =~ s/# END BPS TAGGED BLOCK }}}(\n+)/# END BPS TAGGED BLOCK }}}\n/mg;
-        print "\n";
-        
-        
-
-
-        open (FILE, ">$pm") || die "couldn't write new file";
-        print FILE $file;
-        close FILE;
-
-}
-
-
-sub tag_pm {
-        my $pm = $_;
-        next unless $pm =~ /\.pm/s;
-        open(FILE,"<$pm") || die "Failed to open $pm";
-        my $file = (join "", <FILE>); 
-        close (FILE);
-        my $pmlic = $LICENSE;
-        $pmlic =~ s/^/# /mg;
-
-
-        print "$pm - ";
-        if ($file =~ /^# BEGIN BPS TAGGED BLOCK {{{/ms) {
-                print "has license section";
-             $file =~ s/^# BEGIN BPS TAGGED BLOCK {{{(.*?)# END BPS TAGGED BLOCK }}}/# BEGIN BPS TAGGED BLOCK {{{\n$pmlic# END BPS TAGGED BLOCK }}}/ms;
-             
-
-        } else {
-                print "no license section";
-             $file ="# BEGIN BPS TAGGED BLOCK {{{\n$pmlic# END BPS TAGGED BLOCK }}}\n". $file;
-        }
-        $file =~ s/# END BPS TAGGED BLOCK }}}(\n+)/# END BPS TAGGED BLOCK }}}\n/mg;
-        print "\n";
-        
-        
-
-
-        open (FILE, ">$pm") || die "couldn't write new file $pm";
-        print FILE $file;
-        close FILE;
-
-}
-
-
-sub tag_script {
-        my $pm = $_;
-        return unless (-f $pm);
-        open(FILE,"<$pm") || die "Failed to open $pm";
-        my $file = (join "", <FILE>); 
-        close (FILE);
-        my $pmlic = $LICENSE;
-        $pmlic =~ s/^/# /msg;
-
-        print "$pm - ";
-        if ($file =~ /^# BEGIN BPS TAGGED BLOCK {{{/ms) {
-                print "has license section";
-             $file =~ s/^# BEGIN BPS TAGGED BLOCK {{{(.*?)# END BPS TAGGED BLOCK }}}/# BEGIN BPS TAGGED BLOCK {{{\n$pmlic# END BPS TAGGED BLOCK }}}/ms;
-             
-
-        } else {
-                print "no license section";
-                if ($file =~ /^(#!.*?)\n/) {
-
-            my  $lic ="# BEGIN BPS TAGGED BLOCK {{{\n$pmlic# END BPS TAGGED BLOCK }}}\n";
-                $file =~ s/^(#!.*?)\n/$1\n$lic/; 
-
-                } 
-        }
-        $file =~ s/# END BPS TAGGED BLOCK }}}(\n+)/# END BPS TAGGED BLOCK }}}\n/mg;
-        print "\n";
-        
-
-        open (FILE, ">$pm") || die "couldn't write new file";
-        print FILE $file;
-        close FILE;
-
-}
-
diff --git a/rt/sbin/regression_harness b/rt/sbin/regression_harness
deleted file mode 100644 (file)
index d98e462..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/perl
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-open (FH,"make regression|");
-
-my $skip_frontmatter = 1;
-while (<FH>) {
-        next if /^ok/;
-       $skip_frontmatter = 0 if (/autogen/);
-        print $_ unless ($skip_frontmatter);
-}
diff --git a/rt/sbin/rt-dump-database.in b/rt/sbin/rt-dump-database.in
deleted file mode 100755 (executable)
index bcc7bb7..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-#!@PERL@ -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-use strict;
-use lib "@RT_LIB_PATH@";
-use RT;
-use XML::Simple;
-
-RT::LoadConfig();
-RT::Init();
-
-my $LocalOnly = @ARGV ? shift(@ARGV) : 1;
-
-my %RV;
-my %Ignore = (
-    All => [qw(
-       id Created Creator LastUpdated LastUpdatedBy
-    )],
-    Templates => [qw(
-       TranslationOf
-    )],
-);
-
-my $SystemUserId = $RT::SystemUser->Id;
-my @classes = qw(
-    Users Groups Queues ScripActions ScripConditions
-    Templates Scrips ACL CustomFields
-);
-foreach my $class (@classes) {
-    require "RT/$class.pm";
-    my $objects = "RT::$class"->new($RT::SystemUser);
-    $objects->{find_disabled_rows} = 1;
-    $objects->UnLimit;
-
-    if ($class eq 'CustomFields') {
-        $objects->OrderByCols(
-            { FIELD => 'LookupType' },
-            { FIELD => 'SortOrder' },
-            { FIELD => 'Id' },
-        );
-    }
-    else {
-        $objects->OrderBy( FIELD => 'Id' );
-    }
-
-    if ($LocalOnly) {
-        next if $class eq 'ACL'; # XXX - would go into infinite loop - XXX
-       $objects->Limit( FIELD => 'LastUpdatedBy', OPERATOR => '!=', VALUE => $SystemUserId )
-           unless $class eq 'Groups';
-       $objects->Limit( FIELD => 'Id', OPERATOR => '!=', VALUE => $SystemUserId )
-           if $class eq 'Users';
-       $objects->Limit( FIELD => 'Domain', OPERATOR => '=', VALUE => 'UserDefined' )
-           if $class eq 'Groups';
-    }
-
-    my %fields;
-    while (my $obj = $objects->Next) {
-       next if $obj->can('LastUpdatedBy') and $obj->LastUpdatedBy == $SystemUserId;
-
-       if (!%fields) {
-           %fields = map { $_ => 1 } keys %{$obj->_ClassAccessible};
-           delete @fields{
-               @{$Ignore{$class}||=[]},
-               @{$Ignore{All}||=[]},
-           };
-       }
-
-       my $rv;
-       # next if $obj-> # skip default names
-       foreach my $field (sort keys %fields) {
-           my $value = $obj->__Value($field);
-           $rv->{$field} = $value if length($value);
-       }
-       delete $rv->{Disabled} unless $rv->{Disabled};
-
-       foreach my $record (map { /ACL/ ? 'ACE' : substr($_, 0, -1) } @classes) {
-           foreach my $key (map "$record$_", ('', 'Id')) {
-               next unless exists $rv->{$key};
-               my $id = $rv->{$key} or next;
-               my $obj = "RT::$record"->new($RT::SystemUser);
-               $obj->LoadByCols( Id => $id ) or next;
-               $rv->{$key} = $obj->__Value('Name') || 0;
-           }
-       }
-
-       if ($class eq 'Users' and defined $obj->Privileged) {
-           $rv->{Privileged} = int($obj->Privileged);
-       }
-       elsif ($class eq 'CustomFields') {
-           my $values = $obj->Values;
-           while (my $value = $values->Next) {
-               push @{$rv->{Values}}, {
-                   map { ($_ => $value->__Value($_)) } qw(
-                       Name Description SortOrder
-                   ),
-               };
-           }
-       }
-
-       if (eval { require RT::Attributes; 1 }) {
-           my $attributes = $obj->Attributes;
-           while (my $attribute = $attributes->Next) {
-               my $content = $attribute->Content;
-               $rv->{Attributes}{$attribute->Name} = $content if length($content);
-           }
-       }
-
-       push @{$RV{$class}}, $rv;
-    }
-}
-
-print(<< ".");
-no strict; use XML::Simple; *_ = XMLin(do { local \$/; readline(DATA) }, ForceArray => [qw(
- @classes Values
-)], NoAttr => 1, SuppressEmpty => ''); *\$_ = (\$_{\$_} || []) for keys \%_; 1; # vim: ft=xml
-__DATA__
-.
-
-print XMLout(
-    { map { ($_ => ($RV{$_} || [])) } @classes },
-    RootName => 'InitialData',
-    NoAttr => 1,
-    SuppressEmpty => '',
-    XMLDecl => '<?xml version="1.0" encoding="UTF-8"?>',
-);
diff --git a/rt/sbin/rt-setup-database.in b/rt/sbin/rt-setup-database.in
deleted file mode 100644 (file)
index 49feba8..0000000
+++ /dev/null
@@ -1,678 +0,0 @@
-#!@PERL@ -w
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-use strict;
-use vars qw($PROMPT $VERSION $Handle $Nobody $SystemUser $item);
-use vars
-  qw(@Groups @Users @ACL @Queues @ScripActions @ScripConditions @Templates @CustomFields @Scrips);
-
-use lib "@RT_LIB_PATH@";
-
-#This drags in  RT's config.pm
-# We do it in a begin block because RT::Handle needs to know the type to do its
-# inheritance
-use RT;
-use Carp;
-use RT::User;
-use RT::CurrentUser;
-use RT::Template;
-use RT::ScripAction;
-use RT::ACE;
-use RT::Group;
-use RT::User;
-use RT::Queue;
-use RT::ScripCondition;
-use RT::CustomField;
-use RT::Scrip;
-
-RT::LoadConfig();
-use Term::ReadKey;
-use Getopt::Long;
-
-my %args;
-
-GetOptions(
-    \%args,
-    'prompt-for-dba-password', 'force', 'debug',
-    'action=s',                'dba=s', 'dba-password=s', 'datafile=s',
-    'datadir=s'
-);
-
-$| = 1;    #unbuffer that output.
-
-require RT::Handle;
-my $Handle = RT::Handle->new($RT::DatabaseType);
-$Handle->BuildDSN;
-my $dbh;
-
-if ( $args{'prompt-for-dba-password'} ) {
-    $args{'dba-password'} = get_dba_password();
-    chomp( $args{'dba-password'} );
-}
-
-unless ( $args{'action'} ) {
-    help();
-    die;
-}
-if ( $args{'action'} eq 'init' ) {
-    $dbh = DBI->connect( get_system_dsn(), $args{'dba'}, $args{'dba-password'} )
-      || die "Failed to connect to " . get_system_dsn() . " as $args{'dba'}: $DBI::errstr";
-    print "Now creating a database for RT.\n";
-    if ($RT::DatabaseType ne 'Oracle' ||
-        $args{'dba'} ne $RT::DatabaseUser) {
-    create_db();
-    } else {
-        print "...skipped as ".$args{'dba'} ." is not " . $RT::DatabaseUser . " or we're working with Oracle.\n";
-    }
-
-    if ($RT::DatabaseType eq "mysql") {
-        # Check which version we're running
-        my ($version) = $dbh->selectrow_hashref("show variables like 'version'")->{Value} =~ /^(\d\.\d+)/;
-        print "*** Warning: RT is unsupported on MySQL versions before 4.0.x\n" if $version < 4;
-
-        # MySQL must have InnoDB support
-        my $innodb = $dbh->selectrow_hashref("show variables like 'have_innodb'")->{Value};
-        if ($innodb eq "NO") {
-            die "RT requires that MySQL be compiled with InnoDB table support.\n".
-              "See http://dev.mysql.com/doc/mysql/en/InnoDB.html\n";
-        } elsif ($innodb eq "DISABLED") {
-            die "RT requires that MySQL InnoDB table support be enabled.\n".
-              ($version < 4
-               ? "Add 'innodb_data_file_path=ibdata1:10M:autoextend' to the [mysqld] section of my.cnf\n"
-               : "Remove the 'skip-innodb' line from your my.cnf file, restart MySQL, and try again.\n");
-        }
-    }
-    
-    # SQLite can't deal with the disconnect/reconnect
-    unless ($RT::DatabaseType eq 'SQLite') {
-
-        $dbh->disconnect;
-        $dbh = DBI->connect( $Handle->DSN, $args{'dba'}, $args{'dba-password'} ) || die $DBI::errstr;
-    }
-    print "Now populating database schema.\n";
-    insert_schema();
-    print "Now inserting database ACLs\n";
-    insert_acl() unless ($RT::DatabaseType eq 'Oracle');
-    print "Now inserting RT core system objects\n";
-    insert_initial_data();
-    print "Now inserting RT data\n";
-    insert_data( $RT::EtcPath . "/initialdata" );
-}
-elsif ( $args{'action'} eq 'drop' ) {
-    unless ( $dbh =
-         DBI->connect( get_system_dsn(), $args{'dba'}, $args{'dba-password'} ) )
-    {
-        warn $DBI::errstr;
-        warn "Database doesn't appear to exist. Aborting database drop.";
-        exit(0);
-    }
-    drop_db();
-}
-elsif ( $args{'action'} eq 'insert_initial' ) {
-    insert_initial_data();
-}
-elsif ( $args{'action'} eq 'insert' ) {
-    insert_data( $args{'datafile'} || ($args{'datadir'}."/content"));
-}
-elsif ($args{'action'} eq 'acl') {
-    $dbh = DBI->connect( $Handle->DSN, $args{'dba'}, $args{'dba-password'} )
-      || die "Failed to connect to " . get_system_dsn() . " as $args{'dba'}: $DBI::errstr";
-     insert_acl($args{'datadir'});
-}
-elsif ($args{'action'} eq 'schema') {
-    $dbh = DBI->connect( $Handle->DSN, $args{'dba'}, $args{'dba-password'} )
-      || die "Failed to connect to " . get_system_dsn() . " as $args{'dba'}: $DBI::errstr";
-        insert_schema($args{'datadir'});
-}
-
-else {
-    print STDERR '$0 called with an invalid --action parameter';
-    exit(-1);
-}
-
-# {{{ sub insert_schema
-sub insert_schema {
-        my $base_path = (shift || $RT::EtcPath);
-    my (@schema);
-    print "Creating database schema.\n";
-
-    if ( -f $base_path . "/schema." . $RT::DatabaseType ) {
-       no warnings 'unopened';
-
-        open( SCHEMA, "<" . $base_path . "/schema." . $RT::DatabaseType );
-        open( SCHEMA_LOCAL, "<" . $RT::LocalEtcPath . "/schema." . $RT::DatabaseType );
-
-        my $statement = "";
-        foreach my $line (<SCHEMA>, ($_ = ';;'), <SCHEMA_LOCAL>) {
-            $line =~ s/\#.*//g;
-            $line =~ s/--.*//g;
-            $statement .= $line;
-            if ( $line =~ /;(\s*)$/ ) {
-                $statement =~ s/;(\s*)$//g;
-                push @schema, $statement;
-                $statement = "";
-            }
-        }
-
-       local $SIG{__WARN__} = sub {};
-       my $is_local = 0; # local/etc/schema needs to be nonfatal. 
-        $dbh->begin_work or die $dbh->errstr;
-        foreach my $statement (@schema) {
-           if ($statement =~ /^\s*;$/) { $is_local = 1; next; }
-            print STDERR "SQL: $statement\n" if defined $args{'debug'};
-            my $sth = $dbh->prepare($statement) or die $dbh->errstr;
-            unless ( $sth->execute or $is_local ) {
-                die "Problem with statement:\n $statement\n" . $sth->errstr;
-            }
-        }
-        $dbh->commit or die $dbh->errstr;
-
-    }
-    else {
-        die "Couldn't find schema file for " . $RT::DatabaseType . "\n";
-    }
-    print "Done setting up database schema.\n";
-
-}
-
-# }}}
-
-# {{{ sub drop_db
-sub drop_db {
-    if ( $RT::DatabaseType eq 'Oracle' ) {
-        print <<END;
-
-To delete the tables and sequences of the RT Oracle database by running 
-    \@etc/drop.Oracle 
-through SQLPlus.
-
-END
-        return;
-    }  
-    unless ( $args{'force'} ) {
-        print <<END;
-
-About to drop $RT::DatabaseType database $RT::DatabaseName on $RT::DatabaseHost.
-WARNING: This will erase all data in $RT::DatabaseName.
-
-END
-        exit unless _yesno();
-
-    }
-
-    print "Dropping $RT::DatabaseType database $RT::DatabaseName.\n";
-
-    if ( $RT::DatabaseType eq 'SQLite' ) {
-       unlink $RT::DatabaseName or warn $!;
-       return;
-    }
-    $dbh->do("Drop DATABASE $RT::DatabaseName") or warn $DBI::errstr;
-}
-
-# }}}
-
-# {{{ sub create_db
-sub create_db {
-    print "Creating $RT::DatabaseType database $RT::DatabaseName.\n";
-    if ( $RT::DatabaseType eq 'SQLite' ) {
-        return;
-    }
-    elsif ( $RT::DatabaseType eq 'Pg' ) {
-        $dbh->do("CREATE DATABASE $RT::DatabaseName WITH ENCODING='UNICODE'");
-        if ($DBI::errstr) {
-            $dbh->do("CREATE DATABASE $RT::DatabaseName") || die $DBI::errstr;
-        }
-    }
-    elsif ($RT::DatabaseType eq 'Oracle') {
-        insert_acl();
-    }
-    elsif ( $RT::DatabaseType eq 'Informix' ) {
-       $ENV{DB_LOCALE} = 'en_us.utf8';
-        $dbh->do("CREATE DATABASE $RT::DatabaseName WITH BUFFERED LOG");
-    }
-    else {
-        $dbh->do("CREATE DATABASE $RT::DatabaseName") or die $DBI::errstr;
-    }
-}
-
-# }}}
-
-sub get_dba_password {
-    print "In order to create or update your RT database,";
-    print "this script needs to connect to your "
-      . $RT::DatabaseType
-      . " instance on "
-      . $RT::DatabaseHost . " as "
-      . $args{'dba'} . ".\n";
-    print "Please specify that user's database password below. If the user has no database\n";
-    print "password, just press return.\n\n";
-    print "Password: ";
-    ReadMode('noecho');
-    my $password = ReadLine(0);
-    ReadMode('normal');
-    print "\n";
-    return ($password);
-}
-
-# {{{ sub _yesno
-sub _yesno {
-    print "Proceed [y/N]:";
-    my $x = scalar(<STDIN>);
-    $x =~ /^y/i;
-}
-
-# }}}
-
-# {{{ insert_acls
-sub insert_acl {
-
-        my $base_path = (shift || $RT::EtcPath);
-
-    if ( $RT::DatabaseType =~ /^oracle$/i ) {
-        do $base_path . "/acl.Oracle"
-          || die "Couldn't find ACLS for Oracle\n" . $@;
-    }
-    elsif ( $RT::DatabaseType =~ /^pg$/i ) {
-        do $base_path . "/acl.Pg" || die "Couldn't find ACLS for Pg\n" . $@;
-    }
-    elsif ( $RT::DatabaseType =~ /^mysql$/i ) {
-        do $base_path . "/acl.mysql"
-          || die "Couldn't find ACLS for mysql in $base_path\n" . $@;
-    }
-    elsif ( $RT::DatabaseType =~ /^Sybase$/i ) {
-        do $base_path . "/acl.Sybase"
-          || die "Couldn't find ACLS for Sybase in $base_path\n" . $@;
-    }
-    elsif ( $RT::DatabaseType =~ /^informix$/i ) {
-        do $base_path . "/acl.Informix"
-          || die "Couldn't find ACLS for Informix in $base_path\n" . $@;
-    }
-    elsif ( $RT::DatabaseType =~ /^SQLite$/i ) {
-        return;
-    }
-    else {
-        die "Unknown RT database type";
-    }
-
-    my @acl = acl($dbh);
-    foreach my $statement (@acl) {
-        print STDERR $statement if $args{'debug'};
-        my $sth = $dbh->prepare($statement) or die $dbh->errstr;
-        unless ( $sth->execute ) {
-            die "Problem with statement:\n $statement\n" . $sth->errstr;
-        }
-    }
-    print "Done setting up database ACLs.\n";
-}
-
-# }}}
-
-=head2 get_system_dsn
-
-Returns a dsn suitable for database creates and drops
-and user creates and drops
-
-=cut
-
-sub get_system_dsn {
-
-    my $dsn = $Handle->DSN;
-
-    #with mysql, you want to connect sans database to funge things
-    if ( $RT::DatabaseType eq 'mysql' ) {
-        $dsn =~ s/dbname=$RT::DatabaseName//;
-
-        # with postgres, you want to connect to database1
-    }
-    elsif ( $RT::DatabaseType eq 'Pg' ) {
-        $dsn =~ s/dbname=$RT::DatabaseName/dbname=template1/;
-    }
-    elsif ( $RT::DatabaseType eq 'Informix' ) {
-       # with Informix, you want to connect sans database:
-       $dsn =~ s/Informix:$RT::DatabaseName/Informix:/;
-    }
-    return $dsn;
-}
-
-sub insert_initial_data {
-
-    RT::InitLogging();
-
-    #connect to the db, for actual RT work
-    require RT::Handle;
-    $RT::Handle = RT::Handle->new();
-    $RT::Handle->Connect();
-
-    #Put together a current user object so we can create a User object
-    my $CurrentUser = new RT::CurrentUser();
-
-    print "Checking for existing system user...";
-    my $test_user = RT::User->new($CurrentUser);
-    $test_user->Load('RT_System');
-    if ( $test_user->id ) {
-        print "found!\n\nYou appear to have a functional RT database.\n"
-          . "Exiting, so as not to clobber your existing data.\n";
-        exit(-1);
-
-    }
-    else {
-        print "not found.  This appears to be a new installation.\n";
-    }
-
-    print "Creating system user...";
-    my $RT_System = new RT::User($CurrentUser);
-
-    my ( $val, $msg ) = $RT_System->_BootstrapCreate(
-        Name     => 'RT_System',
-        RealName => 'The RT System itself',
-        Comments =>
-'Do not delete or modify this user. It is integral to RT\'s internal database structures',
-        Creator => '1',
-        LastUpdatedBy => '1' );
-
-    unless ($val) {
-        print "$msg\n";
-        exit(1);
-    }
-    print "done.\n";
-    $RT::Handle->Disconnect() unless ($RT::DatabaseType eq 'SQLite');
-
-}
-
-# load some sort of data into the database
-
-sub insert_data {
-    my $datafile = shift;
-
-    #Connect to the database and get RT::SystemUser and RT::Nobody loaded
-    RT::Init;
-
-    my $CurrentUser = RT::CurrentUser->new();
-    $CurrentUser->LoadByName('RT_System');
-
-    if ( $datafile eq $RT::EtcPath . "/initialdata" ) {
-
-        print "Creating Superuser  ACL...";
-
-        my $superuser_ace = RT::ACE->new($CurrentUser);
-        $superuser_ace->_BootstrapCreate(
-                             PrincipalId => ACLEquivGroupId( $CurrentUser->Id ),
-                             PrincipalType => 'Group',
-                             RightName     => 'SuperUser',
-                             ObjectType    => 'RT::System',
-                             ObjectId      => '1' );
-
-        print "done.\n";
-    }
-
-    # Slurp in stuff to insert from the datafile. Possible things to go in here:-
-    # @groups, @users, @acl, @queues, @ScripActions, @ScripConditions, @templates
-
-    require $datafile
-      || die "Couldn't find initial data for import\n" . $@;
-
-    if (@Groups) {
-        print "Creating groups...";
-        foreach $item (@Groups) {
-            my $new_entry = RT::Group->new($CurrentUser);
-            my ( $return, $msg ) = $new_entry->_Create(%$item);
-            print "(Error: $msg)" unless ($return);
-            print $return. ".";
-        }
-        print "done.\n";
-    }
-    if (@Users) {
-        print "Creating users...";
-        foreach $item (@Users) {
-            my $new_entry = new RT::User($CurrentUser);
-            my ( $return, $msg ) = $new_entry->Create(%$item);
-            print "(Error: $msg)" unless ($return);
-            print $return. ".";
-        }
-        print "done.\n";
-    }
-    if (@Queues) {
-        print "Creating queues...";
-        for $item (@Queues) {
-            my $new_entry = new RT::Queue($CurrentUser);
-            my ( $return, $msg ) = $new_entry->Create(%$item);
-            print "(Error: $msg)" unless ($return);
-            print $return. ".";
-        }
-        print "done.\n";
-    }
-    if (@ACL) {
-        print "Creating ACL...";
-        for my $item (@ACL) {
-
-           my ($princ, $object);
-
-           # Global rights or Queue rights?
-           if ($item->{'Queue'}) {
-                $object = RT::Queue->new($CurrentUser);
-                $object->Load( $item->{'Queue'} );
-           } else {
-               $object = $RT::System;
-           }
-
-           # Group rights or user rights?
-           if ($item->{'GroupDomain'}) {
-                $princ = RT::Group->new($CurrentUser);
-               if ($item->{'GroupDomain'} eq 'UserDefined') {
-                  $princ->LoadUserDefinedGroup( $item->{'GroupId'} );
-               } elsif ($item->{'GroupDomain'} eq 'SystemInternal') {
-                  $princ->LoadSystemInternalGroup( $item->{'GroupType'} );
-               } elsif ($item->{'GroupDomain'} eq 'RT::System-Role') {
-                  $princ->LoadSystemRoleGroup( $item->{'GroupType'} );
-               } elsif ($item->{'GroupDomain'} eq 'RT::Queue-Role' &&
-                        $item->{'Queue'}) {
-                  $princ->LoadQueueRoleGroup( Type => $item->{'GroupType'},
-                                             Queue => $object->id);
-               } else {
-                  $princ->Load( $item->{'GroupId'} );
-               }
-           } else {
-               $princ = RT::User->new($CurrentUser);
-               $princ->Load( $item->{'UserId'} );
-           }
-
-           # Grant it
-           my ( $return, $msg ) = $princ->PrincipalObj->GrantRight(
-                                                     Right => $item->{'Right'},
-                                                     Object => $object );
-
-            if ($return) {
-                print $return. ".";
-            }
-            else {
-                print $msg . ".";
-
-            }
-
-        }
-        print "done.\n";
-    }
-    if (@CustomFields) {
-        print "Creating custom fields...";
-        for $item (@CustomFields) {
-            my $new_entry = new RT::CustomField($CurrentUser);
-            my $values    = $item->{'Values'};
-            delete $item->{'Values'};
-            my $q     = $item->{'Queue'};
-            my $q_obj = RT::Queue->new($CurrentUser);
-            $q_obj->Load($q);
-            if ( $q_obj->Id ) {
-                $item->{'Queue'} = $q_obj->Id;
-            }
-            elsif ( $q == 0 ) {
-                $item->{'Queue'} = 0;
-            }
-            else {
-                print "(Error: Could not find queue " . $q . ")\n"
-                  unless ( $q_obj->Id );
-                next;
-            }
-            my ( $return, $msg ) = $new_entry->Create(%$item);
-
-            foreach my $value ( @{$values} ) {
-                my ( $eval, $emsg ) = $new_entry->AddValue(%$value);
-                print "(Error: $emsg)\n" unless ($eval);
-            }
-
-            print "(Error: $msg)\n" unless ($return);
-            print $return. ".";
-        }
-
-        print "done.\n";
-    }
-
-    if (@ScripActions) {
-        print "Creating ScripActions...";
-
-        for $item (@ScripActions) {
-            my $new_entry = RT::ScripAction->new($CurrentUser);
-            my $return    = $new_entry->Create(%$item);
-            print $return. ".";
-        }
-
-        print "done.\n";
-    }
-
-    if (@ScripConditions) {
-        print "Creating ScripConditions...";
-
-        for $item (@ScripConditions) {
-            my $new_entry = RT::ScripCondition->new($CurrentUser);
-            my $return    = $new_entry->Create(%$item);
-            print $return. ".";
-        }
-
-        print "done.\n";
-    }
-
-    if (@Templates) {
-        print "Creating templates...";
-
-        for $item (@Templates) {
-            my $new_entry = new RT::Template($CurrentUser);
-            my $return    = $new_entry->Create(%$item);
-            print $return. ".";
-        }
-        print "done.\n";
-    }
-    if (@Scrips) {
-        print "Creating scrips...";
-
-        for $item (@Scrips) {
-            my $new_entry = new RT::Scrip($CurrentUser);
-            my ( $return, $msg ) = $new_entry->Create(%$item);
-            if ($return) {
-                print $return. ".";
-            }
-            else {
-                print "(Error: $msg)\n";
-            }
-        }
-        print "done.\n";
-    }
-    $RT::Handle->Disconnect() unless ($RT::DatabaseType eq 'SQLite');
-    print "Done setting up database content.\n";
-}
-
-=head2 ACLEquivGroupId
-
-Given a userid, return that user's acl equivalence group
-
-=cut
-
-sub ACLEquivGroupId {
-    my $username = shift;
-    my $user     = RT::User->new($RT::SystemUser);
-    $user->Load($username);
-    my $equiv_group = RT::Group->new($RT::SystemUser);
-    $equiv_group->LoadACLEquivalenceGroup($user);
-    return ( $equiv_group->Id );
-}
-
-sub help {
-
-    print <<EOF;
-
-$0: Set up RT's database
-
---action        init    Initialize the database
-                drop    Drop the database. 
-                        This will ERASE ALL YOUR DATA
-                insert_initial 
-                        Insert RT's core system objects
-                insert  Insert data into RT's database. 
-                        By default, will use RT's installation data.
-                        To use a local or supplementary datafile, specify it
-                        using the '--datafile' option below.
-                        
-                acl     Initialize only the database ACLs
-                        To use a local or supplementary datafile, specify it
-                        using the '--datadir' option below.
-                        
-                schema  Initialize only the database schema
-                        To use a local or supplementary datafile, specify it
-                        using the '--datadir' option below.
-
---datafile /path/to/datafile
---datadir /path/to/              Used to specify a path to find the local
-                                database schema and acls to be installed.
-
-
---dba                           dba's username
---dba-password                  dba's password
---prompt-for-dba-password       Ask for the database administrator's password interactively
-
-
-EOF
-
-}
-
-1;
diff --git a/rt/sbin/rt-test-dependencies.in b/rt/sbin/rt-test-dependencies.in
deleted file mode 100644 (file)
index f79e4e5..0000000
+++ /dev/null
@@ -1,377 +0,0 @@
-#!@PERL@
-# BEGIN BPS TAGGED BLOCK {{{
-# 
-# COPYRIGHT:
-#  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
-#                                          <jesse@bestpractical.com>
-# 
-# (Except where explicitly superseded by other copyright notices)
-# 
-# 
-# LICENSE:
-# 
-# This work is made available to you under the terms of Version 2 of
-# the GNU General Public License. A copy of that license should have
-# been provided with this software, but in any event can be snarfed
-# from www.gnu.org.
-# 
-# This work is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-# 
-# 
-# CONTRIBUTION SUBMISSION POLICY:
-# 
-# (The following paragraph is not intended to limit the rights granted
-# to you to modify and distribute this software under the terms of
-# the GNU General Public License and is only of importance to you if
-# you choose to contribute your changes and enhancements to the
-# community by submitting them to Best Practical Solutions, LLC.)
-# 
-# By intentionally submitting any modifications, corrections or
-# derivatives to this work, or any other work intended for use with
-# Request Tracker, to Best Practical Solutions, LLC, you confirm that
-# you are the copyright holder for those contributions and you grant
-# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
-# royalty-free, perpetual, license to use, copy, create derivative
-# works based on those contributions, and sublicense and distribute
-# those contributions and any derivatives thereof.
-# 
-# END BPS TAGGED BLOCK }}}
-#
-# This is just a basic script that checks to make sure that all
-# the modules needed by RT before you can install it.
-#
-
-use strict;
-no warnings qw(numeric redefine);
-use Getopt::Long;
-my %args;
-my %deps;
-GetOptions(
-    \%args,                               'v|verbose',
-    'install',                            'with-MYSQL',
-    'with-POSTGRESQL|with-pg|with-pgsql', 'with-SQLITE',
-    'with-ORACLE',                        'with-FASTCGI',
-    'with-SPEEDYCGI',                     'with-MODPERL1',
-    'with-MODPERL2',                      'with-DEV',
-    'download=s',
-    'repository=s'
-);
-
-unless (keys %args) {
-    help();
-    exit(0);
-}
-
-# Set up defaults
-$args{'with-MASON'} = 1;
-$args{'with-CORE'} = 1;
-$args{'with-DEV'} =1; 
-$args{'with-CLI'} =1; 
-$args{'with-MAILGATE'} =1; 
-{
-  my $section;
-  my %always_show_sections = (
-    perl => 1,
-    users => 1,
-  );
-
-  sub section {
-    my $s = shift;
-    $section = $s;
-    print "$s:\n";
-  }
-
-  my $any_missing = 0;
-  sub found {
-    my $msg = shift;
-    my $test = shift;
-    my $extra = shift;
-  
-    $any_missing = 1 unless $test;
-    if ($args{'v'} or not $test or $always_show_sections{$section}) {
-      print "\t$msg...";
-      print $test ? "found" : "MISSING";
-      print "\n";
-    }
-    
-    print "\t\t$extra\n" if defined $extra;
-  }
-
-  sub conclude {
-    if ($any_missing) {
-      print "\nSOMETHING WAS MISSING!\n";
-    } else {
-      print "\nEverything was found.\n";
-    }
-  }
-}
-
-sub help {
-
-    print <<'.';
-
-By default, testdeps determine whether you have 
-installed all the perl modules RT needs to run.
-
-       --install               Install missing modules
-
-The following switches will tell the tool to check for specific dependencies
-
-       --with-mysql            Database interface for MySQL
-       --with-postgresql       Database interface for PostgreSQL 
-       --with-sqlite           Database interface and driver for SQLite (unsupported)
-       --with-oracle           Database interface for oracle (unsupported)
-
-       --with-fastcgi          Libraries needed to support the fastcgi handler
-       --with-speedycgi        Libraries needed to support the speedycgi handler
-       --with-modperl1         Libraries needed to support the modperl 1 handler
-       --with-modperl2         Libraries needed to support the modperl 2 handler
-
-       --with-dev              Tools needed for RT development
-
-You can also specify -v or --verbose to list the status of all dependencies,
-rather than just the missing ones.
-.
-}
-
-
-sub _ {
-    map { /(\S+)\s*(\S*)/; $1 => ($2 ? $2 :'') } split ( /\n/, $_[0] );
-}
-
-$deps{'CORE'} = [ _( << '.') ];
-Digest::base
-Digest::MD5 2.27
-DBI 1.37
-Test::Inline
-Class::ReturnValue 0.40
-DBIx::SearchBuilder 1.26
-Text::Template
-File::Spec 0.8
-HTML::Entities 
-HTML::Scrubber 0.08
-Net::Domain
-Log::Dispatch 2.0
-Locale::Maketext 1.06
-Locale::Maketext::Lexicon 0.32
-Locale::Maketext::Fuzzy
-MIME::Entity 5.108
-Mail::Mailer 1.57
-Net::SMTP
-Text::Wrapper 
-Time::ParseDate
-Time::HiRes 
-File::Temp
-Term::ReadKey
-Text::Autoformat
-Text::Quoted 1.3
-Tree::Simple 1.04
-Scalar::Util
-Module::Versions::Report
-Cache::Simple::TimedExpiry
-XML::Simple
-.
-
-$deps{'MASON'} = [ _( << '.') ];
-Params::Validate 0.02
-Cache::Cache
-Exception::Class 1.14
-HTML::Mason 1.23
-MLDBM
-Errno
-FreezeThaw
-Digest::MD5 2.27
-CGI::Cookie 1.20
-Storable 2.08
-Apache::Session 1.53
-XML::RSS 1.05
-HTTP::Server::Simple 0.07
-HTTP::Server::Simple::Mason 0.09
-Text::WikiFormat
-.
-
-$deps{'MAILGATE'} = [ _( << '.') ];
-HTML::TreeBuilder
-HTML::FormatText
-Getopt::Long
-LWP::UserAgent
-.
-
-$deps{'CLI'} = [ _( << '.') ];
-Getopt::Long 2.24
-.
-
-$deps{'DEV'} = [ _( << '.') ];
-Regexp::Common
-Test::Inline 
-Apache::Test
-HTML::Form
-HTML::TokeParser
-WWW::Mechanize
-Test::WWW::Mechanize
-Module::Refresh 0.03
-.
-
-$deps{'FASTCGI'} = [ _( << '.') ];
-CGI 2.92
-FCGI
-CGI::Fast 
-.
-
-$deps{'SPEEDYCGI'} = [ _( << '.') ];
-CGI 2.92
-CGI::SpeedyCGI
-.
-
-
-$deps{'MODPERL1'} = [ _( << '.') ];
-CGI 2.92
-Apache::Request
-Apache::DBI 0.92
-.
-
-$deps{'MODPERL2'} = [ _( << '.') ];
-CGI 2.92
-Apache::DBI
-HTML::Mason 1.31
-.
-
-$deps{'MYSQL'} = [ _( << '.') ];
-DBD::mysql 2.1018
-.
-$deps{'ORACLE'} = [ _( << '.') ];
-DBD::Oracle
-.
-$deps{'POSTGRESQL'} = [ _( << '.') ];
-DBD::Pg 1.41
-.
-
-$deps{'SQLITE'} = [ _( << '.') ];
-DBD::SQLite
-.
-
-if ($args{'download'}) {
-
-    download_mods();
-}
-
-
-check_perl_version();
-
-check_users();
-
-
-foreach my $type (keys %args) {
-    next unless ($type =~ /^with-(.*?)$/);
-    my $type = $1;
-    section("$type dependencies");
-    my @deps = (@{$deps{$type}});
-    while (@deps) {
-        my $module = shift @deps;
-        my $version = shift @deps;
-        my $ret = test_dep($module, $version); 
-
-        if ($args{'install'} && !$ret) {
-            resolve_dep($module);              
-        }
-    }
-}
-
-conclude();
-
-sub test_dep {
-    my $module = shift;
-    my $version = shift;
-
-    eval "use $module $version ()";
-    if ($@) {
-        my $error = $@;
-        $error =~ s/\n(.*)$//s;
-        undef $error unless $error =~ /this is only/;
-        found("$module $version", 0, $error);
-
-        return undef;
-    } else {
-        found("$module $version", 1);
-        return 1;
-    }
-}
-
-sub resolve_dep {
-    my $module = shift;
-    system( qq[@PERL@ -MCPAN -e'install("$module")'] );
-}
-
-sub download_mods {
-    my %modules;
-    use CPAN;
-    
-    foreach my $key (keys %deps) {
-        my @deps = (@{$deps{$key}});
-        while (@deps) {
-            my $mod = shift @deps;
-            my $ver = shift @deps;
-            next if ($mod =~ /^(DBD-|Apache-Request)/);
-            $modules{$mod} = $ver;
-        }
-    }
-    my @mods = keys %modules;
-    CPAN::get();
-    my $moddir = $args{'download'};
-    foreach my $mod (@mods) {
-        $CPAN::Config->{'build_dir'} = $moddir;
-        CPAN::get($mod);
-    }
-
-    opendir(DIR, $moddir);
-    while ( my $dir = readdir(DIR)) {
-        print "Dir is $dir\n";
-        next if ( $dir =~ /^\.\.?$/);
-
-        # Skip things we've previously tagged
-        my $out = `svn ls $args{'repository'}/tags/$dir`;
-        next if ($out);
-
-        if ($dir =~ /^(.*)-(.*?)$/) {
-            `svn_load_dirs -no_user_input -t tags/$dir -v $args{'repository'} dists/$1 $moddir/$dir`;
-            `rm -rf $moddir/$dir`;
-
-        }
-
-    }
-    closedir(DIR);
-    exit;
-}
-
-sub check_perl_version {
-  section("perl");
-  eval {require 5.008003};
-  if ($@) {
-    found("5.8.3", 0, "RT is known to be non-functional on versions of perl older than 5.8.3. Please upgrade to 5.8.3 or newer.");
-    die;
-  } else {
-    found("5.8.3", 1);
-  }
-}
-
-sub check_users {
-  section("users");
-  found("rt group (@RTGROUP@)",      defined getgrnam("@RTGROUP@"));
-  found("bin owner (@BIN_OWNER@)",   defined getpwnam("@BIN_OWNER@"));
-  found("libs owner (@LIBS_OWNER@)", defined getpwnam("@LIBS_OWNER@"));
-  found("libs group (@LIBS_GROUP@)", defined getgrnam("@LIBS_GROUP@"));
-  found("web owner (@WEB_USER@)",    defined getpwnam("@WEB_USER@"));
-  found("web group (@WEB_GROUP@)",   defined getgrnam("@WEB_GROUP@"));
-}
-
-
-
-1;
diff --git a/test/cgi-test b/test/cgi-test
deleted file mode 100755 (executable)
index 2dda484..0000000
+++ /dev/null
@@ -1,560 +0,0 @@
-#!/usr/bin/perl -Tw
-#
-# $Id: cgi-test,v 1.3 2001-08-21 02:32:54 ivan Exp $
-#
-# This is the beginning of a test suite for the web interface.
-# It's also excellent for populating your database with some meaningful test
-# data.  (a derivative is used by the web demo)
-# It only works on an empty database (probably need empty counters too, and
-# no arbirary RADIUS attributes).
-# Usage: cgi-test http://base.freeside.url/with/path/ username password
-# (Yes, if you were properly paranoid and are using SSL, you'll need to get
-#  libwww-perl working with SSL to use this.)
-
-use strict;
-#use diagnostics;
-use subs qw( big_ugly_data_structure );
-use CGI;
-use LWP::UserAgent;
-
-my ( $base_url, $username, $password ) = ( shift, shift, shift );
-#trust 'em
-$base_url =~ /^(.*)$/; $base_url = $1;
-$username =~ /^(.*)$/; $username = $1;
-$password =~ /^(.*)$/; $password = $1;
-
-my @data = &big_ugly_data_structure;
-
-my $ua = new LWP::UserAgent;
-{
-  local $^W = 0;
-  eval '
-    sub LWP::UserAgent::get_basic_credentials {
-      #my $self = shift;
-      ( $username, $password );
-    }
-  ';
-}
-
-my $data;
-while ( $data = shift @data ) {
-  my $cgi = new CGI ( $data->{'params'} );
-  my $full_url = $base_url. $data->{'url'}. '?'. $cgi->query_string;
-  #my $request = new HTTP::Request( 'POST', $full_url );
-  my $request = new HTTP::Request( 'GET', $full_url );
-  my $response = $ua->request( $request );
-  if ( $response->is_redirect ) {
-    die "Unexpected redirect!\n".
-           "URL: $full_url\n".
-           "To: ". $response->base. "\n"
-    ;
-  } elsif ( $response->is_success ) {
-    my $location = $response->base;
-    my $expected_location = $data->{'location'};
-    #if ( $location =~ /^$base_url$expected_location$/ ) {
-    if ( $location eq $base_url. $expected_location ) {
-      #warn "cool, got expected response $location from $full_url\n";
-    } else {
-      die "Strange, regular response, but unexpected base!\n".
-        "URL: $full_url\n".
-        "Base    : ". $response->base. "\n".
-        "Expected: $base_url$expected_location\n".
-        "Output: ". $response->content. "\n"
-      ;
-    }
-  } elsif ( $response->is_error ) {
-    die "Strange, I got an error\n".
-        "URL: $full_url\n".
-        "Error: ". $response->error_as_HTML. "\n".
-        "Output: ". $response->content. "\n"
-    ;
-  } elsif ( $response->is_info ) {
-    die "Strange, I got an info reponse\n".
-        "URL: $full_url\n".
-        "Output: ". $response->content. "\n"
-    ;
-  } else {
-    die "Really strange, got an unrecognized response from LWP::UserAgent!\n";
-  }
-}
-
-#---
-
-sub big_ugly_data_structure {
-
-  (
-    { 'url'      => 'edit/process/part_svc.cgi',
-      'params'   => {
-                      'svcpart' => '',
-                      'svc'     => 'Shell',
-                      'svcdb'   => 'svc_acct',
-                      'svc_acct__popnum_flag' => '',
-                      'svc_acct__popnum' => '',
-                      'svc_acct__dir_flag' => '',
-                      'svc_acct__dir' => '',
-                      'svc_acct__username_flag' => '',
-                      'svc_acct__username' => '',
-                      'svc_acct__uid_flag' => '',
-                      'svc_acct__uid' => '',
-                      'svc_acct__quota_flag' => 'F',
-                      'svc_acct__quota' => '10',
-                      'svc_acct__slipip_flag' => 'F',
-                      'svc_acct__slipip' => '',
-                      'svc_acct___password_flag' => '',
-                      'svc_acct___password' => '',
-                      'svc_acct__gid_flag' => '',
-                      'svc_acct__gid' => '',
-                      'svc_acct__shell_flag' => 'D',
-                      'svc_acct__shell' => '/bin/sh',
-                      'svc_acct__finger_flag' => '',
-                      'svc_acct__finger' => '',
-                      'svc_domain__domain_flag' => '',
-                      'svc_domain__domain' => '',
-                      'svc_acct_sm__domuser_flag' => '',
-                      'svc_acct_sm__domuser' => '',
-                      'svc_acct_sm__domuid_flag' => '',
-                      'svc_acct_sm__domuid' => '',
-                      'svc_acct_sm__domsvc_flag' => '',
-                      'svc_acct_sm__domsvc' => '',
-                    },
-      'location' => 'browse/part_svc.cgi',
-    },
-    { 'url'      => 'edit/process/part_svc.cgi',
-      'params'   => {
-                      'svcpart' => '',
-                      'svc'     => 'SLIP/PPP',
-                      'svcdb'   => 'svc_acct',
-                      'svc_acct__popnum_flag' => '',
-                      'svc_acct__popnum' => '',
-                      'svc_acct__dir_flag' => '',
-                      'svc_acct__dir' => '',
-                      'svc_acct__username_flag' => '',
-                      'svc_acct__username' => '',
-                      'svc_acct__uid_flag' => '',
-                      'svc_acct__uid' => '',
-                      'svc_acct__quota_flag' => 'F',
-                      'svc_acct__quota' => '10',
-                      'svc_acct__slipip_flag' => 'D',
-                      'svc_acct__slipip' => '0.0.0.0',
-                      'svc_acct___password_flag' => '',
-                      'svc_acct___password' => '',
-                      'svc_acct__gid_flag' => '',
-                      'svc_acct__gid' => '',
-                      'svc_acct__shell_flag' => 'D',
-                      'svc_acct__shell' => '/bin/sh',
-                      'svc_acct__finger_flag' => '',
-                      'svc_acct__finger' => '',
-                      'svc_domain__domain_flag' => '',
-                      'svc_domain__domain' => '',
-                      'svc_acct_sm__domuser_flag' => '',
-                      'svc_acct_sm__domuser' => '',
-                      'svc_acct_sm__domuid_flag' => '',
-                      'svc_acct_sm__domuid' => '',
-                      'svc_acct_sm__domsvc_flag' => '',
-                      'svc_acct_sm__domsvc' => '',
-                    },
-      'location' => 'browse/part_svc.cgi',
-    },
-    { 'url'      => 'edit/process/part_svc.cgi',
-      'params'   => {
-                      'svcpart' => '',
-                      'svc'     => 'POP Mailbox',
-                      'svcdb'   => 'svc_acct',,
-                      'svc_acct__popnum_flag' => 'F',
-                      'svc_acct__popnum' => '',
-                      'svc_acct__dir_flag' => '',
-                      'svc_acct__dir' => '',
-                      'svc_acct__username_flag' => '',
-                      'svc_acct__username' => '',
-                      'svc_acct__uid_flag' => '',
-                      'svc_acct__uid' => '',
-                      'svc_acct__quota_flag' => 'F',
-                      'svc_acct__quota' => '10',
-                      'svc_acct__slipip_flag' => 'F',
-                      'svc_acct__slipip' => '',
-                      'svc_acct___password_flag' => '',
-                      'svc_acct___password' => '',
-                      'svc_acct__gid_flag' => '',
-                      'svc_acct__gid' => '',
-                      'svc_acct__shell_flag' => 'F',
-                      'svc_acct__shell' => '/bin/passwd',
-                      'svc_acct__finger_flag' => '',
-                      'svc_acct__finger' => '',
-                      'svc_domain__domain_flag' => '',
-                      'svc_domain__domain' => '',
-                      'svc_acct_sm__domuser_flag' => '',
-                      'svc_acct_sm__domuser' => '',
-                      'svc_acct_sm__domuid_flag' => '',
-                      'svc_acct_sm__domuid' => '',
-                      'svc_acct_sm__domsvc_flag' => '',
-                      'svc_acct_sm__domsvc' => '',
-                    },
-      'location' => 'browse/part_svc.cgi',
-    },
-    { 'url'      => 'edit/process/part_svc.cgi',
-      'params'   => {
-                      'svcpart' => '',
-                      'svc'     => 'Domain',
-                      'svcdb'   => 'svc_domain',,
-                      'svc_acct__popnum_flag' => '',
-                      'svc_acct__popnum' => '',
-                      'svc_acct__dir_flag' => '',
-                      'svc_acct__dir' => '',
-                      'svc_acct__username_flag' => '',
-                      'svc_acct__username' => '',
-                      'svc_acct__uid_flag' => '',
-                      'svc_acct__uid' => '',
-                      'svc_acct__quota_flag' => '',
-                      'svc_acct__quota' => '',
-                      'svc_acct__slipip_flag' => '',
-                      'svc_acct__slipip' => '',
-                      'svc_acct___password_flag' => '',
-                      'svc_acct___password' => '',
-                      'svc_acct__gid_flag' => '',
-                      'svc_acct__gid' => '',
-                      'svc_acct__shell_flag' => '',
-                      'svc_acct__shell' => '',
-                      'svc_acct__finger_flag' => '',
-                      'svc_acct__finger' => '',
-                      'svc_domain__domain_flag' => '',
-                      'svc_domain__domain' => '',
-                      'svc_acct_sm__domuser_flag' => '',
-                      'svc_acct_sm__domuser' => '',
-                      'svc_acct_sm__domuid_flag' => '',
-                      'svc_acct_sm__domuid' => '',
-                      'svc_acct_sm__domsvc_flag' => '',
-                      'svc_acct_sm__domsvc' => '',
-                    },
-      'location' => 'browse/part_svc.cgi',
-    },
-    { 'url'      => 'edit/process/part_svc.cgi',
-      'params'   => {
-                      'svcpart' => '',
-                      'svc'     => 'Domain email alias',
-                      'svcdb'   => 'svc_acct_sm',,
-                      'svc_acct__popnum_flag' => '',
-                      'svc_acct__popnum' => '',
-                      'svc_acct__dir_flag' => '',
-                      'svc_acct__dir' => '',
-                      'svc_acct__username_flag' => '',
-                      'svc_acct__username' => '',
-                      'svc_acct__uid_flag' => '',
-                      'svc_acct__uid' => '',
-                      'svc_acct__quota_flag' => '',
-                      'svc_acct__quota' => '',
-                      'svc_acct__slipip_flag' => '',
-                      'svc_acct__slipip' => '',
-                      'svc_acct___password_flag' => '',
-                      'svc_acct___password' => '',
-                      'svc_acct__gid_flag' => '',
-                      'svc_acct__gid' => '',
-                      'svc_acct__shell_flag' => '',
-                      'svc_acct__shell' => '',
-                      'svc_acct__finger_flag' => '',
-                      'svc_acct__finger' => '',
-                      'svc_domain__domain_flag' => '',
-                      'svc_domain__domain' => '',
-                      'svc_acct_sm__domuser_flag' => '',
-                      'svc_acct_sm__domuser' => '',
-                      'svc_acct_sm__domuid_flag' => '',
-                      'svc_acct_sm__domuid' => '',
-                      'svc_acct_sm__domsvc_flag' => '',
-                      'svc_acct_sm__domsvc' => '',
-                    },
-      'location' => 'browse/part_svc.cgi',
-    },
-
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Personal SLIP/PPP',
-                      'comment' => '$30/setup, $19.99/month',
-                      'setup' => '30',
-                      'recur' => '19.99',
-                      'freq' => '1',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '1',
-                      'pkg_svc3' => '0',
-                      'pkg_svc4' => '0',
-                      'pkg_svc5' => '0',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Personal SLIP/PPP',
-                      'comment' => '$0/setup, $179.88/year',
-                      'setup' => '0',
-                      'recur' => '179.88',
-                      'freq' => '12',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '1',
-                      'pkg_svc3' => '0',
-                      'pkg_svc4' => '0',
-                      'pkg_svc5' => '0',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Personal POP mailbox',
-                      'comment' => '$10/setup, $5/month',
-                      'setup' => '10',
-                      'recur' => '5',
-                      'freq' => '1',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '0',
-                      'pkg_svc3' => '1',
-                      'pkg_svc4' => '0',
-                      'pkg_svc5' => '0',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Business SLIP/PPP',
-                      'comment' => '$30/setup, $29.99/month',
-                      'setup' => '30',
-                      'recur' => '29.99',
-                      'freq' => '1',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '1',
-                      'pkg_svc3' => '0',
-                      'pkg_svc4' => '1',
-                      'pkg_svc5' => '1',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Business SLIP/PPP',
-                      'comment' => '$0/setup, $299.88/year',
-                      'setup' => '0',
-                      'recur' => '299.88',
-                      'freq' => '12',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '1',
-                      'pkg_svc3' => '0',
-                      'pkg_svc4' => '1',
-                      'pkg_svc5' => '1',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Business POP mailbox',
-                      'comment' => '$10/setup, $5/month',
-                      'setup' => '10',
-                      'recur' => '5',
-                      'freq' => '1',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '0',
-                      'pkg_svc3' => '1',
-                      'pkg_svc4' => '0',
-                      'pkg_svc5' => '1',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'UNIX shell',
-                      'comment' => '$20/setup, $9.99/month',
-                      'setup' => '20',
-                      'recur' => '9.99',
-                      'freq' => '1',
-                      'pkg_svc1' => '1',
-                      'pkg_svc2' => '0',
-                      'pkg_svc3' => '0',
-                      'pkg_svc4' => '0',
-                      'pkg_svc5' => '0',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Point-to-point T1',
-                      'comment' => '$1000/setup, $1000/month',
-                      'setup' => '1000',
-                      'recur' => '1000',
-                      'freq' => '1',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '0',
-                      'pkg_svc3' => '5',
-                      'pkg_svc4' => '1',
-                      'pkg_svc5' => '5',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-    { 'url'      => 'edit/process/part_pkg.cgi',
-      'params'   => {
-                      'pkgpart' => '',
-                      'pkg' => 'Cisco 2501 Router',
-                      'comment' => '$2500',
-                      'setup' => '2500',
-                      'recur' => '0',
-                      'freq' => '0',
-                      'pkg_svc1' => '0',
-                      'pkg_svc2' => '0',
-                      'pkg_svc3' => '0',
-                      'pkg_svc4' => '0',
-                      'pkg_svc5' => '0',
-                    },
-      'location' => 'browse/part_pkg.cgi',
-    },
-
-    { 'url'      => 'edit/process/agent_type.cgi',
-      'params'   => {
-                      'typenum' => '',
-                      'atype' => 'Internal Sales',
-                      'pkgpart1' => 'ON',
-                      'pkgpart2' => 'ON',
-                      'pkgpart3' => 'ON',
-                      'pkgpart4' => 'ON',
-                      'pkgpart5' => 'ON',
-                      'pkgpart6' => 'ON',
-                      'pkgpart7' => 'ON',
-                      'pkgpart8' => 'ON',
-                      'pkgpart9' => 'ON',
-                    },
-      'location' => 'browse/agent_type.cgi',
-    },
-
-    { 'url'      => 'edit/process/agent.cgi',
-      'params'   => {
-                      'agentnum' => '',
-                      'agent' => 'Internal Sales',
-                      'typenum' => '1',
-                      'freq' => '',
-                      'prog' => '',
-                    },
-      'location' => 'browse/agent.cgi',
-    },
-
-    { 'url'      => 'edit/process/part_referral.cgi',
-      'params'   => {
-                      'refnum' => '',
-                      'referral' => 'Another customer',
-                    },
-      'location' => 'browse/part_referral.cgi',
-    },
-    { 'url'      => 'edit/process/part_referral.cgi',
-      'params'   => {
-                      'refnum' => '',
-                      'referral' => 'Newspaper ad',
-                    },
-      'location' => 'browse/part_referral.cgi',
-    },
-
-    { 'url'      => 'edit/process/svc_acct_pop.cgi',
-      'params'   => {
-                      'popnum' => '',
-                      'city' => 'Line Lexington',
-                      'state' => 'PA',
-                      'ac' => '215',
-                      'exch' => '996',
-                    },
-      'location' => 'browse/svc_acct_pop.cgi',
-    },
-    { 'url'      => 'edit/process/svc_acct_pop.cgi',
-      'params'   => {
-                      'popnum' => '',
-                      'city' => 'Oakland',
-                      'state' => 'CA',
-                      'ac' => '510',
-                      'exch' => '208',
-                    },
-      'location' => 'browse/svc_acct_pop.cgi',
-    },
-
-    { 'url'      => 'edit/process/cust_main.cgi',
-      'params'   => {
-                      'custnum' => '',
-                      'agentnum' => '1',
-                      'refnum' => '1',
-                      'last' => 'Hogan',
-                      'first' => 'Shawn D.',
-                      'ss' => '',
-                      'company' => 'Digital Point Solutions',
-                      'address1' => '3570 Tony Drive',
-                      'address2' => '',
-                      'city' => 'San Diego',
-                      'state' => 'CA / US',
-                      'zip' => '92122-2307',
-                      'daytime' => '',
-                      'night' => '',
-                      'fax' => '',
-                      'tax' => '',
-                      'invoicing_list_POST' => '',
-                      'invoicing_list' => '',
-                      'payby' => 'BILL',
-                      'CARD_payinfo' => '',
-                      'CARD_month' => '1',
-                      'CARD_year' => '1999',
-                      'CARD_payname' => '',
-                      'BILL_payinfo' => '',
-                      'BILL_month' => '12',
-                      'BILL_year' => '2037',
-                      'BILL_payname' => 'Accounts Payable',
-                      'COMP_payinfo' => '',
-                      'COMP_month' => '1',
-                      'COMP_year' => '1999',
-                      'pkgpart_svcpart' => '1_2',
-                      'username' => 'cyborg',
-                      '_password' => '',
-                      'popnum' => '1',
-                      'otaker' => 'example',
-                    },
-      'location' => 'view/cust_main.cgi?1',
-    },
-    { 'url'      => 'edit/process/cust_main.cgi',
-      'params'   => {
-                      'custnum' => '',
-                      'agentnum' => '1',
-                      'refnum' => '2',
-                      'last' => 'Ford',
-                      'first' => 'Bill',
-                      'ss' => '',
-                      'company' => 'Boardtown Corporation',
-                      'address1' => '116 East Main Street',
-                      'address2' => '',
-                      'city' => 'Starkville',
-                      'state' => 'MS / US',
-                      'zip' => '39759',
-                      'daytime' => '',
-                      'night' => '',
-                      'fax' => '',
-                      'tax' => '',
-                      'invoicing_list_POST' => '',
-                      'invoicing_list' => '',
-                      'payby' => 'BILL',
-                      'CARD_payinfo' => '',
-                      'CARD_month' => '1',
-                      'CARD_year' => '1999',
-                      'CARD_payname' => '',
-                      'BILL_payinfo' => '',
-                      'BILL_month' => '12',
-                      'BILL_year' => '2037',
-                      'BILL_payname' => 'Accounts Payable',
-                      'COMP_payinfo' => '',
-                      'COMP_month' => '1',
-                      'COMP_year' => '1999',
-                      'pkgpart_svcpart' => '3_3',
-                      'username' => 'billf',
-                      '_password' => '',
-                      'popnum' => '',
-                      'otaker' => 'example',
-                    },
-      'location' => 'view/cust_main.cgi?2',
-    },
-
-           
-  );
-}
-
diff --git a/test/dup-test b/test/dup-test
deleted file mode 100755 (executable)
index b073cee..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-use FS::UID qw(adminsuidsetup);
-use FS::svc_acct;
-
-my $user = 'ivan';
-my $svcpart = '2';
-
-my $counter = 10;
-
-my $pid = open(KID_TO_WRITE, "-|");
-
-if ( $pid ) { #parent
-  doit();
-} else { #kid
-  doit();
-  exit;
-}
-
-sub doit {
-
-  adminsuidsetup $user or die;
-
-  my $svc_acct = new FS::svc_acct ( {
-    'svcpart' => $svcpart,
-    'username' => "dup$counter",
-  } );
-  my $error = $svc_acct->insert;
-  warn $error if $error;
-
-}
-